triiiceratops 0.12.1 → 0.12.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.
|
@@ -3,7 +3,7 @@ var t4=Object.defineProperty;var r4=Object.getPrototypeOf;var i4=Reflect.get;var
|
|
|
3
3
|
`)}),si(t,"name",{value:i}),t)}function Sd(){const i=Error.stackTraceLimit;Error.stackTraceLimit=1/0;const t=new Error().stack;if(Error.stackTraceLimit=i,!t)return[];const e=t.split(`
|
|
4
4
|
`),r=[];for(let n=0;n<e.length;n++){const o=e[n],a=o.replaceAll("\\","/");if(o.trim()!=="Error"){if(o.includes("validate_each_keys"))return[];a.includes("svelte/src/internal")||a.includes("node_modules/.vite")||r.push(o)}}return r}let Ze=null;function Ri(i){Ze=i}let mo=null;function Cd(i,t,e,r,n,o){const a=mo;mo={type:t,file:e[Zt],line:r,column:n,parent:a,...o};try{return i()}finally{mo=a}}let nn=null;function al(i){nn=i}function Pd(){const i={};return[()=>(ua(i)||Vh(),Wr(i)),t=>ca(i,t)]}function Wr(i){return _o().get(i)}function ca(i,t){return _o().set(i,t),t}function ua(i){return _o().has(i)}function Ad(){return _o()}function Qe(i,t=!1,e){Ze={p:Ze,i:!1,c:null,e:null,s:i,x:null,l:null}}function Je(i){var t=Ze,e=t.e;if(e!==null){t.e=null;for(var r of e)Rl(r)}return i!==void 0&&(t.x=i),t.i=!0,Ze=t.p,i??{}}function sl(){return!0}function _o(i){return Ze===null&&Pi(),Ze.c??(Ze.c=new Map(Rd(Ze)||void 0))}function Rd(i){let t=i.p;for(;t!==null;){const e=t.c;if(e!==null)return e;t=t.p}return null}let di=[];function ll(){var i=di;di=[],aa(i)}function qt(i){if(di.length===0&&!Ii){var t=di;queueMicrotask(()=>{t===di&&ll()})}di.push(i)}function Id(){for(;di.length>0;)ll()}function cl(i){var t=Fe;if(t===null)return Ue.f|=Zr,i;if((t.f&tn)===0){if((t.f&co)===0)throw i;t.b.error(i)}else Fr(i,t)}function Fr(i,t){for(;t!==null;){if((t.f&co)!==0)try{t.b.error(i);return}catch(e){i=e}t=t.parent}throw i}const fi=new Set;let Be=null,on=null,ot=null,ir=[],wo=null,ha=!1,Ii=!1;const Wo=class Wo{constructor(){we(this,_t);nt(this,"committed",!1);nt(this,"current",new Map);nt(this,"previous",new Map);we(this,Wi,new Set);we(this,qi,new Set);we(this,wi,0);we(this,bi,0);we(this,xn,null);we(this,Xi,[]);we(this,Yi,[]);nt(this,"skipped_effects",new Set);nt(this,"is_fork",!1)}is_deferred(){return this.is_fork||R(this,bi)>0}process(t){var r;ir=[],on=null,this.apply();var e={parent:null,effect:null,effects:[],render_effects:[],block_effects:[]};for(const n of t)We(this,_t,Os).call(this,n,e);this.is_fork||We(this,_t,gh).call(this),this.is_deferred()?(We(this,_t,ki).call(this,e.effects),We(this,_t,ki).call(this,e.render_effects),We(this,_t,ki).call(this,e.block_effects)):(on=this,Be=null,ul(e.render_effects),ul(e.effects),on=null,(r=R(this,xn))==null||r.resolve()),ot=null}capture(t,e){this.previous.has(t)||this.previous.set(t,e),(t.f&Zr)===0&&(this.current.set(t,t.v),ot==null||ot.set(t,t.v))}activate(){Be=this,this.apply()}deactivate(){Be===this&&(Be=null,ot=null)}flush(){if(this.activate(),ir.length>0){if(da(),Be!==null&&Be!==this)return}else R(this,wi)===0&&this.process([]);this.deactivate()}discard(){for(const t of R(this,qi))t(this);R(this,qi).clear()}increment(t){ze(this,wi,R(this,wi)+1),t&&ze(this,bi,R(this,bi)+1)}decrement(t){ze(this,wi,R(this,wi)-1),t&&ze(this,bi,R(this,bi)-1),this.revive()}revive(){for(const t of R(this,Xi))bt(t,Mt),pi(t);for(const t of R(this,Yi))bt(t,yr),pi(t);ze(this,Xi,[]),ze(this,Yi,[]),this.flush()}oncommit(t){R(this,Wi).add(t)}ondiscard(t){R(this,qi).add(t)}settled(){return(R(this,xn)??ze(this,xn,Zs())).promise}static ensure(){if(Be===null){const t=Be=new Wo;fi.add(Be),Ii||Wo.enqueue(()=>{Be===t&&t.flush()})}return Be}static enqueue(t){qt(t)}apply(){}};Wi=new WeakMap,qi=new WeakMap,wi=new WeakMap,bi=new WeakMap,xn=new WeakMap,Xi=new WeakMap,Yi=new WeakMap,_t=new WeakSet,Os=function(t,e){var u;t.f^=Ct;for(var r=t.first;r!==null;){var n=r.f,o=(n&(Hr|Gr))!==0,a=o&&(n&Ct)!==0,s=a||(n&Wt)!==0||this.skipped_effects.has(r);if((r.f&co)!==0&&((u=r.b)!=null&&u.is_pending())&&(e={parent:e,effect:r,effects:[],render_effects:[],block_effects:[]}),!s&&r.fn!==null){o?r.f^=Ct:(n&so)!==0?e.effects.push(r):Mi(r)&&((r.f&br)!==0&&e.block_effects.push(r),Di(r));var c=r.first;if(c!==null){r=c;continue}}var l=r.parent;for(r=r.next;r===null&&l!==null;)l===e.effect&&(We(this,_t,ki).call(this,e.effects),We(this,_t,ki).call(this,e.render_effects),We(this,_t,ki).call(this,e.block_effects),e=e.parent),r=l.next,l=l.parent}},ki=function(t){for(const e of t)((e.f&Mt)!==0?R(this,Xi):R(this,Yi)).push(e),We(this,_t,Ms).call(this,e.deps),bt(e,Ct)},Ms=function(t){if(t!==null)for(const e of t)(e.f&pt)===0||(e.f&ci)===0||(e.f^=ci,We(this,_t,Ms).call(this,e.deps))},gh=function(){if(R(this,bi)===0){for(const t of R(this,Wi))t();R(this,Wi).clear()}R(this,wi)===0&&We(this,_t,vh).call(this)},vh=function(){var o;if(fi.size>1){this.previous.clear();var t=ot,e=!0,r={parent:null,effect:null,effects:[],render_effects:[],block_effects:[]};for(const a of fi){if(a===this){e=!1;continue}const s=[];for(const[l,u]of this.current){if(a.current.has(l))if(e&&u!==a.current.get(l))a.current.set(l,u);else continue;s.push(l)}if(s.length===0)continue;const c=[...a.current.keys()].filter(l=>!this.current.has(l));if(c.length>0){var n=ir;ir=[];const l=new Set,u=new Map;for(const h of s)hl(h,c,l,u);if(ir.length>0){Be=a,a.apply();for(const h of ir)We(o=a,_t,Os).call(o,h,r);a.deactivate()}ir=n}}Be=null,ot=t}this.committed=!0,fi.delete(this)};let Xt=Wo;function Ft(i){var t=Ii;Ii=!0;try{var e;for(i&&(Be!==null&&da(),e=i());;){if(Id(),ir.length===0&&(Be==null||Be.flush(),ir.length===0))return wo=null,e;da()}}finally{Ii=t}}function da(){var i=mi;ha=!0;var t=null;try{var e=0;for(ko(!0);ir.length>0;){var r=Xt.ensure();if(e++>1e3){var n,o;Od()}r.process(ir),Xr.clear()}}finally{ha=!1,ko(i),wo=null}}function Od(){try{$h()}catch(i){Fr(i,wo)}}let pr=null;function ul(i){var t=i.length;if(t!==0){for(var e=0;e<t;){var r=i[e++];if((r.f&(xr|Wt))===0&&Mi(r)&&(pr=new Set,Di(r),r.deps===null&&r.first===null&&r.nodes===null&&(r.teardown===null&&r.ac===null?Nl(r):r.fn=null),(pr==null?void 0:pr.size)>0)){Xr.clear();for(const n of pr){if((n.f&(xr|Wt))!==0)continue;const o=[n];let a=n.parent;for(;a!==null;)pr.has(a)&&(pr.delete(a),o.push(a)),a=a.parent;for(let s=o.length-1;s>=0;s--){const c=o[s];(c.f&(xr|Wt))===0&&Di(c)}}pr.clear()}}pr=null}}function hl(i,t,e,r){if(!e.has(i)&&(e.add(i),i.reactions!==null))for(const n of i.reactions){const o=n.f;(o&pt)!==0?hl(n,t,e,r):(o&(ho|br))!==0&&(o&Mt)===0&&fl(n,t,r)&&(bt(n,Mt),pi(n))}}function dl(i,t){if(i.reactions!==null)for(const e of i.reactions){const r=e.f;(r&pt)!==0?dl(e,t):(r&uo)!==0&&(bt(e,Mt),t.add(e))}}function fl(i,t,e){const r=e.get(i);if(r!==void 0)return r;if(i.deps!==null)for(const n of i.deps){if(t.includes(n))return!0;if((n.f&pt)!==0&&fl(n,t,e))return e.set(n,!0),!0}return e.set(i,!1),!1}function pi(i){for(var t=wo=i;t.parent!==null;){t=t.parent;var e=t.f;if(ha&&t===Fe&&(e&br)!==0&&(e&sa)===0)return;if((e&(Gr|Hr))!==0){if((e&Ct)===0)return;t.f^=Ct}}ir.push(t)}let bo=[];function Md(){try{Ft(()=>{for(const i of bo)ln(i)})}finally{bo=[]}}function Dd(i){var t=Lt(0),e=!0,r=void 0;return p(t),Ol(()=>{if(e){var n=ot;try{ot=null,r=i()}finally{ot=n}return}bo.length===0&&qt(Md),bo.push(t)}),e=!1,r}function Ld(i){Ks(),Be!==null&&td();var t=Xt.ensure();t.is_fork=!0,ot=new Map;var e=!1,r=t.settled();Ft(i),ot=null;for(var[n,o]of t.previous)n.v=o;return{commit:async()=>{if(e){await r;return}fi.has(t)||ed(),e=!0,t.is_fork=!1;for(var[a,s]of t.current)a.v=s;Ft(()=>{var c=new Set;for(var l of t.current.keys())dl(l,c);Zd(c),bl()}),t.revive(),await r},discard:()=>{!e&&fi.has(t)&&(fi.delete(t),t.discard())}}}function zd(i){let t=0,e=Lt(0),r;return()=>{gi()&&(p(e),ht(()=>(t===0&&(r=et(()=>i(()=>Yt(e)))),t+=1,()=>{qt(()=>{t-=1,t===0&&(r==null||r(),r=void 0,Yt(e))})})))}}var Hd=fr|li|co;function pl(i,t,e){new Nd(i,t,e)}class Nd{constructor(t,e,r){we(this,ft);nt(this,"parent");we(this,lr,!1);we(this,er);we(this,Tn,_e?Me:null);we(this,Ir);we(this,yi);we(this,Or);we(this,cr,null);we(this,Gt,null);we(this,Mr,null);we(this,Vr,null);we(this,ei,null);we(this,xi,0);we(this,ti,0);we(this,Ti,!1);we(this,ri,null);we(this,qo,zd(()=>(ze(this,ri,Lt(R(this,xi))),()=>{ze(this,ri,null)})));ze(this,er,t),ze(this,Ir,e),ze(this,yi,r),this.parent=Fe.b,ze(this,lr,!!R(this,Ir).pending),ze(this,Or,kr(()=>{if(Fe.b=this,_e){const o=R(this,Tn);Pt(),o.nodeType===Tr&&o.data===Si?We(this,ft,_h).call(this):We(this,ft,mh).call(this)}else{var n=We(this,ft,Ds).call(this);try{ze(this,cr,zt(()=>r(n)))}catch(o){this.error(o)}R(this,ti)>0?We(this,ft,ta).call(this):ze(this,lr,!1)}return()=>{var o;(o=R(this,ei))==null||o.remove()}},Hd)),_e&&ze(this,er,Me)}is_pending(){return R(this,lr)||!!this.parent&&this.parent.is_pending()}has_pending_snippet(){return!!R(this,Ir).pending}update_pending_count(t){We(this,ft,Ls).call(this,t),ze(this,xi,R(this,xi)+t),R(this,ri)&&Er(R(this,ri),R(this,xi))}get_effect_pending(){return R(this,qo).call(this),p(R(this,ri))}error(t){var e=R(this,Ir).onerror;let r=R(this,Ir).failed;if(R(this,Ti)||!e&&!r)throw t;R(this,cr)&&(vt(R(this,cr)),ze(this,cr,null)),R(this,Gt)&&(vt(R(this,Gt)),ze(this,Gt,null)),R(this,Mr)&&(vt(R(this,Mr)),ze(this,Mr,null)),_e&&(it(R(this,Tn)),gt(),it(hi()));var n=!1,o=!1;const a=()=>{if(n){md();return}n=!0,o&&ld(),Xt.ensure(),ze(this,xi,0),R(this,Mr)!==null&&vi(R(this,Mr),()=>{ze(this,Mr,null)}),ze(this,lr,this.has_pending_snippet()),ze(this,cr,We(this,ft,ea).call(this,()=>(ze(this,Ti,!1),zt(()=>R(this,yi).call(this,R(this,er)))))),R(this,ti)>0?We(this,ft,ta).call(this):ze(this,lr,!1)};var s=Ue;try{It(null),o=!0,e==null||e(t,a),o=!1}catch(c){Fr(c,R(this,Or)&&R(this,Or).parent)}finally{It(s)}r&&qt(()=>{ze(this,Mr,We(this,ft,ea).call(this,()=>{Xt.ensure(),ze(this,Ti,!0);try{return zt(()=>{r(R(this,er),()=>t,()=>a)})}catch(c){return Fr(c,R(this,Or).parent),null}finally{ze(this,Ti,!1)}}))})}}lr=new WeakMap,er=new WeakMap,Tn=new WeakMap,Ir=new WeakMap,yi=new WeakMap,Or=new WeakMap,cr=new WeakMap,Gt=new WeakMap,Mr=new WeakMap,Vr=new WeakMap,ei=new WeakMap,xi=new WeakMap,ti=new WeakMap,Ti=new WeakMap,ri=new WeakMap,qo=new WeakMap,ft=new WeakSet,mh=function(){try{ze(this,cr,zt(()=>R(this,yi).call(this,R(this,er))))}catch(t){this.error(t)}ze(this,lr,!1)},_h=function(){const t=R(this,Ir).pending;t&&(ze(this,Gt,zt(()=>t(R(this,er)))),Xt.enqueue(()=>{var e=We(this,ft,Ds).call(this);ze(this,cr,We(this,ft,ea).call(this,()=>(Xt.ensure(),zt(()=>R(this,yi).call(this,e))))),R(this,ti)>0?We(this,ft,ta).call(this):(vi(R(this,Gt),()=>{ze(this,Gt,null)}),ze(this,lr,!1))}))},Ds=function(){var t=R(this,er);return R(this,lr)&&(ze(this,ei,At()),R(this,er).before(R(this,ei)),t=R(this,ei)),t},ea=function(t){var e=Fe,r=Ue,n=Ze;jt(R(this,Or)),It(R(this,Or)),Ri(R(this,Or).ctx);try{return t()}catch(o){return cl(o),null}finally{jt(e),It(r),Ri(n)}},ta=function(){const t=R(this,Ir).pending;R(this,cr)!==null&&(ze(this,Vr,document.createDocumentFragment()),R(this,Vr).append(R(this,ei)),Vl(R(this,cr),R(this,Vr))),R(this,Gt)===null&&ze(this,Gt,zt(()=>t(R(this,er))))},Ls=function(t){var e;if(!this.has_pending_snippet()){this.parent&&We(e=this.parent,ft,Ls).call(e,t);return}ze(this,ti,R(this,ti)+t),R(this,ti)===0&&(ze(this,lr,!1),R(this,Gt)&&vi(R(this,Gt),()=>{ze(this,Gt,null)}),R(this,Vr)&&(R(this,er).before(R(this,Vr)),ze(this,Vr,null)))};function fa(){return Fe.b}function Fd(){Fe===null&&Jh();var i=Fe.b;return i===null?0:i.get_effect_pending()}function an(i,t,e,r){const n=sn;if(e.length===0&&i.length===0){r(t.map(n));return}var o=Be,a=Fe,s=yo();function c(){Promise.all(e.map(l=>vl(l))).then(l=>{s();try{r([...t.map(n),...l])}catch(u){(a.f&xr)===0&&Fr(u,a)}o==null||o.deactivate(),qr()}).catch(l=>{Fr(l,a)})}i.length>0?Promise.all(i).then(()=>{s();try{return c()}finally{o==null||o.deactivate(),qr()}}):c()}function gl(i,t){an(i,[],[],t)}function yo(){var i=Fe,t=Ue,e=Ze,r=Be;return function(o=!0){jt(i),It(t),Ri(e),o&&(r==null||r.activate())}}async function Bd(i){var t=yo(),e=await i;return()=>(t(),e)}async function pa(i){var t=await i;return()=>t}async function*Vd(i){var r,n;const t=((r=i[Symbol.asyncIterator])==null?void 0:r.call(i))??((n=i[Symbol.iterator])==null?void 0:n.call(i));if(t===void 0)throw new TypeError("value is not async iterable");let e=!1;try{for(;;){const{done:o,value:a}=(await pa(t.next()))();if(o){e=!0;break}yield a}}finally{if(e&&t.return!==void 0)return(await pa(t.return()))().value}}function qr(){jt(null),It(null),Ri(null)}async function jd(i,t){var e=fa(),r=Be,n=!e.is_pending();e.update_pending_count(1),r.increment(n);var o=Fe,a=_e,s=void 0;a&&(Pt(),s=hi(!1));try{var c=t(i)}finally{s&&(it(s),Pt())}try{await c}catch(l){Eo(o)||Fr(l,o)}finally{e.update_pending_count(-1),r.decrement(n),qr()}}function Ud(i){const t=yo();var e=fa(),r=Be,n=!e.is_pending();e.update_pending_count(1),r.increment(n);var o=Fe,a=null;const s=u=>{a={error:u},Eo(o)||Fr(u,o)};var c=Promise.resolve(i[0]()).catch(s),l=[c];for(const u of i.slice(1))c=c.then(()=>{if(a)throw a.error;if(Eo(o))throw ui;try{return t(),u()}finally{qr()}}).catch(s).finally(()=>{qr()}),l.push(c);return c.then(()=>Promise.resolve()).finally(()=>{e.update_pending_count(-1),r.decrement(n)}),l}function sn(i){var t=pt|Mt,e=Ue!==null&&(Ue.f&pt)!==0?Ue:null;return Fe!==null&&(Fe.f|=li),{ctx:Ze,deps:null,effects:null,equals:tl,f:t,fn:i,reactions:null,rv:0,v:ct,wv:0,parent:e??Fe,ac:null}}function vl(i,t){let e=Fe;e===null&&Zh();var r=e.b,n=void 0,o=Lt(ct),a=!Ue,s=new Map;return af(()=>{var f;var c=Zs();n=c.promise;try{Promise.resolve(i()).then(c.resolve,c.reject).then(()=>{l===Be&&l.committed&&l.deactivate(),qr()})}catch(v){c.reject(v),qr()}var l=Be;if(a){var u=!r.is_pending();r.update_pending_count(1),l.increment(u),(f=s.get(l))==null||f.reject(ui),s.delete(l),s.set(l,c)}const h=(v,_=void 0)=>{if(l.activate(),_)_!==ui&&(o.f|=Zr,Er(o,_));else{(o.f&Zr)!==0&&(o.f^=Zr),Er(o,v);for(const[d,g]of s){if(s.delete(d),d===l)break;g.reject(ui)}}a&&(r.update_pending_count(-1),l.decrement(u))};c.promise.then(h,v=>h(null,v||"unknown"))}),Qt(()=>{for(const c of s.values())c.reject(ui)}),new Promise(c=>{function l(u){function h(){u===n?c(o):l(n)}u.then(h,h)}l(n)})}function re(i){const t=sn(i);return Ul(t),t}function ga(i){const t=sn(i);return t.equals=il,t}function ml(i){var t=i.effects;if(t!==null){i.effects=null;for(var e=0;e<t.length;e+=1)vt(t[e])}}function Gd(i){for(var t=i.parent;t!==null;){if((t.f&pt)===0)return(t.f&xr)===0?t:null;t=t.parent}return null}function va(i){var t,e=Fe;jt(Gd(i));try{i.f&=~ci,ml(i),t=Xl(i)}finally{jt(e)}return t}function _l(i){var t=va(i);if(i.equals(t)||(Be!=null&&Be.is_fork||(i.v=t),i.wv=Wl()),!_i)if(ot!==null)(gi()||Be!=null&&Be.is_fork)&&ot.set(i,t);else{var e=(i.f&dr)===0?yr:Ct;bt(i,e)}}let xo=new Set;const Xr=new Map;function Zd(i){xo=i}let wl=!1;function Lt(i,t){var e={f:0,v:i,reactions:null,equals:tl,rv:0,wv:0};return e}function Ae(i,t){const e=Lt(i);return Ul(e),e}function To(i,t=!1,e=!0){const r=Lt(i);return t||(r.equals=il),r}function Wd(i,t){return be(i,et(()=>p(i))),t}function be(i,t,e=!1){Ue!==null&&(!Sr||(Ue.f&uo)!==0)&&sl()&&(Ue.f&(pt|br|ho|uo))!==0&&!(Ht!=null&&Ht.includes(i))&&sd();let r=e?wt(t):t;return Er(i,r)}function Er(i,t){if(!i.equals(t)){var e=i.v;_i?Xr.set(i,t):Xr.set(i,e),i.v=t;var r=Xt.ensure();r.capture(i,e),(i.f&pt)!==0&&((i.f&Mt)!==0&&va(i),bt(i,(i.f&dr)!==0?Ct:yr)),i.wv=Wl(),yl(i,Mt),Fe!==null&&(Fe.f&Ct)!==0&&(Fe.f&(Hr|Gr))===0&&(nr===null?hf([i]):nr.push(i)),!r.is_fork&&xo.size>0&&!wl&&bl()}return t}function bl(){wl=!1;var i=mi;ko(!0);const t=Array.from(xo);try{for(const e of t)(e.f&Ct)!==0&&bt(e,yr),Mi(e)&&Di(e)}finally{ko(i)}xo.clear()}function ln(i,t=1){var e=p(i),r=t===1?e++:e--;return be(i,e),r}function qd(i,t=1){var e=p(i);return be(i,t===1?++e:--e)}function Yt(i){be(i,i.v+1)}function yl(i,t){var e=i.reactions;if(e!==null)for(var r=e.length,n=0;n<r;n++){var o=e[n],a=o.f,s=(a&Mt)===0;if(s&&bt(o,t),(a&pt)!==0){var c=o;ot==null||ot.delete(c),(a&ci)===0&&(a&dr&&(o.f|=ci),yl(c,yr))}else s&&((a&br)!==0&&pr!==null&&pr.add(o),pi(o))}}function wt(i){if(typeof i!="object"||i===null||Dt in i)return i;const t=ao(i);if(t!==js&&t!==Dh)return i;var e=new Map,r=ai(i),n=Ae(0),o=gr,a=s=>{if(gr===o)return s();var c=Ue,l=gr;It(null),Zl(o);var u=s();return It(c),Zl(l),u};return r&&e.set("length",Ae(i.length)),new Proxy(i,{defineProperty(s,c,l){(!("value"in l)||l.configurable===!1||l.enumerable===!1||l.writable===!1)&&od();var u=e.get(c);return u===void 0?u=a(()=>{var h=Ae(l.value);return e.set(c,h),h}):be(u,l.value,!0),!0},deleteProperty(s,c){var l=e.get(c);if(l===void 0){if(c in s){const u=a(()=>Ae(ct));e.set(c,u),Yt(n)}}else be(l,ct),Yt(n);return!0},get(s,c,l){var v;if(c===Dt)return i;var u=e.get(c),h=c in s;if(u===void 0&&(!h||(v=hr(s,c))!=null&&v.writable)&&(u=a(()=>{var _=wt(h?s[c]:ct),d=Ae(_);return d}),e.set(c,u)),u!==void 0){var f=p(u);return f===ct?void 0:f}return Reflect.get(s,c,l)},getOwnPropertyDescriptor(s,c){var l=Reflect.getOwnPropertyDescriptor(s,c);if(l&&"value"in l){var u=e.get(c);u&&(l.value=p(u))}else if(l===void 0){var h=e.get(c),f=h==null?void 0:h.v;if(h!==void 0&&f!==ct)return{enumerable:!0,configurable:!0,value:f,writable:!0}}return l},has(s,c){var f;if(c===Dt)return!0;var l=e.get(c),u=l!==void 0&&l.v!==ct||Reflect.has(s,c);if(l!==void 0||Fe!==null&&(!u||(f=hr(s,c))!=null&&f.writable)){l===void 0&&(l=a(()=>{var v=u?wt(s[c]):ct,_=Ae(v);return _}),e.set(c,l));var h=p(l);if(h===ct)return!1}return u},set(s,c,l,u){var P;var h=e.get(c),f=c in s;if(r&&c==="length")for(var v=l;v<h.v;v+=1){var _=e.get(v+"");_!==void 0?be(_,ct):v in s&&(_=a(()=>Ae(ct)),e.set(v+"",_))}if(h===void 0)(!f||(P=hr(s,c))!=null&&P.writable)&&(h=a(()=>Ae(void 0)),be(h,wt(l)),e.set(c,h));else{f=h.v!==ct;var d=a(()=>wt(l));be(h,d)}var g=Reflect.getOwnPropertyDescriptor(s,c);if(g!=null&&g.set&&g.set.call(u,l),!f){if(r&&typeof c=="string"){var b=e.get("length"),S=Number(c);Number.isInteger(S)&&S>=b.v&&be(b,S+1)}Yt(n)}return!0},ownKeys(s){p(n);var c=Reflect.ownKeys(s).filter(h=>{var f=e.get(h);return f===void 0||f.v!==ct});for(var[l,u]of e)u.v!==ct&&!(l in s)&&c.push(l);return c},setPrototypeOf(){ad()}})}function Oi(i){try{if(i!==null&&typeof i=="object"&&Dt in i)return i[Dt]}catch{}return i}function xl(i,t){return Object.is(Oi(i),Oi(t))}function Xd(i,t,e=!0){try{i===t!=(Oi(i)===Oi(t))&&$s(e?"===":"!==")}catch{}return i===t===e}function Yd(i,t,e=!0){return i==t!=(Oi(i)==Oi(t))&&$s(),i==t===e}var ma,Tl,_a,El,kl;function wa(){if(ma===void 0){ma=window,Tl=document,_a=/Firefox/.test(navigator.userAgent);var i=Element.prototype,t=Node.prototype,e=Text.prototype;El=hr(t,"firstChild").get,kl=hr(t,"nextSibling").get,Us(i)&&(i.__click=void 0,i.__className=void 0,i.__attributes=null,i.__style=void 0,i.__e=void 0),Us(e)&&(e.__t=void 0)}}function At(i=""){return document.createTextNode(i)}function at(i){return El.call(i)}function Kt(i){return kl.call(i)}function G(i,t){if(!_e)return at(i);var e=at(Me);if(e===null)e=Me.appendChild(At());else if(t&&e.nodeType!==po){var r=At();return e==null||e.before(r),it(r),r}return it(e),e}function X(i,t=!1){if(!_e){var e=at(i);return e instanceof Comment&&e.data===""?Kt(e):e}if(t&&(Me==null?void 0:Me.nodeType)!==po){var r=At();return Me==null||Me.before(r),it(r),r}return Me}function ue(i,t=1,e=!1){let r=_e?Me:i;for(var n;t--;)n=r,r=Kt(r);if(!_e)return r;if(e&&(r==null?void 0:r.nodeType)!==po){var o=At();return r===null?n==null||n.after(o):r.before(o),it(o),o}return it(r),r}function ba(i){i.textContent=""}function Sl(){return!1}function Kd(i,t,e){let r=e?{is:e}:void 0;return t?document.createElementNS(t,i,r):document.createElement(i,r)}function Qd(){return document.createDocumentFragment()}function Jd(i=""){return document.createComment(i)}function $d(i,t,e=""){if(t.startsWith("xlink:")){i.setAttributeNS("http://www.w3.org/1999/xlink",t,e);return}return i.setAttribute(t,e)}function Cl(i,t){if(t){const e=document.body;i.autofocus=!0,qt(()=>{document.activeElement===e&&i.focus()})}}function ef(i){_e&&at(i)!==null&&ba(i)}let Pl=!1;function Al(){Pl||(Pl=!0,document.addEventListener("reset",i=>{Promise.resolve().then(()=>{var t;if(!i.defaultPrevented)for(const e of i.target.elements)(t=e.__on_r)==null||t.call(e)})},{capture:!0}))}function Bt(i,t,e,r=!0){r&&e();for(var n of t)i.addEventListener(n,e);Qt(()=>{for(var o of t)i.removeEventListener(o,e)})}function Yr(i){var t=Ue,e=Fe;It(null),jt(null);try{return i()}finally{It(t),jt(e)}}function cn(i,t,e,r=e){i.addEventListener(t,()=>Yr(e));const n=i.__on_r;n?i.__on_r=()=>{n(),r(!0)}:i.__on_r=()=>r(!0),Al()}function ya(i){Fe===null&&(Ue===null&&Qh(),Kh()),_i&&Yh()}function tf(i,t){var e=t.last;e===null?t.last=t.first=i:(e.next=i,i.prev=e,t.last=i)}function Vt(i,t,e){var r=Fe;r!==null&&(r.f&Wt)!==0&&(i|=Wt);var n={ctx:Ze,deps:null,nodes:null,f:i|Mt|dr,first:null,fn:t,last:null,next:null,parent:r,b:r&&r.b,prev:null,teardown:null,wv:0,ac:null};if(e)try{Di(n),n.f|=tn}catch(s){throw vt(n),s}else t!==null&&pi(n);var o=n;if(e&&o.deps===null&&o.teardown===null&&o.nodes===null&&o.first===o.last&&(o.f&li)===0&&(o=o.first,(i&br)!==0&&(i&fr)!==0&&o!==null&&(o.f|=fr)),o!==null&&(o.parent=r,r!==null&&tf(o,r),Ue!==null&&(Ue.f&pt)!==0&&(i&Gr)===0)){var a=Ue;(a.effects??(a.effects=[])).push(o)}return n}function gi(){return Ue!==null&&!Sr}function Qt(i){const t=Vt(lo,null,!1);return bt(t,Ct),t.teardown=i,t}function st(i){ya();var t=Fe.f,e=!Ue&&(t&Hr)!==0&&(t&tn)===0;if(e){var r=Ze;(r.e??(r.e=[])).push(i)}else return Rl(i)}function Rl(i){return Vt(so|qs,i,!1)}function Il(i){return ya(),Vt(lo|qs,i,!0)}function Ol(i){return Vt(uo,i,!0)}function Ml(i){Xt.ensure();const t=Vt(Gr|li,i,!0);return()=>{vt(t)}}function rf(i){Xt.ensure();const t=Vt(Gr|li,i,!0);return(e={})=>new Promise(r=>{e.outro?vi(t,()=>{vt(t),r(void 0)}):(vt(t),r(void 0))})}function Jt(i){return Vt(so,i,!1)}function nf(i,t){var e=Ze,r={effect:null,ran:!1,deps:i};e.l.$.push(r),r.effect=ht(()=>{i(),!r.ran&&(r.ran=!0,et(t))})}function of(){var i=Ze;ht(()=>{for(var t of i.l.$){t.deps();var e=t.effect;(e.f&Ct)!==0&&bt(e,yr),Mi(e)&&Di(e),t.ran=!1}})}function af(i){return Vt(ho|li,i,!0)}function ht(i,t=0){return Vt(lo|t,i,!0)}function Oe(i,t=[],e=[],r=[]){an(r,t,e,n=>{Vt(lo,()=>i(...n.map(p)),!0)})}function sf(i,t=[],e=[],r=[]){var n=Be,o=e.length>0||r.length>0;o&&n.increment(!0),an(r,t,e,a=>{Vt(so,()=>i(...a.map(p)),!1),o&&n.decrement(!0)})}function kr(i,t=0){var e=Vt(br|t,i,!0);return e}function Dl(i,t=0){var e=Vt(Ws|t,i,!0);return e}function zt(i){return Vt(Hr|li,i,!0)}function Ll(i){var t=i.teardown;if(t!==null){const e=_i,r=Ue;jl(!0),It(null);try{t.call(null)}finally{jl(e),It(r)}}}function zl(i,t=!1){var e=i.first;for(i.first=i.last=null;e!==null;){const n=e.ac;n!==null&&Yr(()=>{n.abort(ui)});var r=e.next;(e.f&Gr)!==0?e.parent=null:vt(e,t),e=r}}function lf(i){for(var t=i.first;t!==null;){var e=t.next;(t.f&Hr)===0&&vt(t),t=e}}function vt(i,t=!0){var e=!1;(t||(i.f&sa)!==0)&&i.nodes!==null&&i.nodes.end!==null&&(Hl(i.nodes.start,i.nodes.end),e=!0),zl(i,t&&!e),So(i,0),bt(i,xr);var r=i.nodes&&i.nodes.t;if(r!==null)for(const o of r)o.stop();Ll(i);var n=i.parent;n!==null&&n.first!==null&&Nl(i),i.next=i.prev=i.teardown=i.ctx=i.deps=i.fn=i.nodes=i.ac=null}function Hl(i,t){for(;i!==null;){var e=i===t?null:Kt(i);i.remove(),i=e}}function Nl(i){var t=i.parent,e=i.prev,r=i.next;e!==null&&(e.next=r),r!==null&&(r.prev=e),t!==null&&(t.first===i&&(t.first=r),t.last===i&&(t.last=e))}function vi(i,t,e=!0){var r=[];Fl(i,r,!0);var n=()=>{e&&vt(i),t&&t()},o=r.length;if(o>0){var a=()=>--o||n();for(var s of r)s.out(a)}else n()}function Fl(i,t,e){if((i.f&Wt)===0){i.f^=Wt;var r=i.nodes&&i.nodes.t;if(r!==null)for(const s of r)(s.is_global||e)&&t.push(s);for(var n=i.first;n!==null;){var o=n.next,a=(n.f&fr)!==0||(n.f&Hr)!==0&&(i.f&br)!==0;Fl(n,t,a?e:!1),n=o}}}function xa(i){Bl(i,!0)}function Bl(i,t){if((i.f&Wt)!==0){i.f^=Wt,(i.f&Ct)===0&&(bt(i,Mt),pi(i));for(var e=i.first;e!==null;){var r=e.next,n=(e.f&fr)!==0||(e.f&Hr)!==0;Bl(e,n?t:!1),e=r}var o=i.nodes&&i.nodes.t;if(o!==null)for(const a of o)(a.is_global||t)&&a.in()}}function Eo(i=Fe){return(i.f&xr)!==0}function Vl(i,t){if(i.nodes)for(var e=i.nodes.start,r=i.nodes.end;e!==null;){var n=e===r?null:Kt(e);t.append(e),e=n}}let Kr=null;function cf(i){var t=Kr;try{if(Kr=new Set,et(i),t!==null)for(var e of Kr)t.add(e);return Kr}finally{Kr=t}}function uf(i){for(var t of cf(i))Er(t,t.v)}let mi=!1;function ko(i){mi=i}let _i=!1;function jl(i){_i=i}let Ue=null,Sr=!1;function It(i){Ue=i}let Fe=null;function jt(i){Fe=i}let Ht=null;function Ul(i){Ue!==null&&(Ht===null?Ht=[i]:Ht.push(i))}let Nt=null,$t=0,nr=null;function hf(i){nr=i}let Gl=1,un=0,gr=un;function Zl(i){gr=i}function Wl(){return++Gl}function Mi(i){var t=i.f;if((t&Mt)!==0)return!0;if(t&pt&&(i.f&=~ci),(t&yr)!==0){var e=i.deps;if(e!==null)for(var r=e.length,n=0;n<r;n++){var o=e[n];if(Mi(o)&&_l(o),o.wv>i.wv)return!0}(t&dr)!==0&&ot===null&&bt(i,Ct)}return!1}function ql(i,t,e=!0){var r=i.reactions;if(r!==null&&!(Ht!=null&&Ht.includes(i)))for(var n=0;n<r.length;n++){var o=r[n];(o.f&pt)!==0?ql(o,t,!1):t===o&&(e?bt(o,Mt):(o.f&Ct)!==0&&bt(o,yr),pi(o))}}function Xl(i){var _;var t=Nt,e=$t,r=nr,n=Ue,o=Ht,a=Ze,s=Sr,c=gr,l=i.f;Nt=null,$t=0,nr=null,Ue=(l&(Hr|Gr))===0?i:null,Ht=null,Ri(i.ctx),Sr=!1,gr=++un,i.ac!==null&&(Yr(()=>{i.ac.abort(ui)}),i.ac=null);try{i.f|=la;var u=i.fn,h=u(),f=i.deps;if(Nt!==null){var v;if(So(i,$t),f!==null&&$t>0)for(f.length=$t+Nt.length,v=0;v<Nt.length;v++)f[$t+v]=Nt[v];else i.deps=f=Nt;if(gi()&&(i.f&dr)!==0)for(v=$t;v<f.length;v++)((_=f[v]).reactions??(_.reactions=[])).push(i)}else f!==null&&$t<f.length&&(So(i,$t),f.length=$t);if(sl()&&nr!==null&&!Sr&&f!==null&&(i.f&(pt|yr|Mt))===0)for(v=0;v<nr.length;v++)ql(nr[v],i);return n!==null&&n!==i&&(un++,nr!==null&&(r===null?r=nr:r.push(...nr))),(i.f&Zr)!==0&&(i.f^=Zr),h}catch(d){return cl(d)}finally{i.f^=la,Nt=t,$t=e,nr=r,Ue=n,Ht=o,Ri(a),Sr=s,gr=c}}function df(i,t){let e=t.reactions;if(e!==null){var r=Mh.call(e,i);if(r!==-1){var n=e.length-1;n===0?e=t.reactions=null:(e[r]=e[n],e.pop())}}e===null&&(t.f&pt)!==0&&(Nt===null||!Nt.includes(t))&&(bt(t,yr),(t.f&dr)!==0&&(t.f^=dr,t.f&=~ci),ml(t),So(t,0))}function So(i,t){var e=i.deps;if(e!==null)for(var r=t;r<e.length;r++)df(i,e[r])}function Di(i){var t=i.f;if((t&xr)===0){bt(i,Ct);var e=Fe,r=mi;Fe=i,mi=!0;try{(t&(br|Ws))!==0?lf(i):zl(i),Ll(i);var n=Xl(i);i.teardown=typeof n=="function"?n:null,i.wv=Gl;var o;oa&&wd&&(i.f&Mt)!==0&&i.deps}finally{mi=r,Fe=e}}}async function Ta(){await Promise.resolve(),Ft()}function ff(){return Xt.ensure().settled()}function p(i){var t=i.f,e=(t&pt)!==0;if(Kr==null||Kr.add(i),Ue!==null&&!Sr){var r=Fe!==null&&(Fe.f&xr)!==0;if(!r&&!(Ht!=null&&Ht.includes(i))){var n=Ue.deps;if((Ue.f&la)!==0)i.rv<un&&(i.rv=un,Nt===null&&n!==null&&n[$t]===i?$t++:Nt===null?Nt=[i]:Nt.includes(i)||Nt.push(i));else{(Ue.deps??(Ue.deps=[])).push(i);var o=i.reactions;o===null?i.reactions=[Ue]:o.includes(Ue)||o.push(Ue)}}}if(_i){if(Xr.has(i))return Xr.get(i);if(e){var a=i,s=a.v;return((a.f&Ct)===0&&a.reactions!==null||Kl(a))&&(s=va(a)),Xr.set(a,s),s}}else e&&(!(ot!=null&&ot.has(i))||Be!=null&&Be.is_fork&&!gi())&&(a=i,Mi(a)&&_l(a),mi&&gi()&&(a.f&dr)===0&&Yl(a));if(ot!=null&&ot.has(i))return ot.get(i);if((i.f&Zr)!==0)throw i.v;return i.v}function Yl(i){if(i.deps!==null){i.f^=dr;for(const t of i.deps)(t.reactions??(t.reactions=[])).push(i),(t.f&pt)!==0&&(t.f&dr)===0&&Yl(t)}}function Kl(i){if(i.v===ct)return!0;if(i.deps===null)return!1;for(const t of i.deps)if(Xr.has(t)||(t.f&pt)!==0&&Kl(t))return!0;return!1}function pf(i){return i&&p(i)}function et(i){var t=Sr;try{return Sr=!0,i()}finally{Sr=t}}const gf=-7169;function bt(i,t){i.f=i.f&gf|t}function vf(i,t){var e={};for(var r in i)t.includes(r)||(e[r]=i[r]);for(var n of Object.getOwnPropertySymbols(i))Object.propertyIsEnumerable.call(i,n)&&!t.includes(n)&&(e[n]=i[n]);return e}function Ea(i){if(!(typeof i!="object"||!i||i instanceof EventTarget)){if(Dt in i)Co(i);else if(!Array.isArray(i))for(let t in i){const e=i[t];typeof e=="object"&&e&&Dt in e&&Co(e)}}}function Co(i,t=new Set){if(typeof i=="object"&&i!==null&&!(i instanceof EventTarget)&&!t.has(i)){t.add(i),i instanceof Date&&i.getTime();for(let r in i)try{Co(i[r],t)}catch{}const e=ao(i);if(e!==Object.prototype&&e!==Array.prototype&&e!==Map.prototype&&e!==Set.prototype&&e!==Date.prototype){const r=Vs(e);for(let n in r){const o=r[n].get;if(o)try{o.call(i)}catch{}}}}}function mf(i,t){var e;if(Ks(),_e){const r=(e=window.__svelte)==null?void 0:e.h;if(r!=null&&r.has(i))return r.get(i);fd()}return t()}const Ql=new Set,ka=new Set;function _f(i){if(!_e)return;i.removeAttribute("onload"),i.removeAttribute("onerror");const t=i.__e;t!==void 0&&(i.__e=void 0,queueMicrotask(()=>{i.isConnected&&i.dispatchEvent(t)}))}function Jl(i,t,e,r={}){function n(o){if(r.capture||hn.call(t,o),!o.cancelBubble)return Yr(()=>e==null?void 0:e.call(this,o))}return i.startsWith("pointer")||i.startsWith("touch")||i==="wheel"?qt(()=>{t.addEventListener(i,n,r)}):t.addEventListener(i,n,r),n}function Po(i,t,e,r,n){var o={capture:r,passive:n},a=Jl(i,t,e,o);(t===document.body||t===window||t===document||t instanceof HTMLMediaElement)&&Qt(()=>{t.removeEventListener(i,a,o)})}function Qr(i){for(var t=0;t<i.length;t++)Ql.add(i[t]);for(var e of ka)e(i)}let $l=null;function hn(i){var g;var t=this,e=t.ownerDocument,r=i.type,n=((g=i.composedPath)==null?void 0:g.call(i))||[],o=n[0]||i.target;$l=i;var a=0,s=$l===i&&i.__root;if(s){var c=n.indexOf(s);if(c!==-1&&(t===document||t===window)){i.__root=t;return}var l=n.indexOf(t);if(l===-1)return;c<=l&&(a=c)}if(o=n[a]||i.target,o!==t){si(i,"currentTarget",{configurable:!0,get(){return o||e}});var u=Ue,h=Fe;It(null),jt(null);try{for(var f,v=[];o!==null;){var _=o.assignedSlot||o.parentNode||o.host||null;try{var d=o["__"+r];d!=null&&(!o.disabled||i.target===o)&&d.call(o,i)}catch(b){f?v.push(b):f=b}if(i.cancelBubble||_===t||_===null)break;o=_}if(f){for(let b of v)queueMicrotask(()=>{throw b});throw f}}finally{i.__root=t,delete i.currentTarget,It(u),jt(h)}}}function wf(i,t,e,r,n,o=!1,a=!1){var l,u;let s,c;try{s=i()}catch(h){c=h}if(typeof s!="function"&&(o||s!=null||c)){const h=r==null?void 0:r[Zt];n?`${h}${n[0]}${n[1]}`:`${h}`;const f=((l=e[0])==null?void 0:l.eventPhase)<Event.BUBBLING_PHASE?"capture":"";if(((u=e[0])==null?void 0:u.type)+f,dd(),c)throw c}s==null||s.apply(t,e)}function Ao(i){var t=document.createElement("template");return t.innerHTML=i.replaceAll("<!>","<!---->"),t.content}function yt(i,t){var e=Fe;e.nodes===null&&(e.nodes={start:i,end:t,a:null,t:null})}function me(i,t){var e=(t&ia)!==0,r=(t&Hs)!==0,n,o=!i.startsWith("<!>");return()=>{if(_e)return yt(Me,null),Me;n===void 0&&(n=Ao(o?i:"<!>"+i),e||(n=at(n)));var a=r||_a?document.importNode(n,!0):n.cloneNode(!0);if(e){var s=at(a),c=a.lastChild;yt(s,c)}else yt(a,a);return a}}function ec(i,t,e="svg"){var r=!i.startsWith("<!>"),n=(t&ia)!==0,o=`<${e}>${r?i:"<!>"+i}</${e}>`,a;return()=>{if(_e)return yt(Me,null),Me;if(!a){var s=Ao(o),c=at(s);if(n)for(a=document.createDocumentFragment();at(c);)a.appendChild(at(c));else a=at(c)}var l=a.cloneNode(!0);if(n){var u=at(l),h=l.lastChild;yt(u,h)}else yt(l,l);return l}}function $(i,t){return ec(i,t,"svg")}function bf(i,t){return ec(i,t,"math")}function tc(i,t){var e=Qd();for(var r of i){if(typeof r=="string"){e.append(At(r));continue}if(r===void 0||r[0][0]==="/"){e.append(Jd(r?r[0].slice(3):""));continue}const[s,c,...l]=r,u=s==="svg"?io:s==="math"?Fs:t;var n=Kd(s,u,c==null?void 0:c.is);for(var o in c)$d(n,o,c[o]);if(l.length>0){var a=n.tagName==="TEMPLATE"?n.content:n;a.append(tc(l,n.tagName==="foreignObject"?void 0:u))}e.append(n)}return e}function yf(i,t){var e=(t&ia)!==0,r=(t&Hs)!==0,n;return()=>{if(_e)return yt(Me,null),Me;if(n===void 0){const c=(t&Rh)!==0?io:(t&Ih)!==0?Fs:void 0;n=tc(i,c),e||(n=at(n))}var o=r||_a?document.importNode(n,!0):n.cloneNode(!0);if(e){var a=at(o),s=o.lastChild;yt(a,s)}else yt(o,o);return o}}function xf(i){return()=>Tf(i())}function Tf(i){if(_e)return i;const t=i.nodeType===Ys,e=i.tagName==="SCRIPT"?[i]:i.querySelectorAll("script"),r=Fe;for(const o of e){const a=document.createElement("script");for(var n of o.attributes)a.setAttribute(n.name,n.value);a.textContent=o.textContent,(t?i.firstChild===o:i===o)&&(r.nodes.start=a),(t?i.lastChild===o:i===o)&&(r.nodes.end=a),o.replaceWith(a)}return i}function mt(i=""){if(!_e){var t=At(i+"");return yt(t,t),t}var e=Me;return e.nodeType!==po&&(e.before(e=At()),it(e)),yt(e,e),e}function te(){if(_e)return yt(Me,null),Me;var i=document.createDocumentFragment(),t=document.createComment(""),e=At();return i.append(t,e),yt(t,e),i}function x(i,t){if(_e){var e=Fe;((e.f&tn)===0||e.nodes.end===null)&&(e.nodes.end=Me),Pt();return}i!==null&&i.before(t)}function Ef(){var i,t;if(_e&&Me&&Me.nodeType===Tr&&((i=Me.textContent)!=null&&i.startsWith("$"))){const e=Me.textContent.substring(1);return Pt(),e}return(t=window.__svelte??(window.__svelte={})).uid??(t.uid=1),`c${window.__svelte.uid++}`}const kf=["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"];function Sf(i){return kf.includes(i)||i.toLowerCase()==="!doctype"}function Cf(i){return i.endsWith("capture")&&i!=="gotpointercapture"&&i!=="lostpointercapture"}const Pf=["beforeinput","click","change","dblclick","contextmenu","focusin","focusout","input","keydown","keyup","mousedown","mousemove","mouseout","mouseover","mouseup","pointerdown","pointermove","pointerout","pointerover","pointerup","touchend","touchmove","touchstart"];function Af(i){return Pf.includes(i)}const Rf={formnovalidate:"formNoValidate",ismap:"isMap",nomodule:"noModule",playsinline:"playsInline",readonly:"readOnly",defaultvalue:"defaultValue",defaultchecked:"defaultChecked",srcobject:"srcObject",novalidate:"noValidate",allowfullscreen:"allowFullscreen",disablepictureinpicture:"disablePictureInPicture",disableremoteplayback:"disableRemotePlayback"};function If(i){return i=i.toLowerCase(),Rf[i]??i}const Of=["touchstart","touchmove"];function Mf(i){return Of.includes(i)}const Df=["textarea","script","style","title"];function Lf(i){return Df.includes(i)}function rc(i){return i==null?void 0:i.replace(/\//g,"/")}let Ro=!0;function Li(i){Ro=i}function qe(i,t){var e=t==null?"":typeof t=="object"?t+"":t;e!==(i.__t??(i.__t=i.nodeValue))&&(i.__t=e,i.nodeValue=e+"")}function Sa(i,t){return nc(i,t)}function ic(i,t){wa(),t.intro=t.intro??!1;const e=t.target,r=_e,n=Me;try{for(var o=at(e);o&&(o.nodeType!==Tr||o.data!==na);)o=Kt(o);if(!o)throw oi;ut(!0),it(o);const a=nc(i,{...t,anchor:o});return ut(!1),a}catch(a){if(a instanceof Error&&a.message.split(`
|
|
5
5
|
`).some(s=>s.startsWith("https://svelte.dev/e/")))throw a;return a!==oi&&console.warn("Failed to hydrate: ",a),t.recover===!1&&id(),wa(),ba(e),ut(!1),Sa(i,t)}finally{ut(r),it(n)}}const zi=new Map;function nc(i,{target:t,anchor:e,props:r={},events:n,context:o,intro:a=!0}){wa();var s=new Set,c=h=>{for(var f=0;f<h.length;f++){var v=h[f];if(!s.has(v)){s.add(v);var _=Mf(v);t.addEventListener(v,hn,{passive:_});var d=zi.get(v);d===void 0?(document.addEventListener(v,hn,{passive:_}),zi.set(v,1)):zi.set(v,d+1)}}};c(no(Ql)),ka.add(c);var l=void 0,u=rf(()=>{var h=e??t.appendChild(At());return pl(h,{pending:()=>{}},f=>{if(o){Qe({});var v=Ze;v.c=o}if(n&&(r.$$events=n),_e&&yt(f,null),Ro=a,l=i(f,r)||{},Ro=!0,_e&&(Fe.nodes.end=Me,Me===null||Me.nodeType!==Tr||Me.data!==ro))throw rn(),oi;o&&Je()}),()=>{var _;for(var f of s){t.removeEventListener(f,hn);var v=zi.get(f);--v===0?(document.removeEventListener(f,hn),zi.delete(f)):zi.set(f,v)}ka.delete(c),h!==e&&((_=h.parentNode)==null||_.removeChild(h))}});return Ca.set(l,u),l}let Ca=new WeakMap;function oc(i,t){const e=Ca.get(i);return e?(Ca.delete(i),e(t)):Promise.resolve()}function zf(i){const t=i();t&&Sf(t)&&bd()}function Hf(i){const t=i();t&&!(typeof t=="string")&&Gh()}function Nf(i,t){i!=null&&typeof i.subscribe!="function"&&Uh()}function ac(i){return i.toString=()=>(jh(),""),i}class Hi{constructor(t,e=!0){nt(this,"anchor");we(this,vr,new Map);we(this,Dr,new Map);we(this,tr,new Map);we(this,Ei,new Set);we(this,En,!0);we(this,kn,()=>{var t=Be;if(R(this,vr).has(t)){var e=R(this,vr).get(t),r=R(this,Dr).get(e);if(r)xa(r),R(this,Ei).delete(e);else{var n=R(this,tr).get(e);n&&(R(this,Dr).set(e,n.effect),R(this,tr).delete(e),n.fragment.lastChild.remove(),this.anchor.before(n.fragment),r=n.effect)}for(const[o,a]of R(this,vr)){if(R(this,vr).delete(o),o===t)break;const s=R(this,tr).get(a);s&&(vt(s.effect),R(this,tr).delete(a))}for(const[o,a]of R(this,Dr)){if(o===e||R(this,Ei).has(o))continue;const s=()=>{if(Array.from(R(this,vr).values()).includes(o)){var l=document.createDocumentFragment();Vl(a,l),l.append(At()),R(this,tr).set(o,{effect:a,fragment:l})}else vt(a);R(this,Ei).delete(o),R(this,Dr).delete(o)};R(this,En)||!r?(R(this,Ei).add(o),vi(a,s,!1)):s()}}});we(this,Xo,t=>{R(this,vr).delete(t);const e=Array.from(R(this,vr).values());for(const[r,n]of R(this,tr))e.includes(r)||(vt(n.effect),R(this,tr).delete(r))});this.anchor=t,ze(this,En,e)}ensure(t,e){var r=Be,n=Sl();if(e&&!R(this,Dr).has(t)&&!R(this,tr).has(t))if(n){var o=document.createDocumentFragment(),a=At();o.append(a),R(this,tr).set(t,{effect:zt(()=>e(a)),fragment:o})}else R(this,Dr).set(t,zt(()=>e(this.anchor)));if(R(this,vr).set(r,t),n){for(const[s,c]of R(this,Dr))s===t?r.skipped_effects.delete(c):r.skipped_effects.add(c);for(const[s,c]of R(this,tr))s===t?r.skipped_effects.delete(c.effect):r.skipped_effects.add(c.effect);r.oncommit(R(this,kn)),r.ondiscard(R(this,Xo))}else _e&&(this.anchor=Me),R(this,kn).call(this)}}vr=new WeakMap,Dr=new WeakMap,tr=new WeakMap,Ei=new WeakMap,En=new WeakMap,kn=new WeakMap,Xo=new WeakMap;function xt(i,t,...e){var r=new Hi(i);kr(()=>{const n=t()??null;r.ensure(n,n&&(o=>n(o,...e)))},fr)}function Ff(i,t){const e=(r,...n)=>{var o=nn;al(i);try{return t(r,...n)}finally{al(o)}};return ac(e),e}function Bf(i){return(t,...e)=>{var c;var r=i(...e),n;if(_e)n=Me,Pt();else{var o=r.render().trim(),a=Ao(o);n=at(a),t.before(n)}const s=(c=r.setup)==null?void 0:c.call(r,n);yt(n,n),typeof s=="function"&&Qt(s)}}function Vf(){return Ue===null&&rd(),(Ue.ac??(Ue.ac=new AbortController)).signal}function Pa(i){Ze===null&&Pi(),st(()=>{const t=et(i);if(typeof t=="function")return t})}function Aa(i){Ze===null&&Pi(),Pa(()=>()=>et(i))}function jf(i,t,{bubbles:e=!1,cancelable:r=!1}={}){return new CustomEvent(i,{detail:t,bubbles:e,cancelable:r})}function Uf(){const i=Ze;return i===null&&Pi(),(t,e,r)=>{var o;const n=(o=i.s.$$events)==null?void 0:o[t];if(n){const a=ai(n)?n.slice():[n],s=jf(t,e,r);for(const c of a)c.call(i.x,s);return!s.defaultPrevented}return!0}}function Gf(i){Ze===null&&Pi(),Ze.l===null&&Js(),sc(Ze).b.push(i)}function Zf(i){Ze===null&&Pi(),Ze.l===null&&Js(),sc(Ze).a.push(i)}function sc(i){var t=i.l;return t.u??(t.u={a:[],b:[],m:[]})}const Wf=Object.freeze(Object.defineProperty({__proto__:null,afterUpdate:Zf,beforeUpdate:Gf,createContext:Pd,createEventDispatcher:Uf,createRawSnippet:Bf,flushSync:Ft,fork:Ld,getAbortSignal:Vf,getAllContexts:Ad,getContext:Wr,hasContext:ua,hydratable:mf,hydrate:ic,mount:Sa,onDestroy:Aa,onMount:Pa,setContext:ca,settled:ff,tick:Ta,unmount:oc,untrack:et},Symbol.toStringTag,{value:"Module"}));function qf(){return Symbol(Bs)}function Io(i,t,e,r){return i!==t&&cd(e,rc(r)),i}function Xf(i,t,e,r){return Io(i[t]=e,et(()=>i[t]),t,r)}function Yf(i,t,e,r){return Io(i[t]&&(i[t]=e),et(()=>i[t]),t,r)}function Kf(i,t,e,r){return Io(i[t]||(i[t]=e),et(()=>i[t]),t,r)}function Qf(i,t,e,r){return Io(i[t]??(i[t]=e),et(()=>i[t]),t,r)}var lc=new Map;function Jf(i){var t=lc.get(i);if(t){for(const e of t)e.remove();lc.delete(i)}}function $f(i,t,e){return(...r)=>{const n=i(...r);var o=_e?n:n.nodeType===Ys?n.firstChild:n;return cc(o,t,e),n}}function ep(i,t,e){i.__svelte_meta={parent:mo,loc:{file:t,line:e[0],column:e[1]}},e[2]&&cc(i.firstChild,t,e[2])}function cc(i,t,e){for(var r=0,n=0;i&&r<e.length;){if(_e&&i.nodeType===Tr){var o=i;o.data===na||o.data===Si?n+=1:o.data[0]===ro&&(n-=1)}n===0&&i.nodeType===Xs&&ep(i,t,e[r++]),i=i.nextSibling}}function tp(i,t){function e(r,n){let o={},a,s=!1;return kr(()=>{const c=t(),l=p(c);if(a){for(var u in o)delete o[u];vt(a)}a=zt(()=>{s&&Li(!1),Object.defineProperties(o,Object.getOwnPropertyDescriptors(new.target?new l(r,n):l(r,n))),s&&Li(!0)})},fr),s=!0,_e&&(r=Me),o}return e[Zt]=i[Zt],e[Ns]={original:i,source:Lt(i)},e}function rp(i){var r;const t=Ze==null?void 0:Ze.function,e=(r=Ze==null?void 0:Ze.p)==null?void 0:r.function;return{mutation:(n,o,a,s,c)=>{const l=o[0];if(uc(i,l)||!e)return a;let u=i;for(let f=0;f<o.length-1;f++)if(u=u[o[f]],!(u!=null&&u[Dt]))return a;const h=rc(`${t[Zt]}:${s}:${c}`);return gd(l,h,n,e[Zt]),a},binding:(n,o,a)=>{var s;!uc(i,n)&&e&&((s=a())!=null&&s[Dt])&&pd(t[Zt],n,o[Zt],e[Zt])}}}function uc(i,t){var r;const e=Dt in i||fo in i;return!!((r=hr(i,t))!=null&&r.set)||e&&t in i||!(t in i)}function ip(i){i&&qh(i[Zt]??"a component",i.name)}function np(){const i=Ze==null?void 0:Ze.function;function t(e){Wh(e,i[Zt])}return{$destroy:()=>t("$destroy()"),$on:()=>t("$on(...)"),$set:()=>t("$set(...)")}}function op(i,t,e=!1){ya();let r=!0,n=ct;Ol(()=>{try{var o=i()}catch(s){n=s;return}var a=go(o,!0,!0);et(()=>{if(e){if(t(...a),!r){const s=kd("$inspect(...)");s&&(console.groupCollapsed("stack trace"),console.log(s),console.groupEnd())}}else t(r?"init":"update",...a)}),r=!1}),ht(()=>{try{i()}catch{}n!==ct&&(console.error(n),n=ct)})}function ap(i,t=[],e=[],r){var n=fa(),o=Be,a=!n.is_pending();n.update_pending_count(1),o.increment(a);var s=_e;if(s){Pt();var c=Me,l=hi(!1);it(l)}an(t,[],e,u=>{s&&(ut(!0),it(c));try{for(const h of u)p(h);r(i,...u)}finally{s&&ut(!1),n.update_pending_count(-1),o.decrement(a)}})}function sp(i,...t){(typeof i!="object"||!(i instanceof Node))&&Qs();for(let e of t)typeof e!="function"&&Qs()}const hc=0,Ra=1;function lp(i,t,e,r,n){_e&&Pt();var o=ct,a=Lt(o),s=Lt(o),c=new Hi(i);kr(()=>{var l=t(),u=!1;let h=_e&&Gs(l)===(i.data===Si);if(h&&(it(hi()),ut(!1)),Gs(l)){var f=yo(),v=!1;const _=d=>{if(!u){v=!0,f(!1),Xt.ensure(),_e&&ut(!1);try{d()}finally{qr(),Ii||Ft()}}};l.then(d=>{_(()=>{Er(a,d),c.ensure(Ra,r&&(g=>r(g,a)))})},d=>{_(()=>{if(Er(s,d),c.ensure(Ra,n&&(g=>n(g,s))),!n)throw s.v})}),_e?c.ensure(hc,e):qt(()=>{v||_(()=>{c.ensure(hc,e)})})}else Er(a,l),c.ensure(Ra,r&&(_=>r(_,a)));return h&&ut(!0),()=>{u=!0}})}function D(i,t,e=!1){_e&&Pt();var r=new Hi(i),n=e?fr:0;function o(a,s){if(_e){const l=el(i)===Si;if(a===l){var c=hi();it(c),r.anchor=c,ut(!1),r.ensure(a,s),ut(!0);return}}r.ensure(a,s)}kr(()=>{var a=!1;t((s,c=!0)=>{a=!0,o(c,s)}),a||o(!1,null)},n)}function cp(i,t,e){_e&&Pt();var r=new Hi(i);kr(()=>{var n=t();r.ensure(n,e)})}function up(i,t){_e&&it(at(i)),ht(()=>{var e=t();for(var r in e){var n=e[r];n?i.style.setProperty(r,n):i.style.removeProperty(r)}})}function Ni(i,t){return t}function hp(i,t,e){for(var r=[],n=t.length,o,a=t.length,s=0;s<n;s++){let h=t[s];vi(h,()=>{if(o){if(o.pending.delete(h),o.done.add(h),o.pending.size===0){var f=i.outrogroups;Ia(no(o.done)),f.delete(o),f.size===0&&(i.outrogroups=null)}}else a-=1},!1)}if(a===0){var c=r.length===0&&e!==null;if(c){var l=e,u=l.parentNode;ba(u),u.append(l),i.items.clear()}Ia(t,!c)}else o={pending:new Set(t),done:new Set},(i.outrogroups??(i.outrogroups=new Set)).add(o)}function Ia(i,t=!0){for(var e=0;e<i.length;e++)vt(i[e],t)}var dc;function Ut(i,t,e,r,n,o=null){var a=i,s=new Map,c=(t&en)!==0;if(c){var l=i;a=_e?it(at(l)):l.appendChild(At())}_e&&Pt();var u=null,h=ga(()=>{var b=e();return ai(b)?b:b==null?[]:no(b)}),f,v=!0;function _(){g.fallback=u,dp(g,f,a,t,r),u!==null&&(f.length===0?(u.f&Nr)===0?xa(u):(u.f^=Nr,dn(u,null,a)):vi(u,()=>{u=null}))}var d=kr(()=>{f=p(h);var b=f.length;let S=!1;if(_e){var P=el(a)===Si;P!==(b===0)&&(a=hi(),it(a),ut(!1),S=!0)}for(var k=new Set,A=Be,N=Sl(),Z=0;Z<b;Z+=1){_e&&Me.nodeType===Tr&&Me.data===ro&&(a=Me,S=!0,ut(!1));var L=f[Z],I=r(L,Z),O=v?null:s.get(I);O?(O.v&&Er(O.v,L),O.i&&Er(O.i,Z),N&&A.skipped_effects.delete(O.e)):(O=fp(s,v?a:dc??(dc=At()),L,I,Z,n,t,e),v||(O.e.f|=Nr),s.set(I,O)),k.add(I)}if(b===0&&o&&!u&&(v?u=zt(()=>o(a)):(u=zt(()=>o(dc??(dc=At()))),u.f|=Nr)),_e&&b>0&&it(hi()),!v)if(N){for(const[J,ee]of s)k.has(J)||A.skipped_effects.add(ee.e);A.oncommit(_),A.ondiscard(()=>{})}else _();S&&ut(!0),p(h)}),g={effect:d,items:s,outrogroups:null,fallback:u};v=!1,_e&&(a=Me)}function dp(i,t,e,r,n){var O,J,ee,ne,z,B,q,ae,oe;var o=(r&xh)!==0,a=t.length,s=i.items,c=i.effect.first,l,u=null,h,f=[],v=[],_,d,g,b;if(o)for(b=0;b<a;b+=1)_=t[b],d=n(_,b),g=s.get(d).e,(g.f&Nr)===0&&((J=(O=g.nodes)==null?void 0:O.a)==null||J.measure(),(h??(h=new Set)).add(g));for(b=0;b<a;b+=1){if(_=t[b],d=n(_,b),g=s.get(d).e,i.outrogroups!==null)for(const F of i.outrogroups)F.pending.delete(g),F.done.delete(g);if((g.f&Nr)!==0)if(g.f^=Nr,g===c)dn(g,null,e);else{var S=u?u.next:c;g===i.effect.last&&(i.effect.last=g.prev),g.prev&&(g.prev.next=g.next),g.next&&(g.next.prev=g.prev),Jr(i,u,g),Jr(i,g,S),dn(g,S,e),u=g,f=[],v=[],c=u.next;continue}if((g.f&Wt)!==0&&(xa(g),o&&((ne=(ee=g.nodes)==null?void 0:ee.a)==null||ne.unfix(),(h??(h=new Set)).delete(g))),g!==c){if(l!==void 0&&l.has(g)){if(f.length<v.length){var P=v[0],k;u=P.prev;var A=f[0],N=f[f.length-1];for(k=0;k<f.length;k+=1)dn(f[k],P,e);for(k=0;k<v.length;k+=1)l.delete(v[k]);Jr(i,A.prev,N.next),Jr(i,u,A),Jr(i,N,P),c=P,u=N,b-=1,f=[],v=[]}else l.delete(g),dn(g,c,e),Jr(i,g.prev,g.next),Jr(i,g,u===null?i.effect.first:u.next),Jr(i,u,g),u=g;continue}for(f=[],v=[];c!==null&&c!==g;)(l??(l=new Set)).add(c),v.push(c),c=c.next;if(c===null)continue}(g.f&Nr)===0&&f.push(g),u=g,c=g.next}if(i.outrogroups!==null){for(const F of i.outrogroups)F.pending.size===0&&(Ia(no(F.done)),(z=i.outrogroups)==null||z.delete(F));i.outrogroups.size===0&&(i.outrogroups=null)}if(c!==null||l!==void 0){var Z=[];if(l!==void 0)for(g of l)(g.f&Wt)===0&&Z.push(g);for(;c!==null;)(c.f&Wt)===0&&c!==i.fallback&&Z.push(c),c=c.next;var L=Z.length;if(L>0){var I=(r&en)!==0&&a===0?e:null;if(o){for(b=0;b<L;b+=1)(q=(B=Z[b].nodes)==null?void 0:B.a)==null||q.measure();for(b=0;b<L;b+=1)(oe=(ae=Z[b].nodes)==null?void 0:ae.a)==null||oe.fix()}hp(i,Z,I)}}o&&qt(()=>{var F,K;if(h!==void 0)for(g of h)(K=(F=g.nodes)==null?void 0:F.a)==null||K.apply()})}function fp(i,t,e,r,n,o,a,s){var c=(a&rt)!==0?(a&Th)===0?To(e,!1,!1):Lt(e):null,l=(a&dt)!==0?Lt(n):null;return{v:c,i:l,e:zt(()=>(o(t,c??e,l??n,s),()=>{i.delete(r)}))}}function dn(i,t,e){if(i.nodes)for(var r=i.nodes.start,n=i.nodes.end,o=t&&(t.f&Nr)===0?t.nodes.start:e;r!==null;){var a=Kt(r);if(o.before(r),r===n)return;r=a}}function Jr(i,t,e){t===null?i.effect.first=e:t.next=e,e===null?i.effect.last=t:e.prev=t}function Cr(i,t,e=!1,r=!1,n=!1){var o=i,a="";Oe(()=>{var s=Fe;if(a===(a=t()??"")){_e&&Pt();return}if(s.nodes!==null&&(Hl(s.nodes.start,s.nodes.end),s.nodes=null),a!==""){if(_e){Me.data;for(var c=Pt(),l=c;c!==null&&(c.nodeType!==Tr||c.data!=="");)l=c,c=Kt(c);if(c===null)throw rn(),oi;yt(Me,l),o=it(c);return}var u=a+"";e?u=`<svg>${u}</svg>`:r&&(u=`<math>${u}</math>`);var h=Ao(u);if((e||r)&&(h=at(h)),yt(at(h),h.lastChild),e||r)for(;at(h);)o.before(at(h));else o.before(h)}})}function pp(i,t,e,r,n){var s;_e&&Pt();var o=(s=t.$$slots)==null?void 0:s[e],a=!1;o===!0&&(o=t[e==="default"?"children":e],a=!0),o===void 0?n!==null&&n(i):o(i,a?()=>r:r)}function gp(i){const t={};i.children&&(t.default=!0);for(const e in i.$$slots)t[e]=!0;return t}function Fi(i,t,e){_e&&Pt();var r=new Hi(i);kr(()=>{var n=t()??null;r.ensure(n,n&&(o=>e(o,n)))},fr)}const vp=()=>performance.now(),Pr={tick:i=>requestAnimationFrame(i),now:()=>vp(),tasks:new Set};function fc(){const i=Pr.now();Pr.tasks.forEach(t=>{t.c(i)||(Pr.tasks.delete(t),t.f())}),Pr.tasks.size!==0&&Pr.tick(fc)}function mp(i){let t;return Pr.tasks.size===0&&Pr.tick(fc),{promise:new Promise(e=>{Pr.tasks.add(t={c:i,f:e})}),abort(){Pr.tasks.delete(t)}}}function Oo(i,t){Yr(()=>{i.dispatchEvent(new CustomEvent(t))})}function _p(i){if(i==="float")return"cssFloat";if(i==="offset")return"cssOffset";if(i.startsWith("--"))return i;const t=i.split("-");return t.length===1?t[0]:t[0]+t.slice(1).map(e=>e[0].toUpperCase()+e.slice(1)).join("")}function pc(i){const t={},e=i.split(";");for(const r of e){const[n,o]=r.split(":");if(!n||o===void 0)break;const a=_p(n.trim());t[a]=o.trim()}return t}const wp=i=>i;let gc=null;function vc(i){gc=i}function bp(i,t,e){var r=gc??Fe,n=r.nodes,o,a,s,c=null;n.a??(n.a={element:i,measure(){o=this.element.getBoundingClientRect()},apply(){if(s==null||s.abort(),a=this.element.getBoundingClientRect(),o.left!==a.left||o.right!==a.right||o.top!==a.top||o.bottom!==a.bottom){const l=t()(this.element,{from:o,to:a},e==null?void 0:e());s=Mo(this.element,l,void 0,1,()=>{s==null||s.abort(),s=void 0})}},fix(){if(!i.getAnimations().length){var{position:l,width:u,height:h}=getComputedStyle(i);if(l!=="absolute"&&l!=="fixed"){var f=i.style;c={position:f.position,width:f.width,height:f.height,transform:f.transform},f.position="absolute",f.width=u,f.height=h;var v=i.getBoundingClientRect();if(o.left!==v.left||o.top!==v.top){var _=`translate(${o.left-v.left}px, ${o.top-v.top}px)`;f.transform=f.transform?`${f.transform} ${_}`:_}}}},unfix(){if(c){var l=i.style;l.position=c.position,l.width=c.width,l.height=c.height,l.transform=c.transform}}}),n.a.element=i}function yp(i,t,e,r){var P;var n=(i&Ch)!==0,o=(i&Ph)!==0,a=n&&o,s=(i&Ah)!==0,c=a?"both":n?"in":"out",l,u=t.inert,h=t.style.overflow,f,v;function _(){return Yr(()=>l??(l=e()(t,(r==null?void 0:r())??{},{direction:c})))}var d={is_global:s,in(){var k;if(t.inert=u,!n){v==null||v.abort(),(k=v==null?void 0:v.reset)==null||k.call(v);return}o||f==null||f.abort(),Oo(t,"introstart"),f=Mo(t,_(),v,1,()=>{Oo(t,"introend"),f==null||f.abort(),f=l=void 0,t.style.overflow=h})},out(k){if(!o){k==null||k(),l=void 0;return}t.inert=!0,Oo(t,"outrostart"),v=Mo(t,_(),f,0,()=>{Oo(t,"outroend"),k==null||k()})},stop:()=>{f==null||f.abort(),v==null||v.abort()}},g=Fe;if(((P=g.nodes).t??(P.t=[])).push(d),n&&Ro){var b=s;if(!b){for(var S=g.parent;S&&(S.f&fr)!==0;)for(;(S=S.parent)&&(S.f&br)===0;);b=!S||(S.f&tn)!==0}b&&Jt(()=>{et(()=>d.in())})}}function Mo(i,t,e,r,n){var o=r===1;if(Ci(t)){var a,s=!1;return qt(()=>{if(!s){var g=t({direction:o?"in":"out"});a=Mo(i,g,e,r,n)}}),{abort:()=>{s=!0,a==null||a.abort()},deactivate:()=>a.deactivate(),reset:()=>a.reset(),t:()=>a.t()}}if(e==null||e.deactivate(),!(t!=null&&t.duration))return n(),{abort:wr,deactivate:wr,reset:wr,t:()=>r};const{delay:c=0,css:l,tick:u,easing:h=wp}=t;var f=[];if(o&&e===void 0&&(u&&u(0,1),l)){var v=pc(l(0,1));f.push(v,v)}var _=()=>1-r,d=i.animate(f,{duration:c,fill:"forwards"});return d.onfinish=()=>{d.cancel();var g=(e==null?void 0:e.t())??1-r;e==null||e.abort();var b=r-g,S=t.duration*Math.abs(b),P=[];if(S>0){var k=!1;if(l)for(var A=Math.ceil(S/16.666666666666668),N=0;N<=A;N+=1){var Z=g+b*h(N/A),L=pc(l(Z,1-Z));P.push(L),k||(k=L.overflow==="hidden")}k&&(i.style.overflow="hidden"),_=()=>{var I=d.currentTime;return g+b*h(I/S)},u&&mp(()=>{if(d.playState!=="running")return!1;var I=_();return u(I,1-I),!0})}d=i.animate(P,{duration:S,fill:"forwards"}),d.onfinish=()=>{_=()=>r,u==null||u(r,1-r),n()}},{abort:()=>{d&&(d.cancel(),d.effect=null,d.onfinish=wr)},deactivate:()=>{n=wr},reset:()=>{r===0&&(u==null||u(1,0))},t:()=>_()}}function xp(i,t,e,r,n,o){let a=_e;_e&&Pt();var s=null;_e&&Me.nodeType===Xs&&(s=Me,Pt());var c=_e?Me:i,l=Fe,u=new Hi(c,!1);kr(()=>{const h=t()||null;var f=n?n():e||h==="svg"?io:null;if(h===null){u.ensure(null,null),Li(!0);return}return u.ensure(h,v=>{if(h){if(s=_e?s:f?document.createElementNS(f,h):document.createElement(h),yt(s,s),r){_e&&Lf(h)&&s.append(document.createComment(""));var _=_e?at(s):s.appendChild(At());_e&&(_===null?ut(!1):it(_)),vc(l),r(s,_),vc(null)}Fe.nodes.end=s,v.before(s)}_e&&it(v)}),Li(!0),()=>{h&&Li(!1)}},fr),Qt(()=>{Li(!0)}),a&&(ut(!0),it(c))}function Tp(i,t){let e=null,r=_e;var n;if(_e){e=Me;for(var o=at(document.head);o!==null&&(o.nodeType!==Tr||o.data!==i);)o=Kt(o);if(o===null)ut(!1);else{var a=Kt(o);o.remove(),it(a)}}_e||(n=document.head.appendChild(At()));try{kr(()=>t(n),sa)}finally{r&&(ut(!0),it(e))}}function Ep(i,t){Jt(()=>{var e=i.getRootNode(),r=e.host?e:e.head??e.ownerDocument.head;if(!r.querySelector("#"+t.hash)){const n=document.createElement("style");n.id=t.hash,n.textContent=t.code,r.appendChild(n)}})}function Ar(i,t,e){Jt(()=>{var r=et(()=>t(i,e==null?void 0:e())||{});if(e&&(r!=null&&r.update)){var n=!1,o={};ht(()=>{var a=e();Ea(a),n&&rl(o,a)&&(o=a,r.update(a))}),n=!0}if(r!=null&&r.destroy)return()=>r.destroy()})}function mc(i,t){var e=void 0,r;Dl(()=>{e!==(e=t())&&(r&&(vt(r),r=null),e&&(r=zt(()=>{Jt(()=>e(i))})))})}const kp=/[&"<]/g;function Sp(i,t){const e=String(i??""),r=kp;r.lastIndex=0;let n="",o=0;for(;r.test(e);){const a=r.lastIndex-1,s=e[a];n+=e.substring(o,a)+(s==="&"?"&":s==='"'?""":"<"),o=a+1}return n+e.substring(o)}function _c(i){var t,e,r="";if(typeof i=="string"||typeof i=="number")r+=i;else if(typeof i=="object")if(Array.isArray(i)){var n=i.length;for(t=0;t<n;t++)i[t]&&(e=_c(i[t]))&&(r&&(r+=" "),r+=e)}else for(e in i)i[e]&&(r&&(r+=" "),r+=e);return r}function Cp(){for(var i,t,e=0,r="",n=arguments.length;e<n;e++)(i=arguments[e])&&(t=_c(i))&&(r&&(r+=" "),r+=t);return r}const wc={translate:new Map([[!0,"yes"],[!1,"no"]])};function Pp(i,t,e=!1){if(i==="hidden"&&t!=="until-found"&&(e=!0),t==null||!t&&e)return"";const r=i in wc&&wc[i].get(t)||t,n=e?"":`="${Sp(r)}"`;return` ${i}${n}`}function Tt(i){return typeof i=="object"?Cp(i):i??""}const bc=[...`
|
|
6
|
-
\r\f \v\uFEFF`];function Ap(i,t,e){var r=i==null?"":""+i;if(t&&(r=r?r+" "+t:t),e){for(var n in e)if(e[n])r=r?r+" "+n:n;else if(r.length)for(var o=n.length,a=0;(a=r.indexOf(n,a))>=0;){var s=a+o;(a===0||bc.includes(r[a-1]))&&(s===r.length||bc.includes(r[s]))?r=(a===0?"":r.substring(0,a))+r.substring(s+1):a=s}}return r===""?null:r}function yc(i,t=!1){var e=t?" !important;":";",r="";for(var n in i){var o=i[n];o!=null&&o!==""&&(r+=" "+n+": "+o+e)}return r}function Oa(i){return i[0]!=="-"||i[1]!=="-"?i.toLowerCase():i}function Rp(i,t){if(t){var e="",r,n;if(Array.isArray(t)?(r=t[0],n=t[1]):r=t,i){i=String(i).replaceAll(/\s*\/\*.*?\*\/\s*/g,"").trim();var o=!1,a=0,s=!1,c=[];r&&c.push(...Object.keys(r).map(Oa)),n&&c.push(...Object.keys(n).map(Oa));var l=0,u=-1;const d=i.length;for(var h=0;h<d;h++){var f=i[h];if(s?f==="/"&&i[h-1]==="*"&&(s=!1):o?o===f&&(o=!1):f==="/"&&i[h+1]==="*"?s=!0:f==='"'||f==="'"?o=f:f==="("?a++:f===")"&&a--,!s&&o===!1&&a===0){if(f===":"&&u===-1)u=h;else if(f===";"||h===d-1){if(u!==-1){var v=Oa(i.substring(l,u).trim());if(!c.includes(v)){f!==";"&&h++;var _=i.substring(l,h).trim();e+=" "+_+";"}}l=h+1,u=-1}}}}return r&&(e+=yc(r)),n&&(e+=yc(n,!0)),e=e.trim(),e===""?null:e}return i==null?null:String(i)}function He(i,t,e,r,n,o){var a=i.__className;if(_e||a!==e||a===void 0){var s=Ap(e,r,o);(!_e||s!==i.getAttribute("class"))&&(s==null?i.removeAttribute("class"):t?i.className=s:i.setAttribute("class",s)),i.__className=e}else if(o&&n!==o)for(var c in o){var l=!!o[c];(n==null||l!==!!n[c])&&i.classList.toggle(c,l)}return o}function Ma(i,t={},e,r){for(var n in e){var o=e[n];t[n]!==o&&(e[n]==null?i.style.removeProperty(n):i.style.setProperty(n,o,r))}}function Ot(i,t,e,r){var n=i.__style;if(_e||n!==t){var o=Rp(t,r);(!_e||o!==i.getAttribute("style"))&&(o==null?i.removeAttribute("style"):i.style.cssText=o),i.__style=t}else r&&(Array.isArray(r)?(Ma(i,e==null?void 0:e[0],r[0]),Ma(i,e==null?void 0:e[1],r[1],"important")):Ma(i,e,r));return r}function fn(i,t,e=!1){if(i.multiple){if(t==null)return;if(!ai(t))return vd();for(var r of i.options)r.selected=t.includes(pn(r));return}for(r of i.options){var n=pn(r);if(xl(n,t)){r.selected=!0;return}}(!e||t!==void 0)&&(i.selectedIndex=-1)}function Da(i){var t=new MutationObserver(()=>{fn(i,i.__value)});t.observe(i,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["value"]}),Qt(()=>{t.disconnect()})}function Ip(i,t,e=t){var r=new WeakSet,n=!0;cn(i,"change",o=>{var a=o?"[selected]":":checked",s;if(i.multiple)s=[].map.call(i.querySelectorAll(a),pn);else{var c=i.querySelector(a)??i.querySelector("option:not([disabled])");s=c&&pn(c)}e(s),Be!==null&&r.add(Be)}),Jt(()=>{var o=t();if(i===document.activeElement){var a=on??Be;if(r.has(a))return}if(fn(i,o,n),n&&o===void 0){var s=i.querySelector(":checked");s!==null&&(o=pn(s),e(o))}i.__value=o,n=!1}),Da(i)}function pn(i){return"__value"in i?i.__value:i.value}const Bi=Symbol("class"),Vi=Symbol("style"),xc=Symbol("is custom element"),Tc=Symbol("is html");function Do(i){if(_e){var t=!1,e=()=>{if(!t){if(t=!0,i.hasAttribute("value")){var r=i.value;Ne(i,"value",null),i.value=r}if(i.hasAttribute("checked")){var n=i.checked;Ne(i,"checked",null),i.checked=n}}};i.__on_r=e,qt(e),Al()}}function Op(i,t){var e=Lo(i);e.value===(e.value=t??void 0)||i.value===t&&(t!==0||i.nodeName!=="PROGRESS")||(i.value=t??"")}function Ec(i,t){var e=Lo(i);e.checked!==(e.checked=t??void 0)&&(i.checked=t)}function kc(i,t){t?i.hasAttribute("selected")||i.setAttribute("selected",""):i.removeAttribute("selected")}function Mp(i,t){const e=i.checked;i.defaultChecked=t,i.checked=e}function Dp(i,t){const e=i.value;i.defaultValue=t,i.value=e}function Ne(i,t,e,r){var n=Lo(i);_e&&(n[t]=i.getAttribute(t),t==="src"||t==="srcset"||t==="href"&&i.nodeName==="LINK")||n[t]!==(n[t]=e)&&(t==="loading"&&(i[Nh]=e),e==null?i.removeAttribute(t):typeof e!="string"&&za(i).includes(t)?i[t]=e:i.setAttribute(t,e))}function Lp(i,t,e){i.setAttributeNS("http://www.w3.org/1999/xlink",t,e)}function zp(i,t,e){var r=Ue,n=Fe;let o=_e;_e&&ut(!1),It(null),jt(null);try{t!=="style"&&(La.has(i.getAttribute("is")||i.nodeName)||!customElements||customElements.get(i.getAttribute("is")||i.tagName.toLowerCase())?za(i).includes(t):e&&typeof e=="object")?i[t]=e:Ne(i,t,e==null?e:String(e))}finally{It(r),jt(n),o&&ut(!0)}}function Hp(i,t,e,r,n=!1,o=!1){if(_e&&n&&i.tagName==="INPUT"){var a=i,s=a.type==="checkbox"?"defaultChecked":"defaultValue";s in e||Do(a)}var c=Lo(i),l=c[xc],u=!c[Tc];let h=_e&&l;h&&ut(!1);var f=t||{},v=i.tagName==="OPTION";for(var _ in t)_ in e||(e[_]=null);e.class?e.class=Tt(e.class):(r||e[Bi])&&(e.class=null),e[Vi]&&(e.style??(e.style=null));var d=za(i);for(const N in e){let Z=e[N];if(v&&N==="value"&&Z==null){i.value=i.__value="",f[N]=Z;continue}if(N==="class"){var g=i.namespaceURI==="http://www.w3.org/1999/xhtml";He(i,g,Z,r,t==null?void 0:t[Bi],e[Bi]),f[N]=Z,f[Bi]=e[Bi];continue}if(N==="style"){Ot(i,Z,t==null?void 0:t[Vi],e[Vi]),f[N]=Z,f[Vi]=e[Vi];continue}var b=f[N];if(!(Z===b&&!(Z===void 0&&i.hasAttribute(N)))){f[N]=Z;var S=N[0]+N[1];if(S!=="$$")if(S==="on"){const L={},I="$$"+N;let O=N.slice(2);var P=Af(O);if(Cf(O)&&(O=O.slice(0,-7),L.capture=!0),!P&&b){if(Z!=null)continue;i.removeEventListener(O,f[I],L),f[I]=null}if(Z!=null)if(P)i[`__${O}`]=Z,Qr([O]);else{let J=function(ee){f[N].call(this,ee)};f[I]=Jl(O,i,J,L)}else P&&(i[`__${O}`]=void 0)}else if(N==="style")Ne(i,N,Z);else if(N==="autofocus")Cl(i,!!Z);else if(!l&&(N==="__value"||N==="value"&&Z!=null))i.value=i.__value=Z;else if(N==="selected"&&v)kc(i,Z);else{var k=N;u||(k=If(k));var A=k==="defaultValue"||k==="defaultChecked";if(Z==null&&!l&&!A)if(c[N]=null,k==="value"||k==="checked"){let L=i;const I=t===void 0;if(k==="value"){let O=L.defaultValue;L.removeAttribute(k),L.defaultValue=O,L.value=L.__value=I?O:null}else{let O=L.defaultChecked;L.removeAttribute(k),L.defaultChecked=O,L.checked=I?O:!1}}else i.removeAttribute(N);else A||d.includes(k)&&(l||typeof Z!="string")?(i[k]=Z,k in c&&(c[k]=ct)):typeof Z!="function"&&Ne(i,k,Z)}}}return h&&ut(!0),f}function Et(i,t,e=[],r=[],n=[],o,a=!1,s=!1){an(n,e,r,c=>{var l=void 0,u={},h=i.nodeName==="SELECT",f=!1;if(Dl(()=>{var _=t(...c.map(p)),d=Hp(i,l,_,o,a,s);f&&h&&"value"in _&&fn(i,_.value);for(let b of Object.getOwnPropertySymbols(u))_[b]||vt(u[b]);for(let b of Object.getOwnPropertySymbols(_)){var g=_[b];b.description===Bs&&(!l||g!==l[b])&&(u[b]&&vt(u[b]),u[b]=zt(()=>mc(i,()=>g))),d[b]=g}l=d}),h){var v=i;Jt(()=>{fn(v,l.value,!0),Da(v)})}f=!0})}function Lo(i){return i.__attributes??(i.__attributes={[xc]:i.nodeName.includes("-"),[Tc]:i.namespaceURI===Oh})}var La=new Map;function za(i){var t=i.getAttribute("is")||i.nodeName,e=La.get(t);if(e)return e;La.set(t,e=[]);for(var r,n=i,o=Element.prototype;o!==n;){r=Vs(n);for(var a in r)r[a].set&&e.push(a);n=ao(n)}return e}function Np(i){Bt(document,["focusin","focusout"],t=>{t&&t.type==="focusout"&&t.relatedTarget||i(document.activeElement)})}function Sc(i,t,e=t){var r=new WeakSet;cn(i,"input",async n=>{var o=n?i.defaultValue:i.value;if(o=Na(i)?Fa(o):o,e(o),Be!==null&&r.add(Be),await Ta(),o!==(o=t())){var a=i.selectionStart,s=i.selectionEnd,c=i.value.length;if(i.value=o??"",s!==null){var l=i.value.length;a===s&&s===c&&l>c?(i.selectionStart=l,i.selectionEnd=l):(i.selectionStart=a,i.selectionEnd=Math.min(s,l))}}}),(_e&&i.defaultValue!==i.value||et(t)==null&&i.value)&&(e(Na(i)?Fa(i.value):i.value),Be!==null&&r.add(Be)),ht(()=>{var n=t();if(i===document.activeElement){var o=on??Be;if(r.has(o))return}Na(i)&&n===Fa(i.value)||i.type==="date"&&!n&&!i.value||n!==i.value&&(i.value=n??"")})}const Ha=new Set;function Fp(i,t,e,r,n=r){var o=e.getAttribute("type")==="checkbox",a=i;let s=!1;if(t!==null)for(var c of t)a=a[c]??(a[c]=[]);a.push(e),cn(e,"change",()=>{var l=e.__value;o&&(l=Cc(a,l,e.checked)),n(l)},()=>n(o?[]:null)),ht(()=>{var l=r();if(_e&&e.defaultChecked!==e.checked){s=!0;return}o?(l=l||[],e.checked=l.includes(e.__value)):e.checked=xl(e.__value,l)}),Qt(()=>{var l=a.indexOf(e);l!==-1&&a.splice(l,1)}),Ha.has(a)||(Ha.add(a),qt(()=>{a.sort((l,u)=>l.compareDocumentPosition(u)===4?-1:1),Ha.delete(a)})),qt(()=>{if(s){var l;if(o)l=Cc(a,l,e.checked);else{var u=a.find(h=>h.checked);l=u==null?void 0:u.__value}n(l)}})}function Bp(i,t,e=t){cn(i,"change",r=>{var n=r?i.defaultChecked:i.checked;e(n)}),(_e&&i.defaultChecked!==i.checked||et(t)==null)&&e(i.checked),ht(()=>{var r=t();i.checked=!!r})}function Cc(i,t,e){for(var r=new Set,n=0;n<i.length;n+=1)i[n].checked&&r.add(i[n].__value);return e||r.delete(t),Array.from(r)}function Na(i){var t=i.type;return t==="number"||t==="range"}function Fa(i){return i===""?null:+i}function Vp(i,t,e=t){cn(i,"change",()=>{e(i.files)}),_e&&i.files&&e(i.files),ht(()=>{i.files=t()})}function Ba(i){for(var t=[],e=0;e<i.length;e+=1)t.push({start:i.start(e),end:i.end(e)});return t}function jp(i,t,e=t){var r,n,o=()=>{cancelAnimationFrame(r),i.paused||(r=requestAnimationFrame(o));var a=i.currentTime;n!==a&&e(n=a)};r=requestAnimationFrame(o),i.addEventListener("timeupdate",o),ht(()=>{var a=Number(t());n!==a&&!isNaN(a)&&(i.currentTime=n=a)}),Qt(()=>{cancelAnimationFrame(r),i.removeEventListener("timeupdate",o)})}function Up(i,t){var e;Bt(i,["loadedmetadata","progress","timeupdate","seeking"],()=>{var r=i.buffered;(!e||e.length!==r.length||e.some((n,o)=>r.start(o)!==n.start||r.end(o)!==n.end))&&(e=Ba(r),t(e))})}function Gp(i,t){Bt(i,["loadedmetadata"],()=>t(Ba(i.seekable)))}function Zp(i,t){Bt(i,["timeupdate"],()=>t(Ba(i.played)))}function Wp(i,t){Bt(i,["seeking","seeked"],()=>t(i.seeking))}function qp(i,t){Bt(i,["timeupdate","ended"],()=>t(i.ended))}function Xp(i,t){Bt(i,["loadedmetadata","loadeddata","canplay","canplaythrough","playing","waiting","emptied"],()=>t(i.readyState))}function Yp(i,t,e=t){Jt(()=>{var r=Number(t());r!==i.playbackRate&&!isNaN(r)&&(i.playbackRate=r)}),Jt(()=>{Bt(i,["ratechange"],()=>{e(i.playbackRate)})})}function Kp(i,t,e=t){var r=t(),n=()=>{r!==i.paused&&e(r=i.paused)};Bt(i,["play","pause","canplay"],n,r==null),Jt(()=>{(r=!!t())!==i.paused&&(r?i.pause():i.play().catch(()=>{e(r=!0)}))})}function Qp(i,t,e=t){var r=()=>{e(i.volume)};t()==null&&r(),Bt(i,["volumechange"],r,!1),ht(()=>{var n=Number(t());n!==i.volume&&!isNaN(n)&&(i.volume=n)})}function Jp(i,t,e=t){var r=()=>{e(i.muted)};t()==null&&r(),Bt(i,["volumechange"],r,!1),ht(()=>{var n=!!t();i.muted!==n&&(i.muted=n)})}function $p(i){Bt(window,["online","offline"],()=>{i(navigator.onLine)})}function e0(i,t,e){var r=hr(i,t);r&&r.set&&(i[t]=e,Qt(()=>{i[t]=null}))}const Ko=class Ko{constructor(t){we(this,Yo);we(this,ii,new WeakMap);we(this,Ki);we(this,Sn);ze(this,Sn,t)}observe(t,e){var r=R(this,ii).get(t)||new Set;return r.add(e),R(this,ii).set(t,r),We(this,Yo,wh).call(this).observe(t,R(this,Sn)),()=>{var n=R(this,ii).get(t);n.delete(e),n.size===0&&(R(this,ii).delete(t),R(this,Ki).unobserve(t))}}};ii=new WeakMap,Ki=new WeakMap,Sn=new WeakMap,Yo=new WeakSet,wh=function(){return R(this,Ki)??ze(this,Ki,new ResizeObserver(t=>{for(var e of t){Ko.entries.set(e.target,e);for(var r of R(this,ii).get(e.target)||[])r(e)}}))},nt(Ko,"entries",new WeakMap);let gn=Ko;var t0=new gn({box:"content-box"}),Pc=new gn({box:"border-box"}),r0=new gn({box:"device-pixel-content-box"});function i0(i,t,e){var r=t==="contentRect"||t==="contentBoxSize"?t0:t==="borderBoxSize"?Pc:r0,n=r.observe(i,o=>e(o[t]));Qt(n)}function n0(i,t,e){var r=Pc.observe(i,()=>e(i[t]));Jt(()=>(et(()=>e(i[t])),r))}function Ac(i,t){return i===t||(i==null?void 0:i[Dt])===t}function ji(i={},t,e,r){return Jt(()=>{var n,o;return ht(()=>{n=o,o=(r==null?void 0:r())||[],et(()=>{i!==e(...o)&&(t(i,...o),n&&Ac(e(...n),i)&&t(null,...n))})}),()=>{qt(()=>{o&&Ac(e(...o),i)&&t(null,...o)})}}),i}function o0(i,t,e,r=e){t.addEventListener("input",()=>{r(t[i])}),ht(()=>{var n=e();if(t[i]!==n)if(n==null){var o=t[i];r(o)}else t[i]=n+""})}function a0(i,t,e,r,n){var o=()=>{r(e[i])};e.addEventListener(t,o),n?ht(()=>{e[i]=n()}):o(),(e===document.body||e===window||e===document)&&Qt(()=>{e.removeEventListener(t,o)})}function s0(i,t){Bt(i,["focus","blur"],()=>{t(i===document.activeElement)})}function l0(i,t,e=t){var r=i==="x",n=()=>Yr(()=>{o=!0,clearTimeout(a),a=setTimeout(s,100),e(window[r?"scrollX":"scrollY"])});addEventListener("scroll",n,{passive:!0});var o=!1,a,s=()=>{o=!1},c=!0;ht(()=>{var l=t();c?c=!1:!o&&l!=null&&(o=!0,clearTimeout(a),r?scrollTo(l,window.scrollY):scrollTo(window.scrollX,l),a=setTimeout(s,100))}),Jt(n),Qt(()=>{removeEventListener("scroll",n)})}function c0(i,t){Bt(window,["resize"],()=>Yr(()=>t(window[i])))}function u0(i){return function(...t){var e=t[0];e.isTrusted&&(i==null||i.apply(this,t))}}function h0(i){return function(...t){var e=t[0];e.target===this&&(i==null||i.apply(this,t))}}function d0(i){return function(...t){var e=t[0];return e.stopPropagation(),i==null?void 0:i.apply(this,t)}}function f0(i){var t=!1;return function(...e){if(!t)return t=!0,i==null?void 0:i.apply(this,e)}}function p0(i){return function(...t){var e=t[0];return e.stopImmediatePropagation(),i==null?void 0:i.apply(this,t)}}function g0(i){return function(...t){var e=t[0];return e.preventDefault(),i==null?void 0:i.apply(this,t)}}function v0(i=!1){const t=Ze,e=t.l.u;if(!e)return;let r=()=>Ea(t.s);if(i){let n=0,o={};const a=sn(()=>{let s=!1;const c=t.s;for(const l in c)c[l]!==o[l]&&(o[l]=c[l],s=!0);return s&&n++,n});r=()=>p(a)}e.b.length&&Il(()=>{Rc(t,r),aa(e.b)}),st(()=>{const n=et(()=>e.m.map(Lh));return()=>{for(const o of n)typeof o=="function"&&o()}}),e.a.length&&st(()=>{Rc(t,r),aa(e.a)})}function Rc(i,t){if(i.l.s)for(const e of i.l.s)p(e);t()}function m0(i){var t=Lt(0);return function(){return arguments.length===1?(be(t,p(t)+1),arguments[0]):(p(t),i())}}function _0(i,t){var o;var e=(o=i.$$events)==null?void 0:o[t.type],r=ai(e)?e.slice():e==null?[]:[e];for(var n of r)n.call(this,t)}function w0(i,t,e){var r;i.$$events||(i.$$events={}),(r=i.$$events)[t]||(r[t]=[]),i.$$events[t].push(e)}function b0(i){for(var t in i)t in this&&(this[t]=i[t])}function Ic(i,t,e){if(i==null)return t(void 0),wr;const r=et(()=>i.subscribe(t,e));return r.unsubscribe?()=>r.unsubscribe():r}function y0(i){let t;return Ic(i,e=>t=e)(),t}let vn=!1,Va=Symbol();function x0(i,t,e){const r=e[t]??(e[t]={store:null,source:To(void 0),unsubscribe:wr});if(r.store!==i&&!(Va in e))if(r.unsubscribe(),r.store=i??null,i==null)r.source.v=void 0,r.unsubscribe=wr;else{var n=!0;r.unsubscribe=Ic(i,o=>{n?r.source.v=o:be(r.source,o)}),n=!1}return i&&Va in e?y0(i):p(r.source)}function T0(i,t,e){let r=e[t];return r&&r.store!==i&&(r.unsubscribe(),r.unsubscribe=wr),i}function Oc(i,t){return i.set(t),t}function E0(i,t){var e=i[t];e.store!==null&&Oc(e.store,e.source.v)}function k0(){const i={};function t(){Qt(()=>{for(var e in i)i[e].unsubscribe();si(i,Va,{enumerable:!1,value:!0})})}return[i,t]}function S0(i,t,e){return i.set(e),t}function C0(i,t,e=1){return i.set(t+e),t}function P0(i,t,e=1){const r=t+e;return i.set(r),r}function A0(){vn=!0}function Mc(i){var t=vn;try{return vn=!1,[i(),vn]}finally{vn=t}}function R0(i,t=1){const e=i();return i(e+t),e}function I0(i,t=1){const e=i()+t;return i(e),e}const O0={get(i,t){if(!i.exclude.includes(t))return i.props[t]},set(i,t){return!1},getOwnPropertyDescriptor(i,t){if(!i.exclude.includes(t)&&t in i.props)return{enumerable:!0,configurable:!0,value:i.props[t]}},has(i,t){return i.exclude.includes(t)?!1:t in i.props},ownKeys(i){return Reflect.ownKeys(i.props).filter(t=>!i.exclude.includes(t))}};function kt(i,t,e){return new Proxy({props:i,exclude:t},O0)}const M0={get(i,t){if(!i.exclude.includes(t))return p(i.version),t in i.special?i.special[t]():i.props[t]},set(i,t,e){if(!(t in i.special)){var r=Fe;try{jt(i.parent_effect),i.special[t]=or({get[t](){return i.props[t]}},t,zs)}finally{jt(r)}}return i.special[t](e),ln(i.version),!0},getOwnPropertyDescriptor(i,t){if(!i.exclude.includes(t)&&t in i.props)return{enumerable:!0,configurable:!0,value:i.props[t]}},deleteProperty(i,t){return i.exclude.includes(t)||(i.exclude.push(t),ln(i.version)),!0},has(i,t){return i.exclude.includes(t)?!1:t in i.props},ownKeys(i){return Reflect.ownKeys(i.props).filter(t=>!i.exclude.includes(t))}};function D0(i,t){return new Proxy({props:i,exclude:t,special:{},version:Lt(0),parent_effect:Fe},M0)}const L0={get(i,t){let e=i.props.length;for(;e--;){let r=i.props[e];if(Ci(r)&&(r=r()),typeof r=="object"&&r!==null&&t in r)return r[t]}},set(i,t,e){let r=i.props.length;for(;r--;){let n=i.props[r];Ci(n)&&(n=n());const o=hr(n,t);if(o&&o.set)return o.set(e),!0}return!1},getOwnPropertyDescriptor(i,t){let e=i.props.length;for(;e--;){let r=i.props[e];if(Ci(r)&&(r=r()),typeof r=="object"&&r!==null&&t in r){const n=hr(r,t);return n&&!n.configurable&&(n.configurable=!0),n}}},has(i,t){if(t===Dt||t===fo)return!1;for(let e of i.props)if(Ci(e)&&(e=e()),e!=null&&t in e)return!0;return!1},ownKeys(i){const t=[];for(let e of i.props)if(Ci(e)&&(e=e()),!!e){for(const r in e)t.includes(r)||t.push(r);for(const r of Object.getOwnPropertySymbols(e))t.includes(r)||t.push(r)}return t}};function mn(...i){return new Proxy({props:i},L0)}function or(i,t,e,r){var S;var n=(e&kh)!==0,o=(e&Sh)!==0,a=r,s=!0,c=()=>(s&&(s=!1,a=o?et(r):r),a),l;if(n){var u=Dt in i||fo in i;l=((S=hr(i,t))==null?void 0:S.set)??(u&&t in i?P=>i[t]=P:void 0)}var h,f=!1;n?[h,f]=Mc(()=>i[t]):h=i[t],h===void 0&&r!==void 0&&(h=c(),l&&(nd(),l(h)));var v;if(v=()=>{var P=i[t];return P===void 0?c():(s=!0,P)},(e&zs)===0)return v;if(l){var _=i.$$legacy;return(function(P,k){return arguments.length>0?((!k||_||f)&&l(k?v():P),P):v()})}var d=!1,g=((e&Eh)!==0?sn:ga)(()=>(d=!1,v()));n&&p(g);var b=Fe;return(function(P,k){if(arguments.length>0){const A=k?p(g):n?wt(P):P;return be(g,A),d=!0,a!==void 0&&(a=A),P}return _i&&d||(b.f&xr)!==0?g.v:p(g)})}function z0(i,t){ht(()=>{const e=new Map,r=i(),n=ai(r)?r:r==null?[]:Array.from(r),o=n.length;for(let a=0;a<o;a++){const s=t(n[a],a);if(e.has(s)){String(e.get(s));let c=String(s);c.startsWith("[object ")&&(c=null),Xh()}e.set(s,a)}})}function H0(i,t,e,r,n,o){gl(t,()=>{var a=!1;nn==null||nn[Zt],ht(()=>{if(!a){var[s,c]=Mc(e);if(!c){var l=r(),u=!1,h=ht(()=>{u||s[l]});u=!0,h.deps===null&&(ud(),a=!0)}}})})}function N0(i){return new F0(i)}class F0{constructor(t){we(this,jr);we(this,ur);var o;var e=new Map,r=(a,s)=>{var c=To(s,!1,!1);return e.set(a,c),c};const n=new Proxy({...t.props||{},$$events:{}},{get(a,s){return p(e.get(s)??r(s,Reflect.get(a,s)))},has(a,s){return s===fo?!0:(p(e.get(s)??r(s,Reflect.get(a,s))),Reflect.has(a,s))},set(a,s,c){return be(e.get(s)??r(s,c),c),Reflect.set(a,s,c)}});ze(this,ur,(t.hydrate?ic:Sa)(t.component,{target:t.target,anchor:t.anchor,props:n,context:t.context,intro:t.intro??!1,recover:t.recover})),(!((o=t==null?void 0:t.props)!=null&&o.$$host)||t.sync===!1)&&Ft(),ze(this,jr,n.$$events);for(const a of Object.keys(R(this,ur)))a==="$set"||a==="$destroy"||a==="$on"||si(this,a,{get(){return R(this,ur)[a]},set(s){R(this,ur)[a]=s},enumerable:!0});R(this,ur).$set=a=>{Object.assign(n,a)},R(this,ur).$destroy=()=>{oc(R(this,ur))}}$set(t){R(this,ur).$set(t)}$on(t,e){R(this,jr)[t]=R(this,jr)[t]||[];const r=(...n)=>e.call(this,...n);return R(this,jr)[t].push(r),()=>{R(this,jr)[t]=R(this,jr)[t].filter(n=>n!==r)}}$destroy(){R(this,ur).$destroy()}}jr=new WeakMap,ur=new WeakMap;let Dc;typeof HTMLElement=="function"&&(Dc=class extends HTMLElement{constructor(t,e,r){super();nt(this,"$$ctor");nt(this,"$$s");nt(this,"$$c");nt(this,"$$cn",!1);nt(this,"$$d",{});nt(this,"$$r",!1);nt(this,"$$p_d",{});nt(this,"$$l",{});nt(this,"$$l_u",new Map);nt(this,"$$me");this.$$ctor=t,this.$$s=e,r&&this.attachShadow({mode:"open"})}addEventListener(t,e,r){if(this.$$l[t]=this.$$l[t]||[],this.$$l[t].push(e),this.$$c){const n=this.$$c.$on(t,e);this.$$l_u.set(e,n)}super.addEventListener(t,e,r)}removeEventListener(t,e,r){if(super.removeEventListener(t,e,r),this.$$c){const n=this.$$l_u.get(e);n&&(n(),this.$$l_u.delete(e))}}async connectedCallback(){if(this.$$cn=!0,!this.$$c){let t=function(n){return o=>{const a=document.createElement("slot");n!=="default"&&(a.name=n),x(o,a)}};if(await Promise.resolve(),!this.$$cn||this.$$c)return;const e={},r=B0(this);for(const n of this.$$s)n in r&&(n==="default"&&!this.$$d.children?(this.$$d.children=t(n),e.default=!0):e[n]=t(n));for(const n of this.attributes){const o=this.$$g_p(n.name);o in this.$$d||(this.$$d[o]=zo(o,n.value,this.$$p_d,"toProp"))}for(const n in this.$$p_d)!(n in this.$$d)&&this[n]!==void 0&&(this.$$d[n]=this[n],delete this[n]);this.$$c=N0({component:this.$$ctor,target:this.shadowRoot||this,props:{...this.$$d,$$slots:e,$$host:this}}),this.$$me=Ml(()=>{ht(()=>{var n;this.$$r=!0;for(const o of oo(this.$$c)){if(!((n=this.$$p_d[o])!=null&&n.reflect))continue;this.$$d[o]=this.$$c[o];const a=zo(o,this.$$d[o],this.$$p_d,"toAttribute");a==null?this.removeAttribute(this.$$p_d[o].attribute||o):this.setAttribute(this.$$p_d[o].attribute||o,a)}this.$$r=!1})});for(const n in this.$$l)for(const o of this.$$l[n]){const a=this.$$c.$on(n,o);this.$$l_u.set(o,a)}this.$$l={}}}attributeChangedCallback(t,e,r){var n;this.$$r||(t=this.$$g_p(t),this.$$d[t]=zo(t,r,this.$$p_d,"toProp"),(n=this.$$c)==null||n.$set({[t]:this.$$d[t]}))}disconnectedCallback(){this.$$cn=!1,Promise.resolve().then(()=>{!this.$$cn&&this.$$c&&(this.$$c.$destroy(),this.$$me(),this.$$c=void 0)})}$$g_p(t){return oo(this.$$p_d).find(e=>this.$$p_d[e].attribute===t||!this.$$p_d[e].attribute&&e.toLowerCase()===t)||t}});function zo(i,t,e,r){var o;const n=(o=e[i])==null?void 0:o.type;if(t=n==="Boolean"&&typeof t!="boolean"?t!=null:t,!r||!e[i])return t;if(r==="toAttribute")switch(n){case"Object":case"Array":return t==null?null:JSON.stringify(t);case"Boolean":return t?"":null;case"Number":return t??null;default:return t}else switch(n){case"Object":case"Array":return t&&JSON.parse(t);case"Boolean":return t;case"Number":return t!=null?+t:t;default:return t}}function B0(i){const t={};return i.childNodes.forEach(e=>{t[e.slot||"default"]=!0}),t}function Lc(i,t,e,r,n,o){let a=class extends Dc{constructor(){super(i,e,n),this.$$p_d=t}static get observedAttributes(){return oo(t).map(s=>(t[s].attribute||s).toLowerCase())}};return oo(t).forEach(s=>{si(a.prototype,s,{get(){return this.$$c&&s in this.$$c?this.$$c[s]:this.$$d[s]},set(c){var h;c=zo(s,c,t),this.$$d[s]=c;var l=this.$$c;if(l){var u=(h=hr(l,s))==null?void 0:h.get;u?l[s]=c:l.$set({[s]:c})}}})}),r.forEach(s=>{si(a.prototype,s,{get(){var c;return(c=this.$$c)==null?void 0:c[s]}})}),o&&(a=o(a)),i.element=a,a}function V0(i,...t){return et(()=>{try{let e=!1;const r=[];for(const n of t)n&&typeof n=="object"&&Dt in n?(r.push(go(n,!0)),e=!0):r.push(n);e&&(hd(i),console.log("%c[snapshot]","color: grey",...r))}catch{}}),t}const j0=Object.freeze(Object.defineProperty({__proto__:null,CLASS:Bi,FILENAME:Zt,HMR:Ns,NAMESPACE_SVG:io,STYLE:Vi,aborted:Eo,action:Ar,get active_effect(){return Fe},add_legacy_event_listener:w0,add_locations:$f,add_svelte_meta:Cd,animation:bp,append:x,append_styles:Ep,apply:wf,assign:Xf,assign_and:Yf,assign_nullish:Qf,assign_or:Kf,async:ap,async_body:jd,async_derived:vl,attach:mc,attachment:qf,attr:Pp,attribute_effect:Et,autofocus:Cl,await:lp,bind_active_element:Np,bind_buffered:Up,bind_checked:Bp,bind_content_editable:o0,bind_current_time:jp,bind_element_size:n0,bind_ended:qp,bind_files:Vp,bind_focused:s0,bind_group:Fp,bind_muted:Jp,bind_online:$p,bind_paused:Kp,bind_playback_rate:Yp,bind_played:Zp,bind_prop:e0,bind_property:a0,bind_ready_state:Xp,bind_resize_observer:i0,bind_seekable:Gp,bind_seeking:Wp,bind_select_value:Ip,bind_this:ji,bind_value:Sc,bind_volume:Qp,bind_window_scroll:l0,bind_window_size:c0,boundary:pl,bubble_event:_0,check_target:ip,child:G,cleanup_styles:Jf,clsx:Tt,comment:te,component:Fi,create_custom_element:Lc,create_ownership_validator:rp,css_props:up,deep_read:Co,deep_read_state:Ea,deferred_template_effect:sf,delegate:Qr,derived:re,derived_safe_equal:ga,get document(){return Tl},each:Ut,eager:Dd,effect:Jt,effect_root:Ml,effect_tracking:gi,element:xp,equals:Yd,event:Po,exclude_from_object:vf,fallback:zh,first_child:X,flush:Ft,for_await_track_reactivity_loss:Vd,from_html:me,from_mathml:bf,from_svg:$,from_tree:yf,get:p,head:Tp,hmr:tp,html:Cr,hydrate_template:_d,if:D,index:Ni,init:v0,init_select:Da,inspect:op,invalid_default_snippet:Bh,invalidate_inner_signals:uf,invalidate_store:E0,invoke_error_boundary:Fr,key:cp,legacy_api:np,legacy_pre_effect:nf,legacy_pre_effect_reset:of,legacy_rest_props:D0,log_if_contains_state:V0,mark_store_binding:A0,mutable_source:To,mutate:Wd,next:gt,noop:wr,once:f0,pending:Fd,pop:Je,preventDefault:g0,prevent_snippet_stringification:ac,prop:or,props_id:Ef,proxy:wt,push:Qe,raf:Pr,reactive_import:m0,remove_input_defaults:Do,remove_textarea_child:ef,render_effect:ht,replay_events:_f,reset:U,rest_props:kt,run:Ud,run_after_blockers:gl,safe_get:pf,sanitize_slots:gp,save:Bd,select_option:fn,self:h0,set:be,set_attribute:Ne,set_checked:Ec,set_class:He,set_custom_element_data:zp,set_default_checked:Mp,set_default_value:Dp,set_selected:kc,set_style:Ot,set_text:qe,set_value:Op,set_xlink_attribute:Lp,setup_stores:k0,sibling:ue,slot:pp,snapshot:go,snippet:xt,spread_props:mn,state:Ae,stopImmediatePropagation:p0,stopPropagation:d0,store_get:x0,store_mutate:S0,store_set:Oc,store_unsub:T0,strict_equals:Xd,tag:Ed,tag_proxy:ol,template_effect:Oe,text:mt,tick:Ta,to_array:Hh,trace:Td,track_reactivity_loss:pa,transition:yp,trusted:u0,untrack:et,update:ln,update_legacy_props:b0,update_pre:qd,update_pre_prop:I0,update_pre_store:P0,update_prop:R0,update_store:C0,user_effect:st,user_pre_effect:Il,validate_binding:H0,validate_dynamic_element_tag:Hf,validate_each_keys:z0,validate_snippet_args:sp,validate_store:Nf,validate_void_dynamic_element:zf,get window(){return ma},with_script:xf,wrap_snippet:Ff},Symbol.toStringTag,{value:"Module"})),U0="5";typeof window<"u"&&((ch=window.__svelte??(window.__svelte={})).v??(ch.v=new Set)).add(U0);const G0=`/*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scale-z:1;--tw-space-y-reverse:0;--tw-divide-y-reverse:0;--tw-border-style:solid;--tw-leading:initial;--tw-font-weight:initial;--tw-tracking:initial;--tw-ordinal:initial;--tw-slashed-zero:initial;--tw-numeric-figure:initial;--tw-numeric-spacing:initial;--tw-numeric-fraction:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-outline-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-backdrop-blur:initial;--tw-backdrop-brightness:initial;--tw-backdrop-contrast:initial;--tw-backdrop-grayscale:initial;--tw-backdrop-hue-rotate:initial;--tw-backdrop-invert:initial;--tw-backdrop-opacity:initial;--tw-backdrop-saturate:initial;--tw-backdrop-sepia:initial;--tw-duration:initial;--tw-ease:initial}}}@layer theme{:root,:host{--font-sans:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--color-red-500:oklch(63.7% .237 25.331);--color-yellow-200:oklch(94.5% .129 101.54);--color-yellow-400:oklch(85.2% .199 91.936);--color-yellow-900:oklch(42.1% .095 57.708);--color-black:#000;--color-white:#fff;--spacing:.25rem;--container-xs:20rem;--container-5xl:64rem;--text-xs:.75rem;--text-xs--line-height:calc(1/.75);--text-sm:.875rem;--text-sm--line-height:calc(1.25/.875);--text-lg:1.125rem;--text-lg--line-height:calc(1.75/1.125);--text-3xl:1.875rem;--text-3xl--line-height: 1.2 ;--text-4xl:2.25rem;--text-4xl--line-height:calc(2.5/2.25);--font-weight-normal:400;--font-weight-medium:500;--font-weight-semibold:600;--font-weight-bold:700;--tracking-wider:.05em;--leading-relaxed:1.625;--radius-md:.375rem;--radius-lg:.5rem;--radius-xl:.75rem;--drop-shadow-md:0 3px 3px #0000001f;--ease-in-out:cubic-bezier(.4,0,.2,1);--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4,0,.2,1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;-moz-tab-size:4;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){-webkit-appearance:button;-moz-appearance:button;appearance:button}::file-selector-button{-webkit-appearance:button;-moz-appearance:button;appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}*{scrollbar-width:thin;scrollbar-color:var(--fallback-bc,oklch(var(--bc)/.2))transparent}::-webkit-scrollbar{width:4px;height:4px}::-webkit-scrollbar-track{background:0 0}::-webkit-scrollbar-thumb{background-color:var(--fallback-bc,oklch(var(--bc)/.2));border-radius:9999px}::-webkit-scrollbar-thumb:hover{background-color:var(--fallback-bc,oklch(var(--bc)/.4))}::-webkit-scrollbar-corner{background:0 0}:where(:root),:root:has(input.theme-controller[value=light]:checked),[data-theme=light]{color-scheme:light;--color-base-100:oklch(100% 0 0);--color-base-200:oklch(98% 0 0);--color-base-300:oklch(95% 0 0);--color-base-content:oklch(21% .006 285.885);--color-primary:oklch(45% .24 277.023);--color-primary-content:oklch(93% .034 272.788);--color-secondary:oklch(65% .241 354.308);--color-secondary-content:oklch(94% .028 342.258);--color-accent:oklch(77% .152 181.912);--color-accent-content:oklch(38% .063 188.416);--color-neutral:oklch(14% .005 285.823);--color-neutral-content:oklch(92% .004 286.32);--color-info:oklch(74% .16 232.661);--color-info-content:oklch(29% .066 243.157);--color-success:oklch(76% .177 163.223);--color-success-content:oklch(37% .077 168.94);--color-warning:oklch(82% .189 84.429);--color-warning-content:oklch(41% .112 45.904);--color-error:oklch(71% .194 13.428);--color-error-content:oklch(27% .105 12.094);--radius-selector:.5rem;--radius-field:.25rem;--radius-box:.5rem;--size-selector:.25rem;--size-field:.25rem;--border:1px;--depth:1;--noise:0}@media(prefers-color-scheme:dark){:root:not([data-theme]){color-scheme:dark;--color-base-100:oklch(25.33% .016 252.42);--color-base-200:oklch(23.26% .014 253.1);--color-base-300:oklch(21.15% .012 254.09);--color-base-content:oklch(97.807% .029 256.847);--color-primary:oklch(58% .233 277.117);--color-primary-content:oklch(96% .018 272.314);--color-secondary:oklch(65% .241 354.308);--color-secondary-content:oklch(94% .028 342.258);--color-accent:oklch(77% .152 181.912);--color-accent-content:oklch(38% .063 188.416);--color-neutral:oklch(14% .005 285.823);--color-neutral-content:oklch(92% .004 286.32);--color-info:oklch(74% .16 232.661);--color-info-content:oklch(29% .066 243.157);--color-success:oklch(76% .177 163.223);--color-success-content:oklch(37% .077 168.94);--color-warning:oklch(82% .189 84.429);--color-warning-content:oklch(41% .112 45.904);--color-error:oklch(71% .194 13.428);--color-error-content:oklch(27% .105 12.094);--radius-selector:.5rem;--radius-field:.25rem;--radius-box:.5rem;--size-selector:.25rem;--size-field:.25rem;--border:1px;--depth:1;--noise:0}}:root:has(input.theme-controller[value=light]:checked),[data-theme=light]{color-scheme:light;--color-base-100:oklch(100% 0 0);--color-base-200:oklch(98% 0 0);--color-base-300:oklch(95% 0 0);--color-base-content:oklch(21% .006 285.885);--color-primary:oklch(45% .24 277.023);--color-primary-content:oklch(93% .034 272.788);--color-secondary:oklch(65% .241 354.308);--color-secondary-content:oklch(94% .028 342.258);--color-accent:oklch(77% .152 181.912);--color-accent-content:oklch(38% .063 188.416);--color-neutral:oklch(14% .005 285.823);--color-neutral-content:oklch(92% .004 286.32);--color-info:oklch(74% .16 232.661);--color-info-content:oklch(29% .066 243.157);--color-success:oklch(76% .177 163.223);--color-success-content:oklch(37% .077 168.94);--color-warning:oklch(82% .189 84.429);--color-warning-content:oklch(41% .112 45.904);--color-error:oklch(71% .194 13.428);--color-error-content:oklch(27% .105 12.094);--radius-selector:.5rem;--radius-field:.25rem;--radius-box:.5rem;--size-selector:.25rem;--size-field:.25rem;--border:1px;--depth:1;--noise:0}:root:has(input.theme-controller[value=dark]:checked),[data-theme=dark]{color-scheme:dark;--color-base-100:oklch(25.33% .016 252.42);--color-base-200:oklch(23.26% .014 253.1);--color-base-300:oklch(21.15% .012 254.09);--color-base-content:oklch(97.807% .029 256.847);--color-primary:oklch(58% .233 277.117);--color-primary-content:oklch(96% .018 272.314);--color-secondary:oklch(65% .241 354.308);--color-secondary-content:oklch(94% .028 342.258);--color-accent:oklch(77% .152 181.912);--color-accent-content:oklch(38% .063 188.416);--color-neutral:oklch(14% .005 285.823);--color-neutral-content:oklch(92% .004 286.32);--color-info:oklch(74% .16 232.661);--color-info-content:oklch(29% .066 243.157);--color-success:oklch(76% .177 163.223);--color-success-content:oklch(37% .077 168.94);--color-warning:oklch(82% .189 84.429);--color-warning-content:oklch(41% .112 45.904);--color-error:oklch(71% .194 13.428);--color-error-content:oklch(27% .105 12.094);--radius-selector:.5rem;--radius-field:.25rem;--radius-box:.5rem;--size-selector:.25rem;--size-field:.25rem;--border:1px;--depth:1;--noise:0}:root:has(input.theme-controller[value=cupcake]:checked),[data-theme=cupcake]{color-scheme:light;--color-base-100:oklch(97.788% .004 56.375);--color-base-200:oklch(93.982% .007 61.449);--color-base-300:oklch(91.586% .006 53.44);--color-base-content:oklch(23.574% .066 313.189);--color-primary:oklch(85% .138 181.071);--color-primary-content:oklch(43% .078 188.216);--color-secondary:oklch(89% .061 343.231);--color-secondary-content:oklch(45% .187 3.815);--color-accent:oklch(90% .076 70.697);--color-accent-content:oklch(47% .157 37.304);--color-neutral:oklch(27% .006 286.033);--color-neutral-content:oklch(92% .004 286.32);--color-info:oklch(68% .169 237.323);--color-info-content:oklch(29% .066 243.157);--color-success:oklch(69% .17 162.48);--color-success-content:oklch(26% .051 172.552);--color-warning:oklch(79% .184 86.047);--color-warning-content:oklch(28% .066 53.813);--color-error:oklch(64% .246 16.439);--color-error-content:oklch(27% .105 12.094);--radius-selector:1rem;--radius-field:2rem;--radius-box:1rem;--size-selector:.25rem;--size-field:.25rem;--border:2px;--depth:1;--noise:0}:root:has(input.theme-controller[value=bumblebee]:checked),[data-theme=bumblebee]{color-scheme:light;--color-base-100:oklch(100% 0 0);--color-base-200:oklch(97% 0 0);--color-base-300:oklch(92% 0 0);--color-base-content:oklch(20% 0 0);--color-primary:oklch(85% .199 91.936);--color-primary-content:oklch(42% .095 57.708);--color-secondary:oklch(75% .183 55.934);--color-secondary-content:oklch(40% .123 38.172);--color-accent:oklch(0% 0 0);--color-accent-content:oklch(100% 0 0);--color-neutral:oklch(37% .01 67.558);--color-neutral-content:oklch(92% .003 48.717);--color-info:oklch(74% .16 232.661);--color-info-content:oklch(39% .09 240.876);--color-success:oklch(76% .177 163.223);--color-success-content:oklch(37% .077 168.94);--color-warning:oklch(82% .189 84.429);--color-warning-content:oklch(41% .112 45.904);--color-error:oklch(70% .191 22.216);--color-error-content:oklch(39% .141 25.723);--radius-selector:1rem;--radius-field:.5rem;--radius-box:1rem;--size-selector:.25rem;--size-field:.25rem;--border:1px;--depth:1;--noise:0}:root:has(input.theme-controller[value=emerald]:checked),[data-theme=emerald]{color-scheme:light;--color-base-100:oklch(100% 0 0);--color-base-200:oklch(93% 0 0);--color-base-300:oklch(86% 0 0);--color-base-content:oklch(35.519% .032 262.988);--color-primary:oklch(76.662% .135 153.45);--color-primary-content:oklch(33.387% .04 162.24);--color-secondary:oklch(61.302% .202 261.294);--color-secondary-content:oklch(100% 0 0);--color-accent:oklch(72.772% .149 33.2);--color-accent-content:oklch(0% 0 0);--color-neutral:oklch(35.519% .032 262.988);--color-neutral-content:oklch(98.462% .001 247.838);--color-info:oklch(72.06% .191 231.6);--color-info-content:oklch(0% 0 0);--color-success:oklch(64.8% .15 160);--color-success-content:oklch(0% 0 0);--color-warning:oklch(84.71% .199 83.87);--color-warning-content:oklch(0% 0 0);--color-error:oklch(71.76% .221 22.18);--color-error-content:oklch(0% 0 0);--radius-selector:1rem;--radius-field:.5rem;--radius-box:1rem;--size-selector:.25rem;--size-field:.25rem;--border:1px;--depth:0;--noise:0}:root:has(input.theme-controller[value=corporate]:checked),[data-theme=corporate]{color-scheme:light;--color-base-100:oklch(100% 0 0);--color-base-200:oklch(93% 0 0);--color-base-300:oklch(86% 0 0);--color-base-content:oklch(22.389% .031 278.072);--color-primary:oklch(58% .158 241.966);--color-primary-content:oklch(100% 0 0);--color-secondary:oklch(55% .046 257.417);--color-secondary-content:oklch(100% 0 0);--color-accent:oklch(60% .118 184.704);--color-accent-content:oklch(100% 0 0);--color-neutral:oklch(0% 0 0);--color-neutral-content:oklch(100% 0 0);--color-info:oklch(60% .126 221.723);--color-info-content:oklch(100% 0 0);--color-success:oklch(62% .194 149.214);--color-success-content:oklch(100% 0 0);--color-warning:oklch(85% .199 91.936);--color-warning-content:oklch(0% 0 0);--color-error:oklch(70% .191 22.216);--color-error-content:oklch(0% 0 0);--radius-selector:.25rem;--radius-field:.25rem;--radius-box:.25rem;--size-selector:.25rem;--size-field:.25rem;--border:1px;--depth:0;--noise:0}:root:has(input.theme-controller[value=synthwave]:checked),[data-theme=synthwave]{color-scheme:dark;--color-base-100:oklch(15% .09 281.288);--color-base-200:oklch(20% .09 281.288);--color-base-300:oklch(25% .09 281.288);--color-base-content:oklch(78% .115 274.713);--color-primary:oklch(71% .202 349.761);--color-primary-content:oklch(28% .109 3.907);--color-secondary:oklch(82% .111 230.318);--color-secondary-content:oklch(29% .066 243.157);--color-accent:oklch(75% .183 55.934);--color-accent-content:oklch(26% .079 36.259);--color-neutral:oklch(45% .24 277.023);--color-neutral-content:oklch(87% .065 274.039);--color-info:oklch(74% .16 232.661);--color-info-content:oklch(29% .066 243.157);--color-success:oklch(77% .152 181.912);--color-success-content:oklch(27% .046 192.524);--color-warning:oklch(90% .182 98.111);--color-warning-content:oklch(42% .095 57.708);--color-error:oklch(73.7% .121 32.639);--color-error-content:oklch(23.501% .096 290.329);--radius-selector:1rem;--radius-field:.5rem;--radius-box:1rem;--size-selector:.25rem;--size-field:.25rem;--border:1px;--depth:0;--noise:0}:root:has(input.theme-controller[value=retro]:checked),[data-theme=retro]{color-scheme:light;--color-base-100:oklch(91.637% .034 90.515);--color-base-200:oklch(88.272% .049 91.774);--color-base-300:oklch(84.133% .065 90.856);--color-base-content:oklch(41% .112 45.904);--color-primary:oklch(80% .114 19.571);--color-primary-content:oklch(39% .141 25.723);--color-secondary:oklch(92% .084 155.995);--color-secondary-content:oklch(44% .119 151.328);--color-accent:oklch(68% .162 75.834);--color-accent-content:oklch(41% .112 45.904);--color-neutral:oklch(44% .011 73.639);--color-neutral-content:oklch(86% .005 56.366);--color-info:oklch(58% .158 241.966);--color-info-content:oklch(96% .059 95.617);--color-success:oklch(51% .096 186.391);--color-success-content:oklch(96% .059 95.617);--color-warning:oklch(64% .222 41.116);--color-warning-content:oklch(96% .059 95.617);--color-error:oklch(70% .191 22.216);--color-error-content:oklch(40% .123 38.172);--radius-selector:.25rem;--radius-field:.25rem;--radius-box:.5rem;--size-selector:.25rem;--size-field:.25rem;--border:1px;--depth:0;--noise:0}:root:has(input.theme-controller[value=cyberpunk]:checked),[data-theme=cyberpunk]{color-scheme:light;--color-base-100:oklch(94.51% .179 104.32);--color-base-200:oklch(91.51% .179 104.32);--color-base-300:oklch(85.51% .179 104.32);--color-base-content:oklch(0% 0 0);--color-primary:oklch(74.22% .209 6.35);--color-primary-content:oklch(14.844% .041 6.35);--color-secondary:oklch(83.33% .184 204.72);--color-secondary-content:oklch(16.666% .036 204.72);--color-accent:oklch(71.86% .217 310.43);--color-accent-content:oklch(14.372% .043 310.43);--color-neutral:oklch(23.04% .065 269.31);--color-neutral-content:oklch(94.51% .179 104.32);--color-info:oklch(72.06% .191 231.6);--color-info-content:oklch(0% 0 0);--color-success:oklch(64.8% .15 160);--color-success-content:oklch(0% 0 0);--color-warning:oklch(84.71% .199 83.87);--color-warning-content:oklch(0% 0 0);--color-error:oklch(71.76% .221 22.18);--color-error-content:oklch(0% 0 0);--radius-selector:0rem;--radius-field:0rem;--radius-box:0rem;--size-selector:.25rem;--size-field:.25rem;--border:1px;--depth:0;--noise:0}:root:has(input.theme-controller[value=valentine]:checked),[data-theme=valentine]{color-scheme:light;--color-base-100:oklch(97% .014 343.198);--color-base-200:oklch(94% .028 342.258);--color-base-300:oklch(89% .061 343.231);--color-base-content:oklch(52% .223 3.958);--color-primary:oklch(65% .241 354.308);--color-primary-content:oklch(100% 0 0);--color-secondary:oklch(62% .265 303.9);--color-secondary-content:oklch(97% .014 308.299);--color-accent:oklch(82% .111 230.318);--color-accent-content:oklch(39% .09 240.876);--color-neutral:oklch(40% .153 2.432);--color-neutral-content:oklch(89% .061 343.231);--color-info:oklch(86% .127 207.078);--color-info-content:oklch(44% .11 240.79);--color-success:oklch(84% .143 164.978);--color-success-content:oklch(43% .095 166.913);--color-warning:oklch(75% .183 55.934);--color-warning-content:oklch(26% .079 36.259);--color-error:oklch(63% .237 25.331);--color-error-content:oklch(97% .013 17.38);--radius-selector:1rem;--radius-field:2rem;--radius-box:1rem;--size-selector:.25rem;--size-field:.25rem;--border:1px;--depth:0;--noise:0}:root:has(input.theme-controller[value=halloween]:checked),[data-theme=halloween]{color-scheme:dark;--color-base-100:oklch(21% .006 56.043);--color-base-200:oklch(14% .004 49.25);--color-base-300:oklch(0% 0 0);--color-base-content:oklch(84.955% 0 0);--color-primary:oklch(77.48% .204 60.62);--color-primary-content:oklch(19.693% .004 196.779);--color-secondary:oklch(45.98% .248 305.03);--color-secondary-content:oklch(89.196% .049 305.03);--color-accent:oklch(64.8% .223 136.073);--color-accent-content:oklch(0% 0 0);--color-neutral:oklch(24.371% .046 65.681);--color-neutral-content:oklch(84.874% .009 65.681);--color-info:oklch(54.615% .215 262.88);--color-info-content:oklch(90.923% .043 262.88);--color-success:oklch(62.705% .169 149.213);--color-success-content:oklch(12.541% .033 149.213);--color-warning:oklch(66.584% .157 58.318);--color-warning-content:oklch(13.316% .031 58.318);--color-error:oklch(65.72% .199 27.33);--color-error-content:oklch(13.144% .039 27.33);--radius-selector:1rem;--radius-field:.5rem;--radius-box:1rem;--size-selector:.25rem;--size-field:.25rem;--border:1px;--depth:1;--noise:0}:root:has(input.theme-controller[value=garden]:checked),[data-theme=garden]{color-scheme:light;--color-base-100:oklch(92.951% .002 17.197);--color-base-200:oklch(86.445% .002 17.197);--color-base-300:oklch(79.938% .001 17.197);--color-base-content:oklch(16.961% .001 17.32);--color-primary:oklch(62.45% .278 3.836);--color-primary-content:oklch(100% 0 0);--color-secondary:oklch(48.495% .11 355.095);--color-secondary-content:oklch(89.699% .022 355.095);--color-accent:oklch(56.273% .054 154.39);--color-accent-content:oklch(100% 0 0);--color-neutral:oklch(24.155% .049 89.07);--color-neutral-content:oklch(92.951% .002 17.197);--color-info:oklch(72.06% .191 231.6);--color-info-content:oklch(0% 0 0);--color-success:oklch(64.8% .15 160);--color-success-content:oklch(0% 0 0);--color-warning:oklch(84.71% .199 83.87);--color-warning-content:oklch(0% 0 0);--color-error:oklch(71.76% .221 22.18);--color-error-content:oklch(0% 0 0);--radius-selector:1rem;--radius-field:.5rem;--radius-box:1rem;--size-selector:.25rem;--size-field:.25rem;--border:1px;--depth:0;--noise:0}:root:has(input.theme-controller[value=forest]:checked),[data-theme=forest]{color-scheme:dark;--color-base-100:oklch(20.84% .008 17.911);--color-base-200:oklch(18.522% .007 17.911);--color-base-300:oklch(16.203% .007 17.911);--color-base-content:oklch(83.768% .001 17.911);--color-primary:oklch(68.628% .185 148.958);--color-primary-content:oklch(0% 0 0);--color-secondary:oklch(69.776% .135 168.327);--color-secondary-content:oklch(13.955% .027 168.327);--color-accent:oklch(70.628% .119 185.713);--color-accent-content:oklch(14.125% .023 185.713);--color-neutral:oklch(30.698% .039 171.364);--color-neutral-content:oklch(86.139% .007 171.364);--color-info:oklch(72.06% .191 231.6);--color-info-content:oklch(0% 0 0);--color-success:oklch(64.8% .15 160);--color-success-content:oklch(0% 0 0);--color-warning:oklch(84.71% .199 83.87);--color-warning-content:oklch(0% 0 0);--color-error:oklch(71.76% .221 22.18);--color-error-content:oklch(0% 0 0);--radius-selector:1rem;--radius-field:2rem;--radius-box:1rem;--size-selector:.25rem;--size-field:.25rem;--border:1px;--depth:0;--noise:0}:root:has(input.theme-controller[value=aqua]:checked),[data-theme=aqua]{color-scheme:dark;--color-base-100:oklch(37% .146 265.522);--color-base-200:oklch(28% .091 267.935);--color-base-300:oklch(22% .091 267.935);--color-base-content:oklch(90% .058 230.902);--color-primary:oklch(85.661% .144 198.645);--color-primary-content:oklch(40.124% .068 197.603);--color-secondary:oklch(60.682% .108 309.782);--color-secondary-content:oklch(96% .016 293.756);--color-accent:oklch(93.426% .102 94.555);--color-accent-content:oklch(18.685% .02 94.555);--color-neutral:oklch(27% .146 265.522);--color-neutral-content:oklch(80% .146 265.522);--color-info:oklch(54.615% .215 262.88);--color-info-content:oklch(90.923% .043 262.88);--color-success:oklch(62.705% .169 149.213);--color-success-content:oklch(12.541% .033 149.213);--color-warning:oklch(66.584% .157 58.318);--color-warning-content:oklch(27% .077 45.635);--color-error:oklch(73.95% .19 27.33);--color-error-content:oklch(14.79% .038 27.33);--radius-selector:1rem;--radius-field:.5rem;--radius-box:1rem;--size-selector:.25rem;--size-field:.25rem;--border:1px;--depth:1;--noise:0}:root:has(input.theme-controller[value=lofi]:checked),[data-theme=lofi]{color-scheme:light;--color-base-100:oklch(100% 0 0);--color-base-200:oklch(97% 0 0);--color-base-300:oklch(94% 0 0);--color-base-content:oklch(0% 0 0);--color-primary:oklch(15.906% 0 0);--color-primary-content:oklch(100% 0 0);--color-secondary:oklch(21.455% .001 17.278);--color-secondary-content:oklch(100% 0 0);--color-accent:oklch(26.861% 0 0);--color-accent-content:oklch(100% 0 0);--color-neutral:oklch(0% 0 0);--color-neutral-content:oklch(100% 0 0);--color-info:oklch(79.54% .103 205.9);--color-info-content:oklch(15.908% .02 205.9);--color-success:oklch(90.13% .153 164.14);--color-success-content:oklch(18.026% .03 164.14);--color-warning:oklch(88.37% .135 79.94);--color-warning-content:oklch(17.674% .027 79.94);--color-error:oklch(78.66% .15 28.47);--color-error-content:oklch(15.732% .03 28.47);--radius-selector:2rem;--radius-field:.25rem;--radius-box:.5rem;--size-selector:.25rem;--size-field:.25rem;--border:1px;--depth:0;--noise:0}:root:has(input.theme-controller[value=pastel]:checked),[data-theme=pastel]{color-scheme:light;--color-base-100:oklch(100% 0 0);--color-base-200:oklch(98.462% .001 247.838);--color-base-300:oklch(92.462% .001 247.838);--color-base-content:oklch(20% 0 0);--color-primary:oklch(90% .063 306.703);--color-primary-content:oklch(49% .265 301.924);--color-secondary:oklch(89% .058 10.001);--color-secondary-content:oklch(51% .222 16.935);--color-accent:oklch(90% .093 164.15);--color-accent-content:oklch(50% .118 165.612);--color-neutral:oklch(55% .046 257.417);--color-neutral-content:oklch(92% .013 255.508);--color-info:oklch(86% .127 207.078);--color-info-content:oklch(52% .105 223.128);--color-success:oklch(87% .15 154.449);--color-success-content:oklch(52% .154 150.069);--color-warning:oklch(83% .128 66.29);--color-warning-content:oklch(55% .195 38.402);--color-error:oklch(80% .114 19.571);--color-error-content:oklch(50% .213 27.518);--radius-selector:1rem;--radius-field:2rem;--radius-box:1rem;--size-selector:.25rem;--size-field:.25rem;--border:2px;--depth:0;--noise:0}:root:has(input.theme-controller[value=fantasy]:checked),[data-theme=fantasy]{color-scheme:light;--color-base-100:oklch(100% 0 0);--color-base-200:oklch(93% 0 0);--color-base-300:oklch(86% 0 0);--color-base-content:oklch(27.807% .029 256.847);--color-primary:oklch(37.45% .189 325.02);--color-primary-content:oklch(87.49% .037 325.02);--color-secondary:oklch(53.92% .162 241.36);--color-secondary-content:oklch(90.784% .032 241.36);--color-accent:oklch(75.98% .204 56.72);--color-accent-content:oklch(15.196% .04 56.72);--color-neutral:oklch(27.807% .029 256.847);--color-neutral-content:oklch(85.561% .005 256.847);--color-info:oklch(72.06% .191 231.6);--color-info-content:oklch(0% 0 0);--color-success:oklch(64.8% .15 160);--color-success-content:oklch(0% 0 0);--color-warning:oklch(84.71% .199 83.87);--color-warning-content:oklch(0% 0 0);--color-error:oklch(71.76% .221 22.18);--color-error-content:oklch(0% 0 0);--radius-selector:1rem;--radius-field:.5rem;--radius-box:1rem;--size-selector:.25rem;--size-field:.25rem;--border:1px;--depth:1;--noise:0}:root:has(input.theme-controller[value=wireframe]:checked),[data-theme=wireframe]{color-scheme:light;--color-base-100:oklch(100% 0 0);--color-base-200:oklch(97% 0 0);--color-base-300:oklch(94% 0 0);--color-base-content:oklch(20% 0 0);--color-primary:oklch(87% 0 0);--color-primary-content:oklch(26% 0 0);--color-secondary:oklch(87% 0 0);--color-secondary-content:oklch(26% 0 0);--color-accent:oklch(87% 0 0);--color-accent-content:oklch(26% 0 0);--color-neutral:oklch(87% 0 0);--color-neutral-content:oklch(26% 0 0);--color-info:oklch(44% .11 240.79);--color-info-content:oklch(90% .058 230.902);--color-success:oklch(43% .095 166.913);--color-success-content:oklch(90% .093 164.15);--color-warning:oklch(47% .137 46.201);--color-warning-content:oklch(92% .12 95.746);--color-error:oklch(44% .177 26.899);--color-error-content:oklch(88% .062 18.334);--radius-selector:0rem;--radius-field:.25rem;--radius-box:.25rem;--size-selector:.25rem;--size-field:.25rem;--border:1px;--depth:0;--noise:0}:root:has(input.theme-controller[value=black]:checked),[data-theme=black]{color-scheme:dark;--color-base-100:oklch(0% 0 0);--color-base-200:oklch(19% 0 0);--color-base-300:oklch(22% 0 0);--color-base-content:oklch(87.609% 0 0);--color-primary:oklch(35% 0 0);--color-primary-content:oklch(100% 0 0);--color-secondary:oklch(35% 0 0);--color-secondary-content:oklch(100% 0 0);--color-accent:oklch(35% 0 0);--color-accent-content:oklch(100% 0 0);--color-neutral:oklch(35% 0 0);--color-neutral-content:oklch(100% 0 0);--color-info:oklch(45.201% .313 264.052);--color-info-content:oklch(89.04% .062 264.052);--color-success:oklch(51.975% .176 142.495);--color-success-content:oklch(90.395% .035 142.495);--color-warning:oklch(96.798% .211 109.769);--color-warning-content:oklch(19.359% .042 109.769);--color-error:oklch(62.795% .257 29.233);--color-error-content:oklch(12.559% .051 29.233);--radius-selector:0rem;--radius-field:0rem;--radius-box:0rem;--size-selector:.25rem;--size-field:.25rem;--border:1px;--depth:0;--noise:0}:root:has(input.theme-controller[value=luxury]:checked),[data-theme=luxury]{color-scheme:dark;--color-base-100:oklch(14.076% .004 285.822);--color-base-200:oklch(20.219% .004 308.229);--color-base-300:oklch(23.219% .004 308.229);--color-base-content:oklch(75.687% .123 76.89);--color-primary:oklch(100% 0 0);--color-primary-content:oklch(20% 0 0);--color-secondary:oklch(27.581% .064 261.069);--color-secondary-content:oklch(85.516% .012 261.069);--color-accent:oklch(36.674% .051 338.825);--color-accent-content:oklch(87.334% .01 338.825);--color-neutral:oklch(24.27% .057 59.825);--color-neutral-content:oklch(93.203% .089 90.861);--color-info:oklch(79.061% .121 237.133);--color-info-content:oklch(15.812% .024 237.133);--color-success:oklch(78.119% .192 132.154);--color-success-content:oklch(15.623% .038 132.154);--color-warning:oklch(86.127% .136 102.891);--color-warning-content:oklch(17.225% .027 102.891);--color-error:oklch(71.753% .176 22.568);--color-error-content:oklch(14.35% .035 22.568);--radius-selector:1rem;--radius-field:.5rem;--radius-box:1rem;--size-selector:.25rem;--size-field:.25rem;--border:1px;--depth:1;--noise:0}:root:has(input.theme-controller[value=dracula]:checked),[data-theme=dracula]{color-scheme:dark;--color-base-100:oklch(28.822% .022 277.508);--color-base-200:oklch(26.805% .02 277.508);--color-base-300:oklch(24.787% .019 277.508);--color-base-content:oklch(97.747% .007 106.545);--color-primary:oklch(75.461% .183 346.812);--color-primary-content:oklch(15.092% .036 346.812);--color-secondary:oklch(74.202% .148 301.883);--color-secondary-content:oklch(14.84% .029 301.883);--color-accent:oklch(83.392% .124 66.558);--color-accent-content:oklch(16.678% .024 66.558);--color-neutral:oklch(39.445% .032 275.524);--color-neutral-content:oklch(87.889% .006 275.524);--color-info:oklch(88.263% .093 212.846);--color-info-content:oklch(17.652% .018 212.846);--color-success:oklch(87.099% .219 148.024);--color-success-content:oklch(17.419% .043 148.024);--color-warning:oklch(95.533% .134 112.757);--color-warning-content:oklch(19.106% .026 112.757);--color-error:oklch(68.22% .206 24.43);--color-error-content:oklch(13.644% .041 24.43);--radius-selector:1rem;--radius-field:.5rem;--radius-box:1rem;--size-selector:.25rem;--size-field:.25rem;--border:1px;--depth:0;--noise:0}:root:has(input.theme-controller[value=cmyk]:checked),[data-theme=cmyk]{color-scheme:light;--color-base-100:oklch(100% 0 0);--color-base-200:oklch(95% 0 0);--color-base-300:oklch(90% 0 0);--color-base-content:oklch(20% 0 0);--color-primary:oklch(71.772% .133 239.443);--color-primary-content:oklch(14.354% .026 239.443);--color-secondary:oklch(64.476% .202 359.339);--color-secondary-content:oklch(12.895% .04 359.339);--color-accent:oklch(94.228% .189 105.306);--color-accent-content:oklch(18.845% .037 105.306);--color-neutral:oklch(21.778% 0 0);--color-neutral-content:oklch(84.355% 0 0);--color-info:oklch(68.475% .094 217.284);--color-info-content:oklch(13.695% .018 217.284);--color-success:oklch(46.949% .162 321.406);--color-success-content:oklch(89.389% .032 321.406);--color-warning:oklch(71.236% .159 52.023);--color-warning-content:oklch(14.247% .031 52.023);--color-error:oklch(62.013% .208 28.717);--color-error-content:oklch(12.402% .041 28.717);--radius-selector:1rem;--radius-field:.5rem;--radius-box:1rem;--size-selector:.25rem;--size-field:.25rem;--border:1px;--depth:0;--noise:0}:root:has(input.theme-controller[value=autumn]:checked),[data-theme=autumn]{color-scheme:light;--color-base-100:oklch(95.814% 0 0);--color-base-200:oklch(89.107% 0 0);--color-base-300:oklch(82.4% 0 0);--color-base-content:oklch(19.162% 0 0);--color-primary:oklch(40.723% .161 17.53);--color-primary-content:oklch(88.144% .032 17.53);--color-secondary:oklch(61.676% .169 23.865);--color-secondary-content:oklch(12.335% .033 23.865);--color-accent:oklch(73.425% .094 60.729);--color-accent-content:oklch(14.685% .018 60.729);--color-neutral:oklch(54.367% .037 51.902);--color-neutral-content:oklch(90.873% .007 51.902);--color-info:oklch(69.224% .097 207.284);--color-info-content:oklch(13.844% .019 207.284);--color-success:oklch(60.995% .08 174.616);--color-success-content:oklch(12.199% .016 174.616);--color-warning:oklch(70.081% .164 56.844);--color-warning-content:oklch(14.016% .032 56.844);--color-error:oklch(53.07% .241 24.16);--color-error-content:oklch(90.614% .048 24.16);--radius-selector:1rem;--radius-field:.5rem;--radius-box:1rem;--size-selector:.25rem;--size-field:.25rem;--border:1px;--depth:1;--noise:0}:root:has(input.theme-controller[value=business]:checked),[data-theme=business]{color-scheme:dark;--color-base-100:oklch(24.353% 0 0);--color-base-200:oklch(22.648% 0 0);--color-base-300:oklch(20.944% 0 0);--color-base-content:oklch(84.87% 0 0);--color-primary:oklch(41.703% .099 251.473);--color-primary-content:oklch(88.34% .019 251.473);--color-secondary:oklch(64.092% .027 229.389);--color-secondary-content:oklch(12.818% .005 229.389);--color-accent:oklch(67.271% .167 35.791);--color-accent-content:oklch(13.454% .033 35.791);--color-neutral:oklch(27.441% .013 253.041);--color-neutral-content:oklch(85.488% .002 253.041);--color-info:oklch(62.616% .143 240.033);--color-info-content:oklch(12.523% .028 240.033);--color-success:oklch(70.226% .094 156.596);--color-success-content:oklch(14.045% .018 156.596);--color-warning:oklch(77.482% .115 81.519);--color-warning-content:oklch(15.496% .023 81.519);--color-error:oklch(51.61% .146 29.674);--color-error-content:oklch(90.322% .029 29.674);--radius-selector:0rem;--radius-field:.25rem;--radius-box:.25rem;--size-selector:.25rem;--size-field:.25rem;--border:1px;--depth:0;--noise:0}:root:has(input.theme-controller[value=acid]:checked),[data-theme=acid]{color-scheme:light;--color-base-100:oklch(98% 0 0);--color-base-200:oklch(95% 0 0);--color-base-300:oklch(91% 0 0);--color-base-content:oklch(0% 0 0);--color-primary:oklch(71.9% .357 330.759);--color-primary-content:oklch(14.38% .071 330.759);--color-secondary:oklch(73.37% .224 48.25);--color-secondary-content:oklch(14.674% .044 48.25);--color-accent:oklch(92.78% .264 122.962);--color-accent-content:oklch(18.556% .052 122.962);--color-neutral:oklch(21.31% .128 278.68);--color-neutral-content:oklch(84.262% .025 278.68);--color-info:oklch(60.72% .227 252.05);--color-info-content:oklch(12.144% .045 252.05);--color-success:oklch(85.72% .266 158.53);--color-success-content:oklch(17.144% .053 158.53);--color-warning:oklch(91.01% .212 100.5);--color-warning-content:oklch(18.202% .042 100.5);--color-error:oklch(64.84% .293 29.349);--color-error-content:oklch(12.968% .058 29.349);--radius-selector:1rem;--radius-field:1rem;--radius-box:1rem;--size-selector:.25rem;--size-field:.25rem;--border:1px;--depth:1;--noise:0}:root:has(input.theme-controller[value=lemonade]:checked),[data-theme=lemonade]{color-scheme:light;--color-base-100:oklch(98.71% .02 123.72);--color-base-200:oklch(91.8% .018 123.72);--color-base-300:oklch(84.89% .017 123.72);--color-base-content:oklch(19.742% .004 123.72);--color-primary:oklch(58.92% .199 134.6);--color-primary-content:oklch(11.784% .039 134.6);--color-secondary:oklch(77.75% .196 111.09);--color-secondary-content:oklch(15.55% .039 111.09);--color-accent:oklch(85.39% .201 100.73);--color-accent-content:oklch(17.078% .04 100.73);--color-neutral:oklch(30.98% .075 108.6);--color-neutral-content:oklch(86.196% .015 108.6);--color-info:oklch(86.19% .047 224.14);--color-info-content:oklch(17.238% .009 224.14);--color-success:oklch(86.19% .047 157.85);--color-success-content:oklch(17.238% .009 157.85);--color-warning:oklch(86.19% .047 102.15);--color-warning-content:oklch(17.238% .009 102.15);--color-error:oklch(86.19% .047 25.85);--color-error-content:oklch(17.238% .009 25.85);--radius-selector:1rem;--radius-field:.5rem;--radius-box:1rem;--size-selector:.25rem;--size-field:.25rem;--border:1px;--depth:0;--noise:0}:root:has(input.theme-controller[value=night]:checked),[data-theme=night]{color-scheme:dark;--color-base-100:oklch(20.768% .039 265.754);--color-base-200:oklch(19.314% .037 265.754);--color-base-300:oklch(17.86% .034 265.754);--color-base-content:oklch(84.153% .007 265.754);--color-primary:oklch(75.351% .138 232.661);--color-primary-content:oklch(15.07% .027 232.661);--color-secondary:oklch(68.011% .158 276.934);--color-secondary-content:oklch(13.602% .031 276.934);--color-accent:oklch(72.36% .176 350.048);--color-accent-content:oklch(14.472% .035 350.048);--color-neutral:oklch(27.949% .036 260.03);--color-neutral-content:oklch(85.589% .007 260.03);--color-info:oklch(68.455% .148 237.251);--color-info-content:oklch(0% 0 0);--color-success:oklch(78.452% .132 181.911);--color-success-content:oklch(15.69% .026 181.911);--color-warning:oklch(83.242% .139 82.95);--color-warning-content:oklch(16.648% .027 82.95);--color-error:oklch(71.785% .17 13.118);--color-error-content:oklch(14.357% .034 13.118);--radius-selector:1rem;--radius-field:.5rem;--radius-box:1rem;--size-selector:.25rem;--size-field:.25rem;--border:1px;--depth:0;--noise:0}:root:has(input.theme-controller[value=coffee]:checked),[data-theme=coffee]{color-scheme:dark;--color-base-100:oklch(24% .023 329.708);--color-base-200:oklch(21% .021 329.708);--color-base-300:oklch(16% .019 329.708);--color-base-content:oklch(72.354% .092 79.129);--color-primary:oklch(71.996% .123 62.756);--color-primary-content:oklch(14.399% .024 62.756);--color-secondary:oklch(34.465% .029 199.194);--color-secondary-content:oklch(86.893% .005 199.194);--color-accent:oklch(42.621% .074 224.389);--color-accent-content:oklch(88.524% .014 224.389);--color-neutral:oklch(16.51% .015 326.261);--color-neutral-content:oklch(83.302% .003 326.261);--color-info:oklch(79.49% .063 184.558);--color-info-content:oklch(15.898% .012 184.558);--color-success:oklch(74.722% .072 131.116);--color-success-content:oklch(14.944% .014 131.116);--color-warning:oklch(88.15% .14 87.722);--color-warning-content:oklch(17.63% .028 87.722);--color-error:oklch(77.318% .128 31.871);--color-error-content:oklch(15.463% .025 31.871);--radius-selector:1rem;--radius-field:.5rem;--radius-box:1rem;--size-selector:.25rem;--size-field:.25rem;--border:1px;--depth:0;--noise:0}:root:has(input.theme-controller[value=winter]:checked),[data-theme=winter]{color-scheme:light;--color-base-100:oklch(100% 0 0);--color-base-200:oklch(97.466% .011 259.822);--color-base-300:oklch(93.268% .016 262.751);--color-base-content:oklch(41.886% .053 255.824);--color-primary:oklch(56.86% .255 257.57);--color-primary-content:oklch(91.372% .051 257.57);--color-secondary:oklch(42.551% .161 282.339);--color-secondary-content:oklch(88.51% .032 282.339);--color-accent:oklch(59.939% .191 335.171);--color-accent-content:oklch(11.988% .038 335.171);--color-neutral:oklch(19.616% .063 257.651);--color-neutral-content:oklch(83.923% .012 257.651);--color-info:oklch(88.127% .085 214.515);--color-info-content:oklch(17.625% .017 214.515);--color-success:oklch(80.494% .077 197.823);--color-success-content:oklch(16.098% .015 197.823);--color-warning:oklch(89.172% .045 71.47);--color-warning-content:oklch(17.834% .009 71.47);--color-error:oklch(73.092% .11 20.076);--color-error-content:oklch(14.618% .022 20.076);--radius-selector:1rem;--radius-field:.5rem;--radius-box:1rem;--size-selector:.25rem;--size-field:.25rem;--border:1px;--depth:0;--noise:0}:root:has(input.theme-controller[value=dim]:checked),[data-theme=dim]{color-scheme:dark;--color-base-100:oklch(30.857% .023 264.149);--color-base-200:oklch(28.036% .019 264.182);--color-base-300:oklch(26.346% .018 262.177);--color-base-content:oklch(82.901% .031 222.959);--color-primary:oklch(86.133% .141 139.549);--color-primary-content:oklch(17.226% .028 139.549);--color-secondary:oklch(73.375% .165 35.353);--color-secondary-content:oklch(14.675% .033 35.353);--color-accent:oklch(74.229% .133 311.379);--color-accent-content:oklch(14.845% .026 311.379);--color-neutral:oklch(24.731% .02 264.094);--color-neutral-content:oklch(82.901% .031 222.959);--color-info:oklch(86.078% .142 206.182);--color-info-content:oklch(17.215% .028 206.182);--color-success:oklch(86.171% .142 166.534);--color-success-content:oklch(17.234% .028 166.534);--color-warning:oklch(86.163% .142 94.818);--color-warning-content:oklch(17.232% .028 94.818);--color-error:oklch(82.418% .099 33.756);--color-error-content:oklch(16.483% .019 33.756);--radius-selector:1rem;--radius-field:.5rem;--radius-box:1rem;--size-selector:.25rem;--size-field:.25rem;--border:1px;--depth:0;--noise:0}:root:has(input.theme-controller[value=nord]:checked),[data-theme=nord]{color-scheme:light;--color-base-100:oklch(95.127% .007 260.731);--color-base-200:oklch(93.299% .01 261.788);--color-base-300:oklch(89.925% .016 262.749);--color-base-content:oklch(32.437% .022 264.182);--color-primary:oklch(59.435% .077 254.027);--color-primary-content:oklch(11.887% .015 254.027);--color-secondary:oklch(69.651% .059 248.687);--color-secondary-content:oklch(13.93% .011 248.687);--color-accent:oklch(77.464% .062 217.469);--color-accent-content:oklch(15.492% .012 217.469);--color-neutral:oklch(45.229% .035 264.131);--color-neutral-content:oklch(89.925% .016 262.749);--color-info:oklch(69.207% .062 332.664);--color-info-content:oklch(13.841% .012 332.664);--color-success:oklch(76.827% .074 131.063);--color-success-content:oklch(15.365% .014 131.063);--color-warning:oklch(85.486% .089 84.093);--color-warning-content:oklch(17.097% .017 84.093);--color-error:oklch(60.61% .12 15.341);--color-error-content:oklch(12.122% .024 15.341);--radius-selector:1rem;--radius-field:.25rem;--radius-box:.5rem;--size-selector:.25rem;--size-field:.25rem;--border:1px;--depth:0;--noise:0}:root:has(input.theme-controller[value=sunset]:checked),[data-theme=sunset]{color-scheme:dark;--color-base-100:oklch(22% .019 237.69);--color-base-200:oklch(20% .019 237.69);--color-base-300:oklch(18% .019 237.69);--color-base-content:oklch(77.383% .043 245.096);--color-primary:oklch(74.703% .158 39.947);--color-primary-content:oklch(14.94% .031 39.947);--color-secondary:oklch(72.537% .177 2.72);--color-secondary-content:oklch(14.507% .035 2.72);--color-accent:oklch(71.294% .166 299.844);--color-accent-content:oklch(14.258% .033 299.844);--color-neutral:oklch(26% .019 237.69);--color-neutral-content:oklch(70% .019 237.69);--color-info:oklch(85.559% .085 206.015);--color-info-content:oklch(17.111% .017 206.015);--color-success:oklch(85.56% .085 144.778);--color-success-content:oklch(17.112% .017 144.778);--color-warning:oklch(85.569% .084 74.427);--color-warning-content:oklch(17.113% .016 74.427);--color-error:oklch(85.511% .078 16.886);--color-error-content:oklch(17.102% .015 16.886);--radius-selector:1rem;--radius-field:.5rem;--radius-box:1rem;--size-selector:.25rem;--size-field:.25rem;--border:1px;--depth:0;--noise:0}:root{--fx-noise:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cfilter id='a'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.34' numOctaves='4' stitchTiles='stitch'%3E%3C/feTurbulence%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23a)' opacity='0.2'%3E%3C/rect%3E%3C/svg%3E")}@property --radialprogress{syntax: "<percentage>"; inherits: true; initial-value: 0%;}:root:not(span){overflow:var(--page-overflow)}:root{--page-scroll-bg-on:linear-gradient(var(--root-bg),var(--root-bg))var(--root-bg)}@supports (color:color-mix(in lab,red,red)){:root{--page-scroll-bg-on:linear-gradient(var(--root-bg),var(--root-bg))color-mix(in srgb,var(--root-bg),oklch(0% 0 0) calc(var(--page-has-backdrop,0)*40%))}}:root{--page-scroll-transition-on:background-color .3s ease-out;transition:var(--page-scroll-transition);scrollbar-gutter:var(--page-scroll-gutter,unset);scrollbar-gutter:if(style(--page-has-scroll: 1): var(--page-scroll-gutter,unset); else: unset)}:root:root{background:var(--page-scroll-bg,var(--root-bg,var(--color-base-100)))}@keyframes set-page-has-scroll{0%,to{--page-has-scroll:1}}:root,[data-theme]{background-color:var(--root-bg,var(--color-base-100));color:var(--color-base-content)}:where(:root,[data-theme]){--root-bg:var(--color-base-100)}}@layer components;@layer utilities{@layer daisyui.l1.l2.l3{.diff{webkit-user-select:none;-webkit-user-select:none;user-select:none;direction:ltr;grid-template-rows:1fr 1.8rem 1fr;grid-template-columns:auto 1fr;width:100%;display:grid;position:relative;overflow:hidden;container-type:inline-size}.diff:focus-visible,.diff:has(.diff-item-1:focus-visible){outline-style:var(--tw-outline-style);outline-offset:1px;outline-width:2px;outline-color:var(--color-base-content)}.diff:focus-visible .diff-resizer{min-width:95cqi;max-width:95cqi}.diff:has(.diff-item-1:focus-visible){outline-style:var(--tw-outline-style);outline-offset:1px;outline-width:2px}.diff:has(.diff-item-1:focus-visible) .diff-resizer{min-width:5cqi;max-width:5cqi}@supports (-webkit-overflow-scrolling:touch) and (overflow:-webkit-paged-x){.diff:focus .diff-resizer{min-width:5cqi;max-width:5cqi}.diff:has(.diff-item-1:focus) .diff-resizer{min-width:95cqi;max-width:95cqi}}.modal{pointer-events:none;visibility:hidden;width:100%;max-width:none;height:100%;max-height:none;color:inherit;transition:visibility .3s allow-discrete,background-color .3s ease-out,opacity .1s ease-out;overscroll-behavior:contain;z-index:999;scrollbar-gutter:auto;background-color:#0000;place-items:center;margin:0;padding:0;display:grid;position:fixed;top:0;right:0;bottom:0;left:0;overflow:clip}.modal::backdrop{display:none}.tooltip{--tt-bg:var(--color-neutral);--tt-off: calc(100% + .5rem) ;--tt-tail: calc(100% + 1px + .25rem) ;display:inline-block;position:relative}.tooltip>.tooltip-content,.tooltip[data-tip]:before{border-radius:var(--radius-field);text-align:center;white-space:normal;max-width:20rem;color:var(--color-neutral-content);opacity:0;background-color:var(--tt-bg);pointer-events:none;z-index:2;--tw-content:attr(data-tip);content:var(--tw-content);width:max-content;padding-block:.25rem;padding-inline:.5rem;font-size:.875rem;line-height:1.25;position:absolute}.tooltip:after{opacity:0;background-color:var(--tt-bg);content:"";pointer-events:none;--mask-tooltip:url("data:image/svg+xml,%3Csvg width='10' height='4' viewBox='0 0 8 4' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0.500009 1C3.5 1 3.00001 4 5.00001 4C7 4 6.5 1 9.5 1C10 1 10 0.499897 10 0H0C-1.99338e-08 0.5 0 1 0.500009 1Z' fill='black'/%3E%3C/svg%3E%0A");width:.625rem;height:.25rem;-webkit-mask-position:-1px 0;mask-position:-1px 0;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-image:var(--mask-tooltip);mask-image:var(--mask-tooltip);display:block;position:absolute}@media(prefers-reduced-motion:no-preference){.tooltip>.tooltip-content,.tooltip[data-tip]:before,.tooltip:after{transition:opacity .2s cubic-bezier(.4,0,.2,1) 75ms,transform .2s cubic-bezier(.4,0,.2,1) 75ms}}:is(.tooltip:is([data-tip]:not([data-tip=""]),:has(.tooltip-content:not(:empty))).tooltip-open,.tooltip:is([data-tip]:not([data-tip=""]),:has(.tooltip-content:not(:empty))):hover,.tooltip:is([data-tip]:not([data-tip=""]),:has(.tooltip-content:not(:empty))):has(:focus-visible))>.tooltip-content,:is(.tooltip:is([data-tip]:not([data-tip=""]),:has(.tooltip-content:not(:empty))).tooltip-open,.tooltip:is([data-tip]:not([data-tip=""]),:has(.tooltip-content:not(:empty))):hover,.tooltip:is([data-tip]:not([data-tip=""]),:has(.tooltip-content:not(:empty))):has(:focus-visible))[data-tip]:before,:is(.tooltip:is([data-tip]:not([data-tip=""]),:has(.tooltip-content:not(:empty))).tooltip-open,.tooltip:is([data-tip]:not([data-tip=""]),:has(.tooltip-content:not(:empty))):hover,.tooltip:is([data-tip]:not([data-tip=""]),:has(.tooltip-content:not(:empty))):has(:focus-visible)):after{opacity:1;--tt-pos:0rem}@media(prefers-reduced-motion:no-preference){:is(.tooltip:is([data-tip]:not([data-tip=""]),:has(.tooltip-content:not(:empty))).tooltip-open,.tooltip:is([data-tip]:not([data-tip=""]),:has(.tooltip-content:not(:empty))):hover,.tooltip:is([data-tip]:not([data-tip=""]),:has(.tooltip-content:not(:empty))):has(:focus-visible))>.tooltip-content,:is(.tooltip:is([data-tip]:not([data-tip=""]),:has(.tooltip-content:not(:empty))).tooltip-open,.tooltip:is([data-tip]:not([data-tip=""]),:has(.tooltip-content:not(:empty))):hover,.tooltip:is([data-tip]:not([data-tip=""]),:has(.tooltip-content:not(:empty))):has(:focus-visible))[data-tip]:before,:is(.tooltip:is([data-tip]:not([data-tip=""]),:has(.tooltip-content:not(:empty))).tooltip-open,.tooltip:is([data-tip]:not([data-tip=""]),:has(.tooltip-content:not(:empty))):hover,.tooltip:is([data-tip]:not([data-tip=""]),:has(.tooltip-content:not(:empty))):has(:focus-visible)):after{transition:opacity .2s cubic-bezier(.4,0,.2,1),transform .2s cubic-bezier(.4,0,.2,1)}}.tab{cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;text-align:center;webkit-user-select:none;-webkit-user-select:none;user-select:none;flex-wrap:wrap;justify-content:center;align-items:center;display:inline-flex;position:relative}@media(hover:hover){.tab:hover{color:var(--color-base-content)}}.tab{--tab-p:.75rem;--tab-bg:var(--color-base-100);--tab-border-color:var(--color-base-300);--tab-radius-ss:0;--tab-radius-se:0;--tab-radius-es:0;--tab-radius-ee:0;--tab-order:0;--tab-radius-min:calc(.75rem - var(--border));--tab-radius-limit:min(var(--radius-field),var(--tab-radius-min));--tab-radius-grad:#0000 calc(69% - var(--border)),var(--tab-border-color)calc(69% - var(--border) + .25px),var(--tab-border-color)69%,var(--tab-bg) calc(69% + .25px) ;order:var(--tab-order);height:var(--tab-height);padding-inline:var(--tab-p);border-color:#0000;font-size:.875rem}.tab:is(input[type=radio]){min-width:fit-content}.tab:is(input[type=radio]):after{--tw-content:attr(aria-label);content:var(--tw-content)}.tab:is(label){position:relative}.tab:is(label) input{cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;opacity:0;position:absolute;top:0;right:0;bottom:0;left:0}:is(.tab:checked,.tab:is(label:has(:checked)),.tab:is(.tab-active,[aria-selected=true],[aria-current=true],[aria-current=page]))+.tab-content{display:block}.tab:not(:checked,label:has(:checked),:hover,.tab-active,[aria-selected=true],[aria-current=true],[aria-current=page]){color:var(--color-base-content)}@supports (color:color-mix(in lab,red,red)){.tab:not(:checked,label:has(:checked),:hover,.tab-active,[aria-selected=true],[aria-current=true],[aria-current=page]){color:color-mix(in oklab,var(--color-base-content)50%,transparent)}}.tab:not(input):empty{cursor:default;flex-grow:1}.tab:focus{--tw-outline-style:none;outline-style:none}@media(forced-colors:active){.tab:focus{outline-offset:2px;outline:2px solid #0000}}.tab:focus-visible,.tab:is(label:has(:checked:focus-visible)){outline-offset:-5px;outline:2px solid}.tab[disabled]{pointer-events:none;opacity:.4}.menu{--menu-active-fg:var(--color-neutral-content);--menu-active-bg:var(--color-neutral);flex-flow:column wrap;width:fit-content;padding:.5rem;font-size:.875rem;display:flex}.menu :where(li ul){white-space:nowrap;margin-inline-start:1rem;padding-inline-start:.5rem;position:relative}.menu :where(li ul):before{background-color:var(--color-base-content);opacity:.1;width:var(--border);content:"";inset-inline-start:0;position:absolute;top:.75rem;bottom:.75rem}.menu :where(li>.menu-dropdown:not(.menu-dropdown-show)){display:none}.menu :where(li:not(.menu-title)>:not(ul,details,.menu-title,.btn)),.menu :where(li:not(.menu-title)>details>summary:not(.menu-title)){border-radius:var(--radius-field);text-align:start;text-wrap:balance;-webkit-user-select:none;user-select:none;grid-auto-columns:minmax(auto,max-content) auto max-content;grid-auto-flow:column;align-content:flex-start;align-items:center;gap:.5rem;padding-block:.375rem;padding-inline:.75rem;transition-property:color,background-color,box-shadow;transition-duration:.2s;transition-timing-function:cubic-bezier(0,0,.2,1);display:grid}.menu :where(li>details>summary){--tw-outline-style:none;outline-style:none}@media(forced-colors:active){.menu :where(li>details>summary){outline-offset:2px;outline:2px solid #0000}}.menu :where(li>details>summary)::-webkit-details-marker{display:none}:is(.menu :where(li>details>summary),.menu :where(li>.menu-dropdown-toggle)):after{content:"";transform-origin:50%;pointer-events:none;justify-self:flex-end;width:.375rem;height:.375rem;transition-property:rotate,translate;transition-duration:.2s;display:block;translate:0 -1px;rotate:-135deg;box-shadow:inset 2px 2px}.menu details{interpolate-size:allow-keywords;overflow:hidden}.menu details::details-content{block-size:0}@media(prefers-reduced-motion:no-preference){.menu details::details-content{transition-behavior:allow-discrete;transition-property:block-size,content-visibility;transition-duration:.2s;transition-timing-function:cubic-bezier(0,0,.2,1)}}.menu details[open]::details-content{block-size:auto}.menu :where(li>details[open]>summary):after,.menu :where(li>.menu-dropdown-toggle.menu-dropdown-show):after{translate:0 1px;rotate:45deg}.menu :where(li:not(.menu-title,.disabled)>:not(ul,details,.menu-title),li:not(.menu-title,.disabled)>details>summary:not(.menu-title)):not(.menu-active,:active,.btn).menu-focus,.menu :where(li:not(.menu-title,.disabled)>:not(ul,details,.menu-title),li:not(.menu-title,.disabled)>details>summary:not(.menu-title)):not(.menu-active,:active,.btn):focus-visible{cursor:pointer;background-color:var(--color-base-content)}@supports (color:color-mix(in lab,red,red)){.menu :where(li:not(.menu-title,.disabled)>:not(ul,details,.menu-title),li:not(.menu-title,.disabled)>details>summary:not(.menu-title)):not(.menu-active,:active,.btn).menu-focus,.menu :where(li:not(.menu-title,.disabled)>:not(ul,details,.menu-title),li:not(.menu-title,.disabled)>details>summary:not(.menu-title)):not(.menu-active,:active,.btn):focus-visible{background-color:color-mix(in oklab,var(--color-base-content)10%,transparent)}}.menu :where(li:not(.menu-title,.disabled)>:not(ul,details,.menu-title),li:not(.menu-title,.disabled)>details>summary:not(.menu-title)):not(.menu-active,:active,.btn).menu-focus,.menu :where(li:not(.menu-title,.disabled)>:not(ul,details,.menu-title),li:not(.menu-title,.disabled)>details>summary:not(.menu-title)):not(.menu-active,:active,.btn):focus-visible{color:var(--color-base-content);--tw-outline-style:none;outline-style:none}@media(forced-colors:active){.menu :where(li:not(.menu-title,.disabled)>:not(ul,details,.menu-title),li:not(.menu-title,.disabled)>details>summary:not(.menu-title)):not(.menu-active,:active,.btn).menu-focus,.menu :where(li:not(.menu-title,.disabled)>:not(ul,details,.menu-title),li:not(.menu-title,.disabled)>details>summary:not(.menu-title)):not(.menu-active,:active,.btn):focus-visible{outline-offset:2px;outline:2px solid #0000}}.menu :where(li:not(.menu-title,.disabled)>:not(ul,details,.menu-title):not(.menu-active,:active,.btn):hover,li:not(.menu-title,.disabled)>details>summary:not(.menu-title):not(.menu-active,:active,.btn):hover){cursor:pointer;background-color:var(--color-base-content)}@supports (color:color-mix(in lab,red,red)){.menu :where(li:not(.menu-title,.disabled)>:not(ul,details,.menu-title):not(.menu-active,:active,.btn):hover,li:not(.menu-title,.disabled)>details>summary:not(.menu-title):not(.menu-active,:active,.btn):hover){background-color:color-mix(in oklab,var(--color-base-content)10%,transparent)}}.menu :where(li:not(.menu-title,.disabled)>:not(ul,details,.menu-title):not(.menu-active,:active,.btn):hover,li:not(.menu-title,.disabled)>details>summary:not(.menu-title):not(.menu-active,:active,.btn):hover){--tw-outline-style:none;outline-style:none}@media(forced-colors:active){.menu :where(li:not(.menu-title,.disabled)>:not(ul,details,.menu-title):not(.menu-active,:active,.btn):hover,li:not(.menu-title,.disabled)>details>summary:not(.menu-title):not(.menu-active,:active,.btn):hover){outline-offset:2px;outline:2px solid #0000}}.menu :where(li:not(.menu-title,.disabled)>:not(ul,details,.menu-title):not(.menu-active,:active,.btn):hover,li:not(.menu-title,.disabled)>details>summary:not(.menu-title):not(.menu-active,:active,.btn):hover){box-shadow:inset 0 1px #00000003,inset 0 -1px #ffffff03}.menu :where(li:empty){background-color:var(--color-base-content);opacity:.1;height:1px;margin:.5rem 1rem}.menu :where(li){flex-flow:column wrap;flex-shrink:0;align-items:stretch;display:flex;position:relative}.menu :where(li) .badge{justify-self:flex-end}.menu :where(li)>:not(ul,.menu-title,details,.btn):active,.menu :where(li)>:not(ul,.menu-title,details,.btn).menu-active,.menu :where(li)>details>summary:active{--tw-outline-style:none;outline-style:none}@media(forced-colors:active){.menu :where(li)>:not(ul,.menu-title,details,.btn):active,.menu :where(li)>:not(ul,.menu-title,details,.btn).menu-active,.menu :where(li)>details>summary:active{outline-offset:2px;outline:2px solid #0000}}.menu :where(li)>:not(ul,.menu-title,details,.btn):active,.menu :where(li)>:not(ul,.menu-title,details,.btn).menu-active,.menu :where(li)>details>summary:active{color:var(--menu-active-fg);background-color:var(--menu-active-bg);background-size:auto,calc(var(--noise)*100%);background-image:none,var(--fx-noise)}:is(.menu :where(li)>:not(ul,.menu-title,details,.btn):active,.menu :where(li)>:not(ul,.menu-title,details,.btn).menu-active,.menu :where(li)>details>summary:active):not(:is(.menu :where(li)>:not(ul,.menu-title,details,.btn):active,.menu :where(li)>:not(ul,.menu-title,details,.btn).menu-active,.menu :where(li)>details>summary:active):active){box-shadow:0 2px calc(var(--depth)*3px) -2px var(--menu-active-bg)}.menu :where(li).menu-disabled{pointer-events:none;color:var(--color-base-content)}@supports (color:color-mix(in lab,red,red)){.menu :where(li).menu-disabled{color:color-mix(in oklab,var(--color-base-content)20%,transparent)}}.menu .dropdown:focus-within .menu-dropdown-toggle:after{translate:0 1px;rotate:45deg}.menu .dropdown-content{margin-top:.5rem;padding:.5rem}.menu .dropdown-content:before{display:none}.dock{z-index:1;background-color:var(--color-base-100);color:currentColor;border-top:.5px solid var(--color-base-content);flex-direction:row;justify-content:space-around;align-items:center;width:100%;padding:.5rem;display:flex;position:fixed;bottom:0;left:0;right:0}@supports (color:color-mix(in lab,red,red)){.dock{border-top:.5px solid color-mix(in oklab,var(--color-base-content)5%,#0000)}}.dock{height:4rem;height:calc(4rem + env(safe-area-inset-bottom));padding-bottom:env(safe-area-inset-bottom)}.dock>*{cursor:pointer;border-radius:var(--radius-box);background-color:#0000;flex-direction:column;flex-shrink:1;flex-basis:100%;justify-content:center;align-items:center;gap:1px;max-width:8rem;height:100%;margin-bottom:.5rem;transition:opacity .2s ease-out;display:flex;position:relative}@media(hover:hover){.dock>:hover{opacity:.8}}:is(.dock>[aria-disabled=true],.dock>[disabled]),:is(.dock>[aria-disabled=true],.dock>[disabled]):hover{pointer-events:none;color:var(--color-base-content)}@supports (color:color-mix(in lab,red,red)){:is(.dock>[aria-disabled=true],.dock>[disabled]),:is(.dock>[aria-disabled=true],.dock>[disabled]):hover{color:color-mix(in oklab,var(--color-base-content)10%,transparent)}}:is(.dock>[aria-disabled=true],.dock>[disabled]),:is(.dock>[aria-disabled=true],.dock>[disabled]):hover{opacity:1}.dock>* .dock-label{font-size:.6875rem}.dock>:after{content:"";background-color:#0000;border-top:3px solid #0000;border-radius:3.40282e38px;width:1.5rem;height:.25rem;transition:background-color .1s ease-out,text-color .1s ease-out,width .1s ease-out;position:absolute;bottom:.2rem}.dropdown{position-area:var(--anchor-v,bottom)var(--anchor-h,span-right);display:inline-block;position:relative}.dropdown>:not(:has(~[class*=dropdown-content])):focus{--tw-outline-style:none;outline-style:none}@media(forced-colors:active){.dropdown>:not(:has(~[class*=dropdown-content])):focus{outline-offset:2px;outline:2px solid #0000}}.dropdown .dropdown-content{position:absolute}.dropdown.dropdown-close .dropdown-content,.dropdown:not(details,.dropdown-open,.dropdown-hover:hover,:focus-within) .dropdown-content,.dropdown.dropdown-hover:not(:hover) [tabindex]:first-child:focus:not(:focus-visible)~.dropdown-content{transform-origin:top;opacity:0;display:none;scale:95%}.dropdown[popover],.dropdown .dropdown-content{z-index:999}@media(prefers-reduced-motion:no-preference){.dropdown[popover],.dropdown .dropdown-content{transition-behavior:allow-discrete;transition-property:opacity,scale,display;transition-duration:.2s;transition-timing-function:cubic-bezier(.4,0,.2,1);animation:.2s dropdown}}@starting-style{.dropdown[popover],.dropdown .dropdown-content{opacity:0;scale:95%}}:is(.dropdown:not(.dropdown-close).dropdown-open,.dropdown:not(.dropdown-close):not(.dropdown-hover):focus,.dropdown:not(.dropdown-close):focus-within)>[tabindex]:first-child{pointer-events:none}:is(.dropdown:not(.dropdown-close).dropdown-open,.dropdown:not(.dropdown-close):not(.dropdown-hover):focus,.dropdown:not(.dropdown-close):focus-within) .dropdown-content,.dropdown:not(.dropdown-close).dropdown-hover:hover .dropdown-content{opacity:1;scale:100%}.dropdown:is(details) summary::-webkit-details-marker{display:none}.dropdown:where([popover]){background:0 0}.dropdown[popover]{color:inherit;position:fixed}@supports not (position-area:bottom){.dropdown[popover]{margin:auto}.dropdown[popover].dropdown-close{transform-origin:top;opacity:0;display:none;scale:95%}.dropdown[popover].dropdown-open:not(:popover-open){transform-origin:top;opacity:0;display:none;scale:95%}.dropdown[popover]::backdrop{background-color:oklab(0% none none/.3)}}:is(.dropdown[popover].dropdown-close,.dropdown[popover]:not(.dropdown-open,:popover-open)){transform-origin:top;opacity:0;display:none;scale:95%}:where(.btn){width:unset}.btn{cursor:pointer;text-align:center;vertical-align:middle;outline-offset:2px;webkit-user-select:none;-webkit-user-select:none;user-select:none;padding-inline:var(--btn-p);color:var(--btn-fg);--tw-prose-links:var(--btn-fg);height:var(--size);font-size:var(--fontsize,.875rem);outline-color:var(--btn-color,var(--color-base-content));background-color:var(--btn-bg);background-size:auto,calc(var(--noise)*100%);background-image:none,var(--btn-noise);border-width:var(--border);border-style:solid;border-color:var(--btn-border);text-shadow:0 .5px oklch(100% 0 0/calc(var(--depth)*.15));touch-action:manipulation;box-shadow:0 .5px 0 .5px oklch(100% 0 0/calc(var(--depth)*6%)) inset,var(--btn-shadow);--size:calc(var(--size-field,.25rem)*10);--btn-bg:var(--btn-color,var(--color-base-200));--btn-fg:var(--color-base-content);--btn-p:1rem;--btn-border:var(--btn-bg);border-start-start-radius:var(--join-ss,var(--radius-field));border-start-end-radius:var(--join-se,var(--radius-field));border-end-end-radius:var(--join-ee,var(--radius-field));border-end-start-radius:var(--join-es,var(--radius-field));flex-wrap:nowrap;flex-shrink:0;justify-content:center;align-items:center;gap:.375rem;font-weight:600;transition-property:color,background-color,border-color,box-shadow;transition-duration:.2s;transition-timing-function:cubic-bezier(0,0,.2,1);display:inline-flex}@supports (color:color-mix(in lab,red,red)){.btn{--btn-border:color-mix(in oklab,var(--btn-bg),#000 calc(var(--depth)*5%))}}.btn{--btn-shadow:0 3px 2px -2px var(--btn-bg),0 4px 3px -2px var(--btn-bg)}@supports (color:color-mix(in lab,red,red)){.btn{--btn-shadow:0 3px 2px -2px color-mix(in oklab,var(--btn-bg)calc(var(--depth)*30%),#0000),0 4px 3px -2px color-mix(in oklab,var(--btn-bg)calc(var(--depth)*30%),#0000)}}.btn{--btn-noise:var(--fx-noise)}@media(hover:hover){.btn:hover{--btn-bg:var(--btn-color,var(--color-base-200))}@supports (color:color-mix(in lab,red,red)){.btn:hover{--btn-bg:color-mix(in oklab,var(--btn-color,var(--color-base-200)),#000 7%)}}}.btn:focus-visible,.btn:has(:focus-visible){isolation:isolate;outline-width:2px;outline-style:solid}.btn:active:not(.btn-active){--btn-bg:var(--btn-color,var(--color-base-200));translate:0 .5px}@supports (color:color-mix(in lab,red,red)){.btn:active:not(.btn-active){--btn-bg:color-mix(in oklab,var(--btn-color,var(--color-base-200)),#000 5%)}}.btn:active:not(.btn-active){--btn-border:var(--btn-color,var(--color-base-200))}@supports (color:color-mix(in lab,red,red)){.btn:active:not(.btn-active){--btn-border:color-mix(in oklab,var(--btn-color,var(--color-base-200)),#000 7%)}}.btn:active:not(.btn-active){--btn-shadow:0 0 0 0 oklch(0% 0 0/0),0 0 0 0 oklch(0% 0 0/0)}.btn:is(input[type=checkbox],input[type=radio]){-webkit-appearance:none;-moz-appearance:none;appearance:none}.btn:is(input[type=checkbox],input[type=radio])[aria-label]:after{--tw-content:attr(aria-label);content:var(--tw-content)}.btn:where(input:checked:not(.filter .btn)){--btn-color:var(--color-primary);--btn-fg:var(--color-primary-content);isolation:isolate}.loading{pointer-events:none;aspect-ratio:1;vertical-align:middle;width:calc(var(--size-selector,.25rem)*6);background-color:currentColor;display:inline-block;-webkit-mask-image:url("data:image/svg+xml,%3Csvg width='24' height='24' stroke='black' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cg transform-origin='center'%3E%3Ccircle cx='12' cy='12' r='9.5' fill='none' stroke-width='3' stroke-linecap='round'%3E%3CanimateTransform attributeName='transform' type='rotate' from='0 12 12' to='360 12 12' dur='2s' repeatCount='indefinite'/%3E%3Canimate attributeName='stroke-dasharray' values='0,150;42,150;42,150' keyTimes='0;0.475;1' dur='1.5s' repeatCount='indefinite'/%3E%3Canimate attributeName='stroke-dashoffset' values='0;-16;-59' keyTimes='0;0.475;1' dur='1.5s' repeatCount='indefinite'/%3E%3C/circle%3E%3C/g%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg width='24' height='24' stroke='black' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cg transform-origin='center'%3E%3Ccircle cx='12' cy='12' r='9.5' fill='none' stroke-width='3' stroke-linecap='round'%3E%3CanimateTransform attributeName='transform' type='rotate' from='0 12 12' to='360 12 12' dur='2s' repeatCount='indefinite'/%3E%3Canimate attributeName='stroke-dasharray' values='0,150;42,150;42,150' keyTimes='0;0.475;1' dur='1.5s' repeatCount='indefinite'/%3E%3Canimate attributeName='stroke-dashoffset' values='0;-16;-59' keyTimes='0;0.475;1' dur='1.5s' repeatCount='indefinite'/%3E%3C/circle%3E%3C/g%3E%3C/svg%3E");-webkit-mask-position:50%;mask-position:50%;-webkit-mask-size:100%;mask-size:100%;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat}.list{flex-direction:column;font-size:.875rem;display:flex}.list .list-row{--list-grid-cols:minmax(0,auto)1fr;border-radius:var(--radius-box);word-break:break-word;grid-auto-flow:column;grid-template-columns:var(--list-grid-cols);gap:1rem;padding:1rem;display:grid;position:relative}:is(.list>:not(:last-child).list-row,.list>:not(:last-child) .list-row):after{content:"";border-bottom:var(--border)solid;inset-inline:var(--radius-box);border-color:var(--color-base-content);position:absolute;bottom:0}@supports (color:color-mix(in lab,red,red)){:is(.list>:not(:last-child).list-row,.list>:not(:last-child) .list-row):after{border-color:color-mix(in oklab,var(--color-base-content)5%,transparent)}}.toggle{border:var(--border)solid currentColor;color:var(--input-color);cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;vertical-align:middle;webkit-user-select:none;-webkit-user-select:none;user-select:none;--radius-selector-max:calc(var(--radius-selector) + var(--radius-selector) + var(--radius-selector));border-radius:calc(var(--radius-selector) + min(var(--toggle-p),var(--radius-selector-max)) + min(var(--border),var(--radius-selector-max)));padding:var(--toggle-p);flex-shrink:0;grid-template-columns:0fr 1fr 1fr;place-content:center;display:inline-grid;position:relative;box-shadow:inset 0 1px}@supports (color:color-mix(in lab,red,red)){.toggle{box-shadow:0 1px color-mix(in oklab,currentColor calc(var(--depth)*10%),#0000) inset}}.toggle{--input-color:var(--color-base-content);transition:color .3s,grid-template-columns .2s}@supports (color:color-mix(in lab,red,red)){.toggle{--input-color:color-mix(in oklab,var(--color-base-content)50%,#0000)}}.toggle{--toggle-p:calc(var(--size)*.125);--size:calc(var(--size-selector,.25rem)*6);width:calc((var(--size)*2) - (var(--border) + var(--toggle-p))*2);height:var(--size)}.toggle>*{z-index:1;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:#0000;border:none;grid-column:2/span 1;grid-row-start:1;height:100%;padding:.125rem;transition:opacity .2s,rotate .4s}.toggle>:focus{--tw-outline-style:none;outline-style:none}@media(forced-colors:active){.toggle>:focus{outline-offset:2px;outline:2px solid #0000}}.toggle>:nth-child(2){color:var(--color-base-100);rotate:none}.toggle>:nth-child(3){color:var(--color-base-100);opacity:0;rotate:-15deg}.toggle:has(:checked)>:nth-child(2){opacity:0;rotate:15deg}.toggle:has(:checked)>:nth-child(3){opacity:1;rotate:none}.toggle:before{aspect-ratio:1;border-radius:var(--radius-selector);--tw-content:"";content:var(--tw-content);height:100%;box-shadow:0 -1px oklch(0% 0 0/calc(var(--depth)*.1)) inset,0 8px 0 -4px oklch(100% 0 0/calc(var(--depth)*.1)) inset,0 1px currentColor;background-color:currentColor;grid-row-start:1;grid-column-start:2;transition:background-color .1s,translate .2s,inset-inline-start .2s;position:relative;inset-inline-start:0;translate:0}@supports (color:color-mix(in lab,red,red)){.toggle:before{box-shadow:0 -1px oklch(0% 0 0/calc(var(--depth)*.1)) inset,0 8px 0 -4px oklch(100% 0 0/calc(var(--depth)*.1)) inset,0 1px color-mix(in oklab,currentColor calc(var(--depth)*10%),#0000)}}.toggle:before{background-size:auto,calc(var(--noise)*100%);background-image:none,var(--fx-noise)}@media(forced-colors:active){.toggle:before{outline-style:var(--tw-outline-style);outline-offset:-1px;outline-width:1px}}@media print{.toggle:before{outline-offset:-1rem;outline:.25rem solid}}.toggle:focus-visible,.toggle:has(:focus-visible){outline-offset:2px;outline:2px solid}.toggle:checked,.toggle[aria-checked=true],.toggle:has(>input:checked){background-color:var(--color-base-100);--input-color:var(--color-base-content);grid-template-columns:1fr 1fr 0fr}:is(.toggle:checked,.toggle[aria-checked=true],.toggle:has(>input:checked)):before{background-color:currentColor}@starting-style{:is(.toggle:checked,.toggle[aria-checked=true],.toggle:has(>input:checked)):before{opacity:0}}.toggle:indeterminate{grid-template-columns:.5fr 1fr .5fr}.toggle:disabled{cursor:not-allowed;opacity:.3}.toggle:disabled:before{border:var(--border)solid currentColor;background-color:#0000}.input{cursor:text;border:var(--border)solid #0000;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:var(--color-base-100);vertical-align:middle;white-space:nowrap;width:clamp(3rem,20rem,100%);height:var(--size);font-size:max(var(--font-size,.875rem),.875rem);touch-action:manipulation;border-color:var(--input-color);box-shadow:0 1px var(--input-color) inset,0 -1px oklch(100% 0 0/calc(var(--depth)*.1)) inset;border-start-start-radius:var(--join-ss,var(--radius-field));border-start-end-radius:var(--join-se,var(--radius-field));border-end-end-radius:var(--join-ee,var(--radius-field));border-end-start-radius:var(--join-es,var(--radius-field));flex-shrink:1;align-items:center;gap:.5rem;padding-inline:.75rem;display:inline-flex;position:relative}@supports (color:color-mix(in lab,red,red)){.input{box-shadow:0 1px color-mix(in oklab,var(--input-color)calc(var(--depth)*10%),#0000) inset,0 -1px oklch(100% 0 0/calc(var(--depth)*.1)) inset}}.input{--size:calc(var(--size-field,.25rem)*10);--input-color:var(--color-base-content)}@supports (color:color-mix(in lab,red,red)){.input{--input-color:color-mix(in oklab,var(--color-base-content)20%,#0000)}}.input:where(input){display:inline-flex}.input :where(input){-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:#0000;border:none;width:100%;height:100%;display:inline-flex}.input :where(input):focus,.input :where(input):focus-within{--tw-outline-style:none;outline-style:none}@media(forced-colors:active){.input :where(input):focus,.input :where(input):focus-within{outline-offset:2px;outline:2px solid #0000}}.input :where(input[type=url]),.input :where(input[type=email]){direction:ltr}.input :where(input[type=date]){display:inline-flex}.input:focus,.input:focus-within{--input-color:var(--color-base-content);box-shadow:0 1px var(--input-color)}@supports (color:color-mix(in lab,red,red)){.input:focus,.input:focus-within{box-shadow:0 1px color-mix(in oklab,var(--input-color)calc(var(--depth)*10%),#0000)}}.input:focus,.input:focus-within{outline:2px solid var(--input-color);outline-offset:2px;isolation:isolate;z-index:1}@media(pointer:coarse){@supports (-webkit-touch-callout:none){.input:focus,.input:focus-within{--font-size:1rem}}}.input:has(>input[disabled]),.input:is(:disabled,[disabled]),fieldset:disabled .input{cursor:not-allowed;border-color:var(--color-base-200);background-color:var(--color-base-200);color:var(--color-base-content)}@supports (color:color-mix(in lab,red,red)){.input:has(>input[disabled]),.input:is(:disabled,[disabled]),fieldset:disabled .input{color:color-mix(in oklab,var(--color-base-content)40%,transparent)}}:is(.input:has(>input[disabled]),.input:is(:disabled,[disabled]),fieldset:disabled .input)::placeholder{color:var(--color-base-content)}@supports (color:color-mix(in lab,red,red)){:is(.input:has(>input[disabled]),.input:is(:disabled,[disabled]),fieldset:disabled .input)::placeholder{color:color-mix(in oklab,var(--color-base-content)20%,transparent)}}.input:has(>input[disabled]),.input:is(:disabled,[disabled]),fieldset:disabled .input{box-shadow:none}.input:has(>input[disabled])>input[disabled]{cursor:not-allowed}.input::-webkit-date-and-time-value{text-align:inherit}.input[type=number]::-webkit-inner-spin-button{margin-block:-.75rem;margin-inline-end:-.75rem}.input::-webkit-calendar-picker-indicator{position:absolute;inset-inline-end:.75em}.input:has(>input[type=date]) :where(input[type=date]){webkit-appearance:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;display:inline-flex}.input:has(>input[type=date]) input[type=date]::-webkit-calendar-picker-indicator{cursor:pointer;width:1em;height:1em;position:absolute;inset-inline-end:.75em}.indicator{width:max-content;display:inline-flex;position:relative}.indicator :where(.indicator-item){z-index:1;white-space:nowrap;top:var(--indicator-t,0);bottom:var(--indicator-b,auto);left:var(--indicator-s,auto);right:var(--indicator-e,0);translate:var(--indicator-x,50%)var(--indicator-y,-50%);position:absolute}.table{border-collapse:separate;--tw-border-spacing-x: 0rem ;--tw-border-spacing-y: 0rem ;width:100%;border-spacing:var(--tw-border-spacing-x)var(--tw-border-spacing-y);border-radius:var(--radius-box);text-align:left;font-size:.875rem;position:relative}.table:where(:dir(rtl),[dir=rtl],[dir=rtl] *){text-align:right}@media(hover:hover){:is(.table tr.row-hover,.table tr.row-hover:nth-child(2n)):hover{background-color:var(--color-base-200)}}.table :where(th,td){vertical-align:middle;padding-block:.75rem;padding-inline:1rem}.table :where(thead,tfoot){white-space:nowrap;color:var(--color-base-content)}@supports (color:color-mix(in lab,red,red)){.table :where(thead,tfoot){color:color-mix(in oklab,var(--color-base-content)60%,transparent)}}.table :where(thead,tfoot){font-size:.875rem;font-weight:600}.table :where(tfoot tr:first-child :is(td,th)){border-top:var(--border)solid var(--color-base-content)}@supports (color:color-mix(in lab,red,red)){.table :where(tfoot tr:first-child :is(td,th)){border-top:var(--border)solid color-mix(in oklch,var(--color-base-content)5%,#0000)}}.table :where(.table-pin-rows thead tr){z-index:1;background-color:var(--color-base-100);position:sticky;top:0}.table :where(.table-pin-rows tfoot tr){z-index:1;background-color:var(--color-base-100);position:sticky;bottom:0}.table :where(.table-pin-cols tr th){background-color:var(--color-base-100);position:sticky;left:0;right:0}.table :where(thead tr :is(td,th),tbody tr:not(:last-child) :is(td,th)){border-bottom:var(--border)solid var(--color-base-content)}@supports (color:color-mix(in lab,red,red)){.table :where(thead tr :is(td,th),tbody tr:not(:last-child) :is(td,th)){border-bottom:var(--border)solid color-mix(in oklch,var(--color-base-content)5%,#0000)}}.steps{counter-reset:step;grid-auto-columns:1fr;grid-auto-flow:column;display:inline-grid;overflow:auto hidden}.steps .step{text-align:center;--step-bg:var(--color-base-300);--step-fg:var(--color-base-content);grid-template-rows:40px 1fr;grid-template-columns:auto;place-items:center;min-width:4rem;display:grid}.steps .step:before{width:100%;height:.5rem;color:var(--step-bg);background-color:var(--step-bg);content:"";border:1px solid;grid-row-start:1;grid-column-start:1;margin-inline-start:-100%;top:0}.steps .step>.step-icon,.steps .step:not(:has(.step-icon)):after{--tw-content:counter(step);content:var(--tw-content);counter-increment:step;z-index:1;color:var(--step-fg);background-color:var(--step-bg);border:1px solid var(--step-bg);border-radius:3.40282e38px;grid-row-start:1;grid-column-start:1;place-self:center;place-items:center;width:2rem;height:2rem;display:grid;position:relative}.steps .step:first-child:before{--tw-content:none;content:var(--tw-content)}.steps .step[data-content]:after{--tw-content:attr(data-content);content:var(--tw-content)}.range{-webkit-appearance:none;-moz-appearance:none;appearance:none;webkit-appearance:none;--range-thumb:var(--color-base-100);--range-thumb-size:calc(var(--size-selector,.25rem)*6);--range-progress:currentColor;--range-fill:1;--range-p:.25rem;--range-bg:currentColor}@supports (color:color-mix(in lab,red,red)){.range{--range-bg:color-mix(in oklab,currentColor 10%,#0000)}}.range{cursor:pointer;vertical-align:middle;--radius-selector-max:calc(var(--radius-selector) + var(--radius-selector) + var(--radius-selector));border-radius:calc(var(--radius-selector) + min(var(--range-p),var(--radius-selector-max)));width:clamp(3rem,20rem,100%);height:var(--range-thumb-size);background-color:#0000;border:none;overflow:hidden}[dir=rtl] .range{--range-dir:-1}.range:focus{outline:none}.range:focus-visible{outline-offset:2px;outline:2px solid}.range::-webkit-slider-runnable-track{background-color:var(--range-bg);border-radius:var(--radius-selector);width:100%;height:calc(var(--range-thumb-size)*.5)}@media(forced-colors:active){.range::-webkit-slider-runnable-track{border:1px solid}.range::-moz-range-track{border:1px solid}}.range::-webkit-slider-thumb{box-sizing:border-box;border-radius:calc(var(--radius-selector) + min(var(--range-p),var(--radius-selector-max)));background-color:var(--range-thumb);height:var(--range-thumb-size);width:var(--range-thumb-size);border:var(--range-p)solid;-webkit-appearance:none;-moz-appearance:none;appearance:none;webkit-appearance:none;color:var(--range-progress);box-shadow:0 -1px oklch(0% 0 0/calc(var(--depth)*.1)) inset,0 8px 0 -4px oklch(100% 0 0/calc(var(--depth)*.1)) inset,0 1px currentColor,0 0 0 2rem var(--range-thumb) inset,calc((var(--range-dir,1)*-100rem) - (var(--range-dir,1)*var(--range-thumb-size)/2)) 0 0 calc(100rem*var(--range-fill));position:relative;top:50%;transform:translateY(-50%)}@supports (color:color-mix(in lab,red,red)){.range::-webkit-slider-thumb{box-shadow:0 -1px oklch(0% 0 0/calc(var(--depth)*.1)) inset,0 8px 0 -4px oklch(100% 0 0/calc(var(--depth)*.1)) inset,0 1px color-mix(in oklab,currentColor calc(var(--depth)*10%),#0000),0 0 0 2rem var(--range-thumb) inset,calc((var(--range-dir,1)*-100rem) - (var(--range-dir,1)*var(--range-thumb-size)/2)) 0 0 calc(100rem*var(--range-fill))}}.range::-moz-range-track{background-color:var(--range-bg);border-radius:var(--radius-selector);width:100%;height:calc(var(--range-thumb-size)*.5)}.range::-moz-range-thumb{box-sizing:border-box;border-radius:calc(var(--radius-selector) + min(var(--range-p),var(--radius-selector-max)));height:var(--range-thumb-size);width:var(--range-thumb-size);border:var(--range-p)solid;color:var(--range-progress);box-shadow:0 -1px oklch(0% 0 0/calc(var(--depth)*.1)) inset,0 8px 0 -4px oklch(100% 0 0/calc(var(--depth)*.1)) inset,0 1px currentColor,0 0 0 2rem var(--range-thumb) inset,calc((var(--range-dir,1)*-100rem) - (var(--range-dir,1)*var(--range-thumb-size)/2)) 0 0 calc(100rem*var(--range-fill));background-color:currentColor;position:relative;top:50%}@supports (color:color-mix(in lab,red,red)){.range::-moz-range-thumb{box-shadow:0 -1px oklch(0% 0 0/calc(var(--depth)*.1)) inset,0 8px 0 -4px oklch(100% 0 0/calc(var(--depth)*.1)) inset,0 1px color-mix(in oklab,currentColor calc(var(--depth)*10%),#0000),0 0 0 2rem var(--range-thumb) inset,calc((var(--range-dir,1)*-100rem) - (var(--range-dir,1)*var(--range-thumb-size)/2)) 0 0 calc(100rem*var(--range-fill))}}.range:disabled{cursor:not-allowed;opacity:.3}.select{border:var(--border)solid #0000;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:var(--color-base-100);vertical-align:middle;width:clamp(3rem,20rem,100%);height:var(--size);touch-action:manipulation;white-space:nowrap;text-overflow:ellipsis;box-shadow:0 1px var(--input-color) inset,0 -1px oklch(100% 0 0/calc(var(--depth)*.1)) inset;background-image:linear-gradient(45deg,#0000 50%,currentColor 50%),linear-gradient(135deg,currentColor 50%,#0000 50%);background-position:calc(100% - 20px) calc(1px + 50%),calc(100% - 16.1px) calc(1px + 50%);background-repeat:no-repeat;background-size:4px 4px,4px 4px;border-start-start-radius:var(--join-ss,var(--radius-field));border-start-end-radius:var(--join-se,var(--radius-field));border-end-end-radius:var(--join-ee,var(--radius-field));border-end-start-radius:var(--join-es,var(--radius-field));flex-shrink:1;align-items:center;gap:.375rem;padding-inline:.75rem 1.75rem;font-size:.875rem;display:inline-flex;position:relative;overflow:hidden}@supports (color:color-mix(in lab,red,red)){.select{box-shadow:0 1px color-mix(in oklab,var(--input-color)calc(var(--depth)*10%),#0000) inset,0 -1px oklch(100% 0 0/calc(var(--depth)*.1)) inset}}.select{border-color:var(--input-color);--input-color:var(--color-base-content)}@supports (color:color-mix(in lab,red,red)){.select{--input-color:color-mix(in oklab,var(--color-base-content)20%,#0000)}}.select{--size:calc(var(--size-field,.25rem)*10)}[dir=rtl] .select{background-position:12px calc(1px + 50%),16px calc(1px + 50%)}[dir=rtl] .select::picker(select){translate:.5rem}[dir=rtl] .select select::picker(select){translate:.5rem}.select[multiple]{background-image:none;height:auto;padding-block:.75rem;padding-inline-end:.75rem;overflow:auto}.select select{-webkit-appearance:none;-moz-appearance:none;appearance:none;width:calc(100% + 2.75rem);height:calc(100% - calc(var(--border)*2));background:inherit;border-radius:inherit;border-style:none;align-items:center;margin-inline:-.75rem -1.75rem;padding-inline:.75rem 1.75rem}.select select:focus,.select select:focus-within{--tw-outline-style:none;outline-style:none}@media(forced-colors:active){.select select:focus,.select select:focus-within{outline-offset:2px;outline:2px solid #0000}}.select select:not(:last-child){background-image:none;margin-inline-end:-1.375rem}.select:focus,.select:focus-within{--input-color:var(--color-base-content);box-shadow:0 1px var(--input-color)}@supports (color:color-mix(in lab,red,red)){.select:focus,.select:focus-within{box-shadow:0 1px color-mix(in oklab,var(--input-color)calc(var(--depth)*10%),#0000)}}.select:focus,.select:focus-within{outline:2px solid var(--input-color);outline-offset:2px;isolation:isolate;z-index:1}.select:has(>select[disabled]),.select:is(:disabled,[disabled]),fieldset:disabled .select{cursor:not-allowed;border-color:var(--color-base-200);background-color:var(--color-base-200);color:var(--color-base-content)}@supports (color:color-mix(in lab,red,red)){.select:has(>select[disabled]),.select:is(:disabled,[disabled]),fieldset:disabled .select{color:color-mix(in oklab,var(--color-base-content)40%,transparent)}}:is(.select:has(>select[disabled]),.select:is(:disabled,[disabled]),fieldset:disabled .select)::placeholder{color:var(--color-base-content)}@supports (color:color-mix(in lab,red,red)){:is(.select:has(>select[disabled]),.select:is(:disabled,[disabled]),fieldset:disabled .select)::placeholder{color:color-mix(in oklab,var(--color-base-content)20%,transparent)}}.select:has(>select[disabled])>select[disabled]{cursor:not-allowed}@supports (appearance:base-select){.select,.select select{-webkit-appearance:base-select;-moz-appearance:base-select;appearance:base-select}:is(.select,.select select)::picker(select){-webkit-appearance:base-select;-moz-appearance:base-select;appearance:base-select}}:is(.select,.select select)::picker(select){color:inherit;border:var(--border)solid var(--color-base-200);border-radius:var(--radius-box);background-color:inherit;max-height:min(24rem,70dvh);box-shadow:0 2px calc(var(--depth)*3px) -2px #0003;box-shadow:0 20px 25px -5px rgb(0 0 0/calc(var(--depth)*.1)),0 8px 10px -6px rgb(0 0 0/calc(var(--depth)*.1));margin-block:.5rem;margin-inline:.5rem;padding:.5rem;translate:-.5rem}:is(.select,.select select)::picker-icon{display:none}:is(.select,.select select) optgroup{padding-top:.5em}:is(.select,.select select) optgroup option:first-child{margin-top:.5em}:is(.select,.select select) option{border-radius:var(--radius-field);white-space:normal;padding-block:.375rem;padding-inline:.75rem;transition-property:color,background-color;transition-duration:.2s;transition-timing-function:cubic-bezier(0,0,.2,1)}:is(.select,.select select) option:not(:disabled):hover,:is(.select,.select select) option:not(:disabled):focus-visible{cursor:pointer;background-color:var(--color-base-content)}@supports (color:color-mix(in lab,red,red)){:is(.select,.select select) option:not(:disabled):hover,:is(.select,.select select) option:not(:disabled):focus-visible{background-color:color-mix(in oklab,var(--color-base-content)10%,transparent)}}:is(.select,.select select) option:not(:disabled):hover,:is(.select,.select select) option:not(:disabled):focus-visible{--tw-outline-style:none;outline-style:none}@media(forced-colors:active){:is(.select,.select select) option:not(:disabled):hover,:is(.select,.select select) option:not(:disabled):focus-visible{outline-offset:2px;outline:2px solid #0000}}:is(.select,.select select) option:not(:disabled):active{background-color:var(--color-neutral);color:var(--color-neutral-content);box-shadow:0 2px calc(var(--depth)*3px) -2px var(--color-neutral)}.checkbox{border:var(--border)solid var(--input-color,var(--color-base-content))}@supports (color:color-mix(in lab,red,red)){.checkbox{border:var(--border)solid var(--input-color,color-mix(in oklab,var(--color-base-content)20%,#0000))}}.checkbox{cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;border-radius:var(--radius-selector);vertical-align:middle;color:var(--color-base-content);box-shadow:0 1px oklch(0% 0 0/calc(var(--depth)*.1)) inset,0 0 #0000 inset,0 0 #0000;--size:calc(var(--size-selector,.25rem)*6);width:var(--size);height:var(--size);background-size:auto,calc(var(--noise)*100%);background-image:none,var(--fx-noise);flex-shrink:0;padding:.25rem;transition:background-color .2s,box-shadow .2s;display:inline-block;position:relative}.checkbox:before{--tw-content:"";content:var(--tw-content);opacity:0;clip-path:polygon(20% 100%,20% 80%,50% 80%,50% 80%,70% 80%,70% 100%);width:100%;height:100%;box-shadow:0 3px oklch(100% 0 0/calc(var(--depth)*.1)) inset;background-color:currentColor;font-size:1rem;line-height:.75;transition:clip-path .3s .1s,opacity .1s .1s,rotate .3s .1s,translate .3s .1s;display:block;rotate:45deg}.checkbox:focus-visible{outline:2px solid var(--input-color,currentColor);outline-offset:2px}.checkbox:checked,.checkbox[aria-checked=true]{background-color:var(--input-color,#0000);box-shadow:0 0 #0000 inset,0 8px 0 -4px oklch(100% 0 0/calc(var(--depth)*.1)) inset,0 1px oklch(0% 0 0/calc(var(--depth)*.1))}:is(.checkbox:checked,.checkbox[aria-checked=true]):before{clip-path:polygon(20% 100%,20% 80%,50% 80%,50% 0%,70% 0%,70% 100%);opacity:1}@media(forced-colors:active){:is(.checkbox:checked,.checkbox[aria-checked=true]):before{--tw-content:"✔︎";clip-path:none;background-color:#0000;rotate:none}}@media print{:is(.checkbox:checked,.checkbox[aria-checked=true]):before{--tw-content:"✔︎";clip-path:none;background-color:#0000;rotate:none}}.checkbox:indeterminate{background-color:var(--input-color,var(--color-base-content))}@supports (color:color-mix(in lab,red,red)){.checkbox:indeterminate{background-color:var(--input-color,color-mix(in oklab,var(--color-base-content)20%,#0000))}}.checkbox:indeterminate:before{opacity:1;clip-path:polygon(20% 100%,20% 80%,50% 80%,50% 80%,80% 80%,80% 100%);translate:0 -35%;rotate:none}.radio{cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;vertical-align:middle;border:var(--border)solid var(--input-color,currentColor);border-radius:3.40282e38px;flex-shrink:0;padding:.25rem;display:inline-block;position:relative}@supports (color:color-mix(in lab,red,red)){.radio{border:var(--border)solid var(--input-color,color-mix(in srgb,currentColor 20%,#0000))}}.radio{box-shadow:0 1px oklch(0% 0 0/calc(var(--depth)*.1)) inset;--size:calc(var(--size-selector,.25rem)*6);width:var(--size);height:var(--size);color:var(--input-color,currentColor)}.radio:before{--tw-content:"";content:var(--tw-content);background-size:auto,calc(var(--noise)*100%);background-image:none,var(--fx-noise);border-radius:3.40282e38px;width:100%;height:100%;display:block}.radio:focus-visible{outline:2px solid}.radio:checked,.radio[aria-checked=true]{background-color:var(--color-base-100);border-color:currentColor}@media(prefers-reduced-motion:no-preference){.radio:checked,.radio[aria-checked=true]{animation:.2s ease-out radio}}:is(.radio:checked,.radio[aria-checked=true]):before{box-shadow:0 -1px oklch(0% 0 0/calc(var(--depth)*.1)) inset,0 8px 0 -4px oklch(100% 0 0/calc(var(--depth)*.1)) inset,0 1px oklch(0% 0 0/calc(var(--depth)*.1));background-color:currentColor}@media(forced-colors:active){:is(.radio:checked,.radio[aria-checked=true]):before{outline-style:var(--tw-outline-style);outline-offset:-1px;outline-width:1px}}@media print{:is(.radio:checked,.radio[aria-checked=true]):before{outline-offset:-1rem;outline:.25rem solid}}.drawer{grid-auto-columns:max-content auto;width:100%;display:grid;position:relative}.card{border-radius:var(--radius-box);outline-offset:2px;outline:0 solid #0000;flex-direction:column;transition:outline .2s ease-in-out;display:flex;position:relative}.card:focus{--tw-outline-style:none;outline-style:none}@media(forced-colors:active){.card:focus{outline-offset:2px;outline:2px solid #0000}}.card:focus-visible{outline-color:currentColor}.card :where(figure:first-child){border-start-start-radius:inherit;border-start-end-radius:inherit;border-end-end-radius:unset;border-end-start-radius:unset;overflow:hidden}.card :where(figure:last-child){border-start-start-radius:unset;border-start-end-radius:unset;border-end-end-radius:inherit;border-end-start-radius:inherit;overflow:hidden}.card figure{justify-content:center;align-items:center;display:flex}.card:has(>input:is(input[type=checkbox],input[type=radio])){cursor:pointer;-webkit-user-select:none;user-select:none}.card:has(>:checked){outline:2px solid}.progress{-webkit-appearance:none;-moz-appearance:none;appearance:none;border-radius:var(--radius-box);background-color:currentColor;width:100%;height:.5rem;position:relative;overflow:hidden}@supports (color:color-mix(in lab,red,red)){.progress{background-color:color-mix(in oklab,currentcolor 20%,transparent)}}.progress{color:var(--color-base-content)}.progress:indeterminate{background-image:repeating-linear-gradient(90deg,currentColor -1% 10%,#0000 10% 90%);background-position-x:15%;background-size:200%}@media(prefers-reduced-motion:no-preference){.progress:indeterminate{animation:5s ease-in-out infinite progress}}@supports ((-moz-appearance:none)){.progress:indeterminate::-moz-progress-bar{background-color:#0000}@media(prefers-reduced-motion:no-preference){.progress:indeterminate::-moz-progress-bar{background-image:repeating-linear-gradient(90deg,currentColor -1% 10%,#0000 10% 90%);background-position-x:15%;background-size:200%;animation:5s ease-in-out infinite progress}}.progress::-moz-progress-bar{border-radius:var(--radius-box);background-color:currentColor}}@supports ((-webkit-appearance:none)){.progress::-webkit-progress-bar{border-radius:var(--radius-box);background-color:#0000}.progress::-webkit-progress-value{border-radius:var(--radius-box);background-color:currentColor}}.textarea{border:var(--border)solid #0000;-webkit-appearance:none;-moz-appearance:none;appearance:none;border-radius:var(--radius-field);background-color:var(--color-base-100);vertical-align:middle;width:clamp(3rem,20rem,100%);min-height:5rem;font-size:max(var(--font-size,.875rem),.875rem);touch-action:manipulation;border-color:var(--input-color);box-shadow:0 1px var(--input-color) inset,0 -1px oklch(100% 0 0/calc(var(--depth)*.1)) inset;flex-shrink:1;padding-block:.5rem;padding-inline:.75rem}@supports (color:color-mix(in lab,red,red)){.textarea{box-shadow:0 1px color-mix(in oklab,var(--input-color)calc(var(--depth)*10%),#0000) inset,0 -1px oklch(100% 0 0/calc(var(--depth)*.1)) inset}}.textarea{--input-color:var(--color-base-content)}@supports (color:color-mix(in lab,red,red)){.textarea{--input-color:color-mix(in oklab,var(--color-base-content)20%,#0000)}}.textarea textarea{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:#0000;border:none}.textarea textarea:focus,.textarea textarea:focus-within{--tw-outline-style:none;outline-style:none}@media(forced-colors:active){.textarea textarea:focus,.textarea textarea:focus-within{outline-offset:2px;outline:2px solid #0000}}.textarea:focus,.textarea:focus-within{--input-color:var(--color-base-content);box-shadow:0 1px var(--input-color)}@supports (color:color-mix(in lab,red,red)){.textarea:focus,.textarea:focus-within{box-shadow:0 1px color-mix(in oklab,var(--input-color)calc(var(--depth)*10%),#0000)}}.textarea:focus,.textarea:focus-within{outline:2px solid var(--input-color);outline-offset:2px;isolation:isolate}@media(pointer:coarse){@supports (-webkit-touch-callout:none){.textarea:focus,.textarea:focus-within{--font-size:1rem}}}.textarea:has(>textarea[disabled]),.textarea:is(:disabled,[disabled]){cursor:not-allowed;border-color:var(--color-base-200);background-color:var(--color-base-200);color:var(--color-base-content)}@supports (color:color-mix(in lab,red,red)){.textarea:has(>textarea[disabled]),.textarea:is(:disabled,[disabled]){color:color-mix(in oklab,var(--color-base-content)40%,transparent)}}:is(.textarea:has(>textarea[disabled]),.textarea:is(:disabled,[disabled]))::placeholder{color:var(--color-base-content)}@supports (color:color-mix(in lab,red,red)){:is(.textarea:has(>textarea[disabled]),.textarea:is(:disabled,[disabled]))::placeholder{color:color-mix(in oklab,var(--color-base-content)20%,transparent)}}.textarea:has(>textarea[disabled]),.textarea:is(:disabled,[disabled]){box-shadow:none}.textarea:has(>textarea[disabled])>textarea[disabled]{cursor:not-allowed}.modal-backdrop{color:#0000;z-index:-1;grid-row-start:1;grid-column-start:1;place-self:stretch stretch;display:grid}.modal-backdrop button{cursor:pointer}.modal-box{background-color:var(--color-base-100);border-top-left-radius:var(--modal-tl,var(--radius-box));border-top-right-radius:var(--modal-tr,var(--radius-box));border-bottom-left-radius:var(--modal-bl,var(--radius-box));border-bottom-right-radius:var(--modal-br,var(--radius-box));opacity:0;overscroll-behavior:contain;grid-row-start:1;grid-column-start:1;width:91.6667%;max-width:32rem;max-height:100vh;padding:1.5rem;transition:translate .3s ease-out,scale .3s ease-out,opacity .2s ease-out 50ms,box-shadow .3s ease-out;overflow-y:auto;scale:95%;box-shadow:0 25px 50px -12px #00000040}.divider{white-space:nowrap;height:1rem;margin:var(--divider-m,1rem 0);--divider-color:var(--color-base-content);flex-direction:row;align-self:stretch;align-items:center;display:flex}@supports (color:color-mix(in lab,red,red)){.divider{--divider-color:color-mix(in oklab,var(--color-base-content)10%,transparent)}}.divider:before,.divider:after{content:"";background-color:var(--divider-color);flex-grow:1;width:100%;height:.125rem}@media print{.divider:before,.divider:after{border:.5px solid}}.divider:not(:empty){gap:1rem}.filter{flex-wrap:wrap;display:flex}.filter input[type=radio]{width:auto}.filter input{opacity:1;transition:margin .1s,opacity .3s,padding .3s,border-width .1s;overflow:hidden;scale:1}.filter input:not(:last-child){margin-inline-end:.25rem}.filter input.filter-reset{aspect-ratio:1}.filter input.filter-reset:after{--tw-content:"×";content:var(--tw-content)}.filter:not(:has(input:checked:not(.filter-reset))) .filter-reset,.filter:not(:has(input:checked:not(.filter-reset))) input[type=reset],.filter:has(input:checked:not(.filter-reset)) input:not(:checked,.filter-reset,input[type=reset]){opacity:0;border-width:0;width:0;margin-inline:0;padding-inline:0;scale:0}.label{white-space:nowrap;color:currentColor;align-items:center;gap:.375rem;display:inline-flex}@supports (color:color-mix(in lab,red,red)){.label{color:color-mix(in oklab,currentcolor 60%,transparent)}}.label:has(input){cursor:pointer}.label:is(.input>*,.select>*){white-space:nowrap;height:calc(100% - .5rem);font-size:inherit;align-items:center;padding-inline:.75rem;display:flex}.label:is(.input>*,.select>*):first-child{border-inline-end:var(--border)solid currentColor;margin-inline:-.75rem .75rem}@supports (color:color-mix(in lab,red,red)){.label:is(.input>*,.select>*):first-child{border-inline-end:var(--border)solid color-mix(in oklab,currentColor 10%,#0000)}}.label:is(.input>*,.select>*):last-child{border-inline-start:var(--border)solid currentColor;margin-inline:.75rem -.75rem}@supports (color:color-mix(in lab,red,red)){.label:is(.input>*,.select>*):last-child{border-inline-start:var(--border)solid color-mix(in oklab,currentColor 10%,#0000)}}.modal-action{justify-content:flex-end;gap:.5rem;margin-top:1.5rem;display:flex}.status{aspect-ratio:1;border-radius:var(--radius-selector);background-color:var(--color-base-content);width:.5rem;height:.5rem;display:inline-block}@supports (color:color-mix(in lab,red,red)){.status{background-color:color-mix(in oklab,var(--color-base-content)20%,transparent)}}.status{vertical-align:middle;color:#0000004d;background-position:50%;background-repeat:no-repeat}@supports (color:color-mix(in lab,red,red)){.status{color:color-mix(in oklab,var(--color-black)30%,transparent)}}.status{background-image:radial-gradient(circle at 35% 30%,oklch(1 0 0/calc(var(--depth)*.5)),#0000);box-shadow:0 2px 3px -1px}@supports (color:color-mix(in lab,red,red)){.status{box-shadow:0 2px 3px -1px color-mix(in oklab,currentColor calc(var(--depth)*100%),#0000)}}.badge{border-radius:var(--radius-selector);vertical-align:middle;color:var(--badge-fg);border:var(--border)solid var(--badge-color,var(--color-base-200));background-size:auto,calc(var(--noise)*100%);background-image:none,var(--fx-noise);background-color:var(--badge-bg);--badge-bg:var(--badge-color,var(--color-base-100));--badge-fg:var(--color-base-content);--size:calc(var(--size-selector,.25rem)*6);width:fit-content;height:var(--size);padding-inline:calc(var(--size)/2 - var(--border));justify-content:center;align-items:center;gap:.5rem;font-size:.875rem;display:inline-flex}.tabs{--tabs-height:auto;--tabs-direction:row;--tab-height:calc(var(--size-field,.25rem)*10);height:var(--tabs-height);flex-wrap:wrap;flex-direction:var(--tabs-direction);display:flex}.footer{grid-auto-flow:row;place-items:start;gap:2.5rem 1rem;width:100%;font-size:.875rem;line-height:1.25rem;display:grid}.footer>*{place-items:start;gap:.5rem;display:grid}.footer.footer-center{text-align:center;grid-auto-flow:column dense;place-items:center}.footer.footer-center>*{place-items:center}.link{cursor:pointer;text-decoration-line:underline}.link:focus{--tw-outline-style:none;outline-style:none}@media(forced-colors:active){.link:focus{outline-offset:2px;outline:2px solid #0000}}.link:focus-visible{outline-offset:2px;outline:2px solid}.menu-title{color:var(--color-base-content);padding-block:.5rem;padding-inline:.75rem}@supports (color:color-mix(in lab,red,red)){.menu-title{color:color-mix(in oklab,var(--color-base-content)40%,transparent)}}.menu-title{font-size:.875rem;font-weight:600}.btn-error{--btn-color:var(--color-error);--btn-fg:var(--color-error-content)}.btn-primary{--btn-color:var(--color-primary);--btn-fg:var(--color-primary-content)}.btn-secondary{--btn-color:var(--color-secondary);--btn-fg:var(--color-secondary-content)}}@layer daisyui.l1.l2{.modal.modal-open,.modal[open],.modal:target,.modal-toggle:checked+.modal{pointer-events:auto;visibility:visible;opacity:1;transition:visibility 0s allow-discrete,background-color .3s ease-out,opacity .1s ease-out;background-color:#0006}:is(.modal.modal-open,.modal[open],.modal:target,.modal-toggle:checked+.modal) .modal-box{opacity:1;translate:0;scale:1}:root:has(:is(.modal.modal-open,.modal[open],.modal:target,.modal-toggle:checked+.modal)){--page-has-backdrop:1;--page-overflow:hidden;--page-scroll-bg:var(--page-scroll-bg-on);--page-scroll-gutter:stable;--page-scroll-transition:var(--page-scroll-transition-on);animation:forwards set-page-has-scroll;animation-timeline:scroll()}@starting-style{.modal.modal-open,.modal[open],.modal:target,.modal-toggle:checked+.modal{opacity:0}}.tooltip>.tooltip-content,.tooltip[data-tip]:before{transform:translate(-50%)translateY(var(--tt-pos,.25rem));inset:auto auto var(--tt-off)50%}.tooltip:after{transform:translate(-50%)translateY(var(--tt-pos,.25rem));inset:auto auto var(--tt-tail)50%}.btn:disabled:not(.btn-link,.btn-ghost){background-color:var(--color-base-content)}@supports (color:color-mix(in lab,red,red)){.btn:disabled:not(.btn-link,.btn-ghost){background-color:color-mix(in oklab,var(--color-base-content)10%,transparent)}}.btn:disabled:not(.btn-link,.btn-ghost){box-shadow:none}.btn:disabled{pointer-events:none;--btn-border:#0000;--btn-noise:none;--btn-fg:var(--color-base-content)}@supports (color:color-mix(in lab,red,red)){.btn:disabled{--btn-fg:color-mix(in oklch,var(--color-base-content)20%,#0000)}}.btn[disabled]:not(.btn-link,.btn-ghost){background-color:var(--color-base-content)}@supports (color:color-mix(in lab,red,red)){.btn[disabled]:not(.btn-link,.btn-ghost){background-color:color-mix(in oklab,var(--color-base-content)10%,transparent)}}.btn[disabled]:not(.btn-link,.btn-ghost){box-shadow:none}.btn[disabled]{pointer-events:none;--btn-border:#0000;--btn-noise:none;--btn-fg:var(--color-base-content)}@supports (color:color-mix(in lab,red,red)){.btn[disabled]{--btn-fg:color-mix(in oklch,var(--color-base-content)20%,#0000)}}.list .list-row:has(.list-col-grow:first-child){--list-grid-cols:1fr}.list .list-row:has(.list-col-grow:nth-child(2)){--list-grid-cols:minmax(0,auto)1fr}.list .list-row:has(.list-col-grow:nth-child(3)){--list-grid-cols:minmax(0,auto)minmax(0,auto)1fr}.list .list-row:has(.list-col-grow:nth-child(4)){--list-grid-cols:minmax(0,auto)minmax(0,auto)minmax(0,auto)1fr}.list .list-row:has(.list-col-grow:nth-child(5)){--list-grid-cols:minmax(0,auto)minmax(0,auto)minmax(0,auto)minmax(0,auto)1fr}.list .list-row:has(.list-col-grow:nth-child(6)){--list-grid-cols:minmax(0,auto)minmax(0,auto)minmax(0,auto)minmax(0,auto)minmax(0,auto)1fr}.list .list-row>:not(.list-col-wrap){grid-row-start:1}.steps .step-neutral+.step-neutral:before,.steps .step-neutral:after,.steps .step-neutral>.step-icon{--step-bg:var(--color-neutral);--step-fg:var(--color-neutral-content)}.steps .step-primary+.step-primary:before,.steps .step-primary:after,.steps .step-primary>.step-icon{--step-bg:var(--color-primary);--step-fg:var(--color-primary-content)}.steps .step-secondary+.step-secondary:before,.steps .step-secondary:after,.steps .step-secondary>.step-icon{--step-bg:var(--color-secondary);--step-fg:var(--color-secondary-content)}.steps .step-accent+.step-accent:before,.steps .step-accent:after,.steps .step-accent>.step-icon{--step-bg:var(--color-accent);--step-fg:var(--color-accent-content)}.steps .step-info+.step-info:before,.steps .step-info:after,.steps .step-info>.step-icon{--step-bg:var(--color-info);--step-fg:var(--color-info-content)}.steps .step-success+.step-success:before,.steps .step-success:after,.steps .step-success>.step-icon{--step-bg:var(--color-success);--step-fg:var(--color-success-content)}.steps .step-warning+.step-warning:before,.steps .step-warning:after,.steps .step-warning>.step-icon{--step-bg:var(--color-warning);--step-fg:var(--color-warning-content)}.steps .step-error+.step-error:before,.steps .step-error:after,.steps .step-error>.step-icon{--step-bg:var(--color-error);--step-fg:var(--color-error-content)}.menu-horizontal{flex-direction:row;display:inline-flex}.menu-horizontal>li:not(.menu-title)>details>ul{transform-origin:top;border-radius:var(--radius-box);background-color:var(--color-base-100);opacity:0;margin-inline-start:0;margin-top:1rem;padding-block:.5rem;padding-inline-end:.5rem;position:absolute;scale:95%;box-shadow:0 1px 3px #0000001a,0 1px 2px -1px #0000001a}@media(prefers-reduced-motion:no-preference){@starting-style{.menu-horizontal>li:not(.menu-title)>details>ul{opacity:0;scale:95%}}.menu-horizontal>li:not(.menu-title)>details>ul{transition-behavior:allow-discrete;transition-property:opacity,scale,display;transition-duration:.2s;transition-timing-function:cubic-bezier(.4,0,.2,1);animation:.2s menu}}.menu-horizontal>li:not(.menu-title)>details[open]>ul{opacity:1;scale:100%}.menu-horizontal>li>details>ul:before{--tw-content:none;content:var(--tw-content)}.checkbox:disabled,.radio:disabled{cursor:not-allowed;opacity:.2}.tooltip-bottom>.tooltip-content,.tooltip-bottom[data-tip]:before{transform:translate(-50%)translateY(var(--tt-pos,-.25rem));inset:var(--tt-off)auto auto 50%}.tooltip-bottom:after{transform:translate(-50%)translateY(var(--tt-pos,-.25rem))rotate(180deg);inset:var(--tt-tail)auto auto 50%}.dropdown-right{--anchor-h:right;--anchor-v:span-bottom}.dropdown-right .dropdown-content{transform-origin:0;inset-inline-start:100%;top:0;bottom:auto}.dropdown-left{--anchor-h:left;--anchor-v:span-bottom}.dropdown-left .dropdown-content{transform-origin:100%;inset-inline-end:100%;top:0;bottom:auto}.dropdown-end{--anchor-h:span-left}.dropdown-end :where(.dropdown-content){inset-inline-end:0;translate:0}[dir=rtl] :is(.dropdown-end :where(.dropdown-content)){translate:0}.dropdown-end.dropdown-left{--anchor-h:left;--anchor-v:span-top}.dropdown-end.dropdown-left .dropdown-content{top:auto;bottom:0}.dropdown-end.dropdown-right{--anchor-h:right;--anchor-v:span-top}.dropdown-end.dropdown-right .dropdown-content{top:auto;bottom:0}.dropdown-bottom{--anchor-v:bottom}.dropdown-bottom .dropdown-content{transform-origin:top;top:100%;bottom:auto}.input-xs{--size:calc(var(--size-field,.25rem)*6);font-size:max(var(--font-size,.6875rem),.6875rem)}.input-xs[type=number]::-webkit-inner-spin-button{margin-block:-.25rem;margin-inline-end:-.75rem}.divider-horizontal{--divider-m:0 1rem}.divider-horizontal.divider{flex-direction:column;width:1rem;height:auto}.divider-horizontal.divider:before,.divider-horizontal.divider:after{width:.125rem;height:100%}.btn-circle{width:var(--size);height:var(--size);border-radius:3.40282e38px;padding-inline:0}.btn-block{width:100%}.loading-lg{width:calc(var(--size-selector,.25rem)*7)}.loading-xs{width:calc(var(--size-selector,.25rem)*4)}.menu-md :where(li:not(.menu-title)>:not(ul,details,.menu-title)),.menu-md :where(li:not(.menu-title)>details>summary:not(.menu-title)){border-radius:var(--radius-field);padding-block:.375rem;padding-inline:.75rem;font-size:.875rem}.menu-md .menu-title{padding-block:.5rem;padding-inline:.75rem}.badge-ghost{border-color:var(--color-base-200);background-color:var(--color-base-200);color:var(--color-base-content);background-image:none}.badge-outline{color:var(--badge-color);--badge-bg:#0000;background-image:none;border-color:currentColor}.loading-spinner{-webkit-mask-image:url("data:image/svg+xml,%3Csvg width='24' height='24' stroke='black' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cg transform-origin='center'%3E%3Ccircle cx='12' cy='12' r='9.5' fill='none' stroke-width='3' stroke-linecap='round'%3E%3CanimateTransform attributeName='transform' type='rotate' from='0 12 12' to='360 12 12' dur='2s' repeatCount='indefinite'/%3E%3Canimate attributeName='stroke-dasharray' values='0,150;42,150;42,150' keyTimes='0;0.475;1' dur='1.5s' repeatCount='indefinite'/%3E%3Canimate attributeName='stroke-dashoffset' values='0;-16;-59' keyTimes='0;0.475;1' dur='1.5s' repeatCount='indefinite'/%3E%3C/circle%3E%3C/g%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg width='24' height='24' stroke='black' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cg transform-origin='center'%3E%3Ccircle cx='12' cy='12' r='9.5' fill='none' stroke-width='3' stroke-linecap='round'%3E%3CanimateTransform attributeName='transform' type='rotate' from='0 12 12' to='360 12 12' dur='2s' repeatCount='indefinite'/%3E%3Canimate attributeName='stroke-dasharray' values='0,150;42,150;42,150' keyTimes='0;0.475;1' dur='1.5s' repeatCount='indefinite'/%3E%3Canimate attributeName='stroke-dashoffset' values='0;-16;-59' keyTimes='0;0.475;1' dur='1.5s' repeatCount='indefinite'/%3E%3C/circle%3E%3C/g%3E%3C/svg%3E")}.checkbox-sm{--size:calc(var(--size-selector,.25rem)*5);padding:.1875rem}.checkbox-xs{--size:calc(var(--size-selector,.25rem)*4);padding:.125rem}.select-sm{--size:calc(var(--size-field,.25rem)*8);font-size:.75rem}.select-sm option{padding-block:.25rem;padding-inline:.625rem}.select-xs{--size:calc(var(--size-field,.25rem)*6);font-size:.6875rem}.select-xs option{padding-block:.25rem;padding-inline:.5rem}.badge-sm{--size:calc(var(--size-selector,.25rem)*5);font-size:.75rem}.textarea-xs{font-size:max(var(--font-size,.6875rem),.6875rem)}.link-primary{color:var(--color-primary)}@media(hover:hover){.link-primary:hover{color:var(--color-primary)}@supports (color:color-mix(in lab,red,red)){.link-primary:hover{color:color-mix(in oklab,var(--color-primary)80%,#000)}}}.range-accent{color:var(--color-accent);--range-thumb:var(--color-accent-content)}.range-primary{color:var(--color-primary);--range-thumb:var(--color-primary-content)}.range-secondary{color:var(--color-secondary);--range-thumb:var(--color-secondary-content)}.btn-sm{--fontsize:.75rem;--btn-p:.75rem;--size:calc(var(--size-field,.25rem)*8)}.btn-xs{--fontsize:.6875rem;--btn-p:.5rem;--size:calc(var(--size-field,.25rem)*6)}.badge-primary{--badge-color:var(--color-primary);--badge-fg:var(--color-primary-content)}.range-sm{--range-thumb-size:calc(var(--size-selector,.25rem)*5)}.range-xs{--range-thumb-size:calc(var(--size-selector,.25rem)*4)}.toggle-primary:checked,.toggle-primary[aria-checked=true]{--input-color:var(--color-primary)}.toggle-secondary:checked,.toggle-secondary[aria-checked=true]{--input-color:var(--color-secondary)}.toggle-sm[type=checkbox],.toggle-sm:has([type=checkbox]){--size:calc(var(--size-selector,.25rem)*5)}.toggle-xs[type=checkbox],.toggle-xs:has([type=checkbox]){--size:calc(var(--size-selector,.25rem)*4)}}.pointer-events-auto{pointer-events:auto}.pointer-events-none{pointer-events:none}.invisible{visibility:hidden}.visible{visibility:visible}.sr-only{clip-path:inset(50%);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.sticky{position:sticky}.inset-0{inset:calc(var(--spacing)*0)}.top-0{top:calc(var(--spacing)*0)}.top-1{top:calc(var(--spacing)*1)}.top-2{top:calc(var(--spacing)*2)}.top-4{top:calc(var(--spacing)*4)}.top-px{top:1px}.right-0{right:calc(var(--spacing)*0)}.right-1{right:calc(var(--spacing)*1)}.right-2{right:calc(var(--spacing)*2)}.right-4{right:calc(var(--spacing)*4)}.bottom-0{bottom:calc(var(--spacing)*0)}.bottom-2{bottom:calc(var(--spacing)*2)}.bottom-4{bottom:calc(var(--spacing)*4)}.left-0{left:calc(var(--spacing)*0)}.left-1\\/2{left:50%}.left-2{left:calc(var(--spacing)*2)}.isolate{isolation:isolate}.z-10{z-index:10}.z-20{z-index:20}.z-40{z-index:40}.z-50{z-index:50}.z-100{z-index:100}.z-800{z-index:800}.z-900{z-index:900}.z-999{z-index:999}.z-\\[9999\\]{z-index:9999}.col-span-2{grid-column:span 2/span 2}.container{width:100%}@media(min-width:40rem){.container{max-width:40rem}}@media(min-width:48rem){.container{max-width:48rem}}@media(min-width:64rem){.container{max-width:64rem}}@media(min-width:80rem){.container{max-width:80rem}}@media(min-width:96rem){.container{max-width:96rem}}.mx-0{margin-inline:calc(var(--spacing)*0)}.mx-1{margin-inline:calc(var(--spacing)*1)}.mx-2{margin-inline:calc(var(--spacing)*2)}.my-0{margin-block:calc(var(--spacing)*0)}.my-1{margin-block:calc(var(--spacing)*1)}.join-item:where(:not(:first-child,:disabled,[disabled],.btn-disabled)){margin-block-start:0;margin-inline-start:calc(var(--border,1px)*-1)}.join-item:where(:is(:disabled,[disabled],.btn-disabled)){border-width:var(--border,1px)0 var(--border,1px)var(--border,1px)}.mt-0\\.5{margin-top:calc(var(--spacing)*.5)}.mt-2{margin-top:calc(var(--spacing)*2)}.mt-6{margin-top:calc(var(--spacing)*6)}.mt-16{margin-top:calc(var(--spacing)*16)}.mr-1{margin-right:calc(var(--spacing)*1)}.mb-2{margin-bottom:calc(var(--spacing)*2)}.mb-4{margin-bottom:calc(var(--spacing)*4)}.mb-6{margin-bottom:calc(var(--spacing)*6)}.-ml-1{margin-left:calc(var(--spacing)*-1)}.ml-1{margin-left:calc(var(--spacing)*1)}.join{--join-ss:0;--join-se:0;--join-es:0;--join-ee:0;align-items:stretch;display:inline-flex}.join :where(.join-item){border-start-start-radius:var(--join-ss,0);border-start-end-radius:var(--join-se,0);border-end-end-radius:var(--join-ee,0);border-end-start-radius:var(--join-es,0)}.join :where(.join-item) *{--join-ss:var(--radius-field);--join-se:var(--radius-field);--join-es:var(--radius-field);--join-ee:var(--radius-field)}.join>.join-item:where(:first-child),.join :first-child:not(:last-child) :where(.join-item){--join-ss:var(--radius-field);--join-se:0;--join-es:var(--radius-field);--join-ee:0}.join>.join-item:where(:last-child),.join :last-child:not(:first-child) :where(.join-item){--join-ss:0;--join-se:var(--radius-field);--join-es:0;--join-ee:var(--radius-field)}.join>.join-item:where(:only-child),.join :only-child :where(.join-item){--join-ss:var(--radius-field);--join-se:var(--radius-field);--join-es:var(--radius-field);--join-ee:var(--radius-field)}:root .prose{--tw-prose-body:var(--color-base-content)}@supports (color:color-mix(in lab,red,red)){:root .prose{--tw-prose-body:color-mix(in oklab,var(--color-base-content)80%,#0000)}}:root .prose{--tw-prose-headings:var(--color-base-content);--tw-prose-lead:var(--color-base-content);--tw-prose-links:var(--color-base-content);--tw-prose-bold:var(--color-base-content);--tw-prose-counters:var(--color-base-content);--tw-prose-bullets:var(--color-base-content)}@supports (color:color-mix(in lab,red,red)){:root .prose{--tw-prose-bullets:color-mix(in oklab,var(--color-base-content)50%,#0000)}}:root .prose{--tw-prose-hr:var(--color-base-content)}@supports (color:color-mix(in lab,red,red)){:root .prose{--tw-prose-hr:color-mix(in oklab,var(--color-base-content)20%,#0000)}}:root .prose{--tw-prose-quotes:var(--color-base-content);--tw-prose-quote-borders:var(--color-base-content)}@supports (color:color-mix(in lab,red,red)){:root .prose{--tw-prose-quote-borders:color-mix(in oklab,var(--color-base-content)20%,#0000)}}:root .prose{--tw-prose-captions:var(--color-base-content)}@supports (color:color-mix(in lab,red,red)){:root .prose{--tw-prose-captions:color-mix(in oklab,var(--color-base-content)50%,#0000)}}:root .prose{--tw-prose-code:var(--color-base-content);--tw-prose-pre-code:var(--color-neutral-content);--tw-prose-pre-bg:var(--color-neutral);--tw-prose-th-borders:var(--color-base-content)}@supports (color:color-mix(in lab,red,red)){:root .prose{--tw-prose-th-borders:color-mix(in oklab,var(--color-base-content)50%,#0000)}}:root .prose{--tw-prose-td-borders:var(--color-base-content)}@supports (color:color-mix(in lab,red,red)){:root .prose{--tw-prose-td-borders:color-mix(in oklab,var(--color-base-content)20%,#0000)}}:root .prose{--tw-prose-kbd:var(--color-base-content)}@supports (color:color-mix(in lab,red,red)){:root .prose{--tw-prose-kbd:color-mix(in oklab,var(--color-base-content)80%,#0000)}}:root .prose :where(code):not(pre>code){background-color:var(--color-base-200);border-radius:var(--radius-selector);border:var(--border)solid var(--color-base-300);font-weight:inherit;padding-block:.2em;padding-inline:.5em}:root .prose :where(code):not(pre>code):before,:root .prose :where(code):not(pre>code):after{display:none}.block{display:block}.contents{display:contents}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline{display:inline}.table{display:table}.aspect-3\\/2{aspect-ratio:3/2}.aspect-3\\/4{aspect-ratio:3/4}.size-1{width:calc(var(--spacing)*1);height:calc(var(--spacing)*1)}.h-0{height:calc(var(--spacing)*0)}.h-1\\.5{height:calc(var(--spacing)*1.5)}.h-2{height:calc(var(--spacing)*2)}.h-3{height:calc(var(--spacing)*3)}.h-4{height:calc(var(--spacing)*4)}.h-6{height:calc(var(--spacing)*6)}.h-12{height:calc(var(--spacing)*12)}.h-16{height:calc(var(--spacing)*16)}.h-122{height:calc(var(--spacing)*122)}.h-auto{height:auto}.h-full{height:100%}.h-screen{height:100vh}.max-h-\\[40vh\\]{max-height:40vh}.max-h-\\[60vh\\]{max-height:60vh}.max-h-\\[70vh\\]{max-height:70vh}.max-h-\\[80vh\\]{max-height:80vh}.max-h-\\[calc\\(100vh-8\\.6rem\\)\\]{max-height:calc(100vh - 8.6rem)}.max-h-full{max-height:100%}.min-h-0{min-height:calc(var(--spacing)*0)}.min-h-screen{min-height:100vh}.w-0{width:calc(var(--spacing)*0)}.w-1\\.5{width:calc(var(--spacing)*1.5)}.w-1\\/2{width:50%}.w-2{width:calc(var(--spacing)*2)}.w-3{width:calc(var(--spacing)*3)}.w-6{width:calc(var(--spacing)*6)}.w-8{width:calc(var(--spacing)*8)}.w-11\\/12{width:91.6667%}.w-12{width:calc(var(--spacing)*12)}.w-16{width:calc(var(--spacing)*16)}.w-24{width:calc(var(--spacing)*24)}.w-32{width:calc(var(--spacing)*32)}.w-48{width:calc(var(--spacing)*48)}.w-56{width:calc(var(--spacing)*56)}.w-72{width:calc(var(--spacing)*72)}.w-80{width:calc(var(--spacing)*80)}.w-96{width:calc(var(--spacing)*96)}.w-\\[150px\\]{width:150px}.w-\\[200px\\]{width:200px}.w-\\[300px\\]{width:300px}.w-auto{width:auto}.w-full{width:100%}.w-px{width:1px}.max-w-5xl{max-width:var(--container-5xl)}.max-w-\\[150px\\]{max-width:150px}.max-w-\\[200px\\]{max-width:200px}.max-w-full{max-width:100%}.max-w-none{max-width:none}.max-w-xs{max-width:var(--container-xs)}.min-w-0{min-width:calc(var(--spacing)*0)}.flex-1{flex:1}.flex-none{flex:none}.shrink-0{flex-shrink:0}.origin-left{transform-origin:0}.origin-right{transform-origin:100%}.origin-top{transform-origin:top}.-translate-x-1\\/2{--tw-translate-x: -50% ;translate:var(--tw-translate-x)var(--tw-translate-y)}.-translate-x-full{--tw-translate-x:-100%;translate:var(--tw-translate-x)var(--tw-translate-y)}.translate-x-0{--tw-translate-x:calc(var(--spacing)*0);translate:var(--tw-translate-x)var(--tw-translate-y)}.translate-x-full{--tw-translate-x:100%;translate:var(--tw-translate-x)var(--tw-translate-y)}.-translate-y-full{--tw-translate-y:-100%;translate:var(--tw-translate-x)var(--tw-translate-y)}.translate-y-0{--tw-translate-y:calc(var(--spacing)*0);translate:var(--tw-translate-x)var(--tw-translate-y)}.scale-105{--tw-scale-x:105%;--tw-scale-y:105%;--tw-scale-z:105%;scale:var(--tw-scale-x)var(--tw-scale-y)}.rotate-180{rotate:180deg}.cursor-move{cursor:move}.cursor-pointer{cursor:pointer}.cursor-se-resize{cursor:se-resize}.resize{resize:both}.list-none{list-style-type:none}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.flex-col{flex-direction:column}.flex-row{flex-direction:row}.flex-row-reverse{flex-direction:row-reverse}.flex-nowrap{flex-wrap:nowrap}.flex-wrap{flex-wrap:wrap}.items-center{align-items:center}.items-end{align-items:flex-end}.items-start{align-items:flex-start}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.justify-start{justify-content:flex-start}.gap-0\\.5{gap:calc(var(--spacing)*.5)}.gap-1{gap:calc(var(--spacing)*1)}.gap-1\\.5{gap:calc(var(--spacing)*1.5)}.gap-2{gap:calc(var(--spacing)*2)}.gap-3{gap:calc(var(--spacing)*3)}.gap-4{gap:calc(var(--spacing)*4)}.gap-px{gap:1px}:where(.space-y-2>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*2)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*2)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-3>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*3)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*3)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-4>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*4)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*4)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-6>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*6)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*6)*calc(1 - var(--tw-space-y-reverse)))}:where(.divide-y>:not(:last-child)){--tw-divide-y-reverse:0;border-bottom-style:var(--tw-border-style);border-top-style:var(--tw-border-style);border-top-width:calc(1px*var(--tw-divide-y-reverse));border-bottom-width:calc(1px*calc(1 - var(--tw-divide-y-reverse)))}:where(.divide-base-300>:not(:last-child)){border-color:var(--color-base-300)}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.overflow-hidden{overflow:hidden}.overflow-visible{overflow:visible}.overflow-x-auto{overflow-x:auto}.overflow-x-hidden{overflow-x:hidden}.overflow-y-auto{overflow-y:auto}.overflow-y-hidden{overflow-y:hidden}.rounded{border-radius:.25rem}.rounded-box{border-radius:var(--radius-box)}.rounded-full{border-radius:3.40282e38px}.rounded-lg{border-radius:var(--radius-lg)}.rounded-md{border-radius:var(--radius-md)}.rounded-xl{border-radius:var(--radius-xl)}.rounded-l-none{border-top-left-radius:0;border-bottom-left-radius:0}.rounded-l-xl{border-top-left-radius:var(--radius-xl);border-bottom-left-radius:var(--radius-xl)}.rounded-r-xl{border-top-right-radius:var(--radius-xl);border-bottom-right-radius:var(--radius-xl)}.rounded-b-xl{border-bottom-right-radius:var(--radius-xl);border-bottom-left-radius:var(--radius-xl)}.border{border-style:var(--tw-border-style);border-width:1px}.border-2{border-style:var(--tw-border-style);border-width:2px}.border-4{border-style:var(--tw-border-style);border-width:4px}.border-x{border-inline-style:var(--tw-border-style);border-inline-width:1px}.border-y{border-block-style:var(--tw-border-style);border-block-width:1px}.border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.border-r{border-right-style:var(--tw-border-style);border-right-width:1px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-l{border-left-style:var(--tw-border-style);border-left-width:1px}.border-dashed{--tw-border-style:dashed;border-style:dashed}.border-base-200{border-color:var(--color-base-200)}.border-base-300,.border-base-300\\/50{border-color:var(--color-base-300)}@supports (color:color-mix(in lab,red,red)){.border-base-300\\/50{border-color:color-mix(in oklab,var(--color-base-300)50%,transparent)}}.border-base-content\\/10{border-color:var(--color-base-content)}@supports (color:color-mix(in lab,red,red)){.border-base-content\\/10{border-color:color-mix(in oklab,var(--color-base-content)10%,transparent)}}.border-primary\\/40{border-color:var(--color-primary)}@supports (color:color-mix(in lab,red,red)){.border-primary\\/40{border-color:color-mix(in oklab,var(--color-primary)40%,transparent)}}.border-red-500{border-color:var(--color-red-500)}.border-white\\/5{border-color:#ffffff0d}@supports (color:color-mix(in lab,red,red)){.border-white\\/5{border-color:color-mix(in oklab,var(--color-white)5%,transparent)}}.border-yellow-400{border-color:var(--color-yellow-400)}.bg-accent{background-color:var(--color-accent)}.bg-base-100,.bg-base-100\\/50{background-color:var(--color-base-100)}@supports (color:color-mix(in lab,red,red)){.bg-base-100\\/50{background-color:color-mix(in oklab,var(--color-base-100)50%,transparent)}}.bg-base-100\\/95{background-color:var(--color-base-100)}@supports (color:color-mix(in lab,red,red)){.bg-base-100\\/95{background-color:color-mix(in oklab,var(--color-base-100)95%,transparent)}}.bg-base-200,.bg-base-200\\/50{background-color:var(--color-base-200)}@supports (color:color-mix(in lab,red,red)){.bg-base-200\\/50{background-color:color-mix(in oklab,var(--color-base-200)50%,transparent)}}.bg-base-200\\/90{background-color:var(--color-base-200)}@supports (color:color-mix(in lab,red,red)){.bg-base-200\\/90{background-color:color-mix(in oklab,var(--color-base-200)90%,transparent)}}.bg-base-200\\/95{background-color:var(--color-base-200)}@supports (color:color-mix(in lab,red,red)){.bg-base-200\\/95{background-color:color-mix(in oklab,var(--color-base-200)95%,transparent)}}.bg-base-300,.bg-base-300\\/30{background-color:var(--color-base-300)}@supports (color:color-mix(in lab,red,red)){.bg-base-300\\/30{background-color:color-mix(in oklab,var(--color-base-300)30%,transparent)}}.bg-base-content,.bg-base-content\\/20{background-color:var(--color-base-content)}@supports (color:color-mix(in lab,red,red)){.bg-base-content\\/20{background-color:color-mix(in oklab,var(--color-base-content)20%,transparent)}}.bg-neutral{background-color:var(--color-neutral)}.bg-primary,.bg-primary\\/5{background-color:var(--color-primary)}@supports (color:color-mix(in lab,red,red)){.bg-primary\\/5{background-color:color-mix(in oklab,var(--color-primary)5%,transparent)}}.bg-primary\\/20{background-color:var(--color-primary)}@supports (color:color-mix(in lab,red,red)){.bg-primary\\/20{background-color:color-mix(in oklab,var(--color-primary)20%,transparent)}}.bg-red-500\\/20{background-color:#fb2c3633}@supports (color:color-mix(in lab,red,red)){.bg-red-500\\/20{background-color:color-mix(in oklab,var(--color-red-500)20%,transparent)}}.bg-secondary{background-color:var(--color-secondary)}.bg-yellow-200{background-color:var(--color-yellow-200)}.bg-yellow-400\\/40{background-color:#fac80066}@supports (color:color-mix(in lab,red,red)){.bg-yellow-400\\/40{background-color:color-mix(in oklab,var(--color-yellow-400)40%,transparent)}}.fill-red-500\\/20{fill:#fb2c3633}@supports (color:color-mix(in lab,red,red)){.fill-red-500\\/20{fill:color-mix(in oklab,var(--color-red-500)20%,transparent)}}.fill-yellow-400\\/40{fill:#fac80066}@supports (color:color-mix(in lab,red,red)){.fill-yellow-400\\/40{fill:color-mix(in oklab,var(--color-yellow-400)40%,transparent)}}.stroke-red-500{stroke:var(--color-red-500)}.stroke-yellow-400{stroke:var(--color-yellow-400)}.object-contain{object-fit:contain}.object-center{object-position:center}.object-left{object-position:left}.object-right{object-position:right}.p-0{padding:calc(var(--spacing)*0)}.p-1{padding:calc(var(--spacing)*1)}.p-2{padding:calc(var(--spacing)*2)}.p-3{padding:calc(var(--spacing)*3)}.p-4{padding:calc(var(--spacing)*4)}.p-8{padding:calc(var(--spacing)*8)}.px-0\\.5{padding-inline:calc(var(--spacing)*.5)}.px-1{padding-inline:calc(var(--spacing)*1)}.px-1\\.5{padding-inline:calc(var(--spacing)*1.5)}.px-2{padding-inline:calc(var(--spacing)*2)}.px-3{padding-inline:calc(var(--spacing)*3)}.px-4{padding-inline:calc(var(--spacing)*4)}.py-1{padding-block:calc(var(--spacing)*1)}.py-2{padding-block:calc(var(--spacing)*2)}.py-4{padding-block:calc(var(--spacing)*4)}.ps-4{padding-inline-start:calc(var(--spacing)*4)}.pt-0{padding-top:calc(var(--spacing)*0)}.pt-2{padding-top:calc(var(--spacing)*2)}.pt-4{padding-top:calc(var(--spacing)*4)}.pt-8{padding-top:calc(var(--spacing)*8)}.pr-1{padding-right:calc(var(--spacing)*1)}.pr-2{padding-right:calc(var(--spacing)*2)}.pr-12{padding-right:calc(var(--spacing)*12)}.pb-2{padding-bottom:calc(var(--spacing)*2)}.pb-4{padding-bottom:calc(var(--spacing)*4)}.text-center{text-align:center}.text-left{text-align:left}.text-right{text-align:right}.font-mono{font-family:var(--font-mono)}.text-3xl{font-size:var(--text-3xl);line-height:var(--tw-leading,var(--text-3xl--line-height))}.text-4xl{font-size:var(--text-4xl);line-height:var(--tw-leading,var(--text-4xl--line-height))}.text-lg{font-size:var(--text-lg);line-height:var(--tw-leading,var(--text-lg--line-height))}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.leading-relaxed{--tw-leading:var(--leading-relaxed);line-height:var(--leading-relaxed)}.font-bold{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.font-normal{--tw-font-weight:var(--font-weight-normal);font-weight:var(--font-weight-normal)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.tracking-wider{--tw-tracking:var(--tracking-wider);letter-spacing:var(--tracking-wider)}.text-nowrap{text-wrap:nowrap}.wrap-break-word{overflow-wrap:break-word}.break-all{word-break:break-all}.whitespace-nowrap{white-space:nowrap}.text-base-content,.text-base-content\\/50{color:var(--color-base-content)}@supports (color:color-mix(in lab,red,red)){.text-base-content\\/50{color:color-mix(in oklab,var(--color-base-content)50%,transparent)}}.text-error{color:var(--color-error)}.text-neutral-content{color:var(--color-neutral-content)}.text-primary{color:var(--color-primary)}.text-success{color:var(--color-success)}.text-warning{color:var(--color-warning)}.text-yellow-900{color:var(--color-yellow-900)}.capitalize{text-transform:capitalize}.uppercase{text-transform:uppercase}.italic{font-style:italic}.tabular-nums{--tw-numeric-spacing:tabular-nums;font-variant-numeric:var(--tw-ordinal,)var(--tw-slashed-zero,)var(--tw-numeric-figure,)var(--tw-numeric-spacing,)var(--tw-numeric-fraction,)}.prose :where(.btn-link):not(:where([class~=not-prose],[class~=not-prose] *)){text-decoration-line:none}.opacity-0{opacity:0}.opacity-20{opacity:.2}.opacity-50{opacity:.5}.opacity-60{opacity:.6}.opacity-70{opacity:.7}.opacity-80{opacity:.8}.opacity-100{opacity:1}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a),0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-2xl{--tw-shadow:0 25px 50px -12px var(--tw-shadow-color,#00000040);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-lg{--tw-shadow:0 10px 15px -3px var(--tw-shadow-color,#0000001a),0 4px 6px -4px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-md{--tw-shadow:0 4px 6px -1px var(--tw-shadow-color,#0000001a),0 2px 4px -2px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-sm{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a),0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-xl{--tw-shadow:0 20px 25px -5px var(--tw-shadow-color,#0000001a),0 8px 10px -6px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.ring-2{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(2px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.ring-primary{--tw-ring-color:var(--color-primary)}.outline{outline-style:var(--tw-outline-style);outline-width:1px}@layer daisyui.l1{.btn-ghost:not(.btn-active,:hover,:active:focus,:focus-visible,input:checked:not(.filter .btn)){--btn-shadow:"";--btn-bg:#0000;--btn-border:#0000;--btn-noise:none}.btn-ghost:not(.btn-active,:hover,:active:focus,:focus-visible,input:checked:not(.filter .btn)):not(:disabled,[disabled],.btn-disabled){--btn-fg:var(--btn-color,currentColor);outline-color:currentColor}@media(hover:none){.btn-ghost:not(.btn-active,:active,:focus-visible,input:checked:not(.filter .btn)):hover{--btn-shadow:"";--btn-bg:#0000;--btn-fg:var(--btn-color,currentColor);--btn-border:#0000;--btn-noise:none;outline-color:currentColor}}.btn-outline:not(.btn-active,:hover,:active:focus,:focus-visible,input:checked:not(.filter .btn),:disabled,[disabled],.btn-disabled){--btn-shadow:"";--btn-bg:#0000;--btn-fg:var(--btn-color);--btn-border:var(--btn-color);--btn-noise:none}@media(hover:none){.btn-outline:not(.btn-active,:active,:focus-visible,input:checked:not(.filter .btn)):hover{--btn-shadow:"";--btn-bg:#0000;--btn-fg:var(--btn-color);--btn-border:var(--btn-color);--btn-noise:none}}}.outline-black\\/5{outline-color:#0000000d}@supports (color:color-mix(in lab,red,red)){.outline-black\\/5{outline-color:color-mix(in oklab,var(--color-black)5%,transparent)}}.blur{--tw-blur:blur(8px);filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}.drop-shadow-md{--tw-drop-shadow-size:drop-shadow(0 3px 3px var(--tw-drop-shadow-color,#0000001f));--tw-drop-shadow:drop-shadow(var(--drop-shadow-md));filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}.grayscale{--tw-grayscale:grayscale(100%);filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}.invert{--tw-invert:invert(100%);filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}.filter{filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}.backdrop-blur{--tw-backdrop-blur:blur(8px);-webkit-backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\\[width\\]{transition-property:width;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-all{transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-opacity{transition-property:opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-transform{transition-property:transform,translate,scale,rotate;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.duration-150{--tw-duration:.15s;transition-duration:.15s}.duration-200{--tw-duration:.2s;transition-duration:.2s}.duration-300{--tw-duration:.3s;transition-duration:.3s}.ease-in-out{--tw-ease:var(--ease-in-out);transition-timing-function:var(--ease-in-out)}.select-none{-webkit-user-select:none;user-select:none}.group-open\\:rotate-180:is(:where(.group):is([open],:popover-open,:open) *){rotate:180deg}.group-focus-within\\:pointer-events-auto:is(:where(.group):focus-within *){pointer-events:auto}.group-focus-within\\:visible:is(:where(.group):focus-within *){visibility:visible}@media(hover:hover){.group-hover\\:border-base-content\\/20:is(:where(.group):hover *){border-color:var(--color-base-content)}@supports (color:color-mix(in lab,red,red)){.group-hover\\:border-base-content\\/20:is(:where(.group):hover *){border-color:color-mix(in oklab,var(--color-base-content)20%,transparent)}}.group-hover\\:opacity-100:is(:where(.group):hover *){opacity:1}}.last\\:border-none:last-child{--tw-border-style:none;border-style:none}@media(hover:hover){.hover\\:bg-base-200:hover,.hover\\:bg-base-200\\/30:hover{background-color:var(--color-base-200)}@supports (color:color-mix(in lab,red,red)){.hover\\:bg-base-200\\/30:hover{background-color:color-mix(in oklab,var(--color-base-200)30%,transparent)}}.hover\\:bg-base-200\\/50:hover{background-color:var(--color-base-200)}@supports (color:color-mix(in lab,red,red)){.hover\\:bg-base-200\\/50:hover{background-color:color-mix(in oklab,var(--color-base-200)50%,transparent)}}.hover\\:bg-base-300:hover{background-color:var(--color-base-300)}.hover\\:bg-red-500\\/40:hover{background-color:#fb2c3666}@supports (color:color-mix(in lab,red,red)){.hover\\:bg-red-500\\/40:hover{background-color:color-mix(in oklab,var(--color-red-500)40%,transparent)}}.hover\\:bg-yellow-400\\/60:hover{background-color:#fac80099}@supports (color:color-mix(in lab,red,red)){.hover\\:bg-yellow-400\\/60:hover{background-color:color-mix(in oklab,var(--color-yellow-400)60%,transparent)}}.hover\\:fill-red-500\\/40:hover{fill:#fb2c3666}@supports (color:color-mix(in lab,red,red)){.hover\\:fill-red-500\\/40:hover{fill:color-mix(in oklab,var(--color-red-500)40%,transparent)}}.hover\\:fill-yellow-400\\/60:hover{fill:#fac80099}@supports (color:color-mix(in lab,red,red)){.hover\\:fill-yellow-400\\/60:hover{fill:color-mix(in oklab,var(--color-yellow-400)60%,transparent)}}.hover\\:underline:hover{text-decoration-line:underline}.hover\\:shadow-md:hover{--tw-shadow:0 4px 6px -1px var(--tw-shadow-color,#0000001a),0 2px 4px -2px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}}.focus\\:bg-base-300:focus{background-color:var(--color-base-300)}.focus\\:outline-none:focus{--tw-outline-style:none;outline-style:none}.active\\:bg-base-200:active{background-color:var(--color-base-200)}@media(min-width:64rem){.lg\\:px-32{padding-inline:calc(var(--spacing)*32)}.lg\\:pt-8{padding-top:calc(var(--spacing)*8)}.lg\\:pb-16{padding-bottom:calc(var(--spacing)*16)}}}.osd-background,.osd-background .openseadragon-container{background-color:#0000}@keyframes rating{0%,40%{filter:brightness(1.05)contrast(1.05);scale:1.1}}@keyframes dropdown{0%{opacity:0}}@keyframes radio{0%{padding:5px}50%{padding:3px}}@keyframes toast{0%{opacity:0;scale:.9}to{opacity:1;scale:1}}@keyframes rotator{89.9999%,to{--first-item-position:0 0%}90%,99.9999%{--first-item-position:0 calc(var(--items)*100%)}to{translate:0 -100%}}@keyframes skeleton{0%{background-position:150%}to{background-position:-50%}}@keyframes menu{0%{opacity:0}}@keyframes progress{50%{background-position-x:-115%}}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}@property --tw-scale-x{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-y{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-z{syntax:"*";inherits:false;initial-value:1}@property --tw-space-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-divide-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-leading{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-tracking{syntax:"*";inherits:false}@property --tw-ordinal{syntax:"*";inherits:false}@property --tw-slashed-zero{syntax:"*";inherits:false}@property --tw-numeric-figure{syntax:"*";inherits:false}@property --tw-numeric-spacing{syntax:"*";inherits:false}@property --tw-numeric-fraction{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@property --tw-backdrop-blur{syntax:"*";inherits:false}@property --tw-backdrop-brightness{syntax:"*";inherits:false}@property --tw-backdrop-contrast{syntax:"*";inherits:false}@property --tw-backdrop-grayscale{syntax:"*";inherits:false}@property --tw-backdrop-hue-rotate{syntax:"*";inherits:false}@property --tw-backdrop-invert{syntax:"*";inherits:false}@property --tw-backdrop-opacity{syntax:"*";inherits:false}@property --tw-backdrop-saturate{syntax:"*";inherits:false}@property --tw-backdrop-sepia{syntax:"*";inherits:false}@property --tw-duration{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}`;var Z0=["forEach","isDisjointFrom","isSubsetOf","isSupersetOf"],W0=["difference","intersection","symmetricDifference","union"],zc=!1;const Jo=class Jo extends Set{constructor(e){super();we(this,Ji);we(this,Qi,new Map);we(this,mr,Ae(0));we(this,ni,Ae(0));we(this,Qo,gr||-1);if(e){for(var r of e)super.add(r);R(this,ni).v=super.size}zc||We(this,Ji,yh).call(this)}has(e){var r=super.has(e),n=R(this,Qi),o=n.get(e);if(o===void 0){if(!r)return p(R(this,mr)),!1;o=We(this,Ji,bh).call(this,!0),n.set(e,o)}return p(o),r}add(e){return super.has(e)||(super.add(e),be(R(this,ni),super.size),Yt(R(this,mr))),this}delete(e){var r=super.delete(e),n=R(this,Qi),o=n.get(e);return o!==void 0&&(n.delete(e),be(o,!1)),r&&(be(R(this,ni),super.size),Yt(R(this,mr))),r}clear(){if(super.size!==0){super.clear();var e=R(this,Qi);for(var r of e.values())be(r,!1);e.clear(),be(R(this,ni),0),Yt(R(this,mr))}}keys(){return this.values()}values(){return p(R(this,mr)),super.values()}entries(){return p(R(this,mr)),super.entries()}[Symbol.iterator](){return this.keys()}get size(){return p(R(this,ni))}};Qi=new WeakMap,mr=new WeakMap,ni=new WeakMap,Qo=new WeakMap,Ji=new WeakSet,bh=function(e){return gr===R(this,Qo)?Ae(e):Lt(e)},yh=function(){zc=!0;var e=Jo.prototype,r=Set.prototype;for(const n of Z0)e[n]=function(...o){return p(R(this,mr)),r[n].apply(this,o)};for(const n of W0)e[n]=function(...o){p(R(this,mr));var a=r[n].apply(this,o);return new Jo(a)}};let Ho=Jo;const Rs=class Rs extends Map{constructor(e){super();we(this,_r);we(this,Lr,new Map);we(this,zr,Ae(0));we(this,Ur,Ae(0));we(this,$o,gr||-1);if(e){for(var[r,n]of e)super.set(r,n);R(this,Ur).v=super.size}}has(e){var r=R(this,Lr),n=r.get(e);if(n===void 0){var o=super.get(e);if(o!==void 0)n=We(this,_r,to).call(this,0),r.set(e,n);else return p(R(this,zr)),!1}return p(n),!0}forEach(e,r){We(this,_r,ra).call(this),super.forEach(e,r)}get(e){var r=R(this,Lr),n=r.get(e);if(n===void 0){var o=super.get(e);if(o!==void 0)n=We(this,_r,to).call(this,0),r.set(e,n);else{p(R(this,zr));return}}return p(n),super.get(e)}set(e,r){var h;var n=R(this,Lr),o=n.get(e),a=super.get(e),s=super.set(e,r),c=R(this,zr);if(o===void 0)o=We(this,_r,to).call(this,0),n.set(e,o),be(R(this,Ur),super.size),Yt(c);else if(a!==r){Yt(o);var l=c.reactions===null?null:new Set(c.reactions),u=l===null||!((h=o.reactions)!=null&&h.every(f=>l.has(f)));u&&Yt(c)}return s}delete(e){var r=R(this,Lr),n=r.get(e),o=super.delete(e);return n!==void 0&&(r.delete(e),be(R(this,Ur),super.size),be(n,-1),Yt(R(this,zr))),o}clear(){if(super.size!==0){super.clear();var e=R(this,Lr);be(R(this,Ur),0);for(var r of e.values())be(r,-1);Yt(R(this,zr)),e.clear()}}keys(){return p(R(this,zr)),super.keys()}values(){return We(this,_r,ra).call(this),super.values()}entries(){return We(this,_r,ra).call(this),super.entries()}[Symbol.iterator](){return this.entries()}get size(){return p(R(this,Ur)),super.size}};Lr=new WeakMap,zr=new WeakMap,Ur=new WeakMap,$o=new WeakMap,_r=new WeakSet,to=function(e){return gr===R(this,$o)?Ae(e):Lt(e)},ra=function(){p(R(this,zr));var e=R(this,Lr);if(R(this,Ur).v!==e.size){for(var r of ph(Rs.prototype,this,"keys").call(this))if(!e.has(r)){var n=We(this,_r,to).call(this,0);e.set(r,n)}}for([,n]of R(this,Lr))p(n)};let _n=Rs;var Hc=(function(){function i(t){this.__jsonld=t,this.context=this.getProperty("context"),this.id=this.getProperty("id")}return i.prototype.getProperty=function(t){var e=null;return this.__jsonld&&(e=this.__jsonld[t],e||(e=this.__jsonld["@"+t])),e},i})(),No=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function ja(i){return i&&i.__esModule&&Object.prototype.hasOwnProperty.call(i,"default")?i.default:i}function q0(i){if(Object.prototype.hasOwnProperty.call(i,"__esModule"))return i;var t=i.default;if(typeof t=="function"){var e=function r(){return this instanceof r?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};e.prototype=t.prototype}else e={};return Object.defineProperty(e,"__esModule",{value:!0}),Object.keys(i).forEach(function(r){var n=Object.getOwnPropertyDescriptor(i,r);Object.defineProperty(e,r,n.get?n:{enumerable:!0,get:function(){return i[r]}})}),e}var lt={},Nc;function X0(){if(Nc)return lt;Nc=1,Object.defineProperty(lt,"__esModule",{value:!0}),lt.ViewingHint=lt.ViewingDirection=lt.ServiceType=lt.ServiceProfile=lt.RenderingFormat=lt.MediaType=lt.IIIFResourceType=lt.ExternalResourceType=lt.Behavior=lt.AnnotationMotivation=void 0;var i;(function(u){u.BOOKMARKING="oa:bookmarking",u.CLASSIFYING="oa:classifying",u.COMMENTING="oa:commenting",u.DESCRIBING="oa:describing",u.EDITING="oa:editing",u.HIGHLIGHTING="oa:highlighting",u.IDENTIFYING="oa:identifying",u.LINKING="oa:linking",u.MODERATING="oa:moderating",u.PAINTING="sc:painting",u.QUESTIONING="oa:questioning",u.REPLYING="oa:replying",u.TAGGING="oa:tagging",u.TRANSCRIBING="oad:transcribing"})(i||(lt.AnnotationMotivation=i={}));var t;(function(u){u.AUTO_ADVANCE="auto-advance",u.CONTINUOUS="continuous",u.FACING_PAGES="facing-pages",u.HIDDEN="hidden",u.INDIVIDUALS="individuals",u.MULTI_PART="multi-part",u.NO_NAV="no-nav",u.NON_PAGED="non-paged",u.PAGED="paged",u.REPEAT="repeat",u.SEQUENCE="sequence",u.THUMBNAIL_NAV="thumbnail-nav",u.TOGETHER="together",u.UNORDERED="unordered"})(t||(lt.Behavior=t={}));var e;(function(u){u.CANVAS="canvas",u.CHOICE="choice",u.OA_CHOICE="oa:choice",u.CONTENT_AS_TEXT="contentastext",u.DATASET="dataset",u.DOCUMENT="document",u.IMAGE="image",u.MODEL="model",u.MOVING_IMAGE="movingimage",u.PDF="pdf",u.PHYSICAL_OBJECT="physicalobject",u.SOUND="sound",u.TEXT="text",u.TEXTUALBODY="textualbody",u.VIDEO="video"})(e||(lt.ExternalResourceType=e={}));var r;(function(u){u.ANNOTATION="annotation",u.ANNOTATION_COLLECTION="annotationcollection",u.ANNOTATION_PAGE="annotationpage",u.CANVAS="canvas",u.COLLECTION="collection",u.MANIFEST="manifest",u.RANGE="range",u.SEQUENCE="sequence"})(r||(lt.IIIFResourceType=r={}));var n;(function(u){u.APNG="image/apng",u.AUDIO_MP4="audio/mp4",u.AUDIO_OGG="audio/ogg",u.AVIF="audio/avif",u.CORTO="application/corto",u.DICOM="application/dicom",u.DRACO="application/draco",u.EPUB="application/epub+zip",u.GIF="image/gif",u.GIRDER="image/vnd.kitware.girder",u.GLB="model/gltf-binary",u.GLTF="model/gltf+json",u.IIIF_PRESENTATION_2='application/ld+json;profile="http://iiif.io/api/presentation/2/context.json"',u.IIIF_PRESENTATION_3='application/ld+json;profile="http://iiif.io/api/presentation/3/context.json"',u.JPG="image/jpeg",u.M3U8="application/vnd.apple.mpegurl",u.MP3="audio/mp3",u.MPEG="audio/mpeg",u.MPEG_DASH="application/dash+xml",u.OBJ="model/obj",u.OPF="application/oebps-package+xml",u.PDF="application/pdf",u.PLY="application/ply",u.PNG="image/png",u.SVG="image/svg+xml",u.THREEJS="application/vnd.threejs+json",u.USDZ="model/vnd.usd+zip",u.VIDEO_MP4="video/mp4",u.VIDEO_OGG="video/ogg",u.WAV="audio/wav",u.WEBM="video/webm",u.WEBP="image/webp"})(n||(lt.MediaType=n={}));var o;(function(u){u.DOC="application/msword",u.DOCX="application/vnd.openxmlformats-officedocument.wordprocessingml.document",u.ODT="application/vnd.oasis.opendocument.text",u.PDF="application/pdf"})(o||(lt.RenderingFormat=o={}));var a;(function(u){u.IMAGE_0_COMPLIANCE_LEVEL_0="http://library.stanford.edu/iiif/image-api/compliance.html#level0",u.IMAGE_0_COMPLIANCE_LEVEL_1="http://library.stanford.edu/iiif/image-api/compliance.html#level1",u.IMAGE_0_COMPLIANCE_LEVEL_2="http://library.stanford.edu/iiif/image-api/compliance.html#level2",u.IMAGE_0_CONFORMANCE_LEVEL_0="http://library.stanford.edu/iiif/image-api/conformance.html#level0",u.IMAGE_0_CONFORMANCE_LEVEL_1="http://library.stanford.edu/iiif/image-api/conformance.html#level1",u.IMAGE_0_CONFORMANCE_LEVEL_2="http://library.stanford.edu/iiif/image-api/conformance.html#level2",u.IMAGE_1_COMPLIANCE_LEVEL_0="http://library.stanford.edu/iiif/image-api/1.1/compliance.html#level0",u.IMAGE_1_COMPLIANCE_LEVEL_1="http://library.stanford.edu/iiif/image-api/1.1/compliance.html#level1",u.IMAGE_1_COMPLIANCE_LEVEL_2="http://library.stanford.edu/iiif/image-api/1.1/compliance.html#level2",u.IMAGE_1_CONFORMANCE_LEVEL_0="http://library.stanford.edu/iiif/image-api/1.1/conformance.html#level0",u.IMAGE_1_CONFORMANCE_LEVEL_1="http://library.stanford.edu/iiif/image-api/1.1/conformance.html#level1",u.IMAGE_1_CONFORMANCE_LEVEL_2="http://library.stanford.edu/iiif/image-api/1.1/conformance.html#level2",u.IMAGE_1_LEVEL_0="http://iiif.io/api/image/1/level0.json",u.IMAGE_1_PROFILE_LEVEL_0="http://iiif.io/api/image/1/profiles/level0.json",u.IMAGE_1_LEVEL_1="http://iiif.io/api/image/1/level1.json",u.IMAGE_1_PROFILE_LEVEL_1="http://iiif.io/api/image/1/profiles/level1.json",u.IMAGE_1_LEVEL_2="http://iiif.io/api/image/1/level2.json",u.IMAGE_1_PROFILE_LEVEL_2="http://iiif.io/api/image/1/profiles/level2.json",u.IMAGE_2_LEVEL_0="http://iiif.io/api/image/2/level0.json",u.IMAGE_2_PROFILE_LEVEL_0="http://iiif.io/api/image/2/profiles/level0.json",u.IMAGE_2_LEVEL_1="http://iiif.io/api/image/2/level1.json",u.IMAGE_2_PROFILE_LEVEL_1="http://iiif.io/api/image/2/profiles/level1.json",u.IMAGE_2_LEVEL_2="http://iiif.io/api/image/2/level2.json",u.IMAGE_2_PROFILE_LEVEL_2="http://iiif.io/api/image/2/profiles/level2.json",u.AUTH_0_CLICK_THROUGH="http://iiif.io/api/auth/0/login/clickthrough",u.AUTH_0_LOGIN="http://iiif.io/api/auth/0/login",u.AUTH_0_LOGOUT="http://iiif.io/api/auth/0/logout",u.AUTH_0_RESTRICTED="http://iiif.io/api/auth/0/login/restricted",u.AUTH_0_TOKEN="http://iiif.io/api/auth/0/token",u.AUTH_1_CLICK_THROUGH="http://iiif.io/api/auth/1/clickthrough",u.AUTH_1_EXTERNAL="http://iiif.io/api/auth/1/external",u.AUTH_1_KIOSK="http://iiif.io/api/auth/1/kiosk",u.AUTH_1_LOGIN="http://iiif.io/api/auth/1/login",u.AUTH_1_LOGOUT="http://iiif.io/api/auth/1/logout",u.AUTH_1_PROBE="http://iiif.io/api/auth/1/probe",u.AUTH_1_TOKEN="http://iiif.io/api/auth/1/token",u.SEARCH_0="http://iiif.io/api/search/0/search",u.SEARCH_0_AUTO_COMPLETE="http://iiif.io/api/search/0/autocomplete",u.SEARCH_1="http://iiif.io/api/search/1/search",u.SEARCH_1_AUTO_COMPLETE="http://iiif.io/api/search/1/autocomplete",u.SEARCH_2="http://iiif.io/api/search/2/search",u.SEARCH_2_AUTO_COMPLETE="http://iiif.io/api/search/2/autocomplete",u.TRACKING_EXTENSIONS="http://universalviewer.io/tracking-extensions-profile",u.UI_EXTENSIONS="http://universalviewer.io/ui-extensions-profile",u.PRINT_EXTENSIONS="http://universalviewer.io/print-extensions-profile",u.SHARE_EXTENSIONS="http://universalviewer.io/share-extensions-profile",u.DOWNLOAD_EXTENSIONS="http://universalviewer.io/download-extensions-profile",u.OTHER_MANIFESTATIONS="http://iiif.io/api/otherManifestations.json",u.IXIF="http://wellcomelibrary.org/ld/ixif/0/alpha.json"})(a||(lt.ServiceProfile=a={}));var s;(function(u){u.IMAGE_SERVICE_2="ImageService2",u.IMAGE_SERVICE_3="ImageService3",u.SEARCH_SERVICE_2="SearchService2",u.AUTO_COMPLETE_SERVICE_2="AutoCompleteService2"})(s||(lt.ServiceType=s={}));var c;(function(u){u.BOTTOM_TO_TOP="bottom-to-top",u.LEFT_TO_RIGHT="left-to-right",u.RIGHT_TO_LEFT="right-to-left",u.TOP_TO_BOTTOM="top-to-bottom"})(c||(lt.ViewingDirection=c={}));var l;return(function(u){u.CONTINUOUS="continuous",u.INDIVIDUALS="individuals",u.NON_PAGED="non-paged",u.PAGED="paged",u.TOP="top"})(l||(lt.ViewingHint=l={})),lt}var ge=X0(),Y0=(function(){var i=function(t,e){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(r[o]=n[o])},i(t,e)};return function(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");i(t,e);function r(){this.constructor=t}t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}})(),Br=(function(i){Y0(t,i);function t(e,r){var n=i.call(this,e)||this;return n.options=r,n}return t.prototype.getIIIFResourceType=function(){return Ge.normaliseType(this.getProperty("type"))},t.prototype.getLabel=function(){var e=this.getProperty("label");return e?sr.parse(e,this.options.locale):new sr([],this.options.locale)},t.prototype.getDefaultLabel=function(){return this.getLabel().getValue(this.options.locale)},t.prototype.getMetadata=function(){var e=this.getProperty("metadata"),r=[];if(!e)return r;for(var n=0;n<e.length;n++){var o=e[n],a=new jo(this.options.locale);a.parse(o),r.push(a)}return r},t.prototype.getRendering=function(e){for(var r=this.getRenderings(),n=0;n<r.length;n++){var o=r[n];if(o.getFormat()===e)return o}return null},t.prototype.getRenderings=function(){var e;this.__jsonld?e=this.__jsonld.rendering:e=this.rendering;var r=[];if(!e)return r;Array.isArray(e)||(e=[e]);for(var n=0;n<e.length;n++){var o=e[n];r.push(new Rg(o,this.options))}return r},t.prototype.getRequiredStatement=function(){var e=null,r=this.getProperty("requiredStatement");return r&&(e=new jo(this.options.locale),e.parse(r)),e},t.prototype.getService=function(e){return Ge.getService(this,e)},t.prototype.getServices=function(){return Ge.getServices(this)},t.prototype.getThumbnail=function(){var e=this.getProperty("thumbnail");return Array.isArray(e)&&(e=e[0]),e?new zg(e,this.options):null},t.prototype.isAnnotation=function(){return this.getIIIFResourceType()===ge.IIIFResourceType.ANNOTATION},t.prototype.isCanvas=function(){return this.getIIIFResourceType()===ge.IIIFResourceType.CANVAS},t.prototype.isCollection=function(){return this.getIIIFResourceType()===ge.IIIFResourceType.COLLECTION},t.prototype.isManifest=function(){return this.getIIIFResourceType()===ge.IIIFResourceType.MANIFEST},t.prototype.isRange=function(){return this.getIIIFResourceType()===ge.IIIFResourceType.RANGE},t.prototype.isSequence=function(){return this.getIIIFResourceType()===ge.IIIFResourceType.SEQUENCE},t})(Hc),K0=(function(){var i=function(t,e){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(r[o]=n[o])},i(t,e)};return function(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");i(t,e);function r(){this.constructor=t}t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}})(),Ua=(function(i){K0(t,i);function t(e,r){return i.call(this,e,r)||this}return t.prototype.getFormat=function(){var e=this.getProperty("format");return e?e.toLowerCase():null},t.prototype.getResources=function(){var e=[];if(!this.__jsonld.resources)return e;for(var r=0;r<this.__jsonld.resources.length;r++){var n=this.__jsonld.resources[r],o=new Fo(n,this.options);e.push(o)}return e},t.prototype.getType=function(){var e=this.getProperty("type");return e?Ge.normaliseType(e):null},t.prototype.getWidth=function(){return this.getProperty("width")},t.prototype.getHeight=function(){return this.getProperty("height")},t.prototype.getMaxWidth=function(){return this.getProperty("maxWidth")},t.prototype.getMaxHeight=function(){var e=this.getProperty("maxHeight");return e?null:this.getMaxWidth()},t})(Br),Q0=(function(){var i=function(t,e){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(r[o]=n[o])},i(t,e)};return function(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");i(t,e);function r(){this.constructor=t}t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}})(),Fc=(function(i){Q0(t,i);function t(e,r){var n=i.call(this,e,r)||this;n.index=-1,n.isLoaded=!1;var o={defaultLabel:"-",locale:"en-GB",resource:n,pessimisticAccessControl:!1};return n.options=Object.assign(o,r),n}return t.prototype.getAttribution=function(){var e=this.getProperty("attribution");return e?sr.parse(e,this.options.locale):new sr([],this.options.locale)},t.prototype.getDescription=function(){var e=this.getProperty("description");return e===void 0&&(e=this.getProperty("summary")),e?sr.parse(e,this.options.locale):new sr([],this.options.locale)},t.prototype.getSummary=function(){var e=this.getProperty("summary");return e===void 0&&(e=this.getProperty("description")),e?sr.parse(e,this.options.locale):new sr([],this.options.locale)},t.prototype.getHomepage=function(){var e=this.getProperty("homepage");return e?typeof e=="string"?e:(Array.isArray(e)&&e.length&&(e=e[0]),e["@id"]||e.id):null},t.prototype.getIIIFResourceType=function(){return Ge.normaliseType(this.getProperty("type"))},t.prototype.getLogo=function(){var e=this.getProperty("logo");if(!e){var r=this.getProperty("provider");if(!r)return null;var n=r.find(function(o){return o.logo!==void 0});n&&n.logo!==void 0?e=n.logo:e=null}return e?typeof e=="string"?e:(Array.isArray(e)&&e.length&&(e=e[0]),e["@id"]||(e==null?void 0:e.id)):null},t.prototype.getLicense=function(){return Ge.getLocalisedValue(this.getProperty("license"),this.options.locale)},t.prototype.getRights=function(){var e=this.getProperty("rights");return e?typeof e=="string"?e:(Array.isArray(e)&&e.length&&(e=e[0]),e["@id"]||e.id):null},t.prototype.getNavDate=function(){return new Date(this.getProperty("navDate"))},t.prototype.getRelated=function(){return this.getProperty("related")},t.prototype.getSeeAlso=function(){return this.getProperty("seeAlso")},t.prototype.getTrackingLabel=function(){var e=this.getService(ge.ServiceProfile.TRACKING_EXTENSIONS);return e?e.getProperty("trackingLabel"):""},t.prototype.getDefaultTree=function(){return this.defaultTree=new ds("root"),this.defaultTree.data=this,this.defaultTree},t.prototype.getRequiredStatement=function(){var e=null,r=this.getProperty("requiredStatement");if(r)e=new jo(this.options.locale),e.parse(r);else{var n=this.getAttribution();n&&n.length&&(e=new jo(this.options.locale),e.value=n)}return e},t.prototype.isCollection=function(){return this.getIIIFResourceType()===ge.IIIFResourceType.COLLECTION},t.prototype.isManifest=function(){return this.getIIIFResourceType()===ge.IIIFResourceType.MANIFEST},t.prototype.load=function(){var e=this;return new Promise(function(r){if(e.isLoaded)r(e);else{var n=e.options;n.navDate=e.getNavDate();var o=e.__jsonld.id;o||(o=e.__jsonld["@id"]),Ge.loadManifest(o).then(function(a){e.parentLabel=e.getLabel().getValue(n.locale);var s=cu.parse(a,n);e=Object.assign(e,s),e.index=n.index,r(e)})}})},t})(Br),J0=(function(){var i=function(t,e){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(r[o]=n[o])},i(t,e)};return function(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");i(t,e);function r(){this.constructor=t}t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}})(),Fo=(function(i){J0(t,i);function t(e,r){return i.call(this,e,r)||this}return t.prototype.getBody=function(){var e=[],r=this.getProperty("body");if(r)if(Array.isArray(r))for(var n=0;n<r.length;n++){var o=r[n];if(o.items)for(var a=0;a<o.items.length;a++){var s=o.items[a];e.push(new Bo(s,this.options))}else e.push(new Bo(o,this.options))}else if(r.items)for(var n=0;n<r.items.length;n++){var o=r.items[n];e.push(new Bo(o,this.options))}else e.push(new Bo(r,this.options));return e},t.prototype.getMotivation=function(){var e=this.getProperty("motivation");return e||null},t.prototype.getOn=function(){return this.getProperty("on")},t.prototype.getTarget=function(){return this.getProperty("target")},t.prototype.getResource=function(){return new Ua(this.getProperty("resource"),this.options)},t})(Br),$0=(function(){var i=function(t,e){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(r[o]=n[o])},i(t,e)};return function(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");i(t,e);function r(){this.constructor=t}t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}})(),Bo=(function(i){$0(t,i);function t(e,r){return i.call(this,e,r)||this}return t.prototype.getFormat=function(){var e=this.getProperty("format");return e?Ge.getMediaType(e):null},t.prototype.getType=function(){var e=this.getProperty("type");return e?Ge.normaliseType(this.getProperty("type")):null},t.prototype.getValue=function(){return this.getProperty("value")},t.prototype.getLanguage=function(){return this.getProperty("language")},t.prototype.getWidth=function(){return this.getProperty("width")},t.prototype.getHeight=function(){return this.getProperty("height")},t})(Br),eg=(function(){var i=function(t,e){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(r[o]=n[o])},i(t,e)};return function(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");i(t,e);function r(){this.constructor=t}t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}})(),tg=(function(i){eg(t,i);function t(e,r,n){var o=i.call(this,r)||this;return o.label=e,o.options=n,o}return t.prototype.getIIIFResourceType=function(){return Ge.normaliseType(this.getProperty("type"))},t.prototype.getLabel=function(){return this.label},t.prototype.getResources=function(){var e=this,r=this.getProperty("resources");return r.map(function(n){return new Fo(n,e.options)})},t.prototype.load=function(){var e=this;return new Promise(function(r,n){if(e.isLoaded)r(e);else{var o=e.__jsonld.id;o||(o=e.__jsonld["@id"]),Ge.loadManifest(o).then(function(a){e.__jsonld=a,e.context=e.getProperty("context"),e.id=e.getProperty("id"),e.isLoaded=!0,r(e)}).catch(n)}})},t})(Hc),rg=(function(){var i=function(t,e){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(r[o]=n[o])},i(t,e)};return function(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");i(t,e);function r(){this.constructor=t}t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}})(),Bc=(function(i){rg(t,i);function t(e,r){return i.call(this,e,r)||this}return t.prototype.getItems=function(){return this.getProperty("items")},t.prototype.getAnnotations=function(){var e=[],r=this.getProperty("items");if(!r||!Array.isArray(r))return e;for(var n=0;n<r.length;n++){var o=new Fo(r[n],this.options);e.push(o)}return e},t})(Br),Ga,Vc;function ig(){if(Vc)return Ga;Vc=1;function i(t,e){for(var r=-1,n=e.length,o=t.length;++r<n;)t[o+r]=e[r];return t}return Ga=i,Ga}var Za,jc;function ng(){if(jc)return Za;jc=1;var i=typeof No=="object"&&No&&No.Object===Object&&No;return Za=i,Za}var Wa,Uc;function og(){if(Uc)return Wa;Uc=1;var i=ng(),t=typeof self=="object"&&self&&self.Object===Object&&self,e=i||t||Function("return this")();return Wa=e,Wa}var qa,Gc;function Xa(){if(Gc)return qa;Gc=1;var i=og(),t=i.Symbol;return qa=t,qa}var Ya,Zc;function ag(){if(Zc)return Ya;Zc=1;var i=Xa(),t=Object.prototype,e=t.hasOwnProperty,r=t.toString,n=i?i.toStringTag:void 0;function o(a){var s=e.call(a,n),c=a[n];try{a[n]=void 0;var l=!0}catch{}var u=r.call(a);return l&&(s?a[n]=c:delete a[n]),u}return Ya=o,Ya}var Ka,Wc;function sg(){if(Wc)return Ka;Wc=1;var i=Object.prototype,t=i.toString;function e(r){return t.call(r)}return Ka=e,Ka}var Qa,qc;function lg(){if(qc)return Qa;qc=1;var i=Xa(),t=ag(),e=sg(),r="[object Null]",n="[object Undefined]",o=i?i.toStringTag:void 0;function a(s){return s==null?s===void 0?n:r:o&&o in Object(s)?t(s):e(s)}return Qa=a,Qa}var Ja,Xc;function Yc(){if(Xc)return Ja;Xc=1;function i(t){return t!=null&&typeof t=="object"}return Ja=i,Ja}var $a,Kc;function cg(){if(Kc)return $a;Kc=1;var i=lg(),t=Yc(),e="[object Arguments]";function r(n){return t(n)&&i(n)==e}return $a=r,$a}var es,Qc;function ug(){if(Qc)return es;Qc=1;var i=cg(),t=Yc(),e=Object.prototype,r=e.hasOwnProperty,n=e.propertyIsEnumerable,o=i((function(){return arguments})())?i:function(a){return t(a)&&r.call(a,"callee")&&!n.call(a,"callee")};return es=o,es}var ts,Jc;function hg(){if(Jc)return ts;Jc=1;var i=Array.isArray;return ts=i,ts}var rs,$c;function dg(){if($c)return rs;$c=1;var i=Xa(),t=ug(),e=hg(),r=i?i.isConcatSpreadable:void 0;function n(o){return e(o)||t(o)||!!(r&&o&&o[r])}return rs=n,rs}var is,eu;function tu(){if(eu)return is;eu=1;var i=ig(),t=dg();function e(r,n,o,a,s){var c=-1,l=r.length;for(o||(o=t),s||(s=[]);++c<l;){var u=r[c];n>0&&o(u)?n>1?e(u,n-1,o,a,s):i(s,u):a||(s[s.length]=u)}return s}return is=e,is}var ns,ru;function fg(){if(ru)return ns;ru=1;var i=tu();function t(e){var r=e==null?0:e.length;return r?i(e,1):[]}return ns=t,ns}var pg=fg();const os=ja(pg);var as,iu;function gg(){if(iu)return as;iu=1;var i=tu(),t=1/0;function e(r){var n=r==null?0:r.length;return n?i(r,t):[]}return as=e,as}var vg=gg();const nu=ja(vg);var mg=(function(){var i=function(t,e){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(r[o]=n[o])},i(t,e)};return function(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");i(t,e);function r(){this.constructor=t}t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}})(),Vo=(function(i){mg(t,i);function t(e,r){return i.call(this,e,r)||this}return t.prototype.getCanonicalImageUri=function(e){var r=null,n="full",o=0,a="default",s=e,c=s+",";if(this.externalResource&&this.externalResource.data&&this.externalResource.data["@id"])r=this.externalResource.data["@id"],s||(s=this.externalResource.data.width),this.externalResource.data["@context"]&&(this.externalResource.data["@context"].indexOf("/1.0/context.json")>-1||this.externalResource.data["@context"].indexOf("/1.1/context.json")>-1||this.externalResource.data["@context"].indexOf("/1/context.json")>-1)&&(a="native");else{var l=void 0;if(l=this.getImages(),l&&l.length){var u=l[0],h=u.getResource(),f=h.getServices();s||(s=h.getWidth());var v=f?f.find(function(S){return Ge.isImageProfile(S.getProfile())||Ge.isImageServiceType(S.getIIIFResourceType())}):null;if(v)r=v.id,a=Ge.getImageQuality(v.getProfile());else if(s===h.getWidth())return h.id}if(l=this.getContent(),l&&l.length){var u=l[0],_=u.getBody(),d=_[0],f=d.getServices();s||(s=d.getWidth());var v=f?f.find(function(A){return Ge.isImageServiceType(A.getIIIFResourceType())}):null;if(v)r=v.id,a=Ge.getImageQuality(v.getProfile());else if(s===d.getWidth())return d.id}if(!r){var g=this.getProperty("thumbnail");if(g){if(typeof g=="string")return g;if(g["@id"])return g["@id"];if(g.length)return g[0].id}}}r&&r.endsWith("/")&&(r=r.substr(0,r.length-1));var b=[r,n,c,o,a+".jpg"].join("/");return b},t.prototype.getMaxDimensions=function(){var e=null,r;return this.externalResource&&this.externalResource.data&&this.externalResource.data.profile&&(r=this.externalResource.data.profile,Array.isArray(r)&&(r=r.filter(function(n){var o;return(o=n.maxWidth)!==null&&o!==void 0?o:n.maxwidth})[0],r&&(e=new Mg(r.maxWidth,r.maxHeight?r.maxHeight:r.maxWidth)))),e},t.prototype.getContent=function(){var e=[],r=this.__jsonld.items||this.__jsonld.content;if(!r)return e;var n=null;if(r.length&&(n=new Bc(r[0],this.options)),!n)return e;for(var o=n.getAnnotations(),a=0;a<o.length;a++){var s=o[a];e.push(s)}return e},t.prototype.getAnnotations=function(){var e=[],r=this.__jsonld.annotations;if(!r||!Array.isArray(r))return e;for(var n=0;n<r.length;n++){var o=new Bc(r[n],this.options);e.push(o)}return e},t.prototype.getDuration=function(){return this.getProperty("duration")},t.prototype.getImages=function(){var e=[];if(!this.__jsonld.images)return e;for(var r=0;r<this.__jsonld.images.length;r++){var n=this.__jsonld.images[r],o=new Fo(n,this.options);e.push(o)}return e},t.prototype.getIndex=function(){return this.getProperty("index")},t.prototype.getOtherContent=function(){var e=this,r=Array.isArray(this.getProperty("otherContent"))?this.getProperty("otherContent"):[this.getProperty("otherContent")],n=function(a,s){return typeof a!="string"?!1:a.toLowerCase()===a.toLowerCase()},o=r.filter(function(a){return a&&n(a["@type"])}).map(function(a,s){return new tg(a.label||"Annotation list ".concat(s),a,e.options)}).map(function(a){return a.load()});return Promise.all(o)},t.prototype.getWidth=function(){return this.getProperty("width")},t.prototype.getHeight=function(){return this.getProperty("height")},t.prototype.getViewingHint=function(){var e=this.getProperty("viewingHint");return Array.isArray(e)&&(e=e[0]),e||null},Object.defineProperty(t.prototype,"imageResources",{get:function(){var e=this,r=nu([this.getImages().map(function(n){return n.getResource()}),this.getContent().map(function(n){return n.getBody()})]);return os(r.map(function(n){switch(n.getProperty("type").toLowerCase()){case ge.ExternalResourceType.CHOICE:case ge.ExternalResourceType.OA_CHOICE:return new t({images:os([n.getProperty("default"),n.getProperty("item")]).map(function(o){return{resource:o}})},e.options).getImages().map(function(o){return o.getResource()});default:return n}}))},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"resourceAnnotations",{get:function(){return nu([this.getImages(),this.getContent()])},enumerable:!1,configurable:!0}),t.prototype.resourceAnnotation=function(e){return this.resourceAnnotations.find(function(r){return r.getResource().id===e||os(new Array(r.getBody())).some(function(n){return n.id===e})})},t.prototype.onFragment=function(e){var r=this.resourceAnnotation(e);if(r){var n=r.getProperty("on"),o=r.getProperty("target");if(!(!n||!o)){var a=(n||o).match(/xywh=(.*)$/);if(a)return a[1].split(",").map(function(s){return parseInt(s,10)})}}},Object.defineProperty(t.prototype,"iiifImageResources",{get:function(){return this.imageResources.filter(function(e){return e&&e.getServices()[0]&&e.getServices()[0].id})},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"imageServiceIds",{get:function(){return this.iiifImageResources.map(function(e){return e.getServices()[0].id})},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"aspectRatio",{get:function(){return this.getWidth()/this.getHeight()},enumerable:!1,configurable:!0}),t})(Ua),_g=(function(){var i=function(t,e){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(r[o]=n[o])},i(t,e)};return function(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");i(t,e);function r(){this.constructor=t}t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}})(),wg=(function(i){_g(t,i);function t(e,r){var n=i.call(this,e,r)||this;return n.items=[],n._collections=null,n._manifests=null,e.__collection=n,n}return t.prototype.getCollections=function(){return this._collections?this._collections:this._collections=this.items.filter(function(e){return e.isCollection()})},t.prototype.getManifests=function(){return this._manifests?this._manifests:this._manifests=this.items.filter(function(e){return e.isManifest()})},t.prototype.getCollectionByIndex=function(e){for(var r=this.getCollections(),n,o=0;o<r.length;o++){var a=r[o];a.index===e&&(n=a)}if(n)return n.options.index=e,n.load();throw new Error("Collection index not found")},t.prototype.getManifestByIndex=function(e){for(var r=this.getManifests(),n,o=0;o<r.length;o++){var a=r[o];a.index===e&&(n=a)}if(n)return n.options.index=e,n.load();throw new Error("Manifest index not found")},t.prototype.getTotalCollections=function(){return this.getCollections().length},t.prototype.getTotalManifests=function(){return this.getManifests().length},t.prototype.getTotalItems=function(){return this.items.length},t.prototype.getViewingDirection=function(){return this.getProperty("viewingDirection")?this.getProperty("viewingDirection"):ge.ViewingDirection.LEFT_TO_RIGHT},t.prototype.getBehavior=function(){var e=this.getProperty("behavior");return Array.isArray(e)&&(e=e[0]),e||null},t.prototype.getViewingHint=function(){var e=this.getProperty("viewingHint");return Array.isArray(e)&&(e=e[0]),e||null},t.prototype.getDefaultTree=function(){return i.prototype.getDefaultTree.call(this),this.defaultTree.data.type=Ge.normaliseType(Rr.COLLECTION),this._parseManifests(this),this._parseCollections(this),Ge.generateTreeNodeIds(this.defaultTree),this.defaultTree},t.prototype._parseManifests=function(e){if(e.getManifests()&&e.getManifests().length)for(var r=0;r<e.getManifests().length;r++){var n=e.getManifests()[r],o=n.getDefaultTree();o.label=n.parentLabel||n.getLabel().getValue(this.options.locale)||"manifest "+(r+1),o.navDate=n.getNavDate(),o.data.id=n.id,o.data.type=Ge.normaliseType(Rr.MANIFEST),e.defaultTree.addNode(o)}},t.prototype._parseCollections=function(e){if(e.getCollections()&&e.getCollections().length)for(var r=0;r<e.getCollections().length;r++){var n=e.getCollections()[r],o=n.getDefaultTree();o.label=n.parentLabel||n.getLabel().getValue(this.options.locale)||"collection "+(r+1),o.navDate=n.getNavDate(),o.data.id=n.id,o.data.type=Ge.normaliseType(Rr.COLLECTION),e.defaultTree.addNode(o)}},t})(Fc),ss=(function(){function i(t,e){this.start=t,this.end=e}return i.prototype.getLength=function(){return this.end-this.start},i})(),jo=(function(){function i(t){this.defaultLocale=t}return i.prototype.parse=function(t){this.resource=t,this.label=sr.parse(this.resource.label,this.defaultLocale),this.value=sr.parse(this.resource.value,this.defaultLocale)},i.prototype.getLabel=function(t){return this.label===null?null:(Array.isArray(t)&&!t.length&&(t=void 0),this.label.getValue(t||this.defaultLocale))},i.prototype.setLabel=function(t){this.label===null&&(this.label=new sr([])),this.label.setValue(t,this.defaultLocale)},i.prototype.getValue=function(t,e){return e===void 0&&(e="<br/>"),this.value===null?null:(Array.isArray(t)&&!t.length&&(t=void 0),this.value.getValue(t||this.defaultLocale,e))},i.prototype.getValues=function(t){return this.value===null?[]:(Array.isArray(t)&&!t.length&&(t=void 0),this.value.getValues(t||this.defaultLocale))},i.prototype.setValue=function(t){this.value===null&&(this.value=new sr([])),this.value.setValue(t,this.defaultLocale)},i})(),bg=(function(){var i=function(t,e){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(r[o]=n[o])},i(t,e)};return function(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");i(t,e);function r(){this.constructor=t}t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}})();(function(i){bg(t,i);function t(){return i!==null&&i.apply(this,arguments)||this}return t.getValue=function(e,r){return e.getValue(r,"<br/>")},t.getValues=function(e,r){return e.getValues(r)},t})(Array);var Re={},ou;function yg(){return ou||(ou=1,Object.defineProperty(Re,"__esModule",{value:!0}),Re.CONTINUE=100,Re.SWITCHING_PROTOCOLS=101,Re.PROCESSING=102,Re.OK=200,Re.CREATED=201,Re.ACCEPTED=202,Re.NON_AUTHORITATIVE_INFORMATION=203,Re.NO_CONTENT=204,Re.RESET_CONTENT=205,Re.PARTIAL_CONTENT=206,Re.MULTI_STATUS=207,Re.MULTIPLE_CHOICES=300,Re.MOVED_PERMANENTLY=301,Re.MOVED_TEMPORARILY=302,Re.SEE_OTHER=303,Re.NOT_MODIFIED=304,Re.USE_PROXY=305,Re.TEMPORARY_REDIRECT=307,Re.BAD_REQUEST=400,Re.UNAUTHORIZED=401,Re.PAYMENT_REQUIRED=402,Re.FORBIDDEN=403,Re.NOT_FOUND=404,Re.METHOD_NOT_ALLOWED=405,Re.NOT_ACCEPTABLE=406,Re.PROXY_AUTHENTICATION_REQUIRED=407,Re.REQUEST_TIME_OUT=408,Re.CONFLICT=409,Re.GONE=410,Re.LENGTH_REQUIRED=411,Re.PRECONDITION_FAILED=412,Re.REQUEST_ENTITY_TOO_LARGE=413,Re.REQUEST_URI_TOO_LARGE=414,Re.UNSUPPORTED_MEDIA_TYPE=415,Re.REQUESTED_RANGE_NOT_SATISFIABLE=416,Re.EXPECTATION_FAILED=417,Re.IM_A_TEAPOT=418,Re.UNPROCESSABLE_ENTITY=422,Re.LOCKED=423,Re.FAILED_DEPENDENCY=424,Re.UNORDERED_COLLECTION=425,Re.UPGRADE_REQUIRED=426,Re.PRECONDITION_REQUIRED=428,Re.TOO_MANY_REQUESTS=429,Re.REQUEST_HEADER_FIELDS_TOO_LARGE=431,Re.INTERNAL_SERVER_ERROR=500,Re.NOT_IMPLEMENTED=501,Re.BAD_GATEWAY=502,Re.SERVICE_UNAVAILABLE=503,Re.GATEWAY_TIME_OUT=504,Re.HTTP_VERSION_NOT_SUPPORTED=505,Re.VARIANT_ALSO_NEGOTIATES=506,Re.INSUFFICIENT_STORAGE=507,Re.BANDWIDTH_LIMIT_EXCEEDED=509,Re.NOT_EXTENDED=510,Re.NETWORK_AUTHENTICATION_REQUIRED=511),Re}var ar=yg();function xg(i,t){return t=t||{},new Promise(function(e,r){var n=new XMLHttpRequest,o=[],a=[],s={},c=function(){return{ok:(n.status/100|0)==2,statusText:n.statusText,status:n.status,url:n.responseURL,text:function(){return Promise.resolve(n.responseText)},json:function(){return Promise.resolve(n.responseText).then(JSON.parse)},blob:function(){return Promise.resolve(new Blob([n.response]))},clone:c,headers:{keys:function(){return o},entries:function(){return a},get:function(u){return s[u.toLowerCase()]},has:function(u){return u.toLowerCase()in s}}}};for(var l in n.open(t.method||"get",i,!0),n.onload=function(){n.getAllResponseHeaders().replace(/^(.*?):[^\S\n]*([\s\S]*?)$/gm,function(u,h,f){o.push(h=h.toLowerCase()),a.push([h,f]),s[h]=s[h]?s[h]+","+f:f}),e(c())},n.onerror=r,n.withCredentials=t.credentials=="include",t.headers)n.setRequestHeader(l,t.headers[l]);n.send(t.body||null)})}const au=q0(Object.freeze(Object.defineProperty({__proto__:null,default:xg},Symbol.toStringTag,{value:"Module"})));var ls,su;function Tg(){return su||(su=1,ls=self.fetch||(self.fetch=au.default||au)),ls}Tg();var cs=function(i,t,e,r){function n(o){return o instanceof e?o:new e(function(a){a(o)})}return new(e||(e=Promise))(function(o,a){function s(u){try{l(r.next(u))}catch(h){a(h)}}function c(u){try{l(r.throw(u))}catch(h){a(h)}}function l(u){u.done?o(u.value):n(u.value).then(s,c)}l((r=r.apply(i,t||[])).next())})},us=function(i,t){var e={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},r,n,o,a=Object.create((typeof Iterator=="function"?Iterator:Object).prototype);return a.next=s(0),a.throw=s(1),a.return=s(2),typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function s(l){return function(u){return c([l,u])}}function c(l){if(r)throw new TypeError("Generator is already executing.");for(;a&&(a=0,l[0]&&(e=0)),e;)try{if(r=1,n&&(o=l[0]&2?n.return:l[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,l[1])).done)return o;switch(n=0,o&&(l=[l[0]&2,o.value]),l[0]){case 0:case 1:o=l;break;case 4:return e.label++,{value:l[1],done:!1};case 5:e.label++,n=l[1],l=[0];continue;case 7:l=e.ops.pop(),e.trys.pop();continue;default:if(o=e.trys,!(o=o.length>0&&o[o.length-1])&&(l[0]===6||l[0]===2)){e=0;continue}if(l[0]===3&&(!o||l[1]>o[0]&&l[1]<o[3])){e.label=l[1];break}if(l[0]===6&&e.label<o[1]){e.label=o[1],o=l;break}if(o&&e.label<o[2]){e.label=o[2],e.ops.push(l);break}o[2]&&e.ops.pop(),e.trys.pop();continue}l=t.call(i,e)}catch(u){l=[6,u],n=0}finally{r=o=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}},Ge=(function(){function i(){}return i.getMediaType=function(t){return t=t.toLowerCase(),t=t.split(";")[0],t.trim()},i.getImageQuality=function(t){return t===ge.ServiceProfile.IMAGE_0_COMPLIANCE_LEVEL_1||t===ge.ServiceProfile.IMAGE_0_COMPLIANCE_LEVEL_2||t===ge.ServiceProfile.IMAGE_1_COMPLIANCE_LEVEL_1||t===ge.ServiceProfile.IMAGE_1_COMPLIANCE_LEVEL_2||t===ge.ServiceProfile.IMAGE_0_CONFORMANCE_LEVEL_1||t===ge.ServiceProfile.IMAGE_0_CONFORMANCE_LEVEL_2||t===ge.ServiceProfile.IMAGE_1_CONFORMANCE_LEVEL_1||t===ge.ServiceProfile.IMAGE_1_CONFORMANCE_LEVEL_2||t===ge.ServiceProfile.IMAGE_1_LEVEL_1||t===ge.ServiceProfile.IMAGE_1_PROFILE_LEVEL_1||t===ge.ServiceProfile.IMAGE_1_LEVEL_2||t===ge.ServiceProfile.IMAGE_1_PROFILE_LEVEL_2?"native":"default"},i.getInexactLocale=function(t){return t.indexOf("-")!==-1?t.substr(0,t.indexOf("-")):t},i.getLocalisedValue=function(t,e){if(!Array.isArray(t))return t;for(var r=0;r<t.length;r++){var n=t[r],o=n["@language"];if(e===o)return n["@value"]}for(var a=e.substr(0,e.indexOf("-")),r=0;r<t.length;r++){var s=t[r],c=s["@language"];if(c===a)return s["@value"]}return null},i.generateTreeNodeIds=function(t,e){e===void 0&&(e=0);var r;t.parentNode?r=t.parentNode.id+"-"+e:r="0",t.id=r;for(var n=0;n<t.nodes.length;n++){var o=t.nodes[n];i.generateTreeNodeIds(o,n)}},i.normaliseType=function(t){if(t=(t||"").toLowerCase(),t.indexOf(":")!==-1){var e=t.split(":");return e[1]}return t},i.normaliseUrl=function(t){return t=t.substr(t.indexOf("://")),t.indexOf("#")!==-1&&(t=t.split("#")[0]),t},i.normalisedUrlsMatch=function(t,e){return i.normaliseUrl(t)===i.normaliseUrl(e)},i.isImageProfile=function(t){return!!(i.normalisedUrlsMatch(t,ge.ServiceProfile.IMAGE_0_COMPLIANCE_LEVEL_0)||i.normalisedUrlsMatch(t,ge.ServiceProfile.IMAGE_0_COMPLIANCE_LEVEL_1)||i.normalisedUrlsMatch(t,ge.ServiceProfile.IMAGE_0_COMPLIANCE_LEVEL_2)||i.normalisedUrlsMatch(t,ge.ServiceProfile.IMAGE_1_COMPLIANCE_LEVEL_0)||i.normalisedUrlsMatch(t,ge.ServiceProfile.IMAGE_1_COMPLIANCE_LEVEL_2)||i.normalisedUrlsMatch(t,ge.ServiceProfile.IMAGE_0_CONFORMANCE_LEVEL_0)||i.normalisedUrlsMatch(t,ge.ServiceProfile.IMAGE_0_CONFORMANCE_LEVEL_1)||i.normalisedUrlsMatch(t,ge.ServiceProfile.IMAGE_0_CONFORMANCE_LEVEL_2)||i.normalisedUrlsMatch(t,ge.ServiceProfile.IMAGE_1_CONFORMANCE_LEVEL_1)||i.normalisedUrlsMatch(t,ge.ServiceProfile.IMAGE_1_CONFORMANCE_LEVEL_2)||i.normalisedUrlsMatch(t,ge.ServiceProfile.IMAGE_1_LEVEL_0)||i.normalisedUrlsMatch(t,ge.ServiceProfile.IMAGE_1_PROFILE_LEVEL_0)||i.normalisedUrlsMatch(t,ge.ServiceProfile.IMAGE_1_LEVEL_1)||i.normalisedUrlsMatch(t,ge.ServiceProfile.IMAGE_1_PROFILE_LEVEL_1)||i.normalisedUrlsMatch(t,ge.ServiceProfile.IMAGE_1_LEVEL_2)||i.normalisedUrlsMatch(t,ge.ServiceProfile.IMAGE_1_PROFILE_LEVEL_2)||i.normalisedUrlsMatch(t,ge.ServiceProfile.IMAGE_2_LEVEL_0)||i.normalisedUrlsMatch(t,ge.ServiceProfile.IMAGE_2_PROFILE_LEVEL_0)||i.normalisedUrlsMatch(t,ge.ServiceProfile.IMAGE_2_LEVEL_1)||i.normalisedUrlsMatch(t,ge.ServiceProfile.IMAGE_2_PROFILE_LEVEL_1)||i.normalisedUrlsMatch(t,ge.ServiceProfile.IMAGE_2_LEVEL_2)||i.normalisedUrlsMatch(t,ge.ServiceProfile.IMAGE_2_PROFILE_LEVEL_2))},i.isImageServiceType=function(t){return t!==null&&t.toLowerCase()===ge.ServiceType.IMAGE_SERVICE_2.toLowerCase()||t===ge.ServiceType.IMAGE_SERVICE_3.toLowerCase()},i.isLevel0ImageProfile=function(t){return!!(i.normalisedUrlsMatch(t,ge.ServiceProfile.IMAGE_0_COMPLIANCE_LEVEL_0)||i.normalisedUrlsMatch(t,ge.ServiceProfile.IMAGE_1_COMPLIANCE_LEVEL_0)||i.normalisedUrlsMatch(t,ge.ServiceProfile.IMAGE_0_CONFORMANCE_LEVEL_0)||i.normalisedUrlsMatch(t,ge.ServiceProfile.IMAGE_1_CONFORMANCE_LEVEL_0)||i.normalisedUrlsMatch(t,ge.ServiceProfile.IMAGE_1_LEVEL_0)||i.normalisedUrlsMatch(t,ge.ServiceProfile.IMAGE_1_PROFILE_LEVEL_0)||i.normalisedUrlsMatch(t,ge.ServiceProfile.IMAGE_2_LEVEL_0)||i.normalisedUrlsMatch(t,ge.ServiceProfile.IMAGE_2_PROFILE_LEVEL_0))},i.isLevel1ImageProfile=function(t){return!!(i.normalisedUrlsMatch(t,ge.ServiceProfile.IMAGE_0_COMPLIANCE_LEVEL_1)||i.normalisedUrlsMatch(t,ge.ServiceProfile.IMAGE_1_COMPLIANCE_LEVEL_1)||i.normalisedUrlsMatch(t,ge.ServiceProfile.IMAGE_0_CONFORMANCE_LEVEL_1)||i.normalisedUrlsMatch(t,ge.ServiceProfile.IMAGE_1_CONFORMANCE_LEVEL_1)||i.normalisedUrlsMatch(t,ge.ServiceProfile.IMAGE_1_LEVEL_1)||i.normalisedUrlsMatch(t,ge.ServiceProfile.IMAGE_1_PROFILE_LEVEL_1)||i.normalisedUrlsMatch(t,ge.ServiceProfile.IMAGE_2_LEVEL_1)||i.normalisedUrlsMatch(t,ge.ServiceProfile.IMAGE_2_PROFILE_LEVEL_1))},i.isLevel2ImageProfile=function(t){return!!(i.normalisedUrlsMatch(t,ge.ServiceProfile.IMAGE_0_COMPLIANCE_LEVEL_2)||i.normalisedUrlsMatch(t,ge.ServiceProfile.IMAGE_1_COMPLIANCE_LEVEL_2)||i.normalisedUrlsMatch(t,ge.ServiceProfile.IMAGE_0_CONFORMANCE_LEVEL_2)||i.normalisedUrlsMatch(t,ge.ServiceProfile.IMAGE_1_CONFORMANCE_LEVEL_2)||i.normalisedUrlsMatch(t,ge.ServiceProfile.IMAGE_1_LEVEL_2)||i.normalisedUrlsMatch(t,ge.ServiceProfile.IMAGE_1_PROFILE_LEVEL_2)||i.normalisedUrlsMatch(t,ge.ServiceProfile.IMAGE_2_LEVEL_2)||i.normalisedUrlsMatch(t,ge.ServiceProfile.IMAGE_2_PROFILE_LEVEL_2))},i.parseManifest=function(t,e){return cu.parse(t,e)},i.checkStatus=function(t){if(t.ok)return t;var e=new Error(t.statusText);return e.response=t,Promise.reject(e)},i.loadManifest=function(t){return new Promise(function(e,r){fetch(t).then(i.checkStatus).then(function(n){return n.json()}).then(function(n){e(n)}).catch(function(n){r()})})},i.loadExternalResourcesAuth1=function(t,e,r,n,o,a,s,c){return new Promise(function(l,u){var h=t.map(function(f){return i.loadExternalResourceAuth1(f,e,r,n,o,a,s,c)});Promise.all(h).then(function(){l(t)}).catch(function(f){u(f)})})},i.loadExternalResourceAuth1=function(t,e,r,n,o,a,s,c){return cs(this,void 0,void 0,function(){var l;return us(this,function(u){switch(u.label){case 0:return[4,n(t)];case 1:return l=u.sent(),l?[4,t.getData(l)]:[3,6];case 2:return u.sent(),t.status!==ar.OK?[3,3]:[2,t];case 3:return[4,i.doAuthChain(t,e,r,o,a,s,c)];case 4:u.sent(),u.label=5;case 5:if(t.status===ar.OK||t.status===ar.MOVED_TEMPORARILY)return[2,t];throw i.createAuthorizationFailedError();case 6:return[4,t.getData()];case 7:return u.sent(),t.status===ar.MOVED_TEMPORARILY||t.status===ar.UNAUTHORIZED?[4,i.doAuthChain(t,e,r,o,a,s,c)]:[3,9];case 8:u.sent(),u.label=9;case 9:if(t.status===ar.OK||t.status===ar.MOVED_TEMPORARILY)return[2,t];throw i.createAuthorizationFailedError()}})})},i.doAuthChain=function(t,e,r,n,o,a,s){return cs(this,void 0,void 0,function(){var c,l,u,h,f,v,_,d,d;return us(this,function(g){switch(g.label){case 0:return t.isAccessControlled()?(c=t.externalService,c&&(c.options=t.options),l=t.kioskService,l&&(l.options=t.options),u=t.clickThroughService,u&&(u.options=t.options),h=t.loginService,h&&(h.options=t.options),!t.isResponseHandled&&t.status===ar.MOVED_TEMPORARILY?[4,a(t)]:[3,2]):[2,t];case 1:return g.sent(),[2,t];case 2:return f=null,v=null,f=c,f?(v=f,[4,i.attemptResourceWithToken(t,r,f)]):[3,4];case 3:return g.sent(),[2,t];case 4:return f=l,f?(v=f,_=e(f),_?[4,n(_)]:[3,7]):[3,7];case 5:return g.sent(),[4,i.attemptResourceWithToken(t,r,f)];case 6:return g.sent(),[2,t];case 7:return f=u,f?(v=f,[4,o(t,f)]):[3,11];case 8:return d=g.sent(),d?[4,n(d)]:[3,11];case 9:return g.sent(),[4,i.attemptResourceWithToken(t,r,f)];case 10:return g.sent(),[2,t];case 11:return f=h,f?(v=f,[4,o(t,f)]):[3,15];case 12:return d=g.sent(),d?[4,n(d)]:[3,15];case 13:return g.sent(),[4,i.attemptResourceWithToken(t,r,f)];case 14:return g.sent(),[2,t];case 15:return v&&s(t,v),[2]}})})},i.attemptResourceWithToken=function(t,e,r){return cs(this,void 0,void 0,function(){var n,o;return us(this,function(a){switch(a.label){case 0:return n=r.getService(ge.ServiceProfile.AUTH_1_TOKEN),n?[4,e(t,n)]:[3,3];case 1:return o=a.sent(),o&&o.accessToken?[4,t.getData(o)]:[3,3];case 2:return a.sent(),[2,t];case 3:return[2]}})})},i.loadExternalResourcesAuth09=function(t,e,r,n,o,a,s,c,l,u){return new Promise(function(h,f){var v=t.map(function(_){return i.loadExternalResourceAuth09(_,e,r,n,o,a,s,c,l,u)});Promise.all(v).then(function(){h(t)}).catch(function(_){f(_)})})},i.loadExternalResourceAuth09=function(t,e,r,n,o,a,s,c,l,u){return new Promise(function(h,f){u&&u.pessimisticAccessControl?t.getData().then(function(){t.isAccessControlled()?t.clickThroughService?(h(r(t)),h(n(t))):o(t).then(function(){a(t,!0).then(function(v){t.getData(v).then(function(){h(l(t))}).catch(function(_){f(i.createInternalServerError(_))})}).catch(function(v){f(i.createInternalServerError(v))})}).catch(function(v){f(i.createInternalServerError(v))}):h(t)}).catch(function(v){f(i.createInternalServerError(v))}):c(t,e).then(function(v){v?t.getData(v).then(function(){t.status===ar.OK?h(l(t)):i.authorize(t,e,r,n,o,a,s,c).then(function(){h(l(t))}).catch(function(_){f(i.createAuthorizationFailedError())})}).catch(function(_){f(i.createAuthorizationFailedError())}):i.authorize(t,e,r,n,o,a,s,c).then(function(){h(l(t))}).catch(function(_){f(i.createAuthorizationFailedError())})}).catch(function(v){f(i.createAuthorizationFailedError())})})},i.createError=function(t,e){var r=new Error;return r.message=e,r.name=String(t),r},i.createAuthorizationFailedError=function(){return i.createError(wn.AUTHORIZATION_FAILED,"Authorization failed")},i.createRestrictedError=function(){return i.createError(wn.RESTRICTED,"Restricted")},i.createInternalServerError=function(t){return i.createError(wn.INTERNAL_SERVER_ERROR,t)},i.authorize=function(t,e,r,n,o,a,s,c){return new Promise(function(l,u){t.getData().then(function(){t.isAccessControlled()?c(t,e).then(function(h){h?t.getData(h).then(function(){t.status===ar.OK?l(t):i.showAuthInteraction(t,e,r,n,o,a,s,l,u)}).catch(function(f){u(i.createInternalServerError(f))}):a(t,!1).then(function(f){f?s(t,f,e).then(function(){t.getData(f).then(function(){t.status===ar.OK?l(t):i.showAuthInteraction(t,e,r,n,o,a,s,l,u)}).catch(function(v){u(i.createInternalServerError(v))})}).catch(function(v){u(i.createInternalServerError(v))}):i.showAuthInteraction(t,e,r,n,o,a,s,l,u)})}).catch(function(h){u(i.createInternalServerError(h))}):l(t)})})},i.showAuthInteraction=function(t,e,r,n,o,a,s,c,l){t.status===ar.MOVED_TEMPORARILY&&!t.isResponseHandled?c(t):t.clickThroughService&&!t.isResponseHandled?r(t).then(function(){a(t,!0).then(function(u){s(t,u,e).then(function(){t.getData(u).then(function(){c(t)}).catch(function(h){l(i.createInternalServerError(h))})}).catch(function(h){l(i.createInternalServerError(h))})}).catch(function(u){l(i.createInternalServerError(u))})}):o(t).then(function(){a(t,!0).then(function(u){s(t,u,e).then(function(){t.getData(u).then(function(){c(t)}).catch(function(h){l(i.createInternalServerError(h))})}).catch(function(h){l(i.createInternalServerError(h))})}).catch(function(u){l(i.createInternalServerError(u))})})},i.getService=function(t,e){for(var r=this.getServices(t),n=0;n<r.length;n++){var o=r[n];if(o.getProfile()===e)return o}return null},i.getResourceById=function(t,e){return i.traverseAndFind(t.__jsonld,"@id",e)},i.traverseAndFind=function(t,e,r){if(t.hasOwnProperty(e)&&t[e]===r)return t;for(var n=0;n<Object.keys(t).length;n++)if(typeof t[Object.keys(t)[n]]=="object"){var o=i.traverseAndFind(t[Object.keys(t)[n]],e,r);if(o!=null)return o}},i.getServices=function(t,e){var r=e===void 0?{}:e,n=r.onlyService,o=n===void 0?!1:n,a=r.onlyServices,s=a===void 0?!1:a,c=r.skipParentResources,l=c===void 0?!1:c,u=[];!l&&t&&t.options&&t.options.resource&&t.options.resource!==t&&u.push.apply(u,i.getServices(t.options.resource,{onlyServices:!0}));var h=s?[]:(t.__jsonld||t).service||[];if(Array.isArray(h)||(h=[h]),o||h.push.apply(h,(t.__jsonld||t).services||[]),h.length===0)return u;for(var f=0;f<h.length;f++){var v=h[f];if(typeof v=="string"){var _=this.getResourceById(t.options.resource,v);_&&u.push(new uu(_.__jsonld||_,t.options))}else u.push(new uu(v,t.options))}return u},i.getTemporalComponent=function(t){var e=/t=([^&]+)/g.exec(t),r=null;return e&&e[1]&&(r=e[1].split(",")),r},i})(),Eg=(function(){var i=function(t,e){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(r[o]=n[o])},i(t,e)};return function(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");i(t,e);function r(){this.constructor=t}t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}})(),Ui=(function(){function i(t,e,r){r===void 0&&(r="none"),Array.isArray(t)&&t.length===1?this._value=t[0]:this._value=t,(e==="none"||e==="@none")&&(e=void 0),this._locale=e,this._defaultLocale=r}return i.parseV2Value=function(t,e){return typeof t=="string"?new i(t,void 0,e):t["@value"]?new i(t["@value"],t["@language"],e):null},Object.defineProperty(i.prototype,"value",{get:function(){return Array.isArray(this._value)?this._value.join("<br/>"):this._value},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"locale",{get:function(){return this._locale===void 0?this._defaultLocale:this._locale},enumerable:!1,configurable:!0}),i.prototype.addValue=function(t){Array.isArray(this._value)||(this._value=[this._value]),Array.isArray(t)?this._value=this._value.concat(t):this._value.push(t)},i})(),sr=(function(i){Eg(t,i);function t(e,r){e===void 0&&(e=[]);var n=i.apply(this,e)||this;return n.__proto__=t.prototype,n._defaultLocale=r,n}return t.parse=function(e,r){if(!e)return new t([],r);if(Array.isArray(e)){var n=e.map(function(a){return Ui.parseV2Value(a,r)}).filter(function(a){return a!==null}),o=n.reduce(function(a,s){var c=s._locale;return c||(c="none"),a[c]?a[c].addValue(s._value):a[c]=s,a},{});return new t(Object.values(o),r)}else{if(typeof e=="string")return new t([new Ui(e,void 0,r)],r);if(e["@language"]){var n=Ui.parseV2Value(e);return new t(n!==null?[n]:[],r)}else if(e["@value"]){var n=Ui.parseV2Value(e);return new t(n!==null?[n]:[],r)}else return new t(Object.keys(e).map(function(a){var s=e[a];if(!Array.isArray(s))throw new Error("A IIIF v3 localized property value must have an array as the value for a given language.");return new Ui(s,a,r)}),r)}},t.prototype.getSuitableLocale=function(e){for(var r=Array.from(this.values()).map(function(v){return v._locale}).filter(function(v){return v!==void 0}),n=function(v){var _=r.find(function(d){return d===v});if(_)return{value:_}},o=0,a=e;o<a.length;o++){var s=a[o],c=n(s);if(typeof c=="object")return c.value}for(var l=function(v){var _=r.find(function(d){return Ge.getInexactLocale(d)===Ge.getInexactLocale(v)});if(_)return{value:_}},u=0,h=e;u<h.length;u++){var s=h[u],f=l(s);if(typeof f=="object")return f.value}},t.prototype.setValue=function(e,r){var n=void 0;if(!r)n=this.find(function(a){return a._locale===void 0});else{var o=this.getSuitableLocale([r]);o&&(n=this.find(function(a){return a._locale===o}))}n?n._value=e:this.push(new Ui(e,r,this._defaultLocale))},t.prototype.getValue=function(e,r){var n=this.getValues(e);return n.length===0?null:r?n.join(r):n[0]},t.prototype.getValues=function(e){if(!this.length)return[];var r;if(e?Array.isArray(e)?r=e:r=[e]:r=[],this.length===1&&this[0]._locale===void 0){var n=this[0]._value;return Array.isArray(n)?n:[n]}var o=this.getSuitableLocale(r);if(o){var n=this.find(function(l){return l._locale===o})._value;return Array.isArray(n)?n:[n]}var a=!this.find(function(c){return c._locale===void 0});if(a){var n=this[0]._value;return Array.isArray(n)?n:[n]}var s=this.find(function(c){return c._locale===void 0});return s?Array.isArray(s._value)?s._value:[s._value]:[]},t})(Array),kg=(function(){var i=function(t,e){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(r[o]=n[o])},i(t,e)};return function(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");i(t,e);function r(){this.constructor=t}t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}})(),Sg=(function(i){kg(t,i);function t(e,r){var n=i.call(this,e,r)||this;if(n.index=0,n._allRanges=null,n.items=[],n._topRanges=[],n.__jsonld.structures&&n.__jsonld.structures.length)for(var o=n._getTopRanges(),a=0;a<o.length;a++){var s=o[a];n._parseRanges(s,String(a))}return n}return t.prototype.getPosterCanvas=function(){var e=this.getProperty("posterCanvas");return e&&(e=new Vo(e,this.options)),e},t.prototype.getAccompanyingCanvas=function(){var e=this.getProperty("accompanyingCanvas");return e&&(e=new Vo(e,this.options)),e},t.prototype.getBehavior=function(){var e=this.getProperty("behavior");return Array.isArray(e)&&(e=e[0]),e||null},t.prototype.getDefaultTree=function(){if(i.prototype.getDefaultTree.call(this),this.defaultTree.data.type=Ge.normaliseType(Rr.MANIFEST),!this.isLoaded)return this.defaultTree;var e=this.getTopRanges();return e.length&&e[0].getTree(this.defaultTree),Ge.generateTreeNodeIds(this.defaultTree),this.defaultTree},t.prototype._getTopRanges=function(){var e=[];if(this.__jsonld.structures&&this.__jsonld.structures.length){for(var r=0;r<this.__jsonld.structures.length;r++){var n=this.__jsonld.structures[r];n.viewingHint===ge.ViewingHint.TOP&&e.push(n)}if(!e.length){var o={};o.ranges=this.__jsonld.structures,e.push(o)}}return e},t.prototype.getTopRanges=function(){return this._topRanges},t.prototype._getRangeById=function(e){if(this.__jsonld.structures&&this.__jsonld.structures.length)for(var r=0;r<this.__jsonld.structures.length;r++){var n=this.__jsonld.structures[r];if(n["@id"]===e||n.id===e)return n}return null},t.prototype._parseRanges=function(e,r,n){var o=null;if(typeof e=="string"&&(o=e,e=this._getRangeById(o)),!e){console.warn("Range:",o,"does not exist");return}var a=new Pg(e,this.options);a.parentRange=n,a.path=r,n?n.items.push(a):this._topRanges.push(a);var s=e.items||e.members;if(s)for(var c=0;c<s.length;c++){var l=s[c];if(l["@type"]&&l["@type"].toLowerCase()==="sc:range"||l.type&&l.type.toLowerCase()==="range")this._parseRanges(l,r+"/"+c,a);else if(l["@type"]&&l["@type"].toLowerCase()==="sc:canvas"||l.type&&l.type.toLowerCase()==="canvas"){a.canvases||(a.canvases=[]);var u=l.id||l["@id"];a.canvases.push(u)}}else if(e.ranges)for(var c=0;c<e.ranges.length;c++)this._parseRanges(e.ranges[c],r+"/"+c,a)},t.prototype.getAllRanges=function(){if(this._allRanges!=null)return this._allRanges;this._allRanges=[];for(var e=this.getTopRanges(),r=function(a){var s=e[a];s.id&&n._allRanges.push(s);var c=function(u,h){u.add(h);var f=h.getRanges();return f.length?f.reduce(c,u):u},l=Array.from(s.getRanges().reduce(c,new Set));n._allRanges=n._allRanges.concat(l)},n=this,o=0;o<e.length;o++)r(o);return this._allRanges},t.prototype.getRangeById=function(e){for(var r=this.getAllRanges(),n=0;n<r.length;n++){var o=r[n];if(o.id===e)return o}return null},t.prototype.getRangeByPath=function(e){for(var r=this.getAllRanges(),n=0;n<r.length;n++){var o=r[n];if(o.path===e)return o}return null},t.prototype.getSequences=function(){if(this.items.length)return this.items;var e=this.__jsonld.mediaSequences||this.__jsonld.sequences;if(e)for(var r=0;r<e.length;r++){var n=e[r],o=new lu(n,this.options);this.items.push(o)}else if(this.__jsonld.items){var o=new lu(this.__jsonld.items,this.options);this.items.push(o)}return this.items},t.prototype.getSequenceByIndex=function(e){return this.getSequences()[e]},t.prototype.getTotalSequences=function(){return this.getSequences().length},t.prototype.getManifestType=function(){var e=this.getService(ge.ServiceProfile.UI_EXTENSIONS);return e?e.getProperty("manifestType"):hs.EMPTY},t.prototype.isMultiSequence=function(){return this.getTotalSequences()>1},t.prototype.isPagingEnabled=function(){var e=this.getViewingHint();if(e)return e===ge.ViewingHint.PAGED;var r=this.getBehavior();return r?r===ge.Behavior.PAGED:!1},t.prototype.getViewingDirection=function(){return this.getProperty("viewingDirection")},t.prototype.getViewingHint=function(){var e=this.getProperty("viewingHint");return Array.isArray(e)&&(e=e[0]),e||null},t})(Fc),hs;(function(i){i.EMPTY="",i.MANUSCRIPT="manuscript",i.MONOGRAPH="monograph"})(hs||(hs={}));var Cg=(function(){var i=function(t,e){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(r[o]=n[o])},i(t,e)};return function(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");i(t,e);function r(){this.constructor=t}t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}})(),Pg=(function(i){Cg(t,i);function t(e,r){var n=i.call(this,e,r)||this;return n._ranges=null,n.canvases=null,n.items=[],n}return t.prototype.getCanvasIds=function(){return this.__jsonld.canvases?this.__jsonld.canvases:this.canvases?this.canvases:[]},t.prototype.getDuration=function(){if(this.canvases&&this.canvases.length){for(var e=[],r=[],n=0,o=this.canvases;n<o.length;n++){var a=o[n];if(a){var s=a.match(/(.*)#t=([0-9.]+),?([0-9.]+)?/)||[void 0,a],c=s[1],l=s[2],u=s[3];c&&(e.push(parseFloat(l)),r.push(parseFloat(u)))}}if(e.length&&r.length)return new ss(Math.min.apply(Math,e),Math.max.apply(Math,r))}else{for(var h=this.getRanges(),e=[],r=[],f=0,v=h;f<v.length;f++){var _=v[f],d=_.getDuration();d&&(e.push(d.start),r.push(d.end))}if(e.length&&r.length)return new ss(Math.min.apply(Math,e),Math.max.apply(Math,r))}var g,b;if(this.canvases&&this.canvases.length)for(var S=0;S<this.canvases.length;S++){var a=this.canvases[S],P=Ge.getTemporalComponent(a);P&&P.length>1&&(S===0&&(g=Number(P[0])),S===this.canvases.length-1&&(b=Number(P[1])))}else for(var h=this.getRanges(),S=0;S<h.length;S++){var _=h[S],d=_.getDuration();d&&(S===0&&(g=d.start),S===h.length-1&&(b=d.end))}if(g!==void 0&&b!==void 0)return new ss(g,b)},t.prototype.getRanges=function(){return this._ranges?this._ranges:this._ranges=this.items.filter(function(e){return e.isRange()})},t.prototype.getBehavior=function(){var e=this.getProperty("behavior");return Array.isArray(e)&&(e=e[0]),e||null},t.prototype.getViewingDirection=function(){return this.getProperty("viewingDirection")},t.prototype.getViewingHint=function(){var e=this.getProperty("viewingHint");return Array.isArray(e)&&(e=e[0]),e||null},t.prototype.getTree=function(e){e.data=this,this.treeNode=e;var r=this.getRanges();if(r&&r.length)for(var n=0;n<r.length;n++){var o=r[n],a=new ds;e.addNode(a),this._parseTreeNode(a,o)}return Ge.generateTreeNodeIds(e),e},t.prototype.spansTime=function(e){var r=this.getDuration();return!!(r&&e>=r.start&&e<=r.end)},t.prototype._parseTreeNode=function(e,r){e.label=r.getLabel().getValue(this.options.locale),e.data=r,e.data.type=Ge.normaliseType(Rr.RANGE),r.treeNode=e;var n=r.getRanges();if(n&&n.length)for(var o=0;o<n.length;o++){var a=n[o],s=a.getBehavior();if(s!==ge.Behavior.NO_NAV){var c=new ds;e.addNode(c),this._parseTreeNode(c,a)}}},t})(Br),Ag=(function(){var i=function(t,e){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(r[o]=n[o])},i(t,e)};return function(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");i(t,e);function r(){this.constructor=t}t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}})(),Rg=(function(i){Ag(t,i);function t(e,r){return i.call(this,e,r)||this}return t.prototype.getFormat=function(){return this.getProperty("format")},t})(Br),Ig=(function(){var i=function(t,e){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(r[o]=n[o])},i(t,e)};return function(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");i(t,e);function r(){this.constructor=t}t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}})(),lu=(function(i){Ig(t,i);function t(e,r){var n=i.call(this,e,r)||this;return n.items=[],n._thumbnails=null,n}return t.prototype.getCanvases=function(){if(this.items.length)return this.items;var e=this.__jsonld.canvases||this.__jsonld.elements;if(e)for(var r=0;r<e.length;r++){var n=e[r],o=new Vo(n,this.options);o.index=r,this.items.push(o)}else if(this.__jsonld)for(var r=0;r<this.__jsonld.length;r++){var n=this.__jsonld[r],o=new Vo(n,this.options);o.index=r,this.items.push(o)}return this.items},t.prototype.getCanvasById=function(e){for(var r=0;r<this.getTotalCanvases();r++){var n=this.getCanvasByIndex(r),o=Ge.normaliseUrl(n.id);if(Ge.normaliseUrl(e)===o)return n}return null},t.prototype.getCanvasByIndex=function(e){return this.getCanvases()[e]},t.prototype.getCanvasIndexById=function(e){for(var r=0;r<this.getTotalCanvases();r++){var n=this.getCanvasByIndex(r);if(n.id===e)return r}return null},t.prototype.getCanvasIndexByLabel=function(e,r){e=e.trim(),isNaN(e)||(e=parseInt(e,10).toString(),r&&(e+="r"));for(var n=/(\d*)\D+(\d*)/,o,a,s,c,l,u=0;u<this.getTotalCanvases();u++){var h=this.getCanvasByIndex(u);if(h.getLabel().getValue(this.options.locale)===e)return u;if(o=n.exec(e),!!o&&(c=o[1],l=o[2],!!l&&(s="^"+c+"\\D+"+l+"$",a=new RegExp(s),a.test(h.getLabel().toString()))))return u}return-1},t.prototype.getLastCanvasLabel=function(e){for(var r=this.getTotalCanvases()-1;r>=0;r--){var n=this.getCanvasByIndex(r),o=n.getLabel().getValue(this.options.locale);if(e){var a=/^[a-zA-Z0-9]*$/;if(a.test(o))return o}else if(o)return o}return this.options.defaultLabel},t.prototype.getLastPageIndex=function(){return this.getTotalCanvases()-1},t.prototype.getNextPageIndex=function(e,r){var n;if(r){var o=this.getPagedIndices(e),a=this.getViewingDirection();a&&a===ge.ViewingDirection.RIGHT_TO_LEFT?n=o[0]+1:n=o[o.length-1]+1}else n=e+1;return n>this.getLastPageIndex()?-1:n},t.prototype.getPagedIndices=function(e,r){var n=[];if(!r)n.push(e);else{this.isFirstCanvas(e)||this.isLastCanvas(e)?n=[e]:e%2?n=[e,e+1]:n=[e-1,e];var o=this.getViewingDirection();o&&o===ge.ViewingDirection.RIGHT_TO_LEFT&&(n=n.reverse())}return n},t.prototype.getPrevPageIndex=function(e,r){var n;if(r){var o=this.getPagedIndices(e),a=this.getViewingDirection();a&&a===ge.ViewingDirection.RIGHT_TO_LEFT?n=o[o.length-1]-1:n=o[0]-1}else n=e-1;return n},t.prototype.getStartCanvasIndex=function(){var e=this.getStartCanvas();if(e)for(var r=0;r<this.getTotalCanvases();r++){var n=this.getCanvasByIndex(r);if(n.id===e)return r}return 0},t.prototype.getThumbs=function(e,r){for(var n=[],o=this.getTotalCanvases(),a=0;a<o;a++){var s=this.getCanvasByIndex(a),c=new Dg(e,s);n.push(c)}return n},t.prototype.getThumbnails=function(){if(this._thumbnails!=null)return this._thumbnails;this._thumbnails=[];for(var e=this.getCanvases(),r=0;r<e.length;r++){var n=e[r].getThumbnail();n&&this._thumbnails.push(n)}return this._thumbnails},t.prototype.getStartCanvas=function(){return this.getProperty("startCanvas")},t.prototype.getTotalCanvases=function(){return this.getCanvases().length},t.prototype.getViewingDirection=function(){return this.getProperty("viewingDirection")?this.getProperty("viewingDirection"):this.options.resource.getViewingDirection?this.options.resource.getViewingDirection():null},t.prototype.getViewingHint=function(){var e=this.getProperty("viewingHint");return Array.isArray(e)&&(e=e[0]),e||null},t.prototype.isCanvasIndexOutOfRange=function(e){return e>this.getTotalCanvases()-1},t.prototype.isFirstCanvas=function(e){return e===0},t.prototype.isLastCanvas=function(e){return e===this.getTotalCanvases()-1},t.prototype.isMultiCanvas=function(){return this.getTotalCanvases()>1},t.prototype.isPagingEnabled=function(){var e=this.getViewingHint();return e?e===ge.ViewingHint.PAGED:!1},t.prototype.isTotalCanvasesEven=function(){return this.getTotalCanvases()%2===0},t})(Br),cu=(function(){function i(){}return i.parse=function(t,e){return typeof t=="string"&&(t=JSON.parse(t)),this.parseJson(t,e)},i.parseJson=function(t,e){var r;if(e&&e.navDate&&!isNaN(e.navDate.getTime())&&(t.navDate=e.navDate.toString()),t["@type"])switch(t["@type"]){case"sc:Collection":r=this.parseCollection(t,e);break;case"sc:Manifest":r=this.parseManifest(t,e);break;default:return null}else switch(t.type){case"Collection":r=this.parseCollection(t,e);break;case"Manifest":r=this.parseManifest(t,e);break;default:return null}return r.isLoaded=!0,r},i.parseCollection=function(t,e){var r=new wg(t,e);return e?(r.index=e.index||0,e.resource&&(r.parentCollection=e.resource.parentCollection)):r.index=0,this.parseCollections(r,e),this.parseManifests(r,e),this.parseItems(r,e),r},i.parseCollections=function(t,e){var r;if(t.__jsonld.collections?r=t.__jsonld.collections:t.__jsonld.items&&(r=t.__jsonld.items.filter(function(a){return a.type.toLowerCase()==="collection"})),r)for(var n=0;n<r.length;n++){e&&(e.index=n);var o=this.parseCollection(r[n],e);o.index=n,o.parentCollection=t,t.items.push(o)}},i.parseManifest=function(t,e){var r=new Sg(t,e);return r},i.parseManifests=function(t,e){var r;if(t.__jsonld.manifests?r=t.__jsonld.manifests:t.__jsonld.items&&(r=t.__jsonld.items.filter(function(a){return a.type.toLowerCase()==="manifest"})),r)for(var n=0;n<r.length;n++){var o=this.parseManifest(r[n],e);o.index=n,o.parentCollection=t,t.items.push(o)}},i.parseItem=function(t,e){if(t["@type"]){if(t["@type"].toLowerCase()==="sc:manifest")return this.parseManifest(t,e);if(t["@type"].toLowerCase()==="sc:collection")return this.parseCollection(t,e)}else if(t.type){if(t.type.toLowerCase()==="manifest")return this.parseManifest(t,e);if(t.type.toLowerCase()==="collection")return this.parseCollection(t,e)}return null},i.parseItems=function(t,e){var r=t.__jsonld.members||t.__jsonld.items;if(r)for(var n=function(c){e&&(e.index=c);var l=o.parseItem(r[c],e);if(!l)return{value:void 0};if(t.items.filter(function(u){return u.id===l.id})[0])return"continue";l.index=c,l.parentCollection=t,t.items.push(l)},o=this,a=0;a<r.length;a++){var s=n(a);if(typeof s=="object")return s.value}},i})(),Og=(function(){var i=function(t,e){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(r[o]=n[o])},i(t,e)};return function(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");i(t,e);function r(){this.constructor=t}t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}})(),uu=(function(i){Og(t,i);function t(e,r){return i.call(this,e,r)||this}return t.prototype.getProfile=function(){var e=this.getProperty("profile");return e||(e=this.getProperty("dcterms:conformsTo")),Array.isArray(e)?e[0]:e},t.prototype.getConfirmLabel=function(){return Ge.getLocalisedValue(this.getProperty("confirmLabel"),this.options.locale)},t.prototype.getDescription=function(){return Ge.getLocalisedValue(this.getProperty("description"),this.options.locale)},t.prototype.getFailureDescription=function(){return Ge.getLocalisedValue(this.getProperty("failureDescription"),this.options.locale)},t.prototype.getFailureHeader=function(){return Ge.getLocalisedValue(this.getProperty("failureHeader"),this.options.locale)},t.prototype.getHeader=function(){return Ge.getLocalisedValue(this.getProperty("header"),this.options.locale)},t.prototype.getServiceLabel=function(){return Ge.getLocalisedValue(this.getProperty("label"),this.options.locale)},t.prototype.getInfoUri=function(){var e=this.id;return e.endsWith("/")||(e+="/"),e+="info.json",e},t})(Br),Mg=(function(){function i(t,e){this.width=t,this.height=e}return i})(),wn;(function(i){i[i.AUTHORIZATION_FAILED=1]="AUTHORIZATION_FAILED",i[i.FORBIDDEN=2]="FORBIDDEN",i[i.INTERNAL_SERVER_ERROR=3]="INTERNAL_SERVER_ERROR",i[i.RESTRICTED=4]="RESTRICTED"})(wn||(wn={}));var Dg=(function(){function i(t,e){this.data=e,this.index=e.index,this.width=t;var r=e.getHeight()/e.getWidth();r?this.height=Math.floor(this.width*r):this.height=t,this.uri=e.getCanonicalImageUri(t),this.label=e.getLabel().getValue(),this.viewingHint=e.getViewingHint()}return i})(),Lg=(function(){var i=function(t,e){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(r[o]=n[o])},i(t,e)};return function(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");i(t,e);function r(){this.constructor=t}t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}})(),zg=(function(i){Lg(t,i);function t(e,r){return i.call(this,e,r)||this}return t})(Ua),ds=(function(){function i(t,e){this.label=t,this.data=e||{},this.nodes=[]}return i.prototype.addNode=function(t){this.nodes.push(t),t.parentNode=this},i.prototype.isCollection=function(){return this.data.type===Ge.normaliseType(Rr.COLLECTION)},i.prototype.isManifest=function(){return this.data.type===Ge.normaliseType(Rr.MANIFEST)},i.prototype.isRange=function(){return this.data.type===Ge.normaliseType(Rr.RANGE)},i})(),Rr;(function(i){i.COLLECTION="collection",i.MANIFEST="manifest",i.RANGE="range"})(Rr||(Rr={}));var Hg=function(i,t){return Ge.parseManifest(i,t)};class Ng{constructor(){we(this,Cn,Ae(wt({})));nt(this,"userAnnotations",new _n)}get manifests(){return p(R(this,Cn))}set manifests(t){be(R(this,Cn),t,!0)}userAnnotationKey(t,e){return`${t}::${e}`}setUserAnnotations(t,e,r){const n=this.userAnnotationKey(t,e);this.userAnnotations.set(n,r)}clearUserAnnotations(t,e){const r=this.userAnnotationKey(t,e);this.userAnnotations.has(r)&&this.userAnnotations.delete(r)}getUserAnnotations(t,e){const r=this.userAnnotationKey(t,e);return this.userAnnotations.get(r)??[]}async fetchManifest(t){if(!this.manifests[t]){this.manifests[t]={isFetching:!0};try{const e=await fetch(t);if(!e.ok)throw new Error(`HTTP error! status: ${e.status}`);const r=await e.json(),n=Hg(r);this.manifests[t]={json:r,manifesto:n,isFetching:!1}}catch(e){this.manifests[t]={error:e.message,isFetching:!1}}}}getManifest(t){const e=this.manifests[t];return e==null?void 0:e.manifesto}getManifestEntry(t){return this.manifests[t]}async fetchAnnotationList(t){if(!this.manifests[t])try{const e=await fetch(t);if(e.ok){const r=await e.json();this.manifests[t]={json:r}}else console.error(`Failed to fetch annotation list: ${t}`)}catch(e){console.error(`Error fetching annotation list: ${t}`,e)}}getCanvases(t){const e=this.getManifest(t);if(!e)return[];const r=e.getSequences();return!r||!r.length?[]:r[0].getCanvases()}getAnnotations(t,e){const r=this.manualGetAnnotations(t,e),n=this.getUserAnnotations(t,e);return[...r,...n]}manualGetAnnotations(t,e){const r=this.getManifest(t);if(!r)return[];const n=r.getSequences()[0].getCanvasById(e);if(!n)return[];const o=n.__jsonld,a=[],s=c=>c.resources||c.items||[];return o.otherContent&&o.otherContent.forEach(c=>{const l=c["@id"]||c.id;if(l&&!c.resources){const u=this.manifests[l];if(u){if(u.json){const h=s(u.json);a.push(...h)}}else this.fetchAnnotationList(l)}else c.resources&&a.push(...c.resources)}),o.annotations&&o.annotations.forEach(c=>{const l=c.id||c["@id"];if(l&&!c.items){const u=this.manifests[l];if(u){if(u.json){const h=s(u.json);a.push(...h)}}else this.fetchAnnotationList(l)}else c.items&&a.push(...c.items)}),a}}Cn=new WeakMap;const $r=new Ng;class Fg{constructor(t=null,e=null,r=[]){we(this,Pn,Ae(null));we(this,An,Ae(null));we(this,Rn,Ae(!1));we(this,In,Ae(!1));we(this,On,Ae(!1));we(this,Mn,Ae(!1));we(this,Dn,Ae(!1));we(this,Ln,Ae(!1));we(this,zn,Ae(!1));we(this,Hn,Ae("bottom"));nt(this,"visibleAnnotationIds",new Ho);we(this,Nn,Ae(wt({})));we(this,Fn,Ae(0));we(this,Bn,Ae(wt({x:20,y:100})));we(this,Vn,Ae(wt({width:300,height:400})));we(this,jn,Ae(!1));we(this,Un,Ae(wt({x:0,y:0})));we(this,Gn,Ae(null));we(this,Zn,Ae(null));nt(this,"eventTarget",null);nt(this,"viewerElement",null);we(this,Wn,Ae(""));we(this,qn,Ae(null));we(this,Xn,Ae(wt([])));we(this,Yn,Ae(!1));we(this,Kn,Ae(!1));we(this,Qn,Ae(wt([])));we(this,Jn,Ae(wt([])));we(this,$n,Ae(wt([])));we(this,eo,Ae(null));nt(this,"pluginEventHandlers",new _n);this.manifestId=t||null,this.canvasId=e||null,this.manifestId&&$r.fetchManifest(this.manifestId);for(const n of r)this.registerPlugin(n)}get manifestId(){return p(R(this,Pn))}set manifestId(t){be(R(this,Pn),t,!0)}get canvasId(){return p(R(this,An))}set canvasId(t){be(R(this,An),t,!0)}get showAnnotations(){return p(R(this,Rn))}set showAnnotations(t){be(R(this,Rn),t,!0)}get showThumbnailGallery(){return p(R(this,In))}set showThumbnailGallery(t){be(R(this,In),t,!0)}get toolbarOpen(){return p(R(this,On))}set toolbarOpen(t){be(R(this,On),t,!0)}get isGalleryDockedBottom(){return p(R(this,Mn))}set isGalleryDockedBottom(t){be(R(this,Mn),t,!0)}get isGalleryDockedRight(){return p(R(this,Dn))}set isGalleryDockedRight(t){be(R(this,Dn),t,!0)}get isFullScreen(){return p(R(this,Ln))}set isFullScreen(t){be(R(this,Ln),t,!0)}get showMetadataDialog(){return p(R(this,zn))}set showMetadataDialog(t){be(R(this,zn),t,!0)}get dockSide(){return p(R(this,Hn))}set dockSide(t){be(R(this,Hn),t,!0)}get config(){return p(R(this,Nn))}set config(t){be(R(this,Nn),t,!0)}get showToggle(){return this.config.showToggle??!0}get showCanvasNav(){return this.config.showCanvasNav??!0}get showZoomControls(){return this.config.showZoomControls??!0}get galleryFixedHeight(){var t;return((t=this.config.gallery)==null?void 0:t.fixedHeight)??120}get viewingMode(){return this.config.viewingMode??"individuals"}set viewingMode(t){this.config.viewingMode=t}get pagedOffset(){return p(R(this,Fn))}set pagedOffset(t){be(R(this,Fn),t,!0)}get galleryPosition(){return p(R(this,Bn))}set galleryPosition(t){be(R(this,Bn),t,!0)}get gallerySize(){return p(R(this,Vn))}set gallerySize(t){be(R(this,Vn),t,!0)}get isGalleryDragging(){return p(R(this,jn))}set isGalleryDragging(t){be(R(this,jn),t,!0)}get galleryDragOffset(){return p(R(this,Un))}set galleryDragOffset(t){be(R(this,Un),t,!0)}get dragOverSide(){return p(R(this,Gn))}set dragOverSide(t){be(R(this,Gn),t,!0)}get galleryCenterPanelRect(){return p(R(this,Zn))}set galleryCenterPanelRect(t){be(R(this,Zn),t,!0)}setEventTarget(t){this.eventTarget=t}getSnapshot(){let t=-1;return this.manifestId&&this.canvasId&&(t=$r.getCanvases(this.manifestId).findIndex(r=>(r.id||r["@id"]||(r.getCanvasId?r.getCanvasId():null)||(r.getId?r.getId():null))===this.canvasId)),{manifestId:this.manifestId,canvasId:this.canvasId,currentCanvasIndex:t,showAnnotations:this.showAnnotations,showThumbnailGallery:this.showThumbnailGallery,showSearchPanel:this.showSearchPanel,toolbarOpen:this.toolbarOpen,searchQuery:this.searchQuery,isFullScreen:this.isFullScreen,dockSide:this.dockSide,viewingMode:this.viewingMode,galleryPosition:this.galleryPosition,gallerySize:this.gallerySize}}dispatchStateChange(t="statechange"){console.log(`[ViewerState] Dispatching ${t}`,JSON.stringify(this.getSnapshot())),this.eventTarget&&queueMicrotask(()=>{var e;(e=this.eventTarget)==null||e.dispatchEvent(new CustomEvent(t,{detail:this.getSnapshot(),bubbles:!0,composed:!0}))})}get manifest(){return this.manifestId?$r.getManifest(this.manifestId):null}get manifestEntry(){return this.manifestId?$r.getManifestEntry(this.manifestId):null}get canvases(){return this.manifestId?$r.getCanvases(this.manifestId):[]}get currentCanvasIndex(){return this.canvasId?this.canvases.findIndex(t=>(t.id||t["@id"]||(t.getCanvasId?t.getCanvasId():null)||(t.getId?t.getId():null))===this.canvasId):this.canvases.length>0?0:-1}get hasNext(){if(this.viewingMode==="paged"){const t=this.pagedOffset;return this.currentCanvasIndex<t?this.currentCanvasIndex<this.canvases.length-1:this.currentCanvasIndex<this.canvases.length-2}else return this.currentCanvasIndex<this.canvases.length-1}get hasPrevious(){return this.currentCanvasIndex>0}nextCanvas(){if(this.hasNext)if(this.viewingMode==="paged"){const t=this.pagedOffset,e=this.currentCanvasIndex<t?this.currentCanvasIndex+1:this.currentCanvasIndex+2,r=this.canvases[e];this.setCanvas(r.id)}else{const t=this.currentCanvasIndex+1,e=this.canvases[t];this.setCanvas(e.id)}}previousCanvas(){if(this.hasPrevious)if(this.viewingMode==="paged"){const t=this.pagedOffset;let e;this.currentCanvasIndex<=t?e=this.currentCanvasIndex-1:e=Math.max(this.currentCanvasIndex-2,t);const r=this.canvases[e];this.setCanvas(r.id)}else{const t=this.currentCanvasIndex-1,e=this.canvases[t];this.setCanvas(e.id)}}zoomIn(){this.osdViewer&&this.osdViewer.viewport&&(this.osdViewer.viewport.zoomBy(1.2),this.osdViewer.viewport.applyConstraints())}zoomOut(){this.osdViewer&&this.osdViewer.viewport&&(this.osdViewer.viewport.zoomBy(.8),this.osdViewer.viewport.applyConstraints())}setManifest(t){this.manifestId=t,this.canvasId=null,$r.fetchManifest(t),this.dispatchStateChange("manifestchange")}setCanvas(t){this.canvasId=t,this.dispatchStateChange("canvaschange")}updateConfig(t){var r;const e=this.config;if(this.config=t,t.toolbarOpen!==void 0&&(this.toolbarOpen=t.toolbarOpen),t.viewingMode&&(this.viewingMode=t.viewingMode),t.gallery&&(t.gallery.open!==void 0&&(this.showThumbnailGallery=t.gallery.open),t.gallery.dockPosition!==void 0&&(this.dockSide=t.gallery.dockPosition),t.gallery.width!==void 0&&(this.gallerySize.width=t.gallery.width),t.gallery.height!==void 0&&(this.gallerySize.height=t.gallery.height),t.gallery.x!==void 0&&(this.galleryPosition.x=t.gallery.x),t.gallery.y!==void 0&&(this.galleryPosition.y=t.gallery.y)),t.search){t.search.open!==void 0&&(this.showSearchPanel=t.search.open);const n=t.search.query,o=(r=e.search)==null?void 0:r.query;n!==void 0&&n!==o&&n!==this.searchQuery&&this._performSearch(n)}t.annotations&&t.annotations.open!==void 0&&(this.showAnnotations=t.annotations.open)}toggleAnnotations(){this.showAnnotations=!this.showAnnotations,this.dispatchStateChange()}toggleToolbar(){this.toolbarOpen=!this.toolbarOpen,this.dispatchStateChange()}toggleThumbnailGallery(){this.showThumbnailGallery=!this.showThumbnailGallery,this.dispatchStateChange()}setViewerElement(t){this.viewerElement=t}toggleFullScreen(){if(document.fullscreenElement)document.exitFullscreen();else{const t=this.viewerElement||document.getElementById("triiiceratops-viewer");t?t.requestFullscreen().catch(e=>{console.warn("Fullscreen request failed",e)}):console.warn("Cannot toggle fullscreen: Viewer element not found")}}toggleMetadataDialog(){this.showMetadataDialog=!this.showMetadataDialog}setViewingMode(t){if(this.viewingMode=t,t==="paged"){const e=this.pagedOffset;if(this.currentCanvasIndex>=e&&(this.currentCanvasIndex-e)%2===1){const n=this.currentCanvasIndex-1,o=this.canvases[n];this.setCanvas(o.id)}}this.dispatchStateChange()}togglePagedOffset(){this.pagedOffset=this.pagedOffset===0?1:0;const t=this.pagedOffset;if(this.currentCanvasIndex>=t&&(this.currentCanvasIndex-t)%2===1){const r=this.currentCanvasIndex-1,n=this.canvases[r];this.setCanvas(n.id)}this.dispatchStateChange()}get searchQuery(){return p(R(this,Wn))}set searchQuery(t){be(R(this,Wn),t,!0)}get pendingSearchQuery(){return p(R(this,qn))}set pendingSearchQuery(t){be(R(this,qn),t,!0)}get searchResults(){return p(R(this,Xn))}set searchResults(t){be(R(this,Xn),t,!0)}get isSearching(){return p(R(this,Yn))}set isSearching(t){be(R(this,Yn),t,!0)}get showSearchPanel(){return p(R(this,Kn))}set showSearchPanel(t){be(R(this,Kn),t,!0)}toggleSearchPanel(){this.showSearchPanel=!this.showSearchPanel,this.showSearchPanel||(this.searchAnnotations=[]),this.dispatchStateChange()}get searchAnnotations(){return p(R(this,Qn))}set searchAnnotations(t){be(R(this,Qn),t,!0)}get currentCanvasSearchAnnotations(){if(!this.canvasId)return[];if(this.viewingMode==="paged"){let t=this.searchAnnotations.filter(n=>n.canvasId===this.canvasId);const e=this.currentCanvasIndex,r=this.pagedOffset;if(e>=r){const n=e+1;if(n<this.canvases.length){const o=this.canvases[n],a=o.id||o["@id"],c=this.canvases[e].getWidth()*1.025,u=this.searchAnnotations.filter(h=>h.canvasId===a).map(h=>{const f=h.on.split("#xywh="),v=f[1].split(",").map(Number),_=v[0]+c;return{...h,on:`${f[0]}#xywh=${_},${v[1]},${v[2]},${v[3]}`}});t=t.concat(u)}}return t}else return this.searchAnnotations.filter(t=>t.canvasId===this.canvasId)}async search(t){this.dispatchStateChange(),await this._performSearch(t),this.dispatchStateChange()}async _performSearch(t){var e,r;if(t.trim()){this.isSearching=!0,this.searchQuery=t,this.searchResults=[];try{const n=this.manifest;if(!n){console.log("[ViewerState] Manifest not loaded, deferring search:",t),this.pendingSearchQuery=t;return}let o=n.getService("http://iiif.io/api/search/1/search")||n.getService("http://iiif.io/api/search/0/search");if(o||n.__jsonld&&n.__jsonld.service&&(o=(Array.isArray(n.__jsonld.service)?n.__jsonld.service:[n.__jsonld.service]).find(g=>g.profile==="http://iiif.io/api/search/1/search"||g.profile==="http://iiif.io/api/search/0/search")),!o){console.warn("No IIIF search service found in manifest"),this.isSearching=!1;return}const s=`${o.id||o["@id"]}?q=${encodeURIComponent(t)}`,c=await fetch(s);if(!c.ok)throw new Error("Search request failed");const l=await c.json(),u=l.resources||[],h=new _n,f=d=>{const g=typeof d=="string"?d:d["@id"]||d.id;if(!g)return null;const b=g.split("#xywh=");if(b.length<2)return null;const S=b[1].split(",").map(Number);return S.length===4?S:null},v=d=>d?d.replace(/<mark>/g,"<mark>").replace(/<\/mark>/g,"</mark>"):"";if(l.hits)for(const d of l.hits){const g=d.annotations||[];let b=-1,S=null;const P=[];for(const k of g){const A=u.find(N=>N["@id"]===k||N.id===k);if(A&&A.on){const N=typeof A.on=="string"?A.on:A.on["@id"]||A.on.id,Z=N.split("#")[0],L=f(N),I=this.canvases.findIndex(O=>O.id===Z);I>=0&&(b===-1&&(b=I),L&&(P.push(L),S||(S=L)))}}if(b>=0){if(!h.has(b)){const k=this.canvases[b];let A="Canvas "+(b+1);try{if(k.getLabel){const N=k.getLabel();Array.isArray(N)&&N.length>0?A=N[0].value:typeof N=="string"&&(A=N)}else k.label&&(typeof k.label=="string"?A=k.label:Array.isArray(k.label)&&(A=(e=k.label[0])==null?void 0:e.value))}catch{}h.set(b,{canvasIndex:b,canvasLabel:String(A),hits:[]})}h.get(b).hits.push({type:"hit",before:v(d.before),match:v(d.match),after:v(d.after),bounds:S,allBounds:P})}}else if(u.length>0)for(const d of u){const g=typeof d.on=="string"?d.on:d.on["@id"]||d.on.id,b=g.split("#")[0],S=f(g),P=this.canvases.findIndex(k=>k.id===b);if(P>=0){const k=this.canvases[P];let A="Canvas "+(P+1);try{if(k.getLabel){const N=k.getLabel();Array.isArray(N)&&N.length>0?A=N[0].value:typeof N=="string"&&(A=N)}else k.label&&(typeof k.label=="string"?A=k.label:Array.isArray(k.label)&&(A=(r=k.label[0])==null?void 0:r.value))}catch{}h.has(P)||h.set(P,{canvasIndex:P,canvasLabel:String(A),hits:[]}),h.get(P).hits.push({type:"resource",match:v(d.resource&&d.resource.chars?d.resource.chars:d.chars||""),bounds:S,allBounds:S?[S]:[]})}}this.searchResults=Array.from(h.values()).sort((d,g)=>d.canvasIndex-g.canvasIndex);let _=0;this.searchAnnotations=this.searchResults.flatMap(d=>{const g=this.canvases[d.canvasIndex];return d.hits.flatMap(b=>(b.allBounds&&b.allBounds.length>0?b.allBounds:b.bounds?[b.bounds]:[]).map(P=>{const k=`${g.id}#xywh=${P.join(",")}`;return{"@id":`urn:search-hit:${_++}`,"@type":"oa:Annotation",motivation:"sc:painting",on:k,canvasId:g.id,resource:{"@type":"cnt:ContentAsText",chars:b.match},isSearchHit:!0}}))})}catch(n){console.error("Search error:",n),this.isSearching=!1}finally{this.pendingSearchQuery||(this.isSearching=!1)}}}get pluginMenuButtons(){return p(R(this,Jn))}set pluginMenuButtons(t){be(R(this,Jn),t,!0)}get pluginPanels(){return p(R(this,$n))}set pluginPanels(t){be(R(this,$n),t,!0)}get osdViewer(){return p(R(this,eo))}set osdViewer(t){be(R(this,eo),t)}registerPlugin(t){const e=t.id||`plugin-${Math.random().toString(36).substr(2,9)}`;let r=Ae(!1);const n={id:`${e}:toggle`,icon:t.icon,tooltip:t.name,onClick:()=>{be(r,!p(r))},isActive:()=>p(r),order:200},o={id:`${e}:panel`,component:t.panel,position:t.position||"left",isVisible:()=>p(r),props:{...t.props,close:()=>{be(r,!1)}}};this.pluginMenuButtons=[...this.pluginMenuButtons,n],this.pluginPanels=[...this.pluginPanels,o],t.onInit&&t.onInit(this)}unregisterPlugin(t){this.pluginMenuButtons=this.pluginMenuButtons.filter(e=>!e.id.startsWith(`${t}:`)),this.pluginPanels=this.pluginPanels.filter(e=>!e.id.startsWith(`${t}:`))}notifyOSDReady(t){this.osdViewer=t}destroyAllPlugins(){this.pluginMenuButtons=[],this.pluginPanels=[],this.pluginEventHandlers.clear()}}Pn=new WeakMap,An=new WeakMap,Rn=new WeakMap,In=new WeakMap,On=new WeakMap,Mn=new WeakMap,Dn=new WeakMap,Ln=new WeakMap,zn=new WeakMap,Hn=new WeakMap,Nn=new WeakMap,Fn=new WeakMap,Bn=new WeakMap,Vn=new WeakMap,jn=new WeakMap,Un=new WeakMap,Gn=new WeakMap,Zn=new WeakMap,Wn=new WeakMap,qn=new WeakMap,Xn=new WeakMap,Yn=new WeakMap,Kn=new WeakMap,Qn=new WeakMap,Jn=new WeakMap,$n=new WeakMap,eo=new WeakMap;const Gi="triiiceratops:viewerState",Bg=["light","dark","cupcake","bumblebee","emerald","corporate","synthwave","retro","cyberpunk","valentine","halloween","garden","forest","aqua","lofi","pastel","fantasy","wireframe","black","luxury","dracula","cmyk","autumn","business","acid","lemonade","night","coffee","winter","dim","nord","sunset","caramellatte","abyss","silk"];function Vg(i){i=i.replace(/^#/,"");let t,e,r;if(i.length===3)t=parseInt(i[0]+i[0],16),e=parseInt(i[1]+i[1],16),r=parseInt(i[2]+i[2],16);else if(i.length===6||i.length===8)t=parseInt(i.slice(0,2),16),e=parseInt(i.slice(2,4),16),r=parseInt(i.slice(4,6),16);else return null;return isNaN(t)||isNaN(e)||isNaN(r)?null:{r:t,g:e,b:r}}function jg(i){const t=i.match(/rgba?\(\s*(\d+(?:\.\d+)?%?)\s*[,\s]\s*(\d+(?:\.\d+)?%?)\s*[,\s]\s*(\d+(?:\.\d+)?%?)(?:\s*[,/]\s*(\d*\.?\d+%?))?\s*\)/i);if(!t)return null;const e=a=>a.endsWith("%")?parseFloat(a)/100*255:parseFloat(a),r=e(t[1]),n=e(t[2]),o=e(t[3]);return isNaN(r)||isNaN(n)||isNaN(o)?null:{r,g:n,b:o}}function fs(i){const t=i/255;return t<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)}function Ug(i,t,e){return{x:.4124564*i+.3575761*t+.1804375*e,y:.2126729*i+.7151522*t+.072175*e,z:.0193339*i+.119192*t+.9503041*e}}function Gg(i,t,e){const r=.8189330101*i+.3618667424*t-.1288597137*e,n=.0329845436*i+.9293118715*t+.0361456387*e,o=.0482003018*i+.2643662691*t+.633851707*e,a=Math.cbrt(r),s=Math.cbrt(n),c=Math.cbrt(o);return{L:.2104542553*a+.793617785*s-.0040720468*c,a:1.9779984951*a-2.428592205*s+.4505937099*c,b:.0259040371*a+.7827717662*s-.808675766*c}}function Zg(i,t,e){const r=Math.sqrt(t*t+e*e);let n=Math.atan2(e,t)*180/Math.PI;return n<0&&(n+=360),{L:i,C:r,h:n}}function hu(i,t,e){const r=fs(i),n=fs(t),o=fs(e),{x:a,y:s,z:c}=Ug(r,n,o),{L:l,a:u,b:h}=Gg(a,s,c);return Zg(l,u,h)}function du(i,t,e){const r=(i*100).toFixed(2),n=t.toFixed(4),o=t<1e-4?0:e.toFixed(2);return`oklch(${r}% ${n} ${o})`}function Wg(i){return i.trim().toLowerCase().startsWith("oklch(")}function qg(i){return/^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$/.test(i.trim())}function Xg(i){return/^rgba?\s*\(/i.test(i.trim())}function Yg(i){const t=Vg(i);if(!t)return console.warn(`Invalid hex color: ${i}, returning as-is`),i;const{L:e,C:r,h:n}=hu(t.r,t.g,t.b);return du(e,r,n)}function Kg(i){const t=jg(i);if(!t)return console.warn(`Invalid rgb color: ${i}, returning as-is`),i;const{L:e,C:r,h:n}=hu(t.r,t.g,t.b);return du(e,r,n)}function Qg(i){const t=i.trim();return Wg(t)?t:qg(t)?Yg(t):Xg(t)?Kg(t):(console.warn(`Unrecognized color format: ${i}, passing through as-is`),i)}const fu={primary:"--color-primary",primaryContent:"--color-primary-content",secondary:"--color-secondary",secondaryContent:"--color-secondary-content",accent:"--color-accent",accentContent:"--color-accent-content",neutral:"--color-neutral",neutralContent:"--color-neutral-content",base100:"--color-base-100",base200:"--color-base-200",base300:"--color-base-300",baseContent:"--color-base-content",info:"--color-info",infoContent:"--color-info-content",success:"--color-success",successContent:"--color-success-content",warning:"--color-warning",warningContent:"--color-warning-content",error:"--color-error",errorContent:"--color-error-content",radiusBox:"--radius-box",radiusField:"--radius-field",radiusSelector:"--radius-selector",sizeSelector:"--size-selector",sizeField:"--size-field",border:"--border",depth:"--depth",noise:"--noise",colorScheme:"color-scheme"},Jg=new Set(["primary","primaryContent","secondary","secondaryContent","accent","accentContent","neutral","neutralContent","base100","base200","base300","baseContent","info","infoContent","success","successContent","warning","warningContent","error","errorContent"]);function $g(i){return Bg.includes(i)}function ev(i,t){i.setAttribute("data-theme",t)}function tv(i,t){for(const[e,r]of Object.entries(t)){if(r==null)continue;const n=e;if(n==="colorScheme"){i.style.colorScheme=r;continue}const o=fu[n];if(!o)continue;let a=String(r);Jg.has(n)&&(a=Qg(a)),i.style.setProperty(o,a)}}function rv(i){for(const[t,e]of Object.entries(fu))t==="colorScheme"?i.style.colorScheme="":i.style.removeProperty(e)}function iv(i){try{const t=JSON.parse(i);return typeof t=="object"&&t!==null?t:null}catch{return null}}function nv(i,t,e){t?ev(i,t):i.removeAttribute("data-theme"),e?tv(i,e):rv(i)}function pu(i){return i.id||i["@id"]||(typeof i.getId=="function"?i.getId():"")}function bn(i){if(!i)return null;const t=i.match(/xywh=(?:pixel:)?([\d.]+),([\d.]+),([\d.]+),([\d.]+)/);return t?{x:parseFloat(t[1]),y:parseFloat(t[2]),w:parseFloat(t[3]),h:parseFloat(t[4])}:null}function ov(i){const t=av(i);if(t)return sv(t);const e=hv(i);return e?{type:"RECTANGLE",x:e.x,y:e.y,w:e.w,h:e.h}:null}function av(i){var e,r;if(typeof i.getTarget=="function"){const n=((e=i.__jsonld)==null?void 0:e.on)||((r=i.__jsonld)==null?void 0:r.target);if(n)return gu(n)}const t=i.target||i.on;return t?gu(t):null}function gu(i){if(!i)return null;if(Array.isArray(i))for(const t of i){const e=vu(t);if(e)return e}else return vu(i);return null}function vu(i){var e;if(!i)return null;const t=i.selector||i;if(Array.isArray(t)){const r=t.find(n=>n.type==="SvgSelector");return r&&r.value?r.value:null}return(t==null?void 0:t.type)==="SvgSelector"&&t.value?t.value:((e=t==null?void 0:t.item)==null?void 0:e.type)==="SvgSelector"&&t.item.value?t.item.value:null}function sv(i){try{const e=new DOMParser().parseFromString(i,"image/svg+xml");if(e.documentElement.nodeName==="parsererror")return console.warn("Failed to parse SVG selector:",i),null;const r=[],n=e.querySelectorAll("polygon");for(const c of n){const l=c.getAttribute("points");if(l){const u=lv(l);r.push(...u)}}const o=e.querySelectorAll("path");for(const c of o){const l=c.getAttribute("d");if(l){const u=cv(l);r.push(...u)}}const a=e.querySelectorAll("circle");for(const c of a){const l=parseFloat(c.getAttribute("cx")||"0"),u=parseFloat(c.getAttribute("cy")||"0"),h=parseFloat(c.getAttribute("r")||"0"),f=uv(l,u,h);r.push(...f)}const s=e.querySelectorAll("rect");for(const c of s){const l=parseFloat(c.getAttribute("x")||"0"),u=parseFloat(c.getAttribute("y")||"0"),h=parseFloat(c.getAttribute("width")||"0"),f=parseFloat(c.getAttribute("height")||"0");r.push([l,u],[l+h,u],[l+h,u+f],[l,u+f])}return r.length===0?null:{type:"POLYGON",points:r}}catch(t){return console.warn("Failed to convert SVG to polygon:",t),null}}function lv(i){const t=[],e=i.trim().split(/\s+/);for(const r of e){const[n,o]=r.split(",").map(a=>parseFloat(a));!isNaN(n)&&!isNaN(o)&&t.push([n,o])}return t}function cv(i){const t=[],e=/[ML]\s*([\d.]+)[,\s]+([\d.]+)/g;let r;for(;(r=e.exec(i))!==null;){const n=parseFloat(r[1]),o=parseFloat(r[2]);!isNaN(n)&&!isNaN(o)&&t.push([n,o])}return t}function uv(i,t,e,r=8){const n=[];for(let o=0;o<r;o++){const a=o/r*Math.PI*2,s=i+e*Math.cos(a),c=t+e*Math.sin(a);n.push([s,c])}return n}function hv(i){var e;if(typeof i.getTarget=="function"){const r=i.getTarget();if(typeof r=="string"&&r.includes("xywh="))return bn(r);const n=(e=i.__jsonld)==null?void 0:e.on;if(n){const o=ps(n);if(o)return o}}const t=i.target||i.on;return t?ps(t):null}function ps(i){if(!i)return null;if(Array.isArray(i))for(const t of i){const e=ps(t);if(e)return e}if(typeof i=="string"&&i.includes("xywh="))return bn(i);if(i.selector){const t=i.selector;if(Array.isArray(t)){const r=t.find(o=>o.type==="FragmentSelector"&&o.value&&o.value.includes("xywh="));if(r)return bn(r.value);const n=t.find(o=>o.value&&o.value.includes("xywh="));return n?bn(n.value):null}const e=t.item||t;if(e.value&&typeof e.value=="string"&&e.value.includes("xywh="))return bn(e.value)}return null}function mu(i){const t=[];if(typeof i.getBody=="function"){const e=i.getBody();if(e){const r=Array.isArray(e)?e:[e];for(const n of r){const o=n.getValue?n.getValue():"";if(o){const a=n.getFormat?n.getFormat():"",s=n.getPurpose?n.getPurpose():void 0;t.push({value:o,isHtml:a==="text/html"||a==="application/html",purpose:s,format:a})}}}}else{const e=r=>{const n=r.chars||r.value||r["cnt:chars"]||"";if(n){const o=r.format==="text/html"||r.type==="TextualBody";t.push({value:n,isHtml:o,purpose:r.purpose,format:r.format})}};i.resource?(Array.isArray(i.resource)?i.resource:[i.resource]).forEach(e):i.body&&(Array.isArray(i.body)?i.body:[i.body]).forEach(e)}if(t.length===0){let e="";typeof i.getLabel=="function"?e=i.getLabel()||"":i.label&&(e=Array.isArray(i.label)?i.label.join(" "):i.label),e&&t.push({value:e,isHtml:!1,purpose:"commenting"})}return t.length===0&&t.push({value:"Annotation",isHtml:!1,purpose:"commenting"}),t}function dv(i,t,e=!1){const r=pu(i)||`anno-${t}`,n=ov(i);if(!n)return null;const o=mu(i);return{id:r,geometry:n,body:o,isSearchHit:e}}function fv(i,t=new Set){return i.map((e,r)=>{const n=t.has(pu(e));return dv(e,r,n)}).filter(e=>e!==null)}var pv=me("<div></div>"),gv=$('<svg class="absolute pointer-events-auto"><title> </title><polygon stroke-width="2"></polygon></svg>'),vv=me('<div class="w-full h-full relative"><div></div> <!></div>');function mv(i,t){Qe(t,!0);let e=or(t,"viewerState",7),r=Ae(void 0),n=Ae(void 0),o=Ae(void 0),a=Ae(0),s="",c=re(()=>{if(!e().manifestId||!e().canvasId)return[];const d=$r.getAnnotations(e().manifestId,e().canvasId),g=e().currentCanvasSearchAnnotations;return[...d,...g]}),l=re(()=>{const d=new Ho;return e().currentCanvasSearchAnnotations.forEach(g=>{const b=g.id||g["@id"];b&&d.add(b)}),d}),u=re(()=>fv(p(c),p(l))),h=re(()=>{if(p(a),!p(n)||!p(o)||!p(u).length)return[];const d=p(n).world.getItemAt(0);if(!d)return[];const g=[],b=e().pluginPanels.find(P=>P.id==="annotation-editor:panel"),S=b?b.isVisible():!1;for(const P of p(u)){if(!P.isSearchHit)if(e().showAnnotations){if(!e().visibleAnnotationIds.has(P.id))continue}else continue;if(P.geometry.type==="RECTANGLE"){const k=d.imageToViewportRectangle(P.geometry.x,P.geometry.y,P.geometry.w,P.geometry.h),A=p(n).viewport.viewportToViewerElementRectangle(k);g.push({id:P.id,type:"RECTANGLE",rect:{x:A.x,y:A.y,width:A.width,height:A.height},isSearchHit:P.isSearchHit,tooltip:P.body.map(N=>N.value).join(" "),pointerEvents:S?"none":"auto"})}else if(P.geometry.type==="POLYGON"){const k=P.geometry.points.map(O=>{const J=d.imageToViewportCoordinates(new(p(o)).Point(O[0],O[1])),ee=p(n).viewport.viewportToViewerElementCoordinates(J);return[ee.x,ee.y]});let A=1/0,N=1/0,Z=-1/0,L=-1/0;for(const[O,J]of k)A=Math.min(A,O),N=Math.min(N,J),Z=Math.max(Z,O),L=Math.max(L,J);const I=k.map(([O,J])=>[O-A,J-N]);g.push({id:P.id,type:"POLYGON",bounds:{x:A,y:N,width:Z-A,height:L-N},points:I,isSearchHit:P.isSearchHit,tooltip:P.body.map(O=>O.value).join(" "),pointerEvents:S?"none":"auto"})}}return g});Pa(()=>{if(!p(r))return;let d=!0;return(async()=>{const g=await Promise.resolve().then(()=>e4);d&&(be(o,g.default||g,!0),be(n,p(o)({element:p(r),tileSources:null,prefixUrl:"",showNavigationControl:!1,showHomeControl:!1,showFullPageControl:!1,showSequenceControl:!1,showZoomControl:!1,showRotationControl:!1,animationTime:.5,springStiffness:7,zoomPerClick:2,gestureSettingsMouse:{clickToZoom:!1,dblClickToZoom:!0}})),e().notifyOSDReady(p(n)))})(),()=>{var g;d=!1,(g=p(n))==null||g.destroy(),e().osdViewer=null}}),st(()=>{if(!p(n))return;const d=()=>{ln(a)};return p(n).addHandler("open",d),p(n).addHandler("animation",d),p(n).addHandler("resize",d),p(n).addHandler("rotate",d),p(n).world.addHandler("add-item",d),p(n).world.addHandler("remove-item",d),()=>{p(n).removeHandler("open",d),p(n).removeHandler("animation",d),p(n).removeHandler("resize",d),p(n).removeHandler("rotate",d),p(n).world.removeHandler("add-item",d),p(n).world.removeHandler("remove-item",d)}}),st(()=>{if(!p(n)||!t.tileSources)return;const d=JSON.stringify(t.tileSources);if(d!==s)if(s=d,e().viewingMode==="paged"&&t.tileSources instanceof Array&&t.tileSources.length===2){const b=[{tileSource:t.tileSources[0],x:0,y:0,width:1},{tileSource:t.tileSources[1],x:1.025,y:0,width:1}];p(n).open(b)}else p(n).open(t.tileSources)});var f=vv(),v=G(f);ji(v,d=>be(r,d),()=>p(r));var _=ue(v,2);Ut(_,17,()=>p(h),d=>d.id,(d,g)=>{var b=te(),S=X(b);{var P=A=>{var N=pv();Oe(()=>{Ne(N,"id",`annotation-visual-${p(g).id??""}`),He(N,1,`absolute border-2 transition-colors cursor-pointer pointer-events-auto ${p(g).isSearchHit?"border-yellow-400 bg-yellow-400/40 hover:bg-yellow-400/60":"border-red-500 bg-red-500/20 hover:bg-red-500/40"}`),Ot(N,`
|
|
6
|
+
\r\f \v\uFEFF`];function Ap(i,t,e){var r=i==null?"":""+i;if(t&&(r=r?r+" "+t:t),e){for(var n in e)if(e[n])r=r?r+" "+n:n;else if(r.length)for(var o=n.length,a=0;(a=r.indexOf(n,a))>=0;){var s=a+o;(a===0||bc.includes(r[a-1]))&&(s===r.length||bc.includes(r[s]))?r=(a===0?"":r.substring(0,a))+r.substring(s+1):a=s}}return r===""?null:r}function yc(i,t=!1){var e=t?" !important;":";",r="";for(var n in i){var o=i[n];o!=null&&o!==""&&(r+=" "+n+": "+o+e)}return r}function Oa(i){return i[0]!=="-"||i[1]!=="-"?i.toLowerCase():i}function Rp(i,t){if(t){var e="",r,n;if(Array.isArray(t)?(r=t[0],n=t[1]):r=t,i){i=String(i).replaceAll(/\s*\/\*.*?\*\/\s*/g,"").trim();var o=!1,a=0,s=!1,c=[];r&&c.push(...Object.keys(r).map(Oa)),n&&c.push(...Object.keys(n).map(Oa));var l=0,u=-1;const d=i.length;for(var h=0;h<d;h++){var f=i[h];if(s?f==="/"&&i[h-1]==="*"&&(s=!1):o?o===f&&(o=!1):f==="/"&&i[h+1]==="*"?s=!0:f==='"'||f==="'"?o=f:f==="("?a++:f===")"&&a--,!s&&o===!1&&a===0){if(f===":"&&u===-1)u=h;else if(f===";"||h===d-1){if(u!==-1){var v=Oa(i.substring(l,u).trim());if(!c.includes(v)){f!==";"&&h++;var _=i.substring(l,h).trim();e+=" "+_+";"}}l=h+1,u=-1}}}}return r&&(e+=yc(r)),n&&(e+=yc(n,!0)),e=e.trim(),e===""?null:e}return i==null?null:String(i)}function He(i,t,e,r,n,o){var a=i.__className;if(_e||a!==e||a===void 0){var s=Ap(e,r,o);(!_e||s!==i.getAttribute("class"))&&(s==null?i.removeAttribute("class"):t?i.className=s:i.setAttribute("class",s)),i.__className=e}else if(o&&n!==o)for(var c in o){var l=!!o[c];(n==null||l!==!!n[c])&&i.classList.toggle(c,l)}return o}function Ma(i,t={},e,r){for(var n in e){var o=e[n];t[n]!==o&&(e[n]==null?i.style.removeProperty(n):i.style.setProperty(n,o,r))}}function Ot(i,t,e,r){var n=i.__style;if(_e||n!==t){var o=Rp(t,r);(!_e||o!==i.getAttribute("style"))&&(o==null?i.removeAttribute("style"):i.style.cssText=o),i.__style=t}else r&&(Array.isArray(r)?(Ma(i,e==null?void 0:e[0],r[0]),Ma(i,e==null?void 0:e[1],r[1],"important")):Ma(i,e,r));return r}function fn(i,t,e=!1){if(i.multiple){if(t==null)return;if(!ai(t))return vd();for(var r of i.options)r.selected=t.includes(pn(r));return}for(r of i.options){var n=pn(r);if(xl(n,t)){r.selected=!0;return}}(!e||t!==void 0)&&(i.selectedIndex=-1)}function Da(i){var t=new MutationObserver(()=>{fn(i,i.__value)});t.observe(i,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["value"]}),Qt(()=>{t.disconnect()})}function Ip(i,t,e=t){var r=new WeakSet,n=!0;cn(i,"change",o=>{var a=o?"[selected]":":checked",s;if(i.multiple)s=[].map.call(i.querySelectorAll(a),pn);else{var c=i.querySelector(a)??i.querySelector("option:not([disabled])");s=c&&pn(c)}e(s),Be!==null&&r.add(Be)}),Jt(()=>{var o=t();if(i===document.activeElement){var a=on??Be;if(r.has(a))return}if(fn(i,o,n),n&&o===void 0){var s=i.querySelector(":checked");s!==null&&(o=pn(s),e(o))}i.__value=o,n=!1}),Da(i)}function pn(i){return"__value"in i?i.__value:i.value}const Bi=Symbol("class"),Vi=Symbol("style"),xc=Symbol("is custom element"),Tc=Symbol("is html");function Do(i){if(_e){var t=!1,e=()=>{if(!t){if(t=!0,i.hasAttribute("value")){var r=i.value;Ne(i,"value",null),i.value=r}if(i.hasAttribute("checked")){var n=i.checked;Ne(i,"checked",null),i.checked=n}}};i.__on_r=e,qt(e),Al()}}function Op(i,t){var e=Lo(i);e.value===(e.value=t??void 0)||i.value===t&&(t!==0||i.nodeName!=="PROGRESS")||(i.value=t??"")}function Ec(i,t){var e=Lo(i);e.checked!==(e.checked=t??void 0)&&(i.checked=t)}function kc(i,t){t?i.hasAttribute("selected")||i.setAttribute("selected",""):i.removeAttribute("selected")}function Mp(i,t){const e=i.checked;i.defaultChecked=t,i.checked=e}function Dp(i,t){const e=i.value;i.defaultValue=t,i.value=e}function Ne(i,t,e,r){var n=Lo(i);_e&&(n[t]=i.getAttribute(t),t==="src"||t==="srcset"||t==="href"&&i.nodeName==="LINK")||n[t]!==(n[t]=e)&&(t==="loading"&&(i[Nh]=e),e==null?i.removeAttribute(t):typeof e!="string"&&za(i).includes(t)?i[t]=e:i.setAttribute(t,e))}function Lp(i,t,e){i.setAttributeNS("http://www.w3.org/1999/xlink",t,e)}function zp(i,t,e){var r=Ue,n=Fe;let o=_e;_e&&ut(!1),It(null),jt(null);try{t!=="style"&&(La.has(i.getAttribute("is")||i.nodeName)||!customElements||customElements.get(i.getAttribute("is")||i.tagName.toLowerCase())?za(i).includes(t):e&&typeof e=="object")?i[t]=e:Ne(i,t,e==null?e:String(e))}finally{It(r),jt(n),o&&ut(!0)}}function Hp(i,t,e,r,n=!1,o=!1){if(_e&&n&&i.tagName==="INPUT"){var a=i,s=a.type==="checkbox"?"defaultChecked":"defaultValue";s in e||Do(a)}var c=Lo(i),l=c[xc],u=!c[Tc];let h=_e&&l;h&&ut(!1);var f=t||{},v=i.tagName==="OPTION";for(var _ in t)_ in e||(e[_]=null);e.class?e.class=Tt(e.class):(r||e[Bi])&&(e.class=null),e[Vi]&&(e.style??(e.style=null));var d=za(i);for(const N in e){let Z=e[N];if(v&&N==="value"&&Z==null){i.value=i.__value="",f[N]=Z;continue}if(N==="class"){var g=i.namespaceURI==="http://www.w3.org/1999/xhtml";He(i,g,Z,r,t==null?void 0:t[Bi],e[Bi]),f[N]=Z,f[Bi]=e[Bi];continue}if(N==="style"){Ot(i,Z,t==null?void 0:t[Vi],e[Vi]),f[N]=Z,f[Vi]=e[Vi];continue}var b=f[N];if(!(Z===b&&!(Z===void 0&&i.hasAttribute(N)))){f[N]=Z;var S=N[0]+N[1];if(S!=="$$")if(S==="on"){const L={},I="$$"+N;let O=N.slice(2);var P=Af(O);if(Cf(O)&&(O=O.slice(0,-7),L.capture=!0),!P&&b){if(Z!=null)continue;i.removeEventListener(O,f[I],L),f[I]=null}if(Z!=null)if(P)i[`__${O}`]=Z,Qr([O]);else{let J=function(ee){f[N].call(this,ee)};f[I]=Jl(O,i,J,L)}else P&&(i[`__${O}`]=void 0)}else if(N==="style")Ne(i,N,Z);else if(N==="autofocus")Cl(i,!!Z);else if(!l&&(N==="__value"||N==="value"&&Z!=null))i.value=i.__value=Z;else if(N==="selected"&&v)kc(i,Z);else{var k=N;u||(k=If(k));var A=k==="defaultValue"||k==="defaultChecked";if(Z==null&&!l&&!A)if(c[N]=null,k==="value"||k==="checked"){let L=i;const I=t===void 0;if(k==="value"){let O=L.defaultValue;L.removeAttribute(k),L.defaultValue=O,L.value=L.__value=I?O:null}else{let O=L.defaultChecked;L.removeAttribute(k),L.defaultChecked=O,L.checked=I?O:!1}}else i.removeAttribute(N);else A||d.includes(k)&&(l||typeof Z!="string")?(i[k]=Z,k in c&&(c[k]=ct)):typeof Z!="function"&&Ne(i,k,Z)}}}return h&&ut(!0),f}function Et(i,t,e=[],r=[],n=[],o,a=!1,s=!1){an(n,e,r,c=>{var l=void 0,u={},h=i.nodeName==="SELECT",f=!1;if(Dl(()=>{var _=t(...c.map(p)),d=Hp(i,l,_,o,a,s);f&&h&&"value"in _&&fn(i,_.value);for(let b of Object.getOwnPropertySymbols(u))_[b]||vt(u[b]);for(let b of Object.getOwnPropertySymbols(_)){var g=_[b];b.description===Bs&&(!l||g!==l[b])&&(u[b]&&vt(u[b]),u[b]=zt(()=>mc(i,()=>g))),d[b]=g}l=d}),h){var v=i;Jt(()=>{fn(v,l.value,!0),Da(v)})}f=!0})}function Lo(i){return i.__attributes??(i.__attributes={[xc]:i.nodeName.includes("-"),[Tc]:i.namespaceURI===Oh})}var La=new Map;function za(i){var t=i.getAttribute("is")||i.nodeName,e=La.get(t);if(e)return e;La.set(t,e=[]);for(var r,n=i,o=Element.prototype;o!==n;){r=Vs(n);for(var a in r)r[a].set&&e.push(a);n=ao(n)}return e}function Np(i){Bt(document,["focusin","focusout"],t=>{t&&t.type==="focusout"&&t.relatedTarget||i(document.activeElement)})}function Sc(i,t,e=t){var r=new WeakSet;cn(i,"input",async n=>{var o=n?i.defaultValue:i.value;if(o=Na(i)?Fa(o):o,e(o),Be!==null&&r.add(Be),await Ta(),o!==(o=t())){var a=i.selectionStart,s=i.selectionEnd,c=i.value.length;if(i.value=o??"",s!==null){var l=i.value.length;a===s&&s===c&&l>c?(i.selectionStart=l,i.selectionEnd=l):(i.selectionStart=a,i.selectionEnd=Math.min(s,l))}}}),(_e&&i.defaultValue!==i.value||et(t)==null&&i.value)&&(e(Na(i)?Fa(i.value):i.value),Be!==null&&r.add(Be)),ht(()=>{var n=t();if(i===document.activeElement){var o=on??Be;if(r.has(o))return}Na(i)&&n===Fa(i.value)||i.type==="date"&&!n&&!i.value||n!==i.value&&(i.value=n??"")})}const Ha=new Set;function Fp(i,t,e,r,n=r){var o=e.getAttribute("type")==="checkbox",a=i;let s=!1;if(t!==null)for(var c of t)a=a[c]??(a[c]=[]);a.push(e),cn(e,"change",()=>{var l=e.__value;o&&(l=Cc(a,l,e.checked)),n(l)},()=>n(o?[]:null)),ht(()=>{var l=r();if(_e&&e.defaultChecked!==e.checked){s=!0;return}o?(l=l||[],e.checked=l.includes(e.__value)):e.checked=xl(e.__value,l)}),Qt(()=>{var l=a.indexOf(e);l!==-1&&a.splice(l,1)}),Ha.has(a)||(Ha.add(a),qt(()=>{a.sort((l,u)=>l.compareDocumentPosition(u)===4?-1:1),Ha.delete(a)})),qt(()=>{if(s){var l;if(o)l=Cc(a,l,e.checked);else{var u=a.find(h=>h.checked);l=u==null?void 0:u.__value}n(l)}})}function Bp(i,t,e=t){cn(i,"change",r=>{var n=r?i.defaultChecked:i.checked;e(n)}),(_e&&i.defaultChecked!==i.checked||et(t)==null)&&e(i.checked),ht(()=>{var r=t();i.checked=!!r})}function Cc(i,t,e){for(var r=new Set,n=0;n<i.length;n+=1)i[n].checked&&r.add(i[n].__value);return e||r.delete(t),Array.from(r)}function Na(i){var t=i.type;return t==="number"||t==="range"}function Fa(i){return i===""?null:+i}function Vp(i,t,e=t){cn(i,"change",()=>{e(i.files)}),_e&&i.files&&e(i.files),ht(()=>{i.files=t()})}function Ba(i){for(var t=[],e=0;e<i.length;e+=1)t.push({start:i.start(e),end:i.end(e)});return t}function jp(i,t,e=t){var r,n,o=()=>{cancelAnimationFrame(r),i.paused||(r=requestAnimationFrame(o));var a=i.currentTime;n!==a&&e(n=a)};r=requestAnimationFrame(o),i.addEventListener("timeupdate",o),ht(()=>{var a=Number(t());n!==a&&!isNaN(a)&&(i.currentTime=n=a)}),Qt(()=>{cancelAnimationFrame(r),i.removeEventListener("timeupdate",o)})}function Up(i,t){var e;Bt(i,["loadedmetadata","progress","timeupdate","seeking"],()=>{var r=i.buffered;(!e||e.length!==r.length||e.some((n,o)=>r.start(o)!==n.start||r.end(o)!==n.end))&&(e=Ba(r),t(e))})}function Gp(i,t){Bt(i,["loadedmetadata"],()=>t(Ba(i.seekable)))}function Zp(i,t){Bt(i,["timeupdate"],()=>t(Ba(i.played)))}function Wp(i,t){Bt(i,["seeking","seeked"],()=>t(i.seeking))}function qp(i,t){Bt(i,["timeupdate","ended"],()=>t(i.ended))}function Xp(i,t){Bt(i,["loadedmetadata","loadeddata","canplay","canplaythrough","playing","waiting","emptied"],()=>t(i.readyState))}function Yp(i,t,e=t){Jt(()=>{var r=Number(t());r!==i.playbackRate&&!isNaN(r)&&(i.playbackRate=r)}),Jt(()=>{Bt(i,["ratechange"],()=>{e(i.playbackRate)})})}function Kp(i,t,e=t){var r=t(),n=()=>{r!==i.paused&&e(r=i.paused)};Bt(i,["play","pause","canplay"],n,r==null),Jt(()=>{(r=!!t())!==i.paused&&(r?i.pause():i.play().catch(()=>{e(r=!0)}))})}function Qp(i,t,e=t){var r=()=>{e(i.volume)};t()==null&&r(),Bt(i,["volumechange"],r,!1),ht(()=>{var n=Number(t());n!==i.volume&&!isNaN(n)&&(i.volume=n)})}function Jp(i,t,e=t){var r=()=>{e(i.muted)};t()==null&&r(),Bt(i,["volumechange"],r,!1),ht(()=>{var n=!!t();i.muted!==n&&(i.muted=n)})}function $p(i){Bt(window,["online","offline"],()=>{i(navigator.onLine)})}function e0(i,t,e){var r=hr(i,t);r&&r.set&&(i[t]=e,Qt(()=>{i[t]=null}))}const Ko=class Ko{constructor(t){we(this,Yo);we(this,ii,new WeakMap);we(this,Ki);we(this,Sn);ze(this,Sn,t)}observe(t,e){var r=R(this,ii).get(t)||new Set;return r.add(e),R(this,ii).set(t,r),We(this,Yo,wh).call(this).observe(t,R(this,Sn)),()=>{var n=R(this,ii).get(t);n.delete(e),n.size===0&&(R(this,ii).delete(t),R(this,Ki).unobserve(t))}}};ii=new WeakMap,Ki=new WeakMap,Sn=new WeakMap,Yo=new WeakSet,wh=function(){return R(this,Ki)??ze(this,Ki,new ResizeObserver(t=>{for(var e of t){Ko.entries.set(e.target,e);for(var r of R(this,ii).get(e.target)||[])r(e)}}))},nt(Ko,"entries",new WeakMap);let gn=Ko;var t0=new gn({box:"content-box"}),Pc=new gn({box:"border-box"}),r0=new gn({box:"device-pixel-content-box"});function i0(i,t,e){var r=t==="contentRect"||t==="contentBoxSize"?t0:t==="borderBoxSize"?Pc:r0,n=r.observe(i,o=>e(o[t]));Qt(n)}function n0(i,t,e){var r=Pc.observe(i,()=>e(i[t]));Jt(()=>(et(()=>e(i[t])),r))}function Ac(i,t){return i===t||(i==null?void 0:i[Dt])===t}function ji(i={},t,e,r){return Jt(()=>{var n,o;return ht(()=>{n=o,o=(r==null?void 0:r())||[],et(()=>{i!==e(...o)&&(t(i,...o),n&&Ac(e(...n),i)&&t(null,...n))})}),()=>{qt(()=>{o&&Ac(e(...o),i)&&t(null,...o)})}}),i}function o0(i,t,e,r=e){t.addEventListener("input",()=>{r(t[i])}),ht(()=>{var n=e();if(t[i]!==n)if(n==null){var o=t[i];r(o)}else t[i]=n+""})}function a0(i,t,e,r,n){var o=()=>{r(e[i])};e.addEventListener(t,o),n?ht(()=>{e[i]=n()}):o(),(e===document.body||e===window||e===document)&&Qt(()=>{e.removeEventListener(t,o)})}function s0(i,t){Bt(i,["focus","blur"],()=>{t(i===document.activeElement)})}function l0(i,t,e=t){var r=i==="x",n=()=>Yr(()=>{o=!0,clearTimeout(a),a=setTimeout(s,100),e(window[r?"scrollX":"scrollY"])});addEventListener("scroll",n,{passive:!0});var o=!1,a,s=()=>{o=!1},c=!0;ht(()=>{var l=t();c?c=!1:!o&&l!=null&&(o=!0,clearTimeout(a),r?scrollTo(l,window.scrollY):scrollTo(window.scrollX,l),a=setTimeout(s,100))}),Jt(n),Qt(()=>{removeEventListener("scroll",n)})}function c0(i,t){Bt(window,["resize"],()=>Yr(()=>t(window[i])))}function u0(i){return function(...t){var e=t[0];e.isTrusted&&(i==null||i.apply(this,t))}}function h0(i){return function(...t){var e=t[0];e.target===this&&(i==null||i.apply(this,t))}}function d0(i){return function(...t){var e=t[0];return e.stopPropagation(),i==null?void 0:i.apply(this,t)}}function f0(i){var t=!1;return function(...e){if(!t)return t=!0,i==null?void 0:i.apply(this,e)}}function p0(i){return function(...t){var e=t[0];return e.stopImmediatePropagation(),i==null?void 0:i.apply(this,t)}}function g0(i){return function(...t){var e=t[0];return e.preventDefault(),i==null?void 0:i.apply(this,t)}}function v0(i=!1){const t=Ze,e=t.l.u;if(!e)return;let r=()=>Ea(t.s);if(i){let n=0,o={};const a=sn(()=>{let s=!1;const c=t.s;for(const l in c)c[l]!==o[l]&&(o[l]=c[l],s=!0);return s&&n++,n});r=()=>p(a)}e.b.length&&Il(()=>{Rc(t,r),aa(e.b)}),st(()=>{const n=et(()=>e.m.map(Lh));return()=>{for(const o of n)typeof o=="function"&&o()}}),e.a.length&&st(()=>{Rc(t,r),aa(e.a)})}function Rc(i,t){if(i.l.s)for(const e of i.l.s)p(e);t()}function m0(i){var t=Lt(0);return function(){return arguments.length===1?(be(t,p(t)+1),arguments[0]):(p(t),i())}}function _0(i,t){var o;var e=(o=i.$$events)==null?void 0:o[t.type],r=ai(e)?e.slice():e==null?[]:[e];for(var n of r)n.call(this,t)}function w0(i,t,e){var r;i.$$events||(i.$$events={}),(r=i.$$events)[t]||(r[t]=[]),i.$$events[t].push(e)}function b0(i){for(var t in i)t in this&&(this[t]=i[t])}function Ic(i,t,e){if(i==null)return t(void 0),wr;const r=et(()=>i.subscribe(t,e));return r.unsubscribe?()=>r.unsubscribe():r}function y0(i){let t;return Ic(i,e=>t=e)(),t}let vn=!1,Va=Symbol();function x0(i,t,e){const r=e[t]??(e[t]={store:null,source:To(void 0),unsubscribe:wr});if(r.store!==i&&!(Va in e))if(r.unsubscribe(),r.store=i??null,i==null)r.source.v=void 0,r.unsubscribe=wr;else{var n=!0;r.unsubscribe=Ic(i,o=>{n?r.source.v=o:be(r.source,o)}),n=!1}return i&&Va in e?y0(i):p(r.source)}function T0(i,t,e){let r=e[t];return r&&r.store!==i&&(r.unsubscribe(),r.unsubscribe=wr),i}function Oc(i,t){return i.set(t),t}function E0(i,t){var e=i[t];e.store!==null&&Oc(e.store,e.source.v)}function k0(){const i={};function t(){Qt(()=>{for(var e in i)i[e].unsubscribe();si(i,Va,{enumerable:!1,value:!0})})}return[i,t]}function S0(i,t,e){return i.set(e),t}function C0(i,t,e=1){return i.set(t+e),t}function P0(i,t,e=1){const r=t+e;return i.set(r),r}function A0(){vn=!0}function Mc(i){var t=vn;try{return vn=!1,[i(),vn]}finally{vn=t}}function R0(i,t=1){const e=i();return i(e+t),e}function I0(i,t=1){const e=i()+t;return i(e),e}const O0={get(i,t){if(!i.exclude.includes(t))return i.props[t]},set(i,t){return!1},getOwnPropertyDescriptor(i,t){if(!i.exclude.includes(t)&&t in i.props)return{enumerable:!0,configurable:!0,value:i.props[t]}},has(i,t){return i.exclude.includes(t)?!1:t in i.props},ownKeys(i){return Reflect.ownKeys(i.props).filter(t=>!i.exclude.includes(t))}};function kt(i,t,e){return new Proxy({props:i,exclude:t},O0)}const M0={get(i,t){if(!i.exclude.includes(t))return p(i.version),t in i.special?i.special[t]():i.props[t]},set(i,t,e){if(!(t in i.special)){var r=Fe;try{jt(i.parent_effect),i.special[t]=or({get[t](){return i.props[t]}},t,zs)}finally{jt(r)}}return i.special[t](e),ln(i.version),!0},getOwnPropertyDescriptor(i,t){if(!i.exclude.includes(t)&&t in i.props)return{enumerable:!0,configurable:!0,value:i.props[t]}},deleteProperty(i,t){return i.exclude.includes(t)||(i.exclude.push(t),ln(i.version)),!0},has(i,t){return i.exclude.includes(t)?!1:t in i.props},ownKeys(i){return Reflect.ownKeys(i.props).filter(t=>!i.exclude.includes(t))}};function D0(i,t){return new Proxy({props:i,exclude:t,special:{},version:Lt(0),parent_effect:Fe},M0)}const L0={get(i,t){let e=i.props.length;for(;e--;){let r=i.props[e];if(Ci(r)&&(r=r()),typeof r=="object"&&r!==null&&t in r)return r[t]}},set(i,t,e){let r=i.props.length;for(;r--;){let n=i.props[r];Ci(n)&&(n=n());const o=hr(n,t);if(o&&o.set)return o.set(e),!0}return!1},getOwnPropertyDescriptor(i,t){let e=i.props.length;for(;e--;){let r=i.props[e];if(Ci(r)&&(r=r()),typeof r=="object"&&r!==null&&t in r){const n=hr(r,t);return n&&!n.configurable&&(n.configurable=!0),n}}},has(i,t){if(t===Dt||t===fo)return!1;for(let e of i.props)if(Ci(e)&&(e=e()),e!=null&&t in e)return!0;return!1},ownKeys(i){const t=[];for(let e of i.props)if(Ci(e)&&(e=e()),!!e){for(const r in e)t.includes(r)||t.push(r);for(const r of Object.getOwnPropertySymbols(e))t.includes(r)||t.push(r)}return t}};function mn(...i){return new Proxy({props:i},L0)}function or(i,t,e,r){var S;var n=(e&kh)!==0,o=(e&Sh)!==0,a=r,s=!0,c=()=>(s&&(s=!1,a=o?et(r):r),a),l;if(n){var u=Dt in i||fo in i;l=((S=hr(i,t))==null?void 0:S.set)??(u&&t in i?P=>i[t]=P:void 0)}var h,f=!1;n?[h,f]=Mc(()=>i[t]):h=i[t],h===void 0&&r!==void 0&&(h=c(),l&&(nd(),l(h)));var v;if(v=()=>{var P=i[t];return P===void 0?c():(s=!0,P)},(e&zs)===0)return v;if(l){var _=i.$$legacy;return(function(P,k){return arguments.length>0?((!k||_||f)&&l(k?v():P),P):v()})}var d=!1,g=((e&Eh)!==0?sn:ga)(()=>(d=!1,v()));n&&p(g);var b=Fe;return(function(P,k){if(arguments.length>0){const A=k?p(g):n?wt(P):P;return be(g,A),d=!0,a!==void 0&&(a=A),P}return _i&&d||(b.f&xr)!==0?g.v:p(g)})}function z0(i,t){ht(()=>{const e=new Map,r=i(),n=ai(r)?r:r==null?[]:Array.from(r),o=n.length;for(let a=0;a<o;a++){const s=t(n[a],a);if(e.has(s)){String(e.get(s));let c=String(s);c.startsWith("[object ")&&(c=null),Xh()}e.set(s,a)}})}function H0(i,t,e,r,n,o){gl(t,()=>{var a=!1;nn==null||nn[Zt],ht(()=>{if(!a){var[s,c]=Mc(e);if(!c){var l=r(),u=!1,h=ht(()=>{u||s[l]});u=!0,h.deps===null&&(ud(),a=!0)}}})})}function N0(i){return new F0(i)}class F0{constructor(t){we(this,jr);we(this,ur);var o;var e=new Map,r=(a,s)=>{var c=To(s,!1,!1);return e.set(a,c),c};const n=new Proxy({...t.props||{},$$events:{}},{get(a,s){return p(e.get(s)??r(s,Reflect.get(a,s)))},has(a,s){return s===fo?!0:(p(e.get(s)??r(s,Reflect.get(a,s))),Reflect.has(a,s))},set(a,s,c){return be(e.get(s)??r(s,c),c),Reflect.set(a,s,c)}});ze(this,ur,(t.hydrate?ic:Sa)(t.component,{target:t.target,anchor:t.anchor,props:n,context:t.context,intro:t.intro??!1,recover:t.recover})),(!((o=t==null?void 0:t.props)!=null&&o.$$host)||t.sync===!1)&&Ft(),ze(this,jr,n.$$events);for(const a of Object.keys(R(this,ur)))a==="$set"||a==="$destroy"||a==="$on"||si(this,a,{get(){return R(this,ur)[a]},set(s){R(this,ur)[a]=s},enumerable:!0});R(this,ur).$set=a=>{Object.assign(n,a)},R(this,ur).$destroy=()=>{oc(R(this,ur))}}$set(t){R(this,ur).$set(t)}$on(t,e){R(this,jr)[t]=R(this,jr)[t]||[];const r=(...n)=>e.call(this,...n);return R(this,jr)[t].push(r),()=>{R(this,jr)[t]=R(this,jr)[t].filter(n=>n!==r)}}$destroy(){R(this,ur).$destroy()}}jr=new WeakMap,ur=new WeakMap;let Dc;typeof HTMLElement=="function"&&(Dc=class extends HTMLElement{constructor(t,e,r){super();nt(this,"$$ctor");nt(this,"$$s");nt(this,"$$c");nt(this,"$$cn",!1);nt(this,"$$d",{});nt(this,"$$r",!1);nt(this,"$$p_d",{});nt(this,"$$l",{});nt(this,"$$l_u",new Map);nt(this,"$$me");this.$$ctor=t,this.$$s=e,r&&this.attachShadow({mode:"open"})}addEventListener(t,e,r){if(this.$$l[t]=this.$$l[t]||[],this.$$l[t].push(e),this.$$c){const n=this.$$c.$on(t,e);this.$$l_u.set(e,n)}super.addEventListener(t,e,r)}removeEventListener(t,e,r){if(super.removeEventListener(t,e,r),this.$$c){const n=this.$$l_u.get(e);n&&(n(),this.$$l_u.delete(e))}}async connectedCallback(){if(this.$$cn=!0,!this.$$c){let t=function(n){return o=>{const a=document.createElement("slot");n!=="default"&&(a.name=n),x(o,a)}};if(await Promise.resolve(),!this.$$cn||this.$$c)return;const e={},r=B0(this);for(const n of this.$$s)n in r&&(n==="default"&&!this.$$d.children?(this.$$d.children=t(n),e.default=!0):e[n]=t(n));for(const n of this.attributes){const o=this.$$g_p(n.name);o in this.$$d||(this.$$d[o]=zo(o,n.value,this.$$p_d,"toProp"))}for(const n in this.$$p_d)!(n in this.$$d)&&this[n]!==void 0&&(this.$$d[n]=this[n],delete this[n]);this.$$c=N0({component:this.$$ctor,target:this.shadowRoot||this,props:{...this.$$d,$$slots:e,$$host:this}}),this.$$me=Ml(()=>{ht(()=>{var n;this.$$r=!0;for(const o of oo(this.$$c)){if(!((n=this.$$p_d[o])!=null&&n.reflect))continue;this.$$d[o]=this.$$c[o];const a=zo(o,this.$$d[o],this.$$p_d,"toAttribute");a==null?this.removeAttribute(this.$$p_d[o].attribute||o):this.setAttribute(this.$$p_d[o].attribute||o,a)}this.$$r=!1})});for(const n in this.$$l)for(const o of this.$$l[n]){const a=this.$$c.$on(n,o);this.$$l_u.set(o,a)}this.$$l={}}}attributeChangedCallback(t,e,r){var n;this.$$r||(t=this.$$g_p(t),this.$$d[t]=zo(t,r,this.$$p_d,"toProp"),(n=this.$$c)==null||n.$set({[t]:this.$$d[t]}))}disconnectedCallback(){this.$$cn=!1,Promise.resolve().then(()=>{!this.$$cn&&this.$$c&&(this.$$c.$destroy(),this.$$me(),this.$$c=void 0)})}$$g_p(t){return oo(this.$$p_d).find(e=>this.$$p_d[e].attribute===t||!this.$$p_d[e].attribute&&e.toLowerCase()===t)||t}});function zo(i,t,e,r){var o;const n=(o=e[i])==null?void 0:o.type;if(t=n==="Boolean"&&typeof t!="boolean"?t!=null:t,!r||!e[i])return t;if(r==="toAttribute")switch(n){case"Object":case"Array":return t==null?null:JSON.stringify(t);case"Boolean":return t?"":null;case"Number":return t??null;default:return t}else switch(n){case"Object":case"Array":return t&&JSON.parse(t);case"Boolean":return t;case"Number":return t!=null?+t:t;default:return t}}function B0(i){const t={};return i.childNodes.forEach(e=>{t[e.slot||"default"]=!0}),t}function Lc(i,t,e,r,n,o){let a=class extends Dc{constructor(){super(i,e,n),this.$$p_d=t}static get observedAttributes(){return oo(t).map(s=>(t[s].attribute||s).toLowerCase())}};return oo(t).forEach(s=>{si(a.prototype,s,{get(){return this.$$c&&s in this.$$c?this.$$c[s]:this.$$d[s]},set(c){var h;c=zo(s,c,t),this.$$d[s]=c;var l=this.$$c;if(l){var u=(h=hr(l,s))==null?void 0:h.get;u?l[s]=c:l.$set({[s]:c})}}})}),r.forEach(s=>{si(a.prototype,s,{get(){var c;return(c=this.$$c)==null?void 0:c[s]}})}),o&&(a=o(a)),i.element=a,a}function V0(i,...t){return et(()=>{try{let e=!1;const r=[];for(const n of t)n&&typeof n=="object"&&Dt in n?(r.push(go(n,!0)),e=!0):r.push(n);e&&(hd(i),console.log("%c[snapshot]","color: grey",...r))}catch{}}),t}const j0=Object.freeze(Object.defineProperty({__proto__:null,CLASS:Bi,FILENAME:Zt,HMR:Ns,NAMESPACE_SVG:io,STYLE:Vi,aborted:Eo,action:Ar,get active_effect(){return Fe},add_legacy_event_listener:w0,add_locations:$f,add_svelte_meta:Cd,animation:bp,append:x,append_styles:Ep,apply:wf,assign:Xf,assign_and:Yf,assign_nullish:Qf,assign_or:Kf,async:ap,async_body:jd,async_derived:vl,attach:mc,attachment:qf,attr:Pp,attribute_effect:Et,autofocus:Cl,await:lp,bind_active_element:Np,bind_buffered:Up,bind_checked:Bp,bind_content_editable:o0,bind_current_time:jp,bind_element_size:n0,bind_ended:qp,bind_files:Vp,bind_focused:s0,bind_group:Fp,bind_muted:Jp,bind_online:$p,bind_paused:Kp,bind_playback_rate:Yp,bind_played:Zp,bind_prop:e0,bind_property:a0,bind_ready_state:Xp,bind_resize_observer:i0,bind_seekable:Gp,bind_seeking:Wp,bind_select_value:Ip,bind_this:ji,bind_value:Sc,bind_volume:Qp,bind_window_scroll:l0,bind_window_size:c0,boundary:pl,bubble_event:_0,check_target:ip,child:G,cleanup_styles:Jf,clsx:Tt,comment:te,component:Fi,create_custom_element:Lc,create_ownership_validator:rp,css_props:up,deep_read:Co,deep_read_state:Ea,deferred_template_effect:sf,delegate:Qr,derived:re,derived_safe_equal:ga,get document(){return Tl},each:Ut,eager:Dd,effect:Jt,effect_root:Ml,effect_tracking:gi,element:xp,equals:Yd,event:Po,exclude_from_object:vf,fallback:zh,first_child:X,flush:Ft,for_await_track_reactivity_loss:Vd,from_html:me,from_mathml:bf,from_svg:$,from_tree:yf,get:p,head:Tp,hmr:tp,html:Cr,hydrate_template:_d,if:D,index:Ni,init:v0,init_select:Da,inspect:op,invalid_default_snippet:Bh,invalidate_inner_signals:uf,invalidate_store:E0,invoke_error_boundary:Fr,key:cp,legacy_api:np,legacy_pre_effect:nf,legacy_pre_effect_reset:of,legacy_rest_props:D0,log_if_contains_state:V0,mark_store_binding:A0,mutable_source:To,mutate:Wd,next:gt,noop:wr,once:f0,pending:Fd,pop:Je,preventDefault:g0,prevent_snippet_stringification:ac,prop:or,props_id:Ef,proxy:wt,push:Qe,raf:Pr,reactive_import:m0,remove_input_defaults:Do,remove_textarea_child:ef,render_effect:ht,replay_events:_f,reset:U,rest_props:kt,run:Ud,run_after_blockers:gl,safe_get:pf,sanitize_slots:gp,save:Bd,select_option:fn,self:h0,set:be,set_attribute:Ne,set_checked:Ec,set_class:He,set_custom_element_data:zp,set_default_checked:Mp,set_default_value:Dp,set_selected:kc,set_style:Ot,set_text:qe,set_value:Op,set_xlink_attribute:Lp,setup_stores:k0,sibling:ue,slot:pp,snapshot:go,snippet:xt,spread_props:mn,state:Ae,stopImmediatePropagation:p0,stopPropagation:d0,store_get:x0,store_mutate:S0,store_set:Oc,store_unsub:T0,strict_equals:Xd,tag:Ed,tag_proxy:ol,template_effect:Oe,text:mt,tick:Ta,to_array:Hh,trace:Td,track_reactivity_loss:pa,transition:yp,trusted:u0,untrack:et,update:ln,update_legacy_props:b0,update_pre:qd,update_pre_prop:I0,update_pre_store:P0,update_prop:R0,update_store:C0,user_effect:st,user_pre_effect:Il,validate_binding:H0,validate_dynamic_element_tag:Hf,validate_each_keys:z0,validate_snippet_args:sp,validate_store:Nf,validate_void_dynamic_element:zf,get window(){return ma},with_script:xf,wrap_snippet:Ff},Symbol.toStringTag,{value:"Module"})),U0="5";typeof window<"u"&&((ch=window.__svelte??(window.__svelte={})).v??(ch.v=new Set)).add(U0);const G0=`/*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scale-z:1;--tw-space-y-reverse:0;--tw-divide-y-reverse:0;--tw-border-style:solid;--tw-leading:initial;--tw-font-weight:initial;--tw-tracking:initial;--tw-ordinal:initial;--tw-slashed-zero:initial;--tw-numeric-figure:initial;--tw-numeric-spacing:initial;--tw-numeric-fraction:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-outline-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-backdrop-blur:initial;--tw-backdrop-brightness:initial;--tw-backdrop-contrast:initial;--tw-backdrop-grayscale:initial;--tw-backdrop-hue-rotate:initial;--tw-backdrop-invert:initial;--tw-backdrop-opacity:initial;--tw-backdrop-saturate:initial;--tw-backdrop-sepia:initial;--tw-duration:initial;--tw-ease:initial}}}@layer theme{:root,:host{--font-sans:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--color-red-500:oklch(63.7% .237 25.331);--color-yellow-200:oklch(94.5% .129 101.54);--color-yellow-400:oklch(85.2% .199 91.936);--color-yellow-900:oklch(42.1% .095 57.708);--color-black:#000;--color-white:#fff;--spacing:.25rem;--container-xs:20rem;--container-5xl:64rem;--text-xs:.75rem;--text-xs--line-height:calc(1/.75);--text-sm:.875rem;--text-sm--line-height:calc(1.25/.875);--text-lg:1.125rem;--text-lg--line-height:calc(1.75/1.125);--text-3xl:1.875rem;--text-3xl--line-height: 1.2 ;--text-4xl:2.25rem;--text-4xl--line-height:calc(2.5/2.25);--font-weight-normal:400;--font-weight-medium:500;--font-weight-semibold:600;--font-weight-bold:700;--tracking-wider:.05em;--leading-relaxed:1.625;--radius-md:.375rem;--radius-lg:.5rem;--radius-xl:.75rem;--drop-shadow-md:0 3px 3px #0000001f;--ease-in-out:cubic-bezier(.4,0,.2,1);--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4,0,.2,1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;-moz-tab-size:4;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){-webkit-appearance:button;-moz-appearance:button;appearance:button}::file-selector-button{-webkit-appearance:button;-moz-appearance:button;appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}*{scrollbar-width:thin;scrollbar-color:var(--fallback-bc,oklch(var(--bc)/.2))transparent}::-webkit-scrollbar{width:4px;height:4px}::-webkit-scrollbar-track{background:0 0}::-webkit-scrollbar-thumb{background-color:var(--fallback-bc,oklch(var(--bc)/.2));border-radius:9999px}::-webkit-scrollbar-thumb:hover{background-color:var(--fallback-bc,oklch(var(--bc)/.4))}::-webkit-scrollbar-corner{background:0 0}:where(:root),:root:has(input.theme-controller[value=light]:checked),[data-theme=light]{color-scheme:light;--color-base-100:oklch(100% 0 0);--color-base-200:oklch(98% 0 0);--color-base-300:oklch(95% 0 0);--color-base-content:oklch(21% .006 285.885);--color-primary:oklch(45% .24 277.023);--color-primary-content:oklch(93% .034 272.788);--color-secondary:oklch(65% .241 354.308);--color-secondary-content:oklch(94% .028 342.258);--color-accent:oklch(77% .152 181.912);--color-accent-content:oklch(38% .063 188.416);--color-neutral:oklch(14% .005 285.823);--color-neutral-content:oklch(92% .004 286.32);--color-info:oklch(74% .16 232.661);--color-info-content:oklch(29% .066 243.157);--color-success:oklch(76% .177 163.223);--color-success-content:oklch(37% .077 168.94);--color-warning:oklch(82% .189 84.429);--color-warning-content:oklch(41% .112 45.904);--color-error:oklch(71% .194 13.428);--color-error-content:oklch(27% .105 12.094);--radius-selector:.5rem;--radius-field:.25rem;--radius-box:.5rem;--size-selector:.25rem;--size-field:.25rem;--border:1px;--depth:1;--noise:0}@media(prefers-color-scheme:dark){:root:not([data-theme]){color-scheme:dark;--color-base-100:oklch(25.33% .016 252.42);--color-base-200:oklch(23.26% .014 253.1);--color-base-300:oklch(21.15% .012 254.09);--color-base-content:oklch(97.807% .029 256.847);--color-primary:oklch(58% .233 277.117);--color-primary-content:oklch(96% .018 272.314);--color-secondary:oklch(65% .241 354.308);--color-secondary-content:oklch(94% .028 342.258);--color-accent:oklch(77% .152 181.912);--color-accent-content:oklch(38% .063 188.416);--color-neutral:oklch(14% .005 285.823);--color-neutral-content:oklch(92% .004 286.32);--color-info:oklch(74% .16 232.661);--color-info-content:oklch(29% .066 243.157);--color-success:oklch(76% .177 163.223);--color-success-content:oklch(37% .077 168.94);--color-warning:oklch(82% .189 84.429);--color-warning-content:oklch(41% .112 45.904);--color-error:oklch(71% .194 13.428);--color-error-content:oklch(27% .105 12.094);--radius-selector:.5rem;--radius-field:.25rem;--radius-box:.5rem;--size-selector:.25rem;--size-field:.25rem;--border:1px;--depth:1;--noise:0}}:root:has(input.theme-controller[value=light]:checked),[data-theme=light]{color-scheme:light;--color-base-100:oklch(100% 0 0);--color-base-200:oklch(98% 0 0);--color-base-300:oklch(95% 0 0);--color-base-content:oklch(21% .006 285.885);--color-primary:oklch(45% .24 277.023);--color-primary-content:oklch(93% .034 272.788);--color-secondary:oklch(65% .241 354.308);--color-secondary-content:oklch(94% .028 342.258);--color-accent:oklch(77% .152 181.912);--color-accent-content:oklch(38% .063 188.416);--color-neutral:oklch(14% .005 285.823);--color-neutral-content:oklch(92% .004 286.32);--color-info:oklch(74% .16 232.661);--color-info-content:oklch(29% .066 243.157);--color-success:oklch(76% .177 163.223);--color-success-content:oklch(37% .077 168.94);--color-warning:oklch(82% .189 84.429);--color-warning-content:oklch(41% .112 45.904);--color-error:oklch(71% .194 13.428);--color-error-content:oklch(27% .105 12.094);--radius-selector:.5rem;--radius-field:.25rem;--radius-box:.5rem;--size-selector:.25rem;--size-field:.25rem;--border:1px;--depth:1;--noise:0}:root:has(input.theme-controller[value=dark]:checked),[data-theme=dark]{color-scheme:dark;--color-base-100:oklch(25.33% .016 252.42);--color-base-200:oklch(23.26% .014 253.1);--color-base-300:oklch(21.15% .012 254.09);--color-base-content:oklch(97.807% .029 256.847);--color-primary:oklch(58% .233 277.117);--color-primary-content:oklch(96% .018 272.314);--color-secondary:oklch(65% .241 354.308);--color-secondary-content:oklch(94% .028 342.258);--color-accent:oklch(77% .152 181.912);--color-accent-content:oklch(38% .063 188.416);--color-neutral:oklch(14% .005 285.823);--color-neutral-content:oklch(92% .004 286.32);--color-info:oklch(74% .16 232.661);--color-info-content:oklch(29% .066 243.157);--color-success:oklch(76% .177 163.223);--color-success-content:oklch(37% .077 168.94);--color-warning:oklch(82% .189 84.429);--color-warning-content:oklch(41% .112 45.904);--color-error:oklch(71% .194 13.428);--color-error-content:oklch(27% .105 12.094);--radius-selector:.5rem;--radius-field:.25rem;--radius-box:.5rem;--size-selector:.25rem;--size-field:.25rem;--border:1px;--depth:1;--noise:0}:root:has(input.theme-controller[value=cupcake]:checked),[data-theme=cupcake]{color-scheme:light;--color-base-100:oklch(97.788% .004 56.375);--color-base-200:oklch(93.982% .007 61.449);--color-base-300:oklch(91.586% .006 53.44);--color-base-content:oklch(23.574% .066 313.189);--color-primary:oklch(85% .138 181.071);--color-primary-content:oklch(43% .078 188.216);--color-secondary:oklch(89% .061 343.231);--color-secondary-content:oklch(45% .187 3.815);--color-accent:oklch(90% .076 70.697);--color-accent-content:oklch(47% .157 37.304);--color-neutral:oklch(27% .006 286.033);--color-neutral-content:oklch(92% .004 286.32);--color-info:oklch(68% .169 237.323);--color-info-content:oklch(29% .066 243.157);--color-success:oklch(69% .17 162.48);--color-success-content:oklch(26% .051 172.552);--color-warning:oklch(79% .184 86.047);--color-warning-content:oklch(28% .066 53.813);--color-error:oklch(64% .246 16.439);--color-error-content:oklch(27% .105 12.094);--radius-selector:1rem;--radius-field:2rem;--radius-box:1rem;--size-selector:.25rem;--size-field:.25rem;--border:2px;--depth:1;--noise:0}:root:has(input.theme-controller[value=bumblebee]:checked),[data-theme=bumblebee]{color-scheme:light;--color-base-100:oklch(100% 0 0);--color-base-200:oklch(97% 0 0);--color-base-300:oklch(92% 0 0);--color-base-content:oklch(20% 0 0);--color-primary:oklch(85% .199 91.936);--color-primary-content:oklch(42% .095 57.708);--color-secondary:oklch(75% .183 55.934);--color-secondary-content:oklch(40% .123 38.172);--color-accent:oklch(0% 0 0);--color-accent-content:oklch(100% 0 0);--color-neutral:oklch(37% .01 67.558);--color-neutral-content:oklch(92% .003 48.717);--color-info:oklch(74% .16 232.661);--color-info-content:oklch(39% .09 240.876);--color-success:oklch(76% .177 163.223);--color-success-content:oklch(37% .077 168.94);--color-warning:oklch(82% .189 84.429);--color-warning-content:oklch(41% .112 45.904);--color-error:oklch(70% .191 22.216);--color-error-content:oklch(39% .141 25.723);--radius-selector:1rem;--radius-field:.5rem;--radius-box:1rem;--size-selector:.25rem;--size-field:.25rem;--border:1px;--depth:1;--noise:0}:root:has(input.theme-controller[value=emerald]:checked),[data-theme=emerald]{color-scheme:light;--color-base-100:oklch(100% 0 0);--color-base-200:oklch(93% 0 0);--color-base-300:oklch(86% 0 0);--color-base-content:oklch(35.519% .032 262.988);--color-primary:oklch(76.662% .135 153.45);--color-primary-content:oklch(33.387% .04 162.24);--color-secondary:oklch(61.302% .202 261.294);--color-secondary-content:oklch(100% 0 0);--color-accent:oklch(72.772% .149 33.2);--color-accent-content:oklch(0% 0 0);--color-neutral:oklch(35.519% .032 262.988);--color-neutral-content:oklch(98.462% .001 247.838);--color-info:oklch(72.06% .191 231.6);--color-info-content:oklch(0% 0 0);--color-success:oklch(64.8% .15 160);--color-success-content:oklch(0% 0 0);--color-warning:oklch(84.71% .199 83.87);--color-warning-content:oklch(0% 0 0);--color-error:oklch(71.76% .221 22.18);--color-error-content:oklch(0% 0 0);--radius-selector:1rem;--radius-field:.5rem;--radius-box:1rem;--size-selector:.25rem;--size-field:.25rem;--border:1px;--depth:0;--noise:0}:root:has(input.theme-controller[value=corporate]:checked),[data-theme=corporate]{color-scheme:light;--color-base-100:oklch(100% 0 0);--color-base-200:oklch(93% 0 0);--color-base-300:oklch(86% 0 0);--color-base-content:oklch(22.389% .031 278.072);--color-primary:oklch(58% .158 241.966);--color-primary-content:oklch(100% 0 0);--color-secondary:oklch(55% .046 257.417);--color-secondary-content:oklch(100% 0 0);--color-accent:oklch(60% .118 184.704);--color-accent-content:oklch(100% 0 0);--color-neutral:oklch(0% 0 0);--color-neutral-content:oklch(100% 0 0);--color-info:oklch(60% .126 221.723);--color-info-content:oklch(100% 0 0);--color-success:oklch(62% .194 149.214);--color-success-content:oklch(100% 0 0);--color-warning:oklch(85% .199 91.936);--color-warning-content:oklch(0% 0 0);--color-error:oklch(70% .191 22.216);--color-error-content:oklch(0% 0 0);--radius-selector:.25rem;--radius-field:.25rem;--radius-box:.25rem;--size-selector:.25rem;--size-field:.25rem;--border:1px;--depth:0;--noise:0}:root:has(input.theme-controller[value=synthwave]:checked),[data-theme=synthwave]{color-scheme:dark;--color-base-100:oklch(15% .09 281.288);--color-base-200:oklch(20% .09 281.288);--color-base-300:oklch(25% .09 281.288);--color-base-content:oklch(78% .115 274.713);--color-primary:oklch(71% .202 349.761);--color-primary-content:oklch(28% .109 3.907);--color-secondary:oklch(82% .111 230.318);--color-secondary-content:oklch(29% .066 243.157);--color-accent:oklch(75% .183 55.934);--color-accent-content:oklch(26% .079 36.259);--color-neutral:oklch(45% .24 277.023);--color-neutral-content:oklch(87% .065 274.039);--color-info:oklch(74% .16 232.661);--color-info-content:oklch(29% .066 243.157);--color-success:oklch(77% .152 181.912);--color-success-content:oklch(27% .046 192.524);--color-warning:oklch(90% .182 98.111);--color-warning-content:oklch(42% .095 57.708);--color-error:oklch(73.7% .121 32.639);--color-error-content:oklch(23.501% .096 290.329);--radius-selector:1rem;--radius-field:.5rem;--radius-box:1rem;--size-selector:.25rem;--size-field:.25rem;--border:1px;--depth:0;--noise:0}:root:has(input.theme-controller[value=retro]:checked),[data-theme=retro]{color-scheme:light;--color-base-100:oklch(91.637% .034 90.515);--color-base-200:oklch(88.272% .049 91.774);--color-base-300:oklch(84.133% .065 90.856);--color-base-content:oklch(41% .112 45.904);--color-primary:oklch(80% .114 19.571);--color-primary-content:oklch(39% .141 25.723);--color-secondary:oklch(92% .084 155.995);--color-secondary-content:oklch(44% .119 151.328);--color-accent:oklch(68% .162 75.834);--color-accent-content:oklch(41% .112 45.904);--color-neutral:oklch(44% .011 73.639);--color-neutral-content:oklch(86% .005 56.366);--color-info:oklch(58% .158 241.966);--color-info-content:oklch(96% .059 95.617);--color-success:oklch(51% .096 186.391);--color-success-content:oklch(96% .059 95.617);--color-warning:oklch(64% .222 41.116);--color-warning-content:oklch(96% .059 95.617);--color-error:oklch(70% .191 22.216);--color-error-content:oklch(40% .123 38.172);--radius-selector:.25rem;--radius-field:.25rem;--radius-box:.5rem;--size-selector:.25rem;--size-field:.25rem;--border:1px;--depth:0;--noise:0}:root:has(input.theme-controller[value=cyberpunk]:checked),[data-theme=cyberpunk]{color-scheme:light;--color-base-100:oklch(94.51% .179 104.32);--color-base-200:oklch(91.51% .179 104.32);--color-base-300:oklch(85.51% .179 104.32);--color-base-content:oklch(0% 0 0);--color-primary:oklch(74.22% .209 6.35);--color-primary-content:oklch(14.844% .041 6.35);--color-secondary:oklch(83.33% .184 204.72);--color-secondary-content:oklch(16.666% .036 204.72);--color-accent:oklch(71.86% .217 310.43);--color-accent-content:oklch(14.372% .043 310.43);--color-neutral:oklch(23.04% .065 269.31);--color-neutral-content:oklch(94.51% .179 104.32);--color-info:oklch(72.06% .191 231.6);--color-info-content:oklch(0% 0 0);--color-success:oklch(64.8% .15 160);--color-success-content:oklch(0% 0 0);--color-warning:oklch(84.71% .199 83.87);--color-warning-content:oklch(0% 0 0);--color-error:oklch(71.76% .221 22.18);--color-error-content:oklch(0% 0 0);--radius-selector:0rem;--radius-field:0rem;--radius-box:0rem;--size-selector:.25rem;--size-field:.25rem;--border:1px;--depth:0;--noise:0}:root:has(input.theme-controller[value=valentine]:checked),[data-theme=valentine]{color-scheme:light;--color-base-100:oklch(97% .014 343.198);--color-base-200:oklch(94% .028 342.258);--color-base-300:oklch(89% .061 343.231);--color-base-content:oklch(52% .223 3.958);--color-primary:oklch(65% .241 354.308);--color-primary-content:oklch(100% 0 0);--color-secondary:oklch(62% .265 303.9);--color-secondary-content:oklch(97% .014 308.299);--color-accent:oklch(82% .111 230.318);--color-accent-content:oklch(39% .09 240.876);--color-neutral:oklch(40% .153 2.432);--color-neutral-content:oklch(89% .061 343.231);--color-info:oklch(86% .127 207.078);--color-info-content:oklch(44% .11 240.79);--color-success:oklch(84% .143 164.978);--color-success-content:oklch(43% .095 166.913);--color-warning:oklch(75% .183 55.934);--color-warning-content:oklch(26% .079 36.259);--color-error:oklch(63% .237 25.331);--color-error-content:oklch(97% .013 17.38);--radius-selector:1rem;--radius-field:2rem;--radius-box:1rem;--size-selector:.25rem;--size-field:.25rem;--border:1px;--depth:0;--noise:0}:root:has(input.theme-controller[value=halloween]:checked),[data-theme=halloween]{color-scheme:dark;--color-base-100:oklch(21% .006 56.043);--color-base-200:oklch(14% .004 49.25);--color-base-300:oklch(0% 0 0);--color-base-content:oklch(84.955% 0 0);--color-primary:oklch(77.48% .204 60.62);--color-primary-content:oklch(19.693% .004 196.779);--color-secondary:oklch(45.98% .248 305.03);--color-secondary-content:oklch(89.196% .049 305.03);--color-accent:oklch(64.8% .223 136.073);--color-accent-content:oklch(0% 0 0);--color-neutral:oklch(24.371% .046 65.681);--color-neutral-content:oklch(84.874% .009 65.681);--color-info:oklch(54.615% .215 262.88);--color-info-content:oklch(90.923% .043 262.88);--color-success:oklch(62.705% .169 149.213);--color-success-content:oklch(12.541% .033 149.213);--color-warning:oklch(66.584% .157 58.318);--color-warning-content:oklch(13.316% .031 58.318);--color-error:oklch(65.72% .199 27.33);--color-error-content:oklch(13.144% .039 27.33);--radius-selector:1rem;--radius-field:.5rem;--radius-box:1rem;--size-selector:.25rem;--size-field:.25rem;--border:1px;--depth:1;--noise:0}:root:has(input.theme-controller[value=garden]:checked),[data-theme=garden]{color-scheme:light;--color-base-100:oklch(92.951% .002 17.197);--color-base-200:oklch(86.445% .002 17.197);--color-base-300:oklch(79.938% .001 17.197);--color-base-content:oklch(16.961% .001 17.32);--color-primary:oklch(62.45% .278 3.836);--color-primary-content:oklch(100% 0 0);--color-secondary:oklch(48.495% .11 355.095);--color-secondary-content:oklch(89.699% .022 355.095);--color-accent:oklch(56.273% .054 154.39);--color-accent-content:oklch(100% 0 0);--color-neutral:oklch(24.155% .049 89.07);--color-neutral-content:oklch(92.951% .002 17.197);--color-info:oklch(72.06% .191 231.6);--color-info-content:oklch(0% 0 0);--color-success:oklch(64.8% .15 160);--color-success-content:oklch(0% 0 0);--color-warning:oklch(84.71% .199 83.87);--color-warning-content:oklch(0% 0 0);--color-error:oklch(71.76% .221 22.18);--color-error-content:oklch(0% 0 0);--radius-selector:1rem;--radius-field:.5rem;--radius-box:1rem;--size-selector:.25rem;--size-field:.25rem;--border:1px;--depth:0;--noise:0}:root:has(input.theme-controller[value=forest]:checked),[data-theme=forest]{color-scheme:dark;--color-base-100:oklch(20.84% .008 17.911);--color-base-200:oklch(18.522% .007 17.911);--color-base-300:oklch(16.203% .007 17.911);--color-base-content:oklch(83.768% .001 17.911);--color-primary:oklch(68.628% .185 148.958);--color-primary-content:oklch(0% 0 0);--color-secondary:oklch(69.776% .135 168.327);--color-secondary-content:oklch(13.955% .027 168.327);--color-accent:oklch(70.628% .119 185.713);--color-accent-content:oklch(14.125% .023 185.713);--color-neutral:oklch(30.698% .039 171.364);--color-neutral-content:oklch(86.139% .007 171.364);--color-info:oklch(72.06% .191 231.6);--color-info-content:oklch(0% 0 0);--color-success:oklch(64.8% .15 160);--color-success-content:oklch(0% 0 0);--color-warning:oklch(84.71% .199 83.87);--color-warning-content:oklch(0% 0 0);--color-error:oklch(71.76% .221 22.18);--color-error-content:oklch(0% 0 0);--radius-selector:1rem;--radius-field:2rem;--radius-box:1rem;--size-selector:.25rem;--size-field:.25rem;--border:1px;--depth:0;--noise:0}:root:has(input.theme-controller[value=aqua]:checked),[data-theme=aqua]{color-scheme:dark;--color-base-100:oklch(37% .146 265.522);--color-base-200:oklch(28% .091 267.935);--color-base-300:oklch(22% .091 267.935);--color-base-content:oklch(90% .058 230.902);--color-primary:oklch(85.661% .144 198.645);--color-primary-content:oklch(40.124% .068 197.603);--color-secondary:oklch(60.682% .108 309.782);--color-secondary-content:oklch(96% .016 293.756);--color-accent:oklch(93.426% .102 94.555);--color-accent-content:oklch(18.685% .02 94.555);--color-neutral:oklch(27% .146 265.522);--color-neutral-content:oklch(80% .146 265.522);--color-info:oklch(54.615% .215 262.88);--color-info-content:oklch(90.923% .043 262.88);--color-success:oklch(62.705% .169 149.213);--color-success-content:oklch(12.541% .033 149.213);--color-warning:oklch(66.584% .157 58.318);--color-warning-content:oklch(27% .077 45.635);--color-error:oklch(73.95% .19 27.33);--color-error-content:oklch(14.79% .038 27.33);--radius-selector:1rem;--radius-field:.5rem;--radius-box:1rem;--size-selector:.25rem;--size-field:.25rem;--border:1px;--depth:1;--noise:0}:root:has(input.theme-controller[value=lofi]:checked),[data-theme=lofi]{color-scheme:light;--color-base-100:oklch(100% 0 0);--color-base-200:oklch(97% 0 0);--color-base-300:oklch(94% 0 0);--color-base-content:oklch(0% 0 0);--color-primary:oklch(15.906% 0 0);--color-primary-content:oklch(100% 0 0);--color-secondary:oklch(21.455% .001 17.278);--color-secondary-content:oklch(100% 0 0);--color-accent:oklch(26.861% 0 0);--color-accent-content:oklch(100% 0 0);--color-neutral:oklch(0% 0 0);--color-neutral-content:oklch(100% 0 0);--color-info:oklch(79.54% .103 205.9);--color-info-content:oklch(15.908% .02 205.9);--color-success:oklch(90.13% .153 164.14);--color-success-content:oklch(18.026% .03 164.14);--color-warning:oklch(88.37% .135 79.94);--color-warning-content:oklch(17.674% .027 79.94);--color-error:oklch(78.66% .15 28.47);--color-error-content:oklch(15.732% .03 28.47);--radius-selector:2rem;--radius-field:.25rem;--radius-box:.5rem;--size-selector:.25rem;--size-field:.25rem;--border:1px;--depth:0;--noise:0}:root:has(input.theme-controller[value=pastel]:checked),[data-theme=pastel]{color-scheme:light;--color-base-100:oklch(100% 0 0);--color-base-200:oklch(98.462% .001 247.838);--color-base-300:oklch(92.462% .001 247.838);--color-base-content:oklch(20% 0 0);--color-primary:oklch(90% .063 306.703);--color-primary-content:oklch(49% .265 301.924);--color-secondary:oklch(89% .058 10.001);--color-secondary-content:oklch(51% .222 16.935);--color-accent:oklch(90% .093 164.15);--color-accent-content:oklch(50% .118 165.612);--color-neutral:oklch(55% .046 257.417);--color-neutral-content:oklch(92% .013 255.508);--color-info:oklch(86% .127 207.078);--color-info-content:oklch(52% .105 223.128);--color-success:oklch(87% .15 154.449);--color-success-content:oklch(52% .154 150.069);--color-warning:oklch(83% .128 66.29);--color-warning-content:oklch(55% .195 38.402);--color-error:oklch(80% .114 19.571);--color-error-content:oklch(50% .213 27.518);--radius-selector:1rem;--radius-field:2rem;--radius-box:1rem;--size-selector:.25rem;--size-field:.25rem;--border:2px;--depth:0;--noise:0}:root:has(input.theme-controller[value=fantasy]:checked),[data-theme=fantasy]{color-scheme:light;--color-base-100:oklch(100% 0 0);--color-base-200:oklch(93% 0 0);--color-base-300:oklch(86% 0 0);--color-base-content:oklch(27.807% .029 256.847);--color-primary:oklch(37.45% .189 325.02);--color-primary-content:oklch(87.49% .037 325.02);--color-secondary:oklch(53.92% .162 241.36);--color-secondary-content:oklch(90.784% .032 241.36);--color-accent:oklch(75.98% .204 56.72);--color-accent-content:oklch(15.196% .04 56.72);--color-neutral:oklch(27.807% .029 256.847);--color-neutral-content:oklch(85.561% .005 256.847);--color-info:oklch(72.06% .191 231.6);--color-info-content:oklch(0% 0 0);--color-success:oklch(64.8% .15 160);--color-success-content:oklch(0% 0 0);--color-warning:oklch(84.71% .199 83.87);--color-warning-content:oklch(0% 0 0);--color-error:oklch(71.76% .221 22.18);--color-error-content:oklch(0% 0 0);--radius-selector:1rem;--radius-field:.5rem;--radius-box:1rem;--size-selector:.25rem;--size-field:.25rem;--border:1px;--depth:1;--noise:0}:root:has(input.theme-controller[value=wireframe]:checked),[data-theme=wireframe]{color-scheme:light;--color-base-100:oklch(100% 0 0);--color-base-200:oklch(97% 0 0);--color-base-300:oklch(94% 0 0);--color-base-content:oklch(20% 0 0);--color-primary:oklch(87% 0 0);--color-primary-content:oklch(26% 0 0);--color-secondary:oklch(87% 0 0);--color-secondary-content:oklch(26% 0 0);--color-accent:oklch(87% 0 0);--color-accent-content:oklch(26% 0 0);--color-neutral:oklch(87% 0 0);--color-neutral-content:oklch(26% 0 0);--color-info:oklch(44% .11 240.79);--color-info-content:oklch(90% .058 230.902);--color-success:oklch(43% .095 166.913);--color-success-content:oklch(90% .093 164.15);--color-warning:oklch(47% .137 46.201);--color-warning-content:oklch(92% .12 95.746);--color-error:oklch(44% .177 26.899);--color-error-content:oklch(88% .062 18.334);--radius-selector:0rem;--radius-field:.25rem;--radius-box:.25rem;--size-selector:.25rem;--size-field:.25rem;--border:1px;--depth:0;--noise:0}:root:has(input.theme-controller[value=black]:checked),[data-theme=black]{color-scheme:dark;--color-base-100:oklch(0% 0 0);--color-base-200:oklch(19% 0 0);--color-base-300:oklch(22% 0 0);--color-base-content:oklch(87.609% 0 0);--color-primary:oklch(35% 0 0);--color-primary-content:oklch(100% 0 0);--color-secondary:oklch(35% 0 0);--color-secondary-content:oklch(100% 0 0);--color-accent:oklch(35% 0 0);--color-accent-content:oklch(100% 0 0);--color-neutral:oklch(35% 0 0);--color-neutral-content:oklch(100% 0 0);--color-info:oklch(45.201% .313 264.052);--color-info-content:oklch(89.04% .062 264.052);--color-success:oklch(51.975% .176 142.495);--color-success-content:oklch(90.395% .035 142.495);--color-warning:oklch(96.798% .211 109.769);--color-warning-content:oklch(19.359% .042 109.769);--color-error:oklch(62.795% .257 29.233);--color-error-content:oklch(12.559% .051 29.233);--radius-selector:0rem;--radius-field:0rem;--radius-box:0rem;--size-selector:.25rem;--size-field:.25rem;--border:1px;--depth:0;--noise:0}:root:has(input.theme-controller[value=luxury]:checked),[data-theme=luxury]{color-scheme:dark;--color-base-100:oklch(14.076% .004 285.822);--color-base-200:oklch(20.219% .004 308.229);--color-base-300:oklch(23.219% .004 308.229);--color-base-content:oklch(75.687% .123 76.89);--color-primary:oklch(100% 0 0);--color-primary-content:oklch(20% 0 0);--color-secondary:oklch(27.581% .064 261.069);--color-secondary-content:oklch(85.516% .012 261.069);--color-accent:oklch(36.674% .051 338.825);--color-accent-content:oklch(87.334% .01 338.825);--color-neutral:oklch(24.27% .057 59.825);--color-neutral-content:oklch(93.203% .089 90.861);--color-info:oklch(79.061% .121 237.133);--color-info-content:oklch(15.812% .024 237.133);--color-success:oklch(78.119% .192 132.154);--color-success-content:oklch(15.623% .038 132.154);--color-warning:oklch(86.127% .136 102.891);--color-warning-content:oklch(17.225% .027 102.891);--color-error:oklch(71.753% .176 22.568);--color-error-content:oklch(14.35% .035 22.568);--radius-selector:1rem;--radius-field:.5rem;--radius-box:1rem;--size-selector:.25rem;--size-field:.25rem;--border:1px;--depth:1;--noise:0}:root:has(input.theme-controller[value=dracula]:checked),[data-theme=dracula]{color-scheme:dark;--color-base-100:oklch(28.822% .022 277.508);--color-base-200:oklch(26.805% .02 277.508);--color-base-300:oklch(24.787% .019 277.508);--color-base-content:oklch(97.747% .007 106.545);--color-primary:oklch(75.461% .183 346.812);--color-primary-content:oklch(15.092% .036 346.812);--color-secondary:oklch(74.202% .148 301.883);--color-secondary-content:oklch(14.84% .029 301.883);--color-accent:oklch(83.392% .124 66.558);--color-accent-content:oklch(16.678% .024 66.558);--color-neutral:oklch(39.445% .032 275.524);--color-neutral-content:oklch(87.889% .006 275.524);--color-info:oklch(88.263% .093 212.846);--color-info-content:oklch(17.652% .018 212.846);--color-success:oklch(87.099% .219 148.024);--color-success-content:oklch(17.419% .043 148.024);--color-warning:oklch(95.533% .134 112.757);--color-warning-content:oklch(19.106% .026 112.757);--color-error:oklch(68.22% .206 24.43);--color-error-content:oklch(13.644% .041 24.43);--radius-selector:1rem;--radius-field:.5rem;--radius-box:1rem;--size-selector:.25rem;--size-field:.25rem;--border:1px;--depth:0;--noise:0}:root:has(input.theme-controller[value=cmyk]:checked),[data-theme=cmyk]{color-scheme:light;--color-base-100:oklch(100% 0 0);--color-base-200:oklch(95% 0 0);--color-base-300:oklch(90% 0 0);--color-base-content:oklch(20% 0 0);--color-primary:oklch(71.772% .133 239.443);--color-primary-content:oklch(14.354% .026 239.443);--color-secondary:oklch(64.476% .202 359.339);--color-secondary-content:oklch(12.895% .04 359.339);--color-accent:oklch(94.228% .189 105.306);--color-accent-content:oklch(18.845% .037 105.306);--color-neutral:oklch(21.778% 0 0);--color-neutral-content:oklch(84.355% 0 0);--color-info:oklch(68.475% .094 217.284);--color-info-content:oklch(13.695% .018 217.284);--color-success:oklch(46.949% .162 321.406);--color-success-content:oklch(89.389% .032 321.406);--color-warning:oklch(71.236% .159 52.023);--color-warning-content:oklch(14.247% .031 52.023);--color-error:oklch(62.013% .208 28.717);--color-error-content:oklch(12.402% .041 28.717);--radius-selector:1rem;--radius-field:.5rem;--radius-box:1rem;--size-selector:.25rem;--size-field:.25rem;--border:1px;--depth:0;--noise:0}:root:has(input.theme-controller[value=autumn]:checked),[data-theme=autumn]{color-scheme:light;--color-base-100:oklch(95.814% 0 0);--color-base-200:oklch(89.107% 0 0);--color-base-300:oklch(82.4% 0 0);--color-base-content:oklch(19.162% 0 0);--color-primary:oklch(40.723% .161 17.53);--color-primary-content:oklch(88.144% .032 17.53);--color-secondary:oklch(61.676% .169 23.865);--color-secondary-content:oklch(12.335% .033 23.865);--color-accent:oklch(73.425% .094 60.729);--color-accent-content:oklch(14.685% .018 60.729);--color-neutral:oklch(54.367% .037 51.902);--color-neutral-content:oklch(90.873% .007 51.902);--color-info:oklch(69.224% .097 207.284);--color-info-content:oklch(13.844% .019 207.284);--color-success:oklch(60.995% .08 174.616);--color-success-content:oklch(12.199% .016 174.616);--color-warning:oklch(70.081% .164 56.844);--color-warning-content:oklch(14.016% .032 56.844);--color-error:oklch(53.07% .241 24.16);--color-error-content:oklch(90.614% .048 24.16);--radius-selector:1rem;--radius-field:.5rem;--radius-box:1rem;--size-selector:.25rem;--size-field:.25rem;--border:1px;--depth:1;--noise:0}:root:has(input.theme-controller[value=business]:checked),[data-theme=business]{color-scheme:dark;--color-base-100:oklch(24.353% 0 0);--color-base-200:oklch(22.648% 0 0);--color-base-300:oklch(20.944% 0 0);--color-base-content:oklch(84.87% 0 0);--color-primary:oklch(41.703% .099 251.473);--color-primary-content:oklch(88.34% .019 251.473);--color-secondary:oklch(64.092% .027 229.389);--color-secondary-content:oklch(12.818% .005 229.389);--color-accent:oklch(67.271% .167 35.791);--color-accent-content:oklch(13.454% .033 35.791);--color-neutral:oklch(27.441% .013 253.041);--color-neutral-content:oklch(85.488% .002 253.041);--color-info:oklch(62.616% .143 240.033);--color-info-content:oklch(12.523% .028 240.033);--color-success:oklch(70.226% .094 156.596);--color-success-content:oklch(14.045% .018 156.596);--color-warning:oklch(77.482% .115 81.519);--color-warning-content:oklch(15.496% .023 81.519);--color-error:oklch(51.61% .146 29.674);--color-error-content:oklch(90.322% .029 29.674);--radius-selector:0rem;--radius-field:.25rem;--radius-box:.25rem;--size-selector:.25rem;--size-field:.25rem;--border:1px;--depth:0;--noise:0}:root:has(input.theme-controller[value=acid]:checked),[data-theme=acid]{color-scheme:light;--color-base-100:oklch(98% 0 0);--color-base-200:oklch(95% 0 0);--color-base-300:oklch(91% 0 0);--color-base-content:oklch(0% 0 0);--color-primary:oklch(71.9% .357 330.759);--color-primary-content:oklch(14.38% .071 330.759);--color-secondary:oklch(73.37% .224 48.25);--color-secondary-content:oklch(14.674% .044 48.25);--color-accent:oklch(92.78% .264 122.962);--color-accent-content:oklch(18.556% .052 122.962);--color-neutral:oklch(21.31% .128 278.68);--color-neutral-content:oklch(84.262% .025 278.68);--color-info:oklch(60.72% .227 252.05);--color-info-content:oklch(12.144% .045 252.05);--color-success:oklch(85.72% .266 158.53);--color-success-content:oklch(17.144% .053 158.53);--color-warning:oklch(91.01% .212 100.5);--color-warning-content:oklch(18.202% .042 100.5);--color-error:oklch(64.84% .293 29.349);--color-error-content:oklch(12.968% .058 29.349);--radius-selector:1rem;--radius-field:1rem;--radius-box:1rem;--size-selector:.25rem;--size-field:.25rem;--border:1px;--depth:1;--noise:0}:root:has(input.theme-controller[value=lemonade]:checked),[data-theme=lemonade]{color-scheme:light;--color-base-100:oklch(98.71% .02 123.72);--color-base-200:oklch(91.8% .018 123.72);--color-base-300:oklch(84.89% .017 123.72);--color-base-content:oklch(19.742% .004 123.72);--color-primary:oklch(58.92% .199 134.6);--color-primary-content:oklch(11.784% .039 134.6);--color-secondary:oklch(77.75% .196 111.09);--color-secondary-content:oklch(15.55% .039 111.09);--color-accent:oklch(85.39% .201 100.73);--color-accent-content:oklch(17.078% .04 100.73);--color-neutral:oklch(30.98% .075 108.6);--color-neutral-content:oklch(86.196% .015 108.6);--color-info:oklch(86.19% .047 224.14);--color-info-content:oklch(17.238% .009 224.14);--color-success:oklch(86.19% .047 157.85);--color-success-content:oklch(17.238% .009 157.85);--color-warning:oklch(86.19% .047 102.15);--color-warning-content:oklch(17.238% .009 102.15);--color-error:oklch(86.19% .047 25.85);--color-error-content:oklch(17.238% .009 25.85);--radius-selector:1rem;--radius-field:.5rem;--radius-box:1rem;--size-selector:.25rem;--size-field:.25rem;--border:1px;--depth:0;--noise:0}:root:has(input.theme-controller[value=night]:checked),[data-theme=night]{color-scheme:dark;--color-base-100:oklch(20.768% .039 265.754);--color-base-200:oklch(19.314% .037 265.754);--color-base-300:oklch(17.86% .034 265.754);--color-base-content:oklch(84.153% .007 265.754);--color-primary:oklch(75.351% .138 232.661);--color-primary-content:oklch(15.07% .027 232.661);--color-secondary:oklch(68.011% .158 276.934);--color-secondary-content:oklch(13.602% .031 276.934);--color-accent:oklch(72.36% .176 350.048);--color-accent-content:oklch(14.472% .035 350.048);--color-neutral:oklch(27.949% .036 260.03);--color-neutral-content:oklch(85.589% .007 260.03);--color-info:oklch(68.455% .148 237.251);--color-info-content:oklch(0% 0 0);--color-success:oklch(78.452% .132 181.911);--color-success-content:oklch(15.69% .026 181.911);--color-warning:oklch(83.242% .139 82.95);--color-warning-content:oklch(16.648% .027 82.95);--color-error:oklch(71.785% .17 13.118);--color-error-content:oklch(14.357% .034 13.118);--radius-selector:1rem;--radius-field:.5rem;--radius-box:1rem;--size-selector:.25rem;--size-field:.25rem;--border:1px;--depth:0;--noise:0}:root:has(input.theme-controller[value=coffee]:checked),[data-theme=coffee]{color-scheme:dark;--color-base-100:oklch(24% .023 329.708);--color-base-200:oklch(21% .021 329.708);--color-base-300:oklch(16% .019 329.708);--color-base-content:oklch(72.354% .092 79.129);--color-primary:oklch(71.996% .123 62.756);--color-primary-content:oklch(14.399% .024 62.756);--color-secondary:oklch(34.465% .029 199.194);--color-secondary-content:oklch(86.893% .005 199.194);--color-accent:oklch(42.621% .074 224.389);--color-accent-content:oklch(88.524% .014 224.389);--color-neutral:oklch(16.51% .015 326.261);--color-neutral-content:oklch(83.302% .003 326.261);--color-info:oklch(79.49% .063 184.558);--color-info-content:oklch(15.898% .012 184.558);--color-success:oklch(74.722% .072 131.116);--color-success-content:oklch(14.944% .014 131.116);--color-warning:oklch(88.15% .14 87.722);--color-warning-content:oklch(17.63% .028 87.722);--color-error:oklch(77.318% .128 31.871);--color-error-content:oklch(15.463% .025 31.871);--radius-selector:1rem;--radius-field:.5rem;--radius-box:1rem;--size-selector:.25rem;--size-field:.25rem;--border:1px;--depth:0;--noise:0}:root:has(input.theme-controller[value=winter]:checked),[data-theme=winter]{color-scheme:light;--color-base-100:oklch(100% 0 0);--color-base-200:oklch(97.466% .011 259.822);--color-base-300:oklch(93.268% .016 262.751);--color-base-content:oklch(41.886% .053 255.824);--color-primary:oklch(56.86% .255 257.57);--color-primary-content:oklch(91.372% .051 257.57);--color-secondary:oklch(42.551% .161 282.339);--color-secondary-content:oklch(88.51% .032 282.339);--color-accent:oklch(59.939% .191 335.171);--color-accent-content:oklch(11.988% .038 335.171);--color-neutral:oklch(19.616% .063 257.651);--color-neutral-content:oklch(83.923% .012 257.651);--color-info:oklch(88.127% .085 214.515);--color-info-content:oklch(17.625% .017 214.515);--color-success:oklch(80.494% .077 197.823);--color-success-content:oklch(16.098% .015 197.823);--color-warning:oklch(89.172% .045 71.47);--color-warning-content:oklch(17.834% .009 71.47);--color-error:oklch(73.092% .11 20.076);--color-error-content:oklch(14.618% .022 20.076);--radius-selector:1rem;--radius-field:.5rem;--radius-box:1rem;--size-selector:.25rem;--size-field:.25rem;--border:1px;--depth:0;--noise:0}:root:has(input.theme-controller[value=dim]:checked),[data-theme=dim]{color-scheme:dark;--color-base-100:oklch(30.857% .023 264.149);--color-base-200:oklch(28.036% .019 264.182);--color-base-300:oklch(26.346% .018 262.177);--color-base-content:oklch(82.901% .031 222.959);--color-primary:oklch(86.133% .141 139.549);--color-primary-content:oklch(17.226% .028 139.549);--color-secondary:oklch(73.375% .165 35.353);--color-secondary-content:oklch(14.675% .033 35.353);--color-accent:oklch(74.229% .133 311.379);--color-accent-content:oklch(14.845% .026 311.379);--color-neutral:oklch(24.731% .02 264.094);--color-neutral-content:oklch(82.901% .031 222.959);--color-info:oklch(86.078% .142 206.182);--color-info-content:oklch(17.215% .028 206.182);--color-success:oklch(86.171% .142 166.534);--color-success-content:oklch(17.234% .028 166.534);--color-warning:oklch(86.163% .142 94.818);--color-warning-content:oklch(17.232% .028 94.818);--color-error:oklch(82.418% .099 33.756);--color-error-content:oklch(16.483% .019 33.756);--radius-selector:1rem;--radius-field:.5rem;--radius-box:1rem;--size-selector:.25rem;--size-field:.25rem;--border:1px;--depth:0;--noise:0}:root:has(input.theme-controller[value=nord]:checked),[data-theme=nord]{color-scheme:light;--color-base-100:oklch(95.127% .007 260.731);--color-base-200:oklch(93.299% .01 261.788);--color-base-300:oklch(89.925% .016 262.749);--color-base-content:oklch(32.437% .022 264.182);--color-primary:oklch(59.435% .077 254.027);--color-primary-content:oklch(11.887% .015 254.027);--color-secondary:oklch(69.651% .059 248.687);--color-secondary-content:oklch(13.93% .011 248.687);--color-accent:oklch(77.464% .062 217.469);--color-accent-content:oklch(15.492% .012 217.469);--color-neutral:oklch(45.229% .035 264.131);--color-neutral-content:oklch(89.925% .016 262.749);--color-info:oklch(69.207% .062 332.664);--color-info-content:oklch(13.841% .012 332.664);--color-success:oklch(76.827% .074 131.063);--color-success-content:oklch(15.365% .014 131.063);--color-warning:oklch(85.486% .089 84.093);--color-warning-content:oklch(17.097% .017 84.093);--color-error:oklch(60.61% .12 15.341);--color-error-content:oklch(12.122% .024 15.341);--radius-selector:1rem;--radius-field:.25rem;--radius-box:.5rem;--size-selector:.25rem;--size-field:.25rem;--border:1px;--depth:0;--noise:0}:root:has(input.theme-controller[value=sunset]:checked),[data-theme=sunset]{color-scheme:dark;--color-base-100:oklch(22% .019 237.69);--color-base-200:oklch(20% .019 237.69);--color-base-300:oklch(18% .019 237.69);--color-base-content:oklch(77.383% .043 245.096);--color-primary:oklch(74.703% .158 39.947);--color-primary-content:oklch(14.94% .031 39.947);--color-secondary:oklch(72.537% .177 2.72);--color-secondary-content:oklch(14.507% .035 2.72);--color-accent:oklch(71.294% .166 299.844);--color-accent-content:oklch(14.258% .033 299.844);--color-neutral:oklch(26% .019 237.69);--color-neutral-content:oklch(70% .019 237.69);--color-info:oklch(85.559% .085 206.015);--color-info-content:oklch(17.111% .017 206.015);--color-success:oklch(85.56% .085 144.778);--color-success-content:oklch(17.112% .017 144.778);--color-warning:oklch(85.569% .084 74.427);--color-warning-content:oklch(17.113% .016 74.427);--color-error:oklch(85.511% .078 16.886);--color-error-content:oklch(17.102% .015 16.886);--radius-selector:1rem;--radius-field:.5rem;--radius-box:1rem;--size-selector:.25rem;--size-field:.25rem;--border:1px;--depth:0;--noise:0}:root{--fx-noise:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cfilter id='a'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.34' numOctaves='4' stitchTiles='stitch'%3E%3C/feTurbulence%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23a)' opacity='0.2'%3E%3C/rect%3E%3C/svg%3E")}@property --radialprogress{syntax: "<percentage>"; inherits: true; initial-value: 0%;}:root:not(span){overflow:var(--page-overflow)}:root{--page-scroll-bg-on:linear-gradient(var(--root-bg),var(--root-bg))var(--root-bg)}@supports (color:color-mix(in lab,red,red)){:root{--page-scroll-bg-on:linear-gradient(var(--root-bg),var(--root-bg))color-mix(in srgb,var(--root-bg),oklch(0% 0 0) calc(var(--page-has-backdrop,0)*40%))}}:root{--page-scroll-transition-on:background-color .3s ease-out;transition:var(--page-scroll-transition);scrollbar-gutter:var(--page-scroll-gutter,unset);scrollbar-gutter:if(style(--page-has-scroll: 1): var(--page-scroll-gutter,unset); else: unset)}:root:root{background:var(--page-scroll-bg,var(--root-bg,var(--color-base-100)))}@keyframes set-page-has-scroll{0%,to{--page-has-scroll:1}}:root,[data-theme]{background-color:var(--root-bg,var(--color-base-100));color:var(--color-base-content)}:where(:root,[data-theme]){--root-bg:var(--color-base-100)}}@layer components;@layer utilities{@layer daisyui.l1.l2.l3{.diff{webkit-user-select:none;-webkit-user-select:none;user-select:none;direction:ltr;grid-template-rows:1fr 1.8rem 1fr;grid-template-columns:auto 1fr;width:100%;display:grid;position:relative;overflow:hidden;container-type:inline-size}.diff:focus-visible,.diff:has(.diff-item-1:focus-visible){outline-style:var(--tw-outline-style);outline-offset:1px;outline-width:2px;outline-color:var(--color-base-content)}.diff:focus-visible .diff-resizer{min-width:95cqi;max-width:95cqi}.diff:has(.diff-item-1:focus-visible){outline-style:var(--tw-outline-style);outline-offset:1px;outline-width:2px}.diff:has(.diff-item-1:focus-visible) .diff-resizer{min-width:5cqi;max-width:5cqi}@supports (-webkit-overflow-scrolling:touch) and (overflow:-webkit-paged-x){.diff:focus .diff-resizer{min-width:5cqi;max-width:5cqi}.diff:has(.diff-item-1:focus) .diff-resizer{min-width:95cqi;max-width:95cqi}}.modal{pointer-events:none;visibility:hidden;width:100%;max-width:none;height:100%;max-height:none;color:inherit;transition:visibility .3s allow-discrete,background-color .3s ease-out,opacity .1s ease-out;overscroll-behavior:contain;z-index:999;scrollbar-gutter:auto;background-color:#0000;place-items:center;margin:0;padding:0;display:grid;position:fixed;top:0;right:0;bottom:0;left:0;overflow:clip}.modal::backdrop{display:none}.tooltip{--tt-bg:var(--color-neutral);--tt-off: calc(100% + .5rem) ;--tt-tail: calc(100% + 1px + .25rem) ;display:inline-block;position:relative}.tooltip>.tooltip-content,.tooltip[data-tip]:before{border-radius:var(--radius-field);text-align:center;white-space:normal;max-width:20rem;color:var(--color-neutral-content);opacity:0;background-color:var(--tt-bg);pointer-events:none;z-index:2;--tw-content:attr(data-tip);content:var(--tw-content);width:max-content;padding-block:.25rem;padding-inline:.5rem;font-size:.875rem;line-height:1.25;position:absolute}.tooltip:after{opacity:0;background-color:var(--tt-bg);content:"";pointer-events:none;--mask-tooltip:url("data:image/svg+xml,%3Csvg width='10' height='4' viewBox='0 0 8 4' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0.500009 1C3.5 1 3.00001 4 5.00001 4C7 4 6.5 1 9.5 1C10 1 10 0.499897 10 0H0C-1.99338e-08 0.5 0 1 0.500009 1Z' fill='black'/%3E%3C/svg%3E%0A");width:.625rem;height:.25rem;-webkit-mask-position:-1px 0;mask-position:-1px 0;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-image:var(--mask-tooltip);mask-image:var(--mask-tooltip);display:block;position:absolute}@media(prefers-reduced-motion:no-preference){.tooltip>.tooltip-content,.tooltip[data-tip]:before,.tooltip:after{transition:opacity .2s cubic-bezier(.4,0,.2,1) 75ms,transform .2s cubic-bezier(.4,0,.2,1) 75ms}}:is(.tooltip:is([data-tip]:not([data-tip=""]),:has(.tooltip-content:not(:empty))).tooltip-open,.tooltip:is([data-tip]:not([data-tip=""]),:has(.tooltip-content:not(:empty))):hover,.tooltip:is([data-tip]:not([data-tip=""]),:has(.tooltip-content:not(:empty))):has(:focus-visible))>.tooltip-content,:is(.tooltip:is([data-tip]:not([data-tip=""]),:has(.tooltip-content:not(:empty))).tooltip-open,.tooltip:is([data-tip]:not([data-tip=""]),:has(.tooltip-content:not(:empty))):hover,.tooltip:is([data-tip]:not([data-tip=""]),:has(.tooltip-content:not(:empty))):has(:focus-visible))[data-tip]:before,:is(.tooltip:is([data-tip]:not([data-tip=""]),:has(.tooltip-content:not(:empty))).tooltip-open,.tooltip:is([data-tip]:not([data-tip=""]),:has(.tooltip-content:not(:empty))):hover,.tooltip:is([data-tip]:not([data-tip=""]),:has(.tooltip-content:not(:empty))):has(:focus-visible)):after{opacity:1;--tt-pos:0rem}@media(prefers-reduced-motion:no-preference){:is(.tooltip:is([data-tip]:not([data-tip=""]),:has(.tooltip-content:not(:empty))).tooltip-open,.tooltip:is([data-tip]:not([data-tip=""]),:has(.tooltip-content:not(:empty))):hover,.tooltip:is([data-tip]:not([data-tip=""]),:has(.tooltip-content:not(:empty))):has(:focus-visible))>.tooltip-content,:is(.tooltip:is([data-tip]:not([data-tip=""]),:has(.tooltip-content:not(:empty))).tooltip-open,.tooltip:is([data-tip]:not([data-tip=""]),:has(.tooltip-content:not(:empty))):hover,.tooltip:is([data-tip]:not([data-tip=""]),:has(.tooltip-content:not(:empty))):has(:focus-visible))[data-tip]:before,:is(.tooltip:is([data-tip]:not([data-tip=""]),:has(.tooltip-content:not(:empty))).tooltip-open,.tooltip:is([data-tip]:not([data-tip=""]),:has(.tooltip-content:not(:empty))):hover,.tooltip:is([data-tip]:not([data-tip=""]),:has(.tooltip-content:not(:empty))):has(:focus-visible)):after{transition:opacity .2s cubic-bezier(.4,0,.2,1),transform .2s cubic-bezier(.4,0,.2,1)}}.tab{cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;text-align:center;webkit-user-select:none;-webkit-user-select:none;user-select:none;flex-wrap:wrap;justify-content:center;align-items:center;display:inline-flex;position:relative}@media(hover:hover){.tab:hover{color:var(--color-base-content)}}.tab{--tab-p:.75rem;--tab-bg:var(--color-base-100);--tab-border-color:var(--color-base-300);--tab-radius-ss:0;--tab-radius-se:0;--tab-radius-es:0;--tab-radius-ee:0;--tab-order:0;--tab-radius-min:calc(.75rem - var(--border));--tab-radius-limit:min(var(--radius-field),var(--tab-radius-min));--tab-radius-grad:#0000 calc(69% - var(--border)),var(--tab-border-color)calc(69% - var(--border) + .25px),var(--tab-border-color)69%,var(--tab-bg) calc(69% + .25px) ;order:var(--tab-order);height:var(--tab-height);padding-inline:var(--tab-p);border-color:#0000;font-size:.875rem}.tab:is(input[type=radio]){min-width:fit-content}.tab:is(input[type=radio]):after{--tw-content:attr(aria-label);content:var(--tw-content)}.tab:is(label){position:relative}.tab:is(label) input{cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;opacity:0;position:absolute;top:0;right:0;bottom:0;left:0}:is(.tab:checked,.tab:is(label:has(:checked)),.tab:is(.tab-active,[aria-selected=true],[aria-current=true],[aria-current=page]))+.tab-content{display:block}.tab:not(:checked,label:has(:checked),:hover,.tab-active,[aria-selected=true],[aria-current=true],[aria-current=page]){color:var(--color-base-content)}@supports (color:color-mix(in lab,red,red)){.tab:not(:checked,label:has(:checked),:hover,.tab-active,[aria-selected=true],[aria-current=true],[aria-current=page]){color:color-mix(in oklab,var(--color-base-content)50%,transparent)}}.tab:not(input):empty{cursor:default;flex-grow:1}.tab:focus{--tw-outline-style:none;outline-style:none}@media(forced-colors:active){.tab:focus{outline-offset:2px;outline:2px solid #0000}}.tab:focus-visible,.tab:is(label:has(:checked:focus-visible)){outline-offset:-5px;outline:2px solid}.tab[disabled]{pointer-events:none;opacity:.4}.menu{--menu-active-fg:var(--color-neutral-content);--menu-active-bg:var(--color-neutral);flex-flow:column wrap;width:fit-content;padding:.5rem;font-size:.875rem;display:flex}.menu :where(li ul){white-space:nowrap;margin-inline-start:1rem;padding-inline-start:.5rem;position:relative}.menu :where(li ul):before{background-color:var(--color-base-content);opacity:.1;width:var(--border);content:"";inset-inline-start:0;position:absolute;top:.75rem;bottom:.75rem}.menu :where(li>.menu-dropdown:not(.menu-dropdown-show)){display:none}.menu :where(li:not(.menu-title)>:not(ul,details,.menu-title,.btn)),.menu :where(li:not(.menu-title)>details>summary:not(.menu-title)){border-radius:var(--radius-field);text-align:start;text-wrap:balance;-webkit-user-select:none;user-select:none;grid-auto-columns:minmax(auto,max-content) auto max-content;grid-auto-flow:column;align-content:flex-start;align-items:center;gap:.5rem;padding-block:.375rem;padding-inline:.75rem;transition-property:color,background-color,box-shadow;transition-duration:.2s;transition-timing-function:cubic-bezier(0,0,.2,1);display:grid}.menu :where(li>details>summary){--tw-outline-style:none;outline-style:none}@media(forced-colors:active){.menu :where(li>details>summary){outline-offset:2px;outline:2px solid #0000}}.menu :where(li>details>summary)::-webkit-details-marker{display:none}:is(.menu :where(li>details>summary),.menu :where(li>.menu-dropdown-toggle)):after{content:"";transform-origin:50%;pointer-events:none;justify-self:flex-end;width:.375rem;height:.375rem;transition-property:rotate,translate;transition-duration:.2s;display:block;translate:0 -1px;rotate:-135deg;box-shadow:inset 2px 2px}.menu details{interpolate-size:allow-keywords;overflow:hidden}.menu details::details-content{block-size:0}@media(prefers-reduced-motion:no-preference){.menu details::details-content{transition-behavior:allow-discrete;transition-property:block-size,content-visibility;transition-duration:.2s;transition-timing-function:cubic-bezier(0,0,.2,1)}}.menu details[open]::details-content{block-size:auto}.menu :where(li>details[open]>summary):after,.menu :where(li>.menu-dropdown-toggle.menu-dropdown-show):after{translate:0 1px;rotate:45deg}.menu :where(li:not(.menu-title,.disabled)>:not(ul,details,.menu-title),li:not(.menu-title,.disabled)>details>summary:not(.menu-title)):not(.menu-active,:active,.btn).menu-focus,.menu :where(li:not(.menu-title,.disabled)>:not(ul,details,.menu-title),li:not(.menu-title,.disabled)>details>summary:not(.menu-title)):not(.menu-active,:active,.btn):focus-visible{cursor:pointer;background-color:var(--color-base-content)}@supports (color:color-mix(in lab,red,red)){.menu :where(li:not(.menu-title,.disabled)>:not(ul,details,.menu-title),li:not(.menu-title,.disabled)>details>summary:not(.menu-title)):not(.menu-active,:active,.btn).menu-focus,.menu :where(li:not(.menu-title,.disabled)>:not(ul,details,.menu-title),li:not(.menu-title,.disabled)>details>summary:not(.menu-title)):not(.menu-active,:active,.btn):focus-visible{background-color:color-mix(in oklab,var(--color-base-content)10%,transparent)}}.menu :where(li:not(.menu-title,.disabled)>:not(ul,details,.menu-title),li:not(.menu-title,.disabled)>details>summary:not(.menu-title)):not(.menu-active,:active,.btn).menu-focus,.menu :where(li:not(.menu-title,.disabled)>:not(ul,details,.menu-title),li:not(.menu-title,.disabled)>details>summary:not(.menu-title)):not(.menu-active,:active,.btn):focus-visible{color:var(--color-base-content);--tw-outline-style:none;outline-style:none}@media(forced-colors:active){.menu :where(li:not(.menu-title,.disabled)>:not(ul,details,.menu-title),li:not(.menu-title,.disabled)>details>summary:not(.menu-title)):not(.menu-active,:active,.btn).menu-focus,.menu :where(li:not(.menu-title,.disabled)>:not(ul,details,.menu-title),li:not(.menu-title,.disabled)>details>summary:not(.menu-title)):not(.menu-active,:active,.btn):focus-visible{outline-offset:2px;outline:2px solid #0000}}.menu :where(li:not(.menu-title,.disabled)>:not(ul,details,.menu-title):not(.menu-active,:active,.btn):hover,li:not(.menu-title,.disabled)>details>summary:not(.menu-title):not(.menu-active,:active,.btn):hover){cursor:pointer;background-color:var(--color-base-content)}@supports (color:color-mix(in lab,red,red)){.menu :where(li:not(.menu-title,.disabled)>:not(ul,details,.menu-title):not(.menu-active,:active,.btn):hover,li:not(.menu-title,.disabled)>details>summary:not(.menu-title):not(.menu-active,:active,.btn):hover){background-color:color-mix(in oklab,var(--color-base-content)10%,transparent)}}.menu :where(li:not(.menu-title,.disabled)>:not(ul,details,.menu-title):not(.menu-active,:active,.btn):hover,li:not(.menu-title,.disabled)>details>summary:not(.menu-title):not(.menu-active,:active,.btn):hover){--tw-outline-style:none;outline-style:none}@media(forced-colors:active){.menu :where(li:not(.menu-title,.disabled)>:not(ul,details,.menu-title):not(.menu-active,:active,.btn):hover,li:not(.menu-title,.disabled)>details>summary:not(.menu-title):not(.menu-active,:active,.btn):hover){outline-offset:2px;outline:2px solid #0000}}.menu :where(li:not(.menu-title,.disabled)>:not(ul,details,.menu-title):not(.menu-active,:active,.btn):hover,li:not(.menu-title,.disabled)>details>summary:not(.menu-title):not(.menu-active,:active,.btn):hover){box-shadow:inset 0 1px #00000003,inset 0 -1px #ffffff03}.menu :where(li:empty){background-color:var(--color-base-content);opacity:.1;height:1px;margin:.5rem 1rem}.menu :where(li){flex-flow:column wrap;flex-shrink:0;align-items:stretch;display:flex;position:relative}.menu :where(li) .badge{justify-self:flex-end}.menu :where(li)>:not(ul,.menu-title,details,.btn):active,.menu :where(li)>:not(ul,.menu-title,details,.btn).menu-active,.menu :where(li)>details>summary:active{--tw-outline-style:none;outline-style:none}@media(forced-colors:active){.menu :where(li)>:not(ul,.menu-title,details,.btn):active,.menu :where(li)>:not(ul,.menu-title,details,.btn).menu-active,.menu :where(li)>details>summary:active{outline-offset:2px;outline:2px solid #0000}}.menu :where(li)>:not(ul,.menu-title,details,.btn):active,.menu :where(li)>:not(ul,.menu-title,details,.btn).menu-active,.menu :where(li)>details>summary:active{color:var(--menu-active-fg);background-color:var(--menu-active-bg);background-size:auto,calc(var(--noise)*100%);background-image:none,var(--fx-noise)}:is(.menu :where(li)>:not(ul,.menu-title,details,.btn):active,.menu :where(li)>:not(ul,.menu-title,details,.btn).menu-active,.menu :where(li)>details>summary:active):not(:is(.menu :where(li)>:not(ul,.menu-title,details,.btn):active,.menu :where(li)>:not(ul,.menu-title,details,.btn).menu-active,.menu :where(li)>details>summary:active):active){box-shadow:0 2px calc(var(--depth)*3px) -2px var(--menu-active-bg)}.menu :where(li).menu-disabled{pointer-events:none;color:var(--color-base-content)}@supports (color:color-mix(in lab,red,red)){.menu :where(li).menu-disabled{color:color-mix(in oklab,var(--color-base-content)20%,transparent)}}.menu .dropdown:focus-within .menu-dropdown-toggle:after{translate:0 1px;rotate:45deg}.menu .dropdown-content{margin-top:.5rem;padding:.5rem}.menu .dropdown-content:before{display:none}.dock{z-index:1;background-color:var(--color-base-100);color:currentColor;border-top:.5px solid var(--color-base-content);flex-direction:row;justify-content:space-around;align-items:center;width:100%;padding:.5rem;display:flex;position:fixed;bottom:0;left:0;right:0}@supports (color:color-mix(in lab,red,red)){.dock{border-top:.5px solid color-mix(in oklab,var(--color-base-content)5%,#0000)}}.dock{height:4rem;height:calc(4rem + env(safe-area-inset-bottom));padding-bottom:env(safe-area-inset-bottom)}.dock>*{cursor:pointer;border-radius:var(--radius-box);background-color:#0000;flex-direction:column;flex-shrink:1;flex-basis:100%;justify-content:center;align-items:center;gap:1px;max-width:8rem;height:100%;margin-bottom:.5rem;transition:opacity .2s ease-out;display:flex;position:relative}@media(hover:hover){.dock>:hover{opacity:.8}}:is(.dock>[aria-disabled=true],.dock>[disabled]),:is(.dock>[aria-disabled=true],.dock>[disabled]):hover{pointer-events:none;color:var(--color-base-content)}@supports (color:color-mix(in lab,red,red)){:is(.dock>[aria-disabled=true],.dock>[disabled]),:is(.dock>[aria-disabled=true],.dock>[disabled]):hover{color:color-mix(in oklab,var(--color-base-content)10%,transparent)}}:is(.dock>[aria-disabled=true],.dock>[disabled]),:is(.dock>[aria-disabled=true],.dock>[disabled]):hover{opacity:1}.dock>* .dock-label{font-size:.6875rem}.dock>:after{content:"";background-color:#0000;border-top:3px solid #0000;border-radius:3.40282e38px;width:1.5rem;height:.25rem;transition:background-color .1s ease-out,text-color .1s ease-out,width .1s ease-out;position:absolute;bottom:.2rem}.dropdown{position-area:var(--anchor-v,bottom)var(--anchor-h,span-right);display:inline-block;position:relative}.dropdown>:not(:has(~[class*=dropdown-content])):focus{--tw-outline-style:none;outline-style:none}@media(forced-colors:active){.dropdown>:not(:has(~[class*=dropdown-content])):focus{outline-offset:2px;outline:2px solid #0000}}.dropdown .dropdown-content{position:absolute}.dropdown.dropdown-close .dropdown-content,.dropdown:not(details,.dropdown-open,.dropdown-hover:hover,:focus-within) .dropdown-content,.dropdown.dropdown-hover:not(:hover) [tabindex]:first-child:focus:not(:focus-visible)~.dropdown-content{transform-origin:top;opacity:0;display:none;scale:95%}.dropdown[popover],.dropdown .dropdown-content{z-index:999}@media(prefers-reduced-motion:no-preference){.dropdown[popover],.dropdown .dropdown-content{transition-behavior:allow-discrete;transition-property:opacity,scale,display;transition-duration:.2s;transition-timing-function:cubic-bezier(.4,0,.2,1);animation:.2s dropdown}}@starting-style{.dropdown[popover],.dropdown .dropdown-content{opacity:0;scale:95%}}:is(.dropdown:not(.dropdown-close).dropdown-open,.dropdown:not(.dropdown-close):not(.dropdown-hover):focus,.dropdown:not(.dropdown-close):focus-within)>[tabindex]:first-child{pointer-events:none}:is(.dropdown:not(.dropdown-close).dropdown-open,.dropdown:not(.dropdown-close):not(.dropdown-hover):focus,.dropdown:not(.dropdown-close):focus-within) .dropdown-content,.dropdown:not(.dropdown-close).dropdown-hover:hover .dropdown-content{opacity:1;scale:100%}.dropdown:is(details) summary::-webkit-details-marker{display:none}.dropdown:where([popover]){background:0 0}.dropdown[popover]{color:inherit;position:fixed}@supports not (position-area:bottom){.dropdown[popover]{margin:auto}.dropdown[popover].dropdown-close{transform-origin:top;opacity:0;display:none;scale:95%}.dropdown[popover].dropdown-open:not(:popover-open){transform-origin:top;opacity:0;display:none;scale:95%}.dropdown[popover]::backdrop{background-color:oklab(0% none none/.3)}}:is(.dropdown[popover].dropdown-close,.dropdown[popover]:not(.dropdown-open,:popover-open)){transform-origin:top;opacity:0;display:none;scale:95%}:where(.btn){width:unset}.btn{cursor:pointer;text-align:center;vertical-align:middle;outline-offset:2px;webkit-user-select:none;-webkit-user-select:none;user-select:none;padding-inline:var(--btn-p);color:var(--btn-fg);--tw-prose-links:var(--btn-fg);height:var(--size);font-size:var(--fontsize,.875rem);outline-color:var(--btn-color,var(--color-base-content));background-color:var(--btn-bg);background-size:auto,calc(var(--noise)*100%);background-image:none,var(--btn-noise);border-width:var(--border);border-style:solid;border-color:var(--btn-border);text-shadow:0 .5px oklch(100% 0 0/calc(var(--depth)*.15));touch-action:manipulation;box-shadow:0 .5px 0 .5px oklch(100% 0 0/calc(var(--depth)*6%)) inset,var(--btn-shadow);--size:calc(var(--size-field,.25rem)*10);--btn-bg:var(--btn-color,var(--color-base-200));--btn-fg:var(--color-base-content);--btn-p:1rem;--btn-border:var(--btn-bg);border-start-start-radius:var(--join-ss,var(--radius-field));border-start-end-radius:var(--join-se,var(--radius-field));border-end-end-radius:var(--join-ee,var(--radius-field));border-end-start-radius:var(--join-es,var(--radius-field));flex-wrap:nowrap;flex-shrink:0;justify-content:center;align-items:center;gap:.375rem;font-weight:600;transition-property:color,background-color,border-color,box-shadow;transition-duration:.2s;transition-timing-function:cubic-bezier(0,0,.2,1);display:inline-flex}@supports (color:color-mix(in lab,red,red)){.btn{--btn-border:color-mix(in oklab,var(--btn-bg),#000 calc(var(--depth)*5%))}}.btn{--btn-shadow:0 3px 2px -2px var(--btn-bg),0 4px 3px -2px var(--btn-bg)}@supports (color:color-mix(in lab,red,red)){.btn{--btn-shadow:0 3px 2px -2px color-mix(in oklab,var(--btn-bg)calc(var(--depth)*30%),#0000),0 4px 3px -2px color-mix(in oklab,var(--btn-bg)calc(var(--depth)*30%),#0000)}}.btn{--btn-noise:var(--fx-noise)}@media(hover:hover){.btn:hover{--btn-bg:var(--btn-color,var(--color-base-200))}@supports (color:color-mix(in lab,red,red)){.btn:hover{--btn-bg:color-mix(in oklab,var(--btn-color,var(--color-base-200)),#000 7%)}}}.btn:focus-visible,.btn:has(:focus-visible){isolation:isolate;outline-width:2px;outline-style:solid}.btn:active:not(.btn-active){--btn-bg:var(--btn-color,var(--color-base-200));translate:0 .5px}@supports (color:color-mix(in lab,red,red)){.btn:active:not(.btn-active){--btn-bg:color-mix(in oklab,var(--btn-color,var(--color-base-200)),#000 5%)}}.btn:active:not(.btn-active){--btn-border:var(--btn-color,var(--color-base-200))}@supports (color:color-mix(in lab,red,red)){.btn:active:not(.btn-active){--btn-border:color-mix(in oklab,var(--btn-color,var(--color-base-200)),#000 7%)}}.btn:active:not(.btn-active){--btn-shadow:0 0 0 0 oklch(0% 0 0/0),0 0 0 0 oklch(0% 0 0/0)}.btn:is(input[type=checkbox],input[type=radio]){-webkit-appearance:none;-moz-appearance:none;appearance:none}.btn:is(input[type=checkbox],input[type=radio])[aria-label]:after{--tw-content:attr(aria-label);content:var(--tw-content)}.btn:where(input:checked:not(.filter .btn)){--btn-color:var(--color-primary);--btn-fg:var(--color-primary-content);isolation:isolate}.loading{pointer-events:none;aspect-ratio:1;vertical-align:middle;width:calc(var(--size-selector,.25rem)*6);background-color:currentColor;display:inline-block;-webkit-mask-image:url("data:image/svg+xml,%3Csvg width='24' height='24' stroke='black' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cg transform-origin='center'%3E%3Ccircle cx='12' cy='12' r='9.5' fill='none' stroke-width='3' stroke-linecap='round'%3E%3CanimateTransform attributeName='transform' type='rotate' from='0 12 12' to='360 12 12' dur='2s' repeatCount='indefinite'/%3E%3Canimate attributeName='stroke-dasharray' values='0,150;42,150;42,150' keyTimes='0;0.475;1' dur='1.5s' repeatCount='indefinite'/%3E%3Canimate attributeName='stroke-dashoffset' values='0;-16;-59' keyTimes='0;0.475;1' dur='1.5s' repeatCount='indefinite'/%3E%3C/circle%3E%3C/g%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg width='24' height='24' stroke='black' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cg transform-origin='center'%3E%3Ccircle cx='12' cy='12' r='9.5' fill='none' stroke-width='3' stroke-linecap='round'%3E%3CanimateTransform attributeName='transform' type='rotate' from='0 12 12' to='360 12 12' dur='2s' repeatCount='indefinite'/%3E%3Canimate attributeName='stroke-dasharray' values='0,150;42,150;42,150' keyTimes='0;0.475;1' dur='1.5s' repeatCount='indefinite'/%3E%3Canimate attributeName='stroke-dashoffset' values='0;-16;-59' keyTimes='0;0.475;1' dur='1.5s' repeatCount='indefinite'/%3E%3C/circle%3E%3C/g%3E%3C/svg%3E");-webkit-mask-position:50%;mask-position:50%;-webkit-mask-size:100%;mask-size:100%;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat}.list{flex-direction:column;font-size:.875rem;display:flex}.list .list-row{--list-grid-cols:minmax(0,auto)1fr;border-radius:var(--radius-box);word-break:break-word;grid-auto-flow:column;grid-template-columns:var(--list-grid-cols);gap:1rem;padding:1rem;display:grid;position:relative}:is(.list>:not(:last-child).list-row,.list>:not(:last-child) .list-row):after{content:"";border-bottom:var(--border)solid;inset-inline:var(--radius-box);border-color:var(--color-base-content);position:absolute;bottom:0}@supports (color:color-mix(in lab,red,red)){:is(.list>:not(:last-child).list-row,.list>:not(:last-child) .list-row):after{border-color:color-mix(in oklab,var(--color-base-content)5%,transparent)}}.toggle{border:var(--border)solid currentColor;color:var(--input-color);cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;vertical-align:middle;webkit-user-select:none;-webkit-user-select:none;user-select:none;--radius-selector-max:calc(var(--radius-selector) + var(--radius-selector) + var(--radius-selector));border-radius:calc(var(--radius-selector) + min(var(--toggle-p),var(--radius-selector-max)) + min(var(--border),var(--radius-selector-max)));padding:var(--toggle-p);flex-shrink:0;grid-template-columns:0fr 1fr 1fr;place-content:center;display:inline-grid;position:relative;box-shadow:inset 0 1px}@supports (color:color-mix(in lab,red,red)){.toggle{box-shadow:0 1px color-mix(in oklab,currentColor calc(var(--depth)*10%),#0000) inset}}.toggle{--input-color:var(--color-base-content);transition:color .3s,grid-template-columns .2s}@supports (color:color-mix(in lab,red,red)){.toggle{--input-color:color-mix(in oklab,var(--color-base-content)50%,#0000)}}.toggle{--toggle-p:calc(var(--size)*.125);--size:calc(var(--size-selector,.25rem)*6);width:calc((var(--size)*2) - (var(--border) + var(--toggle-p))*2);height:var(--size)}.toggle>*{z-index:1;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:#0000;border:none;grid-column:2/span 1;grid-row-start:1;height:100%;padding:.125rem;transition:opacity .2s,rotate .4s}.toggle>:focus{--tw-outline-style:none;outline-style:none}@media(forced-colors:active){.toggle>:focus{outline-offset:2px;outline:2px solid #0000}}.toggle>:nth-child(2){color:var(--color-base-100);rotate:none}.toggle>:nth-child(3){color:var(--color-base-100);opacity:0;rotate:-15deg}.toggle:has(:checked)>:nth-child(2){opacity:0;rotate:15deg}.toggle:has(:checked)>:nth-child(3){opacity:1;rotate:none}.toggle:before{aspect-ratio:1;border-radius:var(--radius-selector);--tw-content:"";content:var(--tw-content);height:100%;box-shadow:0 -1px oklch(0% 0 0/calc(var(--depth)*.1)) inset,0 8px 0 -4px oklch(100% 0 0/calc(var(--depth)*.1)) inset,0 1px currentColor;background-color:currentColor;grid-row-start:1;grid-column-start:2;transition:background-color .1s,translate .2s,inset-inline-start .2s;position:relative;inset-inline-start:0;translate:0}@supports (color:color-mix(in lab,red,red)){.toggle:before{box-shadow:0 -1px oklch(0% 0 0/calc(var(--depth)*.1)) inset,0 8px 0 -4px oklch(100% 0 0/calc(var(--depth)*.1)) inset,0 1px color-mix(in oklab,currentColor calc(var(--depth)*10%),#0000)}}.toggle:before{background-size:auto,calc(var(--noise)*100%);background-image:none,var(--fx-noise)}@media(forced-colors:active){.toggle:before{outline-style:var(--tw-outline-style);outline-offset:-1px;outline-width:1px}}@media print{.toggle:before{outline-offset:-1rem;outline:.25rem solid}}.toggle:focus-visible,.toggle:has(:focus-visible){outline-offset:2px;outline:2px solid}.toggle:checked,.toggle[aria-checked=true],.toggle:has(>input:checked){background-color:var(--color-base-100);--input-color:var(--color-base-content);grid-template-columns:1fr 1fr 0fr}:is(.toggle:checked,.toggle[aria-checked=true],.toggle:has(>input:checked)):before{background-color:currentColor}@starting-style{:is(.toggle:checked,.toggle[aria-checked=true],.toggle:has(>input:checked)):before{opacity:0}}.toggle:indeterminate{grid-template-columns:.5fr 1fr .5fr}.toggle:disabled{cursor:not-allowed;opacity:.3}.toggle:disabled:before{border:var(--border)solid currentColor;background-color:#0000}.input{cursor:text;border:var(--border)solid #0000;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:var(--color-base-100);vertical-align:middle;white-space:nowrap;width:clamp(3rem,20rem,100%);height:var(--size);font-size:max(var(--font-size,.875rem),.875rem);touch-action:manipulation;border-color:var(--input-color);box-shadow:0 1px var(--input-color) inset,0 -1px oklch(100% 0 0/calc(var(--depth)*.1)) inset;border-start-start-radius:var(--join-ss,var(--radius-field));border-start-end-radius:var(--join-se,var(--radius-field));border-end-end-radius:var(--join-ee,var(--radius-field));border-end-start-radius:var(--join-es,var(--radius-field));flex-shrink:1;align-items:center;gap:.5rem;padding-inline:.75rem;display:inline-flex;position:relative}@supports (color:color-mix(in lab,red,red)){.input{box-shadow:0 1px color-mix(in oklab,var(--input-color)calc(var(--depth)*10%),#0000) inset,0 -1px oklch(100% 0 0/calc(var(--depth)*.1)) inset}}.input{--size:calc(var(--size-field,.25rem)*10);--input-color:var(--color-base-content)}@supports (color:color-mix(in lab,red,red)){.input{--input-color:color-mix(in oklab,var(--color-base-content)20%,#0000)}}.input:where(input){display:inline-flex}.input :where(input){-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:#0000;border:none;width:100%;height:100%;display:inline-flex}.input :where(input):focus,.input :where(input):focus-within{--tw-outline-style:none;outline-style:none}@media(forced-colors:active){.input :where(input):focus,.input :where(input):focus-within{outline-offset:2px;outline:2px solid #0000}}.input :where(input[type=url]),.input :where(input[type=email]){direction:ltr}.input :where(input[type=date]){display:inline-flex}.input:focus,.input:focus-within{--input-color:var(--color-base-content);box-shadow:0 1px var(--input-color)}@supports (color:color-mix(in lab,red,red)){.input:focus,.input:focus-within{box-shadow:0 1px color-mix(in oklab,var(--input-color)calc(var(--depth)*10%),#0000)}}.input:focus,.input:focus-within{outline:2px solid var(--input-color);outline-offset:2px;isolation:isolate;z-index:1}@media(pointer:coarse){@supports (-webkit-touch-callout:none){.input:focus,.input:focus-within{--font-size:1rem}}}.input:has(>input[disabled]),.input:is(:disabled,[disabled]),fieldset:disabled .input{cursor:not-allowed;border-color:var(--color-base-200);background-color:var(--color-base-200);color:var(--color-base-content)}@supports (color:color-mix(in lab,red,red)){.input:has(>input[disabled]),.input:is(:disabled,[disabled]),fieldset:disabled .input{color:color-mix(in oklab,var(--color-base-content)40%,transparent)}}:is(.input:has(>input[disabled]),.input:is(:disabled,[disabled]),fieldset:disabled .input)::placeholder{color:var(--color-base-content)}@supports (color:color-mix(in lab,red,red)){:is(.input:has(>input[disabled]),.input:is(:disabled,[disabled]),fieldset:disabled .input)::placeholder{color:color-mix(in oklab,var(--color-base-content)20%,transparent)}}.input:has(>input[disabled]),.input:is(:disabled,[disabled]),fieldset:disabled .input{box-shadow:none}.input:has(>input[disabled])>input[disabled]{cursor:not-allowed}.input::-webkit-date-and-time-value{text-align:inherit}.input[type=number]::-webkit-inner-spin-button{margin-block:-.75rem;margin-inline-end:-.75rem}.input::-webkit-calendar-picker-indicator{position:absolute;inset-inline-end:.75em}.input:has(>input[type=date]) :where(input[type=date]){webkit-appearance:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;display:inline-flex}.input:has(>input[type=date]) input[type=date]::-webkit-calendar-picker-indicator{cursor:pointer;width:1em;height:1em;position:absolute;inset-inline-end:.75em}.indicator{width:max-content;display:inline-flex;position:relative}.indicator :where(.indicator-item){z-index:1;white-space:nowrap;top:var(--indicator-t,0);bottom:var(--indicator-b,auto);left:var(--indicator-s,auto);right:var(--indicator-e,0);translate:var(--indicator-x,50%)var(--indicator-y,-50%);position:absolute}.table{border-collapse:separate;--tw-border-spacing-x: 0rem ;--tw-border-spacing-y: 0rem ;width:100%;border-spacing:var(--tw-border-spacing-x)var(--tw-border-spacing-y);border-radius:var(--radius-box);text-align:left;font-size:.875rem;position:relative}.table:where(:dir(rtl),[dir=rtl],[dir=rtl] *){text-align:right}@media(hover:hover){:is(.table tr.row-hover,.table tr.row-hover:nth-child(2n)):hover{background-color:var(--color-base-200)}}.table :where(th,td){vertical-align:middle;padding-block:.75rem;padding-inline:1rem}.table :where(thead,tfoot){white-space:nowrap;color:var(--color-base-content)}@supports (color:color-mix(in lab,red,red)){.table :where(thead,tfoot){color:color-mix(in oklab,var(--color-base-content)60%,transparent)}}.table :where(thead,tfoot){font-size:.875rem;font-weight:600}.table :where(tfoot tr:first-child :is(td,th)){border-top:var(--border)solid var(--color-base-content)}@supports (color:color-mix(in lab,red,red)){.table :where(tfoot tr:first-child :is(td,th)){border-top:var(--border)solid color-mix(in oklch,var(--color-base-content)5%,#0000)}}.table :where(.table-pin-rows thead tr){z-index:1;background-color:var(--color-base-100);position:sticky;top:0}.table :where(.table-pin-rows tfoot tr){z-index:1;background-color:var(--color-base-100);position:sticky;bottom:0}.table :where(.table-pin-cols tr th){background-color:var(--color-base-100);position:sticky;left:0;right:0}.table :where(thead tr :is(td,th),tbody tr:not(:last-child) :is(td,th)){border-bottom:var(--border)solid var(--color-base-content)}@supports (color:color-mix(in lab,red,red)){.table :where(thead tr :is(td,th),tbody tr:not(:last-child) :is(td,th)){border-bottom:var(--border)solid color-mix(in oklch,var(--color-base-content)5%,#0000)}}.steps{counter-reset:step;grid-auto-columns:1fr;grid-auto-flow:column;display:inline-grid;overflow:auto hidden}.steps .step{text-align:center;--step-bg:var(--color-base-300);--step-fg:var(--color-base-content);grid-template-rows:40px 1fr;grid-template-columns:auto;place-items:center;min-width:4rem;display:grid}.steps .step:before{width:100%;height:.5rem;color:var(--step-bg);background-color:var(--step-bg);content:"";border:1px solid;grid-row-start:1;grid-column-start:1;margin-inline-start:-100%;top:0}.steps .step>.step-icon,.steps .step:not(:has(.step-icon)):after{--tw-content:counter(step);content:var(--tw-content);counter-increment:step;z-index:1;color:var(--step-fg);background-color:var(--step-bg);border:1px solid var(--step-bg);border-radius:3.40282e38px;grid-row-start:1;grid-column-start:1;place-self:center;place-items:center;width:2rem;height:2rem;display:grid;position:relative}.steps .step:first-child:before{--tw-content:none;content:var(--tw-content)}.steps .step[data-content]:after{--tw-content:attr(data-content);content:var(--tw-content)}.range{-webkit-appearance:none;-moz-appearance:none;appearance:none;webkit-appearance:none;--range-thumb:var(--color-base-100);--range-thumb-size:calc(var(--size-selector,.25rem)*6);--range-progress:currentColor;--range-fill:1;--range-p:.25rem;--range-bg:currentColor}@supports (color:color-mix(in lab,red,red)){.range{--range-bg:color-mix(in oklab,currentColor 10%,#0000)}}.range{cursor:pointer;vertical-align:middle;--radius-selector-max:calc(var(--radius-selector) + var(--radius-selector) + var(--radius-selector));border-radius:calc(var(--radius-selector) + min(var(--range-p),var(--radius-selector-max)));width:clamp(3rem,20rem,100%);height:var(--range-thumb-size);background-color:#0000;border:none;overflow:hidden}[dir=rtl] .range{--range-dir:-1}.range:focus{outline:none}.range:focus-visible{outline-offset:2px;outline:2px solid}.range::-webkit-slider-runnable-track{background-color:var(--range-bg);border-radius:var(--radius-selector);width:100%;height:calc(var(--range-thumb-size)*.5)}@media(forced-colors:active){.range::-webkit-slider-runnable-track{border:1px solid}.range::-moz-range-track{border:1px solid}}.range::-webkit-slider-thumb{box-sizing:border-box;border-radius:calc(var(--radius-selector) + min(var(--range-p),var(--radius-selector-max)));background-color:var(--range-thumb);height:var(--range-thumb-size);width:var(--range-thumb-size);border:var(--range-p)solid;-webkit-appearance:none;-moz-appearance:none;appearance:none;webkit-appearance:none;color:var(--range-progress);box-shadow:0 -1px oklch(0% 0 0/calc(var(--depth)*.1)) inset,0 8px 0 -4px oklch(100% 0 0/calc(var(--depth)*.1)) inset,0 1px currentColor,0 0 0 2rem var(--range-thumb) inset,calc((var(--range-dir,1)*-100rem) - (var(--range-dir,1)*var(--range-thumb-size)/2)) 0 0 calc(100rem*var(--range-fill));position:relative;top:50%;transform:translateY(-50%)}@supports (color:color-mix(in lab,red,red)){.range::-webkit-slider-thumb{box-shadow:0 -1px oklch(0% 0 0/calc(var(--depth)*.1)) inset,0 8px 0 -4px oklch(100% 0 0/calc(var(--depth)*.1)) inset,0 1px color-mix(in oklab,currentColor calc(var(--depth)*10%),#0000),0 0 0 2rem var(--range-thumb) inset,calc((var(--range-dir,1)*-100rem) - (var(--range-dir,1)*var(--range-thumb-size)/2)) 0 0 calc(100rem*var(--range-fill))}}.range::-moz-range-track{background-color:var(--range-bg);border-radius:var(--radius-selector);width:100%;height:calc(var(--range-thumb-size)*.5)}.range::-moz-range-thumb{box-sizing:border-box;border-radius:calc(var(--radius-selector) + min(var(--range-p),var(--radius-selector-max)));height:var(--range-thumb-size);width:var(--range-thumb-size);border:var(--range-p)solid;color:var(--range-progress);box-shadow:0 -1px oklch(0% 0 0/calc(var(--depth)*.1)) inset,0 8px 0 -4px oklch(100% 0 0/calc(var(--depth)*.1)) inset,0 1px currentColor,0 0 0 2rem var(--range-thumb) inset,calc((var(--range-dir,1)*-100rem) - (var(--range-dir,1)*var(--range-thumb-size)/2)) 0 0 calc(100rem*var(--range-fill));background-color:currentColor;position:relative;top:50%}@supports (color:color-mix(in lab,red,red)){.range::-moz-range-thumb{box-shadow:0 -1px oklch(0% 0 0/calc(var(--depth)*.1)) inset,0 8px 0 -4px oklch(100% 0 0/calc(var(--depth)*.1)) inset,0 1px color-mix(in oklab,currentColor calc(var(--depth)*10%),#0000),0 0 0 2rem var(--range-thumb) inset,calc((var(--range-dir,1)*-100rem) - (var(--range-dir,1)*var(--range-thumb-size)/2)) 0 0 calc(100rem*var(--range-fill))}}.range:disabled{cursor:not-allowed;opacity:.3}.select{border:var(--border)solid #0000;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:var(--color-base-100);vertical-align:middle;width:clamp(3rem,20rem,100%);height:var(--size);touch-action:manipulation;white-space:nowrap;text-overflow:ellipsis;box-shadow:0 1px var(--input-color) inset,0 -1px oklch(100% 0 0/calc(var(--depth)*.1)) inset;background-image:linear-gradient(45deg,#0000 50%,currentColor 50%),linear-gradient(135deg,currentColor 50%,#0000 50%);background-position:calc(100% - 20px) calc(1px + 50%),calc(100% - 16.1px) calc(1px + 50%);background-repeat:no-repeat;background-size:4px 4px,4px 4px;border-start-start-radius:var(--join-ss,var(--radius-field));border-start-end-radius:var(--join-se,var(--radius-field));border-end-end-radius:var(--join-ee,var(--radius-field));border-end-start-radius:var(--join-es,var(--radius-field));flex-shrink:1;align-items:center;gap:.375rem;padding-inline:.75rem 1.75rem;font-size:.875rem;display:inline-flex;position:relative;overflow:hidden}@supports (color:color-mix(in lab,red,red)){.select{box-shadow:0 1px color-mix(in oklab,var(--input-color)calc(var(--depth)*10%),#0000) inset,0 -1px oklch(100% 0 0/calc(var(--depth)*.1)) inset}}.select{border-color:var(--input-color);--input-color:var(--color-base-content)}@supports (color:color-mix(in lab,red,red)){.select{--input-color:color-mix(in oklab,var(--color-base-content)20%,#0000)}}.select{--size:calc(var(--size-field,.25rem)*10)}[dir=rtl] .select{background-position:12px calc(1px + 50%),16px calc(1px + 50%)}[dir=rtl] .select::picker(select){translate:.5rem}[dir=rtl] .select select::picker(select){translate:.5rem}.select[multiple]{background-image:none;height:auto;padding-block:.75rem;padding-inline-end:.75rem;overflow:auto}.select select{-webkit-appearance:none;-moz-appearance:none;appearance:none;width:calc(100% + 2.75rem);height:calc(100% - calc(var(--border)*2));background:inherit;border-radius:inherit;border-style:none;align-items:center;margin-inline:-.75rem -1.75rem;padding-inline:.75rem 1.75rem}.select select:focus,.select select:focus-within{--tw-outline-style:none;outline-style:none}@media(forced-colors:active){.select select:focus,.select select:focus-within{outline-offset:2px;outline:2px solid #0000}}.select select:not(:last-child){background-image:none;margin-inline-end:-1.375rem}.select:focus,.select:focus-within{--input-color:var(--color-base-content);box-shadow:0 1px var(--input-color)}@supports (color:color-mix(in lab,red,red)){.select:focus,.select:focus-within{box-shadow:0 1px color-mix(in oklab,var(--input-color)calc(var(--depth)*10%),#0000)}}.select:focus,.select:focus-within{outline:2px solid var(--input-color);outline-offset:2px;isolation:isolate;z-index:1}.select:has(>select[disabled]),.select:is(:disabled,[disabled]),fieldset:disabled .select{cursor:not-allowed;border-color:var(--color-base-200);background-color:var(--color-base-200);color:var(--color-base-content)}@supports (color:color-mix(in lab,red,red)){.select:has(>select[disabled]),.select:is(:disabled,[disabled]),fieldset:disabled .select{color:color-mix(in oklab,var(--color-base-content)40%,transparent)}}:is(.select:has(>select[disabled]),.select:is(:disabled,[disabled]),fieldset:disabled .select)::placeholder{color:var(--color-base-content)}@supports (color:color-mix(in lab,red,red)){:is(.select:has(>select[disabled]),.select:is(:disabled,[disabled]),fieldset:disabled .select)::placeholder{color:color-mix(in oklab,var(--color-base-content)20%,transparent)}}.select:has(>select[disabled])>select[disabled]{cursor:not-allowed}@supports (appearance:base-select){.select,.select select{-webkit-appearance:base-select;-moz-appearance:base-select;appearance:base-select}:is(.select,.select select)::picker(select){-webkit-appearance:base-select;-moz-appearance:base-select;appearance:base-select}}:is(.select,.select select)::picker(select){color:inherit;border:var(--border)solid var(--color-base-200);border-radius:var(--radius-box);background-color:inherit;max-height:min(24rem,70dvh);box-shadow:0 2px calc(var(--depth)*3px) -2px #0003;box-shadow:0 20px 25px -5px rgb(0 0 0/calc(var(--depth)*.1)),0 8px 10px -6px rgb(0 0 0/calc(var(--depth)*.1));margin-block:.5rem;margin-inline:.5rem;padding:.5rem;translate:-.5rem}:is(.select,.select select)::picker-icon{display:none}:is(.select,.select select) optgroup{padding-top:.5em}:is(.select,.select select) optgroup option:first-child{margin-top:.5em}:is(.select,.select select) option{border-radius:var(--radius-field);white-space:normal;padding-block:.375rem;padding-inline:.75rem;transition-property:color,background-color;transition-duration:.2s;transition-timing-function:cubic-bezier(0,0,.2,1)}:is(.select,.select select) option:not(:disabled):hover,:is(.select,.select select) option:not(:disabled):focus-visible{cursor:pointer;background-color:var(--color-base-content)}@supports (color:color-mix(in lab,red,red)){:is(.select,.select select) option:not(:disabled):hover,:is(.select,.select select) option:not(:disabled):focus-visible{background-color:color-mix(in oklab,var(--color-base-content)10%,transparent)}}:is(.select,.select select) option:not(:disabled):hover,:is(.select,.select select) option:not(:disabled):focus-visible{--tw-outline-style:none;outline-style:none}@media(forced-colors:active){:is(.select,.select select) option:not(:disabled):hover,:is(.select,.select select) option:not(:disabled):focus-visible{outline-offset:2px;outline:2px solid #0000}}:is(.select,.select select) option:not(:disabled):active{background-color:var(--color-neutral);color:var(--color-neutral-content);box-shadow:0 2px calc(var(--depth)*3px) -2px var(--color-neutral)}.checkbox{border:var(--border)solid var(--input-color,var(--color-base-content))}@supports (color:color-mix(in lab,red,red)){.checkbox{border:var(--border)solid var(--input-color,color-mix(in oklab,var(--color-base-content)20%,#0000))}}.checkbox{cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;border-radius:var(--radius-selector);vertical-align:middle;color:var(--color-base-content);box-shadow:0 1px oklch(0% 0 0/calc(var(--depth)*.1)) inset,0 0 #0000 inset,0 0 #0000;--size:calc(var(--size-selector,.25rem)*6);width:var(--size);height:var(--size);background-size:auto,calc(var(--noise)*100%);background-image:none,var(--fx-noise);flex-shrink:0;padding:.25rem;transition:background-color .2s,box-shadow .2s;display:inline-block;position:relative}.checkbox:before{--tw-content:"";content:var(--tw-content);opacity:0;clip-path:polygon(20% 100%,20% 80%,50% 80%,50% 80%,70% 80%,70% 100%);width:100%;height:100%;box-shadow:0 3px oklch(100% 0 0/calc(var(--depth)*.1)) inset;background-color:currentColor;font-size:1rem;line-height:.75;transition:clip-path .3s .1s,opacity .1s .1s,rotate .3s .1s,translate .3s .1s;display:block;rotate:45deg}.checkbox:focus-visible{outline:2px solid var(--input-color,currentColor);outline-offset:2px}.checkbox:checked,.checkbox[aria-checked=true]{background-color:var(--input-color,#0000);box-shadow:0 0 #0000 inset,0 8px 0 -4px oklch(100% 0 0/calc(var(--depth)*.1)) inset,0 1px oklch(0% 0 0/calc(var(--depth)*.1))}:is(.checkbox:checked,.checkbox[aria-checked=true]):before{clip-path:polygon(20% 100%,20% 80%,50% 80%,50% 0%,70% 0%,70% 100%);opacity:1}@media(forced-colors:active){:is(.checkbox:checked,.checkbox[aria-checked=true]):before{--tw-content:"✔︎";clip-path:none;background-color:#0000;rotate:none}}@media print{:is(.checkbox:checked,.checkbox[aria-checked=true]):before{--tw-content:"✔︎";clip-path:none;background-color:#0000;rotate:none}}.checkbox:indeterminate{background-color:var(--input-color,var(--color-base-content))}@supports (color:color-mix(in lab,red,red)){.checkbox:indeterminate{background-color:var(--input-color,color-mix(in oklab,var(--color-base-content)20%,#0000))}}.checkbox:indeterminate:before{opacity:1;clip-path:polygon(20% 100%,20% 80%,50% 80%,50% 80%,80% 80%,80% 100%);translate:0 -35%;rotate:none}.radio{cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;vertical-align:middle;border:var(--border)solid var(--input-color,currentColor);border-radius:3.40282e38px;flex-shrink:0;padding:.25rem;display:inline-block;position:relative}@supports (color:color-mix(in lab,red,red)){.radio{border:var(--border)solid var(--input-color,color-mix(in srgb,currentColor 20%,#0000))}}.radio{box-shadow:0 1px oklch(0% 0 0/calc(var(--depth)*.1)) inset;--size:calc(var(--size-selector,.25rem)*6);width:var(--size);height:var(--size);color:var(--input-color,currentColor)}.radio:before{--tw-content:"";content:var(--tw-content);background-size:auto,calc(var(--noise)*100%);background-image:none,var(--fx-noise);border-radius:3.40282e38px;width:100%;height:100%;display:block}.radio:focus-visible{outline:2px solid}.radio:checked,.radio[aria-checked=true]{background-color:var(--color-base-100);border-color:currentColor}@media(prefers-reduced-motion:no-preference){.radio:checked,.radio[aria-checked=true]{animation:.2s ease-out radio}}:is(.radio:checked,.radio[aria-checked=true]):before{box-shadow:0 -1px oklch(0% 0 0/calc(var(--depth)*.1)) inset,0 8px 0 -4px oklch(100% 0 0/calc(var(--depth)*.1)) inset,0 1px oklch(0% 0 0/calc(var(--depth)*.1));background-color:currentColor}@media(forced-colors:active){:is(.radio:checked,.radio[aria-checked=true]):before{outline-style:var(--tw-outline-style);outline-offset:-1px;outline-width:1px}}@media print{:is(.radio:checked,.radio[aria-checked=true]):before{outline-offset:-1rem;outline:.25rem solid}}.drawer{grid-auto-columns:max-content auto;width:100%;display:grid;position:relative}.card{border-radius:var(--radius-box);outline-offset:2px;outline:0 solid #0000;flex-direction:column;transition:outline .2s ease-in-out;display:flex;position:relative}.card:focus{--tw-outline-style:none;outline-style:none}@media(forced-colors:active){.card:focus{outline-offset:2px;outline:2px solid #0000}}.card:focus-visible{outline-color:currentColor}.card :where(figure:first-child){border-start-start-radius:inherit;border-start-end-radius:inherit;border-end-end-radius:unset;border-end-start-radius:unset;overflow:hidden}.card :where(figure:last-child){border-start-start-radius:unset;border-start-end-radius:unset;border-end-end-radius:inherit;border-end-start-radius:inherit;overflow:hidden}.card figure{justify-content:center;align-items:center;display:flex}.card:has(>input:is(input[type=checkbox],input[type=radio])){cursor:pointer;-webkit-user-select:none;user-select:none}.card:has(>:checked){outline:2px solid}.progress{-webkit-appearance:none;-moz-appearance:none;appearance:none;border-radius:var(--radius-box);background-color:currentColor;width:100%;height:.5rem;position:relative;overflow:hidden}@supports (color:color-mix(in lab,red,red)){.progress{background-color:color-mix(in oklab,currentcolor 20%,transparent)}}.progress{color:var(--color-base-content)}.progress:indeterminate{background-image:repeating-linear-gradient(90deg,currentColor -1% 10%,#0000 10% 90%);background-position-x:15%;background-size:200%}@media(prefers-reduced-motion:no-preference){.progress:indeterminate{animation:5s ease-in-out infinite progress}}@supports ((-moz-appearance:none)){.progress:indeterminate::-moz-progress-bar{background-color:#0000}@media(prefers-reduced-motion:no-preference){.progress:indeterminate::-moz-progress-bar{background-image:repeating-linear-gradient(90deg,currentColor -1% 10%,#0000 10% 90%);background-position-x:15%;background-size:200%;animation:5s ease-in-out infinite progress}}.progress::-moz-progress-bar{border-radius:var(--radius-box);background-color:currentColor}}@supports ((-webkit-appearance:none)){.progress::-webkit-progress-bar{border-radius:var(--radius-box);background-color:#0000}.progress::-webkit-progress-value{border-radius:var(--radius-box);background-color:currentColor}}.textarea{border:var(--border)solid #0000;-webkit-appearance:none;-moz-appearance:none;appearance:none;border-radius:var(--radius-field);background-color:var(--color-base-100);vertical-align:middle;width:clamp(3rem,20rem,100%);min-height:5rem;font-size:max(var(--font-size,.875rem),.875rem);touch-action:manipulation;border-color:var(--input-color);box-shadow:0 1px var(--input-color) inset,0 -1px oklch(100% 0 0/calc(var(--depth)*.1)) inset;flex-shrink:1;padding-block:.5rem;padding-inline:.75rem}@supports (color:color-mix(in lab,red,red)){.textarea{box-shadow:0 1px color-mix(in oklab,var(--input-color)calc(var(--depth)*10%),#0000) inset,0 -1px oklch(100% 0 0/calc(var(--depth)*.1)) inset}}.textarea{--input-color:var(--color-base-content)}@supports (color:color-mix(in lab,red,red)){.textarea{--input-color:color-mix(in oklab,var(--color-base-content)20%,#0000)}}.textarea textarea{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:#0000;border:none}.textarea textarea:focus,.textarea textarea:focus-within{--tw-outline-style:none;outline-style:none}@media(forced-colors:active){.textarea textarea:focus,.textarea textarea:focus-within{outline-offset:2px;outline:2px solid #0000}}.textarea:focus,.textarea:focus-within{--input-color:var(--color-base-content);box-shadow:0 1px var(--input-color)}@supports (color:color-mix(in lab,red,red)){.textarea:focus,.textarea:focus-within{box-shadow:0 1px color-mix(in oklab,var(--input-color)calc(var(--depth)*10%),#0000)}}.textarea:focus,.textarea:focus-within{outline:2px solid var(--input-color);outline-offset:2px;isolation:isolate}@media(pointer:coarse){@supports (-webkit-touch-callout:none){.textarea:focus,.textarea:focus-within{--font-size:1rem}}}.textarea:has(>textarea[disabled]),.textarea:is(:disabled,[disabled]){cursor:not-allowed;border-color:var(--color-base-200);background-color:var(--color-base-200);color:var(--color-base-content)}@supports (color:color-mix(in lab,red,red)){.textarea:has(>textarea[disabled]),.textarea:is(:disabled,[disabled]){color:color-mix(in oklab,var(--color-base-content)40%,transparent)}}:is(.textarea:has(>textarea[disabled]),.textarea:is(:disabled,[disabled]))::placeholder{color:var(--color-base-content)}@supports (color:color-mix(in lab,red,red)){:is(.textarea:has(>textarea[disabled]),.textarea:is(:disabled,[disabled]))::placeholder{color:color-mix(in oklab,var(--color-base-content)20%,transparent)}}.textarea:has(>textarea[disabled]),.textarea:is(:disabled,[disabled]){box-shadow:none}.textarea:has(>textarea[disabled])>textarea[disabled]{cursor:not-allowed}.modal-backdrop{color:#0000;z-index:-1;grid-row-start:1;grid-column-start:1;place-self:stretch stretch;display:grid}.modal-backdrop button{cursor:pointer}.modal-box{background-color:var(--color-base-100);border-top-left-radius:var(--modal-tl,var(--radius-box));border-top-right-radius:var(--modal-tr,var(--radius-box));border-bottom-left-radius:var(--modal-bl,var(--radius-box));border-bottom-right-radius:var(--modal-br,var(--radius-box));opacity:0;overscroll-behavior:contain;grid-row-start:1;grid-column-start:1;width:91.6667%;max-width:32rem;max-height:100vh;padding:1.5rem;transition:translate .3s ease-out,scale .3s ease-out,opacity .2s ease-out 50ms,box-shadow .3s ease-out;overflow-y:auto;scale:95%;box-shadow:0 25px 50px -12px #00000040}.divider{white-space:nowrap;height:1rem;margin:var(--divider-m,1rem 0);--divider-color:var(--color-base-content);flex-direction:row;align-self:stretch;align-items:center;display:flex}@supports (color:color-mix(in lab,red,red)){.divider{--divider-color:color-mix(in oklab,var(--color-base-content)10%,transparent)}}.divider:before,.divider:after{content:"";background-color:var(--divider-color);flex-grow:1;width:100%;height:.125rem}@media print{.divider:before,.divider:after{border:.5px solid}}.divider:not(:empty){gap:1rem}.filter{flex-wrap:wrap;display:flex}.filter input[type=radio]{width:auto}.filter input{opacity:1;transition:margin .1s,opacity .3s,padding .3s,border-width .1s;overflow:hidden;scale:1}.filter input:not(:last-child){margin-inline-end:.25rem}.filter input.filter-reset{aspect-ratio:1}.filter input.filter-reset:after{--tw-content:"×";content:var(--tw-content)}.filter:not(:has(input:checked:not(.filter-reset))) .filter-reset,.filter:not(:has(input:checked:not(.filter-reset))) input[type=reset],.filter:has(input:checked:not(.filter-reset)) input:not(:checked,.filter-reset,input[type=reset]){opacity:0;border-width:0;width:0;margin-inline:0;padding-inline:0;scale:0}.label{white-space:nowrap;color:currentColor;align-items:center;gap:.375rem;display:inline-flex}@supports (color:color-mix(in lab,red,red)){.label{color:color-mix(in oklab,currentcolor 60%,transparent)}}.label:has(input){cursor:pointer}.label:is(.input>*,.select>*){white-space:nowrap;height:calc(100% - .5rem);font-size:inherit;align-items:center;padding-inline:.75rem;display:flex}.label:is(.input>*,.select>*):first-child{border-inline-end:var(--border)solid currentColor;margin-inline:-.75rem .75rem}@supports (color:color-mix(in lab,red,red)){.label:is(.input>*,.select>*):first-child{border-inline-end:var(--border)solid color-mix(in oklab,currentColor 10%,#0000)}}.label:is(.input>*,.select>*):last-child{border-inline-start:var(--border)solid currentColor;margin-inline:.75rem -.75rem}@supports (color:color-mix(in lab,red,red)){.label:is(.input>*,.select>*):last-child{border-inline-start:var(--border)solid color-mix(in oklab,currentColor 10%,#0000)}}.modal-action{justify-content:flex-end;gap:.5rem;margin-top:1.5rem;display:flex}.status{aspect-ratio:1;border-radius:var(--radius-selector);background-color:var(--color-base-content);width:.5rem;height:.5rem;display:inline-block}@supports (color:color-mix(in lab,red,red)){.status{background-color:color-mix(in oklab,var(--color-base-content)20%,transparent)}}.status{vertical-align:middle;color:#0000004d;background-position:50%;background-repeat:no-repeat}@supports (color:color-mix(in lab,red,red)){.status{color:color-mix(in oklab,var(--color-black)30%,transparent)}}.status{background-image:radial-gradient(circle at 35% 30%,oklch(1 0 0/calc(var(--depth)*.5)),#0000);box-shadow:0 2px 3px -1px}@supports (color:color-mix(in lab,red,red)){.status{box-shadow:0 2px 3px -1px color-mix(in oklab,currentColor calc(var(--depth)*100%),#0000)}}.badge{border-radius:var(--radius-selector);vertical-align:middle;color:var(--badge-fg);border:var(--border)solid var(--badge-color,var(--color-base-200));background-size:auto,calc(var(--noise)*100%);background-image:none,var(--fx-noise);background-color:var(--badge-bg);--badge-bg:var(--badge-color,var(--color-base-100));--badge-fg:var(--color-base-content);--size:calc(var(--size-selector,.25rem)*6);width:fit-content;height:var(--size);padding-inline:calc(var(--size)/2 - var(--border));justify-content:center;align-items:center;gap:.5rem;font-size:.875rem;display:inline-flex}.tabs{--tabs-height:auto;--tabs-direction:row;--tab-height:calc(var(--size-field,.25rem)*10);height:var(--tabs-height);flex-wrap:wrap;flex-direction:var(--tabs-direction);display:flex}.footer{grid-auto-flow:row;place-items:start;gap:2.5rem 1rem;width:100%;font-size:.875rem;line-height:1.25rem;display:grid}.footer>*{place-items:start;gap:.5rem;display:grid}.footer.footer-center{text-align:center;grid-auto-flow:column dense;place-items:center}.footer.footer-center>*{place-items:center}.link{cursor:pointer;text-decoration-line:underline}.link:focus{--tw-outline-style:none;outline-style:none}@media(forced-colors:active){.link:focus{outline-offset:2px;outline:2px solid #0000}}.link:focus-visible{outline-offset:2px;outline:2px solid}.menu-title{color:var(--color-base-content);padding-block:.5rem;padding-inline:.75rem}@supports (color:color-mix(in lab,red,red)){.menu-title{color:color-mix(in oklab,var(--color-base-content)40%,transparent)}}.menu-title{font-size:.875rem;font-weight:600}.btn-error{--btn-color:var(--color-error);--btn-fg:var(--color-error-content)}.btn-primary{--btn-color:var(--color-primary);--btn-fg:var(--color-primary-content)}.btn-secondary{--btn-color:var(--color-secondary);--btn-fg:var(--color-secondary-content)}}@layer daisyui.l1.l2{.modal.modal-open,.modal[open],.modal:target,.modal-toggle:checked+.modal{pointer-events:auto;visibility:visible;opacity:1;transition:visibility 0s allow-discrete,background-color .3s ease-out,opacity .1s ease-out;background-color:#0006}:is(.modal.modal-open,.modal[open],.modal:target,.modal-toggle:checked+.modal) .modal-box{opacity:1;translate:0;scale:1}:root:has(:is(.modal.modal-open,.modal[open],.modal:target,.modal-toggle:checked+.modal)){--page-has-backdrop:1;--page-overflow:hidden;--page-scroll-bg:var(--page-scroll-bg-on);--page-scroll-gutter:stable;--page-scroll-transition:var(--page-scroll-transition-on);animation:forwards set-page-has-scroll;animation-timeline:scroll()}@starting-style{.modal.modal-open,.modal[open],.modal:target,.modal-toggle:checked+.modal{opacity:0}}.tooltip>.tooltip-content,.tooltip[data-tip]:before{transform:translate(-50%)translateY(var(--tt-pos,.25rem));inset:auto auto var(--tt-off)50%}.tooltip:after{transform:translate(-50%)translateY(var(--tt-pos,.25rem));inset:auto auto var(--tt-tail)50%}.btn:disabled:not(.btn-link,.btn-ghost){background-color:var(--color-base-content)}@supports (color:color-mix(in lab,red,red)){.btn:disabled:not(.btn-link,.btn-ghost){background-color:color-mix(in oklab,var(--color-base-content)10%,transparent)}}.btn:disabled:not(.btn-link,.btn-ghost){box-shadow:none}.btn:disabled{pointer-events:none;--btn-border:#0000;--btn-noise:none;--btn-fg:var(--color-base-content)}@supports (color:color-mix(in lab,red,red)){.btn:disabled{--btn-fg:color-mix(in oklch,var(--color-base-content)20%,#0000)}}.btn[disabled]:not(.btn-link,.btn-ghost){background-color:var(--color-base-content)}@supports (color:color-mix(in lab,red,red)){.btn[disabled]:not(.btn-link,.btn-ghost){background-color:color-mix(in oklab,var(--color-base-content)10%,transparent)}}.btn[disabled]:not(.btn-link,.btn-ghost){box-shadow:none}.btn[disabled]{pointer-events:none;--btn-border:#0000;--btn-noise:none;--btn-fg:var(--color-base-content)}@supports (color:color-mix(in lab,red,red)){.btn[disabled]{--btn-fg:color-mix(in oklch,var(--color-base-content)20%,#0000)}}.list .list-row:has(.list-col-grow:first-child){--list-grid-cols:1fr}.list .list-row:has(.list-col-grow:nth-child(2)){--list-grid-cols:minmax(0,auto)1fr}.list .list-row:has(.list-col-grow:nth-child(3)){--list-grid-cols:minmax(0,auto)minmax(0,auto)1fr}.list .list-row:has(.list-col-grow:nth-child(4)){--list-grid-cols:minmax(0,auto)minmax(0,auto)minmax(0,auto)1fr}.list .list-row:has(.list-col-grow:nth-child(5)){--list-grid-cols:minmax(0,auto)minmax(0,auto)minmax(0,auto)minmax(0,auto)1fr}.list .list-row:has(.list-col-grow:nth-child(6)){--list-grid-cols:minmax(0,auto)minmax(0,auto)minmax(0,auto)minmax(0,auto)minmax(0,auto)1fr}.list .list-row>:not(.list-col-wrap){grid-row-start:1}.steps .step-neutral+.step-neutral:before,.steps .step-neutral:after,.steps .step-neutral>.step-icon{--step-bg:var(--color-neutral);--step-fg:var(--color-neutral-content)}.steps .step-primary+.step-primary:before,.steps .step-primary:after,.steps .step-primary>.step-icon{--step-bg:var(--color-primary);--step-fg:var(--color-primary-content)}.steps .step-secondary+.step-secondary:before,.steps .step-secondary:after,.steps .step-secondary>.step-icon{--step-bg:var(--color-secondary);--step-fg:var(--color-secondary-content)}.steps .step-accent+.step-accent:before,.steps .step-accent:after,.steps .step-accent>.step-icon{--step-bg:var(--color-accent);--step-fg:var(--color-accent-content)}.steps .step-info+.step-info:before,.steps .step-info:after,.steps .step-info>.step-icon{--step-bg:var(--color-info);--step-fg:var(--color-info-content)}.steps .step-success+.step-success:before,.steps .step-success:after,.steps .step-success>.step-icon{--step-bg:var(--color-success);--step-fg:var(--color-success-content)}.steps .step-warning+.step-warning:before,.steps .step-warning:after,.steps .step-warning>.step-icon{--step-bg:var(--color-warning);--step-fg:var(--color-warning-content)}.steps .step-error+.step-error:before,.steps .step-error:after,.steps .step-error>.step-icon{--step-bg:var(--color-error);--step-fg:var(--color-error-content)}.menu-horizontal{flex-direction:row;display:inline-flex}.menu-horizontal>li:not(.menu-title)>details>ul{transform-origin:top;border-radius:var(--radius-box);background-color:var(--color-base-100);opacity:0;margin-inline-start:0;margin-top:1rem;padding-block:.5rem;padding-inline-end:.5rem;position:absolute;scale:95%;box-shadow:0 1px 3px #0000001a,0 1px 2px -1px #0000001a}@media(prefers-reduced-motion:no-preference){@starting-style{.menu-horizontal>li:not(.menu-title)>details>ul{opacity:0;scale:95%}}.menu-horizontal>li:not(.menu-title)>details>ul{transition-behavior:allow-discrete;transition-property:opacity,scale,display;transition-duration:.2s;transition-timing-function:cubic-bezier(.4,0,.2,1);animation:.2s menu}}.menu-horizontal>li:not(.menu-title)>details[open]>ul{opacity:1;scale:100%}.menu-horizontal>li>details>ul:before{--tw-content:none;content:var(--tw-content)}.checkbox:disabled,.radio:disabled{cursor:not-allowed;opacity:.2}.tooltip-bottom>.tooltip-content,.tooltip-bottom[data-tip]:before{transform:translate(-50%)translateY(var(--tt-pos,-.25rem));inset:var(--tt-off)auto auto 50%}.tooltip-bottom:after{transform:translate(-50%)translateY(var(--tt-pos,-.25rem))rotate(180deg);inset:var(--tt-tail)auto auto 50%}.dropdown-right{--anchor-h:right;--anchor-v:span-bottom}.dropdown-right .dropdown-content{transform-origin:0;inset-inline-start:100%;top:0;bottom:auto}.dropdown-left{--anchor-h:left;--anchor-v:span-bottom}.dropdown-left .dropdown-content{transform-origin:100%;inset-inline-end:100%;top:0;bottom:auto}.dropdown-end{--anchor-h:span-left}.dropdown-end :where(.dropdown-content){inset-inline-end:0;translate:0}[dir=rtl] :is(.dropdown-end :where(.dropdown-content)){translate:0}.dropdown-end.dropdown-left{--anchor-h:left;--anchor-v:span-top}.dropdown-end.dropdown-left .dropdown-content{top:auto;bottom:0}.dropdown-end.dropdown-right{--anchor-h:right;--anchor-v:span-top}.dropdown-end.dropdown-right .dropdown-content{top:auto;bottom:0}.dropdown-bottom{--anchor-v:bottom}.dropdown-bottom .dropdown-content{transform-origin:top;top:100%;bottom:auto}.input-xs{--size:calc(var(--size-field,.25rem)*6);font-size:max(var(--font-size,.6875rem),.6875rem)}.input-xs[type=number]::-webkit-inner-spin-button{margin-block:-.25rem;margin-inline-end:-.75rem}.divider-horizontal{--divider-m:0 1rem}.divider-horizontal.divider{flex-direction:column;width:1rem;height:auto}.divider-horizontal.divider:before,.divider-horizontal.divider:after{width:.125rem;height:100%}.btn-circle{width:var(--size);height:var(--size);border-radius:3.40282e38px;padding-inline:0}.btn-block{width:100%}.loading-lg{width:calc(var(--size-selector,.25rem)*7)}.loading-xs{width:calc(var(--size-selector,.25rem)*4)}.menu-md :where(li:not(.menu-title)>:not(ul,details,.menu-title)),.menu-md :where(li:not(.menu-title)>details>summary:not(.menu-title)){border-radius:var(--radius-field);padding-block:.375rem;padding-inline:.75rem;font-size:.875rem}.menu-md .menu-title{padding-block:.5rem;padding-inline:.75rem}.badge-ghost{border-color:var(--color-base-200);background-color:var(--color-base-200);color:var(--color-base-content);background-image:none}.badge-outline{color:var(--badge-color);--badge-bg:#0000;background-image:none;border-color:currentColor}.loading-spinner{-webkit-mask-image:url("data:image/svg+xml,%3Csvg width='24' height='24' stroke='black' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cg transform-origin='center'%3E%3Ccircle cx='12' cy='12' r='9.5' fill='none' stroke-width='3' stroke-linecap='round'%3E%3CanimateTransform attributeName='transform' type='rotate' from='0 12 12' to='360 12 12' dur='2s' repeatCount='indefinite'/%3E%3Canimate attributeName='stroke-dasharray' values='0,150;42,150;42,150' keyTimes='0;0.475;1' dur='1.5s' repeatCount='indefinite'/%3E%3Canimate attributeName='stroke-dashoffset' values='0;-16;-59' keyTimes='0;0.475;1' dur='1.5s' repeatCount='indefinite'/%3E%3C/circle%3E%3C/g%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg width='24' height='24' stroke='black' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cg transform-origin='center'%3E%3Ccircle cx='12' cy='12' r='9.5' fill='none' stroke-width='3' stroke-linecap='round'%3E%3CanimateTransform attributeName='transform' type='rotate' from='0 12 12' to='360 12 12' dur='2s' repeatCount='indefinite'/%3E%3Canimate attributeName='stroke-dasharray' values='0,150;42,150;42,150' keyTimes='0;0.475;1' dur='1.5s' repeatCount='indefinite'/%3E%3Canimate attributeName='stroke-dashoffset' values='0;-16;-59' keyTimes='0;0.475;1' dur='1.5s' repeatCount='indefinite'/%3E%3C/circle%3E%3C/g%3E%3C/svg%3E")}.checkbox-sm{--size:calc(var(--size-selector,.25rem)*5);padding:.1875rem}.checkbox-xs{--size:calc(var(--size-selector,.25rem)*4);padding:.125rem}.select-sm{--size:calc(var(--size-field,.25rem)*8);font-size:.75rem}.select-sm option{padding-block:.25rem;padding-inline:.625rem}.select-xs{--size:calc(var(--size-field,.25rem)*6);font-size:.6875rem}.select-xs option{padding-block:.25rem;padding-inline:.5rem}.badge-sm{--size:calc(var(--size-selector,.25rem)*5);font-size:.75rem}.textarea-xs{font-size:max(var(--font-size,.6875rem),.6875rem)}.link-primary{color:var(--color-primary)}@media(hover:hover){.link-primary:hover{color:var(--color-primary)}@supports (color:color-mix(in lab,red,red)){.link-primary:hover{color:color-mix(in oklab,var(--color-primary)80%,#000)}}}.range-accent{color:var(--color-accent);--range-thumb:var(--color-accent-content)}.range-primary{color:var(--color-primary);--range-thumb:var(--color-primary-content)}.range-secondary{color:var(--color-secondary);--range-thumb:var(--color-secondary-content)}.btn-sm{--fontsize:.75rem;--btn-p:.75rem;--size:calc(var(--size-field,.25rem)*8)}.btn-xs{--fontsize:.6875rem;--btn-p:.5rem;--size:calc(var(--size-field,.25rem)*6)}.badge-primary{--badge-color:var(--color-primary);--badge-fg:var(--color-primary-content)}.range-sm{--range-thumb-size:calc(var(--size-selector,.25rem)*5)}.range-xs{--range-thumb-size:calc(var(--size-selector,.25rem)*4)}.toggle-primary:checked,.toggle-primary[aria-checked=true]{--input-color:var(--color-primary)}.toggle-secondary:checked,.toggle-secondary[aria-checked=true]{--input-color:var(--color-secondary)}.toggle-sm[type=checkbox],.toggle-sm:has([type=checkbox]){--size:calc(var(--size-selector,.25rem)*5)}.toggle-xs[type=checkbox],.toggle-xs:has([type=checkbox]){--size:calc(var(--size-selector,.25rem)*4)}}.pointer-events-auto{pointer-events:auto}.pointer-events-none{pointer-events:none}.invisible{visibility:hidden}.visible{visibility:visible}.sr-only{clip-path:inset(50%);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.sticky{position:sticky}.inset-0{inset:calc(var(--spacing)*0)}.top-0{top:calc(var(--spacing)*0)}.top-1{top:calc(var(--spacing)*1)}.top-2{top:calc(var(--spacing)*2)}.top-4{top:calc(var(--spacing)*4)}.top-px{top:1px}.right-0{right:calc(var(--spacing)*0)}.right-1{right:calc(var(--spacing)*1)}.right-2{right:calc(var(--spacing)*2)}.right-4{right:calc(var(--spacing)*4)}.bottom-0{bottom:calc(var(--spacing)*0)}.bottom-2{bottom:calc(var(--spacing)*2)}.bottom-4{bottom:calc(var(--spacing)*4)}.left-0{left:calc(var(--spacing)*0)}.left-1\\/2{left:50%}.left-2{left:calc(var(--spacing)*2)}.isolate{isolation:isolate}.z-10{z-index:10}.z-20{z-index:20}.z-40{z-index:40}.z-50{z-index:50}.z-100{z-index:100}.z-800{z-index:800}.z-900{z-index:900}.z-999{z-index:999}.z-\\[9999\\]{z-index:9999}.col-span-2{grid-column:span 2/span 2}.container{width:100%}@media(min-width:40rem){.container{max-width:40rem}}@media(min-width:48rem){.container{max-width:48rem}}@media(min-width:64rem){.container{max-width:64rem}}@media(min-width:80rem){.container{max-width:80rem}}@media(min-width:96rem){.container{max-width:96rem}}.mx-0{margin-inline:calc(var(--spacing)*0)}.mx-1{margin-inline:calc(var(--spacing)*1)}.mx-2{margin-inline:calc(var(--spacing)*2)}.my-0{margin-block:calc(var(--spacing)*0)}.my-1{margin-block:calc(var(--spacing)*1)}.join-item:where(:not(:first-child,:disabled,[disabled],.btn-disabled)){margin-block-start:0;margin-inline-start:calc(var(--border,1px)*-1)}.join-item:where(:is(:disabled,[disabled],.btn-disabled)){border-width:var(--border,1px)0 var(--border,1px)var(--border,1px)}.mt-0\\.5{margin-top:calc(var(--spacing)*.5)}.mt-2{margin-top:calc(var(--spacing)*2)}.mt-6{margin-top:calc(var(--spacing)*6)}.mt-16{margin-top:calc(var(--spacing)*16)}.mr-1{margin-right:calc(var(--spacing)*1)}.mb-2{margin-bottom:calc(var(--spacing)*2)}.mb-4{margin-bottom:calc(var(--spacing)*4)}.mb-6{margin-bottom:calc(var(--spacing)*6)}.-ml-1{margin-left:calc(var(--spacing)*-1)}.ml-1{margin-left:calc(var(--spacing)*1)}.join{--join-ss:0;--join-se:0;--join-es:0;--join-ee:0;align-items:stretch;display:inline-flex}.join :where(.join-item){border-start-start-radius:var(--join-ss,0);border-start-end-radius:var(--join-se,0);border-end-end-radius:var(--join-ee,0);border-end-start-radius:var(--join-es,0)}.join :where(.join-item) *{--join-ss:var(--radius-field);--join-se:var(--radius-field);--join-es:var(--radius-field);--join-ee:var(--radius-field)}.join>.join-item:where(:first-child),.join :first-child:not(:last-child) :where(.join-item){--join-ss:var(--radius-field);--join-se:0;--join-es:var(--radius-field);--join-ee:0}.join>.join-item:where(:last-child),.join :last-child:not(:first-child) :where(.join-item){--join-ss:0;--join-se:var(--radius-field);--join-es:0;--join-ee:var(--radius-field)}.join>.join-item:where(:only-child),.join :only-child :where(.join-item){--join-ss:var(--radius-field);--join-se:var(--radius-field);--join-es:var(--radius-field);--join-ee:var(--radius-field)}:root .prose{--tw-prose-body:var(--color-base-content)}@supports (color:color-mix(in lab,red,red)){:root .prose{--tw-prose-body:color-mix(in oklab,var(--color-base-content)80%,#0000)}}:root .prose{--tw-prose-headings:var(--color-base-content);--tw-prose-lead:var(--color-base-content);--tw-prose-links:var(--color-base-content);--tw-prose-bold:var(--color-base-content);--tw-prose-counters:var(--color-base-content);--tw-prose-bullets:var(--color-base-content)}@supports (color:color-mix(in lab,red,red)){:root .prose{--tw-prose-bullets:color-mix(in oklab,var(--color-base-content)50%,#0000)}}:root .prose{--tw-prose-hr:var(--color-base-content)}@supports (color:color-mix(in lab,red,red)){:root .prose{--tw-prose-hr:color-mix(in oklab,var(--color-base-content)20%,#0000)}}:root .prose{--tw-prose-quotes:var(--color-base-content);--tw-prose-quote-borders:var(--color-base-content)}@supports (color:color-mix(in lab,red,red)){:root .prose{--tw-prose-quote-borders:color-mix(in oklab,var(--color-base-content)20%,#0000)}}:root .prose{--tw-prose-captions:var(--color-base-content)}@supports (color:color-mix(in lab,red,red)){:root .prose{--tw-prose-captions:color-mix(in oklab,var(--color-base-content)50%,#0000)}}:root .prose{--tw-prose-code:var(--color-base-content);--tw-prose-pre-code:var(--color-neutral-content);--tw-prose-pre-bg:var(--color-neutral);--tw-prose-th-borders:var(--color-base-content)}@supports (color:color-mix(in lab,red,red)){:root .prose{--tw-prose-th-borders:color-mix(in oklab,var(--color-base-content)50%,#0000)}}:root .prose{--tw-prose-td-borders:var(--color-base-content)}@supports (color:color-mix(in lab,red,red)){:root .prose{--tw-prose-td-borders:color-mix(in oklab,var(--color-base-content)20%,#0000)}}:root .prose{--tw-prose-kbd:var(--color-base-content)}@supports (color:color-mix(in lab,red,red)){:root .prose{--tw-prose-kbd:color-mix(in oklab,var(--color-base-content)80%,#0000)}}:root .prose :where(code):not(pre>code){background-color:var(--color-base-200);border-radius:var(--radius-selector);border:var(--border)solid var(--color-base-300);font-weight:inherit;padding-block:.2em;padding-inline:.5em}:root .prose :where(code):not(pre>code):before,:root .prose :where(code):not(pre>code):after{display:none}.block{display:block}.contents{display:contents}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline{display:inline}.table{display:table}.aspect-3\\/2{aspect-ratio:3/2}.aspect-3\\/4{aspect-ratio:3/4}.size-1{width:calc(var(--spacing)*1);height:calc(var(--spacing)*1)}.h-0{height:calc(var(--spacing)*0)}.h-1\\.5{height:calc(var(--spacing)*1.5)}.h-2{height:calc(var(--spacing)*2)}.h-3{height:calc(var(--spacing)*3)}.h-4{height:calc(var(--spacing)*4)}.h-6{height:calc(var(--spacing)*6)}.h-12{height:calc(var(--spacing)*12)}.h-16{height:calc(var(--spacing)*16)}.h-122{height:calc(var(--spacing)*122)}.h-auto{height:auto}.h-full{height:100%}.h-screen{height:100vh}.max-h-\\[40vh\\]{max-height:40vh}.max-h-\\[60vh\\]{max-height:60vh}.max-h-\\[70vh\\]{max-height:70vh}.max-h-\\[80vh\\]{max-height:80vh}.max-h-\\[calc\\(100vh-8\\.6rem\\)\\]{max-height:calc(100vh - 8.6rem)}.max-h-full{max-height:100%}.min-h-0{min-height:calc(var(--spacing)*0)}.min-h-screen{min-height:100vh}.w-0{width:calc(var(--spacing)*0)}.w-1\\.5{width:calc(var(--spacing)*1.5)}.w-1\\/2{width:50%}.w-2{width:calc(var(--spacing)*2)}.w-3{width:calc(var(--spacing)*3)}.w-6{width:calc(var(--spacing)*6)}.w-8{width:calc(var(--spacing)*8)}.w-11\\/12{width:91.6667%}.w-12{width:calc(var(--spacing)*12)}.w-16{width:calc(var(--spacing)*16)}.w-24{width:calc(var(--spacing)*24)}.w-32{width:calc(var(--spacing)*32)}.w-48{width:calc(var(--spacing)*48)}.w-56{width:calc(var(--spacing)*56)}.w-72{width:calc(var(--spacing)*72)}.w-80{width:calc(var(--spacing)*80)}.w-96{width:calc(var(--spacing)*96)}.w-\\[150px\\]{width:150px}.w-\\[200px\\]{width:200px}.w-\\[300px\\]{width:300px}.w-auto{width:auto}.w-full{width:100%}.w-px{width:1px}.max-w-5xl{max-width:var(--container-5xl)}.max-w-\\[150px\\]{max-width:150px}.max-w-\\[200px\\]{max-width:200px}.max-w-full{max-width:100%}.max-w-none{max-width:none}.max-w-xs{max-width:var(--container-xs)}.min-w-0{min-width:calc(var(--spacing)*0)}.flex-1{flex:1}.flex-none{flex:none}.shrink-0{flex-shrink:0}.origin-left{transform-origin:0}.origin-right{transform-origin:100%}.origin-top{transform-origin:top}.-translate-x-1\\/2{--tw-translate-x: -50% ;translate:var(--tw-translate-x)var(--tw-translate-y)}.-translate-x-full{--tw-translate-x:-100%;translate:var(--tw-translate-x)var(--tw-translate-y)}.translate-x-0{--tw-translate-x:calc(var(--spacing)*0);translate:var(--tw-translate-x)var(--tw-translate-y)}.translate-x-full{--tw-translate-x:100%;translate:var(--tw-translate-x)var(--tw-translate-y)}.-translate-y-full{--tw-translate-y:-100%;translate:var(--tw-translate-x)var(--tw-translate-y)}.translate-y-0{--tw-translate-y:calc(var(--spacing)*0);translate:var(--tw-translate-x)var(--tw-translate-y)}.scale-105{--tw-scale-x:105%;--tw-scale-y:105%;--tw-scale-z:105%;scale:var(--tw-scale-x)var(--tw-scale-y)}.rotate-180{rotate:180deg}.cursor-move{cursor:move}.cursor-pointer{cursor:pointer}.cursor-se-resize{cursor:se-resize}.resize{resize:both}.list-none{list-style-type:none}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.flex-col{flex-direction:column}.flex-row{flex-direction:row}.flex-row-reverse{flex-direction:row-reverse}.flex-nowrap{flex-wrap:nowrap}.flex-wrap{flex-wrap:wrap}.items-center{align-items:center}.items-end{align-items:flex-end}.items-start{align-items:flex-start}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.justify-start{justify-content:flex-start}.gap-0\\.5{gap:calc(var(--spacing)*.5)}.gap-1{gap:calc(var(--spacing)*1)}.gap-1\\.5{gap:calc(var(--spacing)*1.5)}.gap-2{gap:calc(var(--spacing)*2)}.gap-3{gap:calc(var(--spacing)*3)}.gap-4{gap:calc(var(--spacing)*4)}.gap-px{gap:1px}:where(.space-y-2>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*2)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*2)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-3>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*3)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*3)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-4>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*4)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*4)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-6>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*6)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*6)*calc(1 - var(--tw-space-y-reverse)))}:where(.divide-y>:not(:last-child)){--tw-divide-y-reverse:0;border-bottom-style:var(--tw-border-style);border-top-style:var(--tw-border-style);border-top-width:calc(1px*var(--tw-divide-y-reverse));border-bottom-width:calc(1px*calc(1 - var(--tw-divide-y-reverse)))}:where(.divide-base-300>:not(:last-child)){border-color:var(--color-base-300)}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.overflow-hidden{overflow:hidden}.overflow-visible{overflow:visible}.overflow-x-auto{overflow-x:auto}.overflow-x-hidden{overflow-x:hidden}.overflow-y-auto{overflow-y:auto}.overflow-y-hidden{overflow-y:hidden}.rounded{border-radius:.25rem}.rounded-box{border-radius:var(--radius-box)}.rounded-full{border-radius:3.40282e38px}.rounded-lg{border-radius:var(--radius-lg)}.rounded-md{border-radius:var(--radius-md)}.rounded-xl{border-radius:var(--radius-xl)}.rounded-l-none{border-top-left-radius:0;border-bottom-left-radius:0}.rounded-l-xl{border-top-left-radius:var(--radius-xl);border-bottom-left-radius:var(--radius-xl)}.rounded-r-xl{border-top-right-radius:var(--radius-xl);border-bottom-right-radius:var(--radius-xl)}.rounded-b-xl{border-bottom-right-radius:var(--radius-xl);border-bottom-left-radius:var(--radius-xl)}.border{border-style:var(--tw-border-style);border-width:1px}.border-2{border-style:var(--tw-border-style);border-width:2px}.border-4{border-style:var(--tw-border-style);border-width:4px}.border-x{border-inline-style:var(--tw-border-style);border-inline-width:1px}.border-y{border-block-style:var(--tw-border-style);border-block-width:1px}.border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.border-r{border-right-style:var(--tw-border-style);border-right-width:1px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-l{border-left-style:var(--tw-border-style);border-left-width:1px}.border-dashed{--tw-border-style:dashed;border-style:dashed}.border-base-200{border-color:var(--color-base-200)}.border-base-300,.border-base-300\\/50{border-color:var(--color-base-300)}@supports (color:color-mix(in lab,red,red)){.border-base-300\\/50{border-color:color-mix(in oklab,var(--color-base-300)50%,transparent)}}.border-base-content\\/10{border-color:var(--color-base-content)}@supports (color:color-mix(in lab,red,red)){.border-base-content\\/10{border-color:color-mix(in oklab,var(--color-base-content)10%,transparent)}}.border-primary\\/40{border-color:var(--color-primary)}@supports (color:color-mix(in lab,red,red)){.border-primary\\/40{border-color:color-mix(in oklab,var(--color-primary)40%,transparent)}}.border-red-500{border-color:var(--color-red-500)}.border-white\\/5{border-color:#ffffff0d}@supports (color:color-mix(in lab,red,red)){.border-white\\/5{border-color:color-mix(in oklab,var(--color-white)5%,transparent)}}.border-yellow-400{border-color:var(--color-yellow-400)}.bg-accent{background-color:var(--color-accent)}.bg-base-100,.bg-base-100\\/50{background-color:var(--color-base-100)}@supports (color:color-mix(in lab,red,red)){.bg-base-100\\/50{background-color:color-mix(in oklab,var(--color-base-100)50%,transparent)}}.bg-base-100\\/95{background-color:var(--color-base-100)}@supports (color:color-mix(in lab,red,red)){.bg-base-100\\/95{background-color:color-mix(in oklab,var(--color-base-100)95%,transparent)}}.bg-base-200,.bg-base-200\\/50{background-color:var(--color-base-200)}@supports (color:color-mix(in lab,red,red)){.bg-base-200\\/50{background-color:color-mix(in oklab,var(--color-base-200)50%,transparent)}}.bg-base-200\\/90{background-color:var(--color-base-200)}@supports (color:color-mix(in lab,red,red)){.bg-base-200\\/90{background-color:color-mix(in oklab,var(--color-base-200)90%,transparent)}}.bg-base-200\\/95{background-color:var(--color-base-200)}@supports (color:color-mix(in lab,red,red)){.bg-base-200\\/95{background-color:color-mix(in oklab,var(--color-base-200)95%,transparent)}}.bg-base-300,.bg-base-300\\/30{background-color:var(--color-base-300)}@supports (color:color-mix(in lab,red,red)){.bg-base-300\\/30{background-color:color-mix(in oklab,var(--color-base-300)30%,transparent)}}.bg-base-content,.bg-base-content\\/20{background-color:var(--color-base-content)}@supports (color:color-mix(in lab,red,red)){.bg-base-content\\/20{background-color:color-mix(in oklab,var(--color-base-content)20%,transparent)}}.bg-primary,.bg-primary\\/5{background-color:var(--color-primary)}@supports (color:color-mix(in lab,red,red)){.bg-primary\\/5{background-color:color-mix(in oklab,var(--color-primary)5%,transparent)}}.bg-primary\\/20{background-color:var(--color-primary)}@supports (color:color-mix(in lab,red,red)){.bg-primary\\/20{background-color:color-mix(in oklab,var(--color-primary)20%,transparent)}}.bg-red-500\\/20{background-color:#fb2c3633}@supports (color:color-mix(in lab,red,red)){.bg-red-500\\/20{background-color:color-mix(in oklab,var(--color-red-500)20%,transparent)}}.bg-secondary{background-color:var(--color-secondary)}.bg-yellow-200{background-color:var(--color-yellow-200)}.bg-yellow-400\\/40{background-color:#fac80066}@supports (color:color-mix(in lab,red,red)){.bg-yellow-400\\/40{background-color:color-mix(in oklab,var(--color-yellow-400)40%,transparent)}}.fill-red-500\\/20{fill:#fb2c3633}@supports (color:color-mix(in lab,red,red)){.fill-red-500\\/20{fill:color-mix(in oklab,var(--color-red-500)20%,transparent)}}.fill-yellow-400\\/40{fill:#fac80066}@supports (color:color-mix(in lab,red,red)){.fill-yellow-400\\/40{fill:color-mix(in oklab,var(--color-yellow-400)40%,transparent)}}.stroke-red-500{stroke:var(--color-red-500)}.stroke-yellow-400{stroke:var(--color-yellow-400)}.object-contain{object-fit:contain}.object-center{object-position:center}.object-left{object-position:left}.object-right{object-position:right}.p-0{padding:calc(var(--spacing)*0)}.p-1{padding:calc(var(--spacing)*1)}.p-2{padding:calc(var(--spacing)*2)}.p-3{padding:calc(var(--spacing)*3)}.p-4{padding:calc(var(--spacing)*4)}.p-8{padding:calc(var(--spacing)*8)}.px-0\\.5{padding-inline:calc(var(--spacing)*.5)}.px-1{padding-inline:calc(var(--spacing)*1)}.px-1\\.5{padding-inline:calc(var(--spacing)*1.5)}.px-2{padding-inline:calc(var(--spacing)*2)}.px-3{padding-inline:calc(var(--spacing)*3)}.px-4{padding-inline:calc(var(--spacing)*4)}.py-1{padding-block:calc(var(--spacing)*1)}.py-2{padding-block:calc(var(--spacing)*2)}.py-4{padding-block:calc(var(--spacing)*4)}.ps-4{padding-inline-start:calc(var(--spacing)*4)}.pt-0{padding-top:calc(var(--spacing)*0)}.pt-2{padding-top:calc(var(--spacing)*2)}.pt-4{padding-top:calc(var(--spacing)*4)}.pt-8{padding-top:calc(var(--spacing)*8)}.pr-1{padding-right:calc(var(--spacing)*1)}.pr-2{padding-right:calc(var(--spacing)*2)}.pr-12{padding-right:calc(var(--spacing)*12)}.pb-2{padding-bottom:calc(var(--spacing)*2)}.pb-4{padding-bottom:calc(var(--spacing)*4)}.text-center{text-align:center}.text-left{text-align:left}.text-right{text-align:right}.font-mono{font-family:var(--font-mono)}.text-3xl{font-size:var(--text-3xl);line-height:var(--tw-leading,var(--text-3xl--line-height))}.text-4xl{font-size:var(--text-4xl);line-height:var(--tw-leading,var(--text-4xl--line-height))}.text-lg{font-size:var(--text-lg);line-height:var(--tw-leading,var(--text-lg--line-height))}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.leading-relaxed{--tw-leading:var(--leading-relaxed);line-height:var(--leading-relaxed)}.font-bold{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.font-normal{--tw-font-weight:var(--font-weight-normal);font-weight:var(--font-weight-normal)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.tracking-wider{--tw-tracking:var(--tracking-wider);letter-spacing:var(--tracking-wider)}.text-nowrap{text-wrap:nowrap}.wrap-break-word{overflow-wrap:break-word}.break-all{word-break:break-all}.whitespace-nowrap{white-space:nowrap}.text-base-content,.text-base-content\\/50{color:var(--color-base-content)}@supports (color:color-mix(in lab,red,red)){.text-base-content\\/50{color:color-mix(in oklab,var(--color-base-content)50%,transparent)}}.text-error{color:var(--color-error)}.text-primary{color:var(--color-primary)}.text-success{color:var(--color-success)}.text-warning{color:var(--color-warning)}.text-yellow-900{color:var(--color-yellow-900)}.capitalize{text-transform:capitalize}.uppercase{text-transform:uppercase}.italic{font-style:italic}.tabular-nums{--tw-numeric-spacing:tabular-nums;font-variant-numeric:var(--tw-ordinal,)var(--tw-slashed-zero,)var(--tw-numeric-figure,)var(--tw-numeric-spacing,)var(--tw-numeric-fraction,)}.prose :where(.btn-link):not(:where([class~=not-prose],[class~=not-prose] *)){text-decoration-line:none}.opacity-0{opacity:0}.opacity-20{opacity:.2}.opacity-50{opacity:.5}.opacity-60{opacity:.6}.opacity-70{opacity:.7}.opacity-80{opacity:.8}.opacity-100{opacity:1}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a),0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-2xl{--tw-shadow:0 25px 50px -12px var(--tw-shadow-color,#00000040);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-lg{--tw-shadow:0 10px 15px -3px var(--tw-shadow-color,#0000001a),0 4px 6px -4px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-md{--tw-shadow:0 4px 6px -1px var(--tw-shadow-color,#0000001a),0 2px 4px -2px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-sm{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a),0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-xl{--tw-shadow:0 20px 25px -5px var(--tw-shadow-color,#0000001a),0 8px 10px -6px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.ring-2{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(2px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.ring-primary{--tw-ring-color:var(--color-primary)}.outline{outline-style:var(--tw-outline-style);outline-width:1px}@layer daisyui.l1{.btn-ghost:not(.btn-active,:hover,:active:focus,:focus-visible,input:checked:not(.filter .btn)){--btn-shadow:"";--btn-bg:#0000;--btn-border:#0000;--btn-noise:none}.btn-ghost:not(.btn-active,:hover,:active:focus,:focus-visible,input:checked:not(.filter .btn)):not(:disabled,[disabled],.btn-disabled){--btn-fg:var(--btn-color,currentColor);outline-color:currentColor}@media(hover:none){.btn-ghost:not(.btn-active,:active,:focus-visible,input:checked:not(.filter .btn)):hover{--btn-shadow:"";--btn-bg:#0000;--btn-fg:var(--btn-color,currentColor);--btn-border:#0000;--btn-noise:none;outline-color:currentColor}}.btn-outline:not(.btn-active,:hover,:active:focus,:focus-visible,input:checked:not(.filter .btn),:disabled,[disabled],.btn-disabled){--btn-shadow:"";--btn-bg:#0000;--btn-fg:var(--btn-color);--btn-border:var(--btn-color);--btn-noise:none}@media(hover:none){.btn-outline:not(.btn-active,:active,:focus-visible,input:checked:not(.filter .btn)):hover{--btn-shadow:"";--btn-bg:#0000;--btn-fg:var(--btn-color);--btn-border:var(--btn-color);--btn-noise:none}}}.outline-black\\/5{outline-color:#0000000d}@supports (color:color-mix(in lab,red,red)){.outline-black\\/5{outline-color:color-mix(in oklab,var(--color-black)5%,transparent)}}.blur{--tw-blur:blur(8px);filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}.drop-shadow-md{--tw-drop-shadow-size:drop-shadow(0 3px 3px var(--tw-drop-shadow-color,#0000001f));--tw-drop-shadow:drop-shadow(var(--drop-shadow-md));filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}.grayscale{--tw-grayscale:grayscale(100%);filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}.invert{--tw-invert:invert(100%);filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}.filter{filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}.backdrop-blur{--tw-backdrop-blur:blur(8px);-webkit-backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\\[width\\]{transition-property:width;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-all{transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-opacity{transition-property:opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-transform{transition-property:transform,translate,scale,rotate;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.duration-150{--tw-duration:.15s;transition-duration:.15s}.duration-200{--tw-duration:.2s;transition-duration:.2s}.duration-300{--tw-duration:.3s;transition-duration:.3s}.ease-in-out{--tw-ease:var(--ease-in-out);transition-timing-function:var(--ease-in-out)}.select-none{-webkit-user-select:none;user-select:none}.group-open\\:rotate-180:is(:where(.group):is([open],:popover-open,:open) *){rotate:180deg}.group-focus-within\\:pointer-events-auto:is(:where(.group):focus-within *){pointer-events:auto}.group-focus-within\\:visible:is(:where(.group):focus-within *){visibility:visible}@media(hover:hover){.group-hover\\:border-base-content\\/20:is(:where(.group):hover *){border-color:var(--color-base-content)}@supports (color:color-mix(in lab,red,red)){.group-hover\\:border-base-content\\/20:is(:where(.group):hover *){border-color:color-mix(in oklab,var(--color-base-content)20%,transparent)}}.group-hover\\:opacity-100:is(:where(.group):hover *){opacity:1}}.last\\:border-none:last-child{--tw-border-style:none;border-style:none}@media(hover:hover){.hover\\:bg-base-200:hover,.hover\\:bg-base-200\\/30:hover{background-color:var(--color-base-200)}@supports (color:color-mix(in lab,red,red)){.hover\\:bg-base-200\\/30:hover{background-color:color-mix(in oklab,var(--color-base-200)30%,transparent)}}.hover\\:bg-base-200\\/50:hover{background-color:var(--color-base-200)}@supports (color:color-mix(in lab,red,red)){.hover\\:bg-base-200\\/50:hover{background-color:color-mix(in oklab,var(--color-base-200)50%,transparent)}}.hover\\:bg-base-300:hover{background-color:var(--color-base-300)}.hover\\:bg-red-500\\/40:hover{background-color:#fb2c3666}@supports (color:color-mix(in lab,red,red)){.hover\\:bg-red-500\\/40:hover{background-color:color-mix(in oklab,var(--color-red-500)40%,transparent)}}.hover\\:bg-yellow-400\\/60:hover{background-color:#fac80099}@supports (color:color-mix(in lab,red,red)){.hover\\:bg-yellow-400\\/60:hover{background-color:color-mix(in oklab,var(--color-yellow-400)60%,transparent)}}.hover\\:fill-red-500\\/40:hover{fill:#fb2c3666}@supports (color:color-mix(in lab,red,red)){.hover\\:fill-red-500\\/40:hover{fill:color-mix(in oklab,var(--color-red-500)40%,transparent)}}.hover\\:fill-yellow-400\\/60:hover{fill:#fac80099}@supports (color:color-mix(in lab,red,red)){.hover\\:fill-yellow-400\\/60:hover{fill:color-mix(in oklab,var(--color-yellow-400)60%,transparent)}}.hover\\:underline:hover{text-decoration-line:underline}.hover\\:shadow-md:hover{--tw-shadow:0 4px 6px -1px var(--tw-shadow-color,#0000001a),0 2px 4px -2px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}}.focus\\:bg-base-300:focus{background-color:var(--color-base-300)}.focus\\:outline-none:focus{--tw-outline-style:none;outline-style:none}.active\\:bg-base-200:active{background-color:var(--color-base-200)}@media(min-width:64rem){.lg\\:px-32{padding-inline:calc(var(--spacing)*32)}.lg\\:pt-8{padding-top:calc(var(--spacing)*8)}.lg\\:pb-16{padding-bottom:calc(var(--spacing)*16)}}}.osd-background,.osd-background .openseadragon-container{background-color:#0000}@keyframes rating{0%,40%{filter:brightness(1.05)contrast(1.05);scale:1.1}}@keyframes dropdown{0%{opacity:0}}@keyframes radio{0%{padding:5px}50%{padding:3px}}@keyframes toast{0%{opacity:0;scale:.9}to{opacity:1;scale:1}}@keyframes rotator{89.9999%,to{--first-item-position:0 0%}90%,99.9999%{--first-item-position:0 calc(var(--items)*100%)}to{translate:0 -100%}}@keyframes skeleton{0%{background-position:150%}to{background-position:-50%}}@keyframes menu{0%{opacity:0}}@keyframes progress{50%{background-position-x:-115%}}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}@property --tw-scale-x{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-y{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-z{syntax:"*";inherits:false;initial-value:1}@property --tw-space-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-divide-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-leading{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-tracking{syntax:"*";inherits:false}@property --tw-ordinal{syntax:"*";inherits:false}@property --tw-slashed-zero{syntax:"*";inherits:false}@property --tw-numeric-figure{syntax:"*";inherits:false}@property --tw-numeric-spacing{syntax:"*";inherits:false}@property --tw-numeric-fraction{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@property --tw-backdrop-blur{syntax:"*";inherits:false}@property --tw-backdrop-brightness{syntax:"*";inherits:false}@property --tw-backdrop-contrast{syntax:"*";inherits:false}@property --tw-backdrop-grayscale{syntax:"*";inherits:false}@property --tw-backdrop-hue-rotate{syntax:"*";inherits:false}@property --tw-backdrop-invert{syntax:"*";inherits:false}@property --tw-backdrop-opacity{syntax:"*";inherits:false}@property --tw-backdrop-saturate{syntax:"*";inherits:false}@property --tw-backdrop-sepia{syntax:"*";inherits:false}@property --tw-duration{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}`;var Z0=["forEach","isDisjointFrom","isSubsetOf","isSupersetOf"],W0=["difference","intersection","symmetricDifference","union"],zc=!1;const Jo=class Jo extends Set{constructor(e){super();we(this,Ji);we(this,Qi,new Map);we(this,mr,Ae(0));we(this,ni,Ae(0));we(this,Qo,gr||-1);if(e){for(var r of e)super.add(r);R(this,ni).v=super.size}zc||We(this,Ji,yh).call(this)}has(e){var r=super.has(e),n=R(this,Qi),o=n.get(e);if(o===void 0){if(!r)return p(R(this,mr)),!1;o=We(this,Ji,bh).call(this,!0),n.set(e,o)}return p(o),r}add(e){return super.has(e)||(super.add(e),be(R(this,ni),super.size),Yt(R(this,mr))),this}delete(e){var r=super.delete(e),n=R(this,Qi),o=n.get(e);return o!==void 0&&(n.delete(e),be(o,!1)),r&&(be(R(this,ni),super.size),Yt(R(this,mr))),r}clear(){if(super.size!==0){super.clear();var e=R(this,Qi);for(var r of e.values())be(r,!1);e.clear(),be(R(this,ni),0),Yt(R(this,mr))}}keys(){return this.values()}values(){return p(R(this,mr)),super.values()}entries(){return p(R(this,mr)),super.entries()}[Symbol.iterator](){return this.keys()}get size(){return p(R(this,ni))}};Qi=new WeakMap,mr=new WeakMap,ni=new WeakMap,Qo=new WeakMap,Ji=new WeakSet,bh=function(e){return gr===R(this,Qo)?Ae(e):Lt(e)},yh=function(){zc=!0;var e=Jo.prototype,r=Set.prototype;for(const n of Z0)e[n]=function(...o){return p(R(this,mr)),r[n].apply(this,o)};for(const n of W0)e[n]=function(...o){p(R(this,mr));var a=r[n].apply(this,o);return new Jo(a)}};let Ho=Jo;const Rs=class Rs extends Map{constructor(e){super();we(this,_r);we(this,Lr,new Map);we(this,zr,Ae(0));we(this,Ur,Ae(0));we(this,$o,gr||-1);if(e){for(var[r,n]of e)super.set(r,n);R(this,Ur).v=super.size}}has(e){var r=R(this,Lr),n=r.get(e);if(n===void 0){var o=super.get(e);if(o!==void 0)n=We(this,_r,to).call(this,0),r.set(e,n);else return p(R(this,zr)),!1}return p(n),!0}forEach(e,r){We(this,_r,ra).call(this),super.forEach(e,r)}get(e){var r=R(this,Lr),n=r.get(e);if(n===void 0){var o=super.get(e);if(o!==void 0)n=We(this,_r,to).call(this,0),r.set(e,n);else{p(R(this,zr));return}}return p(n),super.get(e)}set(e,r){var h;var n=R(this,Lr),o=n.get(e),a=super.get(e),s=super.set(e,r),c=R(this,zr);if(o===void 0)o=We(this,_r,to).call(this,0),n.set(e,o),be(R(this,Ur),super.size),Yt(c);else if(a!==r){Yt(o);var l=c.reactions===null?null:new Set(c.reactions),u=l===null||!((h=o.reactions)!=null&&h.every(f=>l.has(f)));u&&Yt(c)}return s}delete(e){var r=R(this,Lr),n=r.get(e),o=super.delete(e);return n!==void 0&&(r.delete(e),be(R(this,Ur),super.size),be(n,-1),Yt(R(this,zr))),o}clear(){if(super.size!==0){super.clear();var e=R(this,Lr);be(R(this,Ur),0);for(var r of e.values())be(r,-1);Yt(R(this,zr)),e.clear()}}keys(){return p(R(this,zr)),super.keys()}values(){return We(this,_r,ra).call(this),super.values()}entries(){return We(this,_r,ra).call(this),super.entries()}[Symbol.iterator](){return this.entries()}get size(){return p(R(this,Ur)),super.size}};Lr=new WeakMap,zr=new WeakMap,Ur=new WeakMap,$o=new WeakMap,_r=new WeakSet,to=function(e){return gr===R(this,$o)?Ae(e):Lt(e)},ra=function(){p(R(this,zr));var e=R(this,Lr);if(R(this,Ur).v!==e.size){for(var r of ph(Rs.prototype,this,"keys").call(this))if(!e.has(r)){var n=We(this,_r,to).call(this,0);e.set(r,n)}}for([,n]of R(this,Lr))p(n)};let _n=Rs;var Hc=(function(){function i(t){this.__jsonld=t,this.context=this.getProperty("context"),this.id=this.getProperty("id")}return i.prototype.getProperty=function(t){var e=null;return this.__jsonld&&(e=this.__jsonld[t],e||(e=this.__jsonld["@"+t])),e},i})(),No=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function ja(i){return i&&i.__esModule&&Object.prototype.hasOwnProperty.call(i,"default")?i.default:i}function q0(i){if(Object.prototype.hasOwnProperty.call(i,"__esModule"))return i;var t=i.default;if(typeof t=="function"){var e=function r(){return this instanceof r?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};e.prototype=t.prototype}else e={};return Object.defineProperty(e,"__esModule",{value:!0}),Object.keys(i).forEach(function(r){var n=Object.getOwnPropertyDescriptor(i,r);Object.defineProperty(e,r,n.get?n:{enumerable:!0,get:function(){return i[r]}})}),e}var lt={},Nc;function X0(){if(Nc)return lt;Nc=1,Object.defineProperty(lt,"__esModule",{value:!0}),lt.ViewingHint=lt.ViewingDirection=lt.ServiceType=lt.ServiceProfile=lt.RenderingFormat=lt.MediaType=lt.IIIFResourceType=lt.ExternalResourceType=lt.Behavior=lt.AnnotationMotivation=void 0;var i;(function(u){u.BOOKMARKING="oa:bookmarking",u.CLASSIFYING="oa:classifying",u.COMMENTING="oa:commenting",u.DESCRIBING="oa:describing",u.EDITING="oa:editing",u.HIGHLIGHTING="oa:highlighting",u.IDENTIFYING="oa:identifying",u.LINKING="oa:linking",u.MODERATING="oa:moderating",u.PAINTING="sc:painting",u.QUESTIONING="oa:questioning",u.REPLYING="oa:replying",u.TAGGING="oa:tagging",u.TRANSCRIBING="oad:transcribing"})(i||(lt.AnnotationMotivation=i={}));var t;(function(u){u.AUTO_ADVANCE="auto-advance",u.CONTINUOUS="continuous",u.FACING_PAGES="facing-pages",u.HIDDEN="hidden",u.INDIVIDUALS="individuals",u.MULTI_PART="multi-part",u.NO_NAV="no-nav",u.NON_PAGED="non-paged",u.PAGED="paged",u.REPEAT="repeat",u.SEQUENCE="sequence",u.THUMBNAIL_NAV="thumbnail-nav",u.TOGETHER="together",u.UNORDERED="unordered"})(t||(lt.Behavior=t={}));var e;(function(u){u.CANVAS="canvas",u.CHOICE="choice",u.OA_CHOICE="oa:choice",u.CONTENT_AS_TEXT="contentastext",u.DATASET="dataset",u.DOCUMENT="document",u.IMAGE="image",u.MODEL="model",u.MOVING_IMAGE="movingimage",u.PDF="pdf",u.PHYSICAL_OBJECT="physicalobject",u.SOUND="sound",u.TEXT="text",u.TEXTUALBODY="textualbody",u.VIDEO="video"})(e||(lt.ExternalResourceType=e={}));var r;(function(u){u.ANNOTATION="annotation",u.ANNOTATION_COLLECTION="annotationcollection",u.ANNOTATION_PAGE="annotationpage",u.CANVAS="canvas",u.COLLECTION="collection",u.MANIFEST="manifest",u.RANGE="range",u.SEQUENCE="sequence"})(r||(lt.IIIFResourceType=r={}));var n;(function(u){u.APNG="image/apng",u.AUDIO_MP4="audio/mp4",u.AUDIO_OGG="audio/ogg",u.AVIF="audio/avif",u.CORTO="application/corto",u.DICOM="application/dicom",u.DRACO="application/draco",u.EPUB="application/epub+zip",u.GIF="image/gif",u.GIRDER="image/vnd.kitware.girder",u.GLB="model/gltf-binary",u.GLTF="model/gltf+json",u.IIIF_PRESENTATION_2='application/ld+json;profile="http://iiif.io/api/presentation/2/context.json"',u.IIIF_PRESENTATION_3='application/ld+json;profile="http://iiif.io/api/presentation/3/context.json"',u.JPG="image/jpeg",u.M3U8="application/vnd.apple.mpegurl",u.MP3="audio/mp3",u.MPEG="audio/mpeg",u.MPEG_DASH="application/dash+xml",u.OBJ="model/obj",u.OPF="application/oebps-package+xml",u.PDF="application/pdf",u.PLY="application/ply",u.PNG="image/png",u.SVG="image/svg+xml",u.THREEJS="application/vnd.threejs+json",u.USDZ="model/vnd.usd+zip",u.VIDEO_MP4="video/mp4",u.VIDEO_OGG="video/ogg",u.WAV="audio/wav",u.WEBM="video/webm",u.WEBP="image/webp"})(n||(lt.MediaType=n={}));var o;(function(u){u.DOC="application/msword",u.DOCX="application/vnd.openxmlformats-officedocument.wordprocessingml.document",u.ODT="application/vnd.oasis.opendocument.text",u.PDF="application/pdf"})(o||(lt.RenderingFormat=o={}));var a;(function(u){u.IMAGE_0_COMPLIANCE_LEVEL_0="http://library.stanford.edu/iiif/image-api/compliance.html#level0",u.IMAGE_0_COMPLIANCE_LEVEL_1="http://library.stanford.edu/iiif/image-api/compliance.html#level1",u.IMAGE_0_COMPLIANCE_LEVEL_2="http://library.stanford.edu/iiif/image-api/compliance.html#level2",u.IMAGE_0_CONFORMANCE_LEVEL_0="http://library.stanford.edu/iiif/image-api/conformance.html#level0",u.IMAGE_0_CONFORMANCE_LEVEL_1="http://library.stanford.edu/iiif/image-api/conformance.html#level1",u.IMAGE_0_CONFORMANCE_LEVEL_2="http://library.stanford.edu/iiif/image-api/conformance.html#level2",u.IMAGE_1_COMPLIANCE_LEVEL_0="http://library.stanford.edu/iiif/image-api/1.1/compliance.html#level0",u.IMAGE_1_COMPLIANCE_LEVEL_1="http://library.stanford.edu/iiif/image-api/1.1/compliance.html#level1",u.IMAGE_1_COMPLIANCE_LEVEL_2="http://library.stanford.edu/iiif/image-api/1.1/compliance.html#level2",u.IMAGE_1_CONFORMANCE_LEVEL_0="http://library.stanford.edu/iiif/image-api/1.1/conformance.html#level0",u.IMAGE_1_CONFORMANCE_LEVEL_1="http://library.stanford.edu/iiif/image-api/1.1/conformance.html#level1",u.IMAGE_1_CONFORMANCE_LEVEL_2="http://library.stanford.edu/iiif/image-api/1.1/conformance.html#level2",u.IMAGE_1_LEVEL_0="http://iiif.io/api/image/1/level0.json",u.IMAGE_1_PROFILE_LEVEL_0="http://iiif.io/api/image/1/profiles/level0.json",u.IMAGE_1_LEVEL_1="http://iiif.io/api/image/1/level1.json",u.IMAGE_1_PROFILE_LEVEL_1="http://iiif.io/api/image/1/profiles/level1.json",u.IMAGE_1_LEVEL_2="http://iiif.io/api/image/1/level2.json",u.IMAGE_1_PROFILE_LEVEL_2="http://iiif.io/api/image/1/profiles/level2.json",u.IMAGE_2_LEVEL_0="http://iiif.io/api/image/2/level0.json",u.IMAGE_2_PROFILE_LEVEL_0="http://iiif.io/api/image/2/profiles/level0.json",u.IMAGE_2_LEVEL_1="http://iiif.io/api/image/2/level1.json",u.IMAGE_2_PROFILE_LEVEL_1="http://iiif.io/api/image/2/profiles/level1.json",u.IMAGE_2_LEVEL_2="http://iiif.io/api/image/2/level2.json",u.IMAGE_2_PROFILE_LEVEL_2="http://iiif.io/api/image/2/profiles/level2.json",u.AUTH_0_CLICK_THROUGH="http://iiif.io/api/auth/0/login/clickthrough",u.AUTH_0_LOGIN="http://iiif.io/api/auth/0/login",u.AUTH_0_LOGOUT="http://iiif.io/api/auth/0/logout",u.AUTH_0_RESTRICTED="http://iiif.io/api/auth/0/login/restricted",u.AUTH_0_TOKEN="http://iiif.io/api/auth/0/token",u.AUTH_1_CLICK_THROUGH="http://iiif.io/api/auth/1/clickthrough",u.AUTH_1_EXTERNAL="http://iiif.io/api/auth/1/external",u.AUTH_1_KIOSK="http://iiif.io/api/auth/1/kiosk",u.AUTH_1_LOGIN="http://iiif.io/api/auth/1/login",u.AUTH_1_LOGOUT="http://iiif.io/api/auth/1/logout",u.AUTH_1_PROBE="http://iiif.io/api/auth/1/probe",u.AUTH_1_TOKEN="http://iiif.io/api/auth/1/token",u.SEARCH_0="http://iiif.io/api/search/0/search",u.SEARCH_0_AUTO_COMPLETE="http://iiif.io/api/search/0/autocomplete",u.SEARCH_1="http://iiif.io/api/search/1/search",u.SEARCH_1_AUTO_COMPLETE="http://iiif.io/api/search/1/autocomplete",u.SEARCH_2="http://iiif.io/api/search/2/search",u.SEARCH_2_AUTO_COMPLETE="http://iiif.io/api/search/2/autocomplete",u.TRACKING_EXTENSIONS="http://universalviewer.io/tracking-extensions-profile",u.UI_EXTENSIONS="http://universalviewer.io/ui-extensions-profile",u.PRINT_EXTENSIONS="http://universalviewer.io/print-extensions-profile",u.SHARE_EXTENSIONS="http://universalviewer.io/share-extensions-profile",u.DOWNLOAD_EXTENSIONS="http://universalviewer.io/download-extensions-profile",u.OTHER_MANIFESTATIONS="http://iiif.io/api/otherManifestations.json",u.IXIF="http://wellcomelibrary.org/ld/ixif/0/alpha.json"})(a||(lt.ServiceProfile=a={}));var s;(function(u){u.IMAGE_SERVICE_2="ImageService2",u.IMAGE_SERVICE_3="ImageService3",u.SEARCH_SERVICE_2="SearchService2",u.AUTO_COMPLETE_SERVICE_2="AutoCompleteService2"})(s||(lt.ServiceType=s={}));var c;(function(u){u.BOTTOM_TO_TOP="bottom-to-top",u.LEFT_TO_RIGHT="left-to-right",u.RIGHT_TO_LEFT="right-to-left",u.TOP_TO_BOTTOM="top-to-bottom"})(c||(lt.ViewingDirection=c={}));var l;return(function(u){u.CONTINUOUS="continuous",u.INDIVIDUALS="individuals",u.NON_PAGED="non-paged",u.PAGED="paged",u.TOP="top"})(l||(lt.ViewingHint=l={})),lt}var ge=X0(),Y0=(function(){var i=function(t,e){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(r[o]=n[o])},i(t,e)};return function(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");i(t,e);function r(){this.constructor=t}t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}})(),Br=(function(i){Y0(t,i);function t(e,r){var n=i.call(this,e)||this;return n.options=r,n}return t.prototype.getIIIFResourceType=function(){return Ge.normaliseType(this.getProperty("type"))},t.prototype.getLabel=function(){var e=this.getProperty("label");return e?sr.parse(e,this.options.locale):new sr([],this.options.locale)},t.prototype.getDefaultLabel=function(){return this.getLabel().getValue(this.options.locale)},t.prototype.getMetadata=function(){var e=this.getProperty("metadata"),r=[];if(!e)return r;for(var n=0;n<e.length;n++){var o=e[n],a=new jo(this.options.locale);a.parse(o),r.push(a)}return r},t.prototype.getRendering=function(e){for(var r=this.getRenderings(),n=0;n<r.length;n++){var o=r[n];if(o.getFormat()===e)return o}return null},t.prototype.getRenderings=function(){var e;this.__jsonld?e=this.__jsonld.rendering:e=this.rendering;var r=[];if(!e)return r;Array.isArray(e)||(e=[e]);for(var n=0;n<e.length;n++){var o=e[n];r.push(new Rg(o,this.options))}return r},t.prototype.getRequiredStatement=function(){var e=null,r=this.getProperty("requiredStatement");return r&&(e=new jo(this.options.locale),e.parse(r)),e},t.prototype.getService=function(e){return Ge.getService(this,e)},t.prototype.getServices=function(){return Ge.getServices(this)},t.prototype.getThumbnail=function(){var e=this.getProperty("thumbnail");return Array.isArray(e)&&(e=e[0]),e?new zg(e,this.options):null},t.prototype.isAnnotation=function(){return this.getIIIFResourceType()===ge.IIIFResourceType.ANNOTATION},t.prototype.isCanvas=function(){return this.getIIIFResourceType()===ge.IIIFResourceType.CANVAS},t.prototype.isCollection=function(){return this.getIIIFResourceType()===ge.IIIFResourceType.COLLECTION},t.prototype.isManifest=function(){return this.getIIIFResourceType()===ge.IIIFResourceType.MANIFEST},t.prototype.isRange=function(){return this.getIIIFResourceType()===ge.IIIFResourceType.RANGE},t.prototype.isSequence=function(){return this.getIIIFResourceType()===ge.IIIFResourceType.SEQUENCE},t})(Hc),K0=(function(){var i=function(t,e){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(r[o]=n[o])},i(t,e)};return function(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");i(t,e);function r(){this.constructor=t}t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}})(),Ua=(function(i){K0(t,i);function t(e,r){return i.call(this,e,r)||this}return t.prototype.getFormat=function(){var e=this.getProperty("format");return e?e.toLowerCase():null},t.prototype.getResources=function(){var e=[];if(!this.__jsonld.resources)return e;for(var r=0;r<this.__jsonld.resources.length;r++){var n=this.__jsonld.resources[r],o=new Fo(n,this.options);e.push(o)}return e},t.prototype.getType=function(){var e=this.getProperty("type");return e?Ge.normaliseType(e):null},t.prototype.getWidth=function(){return this.getProperty("width")},t.prototype.getHeight=function(){return this.getProperty("height")},t.prototype.getMaxWidth=function(){return this.getProperty("maxWidth")},t.prototype.getMaxHeight=function(){var e=this.getProperty("maxHeight");return e?null:this.getMaxWidth()},t})(Br),Q0=(function(){var i=function(t,e){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(r[o]=n[o])},i(t,e)};return function(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");i(t,e);function r(){this.constructor=t}t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}})(),Fc=(function(i){Q0(t,i);function t(e,r){var n=i.call(this,e,r)||this;n.index=-1,n.isLoaded=!1;var o={defaultLabel:"-",locale:"en-GB",resource:n,pessimisticAccessControl:!1};return n.options=Object.assign(o,r),n}return t.prototype.getAttribution=function(){var e=this.getProperty("attribution");return e?sr.parse(e,this.options.locale):new sr([],this.options.locale)},t.prototype.getDescription=function(){var e=this.getProperty("description");return e===void 0&&(e=this.getProperty("summary")),e?sr.parse(e,this.options.locale):new sr([],this.options.locale)},t.prototype.getSummary=function(){var e=this.getProperty("summary");return e===void 0&&(e=this.getProperty("description")),e?sr.parse(e,this.options.locale):new sr([],this.options.locale)},t.prototype.getHomepage=function(){var e=this.getProperty("homepage");return e?typeof e=="string"?e:(Array.isArray(e)&&e.length&&(e=e[0]),e["@id"]||e.id):null},t.prototype.getIIIFResourceType=function(){return Ge.normaliseType(this.getProperty("type"))},t.prototype.getLogo=function(){var e=this.getProperty("logo");if(!e){var r=this.getProperty("provider");if(!r)return null;var n=r.find(function(o){return o.logo!==void 0});n&&n.logo!==void 0?e=n.logo:e=null}return e?typeof e=="string"?e:(Array.isArray(e)&&e.length&&(e=e[0]),e["@id"]||(e==null?void 0:e.id)):null},t.prototype.getLicense=function(){return Ge.getLocalisedValue(this.getProperty("license"),this.options.locale)},t.prototype.getRights=function(){var e=this.getProperty("rights");return e?typeof e=="string"?e:(Array.isArray(e)&&e.length&&(e=e[0]),e["@id"]||e.id):null},t.prototype.getNavDate=function(){return new Date(this.getProperty("navDate"))},t.prototype.getRelated=function(){return this.getProperty("related")},t.prototype.getSeeAlso=function(){return this.getProperty("seeAlso")},t.prototype.getTrackingLabel=function(){var e=this.getService(ge.ServiceProfile.TRACKING_EXTENSIONS);return e?e.getProperty("trackingLabel"):""},t.prototype.getDefaultTree=function(){return this.defaultTree=new ds("root"),this.defaultTree.data=this,this.defaultTree},t.prototype.getRequiredStatement=function(){var e=null,r=this.getProperty("requiredStatement");if(r)e=new jo(this.options.locale),e.parse(r);else{var n=this.getAttribution();n&&n.length&&(e=new jo(this.options.locale),e.value=n)}return e},t.prototype.isCollection=function(){return this.getIIIFResourceType()===ge.IIIFResourceType.COLLECTION},t.prototype.isManifest=function(){return this.getIIIFResourceType()===ge.IIIFResourceType.MANIFEST},t.prototype.load=function(){var e=this;return new Promise(function(r){if(e.isLoaded)r(e);else{var n=e.options;n.navDate=e.getNavDate();var o=e.__jsonld.id;o||(o=e.__jsonld["@id"]),Ge.loadManifest(o).then(function(a){e.parentLabel=e.getLabel().getValue(n.locale);var s=cu.parse(a,n);e=Object.assign(e,s),e.index=n.index,r(e)})}})},t})(Br),J0=(function(){var i=function(t,e){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(r[o]=n[o])},i(t,e)};return function(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");i(t,e);function r(){this.constructor=t}t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}})(),Fo=(function(i){J0(t,i);function t(e,r){return i.call(this,e,r)||this}return t.prototype.getBody=function(){var e=[],r=this.getProperty("body");if(r)if(Array.isArray(r))for(var n=0;n<r.length;n++){var o=r[n];if(o.items)for(var a=0;a<o.items.length;a++){var s=o.items[a];e.push(new Bo(s,this.options))}else e.push(new Bo(o,this.options))}else if(r.items)for(var n=0;n<r.items.length;n++){var o=r.items[n];e.push(new Bo(o,this.options))}else e.push(new Bo(r,this.options));return e},t.prototype.getMotivation=function(){var e=this.getProperty("motivation");return e||null},t.prototype.getOn=function(){return this.getProperty("on")},t.prototype.getTarget=function(){return this.getProperty("target")},t.prototype.getResource=function(){return new Ua(this.getProperty("resource"),this.options)},t})(Br),$0=(function(){var i=function(t,e){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(r[o]=n[o])},i(t,e)};return function(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");i(t,e);function r(){this.constructor=t}t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}})(),Bo=(function(i){$0(t,i);function t(e,r){return i.call(this,e,r)||this}return t.prototype.getFormat=function(){var e=this.getProperty("format");return e?Ge.getMediaType(e):null},t.prototype.getType=function(){var e=this.getProperty("type");return e?Ge.normaliseType(this.getProperty("type")):null},t.prototype.getValue=function(){return this.getProperty("value")},t.prototype.getLanguage=function(){return this.getProperty("language")},t.prototype.getWidth=function(){return this.getProperty("width")},t.prototype.getHeight=function(){return this.getProperty("height")},t})(Br),eg=(function(){var i=function(t,e){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(r[o]=n[o])},i(t,e)};return function(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");i(t,e);function r(){this.constructor=t}t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}})(),tg=(function(i){eg(t,i);function t(e,r,n){var o=i.call(this,r)||this;return o.label=e,o.options=n,o}return t.prototype.getIIIFResourceType=function(){return Ge.normaliseType(this.getProperty("type"))},t.prototype.getLabel=function(){return this.label},t.prototype.getResources=function(){var e=this,r=this.getProperty("resources");return r.map(function(n){return new Fo(n,e.options)})},t.prototype.load=function(){var e=this;return new Promise(function(r,n){if(e.isLoaded)r(e);else{var o=e.__jsonld.id;o||(o=e.__jsonld["@id"]),Ge.loadManifest(o).then(function(a){e.__jsonld=a,e.context=e.getProperty("context"),e.id=e.getProperty("id"),e.isLoaded=!0,r(e)}).catch(n)}})},t})(Hc),rg=(function(){var i=function(t,e){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(r[o]=n[o])},i(t,e)};return function(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");i(t,e);function r(){this.constructor=t}t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}})(),Bc=(function(i){rg(t,i);function t(e,r){return i.call(this,e,r)||this}return t.prototype.getItems=function(){return this.getProperty("items")},t.prototype.getAnnotations=function(){var e=[],r=this.getProperty("items");if(!r||!Array.isArray(r))return e;for(var n=0;n<r.length;n++){var o=new Fo(r[n],this.options);e.push(o)}return e},t})(Br),Ga,Vc;function ig(){if(Vc)return Ga;Vc=1;function i(t,e){for(var r=-1,n=e.length,o=t.length;++r<n;)t[o+r]=e[r];return t}return Ga=i,Ga}var Za,jc;function ng(){if(jc)return Za;jc=1;var i=typeof No=="object"&&No&&No.Object===Object&&No;return Za=i,Za}var Wa,Uc;function og(){if(Uc)return Wa;Uc=1;var i=ng(),t=typeof self=="object"&&self&&self.Object===Object&&self,e=i||t||Function("return this")();return Wa=e,Wa}var qa,Gc;function Xa(){if(Gc)return qa;Gc=1;var i=og(),t=i.Symbol;return qa=t,qa}var Ya,Zc;function ag(){if(Zc)return Ya;Zc=1;var i=Xa(),t=Object.prototype,e=t.hasOwnProperty,r=t.toString,n=i?i.toStringTag:void 0;function o(a){var s=e.call(a,n),c=a[n];try{a[n]=void 0;var l=!0}catch{}var u=r.call(a);return l&&(s?a[n]=c:delete a[n]),u}return Ya=o,Ya}var Ka,Wc;function sg(){if(Wc)return Ka;Wc=1;var i=Object.prototype,t=i.toString;function e(r){return t.call(r)}return Ka=e,Ka}var Qa,qc;function lg(){if(qc)return Qa;qc=1;var i=Xa(),t=ag(),e=sg(),r="[object Null]",n="[object Undefined]",o=i?i.toStringTag:void 0;function a(s){return s==null?s===void 0?n:r:o&&o in Object(s)?t(s):e(s)}return Qa=a,Qa}var Ja,Xc;function Yc(){if(Xc)return Ja;Xc=1;function i(t){return t!=null&&typeof t=="object"}return Ja=i,Ja}var $a,Kc;function cg(){if(Kc)return $a;Kc=1;var i=lg(),t=Yc(),e="[object Arguments]";function r(n){return t(n)&&i(n)==e}return $a=r,$a}var es,Qc;function ug(){if(Qc)return es;Qc=1;var i=cg(),t=Yc(),e=Object.prototype,r=e.hasOwnProperty,n=e.propertyIsEnumerable,o=i((function(){return arguments})())?i:function(a){return t(a)&&r.call(a,"callee")&&!n.call(a,"callee")};return es=o,es}var ts,Jc;function hg(){if(Jc)return ts;Jc=1;var i=Array.isArray;return ts=i,ts}var rs,$c;function dg(){if($c)return rs;$c=1;var i=Xa(),t=ug(),e=hg(),r=i?i.isConcatSpreadable:void 0;function n(o){return e(o)||t(o)||!!(r&&o&&o[r])}return rs=n,rs}var is,eu;function tu(){if(eu)return is;eu=1;var i=ig(),t=dg();function e(r,n,o,a,s){var c=-1,l=r.length;for(o||(o=t),s||(s=[]);++c<l;){var u=r[c];n>0&&o(u)?n>1?e(u,n-1,o,a,s):i(s,u):a||(s[s.length]=u)}return s}return is=e,is}var ns,ru;function fg(){if(ru)return ns;ru=1;var i=tu();function t(e){var r=e==null?0:e.length;return r?i(e,1):[]}return ns=t,ns}var pg=fg();const os=ja(pg);var as,iu;function gg(){if(iu)return as;iu=1;var i=tu(),t=1/0;function e(r){var n=r==null?0:r.length;return n?i(r,t):[]}return as=e,as}var vg=gg();const nu=ja(vg);var mg=(function(){var i=function(t,e){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(r[o]=n[o])},i(t,e)};return function(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");i(t,e);function r(){this.constructor=t}t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}})(),Vo=(function(i){mg(t,i);function t(e,r){return i.call(this,e,r)||this}return t.prototype.getCanonicalImageUri=function(e){var r=null,n="full",o=0,a="default",s=e,c=s+",";if(this.externalResource&&this.externalResource.data&&this.externalResource.data["@id"])r=this.externalResource.data["@id"],s||(s=this.externalResource.data.width),this.externalResource.data["@context"]&&(this.externalResource.data["@context"].indexOf("/1.0/context.json")>-1||this.externalResource.data["@context"].indexOf("/1.1/context.json")>-1||this.externalResource.data["@context"].indexOf("/1/context.json")>-1)&&(a="native");else{var l=void 0;if(l=this.getImages(),l&&l.length){var u=l[0],h=u.getResource(),f=h.getServices();s||(s=h.getWidth());var v=f?f.find(function(S){return Ge.isImageProfile(S.getProfile())||Ge.isImageServiceType(S.getIIIFResourceType())}):null;if(v)r=v.id,a=Ge.getImageQuality(v.getProfile());else if(s===h.getWidth())return h.id}if(l=this.getContent(),l&&l.length){var u=l[0],_=u.getBody(),d=_[0],f=d.getServices();s||(s=d.getWidth());var v=f?f.find(function(A){return Ge.isImageServiceType(A.getIIIFResourceType())}):null;if(v)r=v.id,a=Ge.getImageQuality(v.getProfile());else if(s===d.getWidth())return d.id}if(!r){var g=this.getProperty("thumbnail");if(g){if(typeof g=="string")return g;if(g["@id"])return g["@id"];if(g.length)return g[0].id}}}r&&r.endsWith("/")&&(r=r.substr(0,r.length-1));var b=[r,n,c,o,a+".jpg"].join("/");return b},t.prototype.getMaxDimensions=function(){var e=null,r;return this.externalResource&&this.externalResource.data&&this.externalResource.data.profile&&(r=this.externalResource.data.profile,Array.isArray(r)&&(r=r.filter(function(n){var o;return(o=n.maxWidth)!==null&&o!==void 0?o:n.maxwidth})[0],r&&(e=new Mg(r.maxWidth,r.maxHeight?r.maxHeight:r.maxWidth)))),e},t.prototype.getContent=function(){var e=[],r=this.__jsonld.items||this.__jsonld.content;if(!r)return e;var n=null;if(r.length&&(n=new Bc(r[0],this.options)),!n)return e;for(var o=n.getAnnotations(),a=0;a<o.length;a++){var s=o[a];e.push(s)}return e},t.prototype.getAnnotations=function(){var e=[],r=this.__jsonld.annotations;if(!r||!Array.isArray(r))return e;for(var n=0;n<r.length;n++){var o=new Bc(r[n],this.options);e.push(o)}return e},t.prototype.getDuration=function(){return this.getProperty("duration")},t.prototype.getImages=function(){var e=[];if(!this.__jsonld.images)return e;for(var r=0;r<this.__jsonld.images.length;r++){var n=this.__jsonld.images[r],o=new Fo(n,this.options);e.push(o)}return e},t.prototype.getIndex=function(){return this.getProperty("index")},t.prototype.getOtherContent=function(){var e=this,r=Array.isArray(this.getProperty("otherContent"))?this.getProperty("otherContent"):[this.getProperty("otherContent")],n=function(a,s){return typeof a!="string"?!1:a.toLowerCase()===a.toLowerCase()},o=r.filter(function(a){return a&&n(a["@type"])}).map(function(a,s){return new tg(a.label||"Annotation list ".concat(s),a,e.options)}).map(function(a){return a.load()});return Promise.all(o)},t.prototype.getWidth=function(){return this.getProperty("width")},t.prototype.getHeight=function(){return this.getProperty("height")},t.prototype.getViewingHint=function(){var e=this.getProperty("viewingHint");return Array.isArray(e)&&(e=e[0]),e||null},Object.defineProperty(t.prototype,"imageResources",{get:function(){var e=this,r=nu([this.getImages().map(function(n){return n.getResource()}),this.getContent().map(function(n){return n.getBody()})]);return os(r.map(function(n){switch(n.getProperty("type").toLowerCase()){case ge.ExternalResourceType.CHOICE:case ge.ExternalResourceType.OA_CHOICE:return new t({images:os([n.getProperty("default"),n.getProperty("item")]).map(function(o){return{resource:o}})},e.options).getImages().map(function(o){return o.getResource()});default:return n}}))},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"resourceAnnotations",{get:function(){return nu([this.getImages(),this.getContent()])},enumerable:!1,configurable:!0}),t.prototype.resourceAnnotation=function(e){return this.resourceAnnotations.find(function(r){return r.getResource().id===e||os(new Array(r.getBody())).some(function(n){return n.id===e})})},t.prototype.onFragment=function(e){var r=this.resourceAnnotation(e);if(r){var n=r.getProperty("on"),o=r.getProperty("target");if(!(!n||!o)){var a=(n||o).match(/xywh=(.*)$/);if(a)return a[1].split(",").map(function(s){return parseInt(s,10)})}}},Object.defineProperty(t.prototype,"iiifImageResources",{get:function(){return this.imageResources.filter(function(e){return e&&e.getServices()[0]&&e.getServices()[0].id})},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"imageServiceIds",{get:function(){return this.iiifImageResources.map(function(e){return e.getServices()[0].id})},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"aspectRatio",{get:function(){return this.getWidth()/this.getHeight()},enumerable:!1,configurable:!0}),t})(Ua),_g=(function(){var i=function(t,e){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(r[o]=n[o])},i(t,e)};return function(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");i(t,e);function r(){this.constructor=t}t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}})(),wg=(function(i){_g(t,i);function t(e,r){var n=i.call(this,e,r)||this;return n.items=[],n._collections=null,n._manifests=null,e.__collection=n,n}return t.prototype.getCollections=function(){return this._collections?this._collections:this._collections=this.items.filter(function(e){return e.isCollection()})},t.prototype.getManifests=function(){return this._manifests?this._manifests:this._manifests=this.items.filter(function(e){return e.isManifest()})},t.prototype.getCollectionByIndex=function(e){for(var r=this.getCollections(),n,o=0;o<r.length;o++){var a=r[o];a.index===e&&(n=a)}if(n)return n.options.index=e,n.load();throw new Error("Collection index not found")},t.prototype.getManifestByIndex=function(e){for(var r=this.getManifests(),n,o=0;o<r.length;o++){var a=r[o];a.index===e&&(n=a)}if(n)return n.options.index=e,n.load();throw new Error("Manifest index not found")},t.prototype.getTotalCollections=function(){return this.getCollections().length},t.prototype.getTotalManifests=function(){return this.getManifests().length},t.prototype.getTotalItems=function(){return this.items.length},t.prototype.getViewingDirection=function(){return this.getProperty("viewingDirection")?this.getProperty("viewingDirection"):ge.ViewingDirection.LEFT_TO_RIGHT},t.prototype.getBehavior=function(){var e=this.getProperty("behavior");return Array.isArray(e)&&(e=e[0]),e||null},t.prototype.getViewingHint=function(){var e=this.getProperty("viewingHint");return Array.isArray(e)&&(e=e[0]),e||null},t.prototype.getDefaultTree=function(){return i.prototype.getDefaultTree.call(this),this.defaultTree.data.type=Ge.normaliseType(Rr.COLLECTION),this._parseManifests(this),this._parseCollections(this),Ge.generateTreeNodeIds(this.defaultTree),this.defaultTree},t.prototype._parseManifests=function(e){if(e.getManifests()&&e.getManifests().length)for(var r=0;r<e.getManifests().length;r++){var n=e.getManifests()[r],o=n.getDefaultTree();o.label=n.parentLabel||n.getLabel().getValue(this.options.locale)||"manifest "+(r+1),o.navDate=n.getNavDate(),o.data.id=n.id,o.data.type=Ge.normaliseType(Rr.MANIFEST),e.defaultTree.addNode(o)}},t.prototype._parseCollections=function(e){if(e.getCollections()&&e.getCollections().length)for(var r=0;r<e.getCollections().length;r++){var n=e.getCollections()[r],o=n.getDefaultTree();o.label=n.parentLabel||n.getLabel().getValue(this.options.locale)||"collection "+(r+1),o.navDate=n.getNavDate(),o.data.id=n.id,o.data.type=Ge.normaliseType(Rr.COLLECTION),e.defaultTree.addNode(o)}},t})(Fc),ss=(function(){function i(t,e){this.start=t,this.end=e}return i.prototype.getLength=function(){return this.end-this.start},i})(),jo=(function(){function i(t){this.defaultLocale=t}return i.prototype.parse=function(t){this.resource=t,this.label=sr.parse(this.resource.label,this.defaultLocale),this.value=sr.parse(this.resource.value,this.defaultLocale)},i.prototype.getLabel=function(t){return this.label===null?null:(Array.isArray(t)&&!t.length&&(t=void 0),this.label.getValue(t||this.defaultLocale))},i.prototype.setLabel=function(t){this.label===null&&(this.label=new sr([])),this.label.setValue(t,this.defaultLocale)},i.prototype.getValue=function(t,e){return e===void 0&&(e="<br/>"),this.value===null?null:(Array.isArray(t)&&!t.length&&(t=void 0),this.value.getValue(t||this.defaultLocale,e))},i.prototype.getValues=function(t){return this.value===null?[]:(Array.isArray(t)&&!t.length&&(t=void 0),this.value.getValues(t||this.defaultLocale))},i.prototype.setValue=function(t){this.value===null&&(this.value=new sr([])),this.value.setValue(t,this.defaultLocale)},i})(),bg=(function(){var i=function(t,e){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(r[o]=n[o])},i(t,e)};return function(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");i(t,e);function r(){this.constructor=t}t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}})();(function(i){bg(t,i);function t(){return i!==null&&i.apply(this,arguments)||this}return t.getValue=function(e,r){return e.getValue(r,"<br/>")},t.getValues=function(e,r){return e.getValues(r)},t})(Array);var Re={},ou;function yg(){return ou||(ou=1,Object.defineProperty(Re,"__esModule",{value:!0}),Re.CONTINUE=100,Re.SWITCHING_PROTOCOLS=101,Re.PROCESSING=102,Re.OK=200,Re.CREATED=201,Re.ACCEPTED=202,Re.NON_AUTHORITATIVE_INFORMATION=203,Re.NO_CONTENT=204,Re.RESET_CONTENT=205,Re.PARTIAL_CONTENT=206,Re.MULTI_STATUS=207,Re.MULTIPLE_CHOICES=300,Re.MOVED_PERMANENTLY=301,Re.MOVED_TEMPORARILY=302,Re.SEE_OTHER=303,Re.NOT_MODIFIED=304,Re.USE_PROXY=305,Re.TEMPORARY_REDIRECT=307,Re.BAD_REQUEST=400,Re.UNAUTHORIZED=401,Re.PAYMENT_REQUIRED=402,Re.FORBIDDEN=403,Re.NOT_FOUND=404,Re.METHOD_NOT_ALLOWED=405,Re.NOT_ACCEPTABLE=406,Re.PROXY_AUTHENTICATION_REQUIRED=407,Re.REQUEST_TIME_OUT=408,Re.CONFLICT=409,Re.GONE=410,Re.LENGTH_REQUIRED=411,Re.PRECONDITION_FAILED=412,Re.REQUEST_ENTITY_TOO_LARGE=413,Re.REQUEST_URI_TOO_LARGE=414,Re.UNSUPPORTED_MEDIA_TYPE=415,Re.REQUESTED_RANGE_NOT_SATISFIABLE=416,Re.EXPECTATION_FAILED=417,Re.IM_A_TEAPOT=418,Re.UNPROCESSABLE_ENTITY=422,Re.LOCKED=423,Re.FAILED_DEPENDENCY=424,Re.UNORDERED_COLLECTION=425,Re.UPGRADE_REQUIRED=426,Re.PRECONDITION_REQUIRED=428,Re.TOO_MANY_REQUESTS=429,Re.REQUEST_HEADER_FIELDS_TOO_LARGE=431,Re.INTERNAL_SERVER_ERROR=500,Re.NOT_IMPLEMENTED=501,Re.BAD_GATEWAY=502,Re.SERVICE_UNAVAILABLE=503,Re.GATEWAY_TIME_OUT=504,Re.HTTP_VERSION_NOT_SUPPORTED=505,Re.VARIANT_ALSO_NEGOTIATES=506,Re.INSUFFICIENT_STORAGE=507,Re.BANDWIDTH_LIMIT_EXCEEDED=509,Re.NOT_EXTENDED=510,Re.NETWORK_AUTHENTICATION_REQUIRED=511),Re}var ar=yg();function xg(i,t){return t=t||{},new Promise(function(e,r){var n=new XMLHttpRequest,o=[],a=[],s={},c=function(){return{ok:(n.status/100|0)==2,statusText:n.statusText,status:n.status,url:n.responseURL,text:function(){return Promise.resolve(n.responseText)},json:function(){return Promise.resolve(n.responseText).then(JSON.parse)},blob:function(){return Promise.resolve(new Blob([n.response]))},clone:c,headers:{keys:function(){return o},entries:function(){return a},get:function(u){return s[u.toLowerCase()]},has:function(u){return u.toLowerCase()in s}}}};for(var l in n.open(t.method||"get",i,!0),n.onload=function(){n.getAllResponseHeaders().replace(/^(.*?):[^\S\n]*([\s\S]*?)$/gm,function(u,h,f){o.push(h=h.toLowerCase()),a.push([h,f]),s[h]=s[h]?s[h]+","+f:f}),e(c())},n.onerror=r,n.withCredentials=t.credentials=="include",t.headers)n.setRequestHeader(l,t.headers[l]);n.send(t.body||null)})}const au=q0(Object.freeze(Object.defineProperty({__proto__:null,default:xg},Symbol.toStringTag,{value:"Module"})));var ls,su;function Tg(){return su||(su=1,ls=self.fetch||(self.fetch=au.default||au)),ls}Tg();var cs=function(i,t,e,r){function n(o){return o instanceof e?o:new e(function(a){a(o)})}return new(e||(e=Promise))(function(o,a){function s(u){try{l(r.next(u))}catch(h){a(h)}}function c(u){try{l(r.throw(u))}catch(h){a(h)}}function l(u){u.done?o(u.value):n(u.value).then(s,c)}l((r=r.apply(i,t||[])).next())})},us=function(i,t){var e={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},r,n,o,a=Object.create((typeof Iterator=="function"?Iterator:Object).prototype);return a.next=s(0),a.throw=s(1),a.return=s(2),typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function s(l){return function(u){return c([l,u])}}function c(l){if(r)throw new TypeError("Generator is already executing.");for(;a&&(a=0,l[0]&&(e=0)),e;)try{if(r=1,n&&(o=l[0]&2?n.return:l[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,l[1])).done)return o;switch(n=0,o&&(l=[l[0]&2,o.value]),l[0]){case 0:case 1:o=l;break;case 4:return e.label++,{value:l[1],done:!1};case 5:e.label++,n=l[1],l=[0];continue;case 7:l=e.ops.pop(),e.trys.pop();continue;default:if(o=e.trys,!(o=o.length>0&&o[o.length-1])&&(l[0]===6||l[0]===2)){e=0;continue}if(l[0]===3&&(!o||l[1]>o[0]&&l[1]<o[3])){e.label=l[1];break}if(l[0]===6&&e.label<o[1]){e.label=o[1],o=l;break}if(o&&e.label<o[2]){e.label=o[2],e.ops.push(l);break}o[2]&&e.ops.pop(),e.trys.pop();continue}l=t.call(i,e)}catch(u){l=[6,u],n=0}finally{r=o=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}},Ge=(function(){function i(){}return i.getMediaType=function(t){return t=t.toLowerCase(),t=t.split(";")[0],t.trim()},i.getImageQuality=function(t){return t===ge.ServiceProfile.IMAGE_0_COMPLIANCE_LEVEL_1||t===ge.ServiceProfile.IMAGE_0_COMPLIANCE_LEVEL_2||t===ge.ServiceProfile.IMAGE_1_COMPLIANCE_LEVEL_1||t===ge.ServiceProfile.IMAGE_1_COMPLIANCE_LEVEL_2||t===ge.ServiceProfile.IMAGE_0_CONFORMANCE_LEVEL_1||t===ge.ServiceProfile.IMAGE_0_CONFORMANCE_LEVEL_2||t===ge.ServiceProfile.IMAGE_1_CONFORMANCE_LEVEL_1||t===ge.ServiceProfile.IMAGE_1_CONFORMANCE_LEVEL_2||t===ge.ServiceProfile.IMAGE_1_LEVEL_1||t===ge.ServiceProfile.IMAGE_1_PROFILE_LEVEL_1||t===ge.ServiceProfile.IMAGE_1_LEVEL_2||t===ge.ServiceProfile.IMAGE_1_PROFILE_LEVEL_2?"native":"default"},i.getInexactLocale=function(t){return t.indexOf("-")!==-1?t.substr(0,t.indexOf("-")):t},i.getLocalisedValue=function(t,e){if(!Array.isArray(t))return t;for(var r=0;r<t.length;r++){var n=t[r],o=n["@language"];if(e===o)return n["@value"]}for(var a=e.substr(0,e.indexOf("-")),r=0;r<t.length;r++){var s=t[r],c=s["@language"];if(c===a)return s["@value"]}return null},i.generateTreeNodeIds=function(t,e){e===void 0&&(e=0);var r;t.parentNode?r=t.parentNode.id+"-"+e:r="0",t.id=r;for(var n=0;n<t.nodes.length;n++){var o=t.nodes[n];i.generateTreeNodeIds(o,n)}},i.normaliseType=function(t){if(t=(t||"").toLowerCase(),t.indexOf(":")!==-1){var e=t.split(":");return e[1]}return t},i.normaliseUrl=function(t){return t=t.substr(t.indexOf("://")),t.indexOf("#")!==-1&&(t=t.split("#")[0]),t},i.normalisedUrlsMatch=function(t,e){return i.normaliseUrl(t)===i.normaliseUrl(e)},i.isImageProfile=function(t){return!!(i.normalisedUrlsMatch(t,ge.ServiceProfile.IMAGE_0_COMPLIANCE_LEVEL_0)||i.normalisedUrlsMatch(t,ge.ServiceProfile.IMAGE_0_COMPLIANCE_LEVEL_1)||i.normalisedUrlsMatch(t,ge.ServiceProfile.IMAGE_0_COMPLIANCE_LEVEL_2)||i.normalisedUrlsMatch(t,ge.ServiceProfile.IMAGE_1_COMPLIANCE_LEVEL_0)||i.normalisedUrlsMatch(t,ge.ServiceProfile.IMAGE_1_COMPLIANCE_LEVEL_2)||i.normalisedUrlsMatch(t,ge.ServiceProfile.IMAGE_0_CONFORMANCE_LEVEL_0)||i.normalisedUrlsMatch(t,ge.ServiceProfile.IMAGE_0_CONFORMANCE_LEVEL_1)||i.normalisedUrlsMatch(t,ge.ServiceProfile.IMAGE_0_CONFORMANCE_LEVEL_2)||i.normalisedUrlsMatch(t,ge.ServiceProfile.IMAGE_1_CONFORMANCE_LEVEL_1)||i.normalisedUrlsMatch(t,ge.ServiceProfile.IMAGE_1_CONFORMANCE_LEVEL_2)||i.normalisedUrlsMatch(t,ge.ServiceProfile.IMAGE_1_LEVEL_0)||i.normalisedUrlsMatch(t,ge.ServiceProfile.IMAGE_1_PROFILE_LEVEL_0)||i.normalisedUrlsMatch(t,ge.ServiceProfile.IMAGE_1_LEVEL_1)||i.normalisedUrlsMatch(t,ge.ServiceProfile.IMAGE_1_PROFILE_LEVEL_1)||i.normalisedUrlsMatch(t,ge.ServiceProfile.IMAGE_1_LEVEL_2)||i.normalisedUrlsMatch(t,ge.ServiceProfile.IMAGE_1_PROFILE_LEVEL_2)||i.normalisedUrlsMatch(t,ge.ServiceProfile.IMAGE_2_LEVEL_0)||i.normalisedUrlsMatch(t,ge.ServiceProfile.IMAGE_2_PROFILE_LEVEL_0)||i.normalisedUrlsMatch(t,ge.ServiceProfile.IMAGE_2_LEVEL_1)||i.normalisedUrlsMatch(t,ge.ServiceProfile.IMAGE_2_PROFILE_LEVEL_1)||i.normalisedUrlsMatch(t,ge.ServiceProfile.IMAGE_2_LEVEL_2)||i.normalisedUrlsMatch(t,ge.ServiceProfile.IMAGE_2_PROFILE_LEVEL_2))},i.isImageServiceType=function(t){return t!==null&&t.toLowerCase()===ge.ServiceType.IMAGE_SERVICE_2.toLowerCase()||t===ge.ServiceType.IMAGE_SERVICE_3.toLowerCase()},i.isLevel0ImageProfile=function(t){return!!(i.normalisedUrlsMatch(t,ge.ServiceProfile.IMAGE_0_COMPLIANCE_LEVEL_0)||i.normalisedUrlsMatch(t,ge.ServiceProfile.IMAGE_1_COMPLIANCE_LEVEL_0)||i.normalisedUrlsMatch(t,ge.ServiceProfile.IMAGE_0_CONFORMANCE_LEVEL_0)||i.normalisedUrlsMatch(t,ge.ServiceProfile.IMAGE_1_CONFORMANCE_LEVEL_0)||i.normalisedUrlsMatch(t,ge.ServiceProfile.IMAGE_1_LEVEL_0)||i.normalisedUrlsMatch(t,ge.ServiceProfile.IMAGE_1_PROFILE_LEVEL_0)||i.normalisedUrlsMatch(t,ge.ServiceProfile.IMAGE_2_LEVEL_0)||i.normalisedUrlsMatch(t,ge.ServiceProfile.IMAGE_2_PROFILE_LEVEL_0))},i.isLevel1ImageProfile=function(t){return!!(i.normalisedUrlsMatch(t,ge.ServiceProfile.IMAGE_0_COMPLIANCE_LEVEL_1)||i.normalisedUrlsMatch(t,ge.ServiceProfile.IMAGE_1_COMPLIANCE_LEVEL_1)||i.normalisedUrlsMatch(t,ge.ServiceProfile.IMAGE_0_CONFORMANCE_LEVEL_1)||i.normalisedUrlsMatch(t,ge.ServiceProfile.IMAGE_1_CONFORMANCE_LEVEL_1)||i.normalisedUrlsMatch(t,ge.ServiceProfile.IMAGE_1_LEVEL_1)||i.normalisedUrlsMatch(t,ge.ServiceProfile.IMAGE_1_PROFILE_LEVEL_1)||i.normalisedUrlsMatch(t,ge.ServiceProfile.IMAGE_2_LEVEL_1)||i.normalisedUrlsMatch(t,ge.ServiceProfile.IMAGE_2_PROFILE_LEVEL_1))},i.isLevel2ImageProfile=function(t){return!!(i.normalisedUrlsMatch(t,ge.ServiceProfile.IMAGE_0_COMPLIANCE_LEVEL_2)||i.normalisedUrlsMatch(t,ge.ServiceProfile.IMAGE_1_COMPLIANCE_LEVEL_2)||i.normalisedUrlsMatch(t,ge.ServiceProfile.IMAGE_0_CONFORMANCE_LEVEL_2)||i.normalisedUrlsMatch(t,ge.ServiceProfile.IMAGE_1_CONFORMANCE_LEVEL_2)||i.normalisedUrlsMatch(t,ge.ServiceProfile.IMAGE_1_LEVEL_2)||i.normalisedUrlsMatch(t,ge.ServiceProfile.IMAGE_1_PROFILE_LEVEL_2)||i.normalisedUrlsMatch(t,ge.ServiceProfile.IMAGE_2_LEVEL_2)||i.normalisedUrlsMatch(t,ge.ServiceProfile.IMAGE_2_PROFILE_LEVEL_2))},i.parseManifest=function(t,e){return cu.parse(t,e)},i.checkStatus=function(t){if(t.ok)return t;var e=new Error(t.statusText);return e.response=t,Promise.reject(e)},i.loadManifest=function(t){return new Promise(function(e,r){fetch(t).then(i.checkStatus).then(function(n){return n.json()}).then(function(n){e(n)}).catch(function(n){r()})})},i.loadExternalResourcesAuth1=function(t,e,r,n,o,a,s,c){return new Promise(function(l,u){var h=t.map(function(f){return i.loadExternalResourceAuth1(f,e,r,n,o,a,s,c)});Promise.all(h).then(function(){l(t)}).catch(function(f){u(f)})})},i.loadExternalResourceAuth1=function(t,e,r,n,o,a,s,c){return cs(this,void 0,void 0,function(){var l;return us(this,function(u){switch(u.label){case 0:return[4,n(t)];case 1:return l=u.sent(),l?[4,t.getData(l)]:[3,6];case 2:return u.sent(),t.status!==ar.OK?[3,3]:[2,t];case 3:return[4,i.doAuthChain(t,e,r,o,a,s,c)];case 4:u.sent(),u.label=5;case 5:if(t.status===ar.OK||t.status===ar.MOVED_TEMPORARILY)return[2,t];throw i.createAuthorizationFailedError();case 6:return[4,t.getData()];case 7:return u.sent(),t.status===ar.MOVED_TEMPORARILY||t.status===ar.UNAUTHORIZED?[4,i.doAuthChain(t,e,r,o,a,s,c)]:[3,9];case 8:u.sent(),u.label=9;case 9:if(t.status===ar.OK||t.status===ar.MOVED_TEMPORARILY)return[2,t];throw i.createAuthorizationFailedError()}})})},i.doAuthChain=function(t,e,r,n,o,a,s){return cs(this,void 0,void 0,function(){var c,l,u,h,f,v,_,d,d;return us(this,function(g){switch(g.label){case 0:return t.isAccessControlled()?(c=t.externalService,c&&(c.options=t.options),l=t.kioskService,l&&(l.options=t.options),u=t.clickThroughService,u&&(u.options=t.options),h=t.loginService,h&&(h.options=t.options),!t.isResponseHandled&&t.status===ar.MOVED_TEMPORARILY?[4,a(t)]:[3,2]):[2,t];case 1:return g.sent(),[2,t];case 2:return f=null,v=null,f=c,f?(v=f,[4,i.attemptResourceWithToken(t,r,f)]):[3,4];case 3:return g.sent(),[2,t];case 4:return f=l,f?(v=f,_=e(f),_?[4,n(_)]:[3,7]):[3,7];case 5:return g.sent(),[4,i.attemptResourceWithToken(t,r,f)];case 6:return g.sent(),[2,t];case 7:return f=u,f?(v=f,[4,o(t,f)]):[3,11];case 8:return d=g.sent(),d?[4,n(d)]:[3,11];case 9:return g.sent(),[4,i.attemptResourceWithToken(t,r,f)];case 10:return g.sent(),[2,t];case 11:return f=h,f?(v=f,[4,o(t,f)]):[3,15];case 12:return d=g.sent(),d?[4,n(d)]:[3,15];case 13:return g.sent(),[4,i.attemptResourceWithToken(t,r,f)];case 14:return g.sent(),[2,t];case 15:return v&&s(t,v),[2]}})})},i.attemptResourceWithToken=function(t,e,r){return cs(this,void 0,void 0,function(){var n,o;return us(this,function(a){switch(a.label){case 0:return n=r.getService(ge.ServiceProfile.AUTH_1_TOKEN),n?[4,e(t,n)]:[3,3];case 1:return o=a.sent(),o&&o.accessToken?[4,t.getData(o)]:[3,3];case 2:return a.sent(),[2,t];case 3:return[2]}})})},i.loadExternalResourcesAuth09=function(t,e,r,n,o,a,s,c,l,u){return new Promise(function(h,f){var v=t.map(function(_){return i.loadExternalResourceAuth09(_,e,r,n,o,a,s,c,l,u)});Promise.all(v).then(function(){h(t)}).catch(function(_){f(_)})})},i.loadExternalResourceAuth09=function(t,e,r,n,o,a,s,c,l,u){return new Promise(function(h,f){u&&u.pessimisticAccessControl?t.getData().then(function(){t.isAccessControlled()?t.clickThroughService?(h(r(t)),h(n(t))):o(t).then(function(){a(t,!0).then(function(v){t.getData(v).then(function(){h(l(t))}).catch(function(_){f(i.createInternalServerError(_))})}).catch(function(v){f(i.createInternalServerError(v))})}).catch(function(v){f(i.createInternalServerError(v))}):h(t)}).catch(function(v){f(i.createInternalServerError(v))}):c(t,e).then(function(v){v?t.getData(v).then(function(){t.status===ar.OK?h(l(t)):i.authorize(t,e,r,n,o,a,s,c).then(function(){h(l(t))}).catch(function(_){f(i.createAuthorizationFailedError())})}).catch(function(_){f(i.createAuthorizationFailedError())}):i.authorize(t,e,r,n,o,a,s,c).then(function(){h(l(t))}).catch(function(_){f(i.createAuthorizationFailedError())})}).catch(function(v){f(i.createAuthorizationFailedError())})})},i.createError=function(t,e){var r=new Error;return r.message=e,r.name=String(t),r},i.createAuthorizationFailedError=function(){return i.createError(wn.AUTHORIZATION_FAILED,"Authorization failed")},i.createRestrictedError=function(){return i.createError(wn.RESTRICTED,"Restricted")},i.createInternalServerError=function(t){return i.createError(wn.INTERNAL_SERVER_ERROR,t)},i.authorize=function(t,e,r,n,o,a,s,c){return new Promise(function(l,u){t.getData().then(function(){t.isAccessControlled()?c(t,e).then(function(h){h?t.getData(h).then(function(){t.status===ar.OK?l(t):i.showAuthInteraction(t,e,r,n,o,a,s,l,u)}).catch(function(f){u(i.createInternalServerError(f))}):a(t,!1).then(function(f){f?s(t,f,e).then(function(){t.getData(f).then(function(){t.status===ar.OK?l(t):i.showAuthInteraction(t,e,r,n,o,a,s,l,u)}).catch(function(v){u(i.createInternalServerError(v))})}).catch(function(v){u(i.createInternalServerError(v))}):i.showAuthInteraction(t,e,r,n,o,a,s,l,u)})}).catch(function(h){u(i.createInternalServerError(h))}):l(t)})})},i.showAuthInteraction=function(t,e,r,n,o,a,s,c,l){t.status===ar.MOVED_TEMPORARILY&&!t.isResponseHandled?c(t):t.clickThroughService&&!t.isResponseHandled?r(t).then(function(){a(t,!0).then(function(u){s(t,u,e).then(function(){t.getData(u).then(function(){c(t)}).catch(function(h){l(i.createInternalServerError(h))})}).catch(function(h){l(i.createInternalServerError(h))})}).catch(function(u){l(i.createInternalServerError(u))})}):o(t).then(function(){a(t,!0).then(function(u){s(t,u,e).then(function(){t.getData(u).then(function(){c(t)}).catch(function(h){l(i.createInternalServerError(h))})}).catch(function(h){l(i.createInternalServerError(h))})}).catch(function(u){l(i.createInternalServerError(u))})})},i.getService=function(t,e){for(var r=this.getServices(t),n=0;n<r.length;n++){var o=r[n];if(o.getProfile()===e)return o}return null},i.getResourceById=function(t,e){return i.traverseAndFind(t.__jsonld,"@id",e)},i.traverseAndFind=function(t,e,r){if(t.hasOwnProperty(e)&&t[e]===r)return t;for(var n=0;n<Object.keys(t).length;n++)if(typeof t[Object.keys(t)[n]]=="object"){var o=i.traverseAndFind(t[Object.keys(t)[n]],e,r);if(o!=null)return o}},i.getServices=function(t,e){var r=e===void 0?{}:e,n=r.onlyService,o=n===void 0?!1:n,a=r.onlyServices,s=a===void 0?!1:a,c=r.skipParentResources,l=c===void 0?!1:c,u=[];!l&&t&&t.options&&t.options.resource&&t.options.resource!==t&&u.push.apply(u,i.getServices(t.options.resource,{onlyServices:!0}));var h=s?[]:(t.__jsonld||t).service||[];if(Array.isArray(h)||(h=[h]),o||h.push.apply(h,(t.__jsonld||t).services||[]),h.length===0)return u;for(var f=0;f<h.length;f++){var v=h[f];if(typeof v=="string"){var _=this.getResourceById(t.options.resource,v);_&&u.push(new uu(_.__jsonld||_,t.options))}else u.push(new uu(v,t.options))}return u},i.getTemporalComponent=function(t){var e=/t=([^&]+)/g.exec(t),r=null;return e&&e[1]&&(r=e[1].split(",")),r},i})(),Eg=(function(){var i=function(t,e){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(r[o]=n[o])},i(t,e)};return function(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");i(t,e);function r(){this.constructor=t}t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}})(),Ui=(function(){function i(t,e,r){r===void 0&&(r="none"),Array.isArray(t)&&t.length===1?this._value=t[0]:this._value=t,(e==="none"||e==="@none")&&(e=void 0),this._locale=e,this._defaultLocale=r}return i.parseV2Value=function(t,e){return typeof t=="string"?new i(t,void 0,e):t["@value"]?new i(t["@value"],t["@language"],e):null},Object.defineProperty(i.prototype,"value",{get:function(){return Array.isArray(this._value)?this._value.join("<br/>"):this._value},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"locale",{get:function(){return this._locale===void 0?this._defaultLocale:this._locale},enumerable:!1,configurable:!0}),i.prototype.addValue=function(t){Array.isArray(this._value)||(this._value=[this._value]),Array.isArray(t)?this._value=this._value.concat(t):this._value.push(t)},i})(),sr=(function(i){Eg(t,i);function t(e,r){e===void 0&&(e=[]);var n=i.apply(this,e)||this;return n.__proto__=t.prototype,n._defaultLocale=r,n}return t.parse=function(e,r){if(!e)return new t([],r);if(Array.isArray(e)){var n=e.map(function(a){return Ui.parseV2Value(a,r)}).filter(function(a){return a!==null}),o=n.reduce(function(a,s){var c=s._locale;return c||(c="none"),a[c]?a[c].addValue(s._value):a[c]=s,a},{});return new t(Object.values(o),r)}else{if(typeof e=="string")return new t([new Ui(e,void 0,r)],r);if(e["@language"]){var n=Ui.parseV2Value(e);return new t(n!==null?[n]:[],r)}else if(e["@value"]){var n=Ui.parseV2Value(e);return new t(n!==null?[n]:[],r)}else return new t(Object.keys(e).map(function(a){var s=e[a];if(!Array.isArray(s))throw new Error("A IIIF v3 localized property value must have an array as the value for a given language.");return new Ui(s,a,r)}),r)}},t.prototype.getSuitableLocale=function(e){for(var r=Array.from(this.values()).map(function(v){return v._locale}).filter(function(v){return v!==void 0}),n=function(v){var _=r.find(function(d){return d===v});if(_)return{value:_}},o=0,a=e;o<a.length;o++){var s=a[o],c=n(s);if(typeof c=="object")return c.value}for(var l=function(v){var _=r.find(function(d){return Ge.getInexactLocale(d)===Ge.getInexactLocale(v)});if(_)return{value:_}},u=0,h=e;u<h.length;u++){var s=h[u],f=l(s);if(typeof f=="object")return f.value}},t.prototype.setValue=function(e,r){var n=void 0;if(!r)n=this.find(function(a){return a._locale===void 0});else{var o=this.getSuitableLocale([r]);o&&(n=this.find(function(a){return a._locale===o}))}n?n._value=e:this.push(new Ui(e,r,this._defaultLocale))},t.prototype.getValue=function(e,r){var n=this.getValues(e);return n.length===0?null:r?n.join(r):n[0]},t.prototype.getValues=function(e){if(!this.length)return[];var r;if(e?Array.isArray(e)?r=e:r=[e]:r=[],this.length===1&&this[0]._locale===void 0){var n=this[0]._value;return Array.isArray(n)?n:[n]}var o=this.getSuitableLocale(r);if(o){var n=this.find(function(l){return l._locale===o})._value;return Array.isArray(n)?n:[n]}var a=!this.find(function(c){return c._locale===void 0});if(a){var n=this[0]._value;return Array.isArray(n)?n:[n]}var s=this.find(function(c){return c._locale===void 0});return s?Array.isArray(s._value)?s._value:[s._value]:[]},t})(Array),kg=(function(){var i=function(t,e){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(r[o]=n[o])},i(t,e)};return function(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");i(t,e);function r(){this.constructor=t}t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}})(),Sg=(function(i){kg(t,i);function t(e,r){var n=i.call(this,e,r)||this;if(n.index=0,n._allRanges=null,n.items=[],n._topRanges=[],n.__jsonld.structures&&n.__jsonld.structures.length)for(var o=n._getTopRanges(),a=0;a<o.length;a++){var s=o[a];n._parseRanges(s,String(a))}return n}return t.prototype.getPosterCanvas=function(){var e=this.getProperty("posterCanvas");return e&&(e=new Vo(e,this.options)),e},t.prototype.getAccompanyingCanvas=function(){var e=this.getProperty("accompanyingCanvas");return e&&(e=new Vo(e,this.options)),e},t.prototype.getBehavior=function(){var e=this.getProperty("behavior");return Array.isArray(e)&&(e=e[0]),e||null},t.prototype.getDefaultTree=function(){if(i.prototype.getDefaultTree.call(this),this.defaultTree.data.type=Ge.normaliseType(Rr.MANIFEST),!this.isLoaded)return this.defaultTree;var e=this.getTopRanges();return e.length&&e[0].getTree(this.defaultTree),Ge.generateTreeNodeIds(this.defaultTree),this.defaultTree},t.prototype._getTopRanges=function(){var e=[];if(this.__jsonld.structures&&this.__jsonld.structures.length){for(var r=0;r<this.__jsonld.structures.length;r++){var n=this.__jsonld.structures[r];n.viewingHint===ge.ViewingHint.TOP&&e.push(n)}if(!e.length){var o={};o.ranges=this.__jsonld.structures,e.push(o)}}return e},t.prototype.getTopRanges=function(){return this._topRanges},t.prototype._getRangeById=function(e){if(this.__jsonld.structures&&this.__jsonld.structures.length)for(var r=0;r<this.__jsonld.structures.length;r++){var n=this.__jsonld.structures[r];if(n["@id"]===e||n.id===e)return n}return null},t.prototype._parseRanges=function(e,r,n){var o=null;if(typeof e=="string"&&(o=e,e=this._getRangeById(o)),!e){console.warn("Range:",o,"does not exist");return}var a=new Pg(e,this.options);a.parentRange=n,a.path=r,n?n.items.push(a):this._topRanges.push(a);var s=e.items||e.members;if(s)for(var c=0;c<s.length;c++){var l=s[c];if(l["@type"]&&l["@type"].toLowerCase()==="sc:range"||l.type&&l.type.toLowerCase()==="range")this._parseRanges(l,r+"/"+c,a);else if(l["@type"]&&l["@type"].toLowerCase()==="sc:canvas"||l.type&&l.type.toLowerCase()==="canvas"){a.canvases||(a.canvases=[]);var u=l.id||l["@id"];a.canvases.push(u)}}else if(e.ranges)for(var c=0;c<e.ranges.length;c++)this._parseRanges(e.ranges[c],r+"/"+c,a)},t.prototype.getAllRanges=function(){if(this._allRanges!=null)return this._allRanges;this._allRanges=[];for(var e=this.getTopRanges(),r=function(a){var s=e[a];s.id&&n._allRanges.push(s);var c=function(u,h){u.add(h);var f=h.getRanges();return f.length?f.reduce(c,u):u},l=Array.from(s.getRanges().reduce(c,new Set));n._allRanges=n._allRanges.concat(l)},n=this,o=0;o<e.length;o++)r(o);return this._allRanges},t.prototype.getRangeById=function(e){for(var r=this.getAllRanges(),n=0;n<r.length;n++){var o=r[n];if(o.id===e)return o}return null},t.prototype.getRangeByPath=function(e){for(var r=this.getAllRanges(),n=0;n<r.length;n++){var o=r[n];if(o.path===e)return o}return null},t.prototype.getSequences=function(){if(this.items.length)return this.items;var e=this.__jsonld.mediaSequences||this.__jsonld.sequences;if(e)for(var r=0;r<e.length;r++){var n=e[r],o=new lu(n,this.options);this.items.push(o)}else if(this.__jsonld.items){var o=new lu(this.__jsonld.items,this.options);this.items.push(o)}return this.items},t.prototype.getSequenceByIndex=function(e){return this.getSequences()[e]},t.prototype.getTotalSequences=function(){return this.getSequences().length},t.prototype.getManifestType=function(){var e=this.getService(ge.ServiceProfile.UI_EXTENSIONS);return e?e.getProperty("manifestType"):hs.EMPTY},t.prototype.isMultiSequence=function(){return this.getTotalSequences()>1},t.prototype.isPagingEnabled=function(){var e=this.getViewingHint();if(e)return e===ge.ViewingHint.PAGED;var r=this.getBehavior();return r?r===ge.Behavior.PAGED:!1},t.prototype.getViewingDirection=function(){return this.getProperty("viewingDirection")},t.prototype.getViewingHint=function(){var e=this.getProperty("viewingHint");return Array.isArray(e)&&(e=e[0]),e||null},t})(Fc),hs;(function(i){i.EMPTY="",i.MANUSCRIPT="manuscript",i.MONOGRAPH="monograph"})(hs||(hs={}));var Cg=(function(){var i=function(t,e){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(r[o]=n[o])},i(t,e)};return function(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");i(t,e);function r(){this.constructor=t}t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}})(),Pg=(function(i){Cg(t,i);function t(e,r){var n=i.call(this,e,r)||this;return n._ranges=null,n.canvases=null,n.items=[],n}return t.prototype.getCanvasIds=function(){return this.__jsonld.canvases?this.__jsonld.canvases:this.canvases?this.canvases:[]},t.prototype.getDuration=function(){if(this.canvases&&this.canvases.length){for(var e=[],r=[],n=0,o=this.canvases;n<o.length;n++){var a=o[n];if(a){var s=a.match(/(.*)#t=([0-9.]+),?([0-9.]+)?/)||[void 0,a],c=s[1],l=s[2],u=s[3];c&&(e.push(parseFloat(l)),r.push(parseFloat(u)))}}if(e.length&&r.length)return new ss(Math.min.apply(Math,e),Math.max.apply(Math,r))}else{for(var h=this.getRanges(),e=[],r=[],f=0,v=h;f<v.length;f++){var _=v[f],d=_.getDuration();d&&(e.push(d.start),r.push(d.end))}if(e.length&&r.length)return new ss(Math.min.apply(Math,e),Math.max.apply(Math,r))}var g,b;if(this.canvases&&this.canvases.length)for(var S=0;S<this.canvases.length;S++){var a=this.canvases[S],P=Ge.getTemporalComponent(a);P&&P.length>1&&(S===0&&(g=Number(P[0])),S===this.canvases.length-1&&(b=Number(P[1])))}else for(var h=this.getRanges(),S=0;S<h.length;S++){var _=h[S],d=_.getDuration();d&&(S===0&&(g=d.start),S===h.length-1&&(b=d.end))}if(g!==void 0&&b!==void 0)return new ss(g,b)},t.prototype.getRanges=function(){return this._ranges?this._ranges:this._ranges=this.items.filter(function(e){return e.isRange()})},t.prototype.getBehavior=function(){var e=this.getProperty("behavior");return Array.isArray(e)&&(e=e[0]),e||null},t.prototype.getViewingDirection=function(){return this.getProperty("viewingDirection")},t.prototype.getViewingHint=function(){var e=this.getProperty("viewingHint");return Array.isArray(e)&&(e=e[0]),e||null},t.prototype.getTree=function(e){e.data=this,this.treeNode=e;var r=this.getRanges();if(r&&r.length)for(var n=0;n<r.length;n++){var o=r[n],a=new ds;e.addNode(a),this._parseTreeNode(a,o)}return Ge.generateTreeNodeIds(e),e},t.prototype.spansTime=function(e){var r=this.getDuration();return!!(r&&e>=r.start&&e<=r.end)},t.prototype._parseTreeNode=function(e,r){e.label=r.getLabel().getValue(this.options.locale),e.data=r,e.data.type=Ge.normaliseType(Rr.RANGE),r.treeNode=e;var n=r.getRanges();if(n&&n.length)for(var o=0;o<n.length;o++){var a=n[o],s=a.getBehavior();if(s!==ge.Behavior.NO_NAV){var c=new ds;e.addNode(c),this._parseTreeNode(c,a)}}},t})(Br),Ag=(function(){var i=function(t,e){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(r[o]=n[o])},i(t,e)};return function(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");i(t,e);function r(){this.constructor=t}t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}})(),Rg=(function(i){Ag(t,i);function t(e,r){return i.call(this,e,r)||this}return t.prototype.getFormat=function(){return this.getProperty("format")},t})(Br),Ig=(function(){var i=function(t,e){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(r[o]=n[o])},i(t,e)};return function(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");i(t,e);function r(){this.constructor=t}t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}})(),lu=(function(i){Ig(t,i);function t(e,r){var n=i.call(this,e,r)||this;return n.items=[],n._thumbnails=null,n}return t.prototype.getCanvases=function(){if(this.items.length)return this.items;var e=this.__jsonld.canvases||this.__jsonld.elements;if(e)for(var r=0;r<e.length;r++){var n=e[r],o=new Vo(n,this.options);o.index=r,this.items.push(o)}else if(this.__jsonld)for(var r=0;r<this.__jsonld.length;r++){var n=this.__jsonld[r],o=new Vo(n,this.options);o.index=r,this.items.push(o)}return this.items},t.prototype.getCanvasById=function(e){for(var r=0;r<this.getTotalCanvases();r++){var n=this.getCanvasByIndex(r),o=Ge.normaliseUrl(n.id);if(Ge.normaliseUrl(e)===o)return n}return null},t.prototype.getCanvasByIndex=function(e){return this.getCanvases()[e]},t.prototype.getCanvasIndexById=function(e){for(var r=0;r<this.getTotalCanvases();r++){var n=this.getCanvasByIndex(r);if(n.id===e)return r}return null},t.prototype.getCanvasIndexByLabel=function(e,r){e=e.trim(),isNaN(e)||(e=parseInt(e,10).toString(),r&&(e+="r"));for(var n=/(\d*)\D+(\d*)/,o,a,s,c,l,u=0;u<this.getTotalCanvases();u++){var h=this.getCanvasByIndex(u);if(h.getLabel().getValue(this.options.locale)===e)return u;if(o=n.exec(e),!!o&&(c=o[1],l=o[2],!!l&&(s="^"+c+"\\D+"+l+"$",a=new RegExp(s),a.test(h.getLabel().toString()))))return u}return-1},t.prototype.getLastCanvasLabel=function(e){for(var r=this.getTotalCanvases()-1;r>=0;r--){var n=this.getCanvasByIndex(r),o=n.getLabel().getValue(this.options.locale);if(e){var a=/^[a-zA-Z0-9]*$/;if(a.test(o))return o}else if(o)return o}return this.options.defaultLabel},t.prototype.getLastPageIndex=function(){return this.getTotalCanvases()-1},t.prototype.getNextPageIndex=function(e,r){var n;if(r){var o=this.getPagedIndices(e),a=this.getViewingDirection();a&&a===ge.ViewingDirection.RIGHT_TO_LEFT?n=o[0]+1:n=o[o.length-1]+1}else n=e+1;return n>this.getLastPageIndex()?-1:n},t.prototype.getPagedIndices=function(e,r){var n=[];if(!r)n.push(e);else{this.isFirstCanvas(e)||this.isLastCanvas(e)?n=[e]:e%2?n=[e,e+1]:n=[e-1,e];var o=this.getViewingDirection();o&&o===ge.ViewingDirection.RIGHT_TO_LEFT&&(n=n.reverse())}return n},t.prototype.getPrevPageIndex=function(e,r){var n;if(r){var o=this.getPagedIndices(e),a=this.getViewingDirection();a&&a===ge.ViewingDirection.RIGHT_TO_LEFT?n=o[o.length-1]-1:n=o[0]-1}else n=e-1;return n},t.prototype.getStartCanvasIndex=function(){var e=this.getStartCanvas();if(e)for(var r=0;r<this.getTotalCanvases();r++){var n=this.getCanvasByIndex(r);if(n.id===e)return r}return 0},t.prototype.getThumbs=function(e,r){for(var n=[],o=this.getTotalCanvases(),a=0;a<o;a++){var s=this.getCanvasByIndex(a),c=new Dg(e,s);n.push(c)}return n},t.prototype.getThumbnails=function(){if(this._thumbnails!=null)return this._thumbnails;this._thumbnails=[];for(var e=this.getCanvases(),r=0;r<e.length;r++){var n=e[r].getThumbnail();n&&this._thumbnails.push(n)}return this._thumbnails},t.prototype.getStartCanvas=function(){return this.getProperty("startCanvas")},t.prototype.getTotalCanvases=function(){return this.getCanvases().length},t.prototype.getViewingDirection=function(){return this.getProperty("viewingDirection")?this.getProperty("viewingDirection"):this.options.resource.getViewingDirection?this.options.resource.getViewingDirection():null},t.prototype.getViewingHint=function(){var e=this.getProperty("viewingHint");return Array.isArray(e)&&(e=e[0]),e||null},t.prototype.isCanvasIndexOutOfRange=function(e){return e>this.getTotalCanvases()-1},t.prototype.isFirstCanvas=function(e){return e===0},t.prototype.isLastCanvas=function(e){return e===this.getTotalCanvases()-1},t.prototype.isMultiCanvas=function(){return this.getTotalCanvases()>1},t.prototype.isPagingEnabled=function(){var e=this.getViewingHint();return e?e===ge.ViewingHint.PAGED:!1},t.prototype.isTotalCanvasesEven=function(){return this.getTotalCanvases()%2===0},t})(Br),cu=(function(){function i(){}return i.parse=function(t,e){return typeof t=="string"&&(t=JSON.parse(t)),this.parseJson(t,e)},i.parseJson=function(t,e){var r;if(e&&e.navDate&&!isNaN(e.navDate.getTime())&&(t.navDate=e.navDate.toString()),t["@type"])switch(t["@type"]){case"sc:Collection":r=this.parseCollection(t,e);break;case"sc:Manifest":r=this.parseManifest(t,e);break;default:return null}else switch(t.type){case"Collection":r=this.parseCollection(t,e);break;case"Manifest":r=this.parseManifest(t,e);break;default:return null}return r.isLoaded=!0,r},i.parseCollection=function(t,e){var r=new wg(t,e);return e?(r.index=e.index||0,e.resource&&(r.parentCollection=e.resource.parentCollection)):r.index=0,this.parseCollections(r,e),this.parseManifests(r,e),this.parseItems(r,e),r},i.parseCollections=function(t,e){var r;if(t.__jsonld.collections?r=t.__jsonld.collections:t.__jsonld.items&&(r=t.__jsonld.items.filter(function(a){return a.type.toLowerCase()==="collection"})),r)for(var n=0;n<r.length;n++){e&&(e.index=n);var o=this.parseCollection(r[n],e);o.index=n,o.parentCollection=t,t.items.push(o)}},i.parseManifest=function(t,e){var r=new Sg(t,e);return r},i.parseManifests=function(t,e){var r;if(t.__jsonld.manifests?r=t.__jsonld.manifests:t.__jsonld.items&&(r=t.__jsonld.items.filter(function(a){return a.type.toLowerCase()==="manifest"})),r)for(var n=0;n<r.length;n++){var o=this.parseManifest(r[n],e);o.index=n,o.parentCollection=t,t.items.push(o)}},i.parseItem=function(t,e){if(t["@type"]){if(t["@type"].toLowerCase()==="sc:manifest")return this.parseManifest(t,e);if(t["@type"].toLowerCase()==="sc:collection")return this.parseCollection(t,e)}else if(t.type){if(t.type.toLowerCase()==="manifest")return this.parseManifest(t,e);if(t.type.toLowerCase()==="collection")return this.parseCollection(t,e)}return null},i.parseItems=function(t,e){var r=t.__jsonld.members||t.__jsonld.items;if(r)for(var n=function(c){e&&(e.index=c);var l=o.parseItem(r[c],e);if(!l)return{value:void 0};if(t.items.filter(function(u){return u.id===l.id})[0])return"continue";l.index=c,l.parentCollection=t,t.items.push(l)},o=this,a=0;a<r.length;a++){var s=n(a);if(typeof s=="object")return s.value}},i})(),Og=(function(){var i=function(t,e){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(r[o]=n[o])},i(t,e)};return function(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");i(t,e);function r(){this.constructor=t}t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}})(),uu=(function(i){Og(t,i);function t(e,r){return i.call(this,e,r)||this}return t.prototype.getProfile=function(){var e=this.getProperty("profile");return e||(e=this.getProperty("dcterms:conformsTo")),Array.isArray(e)?e[0]:e},t.prototype.getConfirmLabel=function(){return Ge.getLocalisedValue(this.getProperty("confirmLabel"),this.options.locale)},t.prototype.getDescription=function(){return Ge.getLocalisedValue(this.getProperty("description"),this.options.locale)},t.prototype.getFailureDescription=function(){return Ge.getLocalisedValue(this.getProperty("failureDescription"),this.options.locale)},t.prototype.getFailureHeader=function(){return Ge.getLocalisedValue(this.getProperty("failureHeader"),this.options.locale)},t.prototype.getHeader=function(){return Ge.getLocalisedValue(this.getProperty("header"),this.options.locale)},t.prototype.getServiceLabel=function(){return Ge.getLocalisedValue(this.getProperty("label"),this.options.locale)},t.prototype.getInfoUri=function(){var e=this.id;return e.endsWith("/")||(e+="/"),e+="info.json",e},t})(Br),Mg=(function(){function i(t,e){this.width=t,this.height=e}return i})(),wn;(function(i){i[i.AUTHORIZATION_FAILED=1]="AUTHORIZATION_FAILED",i[i.FORBIDDEN=2]="FORBIDDEN",i[i.INTERNAL_SERVER_ERROR=3]="INTERNAL_SERVER_ERROR",i[i.RESTRICTED=4]="RESTRICTED"})(wn||(wn={}));var Dg=(function(){function i(t,e){this.data=e,this.index=e.index,this.width=t;var r=e.getHeight()/e.getWidth();r?this.height=Math.floor(this.width*r):this.height=t,this.uri=e.getCanonicalImageUri(t),this.label=e.getLabel().getValue(),this.viewingHint=e.getViewingHint()}return i})(),Lg=(function(){var i=function(t,e){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(r[o]=n[o])},i(t,e)};return function(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");i(t,e);function r(){this.constructor=t}t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}})(),zg=(function(i){Lg(t,i);function t(e,r){return i.call(this,e,r)||this}return t})(Ua),ds=(function(){function i(t,e){this.label=t,this.data=e||{},this.nodes=[]}return i.prototype.addNode=function(t){this.nodes.push(t),t.parentNode=this},i.prototype.isCollection=function(){return this.data.type===Ge.normaliseType(Rr.COLLECTION)},i.prototype.isManifest=function(){return this.data.type===Ge.normaliseType(Rr.MANIFEST)},i.prototype.isRange=function(){return this.data.type===Ge.normaliseType(Rr.RANGE)},i})(),Rr;(function(i){i.COLLECTION="collection",i.MANIFEST="manifest",i.RANGE="range"})(Rr||(Rr={}));var Hg=function(i,t){return Ge.parseManifest(i,t)};class Ng{constructor(){we(this,Cn,Ae(wt({})));nt(this,"userAnnotations",new _n)}get manifests(){return p(R(this,Cn))}set manifests(t){be(R(this,Cn),t,!0)}userAnnotationKey(t,e){return`${t}::${e}`}setUserAnnotations(t,e,r){const n=this.userAnnotationKey(t,e);this.userAnnotations.set(n,r)}clearUserAnnotations(t,e){const r=this.userAnnotationKey(t,e);this.userAnnotations.has(r)&&this.userAnnotations.delete(r)}getUserAnnotations(t,e){const r=this.userAnnotationKey(t,e);return this.userAnnotations.get(r)??[]}async fetchManifest(t){if(!this.manifests[t]){this.manifests[t]={isFetching:!0};try{const e=await fetch(t);if(!e.ok)throw new Error(`HTTP error! status: ${e.status}`);const r=await e.json(),n=Hg(r);this.manifests[t]={json:r,manifesto:n,isFetching:!1}}catch(e){this.manifests[t]={error:e.message,isFetching:!1}}}}getManifest(t){const e=this.manifests[t];return e==null?void 0:e.manifesto}getManifestEntry(t){return this.manifests[t]}async fetchAnnotationList(t){if(!this.manifests[t])try{const e=await fetch(t);if(e.ok){const r=await e.json();this.manifests[t]={json:r}}else console.error(`Failed to fetch annotation list: ${t}`)}catch(e){console.error(`Error fetching annotation list: ${t}`,e)}}getCanvases(t){const e=this.getManifest(t);if(!e)return[];const r=e.getSequences();return!r||!r.length?[]:r[0].getCanvases()}getAnnotations(t,e){const r=this.manualGetAnnotations(t,e),n=this.getUserAnnotations(t,e);return[...r,...n]}manualGetAnnotations(t,e){const r=this.getManifest(t);if(!r)return[];const n=r.getSequences()[0].getCanvasById(e);if(!n)return[];const o=n.__jsonld,a=[],s=c=>c.resources||c.items||[];return o.otherContent&&o.otherContent.forEach(c=>{const l=c["@id"]||c.id;if(l&&!c.resources){const u=this.manifests[l];if(u){if(u.json){const h=s(u.json);a.push(...h)}}else this.fetchAnnotationList(l)}else c.resources&&a.push(...c.resources)}),o.annotations&&o.annotations.forEach(c=>{const l=c.id||c["@id"];if(l&&!c.items){const u=this.manifests[l];if(u){if(u.json){const h=s(u.json);a.push(...h)}}else this.fetchAnnotationList(l)}else c.items&&a.push(...c.items)}),a}}Cn=new WeakMap;const $r=new Ng;class Fg{constructor(t=null,e=null,r=[]){we(this,Pn,Ae(null));we(this,An,Ae(null));we(this,Rn,Ae(!1));we(this,In,Ae(!1));we(this,On,Ae(!1));we(this,Mn,Ae(!1));we(this,Dn,Ae(!1));we(this,Ln,Ae(!1));we(this,zn,Ae(!1));we(this,Hn,Ae("bottom"));nt(this,"visibleAnnotationIds",new Ho);we(this,Nn,Ae(wt({})));we(this,Fn,Ae(0));we(this,Bn,Ae(wt({x:20,y:100})));we(this,Vn,Ae(wt({width:300,height:400})));we(this,jn,Ae(!1));we(this,Un,Ae(wt({x:0,y:0})));we(this,Gn,Ae(null));we(this,Zn,Ae(null));nt(this,"eventTarget",null);nt(this,"viewerElement",null);we(this,Wn,Ae(""));we(this,qn,Ae(null));we(this,Xn,Ae(wt([])));we(this,Yn,Ae(!1));we(this,Kn,Ae(!1));we(this,Qn,Ae(wt([])));we(this,Jn,Ae(wt([])));we(this,$n,Ae(wt([])));we(this,eo,Ae(null));nt(this,"pluginEventHandlers",new _n);this.manifestId=t||null,this.canvasId=e||null,this.manifestId&&$r.fetchManifest(this.manifestId);for(const n of r)this.registerPlugin(n)}get manifestId(){return p(R(this,Pn))}set manifestId(t){be(R(this,Pn),t,!0)}get canvasId(){return p(R(this,An))}set canvasId(t){be(R(this,An),t,!0)}get showAnnotations(){return p(R(this,Rn))}set showAnnotations(t){be(R(this,Rn),t,!0)}get showThumbnailGallery(){return p(R(this,In))}set showThumbnailGallery(t){be(R(this,In),t,!0)}get toolbarOpen(){return p(R(this,On))}set toolbarOpen(t){be(R(this,On),t,!0)}get isGalleryDockedBottom(){return p(R(this,Mn))}set isGalleryDockedBottom(t){be(R(this,Mn),t,!0)}get isGalleryDockedRight(){return p(R(this,Dn))}set isGalleryDockedRight(t){be(R(this,Dn),t,!0)}get isFullScreen(){return p(R(this,Ln))}set isFullScreen(t){be(R(this,Ln),t,!0)}get showMetadataDialog(){return p(R(this,zn))}set showMetadataDialog(t){be(R(this,zn),t,!0)}get dockSide(){return p(R(this,Hn))}set dockSide(t){be(R(this,Hn),t,!0)}get config(){return p(R(this,Nn))}set config(t){be(R(this,Nn),t,!0)}get showToggle(){return this.config.showToggle??!0}get showCanvasNav(){return this.config.showCanvasNav??!0}get showZoomControls(){return this.config.showZoomControls??!0}get galleryFixedHeight(){var t;return((t=this.config.gallery)==null?void 0:t.fixedHeight)??120}get viewingMode(){return this.config.viewingMode??"individuals"}set viewingMode(t){this.config.viewingMode=t}get pagedOffset(){return p(R(this,Fn))}set pagedOffset(t){be(R(this,Fn),t,!0)}get galleryPosition(){return p(R(this,Bn))}set galleryPosition(t){be(R(this,Bn),t,!0)}get gallerySize(){return p(R(this,Vn))}set gallerySize(t){be(R(this,Vn),t,!0)}get isGalleryDragging(){return p(R(this,jn))}set isGalleryDragging(t){be(R(this,jn),t,!0)}get galleryDragOffset(){return p(R(this,Un))}set galleryDragOffset(t){be(R(this,Un),t,!0)}get dragOverSide(){return p(R(this,Gn))}set dragOverSide(t){be(R(this,Gn),t,!0)}get galleryCenterPanelRect(){return p(R(this,Zn))}set galleryCenterPanelRect(t){be(R(this,Zn),t,!0)}setEventTarget(t){this.eventTarget=t}getSnapshot(){let t=-1;return this.manifestId&&this.canvasId&&(t=$r.getCanvases(this.manifestId).findIndex(r=>(r.id||r["@id"]||(r.getCanvasId?r.getCanvasId():null)||(r.getId?r.getId():null))===this.canvasId)),{manifestId:this.manifestId,canvasId:this.canvasId,currentCanvasIndex:t,showAnnotations:this.showAnnotations,showThumbnailGallery:this.showThumbnailGallery,showSearchPanel:this.showSearchPanel,toolbarOpen:this.toolbarOpen,searchQuery:this.searchQuery,isFullScreen:this.isFullScreen,dockSide:this.dockSide,viewingMode:this.viewingMode,galleryPosition:this.galleryPosition,gallerySize:this.gallerySize}}dispatchStateChange(t="statechange"){console.log(`[ViewerState] Dispatching ${t}`,JSON.stringify(this.getSnapshot())),this.eventTarget&&queueMicrotask(()=>{var e;(e=this.eventTarget)==null||e.dispatchEvent(new CustomEvent(t,{detail:this.getSnapshot(),bubbles:!0,composed:!0}))})}get manifest(){return this.manifestId?$r.getManifest(this.manifestId):null}get manifestEntry(){return this.manifestId?$r.getManifestEntry(this.manifestId):null}get canvases(){return this.manifestId?$r.getCanvases(this.manifestId):[]}get currentCanvasIndex(){return this.canvasId?this.canvases.findIndex(t=>(t.id||t["@id"]||(t.getCanvasId?t.getCanvasId():null)||(t.getId?t.getId():null))===this.canvasId):this.canvases.length>0?0:-1}get hasNext(){if(this.viewingMode==="paged"){const t=this.pagedOffset;return this.currentCanvasIndex<t?this.currentCanvasIndex<this.canvases.length-1:this.currentCanvasIndex<this.canvases.length-2}else return this.currentCanvasIndex<this.canvases.length-1}get hasPrevious(){return this.currentCanvasIndex>0}nextCanvas(){if(this.hasNext)if(this.viewingMode==="paged"){const t=this.pagedOffset,e=this.currentCanvasIndex<t?this.currentCanvasIndex+1:this.currentCanvasIndex+2,r=this.canvases[e];this.setCanvas(r.id)}else{const t=this.currentCanvasIndex+1,e=this.canvases[t];this.setCanvas(e.id)}}previousCanvas(){if(this.hasPrevious)if(this.viewingMode==="paged"){const t=this.pagedOffset;let e;this.currentCanvasIndex<=t?e=this.currentCanvasIndex-1:e=Math.max(this.currentCanvasIndex-2,t);const r=this.canvases[e];this.setCanvas(r.id)}else{const t=this.currentCanvasIndex-1,e=this.canvases[t];this.setCanvas(e.id)}}zoomIn(){this.osdViewer&&this.osdViewer.viewport&&(this.osdViewer.viewport.zoomBy(1.2),this.osdViewer.viewport.applyConstraints())}zoomOut(){this.osdViewer&&this.osdViewer.viewport&&(this.osdViewer.viewport.zoomBy(.8),this.osdViewer.viewport.applyConstraints())}setManifest(t){this.manifestId=t,this.canvasId=null,$r.fetchManifest(t),this.dispatchStateChange("manifestchange")}setCanvas(t){this.canvasId=t,this.dispatchStateChange("canvaschange")}updateConfig(t){var r;const e=this.config;if(this.config=t,t.toolbarOpen!==void 0&&(this.toolbarOpen=t.toolbarOpen),t.viewingMode&&(this.viewingMode=t.viewingMode),t.gallery&&(t.gallery.open!==void 0&&(this.showThumbnailGallery=t.gallery.open),t.gallery.dockPosition!==void 0&&(this.dockSide=t.gallery.dockPosition),t.gallery.width!==void 0&&(this.gallerySize.width=t.gallery.width),t.gallery.height!==void 0&&(this.gallerySize.height=t.gallery.height),t.gallery.x!==void 0&&(this.galleryPosition.x=t.gallery.x),t.gallery.y!==void 0&&(this.galleryPosition.y=t.gallery.y)),t.search){t.search.open!==void 0&&(this.showSearchPanel=t.search.open);const n=t.search.query,o=(r=e.search)==null?void 0:r.query;n!==void 0&&n!==o&&n!==this.searchQuery&&this._performSearch(n)}t.annotations&&t.annotations.open!==void 0&&(this.showAnnotations=t.annotations.open)}toggleAnnotations(){this.showAnnotations=!this.showAnnotations,this.dispatchStateChange()}toggleToolbar(){this.toolbarOpen=!this.toolbarOpen,this.dispatchStateChange()}toggleThumbnailGallery(){this.showThumbnailGallery=!this.showThumbnailGallery,this.dispatchStateChange()}setViewerElement(t){this.viewerElement=t}toggleFullScreen(){if(document.fullscreenElement)document.exitFullscreen();else{const t=this.viewerElement||document.getElementById("triiiceratops-viewer");t?t.requestFullscreen().catch(e=>{console.warn("Fullscreen request failed",e)}):console.warn("Cannot toggle fullscreen: Viewer element not found")}}toggleMetadataDialog(){this.showMetadataDialog=!this.showMetadataDialog}setViewingMode(t){if(this.viewingMode=t,t==="paged"){const e=this.pagedOffset;if(this.currentCanvasIndex>=e&&(this.currentCanvasIndex-e)%2===1){const n=this.currentCanvasIndex-1,o=this.canvases[n];this.setCanvas(o.id)}}this.dispatchStateChange()}togglePagedOffset(){this.pagedOffset=this.pagedOffset===0?1:0;const t=this.pagedOffset;if(this.currentCanvasIndex>=t&&(this.currentCanvasIndex-t)%2===1){const r=this.currentCanvasIndex-1,n=this.canvases[r];this.setCanvas(n.id)}this.dispatchStateChange()}get searchQuery(){return p(R(this,Wn))}set searchQuery(t){be(R(this,Wn),t,!0)}get pendingSearchQuery(){return p(R(this,qn))}set pendingSearchQuery(t){be(R(this,qn),t,!0)}get searchResults(){return p(R(this,Xn))}set searchResults(t){be(R(this,Xn),t,!0)}get isSearching(){return p(R(this,Yn))}set isSearching(t){be(R(this,Yn),t,!0)}get showSearchPanel(){return p(R(this,Kn))}set showSearchPanel(t){be(R(this,Kn),t,!0)}toggleSearchPanel(){this.showSearchPanel=!this.showSearchPanel,this.showSearchPanel||(this.searchAnnotations=[]),this.dispatchStateChange()}get searchAnnotations(){return p(R(this,Qn))}set searchAnnotations(t){be(R(this,Qn),t,!0)}get currentCanvasSearchAnnotations(){if(!this.canvasId)return[];if(this.viewingMode==="paged"){let t=this.searchAnnotations.filter(n=>n.canvasId===this.canvasId);const e=this.currentCanvasIndex,r=this.pagedOffset;if(e>=r){const n=e+1;if(n<this.canvases.length){const o=this.canvases[n],a=o.id||o["@id"],c=this.canvases[e].getWidth()*1.025,u=this.searchAnnotations.filter(h=>h.canvasId===a).map(h=>{const f=h.on.split("#xywh="),v=f[1].split(",").map(Number),_=v[0]+c;return{...h,on:`${f[0]}#xywh=${_},${v[1]},${v[2]},${v[3]}`}});t=t.concat(u)}}return t}else return this.searchAnnotations.filter(t=>t.canvasId===this.canvasId)}async search(t){this.dispatchStateChange(),await this._performSearch(t),this.dispatchStateChange()}async _performSearch(t){var e,r;if(t.trim()){this.isSearching=!0,this.searchQuery=t,this.searchResults=[];try{const n=this.manifest;if(!n){console.log("[ViewerState] Manifest not loaded, deferring search:",t),this.pendingSearchQuery=t;return}let o=n.getService("http://iiif.io/api/search/1/search")||n.getService("http://iiif.io/api/search/0/search");if(o||n.__jsonld&&n.__jsonld.service&&(o=(Array.isArray(n.__jsonld.service)?n.__jsonld.service:[n.__jsonld.service]).find(g=>g.profile==="http://iiif.io/api/search/1/search"||g.profile==="http://iiif.io/api/search/0/search")),!o){console.warn("No IIIF search service found in manifest"),this.isSearching=!1;return}const s=`${o.id||o["@id"]}?q=${encodeURIComponent(t)}`,c=await fetch(s);if(!c.ok)throw new Error("Search request failed");const l=await c.json(),u=l.resources||[],h=new _n,f=d=>{const g=typeof d=="string"?d:d["@id"]||d.id;if(!g)return null;const b=g.split("#xywh=");if(b.length<2)return null;const S=b[1].split(",").map(Number);return S.length===4?S:null},v=d=>d?d.replace(/<mark>/g,"<mark>").replace(/<\/mark>/g,"</mark>"):"";if(l.hits)for(const d of l.hits){const g=d.annotations||[];let b=-1,S=null;const P=[];for(const k of g){const A=u.find(N=>N["@id"]===k||N.id===k);if(A&&A.on){const N=typeof A.on=="string"?A.on:A.on["@id"]||A.on.id,Z=N.split("#")[0],L=f(N),I=this.canvases.findIndex(O=>O.id===Z);I>=0&&(b===-1&&(b=I),L&&(P.push(L),S||(S=L)))}}if(b>=0){if(!h.has(b)){const k=this.canvases[b];let A="Canvas "+(b+1);try{if(k.getLabel){const N=k.getLabel();Array.isArray(N)&&N.length>0?A=N[0].value:typeof N=="string"&&(A=N)}else k.label&&(typeof k.label=="string"?A=k.label:Array.isArray(k.label)&&(A=(e=k.label[0])==null?void 0:e.value))}catch{}h.set(b,{canvasIndex:b,canvasLabel:String(A),hits:[]})}h.get(b).hits.push({type:"hit",before:v(d.before),match:v(d.match),after:v(d.after),bounds:S,allBounds:P})}}else if(u.length>0)for(const d of u){const g=typeof d.on=="string"?d.on:d.on["@id"]||d.on.id,b=g.split("#")[0],S=f(g),P=this.canvases.findIndex(k=>k.id===b);if(P>=0){const k=this.canvases[P];let A="Canvas "+(P+1);try{if(k.getLabel){const N=k.getLabel();Array.isArray(N)&&N.length>0?A=N[0].value:typeof N=="string"&&(A=N)}else k.label&&(typeof k.label=="string"?A=k.label:Array.isArray(k.label)&&(A=(r=k.label[0])==null?void 0:r.value))}catch{}h.has(P)||h.set(P,{canvasIndex:P,canvasLabel:String(A),hits:[]}),h.get(P).hits.push({type:"resource",match:v(d.resource&&d.resource.chars?d.resource.chars:d.chars||""),bounds:S,allBounds:S?[S]:[]})}}this.searchResults=Array.from(h.values()).sort((d,g)=>d.canvasIndex-g.canvasIndex);let _=0;this.searchAnnotations=this.searchResults.flatMap(d=>{const g=this.canvases[d.canvasIndex];return d.hits.flatMap(b=>(b.allBounds&&b.allBounds.length>0?b.allBounds:b.bounds?[b.bounds]:[]).map(P=>{const k=`${g.id}#xywh=${P.join(",")}`;return{"@id":`urn:search-hit:${_++}`,"@type":"oa:Annotation",motivation:"sc:painting",on:k,canvasId:g.id,resource:{"@type":"cnt:ContentAsText",chars:b.match},isSearchHit:!0}}))})}catch(n){console.error("Search error:",n),this.isSearching=!1}finally{this.pendingSearchQuery||(this.isSearching=!1)}}}get pluginMenuButtons(){return p(R(this,Jn))}set pluginMenuButtons(t){be(R(this,Jn),t,!0)}get pluginPanels(){return p(R(this,$n))}set pluginPanels(t){be(R(this,$n),t,!0)}get osdViewer(){return p(R(this,eo))}set osdViewer(t){be(R(this,eo),t)}registerPlugin(t){const e=t.id||`plugin-${Math.random().toString(36).substr(2,9)}`;let r=Ae(!1);const n={id:`${e}:toggle`,icon:t.icon,tooltip:t.name,onClick:()=>{be(r,!p(r))},isActive:()=>p(r),order:200},o={id:`${e}:panel`,component:t.panel,position:t.position||"left",isVisible:()=>p(r),props:{...t.props,close:()=>{be(r,!1)}}};this.pluginMenuButtons=[...this.pluginMenuButtons,n],this.pluginPanels=[...this.pluginPanels,o],t.onInit&&t.onInit(this)}unregisterPlugin(t){this.pluginMenuButtons=this.pluginMenuButtons.filter(e=>!e.id.startsWith(`${t}:`)),this.pluginPanels=this.pluginPanels.filter(e=>!e.id.startsWith(`${t}:`))}notifyOSDReady(t){this.osdViewer=t}destroyAllPlugins(){this.pluginMenuButtons=[],this.pluginPanels=[],this.pluginEventHandlers.clear()}}Pn=new WeakMap,An=new WeakMap,Rn=new WeakMap,In=new WeakMap,On=new WeakMap,Mn=new WeakMap,Dn=new WeakMap,Ln=new WeakMap,zn=new WeakMap,Hn=new WeakMap,Nn=new WeakMap,Fn=new WeakMap,Bn=new WeakMap,Vn=new WeakMap,jn=new WeakMap,Un=new WeakMap,Gn=new WeakMap,Zn=new WeakMap,Wn=new WeakMap,qn=new WeakMap,Xn=new WeakMap,Yn=new WeakMap,Kn=new WeakMap,Qn=new WeakMap,Jn=new WeakMap,$n=new WeakMap,eo=new WeakMap;const Gi="triiiceratops:viewerState",Bg=["light","dark","cupcake","bumblebee","emerald","corporate","synthwave","retro","cyberpunk","valentine","halloween","garden","forest","aqua","lofi","pastel","fantasy","wireframe","black","luxury","dracula","cmyk","autumn","business","acid","lemonade","night","coffee","winter","dim","nord","sunset","caramellatte","abyss","silk"];function Vg(i){i=i.replace(/^#/,"");let t,e,r;if(i.length===3)t=parseInt(i[0]+i[0],16),e=parseInt(i[1]+i[1],16),r=parseInt(i[2]+i[2],16);else if(i.length===6||i.length===8)t=parseInt(i.slice(0,2),16),e=parseInt(i.slice(2,4),16),r=parseInt(i.slice(4,6),16);else return null;return isNaN(t)||isNaN(e)||isNaN(r)?null:{r:t,g:e,b:r}}function jg(i){const t=i.match(/rgba?\(\s*(\d+(?:\.\d+)?%?)\s*[,\s]\s*(\d+(?:\.\d+)?%?)\s*[,\s]\s*(\d+(?:\.\d+)?%?)(?:\s*[,/]\s*(\d*\.?\d+%?))?\s*\)/i);if(!t)return null;const e=a=>a.endsWith("%")?parseFloat(a)/100*255:parseFloat(a),r=e(t[1]),n=e(t[2]),o=e(t[3]);return isNaN(r)||isNaN(n)||isNaN(o)?null:{r,g:n,b:o}}function fs(i){const t=i/255;return t<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)}function Ug(i,t,e){return{x:.4124564*i+.3575761*t+.1804375*e,y:.2126729*i+.7151522*t+.072175*e,z:.0193339*i+.119192*t+.9503041*e}}function Gg(i,t,e){const r=.8189330101*i+.3618667424*t-.1288597137*e,n=.0329845436*i+.9293118715*t+.0361456387*e,o=.0482003018*i+.2643662691*t+.633851707*e,a=Math.cbrt(r),s=Math.cbrt(n),c=Math.cbrt(o);return{L:.2104542553*a+.793617785*s-.0040720468*c,a:1.9779984951*a-2.428592205*s+.4505937099*c,b:.0259040371*a+.7827717662*s-.808675766*c}}function Zg(i,t,e){const r=Math.sqrt(t*t+e*e);let n=Math.atan2(e,t)*180/Math.PI;return n<0&&(n+=360),{L:i,C:r,h:n}}function hu(i,t,e){const r=fs(i),n=fs(t),o=fs(e),{x:a,y:s,z:c}=Ug(r,n,o),{L:l,a:u,b:h}=Gg(a,s,c);return Zg(l,u,h)}function du(i,t,e){const r=(i*100).toFixed(2),n=t.toFixed(4),o=t<1e-4?0:e.toFixed(2);return`oklch(${r}% ${n} ${o})`}function Wg(i){return i.trim().toLowerCase().startsWith("oklch(")}function qg(i){return/^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$/.test(i.trim())}function Xg(i){return/^rgba?\s*\(/i.test(i.trim())}function Yg(i){const t=Vg(i);if(!t)return console.warn(`Invalid hex color: ${i}, returning as-is`),i;const{L:e,C:r,h:n}=hu(t.r,t.g,t.b);return du(e,r,n)}function Kg(i){const t=jg(i);if(!t)return console.warn(`Invalid rgb color: ${i}, returning as-is`),i;const{L:e,C:r,h:n}=hu(t.r,t.g,t.b);return du(e,r,n)}function Qg(i){const t=i.trim();return Wg(t)?t:qg(t)?Yg(t):Xg(t)?Kg(t):(console.warn(`Unrecognized color format: ${i}, passing through as-is`),i)}const fu={primary:"--color-primary",primaryContent:"--color-primary-content",secondary:"--color-secondary",secondaryContent:"--color-secondary-content",accent:"--color-accent",accentContent:"--color-accent-content",neutral:"--color-neutral",neutralContent:"--color-neutral-content",base100:"--color-base-100",base200:"--color-base-200",base300:"--color-base-300",baseContent:"--color-base-content",info:"--color-info",infoContent:"--color-info-content",success:"--color-success",successContent:"--color-success-content",warning:"--color-warning",warningContent:"--color-warning-content",error:"--color-error",errorContent:"--color-error-content",radiusBox:"--radius-box",radiusField:"--radius-field",radiusSelector:"--radius-selector",sizeSelector:"--size-selector",sizeField:"--size-field",border:"--border",depth:"--depth",noise:"--noise",colorScheme:"color-scheme"},Jg=new Set(["primary","primaryContent","secondary","secondaryContent","accent","accentContent","neutral","neutralContent","base100","base200","base300","baseContent","info","infoContent","success","successContent","warning","warningContent","error","errorContent"]);function $g(i){return Bg.includes(i)}function ev(i,t){i.setAttribute("data-theme",t)}function tv(i,t){for(const[e,r]of Object.entries(t)){if(r==null)continue;const n=e;if(n==="colorScheme"){i.style.colorScheme=r;continue}const o=fu[n];if(!o)continue;let a=String(r);Jg.has(n)&&(a=Qg(a)),i.style.setProperty(o,a)}}function rv(i){for(const[t,e]of Object.entries(fu))t==="colorScheme"?i.style.colorScheme="":i.style.removeProperty(e)}function iv(i){try{const t=JSON.parse(i);return typeof t=="object"&&t!==null?t:null}catch{return null}}function nv(i,t,e){t?ev(i,t):i.removeAttribute("data-theme"),e?tv(i,e):rv(i)}function pu(i){return i.id||i["@id"]||(typeof i.getId=="function"?i.getId():"")}function bn(i){if(!i)return null;const t=i.match(/xywh=(?:pixel:)?([\d.]+),([\d.]+),([\d.]+),([\d.]+)/);return t?{x:parseFloat(t[1]),y:parseFloat(t[2]),w:parseFloat(t[3]),h:parseFloat(t[4])}:null}function ov(i){const t=av(i);if(t)return sv(t);const e=hv(i);return e?{type:"RECTANGLE",x:e.x,y:e.y,w:e.w,h:e.h}:null}function av(i){var e,r;if(typeof i.getTarget=="function"){const n=((e=i.__jsonld)==null?void 0:e.on)||((r=i.__jsonld)==null?void 0:r.target);if(n)return gu(n)}const t=i.target||i.on;return t?gu(t):null}function gu(i){if(!i)return null;if(Array.isArray(i))for(const t of i){const e=vu(t);if(e)return e}else return vu(i);return null}function vu(i){var e;if(!i)return null;const t=i.selector||i;if(Array.isArray(t)){const r=t.find(n=>n.type==="SvgSelector");return r&&r.value?r.value:null}return(t==null?void 0:t.type)==="SvgSelector"&&t.value?t.value:((e=t==null?void 0:t.item)==null?void 0:e.type)==="SvgSelector"&&t.item.value?t.item.value:null}function sv(i){try{const e=new DOMParser().parseFromString(i,"image/svg+xml");if(e.documentElement.nodeName==="parsererror")return console.warn("Failed to parse SVG selector:",i),null;const r=[],n=e.querySelectorAll("polygon");for(const c of n){const l=c.getAttribute("points");if(l){const u=lv(l);r.push(...u)}}const o=e.querySelectorAll("path");for(const c of o){const l=c.getAttribute("d");if(l){const u=cv(l);r.push(...u)}}const a=e.querySelectorAll("circle");for(const c of a){const l=parseFloat(c.getAttribute("cx")||"0"),u=parseFloat(c.getAttribute("cy")||"0"),h=parseFloat(c.getAttribute("r")||"0"),f=uv(l,u,h);r.push(...f)}const s=e.querySelectorAll("rect");for(const c of s){const l=parseFloat(c.getAttribute("x")||"0"),u=parseFloat(c.getAttribute("y")||"0"),h=parseFloat(c.getAttribute("width")||"0"),f=parseFloat(c.getAttribute("height")||"0");r.push([l,u],[l+h,u],[l+h,u+f],[l,u+f])}return r.length===0?null:{type:"POLYGON",points:r}}catch(t){return console.warn("Failed to convert SVG to polygon:",t),null}}function lv(i){const t=[],e=i.trim().split(/\s+/);for(const r of e){const[n,o]=r.split(",").map(a=>parseFloat(a));!isNaN(n)&&!isNaN(o)&&t.push([n,o])}return t}function cv(i){const t=[],e=/[ML]\s*([\d.]+)[,\s]+([\d.]+)/g;let r;for(;(r=e.exec(i))!==null;){const n=parseFloat(r[1]),o=parseFloat(r[2]);!isNaN(n)&&!isNaN(o)&&t.push([n,o])}return t}function uv(i,t,e,r=8){const n=[];for(let o=0;o<r;o++){const a=o/r*Math.PI*2,s=i+e*Math.cos(a),c=t+e*Math.sin(a);n.push([s,c])}return n}function hv(i){var e;if(typeof i.getTarget=="function"){const r=i.getTarget();if(typeof r=="string"&&r.includes("xywh="))return bn(r);const n=(e=i.__jsonld)==null?void 0:e.on;if(n){const o=ps(n);if(o)return o}}const t=i.target||i.on;return t?ps(t):null}function ps(i){if(!i)return null;if(Array.isArray(i))for(const t of i){const e=ps(t);if(e)return e}if(typeof i=="string"&&i.includes("xywh="))return bn(i);if(i.selector){const t=i.selector;if(Array.isArray(t)){const r=t.find(o=>o.type==="FragmentSelector"&&o.value&&o.value.includes("xywh="));if(r)return bn(r.value);const n=t.find(o=>o.value&&o.value.includes("xywh="));return n?bn(n.value):null}const e=t.item||t;if(e.value&&typeof e.value=="string"&&e.value.includes("xywh="))return bn(e.value)}return null}function mu(i){const t=[];if(typeof i.getBody=="function"){const e=i.getBody();if(e){const r=Array.isArray(e)?e:[e];for(const n of r){const o=n.getValue?n.getValue():"";if(o){const a=n.getFormat?n.getFormat():"",s=n.getPurpose?n.getPurpose():void 0;t.push({value:o,isHtml:a==="text/html"||a==="application/html",purpose:s,format:a})}}}}else{const e=r=>{const n=r.chars||r.value||r["cnt:chars"]||"";if(n){const o=r.format==="text/html"||r.type==="TextualBody";t.push({value:n,isHtml:o,purpose:r.purpose,format:r.format})}};i.resource?(Array.isArray(i.resource)?i.resource:[i.resource]).forEach(e):i.body&&(Array.isArray(i.body)?i.body:[i.body]).forEach(e)}if(t.length===0){let e="";typeof i.getLabel=="function"?e=i.getLabel()||"":i.label&&(e=Array.isArray(i.label)?i.label.join(" "):i.label),e&&t.push({value:e,isHtml:!1,purpose:"commenting"})}return t.length===0&&t.push({value:"Annotation",isHtml:!1,purpose:"commenting"}),t}function dv(i,t,e=!1){const r=pu(i)||`anno-${t}`,n=ov(i);if(!n)return null;const o=mu(i);return{id:r,geometry:n,body:o,isSearchHit:e}}function fv(i,t=new Set){return i.map((e,r)=>{const n=t.has(pu(e));return dv(e,r,n)}).filter(e=>e!==null)}var pv=me("<div></div>"),gv=$('<svg class="absolute pointer-events-auto"><title> </title><polygon stroke-width="2"></polygon></svg>'),vv=me('<div class="w-full h-full relative"><div></div> <!></div>');function mv(i,t){Qe(t,!0);let e=or(t,"viewerState",7),r=Ae(void 0),n=Ae(void 0),o=Ae(void 0),a=Ae(0),s="",c=re(()=>{if(!e().manifestId||!e().canvasId)return[];const d=$r.getAnnotations(e().manifestId,e().canvasId),g=e().currentCanvasSearchAnnotations;return[...d,...g]}),l=re(()=>{const d=new Ho;return e().currentCanvasSearchAnnotations.forEach(g=>{const b=g.id||g["@id"];b&&d.add(b)}),d}),u=re(()=>fv(p(c),p(l))),h=re(()=>{if(p(a),!p(n)||!p(o)||!p(u).length)return[];const d=p(n).world.getItemAt(0);if(!d)return[];const g=[],b=e().pluginPanels.find(P=>P.id==="annotation-editor:panel"),S=b?b.isVisible():!1;for(const P of p(u)){if(!P.isSearchHit)if(e().showAnnotations){if(!e().visibleAnnotationIds.has(P.id))continue}else continue;if(P.geometry.type==="RECTANGLE"){const k=d.imageToViewportRectangle(P.geometry.x,P.geometry.y,P.geometry.w,P.geometry.h),A=p(n).viewport.viewportToViewerElementRectangle(k);g.push({id:P.id,type:"RECTANGLE",rect:{x:A.x,y:A.y,width:A.width,height:A.height},isSearchHit:P.isSearchHit,tooltip:P.body.map(N=>N.value).join(" "),pointerEvents:S?"none":"auto"})}else if(P.geometry.type==="POLYGON"){const k=P.geometry.points.map(O=>{const J=d.imageToViewportCoordinates(new(p(o)).Point(O[0],O[1])),ee=p(n).viewport.viewportToViewerElementCoordinates(J);return[ee.x,ee.y]});let A=1/0,N=1/0,Z=-1/0,L=-1/0;for(const[O,J]of k)A=Math.min(A,O),N=Math.min(N,J),Z=Math.max(Z,O),L=Math.max(L,J);const I=k.map(([O,J])=>[O-A,J-N]);g.push({id:P.id,type:"POLYGON",bounds:{x:A,y:N,width:Z-A,height:L-N},points:I,isSearchHit:P.isSearchHit,tooltip:P.body.map(O=>O.value).join(" "),pointerEvents:S?"none":"auto"})}}return g});Pa(()=>{if(!p(r))return;let d=!0;return(async()=>{const g=await Promise.resolve().then(()=>e4);d&&(be(o,g.default||g,!0),be(n,p(o)({element:p(r),tileSources:null,prefixUrl:"",showNavigationControl:!1,showHomeControl:!1,showFullPageControl:!1,showSequenceControl:!1,showZoomControl:!1,showRotationControl:!1,animationTime:.5,springStiffness:7,zoomPerClick:2,gestureSettingsMouse:{clickToZoom:!1,dblClickToZoom:!0}})),e().notifyOSDReady(p(n)))})(),()=>{var g;d=!1,(g=p(n))==null||g.destroy(),e().osdViewer=null}}),st(()=>{if(!p(n))return;const d=()=>{ln(a)};return p(n).addHandler("open",d),p(n).addHandler("animation",d),p(n).addHandler("resize",d),p(n).addHandler("rotate",d),p(n).world.addHandler("add-item",d),p(n).world.addHandler("remove-item",d),()=>{p(n).removeHandler("open",d),p(n).removeHandler("animation",d),p(n).removeHandler("resize",d),p(n).removeHandler("rotate",d),p(n).world.removeHandler("add-item",d),p(n).world.removeHandler("remove-item",d)}}),st(()=>{if(!p(n)||!t.tileSources)return;const d=JSON.stringify(t.tileSources);if(d!==s)if(s=d,e().viewingMode==="paged"&&t.tileSources instanceof Array&&t.tileSources.length===2){const b=[{tileSource:t.tileSources[0],x:0,y:0,width:1},{tileSource:t.tileSources[1],x:1.025,y:0,width:1}];p(n).open(b)}else p(n).open(t.tileSources)});var f=vv(),v=G(f);ji(v,d=>be(r,d),()=>p(r));var _=ue(v,2);Ut(_,17,()=>p(h),d=>d.id,(d,g)=>{var b=te(),S=X(b);{var P=A=>{var N=pv();Oe(()=>{Ne(N,"id",`annotation-visual-${p(g).id??""}`),He(N,1,`absolute border-2 transition-colors cursor-pointer pointer-events-auto ${p(g).isSearchHit?"border-yellow-400 bg-yellow-400/40 hover:bg-yellow-400/60":"border-red-500 bg-red-500/20 hover:bg-red-500/40"}`),Ot(N,`
|
|
7
7
|
left: ${p(g).rect.x??""}px;
|
|
8
8
|
top: ${p(g).rect.y??""}px;
|
|
9
9
|
width: ${p(g).rect.width??""}px;
|
|
@@ -17,7 +17,7 @@ var t4=Object.defineProperty;var r4=Object.getPrototypeOf;var i4=Reflect.get;var
|
|
|
17
17
|
pointer-events: ${p(g).pointerEvents??""};
|
|
18
18
|
`),qe(ee,p(g).tooltip),Ne(ne,"id",`annotation-visual-${p(g).id??""}`),Ne(ne,"points",z),He(ne,0,`cursor-pointer transition-colors ${p(g).isSearchHit?"fill-yellow-400/40 stroke-yellow-400 hover:fill-yellow-400/60":"fill-red-500/20 stroke-red-500 hover:fill-red-500/40"}`)},[()=>p(g).points.map(z=>z.join(",")).join(" ")]),x(I,O)};D(Z,I=>{p(g).type==="POLYGON"&&I(L)},!0)}x(A,N)};D(S,A=>{p(g).type==="RECTANGLE"?A(P):A(k,!1)})}x(d,b)}),U(f),Oe(()=>He(v,1,`w-full h-full osd-background ${e().config.transparentBackground?"":"bg-base-100"}`)),x(i,f),Je()}let _u=Symbol("phosphor-svelte");function Rt(){return ua(_u)?Wr(_u):{}}var _v=$('<path d="M168.49,199.51a12,12,0,0,1-17,17l-80-80a12,12,0,0,1,0-17l80-80a12,12,0,0,1,17,17L97,128Z"></path>'),wv=$('<path d="M160,48V208L80,128Z" opacity="0.2"></path><path d="M163.06,40.61a8,8,0,0,0-8.72,1.73l-80,80a8,8,0,0,0,0,11.32l80,80A8,8,0,0,0,168,208V48A8,8,0,0,0,163.06,40.61ZM152,188.69,91.31,128,152,67.31Z"></path>',1),bv=$('<path d="M168,48V208a8,8,0,0,1-13.66,5.66l-80-80a8,8,0,0,1,0-11.32l80-80A8,8,0,0,1,168,48Z"></path>'),yv=$('<path d="M164.24,203.76a6,6,0,1,1-8.48,8.48l-80-80a6,6,0,0,1,0-8.48l80-80a6,6,0,0,1,8.48,8.48L88.49,128Z"></path>'),xv=$('<path d="M165.66,202.34a8,8,0,0,1-11.32,11.32l-80-80a8,8,0,0,1,0-11.32l80-80a8,8,0,0,1,11.32,11.32L91.31,128Z"></path>'),Tv=$('<path d="M162.83,205.17a4,4,0,0,1-5.66,5.66l-80-80a4,4,0,0,1,0-5.66l80-80a4,4,0,1,1,5.66,5.66L85.66,128Z"></path>'),Ev=$('<svg><!><rect width="256" height="256" fill="none"></rect><!></svg>');function kv(i,t){Qe(t,!0);const e=Rt();let r=kt(t,["$$slots","$$events","$$legacy","children"]),n=re(()=>t.weight??e.weight??"regular"),o=re(()=>t.color??e.color??"currentColor"),a=re(()=>t.size??e.size??"1em"),s=re(()=>t.mirrored??e.mirrored??!1);function c(d){let{weight:g,color:b,size:S,mirrored:P,...k}=d;return k}var l=Ev();Et(l,(d,g)=>({xmlns:"http://www.w3.org/2000/svg",role:"img",width:p(a),height:p(a),fill:p(o),transform:p(s)?"scale(-1, 1)":void 0,viewBox:"0 0 256 256",...d,...g}),[()=>c(e),()=>c(r)]);var u=G(l);{var h=d=>{var g=te(),b=X(g);xt(b,()=>t.children),x(d,g)};D(u,d=>{t.children&&d(h)})}var f=ue(u,2);{var v=d=>{var g=_v();x(d,g)},_=d=>{var g=te(),b=X(g);{var S=k=>{var A=wv();gt(),x(k,A)},P=k=>{var A=te(),N=X(A);{var Z=I=>{var O=bv();x(I,O)},L=I=>{var O=te(),J=X(O);{var ee=z=>{var B=yv();x(z,B)},ne=z=>{var B=te(),q=X(B);{var ae=F=>{var K=xv();x(F,K)},oe=F=>{var K=te(),ye=X(K);{var Se=V=>{var M=Tv();x(V,M)},he=V=>{var M=mt();M.nodeValue=(console.error('Unsupported icon weight. Choose from "thin", "light", "regular", "bold", "fill", or "duotone".'),""),x(V,M)};D(ye,V=>{p(n)==="thin"?V(Se):V(he,!1)},!0)}x(F,K)};D(q,F=>{p(n)==="regular"?F(ae):F(oe,!1)},!0)}x(z,B)};D(J,z=>{p(n)==="light"?z(ee):z(ne,!1)},!0)}x(I,O)};D(N,I=>{p(n)==="fill"?I(Z):I(L,!1)},!0)}x(k,A)};D(b,k=>{p(n)==="duotone"?k(S):k(P,!1)},!0)}x(d,g)};D(f,d=>{p(n)==="bold"?d(v):d(_,!1)})}U(l),x(i,l),Je()}var Sv=$('<path d="M184.49,136.49l-80,80a12,12,0,0,1-17-17L159,128,87.51,56.49a12,12,0,1,1,17-17l80,80A12,12,0,0,1,184.49,136.49Z"></path>'),Cv=$('<path d="M176,128,96,208V48Z" opacity="0.2"></path><path d="M181.66,122.34l-80-80A8,8,0,0,0,88,48V208a8,8,0,0,0,13.66,5.66l80-80A8,8,0,0,0,181.66,122.34ZM104,188.69V67.31L164.69,128Z"></path>',1),Pv=$('<path d="M181.66,133.66l-80,80A8,8,0,0,1,88,208V48a8,8,0,0,1,13.66-5.66l80,80A8,8,0,0,1,181.66,133.66Z"></path>'),Av=$('<path d="M180.24,132.24l-80,80a6,6,0,0,1-8.48-8.48L167.51,128,91.76,52.24a6,6,0,0,1,8.48-8.48l80,80A6,6,0,0,1,180.24,132.24Z"></path>'),Rv=$('<path d="M181.66,133.66l-80,80a8,8,0,0,1-11.32-11.32L164.69,128,90.34,53.66a8,8,0,0,1,11.32-11.32l80,80A8,8,0,0,1,181.66,133.66Z"></path>'),Iv=$('<path d="M178.83,130.83l-80,80a4,4,0,0,1-5.66-5.66L170.34,128,93.17,50.83a4,4,0,0,1,5.66-5.66l80,80A4,4,0,0,1,178.83,130.83Z"></path>'),Ov=$('<svg><!><rect width="256" height="256" fill="none"></rect><!></svg>');function Mv(i,t){Qe(t,!0);const e=Rt();let r=kt(t,["$$slots","$$events","$$legacy","children"]),n=re(()=>t.weight??e.weight??"regular"),o=re(()=>t.color??e.color??"currentColor"),a=re(()=>t.size??e.size??"1em"),s=re(()=>t.mirrored??e.mirrored??!1);function c(d){let{weight:g,color:b,size:S,mirrored:P,...k}=d;return k}var l=Ov();Et(l,(d,g)=>({xmlns:"http://www.w3.org/2000/svg",role:"img",width:p(a),height:p(a),fill:p(o),transform:p(s)?"scale(-1, 1)":void 0,viewBox:"0 0 256 256",...d,...g}),[()=>c(e),()=>c(r)]);var u=G(l);{var h=d=>{var g=te(),b=X(g);xt(b,()=>t.children),x(d,g)};D(u,d=>{t.children&&d(h)})}var f=ue(u,2);{var v=d=>{var g=Sv();x(d,g)},_=d=>{var g=te(),b=X(g);{var S=k=>{var A=Cv();gt(),x(k,A)},P=k=>{var A=te(),N=X(A);{var Z=I=>{var O=Pv();x(I,O)},L=I=>{var O=te(),J=X(O);{var ee=z=>{var B=Av();x(z,B)},ne=z=>{var B=te(),q=X(B);{var ae=F=>{var K=Rv();x(F,K)},oe=F=>{var K=te(),ye=X(K);{var Se=V=>{var M=Iv();x(V,M)},he=V=>{var M=mt();M.nodeValue=(console.error('Unsupported icon weight. Choose from "thin", "light", "regular", "bold", "fill", or "duotone".'),""),x(V,M)};D(ye,V=>{p(n)==="thin"?V(Se):V(he,!1)},!0)}x(F,K)};D(q,F=>{p(n)==="regular"?F(ae):F(oe,!1)},!0)}x(z,B)};D(J,z=>{p(n)==="light"?z(ee):z(ne,!1)},!0)}x(I,O)};D(N,I=>{p(n)==="fill"?I(Z):I(L,!1)},!0)}x(k,A)};D(b,k=>{p(n)==="duotone"?k(S):k(P,!1)},!0)}x(d,g)};D(f,d=>{p(n)==="bold"?d(v):d(_,!1)})}U(l),x(i,l),Je()}var Dv=$('<path d="M156,112a12,12,0,0,1-12,12H124v20a12,12,0,0,1-24,0V124H80a12,12,0,0,1,0-24h20V80a12,12,0,0,1,24,0v20h20A12,12,0,0,1,156,112Zm76.49,120.49a12,12,0,0,1-17,0L168,185a92.12,92.12,0,1,1,17-17l47.54,47.53A12,12,0,0,1,232.49,232.49ZM112,180a68,68,0,1,0-68-68A68.08,68.08,0,0,0,112,180Z"></path>'),Lv=$('<path d="M192,112a80,80,0,1,1-80-80A80,80,0,0,1,192,112Z" opacity="0.2"></path><path d="M229.66,218.34,179.6,168.28a88.21,88.21,0,1,0-11.32,11.31l50.06,50.07a8,8,0,0,0,11.32-11.32ZM40,112a72,72,0,1,1,72,72A72.08,72.08,0,0,1,40,112Zm112,0a8,8,0,0,1-8,8H120v24a8,8,0,0,1-16,0V120H80a8,8,0,0,1,0-16h24V80a8,8,0,0,1,16,0v24h24A8,8,0,0,1,152,112Z"></path>',1),zv=$('<path d="M229.66,218.34,179.6,168.28a88.21,88.21,0,1,0-11.32,11.31l50.06,50.07a8,8,0,0,0,11.32-11.32ZM144,120H120v24a8,8,0,0,1-16,0V120H80a8,8,0,0,1,0-16h24V80a8,8,0,0,1,16,0v24h24a8,8,0,0,1,0,16Z"></path>'),Hv=$('<path d="M150,112a6,6,0,0,1-6,6H118v26a6,6,0,0,1-12,0V118H80a6,6,0,0,1,0-12h26V80a6,6,0,0,1,12,0v26h26A6,6,0,0,1,150,112Zm78.24,116.24a6,6,0,0,1-8.48,0l-51.38-51.38a86.15,86.15,0,1,1,8.48-8.48l51.38,51.38A6,6,0,0,1,228.24,228.24ZM112,186a74,74,0,1,0-74-74A74.09,74.09,0,0,0,112,186Z"></path>'),Nv=$('<path d="M152,112a8,8,0,0,1-8,8H120v24a8,8,0,0,1-16,0V120H80a8,8,0,0,1,0-16h24V80a8,8,0,0,1,16,0v24h24A8,8,0,0,1,152,112Zm77.66,117.66a8,8,0,0,1-11.32,0l-50.06-50.07a88.11,88.11,0,1,1,11.31-11.31l50.07,50.06A8,8,0,0,1,229.66,229.66ZM112,184a72,72,0,1,0-72-72A72.08,72.08,0,0,0,112,184Z"></path>'),Fv=$('<path d="M148,112a4,4,0,0,1-4,4H116v28a4,4,0,0,1-8,0V116H80a4,4,0,0,1,0-8h28V80a4,4,0,0,1,8,0v28h28A4,4,0,0,1,148,112Zm78.83,114.83a4,4,0,0,1-5.66,0l-52.7-52.7a84.1,84.1,0,1,1,5.66-5.66l52.7,52.7A4,4,0,0,1,226.83,226.83ZM112,188a76,76,0,1,0-76-76A76.08,76.08,0,0,0,112,188Z"></path>'),Bv=$('<svg><!><rect width="256" height="256" fill="none"></rect><!></svg>');function Vv(i,t){Qe(t,!0);const e=Rt();let r=kt(t,["$$slots","$$events","$$legacy","children"]),n=re(()=>t.weight??e.weight??"regular"),o=re(()=>t.color??e.color??"currentColor"),a=re(()=>t.size??e.size??"1em"),s=re(()=>t.mirrored??e.mirrored??!1);function c(d){let{weight:g,color:b,size:S,mirrored:P,...k}=d;return k}var l=Bv();Et(l,(d,g)=>({xmlns:"http://www.w3.org/2000/svg",role:"img",width:p(a),height:p(a),fill:p(o),transform:p(s)?"scale(-1, 1)":void 0,viewBox:"0 0 256 256",...d,...g}),[()=>c(e),()=>c(r)]);var u=G(l);{var h=d=>{var g=te(),b=X(g);xt(b,()=>t.children),x(d,g)};D(u,d=>{t.children&&d(h)})}var f=ue(u,2);{var v=d=>{var g=Dv();x(d,g)},_=d=>{var g=te(),b=X(g);{var S=k=>{var A=Lv();gt(),x(k,A)},P=k=>{var A=te(),N=X(A);{var Z=I=>{var O=zv();x(I,O)},L=I=>{var O=te(),J=X(O);{var ee=z=>{var B=Hv();x(z,B)},ne=z=>{var B=te(),q=X(B);{var ae=F=>{var K=Nv();x(F,K)},oe=F=>{var K=te(),ye=X(K);{var Se=V=>{var M=Fv();x(V,M)},he=V=>{var M=mt();M.nodeValue=(console.error('Unsupported icon weight. Choose from "thin", "light", "regular", "bold", "fill", or "duotone".'),""),x(V,M)};D(ye,V=>{p(n)==="thin"?V(Se):V(he,!1)},!0)}x(F,K)};D(q,F=>{p(n)==="regular"?F(ae):F(oe,!1)},!0)}x(z,B)};D(J,z=>{p(n)==="light"?z(ee):z(ne,!1)},!0)}x(I,O)};D(N,I=>{p(n)==="fill"?I(Z):I(L,!1)},!0)}x(k,A)};D(b,k=>{p(n)==="duotone"?k(S):k(P,!1)},!0)}x(d,g)};D(f,d=>{p(n)==="bold"?d(v):d(_,!1)})}U(l),x(i,l),Je()}var jv=$('<path d="M156,112a12,12,0,0,1-12,12H80a12,12,0,0,1,0-24h64A12,12,0,0,1,156,112Zm76.49,120.49a12,12,0,0,1-17,0L168,185a92.12,92.12,0,1,1,17-17l47.54,47.53A12,12,0,0,1,232.49,232.49ZM112,180a68,68,0,1,0-68-68A68.08,68.08,0,0,0,112,180Z"></path>'),Uv=$('<path d="M192,112a80,80,0,1,1-80-80A80,80,0,0,1,192,112Z" opacity="0.2"></path><path d="M229.66,218.34,179.6,168.28a88.21,88.21,0,1,0-11.32,11.31l50.06,50.07a8,8,0,0,0,11.32-11.32ZM40,112a72,72,0,1,1,72,72A72.08,72.08,0,0,1,40,112Zm112,0a8,8,0,0,1-8,8H80a8,8,0,0,1,0-16h64A8,8,0,0,1,152,112Z"></path>',1),Gv=$('<path d="M229.66,218.34,179.6,168.28a88.21,88.21,0,1,0-11.32,11.31l50.06,50.07a8,8,0,0,0,11.32-11.32ZM144,120H80a8,8,0,0,1,0-16h64a8,8,0,0,1,0,16Z"></path>'),Zv=$('<path d="M150,112a6,6,0,0,1-6,6H80a6,6,0,0,1,0-12h64A6,6,0,0,1,150,112Zm78.24,116.24a6,6,0,0,1-8.48,0l-51.38-51.38a86.15,86.15,0,1,1,8.48-8.48l51.38,51.38A6,6,0,0,1,228.24,228.24ZM112,186a74,74,0,1,0-74-74A74.09,74.09,0,0,0,112,186Z"></path>'),Wv=$('<path d="M152,112a8,8,0,0,1-8,8H80a8,8,0,0,1,0-16h64A8,8,0,0,1,152,112Zm77.66,117.66a8,8,0,0,1-11.32,0l-50.06-50.07a88.11,88.11,0,1,1,11.31-11.31l50.07,50.06A8,8,0,0,1,229.66,229.66ZM112,184a72,72,0,1,0-72-72A72.08,72.08,0,0,0,112,184Z"></path>'),qv=$('<path d="M148,112a4,4,0,0,1-4,4H80a4,4,0,0,1,0-8h64A4,4,0,0,1,148,112Zm78.83,114.83a4,4,0,0,1-5.66,0l-52.7-52.7a84.1,84.1,0,1,1,5.66-5.66l52.7,52.7A4,4,0,0,1,226.83,226.83ZM112,188a76,76,0,1,0-76-76A76.08,76.08,0,0,0,112,188Z"></path>'),Xv=$('<svg><!><rect width="256" height="256" fill="none"></rect><!></svg>');function Yv(i,t){Qe(t,!0);const e=Rt();let r=kt(t,["$$slots","$$events","$$legacy","children"]),n=re(()=>t.weight??e.weight??"regular"),o=re(()=>t.color??e.color??"currentColor"),a=re(()=>t.size??e.size??"1em"),s=re(()=>t.mirrored??e.mirrored??!1);function c(d){let{weight:g,color:b,size:S,mirrored:P,...k}=d;return k}var l=Xv();Et(l,(d,g)=>({xmlns:"http://www.w3.org/2000/svg",role:"img",width:p(a),height:p(a),fill:p(o),transform:p(s)?"scale(-1, 1)":void 0,viewBox:"0 0 256 256",...d,...g}),[()=>c(e),()=>c(r)]);var u=G(l);{var h=d=>{var g=te(),b=X(g);xt(b,()=>t.children),x(d,g)};D(u,d=>{t.children&&d(h)})}var f=ue(u,2);{var v=d=>{var g=jv();x(d,g)},_=d=>{var g=te(),b=X(g);{var S=k=>{var A=Uv();gt(),x(k,A)},P=k=>{var A=te(),N=X(A);{var Z=I=>{var O=Gv();x(I,O)},L=I=>{var O=te(),J=X(O);{var ee=z=>{var B=Zv();x(z,B)},ne=z=>{var B=te(),q=X(B);{var ae=F=>{var K=Wv();x(F,K)},oe=F=>{var K=te(),ye=X(K);{var Se=V=>{var M=qv();x(V,M)},he=V=>{var M=mt();M.nodeValue=(console.error('Unsupported icon weight. Choose from "thin", "light", "regular", "bold", "fill", or "duotone".'),""),x(V,M)};D(ye,V=>{p(n)==="thin"?V(Se):V(he,!1)},!0)}x(F,K)};D(q,F=>{p(n)==="regular"?F(ae):F(oe,!1)},!0)}x(z,B)};D(J,z=>{p(n)==="light"?z(ee):z(ne,!1)},!0)}x(I,O)};D(N,I=>{p(n)==="fill"?I(Z):I(L,!1)},!0)}x(k,A)};D(b,k=>{p(n)==="duotone"?k(S):k(P,!1)},!0)}x(d,g)};D(f,d=>{p(n)==="bold"?d(v):d(_,!1)})}U(l),x(i,l),Je()}const Kv="en",gs=["en","de"],wu="PARAGLIDE_LOCALE",Qv=3456e4,bu=["cookie","globalVariable","baseLocale"];globalThis.__paraglide={};let Uo,yu=!1,W=()=>{let i;for(const t of bu){if(t==="cookie")i=rm();else if(t==="baseLocale")i=Kv;else if(t==="globalVariable"&&Uo!==void 0)i=Uo;else if(xu(t)&&Go.has(t)){const e=Go.get(t);if(e){const r=e.getLocale();if(r instanceof Promise)continue;i=r}}if(i!==void 0){const e=tm(i);return yu||(Uo=e,yu=!0,vs(e,{reload:!1})),e}}throw new Error("No locale found. Read the docs https://inlang.com/m/gerre34r/library-inlang-paraglideJs/errors#no-locale-found")};const Jv=i=>{window.location.reload()};let vs=(i,t)=>{const e={reload:!0,...t};let r;try{r=W()}catch{}const n=[];for(const a of bu)if(a==="globalVariable")Uo=i;else if(a==="cookie"){if(typeof document>"u"||typeof window>"u")continue;const s=`${wu}=${i}; path=/; max-age=${Qv}`;document.cookie=s}else{if(a==="baseLocale")continue;if(xu(a)&&Go.has(a)){const s=Go.get(a);if(s){let c=s.setLocale(i);c instanceof Promise&&(c=c.catch(l=>{throw new Error(`Custom strategy "${a}" setLocale failed.`,{cause:l})}),n.push(c))}}}const o=()=>{e.reload&&window.location&&i!==r&&Jv()};if(n.length)return Promise.all(n).then(()=>{o()});o()};const $v=i=>{vs=i};function em(i){return typeof i!="string"?!1:i?gs.some(t=>t.toLowerCase()===i.toLowerCase()):!1}function tm(i){if(typeof i!="string")throw new Error(`Invalid locale: ${i}. Expected a string.`);const t=i.toLowerCase(),e=gs.find(r=>r.toLowerCase()===t);if(!e)throw new Error(`Invalid locale: ${i}. Expected one of: ${gs.join(", ")}`);return e}function rm(){if(typeof document>"u"||!document.cookie)return;const i=document.cookie.match(new RegExp(`(^| )${wu}=([^;]+)`)),t=i==null?void 0:i[2];if(em(t))return t}const Go=new Map;function xu(i){return typeof i=="string"&&/^custom-[A-Za-z0-9_-]+$/.test(i)}const im=()=>"Hello World",nm=()=>"Hallo Welt",om=(i={},t={})=>(t.locale??W())==="en"?im():nm(),am=()=>"Search",sm=()=>"Suche",ms=(i={},t={})=>(t.locale??W())==="en"?am():sm(),lm=()=>"Close Search",cm=()=>"Suche schließen",um=(i={},t={})=>(t.locale??W())==="en"?lm():cm(),hm=()=>"Search content...",dm=()=>"Inhalt durchsuchen...",Tu=(i={},t={})=>(t.locale??W())==="en"?hm():dm(),fm=i=>`No results found for "${i==null?void 0:i.query}"`,pm=i=>`Keine Ergebnisse für "${i==null?void 0:i.query}" gefunden`,Eu=(i,t={})=>(t.locale??W())==="en"?fm(i):pm(i),gm=()=>"Enter a search term to find occurrences within this manifest.",vm=()=>"Geben Sie einen Suchbegriff ein, um Vorkommen in diesem Manifest zu finden.",ku=(i={},t={})=>(t.locale??W())==="en"?gm():vm(),mm=i=>`${i==null?void 0:i.count} Results`,_m=i=>`${i==null?void 0:i.count} Ergebnisse`,Su=(i,t={})=>(t.locale??W())==="en"?mm(i):_m(i),wm=()=>"Manifest Metadata",bm=()=>"Manifest-Metadaten",Cu=(i={},t={})=>(t.locale??W())==="en"?wm():bm(),ym=()=>"Loading...",xm=()=>"Lädt...",Pu=(i={},t={})=>(t.locale??W())==="en"?ym():xm(),Tm=()=>"Attribution",Em=()=>"Quellenangabe",Au=(i={},t={})=>(t.locale??W())==="en"?Tm():Em(),km=()=>"License",Sm=()=>"Lizenz",Ru=(i={},t={})=>(t.locale??W())==="en"?km():Sm(),Cm=()=>"Close",Pm=()=>"Schließen",_s=(i={},t={})=>(t.locale??W())==="en"?Cm():Pm(),Am=()=>"Menu",Rm=()=>"Menü",Im=(i={},t={})=>(t.locale??W())==="en"?Am():Rm(),Om=()=>"Search",Mm=()=>"Suche",ws=(i={},t={})=>(t.locale??W())==="en"?Om():Mm(),Dm=()=>"Toggle Search",Lm=()=>"Suche umschalten",Iu=(i={},t={})=>(t.locale??W())==="en"?Dm():Lm(),zm=()=>"Hide Gallery",Hm=()=>"Galerie ausblenden",bs=(i={},t={})=>(t.locale??W())==="en"?zm():Hm(),Nm=()=>"Show Gallery",Fm=()=>"Galerie einblenden",ys=(i={},t={})=>(t.locale??W())==="en"?Nm():Fm(),Bm=()=>"Exit Full Screen",Vm=()=>"Vollbildmodus beenden",xs=(i={},t={})=>(t.locale??W())==="en"?Bm():Vm(),jm=()=>"Enter Full Screen",Um=()=>"Vollbildmodus",Ts=(i={},t={})=>(t.locale??W())==="en"?jm():Um(),Gm=()=>"Hide Annotations",Zm=()=>"Annotationen ausblenden",Es=(i={},t={})=>(t.locale??W())==="en"?Gm():Zm(),Wm=()=>"Show Annotations",qm=()=>"Annotationen einblenden",ks=(i={},t={})=>(t.locale??W())==="en"?Wm():qm(),Xm=()=>"Toggle Annotations",Ym=()=>"Annotationen umschalten",Km=(i={},t={})=>(t.locale??W())==="en"?Xm():Ym(),Qm=()=>"Metadata",Jm=()=>"Metadaten",Ou=(i={},t={})=>(t.locale??W())==="en"?Qm():Jm(),$m=()=>"Toggle Metadata",e1=()=>"Metadaten umschalten",Mu=(i={},t={})=>(t.locale??W())==="en"?$m():e1(),t1=()=>"Hide All Annotations",r1=()=>"Alle Annotationen ausblenden",Du=(i={},t={})=>(t.locale??W())==="en"?t1():r1(),i1=()=>"Show All Annotations",n1=()=>"Alle Annotationen einblenden",Lu=(i={},t={})=>(t.locale??W())==="en"?i1():n1(),o1=i=>`${i==null?void 0:i.count} Annotations`,a1=i=>`${i==null?void 0:i.count} Annotationen`,zu=(i,t={})=>(t.locale??W())==="en"?o1(i):a1(i),s1=i=>`(${i==null?void 0:i.count} visible)`,l1=i=>`(${i==null?void 0:i.count} sichtbar)`,Hu=(i,t={})=>(t.locale??W())==="en"?s1(i):l1(i),c1=()=>"(No content)",u1=()=>"(Kein Inhalt)",h1=(i={},t={})=>(t.locale??W())==="en"?c1():u1(),d1=()=>"No annotations available.",f1=()=>"Keine Annotationen verfügbar.",p1=(i={},t={})=>(t.locale??W())==="en"?d1():f1(),g1=()=>"Previous Canvas",v1=()=>"Vorheriges Canvas",Nu=(i={},t={})=>(t.locale??W())==="en"?g1():v1(),m1=()=>"Next Canvas",_1=()=>"Nächstes Canvas",Fu=(i={},t={})=>(t.locale??W())==="en"?m1():_1(),w1=()=>"Docs",b1=()=>"Doku",y1=(i={},t={})=>(t.locale??W())==="en"?w1():b1(),x1=()=>"IIIF Manifest:",T1=()=>"IIIF-Manifest:",Bu=(i={},t={})=>(t.locale??W())==="en"?x1():T1(),E1=()=>"Enter IIIF manifest URL",k1=()=>"IIIF-Manifest-URL eingeben",S1=(i={},t={})=>(t.locale??W())==="en"?E1():k1(),C1=()=>"Load",P1=()=>"Laden",A1=(i={},t={})=>(t.locale??W())==="en"?C1():P1(),R1=()=>"GitHub",I1=()=>"GitHub",O1=(i={},t={})=>(t.locale??W())==="en"?R1():I1(),M1=()=>"Core",D1=()=>"Basis",L1=(i={},t={})=>(t.locale??W())==="en"?M1():D1(),z1=()=>"Full",H1=()=>"Vollständig",N1=(i={},t={})=>(t.locale??W())==="en"?z1():H1(),F1=()=>"Custom Theme",B1=()=>"Benutzerdefiniertes Thema",V1=(i={},t={})=>(t.locale??W())==="en"?F1():B1(),j1=()=>"Example without plugins",U1=()=>"Beispiel ohne Plugins",G1=(i={},t={})=>(t.locale??W())==="en"?j1():U1(),Z1=()=>"Example with plugins",W1=()=>"Beispiel mit Plugins",q1=(i={},t={})=>(t.locale??W())==="en"?Z1():W1(),X1=()=>"Example with custom theme override",Y1=()=>"Beispiel mit benutzerdefiniertem Thema",K1=(i={},t={})=>(t.locale??W())==="en"?X1():Y1(),Q1=()=>"Plugins",J1=()=>"Erweiterungen",$1=(i={},t={})=>(t.locale??W())==="en"?Q1():J1(),e_=()=>"External Controls:",t_=()=>"Externe Steuerelemente:",r_=(i={},t={})=>(t.locale??W())==="en"?e_():t_(),i_=()=>"Active Canvas",n_=()=>"Aktives Canvas",o_=(i={},t={})=>(t.locale??W())==="en"?i_():n_(),a_=()=>"Image Adjustments",s_=()=>"Bildanpassungen",l_=(i={},t={})=>(t.locale??W())==="en"?a_():s_(),Vu=()=>"Open Menu",c_=Vu,Ss=(i={},t={})=>(t.locale??W())==="en"?Vu():c_(),u_=()=>"Close Menu",h_=()=>"Menü schließen",Cs=(i={},t={})=>(t.locale??W())==="en"?u_():h_(),d_=()=>"Gallery",f_=()=>"Galerie",p_=(i={},t={})=>(t.locale??W())==="en"?d_():f_(),g_=()=>"Close Gallery",v_=()=>"Galerie schließen",m_=(i={},t={})=>(t.locale??W())==="en"?g_():v_(),__=()=>"Close Search",w_=()=>"Suche schließen",ju=(i={},t={})=>(t.locale??W())==="en"?__():w_(),b_=()=>"Settings",y_=()=>"Einstellungen",x_=(i={},t={})=>(t.locale??W())==="en"?b_():y_(),T_=()=>"General",E_=()=>"Allgemein",k_=(i={},t={})=>(t.locale??W())==="en"?T_():E_(),S_=()=>"Show Open/Close",C_=()=>"Auf/Zu-Button",P_=(i={},t={})=>(t.locale??W())==="en"?S_():C_(),A_=()=>"Toolbar Open",R_=()=>"Werkzeugleiste geöffnet",I_=(i={},t={})=>(t.locale??W())==="en"?A_():R_(),O_=()=>"Toolbar Position",M_=()=>"Werkzeugleisten-Position",D_=(i={},t={})=>(t.locale??W())==="en"?O_():M_(),L_=()=>"Canvas Nav",z_=()=>"Canvas-Navigation",H_=(i={},t={})=>(t.locale??W())==="en"?L_():z_(),N_=()=>"Zoom Controls",F_=()=>"Zoom-Steuerelemente",B_=(i={},t={})=>(t.locale??W())==="en"?N_():F_(),V_=()=>"Configuration",j_=()=>"Konfiguration",U_=(i={},t={})=>(t.locale??W())==="en"?V_():j_(),G_=()=>"Toolbar",Z_=()=>"Werkzeugleiste",W_=(i={},t={})=>(t.locale??W())==="en"?G_():Z_(),q_=()=>"Show Search",X_=()=>"Suche anzeigen",Y_=(i={},t={})=>(t.locale??W())==="en"?q_():X_(),K_=()=>"Show Gallery",Q_=()=>"Galerie anzeigen",J_=(i={},t={})=>(t.locale??W())==="en"?K_():Q_(),$_=()=>"Show Annotations",ew=()=>"Annotationen anzeigen",tw=(i={},t={})=>(t.locale??W())==="en"?$_():ew(),rw=()=>"Show Fullscreen",iw=()=>"Vollbild anzeigen",nw=(i={},t={})=>(t.locale??W())==="en"?rw():iw(),ow=()=>"Show Info",aw=()=>"Info anzeigen",sw=(i={},t={})=>(t.locale??W())==="en"?ow():aw(),lw=()=>"Gallery",cw=()=>"Galerie",uw=(i={},t={})=>(t.locale??W())==="en"?lw():cw(),hw=()=>"Open",dw=()=>"Öffnen",fw=(i={},t={})=>(t.locale??W())==="en"?hw():dw(),pw=()=>"Draggable",gw=()=>"Verschiebbar",vw=(i={},t={})=>(t.locale??W())==="en"?pw():gw(),mw=()=>"Close Button",_w=()=>"Schließen-Button",ww=(i={},t={})=>(t.locale??W())==="en"?mw():_w(),bw=()=>"Dock Position",yw=()=>"Andockposition",xw=(i={},t={})=>(t.locale??W())==="en"?bw():yw(),Tw=()=>"Bottom",Ew=()=>"Unten",kw=(i={},t={})=>(t.locale??W())==="en"?Tw():Ew(),Sw=()=>"Top",Cw=()=>"Oben",Pw=(i={},t={})=>(t.locale??W())==="en"?Sw():Cw(),Aw=()=>"Left",Rw=()=>"Links",Iw=(i={},t={})=>(t.locale??W())==="en"?Aw():Rw(),Ow=()=>"Right",Mw=()=>"Rechts",Dw=(i={},t={})=>(t.locale??W())==="en"?Ow():Mw(),Lw=()=>"Floating",zw=()=>"Schwebend",Hw=(i={},t={})=>(t.locale??W())==="en"?Lw():zw(),Nw=()=>"Search",Fw=()=>"Suche",Bw=(i={},t={})=>(t.locale??W())==="en"?Nw():Fw(),Vw=()=>"Annotations",jw=()=>"Annotationen",Uw=(i={},t={})=>(t.locale??W())==="en"?Vw():jw(),Gw=()=>"Panel Open",Zw=()=>"Panel geöffnet",Ww=(i={},t={})=>(t.locale??W())==="en"?Gw():Zw(),qw=()=>"Visible by Default",Xw=()=>"Standardmäßig sichtbar",Yw=(i={},t={})=>(t.locale??W())==="en"?qw():Xw(),Kw=()=>"Copy Config",Qw=()=>"Konfiguration kopieren",Jw=(i={},t={})=>(t.locale??W())==="en"?Kw():Qw(),$w=()=>"Copied!",e2=()=>"Kopiert!",t2=(i={},t={})=>(t.locale??W())==="en"?$w():e2(),r2=()=>"Svelte component (not web component)",i2=()=>"Svelte-Komponente (keine Web-Komponente)",n2=(i={},t={})=>(t.locale??W())==="en"?r2():i2(),o2=()=>"Svelte",a2=()=>"Svelte",s2=(i={},t={})=>(t.locale??W())==="en"?o2():a2(),l2=()=>"Select language",c2=()=>"Sprache wählen",u2=(i={},t={})=>(t.locale??W())==="en"?l2():c2(),h2=()=>"No canvases loaded",d2=()=>"Keine Canvases geladen",f2=(i={},t={})=>(t.locale??W())==="en"?h2():d2(),p2=()=>"Try your own...",g2=()=>"Eigenes ausprobieren...",v2=(i={},t={})=>(t.locale??W())==="en"?p2():g2(),m2=()=>"Transparent Background",_2=()=>"Transparenter Hintergrund",w2=(i={},t={})=>(t.locale??W())==="en"?m2():_2(),b2=()=>"Change Theme",y2=()=>"Design ändern",x2=(i={},t={})=>(t.locale??W())==="en"?b2():y2(),T2=()=>"Theme",E2=()=>"Design",k2=(i={},t={})=>(t.locale??W())==="en"?T2():E2(),S2=()=>"Error: ",C2=()=>"Fehler: ",Uu=(i={},t={})=>(t.locale??W())==="en"?S2():C2(),P2=()=>"No image found",A2=()=>"Kein Bild gefunden",Gu=(i={},t={})=>(t.locale??W())==="en"?P2():A2(),R2=()=>"Panel Width",I2=()=>"Panelbreite",O2=(i={},t={})=>(t.locale??W())==="en"?R2():I2(),M2=()=>"Annotation Editor",D2=()=>"Anmerkungs-Editor",L2=(i={},t={})=>(t.locale??W())==="en"?M2():D2(),z2=()=>"Edit",H2=()=>"Bearbeiten",N2=(i={},t={})=>(t.locale??W())==="en"?z2():H2(),F2=()=>"Create",B2=()=>"Erstellen",V2=(i={},t={})=>(t.locale??W())==="en"?F2():B2(),j2=()=>"Click to start annotating, click again to set shape",U2=()=>"Klicken zum Annotieren, erneut klicken zum Abschließen",G2=(i={},t={})=>(t.locale??W())==="en"?j2():U2(),Z2=()=>"Click on an annotation to select and edit it",W2=()=>"Anmerkung klicken zum Bearbeiten",q2=(i={},t={})=>(t.locale??W())==="en"?Z2():W2(),X2=()=>"Drawing Tool",Y2=()=>"Zeichenwerkzeug",K2=(i={},t={})=>(t.locale??W())==="en"?X2():Y2(),Q2=()=>"Undo",J2=()=>"Rückgängig",$2=(i={},t={})=>(t.locale??W())==="en"?Q2():J2(),eb=()=>"Redo",tb=()=>"Wiederholen",rb=(i={},t={})=>(t.locale??W())==="en"?eb():tb(),ib=()=>"Edit Annotation",nb=()=>"Anmerkung bearbeiten",ob=(i={},t={})=>(t.locale??W())==="en"?ib():nb(),ab=()=>"Delete annotation",sb=()=>"Anmerkung löschen",lb=(i={},t={})=>(t.locale??W())==="en"?ab():sb(),cb=()=>"Tag value...",ub=()=>"Tag eingeben...",hb=(i={},t={})=>(t.locale??W())==="en"?cb():ub(),db=()=>"https://...",fb=()=>"https://...",pb=(i={},t={})=>(t.locale??W())==="en"?db():fb(),gb=()=>"Enter text...",vb=()=>"Text eingeben...",mb=(i={},t={})=>(t.locale??W())==="en"?gb():vb(),_b=()=>"Add Content",wb=()=>"Inhalt hinzufügen",bb=(i={},t={})=>(t.locale??W())==="en"?_b():wb(),yb=()=>"Save Changes",xb=()=>"Speichern",Tb=(i={},t={})=>(t.locale??W())==="en"?yb():xb(),Eb=()=>"Delete Annotation?",kb=()=>"Anmerkung löschen?",Sb=(i={},t={})=>(t.locale??W())==="en"?Eb():kb(),Cb=()=>"Are you sure you want to delete this annotation? This action cannot be undone.",Pb=()=>"Anmerkung wirklich löschen? Dies kann nicht rückgängig gemacht werden.",Ab=(i={},t={})=>(t.locale??W())==="en"?Cb():Pb(),Rb=()=>"Cancel",Ib=()=>"Abbrechen",Ob=(i={},t={})=>(t.locale??W())==="en"?Rb():Ib(),Mb=()=>"Delete",Db=()=>"Löschen",Lb=(i={},t={})=>(t.locale??W())==="en"?Mb():Db(),zb=()=>"Image Adjustments",Hb=()=>"Bildanpassungen",Nb=(i={},t={})=>(t.locale??W())==="en"?zb():Hb(),Fb=()=>"Brightness",Bb=()=>"Helligkeit",Vb=(i={},t={})=>(t.locale??W())==="en"?Fb():Bb(),jb=()=>"Contrast",Ub=()=>"Kontrast",Gb=(i={},t={})=>(t.locale??W())==="en"?jb():Ub(),Zb=()=>"Saturation",Wb=()=>"Sättigung",qb=(i={},t={})=>(t.locale??W())==="en"?Zb():Wb(),Xb=()=>"Effects",Yb=()=>"Effekte",Kb=(i={},t={})=>(t.locale??W())==="en"?Xb():Yb(),Qb=()=>"Invert Colors",Jb=()=>"Farben umkehren",$b=(i={},t={})=>(t.locale??W())==="en"?Qb():Jb(),ey=()=>"Grayscale",ty=()=>"Graustufen",ry=(i={},t={})=>(t.locale??W())==="en"?ey():ty(),iy=()=>"Reset to Default",ny=()=>"Zurücksetzen",oy=(i={},t={})=>(t.locale??W())==="en"?iy():ny(),ay=()=>"Rectangle",sy=()=>"Rechteck",ly=(i={},t={})=>(t.locale??W())==="en"?ay():sy(),cy=()=>"Polygon",uy=()=>"Polygon",hy=(i={},t={})=>(t.locale??W())==="en"?cy():uy(),dy=()=>"Point",fy=()=>"Punkt",py=(i={},t={})=>(t.locale??W())==="en"?dy():fy(),Zu=()=>"Viewing Mode",gy=Zu,Ps=(i={},t={})=>(t.locale??W())==="en"?Zu():gy(),Wu=()=>"Individuals",vy=Wu,qu=(i={},t={})=>(t.locale??W())==="en"?Wu():vy(),Xu=()=>"Paged",my=Xu,Yu=(i={},t={})=>(t.locale??W())==="en"?Xu():my(),Ku=()=>"Shift Page Pairing",_y=Ku,Qu=(i={},t={})=>(t.locale??W())==="en"?Ku():_y(),Ju=()=>"Show Viewing Mode",wy=Ju,by=(i={},t={})=>(t.locale??W())==="en"?Ju():wy(),yy=()=>"Wechseln Sie in den Zwei-Seiten-Modus",xy=()=>"toggle_two_page_mode",Ty=(i={},t={})=>(t.locale??W())==="en"?xy():yy(),Ey=()=>"Wechseln Sie in den Einzelseitenmodus",ky=()=>"toggle_single_page_mode",Sy=(i={},t={})=>(t.locale??W())==="en"?ky():Ey(),Cy=()=>"Modus-Umschalter anzeigen",Py=()=>"show_mode_toggle",Ay=(i={},t={})=>(t.locale??W())==="en"?Py():Cy(),Ry=()=>"Zwei-Seiten-Modus",Iy=()=>"two_page_mode",$u=Object.freeze(Object.defineProperty({__proto__:null,annotation_editor_add_content:bb,annotation_editor_cancel:Ob,annotation_editor_create_mode:V2,annotation_editor_delete:Lb,annotation_editor_delete_message:Ab,annotation_editor_delete_title:Sb,annotation_editor_delete_tooltip:lb,annotation_editor_edit_mode:N2,annotation_editor_edit_section:ob,annotation_editor_instruction_create:G2,annotation_editor_instruction_edit:q2,annotation_editor_link_placeholder:pb,annotation_editor_redo:rb,annotation_editor_save:Tb,annotation_editor_tag_placeholder:hb,annotation_editor_text_placeholder:mb,annotation_editor_title:L2,annotation_editor_tool_label:K2,annotation_editor_undo:$2,annotation_tool_point:py,annotation_tool_polygon:hy,annotation_tool_rectangle:ly,annotations_count:zu,attribution:Au,change_theme_label:x2,close:_s,close_gallery:m_,close_menu:Cs,close_search:ju,copied:t2,copy_config:Jw,demo_header_active_canvas:o_,demo_header_external_controls:r_,docs:y1,enter_full_screen:Ts,error_prefix:Uu,exit_full_screen:xs,gallery:p_,github:O1,hello_world:om,hide_all_annotations:Du,hide_annotations:Es,hide_gallery:bs,iiif_manifest_label:Bu,image_adjustments:l_,image_adjustments_title:Nb,image_filters_brightness:Vb,image_filters_contrast:Gb,image_filters_effects:Kb,image_filters_grayscale:ry,image_filters_invert:$b,image_filters_reset:oy,image_filters_saturation:qb,language_select_label:u2,license:Ru,load:A1,loading:Pu,manifest_placeholder:S1,menu:Im,metadata:Ou,metadata_label_fallback:Cu,next_canvas:Fu,no_annotations_available:p1,no_canvases_loaded:f2,no_content:h1,no_image_found:Gu,open_menu:Ss,plugins_tooltip:$1,previous_canvas:Nu,search:ws,search_panel_close:um,search_panel_instruction:ku,search_panel_no_results:Eu,search_panel_placeholder:Tu,search_panel_results_count:Su,search_panel_title:ms,settings_category_configuration:U_,settings_category_general:k_,settings_label:x_,settings_panel_width:O2,settings_position_bottom:kw,settings_position_floating:Hw,settings_position_left:Iw,settings_position_right:Dw,settings_position_top:Pw,settings_select_dock_position:xw,settings_submenu_annotations:Uw,settings_submenu_gallery:uw,settings_submenu_search:Bw,settings_submenu_toolbar:W_,settings_toggle_canvas_nav:H_,settings_toggle_close_button:ww,settings_toggle_draggable:vw,settings_toggle_open:fw,settings_toggle_panel_open:Ww,settings_toggle_show_annotations:tw,settings_toggle_show_fullscreen:nw,settings_toggle_show_gallery:J_,settings_toggle_show_info:sw,settings_toggle_show_search:Y_,settings_toggle_show_toggle:P_,settings_toggle_show_viewing_mode:by,settings_toggle_visible_by_default:Yw,settings_toggle_zoom_controls:B_,settings_toolbar_open:I_,settings_toolbar_position:D_,settings_transparent_background:w2,show_all_annotations:Lu,show_annotations:ks,show_gallery:ys,show_mode_toggle:Ay,theme_menu_title:k2,toggle_annotations:Km,toggle_metadata:Mu,toggle_search:Iu,toggle_single_page_mode:Sy,toggle_two_page_mode:Ty,try_your_own:v2,two_page_mode:(i={},t={})=>(t.locale??W())==="en"?Iy():Ry(),viewer_variant_core:L1,viewer_variant_custom_theme:V1,viewer_variant_full:N1,viewer_variant_svelte:s2,viewer_variant_svelte_component_tooltip:n2,viewer_variant_tooltip_core:G1,viewer_variant_tooltip_custom_theme:K1,viewer_variant_tooltip_full:q1,viewing_mode_individuals:qu,viewing_mode_label:Ps,viewing_mode_paged:Yu,viewing_mode_shift_pairing:Qu,visible_count:Hu},Symbol.toStringTag,{value:"Module"}));let eh=Ae(wt(W()));const Oy=vs;$v((i,t)=>{Oy(i,t),be(eh,W(),!0)});const Zi={get current(){return p(eh)}};var My=me('<button class="btn btn-circle btn-sm btn-ghost"><!></button>'),Dy=me('<div class="h-4 w-px bg-base-content/20 mx-1"></div>'),Ly=me('<div class="h-4 w-px bg-base-content/20 mx-1"></div>'),zy=me('<!> <button class="btn btn-circle btn-sm btn-ghost" aria-label="Zoom Out"><!></button> <button class="btn btn-circle btn-sm btn-ghost" aria-label="Zoom In"><!></button> <!>',1),Hy=me('<span class="text-sm font-mono tabular-nums text-nowrap"> </span> <button class="btn btn-circle btn-sm btn-ghost"><!></button>',1),Ny=me('<div class="select-none absolute left-1/2 -translate-x-1/2 bg-base-200/90 backdrop-blur rounded-full shadow-lg flex items-center gap-4 z-10 border border-base-300 transition-all duration-200 bottom-4"><!> <!> <!></div>');function Fy(i,t){Qe(t,!0);let e=re(()=>t.viewerState.showCanvasNav&&t.viewerState.canvases.length>1);var r=Ny(),n=G(r);{var o=u=>{var h=My();h.__click=()=>t.viewerState.previousCanvas();var f=G(h);kv(f,{size:20,weight:"bold"}),U(h),Oe(v=>{h.disabled=!t.viewerState.hasPrevious,Ne(h,"aria-label",v)},[()=>Nu()]),x(u,h)};D(n,u=>{p(e)&&u(o)})}var a=ue(n,2);{var s=u=>{var h=zy(),f=X(h);{var v=k=>{var A=Dy();x(k,A)};D(f,k=>{p(e)&&k(v)})}var _=ue(f,2);_.__click=()=>t.viewerState.zoomOut();var d=G(_);Yv(d,{size:20,weight:"bold"}),U(_);var g=ue(_,2);g.__click=()=>t.viewerState.zoomIn();var b=G(g);Vv(b,{size:20,weight:"bold"}),U(g);var S=ue(g,2);{var P=k=>{var A=Ly();x(k,A)};D(S,k=>{p(e)&&k(P)})}x(u,h)};D(a,u=>{t.viewerState.showZoomControls&&u(s)})}var c=ue(a,2);{var l=u=>{var h=Hy(),f=X(h),v=G(f);U(f);var _=ue(f,2);_.__click=()=>t.viewerState.nextCanvas();var d=G(_);Mv(d,{size:20,weight:"bold"}),U(_),Oe(g=>{qe(v,`${t.viewerState.currentCanvasIndex+1} / ${t.viewerState.canvases.length??""}`),_.disabled=!t.viewerState.hasNext,Ne(_,"aria-label",g)},[()=>Fu()]),x(u,h)};D(c,u=>{p(e)&&u(l)})}U(r),x(i,r),Je()}Qr(["click"]);var By=$('<path d="M216.49,104.49l-80,80a12,12,0,0,1-17,0l-80-80a12,12,0,0,1,17-17L128,159l71.51-71.52a12,12,0,0,1,17,17Z"></path>'),Vy=$('<path d="M208,96l-80,80L48,96Z" opacity="0.2"></path><path d="M215.39,92.94A8,8,0,0,0,208,88H48a8,8,0,0,0-5.66,13.66l80,80a8,8,0,0,0,11.32,0l80-80A8,8,0,0,0,215.39,92.94ZM128,164.69,67.31,104H188.69Z"></path>',1),jy=$('<path d="M213.66,101.66l-80,80a8,8,0,0,1-11.32,0l-80-80A8,8,0,0,1,48,88H208a8,8,0,0,1,5.66,13.66Z"></path>'),Uy=$('<path d="M212.24,100.24l-80,80a6,6,0,0,1-8.48,0l-80-80a6,6,0,0,1,8.48-8.48L128,167.51l75.76-75.75a6,6,0,0,1,8.48,8.48Z"></path>'),Gy=$('<path d="M213.66,101.66l-80,80a8,8,0,0,1-11.32,0l-80-80A8,8,0,0,1,53.66,90.34L128,164.69l74.34-74.35a8,8,0,0,1,11.32,11.32Z"></path>'),Zy=$('<path d="M210.83,98.83l-80,80a4,4,0,0,1-5.66,0l-80-80a4,4,0,0,1,5.66-5.66L128,170.34l77.17-77.17a4,4,0,1,1,5.66,5.66Z"></path>'),Wy=$('<svg><!><rect width="256" height="256" fill="none"></rect><!></svg>');function qy(i,t){Qe(t,!0);const e=Rt();let r=kt(t,["$$slots","$$events","$$legacy","children"]),n=re(()=>t.weight??e.weight??"regular"),o=re(()=>t.color??e.color??"currentColor"),a=re(()=>t.size??e.size??"1em"),s=re(()=>t.mirrored??e.mirrored??!1);function c(d){let{weight:g,color:b,size:S,mirrored:P,...k}=d;return k}var l=Wy();Et(l,(d,g)=>({xmlns:"http://www.w3.org/2000/svg",role:"img",width:p(a),height:p(a),fill:p(o),transform:p(s)?"scale(-1, 1)":void 0,viewBox:"0 0 256 256",...d,...g}),[()=>c(e),()=>c(r)]);var u=G(l);{var h=d=>{var g=te(),b=X(g);xt(b,()=>t.children),x(d,g)};D(u,d=>{t.children&&d(h)})}var f=ue(u,2);{var v=d=>{var g=By();x(d,g)},_=d=>{var g=te(),b=X(g);{var S=k=>{var A=Vy();gt(),x(k,A)},P=k=>{var A=te(),N=X(A);{var Z=I=>{var O=jy();x(I,O)},L=I=>{var O=te(),J=X(O);{var ee=z=>{var B=Uy();x(z,B)},ne=z=>{var B=te(),q=X(B);{var ae=F=>{var K=Gy();x(F,K)},oe=F=>{var K=te(),ye=X(K);{var Se=V=>{var M=Zy();x(V,M)},he=V=>{var M=mt();M.nodeValue=(console.error('Unsupported icon weight. Choose from "thin", "light", "regular", "bold", "fill", or "duotone".'),""),x(V,M)};D(ye,V=>{p(n)==="thin"?V(Se):V(he,!1)},!0)}x(F,K)};D(q,F=>{p(n)==="regular"?F(ae):F(oe,!1)},!0)}x(z,B)};D(J,z=>{p(n)==="light"?z(ee):z(ne,!1)},!0)}x(I,O)};D(N,I=>{p(n)==="fill"?I(Z):I(L,!1)},!0)}x(k,A)};D(b,k=>{p(n)==="duotone"?k(S):k(P,!1)},!0)}x(d,g)};D(f,d=>{p(n)==="bold"?d(v):d(_,!1)})}U(l),x(i,l),Je()}var Xy=$('<path d="M251,123.13c-.37-.81-9.13-20.26-28.48-39.61C196.63,57.67,164,44,128,44S59.37,57.67,33.51,83.52C14.16,102.87,5.4,122.32,5,123.13a12.08,12.08,0,0,0,0,9.75c.37.82,9.13,20.26,28.49,39.61C59.37,198.34,92,212,128,212s68.63-13.66,94.48-39.51c19.36-19.35,28.12-38.79,28.49-39.61A12.08,12.08,0,0,0,251,123.13Zm-46.06,33C183.47,177.27,157.59,188,128,188s-55.47-10.73-76.91-31.88A130.36,130.36,0,0,1,29.52,128,130.45,130.45,0,0,1,51.09,99.89C72.54,78.73,98.41,68,128,68s55.46,10.73,76.91,31.89A130.36,130.36,0,0,1,226.48,128,130.45,130.45,0,0,1,204.91,156.12ZM128,84a44,44,0,1,0,44,44A44.05,44.05,0,0,0,128,84Zm0,64a20,20,0,1,1,20-20A20,20,0,0,1,128,148Z"></path>'),Yy=$('<path d="M128,56C48,56,16,128,16,128s32,72,112,72,112-72,112-72S208,56,128,56Zm0,112a40,40,0,1,1,40-40A40,40,0,0,1,128,168Z" opacity="0.2"></path><path d="M247.31,124.76c-.35-.79-8.82-19.58-27.65-38.41C194.57,61.26,162.88,48,128,48S61.43,61.26,36.34,86.35C17.51,105.18,9,124,8.69,124.76a8,8,0,0,0,0,6.5c.35.79,8.82,19.57,27.65,38.4C61.43,194.74,93.12,208,128,208s66.57-13.26,91.66-38.34c18.83-18.83,27.3-37.61,27.65-38.4A8,8,0,0,0,247.31,124.76ZM128,192c-30.78,0-57.67-11.19-79.93-33.25A133.47,133.47,0,0,1,25,128,133.33,133.33,0,0,1,48.07,97.25C70.33,75.19,97.22,64,128,64s57.67,11.19,79.93,33.25A133.46,133.46,0,0,1,231.05,128C223.84,141.46,192.43,192,128,192Zm0-112a48,48,0,1,0,48,48A48.05,48.05,0,0,0,128,80Zm0,80a32,32,0,1,1,32-32A32,32,0,0,1,128,160Z"></path>',1),Ky=$('<path d="M247.31,124.76c-.35-.79-8.82-19.58-27.65-38.41C194.57,61.26,162.88,48,128,48S61.43,61.26,36.34,86.35C17.51,105.18,9,124,8.69,124.76a8,8,0,0,0,0,6.5c.35.79,8.82,19.57,27.65,38.4C61.43,194.74,93.12,208,128,208s66.57-13.26,91.66-38.34c18.83-18.83,27.3-37.61,27.65-38.4A8,8,0,0,0,247.31,124.76ZM128,168a40,40,0,1,1,40-40A40,40,0,0,1,128,168Z"></path>'),Qy=$('<path d="M245.48,125.57c-.34-.78-8.66-19.23-27.24-37.81C201,70.54,171.38,50,128,50S55,70.54,37.76,87.76c-18.58,18.58-26.9,37-27.24,37.81a6,6,0,0,0,0,4.88c.34.77,8.66,19.22,27.24,37.8C55,185.47,84.62,206,128,206s73-20.53,90.24-37.75c18.58-18.58,26.9-37,27.24-37.8A6,6,0,0,0,245.48,125.57ZM128,194c-31.38,0-58.78-11.42-81.45-33.93A134.77,134.77,0,0,1,22.69,128,134.56,134.56,0,0,1,46.55,95.94C69.22,73.42,96.62,62,128,62s58.78,11.42,81.45,33.94A134.56,134.56,0,0,1,233.31,128C226.94,140.21,195,194,128,194Zm0-112a46,46,0,1,0,46,46A46.06,46.06,0,0,0,128,82Zm0,80a34,34,0,1,1,34-34A34,34,0,0,1,128,162Z"></path>'),Jy=$('<path d="M247.31,124.76c-.35-.79-8.82-19.58-27.65-38.41C194.57,61.26,162.88,48,128,48S61.43,61.26,36.34,86.35C17.51,105.18,9,124,8.69,124.76a8,8,0,0,0,0,6.5c.35.79,8.82,19.57,27.65,38.4C61.43,194.74,93.12,208,128,208s66.57-13.26,91.66-38.34c18.83-18.83,27.3-37.61,27.65-38.4A8,8,0,0,0,247.31,124.76ZM128,192c-30.78,0-57.67-11.19-79.93-33.25A133.47,133.47,0,0,1,25,128,133.33,133.33,0,0,1,48.07,97.25C70.33,75.19,97.22,64,128,64s57.67,11.19,79.93,33.25A133.46,133.46,0,0,1,231.05,128C223.84,141.46,192.43,192,128,192Zm0-112a48,48,0,1,0,48,48A48.05,48.05,0,0,0,128,80Zm0,80a32,32,0,1,1,32-32A32,32,0,0,1,128,160Z"></path>'),$y=$('<path d="M243.66,126.38c-.34-.76-8.52-18.89-26.83-37.2C199.87,72.22,170.7,52,128,52S56.13,72.22,39.17,89.18c-18.31,18.31-26.49,36.44-26.83,37.2a4.08,4.08,0,0,0,0,3.25c.34.77,8.52,18.89,26.83,37.2,17,17,46.14,37.17,88.83,37.17s71.87-20.21,88.83-37.17c18.31-18.31,26.49-36.43,26.83-37.2A4.08,4.08,0,0,0,243.66,126.38Zm-32.7,35c-23.07,23-51,34.62-83,34.62s-59.89-11.65-83-34.62A135.71,135.71,0,0,1,20.44,128,135.69,135.69,0,0,1,45,94.62C68.11,71.65,96,60,128,60s59.89,11.65,83,34.62A135.79,135.79,0,0,1,235.56,128,135.71,135.71,0,0,1,211,161.38ZM128,84a44,44,0,1,0,44,44A44.05,44.05,0,0,0,128,84Zm0,80a36,36,0,1,1,36-36A36,36,0,0,1,128,164Z"></path>'),ex=$('<svg><!><rect width="256" height="256" fill="none"></rect><!></svg>');function th(i,t){Qe(t,!0);const e=Rt();let r=kt(t,["$$slots","$$events","$$legacy","children"]),n=re(()=>t.weight??e.weight??"regular"),o=re(()=>t.color??e.color??"currentColor"),a=re(()=>t.size??e.size??"1em"),s=re(()=>t.mirrored??e.mirrored??!1);function c(d){let{weight:g,color:b,size:S,mirrored:P,...k}=d;return k}var l=ex();Et(l,(d,g)=>({xmlns:"http://www.w3.org/2000/svg",role:"img",width:p(a),height:p(a),fill:p(o),transform:p(s)?"scale(-1, 1)":void 0,viewBox:"0 0 256 256",...d,...g}),[()=>c(e),()=>c(r)]);var u=G(l);{var h=d=>{var g=te(),b=X(g);xt(b,()=>t.children),x(d,g)};D(u,d=>{t.children&&d(h)})}var f=ue(u,2);{var v=d=>{var g=Xy();x(d,g)},_=d=>{var g=te(),b=X(g);{var S=k=>{var A=Yy();gt(),x(k,A)},P=k=>{var A=te(),N=X(A);{var Z=I=>{var O=Ky();x(I,O)},L=I=>{var O=te(),J=X(O);{var ee=z=>{var B=Qy();x(z,B)},ne=z=>{var B=te(),q=X(B);{var ae=F=>{var K=Jy();x(F,K)},oe=F=>{var K=te(),ye=X(K);{var Se=V=>{var M=$y();x(V,M)},he=V=>{var M=mt();M.nodeValue=(console.error('Unsupported icon weight. Choose from "thin", "light", "regular", "bold", "fill", or "duotone".'),""),x(V,M)};D(ye,V=>{p(n)==="thin"?V(Se):V(he,!1)},!0)}x(F,K)};D(q,F=>{p(n)==="regular"?F(ae):F(oe,!1)},!0)}x(z,B)};D(J,z=>{p(n)==="light"?z(ee):z(ne,!1)},!0)}x(I,O)};D(N,I=>{p(n)==="fill"?I(Z):I(L,!1)},!0)}x(k,A)};D(b,k=>{p(n)==="duotone"?k(S):k(P,!1)},!0)}x(d,g)};D(f,d=>{p(n)==="bold"?d(v):d(_,!1)})}U(l),x(i,l),Je()}var tx=$('<path d="M56.88,31.93A12,12,0,1,0,39.12,48.07l16,17.65C20.67,88.66,5.72,121.58,5,123.13a12.08,12.08,0,0,0,0,9.75c.37.82,9.13,20.26,28.49,39.61C59.37,198.34,92,212,128,212a131.34,131.34,0,0,0,51-10l20.09,22.1a12,12,0,0,0,17.76-16.14ZM128,188c-29.59,0-55.47-10.73-76.91-31.88A130.69,130.69,0,0,1,29.52,128c5.27-9.31,18.79-29.9,42-44.29l90.09,99.11A109.33,109.33,0,0,1,128,188Zm123-55.12c-.36.81-9,20-28,39.16a12,12,0,1,1-17-16.9A130.48,130.48,0,0,0,226.48,128a130.36,130.36,0,0,0-21.57-28.12C183.46,78.73,157.59,68,128,68c-3.35,0-6.7.14-10,.42a12,12,0,1,1-2-23.91c3.93-.34,8-.51,12-.51,36,0,68.63,13.67,94.49,39.52,19.35,19.35,28.11,38.8,28.48,39.61A12.08,12.08,0,0,1,251,132.88Z"></path>'),rx=$('<path d="M128,56C48,56,16,128,16,128s32,72,112,72,112-72,112-72S208,56,128,56Zm0,112a40,40,0,1,1,40-40A40,40,0,0,1,128,168Z" opacity="0.2"></path><path d="M53.92,34.62A8,8,0,1,0,42.08,45.38L61.32,66.55C25,88.84,9.38,123.2,8.69,124.76a8,8,0,0,0,0,6.5c.35.79,8.82,19.57,27.65,38.4C61.43,194.74,93.12,208,128,208a127.11,127.11,0,0,0,52.07-10.83l22,24.21a8,8,0,1,0,11.84-10.76Zm47.33,75.84,41.67,45.85a32,32,0,0,1-41.67-45.85ZM128,192c-30.78,0-57.67-11.19-79.93-33.25A133.16,133.16,0,0,1,25,128c4.69-8.79,19.66-33.39,47.35-49.38l18,19.75a48,48,0,0,0,63.66,70l14.73,16.2A112,112,0,0,1,128,192Zm6-95.43a8,8,0,0,1,3-15.72,48.16,48.16,0,0,1,38.77,42.64,8,8,0,0,1-7.22,8.71,6.39,6.39,0,0,1-.75,0,8,8,0,0,1-8-7.26A32.09,32.09,0,0,0,134,96.57Zm113.28,34.69c-.42.94-10.55,23.37-33.36,43.8a8,8,0,1,1-10.67-11.92A132.77,132.77,0,0,0,231.05,128a133.15,133.15,0,0,0-23.12-30.77C185.67,75.19,158.78,64,128,64a118.37,118.37,0,0,0-19.36,1.57A8,8,0,1,1,106,49.79,134,134,0,0,1,128,48c34.88,0,66.57,13.26,91.66,38.35,18.83,18.83,27.3,37.62,27.65,38.41A8,8,0,0,1,247.31,131.26Z"></path>',1),ix=$('<path d="M96.68,57.87a4,4,0,0,1,2.08-6.6A130.13,130.13,0,0,1,128,48c34.88,0,66.57,13.26,91.66,38.35,18.83,18.83,27.3,37.62,27.65,38.41a8,8,0,0,1,0,6.5c-.35.79-8.82,19.57-27.65,38.4q-4.28,4.26-8.79,8.07a4,4,0,0,1-5.55-.36ZM213.92,210.62a8,8,0,1,1-11.84,10.76L180,197.13A127.21,127.21,0,0,1,128,208c-34.88,0-66.57-13.26-91.66-38.34C17.51,150.83,9,132.05,8.69,131.26a8,8,0,0,1,0-6.5C9,124,17.51,105.18,36.34,86.35a135,135,0,0,1,25-19.78L42.08,45.38A8,8,0,1,1,53.92,34.62Zm-65.49-48.25-52.69-58a40,40,0,0,0,52.69,58Z"></path>'),nx=$('<path d="M52.44,36A6,6,0,0,0,43.56,44L64.44,67c-37.28,21.9-53.23,57-53.92,58.57a6,6,0,0,0,0,4.88c.34.77,8.66,19.22,27.24,37.8C55,185.47,84.62,206,128,206a124.91,124.91,0,0,0,52.57-11.25l23,25.29a6,6,0,0,0,8.88-8.08Zm48.62,71.32,45,49.52a34,34,0,0,1-45-49.52ZM128,194c-31.38,0-58.78-11.42-81.45-33.93A134.57,134.57,0,0,1,22.69,128c4.29-8.2,20.1-35.18,50-51.91L92.89,98.3a46,46,0,0,0,61.35,67.48l17.81,19.6A113.47,113.47,0,0,1,128,194Zm6.4-99.4a6,6,0,0,1,2.25-11.79,46.17,46.17,0,0,1,37.15,40.87,6,6,0,0,1-5.42,6.53l-.56,0a6,6,0,0,1-6-5.45A34.1,34.1,0,0,0,134.4,94.6Zm111.08,35.85c-.41.92-10.37,23-32.86,43.12a6,6,0,1,1-8-8.94A134.07,134.07,0,0,0,233.31,128a134.67,134.67,0,0,0-23.86-32.07C186.78,73.42,159.38,62,128,62a120.19,120.19,0,0,0-19.69,1.6,6,6,0,1,1-2-11.83A131.12,131.12,0,0,1,128,50c43.38,0,73,20.54,90.24,37.76,18.58,18.58,26.9,37,27.24,37.81A6,6,0,0,1,245.48,130.45Z"></path>'),ox=$('<path d="M53.92,34.62A8,8,0,1,0,42.08,45.38L61.32,66.55C25,88.84,9.38,123.2,8.69,124.76a8,8,0,0,0,0,6.5c.35.79,8.82,19.57,27.65,38.4C61.43,194.74,93.12,208,128,208a127.11,127.11,0,0,0,52.07-10.83l22,24.21a8,8,0,1,0,11.84-10.76Zm47.33,75.84,41.67,45.85a32,32,0,0,1-41.67-45.85ZM128,192c-30.78,0-57.67-11.19-79.93-33.25A133.16,133.16,0,0,1,25,128c4.69-8.79,19.66-33.39,47.35-49.38l18,19.75a48,48,0,0,0,63.66,70l14.73,16.2A112,112,0,0,1,128,192Zm6-95.43a8,8,0,0,1,3-15.72,48.16,48.16,0,0,1,38.77,42.64,8,8,0,0,1-7.22,8.71,6.39,6.39,0,0,1-.75,0,8,8,0,0,1-8-7.26A32.09,32.09,0,0,0,134,96.57Zm113.28,34.69c-.42.94-10.55,23.37-33.36,43.8a8,8,0,1,1-10.67-11.92A132.77,132.77,0,0,0,231.05,128a133.15,133.15,0,0,0-23.12-30.77C185.67,75.19,158.78,64,128,64a118.37,118.37,0,0,0-19.36,1.57A8,8,0,1,1,106,49.79,134,134,0,0,1,128,48c34.88,0,66.57,13.26,91.66,38.35,18.83,18.83,27.3,37.62,27.65,38.41A8,8,0,0,1,247.31,131.26Z"></path>'),ax=$('<path d="M51,37.31A4,4,0,0,0,45,42.69L67.59,67.5C29.34,89,13,124.81,12.34,126.38a4.08,4.08,0,0,0,0,3.25c.34.77,8.52,18.89,26.83,37.2,17,17,46.14,37.17,88.83,37.17a122.59,122.59,0,0,0,53.06-11.69l24,26.38a4,4,0,1,0,5.92-5.38ZM149.1,157.16A36,36,0,0,1,101,104.22ZM128,196c-32,0-59.89-11.65-83-34.62A135.81,135.81,0,0,1,20.44,128c3.65-7.23,20.09-36.81,52.68-54.43l22.45,24.7a44,44,0,0,0,59,64.83l20.89,23A114.94,114.94,0,0,1,128,196Zm6.78-103.36a4,4,0,0,1,1.49-7.86,44.15,44.15,0,0,1,35.54,39.09,4,4,0,0,1-3.61,4.35l-.38,0a4,4,0,0,1-4-3.63A36.1,36.1,0,0,0,134.78,92.64Zm108.88,37c-.41.91-10.2,22.58-32.38,42.45a4,4,0,0,1-2.67,1,4,4,0,0,1-2.67-7A136.71,136.71,0,0,0,235.56,128,136.07,136.07,0,0,0,211,94.62C187.89,71.65,160,60,128,60a122,122,0,0,0-20,1.63,4,4,0,0,1-1.32-7.89A129.3,129.3,0,0,1,128,52c42.7,0,71.87,20.22,88.83,37.18,18.31,18.31,26.49,36.44,26.83,37.2A4.08,4.08,0,0,1,243.66,129.63Z"></path>'),sx=$('<svg><!><rect width="256" height="256" fill="none"></rect><!></svg>');function rh(i,t){Qe(t,!0);const e=Rt();let r=kt(t,["$$slots","$$events","$$legacy","children"]),n=re(()=>t.weight??e.weight??"regular"),o=re(()=>t.color??e.color??"currentColor"),a=re(()=>t.size??e.size??"1em"),s=re(()=>t.mirrored??e.mirrored??!1);function c(d){let{weight:g,color:b,size:S,mirrored:P,...k}=d;return k}var l=sx();Et(l,(d,g)=>({xmlns:"http://www.w3.org/2000/svg",role:"img",width:p(a),height:p(a),fill:p(o),transform:p(s)?"scale(-1, 1)":void 0,viewBox:"0 0 256 256",...d,...g}),[()=>c(e),()=>c(r)]);var u=G(l);{var h=d=>{var g=te(),b=X(g);xt(b,()=>t.children),x(d,g)};D(u,d=>{t.children&&d(h)})}var f=ue(u,2);{var v=d=>{var g=tx();x(d,g)},_=d=>{var g=te(),b=X(g);{var S=k=>{var A=rx();gt(),x(k,A)},P=k=>{var A=te(),N=X(A);{var Z=I=>{var O=ix();x(I,O)},L=I=>{var O=te(),J=X(O);{var ee=z=>{var B=nx();x(z,B)},ne=z=>{var B=te(),q=X(B);{var ae=F=>{var K=ox();x(F,K)},oe=F=>{var K=te(),ye=X(K);{var Se=V=>{var M=ax();x(V,M)},he=V=>{var M=mt();M.nodeValue=(console.error('Unsupported icon weight. Choose from "thin", "light", "regular", "bold", "fill", or "duotone".'),""),x(V,M)};D(ye,V=>{p(n)==="thin"?V(Se):V(he,!1)},!0)}x(F,K)};D(q,F=>{p(n)==="regular"?F(ae):F(oe,!1)},!0)}x(z,B)};D(J,z=>{p(n)==="light"?z(ee):z(ne,!1)},!0)}x(I,O)};D(N,I=>{p(n)==="fill"?I(Z):I(L,!1)},!0)}x(k,A)};D(b,k=>{p(n)==="duotone"?k(S):k(P,!1)},!0)}x(d,g)};D(f,d=>{p(n)==="bold"?d(v):d(_,!1)})}U(l),x(i,l),Je()}var lx=$('<svg class="fixed inset-0 z-50 pointer-events-none drop-shadow-md text-primary" style="width: 100vw; height: 100vh;"><line stroke="currentColor" stroke-width="2"></line><circle r="3" fill="currentColor"></circle><circle r="3" fill="currentColor"></circle></svg>'),cx=me('<span class="text-xs opacity-50 truncate max-w-[150px]"> </span>'),ux=me('<span class="badge badge-primary badge-outline badge-sm"> </span>'),hx=me('<a target="_blank" rel="noopener noreferrer" class="flex items-center gap-1 text-primary hover:underline hover:text-primary-focus p-1 rounded hover:bg-base-200 -ml-1 transition-colors"><svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" fill="currentColor" viewBox="0 0 256 256"><path d="M136.37,187.53a12,12,0,0,1,0,17l-5.94,5.94a60,60,0,0,1-84.88-84.88l24.12-24.12A60,60,0,0,1,152.06,99,12,12,0,1,1,135,116a36,36,0,0,0-50.93,1.57L60,141.66a36,36,0,0,0,50.93,50.93l5.94-5.94A12,12,0,0,1,136.37,187.53Zm81.51-149.41a60,60,0,0,0-84.88,0l-5.94,5.94a12,12,0,0,0,17,17l5.94-5.94a36,36,0,0,1,50.93,50.93l-24.11,24.12A36,36,0,0,1,121,140a12,12,0,1,0-17.08,17,60,60,0,0,0,82.39,2.46l24.12-24.12A60,60,0,0,0,217.88,38.12Z"></path></svg> <span class="truncate max-w-[200px]"> </span></a>'),dx=me('<div class="flex flex-wrap gap-2 pointer-events-auto"><!></div>'),fx=me('<span class="opacity-50 italic text-xs">(No content)</span>'),px=me('<div class="w-full text-left p-3 hover:bg-base-300 transition-colors cursor-pointer flex gap-3 group/item items-start focus:outline-none focus:bg-base-300 relative" role="button" tabindex="0"><button class="btn btn-xs btn-circle btn-ghost mt-0.5 shrink-0"><!></button> <div class="flex-1 min-w-0 pointer-events-none"><div class="flex items-start justify-between"><span class="font-bold text-sm text-primary"> </span> <!></div> <div><!> <!></div></div></div>'),gx=me('<div class="p-4 text-center opacity-50 text-sm">No annotations available.</div>'),vx=me('<div class="absolute top-4 right-4 z-40 pointer-events-auto transition-all duration-300"><details class="group relative"><summary class="flex items-center gap-2 bg-base-200/90 backdrop-blur shadow-lg rounded-full px-4 py-2 cursor-pointer list-none hover:bg-base-200 transition-all select-none border border-base-300 pointer-events-auto"><button class="btn btn-xs btn-circle btn-ghost"><!></button> <span class="text-sm font-medium"> <span class="opacity-50 text-xs font-normal ml-1"> </span></span> <!></summary> <div class="absolute right-0 mt-2 w-96 bg-base-200/95 backdrop-blur shadow-xl rounded-box p-0 max-h-[60vh] overflow-y-auto border border-base-300 flex flex-col divide-y divide-base-300"></div></details></div>'),mx=me("<!> <!>",1);function _x(i,t){Qe(t,!0);const e=Wr(Gi);let r=re(()=>{if(!e.manifestId||!e.canvasId)return[];const b=$r.getAnnotations(e.manifestId,e.canvasId),S=e.currentCanvasSearchAnnotations;return[...b,...S]});function n(b){return b.id||b["@id"]||(typeof b.getId=="function"?b.getId():"")||""}st(()=>{var b;if(p(r).length>0){const S=((b=e.config.annotations)==null?void 0:b.visible)??!0;e.visibleAnnotationIds.clear(),S&&p(r).forEach(P=>{const k=n(P);k&&e.visibleAnnotationIds.add(k)})}else e.visibleAnnotationIds.clear()});let o=re(()=>p(r).length===0?!1:p(r).every(b=>{const S=n(b);return!S||e.visibleAnnotationIds.has(S)}));function a(b){e.visibleAnnotationIds.has(b)?e.visibleAnnotationIds.delete(b):e.visibleAnnotationIds.add(b)}function s(){p(o)?e.visibleAnnotationIds.clear():(e.visibleAnnotationIds.clear(),p(r).forEach(b=>{const S=n(b);S&&e.visibleAnnotationIds.add(S)}))}let c=Ae(null),l=Ae(void 0),u=Ae(null);st(()=>{if(!p(c)){be(u,null);return}const b=()=>{let P=document;if(p(l)){const N=p(l).getRootNode();(N instanceof Document||N instanceof ShadowRoot)&&(P=N)}const k=P.getElementById(`annotation-list-item-${p(c)}`),A=P.getElementById(`annotation-visual-${p(c)}`);if(k&&A){const N=k.getBoundingClientRect(),Z=A.getBoundingClientRect(),L=N.left,I=N.top+N.height/2,O=Z.left+Z.width/2,J=Z.top+Z.height/2;be(u,{x1:L,y1:I,x2:O,y2:J},!0)}else be(u,null)};b();const S=setInterval(b,16);return()=>clearInterval(S)});let h=re(()=>p(r).length?p(r).map(b=>{const S=mu(b);return{id:n(b),bodies:S,label:(typeof b.getLabel=="function"?b.getLabel():b.label)||""}}):[]);var f=mx(),v=X(f);{var _=b=>{var S=lx(),P=G(S),k=ue(P),A=ue(k);U(S),Oe(()=>{Ne(P,"x1",p(u).x1),Ne(P,"y1",p(u).y1),Ne(P,"x2",p(u).x2),Ne(P,"y2",p(u).y2),Ne(k,"cx",p(u).x1),Ne(k,"cy",p(u).y1),Ne(A,"cx",p(u).x2),Ne(A,"cy",p(u).y2)}),x(b,S)};D(v,b=>{p(u)&&b(_)})}var d=ue(v,2);{var g=b=>{var S=vx(),P=G(S),k=G(P),A=G(k);A.__click=B=>{B.preventDefault(),s()};var N=G(A);{var Z=B=>{th(B,{size:16,weight:"bold"})},L=B=>{rh(B,{size:16,weight:"bold"})};D(N,B=>{p(o)?B(Z):B(L,!1)})}U(A);var I=ue(A,2),O=G(I),J=ue(O),ee=G(J,!0);U(J),U(I);var ne=ue(I,2);qy(ne,{size:16,weight:"bold",class:"group-open:rotate-180 transition-transform opacity-80"}),U(k);var z=ue(k,2);Ut(z,23,()=>p(h),B=>B.id,(B,q,ae)=>{const oe=re(()=>e.visibleAnnotationIds.has(p(q).id));var F=px();F.__click=fe=>{fe.preventDefault(),a(p(q).id)};var K=G(F);K.__click=fe=>{fe.stopPropagation(),a(p(q).id)};var ye=G(K);{var Se=fe=>{th(fe,{size:16,weight:"bold"})},he=fe=>{rh(fe,{size:16,weight:"bold"})};D(ye,fe=>{p(oe)?fe(Se):fe(he,!1)})}U(K);var V=ue(K,2),M=G(V),j=G(M),le=G(j);U(j);var se=ue(j,2);{var Ce=fe=>{var Pe=cx(),Ye=G(Pe,!0);U(Pe),Oe(()=>qe(Ye,p(q).label)),x(fe,Pe)};D(se,fe=>{p(q).label&&!p(q).bodies.some(Pe=>Pe.value===p(q).label)&&fe(Ce)})}U(M);var pe=ue(M,2),Te=G(pe);Ut(Te,17,()=>p(q).bodies,Ni,(fe,Pe,Ye,m)=>{var T=dx(),H=G(T);{var ie=ve=>{var Q=ux(),Ie=G(Q,!0);U(Q),Oe(()=>qe(Ie,p(Pe).value)),x(ve,Q)},ce=ve=>{var Q=te(),Ie=X(Q);{var Ve=ke=>{var Xe=hx();Xe.__click=E=>E.stopPropagation();var y=ue(G(Xe),2),w=G(y,!0);U(y),U(Xe),Oe(()=>{Ne(Xe,"href",p(Pe).value),qe(w,p(Pe).value)}),x(ke,Xe)},je=ke=>{var Xe=te(),y=X(Xe);{var w=C=>{var Y=te(),de=X(Y);Cr(de,()=>p(Pe).value),x(C,Y)},E=C=>{var Y=mt();Oe(()=>qe(Y,p(Pe).value||"(No content)")),x(C,Y)};D(y,C=>{p(Pe).isHtml?C(w):C(E,!1)})}x(ke,Xe)};D(Ie,ke=>{p(Pe).purpose==="linking"?ke(Ve):ke(je,!1)},!0)}x(ve,Q)};D(H,ve=>{p(Pe).purpose==="tagging"?ve(ie):ve(ce,!1)})}U(T),x(fe,T)});var Ee=ue(Te,2);{var xe=fe=>{var Pe=fx();x(fe,Pe)};D(Ee,fe=>{p(q).bodies.length===0&&fe(xe)})}U(pe),U(V),U(F),Oe(()=>{Ne(F,"id",`annotation-list-item-${p(q).id??""}`),qe(le,`#${p(ae)+1}`),He(pe,1,`text-sm prose prose-sm max-w-none prose-p:my-0 prose-a:text-blue-500 wrap-break-word text-left ${p(oe)?"":"opacity-50"} space-y-2`)}),Po("mouseenter",F,()=>be(c,p(q).id,!0)),Po("mouseleave",F,()=>be(c,null)),Po("keypress",F,fe=>{(fe.key==="Enter"||fe.key===" ")&&(fe.preventDefault(),a(p(q).id))}),x(B,F)},B=>{var q=gx();x(B,q)}),U(z),U(P),U(S),ji(S,B=>be(l,B),()=>p(l)),Oe((B,q,ae)=>{Ne(A,"title",B),qe(O,`${q??""} `),qe(ee,ae)},[()=>p(o)?Du():Lu(),()=>zu({count:p(r).length}),()=>Hu({count:e.visibleAnnotationIds.size})]),x(b,S)};D(d,b=>{e.showAnnotations&&b(g)})}x(i,f),Je()}Qr(["click"]);var wx=$('<path d="M208.49,191.51a12,12,0,0,1-17,17L128,145,64.49,208.49a12,12,0,0,1-17-17L111,128,47.51,64.49a12,12,0,0,1,17-17L128,111l63.51-63.52a12,12,0,0,1,17,17L145,128Z"></path>'),bx=$('<path d="M216,56V200a16,16,0,0,1-16,16H56a16,16,0,0,1-16-16V56A16,16,0,0,1,56,40H200A16,16,0,0,1,216,56Z" opacity="0.2"></path><path d="M205.66,194.34a8,8,0,0,1-11.32,11.32L128,139.31,61.66,205.66a8,8,0,0,1-11.32-11.32L116.69,128,50.34,61.66A8,8,0,0,1,61.66,50.34L128,116.69l66.34-66.35a8,8,0,0,1,11.32,11.32L139.31,128Z"></path>',1),yx=$('<path d="M208,32H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V48A16,16,0,0,0,208,32ZM181.66,170.34a8,8,0,0,1-11.32,11.32L128,139.31,85.66,181.66a8,8,0,0,1-11.32-11.32L116.69,128,74.34,85.66A8,8,0,0,1,85.66,74.34L128,116.69l42.34-42.35a8,8,0,0,1,11.32,11.32L139.31,128Z"></path>'),xx=$('<path d="M204.24,195.76a6,6,0,1,1-8.48,8.48L128,136.49,60.24,204.24a6,6,0,0,1-8.48-8.48L119.51,128,51.76,60.24a6,6,0,0,1,8.48-8.48L128,119.51l67.76-67.75a6,6,0,0,1,8.48,8.48L136.49,128Z"></path>'),Tx=$('<path d="M205.66,194.34a8,8,0,0,1-11.32,11.32L128,139.31,61.66,205.66a8,8,0,0,1-11.32-11.32L116.69,128,50.34,61.66A8,8,0,0,1,61.66,50.34L128,116.69l66.34-66.35a8,8,0,0,1,11.32,11.32L139.31,128Z"></path>'),Ex=$('<path d="M202.83,197.17a4,4,0,0,1-5.66,5.66L128,133.66,58.83,202.83a4,4,0,0,1-5.66-5.66L122.34,128,53.17,58.83a4,4,0,0,1,5.66-5.66L128,122.34l69.17-69.17a4,4,0,1,1,5.66,5.66L133.66,128Z"></path>'),kx=$('<svg><!><rect width="256" height="256" fill="none"></rect><!></svg>');function As(i,t){Qe(t,!0);const e=Rt();let r=kt(t,["$$slots","$$events","$$legacy","children"]),n=re(()=>t.weight??e.weight??"regular"),o=re(()=>t.color??e.color??"currentColor"),a=re(()=>t.size??e.size??"1em"),s=re(()=>t.mirrored??e.mirrored??!1);function c(d){let{weight:g,color:b,size:S,mirrored:P,...k}=d;return k}var l=kx();Et(l,(d,g)=>({xmlns:"http://www.w3.org/2000/svg",role:"img",width:p(a),height:p(a),fill:p(o),transform:p(s)?"scale(-1, 1)":void 0,viewBox:"0 0 256 256",...d,...g}),[()=>c(e),()=>c(r)]);var u=G(l);{var h=d=>{var g=te(),b=X(g);xt(b,()=>t.children),x(d,g)};D(u,d=>{t.children&&d(h)})}var f=ue(u,2);{var v=d=>{var g=wx();x(d,g)},_=d=>{var g=te(),b=X(g);{var S=k=>{var A=bx();gt(),x(k,A)},P=k=>{var A=te(),N=X(A);{var Z=I=>{var O=yx();x(I,O)},L=I=>{var O=te(),J=X(O);{var ee=z=>{var B=xx();x(z,B)},ne=z=>{var B=te(),q=X(B);{var ae=F=>{var K=Tx();x(F,K)},oe=F=>{var K=te(),ye=X(K);{var Se=V=>{var M=Ex();x(V,M)},he=V=>{var M=mt();M.nodeValue=(console.error('Unsupported icon weight. Choose from "thin", "light", "regular", "bold", "fill", or "duotone".'),""),x(V,M)};D(ye,V=>{p(n)==="thin"?V(Se):V(he,!1)},!0)}x(F,K)};D(q,F=>{p(n)==="regular"?F(ae):F(oe,!1)},!0)}x(z,B)};D(J,z=>{p(n)==="light"?z(ee):z(ne,!1)},!0)}x(I,O)};D(N,I=>{p(n)==="fill"?I(Z):I(L,!1)},!0)}x(k,A)};D(b,k=>{p(n)==="duotone"?k(S):k(P,!1)},!0)}x(d,g)};D(f,d=>{p(n)==="bold"?d(v):d(_,!1)})}U(l),x(i,l),Je()}var Sx=me('<button class="absolute top-1 right-1 btn btn-error btn-xs btn-circle z-20" aria-label="Close Gallery"><!></button>'),Cx=me('<div><div role="button" tabindex="0" aria-label="Drag Gallery"><div></div></div></div>'),Px=me('<img loading="lazy" draggable="false"/>'),Ax=me('<span class="opacity-20 text-4xl">?</span>'),Rx=me('<img loading="lazy" draggable="false"/>'),Ix=me('<span class="opacity-20 text-4xl">?</span>'),Ox=me("<div><!></div>"),Mx=me('<button><div><div><!></div> <!></div> <div class="text-xs font-medium truncate w-full opacity-70 group-hover:opacity-100"><span class="font-bold mr-1"> </span> </div></button>'),Dx=me('<img loading="lazy" draggable="false"/>'),Lx=me('<span class="opacity-20 text-4xl">?</span>'),zx=me('<button><div><!></div> <div class="text-xs font-medium truncate w-full opacity-70 group-hover:opacity-100"><span class="font-bold mr-1"> </span> </div></button>'),Hx=me('<div class="absolute bottom-0 right-0 w-6 h-6 cursor-se-resize resize-handle bg-accent hover:bg-accent-focus transition-colors z-50" style="clip-path: polygon(100% 0, 0 100%, 100% 100%);" role="button" tabindex="0" aria-label="Resize"></div>'),Nx=me('<div role="group"><span class="font-bold text-primary opacity-50">Dock Top</span></div> <div role="group"><span class="font-bold text-primary opacity-50">Dock Bottom</span></div> <div role="group"><span class="font-bold text-primary opacity-50 vertical-rl rotate-180" style="writing-mode: vertical-rl;">Dock Left</span></div> <div role="group"><span class="font-bold text-primary opacity-50 vertical-rl rotate-180" style="writing-mode: vertical-rl;">Dock Right</span></div>',1),Fx=me("<div><!> <!> <div><div><!></div></div> <!></div> <!>",1);function yn(i,t){Qe(t,!0);const e=Wr(Gi);let r=re(()=>{var L;return((L=e.config.gallery)==null?void 0:L.draggable)??!0}),n=re(()=>{var L;return((L=e.config.gallery)==null?void 0:L.showCloseButton)??!0}),o=Ae(!1),a={x:0,y:0,w:0,h:0},s=Ae(null);st(()=>{var L,I,O,J;(L=e.config.gallery)!=null&&L.width&&((I=e.config.gallery)!=null&&I.height)&&(e.gallerySize={width:e.config.gallery.width,height:e.config.gallery.height}),((O=e.config.gallery)==null?void 0:O.x)!==void 0&&((J=e.config.gallery)==null?void 0:J.y)!==void 0&&(e.galleryPosition={x:e.config.gallery.x,y:e.config.gallery.y})});let c=re(()=>!t.canvases||!Array.isArray(t.canvases)?[]:t.canvases.map((L,I)=>{let O="";try{if(L.getThumbnail){const J=L.getThumbnail();J&&(O=typeof J=="string"?J:J.id||J["@id"])}}catch{console.warn("Error getting thumbnail")}if(!O){let J=L.getImages();if((!J||!J.length)&&L.getContent&&(J=L.getContent()),J&&J.length>0){const ee=J[0];let ne=ee.getResource?ee.getResource():null;if(!ne&&ee.getBody){const z=ee.getBody();Array.isArray(z)&&z.length>0?ne=z[0]:z&&(ne=z)}if(ne&&!ne.id&&!ne.__jsonld&&(!ne.getServices||ne.getServices().length===0)&&(ne=null),!ne){const z=ee.__jsonld||ee;z.body&&(ne=Array.isArray(z.body)?z.body[0]:z.body)}if(ne){const B=(()=>{let ae=[];if(ne.getServices&&(ae=ne.getServices()),!ae||ae.length===0){const oe=ne.__jsonld||ne;oe.service&&(ae=Array.isArray(oe.service)?oe.service:[oe.service])}return ae})();let q=!1;if(B.length>0){const ae=B[0];let oe="";try{if(oe=ae.getProfile?ae.getProfile():ae.profile||"",typeof oe=="object"&&oe){const ye=oe;oe=ye.value||ye.id||ye["@id"]||JSON.stringify(ye)}}catch{}const F=String(oe??"").toLowerCase();(F.includes("level0")||F.includes("level-0"))&&(q=!0);const K=ae.id||ae["@id"];q||(O=`${K}/full/200,/0/default.jpg`)}if(!O&&(O=ne.id||ne["@id"],!O)){let ae=null;if(ee.__jsonld&&ee.__jsonld.body?ae=ee.__jsonld.body:ee.body&&(ae=ee.body),ae){const oe=Array.isArray(ae)?ae[0]:ae;O=oe.id||oe["@id"]}}}}}return{id:L.id,label:L.getLabel().length?L.getLabel()[0].value:`Canvas ${I+1}`,src:O,index:I}}));function l(L){if(!e.isGalleryDragging)return;let I=L.clientX-e.galleryDragOffset.x,O=L.clientY-e.galleryDragOffset.y;const J=Math.max(0,window.innerWidth-e.gallerySize.width),ee=Math.max(0,window.innerHeight-e.gallerySize.height);I=Math.max(0,Math.min(I,J)),O=Math.max(0,Math.min(O,ee)),e.galleryPosition={x:I,y:O};const ne=e.galleryCenterPanelRect;if(!ne){console.warn("[Gallery] No center panel rect available");return}const z=L.clientX,B=L.clientY,q=60;e.dragOverSide=null,z>=ne.left&&z<=ne.left+q?e.dragOverSide="left":z<=ne.right&&z>=ne.right-q?e.dragOverSide="right":B>=ne.top&&B<=ne.top+q?e.dragOverSide="top":B<=ne.bottom&&B>=ne.bottom-q&&(e.dragOverSide="bottom")}function u(){const L=e.dragOverSide;console.log("[Gallery] stopDrag. dropTarget:",L),e.isGalleryDragging=!1,e.dragOverSide=null,window.removeEventListener("mousemove",l),window.removeEventListener("mouseup",u),L&&(e.dockSide=L)}function h(L){L.stopPropagation(),be(o,!0),a={x:L.clientX,y:L.clientY,w:e.gallerySize.width,h:e.gallerySize.height},window.addEventListener("mousemove",f),window.addEventListener("mouseup",v)}function f(L){if(!p(o))return;const I=L.clientX-a.x,O=L.clientY-a.y;e.gallerySize={width:Math.max(200,a.w+I),height:Math.max(200,a.h+O)}}function v(){be(o,!1),window.removeEventListener("mousemove",f),window.removeEventListener("mouseup",v)}function _(L){if(e.viewingMode==="paged"){const I=p(c).findIndex(J=>J.id===L),O=e.pagedOffset;if(I<O)e.setCanvas(L);else if((I-O)%2===0)e.setCanvas(L);else{const ee=p(c)[I-1];e.setCanvas(ee.id)}}else e.setCanvas(L)}let d=Ae(wt(e.dockSide));st(()=>{const L=e.dockSide;be(d,L==="none"||L==="top"||L==="bottom"||L==="left"||L==="right"?L:"none",!0)}),st(()=>{e.dockSide!==p(d)&&(e.dockSide=p(d),e.isGalleryDockedBottom=p(d)==="bottom",e.isGalleryDockedRight=p(d)==="right")}),st(()=>{if(!p(s)||!e.canvasId)return;const L=e.canvasId,I=p(s).querySelector(`[data-id="${CSS.escape(L)}"]`);I&&I.scrollIntoView({behavior:"smooth",block:"nearest",inline:"center"})});let g=re(()=>p(d)==="top"||p(d)==="bottom"||p(d)==="none"&&e.gallerySize.height<320),b=re(()=>e.galleryFixedHeight);function S(L){var ee,ne;if(!p(r)||L.target.closest(".resize-handle"))return;const I=p(d)!=="none";if(I){let z=Math.max(0,L.clientX-150),B=Math.max(0,L.clientY-20);const q=Math.max(0,window.innerWidth-300),ae=Math.max(0,window.innerHeight-400);z=Math.min(z,q),B=Math.min(B,ae),e.galleryPosition={x:z,y:B},e.galleryDragOffset={x:L.clientX-z,y:L.clientY-B}}else e.galleryDragOffset={x:L.clientX-e.galleryPosition.x,y:L.clientY-e.galleryPosition.y};const O=(ee=p(s))==null?void 0:ee.getRootNode(),J=((ne=O==null?void 0:O.getElementById)==null?void 0:ne.call(O,"triiiceratops-center-panel"))??document.getElementById("triiiceratops-center-panel");J?(e.galleryCenterPanelRect=J.getBoundingClientRect(),console.log("[Gallery] Captured center panel rect:",e.galleryCenterPanelRect)):console.warn("[Gallery] Could not find center panel in startDrag"),e.isGalleryDragging=!0,window.addEventListener("mousemove",l),window.addEventListener("mouseup",u),I&&be(d,"none")}const P=re(()=>{const L=[];if(e.viewingMode==="paged"&&t.canvases){const I=e.pagedOffset;for(let O=0;O<I&&O<t.canvases.length;O++)L.push(O);for(let O=I;O<t.canvases.length;O+=2)L.push(O)}return L}),k=re(()=>{const L=[],I=p(c),O=e.pagedOffset;for(const J of p(P)){const ee=I[J],ne=J<O?null:I[J+1],z=ee.id,B=ee.label,q=[ee.src];ne&&q.push(ne.src),L.push({id:z,label:B,srcs:q,index:J})}return L});var A=te(),N=X(A);{var Z=L=>{var I=Fx(),O=X(I),J=G(O);{var ee=V=>{var M=Sx();M.__click=()=>e.toggleThumbnailGallery();var j=G(M);As(j,{size:16,weight:"bold"}),U(M),x(V,M)};D(J,V=>{p(n)&&V(ee)})}var ne=ue(J,2);{var z=V=>{var M=Cx(),j=G(M);j.__mousedown=S;var le=G(j);U(j),U(M),Oe(()=>{He(M,1,"bg-base-100 flex shrink-0 select-none relative "+(p(d)==="bottom"||p(d)==="top"?"flex-row h-full items-center border-r border-base-200":"flex-col w-full border-b border-base-200")),He(j,1,"cursor-move flex items-center justify-center hover:bg-base-200/50 active:bg-base-200 transition-colors "+(p(d)==="bottom"||p(d)==="top"?"w-8 h-full":"h-6 w-full")),He(le,1,"bg-base-300 rounded-full "+(p(d)==="bottom"||p(d)==="top"?"w-1.5 h-12":"w-12 h-1.5"))}),x(V,M)};D(ne,V=>{(p(r)||p(d)==="none")&&V(z)})}var B=ue(ne,2),q=G(B),ae=G(q);{var oe=V=>{var M=te(),j=X(M);Ut(j,17,()=>p(k),Ni,(le,se)=>{var Ce=Mx();Ce.__click=()=>_(p(se).id);var pe=G(Ce),Te=G(pe),Ee=G(Te);{var xe=ce=>{var ve=Px();Oe(()=>{Ne(ve,"src",p(se).srcs[0]),Ne(ve,"alt",p(se).label),He(ve,1,`object-contain ${p(g)?"h-full w-auto":"w-full h-full"} ${p(se).srcs.length>1?"object-right":"object-center"}`)}),x(ce,ve)},fe=ce=>{var ve=Ax();x(ce,ve)};D(Ee,ce=>{p(se).srcs[0]?ce(xe):ce(fe,!1)})}U(Te);var Pe=ue(Te,2);{var Ye=ce=>{var ve=Ox(),Q=G(ve);{var Ie=je=>{var ke=Rx();Oe(()=>{Ne(ke,"src",p(se).srcs[1]),Ne(ke,"alt",p(se).label),He(ke,1,`object-contain ${p(g)?"h-full w-auto":"w-full h-full"} object-left`)}),x(je,ke)},Ve=je=>{var ke=Ix();x(je,ke)};D(Q,je=>{p(se).srcs[1]?je(Ie):je(Ve,!1)})}U(ve),Oe(()=>He(ve,1,`flex items-center justify-center overflow-hidden ${p(g)?"h-full w-auto":"h-full w-1/2"}`)),x(ce,ve)};D(Pe,ce=>{p(se).srcs.length>1&&ce(Ye)})}U(pe);var m=ue(pe,2),T=G(m),H=G(T);U(T);var ie=ue(T);U(m),U(Ce),Oe(()=>{He(Ce,1,`group flex flex-col gap-1 p-1 rounded hover:bg-base-200 transition-colors text-left relative shrink-0 ${p(g)?"w-auto":p(se).srcs.length>1?"col-span-2":""} ${e.canvasId===p(se).id?"ring-2 ring-primary bg-primary/5":""}`),Ot(Ce,p(g)?`height: ${p(b)+24}px`:""),Ne(Ce,"data-id",p(se).id),Ne(Ce,"aria-label",`Select canvas ${p(se).label??""}`),He(pe,1,`${p(g)?"h-full w-auto flex-row":p(se).srcs.length>1?"aspect-3/2 w-full":"aspect-3/4 w-full"} bg-base-300 rounded overflow-hidden relative flex items-center justify-center gap-px`),Ot(pe,p(g)?`height: ${p(b)}px`:""),He(Te,1,`flex items-center justify-center overflow-hidden ${p(g)?"h-full w-auto":"h-full "+(p(se).srcs.length>1?"w-1/2":"w-full")}`),qe(H,`${p(se).index+1}.`),qe(ie,` ${p(se).label??""}`)}),x(le,Ce)}),x(V,M)},F=V=>{var M=te(),j=X(M);Ut(j,17,()=>p(c),Ni,(le,se)=>{var Ce=zx();Ce.__click=()=>_(p(se).id);var pe=G(Ce),Te=G(pe);{var Ee=T=>{var H=Dx();Oe(()=>{Ne(H,"src",p(se).src),Ne(H,"alt",p(se).label),He(H,1,`object-contain ${p(g)?"h-full w-auto":"w-full h-full"}`)}),x(T,H)},xe=T=>{var H=Lx();x(T,H)};D(Te,T=>{p(se).src?T(Ee):T(xe,!1)})}U(pe);var fe=ue(pe,2),Pe=G(fe),Ye=G(Pe);U(Pe);var m=ue(Pe);U(fe),U(Ce),Oe(()=>{He(Ce,1,`group flex flex-col gap-1 p-1 rounded hover:bg-base-200 transition-colors text-left relative shrink-0 ${p(g)?"w-auto":""} ${e.canvasId===p(se).id?"ring-2 ring-primary bg-primary/5":""}`),Ot(Ce,p(g)?`height: ${p(b)+24}px`:""),Ne(Ce,"data-id",p(se).id),Ne(Ce,"aria-label",`Select canvas ${p(se).label??""}`),He(pe,1,`${p(g)?"h-full w-auto":"aspect-3/4 w-full"} bg-base-300 rounded overflow-hidden relative flex items-center justify-center`),Ot(pe,p(g)?`height: ${p(b)}px`:""),qe(Ye,`${p(se).index+1}.`),qe(m,` ${p(se).label??""}`)}),x(le,Ce)}),x(V,M)};D(ae,V=>{e.viewingMode==="paged"?V(oe):V(F,!1)})}U(q),U(B);var K=ue(B,2);{var ye=V=>{var M=Hx();M.__mousedown=h,x(V,M)};D(K,V=>{p(d)==="none"&&V(ye)})}U(O),ji(O,V=>be(s,V),()=>p(s));var Se=ue(O,2);{var he=V=>{var M=Nx(),j=X(M),le=ue(j,2),se=ue(le,2),Ce=ue(se,2);Oe(()=>{He(j,1,`absolute top-2 left-2 right-2 h-16 rounded-xl border-4 border-dashed border-primary/40 z-999 pointer-events-none flex items-center justify-center transition-all duration-200 ${e.dragOverSide==="top"?"bg-primary/20 scale-105":"bg-base-100/50"}`),He(le,1,`absolute bottom-2 left-2 right-2 h-16 rounded-xl border-4 border-dashed border-primary/40 z-999 pointer-events-none flex items-center justify-center transition-all duration-200 ${e.dragOverSide==="bottom"?"bg-primary/20 scale-105":"bg-base-100/50"}`),He(se,1,`absolute top-2 bottom-2 left-2 w-16 rounded-xl border-4 border-dashed border-primary/40 z-999 pointer-events-none flex items-center justify-center transition-all duration-200 ${e.dragOverSide==="left"?"bg-primary/20 scale-105":"bg-base-100/50"}`),He(Ce,1,`absolute top-2 bottom-2 right-2 w-16 rounded-xl border-4 border-dashed border-primary/40 z-999 pointer-events-none flex items-center justify-center transition-all duration-300 ${e.dragOverSide==="right"?"bg-primary/20 scale-105":"bg-base-100/50"}`)}),x(V,M)};D(Se,V=>{e.isGalleryDragging&&V(he)})}Oe(()=>{He(O,1,(p(d)!=="none"?`relative z-50 bg-base-100 shadow-xl border-base-300 flex transition-all duration-200 select-none w-full h-full
|
|
19
19
|
${p(d)==="bottom"||p(d)==="top"?"flex-row border-t":""}
|
|
20
|
-
${p(d)==="left"||p(d)==="right"?"flex-col border-x":""}`:"fixed z-900 bg-base-100 shadow-2xl rounded-lg flex flex-col border border-base-300 overflow-hidden select-none")+(e.isGalleryDragging?" pointer-events-none opacity-80":"")),Ot(O,p(d)!=="none"?"":`left: ${e.galleryPosition.x}px; top: ${e.galleryPosition.y}px; width: ${e.gallerySize.width}px; height: ${e.gallerySize.height}px;`),He(B,1,`flex-1 p-1 bg-base-100 ${p(g)?"overflow-x-auto overflow-y-hidden h-full":"overflow-y-auto overflow-x-hidden"}`),He(q,1,Tt(p(g)?"flex flex-row gap-2 h-full items-center":"grid gap-2")),Ot(q,p(g)?"":`grid-template-columns: repeat(auto-fill, minmax(${p(b)}px, 1fr));`)}),x(L,I)};D(N,L=>{e.showThumbnailGallery&&L(Z)})}x(i,A),Je()}Qr(["click","mousedown"]);var Bx=$('<path d="M232.49,215.51,185,168a92.12,92.12,0,1,0-17,17l47.53,47.54a12,12,0,0,0,17-17ZM44,112a68,68,0,1,1,68,68A68.07,68.07,0,0,1,44,112Z"></path>'),Vx=$('<path d="M192,112a80,80,0,1,1-80-80A80,80,0,0,1,192,112Z" opacity="0.2"></path><path d="M229.66,218.34,179.6,168.28a88.21,88.21,0,1,0-11.32,11.31l50.06,50.07a8,8,0,0,0,11.32-11.32ZM40,112a72,72,0,1,1,72,72A72.08,72.08,0,0,1,40,112Z"></path>',1),jx=$('<path d="M168,112a56,56,0,1,1-56-56A56,56,0,0,1,168,112Zm61.66,117.66a8,8,0,0,1-11.32,0l-50.06-50.07a88,88,0,1,1,11.32-11.31l50.06,50.06A8,8,0,0,1,229.66,229.66ZM112,184a72,72,0,1,0-72-72A72.08,72.08,0,0,0,112,184Z"></path>'),Ux=$('<path d="M228.24,219.76l-51.38-51.38a86.15,86.15,0,1,0-8.48,8.48l51.38,51.38a6,6,0,0,0,8.48-8.48ZM38,112a74,74,0,1,1,74,74A74.09,74.09,0,0,1,38,112Z"></path>'),Gx=$('<path d="M229.66,218.34l-50.07-50.06a88.11,88.11,0,1,0-11.31,11.31l50.06,50.07a8,8,0,0,0,11.32-11.32ZM40,112a72,72,0,1,1,72,72A72.08,72.08,0,0,1,40,112Z"></path>'),Zx=$('<path d="M226.83,221.17l-52.7-52.7a84.1,84.1,0,1,0-5.66,5.66l52.7,52.7a4,4,0,0,0,5.66-5.66ZM36,112a76,76,0,1,1,76,76A76.08,76.08,0,0,1,36,112Z"></path>'),Wx=$('<svg><!><rect width="256" height="256" fill="none"></rect><!></svg>');function ih(i,t){Qe(t,!0);const e=Rt();let r=kt(t,["$$slots","$$events","$$legacy","children"]),n=re(()=>t.weight??e.weight??"regular"),o=re(()=>t.color??e.color??"currentColor"),a=re(()=>t.size??e.size??"1em"),s=re(()=>t.mirrored??e.mirrored??!1);function c(d){let{weight:g,color:b,size:S,mirrored:P,...k}=d;return k}var l=Wx();Et(l,(d,g)=>({xmlns:"http://www.w3.org/2000/svg",role:"img",width:p(a),height:p(a),fill:p(o),transform:p(s)?"scale(-1, 1)":void 0,viewBox:"0 0 256 256",...d,...g}),[()=>c(e),()=>c(r)]);var u=G(l);{var h=d=>{var g=te(),b=X(g);xt(b,()=>t.children),x(d,g)};D(u,d=>{t.children&&d(h)})}var f=ue(u,2);{var v=d=>{var g=Bx();x(d,g)},_=d=>{var g=te(),b=X(g);{var S=k=>{var A=Vx();gt(),x(k,A)},P=k=>{var A=te(),N=X(A);{var Z=I=>{var O=jx();x(I,O)},L=I=>{var O=te(),J=X(O);{var ee=z=>{var B=Ux();x(z,B)},ne=z=>{var B=te(),q=X(B);{var ae=F=>{var K=Gx();x(F,K)},oe=F=>{var K=te(),ye=X(K);{var Se=V=>{var M=Zx();x(V,M)},he=V=>{var M=mt();M.nodeValue=(console.error('Unsupported icon weight. Choose from "thin", "light", "regular", "bold", "fill", or "duotone".'),""),x(V,M)};D(ye,V=>{p(n)==="thin"?V(Se):V(he,!1)},!0)}x(F,K)};D(q,F=>{p(n)==="regular"?F(ae):F(oe,!1)},!0)}x(z,B)};D(J,z=>{p(n)==="light"?z(ee):z(ne,!1)},!0)}x(I,O)};D(N,I=>{p(n)==="fill"?I(Z):I(L,!1)},!0)}x(k,A)};D(b,k=>{p(n)==="duotone"?k(S):k(P,!1)},!0)}x(d,g)};D(f,d=>{p(n)==="bold"?d(v):d(_,!1)})}U(l),x(i,l),Je()}var qx=$('<path d="M184,44H72A20,20,0,0,0,52,64V192a20,20,0,0,0,20,20H184a20,20,0,0,0,20-20V64A20,20,0,0,0,184,44Zm-4,144H76V68H180ZM244,56V200a12,12,0,0,1-24,0V56a12,12,0,0,1,24,0ZM36,56V200a12,12,0,0,1-24,0V56a12,12,0,0,1,24,0Z"></path>'),Xx=$('<path d="M200,64V192a8,8,0,0,1-8,8H64a8,8,0,0,1-8-8V64a8,8,0,0,1,8-8H192A8,8,0,0,1,200,64Z" opacity="0.2"></path><path d="M192,48H64A16,16,0,0,0,48,64V192a16,16,0,0,0,16,16H192a16,16,0,0,0,16-16V64A16,16,0,0,0,192,48Zm0,144H64V64H192V192ZM240,56V200a8,8,0,0,1-16,0V56a8,8,0,0,1,16,0ZM32,56V200a8,8,0,0,1-16,0V56a8,8,0,0,1,16,0Z"></path>',1),Yx=$('<path d="M208,64V192a16,16,0,0,1-16,16H64a16,16,0,0,1-16-16V64A16,16,0,0,1,64,48H192A16,16,0,0,1,208,64Zm24-16a8,8,0,0,0-8,8V200a8,8,0,0,0,16,0V56A8,8,0,0,0,232,48ZM24,48a8,8,0,0,0-8,8V200a8,8,0,0,0,16,0V56A8,8,0,0,0,24,48Z"></path>'),Kx=$('<path d="M192,50H64A14,14,0,0,0,50,64V192a14,14,0,0,0,14,14H192a14,14,0,0,0,14-14V64A14,14,0,0,0,192,50Zm2,142a2,2,0,0,1-2,2H64a2,2,0,0,1-2-2V64a2,2,0,0,1,2-2H192a2,2,0,0,1,2,2ZM238,56V200a6,6,0,0,1-12,0V56a6,6,0,0,1,12,0ZM30,56V200a6,6,0,0,1-12,0V56a6,6,0,0,1,12,0Z"></path>'),Qx=$('<path d="M192,48H64A16,16,0,0,0,48,64V192a16,16,0,0,0,16,16H192a16,16,0,0,0,16-16V64A16,16,0,0,0,192,48Zm0,144H64V64H192V192ZM240,56V200a8,8,0,0,1-16,0V56a8,8,0,0,1,16,0ZM32,56V200a8,8,0,0,1-16,0V56a8,8,0,0,1,16,0Z"></path>'),Jx=$('<path d="M192,52H64A12,12,0,0,0,52,64V192a12,12,0,0,0,12,12H192a12,12,0,0,0,12-12V64A12,12,0,0,0,192,52Zm4,140a4,4,0,0,1-4,4H64a4,4,0,0,1-4-4V64a4,4,0,0,1,4-4H192a4,4,0,0,1,4,4ZM236,56V200a4,4,0,0,1-8,0V56a4,4,0,0,1,8,0ZM28,56V200a4,4,0,0,1-8,0V56a4,4,0,0,1,8,0Z"></path>'),$x=$('<svg><!><rect width="256" height="256" fill="none"></rect><!></svg>');function e8(i,t){Qe(t,!0);const e=Rt();let r=kt(t,["$$slots","$$events","$$legacy","children"]),n=re(()=>t.weight??e.weight??"regular"),o=re(()=>t.color??e.color??"currentColor"),a=re(()=>t.size??e.size??"1em"),s=re(()=>t.mirrored??e.mirrored??!1);function c(d){let{weight:g,color:b,size:S,mirrored:P,...k}=d;return k}var l=$x();Et(l,(d,g)=>({xmlns:"http://www.w3.org/2000/svg",role:"img",width:p(a),height:p(a),fill:p(o),transform:p(s)?"scale(-1, 1)":void 0,viewBox:"0 0 256 256",...d,...g}),[()=>c(e),()=>c(r)]);var u=G(l);{var h=d=>{var g=te(),b=X(g);xt(b,()=>t.children),x(d,g)};D(u,d=>{t.children&&d(h)})}var f=ue(u,2);{var v=d=>{var g=qx();x(d,g)},_=d=>{var g=te(),b=X(g);{var S=k=>{var A=Xx();gt(),x(k,A)},P=k=>{var A=te(),N=X(A);{var Z=I=>{var O=Yx();x(I,O)},L=I=>{var O=te(),J=X(O);{var ee=z=>{var B=Kx();x(z,B)},ne=z=>{var B=te(),q=X(B);{var ae=F=>{var K=Qx();x(F,K)},oe=F=>{var K=te(),ye=X(K);{var Se=V=>{var M=Jx();x(V,M)},he=V=>{var M=mt();M.nodeValue=(console.error('Unsupported icon weight. Choose from "thin", "light", "regular", "bold", "fill", or "duotone".'),""),x(V,M)};D(ye,V=>{p(n)==="thin"?V(Se):V(he,!1)},!0)}x(F,K)};D(q,F=>{p(n)==="regular"?F(ae):F(oe,!1)},!0)}x(z,B)};D(J,z=>{p(n)==="light"?z(ee):z(ne,!1)},!0)}x(I,O)};D(N,I=>{p(n)==="fill"?I(Z):I(L,!1)},!0)}x(k,A)};D(b,k=>{p(n)==="duotone"?k(S):k(P,!1)},!0)}x(d,g)};D(f,d=>{p(n)==="bold"?d(v):d(_,!1)})}U(l),x(i,l),Je()}var t8=$('<path d="M148,96V48a12,12,0,0,1,24,0V84h36a12,12,0,0,1,0,24H160A12,12,0,0,1,148,96ZM96,148H48a12,12,0,0,0,0,24H84v36a12,12,0,0,0,24,0V160A12,12,0,0,0,96,148Zm112,0H160a12,12,0,0,0-12,12v48a12,12,0,0,0,24,0V172h36a12,12,0,0,0,0-24ZM96,36A12,12,0,0,0,84,48V84H48a12,12,0,0,0,0,24H96a12,12,0,0,0,12-12V48A12,12,0,0,0,96,36Z"></path>'),r8=$('<path d="M208,64V192a16,16,0,0,1-16,16H64a16,16,0,0,1-16-16V64A16,16,0,0,1,64,48H192A16,16,0,0,1,208,64Z" opacity="0.2"></path><path d="M152,96V48a8,8,0,0,1,16,0V88h40a8,8,0,0,1,0,16H160A8,8,0,0,1,152,96ZM96,152H48a8,8,0,0,0,0,16H88v40a8,8,0,0,0,16,0V160A8,8,0,0,0,96,152Zm112,0H160a8,8,0,0,0-8,8v48a8,8,0,0,0,16,0V168h40a8,8,0,0,0,0-16ZM96,40a8,8,0,0,0-8,8V88H48a8,8,0,0,0,0,16H96a8,8,0,0,0,8-8V48A8,8,0,0,0,96,40Z"></path>',1),i8=$('<path d="M152,96V48a8,8,0,0,1,13.66-5.66l48,48A8,8,0,0,1,208,104H160A8,8,0,0,1,152,96ZM96,152H48a8,8,0,0,0-5.66,13.66l48,48A8,8,0,0,0,104,208V160A8,8,0,0,0,96,152ZM99.06,40.61a8,8,0,0,0-8.72,1.73l-48,48A8,8,0,0,0,48,104H96a8,8,0,0,0,8-8V48A8,8,0,0,0,99.06,40.61ZM208,152H160a8,8,0,0,0-8,8v48a8,8,0,0,0,13.66,5.66l48-48A8,8,0,0,0,208,152Z"></path>'),n8=$('<path d="M154,96V48a6,6,0,0,1,12,0V90h42a6,6,0,0,1,0,12H160A6,6,0,0,1,154,96ZM96,154H48a6,6,0,0,0,0,12H90v42a6,6,0,0,0,12,0V160A6,6,0,0,0,96,154Zm112,0H160a6,6,0,0,0-6,6v48a6,6,0,0,0,12,0V166h42a6,6,0,0,0,0-12ZM96,42a6,6,0,0,0-6,6V90H48a6,6,0,0,0,0,12H96a6,6,0,0,0,6-6V48A6,6,0,0,0,96,42Z"></path>'),o8=$('<path d="M152,96V48a8,8,0,0,1,16,0V88h40a8,8,0,0,1,0,16H160A8,8,0,0,1,152,96ZM96,152H48a8,8,0,0,0,0,16H88v40a8,8,0,0,0,16,0V160A8,8,0,0,0,96,152Zm112,0H160a8,8,0,0,0-8,8v48a8,8,0,0,0,16,0V168h40a8,8,0,0,0,0-16ZM96,40a8,8,0,0,0-8,8V88H48a8,8,0,0,0,0,16H96a8,8,0,0,0,8-8V48A8,8,0,0,0,96,40Z"></path>'),a8=$('<path d="M156,96V48a4,4,0,0,1,8,0V92h44a4,4,0,0,1,0,8H160A4,4,0,0,1,156,96ZM96,156H48a4,4,0,0,0,0,8H92v44a4,4,0,0,0,8,0V160A4,4,0,0,0,96,156Zm112,0H160a4,4,0,0,0-4,4v48a4,4,0,0,0,8,0V164h44a4,4,0,0,0,0-8ZM96,44a4,4,0,0,0-4,4V92H48a4,4,0,0,0,0,8H96a4,4,0,0,0,4-4V48A4,4,0,0,0,96,44Z"></path>'),s8=$('<svg><!><rect width="256" height="256" fill="none"></rect><!></svg>');function l8(i,t){Qe(t,!0);const e=Rt();let r=kt(t,["$$slots","$$events","$$legacy","children"]),n=re(()=>t.weight??e.weight??"regular"),o=re(()=>t.color??e.color??"currentColor"),a=re(()=>t.size??e.size??"1em"),s=re(()=>t.mirrored??e.mirrored??!1);function c(d){let{weight:g,color:b,size:S,mirrored:P,...k}=d;return k}var l=s8();Et(l,(d,g)=>({xmlns:"http://www.w3.org/2000/svg",role:"img",width:p(a),height:p(a),fill:p(o),transform:p(s)?"scale(-1, 1)":void 0,viewBox:"0 0 256 256",...d,...g}),[()=>c(e),()=>c(r)]);var u=G(l);{var h=d=>{var g=te(),b=X(g);xt(b,()=>t.children),x(d,g)};D(u,d=>{t.children&&d(h)})}var f=ue(u,2);{var v=d=>{var g=t8();x(d,g)},_=d=>{var g=te(),b=X(g);{var S=k=>{var A=r8();gt(),x(k,A)},P=k=>{var A=te(),N=X(A);{var Z=I=>{var O=i8();x(I,O)},L=I=>{var O=te(),J=X(O);{var ee=z=>{var B=n8();x(z,B)},ne=z=>{var B=te(),q=X(B);{var ae=F=>{var K=o8();x(F,K)},oe=F=>{var K=te(),ye=X(K);{var Se=V=>{var M=a8();x(V,M)},he=V=>{var M=mt();M.nodeValue=(console.error('Unsupported icon weight. Choose from "thin", "light", "regular", "bold", "fill", or "duotone".'),""),x(V,M)};D(ye,V=>{p(n)==="thin"?V(Se):V(he,!1)},!0)}x(F,K)};D(q,F=>{p(n)==="regular"?F(ae):F(oe,!1)},!0)}x(z,B)};D(J,z=>{p(n)==="light"?z(ee):z(ne,!1)},!0)}x(I,O)};D(N,I=>{p(n)==="fill"?I(Z):I(L,!1)},!0)}x(k,A)};D(b,k=>{p(n)==="duotone"?k(S):k(P,!1)},!0)}x(d,g)};D(f,d=>{p(n)==="bold"?d(v):d(_,!1)})}U(l),x(i,l),Je()}var c8=$('<path d="M220,48V88a12,12,0,0,1-24,0V60H168a12,12,0,0,1,0-24h40A12,12,0,0,1,220,48ZM88,196H60V168a12,12,0,0,0-24,0v40a12,12,0,0,0,12,12H88a12,12,0,0,0,0-24Zm120-40a12,12,0,0,0-12,12v28H168a12,12,0,0,0,0,24h40a12,12,0,0,0,12-12V168A12,12,0,0,0,208,156ZM88,36H48A12,12,0,0,0,36,48V88a12,12,0,0,0,24,0V60H88a12,12,0,0,0,0-24Z"></path>'),u8=$('<path d="M208,48V208H48V48Z" opacity="0.2"></path><path d="M216,48V88a8,8,0,0,1-16,0V56H168a8,8,0,0,1,0-16h40A8,8,0,0,1,216,48ZM88,200H56V168a8,8,0,0,0-16,0v40a8,8,0,0,0,8,8H88a8,8,0,0,0,0-16Zm120-40a8,8,0,0,0-8,8v32H168a8,8,0,0,0,0,16h40a8,8,0,0,0,8-8V168A8,8,0,0,0,208,160ZM88,40H48a8,8,0,0,0-8,8V88a8,8,0,0,0,16,0V56H88a8,8,0,0,0,0-16Z"></path>',1),h8=$('<path d="M93.66,202.34A8,8,0,0,1,88,216H48a8,8,0,0,1-8-8V168a8,8,0,0,1,13.66-5.66ZM88,40H48a8,8,0,0,0-8,8V88a8,8,0,0,0,13.66,5.66l40-40A8,8,0,0,0,88,40ZM211.06,160.61a8,8,0,0,0-8.72,1.73l-40,40A8,8,0,0,0,168,216h40a8,8,0,0,0,8-8V168A8,8,0,0,0,211.06,160.61ZM208,40H168a8,8,0,0,0-5.66,13.66l40,40A8,8,0,0,0,216,88V48A8,8,0,0,0,208,40Z"></path>'),d8=$('<path d="M214,48V88a6,6,0,0,1-12,0V54H168a6,6,0,0,1,0-12h40A6,6,0,0,1,214,48ZM88,202H54V168a6,6,0,0,0-12,0v40a6,6,0,0,0,6,6H88a6,6,0,0,0,0-12Zm120-40a6,6,0,0,0-6,6v34H168a6,6,0,0,0,0,12h40a6,6,0,0,0,6-6V168A6,6,0,0,0,208,162ZM88,42H48a6,6,0,0,0-6,6V88a6,6,0,0,0,12,0V54H88a6,6,0,0,0,0-12Z"></path>'),f8=$('<path d="M216,48V88a8,8,0,0,1-16,0V56H168a8,8,0,0,1,0-16h40A8,8,0,0,1,216,48ZM88,200H56V168a8,8,0,0,0-16,0v40a8,8,0,0,0,8,8H88a8,8,0,0,0,0-16Zm120-40a8,8,0,0,0-8,8v32H168a8,8,0,0,0,0,16h40a8,8,0,0,0,8-8V168A8,8,0,0,0,208,160ZM88,40H48a8,8,0,0,0-8,8V88a8,8,0,0,0,16,0V56H88a8,8,0,0,0,0-16Z"></path>'),p8=$('<path d="M212,48V88a4,4,0,0,1-8,0V52H168a4,4,0,0,1,0-8h40A4,4,0,0,1,212,48ZM88,204H52V168a4,4,0,0,0-8,0v40a4,4,0,0,0,4,4H88a4,4,0,0,0,0-8Zm120-40a4,4,0,0,0-4,4v36H168a4,4,0,0,0,0,8h40a4,4,0,0,0,4-4V168A4,4,0,0,0,208,164ZM88,44H48a4,4,0,0,0-4,4V88a4,4,0,0,0,8,0V52H88a4,4,0,0,0,0-8Z"></path>'),g8=$('<svg><!><rect width="256" height="256" fill="none"></rect><!></svg>');function v8(i,t){Qe(t,!0);const e=Rt();let r=kt(t,["$$slots","$$events","$$legacy","children"]),n=re(()=>t.weight??e.weight??"regular"),o=re(()=>t.color??e.color??"currentColor"),a=re(()=>t.size??e.size??"1em"),s=re(()=>t.mirrored??e.mirrored??!1);function c(d){let{weight:g,color:b,size:S,mirrored:P,...k}=d;return k}var l=g8();Et(l,(d,g)=>({xmlns:"http://www.w3.org/2000/svg",role:"img",width:p(a),height:p(a),fill:p(o),transform:p(s)?"scale(-1, 1)":void 0,viewBox:"0 0 256 256",...d,...g}),[()=>c(e),()=>c(r)]);var u=G(l);{var h=d=>{var g=te(),b=X(g);xt(b,()=>t.children),x(d,g)};D(u,d=>{t.children&&d(h)})}var f=ue(u,2);{var v=d=>{var g=c8();x(d,g)},_=d=>{var g=te(),b=X(g);{var S=k=>{var A=u8();gt(),x(k,A)},P=k=>{var A=te(),N=X(A);{var Z=I=>{var O=h8();x(I,O)},L=I=>{var O=te(),J=X(O);{var ee=z=>{var B=d8();x(z,B)},ne=z=>{var B=te(),q=X(B);{var ae=F=>{var K=f8();x(F,K)},oe=F=>{var K=te(),ye=X(K);{var Se=V=>{var M=p8();x(V,M)},he=V=>{var M=mt();M.nodeValue=(console.error('Unsupported icon weight. Choose from "thin", "light", "regular", "bold", "fill", or "duotone".'),""),x(V,M)};D(ye,V=>{p(n)==="thin"?V(Se):V(he,!1)},!0)}x(F,K)};D(q,F=>{p(n)==="regular"?F(ae):F(oe,!1)},!0)}x(z,B)};D(J,z=>{p(n)==="light"?z(ee):z(ne,!1)},!0)}x(I,O)};D(N,I=>{p(n)==="fill"?I(Z):I(L,!1)},!0)}x(k,A)};D(b,k=>{p(n)==="duotone"?k(S):k(P,!1)},!0)}x(d,g)};D(f,d=>{p(n)==="bold"?d(v):d(_,!1)})}U(l),x(i,l),Je()}var m8=$('<path d="M84,100A12,12,0,0,1,96,88h64a12,12,0,0,1,0,24H96A12,12,0,0,1,84,100Zm12,52h64a12,12,0,0,0,0-24H96a12,12,0,0,0,0,24ZM236,56V184a20,20,0,0,1-20,20H157.89l-12.52,21.92a20,20,0,0,1-34.74,0L98.11,204H40a20,20,0,0,1-20-20V56A20,20,0,0,1,40,36H216A20,20,0,0,1,236,56Zm-24,4H44V180h61.07a12,12,0,0,1,10.42,6.05L128,207.94l12.51-21.89A12,12,0,0,1,150.93,180H212Z"></path>'),_8=$('<path d="M224,56V184a8,8,0,0,1-8,8H150.93l-16,28a8,8,0,0,1-13.9,0l-16-28H40a8,8,0,0,1-8-8V56a8,8,0,0,1,8-8H216A8,8,0,0,1,224,56Z" opacity="0.2"></path><path d="M88,104a8,8,0,0,1,8-8h64a8,8,0,0,1,0,16H96A8,8,0,0,1,88,104Zm8,40h64a8,8,0,0,0,0-16H96a8,8,0,0,0,0,16ZM232,56V184a16,16,0,0,1-16,16H155.57l-13.68,23.94a16,16,0,0,1-27.78,0L100.43,200H40a16,16,0,0,1-16-16V56A16,16,0,0,1,40,40H216A16,16,0,0,1,232,56Zm-16,0H40V184h65.07a8,8,0,0,1,7,4l16,28,16-28a8,8,0,0,1,7-4H216Z"></path>',1),w8=$('<path d="M216,40H40A16,16,0,0,0,24,56V184a16,16,0,0,0,16,16h60.43l13.68,23.94a16,16,0,0,0,27.78,0L155.57,200H216a16,16,0,0,0,16-16V56A16,16,0,0,0,216,40ZM160,144H96a8,8,0,0,1,0-16h64a8,8,0,0,1,0,16Zm0-32H96a8,8,0,0,1,0-16h64a8,8,0,0,1,0,16Z"></path>'),b8=$('<path d="M166,104a6,6,0,0,1-6,6H96a6,6,0,0,1,0-12h64A6,6,0,0,1,166,104Zm-6,26H96a6,6,0,0,0,0,12h64a6,6,0,0,0,0-12Zm70-74V184a14,14,0,0,1-14,14H154.41L140.16,223a14,14,0,0,1-24.32,0L101.59,198H40a14,14,0,0,1-14-14V56A14,14,0,0,1,40,42H216A14,14,0,0,1,230,56Zm-12,0a2,2,0,0,0-2-2H40a2,2,0,0,0-2,2V184a2,2,0,0,0,2,2h65.07a6,6,0,0,1,5.21,3l16,28a2,2,0,0,0,3.48,0l16-28a6,6,0,0,1,5.21-3H216a2,2,0,0,0,2-2Z"></path>'),y8=$('<path d="M88,104a8,8,0,0,1,8-8h64a8,8,0,0,1,0,16H96A8,8,0,0,1,88,104Zm8,40h64a8,8,0,0,0,0-16H96a8,8,0,0,0,0,16ZM232,56V184a16,16,0,0,1-16,16H155.57l-13.68,23.94a16,16,0,0,1-27.78,0L100.43,200H40a16,16,0,0,1-16-16V56A16,16,0,0,1,40,40H216A16,16,0,0,1,232,56Zm-16,0H40V184h65.07a8,8,0,0,1,7,4l16,28,16-28a8,8,0,0,1,7-4H216Z"></path>'),x8=$('<path d="M164,104a4,4,0,0,1-4,4H96a4,4,0,0,1,0-8h64A4,4,0,0,1,164,104Zm-4,28H96a4,4,0,0,0,0,8h64a4,4,0,0,0,0-8Zm68-76V184a12,12,0,0,1-12,12H153.25L138.42,222a12,12,0,0,1-20.84,0L102.75,196H40a12,12,0,0,1-12-12V56A12,12,0,0,1,40,44H216A12,12,0,0,1,228,56Zm-8,0a4,4,0,0,0-4-4H40a4,4,0,0,0-4,4V184a4,4,0,0,0,4,4h65.07a4,4,0,0,1,3.47,2l16,28a4,4,0,0,0,6.94,0l16-28a4,4,0,0,1,3.47-2H216a4,4,0,0,0,4-4Z"></path>'),T8=$('<svg><!><rect width="256" height="256" fill="none"></rect><!></svg>');function E8(i,t){Qe(t,!0);const e=Rt();let r=kt(t,["$$slots","$$events","$$legacy","children"]),n=re(()=>t.weight??e.weight??"regular"),o=re(()=>t.color??e.color??"currentColor"),a=re(()=>t.size??e.size??"1em"),s=re(()=>t.mirrored??e.mirrored??!1);function c(d){let{weight:g,color:b,size:S,mirrored:P,...k}=d;return k}var l=T8();Et(l,(d,g)=>({xmlns:"http://www.w3.org/2000/svg",role:"img",width:p(a),height:p(a),fill:p(o),transform:p(s)?"scale(-1, 1)":void 0,viewBox:"0 0 256 256",...d,...g}),[()=>c(e),()=>c(r)]);var u=G(l);{var h=d=>{var g=te(),b=X(g);xt(b,()=>t.children),x(d,g)};D(u,d=>{t.children&&d(h)})}var f=ue(u,2);{var v=d=>{var g=m8();x(d,g)},_=d=>{var g=te(),b=X(g);{var S=k=>{var A=_8();gt(),x(k,A)},P=k=>{var A=te(),N=X(A);{var Z=I=>{var O=w8();x(I,O)},L=I=>{var O=te(),J=X(O);{var ee=z=>{var B=b8();x(z,B)},ne=z=>{var B=te(),q=X(B);{var ae=F=>{var K=y8();x(F,K)},oe=F=>{var K=te(),ye=X(K);{var Se=V=>{var M=x8();x(V,M)},he=V=>{var M=mt();M.nodeValue=(console.error('Unsupported icon weight. Choose from "thin", "light", "regular", "bold", "fill", or "duotone".'),""),x(V,M)};D(ye,V=>{p(n)==="thin"?V(Se):V(he,!1)},!0)}x(F,K)};D(q,F=>{p(n)==="regular"?F(ae):F(oe,!1)},!0)}x(z,B)};D(J,z=>{p(n)==="light"?z(ee):z(ne,!1)},!0)}x(I,O)};D(N,I=>{p(n)==="fill"?I(Z):I(L,!1)},!0)}x(k,A)};D(b,k=>{p(n)==="duotone"?k(S):k(P,!1)},!0)}x(d,g)};D(f,d=>{p(n)==="bold"?d(v):d(_,!1)})}U(l),x(i,l),Je()}var k8=$('<path d="M108,84a16,16,0,1,1,16,16A16,16,0,0,1,108,84Zm128,44A108,108,0,1,1,128,20,108.12,108.12,0,0,1,236,128Zm-24,0a84,84,0,1,0-84,84A84.09,84.09,0,0,0,212,128Zm-72,36.68V132a20,20,0,0,0-20-20,12,12,0,0,0-4,23.32V168a20,20,0,0,0,20,20,12,12,0,0,0,4-23.32Z"></path>'),S8=$('<path d="M224,128a96,96,0,1,1-96-96A96,96,0,0,1,224,128Z" opacity="0.2"></path><path d="M144,176a8,8,0,0,1-8,8,16,16,0,0,1-16-16V128a8,8,0,0,1,0-16,16,16,0,0,1,16,16v40A8,8,0,0,1,144,176Zm88-48A104,104,0,1,1,128,24,104.11,104.11,0,0,1,232,128Zm-16,0a88,88,0,1,0-88,88A88.1,88.1,0,0,0,216,128ZM124,96a12,12,0,1,0-12-12A12,12,0,0,0,124,96Z"></path>',1),C8=$('<path d="M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm-4,48a12,12,0,1,1-12,12A12,12,0,0,1,124,72Zm12,112a16,16,0,0,1-16-16V128a8,8,0,0,1,0-16,16,16,0,0,1,16,16v40a8,8,0,0,1,0,16Z"></path>'),P8=$('<path d="M142,176a6,6,0,0,1-6,6,14,14,0,0,1-14-14V128a2,2,0,0,0-2-2,6,6,0,0,1,0-12,14,14,0,0,1,14,14v40a2,2,0,0,0,2,2A6,6,0,0,1,142,176ZM124,94a10,10,0,1,0-10-10A10,10,0,0,0,124,94Zm106,34A102,102,0,1,1,128,26,102.12,102.12,0,0,1,230,128Zm-12,0a90,90,0,1,0-90,90A90.1,90.1,0,0,0,218,128Z"></path>'),A8=$('<path d="M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm0,192a88,88,0,1,1,88-88A88.1,88.1,0,0,1,128,216Zm16-40a8,8,0,0,1-8,8,16,16,0,0,1-16-16V128a8,8,0,0,1,0-16,16,16,0,0,1,16,16v40A8,8,0,0,1,144,176ZM112,84a12,12,0,1,1,12,12A12,12,0,0,1,112,84Z"></path>'),R8=$('<path d="M140,176a4,4,0,0,1-4,4,12,12,0,0,1-12-12V128a4,4,0,0,0-4-4,4,4,0,0,1,0-8,12,12,0,0,1,12,12v40a4,4,0,0,0,4,4A4,4,0,0,1,140,176ZM124,92a8,8,0,1,0-8-8A8,8,0,0,0,124,92Zm104,36A100,100,0,1,1,128,28,100.11,100.11,0,0,1,228,128Zm-8,0a92,92,0,1,0-92,92A92.1,92.1,0,0,0,220,128Z"></path>'),I8=$('<svg><!><rect width="256" height="256" fill="none"></rect><!></svg>');function O8(i,t){Qe(t,!0);const e=Rt();let r=kt(t,["$$slots","$$events","$$legacy","children"]),n=re(()=>t.weight??e.weight??"regular"),o=re(()=>t.color??e.color??"currentColor"),a=re(()=>t.size??e.size??"1em"),s=re(()=>t.mirrored??e.mirrored??!1);function c(d){let{weight:g,color:b,size:S,mirrored:P,...k}=d;return k}var l=I8();Et(l,(d,g)=>({xmlns:"http://www.w3.org/2000/svg",role:"img",width:p(a),height:p(a),fill:p(o),transform:p(s)?"scale(-1, 1)":void 0,viewBox:"0 0 256 256",...d,...g}),[()=>c(e),()=>c(r)]);var u=G(l);{var h=d=>{var g=te(),b=X(g);xt(b,()=>t.children),x(d,g)};D(u,d=>{t.children&&d(h)})}var f=ue(u,2);{var v=d=>{var g=k8();x(d,g)},_=d=>{var g=te(),b=X(g);{var S=k=>{var A=S8();gt(),x(k,A)},P=k=>{var A=te(),N=X(A);{var Z=I=>{var O=C8();x(I,O)},L=I=>{var O=te(),J=X(O);{var ee=z=>{var B=P8();x(z,B)},ne=z=>{var B=te(),q=X(B);{var ae=F=>{var K=A8();x(F,K)},oe=F=>{var K=te(),ye=X(K);{var Se=V=>{var M=R8();x(V,M)},he=V=>{var M=mt();M.nodeValue=(console.error('Unsupported icon weight. Choose from "thin", "light", "regular", "bold", "fill", or "duotone".'),""),x(V,M)};D(ye,V=>{p(n)==="thin"?V(Se):V(he,!1)},!0)}x(F,K)};D(q,F=>{p(n)==="regular"?F(ae):F(oe,!1)},!0)}x(z,B)};D(J,z=>{p(n)==="light"?z(ee):z(ne,!1)},!0)}x(I,O)};D(N,I=>{p(n)==="fill"?I(Z):I(L,!1)},!0)}x(k,A)};D(b,k=>{p(n)==="duotone"?k(S):k(P,!1)},!0)}x(d,g)};D(f,d=>{p(n)==="bold"?d(v):d(_,!1)})}U(l),x(i,l),Je()}var M8=$('<path d="M228,128a12,12,0,0,1-12,12H40a12,12,0,0,1,0-24H216A12,12,0,0,1,228,128ZM40,76H216a12,12,0,0,0,0-24H40a12,12,0,0,0,0,24ZM216,180H40a12,12,0,0,0,0,24H216a12,12,0,0,0,0-24Z"></path>'),D8=$('<path d="M216,64V192H40V64Z" opacity="0.2"></path><path d="M224,128a8,8,0,0,1-8,8H40a8,8,0,0,1,0-16H216A8,8,0,0,1,224,128ZM40,72H216a8,8,0,0,0,0-16H40a8,8,0,0,0,0,16ZM216,184H40a8,8,0,0,0,0,16H216a8,8,0,0,0,0-16Z"></path>',1),L8=$('<path d="M208,32H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V48A16,16,0,0,0,208,32ZM192,184H64a8,8,0,0,1,0-16H192a8,8,0,0,1,0,16Zm0-48H64a8,8,0,0,1,0-16H192a8,8,0,0,1,0,16Zm0-48H64a8,8,0,0,1,0-16H192a8,8,0,0,1,0,16Z"></path>'),z8=$('<path d="M222,128a6,6,0,0,1-6,6H40a6,6,0,0,1,0-12H216A6,6,0,0,1,222,128ZM40,70H216a6,6,0,0,0,0-12H40a6,6,0,0,0,0,12ZM216,186H40a6,6,0,0,0,0,12H216a6,6,0,0,0,0-12Z"></path>'),H8=$('<path d="M224,128a8,8,0,0,1-8,8H40a8,8,0,0,1,0-16H216A8,8,0,0,1,224,128ZM40,72H216a8,8,0,0,0,0-16H40a8,8,0,0,0,0,16ZM216,184H40a8,8,0,0,0,0,16H216a8,8,0,0,0,0-16Z"></path>'),N8=$('<path d="M220,128a4,4,0,0,1-4,4H40a4,4,0,0,1,0-8H216A4,4,0,0,1,220,128ZM40,68H216a4,4,0,0,0,0-8H40a4,4,0,0,0,0,8ZM216,188H40a4,4,0,0,0,0,8H216a4,4,0,0,0,0-8Z"></path>'),F8=$('<svg><!><rect width="256" height="256" fill="none"></rect><!></svg>');function B8(i,t){Qe(t,!0);const e=Rt();let r=kt(t,["$$slots","$$events","$$legacy","children"]),n=re(()=>t.weight??e.weight??"regular"),o=re(()=>t.color??e.color??"currentColor"),a=re(()=>t.size??e.size??"1em"),s=re(()=>t.mirrored??e.mirrored??!1);function c(d){let{weight:g,color:b,size:S,mirrored:P,...k}=d;return k}var l=F8();Et(l,(d,g)=>({xmlns:"http://www.w3.org/2000/svg",role:"img",width:p(a),height:p(a),fill:p(o),transform:p(s)?"scale(-1, 1)":void 0,viewBox:"0 0 256 256",...d,...g}),[()=>c(e),()=>c(r)]);var u=G(l);{var h=d=>{var g=te(),b=X(g);xt(b,()=>t.children),x(d,g)};D(u,d=>{t.children&&d(h)})}var f=ue(u,2);{var v=d=>{var g=M8();x(d,g)},_=d=>{var g=te(),b=X(g);{var S=k=>{var A=D8();gt(),x(k,A)},P=k=>{var A=te(),N=X(A);{var Z=I=>{var O=L8();x(I,O)},L=I=>{var O=te(),J=X(O);{var ee=z=>{var B=z8();x(z,B)},ne=z=>{var B=te(),q=X(B);{var ae=F=>{var K=H8();x(F,K)},oe=F=>{var K=te(),ye=X(K);{var Se=V=>{var M=N8();x(V,M)},he=V=>{var M=mt();M.nodeValue=(console.error('Unsupported icon weight. Choose from "thin", "light", "regular", "bold", "fill", or "duotone".'),""),x(V,M)};D(ye,V=>{p(n)==="thin"?V(Se):V(he,!1)},!0)}x(F,K)};D(q,F=>{p(n)==="regular"?F(ae):F(oe,!1)},!0)}x(z,B)};D(J,z=>{p(n)==="light"?z(ee):z(ne,!1)},!0)}x(I,O)};D(N,I=>{p(n)==="fill"?I(Z):I(L,!1)},!0)}x(k,A)};D(b,k=>{p(n)==="duotone"?k(S):k(P,!1)},!0)}x(d,g)};D(f,d=>{p(n)==="bold"?d(v):d(_,!1)})}U(l),x(i,l),Je()}var V8=$('<path d="M232,44H160a43.86,43.86,0,0,0-32,13.85A43.86,43.86,0,0,0,96,44H24A12,12,0,0,0,12,56V200a12,12,0,0,0,12,12H96a20,20,0,0,1,20,20,12,12,0,0,0,24,0,20,20,0,0,1,20-20h72a12,12,0,0,0,12-12V56A12,12,0,0,0,232,44ZM96,188H36V68H96a20,20,0,0,1,20,20V192.81A43.79,43.79,0,0,0,96,188Zm124,0H160a43.71,43.71,0,0,0-20,4.83V88a20,20,0,0,1,20-20h60Z"></path>'),j8=$('<path d="M232,56V200H160a32,32,0,0,0-32,32,32,32,0,0,0-32-32H24V56H96a32,32,0,0,1,32,32,32,32,0,0,1,32-32Z" opacity="0.2"></path><path d="M232,48H160a40,40,0,0,0-32,16A40,40,0,0,0,96,48H24a8,8,0,0,0-8,8V200a8,8,0,0,0,8,8H96a24,24,0,0,1,24,24,8,8,0,0,0,16,0,24,24,0,0,1,24-24h72a8,8,0,0,0,8-8V56A8,8,0,0,0,232,48ZM96,192H32V64H96a24,24,0,0,1,24,24V200A39.81,39.81,0,0,0,96,192Zm128,0H160a39.81,39.81,0,0,0-24,8V88a24,24,0,0,1,24-24h64Z"></path>',1),U8=$('<path d="M240,56V200a8,8,0,0,1-8,8H160a24,24,0,0,0-24,23.94,7.9,7.9,0,0,1-5.12,7.55A8,8,0,0,1,120,232a24,24,0,0,0-24-24H24a8,8,0,0,1-8-8V56a8,8,0,0,1,8-8H88a32,32,0,0,1,32,32v87.73a8.17,8.17,0,0,0,7.47,8.25,8,8,0,0,0,8.53-8V80a32,32,0,0,1,32-32h64A8,8,0,0,1,240,56Z"></path>'),G8=$('<path d="M232,50H160a38,38,0,0,0-32,17.55A38,38,0,0,0,96,50H24a6,6,0,0,0-6,6V200a6,6,0,0,0,6,6H96a26,26,0,0,1,26,26,6,6,0,0,0,12,0,26,26,0,0,1,26-26h72a6,6,0,0,0,6-6V56A6,6,0,0,0,232,50ZM96,194H30V62H96a26,26,0,0,1,26,26V204.31A37.86,37.86,0,0,0,96,194Zm130,0H160a37.87,37.87,0,0,0-26,10.32V88a26,26,0,0,1,26-26h66Z"></path>'),Z8=$('<path d="M232,48H160a40,40,0,0,0-32,16A40,40,0,0,0,96,48H24a8,8,0,0,0-8,8V200a8,8,0,0,0,8,8H96a24,24,0,0,1,24,24,8,8,0,0,0,16,0,24,24,0,0,1,24-24h72a8,8,0,0,0,8-8V56A8,8,0,0,0,232,48ZM96,192H32V64H96a24,24,0,0,1,24,24V200A39.81,39.81,0,0,0,96,192Zm128,0H160a39.81,39.81,0,0,0-24,8V88a24,24,0,0,1,24-24h64Z"></path>'),W8=$('<path d="M232,52H160a36,36,0,0,0-32,19.54A36,36,0,0,0,96,52H24a4,4,0,0,0-4,4V200a4,4,0,0,0,4,4H96a28,28,0,0,1,28,28,4,4,0,0,0,8,0,28,28,0,0,1,28-28h72a4,4,0,0,0,4-4V56A4,4,0,0,0,232,52ZM96,196H28V60H96a28,28,0,0,1,28,28V209.4A35.93,35.93,0,0,0,96,196Zm132,0H160a35.94,35.94,0,0,0-28,13.41V88a28,28,0,0,1,28-28h68Z"></path>'),q8=$('<svg><!><rect width="256" height="256" fill="none"></rect><!></svg>');function nh(i,t){Qe(t,!0);const e=Rt();let r=kt(t,["$$slots","$$events","$$legacy","children"]),n=re(()=>t.weight??e.weight??"regular"),o=re(()=>t.color??e.color??"currentColor"),a=re(()=>t.size??e.size??"1em"),s=re(()=>t.mirrored??e.mirrored??!1);function c(d){let{weight:g,color:b,size:S,mirrored:P,...k}=d;return k}var l=q8();Et(l,(d,g)=>({xmlns:"http://www.w3.org/2000/svg",role:"img",width:p(a),height:p(a),fill:p(o),transform:p(s)?"scale(-1, 1)":void 0,viewBox:"0 0 256 256",...d,...g}),[()=>c(e),()=>c(r)]);var u=G(l);{var h=d=>{var g=te(),b=X(g);xt(b,()=>t.children),x(d,g)};D(u,d=>{t.children&&d(h)})}var f=ue(u,2);{var v=d=>{var g=V8();x(d,g)},_=d=>{var g=te(),b=X(g);{var S=k=>{var A=j8();gt(),x(k,A)},P=k=>{var A=te(),N=X(A);{var Z=I=>{var O=U8();x(I,O)},L=I=>{var O=te(),J=X(O);{var ee=z=>{var B=G8();x(z,B)},ne=z=>{var B=te(),q=X(B);{var ae=F=>{var K=Z8();x(F,K)},oe=F=>{var K=te(),ye=X(K);{var Se=V=>{var M=W8();x(V,M)},he=V=>{var M=mt();M.nodeValue=(console.error('Unsupported icon weight. Choose from "thin", "light", "regular", "bold", "fill", or "duotone".'),""),x(V,M)};D(ye,V=>{p(n)==="thin"?V(Se):V(he,!1)},!0)}x(F,K)};D(q,F=>{p(n)==="regular"?F(ae):F(oe,!1)},!0)}x(z,B)};D(J,z=>{p(n)==="light"?z(ee):z(ne,!1)},!0)}x(I,O)};D(N,I=>{p(n)==="fill"?I(Z):I(L,!1)},!0)}x(k,A)};D(b,k=>{p(n)==="duotone"?k(S):k(P,!1)},!0)}x(d,g)};D(f,d=>{p(n)==="bold"?d(v):d(_,!1)})}U(l),x(i,l),Je()}var X8=$('<path d="M92,92a12,12,0,0,1,12-12h60a12,12,0,0,1,0,24H104A12,12,0,0,1,92,92Zm12,52h60a12,12,0,0,0,0-24H104a12,12,0,0,0,0,24Zm132,48a36,36,0,0,1-36,36H88a36,36,0,0,1-36-36V64a12,12,0,0,0-24,0c0,3.73,3.35,6.51,3.38,6.54l-.18-.14h0A12,12,0,1,1,16.81,89.59h0C15.49,88.62,4,79.55,4,64A36,36,0,0,1,40,28H176a36,36,0,0,1,36,36V164h4a12,12,0,0,1,7.2,2.4C224.51,167.38,236,176.45,236,192ZM92.62,172.2A12,12,0,0,1,104,164h84V64a12,12,0,0,0-12-12H73.94A35.88,35.88,0,0,1,76,64V192a12,12,0,0,0,24,0c0-3.58-3.17-6.38-3.2-6.4A12,12,0,0,1,92.62,172.2ZM212,192a7.69,7.69,0,0,0-1.24-4h-87a30.32,30.32,0,0,1,.26,4,35.84,35.84,0,0,1-2.06,12H200A12,12,0,0,0,212,192Z"></path>'),Y8=$('<path d="M200,176H104s8,6,8,16a24,24,0,0,1-48,0V64A24,24,0,0,0,40,40H176a24,24,0,0,1,24,24Z" opacity="0.2"></path><path d="M96,104a8,8,0,0,1,8-8h64a8,8,0,0,1,0,16H104A8,8,0,0,1,96,104Zm8,40h64a8,8,0,0,0,0-16H104a8,8,0,0,0,0,16Zm128,48a32,32,0,0,1-32,32H88a32,32,0,0,1-32-32V64a16,16,0,0,0-32,0c0,5.74,4.83,9.62,4.88,9.66h0A8,8,0,0,1,24,88a7.89,7.89,0,0,1-4.79-1.61h0C18.05,85.54,8,77.61,8,64A32,32,0,0,1,40,32H176a32,32,0,0,1,32,32V168h8a8,8,0,0,1,4.8,1.6C222,170.46,232,178.39,232,192ZM96.26,173.48A8.07,8.07,0,0,1,104,168h88V64a16,16,0,0,0-16-16H67.69A31.71,31.71,0,0,1,72,64V192a16,16,0,0,0,32,0c0-5.74-4.83-9.62-4.88-9.66A7.82,7.82,0,0,1,96.26,173.48ZM216,192a12.58,12.58,0,0,0-3.23-8h-94a26.92,26.92,0,0,1,1.21,8,31.82,31.82,0,0,1-4.29,16H200A16,16,0,0,0,216,192Z"></path>',1),K8=$('<path d="M220.8,169.6A8,8,0,0,0,216,168h-8V64a32,32,0,0,0-32-32H40A32,32,0,0,0,8,64C8,77.61,18.05,85.54,19.2,86.4h0A7.89,7.89,0,0,0,24,88a8,8,0,0,0,4.87-14.33h0C28.83,73.62,24,69.74,24,64a16,16,0,0,1,32,0V192a32,32,0,0,0,32,32H200a32,32,0,0,0,32-32C232,178.39,222,170.46,220.8,169.6ZM104,96h64a8,8,0,0,1,0,16H104a8,8,0,0,1,0-16Zm-8,40a8,8,0,0,1,8-8h64a8,8,0,0,1,0,16H104A8,8,0,0,1,96,136Zm104,72H107.71A31.82,31.82,0,0,0,112,192a26.92,26.92,0,0,0-1.21-8h102a12.58,12.58,0,0,1,3.23,8A16,16,0,0,1,200,208Z"></path>'),Q8=$('<path d="M98,136a6,6,0,0,1,6-6h64a6,6,0,0,1,0,12H104A6,6,0,0,1,98,136Zm6-26h64a6,6,0,0,0,0-12H104a6,6,0,0,0,0,12Zm126,82a30,30,0,0,1-30,30H88a30,30,0,0,1-30-30V64a18,18,0,0,0-36,0c0,6.76,5.58,11.19,5.64,11.23A6,6,0,1,1,20.4,84.8C20,84.48,10,76.85,10,64A30,30,0,0,1,40,34H176a30,30,0,0,1,30,30V170h10a6,6,0,0,1,3.6,1.2C220,171.52,230,179.15,230,192Zm-124,0c0-6.76-5.59-11.19-5.64-11.23A6,6,0,0,1,104,170h90V64a18,18,0,0,0-18-18H64a29.82,29.82,0,0,1,6,18V192a18,18,0,0,0,36,0Zm112,0a14.94,14.94,0,0,0-4.34-10H115.88A24.83,24.83,0,0,1,118,192a29.87,29.87,0,0,1-6,18h88A18,18,0,0,0,218,192Z"></path>'),J8=$('<path d="M96,104a8,8,0,0,1,8-8h64a8,8,0,0,1,0,16H104A8,8,0,0,1,96,104Zm8,40h64a8,8,0,0,0,0-16H104a8,8,0,0,0,0,16Zm128,48a32,32,0,0,1-32,32H88a32,32,0,0,1-32-32V64a16,16,0,0,0-32,0c0,5.74,4.83,9.62,4.88,9.66h0A8,8,0,0,1,24,88a7.89,7.89,0,0,1-4.79-1.61h0C18.05,85.54,8,77.61,8,64A32,32,0,0,1,40,32H176a32,32,0,0,1,32,32V168h8a8,8,0,0,1,4.8,1.6C222,170.46,232,178.39,232,192ZM96.26,173.48A8.07,8.07,0,0,1,104,168h88V64a16,16,0,0,0-16-16H67.69A31.71,31.71,0,0,1,72,64V192a16,16,0,0,0,32,0c0-5.74-4.83-9.62-4.88-9.66A7.82,7.82,0,0,1,96.26,173.48ZM216,192a12.58,12.58,0,0,0-3.23-8h-94a26.92,26.92,0,0,1,1.21,8,31.82,31.82,0,0,1-4.29,16H200A16,16,0,0,0,216,192Z"></path>'),$8=$('<path d="M100,104a4,4,0,0,1,4-4h64a4,4,0,0,1,0,8H104A4,4,0,0,1,100,104Zm4,36h64a4,4,0,0,0,0-8H104a4,4,0,0,0,0,8Zm124,52a28,28,0,0,1-28,28H88a28,28,0,0,1-28-28V64a20,20,0,0,0-40,0c0,7.78,6.34,12.75,6.4,12.8a4,4,0,1,1-4.8,6.4C21.21,82.91,12,75.86,12,64A28,28,0,0,1,40,36H176a28,28,0,0,1,28,28V172h12a4,4,0,0,1,2.4.8C218.79,173.09,228,180.14,228,192Zm-120,0c0-7.78-6.34-12.75-6.4-12.8A4,4,0,0,1,104,172h92V64a20,20,0,0,0-20-20H59.57A27.9,27.9,0,0,1,68,64V192a20,20,0,0,0,40,0Zm112,0c0-6-3.74-10.3-5.5-12H112.61A23.31,23.31,0,0,1,116,192a27.94,27.94,0,0,1-8.42,20H200A20,20,0,0,0,220,192Z"></path>'),e6=$('<svg><!><rect width="256" height="256" fill="none"></rect><!></svg>');function oh(i,t){Qe(t,!0);const e=Rt();let r=kt(t,["$$slots","$$events","$$legacy","children"]),n=re(()=>t.weight??e.weight??"regular"),o=re(()=>t.color??e.color??"currentColor"),a=re(()=>t.size??e.size??"1em"),s=re(()=>t.mirrored??e.mirrored??!1);function c(d){let{weight:g,color:b,size:S,mirrored:P,...k}=d;return k}var l=e6();Et(l,(d,g)=>({xmlns:"http://www.w3.org/2000/svg",role:"img",width:p(a),height:p(a),fill:p(o),transform:p(s)?"scale(-1, 1)":void 0,viewBox:"0 0 256 256",...d,...g}),[()=>c(e),()=>c(r)]);var u=G(l);{var h=d=>{var g=te(),b=X(g);xt(b,()=>t.children),x(d,g)};D(u,d=>{t.children&&d(h)})}var f=ue(u,2);{var v=d=>{var g=X8();x(d,g)},_=d=>{var g=te(),b=X(g);{var S=k=>{var A=Y8();gt(),x(k,A)},P=k=>{var A=te(),N=X(A);{var Z=I=>{var O=K8();x(I,O)},L=I=>{var O=te(),J=X(O);{var ee=z=>{var B=Q8();x(z,B)},ne=z=>{var B=te(),q=X(B);{var ae=F=>{var K=J8();x(F,K)},oe=F=>{var K=te(),ye=X(K);{var Se=V=>{var M=$8();x(V,M)},he=V=>{var M=mt();M.nodeValue=(console.error('Unsupported icon weight. Choose from "thin", "light", "regular", "bold", "fill", or "duotone".'),""),x(V,M)};D(ye,V=>{p(n)==="thin"?V(Se):V(he,!1)},!0)}x(F,K)};D(q,F=>{p(n)==="regular"?F(ae):F(oe,!1)},!0)}x(z,B)};D(J,z=>{p(n)==="light"?z(ee):z(ne,!1)},!0)}x(I,O)};D(N,I=>{p(n)==="fill"?I(Z):I(L,!1)},!0)}x(k,A)};D(b,k=>{p(n)==="duotone"?k(S):k(P,!1)},!0)}x(d,g)};D(f,d=>{p(n)==="bold"?d(v):d(_,!1)})}U(l),x(i,l),Je()}function tt(i,t){let e=null;function r(){e||(e=document.createElement("div"),e.className="fixed z-[9999] px-2 py-1 text-xs rounded bg-neutral text-neutral-content shadow-sm pointer-events-none opacity-0 transition-opacity duration-150 whitespace-nowrap max-w-xs",e.textContent=t.content,document.body.appendChild(e),o(),requestAnimationFrame(()=>{e&&(e.style.opacity="1")}))}function n(){e&&(e.style.opacity="0",setTimeout(()=>{e&&e.parentNode&&e.remove()},150),e=null)}function o(){if(!e)return;const l=i.getBoundingClientRect(),u=e.getBoundingClientRect(),h=t.position||"top",f=6;let v=0,_=0;switch(h){case"top":v=l.top-u.height-f,_=l.left+(l.width-u.width)/2;break;case"bottom":v=l.bottom+f,_=l.left+(l.width-u.width)/2;break;case"left":v=l.top+(l.height-u.height)/2,_=l.left-u.width-f;break;case"right":v=l.top+(l.height-u.height)/2,_=l.right+f;break}_<0&&(_=0),v<0&&(v=0),_+u.width>window.innerWidth&&(_=window.innerWidth-u.width),v+u.height>window.innerHeight&&(v=window.innerHeight-u.height),e.style.top=`${v}px`,e.style.left=`${_}px`}function a(){r()}function s(){n()}function c(){e&&n()}return i.addEventListener("mouseenter",a),i.addEventListener("mouseleave",s),i.addEventListener("focus",a),i.addEventListener("blur",s),window.addEventListener("scroll",c,!0),{update(l){t=l,e&&(e.textContent=t.content,o())},destroy(){n(),i.removeEventListener("mouseenter",a),i.removeEventListener("mouseleave",s),i.removeEventListener("focus",a),i.removeEventListener("blur",s),window.removeEventListener("scroll",c,!0)}}}var t6=me('<div><button class="btn btn-ghost btn-circle btn-sm"><!></button></div>'),r6=me("<div></div>"),i6=me("<li><button><!></button></li>"),n6=me("<li><button><!></button></li>"),o6=me('<div class="divider my-1"></div> <li><label class="label cursor-pointer py-1 gap-2"><span class="label-text text-sm"> </span> <input type="checkbox" class="checkbox checkbox-sm"/></label></li>',1),a6=me('<li><div tabindex="0" role="button" class="flex items-center justify-center"><!></div> <ul tabindex="-1"><li><button><!> </button></li> <li><button><!> </button></li> <!></ul></li>'),s6=me("<li><button><!></button></li>"),l6=me("<li><button><!></button></li>"),c6=me("<li><button><!></button></li>"),u6=me("<div></div>"),h6=me("<li><button><!></button></li>"),d6=me("<button><!></button>"),f6=me("<div><div><!> <ul><!> <!> <!> <!> <!> <!> <!> <!></ul></div> <!></div>");function p6(i,t){Qe(t,!0);const e=Wr(Gi),r=re(()=>e.toolbarOpen),n=re(()=>e.config.toolbarPosition||"left"),o=re(()=>p(n)==="left"),a=re(()=>p(n)==="top"),s=re(()=>p(a)?"bottom":p(o)?"right":"left"),c=re(()=>e.config.showToggle!==!1),l=re(()=>e.config.toolbar||{}),u=re(()=>p(l).showSearch!==!1),h=re(()=>p(l).showGallery!==!1),f=re(()=>p(l).showFullscreen!==!1),v=re(()=>p(l).showAnnotations!==!1),_=re(()=>p(l).showInfo!==!1),d=re(()=>p(l).showViewingMode!==!1);let g=re(()=>(Zi.current,[...e.pluginMenuButtons].sort((j,le)=>(j.order??100)-(le.order??100))));function b(){e.toggleToolbar()}let S=Ae(!1);st(()=>{if(p(r)){const j=setTimeout(()=>{be(S,!0)},320);return()=>clearTimeout(j)}else be(S,!1)});var P=f6(),k=G(P),A=G(k);{var N=j=>{var le=t6(),se=G(le);se.__click=b;var Ce=G(se);As(Ce,{size:20,weight:"bold"}),U(se),Ar(se,(pe,Te)=>tt==null?void 0:tt(pe,Te),()=>({content:Cs(),position:p(s)})),U(le),Oe(pe=>{He(le,1,Tt(["shrink-0",p(a)&&"h-full flex items-center px-2",!p(a)&&"w-full flex justify-center py-2"])),Ne(se,"aria-label",pe)},[()=>Cs()]),x(j,le)},Z=j=>{var le=r6();Oe(()=>He(le,1,Tt(p(a)?"w-2":"h-2"))),x(j,le)};D(A,j=>{p(c)?j(N):j(Z,!1)})}var L=ue(A,2),I=G(L);{var O=j=>{var le=i6(),se=G(le);se.__click=()=>e.toggleSearchPanel();var Ce=G(se);ih(Ce,{size:24,weight:"bold"}),U(se),Ar(se,(pe,Te)=>tt==null?void 0:tt(pe,Te),()=>({content:ws(),position:p(s)})),U(le),Oe(pe=>{He(se,1,Tt(["flex items-center justify-center",e.showSearchPanel&&"active"])),Ne(se,"aria-label",pe)},[()=>Iu()]),x(j,le)};D(I,j=>{p(u)&&j(O)})}var J=ue(I,2);{var ee=j=>{var le=n6(),se=G(le);se.__click=()=>e.toggleThumbnailGallery();var Ce=G(se);e8(Ce,{size:24,weight:"bold"}),U(se),Ar(se,(pe,Te)=>tt==null?void 0:tt(pe,Te),()=>({content:e.showThumbnailGallery?bs():ys(),position:p(s)})),U(le),Oe(pe=>{He(se,1,Tt(["flex items-center justify-center",e.showThumbnailGallery&&"active"])),Ne(se,"aria-label",pe)},[()=>e.showThumbnailGallery?bs():ys()]),x(j,le)};D(J,j=>{p(h)&&j(ee)})}var ne=ue(J,2);{var z=j=>{var le=a6(),se=G(le),Ce=G(se);{var pe=Q=>{nh(Q,{size:24,weight:"bold"})},Te=Q=>{oh(Q,{size:24,weight:"bold"})};D(Ce,Q=>{e.viewingMode==="paged"?Q(pe):Q(Te,!1)})}U(se),Ar(se,(Q,Ie)=>tt==null?void 0:tt(Q,Ie),()=>({content:Ps(),position:p(s)}));var Ee=ue(se,2),xe=G(Ee),fe=G(xe);fe.__click=()=>e.setViewingMode("individuals");var Pe=G(fe);oh(Pe,{size:16});var Ye=ue(Pe);U(fe),U(xe);var m=ue(xe,2),T=G(m);T.__click=()=>e.setViewingMode("paged");var H=G(T);nh(H,{size:16});var ie=ue(H);U(T),U(m);var ce=ue(m,2);{var ve=Q=>{var Ie=o6(),Ve=ue(X(Ie),2),je=G(Ve),ke=G(je),Xe=G(ke,!0);U(ke);var y=ue(ke,2);Do(y),y.__change=()=>e.togglePagedOffset(),U(je),U(Ve),Oe(w=>{qe(Xe,w),Ec(y,e.pagedOffset===1)},[()=>Qu()]),x(Q,Ie)};D(ce,Q=>{e.viewingMode==="paged"&&Q(ve)})}U(Ee),U(le),Oe((Q,Ie,Ve)=>{He(le,1,`dropdown ${p(a)?"dropdown-bottom":p(o)?"dropdown-right":"dropdown-left"}`),Ne(se,"aria-label",Q),He(Ee,1,`dropdown-content z-50 menu p-2 shadow bg-base-100 rounded-box w-48 border border-base-200 font-normal ${p(a)?"left-1/2 -translate-x-1/2":""}`),He(fe,1,Tt(e.viewingMode==="individuals"?"active":"")),qe(Ye,` ${Ie??""}`),He(T,1,Tt(e.viewingMode==="paged"?"active":"")),qe(ie,` ${Ve??""}`)},[()=>Ps(),()=>qu(),()=>Yu()]),x(j,le)};D(ne,j=>{p(d)&&j(z)})}var B=ue(ne,2);{var q=j=>{var le=s6(),se=G(le);se.__click=()=>e.toggleFullScreen();var Ce=G(se);{var pe=Ee=>{l8(Ee,{size:24,weight:"bold"})},Te=Ee=>{v8(Ee,{size:24,weight:"bold"})};D(Ce,Ee=>{e.isFullScreen?Ee(pe):Ee(Te,!1)})}U(se),Ar(se,(Ee,xe)=>tt==null?void 0:tt(Ee,xe),()=>({content:e.isFullScreen?xs():Ts(),position:p(s)})),U(le),Oe(Ee=>{He(se,1,Tt(["flex items-center justify-center",e.isFullScreen&&"active"])),Ne(se,"aria-label",Ee)},[()=>e.isFullScreen?xs():Ts()]),x(j,le)};D(B,j=>{p(f)&&j(q)})}var ae=ue(B,2);{var oe=j=>{var le=l6(),se=G(le);se.__click=()=>e.toggleAnnotations();var Ce=G(se);E8(Ce,{size:24,weight:"bold"}),U(se),Ar(se,(pe,Te)=>tt==null?void 0:tt(pe,Te),()=>({content:e.showAnnotations?Es():ks(),position:p(s)})),U(le),Oe(pe=>{He(se,1,Tt(["flex items-center justify-center",e.showAnnotations&&"active"])),Ne(se,"aria-label",pe)},[()=>e.showAnnotations?Es():ks()]),x(j,le)};D(ae,j=>{p(v)&&j(oe)})}var F=ue(ae,2);{var K=j=>{var le=c6(),se=G(le);se.__click=()=>e.toggleMetadataDialog();var Ce=G(se);O8(Ce,{size:24,weight:"bold"}),U(se),Ar(se,(pe,Te)=>tt==null?void 0:tt(pe,Te),()=>({content:Ou(),position:p(s)})),U(le),Oe(pe=>{He(se,1,Tt(["flex items-center justify-center",e.showMetadataDialog&&"active"])),Ne(se,"aria-label",pe)},[()=>Mu()]),x(j,le)};D(F,j=>{p(_)&&j(K)})}var ye=ue(F,2);{var Se=j=>{var le=u6();Oe(()=>He(le,1,Tt(["divider",p(a)&&"divider-horizontal mx-0",!p(a)&&"my-0"]))),x(j,le)};D(ye,j=>{(p(u)||p(h)||p(f)||p(v)||p(_)||p(d))&&p(g).length>0&&j(Se)})}var he=ue(ye,2);Ut(he,17,()=>p(g),j=>j.id,(j,le)=>{const se=re(()=>p(le).icon),Ce=re(()=>typeof $u[p(le).tooltip]=="function"?$u[p(le).tooltip]():p(le).tooltip);var pe=h6(),Te=G(pe);Te.__click=()=>{p(le).onClick()};var Ee=G(Te);Fi(Ee,()=>p(se),(xe,fe)=>{fe(xe,{size:24,weight:"bold"})}),U(Te),Ar(Te,(xe,fe)=>tt==null?void 0:tt(xe,fe),()=>({content:p(Ce),position:p(s)})),U(pe),Oe(xe=>{He(Te,1,xe),Ne(Te,"aria-label",p(Ce))},[()=>{var xe,fe;return Tt(["flex items-center justify-center",((fe=(xe=p(le)).isActive)==null?void 0:fe.call(xe))&&"active"])}]),x(j,pe)}),U(L),U(k);var V=ue(k,2);{var M=j=>{var le=d6();le.__click=b;var se=G(le);B8(se,{size:20,weight:"bold"}),U(le),Ar(le,(Ce,pe)=>tt==null?void 0:tt(Ce,pe),()=>({content:Ss(),position:p(s)})),Oe(Ce=>{He(le,1,Tt(["pointer-events-auto btn btn-circle btn-sm shadow-md z-40 transition-opacity duration-300 absolute mt-2","bg-base-200/90 backdrop-blur border border-base-300 hover:bg-base-300 text-base-content",p(r)&&"opacity-0 pointer-events-none",!p(r)&&"opacity-100"])),Ot(le,p(a)?"right: 0.5rem;":p(o)?"left: 0.5rem;":"right: 0.5rem;"),Ne(le,"aria-label",Ce)},[()=>Ss()]),x(j,le)};D(V,j=>{p(c)&&j(M)})}U(P),Oe(()=>{He(P,1,Tt(["absolute z-50 pointer-events-none flex",p(a)&&"top-0 w-full items-end flex-col pt-0 pr-2",!p(a)&&"top-0 h-full items-start pt-4 pb-4",!p(a)&&p(o)&&"left-0 flex-row",!p(a)&&!p(o)&&"right-0 flex-row-reverse"])),He(k,1,Tt(["pointer-events-auto bg-base-100/95 backdrop-blur shadow-xl transition-all duration-300 ease-in-out flex",p(a)&&"flex-row-reverse h-12 w-auto max-w-full rounded-b-xl border-x border-b border-base-200 origin-top",!p(a)&&"flex-col h-auto max-h-full border-y border-base-200 w-12",!p(a)&&p(o)&&"rounded-r-xl border-r origin-left",!p(a)&&!p(o)&&"rounded-l-xl border-l origin-right",p(r)&&p(a)&&"opacity-100 translate-y-0",p(r)&&!p(a)&&"w-12 opacity-100 translate-x-0",!p(r)&&p(a)&&"h-0 opacity-0 -translate-y-full",!p(r)&&!p(a)&&"w-0 opacity-0",!p(r)&&!p(a)&&p(o)&&"-translate-x-full",!p(r)&&!p(a)&&!p(o)&&"translate-x-full",p(S)?"overflow-visible":"overflow-hidden"])),He(L,1,Tt(["menu menu-md gap-2 flex-nowrap items-center min-h-0",p(a)&&"px-2 py-1 menu-horizontal w-auto flex-row-reverse",p(a)&&!p(S)&&"overflow-x-auto overflow-y-hidden",p(a)&&p(S)&&"overflow-visible",!p(a)&&!p(S)&&"py-2 px-1 flex-1 overflow-y-auto overflow-x-hidden w-12",!p(a)&&p(S)&&"py-2 px-1 flex-1 w-12"]))}),x(i,P),Je()}Qr(["click","change"]);var g6=me('<div class="mb-6 prose"><p><!></p></div>'),v6=me('<dt class="font-bold text-lg opacity-70 mt-6"> </dt> <dd class="text-sm ps-4"><!></dd>',1),m6=me('<dt class="font-bold text-lg opacity-70 mt-6"> </dt> <dd class="text-sm ps-4"><a target="_blank" rel="noreferrer" class="link link-primary break-all"> </a></dd>',1),_6=me('<dt class="font-bold text-lg opacity-70 mt-6"> </dt> <dd class="text-sm ps-4"><!></dd>',1),w6=me('<dt class="font-bold text-lg opacity-70 mt-6"> </dt> <dd class="text-sm ps-4"><a target="_blank" rel="noreferrer" class="link link-primary break-all"> </a></dd>',1),b6=me('<dialog class="modal"><div class="modal-box w-11/12 max-w-5xl"><form method="dialog"><button class="btn btn-sm btn-circle btn-ghost absolute right-2 top-2">✕</button></form> <h3 class="font-bold text-lg mb-4"> </h3> <div class="py-4 overflow-y-auto max-h-[70vh]"><!> <dl><!> <!> <!> <!></dl></div> <div class="modal-action"><form method="dialog"><button class="btn"> </button></form></div></div> <form method="dialog" class="modal-backdrop"><button> </button></form></dialog>');function y6(i,t){Qe(t,!0);const e=Wr(Gi);let r=re(()=>e.manifest),n=re(()=>{const q=Zi.current;if(!p(r))return[];const ae=p(r).getMetadata();return ae?ae.map(oe=>{let F="",K="";const ye=Se=>{if(typeof Se=="string")return Se;if(Array.isArray(Se)){let he=Se.find(V=>V.locale===q||V.language===q);return he||(he=Se.find(V=>V.locale==="en"||V.language==="en")),he||(he=Se.find(V=>!V.locale&&!V.language)),he||(he=Se[0]),he?he.value:""}return String(Se)};return oe.getLabel?F=ye(oe.getLabel()):oe.label&&(F=ye(oe.label)),oe.getValue?K=ye(oe.getValue()):oe.value&&(K=ye(oe.value)),{label:F,value:K}}):[]}),o=re(()=>p(r)?p(r).getDescription():""),a=re(()=>{var q;return p(r)?(q=p(r).getRequiredStatement())==null?void 0:q.getValue():""}),s=re(()=>p(r)?p(r).getLicense():"");var c=b6(),l=G(c),u=G(l),h=G(u);h.__click=()=>e.toggleMetadataDialog(),U(u);var f=ue(u,2),v=G(f,!0);U(f);var _=ue(f,2),d=G(_);{var g=q=>{var ae=g6(),oe=G(ae),F=G(oe);Cr(F,()=>p(o)),U(oe),U(ae),x(q,ae)};D(d,q=>{p(o)&&q(g)})}var b=ue(d,2),S=G(b);{var P=q=>{var ae=v6(),oe=X(ae),F=G(oe,!0);U(oe);var K=ue(oe,2),ye=G(K);Cr(ye,()=>p(a)),U(K),Oe(Se=>qe(F,Se),[()=>Au()]),x(q,ae)};D(S,q=>{p(a)&&q(P)})}var k=ue(S,2);{var A=q=>{var ae=m6(),oe=X(ae),F=G(oe,!0);U(oe);var K=ue(oe,2),ye=G(K),Se=G(ye,!0);U(ye),U(K),Oe(he=>{qe(F,he),Ne(ye,"href",p(s)),qe(Se,p(s))},[()=>Ru()]),x(q,ae)};D(k,q=>{p(s)&&q(A)})}var N=ue(k,2);Ut(N,17,()=>p(n),Ni,(q,ae)=>{var oe=_6(),F=X(oe),K=G(F,!0);U(F);var ye=ue(F,2),Se=G(ye);Cr(Se,()=>p(ae).value),U(ye),Oe(()=>qe(K,p(ae).label)),x(q,oe)});var Z=ue(N,2);{var L=q=>{var ae=w6(),oe=X(ae),F=G(oe,!0);U(oe);var K=ue(oe,2),ye=G(K),Se=G(ye,!0);U(ye),U(K),Oe(he=>{qe(F,he),Ne(ye,"href",e.manifestId),qe(Se,e.manifestId)},[()=>Bu()]),x(q,ae)};D(Z,q=>{e.manifestId&&q(L)})}U(b),U(_);var I=ue(_,2),O=G(I),J=G(O);J.__click=()=>e.toggleMetadataDialog();var ee=G(J,!0);U(J),U(O),U(I),U(l);var ne=ue(l,2),z=G(ne);z.__click=()=>e.toggleMetadataDialog();var B=G(z,!0);U(z),U(ne),U(c),Oe((q,ae,oe)=>{c.open=e.showMetadataDialog,qe(v,q),qe(ee,ae),qe(B,oe)},[()=>p(r)?p(r).getLabel().length&&p(r).getLabel()[0]?p(r).getLabel()[0].value:Cu():Pu(),()=>_s(),()=>_s()]),x(i,c),Je()}Qr(["click"]);var x6=me('<button class="btn btn-sm btn-circle btn-ghost"><!></button>'),T6=me('<span class="loading loading-spinner loading-xs"></span>'),E6=me('<div class="flex justify-center p-8"><span class="loading loading-spinner loading-lg text-primary"></span></div>'),k6=me('<div class="text-center opacity-50 p-4"> </div>'),S6=me('<div class="text-center opacity-50 p-4 text-sm"> </div>'),C6=me('<div class="leading-relaxed"><span><!></span> <span class="bg-yellow-200 text-yellow-900 font-bold px-0.5 rounded"><!></span> <span><!></span></div>'),P6=me('<div class="leading-relaxed"><!></div>'),A6=me('<div class="p-3 text-sm border-b border-base-200 last:border-none hover:bg-base-200/30 transition-colors"><!></div>'),R6=me('<button><div class="text-sm font-bold opacity-80 bg-base-200/50 flex items-center justify-between py-2 px-3 border-b border-base-200"><span> </span> <span class="badge badge-sm badge-ghost"> </span></div> <div class="p-0"></div></button>'),I6=me('<div class="text-xs font-bold opacity-50 uppercase tracking-wider pb-2"> </div> <!>',1),O6=me('<div role="dialog"><div class="flex items-center justify-between p-4 border-b border-base-300"><h2 class="font-bold text-lg"> </h2> <!></div> <div class="p-4 border-b border-base-300 shrink-0"><div class="relative w-full"><input type="text" class="input input-bordered w-full pr-12"/> <button class="btn btn-primary absolute right-0 top-0 h-full rounded-l-none"><!></button></div></div> <div class="flex-1 overflow-y-auto p-4 space-y-4"><!></div></div>');function ah(i,t){Qe(t,!0);const e=Wr(Gi);let r=Ae(""),n=re(()=>{var v;return((v=e.config.search)==null?void 0:v.showCloseButton)??!0});st(()=>{e.searchQuery!==et(()=>p(r))&&be(r,e.searchQuery,!0)});function o(){e.search(p(r))}function a(v){v.key==="Enter"&&o()}function s(v){const _=e.canvases[v];_&&e.setCanvas(_.id)}let c=re(()=>{var v;return((v=e.config.search)==null?void 0:v.width)??"320px"}),l=re(()=>{var v;return((v=e.config.search)==null?void 0:v.position)??"right"});var u=te(),h=X(u);{var f=v=>{var _=O6(),d=G(_),g=G(d),b=G(g,!0);U(g);var S=ue(g,2);{var P=B=>{var q=x6();q.__click=()=>e.toggleSearchPanel();var ae=G(q);As(ae,{size:20,weight:"bold"}),U(q),Oe(oe=>Ne(q,"aria-label",oe),[()=>ju()]),x(B,q)};D(S,B=>{p(n)&&B(P)})}U(d);var k=ue(d,2),A=G(k),N=G(A);Do(N),N.__keydown=a;var Z=ue(N,2);Z.__click=o;var L=G(Z);{var I=B=>{var q=T6();x(B,q)},O=B=>{ih(B,{size:20,weight:"bold"})};D(L,B=>{e.isSearching?B(I):B(O,!1)})}U(Z),U(A),U(k);var J=ue(k,2),ee=G(J);{var ne=B=>{var q=E6();x(B,q)},z=B=>{var q=te(),ae=X(q);{var oe=K=>{var ye=k6(),Se=G(ye,!0);U(ye),Oe(he=>qe(Se,he),[()=>Eu({query:e.searchQuery})]),x(K,ye)},F=K=>{var ye=te(),Se=X(ye);{var he=M=>{var j=S6(),le=G(j,!0);U(j),Oe(se=>qe(le,se),[()=>ku()]),x(M,j)},V=M=>{var j=I6(),le=X(j),se=G(le,!0);U(le);var Ce=ue(le,2);Ut(Ce,17,()=>e.searchResults,pe=>pe.canvasIndex,(pe,Te)=>{var Ee=R6();Ee.__click=()=>s(p(Te).canvasIndex);var xe=G(Ee),fe=G(xe),Pe=G(fe,!0);U(fe);var Ye=ue(fe,2),m=G(Ye);U(Ye),U(xe);var T=ue(xe,2);Ut(T,21,()=>p(Te).hits.slice(0,1),Ni,(H,ie)=>{var ce=A6(),ve=G(ce);{var Q=Ve=>{var je=C6(),ke=G(je),Xe=G(ke);Cr(Xe,()=>p(ie).before),U(ke);var y=ue(ke,2),w=G(y);Cr(w,()=>p(ie).match),U(y);var E=ue(y,2),C=G(E);Cr(C,()=>p(ie).after),U(E),U(je),x(Ve,je)},Ie=Ve=>{var je=P6(),ke=G(je);Cr(ke,()=>p(ie).match),U(je),x(Ve,je)};D(ve,Ve=>{p(ie).type==="hit"?Ve(Q):Ve(Ie,!1)})}U(ce),x(H,ce)}),U(T),U(Ee),Oe(()=>{He(Ee,1,`w-full text-left bg-base-100 shadow-sm border border-base-200 rounded-box cursor-pointer hover:shadow-md transition-all block p-0 select-none ${e.currentCanvasIndex===p(Te).canvasIndex?"ring-2 ring-primary bg-primary/5":""}`),qe(Pe,p(Te).canvasLabel),qe(m,`${p(Te).hits.length??""}
|
|
20
|
+
${p(d)==="left"||p(d)==="right"?"flex-col border-x":""}`:"fixed z-900 bg-base-100 shadow-2xl rounded-lg flex flex-col border border-base-300 overflow-hidden select-none")+(e.isGalleryDragging?" pointer-events-none opacity-80":"")),Ot(O,p(d)!=="none"?"":`left: ${e.galleryPosition.x}px; top: ${e.galleryPosition.y}px; width: ${e.gallerySize.width}px; height: ${e.gallerySize.height}px;`),He(B,1,`flex-1 p-1 bg-base-100 ${p(g)?"overflow-x-auto overflow-y-hidden h-full":"overflow-y-auto overflow-x-hidden"}`),He(q,1,Tt(p(g)?"flex flex-row gap-2 h-full items-center":"grid gap-2")),Ot(q,p(g)?"":`grid-template-columns: repeat(auto-fill, minmax(${p(b)}px, 1fr));`)}),x(L,I)};D(N,L=>{e.showThumbnailGallery&&L(Z)})}x(i,A),Je()}Qr(["click","mousedown"]);var Bx=$('<path d="M232.49,215.51,185,168a92.12,92.12,0,1,0-17,17l47.53,47.54a12,12,0,0,0,17-17ZM44,112a68,68,0,1,1,68,68A68.07,68.07,0,0,1,44,112Z"></path>'),Vx=$('<path d="M192,112a80,80,0,1,1-80-80A80,80,0,0,1,192,112Z" opacity="0.2"></path><path d="M229.66,218.34,179.6,168.28a88.21,88.21,0,1,0-11.32,11.31l50.06,50.07a8,8,0,0,0,11.32-11.32ZM40,112a72,72,0,1,1,72,72A72.08,72.08,0,0,1,40,112Z"></path>',1),jx=$('<path d="M168,112a56,56,0,1,1-56-56A56,56,0,0,1,168,112Zm61.66,117.66a8,8,0,0,1-11.32,0l-50.06-50.07a88,88,0,1,1,11.32-11.31l50.06,50.06A8,8,0,0,1,229.66,229.66ZM112,184a72,72,0,1,0-72-72A72.08,72.08,0,0,0,112,184Z"></path>'),Ux=$('<path d="M228.24,219.76l-51.38-51.38a86.15,86.15,0,1,0-8.48,8.48l51.38,51.38a6,6,0,0,0,8.48-8.48ZM38,112a74,74,0,1,1,74,74A74.09,74.09,0,0,1,38,112Z"></path>'),Gx=$('<path d="M229.66,218.34l-50.07-50.06a88.11,88.11,0,1,0-11.31,11.31l50.06,50.07a8,8,0,0,0,11.32-11.32ZM40,112a72,72,0,1,1,72,72A72.08,72.08,0,0,1,40,112Z"></path>'),Zx=$('<path d="M226.83,221.17l-52.7-52.7a84.1,84.1,0,1,0-5.66,5.66l52.7,52.7a4,4,0,0,0,5.66-5.66ZM36,112a76,76,0,1,1,76,76A76.08,76.08,0,0,1,36,112Z"></path>'),Wx=$('<svg><!><rect width="256" height="256" fill="none"></rect><!></svg>');function ih(i,t){Qe(t,!0);const e=Rt();let r=kt(t,["$$slots","$$events","$$legacy","children"]),n=re(()=>t.weight??e.weight??"regular"),o=re(()=>t.color??e.color??"currentColor"),a=re(()=>t.size??e.size??"1em"),s=re(()=>t.mirrored??e.mirrored??!1);function c(d){let{weight:g,color:b,size:S,mirrored:P,...k}=d;return k}var l=Wx();Et(l,(d,g)=>({xmlns:"http://www.w3.org/2000/svg",role:"img",width:p(a),height:p(a),fill:p(o),transform:p(s)?"scale(-1, 1)":void 0,viewBox:"0 0 256 256",...d,...g}),[()=>c(e),()=>c(r)]);var u=G(l);{var h=d=>{var g=te(),b=X(g);xt(b,()=>t.children),x(d,g)};D(u,d=>{t.children&&d(h)})}var f=ue(u,2);{var v=d=>{var g=Bx();x(d,g)},_=d=>{var g=te(),b=X(g);{var S=k=>{var A=Vx();gt(),x(k,A)},P=k=>{var A=te(),N=X(A);{var Z=I=>{var O=jx();x(I,O)},L=I=>{var O=te(),J=X(O);{var ee=z=>{var B=Ux();x(z,B)},ne=z=>{var B=te(),q=X(B);{var ae=F=>{var K=Gx();x(F,K)},oe=F=>{var K=te(),ye=X(K);{var Se=V=>{var M=Zx();x(V,M)},he=V=>{var M=mt();M.nodeValue=(console.error('Unsupported icon weight. Choose from "thin", "light", "regular", "bold", "fill", or "duotone".'),""),x(V,M)};D(ye,V=>{p(n)==="thin"?V(Se):V(he,!1)},!0)}x(F,K)};D(q,F=>{p(n)==="regular"?F(ae):F(oe,!1)},!0)}x(z,B)};D(J,z=>{p(n)==="light"?z(ee):z(ne,!1)},!0)}x(I,O)};D(N,I=>{p(n)==="fill"?I(Z):I(L,!1)},!0)}x(k,A)};D(b,k=>{p(n)==="duotone"?k(S):k(P,!1)},!0)}x(d,g)};D(f,d=>{p(n)==="bold"?d(v):d(_,!1)})}U(l),x(i,l),Je()}var qx=$('<path d="M184,44H72A20,20,0,0,0,52,64V192a20,20,0,0,0,20,20H184a20,20,0,0,0,20-20V64A20,20,0,0,0,184,44Zm-4,144H76V68H180ZM244,56V200a12,12,0,0,1-24,0V56a12,12,0,0,1,24,0ZM36,56V200a12,12,0,0,1-24,0V56a12,12,0,0,1,24,0Z"></path>'),Xx=$('<path d="M200,64V192a8,8,0,0,1-8,8H64a8,8,0,0,1-8-8V64a8,8,0,0,1,8-8H192A8,8,0,0,1,200,64Z" opacity="0.2"></path><path d="M192,48H64A16,16,0,0,0,48,64V192a16,16,0,0,0,16,16H192a16,16,0,0,0,16-16V64A16,16,0,0,0,192,48Zm0,144H64V64H192V192ZM240,56V200a8,8,0,0,1-16,0V56a8,8,0,0,1,16,0ZM32,56V200a8,8,0,0,1-16,0V56a8,8,0,0,1,16,0Z"></path>',1),Yx=$('<path d="M208,64V192a16,16,0,0,1-16,16H64a16,16,0,0,1-16-16V64A16,16,0,0,1,64,48H192A16,16,0,0,1,208,64Zm24-16a8,8,0,0,0-8,8V200a8,8,0,0,0,16,0V56A8,8,0,0,0,232,48ZM24,48a8,8,0,0,0-8,8V200a8,8,0,0,0,16,0V56A8,8,0,0,0,24,48Z"></path>'),Kx=$('<path d="M192,50H64A14,14,0,0,0,50,64V192a14,14,0,0,0,14,14H192a14,14,0,0,0,14-14V64A14,14,0,0,0,192,50Zm2,142a2,2,0,0,1-2,2H64a2,2,0,0,1-2-2V64a2,2,0,0,1,2-2H192a2,2,0,0,1,2,2ZM238,56V200a6,6,0,0,1-12,0V56a6,6,0,0,1,12,0ZM30,56V200a6,6,0,0,1-12,0V56a6,6,0,0,1,12,0Z"></path>'),Qx=$('<path d="M192,48H64A16,16,0,0,0,48,64V192a16,16,0,0,0,16,16H192a16,16,0,0,0,16-16V64A16,16,0,0,0,192,48Zm0,144H64V64H192V192ZM240,56V200a8,8,0,0,1-16,0V56a8,8,0,0,1,16,0ZM32,56V200a8,8,0,0,1-16,0V56a8,8,0,0,1,16,0Z"></path>'),Jx=$('<path d="M192,52H64A12,12,0,0,0,52,64V192a12,12,0,0,0,12,12H192a12,12,0,0,0,12-12V64A12,12,0,0,0,192,52Zm4,140a4,4,0,0,1-4,4H64a4,4,0,0,1-4-4V64a4,4,0,0,1,4-4H192a4,4,0,0,1,4,4ZM236,56V200a4,4,0,0,1-8,0V56a4,4,0,0,1,8,0ZM28,56V200a4,4,0,0,1-8,0V56a4,4,0,0,1,8,0Z"></path>'),$x=$('<svg><!><rect width="256" height="256" fill="none"></rect><!></svg>');function e8(i,t){Qe(t,!0);const e=Rt();let r=kt(t,["$$slots","$$events","$$legacy","children"]),n=re(()=>t.weight??e.weight??"regular"),o=re(()=>t.color??e.color??"currentColor"),a=re(()=>t.size??e.size??"1em"),s=re(()=>t.mirrored??e.mirrored??!1);function c(d){let{weight:g,color:b,size:S,mirrored:P,...k}=d;return k}var l=$x();Et(l,(d,g)=>({xmlns:"http://www.w3.org/2000/svg",role:"img",width:p(a),height:p(a),fill:p(o),transform:p(s)?"scale(-1, 1)":void 0,viewBox:"0 0 256 256",...d,...g}),[()=>c(e),()=>c(r)]);var u=G(l);{var h=d=>{var g=te(),b=X(g);xt(b,()=>t.children),x(d,g)};D(u,d=>{t.children&&d(h)})}var f=ue(u,2);{var v=d=>{var g=qx();x(d,g)},_=d=>{var g=te(),b=X(g);{var S=k=>{var A=Xx();gt(),x(k,A)},P=k=>{var A=te(),N=X(A);{var Z=I=>{var O=Yx();x(I,O)},L=I=>{var O=te(),J=X(O);{var ee=z=>{var B=Kx();x(z,B)},ne=z=>{var B=te(),q=X(B);{var ae=F=>{var K=Qx();x(F,K)},oe=F=>{var K=te(),ye=X(K);{var Se=V=>{var M=Jx();x(V,M)},he=V=>{var M=mt();M.nodeValue=(console.error('Unsupported icon weight. Choose from "thin", "light", "regular", "bold", "fill", or "duotone".'),""),x(V,M)};D(ye,V=>{p(n)==="thin"?V(Se):V(he,!1)},!0)}x(F,K)};D(q,F=>{p(n)==="regular"?F(ae):F(oe,!1)},!0)}x(z,B)};D(J,z=>{p(n)==="light"?z(ee):z(ne,!1)},!0)}x(I,O)};D(N,I=>{p(n)==="fill"?I(Z):I(L,!1)},!0)}x(k,A)};D(b,k=>{p(n)==="duotone"?k(S):k(P,!1)},!0)}x(d,g)};D(f,d=>{p(n)==="bold"?d(v):d(_,!1)})}U(l),x(i,l),Je()}var t8=$('<path d="M148,96V48a12,12,0,0,1,24,0V84h36a12,12,0,0,1,0,24H160A12,12,0,0,1,148,96ZM96,148H48a12,12,0,0,0,0,24H84v36a12,12,0,0,0,24,0V160A12,12,0,0,0,96,148Zm112,0H160a12,12,0,0,0-12,12v48a12,12,0,0,0,24,0V172h36a12,12,0,0,0,0-24ZM96,36A12,12,0,0,0,84,48V84H48a12,12,0,0,0,0,24H96a12,12,0,0,0,12-12V48A12,12,0,0,0,96,36Z"></path>'),r8=$('<path d="M208,64V192a16,16,0,0,1-16,16H64a16,16,0,0,1-16-16V64A16,16,0,0,1,64,48H192A16,16,0,0,1,208,64Z" opacity="0.2"></path><path d="M152,96V48a8,8,0,0,1,16,0V88h40a8,8,0,0,1,0,16H160A8,8,0,0,1,152,96ZM96,152H48a8,8,0,0,0,0,16H88v40a8,8,0,0,0,16,0V160A8,8,0,0,0,96,152Zm112,0H160a8,8,0,0,0-8,8v48a8,8,0,0,0,16,0V168h40a8,8,0,0,0,0-16ZM96,40a8,8,0,0,0-8,8V88H48a8,8,0,0,0,0,16H96a8,8,0,0,0,8-8V48A8,8,0,0,0,96,40Z"></path>',1),i8=$('<path d="M152,96V48a8,8,0,0,1,13.66-5.66l48,48A8,8,0,0,1,208,104H160A8,8,0,0,1,152,96ZM96,152H48a8,8,0,0,0-5.66,13.66l48,48A8,8,0,0,0,104,208V160A8,8,0,0,0,96,152ZM99.06,40.61a8,8,0,0,0-8.72,1.73l-48,48A8,8,0,0,0,48,104H96a8,8,0,0,0,8-8V48A8,8,0,0,0,99.06,40.61ZM208,152H160a8,8,0,0,0-8,8v48a8,8,0,0,0,13.66,5.66l48-48A8,8,0,0,0,208,152Z"></path>'),n8=$('<path d="M154,96V48a6,6,0,0,1,12,0V90h42a6,6,0,0,1,0,12H160A6,6,0,0,1,154,96ZM96,154H48a6,6,0,0,0,0,12H90v42a6,6,0,0,0,12,0V160A6,6,0,0,0,96,154Zm112,0H160a6,6,0,0,0-6,6v48a6,6,0,0,0,12,0V166h42a6,6,0,0,0,0-12ZM96,42a6,6,0,0,0-6,6V90H48a6,6,0,0,0,0,12H96a6,6,0,0,0,6-6V48A6,6,0,0,0,96,42Z"></path>'),o8=$('<path d="M152,96V48a8,8,0,0,1,16,0V88h40a8,8,0,0,1,0,16H160A8,8,0,0,1,152,96ZM96,152H48a8,8,0,0,0,0,16H88v40a8,8,0,0,0,16,0V160A8,8,0,0,0,96,152Zm112,0H160a8,8,0,0,0-8,8v48a8,8,0,0,0,16,0V168h40a8,8,0,0,0,0-16ZM96,40a8,8,0,0,0-8,8V88H48a8,8,0,0,0,0,16H96a8,8,0,0,0,8-8V48A8,8,0,0,0,96,40Z"></path>'),a8=$('<path d="M156,96V48a4,4,0,0,1,8,0V92h44a4,4,0,0,1,0,8H160A4,4,0,0,1,156,96ZM96,156H48a4,4,0,0,0,0,8H92v44a4,4,0,0,0,8,0V160A4,4,0,0,0,96,156Zm112,0H160a4,4,0,0,0-4,4v48a4,4,0,0,0,8,0V164h44a4,4,0,0,0,0-8ZM96,44a4,4,0,0,0-4,4V92H48a4,4,0,0,0,0,8H96a4,4,0,0,0,4-4V48A4,4,0,0,0,96,44Z"></path>'),s8=$('<svg><!><rect width="256" height="256" fill="none"></rect><!></svg>');function l8(i,t){Qe(t,!0);const e=Rt();let r=kt(t,["$$slots","$$events","$$legacy","children"]),n=re(()=>t.weight??e.weight??"regular"),o=re(()=>t.color??e.color??"currentColor"),a=re(()=>t.size??e.size??"1em"),s=re(()=>t.mirrored??e.mirrored??!1);function c(d){let{weight:g,color:b,size:S,mirrored:P,...k}=d;return k}var l=s8();Et(l,(d,g)=>({xmlns:"http://www.w3.org/2000/svg",role:"img",width:p(a),height:p(a),fill:p(o),transform:p(s)?"scale(-1, 1)":void 0,viewBox:"0 0 256 256",...d,...g}),[()=>c(e),()=>c(r)]);var u=G(l);{var h=d=>{var g=te(),b=X(g);xt(b,()=>t.children),x(d,g)};D(u,d=>{t.children&&d(h)})}var f=ue(u,2);{var v=d=>{var g=t8();x(d,g)},_=d=>{var g=te(),b=X(g);{var S=k=>{var A=r8();gt(),x(k,A)},P=k=>{var A=te(),N=X(A);{var Z=I=>{var O=i8();x(I,O)},L=I=>{var O=te(),J=X(O);{var ee=z=>{var B=n8();x(z,B)},ne=z=>{var B=te(),q=X(B);{var ae=F=>{var K=o8();x(F,K)},oe=F=>{var K=te(),ye=X(K);{var Se=V=>{var M=a8();x(V,M)},he=V=>{var M=mt();M.nodeValue=(console.error('Unsupported icon weight. Choose from "thin", "light", "regular", "bold", "fill", or "duotone".'),""),x(V,M)};D(ye,V=>{p(n)==="thin"?V(Se):V(he,!1)},!0)}x(F,K)};D(q,F=>{p(n)==="regular"?F(ae):F(oe,!1)},!0)}x(z,B)};D(J,z=>{p(n)==="light"?z(ee):z(ne,!1)},!0)}x(I,O)};D(N,I=>{p(n)==="fill"?I(Z):I(L,!1)},!0)}x(k,A)};D(b,k=>{p(n)==="duotone"?k(S):k(P,!1)},!0)}x(d,g)};D(f,d=>{p(n)==="bold"?d(v):d(_,!1)})}U(l),x(i,l),Je()}var c8=$('<path d="M220,48V88a12,12,0,0,1-24,0V60H168a12,12,0,0,1,0-24h40A12,12,0,0,1,220,48ZM88,196H60V168a12,12,0,0,0-24,0v40a12,12,0,0,0,12,12H88a12,12,0,0,0,0-24Zm120-40a12,12,0,0,0-12,12v28H168a12,12,0,0,0,0,24h40a12,12,0,0,0,12-12V168A12,12,0,0,0,208,156ZM88,36H48A12,12,0,0,0,36,48V88a12,12,0,0,0,24,0V60H88a12,12,0,0,0,0-24Z"></path>'),u8=$('<path d="M208,48V208H48V48Z" opacity="0.2"></path><path d="M216,48V88a8,8,0,0,1-16,0V56H168a8,8,0,0,1,0-16h40A8,8,0,0,1,216,48ZM88,200H56V168a8,8,0,0,0-16,0v40a8,8,0,0,0,8,8H88a8,8,0,0,0,0-16Zm120-40a8,8,0,0,0-8,8v32H168a8,8,0,0,0,0,16h40a8,8,0,0,0,8-8V168A8,8,0,0,0,208,160ZM88,40H48a8,8,0,0,0-8,8V88a8,8,0,0,0,16,0V56H88a8,8,0,0,0,0-16Z"></path>',1),h8=$('<path d="M93.66,202.34A8,8,0,0,1,88,216H48a8,8,0,0,1-8-8V168a8,8,0,0,1,13.66-5.66ZM88,40H48a8,8,0,0,0-8,8V88a8,8,0,0,0,13.66,5.66l40-40A8,8,0,0,0,88,40ZM211.06,160.61a8,8,0,0,0-8.72,1.73l-40,40A8,8,0,0,0,168,216h40a8,8,0,0,0,8-8V168A8,8,0,0,0,211.06,160.61ZM208,40H168a8,8,0,0,0-5.66,13.66l40,40A8,8,0,0,0,216,88V48A8,8,0,0,0,208,40Z"></path>'),d8=$('<path d="M214,48V88a6,6,0,0,1-12,0V54H168a6,6,0,0,1,0-12h40A6,6,0,0,1,214,48ZM88,202H54V168a6,6,0,0,0-12,0v40a6,6,0,0,0,6,6H88a6,6,0,0,0,0-12Zm120-40a6,6,0,0,0-6,6v34H168a6,6,0,0,0,0,12h40a6,6,0,0,0,6-6V168A6,6,0,0,0,208,162ZM88,42H48a6,6,0,0,0-6,6V88a6,6,0,0,0,12,0V54H88a6,6,0,0,0,0-12Z"></path>'),f8=$('<path d="M216,48V88a8,8,0,0,1-16,0V56H168a8,8,0,0,1,0-16h40A8,8,0,0,1,216,48ZM88,200H56V168a8,8,0,0,0-16,0v40a8,8,0,0,0,8,8H88a8,8,0,0,0,0-16Zm120-40a8,8,0,0,0-8,8v32H168a8,8,0,0,0,0,16h40a8,8,0,0,0,8-8V168A8,8,0,0,0,208,160ZM88,40H48a8,8,0,0,0-8,8V88a8,8,0,0,0,16,0V56H88a8,8,0,0,0,0-16Z"></path>'),p8=$('<path d="M212,48V88a4,4,0,0,1-8,0V52H168a4,4,0,0,1,0-8h40A4,4,0,0,1,212,48ZM88,204H52V168a4,4,0,0,0-8,0v40a4,4,0,0,0,4,4H88a4,4,0,0,0,0-8Zm120-40a4,4,0,0,0-4,4v36H168a4,4,0,0,0,0,8h40a4,4,0,0,0,4-4V168A4,4,0,0,0,208,164ZM88,44H48a4,4,0,0,0-4,4V88a4,4,0,0,0,8,0V52H88a4,4,0,0,0,0-8Z"></path>'),g8=$('<svg><!><rect width="256" height="256" fill="none"></rect><!></svg>');function v8(i,t){Qe(t,!0);const e=Rt();let r=kt(t,["$$slots","$$events","$$legacy","children"]),n=re(()=>t.weight??e.weight??"regular"),o=re(()=>t.color??e.color??"currentColor"),a=re(()=>t.size??e.size??"1em"),s=re(()=>t.mirrored??e.mirrored??!1);function c(d){let{weight:g,color:b,size:S,mirrored:P,...k}=d;return k}var l=g8();Et(l,(d,g)=>({xmlns:"http://www.w3.org/2000/svg",role:"img",width:p(a),height:p(a),fill:p(o),transform:p(s)?"scale(-1, 1)":void 0,viewBox:"0 0 256 256",...d,...g}),[()=>c(e),()=>c(r)]);var u=G(l);{var h=d=>{var g=te(),b=X(g);xt(b,()=>t.children),x(d,g)};D(u,d=>{t.children&&d(h)})}var f=ue(u,2);{var v=d=>{var g=c8();x(d,g)},_=d=>{var g=te(),b=X(g);{var S=k=>{var A=u8();gt(),x(k,A)},P=k=>{var A=te(),N=X(A);{var Z=I=>{var O=h8();x(I,O)},L=I=>{var O=te(),J=X(O);{var ee=z=>{var B=d8();x(z,B)},ne=z=>{var B=te(),q=X(B);{var ae=F=>{var K=f8();x(F,K)},oe=F=>{var K=te(),ye=X(K);{var Se=V=>{var M=p8();x(V,M)},he=V=>{var M=mt();M.nodeValue=(console.error('Unsupported icon weight. Choose from "thin", "light", "regular", "bold", "fill", or "duotone".'),""),x(V,M)};D(ye,V=>{p(n)==="thin"?V(Se):V(he,!1)},!0)}x(F,K)};D(q,F=>{p(n)==="regular"?F(ae):F(oe,!1)},!0)}x(z,B)};D(J,z=>{p(n)==="light"?z(ee):z(ne,!1)},!0)}x(I,O)};D(N,I=>{p(n)==="fill"?I(Z):I(L,!1)},!0)}x(k,A)};D(b,k=>{p(n)==="duotone"?k(S):k(P,!1)},!0)}x(d,g)};D(f,d=>{p(n)==="bold"?d(v):d(_,!1)})}U(l),x(i,l),Je()}var m8=$('<path d="M84,100A12,12,0,0,1,96,88h64a12,12,0,0,1,0,24H96A12,12,0,0,1,84,100Zm12,52h64a12,12,0,0,0,0-24H96a12,12,0,0,0,0,24ZM236,56V184a20,20,0,0,1-20,20H157.89l-12.52,21.92a20,20,0,0,1-34.74,0L98.11,204H40a20,20,0,0,1-20-20V56A20,20,0,0,1,40,36H216A20,20,0,0,1,236,56Zm-24,4H44V180h61.07a12,12,0,0,1,10.42,6.05L128,207.94l12.51-21.89A12,12,0,0,1,150.93,180H212Z"></path>'),_8=$('<path d="M224,56V184a8,8,0,0,1-8,8H150.93l-16,28a8,8,0,0,1-13.9,0l-16-28H40a8,8,0,0,1-8-8V56a8,8,0,0,1,8-8H216A8,8,0,0,1,224,56Z" opacity="0.2"></path><path d="M88,104a8,8,0,0,1,8-8h64a8,8,0,0,1,0,16H96A8,8,0,0,1,88,104Zm8,40h64a8,8,0,0,0,0-16H96a8,8,0,0,0,0,16ZM232,56V184a16,16,0,0,1-16,16H155.57l-13.68,23.94a16,16,0,0,1-27.78,0L100.43,200H40a16,16,0,0,1-16-16V56A16,16,0,0,1,40,40H216A16,16,0,0,1,232,56Zm-16,0H40V184h65.07a8,8,0,0,1,7,4l16,28,16-28a8,8,0,0,1,7-4H216Z"></path>',1),w8=$('<path d="M216,40H40A16,16,0,0,0,24,56V184a16,16,0,0,0,16,16h60.43l13.68,23.94a16,16,0,0,0,27.78,0L155.57,200H216a16,16,0,0,0,16-16V56A16,16,0,0,0,216,40ZM160,144H96a8,8,0,0,1,0-16h64a8,8,0,0,1,0,16Zm0-32H96a8,8,0,0,1,0-16h64a8,8,0,0,1,0,16Z"></path>'),b8=$('<path d="M166,104a6,6,0,0,1-6,6H96a6,6,0,0,1,0-12h64A6,6,0,0,1,166,104Zm-6,26H96a6,6,0,0,0,0,12h64a6,6,0,0,0,0-12Zm70-74V184a14,14,0,0,1-14,14H154.41L140.16,223a14,14,0,0,1-24.32,0L101.59,198H40a14,14,0,0,1-14-14V56A14,14,0,0,1,40,42H216A14,14,0,0,1,230,56Zm-12,0a2,2,0,0,0-2-2H40a2,2,0,0,0-2,2V184a2,2,0,0,0,2,2h65.07a6,6,0,0,1,5.21,3l16,28a2,2,0,0,0,3.48,0l16-28a6,6,0,0,1,5.21-3H216a2,2,0,0,0,2-2Z"></path>'),y8=$('<path d="M88,104a8,8,0,0,1,8-8h64a8,8,0,0,1,0,16H96A8,8,0,0,1,88,104Zm8,40h64a8,8,0,0,0,0-16H96a8,8,0,0,0,0,16ZM232,56V184a16,16,0,0,1-16,16H155.57l-13.68,23.94a16,16,0,0,1-27.78,0L100.43,200H40a16,16,0,0,1-16-16V56A16,16,0,0,1,40,40H216A16,16,0,0,1,232,56Zm-16,0H40V184h65.07a8,8,0,0,1,7,4l16,28,16-28a8,8,0,0,1,7-4H216Z"></path>'),x8=$('<path d="M164,104a4,4,0,0,1-4,4H96a4,4,0,0,1,0-8h64A4,4,0,0,1,164,104Zm-4,28H96a4,4,0,0,0,0,8h64a4,4,0,0,0,0-8Zm68-76V184a12,12,0,0,1-12,12H153.25L138.42,222a12,12,0,0,1-20.84,0L102.75,196H40a12,12,0,0,1-12-12V56A12,12,0,0,1,40,44H216A12,12,0,0,1,228,56Zm-8,0a4,4,0,0,0-4-4H40a4,4,0,0,0-4,4V184a4,4,0,0,0,4,4h65.07a4,4,0,0,1,3.47,2l16,28a4,4,0,0,0,6.94,0l16-28a4,4,0,0,1,3.47-2H216a4,4,0,0,0,4-4Z"></path>'),T8=$('<svg><!><rect width="256" height="256" fill="none"></rect><!></svg>');function E8(i,t){Qe(t,!0);const e=Rt();let r=kt(t,["$$slots","$$events","$$legacy","children"]),n=re(()=>t.weight??e.weight??"regular"),o=re(()=>t.color??e.color??"currentColor"),a=re(()=>t.size??e.size??"1em"),s=re(()=>t.mirrored??e.mirrored??!1);function c(d){let{weight:g,color:b,size:S,mirrored:P,...k}=d;return k}var l=T8();Et(l,(d,g)=>({xmlns:"http://www.w3.org/2000/svg",role:"img",width:p(a),height:p(a),fill:p(o),transform:p(s)?"scale(-1, 1)":void 0,viewBox:"0 0 256 256",...d,...g}),[()=>c(e),()=>c(r)]);var u=G(l);{var h=d=>{var g=te(),b=X(g);xt(b,()=>t.children),x(d,g)};D(u,d=>{t.children&&d(h)})}var f=ue(u,2);{var v=d=>{var g=m8();x(d,g)},_=d=>{var g=te(),b=X(g);{var S=k=>{var A=_8();gt(),x(k,A)},P=k=>{var A=te(),N=X(A);{var Z=I=>{var O=w8();x(I,O)},L=I=>{var O=te(),J=X(O);{var ee=z=>{var B=b8();x(z,B)},ne=z=>{var B=te(),q=X(B);{var ae=F=>{var K=y8();x(F,K)},oe=F=>{var K=te(),ye=X(K);{var Se=V=>{var M=x8();x(V,M)},he=V=>{var M=mt();M.nodeValue=(console.error('Unsupported icon weight. Choose from "thin", "light", "regular", "bold", "fill", or "duotone".'),""),x(V,M)};D(ye,V=>{p(n)==="thin"?V(Se):V(he,!1)},!0)}x(F,K)};D(q,F=>{p(n)==="regular"?F(ae):F(oe,!1)},!0)}x(z,B)};D(J,z=>{p(n)==="light"?z(ee):z(ne,!1)},!0)}x(I,O)};D(N,I=>{p(n)==="fill"?I(Z):I(L,!1)},!0)}x(k,A)};D(b,k=>{p(n)==="duotone"?k(S):k(P,!1)},!0)}x(d,g)};D(f,d=>{p(n)==="bold"?d(v):d(_,!1)})}U(l),x(i,l),Je()}var k8=$('<path d="M108,84a16,16,0,1,1,16,16A16,16,0,0,1,108,84Zm128,44A108,108,0,1,1,128,20,108.12,108.12,0,0,1,236,128Zm-24,0a84,84,0,1,0-84,84A84.09,84.09,0,0,0,212,128Zm-72,36.68V132a20,20,0,0,0-20-20,12,12,0,0,0-4,23.32V168a20,20,0,0,0,20,20,12,12,0,0,0,4-23.32Z"></path>'),S8=$('<path d="M224,128a96,96,0,1,1-96-96A96,96,0,0,1,224,128Z" opacity="0.2"></path><path d="M144,176a8,8,0,0,1-8,8,16,16,0,0,1-16-16V128a8,8,0,0,1,0-16,16,16,0,0,1,16,16v40A8,8,0,0,1,144,176Zm88-48A104,104,0,1,1,128,24,104.11,104.11,0,0,1,232,128Zm-16,0a88,88,0,1,0-88,88A88.1,88.1,0,0,0,216,128ZM124,96a12,12,0,1,0-12-12A12,12,0,0,0,124,96Z"></path>',1),C8=$('<path d="M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm-4,48a12,12,0,1,1-12,12A12,12,0,0,1,124,72Zm12,112a16,16,0,0,1-16-16V128a8,8,0,0,1,0-16,16,16,0,0,1,16,16v40a8,8,0,0,1,0,16Z"></path>'),P8=$('<path d="M142,176a6,6,0,0,1-6,6,14,14,0,0,1-14-14V128a2,2,0,0,0-2-2,6,6,0,0,1,0-12,14,14,0,0,1,14,14v40a2,2,0,0,0,2,2A6,6,0,0,1,142,176ZM124,94a10,10,0,1,0-10-10A10,10,0,0,0,124,94Zm106,34A102,102,0,1,1,128,26,102.12,102.12,0,0,1,230,128Zm-12,0a90,90,0,1,0-90,90A90.1,90.1,0,0,0,218,128Z"></path>'),A8=$('<path d="M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm0,192a88,88,0,1,1,88-88A88.1,88.1,0,0,1,128,216Zm16-40a8,8,0,0,1-8,8,16,16,0,0,1-16-16V128a8,8,0,0,1,0-16,16,16,0,0,1,16,16v40A8,8,0,0,1,144,176ZM112,84a12,12,0,1,1,12,12A12,12,0,0,1,112,84Z"></path>'),R8=$('<path d="M140,176a4,4,0,0,1-4,4,12,12,0,0,1-12-12V128a4,4,0,0,0-4-4,4,4,0,0,1,0-8,12,12,0,0,1,12,12v40a4,4,0,0,0,4,4A4,4,0,0,1,140,176ZM124,92a8,8,0,1,0-8-8A8,8,0,0,0,124,92Zm104,36A100,100,0,1,1,128,28,100.11,100.11,0,0,1,228,128Zm-8,0a92,92,0,1,0-92,92A92.1,92.1,0,0,0,220,128Z"></path>'),I8=$('<svg><!><rect width="256" height="256" fill="none"></rect><!></svg>');function O8(i,t){Qe(t,!0);const e=Rt();let r=kt(t,["$$slots","$$events","$$legacy","children"]),n=re(()=>t.weight??e.weight??"regular"),o=re(()=>t.color??e.color??"currentColor"),a=re(()=>t.size??e.size??"1em"),s=re(()=>t.mirrored??e.mirrored??!1);function c(d){let{weight:g,color:b,size:S,mirrored:P,...k}=d;return k}var l=I8();Et(l,(d,g)=>({xmlns:"http://www.w3.org/2000/svg",role:"img",width:p(a),height:p(a),fill:p(o),transform:p(s)?"scale(-1, 1)":void 0,viewBox:"0 0 256 256",...d,...g}),[()=>c(e),()=>c(r)]);var u=G(l);{var h=d=>{var g=te(),b=X(g);xt(b,()=>t.children),x(d,g)};D(u,d=>{t.children&&d(h)})}var f=ue(u,2);{var v=d=>{var g=k8();x(d,g)},_=d=>{var g=te(),b=X(g);{var S=k=>{var A=S8();gt(),x(k,A)},P=k=>{var A=te(),N=X(A);{var Z=I=>{var O=C8();x(I,O)},L=I=>{var O=te(),J=X(O);{var ee=z=>{var B=P8();x(z,B)},ne=z=>{var B=te(),q=X(B);{var ae=F=>{var K=A8();x(F,K)},oe=F=>{var K=te(),ye=X(K);{var Se=V=>{var M=R8();x(V,M)},he=V=>{var M=mt();M.nodeValue=(console.error('Unsupported icon weight. Choose from "thin", "light", "regular", "bold", "fill", or "duotone".'),""),x(V,M)};D(ye,V=>{p(n)==="thin"?V(Se):V(he,!1)},!0)}x(F,K)};D(q,F=>{p(n)==="regular"?F(ae):F(oe,!1)},!0)}x(z,B)};D(J,z=>{p(n)==="light"?z(ee):z(ne,!1)},!0)}x(I,O)};D(N,I=>{p(n)==="fill"?I(Z):I(L,!1)},!0)}x(k,A)};D(b,k=>{p(n)==="duotone"?k(S):k(P,!1)},!0)}x(d,g)};D(f,d=>{p(n)==="bold"?d(v):d(_,!1)})}U(l),x(i,l),Je()}var M8=$('<path d="M228,128a12,12,0,0,1-12,12H40a12,12,0,0,1,0-24H216A12,12,0,0,1,228,128ZM40,76H216a12,12,0,0,0,0-24H40a12,12,0,0,0,0,24ZM216,180H40a12,12,0,0,0,0,24H216a12,12,0,0,0,0-24Z"></path>'),D8=$('<path d="M216,64V192H40V64Z" opacity="0.2"></path><path d="M224,128a8,8,0,0,1-8,8H40a8,8,0,0,1,0-16H216A8,8,0,0,1,224,128ZM40,72H216a8,8,0,0,0,0-16H40a8,8,0,0,0,0,16ZM216,184H40a8,8,0,0,0,0,16H216a8,8,0,0,0,0-16Z"></path>',1),L8=$('<path d="M208,32H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V48A16,16,0,0,0,208,32ZM192,184H64a8,8,0,0,1,0-16H192a8,8,0,0,1,0,16Zm0-48H64a8,8,0,0,1,0-16H192a8,8,0,0,1,0,16Zm0-48H64a8,8,0,0,1,0-16H192a8,8,0,0,1,0,16Z"></path>'),z8=$('<path d="M222,128a6,6,0,0,1-6,6H40a6,6,0,0,1,0-12H216A6,6,0,0,1,222,128ZM40,70H216a6,6,0,0,0,0-12H40a6,6,0,0,0,0,12ZM216,186H40a6,6,0,0,0,0,12H216a6,6,0,0,0,0-12Z"></path>'),H8=$('<path d="M224,128a8,8,0,0,1-8,8H40a8,8,0,0,1,0-16H216A8,8,0,0,1,224,128ZM40,72H216a8,8,0,0,0,0-16H40a8,8,0,0,0,0,16ZM216,184H40a8,8,0,0,0,0,16H216a8,8,0,0,0,0-16Z"></path>'),N8=$('<path d="M220,128a4,4,0,0,1-4,4H40a4,4,0,0,1,0-8H216A4,4,0,0,1,220,128ZM40,68H216a4,4,0,0,0,0-8H40a4,4,0,0,0,0,8ZM216,188H40a4,4,0,0,0,0,8H216a4,4,0,0,0,0-8Z"></path>'),F8=$('<svg><!><rect width="256" height="256" fill="none"></rect><!></svg>');function B8(i,t){Qe(t,!0);const e=Rt();let r=kt(t,["$$slots","$$events","$$legacy","children"]),n=re(()=>t.weight??e.weight??"regular"),o=re(()=>t.color??e.color??"currentColor"),a=re(()=>t.size??e.size??"1em"),s=re(()=>t.mirrored??e.mirrored??!1);function c(d){let{weight:g,color:b,size:S,mirrored:P,...k}=d;return k}var l=F8();Et(l,(d,g)=>({xmlns:"http://www.w3.org/2000/svg",role:"img",width:p(a),height:p(a),fill:p(o),transform:p(s)?"scale(-1, 1)":void 0,viewBox:"0 0 256 256",...d,...g}),[()=>c(e),()=>c(r)]);var u=G(l);{var h=d=>{var g=te(),b=X(g);xt(b,()=>t.children),x(d,g)};D(u,d=>{t.children&&d(h)})}var f=ue(u,2);{var v=d=>{var g=M8();x(d,g)},_=d=>{var g=te(),b=X(g);{var S=k=>{var A=D8();gt(),x(k,A)},P=k=>{var A=te(),N=X(A);{var Z=I=>{var O=L8();x(I,O)},L=I=>{var O=te(),J=X(O);{var ee=z=>{var B=z8();x(z,B)},ne=z=>{var B=te(),q=X(B);{var ae=F=>{var K=H8();x(F,K)},oe=F=>{var K=te(),ye=X(K);{var Se=V=>{var M=N8();x(V,M)},he=V=>{var M=mt();M.nodeValue=(console.error('Unsupported icon weight. Choose from "thin", "light", "regular", "bold", "fill", or "duotone".'),""),x(V,M)};D(ye,V=>{p(n)==="thin"?V(Se):V(he,!1)},!0)}x(F,K)};D(q,F=>{p(n)==="regular"?F(ae):F(oe,!1)},!0)}x(z,B)};D(J,z=>{p(n)==="light"?z(ee):z(ne,!1)},!0)}x(I,O)};D(N,I=>{p(n)==="fill"?I(Z):I(L,!1)},!0)}x(k,A)};D(b,k=>{p(n)==="duotone"?k(S):k(P,!1)},!0)}x(d,g)};D(f,d=>{p(n)==="bold"?d(v):d(_,!1)})}U(l),x(i,l),Je()}var V8=$('<path d="M232,44H160a43.86,43.86,0,0,0-32,13.85A43.86,43.86,0,0,0,96,44H24A12,12,0,0,0,12,56V200a12,12,0,0,0,12,12H96a20,20,0,0,1,20,20,12,12,0,0,0,24,0,20,20,0,0,1,20-20h72a12,12,0,0,0,12-12V56A12,12,0,0,0,232,44ZM96,188H36V68H96a20,20,0,0,1,20,20V192.81A43.79,43.79,0,0,0,96,188Zm124,0H160a43.71,43.71,0,0,0-20,4.83V88a20,20,0,0,1,20-20h60Z"></path>'),j8=$('<path d="M232,56V200H160a32,32,0,0,0-32,32,32,32,0,0,0-32-32H24V56H96a32,32,0,0,1,32,32,32,32,0,0,1,32-32Z" opacity="0.2"></path><path d="M232,48H160a40,40,0,0,0-32,16A40,40,0,0,0,96,48H24a8,8,0,0,0-8,8V200a8,8,0,0,0,8,8H96a24,24,0,0,1,24,24,8,8,0,0,0,16,0,24,24,0,0,1,24-24h72a8,8,0,0,0,8-8V56A8,8,0,0,0,232,48ZM96,192H32V64H96a24,24,0,0,1,24,24V200A39.81,39.81,0,0,0,96,192Zm128,0H160a39.81,39.81,0,0,0-24,8V88a24,24,0,0,1,24-24h64Z"></path>',1),U8=$('<path d="M240,56V200a8,8,0,0,1-8,8H160a24,24,0,0,0-24,23.94,7.9,7.9,0,0,1-5.12,7.55A8,8,0,0,1,120,232a24,24,0,0,0-24-24H24a8,8,0,0,1-8-8V56a8,8,0,0,1,8-8H88a32,32,0,0,1,32,32v87.73a8.17,8.17,0,0,0,7.47,8.25,8,8,0,0,0,8.53-8V80a32,32,0,0,1,32-32h64A8,8,0,0,1,240,56Z"></path>'),G8=$('<path d="M232,50H160a38,38,0,0,0-32,17.55A38,38,0,0,0,96,50H24a6,6,0,0,0-6,6V200a6,6,0,0,0,6,6H96a26,26,0,0,1,26,26,6,6,0,0,0,12,0,26,26,0,0,1,26-26h72a6,6,0,0,0,6-6V56A6,6,0,0,0,232,50ZM96,194H30V62H96a26,26,0,0,1,26,26V204.31A37.86,37.86,0,0,0,96,194Zm130,0H160a37.87,37.87,0,0,0-26,10.32V88a26,26,0,0,1,26-26h66Z"></path>'),Z8=$('<path d="M232,48H160a40,40,0,0,0-32,16A40,40,0,0,0,96,48H24a8,8,0,0,0-8,8V200a8,8,0,0,0,8,8H96a24,24,0,0,1,24,24,8,8,0,0,0,16,0,24,24,0,0,1,24-24h72a8,8,0,0,0,8-8V56A8,8,0,0,0,232,48ZM96,192H32V64H96a24,24,0,0,1,24,24V200A39.81,39.81,0,0,0,96,192Zm128,0H160a39.81,39.81,0,0,0-24,8V88a24,24,0,0,1,24-24h64Z"></path>'),W8=$('<path d="M232,52H160a36,36,0,0,0-32,19.54A36,36,0,0,0,96,52H24a4,4,0,0,0-4,4V200a4,4,0,0,0,4,4H96a28,28,0,0,1,28,28,4,4,0,0,0,8,0,28,28,0,0,1,28-28h72a4,4,0,0,0,4-4V56A4,4,0,0,0,232,52ZM96,196H28V60H96a28,28,0,0,1,28,28V209.4A35.93,35.93,0,0,0,96,196Zm132,0H160a35.94,35.94,0,0,0-28,13.41V88a28,28,0,0,1,28-28h68Z"></path>'),q8=$('<svg><!><rect width="256" height="256" fill="none"></rect><!></svg>');function nh(i,t){Qe(t,!0);const e=Rt();let r=kt(t,["$$slots","$$events","$$legacy","children"]),n=re(()=>t.weight??e.weight??"regular"),o=re(()=>t.color??e.color??"currentColor"),a=re(()=>t.size??e.size??"1em"),s=re(()=>t.mirrored??e.mirrored??!1);function c(d){let{weight:g,color:b,size:S,mirrored:P,...k}=d;return k}var l=q8();Et(l,(d,g)=>({xmlns:"http://www.w3.org/2000/svg",role:"img",width:p(a),height:p(a),fill:p(o),transform:p(s)?"scale(-1, 1)":void 0,viewBox:"0 0 256 256",...d,...g}),[()=>c(e),()=>c(r)]);var u=G(l);{var h=d=>{var g=te(),b=X(g);xt(b,()=>t.children),x(d,g)};D(u,d=>{t.children&&d(h)})}var f=ue(u,2);{var v=d=>{var g=V8();x(d,g)},_=d=>{var g=te(),b=X(g);{var S=k=>{var A=j8();gt(),x(k,A)},P=k=>{var A=te(),N=X(A);{var Z=I=>{var O=U8();x(I,O)},L=I=>{var O=te(),J=X(O);{var ee=z=>{var B=G8();x(z,B)},ne=z=>{var B=te(),q=X(B);{var ae=F=>{var K=Z8();x(F,K)},oe=F=>{var K=te(),ye=X(K);{var Se=V=>{var M=W8();x(V,M)},he=V=>{var M=mt();M.nodeValue=(console.error('Unsupported icon weight. Choose from "thin", "light", "regular", "bold", "fill", or "duotone".'),""),x(V,M)};D(ye,V=>{p(n)==="thin"?V(Se):V(he,!1)},!0)}x(F,K)};D(q,F=>{p(n)==="regular"?F(ae):F(oe,!1)},!0)}x(z,B)};D(J,z=>{p(n)==="light"?z(ee):z(ne,!1)},!0)}x(I,O)};D(N,I=>{p(n)==="fill"?I(Z):I(L,!1)},!0)}x(k,A)};D(b,k=>{p(n)==="duotone"?k(S):k(P,!1)},!0)}x(d,g)};D(f,d=>{p(n)==="bold"?d(v):d(_,!1)})}U(l),x(i,l),Je()}var X8=$('<path d="M92,92a12,12,0,0,1,12-12h60a12,12,0,0,1,0,24H104A12,12,0,0,1,92,92Zm12,52h60a12,12,0,0,0,0-24H104a12,12,0,0,0,0,24Zm132,48a36,36,0,0,1-36,36H88a36,36,0,0,1-36-36V64a12,12,0,0,0-24,0c0,3.73,3.35,6.51,3.38,6.54l-.18-.14h0A12,12,0,1,1,16.81,89.59h0C15.49,88.62,4,79.55,4,64A36,36,0,0,1,40,28H176a36,36,0,0,1,36,36V164h4a12,12,0,0,1,7.2,2.4C224.51,167.38,236,176.45,236,192ZM92.62,172.2A12,12,0,0,1,104,164h84V64a12,12,0,0,0-12-12H73.94A35.88,35.88,0,0,1,76,64V192a12,12,0,0,0,24,0c0-3.58-3.17-6.38-3.2-6.4A12,12,0,0,1,92.62,172.2ZM212,192a7.69,7.69,0,0,0-1.24-4h-87a30.32,30.32,0,0,1,.26,4,35.84,35.84,0,0,1-2.06,12H200A12,12,0,0,0,212,192Z"></path>'),Y8=$('<path d="M200,176H104s8,6,8,16a24,24,0,0,1-48,0V64A24,24,0,0,0,40,40H176a24,24,0,0,1,24,24Z" opacity="0.2"></path><path d="M96,104a8,8,0,0,1,8-8h64a8,8,0,0,1,0,16H104A8,8,0,0,1,96,104Zm8,40h64a8,8,0,0,0,0-16H104a8,8,0,0,0,0,16Zm128,48a32,32,0,0,1-32,32H88a32,32,0,0,1-32-32V64a16,16,0,0,0-32,0c0,5.74,4.83,9.62,4.88,9.66h0A8,8,0,0,1,24,88a7.89,7.89,0,0,1-4.79-1.61h0C18.05,85.54,8,77.61,8,64A32,32,0,0,1,40,32H176a32,32,0,0,1,32,32V168h8a8,8,0,0,1,4.8,1.6C222,170.46,232,178.39,232,192ZM96.26,173.48A8.07,8.07,0,0,1,104,168h88V64a16,16,0,0,0-16-16H67.69A31.71,31.71,0,0,1,72,64V192a16,16,0,0,0,32,0c0-5.74-4.83-9.62-4.88-9.66A7.82,7.82,0,0,1,96.26,173.48ZM216,192a12.58,12.58,0,0,0-3.23-8h-94a26.92,26.92,0,0,1,1.21,8,31.82,31.82,0,0,1-4.29,16H200A16,16,0,0,0,216,192Z"></path>',1),K8=$('<path d="M220.8,169.6A8,8,0,0,0,216,168h-8V64a32,32,0,0,0-32-32H40A32,32,0,0,0,8,64C8,77.61,18.05,85.54,19.2,86.4h0A7.89,7.89,0,0,0,24,88a8,8,0,0,0,4.87-14.33h0C28.83,73.62,24,69.74,24,64a16,16,0,0,1,32,0V192a32,32,0,0,0,32,32H200a32,32,0,0,0,32-32C232,178.39,222,170.46,220.8,169.6ZM104,96h64a8,8,0,0,1,0,16H104a8,8,0,0,1,0-16Zm-8,40a8,8,0,0,1,8-8h64a8,8,0,0,1,0,16H104A8,8,0,0,1,96,136Zm104,72H107.71A31.82,31.82,0,0,0,112,192a26.92,26.92,0,0,0-1.21-8h102a12.58,12.58,0,0,1,3.23,8A16,16,0,0,1,200,208Z"></path>'),Q8=$('<path d="M98,136a6,6,0,0,1,6-6h64a6,6,0,0,1,0,12H104A6,6,0,0,1,98,136Zm6-26h64a6,6,0,0,0,0-12H104a6,6,0,0,0,0,12Zm126,82a30,30,0,0,1-30,30H88a30,30,0,0,1-30-30V64a18,18,0,0,0-36,0c0,6.76,5.58,11.19,5.64,11.23A6,6,0,1,1,20.4,84.8C20,84.48,10,76.85,10,64A30,30,0,0,1,40,34H176a30,30,0,0,1,30,30V170h10a6,6,0,0,1,3.6,1.2C220,171.52,230,179.15,230,192Zm-124,0c0-6.76-5.59-11.19-5.64-11.23A6,6,0,0,1,104,170h90V64a18,18,0,0,0-18-18H64a29.82,29.82,0,0,1,6,18V192a18,18,0,0,0,36,0Zm112,0a14.94,14.94,0,0,0-4.34-10H115.88A24.83,24.83,0,0,1,118,192a29.87,29.87,0,0,1-6,18h88A18,18,0,0,0,218,192Z"></path>'),J8=$('<path d="M96,104a8,8,0,0,1,8-8h64a8,8,0,0,1,0,16H104A8,8,0,0,1,96,104Zm8,40h64a8,8,0,0,0,0-16H104a8,8,0,0,0,0,16Zm128,48a32,32,0,0,1-32,32H88a32,32,0,0,1-32-32V64a16,16,0,0,0-32,0c0,5.74,4.83,9.62,4.88,9.66h0A8,8,0,0,1,24,88a7.89,7.89,0,0,1-4.79-1.61h0C18.05,85.54,8,77.61,8,64A32,32,0,0,1,40,32H176a32,32,0,0,1,32,32V168h8a8,8,0,0,1,4.8,1.6C222,170.46,232,178.39,232,192ZM96.26,173.48A8.07,8.07,0,0,1,104,168h88V64a16,16,0,0,0-16-16H67.69A31.71,31.71,0,0,1,72,64V192a16,16,0,0,0,32,0c0-5.74-4.83-9.62-4.88-9.66A7.82,7.82,0,0,1,96.26,173.48ZM216,192a12.58,12.58,0,0,0-3.23-8h-94a26.92,26.92,0,0,1,1.21,8,31.82,31.82,0,0,1-4.29,16H200A16,16,0,0,0,216,192Z"></path>'),$8=$('<path d="M100,104a4,4,0,0,1,4-4h64a4,4,0,0,1,0,8H104A4,4,0,0,1,100,104Zm4,36h64a4,4,0,0,0,0-8H104a4,4,0,0,0,0,8Zm124,52a28,28,0,0,1-28,28H88a28,28,0,0,1-28-28V64a20,20,0,0,0-40,0c0,7.78,6.34,12.75,6.4,12.8a4,4,0,1,1-4.8,6.4C21.21,82.91,12,75.86,12,64A28,28,0,0,1,40,36H176a28,28,0,0,1,28,28V172h12a4,4,0,0,1,2.4.8C218.79,173.09,228,180.14,228,192Zm-120,0c0-7.78-6.34-12.75-6.4-12.8A4,4,0,0,1,104,172h92V64a20,20,0,0,0-20-20H59.57A27.9,27.9,0,0,1,68,64V192a20,20,0,0,0,40,0Zm112,0c0-6-3.74-10.3-5.5-12H112.61A23.31,23.31,0,0,1,116,192a27.94,27.94,0,0,1-8.42,20H200A20,20,0,0,0,220,192Z"></path>'),e6=$('<svg><!><rect width="256" height="256" fill="none"></rect><!></svg>');function oh(i,t){Qe(t,!0);const e=Rt();let r=kt(t,["$$slots","$$events","$$legacy","children"]),n=re(()=>t.weight??e.weight??"regular"),o=re(()=>t.color??e.color??"currentColor"),a=re(()=>t.size??e.size??"1em"),s=re(()=>t.mirrored??e.mirrored??!1);function c(d){let{weight:g,color:b,size:S,mirrored:P,...k}=d;return k}var l=e6();Et(l,(d,g)=>({xmlns:"http://www.w3.org/2000/svg",role:"img",width:p(a),height:p(a),fill:p(o),transform:p(s)?"scale(-1, 1)":void 0,viewBox:"0 0 256 256",...d,...g}),[()=>c(e),()=>c(r)]);var u=G(l);{var h=d=>{var g=te(),b=X(g);xt(b,()=>t.children),x(d,g)};D(u,d=>{t.children&&d(h)})}var f=ue(u,2);{var v=d=>{var g=X8();x(d,g)},_=d=>{var g=te(),b=X(g);{var S=k=>{var A=Y8();gt(),x(k,A)},P=k=>{var A=te(),N=X(A);{var Z=I=>{var O=K8();x(I,O)},L=I=>{var O=te(),J=X(O);{var ee=z=>{var B=Q8();x(z,B)},ne=z=>{var B=te(),q=X(B);{var ae=F=>{var K=J8();x(F,K)},oe=F=>{var K=te(),ye=X(K);{var Se=V=>{var M=$8();x(V,M)},he=V=>{var M=mt();M.nodeValue=(console.error('Unsupported icon weight. Choose from "thin", "light", "regular", "bold", "fill", or "duotone".'),""),x(V,M)};D(ye,V=>{p(n)==="thin"?V(Se):V(he,!1)},!0)}x(F,K)};D(q,F=>{p(n)==="regular"?F(ae):F(oe,!1)},!0)}x(z,B)};D(J,z=>{p(n)==="light"?z(ee):z(ne,!1)},!0)}x(I,O)};D(N,I=>{p(n)==="fill"?I(Z):I(L,!1)},!0)}x(k,A)};D(b,k=>{p(n)==="duotone"?k(S):k(P,!1)},!0)}x(d,g)};D(f,d=>{p(n)==="bold"?d(v):d(_,!1)})}U(l),x(i,l),Je()}function tt(i,t){let e=null;function r(){if(e)return;e=document.createElement("div"),e.className="fixed z-[9999] px-2 py-1 text-xs rounded shadow-sm pointer-events-none opacity-0 transition-opacity duration-150 whitespace-nowrap max-w-xs",e.textContent=t.content;const l=getComputedStyle(i),u=l.getPropertyValue("--color-base-200").trim()||l.getPropertyValue("--color-neutral").trim()||"oklch(0.95 0 0)",h=l.getPropertyValue("--color-base-content").trim()||l.getPropertyValue("--color-neutral-content").trim()||"oklch(0.2 0 0)";e.style.backgroundColor=u,e.style.color=h,document.body.appendChild(e),o(),requestAnimationFrame(()=>{e&&(e.style.opacity="1")})}function n(){e&&(e.style.opacity="0",setTimeout(()=>{e&&e.parentNode&&e.remove()},150),e=null)}function o(){if(!e)return;const l=i.getBoundingClientRect(),u=e.getBoundingClientRect(),h=t.position||"top",f=6;let v=0,_=0;switch(h){case"top":v=l.top-u.height-f,_=l.left+(l.width-u.width)/2;break;case"bottom":v=l.bottom+f,_=l.left+(l.width-u.width)/2;break;case"left":v=l.top+(l.height-u.height)/2,_=l.left-u.width-f;break;case"right":v=l.top+(l.height-u.height)/2,_=l.right+f;break}_<0&&(_=0),v<0&&(v=0),_+u.width>window.innerWidth&&(_=window.innerWidth-u.width),v+u.height>window.innerHeight&&(v=window.innerHeight-u.height),e.style.top=`${v}px`,e.style.left=`${_}px`}function a(){r()}function s(){n()}function c(){e&&n()}return i.addEventListener("mouseenter",a),i.addEventListener("mouseleave",s),i.addEventListener("focus",a),i.addEventListener("blur",s),window.addEventListener("scroll",c,!0),{update(l){t=l,e&&(e.textContent=t.content,o())},destroy(){n(),i.removeEventListener("mouseenter",a),i.removeEventListener("mouseleave",s),i.removeEventListener("focus",a),i.removeEventListener("blur",s),window.removeEventListener("scroll",c,!0)}}}var t6=me('<div><button class="btn btn-ghost btn-circle btn-sm"><!></button></div>'),r6=me("<div></div>"),i6=me("<li><button><!></button></li>"),n6=me("<li><button><!></button></li>"),o6=me('<div class="divider my-1"></div> <li><label class="label cursor-pointer py-1 gap-2"><span class="label-text text-sm"> </span> <input type="checkbox" class="checkbox checkbox-sm"/></label></li>',1),a6=me('<li><div tabindex="0" role="button" class="flex items-center justify-center"><!></div> <ul tabindex="-1"><li><button><!> </button></li> <li><button><!> </button></li> <!></ul></li>'),s6=me("<li><button><!></button></li>"),l6=me("<li><button><!></button></li>"),c6=me("<li><button><!></button></li>"),u6=me("<div></div>"),h6=me("<li><button><!></button></li>"),d6=me("<button><!></button>"),f6=me("<div><div><!> <ul><!> <!> <!> <!> <!> <!> <!> <!></ul></div> <!></div>");function p6(i,t){Qe(t,!0);const e=Wr(Gi),r=re(()=>e.toolbarOpen),n=re(()=>e.config.toolbarPosition||"left"),o=re(()=>p(n)==="left"),a=re(()=>p(n)==="top"),s=re(()=>p(a)?"bottom":p(o)?"right":"left"),c=re(()=>e.config.showToggle!==!1),l=re(()=>e.config.toolbar||{}),u=re(()=>p(l).showSearch!==!1),h=re(()=>p(l).showGallery!==!1),f=re(()=>p(l).showFullscreen!==!1),v=re(()=>p(l).showAnnotations!==!1),_=re(()=>p(l).showInfo!==!1),d=re(()=>p(l).showViewingMode!==!1);let g=re(()=>(Zi.current,[...e.pluginMenuButtons].sort((j,le)=>(j.order??100)-(le.order??100))));function b(){e.toggleToolbar()}let S=Ae(!1);st(()=>{if(p(r)){const j=setTimeout(()=>{be(S,!0)},320);return()=>clearTimeout(j)}else be(S,!1)});var P=f6(),k=G(P),A=G(k);{var N=j=>{var le=t6(),se=G(le);se.__click=b;var Ce=G(se);As(Ce,{size:20,weight:"bold"}),U(se),Ar(se,(pe,Te)=>tt==null?void 0:tt(pe,Te),()=>({content:Cs(),position:p(s)})),U(le),Oe(pe=>{He(le,1,Tt(["shrink-0",p(a)&&"h-full flex items-center px-2",!p(a)&&"w-full flex justify-center py-2"])),Ne(se,"aria-label",pe)},[()=>Cs()]),x(j,le)},Z=j=>{var le=r6();Oe(()=>He(le,1,Tt(p(a)?"w-2":"h-2"))),x(j,le)};D(A,j=>{p(c)?j(N):j(Z,!1)})}var L=ue(A,2),I=G(L);{var O=j=>{var le=i6(),se=G(le);se.__click=()=>e.toggleSearchPanel();var Ce=G(se);ih(Ce,{size:24,weight:"bold"}),U(se),Ar(se,(pe,Te)=>tt==null?void 0:tt(pe,Te),()=>({content:ws(),position:p(s)})),U(le),Oe(pe=>{He(se,1,Tt(["flex items-center justify-center",e.showSearchPanel&&"active"])),Ne(se,"aria-label",pe)},[()=>Iu()]),x(j,le)};D(I,j=>{p(u)&&j(O)})}var J=ue(I,2);{var ee=j=>{var le=n6(),se=G(le);se.__click=()=>e.toggleThumbnailGallery();var Ce=G(se);e8(Ce,{size:24,weight:"bold"}),U(se),Ar(se,(pe,Te)=>tt==null?void 0:tt(pe,Te),()=>({content:e.showThumbnailGallery?bs():ys(),position:p(s)})),U(le),Oe(pe=>{He(se,1,Tt(["flex items-center justify-center",e.showThumbnailGallery&&"active"])),Ne(se,"aria-label",pe)},[()=>e.showThumbnailGallery?bs():ys()]),x(j,le)};D(J,j=>{p(h)&&j(ee)})}var ne=ue(J,2);{var z=j=>{var le=a6(),se=G(le),Ce=G(se);{var pe=Q=>{nh(Q,{size:24,weight:"bold"})},Te=Q=>{oh(Q,{size:24,weight:"bold"})};D(Ce,Q=>{e.viewingMode==="paged"?Q(pe):Q(Te,!1)})}U(se),Ar(se,(Q,Ie)=>tt==null?void 0:tt(Q,Ie),()=>({content:Ps(),position:p(s)}));var Ee=ue(se,2),xe=G(Ee),fe=G(xe);fe.__click=()=>e.setViewingMode("individuals");var Pe=G(fe);oh(Pe,{size:16});var Ye=ue(Pe);U(fe),U(xe);var m=ue(xe,2),T=G(m);T.__click=()=>e.setViewingMode("paged");var H=G(T);nh(H,{size:16});var ie=ue(H);U(T),U(m);var ce=ue(m,2);{var ve=Q=>{var Ie=o6(),Ve=ue(X(Ie),2),je=G(Ve),ke=G(je),Xe=G(ke,!0);U(ke);var y=ue(ke,2);Do(y),y.__change=()=>e.togglePagedOffset(),U(je),U(Ve),Oe(w=>{qe(Xe,w),Ec(y,e.pagedOffset===1)},[()=>Qu()]),x(Q,Ie)};D(ce,Q=>{e.viewingMode==="paged"&&Q(ve)})}U(Ee),U(le),Oe((Q,Ie,Ve)=>{He(le,1,`dropdown ${p(a)?"dropdown-bottom":p(o)?"dropdown-right":"dropdown-left"}`),Ne(se,"aria-label",Q),He(Ee,1,`dropdown-content z-50 menu p-2 shadow bg-base-100 rounded-box w-48 border border-base-200 font-normal ${p(a)?"left-1/2 -translate-x-1/2":""}`),He(fe,1,Tt(e.viewingMode==="individuals"?"active":"")),qe(Ye,` ${Ie??""}`),He(T,1,Tt(e.viewingMode==="paged"?"active":"")),qe(ie,` ${Ve??""}`)},[()=>Ps(),()=>qu(),()=>Yu()]),x(j,le)};D(ne,j=>{p(d)&&j(z)})}var B=ue(ne,2);{var q=j=>{var le=s6(),se=G(le);se.__click=()=>e.toggleFullScreen();var Ce=G(se);{var pe=Ee=>{l8(Ee,{size:24,weight:"bold"})},Te=Ee=>{v8(Ee,{size:24,weight:"bold"})};D(Ce,Ee=>{e.isFullScreen?Ee(pe):Ee(Te,!1)})}U(se),Ar(se,(Ee,xe)=>tt==null?void 0:tt(Ee,xe),()=>({content:e.isFullScreen?xs():Ts(),position:p(s)})),U(le),Oe(Ee=>{He(se,1,Tt(["flex items-center justify-center",e.isFullScreen&&"active"])),Ne(se,"aria-label",Ee)},[()=>e.isFullScreen?xs():Ts()]),x(j,le)};D(B,j=>{p(f)&&j(q)})}var ae=ue(B,2);{var oe=j=>{var le=l6(),se=G(le);se.__click=()=>e.toggleAnnotations();var Ce=G(se);E8(Ce,{size:24,weight:"bold"}),U(se),Ar(se,(pe,Te)=>tt==null?void 0:tt(pe,Te),()=>({content:e.showAnnotations?Es():ks(),position:p(s)})),U(le),Oe(pe=>{He(se,1,Tt(["flex items-center justify-center",e.showAnnotations&&"active"])),Ne(se,"aria-label",pe)},[()=>e.showAnnotations?Es():ks()]),x(j,le)};D(ae,j=>{p(v)&&j(oe)})}var F=ue(ae,2);{var K=j=>{var le=c6(),se=G(le);se.__click=()=>e.toggleMetadataDialog();var Ce=G(se);O8(Ce,{size:24,weight:"bold"}),U(se),Ar(se,(pe,Te)=>tt==null?void 0:tt(pe,Te),()=>({content:Ou(),position:p(s)})),U(le),Oe(pe=>{He(se,1,Tt(["flex items-center justify-center",e.showMetadataDialog&&"active"])),Ne(se,"aria-label",pe)},[()=>Mu()]),x(j,le)};D(F,j=>{p(_)&&j(K)})}var ye=ue(F,2);{var Se=j=>{var le=u6();Oe(()=>He(le,1,Tt(["divider",p(a)&&"divider-horizontal mx-0",!p(a)&&"my-0"]))),x(j,le)};D(ye,j=>{(p(u)||p(h)||p(f)||p(v)||p(_)||p(d))&&p(g).length>0&&j(Se)})}var he=ue(ye,2);Ut(he,17,()=>p(g),j=>j.id,(j,le)=>{const se=re(()=>p(le).icon),Ce=re(()=>typeof $u[p(le).tooltip]=="function"?$u[p(le).tooltip]():p(le).tooltip);var pe=h6(),Te=G(pe);Te.__click=()=>{p(le).onClick()};var Ee=G(Te);Fi(Ee,()=>p(se),(xe,fe)=>{fe(xe,{size:24,weight:"bold"})}),U(Te),Ar(Te,(xe,fe)=>tt==null?void 0:tt(xe,fe),()=>({content:p(Ce),position:p(s)})),U(pe),Oe(xe=>{He(Te,1,xe),Ne(Te,"aria-label",p(Ce))},[()=>{var xe,fe;return Tt(["flex items-center justify-center",((fe=(xe=p(le)).isActive)==null?void 0:fe.call(xe))&&"active"])}]),x(j,pe)}),U(L),U(k);var V=ue(k,2);{var M=j=>{var le=d6();le.__click=b;var se=G(le);B8(se,{size:20,weight:"bold"}),U(le),Ar(le,(Ce,pe)=>tt==null?void 0:tt(Ce,pe),()=>({content:Ss(),position:p(s)})),Oe(Ce=>{He(le,1,Tt(["pointer-events-auto btn btn-circle btn-sm shadow-md z-40 transition-opacity duration-300 absolute mt-2","bg-base-200/90 backdrop-blur border border-base-300 hover:bg-base-300 text-base-content",p(r)&&"opacity-0 pointer-events-none",!p(r)&&"opacity-100"])),Ot(le,p(a)?"right: 0.5rem;":p(o)?"left: 0.5rem;":"right: 0.5rem;"),Ne(le,"aria-label",Ce)},[()=>Ss()]),x(j,le)};D(V,j=>{p(c)&&j(M)})}U(P),Oe(()=>{He(P,1,Tt(["absolute z-50 pointer-events-none flex",p(a)&&"top-0 w-full items-end flex-col pt-0 pr-2",!p(a)&&"top-0 h-full items-start pt-4 pb-4",!p(a)&&p(o)&&"left-0 flex-row",!p(a)&&!p(o)&&"right-0 flex-row-reverse"])),He(k,1,Tt(["pointer-events-auto bg-base-100/95 backdrop-blur shadow-xl transition-all duration-300 ease-in-out flex",p(a)&&"flex-row-reverse h-12 w-auto max-w-full rounded-b-xl border-x border-b border-base-200 origin-top",!p(a)&&"flex-col h-auto max-h-full border-y border-base-200 w-12",!p(a)&&p(o)&&"rounded-r-xl border-r origin-left",!p(a)&&!p(o)&&"rounded-l-xl border-l origin-right",p(r)&&p(a)&&"opacity-100 translate-y-0",p(r)&&!p(a)&&"w-12 opacity-100 translate-x-0",!p(r)&&p(a)&&"h-0 opacity-0 -translate-y-full",!p(r)&&!p(a)&&"w-0 opacity-0",!p(r)&&!p(a)&&p(o)&&"-translate-x-full",!p(r)&&!p(a)&&!p(o)&&"translate-x-full",p(S)?"overflow-visible":"overflow-hidden"])),He(L,1,Tt(["menu menu-md gap-2 flex-nowrap items-center min-h-0",p(a)&&"px-2 py-1 menu-horizontal w-auto flex-row-reverse",p(a)&&!p(S)&&"overflow-x-auto overflow-y-hidden",p(a)&&p(S)&&"overflow-visible",!p(a)&&!p(S)&&"py-2 px-1 flex-1 overflow-y-auto overflow-x-hidden w-12",!p(a)&&p(S)&&"py-2 px-1 flex-1 w-12"]))}),x(i,P),Je()}Qr(["click","change"]);var g6=me('<div class="mb-6 prose"><p><!></p></div>'),v6=me('<dt class="font-bold text-lg opacity-70 mt-6"> </dt> <dd class="text-sm ps-4"><!></dd>',1),m6=me('<dt class="font-bold text-lg opacity-70 mt-6"> </dt> <dd class="text-sm ps-4"><a target="_blank" rel="noreferrer" class="link link-primary break-all"> </a></dd>',1),_6=me('<dt class="font-bold text-lg opacity-70 mt-6"> </dt> <dd class="text-sm ps-4"><!></dd>',1),w6=me('<dt class="font-bold text-lg opacity-70 mt-6"> </dt> <dd class="text-sm ps-4"><a target="_blank" rel="noreferrer" class="link link-primary break-all"> </a></dd>',1),b6=me('<dialog class="modal"><div class="modal-box w-11/12 max-w-5xl"><form method="dialog"><button class="btn btn-sm btn-circle btn-ghost absolute right-2 top-2">✕</button></form> <h3 class="font-bold text-lg mb-4"> </h3> <div class="py-4 overflow-y-auto max-h-[70vh]"><!> <dl><!> <!> <!> <!></dl></div> <div class="modal-action"><form method="dialog"><button class="btn"> </button></form></div></div> <form method="dialog" class="modal-backdrop"><button> </button></form></dialog>');function y6(i,t){Qe(t,!0);const e=Wr(Gi);let r=re(()=>e.manifest),n=re(()=>{const q=Zi.current;if(!p(r))return[];const ae=p(r).getMetadata();return ae?ae.map(oe=>{let F="",K="";const ye=Se=>{if(typeof Se=="string")return Se;if(Array.isArray(Se)){let he=Se.find(V=>V.locale===q||V.language===q);return he||(he=Se.find(V=>V.locale==="en"||V.language==="en")),he||(he=Se.find(V=>!V.locale&&!V.language)),he||(he=Se[0]),he?he.value:""}return String(Se)};return oe.getLabel?F=ye(oe.getLabel()):oe.label&&(F=ye(oe.label)),oe.getValue?K=ye(oe.getValue()):oe.value&&(K=ye(oe.value)),{label:F,value:K}}):[]}),o=re(()=>p(r)?p(r).getDescription():""),a=re(()=>{var q;return p(r)?(q=p(r).getRequiredStatement())==null?void 0:q.getValue():""}),s=re(()=>p(r)?p(r).getLicense():"");var c=b6(),l=G(c),u=G(l),h=G(u);h.__click=()=>e.toggleMetadataDialog(),U(u);var f=ue(u,2),v=G(f,!0);U(f);var _=ue(f,2),d=G(_);{var g=q=>{var ae=g6(),oe=G(ae),F=G(oe);Cr(F,()=>p(o)),U(oe),U(ae),x(q,ae)};D(d,q=>{p(o)&&q(g)})}var b=ue(d,2),S=G(b);{var P=q=>{var ae=v6(),oe=X(ae),F=G(oe,!0);U(oe);var K=ue(oe,2),ye=G(K);Cr(ye,()=>p(a)),U(K),Oe(Se=>qe(F,Se),[()=>Au()]),x(q,ae)};D(S,q=>{p(a)&&q(P)})}var k=ue(S,2);{var A=q=>{var ae=m6(),oe=X(ae),F=G(oe,!0);U(oe);var K=ue(oe,2),ye=G(K),Se=G(ye,!0);U(ye),U(K),Oe(he=>{qe(F,he),Ne(ye,"href",p(s)),qe(Se,p(s))},[()=>Ru()]),x(q,ae)};D(k,q=>{p(s)&&q(A)})}var N=ue(k,2);Ut(N,17,()=>p(n),Ni,(q,ae)=>{var oe=_6(),F=X(oe),K=G(F,!0);U(F);var ye=ue(F,2),Se=G(ye);Cr(Se,()=>p(ae).value),U(ye),Oe(()=>qe(K,p(ae).label)),x(q,oe)});var Z=ue(N,2);{var L=q=>{var ae=w6(),oe=X(ae),F=G(oe,!0);U(oe);var K=ue(oe,2),ye=G(K),Se=G(ye,!0);U(ye),U(K),Oe(he=>{qe(F,he),Ne(ye,"href",e.manifestId),qe(Se,e.manifestId)},[()=>Bu()]),x(q,ae)};D(Z,q=>{e.manifestId&&q(L)})}U(b),U(_);var I=ue(_,2),O=G(I),J=G(O);J.__click=()=>e.toggleMetadataDialog();var ee=G(J,!0);U(J),U(O),U(I),U(l);var ne=ue(l,2),z=G(ne);z.__click=()=>e.toggleMetadataDialog();var B=G(z,!0);U(z),U(ne),U(c),Oe((q,ae,oe)=>{c.open=e.showMetadataDialog,qe(v,q),qe(ee,ae),qe(B,oe)},[()=>p(r)?p(r).getLabel().length&&p(r).getLabel()[0]?p(r).getLabel()[0].value:Cu():Pu(),()=>_s(),()=>_s()]),x(i,c),Je()}Qr(["click"]);var x6=me('<button class="btn btn-sm btn-circle btn-ghost"><!></button>'),T6=me('<span class="loading loading-spinner loading-xs"></span>'),E6=me('<div class="flex justify-center p-8"><span class="loading loading-spinner loading-lg text-primary"></span></div>'),k6=me('<div class="text-center opacity-50 p-4"> </div>'),S6=me('<div class="text-center opacity-50 p-4 text-sm"> </div>'),C6=me('<div class="leading-relaxed"><span><!></span> <span class="bg-yellow-200 text-yellow-900 font-bold px-0.5 rounded"><!></span> <span><!></span></div>'),P6=me('<div class="leading-relaxed"><!></div>'),A6=me('<div class="p-3 text-sm border-b border-base-200 last:border-none hover:bg-base-200/30 transition-colors"><!></div>'),R6=me('<button><div class="text-sm font-bold opacity-80 bg-base-200/50 flex items-center justify-between py-2 px-3 border-b border-base-200"><span> </span> <span class="badge badge-sm badge-ghost"> </span></div> <div class="p-0"></div></button>'),I6=me('<div class="text-xs font-bold opacity-50 uppercase tracking-wider pb-2"> </div> <!>',1),O6=me('<div role="dialog"><div class="flex items-center justify-between p-4 border-b border-base-300"><h2 class="font-bold text-lg"> </h2> <!></div> <div class="p-4 border-b border-base-300 shrink-0"><div class="relative w-full"><input type="text" class="input input-bordered w-full pr-12"/> <button class="btn btn-primary absolute right-0 top-0 h-full rounded-l-none"><!></button></div></div> <div class="flex-1 overflow-y-auto p-4 space-y-4"><!></div></div>');function ah(i,t){Qe(t,!0);const e=Wr(Gi);let r=Ae(""),n=re(()=>{var v;return((v=e.config.search)==null?void 0:v.showCloseButton)??!0});st(()=>{e.searchQuery!==et(()=>p(r))&&be(r,e.searchQuery,!0)});function o(){e.search(p(r))}function a(v){v.key==="Enter"&&o()}function s(v){const _=e.canvases[v];_&&e.setCanvas(_.id)}let c=re(()=>{var v;return((v=e.config.search)==null?void 0:v.width)??"320px"}),l=re(()=>{var v;return((v=e.config.search)==null?void 0:v.position)??"right"});var u=te(),h=X(u);{var f=v=>{var _=O6(),d=G(_),g=G(d),b=G(g,!0);U(g);var S=ue(g,2);{var P=B=>{var q=x6();q.__click=()=>e.toggleSearchPanel();var ae=G(q);As(ae,{size:20,weight:"bold"}),U(q),Oe(oe=>Ne(q,"aria-label",oe),[()=>ju()]),x(B,q)};D(S,B=>{p(n)&&B(P)})}U(d);var k=ue(d,2),A=G(k),N=G(A);Do(N),N.__keydown=a;var Z=ue(N,2);Z.__click=o;var L=G(Z);{var I=B=>{var q=T6();x(B,q)},O=B=>{ih(B,{size:20,weight:"bold"})};D(L,B=>{e.isSearching?B(I):B(O,!1)})}U(Z),U(A),U(k);var J=ue(k,2),ee=G(J);{var ne=B=>{var q=E6();x(B,q)},z=B=>{var q=te(),ae=X(q);{var oe=K=>{var ye=k6(),Se=G(ye,!0);U(ye),Oe(he=>qe(Se,he),[()=>Eu({query:e.searchQuery})]),x(K,ye)},F=K=>{var ye=te(),Se=X(ye);{var he=M=>{var j=S6(),le=G(j,!0);U(j),Oe(se=>qe(le,se),[()=>ku()]),x(M,j)},V=M=>{var j=I6(),le=X(j),se=G(le,!0);U(le);var Ce=ue(le,2);Ut(Ce,17,()=>e.searchResults,pe=>pe.canvasIndex,(pe,Te)=>{var Ee=R6();Ee.__click=()=>s(p(Te).canvasIndex);var xe=G(Ee),fe=G(xe),Pe=G(fe,!0);U(fe);var Ye=ue(fe,2),m=G(Ye);U(Ye),U(xe);var T=ue(xe,2);Ut(T,21,()=>p(Te).hits.slice(0,1),Ni,(H,ie)=>{var ce=A6(),ve=G(ce);{var Q=Ve=>{var je=C6(),ke=G(je),Xe=G(ke);Cr(Xe,()=>p(ie).before),U(ke);var y=ue(ke,2),w=G(y);Cr(w,()=>p(ie).match),U(y);var E=ue(y,2),C=G(E);Cr(C,()=>p(ie).after),U(E),U(je),x(Ve,je)},Ie=Ve=>{var je=P6(),ke=G(je);Cr(ke,()=>p(ie).match),U(je),x(Ve,je)};D(ve,Ve=>{p(ie).type==="hit"?Ve(Q):Ve(Ie,!1)})}U(ce),x(H,ce)}),U(T),U(Ee),Oe(()=>{He(Ee,1,`w-full text-left bg-base-100 shadow-sm border border-base-200 rounded-box cursor-pointer hover:shadow-md transition-all block p-0 select-none ${e.currentCanvasIndex===p(Te).canvasIndex?"ring-2 ring-primary bg-primary/5":""}`),qe(Pe,p(Te).canvasLabel),qe(m,`${p(Te).hits.length??""}
|
|
21
21
|
${p(Te).hits.length===1?"match":"matches"}`)}),x(pe,Ee)}),Oe(pe=>qe(se,pe),[()=>Su({count:e.searchResults.length})]),x(M,j)};D(Se,M=>{e.searchResults.length===0&&!e.searchQuery?M(he):M(V,!1)},!0)}x(K,ye)};D(ae,K=>{e.searchResults.length===0&&e.searchQuery?K(oe):K(F,!1)},!0)}x(B,q)};D(ee,B=>{e.isSearching?B(ne):B(z,!1)})}U(J),U(_),Oe((B,q,ae,oe)=>{He(_,1,`h-full bg-base-200 shadow-2xl z-100 flex flex-col transition-[width] duration-200 ${e.config.transparentBackground?"":p(l)==="left"?"border-r border-base-300":"border-l border-base-300"}`),Ot(_,`width: ${p(c)??""}`),Ne(_,"aria-label",B),qe(b,q),Ne(N,"placeholder",ae),Ne(Z,"aria-label",oe)},[()=>ms(),()=>ws(),()=>Tu(),()=>ms()]),Sc(N,()=>p(r),B=>be(r,B)),x(v,_)};D(h,v=>{e.showSearchPanel&&v(f)})}x(i,u),Je()}Qr(["click","keydown"]);var M6=me('<div class="h-full relative pointer-events-auto"><!></div>'),D6=me('<div class="h-full pointer-events-auto relative"><!></div>'),L6=me('<div class="h-full relative pointer-events-auto"><!></div>'),z6=me("<div><!> <!> <!></div>"),H6=me('<div class="flex-none w-full pointer-events-auto relative z-20"><!></div>'),N6=me('<div class="w-full h-full flex items-center justify-center"><span class="loading loading-spinner loading-lg text-primary"></span></div>'),F6=me('<div class="w-full h-full flex items-center justify-center text-error"> </div>'),B6=me('<div class="w-full h-full flex items-center justify-center text-base-content/50"> </div>'),V6=me('<div class="absolute inset-0 z-40 pointer-events-none"><!></div>'),j6=me('<div class="flex-none w-full pointer-events-auto relative z-20"><!></div>'),U6=me('<div class="relative w-full z-40 pointer-events-auto"><!></div>'),G6=me('<div class="h-full relative pointer-events-auto"><!></div>'),Z6=me('<div class="h-full pointer-events-auto relative"><!></div>'),W6=me('<div class="h-full relative pointer-events-auto"><!></div>'),q6=me("<div><!> <!> <!></div>"),X6=me('<div id="triiiceratops-viewer"><!> <div id="triiiceratops-center-panel" class="flex-1 relative min-w-0 flex flex-col"><!> <div><!> <!> <!> <!> <!> <!> <!></div> <!> <!></div> <!></div>');function Y6(i,t){Qe(t,!0);const e=typeof window<"u";let r=or(t,"plugins",19,()=>[]),n=or(t,"config",19,()=>({})),o=or(t,"viewerState",15),a=Ae(void 0);st(()=>{p(a)&&(nv(p(a),t.theme,t.themeConfig),s.setViewerElement(p(a)))});const s=new Fg(null,void 0,[]);o(s),ca(Gi,s),Aa(()=>{s.destroyAllPlugins()}),st(()=>{t.manifestId&&t.manifestId!==s.manifestId&&s.setManifest(t.manifestId)});let c="";st(()=>{t.canvasId&&t.canvasId!==c&&(c=t.canvasId,t.canvasId!==s.canvasId&&s.setCanvas(t.canvasId))});let l="";st(()=>{if(n()){const M=JSON.stringify(n());M!==l&&(l=M,console.log("[Viewer] updateConfig called with new config:",n()),s.updateConfig(n()))}});let u=[];st(()=>{const M=r();return et(()=>{for(const j of u)s.unregisterPlugin(j);u=[];for(const j of M){const le=j.id||`plugin-${Math.random().toString(36).substr(2,9)}`,se={...j,id:le};s.registerPlugin(se),u.push(le)}}),()=>{for(const j of u)s.unregisterPlugin(j);u=[]}}),Aa(()=>{s.destroyAllPlugins()}),st(()=>{if(!e)return;const M=()=>{s.isFullScreen=!!document.fullscreenElement};return document.addEventListener("fullscreenchange",M),()=>{document.removeEventListener("fullscreenchange",M)}});let h=re(()=>{var M;return s.showThumbnailGallery&&s.dockSide==="left"||s.showSearchPanel&&((M=s.config.search)==null?void 0:M.position)==="left"||s.pluginPanels.some(j=>j.position==="left"&&j.isVisible())}),f=re(()=>{var M;return s.showSearchPanel&&((M=s.config.search)==null?void 0:M.position)!=="left"||s.showThumbnailGallery&&s.dockSide==="right"||s.pluginPanels.some(j=>j.position==="right"&&j.isVisible())}),v=re(()=>s.manifestEntry),_=re(()=>s.canvases),d=re(()=>s.currentCanvasIndex);st(()=>{if(s.pendingSearchQuery&&p(v)&&!p(v).isFetching&&!p(v).error&&p(v).manifesto){const M=s.pendingSearchQuery;s.pendingSearchQuery=null,console.log("[Viewer] Manifest loaded, triggering deferred search:",M),s.search(M)}}),st(()=>{var M;p(_)&&p(_).length>0&&!s.canvasId&&!((M=p(v))!=null&&M.isFetching)&&(console.log("[Viewer] Auto-selecting first canvas:",p(_)[0].id),s.setCanvas(p(_)[0].id))});let g=re(()=>{var se,Ce;if(!p(_)||p(d)===-1||!p(_)[p(d)])return(se=p(v))!=null&&se.isFetching||console.log("TriiiceratopsViewer: No canvas found"),null;const M=p(_)[p(d)];let j=M.getImages();if(s.viewingMode==="paged"){const pe=s.pagedOffset;if(p(d)>=pe){const Te=p(d)+1;if(Te<p(_).length){const xe=p(_)[Te].getImages();j=j.concat(xe)}}}return(!j||!j.length)&&M.getContent&&(j=M.getContent()),!j||!j.length?(M.__jsonld&&M.__jsonld.items,(Ce=p(v))!=null&&Ce.isFetching||console.log("TriiiceratopsViewer: No images/content in canvas"),null):j.map(pe=>b(pe))});function b(M){let j=M.getResource?M.getResource():null;if(!j&&M.getBody){const fe=M.getBody();Array.isArray(fe)&&fe.length>0?j=fe[0]:fe&&(j=fe)}const le=(j==null?void 0:j.__jsonld)||j,se=j&&(j.id||j["@id"]||le&&(le.service||le.id||le["@id"]));if(j&&!se&&(j=null),!j){const fe=M.__jsonld||M;fe.body&&(j=Array.isArray(fe.body)?fe.body[0]:fe.body)}if(!j)return null;const Ce=fe=>fe.id||fe["@id"];let pe=[];const Te=j.__jsonld||j;if(Te.service&&(pe=Array.isArray(Te.service)?Te.service:[Te.service]),!pe.length&&j.getServices&&(pe=j.getServices()),pe.length>0){const fe=pe.find(Pe=>{const Ye=Pe.getType?Pe.getType():Pe.type||Pe["@type"]||"",m=Pe.getProfile?Pe.getProfile():Pe.profile||"";return Ye==="ImageService1"||Ye==="ImageService2"||Ye==="ImageService3"||typeof m=="string"&&m.includes("http://iiif.io/api/image")||typeof m=="string"&&m==="level0"});if(fe){let Pe=Ce(fe);return Pe&&!Pe.endsWith("/info.json")&&(Pe=`${Pe}/info.json`),Pe}}const Ee=Ce(j);if(Ee&&Ee.includes("/iiif/")){const fe=Ee.split("/"),Pe=fe.findIndex(Ye=>Ye==="full"||Ye.match(/^\d+,\d+,\d+,\d+$/));if(Pe>0)return`${fe.slice(0,Pe).join("/")}/info.json`}return console.log("TriiiceratopsViewer: No service or ID found, returning raw URL"),{type:"image",url:Ee}}var S=X6(),P=G(S);{var k=M=>{var j=z6(),le=G(j);{var se=Ee=>{var xe=M6(),fe=G(xe);ah(fe,{}),U(xe),x(Ee,xe)};D(le,Ee=>{var xe;s.showSearchPanel&&((xe=s.config.search)==null?void 0:xe.position)==="left"&&Ee(se)})}var Ce=ue(le,2);{var pe=Ee=>{var xe=D6(),fe=G(xe);yn(fe,{get canvases(){return p(_)}}),U(xe),Oe(()=>Ot(xe,`width: ${s.galleryFixedHeight+40}px`)),x(Ee,xe)};D(Ce,Ee=>{s.showThumbnailGallery&&s.dockSide==="left"&&Ee(pe)})}var Te=ue(Ce,2);Ut(Te,17,()=>s.pluginPanels,Ee=>Ee.id,(Ee,xe)=>{var fe=te(),Pe=X(fe);{var Ye=m=>{var T=L6(),H=G(T);Fi(H,()=>p(xe).component,(ie,ce)=>{ce(ie,mn(()=>p(xe).props??{},{get locale(){return Zi.current}}))}),U(T),x(m,T)};D(Pe,m=>{p(xe).isVisible()&&p(xe).position==="left"&&m(Ye)})}x(Ee,fe)}),U(j),Oe(()=>He(j,1,`flex-none flex flex-row z-20 transition-all ${s.config.transparentBackground?"":"bg-base-200 border-r border-base-300"}`)),x(M,j)};D(P,M=>{p(h)&&M(k)})}var A=ue(P,2),N=G(A);{var Z=M=>{var j=H6(),le=G(j);yn(le,{get canvases(){return p(_)}}),U(j),Oe(()=>Ot(j,`height: ${s.galleryFixedHeight+50}px`)),x(M,j)};D(N,M=>{s.showThumbnailGallery&&s.dockSide==="top"&&M(Z)})}var L=ue(N,2),I=G(L);{var O=M=>{var j=N6();x(M,j)},J=M=>{var j=te(),le=X(j);{var se=pe=>{var Te=F6(),Ee=G(Te);U(Te),Oe(xe=>qe(Ee,`${xe??""}
|
|
22
22
|
${p(v).error??""}`),[()=>Uu()]),x(pe,Te)},Ce=pe=>{var Te=te(),Ee=X(Te);{var xe=Pe=>{mv(Pe,{get tileSources(){return p(g)},get viewerState(){return s}})},fe=Pe=>{var Ye=te(),m=X(Ye);{var T=H=>{var ie=B6(),ce=G(ie,!0);U(ie),Oe(ve=>qe(ce,ve),[()=>Gu()]),x(H,ie)};D(m,H=>{p(v)&&!p(v).isFetching&&!p(g)&&H(T)},!0)}x(Pe,Ye)};D(Ee,Pe=>{p(g)?Pe(xe):Pe(fe,!1)},!0)}x(pe,Te)};D(le,pe=>{var Te;(Te=p(v))!=null&&Te.error?pe(se):pe(Ce,!1)},!0)}x(M,j)};D(I,M=>{var j;(j=p(v))!=null&&j.isFetching?M(O):M(J,!1)})}var ee=ue(I,2);_x(ee,{});var ne=ue(ee,2);y6(ne,{});var z=ue(ne,2);p6(z,{});var B=ue(z,2);Ut(B,17,()=>s.pluginPanels,M=>M.id,(M,j)=>{var le=te(),se=X(le);{var Ce=pe=>{var Te=V6(),Ee=G(Te);Fi(Ee,()=>p(j).component,(xe,fe)=>{fe(xe,mn(()=>p(j).props??{},{get locale(){return Zi.current}}))}),U(Te),x(pe,Te)};D(se,pe=>{p(j).isVisible()&&p(j).position==="overlay"&&pe(Ce)})}x(M,le)});var q=ue(B,2);{var ae=M=>{Fy(M,{get viewerState(){return s}})};D(q,M=>{(p(_).length>1&&s.showCanvasNav||(s.config.showZoomControls??!0))&&M(ae)})}var oe=ue(q,2);{var F=M=>{yn(M,{get canvases(){return p(_)}})};D(oe,M=>{s.showThumbnailGallery&&s.dockSide==="none"&&M(F)})}U(L);var K=ue(L,2);{var ye=M=>{var j=j6(),le=G(j);yn(le,{get canvases(){return p(_)}}),U(j),Oe(()=>Ot(j,`height: ${s.galleryFixedHeight+50}px`)),x(M,j)};D(K,M=>{s.showThumbnailGallery&&s.dockSide==="bottom"&&M(ye)})}var Se=ue(K,2);Ut(Se,17,()=>s.pluginPanels,M=>M.id,(M,j)=>{var le=te(),se=X(le);{var Ce=pe=>{var Te=U6(),Ee=G(Te);Fi(Ee,()=>p(j).component,(xe,fe)=>{fe(xe,mn(()=>p(j).props??{},{get locale(){return Zi.current}}))}),U(Te),x(pe,Te)};D(se,pe=>{p(j).isVisible()&&p(j).position==="bottom"&&pe(Ce)})}x(M,le)}),U(A);var he=ue(A,2);{var V=M=>{var j=q6(),le=G(j);{var se=Ee=>{var xe=G6(),fe=G(xe);ah(fe,{}),U(xe),x(Ee,xe)};D(le,Ee=>{var xe;s.showSearchPanel&&((xe=s.config.search)==null?void 0:xe.position)!=="left"&&Ee(se)})}var Ce=ue(le,2);{var pe=Ee=>{var xe=Z6(),fe=G(xe);yn(fe,{get canvases(){return p(_)}}),U(xe),Oe(()=>Ot(xe,`width: ${s.galleryFixedHeight+40}px`)),x(Ee,xe)};D(Ce,Ee=>{s.showThumbnailGallery&&s.dockSide==="right"&&Ee(pe)})}var Te=ue(Ce,2);Ut(Te,17,()=>s.pluginPanels,Ee=>Ee.id,(Ee,xe)=>{var fe=te(),Pe=X(fe);{var Ye=m=>{var T=W6(),H=G(T);Fi(H,()=>p(xe).component,(ie,ce)=>{ce(ie,mn(()=>p(xe).props??{},{get locale(){return Zi.current}}))}),U(T),x(m,T)};D(Pe,m=>{p(xe).isVisible()&&p(xe).position==="right"&&m(Ye)})}x(Ee,fe)}),U(j),Oe(()=>He(j,1,`flex-none flex flex-row z-20 transition-all ${s.config.transparentBackground?"":"bg-base-100"}`)),x(M,j)};D(he,M=>{p(f)&&M(V)})}U(S),ji(S,M=>be(a,M),()=>p(a)),Oe(()=>{He(S,1,`flex w-full h-full relative overflow-hidden ${s.config.transparentBackground?"":"bg-base-100"}`),He(L,1,`flex-1 relative min-h-0 w-full h-full ${s.config.transparentBackground?"":"bg-base-100"}`)}),x(i,S),Je()}var K6=me('<!> <div class="w-full h-full"><!></div>',1);function Q6(i,t){Qe(t,!0);let e=or(t,"manifestId",7,""),r=or(t,"canvasId",7,""),n=or(t,"plugins",23,()=>[]),o=or(t,"theme",7,void 0),a=or(t,"themeConfig",7,void 0),s=or(t,"config",7,void 0),c,l=Ae(void 0),u=!1;st(()=>{p(l)&&c&&!u&&(u=!0,p(l).setEventTarget(c))});let h=re(()=>{if(o()){if($g(o()))return o();console.warn(`Invalid theme "${o()}". Using inherited theme.`)}}),f=re(()=>{if(a()){if(typeof a()=="string"){const P=iv(a());return P||console.warn(`Invalid theme-config JSON: "${a()}". Ignoring.`),P??void 0}return a()}}),v=re(()=>{if(s()){if(typeof s()=="string")try{return JSON.parse(s())}catch{console.warn(`Invalid config JSON: "${s()}". Ignoring.`);return}return s()}});var _={get manifestId(){return e()},set manifestId(P=""){e(P),Ft()},get canvasId(){return r()},set canvasId(P=""){r(P),Ft()},get plugins(){return n()},set plugins(P=[]){n(P),Ft()},get theme(){return o()},set theme(P=void 0){o(P),Ft()},get themeConfig(){return a()},set themeConfig(P=void 0){a(P),Ft()},get config(){return s()},set config(P=void 0){s(P),Ft()}},d=K6(),g=X(d);Cr(g,()=>`<style>${G0}</style>`);var b=ue(g,2),S=G(b);return Y6(S,{get manifestId(){return e()},get canvasId(){return r()},get plugins(){return n()},get theme(){return p(h)},get themeConfig(){return p(f)},get config(){return p(v)},get viewerState(){return p(l)},set viewerState(P){be(l,P,!0)}}),U(b),ji(b,P=>c=P,()=>c),x(i,d),Je(_)}customElements.define("triiiceratops-viewer",Lc(Q6,{manifestId:{attribute:"manifest-id",reflect:!0,type:"String"},canvasId:{attribute:"canvas-id",reflect:!0,type:"String"},theme:{attribute:"theme",reflect:!0,type:"String"},themeConfig:{attribute:"theme-config",type:"String"},config:{attribute:"config",type:"String"},plugins:{}},[],[],!0)),window.__TriiiceratopsSvelteRuntime={svelte:Wf,internal:j0},window.TriiiceratopsPlugins=window.TriiiceratopsPlugins||{};var Zo={exports:{}},J6=Zo.exports,sh;function $6(){return sh||(sh=1,(function(i){//! openseadragon 5.0.1
|
|
23
23
|
//! Built on 2024-12-09
|