accessify-widget 0.3.5 → 0.3.6

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.
@@ -1,2 +1,2 @@
1
- var Accessify=function(e){"use strict";var t,n,a,i,r,o,s,c,l,d,u,f,p,h,g,m,y,v,b,w,x,k,S,A,M,C,E,T,_,$,I,z,L,P,H,j,N,O,B,W,K,D,F,q,R,U=Object.defineProperty,G=e=>{throw TypeError(e)},V=(e,t,n)=>((e,t,n)=>t in e?U(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n)(e,"symbol"!=typeof t?t+"":t,n),J=(e,t,n)=>t.has(e)||G("Cannot "+n),Y=(e,t,n)=>(J(e,t,"read from private field"),n?n.call(e):t.get(e)),X=(e,t,n)=>t.has(e)?G("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),Z=(e,t,n,a)=>(J(e,t,"write to private field"),a?a.call(e,n):t.set(e,n),n),Q=(e,t,n)=>(J(e,t,"access private method"),n);const ee=globalThis.process?.env?.NODE_ENV,te=ee&&!ee.toLowerCase().startsWith("prod");var ne=Array.isArray,ae=Array.prototype.indexOf,ie=Array.prototype.includes,re=Array.from,oe=Object.defineProperty,se=Object.getOwnPropertyDescriptor,ce=Object.getOwnPropertyDescriptors,le=Object.prototype,de=Array.prototype,ue=Object.getPrototypeOf,fe=Object.isExtensible;const pe=()=>{};function he(){var e,t;return{promise:new Promise((n,a)=>{e=n,t=a}),resolve:e,reject:t}}const ge=32,me=512,ye=1024,ve=2048,be=4096,we=8192,xe=16384,ke=32768,Se=1<<25,Ae=65536,Me=1<<17,Ce=1<<19,Ee=1<<25,Te=65536,_e=1<<21,$e=1<<23,Ie=Symbol("$state"),ze=Symbol("legacy props"),Le=Symbol(""),Pe=Symbol("proxy path"),He=new class extends Error{constructor(){super(...arguments),V(this,"name","StaleReactionError"),V(this,"message","The reaction that called `getAbortSignal()` was re-run or destroyed")}};function je(e,t,n){if(te){const a=new Error(`each_key_duplicate\n${n?`Keyed each block has duplicate key \`${n}\` at indexes ${e} and ${t}`:`Keyed each block has duplicate key at indexes ${e} and ${t}`}\nhttps://svelte.dev/e/each_key_duplicate`);throw a.name="Svelte error",a}throw new Error("https://svelte.dev/e/each_key_duplicate")}function Ne(e,t,n){if(te){const a=new Error(`each_key_volatile\nKeyed each block has key that is not idempotent — the key for item at index ${e} was \`${t}\` but is now \`${n}\`. Keys must be the same each time for a given item\nhttps://svelte.dev/e/each_key_volatile`);throw a.name="Svelte error",a}throw new Error("https://svelte.dev/e/each_key_volatile")}const Oe=Symbol(),Be=Symbol("filename"),We="http://www.w3.org/1999/xhtml";function Ke(e){}function De(e){return e===this.v}function Fe(e){return n=this.v,!((t=e)!=t?n==n:t!==n||null!==t&&"object"==typeof t||"function"==typeof t);var t,n}function qe(e,t){return e.label=t,Re(e.v,t),e}function Re(e,t){return e?.[Pe]?.(t),e}function Ue(e,t){if(!te)throw new Error("invariant(...) was not guarded by if (DEV)");e||function(e){if(te){const t=new Error(`invariant_violation\nAn invariant violation occurred, meaning Svelte's internal assumptions were flawed. This is a bug in Svelte, not your app — please open an issue at https://github.com/sveltejs/svelte, citing the following message: "${e}"\nhttps://svelte.dev/e/invariant_violation`);throw t.name="Svelte error",t}throw new Error("https://svelte.dev/e/invariant_violation")}(t)}let Ge=null;function Ve(e){Ge=e}let Je=null;function Ye(e){Je=e}let Xe=null;function Ze(e){Xe=e}function Qe(e,t=!1,n){Ge={p:Ge,i:!1,c:null,e:null,s:e,x:null,r:Un,l:null},te&&(Ge.function=n,Xe=n)}function et(e){var t=Ge,n=t.e;if(null!==n)for(var a of(t.e=null,n))Mn(a);return void 0!==e&&(t.x=e),t.i=!0,Ge=t.p,te&&(Xe=Ge?.function??null),e??{}}let tt=[];function nt(e){if(0===tt.length){var t=tt;queueMicrotask(()=>{t===tt&&function(){var e=tt;tt=[],function(e){for(var t=0;t<e.length;t++)e[t]()}(e)}()})}tt.push(e)}const at=new WeakMap;function it(e){var t=Un;if(null===t)return Fn.f|=$e,e;if(te&&e instanceof Error&&!at.has(e)&&at.set(e,function(e,t){const n=se(e,"message");if(!n||n.configurable){for(var a=dn?" ":"\t",i=`\n${a}in ${t.fn?.name||"<unknown>"}`,r=t.ctx;null!==r;)i+=`\n${a}in ${r.function?.[Be].split("/").pop()}`,r=r.p;return{message:e.message+`\n${i}\n`,stack:e.stack?.split("\n").filter(e=>!e.includes("svelte/src/internal")).join("\n")}}}(e,t)),0===(t.f&ke)&&!(4&t.f))throw te&&!t.parent&&e instanceof Error&&ot(e),e;rt(e,t)}function rt(e,t){for(;null!==t;){if(128&t.f){if(0===(t.f&ke))throw e;try{return void t.b.error(e)}catch(n){e=n}}t=t.parent}throw te&&e instanceof Error&&ot(e),e}function ot(e){const t=at.get(e);t&&(oe(e,"message",{value:t.message}),oe(e,"stack",{value:t.stack}))}const st=-7169;function ct(e,t){e.f=e.f&st|t}function lt(e){ct(e,0!==(e.f&me)||null===e.deps?ye:be)}function dt(e){if(null!==e)for(const t of e)2&t.f&&0!==(t.f&Te)&&(t.f^=Te,dt(t.deps))}function ut(e,t,n){0!==(e.f&ve)?t.add(e):0!==(e.f&be)&&n.add(e),dt(e.deps),ct(e,ye)}let ft=!1;const pt=new Set;let ht=null,gt=null,mt=null,yt=!1,vt=null,bt=null;var wt=0,xt=te?new Set:null;let kt=1;const St=class e{constructor(){X(this,u),V(this,"id",kt++),V(this,"current",new Map),V(this,"previous",new Map),X(this,t,new Set),X(this,n,new Set),X(this,a,0),X(this,i,0),X(this,r,null),X(this,o,[]),X(this,s,new Set),X(this,c,new Set),X(this,l,new Map),V(this,"is_fork",!1),X(this,d,!1)}skip_effect(e){Y(this,l).has(e)||Y(this,l).set(e,{d:[],m:[]})}unskip_effect(e){var t=Y(this,l).get(e);if(t){for(var n of(Y(this,l).delete(e),t.d))ct(n,ve),this.schedule(n);for(n of t.m)ct(n,be),this.schedule(n)}}capture(e,t){t===Oe||this.previous.has(e)||this.previous.set(e,t),0===(e.f&$e)&&(this.current.set(e,e.v),gt?.set(e,e.v))}activate(){ht=this}deactivate(){ht=null,gt=null}flush(){var e=te?new Set:null;try{yt=!0,ht=this,Q(this,u,p).call(this)}finally{if(wt=0,mt=null,vt=null,bt=null,yt=!1,ht=null,gt=null,Ut.clear(),te)for(const t of e)t.updated=null}}discard(){for(const e of Y(this,n))e(this);Y(this,n).clear()}increment(e){Z(this,a,Y(this,a)+1),e&&Z(this,i,Y(this,i)+1)}decrement(e,t){Z(this,a,Y(this,a)-1),e&&Z(this,i,Y(this,i)-1),Y(this,d)||t||(Z(this,d,!0),nt(()=>{Z(this,d,!1),this.flush()}))}transfer_effects(e,t){for(const n of e)Y(this,s).add(n);for(const n of t)Y(this,c).add(n);e.clear(),t.clear()}oncommit(e){Y(this,t).add(e)}ondiscard(e){Y(this,n).add(e)}settled(){return(Y(this,r)??Z(this,r,he())).promise}static ensure(){if(null===ht){const t=ht=new e;yt||(pt.add(ht),nt(()=>{ht===t&&t.flush()}))}return ht}apply(){gt=null}schedule(e){if(mt=e,e.b?.is_pending&&16777228&e.f&&0===(e.f&ke))e.b.defer_effect(e);else{for(var t=e;null!==t.parent;){var n=(t=t.parent).f;if(!(null===vt||t!==Un||null!==Fn&&2&Fn.f))return;if(96&n){if(0===(n&ye))return;t.f^=ye}}Y(this,o).push(t)}}};t=new WeakMap,n=new WeakMap,a=new WeakMap,i=new WeakMap,r=new WeakMap,o=new WeakMap,s=new WeakMap,c=new WeakMap,l=new WeakMap,d=new WeakMap,u=new WeakSet,f=function(){return this.is_fork||Y(this,i)>0},p=function(){var e;if(wt++>1e3&&(pt.delete(this),function(){if(te){var e=new Map;for(const n of ht.current.keys())for(const[a,i]of n.updated??[]){var t=e.get(a);t||e.set(a,t={error:i.error,count:0}),t.count+=i.count}for(const t of e.values());}try{!function(){if(te){const e=new Error("effect_update_depth_exceeded\nMaximum update depth exceeded. This typically indicates that an effect reads and writes the same piece of state\nhttps://svelte.dev/e/effect_update_depth_exceeded");throw e.name="Svelte error",e}throw new Error("https://svelte.dev/e/effect_update_depth_exceeded")}()}catch(n){te&&oe(n,"stack",{value:""}),rt(n,mt)}}()),!Q(this,u,f).call(this)){for(const e of Y(this,s))Y(this,c).delete(e),ct(e,ve),this.schedule(e);for(const e of Y(this,c))ct(e,be),this.schedule(e)}const n=Y(this,o);Z(this,o,[]),this.apply();var i=vt=[],d=[],y=bt=[];for(const t of n)try{Q(this,u,h).call(this,t,i,d)}catch(w){throw It(t),w}if(ht=null,y.length>0){var v=St.ensure();for(const e of y)v.schedule(e)}if(vt=null,bt=null,Q(this,u,f).call(this)){Q(this,u,g).call(this,d),Q(this,u,g).call(this,i);for(const[e,t]of Y(this,l))$t(e,t)}else{0===Y(this,a)&&pt.delete(this),Y(this,s).clear(),Y(this,c).clear();for(const e of Y(this,t))e(this);Y(this,t).clear(),Ct(d),Ct(i),Y(this,r)?.resolve()}var b=ht;if(Y(this,o).length>0){const e=b??(b=this);Y(e,o).push(...Y(this,o).filter(t=>!Y(e,o).includes(t)))}if(null!==b){if(pt.add(b),te)for(const e of this.current.keys())xt.add(e);Q(e=b,u,p).call(e)}pt.has(this)||Q(this,u,m).call(this)},h=function(e,t,n){e.f^=ye;for(var a=e.first;null!==a;){var i=a.f,r=!!(96&i);if(!(r&&0!==(i&ye)||0!==(i&we)||Y(this,l).has(a))&&null!==a.fn){r?a.f^=ye:4&i?t.push(a):ia(a)&&(!!(16&i)&&Y(this,c).add(a),la(a));var o=a.first;if(null!==o){a=o;continue}}for(;null!==a;){var s=a.next;if(null!==s){a=s;break}a=a.parent}}},g=function(e){for(var t=0;t<e.length;t+=1)ut(e[t],Y(this,s),Y(this,c))},m=function(){var e;for(const l of pt){var t=l.id<this.id,n=[];for(const[e,a]of this.current){if(l.current.has(e)){if(!t||a===l.current.get(e))continue;l.current.set(e,a)}n.push(e)}if(0!==n.length){var a=[...l.current.keys()].filter(e=>!this.current.has(e));if(a.length>0){te&&Ue(0===Y(l,o).length,"Batch has scheduled roots"),l.activate();var i=new Set,r=new Map;for(var s of n)Et(s,a,i,r);if(Y(l,o).length>0){for(var c of(l.apply(),Y(l,o)))Q(e=l,u,h).call(e,c,[],[]);Z(l,o,[])}l.deactivate()}}}};let At=St,Mt=null;function Ct(e){var t=e.length;if(0!==t){for(var n=0;n<t;){var a=e[n++];if(!(24576&a.f)&&ia(a)&&(Mt=new Set,la(a),null===a.deps&&null===a.first&&null===a.nodes&&null===a.teardown&&null===a.ac&&Pn(a),Mt?.size>0)){Ut.clear();for(const e of Mt){if(24576&e.f)continue;const t=[e];let n=e.parent;for(;null!==n;)Mt.has(n)&&(Mt.delete(n),t.push(n)),n=n.parent;for(let e=t.length-1;e>=0;e--){const n=t[e];24576&n.f||la(n)}}Mt.clear()}}Mt=null}}function Et(e,t,n,a){if(!n.has(e)&&(n.add(e),null!==e.reactions))for(const i of e.reactions){const e=i.f;2&e?Et(i,t,n,a):4194320&e&&0===(e&ve)&&Tt(i,t,a)&&(ct(i,ve),_t(i))}}function Tt(e,t,n){const a=n.get(e);if(void 0!==a)return a;if(null!==e.deps)for(const i of e.deps){if(ie.call(t,i))return!0;if(2&i.f&&Tt(i,t,n))return n.set(i,!0),!0}return n.set(e,!1),!1}function _t(e){ht.schedule(e)}function $t(e,t){if(0===(e.f&ge)||0===(e.f&ye)){0!==(e.f&ve)?t.d.push(e):0!==(e.f&be)&&t.m.push(e),ct(e,ye);for(var n=e.first;null!==n;)$t(n,t),n=n.next}}function It(e){ct(e,ye);for(var t=e.first;null!==t;)It(t),t=t.next}class zt{constructor(e,t,n,a){X(this,L),V(this,"parent"),V(this,"is_pending",!1),V(this,"transform_error"),X(this,y),X(this,v,null),X(this,b),X(this,w),X(this,x),X(this,k,null),X(this,S,null),X(this,A,null),X(this,M,null),X(this,C,0),X(this,E,0),X(this,T,!1),X(this,_,new Set),X(this,$,new Set),X(this,I,null),X(this,z,function(e){let t,n=0,a=Jt(0);return te&&qe(a,"createSubscriber version"),()=>{kn()&&(da(a),Cn(()=>(0===n&&(t=pa(()=>e())),n+=1,()=>{nt(()=>{n-=1,0===n&&(t?.(),t=void 0,tn(a))})})))}}(()=>(Z(this,I,Jt(Y(this,C))),te&&qe(Y(this,I),"$effect.pending()"),()=>{Z(this,I,null)}))),Z(this,y,e),Z(this,b,t),Z(this,w,e=>{var t=Un;t.b=this,t.f|=128,n(e)}),this.parent=Un.b,this.transform_error=a??this.parent?.transform_error??(e=>e),Z(this,x,Tn(()=>{Q(this,L,P).call(this)},589824))}defer_effect(e){ut(e,Y(this,_),Y(this,$))}is_rendered(){return!this.is_pending&&(!this.parent||this.parent.is_rendered())}has_pending_snippet(){return!!Y(this,b).pending}update_pending_count(e,t){Q(this,L,N).call(this,e,t),Z(this,C,Y(this,C)+e),Y(this,I)&&!Y(this,T)&&(Z(this,T,!0),nt(()=>{Z(this,T,!1),Y(this,I)&&Qt(Y(this,I),Y(this,C))}))}get_effect_pending(){return Y(this,z).call(this),da(Y(this,I))}error(e){var t=Y(this,b).onerror;let n=Y(this,b).failed;if(!t&&!n)throw e;Y(this,k)&&(zn(Y(this,k)),Z(this,k,null)),Y(this,S)&&(zn(Y(this,S)),Z(this,S,null)),Y(this,A)&&(zn(Y(this,A)),Z(this,A,null));var a=!1,i=!1;const r=()=>{a||(a=!0,i&&function(){if(te){const e=new Error("svelte_boundary_reset_onerror\nA `<svelte:boundary>` `reset` function cannot be called while an error is still being handled\nhttps://svelte.dev/e/svelte_boundary_reset_onerror");throw e.name="Svelte error",e}throw new Error("https://svelte.dev/e/svelte_boundary_reset_onerror")}(),null!==Y(this,A)&&Hn(Y(this,A),()=>{Z(this,A,null)}),Q(this,L,j).call(this,()=>{Q(this,L,P).call(this)}))},o=e=>{try{i=!0,t?.(e,r),i=!1}catch(a){rt(a,Y(this,x)&&Y(this,x).parent)}n&&Z(this,A,Q(this,L,j).call(this,()=>{try{return _n(()=>{var t=Un;t.b=this,t.f|=128,n(Y(this,y),()=>e,()=>r)})}catch(a){return rt(a,Y(this,x).parent),null}}))};nt(()=>{var t;try{t=this.transform_error(e)}catch(n){return void rt(n,Y(this,x)&&Y(this,x).parent)}null!==t&&"object"==typeof t&&"function"==typeof t.then?t.then(o,e=>rt(e,Y(this,x)&&Y(this,x).parent)):o(t)})}}function Lt(e=!0){Gn(null),Rn(null),Ve(null),e&&ht?.deactivate(),te&&Ye(null)}function Pt(){var e=Un.b,t=ht,n=e.is_rendered();return e.update_pending_count(1,t),t.increment(n),(a=!1)=>{e.update_pending_count(-1,t),t.decrement(n,a)}}y=new WeakMap,v=new WeakMap,b=new WeakMap,w=new WeakMap,x=new WeakMap,k=new WeakMap,S=new WeakMap,A=new WeakMap,M=new WeakMap,C=new WeakMap,E=new WeakMap,T=new WeakMap,_=new WeakMap,$=new WeakMap,I=new WeakMap,z=new WeakMap,L=new WeakSet,P=function(){try{if(this.is_pending=this.has_pending_snippet(),Z(this,E,0),Z(this,C,0),Z(this,k,_n(()=>{Y(this,w).call(this,Y(this,y))})),Y(this,E)>0){var e=Z(this,M,document.createDocumentFragment());Bn(Y(this,k),e);const t=Y(this,b).pending;Z(this,S,_n(()=>t(Y(this,y))))}else Q(this,L,H).call(this,ht)}catch(t){this.error(t)}},H=function(e){this.is_pending=!1,e.transfer_effects(Y(this,_),Y(this,$))},j=function(e){var t=Un,n=Fn,a=Ge;Gn(Y(this,x)),Rn(Y(this,x)),Ve(Y(this,x).ctx);try{return At.ensure(),e()}catch(i){return it(i),null}finally{Gn(t),Rn(n),Ve(a)}},N=function(e,t){var n;this.has_pending_snippet()?(Z(this,E,Y(this,E)+e),0===Y(this,E)&&(Q(this,L,H).call(this,t),Y(this,S)&&Hn(Y(this,S),()=>{Z(this,S,null)}),Y(this,M)&&(Y(this,y).before(Y(this,M)),Z(this,M,null)))):this.parent&&Q(n=this.parent,L,N).call(n,e,t)};const Ht=new Set;function jt(e){var t=null!==Fn&&2&Fn.f?Fn:null;return null!==Un&&(Un.f|=Ce),{ctx:Ge,deps:null,effects:null,equals:De,f:2050,fn:e,reactions:null,rv:0,v:Oe,wv:0,parent:t??Un,ac:null}}function Nt(e,t,n){let a=Un;null===a&&function(){if(te){const e=new Error("async_derived_orphan\nCannot create a `$derived(...)` with an `await` expression outside of an effect tree\nhttps://svelte.dev/e/async_derived_orphan");throw e.name="Svelte error",e}throw new Error("https://svelte.dev/e/async_derived_orphan")}();var i=void 0,r=Jt(Oe);te&&(r.label=t);var o=!Fn,s=new Map;return function(e){xn(4718592,e)}(()=>{var t=Un,n=he();i=n.promise;try{Promise.resolve(e()).then(n.resolve,n.reject).finally(Lt)}catch(u){n.reject(u),Lt()}var c=ht;if(o){if(0!==(t.f&ke))var l=Pt();if(a.b.is_rendered())s.get(c)?.reject(He),s.delete(c);else{for(const e of s.values())e.reject(He);s.clear()}s.set(c,n)}const d=(e,n=void 0)=>{if(l&&l(n===He),n!==He&&0===(t.f&xe)){if(c.activate(),n)r.f|=$e,Qt(r,n);else{0!==(r.f&$e)&&(r.f^=$e),Qt(r,e);for(const[e,t]of s){if(s.delete(e),e===c)break;t.reject(He)}}c.deactivate()}};n.promise.then(d,e=>d(null,e||"unknown"))}),Sn(()=>{for(const e of s.values())e.reject(He)}),te&&(r.f|=4194304),new Promise(e=>{!function t(n){function a(){n===i?e(r):t(i)}n.then(a,a)}(i)})}function Ot(e){const t=jt(e);return Jn(t),t}function Bt(e){const t=jt(e);return t.equals=Fe,t}function Wt(e){var t=e.effects;if(null!==t){e.effects=null;for(var n=0;n<t.length;n+=1)zn(t[n])}}let Kt=[];function Dt(e){var t,n=Un;if(Gn(function(e){for(var t=e.parent;null!==t;){if(!(2&t.f))return 0===(t.f&xe)?t:null;t=t.parent}return null}(e)),te){let a=Rt;Gt(new Set);try{ie.call(Kt,e)&&function(){if(te){const e=new Error("derived_references_self\nA derived value cannot reference itself recursively\nhttps://svelte.dev/e/derived_references_self");throw e.name="Svelte error",e}throw new Error("https://svelte.dev/e/derived_references_self")}(),Kt.push(e),e.f&=-65537,Wt(e),t=oa(e)}finally{Gn(n),Gt(a),Kt.pop()}}else try{e.f&=-65537,Wt(e),t=oa(e)}finally{Gn(n)}return t}function Ft(e){var t=e.v,n=Dt(e);e.equals(n)||(e.wv=aa(),ht?.is_fork&&null!==e.deps||(e.v=n,ht?.capture(e,t),null!==e.deps))?Kn||(null!==gt?(kn()||ht?.is_fork)&&gt.set(e,n):lt(e)):ct(e,ye)}function qt(e){if(null!==e.effects)for(const t of e.effects)t.teardown&&la(t)}let Rt=new Set;const Ut=new Map;function Gt(e){Rt=e}let Vt=!1;function Jt(e,t){return{f:0,v:e,reactions:null,equals:De,rv:0,wv:0}}function Yt(e,t){const n=Jt(e);return Jn(n),n}function Xt(e,t=!1,n=!0){const a=Jt(e);return t||(a.equals=Fe),a}function Zt(e,t,n=!1){null===Fn||qn&&0===(Fn.f&Me)||!(4325394&Fn.f)||null!==Vn&&ie.call(Vn,e)||function(){if(te){const e=new Error("state_unsafe_mutation\nUpdating state inside `$derived(...)`, `$inspect(...)` or a template expression is forbidden. If the value should not be reactive, declare it without `$state`\nhttps://svelte.dev/e/state_unsafe_mutation");throw e.name="Svelte error",e}throw new Error("https://svelte.dev/e/state_unsafe_mutation")}();let a=n?rn(t):t;return te&&Re(a,e.label),Qt(e,a,bt)}function Qt(e,t,n=null){if(!e.equals(t)){var a=e.v;Ut.set(e,Kn?t:a),e.v=t;var i=At.ensure();if(i.capture(e,a),te){if(null!==Un){e.updated??(e.updated=new Map);const t=(e.updated.get("")?.count??0)+1;if(e.updated.set("",{error:null,count:t}),t>5){const t=function(){const e=new Error,t=function(){const e=Error.stackTraceLimit;Error.stackTraceLimit=1/0;const t=(new Error).stack;if(Error.stackTraceLimit=e,!t)return[];const n=t.split("\n"),a=[];for(let i=0;i<n.length;i++){const e=n[i],t=e.replaceAll("\\","/");if("Error"!==e.trim()){if(e.includes("validate_each_keys"))return[];t.includes("svelte/src/internal")||t.includes("node_modules/.vite")||a.push(e)}}return a}();return 0===t.length?null:(t.unshift("\n"),oe(e,"stack",{value:t.join("\n")}),oe(e,"name",{value:"updated at"}),e)}();if(null!==t){let n=e.updated.get(t.stack);n||(n={error:t,count:0},e.updated.set(t.stack,n)),n.count++}}}null!==Un&&(e.set_during_effect=!0)}if(2&e.f){const t=e;0!==(e.f&ve)&&Dt(t),null===gt&&lt(t)}e.wv=aa(),nn(e,ve,n),null===Un||0===(Un.f&ye)||96&Un.f||(null===Zn?function(e){Zn=e}([e]):Zn.push(e)),!i.is_fork&&Rt.size>0&&!Vt&&en()}return t}function en(){Vt=!1;for(const e of Rt)0!==(e.f&ye)&&ct(e,be),ia(e)&&la(e);Rt.clear()}function tn(e){Zt(e,e.v+1)}function nn(e,t,n){var a=e.reactions;if(null!==a)for(var i=a.length,r=0;r<i;r++){var o=a[r],s=o.f;if(te&&0!==(s&Me))Rt.add(o);else{var c=0===(s&ve);if(c&&ct(o,t),2&s){var l=o;gt?.delete(l),0===(s&Te)&&(s&me&&(o.f|=Te),nn(l,be,n))}else if(c){var d=o;!!(16&s)&&null!==Mt&&Mt.add(d),null!==n?n.push(d):_t(d)}}}}const an=/^[a-zA-Z_$][a-zA-Z_$0-9]*$/;function rn(e){if("object"!=typeof e||null===e||Ie in e)return e;const t=ue(e);if(t!==le&&t!==de)return e;var n=new Map,a=ne(e),i=Yt(0),r=ta,o=e=>{if(ta===r)return e();var t=Fn,n=ta;Rn(null),na(r);var a=e();return Rn(t),na(n),a};a&&(n.set("length",Yt(e.length)),te&&(e=new Proxy(e,{get(e,t,n){var a=Reflect.get(e,t,n);return cn.has(t)?function(...e){Vt=!0;var t=a.apply(this,e);return en(),t}:a}})));var s="";let c=!1;function l(e){if(!c){c=!0,qe(i,`${s=e} version`);for(const[e,t]of n)qe(t,on(s,e));c=!1}}return new Proxy(e,{defineProperty(e,t,a){"value"in a&&!1!==a.configurable&&!1!==a.enumerable&&!1!==a.writable||function(){if(te){const e=new Error("state_descriptors_fixed\nProperty descriptors defined on `$state` objects must contain `value` and always be `enumerable`, `configurable` and `writable`.\nhttps://svelte.dev/e/state_descriptors_fixed");throw e.name="Svelte error",e}throw new Error("https://svelte.dev/e/state_descriptors_fixed")}();var i=n.get(t);return void 0===i?o(()=>{var e=Yt(a.value);return n.set(t,e),te&&"string"==typeof t&&qe(e,on(s,t)),e}):Zt(i,a.value,!0),!0},deleteProperty(e,t){var a=n.get(t);if(void 0===a){if(t in e){const e=o(()=>Yt(Oe));n.set(t,e),tn(i),te&&qe(e,on(s,t))}}else Zt(a,Oe),tn(i);return!0},get(t,a,i){if(a===Ie)return e;if(te&&a===Pe)return l;var r=n.get(a),c=a in t;if(void 0!==r||c&&!se(t,a)?.writable||(r=o(()=>{var e=Yt(rn(c?t[a]:Oe));return te&&qe(e,on(s,a)),e}),n.set(a,r)),void 0!==r){var d=da(r);return d===Oe?void 0:d}return Reflect.get(t,a,i)},getOwnPropertyDescriptor(e,t){var a=Reflect.getOwnPropertyDescriptor(e,t);if(a&&"value"in a){var i=n.get(t);i&&(a.value=da(i))}else if(void 0===a){var r=n.get(t),o=r?.v;if(void 0!==r&&o!==Oe)return{enumerable:!0,configurable:!0,value:o,writable:!0}}return a},has(e,t){if(t===Ie)return!0;var a=n.get(t),i=void 0!==a&&a.v!==Oe||Reflect.has(e,t);return!((void 0!==a||null!==Un&&(!i||se(e,t)?.writable))&&(void 0===a&&(a=o(()=>{var n=Yt(i?rn(e[t]):Oe);return te&&qe(n,on(s,t)),n}),n.set(t,a)),da(a)===Oe))&&i},set(e,t,r,c){var l=n.get(t),d=t in e;if(a&&"length"===t)for(var u=r;u<l.v;u+=1){var f=n.get(u+"");void 0!==f?Zt(f,Oe):u in e&&(f=o(()=>Yt(Oe)),n.set(u+"",f),te&&qe(f,on(s,u)))}void 0===l?d&&!se(e,t)?.writable||(l=o(()=>Yt(void 0)),te&&qe(l,on(s,t)),Zt(l,rn(r)),n.set(t,l)):(d=l.v!==Oe,Zt(l,o(()=>rn(r))));var p=Reflect.getOwnPropertyDescriptor(e,t);if(p?.set&&p.set.call(c,r),!d){if(a&&"string"==typeof t){var h=n.get("length"),g=Number(t);Number.isInteger(g)&&g>=h.v&&Zt(h,g+1)}tn(i)}return!0},ownKeys(e){da(i);var t=Reflect.ownKeys(e).filter(e=>{var t=n.get(e);return void 0===t||t.v!==Oe});for(var[a,r]of n)r.v===Oe||a in e||t.push(a);return t},setPrototypeOf(){!function(){if(te){const e=new Error("state_prototype_fixed\nCannot set prototype of `$state` object\nhttps://svelte.dev/e/state_prototype_fixed");throw e.name="Svelte error",e}throw new Error("https://svelte.dev/e/state_prototype_fixed")}()}})}function on(e,t){return"symbol"==typeof t?`${e}[Symbol(${t.description??""})]`:an.test(t)?`${e}.${t}`:/^\d+$/.test(t)?`${e}[${t}]`:`${e}['${t}']`}function sn(e){try{if(null!==e&&"object"==typeof e&&Ie in e)return e[Ie]}catch{}return e}const cn=new Set(["copyWithin","fill","pop","push","reverse","shift","sort","splice","unshift"]);var ln,dn,un,fn;function pn(e=""){return document.createTextNode(e)}function hn(e){return un.call(e)}function gn(e){return fn.call(e)}function mn(e,t){return hn(e)}function yn(e,t=!1){var n=hn(e);return n instanceof Comment&&""===n.data?gn(n):n}function vn(e,t=1,n=!1){let a=e;for(;t--;)a=gn(a);return a}function bn(e,t,n){return document.createElementNS(t??We,e,void 0)}function wn(e){var t=Fn,n=Un;Rn(null),Gn(null);try{return e()}finally{Rn(t),Gn(n)}}function xn(e,t){var n=Un;if(te)for(;null!==n&&0!==(n.f&Me);)n=n.parent;null!==n&&0!==(n.f&we)&&(e|=we);var a={ctx:Ge,deps:null,nodes:null,f:e|ve|me,first:null,fn:t,last:null,next:null,parent:n,b:n&&n.b,prev:null,teardown:null,wv:0,ac:null};te&&(a.component_function=Xe);var i=a;if(4&e)null!==vt?vt.push(a):At.ensure().schedule(a);else if(null!==t){try{la(a)}catch(r){throw zn(a),r}null===i.deps&&null===i.teardown&&null===i.nodes&&i.first===i.last&&0===(i.f&Ce)&&(i=i.first,16&e&&0!==(e&Ae)&&null!==i&&(i.f|=Ae))}return null!==i&&(i.parent=n,null!==n&&function(e,t){var n=t.last;null===n?t.last=t.first=e:(n.next=e,e.prev=n,t.last=e)}(i,n),null!==Fn&&2&Fn.f&&!(64&e))&&(Fn.effects??(Fn.effects=[])).push(i),a}function kn(){return null!==Fn&&!qn}function Sn(e){const t=xn(8,null);return ct(t,ye),t.teardown=e,t}function An(e){var t;t="$effect",null===Un&&(null===Fn&&function(e){if(te){const t=new Error(`effect_orphan\n\`${e}\` can only be used inside an effect (e.g. during component initialisation)\nhttps://svelte.dev/e/effect_orphan`);throw t.name="Svelte error",t}throw new Error("https://svelte.dev/e/effect_orphan")}(t),function(){if(te){const e=new Error("effect_in_unowned_derived\nEffect cannot be created inside a `$derived` value that was not itself created inside an effect\nhttps://svelte.dev/e/effect_in_unowned_derived");throw e.name="Svelte error",e}throw new Error("https://svelte.dev/e/effect_in_unowned_derived")}()),Kn&&function(e){if(te){const t=new Error(`effect_in_teardown\n\`${e}\` cannot be used inside an effect cleanup function\nhttps://svelte.dev/e/effect_in_teardown`);throw t.name="Svelte error",t}throw new Error("https://svelte.dev/e/effect_in_teardown")}(t),te&&oe(e,"name",{value:"$effect"});var n=Un.f;if(Fn||0===(n&ge)||0!==(n&ke))return Mn(e);(Ge.e??(Ge.e=[])).push(e)}function Mn(e){return xn(1048580,e)}function Cn(e,t=0){return xn(8|t,e)}function En(e,t=[],n=[],a=[]){!function(e,t,n,a){const i=jt;var r=e.filter(e=>!e.settled);if(0!==n.length||0!==r.length){var o=Un,s=function(){var e=Un,t=Fn,n=Ge,a=ht;if(te)var i=Je;return function(r=!0){Gn(e),Rn(t),Ve(n),r&&0===(e.f&xe)&&(a?.activate(),a?.apply()),te&&Ye(i)}}(),c=1===r.length?r[0].promise:r.length>1?Promise.all(r.map(e=>e.promise)):null;if(0!==n.length){var l=Pt();c?c.then(()=>{s(),u(),Lt()}):u()}else c.then(()=>d(t.map(i)))}else a(t.map(i));function d(e){s();try{a(e)}catch(t){0===(o.f&xe)&&rt(t,o)}Lt()}function u(){Promise.all(n.map(e=>Nt(e))).then(e=>d([...t.map(i),...e])).catch(e=>rt(e,o)).finally(()=>l())}}(a,t,n,t=>{xn(8,()=>e(...t.map(da)))})}function Tn(e,t=0){var n=xn(16|t,e);return te&&(n.dev_stack=Je),n}function _n(e){return xn(524320,e)}function $n(e){var t=e.teardown;if(null!==t){const e=Kn,n=Fn;Dn(!0),Rn(null);try{t.call(null)}finally{Dn(e),Rn(n)}}}function In(e,t=!1){var n=e.first;for(e.first=e.last=null;null!==n;){const e=n.ac;null!==e&&wn(()=>{e.abort(He)});var a=n.next;64&n.f?n.parent=null:zn(n,t),n=a}}function zn(e,t=!0){var n=!1;(t||262144&e.f)&&null!==e.nodes&&null!==e.nodes.end&&(Ln(e.nodes.start,e.nodes.end),n=!0),ct(e,Se),In(e,t&&!n),ca(e,0);var a=e.nodes&&e.nodes.t;if(null!==a)for(const r of a)r.stop();$n(e),e.f^=Se,e.f|=xe;var i=e.parent;null!==i&&null!==i.first&&Pn(e),te&&(e.component_function=null),e.next=e.prev=e.teardown=e.ctx=e.deps=e.fn=e.nodes=e.ac=null}function Ln(e,t){for(;null!==e;){var n=e===t?null:gn(e);e.remove(),e=n}}function Pn(e){var t=e.parent,n=e.prev,a=e.next;null!==n&&(n.next=a),null!==a&&(a.prev=n),null!==t&&(t.first===e&&(t.first=a),t.last===e&&(t.last=n))}function Hn(e,t,n=!0){var a=[];jn(e,a,!0);var i=()=>{n&&zn(e),t&&t()},r=a.length;if(r>0){var o=()=>--r||i();for(var s of a)s.out(o)}else i()}function jn(e,t,n){if(0===(e.f&we)){e.f^=we;var a=e.nodes&&e.nodes.t;if(null!==a)for(const e of a)(e.is_global||n)&&t.push(e);for(var i=e.first;null!==i;){var r=i.next;jn(i,t,!!(0!==(i.f&Ae)||0!==(i.f&ge)&&16&e.f)&&n),i=r}}}function Nn(e){On(e,!0)}function On(e,t){if(0!==(e.f&we)){e.f^=we,0===(e.f&ye)&&(ct(e,ve),At.ensure().schedule(e));for(var n=e.first;null!==n;){var a=n.next;On(n,!(0===(n.f&Ae)&&0===(n.f&ge))&&t),n=a}var i=e.nodes&&e.nodes.t;if(null!==i)for(const e of i)(e.is_global||t)&&e.in()}}function Bn(e,t){if(e.nodes)for(var n=e.nodes.start,a=e.nodes.end;null!==n;){var i=n===a?null:gn(n);t.append(n),n=i}}let Wn=!1,Kn=!1;function Dn(e){Kn=e}let Fn=null,qn=!1;function Rn(e){Fn=e}let Un=null;function Gn(e){Un=e}let Vn=null;function Jn(e){null!==Fn&&(null===Vn?Vn=[e]:Vn.push(e))}let Yn=null,Xn=0,Zn=null,Qn=1,ea=0,ta=ea;function na(e){ta=e}function aa(){return++Qn}function ia(e){var t=e.f;if(0!==(t&ve))return!0;if(2&t&&(e.f&=-65537),0!==(t&be)){for(var n=e.deps,a=n.length,i=0;i<a;i++){var r=n[i];if(ia(r)&&Ft(r),r.wv>e.wv)return!0}0!==(t&me)&&null===gt&&ct(e,ye)}return!1}function ra(e,t,n=!0){var a=e.reactions;if(null!==a&&(null===Vn||!ie.call(Vn,e)))for(var i=0;i<a.length;i++){var r=a[i];2&r.f?ra(r,t,!1):t===r&&(n?ct(r,ve):0!==(r.f&ye)&&ct(r,be),_t(r))}}function oa(e){var t,n=Yn,a=Xn,i=Zn,r=Fn,o=Vn,s=Ge,c=qn,l=ta;Yn=null,Xn=0,Zn=null,Fn=96&e.f?null:e,Vn=null,Ve(e.ctx),qn=!1,ta=++ea,null!==e.ac&&(wn(()=>{e.ac.abort(He)}),e.ac=null);try{e.f|=_e;var d=(0,e.fn)();e.f|=ke;var u=e.deps,f=ht?.is_fork;if(null!==Yn){var p;if(f||ca(e,Xn),null!==u&&Xn>0)for(u.length=Xn+Yn.length,p=0;p<Yn.length;p++)u[Xn+p]=Yn[p];else e.deps=u=Yn;if(kn()&&0!==(e.f&me))for(p=Xn;p<u.length;p++)((t=u[p]).reactions??(t.reactions=[])).push(e)}else!f&&null!==u&&Xn<u.length&&(ca(e,Xn),u.length=Xn);if(!(null===Zn||qn||null===u||6146&e.f))for(p=0;p<Zn.length;p++)ra(Zn[p],e);if(null!==r&&r!==e){if(ea++,null!==r.deps)for(let e=0;e<a;e+=1)r.deps[e].rv=ea;if(null!==n)for(const e of n)e.rv=ea;null!==Zn&&(null===i?i=Zn:i.push(...Zn))}return 0!==(e.f&$e)&&(e.f^=$e),d}catch(h){return it(h)}finally{e.f^=_e,Yn=n,Xn=a,Zn=i,Fn=r,Vn=o,Ve(s),qn=c,ta=l}}function sa(e,t){let n=t.reactions;if(null!==n){var a=ae.call(n,e);if(-1!==a){var i=n.length-1;0===i?n=t.reactions=null:(n[a]=n[i],n.pop())}}if(null===n&&2&t.f&&(null===Yn||!ie.call(Yn,t))){var r=t;0!==(r.f&me)&&(r.f^=me,r.f&=-65537),lt(r),function(e){if(null!==e.effects)for(const t of e.effects)(t.teardown||t.ac)&&(t.teardown?.(),t.ac?.abort(He),t.teardown=pe,t.ac=null,ca(t,0),In(t))}(r),ca(r,0)}}function ca(e,t){var n=e.deps;if(null!==n)for(var a=t;a<n.length;a++)sa(e,n[a])}function la(e){var t=e.f;if(0===(t&xe)){ct(e,ye);var n=Un,a=Wn;if(Un=e,Wn=!0,te){var i=Xe;Ze(e.component_function);var r=Je;Ye(e.dev_stack??Je)}try{16777232&t?function(e){for(var t=e.first;null!==t;){var n=t.next;0===(t.f&ge)&&zn(t),t=n}}(e):In(e),$n(e);var o=oa(e);e.teardown="function"==typeof o?o:null,e.wv=Qn}finally{Wn=a,Un=n,te&&(Ze(i),Ye(r))}}}function da(e){var t=!!(2&e.f);if(null!==Fn&&!qn&&!(null!==Un&&0!==(Un.f&xe)||null!==Vn&&ie.call(Vn,e))){var n=Fn.deps;if(0!==(Fn.f&_e))e.rv<ea&&(e.rv=ea,null===Yn&&null!==n&&n[Xn]===e?Xn++:null===Yn?Yn=[e]:Yn.push(e));else{(Fn.deps??(Fn.deps=[])).push(e);var a=e.reactions;null===a?e.reactions=[Fn]:ie.call(a,Fn)||a.push(Fn)}}if(te&&Ht.delete(e),Kn&&Ut.has(e))return Ut.get(e);if(t){var i=e;if(Kn){var r=i.v;return(0===(i.f&ye)&&null!==i.reactions||fa(i))&&(r=Dt(i)),Ut.set(i,r),r}var o=0===(i.f&me)&&!qn&&null!==Fn&&(Wn||0!==(Fn.f&me)),s=0===(i.f&ke);ia(i)&&(o&&(i.f|=me),Ft(i)),o&&!s&&(qt(i),ua(i))}if(gt?.has(e))return gt.get(e);if(0!==(e.f&$e))throw e.v;return e.v}function ua(e){if(e.f|=me,null!==e.deps)for(const t of e.deps)(t.reactions??(t.reactions=[])).push(e),2&t.f&&0===(t.f&me)&&(qt(t),ua(t))}function fa(e){if(e.v===Oe)return!0;if(null===e.deps)return!1;for(const t of e.deps){if(Ut.has(t))return!0;if(2&t.f&&fa(t))return!0}return!1}function pa(e){var t=qn;try{return qn=!0,e()}finally{qn=t}}const ha=["touchstart","touchmove"];function ga(e){return ha.includes(e)}const ma=Symbol("events"),ya=new Set,va=new Set;function ba(e,t,n){(t[ma]??(t[ma]={}))[e]=n}function wa(e){for(var t=0;t<e.length;t++)ya.add(e[t]);for(var n of va)n(e)}let xa=null;function ka(e){var t=this,n=t.ownerDocument,a=e.type,i=e.composedPath?.()||[],r=i[0]||e.target;xa=e;var o=0,s=xa===e&&e[ma];if(s){var c=i.indexOf(s);if(-1!==c&&(t===document||t===window))return void(e[ma]=t);var l=i.indexOf(t);if(-1===l)return;c<=l&&(o=c)}if((r=i[o]||e.target)!==t){oe(e,"currentTarget",{configurable:!0,get:()=>r||n});var d=Fn,u=Un;Rn(null),Gn(null);try{for(var f,p=[];null!==r;){var h=r.assignedSlot||r.parentNode||r.host||null;try{var g=r[ma]?.[a];null==g||r.disabled&&e.target!==r||g.call(r,e)}catch(m){f?p.push(m):f=m}if(e.cancelBubble||h===t||null===h)break;r=h}if(f){for(let e of p)queueMicrotask(()=>{throw e});throw f}}finally{e[ma]=t,delete e.currentTarget,Rn(d),Gn(u)}}}const Sa=globalThis?.window?.trustedTypes&&globalThis.window.trustedTypes.createPolicy("svelte-trusted-html",{createHTML:e=>e});function Aa(e){var t=bn("template");return t.innerHTML=function(e){return Sa?.createHTML(e)??e}(e.replaceAll("<!>","\x3c!----\x3e")),t.content}function Ma(e,t){null===Un.nodes&&(Un.nodes={start:e,end:t,a:null,t:null})}function Ca(e,t){var n,a=!!(1&t),i=!!(2&t),r=!e.startsWith("<!>");return()=>{void 0===n&&(n=Aa(r?e:"<!>"+e),a||(n=hn(n)));var t=i||dn?document.importNode(n,!0):n.cloneNode(!0);return a?Ma(hn(t),t.lastChild):Ma(t,t),t}}function Ea(e,t,n="svg"){var a,i=`<${n}>${e.startsWith("<!>")?"<!>"+e:e}</${n}>`;return()=>{if(!a){var e=Aa(i);a=hn(hn(e))}var t=a.cloneNode(!0);return Ma(t,t),t}}function Ta(e,t){return Ea(e,0,"svg")}function _a(e,t){null!==e&&e.before(t)}function $a(e,t){var n=null==t?"":"object"==typeof t?`${t}`:t;n!==(e.__t??(e.__t=e.nodeValue))&&(e.__t=n,e.nodeValue=`${n}`)}const Ia=new Map;let za=new WeakMap;class La{constructor(e,t=!0){V(this,"anchor"),X(this,O,new Map),X(this,B,new Map),X(this,W,new Map),X(this,K,new Set),X(this,D,!0),X(this,F,e=>{if(Y(this,O).has(e)){var t=Y(this,O).get(e),n=Y(this,B).get(t);if(n)Nn(n),Y(this,K).delete(t);else{var a=Y(this,W).get(t);a&&(Y(this,B).set(t,a.effect),Y(this,W).delete(t),a.fragment.lastChild.remove(),this.anchor.before(a.fragment),n=a.effect)}for(const[t,n]of Y(this,O)){if(Y(this,O).delete(t),t===e)break;const a=Y(this,W).get(n);a&&(zn(a.effect),Y(this,W).delete(n))}for(const[e,a]of Y(this,B)){if(e===t||Y(this,K).has(e))continue;const i=()=>{if(Array.from(Y(this,O).values()).includes(e)){var t=document.createDocumentFragment();Bn(a,t),t.append(pn()),Y(this,W).set(e,{effect:a,fragment:t})}else zn(a);Y(this,K).delete(e),Y(this,B).delete(e)};Y(this,D)||!n?(Y(this,K).add(e),Hn(a,i,!1)):i()}}}),X(this,q,e=>{Y(this,O).delete(e);const t=Array.from(Y(this,O).values());for(const[n,a]of Y(this,W))t.includes(n)||(zn(a.effect),Y(this,W).delete(n))}),this.anchor=e,Z(this,D,t)}ensure(e,t){var n=ht;!t||Y(this,B).has(e)||Y(this,W).has(e)||Y(this,B).set(e,_n(()=>t(this.anchor))),Y(this,O).set(n,e),Y(this,F).call(this,n)}}function Pa(e,t,n=!1){var a=new La(e);function i(e,t){a.ensure(e,t)}Tn(()=>{var e=!1;t((t,n=0)=>{e=!0,i(n,t)}),e||i(-1,null)},n?Ae:0)}function Ha(e,t){return t}function ja(e,t,n=!0){var a;if(e.pending.size>0){a=new Set;for(const t of e.pending.values())for(const n of t)a.add(e.items.get(n).e)}for(var i=0;i<t.length;i++){var r=t[i];a?.has(r)?(r.f|=Ee,Bn(r,document.createDocumentFragment())):zn(t[i],n)}}var Na;function Oa(e,t,n,a,i,r=null){var o,s=new Map;o=e.appendChild(pn());var c,l=null,d=Bt(()=>{var e=n();return ne(e)?e:null==e?[]:re(e)}),u=new Map,f=!0,p={effect:Tn(()=>{for(var e=(c=da(d)).length,h=new Set,g=ht,m=0;m<e;m+=1){var y=c[m],v=a(y,m);if(te){var b=a(y,m);v!==b&&Ne(String(m),String(v),String(b))}var w=f?null:s.get(v);w?(w.v&&Qt(w.v,y),w.i&&Qt(w.i,m)):(w=Wa(s,f?o:Na??(Na=pn()),y,v,m,i,t,n),f||(w.e.f|=Ee),s.set(v,w)),h.add(v)}0===e&&r&&!l&&(f?l=_n(()=>r(o)):(l=_n(()=>r(Na??(Na=pn())))).f|=Ee),e>h.size&&(te?function(e,t){const n=new Map,a=e.length;for(let i=0;i<a;i++){const a=t(e[i],i);if(n.has(a)){const e=String(n.get(a)),t=String(i);let r=String(a);r.startsWith("[object ")&&(r=null),je(e,t,r)}n.set(a,i)}}(c,a):je("","","")),f||(u.set(g,h),function(e){0===(p.effect.f&xe)&&(p.pending.delete(e),p.fallback=l,function(e,t,n,a,i){var r,o,s,c,l=t.length,d=e.items,u=Ba(e.effect.first),f=null,p=[],h=[];for(c=0;c<l;c+=1){if(o=i(t[c],c),s=d.get(o).e,null!==e.outrogroups)for(const t of e.outrogroups)t.pending.delete(s),t.done.delete(s);if(0!==(s.f&Ee)){if(s.f^=Ee,s!==u){var g=f?f.next:u;s===e.effect.last&&(e.effect.last=s.prev),s.prev&&(s.prev.next=s.next),s.next&&(s.next.prev=s.prev),Da(e,f,s),Da(e,s,g),Ka(s,g,n),p=[],h=[],u=Ba((f=s).next);continue}Ka(s,null,n)}if(0!==(s.f&we)&&Nn(s),s!==u){if(void 0!==r&&r.has(s)){if(p.length<h.length){var m,y=h[0];f=y.prev;var v=p[0],b=p[p.length-1];for(m=0;m<p.length;m+=1)Ka(p[m],y,n);for(m=0;m<h.length;m+=1)r.delete(h[m]);Da(e,v.prev,b.next),Da(e,f,v),Da(e,b,y),u=y,f=b,c-=1,p=[],h=[]}else r.delete(s),Ka(s,u,n),Da(e,s.prev,s.next),Da(e,s,null===f?e.effect.first:f.next),Da(e,f,s),f=s;continue}for(p=[],h=[];null!==u&&u!==s;)(r??(r=new Set)).add(u),h.push(u),u=Ba(u.next);if(null===u)continue}0===(s.f&Ee)&&p.push(s),f=s,u=Ba(s.next)}if(null!==e.outrogroups){for(const t of e.outrogroups)0===t.pending.size&&(ja(e,re(t.done)),e.outrogroups?.delete(t));0===e.outrogroups.size&&(e.outrogroups=null)}if(null!==u||void 0!==r){var w=[];if(void 0!==r)for(s of r)0===(s.f&we)&&w.push(s);for(;null!==u;)0===(u.f&we)&&u!==e.fallback&&w.push(u),u=Ba(u.next);w.length>0&&function(e,t,n){for(var a,i=t.length,r=t.length,o=0;o<i;o++){let n=t[o];Hn(n,()=>{if(a){if(a.pending.delete(n),a.done.add(n),0===a.pending.size){var t=e.outrogroups;ja(e,re(a.done)),t.delete(a),0===t.size&&(e.outrogroups=null)}}else r-=1},!1)}if(0===r){var s=null!==n;if(s){var c=n,l=c.parentNode;l.textContent="",l.append(c),e.items.clear()}ja(e,t,!s)}else a={pending:new Set(t),done:new Set},(e.outrogroups??(e.outrogroups=new Set)).add(a)}(e,w,0===l?n:null)}}(p,c,o,0,a),null!==l&&(0===c.length?0===(l.f&Ee)?Nn(l):(l.f^=Ee,Ka(l,null,o)):Hn(l,()=>{l=null})))}(g)),da(d)}),items:s,pending:u,outrogroups:null,fallback:l};f=!1}function Ba(e){for(;null!==e&&0===(e.f&ge);)e=e.next;return e}function Wa(e,t,n,a,i,r,o,s){var c=1&o?16&o?Jt(n):Xt(n,!1,!1):null,l=2&o?Jt(i):null;return te&&c&&(c.trace=()=>{s()}),{v:c,i:l,e:_n(()=>(r(t,c??n,l??i,s),()=>{e.delete(a)}))}}function Ka(e,t,n){if(e.nodes)for(var a=e.nodes.start,i=e.nodes.end,r=t&&0===(t.f&Ee)?t.nodes.start:n;null!==a;){var o=gn(a);if(r.before(a),a===i)return;a=o}}function Da(e,t,n){null===t?e.effect.first=n:t.next=n,null===n?e.effect.last=t:n.prev=t}function Fa(e,t,n=!1,a=!1,i=!1,r=!1){var o=e,s="";if(n)var c=e;En(()=>{var e=Un;if(s!==(s=t()??"")){if(n)return e.nodes=null,c.innerHTML=s,void(""!==s&&Ma(hn(c),c.lastChild));if(null!==e.nodes&&(Ln(e.nodes.start,e.nodes.end),e.nodes=null),""!==s){var r=bn(a?"svg":i?"math":"template",a?"http://www.w3.org/2000/svg":i?"http://www.w3.org/1998/Math/MathML":void 0);r.innerHTML=s;var l=a||i?r:r.content;if(Ma(hn(l),l.lastChild),a||i)for(;hn(l);)o.before(hn(l));else o.before(l)}}})}O=new WeakMap,B=new WeakMap,W=new WeakMap,K=new WeakMap,D=new WeakMap,F=new WeakMap,q=new WeakMap;const qa=[..." \t\n\r\f \v\ufeff"];function Ra(e,t,n,a,i,r){var o=e.__className;if(o!==n||void 0===o){var s=function(e,t,n){var a=null==e?"":""+e;if(n)for(var i of Object.keys(n))if(n[i])a=a?a+" "+i:i;else if(a.length)for(var r=i.length,o=0;(o=a.indexOf(i,o))>=0;){var s=o+r;0!==o&&!qa.includes(a[o-1])||s!==a.length&&!qa.includes(a[s])?o=s:a=(0===o?"":a.substring(0,o))+a.substring(s+1)}return""===a?null:a}(n,0,r);null==s?e.removeAttribute("class"):t?e.className=s:e.setAttribute("class",s),e.__className=n}else if(r&&i!==r)for(var c in r){var l=!!r[c];null!=i&&l===!!i[c]||e.classList.toggle(c,l)}return r}const Ua=Symbol("is custom element"),Ga=Symbol("is html");function Va(e,t,n,a){var i=function(e){return e.__attributes??(e.__attributes={[Ua]:e.nodeName.includes("-"),[Ga]:e.namespaceURI===We})}(e);i[t]!==(i[t]=n)&&("loading"===t&&(e[Le]=n),null==n?e.removeAttribute(t):"string"!=typeof n&&function(e){var t,n=e.getAttribute("is")||e.nodeName,a=Ja.get(n);if(a)return a;Ja.set(n,a=[]);for(var i=e,r=Element.prototype;r!==i;){for(var o in t=ce(i))t[o].set&&a.push(o);i=ue(i)}return a}(e).includes(t)?e[t]=n:e.setAttribute(t,n))}var Ja=new Map;function Ya(e,t){return e===t||e?.[Ie]===t}function Xa(e={},t,n,a){var i=Ge.r,r=Un;return xn(4,()=>{var a,o;return Cn(()=>{a=o,o=[],pa(()=>{e!==n(...o)&&(t(e,...o),a&&Ya(n(...a),e)&&t(null,...a))})}),()=>{let a=r;for(;a!==i&&null!==a.parent&&a.parent.f&Se;)a=a.parent;const s=a.teardown;a.teardown=()=>{o&&Ya(n(...o),e)&&t(null,...o),s?.()}}}),e}function Za(e,t,n,a){var i=!!(8&n),r=!!(16&n),o=a,s=!0,c=()=>(s&&(s=!1,o=r?pa(a):a),o);let l;if(i){var d=Ie in e||ze in e;l=se(e,t)?.set??(d&&t in e?n=>e[t]=n:void 0)}var u,f,p=!1;if(i?[u,p]=function(){var n=ft;try{return ft=!1,[e[t],ft]}finally{ft=n}}():u=e[t],void 0===u&&void 0!==a&&(u=c(),l&&(function(e){if(te){const t=new Error(`props_invalid_value\nCannot do \`bind:${e}={undefined}\` when \`${e}\` has a fallback value\nhttps://svelte.dev/e/props_invalid_value`);throw t.name="Svelte error",t}throw new Error("https://svelte.dev/e/props_invalid_value")}(t),l(u))),f=()=>{var n=e[t];return void 0===n?c():(s=!0,n)},!(4&n))return f;if(l){var h=e.$$legacy;return function(e,t){return arguments.length>0?((!t||h||p)&&l(t?f():e),e):f()}}var g=!1,m=(1&n?jt:Bt)(()=>(g=!1,f()));te&&(m.label=t),i&&da(m);var y=Un;return function(e,t){if(arguments.length>0){const n=t?da(m):i?rn(e):e;return Zt(m,n),g=!0,void 0!==o&&(o=n),e}return Kn&&g||0!==(y.f&xe)?m.v:da(m)}}if(te){let e=function(e){if(!(e in globalThis)){let t;Object.defineProperty(globalThis,e,{configurable:!0,get:()=>{if(void 0!==t)return t;!function(e){if(te){const t=new Error(`rune_outside_svelte\nThe \`${e}\` rune is only available inside \`.svelte\` and \`.svelte.js/ts\` files\nhttps://svelte.dev/e/rune_outside_svelte`);throw t.name="Svelte error",t}throw new Error("https://svelte.dev/e/rune_outside_svelte")}(e)},set:e=>{t=e}})}};e("$state"),e("$effect"),e("$derived"),e("$inspect"),e("$props"),e("$bindable")}function Qa(e){null===Ge&&function(){if(te){const e=new Error("lifecycle_outside_component\n`onMount(...)` can only be used during component initialisation\nhttps://svelte.dev/e/lifecycle_outside_component");throw e.name="Svelte error",e}throw new Error("https://svelte.dev/e/lifecycle_outside_component")}(),An(()=>{const t=pa(e);if("function"==typeof t)return t})}function ei(e){return`<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true">${e}</svg>`}function ti(){return ei('<circle cx="12" cy="4.5" r="1.5"/><path d="M12 7.5v5m0 0l-3 4.5m3-4.5l3 4.5"/><path d="M6.5 9.5h11"/>')}function ni(){return ei('<path d="M11 5L6 9H3v6h3l5 4V5z"/><path d="M15 9a4 4 0 0 1 0 6"/><path d="M18 6a8 8 0 0 1 0 12"/>')}function ai(){return ei('<path d="M12 2a5 5 0 0 1 4.65 3.2A4.5 4.5 0 0 1 20 9.5a4.5 4.5 0 0 1-1.5 3.35A5 5 0 0 1 12 18"/><path d="M12 2a5 5 0 0 0-4.65 3.2A4.5 4.5 0 0 0 4 9.5a4.5 4.5 0 0 0 1.5 3.35A5 5 0 0 0 12 18"/><path d="M12 18v4"/><path d="M8 10h.01"/><path d="M16 10h.01"/><path d="M9 14c1 1 5 1 6 0"/>')}function ii(){return ei('<rect x="3" y="3" width="18" height="18" rx="2"/><path d="M3 16l5-5 4 4 3-3 6 6"/><circle cx="8.5" cy="8.5" r="1.5"/><text x="12" y="21.5" text-anchor="middle" fill="currentColor" stroke="none" font-size="5" font-weight="bold" font-family="sans-serif">ALT</text>')}function ri(){return ei('<path d="M18 6L6 18"/><path d="M6 6l12 12"/>')}function oi(){return ei('<path d="M3 12a9 9 0 1 0 3-6.7"/><path d="M3 3v5.3h5.3"/>')}function si(){return ei('<circle cx="12" cy="12" r="10"/><path d="M2 12h20"/><path d="M12 2a15.3 15.3 0 0 1 4 10 15.3 15.3 0 0 1-4 10 15.3 15.3 0 0 1-4-10 15.3 15.3 0 0 1 4-10z"/>')}"undefined"!=typeof window&&((R=window.__svelte??(window.__svelte={})).v??(R.v=new Set)).add("5");const ci={accessibility:ti,contrast:function(){return ei('<circle cx="12" cy="12" r="9"/><path d="M12 3v18" /><path d="M12 3a9 9 0 0 1 0 18" fill="currentColor" stroke="none"/>')},"text-size":function(){return ei('<path d="M4 19l4-12h1l4 12"/><path d="M5.5 15h5"/><path d="M17 5v14"/><path d="M14 8l3-3 3 3"/><path d="M14 16l3 3 3-3"/>')},spacing:function(){return ei('<path d="M4 9h16"/><path d="M4 15h16"/><path d="M10 5l-2 2 2 2"/><path d="M14 5l2 2-2 2"/><path d="M10 17l-2-2 2-2"/><path d="M14 17l2-2-2-2"/>')},font:function(){return ei('<path d="M6 4h10a2 2 0 0 1 2 2v1"/><path d="M6 4v16"/><path d="M6 12h8"/><path d="M4 20h4"/>')},"reading-guide":function(){return ei('<path d="M3 12h18"/><path d="M3 6h18" opacity="0.3"/><path d="M3 18h18" opacity="0.3"/><rect x="1" y="10" width="22" height="4" rx="1" stroke-dasharray="4 2"/>')},focus:function(){return ei('<circle cx="12" cy="12" r="3"/><circle cx="12" cy="12" r="7"/><path d="M12 2v3"/><path d="M12 19v3"/><path d="M2 12h3"/><path d="M19 12h3"/>')},"animation-pause":function(){return ei('<circle cx="12" cy="12" r="9"/><path d="M10 8v8"/><path d="M14 8v8"/>')},cursor:function(){return ei('<path d="M5 3l1.5 16 3.5-4 5 6 2-1.5-5-6h5.5z"/><path d="M18 12h4"/><path d="M20 10v4"/>')},speaker:ni,tts:ni,brain:ai,ai:ai,image:ii,"alt-text":ii,keyboard:function(){return ei('<rect x="2" y="6" width="20" height="12" rx="2"/><path d="M6 10h.01"/><path d="M10 10h.01"/><path d="M14 10h.01"/><path d="M18 10h.01"/><path d="M8 14h8"/>')},"color-blindness":function(){return ei('<path d="M2 12s4-8 10-8 10 8 10 8-4 8-10 8-10-8-10-8z"/><circle cx="12" cy="12" r="3"/><path d="M12 9v6" stroke-dasharray="2 1"/><path d="M9 12h6" stroke-dasharray="2 1"/>')},"link-highlight":function(){return ei('<path d="M10 13a5 5 0 0 0 7.07.5l2.12-2.12a5 5 0 0 0-7.07-7.07l-1.06 1.06"/><path d="M14 11a5 5 0 0 0-7.07-.5L4.81 12.6a5 5 0 0 0 7.07 7.07l1.06-1.06"/><path d="M2 20l4-4" stroke-width="3" opacity="0.4"/>')},close:ri,"close-x":ri,reset:oi,chevron:function(){return ei('<path d="M9 18l6-6-6-6"/>')},checkmark:function(){return ei('<path d="M20 6L9 17l-5-5"/>')},warning:function(){return ei('<path d="M10.3 3.2L1.7 18a2 2 0 0 0 1.7 3h17.2a2 2 0 0 0 1.7-3L13.7 3.2a2 2 0 0 0-3.4 0z"/><path d="M12 9v4"/><path d="M12 17h.01"/>')},scan:function(){return ei('<circle cx="11" cy="11" r="7"/><path d="M21 21l-4.35-4.35"/><path d="M8 9h6"/><path d="M8 11h4"/><path d="M8 13h5"/>')},"simplify-text":function(){return ei('<rect x="4" y="2" width="16" height="20" rx="2"/><path d="M8 6h8"/><path d="M8 10h8" opacity="0.35" stroke-dasharray="2 2"/><path d="M8 14h5"/><path d="M8 18h6" opacity="0.35" stroke-dasharray="2 2"/>')},eye:function(){return ei('<path d="M2 12s4-8 10-8 10 8 10 8-4 8-10 8-10-8-10-8z"/><circle cx="12" cy="12" r="3"/>')},shield:function(){return ei('<path d="M12 2l8 4v6c0 5.5-3.8 10.7-8 12-4.2-1.3-8-6.5-8-12V6l8-4z"/><path d="M9 12l2 2 4-4"/>')},saturation:function(){return ei('<path d="M12 2.7c-4.5 5-7 8.5-7 11.8a7 7 0 0 0 14 0c0-3.3-2.5-6.8-7-11.8z"/><path d="M12 9v9"/><path d="M12 9a4.5 4.5 0 0 0 0 9" fill="currentColor" stroke="none" opacity="0.3"/>')},"hide-images":function(){return ei('<rect x="3" y="3" width="18" height="18" rx="2"/><circle cx="8.5" cy="8.5" r="1.5"/><path d="M3 16l5-5 4 4 3-3 6 6"/><path d="M2 2l20 20" stroke-width="2.5"/>')},"text-align":function(){return ei('<path d="M4 6h16"/><path d="M4 10h10"/><path d="M4 14h16"/><path d="M4 18h10"/>')},"reading-mask":function(){return ei('<rect x="2" y="2" width="20" height="20" rx="2" opacity="0.3"/><rect x="4" y="8" width="16" height="8" rx="1"/><path d="M4 8h16" stroke-dasharray="3 2"/><path d="M4 16h16" stroke-dasharray="3 2"/>')},"page-structure":function(){return ei('<path d="M4 6h4"/><path d="M4 6v6"/><path d="M8 6v6"/><path d="M4 9h4"/><path d="M12 7h8" stroke-width="1.5"/><path d="M14 12h6" opacity="0.6"/><path d="M14 16h6" opacity="0.6"/><path d="M12 20h8" stroke-width="1.5"/>')},"line-height":function(){return ei('<path d="M10 6h10"/><path d="M10 12h10"/><path d="M10 18h10"/><path d="M4 4v16"/><path d="M2 7l2-3 2 3"/><path d="M2 17l2 3 2-3"/>')},globe:si,profile:function(){return ei('<circle cx="12" cy="8" r="4"/><path d="M4 20c0-4 4-7 8-7s8 3 8 7"/>')}},li={"widget.title":"Accessibility","widget.open":"Open accessibility settings","widget.close":"Close","widget.reset":"Reset all","widget.resetConfirm":"All adjustments reset","widget.poweredBy":"Powered by Accessify","widget.statement":"Accessibility Statement","status.active":"{count} active","status.noActive":"No adjustments active","status.activated":"activated","status.deactivated":"deactivated","section.profiles":"Quick Profiles","category.visual":"Visual","category.motor":"Motor & Navigation","category.cognitive":"Cognitive","category.ai":"AI Features","profile.visionImpaired":"Vision Impaired","profile.visionImpaired.desc":"High contrast, larger text and cursor","profile.motorImpaired":"Motor Impaired","profile.motorImpaired.desc":"Keyboard navigation and focus aids","profile.cognitive":"Cognitive Support","profile.cognitive.desc":"Reading aids, spacing, and simpler fonts","profile.seizureSafe":"Seizure Safe","profile.seizureSafe.desc":"Stop animations and reduce stimuli","profile.adhdFriendly":"ADHD Friendly","profile.adhdFriendly.desc":"Reduce distractions and improve focus","feature.contrast":"Contrast","feature.contrast.desc":"Increase contrast for better readability","feature.textSize":"Bigger Text","feature.textSize.desc":"Increase or decrease text size","feature.spacing":"Text Spacing","feature.spacing.desc":"Adjust letter and line spacing","feature.dyslexiaFont":"Dyslexia Font","feature.dyslexiaFont.desc":"Special font for better readability","feature.readingGuide":"Reading Guide","feature.readingGuide.desc":"Horizontal ruler for line-by-line reading","feature.focusHighlight":"Focus Highlight","feature.focusHighlight.desc":"Visible outline on focused elements","feature.animationStop":"Stop Animations","feature.animationStop.desc":"Pause all animations and videos","feature.bigCursor":"Big Cursor","feature.bigCursor.desc":"Enlarged cursor for better visibility","feature.colorBlind":"Color Filter","feature.colorBlind.desc":"Color corrections for color vision deficiencies","feature.linkHighlight":"Highlight Links","feature.linkHighlight.desc":"Underline and highlight all links","feature.keyboardNav":"Keyboard Nav","feature.keyboardNav.desc":"Navigate the page using only your keyboard: Skip to main content, Alt+H to jump through headings, Alt+L for page sections, Alt+K shows all shortcuts","feature.tts":"Read Aloud","feature.tts.desc":"Click any text to hear it spoken","feature.textSimplify":"Simplify Text","feature.textSimplify.desc":"Simplify text for easier understanding","feature.altText":"Image Description","feature.altText.desc":"Show image descriptions on hover and auto-generate missing ones","feature.autoScan":"WCAG Scan","feature.autoScan.desc":"Scan page for accessibility issues","feature.saturation":"Saturation","feature.saturation.desc":"Adjust color saturation or grayscale","feature.hideImages":"Hide Images","feature.hideImages.desc":"Remove images for distraction-free reading","feature.textAlign":"Text Align","feature.textAlign.desc":"Change text alignment across the page","feature.readingMask":"Reading Mask","feature.readingMask.desc":"Focus window that dims surrounding content","feature.pageStructure":"Page Structure","feature.pageStructure.desc":"View headings and landmarks for quick navigation","feature.lineHeight":"Line Height","feature.lineHeight.desc":"Increase space between lines of text","ai.loading":"Loading...","ai.error":"Error processing request","ai.simplify.select":"Select text to simplify","ai.simplify.level":"Simplification level","ai.simplify.einfache":"Simple language","ai.simplify.leichte":"Easy language","ai.alttext.generate":"Generate alt text","ai.alttext.apply":"Apply","ai.alttext.edit":"Edit","ai.alttext.badge":"Images missing alt text","ai.alttext.aiGenerated":"AI-generated – please review","tts.play":"Play","tts.pause":"Pause","tts.stop":"Stop","tts.speed":"Speed","footer.disclaimer":"This widget enhances accessibility but does not replace accessible web development.","footer.docs":"Documentation","footer.github":"GitHub","bfsg.notice":"Note: This overlay tool alone does not meet BFSG requirements. Full accessibility requires structural changes to the source code.","widget.subtitle":"Adjust contrast, text and navigation on this page","widget.language":"Language","widget.widgetLang":"Widget language","widget.moveWidget":"Move widget to other side","widget.poweredBy":"Powered by Accessify-Widget","section.essentials":"Most used","section.essentials.desc":"Start with contrast, text size and keyboard support.","section.support":"Reading and navigation","section.support.desc":"Tools for focus, reduced motion and page structure.","section.ai":"AI assistance","section.ai.desc":"Simplify content, generate alt text and scan the current page.","control.mostUsed":"Most used","control.chooseMode":"Choose a mode","control.default":"Default","contrast.mode.light":"Light contrast","contrast.mode.dark":"Dark contrast","contrast.mode.high":"High contrast","keyboard.shortcuts":"Keyboard shortcuts","keyboard.shortcut":"Shortcut","keyboard.action":"Action","keyboard.nextHeading":"Go to the next heading","keyboard.nextLandmark":"Go to the next landmark","keyboard.toggleHelp":"Open or close this help overlay","keyboard.nextFocusable":"Move to the next focusable element","keyboard.closeOverlay":"Close this overlay","keyboard.skipToContent":"Skip to main content","pageStructure.title":"Page structure","pageStructure.headings":"Headings","pageStructure.landmarks":"Landmarks","pageStructure.empty":"No headings or landmarks found on this page."};function di(e){return{...li,...e}}const ui={en:li,de:{"widget.title":"Barrierefreiheit","widget.open":"Barrierefreiheit-Einstellungen öffnen","widget.close":"Schließen","widget.reset":"Alle zurücksetzen","widget.resetConfirm":"Alle Anpassungen zurückgesetzt","widget.poweredBy":"Bereitgestellt von Accessify","widget.statement":"Barrierefreiheitserklärung","status.active":"{count} aktiv","status.noActive":"Keine Anpassungen aktiv","status.activated":"aktiviert","status.deactivated":"deaktiviert","section.profiles":"Schnellprofile","category.visual":"Visuell","category.motor":"Motorik & Navigation","category.cognitive":"Kognitiv","category.ai":"KI-Funktionen","profile.visionImpaired":"Sehbeeinträchtigung","profile.visionImpaired.desc":"Hoher Kontrast, größerer Text und Cursor","profile.motorImpaired":"Motorische Einschränkung","profile.motorImpaired.desc":"Tastaturnavigation und Fokus-Hilfen","profile.cognitive":"Kognitive Unterstützung","profile.cognitive.desc":"Lesehilfen, Abstände und einfachere Schrift","profile.seizureSafe":"Anfallssicher","profile.seizureSafe.desc":"Animationen stoppen und Reize reduzieren","profile.adhdFriendly":"ADHS-freundlich","profile.adhdFriendly.desc":"Ablenkungen reduzieren und Fokus verbessern","feature.contrast":"Kontrast","feature.contrast.desc":"Kontrast erhöhen für bessere Lesbarkeit","feature.textSize":"Größerer Text","feature.textSize.desc":"Text vergrößern oder verkleinern","feature.spacing":"Textabstand","feature.spacing.desc":"Abstände zwischen Buchstaben und Zeilen anpassen","feature.dyslexiaFont":"Legasthenie-Schrift","feature.dyslexiaFont.desc":"Spezielle Schriftart für bessere Lesbarkeit","feature.readingGuide":"Leselineal","feature.readingGuide.desc":"Horizontales Lineal zum zeilenweisen Lesen","feature.focusHighlight":"Fokus-Hervorhebung","feature.focusHighlight.desc":"Sichtbare Umrandung fokussierter Elemente","feature.animationStop":"Animationen stoppen","feature.animationStop.desc":"Alle Animationen und Videos pausieren","feature.bigCursor":"Großer Mauszeiger","feature.bigCursor.desc":"Vergrößerter Mauszeiger für bessere Sichtbarkeit","feature.colorBlind":"Farbfilter","feature.colorBlind.desc":"Farbkorrekturen für verschiedene Sehschwächen","feature.linkHighlight":"Links hervorheben","feature.linkHighlight.desc":"Alle Links sichtbar unterstreichen","feature.keyboardNav":"Tastaturnavigation","feature.keyboardNav.desc":"Seite nur mit Tastatur bedienen: Direkt zum Inhalt springen, mit Alt+H durch Überschriften navigieren, Alt+L für Seitenbereiche, Alt+K zeigt alle Tastenkombinationen","feature.tts":"Vorlesen","feature.tts.desc":"Text per Klick vorlesen lassen","feature.textSimplify":"Text vereinfachen","feature.textSimplify.desc":"Text in Einfache Sprache umwandeln","feature.altText":"Bildbeschreibung","feature.altText.desc":"Bildbeschreibungen per Hover anzeigen und fehlende automatisch erzeugen","feature.autoScan":"WCAG-Prüfung","feature.autoScan.desc":"Seite auf Barrierefreiheit prüfen","feature.saturation":"Sättigung","feature.saturation.desc":"Farbsättigung anpassen oder Graustufen","feature.hideImages":"Bilder ausblenden","feature.hideImages.desc":"Bilder entfernen für ablenkungsfreies Lesen","feature.textAlign":"Textausrichtung","feature.textAlign.desc":"Textausrichtung der Seite ändern","feature.readingMask":"Lesemaske","feature.readingMask.desc":"Fokus-Fenster, das die Umgebung abdunkelt","feature.pageStructure":"Seitenstruktur","feature.pageStructure.desc":"Überschriften und Bereiche zur Navigation anzeigen","feature.lineHeight":"Zeilenhöhe","feature.lineHeight.desc":"Abstand zwischen Textzeilen vergrößern","ai.loading":"Wird geladen...","ai.error":"Fehler bei der Verarbeitung","ai.simplify.select":"Text auswählen zum Vereinfachen","ai.simplify.level":"Vereinfachungsstufe","ai.simplify.einfache":"Einfache Sprache","ai.simplify.leichte":"Leichte Sprache","ai.alttext.generate":"Alt-Text erzeugen","ai.alttext.apply":"Übernehmen","ai.alttext.edit":"Bearbeiten","ai.alttext.badge":"Bilder ohne Alt-Text","ai.alttext.aiGenerated":"KI-generiert – bitte überprüfen","tts.play":"Vorlesen","tts.pause":"Pause","tts.stop":"Stopp","tts.speed":"Geschwindigkeit","footer.disclaimer":"Dieses Widget verbessert die Barrierefreiheit, ersetzt aber keine barrierefreie Webentwicklung.","footer.docs":"Dokumentation","footer.github":"GitHub","bfsg.notice":"Hinweis: Dieses Overlay-Tool allein erfüllt nicht die Anforderungen des BFSG. Professionelle Barrierefreiheit erfordert strukturelle Änderungen am Quellcode.","widget.subtitle":"Passe Kontrast, Text und Navigation auf dieser Seite an","widget.language":"Sprache","widget.widgetLang":"Widget-Sprache","widget.moveWidget":"Widget auf andere Seite verschieben","widget.poweredBy":"Bereitgestellt von Accessify-Widget","section.essentials":"Am haeufigsten genutzt","section.essentials.desc":"Starte mit Kontrast, Textgroesse und Tastaturhilfe.","section.support":"Lesen und Navigation","section.support.desc":"Hilfen fuer Fokus, reduzierte Bewegung und Seitenstruktur.","section.ai":"KI-Unterstuetzung","section.ai.desc":"Inhalte vereinfachen, Alt-Texte erzeugen und die Seite pruefen.","control.mostUsed":"Meistgenutzt","control.chooseMode":"Modus waehlen","control.default":"Standard","contrast.mode.light":"Heller Kontrast","contrast.mode.dark":"Dunkler Kontrast","contrast.mode.high":"Hoher Kontrast","keyboard.shortcuts":"Tastaturhilfe","keyboard.shortcut":"Tastaturkuerzel","keyboard.action":"Aktion","keyboard.nextHeading":"Zur naechsten Ueberschrift springen","keyboard.nextLandmark":"Zur naechsten Landmarke springen","keyboard.toggleHelp":"Diese Hilfe ein- oder ausblenden","keyboard.nextFocusable":"Zum naechsten fokussierbaren Element wechseln","keyboard.closeOverlay":"Diese Hilfe schliessen","keyboard.skipToContent":"Zum Hauptinhalt springen","pageStructure.title":"Seitenstruktur","pageStructure.headings":"Ueberschriften","pageStructure.landmarks":"Landmarken","pageStructure.empty":"Auf dieser Seite wurden keine Ueberschriften oder Landmarken gefunden."},zh:di({"widget.widgetLang":"小组件语言","widget.title":"无障碍","widget.subtitle":"调整此页面的对比度、文字和导航","widget.open":"打开无障碍设置","widget.close":"关闭","widget.reset":"全部重置","widget.resetConfirm":"已重置所有调整","widget.poweredBy":"由 Accessify-Widget 提供支持","widget.statement":"无障碍声明","widget.language":"语言","status.active":"已启用 {count} 项","status.noActive":"当前未启用调整","status.activated":"已启用","status.deactivated":"已关闭","section.essentials":"最常用","section.essentials.desc":"先从对比度、文字大小和键盘支持开始。","section.support":"阅读与导航","section.support.desc":"用于聚焦、减少动画和查看页面结构的工具。","section.ai":"AI 辅助","section.ai.desc":"简化内容、生成替代文本并扫描当前页面。","control.mostUsed":"最常用","control.chooseMode":"选择模式","control.default":"默认","contrast.mode.light":"浅色高对比","contrast.mode.dark":"深色高对比","contrast.mode.high":"高对比","feature.contrast":"对比度","feature.textSize":"更大文字","feature.keyboardNav":"键盘导航","feature.focusHighlight":"焦点高亮","feature.linkHighlight":"突出链接","feature.animationStop":"停止动画","feature.readingGuide":"阅读指引线","feature.readingMask":"阅读遮罩","feature.hideImages":"隐藏图片","feature.bigCursor":"大号光标","feature.pageStructure":"页面结构","feature.tts":"朗读","feature.textSimplify":"简化文本","feature.altText":"图片描述","feature.autoScan":"WCAG 扫描"}),hi:di({"widget.widgetLang":"विजेट भाषा","widget.title":"सुलभता","widget.subtitle":"इस पेज पर कंट्रास्ट, टेक्स्ट और नेविगेशन समायोजित करें","widget.open":"सुलभता सेटिंग खोलें","widget.close":"बंद करें","widget.reset":"सब रीसेट करें","widget.resetConfirm":"सभी बदलाव रीसेट हो गए","widget.poweredBy":"Accessify-Widget द्वारा संचालित","widget.statement":"एक्सेसिबिलिटी स्टेटमेंट","widget.language":"भाषा","status.active":"{count} सक्रिय","status.noActive":"कोई बदलाव सक्रिय नहीं","status.activated":"सक्रिय","status.deactivated":"निष्क्रिय","section.essentials":"सबसे ज्यादा उपयोग","section.essentials.desc":"कंट्रास्ट, टेक्स्ट साइज और कीबोर्ड सहायता से शुरू करें।","section.support":"पढ़ना और नेविगेशन","section.support.desc":"फोकस, कम मोशन और पेज स्ट्रक्चर के लिए टूल।","section.ai":"AI सहायता","section.ai.desc":"कंटेंट सरल करें, ऑल्ट टेक्स्ट बनाएं और मौजूदा पेज स्कैन करें।","control.mostUsed":"सबसे उपयोगी","control.chooseMode":"मोड चुनें","control.default":"डिफ़ॉल्ट","contrast.mode.light":"लाइट कंट्रास्ट","contrast.mode.dark":"डार्क कंट्रास्ट","contrast.mode.high":"हाई कंट्रास्ट","feature.contrast":"कंट्रास्ट","feature.textSize":"बड़ा टेक्स्ट","feature.keyboardNav":"कीबोर्ड नेविगेशन","feature.focusHighlight":"फोकस हाइलाइट","feature.linkHighlight":"लिंक हाइलाइट","feature.animationStop":"एनिमेशन रोकें","feature.readingGuide":"रीडिंग गाइड","feature.readingMask":"रीडिंग मास्क","feature.hideImages":"तस्वीरें छिपाएँ","feature.bigCursor":"बड़ा कर्सर","feature.pageStructure":"पेज संरचना","feature.tts":"जोर से पढ़ें","feature.textSimplify":"टेक्स्ट सरल करें","feature.altText":"चित्र विवरण","feature.autoScan":"WCAG स्कैन"}),es:di({"widget.widgetLang":"Idioma del widget","widget.title":"Accesibilidad","widget.subtitle":"Ajusta contraste, texto y navegacion en esta pagina","widget.open":"Abrir ajustes de accesibilidad","widget.close":"Cerrar","widget.reset":"Restablecer todo","widget.resetConfirm":"Se restablecieron todos los ajustes","widget.poweredBy":"Impulsado por Accessify-Widget","widget.statement":"Declaracion de accesibilidad","widget.language":"Idioma","status.active":"{count} activas","status.noActive":"No hay ajustes activos","status.activated":"activado","status.deactivated":"desactivado","section.essentials":"Lo mas usado","section.essentials.desc":"Empieza con contraste, tamano de texto y apoyo para teclado.","section.support":"Lectura y navegacion","section.support.desc":"Herramientas para foco, menos movimiento y estructura de pagina.","section.ai":"Asistencia de IA","section.ai.desc":"Simplifica contenido, genera texto alternativo y analiza la pagina actual.","control.mostUsed":"Mas usado","control.chooseMode":"Elegir modo","control.default":"Predeterminado","contrast.mode.light":"Contraste claro","contrast.mode.dark":"Contraste oscuro","contrast.mode.high":"Alto contraste","feature.contrast":"Contraste","feature.textSize":"Texto mas grande","feature.keyboardNav":"Navegacion por teclado","feature.focusHighlight":"Resaltar foco","feature.linkHighlight":"Resaltar enlaces","feature.animationStop":"Detener animaciones","feature.readingGuide":"Guia de lectura","feature.readingMask":"Mascara de lectura","feature.hideImages":"Ocultar imagenes","feature.bigCursor":"Cursor grande","feature.pageStructure":"Estructura de pagina","feature.tts":"Lectura en voz alta","feature.textSimplify":"Simplificar texto","feature.altText":"Descripcion de imagen","feature.autoScan":"Escaneo WCAG"}),fr:di({"widget.widgetLang":"Langue du widget","widget.title":"Accessibilite","widget.subtitle":"Ajustez le contraste, le texte et la navigation sur cette page","widget.open":"Ouvrir les reglages d'accessibilite","widget.close":"Fermer","widget.reset":"Tout reinitialiser","widget.resetConfirm":"Tous les ajustements ont ete reinitialises","widget.poweredBy":"Propulse par Accessify-Widget","widget.statement":"Declaration d'accessibilite","widget.language":"Langue","status.active":"{count} actives","status.noActive":"Aucun ajustement actif","status.activated":"active","status.deactivated":"desactive","section.essentials":"Les plus utilises","section.essentials.desc":"Commencez par le contraste, la taille du texte et le clavier.","section.support":"Lecture et navigation","section.support.desc":"Outils pour la mise au point, moins de mouvement et la structure de page.","section.ai":"Assistance IA","section.ai.desc":"Simplifiez le contenu, generez un texte alternatif et analysez la page.","control.mostUsed":"Les plus utilises","control.chooseMode":"Choisir un mode","control.default":"Par defaut","contrast.mode.light":"Contraste clair","contrast.mode.dark":"Contraste sombre","contrast.mode.high":"Contraste eleve","feature.contrast":"Contraste","feature.textSize":"Texte plus grand","feature.keyboardNav":"Navigation clavier","feature.focusHighlight":"Mise en evidence du focus","feature.linkHighlight":"Mettre les liens en evidence","feature.animationStop":"Arreter les animations","feature.readingGuide":"Guide de lecture","feature.readingMask":"Masque de lecture","feature.hideImages":"Masquer les images","feature.bigCursor":"Grand curseur","feature.pageStructure":"Structure de page","feature.tts":"Lecture audio","feature.textSimplify":"Simplifier le texte","feature.altText":"Description d'image","feature.autoScan":"Analyse WCAG"}),ar:di({"widget.widgetLang":"لغة الأداة","widget.title":"إمكانية الوصول","widget.subtitle":"اضبط التباين والنص والتنقل في هذه الصفحة","widget.open":"افتح إعدادات إمكانية الوصول","widget.close":"إغلاق","widget.reset":"إعادة ضبط الكل","widget.resetConfirm":"تمت إعادة ضبط جميع التعديلات","widget.poweredBy":"مدعوم بواسطة Accessify-Widget","widget.statement":"بيان إمكانية الوصول","widget.language":"اللغة","status.active":"{count} عناصر نشطة","status.noActive":"لا توجد تعديلات نشطة","status.activated":"مفعل","status.deactivated":"معطل","section.essentials":"الأكثر استخدامًا","section.essentials.desc":"ابدأ بالتباين وحجم النص ودعم لوحة المفاتيح.","section.support":"القراءة والتنقل","section.support.desc":"أدوات للتركيز وتقليل الحركة وبنية الصفحة.","section.ai":"مساعدة الذكاء الاصطناعي","section.ai.desc":"بسّط المحتوى وأنشئ نصًا بديلاً وافحص الصفحة الحالية.","control.mostUsed":"الأكثر استخدامًا","control.chooseMode":"اختر وضعًا","control.default":"افتراضي","contrast.mode.light":"تباين فاتح","contrast.mode.dark":"تباين داكن","contrast.mode.high":"تباين عالٍ","feature.contrast":"التباين","feature.textSize":"نص أكبر","feature.keyboardNav":"تنقل بلوحة المفاتيح","feature.focusHighlight":"إبراز التركيز","feature.linkHighlight":"إبراز الروابط","feature.animationStop":"إيقاف الرسوم المتحركة","feature.readingGuide":"دليل القراءة","feature.readingMask":"قناع القراءة","feature.hideImages":"إخفاء الصور","feature.bigCursor":"مؤشر كبير","feature.pageStructure":"بنية الصفحة","feature.tts":"القراءة بصوت عالٍ","feature.textSimplify":"تبسيط النص","feature.altText":"وصف الصورة","feature.autoScan":"فحص WCAG"}),bn:di({"widget.title":"অ্যাক্সেসিবিলিটি","widget.subtitle":"এই পাতায় কনট্রাস্ট, টেক্সট এবং নেভিগেশন ঠিক করুন","widget.open":"অ্যাক্সেসিবিলিটি সেটিংস খুলুন","widget.close":"বন্ধ করুন","widget.reset":"সব রিসেট করুন","widget.resetConfirm":"সব পরিবর্তন রিসেট হয়েছে","widget.poweredBy":"Accessify-Widget দ্বারা চালিত","widget.statement":"অ্যাক্সেসিবিলিটি বিবৃতি","widget.language":"ভাষা","status.active":"{count} টি সক্রিয়","status.noActive":"কোনও সমন্বয় সক্রিয় নেই","status.activated":"সক্রিয়","status.deactivated":"নিষ্ক্রিয়","section.essentials":"সবচেয়ে ব্যবহৃত","section.essentials.desc":"কনট্রাস্ট, টেক্সট সাইজ এবং কিবোর্ড সহায়তা দিয়ে শুরু করুন।","section.support":"পড়া ও নেভিগেশন","section.support.desc":"ফোকাস, কম মুভমেন্ট এবং পেজ স্ট্রাকচারের টুল।","section.ai":"AI সহায়তা","section.ai.desc":"কনটেন্ট সহজ করুন, অল্ট টেক্সট তৈরি করুন এবং পেজ স্ক্যান করুন।","control.mostUsed":"সবচেয়ে ব্যবহৃত","control.chooseMode":"মোড বেছে নিন","control.default":"ডিফল্ট","contrast.mode.light":"লাইট কনট্রাস্ট","contrast.mode.dark":"ডার্ক কনট্রাস্ট","contrast.mode.high":"হাই কনট্রাস্ট","feature.contrast":"কনট্রাস্ট","feature.textSize":"বড় টেক্সট","feature.keyboardNav":"কিবোর্ড নেভিগেশন","feature.focusHighlight":"ফোকাস হাইলাইট","feature.linkHighlight":"লিংক হাইলাইট","feature.animationStop":"অ্যানিমেশন বন্ধ","feature.readingGuide":"রিডিং গাইড","feature.readingMask":"রিডিং মাস্ক","feature.hideImages":"ছবি লুকান","feature.bigCursor":"বড় কার্সর","feature.pageStructure":"পেজ স্ট্রাকচার","feature.tts":"জোরে পড়া","feature.textSimplify":"টেক্সট সহজ করুন","feature.altText":"ছবির বিবরণ","feature.autoScan":"WCAG স্ক্যান"}),pt:di({"widget.widgetLang":"Idioma do widget","widget.title":"Acessibilidade","widget.subtitle":"Ajuste contraste, texto e navegacao nesta pagina","widget.open":"Abrir configuracoes de acessibilidade","widget.close":"Fechar","widget.reset":"Redefinir tudo","widget.resetConfirm":"Todos os ajustes foram redefinidos","widget.poweredBy":"Desenvolvido por Accessify-Widget","widget.statement":"Declaracao de acessibilidade","widget.language":"Idioma","status.active":"{count} ativas","status.noActive":"Nenhum ajuste ativo","status.activated":"ativado","status.deactivated":"desativado","section.essentials":"Mais usados","section.essentials.desc":"Comece com contraste, tamanho do texto e apoio ao teclado.","section.support":"Leitura e navegacao","section.support.desc":"Ferramentas para foco, menos movimento e estrutura da pagina.","section.ai":"Assistencia de IA","section.ai.desc":"Simplifique conteudo, gere texto alternativo e analise a pagina atual.","control.mostUsed":"Mais usados","control.chooseMode":"Escolher modo","control.default":"Padrao","contrast.mode.light":"Contraste claro","contrast.mode.dark":"Contraste escuro","contrast.mode.high":"Alto contraste","feature.contrast":"Contraste","feature.textSize":"Texto maior","feature.keyboardNav":"Navegacao por teclado","feature.focusHighlight":"Destaque de foco","feature.linkHighlight":"Destacar links","feature.animationStop":"Parar animacoes","feature.readingGuide":"Guia de leitura","feature.readingMask":"Mascara de leitura","feature.hideImages":"Ocultar imagens","feature.bigCursor":"Cursor grande","feature.pageStructure":"Estrutura da pagina","feature.tts":"Leitura em voz alta","feature.textSimplify":"Simplificar texto","feature.altText":"Descricao da imagem","feature.autoScan":"Varredura WCAG"}),ru:di({"widget.widgetLang":"Язык виджета","widget.title":"Доступность","widget.subtitle":"Настройте контраст, текст и навигацию на этой странице","widget.open":"Открыть настройки доступности","widget.close":"Закрыть","widget.reset":"Сбросить все","widget.resetConfirm":"Все настройки сброшены","widget.poweredBy":"Работает на Accessify-Widget","widget.statement":"Заявление о доступности","widget.language":"Язык","status.active":"Активно: {count}","status.noActive":"Нет активных настроек","status.activated":"включено","status.deactivated":"выключено","section.essentials":"Самое используемое","section.essentials.desc":"Начните с контраста, размера текста и поддержки клавиатуры.","section.support":"Чтение и навигация","section.support.desc":"Инструменты для фокуса, уменьшения движения и структуры страницы.","section.ai":"Помощь ИИ","section.ai.desc":"Упрощайте текст, создавайте alt-текст и проверяйте текущую страницу.","control.mostUsed":"Популярное","control.chooseMode":"Выберите режим","control.default":"По умолчанию","contrast.mode.light":"Светлый контраст","contrast.mode.dark":"Темный контраст","contrast.mode.high":"Высокий контраст","feature.contrast":"Контраст","feature.textSize":"Крупный текст","feature.keyboardNav":"Навигация с клавиатуры","feature.focusHighlight":"Подсветка фокуса","feature.linkHighlight":"Выделить ссылки","feature.animationStop":"Остановить анимацию","feature.readingGuide":"Линейка для чтения","feature.readingMask":"Маска чтения","feature.hideImages":"Скрыть изображения","feature.bigCursor":"Большой курсор","feature.pageStructure":"Структура страницы","feature.tts":"Озвучивание","feature.textSimplify":"Упростить текст","feature.altText":"Описание изображения","feature.autoScan":"Проверка WCAG"}),ur:di({"widget.title":"رسائی","widget.subtitle":"اس صفحے پر کنٹراسٹ، متن اور نیویگیشن کو ایڈجسٹ کریں","widget.open":"رسائی کی ترتیبات کھولیں","widget.close":"بند کریں","widget.reset":"سب ری سیٹ کریں","widget.resetConfirm":"تمام تبدیلیاں ری سیٹ ہو گئیں","widget.poweredBy":"Accessify-Widget کے ذریعے","widget.statement":"رسائی کا بیان","widget.language":"زبان","status.active":"{count} فعال","status.noActive":"کوئی تبدیلی فعال نہیں","status.activated":"فعال","status.deactivated":"غیر فعال","section.essentials":"سب سے زیادہ استعمال","section.essentials.desc":"کنٹراسٹ، متن کے سائز اور کی بورڈ مدد سے شروع کریں۔","section.support":"مطالعہ اور نیویگیشن","section.support.desc":"فوکس، کم حرکت اور صفحہ ساخت کے لیے ٹولز۔","section.ai":"AI مدد","section.ai.desc":"مواد آسان کریں، آلٹ ٹیکسٹ بنائیں اور موجودہ صفحہ اسکین کریں۔","control.mostUsed":"زیادہ استعمال","control.chooseMode":"موڈ منتخب کریں","control.default":"ڈیفالٹ","contrast.mode.light":"لائٹ کنٹراسٹ","contrast.mode.dark":"ڈارک کنٹراسٹ","contrast.mode.high":"ہائی کنٹراسٹ","feature.contrast":"کنٹراسٹ","feature.textSize":"بڑا متن","feature.keyboardNav":"کی بورڈ نیویگیشن","feature.focusHighlight":"فوکس ہائی لائٹ","feature.linkHighlight":"لنکس نمایاں کریں","feature.animationStop":"اینیمیشن روکیں","feature.readingGuide":"مطالعہ گائیڈ","feature.readingMask":"مطالعہ ماسک","feature.hideImages":"تصاویر چھپائیں","feature.bigCursor":"بڑا کرسر","feature.pageStructure":"صفحہ ساخت","feature.tts":"بلند آواز میں پڑھیں","feature.textSimplify":"متن آسان کریں","feature.altText":"تصویر کی تفصیل","feature.autoScan":"WCAG اسکین"}),id:di({"widget.title":"Aksesibilitas","widget.subtitle":"Atur kontras, teks, dan navigasi di halaman ini","widget.open":"Buka pengaturan aksesibilitas","widget.close":"Tutup","widget.reset":"Reset semua","widget.resetConfirm":"Semua penyesuaian telah direset","widget.poweredBy":"Didukung oleh Accessify-Widget","widget.statement":"Pernyataan aksesibilitas","widget.language":"Bahasa","status.active":"{count} aktif","status.noActive":"Tidak ada penyesuaian aktif","status.activated":"aktif","status.deactivated":"nonaktif","section.essentials":"Paling sering dipakai","section.essentials.desc":"Mulai dari kontras, ukuran teks, dan dukungan keyboard.","section.support":"Membaca dan navigasi","section.support.desc":"Alat untuk fokus, gerakan rendah, dan struktur halaman.","section.ai":"Bantuan AI","section.ai.desc":"Sederhanakan konten, buat alt text, dan pindai halaman saat ini.","control.mostUsed":"Paling sering","control.chooseMode":"Pilih mode","control.default":"Default","contrast.mode.light":"Kontras terang","contrast.mode.dark":"Kontras gelap","contrast.mode.high":"Kontras tinggi","feature.contrast":"Kontras","feature.textSize":"Teks lebih besar","feature.keyboardNav":"Navigasi keyboard","feature.focusHighlight":"Sorot fokus","feature.linkHighlight":"Sorot tautan","feature.animationStop":"Hentikan animasi","feature.readingGuide":"Panduan baca","feature.readingMask":"Masker baca","feature.hideImages":"Sembunyikan gambar","feature.bigCursor":"Kursor besar","feature.pageStructure":"Struktur halaman","feature.tts":"Bacakan","feature.textSimplify":"Sederhanakan teks","feature.altText":"Deskripsi gambar","feature.autoScan":"Pindai WCAG"}),ja:di({"widget.widgetLang":"ウィジェットの言語","widget.title":"アクセシビリティ","widget.subtitle":"このページのコントラスト、文字、ナビゲーションを調整します","widget.open":"アクセシビリティ設定を開く","widget.close":"閉じる","widget.reset":"すべてリセット","widget.resetConfirm":"すべての調整をリセットしました","widget.poweredBy":"Accessify-Widget 提供","widget.statement":"アクセシビリティ宣言","widget.language":"言語","status.active":"{count} 件が有効","status.noActive":"有効な調整はありません","status.activated":"有効","status.deactivated":"無効","section.essentials":"よく使う設定","section.essentials.desc":"まずはコントラスト、文字サイズ、キーボード支援から始めてください。","section.support":"読みやすさとナビゲーション","section.support.desc":"フォーカス、動きの抑制、ページ構造のためのツールです。","section.ai":"AI 支援","section.ai.desc":"文章を簡単にし、代替テキストを生成し、現在のページを確認します。","control.mostUsed":"よく使う","control.chooseMode":"モードを選択","control.default":"標準","contrast.mode.light":"ライトコントラスト","contrast.mode.dark":"ダークコントラスト","contrast.mode.high":"ハイコントラスト","feature.contrast":"コントラスト","feature.textSize":"大きな文字","feature.keyboardNav":"キーボード操作","feature.focusHighlight":"フォーカス強調","feature.linkHighlight":"リンク強調","feature.animationStop":"アニメーション停止","feature.readingGuide":"読書ガイド","feature.readingMask":"読書マスク","feature.hideImages":"画像を隠す","feature.bigCursor":"大きいカーソル","feature.pageStructure":"ページ構造","feature.tts":"読み上げ","feature.textSimplify":"文章を簡単にする","feature.altText":"画像の説明","feature.autoScan":"WCAG スキャン"}),pcm:di({"widget.title":"Accessibility","widget.subtitle":"Adjust contrast, text and navigation for dis page","widget.open":"Open accessibility settings","widget.close":"Close","widget.reset":"Reset all","widget.resetConfirm":"All adjustments don reset","widget.poweredBy":"Powered by Accessify-Widget","widget.statement":"Accessibility statement","widget.language":"Language","status.active":"{count} active","status.noActive":"No adjustment dey active","status.activated":"activated","status.deactivated":"deactivated","section.essentials":"Wetin people use pass","section.essentials.desc":"Start with contrast, text size and keyboard support.","section.support":"Reading and navigation","section.support.desc":"Tools for focus, reduced motion and page structure.","section.ai":"AI help","section.ai.desc":"Simplify content, generate alt text and scan dis page.","control.mostUsed":"Most used","control.chooseMode":"Choose mode","control.default":"Default","contrast.mode.light":"Light contrast","contrast.mode.dark":"Dark contrast","contrast.mode.high":"High contrast","feature.contrast":"Contrast","feature.textSize":"Bigger text","feature.keyboardNav":"Keyboard navigation","feature.focusHighlight":"Focus highlight","feature.linkHighlight":"Highlight links","feature.animationStop":"Stop animations","feature.readingGuide":"Reading guide","feature.readingMask":"Reading mask","feature.hideImages":"Hide images","feature.bigCursor":"Big cursor","feature.pageStructure":"Page structure","feature.tts":"Read aloud","feature.textSimplify":"Simplify text","feature.altText":"Image Description","feature.autoScan":"WCAG scan"}),mr:di({"widget.title":"प्रवेशयोग्यता","widget.subtitle":"या पानावर कॉन्ट्रास्ट, मजकूर आणि नेव्हिगेशन समायोजित करा","widget.open":"प्रवेशयोग्यता सेटिंग्ज उघडा","widget.close":"बंद करा","widget.reset":"सर्व रीसेट करा","widget.resetConfirm":"सर्व बदल रीसेट झाले","widget.poweredBy":"Accessify-Widget द्वारे समर्थित","widget.statement":"प्रवेशयोग्यता निवेदन","widget.language":"भाषा","status.active":"{count} सक्रिय","status.noActive":"कोणतेही बदल सक्रिय नाहीत","status.activated":"सक्रिय","status.deactivated":"निष्क्रिय","section.essentials":"सर्वात जास्त वापरलेले","section.essentials.desc":"कॉन्ट्रास्ट, मजकूर आकार आणि कीबोर्ड सहाय्यापासून सुरुवात करा.","section.support":"वाचन आणि नेव्हिगेशन","section.support.desc":"फोकस, कमी हालचाल आणि पृष्ठरचना यासाठी साधने.","section.ai":"AI मदत","section.ai.desc":"मजकूर सोपा करा, alt-text तयार करा आणि हे पान स्कॅन करा.","control.mostUsed":"सर्वाधिक वापरलेले","control.chooseMode":"मोड निवडा","control.default":"डीफॉल्ट","contrast.mode.light":"लाईट कॉन्ट्रास्ट","contrast.mode.dark":"डार्क कॉन्ट्रास्ट","contrast.mode.high":"हाय कॉन्ट्रास्ट","feature.contrast":"कॉन्ट्रास्ट","feature.textSize":"मोठा मजकूर","feature.keyboardNav":"कीबोर्ड नेव्हिगेशन","feature.focusHighlight":"फोकस हायलाइट","feature.linkHighlight":"लिंक हायलाइट","feature.animationStop":"अ‍ॅनिमेशन थांबवा","feature.readingGuide":"वाचन मार्गदर्शक","feature.readingMask":"वाचन मास्क","feature.hideImages":"प्रतिमा लपवा","feature.bigCursor":"मोठा कर्सर","feature.pageStructure":"पृष्ठरचना","feature.tts":"मोठ्याने वाचा","feature.textSimplify":"मजकूर सोपा करा","feature.altText":"चित्र वर्णन","feature.autoScan":"WCAG स्कॅन"}),te:di({"widget.title":"అందుబాటు","widget.subtitle":"ఈ పేజీలో కాంట్రాస్ట్, టెక్స్ట్ మరియు నావిగేషన్‌ను సర్దుబాటు చేయండి","widget.open":"అందుబాటు సెట్టింగ్స్ తెరువు","widget.close":"మూసివేయి","widget.reset":"అన్నీ రీసెట్ చేయి","widget.resetConfirm":"అన్ని మార్పులు రీసెట్ అయ్యాయి","widget.poweredBy":"Accessify-Widget ద్వారా","widget.statement":"అందుబాటు ప్రకటన","widget.language":"భాష","status.active":"{count} సక్రియం","status.noActive":"ఏ మార్పూ సక్రియంగా లేదు","status.activated":"సక్రియం","status.deactivated":"నిష్క్రియం","section.essentials":"ఎక్కువగా ఉపయోగించేవి","section.essentials.desc":"కాంట్రాస్ట్, టెక్స్ట్ సైజు మరియు కీబోర్డ్ సహాయంతో మొదలుపెట్టండి.","section.support":"చదువు మరియు నావిగేషన్","section.support.desc":"ఫోకస్, తక్కువ మోషన్ మరియు పేజీ నిర్మాణానికి టూల్స్.","section.ai":"AI సహాయం","section.ai.desc":"కంటెంట్‌ను సులభతరం చేయండి, alt-text తయారు చేయండి, ఈ పేజీని స్కాన్ చేయండి.","control.mostUsed":"ఎక్కువ ఉపయోగం","control.chooseMode":"మోడ్ ఎంచుకోండి","control.default":"డిఫాల్ట్","contrast.mode.light":"లైట్ కాంట్రాస్ట్","contrast.mode.dark":"డార్క్ కాంట్రాస్ట్","contrast.mode.high":"హై కాంట్రాస్ట్","feature.contrast":"కాంట్రాస్ట్","feature.textSize":"పెద్ద టెక్స్ట్","feature.keyboardNav":"కీబోర్డ్ నావిగేషన్","feature.focusHighlight":"ఫోకస్ హైలైట్","feature.linkHighlight":"లింక్ హైలైట్","feature.animationStop":"యానిమేషన్స్ ఆపండి","feature.readingGuide":"రీడింగ్ గైడ్","feature.readingMask":"రీడింగ్ మాస్క్","feature.hideImages":"చిత్రాలు దాచు","feature.bigCursor":"పెద్ద కర్సర్","feature.pageStructure":"పేజీ నిర్మాణం","feature.tts":"గట్టిగా చదవండి","feature.textSimplify":"టెక్స్ట్ సులభతరం చేయి","feature.altText":"చిత్ర వివరణ","feature.autoScan":"WCAG స్కాన్"}),tr:di({"widget.widgetLang":"Widget dili","widget.title":"Erisilebilirlik","widget.subtitle":"Bu sayfada kontrast, metin ve gezinmeyi ayarlayin","widget.open":"Erisilebilirlik ayarlarini ac","widget.close":"Kapat","widget.reset":"Tumunu sifirla","widget.resetConfirm":"Tum ayarlar sifirlandi","widget.poweredBy":"Accessify-Widget ile calisir","widget.statement":"Erisilebilirlik bildirimi","widget.language":"Dil","status.active":"{count} etkin","status.noActive":"Etkin ayar yok","status.activated":"etkin","status.deactivated":"devre disi","section.essentials":"En cok kullanilanlar","section.essentials.desc":"Kontrast, yazi boyutu ve klavye destegi ile baslayin.","section.support":"Okuma ve gezinme","section.support.desc":"Odak, azaltulmis hareket ve sayfa yapisi icin araclar.","section.ai":"YZ yardimi","section.ai.desc":"Icerigi sadeletir, alt metin olusturur ve mevcut sayfayi tarar.","control.mostUsed":"En cok kullanilan","control.chooseMode":"Mod sec","control.default":"Varsayilan","contrast.mode.light":"Acik kontrast","contrast.mode.dark":"Koyu kontrast","contrast.mode.high":"Yuksek kontrast","feature.contrast":"Kontrast","feature.textSize":"Buyuk metin","feature.keyboardNav":"Klavye gezintisi","feature.focusHighlight":"Odak vurgusu","feature.linkHighlight":"Baglantilari vurgula","feature.animationStop":"Animasyonlari durdur","feature.readingGuide":"Okuma kilavuzu","feature.readingMask":"Okuma maskesi","feature.hideImages":"Gorselleri gizle","feature.bigCursor":"Buyuk imlec","feature.pageStructure":"Sayfa yapisi","feature.tts":"Sesli oku","feature.textSimplify":"Metni sadeletir","feature.altText":"Resim aciklamasi","feature.autoScan":"WCAG taramasi"}),ta:di({"widget.title":"அணுகல்திறன்","widget.subtitle":"இந்த பக்கத்தில் எதிரொலி, உரை மற்றும் வழிசெலுத்தலை மாற்றுங்கள்","widget.open":"அணுகல்திறன் அமைப்புகளை திறக்கவும்","widget.close":"மூடு","widget.reset":"அனைத்தையும் மீட்டமை","widget.resetConfirm":"அனைத்து மாற்றங்களும் மீட்டமைக்கப்பட்டன","widget.poweredBy":"Accessify-Widget மூலம்","widget.statement":"அணுகல்திறன் அறிக்கை","widget.language":"மொழி","status.active":"{count} செயலில்","status.noActive":"செயலில் மாற்றங்கள் இல்லை","status.activated":"செயலில்","status.deactivated":"செயலற்றது","section.essentials":"அதிகம் பயன்படுத்தப்படும்","section.essentials.desc":"எதிரொலி, எழுத்து அளவு மற்றும் விசைப்பலகை உதவியுடன் தொடங்குங்கள்.","section.support":"வாசிப்பு மற்றும் வழிசெலுத்தல்","section.support.desc":"கவனம், குறைந்த இயக்கம் மற்றும் பக்க அமைப்புக்கான கருவிகள்.","section.ai":"AI உதவி","section.ai.desc":"உள்ளடக்கத்தை எளிமைப்படுத்தி, alt-text உருவாக்கி, இந்த பக்கத்தை ஸ்கேன் செய்யுங்கள்.","control.mostUsed":"அதிகம் பயன்படுத்தப்படும்","control.chooseMode":"முறையை தேர்வு செய்","control.default":"இயல்புநிலை","contrast.mode.light":"ஒளி எதிரொலி","contrast.mode.dark":"இருண்ட எதிரொலி","contrast.mode.high":"உயர் எதிரொலி","feature.contrast":"எதிரொலி","feature.textSize":"பெரிய எழுத்து","feature.keyboardNav":"விசைப்பலகை வழிசெலுத்தல்","feature.focusHighlight":"கவனத்தை வெளிப்படுத்து","feature.linkHighlight":"இணைப்புகளை வெளிப்படுத்து","feature.animationStop":"அனிமேஷனை நிறுத்து","feature.readingGuide":"வாசிப்பு வழிகாட்டி","feature.readingMask":"வாசிப்பு மறைப்பு","feature.hideImages":"படங்களை மறை","feature.bigCursor":"பெரிய கர்சர்","feature.pageStructure":"பக்க அமைப்பு","feature.tts":"சத்தமாக வாசி","feature.textSimplify":"உரையை எளிமைப்படுத்து","feature.altText":"பட விளக்கம்","feature.autoScan":"WCAG ஸ்கேன்"}),vi:di({"widget.title":"Tro nang truy cap","widget.subtitle":"Dieu chinh tuong phan, van ban va dieu huong tren trang nay","widget.open":"Mo cai dat tro nang truy cap","widget.close":"Dong","widget.reset":"Dat lai tat ca","widget.resetConfirm":"Da dat lai moi dieu chinh","widget.poweredBy":"Van hanh boi Accessify-Widget","widget.statement":"Tuyen bo tro nang truy cap","widget.language":"Ngon ngu","status.active":"{count} muc dang bat","status.noActive":"Khong co dieu chinh nao dang bat","status.activated":"da bat","status.deactivated":"da tat","section.essentials":"Dung nhieu nhat","section.essentials.desc":"Bat dau voi tuong phan, co chu va ho tro ban phim.","section.support":"Doc va dieu huong","section.support.desc":"Cong cu cho tap trung, giam chuyen dong va cau truc trang.","section.ai":"Ho tro AI","section.ai.desc":"Don gian hoa noi dung, tao alt-text va quet trang hien tai.","control.mostUsed":"Pho bien","control.chooseMode":"Chon che do","control.default":"Mac dinh","contrast.mode.light":"Tuong phan sang","contrast.mode.dark":"Tuong phan toi","contrast.mode.high":"Tuong phan cao","feature.contrast":"Tuong phan","feature.textSize":"Chu lon hon","feature.keyboardNav":"Dieu huong ban phim","feature.focusHighlight":"Noi bat tieu diem","feature.linkHighlight":"Noi bat lien ket","feature.animationStop":"Dung hieu ung","feature.readingGuide":"Thuoc doc","feature.readingMask":"Mat na doc","feature.hideImages":"An hinh anh","feature.bigCursor":"Con tro lon","feature.pageStructure":"Cau truc trang","feature.tts":"Doc thanh tieng","feature.textSimplify":"Don gian hoa van ban","feature.altText":"Mo ta hinh anh","feature.autoScan":"Quet WCAG"}),ko:di({"widget.widgetLang":"위젯 언어","widget.title":"접근성","widget.subtitle":"이 페이지의 대비, 텍스트, 내비게이션을 조정하세요","widget.open":"접근성 설정 열기","widget.close":"닫기","widget.reset":"모두 재설정","widget.resetConfirm":"모든 조정이 재설정되었습니다","widget.poweredBy":"Accessify-Widget 제공","widget.statement":"접근성 안내문","widget.language":"언어","status.active":"{count}개 활성","status.noActive":"활성화된 조정이 없습니다","status.activated":"활성화됨","status.deactivated":"비활성화됨","section.essentials":"가장 많이 사용됨","section.essentials.desc":"대비, 글자 크기, 키보드 지원부터 시작하세요.","section.support":"읽기 및 내비게이션","section.support.desc":"초점, 움직임 감소, 페이지 구조를 위한 도구입니다.","section.ai":"AI 지원","section.ai.desc":"콘텐츠를 쉽게 만들고 대체 텍스트를 생성하며 현재 페이지를 검사합니다.","control.mostUsed":"가장 많이 사용됨","control.chooseMode":"모드 선택","control.default":"기본값","contrast.mode.light":"라이트 대비","contrast.mode.dark":"다크 대비","contrast.mode.high":"고대비","feature.contrast":"대비","feature.textSize":"큰 글자","feature.keyboardNav":"키보드 내비게이션","feature.focusHighlight":"포커스 강조","feature.linkHighlight":"링크 강조","feature.animationStop":"애니메이션 중지","feature.readingGuide":"읽기 가이드","feature.readingMask":"읽기 마스크","feature.hideImages":"이미지 숨기기","feature.bigCursor":"큰 커서","feature.pageStructure":"페이지 구조","feature.tts":"소리 내어 읽기","feature.textSimplify":"텍스트 단순화","feature.altText":"이미지 설명","feature.autoScan":"WCAG 검사"})},fi=[{code:"de",label:"Deutsch",flag:"🇩🇪"},{code:"en",label:"English",flag:"🇺🇸"},{code:"es",label:"Español",flag:"🇪🇸"},{code:"fr",label:"Français",flag:"🇫🇷"},{code:"pt",label:"Português",flag:"🇧🇷"},{code:"tr",label:"Türkçe",flag:"🇹🇷"},{code:"ar",label:"العربية",flag:"🇸🇦"},{code:"zh",label:"中文",flag:"🇨🇳"},{code:"ja",label:"日本語",flag:"🇯🇵"},{code:"ru",label:"Русский",flag:"🇷🇺"}],pi=new Set(["ar","ur"]);let hi="en";function gi(e){if(!e)return"en";const t=e.toLowerCase();if(ui[t])return t;const n=t.split("-")[0];return ui[n]?n:"en"}function mi(){return hi}function yi(e){return pi.has(gi(e))}function vi(e,t="en"){const n=gi(t);return ui[n]?.[e]||li[e]||e}var bi=Ca("<button></button>"),wi=Ca('<header class="accessify-header"><div class="accessify-header-left"><span class="accessify-logo" aria-label="Accessify"><svg viewBox="0 0 480 80" fill="currentColor" xmlns="http://www.w3.org/2000/svg"><text x="0" y="64" font-family="-apple-system, BlinkMacSystemFont, \'Segoe UI\', sans-serif" font-size="72" font-weight="700" letter-spacing="-2">accessify</text></svg></span></div> <div class="accessify-header-actions"><button class="accessify-header-btn accessify-drag-handle"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round"><line x1="8" y1="6" x2="8" y2="6.01"></line><line x1="16" y1="6" x2="16" y2="6.01"></line><line x1="8" y1="12" x2="8" y2="12.01"></line><line x1="16" y1="12" x2="16" y2="12.01"></line><line x1="8" y1="18" x2="8" y2="18.01"></line><line x1="16" y1="18" x2="16" y2="18.01"></line></svg></button> <button class="accessify-header-btn"></button> <button class="accessify-header-btn accessify-header-btn--icon accessify-header-btn--close"></button></div></header>');wa(["click"]);const xi=[{id:"vision-impaired",nameKey:"profile.visionImpaired",descKey:"profile.visionImpaired.desc",iconId:"eye",features:["contrast","text-size","big-cursor","link-highlight"],featureSettings:{"text-size":150,contrast:"high"}},{id:"motor-impaired",nameKey:"profile.motorImpaired",descKey:"profile.motorImpaired.desc",iconId:"keyboard",features:["keyboard-nav","big-cursor","link-highlight"]},{id:"cognitive",nameKey:"profile.cognitive",descKey:"profile.cognitive.desc",iconId:"brain",features:["reading-guide","text-size","spacing","dyslexia-font","animation-stop"],featureSettings:{"text-size":130}},{id:"seizure-safe",nameKey:"profile.seizureSafe",descKey:"profile.seizureSafe.desc",iconId:"shield",features:["animation-stop","saturation"],featureSettings:{saturation:"low"}},{id:"adhd-friendly",nameKey:"profile.adhdFriendly",descKey:"profile.adhdFriendly.desc",iconId:"focus",features:["animation-stop","reading-mask","hide-images"]}];var ki=Ta('<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"><path d="M20 6L9 17l-5-5"></path></svg>'),Si=Ca('<button class="accessify-accordion-option"><span class="accessify-accordion-option-left"><span class="accessify-accordion-option-icon" aria-hidden="true"></span> <span class="accessify-accordion-option-text"><span class="accessify-accordion-option-name"> </span> <span class="accessify-accordion-option-desc"> </span></span></span> <!></button>'),Ai=Ca('<div class="accessify-accordion-list" role="group"></div>'),Mi=Ca('<div class="accessify-accordion" role="region"><button class="accessify-accordion-toggle"><span class="accessify-accordion-toggle-left"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="10"></circle><path d="M12 8v4l2 2"></path></svg> <span> </span></span> <svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"><polyline points="6 9 12 15 18 9"></polyline></svg></button> <!></div>');wa(["click"]);const Ci="https://openrouter.ai/api/v1",Ei="google/gemini-2.0-flash-001";function Ti(e){const t=e.choices?.[0]?.message;if(t?.content&&"string"==typeof t.content)return t.content.trim();if(t?.reasoning&&"string"==typeof t.reasoning)return t.reasoning.trim();if(Array.isArray(t?.reasoning_details))for(const n of t.reasoning_details)if(n?.text)return n.text.trim();return""}function _i(e){const t={"Content-Type":"application/json",...e.apiKey?{Authorization:`Bearer ${e.apiKey}`}:{},"HTTP-Referer":"undefined"!=typeof window?window.location.origin:"","X-Title":"Accessify Widget"};return{async simplifyText(n,a="einfache",i="de"){const r=i.startsWith("de")?function(e){return"leichte"===e?"Du bist ein Experte für Leichte Sprache (DIN SPEC 33429). Vereinfache den folgenden Text nach diesen Regeln:\n- Benutze kurze Sätze (maximal 8 Wörter pro Satz)\n- Ein Satz pro Zeile\n- Benutze einfache, bekannte Wörter\n- Erkläre Fremdwörter und Fachbegriffe\n- Benutze aktive Sätze (kein Passiv)\n- Benutze keine Abkürzungen\n- Benutze keine Metaphern oder bildliche Sprache\n- Schreibe in Präsens\n- Benutze positive Formulierungen\n- Zielgruppe: CEFR A1-A2\n\nGib NUR den vereinfachten Text zurück.":"Du bist ein Experte für Einfache Sprache (DIN ISO 24495-1). Vereinfache den folgenden Text:\n- Kurze, klare Sätze (maximal 15 Wörter)\n- Vermeide Fachbegriffe oder erkläre sie\n- Benutze aktive Formulierungen\n- Strukturiere den Text mit klaren Absätzen\n- Zielgruppe: CEFR B1-B2\n- Bewahre den vollständigen Inhalt\n\nGib NUR den vereinfachten Text zurück."}(a):"You are a plain language expert. Simplify the following text:\n- Use short, clear sentences (max 15 words)\n- Avoid jargon, explain technical terms\n- Use active voice\n- Target reading level: grade 6-8\n\nReturn ONLY the simplified text.",o=await fetch(`${Ci}/chat/completions`,{method:"POST",headers:t,body:JSON.stringify({model:e.textModel||"google/gemini-2.0-flash-001",messages:[{role:"system",content:r},{role:"user",content:n}],stream:!1,max_tokens:2e3})});if(!o.ok){if(429===o.status)throw new $i("Rate limit reached. Please try again later.");throw new Error(`AI service error: ${o.status}`)}return Ti(await o.json())},async generateAltText(n,a,i){const r=i&&!i.startsWith("en")?` Generate the alt text in ${i} language.`:"",o=await fetch(`${Ci}/chat/completions`,{method:"POST",headers:t,body:JSON.stringify({model:e.visionModel||Ei,messages:[{role:"user",content:[{type:"text",text:`Generate a concise, descriptive alt text for this image for web accessibility.${r} ${a?"Context: "+a:""} Return ONLY the alt text, nothing else. Max 125 characters.`},{type:"image_url",image_url:{url:n}}]}],max_tokens:300})});if(!o.ok){if(429===o.status)throw new $i("Rate limit reached. Please try again later.");throw new Error(`AI vision error: ${o.status}`)}return Ti(await o.json())},async describeImage(n,a){const i=a&&a.startsWith("de")?" Beschreibe auf Deutsch.":"",r=await fetch(`${Ci}/chat/completions`,{method:"POST",headers:t,body:JSON.stringify({model:e.visionModel||Ei,messages:[{role:"user",content:[{type:"text",text:`Describe what is shown in this image. 2-3 sentences, easy to understand.${i} Return ONLY the description.`},{type:"image_url",image_url:{url:n}}]}],max_tokens:500})});if(!r.ok){if(429===r.status)throw new $i("Rate limit reached. Please try again later.");throw new Error(`AI vision error: ${r.status}`)}return Ti(await r.json())}}}class $i extends Error{constructor(e){super(e),this.name="RateLimitError"}}var Ii=Ca('<button class="accessify-chip accessify-chip--icon"><span class="accessify-chip-icon" aria-hidden="true"></span> <span> </span></button>'),zi=Ca('<div class="accessify-control-row" role="group"><div class="accessify-control-label"><span class="accessify-control-label-icon" aria-hidden="true"></span> <span class="accessify-control-label-text"> </span></div> <div class="accessify-chip-row"></div></div>'),Li=Ca('<div class="accessify-control-row" role="group"><div class="accessify-control-label"><span class="accessify-control-label-icon" aria-hidden="true"></span> <span class="accessify-control-label-text"> </span></div> <div class="accessify-stepper"><button class="accessify-stepper-btn" aria-label="Decrease text size">−</button> <span class="accessify-stepper-value" aria-live="polite"> </span> <button class="accessify-stepper-btn" aria-label="Increase text size">+</button></div></div>'),Pi=Ca('<div class="accessify-card-wrap"><button class="accessify-card" role="switch"><span class="accessify-card-icon" aria-hidden="true"></span> <span class="accessify-card-label"> </span></button> <span class="accessify-card-info" tabindex="0"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="10"></circle><line x1="12" y1="16" x2="12" y2="12"></line><line x1="12" y1="8" x2="12.01" y2="8"></line></svg> <span class="accessify-card-tooltip"> </span></span></div>'),Hi=Ca('<div class="accessify-features"></div>'),ji=Ca('<!> <!> <div class="accessify-section-divider"></div> <!>',1);wa(["click"]);var Ni=Ca('<span aria-hidden="true">&middot;</span> <a target="_blank" rel="noopener noreferrer"> </a>',1),Oi=Ca('<div class="accessify-footer"><div class="accessify-footer-links"><a target="_blank" rel="noopener noreferrer">Accessify Dashboard</a> <!></div> <button class="accessify-footer-close"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"><line x1="18" y1="6" x2="6" y2="18"></line><line x1="6" y1="6" x2="18" y2="18"></line></svg> <span> </span></button></div>');wa(["click"]);let Bi=[],Wi=[],Ki=null,Di=!1,Fi=null,qi=!1,Ri=null,Ui="";const Gi=["aria-label","aria-description","placeholder","title","alt","aria-placeholder","aria-roledescription","aria-valuetext"];async function Vi(e,t,n){const a=new URLSearchParams({client:"gtx",sl:t,tl:n,dt:"t",q:e});try{const t=await fetch(`https://translate.googleapis.com/translate_a/single?${a.toString()}`);if(!t.ok)throw new Error(`HTTP ${t.status}`);const n=await t.json();if(Array.isArray(n[0])){const e=[];for(const t of n[0])Array.isArray(t)&&"string"==typeof t[0]&&e.push(t[0]);return e.join("")}return e}catch{return e}}const Ji=new Set(["H1","H2","H3","H4","H5","H6","P","LI","TD","TH","CAPTION","FIGCAPTION","BLOCKQUOTE","DT","DD"]);function Yi(e){let t=e.parentElement;for(;t&&t!==document.body;){if(Ji.has(t.tagName))return t;t=t.parentElement}return null}async function Xi(e){const t=document.documentElement.lang?.split("-")[0]||"auto",n=function(e=document.body){const t=document.createTreeWalker(e,NodeFilter.SHOW_TEXT,{acceptNode(e){if(!e.textContent||!e.textContent.trim())return NodeFilter.FILTER_REJECT;const t=e.parentElement;return t?["SCRIPT","STYLE","NOSCRIPT","CODE","PRE","TEXTAREA","INPUT"].includes(t.tagName)||t.closest("accessify-widget")||t.closest("#accessify-root")||t.classList?.contains("notranslate")?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_REJECT}}),n=[];let a;for(;a=t.nextNode();)n.push(a);return n}(),a=function(e=document.body){const t=[],n=e.querySelectorAll("*");for(const a of n)if(!a.closest("accessify-widget")&&!a.closest("#accessify-root"))for(const e of Gi){const n=a.getAttribute(e);n?.trim()&&t.push({el:a,attr:e,original:n})}return t}(),i=new Set(Bi.map(e=>e.node));for(const u of n)i.has(u)||Bi.push({node:u,original:u.data});const r=new Set(Wi.map(e=>`${Zi(e.el)}:${e.attr}`));for(const u of a){const e=`${Zi(u.el)}:${u.attr}`;r.has(e)||Wi.push(u)}const o=function(e){const t=[],n=new Set;for(const a of e){if(n.has(a))continue;const i=Yi(a);if(i&&Ji.has(i.tagName)){const a=e.filter(e=>!n.has(e)&&Yi(e)===i);if(a.length>1){for(const e of a)n.add(e);t.push({nodes:a,fullText:a.map(e=>e.data.trim()).filter(Boolean).join(" "),singleNode:!1});continue}}n.add(a),t.push({nodes:[a],fullText:a.data.trim(),singleNode:!0})}return t}(n),s=[...o.map(e=>e.fullText),...a.map(e=>e.original.trim())].filter(Boolean),c=[...new Set(s)];if(0===c.length)return;const l=await async function(e,t,n){const a=new Array(e.length);for(let i=0;i<e.length;i+=10){const r=e.slice(i,i+10),o=await Promise.all(r.map(e=>Vi(e,t,n)));for(let e=0;e<o.length;e++)a[i+e]=o[e]}return a}(c,t,e),d=new Map;c.forEach((e,t)=>{l[t]&&l[t]!==e&&d.set(e,l[t])}),qi=!0;for(const u of o)if(u.singleNode){const e=u.nodes[0],t=d.get(u.fullText);if(t){const n=e.data.match(/^\s*/)?.[0]||"",a=e.data.match(/\s*$/)?.[0]||"";e.data=n+t+a}}else{const e=d.get(u.fullText);if(e){const t=u.nodes[0],n=t.data.match(/^\s*/)?.[0]||"";t.data=n+e;for(let e=1;e<u.nodes.length;e++)u.nodes[e].data=""}}for(const u of a){const e=d.get(u.original.trim());e&&u.el.setAttribute(u.attr,e)}qi=!1}function Zi(e){return e.id||e.getAttribute("data-a11y-id")||(e.setAttribute("data-a11y-id",Math.random().toString(36).substr(2,9)),e.getAttribute("data-a11y-id"))}var Qi=Ta('<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"><path d="M20 6L9 17l-5-5"></path></svg>'),er=Ca('<button class="accessify-lang-option" role="option"><span> </span> <!></button>'),tr=Ca('<div id="accessify-lang-list" class="accessify-lang-list" role="listbox"></div>'),nr=Ca('<div class="sr-only" role="status" aria-live="polite" aria-atomic="true"> </div> <!> <div class="accessify-panel" role="dialog"><!> <div class="accessify-body"><div class="accessify-lang-dropdown"><button class="accessify-lang-toggle" aria-controls="accessify-lang-list"><span class="accessify-lang-toggle-left"><!> <span> </span></span> <svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"><polyline points="6 9 12 15 18 9"></polyline></svg></button> <!></div> <div class="accessify-section-divider"></div> <!> <div class="accessify-section-divider"></div> <!></div> <!></div>',1);function ar(e,t){Qe(t,!0);let n=Za(t,"config",7),a=Yt(!1),i=Yt(rn(new Map)),r=Yt("light"),o=Yt(null),s=Yt(null),c=Yt(""),l=Yt("en"),d=Yt(null),u=Yt(!1),f=Yt(null);const p="accessify-panel-x",h={async translate(e){if(!Di){Di=!0;try{Bi.length>0&&this.restore(),await Xi(e),Ki=e,function(){Fi&&Fi.disconnect(),Ui=location.href;const e=function(e){let t;return()=>{clearTimeout(t),t=setTimeout(e,300)}}(()=>{Ki&&!qi&&Xi(Ki)}),t=()=>{if(!Ki||qi)return;const e=location.href;e!==Ui&&(Ui=e,Bi=[],Wi=[],setTimeout(()=>{Ki&&Xi(Ki)},500))};Fi=new MutationObserver(n=>{if(qi||!Ki)return;let a=!1;for(const e of n){if(e.addedNodes.length>0){a=!0;break}if("characterData"===e.type){a=!0;break}}a&&(t(),e())}),Fi.observe(document.body,{childList:!0,subtree:!0,characterData:!0}),Ri=t,window.addEventListener("popstate",Ri);const n=history.pushState,a=history.replaceState;history.pushState=function(...e){n.apply(this,e),t()},history.replaceState=function(...e){a.apply(this,e),t()}}()}finally{Di=!1}}},async simplify(e,t){},restore(){Fi?.disconnect(),Fi=null,Ri&&(window.removeEventListener("popstate",Ri),Ri=null),qi=!0;for(const e of Bi)e.node.parentNode&&(e.node.data=e.original);Bi=[];for(const e of Wi)e.el.isConnected&&e.el.setAttribute(e.attr,e.original);Wi=[],document.querySelectorAll("[data-a11y-id]").forEach(e=>{e.removeAttribute("data-a11y-id")}),Ki=null,qi=!1},isTranslated:()=>null!==Ki,currentLang:()=>Ki},g="accessify-prefs";let m=Ot(()=>Array.from(da(i).values()).filter(Boolean).length),y=Ot(()=>fi.find(e=>e.code===da(l)));function v(e){Zt(c,""),requestAnimationFrame(()=>{Zt(c,e,!0)})}function b(){try{const e=Object.fromEntries(da(i));localStorage.setItem(g,JSON.stringify(e))}catch{}}function w(){const e=t.shadow.getElementById("accessify-mount");e&&("auto"===n().theme?e.removeAttribute("data-theme"):e.setAttribute("data-theme",da(r)))}function x(){const e=t.shadow.getElementById("accessify-mount"),n=yi(da(l))?"rtl":"ltr";var a;e&&(e.setAttribute("lang",da(l)),e.setAttribute("dir",n)),t.shadow.host.setAttribute("lang",da(l)),t.shadow.host.setAttribute("dir",n),a=da(l),hi=gi(a)}function k(){Zt(a,!0),requestAnimationFrame(()=>{if(da(o)){const e=da(o).querySelector('button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])');e?.focus()}})}function S(){Zt(a,!1),Zt(u,!1),requestAnimationFrame(()=>{const e=t.shadow.querySelector(".accessify-trigger");e?.focus()})}let A=Ot(()=>null!==da(f)?`left: ${da(f)}px; right: auto;`:"");Qa(()=>{Zt(l,gi(n().lang||"en"),!0),function(){if("light"===n().theme||"dark"===n().theme)return void Zt(r,n().theme,!0);const e=window.matchMedia("(prefers-color-scheme: dark)");Zt(r,e.matches?"dark":"light",!0),e.addEventListener("change",e=>{"auto"===n().theme&&(Zt(r,e.matches?"dark":"light",!0),w())})}(),w(),function(){try{const e=localStorage.getItem(g);if(e){const t=JSON.parse(e);Zt(i,new Map(Object.entries(t)),!0)}const t=localStorage.getItem(p);null!==t&&Zt(f,parseFloat(t),!0)}catch{}}(),x()});var M,C,E,T={open:k,close:S},_=nr();E=function(e,t,n,a={}){function i(e){if(a.capture||ka.call(t,e),!e.cancelBubble)return wn(()=>n?.call(this,e))}return e.startsWith("pointer")||e.startsWith("touch")||"wheel"===e?nt(()=>{t.addEventListener(e,i,a)}):t.addEventListener(e,i,a),i}("keydown",M=ln,function(e){if("Escape"===e.key){if(da(u))return Zt(u,!1),void e.preventDefault();if(da(a))return e.preventDefault(),void S()}if("Tab"===e.key&&da(a)&&da(o)){const n=da(o).querySelectorAll('button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])');if(0===n.length)return;const a=n[0],i=n[n.length-1],r=t.shadow.activeElement||document.activeElement;e.shiftKey&&r===a?(e.preventDefault(),i.focus()):e.shiftKey||r!==i||(e.preventDefault(),a.focus())}},C={capture:void 0,passive:void 0}),(M===document.body||M===window||M===document||M instanceof HTMLMediaElement)&&Sn(()=>{M.removeEventListener("keydown",E,C)});var $=yn(_),I=mn($),z=vn($,2);!function(e,t){Qe(t,!0);let n=Za(t,"lang",3,"en"),a=Za(t,"el",15,null),i=Yt(!1);Qa(()=>{const e=a();if(!e)return;let n=0,r=0,o=0,s=0,c=!1,l=null;function d(t){const a=e.getBoundingClientRect();n=t.clientX,r=t.clientY,o=a.left,s=a.top,c=!1,l=t.pointerId,e.setPointerCapture(t.pointerId)}function u(t){if(null===l||t.pointerId!==l)return;const a=t.clientX-n,d=t.clientY-r;if(!c&&(Math.abs(a)>5||Math.abs(d)>5)&&(c=!0,Zt(i,!0),e.style.transition="none"),c){const t=Math.max(0,Math.min(window.innerWidth-60,o+a)),n=Math.max(0,Math.min(window.innerHeight-60,s+d));e.style.left=t+"px",e.style.top=n+"px",e.style.right="auto",e.style.bottom="auto"}}function f(n){null!==l&&n.pointerId===l&&(e.releasePointerCapture(n.pointerId),e.style.transition="",Zt(i,!1),c||t.onclick(),l=null)}return e.addEventListener("pointerdown",d),e.addEventListener("pointermove",u),e.addEventListener("pointerup",f),()=>{e.removeEventListener("pointerdown",d),e.removeEventListener("pointermove",u),e.removeEventListener("pointerup",f)}});var r=bi();let o;Fa(r,ti,!0),Xa(r,e=>a(e),()=>a()),En(e=>{o=Ra(r,1,"accessify-trigger",0,o,{"accessify-trigger--dragging":da(i),"accessify-trigger--hidden":t.isOpen}),Va(r,"aria-expanded",t.isOpen),Va(r,"aria-label",e)},[()=>vi(t.isOpen?"widget.close":"widget.open",n())]),_a(e,r),et()}(z,{get isOpen(){return da(a)},get lang(){return da(l)},onclick:function(){da(a)?S():k()},get el(){return da(s)},set el(e){Zt(s,e,!0)}});var L=vn(z,2),P=mn(L);!function(e,t){Qe(t,!0);let n=Za(t,"lang",3,"en");Za(t,"activeCount",3,0);let a=Za(t,"panelEl",3,null),i=Yt(null);Qa(()=>{const e=da(i);if(!e)return;let n=0,r=0,o=!1,s=null;function c(t){const i=a();if(!i)return;const c=i.getBoundingClientRect();n=t.clientX,r=c.left,o=!1,s=t.pointerId,e.setPointerCapture(t.pointerId),t.preventDefault()}function l(e){if(null===s||e.pointerId!==s)return;const t=a();if(!t)return;const i=e.clientX-n;if(!o&&Math.abs(i)>5&&(o=!0,t.style.transition="none"),o){const e=Math.max(0,Math.min(window.innerWidth-t.offsetWidth,r+i));t.style.left=e+"px",t.style.right="auto"}}function d(n){if(null===s||n.pointerId!==s)return;e.releasePointerCapture(n.pointerId);const i=a();if(i&&(i.style.transition="",o)){const e=i.getBoundingClientRect();t.ondrag(e.left)}s=null,o=!1}return e.addEventListener("pointerdown",c),e.addEventListener("pointermove",l),e.addEventListener("pointerup",d),()=>{e.removeEventListener("pointerdown",c),e.removeEventListener("pointermove",l),e.removeEventListener("pointerup",d)}});var r=wi(),o=vn(mn(r),2),s=mn(o);Xa(s,e=>Zt(i,e),()=>da(i));var c=vn(s,2);Fa(c,oi,!0);var l=vn(c,2);Fa(l,ri,!0),En((e,t)=>{Va(s,"aria-label","de"===n()?"Panel verschieben":"Move panel"),Va(c,"aria-label",e),Va(l,"aria-label",t)},[()=>vi("widget.reset",n()),()=>vi("widget.close",n())]),ba("click",c,function(...e){t.onreset?.apply(this,e)}),ba("click",l,function(...e){t.onclose?.apply(this,e)}),_a(e,r),et()}(P,{get lang(){return da(l)},get activeCount(){return da(m)},onclose:S,onreset:function(){Zt(i,new Map,!0),Zt(d,null),b(),h.restore(),window.dispatchEvent(new CustomEvent("accessify:reset")),v(vi("widget.resetConfirm",da(l)))},ondrag:function(e){Zt(f,e,!0);try{localStorage.setItem(p,String(e))}catch{}},get panelEl(){return da(o)}});var H=vn(P,2),j=mn(H),N=mn(j),O=mn(N),B=mn(O);Fa(B,si);var W=mn(vn(B,2)),K=vn(O,2);let D;var F=vn(N,2),q=e=>{var t=tr();Oa(t,21,()=>fi,Ha,(e,t)=>{var a=er(),i=mn(a),r=mn(i),o=vn(i,2),s=e=>{_a(e,Qi())};Pa(o,e=>{da(l)===da(t).code&&e(s)}),En(()=>{Va(a,"aria-selected",da(l)===da(t).code),Va(a,"data-active",da(l)===da(t).code),$a(r,`${(da(t).flag||"")??""} ${da(t).label??""}`)}),ba("click",a,()=>function(e){Zt(l,gi(e),!0),n().lang=da(l),Zt(u,!1),x();const t=document.documentElement.lang?.split("-")[0]||"en";da(l)!==t?h.translate(da(l)):h.restore()}(da(t).code)),_a(e,a)}),En(e=>Va(t,"aria-label",e),[()=>vi("widget.title",da(l))]),_a(e,t)};Pa(F,e=>{da(u)&&e(q)});var R=vn(j,4);!function(e,t){Qe(t,!0);let n=Za(t,"lang",3,"en"),a=Za(t,"activeProfileId",3,null),i=Yt(!1),r=Ot(()=>a()?xi.find(e=>e.id===a()):null);var o=Mi(),s=mn(o),c=mn(s),l=vn(mn(c),2),d=mn(l),u=vn(c,2);let f;var p=vn(s,2),h=e=>{var i=Ai();Oa(i,21,()=>xi,e=>e.id,(e,i)=>{var r=Si(),o=mn(r),s=mn(o);Fa(s,()=>function(e){const t=ci[e];return t?t():""}(da(i).iconId),!0);var c=mn(vn(s,2)),l=mn(c),d=mn(vn(c,2)),u=vn(o,2),f=e=>{_a(e,ki())};Pa(u,e=>{a()===da(i).id&&e(f)}),En((e,t)=>{Va(r,"aria-pressed",a()===da(i).id),Va(r,"data-active",a()===da(i).id),$a(l,e),$a(d,t)},[()=>vi(da(i).nameKey,n()),()=>vi(da(i).descKey,n())]),ba("click",r,()=>t.onactivate(da(i))),_a(e,r)}),En(e=>Va(i,"aria-label",e),[()=>vi("section.profiles",n())]),_a(e,i)};Pa(p,e=>{da(i)&&e(h)}),En((e,t)=>{Va(o,"aria-label",e),Va(s,"aria-expanded",da(i)),$a(d,t),f=Ra(u,0,"accessify-accordion-chevron",0,f,{"accessify-accordion-chevron--open":da(i)})},[()=>vi("section.profiles",n()),()=>da(r)?vi(da(r).nameKey,n()):vi("section.profiles",n())]),ba("click",s,()=>{Zt(i,!da(i))}),_a(e,o),et()}(R,{get lang(){return da(l)},get activeProfileId(){return da(d)},onactivate:function(e){if(da(d)===e.id){Zt(d,null);for(const t of e.features)da(i).set(t,!1);return Zt(i,new Map(da(i)),!0),b(),window.dispatchEvent(new CustomEvent("accessify:reset")),void v(`${vi(e.nameKey,da(l))} ${vi("status.deactivated",da(l))}`)}Zt(d,e.id,!0);for(const t of e.features)da(i).set(t,!0);Zt(i,new Map(da(i)),!0),b(),v(`${vi(e.nameKey,da(l))} ${vi("status.activated",da(l))}`)}});var U=vn(R,4);{let e=Ot(()=>({...n(),lang:da(l)}));!function(e,t){Qe(t,!0);const n={"keyboard-nav":{id:"keyboard-nav",nameKey:"feature.keyboardNav",descKey:"feature.keyboardNav.desc",iconId:"keyboard"},"link-highlight":{id:"link-highlight",nameKey:"feature.linkHighlight",descKey:"feature.linkHighlight.desc",iconId:"link-highlight"},"reading-guide":{id:"reading-guide",nameKey:"feature.readingGuide",descKey:"feature.readingGuide.desc",iconId:"reading-guide"},"reading-mask":{id:"reading-mask",nameKey:"feature.readingMask",descKey:"feature.readingMask.desc",iconId:"reading-mask"},"animation-stop":{id:"animation-stop",nameKey:"feature.animationStop",descKey:"feature.animationStop.desc",iconId:"animation-pause"},"hide-images":{id:"hide-images",nameKey:"feature.hideImages",descKey:"feature.hideImages.desc",iconId:"hide-images"},"big-cursor":{id:"big-cursor",nameKey:"feature.bigCursor",descKey:"feature.bigCursor.desc",iconId:"cursor"},"page-structure":{id:"page-structure",nameKey:"feature.pageStructure",descKey:"feature.pageStructure.desc",iconId:"page-structure"},tts:{id:"tts",nameKey:"feature.tts",descKey:"feature.tts.desc",iconId:"tts"},"text-simplify":{id:"text-simplify",nameKey:"feature.textSimplify",descKey:"feature.textSimplify.desc",iconId:"simplify-text"},"alt-text":{id:"alt-text",nameKey:"feature.altText",descKey:"feature.altText.desc",iconId:"alt-text"}},a=["keyboard-nav","link-highlight","animation-stop","hide-images","big-cursor"],i=["reading-guide","reading-mask","tts"],r=["text-simplify","alt-text"],o=[{id:"light",labelKey:"contrast.mode.light",icon:'<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="5"/><line x1="12" y1="1" x2="12" y2="3"/><line x1="12" y1="21" x2="12" y2="23"/><line x1="4.22" y1="4.22" x2="5.64" y2="5.64"/><line x1="18.36" y1="18.36" x2="19.78" y2="19.78"/><line x1="1" y1="12" x2="3" y2="12"/><line x1="21" y1="12" x2="23" y2="12"/><line x1="4.22" y1="19.78" x2="5.64" y2="18.36"/><line x1="18.36" y1="5.64" x2="19.78" y2="4.22"/></svg>'},{id:"dark",labelKey:"contrast.mode.dark",icon:'<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z"/></svg>'},{id:"high",labelKey:"contrast.mode.high",icon:'<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="10"/><path d="M12 2v20"/><path d="M12 2a10 10 0 0 1 0 20" fill="currentColor"/></svg>'}],s=new Set(["text-simplify","alt-text"]),c=new Map,l={contrast:()=>Promise.resolve().then(()=>Tr),"text-size":()=>Promise.resolve().then(()=>_r),"keyboard-nav":()=>Promise.resolve().then(()=>$r),"link-highlight":()=>Promise.resolve().then(()=>Ir),"reading-guide":()=>Promise.resolve().then(()=>Lr),"reading-mask":()=>Promise.resolve().then(()=>Pr),"animation-stop":()=>Promise.resolve().then(()=>Hr),"hide-images":()=>Promise.resolve().then(()=>jr),"big-cursor":()=>Promise.resolve().then(()=>Or),"page-structure":()=>Promise.resolve().then(()=>Br),tts:()=>Promise.resolve().then(()=>Kr),"text-simplify":()=>Promise.resolve().then(()=>Dr),"alt-text":()=>Promise.resolve().then(()=>yr)};let d,u=Yt(rn(function(){if("undefined"==typeof window)return"off";const e=localStorage.getItem("accessify-contrast-mode");return"light"===e||"dark"===e||"high"===e?e:"off"}())),f=Yt(rn(function(){if("undefined"==typeof window)return 100;const e=Number.parseInt(localStorage.getItem("accessify-text-size")||"100",10);return Number.isFinite(e)?Math.max(100,Math.min(200,e)):100}())),p=Ot(()=>new Set(t.config.features)),h=Ot(()=>Array.from(t.activeFeatures.entries()).sort(([e],[t])=>e.localeCompare(t)).map(([e,t])=>`${e}:${t}`).join("|"));function g(e){const t=ci[e];return t?t():""}function m(e){return e.filter(e=>da(p).has(e)).map(e=>n[e]).filter(Boolean)}function y(e,t){if(!t)return;const n=t.getState();"contrast"===e&&Zt(u,"light"===n.value||"dark"===n.value||"high"===n.value?n.value:"off",!0),"text-size"===e&&Zt(f,"number"==typeof n.value?n.value:100,!0)}async function v(e){if(c.has(e))return c.get(e);const n=l[e];if(!n)return null;try{const i=await n(),r=i.default??i,o="function"==typeof r?s.has(e)?r((d||(d=(a={apiKey:t.config.openRouterKey,siteKey:t.config.siteKey,proxyUrl:t.config.proxyUrl}).apiKey?_i(a):a.siteKey?function(e,t){const n=t||"https://accessify-api.accessify.workers.dev",a={"Content-Type":"application/json","X-Site-Key":e};return{async simplifyText(e,t="einfache",i="de"){const r=`b-${function(e){let t=5381;for(let n=0;n<e.length;n++)t=(t<<5)+t+e.charCodeAt(n),t|=0;return Math.abs(t).toString(36)}(e)}`,o=i.startsWith("de")?`de-${t}`:"en-plain";try{const t=await fetch(`${n}/v1/cache/query`,{method:"POST",headers:a,body:JSON.stringify({pageUrl:"undefined"!=typeof window?window.location.href:"",feature:"simplify",variant:o,blocks:[{id:r,text:e}]})});if(t.ok){const e=await t.json();if(e.cached?.[r])return e.cached[r]}}catch{}try{const t=await fetch(`${n}/v1/cache/process`,{method:"POST",headers:a,body:JSON.stringify({pageUrl:"undefined"!=typeof window?window.location.href:"",feature:"simplify",variant:o,blocks:[{id:r,text:e}]})});if(t.ok){const e=await t.json();if(e.results?.[r])return e.results[r]}}catch{}const s=await fetch(`${n}/v1/ai/simplify`,{method:"POST",headers:a,body:JSON.stringify({text:e,level:t,lang:i})});if(!s.ok){const e=await s.json().catch(()=>({error:`HTTP ${s.status}`}));if(429===s.status)throw new $i(e.error||"Rate limit reached");throw new Error(e.error||`AI proxy error: ${s.status}`)}return(await s.json()).result||""},async generateAltText(e,t,i){const r=await fetch(`${n}/v1/ai/alt-text`,{method:"POST",headers:a,body:JSON.stringify({imageUrl:e,context:t,lang:i})});if(!r.ok){const e=await r.json().catch(()=>({error:`HTTP ${r.status}`}));if(429===r.status)throw new $i(e.error||"Rate limit reached");throw new Error(e.error||`AI proxy error: ${r.status}`)}return(await r.json()).result||""},async describeImage(e,t){const i=await fetch(`${n}/v1/ai/describe-image`,{method:"POST",headers:a,body:JSON.stringify({imageUrl:e,lang:t})});if(!i.ok){const e=await i.json().catch(()=>({error:`HTTP ${i.status}`}));if(429===i.status)throw new $i(e.error||"Rate limit reached");throw new Error(e.error||`AI proxy error: ${i.status}`)}return(await i.json()).result||""}}}(a.siteKey,a.proxyUrl):_i(a)),d),t.config.lang,{siteKey:t.config.siteKey,proxyUrl:t.config.proxyUrl}):r():r;return c.set(e,o),o}catch(i){return null}var a}async function b(e){const n=await v("text-size");if(n){if(100===e)return n.deactivate(),Zt(f,100),void t.ontoggle("text-size",!1);n.getState().enabled||n.activate(),n.setState?.(e),Zt(f,e,!0),t.ontoggle("text-size",!0)}}"undefined"!=typeof window&&window.addEventListener("accessify:reset",function(){for(const[,e]of c)try{e.deactivate()}catch{}Zt(u,"off"),Zt(f,100)});let w=Ot(()=>m(a)),x=Ot(()=>m(i)),k=Ot(()=>m(r));An(()=>{t.config.features.join("|"),da(h),async function(){const e=new Set(["contrast","text-size",...t.config.features]);for(const n of e){const e=t.activeFeatures.get(n)??!1,a=c.get(n);if(!e&&!a){"contrast"===n&&Zt(u,"off"),"text-size"===n&&Zt(f,100);continue}const i=e?await v(n):a;if(!i)continue;const r=i.getState().enabled;e&&!r&&i.activate(),!e&&r&&i.deactivate(),y(n,i)}}()});var S=ji(),A=yn(S),M=e=>{var n=zi(),a=mn(n),i=mn(a);Fa(i,()=>g("contrast"),!0);var r=mn(vn(i,2));Oa(vn(a,2),21,()=>o,Ha,(e,n)=>{var a=Ii(),i=mn(a);Fa(i,()=>da(n).icon,!0);var r=mn(vn(i,2));En(e=>{Va(a,"data-active",da(u)===da(n).id),Va(a,"aria-pressed",da(u)===da(n).id),$a(r,e)},[()=>vi(da(n).labelKey,t.config.lang)]),ba("click",a,()=>async function(e){const n=await v("contrast");if(n){if("off"===e)return n.deactivate(),Zt(u,"off"),void t.ontoggle("contrast",!1);n.getState().enabled||n.activate(),n.setState?.(e),Zt(u,e,!0),t.ontoggle("contrast",!0)}}(da(u)===da(n).id?"off":da(n).id)),_a(e,a)}),En((e,t)=>{Va(n,"aria-label",e),$a(r,t)},[()=>vi("feature.contrast",t.config.lang),()=>vi("feature.contrast",t.config.lang)]),_a(e,n)},C=Ot(()=>da(p).has("contrast"));Pa(A,e=>{da(C)&&e(M)});var E=vn(A,2),T=e=>{var n=Li(),a=mn(n),i=mn(a);Fa(i,()=>g("text-size"),!0);var r=mn(vn(i,2)),o=mn(vn(a,2)),s=vn(o,2),c=mn(s),l=vn(s,2);En((e,t)=>{Va(n,"aria-label",e),$a(r,t),o.disabled=da(f)<=100,$a(c,`${da(f)??""}%`),l.disabled=da(f)>=200},[()=>vi("feature.textSize",t.config.lang),()=>vi("feature.textSize",t.config.lang)]),ba("click",o,()=>b(Math.max(100,da(f)-10))),ba("click",l,()=>b(Math.min(200,da(f)+10))),_a(e,n)},_=Ot(()=>da(p).has("text-size"));Pa(E,e=>{da(_)&&e(T)});var $=vn(E,4),I=e=>{var n=Hi();Oa(n,21,()=>[...da(w),...da(x),...da(k)],e=>e.id,(e,n)=>{const a=Ot(()=>t.activeFeatures.get(da(n).id)??!1);var i=Pi(),r=mn(i),o=mn(r);Fa(o,()=>g(da(n).iconId),!0);var s=mn(vn(o,2)),c=vn(r,2),l=vn(mn(c),2),d=mn(l);En((e,t,n,i)=>{Va(r,"data-active",da(a)),Va(r,"aria-checked",da(a)),Va(r,"aria-label",e),$a(s,t),Va(c,"aria-label",n),$a(d,i)},[()=>vi(da(n).nameKey,t.config.lang),()=>vi(da(n).nameKey,t.config.lang),()=>vi(da(n).descKey,t.config.lang),()=>vi(da(n).descKey,t.config.lang)]),ba("click",r,()=>async function(e){const n=!t.activeFeatures.get(e),a=await v(e);a&&(n?a.activate():a.deactivate(),y(e,a)),t.ontoggle(e,n)}(da(n).id)),_a(e,i)}),_a(e,n)};Pa($,e=>{(da(w).length>0||da(x).length>0||da(k).length>0)&&e(I)}),_a(e,S),et()}(U,{get config(){return da(e)},get activeFeatures(){return da(i)},ontoggle:function(e,t){da(i).set(e,t),Zt(i,new Map(da(i)),!0),b(),v(`${vi(`feature.${e.replace(/-([a-z])/g,(e,t)=>t.toUpperCase())}`,da(l))||e} ${vi(t?"status.activated":"status.deactivated",da(l))}`)}})}return function(e,t){Qe(t,!0);let n=Za(t,"lang",3,"en");var a=Oi(),i=mn(a),r=mn(i),o=vn(r,2),s=e=>{var a=Ni(),i=vn(yn(a),2),r=mn(i);En(e=>{Va(i,"href",t.statementUrl),$a(r,e)},[()=>vi("widget.statement",n())]),_a(e,a)};Pa(o,e=>{t.statementUrl&&e(s)});var c=vn(i,2),l=vn(mn(c),2),d=mn(l);En((e,n)=>{Va(r,"href",t.dashboardUrl||"https://accessify-dashboard.pages.dev"),Va(c,"aria-label",e),$a(d,n)},[()=>vi("widget.close",n()),()=>vi("widget.close",n())]),ba("click",c,function(...e){t.onclose?.apply(this,e)}),_a(e,a),et()}(vn(H,2),{get lang(){return da(l)},get statementUrl(){return n().statementUrl},get dashboardUrl(){return n().dashboardUrl},onclose:S}),Xa(L,e=>Zt(o,e),()=>da(o)),En((e,t)=>{$a(I,da(c)),Va(L,"aria-label",e),Va(L,"aria-hidden",!da(a)),Va(L,"dir",t),function(e,t){if(e.__style!==t){var n=function(e){return null==e?null:String(e)}(t);null==n?e.removeAttribute("style"):e.style.cssText=n,e.__style=t}}(L,da(A)),Va(N,"aria-expanded",da(u)),$a(W,`${(da(y)?.flag||"")??""} ${(da(y)?.label||da(l))??""}`),D=Ra(K,0,"accessify-lang-chevron",0,D,{"accessify-lang-chevron--open":da(u)}),L.dir=L.dir},[()=>vi("widget.title",da(l)),()=>yi(da(l))?"rtl":"ltr"]),ba("click",N,()=>{Zt(u,!da(u))}),_a(e,_),et(T)}wa(["click"]);const ir=encodeURIComponent('<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="white" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"><path d="M20 6L9 17l-5-5"/></svg>');function rr(e){const t=e.position||"bottom-right",n=t.includes("right"),a=t.includes("bottom"),i=e.zIndex||999999,r=n?"20px 0 0 20px":"0 20px 20px 0",o=n?"translateX(24px)":"translateX(-24px)",s=e;return`\n :host {\n all: initial;\n font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;\n font-size: 15px;\n line-height: 1.5;\n color-scheme: dark;\n }\n\n *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }\n\n #accessify-mount {\n --gap: 14px;\n --pad: 18px;\n --radius: 12px;\n --radius-lg: 16px;\n --pill: 999px;\n --surface: #3d4775;\n --surface-card: #4a5387;\n --surface-dim: #353e6a;\n --surface-hover: #545d8f;\n --text: #f0f0f5;\n --text-dim: #b8bdd4;\n --border: rgba(255,255,255,0.10);\n --border-hl: rgba(255,255,255,0.20);\n --accent: #e8837c;\n --accent-soft: rgba(232,131,124,0.15);\n --accent-on: #fff;\n --shadow: 0 12px 48px rgba(0,0,0,0.35);\n --fast: 140ms ease;\n ${[s.brandPrimaryColor?`--surface: ${s.brandPrimaryColor};`:"",s.brandSurfaceColor?`--surface-dim: ${s.brandSurfaceColor};`:"",s.brandCardColor?`--surface-card: ${s.brandCardColor};`:"",s.brandHoverColor?`--surface-hover: ${s.brandHoverColor};`:"",s.brandTextColor?`--text: ${s.brandTextColor};`:"",s.brandTextDimColor?`--text-dim: ${s.brandTextDimColor};`:"",s.brandAccentColor?`--accent: ${s.brandAccentColor}; --accent-soft: ${s.brandAccentColor}26;`:"",s.brandBorderColor?`--border: ${s.brandBorderColor}; --border-hl: ${s.brandBorderColor};`:""].filter(Boolean).join("\n ")}\n }\n\n .sr-only { position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0; }\n *:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 8px; }\n\n /* ─── Trigger ─── */\n .accessify-trigger {\n position: fixed;\n ${a?"bottom: 20px":"top: 20px"};\n ${n?"right: 20px":"left: 20px"};\n z-index: ${i};\n width: 56px; height: 56px;\n border: none; border-radius: 16px;\n background: ${s.brandTriggerColor||"linear-gradient(135deg, #545d8f, #3d4775)"};\n color: ${s.brandTriggerIconColor||"#e8837c"};\n cursor: pointer;\n display: flex; align-items: center; justify-content: center;\n box-shadow: 0 6px 20px rgba(50,60,100,0.5);\n transition: transform var(--fast), box-shadow var(--fast), opacity var(--fast);\n touch-action: none;\n }\n .accessify-trigger:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(50,60,100,0.6); }\n .accessify-trigger:active { transform: scale(0.96); }\n .accessify-trigger--hidden { opacity:0; pointer-events:none; transform:scale(0.9); }\n .accessify-trigger svg { width: 26px; height: 26px; }\n .accessify-trigger--dragging { cursor: grabbing !important; opacity: 0.85; }\n\n /* Active count badge on trigger */\n .accessify-trigger-badge {\n position: absolute; top: -4px; right: -4px;\n min-width: 20px; height: 20px; padding: 0 5px;\n border-radius: 999px; background: var(--accent); color: #fff;\n font-size: 11px; font-weight: 700; line-height: 20px; text-align: center;\n pointer-events: none;\n }\n\n /* ─── Panel ─── */\n .accessify-panel {\n position: fixed; top: 0; bottom: 0;\n ${n?"right: 0":"left: 0"};\n z-index: ${i-1};\n width: min(${s.panelWidth?`${s.panelWidth}px`:"420px"}, 100vw); height: 100vh;\n display: flex; flex-direction: column;\n border-radius: ${r};\n background: var(--surface);\n color: var(--text);\n box-shadow: var(--shadow);\n transition: opacity 200ms ease, transform 200ms ease;\n }\n .accessify-panel[aria-hidden="true"] { opacity:0; transform:${o}; pointer-events:none; display:none; }\n .accessify-panel[aria-hidden="false"] { opacity:1; transform:translateX(0); }\n\n /* ─── Header ─── */\n .accessify-header {\n display: flex; align-items: center; justify-content: space-between;\n padding: 14px var(--pad);\n border-bottom: 1px solid var(--border);\n background: var(--surface-dim);\n flex-shrink: 0;\n }\n .accessify-header-left { display: flex; align-items: center; gap: 10px; }\n .accessify-header-actions { display: flex; align-items: center; gap: 6px; }\n\n .accessify-logo { display: inline-flex; color: var(--accent); }\n .accessify-logo svg { height: 24px; width: auto; }\n\n .accessify-header-btn {\n display: inline-flex; align-items: center; justify-content: center;\n width: 34px; height: 34px;\n border: 1px solid var(--border); border-radius: 10px;\n background: var(--surface); color: var(--text-dim);\n cursor: pointer; transition: background var(--fast), color var(--fast);\n }\n .accessify-header-btn:hover { background: var(--surface-hover); color: var(--text); }\n .accessify-header-btn svg { width: 16px; height: 16px; }\n .accessify-header-btn--icon { padding: 0; }\n .accessify-header-btn--close { background: transparent; border-color: transparent; }\n\n /* Drag handle */\n .accessify-drag-handle {\n cursor: grab; touch-action: none;\n }\n .accessify-drag-handle:active { cursor: grabbing; }\n .accessify-drag-handle svg { stroke-width: 3; }\n\n /* ─── Shared Accordion (Language + Profiles) ─── */\n .accessify-lang-dropdown,\n .accessify-accordion {\n border-radius: var(--radius);\n border: 1px solid var(--border);\n overflow: clip;\n }\n\n .accessify-lang-toggle,\n .accessify-accordion-toggle {\n display: flex; align-items: center; justify-content: space-between;\n width: 100%; padding: 14px 14px;\n border: none; background: var(--surface-card);\n color: var(--text); cursor: pointer; font-family: inherit;\n font-size: 15px; font-weight: 700;\n transition: background var(--fast);\n }\n .accessify-lang-toggle:hover,\n .accessify-accordion-toggle:hover { background: var(--surface-hover); }\n\n .accessify-lang-toggle-left,\n .accessify-accordion-toggle-left {\n display: flex; align-items: center; gap: 10px;\n }\n .accessify-lang-toggle-left svg,\n .accessify-accordion-toggle-left svg { width: 20px; height: 20px; color: var(--accent); }\n\n .accessify-lang-chevron,\n .accessify-accordion-chevron {\n width: 18px; height: 18px; color: var(--text-dim);\n transition: transform 200ms ease; flex-shrink: 0;\n }\n .accessify-lang-chevron--open,\n .accessify-accordion-chevron--open { transform: rotate(180deg); }\n\n /* Shared list inside accordion */\n .accessify-lang-list,\n .accessify-accordion-list {\n display: flex; flex-direction: column;\n max-height: 280px; overflow-y: auto;\n background: var(--surface-dim);\n border-top: 1px solid var(--border);\n }\n .accessify-lang-list::-webkit-scrollbar,\n .accessify-accordion-list::-webkit-scrollbar { width: 4px; }\n .accessify-lang-list::-webkit-scrollbar-thumb,\n .accessify-accordion-list::-webkit-scrollbar-thumb { background: var(--border-hl); border-radius: 2px; }\n\n /* Language options */\n .accessify-lang-option {\n display: flex; align-items: center; justify-content: space-between;\n padding: 12px var(--pad);\n border: none; background: transparent;\n color: var(--text); cursor: pointer;\n font-size: 14px; font-weight: 500; font-family: inherit;\n transition: background var(--fast);\n min-height: 44px;\n }\n .accessify-lang-option:hover { background: var(--surface-hover); }\n .accessify-lang-option[data-active="true"] { color: var(--accent); font-weight: 700; }\n .accessify-lang-option svg { width: 18px; height: 18px; color: var(--accent); flex-shrink: 0; }\n\n /* Profile options (with icon + description) */\n .accessify-accordion-option {\n display: flex; align-items: center; justify-content: space-between;\n padding: 14px var(--pad);\n border: none; background: transparent;\n color: var(--text); cursor: pointer;\n font-family: inherit; text-align: left;\n transition: background var(--fast);\n }\n .accessify-accordion-option:hover { background: var(--surface-hover); }\n .accessify-accordion-option[data-active="true"] { background: var(--accent-soft); }\n\n .accessify-accordion-option-left {\n display: flex; align-items: center; gap: 12px; min-width: 0;\n }\n .accessify-accordion-option-icon {\n display: inline-flex; align-items: center; justify-content: center;\n width: 40px; height: 40px; border-radius: 12px;\n background: var(--surface-card); color: var(--accent); flex-shrink: 0;\n }\n .accessify-accordion-option-icon svg { width: 24px; height: 24px; stroke-width: 2.5; }\n .accessify-accordion-option-text {\n display: flex; flex-direction: column; gap: 2px; min-width: 0;\n }\n .accessify-accordion-option-name {\n font-size: 14px; font-weight: 700; line-height: 1.3;\n }\n .accessify-accordion-option-desc {\n font-size: 12px; font-weight: 400; color: var(--text-dim); line-height: 1.3;\n }\n .accessify-accordion-option > svg {\n width: 20px; height: 20px; color: var(--accent); flex-shrink: 0; margin-left: 8px;\n }\n\n /* ─── Scrollable Body ─── */\n .accessify-body {\n flex: 1 1 auto;\n display: flex; flex-direction: column; gap: var(--gap);\n padding: var(--gap) var(--pad);\n overflow-y: auto; overscroll-behavior: contain;\n }\n\n /* ─── Contrast Row ─── */\n .accessify-control-row {\n display: flex; flex-direction: column; gap: 10px;\n padding: 14px 16px;\n border-radius: var(--radius); border: 1px solid var(--border);\n background: var(--surface-card);\n }\n .accessify-control-label {\n display: flex; align-items: center; gap: 8px;\n }\n .accessify-control-label-icon {\n display: inline-flex; align-items: center; justify-content: center;\n width: 34px; height: 34px; border-radius: 10px;\n background: var(--surface-dim); color: var(--accent); flex-shrink: 0;\n }\n .accessify-control-label-icon svg { width: 18px; height: 18px; }\n .accessify-control-label-text { font-size: 14px; font-weight: 600; }\n\n /* Contrast chips */\n .accessify-chip-row {\n display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px;\n }\n .accessify-chip {\n min-height: 48px; padding: 6px 8px;\n border-radius: 10px; border: 1px solid var(--border);\n background: var(--surface-dim); color: var(--text);\n cursor: pointer; font-size: 11px; font-weight: 600; font-family: inherit;\n display: inline-flex; align-items: center; justify-content: center;\n text-align: center; line-height: 1.25;\n transition: background var(--fast), color var(--fast), border-color var(--fast);\n }\n .accessify-chip:hover { border-color: var(--border-hl); background: var(--surface-hover); }\n .accessify-chip[data-active="true"] { background: var(--accent); color: var(--accent-on); border-color: var(--accent); }\n .accessify-chip--icon { gap: 6px; }\n .accessify-chip-icon { display: inline-flex; width: 14px; height: 14px; flex-shrink: 0; }\n .accessify-chip-icon svg { width: 14px; height: 14px; }\n\n /* Text Size stepper */\n .accessify-control-row:has(.accessify-stepper) {\n flex-direction: row; align-items: center; justify-content: space-between; gap: var(--gap);\n }\n .accessify-stepper {\n display: inline-flex; align-items: center;\n border-radius: 10px; border: 1px solid var(--border);\n background: var(--surface-dim); height: 36px; overflow: hidden;\n }\n .accessify-stepper-btn {\n display: inline-flex; align-items: center; justify-content: center;\n width: 36px; height: 100%; border: none; background: transparent;\n color: var(--text); cursor: pointer; font-size: 18px; font-weight: 700;\n transition: background var(--fast); font-family: inherit;\n }\n .accessify-stepper-btn:hover:not(:disabled) { background: var(--surface-hover); }\n .accessify-stepper-btn:disabled { opacity: 0.3; cursor: default; }\n .accessify-stepper-value {\n min-width: 48px; text-align: center;\n font-size: 13px; font-weight: 600; color: var(--text); user-select: none;\n }\n\n /* ─── Feature Cards (2-column grid) ─── */\n .accessify-features {\n display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--gap);\n }\n .accessify-card-wrap {\n position: relative;\n overflow: visible;\n }\n .accessify-card {\n position: relative; width: 100%;\n display: flex; flex-direction: column; align-items: center; justify-content: center;\n gap: 8px; padding: 18px 10px; min-height: 105px;\n border-radius: var(--radius-lg); border: 1px solid var(--border);\n background: var(--surface-card); color: var(--text);\n cursor: pointer; text-align: center; font-family: inherit;\n transition: transform var(--fast), border-color var(--fast), background var(--fast), box-shadow var(--fast);\n }\n .accessify-card:hover { transform: translateY(-2px); border-color: var(--border-hl); box-shadow: 0 4px 16px rgba(0,0,0,0.15); }\n .accessify-card[data-active="true"] { border-color: var(--accent); background: var(--accent-soft); }\n .accessify-card[data-active="true"]::after {\n content: ''; position: absolute; top: 8px; ${n?"right: 8px":"left: 8px"};\n width: 18px; height: 18px; border-radius: 999px; background: var(--accent);\n mask-image: url("data:image/svg+xml,${ir}");\n mask-size: 10px; mask-repeat: no-repeat; mask-position: center;\n -webkit-mask-image: url("data:image/svg+xml,${ir}");\n -webkit-mask-size: 10px; -webkit-mask-repeat: no-repeat; -webkit-mask-position: center;\n }\n .accessify-card-icon {\n display: inline-flex; align-items: center; justify-content: center;\n width: 48px; height: 48px; border-radius: 14px;\n background: var(--surface-dim); color: var(--accent);\n }\n .accessify-card-icon svg { width: 28px; height: 28px; stroke-width: 2.5; }\n .accessify-card-label { font-size: 12px; font-weight: 600; line-height: 1.25; }\n\n /* Info icon + tooltip */\n .accessify-card-info {\n position: absolute; top: 6px; ${n?"right: 6px":"left: 6px"}; z-index: 10;\n display: inline-flex; align-items: center; justify-content: center;\n width: 22px; height: 22px; border-radius: 999px;\n color: var(--text-dim); cursor: help; background: none; border: none;\n opacity: 0.35; transition: opacity var(--fast), color var(--fast);\n }\n .accessify-card-info svg { width: 14px; height: 14px; }\n .accessify-card-info:hover, .accessify-card-info:focus-visible { opacity: 1; color: var(--accent); }\n .accessify-card-tooltip {\n display: none; position: absolute;\n top: calc(100% + 6px); ${n?"right: 0":"left: 0"};\n width: 180px; padding: 10px 12px;\n border-radius: 10px; background: #2a3158; color: var(--text);\n font-size: 12px; font-weight: 500; line-height: 1.4;\n text-align: left; white-space: normal;\n box-shadow: 0 6px 24px rgba(0,0,0,0.5);\n pointer-events: none; z-index: 100;\n }\n .accessify-card-info:hover .accessify-card-tooltip,\n .accessify-card-info:focus-visible .accessify-card-tooltip {\n display: block;\n }\n .accessify-card-tooltip::before {\n content: ''; position: absolute; bottom: 100%; ${n?"right: 4px":"left: 4px"};\n border: 5px solid transparent; border-bottom-color: #2a3158;\n }\n\n /* ─── Section Divider ─── */\n .accessify-section-divider {\n height: 1px;\n background: var(--border);\n margin: 4px 0;\n flex-shrink: 0;\n }\n\n /* ─── Footer ─── */\n .accessify-footer {\n display: flex; align-items: center; justify-content: space-between;\n padding: 10px var(--pad);\n border-top: 1px solid var(--border);\n color: var(--text-dim); font-size: 11px;\n background: var(--surface-dim); flex-shrink: 0;\n gap: 8px;\n }\n .accessify-footer-links {\n display: flex; align-items: center; gap: 8px;\n }\n .accessify-footer a { color: var(--accent); text-decoration: none; font-weight: 600; }\n .accessify-footer a:hover { text-decoration: underline; }\n\n .accessify-footer-close {\n display: inline-flex; align-items: center; gap: 5px;\n padding: 6px 14px; min-height: 34px;\n border: 1px solid var(--border); border-radius: 10px;\n background: var(--surface); color: var(--text-dim);\n cursor: pointer; font-size: 12px; font-weight: 600; font-family: inherit;\n transition: background var(--fast), color var(--fast), border-color var(--fast);\n flex-shrink: 0;\n }\n .accessify-footer-close:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }\n .accessify-footer-close svg { width: 14px; height: 14px; flex-shrink: 0; }\n\n /* ─── Reduced Motion ─── */\n @media (prefers-reduced-motion: reduce) {\n *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }\n }\n\n /* ─── Mobile ─── */\n @media (max-width: 640px) {\n .accessify-panel { width: 100vw; border-radius: 0; }\n .accessify-features { gap: 8px; }\n .accessify-body { padding: 8px 12px; }\n .accessify-trigger {\n ${a?"bottom: 16px":"top: 16px"};\n ${n?"right: 16px":"left: 16px"};\n width: 50px; height: 50px; border-radius: 14px;\n }\n }\n `}const or="alt-texts";function sr(e){let t=5381;const n=e.toLowerCase().trim();for(let a=0;a<n.length;a++)t=(t<<5)+t+n.charCodeAt(a),t|=0;return Math.abs(t).toString(36)}function cr(e){try{const t=new URL(e);return t.searchParams.delete("width"),t.searchParams.delete("height"),t.searchParams.delete("scale-down-to"),t.href}catch{return e}}function lr(e){return e.currentSrc||e.src}function dr(){return new Promise(e=>{try{const t=indexedDB.open("accessify-alt-text-cache",2);t.onupgradeneeded=()=>{const e=t.result;e.objectStoreNames.contains(or)||e.createObjectStore(or,{keyPath:"key"}),e.objectStoreNames.contains("alt-text-reports")||e.createObjectStore("alt-text-reports",{keyPath:"key"})},t.onsuccess=()=>e(t.result),t.onerror=()=>e(null)}catch{e(null)}})}async function ur(e){const t=await dr();return t?new Promise(n=>{try{const a=t.transaction(or,"readonly").objectStore(or),i=a.get(sr(e));i.onsuccess=()=>{if(i.result?.altText)return void n(i.result.altText);const t=cr(e);if(t!==e){const e=a.get(sr(t));e.onsuccess=()=>n(e.result?.altText||null),e.onerror=()=>n(null)}else n(null)},i.onerror=()=>n(null)}catch{n(null)}}):null}async function fr(e,t,n){const a=await dr();if(a)return new Promise(i=>{try{const r=a.transaction(or,"readwrite");r.objectStore(or).put({key:sr(e),src:e,altText:t,lang:n,createdAt:Date.now()}),r.oncomplete=()=>i(),r.onerror=()=>i()}catch{i()}})}const pr="https://accessify-api.accessify.workers.dev";function hr(e,t,n,a,i){try{const r=window.location.origin+window.location.pathname;fetch(`${t||pr}/v1/cache/persist-alt-text`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({siteKey:e,pageUrl:r,imageUrl:n,altText:a,lang:i})}).catch(()=>{})}catch{}}let gr=!1;async function mr(e){if(gr)return 0;gr=!0;const t=new Map,n=e?.siteKey,a=e?.proxyUrl||"",i=e?.lang?.split("-")[0]||document.documentElement.lang?.split("-")[0]||"en";if(n){const e=await async function(e,t,n){const a=new Map;try{const i=t||pr,r=window.location.origin+window.location.pathname,o=await fetch(`${i}/v1/manifest?siteKey=${encodeURIComponent(e)}&url=${encodeURIComponent(r)}&feature=alt_text&variant=${encodeURIComponent(n)}`,{headers:{Accept:"application/json"},cache:"no-cache"});if(!o.ok)return a;const s=await o.json();if(s.blocks)for(const e of s.blocks)e.selector&&e.result&&a.set(e.selector,e.result)}catch{}return a}(n,a,i);for(const[n,a]of e)t.set(n,a),fr(n,a,i).catch(()=>{})}const r=await async function(){const e=await dr(),t=new Map;return e?new Promise(n=>{try{const a=e.transaction(or,"readonly").objectStore(or).getAll();a.onsuccess=()=>{for(const e of a.result)t.set(e.src,e.altText);n(t)},a.onerror=()=>n(t)}catch{n(t)}}):t}();for(const[l,d]of r)t.has(l)||t.set(l,d);if(0===t.size)return 0;function o(e){if(e.closest("#accessify-root")||e.closest("accessify-widget"))return!1;const n=lr(e),a=t.get(n)||t.get(cr(n))||t.get(e.src);if(!a)return!1;const i=e.getAttribute("alt");return null!==i&&""!==i.trim()||(e.setAttribute("alt",a),e.setAttribute("data-accessify-alt","auto")),e.setAttribute("title",a),!0}let s=0;document.querySelectorAll("img").forEach(e=>{o(e)&&s++});const c=new MutationObserver(e=>{for(const t of e)for(const e of t.addedNodes){const t=e instanceof HTMLImageElement?[e]:e instanceof HTMLElement?Array.from(e.querySelectorAll("img")):[];for(const e of t)o(e)}});return c.observe(document.body,{childList:!0,subtree:!0}),setTimeout(()=>c.disconnect(),3e4),s}const yr=Object.freeze(Object.defineProperty({__proto__:null,autoApplyCachedAltTexts:mr,default:function(e,t="de",n){const a=n?.siteKey||"",i=n?.proxyUrl||"";let r=!1,o=null,s=!1,c=[];const l=new Map;function d(){return mi()||t}function u(){return d().startsWith("de")}function f(e){return!(e.closest("#accessify-root")||e.closest("accessify-widget")||e.complete&&e.naturalWidth>0&&(e.naturalWidth<20||e.naturalHeight<20))}function p(e){if(!f(e))return!1;const t=e.getAttribute("alt");return null===t||!!function(e){return!(e.trim()&&!/^(image|img|photo|bild|foto|untitled|placeholder)/i.test(e)&&!/^IMG_\d+/i.test(e)&&!/\.(jpg|jpeg|png|gif|webp|svg|avif)$/i.test(e))}(t)||""===t&&!function(e){const t=e.getAttribute("role");return"presentation"===t||"none"===t||!!(e.complete&&e.naturalWidth>0&&(e.naturalWidth<50||e.naturalHeight<50))}(e)}function h(e){const t=[];try{const n=new URL(lr(e),window.location.href).pathname.split("/").pop();n&&t.push(`Filename: ${n}`)}catch{}const n=e.closest("figure");if(n){const e=n.querySelector("figcaption");e?.textContent?.trim()&&t.push(`Caption: ${e.textContent.trim()}`)}const a=e.parentElement?.parentElement||e.parentElement;if(a){const e=a.querySelector("h1, h2, h3, h4, h5, h6");e?.textContent?.trim()&&t.push(`Nearby heading: ${e.textContent.trim()}`)}return t.join(". ")}function g(e,t){e.setAttribute("alt",t),e.setAttribute("title",t),l.set(e,{generatedAlt:t})}function m(){document.querySelectorAll("img").forEach(e=>{if(!f(e))return;if(e.getAttribute("title"))return;const t=e.getAttribute("alt");t&&t.trim()&&(e.setAttribute("title",t),e.setAttribute("data-accessify-title","auto"))})}function y(e){const t=getComputedStyle(e).backgroundImage,n=t?.match(/url\(["']?([^"')]+)["']?\)/);return n?n[1]:null}function v(e,t){e.setAttribute("role","img"),e.setAttribute("aria-label",t),e.setAttribute("title",t),e.setAttribute("data-accessify-bg-alt","auto")}function b(e){const t=[];t.push(`Element: <${e.tagName.toLowerCase()}>`),e.className&&t.push(`Class: ${e.className}`);const n=e.textContent?.trim().slice(0,100);n&&t.push(`Overlay text: ${n}`);const a=e.querySelector("h1, h2, h3");return a?.textContent?.trim()&&t.push(`Heading: ${a.textContent.trim()}`),t.join(". ")}function w(t){function n(){if(r&&!c.includes(t)&&!(t.naturalWidth<20||t.naturalHeight<20))if(p(t))c.push(t),async function(t){if(!e||!r)return;const n=lr(t),o=await ur(n);if(o)g(t,o);else try{const o=h(t),s=await e.generateAltText(n,o,d());s&&r&&(g(t,s),fr(n,s,d()).catch(()=>{}),a&&hr(a,i,n,s,d()))}catch(s){}}(t);else{const e=t.getAttribute("alt");e&&e.trim()&&!t.getAttribute("title")&&(t.setAttribute("title",e),t.setAttribute("data-accessify-title","auto"))}}r&&f(t)&&(c.includes(t)||(t.complete&&t.naturalWidth>0?n():t.addEventListener("load",n,{once:!0})))}return mr({siteKey:a,proxyUrl:i,lang:t}).catch(()=>{}),{id:"alt-text",name:()=>u()?"Bildbeschreibung":"Image Description",description:u()?"Bildbeschreibungen per Hover anzeigen und fehlende automatisch erzeugen":"Show image descriptions on hover and auto-generate missing ones",icon:"alt-text",category:"ai",activate:function(){if(r)return;r=!0,document.querySelectorAll('img[data-accessify-alt="auto"]').forEach(e=>{e.closest("#accessify-root")||l.has(e)||(l.set(e,{generatedAlt:e.getAttribute("alt")||""}),c.push(e))});const t=function(){const e=[];return document.querySelectorAll("img").forEach(t=>{p(t)&&e.push(t)}),document.querySelectorAll("picture").forEach(t=>{if(t.closest("#accessify-root")||t.closest("accessify-widget"))return;const n=t.querySelector("img");n&&!e.includes(n)&&p(n)&&e.push(n)}),e}();for(const e of t)c.includes(e)||c.push(e);!async function(){if(s||!r||!e)return;s=!0;const t=[];for(const e of c){if(l.has(e))continue;const n=lr(e),a=await ur(n);a?g(e,a):t.push(e)}if(t.length){for(let n=0;n<t.length&&r;n+=3){const o=t.slice(n,n+3);await Promise.all(o.map(async t=>{if(r)try{const n=lr(t),o=h(t),s=await e.generateAltText(n,o,d());s&&r&&(g(t,s),fr(n,s,d()).catch(()=>{}),a&&hr(a,i,n,s,d()))}catch(n){}}))}s=!1}else s=!1}(),async function(){if(!e||!r)return;const t=function(){const e=[],t=document.querySelectorAll('header, [class*="hero"], [class*="banner"], [class*="header"], [class*="bg-"], [class*="background"], [style*="background"]');for(const n of t){if(n.closest("#accessify-root")||n.closest("accessify-widget"))continue;if(n.getAttribute("data-accessify-bg-alt"))continue;const t=getComputedStyle(n).backgroundImage;if(!t||"none"===t)continue;if(!t.match(/url\(["']?([^"')]+)["']?\)/))continue;const a=n.getBoundingClientRect();a.width<100||a.height<100||"img"===n.getAttribute("role")&&n.getAttribute("aria-label")||e.push(n)}return e}();for(const o of t){if(!r)break;const t=y(o);if(!t)continue;const s=await ur(t);if(s)v(o,s);else try{const n=b(o),s=await e.generateAltText(t,n,d());s&&r&&(v(o,s),fr(t,s,d()).catch(()=>{}),a&&hr(a,i,t,s,d()))}catch(n){}}}(),m(),document.querySelectorAll("img").forEach(e=>{e.complete||w(e)}),setTimeout(()=>{r&&(document.querySelectorAll("img").forEach(w),m())},2e3),o=new MutationObserver(e=>{for(const t of e)for(const e of t.addedNodes)e instanceof HTMLImageElement?w(e):e instanceof HTMLElement&&e.querySelectorAll("img").forEach(w)}),o.observe(document.body,{childList:!0,subtree:!0})},deactivate:function(){r=!1,s=!1,o?.disconnect(),o=null,document.querySelectorAll('img[data-accessify-title="auto"]').forEach(e=>{e.removeAttribute("title"),e.removeAttribute("data-accessify-title")}),document.querySelectorAll("[data-accessify-bg-alt]").forEach(e=>{e.removeAttribute("role"),e.removeAttribute("aria-label"),e.removeAttribute("title"),e.removeAttribute("data-accessify-bg-alt")}),c=[]},getState:()=>({id:"alt-text",enabled:r,value:{missingCount:c.filter(e=>!l.has(e)).length,processedCount:l.size}})}}},Symbol.toStringTag,{value:"Module"})),vr=new Set(["spacing","dyslexia-font","color-blind","color-blindness","saturation","text-align","line-height","page-structure","focus-highlight","auto-scan"]),br={position:"bottom-right",theme:"auto",lang:document.documentElement.lang||"en",features:["contrast","text-size","link-highlight","hide-images","reading-guide","reading-mask","big-cursor","keyboard-nav","animation-stop","tts","text-simplify","alt-text"],zIndex:999999,compact:!1};let wr=null,xr=null,kr={...br};async function Sr(e={}){if(wr)return;const t=window.__accessify_dataConfig||{};kr={...br,...t,...e};const n=kr.siteKey||kr.siteKey,a=kr.proxyUrl||kr.proxyUrl;if(n){const i=await async function(e,t){try{const n=t||"https://accessify-api.accessify.workers.dev",a=await fetch(`${n}/v1/config/${e}`,{headers:{Accept:"application/json"}});if(!a.ok)return{};const i=await a.json(),r=i?.config||{},o={};r.features?.length&&(o.features=r.features),r.defaultLang&&(o.lang=r.defaultLang),r.position&&(o.position=r.position),r.theme&&(o.theme=r.theme),null!=r.compact&&(o.compact=r.compact);const s=["brandPrimaryColor","brandSurfaceColor","brandTextColor","brandBorderColor","brandCardColor","brandAccentColor","brandTextDimColor","brandTriggerColor","brandTriggerIconColor","brandHoverColor"];for(const e of s)r[e]&&(o[e]=r[e]);return r.panelWidth&&(o.panelWidth=r.panelWidth),o}catch{return{}}}(n,a||"");kr={...br,...i,...t,...e}}kr.features=(kr.features||br.features).filter(e=>!vr.has(e)),xr=document.createElement("div"),xr.id="accessify-root",xr.setAttribute("role","complementary"),xr.setAttribute("aria-label",vi("widget.title",kr.lang));const i=xr.attachShadow({mode:"open",delegatesFocus:!0}),r=new CSSStyleSheet;r.replaceSync(rr(kr)),i.adoptedStyleSheets=[r];const o=document.createElement("div");function s(e){return Object.getOwnPropertySymbols(e).find(e=>"Symbol(events)"===e.toString())}o.id="accessify-mount",i.appendChild(o),wr=function(e,{target:t,anchor:n,props:a={},events:i,context:r,intro:o=!0,transformError:s}){!function(){if(void 0===ln){ln=window,dn=/Firefox/.test(navigator.userAgent);var e=Element.prototype,t=Node.prototype,n=Text.prototype;un=se(t,"firstChild").get,fn=se(t,"nextSibling").get,fe(e)&&(e.__click=void 0,e.__className=void 0,e.__attributes=null,e.__style=void 0,e.__e=void 0),fe(n)&&(n.__t=void 0),te&&(e.__svelte_meta=null,function(){const e=Array.prototype,t=Array.__svelte_cleanup;t&&t();const{indexOf:n,lastIndexOf:a,includes:i}=e;e.indexOf=function(e,t){const a=n.call(this,e,t);if(-1===a)for(let n=t??0;n<this.length;n+=1)if(sn(this[n])===e){Ke();break}return a},e.lastIndexOf=function(e,t){const n=a.call(this,e,t??this.length-1);if(-1===n)for(let a=0;a<=(t??this.length-1);a+=1)if(sn(this[a])===e){Ke();break}return n},e.includes=function(e,t){const n=i.call(this,e,t);if(!n)for(let a=0;a<this.length;a+=1)if(sn(this[a])===e){Ke();break}return n},Array.__svelte_cleanup=()=>{e.indexOf=n,e.lastIndexOf=a,e.includes=i}}())}}();var c=void 0,l=function(){At.ensure();const o=xn(524352,()=>{var o=n??t.appendChild(pn());new zt(o,{pending:()=>{}},t=>{Qe({}),r&&(Ge.c=r),i&&(a.$$events=i),c=e(t,a)||{},et()},s);var l=new Set,d=e=>{for(var n=0;n<e.length;n++){var a=e[n];if(!l.has(a)){l.add(a);var i=ga(a);for(const e of[t,document]){var r=Ia.get(e);void 0===r&&Ia.set(e,r=new Map);var o=r.get(a);void 0===o?(e.addEventListener(a,ka,{passive:i}),r.set(a,1)):r.set(a,o+1)}}}};return d(re(ya)),va.add(d),()=>{for(var e of l)for(const n of[t,document]){var a=Ia.get(n),i=a.get(e);0==--i?(n.removeEventListener(e,ka),a.delete(e),0===a.size&&Ia.delete(n)):a.set(e,i)}va.delete(d),o!==n&&o.parentNode?.removeChild(o)}});return(e={})=>new Promise(t=>{e.outro?Hn(o,()=>{zn(o),t(void 0)}):(zn(o),t(void 0))})}();return za.set(c,l),c}(ar,{target:o,props:{config:kr,shadow:i}});const c=["click","input","change","keydown","keyup","focusin","focusout"];for(const l of c)i.addEventListener(l,e=>{let t=e.composedPath()[0],n=!1;for(;t&&t!==i;){const a=s(t);if(a){const i=t[a];i&&"function"==typeof i[l]&&(i[l].call(t,e),n=!0)}if(e.cancelBubble)break;t=t.assignedSlot||t.parentNode||t.host}n&&e.stopImmediatePropagation()},!0);window.addEventListener("accessify:reposition",e=>{const t=e.detail?.position;t&&kr&&(kr.position=t,r.replaceSync(rr(kr)))}),window.addEventListener("message",e=>{if("accessify:preview-config"===e.data?.type&&(Object.assign(kr,e.data.config||{}),r.replaceSync(rr(kr))),"accessify:open"===e.data?.type){const e=i.querySelector(".accessify-panel"),t=i.querySelector(".accessify-trigger");e&&e.setAttribute("aria-hidden","false"),t&&t.setAttribute("aria-expanded","true")}}),document.body.appendChild(xr),mr(kr).catch(()=>{}),kr.onReady?.()}function Ar(){wr&&(function(e){const t=za.get(e);t?(za.delete(e),t(void 0)):Promise.resolve()}(wr),wr=null),xr?.remove(),xr=null}function Mr(e,...t){const n={init:e=>Sr(e),open:()=>wr?.open?.(),close:()=>wr?.close?.(),destroy:Ar};n[e]?.(...t)}window.__accessify_exec=Mr;const Cr=window.Accessify;Cr?.q&&(Cr.q.forEach(e=>Mr(...e)),Cr.q=[]);const Er=function(e,...t){Mr(e,...t)};Er._loaded=!0,Object.defineProperty(Er,"config",{get:()=>kr,enumerable:!0}),window.Accessify=Er,window.A11yPlus=Er;const Tr=Object.freeze(Object.defineProperty({__proto__:null,default:function(){let e="off";const t="accessify-contrast",n="accessify-contrast-mode";function a(e){let n=document.getElementById(t);"off"!==e?(n||(n=document.createElement("style"),n.id=t,document.head.appendChild(n)),n.textContent=function(e){switch(e){case"light":return"\n html {\n color-scheme: light !important;\n }\n\n body,\n body :where(main, section, article, aside, nav, header, footer, div, p, li, dt, dd, blockquote, figcaption, table, thead, tbody, tr, th, td, ul, ol, form, fieldset, button, input, textarea, select, label, details, summary):not(#accessify-root):not(#accessify-root *) {\n background-color: #fbf7ef !important;\n color: #161616 !important;\n border-color: #6f675d !important;\n }\n\n body :where(h1, h2, h3, h4, h5, h6, strong, b):not(#accessify-root):not(#accessify-root *) {\n color: #0f1720 !important;\n }\n\n body :where(a, a:visited):not(#accessify-root):not(#accessify-root *) {\n color: #0047b3 !important;\n text-decoration-color: currentColor !important;\n }\n\n body :where(button, input, textarea, select):not(#accessify-root):not(#accessify-root *) {\n box-shadow: none !important;\n }\n ";case"dark":return"\n html {\n color-scheme: dark !important;\n }\n\n body,\n body :where(main, section, article, aside, nav, header, footer, div, p, li, dt, dd, blockquote, figcaption, table, thead, tbody, tr, th, td, ul, ol, form, fieldset, button, input, textarea, select, label, details, summary):not(#accessify-root):not(#accessify-root *) {\n background-color: #101418 !important;\n color: #f5f1e8 !important;\n border-color: #9bb4c7 !important;\n }\n\n body :where(h1, h2, h3, h4, h5, h6, strong, b):not(#accessify-root):not(#accessify-root *) {\n color: #ffffff !important;\n }\n\n body :where(a, a:visited):not(#accessify-root):not(#accessify-root *) {\n color: #8fd8ff !important;\n text-decoration-color: currentColor !important;\n }\n\n body :where(img, video, svg, canvas):not(#accessify-root):not(#accessify-root *) {\n filter: brightness(0.92) contrast(1.08) !important;\n }\n ";case"high":return"\n html {\n color-scheme: dark !important;\n }\n\n body,\n body :where(main, section, article, aside, nav, header, footer, div, p, li, dt, dd, blockquote, figcaption, table, thead, tbody, tr, th, td, ul, ol, form, fieldset, button, input, textarea, select, label, details, summary):not(#accessify-root):not(#accessify-root *) {\n background: #000000 !important;\n color: #ffffff !important;\n border-color: #ffffff !important;\n box-shadow: none !important;\n }\n\n body :where(a, a:visited):not(#accessify-root):not(#accessify-root *) {\n color: #fff35c !important;\n text-decoration: underline !important;\n text-decoration-thickness: 3px !important;\n text-underline-offset: 3px !important;\n }\n\n body :where(button, input, textarea, select):not(#accessify-root):not(#accessify-root *) {\n outline: 2px solid #fff35c !important;\n outline-offset: 2px !important;\n }\n\n body :where(img, video, svg, canvas):not(#accessify-root):not(#accessify-root *) {\n filter: contrast(1.25) brightness(0.95) !important;\n }\n ";default:return""}}(e)):n?.remove()}return{id:"contrast",name:()=>"Contrast",description:"Increase contrast for better readability",icon:"contrast",category:"visual",activate:function(){const t=localStorage.getItem(n);e="light"===t||"dark"===t||"high"===t?t:"dark",a(e)},deactivate:function(){e="off",a("off"),localStorage.removeItem(n)},getState:()=>({id:"contrast",enabled:"off"!==e,value:e}),setState:t=>{e="light"===t||"dark"===t||"high"===t?t:"off",a(t),"off"===e?localStorage.removeItem(n):localStorage.setItem(n,e)}}}},Symbol.toStringTag,{value:"Module"})),_r=Object.freeze(Object.defineProperty({__proto__:null,default:function(){let e=100,t=null,n=!1;const a="accessify-text-size-styles",i="accessify-text-size",r="data-accessify-text-size-processed",o="data-accessify-original-inline-font-size",s="data-accessify-original-computed-font-size",c=new Set(["SCRIPT","STYLE","NOSCRIPT","IFRAME","SVG","PATH","G","DEFS","MASK","BR","META","LINK","HEAD"]);function l(e){if("accessify-root"===e.id||e.closest("#accessify-root"))return!1;if(c.has(e.tagName))return!1;const t=window.getComputedStyle(e),n=parseFloat(t.fontSize);return!(!Number.isFinite(n)||n<=0)&&"none"!==t.display&&"hidden"!==t.visibility&&(new Set(["INPUT","TEXTAREA","SELECT","BUTTON","LABEL","OPTION"]).has(e.tagName)||function(e){return Array.from(e.childNodes).some(e=>e.nodeType===Node.TEXT_NODE&&Boolean(e.textContent?.trim()))}(e))}function d(e){const t=e.getAttribute(o);null!==t&&(t?e.style.fontSize=t:e.style.removeProperty("font-size"),e.removeAttribute(r),e.removeAttribute(o),e.removeAttribute(s))}function u(){if(n||100===e)return;n=!0;const t=()=>{n=!1,f(e)};"function"==typeof window.requestAnimationFrame?window.requestAnimationFrame(()=>t()):window.setTimeout(t,0)}function f(e){if(100===e)return t?.disconnect(),t=null,n=!1,document.getElementById(a)?.remove(),void document.querySelectorAll(`[${r}]`).forEach(e=>{d(e)});!function(e){let t=document.getElementById(a);t||(t=document.createElement("style"),t.id=a,document.head.appendChild(t)),t.textContent=`/* accessify text-size: ${e}% */`}(e);const i=e/100,c=new Set(document.body?[document.body,...Array.from(document.body.querySelectorAll("*"))].filter(l):[]);document.querySelectorAll(`[${r}]`).forEach(e=>{c.has(e)||d(e)}),c.forEach(e=>{!function(e,t){!function(e){if(e.hasAttribute(o)||e.setAttribute(o,e.style.fontSize||""),!e.hasAttribute(s)){const t=parseFloat(window.getComputedStyle(e).fontSize);Number.isFinite(t)&&t>0&&e.setAttribute(s,String(t))}}(e);const n=parseFloat(e.getAttribute(s)||"");if(!Number.isFinite(n)||n<=0)return;const a=Math.round(n*t*100)/100;e.style.setProperty("font-size",`${a}px`,"important"),e.setAttribute(r,"true")}(e,i)}),!t&&document.body&&(t=new MutationObserver(e=>{for(const t of e)if("childList"===t.type&&(t.addedNodes.length>0||t.removedNodes.length>0))return void u()}),t.observe(document.body,{childList:!0,subtree:!0}))}function p(e){return Math.min(200,Math.max(100,10*Math.round(e/10)))}return{id:"text-size",name:()=>"Text Size",description:"Adjust text size from 100% to 200%",icon:"text-size",category:"visual",activate:function(){const t=localStorage.getItem(i);e=t?p(parseInt(t,10)):150,f(e),localStorage.setItem(i,String(e))},deactivate:function(){e=100,f(100),localStorage.removeItem(i)},getState:()=>({id:"text-size",enabled:100!==e,value:e}),setState:t=>{e=p(t),f(e),localStorage.setItem(i,String(e))}}}},Symbol.toStringTag,{value:"Module"})),$r=Object.freeze(Object.defineProperty({__proto__:null,default:function(){let e=!1;const t="accessify-keyboard-nav",n="accessify-skip-link",a="accessify-keyboard-help",i="accessify-keyboard-nav";let r=-1,o=-1,s=[],c=[],l=!1,d=null,u=null,f=null,p=null;const h=()=>w();function g(){return mi()}function m(){s=Array.from(document.querySelectorAll("h1, h2, h3, h4, h5, h6")).filter(e=>{const t=window.getComputedStyle(e);return"none"!==t.display&&"hidden"!==t.visibility})}function y(){c=Array.from(document.querySelectorAll(['header, [role="banner"]','nav, [role="navigation"]','main, [role="main"]','aside, [role="complementary"]','[role="search"]','[role="form"]','footer, [role="contentinfo"]','[role="region"][aria-label]'].join(", "))).filter(e=>{const t=window.getComputedStyle(e);return"none"!==t.display&&"hidden"!==t.visibility})}function v(){document.querySelectorAll(["a[href]","button","input","select","textarea",'[role="button"]','[role="link"]','[role="checkbox"]','[role="radio"]','[role="tab"]','[role="menuitem"]','[role="switch"]','[contenteditable="true"]',"summary"].join(", ")).forEach(e=>{e.hasAttribute("tabindex")||function(e){const t=e.tagName.toLowerCase();return!!["a","button","input","select","textarea"].includes(t)}(e)||(e.setAttribute("tabindex","0"),e.dataset.accessifyTabindex="true")})}function b(t){if(e){if("Escape"===t.key&&l){const e=document.getElementById(a);return e?.remove(),void(l=!1)}if(t.altKey)switch(t.key.toLowerCase()){case"h":t.preventDefault(),function(){if(m(),0===s.length)return;r=(r+1)%s.length;const e=s[r];e.setAttribute("tabindex","-1"),e.focus(),e.scrollIntoView({behavior:"smooth",block:"center"})}();break;case"l":t.preventDefault(),function(){if(y(),0===c.length)return;o=(o+1)%c.length;const e=c[o];e.setAttribute("tabindex","-1"),e.focus(),e.scrollIntoView({behavior:"smooth",block:"center"})}();break;case"k":t.preventDefault(),function(){const e=document.getElementById(a);if(e)return e.remove(),void(l=!1);l=!0;const t=document.createElement("div");t.id=a,t.setAttribute("role","dialog"),t.setAttribute("aria-label",vi("keyboard.shortcuts",g())),t.setAttribute("aria-modal","true"),t.innerHTML=`\n <div style="\n position: fixed; inset: 0; background: rgba(0,0,0,0.6);\n display: flex; align-items: center; justify-content: center;\n z-index: 2147483647;\n ">\n <div style="\n background: #fff; color: #222; border-radius: 12px; padding: 32px;\n max-width: 480px; width: 90%; max-height: 80vh; overflow-y: auto;\n box-shadow: 0 8px 32px rgba(0,0,0,0.3); font-family: system-ui, sans-serif;\n " role="document">\n <h2 style="margin: 0 0 16px; font-size: 20px; color: #1a73e8;">${vi("keyboard.shortcuts",g())}</h2>\n <table style="width: 100%; border-collapse: collapse; font-size: 14px;">\n <thead>\n <tr style="border-bottom: 2px solid #e0e0e0;">\n <th style="text-align: left; padding: 8px 12px;">${vi("keyboard.shortcut",g())}</th>\n <th style="text-align: left; padding: 8px 12px;">${vi("keyboard.action",g())}</th>\n </tr>\n </thead>\n <tbody>\n <tr style="border-bottom: 1px solid #f0f0f0;">\n <td style="padding: 8px 12px;"><kbd style="background:#f5f5f5;padding:2px 8px;border-radius:4px;border:1px solid #ccc;font-family:monospace;">Alt + H</kbd></td>\n <td style="padding: 8px 12px;">${vi("keyboard.nextHeading",g())}</td>\n </tr>\n <tr style="border-bottom: 1px solid #f0f0f0;">\n <td style="padding: 8px 12px;"><kbd style="background:#f5f5f5;padding:2px 8px;border-radius:4px;border:1px solid #ccc;font-family:monospace;">Alt + L</kbd></td>\n <td style="padding: 8px 12px;">${vi("keyboard.nextLandmark",g())}</td>\n </tr>\n <tr style="border-bottom: 1px solid #f0f0f0;">\n <td style="padding: 8px 12px;"><kbd style="background:#f5f5f5;padding:2px 8px;border-radius:4px;border:1px solid #ccc;font-family:monospace;">Alt + K</kbd></td>\n <td style="padding: 8px 12px;">${vi("keyboard.toggleHelp",g())}</td>\n </tr>\n <tr style="border-bottom: 1px solid #f0f0f0;">\n <td style="padding: 8px 12px;"><kbd style="background:#f5f5f5;padding:2px 8px;border-radius:4px;border:1px solid #ccc;font-family:monospace;">Tab</kbd></td>\n <td style="padding: 8px 12px;">${vi("keyboard.nextFocusable",g())}</td>\n </tr>\n <tr>\n <td style="padding: 8px 12px;"><kbd style="background:#f5f5f5;padding:2px 8px;border-radius:4px;border:1px solid #ccc;font-family:monospace;">Escape</kbd></td>\n <td style="padding: 8px 12px;">${vi("keyboard.closeOverlay",g())}</td>\n </tr>\n </tbody>\n </table>\n <button style="\n margin-top: 20px; padding: 8px 24px; background: #1a73e8; color: #fff;\n border: none; border-radius: 6px; cursor: pointer; font-size: 14px;\n " id="accessify-keyboard-help-close">${vi("widget.close",g())}</button>\n </div>\n </div>\n `,document.body.appendChild(t);const n=document.getElementById("accessify-keyboard-help-close");n?.focus(),n?.addEventListener("click",()=>{t.remove(),l=!1})}()}}}function w(){e&&(u&&clearTimeout(u),u=setTimeout(()=>{m(),y(),r=-1,o=-1,v()},300))}function x(){e=!0,r=-1,o=-1,function(){let e=document.getElementById(t);e||(e=document.createElement("style"),e.id=t,document.head.appendChild(e)),e.textContent=`\n /* accessify keyboard navigation */\n #${n} {\n position: fixed;\n top: -100px;\n left: 50%;\n transform: translateX(-50%);\n background: #1a73e8;\n color: #fff;\n padding: 12px 24px;\n border-radius: 0 0 8px 8px;\n font-size: 16px;\n font-family: system-ui, sans-serif;\n text-decoration: none;\n z-index: 2147483647;\n transition: top 0.2s ease;\n box-shadow: 0 2px 8px rgba(0,0,0,0.3);\n }\n #${n}:focus {\n top: 0;\n outline: 3px solid #ffdd00;\n outline-offset: 2px;\n }\n `}(),function(){if(function(){const e=document.querySelectorAll('a[href^="#"]');for(const t of e){const e=t.textContent?.toLowerCase()||"";if(e.includes("skip")||e.includes("main content")||e.includes("navigation"))return!0}return!1}())return;const e=document.querySelector("main")||document.getElementById("content")||document.getElementById("main-content")||document.querySelector('[role="main"]')||document.querySelector("h1");if(!e)return;e.id||(e.id="accessify-main-content");const t=document.createElement("a");t.id=n,t.href=`#${e.id}`,t.textContent=vi("keyboard.skipToContent",g()),t.addEventListener("click",t=>{t.preventDefault(),e.setAttribute("tabindex","-1"),e.focus(),e.scrollIntoView({behavior:"smooth",block:"start"})}),document.body.insertBefore(t,document.body.firstChild)}(),v(),document.addEventListener("keydown",b),function(){if(d)return;d=new MutationObserver(()=>w());const e=document.querySelector("main")||document.body;d.observe(e,{childList:!0,subtree:!0})}(),f||(f=history.pushState,history.pushState=function(...e){f.apply(this,e),w()}),p||(p=history.replaceState,history.replaceState=function(...e){p.apply(this,e),w()}),window.addEventListener("popstate",h),localStorage.setItem(i,"true")}function k(){e=!1,l=!1,d?.disconnect(),d=null,u&&(clearTimeout(u),u=null),f&&(history.pushState=f,f=null),p&&(history.replaceState=p,p=null),window.removeEventListener("popstate",h),document.removeEventListener("keydown",b),function(){const e=document.getElementById(n);e?.remove()}(),document.querySelectorAll('[data-accessify-tabindex="true"]').forEach(e=>{e.removeAttribute("tabindex"),delete e.dataset.accessifyTabindex}),function(){const e=document.getElementById(t);e?.remove()}();const r=document.getElementById(a);r?.remove(),localStorage.removeItem(i)}return{id:"keyboard-nav",name:()=>"Keyboard Navigation",description:"Enhanced keyboard navigation with skip links, heading/landmark jumping, and shortcut help",icon:"keyboard-nav",category:"motor",activate:x,deactivate:k,getState:()=>({id:"keyboard-nav",enabled:e}),setState:e=>{e.enabled?x():k()}}}},Symbol.toStringTag,{value:"Module"})),Ir=Object.freeze(Object.defineProperty({__proto__:null,default:function(){let e=!1;const t="accessify-link-highlight",n="accessify-link-highlight";function a(){e=!0,function(){let e=document.getElementById(t);e||(e=document.createElement("style"),e.id=t,document.head.appendChild(e)),e.textContent=`\n /* accessify link highlighting */\n a[href] {\n text-decoration: underline !important;\n text-decoration-thickness: 3px !important;\n text-underline-offset: 3px !important;\n text-decoration-color: #1a73e8 !important;\n background-color: rgba(26, 115, 232, 0.1) !important;\n padding: 2px 4px !important;\n border-radius: 2px !important;\n transition: background-color 0.15s ease !important;\n }\n\n a[href]:hover {\n background-color: rgba(26, 115, 232, 0.25) !important;\n }\n\n a[href]:visited {\n text-decoration-color: #681da8 !important;\n background-color: rgba(104, 29, 168, 0.1) !important;\n }\n\n a[href]:visited:hover {\n background-color: rgba(104, 29, 168, 0.25) !important;\n }\n\n /* External link indicator */\n a[href^="http"]:not([href*="${"undefined"!=typeof window?window.location.hostname:""}"]):after {\n content: " \\2197";\n font-size: 0.8em;\n vertical-align: super;\n }\n `}(),localStorage.setItem(n,"true")}function i(){e=!1,function(){const e=document.getElementById(t);e?.remove()}(),localStorage.removeItem(n)}return{id:"link-highlight",name:()=>"Link Highlight",description:"Highlight all links with thick underlines and background colors",icon:"link-highlight",category:"visual",activate:a,deactivate:i,getState:()=>({id:"link-highlight",enabled:e}),setState:e=>{e.enabled?a():i()}}}},Symbol.toStringTag,{value:"Module"})),zr={height:8,opacity:.3},Lr=Object.freeze(Object.defineProperty({__proto__:null,default:function(){let e=!1,t=null,n=0,a={...zr};const i="accessify-reading-guide";function r(e){n=e.clientY,c()}function o(e){e.touches.length>0&&(n=e.touches[0].clientY,c())}function s(a){e&&t&&("ArrowUp"===a.key?(a.preventDefault(),n=Math.max(0,n-10),c()):"ArrowDown"===a.key&&(a.preventDefault(),n=Math.min(window.innerHeight,n+10),c()))}function c(){t&&(t.style.top=n-a.height/2+"px")}return{id:"reading-guide",name:()=>"Reading Guide",description:"Horizontal ruler that follows your cursor for easier reading",icon:"reading-guide",category:"cognitive",activate:function(){e=!0;const l=localStorage.getItem(i);if(l)try{const e=JSON.parse(l);a={height:Math.min(60,Math.max(2,e.height??zr.height)),opacity:Math.min(1,Math.max(.1,e.opacity??zr.opacity))}}catch{a={...zr}}t=function(){const e=document.createElement("div");return e.id="accessify-reading-guide",e.setAttribute("role","presentation"),e.setAttribute("aria-hidden","true"),Object.assign(e.style,{position:"fixed",left:"0",width:"100%",height:`${a.height}px`,backgroundColor:`rgba(255, 255, 0, ${a.opacity})`,pointerEvents:"none",zIndex:"2147483646",top:"50%",transition:"top 0.05s linear",boxShadow:"0 0 4px rgba(0,0,0,0.2)"}),e}(),document.documentElement.appendChild(t),n=window.innerHeight/2,c(),document.addEventListener("mousemove",r,{passive:!0}),document.addEventListener("touchmove",o,{passive:!0}),document.addEventListener("keydown",s)},deactivate:function(){e=!1,document.removeEventListener("mousemove",r),document.removeEventListener("touchmove",o),document.removeEventListener("keydown",s),t&&(t.remove(),t=null),localStorage.removeItem(i)},getState:()=>({id:"reading-guide",enabled:e,value:{...a}}),setState:e=>{a={height:Math.min(60,Math.max(2,e.height??a.height)),opacity:Math.min(1,Math.max(.1,e.opacity??a.opacity))},localStorage.setItem(i,JSON.stringify(a)),t&&(t.style.height=`${a.height}px`,t.style.backgroundColor=`rgba(255, 255, 0, ${a.opacity})`,c())}}}},Symbol.toStringTag,{value:"Module"})),Pr=Object.freeze(Object.defineProperty({__proto__:null,default:function(){let e=!1,t=null,n=null,a=120;function i(e){if(!t||!n)return;const i=e.clientY,r=a/2,o=Math.max(0,i-r),s=Math.max(0,window.innerHeight-i-r);t.style.height=o+"px",n.style.height=s+"px"}function r(e){if(t&&n&&("ArrowUp"===e.key||"ArrowDown"===e.key)){const e=document.activeElement;if(!e)return;const i=e.getBoundingClientRect(),r=i.top+i.height/2,o=a/2;t.style.height=Math.max(0,r-o)+"px",n.style.height=Math.max(0,window.innerHeight-r-o)+"px"}}return{id:"reading-mask",name:()=>"Reading Mask",description:"Focus window that dims surrounding content",icon:"reading-mask",category:"motor",activate:function(){e=!0,function(){t=document.createElement("div"),n=document.createElement("div");const e="\n position: fixed; left: 0; right: 0; z-index: 999990;\n background: rgba(0, 0, 0, 0.65); pointer-events: none;\n transition: top 80ms ease, bottom 80ms ease, height 80ms ease;\n ";t.setAttribute("style",e+"top: 0;"),t.setAttribute("aria-hidden","true"),t.id="accessify-mask-top",n.setAttribute("style",e+"bottom: 0;"),n.setAttribute("aria-hidden","true"),n.id="accessify-mask-bottom",document.body.appendChild(t),document.body.appendChild(n)}(),document.addEventListener("mousemove",i),document.addEventListener("keydown",r)},deactivate:function(){e=!1,document.removeEventListener("mousemove",i),document.removeEventListener("keydown",r),t?.remove(),n?.remove(),t=null,n=null},getState:()=>({id:"reading-mask",enabled:e,value:a}),setState:e=>{a=Math.min(400,Math.max(60,e))}}}},Symbol.toStringTag,{value:"Module"})),Hr=Object.freeze(Object.defineProperty({__proto__:null,default:function(){let e=!1;const t="a11y-stop-animations",n="accessify-animation-stop";let a=null,i=null,r=null,o=null,s=null,c=[],l=new Map;function d(){try{const e=document.getAnimations?.();if(!e)return;for(const t of e)try{t.finish()}catch{try{t.cancel()}catch{}}}catch{}}function u(){const e=document.querySelectorAll("*");for(const t of e){if("SCRIPT"===t.tagName||"STYLE"===t.tagName||"NOSCRIPT"===t.tagName||"META"===t.tagName||"LINK"===t.tagName)continue;if(t.closest("#accessify-root")||t.closest("accessify-widget"))continue;if(t.dataset.a11yOrigStyle)continue;const e=window.getComputedStyle(t);if("none"===e.display)continue;const n=t.style;let a=!1;const i={},r=parseFloat(e.opacity);r<.1&&""!==n.opacity?(i.opacity=n.opacity,t.style.opacity="1",a=!0):r<.1&&t.hasAttribute("data-framer-appear-id")&&(i.opacity=n.opacity||"",t.style.opacity="1",a=!0),n.transform&&/translate[XY]\([^0]/.test(n.transform)&&(i.transform=n.transform,t.style.transform="none",a=!0),"hidden"===n.visibility&&(i.visibility=n.visibility,t.style.visibility="visible",a=!0),n.clipPath&&"none"!==n.clipPath&&(i.clipPath=n.clipPath,t.style.clipPath="none",a=!0),a&&(t.dataset.a11yOrigStyle=JSON.stringify(i))}}function f(){document.querySelectorAll("[style]").forEach(e=>{if(e.closest("#accessify-root")||e.closest("accessify-widget"))return;if(e.dataset.a11yFrozenStyle)return;const t=e.style;(t.transform||t.opacity)&&(e.dataset.a11yFrozenStyle=JSON.stringify({transform:t.transform||"",opacity:t.opacity||""}))}),r||(r=()=>{e&&document.querySelectorAll("[data-a11y-frozen-style]").forEach(e=>{try{const t=JSON.parse(e.dataset.a11yFrozenStyle||"{}");t.transform&&e.style.transform!==t.transform&&(e.style.transform=t.transform)}catch{}})},window.addEventListener("scroll",r,{passive:!0,capture:!0}))}function p(){document.querySelectorAll("video").forEach(e=>{e.paused||(e.dataset.a11yPaused="true",e.pause(),c.push(e))})}function h(e){if(!(e.currentSrc||e.src||"").toLowerCase().match(/\.gif(\?|$)/i))return;if(l.has(e))return;const t=()=>{try{const t=e.naturalWidth||e.width,n=e.naturalHeight||e.height;if(0===t||0===n)return;const a=document.createElement("canvas");a.width=t,a.height=n;const i=a.getContext("2d");if(!i)return;i.drawImage(e,0,0),l.set(e,e.src),e.src=a.toDataURL("image/png")}catch{}};e.complete&&e.naturalWidth>0?t():e.addEventListener("load",t,{once:!0})}function g(){document.querySelectorAll("img").forEach(h)}function m(){document.querySelectorAll("svg").forEach(e=>{try{e.pauseAnimations?.()}catch{}})}function y(){if(!e){e=!0,s||(s=Element.prototype.animate,Element.prototype.animate=function(t,n){if(!e)return s.call(this,t,n);let a;"number"==typeof n?a={duration:.001,fill:"forwards"}:(a={...n||{},duration:.001,delay:0,iterations:1,fill:"forwards"},delete a.iterationStart,delete a.endDelay);const i=s.call(this,t,a);try{i.finish()}catch{}return i}),function(){if(document.getElementById(t))return;const e=document.createElement("style");e.id=t,e.textContent="\n *, *::before, *::after {\n animation-duration: 0.001ms !important;\n animation-iteration-count: 1 !important;\n animation-delay: 0s !important;\n animation-fill-mode: forwards !important;\n transition-duration: 0.001ms !important;\n transition-delay: 0s !important;\n scroll-behavior: auto !important;\n animation-timeline: auto !important;\n scroll-timeline: none !important;\n }\n ",document.head.appendChild(e)}(),d(),function(){const e=window.gsap;if(e?.globalTimeline)try{e.globalTimeline.timeScale(0),window._a11yGsapPatched=!0}catch{}}(),u(),f(),p(),o||(o=HTMLVideoElement.prototype.play,HTMLVideoElement.prototype.play=function(){return e?Promise.resolve():o.call(this)}),g(),m(),document.querySelectorAll("marquee").forEach(e=>{try{e.stop?.()}catch{}}),a||(a=new MutationObserver(t=>{if(!e)return;let n=!1;for(const e of t)if(e.addedNodes.length>0){n=!0;break}n&&(d(),u(),p(),g(),m())}),a.observe(document.body,{childList:!0,subtree:!0})),i||(i=setInterval(()=>{e&&d()},500));for(const t of[50,200,500,1e3,2e3,4e3])setTimeout(()=>{e&&(d(),u(),f(),p(),g())},t);localStorage.setItem(n,"true")}}function v(){e=!1,i&&(clearInterval(i),i=null),a?.disconnect(),a=null,s&&(Element.prototype.animate=s,s=null),r&&(window.removeEventListener("scroll",r,!0),r=null),document.querySelectorAll("[data-a11y-frozen-style]").forEach(e=>{delete e.dataset.a11yFrozenStyle}),function(){const e=window.gsap;if(window._a11yGsapPatched&&e?.globalTimeline)try{e.globalTimeline.timeScale(1),delete window._a11yGsapPatched}catch{}}(),document.querySelectorAll("[data-a11y-orig-style]").forEach(e=>{try{const t=JSON.parse(e.dataset.a11yOrigStyle||"{}");for(const[n,a]of Object.entries(t))""===a?e.style.removeProperty(n):e.style[n]=a}catch{}delete e.dataset.a11yOrigStyle}),document.querySelectorAll("marquee").forEach(e=>{try{e.start?.()}catch{}}),document.querySelectorAll("svg").forEach(e=>{try{e.unpauseAnimations?.()}catch{}}),function(){for(const[e,t]of l)try{e.src=t}catch{}l.clear()}(),o&&(HTMLVideoElement.prototype.play=o,o=null),document.querySelectorAll("video[data-a11y-paused]").forEach(e=>{try{e.play()}catch{}delete e.dataset.a11yPaused}),c=[],document.getElementById(t)?.remove(),localStorage.removeItem(n)}return{id:"animation-stop",name:()=>"Stop Animations",description:"Pause all animations, transitions, and auto-playing videos (WCAG 2.3.1)",icon:"animation-stop",category:"visual",activate:y,deactivate:v,getState:()=>({id:"animation-stop",enabled:e}),setState:e=>{e.enabled?y():v()}}}},Symbol.toStringTag,{value:"Module"})),jr=Object.freeze(Object.defineProperty({__proto__:null,default:function(){let e=!1;const t="accessify-hide-images";let n=new Map,a=null;return{id:"hide-images",name:()=>"Hide Images",description:"Remove images for distraction-free reading",icon:"hide-images",category:"visual",activate:function(){e=!0;let i=document.getElementById(t);i||(i=document.createElement("style"),i.id=t,document.head.appendChild(i)),i.textContent='\n /* Standard image elements */\n img, picture, svg:not([aria-hidden="true"]), video, canvas,\n [role="img"], figure {\n opacity: 0 !important;\n pointer-events: none !important;\n }\n\n /* CSS background-images (inline styles) */\n [style*="background-image"] {\n background-image: none !important;\n }\n\n /* Lazy-load images that haven\'t loaded yet */\n img[data-src], img[data-lazy-src], img[data-original],\n img[loading="lazy"] {\n opacity: 0 !important;\n pointer-events: none !important;\n }\n ',function(){const e=document.querySelectorAll("*");for(const t of e){if(t.closest("#accessify-root"))continue;const e=getComputedStyle(t);e.backgroundImage&&"none"!==e.backgroundImage&&(n.set(t,t.style.backgroundImage),t.style.setProperty("background-image","none","important"))}}(),a||(a=new MutationObserver(t=>{if(e)for(const e of t)for(const t of e.addedNodes){if(!(t instanceof HTMLElement))continue;if(t.closest("#accessify-root"))continue;const e=getComputedStyle(t);e.backgroundImage&&"none"!==e.backgroundImage&&(n.set(t,t.style.backgroundImage),t.style.setProperty("background-image","none","important")),t.querySelectorAll("*").forEach(e=>{if(e.closest("#accessify-root"))return;const t=getComputedStyle(e);t.backgroundImage&&"none"!==t.backgroundImage&&(n.set(e,e.style.backgroundImage),e.style.setProperty("background-image","none","important"))})}}),a.observe(document.body,{childList:!0,subtree:!0}))},deactivate:function(){e=!1,a?.disconnect(),a=null,function(){for(const[e,t]of n)try{e.style.backgroundImage=t}catch{}n.clear()}(),document.getElementById(t)?.remove()},getState:()=>({id:"hide-images",enabled:e})}}},Symbol.toStringTag,{value:"Module"}));function Nr(e){return`data:image/svg+xml;base64,${btoa(`<svg xmlns="http://www.w3.org/2000/svg" width="${e}" height="${e}" viewBox="0 0 ${e} ${e}">\n <defs>\n <filter id="shadow" x="-20%" y="-20%" width="140%" height="140%">\n <feDropShadow dx="1" dy="1" stdDeviation="1" flood-color="#000" flood-opacity="0.5"/>\n </filter>\n </defs>\n <g filter="url(#shadow)">\n <path d="M ${.15*e} ${.05*e} L ${.15*e} ${.75*e} L ${.35*e} ${.6*e} L ${.55*e} ${.9*e} L ${.65*e} ${.85*e} L ${.45*e} ${.55*e} L ${.7*e} ${.5*e} Z"\n fill="white" stroke="black" stroke-width="${.04*e}" stroke-linejoin="round"/>\n </g>\n </svg>`)}`}const Or=Object.freeze(Object.defineProperty({__proto__:null,default:function(){let e=!1,t="48";const n="accessify-big-cursor",a="accessify-big-cursor",i={48:Nr(48),64:Nr(64)};function r(e){let t=document.getElementById(n);t||(t=document.createElement("style"),t.id=n,document.head.appendChild(t)),t.textContent=function(e){const t=parseInt(e,10),n=Math.round(.15*t);return`\n /* accessify big cursor */\n html, html * {\n cursor: url('${i[e]}') ${n} ${n}, auto !important;\n }\n html a, html a *, html button, html button *,\n html input[type="submit"], html input[type="button"],\n html [role="button"], html [role="button"] * {\n cursor: url('${i[e]}') ${n} ${n}, pointer !important;\n }\n `}(e)}return{id:"big-cursor",name:()=>"Big Cursor",description:"Enlarge the mouse cursor for easier visibility",icon:"big-cursor",category:"motor",activate:function(){e=!0;const n=localStorage.getItem(a);t="64"===n?"64":"48",r(t)},deactivate:function(){e=!1,function(){const e=document.getElementById(n);e?.remove()}(),localStorage.removeItem(a)},getState:()=>({id:"big-cursor",enabled:e,value:t}),setState:n=>{t="64"===n?"64":"48",e&&r(t),localStorage.setItem(a,t)}}}},Symbol.toStringTag,{value:"Module"})),Br=Object.freeze(Object.defineProperty({__proto__:null,default:function(){let e=!1,t=null;const n="accessify-page-structure";let a=null,i=null,r=null,o=null;const s=()=>p();let c="";function l(){return mi()}function d(){t=document.createElement("div"),t.id=n,t.setAttribute("role","dialog"),t.setAttribute("aria-label",vi("pageStructure.title",l()));const e=function(){const e=[];return document.querySelectorAll("h1, h2, h3, h4, h5, h6").forEach(t=>{if(t.closest("#accessify-root"))return;const n=t.textContent?.trim()||"";n&&e.push({tag:t.tagName.toLowerCase(),text:n,el:t})}),e}(),a=function(){const e=[];return document.querySelectorAll(["main","nav","aside","header","footer","section[aria-label]","section[aria-labelledby]",'[role="main"]','[role="navigation"]','[role="complementary"]','[role="banner"]','[role="contentinfo"]','[role="search"]'].join(",")).forEach(t=>{if(t.closest("#accessify-root"))return;const n=t.getAttribute("role")||t.tagName.toLowerCase(),a=t.getAttribute("aria-label")||t.getAttribute("aria-labelledby")||n;e.push({role:n,label:a,el:t})}),e}(),i={h1:"0",h2:"12px",h3:"24px",h4:"36px",h5:"48px",h6:"60px"};let r=`\n <style>\n #${n} {\n position: fixed; top: 50%; left: 50%;\n transform: translate(-50%, -50%);\n z-index: 999998;\n background: #fff; color: #1a1a1a;\n border-radius: 12px; box-shadow: 0 8px 32px rgba(0,0,0,0.2);\n padding: 24px; width: 400px; max-height: 80vh;\n overflow-y: auto; font-family: system-ui, sans-serif;\n font-size: 14px; line-height: 1.5;\n }\n #${n} h3 { margin: 0 0 12px; font-size: 16px; }\n #${n} .ps-section { margin-bottom: 16px; }\n #${n} .ps-label { font-size: 11px; text-transform: uppercase; letter-spacing: 0.5px; color: #888; margin-bottom: 6px; }\n #${n} .ps-item {\n display: block; width: 100%; text-align: left;\n padding: 6px 8px; border: none; background: none;\n cursor: pointer; border-radius: 6px; font-size: 13px;\n color: #1a1a1a; font-family: inherit;\n }\n #${n} .ps-item:hover { background: #f0f0f2; }\n #${n} .ps-item:focus-visible { outline: 2px solid #0055CC; outline-offset: 1px; }\n #${n} .ps-tag { color: #888; font-size: 11px; margin-right: 6px; }\n #${n} .ps-close {\n position: absolute; top: 12px; right: 12px;\n background: none; border: none; cursor: pointer;\n font-size: 18px; color: #888; padding: 4px 8px; border-radius: 4px;\n }\n #${n} .ps-close:hover { background: #f0f0f2; }\n @media (prefers-color-scheme: dark) {\n #${n} { background: #1a1a1a; color: #f0f0f0; }\n #${n} .ps-item { color: #f0f0f0; }\n #${n} .ps-item:hover { background: #2a2a2e; }\n #${n} .ps-close { color: #aaa; }\n #${n} .ps-close:hover { background: #2a2a2e; }\n }\n </style>\n <button class="ps-close" aria-label="${vi("widget.close",l())}">&times;</button>\n <h3>${vi("pageStructure.title",l())}</h3>\n `;e.length>0&&(r+=`<div class="ps-section"><div class="ps-label">${vi("pageStructure.headings",l())}</div>`,e.forEach((e,t)=>{r+=`<button class="ps-item" data-type="heading" data-index="${t}" style="padding-left:${i[e.tag]||"0"}">\n <span class="ps-tag">${e.tag}</span>${u(e.text.slice(0,80))}\n </button>`}),r+="</div>"),a.length>0&&(r+=`<div class="ps-section"><div class="ps-label">${vi("pageStructure.landmarks",l())}</div>`,a.forEach((e,t)=>{r+=`<button class="ps-item" data-type="landmark" data-index="${t}">\n <span class="ps-tag">${u(e.role)}</span>${u(e.label.slice(0,60))}\n </button>`}),r+="</div>"),0===e.length&&0===a.length&&(r+=`<p style="color:#888">${vi("pageStructure.empty",l())}</p>`),t.innerHTML=r,t.addEventListener("click",t=>{const n=t.target.closest(".ps-item");if(n){const t=n.dataset.type,i=parseInt(n.dataset.index||"0",10);let r;"heading"===t?r=e[i]?.el:"landmark"===t&&(r=a[i]?.el),r&&(r.scrollIntoView({behavior:"smooth",block:"center"}),r.focus({preventScroll:!0}))}t.target.closest(".ps-close")&&h()}),document.body.appendChild(t);const o=t.querySelector(".ps-item, .ps-close");o?.focus()}function u(e){return e.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}function f(){const e=document.querySelectorAll("h1, h2, h3, h4, h5, h6");let t="";return e.forEach(e=>{t+=e.textContent?.trim().slice(0,20)||""}),t}function p(){e&&t&&(i&&clearTimeout(i),i=setTimeout(()=>{const e=f();e!==c&&(c=e,t?.remove(),d())},300))}function h(){e=!1,a?.disconnect(),a=null,i&&(clearTimeout(i),i=null),r&&(history.pushState=r,r=null),o&&(history.replaceState=o,o=null),window.removeEventListener("popstate",s),t?.remove(),t=null}return{id:"page-structure",name:()=>"Page Structure",description:"View headings and landmarks for quick navigation",icon:"page-structure",category:"motor",activate:function(){e=!0,c=f(),d(),function(){if(a)return;a=new MutationObserver(()=>p());const e=document.querySelector("main")||document.body;a.observe(e,{childList:!0,subtree:!0})}(),r||(r=history.pushState,history.pushState=function(...e){r.apply(this,e),p()}),o||(o=history.replaceState,history.replaceState=function(...e){o.apply(this,e),p()}),window.addEventListener("popstate",s)},deactivate:h,getState:()=>({id:"page-structure",enabled:e})}}},Symbol.toStringTag,{value:"Module"})),Wr={speed:1},Kr=Object.freeze(Object.defineProperty({__proto__:null,default:function(){let e=!1,t={...Wr},n=null,a=null,i=!1,r=!1,o=!0,s=[],c=0,l=null,d="en";const u="accessify-tts",f="accessify-tts-controls",p="accessify-tts-styles",h="accessify-tts-highlight";function g(){speechSynthesis.cancel(),i=!1,r=!1,s=[],c=0,v(),x()}function m(e,n){if(g(),!e.trim())return;var o;n&&(o=n,v(),o.classList.add(h),a=o);const u=function(e){const t=e.match(/[^.!?]*[.!?]+[\s]?|[^.!?]+$/g);if(!t)return[e];const n=[];let a="";for(const i of t){const e=i.trim();e&&(a+=(a?" ":"")+e,(a.length>80||/[.!?]$/.test(a))&&(n.push(a),a=""))}return a.trim()&&n.push(a.trim()),n.length>0?n:[e]}(e).slice(0,50);s=u.map(e=>{const n=new SpeechSynthesisUtterance(e);return n.rate=t.speed,n.lang=d,l&&(n.voice=l),n}),c=0,i=!0,r=!1,x(),y()}function y(){if(c>=s.length)return i=!1,r=!1,v(),void x();const e=s[c];let t=null,n=!1;function a(){n||(n=!0,t&&(clearTimeout(t),t=null))}t=setTimeout(()=>{n||(a(),speechSynthesis.cancel(),c++,c<s.length&&i?setTimeout(()=>y(),100):(i=!1,r=!1,v(),x()))},2e4),e.onend=()=>{a(),c++,c<s.length&&i?setTimeout(()=>y(),50):(i=!1,r=!1,v(),x())},e.onerror=e=>{a(),"interrupted"!==e.error&&"canceled"!==e.error&&(c++,c<s.length&&i)?setTimeout(()=>y(),100):(i=!1,r=!1,v(),x())},speechSynthesis.speak(e)}function v(){a&&(a.classList.remove(h),a=null),document.querySelectorAll(`.${h}`).forEach(e=>e.classList.remove(h))}function b(t){if(!e||!o)return;const a=t.target;if(!a)return;if(n?.contains(a))return;const i=document.getElementById("accessify-root");if(i&&(i===a||i.contains(a)))return;const r=a.tagName;if("A"===r||"BUTTON"===r||"INPUT"===r||"SELECT"===r||"TEXTAREA"===r||a.closest('a, button, input, select, textarea, [role="button"]'))return;t.preventDefault();const s=function(e){if(w(e).trim().length>0)return e;let t=e;for(;t&&t!==document.body;){if(w(t).trim().length>0)return t;t=t.parentElement}return null}(a);if(!s)return;const c=w(s);c.trim()&&m(c,s)}function w(e){return(e.innerText||e.textContent||"").trim()}function x(){if(!n)return;const e=n.querySelector(".accessify-tts-play"),t=n.querySelector(".accessify-tts-hint");e&&(i&&!r?(e.innerHTML='<svg width="16" height="16" viewBox="0 0 24 24" fill="currentColor" stroke="none" aria-hidden="true"><rect x="5" y="3" width="4" height="18"/><rect x="15" y="3" width="4" height="18"/></svg>',e.setAttribute("aria-label","Pause"),e.title="Pause"):i&&r?(e.innerHTML='<svg width="16" height="16" viewBox="0 0 24 24" fill="currentColor" stroke="none" aria-hidden="true"><polygon points="6,3 20,12 6,21"/></svg>',e.setAttribute("aria-label","Resume"),e.title="Resume"):(e.innerHTML='<svg width="16" height="16" viewBox="0 0 24 24" fill="currentColor" stroke="none" aria-hidden="true"><polygon points="6,3 20,12 6,21"/></svg>',e.setAttribute("aria-label","Play / Pause"),e.title="Play / Pause")),t&&(t.textContent=i&&!r?"Speaking...":r?"Paused":"Click any text to read it aloud")}function k(){localStorage.setItem(u,JSON.stringify({speed:t.speed}))}return{id:"tts",name:()=>"Text-to-Speech",description:"Click any text to hear it read aloud with adjustable speed",icon:"tts",category:"cognitive",activate:function(){e||(e=!0,function(){const e=localStorage.getItem(u);if(e)try{const n=JSON.parse(e);t.speed=Math.min(2,Math.max(.5,n.speed??Wr.speed))}catch{t={...Wr}}}(),d=function(){const e=document.documentElement.lang;if(e)return e.toLowerCase();const t=document.querySelector('meta[http-equiv="content-language"]');return t?.content?t.content.toLowerCase():"en"}(),function(e=3e3){return new Promise(t=>{if(speechSynthesis.getVoices().length>0)return void t();let n=!1;const a=()=>{n||(n=!0,t())};speechSynthesis.addEventListener("voiceschanged",a,{once:!0}),setTimeout(a,e)})}().then(()=>{l=function(e){const t=speechSynthesis.getVoices();if(0===t.length)return null;const n=e.split("-")[0];if("de"===n){const e=t.find(e=>e.lang.toLowerCase().startsWith("de-de")&&!1===e.localService);if(e)return e;const n=t.find(e=>e.lang.toLowerCase().startsWith("de-de"));if(n)return n;const a=t.find(e=>e.lang.toLowerCase().startsWith("de"));if(a)return a}return t.find(t=>t.lang.toLowerCase()===e)||t.find(e=>e.lang.toLowerCase().startsWith(n))||t[0]||null}(d)}),function(){let e=document.getElementById(p);e||(e=document.createElement("style"),e.id=p,document.head.appendChild(e)),e.textContent=`\n /* accessify TTS styles */\n .${h} {\n background-color: rgba(78, 168, 222, 0.15) !important;\n outline: 2px solid rgba(78, 168, 222, 0.5) !important;\n outline-offset: 2px !important;\n border-radius: 3px !important;\n transition: background-color 0.2s ease, outline-color 0.2s ease !important;\n }\n\n #${f} .accessify-tts-btn {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n width: 28px;\n height: 28px;\n padding: 0;\n margin: 0;\n border: 1px solid rgba(255,255,255,0.15);\n border-radius: 6px;\n background: rgba(255,255,255,0.08);\n color: #f0f0f0;\n cursor: pointer;\n transition: background 0.15s ease, border-color 0.15s ease;\n line-height: 1;\n }\n\n #${f} .accessify-tts-btn:hover {\n background: rgba(255,255,255,0.18);\n border-color: rgba(255,255,255,0.3);\n }\n\n #${f} .accessify-tts-btn:focus-visible {\n outline: 2px solid #4ea8de;\n outline-offset: 1px;\n }\n\n #${f} .accessify-tts-btn:active {\n background: rgba(255,255,255,0.25);\n }\n `}(),n=function(){const e=document.createElement("div");e.id=f,e.setAttribute("role","toolbar"),e.setAttribute("aria-label","Text-to-Speech controls"),Object.assign(e.style,{position:"fixed",top:"0",left:"50%",transform:"translateX(-50%)",zIndex:"2147483646",display:"flex",alignItems:"center",gap:"6px",padding:"6px 14px",background:"#1a1a2e",color:"#f0f0f0",borderRadius:"0 0 10px 10px",boxShadow:"0 4px 16px rgba(0,0,0,0.3)",fontFamily:"system-ui, -apple-system, sans-serif",fontSize:"13px",lineHeight:"1",userSelect:"none",transition:"opacity 0.2s ease"});const n=document.createElement("button");n.className="accessify-tts-btn accessify-tts-play",n.setAttribute("aria-label","Play / Pause"),n.title="Play / Pause",n.innerHTML='<svg width="16" height="16" viewBox="0 0 24 24" fill="currentColor" stroke="none" aria-hidden="true"><polygon points="6,3 20,12 6,21"/></svg>',n.addEventListener("click",()=>{i&&i&&(r?(speechSynthesis.resume(),r=!1):(speechSynthesis.pause(),r=!0),x())});const a=document.createElement("button");a.className="accessify-tts-btn accessify-tts-stop",a.setAttribute("aria-label","Stop"),a.title="Stop",a.innerHTML='<svg width="16" height="16" viewBox="0 0 24 24" fill="currentColor" stroke="none" aria-hidden="true"><rect x="4" y="4" width="16" height="16" rx="2"/></svg>',a.addEventListener("click",()=>{g()});const o=document.createElement("div");Object.assign(o.style,{display:"flex",alignItems:"center",gap:"4px",marginLeft:"4px"});const c=document.createElement("label");c.textContent="Speed",c.setAttribute("for","accessify-tts-speed"),Object.assign(c.style,{fontSize:"11px",opacity:"0.8",whiteSpace:"nowrap"});const l=document.createElement("input");l.type="range",l.id="accessify-tts-speed",l.min="0.5",l.max="2",l.step="0.1",l.value=String(t.speed),l.setAttribute("aria-label","Speech speed"),Object.assign(l.style,{width:"70px",accentColor:"#4ea8de",cursor:"pointer"});const d=document.createElement("span");d.className="accessify-tts-speed-val",d.textContent=`${t.speed.toFixed(1)}x`,Object.assign(d.style,{fontSize:"11px",minWidth:"30px",textAlign:"center",opacity:"0.8"}),l.addEventListener("input",()=>{const e=parseFloat(l.value);t.speed=e,d.textContent=`${e.toFixed(1)}x`,k();for(const t of s)t.rate=e}),o.appendChild(c),o.appendChild(l),o.appendChild(d);const u=document.createElement("div");Object.assign(u.style,{width:"1px",height:"18px",background:"rgba(255,255,255,0.2)",margin:"0 4px"});const p=document.createElement("span");p.className="accessify-tts-hint",p.textContent="Click any text to read it aloud",Object.assign(p.style,{fontSize:"11px",opacity:"0.6",whiteSpace:"nowrap"});const h=document.createElement("span");return Object.assign(h.style,{position:"absolute",width:"1px",height:"1px",padding:"0",margin:"-1px",overflow:"hidden",clip:"rect(0,0,0,0)",whiteSpace:"nowrap",border:"0"}),h.textContent="For full screen reader support, use NVDA, JAWS, or VoiceOver",e.appendChild(n),e.appendChild(a),e.appendChild(u),e.appendChild(o),e.appendChild(u.cloneNode(!0)),e.appendChild(p),e.appendChild(h),e}(),document.documentElement.appendChild(n),o=!0,document.addEventListener("click",b,!0))},deactivate:function(){e=!1,g(),document.removeEventListener("click",b,!0),o=!1,n&&(n.remove(),n=null),v(),function(){const e=document.getElementById(p);e?.remove()}(),l=null},getState:()=>({id:"tts",enabled:e,value:{speed:t.speed}}),setState:e=>{if(void 0!==e.speed){t.speed=Math.min(2,Math.max(.5,e.speed)),k();const a=document.getElementById("accessify-tts-speed");a&&(a.value=String(t.speed));const i=n?.querySelector(".accessify-tts-speed-val");i&&(i.textContent=`${t.speed.toFixed(1)}x`)}}}}},Symbol.toStringTag,{value:"Module"})),Dr=Object.freeze(Object.defineProperty({__proto__:null,default:function(e,t="de"){let n=!1,a="einfache",i=[],r=null,o=null,s=0,c=null,l=null;const d=new Map,u="accessify-text-simplify",f="data-accessify-simplified",p="data-accessify-original",h="data-accessify-block-hash",g="blocks";function m(){return new Promise((e,t)=>{const n=indexedDB.open("accessify-simplify-cache",1);n.onupgradeneeded=()=>{const e=n.result;e.objectStoreNames.contains(g)||e.createObjectStore(g)},n.onsuccess=()=>e(n.result),n.onerror=()=>t(n.error)})}async function y(e){try{const t=await m();return new Promise(n=>{const a=t.transaction(g,"readonly").objectStore(g).get(e);a.onsuccess=()=>n(a.result??null),a.onerror=()=>n(null)})}catch{return null}}async function v(e,t){try{(await m()).transaction(g,"readwrite").objectStore(g).put(t,e)}catch{}}function b(e){return`${window.location.origin+window.location.pathname}:simplify:${a}:${e}`}function w(e){const t=e.replace(/\s+/g," ").trim().toLowerCase();let n=5381;for(let a=0;a<t.length;a++)n=(n<<5)+n+t.charCodeAt(a)&2147483647;return n.toString(36)}function x(e,t){const n=e.replace(/\s+/g," ").trim(),a=t.replace(/\s+/g," ").trim();if(n===a)return 0;if(n.length>500||a.length>500){const e=Math.abs(n.length-a.length);if(e>3)return e;let t=e;const i=Math.min(n.length,a.length);for(let r=0;r<i;r++)if(n[r]!==a[r]&&t++,t>3)return t;return t}const i=n.length,r=a.length;if(Math.abs(i-r)>3)return Math.abs(i-r);const o=Array.from({length:r+1},(e,t)=>t);for(let s=1;s<=i;s++){let e=o[0];o[0]=s;for(let t=1;t<=r;t++){const i=o[t];o[t]=n[s-1]===a[t-1]?e:1+Math.min(e,o[t],o[t-1]),e=i}if(Math.min(...o)>3)return 4}return o[r]}function k(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_TEXT,null);let a;for(;a=n.nextNode();){const e=a.nodeValue?.trim();e&&e.length>0&&t.push(a)}return t}function S(e){return{scrollHeight:e.scrollHeight,clientHeight:e.clientHeight}}function A(e){let t=e;for(;t&&t!==document.body;){const e=getComputedStyle(t),n=e.overflow+" "+e.overflowY,a=n.includes("hidden")||n.includes("clip"),i="none"!==e.maxHeight||"auto"!==e.height&&""!==e.height&&!e.height.includes("%");if(a&&i)return t;t=t.parentElement}return null}function M(e,t){const n=getComputedStyle(e);"none"!==n.maxHeight&&(t.push({el:e,property:"maxHeight",originalValue:e.style.maxHeight}),e.style.maxHeight="none"),(n.overflow.includes("hidden")||n.overflowY.includes("hidden"))&&(t.push({el:e,property:"overflow",originalValue:e.style.overflow}),e.style.overflow="visible");const a=S(e);return a.scrollHeight<=a.clientHeight+2?{safe:!0,patches:t}:(C(t),{safe:!1,patches:[]})}function C(e){for(const t of e)t.el.style[t.property]=t.originalValue}function E(e,t,n){const a=e.innerHTML,r=k(e).map(e=>({node:e,original:e.data}));e.setAttribute("data-accessify-replacing","true"),function(e,t){const n=k(e);if(0===n.length)return;if(1===n.length)return void(n[0].nodeValue=t);const a=t.match(/[^.!?]+[.!?]*\s*/g)||[t],i=n.reduce((e,t)=>e+(t.nodeValue?.trim().length||0),0);if(0===i){n[0].nodeValue=t;for(let e=1;e<n.length;e++)n[e].nodeValue="";return}let r=0;for(let o=0;o<n.length;o++){const e=(n[o].nodeValue?.trim().length||0)/i,t=Math.max(1,Math.round(e*a.length)),s=a.slice(r,r+t).join("");n[o].nodeValue=s||"",r+=t}if(r<a.length){const e=n[n.length-1];e.nodeValue=(e.nodeValue||"")+a.slice(r).join("")}}(e,t);const{safe:o,patches:l}=function(e){const t=[],n=S(e);if(!(n.scrollHeight>n.clientHeight+2)){const n=A(e);if(!n)return{safe:!0,patches:[]};const a=S(n);return a.scrollHeight<=a.clientHeight+2?{safe:!0,patches:[]}:M(n,t)}const a=A(e);return a?M(a,t):{safe:!0,patches:[]}}(e);if(!o){for(const e of r)e.node.parentNode&&(e.node.data=e.original);return setTimeout(()=>e.removeAttribute("data-accessify-replacing"),0),s++,!1}return e.setAttribute(f,"true"),e.setAttribute(p,a),n&&e.setAttribute(h,n),i.push({el:e,originalHtml:a,savedTextNodes:r,ancestorPatches:l}),c?.observe(e),setTimeout(()=>e.removeAttribute("data-accessify-replacing"),0),!0}function T(e){if(e.savedTextNodes.length>0)for(const t of e.savedTextNodes)t.node.parentNode&&(t.node.data=t.original);else e.el.innerHTML=e.originalHtml;e.el.removeAttribute(f),e.el.removeAttribute(p),e.el.removeAttribute(h),C(e.ancestorPatches),c?.unobserve(e.el),i=i.filter(t=>t.el!==e.el)}const _=new Map;function $(e,t,n,i,r){const o=window.location.origin+window.location.pathname;fetch(`${r||"https://accessify-api.accessify.workers.dev"}/v1/cache/persist`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({siteKey:e,url:o,feature:"simplify",variant:a,blockHash:t,originalText:n,result:i})}).catch(e=>{})}function I(e){e.style.opacity="0.5",e.style.transition="opacity 0.3s ease"}function z(e){e.style.opacity="",e.style.transition=""}function L(e,n,a=0){o||(o=document.createElement("div"),o.setAttribute("role","status"),o.setAttribute("aria-live","polite"),Object.assign(o.style,{position:"fixed",bottom:"80px",right:"24px",zIndex:"2147483645",padding:"10px 18px",background:"#1a1a2e",color:"#4ea8de",borderRadius:"10px",boxShadow:"0 4px 20px rgba(0,0,0,0.3)",fontFamily:"system-ui, -apple-system, sans-serif",fontSize:"13px",fontWeight:"600",display:"flex",alignItems:"center",gap:"8px"}),document.body.appendChild(o));const i=Math.round(e/n*100),r=a>0?t.startsWith("de")?` (${a} übersprungen)`:` (${a} skipped)`:"",s=t.startsWith("de")?`Wird vereinfacht... ${e}/${n} (${i}%)${r}`:`Simplifying... ${e}/${n} (${i}%)${r}`;if(o.innerHTML=`<span style="display:inline-block;width:14px;height:14px;border:2px solid rgba(78,168,222,0.3);border-top-color:#4ea8de;border-radius:50%;animation:accessify-autospin 0.6s linear infinite"></span> ${s}`,!document.getElementById("accessify-autospin-style")){const e=document.createElement("style");e.id="accessify-autospin-style",e.textContent="@keyframes accessify-autospin { to { transform: rotate(360deg); } }",document.head.appendChild(e)}}function P(e,n){if(o){const a=n>0?t.startsWith("de")?` (${n} aus Cache)`:` (${n} from cache)`:"",i=s>0?t.startsWith("de")?`, ${s} übersprungen`:`, ${s} skipped`:"",r=t.startsWith("de")?`${e} Textabschnitte vereinfacht${a}${i}`:`${e} text sections simplified${a}${i}`;o.innerHTML=`<span style="color:#22c55e">&#x2713;</span> ${r}`,o.style.color="#22c55e",setTimeout(()=>H(),3e3)}}function H(){o?.remove(),o=null,document.getElementById("accessify-autospin-style")?.remove()}return{id:"text-simplify",name:()=>t.startsWith("de")?"Text vereinfachen":"Simplify Text",description:t.startsWith("de")?"Text in Einfache Sprache umwandeln":"Simplify text for easier understanding",icon:"simplify-text",category:"ai",activate:function(){n||(n=!0,function(){try{const e=localStorage.getItem(u);if(e){const t=JSON.parse(e);"einfache"!==t.level&&"leichte"!==t.level||(a=t.level)}}catch{}}(),async function(){const n=function(){const e=[],t=new Set;return document.querySelectorAll("p, li, td, th, blockquote, figcaption, .hero-subtitle, h1, h2, h3, h4, h5, h6").forEach(n=>{const a=n;if(a.closest("#accessify-root"))return;if(null===a.offsetParent&&"fixed"!==a.style.display)return;if((a.textContent?.trim()||"").length<20)return;if(t.has(a))return;let i=!1;for(const e of t)if(e.contains(a)){i=!0;break}i||(t.add(a),e.push(a))}),e}();if(0===n.length)return;r=new AbortController,i=[],s=0,c||(c=new ResizeObserver(e=>{for(const t of e){const e=t.target;if(!e.hasAttribute(f))continue;const n=i.find(t=>t.el===e);if(!n)continue;const a=A(e);if(a){const e=S(a);e.scrollHeight>e.clientHeight+2&&(T(n),s++)}}})),l||(l=new MutationObserver(e=>{for(const t of e){for(const e of t.removedNodes){if(!(e instanceof HTMLElement))continue;const t=i.findIndex(t=>t.el===e||e.contains(t.el));if(-1!==t){const e=i[t];c?.unobserve(e.el),e.el.removeAttribute(f),e.el.removeAttribute(p),e.el.removeAttribute(h),C(e.ancestorPatches),i.splice(t,1)}}if("characterData"===t.type||"childList"===t.type){const e=t.target instanceof HTMLElement?t.target:t.target.parentElement;if(!e)continue;const n=e.closest(`[${f}]`);if(n){const e=i.find(e=>e.el===n);e&&!n.hasAttribute("data-accessify-replacing")&&(c?.unobserve(e.el),e.el.removeAttribute(f),e.el.removeAttribute(p),e.el.removeAttribute(h),C(e.ancestorPatches),i=i.filter(e=>e.el!==n))}}}}),l.observe(document.body,{childList:!0,subtree:!0,characterData:!0}));const{siteKey:d,proxyUrl:u}=function(){const e=document.querySelector("script[data-site-key]");return{siteKey:e?.getAttribute("data-site-key")||window.Accessify?.config?.siteKey||void 0,proxyUrl:e?.getAttribute("data-proxy-url")||window.Accessify?.config?.proxyUrl||void 0}}();let g=0,m=n;const k=new Set;if(d){L(0,n.length);const e=await async function(e,t){const n=`${e}:${a}`;if(_.has(n))return _.get(n);const i=`${t||"https://accessify-api.accessify.workers.dev"}/v1/manifest?siteKey=${e}&url=${encodeURIComponent(window.location.origin+window.location.pathname)}&feature=simplify&variant=${a}`;try{const e=await fetch(i,{cache:"no-cache"});if(!e.ok)return _.set(n,null),null;const t=await e.json(),a=t.blocks?.length?t:null;return _.set(n,a),a}catch{return _.set(n,null),null}}(d,u);if(e?.blocks?.length){const t=function(e,t){const n=[],a=[],i=[],r=new Map,o=new Map;for(const s of e.blocks)r.set(s.blockHash,s),s.selector&&o.set(s.selector,s);for(const s of t){const e=s.textContent?.trim()||"",t=w(e),c=r.get(t);if(c?.result){E(s,c.result,t)?n.push(s):a.push(s);continue}let l;for(const[n,a]of o)try{if(s.matches(n)||s.closest(n)===s){l=a;break}}catch{}l?.result&&l.originalText?x(e,l.originalText)<=3?E(s,l.result,t)?n.push(s):a.push(s):i.push(s):a.push(s)}return{applied:n,remaining:a,stale:i}}(e,n);g=t.applied.length;for(const e of t.stale)k.add(e);m=[...t.stale,...t.remaining];for(const n of e.blocks)n.result&&v(b(n.blockHash),n.result);if(0===m.length)return void P(g,g)}}{const e=[];for(const t of m){const n=t.textContent?.trim()||"";if(n.length<20){e.push(t);continue}const a=w(n),i=await y(b(a));i&&E(t,i,a)?g++:e.push(t)}if(m=e,0===m.length)return void P(g,g)}if(!e&&m.length>0)return k.size>0&&(s+=k.size),void(g>0?P(g,g):(L(0,1),M=t.startsWith("de")?"Kein API-Key konfiguriert":"No API key configured",o&&(o.innerHTML=`<span style="color:#ef4444">&#x2715;</span> ${M}`,o.style.color="#ef4444",setTimeout(()=>H(),5e3))));var M;for(const e of m)I(e);const j=n.length;let N=g,O=g;const B=e=>k.has(e);L(N,j,s);for(const i of m){if(r.signal.aborted)break;const n=i.textContent?.trim()||"";if(n.length<20){z(i),N++,L(N,j,s);continue}const o=w(n);try{const s=await e.simplifyText(n,a,t);if(r?.signal.aborted)return;s&&s!==n&&E(i,s,o)&&(O++,v(b(o),s),d&&$(d,o,n,s,u))}catch(W){if(W?.message?.includes("401")||W?.message?.includes("403")){for(const e of m)B(e)&&!e.hasAttribute(f)&&s++;z(i),N++;break}if(W?.message?.includes("429")){await new Promise(e=>setTimeout(e,8e3));try{const s=await e.simplifyText(n,a,t);if(r?.signal.aborted)return;s&&s!==n&&E(i,s,o)&&(O++,v(b(o),s),d&&$(d,o,n,s,u))}catch{B(i)&&s++}}else B(i)&&s++}finally{z(i),N++,r?.signal.aborted||(L(N,j,s),await new Promise(e=>setTimeout(e,600)))}}for(const e of m)z(e);r?.signal.aborted||P(O,g)}())},deactivate:function(){n=!1,r?.abort(),r=null,function(){c&&(c.disconnect(),c=null),l&&(l.disconnect(),l=null),d.clear();for(const{el:e,originalHtml:t,savedTextNodes:n,ancestorPatches:a}of i){if(n.length>0){let a=!0;for(const e of n)e.node.parentNode?e.node.data=e.original:a=!1;a||(e.innerHTML=t)}else e.innerHTML=t;e.removeAttribute(p),e.removeAttribute(f),e.removeAttribute(h),e.removeAttribute("data-accessify-replacing"),z(e),C(a)}i=[],s=0}(),H()},getState:()=>({id:"text-simplify",enabled:n,value:{level:a}}),setState:e=>{!e.level||"einfache"!==e.level&&"leichte"!==e.level||(a=e.level,localStorage.setItem(u,JSON.stringify({level:a})))}}}},Symbol.toStringTag,{value:"Module"}));return e.destroy=Ar,e.init=Sr,Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),e}({});
1
+ var Accessify=function(e){"use strict";var t,n,a,i,r,o,s,c,l,d,u,f,p,h,g,m,y,v,b,w,x,k,S,A,M,C,E,T,_,$,I,z,L,P,H,N,j,O,B,W,K,D,F,q,R,U=Object.defineProperty,G=e=>{throw TypeError(e)},V=(e,t,n)=>((e,t,n)=>t in e?U(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n)(e,"symbol"!=typeof t?t+"":t,n),J=(e,t,n)=>t.has(e)||G("Cannot "+n),Y=(e,t,n)=>(J(e,t,"read from private field"),n?n.call(e):t.get(e)),X=(e,t,n)=>t.has(e)?G("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),Z=(e,t,n,a)=>(J(e,t,"write to private field"),a?a.call(e,n):t.set(e,n),n),Q=(e,t,n)=>(J(e,t,"access private method"),n);const ee=globalThis.process?.env?.NODE_ENV,te=ee&&!ee.toLowerCase().startsWith("prod");var ne=Array.isArray,ae=Array.prototype.indexOf,ie=Array.prototype.includes,re=Array.from,oe=Object.defineProperty,se=Object.getOwnPropertyDescriptor,ce=Object.getOwnPropertyDescriptors,le=Object.prototype,de=Array.prototype,ue=Object.getPrototypeOf,fe=Object.isExtensible;const pe=()=>{};function he(){var e,t;return{promise:new Promise((n,a)=>{e=n,t=a}),resolve:e,reject:t}}const ge=32,me=512,ye=1024,ve=2048,be=4096,we=8192,xe=16384,ke=32768,Se=1<<25,Ae=65536,Me=1<<17,Ce=1<<19,Ee=1<<25,Te=65536,_e=1<<21,$e=1<<23,Ie=Symbol("$state"),ze=Symbol("legacy props"),Le=Symbol(""),Pe=Symbol("proxy path"),He=new class extends Error{constructor(){super(...arguments),V(this,"name","StaleReactionError"),V(this,"message","The reaction that called `getAbortSignal()` was re-run or destroyed")}};function Ne(e,t,n){if(te){const a=new Error(`each_key_duplicate\n${n?`Keyed each block has duplicate key \`${n}\` at indexes ${e} and ${t}`:`Keyed each block has duplicate key at indexes ${e} and ${t}`}\nhttps://svelte.dev/e/each_key_duplicate`);throw a.name="Svelte error",a}throw new Error("https://svelte.dev/e/each_key_duplicate")}function je(e,t,n){if(te){const a=new Error(`each_key_volatile\nKeyed each block has key that is not idempotent — the key for item at index ${e} was \`${t}\` but is now \`${n}\`. Keys must be the same each time for a given item\nhttps://svelte.dev/e/each_key_volatile`);throw a.name="Svelte error",a}throw new Error("https://svelte.dev/e/each_key_volatile")}const Oe=Symbol(),Be=Symbol("filename"),We="http://www.w3.org/1999/xhtml";function Ke(e){}function De(e){return e===this.v}function Fe(e){return n=this.v,!((t=e)!=t?n==n:t!==n||null!==t&&"object"==typeof t||"function"==typeof t);var t,n}function qe(e,t){return e.label=t,Re(e.v,t),e}function Re(e,t){return e?.[Pe]?.(t),e}function Ue(e,t){if(!te)throw new Error("invariant(...) was not guarded by if (DEV)");e||function(e){if(te){const t=new Error(`invariant_violation\nAn invariant violation occurred, meaning Svelte's internal assumptions were flawed. This is a bug in Svelte, not your app — please open an issue at https://github.com/sveltejs/svelte, citing the following message: "${e}"\nhttps://svelte.dev/e/invariant_violation`);throw t.name="Svelte error",t}throw new Error("https://svelte.dev/e/invariant_violation")}(t)}let Ge=null;function Ve(e){Ge=e}let Je=null;function Ye(e){Je=e}let Xe=null;function Ze(e){Xe=e}function Qe(e,t=!1,n){Ge={p:Ge,i:!1,c:null,e:null,s:e,x:null,r:Un,l:null},te&&(Ge.function=n,Xe=n)}function et(e){var t=Ge,n=t.e;if(null!==n)for(var a of(t.e=null,n))Mn(a);return void 0!==e&&(t.x=e),t.i=!0,Ge=t.p,te&&(Xe=Ge?.function??null),e??{}}let tt=[];function nt(e){if(0===tt.length){var t=tt;queueMicrotask(()=>{t===tt&&function(){var e=tt;tt=[],function(e){for(var t=0;t<e.length;t++)e[t]()}(e)}()})}tt.push(e)}const at=new WeakMap;function it(e){var t=Un;if(null===t)return Fn.f|=$e,e;if(te&&e instanceof Error&&!at.has(e)&&at.set(e,function(e,t){const n=se(e,"message");if(!n||n.configurable){for(var a=dn?" ":"\t",i=`\n${a}in ${t.fn?.name||"<unknown>"}`,r=t.ctx;null!==r;)i+=`\n${a}in ${r.function?.[Be].split("/").pop()}`,r=r.p;return{message:e.message+`\n${i}\n`,stack:e.stack?.split("\n").filter(e=>!e.includes("svelte/src/internal")).join("\n")}}}(e,t)),0===(t.f&ke)&&!(4&t.f))throw te&&!t.parent&&e instanceof Error&&ot(e),e;rt(e,t)}function rt(e,t){for(;null!==t;){if(128&t.f){if(0===(t.f&ke))throw e;try{return void t.b.error(e)}catch(n){e=n}}t=t.parent}throw te&&e instanceof Error&&ot(e),e}function ot(e){const t=at.get(e);t&&(oe(e,"message",{value:t.message}),oe(e,"stack",{value:t.stack}))}const st=-7169;function ct(e,t){e.f=e.f&st|t}function lt(e){ct(e,0!==(e.f&me)||null===e.deps?ye:be)}function dt(e){if(null!==e)for(const t of e)2&t.f&&0!==(t.f&Te)&&(t.f^=Te,dt(t.deps))}function ut(e,t,n){0!==(e.f&ve)?t.add(e):0!==(e.f&be)&&n.add(e),dt(e.deps),ct(e,ye)}let ft=!1;const pt=new Set;let ht=null,gt=null,mt=null,yt=!1,vt=null,bt=null;var wt=0,xt=te?new Set:null;let kt=1;const St=class e{constructor(){X(this,u),V(this,"id",kt++),V(this,"current",new Map),V(this,"previous",new Map),X(this,t,new Set),X(this,n,new Set),X(this,a,0),X(this,i,0),X(this,r,null),X(this,o,[]),X(this,s,new Set),X(this,c,new Set),X(this,l,new Map),V(this,"is_fork",!1),X(this,d,!1)}skip_effect(e){Y(this,l).has(e)||Y(this,l).set(e,{d:[],m:[]})}unskip_effect(e){var t=Y(this,l).get(e);if(t){for(var n of(Y(this,l).delete(e),t.d))ct(n,ve),this.schedule(n);for(n of t.m)ct(n,be),this.schedule(n)}}capture(e,t){t===Oe||this.previous.has(e)||this.previous.set(e,t),0===(e.f&$e)&&(this.current.set(e,e.v),gt?.set(e,e.v))}activate(){ht=this}deactivate(){ht=null,gt=null}flush(){var e=te?new Set:null;try{yt=!0,ht=this,Q(this,u,p).call(this)}finally{if(wt=0,mt=null,vt=null,bt=null,yt=!1,ht=null,gt=null,Ut.clear(),te)for(const t of e)t.updated=null}}discard(){for(const e of Y(this,n))e(this);Y(this,n).clear()}increment(e){Z(this,a,Y(this,a)+1),e&&Z(this,i,Y(this,i)+1)}decrement(e,t){Z(this,a,Y(this,a)-1),e&&Z(this,i,Y(this,i)-1),Y(this,d)||t||(Z(this,d,!0),nt(()=>{Z(this,d,!1),this.flush()}))}transfer_effects(e,t){for(const n of e)Y(this,s).add(n);for(const n of t)Y(this,c).add(n);e.clear(),t.clear()}oncommit(e){Y(this,t).add(e)}ondiscard(e){Y(this,n).add(e)}settled(){return(Y(this,r)??Z(this,r,he())).promise}static ensure(){if(null===ht){const t=ht=new e;yt||(pt.add(ht),nt(()=>{ht===t&&t.flush()}))}return ht}apply(){gt=null}schedule(e){if(mt=e,e.b?.is_pending&&16777228&e.f&&0===(e.f&ke))e.b.defer_effect(e);else{for(var t=e;null!==t.parent;){var n=(t=t.parent).f;if(!(null===vt||t!==Un||null!==Fn&&2&Fn.f))return;if(96&n){if(0===(n&ye))return;t.f^=ye}}Y(this,o).push(t)}}};t=new WeakMap,n=new WeakMap,a=new WeakMap,i=new WeakMap,r=new WeakMap,o=new WeakMap,s=new WeakMap,c=new WeakMap,l=new WeakMap,d=new WeakMap,u=new WeakSet,f=function(){return this.is_fork||Y(this,i)>0},p=function(){var e;if(wt++>1e3&&(pt.delete(this),function(){if(te){var e=new Map;for(const n of ht.current.keys())for(const[a,i]of n.updated??[]){var t=e.get(a);t||e.set(a,t={error:i.error,count:0}),t.count+=i.count}for(const t of e.values());}try{!function(){if(te){const e=new Error("effect_update_depth_exceeded\nMaximum update depth exceeded. This typically indicates that an effect reads and writes the same piece of state\nhttps://svelte.dev/e/effect_update_depth_exceeded");throw e.name="Svelte error",e}throw new Error("https://svelte.dev/e/effect_update_depth_exceeded")}()}catch(n){te&&oe(n,"stack",{value:""}),rt(n,mt)}}()),!Q(this,u,f).call(this)){for(const e of Y(this,s))Y(this,c).delete(e),ct(e,ve),this.schedule(e);for(const e of Y(this,c))ct(e,be),this.schedule(e)}const n=Y(this,o);Z(this,o,[]),this.apply();var i=vt=[],d=[],y=bt=[];for(const t of n)try{Q(this,u,h).call(this,t,i,d)}catch(w){throw It(t),w}if(ht=null,y.length>0){var v=St.ensure();for(const e of y)v.schedule(e)}if(vt=null,bt=null,Q(this,u,f).call(this)){Q(this,u,g).call(this,d),Q(this,u,g).call(this,i);for(const[e,t]of Y(this,l))$t(e,t)}else{0===Y(this,a)&&pt.delete(this),Y(this,s).clear(),Y(this,c).clear();for(const e of Y(this,t))e(this);Y(this,t).clear(),Ct(d),Ct(i),Y(this,r)?.resolve()}var b=ht;if(Y(this,o).length>0){const e=b??(b=this);Y(e,o).push(...Y(this,o).filter(t=>!Y(e,o).includes(t)))}if(null!==b){if(pt.add(b),te)for(const e of this.current.keys())xt.add(e);Q(e=b,u,p).call(e)}pt.has(this)||Q(this,u,m).call(this)},h=function(e,t,n){e.f^=ye;for(var a=e.first;null!==a;){var i=a.f,r=!!(96&i);if(!(r&&0!==(i&ye)||0!==(i&we)||Y(this,l).has(a))&&null!==a.fn){r?a.f^=ye:4&i?t.push(a):ia(a)&&(!!(16&i)&&Y(this,c).add(a),la(a));var o=a.first;if(null!==o){a=o;continue}}for(;null!==a;){var s=a.next;if(null!==s){a=s;break}a=a.parent}}},g=function(e){for(var t=0;t<e.length;t+=1)ut(e[t],Y(this,s),Y(this,c))},m=function(){var e;for(const l of pt){var t=l.id<this.id,n=[];for(const[e,a]of this.current){if(l.current.has(e)){if(!t||a===l.current.get(e))continue;l.current.set(e,a)}n.push(e)}if(0!==n.length){var a=[...l.current.keys()].filter(e=>!this.current.has(e));if(a.length>0){te&&Ue(0===Y(l,o).length,"Batch has scheduled roots"),l.activate();var i=new Set,r=new Map;for(var s of n)Et(s,a,i,r);if(Y(l,o).length>0){for(var c of(l.apply(),Y(l,o)))Q(e=l,u,h).call(e,c,[],[]);Z(l,o,[])}l.deactivate()}}}};let At=St,Mt=null;function Ct(e){var t=e.length;if(0!==t){for(var n=0;n<t;){var a=e[n++];if(!(24576&a.f)&&ia(a)&&(Mt=new Set,la(a),null===a.deps&&null===a.first&&null===a.nodes&&null===a.teardown&&null===a.ac&&Pn(a),Mt?.size>0)){Ut.clear();for(const e of Mt){if(24576&e.f)continue;const t=[e];let n=e.parent;for(;null!==n;)Mt.has(n)&&(Mt.delete(n),t.push(n)),n=n.parent;for(let e=t.length-1;e>=0;e--){const n=t[e];24576&n.f||la(n)}}Mt.clear()}}Mt=null}}function Et(e,t,n,a){if(!n.has(e)&&(n.add(e),null!==e.reactions))for(const i of e.reactions){const e=i.f;2&e?Et(i,t,n,a):4194320&e&&0===(e&ve)&&Tt(i,t,a)&&(ct(i,ve),_t(i))}}function Tt(e,t,n){const a=n.get(e);if(void 0!==a)return a;if(null!==e.deps)for(const i of e.deps){if(ie.call(t,i))return!0;if(2&i.f&&Tt(i,t,n))return n.set(i,!0),!0}return n.set(e,!1),!1}function _t(e){ht.schedule(e)}function $t(e,t){if(0===(e.f&ge)||0===(e.f&ye)){0!==(e.f&ve)?t.d.push(e):0!==(e.f&be)&&t.m.push(e),ct(e,ye);for(var n=e.first;null!==n;)$t(n,t),n=n.next}}function It(e){ct(e,ye);for(var t=e.first;null!==t;)It(t),t=t.next}class zt{constructor(e,t,n,a){X(this,L),V(this,"parent"),V(this,"is_pending",!1),V(this,"transform_error"),X(this,y),X(this,v,null),X(this,b),X(this,w),X(this,x),X(this,k,null),X(this,S,null),X(this,A,null),X(this,M,null),X(this,C,0),X(this,E,0),X(this,T,!1),X(this,_,new Set),X(this,$,new Set),X(this,I,null),X(this,z,function(e){let t,n=0,a=Jt(0);return te&&qe(a,"createSubscriber version"),()=>{kn()&&(da(a),Cn(()=>(0===n&&(t=pa(()=>e())),n+=1,()=>{nt(()=>{n-=1,0===n&&(t?.(),t=void 0,tn(a))})})))}}(()=>(Z(this,I,Jt(Y(this,C))),te&&qe(Y(this,I),"$effect.pending()"),()=>{Z(this,I,null)}))),Z(this,y,e),Z(this,b,t),Z(this,w,e=>{var t=Un;t.b=this,t.f|=128,n(e)}),this.parent=Un.b,this.transform_error=a??this.parent?.transform_error??(e=>e),Z(this,x,Tn(()=>{Q(this,L,P).call(this)},589824))}defer_effect(e){ut(e,Y(this,_),Y(this,$))}is_rendered(){return!this.is_pending&&(!this.parent||this.parent.is_rendered())}has_pending_snippet(){return!!Y(this,b).pending}update_pending_count(e,t){Q(this,L,j).call(this,e,t),Z(this,C,Y(this,C)+e),Y(this,I)&&!Y(this,T)&&(Z(this,T,!0),nt(()=>{Z(this,T,!1),Y(this,I)&&Qt(Y(this,I),Y(this,C))}))}get_effect_pending(){return Y(this,z).call(this),da(Y(this,I))}error(e){var t=Y(this,b).onerror;let n=Y(this,b).failed;if(!t&&!n)throw e;Y(this,k)&&(zn(Y(this,k)),Z(this,k,null)),Y(this,S)&&(zn(Y(this,S)),Z(this,S,null)),Y(this,A)&&(zn(Y(this,A)),Z(this,A,null));var a=!1,i=!1;const r=()=>{a||(a=!0,i&&function(){if(te){const e=new Error("svelte_boundary_reset_onerror\nA `<svelte:boundary>` `reset` function cannot be called while an error is still being handled\nhttps://svelte.dev/e/svelte_boundary_reset_onerror");throw e.name="Svelte error",e}throw new Error("https://svelte.dev/e/svelte_boundary_reset_onerror")}(),null!==Y(this,A)&&Hn(Y(this,A),()=>{Z(this,A,null)}),Q(this,L,N).call(this,()=>{Q(this,L,P).call(this)}))},o=e=>{try{i=!0,t?.(e,r),i=!1}catch(a){rt(a,Y(this,x)&&Y(this,x).parent)}n&&Z(this,A,Q(this,L,N).call(this,()=>{try{return _n(()=>{var t=Un;t.b=this,t.f|=128,n(Y(this,y),()=>e,()=>r)})}catch(a){return rt(a,Y(this,x).parent),null}}))};nt(()=>{var t;try{t=this.transform_error(e)}catch(n){return void rt(n,Y(this,x)&&Y(this,x).parent)}null!==t&&"object"==typeof t&&"function"==typeof t.then?t.then(o,e=>rt(e,Y(this,x)&&Y(this,x).parent)):o(t)})}}function Lt(e=!0){Gn(null),Rn(null),Ve(null),e&&ht?.deactivate(),te&&Ye(null)}function Pt(){var e=Un.b,t=ht,n=e.is_rendered();return e.update_pending_count(1,t),t.increment(n),(a=!1)=>{e.update_pending_count(-1,t),t.decrement(n,a)}}y=new WeakMap,v=new WeakMap,b=new WeakMap,w=new WeakMap,x=new WeakMap,k=new WeakMap,S=new WeakMap,A=new WeakMap,M=new WeakMap,C=new WeakMap,E=new WeakMap,T=new WeakMap,_=new WeakMap,$=new WeakMap,I=new WeakMap,z=new WeakMap,L=new WeakSet,P=function(){try{if(this.is_pending=this.has_pending_snippet(),Z(this,E,0),Z(this,C,0),Z(this,k,_n(()=>{Y(this,w).call(this,Y(this,y))})),Y(this,E)>0){var e=Z(this,M,document.createDocumentFragment());Bn(Y(this,k),e);const t=Y(this,b).pending;Z(this,S,_n(()=>t(Y(this,y))))}else Q(this,L,H).call(this,ht)}catch(t){this.error(t)}},H=function(e){this.is_pending=!1,e.transfer_effects(Y(this,_),Y(this,$))},N=function(e){var t=Un,n=Fn,a=Ge;Gn(Y(this,x)),Rn(Y(this,x)),Ve(Y(this,x).ctx);try{return At.ensure(),e()}catch(i){return it(i),null}finally{Gn(t),Rn(n),Ve(a)}},j=function(e,t){var n;this.has_pending_snippet()?(Z(this,E,Y(this,E)+e),0===Y(this,E)&&(Q(this,L,H).call(this,t),Y(this,S)&&Hn(Y(this,S),()=>{Z(this,S,null)}),Y(this,M)&&(Y(this,y).before(Y(this,M)),Z(this,M,null)))):this.parent&&Q(n=this.parent,L,j).call(n,e,t)};const Ht=new Set;function Nt(e){var t=null!==Fn&&2&Fn.f?Fn:null;return null!==Un&&(Un.f|=Ce),{ctx:Ge,deps:null,effects:null,equals:De,f:2050,fn:e,reactions:null,rv:0,v:Oe,wv:0,parent:t??Un,ac:null}}function jt(e,t,n){let a=Un;null===a&&function(){if(te){const e=new Error("async_derived_orphan\nCannot create a `$derived(...)` with an `await` expression outside of an effect tree\nhttps://svelte.dev/e/async_derived_orphan");throw e.name="Svelte error",e}throw new Error("https://svelte.dev/e/async_derived_orphan")}();var i=void 0,r=Jt(Oe);te&&(r.label=t);var o=!Fn,s=new Map;return function(e){xn(4718592,e)}(()=>{var t=Un,n=he();i=n.promise;try{Promise.resolve(e()).then(n.resolve,n.reject).finally(Lt)}catch(u){n.reject(u),Lt()}var c=ht;if(o){if(0!==(t.f&ke))var l=Pt();if(a.b.is_rendered())s.get(c)?.reject(He),s.delete(c);else{for(const e of s.values())e.reject(He);s.clear()}s.set(c,n)}const d=(e,n=void 0)=>{if(l&&l(n===He),n!==He&&0===(t.f&xe)){if(c.activate(),n)r.f|=$e,Qt(r,n);else{0!==(r.f&$e)&&(r.f^=$e),Qt(r,e);for(const[e,t]of s){if(s.delete(e),e===c)break;t.reject(He)}}c.deactivate()}};n.promise.then(d,e=>d(null,e||"unknown"))}),Sn(()=>{for(const e of s.values())e.reject(He)}),te&&(r.f|=4194304),new Promise(e=>{!function t(n){function a(){n===i?e(r):t(i)}n.then(a,a)}(i)})}function Ot(e){const t=Nt(e);return Jn(t),t}function Bt(e){const t=Nt(e);return t.equals=Fe,t}function Wt(e){var t=e.effects;if(null!==t){e.effects=null;for(var n=0;n<t.length;n+=1)zn(t[n])}}let Kt=[];function Dt(e){var t,n=Un;if(Gn(function(e){for(var t=e.parent;null!==t;){if(!(2&t.f))return 0===(t.f&xe)?t:null;t=t.parent}return null}(e)),te){let a=Rt;Gt(new Set);try{ie.call(Kt,e)&&function(){if(te){const e=new Error("derived_references_self\nA derived value cannot reference itself recursively\nhttps://svelte.dev/e/derived_references_self");throw e.name="Svelte error",e}throw new Error("https://svelte.dev/e/derived_references_self")}(),Kt.push(e),e.f&=-65537,Wt(e),t=oa(e)}finally{Gn(n),Gt(a),Kt.pop()}}else try{e.f&=-65537,Wt(e),t=oa(e)}finally{Gn(n)}return t}function Ft(e){var t=e.v,n=Dt(e);e.equals(n)||(e.wv=aa(),ht?.is_fork&&null!==e.deps||(e.v=n,ht?.capture(e,t),null!==e.deps))?Kn||(null!==gt?(kn()||ht?.is_fork)&&gt.set(e,n):lt(e)):ct(e,ye)}function qt(e){if(null!==e.effects)for(const t of e.effects)t.teardown&&la(t)}let Rt=new Set;const Ut=new Map;function Gt(e){Rt=e}let Vt=!1;function Jt(e,t){return{f:0,v:e,reactions:null,equals:De,rv:0,wv:0}}function Yt(e,t){const n=Jt(e);return Jn(n),n}function Xt(e,t=!1,n=!0){const a=Jt(e);return t||(a.equals=Fe),a}function Zt(e,t,n=!1){null===Fn||qn&&0===(Fn.f&Me)||!(4325394&Fn.f)||null!==Vn&&ie.call(Vn,e)||function(){if(te){const e=new Error("state_unsafe_mutation\nUpdating state inside `$derived(...)`, `$inspect(...)` or a template expression is forbidden. If the value should not be reactive, declare it without `$state`\nhttps://svelte.dev/e/state_unsafe_mutation");throw e.name="Svelte error",e}throw new Error("https://svelte.dev/e/state_unsafe_mutation")}();let a=n?rn(t):t;return te&&Re(a,e.label),Qt(e,a,bt)}function Qt(e,t,n=null){if(!e.equals(t)){var a=e.v;Ut.set(e,Kn?t:a),e.v=t;var i=At.ensure();if(i.capture(e,a),te){if(null!==Un){e.updated??(e.updated=new Map);const t=(e.updated.get("")?.count??0)+1;if(e.updated.set("",{error:null,count:t}),t>5){const t=function(){const e=new Error,t=function(){const e=Error.stackTraceLimit;Error.stackTraceLimit=1/0;const t=(new Error).stack;if(Error.stackTraceLimit=e,!t)return[];const n=t.split("\n"),a=[];for(let i=0;i<n.length;i++){const e=n[i],t=e.replaceAll("\\","/");if("Error"!==e.trim()){if(e.includes("validate_each_keys"))return[];t.includes("svelte/src/internal")||t.includes("node_modules/.vite")||a.push(e)}}return a}();return 0===t.length?null:(t.unshift("\n"),oe(e,"stack",{value:t.join("\n")}),oe(e,"name",{value:"updated at"}),e)}();if(null!==t){let n=e.updated.get(t.stack);n||(n={error:t,count:0},e.updated.set(t.stack,n)),n.count++}}}null!==Un&&(e.set_during_effect=!0)}if(2&e.f){const t=e;0!==(e.f&ve)&&Dt(t),null===gt&&lt(t)}e.wv=aa(),nn(e,ve,n),null===Un||0===(Un.f&ye)||96&Un.f||(null===Zn?function(e){Zn=e}([e]):Zn.push(e)),!i.is_fork&&Rt.size>0&&!Vt&&en()}return t}function en(){Vt=!1;for(const e of Rt)0!==(e.f&ye)&&ct(e,be),ia(e)&&la(e);Rt.clear()}function tn(e){Zt(e,e.v+1)}function nn(e,t,n){var a=e.reactions;if(null!==a)for(var i=a.length,r=0;r<i;r++){var o=a[r],s=o.f;if(te&&0!==(s&Me))Rt.add(o);else{var c=0===(s&ve);if(c&&ct(o,t),2&s){var l=o;gt?.delete(l),0===(s&Te)&&(s&me&&(o.f|=Te),nn(l,be,n))}else if(c){var d=o;!!(16&s)&&null!==Mt&&Mt.add(d),null!==n?n.push(d):_t(d)}}}}const an=/^[a-zA-Z_$][a-zA-Z_$0-9]*$/;function rn(e){if("object"!=typeof e||null===e||Ie in e)return e;const t=ue(e);if(t!==le&&t!==de)return e;var n=new Map,a=ne(e),i=Yt(0),r=ta,o=e=>{if(ta===r)return e();var t=Fn,n=ta;Rn(null),na(r);var a=e();return Rn(t),na(n),a};a&&(n.set("length",Yt(e.length)),te&&(e=new Proxy(e,{get(e,t,n){var a=Reflect.get(e,t,n);return cn.has(t)?function(...e){Vt=!0;var t=a.apply(this,e);return en(),t}:a}})));var s="";let c=!1;function l(e){if(!c){c=!0,qe(i,`${s=e} version`);for(const[e,t]of n)qe(t,on(s,e));c=!1}}return new Proxy(e,{defineProperty(e,t,a){"value"in a&&!1!==a.configurable&&!1!==a.enumerable&&!1!==a.writable||function(){if(te){const e=new Error("state_descriptors_fixed\nProperty descriptors defined on `$state` objects must contain `value` and always be `enumerable`, `configurable` and `writable`.\nhttps://svelte.dev/e/state_descriptors_fixed");throw e.name="Svelte error",e}throw new Error("https://svelte.dev/e/state_descriptors_fixed")}();var i=n.get(t);return void 0===i?o(()=>{var e=Yt(a.value);return n.set(t,e),te&&"string"==typeof t&&qe(e,on(s,t)),e}):Zt(i,a.value,!0),!0},deleteProperty(e,t){var a=n.get(t);if(void 0===a){if(t in e){const e=o(()=>Yt(Oe));n.set(t,e),tn(i),te&&qe(e,on(s,t))}}else Zt(a,Oe),tn(i);return!0},get(t,a,i){if(a===Ie)return e;if(te&&a===Pe)return l;var r=n.get(a),c=a in t;if(void 0!==r||c&&!se(t,a)?.writable||(r=o(()=>{var e=Yt(rn(c?t[a]:Oe));return te&&qe(e,on(s,a)),e}),n.set(a,r)),void 0!==r){var d=da(r);return d===Oe?void 0:d}return Reflect.get(t,a,i)},getOwnPropertyDescriptor(e,t){var a=Reflect.getOwnPropertyDescriptor(e,t);if(a&&"value"in a){var i=n.get(t);i&&(a.value=da(i))}else if(void 0===a){var r=n.get(t),o=r?.v;if(void 0!==r&&o!==Oe)return{enumerable:!0,configurable:!0,value:o,writable:!0}}return a},has(e,t){if(t===Ie)return!0;var a=n.get(t),i=void 0!==a&&a.v!==Oe||Reflect.has(e,t);return!((void 0!==a||null!==Un&&(!i||se(e,t)?.writable))&&(void 0===a&&(a=o(()=>{var n=Yt(i?rn(e[t]):Oe);return te&&qe(n,on(s,t)),n}),n.set(t,a)),da(a)===Oe))&&i},set(e,t,r,c){var l=n.get(t),d=t in e;if(a&&"length"===t)for(var u=r;u<l.v;u+=1){var f=n.get(u+"");void 0!==f?Zt(f,Oe):u in e&&(f=o(()=>Yt(Oe)),n.set(u+"",f),te&&qe(f,on(s,u)))}void 0===l?d&&!se(e,t)?.writable||(l=o(()=>Yt(void 0)),te&&qe(l,on(s,t)),Zt(l,rn(r)),n.set(t,l)):(d=l.v!==Oe,Zt(l,o(()=>rn(r))));var p=Reflect.getOwnPropertyDescriptor(e,t);if(p?.set&&p.set.call(c,r),!d){if(a&&"string"==typeof t){var h=n.get("length"),g=Number(t);Number.isInteger(g)&&g>=h.v&&Zt(h,g+1)}tn(i)}return!0},ownKeys(e){da(i);var t=Reflect.ownKeys(e).filter(e=>{var t=n.get(e);return void 0===t||t.v!==Oe});for(var[a,r]of n)r.v===Oe||a in e||t.push(a);return t},setPrototypeOf(){!function(){if(te){const e=new Error("state_prototype_fixed\nCannot set prototype of `$state` object\nhttps://svelte.dev/e/state_prototype_fixed");throw e.name="Svelte error",e}throw new Error("https://svelte.dev/e/state_prototype_fixed")}()}})}function on(e,t){return"symbol"==typeof t?`${e}[Symbol(${t.description??""})]`:an.test(t)?`${e}.${t}`:/^\d+$/.test(t)?`${e}[${t}]`:`${e}['${t}']`}function sn(e){try{if(null!==e&&"object"==typeof e&&Ie in e)return e[Ie]}catch{}return e}const cn=new Set(["copyWithin","fill","pop","push","reverse","shift","sort","splice","unshift"]);var ln,dn,un,fn;function pn(e=""){return document.createTextNode(e)}function hn(e){return un.call(e)}function gn(e){return fn.call(e)}function mn(e,t){return hn(e)}function yn(e,t=!1){var n=hn(e);return n instanceof Comment&&""===n.data?gn(n):n}function vn(e,t=1,n=!1){let a=e;for(;t--;)a=gn(a);return a}function bn(e,t,n){return document.createElementNS(t??We,e,void 0)}function wn(e){var t=Fn,n=Un;Rn(null),Gn(null);try{return e()}finally{Rn(t),Gn(n)}}function xn(e,t){var n=Un;if(te)for(;null!==n&&0!==(n.f&Me);)n=n.parent;null!==n&&0!==(n.f&we)&&(e|=we);var a={ctx:Ge,deps:null,nodes:null,f:e|ve|me,first:null,fn:t,last:null,next:null,parent:n,b:n&&n.b,prev:null,teardown:null,wv:0,ac:null};te&&(a.component_function=Xe);var i=a;if(4&e)null!==vt?vt.push(a):At.ensure().schedule(a);else if(null!==t){try{la(a)}catch(r){throw zn(a),r}null===i.deps&&null===i.teardown&&null===i.nodes&&i.first===i.last&&0===(i.f&Ce)&&(i=i.first,16&e&&0!==(e&Ae)&&null!==i&&(i.f|=Ae))}return null!==i&&(i.parent=n,null!==n&&function(e,t){var n=t.last;null===n?t.last=t.first=e:(n.next=e,e.prev=n,t.last=e)}(i,n),null!==Fn&&2&Fn.f&&!(64&e))&&(Fn.effects??(Fn.effects=[])).push(i),a}function kn(){return null!==Fn&&!qn}function Sn(e){const t=xn(8,null);return ct(t,ye),t.teardown=e,t}function An(e){var t;t="$effect",null===Un&&(null===Fn&&function(e){if(te){const t=new Error(`effect_orphan\n\`${e}\` can only be used inside an effect (e.g. during component initialisation)\nhttps://svelte.dev/e/effect_orphan`);throw t.name="Svelte error",t}throw new Error("https://svelte.dev/e/effect_orphan")}(t),function(){if(te){const e=new Error("effect_in_unowned_derived\nEffect cannot be created inside a `$derived` value that was not itself created inside an effect\nhttps://svelte.dev/e/effect_in_unowned_derived");throw e.name="Svelte error",e}throw new Error("https://svelte.dev/e/effect_in_unowned_derived")}()),Kn&&function(e){if(te){const t=new Error(`effect_in_teardown\n\`${e}\` cannot be used inside an effect cleanup function\nhttps://svelte.dev/e/effect_in_teardown`);throw t.name="Svelte error",t}throw new Error("https://svelte.dev/e/effect_in_teardown")}(t),te&&oe(e,"name",{value:"$effect"});var n=Un.f;if(Fn||0===(n&ge)||0!==(n&ke))return Mn(e);(Ge.e??(Ge.e=[])).push(e)}function Mn(e){return xn(1048580,e)}function Cn(e,t=0){return xn(8|t,e)}function En(e,t=[],n=[],a=[]){!function(e,t,n,a){const i=Nt;var r=e.filter(e=>!e.settled);if(0!==n.length||0!==r.length){var o=Un,s=function(){var e=Un,t=Fn,n=Ge,a=ht;if(te)var i=Je;return function(r=!0){Gn(e),Rn(t),Ve(n),r&&0===(e.f&xe)&&(a?.activate(),a?.apply()),te&&Ye(i)}}(),c=1===r.length?r[0].promise:r.length>1?Promise.all(r.map(e=>e.promise)):null;if(0!==n.length){var l=Pt();c?c.then(()=>{s(),u(),Lt()}):u()}else c.then(()=>d(t.map(i)))}else a(t.map(i));function d(e){s();try{a(e)}catch(t){0===(o.f&xe)&&rt(t,o)}Lt()}function u(){Promise.all(n.map(e=>jt(e))).then(e=>d([...t.map(i),...e])).catch(e=>rt(e,o)).finally(()=>l())}}(a,t,n,t=>{xn(8,()=>e(...t.map(da)))})}function Tn(e,t=0){var n=xn(16|t,e);return te&&(n.dev_stack=Je),n}function _n(e){return xn(524320,e)}function $n(e){var t=e.teardown;if(null!==t){const e=Kn,n=Fn;Dn(!0),Rn(null);try{t.call(null)}finally{Dn(e),Rn(n)}}}function In(e,t=!1){var n=e.first;for(e.first=e.last=null;null!==n;){const e=n.ac;null!==e&&wn(()=>{e.abort(He)});var a=n.next;64&n.f?n.parent=null:zn(n,t),n=a}}function zn(e,t=!0){var n=!1;(t||262144&e.f)&&null!==e.nodes&&null!==e.nodes.end&&(Ln(e.nodes.start,e.nodes.end),n=!0),ct(e,Se),In(e,t&&!n),ca(e,0);var a=e.nodes&&e.nodes.t;if(null!==a)for(const r of a)r.stop();$n(e),e.f^=Se,e.f|=xe;var i=e.parent;null!==i&&null!==i.first&&Pn(e),te&&(e.component_function=null),e.next=e.prev=e.teardown=e.ctx=e.deps=e.fn=e.nodes=e.ac=null}function Ln(e,t){for(;null!==e;){var n=e===t?null:gn(e);e.remove(),e=n}}function Pn(e){var t=e.parent,n=e.prev,a=e.next;null!==n&&(n.next=a),null!==a&&(a.prev=n),null!==t&&(t.first===e&&(t.first=a),t.last===e&&(t.last=n))}function Hn(e,t,n=!0){var a=[];Nn(e,a,!0);var i=()=>{n&&zn(e),t&&t()},r=a.length;if(r>0){var o=()=>--r||i();for(var s of a)s.out(o)}else i()}function Nn(e,t,n){if(0===(e.f&we)){e.f^=we;var a=e.nodes&&e.nodes.t;if(null!==a)for(const e of a)(e.is_global||n)&&t.push(e);for(var i=e.first;null!==i;){var r=i.next;Nn(i,t,!!(0!==(i.f&Ae)||0!==(i.f&ge)&&16&e.f)&&n),i=r}}}function jn(e){On(e,!0)}function On(e,t){if(0!==(e.f&we)){e.f^=we,0===(e.f&ye)&&(ct(e,ve),At.ensure().schedule(e));for(var n=e.first;null!==n;){var a=n.next;On(n,!(0===(n.f&Ae)&&0===(n.f&ge))&&t),n=a}var i=e.nodes&&e.nodes.t;if(null!==i)for(const e of i)(e.is_global||t)&&e.in()}}function Bn(e,t){if(e.nodes)for(var n=e.nodes.start,a=e.nodes.end;null!==n;){var i=n===a?null:gn(n);t.append(n),n=i}}let Wn=!1,Kn=!1;function Dn(e){Kn=e}let Fn=null,qn=!1;function Rn(e){Fn=e}let Un=null;function Gn(e){Un=e}let Vn=null;function Jn(e){null!==Fn&&(null===Vn?Vn=[e]:Vn.push(e))}let Yn=null,Xn=0,Zn=null,Qn=1,ea=0,ta=ea;function na(e){ta=e}function aa(){return++Qn}function ia(e){var t=e.f;if(0!==(t&ve))return!0;if(2&t&&(e.f&=-65537),0!==(t&be)){for(var n=e.deps,a=n.length,i=0;i<a;i++){var r=n[i];if(ia(r)&&Ft(r),r.wv>e.wv)return!0}0!==(t&me)&&null===gt&&ct(e,ye)}return!1}function ra(e,t,n=!0){var a=e.reactions;if(null!==a&&(null===Vn||!ie.call(Vn,e)))for(var i=0;i<a.length;i++){var r=a[i];2&r.f?ra(r,t,!1):t===r&&(n?ct(r,ve):0!==(r.f&ye)&&ct(r,be),_t(r))}}function oa(e){var t,n=Yn,a=Xn,i=Zn,r=Fn,o=Vn,s=Ge,c=qn,l=ta;Yn=null,Xn=0,Zn=null,Fn=96&e.f?null:e,Vn=null,Ve(e.ctx),qn=!1,ta=++ea,null!==e.ac&&(wn(()=>{e.ac.abort(He)}),e.ac=null);try{e.f|=_e;var d=(0,e.fn)();e.f|=ke;var u=e.deps,f=ht?.is_fork;if(null!==Yn){var p;if(f||ca(e,Xn),null!==u&&Xn>0)for(u.length=Xn+Yn.length,p=0;p<Yn.length;p++)u[Xn+p]=Yn[p];else e.deps=u=Yn;if(kn()&&0!==(e.f&me))for(p=Xn;p<u.length;p++)((t=u[p]).reactions??(t.reactions=[])).push(e)}else!f&&null!==u&&Xn<u.length&&(ca(e,Xn),u.length=Xn);if(!(null===Zn||qn||null===u||6146&e.f))for(p=0;p<Zn.length;p++)ra(Zn[p],e);if(null!==r&&r!==e){if(ea++,null!==r.deps)for(let e=0;e<a;e+=1)r.deps[e].rv=ea;if(null!==n)for(const e of n)e.rv=ea;null!==Zn&&(null===i?i=Zn:i.push(...Zn))}return 0!==(e.f&$e)&&(e.f^=$e),d}catch(h){return it(h)}finally{e.f^=_e,Yn=n,Xn=a,Zn=i,Fn=r,Vn=o,Ve(s),qn=c,ta=l}}function sa(e,t){let n=t.reactions;if(null!==n){var a=ae.call(n,e);if(-1!==a){var i=n.length-1;0===i?n=t.reactions=null:(n[a]=n[i],n.pop())}}if(null===n&&2&t.f&&(null===Yn||!ie.call(Yn,t))){var r=t;0!==(r.f&me)&&(r.f^=me,r.f&=-65537),lt(r),function(e){if(null!==e.effects)for(const t of e.effects)(t.teardown||t.ac)&&(t.teardown?.(),t.ac?.abort(He),t.teardown=pe,t.ac=null,ca(t,0),In(t))}(r),ca(r,0)}}function ca(e,t){var n=e.deps;if(null!==n)for(var a=t;a<n.length;a++)sa(e,n[a])}function la(e){var t=e.f;if(0===(t&xe)){ct(e,ye);var n=Un,a=Wn;if(Un=e,Wn=!0,te){var i=Xe;Ze(e.component_function);var r=Je;Ye(e.dev_stack??Je)}try{16777232&t?function(e){for(var t=e.first;null!==t;){var n=t.next;0===(t.f&ge)&&zn(t),t=n}}(e):In(e),$n(e);var o=oa(e);e.teardown="function"==typeof o?o:null,e.wv=Qn}finally{Wn=a,Un=n,te&&(Ze(i),Ye(r))}}}function da(e){var t=!!(2&e.f);if(null!==Fn&&!qn&&!(null!==Un&&0!==(Un.f&xe)||null!==Vn&&ie.call(Vn,e))){var n=Fn.deps;if(0!==(Fn.f&_e))e.rv<ea&&(e.rv=ea,null===Yn&&null!==n&&n[Xn]===e?Xn++:null===Yn?Yn=[e]:Yn.push(e));else{(Fn.deps??(Fn.deps=[])).push(e);var a=e.reactions;null===a?e.reactions=[Fn]:ie.call(a,Fn)||a.push(Fn)}}if(te&&Ht.delete(e),Kn&&Ut.has(e))return Ut.get(e);if(t){var i=e;if(Kn){var r=i.v;return(0===(i.f&ye)&&null!==i.reactions||fa(i))&&(r=Dt(i)),Ut.set(i,r),r}var o=0===(i.f&me)&&!qn&&null!==Fn&&(Wn||0!==(Fn.f&me)),s=0===(i.f&ke);ia(i)&&(o&&(i.f|=me),Ft(i)),o&&!s&&(qt(i),ua(i))}if(gt?.has(e))return gt.get(e);if(0!==(e.f&$e))throw e.v;return e.v}function ua(e){if(e.f|=me,null!==e.deps)for(const t of e.deps)(t.reactions??(t.reactions=[])).push(e),2&t.f&&0===(t.f&me)&&(qt(t),ua(t))}function fa(e){if(e.v===Oe)return!0;if(null===e.deps)return!1;for(const t of e.deps){if(Ut.has(t))return!0;if(2&t.f&&fa(t))return!0}return!1}function pa(e){var t=qn;try{return qn=!0,e()}finally{qn=t}}const ha=["touchstart","touchmove"];function ga(e){return ha.includes(e)}const ma=Symbol("events"),ya=new Set,va=new Set;function ba(e,t,n){(t[ma]??(t[ma]={}))[e]=n}function wa(e){for(var t=0;t<e.length;t++)ya.add(e[t]);for(var n of va)n(e)}let xa=null;function ka(e){var t=this,n=t.ownerDocument,a=e.type,i=e.composedPath?.()||[],r=i[0]||e.target;xa=e;var o=0,s=xa===e&&e[ma];if(s){var c=i.indexOf(s);if(-1!==c&&(t===document||t===window))return void(e[ma]=t);var l=i.indexOf(t);if(-1===l)return;c<=l&&(o=c)}if((r=i[o]||e.target)!==t){oe(e,"currentTarget",{configurable:!0,get:()=>r||n});var d=Fn,u=Un;Rn(null),Gn(null);try{for(var f,p=[];null!==r;){var h=r.assignedSlot||r.parentNode||r.host||null;try{var g=r[ma]?.[a];null==g||r.disabled&&e.target!==r||g.call(r,e)}catch(m){f?p.push(m):f=m}if(e.cancelBubble||h===t||null===h)break;r=h}if(f){for(let e of p)queueMicrotask(()=>{throw e});throw f}}finally{e[ma]=t,delete e.currentTarget,Rn(d),Gn(u)}}}const Sa=globalThis?.window?.trustedTypes&&globalThis.window.trustedTypes.createPolicy("svelte-trusted-html",{createHTML:e=>e});function Aa(e){var t=bn("template");return t.innerHTML=function(e){return Sa?.createHTML(e)??e}(e.replaceAll("<!>","\x3c!----\x3e")),t.content}function Ma(e,t){null===Un.nodes&&(Un.nodes={start:e,end:t,a:null,t:null})}function Ca(e,t){var n,a=!!(1&t),i=!!(2&t),r=!e.startsWith("<!>");return()=>{void 0===n&&(n=Aa(r?e:"<!>"+e),a||(n=hn(n)));var t=i||dn?document.importNode(n,!0):n.cloneNode(!0);return a?Ma(hn(t),t.lastChild):Ma(t,t),t}}function Ea(e,t,n="svg"){var a,i=`<${n}>${e.startsWith("<!>")?"<!>"+e:e}</${n}>`;return()=>{if(!a){var e=Aa(i);a=hn(hn(e))}var t=a.cloneNode(!0);return Ma(t,t),t}}function Ta(e,t){return Ea(e,0,"svg")}function _a(e,t){null!==e&&e.before(t)}function $a(e,t){var n=null==t?"":"object"==typeof t?`${t}`:t;n!==(e.__t??(e.__t=e.nodeValue))&&(e.__t=n,e.nodeValue=`${n}`)}const Ia=new Map;let za=new WeakMap;class La{constructor(e,t=!0){V(this,"anchor"),X(this,O,new Map),X(this,B,new Map),X(this,W,new Map),X(this,K,new Set),X(this,D,!0),X(this,F,e=>{if(Y(this,O).has(e)){var t=Y(this,O).get(e),n=Y(this,B).get(t);if(n)jn(n),Y(this,K).delete(t);else{var a=Y(this,W).get(t);a&&(Y(this,B).set(t,a.effect),Y(this,W).delete(t),a.fragment.lastChild.remove(),this.anchor.before(a.fragment),n=a.effect)}for(const[t,n]of Y(this,O)){if(Y(this,O).delete(t),t===e)break;const a=Y(this,W).get(n);a&&(zn(a.effect),Y(this,W).delete(n))}for(const[e,a]of Y(this,B)){if(e===t||Y(this,K).has(e))continue;const i=()=>{if(Array.from(Y(this,O).values()).includes(e)){var t=document.createDocumentFragment();Bn(a,t),t.append(pn()),Y(this,W).set(e,{effect:a,fragment:t})}else zn(a);Y(this,K).delete(e),Y(this,B).delete(e)};Y(this,D)||!n?(Y(this,K).add(e),Hn(a,i,!1)):i()}}}),X(this,q,e=>{Y(this,O).delete(e);const t=Array.from(Y(this,O).values());for(const[n,a]of Y(this,W))t.includes(n)||(zn(a.effect),Y(this,W).delete(n))}),this.anchor=e,Z(this,D,t)}ensure(e,t){var n=ht;!t||Y(this,B).has(e)||Y(this,W).has(e)||Y(this,B).set(e,_n(()=>t(this.anchor))),Y(this,O).set(n,e),Y(this,F).call(this,n)}}function Pa(e,t,n=!1){var a=new La(e);function i(e,t){a.ensure(e,t)}Tn(()=>{var e=!1;t((t,n=0)=>{e=!0,i(n,t)}),e||i(-1,null)},n?Ae:0)}function Ha(e,t){return t}function Na(e,t,n=!0){var a;if(e.pending.size>0){a=new Set;for(const t of e.pending.values())for(const n of t)a.add(e.items.get(n).e)}for(var i=0;i<t.length;i++){var r=t[i];a?.has(r)?(r.f|=Ee,Bn(r,document.createDocumentFragment())):zn(t[i],n)}}var ja;function Oa(e,t,n,a,i,r=null){var o,s=new Map;o=e.appendChild(pn());var c,l=null,d=Bt(()=>{var e=n();return ne(e)?e:null==e?[]:re(e)}),u=new Map,f=!0,p={effect:Tn(()=>{for(var e=(c=da(d)).length,h=new Set,g=ht,m=0;m<e;m+=1){var y=c[m],v=a(y,m);if(te){var b=a(y,m);v!==b&&je(String(m),String(v),String(b))}var w=f?null:s.get(v);w?(w.v&&Qt(w.v,y),w.i&&Qt(w.i,m)):(w=Wa(s,f?o:ja??(ja=pn()),y,v,m,i,t,n),f||(w.e.f|=Ee),s.set(v,w)),h.add(v)}0===e&&r&&!l&&(f?l=_n(()=>r(o)):(l=_n(()=>r(ja??(ja=pn())))).f|=Ee),e>h.size&&(te?function(e,t){const n=new Map,a=e.length;for(let i=0;i<a;i++){const a=t(e[i],i);if(n.has(a)){const e=String(n.get(a)),t=String(i);let r=String(a);r.startsWith("[object ")&&(r=null),Ne(e,t,r)}n.set(a,i)}}(c,a):Ne("","","")),f||(u.set(g,h),function(e){0===(p.effect.f&xe)&&(p.pending.delete(e),p.fallback=l,function(e,t,n,a,i){var r,o,s,c,l=t.length,d=e.items,u=Ba(e.effect.first),f=null,p=[],h=[];for(c=0;c<l;c+=1){if(o=i(t[c],c),s=d.get(o).e,null!==e.outrogroups)for(const t of e.outrogroups)t.pending.delete(s),t.done.delete(s);if(0!==(s.f&Ee)){if(s.f^=Ee,s!==u){var g=f?f.next:u;s===e.effect.last&&(e.effect.last=s.prev),s.prev&&(s.prev.next=s.next),s.next&&(s.next.prev=s.prev),Da(e,f,s),Da(e,s,g),Ka(s,g,n),p=[],h=[],u=Ba((f=s).next);continue}Ka(s,null,n)}if(0!==(s.f&we)&&jn(s),s!==u){if(void 0!==r&&r.has(s)){if(p.length<h.length){var m,y=h[0];f=y.prev;var v=p[0],b=p[p.length-1];for(m=0;m<p.length;m+=1)Ka(p[m],y,n);for(m=0;m<h.length;m+=1)r.delete(h[m]);Da(e,v.prev,b.next),Da(e,f,v),Da(e,b,y),u=y,f=b,c-=1,p=[],h=[]}else r.delete(s),Ka(s,u,n),Da(e,s.prev,s.next),Da(e,s,null===f?e.effect.first:f.next),Da(e,f,s),f=s;continue}for(p=[],h=[];null!==u&&u!==s;)(r??(r=new Set)).add(u),h.push(u),u=Ba(u.next);if(null===u)continue}0===(s.f&Ee)&&p.push(s),f=s,u=Ba(s.next)}if(null!==e.outrogroups){for(const t of e.outrogroups)0===t.pending.size&&(Na(e,re(t.done)),e.outrogroups?.delete(t));0===e.outrogroups.size&&(e.outrogroups=null)}if(null!==u||void 0!==r){var w=[];if(void 0!==r)for(s of r)0===(s.f&we)&&w.push(s);for(;null!==u;)0===(u.f&we)&&u!==e.fallback&&w.push(u),u=Ba(u.next);w.length>0&&function(e,t,n){for(var a,i=t.length,r=t.length,o=0;o<i;o++){let n=t[o];Hn(n,()=>{if(a){if(a.pending.delete(n),a.done.add(n),0===a.pending.size){var t=e.outrogroups;Na(e,re(a.done)),t.delete(a),0===t.size&&(e.outrogroups=null)}}else r-=1},!1)}if(0===r){var s=null!==n;if(s){var c=n,l=c.parentNode;l.textContent="",l.append(c),e.items.clear()}Na(e,t,!s)}else a={pending:new Set(t),done:new Set},(e.outrogroups??(e.outrogroups=new Set)).add(a)}(e,w,0===l?n:null)}}(p,c,o,0,a),null!==l&&(0===c.length?0===(l.f&Ee)?jn(l):(l.f^=Ee,Ka(l,null,o)):Hn(l,()=>{l=null})))}(g)),da(d)}),items:s,pending:u,outrogroups:null,fallback:l};f=!1}function Ba(e){for(;null!==e&&0===(e.f&ge);)e=e.next;return e}function Wa(e,t,n,a,i,r,o,s){var c=1&o?16&o?Jt(n):Xt(n,!1,!1):null,l=2&o?Jt(i):null;return te&&c&&(c.trace=()=>{s()}),{v:c,i:l,e:_n(()=>(r(t,c??n,l??i,s),()=>{e.delete(a)}))}}function Ka(e,t,n){if(e.nodes)for(var a=e.nodes.start,i=e.nodes.end,r=t&&0===(t.f&Ee)?t.nodes.start:n;null!==a;){var o=gn(a);if(r.before(a),a===i)return;a=o}}function Da(e,t,n){null===t?e.effect.first=n:t.next=n,null===n?e.effect.last=t:n.prev=t}function Fa(e,t,n=!1,a=!1,i=!1,r=!1){var o=e,s="";if(n)var c=e;En(()=>{var e=Un;if(s!==(s=t()??"")){if(n)return e.nodes=null,c.innerHTML=s,void(""!==s&&Ma(hn(c),c.lastChild));if(null!==e.nodes&&(Ln(e.nodes.start,e.nodes.end),e.nodes=null),""!==s){var r=bn(a?"svg":i?"math":"template",a?"http://www.w3.org/2000/svg":i?"http://www.w3.org/1998/Math/MathML":void 0);r.innerHTML=s;var l=a||i?r:r.content;if(Ma(hn(l),l.lastChild),a||i)for(;hn(l);)o.before(hn(l));else o.before(l)}}})}O=new WeakMap,B=new WeakMap,W=new WeakMap,K=new WeakMap,D=new WeakMap,F=new WeakMap,q=new WeakMap;const qa=[..." \t\n\r\f \v\ufeff"];function Ra(e,t,n,a,i,r){var o=e.__className;if(o!==n||void 0===o){var s=function(e,t,n){var a=null==e?"":""+e;if(n)for(var i of Object.keys(n))if(n[i])a=a?a+" "+i:i;else if(a.length)for(var r=i.length,o=0;(o=a.indexOf(i,o))>=0;){var s=o+r;0!==o&&!qa.includes(a[o-1])||s!==a.length&&!qa.includes(a[s])?o=s:a=(0===o?"":a.substring(0,o))+a.substring(s+1)}return""===a?null:a}(n,0,r);null==s?e.removeAttribute("class"):t?e.className=s:e.setAttribute("class",s),e.__className=n}else if(r&&i!==r)for(var c in r){var l=!!r[c];null!=i&&l===!!i[c]||e.classList.toggle(c,l)}return r}const Ua=Symbol("is custom element"),Ga=Symbol("is html");function Va(e,t,n,a){var i=function(e){return e.__attributes??(e.__attributes={[Ua]:e.nodeName.includes("-"),[Ga]:e.namespaceURI===We})}(e);i[t]!==(i[t]=n)&&("loading"===t&&(e[Le]=n),null==n?e.removeAttribute(t):"string"!=typeof n&&function(e){var t,n=e.getAttribute("is")||e.nodeName,a=Ja.get(n);if(a)return a;Ja.set(n,a=[]);for(var i=e,r=Element.prototype;r!==i;){for(var o in t=ce(i))t[o].set&&a.push(o);i=ue(i)}return a}(e).includes(t)?e[t]=n:e.setAttribute(t,n))}var Ja=new Map;function Ya(e,t){return e===t||e?.[Ie]===t}function Xa(e={},t,n,a){var i=Ge.r,r=Un;return xn(4,()=>{var a,o;return Cn(()=>{a=o,o=[],pa(()=>{e!==n(...o)&&(t(e,...o),a&&Ya(n(...a),e)&&t(null,...a))})}),()=>{let a=r;for(;a!==i&&null!==a.parent&&a.parent.f&Se;)a=a.parent;const s=a.teardown;a.teardown=()=>{o&&Ya(n(...o),e)&&t(null,...o),s?.()}}}),e}function Za(e,t,n,a){var i=!!(8&n),r=!!(16&n),o=a,s=!0,c=()=>(s&&(s=!1,o=r?pa(a):a),o);let l;if(i){var d=Ie in e||ze in e;l=se(e,t)?.set??(d&&t in e?n=>e[t]=n:void 0)}var u,f,p=!1;if(i?[u,p]=function(){var n=ft;try{return ft=!1,[e[t],ft]}finally{ft=n}}():u=e[t],void 0===u&&void 0!==a&&(u=c(),l&&(function(e){if(te){const t=new Error(`props_invalid_value\nCannot do \`bind:${e}={undefined}\` when \`${e}\` has a fallback value\nhttps://svelte.dev/e/props_invalid_value`);throw t.name="Svelte error",t}throw new Error("https://svelte.dev/e/props_invalid_value")}(t),l(u))),f=()=>{var n=e[t];return void 0===n?c():(s=!0,n)},!(4&n))return f;if(l){var h=e.$$legacy;return function(e,t){return arguments.length>0?((!t||h||p)&&l(t?f():e),e):f()}}var g=!1,m=(1&n?Nt:Bt)(()=>(g=!1,f()));te&&(m.label=t),i&&da(m);var y=Un;return function(e,t){if(arguments.length>0){const n=t?da(m):i?rn(e):e;return Zt(m,n),g=!0,void 0!==o&&(o=n),e}return Kn&&g||0!==(y.f&xe)?m.v:da(m)}}if(te){let e=function(e){if(!(e in globalThis)){let t;Object.defineProperty(globalThis,e,{configurable:!0,get:()=>{if(void 0!==t)return t;!function(e){if(te){const t=new Error(`rune_outside_svelte\nThe \`${e}\` rune is only available inside \`.svelte\` and \`.svelte.js/ts\` files\nhttps://svelte.dev/e/rune_outside_svelte`);throw t.name="Svelte error",t}throw new Error("https://svelte.dev/e/rune_outside_svelte")}(e)},set:e=>{t=e}})}};e("$state"),e("$effect"),e("$derived"),e("$inspect"),e("$props"),e("$bindable")}function Qa(e){null===Ge&&function(){if(te){const e=new Error("lifecycle_outside_component\n`onMount(...)` can only be used during component initialisation\nhttps://svelte.dev/e/lifecycle_outside_component");throw e.name="Svelte error",e}throw new Error("https://svelte.dev/e/lifecycle_outside_component")}(),An(()=>{const t=pa(e);if("function"==typeof t)return t})}function ei(e){return`<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true">${e}</svg>`}function ti(){return ei('<circle cx="12" cy="4.5" r="1.5"/><path d="M12 7.5v5m0 0l-3 4.5m3-4.5l3 4.5"/><path d="M6.5 9.5h11"/>')}function ni(){return ei('<path d="M11 5L6 9H3v6h3l5 4V5z"/><path d="M15 9a4 4 0 0 1 0 6"/><path d="M18 6a8 8 0 0 1 0 12"/>')}function ai(){return ei('<path d="M12 2a5 5 0 0 1 4.65 3.2A4.5 4.5 0 0 1 20 9.5a4.5 4.5 0 0 1-1.5 3.35A5 5 0 0 1 12 18"/><path d="M12 2a5 5 0 0 0-4.65 3.2A4.5 4.5 0 0 0 4 9.5a4.5 4.5 0 0 0 1.5 3.35A5 5 0 0 0 12 18"/><path d="M12 18v4"/><path d="M8 10h.01"/><path d="M16 10h.01"/><path d="M9 14c1 1 5 1 6 0"/>')}function ii(){return ei('<rect x="3" y="3" width="18" height="18" rx="2"/><path d="M3 16l5-5 4 4 3-3 6 6"/><circle cx="8.5" cy="8.5" r="1.5"/><text x="12" y="21.5" text-anchor="middle" fill="currentColor" stroke="none" font-size="5" font-weight="bold" font-family="sans-serif">ALT</text>')}function ri(){return ei('<path d="M18 6L6 18"/><path d="M6 6l12 12"/>')}function oi(){return ei('<path d="M3 12a9 9 0 1 0 3-6.7"/><path d="M3 3v5.3h5.3"/>')}function si(){return ei('<circle cx="12" cy="12" r="10"/><path d="M2 12h20"/><path d="M12 2a15.3 15.3 0 0 1 4 10 15.3 15.3 0 0 1-4 10 15.3 15.3 0 0 1-4-10 15.3 15.3 0 0 1 4-10z"/>')}"undefined"!=typeof window&&((R=window.__svelte??(window.__svelte={})).v??(R.v=new Set)).add("5");const ci={accessibility:ti,contrast:function(){return ei('<circle cx="12" cy="12" r="9"/><path d="M12 3v18" /><path d="M12 3a9 9 0 0 1 0 18" fill="currentColor" stroke="none"/>')},"text-size":function(){return ei('<path d="M4 19l4-12h1l4 12"/><path d="M5.5 15h5"/><path d="M17 5v14"/><path d="M14 8l3-3 3 3"/><path d="M14 16l3 3 3-3"/>')},spacing:function(){return ei('<path d="M4 9h16"/><path d="M4 15h16"/><path d="M10 5l-2 2 2 2"/><path d="M14 5l2 2-2 2"/><path d="M10 17l-2-2 2-2"/><path d="M14 17l2-2-2-2"/>')},font:function(){return ei('<path d="M6 4h10a2 2 0 0 1 2 2v1"/><path d="M6 4v16"/><path d="M6 12h8"/><path d="M4 20h4"/>')},"reading-guide":function(){return ei('<path d="M3 12h18"/><path d="M3 6h18" opacity="0.3"/><path d="M3 18h18" opacity="0.3"/><rect x="1" y="10" width="22" height="4" rx="1" stroke-dasharray="4 2"/>')},focus:function(){return ei('<circle cx="12" cy="12" r="3"/><circle cx="12" cy="12" r="7"/><path d="M12 2v3"/><path d="M12 19v3"/><path d="M2 12h3"/><path d="M19 12h3"/>')},"animation-pause":function(){return ei('<circle cx="12" cy="12" r="9"/><path d="M10 8v8"/><path d="M14 8v8"/>')},cursor:function(){return ei('<path d="M5 3l1.5 16 3.5-4 5 6 2-1.5-5-6h5.5z"/><path d="M18 12h4"/><path d="M20 10v4"/>')},speaker:ni,tts:ni,brain:ai,ai:ai,image:ii,"alt-text":ii,keyboard:function(){return ei('<rect x="2" y="6" width="20" height="12" rx="2"/><path d="M6 10h.01"/><path d="M10 10h.01"/><path d="M14 10h.01"/><path d="M18 10h.01"/><path d="M8 14h8"/>')},"color-blindness":function(){return ei('<path d="M2 12s4-8 10-8 10 8 10 8-4 8-10 8-10-8-10-8z"/><circle cx="12" cy="12" r="3"/><path d="M12 9v6" stroke-dasharray="2 1"/><path d="M9 12h6" stroke-dasharray="2 1"/>')},"link-highlight":function(){return ei('<path d="M10 13a5 5 0 0 0 7.07.5l2.12-2.12a5 5 0 0 0-7.07-7.07l-1.06 1.06"/><path d="M14 11a5 5 0 0 0-7.07-.5L4.81 12.6a5 5 0 0 0 7.07 7.07l1.06-1.06"/><path d="M2 20l4-4" stroke-width="3" opacity="0.4"/>')},close:ri,"close-x":ri,reset:oi,chevron:function(){return ei('<path d="M9 18l6-6-6-6"/>')},checkmark:function(){return ei('<path d="M20 6L9 17l-5-5"/>')},warning:function(){return ei('<path d="M10.3 3.2L1.7 18a2 2 0 0 0 1.7 3h17.2a2 2 0 0 0 1.7-3L13.7 3.2a2 2 0 0 0-3.4 0z"/><path d="M12 9v4"/><path d="M12 17h.01"/>')},scan:function(){return ei('<circle cx="11" cy="11" r="7"/><path d="M21 21l-4.35-4.35"/><path d="M8 9h6"/><path d="M8 11h4"/><path d="M8 13h5"/>')},"simplify-text":function(){return ei('<rect x="4" y="2" width="16" height="20" rx="2"/><path d="M8 6h8"/><path d="M8 10h8" opacity="0.35" stroke-dasharray="2 2"/><path d="M8 14h5"/><path d="M8 18h6" opacity="0.35" stroke-dasharray="2 2"/>')},eye:function(){return ei('<path d="M2 12s4-8 10-8 10 8 10 8-4 8-10 8-10-8-10-8z"/><circle cx="12" cy="12" r="3"/>')},shield:function(){return ei('<path d="M12 2l8 4v6c0 5.5-3.8 10.7-8 12-4.2-1.3-8-6.5-8-12V6l8-4z"/><path d="M9 12l2 2 4-4"/>')},saturation:function(){return ei('<path d="M12 2.7c-4.5 5-7 8.5-7 11.8a7 7 0 0 0 14 0c0-3.3-2.5-6.8-7-11.8z"/><path d="M12 9v9"/><path d="M12 9a4.5 4.5 0 0 0 0 9" fill="currentColor" stroke="none" opacity="0.3"/>')},"hide-images":function(){return ei('<rect x="3" y="3" width="18" height="18" rx="2"/><circle cx="8.5" cy="8.5" r="1.5"/><path d="M3 16l5-5 4 4 3-3 6 6"/><path d="M2 2l20 20" stroke-width="2.5"/>')},"text-align":function(){return ei('<path d="M4 6h16"/><path d="M4 10h10"/><path d="M4 14h16"/><path d="M4 18h10"/>')},"reading-mask":function(){return ei('<rect x="2" y="2" width="20" height="20" rx="2" opacity="0.3"/><rect x="4" y="8" width="16" height="8" rx="1"/><path d="M4 8h16" stroke-dasharray="3 2"/><path d="M4 16h16" stroke-dasharray="3 2"/>')},"page-structure":function(){return ei('<path d="M4 6h4"/><path d="M4 6v6"/><path d="M8 6v6"/><path d="M4 9h4"/><path d="M12 7h8" stroke-width="1.5"/><path d="M14 12h6" opacity="0.6"/><path d="M14 16h6" opacity="0.6"/><path d="M12 20h8" stroke-width="1.5"/>')},"line-height":function(){return ei('<path d="M10 6h10"/><path d="M10 12h10"/><path d="M10 18h10"/><path d="M4 4v16"/><path d="M2 7l2-3 2 3"/><path d="M2 17l2 3 2-3"/>')},globe:si,profile:function(){return ei('<circle cx="12" cy="8" r="4"/><path d="M4 20c0-4 4-7 8-7s8 3 8 7"/>')}},li={"widget.title":"Accessibility","widget.open":"Open accessibility settings","widget.close":"Close","widget.reset":"Reset all","widget.resetConfirm":"All adjustments reset","widget.poweredBy":"Powered by Accessify","widget.statement":"Accessibility Statement","status.active":"{count} active","status.noActive":"No adjustments active","status.activated":"activated","status.deactivated":"deactivated","section.profiles":"Quick Profiles","category.visual":"Visual","category.motor":"Motor & Navigation","category.cognitive":"Cognitive","category.ai":"AI Features","profile.visionImpaired":"Vision Impaired","profile.visionImpaired.desc":"High contrast, larger text and cursor","profile.motorImpaired":"Motor Impaired","profile.motorImpaired.desc":"Keyboard navigation and focus aids","profile.cognitive":"Cognitive Support","profile.cognitive.desc":"Reading aids, spacing, and simpler fonts","profile.seizureSafe":"Seizure Safe","profile.seizureSafe.desc":"Stop animations and reduce stimuli","profile.adhdFriendly":"ADHD Friendly","profile.adhdFriendly.desc":"Reduce distractions and improve focus","feature.contrast":"Contrast","feature.contrast.desc":"Increase contrast for better readability","feature.textSize":"Bigger Text","feature.textSize.desc":"Increase or decrease text size","feature.spacing":"Text Spacing","feature.spacing.desc":"Adjust letter and line spacing","feature.dyslexiaFont":"Dyslexia Font","feature.dyslexiaFont.desc":"Special font for better readability","feature.readingGuide":"Reading Guide","feature.readingGuide.desc":"Horizontal ruler for line-by-line reading","feature.focusHighlight":"Focus Highlight","feature.focusHighlight.desc":"Visible outline on focused elements","feature.animationStop":"Stop Animations","feature.animationStop.desc":"Pause all animations and videos","feature.bigCursor":"Big Cursor","feature.bigCursor.desc":"Enlarged cursor for better visibility","feature.colorBlind":"Color Filter","feature.colorBlind.desc":"Color corrections for color vision deficiencies","feature.linkHighlight":"Highlight Links","feature.linkHighlight.desc":"Underline and highlight all links","feature.keyboardNav":"Keyboard Nav","feature.keyboardNav.desc":"Navigate the page using only your keyboard: Skip to main content, Alt+H to jump through headings, Alt+L for page sections, Alt+K shows all shortcuts","feature.tts":"Read Aloud","feature.tts.desc":"Click any text to hear it spoken","feature.textSimplify":"Simplify Text","feature.textSimplify.desc":"Simplify text for easier understanding","feature.altText":"Image Description","feature.altText.desc":"Show image descriptions on hover and auto-generate missing ones","feature.autoScan":"WCAG Scan","feature.autoScan.desc":"Scan page for accessibility issues","feature.saturation":"Saturation","feature.saturation.desc":"Adjust color saturation or grayscale","feature.hideImages":"Hide Images","feature.hideImages.desc":"Remove images for distraction-free reading","feature.textAlign":"Text Align","feature.textAlign.desc":"Change text alignment across the page","feature.readingMask":"Reading Mask","feature.readingMask.desc":"Focus window that dims surrounding content","feature.pageStructure":"Page Structure","feature.pageStructure.desc":"View headings and landmarks for quick navigation","feature.lineHeight":"Line Height","feature.lineHeight.desc":"Increase space between lines of text","ai.loading":"Loading...","ai.error":"Error processing request","ai.simplify.select":"Select text to simplify","ai.simplify.level":"Simplification level","ai.simplify.einfache":"Simple language","ai.simplify.leichte":"Easy language","ai.alttext.generate":"Generate alt text","ai.alttext.apply":"Apply","ai.alttext.edit":"Edit","ai.alttext.badge":"Images missing alt text","ai.alttext.aiGenerated":"AI-generated – please review","tts.play":"Play","tts.pause":"Pause","tts.stop":"Stop","tts.speed":"Speed","footer.disclaimer":"This widget enhances accessibility but does not replace accessible web development.","footer.docs":"Documentation","footer.github":"GitHub","bfsg.notice":"Note: This overlay tool alone does not meet BFSG requirements. Full accessibility requires structural changes to the source code.","widget.subtitle":"Adjust contrast, text and navigation on this page","widget.language":"Language","widget.widgetLang":"Widget language","widget.moveWidget":"Move widget to other side","widget.poweredBy":"Powered by Accessify-Widget","section.essentials":"Most used","section.essentials.desc":"Start with contrast, text size and keyboard support.","section.support":"Reading and navigation","section.support.desc":"Tools for focus, reduced motion and page structure.","section.ai":"AI assistance","section.ai.desc":"Simplify content, generate alt text and scan the current page.","control.mostUsed":"Most used","control.chooseMode":"Choose a mode","control.default":"Default","contrast.mode.light":"Light contrast","contrast.mode.dark":"Dark contrast","contrast.mode.high":"High contrast","keyboard.shortcuts":"Keyboard shortcuts","keyboard.shortcut":"Shortcut","keyboard.action":"Action","keyboard.nextHeading":"Go to the next heading","keyboard.nextLandmark":"Go to the next landmark","keyboard.toggleHelp":"Open or close this help overlay","keyboard.nextFocusable":"Move to the next focusable element","keyboard.closeOverlay":"Close this overlay","keyboard.skipToContent":"Skip to main content","pageStructure.title":"Page structure","pageStructure.headings":"Headings","pageStructure.landmarks":"Landmarks","pageStructure.empty":"No headings or landmarks found on this page."};function di(e){return{...li,...e}}const ui={en:li,de:{"widget.title":"Barrierefreiheit","widget.open":"Barrierefreiheit-Einstellungen öffnen","widget.close":"Schließen","widget.reset":"Alle zurücksetzen","widget.resetConfirm":"Alle Anpassungen zurückgesetzt","widget.poweredBy":"Bereitgestellt von Accessify","widget.statement":"Barrierefreiheitserklärung","status.active":"{count} aktiv","status.noActive":"Keine Anpassungen aktiv","status.activated":"aktiviert","status.deactivated":"deaktiviert","section.profiles":"Schnellprofile","category.visual":"Visuell","category.motor":"Motorik & Navigation","category.cognitive":"Kognitiv","category.ai":"KI-Funktionen","profile.visionImpaired":"Sehbeeinträchtigung","profile.visionImpaired.desc":"Hoher Kontrast, größerer Text und Cursor","profile.motorImpaired":"Motorische Einschränkung","profile.motorImpaired.desc":"Tastaturnavigation und Fokus-Hilfen","profile.cognitive":"Kognitive Unterstützung","profile.cognitive.desc":"Lesehilfen, Abstände und einfachere Schrift","profile.seizureSafe":"Anfallssicher","profile.seizureSafe.desc":"Animationen stoppen und Reize reduzieren","profile.adhdFriendly":"ADHS-freundlich","profile.adhdFriendly.desc":"Ablenkungen reduzieren und Fokus verbessern","feature.contrast":"Kontrast","feature.contrast.desc":"Kontrast erhöhen für bessere Lesbarkeit","feature.textSize":"Größerer Text","feature.textSize.desc":"Text vergrößern oder verkleinern","feature.spacing":"Textabstand","feature.spacing.desc":"Abstände zwischen Buchstaben und Zeilen anpassen","feature.dyslexiaFont":"Legasthenie-Schrift","feature.dyslexiaFont.desc":"Spezielle Schriftart für bessere Lesbarkeit","feature.readingGuide":"Leselineal","feature.readingGuide.desc":"Horizontales Lineal zum zeilenweisen Lesen","feature.focusHighlight":"Fokus-Hervorhebung","feature.focusHighlight.desc":"Sichtbare Umrandung fokussierter Elemente","feature.animationStop":"Animationen stoppen","feature.animationStop.desc":"Alle Animationen und Videos pausieren","feature.bigCursor":"Großer Mauszeiger","feature.bigCursor.desc":"Vergrößerter Mauszeiger für bessere Sichtbarkeit","feature.colorBlind":"Farbfilter","feature.colorBlind.desc":"Farbkorrekturen für verschiedene Sehschwächen","feature.linkHighlight":"Links hervorheben","feature.linkHighlight.desc":"Alle Links sichtbar unterstreichen","feature.keyboardNav":"Tastaturnavigation","feature.keyboardNav.desc":"Seite nur mit Tastatur bedienen: Direkt zum Inhalt springen, mit Alt+H durch Überschriften navigieren, Alt+L für Seitenbereiche, Alt+K zeigt alle Tastenkombinationen","feature.tts":"Vorlesen","feature.tts.desc":"Text per Klick vorlesen lassen","feature.textSimplify":"Text vereinfachen","feature.textSimplify.desc":"Text in Einfache Sprache umwandeln","feature.altText":"Bildbeschreibung","feature.altText.desc":"Bildbeschreibungen per Hover anzeigen und fehlende automatisch erzeugen","feature.autoScan":"WCAG-Prüfung","feature.autoScan.desc":"Seite auf Barrierefreiheit prüfen","feature.saturation":"Sättigung","feature.saturation.desc":"Farbsättigung anpassen oder Graustufen","feature.hideImages":"Bilder ausblenden","feature.hideImages.desc":"Bilder entfernen für ablenkungsfreies Lesen","feature.textAlign":"Textausrichtung","feature.textAlign.desc":"Textausrichtung der Seite ändern","feature.readingMask":"Lesemaske","feature.readingMask.desc":"Fokus-Fenster, das die Umgebung abdunkelt","feature.pageStructure":"Seitenstruktur","feature.pageStructure.desc":"Überschriften und Bereiche zur Navigation anzeigen","feature.lineHeight":"Zeilenhöhe","feature.lineHeight.desc":"Abstand zwischen Textzeilen vergrößern","ai.loading":"Wird geladen...","ai.error":"Fehler bei der Verarbeitung","ai.simplify.select":"Text auswählen zum Vereinfachen","ai.simplify.level":"Vereinfachungsstufe","ai.simplify.einfache":"Einfache Sprache","ai.simplify.leichte":"Leichte Sprache","ai.alttext.generate":"Alt-Text erzeugen","ai.alttext.apply":"Übernehmen","ai.alttext.edit":"Bearbeiten","ai.alttext.badge":"Bilder ohne Alt-Text","ai.alttext.aiGenerated":"KI-generiert – bitte überprüfen","tts.play":"Vorlesen","tts.pause":"Pause","tts.stop":"Stopp","tts.speed":"Geschwindigkeit","footer.disclaimer":"Dieses Widget verbessert die Barrierefreiheit, ersetzt aber keine barrierefreie Webentwicklung.","footer.docs":"Dokumentation","footer.github":"GitHub","bfsg.notice":"Hinweis: Dieses Overlay-Tool allein erfüllt nicht die Anforderungen des BFSG. Professionelle Barrierefreiheit erfordert strukturelle Änderungen am Quellcode.","widget.subtitle":"Passe Kontrast, Text und Navigation auf dieser Seite an","widget.language":"Sprache","widget.widgetLang":"Widget-Sprache","widget.moveWidget":"Widget auf andere Seite verschieben","widget.poweredBy":"Bereitgestellt von Accessify-Widget","section.essentials":"Am haeufigsten genutzt","section.essentials.desc":"Starte mit Kontrast, Textgroesse und Tastaturhilfe.","section.support":"Lesen und Navigation","section.support.desc":"Hilfen fuer Fokus, reduzierte Bewegung und Seitenstruktur.","section.ai":"KI-Unterstuetzung","section.ai.desc":"Inhalte vereinfachen, Alt-Texte erzeugen und die Seite pruefen.","control.mostUsed":"Meistgenutzt","control.chooseMode":"Modus waehlen","control.default":"Standard","contrast.mode.light":"Heller Kontrast","contrast.mode.dark":"Dunkler Kontrast","contrast.mode.high":"Hoher Kontrast","keyboard.shortcuts":"Tastaturhilfe","keyboard.shortcut":"Tastaturkuerzel","keyboard.action":"Aktion","keyboard.nextHeading":"Zur naechsten Ueberschrift springen","keyboard.nextLandmark":"Zur naechsten Landmarke springen","keyboard.toggleHelp":"Diese Hilfe ein- oder ausblenden","keyboard.nextFocusable":"Zum naechsten fokussierbaren Element wechseln","keyboard.closeOverlay":"Diese Hilfe schliessen","keyboard.skipToContent":"Zum Hauptinhalt springen","pageStructure.title":"Seitenstruktur","pageStructure.headings":"Ueberschriften","pageStructure.landmarks":"Landmarken","pageStructure.empty":"Auf dieser Seite wurden keine Ueberschriften oder Landmarken gefunden."},zh:di({"widget.widgetLang":"小组件语言","widget.title":"无障碍","widget.subtitle":"调整此页面的对比度、文字和导航","widget.open":"打开无障碍设置","widget.close":"关闭","widget.reset":"全部重置","widget.resetConfirm":"已重置所有调整","widget.poweredBy":"由 Accessify-Widget 提供支持","widget.statement":"无障碍声明","widget.language":"语言","status.active":"已启用 {count} 项","status.noActive":"当前未启用调整","status.activated":"已启用","status.deactivated":"已关闭","section.essentials":"最常用","section.essentials.desc":"先从对比度、文字大小和键盘支持开始。","section.support":"阅读与导航","section.support.desc":"用于聚焦、减少动画和查看页面结构的工具。","section.ai":"AI 辅助","section.ai.desc":"简化内容、生成替代文本并扫描当前页面。","control.mostUsed":"最常用","control.chooseMode":"选择模式","control.default":"默认","contrast.mode.light":"浅色高对比","contrast.mode.dark":"深色高对比","contrast.mode.high":"高对比","feature.contrast":"对比度","feature.textSize":"更大文字","feature.keyboardNav":"键盘导航","feature.focusHighlight":"焦点高亮","feature.linkHighlight":"突出链接","feature.animationStop":"停止动画","feature.readingGuide":"阅读指引线","feature.readingMask":"阅读遮罩","feature.hideImages":"隐藏图片","feature.bigCursor":"大号光标","feature.pageStructure":"页面结构","feature.tts":"朗读","feature.textSimplify":"简化文本","feature.altText":"图片描述","feature.autoScan":"WCAG 扫描"}),hi:di({"widget.widgetLang":"विजेट भाषा","widget.title":"सुलभता","widget.subtitle":"इस पेज पर कंट्रास्ट, टेक्स्ट और नेविगेशन समायोजित करें","widget.open":"सुलभता सेटिंग खोलें","widget.close":"बंद करें","widget.reset":"सब रीसेट करें","widget.resetConfirm":"सभी बदलाव रीसेट हो गए","widget.poweredBy":"Accessify-Widget द्वारा संचालित","widget.statement":"एक्सेसिबिलिटी स्टेटमेंट","widget.language":"भाषा","status.active":"{count} सक्रिय","status.noActive":"कोई बदलाव सक्रिय नहीं","status.activated":"सक्रिय","status.deactivated":"निष्क्रिय","section.essentials":"सबसे ज्यादा उपयोग","section.essentials.desc":"कंट्रास्ट, टेक्स्ट साइज और कीबोर्ड सहायता से शुरू करें।","section.support":"पढ़ना और नेविगेशन","section.support.desc":"फोकस, कम मोशन और पेज स्ट्रक्चर के लिए टूल।","section.ai":"AI सहायता","section.ai.desc":"कंटेंट सरल करें, ऑल्ट टेक्स्ट बनाएं और मौजूदा पेज स्कैन करें।","control.mostUsed":"सबसे उपयोगी","control.chooseMode":"मोड चुनें","control.default":"डिफ़ॉल्ट","contrast.mode.light":"लाइट कंट्रास्ट","contrast.mode.dark":"डार्क कंट्रास्ट","contrast.mode.high":"हाई कंट्रास्ट","feature.contrast":"कंट्रास्ट","feature.textSize":"बड़ा टेक्स्ट","feature.keyboardNav":"कीबोर्ड नेविगेशन","feature.focusHighlight":"फोकस हाइलाइट","feature.linkHighlight":"लिंक हाइलाइट","feature.animationStop":"एनिमेशन रोकें","feature.readingGuide":"रीडिंग गाइड","feature.readingMask":"रीडिंग मास्क","feature.hideImages":"तस्वीरें छिपाएँ","feature.bigCursor":"बड़ा कर्सर","feature.pageStructure":"पेज संरचना","feature.tts":"जोर से पढ़ें","feature.textSimplify":"टेक्स्ट सरल करें","feature.altText":"चित्र विवरण","feature.autoScan":"WCAG स्कैन"}),es:di({"widget.widgetLang":"Idioma del widget","widget.title":"Accesibilidad","widget.subtitle":"Ajusta contraste, texto y navegacion en esta pagina","widget.open":"Abrir ajustes de accesibilidad","widget.close":"Cerrar","widget.reset":"Restablecer todo","widget.resetConfirm":"Se restablecieron todos los ajustes","widget.poweredBy":"Impulsado por Accessify-Widget","widget.statement":"Declaracion de accesibilidad","widget.language":"Idioma","status.active":"{count} activas","status.noActive":"No hay ajustes activos","status.activated":"activado","status.deactivated":"desactivado","section.essentials":"Lo mas usado","section.essentials.desc":"Empieza con contraste, tamano de texto y apoyo para teclado.","section.support":"Lectura y navegacion","section.support.desc":"Herramientas para foco, menos movimiento y estructura de pagina.","section.ai":"Asistencia de IA","section.ai.desc":"Simplifica contenido, genera texto alternativo y analiza la pagina actual.","control.mostUsed":"Mas usado","control.chooseMode":"Elegir modo","control.default":"Predeterminado","contrast.mode.light":"Contraste claro","contrast.mode.dark":"Contraste oscuro","contrast.mode.high":"Alto contraste","feature.contrast":"Contraste","feature.textSize":"Texto mas grande","feature.keyboardNav":"Navegacion por teclado","feature.focusHighlight":"Resaltar foco","feature.linkHighlight":"Resaltar enlaces","feature.animationStop":"Detener animaciones","feature.readingGuide":"Guia de lectura","feature.readingMask":"Mascara de lectura","feature.hideImages":"Ocultar imagenes","feature.bigCursor":"Cursor grande","feature.pageStructure":"Estructura de pagina","feature.tts":"Lectura en voz alta","feature.textSimplify":"Simplificar texto","feature.altText":"Descripcion de imagen","feature.autoScan":"Escaneo WCAG"}),fr:di({"widget.widgetLang":"Langue du widget","widget.title":"Accessibilite","widget.subtitle":"Ajustez le contraste, le texte et la navigation sur cette page","widget.open":"Ouvrir les reglages d'accessibilite","widget.close":"Fermer","widget.reset":"Tout reinitialiser","widget.resetConfirm":"Tous les ajustements ont ete reinitialises","widget.poweredBy":"Propulse par Accessify-Widget","widget.statement":"Declaration d'accessibilite","widget.language":"Langue","status.active":"{count} actives","status.noActive":"Aucun ajustement actif","status.activated":"active","status.deactivated":"desactive","section.essentials":"Les plus utilises","section.essentials.desc":"Commencez par le contraste, la taille du texte et le clavier.","section.support":"Lecture et navigation","section.support.desc":"Outils pour la mise au point, moins de mouvement et la structure de page.","section.ai":"Assistance IA","section.ai.desc":"Simplifiez le contenu, generez un texte alternatif et analysez la page.","control.mostUsed":"Les plus utilises","control.chooseMode":"Choisir un mode","control.default":"Par defaut","contrast.mode.light":"Contraste clair","contrast.mode.dark":"Contraste sombre","contrast.mode.high":"Contraste eleve","feature.contrast":"Contraste","feature.textSize":"Texte plus grand","feature.keyboardNav":"Navigation clavier","feature.focusHighlight":"Mise en evidence du focus","feature.linkHighlight":"Mettre les liens en evidence","feature.animationStop":"Arreter les animations","feature.readingGuide":"Guide de lecture","feature.readingMask":"Masque de lecture","feature.hideImages":"Masquer les images","feature.bigCursor":"Grand curseur","feature.pageStructure":"Structure de page","feature.tts":"Lecture audio","feature.textSimplify":"Simplifier le texte","feature.altText":"Description d'image","feature.autoScan":"Analyse WCAG"}),ar:di({"widget.widgetLang":"لغة الأداة","widget.title":"إمكانية الوصول","widget.subtitle":"اضبط التباين والنص والتنقل في هذه الصفحة","widget.open":"افتح إعدادات إمكانية الوصول","widget.close":"إغلاق","widget.reset":"إعادة ضبط الكل","widget.resetConfirm":"تمت إعادة ضبط جميع التعديلات","widget.poweredBy":"مدعوم بواسطة Accessify-Widget","widget.statement":"بيان إمكانية الوصول","widget.language":"اللغة","status.active":"{count} عناصر نشطة","status.noActive":"لا توجد تعديلات نشطة","status.activated":"مفعل","status.deactivated":"معطل","section.essentials":"الأكثر استخدامًا","section.essentials.desc":"ابدأ بالتباين وحجم النص ودعم لوحة المفاتيح.","section.support":"القراءة والتنقل","section.support.desc":"أدوات للتركيز وتقليل الحركة وبنية الصفحة.","section.ai":"مساعدة الذكاء الاصطناعي","section.ai.desc":"بسّط المحتوى وأنشئ نصًا بديلاً وافحص الصفحة الحالية.","control.mostUsed":"الأكثر استخدامًا","control.chooseMode":"اختر وضعًا","control.default":"افتراضي","contrast.mode.light":"تباين فاتح","contrast.mode.dark":"تباين داكن","contrast.mode.high":"تباين عالٍ","feature.contrast":"التباين","feature.textSize":"نص أكبر","feature.keyboardNav":"تنقل بلوحة المفاتيح","feature.focusHighlight":"إبراز التركيز","feature.linkHighlight":"إبراز الروابط","feature.animationStop":"إيقاف الرسوم المتحركة","feature.readingGuide":"دليل القراءة","feature.readingMask":"قناع القراءة","feature.hideImages":"إخفاء الصور","feature.bigCursor":"مؤشر كبير","feature.pageStructure":"بنية الصفحة","feature.tts":"القراءة بصوت عالٍ","feature.textSimplify":"تبسيط النص","feature.altText":"وصف الصورة","feature.autoScan":"فحص WCAG"}),bn:di({"widget.title":"অ্যাক্সেসিবিলিটি","widget.subtitle":"এই পাতায় কনট্রাস্ট, টেক্সট এবং নেভিগেশন ঠিক করুন","widget.open":"অ্যাক্সেসিবিলিটি সেটিংস খুলুন","widget.close":"বন্ধ করুন","widget.reset":"সব রিসেট করুন","widget.resetConfirm":"সব পরিবর্তন রিসেট হয়েছে","widget.poweredBy":"Accessify-Widget দ্বারা চালিত","widget.statement":"অ্যাক্সেসিবিলিটি বিবৃতি","widget.language":"ভাষা","status.active":"{count} টি সক্রিয়","status.noActive":"কোনও সমন্বয় সক্রিয় নেই","status.activated":"সক্রিয়","status.deactivated":"নিষ্ক্রিয়","section.essentials":"সবচেয়ে ব্যবহৃত","section.essentials.desc":"কনট্রাস্ট, টেক্সট সাইজ এবং কিবোর্ড সহায়তা দিয়ে শুরু করুন।","section.support":"পড়া ও নেভিগেশন","section.support.desc":"ফোকাস, কম মুভমেন্ট এবং পেজ স্ট্রাকচারের টুল।","section.ai":"AI সহায়তা","section.ai.desc":"কনটেন্ট সহজ করুন, অল্ট টেক্সট তৈরি করুন এবং পেজ স্ক্যান করুন।","control.mostUsed":"সবচেয়ে ব্যবহৃত","control.chooseMode":"মোড বেছে নিন","control.default":"ডিফল্ট","contrast.mode.light":"লাইট কনট্রাস্ট","contrast.mode.dark":"ডার্ক কনট্রাস্ট","contrast.mode.high":"হাই কনট্রাস্ট","feature.contrast":"কনট্রাস্ট","feature.textSize":"বড় টেক্সট","feature.keyboardNav":"কিবোর্ড নেভিগেশন","feature.focusHighlight":"ফোকাস হাইলাইট","feature.linkHighlight":"লিংক হাইলাইট","feature.animationStop":"অ্যানিমেশন বন্ধ","feature.readingGuide":"রিডিং গাইড","feature.readingMask":"রিডিং মাস্ক","feature.hideImages":"ছবি লুকান","feature.bigCursor":"বড় কার্সর","feature.pageStructure":"পেজ স্ট্রাকচার","feature.tts":"জোরে পড়া","feature.textSimplify":"টেক্সট সহজ করুন","feature.altText":"ছবির বিবরণ","feature.autoScan":"WCAG স্ক্যান"}),pt:di({"widget.widgetLang":"Idioma do widget","widget.title":"Acessibilidade","widget.subtitle":"Ajuste contraste, texto e navegacao nesta pagina","widget.open":"Abrir configuracoes de acessibilidade","widget.close":"Fechar","widget.reset":"Redefinir tudo","widget.resetConfirm":"Todos os ajustes foram redefinidos","widget.poweredBy":"Desenvolvido por Accessify-Widget","widget.statement":"Declaracao de acessibilidade","widget.language":"Idioma","status.active":"{count} ativas","status.noActive":"Nenhum ajuste ativo","status.activated":"ativado","status.deactivated":"desativado","section.essentials":"Mais usados","section.essentials.desc":"Comece com contraste, tamanho do texto e apoio ao teclado.","section.support":"Leitura e navegacao","section.support.desc":"Ferramentas para foco, menos movimento e estrutura da pagina.","section.ai":"Assistencia de IA","section.ai.desc":"Simplifique conteudo, gere texto alternativo e analise a pagina atual.","control.mostUsed":"Mais usados","control.chooseMode":"Escolher modo","control.default":"Padrao","contrast.mode.light":"Contraste claro","contrast.mode.dark":"Contraste escuro","contrast.mode.high":"Alto contraste","feature.contrast":"Contraste","feature.textSize":"Texto maior","feature.keyboardNav":"Navegacao por teclado","feature.focusHighlight":"Destaque de foco","feature.linkHighlight":"Destacar links","feature.animationStop":"Parar animacoes","feature.readingGuide":"Guia de leitura","feature.readingMask":"Mascara de leitura","feature.hideImages":"Ocultar imagens","feature.bigCursor":"Cursor grande","feature.pageStructure":"Estrutura da pagina","feature.tts":"Leitura em voz alta","feature.textSimplify":"Simplificar texto","feature.altText":"Descricao da imagem","feature.autoScan":"Varredura WCAG"}),ru:di({"widget.widgetLang":"Язык виджета","widget.title":"Доступность","widget.subtitle":"Настройте контраст, текст и навигацию на этой странице","widget.open":"Открыть настройки доступности","widget.close":"Закрыть","widget.reset":"Сбросить все","widget.resetConfirm":"Все настройки сброшены","widget.poweredBy":"Работает на Accessify-Widget","widget.statement":"Заявление о доступности","widget.language":"Язык","status.active":"Активно: {count}","status.noActive":"Нет активных настроек","status.activated":"включено","status.deactivated":"выключено","section.essentials":"Самое используемое","section.essentials.desc":"Начните с контраста, размера текста и поддержки клавиатуры.","section.support":"Чтение и навигация","section.support.desc":"Инструменты для фокуса, уменьшения движения и структуры страницы.","section.ai":"Помощь ИИ","section.ai.desc":"Упрощайте текст, создавайте alt-текст и проверяйте текущую страницу.","control.mostUsed":"Популярное","control.chooseMode":"Выберите режим","control.default":"По умолчанию","contrast.mode.light":"Светлый контраст","contrast.mode.dark":"Темный контраст","contrast.mode.high":"Высокий контраст","feature.contrast":"Контраст","feature.textSize":"Крупный текст","feature.keyboardNav":"Навигация с клавиатуры","feature.focusHighlight":"Подсветка фокуса","feature.linkHighlight":"Выделить ссылки","feature.animationStop":"Остановить анимацию","feature.readingGuide":"Линейка для чтения","feature.readingMask":"Маска чтения","feature.hideImages":"Скрыть изображения","feature.bigCursor":"Большой курсор","feature.pageStructure":"Структура страницы","feature.tts":"Озвучивание","feature.textSimplify":"Упростить текст","feature.altText":"Описание изображения","feature.autoScan":"Проверка WCAG"}),ur:di({"widget.title":"رسائی","widget.subtitle":"اس صفحے پر کنٹراسٹ، متن اور نیویگیشن کو ایڈجسٹ کریں","widget.open":"رسائی کی ترتیبات کھولیں","widget.close":"بند کریں","widget.reset":"سب ری سیٹ کریں","widget.resetConfirm":"تمام تبدیلیاں ری سیٹ ہو گئیں","widget.poweredBy":"Accessify-Widget کے ذریعے","widget.statement":"رسائی کا بیان","widget.language":"زبان","status.active":"{count} فعال","status.noActive":"کوئی تبدیلی فعال نہیں","status.activated":"فعال","status.deactivated":"غیر فعال","section.essentials":"سب سے زیادہ استعمال","section.essentials.desc":"کنٹراسٹ، متن کے سائز اور کی بورڈ مدد سے شروع کریں۔","section.support":"مطالعہ اور نیویگیشن","section.support.desc":"فوکس، کم حرکت اور صفحہ ساخت کے لیے ٹولز۔","section.ai":"AI مدد","section.ai.desc":"مواد آسان کریں، آلٹ ٹیکسٹ بنائیں اور موجودہ صفحہ اسکین کریں۔","control.mostUsed":"زیادہ استعمال","control.chooseMode":"موڈ منتخب کریں","control.default":"ڈیفالٹ","contrast.mode.light":"لائٹ کنٹراسٹ","contrast.mode.dark":"ڈارک کنٹراسٹ","contrast.mode.high":"ہائی کنٹراسٹ","feature.contrast":"کنٹراسٹ","feature.textSize":"بڑا متن","feature.keyboardNav":"کی بورڈ نیویگیشن","feature.focusHighlight":"فوکس ہائی لائٹ","feature.linkHighlight":"لنکس نمایاں کریں","feature.animationStop":"اینیمیشن روکیں","feature.readingGuide":"مطالعہ گائیڈ","feature.readingMask":"مطالعہ ماسک","feature.hideImages":"تصاویر چھپائیں","feature.bigCursor":"بڑا کرسر","feature.pageStructure":"صفحہ ساخت","feature.tts":"بلند آواز میں پڑھیں","feature.textSimplify":"متن آسان کریں","feature.altText":"تصویر کی تفصیل","feature.autoScan":"WCAG اسکین"}),id:di({"widget.title":"Aksesibilitas","widget.subtitle":"Atur kontras, teks, dan navigasi di halaman ini","widget.open":"Buka pengaturan aksesibilitas","widget.close":"Tutup","widget.reset":"Reset semua","widget.resetConfirm":"Semua penyesuaian telah direset","widget.poweredBy":"Didukung oleh Accessify-Widget","widget.statement":"Pernyataan aksesibilitas","widget.language":"Bahasa","status.active":"{count} aktif","status.noActive":"Tidak ada penyesuaian aktif","status.activated":"aktif","status.deactivated":"nonaktif","section.essentials":"Paling sering dipakai","section.essentials.desc":"Mulai dari kontras, ukuran teks, dan dukungan keyboard.","section.support":"Membaca dan navigasi","section.support.desc":"Alat untuk fokus, gerakan rendah, dan struktur halaman.","section.ai":"Bantuan AI","section.ai.desc":"Sederhanakan konten, buat alt text, dan pindai halaman saat ini.","control.mostUsed":"Paling sering","control.chooseMode":"Pilih mode","control.default":"Default","contrast.mode.light":"Kontras terang","contrast.mode.dark":"Kontras gelap","contrast.mode.high":"Kontras tinggi","feature.contrast":"Kontras","feature.textSize":"Teks lebih besar","feature.keyboardNav":"Navigasi keyboard","feature.focusHighlight":"Sorot fokus","feature.linkHighlight":"Sorot tautan","feature.animationStop":"Hentikan animasi","feature.readingGuide":"Panduan baca","feature.readingMask":"Masker baca","feature.hideImages":"Sembunyikan gambar","feature.bigCursor":"Kursor besar","feature.pageStructure":"Struktur halaman","feature.tts":"Bacakan","feature.textSimplify":"Sederhanakan teks","feature.altText":"Deskripsi gambar","feature.autoScan":"Pindai WCAG"}),ja:di({"widget.widgetLang":"ウィジェットの言語","widget.title":"アクセシビリティ","widget.subtitle":"このページのコントラスト、文字、ナビゲーションを調整します","widget.open":"アクセシビリティ設定を開く","widget.close":"閉じる","widget.reset":"すべてリセット","widget.resetConfirm":"すべての調整をリセットしました","widget.poweredBy":"Accessify-Widget 提供","widget.statement":"アクセシビリティ宣言","widget.language":"言語","status.active":"{count} 件が有効","status.noActive":"有効な調整はありません","status.activated":"有効","status.deactivated":"無効","section.essentials":"よく使う設定","section.essentials.desc":"まずはコントラスト、文字サイズ、キーボード支援から始めてください。","section.support":"読みやすさとナビゲーション","section.support.desc":"フォーカス、動きの抑制、ページ構造のためのツールです。","section.ai":"AI 支援","section.ai.desc":"文章を簡単にし、代替テキストを生成し、現在のページを確認します。","control.mostUsed":"よく使う","control.chooseMode":"モードを選択","control.default":"標準","contrast.mode.light":"ライトコントラスト","contrast.mode.dark":"ダークコントラスト","contrast.mode.high":"ハイコントラスト","feature.contrast":"コントラスト","feature.textSize":"大きな文字","feature.keyboardNav":"キーボード操作","feature.focusHighlight":"フォーカス強調","feature.linkHighlight":"リンク強調","feature.animationStop":"アニメーション停止","feature.readingGuide":"読書ガイド","feature.readingMask":"読書マスク","feature.hideImages":"画像を隠す","feature.bigCursor":"大きいカーソル","feature.pageStructure":"ページ構造","feature.tts":"読み上げ","feature.textSimplify":"文章を簡単にする","feature.altText":"画像の説明","feature.autoScan":"WCAG スキャン"}),pcm:di({"widget.title":"Accessibility","widget.subtitle":"Adjust contrast, text and navigation for dis page","widget.open":"Open accessibility settings","widget.close":"Close","widget.reset":"Reset all","widget.resetConfirm":"All adjustments don reset","widget.poweredBy":"Powered by Accessify-Widget","widget.statement":"Accessibility statement","widget.language":"Language","status.active":"{count} active","status.noActive":"No adjustment dey active","status.activated":"activated","status.deactivated":"deactivated","section.essentials":"Wetin people use pass","section.essentials.desc":"Start with contrast, text size and keyboard support.","section.support":"Reading and navigation","section.support.desc":"Tools for focus, reduced motion and page structure.","section.ai":"AI help","section.ai.desc":"Simplify content, generate alt text and scan dis page.","control.mostUsed":"Most used","control.chooseMode":"Choose mode","control.default":"Default","contrast.mode.light":"Light contrast","contrast.mode.dark":"Dark contrast","contrast.mode.high":"High contrast","feature.contrast":"Contrast","feature.textSize":"Bigger text","feature.keyboardNav":"Keyboard navigation","feature.focusHighlight":"Focus highlight","feature.linkHighlight":"Highlight links","feature.animationStop":"Stop animations","feature.readingGuide":"Reading guide","feature.readingMask":"Reading mask","feature.hideImages":"Hide images","feature.bigCursor":"Big cursor","feature.pageStructure":"Page structure","feature.tts":"Read aloud","feature.textSimplify":"Simplify text","feature.altText":"Image Description","feature.autoScan":"WCAG scan"}),mr:di({"widget.title":"प्रवेशयोग्यता","widget.subtitle":"या पानावर कॉन्ट्रास्ट, मजकूर आणि नेव्हिगेशन समायोजित करा","widget.open":"प्रवेशयोग्यता सेटिंग्ज उघडा","widget.close":"बंद करा","widget.reset":"सर्व रीसेट करा","widget.resetConfirm":"सर्व बदल रीसेट झाले","widget.poweredBy":"Accessify-Widget द्वारे समर्थित","widget.statement":"प्रवेशयोग्यता निवेदन","widget.language":"भाषा","status.active":"{count} सक्रिय","status.noActive":"कोणतेही बदल सक्रिय नाहीत","status.activated":"सक्रिय","status.deactivated":"निष्क्रिय","section.essentials":"सर्वात जास्त वापरलेले","section.essentials.desc":"कॉन्ट्रास्ट, मजकूर आकार आणि कीबोर्ड सहाय्यापासून सुरुवात करा.","section.support":"वाचन आणि नेव्हिगेशन","section.support.desc":"फोकस, कमी हालचाल आणि पृष्ठरचना यासाठी साधने.","section.ai":"AI मदत","section.ai.desc":"मजकूर सोपा करा, alt-text तयार करा आणि हे पान स्कॅन करा.","control.mostUsed":"सर्वाधिक वापरलेले","control.chooseMode":"मोड निवडा","control.default":"डीफॉल्ट","contrast.mode.light":"लाईट कॉन्ट्रास्ट","contrast.mode.dark":"डार्क कॉन्ट्रास्ट","contrast.mode.high":"हाय कॉन्ट्रास्ट","feature.contrast":"कॉन्ट्रास्ट","feature.textSize":"मोठा मजकूर","feature.keyboardNav":"कीबोर्ड नेव्हिगेशन","feature.focusHighlight":"फोकस हायलाइट","feature.linkHighlight":"लिंक हायलाइट","feature.animationStop":"अ‍ॅनिमेशन थांबवा","feature.readingGuide":"वाचन मार्गदर्शक","feature.readingMask":"वाचन मास्क","feature.hideImages":"प्रतिमा लपवा","feature.bigCursor":"मोठा कर्सर","feature.pageStructure":"पृष्ठरचना","feature.tts":"मोठ्याने वाचा","feature.textSimplify":"मजकूर सोपा करा","feature.altText":"चित्र वर्णन","feature.autoScan":"WCAG स्कॅन"}),te:di({"widget.title":"అందుబాటు","widget.subtitle":"ఈ పేజీలో కాంట్రాస్ట్, టెక్స్ట్ మరియు నావిగేషన్‌ను సర్దుబాటు చేయండి","widget.open":"అందుబాటు సెట్టింగ్స్ తెరువు","widget.close":"మూసివేయి","widget.reset":"అన్నీ రీసెట్ చేయి","widget.resetConfirm":"అన్ని మార్పులు రీసెట్ అయ్యాయి","widget.poweredBy":"Accessify-Widget ద్వారా","widget.statement":"అందుబాటు ప్రకటన","widget.language":"భాష","status.active":"{count} సక్రియం","status.noActive":"ఏ మార్పూ సక్రియంగా లేదు","status.activated":"సక్రియం","status.deactivated":"నిష్క్రియం","section.essentials":"ఎక్కువగా ఉపయోగించేవి","section.essentials.desc":"కాంట్రాస్ట్, టెక్స్ట్ సైజు మరియు కీబోర్డ్ సహాయంతో మొదలుపెట్టండి.","section.support":"చదువు మరియు నావిగేషన్","section.support.desc":"ఫోకస్, తక్కువ మోషన్ మరియు పేజీ నిర్మాణానికి టూల్స్.","section.ai":"AI సహాయం","section.ai.desc":"కంటెంట్‌ను సులభతరం చేయండి, alt-text తయారు చేయండి, ఈ పేజీని స్కాన్ చేయండి.","control.mostUsed":"ఎక్కువ ఉపయోగం","control.chooseMode":"మోడ్ ఎంచుకోండి","control.default":"డిఫాల్ట్","contrast.mode.light":"లైట్ కాంట్రాస్ట్","contrast.mode.dark":"డార్క్ కాంట్రాస్ట్","contrast.mode.high":"హై కాంట్రాస్ట్","feature.contrast":"కాంట్రాస్ట్","feature.textSize":"పెద్ద టెక్స్ట్","feature.keyboardNav":"కీబోర్డ్ నావిగేషన్","feature.focusHighlight":"ఫోకస్ హైలైట్","feature.linkHighlight":"లింక్ హైలైట్","feature.animationStop":"యానిమేషన్స్ ఆపండి","feature.readingGuide":"రీడింగ్ గైడ్","feature.readingMask":"రీడింగ్ మాస్క్","feature.hideImages":"చిత్రాలు దాచు","feature.bigCursor":"పెద్ద కర్సర్","feature.pageStructure":"పేజీ నిర్మాణం","feature.tts":"గట్టిగా చదవండి","feature.textSimplify":"టెక్స్ట్ సులభతరం చేయి","feature.altText":"చిత్ర వివరణ","feature.autoScan":"WCAG స్కాన్"}),tr:di({"widget.widgetLang":"Widget dili","widget.title":"Erisilebilirlik","widget.subtitle":"Bu sayfada kontrast, metin ve gezinmeyi ayarlayin","widget.open":"Erisilebilirlik ayarlarini ac","widget.close":"Kapat","widget.reset":"Tumunu sifirla","widget.resetConfirm":"Tum ayarlar sifirlandi","widget.poweredBy":"Accessify-Widget ile calisir","widget.statement":"Erisilebilirlik bildirimi","widget.language":"Dil","status.active":"{count} etkin","status.noActive":"Etkin ayar yok","status.activated":"etkin","status.deactivated":"devre disi","section.essentials":"En cok kullanilanlar","section.essentials.desc":"Kontrast, yazi boyutu ve klavye destegi ile baslayin.","section.support":"Okuma ve gezinme","section.support.desc":"Odak, azaltulmis hareket ve sayfa yapisi icin araclar.","section.ai":"YZ yardimi","section.ai.desc":"Icerigi sadeletir, alt metin olusturur ve mevcut sayfayi tarar.","control.mostUsed":"En cok kullanilan","control.chooseMode":"Mod sec","control.default":"Varsayilan","contrast.mode.light":"Acik kontrast","contrast.mode.dark":"Koyu kontrast","contrast.mode.high":"Yuksek kontrast","feature.contrast":"Kontrast","feature.textSize":"Buyuk metin","feature.keyboardNav":"Klavye gezintisi","feature.focusHighlight":"Odak vurgusu","feature.linkHighlight":"Baglantilari vurgula","feature.animationStop":"Animasyonlari durdur","feature.readingGuide":"Okuma kilavuzu","feature.readingMask":"Okuma maskesi","feature.hideImages":"Gorselleri gizle","feature.bigCursor":"Buyuk imlec","feature.pageStructure":"Sayfa yapisi","feature.tts":"Sesli oku","feature.textSimplify":"Metni sadeletir","feature.altText":"Resim aciklamasi","feature.autoScan":"WCAG taramasi"}),ta:di({"widget.title":"அணுகல்திறன்","widget.subtitle":"இந்த பக்கத்தில் எதிரொலி, உரை மற்றும் வழிசெலுத்தலை மாற்றுங்கள்","widget.open":"அணுகல்திறன் அமைப்புகளை திறக்கவும்","widget.close":"மூடு","widget.reset":"அனைத்தையும் மீட்டமை","widget.resetConfirm":"அனைத்து மாற்றங்களும் மீட்டமைக்கப்பட்டன","widget.poweredBy":"Accessify-Widget மூலம்","widget.statement":"அணுகல்திறன் அறிக்கை","widget.language":"மொழி","status.active":"{count} செயலில்","status.noActive":"செயலில் மாற்றங்கள் இல்லை","status.activated":"செயலில்","status.deactivated":"செயலற்றது","section.essentials":"அதிகம் பயன்படுத்தப்படும்","section.essentials.desc":"எதிரொலி, எழுத்து அளவு மற்றும் விசைப்பலகை உதவியுடன் தொடங்குங்கள்.","section.support":"வாசிப்பு மற்றும் வழிசெலுத்தல்","section.support.desc":"கவனம், குறைந்த இயக்கம் மற்றும் பக்க அமைப்புக்கான கருவிகள்.","section.ai":"AI உதவி","section.ai.desc":"உள்ளடக்கத்தை எளிமைப்படுத்தி, alt-text உருவாக்கி, இந்த பக்கத்தை ஸ்கேன் செய்யுங்கள்.","control.mostUsed":"அதிகம் பயன்படுத்தப்படும்","control.chooseMode":"முறையை தேர்வு செய்","control.default":"இயல்புநிலை","contrast.mode.light":"ஒளி எதிரொலி","contrast.mode.dark":"இருண்ட எதிரொலி","contrast.mode.high":"உயர் எதிரொலி","feature.contrast":"எதிரொலி","feature.textSize":"பெரிய எழுத்து","feature.keyboardNav":"விசைப்பலகை வழிசெலுத்தல்","feature.focusHighlight":"கவனத்தை வெளிப்படுத்து","feature.linkHighlight":"இணைப்புகளை வெளிப்படுத்து","feature.animationStop":"அனிமேஷனை நிறுத்து","feature.readingGuide":"வாசிப்பு வழிகாட்டி","feature.readingMask":"வாசிப்பு மறைப்பு","feature.hideImages":"படங்களை மறை","feature.bigCursor":"பெரிய கர்சர்","feature.pageStructure":"பக்க அமைப்பு","feature.tts":"சத்தமாக வாசி","feature.textSimplify":"உரையை எளிமைப்படுத்து","feature.altText":"பட விளக்கம்","feature.autoScan":"WCAG ஸ்கேன்"}),vi:di({"widget.title":"Tro nang truy cap","widget.subtitle":"Dieu chinh tuong phan, van ban va dieu huong tren trang nay","widget.open":"Mo cai dat tro nang truy cap","widget.close":"Dong","widget.reset":"Dat lai tat ca","widget.resetConfirm":"Da dat lai moi dieu chinh","widget.poweredBy":"Van hanh boi Accessify-Widget","widget.statement":"Tuyen bo tro nang truy cap","widget.language":"Ngon ngu","status.active":"{count} muc dang bat","status.noActive":"Khong co dieu chinh nao dang bat","status.activated":"da bat","status.deactivated":"da tat","section.essentials":"Dung nhieu nhat","section.essentials.desc":"Bat dau voi tuong phan, co chu va ho tro ban phim.","section.support":"Doc va dieu huong","section.support.desc":"Cong cu cho tap trung, giam chuyen dong va cau truc trang.","section.ai":"Ho tro AI","section.ai.desc":"Don gian hoa noi dung, tao alt-text va quet trang hien tai.","control.mostUsed":"Pho bien","control.chooseMode":"Chon che do","control.default":"Mac dinh","contrast.mode.light":"Tuong phan sang","contrast.mode.dark":"Tuong phan toi","contrast.mode.high":"Tuong phan cao","feature.contrast":"Tuong phan","feature.textSize":"Chu lon hon","feature.keyboardNav":"Dieu huong ban phim","feature.focusHighlight":"Noi bat tieu diem","feature.linkHighlight":"Noi bat lien ket","feature.animationStop":"Dung hieu ung","feature.readingGuide":"Thuoc doc","feature.readingMask":"Mat na doc","feature.hideImages":"An hinh anh","feature.bigCursor":"Con tro lon","feature.pageStructure":"Cau truc trang","feature.tts":"Doc thanh tieng","feature.textSimplify":"Don gian hoa van ban","feature.altText":"Mo ta hinh anh","feature.autoScan":"Quet WCAG"}),ko:di({"widget.widgetLang":"위젯 언어","widget.title":"접근성","widget.subtitle":"이 페이지의 대비, 텍스트, 내비게이션을 조정하세요","widget.open":"접근성 설정 열기","widget.close":"닫기","widget.reset":"모두 재설정","widget.resetConfirm":"모든 조정이 재설정되었습니다","widget.poweredBy":"Accessify-Widget 제공","widget.statement":"접근성 안내문","widget.language":"언어","status.active":"{count}개 활성","status.noActive":"활성화된 조정이 없습니다","status.activated":"활성화됨","status.deactivated":"비활성화됨","section.essentials":"가장 많이 사용됨","section.essentials.desc":"대비, 글자 크기, 키보드 지원부터 시작하세요.","section.support":"읽기 및 내비게이션","section.support.desc":"초점, 움직임 감소, 페이지 구조를 위한 도구입니다.","section.ai":"AI 지원","section.ai.desc":"콘텐츠를 쉽게 만들고 대체 텍스트를 생성하며 현재 페이지를 검사합니다.","control.mostUsed":"가장 많이 사용됨","control.chooseMode":"모드 선택","control.default":"기본값","contrast.mode.light":"라이트 대비","contrast.mode.dark":"다크 대비","contrast.mode.high":"고대비","feature.contrast":"대비","feature.textSize":"큰 글자","feature.keyboardNav":"키보드 내비게이션","feature.focusHighlight":"포커스 강조","feature.linkHighlight":"링크 강조","feature.animationStop":"애니메이션 중지","feature.readingGuide":"읽기 가이드","feature.readingMask":"읽기 마스크","feature.hideImages":"이미지 숨기기","feature.bigCursor":"큰 커서","feature.pageStructure":"페이지 구조","feature.tts":"소리 내어 읽기","feature.textSimplify":"텍스트 단순화","feature.altText":"이미지 설명","feature.autoScan":"WCAG 검사"})},fi=[{code:"de",label:"Deutsch",flag:"🇩🇪"},{code:"en",label:"English",flag:"🇺🇸"},{code:"es",label:"Español",flag:"🇪🇸"},{code:"fr",label:"Français",flag:"🇫🇷"},{code:"pt",label:"Português",flag:"🇧🇷"},{code:"tr",label:"Türkçe",flag:"🇹🇷"},{code:"ar",label:"العربية",flag:"🇸🇦"},{code:"zh",label:"中文",flag:"🇨🇳"},{code:"ja",label:"日本語",flag:"🇯🇵"},{code:"ru",label:"Русский",flag:"🇷🇺"}],pi=new Set(["ar","ur"]);let hi="en";function gi(e){if(!e)return"en";const t=e.toLowerCase();if(ui[t])return t;const n=t.split("-")[0];return ui[n]?n:"en"}function mi(){return hi}function yi(e){return pi.has(gi(e))}function vi(e,t="en"){const n=gi(t);return ui[n]?.[e]||li[e]||e}var bi=Ca("<button></button>"),wi=Ca('<header class="accessify-header"><div class="accessify-header-left"><span class="accessify-logo" aria-label="Accessify"><svg viewBox="0 0 480 80" fill="currentColor" xmlns="http://www.w3.org/2000/svg"><text x="0" y="64" font-family="-apple-system, BlinkMacSystemFont, \'Segoe UI\', sans-serif" font-size="72" font-weight="700" letter-spacing="-2">accessify</text></svg></span></div> <div class="accessify-header-actions"><button class="accessify-header-btn accessify-drag-handle"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round"><line x1="8" y1="6" x2="8" y2="6.01"></line><line x1="16" y1="6" x2="16" y2="6.01"></line><line x1="8" y1="12" x2="8" y2="12.01"></line><line x1="16" y1="12" x2="16" y2="12.01"></line><line x1="8" y1="18" x2="8" y2="18.01"></line><line x1="16" y1="18" x2="16" y2="18.01"></line></svg></button> <button class="accessify-header-btn"></button> <button class="accessify-header-btn accessify-header-btn--icon accessify-header-btn--close"></button></div></header>');wa(["click"]);const xi=[{id:"vision-impaired",nameKey:"profile.visionImpaired",descKey:"profile.visionImpaired.desc",iconId:"eye",features:["contrast","text-size","big-cursor","link-highlight"],featureSettings:{"text-size":150,contrast:"high"}},{id:"motor-impaired",nameKey:"profile.motorImpaired",descKey:"profile.motorImpaired.desc",iconId:"keyboard",features:["keyboard-nav","big-cursor","link-highlight"]},{id:"cognitive",nameKey:"profile.cognitive",descKey:"profile.cognitive.desc",iconId:"brain",features:["reading-guide","text-size","spacing","dyslexia-font","animation-stop"],featureSettings:{"text-size":130}},{id:"seizure-safe",nameKey:"profile.seizureSafe",descKey:"profile.seizureSafe.desc",iconId:"shield",features:["animation-stop","saturation"],featureSettings:{saturation:"low"}},{id:"adhd-friendly",nameKey:"profile.adhdFriendly",descKey:"profile.adhdFriendly.desc",iconId:"focus",features:["animation-stop","reading-mask","hide-images"]}];var ki=Ta('<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"><path d="M20 6L9 17l-5-5"></path></svg>'),Si=Ca('<button class="accessify-accordion-option"><span class="accessify-accordion-option-left"><span class="accessify-accordion-option-icon" aria-hidden="true"></span> <span class="accessify-accordion-option-text"><span class="accessify-accordion-option-name"> </span> <span class="accessify-accordion-option-desc"> </span></span></span> <!></button>'),Ai=Ca('<div class="accessify-accordion-list" role="group"></div>'),Mi=Ca('<div class="accessify-accordion" role="region"><button class="accessify-accordion-toggle"><span class="accessify-accordion-toggle-left"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="10"></circle><path d="M12 8v4l2 2"></path></svg> <span> </span></span> <svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"><polyline points="6 9 12 15 18 9"></polyline></svg></button> <!></div>');wa(["click"]);const Ci="https://openrouter.ai/api/v1",Ei="google/gemini-2.0-flash-001";function Ti(e){const t=e.choices?.[0]?.message;if(t?.content&&"string"==typeof t.content)return t.content.trim();if(t?.reasoning&&"string"==typeof t.reasoning)return t.reasoning.trim();if(Array.isArray(t?.reasoning_details))for(const n of t.reasoning_details)if(n?.text)return n.text.trim();return""}function _i(e){const t={"Content-Type":"application/json",...e.apiKey?{Authorization:`Bearer ${e.apiKey}`}:{},"HTTP-Referer":"undefined"!=typeof window?window.location.origin:"","X-Title":"Accessify Widget"};return{async simplifyText(n,a="einfache",i="de"){const r=i.startsWith("de")?function(e){return"leichte"===e?"Du bist ein Experte für Leichte Sprache (DIN SPEC 33429). Vereinfache den folgenden Text nach diesen Regeln:\n- Benutze kurze Sätze (maximal 8 Wörter pro Satz)\n- Ein Satz pro Zeile\n- Benutze einfache, bekannte Wörter\n- Erkläre Fremdwörter und Fachbegriffe\n- Benutze aktive Sätze (kein Passiv)\n- Benutze keine Abkürzungen\n- Benutze keine Metaphern oder bildliche Sprache\n- Schreibe in Präsens\n- Benutze positive Formulierungen\n- Zielgruppe: CEFR A1-A2\n\nGib NUR den vereinfachten Text zurück.":"Du bist ein Experte für Einfache Sprache (DIN ISO 24495-1). Vereinfache den folgenden Text:\n- Kurze, klare Sätze (maximal 15 Wörter)\n- Vermeide Fachbegriffe oder erkläre sie\n- Benutze aktive Formulierungen\n- Strukturiere den Text mit klaren Absätzen\n- Zielgruppe: CEFR B1-B2\n- Bewahre den vollständigen Inhalt\n\nGib NUR den vereinfachten Text zurück."}(a):"You are a plain language expert. Simplify the following text:\n- Use short, clear sentences (max 15 words)\n- Avoid jargon, explain technical terms\n- Use active voice\n- Target reading level: grade 6-8\n\nReturn ONLY the simplified text.",o=await fetch(`${Ci}/chat/completions`,{method:"POST",headers:t,body:JSON.stringify({model:e.textModel||"google/gemini-2.0-flash-001",messages:[{role:"system",content:r},{role:"user",content:n}],stream:!1,max_tokens:2e3})});if(!o.ok){if(429===o.status)throw new $i("Rate limit reached. Please try again later.");throw new Error(`AI service error: ${o.status}`)}return Ti(await o.json())},async generateAltText(n,a,i){const r=i&&!i.startsWith("en")?` Generate the alt text in ${i} language.`:"",o=await fetch(`${Ci}/chat/completions`,{method:"POST",headers:t,body:JSON.stringify({model:e.visionModel||Ei,messages:[{role:"user",content:[{type:"text",text:`Generate a concise, descriptive alt text for this image for web accessibility.${r} ${a?"Context: "+a:""} Return ONLY the alt text, nothing else. Max 125 characters.`},{type:"image_url",image_url:{url:n}}]}],max_tokens:300})});if(!o.ok){if(429===o.status)throw new $i("Rate limit reached. Please try again later.");throw new Error(`AI vision error: ${o.status}`)}return Ti(await o.json())},async describeImage(n,a){const i=a&&a.startsWith("de")?" Beschreibe auf Deutsch.":"",r=await fetch(`${Ci}/chat/completions`,{method:"POST",headers:t,body:JSON.stringify({model:e.visionModel||Ei,messages:[{role:"user",content:[{type:"text",text:`Describe what is shown in this image. 2-3 sentences, easy to understand.${i} Return ONLY the description.`},{type:"image_url",image_url:{url:n}}]}],max_tokens:500})});if(!r.ok){if(429===r.status)throw new $i("Rate limit reached. Please try again later.");throw new Error(`AI vision error: ${r.status}`)}return Ti(await r.json())}}}class $i extends Error{constructor(e){super(e),this.name="RateLimitError"}}var Ii=Ca('<button class="accessify-chip accessify-chip--icon"><span class="accessify-chip-icon" aria-hidden="true"></span> <span> </span></button>'),zi=Ca('<div class="accessify-control-row" role="group"><div class="accessify-control-label"><span class="accessify-control-label-icon" aria-hidden="true"></span> <span class="accessify-control-label-text"> </span></div> <div class="accessify-chip-row"></div></div>'),Li=Ca('<div class="accessify-control-row" role="group"><div class="accessify-control-label"><span class="accessify-control-label-icon" aria-hidden="true"></span> <span class="accessify-control-label-text"> </span></div> <div class="accessify-stepper"><button class="accessify-stepper-btn" aria-label="Decrease text size">−</button> <span class="accessify-stepper-value" aria-live="polite"> </span> <button class="accessify-stepper-btn" aria-label="Increase text size">+</button></div></div>'),Pi=Ca('<div class="accessify-card-wrap"><button class="accessify-card" role="switch"><span class="accessify-card-icon" aria-hidden="true"></span> <span class="accessify-card-label"> </span></button> <span class="accessify-card-info" tabindex="0"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="10"></circle><line x1="12" y1="16" x2="12" y2="12"></line><line x1="12" y1="8" x2="12.01" y2="8"></line></svg> <span class="accessify-card-tooltip"> </span></span></div>'),Hi=Ca('<div class="accessify-features"></div>'),Ni=Ca('<!> <!> <div class="accessify-section-divider"></div> <!>',1);wa(["click"]);var ji=Ca('<span aria-hidden="true">&middot;</span> <a target="_blank" rel="noopener noreferrer"> </a>',1),Oi=Ca('<div class="accessify-footer"><div class="accessify-footer-links"><a target="_blank" rel="noopener noreferrer">Accessify Dashboard</a> <!></div> <button class="accessify-footer-close"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"><line x1="18" y1="6" x2="6" y2="18"></line><line x1="6" y1="6" x2="18" y2="18"></line></svg> <span> </span></button></div>');wa(["click"]);let Bi=[],Wi=[],Ki=null,Di=!1,Fi=null,qi=!1,Ri=null,Ui="";const Gi=["aria-label","aria-description","placeholder","title","alt","aria-placeholder","aria-roledescription","aria-valuetext"];async function Vi(e,t,n){const a=new URLSearchParams({client:"gtx",sl:t,tl:n,dt:"t",q:e});try{const t=await fetch(`https://translate.googleapis.com/translate_a/single?${a.toString()}`);if(!t.ok)throw new Error(`HTTP ${t.status}`);const n=await t.json();if(Array.isArray(n[0])){const e=[];for(const t of n[0])Array.isArray(t)&&"string"==typeof t[0]&&e.push(t[0]);return e.join("")}return e}catch{return e}}const Ji=new Set(["H1","H2","H3","H4","H5","H6","P","LI","TD","TH","CAPTION","FIGCAPTION","BLOCKQUOTE","DT","DD"]);function Yi(e,t){const n=e.map(e=>e.data.trim().length),a=e.map(e=>({leading:e.data.match(/^\s*/)?.[0]||"",trailing:e.data.match(/\s*$/)?.[0]||""}));let i=0;for(let r=0;r<e.length;r++){const o=n[r];if(0===o)continue;const s=t.slice(i,i+o);i+=o,e[r].data=a[r].leading+s+a[r].trailing}if(i<t.length){const r=t.slice(i);for(let t=e.length-1;t>=0;t--)if(n[t]>0){e[t].data=e[t].data.trimEnd()+r+a[t].trailing;break}}for(let r=0;r<e.length;r++)n[r]>0&&(t.slice(n.slice(0,r).reduce((e,t)=>e+t,0),n.slice(0,r+1).reduce((e,t)=>e+t,0))||(e[r].data=a[r].leading+a[r].trailing))}function Xi(e){let t=e.parentElement;for(;t&&t!==document.body;){if(Ji.has(t.tagName))return t;t=t.parentElement}return null}async function Zi(e){const t=document.documentElement.lang?.split("-")[0]||"auto",n=function(e=document.body){const t=document.createTreeWalker(e,NodeFilter.SHOW_TEXT,{acceptNode(e){if(!e.textContent||!e.textContent.trim())return NodeFilter.FILTER_REJECT;const t=e.parentElement;return t?["SCRIPT","STYLE","NOSCRIPT","CODE","PRE","TEXTAREA","INPUT"].includes(t.tagName)||t.closest("accessify-widget")||t.closest("#accessify-root")||t.classList?.contains("notranslate")?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_REJECT}}),n=[];let a;for(;a=t.nextNode();)n.push(a);return n}(),a=function(e=document.body){const t=[],n=e.querySelectorAll("*");for(const a of n)if(!a.closest("accessify-widget")&&!a.closest("#accessify-root"))for(const e of Gi){const n=a.getAttribute(e);n?.trim()&&t.push({el:a,attr:e,original:n})}return t}(),i=new Set(Bi.map(e=>e.node));for(const u of n)i.has(u)||Bi.push({node:u,original:u.data});const r=new Set(Wi.map(e=>`${Qi(e.el)}:${e.attr}`));for(const u of a){const e=`${Qi(u.el)}:${u.attr}`;r.has(e)||Wi.push(u)}const o=function(e){const t=[],n=new Set;for(const a of e){if(n.has(a))continue;const i=Xi(a);if(i&&Ji.has(i.tagName)){const a=e.filter(e=>!n.has(e)&&Xi(e)===i);if(a.length>1){for(const t of a)n.add(t);const e=(i.textContent?.trim()||"").replace(/\s+/g," "),r=a.filter(e=>e.data.trim().length<=2).length;t.push({nodes:a,fullText:e,singleNode:!1,charPerNode:r>.5*a.length});continue}}n.add(a),t.push({nodes:[a],fullText:a.data.trim(),singleNode:!0,charPerNode:!1})}return t}(n),s=[...o.map(e=>e.fullText),...a.map(e=>e.original.trim())].filter(Boolean),c=[...new Set(s)];if(0===c.length)return;const l=await async function(e,t,n){const a=new Array(e.length);for(let i=0;i<e.length;i+=10){const r=e.slice(i,i+10),o=await Promise.all(r.map(e=>Vi(e,t,n)));for(let e=0;e<o.length;e++)a[i+e]=o[e]}return a}(c,t,e),d=new Map;c.forEach((e,t)=>{l[t]&&l[t]!==e&&d.set(e,l[t])}),qi=!0;for(const u of o){const e=d.get(u.fullText);if(e)if(u.singleNode){const t=u.nodes[0],n=t.data.match(/^\s*/)?.[0]||"",a=t.data.match(/\s*$/)?.[0]||"";t.data=n+e+a}else if(u.charPerNode)Yi(u.nodes,e);else{const t=u.nodes[0],n=t.data.match(/^\s*/)?.[0]||"";t.data=n+e;for(let e=1;e<u.nodes.length;e++)u.nodes[e].data=""}}for(const u of a){const e=d.get(u.original.trim());e&&u.el.setAttribute(u.attr,e)}qi=!1}function Qi(e){return e.id||e.getAttribute("data-a11y-id")||(e.setAttribute("data-a11y-id",Math.random().toString(36).substr(2,9)),e.getAttribute("data-a11y-id"))}var er=Ta('<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"><path d="M20 6L9 17l-5-5"></path></svg>'),tr=Ca('<button class="accessify-lang-option" role="option"><span> </span> <!></button>'),nr=Ca('<div id="accessify-lang-list" class="accessify-lang-list" role="listbox"></div>'),ar=Ca('<div class="sr-only" role="status" aria-live="polite" aria-atomic="true"> </div> <!> <div class="accessify-panel" role="dialog"><!> <div class="accessify-body"><div class="accessify-lang-dropdown"><button class="accessify-lang-toggle" aria-controls="accessify-lang-list"><span class="accessify-lang-toggle-left"><!> <span> </span></span> <svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"><polyline points="6 9 12 15 18 9"></polyline></svg></button> <!></div> <div class="accessify-section-divider"></div> <!> <div class="accessify-section-divider"></div> <!></div> <!></div>',1);function ir(e,t){Qe(t,!0);let n=Za(t,"config",7),a=Yt(!1),i=Yt(rn(new Map)),r=Yt("light"),o=Yt(null),s=Yt(null),c=Yt(""),l=Yt("en"),d=Yt(null),u=Yt(!1),f=Yt(null);const p="accessify-panel-x",h={async translate(e){if(!Di){Di=!0;try{Bi.length>0&&this.restore(),await Zi(e),Ki=e,function(){Fi&&Fi.disconnect(),Ui=location.href;const e=function(e){let t;return()=>{clearTimeout(t),t=setTimeout(e,300)}}(()=>{Ki&&!qi&&Zi(Ki)}),t=()=>{if(!Ki||qi)return;const e=location.href;e!==Ui&&(Ui=e,Bi=[],Wi=[],setTimeout(()=>{Ki&&Zi(Ki)},500))};Fi=new MutationObserver(n=>{if(qi||!Ki)return;let a=!1;for(const e of n){if(e.addedNodes.length>0){a=!0;break}if("characterData"===e.type){a=!0;break}}a&&(t(),e())}),Fi.observe(document.body,{childList:!0,subtree:!0,characterData:!0}),Ri=t,window.addEventListener("popstate",Ri);const n=history.pushState,a=history.replaceState;history.pushState=function(...e){n.apply(this,e),t()},history.replaceState=function(...e){a.apply(this,e),t()}}()}finally{Di=!1}}},async simplify(e,t){},restore(){Fi?.disconnect(),Fi=null,Ri&&(window.removeEventListener("popstate",Ri),Ri=null),qi=!0;for(const e of Bi)e.node.parentNode&&(e.node.data=e.original);Bi=[];for(const e of Wi)e.el.isConnected&&e.el.setAttribute(e.attr,e.original);Wi=[],document.querySelectorAll("[data-a11y-id]").forEach(e=>{e.removeAttribute("data-a11y-id")}),Ki=null,qi=!1},isTranslated:()=>null!==Ki,currentLang:()=>Ki},g="accessify-prefs";let m=Ot(()=>Array.from(da(i).values()).filter(Boolean).length),y=Ot(()=>fi.find(e=>e.code===da(l)));function v(e){Zt(c,""),requestAnimationFrame(()=>{Zt(c,e,!0)})}function b(){try{const e=Object.fromEntries(da(i));localStorage.setItem(g,JSON.stringify(e))}catch{}}function w(){const e=t.shadow.getElementById("accessify-mount");e&&("auto"===n().theme?e.removeAttribute("data-theme"):e.setAttribute("data-theme",da(r)))}function x(){const e=t.shadow.getElementById("accessify-mount"),n=yi(da(l))?"rtl":"ltr";var a;e&&(e.setAttribute("lang",da(l)),e.setAttribute("dir",n)),t.shadow.host.setAttribute("lang",da(l)),t.shadow.host.setAttribute("dir",n),a=da(l),hi=gi(a)}function k(){Zt(a,!0),requestAnimationFrame(()=>{if(da(o)){const e=da(o).querySelector('button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])');e?.focus()}})}function S(){Zt(a,!1),Zt(u,!1),requestAnimationFrame(()=>{const e=t.shadow.querySelector(".accessify-trigger");e?.focus()})}let A=Ot(()=>null!==da(f)?`left: ${da(f)}px; right: auto;`:"");Qa(()=>{Zt(l,gi(n().lang||"en"),!0),function(){if("light"===n().theme||"dark"===n().theme)return void Zt(r,n().theme,!0);const e=window.matchMedia("(prefers-color-scheme: dark)");Zt(r,e.matches?"dark":"light",!0),e.addEventListener("change",e=>{"auto"===n().theme&&(Zt(r,e.matches?"dark":"light",!0),w())})}(),w(),function(){try{const e=localStorage.getItem(g);if(e){const t=JSON.parse(e);Zt(i,new Map(Object.entries(t)),!0)}const t=localStorage.getItem(p);null!==t&&Zt(f,parseFloat(t),!0)}catch{}}(),x()});var M,C,E,T={open:k,close:S},_=ar();E=function(e,t,n,a={}){function i(e){if(a.capture||ka.call(t,e),!e.cancelBubble)return wn(()=>n?.call(this,e))}return e.startsWith("pointer")||e.startsWith("touch")||"wheel"===e?nt(()=>{t.addEventListener(e,i,a)}):t.addEventListener(e,i,a),i}("keydown",M=ln,function(e){if("Escape"===e.key){if(da(u))return Zt(u,!1),void e.preventDefault();if(da(a))return e.preventDefault(),void S()}if("Tab"===e.key&&da(a)&&da(o)){const n=da(o).querySelectorAll('button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])');if(0===n.length)return;const a=n[0],i=n[n.length-1],r=t.shadow.activeElement||document.activeElement;e.shiftKey&&r===a?(e.preventDefault(),i.focus()):e.shiftKey||r!==i||(e.preventDefault(),a.focus())}},C={capture:void 0,passive:void 0}),(M===document.body||M===window||M===document||M instanceof HTMLMediaElement)&&Sn(()=>{M.removeEventListener("keydown",E,C)});var $=yn(_),I=mn($),z=vn($,2);!function(e,t){Qe(t,!0);let n=Za(t,"lang",3,"en"),a=Za(t,"el",15,null),i=Yt(!1);Qa(()=>{const e=a();if(!e)return;let n=0,r=0,o=0,s=0,c=!1,l=null;function d(t){const a=e.getBoundingClientRect();n=t.clientX,r=t.clientY,o=a.left,s=a.top,c=!1,l=t.pointerId,e.setPointerCapture(t.pointerId)}function u(t){if(null===l||t.pointerId!==l)return;const a=t.clientX-n,d=t.clientY-r;if(!c&&(Math.abs(a)>5||Math.abs(d)>5)&&(c=!0,Zt(i,!0),e.style.transition="none"),c){const t=Math.max(0,Math.min(window.innerWidth-60,o+a)),n=Math.max(0,Math.min(window.innerHeight-60,s+d));e.style.left=t+"px",e.style.top=n+"px",e.style.right="auto",e.style.bottom="auto"}}function f(n){null!==l&&n.pointerId===l&&(e.releasePointerCapture(n.pointerId),e.style.transition="",Zt(i,!1),c||t.onclick(),l=null)}return e.addEventListener("pointerdown",d),e.addEventListener("pointermove",u),e.addEventListener("pointerup",f),()=>{e.removeEventListener("pointerdown",d),e.removeEventListener("pointermove",u),e.removeEventListener("pointerup",f)}});var r=bi();let o;Fa(r,ti,!0),Xa(r,e=>a(e),()=>a()),En(e=>{o=Ra(r,1,"accessify-trigger",0,o,{"accessify-trigger--dragging":da(i),"accessify-trigger--hidden":t.isOpen}),Va(r,"aria-expanded",t.isOpen),Va(r,"aria-label",e)},[()=>vi(t.isOpen?"widget.close":"widget.open",n())]),_a(e,r),et()}(z,{get isOpen(){return da(a)},get lang(){return da(l)},onclick:function(){da(a)?S():k()},get el(){return da(s)},set el(e){Zt(s,e,!0)}});var L=vn(z,2),P=mn(L);!function(e,t){Qe(t,!0);let n=Za(t,"lang",3,"en");Za(t,"activeCount",3,0);let a=Za(t,"panelEl",3,null),i=Yt(null);Qa(()=>{const e=da(i);if(!e)return;let n=0,r=0,o=!1,s=null;function c(t){const i=a();if(!i)return;const c=i.getBoundingClientRect();n=t.clientX,r=c.left,o=!1,s=t.pointerId,e.setPointerCapture(t.pointerId),t.preventDefault()}function l(e){if(null===s||e.pointerId!==s)return;const t=a();if(!t)return;const i=e.clientX-n;if(!o&&Math.abs(i)>5&&(o=!0,t.style.transition="none"),o){const e=Math.max(0,Math.min(window.innerWidth-t.offsetWidth,r+i));t.style.left=e+"px",t.style.right="auto"}}function d(n){if(null===s||n.pointerId!==s)return;e.releasePointerCapture(n.pointerId);const i=a();if(i&&(i.style.transition="",o)){const e=i.getBoundingClientRect();t.ondrag(e.left)}s=null,o=!1}return e.addEventListener("pointerdown",c),e.addEventListener("pointermove",l),e.addEventListener("pointerup",d),()=>{e.removeEventListener("pointerdown",c),e.removeEventListener("pointermove",l),e.removeEventListener("pointerup",d)}});var r=wi(),o=vn(mn(r),2),s=mn(o);Xa(s,e=>Zt(i,e),()=>da(i));var c=vn(s,2);Fa(c,oi,!0);var l=vn(c,2);Fa(l,ri,!0),En((e,t)=>{Va(s,"aria-label","de"===n()?"Panel verschieben":"Move panel"),Va(c,"aria-label",e),Va(l,"aria-label",t)},[()=>vi("widget.reset",n()),()=>vi("widget.close",n())]),ba("click",c,function(...e){t.onreset?.apply(this,e)}),ba("click",l,function(...e){t.onclose?.apply(this,e)}),_a(e,r),et()}(P,{get lang(){return da(l)},get activeCount(){return da(m)},onclose:S,onreset:function(){Zt(i,new Map,!0),Zt(d,null),b(),h.restore(),window.dispatchEvent(new CustomEvent("accessify:reset")),v(vi("widget.resetConfirm",da(l)))},ondrag:function(e){Zt(f,e,!0);try{localStorage.setItem(p,String(e))}catch{}},get panelEl(){return da(o)}});var H=vn(P,2),N=mn(H),j=mn(N),O=mn(j),B=mn(O);Fa(B,si);var W=mn(vn(B,2)),K=vn(O,2);let D;var F=vn(j,2),q=e=>{var t=nr();Oa(t,21,()=>fi,Ha,(e,t)=>{var a=tr(),i=mn(a),r=mn(i),o=vn(i,2),s=e=>{_a(e,er())};Pa(o,e=>{da(l)===da(t).code&&e(s)}),En(()=>{Va(a,"aria-selected",da(l)===da(t).code),Va(a,"data-active",da(l)===da(t).code),$a(r,`${(da(t).flag||"")??""} ${da(t).label??""}`)}),ba("click",a,()=>function(e){Zt(l,gi(e),!0),n().lang=da(l),Zt(u,!1),x();const t=document.documentElement.lang?.split("-")[0]||"en";da(l)!==t?h.translate(da(l)):h.restore()}(da(t).code)),_a(e,a)}),En(e=>Va(t,"aria-label",e),[()=>vi("widget.title",da(l))]),_a(e,t)};Pa(F,e=>{da(u)&&e(q)});var R=vn(N,4);!function(e,t){Qe(t,!0);let n=Za(t,"lang",3,"en"),a=Za(t,"activeProfileId",3,null),i=Yt(!1),r=Ot(()=>a()?xi.find(e=>e.id===a()):null);var o=Mi(),s=mn(o),c=mn(s),l=vn(mn(c),2),d=mn(l),u=vn(c,2);let f;var p=vn(s,2),h=e=>{var i=Ai();Oa(i,21,()=>xi,e=>e.id,(e,i)=>{var r=Si(),o=mn(r),s=mn(o);Fa(s,()=>function(e){const t=ci[e];return t?t():""}(da(i).iconId),!0);var c=mn(vn(s,2)),l=mn(c),d=mn(vn(c,2)),u=vn(o,2),f=e=>{_a(e,ki())};Pa(u,e=>{a()===da(i).id&&e(f)}),En((e,t)=>{Va(r,"aria-pressed",a()===da(i).id),Va(r,"data-active",a()===da(i).id),$a(l,e),$a(d,t)},[()=>vi(da(i).nameKey,n()),()=>vi(da(i).descKey,n())]),ba("click",r,()=>t.onactivate(da(i))),_a(e,r)}),En(e=>Va(i,"aria-label",e),[()=>vi("section.profiles",n())]),_a(e,i)};Pa(p,e=>{da(i)&&e(h)}),En((e,t)=>{Va(o,"aria-label",e),Va(s,"aria-expanded",da(i)),$a(d,t),f=Ra(u,0,"accessify-accordion-chevron",0,f,{"accessify-accordion-chevron--open":da(i)})},[()=>vi("section.profiles",n()),()=>da(r)?vi(da(r).nameKey,n()):vi("section.profiles",n())]),ba("click",s,()=>{Zt(i,!da(i))}),_a(e,o),et()}(R,{get lang(){return da(l)},get activeProfileId(){return da(d)},onactivate:function(e){if(da(d)===e.id){Zt(d,null);for(const t of e.features)da(i).set(t,!1);return Zt(i,new Map(da(i)),!0),b(),window.dispatchEvent(new CustomEvent("accessify:reset")),void v(`${vi(e.nameKey,da(l))} ${vi("status.deactivated",da(l))}`)}Zt(d,e.id,!0);for(const t of e.features)da(i).set(t,!0);Zt(i,new Map(da(i)),!0),b(),v(`${vi(e.nameKey,da(l))} ${vi("status.activated",da(l))}`)}});var U=vn(R,4);{let e=Ot(()=>({...n(),lang:da(l)}));!function(e,t){Qe(t,!0);const n={"keyboard-nav":{id:"keyboard-nav",nameKey:"feature.keyboardNav",descKey:"feature.keyboardNav.desc",iconId:"keyboard"},"link-highlight":{id:"link-highlight",nameKey:"feature.linkHighlight",descKey:"feature.linkHighlight.desc",iconId:"link-highlight"},"reading-guide":{id:"reading-guide",nameKey:"feature.readingGuide",descKey:"feature.readingGuide.desc",iconId:"reading-guide"},"reading-mask":{id:"reading-mask",nameKey:"feature.readingMask",descKey:"feature.readingMask.desc",iconId:"reading-mask"},"animation-stop":{id:"animation-stop",nameKey:"feature.animationStop",descKey:"feature.animationStop.desc",iconId:"animation-pause"},"hide-images":{id:"hide-images",nameKey:"feature.hideImages",descKey:"feature.hideImages.desc",iconId:"hide-images"},"big-cursor":{id:"big-cursor",nameKey:"feature.bigCursor",descKey:"feature.bigCursor.desc",iconId:"cursor"},"page-structure":{id:"page-structure",nameKey:"feature.pageStructure",descKey:"feature.pageStructure.desc",iconId:"page-structure"},tts:{id:"tts",nameKey:"feature.tts",descKey:"feature.tts.desc",iconId:"tts"},"text-simplify":{id:"text-simplify",nameKey:"feature.textSimplify",descKey:"feature.textSimplify.desc",iconId:"simplify-text"},"alt-text":{id:"alt-text",nameKey:"feature.altText",descKey:"feature.altText.desc",iconId:"alt-text"}},a=["keyboard-nav","link-highlight","animation-stop","hide-images","big-cursor"],i=["reading-guide","reading-mask","tts"],r=["text-simplify","alt-text"],o=[{id:"light",labelKey:"contrast.mode.light",icon:'<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="5"/><line x1="12" y1="1" x2="12" y2="3"/><line x1="12" y1="21" x2="12" y2="23"/><line x1="4.22" y1="4.22" x2="5.64" y2="5.64"/><line x1="18.36" y1="18.36" x2="19.78" y2="19.78"/><line x1="1" y1="12" x2="3" y2="12"/><line x1="21" y1="12" x2="23" y2="12"/><line x1="4.22" y1="19.78" x2="5.64" y2="18.36"/><line x1="18.36" y1="5.64" x2="19.78" y2="4.22"/></svg>'},{id:"dark",labelKey:"contrast.mode.dark",icon:'<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z"/></svg>'},{id:"high",labelKey:"contrast.mode.high",icon:'<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="10"/><path d="M12 2v20"/><path d="M12 2a10 10 0 0 1 0 20" fill="currentColor"/></svg>'}],s=new Set(["text-simplify","alt-text"]),c=new Map,l={contrast:()=>Promise.resolve().then(()=>_r),"text-size":()=>Promise.resolve().then(()=>$r),"keyboard-nav":()=>Promise.resolve().then(()=>Ir),"link-highlight":()=>Promise.resolve().then(()=>zr),"reading-guide":()=>Promise.resolve().then(()=>Pr),"reading-mask":()=>Promise.resolve().then(()=>Hr),"animation-stop":()=>Promise.resolve().then(()=>Nr),"hide-images":()=>Promise.resolve().then(()=>jr),"big-cursor":()=>Promise.resolve().then(()=>Br),"page-structure":()=>Promise.resolve().then(()=>Wr),tts:()=>Promise.resolve().then(()=>Dr),"text-simplify":()=>Promise.resolve().then(()=>Fr),"alt-text":()=>Promise.resolve().then(()=>vr)};let d,u=Yt(rn(function(){if("undefined"==typeof window)return"off";const e=localStorage.getItem("accessify-contrast-mode");return"light"===e||"dark"===e||"high"===e?e:"off"}())),f=Yt(rn(function(){if("undefined"==typeof window)return 100;const e=Number.parseInt(localStorage.getItem("accessify-text-size")||"100",10);return Number.isFinite(e)?Math.max(100,Math.min(200,e)):100}())),p=Ot(()=>new Set(t.config.features)),h=Ot(()=>Array.from(t.activeFeatures.entries()).sort(([e],[t])=>e.localeCompare(t)).map(([e,t])=>`${e}:${t}`).join("|"));function g(e){const t=ci[e];return t?t():""}function m(e){return e.filter(e=>da(p).has(e)).map(e=>n[e]).filter(Boolean)}function y(e,t){if(!t)return;const n=t.getState();"contrast"===e&&Zt(u,"light"===n.value||"dark"===n.value||"high"===n.value?n.value:"off",!0),"text-size"===e&&Zt(f,"number"==typeof n.value?n.value:100,!0)}async function v(e){if(c.has(e))return c.get(e);const n=l[e];if(!n)return null;try{const i=await n(),r=i.default??i,o="function"==typeof r?s.has(e)?r((d||(d=(a={apiKey:t.config.openRouterKey,siteKey:t.config.siteKey,proxyUrl:t.config.proxyUrl}).apiKey?_i(a):a.siteKey?function(e,t){const n=t||"https://accessify-api.accessify.workers.dev",a={"Content-Type":"application/json","X-Site-Key":e};return{async simplifyText(e,t="einfache",i="de"){const r=`b-${function(e){let t=5381;for(let n=0;n<e.length;n++)t=(t<<5)+t+e.charCodeAt(n),t|=0;return Math.abs(t).toString(36)}(e)}`,o=i.startsWith("de")?`de-${t}`:"en-plain";try{const t=await fetch(`${n}/v1/cache/query`,{method:"POST",headers:a,body:JSON.stringify({pageUrl:"undefined"!=typeof window?window.location.href:"",feature:"simplify",variant:o,blocks:[{id:r,text:e}]})});if(t.ok){const e=await t.json();if(e.cached?.[r])return e.cached[r]}}catch{}try{const t=await fetch(`${n}/v1/cache/process`,{method:"POST",headers:a,body:JSON.stringify({pageUrl:"undefined"!=typeof window?window.location.href:"",feature:"simplify",variant:o,blocks:[{id:r,text:e}]})});if(t.ok){const e=await t.json();if(e.results?.[r])return e.results[r]}}catch{}const s=await fetch(`${n}/v1/ai/simplify`,{method:"POST",headers:a,body:JSON.stringify({text:e,level:t,lang:i})});if(!s.ok){const e=await s.json().catch(()=>({error:`HTTP ${s.status}`}));if(429===s.status)throw new $i(e.error||"Rate limit reached");throw new Error(e.error||`AI proxy error: ${s.status}`)}return(await s.json()).result||""},async generateAltText(e,t,i){const r=await fetch(`${n}/v1/ai/alt-text`,{method:"POST",headers:a,body:JSON.stringify({imageUrl:e,context:t,lang:i})});if(!r.ok){const e=await r.json().catch(()=>({error:`HTTP ${r.status}`}));if(429===r.status)throw new $i(e.error||"Rate limit reached");throw new Error(e.error||`AI proxy error: ${r.status}`)}return(await r.json()).result||""},async describeImage(e,t){const i=await fetch(`${n}/v1/ai/describe-image`,{method:"POST",headers:a,body:JSON.stringify({imageUrl:e,lang:t})});if(!i.ok){const e=await i.json().catch(()=>({error:`HTTP ${i.status}`}));if(429===i.status)throw new $i(e.error||"Rate limit reached");throw new Error(e.error||`AI proxy error: ${i.status}`)}return(await i.json()).result||""}}}(a.siteKey,a.proxyUrl):_i(a)),d),t.config.lang,{siteKey:t.config.siteKey,proxyUrl:t.config.proxyUrl}):r():r;return c.set(e,o),o}catch(i){return null}var a}async function b(e){const n=await v("text-size");if(n){if(100===e)return n.deactivate(),Zt(f,100),void t.ontoggle("text-size",!1);n.getState().enabled||n.activate(),n.setState?.(e),Zt(f,e,!0),t.ontoggle("text-size",!0)}}"undefined"!=typeof window&&window.addEventListener("accessify:reset",function(){for(const[,e]of c)try{e.deactivate()}catch{}Zt(u,"off"),Zt(f,100)});let w=Ot(()=>m(a)),x=Ot(()=>m(i)),k=Ot(()=>m(r));An(()=>{t.config.features.join("|"),da(h),async function(){const e=new Set(["contrast","text-size",...t.config.features]);for(const n of e){const e=t.activeFeatures.get(n)??!1,a=c.get(n);if(!e&&!a){"contrast"===n&&Zt(u,"off"),"text-size"===n&&Zt(f,100);continue}const i=e?await v(n):a;if(!i)continue;const r=i.getState().enabled;e&&!r&&i.activate(),!e&&r&&i.deactivate(),y(n,i)}}()});var S=Ni(),A=yn(S),M=e=>{var n=zi(),a=mn(n),i=mn(a);Fa(i,()=>g("contrast"),!0);var r=mn(vn(i,2));Oa(vn(a,2),21,()=>o,Ha,(e,n)=>{var a=Ii(),i=mn(a);Fa(i,()=>da(n).icon,!0);var r=mn(vn(i,2));En(e=>{Va(a,"data-active",da(u)===da(n).id),Va(a,"aria-pressed",da(u)===da(n).id),$a(r,e)},[()=>vi(da(n).labelKey,t.config.lang)]),ba("click",a,()=>async function(e){const n=await v("contrast");if(n){if("off"===e)return n.deactivate(),Zt(u,"off"),void t.ontoggle("contrast",!1);n.getState().enabled||n.activate(),n.setState?.(e),Zt(u,e,!0),t.ontoggle("contrast",!0)}}(da(u)===da(n).id?"off":da(n).id)),_a(e,a)}),En((e,t)=>{Va(n,"aria-label",e),$a(r,t)},[()=>vi("feature.contrast",t.config.lang),()=>vi("feature.contrast",t.config.lang)]),_a(e,n)},C=Ot(()=>da(p).has("contrast"));Pa(A,e=>{da(C)&&e(M)});var E=vn(A,2),T=e=>{var n=Li(),a=mn(n),i=mn(a);Fa(i,()=>g("text-size"),!0);var r=mn(vn(i,2)),o=mn(vn(a,2)),s=vn(o,2),c=mn(s),l=vn(s,2);En((e,t)=>{Va(n,"aria-label",e),$a(r,t),o.disabled=da(f)<=100,$a(c,`${da(f)??""}%`),l.disabled=da(f)>=200},[()=>vi("feature.textSize",t.config.lang),()=>vi("feature.textSize",t.config.lang)]),ba("click",o,()=>b(Math.max(100,da(f)-10))),ba("click",l,()=>b(Math.min(200,da(f)+10))),_a(e,n)},_=Ot(()=>da(p).has("text-size"));Pa(E,e=>{da(_)&&e(T)});var $=vn(E,4),I=e=>{var n=Hi();Oa(n,21,()=>[...da(w),...da(x),...da(k)],e=>e.id,(e,n)=>{const a=Ot(()=>t.activeFeatures.get(da(n).id)??!1);var i=Pi(),r=mn(i),o=mn(r);Fa(o,()=>g(da(n).iconId),!0);var s=mn(vn(o,2)),c=vn(r,2),l=vn(mn(c),2),d=mn(l);En((e,t,n,i)=>{Va(r,"data-active",da(a)),Va(r,"aria-checked",da(a)),Va(r,"aria-label",e),$a(s,t),Va(c,"aria-label",n),$a(d,i)},[()=>vi(da(n).nameKey,t.config.lang),()=>vi(da(n).nameKey,t.config.lang),()=>vi(da(n).descKey,t.config.lang),()=>vi(da(n).descKey,t.config.lang)]),ba("click",r,()=>async function(e){const n=!t.activeFeatures.get(e),a=await v(e);a&&(n?a.activate():a.deactivate(),y(e,a)),t.ontoggle(e,n)}(da(n).id)),_a(e,i)}),_a(e,n)};Pa($,e=>{(da(w).length>0||da(x).length>0||da(k).length>0)&&e(I)}),_a(e,S),et()}(U,{get config(){return da(e)},get activeFeatures(){return da(i)},ontoggle:function(e,t){da(i).set(e,t),Zt(i,new Map(da(i)),!0),b(),v(`${vi(`feature.${e.replace(/-([a-z])/g,(e,t)=>t.toUpperCase())}`,da(l))||e} ${vi(t?"status.activated":"status.deactivated",da(l))}`)}})}return function(e,t){Qe(t,!0);let n=Za(t,"lang",3,"en");var a=Oi(),i=mn(a),r=mn(i),o=vn(r,2),s=e=>{var a=ji(),i=vn(yn(a),2),r=mn(i);En(e=>{Va(i,"href",t.statementUrl),$a(r,e)},[()=>vi("widget.statement",n())]),_a(e,a)};Pa(o,e=>{t.statementUrl&&e(s)});var c=vn(i,2),l=vn(mn(c),2),d=mn(l);En((e,n)=>{Va(r,"href",t.dashboardUrl||"https://accessify-dashboard.pages.dev"),Va(c,"aria-label",e),$a(d,n)},[()=>vi("widget.close",n()),()=>vi("widget.close",n())]),ba("click",c,function(...e){t.onclose?.apply(this,e)}),_a(e,a),et()}(vn(H,2),{get lang(){return da(l)},get statementUrl(){return n().statementUrl},get dashboardUrl(){return n().dashboardUrl},onclose:S}),Xa(L,e=>Zt(o,e),()=>da(o)),En((e,t)=>{$a(I,da(c)),Va(L,"aria-label",e),Va(L,"aria-hidden",!da(a)),Va(L,"dir",t),function(e,t){if(e.__style!==t){var n=function(e){return null==e?null:String(e)}(t);null==n?e.removeAttribute("style"):e.style.cssText=n,e.__style=t}}(L,da(A)),Va(j,"aria-expanded",da(u)),$a(W,`${(da(y)?.flag||"")??""} ${(da(y)?.label||da(l))??""}`),D=Ra(K,0,"accessify-lang-chevron",0,D,{"accessify-lang-chevron--open":da(u)}),L.dir=L.dir},[()=>vi("widget.title",da(l)),()=>yi(da(l))?"rtl":"ltr"]),ba("click",j,()=>{Zt(u,!da(u))}),_a(e,_),et(T)}wa(["click"]);const rr=encodeURIComponent('<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="white" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"><path d="M20 6L9 17l-5-5"/></svg>');function or(e){const t=e.position||"bottom-right",n=t.includes("right"),a=t.includes("bottom"),i=e.zIndex||999999,r=n?"20px 0 0 20px":"0 20px 20px 0",o=n?"translateX(24px)":"translateX(-24px)",s=e;return`\n :host {\n all: initial;\n font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;\n font-size: 15px;\n line-height: 1.5;\n color-scheme: dark;\n }\n\n *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }\n\n #accessify-mount {\n --gap: 14px;\n --pad: 18px;\n --radius: 12px;\n --radius-lg: 16px;\n --pill: 999px;\n --surface: #3d4775;\n --surface-card: #4a5387;\n --surface-dim: #353e6a;\n --surface-hover: #545d8f;\n --text: #f0f0f5;\n --text-dim: #b8bdd4;\n --border: rgba(255,255,255,0.10);\n --border-hl: rgba(255,255,255,0.20);\n --accent: #e8837c;\n --accent-soft: rgba(232,131,124,0.15);\n --accent-on: #fff;\n --shadow: 0 12px 48px rgba(0,0,0,0.35);\n --fast: 140ms ease;\n ${[s.brandPrimaryColor?`--surface: ${s.brandPrimaryColor};`:"",s.brandSurfaceColor?`--surface-dim: ${s.brandSurfaceColor};`:"",s.brandCardColor?`--surface-card: ${s.brandCardColor};`:"",s.brandHoverColor?`--surface-hover: ${s.brandHoverColor};`:"",s.brandTextColor?`--text: ${s.brandTextColor};`:"",s.brandTextDimColor?`--text-dim: ${s.brandTextDimColor};`:"",s.brandAccentColor?`--accent: ${s.brandAccentColor}; --accent-soft: ${s.brandAccentColor}26;`:"",s.brandBorderColor?`--border: ${s.brandBorderColor}; --border-hl: ${s.brandBorderColor};`:""].filter(Boolean).join("\n ")}\n }\n\n .sr-only { position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0; }\n *:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 8px; }\n\n /* ─── Trigger ─── */\n .accessify-trigger {\n position: fixed;\n ${a?"bottom: 20px":"top: 20px"};\n ${n?"right: 20px":"left: 20px"};\n z-index: ${i};\n width: 56px; height: 56px;\n border: none; border-radius: 16px;\n background: ${s.brandTriggerColor||"linear-gradient(135deg, #545d8f, #3d4775)"};\n color: ${s.brandTriggerIconColor||"#e8837c"};\n cursor: pointer;\n display: flex; align-items: center; justify-content: center;\n box-shadow: 0 6px 20px rgba(50,60,100,0.5);\n transition: transform var(--fast), box-shadow var(--fast), opacity var(--fast);\n touch-action: none;\n }\n .accessify-trigger:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(50,60,100,0.6); }\n .accessify-trigger:active { transform: scale(0.96); }\n .accessify-trigger--hidden { opacity:0; pointer-events:none; transform:scale(0.9); }\n .accessify-trigger svg { width: 26px; height: 26px; }\n .accessify-trigger--dragging { cursor: grabbing !important; opacity: 0.85; }\n\n /* Active count badge on trigger */\n .accessify-trigger-badge {\n position: absolute; top: -4px; right: -4px;\n min-width: 20px; height: 20px; padding: 0 5px;\n border-radius: 999px; background: var(--accent); color: #fff;\n font-size: 11px; font-weight: 700; line-height: 20px; text-align: center;\n pointer-events: none;\n }\n\n /* ─── Panel ─── */\n .accessify-panel {\n position: fixed; top: 0; bottom: 0;\n ${n?"right: 0":"left: 0"};\n z-index: ${i-1};\n width: min(${s.panelWidth?`${s.panelWidth}px`:"420px"}, 100vw); height: 100vh;\n display: flex; flex-direction: column;\n border-radius: ${r};\n background: var(--surface);\n color: var(--text);\n box-shadow: var(--shadow);\n transition: opacity 200ms ease, transform 200ms ease;\n }\n .accessify-panel[aria-hidden="true"] { opacity:0; transform:${o}; pointer-events:none; display:none; }\n .accessify-panel[aria-hidden="false"] { opacity:1; transform:translateX(0); }\n\n /* ─── Header ─── */\n .accessify-header {\n display: flex; align-items: center; justify-content: space-between;\n padding: 14px var(--pad);\n border-bottom: 1px solid var(--border);\n background: var(--surface-dim);\n flex-shrink: 0;\n }\n .accessify-header-left { display: flex; align-items: center; gap: 10px; }\n .accessify-header-actions { display: flex; align-items: center; gap: 6px; }\n\n .accessify-logo { display: inline-flex; color: var(--accent); }\n .accessify-logo svg { height: 24px; width: auto; }\n\n .accessify-header-btn {\n display: inline-flex; align-items: center; justify-content: center;\n width: 34px; height: 34px;\n border: 1px solid var(--border); border-radius: 10px;\n background: var(--surface); color: var(--text-dim);\n cursor: pointer; transition: background var(--fast), color var(--fast);\n }\n .accessify-header-btn:hover { background: var(--surface-hover); color: var(--text); }\n .accessify-header-btn svg { width: 16px; height: 16px; }\n .accessify-header-btn--icon { padding: 0; }\n .accessify-header-btn--close { background: transparent; border-color: transparent; }\n\n /* Drag handle */\n .accessify-drag-handle {\n cursor: grab; touch-action: none;\n }\n .accessify-drag-handle:active { cursor: grabbing; }\n .accessify-drag-handle svg { stroke-width: 3; }\n\n /* ─── Shared Accordion (Language + Profiles) ─── */\n .accessify-lang-dropdown,\n .accessify-accordion {\n border-radius: var(--radius);\n border: 1px solid var(--border);\n overflow: clip;\n }\n\n .accessify-lang-toggle,\n .accessify-accordion-toggle {\n display: flex; align-items: center; justify-content: space-between;\n width: 100%; padding: 14px 14px;\n border: none; background: var(--surface-card);\n color: var(--text); cursor: pointer; font-family: inherit;\n font-size: 15px; font-weight: 700;\n transition: background var(--fast);\n }\n .accessify-lang-toggle:hover,\n .accessify-accordion-toggle:hover { background: var(--surface-hover); }\n\n .accessify-lang-toggle-left,\n .accessify-accordion-toggle-left {\n display: flex; align-items: center; gap: 10px;\n }\n .accessify-lang-toggle-left svg,\n .accessify-accordion-toggle-left svg { width: 20px; height: 20px; color: var(--accent); }\n\n .accessify-lang-chevron,\n .accessify-accordion-chevron {\n width: 18px; height: 18px; color: var(--text-dim);\n transition: transform 200ms ease; flex-shrink: 0;\n }\n .accessify-lang-chevron--open,\n .accessify-accordion-chevron--open { transform: rotate(180deg); }\n\n /* Shared list inside accordion */\n .accessify-lang-list,\n .accessify-accordion-list {\n display: flex; flex-direction: column;\n max-height: 280px; overflow-y: auto;\n background: var(--surface-dim);\n border-top: 1px solid var(--border);\n }\n .accessify-lang-list::-webkit-scrollbar,\n .accessify-accordion-list::-webkit-scrollbar { width: 4px; }\n .accessify-lang-list::-webkit-scrollbar-thumb,\n .accessify-accordion-list::-webkit-scrollbar-thumb { background: var(--border-hl); border-radius: 2px; }\n\n /* Language options */\n .accessify-lang-option {\n display: flex; align-items: center; justify-content: space-between;\n padding: 12px var(--pad);\n border: none; background: transparent;\n color: var(--text); cursor: pointer;\n font-size: 14px; font-weight: 500; font-family: inherit;\n transition: background var(--fast);\n min-height: 44px;\n }\n .accessify-lang-option:hover { background: var(--surface-hover); }\n .accessify-lang-option[data-active="true"] { color: var(--accent); font-weight: 700; }\n .accessify-lang-option svg { width: 18px; height: 18px; color: var(--accent); flex-shrink: 0; }\n\n /* Profile options (with icon + description) */\n .accessify-accordion-option {\n display: flex; align-items: center; justify-content: space-between;\n padding: 14px var(--pad);\n border: none; background: transparent;\n color: var(--text); cursor: pointer;\n font-family: inherit; text-align: left;\n transition: background var(--fast);\n }\n .accessify-accordion-option:hover { background: var(--surface-hover); }\n .accessify-accordion-option[data-active="true"] { background: var(--accent-soft); }\n\n .accessify-accordion-option-left {\n display: flex; align-items: center; gap: 12px; min-width: 0;\n }\n .accessify-accordion-option-icon {\n display: inline-flex; align-items: center; justify-content: center;\n width: 40px; height: 40px; border-radius: 12px;\n background: var(--surface-card); color: var(--accent); flex-shrink: 0;\n }\n .accessify-accordion-option-icon svg { width: 24px; height: 24px; stroke-width: 2.5; }\n .accessify-accordion-option-text {\n display: flex; flex-direction: column; gap: 2px; min-width: 0;\n }\n .accessify-accordion-option-name {\n font-size: 14px; font-weight: 700; line-height: 1.3;\n }\n .accessify-accordion-option-desc {\n font-size: 12px; font-weight: 400; color: var(--text-dim); line-height: 1.3;\n }\n .accessify-accordion-option > svg {\n width: 20px; height: 20px; color: var(--accent); flex-shrink: 0; margin-left: 8px;\n }\n\n /* ─── Scrollable Body ─── */\n .accessify-body {\n flex: 1 1 auto;\n display: flex; flex-direction: column; gap: var(--gap);\n padding: var(--gap) var(--pad);\n overflow-y: auto; overscroll-behavior: contain;\n }\n\n /* ─── Contrast Row ─── */\n .accessify-control-row {\n display: flex; flex-direction: column; gap: 10px;\n padding: 14px 16px;\n border-radius: var(--radius); border: 1px solid var(--border);\n background: var(--surface-card);\n }\n .accessify-control-label {\n display: flex; align-items: center; gap: 8px;\n }\n .accessify-control-label-icon {\n display: inline-flex; align-items: center; justify-content: center;\n width: 34px; height: 34px; border-radius: 10px;\n background: var(--surface-dim); color: var(--accent); flex-shrink: 0;\n }\n .accessify-control-label-icon svg { width: 18px; height: 18px; }\n .accessify-control-label-text { font-size: 14px; font-weight: 600; }\n\n /* Contrast chips */\n .accessify-chip-row {\n display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px;\n }\n .accessify-chip {\n min-height: 48px; padding: 6px 8px;\n border-radius: 10px; border: 1px solid var(--border);\n background: var(--surface-dim); color: var(--text);\n cursor: pointer; font-size: 11px; font-weight: 600; font-family: inherit;\n display: inline-flex; align-items: center; justify-content: center;\n text-align: center; line-height: 1.25;\n transition: background var(--fast), color var(--fast), border-color var(--fast);\n }\n .accessify-chip:hover { border-color: var(--border-hl); background: var(--surface-hover); }\n .accessify-chip[data-active="true"] { background: var(--accent); color: var(--accent-on); border-color: var(--accent); }\n .accessify-chip--icon { gap: 6px; }\n .accessify-chip-icon { display: inline-flex; width: 14px; height: 14px; flex-shrink: 0; }\n .accessify-chip-icon svg { width: 14px; height: 14px; }\n\n /* Text Size stepper */\n .accessify-control-row:has(.accessify-stepper) {\n flex-direction: row; align-items: center; justify-content: space-between; gap: var(--gap);\n }\n .accessify-stepper {\n display: inline-flex; align-items: center;\n border-radius: 10px; border: 1px solid var(--border);\n background: var(--surface-dim); height: 36px; overflow: hidden;\n }\n .accessify-stepper-btn {\n display: inline-flex; align-items: center; justify-content: center;\n width: 36px; height: 100%; border: none; background: transparent;\n color: var(--text); cursor: pointer; font-size: 18px; font-weight: 700;\n transition: background var(--fast); font-family: inherit;\n }\n .accessify-stepper-btn:hover:not(:disabled) { background: var(--surface-hover); }\n .accessify-stepper-btn:disabled { opacity: 0.3; cursor: default; }\n .accessify-stepper-value {\n min-width: 48px; text-align: center;\n font-size: 13px; font-weight: 600; color: var(--text); user-select: none;\n }\n\n /* ─── Feature Cards (2-column grid) ─── */\n .accessify-features {\n display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--gap);\n }\n .accessify-card-wrap {\n position: relative;\n overflow: visible;\n }\n .accessify-card {\n position: relative; width: 100%;\n display: flex; flex-direction: column; align-items: center; justify-content: center;\n gap: 8px; padding: 18px 10px; min-height: 105px;\n border-radius: var(--radius-lg); border: 1px solid var(--border);\n background: var(--surface-card); color: var(--text);\n cursor: pointer; text-align: center; font-family: inherit;\n transition: transform var(--fast), border-color var(--fast), background var(--fast), box-shadow var(--fast);\n }\n .accessify-card:hover { transform: translateY(-2px); border-color: var(--border-hl); box-shadow: 0 4px 16px rgba(0,0,0,0.15); }\n .accessify-card[data-active="true"] { border-color: var(--accent); background: var(--accent-soft); }\n .accessify-card[data-active="true"]::after {\n content: ''; position: absolute; top: 8px; ${n?"right: 8px":"left: 8px"};\n width: 18px; height: 18px; border-radius: 999px; background: var(--accent);\n mask-image: url("data:image/svg+xml,${rr}");\n mask-size: 10px; mask-repeat: no-repeat; mask-position: center;\n -webkit-mask-image: url("data:image/svg+xml,${rr}");\n -webkit-mask-size: 10px; -webkit-mask-repeat: no-repeat; -webkit-mask-position: center;\n }\n .accessify-card-icon {\n display: inline-flex; align-items: center; justify-content: center;\n width: 48px; height: 48px; border-radius: 14px;\n background: var(--surface-dim); color: var(--accent);\n }\n .accessify-card-icon svg { width: 28px; height: 28px; stroke-width: 2.5; }\n .accessify-card-label { font-size: 12px; font-weight: 600; line-height: 1.25; }\n\n /* Info icon + tooltip */\n .accessify-card-info {\n position: absolute; top: 6px; ${n?"right: 6px":"left: 6px"}; z-index: 10;\n display: inline-flex; align-items: center; justify-content: center;\n width: 22px; height: 22px; border-radius: 999px;\n color: var(--text-dim); cursor: help; background: none; border: none;\n opacity: 0.35; transition: opacity var(--fast), color var(--fast);\n }\n .accessify-card-info svg { width: 14px; height: 14px; }\n .accessify-card-info:hover, .accessify-card-info:focus-visible { opacity: 1; color: var(--accent); }\n .accessify-card-tooltip {\n display: none; position: absolute;\n top: calc(100% + 6px); ${n?"right: 0":"left: 0"};\n width: 180px; padding: 10px 12px;\n border-radius: 10px; background: #2a3158; color: var(--text);\n font-size: 12px; font-weight: 500; line-height: 1.4;\n text-align: left; white-space: normal;\n box-shadow: 0 6px 24px rgba(0,0,0,0.5);\n pointer-events: none; z-index: 100;\n }\n .accessify-card-info:hover .accessify-card-tooltip,\n .accessify-card-info:focus-visible .accessify-card-tooltip {\n display: block;\n }\n .accessify-card-tooltip::before {\n content: ''; position: absolute; bottom: 100%; ${n?"right: 4px":"left: 4px"};\n border: 5px solid transparent; border-bottom-color: #2a3158;\n }\n\n /* ─── Section Divider ─── */\n .accessify-section-divider {\n height: 1px;\n background: var(--border);\n margin: 4px 0;\n flex-shrink: 0;\n }\n\n /* ─── Footer ─── */\n .accessify-footer {\n display: flex; align-items: center; justify-content: space-between;\n padding: 10px var(--pad);\n border-top: 1px solid var(--border);\n color: var(--text-dim); font-size: 11px;\n background: var(--surface-dim); flex-shrink: 0;\n gap: 8px;\n }\n .accessify-footer-links {\n display: flex; align-items: center; gap: 8px;\n }\n .accessify-footer a { color: var(--accent); text-decoration: none; font-weight: 600; }\n .accessify-footer a:hover { text-decoration: underline; }\n\n .accessify-footer-close {\n display: inline-flex; align-items: center; gap: 5px;\n padding: 6px 14px; min-height: 34px;\n border: 1px solid var(--border); border-radius: 10px;\n background: var(--surface); color: var(--text-dim);\n cursor: pointer; font-size: 12px; font-weight: 600; font-family: inherit;\n transition: background var(--fast), color var(--fast), border-color var(--fast);\n flex-shrink: 0;\n }\n .accessify-footer-close:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }\n .accessify-footer-close svg { width: 14px; height: 14px; flex-shrink: 0; }\n\n /* ─── Reduced Motion ─── */\n @media (prefers-reduced-motion: reduce) {\n *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }\n }\n\n /* ─── Mobile ─── */\n @media (max-width: 640px) {\n .accessify-panel { width: 100vw; border-radius: 0; }\n .accessify-features { gap: 8px; }\n .accessify-body { padding: 8px 12px; }\n .accessify-trigger {\n ${a?"bottom: 16px":"top: 16px"};\n ${n?"right: 16px":"left: 16px"};\n width: 50px; height: 50px; border-radius: 14px;\n }\n }\n `}const sr="alt-texts";function cr(e){let t=5381;const n=e.toLowerCase().trim();for(let a=0;a<n.length;a++)t=(t<<5)+t+n.charCodeAt(a),t|=0;return Math.abs(t).toString(36)}function lr(e){try{const t=new URL(e);return t.searchParams.delete("width"),t.searchParams.delete("height"),t.searchParams.delete("scale-down-to"),t.href}catch{return e}}function dr(e){return e.currentSrc||e.src}function ur(){return new Promise(e=>{try{const t=indexedDB.open("accessify-alt-text-cache",2);t.onupgradeneeded=()=>{const e=t.result;e.objectStoreNames.contains(sr)||e.createObjectStore(sr,{keyPath:"key"}),e.objectStoreNames.contains("alt-text-reports")||e.createObjectStore("alt-text-reports",{keyPath:"key"})},t.onsuccess=()=>e(t.result),t.onerror=()=>e(null)}catch{e(null)}})}async function fr(e){const t=await ur();return t?new Promise(n=>{try{const a=t.transaction(sr,"readonly").objectStore(sr),i=a.get(cr(e));i.onsuccess=()=>{if(i.result?.altText)return void n(i.result.altText);const t=lr(e);if(t!==e){const e=a.get(cr(t));e.onsuccess=()=>n(e.result?.altText||null),e.onerror=()=>n(null)}else n(null)},i.onerror=()=>n(null)}catch{n(null)}}):null}async function pr(e,t,n){const a=await ur();if(a)return new Promise(i=>{try{const r=a.transaction(sr,"readwrite");r.objectStore(sr).put({key:cr(e),src:e,altText:t,lang:n,createdAt:Date.now()}),r.oncomplete=()=>i(),r.onerror=()=>i()}catch{i()}})}const hr="https://accessify-api.accessify.workers.dev";function gr(e,t,n,a,i){try{const r=window.location.origin+window.location.pathname;fetch(`${t||hr}/v1/cache/persist-alt-text`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({siteKey:e,pageUrl:r,imageUrl:n,altText:a,lang:i})}).catch(()=>{})}catch{}}let mr=!1;async function yr(e){if(mr)return 0;mr=!0;const t=new Map,n=e?.siteKey,a=e?.proxyUrl||"",i=e?.lang?.split("-")[0]||document.documentElement.lang?.split("-")[0]||"en";if(n){const e=await async function(e,t,n){const a=new Map;try{const i=t||hr,r=window.location.origin+window.location.pathname,o=await fetch(`${i}/v1/manifest?siteKey=${encodeURIComponent(e)}&url=${encodeURIComponent(r)}&feature=alt_text&variant=${encodeURIComponent(n)}`,{headers:{Accept:"application/json"},cache:"no-cache"});if(!o.ok)return a;const s=await o.json();if(s.blocks)for(const e of s.blocks)e.selector&&e.result&&a.set(e.selector,e.result)}catch{}return a}(n,a,i);for(const[n,a]of e)t.set(n,a),pr(n,a,i).catch(()=>{})}const r=await async function(){const e=await ur(),t=new Map;return e?new Promise(n=>{try{const a=e.transaction(sr,"readonly").objectStore(sr).getAll();a.onsuccess=()=>{for(const e of a.result)t.set(e.src,e.altText);n(t)},a.onerror=()=>n(t)}catch{n(t)}}):t}();for(const[l,d]of r)t.has(l)||t.set(l,d);if(0===t.size)return 0;function o(e){if(e.closest("#accessify-root")||e.closest("accessify-widget"))return!1;const n=dr(e),a=t.get(n)||t.get(lr(n))||t.get(e.src);if(!a)return!1;const i=e.getAttribute("alt");return null!==i&&""!==i.trim()||(e.setAttribute("alt",a),e.setAttribute("data-accessify-alt","auto")),e.setAttribute("title",a),!0}let s=0;document.querySelectorAll("img").forEach(e=>{o(e)&&s++});const c=new MutationObserver(e=>{for(const t of e)for(const e of t.addedNodes){const t=e instanceof HTMLImageElement?[e]:e instanceof HTMLElement?Array.from(e.querySelectorAll("img")):[];for(const e of t)o(e)}});return c.observe(document.body,{childList:!0,subtree:!0}),setTimeout(()=>c.disconnect(),3e4),s}const vr=Object.freeze(Object.defineProperty({__proto__:null,autoApplyCachedAltTexts:yr,default:function(e,t="de",n){const a=n?.siteKey||"",i=n?.proxyUrl||"";let r=!1,o=null,s=!1,c=[];const l=new Map;function d(){return mi()||t}function u(){return d().startsWith("de")}function f(e){return!(e.closest("#accessify-root")||e.closest("accessify-widget")||e.complete&&e.naturalWidth>0&&(e.naturalWidth<20||e.naturalHeight<20))}function p(e){if(!f(e))return!1;const t=e.getAttribute("alt");return null===t||!!function(e){return!(e.trim()&&!/^(image|img|photo|bild|foto|untitled|placeholder)/i.test(e)&&!/^IMG_\d+/i.test(e)&&!/\.(jpg|jpeg|png|gif|webp|svg|avif)$/i.test(e))}(t)||""===t&&!function(e){const t=e.getAttribute("role");return"presentation"===t||"none"===t||!!(e.complete&&e.naturalWidth>0&&(e.naturalWidth<50||e.naturalHeight<50))}(e)}function h(e){const t=[];try{const n=new URL(dr(e),window.location.href).pathname.split("/").pop();n&&t.push(`Filename: ${n}`)}catch{}const n=e.closest("figure");if(n){const e=n.querySelector("figcaption");e?.textContent?.trim()&&t.push(`Caption: ${e.textContent.trim()}`)}const a=e.parentElement?.parentElement||e.parentElement;if(a){const e=a.querySelector("h1, h2, h3, h4, h5, h6");e?.textContent?.trim()&&t.push(`Nearby heading: ${e.textContent.trim()}`)}return t.join(". ")}function g(e,t){e.setAttribute("alt",t),e.setAttribute("title",t),l.set(e,{generatedAlt:t})}function m(){document.querySelectorAll("img").forEach(e=>{if(!f(e))return;if(e.getAttribute("title"))return;const t=e.getAttribute("alt");t&&t.trim()&&(e.setAttribute("title",t),e.setAttribute("data-accessify-title","auto"))})}function y(e){const t=getComputedStyle(e).backgroundImage,n=t?.match(/url\(["']?([^"')]+)["']?\)/);return n?n[1]:null}function v(e,t){e.setAttribute("role","img"),e.setAttribute("aria-label",t),e.setAttribute("title",t),e.setAttribute("data-accessify-bg-alt","auto")}function b(e){const t=[];t.push(`Element: <${e.tagName.toLowerCase()}>`),e.className&&t.push(`Class: ${e.className}`);const n=e.textContent?.trim().slice(0,100);n&&t.push(`Overlay text: ${n}`);const a=e.querySelector("h1, h2, h3");return a?.textContent?.trim()&&t.push(`Heading: ${a.textContent.trim()}`),t.join(". ")}function w(t){function n(){if(r&&!c.includes(t)&&!(t.naturalWidth<20||t.naturalHeight<20))if(p(t))c.push(t),async function(t){if(!e||!r)return;const n=dr(t),o=await fr(n);if(o)g(t,o);else try{const o=h(t),s=await e.generateAltText(n,o,d());s&&r&&(g(t,s),pr(n,s,d()).catch(()=>{}),a&&gr(a,i,n,s,d()))}catch(s){}}(t);else{const e=t.getAttribute("alt");e&&e.trim()&&!t.getAttribute("title")&&(t.setAttribute("title",e),t.setAttribute("data-accessify-title","auto"))}}r&&f(t)&&(c.includes(t)||(t.complete&&t.naturalWidth>0?n():t.addEventListener("load",n,{once:!0})))}return yr({siteKey:a,proxyUrl:i,lang:t}).catch(()=>{}),{id:"alt-text",name:()=>u()?"Bildbeschreibung":"Image Description",description:u()?"Bildbeschreibungen per Hover anzeigen und fehlende automatisch erzeugen":"Show image descriptions on hover and auto-generate missing ones",icon:"alt-text",category:"ai",activate:function(){if(r)return;r=!0,document.querySelectorAll('img[data-accessify-alt="auto"]').forEach(e=>{e.closest("#accessify-root")||l.has(e)||(l.set(e,{generatedAlt:e.getAttribute("alt")||""}),c.push(e))});const t=function(){const e=[];return document.querySelectorAll("img").forEach(t=>{p(t)&&e.push(t)}),document.querySelectorAll("picture").forEach(t=>{if(t.closest("#accessify-root")||t.closest("accessify-widget"))return;const n=t.querySelector("img");n&&!e.includes(n)&&p(n)&&e.push(n)}),e}();for(const e of t)c.includes(e)||c.push(e);!async function(){if(s||!r||!e)return;s=!0;const t=[];for(const e of c){if(l.has(e))continue;const n=dr(e),a=await fr(n);a?g(e,a):t.push(e)}if(t.length){for(let n=0;n<t.length&&r;n+=3){const o=t.slice(n,n+3);await Promise.all(o.map(async t=>{if(r)try{const n=dr(t),o=h(t),s=await e.generateAltText(n,o,d());s&&r&&(g(t,s),pr(n,s,d()).catch(()=>{}),a&&gr(a,i,n,s,d()))}catch(n){}}))}s=!1}else s=!1}(),async function(){if(!e||!r)return;const t=function(){const e=[],t=document.querySelectorAll('header, [class*="hero"], [class*="banner"], [class*="header"], [class*="bg-"], [class*="background"], [style*="background"]');for(const n of t){if(n.closest("#accessify-root")||n.closest("accessify-widget"))continue;if(n.getAttribute("data-accessify-bg-alt"))continue;const t=getComputedStyle(n).backgroundImage;if(!t||"none"===t)continue;if(!t.match(/url\(["']?([^"')]+)["']?\)/))continue;const a=n.getBoundingClientRect();a.width<100||a.height<100||"img"===n.getAttribute("role")&&n.getAttribute("aria-label")||e.push(n)}return e}();for(const o of t){if(!r)break;const t=y(o);if(!t)continue;const s=await fr(t);if(s)v(o,s);else try{const n=b(o),s=await e.generateAltText(t,n,d());s&&r&&(v(o,s),pr(t,s,d()).catch(()=>{}),a&&gr(a,i,t,s,d()))}catch(n){}}}(),m(),document.querySelectorAll("img").forEach(e=>{e.complete||w(e)}),setTimeout(()=>{r&&(document.querySelectorAll("img").forEach(w),m())},2e3),o=new MutationObserver(e=>{for(const t of e)for(const e of t.addedNodes)e instanceof HTMLImageElement?w(e):e instanceof HTMLElement&&e.querySelectorAll("img").forEach(w)}),o.observe(document.body,{childList:!0,subtree:!0})},deactivate:function(){r=!1,s=!1,o?.disconnect(),o=null,document.querySelectorAll('img[data-accessify-title="auto"]').forEach(e=>{e.removeAttribute("title"),e.removeAttribute("data-accessify-title")}),document.querySelectorAll("[data-accessify-bg-alt]").forEach(e=>{e.removeAttribute("role"),e.removeAttribute("aria-label"),e.removeAttribute("title"),e.removeAttribute("data-accessify-bg-alt")}),c=[]},getState:()=>({id:"alt-text",enabled:r,value:{missingCount:c.filter(e=>!l.has(e)).length,processedCount:l.size}})}}},Symbol.toStringTag,{value:"Module"})),br=new Set(["spacing","dyslexia-font","color-blind","color-blindness","saturation","text-align","line-height","page-structure","focus-highlight","auto-scan"]),wr={position:"bottom-right",theme:"auto",lang:document.documentElement.lang||"en",features:["contrast","text-size","link-highlight","hide-images","reading-guide","reading-mask","big-cursor","keyboard-nav","animation-stop","tts","text-simplify","alt-text"],zIndex:999999,compact:!1};let xr=null,kr=null,Sr={...wr};async function Ar(e={}){if(xr)return;const t=window.__accessify_dataConfig||{};Sr={...wr,...t,...e};const n=Sr.siteKey||Sr.siteKey,a=Sr.proxyUrl||Sr.proxyUrl;if(n){const i=await async function(e,t){try{const n=t||"https://accessify-api.accessify.workers.dev",a=await fetch(`${n}/v1/config/${e}`,{headers:{Accept:"application/json"}});if(!a.ok)return{};const i=await a.json(),r=i?.config||{},o={};r.features?.length&&(o.features=r.features),r.defaultLang&&(o.lang=r.defaultLang),r.position&&(o.position=r.position),r.theme&&(o.theme=r.theme),null!=r.compact&&(o.compact=r.compact);const s=["brandPrimaryColor","brandSurfaceColor","brandTextColor","brandBorderColor","brandCardColor","brandAccentColor","brandTextDimColor","brandTriggerColor","brandTriggerIconColor","brandHoverColor"];for(const e of s)r[e]&&(o[e]=r[e]);return r.panelWidth&&(o.panelWidth=r.panelWidth),o}catch{return{}}}(n,a||"");Sr={...wr,...i,...t,...e}}Sr.features=(Sr.features||wr.features).filter(e=>!br.has(e)),kr=document.createElement("div"),kr.id="accessify-root",kr.setAttribute("role","complementary"),kr.setAttribute("aria-label",vi("widget.title",Sr.lang));const i=kr.attachShadow({mode:"open",delegatesFocus:!0}),r=new CSSStyleSheet;r.replaceSync(or(Sr)),i.adoptedStyleSheets=[r];const o=document.createElement("div");function s(e){return Object.getOwnPropertySymbols(e).find(e=>"Symbol(events)"===e.toString())}o.id="accessify-mount",i.appendChild(o),xr=function(e,{target:t,anchor:n,props:a={},events:i,context:r,intro:o=!0,transformError:s}){!function(){if(void 0===ln){ln=window,dn=/Firefox/.test(navigator.userAgent);var e=Element.prototype,t=Node.prototype,n=Text.prototype;un=se(t,"firstChild").get,fn=se(t,"nextSibling").get,fe(e)&&(e.__click=void 0,e.__className=void 0,e.__attributes=null,e.__style=void 0,e.__e=void 0),fe(n)&&(n.__t=void 0),te&&(e.__svelte_meta=null,function(){const e=Array.prototype,t=Array.__svelte_cleanup;t&&t();const{indexOf:n,lastIndexOf:a,includes:i}=e;e.indexOf=function(e,t){const a=n.call(this,e,t);if(-1===a)for(let n=t??0;n<this.length;n+=1)if(sn(this[n])===e){Ke();break}return a},e.lastIndexOf=function(e,t){const n=a.call(this,e,t??this.length-1);if(-1===n)for(let a=0;a<=(t??this.length-1);a+=1)if(sn(this[a])===e){Ke();break}return n},e.includes=function(e,t){const n=i.call(this,e,t);if(!n)for(let a=0;a<this.length;a+=1)if(sn(this[a])===e){Ke();break}return n},Array.__svelte_cleanup=()=>{e.indexOf=n,e.lastIndexOf=a,e.includes=i}}())}}();var c=void 0,l=function(){At.ensure();const o=xn(524352,()=>{var o=n??t.appendChild(pn());new zt(o,{pending:()=>{}},t=>{Qe({}),r&&(Ge.c=r),i&&(a.$$events=i),c=e(t,a)||{},et()},s);var l=new Set,d=e=>{for(var n=0;n<e.length;n++){var a=e[n];if(!l.has(a)){l.add(a);var i=ga(a);for(const e of[t,document]){var r=Ia.get(e);void 0===r&&Ia.set(e,r=new Map);var o=r.get(a);void 0===o?(e.addEventListener(a,ka,{passive:i}),r.set(a,1)):r.set(a,o+1)}}}};return d(re(ya)),va.add(d),()=>{for(var e of l)for(const n of[t,document]){var a=Ia.get(n),i=a.get(e);0==--i?(n.removeEventListener(e,ka),a.delete(e),0===a.size&&Ia.delete(n)):a.set(e,i)}va.delete(d),o!==n&&o.parentNode?.removeChild(o)}});return(e={})=>new Promise(t=>{e.outro?Hn(o,()=>{zn(o),t(void 0)}):(zn(o),t(void 0))})}();return za.set(c,l),c}(ir,{target:o,props:{config:Sr,shadow:i}});const c=["click","input","change","keydown","keyup","focusin","focusout"];for(const l of c)i.addEventListener(l,e=>{let t=e.composedPath()[0],n=!1;for(;t&&t!==i;){const a=s(t);if(a){const i=t[a];i&&"function"==typeof i[l]&&(i[l].call(t,e),n=!0)}if(e.cancelBubble)break;t=t.assignedSlot||t.parentNode||t.host}n&&e.stopImmediatePropagation()},!0);window.addEventListener("accessify:reposition",e=>{const t=e.detail?.position;t&&Sr&&(Sr.position=t,r.replaceSync(or(Sr)))}),window.addEventListener("message",e=>{if("accessify:preview-config"===e.data?.type&&(Object.assign(Sr,e.data.config||{}),r.replaceSync(or(Sr))),"accessify:open"===e.data?.type){const e=i.querySelector(".accessify-panel"),t=i.querySelector(".accessify-trigger");e&&e.setAttribute("aria-hidden","false"),t&&t.setAttribute("aria-expanded","true")}}),document.body.appendChild(kr),yr(Sr).catch(()=>{}),Sr.onReady?.()}function Mr(){xr&&(function(e){const t=za.get(e);t?(za.delete(e),t(void 0)):Promise.resolve()}(xr),xr=null),kr?.remove(),kr=null}function Cr(e,...t){const n={init:e=>Ar(e),open:()=>xr?.open?.(),close:()=>xr?.close?.(),destroy:Mr};n[e]?.(...t)}window.__accessify_exec=Cr;const Er=window.Accessify;Er?.q&&(Er.q.forEach(e=>Cr(...e)),Er.q=[]);const Tr=function(e,...t){Cr(e,...t)};Tr._loaded=!0,Object.defineProperty(Tr,"config",{get:()=>Sr,enumerable:!0}),window.Accessify=Tr,window.A11yPlus=Tr;const _r=Object.freeze(Object.defineProperty({__proto__:null,default:function(){let e="off";const t="accessify-contrast",n="accessify-contrast-mode";function a(e){let n=document.getElementById(t);"off"!==e?(n||(n=document.createElement("style"),n.id=t,document.head.appendChild(n)),n.textContent=function(e){switch(e){case"light":return"\n html {\n color-scheme: light !important;\n }\n\n body,\n body :where(main, section, article, aside, nav, header, footer, div, p, li, dt, dd, blockquote, figcaption, table, thead, tbody, tr, th, td, ul, ol, form, fieldset, button, input, textarea, select, label, details, summary):not(#accessify-root):not(#accessify-root *) {\n background-color: #fbf7ef !important;\n color: #161616 !important;\n border-color: #6f675d !important;\n }\n\n body :where(h1, h2, h3, h4, h5, h6, strong, b):not(#accessify-root):not(#accessify-root *) {\n color: #0f1720 !important;\n }\n\n body :where(a, a:visited):not(#accessify-root):not(#accessify-root *) {\n color: #0047b3 !important;\n text-decoration-color: currentColor !important;\n }\n\n body :where(button, input, textarea, select):not(#accessify-root):not(#accessify-root *) {\n box-shadow: none !important;\n }\n ";case"dark":return"\n html {\n color-scheme: dark !important;\n }\n\n body,\n body :where(main, section, article, aside, nav, header, footer, div, p, li, dt, dd, blockquote, figcaption, table, thead, tbody, tr, th, td, ul, ol, form, fieldset, button, input, textarea, select, label, details, summary):not(#accessify-root):not(#accessify-root *) {\n background-color: #101418 !important;\n color: #f5f1e8 !important;\n border-color: #9bb4c7 !important;\n }\n\n body :where(h1, h2, h3, h4, h5, h6, strong, b):not(#accessify-root):not(#accessify-root *) {\n color: #ffffff !important;\n }\n\n body :where(a, a:visited):not(#accessify-root):not(#accessify-root *) {\n color: #8fd8ff !important;\n text-decoration-color: currentColor !important;\n }\n\n body :where(img, video, svg, canvas):not(#accessify-root):not(#accessify-root *) {\n filter: brightness(0.92) contrast(1.08) !important;\n }\n ";case"high":return"\n html {\n color-scheme: dark !important;\n }\n\n body,\n body :where(main, section, article, aside, nav, header, footer, div, p, li, dt, dd, blockquote, figcaption, table, thead, tbody, tr, th, td, ul, ol, form, fieldset, button, input, textarea, select, label, details, summary):not(#accessify-root):not(#accessify-root *) {\n background: #000000 !important;\n color: #ffffff !important;\n border-color: #ffffff !important;\n box-shadow: none !important;\n }\n\n body :where(a, a:visited):not(#accessify-root):not(#accessify-root *) {\n color: #fff35c !important;\n text-decoration: underline !important;\n text-decoration-thickness: 3px !important;\n text-underline-offset: 3px !important;\n }\n\n body :where(button, input, textarea, select):not(#accessify-root):not(#accessify-root *) {\n outline: 2px solid #fff35c !important;\n outline-offset: 2px !important;\n }\n\n body :where(img, video, svg, canvas):not(#accessify-root):not(#accessify-root *) {\n filter: contrast(1.25) brightness(0.95) !important;\n }\n ";default:return""}}(e)):n?.remove()}return{id:"contrast",name:()=>"Contrast",description:"Increase contrast for better readability",icon:"contrast",category:"visual",activate:function(){const t=localStorage.getItem(n);e="light"===t||"dark"===t||"high"===t?t:"dark",a(e)},deactivate:function(){e="off",a("off"),localStorage.removeItem(n)},getState:()=>({id:"contrast",enabled:"off"!==e,value:e}),setState:t=>{e="light"===t||"dark"===t||"high"===t?t:"off",a(t),"off"===e?localStorage.removeItem(n):localStorage.setItem(n,e)}}}},Symbol.toStringTag,{value:"Module"})),$r=Object.freeze(Object.defineProperty({__proto__:null,default:function(){let e=100,t=null,n=!1;const a="accessify-text-size-styles",i="accessify-text-size",r="data-accessify-text-size-processed",o="data-accessify-original-inline-font-size",s="data-accessify-original-computed-font-size",c=new Set(["SCRIPT","STYLE","NOSCRIPT","IFRAME","SVG","PATH","G","DEFS","MASK","BR","META","LINK","HEAD"]);function l(e){if("accessify-root"===e.id||e.closest("#accessify-root"))return!1;if(c.has(e.tagName))return!1;const t=window.getComputedStyle(e),n=parseFloat(t.fontSize);return!(!Number.isFinite(n)||n<=0)&&"none"!==t.display&&"hidden"!==t.visibility&&(new Set(["INPUT","TEXTAREA","SELECT","BUTTON","LABEL","OPTION"]).has(e.tagName)||function(e){return Array.from(e.childNodes).some(e=>e.nodeType===Node.TEXT_NODE&&Boolean(e.textContent?.trim()))}(e))}function d(e){const t=e.getAttribute(o);null!==t&&(t?e.style.fontSize=t:e.style.removeProperty("font-size"),e.removeAttribute(r),e.removeAttribute(o),e.removeAttribute(s))}function u(){if(n||100===e)return;n=!0;const t=()=>{n=!1,f(e)};"function"==typeof window.requestAnimationFrame?window.requestAnimationFrame(()=>t()):window.setTimeout(t,0)}function f(e){if(100===e)return t?.disconnect(),t=null,n=!1,document.getElementById(a)?.remove(),void document.querySelectorAll(`[${r}]`).forEach(e=>{d(e)});!function(e){let t=document.getElementById(a);t||(t=document.createElement("style"),t.id=a,document.head.appendChild(t)),t.textContent=`/* accessify text-size: ${e}% */`}(e);const i=e/100,c=new Set(document.body?[document.body,...Array.from(document.body.querySelectorAll("*"))].filter(l):[]);document.querySelectorAll(`[${r}]`).forEach(e=>{c.has(e)||d(e)}),c.forEach(e=>{!function(e,t){!function(e){if(e.hasAttribute(o)||e.setAttribute(o,e.style.fontSize||""),!e.hasAttribute(s)){const t=parseFloat(window.getComputedStyle(e).fontSize);Number.isFinite(t)&&t>0&&e.setAttribute(s,String(t))}}(e);const n=parseFloat(e.getAttribute(s)||"");if(!Number.isFinite(n)||n<=0)return;const a=Math.round(n*t*100)/100;e.style.setProperty("font-size",`${a}px`,"important"),e.setAttribute(r,"true")}(e,i)}),!t&&document.body&&(t=new MutationObserver(e=>{for(const t of e)if("childList"===t.type&&(t.addedNodes.length>0||t.removedNodes.length>0))return void u()}),t.observe(document.body,{childList:!0,subtree:!0}))}function p(e){return Math.min(200,Math.max(100,10*Math.round(e/10)))}return{id:"text-size",name:()=>"Text Size",description:"Adjust text size from 100% to 200%",icon:"text-size",category:"visual",activate:function(){const t=localStorage.getItem(i);e=t?p(parseInt(t,10)):150,f(e),localStorage.setItem(i,String(e))},deactivate:function(){e=100,f(100),localStorage.removeItem(i)},getState:()=>({id:"text-size",enabled:100!==e,value:e}),setState:t=>{e=p(t),f(e),localStorage.setItem(i,String(e))}}}},Symbol.toStringTag,{value:"Module"})),Ir=Object.freeze(Object.defineProperty({__proto__:null,default:function(){let e=!1;const t="accessify-keyboard-nav",n="accessify-skip-link",a="accessify-keyboard-help",i="accessify-keyboard-nav";let r=-1,o=-1,s=[],c=[],l=!1,d=null,u=null,f=null,p=null;const h=()=>w();function g(){return mi()}function m(){s=Array.from(document.querySelectorAll("h1, h2, h3, h4, h5, h6")).filter(e=>{const t=window.getComputedStyle(e);return"none"!==t.display&&"hidden"!==t.visibility})}function y(){c=Array.from(document.querySelectorAll(['header, [role="banner"]','nav, [role="navigation"]','main, [role="main"]','aside, [role="complementary"]','[role="search"]','[role="form"]','footer, [role="contentinfo"]','[role="region"][aria-label]'].join(", "))).filter(e=>{const t=window.getComputedStyle(e);return"none"!==t.display&&"hidden"!==t.visibility})}function v(){document.querySelectorAll(["a[href]","button","input","select","textarea",'[role="button"]','[role="link"]','[role="checkbox"]','[role="radio"]','[role="tab"]','[role="menuitem"]','[role="switch"]','[contenteditable="true"]',"summary"].join(", ")).forEach(e=>{e.hasAttribute("tabindex")||function(e){const t=e.tagName.toLowerCase();return!!["a","button","input","select","textarea"].includes(t)}(e)||(e.setAttribute("tabindex","0"),e.dataset.accessifyTabindex="true")})}function b(t){if(e){if("Escape"===t.key&&l){const e=document.getElementById(a);return e?.remove(),void(l=!1)}if(t.altKey)switch(t.key.toLowerCase()){case"h":t.preventDefault(),function(){if(m(),0===s.length)return;r=(r+1)%s.length;const e=s[r];e.setAttribute("tabindex","-1"),e.focus(),e.scrollIntoView({behavior:"smooth",block:"center"})}();break;case"l":t.preventDefault(),function(){if(y(),0===c.length)return;o=(o+1)%c.length;const e=c[o];e.setAttribute("tabindex","-1"),e.focus(),e.scrollIntoView({behavior:"smooth",block:"center"})}();break;case"k":t.preventDefault(),function(){const e=document.getElementById(a);if(e)return e.remove(),void(l=!1);l=!0;const t=document.createElement("div");t.id=a,t.setAttribute("role","dialog"),t.setAttribute("aria-label",vi("keyboard.shortcuts",g())),t.setAttribute("aria-modal","true"),t.innerHTML=`\n <div style="\n position: fixed; inset: 0; background: rgba(0,0,0,0.6);\n display: flex; align-items: center; justify-content: center;\n z-index: 2147483647;\n ">\n <div style="\n background: #fff; color: #222; border-radius: 12px; padding: 32px;\n max-width: 480px; width: 90%; max-height: 80vh; overflow-y: auto;\n box-shadow: 0 8px 32px rgba(0,0,0,0.3); font-family: system-ui, sans-serif;\n " role="document">\n <h2 style="margin: 0 0 16px; font-size: 20px; color: #1a73e8;">${vi("keyboard.shortcuts",g())}</h2>\n <table style="width: 100%; border-collapse: collapse; font-size: 14px;">\n <thead>\n <tr style="border-bottom: 2px solid #e0e0e0;">\n <th style="text-align: left; padding: 8px 12px;">${vi("keyboard.shortcut",g())}</th>\n <th style="text-align: left; padding: 8px 12px;">${vi("keyboard.action",g())}</th>\n </tr>\n </thead>\n <tbody>\n <tr style="border-bottom: 1px solid #f0f0f0;">\n <td style="padding: 8px 12px;"><kbd style="background:#f5f5f5;padding:2px 8px;border-radius:4px;border:1px solid #ccc;font-family:monospace;">Alt + H</kbd></td>\n <td style="padding: 8px 12px;">${vi("keyboard.nextHeading",g())}</td>\n </tr>\n <tr style="border-bottom: 1px solid #f0f0f0;">\n <td style="padding: 8px 12px;"><kbd style="background:#f5f5f5;padding:2px 8px;border-radius:4px;border:1px solid #ccc;font-family:monospace;">Alt + L</kbd></td>\n <td style="padding: 8px 12px;">${vi("keyboard.nextLandmark",g())}</td>\n </tr>\n <tr style="border-bottom: 1px solid #f0f0f0;">\n <td style="padding: 8px 12px;"><kbd style="background:#f5f5f5;padding:2px 8px;border-radius:4px;border:1px solid #ccc;font-family:monospace;">Alt + K</kbd></td>\n <td style="padding: 8px 12px;">${vi("keyboard.toggleHelp",g())}</td>\n </tr>\n <tr style="border-bottom: 1px solid #f0f0f0;">\n <td style="padding: 8px 12px;"><kbd style="background:#f5f5f5;padding:2px 8px;border-radius:4px;border:1px solid #ccc;font-family:monospace;">Tab</kbd></td>\n <td style="padding: 8px 12px;">${vi("keyboard.nextFocusable",g())}</td>\n </tr>\n <tr>\n <td style="padding: 8px 12px;"><kbd style="background:#f5f5f5;padding:2px 8px;border-radius:4px;border:1px solid #ccc;font-family:monospace;">Escape</kbd></td>\n <td style="padding: 8px 12px;">${vi("keyboard.closeOverlay",g())}</td>\n </tr>\n </tbody>\n </table>\n <button style="\n margin-top: 20px; padding: 8px 24px; background: #1a73e8; color: #fff;\n border: none; border-radius: 6px; cursor: pointer; font-size: 14px;\n " id="accessify-keyboard-help-close">${vi("widget.close",g())}</button>\n </div>\n </div>\n `,document.body.appendChild(t);const n=document.getElementById("accessify-keyboard-help-close");n?.focus(),n?.addEventListener("click",()=>{t.remove(),l=!1})}()}}}function w(){e&&(u&&clearTimeout(u),u=setTimeout(()=>{m(),y(),r=-1,o=-1,v()},300))}function x(){e=!0,r=-1,o=-1,function(){let e=document.getElementById(t);e||(e=document.createElement("style"),e.id=t,document.head.appendChild(e)),e.textContent=`\n /* accessify keyboard navigation */\n #${n} {\n position: fixed;\n top: -100px;\n left: 50%;\n transform: translateX(-50%);\n background: #1a73e8;\n color: #fff;\n padding: 12px 24px;\n border-radius: 0 0 8px 8px;\n font-size: 16px;\n font-family: system-ui, sans-serif;\n text-decoration: none;\n z-index: 2147483647;\n transition: top 0.2s ease;\n box-shadow: 0 2px 8px rgba(0,0,0,0.3);\n }\n #${n}:focus {\n top: 0;\n outline: 3px solid #ffdd00;\n outline-offset: 2px;\n }\n `}(),function(){if(function(){const e=document.querySelectorAll('a[href^="#"]');for(const t of e){const e=t.textContent?.toLowerCase()||"";if(e.includes("skip")||e.includes("main content")||e.includes("navigation"))return!0}return!1}())return;const e=document.querySelector("main")||document.getElementById("content")||document.getElementById("main-content")||document.querySelector('[role="main"]')||document.querySelector("h1");if(!e)return;e.id||(e.id="accessify-main-content");const t=document.createElement("a");t.id=n,t.href=`#${e.id}`,t.textContent=vi("keyboard.skipToContent",g()),t.addEventListener("click",t=>{t.preventDefault(),e.setAttribute("tabindex","-1"),e.focus(),e.scrollIntoView({behavior:"smooth",block:"start"})}),document.body.insertBefore(t,document.body.firstChild)}(),v(),document.addEventListener("keydown",b),function(){if(d)return;d=new MutationObserver(()=>w());const e=document.querySelector("main")||document.body;d.observe(e,{childList:!0,subtree:!0})}(),f||(f=history.pushState,history.pushState=function(...e){f.apply(this,e),w()}),p||(p=history.replaceState,history.replaceState=function(...e){p.apply(this,e),w()}),window.addEventListener("popstate",h),localStorage.setItem(i,"true")}function k(){e=!1,l=!1,d?.disconnect(),d=null,u&&(clearTimeout(u),u=null),f&&(history.pushState=f,f=null),p&&(history.replaceState=p,p=null),window.removeEventListener("popstate",h),document.removeEventListener("keydown",b),function(){const e=document.getElementById(n);e?.remove()}(),document.querySelectorAll('[data-accessify-tabindex="true"]').forEach(e=>{e.removeAttribute("tabindex"),delete e.dataset.accessifyTabindex}),function(){const e=document.getElementById(t);e?.remove()}();const r=document.getElementById(a);r?.remove(),localStorage.removeItem(i)}return{id:"keyboard-nav",name:()=>"Keyboard Navigation",description:"Enhanced keyboard navigation with skip links, heading/landmark jumping, and shortcut help",icon:"keyboard-nav",category:"motor",activate:x,deactivate:k,getState:()=>({id:"keyboard-nav",enabled:e}),setState:e=>{e.enabled?x():k()}}}},Symbol.toStringTag,{value:"Module"})),zr=Object.freeze(Object.defineProperty({__proto__:null,default:function(){let e=!1;const t="accessify-link-highlight",n="accessify-link-highlight";function a(){e=!0,function(){let e=document.getElementById(t);e||(e=document.createElement("style"),e.id=t,document.head.appendChild(e)),e.textContent=`\n /* accessify link highlighting */\n a[href] {\n text-decoration: underline !important;\n text-decoration-thickness: 3px !important;\n text-underline-offset: 3px !important;\n text-decoration-color: #1a73e8 !important;\n background-color: rgba(26, 115, 232, 0.1) !important;\n padding: 2px 4px !important;\n border-radius: 2px !important;\n transition: background-color 0.15s ease !important;\n }\n\n a[href]:hover {\n background-color: rgba(26, 115, 232, 0.25) !important;\n }\n\n a[href]:visited {\n text-decoration-color: #681da8 !important;\n background-color: rgba(104, 29, 168, 0.1) !important;\n }\n\n a[href]:visited:hover {\n background-color: rgba(104, 29, 168, 0.25) !important;\n }\n\n /* External link indicator */\n a[href^="http"]:not([href*="${"undefined"!=typeof window?window.location.hostname:""}"]):after {\n content: " \\2197";\n font-size: 0.8em;\n vertical-align: super;\n }\n `}(),localStorage.setItem(n,"true")}function i(){e=!1,function(){const e=document.getElementById(t);e?.remove()}(),localStorage.removeItem(n)}return{id:"link-highlight",name:()=>"Link Highlight",description:"Highlight all links with thick underlines and background colors",icon:"link-highlight",category:"visual",activate:a,deactivate:i,getState:()=>({id:"link-highlight",enabled:e}),setState:e=>{e.enabled?a():i()}}}},Symbol.toStringTag,{value:"Module"})),Lr={height:8,opacity:.3},Pr=Object.freeze(Object.defineProperty({__proto__:null,default:function(){let e=!1,t=null,n=0,a={...Lr};const i="accessify-reading-guide";function r(e){n=e.clientY,c()}function o(e){e.touches.length>0&&(n=e.touches[0].clientY,c())}function s(a){e&&t&&("ArrowUp"===a.key?(a.preventDefault(),n=Math.max(0,n-10),c()):"ArrowDown"===a.key&&(a.preventDefault(),n=Math.min(window.innerHeight,n+10),c()))}function c(){t&&(t.style.top=n-a.height/2+"px")}return{id:"reading-guide",name:()=>"Reading Guide",description:"Horizontal ruler that follows your cursor for easier reading",icon:"reading-guide",category:"cognitive",activate:function(){e=!0;const l=localStorage.getItem(i);if(l)try{const e=JSON.parse(l);a={height:Math.min(60,Math.max(2,e.height??Lr.height)),opacity:Math.min(1,Math.max(.1,e.opacity??Lr.opacity))}}catch{a={...Lr}}t=function(){const e=document.createElement("div");return e.id="accessify-reading-guide",e.setAttribute("role","presentation"),e.setAttribute("aria-hidden","true"),Object.assign(e.style,{position:"fixed",left:"0",width:"100%",height:`${a.height}px`,backgroundColor:`rgba(255, 255, 0, ${a.opacity})`,pointerEvents:"none",zIndex:"2147483646",top:"50%",transition:"top 0.05s linear",boxShadow:"0 0 4px rgba(0,0,0,0.2)"}),e}(),document.documentElement.appendChild(t),n=window.innerHeight/2,c(),document.addEventListener("mousemove",r,{passive:!0}),document.addEventListener("touchmove",o,{passive:!0}),document.addEventListener("keydown",s)},deactivate:function(){e=!1,document.removeEventListener("mousemove",r),document.removeEventListener("touchmove",o),document.removeEventListener("keydown",s),t&&(t.remove(),t=null),localStorage.removeItem(i)},getState:()=>({id:"reading-guide",enabled:e,value:{...a}}),setState:e=>{a={height:Math.min(60,Math.max(2,e.height??a.height)),opacity:Math.min(1,Math.max(.1,e.opacity??a.opacity))},localStorage.setItem(i,JSON.stringify(a)),t&&(t.style.height=`${a.height}px`,t.style.backgroundColor=`rgba(255, 255, 0, ${a.opacity})`,c())}}}},Symbol.toStringTag,{value:"Module"})),Hr=Object.freeze(Object.defineProperty({__proto__:null,default:function(){let e=!1,t=null,n=null,a=120;function i(e){if(!t||!n)return;const i=e.clientY,r=a/2,o=Math.max(0,i-r),s=Math.max(0,window.innerHeight-i-r);t.style.height=o+"px",n.style.height=s+"px"}function r(e){if(t&&n&&("ArrowUp"===e.key||"ArrowDown"===e.key)){const e=document.activeElement;if(!e)return;const i=e.getBoundingClientRect(),r=i.top+i.height/2,o=a/2;t.style.height=Math.max(0,r-o)+"px",n.style.height=Math.max(0,window.innerHeight-r-o)+"px"}}return{id:"reading-mask",name:()=>"Reading Mask",description:"Focus window that dims surrounding content",icon:"reading-mask",category:"motor",activate:function(){e=!0,function(){t=document.createElement("div"),n=document.createElement("div");const e="\n position: fixed; left: 0; right: 0; z-index: 999990;\n background: rgba(0, 0, 0, 0.65); pointer-events: none;\n transition: top 80ms ease, bottom 80ms ease, height 80ms ease;\n ";t.setAttribute("style",e+"top: 0;"),t.setAttribute("aria-hidden","true"),t.id="accessify-mask-top",n.setAttribute("style",e+"bottom: 0;"),n.setAttribute("aria-hidden","true"),n.id="accessify-mask-bottom",document.body.appendChild(t),document.body.appendChild(n)}(),document.addEventListener("mousemove",i),document.addEventListener("keydown",r)},deactivate:function(){e=!1,document.removeEventListener("mousemove",i),document.removeEventListener("keydown",r),t?.remove(),n?.remove(),t=null,n=null},getState:()=>({id:"reading-mask",enabled:e,value:a}),setState:e=>{a=Math.min(400,Math.max(60,e))}}}},Symbol.toStringTag,{value:"Module"})),Nr=Object.freeze(Object.defineProperty({__proto__:null,default:function(){let e=!1;const t="a11y-stop-animations",n="accessify-animation-stop";let a=null,i=null,r=null,o=null,s=null,c=[],l=new Map;function d(){try{const e=document.getAnimations?.();if(!e)return;for(const t of e)try{t.finish()}catch{try{t.cancel()}catch{}}}catch{}}function u(){const e=document.querySelectorAll("*");for(const t of e){if("SCRIPT"===t.tagName||"STYLE"===t.tagName||"NOSCRIPT"===t.tagName||"META"===t.tagName||"LINK"===t.tagName)continue;if(t.closest("#accessify-root")||t.closest("accessify-widget"))continue;if(t.dataset.a11yOrigStyle)continue;const e=window.getComputedStyle(t);if("none"===e.display)continue;const n=t.style;let a=!1;const i={},r=parseFloat(e.opacity);r<.1&&""!==n.opacity?(i.opacity=n.opacity,t.style.opacity="1",a=!0):r<.1&&t.hasAttribute("data-framer-appear-id")&&(i.opacity=n.opacity||"",t.style.opacity="1",a=!0),n.transform&&/translate[XY]\([^0]/.test(n.transform)&&(i.transform=n.transform,t.style.transform="none",a=!0),"hidden"===n.visibility&&(i.visibility=n.visibility,t.style.visibility="visible",a=!0),n.clipPath&&"none"!==n.clipPath&&(i.clipPath=n.clipPath,t.style.clipPath="none",a=!0),a&&(t.dataset.a11yOrigStyle=JSON.stringify(i))}}function f(){document.querySelectorAll("[style]").forEach(e=>{if(e.closest("#accessify-root")||e.closest("accessify-widget"))return;if(e.dataset.a11yFrozenStyle)return;const t=e.style;(t.transform||t.opacity)&&(e.dataset.a11yFrozenStyle=JSON.stringify({transform:t.transform||"",opacity:t.opacity||""}))}),r||(r=()=>{e&&document.querySelectorAll("[data-a11y-frozen-style]").forEach(e=>{try{const t=JSON.parse(e.dataset.a11yFrozenStyle||"{}");t.transform&&e.style.transform!==t.transform&&(e.style.transform=t.transform)}catch{}})},window.addEventListener("scroll",r,{passive:!0,capture:!0}))}function p(){document.querySelectorAll("video").forEach(e=>{e.paused||(e.dataset.a11yPaused="true",e.pause(),c.push(e))})}function h(e){if(!(e.currentSrc||e.src||"").toLowerCase().match(/\.gif(\?|$)/i))return;if(l.has(e))return;const t=()=>{try{const t=e.naturalWidth||e.width,n=e.naturalHeight||e.height;if(0===t||0===n)return;const a=document.createElement("canvas");a.width=t,a.height=n;const i=a.getContext("2d");if(!i)return;i.drawImage(e,0,0),l.set(e,e.src),e.src=a.toDataURL("image/png")}catch{}};e.complete&&e.naturalWidth>0?t():e.addEventListener("load",t,{once:!0})}function g(){document.querySelectorAll("img").forEach(h)}function m(){document.querySelectorAll("svg").forEach(e=>{try{e.pauseAnimations?.()}catch{}})}function y(){if(!e){e=!0,s||(s=Element.prototype.animate,Element.prototype.animate=function(t,n){if(!e)return s.call(this,t,n);let a;"number"==typeof n?a={duration:.001,fill:"forwards"}:(a={...n||{},duration:.001,delay:0,iterations:1,fill:"forwards"},delete a.iterationStart,delete a.endDelay);const i=s.call(this,t,a);try{i.finish()}catch{}return i}),function(){if(document.getElementById(t))return;const e=document.createElement("style");e.id=t,e.textContent="\n *, *::before, *::after {\n animation-duration: 0.001ms !important;\n animation-iteration-count: 1 !important;\n animation-delay: 0s !important;\n animation-fill-mode: forwards !important;\n transition-duration: 0.001ms !important;\n transition-delay: 0s !important;\n scroll-behavior: auto !important;\n animation-timeline: auto !important;\n scroll-timeline: none !important;\n }\n ",document.head.appendChild(e)}(),d(),function(){const e=window.gsap;if(e?.globalTimeline)try{e.globalTimeline.timeScale(0),window._a11yGsapPatched=!0}catch{}}(),u(),f(),p(),o||(o=HTMLVideoElement.prototype.play,HTMLVideoElement.prototype.play=function(){return e?Promise.resolve():o.call(this)}),g(),m(),document.querySelectorAll("marquee").forEach(e=>{try{e.stop?.()}catch{}}),a||(a=new MutationObserver(t=>{if(!e)return;let n=!1;for(const e of t)if(e.addedNodes.length>0){n=!0;break}n&&(d(),u(),p(),g(),m())}),a.observe(document.body,{childList:!0,subtree:!0})),i||(i=setInterval(()=>{e&&d()},500));for(const t of[50,200,500,1e3,2e3,4e3])setTimeout(()=>{e&&(d(),u(),f(),p(),g())},t);localStorage.setItem(n,"true")}}function v(){e=!1,i&&(clearInterval(i),i=null),a?.disconnect(),a=null,s&&(Element.prototype.animate=s,s=null),r&&(window.removeEventListener("scroll",r,!0),r=null),document.querySelectorAll("[data-a11y-frozen-style]").forEach(e=>{delete e.dataset.a11yFrozenStyle}),function(){const e=window.gsap;if(window._a11yGsapPatched&&e?.globalTimeline)try{e.globalTimeline.timeScale(1),delete window._a11yGsapPatched}catch{}}(),document.querySelectorAll("[data-a11y-orig-style]").forEach(e=>{try{const t=JSON.parse(e.dataset.a11yOrigStyle||"{}");for(const[n,a]of Object.entries(t))""===a?e.style.removeProperty(n):e.style[n]=a}catch{}delete e.dataset.a11yOrigStyle}),document.querySelectorAll("marquee").forEach(e=>{try{e.start?.()}catch{}}),document.querySelectorAll("svg").forEach(e=>{try{e.unpauseAnimations?.()}catch{}}),function(){for(const[e,t]of l)try{e.src=t}catch{}l.clear()}(),o&&(HTMLVideoElement.prototype.play=o,o=null),document.querySelectorAll("video[data-a11y-paused]").forEach(e=>{try{e.play()}catch{}delete e.dataset.a11yPaused}),c=[],document.getElementById(t)?.remove(),localStorage.removeItem(n)}return{id:"animation-stop",name:()=>"Stop Animations",description:"Pause all animations, transitions, and auto-playing videos (WCAG 2.3.1)",icon:"animation-stop",category:"visual",activate:y,deactivate:v,getState:()=>({id:"animation-stop",enabled:e}),setState:e=>{e.enabled?y():v()}}}},Symbol.toStringTag,{value:"Module"})),jr=Object.freeze(Object.defineProperty({__proto__:null,default:function(){let e=!1;const t="accessify-hide-images";let n=new Map,a=null;return{id:"hide-images",name:()=>"Hide Images",description:"Remove images for distraction-free reading",icon:"hide-images",category:"visual",activate:function(){e=!0;let i=document.getElementById(t);i||(i=document.createElement("style"),i.id=t,document.head.appendChild(i)),i.textContent='\n /* Standard image elements */\n img, picture, svg:not([aria-hidden="true"]), video, canvas,\n [role="img"], figure {\n opacity: 0 !important;\n pointer-events: none !important;\n }\n\n /* CSS background-images (inline styles) */\n [style*="background-image"] {\n background-image: none !important;\n }\n\n /* Lazy-load images that haven\'t loaded yet */\n img[data-src], img[data-lazy-src], img[data-original],\n img[loading="lazy"] {\n opacity: 0 !important;\n pointer-events: none !important;\n }\n ',function(){const e=document.querySelectorAll("*");for(const t of e){if(t.closest("#accessify-root"))continue;const e=getComputedStyle(t);e.backgroundImage&&"none"!==e.backgroundImage&&(n.set(t,t.style.backgroundImage),t.style.setProperty("background-image","none","important"))}}(),a||(a=new MutationObserver(t=>{if(e)for(const e of t)for(const t of e.addedNodes){if(!(t instanceof HTMLElement))continue;if(t.closest("#accessify-root"))continue;const e=getComputedStyle(t);e.backgroundImage&&"none"!==e.backgroundImage&&(n.set(t,t.style.backgroundImage),t.style.setProperty("background-image","none","important")),t.querySelectorAll("*").forEach(e=>{if(e.closest("#accessify-root"))return;const t=getComputedStyle(e);t.backgroundImage&&"none"!==t.backgroundImage&&(n.set(e,e.style.backgroundImage),e.style.setProperty("background-image","none","important"))})}}),a.observe(document.body,{childList:!0,subtree:!0}))},deactivate:function(){e=!1,a?.disconnect(),a=null,function(){for(const[e,t]of n)try{e.style.backgroundImage=t}catch{}n.clear()}(),document.getElementById(t)?.remove()},getState:()=>({id:"hide-images",enabled:e})}}},Symbol.toStringTag,{value:"Module"}));function Or(e){return`data:image/svg+xml;base64,${btoa(`<svg xmlns="http://www.w3.org/2000/svg" width="${e}" height="${e}" viewBox="0 0 ${e} ${e}">\n <defs>\n <filter id="shadow" x="-20%" y="-20%" width="140%" height="140%">\n <feDropShadow dx="1" dy="1" stdDeviation="1" flood-color="#000" flood-opacity="0.5"/>\n </filter>\n </defs>\n <g filter="url(#shadow)">\n <path d="M ${.15*e} ${.05*e} L ${.15*e} ${.75*e} L ${.35*e} ${.6*e} L ${.55*e} ${.9*e} L ${.65*e} ${.85*e} L ${.45*e} ${.55*e} L ${.7*e} ${.5*e} Z"\n fill="white" stroke="black" stroke-width="${.04*e}" stroke-linejoin="round"/>\n </g>\n </svg>`)}`}const Br=Object.freeze(Object.defineProperty({__proto__:null,default:function(){let e=!1,t="48";const n="accessify-big-cursor",a="accessify-big-cursor",i={48:Or(48),64:Or(64)};function r(e){let t=document.getElementById(n);t||(t=document.createElement("style"),t.id=n,document.head.appendChild(t)),t.textContent=function(e){const t=parseInt(e,10),n=Math.round(.15*t);return`\n /* accessify big cursor */\n html, html * {\n cursor: url('${i[e]}') ${n} ${n}, auto !important;\n }\n html a, html a *, html button, html button *,\n html input[type="submit"], html input[type="button"],\n html [role="button"], html [role="button"] * {\n cursor: url('${i[e]}') ${n} ${n}, pointer !important;\n }\n `}(e)}return{id:"big-cursor",name:()=>"Big Cursor",description:"Enlarge the mouse cursor for easier visibility",icon:"big-cursor",category:"motor",activate:function(){e=!0;const n=localStorage.getItem(a);t="64"===n?"64":"48",r(t)},deactivate:function(){e=!1,function(){const e=document.getElementById(n);e?.remove()}(),localStorage.removeItem(a)},getState:()=>({id:"big-cursor",enabled:e,value:t}),setState:n=>{t="64"===n?"64":"48",e&&r(t),localStorage.setItem(a,t)}}}},Symbol.toStringTag,{value:"Module"})),Wr=Object.freeze(Object.defineProperty({__proto__:null,default:function(){let e=!1,t=null;const n="accessify-page-structure";let a=null,i=null,r=null,o=null;const s=()=>p();let c="";function l(){return mi()}function d(){t=document.createElement("div"),t.id=n,t.setAttribute("role","dialog"),t.setAttribute("aria-label",vi("pageStructure.title",l()));const e=function(){const e=[];return document.querySelectorAll("h1, h2, h3, h4, h5, h6").forEach(t=>{if(t.closest("#accessify-root"))return;const n=t.textContent?.trim()||"";n&&e.push({tag:t.tagName.toLowerCase(),text:n,el:t})}),e}(),a=function(){const e=[];return document.querySelectorAll(["main","nav","aside","header","footer","section[aria-label]","section[aria-labelledby]",'[role="main"]','[role="navigation"]','[role="complementary"]','[role="banner"]','[role="contentinfo"]','[role="search"]'].join(",")).forEach(t=>{if(t.closest("#accessify-root"))return;const n=t.getAttribute("role")||t.tagName.toLowerCase(),a=t.getAttribute("aria-label")||t.getAttribute("aria-labelledby")||n;e.push({role:n,label:a,el:t})}),e}(),i={h1:"0",h2:"12px",h3:"24px",h4:"36px",h5:"48px",h6:"60px"};let r=`\n <style>\n #${n} {\n position: fixed; top: 50%; left: 50%;\n transform: translate(-50%, -50%);\n z-index: 999998;\n background: #fff; color: #1a1a1a;\n border-radius: 12px; box-shadow: 0 8px 32px rgba(0,0,0,0.2);\n padding: 24px; width: 400px; max-height: 80vh;\n overflow-y: auto; font-family: system-ui, sans-serif;\n font-size: 14px; line-height: 1.5;\n }\n #${n} h3 { margin: 0 0 12px; font-size: 16px; }\n #${n} .ps-section { margin-bottom: 16px; }\n #${n} .ps-label { font-size: 11px; text-transform: uppercase; letter-spacing: 0.5px; color: #888; margin-bottom: 6px; }\n #${n} .ps-item {\n display: block; width: 100%; text-align: left;\n padding: 6px 8px; border: none; background: none;\n cursor: pointer; border-radius: 6px; font-size: 13px;\n color: #1a1a1a; font-family: inherit;\n }\n #${n} .ps-item:hover { background: #f0f0f2; }\n #${n} .ps-item:focus-visible { outline: 2px solid #0055CC; outline-offset: 1px; }\n #${n} .ps-tag { color: #888; font-size: 11px; margin-right: 6px; }\n #${n} .ps-close {\n position: absolute; top: 12px; right: 12px;\n background: none; border: none; cursor: pointer;\n font-size: 18px; color: #888; padding: 4px 8px; border-radius: 4px;\n }\n #${n} .ps-close:hover { background: #f0f0f2; }\n @media (prefers-color-scheme: dark) {\n #${n} { background: #1a1a1a; color: #f0f0f0; }\n #${n} .ps-item { color: #f0f0f0; }\n #${n} .ps-item:hover { background: #2a2a2e; }\n #${n} .ps-close { color: #aaa; }\n #${n} .ps-close:hover { background: #2a2a2e; }\n }\n </style>\n <button class="ps-close" aria-label="${vi("widget.close",l())}">&times;</button>\n <h3>${vi("pageStructure.title",l())}</h3>\n `;e.length>0&&(r+=`<div class="ps-section"><div class="ps-label">${vi("pageStructure.headings",l())}</div>`,e.forEach((e,t)=>{r+=`<button class="ps-item" data-type="heading" data-index="${t}" style="padding-left:${i[e.tag]||"0"}">\n <span class="ps-tag">${e.tag}</span>${u(e.text.slice(0,80))}\n </button>`}),r+="</div>"),a.length>0&&(r+=`<div class="ps-section"><div class="ps-label">${vi("pageStructure.landmarks",l())}</div>`,a.forEach((e,t)=>{r+=`<button class="ps-item" data-type="landmark" data-index="${t}">\n <span class="ps-tag">${u(e.role)}</span>${u(e.label.slice(0,60))}\n </button>`}),r+="</div>"),0===e.length&&0===a.length&&(r+=`<p style="color:#888">${vi("pageStructure.empty",l())}</p>`),t.innerHTML=r,t.addEventListener("click",t=>{const n=t.target.closest(".ps-item");if(n){const t=n.dataset.type,i=parseInt(n.dataset.index||"0",10);let r;"heading"===t?r=e[i]?.el:"landmark"===t&&(r=a[i]?.el),r&&(r.scrollIntoView({behavior:"smooth",block:"center"}),r.focus({preventScroll:!0}))}t.target.closest(".ps-close")&&h()}),document.body.appendChild(t);const o=t.querySelector(".ps-item, .ps-close");o?.focus()}function u(e){return e.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}function f(){const e=document.querySelectorAll("h1, h2, h3, h4, h5, h6");let t="";return e.forEach(e=>{t+=e.textContent?.trim().slice(0,20)||""}),t}function p(){e&&t&&(i&&clearTimeout(i),i=setTimeout(()=>{const e=f();e!==c&&(c=e,t?.remove(),d())},300))}function h(){e=!1,a?.disconnect(),a=null,i&&(clearTimeout(i),i=null),r&&(history.pushState=r,r=null),o&&(history.replaceState=o,o=null),window.removeEventListener("popstate",s),t?.remove(),t=null}return{id:"page-structure",name:()=>"Page Structure",description:"View headings and landmarks for quick navigation",icon:"page-structure",category:"motor",activate:function(){e=!0,c=f(),d(),function(){if(a)return;a=new MutationObserver(()=>p());const e=document.querySelector("main")||document.body;a.observe(e,{childList:!0,subtree:!0})}(),r||(r=history.pushState,history.pushState=function(...e){r.apply(this,e),p()}),o||(o=history.replaceState,history.replaceState=function(...e){o.apply(this,e),p()}),window.addEventListener("popstate",s)},deactivate:h,getState:()=>({id:"page-structure",enabled:e})}}},Symbol.toStringTag,{value:"Module"})),Kr={speed:1},Dr=Object.freeze(Object.defineProperty({__proto__:null,default:function(){let e=!1,t={...Kr},n=null,a=null,i=!1,r=!1,o=!0,s=[],c=0,l=null,d="en";const u="accessify-tts",f="accessify-tts-controls",p="accessify-tts-styles",h="accessify-tts-highlight";function g(){speechSynthesis.cancel(),i=!1,r=!1,s=[],c=0,v(),x()}function m(e,n){if(g(),!e.trim())return;var o;n&&(o=n,v(),o.classList.add(h),a=o);const u=function(e){const t=e.match(/[^.!?]*[.!?]+[\s]?|[^.!?]+$/g);if(!t)return[e];const n=[];let a="";for(const i of t){const e=i.trim();e&&(a+=(a?" ":"")+e,(a.length>80||/[.!?]$/.test(a))&&(n.push(a),a=""))}return a.trim()&&n.push(a.trim()),n.length>0?n:[e]}(e).slice(0,50);s=u.map(e=>{const n=new SpeechSynthesisUtterance(e);return n.rate=t.speed,n.lang=d,l&&(n.voice=l),n}),c=0,i=!0,r=!1,x(),y()}function y(){if(c>=s.length)return i=!1,r=!1,v(),void x();const e=s[c];let t=null,n=!1;function a(){n||(n=!0,t&&(clearTimeout(t),t=null))}t=setTimeout(()=>{n||(a(),speechSynthesis.cancel(),c++,c<s.length&&i?setTimeout(()=>y(),100):(i=!1,r=!1,v(),x()))},2e4),e.onend=()=>{a(),c++,c<s.length&&i?setTimeout(()=>y(),50):(i=!1,r=!1,v(),x())},e.onerror=e=>{a(),"interrupted"!==e.error&&"canceled"!==e.error&&(c++,c<s.length&&i)?setTimeout(()=>y(),100):(i=!1,r=!1,v(),x())},speechSynthesis.speak(e)}function v(){a&&(a.classList.remove(h),a=null),document.querySelectorAll(`.${h}`).forEach(e=>e.classList.remove(h))}function b(t){if(!e||!o)return;const a=t.target;if(!a)return;if(n?.contains(a))return;const i=document.getElementById("accessify-root");if(i&&(i===a||i.contains(a)))return;const r=a.tagName;if("A"===r||"BUTTON"===r||"INPUT"===r||"SELECT"===r||"TEXTAREA"===r||a.closest('a, button, input, select, textarea, [role="button"]'))return;t.preventDefault();const s=function(e){if(w(e).trim().length>0)return e;let t=e;for(;t&&t!==document.body;){if(w(t).trim().length>0)return t;t=t.parentElement}return null}(a);if(!s)return;const c=w(s);c.trim()&&m(c,s)}function w(e){return(e.innerText||e.textContent||"").trim()}function x(){if(!n)return;const e=n.querySelector(".accessify-tts-play"),t=n.querySelector(".accessify-tts-hint");e&&(i&&!r?(e.innerHTML='<svg width="16" height="16" viewBox="0 0 24 24" fill="currentColor" stroke="none" aria-hidden="true"><rect x="5" y="3" width="4" height="18"/><rect x="15" y="3" width="4" height="18"/></svg>',e.setAttribute("aria-label","Pause"),e.title="Pause"):i&&r?(e.innerHTML='<svg width="16" height="16" viewBox="0 0 24 24" fill="currentColor" stroke="none" aria-hidden="true"><polygon points="6,3 20,12 6,21"/></svg>',e.setAttribute("aria-label","Resume"),e.title="Resume"):(e.innerHTML='<svg width="16" height="16" viewBox="0 0 24 24" fill="currentColor" stroke="none" aria-hidden="true"><polygon points="6,3 20,12 6,21"/></svg>',e.setAttribute("aria-label","Play / Pause"),e.title="Play / Pause")),t&&(t.textContent=i&&!r?"Speaking...":r?"Paused":"Click any text to read it aloud")}function k(){localStorage.setItem(u,JSON.stringify({speed:t.speed}))}return{id:"tts",name:()=>"Text-to-Speech",description:"Click any text to hear it read aloud with adjustable speed",icon:"tts",category:"cognitive",activate:function(){e||(e=!0,function(){const e=localStorage.getItem(u);if(e)try{const n=JSON.parse(e);t.speed=Math.min(2,Math.max(.5,n.speed??Kr.speed))}catch{t={...Kr}}}(),d=function(){const e=document.documentElement.lang;if(e)return e.toLowerCase();const t=document.querySelector('meta[http-equiv="content-language"]');return t?.content?t.content.toLowerCase():"en"}(),function(e=3e3){return new Promise(t=>{if(speechSynthesis.getVoices().length>0)return void t();let n=!1;const a=()=>{n||(n=!0,t())};speechSynthesis.addEventListener("voiceschanged",a,{once:!0}),setTimeout(a,e)})}().then(()=>{l=function(e){const t=speechSynthesis.getVoices();if(0===t.length)return null;const n=e.split("-")[0];if("de"===n){const e=t.find(e=>e.lang.toLowerCase().startsWith("de-de")&&!1===e.localService);if(e)return e;const n=t.find(e=>e.lang.toLowerCase().startsWith("de-de"));if(n)return n;const a=t.find(e=>e.lang.toLowerCase().startsWith("de"));if(a)return a}return t.find(t=>t.lang.toLowerCase()===e)||t.find(e=>e.lang.toLowerCase().startsWith(n))||t[0]||null}(d)}),function(){let e=document.getElementById(p);e||(e=document.createElement("style"),e.id=p,document.head.appendChild(e)),e.textContent=`\n /* accessify TTS styles */\n .${h} {\n background-color: rgba(78, 168, 222, 0.15) !important;\n outline: 2px solid rgba(78, 168, 222, 0.5) !important;\n outline-offset: 2px !important;\n border-radius: 3px !important;\n transition: background-color 0.2s ease, outline-color 0.2s ease !important;\n }\n\n #${f} .accessify-tts-btn {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n width: 28px;\n height: 28px;\n padding: 0;\n margin: 0;\n border: 1px solid rgba(255,255,255,0.15);\n border-radius: 6px;\n background: rgba(255,255,255,0.08);\n color: #f0f0f0;\n cursor: pointer;\n transition: background 0.15s ease, border-color 0.15s ease;\n line-height: 1;\n }\n\n #${f} .accessify-tts-btn:hover {\n background: rgba(255,255,255,0.18);\n border-color: rgba(255,255,255,0.3);\n }\n\n #${f} .accessify-tts-btn:focus-visible {\n outline: 2px solid #4ea8de;\n outline-offset: 1px;\n }\n\n #${f} .accessify-tts-btn:active {\n background: rgba(255,255,255,0.25);\n }\n `}(),n=function(){const e=document.createElement("div");e.id=f,e.setAttribute("role","toolbar"),e.setAttribute("aria-label","Text-to-Speech controls"),Object.assign(e.style,{position:"fixed",top:"0",left:"50%",transform:"translateX(-50%)",zIndex:"2147483646",display:"flex",alignItems:"center",gap:"6px",padding:"6px 14px",background:"#1a1a2e",color:"#f0f0f0",borderRadius:"0 0 10px 10px",boxShadow:"0 4px 16px rgba(0,0,0,0.3)",fontFamily:"system-ui, -apple-system, sans-serif",fontSize:"13px",lineHeight:"1",userSelect:"none",transition:"opacity 0.2s ease"});const n=document.createElement("button");n.className="accessify-tts-btn accessify-tts-play",n.setAttribute("aria-label","Play / Pause"),n.title="Play / Pause",n.innerHTML='<svg width="16" height="16" viewBox="0 0 24 24" fill="currentColor" stroke="none" aria-hidden="true"><polygon points="6,3 20,12 6,21"/></svg>',n.addEventListener("click",()=>{i&&i&&(r?(speechSynthesis.resume(),r=!1):(speechSynthesis.pause(),r=!0),x())});const a=document.createElement("button");a.className="accessify-tts-btn accessify-tts-stop",a.setAttribute("aria-label","Stop"),a.title="Stop",a.innerHTML='<svg width="16" height="16" viewBox="0 0 24 24" fill="currentColor" stroke="none" aria-hidden="true"><rect x="4" y="4" width="16" height="16" rx="2"/></svg>',a.addEventListener("click",()=>{g()});const o=document.createElement("div");Object.assign(o.style,{display:"flex",alignItems:"center",gap:"4px",marginLeft:"4px"});const c=document.createElement("label");c.textContent="Speed",c.setAttribute("for","accessify-tts-speed"),Object.assign(c.style,{fontSize:"11px",opacity:"0.8",whiteSpace:"nowrap"});const l=document.createElement("input");l.type="range",l.id="accessify-tts-speed",l.min="0.5",l.max="2",l.step="0.1",l.value=String(t.speed),l.setAttribute("aria-label","Speech speed"),Object.assign(l.style,{width:"70px",accentColor:"#4ea8de",cursor:"pointer"});const d=document.createElement("span");d.className="accessify-tts-speed-val",d.textContent=`${t.speed.toFixed(1)}x`,Object.assign(d.style,{fontSize:"11px",minWidth:"30px",textAlign:"center",opacity:"0.8"}),l.addEventListener("input",()=>{const e=parseFloat(l.value);t.speed=e,d.textContent=`${e.toFixed(1)}x`,k();for(const t of s)t.rate=e}),o.appendChild(c),o.appendChild(l),o.appendChild(d);const u=document.createElement("div");Object.assign(u.style,{width:"1px",height:"18px",background:"rgba(255,255,255,0.2)",margin:"0 4px"});const p=document.createElement("span");p.className="accessify-tts-hint",p.textContent="Click any text to read it aloud",Object.assign(p.style,{fontSize:"11px",opacity:"0.6",whiteSpace:"nowrap"});const h=document.createElement("span");return Object.assign(h.style,{position:"absolute",width:"1px",height:"1px",padding:"0",margin:"-1px",overflow:"hidden",clip:"rect(0,0,0,0)",whiteSpace:"nowrap",border:"0"}),h.textContent="For full screen reader support, use NVDA, JAWS, or VoiceOver",e.appendChild(n),e.appendChild(a),e.appendChild(u),e.appendChild(o),e.appendChild(u.cloneNode(!0)),e.appendChild(p),e.appendChild(h),e}(),document.documentElement.appendChild(n),o=!0,document.addEventListener("click",b,!0))},deactivate:function(){e=!1,g(),document.removeEventListener("click",b,!0),o=!1,n&&(n.remove(),n=null),v(),function(){const e=document.getElementById(p);e?.remove()}(),l=null},getState:()=>({id:"tts",enabled:e,value:{speed:t.speed}}),setState:e=>{if(void 0!==e.speed){t.speed=Math.min(2,Math.max(.5,e.speed)),k();const a=document.getElementById("accessify-tts-speed");a&&(a.value=String(t.speed));const i=n?.querySelector(".accessify-tts-speed-val");i&&(i.textContent=`${t.speed.toFixed(1)}x`)}}}}},Symbol.toStringTag,{value:"Module"})),Fr=Object.freeze(Object.defineProperty({__proto__:null,default:function(e,t="de"){let n=!1,a="einfache",i=[],r=null,o=null,s=0,c=null,l=null;const d=new Map,u="accessify-text-simplify",f="data-accessify-simplified",p="data-accessify-original",h="data-accessify-block-hash",g="blocks";function m(){return new Promise((e,t)=>{const n=indexedDB.open("accessify-simplify-cache",1);n.onupgradeneeded=()=>{const e=n.result;e.objectStoreNames.contains(g)||e.createObjectStore(g)},n.onsuccess=()=>e(n.result),n.onerror=()=>t(n.error)})}async function y(e){try{const t=await m();return new Promise(n=>{const a=t.transaction(g,"readonly").objectStore(g).get(e);a.onsuccess=()=>n(a.result??null),a.onerror=()=>n(null)})}catch{return null}}async function v(e,t){try{(await m()).transaction(g,"readwrite").objectStore(g).put(t,e)}catch{}}function b(e){return`${window.location.origin+window.location.pathname}:simplify:${a}:${e}`}function w(e){const t=e.replace(/\s+/g," ").trim().toLowerCase();let n=5381;for(let a=0;a<t.length;a++)n=(n<<5)+n+t.charCodeAt(a)&2147483647;return n.toString(36)}function x(e,t){const n=e.replace(/\s+/g," ").trim(),a=t.replace(/\s+/g," ").trim();if(n===a)return 0;if(n.length>500||a.length>500){const e=Math.abs(n.length-a.length);if(e>3)return e;let t=e;const i=Math.min(n.length,a.length);for(let r=0;r<i;r++)if(n[r]!==a[r]&&t++,t>3)return t;return t}const i=n.length,r=a.length;if(Math.abs(i-r)>3)return Math.abs(i-r);const o=Array.from({length:r+1},(e,t)=>t);for(let s=1;s<=i;s++){let e=o[0];o[0]=s;for(let t=1;t<=r;t++){const i=o[t];o[t]=n[s-1]===a[t-1]?e:1+Math.min(e,o[t],o[t-1]),e=i}if(Math.min(...o)>3)return 4}return o[r]}function k(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_TEXT,null);let a;for(;a=n.nextNode();){const e=a.nodeValue?.trim();e&&e.length>0&&t.push(a)}return t}function S(e){return{scrollHeight:e.scrollHeight,clientHeight:e.clientHeight}}function A(e){let t=e;for(;t&&t!==document.body;){const e=getComputedStyle(t),n=e.overflow+" "+e.overflowY,a=n.includes("hidden")||n.includes("clip"),i="none"!==e.maxHeight||"auto"!==e.height&&""!==e.height&&!e.height.includes("%");if(a&&i)return t;t=t.parentElement}return null}function M(e,t){const n=getComputedStyle(e);"none"!==n.maxHeight&&(t.push({el:e,property:"maxHeight",originalValue:e.style.maxHeight}),e.style.maxHeight="none"),(n.overflow.includes("hidden")||n.overflowY.includes("hidden"))&&(t.push({el:e,property:"overflow",originalValue:e.style.overflow}),e.style.overflow="visible");const a=S(e);return a.scrollHeight<=a.clientHeight+2?{safe:!0,patches:t}:(C(t),{safe:!1,patches:[]})}function C(e){for(const t of e)t.el.style[t.property]=t.originalValue}function E(e,t,n){const a=e.innerHTML,r=k(e).map(e=>({node:e,original:e.data}));e.setAttribute("data-accessify-replacing","true"),function(e,t){const n=k(e);if(0===n.length)return;if(1===n.length)return void(n[0].nodeValue=t);const a=t.match(/[^.!?]+[.!?]*\s*/g)||[t],i=n.reduce((e,t)=>e+(t.nodeValue?.trim().length||0),0);if(0===i){n[0].nodeValue=t;for(let e=1;e<n.length;e++)n[e].nodeValue="";return}let r=0;for(let o=0;o<n.length;o++){const e=(n[o].nodeValue?.trim().length||0)/i,t=Math.max(1,Math.round(e*a.length)),s=a.slice(r,r+t).join("");n[o].nodeValue=s||"",r+=t}if(r<a.length){const e=n[n.length-1];e.nodeValue=(e.nodeValue||"")+a.slice(r).join("")}}(e,t);const{safe:o,patches:l}=function(e){const t=[],n=S(e);if(!(n.scrollHeight>n.clientHeight+2)){const n=A(e);if(!n)return{safe:!0,patches:[]};const a=S(n);return a.scrollHeight<=a.clientHeight+2?{safe:!0,patches:[]}:M(n,t)}const a=A(e);return a?M(a,t):{safe:!0,patches:[]}}(e);if(!o){for(const e of r)e.node.parentNode&&(e.node.data=e.original);return setTimeout(()=>e.removeAttribute("data-accessify-replacing"),0),s++,!1}return e.setAttribute(f,"true"),e.setAttribute(p,a),n&&e.setAttribute(h,n),i.push({el:e,originalHtml:a,savedTextNodes:r,ancestorPatches:l}),c?.observe(e),setTimeout(()=>e.removeAttribute("data-accessify-replacing"),0),!0}function T(e){if(e.savedTextNodes.length>0)for(const t of e.savedTextNodes)t.node.parentNode&&(t.node.data=t.original);else e.el.innerHTML=e.originalHtml;e.el.removeAttribute(f),e.el.removeAttribute(p),e.el.removeAttribute(h),C(e.ancestorPatches),c?.unobserve(e.el),i=i.filter(t=>t.el!==e.el)}const _=new Map;function $(e,t,n,i,r){const o=window.location.origin+window.location.pathname;fetch(`${r||"https://accessify-api.accessify.workers.dev"}/v1/cache/persist`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({siteKey:e,url:o,feature:"simplify",variant:a,blockHash:t,originalText:n,result:i})}).catch(e=>{})}function I(e){e.style.opacity="0.5",e.style.transition="opacity 0.3s ease"}function z(e){e.style.opacity="",e.style.transition=""}function L(e,n,a=0){o||(o=document.createElement("div"),o.setAttribute("role","status"),o.setAttribute("aria-live","polite"),Object.assign(o.style,{position:"fixed",bottom:"80px",right:"24px",zIndex:"2147483645",padding:"10px 18px",background:"#1a1a2e",color:"#4ea8de",borderRadius:"10px",boxShadow:"0 4px 20px rgba(0,0,0,0.3)",fontFamily:"system-ui, -apple-system, sans-serif",fontSize:"13px",fontWeight:"600",display:"flex",alignItems:"center",gap:"8px"}),document.body.appendChild(o));const i=Math.round(e/n*100),r=a>0?t.startsWith("de")?` (${a} übersprungen)`:` (${a} skipped)`:"",s=t.startsWith("de")?`Wird vereinfacht... ${e}/${n} (${i}%)${r}`:`Simplifying... ${e}/${n} (${i}%)${r}`;if(o.innerHTML=`<span style="display:inline-block;width:14px;height:14px;border:2px solid rgba(78,168,222,0.3);border-top-color:#4ea8de;border-radius:50%;animation:accessify-autospin 0.6s linear infinite"></span> ${s}`,!document.getElementById("accessify-autospin-style")){const e=document.createElement("style");e.id="accessify-autospin-style",e.textContent="@keyframes accessify-autospin { to { transform: rotate(360deg); } }",document.head.appendChild(e)}}function P(e,n){if(o){const a=n>0?t.startsWith("de")?` (${n} aus Cache)`:` (${n} from cache)`:"",i=s>0?t.startsWith("de")?`, ${s} übersprungen`:`, ${s} skipped`:"",r=t.startsWith("de")?`${e} Textabschnitte vereinfacht${a}${i}`:`${e} text sections simplified${a}${i}`;o.innerHTML=`<span style="color:#22c55e">&#x2713;</span> ${r}`,o.style.color="#22c55e",setTimeout(()=>H(),3e3)}}function H(){o?.remove(),o=null,document.getElementById("accessify-autospin-style")?.remove()}return{id:"text-simplify",name:()=>t.startsWith("de")?"Text vereinfachen":"Simplify Text",description:t.startsWith("de")?"Text in Einfache Sprache umwandeln":"Simplify text for easier understanding",icon:"simplify-text",category:"ai",activate:function(){n||(n=!0,function(){try{const e=localStorage.getItem(u);if(e){const t=JSON.parse(e);"einfache"!==t.level&&"leichte"!==t.level||(a=t.level)}}catch{}}(),async function(){const n=function(){const e=[],t=new Set;return document.querySelectorAll("p, li, td, th, blockquote, figcaption, .hero-subtitle, h1, h2, h3, h4, h5, h6").forEach(n=>{const a=n;if(a.closest("#accessify-root"))return;if(null===a.offsetParent&&"fixed"!==a.style.display)return;if((a.textContent?.trim()||"").length<20)return;if(t.has(a))return;let i=!1;for(const e of t)if(e.contains(a)){i=!0;break}i||(t.add(a),e.push(a))}),e}();if(0===n.length)return;r=new AbortController,i=[],s=0,c||(c=new ResizeObserver(e=>{for(const t of e){const e=t.target;if(!e.hasAttribute(f))continue;const n=i.find(t=>t.el===e);if(!n)continue;const a=A(e);if(a){const e=S(a);e.scrollHeight>e.clientHeight+2&&(T(n),s++)}}})),l||(l=new MutationObserver(e=>{for(const t of e){for(const e of t.removedNodes){if(!(e instanceof HTMLElement))continue;const t=i.findIndex(t=>t.el===e||e.contains(t.el));if(-1!==t){const e=i[t];c?.unobserve(e.el),e.el.removeAttribute(f),e.el.removeAttribute(p),e.el.removeAttribute(h),C(e.ancestorPatches),i.splice(t,1)}}if("characterData"===t.type||"childList"===t.type){const e=t.target instanceof HTMLElement?t.target:t.target.parentElement;if(!e)continue;const n=e.closest(`[${f}]`);if(n){const e=i.find(e=>e.el===n);e&&!n.hasAttribute("data-accessify-replacing")&&(c?.unobserve(e.el),e.el.removeAttribute(f),e.el.removeAttribute(p),e.el.removeAttribute(h),C(e.ancestorPatches),i=i.filter(e=>e.el!==n))}}}}),l.observe(document.body,{childList:!0,subtree:!0,characterData:!0}));const{siteKey:d,proxyUrl:u}=function(){const e=document.querySelector("script[data-site-key]");return{siteKey:e?.getAttribute("data-site-key")||window.Accessify?.config?.siteKey||void 0,proxyUrl:e?.getAttribute("data-proxy-url")||window.Accessify?.config?.proxyUrl||void 0}}();let g=0,m=n;const k=new Set;if(d){L(0,n.length);const e=await async function(e,t){const n=`${e}:${a}`;if(_.has(n))return _.get(n);const i=`${t||"https://accessify-api.accessify.workers.dev"}/v1/manifest?siteKey=${e}&url=${encodeURIComponent(window.location.origin+window.location.pathname)}&feature=simplify&variant=${a}`;try{const e=await fetch(i,{cache:"no-cache"});if(!e.ok)return _.set(n,null),null;const t=await e.json(),a=t.blocks?.length?t:null;return _.set(n,a),a}catch{return _.set(n,null),null}}(d,u);if(e?.blocks?.length){const t=function(e,t){const n=[],a=[],i=[],r=new Map,o=new Map;for(const s of e.blocks)r.set(s.blockHash,s),s.selector&&o.set(s.selector,s);for(const s of t){const e=s.textContent?.trim()||"",t=w(e),c=r.get(t);if(c?.result){E(s,c.result,t)?n.push(s):a.push(s);continue}let l;for(const[n,a]of o)try{if(s.matches(n)||s.closest(n)===s){l=a;break}}catch{}l?.result&&l.originalText?x(e,l.originalText)<=3?E(s,l.result,t)?n.push(s):a.push(s):i.push(s):a.push(s)}return{applied:n,remaining:a,stale:i}}(e,n);g=t.applied.length;for(const e of t.stale)k.add(e);m=[...t.stale,...t.remaining];for(const n of e.blocks)n.result&&v(b(n.blockHash),n.result);if(0===m.length)return void P(g,g)}}{const e=[];for(const t of m){const n=t.textContent?.trim()||"";if(n.length<20){e.push(t);continue}const a=w(n),i=await y(b(a));i&&E(t,i,a)?g++:e.push(t)}if(m=e,0===m.length)return void P(g,g)}if(!e&&m.length>0)return k.size>0&&(s+=k.size),void(g>0?P(g,g):(L(0,1),M=t.startsWith("de")?"Kein API-Key konfiguriert":"No API key configured",o&&(o.innerHTML=`<span style="color:#ef4444">&#x2715;</span> ${M}`,o.style.color="#ef4444",setTimeout(()=>H(),5e3))));var M;for(const e of m)I(e);const N=n.length;let j=g,O=g;const B=e=>k.has(e);L(j,N,s);for(const i of m){if(r.signal.aborted)break;const n=i.textContent?.trim()||"";if(n.length<20){z(i),j++,L(j,N,s);continue}const o=w(n);try{const s=await e.simplifyText(n,a,t);if(r?.signal.aborted)return;s&&s!==n&&E(i,s,o)&&(O++,v(b(o),s),d&&$(d,o,n,s,u))}catch(W){if(W?.message?.includes("401")||W?.message?.includes("403")){for(const e of m)B(e)&&!e.hasAttribute(f)&&s++;z(i),j++;break}if(W?.message?.includes("429")){await new Promise(e=>setTimeout(e,8e3));try{const s=await e.simplifyText(n,a,t);if(r?.signal.aborted)return;s&&s!==n&&E(i,s,o)&&(O++,v(b(o),s),d&&$(d,o,n,s,u))}catch{B(i)&&s++}}else B(i)&&s++}finally{z(i),j++,r?.signal.aborted||(L(j,N,s),await new Promise(e=>setTimeout(e,600)))}}for(const e of m)z(e);r?.signal.aborted||P(O,g)}())},deactivate:function(){n=!1,r?.abort(),r=null,function(){c&&(c.disconnect(),c=null),l&&(l.disconnect(),l=null),d.clear();for(const{el:e,originalHtml:t,savedTextNodes:n,ancestorPatches:a}of i){if(n.length>0){let a=!0;for(const e of n)e.node.parentNode?e.node.data=e.original:a=!1;a||(e.innerHTML=t)}else e.innerHTML=t;e.removeAttribute(p),e.removeAttribute(f),e.removeAttribute(h),e.removeAttribute("data-accessify-replacing"),z(e),C(a)}i=[],s=0}(),H()},getState:()=>({id:"text-simplify",enabled:n,value:{level:a}}),setState:e=>{!e.level||"einfache"!==e.level&&"leichte"!==e.level||(a=e.level,localStorage.setItem(u,JSON.stringify({level:a})))}}}},Symbol.toStringTag,{value:"Module"}));return e.destroy=Mr,e.init=Ar,Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),e}({});
2
2
  //# sourceMappingURL=accessify.min.js.map