accessify-widget 0.2.1 → 0.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -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,g,h,m,v,y,b,x,w,k,S,A,C,$,E,M,_,z,T,I,L,W,B,j,N,P,O,H,K,G,F,D,q,R=Object.defineProperty,U=e=>{throw TypeError(e)},V=(e,t,n)=>((e,t,n)=>t in e?R(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)||U("Cannot "+n),Y=(e,t,n)=>(J(e,t,"read from private field"),n?n.call(e):t.get(e)),Z=(e,t,n)=>t.has(e)?U("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),X=(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 ge(){var e,t;return{promise:new Promise((n,a)=>{e=n,t=a}),resolve:e,reject:t}}const he=32,me=512,ve=1024,ye=2048,be=4096,xe=8192,we=16384,ke=32768,Se=1<<25,Ae=65536,Ce=1<<17,$e=1<<19,Ee=1<<25,Me=65536,_e=1<<21,ze=1<<23,Te=Symbol("$state"),Ie=Symbol("legacy props"),Le=Symbol(""),We=Symbol("proxy path"),Be=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 Pe=Symbol(),Oe=Symbol("filename"),He="http://www.w3.org/1999/xhtml";function Ke(e){}function Ge(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 De(e,t){return e.label=t,qe(e.v,t),e}function qe(e,t){return e?.[We]?.(t),e}function Re(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 Ue=null;function Ve(e){Ue=e}let Je=null;function Ye(e){Je=e}let Ze=null;function Xe(e){Ze=e}function Qe(e,t=!1,n){Ue={p:Ue,i:!1,c:null,e:null,s:e,x:null,r:Un,l:null},te&&(Ue.function=n,Ze=n)}function et(e){var t=Ue,n=t.e;if(null!==n)for(var a of(t.e=null,n))$n(a);return void 0!==e&&(t.x=e),t.i=!0,Ue=t.p,te&&(Ze=Ue?.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 Dn.f|=ze,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=un?" ":"\t",i=`\n${a}in ${t.fn?.name||"<unknown>"}`,r=t.ctx;null!==r;)i+=`\n${a}in ${r.function?.[Oe].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?ve:be)}function dt(e){if(null!==e)for(const t of e)2&t.f&&0!==(t.f&Me)&&(t.f^=Me,dt(t.deps))}function ut(e,t,n){0!==(e.f&ye)?t.add(e):0!==(e.f&be)&&n.add(e),dt(e.deps),ct(e,ve)}let ft=!1;const pt=new Set;let gt=null,ht=null,mt=null,vt=!1,yt=null,bt=null;var xt=0,wt=te?new Set:null;let kt=1;const St=class e{constructor(){Z(this,u),V(this,"id",kt++),V(this,"current",new Map),V(this,"previous",new Map),Z(this,t,new Set),Z(this,n,new Set),Z(this,a,0),Z(this,i,0),Z(this,r,null),Z(this,o,[]),Z(this,s,new Set),Z(this,c,new Set),Z(this,l,new Map),V(this,"is_fork",!1),Z(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,ye),this.schedule(n);for(n of t.m)ct(n,be),this.schedule(n)}}capture(e,t){t===Pe||this.previous.has(e)||this.previous.set(e,t),0===(e.f&ze)&&(this.current.set(e,e.v),ht?.set(e,e.v))}activate(){gt=this}deactivate(){gt=null,ht=null}flush(){var e=te?new Set:null;try{vt=!0,gt=this,Q(this,u,p).call(this)}finally{if(xt=0,mt=null,yt=null,bt=null,vt=!1,gt=null,ht=null,Rt.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){X(this,a,Y(this,a)+1),e&&X(this,i,Y(this,i)+1)}decrement(e,t){X(this,a,Y(this,a)-1),e&&X(this,i,Y(this,i)-1),Y(this,d)||t||(X(this,d,!0),nt(()=>{X(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)??X(this,r,ge())).promise}static ensure(){if(null===gt){const t=gt=new e;vt||(pt.add(gt),nt(()=>{gt===t&&t.flush()}))}return gt}apply(){ht=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===yt||t!==Un||null!==Dn&&2&Dn.f))return;if(96&n){if(0===(n&ve))return;t.f^=ve}}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(xt++>1e3&&(pt.delete(this),function(){if(te){var e=new Map;for(const n of gt.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,ye),this.schedule(e);for(const e of Y(this,c))ct(e,be),this.schedule(e)}const n=Y(this,o);X(this,o,[]),this.apply();var i=yt=[],d=[],v=bt=[];for(const t of n)try{Q(this,u,g).call(this,t,i,d)}catch(x){throw Tt(t),x}if(gt=null,v.length>0){var y=St.ensure();for(const e of v)y.schedule(e)}if(yt=null,bt=null,Q(this,u,f).call(this)){Q(this,u,h).call(this,d),Q(this,u,h).call(this,i);for(const[e,t]of Y(this,l))zt(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(),$t(d),$t(i),Y(this,r)?.resolve()}var b=gt;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())wt.add(e);Q(e=b,u,p).call(e)}pt.has(this)||Q(this,u,m).call(this)},g=function(e,t,n){e.f^=ve;for(var a=e.first;null!==a;){var i=a.f,r=!!(96&i);if(!(r&&0!==(i&ve)||0!==(i&xe)||Y(this,l).has(a))&&null!==a.fn){r?a.f^=ve:4&i?t.push(a):ra(a)&&(!!(16&i)&&Y(this,c).add(a),da(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}}},h=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&&Re(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,g).call(e,c,[],[]);X(l,o,[])}l.deactivate()}}}};let At=St,Ct=null;function $t(e){var t=e.length;if(0!==t){for(var n=0;n<t;){var a=e[n++];if(!(24576&a.f)&&ra(a)&&(Ct=new Set,da(a),null===a.deps&&null===a.first&&null===a.nodes&&null===a.teardown&&null===a.ac&&Bn(a),Ct?.size>0)){Rt.clear();for(const e of Ct){if(24576&e.f)continue;const t=[e];let n=e.parent;for(;null!==n;)Ct.has(n)&&(Ct.delete(n),t.push(n)),n=n.parent;for(let e=t.length-1;e>=0;e--){const n=t[e];24576&n.f||da(n)}}Ct.clear()}}Ct=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&ye)&&Mt(i,t,a)&&(ct(i,ye),_t(i))}}function Mt(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&&Mt(i,t,n))return n.set(i,!0),!0}return n.set(e,!1),!1}function _t(e){gt.schedule(e)}function zt(e,t){if(0===(e.f&he)||0===(e.f&ve)){0!==(e.f&ye)?t.d.push(e):0!==(e.f&be)&&t.m.push(e),ct(e,ve);for(var n=e.first;null!==n;)zt(n,t),n=n.next}}function Tt(e){ct(e,ve);for(var t=e.first;null!==t;)Tt(t),t=t.next}class It{constructor(e,t,n,a){Z(this,L),V(this,"parent"),V(this,"is_pending",!1),V(this,"transform_error"),Z(this,v),Z(this,y,null),Z(this,b),Z(this,x),Z(this,w),Z(this,k,null),Z(this,S,null),Z(this,A,null),Z(this,C,null),Z(this,$,0),Z(this,E,0),Z(this,M,!1),Z(this,_,new Set),Z(this,z,new Set),Z(this,T,null),Z(this,I,function(e){let t,n=0,a=Jt(0);return te&&De(a,"createSubscriber version"),()=>{Sn()&&(ua(a),En(()=>(0===n&&(t=ga(()=>e())),n+=1,()=>{nt(()=>{n-=1,0===n&&(t?.(),t=void 0,tn(a))})})))}}(()=>(X(this,T,Jt(Y(this,$))),te&&De(Y(this,T),"$effect.pending()"),()=>{X(this,T,null)}))),X(this,v,e),X(this,b,t),X(this,x,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),X(this,w,_n(()=>{Q(this,L,W).call(this)},589824))}defer_effect(e){ut(e,Y(this,_),Y(this,z))}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),X(this,$,Y(this,$)+e),Y(this,T)&&!Y(this,M)&&(X(this,M,!0),nt(()=>{X(this,M,!1),Y(this,T)&&Qt(Y(this,T),Y(this,$))}))}get_effect_pending(){return Y(this,I).call(this),ua(Y(this,T))}error(e){var t=Y(this,b).onerror;let n=Y(this,b).failed;if(!t&&!n)throw e;Y(this,k)&&(Ln(Y(this,k)),X(this,k,null)),Y(this,S)&&(Ln(Y(this,S)),X(this,S,null)),Y(this,A)&&(Ln(Y(this,A)),X(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)&&jn(Y(this,A),()=>{X(this,A,null)}),Q(this,L,j).call(this,()=>{Q(this,L,W).call(this)}))},o=e=>{try{i=!0,t?.(e,r),i=!1}catch(a){rt(a,Y(this,w)&&Y(this,w).parent)}n&&X(this,A,Q(this,L,j).call(this,()=>{try{return zn(()=>{var t=Un;t.b=this,t.f|=128,n(Y(this,v),()=>e,()=>r)})}catch(a){return rt(a,Y(this,w).parent),null}}))};nt(()=>{var t;try{t=this.transform_error(e)}catch(n){return void rt(n,Y(this,w)&&Y(this,w).parent)}null!==t&&"object"==typeof t&&"function"==typeof t.then?t.then(o,e=>rt(e,Y(this,w)&&Y(this,w).parent)):o(t)})}}function Lt(e=!0){Vn(null),Rn(null),Ve(null),e&&gt?.deactivate(),te&&Ye(null)}function Wt(){var e=Un.b,t=gt,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)}}v=new WeakMap,y=new WeakMap,b=new WeakMap,x=new WeakMap,w=new WeakMap,k=new WeakMap,S=new WeakMap,A=new WeakMap,C=new WeakMap,$=new WeakMap,E=new WeakMap,M=new WeakMap,_=new WeakMap,z=new WeakMap,T=new WeakMap,I=new WeakMap,L=new WeakSet,W=function(){try{if(this.is_pending=this.has_pending_snippet(),X(this,E,0),X(this,$,0),X(this,k,zn(()=>{Y(this,x).call(this,Y(this,v))})),Y(this,E)>0){var e=X(this,C,document.createDocumentFragment());Hn(Y(this,k),e);const t=Y(this,b).pending;X(this,S,zn(()=>t(Y(this,v))))}else Q(this,L,B).call(this,gt)}catch(t){this.error(t)}},B=function(e){this.is_pending=!1,e.transfer_effects(Y(this,_),Y(this,z))},j=function(e){var t=Un,n=Dn,a=Ue;Vn(Y(this,w)),Rn(Y(this,w)),Ve(Y(this,w).ctx);try{return At.ensure(),e()}catch(i){return it(i),null}finally{Vn(t),Rn(n),Ve(a)}},N=function(e,t){var n;this.has_pending_snippet()?(X(this,E,Y(this,E)+e),0===Y(this,E)&&(Q(this,L,B).call(this,t),Y(this,S)&&jn(Y(this,S),()=>{X(this,S,null)}),Y(this,C)&&(Y(this,v).before(Y(this,C)),X(this,C,null)))):this.parent&&Q(n=this.parent,L,N).call(n,e,t)};const Bt=new Set;function jt(e){var t=null!==Dn&&2&Dn.f?Dn:null;return null!==Un&&(Un.f|=$e),{ctx:Ue,deps:null,effects:null,equals:Ge,f:2050,fn:e,reactions:null,rv:0,v:Pe,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(Pe);te&&(r.label=t);var o=!Dn,s=new Map;return function(e){kn(4718592,e)}(()=>{var t=Un,n=ge();i=n.promise;try{Promise.resolve(e()).then(n.resolve,n.reject).finally(Lt)}catch(u){n.reject(u),Lt()}var c=gt;if(o){if(0!==(t.f&ke))var l=Wt();if(a.b.is_rendered())s.get(c)?.reject(Be),s.delete(c);else{for(const e of s.values())e.reject(Be);s.clear()}s.set(c,n)}const d=(e,n=void 0)=>{if(l&&l(n===Be),n!==Be&&0===(t.f&we)){if(c.activate(),n)r.f|=ze,Qt(r,n);else{0!==(r.f&ze)&&(r.f^=ze),Qt(r,e);for(const[e,t]of s){if(s.delete(e),e===c)break;t.reject(Be)}}c.deactivate()}};n.promise.then(d,e=>d(null,e||"unknown"))}),An(()=>{for(const e of s.values())e.reject(Be)}),te&&(r.f|=4194304),new Promise(e=>{!function t(n){function a(){n===i?e(r):t(i)}n.then(a,a)}(i)})}function Pt(e){const t=jt(e);return Yn(t),t}function Ot(e){const t=jt(e);return t.equals=Fe,t}function Ht(e){var t=e.effects;if(null!==t){e.effects=null;for(var n=0;n<t.length;n+=1)Ln(t[n])}}let Kt=[];function Gt(e){var t,n=Un;if(Vn(function(e){for(var t=e.parent;null!==t;){if(!(2&t.f))return 0===(t.f&we)?t:null;t=t.parent}return null}(e)),te){let a=qt;Ut(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,Ht(e),t=sa(e)}finally{Vn(n),Ut(a),Kt.pop()}}else try{e.f&=-65537,Ht(e),t=sa(e)}finally{Vn(n)}return t}function Ft(e){var t=e.v,n=Gt(e);e.equals(n)||(e.wv=ia(),gt?.is_fork&&null!==e.deps||(e.v=n,gt?.capture(e,t),null!==e.deps))?Gn||(null!==ht?(Sn()||gt?.is_fork)&&ht.set(e,n):lt(e)):ct(e,ve)}function Dt(e){if(null!==e.effects)for(const t of e.effects)t.teardown&&da(t)}let qt=new Set;const Rt=new Map;function Ut(e){qt=e}let Vt=!1;function Jt(e,t){return{f:0,v:e,reactions:null,equals:Ge,rv:0,wv:0}}function Yt(e,t){const n=Jt(e);return Yn(n),n}function Zt(e,t=!1,n=!0){const a=Jt(e);return t||(a.equals=Fe),a}function Xt(e,t,n=!1){null===Dn||qn&&0===(Dn.f&Ce)||!(4325394&Dn.f)||null!==Jn&&ie.call(Jn,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&&qe(a,e.label),Qt(e,a,bt)}function Qt(e,t,n=null){if(!e.equals(t)){var a=e.v;Rt.set(e,Gn?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&ye)&&Gt(t),null===ht&&lt(t)}e.wv=ia(),nn(e,ye,n),null===Un||0===(Un.f&ve)||96&Un.f||(null===Qn?function(e){Qn=e}([e]):Qn.push(e)),!i.is_fork&&qt.size>0&&!Vt&&en()}return t}function en(){Vt=!1;for(const e of qt)0!==(e.f&ve)&&ct(e,be),ra(e)&&da(e);qt.clear()}function tn(e){Xt(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&Ce))qt.add(o);else{var c=0===(s&ye);if(c&&ct(o,t),2&s){var l=o;ht?.delete(l),0===(s&Me)&&(s&me&&(o.f|=Me),nn(l,be,n))}else if(c){var d=o;!!(16&s)&&null!==Ct&&Ct.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||Te 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=na,o=e=>{if(na===r)return e();var t=Dn,n=na;Rn(null),aa(r);var a=e();return Rn(t),aa(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 ln.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,De(i,`${s=e} version`);for(const[e,t]of n)De(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&&De(e,on(s,t)),e}):Xt(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(Pe));n.set(t,e),tn(i),te&&De(e,on(s,t))}}else Xt(a,Pe),tn(i);return!0},get(t,a,i){if(a===Te)return e;if(te&&a===We)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]:Pe));return te&&De(e,on(s,a)),e}),n.set(a,r)),void 0!==r){var d=ua(r);return d===Pe?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=ua(i))}else if(void 0===a){var r=n.get(t),o=r?.v;if(void 0!==r&&o!==Pe)return{enumerable:!0,configurable:!0,value:o,writable:!0}}return a},has(e,t){if(t===Te)return!0;var a=n.get(t),i=void 0!==a&&a.v!==Pe||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]):Pe);return te&&De(n,on(s,t)),n}),n.set(t,a)),ua(a)===Pe))&&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?Xt(f,Pe):u in e&&(f=o(()=>Yt(Pe)),n.set(u+"",f),te&&De(f,on(s,u)))}void 0===l?d&&!se(e,t)?.writable||(l=o(()=>Yt(void 0)),te&&De(l,on(s,t)),Xt(l,rn(r)),n.set(t,l)):(d=l.v!==Pe,Xt(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 g=n.get("length"),h=Number(t);Number.isInteger(h)&&h>=g.v&&Xt(g,h+1)}tn(i)}return!0},ownKeys(e){ua(i);var t=Reflect.ownKeys(e).filter(e=>{var t=n.get(e);return void 0===t||t.v!==Pe});for(var[a,r]of n)r.v===Pe||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&&Te in e)return e[Te]}catch{}return e}function cn(e,t){return Object.is(sn(e),sn(t))}const ln=new Set(["copyWithin","fill","pop","push","reverse","shift","sort","splice","unshift"]);var dn,un,fn,pn;function gn(e=""){return document.createTextNode(e)}function hn(e){return fn.call(e)}function mn(e){return pn.call(e)}function vn(e,t){return hn(e)}function yn(e,t=!1){var n=hn(e);return n instanceof Comment&&""===n.data?mn(n):n}function bn(e,t=1,n=!1){let a=e;for(;t--;)a=mn(a);return a}function xn(e,t,n){return document.createElementNS(t??He,e,void 0)}function wn(e){var t=Dn,n=Un;Rn(null),Vn(null);try{return e()}finally{Rn(t),Vn(n)}}function kn(e,t){var n=Un;if(te)for(;null!==n&&0!==(n.f&Ce);)n=n.parent;null!==n&&0!==(n.f&xe)&&(e|=xe);var a={ctx:Ue,deps:null,nodes:null,f:e|ye|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=Ze);var i=a;if(4&e)null!==yt?yt.push(a):At.ensure().schedule(a);else if(null!==t){try{da(a)}catch(r){throw Ln(a),r}null===i.deps&&null===i.teardown&&null===i.nodes&&i.first===i.last&&0===(i.f&$e)&&(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!==Dn&&2&Dn.f&&!(64&e))&&(Dn.effects??(Dn.effects=[])).push(i),a}function Sn(){return null!==Dn&&!qn}function An(e){const t=kn(8,null);return ct(t,ve),t.teardown=e,t}function Cn(e){var t;t="$effect",null===Un&&(null===Dn&&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")}()),Gn&&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(Dn||0===(n&he)||0!==(n&ke))return $n(e);(Ue.e??(Ue.e=[])).push(e)}function $n(e){return kn(1048580,e)}function En(e,t=0){return kn(8|t,e)}function Mn(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=Dn,n=Ue,a=gt;if(te)var i=Je;return function(r=!0){Vn(e),Rn(t),Ve(n),r&&0===(e.f&we)&&(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=Wt();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&we)&&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=>{kn(8,()=>e(...t.map(ua)))})}function _n(e,t=0){var n=kn(16|t,e);return te&&(n.dev_stack=Je),n}function zn(e){return kn(524320,e)}function Tn(e){var t=e.teardown;if(null!==t){const e=Gn,n=Dn;Fn(!0),Rn(null);try{t.call(null)}finally{Fn(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(Be)});var a=n.next;64&n.f?n.parent=null:Ln(n,t),n=a}}function Ln(e,t=!0){var n=!1;(t||262144&e.f)&&null!==e.nodes&&null!==e.nodes.end&&(Wn(e.nodes.start,e.nodes.end),n=!0),ct(e,Se),In(e,t&&!n),la(e,0);var a=e.nodes&&e.nodes.t;if(null!==a)for(const r of a)r.stop();Tn(e),e.f^=Se,e.f|=we;var i=e.parent;null!==i&&null!==i.first&&Bn(e),te&&(e.component_function=null),e.next=e.prev=e.teardown=e.ctx=e.deps=e.fn=e.nodes=e.ac=null}function Wn(e,t){for(;null!==e;){var n=e===t?null:mn(e);e.remove(),e=n}}function Bn(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 jn(e,t,n=!0){var a=[];Nn(e,a,!0);var i=()=>{n&&Ln(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&xe)){e.f^=xe;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&he)&&16&e.f)&&n),i=r}}}function Pn(e){On(e,!0)}function On(e,t){if(0!==(e.f&xe)){e.f^=xe,0===(e.f&ve)&&(ct(e,ye),At.ensure().schedule(e));for(var n=e.first;null!==n;){var a=n.next;On(n,!(0===(n.f&Ae)&&0===(n.f&he))&&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 Hn(e,t){if(e.nodes)for(var n=e.nodes.start,a=e.nodes.end;null!==n;){var i=n===a?null:mn(n);t.append(n),n=i}}let Kn=!1,Gn=!1;function Fn(e){Gn=e}let Dn=null,qn=!1;function Rn(e){Dn=e}let Un=null;function Vn(e){Un=e}let Jn=null;function Yn(e){null!==Dn&&(null===Jn?Jn=[e]:Jn.push(e))}let Zn=null,Xn=0,Qn=null,ea=1,ta=0,na=ta;function aa(e){na=e}function ia(){return++ea}function ra(e){var t=e.f;if(0!==(t&ye))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(ra(r)&&Ft(r),r.wv>e.wv)return!0}0!==(t&me)&&null===ht&&ct(e,ve)}return!1}function oa(e,t,n=!0){var a=e.reactions;if(null!==a&&(null===Jn||!ie.call(Jn,e)))for(var i=0;i<a.length;i++){var r=a[i];2&r.f?oa(r,t,!1):t===r&&(n?ct(r,ye):0!==(r.f&ve)&&ct(r,be),_t(r))}}function sa(e){var t,n=Zn,a=Xn,i=Qn,r=Dn,o=Jn,s=Ue,c=qn,l=na;Zn=null,Xn=0,Qn=null,Dn=96&e.f?null:e,Jn=null,Ve(e.ctx),qn=!1,na=++ta,null!==e.ac&&(wn(()=>{e.ac.abort(Be)}),e.ac=null);try{e.f|=_e;var d=(0,e.fn)();e.f|=ke;var u=e.deps,f=gt?.is_fork;if(null!==Zn){var p;if(f||la(e,Xn),null!==u&&Xn>0)for(u.length=Xn+Zn.length,p=0;p<Zn.length;p++)u[Xn+p]=Zn[p];else e.deps=u=Zn;if(Sn()&&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&&(la(e,Xn),u.length=Xn);if(!(null===Qn||qn||null===u||6146&e.f))for(p=0;p<Qn.length;p++)oa(Qn[p],e);if(null!==r&&r!==e){if(ta++,null!==r.deps)for(let e=0;e<a;e+=1)r.deps[e].rv=ta;if(null!==n)for(const e of n)e.rv=ta;null!==Qn&&(null===i?i=Qn:i.push(...Qn))}return 0!==(e.f&ze)&&(e.f^=ze),d}catch(g){return it(g)}finally{e.f^=_e,Zn=n,Xn=a,Qn=i,Dn=r,Jn=o,Ve(s),qn=c,na=l}}function ca(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===Zn||!ie.call(Zn,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(Be),t.teardown=pe,t.ac=null,la(t,0),In(t))}(r),la(r,0)}}function la(e,t){var n=e.deps;if(null!==n)for(var a=t;a<n.length;a++)ca(e,n[a])}function da(e){var t=e.f;if(0===(t&we)){ct(e,ve);var n=Un,a=Kn;if(Un=e,Kn=!0,te){var i=Ze;Xe(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&he)&&Ln(t),t=n}}(e):In(e),Tn(e);var o=sa(e);e.teardown="function"==typeof o?o:null,e.wv=ea}finally{Kn=a,Un=n,te&&(Xe(i),Ye(r))}}}function ua(e){var t=!!(2&e.f);if(null!==Dn&&!qn&&!(null!==Un&&0!==(Un.f&we)||null!==Jn&&ie.call(Jn,e))){var n=Dn.deps;if(0!==(Dn.f&_e))e.rv<ta&&(e.rv=ta,null===Zn&&null!==n&&n[Xn]===e?Xn++:null===Zn?Zn=[e]:Zn.push(e));else{(Dn.deps??(Dn.deps=[])).push(e);var a=e.reactions;null===a?e.reactions=[Dn]:ie.call(a,Dn)||a.push(Dn)}}if(te&&Bt.delete(e),Gn&&Rt.has(e))return Rt.get(e);if(t){var i=e;if(Gn){var r=i.v;return(0===(i.f&ve)&&null!==i.reactions||pa(i))&&(r=Gt(i)),Rt.set(i,r),r}var o=0===(i.f&me)&&!qn&&null!==Dn&&(Kn||0!==(Dn.f&me)),s=0===(i.f&ke);ra(i)&&(o&&(i.f|=me),Ft(i)),o&&!s&&(Dt(i),fa(i))}if(ht?.has(e))return ht.get(e);if(0!==(e.f&ze))throw e.v;return e.v}function fa(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)&&(Dt(t),fa(t))}function pa(e){if(e.v===Pe)return!0;if(null===e.deps)return!1;for(const t of e.deps){if(Rt.has(t))return!0;if(2&t.f&&pa(t))return!0}return!1}function ga(e){var t=qn;try{return qn=!0,e()}finally{qn=t}}const ha=["touchstart","touchmove"];function ma(e){return ha.includes(e)}const va=Symbol("events"),ya=new Set,ba=new Set;function xa(e,t,n){(t[va]??(t[va]={}))[e]=n}function wa(e){for(var t=0;t<e.length;t++)ya.add(e[t]);for(var n of ba)n(e)}let ka=null;function Sa(e){var t=this,n=t.ownerDocument,a=e.type,i=e.composedPath?.()||[],r=i[0]||e.target;ka=e;var o=0,s=ka===e&&e[va];if(s){var c=i.indexOf(s);if(-1!==c&&(t===document||t===window))return void(e[va]=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=Dn,u=Un;Rn(null),Vn(null);try{for(var f,p=[];null!==r;){var g=r.assignedSlot||r.parentNode||r.host||null;try{var h=r[va]?.[a];null==h||r.disabled&&e.target!==r||h.call(r,e)}catch(m){f?p.push(m):f=m}if(e.cancelBubble||g===t||null===g)break;r=g}if(f){for(let e of p)queueMicrotask(()=>{throw e});throw f}}finally{e[va]=t,delete e.currentTarget,Rn(d),Vn(u)}}}const Aa=globalThis?.window?.trustedTypes&&globalThis.window.trustedTypes.createPolicy("svelte-trusted-html",{createHTML:e=>e});function Ca(e,t){null===Un.nodes&&(Un.nodes={start:e,end:t,a:null,t:null})}function $a(e,t){var n,a=!!(1&t),i=!!(2&t),r=!e.startsWith("<!>");return()=>{var t,o;void 0===n&&(t=r?e:"<!>"+e,(o=xn("template")).innerHTML=function(e){return Aa?.createHTML(e)??e}(t.replaceAll("<!>","\x3c!----\x3e")),n=o.content,a||(n=hn(n)));var s=i||un?document.importNode(n,!0):n.cloneNode(!0);return a?Ca(hn(s),s.lastChild):Ca(s,s),s}}function Ea(e,t){null!==e&&e.before(t)}function Ma(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 _a=new Map;let za=new WeakMap;class Ta{constructor(e,t=!0){V(this,"anchor"),Z(this,P,new Map),Z(this,O,new Map),Z(this,H,new Map),Z(this,K,new Set),Z(this,G,!0),Z(this,F,e=>{if(Y(this,P).has(e)){var t=Y(this,P).get(e),n=Y(this,O).get(t);if(n)Pn(n),Y(this,K).delete(t);else{var a=Y(this,H).get(t);a&&(Y(this,O).set(t,a.effect),Y(this,H).delete(t),a.fragment.lastChild.remove(),this.anchor.before(a.fragment),n=a.effect)}for(const[t,n]of Y(this,P)){if(Y(this,P).delete(t),t===e)break;const a=Y(this,H).get(n);a&&(Ln(a.effect),Y(this,H).delete(n))}for(const[e,a]of Y(this,O)){if(e===t||Y(this,K).has(e))continue;const i=()=>{if(Array.from(Y(this,P).values()).includes(e)){var t=document.createDocumentFragment();Hn(a,t),t.append(gn()),Y(this,H).set(e,{effect:a,fragment:t})}else Ln(a);Y(this,K).delete(e),Y(this,O).delete(e)};Y(this,G)||!n?(Y(this,K).add(e),jn(a,i,!1)):i()}}}),Z(this,D,e=>{Y(this,P).delete(e);const t=Array.from(Y(this,P).values());for(const[n,a]of Y(this,H))t.includes(n)||(Ln(a.effect),Y(this,H).delete(n))}),this.anchor=e,X(this,G,t)}ensure(e,t){var n=gt;!t||Y(this,O).has(e)||Y(this,H).has(e)||Y(this,O).set(e,zn(()=>t(this.anchor))),Y(this,P).set(n,e),Y(this,F).call(this,n)}}function Ia(e,t,n=!1){var a=new Ta(e);function i(e,t){a.ensure(e,t)}_n(()=>{var e=!1;t((t,n=0)=>{e=!0,i(n,t)}),e||i(-1,null)},n?Ae:0)}function La(e,t){return t}function Wa(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,Hn(r,document.createDocumentFragment())):Ln(t[i],n)}}var Ba;function ja(e,t,n,a,i,r=null){var o=e,s=new Map;!(4&t)||(o=e.appendChild(gn()));var c,l=null,d=Ot(()=>{var e=n();return ne(e)?e:null==e?[]:re(e)}),u=new Map,f=!0,p={effect:_n(()=>{for(var e=(c=ua(d)).length,g=new Set,h=gt,m=0;m<e;m+=1){var v=c[m],y=a(v,m);if(te){var b=a(v,m);y!==b&&Ne(String(m),String(y),String(b))}var x=f?null:s.get(y);x?(x.v&&Qt(x.v,v),x.i&&Qt(x.i,m)):(x=Pa(s,f?o:Ba??(Ba=gn()),v,y,m,i,t,n),f||(x.e.f|=Ee),s.set(y,x)),g.add(y)}0===e&&r&&!l&&(f?l=zn(()=>r(o)):(l=zn(()=>r(Ba??(Ba=gn())))).f|=Ee),e>g.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(h,g),function(e){0===(p.effect.f&we)&&(p.pending.delete(e),p.fallback=l,function(e,t,n,a,i){var r,o,s,c,l,d=!!(8&a),u=t.length,f=e.items,p=Na(e.effect.first),g=null,h=[],m=[];if(d)for(l=0;l<u;l+=1)s=i(t[l],l),0===((c=f.get(s).e).f&Ee)&&(c.nodes?.a?.measure(),(o??(o=new Set)).add(c));for(l=0;l<u;l+=1){if(s=i(t[l],l),c=f.get(s).e,null!==e.outrogroups)for(const t of e.outrogroups)t.pending.delete(c),t.done.delete(c);if(0!==(c.f&Ee)){if(c.f^=Ee,c!==p){var v=g?g.next:p;c===e.effect.last&&(e.effect.last=c.prev),c.prev&&(c.prev.next=c.next),c.next&&(c.next.prev=c.prev),Ha(e,g,c),Ha(e,c,v),Oa(c,v,n),h=[],m=[],p=Na((g=c).next);continue}Oa(c,null,n)}if(0!==(c.f&xe)&&(Pn(c),d&&(c.nodes?.a?.unfix(),(o??(o=new Set)).delete(c))),c!==p){if(void 0!==r&&r.has(c)){if(h.length<m.length){var y,b=m[0];g=b.prev;var x=h[0],w=h[h.length-1];for(y=0;y<h.length;y+=1)Oa(h[y],b,n);for(y=0;y<m.length;y+=1)r.delete(m[y]);Ha(e,x.prev,w.next),Ha(e,g,x),Ha(e,w,b),p=b,g=w,l-=1,h=[],m=[]}else r.delete(c),Oa(c,p,n),Ha(e,c.prev,c.next),Ha(e,c,null===g?e.effect.first:g.next),Ha(e,g,c),g=c;continue}for(h=[],m=[];null!==p&&p!==c;)(r??(r=new Set)).add(p),m.push(p),p=Na(p.next);if(null===p)continue}0===(c.f&Ee)&&h.push(c),g=c,p=Na(c.next)}if(null!==e.outrogroups){for(const t of e.outrogroups)0===t.pending.size&&(Wa(e,re(t.done)),e.outrogroups?.delete(t));0===e.outrogroups.size&&(e.outrogroups=null)}if(null!==p||void 0!==r){var k=[];if(void 0!==r)for(c of r)0===(c.f&xe)&&k.push(c);for(;null!==p;)0===(p.f&xe)&&p!==e.fallback&&k.push(p),p=Na(p.next);var S=k.length;if(S>0){var A=4&a&&0===u?n:null;if(d){for(l=0;l<S;l+=1)k[l].nodes?.a?.measure();for(l=0;l<S;l+=1)k[l].nodes?.a?.fix()}!function(e,t,n){for(var a,i=t.length,r=t.length,o=0;o<i;o++){let n=t[o];jn(n,()=>{if(a){if(a.pending.delete(n),a.done.add(n),0===a.pending.size){var t=e.outrogroups;Wa(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()}Wa(e,t,!s)}else a={pending:new Set(t),done:new Set},(e.outrogroups??(e.outrogroups=new Set)).add(a)}(e,k,A)}}d&&nt(()=>{if(void 0!==o)for(c of o)c.nodes?.a?.apply()})}(p,c,o,t,a),null!==l&&(0===c.length?0===(l.f&Ee)?Pn(l):(l.f^=Ee,Oa(l,null,o)):jn(l,()=>{l=null})))}(h)),ua(d)}),items:s,pending:u,outrogroups:null,fallback:l};f=!1}function Na(e){for(;null!==e&&0===(e.f&he);)e=e.next;return e}function Pa(e,t,n,a,i,r,o,s){var c=1&o?16&o?Jt(n):Zt(n,!1,!1):null,l=2&o?Jt(i):null;return te&&c&&(c.trace=()=>{s()}),{v:c,i:l,e:zn(()=>(r(t,c??n,l??i,s),()=>{e.delete(a)}))}}function Oa(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=mn(a);if(r.before(a),a===i)return;a=o}}function Ha(e,t,n){null===t?e.effect.first=n:t.next=n,null===n?e.effect.last=t:n.prev=t}function Ka(e,t,n=!1,a=!1,i=!1,r=!1){var o=e,s="";if(n)var c=e;Mn(()=>{var e=Un;if(s!==(s=t()??"")){if(n)return e.nodes=null,c.innerHTML=s,void(""!==s&&Ca(hn(c),c.lastChild));if(null!==e.nodes&&(Wn(e.nodes.start,e.nodes.end),e.nodes=null),""!==s){var r=xn(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(Ca(hn(l),l.lastChild),a||i)for(;hn(l);)o.before(hn(l));else o.before(l)}}})}function Ga(e,t,n=!1){if(e.multiple){if(null==t)return;if(!ne(t))return;for(var a of e.options)a.selected=t.includes(Fa(a))}else{for(a of e.options)if(cn(Fa(a),t))return void(a.selected=!0);n&&void 0===t||(e.selectedIndex=-1)}}function Fa(e){return"__value"in e?e.__value:e.value}P=new WeakMap,O=new WeakMap,H=new WeakMap,K=new WeakMap,G=new WeakMap,F=new WeakMap,D=new WeakMap;const Da=Symbol("is custom element"),qa=Symbol("is html");function Ra(e,t,n,a){var i=function(e){return e.__attributes??(e.__attributes={[Da]:e.nodeName.includes("-"),[qa]:e.namespaceURI===He})}(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=Ua.get(n);if(a)return a;Ua.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 Ua=new Map;function Va(e,t){return e===t||e?.[Te]===t}function Ja(e={},t,n,a){var i=Ue.r,r=Un;return kn(4,()=>{var a,o;return En(()=>{a=o,o=[],ga(()=>{e!==n(...o)&&(t(e,...o),a&&Va(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&&Va(n(...o),e)&&t(null,...o),s?.()}}}),e}function Ya(e,t,n,a){var i=!!(8&n),r=!!(16&n),o=a,s=!0,c=()=>(s&&(s=!1,o=r?ga(a):a),o);let l;if(i){var d=Te in e||Ie 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 g=e.$$legacy;return function(e,t){return arguments.length>0?((!t||g||p)&&l(t?f():e),e):f()}}var h=!1,m=(1&n?jt:Ot)(()=>(h=!1,f()));te&&(m.label=t),i&&ua(m);var v=Un;return function(e,t){if(arguments.length>0){const n=t?ua(m):i?rn(e):e;return Xt(m,n),h=!0,void 0!==o&&(o=n),e}return Gn&&h||0!==(v.f&we)?m.v:ua(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 Za(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 Xa(){return Za('<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 Qa(){return Za('<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 ei(){return Za('<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 ti(){return Za('<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 ni(){return Za('<path d="M18 6L6 18"/><path d="M6 6l12 12"/>')}function ai(){return Za('<path d="M3 12a9 9 0 1 0 3-6.7"/><path d="M3 3v5.3h5.3"/>')}function ii(){return Za('<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&&((q=window.__svelte??(window.__svelte={})).v??(q.v=new Set)).add("5");const ri={accessibility:Xa,contrast:function(){return Za('<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 Za('<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 Za('<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 Za('<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 Za('<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 Za('<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 Za('<circle cx="12" cy="12" r="9"/><path d="M10 8v8"/><path d="M14 8v8"/>')},cursor:function(){return Za('<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:Qa,tts:Qa,brain:ei,ai:ei,image:ti,"alt-text":ti,keyboard:function(){return Za('<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 Za('<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 Za('<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:ni,"close-x":ni,reset:ai,chevron:function(){return Za('<path d="M9 18l6-6-6-6"/>')},checkmark:function(){return Za('<path d="M20 6L9 17l-5-5"/>')},warning:function(){return Za('<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 Za('<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 Za('<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 Za('<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 Za('<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 Za('<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 Za('<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 Za('<path d="M4 6h16"/><path d="M4 10h10"/><path d="M4 14h16"/><path d="M4 18h10"/>')},"reading-mask":function(){return Za('<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 Za('<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 Za('<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:ii,profile:function(){return Za('<circle cx="12" cy="8" r="4"/><path d="M4 20c0-4 4-7 8-7s8 3 8 7"/>')}},oi={"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":"Enhanced keyboard controls and 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":"Alt-Text Generator","feature.altText.desc":"Auto-generate image descriptions","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.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 si(e){return{...oi,...e}}const ci={en:oi,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":"Erweiterte Tastatursteuerung und Shortcuts","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":"Alt-Text erzeugen","feature.altText.desc":"Bildbeschreibungen automatisch erstellen","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.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:si({"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:si({"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:si({"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":"Generar texto alternativo","feature.autoScan":"Escaneo WCAG"}),fr:si({"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":"Generer un texte alternatif","feature.autoScan":"Analyse WCAG"}),ar:si({"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:si({"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:si({"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":"Gerar texto alternativo","feature.autoScan":"Varredura WCAG"}),ru:si({"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":"Создать alt-текст","feature.autoScan":"Проверка WCAG"}),ur:si({"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:si({"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":"Buat alt-text","feature.autoScan":"Pindai WCAG"}),ja:si({"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:si({"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":"Generate alt-text","feature.autoScan":"WCAG scan"}),mr:si({"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":"alt-text तयार करा","feature.autoScan":"WCAG स्कॅन"}),te:si({"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":"alt-text రూపొందించు","feature.autoScan":"WCAG స్కాన్"}),tr:si({"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":"Alt metin olustur","feature.autoScan":"WCAG taramasi"}),ta:si({"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":"alt-text உருவாக்கு","feature.autoScan":"WCAG ஸ்கேன்"}),vi:si({"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":"Tao alt-text","feature.autoScan":"Quet WCAG"}),ko:si({"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 검사"})},li=[{code:"de",label:"Deutsch"},{code:"en",label:"English"},{code:"es",label:"Español"},{code:"fr",label:"Français"},{code:"pt",label:"Português"},{code:"tr",label:"Türkçe"},{code:"ar",label:"العربية"},{code:"zh",label:"中文"},{code:"ja",label:"日本語"},{code:"ru",label:"Русский"}],di=new Set(["ar","ur"]);let ui="en";function fi(e){if(!e)return"en";const t=e.toLowerCase();if(ci[t])return t;const n=t.split("-")[0];return ci[n]?n:"en"}function pi(){return ui}function gi(e){return di.has(fi(e))}function hi(e,t="en"){const n=fi(t);return ci[n]?.[e]||oi[e]||e}var mi=$a('<button class="accessify-trigger"></button>');wa(["click"]);var vi=$a("<option> </option>"),yi=$a('<label class="accessify-language-picker"><span class="sr-only"> </span> <span class="accessify-language-icon" aria-hidden="true"></span> <select class="accessify-language-select"></select></label>'),bi=$a('<div class="accessify-header"><div class="accessify-header-top"><div class="accessify-header-title"><h2> </h2> <p> </p></div> <button class="accessify-header-btn accessify-header-btn--icon"></button></div> <div class="accessify-header-toolbar"><!> <button class="accessify-header-btn accessify-header-btn--secondary"><!> <span> </span></button></div></div>');wa(["click","change"]);var xi=$a('<button class="accessify-status-reset"> </button>'),wi=$a('<div class="accessify-status" role="status" aria-live="polite"><span class="accessify-status-count"> </span> <!></div>');wa(["click"]);const ki="https://openrouter.ai/api/v1";class Si extends Error{constructor(e){super(e),this.name="RateLimitError"}}var Ai=$a('<button class="accessify-chip"> </button>'),Ci=$a('<article class="accessify-control-card accessify-control-card--contrast"><div class="accessify-control-copy"><span class="accessify-card-icon" aria-hidden="true"></span> <div><h4> </h4> <p> </p></div></div> <div class="accessify-chip-group" role="group"></div></article>'),$i=$a('<button class="accessify-chip"> </button>'),Ei=$a('<article class="accessify-control-card accessify-control-card--text-size"><div class="accessify-control-copy"><span class="accessify-card-icon" aria-hidden="true"></span> <div><h4> </h4> <p> </p></div></div> <div class="accessify-chip-group accessify-chip-group--sizes" role="group"></div></article>'),Mi=$a('<button class="accessify-card" role="switch"><div class="accessify-card-top"><span class="accessify-card-icon" aria-hidden="true"></span></div> <span class="accessify-card-label"> </span> <span class="accessify-card-desc"> </span></button>'),_i=$a('<div class="accessify-features"></div>'),zi=$a('<section class="accessify-section accessify-section--priority"><div class="accessify-section-head"><div><h3> </h3> <p> </p></div></div> <div class="accessify-control-grid"><!> <!></div> <!></section>'),Ti=$a('<button class="accessify-card" role="switch"><div class="accessify-card-top"><span class="accessify-card-icon" aria-hidden="true"></span></div> <span class="accessify-card-label"> </span> <span class="accessify-card-desc"> </span></button>'),Ii=$a('<section><div class="accessify-section-head"><div><h3> </h3> <p> </p></div></div> <div class="accessify-features"></div></section>'),Li=$a('<div class="accessify-body"><!> <!></div>');wa(["click"]);var Wi=$a('<span aria-hidden="true">&middot;</span> <a target="_blank" rel="noopener noreferrer"> </a>',1),Bi=$a('<div class="accessify-footer"><span> </span> <!></div>'),ji=$a('<div class="sr-only" role="status" aria-live="polite" aria-atomic="true"> </div> <!> <div class="accessify-panel" role="dialog"><!> <!> <!> <!></div>',1);function Ni(e,t){Qe(t,!0);let n=Ya(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");const d="accessify-prefs";let u=Pt(()=>Array.from(ua(i).values()).filter(Boolean).length);function f(e){Xt(c,""),requestAnimationFrame(()=>{Xt(c,e,!0)})}function p(){try{const e=Object.fromEntries(ua(i));localStorage.setItem(d,JSON.stringify(e))}catch{}}function g(){const e=t.shadow.getElementById("accessify-mount");e&&("auto"===n().theme?e.removeAttribute("data-theme"):e.setAttribute("data-theme",ua(r)))}function h(){const e=t.shadow.getElementById("accessify-mount"),n=gi(ua(l))?"rtl":"ltr";var a;e&&(e.setAttribute("lang",ua(l)),e.setAttribute("dir",n)),t.shadow.host.setAttribute("lang",ua(l)),t.shadow.host.setAttribute("dir",n),a=ua(l),ui=fi(a)}function m(){Xt(a,!0),requestAnimationFrame(()=>{if(ua(o)){const e=ua(o).querySelector('button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])');e?.focus()}})}function v(){Xt(a,!1);const e=t.shadow.querySelector(".accessify-trigger");e?.focus()}function y(){Xt(i,new Map,!0),p(),window.dispatchEvent(new CustomEvent("accessify:reset")),f(hi("widget.resetConfirm",ua(l)))}var b;b=()=>{Xt(l,fi(n().lang||"en"),!0),function(){if("light"===n().theme||"dark"===n().theme)return void Xt(r,n().theme,!0);const e=window.matchMedia("(prefers-color-scheme: dark)");Xt(r,e.matches?"dark":"light",!0),e.addEventListener("change",e=>{"auto"===n().theme&&(Xt(r,e.matches?"dark":"light",!0),g())})}(),g(),function(){try{const e=localStorage.getItem(d);if(e){const t=JSON.parse(e);Xt(i,new Map(Object.entries(t)),!0)}}catch{}}(),h()},null===Ue&&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")}(),Cn(()=>{const e=ga(b);if("function"==typeof e)return e});var x,w,k,S={open:m,close:v},A=ji();k=function(e,t,n,a={}){function i(e){if(a.capture||Sa.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",x=dn,function(e){if("Escape"===e.key&&ua(a))return e.preventDefault(),void v();if("Tab"===e.key&&ua(a)&&ua(o)){const n=ua(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())}},w={capture:void 0,passive:void 0}),(x===document.body||x===window||x===document||x instanceof HTMLMediaElement)&&An(()=>{x.removeEventListener("keydown",k,w)});var C=yn(A),$=vn(C),E=bn(C,2);!function(e,t){Qe(t,!0);let n=Ya(t,"lang",3,"en"),a=Ya(t,"el",15,null);var i=mi();Ka(i,()=>t.isOpen?ni():Xa(),!0),Ja(i,e=>a(e),()=>a()),Mn(e=>{Ra(i,"aria-expanded",t.isOpen),Ra(i,"aria-label",e)},[()=>hi(t.isOpen?"widget.close":"widget.open",n())]),xa("click",i,function(...e){t.onclick?.apply(this,e)}),Ea(e,i),et()}(E,{get isOpen(){return ua(a)},get lang(){return ua(l)},onclick:function(){ua(a)?v():m()},get el(){return ua(s)},set el(e){Xt(s,e,!0)}});var M=bn(E,2),_=vn(M);!function(e,t){Qe(t,!0);let n=Ya(t,"lang",3,"en");function a(e){const n=e.currentTarget;t.onlangchange?.(n.value)}var i=bi(),r=vn(i),o=vn(r),s=vn(o),c=vn(s),l=vn(bn(s,2)),d=bn(o,2);Ka(d,ni,!0);var u=vn(bn(r,2)),f=e=>{var t=yi(),i=vn(t),r=vn(i),o=bn(i,2);Ka(o,ii,!0);var s,c=bn(o,2);ja(c,21,()=>li,La,(e,t)=>{var n=vi(),a=vn(n),i={};Mn(()=>{Ma(a,ua(t).label),i!==(i=ua(t).code)&&(n.value=(n.__value=ua(t).code)??"")}),Ea(e,n)}),function(e){var t=new MutationObserver(()=>{Ga(e,e.__value)});t.observe(e,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["value"]}),An(()=>{t.disconnect()})}(c),Mn((e,t)=>{Ma(r,e),Ra(c,"aria-label",t),s!==(s=n())&&(c.value=(c.__value=n())??"",Ga(c,n()))},[()=>hi("widget.language",n()),()=>hi("widget.language",n())]),xa("change",c,a),Ea(e,t)};Ia(u,e=>{t.onlangchange&&e(f)});var p=bn(u,2),g=vn(p);Ka(g,ai);var h=vn(bn(g,2));Mn((e,t,n,a,i)=>{Ma(c,e),Ma(l,t),Ra(d,"aria-label",n),Ra(p,"aria-label",a),Ma(h,i)},[()=>hi("widget.title",n()),()=>hi("widget.subtitle",n()),()=>hi("widget.close",n()),()=>hi("widget.reset",n()),()=>hi("widget.reset",n())]),xa("click",d,function(...e){t.onclose?.apply(this,e)}),xa("click",p,function(...e){t.onreset?.apply(this,e)}),Ea(e,i),et()}(_,{get lang(){return ua(l)},onclose:v,onreset:y,onlangchange:function(e){Xt(l,fi(e),!0),n().lang=ua(l),h()}});var z=bn(_,2);!function(e,t){Qe(t,!0);let n=Ya(t,"activeCount",3,0),a=Ya(t,"lang",3,"en"),i=Pt(()=>n()>0?hi("status.active",a()).replace("{count}",String(n())):hi("status.noActive",a()));var r=wi(),o=vn(r),s=vn(o),c=bn(o,2),l=e=>{var n=xi(),i=vn(n);Mn(e=>Ma(i,e),[()=>hi("widget.reset",a())]),xa("click",n,function(...e){t.onreset?.apply(this,e)}),Ea(e,n)};Ia(c,e=>{n()>0&&e(l)}),Mn(()=>{Ra(o,"data-count",n()),Ma(s,ua(i))}),Ea(e,r),et()}(z,{get activeCount(){return ua(u)},get lang(){return ua(l)},onreset:y});var T=bn(z,2);{let e=Pt(()=>({...n(),lang:ua(l)}));!function(e,t){Qe(t,!0);const n={"keyboard-nav":{id:"keyboard-nav",nameKey:"feature.keyboardNav",descKey:"feature.keyboardNav.desc",iconId:"keyboard"},"focus-highlight":{id:"focus-highlight",nameKey:"feature.focusHighlight",descKey:"feature.focusHighlight.desc",iconId:"focus"},"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"},"auto-scan":{id:"auto-scan",nameKey:"feature.autoScan",descKey:"feature.autoScan.desc",iconId:"scan"}},a=[{id:"essentials",labelKey:"section.essentials",descKey:"section.essentials.desc",featureIds:["keyboard-nav","focus-highlight","link-highlight"]},{id:"support",labelKey:"section.support",descKey:"section.support.desc",featureIds:["reading-guide","reading-mask","animation-stop","hide-images","page-structure","big-cursor","tts"]},{id:"ai",labelKey:"section.ai",descKey:"section.ai.desc",featureIds:["text-simplify","alt-text","auto-scan"]}],i=[{id:"off",labelKey:"control.default"},{id:"light",labelKey:"contrast.mode.light"},{id:"dark",labelKey:"contrast.mode.dark"},{id:"high",labelKey:"contrast.mode.high"}],r=[100,120,140,160,180],o=new Set(["text-simplify","alt-text"]),s=new Map,c={contrast:()=>Promise.resolve().then(()=>Vi),"text-size":()=>Promise.resolve().then(()=>Ji),"keyboard-nav":()=>Promise.resolve().then(()=>Yi),"focus-highlight":()=>Promise.resolve().then(()=>Zi),"link-highlight":()=>Promise.resolve().then(()=>Xi),"reading-guide":()=>Promise.resolve().then(()=>er),"reading-mask":()=>Promise.resolve().then(()=>tr),"animation-stop":()=>Promise.resolve().then(()=>nr),"hide-images":()=>Promise.resolve().then(()=>ar),"big-cursor":()=>Promise.resolve().then(()=>rr),"page-structure":()=>Promise.resolve().then(()=>or),tts:()=>Promise.resolve().then(()=>cr),"text-simplify":()=>Promise.resolve().then(()=>lr),"alt-text":()=>Promise.resolve().then(()=>dr),"auto-scan":()=>Promise.resolve().then(()=>fr)};let l,d=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"}())),u=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}())),f=Pt(()=>new Set(t.config.features)),p=Pt(()=>m(a[0].featureIds)),g=Pt(()=>Array.from(t.activeFeatures.entries()).sort(([e],[t])=>e.localeCompare(t)).map(([e,t])=>`${e}:${t}`).join("|"));function h(e){const t=ri[e];return t?t():""}function m(e){return e.filter(e=>ua(f).has(e)).map(e=>n[e]).filter(Boolean)}function v(e,t){if(!t)return;const n=t.getState();"contrast"===e&&Xt(d,"light"===n.value||"dark"===n.value||"high"===n.value?n.value:"off",!0),"text-size"===e&&Xt(u,"number"==typeof n.value?n.value:100,!0)}async function y(e){if(s.has(e))return s.get(e);const n=c[e];if(!n)return null;try{const i=await n(),r=i.default??i,c="function"==typeof r?o.has(e)?r((l||(l=(a={apiKey:t.config.openRouterKey,siteKey:t.config.siteKey,proxyUrl:t.config.proxyUrl}).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=await fetch(`${n}/v1/ai/simplify`,{method:"POST",headers:a,body:JSON.stringify({text:e,level:t,lang:i})});if(!r.ok){const e=await r.json().catch(()=>({error:`HTTP ${r.status}`}));if(429===r.status)throw new Si(e.error||"Rate limit reached");throw new Error(e.error||`AI proxy error: ${r.status}`)}return(await r.json()).result||""},async generateAltText(e,t){const i=await fetch(`${n}/v1/ai/alt-text`,{method:"POST",headers:a,body:JSON.stringify({imageUrl:e,context:t})});if(!i.ok){const e=await i.json().catch(()=>({error:`HTTP ${i.status}`}));if(429===i.status)throw new Si(e.error||"Rate limit reached");throw new Error(e.error||`AI proxy error: ${i.status}`)}return(await i.json()).result||""}}}(a.siteKey,a.proxyUrl):function(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(`${ki}/chat/completions`,{method:"POST",headers:t,body:JSON.stringify({model:e.textModel||"qwen/qwen3-next-80b-a3b-instruct:free",messages:[{role:"system",content:r},{role:"user",content:n}],stream:!1,max_tokens:2e3})});if(!o.ok){if(429===o.status)throw new Si("Rate limit reached. Please try again later.");throw new Error(`AI service error: ${o.status}`)}const s=await o.json();return s.choices?.[0]?.message?.content?.trim()||""},async generateAltText(n,a){const i=await fetch(`${ki}/chat/completions`,{method:"POST",headers:t,body:JSON.stringify({model:e.visionModel||"meta-llama/llama-3.3-70b-instruct:free",messages:[{role:"user",content:[{type:"text",text:`Generate a concise, descriptive alt text for this image for web accessibility. ${a?"Context: "+a:""} Return ONLY the alt text, nothing else. Max 125 characters.`},{type:"image_url",image_url:{url:n}}]}],max_tokens:100})});if(!i.ok){if(429===i.status)throw new Si("Rate limit reached. Please try again later.");throw new Error(`AI vision error: ${i.status}`)}const r=await i.json();return r.choices?.[0]?.message?.content?.trim()||""}}}(a)),l),t.config.lang):r():r;return s.set(e,c),c}catch(i){return null}var a}async function b(e){const n=!t.activeFeatures.get(e),a=await y(e);a&&(n?a.activate():a.deactivate(),v(e,a)),t.ontoggle(e,n)}"undefined"!=typeof window&&window.addEventListener("accessify:reset",function(){for(const[,e]of s)try{e.deactivate()}catch{}Xt(d,"off"),Xt(u,100)}),Cn(()=>{t.config.features.join("|"),ua(g),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=s.get(n);if(!e&&!a){"contrast"===n&&Xt(d,"off"),"text-size"===n&&Xt(u,100);continue}const i=e?await y(n):a;if(!i)continue;const r=i.getState().enabled;e&&!r&&i.activate(),!e&&r&&i.deactivate(),v(n,i)}}()});var x=Li(),w=vn(x),k=e=>{var n=zi(),o=vn(n),s=vn(o),c=vn(s),l=vn(c),g=vn(bn(c,2)),m=bn(o,2),v=vn(m),x=e=>{var n=Ci(),a=vn(n),r=vn(a);Ka(r,()=>h("contrast"),!0);var o=vn(bn(r,2)),s=vn(o),c=vn(bn(o,2)),l=bn(a,2);ja(l,21,()=>i,La,(e,n)=>{var a=Ai(),i=vn(a);Mn(e=>{Ra(a,"data-active",ua(d)===ua(n).id),Ra(a,"aria-pressed",ua(d)===ua(n).id),Ma(i,e)},[()=>hi(ua(n).labelKey,t.config.lang)]),xa("click",a,()=>async function(e){const n=await y("contrast");if(n){if("off"===e)return n.deactivate(),Xt(d,"off"),void t.ontoggle("contrast",!1);n.getState().enabled||n.activate(),n.setState?.(e),Xt(d,e,!0),t.ontoggle("contrast",!0)}}(ua(n).id)),Ea(e,a)}),Mn((e,t,n)=>{Ma(s,e),Ma(c,t),Ra(l,"aria-label",n)},[()=>hi("feature.contrast",t.config.lang),()=>hi("feature.contrast.desc",t.config.lang),()=>hi("control.chooseMode",t.config.lang)]),Ea(e,n)},w=Pt(()=>ua(f).has("contrast"));Ia(v,e=>{ua(w)&&e(x)});var k=bn(v,2),S=e=>{var n=Ei(),a=vn(n),i=vn(a);Ka(i,()=>h("text-size"),!0);var o=vn(bn(i,2)),s=vn(o),c=vn(bn(o,2)),l=bn(a,2);ja(l,21,()=>r,La,(e,n)=>{var a=$i(),i=vn(a);Mn(()=>{Ra(a,"data-active",ua(u)===ua(n)),Ra(a,"aria-pressed",ua(u)===ua(n)),Ma(i,`${ua(n)??""}%`)}),xa("click",a,()=>async function(e){const n=await y("text-size");if(n){if(100===e)return n.deactivate(),Xt(u,100),void t.ontoggle("text-size",!1);n.getState().enabled||n.activate(),n.setState?.(e),Xt(u,e,!0),t.ontoggle("text-size",!0)}}(ua(n))),Ea(e,a)}),Mn((e,t,n)=>{Ma(s,e),Ma(c,t),Ra(l,"aria-label",n)},[()=>hi("feature.textSize",t.config.lang),()=>hi("feature.textSize.desc",t.config.lang),()=>hi("feature.textSize",t.config.lang)]),Ea(e,n)},A=Pt(()=>ua(f).has("text-size"));Ia(k,e=>{ua(A)&&e(S)});var C=bn(m,2),$=e=>{var n=_i();ja(n,21,()=>ua(p),e=>e.id,(e,n)=>{const a=Pt(()=>t.activeFeatures.get(ua(n).id)??!1);var i=Mi(),r=vn(i);Ka(vn(r),()=>h(ua(n).iconId),!0);var o=bn(r,2),s=vn(o),c=vn(bn(o,2));Mn((e,t,n)=>{Ra(i,"data-active",ua(a)),Ra(i,"aria-checked",ua(a)),Ra(i,"aria-label",e),Ma(s,t),Ma(c,n)},[()=>hi(ua(n).nameKey,t.config.lang),()=>hi(ua(n).nameKey,t.config.lang),()=>hi(ua(n).descKey,t.config.lang)]),xa("click",i,()=>b(ua(n).id)),Ea(e,i)}),Ea(e,n)};Ia(C,e=>{ua(p).length>0&&e($)}),Mn((e,t)=>{Ma(l,e),Ma(g,t)},[()=>hi(a[0].labelKey,t.config.lang),()=>hi(a[0].descKey,t.config.lang)]),Ea(e,n)},S=Pt(()=>ua(f).has("contrast")||ua(f).has("text-size")||m(a[0].featureIds).length>0);Ia(w,e=>{ua(S)&&e(k)}),ja(bn(w,2),17,()=>a.slice(1),La,(e,n)=>{const a=Pt(()=>m(ua(n).featureIds));var i,r,o,s=(i=document.createDocumentFragment(),r=document.createComment(""),o=gn(),i.append(r,o),Ca(r,o),i),c=yn(s),l=e=>{var i=Ii(),r=vn(i),o=vn(r),s=vn(o),c=vn(s),l=vn(bn(s,2));ja(bn(r,2),21,()=>ua(a),e=>e.id,(e,n)=>{const a=Pt(()=>t.activeFeatures.get(ua(n).id)??!1);var i=Ti(),r=vn(i);Ka(vn(r),()=>h(ua(n).iconId),!0);var o=bn(r,2),s=vn(o),c=vn(bn(o,2));Mn((e,t,n)=>{Ra(i,"data-active",ua(a)),Ra(i,"aria-checked",ua(a)),Ra(i,"aria-label",e),Ma(s,t),Ma(c,n)},[()=>hi(ua(n).nameKey,t.config.lang),()=>hi(ua(n).nameKey,t.config.lang),()=>hi(ua(n).descKey,t.config.lang)]),xa("click",i,()=>b(ua(n).id)),Ea(e,i)}),Mn((e,t)=>{!function(e,t,n){var a=e.__className;if(a!==n||void 0===a){var i=function(e){var t=null==e?"":""+e;return""===t?null:t}(n);null==i?e.removeAttribute("class"):e.className=i,e.__className=n}}(i,0,`accessify-section accessify-section--${ua(n).id}`),Ma(c,e),Ma(l,t)},[()=>hi(ua(n).labelKey,t.config.lang),()=>hi(ua(n).descKey,t.config.lang)]),Ea(e,i)};Ia(c,e=>{ua(a).length>0&&e(l)}),Ea(e,s)}),Ea(e,x),et()}(T,{get config(){return ua(e)},get activeFeatures(){return ua(i)},ontoggle:function(e,t){ua(i).set(e,t),Xt(i,new Map(ua(i)),!0),p(),f(`${hi(`feature.${e.replace(/-([a-z])/g,(e,t)=>t.toUpperCase())}`,ua(l))||e} ${hi(t?"status.activated":"status.deactivated",ua(l))}`)}})}return function(e,t){Qe(t,!0);let n=Ya(t,"lang",3,"en");var a=Bi(),i=vn(a),r=vn(i),o=bn(i,2),s=e=>{var a=Wi(),i=bn(yn(a),2),r=vn(i);Mn(e=>{Ra(i,"href",t.statementUrl),Ma(r,e)},[()=>hi("widget.statement",n())]),Ea(e,a)};Ia(o,e=>{t.statementUrl&&e(s)}),Mn(e=>Ma(r,e),[()=>hi("widget.poweredBy",n())]),Ea(e,a),et()}(bn(T,2),{get lang(){return ua(l)},get statementUrl(){return n().statementUrl}}),Ja(M,e=>Xt(o,e),()=>ua(o)),Mn((e,t)=>{Ma($,ua(c)),Ra(M,"aria-label",e),Ra(M,"aria-hidden",!ua(a)),Ra(M,"dir",t),M.dir=M.dir},[()=>hi("widget.title",ua(l)),()=>gi(ua(l))?"rtl":"ltr"]),Ea(e,A),et(S)}const Pi=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>'),Oi=new Set(["spacing","dyslexia-font","color-blind","color-blindness","saturation","text-align","line-height"]),Hi={position:"bottom-right",theme:"auto",lang:document.documentElement.lang||"en",features:["contrast","text-size","link-highlight","hide-images","reading-guide","reading-mask","focus-highlight","big-cursor","keyboard-nav","page-structure","animation-stop","tts","text-simplify","alt-text","auto-scan"],zIndex:999999,compact:!1};let Ki=null,Gi=null,Fi={...Hi};function Di(e={}){if(Ki)return;const t=window.__accessify_dataConfig||{};Fi={...Hi,...t,...e},Fi.features=(Fi.features||Hi.features).filter(e=>!Oi.has(e)),Gi=document.createElement("div"),Gi.id="accessify-root",Gi.setAttribute("role","complementary"),Gi.setAttribute("aria-label",hi("widget.title",Fi.lang));const n=Gi.attachShadow({mode:"open",delegatesFocus:!0}),a=new CSSStyleSheet;a.replaceSync(function(e){const t=e.position||"bottom-right",n=t.includes("right"),a=t.includes("bottom"),i=e.zIndex||999999;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: light dark;\n }\n\n *, *::before, *::after {\n box-sizing: border-box;\n margin: 0;\n padding: 0;\n }\n\n #accessify-mount {\n --space-1: 4px;\n --space-2: 8px;\n --space-3: 12px;\n --space-4: 16px;\n --space-5: 20px;\n --space-6: 24px;\n --space-7: 32px;\n --radius-sm: 12px;\n --radius-md: 18px;\n --radius-lg: 24px;\n --radius-xl: 28px;\n --radius-pill: 999px;\n --text-xs: 12px;\n --text-sm: 14px;\n --text-base: 15px;\n --text-lg: 18px;\n --text-xl: 26px;\n --font-medium: 500;\n --font-semibold: 600;\n --font-bold: 700;\n --surface: #eff4f8;\n --surface-strong: #ffffff;\n --surface-muted: #f7f9fc;\n --surface-tint: #ecf3fb;\n --text: #152031;\n --text-secondary: #5c6a79;\n --border: rgba(21, 32, 49, 0.12);\n --border-strong: rgba(21, 32, 49, 0.22);\n --accent: #0e6bd8;\n --accent-strong: #0a56a7;\n --accent-soft: rgba(14, 107, 216, 0.1);\n --text-on-accent: #ffffff;\n --shadow-sm: 0 14px 32px rgba(15, 23, 42, 0.08);\n --shadow-lg: 0 28px 72px rgba(15, 23, 42, 0.18);\n --transition-fast: 160ms ease;\n --transition-normal: 240ms ease;\n }\n\n @media (prefers-color-scheme: dark) {\n #accessify-mount:not([data-theme="light"]) {\n --surface: #101a27;\n --surface-strong: #142233;\n --surface-muted: #0f1825;\n --surface-tint: #1a314c;\n --text: #f5f8fb;\n --text-secondary: #b3c0cd;\n --border: rgba(245, 248, 251, 0.12);\n --border-strong: rgba(245, 248, 251, 0.22);\n --accent: #49a0ff;\n --accent-strong: #1c7cde;\n --accent-soft: rgba(73, 160, 255, 0.16);\n --shadow-sm: 0 16px 36px rgba(0, 0, 0, 0.24);\n --shadow-lg: 0 28px 80px rgba(0, 0, 0, 0.44);\n }\n }\n\n #accessify-mount[data-theme="dark"] {\n --surface: #101a27;\n --surface-strong: #142233;\n --surface-muted: #0f1825;\n --surface-tint: #1a314c;\n --text: #f5f8fb;\n --text-secondary: #b3c0cd;\n --border: rgba(245, 248, 251, 0.12);\n --border-strong: rgba(245, 248, 251, 0.22);\n --accent: #49a0ff;\n --accent-strong: #1c7cde;\n --accent-soft: rgba(73, 160, 255, 0.16);\n --shadow-sm: 0 16px 36px rgba(0, 0, 0, 0.24);\n --shadow-lg: 0 28px 80px rgba(0, 0, 0, 0.44);\n }\n\n .sr-only {\n position: absolute;\n width: 1px;\n height: 1px;\n padding: 0;\n margin: -1px;\n overflow: hidden;\n clip: rect(0, 0, 0, 0);\n white-space: nowrap;\n border-width: 0;\n }\n\n *:focus-visible {\n outline: 3px solid var(--accent);\n outline-offset: 3px;\n border-radius: 12px;\n }\n\n .accessify-trigger {\n position: fixed;\n ${a?"bottom: 20px":"top: 20px"};\n ${n?"right: 20px":"left: 20px"};\n z-index: ${i};\n width: 60px;\n height: 60px;\n border: none;\n border-radius: 20px;\n background: linear-gradient(180deg, #1681f2 0%, #0e6bd8 100%);\n color: #ffffff;\n cursor: pointer;\n display: flex;\n align-items: center;\n justify-content: center;\n box-shadow: 0 18px 36px rgba(14, 107, 216, 0.28);\n transition: transform var(--transition-fast), box-shadow var(--transition-fast), opacity var(--transition-fast);\n }\n\n .accessify-trigger:hover {\n transform: translateY(-1px);\n box-shadow: 0 20px 40px rgba(14, 107, 216, 0.32);\n }\n\n .accessify-trigger:active {\n transform: scale(0.98);\n }\n\n .accessify-trigger[aria-expanded="true"] {\n opacity: 0;\n pointer-events: none;\n transform: scale(0.92);\n }\n\n .accessify-trigger svg {\n width: 28px;\n height: 28px;\n }\n\n .accessify-panel {\n position: fixed;\n top: 0;\n bottom: 0;\n ${n?"right: 0":"left: 0"};\n z-index: ${i-1};\n width: min(440px, 100vw);\n height: 100vh;\n display: flex;\n flex-direction: column;\n overflow: hidden;\n border-radius: ${n?"28px 0 0 28px":"0 28px 28px 0"};\n ${n?"border-left":"border-right"}: 1px solid var(--border);\n background: linear-gradient(180deg, var(--surface-strong) 0%, var(--surface) 100%);\n color: var(--text);\n box-shadow: var(--shadow-lg);\n transition: opacity var(--transition-normal), transform var(--transition-normal);\n }\n\n .accessify-panel[aria-hidden="true"] {\n opacity: 0;\n transform: ${n?"translateX(24px)":"translateX(-24px)"};\n pointer-events: none;\n display: none;\n }\n\n .accessify-panel[aria-hidden="false"] {\n opacity: 1;\n transform: translateX(0);\n }\n\n .accessify-header {\n position: sticky;\n top: 0;\n z-index: 1;\n display: grid;\n gap: var(--space-4);\n padding: var(--space-6) var(--space-6) var(--space-5);\n border-bottom: 1px solid var(--border);\n background: color-mix(in srgb, var(--surface-strong) 94%, transparent);\n backdrop-filter: blur(16px);\n }\n\n .accessify-header-top {\n display: flex;\n align-items: flex-start;\n justify-content: space-between;\n gap: var(--space-4);\n }\n\n .accessify-header-title {\n display: grid;\n gap: 6px;\n }\n\n .accessify-header h2 {\n font-size: var(--text-xl);\n font-weight: var(--font-bold);\n line-height: 1.08;\n letter-spacing: -0.02em;\n color: var(--text);\n }\n\n .accessify-header p {\n color: var(--text-secondary);\n font-size: var(--text-sm);\n max-width: 34ch;\n }\n\n .accessify-header-toolbar {\n display: grid;\n grid-template-columns: minmax(0, 1fr) auto;\n align-items: center;\n gap: var(--space-3);\n }\n\n .accessify-language-picker {\n position: relative;\n display: inline-flex;\n align-items: center;\n gap: 10px;\n min-width: 0;\n min-height: 48px;\n padding: 0 14px;\n border-radius: 16px;\n border: 1px solid var(--border);\n background: var(--surface-strong);\n color: var(--text);\n }\n\n .accessify-language-icon {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n color: var(--accent-strong);\n flex-shrink: 0;\n }\n\n .accessify-language-icon svg {\n width: 16px;\n height: 16px;\n }\n\n .accessify-language-select {\n appearance: none;\n width: 100%;\n border: none;\n background: transparent;\n color: var(--text);\n padding: 12px 0;\n font-size: var(--text-sm);\n font-weight: var(--font-medium);\n cursor: pointer;\n min-width: 0;\n }\n\n .accessify-language-select option {\n color: #152031;\n }\n\n .accessify-header-btn {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n gap: 8px;\n min-height: 48px;\n padding: 0 16px;\n border: 1px solid var(--border);\n border-radius: 16px;\n background: var(--surface-strong);\n color: var(--text);\n cursor: pointer;\n font-size: var(--text-sm);\n font-weight: var(--font-semibold);\n transition: background var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast);\n }\n\n .accessify-header-btn:hover {\n background: var(--surface-muted);\n border-color: var(--border-strong);\n transform: translateY(-1px);\n }\n\n .accessify-header-btn--secondary {\n background: var(--surface-muted);\n }\n\n .accessify-header-btn svg {\n width: 16px;\n height: 16px;\n }\n\n .accessify-header-btn--icon {\n width: 48px;\n min-width: 48px;\n padding-inline: 0;\n flex-shrink: 0;\n }\n\n .accessify-status {\n display: flex;\n align-items: center;\n justify-content: space-between;\n gap: var(--space-3);\n padding: 14px var(--space-6);\n border-bottom: 1px solid var(--border);\n background: linear-gradient(180deg, var(--accent-soft) 0%, transparent 100%);\n }\n\n .accessify-status-count {\n display: inline-flex;\n align-items: center;\n gap: 8px;\n min-height: 36px;\n padding: 0 14px;\n border-radius: var(--radius-pill);\n background: var(--accent-soft);\n color: var(--accent-strong);\n font-size: var(--text-sm);\n font-weight: var(--font-semibold);\n }\n\n .accessify-status-count[data-count="0"] {\n background: var(--surface-muted);\n color: var(--text-secondary);\n }\n\n .accessify-status-reset {\n border: none;\n background: none;\n color: var(--text-secondary);\n cursor: pointer;\n font-size: var(--text-sm);\n font-weight: var(--font-medium);\n padding: 8px 0;\n transition: color var(--transition-fast);\n }\n\n .accessify-status-reset:hover {\n color: var(--accent-strong);\n }\n\n .accessify-body {\n flex: 1 1 auto;\n display: grid;\n gap: var(--space-4);\n padding: var(--space-4);\n overflow-y: auto;\n overscroll-behavior: contain;\n background: var(--surface);\n }\n\n .accessify-section {\n display: grid;\n gap: var(--space-4);\n padding: var(--space-5);\n border-radius: var(--radius-xl);\n border: 1px solid var(--border);\n background: var(--surface-strong);\n box-shadow: var(--shadow-sm);\n }\n\n .accessify-section--priority {\n background: linear-gradient(180deg, var(--surface-strong) 0%, var(--surface-muted) 100%);\n }\n\n .accessify-section-head {\n display: grid;\n gap: 6px;\n }\n\n .accessify-section-head h3 {\n font-size: var(--text-lg);\n font-weight: var(--font-bold);\n line-height: 1.15;\n color: var(--text);\n }\n\n .accessify-section-head p {\n color: var(--text-secondary);\n font-size: var(--text-sm);\n line-height: 1.45;\n max-width: 46ch;\n }\n\n .accessify-control-grid {\n display: grid;\n grid-template-columns: repeat(2, minmax(0, 1fr));\n gap: var(--space-3);\n }\n\n .accessify-control-card {\n display: grid;\n gap: var(--space-4);\n min-height: 176px;\n padding: var(--space-4);\n border-radius: 22px;\n border: 1px solid var(--border);\n background: var(--surface-muted);\n }\n\n .accessify-control-copy {\n display: grid;\n grid-template-columns: auto 1fr;\n gap: var(--space-3);\n align-items: start;\n }\n\n .accessify-control-copy h4 {\n font-size: var(--text-base);\n font-weight: var(--font-bold);\n color: var(--text);\n }\n\n .accessify-control-copy p {\n margin-top: 4px;\n color: var(--text-secondary);\n font-size: var(--text-sm);\n line-height: 1.45;\n }\n\n .accessify-chip-group {\n display: flex;\n flex-wrap: wrap;\n gap: 10px;\n }\n\n .accessify-chip {\n min-height: 42px;\n padding: 0 14px;\n border-radius: 16px;\n border: 1px solid var(--border);\n background: var(--surface-strong);\n color: var(--text);\n cursor: pointer;\n font-size: var(--text-sm);\n font-weight: var(--font-semibold);\n display: inline-flex;\n align-items: center;\n justify-content: center;\n transition: transform var(--transition-fast), background var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);\n }\n\n .accessify-chip:hover {\n transform: translateY(-1px);\n border-color: var(--border-strong);\n background: var(--surface);\n }\n\n .accessify-chip[data-active="true"] {\n background: linear-gradient(180deg, var(--accent) 0%, var(--accent-strong) 100%);\n color: var(--text-on-accent);\n border-color: var(--accent);\n box-shadow: 0 12px 20px rgba(14, 107, 216, 0.2);\n }\n\n .accessify-chip-group--sizes .accessify-chip {\n min-width: 68px;\n }\n\n .accessify-features {\n display: grid;\n grid-template-columns: repeat(2, minmax(0, 1fr));\n gap: var(--space-3);\n }\n\n .accessify-card {\n position: relative;\n display: grid;\n align-content: start;\n gap: 12px;\n min-height: 164px;\n padding: var(--space-4);\n border-radius: 24px;\n border: 1px solid var(--border);\n background: var(--surface-strong);\n color: var(--text);\n cursor: pointer;\n text-align: left;\n font-family: inherit;\n font-size: inherit;\n transition: transform var(--transition-fast), border-color var(--transition-fast), background var(--transition-fast), box-shadow var(--transition-fast);\n }\n\n .accessify-card:hover {\n transform: translateY(-2px);\n border-color: color-mix(in srgb, var(--accent) 28%, var(--border));\n box-shadow: var(--shadow-sm);\n }\n\n .accessify-card[data-active="true"] {\n border-color: color-mix(in srgb, var(--accent) 48%, var(--border));\n background: linear-gradient(180deg, var(--accent-soft) 0%, var(--surface-strong) 100%);\n box-shadow: 0 16px 30px rgba(14, 107, 216, 0.12);\n }\n\n .accessify-card[data-active="true"]::after {\n content: '';\n position: absolute;\n top: 14px;\n right: 14px;\n width: 22px;\n height: 22px;\n border-radius: 999px;\n background: var(--accent);\n mask-image: url("data:image/svg+xml,${Pi}");\n mask-size: 12px;\n mask-repeat: no-repeat;\n mask-position: center;\n -webkit-mask-image: url("data:image/svg+xml,${Pi}");\n -webkit-mask-size: 12px;\n -webkit-mask-repeat: no-repeat;\n -webkit-mask-position: center;\n }\n\n .accessify-card-top {\n display: flex;\n align-items: center;\n justify-content: space-between;\n gap: var(--space-2);\n }\n\n .accessify-card-icon {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n width: 52px;\n height: 52px;\n border-radius: 18px;\n background: var(--surface-tint);\n color: var(--accent-strong);\n box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16);\n }\n\n .accessify-card-icon svg {\n width: 22px;\n height: 22px;\n }\n\n .accessify-card-label {\n font-size: 16px;\n font-weight: var(--font-bold);\n line-height: 1.22;\n color: var(--text);\n }\n\n .accessify-card-desc {\n color: var(--text-secondary);\n font-size: var(--text-sm);\n line-height: 1.5;\n }\n\n .accessify-footer {\n display: flex;\n align-items: center;\n justify-content: center;\n gap: var(--space-2);\n padding: 16px var(--space-6) 20px;\n border-top: 1px solid var(--border);\n color: var(--text-secondary);\n font-size: var(--text-xs);\n text-align: center;\n background: color-mix(in srgb, var(--surface-strong) 95%, transparent);\n }\n\n .accessify-footer a {\n color: var(--accent-strong);\n text-decoration: none;\n font-weight: var(--font-medium);\n }\n\n .accessify-footer a:hover {\n text-decoration: underline;\n }\n\n @media (prefers-reduced-motion: reduce) {\n *, *::before, *::after {\n animation-duration: 0.01ms !important;\n transition-duration: 0.01ms !important;\n }\n }\n\n @media (max-width: 640px) {\n .accessify-panel {\n width: 100vw;\n border-radius: 0;\n }\n\n .accessify-header,\n .accessify-status,\n .accessify-footer {\n padding-inline: var(--space-4);\n }\n\n .accessify-header {\n padding-top: var(--space-5);\n }\n\n .accessify-header p {\n max-width: none;\n }\n\n .accessify-header-toolbar {\n grid-template-columns: 1fr;\n }\n\n .accessify-body {\n padding: var(--space-3);\n }\n\n .accessify-control-grid,\n .accessify-features {\n grid-template-columns: 1fr;\n }\n\n .accessify-control-card,\n .accessify-card {\n min-height: 0;\n }\n\n .accessify-trigger {\n ${a?"bottom: 16px":"top: 16px"};\n ${n?"right: 16px":"left: 16px"};\n width: 56px;\n height: 56px;\n border-radius: 18px;\n }\n }\n `}(Fi)),n.adoptedStyleSheets=[a];const i=document.createElement("div");function r(e){return Object.getOwnPropertySymbols(e).find(e=>"Symbol(events)"===e.toString())}i.id="accessify-mount",n.appendChild(i),Ki=function(e,{target:t,anchor:n,props:a={},events:i,context:r,intro:o=!0,transformError:s}){!function(){if(void 0===dn){dn=window,un=/Firefox/.test(navigator.userAgent);var e=Element.prototype,t=Node.prototype,n=Text.prototype;fn=se(t,"firstChild").get,pn=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=kn(524352,()=>{var o=n??t.appendChild(gn());new It(o,{pending:()=>{}},t=>{Qe({}),r&&(Ue.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=ma(a);for(const e of[t,document]){var r=_a.get(e);void 0===r&&_a.set(e,r=new Map);var o=r.get(a);void 0===o?(e.addEventListener(a,Sa,{passive:i}),r.set(a,1)):r.set(a,o+1)}}}};return d(re(ya)),ba.add(d),()=>{for(var e of l)for(const n of[t,document]){var a=_a.get(n),i=a.get(e);0==--i?(n.removeEventListener(e,Sa),a.delete(e),0===a.size&&_a.delete(n)):a.set(e,i)}ba.delete(d),o!==n&&o.parentNode?.removeChild(o)}});return(e={})=>new Promise(t=>{e.outro?jn(o,()=>{Ln(o),t(void 0)}):(Ln(o),t(void 0))})}();return za.set(c,l),c}(Ni,{target:i,props:{config:Fi,shadow:n}});const o=["click","input","change","keydown","keyup","focusin","focusout"];for(const s of o)n.addEventListener(s,e=>{let t=e.composedPath()[0],a=!1;for(;t&&t!==n;){const n=r(t);if(n){const i=t[n];i&&"function"==typeof i[s]&&(i[s].call(t,e),a=!0)}if(e.cancelBubble)break;t=t.assignedSlot||t.parentNode||t.host}a&&e.stopImmediatePropagation()},!0);document.body.appendChild(Gi),Fi.onReady?.()}function qi(){Ki&&(function(e){const t=za.get(e);t?(za.delete(e),t(void 0)):Promise.resolve()}(Ki),Ki=null),Gi?.remove(),Gi=null}function Ri(e,...t){const n={init:e=>Di(e),open:()=>Ki?.open?.(),close:()=>Ki?.close?.(),destroy:qi};n[e]?.(...t)}window.__accessify_exec=Ri;const Ui=window.Accessify;Ui?.q&&(Ui.q.forEach(e=>Ri(...e)),Ui.q=[]),window.Accessify=function(e,...t){Ri(e,...t)},window.Accessify._loaded=!0,window.A11yPlus=window.Accessify;const Vi=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"})),Ji=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"})),Yi=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;function d(){return pi()}function u(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(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}),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(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}),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",hi("keyboard.shortcuts",d())),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;">${hi("keyboard.shortcuts",d())}</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;">${hi("keyboard.shortcut",d())}</th>\n <th style="text-align: left; padding: 8px 12px;">${hi("keyboard.action",d())}</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;">${hi("keyboard.nextHeading",d())}</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;">${hi("keyboard.nextLandmark",d())}</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;">${hi("keyboard.toggleHelp",d())}</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;">${hi("keyboard.nextFocusable",d())}</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;">${hi("keyboard.closeOverlay",d())}</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">${hi("widget.close",d())}</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 f(){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=hi("keyboard.skipToContent",d()),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)}(),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")}),document.addEventListener("keydown",u),localStorage.setItem(i,"true")}function p(){e=!1,l=!1,document.removeEventListener("keydown",u),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:f,deactivate:p,getState:()=>({id:"keyboard-nav",enabled:e}),setState:e=>{e.enabled?f():p()}}}},Symbol.toStringTag,{value:"Module"})),Zi=Object.freeze(Object.defineProperty({__proto__:null,default:function(){let e=!1;const t="accessify-focus-highlight",n="accessify-focus-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 focus highlight - WCAG 2.4.7 / 2.4.13 compliance */\n *:focus-visible {\n outline: 3px solid #1a73e8 !important;\n outline-offset: 2px !important;\n box-shadow: 0 0 0 6px rgba(26, 115, 232, 0.3) !important;\n }\n\n /* Override any outline:none that pages may set */\n a:focus-visible,\n button:focus-visible,\n input:focus-visible,\n select:focus-visible,\n textarea:focus-visible,\n [tabindex]:focus-visible,\n [role="button"]:focus-visible,\n [role="link"]:focus-visible,\n [role="checkbox"]:focus-visible,\n [role="radio"]:focus-visible,\n [role="tab"]:focus-visible,\n [role="menuitem"]:focus-visible,\n [role="option"]:focus-visible,\n [role="switch"]:focus-visible,\n [contenteditable="true"]:focus-visible,\n summary:focus-visible,\n details:focus-visible {\n outline: 3px solid #1a73e8 !important;\n outline-offset: 2px !important;\n box-shadow: 0 0 0 6px rgba(26, 115, 232, 0.3) !important;\n }\n\n /* High contrast mode: use yellow outline for dark backgrounds */\n @media (prefers-color-scheme: dark) {\n *:focus-visible {\n outline-color: #ffdd00 !important;\n box-shadow: 0 0 0 6px rgba(255, 221, 0, 0.3) !important;\n }\n }\n '}(),localStorage.setItem(n,"true")}function i(){e=!1,function(){const e=document.getElementById(t);e?.remove()}(),localStorage.removeItem(n)}return{id:"focus-highlight",name:()=>"Focus Highlight",description:"Add strong visible focus indicators on all focusable elements (WCAG 2.4.7/2.4.13)",icon:"focus-highlight",category:"motor",activate:a,deactivate:i,getState:()=>({id:"focus-highlight",enabled:e}),setState:e=>{e.enabled?a():i()}}}},Symbol.toStringTag,{value:"Module"})),Xi=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"})),Qi={height:8,opacity:.3},er=Object.freeze(Object.defineProperty({__proto__:null,default:function(){let e=!1,t=null,n=0,a={...Qi};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??Qi.height)),opacity:Math.min(1,Math.max(.1,e.opacity??Qi.opacity))}}catch{a={...Qi}}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"})),tr=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="accessify-animation-stop",n="accessify-animation-stop";let a=[];function i(){e=!0,function(){let e=document.getElementById(t);e||(e=document.createElement("style"),e.id=t,document.head.appendChild(e)),e.textContent="\n /* accessify animation stop - WCAG 2.3.1 compliance */\n *, *::before, *::after {\n animation-duration: 0.01s !important;\n animation-delay: 0s !important;\n animation-iteration-count: 1 !important;\n animation-play-state: paused !important;\n transition-duration: 0.01s !important;\n transition-delay: 0s !important;\n scroll-behavior: auto !important;\n }\n "}(),function(){const e=document.querySelectorAll("video[autoplay], video");a=[],e.forEach(e=>{e.paused||(e.pause(),a.push(e))})}(),localStorage.setItem(n,"true")}function r(){e=!1,function(){const e=document.getElementById(t);e?.remove()}(),a.forEach(e=>{try{e.play()}catch{}}),a=[],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:i,deactivate:r,getState:()=>({id:"animation-stop",enabled:e}),setState:e=>{e.enabled?i():r()}}}},Symbol.toStringTag,{value:"Module"})),ar=Object.freeze(Object.defineProperty({__proto__:null,default:function(){let e=!1;const t="accessify-hide-images";return{id:"hide-images",name:()=>"Hide Images",description:"Remove images for distraction-free reading",icon:"hide-images",category:"visual",activate:function(){e=!0;let n=document.getElementById(t);n||(n=document.createElement("style"),n.id=t,document.head.appendChild(n)),n.textContent='\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 '},deactivate:function(){e=!1,document.getElementById(t)?.remove()},getState:()=>({id:"hide-images",enabled:e})}}},Symbol.toStringTag,{value:"Module"}));function ir(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 rr=Object.freeze(Object.defineProperty({__proto__:null,default:function(){let e=!1,t="48";const n="accessify-big-cursor",a="accessify-big-cursor",i={48:ir(48),64:ir(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"})),or=Object.freeze(Object.defineProperty({__proto__:null,default:function(){let e=!1,t=null;const n="accessify-page-structure";function a(){return pi()}function i(e){return e.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}function r(){e=!1,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,function(){t=document.createElement("div"),t.id=n,t.setAttribute("role","dialog"),t.setAttribute("aria-label",hi("pageStructure.title",a()));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}(),o=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}(),s={h1:"0",h2:"12px",h3:"24px",h4:"36px",h5:"48px",h6:"60px"};let c=`\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="${hi("widget.close",a())}">&times;</button>\n <h3>${hi("pageStructure.title",a())}</h3>\n `;e.length>0&&(c+=`<div class="ps-section"><div class="ps-label">${hi("pageStructure.headings",a())}</div>`,e.forEach((e,t)=>{c+=`<button class="ps-item" data-type="heading" data-index="${t}" style="padding-left:${s[e.tag]||"0"}">\n <span class="ps-tag">${e.tag}</span>${i(e.text.slice(0,80))}\n </button>`}),c+="</div>"),o.length>0&&(c+=`<div class="ps-section"><div class="ps-label">${hi("pageStructure.landmarks",a())}</div>`,o.forEach((e,t)=>{c+=`<button class="ps-item" data-type="landmark" data-index="${t}">\n <span class="ps-tag">${i(e.role)}</span>${i(e.label.slice(0,60))}\n </button>`}),c+="</div>"),0===e.length&&0===o.length&&(c+=`<p style="color:#888">${hi("pageStructure.empty",a())}</p>`),t.innerHTML=c,t.addEventListener("click",t=>{const n=t.target.closest(".ps-item");if(n){const t=n.dataset.type,a=parseInt(n.dataset.index||"0",10);let i;"heading"===t?i=e[a]?.el:"landmark"===t&&(i=o[a]?.el),i&&(i.scrollIntoView({behavior:"smooth",block:"center"}),i.focus({preventScroll:!0}))}t.target.closest(".ps-close")&&r()}),document.body.appendChild(t);const l=t.querySelector(".ps-item, .ps-close");l?.focus()}()},deactivate:r,getState:()=>({id:"page-structure",enabled:e})}}},Symbol.toStringTag,{value:"Module"})),sr={speed:1},cr=Object.freeze(Object.defineProperty({__proto__:null,default:function(){let e=!1,t={...sr},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",g="accessify-tts-highlight";function h(){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 m(){speechSynthesis.cancel(),i=!1,r=!1,s=[],c=0,b(),k()}function v(e,n){if(m(),!e.trim())return;var o;n&&(o=n,b(),o.classList.add(g),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);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,k(),y()}function y(){if(c>=s.length)return i=!1,r=!1,b(),void k();const e=s[c];e.onend=()=>{c++,c<s.length&&i?setTimeout(()=>y(),50):(i=!1,r=!1,b(),k())},e.onerror=e=>{i=!1,r=!1,b(),k()},speechSynthesis.speak(e)}function b(){a&&(a.classList.remove(g),a=null),document.querySelectorAll(`.${g}`).forEach(e=>e.classList.remove(g))}function x(t){if(!e||!o)return;const a=t.target;if(!a)return;if(n?.contains(a))return;t.preventDefault(),t.stopPropagation();const i=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(!i)return;const r=w(i);r.trim()&&v(r,i)}function w(e){return(e.innerText||e.textContent||"").trim()}function k(){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 S(){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??sr.speed))}catch{t={...sr}}}(),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"}(),h(),l||void 0===speechSynthesis.onvoiceschanged||(speechSynthesis.onvoiceschanged=()=>{h()}),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 .${g} {\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),k())});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",()=>{m()});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`,S();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 g=document.createElement("span");return Object.assign(g.style,{position:"absolute",width:"1px",height:"1px",padding:"0",margin:"-1px",overflow:"hidden",clip:"rect(0,0,0,0)",whiteSpace:"nowrap",border:"0"}),g.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(g),e}(),document.documentElement.appendChild(n),o=!0,document.addEventListener("click",x,!0))},deactivate:function(){e=!1,m(),document.removeEventListener("click",x,!0),o=!1,n&&(n.remove(),n=null),b(),function(){const e=document.getElementById(p);e?.remove()}(),void 0!==speechSynthesis.onvoiceschanged&&(speechSynthesis.onvoiceschanged=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)),S();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"})),lr=Object.freeze(Object.defineProperty({__proto__:null,default:function(e,t="de"){let n=!1,a="einfache",i=[],r=null,o=null;const s="accessify-text-simplify",c="data-accessify-simplified",l="data-accessify-original";function d(e){e.style.opacity="0.5",e.style.transition="opacity 0.3s ease"}function u(e){e.style.opacity="",e.style.transition=""}function f(e,n){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 a=Math.round(e/n*100),i=t.startsWith("de")?`Wird vereinfacht... ${e}/${n} (${a}%)`:`Simplifying... ${e}/${n} (${a}%)`;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> ${i}`,!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(){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(){const e=localStorage.getItem(s);if(e)try{const t=JSON.parse(e);"einfache"!==t.level&&"leichte"!==t.level||(a=t.level)}catch{}}(),async function(){if(!e)return f(0,1),n=t.startsWith("de")?"Kein API-Key konfiguriert":"No API key configured",void(o&&(o.innerHTML=`<span style="color:#ef4444">✕</span> ${n}`,o.style.color="#ef4444",setTimeout(()=>p(),5e3)));var n;const s=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===s.length)return;r=new AbortController,i=[];for(const e of s)i.push({el:e,originalText:e.textContent||""}),e.setAttribute(l,e.innerHTML),d(e);f(0,s.length);let g=0,h=0;for(const i of s){if(r.signal.aborted)break;const n=i.textContent?.trim()||"";if(n.length<20)u(i),g++,f(g,s.length);else try{const o=await e.simplifyText(n,a,t);if(r?.signal.aborted)return;o&&o!==n&&(i.textContent=o,i.setAttribute(c,"true"),h++)}catch(m){if(m?.message?.includes("429")){await new Promise(e=>setTimeout(e,8e3));try{const o=await e.simplifyText(n,a,t);if(r?.signal.aborted)return;o&&o!==n&&(i.textContent=o,i.setAttribute(c,"true"),h++)}catch{}}}finally{u(i),g++,r?.signal.aborted||f(g,s.length)}}r?.signal.aborted||function(e){if(o){const n=t.startsWith("de")?`${e} Textabschnitte vereinfacht`:`${e} text sections simplified`;o.innerHTML=`<span style="color:#22c55e">✓</span> ${n}`,o.style.color="#22c55e",setTimeout(()=>p(),3e3)}}(h)}())},deactivate:function(){n=!1,r?.abort(),r=null,function(){for(const{el:e}of i){const t=e.getAttribute(l);null!==t&&(e.innerHTML=t,e.removeAttribute(l),e.removeAttribute(c),u(e))}i=[]}(),p()},getState:()=>({id:"text-simplify",enabled:n,value:{level:a}}),setState:e=>{!e.level||"einfache"!==e.level&&"leichte"!==e.level||(a=e.level,localStorage.setItem(s,JSON.stringify({level:a})))}}}},Symbol.toStringTag,{value:"Module"})),dr=Object.freeze(Object.defineProperty({__proto__:null,default:function(e,t="de"){let n=!1,a=null,i=null,r=null,o=[];const s=new Map,c="accessify-alt-text-styles",l="accessify-alt-missing",d="accessify-alt-badge",u="accessify-alt-panel";function f(){g();const e=o.filter(e=>!s.has(e)||!s.get(e).applied).length;0===e&&o.length>0?p(t.startsWith("de")?"Alle Bilder haben Alt-Text!":"All images have alt text!","#2a9d8f",0):0!==e&&p(t.startsWith("de")?`${e} ${1===e?"Bild":"Bilder"} ohne Alt-Text`:`${e} ${1===e?"image":"images"} missing alt text`,"#e63946",e)}function p(e,t,n){const a=document.createElement("div");if(a.className=d,a.setAttribute("role","status"),a.setAttribute("aria-live","polite"),n>0){const e=document.createElement("span");e.className=`${d}-count`,e.style.background=t,e.textContent=String(n),a.appendChild(e)}const r=document.createElement("span");r.textContent=e,a.appendChild(r),document.body.appendChild(a),i=a}function g(){i?.remove(),i=null}function h(e){e.preventDefault(),e.stopPropagation(),function(e){b();const n=document.createElement("div");n.className=u,n.setAttribute("role","dialog"),n.setAttribute("aria-label",t.startsWith("de")?"Alt-Text erzeugen":"Generate Alt Text");const a=e.getBoundingClientRect(),i=a.bottom+window.scrollY+8,o=Math.min(Math.max(8,a.left+window.scrollX),window.innerWidth-380);n.style.top=`${i}px`,n.style.left=`${o}px`;const c=document.createElement("div");c.className=`${u}-header`;const l=document.createElement("h3");l.textContent=t.startsWith("de")?"Alt-Text erzeugen":"Generate Alt Text";const d=document.createElement("button");d.className=`${u}-close`,d.setAttribute("aria-label",t.startsWith("de")?"Schließen":"Close"),d.innerHTML="&times;",d.addEventListener("click",()=>b()),c.appendChild(l),c.appendChild(d),n.appendChild(c);const f=document.createElement("div");f.className=`${u}-disclaimer`,f.textContent=t.startsWith("de")?"KI-generiert – bitte überprüfen":"AI-generated – please review",n.appendChild(f);const p=document.createElement("img");p.className=`${u}-preview`,p.src=e.src,p.alt="Preview of image being described",n.appendChild(p);const g=s.get(e);g&&g.generatedAlt?v(n,e,g.generatedAlt,g.applied):m(n,e),document.body.appendChild(n),r=n,d.focus();const h=e=>{"Escape"===e.key&&(b(),document.removeEventListener("keydown",h))};document.addEventListener("keydown",h)}(e.currentTarget)}async function m(n,a){if(!e)return void y(n,t.startsWith("de")?"Bitte konfigurieren Sie einen OpenRouter API-Schlüssel, um KI-generierte Bildbeschreibungen zu nutzen.":"Please configure an OpenRouter API key to use AI alt-text generation.");const i=document.createElement("div");i.className=`${u}-spinner`,i.textContent=t.startsWith("de")?"Alt-Text wird erzeugt...":"Generating alt text...",n.appendChild(i);try{const r=function(e){const t=[];e.title&&t.push(`Title: ${e.title}`);try{const n=new URL(e.src,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;if(a){const e=a.querySelector("h1, h2, h3, h4, h5, h6");e?.textContent?.trim()&&t.push(`Nearby heading: ${e.textContent.trim()}`)}const i=e.getAttribute("aria-describedby");if(i){const e=document.getElementById(i);e?.textContent?.trim()&&t.push(`Description: ${e.textContent.trim()}`)}return t.join(". ")}(a),o=await e.generateAltText(a.src,r);if(i.remove(),!o)return void y(n,t.startsWith("de")?"Keine Beschreibung erhalten. Bitte versuchen Sie es erneut.":"No description received. Please try again.");s.set(a,{element:a,generatedAlt:o,applied:!1}),v(n,a,o,!1)}catch(r){i.remove(),y(n,r instanceof Si?t.startsWith("de")?"Kostenlose API-Grenze erreicht. Bitte versuchen Sie es in einer Minute erneut oder hinterlegen Sie einen eigenen API-Schlüssel.":"Free tier rate limit reached. Please try again in a minute or configure your own API key.":(r?.message||"").includes("401")?t.startsWith("de")?"OpenRouter API-Schlüssel fehlt oder ungültig. Erstellen Sie einen kostenlosen Key auf openrouter.ai und übergeben Sie ihn als openRouterKey in der Widget-Konfiguration.":"OpenRouter API key missing or invalid. Create a free key at openrouter.ai and pass it as openRouterKey in the widget config.":t.startsWith("de")?"Fehler beim Erzeugen des Alt-Texts. Bitte versuchen Sie es erneut.":"Error generating alt text. Please try again.")}}function v(e,n,a,i){e.querySelectorAll(`.${u}-textarea, .${u}-actions, .${u}-error, .${u}-spinner`).forEach(e=>e.remove());const r=document.createElement("textarea");r.className=`${u}-textarea`,r.value=a,r.readOnly=!0,r.setAttribute("aria-label",t.startsWith("de")?"Alt-Text Beschreibung":"Alt text description"),e.appendChild(r);const o=document.createElement("div");o.className=`${u}-actions`;const c=document.createElement("button");c.textContent=t.startsWith("de")?"Bearbeiten":"Edit",c.addEventListener("click",()=>{if(r.readOnly=!r.readOnly,r.readOnly){c.textContent=t.startsWith("de")?"Bearbeiten":"Edit";const e=s.get(n);e&&(e.generatedAlt=r.value)}else r.focus(),c.textContent=t.startsWith("de")?"Fertig":"Done"});const l=document.createElement("button");l.textContent=t.startsWith("de")?"Neu erzeugen":"Regenerate",l.addEventListener("click",()=>{s.delete(n),r.remove(),o.remove(),m(e,n)});const d=document.createElement("button");d.classList.add(i?"success":"primary"),d.textContent=i?t.startsWith("de")?"Angewendet":"Applied":t.startsWith("de")?"Übernehmen":"Apply",d.addEventListener("click",()=>{const e=r.value.trim();if(!e)return;n.alt=e,n.setAttribute("alt",e);const a=s.get(n)||{element:n,generatedAlt:e,applied:!1};a.applied=!0,a.generatedAlt=e,s.set(n,a),n.classList.add("accessify-alt-processed"),d.classList.remove("primary"),d.classList.add("success"),d.textContent=t.startsWith("de")?"Angewendet!":"Applied!",f(),setTimeout(()=>b(),1200)}),o.appendChild(c),o.appendChild(l),o.appendChild(d),e.appendChild(o)}function y(e,t){const n=document.createElement("div");n.className=`${u}-error`,n.setAttribute("role","alert"),n.textContent=t,e.appendChild(n)}function b(){r?.remove(),r=null}return{id:"alt-text",name:()=>t.startsWith("de")?"Alt-Text erzeugen":"Alt-Text Generator",description:t.startsWith("de")?"Bildbeschreibungen automatisch erstellen":"Auto-generate image descriptions",icon:"alt-text",category:"ai",activate:function(){n||(n=!0,document.getElementById(c)||(a=document.createElement("style"),a.id=c,a.textContent=`\n .${l} {\n outline: 3px dashed #e63946 !important;\n outline-offset: 3px !important;\n position: relative !important;\n cursor: pointer !important;\n transition: outline-color 0.2s ease !important;\n }\n .${l}:hover {\n outline-color: #f77f00 !important;\n outline-style: solid !important;\n }\n .${l}::after {\n content: 'ALT';\n position: absolute;\n top: 4px;\n left: 4px;\n padding: 2px 6px;\n background: #e63946;\n color: #fff;\n font-family: system-ui, -apple-system, sans-serif;\n font-size: 10px;\n font-weight: 700;\n border-radius: 3px;\n line-height: 1.4;\n pointer-events: none;\n z-index: 1;\n }\n\n .${l}.accessify-alt-processed {\n outline-color: #2a9d8f !important;\n outline-style: solid !important;\n }\n .${l}.accessify-alt-processed::after {\n content: '\\2713 ALT';\n background: #2a9d8f;\n }\n\n .${d} {\n position: fixed;\n top: 12px;\n right: 12px;\n z-index: 2147483646;\n display: flex;\n align-items: center;\n gap: 6px;\n padding: 8px 14px;\n background: #1a1a2e;\n color: #f0f0f0;\n border-radius: 8px;\n box-shadow: 0 4px 16px rgba(0,0,0,0.3);\n font-family: system-ui, -apple-system, sans-serif;\n font-size: 13px;\n user-select: none;\n animation: accessify-alt-fade-in 0.2s ease;\n }\n .${d}-count {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n min-width: 22px;\n height: 22px;\n padding: 0 6px;\n background: #e63946;\n color: #fff;\n font-size: 12px;\n font-weight: 700;\n border-radius: 11px;\n }\n\n .${u} {\n position: absolute;\n z-index: 2147483646;\n width: 360px;\n max-width: 90vw;\n padding: 16px;\n background: #1a1a2e;\n color: #f0f0f0;\n border-radius: 12px;\n box-shadow: 0 8px 32px rgba(0,0,0,0.4);\n font-family: system-ui, -apple-system, sans-serif;\n font-size: 14px;\n line-height: 1.5;\n animation: accessify-alt-fade-in 0.2s ease;\n }\n .${u}-header {\n display: flex;\n justify-content: space-between;\n align-items: center;\n margin-bottom: 10px;\n }\n .${u}-header h3 {\n margin: 0;\n font-size: 14px;\n font-weight: 600;\n color: #4ea8de;\n }\n .${u}-close {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n width: 24px;\n height: 24px;\n padding: 0;\n border: none;\n border-radius: 4px;\n background: transparent;\n color: #888;\n font-size: 16px;\n cursor: pointer;\n }\n .${u}-close:hover { color: #fff; background: rgba(255,255,255,0.1); }\n .${u}-close:focus-visible { outline: 2px solid #4ea8de; outline-offset: 1px; }\n\n .${u}-disclaimer {\n padding: 6px 10px;\n margin-bottom: 10px;\n background: rgba(255,193,7,0.1);\n border: 1px solid rgba(255,193,7,0.25);\n border-radius: 6px;\n font-size: 11px;\n color: #ffd166;\n }\n\n .${u}-preview {\n max-width: 100%;\n max-height: 120px;\n border-radius: 6px;\n margin-bottom: 10px;\n object-fit: contain;\n background: rgba(255,255,255,0.05);\n }\n\n .${u}-textarea {\n width: 100%;\n min-height: 60px;\n padding: 10px;\n border: 1px solid rgba(255,255,255,0.15);\n border-radius: 8px;\n background: rgba(255,255,255,0.04);\n color: #f0f0f0;\n font-family: inherit;\n font-size: 13px;\n line-height: 1.5;\n resize: vertical;\n margin-bottom: 10px;\n box-sizing: border-box;\n }\n .${u}-textarea:focus {\n border-color: #4ea8de;\n outline: none;\n }\n .${u}-textarea:read-only {\n opacity: 0.7;\n cursor: default;\n }\n\n .${u}-actions {\n display: flex;\n gap: 6px;\n justify-content: flex-end;\n }\n .${u}-actions button {\n padding: 6px 14px;\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 font-size: 12px;\n cursor: pointer;\n transition: background 0.15s ease;\n }\n .${u}-actions button:hover { background: rgba(255,255,255,0.18); }\n .${u}-actions button:focus-visible { outline: 2px solid #4ea8de; outline-offset: 1px; }\n .${u}-actions button.primary {\n background: rgba(78,168,222,0.2);\n color: #4ea8de;\n border-color: rgba(78,168,222,0.3);\n }\n .${u}-actions button.primary:hover { background: rgba(78,168,222,0.35); }\n .${u}-actions button.success {\n background: rgba(42,157,143,0.2);\n color: #2a9d8f;\n border-color: rgba(42,157,143,0.3);\n }\n .${u}-actions button.success:hover { background: rgba(42,157,143,0.35); }\n\n .${u}-spinner {\n display: flex;\n align-items: center;\n gap: 10px;\n padding: 16px 0;\n justify-content: center;\n color: #888;\n font-size: 13px;\n }\n .${u}-spinner::before {\n content: '';\n width: 18px;\n height: 18px;\n border: 2px solid rgba(78,168,222,0.3);\n border-top-color: #4ea8de;\n border-radius: 50%;\n animation: accessify-alt-spin 0.6s linear infinite;\n }\n\n .${u}-error {\n padding: 10px;\n background: rgba(220,53,69,0.12);\n border: 1px solid rgba(220,53,69,0.3);\n border-radius: 8px;\n color: #f0a0a8;\n font-size: 13px;\n margin-bottom: 10px;\n }\n\n @keyframes accessify-alt-fade-in {\n from { opacity: 0; transform: translateY(4px); }\n to { opacity: 1; transform: translateY(0); }\n }\n @keyframes accessify-alt-spin {\n to { transform: rotate(360deg); }\n }\n `,document.head.appendChild(a)),o=function(){const e=document.querySelectorAll("img"),t=[];return e.forEach(e=>{if(e.closest("#accessify-root"))return;if(e.width<20||e.height<20)return;const n=e.getAttribute("alt");null!==n&&""!==n.trim()||t.push(e)}),t}(),o.forEach(e=>{e.classList.add(l),s.has(e)&&s.get(e).applied&&e.classList.add("accessify-alt-processed"),e.addEventListener("click",h)}),f())},deactivate:function(){n=!1,b(),o.forEach(e=>{e.classList.remove(l,"accessify-alt-processed"),e.removeEventListener("click",h)}),o=[],g(),a?.remove(),a=null,document.getElementById(c)?.remove()},getState:()=>({id:"alt-text",enabled:n,value:{missingCount:o.length,processedCount:s.size,appliedCount:[...s.values()].filter(e=>e.applied).length}})}}},Symbol.toStringTag,{value:"Module"}));let ur=null;const fr=Object.freeze(Object.defineProperty({__proto__:null,default:function(e="de"){let t=!1,n=null,a=null,i=null,r=!1;const o="accessify-scan-styles",s="accessify-scan-panel";function c(t){t.innerHTML="";const n=document.createElement("div");n.className=`${s}-spinner`;const a=document.createElement("span");a.textContent=e.startsWith("de")?"Seite wird auf Barrierefreiheit geprüft...":"Scanning page for accessibility issues...",n.appendChild(a);const i=document.createElement("span");i.style.fontSize="12px",i.style.color="#666",i.textContent=e.startsWith("de")?"axe-core wird geladen und analysiert die Seite":"Loading axe-core and analyzing the page",n.appendChild(i),t.appendChild(n)}async function l(t,n){r=!0;try{const a=await async function(){await async function(){if(!ur){if(!window.axe)return new Promise((e,t)=>{const n=document.createElement("script");n.src="https://cdnjs.cloudflare.com/ajax/libs/axe-core/4.10.2/axe.min.js",n.crossOrigin="anonymous",n.onload=()=>{ur=window.axe,ur?e():t(new Error("axe-core loaded but not available on window"))},n.onerror=()=>t(new Error("Failed to load axe-core")),document.head.appendChild(n)});ur=window.axe}}();const e=await ur.run(document,{exclude:["#accessify-root"],runOnly:{type:"tag",values:["wcag2a","wcag2aa","wcag21a","wcag21aa","best-practice"]}}),t={violations:e.violations.map(e=>{return{id:e.id,impact:e.impact||"minor",description:e.description,helpUrl:e.helpUrl,nodes:e.nodes.length,wcagCriteria:(t=e.tags,t.filter(e=>/^wcag\d/.test(e)||e.startsWith("best-practice")))};var t}),passes:e.passes.length,count:e.passes.length+e.violations.length,timestamp:Date.now()};return i=t,t}();r=!1,function(t,n,a){if(t.innerHTML="",0===a.violations.length){const i=document.createElement("div");return i.className=`${s}-empty`,i.innerHTML=`\n <span class="checkmark" aria-hidden="true">&#10003;</span>\n ${e.startsWith("de")?"Keine Probleme gefunden!":"No issues found!"}\n `,t.appendChild(i),d(t,a),void u(n,a)}d(t,a);const i={critical:[],serious:[],moderate:[],minor:[]};a.violations.forEach(e=>{const t=e.impact||"minor";i[t]?i[t].push(e):i.minor.push(e)});const r={critical:{de:"Kritisch",en:"Critical"},serious:{de:"Schwerwiegend",en:"Serious"},moderate:{de:"Mittel",en:"Moderate"},minor:{de:"Gering",en:"Minor"}};for(const[o,c]of Object.entries(i)){if(0===c.length)continue;const n=document.createElement("div");n.className=`${s}-group`,n.setAttribute("data-impact",o);const a=document.createElement("div");a.className=`${s}-group-header`;const i=document.createElement("span");i.textContent="▼",i.style.fontSize="10px",i.style.transition="transform 0.15s ease";const l=document.createElement("span"),d=e.startsWith("de")?"de":"en";l.textContent=r[o]?.[d]||o;const u=document.createElement("span");u.className="count",u.textContent=String(c.length),a.appendChild(i),a.appendChild(l),a.appendChild(u);const f=document.createElement("div");let p=!1;a.addEventListener("click",()=>{p=!p,f.style.display=p?"none":"block",i.style.transform=p?"rotate(-90deg)":"rotate(0)"}),c.forEach(t=>{const n=document.createElement("div");n.className=`${s}-violation`;const a=document.createElement("div");a.className=`${s}-violation-desc`,a.textContent=t.description;const i=document.createElement("div");i.className=`${s}-violation-meta`;const r=document.createElement("span");if(r.textContent=e.startsWith("de")?`${t.nodes} ${1===t.nodes?"Element":"Elemente"}`:`${t.nodes} ${1===t.nodes?"element":"elements"}`,i.appendChild(r),t.wcagCriteria.length>0){const e=document.createElement("span");e.textContent=t.wcagCriteria.join(", "),i.appendChild(e)}const o=document.createElement("a");o.href=t.helpUrl,o.target="_blank",o.rel="noopener noreferrer",o.textContent=e.startsWith("de")?"Mehr erfahren":"Learn more",i.appendChild(o),n.appendChild(a),n.appendChild(i),f.appendChild(n)}),n.appendChild(a),n.appendChild(f),t.appendChild(n)}u(n,a)}(t,n,a)}catch(a){r=!1,t.innerHTML="";const i=document.createElement("div");i.style.cssText="padding: 20px; text-align: center; color: #f0a0a8;",i.textContent=e.startsWith("de")?`Fehler beim Scannen: ${a.message}`:`Scan error: ${a.message}`,t.appendChild(i),u(n,null)}}function d(t,n){const a=document.createElement("div");a.className=`${s}-score`;const i=n.count,r=n.passes,o=i>0?Math.round(r/i*100):100;let c="#2a9d8f";o<60?c="#e63946":o<80?c="#f77f00":o<95&&(c="#ffd166");const l=document.createElement("div");l.className=`${s}-score-ring`;const d=2*Math.PI*22;l.innerHTML=`\n <svg width="56" height="56" viewBox="0 0 56 56" aria-hidden="true">\n <circle cx="28" cy="28" r="22" fill="none" stroke="rgba(255,255,255,0.08)" stroke-width="4" />\n <circle cx="28" cy="28" r="22" fill="none" stroke="${c}" stroke-width="4"\n stroke-dasharray="${d}" stroke-dashoffset="${d-o/100*d}" stroke-linecap="round" />\n </svg>\n <div class="score-text" style="color:${c}">${o}%</div>\n `;const u=document.createElement("div");u.className=`${s}-score-details`,u.innerHTML=e.startsWith("de")?`<strong>${r}</strong> von <strong>${i}</strong> Prüfungen bestanden<br>${n.violations.length} ${1===n.violations.length?"Problem":"Probleme"} gefunden`:`<strong>${r}</strong> of <strong>${i}</strong> checks passed<br>${n.violations.length} ${1===n.violations.length?"issue":"issues"} found`,a.appendChild(l),a.appendChild(u),t.insertBefore(a,t.firstChild)}function u(t,n){t.querySelector(`.${s}-footer`)?.remove();const a=document.createElement("div");a.className=`${s}-footer`;const i=document.createElement("div");i.style.display="flex",i.style.gap="6px";const r=document.createElement("button");if(r.classList.add("primary"),r.textContent=e.startsWith("de")?"Erneut prüfen":"Rescan",r.addEventListener("click",()=>{const e=t.querySelector(`.${s}-body`);e&&(c(e),l(e,t))}),i.appendChild(r),n&&n.violations.length>0){const a=n.violations.filter(e=>f[e.id]).length;if(a>0){const r=document.createElement("button");r.classList.add("fix"),r.textContent=e.startsWith("de")?`${a} automatisch beheben`:`Auto-fix ${a} ${1===a?"issue":"issues"}`,r.addEventListener("click",()=>{const a=function(t){const n={fixed:[],skipped:[]},a=e.startsWith("de")?"de":"en";return t.forEach(e=>{const t=f[e.id];if(t)try{t.fix()?n.fixed.push("de"===a?t.labelDe:t.label):n.skipped.push("de"===a?t.labelDe:t.label)}catch{n.skipped.push("de"===a?t.labelDe:t.label)}}),n}(n.violations),i=t.querySelector(`.${s}-body`);i&&function(t,n){t.querySelectorAll(`.${s}-fix-report`).forEach(e=>e.remove());const a=document.createElement("div");a.className=`${s}-fix-report`,a.setAttribute("role","status"),a.setAttribute("aria-live","polite");let i="";n.fixed.length>0&&(i+=`<strong>${e.startsWith("de")?"Behoben:":"Fixed:"}</strong><br>`,i+=n.fixed.map(e=>`&#10003; ${e}`).join("<br>")),n.skipped.length>0&&(i&&(i+="<br><br>"),i+=`<strong>${e.startsWith("de")?"Übersprungen:":"Skipped:"}</strong><br>`,i+=n.skipped.map(e=>`&#8226; ${e}`).join("<br>")),0===n.fixed.length&&0===n.skipped.length&&(i=e.startsWith("de")?"Keine automatisch behebbaren Probleme gefunden.":"No auto-fixable issues found."),a.innerHTML=i,t.insertBefore(a,t.firstChild)}(i,a)}),i.appendChild(r)}}const o=document.createElement("div");if(o.style.display="flex",o.style.gap="6px",n){const t=document.createElement("button");t.textContent=e.startsWith("de")?"JSON exportieren":"Export JSON",t.addEventListener("click",()=>{!function(e){const t={...e,url:window.location.href,generatedBy:"Accessify WCAG Scanner",exportedAt:(new Date).toISOString()},n=JSON.stringify(t,null,2),a=new Blob([n],{type:"application/json"}),i=URL.createObjectURL(a),r=document.createElement("a");r.href=i,r.download=`accessify-scan-${Date.now()}.json`,r.click(),URL.revokeObjectURL(i)}(n)}),o.appendChild(t)}const d=document.createElement("button");d.textContent=e.startsWith("de")?"Schließen":"Close",d.addEventListener("click",()=>p()),o.appendChild(d),a.appendChild(i),a.appendChild(o),t.appendChild(a)}const f={"html-has-lang":{label:"Added lang attribute to <html>",labelDe:"lang-Attribut zu <html> hinzugefügt",fix:()=>function(){const e=document.documentElement;if(e.hasAttribute("lang")&&""!==e.lang.trim())return!1;const t=function(){const e=document.querySelector('meta[http-equiv="content-language"]');if(e?.content)return e.content;const t=document.querySelector('meta[property="og:locale"]');if(t?.content)return t.content.replace("_","-");const n=(document.body.innerText||"").toLowerCase().slice(0,2e3);let a=0,i=0;return["und","der","die","das","ist","nicht","ein","eine","mit","auf"].forEach(e=>{const t=new RegExp(`\\b${e}\\b`,"gi");a+=(n.match(t)||[]).length}),["the","and","is","are","for","not","with","this","that","was"].forEach(e=>{const t=new RegExp(`\\b${e}\\b`,"gi");i+=(n.match(t)||[]).length}),a>i?"de":"en"}();return e.setAttribute("lang",t),!0}()},"document-title":{label:"Added page title",labelDe:"Seitentitel hinzugefügt",fix:()=>function(){let e=document.querySelector("title");if(e&&e.textContent?.trim())return!1;const t=document.querySelector("h1"),n=t?.textContent?.trim()||window.location.hostname||"Untitled Page";return e||(e=document.createElement("title"),document.head.appendChild(e)),e.textContent=n,!0}()},bypass:{label:"Added skip-to-content link",labelDe:"Überspringen-Link hinzugefügt",fix:()=>function(){if(document.querySelector('a[href="#main"], a[href="#content"], a[href="#main-content"], .skip-link, .skip-to-content'))return!1;const t=document.querySelector("main")||document.getElementById("main")||document.getElementById("content")||document.getElementById("main-content");if(!t){const e=document.querySelector("h1, h2");e&&!e.id&&(e.id="accessify-main-content")}const n=t?.id||(t?t.id="accessify-main-content":"accessify-main-content"),a=document.createElement("a");return a.href=`#${n}`,a.textContent=e.startsWith("de")?"Zum Inhalt springen":"Skip to content",a.className="accessify-skip-link",Object.assign(a.style,{position:"absolute",top:"-100px",left:"0",padding:"8px 16px",background:"#1a1a2e",color:"#4ea8de",fontSize:"14px",fontWeight:"600",fontFamily:"system-ui, -apple-system, sans-serif",textDecoration:"none",zIndex:"2147483647",borderRadius:"0 0 8px 0",transition:"top 0.2s ease"}),a.addEventListener("focus",()=>{a.style.top="0"}),a.addEventListener("blur",()=>{a.style.top="-100px"}),document.body.insertBefore(a,document.body.firstChild),!0}()},"link-name":{label:"Added aria-labels to empty links",labelDe:"aria-label zu leeren Links hinzugefügt",fix:()=>function(){const e=document.querySelectorAll("a:not([aria-label]):not([aria-labelledby])");let t=0;return e.forEach(e=>{const n=(e.textContent||"").trim(),a=e.querySelector("img[alt]");if(n||a&&a.alt)return;const i=e.title?.trim(),r=e.href,o=e.querySelector("img"),s=i||(o?o.alt:"")||(r?new URL(r,window.location.href).hostname:"")||"Link";e.setAttribute("aria-label",s),t++}),t>0}()},"button-name":{label:"Added aria-labels to empty buttons",labelDe:"aria-label zu leeren Buttons hinzugefügt",fix:()=>function(){const e=document.querySelectorAll("button:not([aria-label]):not([aria-labelledby])");let t=0;return e.forEach(e=>{if((e.textContent||"").trim())return;const n=e.title?.trim(),a=e.querySelector("img[alt]"),i=e.querySelector("svg"),r=n||(a?a.alt:"")||(i?function(e){const t=e.querySelector("title");if(t?.textContent?.trim())return t.textContent.trim();const n=e.getAttribute("aria-label");return n?.trim()?n.trim():""}(i):"")||function(e){if(!e)return"";const t=e.replace(/[_-]/g," ").replace(/([a-z])([A-Z])/g,"$1 $2").split(/\s+/).filter(e=>e.length>2&&!["btn","button","icon","svg","img","cls","mod"].includes(e.toLowerCase()));return t.length>0?t.slice(0,3).join(" "):""}(e.className)||"Button";e.setAttribute("aria-label",r),t++}),t>0}()},"focus-order-semantics":{label:"Added focus indicators CSS",labelDe:"CSS-Fokus-Indikatoren hinzugefügt",fix:()=>function(){const e="accessify-focus-fix";if(document.getElementById(e))return!1;const t=document.createElement("style");return t.id=e,t.textContent="\n *:focus-visible {\n outline: 3px solid #4ea8de !important;\n outline-offset: 2px !important;\n }\n ",document.head.appendChild(t),!0}()}};function p(){a?.remove(),a=null,document.querySelector(`.${s}-backdrop`)?.remove()}return{id:"auto-scan",name:()=>e.startsWith("de")?"WCAG-Prüfung":"WCAG Scan",description:e.startsWith("de")?"Seite auf Barrierefreiheit prüfen":"Scan page for accessibility issues",icon:"scan",category:"ai",activate:function(){t||(t=!0,function(){p(),document.getElementById(o)||(n=document.createElement("style"),n.id=o,n.textContent=`\n .${s} {\n position: fixed;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n z-index: 2147483646;\n width: 560px;\n max-width: 92vw;\n max-height: 80vh;\n background: #1a1a2e;\n color: #f0f0f0;\n border-radius: 14px;\n box-shadow: 0 12px 48px rgba(0,0,0,0.5);\n font-family: system-ui, -apple-system, sans-serif;\n font-size: 14px;\n line-height: 1.5;\n display: flex;\n flex-direction: column;\n animation: accessify-scan-fade-in 0.25s ease;\n }\n\n .${s}-backdrop {\n position: fixed;\n inset: 0;\n z-index: 2147483645;\n background: rgba(0,0,0,0.4);\n animation: accessify-scan-fade-in 0.2s ease;\n }\n\n .${s}-header {\n display: flex;\n justify-content: space-between;\n align-items: center;\n padding: 16px 20px;\n border-bottom: 1px solid rgba(255,255,255,0.08);\n flex-shrink: 0;\n }\n .${s}-header h2 {\n margin: 0;\n font-size: 16px;\n font-weight: 700;\n color: #f0f0f0;\n }\n .${s}-close {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n width: 28px;\n height: 28px;\n padding: 0;\n border: none;\n border-radius: 6px;\n background: transparent;\n color: #888;\n font-size: 18px;\n cursor: pointer;\n }\n .${s}-close:hover { color: #fff; background: rgba(255,255,255,0.1); }\n .${s}-close:focus-visible { outline: 2px solid #4ea8de; outline-offset: 1px; }\n\n .${s}-body {\n flex: 1;\n overflow-y: auto;\n padding: 16px 20px;\n }\n\n .${s}-score {\n display: flex;\n align-items: center;\n gap: 12px;\n padding: 14px 16px;\n background: rgba(255,255,255,0.04);\n border-radius: 10px;\n margin-bottom: 16px;\n }\n .${s}-score-ring {\n position: relative;\n width: 56px;\n height: 56px;\n flex-shrink: 0;\n }\n .${s}-score-ring svg {\n transform: rotate(-90deg);\n }\n .${s}-score-ring .score-text {\n position: absolute;\n inset: 0;\n display: flex;\n align-items: center;\n justify-content: center;\n font-size: 16px;\n font-weight: 700;\n }\n .${s}-score-details {\n font-size: 13px;\n color: #aaa;\n }\n .${s}-score-details strong {\n color: #f0f0f0;\n font-weight: 600;\n }\n\n .${s}-group {\n margin-bottom: 14px;\n }\n .${s}-group-header {\n display: flex;\n align-items: center;\n gap: 8px;\n padding: 8px 12px;\n border-radius: 8px;\n font-size: 13px;\n font-weight: 600;\n margin-bottom: 6px;\n cursor: pointer;\n user-select: none;\n }\n .${s}-group-header:hover {\n opacity: 0.9;\n }\n .${s}-group-header .count {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n min-width: 20px;\n height: 20px;\n padding: 0 6px;\n border-radius: 10px;\n font-size: 11px;\n font-weight: 700;\n }\n .${s}-group[data-impact="critical"] .${s}-group-header {\n background: rgba(220,53,69,0.12);\n color: #f0a0a8;\n }\n .${s}-group[data-impact="critical"] .count {\n background: rgba(220,53,69,0.3);\n }\n .${s}-group[data-impact="serious"] .${s}-group-header {\n background: rgba(255,152,0,0.12);\n color: #ffcc80;\n }\n .${s}-group[data-impact="serious"] .count {\n background: rgba(255,152,0,0.3);\n }\n .${s}-group[data-impact="moderate"] .${s}-group-header {\n background: rgba(255,193,7,0.12);\n color: #ffd54f;\n }\n .${s}-group[data-impact="moderate"] .count {\n background: rgba(255,193,7,0.3);\n }\n .${s}-group[data-impact="minor"] .${s}-group-header {\n background: rgba(78,168,222,0.12);\n color: #81d4fa;\n }\n .${s}-group[data-impact="minor"] .count {\n background: rgba(78,168,222,0.3);\n }\n\n .${s}-violation {\n padding: 10px 14px;\n margin-bottom: 4px;\n background: rgba(255,255,255,0.03);\n border-radius: 6px;\n border-left: 3px solid rgba(255,255,255,0.1);\n }\n .${s}-violation-desc {\n font-size: 13px;\n margin-bottom: 4px;\n }\n .${s}-violation-meta {\n display: flex;\n flex-wrap: wrap;\n gap: 8px;\n font-size: 11px;\n color: #888;\n }\n .${s}-violation-meta a {\n color: #4ea8de;\n text-decoration: none;\n }\n .${s}-violation-meta a:hover { text-decoration: underline; }\n .${s}-violation-meta a:focus-visible {\n outline: 2px solid #4ea8de;\n outline-offset: 1px;\n }\n\n .${s}-footer {\n display: flex;\n justify-content: space-between;\n align-items: center;\n padding: 12px 20px;\n border-top: 1px solid rgba(255,255,255,0.08);\n flex-shrink: 0;\n gap: 8px;\n flex-wrap: wrap;\n }\n .${s}-footer button {\n padding: 7px 16px;\n border: 1px solid rgba(255,255,255,0.15);\n border-radius: 7px;\n background: rgba(255,255,255,0.08);\n color: #f0f0f0;\n font-size: 12px;\n font-weight: 500;\n cursor: pointer;\n transition: background 0.15s ease;\n white-space: nowrap;\n }\n .${s}-footer button:hover { background: rgba(255,255,255,0.18); }\n .${s}-footer button:focus-visible { outline: 2px solid #4ea8de; outline-offset: 1px; }\n .${s}-footer button.primary {\n background: rgba(78,168,222,0.2);\n color: #4ea8de;\n border-color: rgba(78,168,222,0.3);\n }\n .${s}-footer button.primary:hover { background: rgba(78,168,222,0.35); }\n .${s}-footer button.fix {\n background: rgba(42,157,143,0.2);\n color: #2a9d8f;\n border-color: rgba(42,157,143,0.3);\n }\n .${s}-footer button.fix:hover { background: rgba(42,157,143,0.35); }\n\n .${s}-spinner {\n display: flex;\n flex-direction: column;\n align-items: center;\n gap: 14px;\n padding: 40px 20px;\n color: #aaa;\n font-size: 14px;\n }\n .${s}-spinner::before {\n content: '';\n width: 28px;\n height: 28px;\n border: 3px solid rgba(78,168,222,0.2);\n border-top-color: #4ea8de;\n border-radius: 50%;\n animation: accessify-scan-spin 0.7s linear infinite;\n }\n\n .${s}-empty {\n text-align: center;\n padding: 32px 20px;\n color: #2a9d8f;\n font-size: 15px;\n font-weight: 600;\n }\n .${s}-empty .checkmark {\n display: block;\n font-size: 40px;\n margin-bottom: 8px;\n }\n\n .${s}-fix-report {\n padding: 12px 14px;\n margin: 12px 0;\n background: rgba(42,157,143,0.1);\n border: 1px solid rgba(42,157,143,0.25);\n border-radius: 8px;\n font-size: 13px;\n color: #81cec5;\n }\n .${s}-fix-report strong { color: #2a9d8f; }\n\n @keyframes accessify-scan-fade-in {\n from { opacity: 0; }\n to { opacity: 1; }\n }\n @keyframes accessify-scan-spin {\n to { transform: rotate(360deg); }\n }\n `,document.head.appendChild(n));const t=document.createElement("div");t.className=`${s}-backdrop`,t.addEventListener("click",()=>p()),document.body.appendChild(t);const i=document.createElement("div");i.className=s,i.setAttribute("role","dialog"),i.setAttribute("aria-label",e.startsWith("de")?"WCAG-Prüfergebnisse":"WCAG Scan Results"),i.setAttribute("aria-modal","true");const r=document.createElement("div");r.className=`${s}-header`;const d=document.createElement("h2");d.textContent=e.startsWith("de")?"WCAG-Prüfung":"WCAG Accessibility Scan";const u=document.createElement("button");u.className=`${s}-close`,u.setAttribute("aria-label",e.startsWith("de")?"Schließen":"Close"),u.innerHTML="&times;",u.addEventListener("click",()=>p()),r.appendChild(d),r.appendChild(u),i.appendChild(r);const f=document.createElement("div");f.className=`${s}-body`,i.appendChild(f),document.body.appendChild(i),a=i,c(f),l(f,i);const g=e=>{"Escape"===e.key&&(p(),document.removeEventListener("keydown",g))};document.addEventListener("keydown",g)}())},deactivate:function(){t=!1,p(),n?.remove(),n=null,document.getElementById(o)?.remove()},getState:()=>({id:"auto-scan",enabled:t,value:i?{violations:i.violations.length,passes:i.passes,total:i.count,timestamp:i.timestamp}:null})}}},Symbol.toStringTag,{value:"Module"}));return e.destroy=qi,e.init=Di,Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),e}({});
1
+ var Accessify=function(e){"use strict";var t,n,i,a,r,o,s,c,l,d,u,f,p,h,g,m,v,y,b,x,w,k,S,A,M,C,E,T,$,_,z,I,L,j,H,P,B,N,O,W,K,F,D,R,G,U=Object.defineProperty,q=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)||q("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)?q("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),Z=(e,t,n,i)=>(J(e,t,"write to private field"),i?i.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,ie=Array.prototype.indexOf,ae=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,i)=>{e=n,t=i}),resolve:e,reject:t}}const ge=32,me=512,ve=1024,ye=2048,be=4096,xe=8192,we=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,ze=Symbol("$state"),Ie=Symbol("legacy props"),Le=Symbol(""),je=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 Pe(e,t,n){if(te){const i=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 i.name="Svelte error",i}throw new Error("https://svelte.dev/e/each_key_duplicate")}function Be(e,t,n){if(te){const i=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 i.name="Svelte error",i}throw new Error("https://svelte.dev/e/each_key_volatile")}const Ne=Symbol(),Oe=Symbol("filename"),We="http://www.w3.org/1999/xhtml";function Ke(e){}function Fe(e){return e===this.v}function De(e){return n=this.v,!((t=e)!=t?n==n:t!==n||null!==t&&"object"==typeof t||"function"==typeof t);var t,n}function Re(e,t){return e.label=t,Ge(e.v,t),e}function Ge(e,t){return e?.[je]?.(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 qe=null;function Ve(e){qe=e}let Je=null;function Ye(e){Je=e}let Xe=null;function Ze(e){Xe=e}function Qe(e,t=!1,n){qe={p:qe,i:!1,c:null,e:null,s:e,x:null,r:Un,l:null},te&&(qe.function=n,Xe=n)}function et(e){var t=qe,n=t.e;if(null!==n)for(var i of(t.e=null,n))Mn(i);return void 0!==e&&(t.x=e),t.i=!0,qe=t.p,te&&(Xe=qe?.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 it=new WeakMap;function at(e){var t=Un;if(null===t)return Dn.f|=_e,e;if(te&&e instanceof Error&&!it.has(e)&&it.set(e,function(e,t){const n=se(e,"message");if(!n||n.configurable){for(var i=dn?" ":"\t",a=`\n${i}in ${t.fn?.name||"<unknown>"}`,r=t.ctx;null!==r;)a+=`\n${i}in ${r.function?.[Oe].split("/").pop()}`,r=r.p;return{message:e.message+`\n${a}\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=it.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?ve: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&ye)?t.add(e):0!==(e.f&be)&&n.add(e),dt(e.deps),ct(e,ve)}let ft=!1;const pt=new Set;let ht=null,gt=null,mt=null,vt=!1,yt=null,bt=null;var xt=0,wt=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,i,0),X(this,a,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,ye),this.schedule(n);for(n of t.m)ct(n,be),this.schedule(n)}}capture(e,t){t===Ne||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{vt=!0,ht=this,Q(this,u,p).call(this)}finally{if(xt=0,mt=null,yt=null,bt=null,vt=!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,i,Y(this,i)+1),e&&Z(this,a,Y(this,a)+1)}decrement(e,t){Z(this,i,Y(this,i)-1),e&&Z(this,a,Y(this,a)-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;vt||(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===yt||t!==Un||null!==Dn&&2&Dn.f))return;if(96&n){if(0===(n&ve))return;t.f^=ve}}Y(this,o).push(t)}}};t=new WeakMap,n=new WeakMap,i=new WeakMap,a=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,a)>0},p=function(){var e;if(xt++>1e3&&(pt.delete(this),function(){if(te){var e=new Map;for(const n of ht.current.keys())for(const[i,a]of n.updated??[]){var t=e.get(i);t||e.set(i,t={error:a.error,count:0}),t.count+=a.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,ye),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 a=yt=[],d=[],v=bt=[];for(const t of n)try{Q(this,u,h).call(this,t,a,d)}catch(x){throw zt(t),x}if(ht=null,v.length>0){var y=St.ensure();for(const e of v)y.schedule(e)}if(yt=null,bt=null,Q(this,u,f).call(this)){Q(this,u,g).call(this,d),Q(this,u,g).call(this,a);for(const[e,t]of Y(this,l))_t(e,t)}else{0===Y(this,i)&&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(a),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())wt.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^=ve;for(var i=e.first;null!==i;){var a=i.f,r=!!(96&a);if(!(r&&0!==(a&ve)||0!==(a&xe)||Y(this,l).has(i))&&null!==i.fn){r?i.f^=ve:4&a?t.push(i):ai(i)&&(!!(16&a)&&Y(this,c).add(i),li(i));var o=i.first;if(null!==o){i=o;continue}}for(;null!==i;){var s=i.next;if(null!==s){i=s;break}i=i.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,i]of this.current){if(l.current.has(e)){if(!t||i===l.current.get(e))continue;l.current.set(e,i)}n.push(e)}if(0!==n.length){var i=[...l.current.keys()].filter(e=>!this.current.has(e));if(i.length>0){te&&Ue(0===Y(l,o).length,"Batch has scheduled roots"),l.activate();var a=new Set,r=new Map;for(var s of n)Et(s,i,a,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 i=e[n++];if(!(24576&i.f)&&ai(i)&&(Mt=new Set,li(i),null===i.deps&&null===i.first&&null===i.nodes&&null===i.teardown&&null===i.ac&&jn(i),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||li(n)}}Mt.clear()}}Mt=null}}function Et(e,t,n,i){if(!n.has(e)&&(n.add(e),null!==e.reactions))for(const a of e.reactions){const e=a.f;2&e?Et(a,t,n,i):4194320&e&&0===(e&ye)&&Tt(a,t,i)&&(ct(a,ye),$t(a))}}function Tt(e,t,n){const i=n.get(e);if(void 0!==i)return i;if(null!==e.deps)for(const a of e.deps){if(ae.call(t,a))return!0;if(2&a.f&&Tt(a,t,n))return n.set(a,!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&ve)){0!==(e.f&ye)?t.d.push(e):0!==(e.f&be)&&t.m.push(e),ct(e,ve);for(var n=e.first;null!==n;)_t(n,t),n=n.next}}function zt(e){ct(e,ve);for(var t=e.first;null!==t;)zt(t),t=t.next}class It{constructor(e,t,n,i){X(this,L),V(this,"parent"),V(this,"is_pending",!1),V(this,"transform_error"),X(this,v),X(this,y,null),X(this,b),X(this,x),X(this,w),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,z,null),X(this,I,function(e){let t,n=0,i=Jt(0);return te&&Re(i,"createSubscriber version"),()=>{kn()&&(di(i),Cn(()=>(0===n&&(t=pi(()=>e())),n+=1,()=>{nt(()=>{n-=1,0===n&&(t?.(),t=void 0,tn(i))})})))}}(()=>(Z(this,z,Jt(Y(this,C))),te&&Re(Y(this,z),"$effect.pending()"),()=>{Z(this,z,null)}))),Z(this,v,e),Z(this,b,t),Z(this,x,e=>{var t=Un;t.b=this,t.f|=128,n(e)}),this.parent=Un.b,this.transform_error=i??this.parent?.transform_error??(e=>e),Z(this,w,Tn(()=>{Q(this,L,j).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,B).call(this,e,t),Z(this,C,Y(this,C)+e),Y(this,z)&&!Y(this,T)&&(Z(this,T,!0),nt(()=>{Z(this,T,!1),Y(this,z)&&Qt(Y(this,z),Y(this,C))}))}get_effect_pending(){return Y(this,I).call(this),di(Y(this,z))}error(e){var t=Y(this,b).onerror;let n=Y(this,b).failed;if(!t&&!n)throw e;Y(this,k)&&(In(Y(this,k)),Z(this,k,null)),Y(this,S)&&(In(Y(this,S)),Z(this,S,null)),Y(this,A)&&(In(Y(this,A)),Z(this,A,null));var i=!1,a=!1;const r=()=>{i||(i=!0,a&&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,P).call(this,()=>{Q(this,L,j).call(this)}))},o=e=>{try{a=!0,t?.(e,r),a=!1}catch(i){rt(i,Y(this,w)&&Y(this,w).parent)}n&&Z(this,A,Q(this,L,P).call(this,()=>{try{return $n(()=>{var t=Un;t.b=this,t.f|=128,n(Y(this,v),()=>e,()=>r)})}catch(i){return rt(i,Y(this,w).parent),null}}))};nt(()=>{var t;try{t=this.transform_error(e)}catch(n){return void rt(n,Y(this,w)&&Y(this,w).parent)}null!==t&&"object"==typeof t&&"function"==typeof t.then?t.then(o,e=>rt(e,Y(this,w)&&Y(this,w).parent)):o(t)})}}function Lt(e=!0){qn(null),Gn(null),Ve(null),e&&ht?.deactivate(),te&&Ye(null)}function jt(){var e=Un.b,t=ht,n=e.is_rendered();return e.update_pending_count(1,t),t.increment(n),(i=!1)=>{e.update_pending_count(-1,t),t.decrement(n,i)}}v=new WeakMap,y=new WeakMap,b=new WeakMap,x=new WeakMap,w=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,z=new WeakMap,I=new WeakMap,L=new WeakSet,j=function(){try{if(this.is_pending=this.has_pending_snippet(),Z(this,E,0),Z(this,C,0),Z(this,k,$n(()=>{Y(this,x).call(this,Y(this,v))})),Y(this,E)>0){var e=Z(this,M,document.createDocumentFragment());On(Y(this,k),e);const t=Y(this,b).pending;Z(this,S,$n(()=>t(Y(this,v))))}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,_))},P=function(e){var t=Un,n=Dn,i=qe;qn(Y(this,w)),Gn(Y(this,w)),Ve(Y(this,w).ctx);try{return At.ensure(),e()}catch(a){return at(a),null}finally{qn(t),Gn(n),Ve(i)}},B=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,v).before(Y(this,M)),Z(this,M,null)))):this.parent&&Q(n=this.parent,L,B).call(n,e,t)};const Ht=new Set;function Pt(e){var t=null!==Dn&&2&Dn.f?Dn:null;return null!==Un&&(Un.f|=Ce),{ctx:qe,deps:null,effects:null,equals:Fe,f:2050,fn:e,reactions:null,rv:0,v:Ne,wv:0,parent:t??Un,ac:null}}function Bt(e,t,n){let i=Un;null===i&&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 a=void 0,r=Jt(Ne);te&&(r.label=t);var o=!Dn,s=new Map;return function(e){wn(4718592,e)}(()=>{var t=Un,n=he();a=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=jt();if(i.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&we)){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 i(){n===a?e(r):t(a)}n.then(i,i)}(a)})}function Nt(e){const t=Pt(e);return Jn(t),t}function Ot(e){const t=Pt(e);return t.equals=De,t}function Wt(e){var t=e.effects;if(null!==t){e.effects=null;for(var n=0;n<t.length;n+=1)In(t[n])}}let Kt=[];function Ft(e){var t,n=Un;if(qn(function(e){for(var t=e.parent;null!==t;){if(!(2&t.f))return 0===(t.f&we)?t:null;t=t.parent}return null}(e)),te){let i=Gt;qt(new Set);try{ae.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=oi(e)}finally{qn(n),qt(i),Kt.pop()}}else try{e.f&=-65537,Wt(e),t=oi(e)}finally{qn(n)}return t}function Dt(e){var t=e.v,n=Ft(e);e.equals(n)||(e.wv=ii(),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,ve)}function Rt(e){if(null!==e.effects)for(const t of e.effects)t.teardown&&li(t)}let Gt=new Set;const Ut=new Map;function qt(e){Gt=e}let Vt=!1;function Jt(e,t){return{f:0,v:e,reactions:null,equals:Fe,rv:0,wv:0}}function Yt(e,t){const n=Jt(e);return Jn(n),n}function Xt(e,t=!1,n=!0){const i=Jt(e);return t||(i.equals=De),i}function Zt(e,t,n=!1){null===Dn||Rn&&0===(Dn.f&Me)||!(4325394&Dn.f)||null!==Vn&&ae.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 i=n?rn(t):t;return te&&Ge(i,e.label),Qt(e,i,bt)}function Qt(e,t,n=null){if(!e.equals(t)){var i=e.v;Ut.set(e,Kn?t:i),e.v=t;var a=At.ensure();if(a.capture(e,i),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"),i=[];for(let a=0;a<n.length;a++){const e=n[a],t=e.replaceAll("\\","/");if("Error"!==e.trim()){if(e.includes("validate_each_keys"))return[];t.includes("svelte/src/internal")||t.includes("node_modules/.vite")||i.push(e)}}return i}();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&ye)&&Ft(t),null===gt&&lt(t)}e.wv=ii(),nn(e,ye,n),null===Un||0===(Un.f&ve)||96&Un.f||(null===Zn?function(e){Zn=e}([e]):Zn.push(e)),!a.is_fork&&Gt.size>0&&!Vt&&en()}return t}function en(){Vt=!1;for(const e of Gt)0!==(e.f&ve)&&ct(e,be),ai(e)&&li(e);Gt.clear()}function tn(e){Zt(e,e.v+1)}function nn(e,t,n){var i=e.reactions;if(null!==i)for(var a=i.length,r=0;r<a;r++){var o=i[r],s=o.f;if(te&&0!==(s&Me))Gt.add(o);else{var c=0===(s&ye);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||ze in e)return e;const t=ue(e);if(t!==le&&t!==de)return e;var n=new Map,i=ne(e),a=Yt(0),r=ti,o=e=>{if(ti===r)return e();var t=Dn,n=ti;Gn(null),ni(r);var i=e();return Gn(t),ni(n),i};i&&(n.set("length",Yt(e.length)),te&&(e=new Proxy(e,{get(e,t,n){var i=Reflect.get(e,t,n);return cn.has(t)?function(...e){Vt=!0;var t=i.apply(this,e);return en(),t}:i}})));var s="";let c=!1;function l(e){if(!c){c=!0,Re(a,`${s=e} version`);for(const[e,t]of n)Re(t,on(s,e));c=!1}}return new Proxy(e,{defineProperty(e,t,i){"value"in i&&!1!==i.configurable&&!1!==i.enumerable&&!1!==i.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 a=n.get(t);return void 0===a?o(()=>{var e=Yt(i.value);return n.set(t,e),te&&"string"==typeof t&&Re(e,on(s,t)),e}):Zt(a,i.value,!0),!0},deleteProperty(e,t){var i=n.get(t);if(void 0===i){if(t in e){const e=o(()=>Yt(Ne));n.set(t,e),tn(a),te&&Re(e,on(s,t))}}else Zt(i,Ne),tn(a);return!0},get(t,i,a){if(i===ze)return e;if(te&&i===je)return l;var r=n.get(i),c=i in t;if(void 0!==r||c&&!se(t,i)?.writable||(r=o(()=>{var e=Yt(rn(c?t[i]:Ne));return te&&Re(e,on(s,i)),e}),n.set(i,r)),void 0!==r){var d=di(r);return d===Ne?void 0:d}return Reflect.get(t,i,a)},getOwnPropertyDescriptor(e,t){var i=Reflect.getOwnPropertyDescriptor(e,t);if(i&&"value"in i){var a=n.get(t);a&&(i.value=di(a))}else if(void 0===i){var r=n.get(t),o=r?.v;if(void 0!==r&&o!==Ne)return{enumerable:!0,configurable:!0,value:o,writable:!0}}return i},has(e,t){if(t===ze)return!0;var i=n.get(t),a=void 0!==i&&i.v!==Ne||Reflect.has(e,t);return!((void 0!==i||null!==Un&&(!a||se(e,t)?.writable))&&(void 0===i&&(i=o(()=>{var n=Yt(a?rn(e[t]):Ne);return te&&Re(n,on(s,t)),n}),n.set(t,i)),di(i)===Ne))&&a},set(e,t,r,c){var l=n.get(t),d=t in e;if(i&&"length"===t)for(var u=r;u<l.v;u+=1){var f=n.get(u+"");void 0!==f?Zt(f,Ne):u in e&&(f=o(()=>Yt(Ne)),n.set(u+"",f),te&&Re(f,on(s,u)))}void 0===l?d&&!se(e,t)?.writable||(l=o(()=>Yt(void 0)),te&&Re(l,on(s,t)),Zt(l,rn(r)),n.set(t,l)):(d=l.v!==Ne,Zt(l,o(()=>rn(r))));var p=Reflect.getOwnPropertyDescriptor(e,t);if(p?.set&&p.set.call(c,r),!d){if(i&&"string"==typeof t){var h=n.get("length"),g=Number(t);Number.isInteger(g)&&g>=h.v&&Zt(h,g+1)}tn(a)}return!0},ownKeys(e){di(a);var t=Reflect.ownKeys(e).filter(e=>{var t=n.get(e);return void 0===t||t.v!==Ne});for(var[i,r]of n)r.v===Ne||i in e||t.push(i);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&&ze in e)return e[ze]}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 vn(e,t=!1){var n=hn(e);return n instanceof Comment&&""===n.data?gn(n):n}function yn(e,t=1,n=!1){let i=e;for(;t--;)i=gn(i);return i}function bn(e,t,n){return document.createElementNS(t??We,e,void 0)}function xn(e){var t=Dn,n=Un;Gn(null),qn(null);try{return e()}finally{Gn(t),qn(n)}}function wn(e,t){var n=Un;if(te)for(;null!==n&&0!==(n.f&Me);)n=n.parent;null!==n&&0!==(n.f&xe)&&(e|=xe);var i={ctx:qe,deps:null,nodes:null,f:e|ye|me,first:null,fn:t,last:null,next:null,parent:n,b:n&&n.b,prev:null,teardown:null,wv:0,ac:null};te&&(i.component_function=Xe);var a=i;if(4&e)null!==yt?yt.push(i):At.ensure().schedule(i);else if(null!==t){try{li(i)}catch(r){throw In(i),r}null===a.deps&&null===a.teardown&&null===a.nodes&&a.first===a.last&&0===(a.f&Ce)&&(a=a.first,16&e&&0!==(e&Ae)&&null!==a&&(a.f|=Ae))}return null!==a&&(a.parent=n,null!==n&&function(e,t){var n=t.last;null===n?t.last=t.first=e:(n.next=e,e.prev=n,t.last=e)}(a,n),null!==Dn&&2&Dn.f&&!(64&e))&&(Dn.effects??(Dn.effects=[])).push(a),i}function kn(){return null!==Dn&&!Rn}function Sn(e){const t=wn(8,null);return ct(t,ve),t.teardown=e,t}function An(e){var t;t="$effect",null===Un&&(null===Dn&&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(Dn||0===(n&ge)||0!==(n&ke))return Mn(e);(qe.e??(qe.e=[])).push(e)}function Mn(e){return wn(1048580,e)}function Cn(e,t=0){return wn(8|t,e)}function En(e,t=[],n=[],i=[]){!function(e,t,n,i){const a=Pt;var r=e.filter(e=>!e.settled);if(0!==n.length||0!==r.length){var o=Un,s=function(){var e=Un,t=Dn,n=qe,i=ht;if(te)var a=Je;return function(r=!0){qn(e),Gn(t),Ve(n),r&&0===(e.f&we)&&(i?.activate(),i?.apply()),te&&Ye(a)}}(),c=1===r.length?r[0].promise:r.length>1?Promise.all(r.map(e=>e.promise)):null;if(0!==n.length){var l=jt();c?c.then(()=>{s(),u(),Lt()}):u()}else c.then(()=>d(t.map(a)))}else i(t.map(a));function d(e){s();try{i(e)}catch(t){0===(o.f&we)&&rt(t,o)}Lt()}function u(){Promise.all(n.map(e=>Bt(e))).then(e=>d([...t.map(a),...e])).catch(e=>rt(e,o)).finally(()=>l())}}(i,t,n,t=>{wn(8,()=>e(...t.map(di)))})}function Tn(e,t=0){var n=wn(16|t,e);return te&&(n.dev_stack=Je),n}function $n(e){return wn(524320,e)}function _n(e){var t=e.teardown;if(null!==t){const e=Kn,n=Dn;Fn(!0),Gn(null);try{t.call(null)}finally{Fn(e),Gn(n)}}}function zn(e,t=!1){var n=e.first;for(e.first=e.last=null;null!==n;){const e=n.ac;null!==e&&xn(()=>{e.abort(He)});var i=n.next;64&n.f?n.parent=null:In(n,t),n=i}}function In(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),zn(e,t&&!n),ci(e,0);var i=e.nodes&&e.nodes.t;if(null!==i)for(const r of i)r.stop();_n(e),e.f^=Se,e.f|=we;var a=e.parent;null!==a&&null!==a.first&&jn(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 jn(e){var t=e.parent,n=e.prev,i=e.next;null!==n&&(n.next=i),null!==i&&(i.prev=n),null!==t&&(t.first===e&&(t.first=i),t.last===e&&(t.last=n))}function Hn(e,t,n=!0){var i=[];Pn(e,i,!0);var a=()=>{n&&In(e),t&&t()},r=i.length;if(r>0){var o=()=>--r||a();for(var s of i)s.out(o)}else a()}function Pn(e,t,n){if(0===(e.f&xe)){e.f^=xe;var i=e.nodes&&e.nodes.t;if(null!==i)for(const e of i)(e.is_global||n)&&t.push(e);for(var a=e.first;null!==a;){var r=a.next;Pn(a,t,!!(0!==(a.f&Ae)||0!==(a.f&ge)&&16&e.f)&&n),a=r}}}function Bn(e){Nn(e,!0)}function Nn(e,t){if(0!==(e.f&xe)){e.f^=xe,0===(e.f&ve)&&(ct(e,ye),At.ensure().schedule(e));for(var n=e.first;null!==n;){var i=n.next;Nn(n,!(0===(n.f&Ae)&&0===(n.f&ge))&&t),n=i}var a=e.nodes&&e.nodes.t;if(null!==a)for(const e of a)(e.is_global||t)&&e.in()}}function On(e,t){if(e.nodes)for(var n=e.nodes.start,i=e.nodes.end;null!==n;){var a=n===i?null:gn(n);t.append(n),n=a}}let Wn=!1,Kn=!1;function Fn(e){Kn=e}let Dn=null,Rn=!1;function Gn(e){Dn=e}let Un=null;function qn(e){Un=e}let Vn=null;function Jn(e){null!==Dn&&(null===Vn?Vn=[e]:Vn.push(e))}let Yn=null,Xn=0,Zn=null,Qn=1,ei=0,ti=ei;function ni(e){ti=e}function ii(){return++Qn}function ai(e){var t=e.f;if(0!==(t&ye))return!0;if(2&t&&(e.f&=-65537),0!==(t&be)){for(var n=e.deps,i=n.length,a=0;a<i;a++){var r=n[a];if(ai(r)&&Dt(r),r.wv>e.wv)return!0}0!==(t&me)&&null===gt&&ct(e,ve)}return!1}function ri(e,t,n=!0){var i=e.reactions;if(null!==i&&(null===Vn||!ae.call(Vn,e)))for(var a=0;a<i.length;a++){var r=i[a];2&r.f?ri(r,t,!1):t===r&&(n?ct(r,ye):0!==(r.f&ve)&&ct(r,be),$t(r))}}function oi(e){var t,n=Yn,i=Xn,a=Zn,r=Dn,o=Vn,s=qe,c=Rn,l=ti;Yn=null,Xn=0,Zn=null,Dn=96&e.f?null:e,Vn=null,Ve(e.ctx),Rn=!1,ti=++ei,null!==e.ac&&(xn(()=>{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||ci(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&&(ci(e,Xn),u.length=Xn);if(!(null===Zn||Rn||null===u||6146&e.f))for(p=0;p<Zn.length;p++)ri(Zn[p],e);if(null!==r&&r!==e){if(ei++,null!==r.deps)for(let e=0;e<i;e+=1)r.deps[e].rv=ei;if(null!==n)for(const e of n)e.rv=ei;null!==Zn&&(null===a?a=Zn:a.push(...Zn))}return 0!==(e.f&_e)&&(e.f^=_e),d}catch(h){return at(h)}finally{e.f^=$e,Yn=n,Xn=i,Zn=a,Dn=r,Vn=o,Ve(s),Rn=c,ti=l}}function si(e,t){let n=t.reactions;if(null!==n){var i=ie.call(n,e);if(-1!==i){var a=n.length-1;0===a?n=t.reactions=null:(n[i]=n[a],n.pop())}}if(null===n&&2&t.f&&(null===Yn||!ae.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,ci(t,0),zn(t))}(r),ci(r,0)}}function ci(e,t){var n=e.deps;if(null!==n)for(var i=t;i<n.length;i++)si(e,n[i])}function li(e){var t=e.f;if(0===(t&we)){ct(e,ve);var n=Un,i=Wn;if(Un=e,Wn=!0,te){var a=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)&&In(t),t=n}}(e):zn(e),_n(e);var o=oi(e);e.teardown="function"==typeof o?o:null,e.wv=Qn}finally{Wn=i,Un=n,te&&(Ze(a),Ye(r))}}}function di(e){var t=!!(2&e.f);if(null!==Dn&&!Rn&&!(null!==Un&&0!==(Un.f&we)||null!==Vn&&ae.call(Vn,e))){var n=Dn.deps;if(0!==(Dn.f&$e))e.rv<ei&&(e.rv=ei,null===Yn&&null!==n&&n[Xn]===e?Xn++:null===Yn?Yn=[e]:Yn.push(e));else{(Dn.deps??(Dn.deps=[])).push(e);var i=e.reactions;null===i?e.reactions=[Dn]:ae.call(i,Dn)||i.push(Dn)}}if(te&&Ht.delete(e),Kn&&Ut.has(e))return Ut.get(e);if(t){var a=e;if(Kn){var r=a.v;return(0===(a.f&ve)&&null!==a.reactions||fi(a))&&(r=Ft(a)),Ut.set(a,r),r}var o=0===(a.f&me)&&!Rn&&null!==Dn&&(Wn||0!==(Dn.f&me)),s=0===(a.f&ke);ai(a)&&(o&&(a.f|=me),Dt(a)),o&&!s&&(Rt(a),ui(a))}if(gt?.has(e))return gt.get(e);if(0!==(e.f&_e))throw e.v;return e.v}function ui(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)&&(Rt(t),ui(t))}function fi(e){if(e.v===Ne)return!0;if(null===e.deps)return!1;for(const t of e.deps){if(Ut.has(t))return!0;if(2&t.f&&fi(t))return!0}return!1}function pi(e){var t=Rn;try{return Rn=!0,e()}finally{Rn=t}}const hi=["touchstart","touchmove"];function gi(e){return hi.includes(e)}const mi=Symbol("events"),vi=new Set,yi=new Set;function bi(e,t,n){(t[mi]??(t[mi]={}))[e]=n}function xi(e){for(var t=0;t<e.length;t++)vi.add(e[t]);for(var n of yi)n(e)}let wi=null;function ki(e){var t=this,n=t.ownerDocument,i=e.type,a=e.composedPath?.()||[],r=a[0]||e.target;wi=e;var o=0,s=wi===e&&e[mi];if(s){var c=a.indexOf(s);if(-1!==c&&(t===document||t===window))return void(e[mi]=t);var l=a.indexOf(t);if(-1===l)return;c<=l&&(o=c)}if((r=a[o]||e.target)!==t){oe(e,"currentTarget",{configurable:!0,get:()=>r||n});var d=Dn,u=Un;Gn(null),qn(null);try{for(var f,p=[];null!==r;){var h=r.assignedSlot||r.parentNode||r.host||null;try{var g=r[mi]?.[i];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[mi]=t,delete e.currentTarget,Gn(d),qn(u)}}}const Si=globalThis?.window?.trustedTypes&&globalThis.window.trustedTypes.createPolicy("svelte-trusted-html",{createHTML:e=>e});function Ai(e){var t=bn("template");return t.innerHTML=function(e){return Si?.createHTML(e)??e}(e.replaceAll("<!>","\x3c!----\x3e")),t.content}function Mi(e,t){null===Un.nodes&&(Un.nodes={start:e,end:t,a:null,t:null})}function Ci(e,t){var n,i=!!(1&t),a=!!(2&t),r=!e.startsWith("<!>");return()=>{void 0===n&&(n=Ai(r?e:"<!>"+e),i||(n=hn(n)));var t=a||dn?document.importNode(n,!0):n.cloneNode(!0);return i?Mi(hn(t),t.lastChild):Mi(t,t),t}}function Ei(e,t,n="svg"){var i,a=`<${n}>${e.startsWith("<!>")?"<!>"+e:e}</${n}>`;return()=>{if(!i){var e=Ai(a);i=hn(hn(e))}var t=i.cloneNode(!0);return Mi(t,t),t}}function Ti(e,t){return Ei(e,0,"svg")}function $i(e,t){null!==e&&e.before(t)}function _i(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 zi=new Map;let Ii=new WeakMap;class Li{constructor(e,t=!0){V(this,"anchor"),X(this,N,new Map),X(this,O,new Map),X(this,W,new Map),X(this,K,new Set),X(this,F,!0),X(this,D,e=>{if(Y(this,N).has(e)){var t=Y(this,N).get(e),n=Y(this,O).get(t);if(n)Bn(n),Y(this,K).delete(t);else{var i=Y(this,W).get(t);i&&(Y(this,O).set(t,i.effect),Y(this,W).delete(t),i.fragment.lastChild.remove(),this.anchor.before(i.fragment),n=i.effect)}for(const[t,n]of Y(this,N)){if(Y(this,N).delete(t),t===e)break;const i=Y(this,W).get(n);i&&(In(i.effect),Y(this,W).delete(n))}for(const[e,i]of Y(this,O)){if(e===t||Y(this,K).has(e))continue;const a=()=>{if(Array.from(Y(this,N).values()).includes(e)){var t=document.createDocumentFragment();On(i,t),t.append(pn()),Y(this,W).set(e,{effect:i,fragment:t})}else In(i);Y(this,K).delete(e),Y(this,O).delete(e)};Y(this,F)||!n?(Y(this,K).add(e),Hn(i,a,!1)):a()}}}),X(this,R,e=>{Y(this,N).delete(e);const t=Array.from(Y(this,N).values());for(const[n,i]of Y(this,W))t.includes(n)||(In(i.effect),Y(this,W).delete(n))}),this.anchor=e,Z(this,F,t)}ensure(e,t){var n=ht;!t||Y(this,O).has(e)||Y(this,W).has(e)||Y(this,O).set(e,$n(()=>t(this.anchor))),Y(this,N).set(n,e),Y(this,D).call(this,n)}}function ji(e,t,n=!1){var i=new Li(e);function a(e,t){i.ensure(e,t)}Tn(()=>{var e=!1;t((t,n=0)=>{e=!0,a(n,t)}),e||a(-1,null)},n?Ae:0)}function Hi(e,t){return t}function Pi(e,t,n=!0){var i;if(e.pending.size>0){i=new Set;for(const t of e.pending.values())for(const n of t)i.add(e.items.get(n).e)}for(var a=0;a<t.length;a++){var r=t[a];i?.has(r)?(r.f|=Ee,On(r,document.createDocumentFragment())):In(t[a],n)}}var Bi;function Ni(e,t,n,i,a,r=null){var o,s=new Map;o=e.appendChild(pn());var c,l=null,d=Ot(()=>{var e=n();return ne(e)?e:null==e?[]:re(e)}),u=new Map,f=!0,p={effect:Tn(()=>{for(var e=(c=di(d)).length,h=new Set,g=ht,m=0;m<e;m+=1){var v=c[m],y=i(v,m);if(te){var b=i(v,m);y!==b&&Be(String(m),String(y),String(b))}var x=f?null:s.get(y);x?(x.v&&Qt(x.v,v),x.i&&Qt(x.i,m)):(x=Wi(s,f?o:Bi??(Bi=pn()),v,y,m,a,t,n),f||(x.e.f|=Ee),s.set(y,x)),h.add(y)}0===e&&r&&!l&&(f?l=$n(()=>r(o)):(l=$n(()=>r(Bi??(Bi=pn())))).f|=Ee),e>h.size&&(te?function(e,t){const n=new Map,i=e.length;for(let a=0;a<i;a++){const i=t(e[a],a);if(n.has(i)){const e=String(n.get(i)),t=String(a);let r=String(i);r.startsWith("[object ")&&(r=null),Pe(e,t,r)}n.set(i,a)}}(c,i):Pe("","","")),f||(u.set(g,h),function(e){0===(p.effect.f&we)&&(p.pending.delete(e),p.fallback=l,function(e,t,n,i,a){var r,o,s,c,l=t.length,d=e.items,u=Oi(e.effect.first),f=null,p=[],h=[];for(c=0;c<l;c+=1){if(o=a(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),Fi(e,f,s),Fi(e,s,g),Ki(s,g,n),p=[],h=[],u=Oi((f=s).next);continue}Ki(s,null,n)}if(0!==(s.f&xe)&&Bn(s),s!==u){if(void 0!==r&&r.has(s)){if(p.length<h.length){var m,v=h[0];f=v.prev;var y=p[0],b=p[p.length-1];for(m=0;m<p.length;m+=1)Ki(p[m],v,n);for(m=0;m<h.length;m+=1)r.delete(h[m]);Fi(e,y.prev,b.next),Fi(e,f,y),Fi(e,b,v),u=v,f=b,c-=1,p=[],h=[]}else r.delete(s),Ki(s,u,n),Fi(e,s.prev,s.next),Fi(e,s,null===f?e.effect.first:f.next),Fi(e,f,s),f=s;continue}for(p=[],h=[];null!==u&&u!==s;)(r??(r=new Set)).add(u),h.push(u),u=Oi(u.next);if(null===u)continue}0===(s.f&Ee)&&p.push(s),f=s,u=Oi(s.next)}if(null!==e.outrogroups){for(const t of e.outrogroups)0===t.pending.size&&(Pi(e,re(t.done)),e.outrogroups?.delete(t));0===e.outrogroups.size&&(e.outrogroups=null)}if(null!==u||void 0!==r){var x=[];if(void 0!==r)for(s of r)0===(s.f&xe)&&x.push(s);for(;null!==u;)0===(u.f&xe)&&u!==e.fallback&&x.push(u),u=Oi(u.next);x.length>0&&function(e,t,n){for(var i,a=t.length,r=t.length,o=0;o<a;o++){let n=t[o];Hn(n,()=>{if(i){if(i.pending.delete(n),i.done.add(n),0===i.pending.size){var t=e.outrogroups;Pi(e,re(i.done)),t.delete(i),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()}Pi(e,t,!s)}else i={pending:new Set(t),done:new Set},(e.outrogroups??(e.outrogroups=new Set)).add(i)}(e,x,0===l?n:null)}}(p,c,o,0,i),null!==l&&(0===c.length?0===(l.f&Ee)?Bn(l):(l.f^=Ee,Ki(l,null,o)):Hn(l,()=>{l=null})))}(g)),di(d)}),items:s,pending:u,outrogroups:null,fallback:l};f=!1}function Oi(e){for(;null!==e&&0===(e.f&ge);)e=e.next;return e}function Wi(e,t,n,i,a,r,o,s){var c=1&o?16&o?Jt(n):Xt(n,!1,!1):null,l=2&o?Jt(a):null;return te&&c&&(c.trace=()=>{s()}),{v:c,i:l,e:$n(()=>(r(t,c??n,l??a,s),()=>{e.delete(i)}))}}function Ki(e,t,n){if(e.nodes)for(var i=e.nodes.start,a=e.nodes.end,r=t&&0===(t.f&Ee)?t.nodes.start:n;null!==i;){var o=gn(i);if(r.before(i),i===a)return;i=o}}function Fi(e,t,n){null===t?e.effect.first=n:t.next=n,null===n?e.effect.last=t:n.prev=t}function Di(e,t,n=!1,i=!1,a=!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&&Mi(hn(c),c.lastChild));if(null!==e.nodes&&(Ln(e.nodes.start,e.nodes.end),e.nodes=null),""!==s){var r=bn(i?"svg":a?"math":"template",i?"http://www.w3.org/2000/svg":a?"http://www.w3.org/1998/Math/MathML":void 0);r.innerHTML=s;var l=i||a?r:r.content;if(Mi(hn(l),l.lastChild),i||a)for(;hn(l);)o.before(hn(l));else o.before(l)}}})}N=new WeakMap,O=new WeakMap,W=new WeakMap,K=new WeakMap,F=new WeakMap,D=new WeakMap,R=new WeakMap;const Ri=[..." \t\n\r\f \v\ufeff"];function Gi(e,t,n,i,a,r){var o=e.__className;if(o!==n||void 0===o){var s=function(e,t,n){var i=null==e?"":""+e;if(n)for(var a of Object.keys(n))if(n[a])i=i?i+" "+a:a;else if(i.length)for(var r=a.length,o=0;(o=i.indexOf(a,o))>=0;){var s=o+r;0!==o&&!Ri.includes(i[o-1])||s!==i.length&&!Ri.includes(i[s])?o=s:i=(0===o?"":i.substring(0,o))+i.substring(s+1)}return""===i?null:i}(n,0,r);null==s?e.removeAttribute("class"):t?e.className=s:e.setAttribute("class",s),e.__className=n}else if(r&&a!==r)for(var c in r){var l=!!r[c];null!=a&&l===!!a[c]||e.classList.toggle(c,l)}return r}const Ui=Symbol("is custom element"),qi=Symbol("is html");function Vi(e,t,n,i){var a=function(e){return e.__attributes??(e.__attributes={[Ui]:e.nodeName.includes("-"),[qi]:e.namespaceURI===We})}(e);a[t]!==(a[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,i=Ji.get(n);if(i)return i;Ji.set(n,i=[]);for(var a=e,r=Element.prototype;r!==a;){for(var o in t=ce(a))t[o].set&&i.push(o);a=ue(a)}return i}(e).includes(t)?e[t]=n:e.setAttribute(t,n))}var Ji=new Map;function Yi(e,t){return e===t||e?.[ze]===t}function Xi(e={},t,n,i){var a=qe.r,r=Un;return wn(4,()=>{var i,o;return Cn(()=>{i=o,o=[],pi(()=>{e!==n(...o)&&(t(e,...o),i&&Yi(n(...i),e)&&t(null,...i))})}),()=>{let i=r;for(;i!==a&&null!==i.parent&&i.parent.f&Se;)i=i.parent;const s=i.teardown;i.teardown=()=>{o&&Yi(n(...o),e)&&t(null,...o),s?.()}}}),e}function Zi(e,t,n,i){var a=!!(8&n),r=!!(16&n),o=i,s=!0,c=()=>(s&&(s=!1,o=r?pi(i):i),o);let l;if(a){var d=ze in e||Ie in e;l=se(e,t)?.set??(d&&t in e?n=>e[t]=n:void 0)}var u,f,p=!1;if(a?[u,p]=function(){var n=ft;try{return ft=!1,[e[t],ft]}finally{ft=n}}():u=e[t],void 0===u&&void 0!==i&&(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?Pt:Ot)(()=>(g=!1,f()));te&&(m.label=t),a&&di(m);var v=Un;return function(e,t){if(arguments.length>0){const n=t?di(m):a?rn(e):e;return Zt(m,n),g=!0,void 0!==o&&(o=n),e}return Kn&&g||0!==(v.f&we)?m.v:di(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 Qi(e){null===qe&&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=pi(e);if("function"==typeof t)return t})}function ea(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 ta(){return ea('<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 na(){return ea('<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 ia(){return ea('<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 aa(){return ea('<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 ra(){return ea('<path d="M18 6L6 18"/><path d="M6 6l12 12"/>')}function oa(){return ea('<path d="M3 12a9 9 0 1 0 3-6.7"/><path d="M3 3v5.3h5.3"/>')}function sa(){return ea('<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&&((G=window.__svelte??(window.__svelte={})).v??(G.v=new Set)).add("5");const ca={accessibility:ta,contrast:function(){return ea('<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 ea('<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 ea('<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 ea('<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 ea('<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 ea('<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 ea('<circle cx="12" cy="12" r="9"/><path d="M10 8v8"/><path d="M14 8v8"/>')},cursor:function(){return ea('<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:na,tts:na,brain:ia,ai:ia,image:aa,"alt-text":aa,keyboard:function(){return ea('<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 ea('<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 ea('<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:ra,"close-x":ra,reset:oa,chevron:function(){return ea('<path d="M9 18l6-6-6-6"/>')},checkmark:function(){return ea('<path d="M20 6L9 17l-5-5"/>')},warning:function(){return ea('<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 ea('<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 ea('<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 ea('<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 ea('<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 ea('<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 ea('<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 ea('<path d="M4 6h16"/><path d="M4 10h10"/><path d="M4 14h16"/><path d="M4 18h10"/>')},"reading-mask":function(){return ea('<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 ea('<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 ea('<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:sa,profile:function(){return ea('<circle cx="12" cy="8" r="4"/><path d="M4 20c0-4 4-7 8-7s8 3 8 7"/>')}},la={"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":"Alt-Text Generator","feature.altText.desc":"Auto-generate image descriptions","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 da(e){return{...la,...e}}const ua={en:la,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":"Alt-Text erzeugen","feature.altText.desc":"Bildbeschreibungen automatisch erstellen","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:da({"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:da({"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:da({"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":"Generar texto alternativo","feature.autoScan":"Escaneo WCAG"}),fr:da({"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":"Generer un texte alternatif","feature.autoScan":"Analyse WCAG"}),ar:da({"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:da({"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:da({"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":"Gerar texto alternativo","feature.autoScan":"Varredura WCAG"}),ru:da({"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":"Создать alt-текст","feature.autoScan":"Проверка WCAG"}),ur:da({"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:da({"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":"Buat alt-text","feature.autoScan":"Pindai WCAG"}),ja:da({"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:da({"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":"Generate alt-text","feature.autoScan":"WCAG scan"}),mr:da({"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":"alt-text तयार करा","feature.autoScan":"WCAG स्कॅन"}),te:da({"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":"alt-text రూపొందించు","feature.autoScan":"WCAG స్కాన్"}),tr:da({"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":"Alt metin olustur","feature.autoScan":"WCAG taramasi"}),ta:da({"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":"alt-text உருவாக்கு","feature.autoScan":"WCAG ஸ்கேன்"}),vi:da({"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":"Tao alt-text","feature.autoScan":"Quet WCAG"}),ko:da({"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 검사"})},fa=[{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:"🇷🇺"}],pa=new Set(["ar","ur"]);let ha="en";function ga(e){if(!e)return"en";const t=e.toLowerCase();if(ua[t])return t;const n=t.split("-")[0];return ua[n]?n:"en"}function ma(){return ha}function va(e){return pa.has(ga(e))}function ya(e,t="en"){const n=ga(t);return ua[n]?.[e]||la[e]||e}var ba=Ci("<button></button>"),xa=Ci('<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"></button> <button class="accessify-header-btn accessify-header-btn--icon accessify-header-btn--close"></button></div></header>');xi(["click"]);const wa=[{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 ka=Ti('<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>'),Sa=Ci('<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>'),Aa=Ci('<div class="accessify-accordion-list" role="group"></div>'),Ma=Ci('<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>');xi(["click"]);const Ca="https://openrouter.ai/api/v1";function Ea(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 Ta(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,i="einfache",a="de"){const r=a.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."}(i):"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(`${Ca}/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 $a("Rate limit reached. Please try again later.");throw new Error(`AI service error: ${o.status}`)}return Ea(await o.json())},async generateAltText(n,i,a){const r=a&&!a.startsWith("en")?` Generate the alt text in ${a} language.`:"",o=await fetch(`${Ca}/chat/completions`,{method:"POST",headers:t,body:JSON.stringify({model:e.visionModel||"google/gemini-2.0-flash-001",messages:[{role:"user",content:[{type:"text",text:`Generate a concise, descriptive alt text for this image for web accessibility.${r} ${i?"Context: "+i:""} 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 $a("Rate limit reached. Please try again later.");throw new Error(`AI vision error: ${o.status}`)}return Ea(await o.json())}}}class $a extends Error{constructor(e){super(e),this.name="RateLimitError"}}var _a=Ci('<button class="accessify-chip accessify-chip--icon"><span class="accessify-chip-icon" aria-hidden="true"></span> <span> </span></button>'),za=Ci('<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>'),Ia=Ci('<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>'),La=Ci('<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>'),ja=Ci('<div class="accessify-features"></div>'),Ha=Ci('<!> <!> <div class="accessify-section-divider"></div> <!>',1);xi(["click"]);var Pa=Ci('<span aria-hidden="true">&middot;</span> <a target="_blank" rel="noopener noreferrer"> </a>',1),Ba=Ci('<div class="accessify-footer"><a target="_blank" rel="noopener noreferrer">Accessify Dashboard</a> <!></div>');let Na=[],Oa=null,Wa=!1;async function Ka(e,t,n){const i=new URLSearchParams({client:"gtx",sl:t,tl:n,dt:"t",q:e});try{const t=await fetch(`https://translate.googleapis.com/translate_a/single?${i.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}}var Fa=Ti('<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>'),Da=Ci('<button class="accessify-lang-option" role="option"><span> </span> <!></button>'),Ra=Ci('<div class="accessify-lang-list" role="listbox"></div>'),Ga=Ci('<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"><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 Ua(e,t){Qe(t,!0);let n=Zi(t,"config",7),i=Yt(!1),a=Yt(rn(new Map)),r=Yt("light"),o=Yt(null),s=Yt(null),c=Yt(""),l=Yt("en"),d=Yt(null),u=Yt(!1);const f={async translate(e){if(!Wa){Wa=!0;try{Na.length>0&&this.restore();const t=document.documentElement.lang?.split("-")[0]||"auto",n=function(){const e=document.createTreeWalker(document.body,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")?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_REJECT}}),t=[];let n;for(;n=e.nextNode();)t.push(n);return t}();if(0===n.length)return void(Wa=!1);Na=n.map(e=>({node:e,original:e.textContent}));const i=[...new Set(Na.map(e=>e.original.trim()).filter(Boolean))],a=await async function(e,t,n){const i=new Array(e.length);for(let a=0;a<e.length;a+=10){const r=e.slice(a,a+10),o=await Promise.all(r.map(e=>Ka(e,t,n)));for(let e=0;e<o.length;e++)i[a+e]=o[e]}return i}(i,t,e),r=new Map;i.forEach((e,t)=>{a[t]&&r.set(e,a[t])});for(const e of Na){const t=e.original.trim(),n=r.get(t);if(n){const t=e.original.match(/^\s*/)?.[0]||"",i=e.original.match(/\s*$/)?.[0]||"";e.node.textContent=t+n+i}}Oa=e}finally{Wa=!1}}},async simplify(e,t){},restore(){for(const e of Na)e.node.textContent=e.original;Na=[],Oa=null},isTranslated:()=>null!==Oa,currentLang:()=>Oa},p="accessify-prefs";let h=Nt(()=>Array.from(di(a).values()).filter(Boolean).length),g=Nt(()=>fa.find(e=>e.code===di(l)));function m(e){Zt(c,""),requestAnimationFrame(()=>{Zt(c,e,!0)})}function v(){try{const e=Object.fromEntries(di(a));localStorage.setItem(p,JSON.stringify(e))}catch{}}function y(){const e=t.shadow.getElementById("accessify-mount");e&&("auto"===n().theme?e.removeAttribute("data-theme"):e.setAttribute("data-theme",di(r)))}function b(){const e=t.shadow.getElementById("accessify-mount"),n=va(di(l))?"rtl":"ltr";var i;e&&(e.setAttribute("lang",di(l)),e.setAttribute("dir",n)),t.shadow.host.setAttribute("lang",di(l)),t.shadow.host.setAttribute("dir",n),i=di(l),ha=ga(i)}function x(){Zt(i,!0),requestAnimationFrame(()=>{if(di(o)){const e=di(o).querySelector('button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])');e?.focus()}})}function w(){Zt(i,!1);const e=t.shadow.querySelector(".accessify-trigger");e?.focus()}Qi(()=>{Zt(l,ga(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),y())})}(),y(),function(){try{const e=localStorage.getItem(p);if(e){const t=JSON.parse(e);Zt(a,new Map(Object.entries(t)),!0)}}catch{}}(),b()});var k,S,A,M={open:x,close:w},C=Ga();A=function(e,t,n,i={}){function a(e){if(i.capture||ki.call(t,e),!e.cancelBubble)return xn(()=>n?.call(this,e))}return e.startsWith("pointer")||e.startsWith("touch")||"wheel"===e?nt(()=>{t.addEventListener(e,a,i)}):t.addEventListener(e,a,i),a}("keydown",k=ln,function(e){if("Escape"===e.key&&di(i))return e.preventDefault(),void w();if("Tab"===e.key&&di(i)&&di(o)){const n=di(o).querySelectorAll('button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])');if(0===n.length)return;const i=n[0],a=n[n.length-1],r=t.shadow.activeElement||document.activeElement;e.shiftKey&&r===i?(e.preventDefault(),a.focus()):e.shiftKey||r!==a||(e.preventDefault(),i.focus())}},S={capture:void 0,passive:void 0}),(k===document.body||k===window||k===document||k instanceof HTMLMediaElement)&&Sn(()=>{k.removeEventListener("keydown",A,S)});var E=vn(C),T=mn(E),$=yn(E,2);!function(e,t){Qe(t,!0);let n=Zi(t,"lang",3,"en"),i=Zi(t,"el",15,null),a=Yt(!1);Qi(()=>{const e=i();if(!e)return;let n=0,r=0,o=0,s=0,c=!1,l=null;function d(i){if(t.isOpen)return;const a=e.getBoundingClientRect();n=i.clientX,r=i.clientY,o=a.left,s=a.top,c=!1,l=i.pointerId,e.setPointerCapture(i.pointerId)}function u(t){if(null===l||t.pointerId!==l)return;const i=t.clientX-n,d=t.clientY-r;if(!c&&(Math.abs(i)>5||Math.abs(d)>5)&&(c=!0,Zt(a,!0),e.style.transition="none"),c){const t=Math.max(0,Math.min(window.innerWidth-60,o+i)),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(a,!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=ba();let o;Di(r,()=>t.isOpen?ra():ta(),!0),Xi(r,e=>i(e),()=>i()),En(e=>{o=Gi(r,1,"accessify-trigger",0,o,{"accessify-trigger--dragging":di(a)}),Vi(r,"aria-expanded",t.isOpen),Vi(r,"aria-label",e)},[()=>ya(t.isOpen?"widget.close":"widget.open",n())]),$i(e,r),et()}($,{get isOpen(){return di(i)},get lang(){return di(l)},onclick:function(){di(i)?w():x()},get el(){return di(s)},set el(e){Zt(s,e,!0)}});var _=yn($,2),z=mn(_);!function(e,t){Qe(t,!0);let n=Zi(t,"lang",3,"en");Zi(t,"activeCount",3,0);var i=xa(),a=yn(mn(i),2),r=mn(a);Di(r,oa,!0);var o=yn(r,2);Di(o,ra,!0),En((e,t)=>{Vi(r,"aria-label",e),Vi(o,"aria-label",t)},[()=>ya("widget.reset",n()),()=>ya("widget.close",n())]),bi("click",r,function(...e){t.onreset?.apply(this,e)}),bi("click",o,function(...e){t.onclose?.apply(this,e)}),$i(e,i),et()}(z,{get lang(){return di(l)},get activeCount(){return di(h)},onclose:w,onreset:function(){Zt(a,new Map,!0),Zt(d,null),v(),f.restore(),window.dispatchEvent(new CustomEvent("accessify:reset")),m(ya("widget.resetConfirm",di(l)))}});var I=yn(z,2),L=mn(I),j=mn(L),H=mn(j),P=mn(H);Di(P,sa);var B=mn(yn(P,2)),N=yn(H,2);let O;var W=yn(j,2),K=e=>{var t=Ra();Ni(t,21,()=>fa,Hi,(e,t)=>{var i=Da(),a=mn(i),r=mn(a),o=yn(a,2),s=e=>{$i(e,Fa())};ji(o,e=>{di(l)===di(t).code&&e(s)}),En(()=>{Vi(i,"aria-selected",di(l)===di(t).code),Vi(i,"data-active",di(l)===di(t).code),_i(r,`${(di(t).flag||"")??""} ${di(t).label??""}`)}),bi("click",i,()=>function(e){Zt(l,ga(e),!0),n().lang=di(l),Zt(u,!1),b();const t=document.documentElement.lang?.split("-")[0]||"en";di(l)!==t?f.translate(di(l)):f.restore()}(di(t).code)),$i(e,i)}),En(e=>Vi(t,"aria-label",e),[()=>ya("widget.widgetLang",di(l))]),$i(e,t)};ji(W,e=>{di(u)&&e(K)});var F=yn(L,4);!function(e,t){Qe(t,!0);let n=Zi(t,"lang",3,"en"),i=Zi(t,"activeProfileId",3,null),a=Yt(!1),r=Nt(()=>i()?wa.find(e=>e.id===i()):null);var o=Ma(),s=mn(o),c=mn(s),l=yn(mn(c),2),d=mn(l),u=yn(c,2);let f;var p=yn(s,2),h=e=>{var a=Aa();Ni(a,21,()=>wa,e=>e.id,(e,a)=>{var r=Sa(),o=mn(r),s=mn(o);Di(s,()=>function(e){const t=ca[e];return t?t():""}(di(a).iconId),!0);var c=mn(yn(s,2)),l=mn(c),d=mn(yn(c,2)),u=yn(o,2),f=e=>{$i(e,ka())};ji(u,e=>{i()===di(a).id&&e(f)}),En((e,t)=>{Vi(r,"aria-pressed",i()===di(a).id),Vi(r,"data-active",i()===di(a).id),_i(l,e),_i(d,t)},[()=>ya(di(a).nameKey,n()),()=>ya(di(a).descKey,n())]),bi("click",r,()=>t.onactivate(di(a))),$i(e,r)}),En(e=>Vi(a,"aria-label",e),[()=>ya("section.profiles",n())]),$i(e,a)};ji(p,e=>{di(a)&&e(h)}),En((e,t)=>{Vi(o,"aria-label",e),Vi(s,"aria-expanded",di(a)),_i(d,t),f=Gi(u,0,"accessify-accordion-chevron",0,f,{"accessify-accordion-chevron--open":di(a)})},[()=>ya("section.profiles",n()),()=>di(r)?ya(di(r).nameKey,n()):ya("section.profiles",n())]),bi("click",s,()=>{Zt(a,!di(a))}),$i(e,o),et()}(F,{get lang(){return di(l)},get activeProfileId(){return di(d)},onactivate:function(e){if(di(d)===e.id){Zt(d,null);for(const t of e.features)di(a).set(t,!1);return Zt(a,new Map(di(a)),!0),v(),window.dispatchEvent(new CustomEvent("accessify:reset")),void m(`${ya(e.nameKey,di(l))} ${ya("status.deactivated",di(l))}`)}Zt(d,e.id,!0);for(const t of e.features)di(a).set(t,!0);Zt(a,new Map(di(a)),!0),v(),m(`${ya(e.nameKey,di(l))} ${ya("status.activated",di(l))}`)}});var D=yn(F,4);{let e=Nt(()=>({...n(),lang:di(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"}},i=["keyboard-nav","link-highlight","animation-stop","hide-images","big-cursor"],a=["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(()=>mr),"text-size":()=>Promise.resolve().then(()=>vr),"keyboard-nav":()=>Promise.resolve().then(()=>yr),"link-highlight":()=>Promise.resolve().then(()=>br),"reading-guide":()=>Promise.resolve().then(()=>wr),"reading-mask":()=>Promise.resolve().then(()=>kr),"animation-stop":()=>Promise.resolve().then(()=>Sr),"hide-images":()=>Promise.resolve().then(()=>Ar),"big-cursor":()=>Promise.resolve().then(()=>Cr),"page-structure":()=>Promise.resolve().then(()=>Er),tts:()=>Promise.resolve().then(()=>$r),"text-simplify":()=>Promise.resolve().then(()=>_r),"alt-text":()=>Promise.resolve().then(()=>rr)};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=Nt(()=>new Set(t.config.features)),h=Nt(()=>Array.from(t.activeFeatures.entries()).sort(([e],[t])=>e.localeCompare(t)).map(([e,t])=>`${e}:${t}`).join("|"));function g(e){const t=ca[e];return t?t():""}function m(e){return e.filter(e=>di(p).has(e)).map(e=>n[e]).filter(Boolean)}function v(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 y(e){if(c.has(e))return c.get(e);const n=l[e];if(!n)return null;try{const a=await n(),r=a.default??a,o="function"==typeof r?s.has(e)?r((d||(d=(i={apiKey:t.config.openRouterKey,siteKey:t.config.siteKey,proxyUrl:t.config.proxyUrl}).apiKey?Ta(i):i.siteKey?function(e,t){const n=t||"https://accessify-api.accessify.workers.dev",i={"Content-Type":"application/json","X-Site-Key":e};return{async simplifyText(e,t="einfache",a="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=a.startsWith("de")?`de-${t}`:"en-plain";try{const t=await fetch(`${n}/v1/cache/query`,{method:"POST",headers:i,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:i,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:i,body:JSON.stringify({text:e,level:t,lang:a})});if(!s.ok){const e=await s.json().catch(()=>({error:`HTTP ${s.status}`}));if(429===s.status)throw new $a(e.error||"Rate limit reached");throw new Error(e.error||`AI proxy error: ${s.status}`)}return(await s.json()).result||""},async generateAltText(e,t,a){const r=await fetch(`${n}/v1/ai/alt-text`,{method:"POST",headers:i,body:JSON.stringify({imageUrl:e,context:t,lang:a})});if(!r.ok){const e=await r.json().catch(()=>({error:`HTTP ${r.status}`}));if(429===r.status)throw new $a(e.error||"Rate limit reached");throw new Error(e.error||`AI proxy error: ${r.status}`)}return(await r.json()).result||""}}}(i.siteKey,i.proxyUrl):Ta(i)),d),t.config.lang,{siteKey:t.config.siteKey,proxyUrl:t.config.proxyUrl}):r():r;return c.set(e,o),o}catch(a){return null}var i}async function b(e){const n=await y("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 x=Nt(()=>m(i)),w=Nt(()=>m(a)),k=Nt(()=>m(r));An(()=>{t.config.features.join("|"),di(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,i=c.get(n);if(!e&&!i){"contrast"===n&&Zt(u,"off"),"text-size"===n&&Zt(f,100);continue}const a=e?await y(n):i;if(!a)continue;const r=a.getState().enabled;e&&!r&&a.activate(),!e&&r&&a.deactivate(),v(n,a)}}()});var S=Ha(),A=vn(S),M=e=>{var n=za(),i=mn(n),a=mn(i);Di(a,()=>g("contrast"),!0);var r=mn(yn(a,2));Ni(yn(i,2),21,()=>o,Hi,(e,n)=>{var i=_a(),a=mn(i);Di(a,()=>di(n).icon,!0);var r=mn(yn(a,2));En(e=>{Vi(i,"data-active",di(u)===di(n).id),Vi(i,"aria-pressed",di(u)===di(n).id),_i(r,e)},[()=>ya(di(n).labelKey,t.config.lang)]),bi("click",i,()=>async function(e){const n=await y("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)}}(di(u)===di(n).id?"off":di(n).id)),$i(e,i)}),En((e,t)=>{Vi(n,"aria-label",e),_i(r,t)},[()=>ya("feature.contrast",t.config.lang),()=>ya("feature.contrast",t.config.lang)]),$i(e,n)},C=Nt(()=>di(p).has("contrast"));ji(A,e=>{di(C)&&e(M)});var E=yn(A,2),T=e=>{var n=Ia(),i=mn(n),a=mn(i);Di(a,()=>g("text-size"),!0);var r=mn(yn(a,2)),o=mn(yn(i,2)),s=yn(o,2),c=mn(s),l=yn(s,2);En((e,t)=>{Vi(n,"aria-label",e),_i(r,t),o.disabled=di(f)<=100,_i(c,`${di(f)??""}%`),l.disabled=di(f)>=200},[()=>ya("feature.textSize",t.config.lang),()=>ya("feature.textSize",t.config.lang)]),bi("click",o,()=>b(Math.max(100,di(f)-10))),bi("click",l,()=>b(Math.min(200,di(f)+10))),$i(e,n)},$=Nt(()=>di(p).has("text-size"));ji(E,e=>{di($)&&e(T)});var _=yn(E,4),z=e=>{var n=ja();Ni(n,21,()=>[...di(x),...di(w),...di(k)],e=>e.id,(e,n)=>{const i=Nt(()=>t.activeFeatures.get(di(n).id)??!1);var a=La(),r=mn(a),o=mn(r);Di(o,()=>g(di(n).iconId),!0);var s=mn(yn(o,2)),c=yn(r,2),l=yn(mn(c),2),d=mn(l);En((e,t,n,a)=>{Vi(r,"data-active",di(i)),Vi(r,"aria-checked",di(i)),Vi(r,"aria-label",e),_i(s,t),Vi(c,"aria-label",n),_i(d,a)},[()=>ya(di(n).nameKey,t.config.lang),()=>ya(di(n).nameKey,t.config.lang),()=>ya(di(n).descKey,t.config.lang),()=>ya(di(n).descKey,t.config.lang)]),bi("click",r,()=>async function(e){const n=!t.activeFeatures.get(e),i=await y(e);i&&(n?i.activate():i.deactivate(),v(e,i)),t.ontoggle(e,n)}(di(n).id)),$i(e,a)}),$i(e,n)};ji(_,e=>{(di(x).length>0||di(w).length>0||di(k).length>0)&&e(z)}),$i(e,S),et()}(D,{get config(){return di(e)},get activeFeatures(){return di(a)},ontoggle:function(e,t){di(a).set(e,t),Zt(a,new Map(di(a)),!0),v(),m(`${ya(`feature.${e.replace(/-([a-z])/g,(e,t)=>t.toUpperCase())}`,di(l))||e} ${ya(t?"status.activated":"status.deactivated",di(l))}`)}})}return function(e,t){Qe(t,!0);let n=Zi(t,"lang",3,"en");var i=Ba(),a=mn(i),r=yn(a,2),o=e=>{var i=Pa(),a=yn(vn(i),2),r=mn(a);En(e=>{Vi(a,"href",t.statementUrl),_i(r,e)},[()=>ya("widget.statement",n())]),$i(e,i)};ji(r,e=>{t.statementUrl&&e(o)}),En(()=>Vi(a,"href",t.dashboardUrl||"https://accessify-dashboard.pages.dev")),$i(e,i),et()}(yn(I,2),{get lang(){return di(l)},get statementUrl(){return n().statementUrl},get dashboardUrl(){return n().dashboardUrl}}),Xi(_,e=>Zt(o,e),()=>di(o)),En((e,t)=>{_i(T,di(c)),Vi(_,"aria-label",e),Vi(_,"aria-hidden",!di(i)),Vi(_,"dir",t),Vi(j,"aria-expanded",di(u)),_i(B,`${(di(g)?.flag||"")??""} ${(di(g)?.label||di(l))??""}`),O=Gi(N,0,"accessify-lang-chevron",0,O,{"accessify-lang-chevron--open":di(u)}),_.dir=_.dir},[()=>ya("widget.title",di(l)),()=>va(di(l))?"rtl":"ltr"]),bi("click",j,()=>{Zt(u,!di(u))}),$i(e,C),et(M)}xi(["click"]);const qa=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 Va(e){const t=e.position||"bottom-right",n=t.includes("right"),i=t.includes("bottom"),a=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 ${i?"bottom: 20px":"top: 20px"};\n ${n?"right: 20px":"left: 20px"};\n z-index: ${a};\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[aria-expanded="true"] { 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 /* ─── Panel ─── */\n .accessify-panel {\n position: fixed; top: 0; bottom: 0;\n ${n?"right: 0":"left: 0"};\n z-index: ${a-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 /* ─── 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 }\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,${qa}");\n mask-size: 10px; mask-repeat: no-repeat; mask-position: center;\n -webkit-mask-image: url("data:image/svg+xml,${qa}");\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: center; gap: 8px;\n padding: 8px 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 }\n .accessify-footer a { color: var(--accent); text-decoration: none; font-weight: 600; }\n .accessify-footer a:hover { text-decoration: underline; }\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 ${i?"bottom: 16px":"top: 16px"};\n ${n?"right: 16px":"left: 16px"};\n width: 50px; height: 50px; border-radius: 14px;\n }\n }\n `}const Ja="alt-texts",Ya="alt-text-reports";function Xa(e){let t=5381;const n=e.toLowerCase().trim();for(let i=0;i<n.length;i++)t=(t<<5)+t+n.charCodeAt(i),t|=0;return Math.abs(t).toString(36)}function Za(){return new Promise(e=>{try{const t=indexedDB.open("accessify-alt-text-cache",2);t.onupgradeneeded=()=>{const e=t.result;e.objectStoreNames.contains(Ja)||e.createObjectStore(Ja,{keyPath:"key"}),e.objectStoreNames.contains(Ya)||e.createObjectStore(Ya,{keyPath:"key"})},t.onsuccess=()=>e(t.result),t.onerror=()=>e(null)}catch{e(null)}})}async function Qa(e){const t=await Za();return t?new Promise(n=>{try{const i=t.transaction(Ja,"readonly").objectStore(Ja).get(Xa(e));i.onsuccess=()=>n(i.result?.altText||null),i.onerror=()=>n(null)}catch{n(null)}}):null}async function er(e,t,n){const i=await Za();if(i)return new Promise(a=>{try{const r=i.transaction(Ja,"readwrite");r.objectStore(Ja).put({key:Xa(e),src:e,altText:t,lang:n,createdAt:Date.now()}),r.oncomplete=()=>a(),r.onerror=()=>a()}catch{a()}})}const tr="https://accessify-api.accessify.workers.dev";function nr(e,t,n,i,a){try{const r=window.location.origin+window.location.pathname;fetch(`${t||tr}/v1/cache/persist-alt-text`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({siteKey:e,pageUrl:r,imageUrl:n,altText:i,lang:a})}).catch(()=>{})}catch{}}let ir=!1;async function ar(){if(ir)return 0;ir=!0;const e=new Map,t=window.Accessify?.config,n=t?.siteKey,i=t?.proxyUrl||"",a=document.documentElement.lang?.split("-")[0]||"en";if(n){const t=await async function(e,t,n){const i=new Map;try{const a=t||tr,r=window.location.origin+window.location.pathname,o=await fetch(`${a}/v1/manifest?siteKey=${encodeURIComponent(e)}&url=${encodeURIComponent(r)}&feature=alt_text&variant=${encodeURIComponent(n)}`,{headers:{Accept:"application/json"}});if(!o.ok)return i;const s=await o.json();if(s.blocks)for(const e of s.blocks)e.selector&&e.result&&i.set(e.selector,e.result)}catch{}return i}(n,i,a);for(const[n,i]of t)e.set(n,i),er(n,i,a).catch(()=>{})}const r=await async function(){const e=await Za(),t=new Map;return e?new Promise(n=>{try{const i=e.transaction(Ja,"readonly").objectStore(Ja).getAll();i.onsuccess=()=>{const e=i.result;for(const n of e)t.set(n.src,n.altText);n(t)},i.onerror=()=>n(t)}catch{n(t)}}):t}();for(const[c,l]of r)e.has(c)||e.set(c,l);if(0===e.size)return 0;let o=0;document.querySelectorAll("img").forEach(t=>{if(t.closest("#accessify-root"))return;const n=t.getAttribute("alt");if(null!==n&&""!==n.trim())return;const i=e.get(t.src);i&&(t.setAttribute("alt",i),t.setAttribute("title",i),o++)});const s=new MutationObserver(t=>{for(const n of t)for(const t of n.addedNodes){const n=t instanceof HTMLImageElement?[t]:t instanceof HTMLElement?Array.from(t.querySelectorAll("img")):[];for(const t of n){if(t.closest("#accessify-root"))continue;const n=t.getAttribute("alt");if(null!==n&&""!==n.trim())continue;const i=e.get(t.src);i&&(t.setAttribute("alt",i),t.setAttribute("title",i))}}});return s.observe(document.body,{childList:!0,subtree:!0}),setTimeout(()=>s.disconnect(),3e4),o}const rr=Object.freeze(Object.defineProperty({__proto__:null,autoApplyCachedAltTexts:ar,default:function(e,t="de",n){const i=n?.siteKey||"",a=n?.proxyUrl||"";let r=!1,o=null,s=null,c=[];const l=new Map;let d=!1,u=null;const f=new Map;let p=null;function h(){return ma()||t}function g(){return h().startsWith("de")}const m="accessify-alt-text-styles",v="accessify-alt-missing",y="accessify-alt-badge";function b(){u?.remove(),u=null}function x(e){!function(e){const t=e.getAttribute("alt")||l.get(e)?.generatedAlt;if(!t)return;b();const n=document.createElement("div");n.className="accessify-alt-tooltip",n.textContent=t,document.body.appendChild(n),u=n;const i=e.getBoundingClientRect(),a=n.getBoundingClientRect();let r=i.top-a.height-8;r<4&&(r=i.bottom+8);let o=i.left+(i.width-a.width)/2;o=Math.max(4,Math.min(o,window.innerWidth-a.width-4)),n.style.top=`${r}px`,n.style.left=`${o}px`}(e.currentTarget)}function w(){b()}function k(){p?.remove(),p=null}function S(e,t){e.setAttribute("alt",t),e.setAttribute("title",t),l.set(e,{generatedAlt:t}),r&&(e.classList.add("accessify-alt-done"),e.classList.remove("accessify-alt-generating"),function(e){if(f.has(e))return;const t=e.parentElement;t&&"static"===getComputedStyle(t).position&&(t.style.position="relative");const n=document.createElement("button");n.className="accessify-alt-info-btn",n.textContent="i",n.setAttribute("aria-label",g()?"Alt-Text melden":"Report alt text"),n.addEventListener("click",t=>{t.preventDefault(),t.stopPropagation(),function(e,t){k();const n=e.getAttribute("alt")||"",i=document.createElement("div");i.className="accessify-alt-report-panel";const a=t.getBoundingClientRect();i.style.top=`${a.bottom+6}px`,i.style.left=`${Math.min(a.left,window.innerWidth-260)}px`;const r=document.createElement("p");r.textContent=g()?"Alt-Text falsch? Melden Sie den Fehler.":"Alt text wrong? Report the error.",i.appendChild(r);const o=document.createElement("button");o.className="accessify-alt-report-btn",o.textContent=g()?"⚠ Fehler melden":"⚠ Report error",o.addEventListener("click",async()=>{await async function(e,t,n){const i=await Za();if(i)return new Promise(a=>{try{const r=i.transaction(Ya,"readwrite");r.objectStore(Ya).put({key:Xa(e)+"_"+Date.now(),src:e,pageUrl:window.location.href,altText:t,lang:n,reportedAt:Date.now()}),r.oncomplete=()=>a(),r.onerror=()=>a()}catch{a()}})}(e.src,n,h()),await async function(e){const t=await Za();if(t)return new Promise(n=>{try{const i=t.transaction(Ja,"readwrite");i.objectStore(Ja).delete(Xa(e)),i.oncomplete=()=>n(),i.onerror=()=>n()}catch{n()}})}(e.src),o.textContent=g()?"✓ Gemeldet":"✓ Reported",o.classList.add("reported")}),i.appendChild(o),document.body.appendChild(i),p=i,setTimeout(()=>{const e=n=>{i.contains(n.target)||n.target===t||(k(),document.removeEventListener("click",e))};document.addEventListener("click",e)},50);const s=e=>{"Escape"===e.key&&(k(),document.removeEventListener("keydown",s))};document.addEventListener("keydown",s)}(e,n)}),e.insertAdjacentElement("afterend",n),f.set(e,n)}(e)),e.removeEventListener("mouseenter",x),e.removeEventListener("mouseleave",w),e.addEventListener("mouseenter",x),e.addEventListener("mouseleave",w)}function A(){C();const e=c.filter(e=>!l.has(e)).length,t=c.filter(e=>e.classList.contains("accessify-alt-generating")).length;if(0===e&&c.length>0)return M(g()?`✓ ${c.length} Alt-Texte gesetzt`:`✓ ${c.length} alt texts applied`,"#2a9d8f",0),void setTimeout(()=>C(),5e3);0!==e&&(t>0?M(g()?`${t} Bilder werden analysiert…`:`Analyzing ${t} images…`,"#f77f00",t):M(g()?`${e} Bilder ohne Alt-Text`:`${e} images missing alt text`,"#e63946",e))}function M(e,t,n){const i=document.createElement("div");if(i.className=y,i.setAttribute("role","status"),i.setAttribute("aria-live","polite"),n>0){const e=document.createElement("span");e.className=`${y}-count`,e.style.background=t,e.textContent=String(n),i.appendChild(e)}const a=document.createElement("span");a.textContent=e,i.appendChild(a),document.body.appendChild(i),s=i}function C(){s?.remove(),s=null}function E(e){const t=[];try{const n=new URL(e.src,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 i=e.parentElement;if(i){const e=i.querySelector("h1, h2, h3, h4, h5, h6");e?.textContent?.trim()&&t.push(`Nearby heading: ${e.textContent.trim()}`)}const a=e.getAttribute("aria-describedby");if(a){const e=document.getElementById(a);e?.textContent?.trim()&&t.push(`Description: ${e.textContent.trim()}`)}return t.join(". ")}let T=null;function $(t){if(!r)return;if(t.closest("#accessify-root"))return;if(c.includes(t))return;const n=t.getAttribute("alt");function o(){r&&!c.includes(t)&&t.naturalWidth>=20&&t.naturalHeight>=20&&(t.classList.add(v),c.push(t),A(),async function(t){if(!e||!r)return;const n=await Qa(t.src);if(n)return S(t,n),void A();t.classList.add("accessify-alt-generating");try{const n=E(t),o=await e.generateAltText(t.src,n,h());o&&r&&(S(t,o),er(t.src,o,h()).catch(()=>{}),i&&nr(i,a,t.src,o,h()),A())}catch(o){t.classList.remove("accessify-alt-generating")}}(t))}null!==n&&""!==n.trim()||(t.complete&&t.naturalWidth>0?o():t.addEventListener("load",o,{once:!0}))}return ar().catch(()=>{}),{id:"alt-text",name:()=>g()?"Alt-Text erzeugen":"Alt-Text Generator",description:g()?"Bildbeschreibungen automatisch erstellen":"Auto-generate image descriptions",icon:"alt-text",category:"ai",activate:function(){r||(r=!0,document.getElementById(m)||(o=document.createElement("style"),o.id=m,o.textContent=`\n .${v} {\n outline: 3px dashed #e63946 !important;\n outline-offset: 3px !important;\n position: relative !important;\n transition: outline-color 0.2s ease !important;\n }\n .${v}.accessify-alt-generating::after {\n content: '\\2026';\n position: absolute;\n top: 4px;\n left: 4px;\n padding: 2px 6px;\n background: #f77f00;\n color: #fff;\n font-family: system-ui, -apple-system, sans-serif;\n font-size: 10px;\n font-weight: 700;\n border-radius: 3px;\n line-height: 1.4;\n pointer-events: none;\n z-index: 1;\n }\n .${v}.accessify-alt-done {\n outline-color: #2a9d8f !important;\n outline-style: solid !important;\n }\n .${v}.accessify-alt-done::after {\n content: none;\n }\n\n .accessify-alt-tooltip {\n position: fixed;\n z-index: 2147483647;\n max-width: 320px;\n padding: 8px 12px;\n background: #1a1a2e;\n color: #e0e0e0;\n border-radius: 8px;\n box-shadow: 0 4px 20px rgba(0,0,0,0.4);\n font-family: system-ui, -apple-system, sans-serif;\n font-size: 13px;\n line-height: 1.5;\n pointer-events: none;\n word-break: break-word;\n opacity: 1;\n }\n\n .accessify-alt-info-btn {\n position: absolute;\n top: 6px;\n right: 6px;\n z-index: 10;\n width: 22px;\n height: 22px;\n padding: 0;\n border: none;\n border-radius: 50%;\n background: rgba(0,0,0,0.6);\n color: #ccc;\n font-family: system-ui, -apple-system, sans-serif;\n font-size: 13px;\n font-weight: 600;\n line-height: 22px;\n text-align: center;\n cursor: pointer;\n opacity: 0;\n transition: opacity 0.15s ease;\n backdrop-filter: blur(4px);\n }\n .${v}.accessify-alt-done:hover + .accessify-alt-info-btn,\n .accessify-alt-info-btn:hover {\n opacity: 1;\n }\n .accessify-alt-info-btn:hover {\n background: rgba(0,0,0,0.8);\n color: #fff;\n }\n\n .accessify-alt-report-panel {\n position: fixed;\n z-index: 2147483646;\n width: 240px;\n padding: 12px;\n background: #1a1a2e;\n color: #f0f0f0;\n border-radius: 10px;\n box-shadow: 0 8px 32px rgba(0,0,0,0.4);\n font-family: system-ui, -apple-system, sans-serif;\n font-size: 12px;\n line-height: 1.5;\n }\n .accessify-alt-report-panel p {\n margin: 0 0 8px 0;\n color: #aaa;\n }\n .accessify-alt-report-btn {\n display: inline-flex;\n align-items: center;\n gap: 4px;\n padding: 5px 10px;\n border: 1px solid rgba(220,53,69,0.3);\n border-radius: 6px;\n background: rgba(220,53,69,0.08);\n color: #f0a0a8;\n font-size: 11px;\n cursor: pointer;\n transition: background 0.15s ease;\n }\n .accessify-alt-report-btn:hover { background: rgba(220,53,69,0.2); }\n .accessify-alt-report-btn.reported {\n border-color: rgba(42,157,143,0.3);\n background: rgba(42,157,143,0.1);\n color: #2a9d8f;\n cursor: default;\n }\n\n .${y} {\n position: fixed;\n top: 12px;\n right: 12px;\n z-index: 2147483646;\n display: flex;\n align-items: center;\n gap: 6px;\n padding: 8px 14px;\n background: #1a1a2e;\n color: #f0f0f0;\n border-radius: 8px;\n box-shadow: 0 4px 16px rgba(0,0,0,0.3);\n font-family: system-ui, -apple-system, sans-serif;\n font-size: 13px;\n user-select: none;\n }\n .${y}-count {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n min-width: 22px;\n height: 22px;\n padding: 0 6px;\n background: #e63946;\n color: #fff;\n font-size: 12px;\n font-weight: 700;\n border-radius: 11px;\n }\n `,document.head.appendChild(o)),c=function(){const e=document.querySelectorAll("img"),t=[];return e.forEach(e=>{if(e.closest("#accessify-root"))return;if(e.complete&&e.naturalWidth>0&&(e.naturalWidth<20||e.naturalHeight<20))return;const n=e.getAttribute("alt");null!==n&&""!==n.trim()||t.push(e)}),t}(),c.forEach(e=>e.classList.add(v)),A(),async function(){if(d||!r||!e)return;d=!0;const t=[];for(const e of c){if(l.has(e))continue;const n=await Qa(e.src);n?S(e,n):t.push(e)}if(A(),t.length){t.forEach(e=>e.classList.add("accessify-alt-generating"));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=E(t),o=await e.generateAltText(t.src,n,h());o&&r&&(S(t,o),er(t.src,o,h()).catch(()=>{}),i&&nr(i,a,t.src,o,h()))}catch(n){t.classList.remove("accessify-alt-generating")}})),A()}d=!1}else d=!1}(),document.querySelectorAll("img").forEach(e=>{e.complete||$(e)}),setTimeout(()=>{r&&document.querySelectorAll("img").forEach($)},2e3),T=new MutationObserver(e=>{for(const t of e)for(const e of t.addedNodes)e instanceof HTMLImageElement?$(e):e instanceof HTMLElement&&e.querySelectorAll("img").forEach($)}),T.observe(document.body,{childList:!0,subtree:!0}))},deactivate:function(){r=!1,d=!1,T?.disconnect(),T=null,b(),k(),f.forEach(e=>e.remove()),f.clear(),C(),c.forEach(e=>{e.classList.remove(v,"accessify-alt-done","accessify-alt-generating")}),c=[],o?.remove(),o=null,document.getElementById(m)?.remove()},getState:()=>({id:"alt-text",enabled:r,value:{missingCount:c.length,processedCount:l.size}})}}},Symbol.toStringTag,{value:"Module"})),or=new Set(["spacing","dyslexia-font","color-blind","color-blindness","saturation","text-align","line-height","page-structure","focus-highlight","auto-scan"]),sr={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 cr=null,lr=null,dr={...sr};async function ur(e={}){if(cr)return;const t=window.__accessify_dataConfig||{};dr={...sr,...t,...e};const n=dr.siteKey||dr.siteKey,i=dr.proxyUrl||dr.proxyUrl;if(n){const a=await async function(e,t){try{const n=t||"https://accessify-api.accessify.workers.dev",i=await fetch(`${n}/v1/config/${e}`,{headers:{Accept:"application/json"}});if(!i.ok)return{};const a=await i.json(),r=a?.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,i||"");dr={...sr,...a,...t,...e}}dr.features=(dr.features||sr.features).filter(e=>!or.has(e)),lr=document.createElement("div"),lr.id="accessify-root",lr.setAttribute("role","complementary"),lr.setAttribute("aria-label",ya("widget.title",dr.lang));const a=lr.attachShadow({mode:"open",delegatesFocus:!0}),r=new CSSStyleSheet;r.replaceSync(Va(dr)),a.adoptedStyleSheets=[r];const o=document.createElement("div");function s(e){return Object.getOwnPropertySymbols(e).find(e=>"Symbol(events)"===e.toString())}o.id="accessify-mount",a.appendChild(o),cr=function(e,{target:t,anchor:n,props:i={},events:a,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:i,includes:a}=e;e.indexOf=function(e,t){const i=n.call(this,e,t);if(-1===i)for(let n=t??0;n<this.length;n+=1)if(sn(this[n])===e){Ke();break}return i},e.lastIndexOf=function(e,t){const n=i.call(this,e,t??this.length-1);if(-1===n)for(let i=0;i<=(t??this.length-1);i+=1)if(sn(this[i])===e){Ke();break}return n},e.includes=function(e,t){const n=a.call(this,e,t);if(!n)for(let i=0;i<this.length;i+=1)if(sn(this[i])===e){Ke();break}return n},Array.__svelte_cleanup=()=>{e.indexOf=n,e.lastIndexOf=i,e.includes=a}}())}}();var c=void 0,l=function(){At.ensure();const o=wn(524352,()=>{var o=n??t.appendChild(pn());new It(o,{pending:()=>{}},t=>{Qe({}),r&&(qe.c=r),a&&(i.$$events=a),c=e(t,i)||{},et()},s);var l=new Set,d=e=>{for(var n=0;n<e.length;n++){var i=e[n];if(!l.has(i)){l.add(i);var a=gi(i);for(const e of[t,document]){var r=zi.get(e);void 0===r&&zi.set(e,r=new Map);var o=r.get(i);void 0===o?(e.addEventListener(i,ki,{passive:a}),r.set(i,1)):r.set(i,o+1)}}}};return d(re(vi)),yi.add(d),()=>{for(var e of l)for(const n of[t,document]){var i=zi.get(n),a=i.get(e);0==--a?(n.removeEventListener(e,ki),i.delete(e),0===i.size&&zi.delete(n)):i.set(e,a)}yi.delete(d),o!==n&&o.parentNode?.removeChild(o)}});return(e={})=>new Promise(t=>{e.outro?Hn(o,()=>{In(o),t(void 0)}):(In(o),t(void 0))})}();return Ii.set(c,l),c}(Ua,{target:o,props:{config:dr,shadow:a}});const c=["click","input","change","keydown","keyup","focusin","focusout"];for(const l of c)a.addEventListener(l,e=>{let t=e.composedPath()[0],n=!1;for(;t&&t!==a;){const i=s(t);if(i){const a=t[i];a&&"function"==typeof a[l]&&(a[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&&dr&&(dr.position=t,r.replaceSync(Va(dr)))}),window.addEventListener("message",e=>{if("accessify:preview-config"===e.data?.type&&(Object.assign(dr,e.data.config||{}),r.replaceSync(Va(dr))),"accessify:open"===e.data?.type){const e=a.querySelector(".accessify-panel"),t=a.querySelector(".accessify-trigger");e&&e.setAttribute("aria-hidden","false"),t&&t.setAttribute("aria-expanded","true")}}),document.body.appendChild(lr),ar().catch(()=>{}),dr.onReady?.()}function fr(){cr&&(function(e){const t=Ii.get(e);t?(Ii.delete(e),t(void 0)):Promise.resolve()}(cr),cr=null),lr?.remove(),lr=null}function pr(e,...t){const n={init:e=>ur(e),open:()=>cr?.open?.(),close:()=>cr?.close?.(),destroy:fr};n[e]?.(...t)}window.__accessify_exec=pr;const hr=window.Accessify;hr?.q&&(hr.q.forEach(e=>pr(...e)),hr.q=[]);const gr=function(e,...t){pr(e,...t)};gr._loaded=!0,Object.defineProperty(gr,"config",{get:()=>dr,enumerable:!0}),window.Accessify=gr,window.A11yPlus=gr;const mr=Object.freeze(Object.defineProperty({__proto__:null,default:function(){let e="off";const t="accessify-contrast",n="accessify-contrast-mode";function i(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",i(e)},deactivate:function(){e="off",i("off"),localStorage.removeItem(n)},getState:()=>({id:"contrast",enabled:"off"!==e,value:e}),setState:t=>{e="light"===t||"dark"===t||"high"===t?t:"off",i(t),"off"===e?localStorage.removeItem(n):localStorage.setItem(n,e)}}}},Symbol.toStringTag,{value:"Module"})),vr=Object.freeze(Object.defineProperty({__proto__:null,default:function(){let e=100,t=null,n=!1;const i="accessify-text-size-styles",a="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(i)?.remove(),void document.querySelectorAll(`[${r}]`).forEach(e=>{d(e)});!function(e){let t=document.getElementById(i);t||(t=document.createElement("style"),t.id=i,document.head.appendChild(t)),t.textContent=`/* accessify text-size: ${e}% */`}(e);const a=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 i=Math.round(n*t*100)/100;e.style.setProperty("font-size",`${i}px`,"important"),e.setAttribute(r,"true")}(e,a)}),!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(a);e=t?p(parseInt(t,10)):150,f(e),localStorage.setItem(a,String(e))},deactivate:function(){e=100,f(100),localStorage.removeItem(a)},getState:()=>({id:"text-size",enabled:100!==e,value:e}),setState:t=>{e=p(t),f(e),localStorage.setItem(a,String(e))}}}},Symbol.toStringTag,{value:"Module"})),yr=Object.freeze(Object.defineProperty({__proto__:null,default:function(){let e=!1;const t="accessify-keyboard-nav",n="accessify-skip-link",i="accessify-keyboard-help",a="accessify-keyboard-nav";let r=-1,o=-1,s=[],c=[],l=!1;function d(){return ma()}function u(t){if(e){if("Escape"===t.key&&l){const e=document.getElementById(i);return e?.remove(),void(l=!1)}if(t.altKey)switch(t.key.toLowerCase()){case"h":t.preventDefault(),function(){if(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}),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(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}),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(i);if(e)return e.remove(),void(l=!1);l=!0;const t=document.createElement("div");t.id=i,t.setAttribute("role","dialog"),t.setAttribute("aria-label",ya("keyboard.shortcuts",d())),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;">${ya("keyboard.shortcuts",d())}</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;">${ya("keyboard.shortcut",d())}</th>\n <th style="text-align: left; padding: 8px 12px;">${ya("keyboard.action",d())}</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;">${ya("keyboard.nextHeading",d())}</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;">${ya("keyboard.nextLandmark",d())}</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;">${ya("keyboard.toggleHelp",d())}</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;">${ya("keyboard.nextFocusable",d())}</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;">${ya("keyboard.closeOverlay",d())}</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">${ya("widget.close",d())}</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 f(){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=ya("keyboard.skipToContent",d()),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)}(),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")}),document.addEventListener("keydown",u),localStorage.setItem(a,"true")}function p(){e=!1,l=!1,document.removeEventListener("keydown",u),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(i);r?.remove(),localStorage.removeItem(a)}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:f,deactivate:p,getState:()=>({id:"keyboard-nav",enabled:e}),setState:e=>{e.enabled?f():p()}}}},Symbol.toStringTag,{value:"Module"})),br=Object.freeze(Object.defineProperty({__proto__:null,default:function(){let e=!1;const t="accessify-link-highlight",n="accessify-link-highlight";function i(){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 a(){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:i,deactivate:a,getState:()=>({id:"link-highlight",enabled:e}),setState:e=>{e.enabled?i():a()}}}},Symbol.toStringTag,{value:"Module"})),xr={height:8,opacity:.3},wr=Object.freeze(Object.defineProperty({__proto__:null,default:function(){let e=!1,t=null,n=0,i={...xr};const a="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(i){e&&t&&("ArrowUp"===i.key?(i.preventDefault(),n=Math.max(0,n-10),c()):"ArrowDown"===i.key&&(i.preventDefault(),n=Math.min(window.innerHeight,n+10),c()))}function c(){t&&(t.style.top=n-i.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(a);if(l)try{const e=JSON.parse(l);i={height:Math.min(60,Math.max(2,e.height??xr.height)),opacity:Math.min(1,Math.max(.1,e.opacity??xr.opacity))}}catch{i={...xr}}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:`${i.height}px`,backgroundColor:`rgba(255, 255, 0, ${i.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(a)},getState:()=>({id:"reading-guide",enabled:e,value:{...i}}),setState:e=>{i={height:Math.min(60,Math.max(2,e.height??i.height)),opacity:Math.min(1,Math.max(.1,e.opacity??i.opacity))},localStorage.setItem(a,JSON.stringify(i)),t&&(t.style.height=`${i.height}px`,t.style.backgroundColor=`rgba(255, 255, 0, ${i.opacity})`,c())}}}},Symbol.toStringTag,{value:"Module"})),kr=Object.freeze(Object.defineProperty({__proto__:null,default:function(){let e=!1,t=null,n=null,i=120;function a(e){if(!t||!n)return;const a=e.clientY,r=i/2,o=Math.max(0,a-r),s=Math.max(0,window.innerHeight-a-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 a=e.getBoundingClientRect(),r=a.top+a.height/2,o=i/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",a),document.addEventListener("keydown",r)},deactivate:function(){e=!1,document.removeEventListener("mousemove",a),document.removeEventListener("keydown",r),t?.remove(),n?.remove(),t=null,n=null},getState:()=>({id:"reading-mask",enabled:e,value:i}),setState:e=>{i=Math.min(400,Math.max(60,e))}}}},Symbol.toStringTag,{value:"Module"})),Sr=Object.freeze(Object.defineProperty({__proto__:null,default:function(){let e=!1;const t="accessify-animation-stop",n="accessify-animation-stop";let i=[];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 animation stop - WCAG 2.3.1 compliance */\n *, *::before, *::after {\n animation-duration: 0.01s !important;\n animation-delay: 0s !important;\n animation-iteration-count: 1 !important;\n animation-play-state: paused !important;\n transition-duration: 0.01s !important;\n transition-delay: 0s !important;\n scroll-behavior: auto !important;\n }\n "}(),function(){const e=document.querySelectorAll("video[autoplay], video");i=[],e.forEach(e=>{e.paused||(e.pause(),i.push(e))})}(),localStorage.setItem(n,"true")}function r(){e=!1,function(){const e=document.getElementById(t);e?.remove()}(),i.forEach(e=>{try{e.play()}catch{}}),i=[],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:a,deactivate:r,getState:()=>({id:"animation-stop",enabled:e}),setState:e=>{e.enabled?a():r()}}}},Symbol.toStringTag,{value:"Module"})),Ar=Object.freeze(Object.defineProperty({__proto__:null,default:function(){let e=!1;const t="accessify-hide-images";return{id:"hide-images",name:()=>"Hide Images",description:"Remove images for distraction-free reading",icon:"hide-images",category:"visual",activate:function(){e=!0;let n=document.getElementById(t);n||(n=document.createElement("style"),n.id=t,document.head.appendChild(n)),n.textContent='\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 '},deactivate:function(){e=!1,document.getElementById(t)?.remove()},getState:()=>({id:"hide-images",enabled:e})}}},Symbol.toStringTag,{value:"Module"}));function Mr(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 Cr=Object.freeze(Object.defineProperty({__proto__:null,default:function(){let e=!1,t="48";const n="accessify-big-cursor",i="accessify-big-cursor",a={48:Mr(48),64:Mr(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('${a[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('${a[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(i);t="64"===n?"64":"48",r(t)},deactivate:function(){e=!1,function(){const e=document.getElementById(n);e?.remove()}(),localStorage.removeItem(i)},getState:()=>({id:"big-cursor",enabled:e,value:t}),setState:n=>{t="64"===n?"64":"48",e&&r(t),localStorage.setItem(i,t)}}}},Symbol.toStringTag,{value:"Module"})),Er=Object.freeze(Object.defineProperty({__proto__:null,default:function(){let e=!1,t=null;const n="accessify-page-structure";function i(){return ma()}function a(e){return e.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}function r(){e=!1,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,function(){t=document.createElement("div"),t.id=n,t.setAttribute("role","dialog"),t.setAttribute("aria-label",ya("pageStructure.title",i()));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}(),o=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(),i=t.getAttribute("aria-label")||t.getAttribute("aria-labelledby")||n;e.push({role:n,label:i,el:t})}),e}(),s={h1:"0",h2:"12px",h3:"24px",h4:"36px",h5:"48px",h6:"60px"};let c=`\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="${ya("widget.close",i())}">&times;</button>\n <h3>${ya("pageStructure.title",i())}</h3>\n `;e.length>0&&(c+=`<div class="ps-section"><div class="ps-label">${ya("pageStructure.headings",i())}</div>`,e.forEach((e,t)=>{c+=`<button class="ps-item" data-type="heading" data-index="${t}" style="padding-left:${s[e.tag]||"0"}">\n <span class="ps-tag">${e.tag}</span>${a(e.text.slice(0,80))}\n </button>`}),c+="</div>"),o.length>0&&(c+=`<div class="ps-section"><div class="ps-label">${ya("pageStructure.landmarks",i())}</div>`,o.forEach((e,t)=>{c+=`<button class="ps-item" data-type="landmark" data-index="${t}">\n <span class="ps-tag">${a(e.role)}</span>${a(e.label.slice(0,60))}\n </button>`}),c+="</div>"),0===e.length&&0===o.length&&(c+=`<p style="color:#888">${ya("pageStructure.empty",i())}</p>`),t.innerHTML=c,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 a;"heading"===t?a=e[i]?.el:"landmark"===t&&(a=o[i]?.el),a&&(a.scrollIntoView({behavior:"smooth",block:"center"}),a.focus({preventScroll:!0}))}t.target.closest(".ps-close")&&r()}),document.body.appendChild(t);const l=t.querySelector(".ps-item, .ps-close");l?.focus()}()},deactivate:r,getState:()=>({id:"page-structure",enabled:e})}}},Symbol.toStringTag,{value:"Module"})),Tr={speed:1},$r=Object.freeze(Object.defineProperty({__proto__:null,default:function(){let e=!1,t={...Tr},n=null,i=null,a=!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(),a=!1,r=!1,s=[],c=0,y(),w()}function m(e,n){if(g(),!e.trim())return;var o;n&&(o=n,y(),o.classList.add(h),i=o);const u=function(e){const t=e.match(/[^.!?]*[.!?]+[\s]?|[^.!?]+$/g);if(!t)return[e];const n=[];let i="";for(const a of t){const e=a.trim();e&&(i+=(i?" ":"")+e,(i.length>80||/[.!?]$/.test(i))&&(n.push(i),i=""))}return i.trim()&&n.push(i.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,a=!0,r=!1,w(),v()}function v(){if(c>=s.length)return a=!1,r=!1,y(),void w();const e=s[c];let t=null,n=!1;function i(){n||(n=!0,t&&(clearTimeout(t),t=null))}t=setTimeout(()=>{n||(i(),speechSynthesis.cancel(),c++,c<s.length&&a?setTimeout(()=>v(),100):(a=!1,r=!1,y(),w()))},2e4),e.onend=()=>{i(),c++,c<s.length&&a?setTimeout(()=>v(),50):(a=!1,r=!1,y(),w())},e.onerror=e=>{i(),"interrupted"!==e.error&&"canceled"!==e.error&&(c++,c<s.length&&a)?setTimeout(()=>v(),100):(a=!1,r=!1,y(),w())},speechSynthesis.speak(e)}function y(){i&&(i.classList.remove(h),i=null),document.querySelectorAll(`.${h}`).forEach(e=>e.classList.remove(h))}function b(t){if(!e||!o)return;const i=t.target;if(!i)return;if(n?.contains(i))return;const a=document.getElementById("accessify-root");if(a&&(a===i||a.contains(i)))return;const r=i.tagName;if("A"===r||"BUTTON"===r||"INPUT"===r||"SELECT"===r||"TEXTAREA"===r||i.closest('a, button, input, select, textarea, [role="button"]'))return;t.preventDefault();const s=function(e){if(x(e).trim().length>0)return e;let t=e;for(;t&&t!==document.body;){if(x(t).trim().length>0)return t;t=t.parentElement}return null}(i);if(!s)return;const c=x(s);c.trim()&&m(c,s)}function x(e){return(e.innerText||e.textContent||"").trim()}function w(){if(!n)return;const e=n.querySelector(".accessify-tts-play"),t=n.querySelector(".accessify-tts-hint");e&&(a&&!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"):a&&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=a&&!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??Tr.speed))}catch{t={...Tr}}}(),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 i=()=>{n||(n=!0,t())};speechSynthesis.addEventListener("voiceschanged",i,{once:!0}),setTimeout(i,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 i=t.find(e=>e.lang.toLowerCase().startsWith("de"));if(i)return i}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",()=>{a&&a&&(r?(speechSynthesis.resume(),r=!1):(speechSynthesis.pause(),r=!0),w())});const i=document.createElement("button");i.className="accessify-tts-btn accessify-tts-stop",i.setAttribute("aria-label","Stop"),i.title="Stop",i.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>',i.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(i),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),y(),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 i=document.getElementById("accessify-tts-speed");i&&(i.value=String(t.speed));const a=n?.querySelector(".accessify-tts-speed-val");a&&(a.textContent=`${t.speed.toFixed(1)}x`)}}}}},Symbol.toStringTag,{value:"Module"})),_r=Object.freeze(Object.defineProperty({__proto__:null,default:function(e,t="de"){let n=!1,i="einfache",a=[],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 v(e){try{const t=await m();return new Promise(n=>{const i=t.transaction(g,"readonly").objectStore(g).get(e);i.onsuccess=()=>n(i.result??null),i.onerror=()=>n(null)})}catch{return null}}async function y(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:${i}:${e}`}function x(e){const t=e.replace(/\s+/g," ").trim().toLowerCase();let n=5381;for(let i=0;i<t.length;i++)n=(n<<5)+n+t.charCodeAt(i)&2147483647;return n.toString(36)}function w(e){return{scrollHeight:e.scrollHeight,clientHeight:e.clientHeight}}function k(e){let t=e;for(;t&&t!==document.body;){const e=getComputedStyle(t),n=e.overflow+" "+e.overflowY,i=n.includes("hidden")||n.includes("clip"),a="none"!==e.maxHeight||"auto"!==e.height&&""!==e.height&&!e.height.includes("%");if(i&&a)return t;t=t.parentElement}return null}function S(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 i=w(e);return i.scrollHeight<=i.clientHeight+2?{safe:!0,patches:t}:(A(t),{safe:!1,patches:[]})}function A(e){for(const t of e)t.el.style[t.property]=t.originalValue}function M(e,t,n){const i=e.innerHTML;e.setAttribute("data-accessify-replacing","true"),function(e,t){const n=function(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_TEXT,null);let i;for(;i=n.nextNode();){const e=i.nodeValue?.trim();e&&e.length>0&&t.push(i)}return t}(e);if(0===n.length)return;if(1===n.length)return void(n[0].nodeValue=t);const i=t.match(/[^.!?]+[.!?]*\s*/g)||[t],a=n.reduce((e,t)=>e+(t.nodeValue?.trim().length||0),0);if(0===a){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)/a,t=Math.max(1,Math.round(e*i.length)),s=i.slice(r,r+t).join("");n[o].nodeValue=s||"",r+=t}if(r<i.length){const e=n[n.length-1];e.nodeValue=(e.nodeValue||"")+i.slice(r).join("")}}(e,t);const{safe:r,patches:o}=function(e){const t=[],n=w(e);if(!(n.scrollHeight>n.clientHeight+2)){const n=k(e);if(!n)return{safe:!0,patches:[]};const i=w(n);return i.scrollHeight<=i.clientHeight+2?{safe:!0,patches:[]}:S(n,t)}const i=k(e);return i?S(i,t):{safe:!0,patches:[]}}(e);return r?(e.removeAttribute("data-accessify-replacing"),e.setAttribute(f,"true"),e.setAttribute(p,i),n&&e.setAttribute(h,n),a.push({el:e,originalHtml:i,ancestorPatches:o}),c?.observe(e),!0):(e.innerHTML=i,e.removeAttribute("data-accessify-replacing"),s++,!1)}function C(e){e.el.innerHTML=e.originalHtml,e.el.removeAttribute(f),e.el.removeAttribute(p),e.el.removeAttribute(h),A(e.ancestorPatches),c?.unobserve(e.el),a=a.filter(t=>t.el!==e.el)}function E(e,t,n,a,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:i,blockHash:t,originalText:n,result:a})}).catch(e=>{})}function T(e){e.style.opacity="0.5",e.style.transition="opacity 0.3s ease"}function $(e){e.style.opacity="",e.style.transition=""}function _(e,n,i=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 a=Math.round(e/n*100),r=i>0?t.startsWith("de")?` (${i} übersprungen)`:` (${i} skipped)`:"",s=t.startsWith("de")?`Wird vereinfacht... ${e}/${n} (${a}%)${r}`:`Simplifying... ${e}/${n} (${a}%)${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 z(e,n){if(o){const i=n>0?t.startsWith("de")?` (${n} aus Cache)`:` (${n} from cache)`:"",a=s>0?t.startsWith("de")?`, ${s} übersprungen`:`, ${s} skipped`:"",r=t.startsWith("de")?`${e} Textabschnitte vereinfacht${i}${a}`:`${e} text sections simplified${i}${a}`;o.innerHTML=`<span style="color:#22c55e">&#x2713;</span> ${r}`,o.style.color="#22c55e",setTimeout(()=>I(),3e3)}}function I(){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||(i=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 i=n;if(i.closest("#accessify-root"))return;if(null===i.offsetParent&&"fixed"!==i.style.display)return;if((i.textContent?.trim()||"").length<20)return;if(t.has(i))return;let a=!1;for(const e of t)if(e.contains(i)){a=!0;break}a||(t.add(i),e.push(i))}),e}();if(0===n.length)return;r=new AbortController,a=[],s=0,c||(c=new ResizeObserver(e=>{for(const t of e){const e=t.target;if(!e.hasAttribute(f))continue;const n=a.find(t=>t.el===e);if(!n)continue;const i=k(e);if(i){const e=w(i);e.scrollHeight>e.clientHeight+2&&(C(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=a.findIndex(t=>t.el===e||e.contains(t.el));if(-1!==t){const e=a[t];c?.unobserve(e.el),e.el.removeAttribute(f),e.el.removeAttribute(p),e.el.removeAttribute(h),A(e.ancestorPatches),a.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=a.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),A(e.ancestorPatches),a=a.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;if(d){_(0,n.length);const e=await async function(e,t){const n=`${t||"https://accessify-api.accessify.workers.dev"}/v1/manifest?siteKey=${e}&url=${encodeURIComponent(window.location.origin+window.location.pathname)}&feature=simplify&variant=${i}`;try{const e=await fetch(n);if(!e.ok)return null;const t=await e.json();return t.blocks?.length?t:null}catch{return null}}(d,u);if(e?.blocks?.length){const t=function(e,t){const n=[],i=[],a=new Map;for(const r of e.blocks)a.set(r.blockHash,r);for(const r of t){const e=x(r.textContent?.trim()||""),t=a.get(e);t?.result&&M(r,t.result,e)?n.push(r):i.push(r)}return{applied:n,remaining:i}}(e,n);g=t.applied.length,m=t.remaining;for(const n of e.blocks)n.result&&y(b(n.blockHash),n.result);if(0===m.length)return void z(g,g)}}{const e=[];for(const t of m){const n=t.textContent?.trim()||"";if(n.length<20){e.push(t);continue}const i=x(n),a=await v(b(i));a&&M(t,a,i)?g++:e.push(t)}if(m=e,0===m.length)return void z(g,g)}if(!e&&m.length>0)return void(g>0?z(g,g):(_(0,1),S=t.startsWith("de")?"Kein API-Key konfiguriert":"No API key configured",o&&(o.innerHTML=`<span style="color:#ef4444">&#x2715;</span> ${S}`,o.style.color="#ef4444",setTimeout(()=>I(),5e3))));var S;for(const e of m)T(e);const L=n.length;let j=g,H=g;_(j,L,s);for(const a of m){if(r.signal.aborted)break;const n=a.textContent?.trim()||"";if(n.length<20){$(a),j++,_(j,L,s);continue}const o=x(n);try{const s=await e.simplifyText(n,i,t);if(r?.signal.aborted)return;s&&s!==n&&M(a,s,o)&&(H++,y(b(o),s),d&&E(d,o,n,s,u))}catch(P){if(P?.message?.includes("429")){await new Promise(e=>setTimeout(e,8e3));try{const s=await e.simplifyText(n,i,t);if(r?.signal.aborted)return;s&&s!==n&&M(a,s,o)&&(H++,y(b(o),s),d&&E(d,o,n,s,u))}catch{}}}finally{$(a),j++,r?.signal.aborted||(_(j,L,s),await new Promise(e=>setTimeout(e,1200)))}}r?.signal.aborted||z(H,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,ancestorPatches:n}of a)e.innerHTML=t,e.removeAttribute(p),e.removeAttribute(f),e.removeAttribute(h),e.removeAttribute("data-accessify-replacing"),$(e),A(n);a=[],s=0}(),I()},getState:()=>({id:"text-simplify",enabled:n,value:{level:i}}),setState:e=>{!e.level||"einfache"!==e.level&&"leichte"!==e.level||(i=e.level,localStorage.setItem(u,JSON.stringify({level:i})))}}}},Symbol.toStringTag,{value:"Module"}));return e.destroy=fr,e.init=ur,Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),e}({});
2
2
  //# sourceMappingURL=accessify.min.js.map