triiiceratops 0.11.0 → 0.11.1
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 z8=Object.defineProperty;var Fu=tt=>{throw TypeError(tt)};var H8=(tt,it,pt)=
|
|
|
3
3
|
`)}),$r(t,"name",{value:i}),t)}function Yh(){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 Ve=null;function Ei(i){Ve=i}let so=null;function Kh(i,t,e,r,n,o){const a=so;so={type:t,file:e[jt],line:r,column:n,parent:a,...o};try{return i()}finally{so=a}}let Xi=null;function Gs(i){Xi=i}function Qh(){const i={};return[()=>(Yo(i)||uh(),Nr(i)),t=>Xo(i,t)]}function Nr(i){return lo().get(i)}function Xo(i,t){return lo().set(i,t),t}function Yo(i){return lo().has(i)}function Jh(){return lo()}function Ye(i,t=!1,e){Ve={p:Ve,i:!1,c:null,e:null,s:i,x:null,l:null}}function Ke(i){var t=Ve,e=t.e;if(e!==null){t.e=null;for(var r of e)pl(r)}return i!==void 0&&(t.x=i),t.i=!0,Ve=t.p,i??{}}function Zs(){return!0}function lo(i){return Ve===null&&xi(),Ve.c??(Ve.c=new Map($h(Ve)||void 0))}function $h(i){let t=i.p;for(;t!==null;){const e=t.c;if(e!==null)return e;t=t.p}return null}let ni=[];function Ws(){var i=ni;ni=[],Zo(i)}function Gt(i){if(ni.length===0&&!ki){var t=ni;queueMicrotask(()=>{t===ni&&Ws()})}ni.push(i)}function ed(){for(;ni.length>0;)Ws()}function qs(i){var t=De;if(t===null)return He.f|=Hr,i;if((t.f&Wi)===0){if((t.f&eo)===0)throw i;t.b.error(i)}else Ir(i,t)}function Ir(i,t){for(;t!==null;){if((t.f&eo)!==0)try{t.b.error(i);return}catch(e){i=e}t=t.parent}throw i}const oi=new Set;let Me=null,Yi=null,rt=null,tr=[],co=null,Ko=!1,ki=!1;const Lo=class Lo{constructor(){ve(this,mt);ot(this,"committed",!1);ot(this,"current",new Map);ot(this,"previous",new Map);ve(this,Fi,new Set);ve(this,Bi,new Set);ve(this,fi,0);ve(this,pi,0);ve(this,fn,null);ve(this,Vi,[]);ve(this,ji,[]);ot(this,"skipped_effects",new Set);ot(this,"is_fork",!1)}is_deferred(){return this.is_fork||O(this,pi)>0}process(t){var r;tr=[],Yi=null,this.apply();var e={parent:null,effect:null,effects:[],render_effects:[],block_effects:[]};for(const n of t)et(this,mt,vs).call(this,n,e);this.is_fork||et(this,mt,Bu).call(this),this.is_deferred()?(et(this,mt,wi).call(this,e.effects),et(this,mt,wi).call(this,e.render_effects),et(this,mt,wi).call(this,e.block_effects)):(Yi=this,Me=null,Xs(e.render_effects),Xs(e.effects),Yi=null,(r=O(this,fn))==null||r.resolve()),rt=null}capture(t,e){this.previous.has(t)||this.previous.set(t,e),(t.f&Hr)===0&&(this.current.set(t,t.v),rt==null||rt.set(t,t.v))}activate(){Me=this,this.apply()}deactivate(){Me===this&&(Me=null,rt=null)}flush(){if(this.activate(),tr.length>0){if(Qo(),Me!==null&&Me!==this)return}else O(this,fi)===0&&this.process([]);this.deactivate()}discard(){for(const t of O(this,Bi))t(this);O(this,Bi).clear()}increment(t){Ie(this,fi,O(this,fi)+1),t&&Ie(this,pi,O(this,pi)+1)}decrement(t){Ie(this,fi,O(this,fi)-1),t&&Ie(this,pi,O(this,pi)-1),this.revive()}revive(){for(const t of O(this,Vi))_t(t,It),ai(t);for(const t of O(this,ji))_t(t,vr),ai(t);Ie(this,Vi,[]),Ie(this,ji,[]),this.flush()}oncommit(t){O(this,Fi).add(t)}ondiscard(t){O(this,Bi).add(t)}settled(){return(O(this,fn)??Ie(this,fn,Rs())).promise}static ensure(){if(Me===null){const t=Me=new Lo;oi.add(Me),ki||Lo.enqueue(()=>{Me===t&&t.flush()})}return Me}static enqueue(t){Gt(t)}apply(){}};Fi=new WeakMap,Bi=new WeakMap,fi=new WeakMap,pi=new WeakMap,fn=new WeakMap,Vi=new WeakMap,ji=new WeakMap,mt=new WeakSet,vs=function(t,e){var u;t.f^=yt;for(var r=t.first;r!==null;){var n=r.f,o=(n&(Rr|zr))!==0,a=o&&(n&yt)!==0,s=a||(n&Ut)!==0||this.skipped_effects.has(r);if((r.f&eo)!==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^=yt:(n&Jn)!==0?e.effects.push(r):Ci(r)&&((r.f&gr)!==0&&e.block_effects.push(r),Pi(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&&(et(this,mt,wi).call(this,e.effects),et(this,mt,wi).call(this,e.render_effects),et(this,mt,wi).call(this,e.block_effects),e=e.parent),r=l.next,l=l.parent}},wi=function(t){for(const e of t)((e.f&It)!==0?O(this,Vi):O(this,ji)).push(e),et(this,mt,ms).call(this,e.deps),_t(e,yt)},ms=function(t){if(t!==null)for(const e of t)(e.f>)===0||(e.f&ti)===0||(e.f^=ti,et(this,mt,ms).call(this,e.deps))},Bu=function(){if(O(this,pi)===0){for(const t of O(this,Fi))t();O(this,Fi).clear()}O(this,fi)===0&&et(this,mt,Vu).call(this)},Vu=function(){var o;if(oi.size>1){this.previous.clear();var t=rt,e=!0,r={parent:null,effect:null,effects:[],render_effects:[],block_effects:[]};for(const a of oi){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=tr;tr=[];const l=new Set,u=new Map;for(const h of s)Ys(h,c,l,u);if(tr.length>0){Me=a,a.apply();for(const h of tr)et(o=a,mt,vs).call(o,h,r);a.deactivate()}tr=n}}Me=null,rt=t}this.committed=!0,oi.delete(this)};let Zt=Lo;function Ht(i){var t=ki;ki=!0;try{var e;for(i&&(Me!==null&&Qo(),e=i());;){if(ed(),tr.length===0&&(Me==null||Me.flush(),tr.length===0))return co=null,e;Qo()}}finally{ki=t}}function Qo(){var i=ci;Ko=!0;var t=null;try{var e=0;for(vo(!0);tr.length>0;){var r=Zt.ensure();if(e++>1e3){var n,o;td()}r.process(tr),Br.clear()}}finally{Ko=!1,vo(i),co=null}}function td(){try{xh()}catch(i){Ir(i,co)}}let dr=null;function Xs(i){var t=i.length;if(t!==0){for(var e=0;e<t;){var r=i[e++];if((r.f&(mr|Ut))===0&&Ci(r)&&(dr=new Set,Pi(r),r.deps===null&&r.first===null&&r.nodes===null&&(r.teardown===null&&r.ac===null?xl(r):r.fn=null),(dr==null?void 0:dr.size)>0)){Br.clear();for(const n of dr){if((n.f&(mr|Ut))!==0)continue;const o=[n];let a=n.parent;for(;a!==null;)dr.has(a)&&(dr.delete(a),o.push(a)),a=a.parent;for(let s=o.length-1;s>=0;s--){const c=o[s];(c.f&(mr|Ut))===0&&Pi(c)}}dr.clear()}}dr=null}}function Ys(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>)!==0?Ys(n,t,e,r):(o&(ro|gr))!==0&&(o&It)===0&&Qs(n,t,r)&&(_t(n,It),ai(n))}}function Ks(i,t){if(i.reactions!==null)for(const e of i.reactions){const r=e.f;(r>)!==0?Ks(e,t):(r&to)!==0&&(_t(e,It),t.add(e))}}function Qs(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>)!==0&&Qs(n,t,e))return e.set(n,!0),!0}return e.set(i,!1),!1}function ai(i){for(var t=co=i;t.parent!==null;){t=t.parent;var e=t.f;if(Ko&&t===De&&(e&gr)!==0&&(e&Wo)===0)return;if((e&(zr|Rr))!==0){if((e&yt)===0)return;t.f^=yt}}tr.push(t)}let uo=[];function rd(){try{Ht(()=>{for(const i of uo)Ji(i)})}finally{uo=[]}}function id(i){var t=Wt(0),e=!0,r=void 0;return m(t),vl(()=>{if(e){var n=rt;try{rt=null,r=i()}finally{rt=n}return}uo.length===0&&Gt(rd),uo.push(t)}),e=!1,r}function nd(i){Ms(),Me!==null&&Eh();var t=Zt.ensure();t.is_fork=!0,rt=new Map;var e=!1,r=t.settled();Ht(i),rt=null;for(var[n,o]of t.previous)n.v=o;return{commit:async()=>{if(e){await r;return}oi.has(t)||Th(),e=!0,t.is_fork=!1;for(var[a,s]of t.current)a.v=s;Ht(()=>{var c=new Set;for(var l of t.current.keys())Ks(l,c);pd(c),nl()}),t.revive(),await r},discard:()=>{!e&&oi.has(t)&&(oi.delete(t),t.discard())}}}function od(i){let t=0,e=Wt(0),r;return()=>{si()&&(m(e),ut(()=>(t===0&&(r=We(()=>i(()=>$i(e)))),t+=1,()=>{Gt(()=>{t-=1,t===0&&(r==null||r(),r=void 0,$i(e))})})))}}var ad=hr|ei|eo;function Js(i,t,e){new sd(i,t,e)}class sd{constructor(t,e,r){ve(this,ft);ot(this,"parent");ve(this,ar,!1);ve(this,Jt);ve(this,pn,de?Ee:null);ve(this,kr);ve(this,gi);ve(this,Sr);ve(this,sr,null);ve(this,Vt,null);ve(this,Cr,null);ve(this,Mr,null);ve(this,qr,null);ve(this,vi,0);ve(this,Xr,0);ve(this,mi,!1);ve(this,Yr,null);ve(this,zo,od(()=>(Ie(this,Yr,Wt(O(this,vi))),()=>{Ie(this,Yr,null)})));Ie(this,Jt,t),Ie(this,kr,e),Ie(this,gi,r),this.parent=De.b,Ie(this,ar,!!O(this,kr).pending),Ie(this,Sr,br(()=>{if(De.b=this,de){const o=O(this,pn);xt(),o.nodeType===_r&&o.data===bi?et(this,ft,Uu).call(this):et(this,ft,ju).call(this)}else{var n=et(this,ft,_s).call(this);try{Ie(this,sr,Dt(()=>r(n)))}catch(o){this.error(o)}O(this,Xr)>0?et(this,ft,Vo).call(this):Ie(this,ar,!1)}return()=>{var o;(o=O(this,qr))==null||o.remove()}},ad)),de&&Ie(this,Jt,Ee)}is_pending(){return O(this,ar)||!!this.parent&&this.parent.is_pending()}has_pending_snippet(){return!!O(this,kr).pending}update_pending_count(t){et(this,ft,ws).call(this,t),Ie(this,vi,O(this,vi)+t),O(this,Yr)&&wr(O(this,Yr),O(this,vi))}get_effect_pending(){return O(this,zo).call(this),m(O(this,Yr))}error(t){var e=O(this,kr).onerror;let r=O(this,kr).failed;if(O(this,mi)||!e&&!r)throw t;O(this,sr)&&(vt(O(this,sr)),Ie(this,sr,null)),O(this,Vt)&&(vt(O(this,Vt)),Ie(this,Vt,null)),O(this,Cr)&&(vt(O(this,Cr)),Ie(this,Cr,null)),de&&(Xe(O(this,pn)),Tt(),Xe(ii()));var n=!1,o=!1;const a=()=>{if(n){Bh();return}n=!0,o&&Ih(),Zt.ensure(),Ie(this,vi,0),O(this,Cr)!==null&&li(O(this,Cr),()=>{Ie(this,Cr,null)}),Ie(this,ar,this.has_pending_snippet()),Ie(this,sr,et(this,ft,Bo).call(this,()=>(Ie(this,mi,!1),Dt(()=>O(this,gi).call(this,O(this,Jt)))))),O(this,Xr)>0?et(this,ft,Vo).call(this):Ie(this,ar,!1)};var s=He;try{St(null),o=!0,e==null||e(t,a),o=!1}catch(c){Ir(c,O(this,Sr)&&O(this,Sr).parent)}finally{St(s)}r&&Gt(()=>{Ie(this,Cr,et(this,ft,Bo).call(this,()=>{Zt.ensure(),Ie(this,mi,!0);try{return Dt(()=>{r(O(this,Jt),()=>t,()=>a)})}catch(c){return Ir(c,O(this,Sr).parent),null}finally{Ie(this,mi,!1)}}))})}}ar=new WeakMap,Jt=new WeakMap,pn=new WeakMap,kr=new WeakMap,gi=new WeakMap,Sr=new WeakMap,sr=new WeakMap,Vt=new WeakMap,Cr=new WeakMap,Mr=new WeakMap,qr=new WeakMap,vi=new WeakMap,Xr=new WeakMap,mi=new WeakMap,Yr=new WeakMap,zo=new WeakMap,ft=new WeakSet,ju=function(){try{Ie(this,sr,Dt(()=>O(this,gi).call(this,O(this,Jt))))}catch(t){this.error(t)}Ie(this,ar,!1)},Uu=function(){const t=O(this,kr).pending;t&&(Ie(this,Vt,Dt(()=>t(O(this,Jt)))),Zt.enqueue(()=>{var e=et(this,ft,_s).call(this);Ie(this,sr,et(this,ft,Bo).call(this,()=>(Zt.ensure(),Dt(()=>O(this,gi).call(this,e))))),O(this,Xr)>0?et(this,ft,Vo).call(this):(li(O(this,Vt),()=>{Ie(this,Vt,null)}),Ie(this,ar,!1))}))},_s=function(){var t=O(this,Jt);return O(this,ar)&&(Ie(this,qr,Et()),O(this,Jt).before(O(this,qr)),t=O(this,qr)),t},Bo=function(t){var e=De,r=He,n=Ve;Bt(O(this,Sr)),St(O(this,Sr)),Ei(O(this,Sr).ctx);try{return t()}catch(o){return qs(o),null}finally{Bt(e),St(r),Ei(n)}},Vo=function(){const t=O(this,kr).pending;O(this,sr)!==null&&(Ie(this,Mr,document.createDocumentFragment()),O(this,Mr).append(O(this,qr)),kl(O(this,sr),O(this,Mr))),O(this,Vt)===null&&Ie(this,Vt,Dt(()=>t(O(this,Jt))))},ws=function(t){var e;if(!this.has_pending_snippet()){this.parent&&et(e=this.parent,ft,ws).call(e,t);return}Ie(this,Xr,O(this,Xr)+t),O(this,Xr)===0&&(Ie(this,ar,!1),O(this,Vt)&&li(O(this,Vt),()=>{Ie(this,Vt,null)}),O(this,Mr)&&(O(this,Jt).before(O(this,Mr)),Ie(this,Mr,null)))};function Jo(){return De.b}function ld(){De===null&&yh();var i=De.b;return i===null?0:i.get_effect_pending()}function Ki(i,t,e,r){const n=Qi;if(e.length===0&&i.length===0){r(t.map(n));return}var o=Me,a=De,s=ho();function c(){Promise.all(e.map(l=>el(l))).then(l=>{s();try{r([...t.map(n),...l])}catch(u){(a.f&mr)===0&&Ir(u,a)}o==null||o.deactivate(),Fr()}).catch(l=>{Ir(l,a)})}i.length>0?Promise.all(i).then(()=>{s();try{return c()}finally{o==null||o.deactivate(),Fr()}}):c()}function $s(i,t){Ki(i,[],[],t)}function ho(){var i=De,t=He,e=Ve,r=Me;return function(o=!0){Bt(i),St(t),Ei(e),o&&(r==null||r.activate())}}async function cd(i){var t=ho(),e=await i;return()=>(t(),e)}async function $o(i){var t=await i;return()=>t}async function*ud(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 $o(t.next()))();if(o){e=!0;break}yield a}}finally{if(e&&t.return!==void 0)return(await $o(t.return()))().value}}function Fr(){Bt(null),St(null),Ei(null)}async function hd(i,t){var e=Jo(),r=Me,n=!e.is_pending();e.update_pending_count(1),r.increment(n);var o=De,a=de,s=void 0;a&&(xt(),s=ii(!1));try{var c=t(i)}finally{s&&(Xe(s),xt())}try{await c}catch(l){go(o)||Ir(l,o)}finally{e.update_pending_count(-1),r.decrement(n),Fr()}}function dd(i){const t=ho();var e=Jo(),r=Me,n=!e.is_pending();e.update_pending_count(1),r.increment(n);var o=De,a=null;const s=u=>{a={error:u},go(o)||Ir(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(go(o))throw ri;try{return t(),u()}finally{Fr()}}).catch(s).finally(()=>{Fr()}),l.push(c);return c.then(()=>Promise.resolve()).finally(()=>{e.update_pending_count(-1),r.decrement(n)}),l}function Qi(i){var t=gt|It,e=He!==null&&(He.f>)!==0?He:null;return De!==null&&(De.f|=ei),{ctx:Ve,deps:null,effects:null,equals:Fs,f:t,fn:i,reactions:null,rv:0,v:lt,wv:0,parent:e??De,ac:null}}function el(i,t){let e=De;e===null&&ph();var r=e.b,n=void 0,o=Wt(lt),a=!He,s=new Map;return Pd(()=>{var d;var c=Rs();n=c.promise;try{Promise.resolve(i()).then(c.resolve,c.reject).then(()=>{l===Me&&l.committed&&l.deactivate(),Fr()})}catch(p){c.reject(p),Fr()}var l=Me;if(a){var u=!r.is_pending();r.update_pending_count(1),l.increment(u),(d=s.get(l))==null||d.reject(ri),s.delete(l),s.set(l,c)}const h=(p,_=void 0)=>{if(l.activate(),_)_!==ri&&(o.f|=Hr,wr(o,_));else{(o.f&Hr)!==0&&(o.f^=Hr),wr(o,p);for(const[f,g]of s){if(s.delete(f),f===l)break;g.reject(ri)}}a&&(r.update_pending_count(-1),l.decrement(u))};c.promise.then(h,p=>h(null,p||"unknown"))}),Xt(()=>{for(const c of s.values())c.reject(ri)}),new Promise(c=>{function l(u){function h(){u===n?c(o):l(n)}u.then(h,h)}l(n)})}function ie(i){const t=Qi(i);return Cl(t),t}function ea(i){const t=Qi(i);return t.equals=Vs,t}function tl(i){var t=i.effects;if(t!==null){i.effects=null;for(var e=0;e<t.length;e+=1)vt(t[e])}}function fd(i){for(var t=i.parent;t!==null;){if((t.f>)===0)return(t.f&mr)===0?t:null;t=t.parent}return null}function ta(i){var t,e=De;Bt(fd(i));try{i.f&=~ti,tl(i),t=Ol(i)}finally{Bt(e)}return t}function rl(i){var t=ta(i);if(i.equals(t)||(Me!=null&&Me.is_fork||(i.v=t),i.wv=Al()),!ui)if(rt!==null)(si()||Me!=null&&Me.is_fork)&&rt.set(i,t);else{var e=(i.f&ur)===0?vr:yt;_t(i,e)}}let fo=new Set;const Br=new Map;function pd(i){fo=i}let il=!1;function Wt(i,t){var e={f:0,v:i,reactions:null,equals:Fs,rv:0,wv:0};return e}function ke(i,t){const e=Wt(i);return Cl(e),e}function po(i,t=!1,e=!0){const r=Wt(i);return t||(r.equals=Vs),r}function gd(i,t){return _e(i,We(()=>m(i))),t}function _e(i,t,e=!1){He!==null&&(!yr||(He.f&to)!==0)&&Zs()&&(He.f&(gt|gr|ro|to))!==0&&!(Mt!=null&&Mt.includes(i))&&Ah();let r=e?dt(t):t;return wr(i,r)}function wr(i,t){if(!i.equals(t)){var e=i.v;ui?Br.set(i,t):Br.set(i,e),i.v=t;var r=Zt.ensure();r.capture(i,e),(i.f>)!==0&&((i.f&It)!==0&&ta(i),_t(i,(i.f&ur)!==0?yt:vr)),i.wv=Al(),ol(i,It),De!==null&&(De.f&yt)!==0&&(De.f&(Rr|zr))===0&&(rr===null?Dd([i]):rr.push(i)),!r.is_fork&&fo.size>0&&!il&&nl()}return t}function nl(){il=!1;var i=ci;vo(!0);const t=Array.from(fo);try{for(const e of t)(e.f&yt)!==0&&_t(e,vr),Ci(e)&&Pi(e)}finally{vo(i)}fo.clear()}function Ji(i,t=1){var e=m(i),r=t===1?e++:e--;return _e(i,e),r}function vd(i,t=1){var e=m(i);return _e(i,t===1?++e:--e)}function $i(i){_e(i,i.v+1)}function ol(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&It)===0;if(s&&_t(o,t),(a>)!==0){var c=o;rt==null||rt.delete(c),(a&ti)===0&&(a&ur&&(o.f|=ti),ol(c,vr))}else s&&((a&gr)!==0&&dr!==null&&dr.add(o),ai(o))}}function dt(i){if(typeof i!="object"||i===null||Ot in i)return i;const t=Qn(i);if(t!==Ss&&t!==ih)return i;var e=new Map,r=Jr(i),n=ke(0),o=hi,a=s=>{if(hi===o)return s();var c=He,l=hi;St(null),Rl(o);var u=s();return St(c),Rl(l),u};return r&&e.set("length",ke(i.length)),new Proxy(i,{defineProperty(s,c,l){(!("value"in l)||l.configurable===!1||l.enumerable===!1||l.writable===!1)&&Ph();var u=e.get(c);return u===void 0?u=a(()=>{var h=ke(l.value);return e.set(c,h),h}):_e(u,l.value,!0),!0},deleteProperty(s,c){var l=e.get(c);if(l===void 0){if(c in s){const u=a(()=>ke(lt));e.set(c,u),$i(n)}}else _e(l,lt),$i(n);return!0},get(s,c,l){var p;if(c===Ot)return i;var u=e.get(c),h=c in s;if(u===void 0&&(!h||(p=cr(s,c))!=null&&p.writable)&&(u=a(()=>{var _=dt(h?s[c]:lt),f=ke(_);return f}),e.set(c,u)),u!==void 0){var d=m(u);return d===lt?void 0:d}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=m(u))}else if(l===void 0){var h=e.get(c),d=h==null?void 0:h.v;if(h!==void 0&&d!==lt)return{enumerable:!0,configurable:!0,value:d,writable:!0}}return l},has(s,c){var d;if(c===Ot)return!0;var l=e.get(c),u=l!==void 0&&l.v!==lt||Reflect.has(s,c);if(l!==void 0||De!==null&&(!u||(d=cr(s,c))!=null&&d.writable)){l===void 0&&(l=a(()=>{var p=u?dt(s[c]):lt,_=ke(p);return _}),e.set(c,l));var h=m(l);if(h===lt)return!1}return u},set(s,c,l,u){var R;var h=e.get(c),d=c in s;if(r&&c==="length")for(var p=l;p<h.v;p+=1){var _=e.get(p+"");_!==void 0?_e(_,lt):p in s&&(_=a(()=>ke(lt)),e.set(p+"",_))}if(h===void 0)(!d||(R=cr(s,c))!=null&&R.writable)&&(h=a(()=>ke(void 0)),_e(h,dt(l)),e.set(c,h));else{d=h.v!==lt;var f=a(()=>dt(l));_e(h,f)}var g=Reflect.getOwnPropertyDescriptor(s,c);if(g!=null&&g.set&&g.set.call(u,l),!d){if(r&&typeof c=="string"){var y=e.get("length"),S=Number(c);Number.isInteger(S)&&S>=y.v&&_e(y,S+1)}$i(n)}return!0},ownKeys(s){m(n);var c=Reflect.ownKeys(s).filter(h=>{var d=e.get(h);return d===void 0||d.v!==lt});for(var[l,u]of e)u.v!==lt&&!(l in s)&&c.push(l);return c},setPrototypeOf(){Rh()}})}function Si(i){try{if(i!==null&&typeof i=="object"&&Ot in i)return i[Ot]}catch{}return i}function al(i,t){return Object.is(Si(i),Si(t))}function md(i,t,e=!0){try{i===t!=(Si(i)===Si(t))&&Hs(e?"===":"!==")}catch{}return i===t===e}function _d(i,t,e=!0){return i==t!=(Si(i)==Si(t))&&Hs(),i==t===e}var ra,sl,ia,ll,cl;function na(){if(ra===void 0){ra=window,sl=document,ia=/Firefox/.test(navigator.userAgent);var i=Element.prototype,t=Node.prototype,e=Text.prototype;ll=cr(t,"firstChild").get,cl=cr(t,"nextSibling").get,Cs(i)&&(i.__click=void 0,i.__className=void 0,i.__attributes=null,i.__style=void 0,i.__e=void 0),Cs(e)&&(e.__t=void 0)}}function Et(i=""){return document.createTextNode(i)}function at(i){return ll.call(i)}function qt(i){return cl.call(i)}function W(i,t){if(!de)return at(i);var e=at(Ee);if(e===null)e=Ee.appendChild(Et());else if(t&&e.nodeType!==no){var r=Et();return e==null||e.before(r),Xe(r),r}return Xe(e),e}function K(i,t=!1){if(!de){var e=at(i);return e instanceof Comment&&e.data===""?qt(e):e}if(t&&(Ee==null?void 0:Ee.nodeType)!==no){var r=Et();return Ee==null||Ee.before(r),Xe(r),r}return Ee}function le(i,t=1,e=!1){let r=de?Ee:i;for(var n;t--;)n=r,r=qt(r);if(!de)return r;if(e&&(r==null?void 0:r.nodeType)!==no){var o=Et();return r===null?n==null||n.after(o):r.before(o),Xe(o),o}return Xe(r),r}function oa(i){i.textContent=""}function ul(){return!1}function wd(i,t,e){let r=e?{is:e}:void 0;return t?document.createElementNS(t,i,r):document.createElement(i,r)}function bd(){return document.createDocumentFragment()}function yd(i=""){return document.createComment(i)}function xd(i,t,e=""){if(t.startsWith("xlink:")){i.setAttributeNS("http://www.w3.org/1999/xlink",t,e);return}return i.setAttribute(t,e)}function hl(i,t){if(t){const e=document.body;i.autofocus=!0,Gt(()=>{document.activeElement===e&&i.focus()})}}function Td(i){de&&at(i)!==null&&oa(i)}let dl=!1;function fl(){dl||(dl=!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 Nt(i,t,e,r=!0){r&&e();for(var n of t)i.addEventListener(n,e);Xt(()=>{for(var o of t)i.removeEventListener(o,e)})}function Vr(i){var t=He,e=De;St(null),Bt(null);try{return i()}finally{St(t),Bt(e)}}function en(i,t,e,r=e){i.addEventListener(t,()=>Vr(e));const n=i.__on_r;n?i.__on_r=()=>{n(),r(!0)}:i.__on_r=()=>r(!0),fl()}function aa(i){De===null&&(He===null&&bh(),wh()),ui&&_h()}function Ed(i,t){var e=t.last;e===null?t.last=t.first=i:(e.next=i,i.prev=e,t.last=i)}function Ft(i,t,e){var r=De;r!==null&&(r.f&Ut)!==0&&(i|=Ut);var n={ctx:Ve,deps:null,nodes:null,f:i|It|ur,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{Pi(n),n.f|=Wi}catch(s){throw vt(n),s}else t!==null&&ai(n);var o=n;if(e&&o.deps===null&&o.teardown===null&&o.nodes===null&&o.first===o.last&&(o.f&ei)===0&&(o=o.first,(i&gr)!==0&&(i&hr)!==0&&o!==null&&(o.f|=hr)),o!==null&&(o.parent=r,r!==null&&Ed(o,r),He!==null&&(He.f>)!==0&&(i&zr)===0)){var a=He;(a.effects??(a.effects=[])).push(o)}return n}function si(){return He!==null&&!yr}function Xt(i){const t=Ft($n,null,!1);return _t(t,yt),t.teardown=i,t}function ht(i){aa();var t=De.f,e=!He&&(t&Rr)!==0&&(t&Wi)===0;if(e){var r=Ve;(r.e??(r.e=[])).push(i)}else return pl(i)}function pl(i){return Ft(Jn|Is,i,!1)}function gl(i){return aa(),Ft($n|Is,i,!0)}function vl(i){return Ft(to,i,!0)}function ml(i){Zt.ensure();const t=Ft(zr|ei,i,!0);return()=>{vt(t)}}function kd(i){Zt.ensure();const t=Ft(zr|ei,i,!0);return(e={})=>new Promise(r=>{e.outro?li(t,()=>{vt(t),r(void 0)}):(vt(t),r(void 0))})}function Yt(i){return Ft(Jn,i,!1)}function Sd(i,t){var e=Ve,r={effect:null,ran:!1,deps:i};e.l.$.push(r),r.effect=ut(()=>{i(),!r.ran&&(r.ran=!0,We(t))})}function Cd(){var i=Ve;ut(()=>{for(var t of i.l.$){t.deps();var e=t.effect;(e.f&yt)!==0&&_t(e,vr),Ci(e)&&Pi(e),t.ran=!1}})}function Pd(i){return Ft(ro|ei,i,!0)}function ut(i,t=0){return Ft($n|t,i,!0)}function ze(i,t=[],e=[],r=[]){Ki(r,t,e,n=>{Ft($n,()=>i(...n.map(m)),!0)})}function Rd(i,t=[],e=[],r=[]){var n=Me,o=e.length>0||r.length>0;o&&n.increment(!0),Ki(r,t,e,a=>{Ft(Jn,()=>i(...a.map(m)),!1),o&&n.decrement(!0)})}function br(i,t=0){var e=Ft(gr|t,i,!0);return e}function _l(i,t=0){var e=Ft(As|t,i,!0);return e}function Dt(i){return Ft(Rr|ei,i,!0)}function wl(i){var t=i.teardown;if(t!==null){const e=ui,r=He;Sl(!0),St(null);try{t.call(null)}finally{Sl(e),St(r)}}}function bl(i,t=!1){var e=i.first;for(i.first=i.last=null;e!==null;){const n=e.ac;n!==null&&Vr(()=>{n.abort(ri)});var r=e.next;(e.f&zr)!==0?e.parent=null:vt(e,t),e=r}}function Ad(i){for(var t=i.first;t!==null;){var e=t.next;(t.f&Rr)===0&&vt(t),t=e}}function vt(i,t=!0){var e=!1;(t||(i.f&Wo)!==0)&&i.nodes!==null&&i.nodes.end!==null&&(yl(i.nodes.start,i.nodes.end),e=!0),bl(i,t&&!e),mo(i,0),_t(i,mr);var r=i.nodes&&i.nodes.t;if(r!==null)for(const o of r)o.stop();wl(i);var n=i.parent;n!==null&&n.first!==null&&xl(i),i.next=i.prev=i.teardown=i.ctx=i.deps=i.fn=i.nodes=i.ac=null}function yl(i,t){for(;i!==null;){var e=i===t?null:qt(i);i.remove(),i=e}}function xl(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 li(i,t,e=!0){var r=[];Tl(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 Tl(i,t,e){if((i.f&Ut)===0){i.f^=Ut;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&hr)!==0||(n.f&Rr)!==0&&(i.f&gr)!==0;Tl(n,t,a?e:!1),n=o}}}function sa(i){El(i,!0)}function El(i,t){if((i.f&Ut)!==0){i.f^=Ut,(i.f&yt)===0&&(_t(i,It),ai(i));for(var e=i.first;e!==null;){var r=e.next,n=(e.f&hr)!==0||(e.f&Rr)!==0;El(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 go(i=De){return(i.f&mr)!==0}function kl(i,t){if(i.nodes)for(var e=i.nodes.start,r=i.nodes.end;e!==null;){var n=e===r?null:qt(e);t.append(e),e=n}}let jr=null;function Id(i){var t=jr;try{if(jr=new Set,We(i),t!==null)for(var e of jr)t.add(e);return jr}finally{jr=t}}function Od(i){for(var t of Id(i))wr(t,t.v)}let ci=!1;function vo(i){ci=i}let ui=!1;function Sl(i){ui=i}let He=null,yr=!1;function St(i){He=i}let De=null;function Bt(i){De=i}let Mt=null;function Cl(i){He!==null&&(Mt===null?Mt=[i]:Mt.push(i))}let Lt=null,Kt=0,rr=null;function Dd(i){rr=i}let Pl=1,tn=0,hi=tn;function Rl(i){hi=i}function Al(){return++Pl}function Ci(i){var t=i.f;if((t&It)!==0)return!0;if(t>&&(i.f&=~ti),(t&vr)!==0){var e=i.deps;if(e!==null)for(var r=e.length,n=0;n<r;n++){var o=e[n];if(Ci(o)&&rl(o),o.wv>i.wv)return!0}(t&ur)!==0&&rt===null&&_t(i,yt)}return!1}function Il(i,t,e=!0){var r=i.reactions;if(r!==null&&!(Mt!=null&&Mt.includes(i)))for(var n=0;n<r.length;n++){var o=r[n];(o.f>)!==0?Il(o,t,!1):t===o&&(e?_t(o,It):(o.f&yt)!==0&&_t(o,vr),ai(o))}}function Ol(i){var _;var t=Lt,e=Kt,r=rr,n=He,o=Mt,a=Ve,s=yr,c=hi,l=i.f;Lt=null,Kt=0,rr=null,He=(l&(Rr|zr))===0?i:null,Mt=null,Ei(i.ctx),yr=!1,hi=++tn,i.ac!==null&&(Vr(()=>{i.ac.abort(ri)}),i.ac=null);try{i.f|=qo;var u=i.fn,h=u(),d=i.deps;if(Lt!==null){var p;if(mo(i,Kt),d!==null&&Kt>0)for(d.length=Kt+Lt.length,p=0;p<Lt.length;p++)d[Kt+p]=Lt[p];else i.deps=d=Lt;if(si()&&(i.f&ur)!==0)for(p=Kt;p<d.length;p++)((_=d[p]).reactions??(_.reactions=[])).push(i)}else d!==null&&Kt<d.length&&(mo(i,Kt),d.length=Kt);if(Zs()&&rr!==null&&!yr&&d!==null&&(i.f&(gt|vr|It))===0)for(p=0;p<rr.length;p++)Il(rr[p],i);return n!==null&&n!==i&&(tn++,rr!==null&&(r===null?r=rr:r.push(...rr))),(i.f&Hr)!==0&&(i.f^=Hr),h}catch(f){return qs(f)}finally{i.f^=qo,Lt=t,Kt=e,rr=r,He=n,Mt=o,Ei(a),yr=s,hi=c}}function Md(i,t){let e=t.reactions;if(e!==null){var r=rh.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>)!==0&&(Lt===null||!Lt.includes(t))&&(_t(t,vr),(t.f&ur)!==0&&(t.f^=ur,t.f&=~ti),tl(t),mo(t,0))}function mo(i,t){var e=i.deps;if(e!==null)for(var r=t;r<e.length;r++)Md(i,e[r])}function Pi(i){var t=i.f;if((t&mr)===0){_t(i,yt);var e=De,r=ci;De=i,ci=!0;try{(t&(gr|As))!==0?Ad(i):bl(i),wl(i);var n=Ol(i);i.teardown=typeof n=="function"?n:null,i.wv=Pl;var o;Go&&jh&&(i.f&It)!==0&&i.deps}finally{ci=r,De=e}}}async function la(){await Promise.resolve(),Ht()}function Ld(){return Zt.ensure().settled()}function m(i){var t=i.f,e=(t>)!==0;if(jr==null||jr.add(i),He!==null&&!yr){var r=De!==null&&(De.f&mr)!==0;if(!r&&!(Mt!=null&&Mt.includes(i))){var n=He.deps;if((He.f&qo)!==0)i.rv<tn&&(i.rv=tn,Lt===null&&n!==null&&n[Kt]===i?Kt++:Lt===null?Lt=[i]:Lt.includes(i)||Lt.push(i));else{(He.deps??(He.deps=[])).push(i);var o=i.reactions;o===null?i.reactions=[He]:o.includes(He)||o.push(He)}}}if(ui){if(Br.has(i))return Br.get(i);if(e){var a=i,s=a.v;return((a.f&yt)===0&&a.reactions!==null||Ml(a))&&(s=ta(a)),Br.set(a,s),s}}else e&&(!(rt!=null&&rt.has(i))||Me!=null&&Me.is_fork&&!si())&&(a=i,Ci(a)&&rl(a),ci&&si()&&(a.f&ur)===0&&Dl(a));if(rt!=null&&rt.has(i))return rt.get(i);if((i.f&Hr)!==0)throw i.v;return i.v}function Dl(i){if(i.deps!==null){i.f^=ur;for(const t of i.deps)(t.reactions??(t.reactions=[])).push(i),(t.f>)!==0&&(t.f&ur)===0&&Dl(t)}}function Ml(i){if(i.v===lt)return!0;if(i.deps===null)return!1;for(const t of i.deps)if(Br.has(t)||(t.f>)!==0&&Ml(t))return!0;return!1}function zd(i){return i&&m(i)}function We(i){var t=yr;try{return yr=!0,i()}finally{yr=t}}const Hd=-7169;function _t(i,t){i.f=i.f&Hd|t}function Nd(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 ca(i){if(!(typeof i!="object"||!i||i instanceof EventTarget)){if(Ot in i)_o(i);else if(!Array.isArray(i))for(let t in i){const e=i[t];typeof e=="object"&&e&&Ot in e&&_o(e)}}}function _o(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{_o(i[r],t)}catch{}const e=Qn(i);if(e!==Object.prototype&&e!==Array.prototype&&e!==Map.prototype&&e!==Set.prototype&&e!==Date.prototype){const r=ks(e);for(let n in r){const o=r[n].get;if(o)try{o.call(i)}catch{}}}}}function Fd(i,t){var e;if(Ms(),de){const r=(e=window.__svelte)==null?void 0:e.h;if(r!=null&&r.has(i))return r.get(i);zh()}return t()}const Ll=new Set,ua=new Set;function Bd(i){if(!de)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 zl(i,t,e,r={}){function n(o){if(r.capture||rn.call(t,o),!o.cancelBubble)return Vr(()=>e==null?void 0:e.call(this,o))}return i.startsWith("pointer")||i.startsWith("touch")||i==="wheel"?Gt(()=>{t.addEventListener(i,n,r)}):t.addEventListener(i,n,r),n}function wo(i,t,e,r,n){var o={capture:r,passive:n},a=zl(i,t,e,o);(t===document.body||t===window||t===document||t instanceof HTMLMediaElement)&&Xt(()=>{t.removeEventListener(i,a,o)})}function Ur(i){for(var t=0;t<i.length;t++)Ll.add(i[t]);for(var e of ua)e(i)}let Hl=null;function rn(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;Hl=i;var a=0,s=Hl===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){$r(i,"currentTarget",{configurable:!0,get(){return o||e}});var u=He,h=De;St(null),Bt(null);try{for(var d,p=[];o!==null;){var _=o.assignedSlot||o.parentNode||o.host||null;try{var f=o["__"+r];f!=null&&(!o.disabled||i.target===o)&&f.call(o,i)}catch(y){d?p.push(y):d=y}if(i.cancelBubble||_===t||_===null)break;o=_}if(d){for(let y of p)queueMicrotask(()=>{throw y});throw d}}finally{i.__root=t,delete i.currentTarget,St(u),Bt(h)}}}function Vd(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[jt];n?`${h}${n[0]}${n[1]}`:`${h}`;const d=((l=e[0])==null?void 0:l.eventPhase)<Event.BUBBLING_PHASE?"capture":"";if(((u=e[0])==null?void 0:u.type)+d,Lh(),c)throw c}s==null||s.apply(t,e)}function bo(i){var t=document.createElement("template");return t.innerHTML=i.replaceAll("<!>","<!---->"),t.content}function wt(i,t){var e=De;e.nodes===null&&(e.nodes={start:i,end:t,a:null,t:null})}function pe(i,t){var e=(t&jo)!==0,r=(t&ys)!==0,n,o=!i.startsWith("<!>");return()=>{if(de)return wt(Ee,null),Ee;n===void 0&&(n=bo(o?i:"<!>"+i),e||(n=at(n)));var a=r||ia?document.importNode(n,!0):n.cloneNode(!0);if(e){var s=at(a),c=a.lastChild;wt(s,c)}else wt(a,a);return a}}function Nl(i,t,e="svg"){var r=!i.startsWith("<!>"),n=(t&jo)!==0,o=`<${e}>${r?i:"<!>"+i}</${e}>`,a;return()=>{if(de)return wt(Ee,null),Ee;if(!a){var s=bo(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;wt(u,h)}else wt(l,l);return l}}function $(i,t){return Nl(i,t,"svg")}function jd(i,t){return Nl(i,t,"math")}function Fl(i,t){var e=bd();for(var r of i){if(typeof r=="string"){e.append(Et(r));continue}if(r===void 0||r[0][0]==="/"){e.append(yd(r?r[0].slice(3):""));continue}const[s,c,...l]=r,u=s==="svg"?Xn:s==="math"?Ts:t;var n=wd(s,u,c==null?void 0:c.is);for(var o in c)xd(n,o,c[o]);if(l.length>0){var a=n.tagName==="TEMPLATE"?n.content:n;a.append(Fl(l,n.tagName==="foreignObject"?void 0:u))}e.append(n)}return e}function Ud(i,t){var e=(t&jo)!==0,r=(t&ys)!==0,n;return()=>{if(de)return wt(Ee,null),Ee;if(n===void 0){const c=(t&$u)!==0?Xn:(t&eh)!==0?Ts:void 0;n=Fl(i,c),e||(n=at(n))}var o=r||ia?document.importNode(n,!0):n.cloneNode(!0);if(e){var a=at(o),s=o.lastChild;wt(a,s)}else wt(o,o);return o}}function Gd(i){return()=>Zd(i())}function Zd(i){if(de)return i;const t=i.nodeType===Ds,e=i.tagName==="SCRIPT"?[i]:i.querySelectorAll("script"),r=De;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 kt(i=""){if(!de){var t=Et(i+"");return wt(t,t),t}var e=Ee;return e.nodeType!==no&&(e.before(e=Et()),Xe(e)),wt(e,e),e}function ee(){if(de)return wt(Ee,null),Ee;var i=document.createDocumentFragment(),t=document.createComment(""),e=Et();return i.append(t,e),wt(t,e),i}function k(i,t){if(de){var e=De;((e.f&Wi)===0||e.nodes.end===null)&&(e.nodes.end=Ee),xt();return}i!==null&&i.before(t)}function Wd(){var i,t;if(de&&Ee&&Ee.nodeType===_r&&((i=Ee.textContent)!=null&&i.startsWith("$"))){const e=Ee.textContent.substring(1);return xt(),e}return(t=window.__svelte??(window.__svelte={})).uid??(t.uid=1),`c${window.__svelte.uid++}`}const qd=["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"];function Xd(i){return qd.includes(i)||i.toLowerCase()==="!doctype"}function Yd(i){return i.endsWith("capture")&&i!=="gotpointercapture"&&i!=="lostpointercapture"}const Kd=["beforeinput","click","change","dblclick","contextmenu","focusin","focusout","input","keydown","keyup","mousedown","mousemove","mouseout","mouseover","mouseup","pointerdown","pointermove","pointerout","pointerover","pointerup","touchend","touchmove","touchstart"];function Qd(i){return Kd.includes(i)}const Jd={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 $d(i){return i=i.toLowerCase(),Jd[i]??i}const ef=["touchstart","touchmove"];function tf(i){return ef.includes(i)}const rf=["textarea","script","style","title"];function nf(i){return rf.includes(i)}function Bl(i){return i==null?void 0:i.replace(/\//g,"/")}let yo=!0;function Ri(i){yo=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 ha(i,t){return jl(i,t)}function Vl(i,t){na(),t.intro=t.intro??!1;const e=t.target,r=de,n=Ee;try{for(var o=at(e);o&&(o.nodeType!==_r||o.data!==Uo);)o=qt(o);if(!o)throw Qr;ct(!0),Xe(o);const a=jl(i,{...t,anchor:o});return ct(!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!==Qr&&console.warn("Failed to hydrate: ",a),t.recover===!1&&Sh(),na(),oa(e),ct(!1),ha(i,t)}finally{ct(r),Xe(n)}}const Ai=new Map;function jl(i,{target:t,anchor:e,props:r={},events:n,context:o,intro:a=!0}){na();var s=new Set,c=h=>{for(var d=0;d<h.length;d++){var p=h[d];if(!s.has(p)){s.add(p);var _=tf(p);t.addEventListener(p,rn,{passive:_});var f=Ai.get(p);f===void 0?(document.addEventListener(p,rn,{passive:_}),Ai.set(p,1)):Ai.set(p,f+1)}}};c(Yn(Ll)),ua.add(c);var l=void 0,u=kd(()=>{var h=e??t.appendChild(Et());return Js(h,{pending:()=>{}},d=>{if(o){Ye({});var p=Ve;p.c=o}if(n&&(r.$$events=n),de&&wt(d,null),yo=a,l=i(d,r)||{},yo=!0,de&&(De.nodes.end=Ee,Ee===null||Ee.nodeType!==_r||Ee.data!==qn))throw qi(),Qr;o&&Ke()}),()=>{var _;for(var d of s){t.removeEventListener(d,rn);var p=Ai.get(d);--p===0?(document.removeEventListener(d,rn),Ai.delete(d)):Ai.set(d,p)}ua.delete(c),h!==e&&((_=h.parentNode)==null||_.removeChild(h))}});return da.set(l,u),l}let da=new WeakMap;function Ul(i,t){const e=da.get(i);return e?(da.delete(i),e(t)):Promise.resolve()}function of(i){const t=i();t&&Xd(t)&&Uh()}function af(i){const t=i();t&&!(typeof t=="string")&&fh()}function sf(i,t){i!=null&&typeof i.subscribe!="function"&&dh()}function Gl(i){return i.toString=()=>(hh(),""),i}class Ii{constructor(t,e=!0){ot(this,"anchor");ve(this,fr,new Map);ve(this,Pr,new Map);ve(this,$t,new Map);ve(this,_i,new Set);ve(this,gn,!0);ve(this,vn,()=>{var t=Me;if(O(this,fr).has(t)){var e=O(this,fr).get(t),r=O(this,Pr).get(e);if(r)sa(r),O(this,_i).delete(e);else{var n=O(this,$t).get(e);n&&(O(this,Pr).set(e,n.effect),O(this,$t).delete(e),n.fragment.lastChild.remove(),this.anchor.before(n.fragment),r=n.effect)}for(const[o,a]of O(this,fr)){if(O(this,fr).delete(o),o===t)break;const s=O(this,$t).get(a);s&&(vt(s.effect),O(this,$t).delete(a))}for(const[o,a]of O(this,Pr)){if(o===e||O(this,_i).has(o))continue;const s=()=>{if(Array.from(O(this,fr).values()).includes(o)){var l=document.createDocumentFragment();kl(a,l),l.append(Et()),O(this,$t).set(o,{effect:a,fragment:l})}else vt(a);O(this,_i).delete(o),O(this,Pr).delete(o)};O(this,gn)||!r?(O(this,_i).add(o),li(a,s,!1)):s()}}});ve(this,Ho,t=>{O(this,fr).delete(t);const e=Array.from(O(this,fr).values());for(const[r,n]of O(this,$t))e.includes(r)||(vt(n.effect),O(this,$t).delete(r))});this.anchor=t,Ie(this,gn,e)}ensure(t,e){var r=Me,n=ul();if(e&&!O(this,Pr).has(t)&&!O(this,$t).has(t))if(n){var o=document.createDocumentFragment(),a=Et();o.append(a),O(this,$t).set(t,{effect:Dt(()=>e(a)),fragment:o})}else O(this,Pr).set(t,Dt(()=>e(this.anchor)));if(O(this,fr).set(r,t),n){for(const[s,c]of O(this,Pr))s===t?r.skipped_effects.delete(c):r.skipped_effects.add(c);for(const[s,c]of O(this,$t))s===t?r.skipped_effects.delete(c.effect):r.skipped_effects.add(c.effect);r.oncommit(O(this,vn)),r.ondiscard(O(this,Ho))}else de&&(this.anchor=Ee),O(this,vn).call(this)}}fr=new WeakMap,Pr=new WeakMap,$t=new WeakMap,_i=new WeakMap,gn=new WeakMap,vn=new WeakMap,Ho=new WeakMap;function Ct(i,t,...e){var r=new Ii(i);br(()=>{const n=t()??null;r.ensure(n,n&&(o=>n(o,...e)))},hr)}function lf(i,t){const e=(r,...n)=>{var o=Xi;Gs(i);try{return t(r,...n)}finally{Gs(o)}};return Gl(e),e}function cf(i){return(t,...e)=>{var c;var r=i(...e),n;if(de)n=Ee,xt();else{var o=r.render().trim(),a=bo(o);n=at(a),t.before(n)}const s=(c=r.setup)==null?void 0:c.call(r,n);wt(n,n),typeof s=="function"&&Xt(s)}}function uf(){return He===null&&kh(),(He.ac??(He.ac=new AbortController)).signal}function fa(i){Ve===null&&xi(),ht(()=>{const t=We(i);if(typeof t=="function")return t})}function pa(i){Ve===null&&xi(),fa(()=>()=>We(i))}function hf(i,t,{bubbles:e=!1,cancelable:r=!1}={}){return new CustomEvent(i,{detail:t,bubbles:e,cancelable:r})}function df(){const i=Ve;return i===null&&xi(),(t,e,r)=>{var o;const n=(o=i.s.$$events)==null?void 0:o[t];if(n){const a=Jr(n)?n.slice():[n],s=hf(t,e,r);for(const c of a)c.call(i.x,s);return!s.defaultPrevented}return!0}}function ff(i){Ve===null&&xi(),Ve.l===null&&zs(),Zl(Ve).b.push(i)}function pf(i){Ve===null&&xi(),Ve.l===null&&zs(),Zl(Ve).a.push(i)}function Zl(i){var t=i.l;return t.u??(t.u={a:[],b:[],m:[]})}const gf=Object.freeze(Object.defineProperty({__proto__:null,afterUpdate:pf,beforeUpdate:ff,createContext:Qh,createEventDispatcher:df,createRawSnippet:cf,flushSync:Ht,fork:nd,getAbortSignal:uf,getAllContexts:Jh,getContext:Nr,hasContext:Yo,hydratable:Fd,hydrate:Vl,mount:ha,onDestroy:pa,onMount:fa,setContext:Xo,settled:Ld,tick:la,unmount:Ul,untrack:We},Symbol.toStringTag,{value:"Module"}));function vf(){return Symbol(Es)}function xo(i,t,e,r){return i!==t&&Oh(e,Bl(r)),i}function mf(i,t,e,r){return xo(i[t]=e,We(()=>i[t]),t,r)}function _f(i,t,e,r){return xo(i[t]&&(i[t]=e),We(()=>i[t]),t,r)}function wf(i,t,e,r){return xo(i[t]||(i[t]=e),We(()=>i[t]),t,r)}function bf(i,t,e,r){return xo(i[t]??(i[t]=e),We(()=>i[t]),t,r)}var Wl=new Map;function yf(i){var t=Wl.get(i);if(t){for(const e of t)e.remove();Wl.delete(i)}}function xf(i,t,e){return(...r)=>{const n=i(...r);var o=de?n:n.nodeType===Ds?n.firstChild:n;return ql(o,t,e),n}}function Tf(i,t,e){i.__svelte_meta={parent:so,loc:{file:t,line:e[0],column:e[1]}},e[2]&&ql(i.firstChild,t,e[2])}function ql(i,t,e){for(var r=0,n=0;i&&r<e.length;){if(de&&i.nodeType===_r){var o=i;o.data===Uo||o.data===bi?n+=1:o.data[0]===qn&&(n-=1)}n===0&&i.nodeType===Os&&Tf(i,t,e[r++]),i=i.nextSibling}}function Ef(i,t){function e(r,n){let o={},a,s=!1;return br(()=>{const c=t(),l=m(c);if(a){for(var u in o)delete o[u];vt(a)}a=Dt(()=>{s&&Ri(!1),Object.defineProperties(o,Object.getOwnPropertyDescriptors(new.target?new l(r,n):l(r,n))),s&&Ri(!0)})},hr),s=!0,de&&(r=Ee),o}return e[jt]=i[jt],e[xs]={original:i,source:Wt(i)},e}function kf(i){var r;const t=Ve==null?void 0:Ve.function,e=(r=Ve==null?void 0:Ve.p)==null?void 0:r.function;return{mutation:(n,o,a,s,c)=>{const l=o[0];if(Xl(i,l)||!e)return a;let u=i;for(let d=0;d<o.length-1;d++)if(u=u[o[d]],!(u!=null&&u[Ot]))return a;const h=Bl(`${t[jt]}:${s}:${c}`);return Nh(l,h,n,e[jt]),a},binding:(n,o,a)=>{var s;!Xl(i,n)&&e&&((s=a())!=null&&s[Ot])&&Hh(t[jt],n,o[jt],e[jt])}}}function Xl(i,t){var r;const e=Ot in i||io in i;return!!((r=cr(i,t))!=null&&r.set)||e&&t in i||!(t in i)}function Sf(i){i&&vh(i[jt]??"a component",i.name)}function Cf(){const i=Ve==null?void 0:Ve.function;function t(e){gh(e,i[jt])}return{$destroy:()=>t("$destroy()"),$on:()=>t("$on(...)"),$set:()=>t("$set(...)")}}function Pf(i,t,e=!1){aa();let r=!0,n=lt;vl(()=>{try{var o=i()}catch(s){n=s;return}var a=oo(o,!0,!0);We(()=>{if(e){if(t(...a),!r){const s=Xh("$inspect(...)");s&&(console.groupCollapsed("stack trace"),console.log(s),console.groupEnd())}}else t(r?"init":"update",...a)}),r=!1}),ut(()=>{try{i()}catch{}n!==lt&&(console.error(n),n=lt)})}function Rf(i,t=[],e=[],r){var n=Jo(),o=Me,a=!n.is_pending();n.update_pending_count(1),o.increment(a);var s=de;if(s){xt();var c=Ee,l=ii(!1);Xe(l)}Ki(t,[],e,u=>{s&&(ct(!0),Xe(c));try{for(const h of u)m(h);r(i,...u)}finally{s&&ct(!1),n.update_pending_count(-1),o.decrement(a)}})}function Af(i,...t){(typeof i!="object"||!(i instanceof Node))&&Ls();for(let e of t)typeof e!="function"&&Ls()}const Yl=0,ga=1;function If(i,t,e,r,n){de&&xt();var o=lt,a=Wt(o),s=Wt(o),c=new Ii(i);br(()=>{var l=t(),u=!1;let h=de&&Ps(l)===(i.data===bi);if(h&&(Xe(ii()),ct(!1)),Ps(l)){var d=ho(),p=!1;const _=f=>{if(!u){p=!0,d(!1),Zt.ensure(),de&&ct(!1);try{f()}finally{Fr(),ki||Ht()}}};l.then(f=>{_(()=>{wr(a,f),c.ensure(ga,r&&(g=>r(g,a)))})},f=>{_(()=>{if(wr(s,f),c.ensure(ga,n&&(g=>n(g,s))),!n)throw s.v})}),de?c.ensure(Yl,e):Gt(()=>{p||_(()=>{c.ensure(Yl,e)})})}else wr(a,l),c.ensure(ga,r&&(_=>r(_,a)));return h&&ct(!0),()=>{u=!0}})}function B(i,t,e=!1){de&&xt();var r=new Ii(i),n=e?hr:0;function o(a,s){if(de){const l=Ns(i)===bi;if(a===l){var c=ii();Xe(c),r.anchor=c,ct(!1),r.ensure(a,s),ct(!0);return}}r.ensure(a,s)}br(()=>{var a=!1;t((s,c=!0)=>{a=!0,o(c,s)}),a||o(!1,null)},n)}function Kl(i,t,e){de&&xt();var r=new Ii(i);br(()=>{var n=t();r.ensure(n,e)})}function Of(i,t){de&&Xe(at(i)),ut(()=>{var e=t();for(var r in e){var n=e[r];n?i.style.setProperty(r,n):i.style.removeProperty(r)}})}function di(i,t){return t}function Df(i,t,e){for(var r=[],n=t.length,o,a=t.length,s=0;s<n;s++){let h=t[s];li(h,()=>{if(o){if(o.pending.delete(h),o.done.add(h),o.pending.size===0){var d=i.outrogroups;va(Yn(o.done)),d.delete(o),d.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;oa(u),u.append(l),i.items.clear()}va(t,!c)}else o={pending:new Set(t),done:new Set},(i.outrogroups??(i.outrogroups=new Set)).add(o)}function va(i,t=!0){for(var e=0;e<i.length;e++)vt(i[e],t)}var Ql;function Qt(i,t,e,r,n,o=null){var a=i,s=new Map,c=(t&Zi)!==0;if(c){var l=i;a=de?Xe(at(l)):l.appendChild(Et())}de&&xt();var u=null,h=ea(()=>{var y=e();return Jr(y)?y:y==null?[]:Yn(y)}),d,p=!0;function _(){g.fallback=u,Mf(g,d,a,t,r),u!==null&&(d.length===0?(u.f&Ar)===0?sa(u):(u.f^=Ar,nn(u,null,a)):li(u,()=>{u=null}))}var f=br(()=>{d=m(h);var y=d.length;let S=!1;if(de){var R=Ns(a)===bi;R!==(y===0)&&(a=ii(),Xe(a),ct(!1),S=!0)}for(var E=new Set,P=Me,H=ul(),V=0;V<y;V+=1){de&&Ee.nodeType===_r&&Ee.data===qn&&(a=Ee,S=!0,ct(!1));var U=d[V],I=r(U,V),D=p?null:s.get(I);D?(D.v&&wr(D.v,U),D.i&&wr(D.i,V),H&&P.skipped_effects.delete(D.e)):(D=Lf(s,p?a:Ql??(Ql=Et()),U,I,V,n,t,e),p||(D.e.f|=Ar),s.set(I,D)),E.add(I)}if(y===0&&o&&!u&&(p?u=Dt(()=>o(a)):(u=Dt(()=>o(Ql??(Ql=Et()))),u.f|=Ar)),de&&y>0&&Xe(ii()),!p)if(H){for(const[te,J]of s)E.has(te)||P.skipped_effects.add(J.e);P.oncommit(_),P.ondiscard(()=>{})}else _();S&&ct(!0),m(h)}),g={effect:f,items:s,outrogroups:null,fallback:u};p=!1,de&&(a=Ee)}function Mf(i,t,e,r,n){var D,te,J,ce,z,N,Q,he,ne;var o=(r&Zu)!==0,a=t.length,s=i.items,c=i.effect.first,l,u=null,h,d=[],p=[],_,f,g,y;if(o)for(y=0;y<a;y+=1)_=t[y],f=n(_,y),g=s.get(f).e,(g.f&Ar)===0&&((te=(D=g.nodes)==null?void 0:D.a)==null||te.measure(),(h??(h=new Set)).add(g));for(y=0;y<a;y+=1){if(_=t[y],f=n(_,y),g=s.get(f).e,i.outrogroups!==null)for(const M of i.outrogroups)M.pending.delete(g),M.done.delete(g);if((g.f&Ar)!==0)if(g.f^=Ar,g===c)nn(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),Gr(i,u,g),Gr(i,g,S),nn(g,S,e),u=g,d=[],p=[],c=u.next;continue}if((g.f&Ut)!==0&&(sa(g),o&&((ce=(J=g.nodes)==null?void 0:J.a)==null||ce.unfix(),(h??(h=new Set)).delete(g))),g!==c){if(l!==void 0&&l.has(g)){if(d.length<p.length){var R=p[0],E;u=R.prev;var P=d[0],H=d[d.length-1];for(E=0;E<d.length;E+=1)nn(d[E],R,e);for(E=0;E<p.length;E+=1)l.delete(p[E]);Gr(i,P.prev,H.next),Gr(i,u,P),Gr(i,H,R),c=R,u=H,y-=1,d=[],p=[]}else l.delete(g),nn(g,c,e),Gr(i,g.prev,g.next),Gr(i,g,u===null?i.effect.first:u.next),Gr(i,u,g),u=g;continue}for(d=[],p=[];c!==null&&c!==g;)(l??(l=new Set)).add(c),p.push(c),c=c.next;if(c===null)continue}(g.f&Ar)===0&&d.push(g),u=g,c=g.next}if(i.outrogroups!==null){for(const M of i.outrogroups)M.pending.size===0&&(va(Yn(M.done)),(z=i.outrogroups)==null||z.delete(M));i.outrogroups.size===0&&(i.outrogroups=null)}if(c!==null||l!==void 0){var V=[];if(l!==void 0)for(g of l)(g.f&Ut)===0&&V.push(g);for(;c!==null;)(c.f&Ut)===0&&c!==i.fallback&&V.push(c),c=c.next;var U=V.length;if(U>0){var I=(r&Zi)!==0&&a===0?e:null;if(o){for(y=0;y<U;y+=1)(Q=(N=V[y].nodes)==null?void 0:N.a)==null||Q.measure();for(y=0;y<U;y+=1)(ne=(he=V[y].nodes)==null?void 0:he.a)==null||ne.fix()}Df(i,V,I)}}o&&Gt(()=>{var M,j;if(h!==void 0)for(g of h)(j=(M=g.nodes)==null?void 0:M.a)==null||j.apply()})}function Lf(i,t,e,r,n,o,a,s){var c=(a&it)!==0?(a&Wu)===0?po(e,!1,!1):Wt(e):null,l=(a&pt)!==0?Wt(n):null;return{v:c,i:l,e:Dt(()=>(o(t,c??e,l??n,s),()=>{i.delete(r)}))}}function nn(i,t,e){if(i.nodes)for(var r=i.nodes.start,n=i.nodes.end,o=t&&(t.f&Ar)===0?t.nodes.start:e;r!==null;){var a=qt(r);if(o.before(r),r===n)return;r=a}}function Gr(i,t,e){t===null?i.effect.first=e:t.next=e,e===null?i.effect.last=t:e.prev=t}function xr(i,t,e=!1,r=!1,n=!1){var o=i,a="";ze(()=>{var s=De;if(a===(a=t()??"")){de&&xt();return}if(s.nodes!==null&&(yl(s.nodes.start,s.nodes.end),s.nodes=null),a!==""){if(de){Ee.data;for(var c=xt(),l=c;c!==null&&(c.nodeType!==_r||c.data!=="");)l=c,c=qt(c);if(c===null)throw qi(),Qr;wt(Ee,l),o=Xe(c);return}var u=a+"";e?u=`<svg>${u}</svg>`:r&&(u=`<math>${u}</math>`);var h=bo(u);if((e||r)&&(h=at(h)),wt(at(h),h.lastChild),e||r)for(;at(h);)o.before(at(h));else o.before(h)}})}function zf(i,t,e,r,n){var s;de&&xt();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 Hf(i){const t={};i.children&&(t.default=!0);for(const e in i.$$slots)t[e]=!0;return t}function Oi(i,t,e){de&&xt();var r=new Ii(i);br(()=>{var n=t()??null;r.ensure(n,n&&(o=>e(o,n)))},hr)}const Nf=()=>performance.now(),Tr={tick:i=>requestAnimationFrame(i),now:()=>Nf(),tasks:new Set};function Jl(){const i=Tr.now();Tr.tasks.forEach(t=>{t.c(i)||(Tr.tasks.delete(t),t.f())}),Tr.tasks.size!==0&&Tr.tick(Jl)}function Ff(i){let t;return Tr.tasks.size===0&&Tr.tick(Jl),{promise:new Promise(e=>{Tr.tasks.add(t={c:i,f:e})}),abort(){Tr.tasks.delete(t)}}}function To(i,t){Vr(()=>{i.dispatchEvent(new CustomEvent(t))})}function Bf(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 $l(i){const t={},e=i.split(";");for(const r of e){const[n,o]=r.split(":");if(!n||o===void 0)break;const a=Bf(n.trim());t[a]=o.trim()}return t}const Vf=i=>i;let ec=null;function tc(i){ec=i}function jf(i,t,e){var r=ec??De,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=Eo(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 d=i.style;c={position:d.position,width:d.width,height:d.height,transform:d.transform},d.position="absolute",d.width=u,d.height=h;var p=i.getBoundingClientRect();if(o.left!==p.left||o.top!==p.top){var _=`translate(${o.left-p.left}px, ${o.top-p.top}px)`;d.transform=d.transform?`${d.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 Uf(i,t,e,r){var R;var n=(i&Ku)!==0,o=(i&Qu)!==0,a=n&&o,s=(i&Ju)!==0,c=a?"both":n?"in":"out",l,u=t.inert,h=t.style.overflow,d,p;function _(){return Vr(()=>l??(l=e()(t,(r==null?void 0:r())??{},{direction:c})))}var f={is_global:s,in(){var E;if(t.inert=u,!n){p==null||p.abort(),(E=p==null?void 0:p.reset)==null||E.call(p);return}o||d==null||d.abort(),To(t,"introstart"),d=Eo(t,_(),p,1,()=>{To(t,"introend"),d==null||d.abort(),d=l=void 0,t.style.overflow=h})},out(E){if(!o){E==null||E(),l=void 0;return}t.inert=!0,To(t,"outrostart"),p=Eo(t,_(),d,0,()=>{To(t,"outroend"),E==null||E()})},stop:()=>{d==null||d.abort(),p==null||p.abort()}},g=De;if(((R=g.nodes).t??(R.t=[])).push(f),n&&yo){var y=s;if(!y){for(var S=g.parent;S&&(S.f&hr)!==0;)for(;(S=S.parent)&&(S.f&gr)===0;);y=!S||(S.f&Wi)!==0}y&&Yt(()=>{We(()=>f.in())})}}function Eo(i,t,e,r,n){var o=r===1;if(yi(t)){var a,s=!1;return Gt(()=>{if(!s){var g=t({direction:o?"in":"out"});a=Eo(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:pr,deactivate:pr,reset:pr,t:()=>r};const{delay:c=0,css:l,tick:u,easing:h=Vf}=t;var d=[];if(o&&e===void 0&&(u&&u(0,1),l)){var p=$l(l(0,1));d.push(p,p)}var _=()=>1-r,f=i.animate(d,{duration:c,fill:"forwards"});return f.onfinish=()=>{f.cancel();var g=(e==null?void 0:e.t())??1-r;e==null||e.abort();var y=r-g,S=t.duration*Math.abs(y),R=[];if(S>0){var E=!1;if(l)for(var P=Math.ceil(S/16.666666666666668),H=0;H<=P;H+=1){var V=g+y*h(H/P),U=$l(l(V,1-V));R.push(U),E||(E=U.overflow==="hidden")}E&&(i.style.overflow="hidden"),_=()=>{var I=f.currentTime;return g+y*h(I/S)},u&&Ff(()=>{if(f.playState!=="running")return!1;var I=_();return u(I,1-I),!0})}f=i.animate(R,{duration:S,fill:"forwards"}),f.onfinish=()=>{_=()=>r,u==null||u(r,1-r),n()}},{abort:()=>{f&&(f.cancel(),f.effect=null,f.onfinish=pr)},deactivate:()=>{n=pr},reset:()=>{r===0&&(u==null||u(1,0))},t:()=>_()}}function Gf(i,t,e,r,n,o){let a=de;de&&xt();var s=null;de&&Ee.nodeType===Os&&(s=Ee,xt());var c=de?Ee:i,l=De,u=new Ii(c,!1);br(()=>{const h=t()||null;var d=n?n():e||h==="svg"?Xn:null;if(h===null){u.ensure(null,null),Ri(!0);return}return u.ensure(h,p=>{if(h){if(s=de?s:d?document.createElementNS(d,h):document.createElement(h),wt(s,s),r){de&&nf(h)&&s.append(document.createComment(""));var _=de?at(s):s.appendChild(Et());de&&(_===null?ct(!1):Xe(_)),tc(l),r(s,_),tc(null)}De.nodes.end=s,p.before(s)}de&&Xe(p)}),Ri(!0),()=>{h&&Ri(!1)}},hr),Xt(()=>{Ri(!0)}),a&&(ct(!0),Xe(c))}function Zf(i,t){let e=null,r=de;var n;if(de){e=Ee;for(var o=at(document.head);o!==null&&(o.nodeType!==_r||o.data!==i);)o=qt(o);if(o===null)ct(!1);else{var a=qt(o);o.remove(),Xe(a)}}de||(n=document.head.appendChild(Et()));try{br(()=>t(n),Wo)}finally{r&&(ct(!0),Xe(e))}}function Wf(i,t){Yt(()=>{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 Or(i,t,e){Yt(()=>{var r=We(()=>t(i,e==null?void 0:e())||{});if(e&&(r!=null&&r.update)){var n=!1,o={};ut(()=>{var a=e();ca(a),n&&Bs(o,a)&&(o=a,r.update(a))}),n=!0}if(r!=null&&r.destroy)return()=>r.destroy()})}function rc(i,t){var e=void 0,r;_l(()=>{e!==(e=t())&&(r&&(vt(r),r=null),e&&(r=Dt(()=>{Yt(()=>e(i))})))})}const qf=/[&"<]/g;function Xf(i,t){const e=String(i??""),r=qf;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 ic(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=ic(i[t]))&&(r&&(r+=" "),r+=e)}else for(e in i)i[e]&&(r&&(r+=" "),r+=e);return r}function Yf(){for(var i,t,e=0,r="",n=arguments.length;e<n;e++)(i=arguments[e])&&(t=ic(i))&&(r&&(r+=" "),r+=t);return r}const nc={translate:new Map([[!0,"yes"],[!1,"no"]])};function Kf(i,t,e=!1){if(i==="hidden"&&t!=="until-found"&&(e=!0),t==null||!t&&e)return"";const r=i in nc&&nc[i].get(t)||t,n=e?"":`="${Xf(r)}"`;return` ${i}${n}`}function Pt(i){return typeof i=="object"?Yf(i):i??""}const oc=[...`
|
|
6
|
-
\r\f \v\uFEFF`];function Qf(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||oc.includes(r[a-1]))&&(s===r.length||oc.includes(r[s]))?r=(a===0?"":r.substring(0,a))+r.substring(s+1):a=s}}return r===""?null:r}function ac(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 ma(i){return i[0]!=="-"||i[1]!=="-"?i.toLowerCase():i}function Jf(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(ma)),n&&c.push(...Object.keys(n).map(ma));var l=0,u=-1;const f=i.length;for(var h=0;h<f;h++){var d=i[h];if(s?d==="/"&&i[h-1]==="*"&&(s=!1):o?o===d&&(o=!1):d==="/"&&i[h+1]==="*"?s=!0:d==='"'||d==="'"?o=d:d==="("?a++:d===")"&&a--,!s&&o===!1&&a===0){if(d===":"&&u===-1)u=h;else if(d===";"||h===f-1){if(u!==-1){var p=ma(i.substring(l,u).trim());if(!c.includes(p)){d!==";"&&h++;var _=i.substring(l,h).trim();e+=" "+_+";"}}l=h+1,u=-1}}}}return r&&(e+=ac(r)),n&&(e+=ac(n,!0)),e=e.trim(),e===""?null:e}return i==null?null:String(i)}function Ue(i,t,e,r,n,o){var a=i.__className;if(de||a!==e||a===void 0){var s=Qf(e,r,o);(!de||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 _a(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 Zr(i,t,e,r){var n=i.__style;if(de||n!==t){var o=Jf(t,r);(!de||o!==i.getAttribute("style"))&&(o==null?i.removeAttribute("style"):i.style.cssText=o),i.__style=t}else r&&(Array.isArray(r)?(_a(i,e==null?void 0:e[0],r[0]),_a(i,e==null?void 0:e[1],r[1],"important")):_a(i,e,r));return r}function on(i,t,e=!1){if(i.multiple){if(t==null)return;if(!Jr(t))return Fh();for(var r of i.options)r.selected=t.includes(an(r));return}for(r of i.options){var n=an(r);if(al(n,t)){r.selected=!0;return}}(!e||t!==void 0)&&(i.selectedIndex=-1)}function wa(i){var t=new MutationObserver(()=>{on(i,i.__value)});t.observe(i,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["value"]}),Xt(()=>{t.disconnect()})}function $f(i,t,e=t){var r=new WeakSet,n=!0;en(i,"change",o=>{var a=o?"[selected]":":checked",s;if(i.multiple)s=[].map.call(i.querySelectorAll(a),an);else{var c=i.querySelector(a)??i.querySelector("option:not([disabled])");s=c&&an(c)}e(s),Me!==null&&r.add(Me)}),Yt(()=>{var o=t();if(i===document.activeElement){var a=Yi??Me;if(r.has(a))return}if(on(i,o,n),n&&o===void 0){var s=i.querySelector(":checked");s!==null&&(o=an(s),e(o))}i.__value=o,n=!1}),wa(i)}function an(i){return"__value"in i?i.__value:i.value}const Di=Symbol("class"),Mi=Symbol("style"),sc=Symbol("is custom element"),lc=Symbol("is html");function ba(i){if(de){var t=!1,e=()=>{if(!t){if(t=!0,i.hasAttribute("value")){var r=i.value;Fe(i,"value",null),i.value=r}if(i.hasAttribute("checked")){var n=i.checked;Fe(i,"checked",null),i.checked=n}}};i.__on_r=e,Gt(e),fl()}}function ep(i,t){var e=ko(i);e.value===(e.value=t??void 0)||i.value===t&&(t!==0||i.nodeName!=="PROGRESS")||(i.value=t??"")}function tp(i,t){var e=ko(i);e.checked!==(e.checked=t??void 0)&&(i.checked=t)}function cc(i,t){t?i.hasAttribute("selected")||i.setAttribute("selected",""):i.removeAttribute("selected")}function rp(i,t){const e=i.checked;i.defaultChecked=t,i.checked=e}function ip(i,t){const e=i.value;i.defaultValue=t,i.value=e}function Fe(i,t,e,r){var n=ko(i);de&&(n[t]=i.getAttribute(t),t==="src"||t==="srcset"||t==="href"&&i.nodeName==="LINK")||n[t]!==(n[t]=e)&&(t==="loading"&&(i[sh]=e),e==null?i.removeAttribute(t):typeof e!="string"&&xa(i).includes(t)?i[t]=e:i.setAttribute(t,e))}function np(i,t,e){i.setAttributeNS("http://www.w3.org/1999/xlink",t,e)}function op(i,t,e){var r=He,n=De;let o=de;de&&ct(!1),St(null),Bt(null);try{t!=="style"&&(ya.has(i.getAttribute("is")||i.nodeName)||!customElements||customElements.get(i.getAttribute("is")||i.tagName.toLowerCase())?xa(i).includes(t):e&&typeof e=="object")?i[t]=e:Fe(i,t,e==null?e:String(e))}finally{St(r),Bt(n),o&&ct(!0)}}function ap(i,t,e,r,n=!1,o=!1){if(de&&n&&i.tagName==="INPUT"){var a=i,s=a.type==="checkbox"?"defaultChecked":"defaultValue";s in e||ba(a)}var c=ko(i),l=c[sc],u=!c[lc];let h=de&&l;h&&ct(!1);var d=t||{},p=i.tagName==="OPTION";for(var _ in t)_ in e||(e[_]=null);e.class?e.class=Pt(e.class):(r||e[Di])&&(e.class=null),e[Mi]&&(e.style??(e.style=null));var f=xa(i);for(const H in e){let V=e[H];if(p&&H==="value"&&V==null){i.value=i.__value="",d[H]=V;continue}if(H==="class"){var g=i.namespaceURI==="http://www.w3.org/1999/xhtml";Ue(i,g,V,r,t==null?void 0:t[Di],e[Di]),d[H]=V,d[Di]=e[Di];continue}if(H==="style"){Zr(i,V,t==null?void 0:t[Mi],e[Mi]),d[H]=V,d[Mi]=e[Mi];continue}var y=d[H];if(!(V===y&&!(V===void 0&&i.hasAttribute(H)))){d[H]=V;var S=H[0]+H[1];if(S!=="$$")if(S==="on"){const U={},I="$$"+H;let D=H.slice(2);var R=Qd(D);if(Yd(D)&&(D=D.slice(0,-7),U.capture=!0),!R&&y){if(V!=null)continue;i.removeEventListener(D,d[I],U),d[I]=null}if(V!=null)if(R)i[`__${D}`]=V,Ur([D]);else{let te=function(J){d[H].call(this,J)};d[I]=zl(D,i,te,U)}else R&&(i[`__${D}`]=void 0)}else if(H==="style")Fe(i,H,V);else if(H==="autofocus")hl(i,!!V);else if(!l&&(H==="__value"||H==="value"&&V!=null))i.value=i.__value=V;else if(H==="selected"&&p)cc(i,V);else{var E=H;u||(E=$d(E));var P=E==="defaultValue"||E==="defaultChecked";if(V==null&&!l&&!P)if(c[H]=null,E==="value"||E==="checked"){let U=i;const I=t===void 0;if(E==="value"){let D=U.defaultValue;U.removeAttribute(E),U.defaultValue=D,U.value=U.__value=I?D:null}else{let D=U.defaultChecked;U.removeAttribute(E),U.defaultChecked=D,U.checked=I?D:!1}}else i.removeAttribute(H);else P||f.includes(E)&&(l||typeof V!="string")?(i[E]=V,E in c&&(c[E]=lt)):typeof V!="function"&&Fe(i,E,V)}}}return h&&ct(!0),d}function Rt(i,t,e=[],r=[],n=[],o,a=!1,s=!1){Ki(n,e,r,c=>{var l=void 0,u={},h=i.nodeName==="SELECT",d=!1;if(_l(()=>{var _=t(...c.map(m)),f=ap(i,l,_,o,a,s);d&&h&&"value"in _&&on(i,_.value);for(let y of Object.getOwnPropertySymbols(u))_[y]||vt(u[y]);for(let y of Object.getOwnPropertySymbols(_)){var g=_[y];y.description===Es&&(!l||g!==l[y])&&(u[y]&&vt(u[y]),u[y]=Dt(()=>rc(i,()=>g))),f[y]=g}l=f}),h){var p=i;Yt(()=>{on(p,l.value,!0),wa(p)})}d=!0})}function ko(i){return i.__attributes??(i.__attributes={[sc]:i.nodeName.includes("-"),[lc]:i.namespaceURI===th})}var ya=new Map;function xa(i){var t=i.getAttribute("is")||i.nodeName,e=ya.get(t);if(e)return e;ya.set(t,e=[]);for(var r,n=i,o=Element.prototype;o!==n;){r=ks(n);for(var a in r)r[a].set&&e.push(a);n=Qn(n)}return e}function sp(i){Nt(document,["focusin","focusout"],t=>{t&&t.type==="focusout"&&t.relatedTarget||i(document.activeElement)})}function uc(i,t,e=t){var r=new WeakSet;en(i,"input",async n=>{var o=n?i.defaultValue:i.value;if(o=Ea(i)?ka(o):o,e(o),Me!==null&&r.add(Me),await la(),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))}}}),(de&&i.defaultValue!==i.value||We(t)==null&&i.value)&&(e(Ea(i)?ka(i.value):i.value),Me!==null&&r.add(Me)),ut(()=>{var n=t();if(i===document.activeElement){var o=Yi??Me;if(r.has(o))return}Ea(i)&&n===ka(i.value)||i.type==="date"&&!n&&!i.value||n!==i.value&&(i.value=n??"")})}const Ta=new Set;function lp(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),en(e,"change",()=>{var l=e.__value;o&&(l=hc(a,l,e.checked)),n(l)},()=>n(o?[]:null)),ut(()=>{var l=r();if(de&&e.defaultChecked!==e.checked){s=!0;return}o?(l=l||[],e.checked=l.includes(e.__value)):e.checked=al(e.__value,l)}),Xt(()=>{var l=a.indexOf(e);l!==-1&&a.splice(l,1)}),Ta.has(a)||(Ta.add(a),Gt(()=>{a.sort((l,u)=>l.compareDocumentPosition(u)===4?-1:1),Ta.delete(a)})),Gt(()=>{if(s){var l;if(o)l=hc(a,l,e.checked);else{var u=a.find(h=>h.checked);l=u==null?void 0:u.__value}n(l)}})}function cp(i,t,e=t){en(i,"change",r=>{var n=r?i.defaultChecked:i.checked;e(n)}),(de&&i.defaultChecked!==i.checked||We(t)==null)&&e(i.checked),ut(()=>{var r=t();i.checked=!!r})}function hc(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 Ea(i){var t=i.type;return t==="number"||t==="range"}function ka(i){return i===""?null:+i}function up(i,t,e=t){en(i,"change",()=>{e(i.files)}),de&&i.files&&e(i.files),ut(()=>{i.files=t()})}function Sa(i){for(var t=[],e=0;e<i.length;e+=1)t.push({start:i.start(e),end:i.end(e)});return t}function hp(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),ut(()=>{var a=Number(t());n!==a&&!isNaN(a)&&(i.currentTime=n=a)}),Xt(()=>{cancelAnimationFrame(r),i.removeEventListener("timeupdate",o)})}function dp(i,t){var e;Nt(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=Sa(r),t(e))})}function fp(i,t){Nt(i,["loadedmetadata"],()=>t(Sa(i.seekable)))}function pp(i,t){Nt(i,["timeupdate"],()=>t(Sa(i.played)))}function gp(i,t){Nt(i,["seeking","seeked"],()=>t(i.seeking))}function vp(i,t){Nt(i,["timeupdate","ended"],()=>t(i.ended))}function mp(i,t){Nt(i,["loadedmetadata","loadeddata","canplay","canplaythrough","playing","waiting","emptied"],()=>t(i.readyState))}function _p(i,t,e=t){Yt(()=>{var r=Number(t());r!==i.playbackRate&&!isNaN(r)&&(i.playbackRate=r)}),Yt(()=>{Nt(i,["ratechange"],()=>{e(i.playbackRate)})})}function wp(i,t,e=t){var r=t(),n=()=>{r!==i.paused&&e(r=i.paused)};Nt(i,["play","pause","canplay"],n,r==null),Yt(()=>{(r=!!t())!==i.paused&&(r?i.pause():i.play().catch(()=>{e(r=!0)}))})}function bp(i,t,e=t){var r=()=>{e(i.volume)};t()==null&&r(),Nt(i,["volumechange"],r,!1),ut(()=>{var n=Number(t());n!==i.volume&&!isNaN(n)&&(i.volume=n)})}function yp(i,t,e=t){var r=()=>{e(i.muted)};t()==null&&r(),Nt(i,["volumechange"],r,!1),ut(()=>{var n=!!t();i.muted!==n&&(i.muted=n)})}function xp(i){Nt(window,["online","offline"],()=>{i(navigator.onLine)})}function Tp(i,t,e){var r=cr(i,t);r&&r.set&&(i[t]=e,Xt(()=>{i[t]=null}))}const Fo=class Fo{constructor(t){ve(this,No);ve(this,Kr,new WeakMap);ve(this,Ui);ve(this,mn);Ie(this,mn,t)}observe(t,e){var r=O(this,Kr).get(t)||new Set;return r.add(e),O(this,Kr).set(t,r),et(this,No,Gu).call(this).observe(t,O(this,mn)),()=>{var n=O(this,Kr).get(t);n.delete(e),n.size===0&&(O(this,Kr).delete(t),O(this,Ui).unobserve(t))}}};Kr=new WeakMap,Ui=new WeakMap,mn=new WeakMap,No=new WeakSet,Gu=function(){return O(this,Ui)??Ie(this,Ui,new ResizeObserver(t=>{for(var e of t){Fo.entries.set(e.target,e);for(var r of O(this,Kr).get(e.target)||[])r(e)}}))},ot(Fo,"entries",new WeakMap);let sn=Fo;var Ep=new sn({box:"content-box"}),dc=new sn({box:"border-box"}),kp=new sn({box:"device-pixel-content-box"});function Sp(i,t,e){var r=t==="contentRect"||t==="contentBoxSize"?Ep:t==="borderBoxSize"?dc:kp,n=r.observe(i,o=>e(o[t]));Xt(n)}function Cp(i,t,e){var r=dc.observe(i,()=>e(i[t]));Yt(()=>(We(()=>e(i[t])),r))}function fc(i,t){return i===t||(i==null?void 0:i[Ot])===t}function Li(i={},t,e,r){return Yt(()=>{var n,o;return ut(()=>{n=o,o=(r==null?void 0:r())||[],We(()=>{i!==e(...o)&&(t(i,...o),n&&fc(e(...n),i)&&t(null,...n))})}),()=>{Gt(()=>{o&&fc(e(...o),i)&&t(null,...o)})}}),i}function Pp(i,t,e,r=e){t.addEventListener("input",()=>{r(t[i])}),ut(()=>{var n=e();if(t[i]!==n)if(n==null){var o=t[i];r(o)}else t[i]=n+""})}function Rp(i,t,e,r,n){var o=()=>{r(e[i])};e.addEventListener(t,o),n?ut(()=>{e[i]=n()}):o(),(e===document.body||e===window||e===document)&&Xt(()=>{e.removeEventListener(t,o)})}function Ap(i,t){Nt(i,["focus","blur"],()=>{t(i===document.activeElement)})}function Ip(i,t,e=t){var r=i==="x",n=()=>Vr(()=>{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;ut(()=>{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))}),Yt(n),Xt(()=>{removeEventListener("scroll",n)})}function Op(i,t){Nt(window,["resize"],()=>Vr(()=>t(window[i])))}function Dp(i){return function(...t){var e=t[0];e.isTrusted&&(i==null||i.apply(this,t))}}function Mp(i){return function(...t){var e=t[0];e.target===this&&(i==null||i.apply(this,t))}}function Lp(i){return function(...t){var e=t[0];return e.stopPropagation(),i==null?void 0:i.apply(this,t)}}function zp(i){var t=!1;return function(...e){if(!t)return t=!0,i==null?void 0:i.apply(this,e)}}function Hp(i){return function(...t){var e=t[0];return e.stopImmediatePropagation(),i==null?void 0:i.apply(this,t)}}function Np(i){return function(...t){var e=t[0];return e.preventDefault(),i==null?void 0:i.apply(this,t)}}function Fp(i=!1){const t=Ve,e=t.l.u;if(!e)return;let r=()=>ca(t.s);if(i){let n=0,o={};const a=Qi(()=>{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=()=>m(a)}e.b.length&&gl(()=>{pc(t,r),Zo(e.b)}),ht(()=>{const n=We(()=>e.m.map(nh));return()=>{for(const o of n)typeof o=="function"&&o()}}),e.a.length&&ht(()=>{pc(t,r),Zo(e.a)})}function pc(i,t){if(i.l.s)for(const e of i.l.s)m(e);t()}function Bp(i){var t=Wt(0);return function(){return arguments.length===1?(_e(t,m(t)+1),arguments[0]):(m(t),i())}}function Vp(i,t){var o;var e=(o=i.$$events)==null?void 0:o[t.type],r=Jr(e)?e.slice():e==null?[]:[e];for(var n of r)n.call(this,t)}function jp(i,t,e){var r;i.$$events||(i.$$events={}),(r=i.$$events)[t]||(r[t]=[]),i.$$events[t].push(e)}function Up(i){for(var t in i)t in this&&(this[t]=i[t])}function gc(i,t,e){if(i==null)return t(void 0),pr;const r=We(()=>i.subscribe(t,e));return r.unsubscribe?()=>r.unsubscribe():r}function Gp(i){let t;return gc(i,e=>t=e)(),t}let ln=!1,Ca=Symbol();function Zp(i,t,e){const r=e[t]??(e[t]={store:null,source:po(void 0),unsubscribe:pr});if(r.store!==i&&!(Ca in e))if(r.unsubscribe(),r.store=i??null,i==null)r.source.v=void 0,r.unsubscribe=pr;else{var n=!0;r.unsubscribe=gc(i,o=>{n?r.source.v=o:_e(r.source,o)}),n=!1}return i&&Ca in e?Gp(i):m(r.source)}function Wp(i,t,e){let r=e[t];return r&&r.store!==i&&(r.unsubscribe(),r.unsubscribe=pr),i}function vc(i,t){return i.set(t),t}function qp(i,t){var e=i[t];e.store!==null&&vc(e.store,e.source.v)}function Xp(){const i={};function t(){Xt(()=>{for(var e in i)i[e].unsubscribe();$r(i,Ca,{enumerable:!1,value:!0})})}return[i,t]}function Yp(i,t,e){return i.set(e),t}function Kp(i,t,e=1){return i.set(t+e),t}function Qp(i,t,e=1){const r=t+e;return i.set(r),r}function Jp(){ln=!0}function mc(i){var t=ln;try{return ln=!1,[i(),ln]}finally{ln=t}}function $p(i,t=1){const e=i();return i(e+t),e}function eg(i,t=1){const e=i()+t;return i(e),e}const tg={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 At(i,t,e){return new Proxy({props:i,exclude:t},tg)}const rg={get(i,t){if(!i.exclude.includes(t))return m(i.version),t in i.special?i.special[t]():i.props[t]},set(i,t,e){if(!(t in i.special)){var r=De;try{Bt(i.parent_effect),i.special[t]=ir({get[t](){return i.props[t]}},t,bs)}finally{Bt(r)}}return i.special[t](e),Ji(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),Ji(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 ig(i,t){return new Proxy({props:i,exclude:t,special:{},version:Wt(0),parent_effect:De},rg)}const ng={get(i,t){let e=i.props.length;for(;e--;){let r=i.props[e];if(yi(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];yi(n)&&(n=n());const o=cr(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(yi(r)&&(r=r()),typeof r=="object"&&r!==null&&t in r){const n=cr(r,t);return n&&!n.configurable&&(n.configurable=!0),n}}},has(i,t){if(t===Ot||t===io)return!1;for(let e of i.props)if(yi(e)&&(e=e()),e!=null&&t in e)return!0;return!1},ownKeys(i){const t=[];for(let e of i.props)if(yi(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 cn(...i){return new Proxy({props:i},ng)}function ir(i,t,e,r){var S;var n=(e&Xu)!==0,o=(e&Yu)!==0,a=r,s=!0,c=()=>(s&&(s=!1,a=o?We(r):r),a),l;if(n){var u=Ot in i||io in i;l=((S=cr(i,t))==null?void 0:S.set)??(u&&t in i?R=>i[t]=R:void 0)}var h,d=!1;n?[h,d]=mc(()=>i[t]):h=i[t],h===void 0&&r!==void 0&&(h=c(),l&&(Ch(),l(h)));var p;if(p=()=>{var R=i[t];return R===void 0?c():(s=!0,R)},(e&bs)===0)return p;if(l){var _=i.$$legacy;return(function(R,E){return arguments.length>0?((!E||_||d)&&l(E?p():R),R):p()})}var f=!1,g=((e&qu)!==0?Qi:ea)(()=>(f=!1,p()));n&&m(g);var y=De;return(function(R,E){if(arguments.length>0){const P=E?m(g):n?dt(R):R;return _e(g,P),f=!0,a!==void 0&&(a=P),R}return ui&&f||(y.f&mr)!==0?g.v:m(g)})}function og(i,t){ut(()=>{const e=new Map,r=i(),n=Jr(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),mh()}e.set(s,a)}})}function ag(i,t,e,r,n,o){$s(t,()=>{var a=!1;Xi==null||Xi[jt],ut(()=>{if(!a){var[s,c]=mc(e);if(!c){var l=r(),u=!1,h=ut(()=>{u||s[l]});u=!0,h.deps===null&&(Dh(),a=!0)}}})})}function sg(i){return new lg(i)}class lg{constructor(t){ve(this,Lr);ve(this,lr);var o;var e=new Map,r=(a,s)=>{var c=po(s,!1,!1);return e.set(a,c),c};const n=new Proxy({...t.props||{},$$events:{}},{get(a,s){return m(e.get(s)??r(s,Reflect.get(a,s)))},has(a,s){return s===io?!0:(m(e.get(s)??r(s,Reflect.get(a,s))),Reflect.has(a,s))},set(a,s,c){return _e(e.get(s)??r(s,c),c),Reflect.set(a,s,c)}});Ie(this,lr,(t.hydrate?Vl:ha)(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)&&Ht(),Ie(this,Lr,n.$$events);for(const a of Object.keys(O(this,lr)))a==="$set"||a==="$destroy"||a==="$on"||$r(this,a,{get(){return O(this,lr)[a]},set(s){O(this,lr)[a]=s},enumerable:!0});O(this,lr).$set=a=>{Object.assign(n,a)},O(this,lr).$destroy=()=>{Ul(O(this,lr))}}$set(t){O(this,lr).$set(t)}$on(t,e){O(this,Lr)[t]=O(this,Lr)[t]||[];const r=(...n)=>e.call(this,...n);return O(this,Lr)[t].push(r),()=>{O(this,Lr)[t]=O(this,Lr)[t].filter(n=>n!==r)}}$destroy(){O(this,lr).$destroy()}}Lr=new WeakMap,lr=new WeakMap;let _c;typeof HTMLElement=="function"&&(_c=class extends HTMLElement{constructor(t,e,r){super();ot(this,"$$ctor");ot(this,"$$s");ot(this,"$$c");ot(this,"$$cn",!1);ot(this,"$$d",{});ot(this,"$$r",!1);ot(this,"$$p_d",{});ot(this,"$$l",{});ot(this,"$$l_u",new Map);ot(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),k(o,a)}};if(await Promise.resolve(),!this.$$cn||this.$$c)return;const e={},r=cg(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]=So(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=sg({component:this.$$ctor,target:this.shadowRoot||this,props:{...this.$$d,$$slots:e,$$host:this}}),this.$$me=ml(()=>{ut(()=>{var n;this.$$r=!0;for(const o of Kn(this.$$c)){if(!((n=this.$$p_d[o])!=null&&n.reflect))continue;this.$$d[o]=this.$$c[o];const a=So(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]=So(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 Kn(this.$$p_d).find(e=>this.$$p_d[e].attribute===t||!this.$$p_d[e].attribute&&e.toLowerCase()===t)||t}});function So(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 cg(i){const t={};return i.childNodes.forEach(e=>{t[e.slot||"default"]=!0}),t}function wc(i,t,e,r,n,o){let a=class extends _c{constructor(){super(i,e,n),this.$$p_d=t}static get observedAttributes(){return Kn(t).map(s=>(t[s].attribute||s).toLowerCase())}};return Kn(t).forEach(s=>{$r(a.prototype,s,{get(){return this.$$c&&s in this.$$c?this.$$c[s]:this.$$d[s]},set(c){var h;c=So(s,c,t),this.$$d[s]=c;var l=this.$$c;if(l){var u=(h=cr(l,s))==null?void 0:h.get;u?l[s]=c:l.$set({[s]:c})}}})}),r.forEach(s=>{$r(a.prototype,s,{get(){var c;return(c=this.$$c)==null?void 0:c[s]}})}),o&&(a=o(a)),i.element=a,a}function ug(i,...t){return We(()=>{try{let e=!1;const r=[];for(const n of t)n&&typeof n=="object"&&Ot in n?(r.push(oo(n,!0)),e=!0):r.push(n);e&&(Mh(i),console.log("%c[snapshot]","color: grey",...r))}catch{}}),t}const hg=Object.freeze(Object.defineProperty({__proto__:null,CLASS:Di,FILENAME:jt,HMR:xs,NAMESPACE_SVG:Xn,STYLE:Mi,aborted:go,action:Or,get active_effect(){return De},add_legacy_event_listener:jp,add_locations:xf,add_svelte_meta:Kh,animation:jf,append:k,append_styles:Wf,apply:Vd,assign:mf,assign_and:_f,assign_nullish:bf,assign_or:wf,async:Rf,async_body:hd,async_derived:el,attach:rc,attachment:vf,attr:Kf,attribute_effect:Rt,autofocus:hl,await:If,bind_active_element:sp,bind_buffered:dp,bind_checked:cp,bind_content_editable:Pp,bind_current_time:hp,bind_element_size:Cp,bind_ended:vp,bind_files:up,bind_focused:Ap,bind_group:lp,bind_muted:yp,bind_online:xp,bind_paused:wp,bind_playback_rate:_p,bind_played:pp,bind_prop:Tp,bind_property:Rp,bind_ready_state:mp,bind_resize_observer:Sp,bind_seekable:fp,bind_seeking:gp,bind_select_value:$f,bind_this:Li,bind_value:uc,bind_volume:bp,bind_window_scroll:Ip,bind_window_size:Op,boundary:Js,bubble_event:Vp,check_target:Sf,child:W,cleanup_styles:yf,clsx:Pt,comment:ee,component:Oi,create_custom_element:wc,create_ownership_validator:kf,css_props:Of,deep_read:_o,deep_read_state:ca,deferred_template_effect:Rd,delegate:Ur,derived:ie,derived_safe_equal:ea,get document(){return sl},each:Qt,eager:id,effect:Yt,effect_root:ml,effect_tracking:si,element:Gf,equals:_d,event:wo,exclude_from_object:Nd,fallback:oh,first_child:K,flush:Ht,for_await_track_reactivity_loss:ud,from_html:pe,from_mathml:jd,from_svg:$,from_tree:Ud,get:m,head:Zf,hmr:Ef,html:xr,hydrate_template:Vh,if:B,index:di,init:Fp,init_select:wa,inspect:Pf,invalid_default_snippet:ch,invalidate_inner_signals:Od,invalidate_store:qp,invoke_error_boundary:Ir,key:Kl,legacy_api:Cf,legacy_pre_effect:Sd,legacy_pre_effect_reset:Cd,legacy_rest_props:ig,log_if_contains_state:ug,mark_store_binding:Jp,mutable_source:po,mutate:gd,next:Tt,noop:pr,once:zp,pending:ld,pop:Ke,preventDefault:Np,prevent_snippet_stringification:Gl,prop:ir,props_id:Wd,proxy:dt,push:Ye,raf:Tr,reactive_import:Bp,remove_input_defaults:ba,remove_textarea_child:Td,render_effect:ut,replay_events:Bd,reset:G,rest_props:At,run:dd,run_after_blockers:$s,safe_get:zd,sanitize_slots:Hf,save:cd,select_option:on,self:Mp,set:_e,set_attribute:Fe,set_checked:tp,set_class:Ue,set_custom_element_data:op,set_default_checked:rp,set_default_value:ip,set_selected:cc,set_style:Zr,set_text:Qe,set_value:ep,set_xlink_attribute:np,setup_stores:Xp,sibling:le,slot:zf,snapshot:oo,snippet:Ct,spread_props:cn,state:ke,stopImmediatePropagation:Hp,stopPropagation:Lp,store_get:Zp,store_mutate:Yp,store_set:vc,store_unsub:Wp,strict_equals:md,tag:qh,tag_proxy:Us,template_effect:ze,text:kt,tick:la,to_array:ah,trace:Wh,track_reactivity_loss:$o,transition:Uf,trusted:Dp,untrack:We,update:Ji,update_legacy_props:Up,update_pre:vd,update_pre_prop:eg,update_pre_store:Qp,update_prop:$p,update_store:Kp,user_effect:ht,user_pre_effect:gl,validate_binding:ag,validate_dynamic_element_tag:af,validate_each_keys:og,validate_snippet_args:Af,validate_store:sf,validate_void_dynamic_element:of,get window(){return ra},with_script:Gd,wrap_snippet:lf},Symbol.toStringTag,{value:"Module"})),dg="5";typeof window<"u"&&((Lu=window.__svelte??(window.__svelte={})).v??(Lu.v=new Set)).add(dg);const fg=`/*! 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-neutral{--btn-color:var(--color-neutral);--btn-fg:var(--color-neutral-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-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}.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-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}.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\\/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-40{height:calc(var(--spacing)*40)}.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-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-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-\\[90px\\]{width:90px}.w-\\[140px\\]{width:140px}.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-1{grid-template-columns:repeat(1,minmax(0,1fr))}.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)}: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-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}.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-2{padding-inline-start:calc(var(--spacing)*2)}.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:48rem){.md\\:grid-cols-\\[200px_1fr\\]{grid-template-columns:200px 1fr}}@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 bc=(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})(),Co=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Pa(i){return i&&i.__esModule&&Object.prototype.hasOwnProperty.call(i,"default")?i.default:i}function pg(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 st={},yc;function gg(){if(yc)return st;yc=1,Object.defineProperty(st,"__esModule",{value:!0}),st.ViewingHint=st.ViewingDirection=st.ServiceType=st.ServiceProfile=st.RenderingFormat=st.MediaType=st.IIIFResourceType=st.ExternalResourceType=st.Behavior=st.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||(st.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||(st.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||(st.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||(st.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||(st.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||(st.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||(st.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||(st.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||(st.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||(st.ViewingHint=l={})),st}var ue=gg(),vg=(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)}})(),Dr=(function(i){vg(t,i);function t(e,r){var n=i.call(this,e)||this;return n.options=r,n}return t.prototype.getIIIFResourceType=function(){return Be.normaliseType(this.getProperty("type"))},t.prototype.getLabel=function(){var e=this.getProperty("label");return e?or.parse(e,this.options.locale):new or([],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 Io(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 Qg(o,this.options))}return r},t.prototype.getRequiredStatement=function(){var e=null,r=this.getProperty("requiredStatement");return r&&(e=new Io(this.options.locale),e.parse(r)),e},t.prototype.getService=function(e){return Be.getService(this,e)},t.prototype.getServices=function(){return Be.getServices(this)},t.prototype.getThumbnail=function(){var e=this.getProperty("thumbnail");return Array.isArray(e)&&(e=e[0]),e?new i0(e,this.options):null},t.prototype.isAnnotation=function(){return this.getIIIFResourceType()===ue.IIIFResourceType.ANNOTATION},t.prototype.isCanvas=function(){return this.getIIIFResourceType()===ue.IIIFResourceType.CANVAS},t.prototype.isCollection=function(){return this.getIIIFResourceType()===ue.IIIFResourceType.COLLECTION},t.prototype.isManifest=function(){return this.getIIIFResourceType()===ue.IIIFResourceType.MANIFEST},t.prototype.isRange=function(){return this.getIIIFResourceType()===ue.IIIFResourceType.RANGE},t.prototype.isSequence=function(){return this.getIIIFResourceType()===ue.IIIFResourceType.SEQUENCE},t})(bc),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)}})(),Ra=(function(i){mg(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 Po(n,this.options);e.push(o)}return e},t.prototype.getType=function(){var e=this.getProperty("type");return e?Be.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})(Dr),_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)}})(),xc=(function(i){_g(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?or.parse(e,this.options.locale):new or([],this.options.locale)},t.prototype.getDescription=function(){var e=this.getProperty("description");return e===void 0&&(e=this.getProperty("summary")),e?or.parse(e,this.options.locale):new or([],this.options.locale)},t.prototype.getSummary=function(){var e=this.getProperty("summary");return e===void 0&&(e=this.getProperty("description")),e?or.parse(e,this.options.locale):new or([],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 Be.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 Be.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(ue.ServiceProfile.TRACKING_EXTENSIONS);return e?e.getProperty("trackingLabel"):""},t.prototype.getDefaultTree=function(){return this.defaultTree=new Ja("root"),this.defaultTree.data=this,this.defaultTree},t.prototype.getRequiredStatement=function(){var e=null,r=this.getProperty("requiredStatement");if(r)e=new Io(this.options.locale),e.parse(r);else{var n=this.getAttribution();n&&n.length&&(e=new Io(this.options.locale),e.value=n)}return e},t.prototype.isCollection=function(){return this.getIIIFResourceType()===ue.IIIFResourceType.COLLECTION},t.prototype.isManifest=function(){return this.getIIIFResourceType()===ue.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"]),Be.loadManifest(o).then(function(a){e.parentLabel=e.getLabel().getValue(n.locale);var s=Wc.parse(a,n);e=Object.assign(e,s),e.index=n.index,r(e)})}})},t})(Dr),wg=(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)}})(),Po=(function(i){wg(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 Ro(s,this.options))}else e.push(new Ro(o,this.options))}else if(r.items)for(var n=0;n<r.items.length;n++){var o=r.items[n];e.push(new Ro(o,this.options))}else e.push(new Ro(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 Ra(this.getProperty("resource"),this.options)},t})(Dr),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)}})(),Ro=(function(i){bg(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?Be.getMediaType(e):null},t.prototype.getType=function(){var e=this.getProperty("type");return e?Be.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})(Dr),yg=(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)}})(),xg=(function(i){yg(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 Be.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 Po(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"]),Be.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})(bc),Tg=(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)}})(),Tc=(function(i){Tg(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 Po(r[n],this.options);e.push(o)}return e},t})(Dr),Aa,Ec;function Eg(){if(Ec)return Aa;Ec=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 Aa=i,Aa}var Ia,kc;function kg(){if(kc)return Ia;kc=1;var i=typeof Co=="object"&&Co&&Co.Object===Object&&Co;return Ia=i,Ia}var Oa,Sc;function Sg(){if(Sc)return Oa;Sc=1;var i=kg(),t=typeof self=="object"&&self&&self.Object===Object&&self,e=i||t||Function("return this")();return Oa=e,Oa}var Da,Cc;function Ma(){if(Cc)return Da;Cc=1;var i=Sg(),t=i.Symbol;return Da=t,Da}var La,Pc;function Cg(){if(Pc)return La;Pc=1;var i=Ma(),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 La=o,La}var za,Rc;function Pg(){if(Rc)return za;Rc=1;var i=Object.prototype,t=i.toString;function e(r){return t.call(r)}return za=e,za}var Ha,Ac;function Rg(){if(Ac)return Ha;Ac=1;var i=Ma(),t=Cg(),e=Pg(),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 Ha=a,Ha}var Na,Ic;function Oc(){if(Ic)return Na;Ic=1;function i(t){return t!=null&&typeof t=="object"}return Na=i,Na}var Fa,Dc;function Ag(){if(Dc)return Fa;Dc=1;var i=Rg(),t=Oc(),e="[object Arguments]";function r(n){return t(n)&&i(n)==e}return Fa=r,Fa}var Ba,Mc;function Ig(){if(Mc)return Ba;Mc=1;var i=Ag(),t=Oc(),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 Ba=o,Ba}var Va,Lc;function Og(){if(Lc)return Va;Lc=1;var i=Array.isArray;return Va=i,Va}var ja,zc;function Dg(){if(zc)return ja;zc=1;var i=Ma(),t=Ig(),e=Og(),r=i?i.isConcatSpreadable:void 0;function n(o){return e(o)||t(o)||!!(r&&o&&o[r])}return ja=n,ja}var Ua,Hc;function Nc(){if(Hc)return Ua;Hc=1;var i=Eg(),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 Ua=e,Ua}var Ga,Fc;function Mg(){if(Fc)return Ga;Fc=1;var i=Nc();function t(e){var r=e==null?0:e.length;return r?i(e,1):[]}return Ga=t,Ga}var Lg=Mg();const Za=Pa(Lg);var Wa,Bc;function zg(){if(Bc)return Wa;Bc=1;var i=Nc(),t=1/0;function e(r){var n=r==null?0:r.length;return n?i(r,t):[]}return Wa=e,Wa}var Hg=zg();const Vc=Pa(Hg);var Ng=(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)}})(),Ao=(function(i){Ng(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(),d=h.getServices();s||(s=h.getWidth());var p=d?d.find(function(S){return Be.isImageProfile(S.getProfile())||Be.isImageServiceType(S.getIIIFResourceType())}):null;if(p)r=p.id,a=Be.getImageQuality(p.getProfile());else if(s===h.getWidth())return h.id}if(l=this.getContent(),l&&l.length){var u=l[0],_=u.getBody(),f=_[0],d=f.getServices();s||(s=f.getWidth());var p=d?d.find(function(P){return Be.isImageServiceType(P.getIIIFResourceType())}):null;if(p)r=p.id,a=Be.getImageQuality(p.getProfile());else if(s===f.getWidth())return f.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 y=[r,n,c,o,a+".jpg"].join("/");return y},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 e0(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 Tc(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 Tc(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 Po(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 xg(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=Vc([this.getImages().map(function(n){return n.getResource()}),this.getContent().map(function(n){return n.getBody()})]);return Za(r.map(function(n){switch(n.getProperty("type").toLowerCase()){case ue.ExternalResourceType.CHOICE:case ue.ExternalResourceType.OA_CHOICE:return new t({images:Za([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 Vc([this.getImages(),this.getContent()])},enumerable:!1,configurable:!0}),t.prototype.resourceAnnotation=function(e){return this.resourceAnnotations.find(function(r){return r.getResource().id===e||Za(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})(Ra),Fg=(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)}})(),Bg=(function(i){Fg(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"):ue.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=Be.normaliseType(Er.COLLECTION),this._parseManifests(this),this._parseCollections(this),Be.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=Be.normaliseType(Er.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=Be.normaliseType(Er.COLLECTION),e.defaultTree.addNode(o)}},t})(xc),qa=(function(){function i(t,e){this.start=t,this.end=e}return i.prototype.getLength=function(){return this.end-this.start},i})(),Io=(function(){function i(t){this.defaultLocale=t}return i.prototype.parse=function(t){this.resource=t,this.label=or.parse(this.resource.label,this.defaultLocale),this.value=or.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 or([])),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 or([])),this.value.setValue(t,this.defaultLocale)},i})(),Vg=(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){Vg(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 be={},jc;function jg(){return jc||(jc=1,Object.defineProperty(be,"__esModule",{value:!0}),be.CONTINUE=100,be.SWITCHING_PROTOCOLS=101,be.PROCESSING=102,be.OK=200,be.CREATED=201,be.ACCEPTED=202,be.NON_AUTHORITATIVE_INFORMATION=203,be.NO_CONTENT=204,be.RESET_CONTENT=205,be.PARTIAL_CONTENT=206,be.MULTI_STATUS=207,be.MULTIPLE_CHOICES=300,be.MOVED_PERMANENTLY=301,be.MOVED_TEMPORARILY=302,be.SEE_OTHER=303,be.NOT_MODIFIED=304,be.USE_PROXY=305,be.TEMPORARY_REDIRECT=307,be.BAD_REQUEST=400,be.UNAUTHORIZED=401,be.PAYMENT_REQUIRED=402,be.FORBIDDEN=403,be.NOT_FOUND=404,be.METHOD_NOT_ALLOWED=405,be.NOT_ACCEPTABLE=406,be.PROXY_AUTHENTICATION_REQUIRED=407,be.REQUEST_TIME_OUT=408,be.CONFLICT=409,be.GONE=410,be.LENGTH_REQUIRED=411,be.PRECONDITION_FAILED=412,be.REQUEST_ENTITY_TOO_LARGE=413,be.REQUEST_URI_TOO_LARGE=414,be.UNSUPPORTED_MEDIA_TYPE=415,be.REQUESTED_RANGE_NOT_SATISFIABLE=416,be.EXPECTATION_FAILED=417,be.IM_A_TEAPOT=418,be.UNPROCESSABLE_ENTITY=422,be.LOCKED=423,be.FAILED_DEPENDENCY=424,be.UNORDERED_COLLECTION=425,be.UPGRADE_REQUIRED=426,be.PRECONDITION_REQUIRED=428,be.TOO_MANY_REQUESTS=429,be.REQUEST_HEADER_FIELDS_TOO_LARGE=431,be.INTERNAL_SERVER_ERROR=500,be.NOT_IMPLEMENTED=501,be.BAD_GATEWAY=502,be.SERVICE_UNAVAILABLE=503,be.GATEWAY_TIME_OUT=504,be.HTTP_VERSION_NOT_SUPPORTED=505,be.VARIANT_ALSO_NEGOTIATES=506,be.INSUFFICIENT_STORAGE=507,be.BANDWIDTH_LIMIT_EXCEEDED=509,be.NOT_EXTENDED=510,be.NETWORK_AUTHENTICATION_REQUIRED=511),be}var nr=jg();function Ug(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,d){o.push(h=h.toLowerCase()),a.push([h,d]),s[h]=s[h]?s[h]+","+d:d}),e(c())},n.onerror=r,n.withCredentials=t.credentials=="include",t.headers)n.setRequestHeader(l,t.headers[l]);n.send(t.body||null)})}const Uc=pg(Object.freeze(Object.defineProperty({__proto__:null,default:Ug},Symbol.toStringTag,{value:"Module"})));var Xa,Gc;function Gg(){return Gc||(Gc=1,Xa=self.fetch||(self.fetch=Uc.default||Uc)),Xa}Gg();var Ya=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())})},Ka=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}}},Be=(function(){function i(){}return i.getMediaType=function(t){return t=t.toLowerCase(),t=t.split(";")[0],t.trim()},i.getImageQuality=function(t){return t===ue.ServiceProfile.IMAGE_0_COMPLIANCE_LEVEL_1||t===ue.ServiceProfile.IMAGE_0_COMPLIANCE_LEVEL_2||t===ue.ServiceProfile.IMAGE_1_COMPLIANCE_LEVEL_1||t===ue.ServiceProfile.IMAGE_1_COMPLIANCE_LEVEL_2||t===ue.ServiceProfile.IMAGE_0_CONFORMANCE_LEVEL_1||t===ue.ServiceProfile.IMAGE_0_CONFORMANCE_LEVEL_2||t===ue.ServiceProfile.IMAGE_1_CONFORMANCE_LEVEL_1||t===ue.ServiceProfile.IMAGE_1_CONFORMANCE_LEVEL_2||t===ue.ServiceProfile.IMAGE_1_LEVEL_1||t===ue.ServiceProfile.IMAGE_1_PROFILE_LEVEL_1||t===ue.ServiceProfile.IMAGE_1_LEVEL_2||t===ue.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,ue.ServiceProfile.IMAGE_0_COMPLIANCE_LEVEL_0)||i.normalisedUrlsMatch(t,ue.ServiceProfile.IMAGE_0_COMPLIANCE_LEVEL_1)||i.normalisedUrlsMatch(t,ue.ServiceProfile.IMAGE_0_COMPLIANCE_LEVEL_2)||i.normalisedUrlsMatch(t,ue.ServiceProfile.IMAGE_1_COMPLIANCE_LEVEL_0)||i.normalisedUrlsMatch(t,ue.ServiceProfile.IMAGE_1_COMPLIANCE_LEVEL_2)||i.normalisedUrlsMatch(t,ue.ServiceProfile.IMAGE_0_CONFORMANCE_LEVEL_0)||i.normalisedUrlsMatch(t,ue.ServiceProfile.IMAGE_0_CONFORMANCE_LEVEL_1)||i.normalisedUrlsMatch(t,ue.ServiceProfile.IMAGE_0_CONFORMANCE_LEVEL_2)||i.normalisedUrlsMatch(t,ue.ServiceProfile.IMAGE_1_CONFORMANCE_LEVEL_1)||i.normalisedUrlsMatch(t,ue.ServiceProfile.IMAGE_1_CONFORMANCE_LEVEL_2)||i.normalisedUrlsMatch(t,ue.ServiceProfile.IMAGE_1_LEVEL_0)||i.normalisedUrlsMatch(t,ue.ServiceProfile.IMAGE_1_PROFILE_LEVEL_0)||i.normalisedUrlsMatch(t,ue.ServiceProfile.IMAGE_1_LEVEL_1)||i.normalisedUrlsMatch(t,ue.ServiceProfile.IMAGE_1_PROFILE_LEVEL_1)||i.normalisedUrlsMatch(t,ue.ServiceProfile.IMAGE_1_LEVEL_2)||i.normalisedUrlsMatch(t,ue.ServiceProfile.IMAGE_1_PROFILE_LEVEL_2)||i.normalisedUrlsMatch(t,ue.ServiceProfile.IMAGE_2_LEVEL_0)||i.normalisedUrlsMatch(t,ue.ServiceProfile.IMAGE_2_PROFILE_LEVEL_0)||i.normalisedUrlsMatch(t,ue.ServiceProfile.IMAGE_2_LEVEL_1)||i.normalisedUrlsMatch(t,ue.ServiceProfile.IMAGE_2_PROFILE_LEVEL_1)||i.normalisedUrlsMatch(t,ue.ServiceProfile.IMAGE_2_LEVEL_2)||i.normalisedUrlsMatch(t,ue.ServiceProfile.IMAGE_2_PROFILE_LEVEL_2))},i.isImageServiceType=function(t){return t!==null&&t.toLowerCase()===ue.ServiceType.IMAGE_SERVICE_2.toLowerCase()||t===ue.ServiceType.IMAGE_SERVICE_3.toLowerCase()},i.isLevel0ImageProfile=function(t){return!!(i.normalisedUrlsMatch(t,ue.ServiceProfile.IMAGE_0_COMPLIANCE_LEVEL_0)||i.normalisedUrlsMatch(t,ue.ServiceProfile.IMAGE_1_COMPLIANCE_LEVEL_0)||i.normalisedUrlsMatch(t,ue.ServiceProfile.IMAGE_0_CONFORMANCE_LEVEL_0)||i.normalisedUrlsMatch(t,ue.ServiceProfile.IMAGE_1_CONFORMANCE_LEVEL_0)||i.normalisedUrlsMatch(t,ue.ServiceProfile.IMAGE_1_LEVEL_0)||i.normalisedUrlsMatch(t,ue.ServiceProfile.IMAGE_1_PROFILE_LEVEL_0)||i.normalisedUrlsMatch(t,ue.ServiceProfile.IMAGE_2_LEVEL_0)||i.normalisedUrlsMatch(t,ue.ServiceProfile.IMAGE_2_PROFILE_LEVEL_0))},i.isLevel1ImageProfile=function(t){return!!(i.normalisedUrlsMatch(t,ue.ServiceProfile.IMAGE_0_COMPLIANCE_LEVEL_1)||i.normalisedUrlsMatch(t,ue.ServiceProfile.IMAGE_1_COMPLIANCE_LEVEL_1)||i.normalisedUrlsMatch(t,ue.ServiceProfile.IMAGE_0_CONFORMANCE_LEVEL_1)||i.normalisedUrlsMatch(t,ue.ServiceProfile.IMAGE_1_CONFORMANCE_LEVEL_1)||i.normalisedUrlsMatch(t,ue.ServiceProfile.IMAGE_1_LEVEL_1)||i.normalisedUrlsMatch(t,ue.ServiceProfile.IMAGE_1_PROFILE_LEVEL_1)||i.normalisedUrlsMatch(t,ue.ServiceProfile.IMAGE_2_LEVEL_1)||i.normalisedUrlsMatch(t,ue.ServiceProfile.IMAGE_2_PROFILE_LEVEL_1))},i.isLevel2ImageProfile=function(t){return!!(i.normalisedUrlsMatch(t,ue.ServiceProfile.IMAGE_0_COMPLIANCE_LEVEL_2)||i.normalisedUrlsMatch(t,ue.ServiceProfile.IMAGE_1_COMPLIANCE_LEVEL_2)||i.normalisedUrlsMatch(t,ue.ServiceProfile.IMAGE_0_CONFORMANCE_LEVEL_2)||i.normalisedUrlsMatch(t,ue.ServiceProfile.IMAGE_1_CONFORMANCE_LEVEL_2)||i.normalisedUrlsMatch(t,ue.ServiceProfile.IMAGE_1_LEVEL_2)||i.normalisedUrlsMatch(t,ue.ServiceProfile.IMAGE_1_PROFILE_LEVEL_2)||i.normalisedUrlsMatch(t,ue.ServiceProfile.IMAGE_2_LEVEL_2)||i.normalisedUrlsMatch(t,ue.ServiceProfile.IMAGE_2_PROFILE_LEVEL_2))},i.parseManifest=function(t,e){return Wc.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(d){return i.loadExternalResourceAuth1(d,e,r,n,o,a,s,c)});Promise.all(h).then(function(){l(t)}).catch(function(d){u(d)})})},i.loadExternalResourceAuth1=function(t,e,r,n,o,a,s,c){return Ya(this,void 0,void 0,function(){var l;return Ka(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!==nr.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===nr.OK||t.status===nr.MOVED_TEMPORARILY)return[2,t];throw i.createAuthorizationFailedError();case 6:return[4,t.getData()];case 7:return u.sent(),t.status===nr.MOVED_TEMPORARILY||t.status===nr.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===nr.OK||t.status===nr.MOVED_TEMPORARILY)return[2,t];throw i.createAuthorizationFailedError()}})})},i.doAuthChain=function(t,e,r,n,o,a,s){return Ya(this,void 0,void 0,function(){var c,l,u,h,d,p,_,f,f;return Ka(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===nr.MOVED_TEMPORARILY?[4,a(t)]:[3,2]):[2,t];case 1:return g.sent(),[2,t];case 2:return d=null,p=null,d=c,d?(p=d,[4,i.attemptResourceWithToken(t,r,d)]):[3,4];case 3:return g.sent(),[2,t];case 4:return d=l,d?(p=d,_=e(d),_?[4,n(_)]:[3,7]):[3,7];case 5:return g.sent(),[4,i.attemptResourceWithToken(t,r,d)];case 6:return g.sent(),[2,t];case 7:return d=u,d?(p=d,[4,o(t,d)]):[3,11];case 8:return f=g.sent(),f?[4,n(f)]:[3,11];case 9:return g.sent(),[4,i.attemptResourceWithToken(t,r,d)];case 10:return g.sent(),[2,t];case 11:return d=h,d?(p=d,[4,o(t,d)]):[3,15];case 12:return f=g.sent(),f?[4,n(f)]:[3,15];case 13:return g.sent(),[4,i.attemptResourceWithToken(t,r,d)];case 14:return g.sent(),[2,t];case 15:return p&&s(t,p),[2]}})})},i.attemptResourceWithToken=function(t,e,r){return Ya(this,void 0,void 0,function(){var n,o;return Ka(this,function(a){switch(a.label){case 0:return n=r.getService(ue.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,d){var p=t.map(function(_){return i.loadExternalResourceAuth09(_,e,r,n,o,a,s,c,l,u)});Promise.all(p).then(function(){h(t)}).catch(function(_){d(_)})})},i.loadExternalResourceAuth09=function(t,e,r,n,o,a,s,c,l,u){return new Promise(function(h,d){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(p){t.getData(p).then(function(){h(l(t))}).catch(function(_){d(i.createInternalServerError(_))})}).catch(function(p){d(i.createInternalServerError(p))})}).catch(function(p){d(i.createInternalServerError(p))}):h(t)}).catch(function(p){d(i.createInternalServerError(p))}):c(t,e).then(function(p){p?t.getData(p).then(function(){t.status===nr.OK?h(l(t)):i.authorize(t,e,r,n,o,a,s,c).then(function(){h(l(t))}).catch(function(_){d(i.createAuthorizationFailedError())})}).catch(function(_){d(i.createAuthorizationFailedError())}):i.authorize(t,e,r,n,o,a,s,c).then(function(){h(l(t))}).catch(function(_){d(i.createAuthorizationFailedError())})}).catch(function(p){d(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(un.AUTHORIZATION_FAILED,"Authorization failed")},i.createRestrictedError=function(){return i.createError(un.RESTRICTED,"Restricted")},i.createInternalServerError=function(t){return i.createError(un.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===nr.OK?l(t):i.showAuthInteraction(t,e,r,n,o,a,s,l,u)}).catch(function(d){u(i.createInternalServerError(d))}):a(t,!1).then(function(d){d?s(t,d,e).then(function(){t.getData(d).then(function(){t.status===nr.OK?l(t):i.showAuthInteraction(t,e,r,n,o,a,s,l,u)}).catch(function(p){u(i.createInternalServerError(p))})}).catch(function(p){u(i.createInternalServerError(p))}):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===nr.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 d=0;d<h.length;d++){var p=h[d];if(typeof p=="string"){var _=this.getResourceById(t.options.resource,p);_&&u.push(new qc(_.__jsonld||_,t.options))}else u.push(new qc(p,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})(),Zg=(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)}})(),zi=(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})(),or=(function(i){Zg(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 zi.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 zi(e,void 0,r)],r);if(e["@language"]){var n=zi.parseV2Value(e);return new t(n!==null?[n]:[],r)}else if(e["@value"]){var n=zi.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 zi(s,a,r)}),r)}},t.prototype.getSuitableLocale=function(e){for(var r=Array.from(this.values()).map(function(p){return p._locale}).filter(function(p){return p!==void 0}),n=function(p){var _=r.find(function(f){return f===p});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(p){var _=r.find(function(f){return Be.getInexactLocale(f)===Be.getInexactLocale(p)});if(_)return{value:_}},u=0,h=e;u<h.length;u++){var s=h[u],d=l(s);if(typeof d=="object")return d.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 zi(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),Wg=(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)}})(),qg=(function(i){Wg(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 Ao(e,this.options)),e},t.prototype.getAccompanyingCanvas=function(){var e=this.getProperty("accompanyingCanvas");return e&&(e=new Ao(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=Be.normaliseType(Er.MANIFEST),!this.isLoaded)return this.defaultTree;var e=this.getTopRanges();return e.length&&e[0].getTree(this.defaultTree),Be.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===ue.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 Yg(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 d=h.getRanges();return d.length?d.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 Zc(n,this.options);this.items.push(o)}else if(this.__jsonld.items){var o=new Zc(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(ue.ServiceProfile.UI_EXTENSIONS);return e?e.getProperty("manifestType"):Qa.EMPTY},t.prototype.isMultiSequence=function(){return this.getTotalSequences()>1},t.prototype.isPagingEnabled=function(){var e=this.getViewingHint();if(e)return e===ue.ViewingHint.PAGED;var r=this.getBehavior();return r?r===ue.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})(xc),Qa;(function(i){i.EMPTY="",i.MANUSCRIPT="manuscript",i.MONOGRAPH="monograph"})(Qa||(Qa={}));var Xg=(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)}})(),Yg=(function(i){Xg(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 qa(Math.min.apply(Math,e),Math.max.apply(Math,r))}else{for(var h=this.getRanges(),e=[],r=[],d=0,p=h;d<p.length;d++){var _=p[d],f=_.getDuration();f&&(e.push(f.start),r.push(f.end))}if(e.length&&r.length)return new qa(Math.min.apply(Math,e),Math.max.apply(Math,r))}var g,y;if(this.canvases&&this.canvases.length)for(var S=0;S<this.canvases.length;S++){var a=this.canvases[S],R=Be.getTemporalComponent(a);R&&R.length>1&&(S===0&&(g=Number(R[0])),S===this.canvases.length-1&&(y=Number(R[1])))}else for(var h=this.getRanges(),S=0;S<h.length;S++){var _=h[S],f=_.getDuration();f&&(S===0&&(g=f.start),S===h.length-1&&(y=f.end))}if(g!==void 0&&y!==void 0)return new qa(g,y)},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 Ja;e.addNode(a),this._parseTreeNode(a,o)}return Be.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=Be.normaliseType(Er.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!==ue.Behavior.NO_NAV){var c=new Ja;e.addNode(c),this._parseTreeNode(c,a)}}},t})(Dr),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)}})(),Qg=(function(i){Kg(t,i);function t(e,r){return i.call(this,e,r)||this}return t.prototype.getFormat=function(){return this.getProperty("format")},t})(Dr),Jg=(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)}})(),Zc=(function(i){Jg(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 Ao(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 Ao(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=Be.normaliseUrl(n.id);if(Be.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===ue.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===ue.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===ue.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 t0(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===ue.ViewingHint.PAGED:!1},t.prototype.isTotalCanvasesEven=function(){return this.getTotalCanvases()%2===0},t})(Dr),Wc=(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 Bg(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 qg(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})(),$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)}})(),qc=(function(i){$g(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 Be.getLocalisedValue(this.getProperty("confirmLabel"),this.options.locale)},t.prototype.getDescription=function(){return Be.getLocalisedValue(this.getProperty("description"),this.options.locale)},t.prototype.getFailureDescription=function(){return Be.getLocalisedValue(this.getProperty("failureDescription"),this.options.locale)},t.prototype.getFailureHeader=function(){return Be.getLocalisedValue(this.getProperty("failureHeader"),this.options.locale)},t.prototype.getHeader=function(){return Be.getLocalisedValue(this.getProperty("header"),this.options.locale)},t.prototype.getServiceLabel=function(){return Be.getLocalisedValue(this.getProperty("label"),this.options.locale)},t.prototype.getInfoUri=function(){var e=this.id;return e.endsWith("/")||(e+="/"),e+="info.json",e},t})(Dr),e0=(function(){function i(t,e){this.width=t,this.height=e}return i})(),un;(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"})(un||(un={}));var t0=(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})(),r0=(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)}})(),i0=(function(i){r0(t,i);function t(e,r){return i.call(this,e,r)||this}return t})(Ra),Ja=(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===Be.normaliseType(Er.COLLECTION)},i.prototype.isManifest=function(){return this.data.type===Be.normaliseType(Er.MANIFEST)},i.prototype.isRange=function(){return this.data.type===Be.normaliseType(Er.RANGE)},i})(),Er;(function(i){i.COLLECTION="collection",i.MANIFEST="manifest",i.RANGE="range"})(Er||(Er={}));var n0=function(i,t){return Be.parseManifest(i,t)};class o0{constructor(){ve(this,_n,ke(dt({})));ve(this,wn,ke(dt(new Map)))}get manifests(){return m(O(this,_n))}set manifests(t){_e(O(this,_n),t,!0)}get userAnnotations(){return m(O(this,wn))}set userAnnotations(t){_e(O(this,wn),t,!0)}userAnnotationKey(t,e){return`${t}::${e}`}setUserAnnotations(t,e,r){const n=this.userAnnotationKey(t,e),o=new Map(this.userAnnotations);o.set(n,r),this.userAnnotations=o}clearUserAnnotations(t,e){const r=this.userAnnotationKey(t,e);if(this.userAnnotations.has(r)){const n=new Map(this.userAnnotations);n.delete(r),this.userAnnotations=n}}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=n0(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;let a=[];const 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}}_n=new WeakMap,wn=new WeakMap;const Wr=new o0;class a0{constructor(t=null,e=null,r=[]){ve(this,bn,ke(null));ve(this,yn,ke(null));ve(this,xn,ke(!1));ve(this,Tn,ke(!1));ve(this,En,ke(!1));ve(this,kn,ke(!1));ve(this,Sn,ke(!1));ve(this,Cn,ke(!1));ve(this,Pn,ke(!1));ve(this,Rn,ke("bottom"));ve(this,An,ke(dt(new Set)));ve(this,In,ke(dt({})));ve(this,On,ke(dt({x:20,y:100})));ve(this,Dn,ke(dt({width:300,height:400})));ve(this,Mn,ke(!1));ve(this,Ln,ke(dt({x:0,y:0})));ve(this,zn,ke(null));ve(this,Hn,ke(null));ot(this,"eventTarget",null);ot(this,"viewerElement",null);ve(this,Nn,ke(""));ve(this,Fn,ke(null));ve(this,Bn,ke(dt([])));ve(this,Vn,ke(!1));ve(this,jn,ke(!1));ve(this,Un,ke(dt([])));ve(this,Gn,ke(dt([])));ve(this,Zn,ke(dt([])));ve(this,Wn,ke(null));ot(this,"pluginEventHandlers",new Map);this.manifestId=t||null,this.canvasId=e||null,this.manifestId&&Wr.fetchManifest(this.manifestId);for(const n of r)this.registerPlugin(n)}get manifestId(){return m(O(this,bn))}set manifestId(t){_e(O(this,bn),t,!0)}get canvasId(){return m(O(this,yn))}set canvasId(t){_e(O(this,yn),t,!0)}get showAnnotations(){return m(O(this,xn))}set showAnnotations(t){_e(O(this,xn),t,!0)}get showThumbnailGallery(){return m(O(this,Tn))}set showThumbnailGallery(t){_e(O(this,Tn),t,!0)}get toolbarOpen(){return m(O(this,En))}set toolbarOpen(t){_e(O(this,En),t,!0)}get isGalleryDockedBottom(){return m(O(this,kn))}set isGalleryDockedBottom(t){_e(O(this,kn),t,!0)}get isGalleryDockedRight(){return m(O(this,Sn))}set isGalleryDockedRight(t){_e(O(this,Sn),t,!0)}get isFullScreen(){return m(O(this,Cn))}set isFullScreen(t){_e(O(this,Cn),t,!0)}get showMetadataDialog(){return m(O(this,Pn))}set showMetadataDialog(t){_e(O(this,Pn),t,!0)}get dockSide(){return m(O(this,Rn))}set dockSide(t){_e(O(this,Rn),t,!0)}get visibleAnnotationIds(){return m(O(this,An))}set visibleAnnotationIds(t){_e(O(this,An),t,!0)}get config(){return m(O(this,In))}set config(t){_e(O(this,In),t,!0)}get showToggle(){return this.config.showToggle??!0}get showCanvasNav(){return this.config.showCanvasNav??!0}get showZoomControls(){return this.config.showZoomControls??!0}get galleryPosition(){return m(O(this,On))}set galleryPosition(t){_e(O(this,On),t,!0)}get gallerySize(){return m(O(this,Dn))}set gallerySize(t){_e(O(this,Dn),t,!0)}get isGalleryDragging(){return m(O(this,Mn))}set isGalleryDragging(t){_e(O(this,Mn),t,!0)}get galleryDragOffset(){return m(O(this,Ln))}set galleryDragOffset(t){_e(O(this,Ln),t,!0)}get dragOverSide(){return m(O(this,zn))}set dragOverSide(t){_e(O(this,zn),t,!0)}get galleryCenterPanelRect(){return m(O(this,Hn))}set galleryCenterPanelRect(t){_e(O(this,Hn),t,!0)}setEventTarget(t){this.eventTarget=t}getSnapshot(){let t=-1;return this.manifestId&&this.canvasId&&(t=Wr.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}}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?Wr.getManifest(this.manifestId):null}get manifestEntry(){return this.manifestId?Wr.getManifestEntry(this.manifestId):null}get canvases(){return this.manifestId?Wr.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(){return this.currentCanvasIndex<this.canvases.length-1}get hasPrevious(){return this.currentCanvasIndex>0}nextCanvas(){if(this.hasNext){const t=this.currentCanvasIndex+1,e=this.canvases[t];this.setCanvas(e.id)}}previousCanvas(){if(this.hasPrevious){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,Wr.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.gallery&&(t.gallery.open!==void 0&&(this.showThumbnailGallery=t.gallery.open),t.gallery.dockPosition!==void 0&&(this.dockSide=t.gallery.dockPosition)),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}get searchQuery(){return m(O(this,Nn))}set searchQuery(t){_e(O(this,Nn),t,!0)}get pendingSearchQuery(){return m(O(this,Fn))}set pendingSearchQuery(t){_e(O(this,Fn),t,!0)}get searchResults(){return m(O(this,Bn))}set searchResults(t){_e(O(this,Bn),t,!0)}get isSearching(){return m(O(this,Vn))}set isSearching(t){_e(O(this,Vn),t,!0)}get showSearchPanel(){return m(O(this,jn))}set showSearchPanel(t){_e(O(this,jn),t,!0)}toggleSearchPanel(){this.showSearchPanel=!this.showSearchPanel,this.showSearchPanel||(this.searchAnnotations=[]),this.dispatchStateChange()}get searchAnnotations(){return m(O(this,Un))}set searchAnnotations(t){_e(O(this,Un),t,!0)}get currentCanvasSearchAnnotations(){return this.canvasId?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 Map,d=f=>{const g=typeof f=="string"?f:f["@id"]||f.id;if(!g)return null;const y=g.split("#xywh=");if(y.length<2)return null;const S=y[1].split(",").map(Number);return S.length===4?S:null},p=f=>f?f.replace(/<mark>/g,"<mark>").replace(/<\/mark>/g,"</mark>"):"";if(l.hits)for(const f of l.hits){const g=f.annotations||[];let y=-1,S=null,R=[];for(const E of g){const P=u.find(H=>H["@id"]===E||H.id===E);if(P&&P.on){const H=typeof P.on=="string"?P.on:P.on["@id"]||P.on.id,V=H.split("#")[0],U=d(H),I=this.canvases.findIndex(D=>D.id===V);I>=0&&(y===-1&&(y=I),U&&(R.push(U),S||(S=U)))}}if(y>=0){if(!h.has(y)){const E=this.canvases[y];let P="Canvas "+(y+1);try{if(E.getLabel){const H=E.getLabel();Array.isArray(H)&&H.length>0?P=H[0].value:typeof H=="string"&&(P=H)}else E.label&&(typeof E.label=="string"?P=E.label:Array.isArray(E.label)&&(P=(e=E.label[0])==null?void 0:e.value))}catch{}h.set(y,{canvasIndex:y,canvasLabel:String(P),hits:[]})}h.get(y).hits.push({type:"hit",before:p(f.before),match:p(f.match),after:p(f.after),bounds:S,allBounds:R})}}else if(u.length>0)for(const f of u){const g=typeof f.on=="string"?f.on:f.on["@id"]||f.on.id,y=g.split("#")[0],S=d(g),R=this.canvases.findIndex(E=>E.id===y);if(R>=0){const E=this.canvases[R];let P="Canvas "+(R+1);try{if(E.getLabel){const H=E.getLabel();Array.isArray(H)&&H.length>0?P=H[0].value:typeof H=="string"&&(P=H)}else E.label&&(typeof E.label=="string"?P=E.label:Array.isArray(E.label)&&(P=(r=E.label[0])==null?void 0:r.value))}catch{}h.has(R)||h.set(R,{canvasIndex:R,canvasLabel:String(P),hits:[]}),h.get(R).hits.push({type:"resource",match:p(f.resource&&f.resource.chars?f.resource.chars:f.chars||""),bounds:S,allBounds:S?[S]:[]})}}this.searchResults=Array.from(h.values()).sort((f,g)=>f.canvasIndex-g.canvasIndex);let _=0;this.searchAnnotations=this.searchResults.flatMap(f=>{const g=this.canvases[f.canvasIndex];return f.hits.flatMap(y=>(y.allBounds&&y.allBounds.length>0?y.allBounds:y.bounds?[y.bounds]:[]).map(R=>{const E=`${g.id}#xywh=${R.join(",")}`;return{"@id":`urn:search-hit:${_++}`,"@type":"oa:Annotation",motivation:"sc:painting",on:E,canvasId:g.id,resource:{"@type":"cnt:ContentAsText",chars:y.match},isSearchHit:!0}}))})}catch(n){console.error("Search error:",n),this.isSearching=!1}finally{this.pendingSearchQuery||(this.isSearching=!1)}}}get pluginMenuButtons(){return m(O(this,Gn))}set pluginMenuButtons(t){_e(O(this,Gn),t,!0)}get pluginPanels(){return m(O(this,Zn))}set pluginPanels(t){_e(O(this,Zn),t,!0)}get osdViewer(){return m(O(this,Wn))}set osdViewer(t){_e(O(this,Wn),t)}registerPlugin(t){const e=t.id||`plugin-${Math.random().toString(36).substr(2,9)}`;let r=ke(!1);const n={id:`${e}:toggle`,icon:t.icon,tooltip:t.name,onClick:()=>{_e(r,!m(r))},isActive:()=>m(r),order:200},o={id:`${e}:panel`,component:t.panel,position:t.position||"left",isVisible:()=>m(r),props:{...t.props,isOpen:m(r),close:()=>{_e(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()}}bn=new WeakMap,yn=new WeakMap,xn=new WeakMap,Tn=new WeakMap,En=new WeakMap,kn=new WeakMap,Sn=new WeakMap,Cn=new WeakMap,Pn=new WeakMap,Rn=new WeakMap,An=new WeakMap,In=new WeakMap,On=new WeakMap,Dn=new WeakMap,Mn=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;const Hi="triiiceratops:viewerState",s0=["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 l0(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 c0(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 $a(i){const t=i/255;return t<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)}function u0(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 h0(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 d0(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 Xc(i,t,e){const r=$a(i),n=$a(t),o=$a(e),{x:a,y:s,z:c}=u0(r,n,o),{L:l,a:u,b:h}=h0(a,s,c);return d0(l,u,h)}function Yc(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 f0(i){return i.trim().toLowerCase().startsWith("oklch(")}function p0(i){return/^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$/.test(i.trim())}function g0(i){return/^rgba?\s*\(/i.test(i.trim())}function v0(i){const t=l0(i);if(!t)return console.warn(`Invalid hex color: ${i}, returning as-is`),i;const{L:e,C:r,h:n}=Xc(t.r,t.g,t.b);return Yc(e,r,n)}function m0(i){const t=c0(i);if(!t)return console.warn(`Invalid rgb color: ${i}, returning as-is`),i;const{L:e,C:r,h:n}=Xc(t.r,t.g,t.b);return Yc(e,r,n)}function _0(i){const t=i.trim();return f0(t)?t:p0(t)?v0(t):g0(t)?m0(t):(console.warn(`Unrecognized color format: ${i}, passing through as-is`),i)}const Kc={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"},w0=new Set(["primary","primaryContent","secondary","secondaryContent","accent","accentContent","neutral","neutralContent","base100","base200","base300","baseContent","info","infoContent","success","successContent","warning","warningContent","error","errorContent"]);function b0(i){return s0.includes(i)}function y0(i,t){i.setAttribute("data-theme",t)}function x0(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=Kc[n];if(!o)continue;let a=String(r);w0.has(n)&&(a=_0(a)),i.style.setProperty(o,a)}}function T0(i){for(const[t,e]of Object.entries(Kc))t==="colorScheme"?i.style.colorScheme="":i.style.removeProperty(e)}function E0(i){try{const t=JSON.parse(i);return typeof t=="object"&&t!==null?t:null}catch{return null}}function k0(i,t,e){t?y0(i,t):i.removeAttribute("data-theme"),e?x0(i,e):T0(i)}function Qc(i){return i.id||i["@id"]||(typeof i.getId=="function"?i.getId():"")}function hn(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 S0(i){const t=C0(i);if(t)return P0(t);const e=O0(i);return e?{type:"RECTANGLE",x:e.x,y:e.y,w:e.w,h:e.h}:null}function C0(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 Jc(n)}const t=i.target||i.on;return t?Jc(t):null}function Jc(i){if(!i)return null;if(Array.isArray(i))for(const t of i){const e=$c(t);if(e)return e}else return $c(i);return null}function $c(i){var e;if(!i)return null;let 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 P0(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=R0(l);r.push(...u)}}const o=e.querySelectorAll("path");for(const c of o){const l=c.getAttribute("d");if(l){const u=A0(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"),d=I0(l,u,h);r.push(...d)}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"),d=parseFloat(c.getAttribute("height")||"0");r.push([l,u],[l+h,u],[l+h,u+d],[l,u+d])}return r.length===0?null:{type:"POLYGON",points:r}}catch(t){return console.warn("Failed to convert SVG to polygon:",t),null}}function R0(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 A0(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 I0(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 O0(i){var e;if(typeof i.getTarget=="function"){const r=i.getTarget();if(typeof r=="string"&&r.includes("xywh="))return hn(r);const n=(e=i.__jsonld)==null?void 0:e.on;if(n){const o=es(n);if(o)return o}}const t=i.target||i.on;return t?es(t):null}function es(i){if(!i)return null;if(Array.isArray(i))for(const t of i){const e=es(t);if(e)return e}if(typeof i=="string"&&i.includes("xywh="))return hn(i);if(i.selector){let t=i.selector;if(Array.isArray(t)){const r=t.find(o=>o.type==="FragmentSelector"&&o.value&&o.value.includes("xywh="));if(r)return hn(r.value);const n=t.find(o=>o.value&&o.value.includes("xywh="));return n?hn(n.value):null}const e=t.item||t;if(e.value&&typeof e.value=="string"&&e.value.includes("xywh="))return hn(e.value)}return null}function eu(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 D0(i,t,e=!1){const r=Qc(i)||`anno-${t}`,n=S0(i);if(!n)return null;const o=eu(i);return{id:r,geometry:n,body:o,isSearchHit:e}}function M0(i,t=new Set){return i.map((e,r)=>{const n=t.has(Qc(e));return D0(e,r,n)}).filter(e=>e!==null)}var L0=pe("<div></div>"),z0=$('<svg class="absolute pointer-events-auto"><title> </title><polygon stroke-width="2"></polygon></svg>'),H0=pe('<div class="w-full h-full relative"><div></div> <!></div>');function N0(i,t){Ye(t,!0);let e=ir(t,"viewerState",7),r=ke(void 0),n=ke(void 0),o=ke(void 0),a=ke(0),s=ie(()=>{if(!e().manifestId||!e().canvasId)return[];const _=Wr.getAnnotations(e().manifestId,e().canvasId),f=e().currentCanvasSearchAnnotations;return[..._,...f]}),c=ie(()=>{const _=new Set;return e().currentCanvasSearchAnnotations.forEach(f=>{const g=f.id||f["@id"];g&&_.add(g)}),_}),l=ie(()=>M0(m(s),m(c))),u=ie(()=>{if(m(a),!m(n)||!m(o)||!m(l).length)return[];const _=m(n).world.getItemAt(0);if(!_)return[];const f=[],g=e().pluginPanels.find(S=>S.id==="annotation-editor:panel"),y=g?g.isVisible():!1;for(const S of m(l)){if(!S.isSearchHit)if(e().showAnnotations){if(!e().visibleAnnotationIds.has(S.id))continue}else continue;if(S.geometry.type==="RECTANGLE"){const R=_.imageToViewportRectangle(S.geometry.x,S.geometry.y,S.geometry.w,S.geometry.h),E=m(n).viewport.viewportToViewerElementRectangle(R);f.push({id:S.id,type:"RECTANGLE",rect:{x:E.x,y:E.y,width:E.width,height:E.height},isSearchHit:S.isSearchHit,tooltip:S.body.map(P=>P.value).join(" "),pointerEvents:y?"none":"auto"})}else if(S.geometry.type==="POLYGON"){const R=S.geometry.points.map(I=>{const D=_.imageToViewportCoordinates(new(m(o)).Point(I[0],I[1])),te=m(n).viewport.viewportToViewerElementCoordinates(D);return[te.x,te.y]});let E=1/0,P=1/0,H=-1/0,V=-1/0;for(const[I,D]of R)E=Math.min(E,I),P=Math.min(P,D),H=Math.max(H,I),V=Math.max(V,D);const U=R.map(([I,D])=>[I-E,D-P]);f.push({id:S.id,type:"POLYGON",bounds:{x:E,y:P,width:H-E,height:V-P},points:U,isSearchHit:S.isSearchHit,tooltip:S.body.map(I=>I.value).join(" "),pointerEvents:y?"none":"auto"})}}return f});fa(()=>{if(m(r))return(async()=>{const _=await Promise.resolve().then(()=>L8);_e(o,_.default||_,!0),_e(n,m(o)({element:m(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(m(n))})(),()=>{var _;(_=m(n))==null||_.destroy(),e().osdViewer=null}}),ht(()=>{if(!m(n))return;const _=()=>{Ji(a)};return m(n).addHandler("open",_),m(n).addHandler("animation",_),m(n).addHandler("resize",_),m(n).addHandler("rotate",_),m(n).world.addHandler("add-item",_),m(n).world.addHandler("remove-item",_),()=>{m(n).removeHandler("open",_),m(n).removeHandler("animation",_),m(n).removeHandler("resize",_),m(n).removeHandler("rotate",_),m(n).world.removeHandler("add-item",_),m(n).world.removeHandler("remove-item",_)}}),ht(()=>{!m(n)||!t.tileSources||m(n).open(t.tileSources)});var h=H0(),d=W(h);Li(d,_=>_e(r,_),()=>m(r));var p=le(d,2);Qt(p,17,()=>m(u),_=>_.id,(_,f)=>{var g=ee(),y=K(g);{var S=E=>{var P=L0();ze(()=>{Fe(P,"id",`annotation-visual-${m(f).id??""}`),Ue(P,1,`absolute border-2 transition-colors cursor-pointer pointer-events-auto ${m(f).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"}`),Zr(P,`
|
|
6
|
+
\r\f \v\uFEFF`];function Qf(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||oc.includes(r[a-1]))&&(s===r.length||oc.includes(r[s]))?r=(a===0?"":r.substring(0,a))+r.substring(s+1):a=s}}return r===""?null:r}function ac(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 ma(i){return i[0]!=="-"||i[1]!=="-"?i.toLowerCase():i}function Jf(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(ma)),n&&c.push(...Object.keys(n).map(ma));var l=0,u=-1;const f=i.length;for(var h=0;h<f;h++){var d=i[h];if(s?d==="/"&&i[h-1]==="*"&&(s=!1):o?o===d&&(o=!1):d==="/"&&i[h+1]==="*"?s=!0:d==='"'||d==="'"?o=d:d==="("?a++:d===")"&&a--,!s&&o===!1&&a===0){if(d===":"&&u===-1)u=h;else if(d===";"||h===f-1){if(u!==-1){var p=ma(i.substring(l,u).trim());if(!c.includes(p)){d!==";"&&h++;var _=i.substring(l,h).trim();e+=" "+_+";"}}l=h+1,u=-1}}}}return r&&(e+=ac(r)),n&&(e+=ac(n,!0)),e=e.trim(),e===""?null:e}return i==null?null:String(i)}function Ue(i,t,e,r,n,o){var a=i.__className;if(de||a!==e||a===void 0){var s=Qf(e,r,o);(!de||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 _a(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 Zr(i,t,e,r){var n=i.__style;if(de||n!==t){var o=Jf(t,r);(!de||o!==i.getAttribute("style"))&&(o==null?i.removeAttribute("style"):i.style.cssText=o),i.__style=t}else r&&(Array.isArray(r)?(_a(i,e==null?void 0:e[0],r[0]),_a(i,e==null?void 0:e[1],r[1],"important")):_a(i,e,r));return r}function on(i,t,e=!1){if(i.multiple){if(t==null)return;if(!Jr(t))return Fh();for(var r of i.options)r.selected=t.includes(an(r));return}for(r of i.options){var n=an(r);if(al(n,t)){r.selected=!0;return}}(!e||t!==void 0)&&(i.selectedIndex=-1)}function wa(i){var t=new MutationObserver(()=>{on(i,i.__value)});t.observe(i,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["value"]}),Xt(()=>{t.disconnect()})}function $f(i,t,e=t){var r=new WeakSet,n=!0;en(i,"change",o=>{var a=o?"[selected]":":checked",s;if(i.multiple)s=[].map.call(i.querySelectorAll(a),an);else{var c=i.querySelector(a)??i.querySelector("option:not([disabled])");s=c&&an(c)}e(s),Me!==null&&r.add(Me)}),Yt(()=>{var o=t();if(i===document.activeElement){var a=Yi??Me;if(r.has(a))return}if(on(i,o,n),n&&o===void 0){var s=i.querySelector(":checked");s!==null&&(o=an(s),e(o))}i.__value=o,n=!1}),wa(i)}function an(i){return"__value"in i?i.__value:i.value}const Di=Symbol("class"),Mi=Symbol("style"),sc=Symbol("is custom element"),lc=Symbol("is html");function ba(i){if(de){var t=!1,e=()=>{if(!t){if(t=!0,i.hasAttribute("value")){var r=i.value;Fe(i,"value",null),i.value=r}if(i.hasAttribute("checked")){var n=i.checked;Fe(i,"checked",null),i.checked=n}}};i.__on_r=e,Gt(e),fl()}}function ep(i,t){var e=ko(i);e.value===(e.value=t??void 0)||i.value===t&&(t!==0||i.nodeName!=="PROGRESS")||(i.value=t??"")}function tp(i,t){var e=ko(i);e.checked!==(e.checked=t??void 0)&&(i.checked=t)}function cc(i,t){t?i.hasAttribute("selected")||i.setAttribute("selected",""):i.removeAttribute("selected")}function rp(i,t){const e=i.checked;i.defaultChecked=t,i.checked=e}function ip(i,t){const e=i.value;i.defaultValue=t,i.value=e}function Fe(i,t,e,r){var n=ko(i);de&&(n[t]=i.getAttribute(t),t==="src"||t==="srcset"||t==="href"&&i.nodeName==="LINK")||n[t]!==(n[t]=e)&&(t==="loading"&&(i[sh]=e),e==null?i.removeAttribute(t):typeof e!="string"&&xa(i).includes(t)?i[t]=e:i.setAttribute(t,e))}function np(i,t,e){i.setAttributeNS("http://www.w3.org/1999/xlink",t,e)}function op(i,t,e){var r=He,n=De;let o=de;de&&ct(!1),St(null),Bt(null);try{t!=="style"&&(ya.has(i.getAttribute("is")||i.nodeName)||!customElements||customElements.get(i.getAttribute("is")||i.tagName.toLowerCase())?xa(i).includes(t):e&&typeof e=="object")?i[t]=e:Fe(i,t,e==null?e:String(e))}finally{St(r),Bt(n),o&&ct(!0)}}function ap(i,t,e,r,n=!1,o=!1){if(de&&n&&i.tagName==="INPUT"){var a=i,s=a.type==="checkbox"?"defaultChecked":"defaultValue";s in e||ba(a)}var c=ko(i),l=c[sc],u=!c[lc];let h=de&&l;h&&ct(!1);var d=t||{},p=i.tagName==="OPTION";for(var _ in t)_ in e||(e[_]=null);e.class?e.class=Pt(e.class):(r||e[Di])&&(e.class=null),e[Mi]&&(e.style??(e.style=null));var f=xa(i);for(const H in e){let V=e[H];if(p&&H==="value"&&V==null){i.value=i.__value="",d[H]=V;continue}if(H==="class"){var g=i.namespaceURI==="http://www.w3.org/1999/xhtml";Ue(i,g,V,r,t==null?void 0:t[Di],e[Di]),d[H]=V,d[Di]=e[Di];continue}if(H==="style"){Zr(i,V,t==null?void 0:t[Mi],e[Mi]),d[H]=V,d[Mi]=e[Mi];continue}var y=d[H];if(!(V===y&&!(V===void 0&&i.hasAttribute(H)))){d[H]=V;var S=H[0]+H[1];if(S!=="$$")if(S==="on"){const U={},I="$$"+H;let D=H.slice(2);var R=Qd(D);if(Yd(D)&&(D=D.slice(0,-7),U.capture=!0),!R&&y){if(V!=null)continue;i.removeEventListener(D,d[I],U),d[I]=null}if(V!=null)if(R)i[`__${D}`]=V,Ur([D]);else{let te=function(J){d[H].call(this,J)};d[I]=zl(D,i,te,U)}else R&&(i[`__${D}`]=void 0)}else if(H==="style")Fe(i,H,V);else if(H==="autofocus")hl(i,!!V);else if(!l&&(H==="__value"||H==="value"&&V!=null))i.value=i.__value=V;else if(H==="selected"&&p)cc(i,V);else{var E=H;u||(E=$d(E));var P=E==="defaultValue"||E==="defaultChecked";if(V==null&&!l&&!P)if(c[H]=null,E==="value"||E==="checked"){let U=i;const I=t===void 0;if(E==="value"){let D=U.defaultValue;U.removeAttribute(E),U.defaultValue=D,U.value=U.__value=I?D:null}else{let D=U.defaultChecked;U.removeAttribute(E),U.defaultChecked=D,U.checked=I?D:!1}}else i.removeAttribute(H);else P||f.includes(E)&&(l||typeof V!="string")?(i[E]=V,E in c&&(c[E]=lt)):typeof V!="function"&&Fe(i,E,V)}}}return h&&ct(!0),d}function Rt(i,t,e=[],r=[],n=[],o,a=!1,s=!1){Ki(n,e,r,c=>{var l=void 0,u={},h=i.nodeName==="SELECT",d=!1;if(_l(()=>{var _=t(...c.map(m)),f=ap(i,l,_,o,a,s);d&&h&&"value"in _&&on(i,_.value);for(let y of Object.getOwnPropertySymbols(u))_[y]||vt(u[y]);for(let y of Object.getOwnPropertySymbols(_)){var g=_[y];y.description===Es&&(!l||g!==l[y])&&(u[y]&&vt(u[y]),u[y]=Dt(()=>rc(i,()=>g))),f[y]=g}l=f}),h){var p=i;Yt(()=>{on(p,l.value,!0),wa(p)})}d=!0})}function ko(i){return i.__attributes??(i.__attributes={[sc]:i.nodeName.includes("-"),[lc]:i.namespaceURI===th})}var ya=new Map;function xa(i){var t=i.getAttribute("is")||i.nodeName,e=ya.get(t);if(e)return e;ya.set(t,e=[]);for(var r,n=i,o=Element.prototype;o!==n;){r=ks(n);for(var a in r)r[a].set&&e.push(a);n=Qn(n)}return e}function sp(i){Nt(document,["focusin","focusout"],t=>{t&&t.type==="focusout"&&t.relatedTarget||i(document.activeElement)})}function uc(i,t,e=t){var r=new WeakSet;en(i,"input",async n=>{var o=n?i.defaultValue:i.value;if(o=Ea(i)?ka(o):o,e(o),Me!==null&&r.add(Me),await la(),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))}}}),(de&&i.defaultValue!==i.value||We(t)==null&&i.value)&&(e(Ea(i)?ka(i.value):i.value),Me!==null&&r.add(Me)),ut(()=>{var n=t();if(i===document.activeElement){var o=Yi??Me;if(r.has(o))return}Ea(i)&&n===ka(i.value)||i.type==="date"&&!n&&!i.value||n!==i.value&&(i.value=n??"")})}const Ta=new Set;function lp(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),en(e,"change",()=>{var l=e.__value;o&&(l=hc(a,l,e.checked)),n(l)},()=>n(o?[]:null)),ut(()=>{var l=r();if(de&&e.defaultChecked!==e.checked){s=!0;return}o?(l=l||[],e.checked=l.includes(e.__value)):e.checked=al(e.__value,l)}),Xt(()=>{var l=a.indexOf(e);l!==-1&&a.splice(l,1)}),Ta.has(a)||(Ta.add(a),Gt(()=>{a.sort((l,u)=>l.compareDocumentPosition(u)===4?-1:1),Ta.delete(a)})),Gt(()=>{if(s){var l;if(o)l=hc(a,l,e.checked);else{var u=a.find(h=>h.checked);l=u==null?void 0:u.__value}n(l)}})}function cp(i,t,e=t){en(i,"change",r=>{var n=r?i.defaultChecked:i.checked;e(n)}),(de&&i.defaultChecked!==i.checked||We(t)==null)&&e(i.checked),ut(()=>{var r=t();i.checked=!!r})}function hc(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 Ea(i){var t=i.type;return t==="number"||t==="range"}function ka(i){return i===""?null:+i}function up(i,t,e=t){en(i,"change",()=>{e(i.files)}),de&&i.files&&e(i.files),ut(()=>{i.files=t()})}function Sa(i){for(var t=[],e=0;e<i.length;e+=1)t.push({start:i.start(e),end:i.end(e)});return t}function hp(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),ut(()=>{var a=Number(t());n!==a&&!isNaN(a)&&(i.currentTime=n=a)}),Xt(()=>{cancelAnimationFrame(r),i.removeEventListener("timeupdate",o)})}function dp(i,t){var e;Nt(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=Sa(r),t(e))})}function fp(i,t){Nt(i,["loadedmetadata"],()=>t(Sa(i.seekable)))}function pp(i,t){Nt(i,["timeupdate"],()=>t(Sa(i.played)))}function gp(i,t){Nt(i,["seeking","seeked"],()=>t(i.seeking))}function vp(i,t){Nt(i,["timeupdate","ended"],()=>t(i.ended))}function mp(i,t){Nt(i,["loadedmetadata","loadeddata","canplay","canplaythrough","playing","waiting","emptied"],()=>t(i.readyState))}function _p(i,t,e=t){Yt(()=>{var r=Number(t());r!==i.playbackRate&&!isNaN(r)&&(i.playbackRate=r)}),Yt(()=>{Nt(i,["ratechange"],()=>{e(i.playbackRate)})})}function wp(i,t,e=t){var r=t(),n=()=>{r!==i.paused&&e(r=i.paused)};Nt(i,["play","pause","canplay"],n,r==null),Yt(()=>{(r=!!t())!==i.paused&&(r?i.pause():i.play().catch(()=>{e(r=!0)}))})}function bp(i,t,e=t){var r=()=>{e(i.volume)};t()==null&&r(),Nt(i,["volumechange"],r,!1),ut(()=>{var n=Number(t());n!==i.volume&&!isNaN(n)&&(i.volume=n)})}function yp(i,t,e=t){var r=()=>{e(i.muted)};t()==null&&r(),Nt(i,["volumechange"],r,!1),ut(()=>{var n=!!t();i.muted!==n&&(i.muted=n)})}function xp(i){Nt(window,["online","offline"],()=>{i(navigator.onLine)})}function Tp(i,t,e){var r=cr(i,t);r&&r.set&&(i[t]=e,Xt(()=>{i[t]=null}))}const Fo=class Fo{constructor(t){ve(this,No);ve(this,Kr,new WeakMap);ve(this,Ui);ve(this,mn);Ie(this,mn,t)}observe(t,e){var r=O(this,Kr).get(t)||new Set;return r.add(e),O(this,Kr).set(t,r),et(this,No,Gu).call(this).observe(t,O(this,mn)),()=>{var n=O(this,Kr).get(t);n.delete(e),n.size===0&&(O(this,Kr).delete(t),O(this,Ui).unobserve(t))}}};Kr=new WeakMap,Ui=new WeakMap,mn=new WeakMap,No=new WeakSet,Gu=function(){return O(this,Ui)??Ie(this,Ui,new ResizeObserver(t=>{for(var e of t){Fo.entries.set(e.target,e);for(var r of O(this,Kr).get(e.target)||[])r(e)}}))},ot(Fo,"entries",new WeakMap);let sn=Fo;var Ep=new sn({box:"content-box"}),dc=new sn({box:"border-box"}),kp=new sn({box:"device-pixel-content-box"});function Sp(i,t,e){var r=t==="contentRect"||t==="contentBoxSize"?Ep:t==="borderBoxSize"?dc:kp,n=r.observe(i,o=>e(o[t]));Xt(n)}function Cp(i,t,e){var r=dc.observe(i,()=>e(i[t]));Yt(()=>(We(()=>e(i[t])),r))}function fc(i,t){return i===t||(i==null?void 0:i[Ot])===t}function Li(i={},t,e,r){return Yt(()=>{var n,o;return ut(()=>{n=o,o=(r==null?void 0:r())||[],We(()=>{i!==e(...o)&&(t(i,...o),n&&fc(e(...n),i)&&t(null,...n))})}),()=>{Gt(()=>{o&&fc(e(...o),i)&&t(null,...o)})}}),i}function Pp(i,t,e,r=e){t.addEventListener("input",()=>{r(t[i])}),ut(()=>{var n=e();if(t[i]!==n)if(n==null){var o=t[i];r(o)}else t[i]=n+""})}function Rp(i,t,e,r,n){var o=()=>{r(e[i])};e.addEventListener(t,o),n?ut(()=>{e[i]=n()}):o(),(e===document.body||e===window||e===document)&&Xt(()=>{e.removeEventListener(t,o)})}function Ap(i,t){Nt(i,["focus","blur"],()=>{t(i===document.activeElement)})}function Ip(i,t,e=t){var r=i==="x",n=()=>Vr(()=>{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;ut(()=>{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))}),Yt(n),Xt(()=>{removeEventListener("scroll",n)})}function Op(i,t){Nt(window,["resize"],()=>Vr(()=>t(window[i])))}function Dp(i){return function(...t){var e=t[0];e.isTrusted&&(i==null||i.apply(this,t))}}function Mp(i){return function(...t){var e=t[0];e.target===this&&(i==null||i.apply(this,t))}}function Lp(i){return function(...t){var e=t[0];return e.stopPropagation(),i==null?void 0:i.apply(this,t)}}function zp(i){var t=!1;return function(...e){if(!t)return t=!0,i==null?void 0:i.apply(this,e)}}function Hp(i){return function(...t){var e=t[0];return e.stopImmediatePropagation(),i==null?void 0:i.apply(this,t)}}function Np(i){return function(...t){var e=t[0];return e.preventDefault(),i==null?void 0:i.apply(this,t)}}function Fp(i=!1){const t=Ve,e=t.l.u;if(!e)return;let r=()=>ca(t.s);if(i){let n=0,o={};const a=Qi(()=>{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=()=>m(a)}e.b.length&&gl(()=>{pc(t,r),Zo(e.b)}),ht(()=>{const n=We(()=>e.m.map(nh));return()=>{for(const o of n)typeof o=="function"&&o()}}),e.a.length&&ht(()=>{pc(t,r),Zo(e.a)})}function pc(i,t){if(i.l.s)for(const e of i.l.s)m(e);t()}function Bp(i){var t=Wt(0);return function(){return arguments.length===1?(_e(t,m(t)+1),arguments[0]):(m(t),i())}}function Vp(i,t){var o;var e=(o=i.$$events)==null?void 0:o[t.type],r=Jr(e)?e.slice():e==null?[]:[e];for(var n of r)n.call(this,t)}function jp(i,t,e){var r;i.$$events||(i.$$events={}),(r=i.$$events)[t]||(r[t]=[]),i.$$events[t].push(e)}function Up(i){for(var t in i)t in this&&(this[t]=i[t])}function gc(i,t,e){if(i==null)return t(void 0),pr;const r=We(()=>i.subscribe(t,e));return r.unsubscribe?()=>r.unsubscribe():r}function Gp(i){let t;return gc(i,e=>t=e)(),t}let ln=!1,Ca=Symbol();function Zp(i,t,e){const r=e[t]??(e[t]={store:null,source:po(void 0),unsubscribe:pr});if(r.store!==i&&!(Ca in e))if(r.unsubscribe(),r.store=i??null,i==null)r.source.v=void 0,r.unsubscribe=pr;else{var n=!0;r.unsubscribe=gc(i,o=>{n?r.source.v=o:_e(r.source,o)}),n=!1}return i&&Ca in e?Gp(i):m(r.source)}function Wp(i,t,e){let r=e[t];return r&&r.store!==i&&(r.unsubscribe(),r.unsubscribe=pr),i}function vc(i,t){return i.set(t),t}function qp(i,t){var e=i[t];e.store!==null&&vc(e.store,e.source.v)}function Xp(){const i={};function t(){Xt(()=>{for(var e in i)i[e].unsubscribe();$r(i,Ca,{enumerable:!1,value:!0})})}return[i,t]}function Yp(i,t,e){return i.set(e),t}function Kp(i,t,e=1){return i.set(t+e),t}function Qp(i,t,e=1){const r=t+e;return i.set(r),r}function Jp(){ln=!0}function mc(i){var t=ln;try{return ln=!1,[i(),ln]}finally{ln=t}}function $p(i,t=1){const e=i();return i(e+t),e}function eg(i,t=1){const e=i()+t;return i(e),e}const tg={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 At(i,t,e){return new Proxy({props:i,exclude:t},tg)}const rg={get(i,t){if(!i.exclude.includes(t))return m(i.version),t in i.special?i.special[t]():i.props[t]},set(i,t,e){if(!(t in i.special)){var r=De;try{Bt(i.parent_effect),i.special[t]=ir({get[t](){return i.props[t]}},t,bs)}finally{Bt(r)}}return i.special[t](e),Ji(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),Ji(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 ig(i,t){return new Proxy({props:i,exclude:t,special:{},version:Wt(0),parent_effect:De},rg)}const ng={get(i,t){let e=i.props.length;for(;e--;){let r=i.props[e];if(yi(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];yi(n)&&(n=n());const o=cr(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(yi(r)&&(r=r()),typeof r=="object"&&r!==null&&t in r){const n=cr(r,t);return n&&!n.configurable&&(n.configurable=!0),n}}},has(i,t){if(t===Ot||t===io)return!1;for(let e of i.props)if(yi(e)&&(e=e()),e!=null&&t in e)return!0;return!1},ownKeys(i){const t=[];for(let e of i.props)if(yi(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 cn(...i){return new Proxy({props:i},ng)}function ir(i,t,e,r){var S;var n=(e&Xu)!==0,o=(e&Yu)!==0,a=r,s=!0,c=()=>(s&&(s=!1,a=o?We(r):r),a),l;if(n){var u=Ot in i||io in i;l=((S=cr(i,t))==null?void 0:S.set)??(u&&t in i?R=>i[t]=R:void 0)}var h,d=!1;n?[h,d]=mc(()=>i[t]):h=i[t],h===void 0&&r!==void 0&&(h=c(),l&&(Ch(),l(h)));var p;if(p=()=>{var R=i[t];return R===void 0?c():(s=!0,R)},(e&bs)===0)return p;if(l){var _=i.$$legacy;return(function(R,E){return arguments.length>0?((!E||_||d)&&l(E?p():R),R):p()})}var f=!1,g=((e&qu)!==0?Qi:ea)(()=>(f=!1,p()));n&&m(g);var y=De;return(function(R,E){if(arguments.length>0){const P=E?m(g):n?dt(R):R;return _e(g,P),f=!0,a!==void 0&&(a=P),R}return ui&&f||(y.f&mr)!==0?g.v:m(g)})}function og(i,t){ut(()=>{const e=new Map,r=i(),n=Jr(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),mh()}e.set(s,a)}})}function ag(i,t,e,r,n,o){$s(t,()=>{var a=!1;Xi==null||Xi[jt],ut(()=>{if(!a){var[s,c]=mc(e);if(!c){var l=r(),u=!1,h=ut(()=>{u||s[l]});u=!0,h.deps===null&&(Dh(),a=!0)}}})})}function sg(i){return new lg(i)}class lg{constructor(t){ve(this,Lr);ve(this,lr);var o;var e=new Map,r=(a,s)=>{var c=po(s,!1,!1);return e.set(a,c),c};const n=new Proxy({...t.props||{},$$events:{}},{get(a,s){return m(e.get(s)??r(s,Reflect.get(a,s)))},has(a,s){return s===io?!0:(m(e.get(s)??r(s,Reflect.get(a,s))),Reflect.has(a,s))},set(a,s,c){return _e(e.get(s)??r(s,c),c),Reflect.set(a,s,c)}});Ie(this,lr,(t.hydrate?Vl:ha)(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)&&Ht(),Ie(this,Lr,n.$$events);for(const a of Object.keys(O(this,lr)))a==="$set"||a==="$destroy"||a==="$on"||$r(this,a,{get(){return O(this,lr)[a]},set(s){O(this,lr)[a]=s},enumerable:!0});O(this,lr).$set=a=>{Object.assign(n,a)},O(this,lr).$destroy=()=>{Ul(O(this,lr))}}$set(t){O(this,lr).$set(t)}$on(t,e){O(this,Lr)[t]=O(this,Lr)[t]||[];const r=(...n)=>e.call(this,...n);return O(this,Lr)[t].push(r),()=>{O(this,Lr)[t]=O(this,Lr)[t].filter(n=>n!==r)}}$destroy(){O(this,lr).$destroy()}}Lr=new WeakMap,lr=new WeakMap;let _c;typeof HTMLElement=="function"&&(_c=class extends HTMLElement{constructor(t,e,r){super();ot(this,"$$ctor");ot(this,"$$s");ot(this,"$$c");ot(this,"$$cn",!1);ot(this,"$$d",{});ot(this,"$$r",!1);ot(this,"$$p_d",{});ot(this,"$$l",{});ot(this,"$$l_u",new Map);ot(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),k(o,a)}};if(await Promise.resolve(),!this.$$cn||this.$$c)return;const e={},r=cg(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]=So(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=sg({component:this.$$ctor,target:this.shadowRoot||this,props:{...this.$$d,$$slots:e,$$host:this}}),this.$$me=ml(()=>{ut(()=>{var n;this.$$r=!0;for(const o of Kn(this.$$c)){if(!((n=this.$$p_d[o])!=null&&n.reflect))continue;this.$$d[o]=this.$$c[o];const a=So(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]=So(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 Kn(this.$$p_d).find(e=>this.$$p_d[e].attribute===t||!this.$$p_d[e].attribute&&e.toLowerCase()===t)||t}});function So(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 cg(i){const t={};return i.childNodes.forEach(e=>{t[e.slot||"default"]=!0}),t}function wc(i,t,e,r,n,o){let a=class extends _c{constructor(){super(i,e,n),this.$$p_d=t}static get observedAttributes(){return Kn(t).map(s=>(t[s].attribute||s).toLowerCase())}};return Kn(t).forEach(s=>{$r(a.prototype,s,{get(){return this.$$c&&s in this.$$c?this.$$c[s]:this.$$d[s]},set(c){var h;c=So(s,c,t),this.$$d[s]=c;var l=this.$$c;if(l){var u=(h=cr(l,s))==null?void 0:h.get;u?l[s]=c:l.$set({[s]:c})}}})}),r.forEach(s=>{$r(a.prototype,s,{get(){var c;return(c=this.$$c)==null?void 0:c[s]}})}),o&&(a=o(a)),i.element=a,a}function ug(i,...t){return We(()=>{try{let e=!1;const r=[];for(const n of t)n&&typeof n=="object"&&Ot in n?(r.push(oo(n,!0)),e=!0):r.push(n);e&&(Mh(i),console.log("%c[snapshot]","color: grey",...r))}catch{}}),t}const hg=Object.freeze(Object.defineProperty({__proto__:null,CLASS:Di,FILENAME:jt,HMR:xs,NAMESPACE_SVG:Xn,STYLE:Mi,aborted:go,action:Or,get active_effect(){return De},add_legacy_event_listener:jp,add_locations:xf,add_svelte_meta:Kh,animation:jf,append:k,append_styles:Wf,apply:Vd,assign:mf,assign_and:_f,assign_nullish:bf,assign_or:wf,async:Rf,async_body:hd,async_derived:el,attach:rc,attachment:vf,attr:Kf,attribute_effect:Rt,autofocus:hl,await:If,bind_active_element:sp,bind_buffered:dp,bind_checked:cp,bind_content_editable:Pp,bind_current_time:hp,bind_element_size:Cp,bind_ended:vp,bind_files:up,bind_focused:Ap,bind_group:lp,bind_muted:yp,bind_online:xp,bind_paused:wp,bind_playback_rate:_p,bind_played:pp,bind_prop:Tp,bind_property:Rp,bind_ready_state:mp,bind_resize_observer:Sp,bind_seekable:fp,bind_seeking:gp,bind_select_value:$f,bind_this:Li,bind_value:uc,bind_volume:bp,bind_window_scroll:Ip,bind_window_size:Op,boundary:Js,bubble_event:Vp,check_target:Sf,child:W,cleanup_styles:yf,clsx:Pt,comment:ee,component:Oi,create_custom_element:wc,create_ownership_validator:kf,css_props:Of,deep_read:_o,deep_read_state:ca,deferred_template_effect:Rd,delegate:Ur,derived:ie,derived_safe_equal:ea,get document(){return sl},each:Qt,eager:id,effect:Yt,effect_root:ml,effect_tracking:si,element:Gf,equals:_d,event:wo,exclude_from_object:Nd,fallback:oh,first_child:K,flush:Ht,for_await_track_reactivity_loss:ud,from_html:pe,from_mathml:jd,from_svg:$,from_tree:Ud,get:m,head:Zf,hmr:Ef,html:xr,hydrate_template:Vh,if:B,index:di,init:Fp,init_select:wa,inspect:Pf,invalid_default_snippet:ch,invalidate_inner_signals:Od,invalidate_store:qp,invoke_error_boundary:Ir,key:Kl,legacy_api:Cf,legacy_pre_effect:Sd,legacy_pre_effect_reset:Cd,legacy_rest_props:ig,log_if_contains_state:ug,mark_store_binding:Jp,mutable_source:po,mutate:gd,next:Tt,noop:pr,once:zp,pending:ld,pop:Ke,preventDefault:Np,prevent_snippet_stringification:Gl,prop:ir,props_id:Wd,proxy:dt,push:Ye,raf:Tr,reactive_import:Bp,remove_input_defaults:ba,remove_textarea_child:Td,render_effect:ut,replay_events:Bd,reset:G,rest_props:At,run:dd,run_after_blockers:$s,safe_get:zd,sanitize_slots:Hf,save:cd,select_option:on,self:Mp,set:_e,set_attribute:Fe,set_checked:tp,set_class:Ue,set_custom_element_data:op,set_default_checked:rp,set_default_value:ip,set_selected:cc,set_style:Zr,set_text:Qe,set_value:ep,set_xlink_attribute:np,setup_stores:Xp,sibling:le,slot:zf,snapshot:oo,snippet:Ct,spread_props:cn,state:ke,stopImmediatePropagation:Hp,stopPropagation:Lp,store_get:Zp,store_mutate:Yp,store_set:vc,store_unsub:Wp,strict_equals:md,tag:qh,tag_proxy:Us,template_effect:ze,text:kt,tick:la,to_array:ah,trace:Wh,track_reactivity_loss:$o,transition:Uf,trusted:Dp,untrack:We,update:Ji,update_legacy_props:Up,update_pre:vd,update_pre_prop:eg,update_pre_store:Qp,update_prop:$p,update_store:Kp,user_effect:ht,user_pre_effect:gl,validate_binding:ag,validate_dynamic_element_tag:af,validate_each_keys:og,validate_snippet_args:Af,validate_store:sf,validate_void_dynamic_element:of,get window(){return ra},with_script:Gd,wrap_snippet:lf},Symbol.toStringTag,{value:"Module"})),dg="5";typeof window<"u"&&((Lu=window.__svelte??(window.__svelte={})).v??(Lu.v=new Set)).add(dg);const fg=`/*! 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-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}.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-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}.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\\/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-40{height:calc(var(--spacing)*40)}.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-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-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-\\[90px\\]{width:90px}.w-\\[140px\\]{width:140px}.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-1{grid-template-columns:repeat(1,minmax(0,1fr))}.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)}: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-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}.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-2{padding-inline-start:calc(var(--spacing)*2)}.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:48rem){.md\\:grid-cols-\\[200px_1fr\\]{grid-template-columns:200px 1fr}}@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 bc=(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})(),Co=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Pa(i){return i&&i.__esModule&&Object.prototype.hasOwnProperty.call(i,"default")?i.default:i}function pg(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 st={},yc;function gg(){if(yc)return st;yc=1,Object.defineProperty(st,"__esModule",{value:!0}),st.ViewingHint=st.ViewingDirection=st.ServiceType=st.ServiceProfile=st.RenderingFormat=st.MediaType=st.IIIFResourceType=st.ExternalResourceType=st.Behavior=st.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||(st.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||(st.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||(st.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||(st.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||(st.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||(st.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||(st.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||(st.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||(st.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||(st.ViewingHint=l={})),st}var ue=gg(),vg=(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)}})(),Dr=(function(i){vg(t,i);function t(e,r){var n=i.call(this,e)||this;return n.options=r,n}return t.prototype.getIIIFResourceType=function(){return Be.normaliseType(this.getProperty("type"))},t.prototype.getLabel=function(){var e=this.getProperty("label");return e?or.parse(e,this.options.locale):new or([],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 Io(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 Qg(o,this.options))}return r},t.prototype.getRequiredStatement=function(){var e=null,r=this.getProperty("requiredStatement");return r&&(e=new Io(this.options.locale),e.parse(r)),e},t.prototype.getService=function(e){return Be.getService(this,e)},t.prototype.getServices=function(){return Be.getServices(this)},t.prototype.getThumbnail=function(){var e=this.getProperty("thumbnail");return Array.isArray(e)&&(e=e[0]),e?new i0(e,this.options):null},t.prototype.isAnnotation=function(){return this.getIIIFResourceType()===ue.IIIFResourceType.ANNOTATION},t.prototype.isCanvas=function(){return this.getIIIFResourceType()===ue.IIIFResourceType.CANVAS},t.prototype.isCollection=function(){return this.getIIIFResourceType()===ue.IIIFResourceType.COLLECTION},t.prototype.isManifest=function(){return this.getIIIFResourceType()===ue.IIIFResourceType.MANIFEST},t.prototype.isRange=function(){return this.getIIIFResourceType()===ue.IIIFResourceType.RANGE},t.prototype.isSequence=function(){return this.getIIIFResourceType()===ue.IIIFResourceType.SEQUENCE},t})(bc),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)}})(),Ra=(function(i){mg(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 Po(n,this.options);e.push(o)}return e},t.prototype.getType=function(){var e=this.getProperty("type");return e?Be.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})(Dr),_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)}})(),xc=(function(i){_g(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?or.parse(e,this.options.locale):new or([],this.options.locale)},t.prototype.getDescription=function(){var e=this.getProperty("description");return e===void 0&&(e=this.getProperty("summary")),e?or.parse(e,this.options.locale):new or([],this.options.locale)},t.prototype.getSummary=function(){var e=this.getProperty("summary");return e===void 0&&(e=this.getProperty("description")),e?or.parse(e,this.options.locale):new or([],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 Be.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 Be.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(ue.ServiceProfile.TRACKING_EXTENSIONS);return e?e.getProperty("trackingLabel"):""},t.prototype.getDefaultTree=function(){return this.defaultTree=new Ja("root"),this.defaultTree.data=this,this.defaultTree},t.prototype.getRequiredStatement=function(){var e=null,r=this.getProperty("requiredStatement");if(r)e=new Io(this.options.locale),e.parse(r);else{var n=this.getAttribution();n&&n.length&&(e=new Io(this.options.locale),e.value=n)}return e},t.prototype.isCollection=function(){return this.getIIIFResourceType()===ue.IIIFResourceType.COLLECTION},t.prototype.isManifest=function(){return this.getIIIFResourceType()===ue.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"]),Be.loadManifest(o).then(function(a){e.parentLabel=e.getLabel().getValue(n.locale);var s=Wc.parse(a,n);e=Object.assign(e,s),e.index=n.index,r(e)})}})},t})(Dr),wg=(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)}})(),Po=(function(i){wg(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 Ro(s,this.options))}else e.push(new Ro(o,this.options))}else if(r.items)for(var n=0;n<r.items.length;n++){var o=r.items[n];e.push(new Ro(o,this.options))}else e.push(new Ro(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 Ra(this.getProperty("resource"),this.options)},t})(Dr),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)}})(),Ro=(function(i){bg(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?Be.getMediaType(e):null},t.prototype.getType=function(){var e=this.getProperty("type");return e?Be.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})(Dr),yg=(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)}})(),xg=(function(i){yg(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 Be.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 Po(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"]),Be.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})(bc),Tg=(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)}})(),Tc=(function(i){Tg(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 Po(r[n],this.options);e.push(o)}return e},t})(Dr),Aa,Ec;function Eg(){if(Ec)return Aa;Ec=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 Aa=i,Aa}var Ia,kc;function kg(){if(kc)return Ia;kc=1;var i=typeof Co=="object"&&Co&&Co.Object===Object&&Co;return Ia=i,Ia}var Oa,Sc;function Sg(){if(Sc)return Oa;Sc=1;var i=kg(),t=typeof self=="object"&&self&&self.Object===Object&&self,e=i||t||Function("return this")();return Oa=e,Oa}var Da,Cc;function Ma(){if(Cc)return Da;Cc=1;var i=Sg(),t=i.Symbol;return Da=t,Da}var La,Pc;function Cg(){if(Pc)return La;Pc=1;var i=Ma(),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 La=o,La}var za,Rc;function Pg(){if(Rc)return za;Rc=1;var i=Object.prototype,t=i.toString;function e(r){return t.call(r)}return za=e,za}var Ha,Ac;function Rg(){if(Ac)return Ha;Ac=1;var i=Ma(),t=Cg(),e=Pg(),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 Ha=a,Ha}var Na,Ic;function Oc(){if(Ic)return Na;Ic=1;function i(t){return t!=null&&typeof t=="object"}return Na=i,Na}var Fa,Dc;function Ag(){if(Dc)return Fa;Dc=1;var i=Rg(),t=Oc(),e="[object Arguments]";function r(n){return t(n)&&i(n)==e}return Fa=r,Fa}var Ba,Mc;function Ig(){if(Mc)return Ba;Mc=1;var i=Ag(),t=Oc(),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 Ba=o,Ba}var Va,Lc;function Og(){if(Lc)return Va;Lc=1;var i=Array.isArray;return Va=i,Va}var ja,zc;function Dg(){if(zc)return ja;zc=1;var i=Ma(),t=Ig(),e=Og(),r=i?i.isConcatSpreadable:void 0;function n(o){return e(o)||t(o)||!!(r&&o&&o[r])}return ja=n,ja}var Ua,Hc;function Nc(){if(Hc)return Ua;Hc=1;var i=Eg(),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 Ua=e,Ua}var Ga,Fc;function Mg(){if(Fc)return Ga;Fc=1;var i=Nc();function t(e){var r=e==null?0:e.length;return r?i(e,1):[]}return Ga=t,Ga}var Lg=Mg();const Za=Pa(Lg);var Wa,Bc;function zg(){if(Bc)return Wa;Bc=1;var i=Nc(),t=1/0;function e(r){var n=r==null?0:r.length;return n?i(r,t):[]}return Wa=e,Wa}var Hg=zg();const Vc=Pa(Hg);var Ng=(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)}})(),Ao=(function(i){Ng(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(),d=h.getServices();s||(s=h.getWidth());var p=d?d.find(function(S){return Be.isImageProfile(S.getProfile())||Be.isImageServiceType(S.getIIIFResourceType())}):null;if(p)r=p.id,a=Be.getImageQuality(p.getProfile());else if(s===h.getWidth())return h.id}if(l=this.getContent(),l&&l.length){var u=l[0],_=u.getBody(),f=_[0],d=f.getServices();s||(s=f.getWidth());var p=d?d.find(function(P){return Be.isImageServiceType(P.getIIIFResourceType())}):null;if(p)r=p.id,a=Be.getImageQuality(p.getProfile());else if(s===f.getWidth())return f.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 y=[r,n,c,o,a+".jpg"].join("/");return y},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 e0(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 Tc(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 Tc(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 Po(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 xg(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=Vc([this.getImages().map(function(n){return n.getResource()}),this.getContent().map(function(n){return n.getBody()})]);return Za(r.map(function(n){switch(n.getProperty("type").toLowerCase()){case ue.ExternalResourceType.CHOICE:case ue.ExternalResourceType.OA_CHOICE:return new t({images:Za([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 Vc([this.getImages(),this.getContent()])},enumerable:!1,configurable:!0}),t.prototype.resourceAnnotation=function(e){return this.resourceAnnotations.find(function(r){return r.getResource().id===e||Za(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})(Ra),Fg=(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)}})(),Bg=(function(i){Fg(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"):ue.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=Be.normaliseType(Er.COLLECTION),this._parseManifests(this),this._parseCollections(this),Be.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=Be.normaliseType(Er.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=Be.normaliseType(Er.COLLECTION),e.defaultTree.addNode(o)}},t})(xc),qa=(function(){function i(t,e){this.start=t,this.end=e}return i.prototype.getLength=function(){return this.end-this.start},i})(),Io=(function(){function i(t){this.defaultLocale=t}return i.prototype.parse=function(t){this.resource=t,this.label=or.parse(this.resource.label,this.defaultLocale),this.value=or.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 or([])),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 or([])),this.value.setValue(t,this.defaultLocale)},i})(),Vg=(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){Vg(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 be={},jc;function jg(){return jc||(jc=1,Object.defineProperty(be,"__esModule",{value:!0}),be.CONTINUE=100,be.SWITCHING_PROTOCOLS=101,be.PROCESSING=102,be.OK=200,be.CREATED=201,be.ACCEPTED=202,be.NON_AUTHORITATIVE_INFORMATION=203,be.NO_CONTENT=204,be.RESET_CONTENT=205,be.PARTIAL_CONTENT=206,be.MULTI_STATUS=207,be.MULTIPLE_CHOICES=300,be.MOVED_PERMANENTLY=301,be.MOVED_TEMPORARILY=302,be.SEE_OTHER=303,be.NOT_MODIFIED=304,be.USE_PROXY=305,be.TEMPORARY_REDIRECT=307,be.BAD_REQUEST=400,be.UNAUTHORIZED=401,be.PAYMENT_REQUIRED=402,be.FORBIDDEN=403,be.NOT_FOUND=404,be.METHOD_NOT_ALLOWED=405,be.NOT_ACCEPTABLE=406,be.PROXY_AUTHENTICATION_REQUIRED=407,be.REQUEST_TIME_OUT=408,be.CONFLICT=409,be.GONE=410,be.LENGTH_REQUIRED=411,be.PRECONDITION_FAILED=412,be.REQUEST_ENTITY_TOO_LARGE=413,be.REQUEST_URI_TOO_LARGE=414,be.UNSUPPORTED_MEDIA_TYPE=415,be.REQUESTED_RANGE_NOT_SATISFIABLE=416,be.EXPECTATION_FAILED=417,be.IM_A_TEAPOT=418,be.UNPROCESSABLE_ENTITY=422,be.LOCKED=423,be.FAILED_DEPENDENCY=424,be.UNORDERED_COLLECTION=425,be.UPGRADE_REQUIRED=426,be.PRECONDITION_REQUIRED=428,be.TOO_MANY_REQUESTS=429,be.REQUEST_HEADER_FIELDS_TOO_LARGE=431,be.INTERNAL_SERVER_ERROR=500,be.NOT_IMPLEMENTED=501,be.BAD_GATEWAY=502,be.SERVICE_UNAVAILABLE=503,be.GATEWAY_TIME_OUT=504,be.HTTP_VERSION_NOT_SUPPORTED=505,be.VARIANT_ALSO_NEGOTIATES=506,be.INSUFFICIENT_STORAGE=507,be.BANDWIDTH_LIMIT_EXCEEDED=509,be.NOT_EXTENDED=510,be.NETWORK_AUTHENTICATION_REQUIRED=511),be}var nr=jg();function Ug(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,d){o.push(h=h.toLowerCase()),a.push([h,d]),s[h]=s[h]?s[h]+","+d:d}),e(c())},n.onerror=r,n.withCredentials=t.credentials=="include",t.headers)n.setRequestHeader(l,t.headers[l]);n.send(t.body||null)})}const Uc=pg(Object.freeze(Object.defineProperty({__proto__:null,default:Ug},Symbol.toStringTag,{value:"Module"})));var Xa,Gc;function Gg(){return Gc||(Gc=1,Xa=self.fetch||(self.fetch=Uc.default||Uc)),Xa}Gg();var Ya=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())})},Ka=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}}},Be=(function(){function i(){}return i.getMediaType=function(t){return t=t.toLowerCase(),t=t.split(";")[0],t.trim()},i.getImageQuality=function(t){return t===ue.ServiceProfile.IMAGE_0_COMPLIANCE_LEVEL_1||t===ue.ServiceProfile.IMAGE_0_COMPLIANCE_LEVEL_2||t===ue.ServiceProfile.IMAGE_1_COMPLIANCE_LEVEL_1||t===ue.ServiceProfile.IMAGE_1_COMPLIANCE_LEVEL_2||t===ue.ServiceProfile.IMAGE_0_CONFORMANCE_LEVEL_1||t===ue.ServiceProfile.IMAGE_0_CONFORMANCE_LEVEL_2||t===ue.ServiceProfile.IMAGE_1_CONFORMANCE_LEVEL_1||t===ue.ServiceProfile.IMAGE_1_CONFORMANCE_LEVEL_2||t===ue.ServiceProfile.IMAGE_1_LEVEL_1||t===ue.ServiceProfile.IMAGE_1_PROFILE_LEVEL_1||t===ue.ServiceProfile.IMAGE_1_LEVEL_2||t===ue.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,ue.ServiceProfile.IMAGE_0_COMPLIANCE_LEVEL_0)||i.normalisedUrlsMatch(t,ue.ServiceProfile.IMAGE_0_COMPLIANCE_LEVEL_1)||i.normalisedUrlsMatch(t,ue.ServiceProfile.IMAGE_0_COMPLIANCE_LEVEL_2)||i.normalisedUrlsMatch(t,ue.ServiceProfile.IMAGE_1_COMPLIANCE_LEVEL_0)||i.normalisedUrlsMatch(t,ue.ServiceProfile.IMAGE_1_COMPLIANCE_LEVEL_2)||i.normalisedUrlsMatch(t,ue.ServiceProfile.IMAGE_0_CONFORMANCE_LEVEL_0)||i.normalisedUrlsMatch(t,ue.ServiceProfile.IMAGE_0_CONFORMANCE_LEVEL_1)||i.normalisedUrlsMatch(t,ue.ServiceProfile.IMAGE_0_CONFORMANCE_LEVEL_2)||i.normalisedUrlsMatch(t,ue.ServiceProfile.IMAGE_1_CONFORMANCE_LEVEL_1)||i.normalisedUrlsMatch(t,ue.ServiceProfile.IMAGE_1_CONFORMANCE_LEVEL_2)||i.normalisedUrlsMatch(t,ue.ServiceProfile.IMAGE_1_LEVEL_0)||i.normalisedUrlsMatch(t,ue.ServiceProfile.IMAGE_1_PROFILE_LEVEL_0)||i.normalisedUrlsMatch(t,ue.ServiceProfile.IMAGE_1_LEVEL_1)||i.normalisedUrlsMatch(t,ue.ServiceProfile.IMAGE_1_PROFILE_LEVEL_1)||i.normalisedUrlsMatch(t,ue.ServiceProfile.IMAGE_1_LEVEL_2)||i.normalisedUrlsMatch(t,ue.ServiceProfile.IMAGE_1_PROFILE_LEVEL_2)||i.normalisedUrlsMatch(t,ue.ServiceProfile.IMAGE_2_LEVEL_0)||i.normalisedUrlsMatch(t,ue.ServiceProfile.IMAGE_2_PROFILE_LEVEL_0)||i.normalisedUrlsMatch(t,ue.ServiceProfile.IMAGE_2_LEVEL_1)||i.normalisedUrlsMatch(t,ue.ServiceProfile.IMAGE_2_PROFILE_LEVEL_1)||i.normalisedUrlsMatch(t,ue.ServiceProfile.IMAGE_2_LEVEL_2)||i.normalisedUrlsMatch(t,ue.ServiceProfile.IMAGE_2_PROFILE_LEVEL_2))},i.isImageServiceType=function(t){return t!==null&&t.toLowerCase()===ue.ServiceType.IMAGE_SERVICE_2.toLowerCase()||t===ue.ServiceType.IMAGE_SERVICE_3.toLowerCase()},i.isLevel0ImageProfile=function(t){return!!(i.normalisedUrlsMatch(t,ue.ServiceProfile.IMAGE_0_COMPLIANCE_LEVEL_0)||i.normalisedUrlsMatch(t,ue.ServiceProfile.IMAGE_1_COMPLIANCE_LEVEL_0)||i.normalisedUrlsMatch(t,ue.ServiceProfile.IMAGE_0_CONFORMANCE_LEVEL_0)||i.normalisedUrlsMatch(t,ue.ServiceProfile.IMAGE_1_CONFORMANCE_LEVEL_0)||i.normalisedUrlsMatch(t,ue.ServiceProfile.IMAGE_1_LEVEL_0)||i.normalisedUrlsMatch(t,ue.ServiceProfile.IMAGE_1_PROFILE_LEVEL_0)||i.normalisedUrlsMatch(t,ue.ServiceProfile.IMAGE_2_LEVEL_0)||i.normalisedUrlsMatch(t,ue.ServiceProfile.IMAGE_2_PROFILE_LEVEL_0))},i.isLevel1ImageProfile=function(t){return!!(i.normalisedUrlsMatch(t,ue.ServiceProfile.IMAGE_0_COMPLIANCE_LEVEL_1)||i.normalisedUrlsMatch(t,ue.ServiceProfile.IMAGE_1_COMPLIANCE_LEVEL_1)||i.normalisedUrlsMatch(t,ue.ServiceProfile.IMAGE_0_CONFORMANCE_LEVEL_1)||i.normalisedUrlsMatch(t,ue.ServiceProfile.IMAGE_1_CONFORMANCE_LEVEL_1)||i.normalisedUrlsMatch(t,ue.ServiceProfile.IMAGE_1_LEVEL_1)||i.normalisedUrlsMatch(t,ue.ServiceProfile.IMAGE_1_PROFILE_LEVEL_1)||i.normalisedUrlsMatch(t,ue.ServiceProfile.IMAGE_2_LEVEL_1)||i.normalisedUrlsMatch(t,ue.ServiceProfile.IMAGE_2_PROFILE_LEVEL_1))},i.isLevel2ImageProfile=function(t){return!!(i.normalisedUrlsMatch(t,ue.ServiceProfile.IMAGE_0_COMPLIANCE_LEVEL_2)||i.normalisedUrlsMatch(t,ue.ServiceProfile.IMAGE_1_COMPLIANCE_LEVEL_2)||i.normalisedUrlsMatch(t,ue.ServiceProfile.IMAGE_0_CONFORMANCE_LEVEL_2)||i.normalisedUrlsMatch(t,ue.ServiceProfile.IMAGE_1_CONFORMANCE_LEVEL_2)||i.normalisedUrlsMatch(t,ue.ServiceProfile.IMAGE_1_LEVEL_2)||i.normalisedUrlsMatch(t,ue.ServiceProfile.IMAGE_1_PROFILE_LEVEL_2)||i.normalisedUrlsMatch(t,ue.ServiceProfile.IMAGE_2_LEVEL_2)||i.normalisedUrlsMatch(t,ue.ServiceProfile.IMAGE_2_PROFILE_LEVEL_2))},i.parseManifest=function(t,e){return Wc.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(d){return i.loadExternalResourceAuth1(d,e,r,n,o,a,s,c)});Promise.all(h).then(function(){l(t)}).catch(function(d){u(d)})})},i.loadExternalResourceAuth1=function(t,e,r,n,o,a,s,c){return Ya(this,void 0,void 0,function(){var l;return Ka(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!==nr.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===nr.OK||t.status===nr.MOVED_TEMPORARILY)return[2,t];throw i.createAuthorizationFailedError();case 6:return[4,t.getData()];case 7:return u.sent(),t.status===nr.MOVED_TEMPORARILY||t.status===nr.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===nr.OK||t.status===nr.MOVED_TEMPORARILY)return[2,t];throw i.createAuthorizationFailedError()}})})},i.doAuthChain=function(t,e,r,n,o,a,s){return Ya(this,void 0,void 0,function(){var c,l,u,h,d,p,_,f,f;return Ka(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===nr.MOVED_TEMPORARILY?[4,a(t)]:[3,2]):[2,t];case 1:return g.sent(),[2,t];case 2:return d=null,p=null,d=c,d?(p=d,[4,i.attemptResourceWithToken(t,r,d)]):[3,4];case 3:return g.sent(),[2,t];case 4:return d=l,d?(p=d,_=e(d),_?[4,n(_)]:[3,7]):[3,7];case 5:return g.sent(),[4,i.attemptResourceWithToken(t,r,d)];case 6:return g.sent(),[2,t];case 7:return d=u,d?(p=d,[4,o(t,d)]):[3,11];case 8:return f=g.sent(),f?[4,n(f)]:[3,11];case 9:return g.sent(),[4,i.attemptResourceWithToken(t,r,d)];case 10:return g.sent(),[2,t];case 11:return d=h,d?(p=d,[4,o(t,d)]):[3,15];case 12:return f=g.sent(),f?[4,n(f)]:[3,15];case 13:return g.sent(),[4,i.attemptResourceWithToken(t,r,d)];case 14:return g.sent(),[2,t];case 15:return p&&s(t,p),[2]}})})},i.attemptResourceWithToken=function(t,e,r){return Ya(this,void 0,void 0,function(){var n,o;return Ka(this,function(a){switch(a.label){case 0:return n=r.getService(ue.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,d){var p=t.map(function(_){return i.loadExternalResourceAuth09(_,e,r,n,o,a,s,c,l,u)});Promise.all(p).then(function(){h(t)}).catch(function(_){d(_)})})},i.loadExternalResourceAuth09=function(t,e,r,n,o,a,s,c,l,u){return new Promise(function(h,d){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(p){t.getData(p).then(function(){h(l(t))}).catch(function(_){d(i.createInternalServerError(_))})}).catch(function(p){d(i.createInternalServerError(p))})}).catch(function(p){d(i.createInternalServerError(p))}):h(t)}).catch(function(p){d(i.createInternalServerError(p))}):c(t,e).then(function(p){p?t.getData(p).then(function(){t.status===nr.OK?h(l(t)):i.authorize(t,e,r,n,o,a,s,c).then(function(){h(l(t))}).catch(function(_){d(i.createAuthorizationFailedError())})}).catch(function(_){d(i.createAuthorizationFailedError())}):i.authorize(t,e,r,n,o,a,s,c).then(function(){h(l(t))}).catch(function(_){d(i.createAuthorizationFailedError())})}).catch(function(p){d(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(un.AUTHORIZATION_FAILED,"Authorization failed")},i.createRestrictedError=function(){return i.createError(un.RESTRICTED,"Restricted")},i.createInternalServerError=function(t){return i.createError(un.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===nr.OK?l(t):i.showAuthInteraction(t,e,r,n,o,a,s,l,u)}).catch(function(d){u(i.createInternalServerError(d))}):a(t,!1).then(function(d){d?s(t,d,e).then(function(){t.getData(d).then(function(){t.status===nr.OK?l(t):i.showAuthInteraction(t,e,r,n,o,a,s,l,u)}).catch(function(p){u(i.createInternalServerError(p))})}).catch(function(p){u(i.createInternalServerError(p))}):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===nr.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 d=0;d<h.length;d++){var p=h[d];if(typeof p=="string"){var _=this.getResourceById(t.options.resource,p);_&&u.push(new qc(_.__jsonld||_,t.options))}else u.push(new qc(p,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})(),Zg=(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)}})(),zi=(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})(),or=(function(i){Zg(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 zi.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 zi(e,void 0,r)],r);if(e["@language"]){var n=zi.parseV2Value(e);return new t(n!==null?[n]:[],r)}else if(e["@value"]){var n=zi.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 zi(s,a,r)}),r)}},t.prototype.getSuitableLocale=function(e){for(var r=Array.from(this.values()).map(function(p){return p._locale}).filter(function(p){return p!==void 0}),n=function(p){var _=r.find(function(f){return f===p});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(p){var _=r.find(function(f){return Be.getInexactLocale(f)===Be.getInexactLocale(p)});if(_)return{value:_}},u=0,h=e;u<h.length;u++){var s=h[u],d=l(s);if(typeof d=="object")return d.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 zi(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),Wg=(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)}})(),qg=(function(i){Wg(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 Ao(e,this.options)),e},t.prototype.getAccompanyingCanvas=function(){var e=this.getProperty("accompanyingCanvas");return e&&(e=new Ao(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=Be.normaliseType(Er.MANIFEST),!this.isLoaded)return this.defaultTree;var e=this.getTopRanges();return e.length&&e[0].getTree(this.defaultTree),Be.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===ue.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 Yg(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 d=h.getRanges();return d.length?d.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 Zc(n,this.options);this.items.push(o)}else if(this.__jsonld.items){var o=new Zc(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(ue.ServiceProfile.UI_EXTENSIONS);return e?e.getProperty("manifestType"):Qa.EMPTY},t.prototype.isMultiSequence=function(){return this.getTotalSequences()>1},t.prototype.isPagingEnabled=function(){var e=this.getViewingHint();if(e)return e===ue.ViewingHint.PAGED;var r=this.getBehavior();return r?r===ue.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})(xc),Qa;(function(i){i.EMPTY="",i.MANUSCRIPT="manuscript",i.MONOGRAPH="monograph"})(Qa||(Qa={}));var Xg=(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)}})(),Yg=(function(i){Xg(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 qa(Math.min.apply(Math,e),Math.max.apply(Math,r))}else{for(var h=this.getRanges(),e=[],r=[],d=0,p=h;d<p.length;d++){var _=p[d],f=_.getDuration();f&&(e.push(f.start),r.push(f.end))}if(e.length&&r.length)return new qa(Math.min.apply(Math,e),Math.max.apply(Math,r))}var g,y;if(this.canvases&&this.canvases.length)for(var S=0;S<this.canvases.length;S++){var a=this.canvases[S],R=Be.getTemporalComponent(a);R&&R.length>1&&(S===0&&(g=Number(R[0])),S===this.canvases.length-1&&(y=Number(R[1])))}else for(var h=this.getRanges(),S=0;S<h.length;S++){var _=h[S],f=_.getDuration();f&&(S===0&&(g=f.start),S===h.length-1&&(y=f.end))}if(g!==void 0&&y!==void 0)return new qa(g,y)},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 Ja;e.addNode(a),this._parseTreeNode(a,o)}return Be.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=Be.normaliseType(Er.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!==ue.Behavior.NO_NAV){var c=new Ja;e.addNode(c),this._parseTreeNode(c,a)}}},t})(Dr),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)}})(),Qg=(function(i){Kg(t,i);function t(e,r){return i.call(this,e,r)||this}return t.prototype.getFormat=function(){return this.getProperty("format")},t})(Dr),Jg=(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)}})(),Zc=(function(i){Jg(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 Ao(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 Ao(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=Be.normaliseUrl(n.id);if(Be.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===ue.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===ue.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===ue.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 t0(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===ue.ViewingHint.PAGED:!1},t.prototype.isTotalCanvasesEven=function(){return this.getTotalCanvases()%2===0},t})(Dr),Wc=(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 Bg(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 qg(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})(),$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)}})(),qc=(function(i){$g(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 Be.getLocalisedValue(this.getProperty("confirmLabel"),this.options.locale)},t.prototype.getDescription=function(){return Be.getLocalisedValue(this.getProperty("description"),this.options.locale)},t.prototype.getFailureDescription=function(){return Be.getLocalisedValue(this.getProperty("failureDescription"),this.options.locale)},t.prototype.getFailureHeader=function(){return Be.getLocalisedValue(this.getProperty("failureHeader"),this.options.locale)},t.prototype.getHeader=function(){return Be.getLocalisedValue(this.getProperty("header"),this.options.locale)},t.prototype.getServiceLabel=function(){return Be.getLocalisedValue(this.getProperty("label"),this.options.locale)},t.prototype.getInfoUri=function(){var e=this.id;return e.endsWith("/")||(e+="/"),e+="info.json",e},t})(Dr),e0=(function(){function i(t,e){this.width=t,this.height=e}return i})(),un;(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"})(un||(un={}));var t0=(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})(),r0=(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)}})(),i0=(function(i){r0(t,i);function t(e,r){return i.call(this,e,r)||this}return t})(Ra),Ja=(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===Be.normaliseType(Er.COLLECTION)},i.prototype.isManifest=function(){return this.data.type===Be.normaliseType(Er.MANIFEST)},i.prototype.isRange=function(){return this.data.type===Be.normaliseType(Er.RANGE)},i})(),Er;(function(i){i.COLLECTION="collection",i.MANIFEST="manifest",i.RANGE="range"})(Er||(Er={}));var n0=function(i,t){return Be.parseManifest(i,t)};class o0{constructor(){ve(this,_n,ke(dt({})));ve(this,wn,ke(dt(new Map)))}get manifests(){return m(O(this,_n))}set manifests(t){_e(O(this,_n),t,!0)}get userAnnotations(){return m(O(this,wn))}set userAnnotations(t){_e(O(this,wn),t,!0)}userAnnotationKey(t,e){return`${t}::${e}`}setUserAnnotations(t,e,r){const n=this.userAnnotationKey(t,e),o=new Map(this.userAnnotations);o.set(n,r),this.userAnnotations=o}clearUserAnnotations(t,e){const r=this.userAnnotationKey(t,e);if(this.userAnnotations.has(r)){const n=new Map(this.userAnnotations);n.delete(r),this.userAnnotations=n}}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=n0(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;let a=[];const 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}}_n=new WeakMap,wn=new WeakMap;const Wr=new o0;class a0{constructor(t=null,e=null,r=[]){ve(this,bn,ke(null));ve(this,yn,ke(null));ve(this,xn,ke(!1));ve(this,Tn,ke(!1));ve(this,En,ke(!1));ve(this,kn,ke(!1));ve(this,Sn,ke(!1));ve(this,Cn,ke(!1));ve(this,Pn,ke(!1));ve(this,Rn,ke("bottom"));ve(this,An,ke(dt(new Set)));ve(this,In,ke(dt({})));ve(this,On,ke(dt({x:20,y:100})));ve(this,Dn,ke(dt({width:300,height:400})));ve(this,Mn,ke(!1));ve(this,Ln,ke(dt({x:0,y:0})));ve(this,zn,ke(null));ve(this,Hn,ke(null));ot(this,"eventTarget",null);ot(this,"viewerElement",null);ve(this,Nn,ke(""));ve(this,Fn,ke(null));ve(this,Bn,ke(dt([])));ve(this,Vn,ke(!1));ve(this,jn,ke(!1));ve(this,Un,ke(dt([])));ve(this,Gn,ke(dt([])));ve(this,Zn,ke(dt([])));ve(this,Wn,ke(null));ot(this,"pluginEventHandlers",new Map);this.manifestId=t||null,this.canvasId=e||null,this.manifestId&&Wr.fetchManifest(this.manifestId);for(const n of r)this.registerPlugin(n)}get manifestId(){return m(O(this,bn))}set manifestId(t){_e(O(this,bn),t,!0)}get canvasId(){return m(O(this,yn))}set canvasId(t){_e(O(this,yn),t,!0)}get showAnnotations(){return m(O(this,xn))}set showAnnotations(t){_e(O(this,xn),t,!0)}get showThumbnailGallery(){return m(O(this,Tn))}set showThumbnailGallery(t){_e(O(this,Tn),t,!0)}get toolbarOpen(){return m(O(this,En))}set toolbarOpen(t){_e(O(this,En),t,!0)}get isGalleryDockedBottom(){return m(O(this,kn))}set isGalleryDockedBottom(t){_e(O(this,kn),t,!0)}get isGalleryDockedRight(){return m(O(this,Sn))}set isGalleryDockedRight(t){_e(O(this,Sn),t,!0)}get isFullScreen(){return m(O(this,Cn))}set isFullScreen(t){_e(O(this,Cn),t,!0)}get showMetadataDialog(){return m(O(this,Pn))}set showMetadataDialog(t){_e(O(this,Pn),t,!0)}get dockSide(){return m(O(this,Rn))}set dockSide(t){_e(O(this,Rn),t,!0)}get visibleAnnotationIds(){return m(O(this,An))}set visibleAnnotationIds(t){_e(O(this,An),t,!0)}get config(){return m(O(this,In))}set config(t){_e(O(this,In),t,!0)}get showToggle(){return this.config.showToggle??!0}get showCanvasNav(){return this.config.showCanvasNav??!0}get showZoomControls(){return this.config.showZoomControls??!0}get galleryPosition(){return m(O(this,On))}set galleryPosition(t){_e(O(this,On),t,!0)}get gallerySize(){return m(O(this,Dn))}set gallerySize(t){_e(O(this,Dn),t,!0)}get isGalleryDragging(){return m(O(this,Mn))}set isGalleryDragging(t){_e(O(this,Mn),t,!0)}get galleryDragOffset(){return m(O(this,Ln))}set galleryDragOffset(t){_e(O(this,Ln),t,!0)}get dragOverSide(){return m(O(this,zn))}set dragOverSide(t){_e(O(this,zn),t,!0)}get galleryCenterPanelRect(){return m(O(this,Hn))}set galleryCenterPanelRect(t){_e(O(this,Hn),t,!0)}setEventTarget(t){this.eventTarget=t}getSnapshot(){let t=-1;return this.manifestId&&this.canvasId&&(t=Wr.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}}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?Wr.getManifest(this.manifestId):null}get manifestEntry(){return this.manifestId?Wr.getManifestEntry(this.manifestId):null}get canvases(){return this.manifestId?Wr.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(){return this.currentCanvasIndex<this.canvases.length-1}get hasPrevious(){return this.currentCanvasIndex>0}nextCanvas(){if(this.hasNext){const t=this.currentCanvasIndex+1,e=this.canvases[t];this.setCanvas(e.id)}}previousCanvas(){if(this.hasPrevious){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,Wr.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.gallery&&(t.gallery.open!==void 0&&(this.showThumbnailGallery=t.gallery.open),t.gallery.dockPosition!==void 0&&(this.dockSide=t.gallery.dockPosition)),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}get searchQuery(){return m(O(this,Nn))}set searchQuery(t){_e(O(this,Nn),t,!0)}get pendingSearchQuery(){return m(O(this,Fn))}set pendingSearchQuery(t){_e(O(this,Fn),t,!0)}get searchResults(){return m(O(this,Bn))}set searchResults(t){_e(O(this,Bn),t,!0)}get isSearching(){return m(O(this,Vn))}set isSearching(t){_e(O(this,Vn),t,!0)}get showSearchPanel(){return m(O(this,jn))}set showSearchPanel(t){_e(O(this,jn),t,!0)}toggleSearchPanel(){this.showSearchPanel=!this.showSearchPanel,this.showSearchPanel||(this.searchAnnotations=[]),this.dispatchStateChange()}get searchAnnotations(){return m(O(this,Un))}set searchAnnotations(t){_e(O(this,Un),t,!0)}get currentCanvasSearchAnnotations(){return this.canvasId?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 Map,d=f=>{const g=typeof f=="string"?f:f["@id"]||f.id;if(!g)return null;const y=g.split("#xywh=");if(y.length<2)return null;const S=y[1].split(",").map(Number);return S.length===4?S:null},p=f=>f?f.replace(/<mark>/g,"<mark>").replace(/<\/mark>/g,"</mark>"):"";if(l.hits)for(const f of l.hits){const g=f.annotations||[];let y=-1,S=null,R=[];for(const E of g){const P=u.find(H=>H["@id"]===E||H.id===E);if(P&&P.on){const H=typeof P.on=="string"?P.on:P.on["@id"]||P.on.id,V=H.split("#")[0],U=d(H),I=this.canvases.findIndex(D=>D.id===V);I>=0&&(y===-1&&(y=I),U&&(R.push(U),S||(S=U)))}}if(y>=0){if(!h.has(y)){const E=this.canvases[y];let P="Canvas "+(y+1);try{if(E.getLabel){const H=E.getLabel();Array.isArray(H)&&H.length>0?P=H[0].value:typeof H=="string"&&(P=H)}else E.label&&(typeof E.label=="string"?P=E.label:Array.isArray(E.label)&&(P=(e=E.label[0])==null?void 0:e.value))}catch{}h.set(y,{canvasIndex:y,canvasLabel:String(P),hits:[]})}h.get(y).hits.push({type:"hit",before:p(f.before),match:p(f.match),after:p(f.after),bounds:S,allBounds:R})}}else if(u.length>0)for(const f of u){const g=typeof f.on=="string"?f.on:f.on["@id"]||f.on.id,y=g.split("#")[0],S=d(g),R=this.canvases.findIndex(E=>E.id===y);if(R>=0){const E=this.canvases[R];let P="Canvas "+(R+1);try{if(E.getLabel){const H=E.getLabel();Array.isArray(H)&&H.length>0?P=H[0].value:typeof H=="string"&&(P=H)}else E.label&&(typeof E.label=="string"?P=E.label:Array.isArray(E.label)&&(P=(r=E.label[0])==null?void 0:r.value))}catch{}h.has(R)||h.set(R,{canvasIndex:R,canvasLabel:String(P),hits:[]}),h.get(R).hits.push({type:"resource",match:p(f.resource&&f.resource.chars?f.resource.chars:f.chars||""),bounds:S,allBounds:S?[S]:[]})}}this.searchResults=Array.from(h.values()).sort((f,g)=>f.canvasIndex-g.canvasIndex);let _=0;this.searchAnnotations=this.searchResults.flatMap(f=>{const g=this.canvases[f.canvasIndex];return f.hits.flatMap(y=>(y.allBounds&&y.allBounds.length>0?y.allBounds:y.bounds?[y.bounds]:[]).map(R=>{const E=`${g.id}#xywh=${R.join(",")}`;return{"@id":`urn:search-hit:${_++}`,"@type":"oa:Annotation",motivation:"sc:painting",on:E,canvasId:g.id,resource:{"@type":"cnt:ContentAsText",chars:y.match},isSearchHit:!0}}))})}catch(n){console.error("Search error:",n),this.isSearching=!1}finally{this.pendingSearchQuery||(this.isSearching=!1)}}}get pluginMenuButtons(){return m(O(this,Gn))}set pluginMenuButtons(t){_e(O(this,Gn),t,!0)}get pluginPanels(){return m(O(this,Zn))}set pluginPanels(t){_e(O(this,Zn),t,!0)}get osdViewer(){return m(O(this,Wn))}set osdViewer(t){_e(O(this,Wn),t)}registerPlugin(t){const e=t.id||`plugin-${Math.random().toString(36).substr(2,9)}`;let r=ke(!1);const n={id:`${e}:toggle`,icon:t.icon,tooltip:t.name,onClick:()=>{_e(r,!m(r))},isActive:()=>m(r),order:200},o={id:`${e}:panel`,component:t.panel,position:t.position||"left",isVisible:()=>m(r),props:{...t.props,isOpen:m(r),close:()=>{_e(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()}}bn=new WeakMap,yn=new WeakMap,xn=new WeakMap,Tn=new WeakMap,En=new WeakMap,kn=new WeakMap,Sn=new WeakMap,Cn=new WeakMap,Pn=new WeakMap,Rn=new WeakMap,An=new WeakMap,In=new WeakMap,On=new WeakMap,Dn=new WeakMap,Mn=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;const Hi="triiiceratops:viewerState",s0=["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 l0(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 c0(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 $a(i){const t=i/255;return t<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)}function u0(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 h0(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 d0(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 Xc(i,t,e){const r=$a(i),n=$a(t),o=$a(e),{x:a,y:s,z:c}=u0(r,n,o),{L:l,a:u,b:h}=h0(a,s,c);return d0(l,u,h)}function Yc(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 f0(i){return i.trim().toLowerCase().startsWith("oklch(")}function p0(i){return/^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$/.test(i.trim())}function g0(i){return/^rgba?\s*\(/i.test(i.trim())}function v0(i){const t=l0(i);if(!t)return console.warn(`Invalid hex color: ${i}, returning as-is`),i;const{L:e,C:r,h:n}=Xc(t.r,t.g,t.b);return Yc(e,r,n)}function m0(i){const t=c0(i);if(!t)return console.warn(`Invalid rgb color: ${i}, returning as-is`),i;const{L:e,C:r,h:n}=Xc(t.r,t.g,t.b);return Yc(e,r,n)}function _0(i){const t=i.trim();return f0(t)?t:p0(t)?v0(t):g0(t)?m0(t):(console.warn(`Unrecognized color format: ${i}, passing through as-is`),i)}const Kc={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"},w0=new Set(["primary","primaryContent","secondary","secondaryContent","accent","accentContent","neutral","neutralContent","base100","base200","base300","baseContent","info","infoContent","success","successContent","warning","warningContent","error","errorContent"]);function b0(i){return s0.includes(i)}function y0(i,t){i.setAttribute("data-theme",t)}function x0(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=Kc[n];if(!o)continue;let a=String(r);w0.has(n)&&(a=_0(a)),i.style.setProperty(o,a)}}function T0(i){for(const[t,e]of Object.entries(Kc))t==="colorScheme"?i.style.colorScheme="":i.style.removeProperty(e)}function E0(i){try{const t=JSON.parse(i);return typeof t=="object"&&t!==null?t:null}catch{return null}}function k0(i,t,e){t?y0(i,t):i.removeAttribute("data-theme"),e?x0(i,e):T0(i)}function Qc(i){return i.id||i["@id"]||(typeof i.getId=="function"?i.getId():"")}function hn(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 S0(i){const t=C0(i);if(t)return P0(t);const e=O0(i);return e?{type:"RECTANGLE",x:e.x,y:e.y,w:e.w,h:e.h}:null}function C0(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 Jc(n)}const t=i.target||i.on;return t?Jc(t):null}function Jc(i){if(!i)return null;if(Array.isArray(i))for(const t of i){const e=$c(t);if(e)return e}else return $c(i);return null}function $c(i){var e;if(!i)return null;let 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 P0(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=R0(l);r.push(...u)}}const o=e.querySelectorAll("path");for(const c of o){const l=c.getAttribute("d");if(l){const u=A0(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"),d=I0(l,u,h);r.push(...d)}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"),d=parseFloat(c.getAttribute("height")||"0");r.push([l,u],[l+h,u],[l+h,u+d],[l,u+d])}return r.length===0?null:{type:"POLYGON",points:r}}catch(t){return console.warn("Failed to convert SVG to polygon:",t),null}}function R0(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 A0(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 I0(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 O0(i){var e;if(typeof i.getTarget=="function"){const r=i.getTarget();if(typeof r=="string"&&r.includes("xywh="))return hn(r);const n=(e=i.__jsonld)==null?void 0:e.on;if(n){const o=es(n);if(o)return o}}const t=i.target||i.on;return t?es(t):null}function es(i){if(!i)return null;if(Array.isArray(i))for(const t of i){const e=es(t);if(e)return e}if(typeof i=="string"&&i.includes("xywh="))return hn(i);if(i.selector){let t=i.selector;if(Array.isArray(t)){const r=t.find(o=>o.type==="FragmentSelector"&&o.value&&o.value.includes("xywh="));if(r)return hn(r.value);const n=t.find(o=>o.value&&o.value.includes("xywh="));return n?hn(n.value):null}const e=t.item||t;if(e.value&&typeof e.value=="string"&&e.value.includes("xywh="))return hn(e.value)}return null}function eu(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 D0(i,t,e=!1){const r=Qc(i)||`anno-${t}`,n=S0(i);if(!n)return null;const o=eu(i);return{id:r,geometry:n,body:o,isSearchHit:e}}function M0(i,t=new Set){return i.map((e,r)=>{const n=t.has(Qc(e));return D0(e,r,n)}).filter(e=>e!==null)}var L0=pe("<div></div>"),z0=$('<svg class="absolute pointer-events-auto"><title> </title><polygon stroke-width="2"></polygon></svg>'),H0=pe('<div class="w-full h-full relative"><div></div> <!></div>');function N0(i,t){Ye(t,!0);let e=ir(t,"viewerState",7),r=ke(void 0),n=ke(void 0),o=ke(void 0),a=ke(0),s=ie(()=>{if(!e().manifestId||!e().canvasId)return[];const _=Wr.getAnnotations(e().manifestId,e().canvasId),f=e().currentCanvasSearchAnnotations;return[..._,...f]}),c=ie(()=>{const _=new Set;return e().currentCanvasSearchAnnotations.forEach(f=>{const g=f.id||f["@id"];g&&_.add(g)}),_}),l=ie(()=>M0(m(s),m(c))),u=ie(()=>{if(m(a),!m(n)||!m(o)||!m(l).length)return[];const _=m(n).world.getItemAt(0);if(!_)return[];const f=[],g=e().pluginPanels.find(S=>S.id==="annotation-editor:panel"),y=g?g.isVisible():!1;for(const S of m(l)){if(!S.isSearchHit)if(e().showAnnotations){if(!e().visibleAnnotationIds.has(S.id))continue}else continue;if(S.geometry.type==="RECTANGLE"){const R=_.imageToViewportRectangle(S.geometry.x,S.geometry.y,S.geometry.w,S.geometry.h),E=m(n).viewport.viewportToViewerElementRectangle(R);f.push({id:S.id,type:"RECTANGLE",rect:{x:E.x,y:E.y,width:E.width,height:E.height},isSearchHit:S.isSearchHit,tooltip:S.body.map(P=>P.value).join(" "),pointerEvents:y?"none":"auto"})}else if(S.geometry.type==="POLYGON"){const R=S.geometry.points.map(I=>{const D=_.imageToViewportCoordinates(new(m(o)).Point(I[0],I[1])),te=m(n).viewport.viewportToViewerElementCoordinates(D);return[te.x,te.y]});let E=1/0,P=1/0,H=-1/0,V=-1/0;for(const[I,D]of R)E=Math.min(E,I),P=Math.min(P,D),H=Math.max(H,I),V=Math.max(V,D);const U=R.map(([I,D])=>[I-E,D-P]);f.push({id:S.id,type:"POLYGON",bounds:{x:E,y:P,width:H-E,height:V-P},points:U,isSearchHit:S.isSearchHit,tooltip:S.body.map(I=>I.value).join(" "),pointerEvents:y?"none":"auto"})}}return f});fa(()=>{if(m(r))return(async()=>{const _=await Promise.resolve().then(()=>L8);_e(o,_.default||_,!0),_e(n,m(o)({element:m(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(m(n))})(),()=>{var _;(_=m(n))==null||_.destroy(),e().osdViewer=null}}),ht(()=>{if(!m(n))return;const _=()=>{Ji(a)};return m(n).addHandler("open",_),m(n).addHandler("animation",_),m(n).addHandler("resize",_),m(n).addHandler("rotate",_),m(n).world.addHandler("add-item",_),m(n).world.addHandler("remove-item",_),()=>{m(n).removeHandler("open",_),m(n).removeHandler("animation",_),m(n).removeHandler("resize",_),m(n).removeHandler("rotate",_),m(n).world.removeHandler("add-item",_),m(n).world.removeHandler("remove-item",_)}}),ht(()=>{!m(n)||!t.tileSources||m(n).open(t.tileSources)});var h=H0(),d=W(h);Li(d,_=>_e(r,_),()=>m(r));var p=le(d,2);Qt(p,17,()=>m(u),_=>_.id,(_,f)=>{var g=ee(),y=K(g);{var S=E=>{var P=L0();ze(()=>{Fe(P,"id",`annotation-visual-${m(f).id??""}`),Ue(P,1,`absolute border-2 transition-colors cursor-pointer pointer-events-auto ${m(f).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"}`),Zr(P,`
|
|
7
7
|
left: ${m(f).rect.x??""}px;
|
|
8
8
|
top: ${m(f).rect.y??""}px;
|
|
9
9
|
width: ${m(f).rect.width??""}px;
|
|
@@ -17,7 +17,7 @@ var z8=Object.defineProperty;var Fu=tt=>{throw TypeError(tt)};var H8=(tt,it,pt)=
|
|
|
17
17
|
pointer-events: ${m(f).pointerEvents??""};
|
|
18
18
|
`),Qe(te,m(f).tooltip),Fe(J,"id",`annotation-visual-${m(f).id??""}`),Fe(J,"points",ce),Ue(J,0,`cursor-pointer transition-colors ${m(f).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"}`)},[()=>m(f).points.map(ce=>ce.join(",")).join(" ")]),k(U,I)};B(H,U=>{m(f).type==="POLYGON"&&U(V)},!0)}k(E,P)};B(y,E=>{m(f).type==="RECTANGLE"?E(S):E(R,!1)})}k(_,g)}),G(h),ze(()=>Ue(d,1,`w-full h-full osd-background ${e().config.transparentBackground?"":"bg-base-100"}`)),k(i,h),Ke()}let tu=Symbol("phosphor-svelte");function zt(){return Yo(tu)?Nr(tu):{}}var F0=$('<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>'),B0=$('<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),V0=$('<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>'),j0=$('<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>'),U0=$('<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>'),G0=$('<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>'),Z0=$('<svg><!><rect width="256" height="256" fill="none"></rect><!></svg>');function W0(i,t){Ye(t,!0);const e=zt();let r=At(t,["$$slots","$$events","$$legacy","children"]),n=ie(()=>t.weight??e.weight??"regular"),o=ie(()=>t.color??e.color??"currentColor"),a=ie(()=>t.size??e.size??"1em"),s=ie(()=>t.mirrored??e.mirrored??!1);function c(f){let{weight:g,color:y,size:S,mirrored:R,...E}=f;return E}var l=Z0();Rt(l,(f,g)=>({xmlns:"http://www.w3.org/2000/svg",role:"img",width:m(a),height:m(a),fill:m(o),transform:m(s)?"scale(-1, 1)":void 0,viewBox:"0 0 256 256",...f,...g}),[()=>c(e),()=>c(r)]);var u=W(l);{var h=f=>{var g=ee(),y=K(g);Ct(y,()=>t.children),k(f,g)};B(u,f=>{t.children&&f(h)})}var d=le(u,2);{var p=f=>{var g=F0();k(f,g)},_=f=>{var g=ee(),y=K(g);{var S=E=>{var P=B0();Tt(),k(E,P)},R=E=>{var P=ee(),H=K(P);{var V=I=>{var D=V0();k(I,D)},U=I=>{var D=ee(),te=K(D);{var J=z=>{var N=j0();k(z,N)},ce=z=>{var N=ee(),Q=K(N);{var he=M=>{var j=U0();k(M,j)},ne=M=>{var j=ee(),me=K(j);{var oe=A=>{var F=G0();k(A,F)},Z=A=>{var F=kt();F.nodeValue=(console.error('Unsupported icon weight. Choose from "thin", "light", "regular", "bold", "fill", or "duotone".'),""),k(A,F)};B(me,A=>{m(n)==="thin"?A(oe):A(Z,!1)},!0)}k(M,j)};B(Q,M=>{m(n)==="regular"?M(he):M(ne,!1)},!0)}k(z,N)};B(te,z=>{m(n)==="light"?z(J):z(ce,!1)},!0)}k(I,D)};B(H,I=>{m(n)==="fill"?I(V):I(U,!1)},!0)}k(E,P)};B(y,E=>{m(n)==="duotone"?E(S):E(R,!1)},!0)}k(f,g)};B(d,f=>{m(n)==="bold"?f(p):f(_,!1)})}G(l),k(i,l),Ke()}var q0=$('<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>'),X0=$('<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),Y0=$('<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>'),K0=$('<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>'),Q0=$('<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>'),J0=$('<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>'),$0=$('<svg><!><rect width="256" height="256" fill="none"></rect><!></svg>');function ev(i,t){Ye(t,!0);const e=zt();let r=At(t,["$$slots","$$events","$$legacy","children"]),n=ie(()=>t.weight??e.weight??"regular"),o=ie(()=>t.color??e.color??"currentColor"),a=ie(()=>t.size??e.size??"1em"),s=ie(()=>t.mirrored??e.mirrored??!1);function c(f){let{weight:g,color:y,size:S,mirrored:R,...E}=f;return E}var l=$0();Rt(l,(f,g)=>({xmlns:"http://www.w3.org/2000/svg",role:"img",width:m(a),height:m(a),fill:m(o),transform:m(s)?"scale(-1, 1)":void 0,viewBox:"0 0 256 256",...f,...g}),[()=>c(e),()=>c(r)]);var u=W(l);{var h=f=>{var g=ee(),y=K(g);Ct(y,()=>t.children),k(f,g)};B(u,f=>{t.children&&f(h)})}var d=le(u,2);{var p=f=>{var g=q0();k(f,g)},_=f=>{var g=ee(),y=K(g);{var S=E=>{var P=X0();Tt(),k(E,P)},R=E=>{var P=ee(),H=K(P);{var V=I=>{var D=Y0();k(I,D)},U=I=>{var D=ee(),te=K(D);{var J=z=>{var N=K0();k(z,N)},ce=z=>{var N=ee(),Q=K(N);{var he=M=>{var j=Q0();k(M,j)},ne=M=>{var j=ee(),me=K(j);{var oe=A=>{var F=J0();k(A,F)},Z=A=>{var F=kt();F.nodeValue=(console.error('Unsupported icon weight. Choose from "thin", "light", "regular", "bold", "fill", or "duotone".'),""),k(A,F)};B(me,A=>{m(n)==="thin"?A(oe):A(Z,!1)},!0)}k(M,j)};B(Q,M=>{m(n)==="regular"?M(he):M(ne,!1)},!0)}k(z,N)};B(te,z=>{m(n)==="light"?z(J):z(ce,!1)},!0)}k(I,D)};B(H,I=>{m(n)==="fill"?I(V):I(U,!1)},!0)}k(E,P)};B(y,E=>{m(n)==="duotone"?E(S):E(R,!1)},!0)}k(f,g)};B(d,f=>{m(n)==="bold"?f(p):f(_,!1)})}G(l),k(i,l),Ke()}var tv=$('<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>'),rv=$('<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),iv=$('<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>'),nv=$('<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>'),ov=$('<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>'),av=$('<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>'),sv=$('<svg><!><rect width="256" height="256" fill="none"></rect><!></svg>');function lv(i,t){Ye(t,!0);const e=zt();let r=At(t,["$$slots","$$events","$$legacy","children"]),n=ie(()=>t.weight??e.weight??"regular"),o=ie(()=>t.color??e.color??"currentColor"),a=ie(()=>t.size??e.size??"1em"),s=ie(()=>t.mirrored??e.mirrored??!1);function c(f){let{weight:g,color:y,size:S,mirrored:R,...E}=f;return E}var l=sv();Rt(l,(f,g)=>({xmlns:"http://www.w3.org/2000/svg",role:"img",width:m(a),height:m(a),fill:m(o),transform:m(s)?"scale(-1, 1)":void 0,viewBox:"0 0 256 256",...f,...g}),[()=>c(e),()=>c(r)]);var u=W(l);{var h=f=>{var g=ee(),y=K(g);Ct(y,()=>t.children),k(f,g)};B(u,f=>{t.children&&f(h)})}var d=le(u,2);{var p=f=>{var g=tv();k(f,g)},_=f=>{var g=ee(),y=K(g);{var S=E=>{var P=rv();Tt(),k(E,P)},R=E=>{var P=ee(),H=K(P);{var V=I=>{var D=iv();k(I,D)},U=I=>{var D=ee(),te=K(D);{var J=z=>{var N=nv();k(z,N)},ce=z=>{var N=ee(),Q=K(N);{var he=M=>{var j=ov();k(M,j)},ne=M=>{var j=ee(),me=K(j);{var oe=A=>{var F=av();k(A,F)},Z=A=>{var F=kt();F.nodeValue=(console.error('Unsupported icon weight. Choose from "thin", "light", "regular", "bold", "fill", or "duotone".'),""),k(A,F)};B(me,A=>{m(n)==="thin"?A(oe):A(Z,!1)},!0)}k(M,j)};B(Q,M=>{m(n)==="regular"?M(he):M(ne,!1)},!0)}k(z,N)};B(te,z=>{m(n)==="light"?z(J):z(ce,!1)},!0)}k(I,D)};B(H,I=>{m(n)==="fill"?I(V):I(U,!1)},!0)}k(E,P)};B(y,E=>{m(n)==="duotone"?E(S):E(R,!1)},!0)}k(f,g)};B(d,f=>{m(n)==="bold"?f(p):f(_,!1)})}G(l),k(i,l),Ke()}var cv=$('<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),hv=$('<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>'),dv=$('<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>'),fv=$('<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>'),pv=$('<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>'),gv=$('<svg><!><rect width="256" height="256" fill="none"></rect><!></svg>');function vv(i,t){Ye(t,!0);const e=zt();let r=At(t,["$$slots","$$events","$$legacy","children"]),n=ie(()=>t.weight??e.weight??"regular"),o=ie(()=>t.color??e.color??"currentColor"),a=ie(()=>t.size??e.size??"1em"),s=ie(()=>t.mirrored??e.mirrored??!1);function c(f){let{weight:g,color:y,size:S,mirrored:R,...E}=f;return E}var l=gv();Rt(l,(f,g)=>({xmlns:"http://www.w3.org/2000/svg",role:"img",width:m(a),height:m(a),fill:m(o),transform:m(s)?"scale(-1, 1)":void 0,viewBox:"0 0 256 256",...f,...g}),[()=>c(e),()=>c(r)]);var u=W(l);{var h=f=>{var g=ee(),y=K(g);Ct(y,()=>t.children),k(f,g)};B(u,f=>{t.children&&f(h)})}var d=le(u,2);{var p=f=>{var g=cv();k(f,g)},_=f=>{var g=ee(),y=K(g);{var S=E=>{var P=uv();Tt(),k(E,P)},R=E=>{var P=ee(),H=K(P);{var V=I=>{var D=hv();k(I,D)},U=I=>{var D=ee(),te=K(D);{var J=z=>{var N=dv();k(z,N)},ce=z=>{var N=ee(),Q=K(N);{var he=M=>{var j=fv();k(M,j)},ne=M=>{var j=ee(),me=K(j);{var oe=A=>{var F=pv();k(A,F)},Z=A=>{var F=kt();F.nodeValue=(console.error('Unsupported icon weight. Choose from "thin", "light", "regular", "bold", "fill", or "duotone".'),""),k(A,F)};B(me,A=>{m(n)==="thin"?A(oe):A(Z,!1)},!0)}k(M,j)};B(Q,M=>{m(n)==="regular"?M(he):M(ne,!1)},!0)}k(z,N)};B(te,z=>{m(n)==="light"?z(J):z(ce,!1)},!0)}k(I,D)};B(H,I=>{m(n)==="fill"?I(V):I(U,!1)},!0)}k(E,P)};B(y,E=>{m(n)==="duotone"?E(S):E(R,!1)},!0)}k(f,g)};B(d,f=>{m(n)==="bold"?f(p):f(_,!1)})}G(l),k(i,l),Ke()}const mv="en",ts=["en","de"],ru="PARAGLIDE_LOCALE",_v=3456e4,iu=["cookie","globalVariable","baseLocale"];globalThis.__paraglide={};let Oo,nu=!1,X=()=>{let i;for(const t of iu){if(t==="cookie")i=Tv();else if(t==="baseLocale")i=mv;else if(t==="globalVariable"&&Oo!==void 0)i=Oo;else if(ou(t)&&Do.has(t)){const e=Do.get(t);if(e){const r=e.getLocale();if(r instanceof Promise)continue;i=r}}if(i!==void 0){const e=xv(i);return nu||(Oo=e,nu=!0,rs(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 wv=i=>{window.location.reload()};let rs=(i,t)=>{const e={reload:!0,...t};let r;try{r=X()}catch{}const n=[];for(const a of iu)if(a==="globalVariable")Oo=i;else if(a==="cookie"){if(typeof document>"u"||typeof window>"u")continue;const s=`${ru}=${i}; path=/; max-age=${_v}`;document.cookie=s}else{if(a==="baseLocale")continue;if(ou(a)&&Do.has(a)){const s=Do.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&&wv()};if(n.length)return Promise.all(n).then(()=>{o()});o()};const bv=i=>{rs=i};function yv(i){return typeof i!="string"?!1:i?ts.some(t=>t.toLowerCase()===i.toLowerCase()):!1}function xv(i){if(typeof i!="string")throw new Error(`Invalid locale: ${i}. Expected a string.`);const t=i.toLowerCase(),e=ts.find(r=>r.toLowerCase()===t);if(!e)throw new Error(`Invalid locale: ${i}. Expected one of: ${ts.join(", ")}`);return e}function Tv(){if(typeof document>"u"||!document.cookie)return;const i=document.cookie.match(new RegExp(`(^| )${ru}=([^;]+)`)),t=i==null?void 0:i[2];if(yv(t))return t}const Do=new Map;function ou(i){return typeof i=="string"&&/^custom-[A-Za-z0-9_-]+$/.test(i)}const Ev=()=>"Hello World",kv=()=>"Hallo Welt",Sv=(i={},t={})=>(t.locale??X())==="en"?Ev():kv(),Cv=()=>"Search",Pv=()=>"Suche",is=(i={},t={})=>(t.locale??X())==="en"?Cv():Pv(),Rv=()=>"Close Search",Av=()=>"Suche schließen",Iv=(i={},t={})=>(t.locale??X())==="en"?Rv():Av(),Ov=()=>"Search content...",Dv=()=>"Inhalt durchsuchen...",au=(i={},t={})=>(t.locale??X())==="en"?Ov():Dv(),Mv=i=>`No results found for "${i==null?void 0:i.query}"`,Lv=i=>`Keine Ergebnisse für "${i==null?void 0:i.query}" gefunden`,su=(i,t={})=>(t.locale??X())==="en"?Mv(i):Lv(i),zv=()=>"Enter a search term to find occurrences within this manifest.",Hv=()=>"Geben Sie einen Suchbegriff ein, um Vorkommen in diesem Manifest zu finden.",lu=(i={},t={})=>(t.locale??X())==="en"?zv():Hv(),Nv=i=>`${i==null?void 0:i.count} Results`,Fv=i=>`${i==null?void 0:i.count} Ergebnisse`,cu=(i,t={})=>(t.locale??X())==="en"?Nv(i):Fv(i),Bv=()=>"Manifest Metadata",Vv=()=>"Manifest-Metadaten",uu=(i={},t={})=>(t.locale??X())==="en"?Bv():Vv(),jv=()=>"Loading...",Uv=()=>"Lädt...",hu=(i={},t={})=>(t.locale??X())==="en"?jv():Uv(),Gv=()=>"Attribution",Zv=()=>"Quellenangabe",du=(i={},t={})=>(t.locale??X())==="en"?Gv():Zv(),Wv=()=>"License",qv=()=>"Lizenz",fu=(i={},t={})=>(t.locale??X())==="en"?Wv():qv(),Xv=()=>"Close",Yv=()=>"Schließen",ns=(i={},t={})=>(t.locale??X())==="en"?Xv():Yv(),Kv=()=>"Menu",Qv=()=>"Menü",Jv=(i={},t={})=>(t.locale??X())==="en"?Kv():Qv(),$v=()=>"Search",em=()=>"Suche",os=(i={},t={})=>(t.locale??X())==="en"?$v():em(),tm=()=>"Toggle Search",rm=()=>"Suche umschalten",pu=(i={},t={})=>(t.locale??X())==="en"?tm():rm(),im=()=>"Hide Gallery",nm=()=>"Galerie ausblenden",as=(i={},t={})=>(t.locale??X())==="en"?im():nm(),om=()=>"Show Gallery",am=()=>"Galerie einblenden",ss=(i={},t={})=>(t.locale??X())==="en"?om():am(),sm=()=>"Exit Full Screen",lm=()=>"Vollbildmodus beenden",ls=(i={},t={})=>(t.locale??X())==="en"?sm():lm(),cm=()=>"Enter Full Screen",um=()=>"Vollbildmodus",cs=(i={},t={})=>(t.locale??X())==="en"?cm():um(),hm=()=>"Hide Annotations",dm=()=>"Annotationen ausblenden",us=(i={},t={})=>(t.locale??X())==="en"?hm():dm(),fm=()=>"Show Annotations",pm=()=>"Annotationen einblenden",hs=(i={},t={})=>(t.locale??X())==="en"?fm():pm(),gm=()=>"Toggle Annotations",vm=()=>"Annotationen umschalten",mm=(i={},t={})=>(t.locale??X())==="en"?gm():vm(),_m=()=>"Metadata",wm=()=>"Metadaten",gu=(i={},t={})=>(t.locale??X())==="en"?_m():wm(),bm=()=>"Toggle Metadata",ym=()=>"Metadaten umschalten",vu=(i={},t={})=>(t.locale??X())==="en"?bm():ym(),xm=()=>"Hide All Annotations",Tm=()=>"Alle Annotationen ausblenden",mu=(i={},t={})=>(t.locale??X())==="en"?xm():Tm(),Em=()=>"Show All Annotations",km=()=>"Alle Annotationen einblenden",_u=(i={},t={})=>(t.locale??X())==="en"?Em():km(),Sm=i=>`${i==null?void 0:i.count} Annotations`,Cm=i=>`${i==null?void 0:i.count} Annotationen`,wu=(i,t={})=>(t.locale??X())==="en"?Sm(i):Cm(i),Pm=i=>`(${i==null?void 0:i.count} visible)`,Rm=i=>`(${i==null?void 0:i.count} sichtbar)`,bu=(i,t={})=>(t.locale??X())==="en"?Pm(i):Rm(i),Am=()=>"(No content)",Im=()=>"(Kein Inhalt)",Om=(i={},t={})=>(t.locale??X())==="en"?Am():Im(),Dm=()=>"No annotations available.",Mm=()=>"Keine Annotationen verfügbar.",Lm=(i={},t={})=>(t.locale??X())==="en"?Dm():Mm(),zm=()=>"Previous Canvas",Hm=()=>"Vorheriges Canvas",yu=(i={},t={})=>(t.locale??X())==="en"?zm():Hm(),Nm=()=>"Next Canvas",Fm=()=>"Nächstes Canvas",xu=(i={},t={})=>(t.locale??X())==="en"?Nm():Fm(),Bm=()=>"Docs",Vm=()=>"Doku",jm=(i={},t={})=>(t.locale??X())==="en"?Bm():Vm(),Um=()=>"IIIF Manifest:",Gm=()=>"IIIF-Manifest:",Zm=(i={},t={})=>(t.locale??X())==="en"?Um():Gm(),Wm=()=>"Enter IIIF manifest URL",qm=()=>"IIIF-Manifest-URL eingeben",Xm=(i={},t={})=>(t.locale??X())==="en"?Wm():qm(),Ym=()=>"Load",Km=()=>"Laden",Qm=(i={},t={})=>(t.locale??X())==="en"?Ym():Km(),Jm=()=>"GitHub",$m=()=>"GitHub",e1=(i={},t={})=>(t.locale??X())==="en"?Jm():$m(),t1=()=>"Core",r1=()=>"Basis",i1=(i={},t={})=>(t.locale??X())==="en"?t1():r1(),n1=()=>"Full",o1=()=>"Vollständig",a1=(i={},t={})=>(t.locale??X())==="en"?n1():o1(),s1=()=>"Custom Theme",l1=()=>"Benutzerdefiniertes Thema",c1=(i={},t={})=>(t.locale??X())==="en"?s1():l1(),u1=()=>"Example without plugins",h1=()=>"Beispiel ohne Plugins",d1=(i={},t={})=>(t.locale??X())==="en"?u1():h1(),f1=()=>"Example with plugins",p1=()=>"Beispiel mit Plugins",g1=(i={},t={})=>(t.locale??X())==="en"?f1():p1(),v1=()=>"Example with custom theme override",m1=()=>"Beispiel mit benutzerdefiniertem Thema",_1=(i={},t={})=>(t.locale??X())==="en"?v1():m1(),w1=()=>"Plugins",b1=()=>"Erweiterungen",y1=(i={},t={})=>(t.locale??X())==="en"?w1():b1(),x1=()=>"External Controls:",T1=()=>"Externe Steuerelemente:",E1=(i={},t={})=>(t.locale??X())==="en"?x1():T1(),k1=()=>"Active Canvas",S1=()=>"Aktives Canvas",C1=(i={},t={})=>(t.locale??X())==="en"?k1():S1(),P1=()=>"Image Adjustments",R1=()=>"Bildanpassungen",A1=(i={},t={})=>(t.locale??X())==="en"?P1():R1(),Tu=()=>"Open Menu",I1=Tu,ds=(i={},t={})=>(t.locale??X())==="en"?Tu():I1(),O1=()=>"Close Menu",D1=()=>"Menü schließen",fs=(i={},t={})=>(t.locale??X())==="en"?O1():D1(),M1=()=>"Gallery",L1=()=>"Galerie",z1=(i={},t={})=>(t.locale??X())==="en"?M1():L1(),H1=()=>"Close Gallery",N1=()=>"Galerie schließen",F1=(i={},t={})=>(t.locale??X())==="en"?H1():N1(),B1=()=>"Close Search",V1=()=>"Suche schließen",Eu=(i={},t={})=>(t.locale??X())==="en"?B1():V1(),j1=()=>"Settings",U1=()=>"Einstellungen",G1=(i={},t={})=>(t.locale??X())==="en"?j1():U1(),Z1=()=>"General",W1=()=>"Allgemein",q1=(i={},t={})=>(t.locale??X())==="en"?Z1():W1(),X1=()=>"Show Open/Close",Y1=()=>"Auf/Zu-Button",K1=(i={},t={})=>(t.locale??X())==="en"?X1():Y1(),Q1=()=>"Toolbar Open",J1=()=>"Werkzeugleiste geöffnet",$1=(i={},t={})=>(t.locale??X())==="en"?Q1():J1(),e_=()=>"Toolbar Position",t_=()=>"Werkzeugleisten-Position",r_=(i={},t={})=>(t.locale??X())==="en"?e_():t_(),i_=()=>"Canvas Nav",n_=()=>"Canvas-Navigation",o_=(i={},t={})=>(t.locale??X())==="en"?i_():n_(),a_=()=>"Zoom Controls",s_=()=>"Zoom-Steuerelemente",l_=(i={},t={})=>(t.locale??X())==="en"?a_():s_(),c_=()=>"Configuration",u_=()=>"Konfiguration",h_=(i={},t={})=>(t.locale??X())==="en"?c_():u_(),d_=()=>"Toolbar",f_=()=>"Werkzeugleiste",p_=(i={},t={})=>(t.locale??X())==="en"?d_():f_(),g_=()=>"Show Search",v_=()=>"Suche anzeigen",m_=(i={},t={})=>(t.locale??X())==="en"?g_():v_(),__=()=>"Show Gallery",w_=()=>"Galerie anzeigen",b_=(i={},t={})=>(t.locale??X())==="en"?__():w_(),y_=()=>"Show Annotations",x_=()=>"Annotationen anzeigen",T_=(i={},t={})=>(t.locale??X())==="en"?y_():x_(),E_=()=>"Show Fullscreen",k_=()=>"Vollbild anzeigen",S_=(i={},t={})=>(t.locale??X())==="en"?E_():k_(),C_=()=>"Show Info",P_=()=>"Info anzeigen",R_=(i={},t={})=>(t.locale??X())==="en"?C_():P_(),A_=()=>"Gallery",I_=()=>"Galerie",O_=(i={},t={})=>(t.locale??X())==="en"?A_():I_(),D_=()=>"Open",M_=()=>"Öffnen",L_=(i={},t={})=>(t.locale??X())==="en"?D_():M_(),z_=()=>"Draggable",H_=()=>"Verschiebbar",N_=(i={},t={})=>(t.locale??X())==="en"?z_():H_(),F_=()=>"Close Button",B_=()=>"Schließen-Button",V_=(i={},t={})=>(t.locale??X())==="en"?F_():B_(),j_=()=>"Dock Position",U_=()=>"Andockposition",G_=(i={},t={})=>(t.locale??X())==="en"?j_():U_(),Z_=()=>"Bottom",W_=()=>"Unten",q_=(i={},t={})=>(t.locale??X())==="en"?Z_():W_(),X_=()=>"Top",Y_=()=>"Oben",K_=(i={},t={})=>(t.locale??X())==="en"?X_():Y_(),Q_=()=>"Left",J_=()=>"Links",$_=(i={},t={})=>(t.locale??X())==="en"?Q_():J_(),ew=()=>"Right",tw=()=>"Rechts",rw=(i={},t={})=>(t.locale??X())==="en"?ew():tw(),iw=()=>"Floating",nw=()=>"Schwebend",ow=(i={},t={})=>(t.locale??X())==="en"?iw():nw(),aw=()=>"Search",sw=()=>"Suche",lw=(i={},t={})=>(t.locale??X())==="en"?aw():sw(),cw=()=>"Annotations",uw=()=>"Annotationen",hw=(i={},t={})=>(t.locale??X())==="en"?cw():uw(),dw=()=>"Panel Open",fw=()=>"Panel geöffnet",pw=(i={},t={})=>(t.locale??X())==="en"?dw():fw(),gw=()=>"Visible by Default",vw=()=>"Standardmäßig sichtbar",mw=(i={},t={})=>(t.locale??X())==="en"?gw():vw(),_w=()=>"Copy Config",ww=()=>"Konfiguration kopieren",bw=(i={},t={})=>(t.locale??X())==="en"?_w():ww(),yw=()=>"Copied!",xw=()=>"Kopiert!",Tw=(i={},t={})=>(t.locale??X())==="en"?yw():xw(),Ew=()=>"Svelte component (not web component)",kw=()=>"Svelte-Komponente (keine Web-Komponente)",Sw=(i={},t={})=>(t.locale??X())==="en"?Ew():kw(),Cw=()=>"Svelte",Pw=()=>"Svelte",Rw=(i={},t={})=>(t.locale??X())==="en"?Cw():Pw(),Aw=()=>"Select language",Iw=()=>"Sprache wählen",Ow=(i={},t={})=>(t.locale??X())==="en"?Aw():Iw(),Dw=()=>"No canvases loaded",Mw=()=>"Keine Canvases geladen",Lw=(i={},t={})=>(t.locale??X())==="en"?Dw():Mw(),zw=()=>"Try your own...",Hw=()=>"Eigenes ausprobieren...",Nw=(i={},t={})=>(t.locale??X())==="en"?zw():Hw(),Fw=()=>"Transparent Background",Bw=()=>"Transparenter Hintergrund",Vw=(i={},t={})=>(t.locale??X())==="en"?Fw():Bw(),jw=()=>"Change Theme",Uw=()=>"Design ändern",Gw=(i={},t={})=>(t.locale??X())==="en"?jw():Uw(),Zw=()=>"Theme",Ww=()=>"Design",qw=(i={},t={})=>(t.locale??X())==="en"?Zw():Ww(),Xw=()=>"Error: ",Yw=()=>"Fehler: ",ku=(i={},t={})=>(t.locale??X())==="en"?Xw():Yw(),Kw=()=>"No image found",Qw=()=>"Kein Bild gefunden",Su=(i={},t={})=>(t.locale??X())==="en"?Kw():Qw(),Jw=()=>"Panel Width",$w=()=>"Panelbreite",eb=(i={},t={})=>(t.locale??X())==="en"?Jw():$w(),tb=()=>"Annotation Editor",rb=()=>"Anmerkungs-Editor",ib=(i={},t={})=>(t.locale??X())==="en"?tb():rb(),nb=()=>"Edit",ob=()=>"Bearbeiten",ab=(i={},t={})=>(t.locale??X())==="en"?nb():ob(),sb=()=>"Create",lb=()=>"Erstellen",cb=(i={},t={})=>(t.locale??X())==="en"?sb():lb(),ub=()=>"Click to start annotating, click again to set shape",hb=()=>"Klicken zum Annotieren, erneut klicken zum Abschließen",db=(i={},t={})=>(t.locale??X())==="en"?ub():hb(),fb=()=>"Click on an annotation to select and edit it",pb=()=>"Anmerkung klicken zum Bearbeiten",gb=(i={},t={})=>(t.locale??X())==="en"?fb():pb(),vb=()=>"Drawing Tool",mb=()=>"Zeichenwerkzeug",_b=(i={},t={})=>(t.locale??X())==="en"?vb():mb(),wb=()=>"Undo",bb=()=>"Rückgängig",yb=(i={},t={})=>(t.locale??X())==="en"?wb():bb(),xb=()=>"Redo",Tb=()=>"Wiederholen",Eb=(i={},t={})=>(t.locale??X())==="en"?xb():Tb(),kb=()=>"Edit Annotation",Sb=()=>"Anmerkung bearbeiten",Cb=(i={},t={})=>(t.locale??X())==="en"?kb():Sb(),Pb=()=>"Delete annotation",Rb=()=>"Anmerkung löschen",Ab=(i={},t={})=>(t.locale??X())==="en"?Pb():Rb(),Ib=()=>"Tag value...",Ob=()=>"Tag eingeben...",Db=(i={},t={})=>(t.locale??X())==="en"?Ib():Ob(),Mb=()=>"https://...",Lb=()=>"https://...",zb=(i={},t={})=>(t.locale??X())==="en"?Mb():Lb(),Hb=()=>"Enter text...",Nb=()=>"Text eingeben...",Fb=(i={},t={})=>(t.locale??X())==="en"?Hb():Nb(),Bb=()=>"Add Content",Vb=()=>"Inhalt hinzufügen",jb=(i={},t={})=>(t.locale??X())==="en"?Bb():Vb(),Ub=()=>"Save Changes",Gb=()=>"Speichern",Zb=(i={},t={})=>(t.locale??X())==="en"?Ub():Gb(),Wb=()=>"Delete Annotation?",qb=()=>"Anmerkung löschen?",Xb=(i={},t={})=>(t.locale??X())==="en"?Wb():qb(),Yb=()=>"Are you sure you want to delete this annotation? This action cannot be undone.",Kb=()=>"Anmerkung wirklich löschen? Dies kann nicht rückgängig gemacht werden.",Qb=(i={},t={})=>(t.locale??X())==="en"?Yb():Kb(),Jb=()=>"Cancel",$b=()=>"Abbrechen",ey=(i={},t={})=>(t.locale??X())==="en"?Jb():$b(),ty=()=>"Delete",ry=()=>"Löschen",iy=(i={},t={})=>(t.locale??X())==="en"?ty():ry(),ny=()=>"Image Adjustments",oy=()=>"Bildanpassungen",ay=(i={},t={})=>(t.locale??X())==="en"?ny():oy(),sy=()=>"Brightness",ly=()=>"Helligkeit",cy=(i={},t={})=>(t.locale??X())==="en"?sy():ly(),uy=()=>"Contrast",hy=()=>"Kontrast",dy=(i={},t={})=>(t.locale??X())==="en"?uy():hy(),fy=()=>"Saturation",py=()=>"Sättigung",gy=(i={},t={})=>(t.locale??X())==="en"?fy():py(),vy=()=>"Effects",my=()=>"Effekte",_y=(i={},t={})=>(t.locale??X())==="en"?vy():my(),wy=()=>"Invert Colors",by=()=>"Farben umkehren",yy=(i={},t={})=>(t.locale??X())==="en"?wy():by(),xy=()=>"Grayscale",Ty=()=>"Graustufen",Ey=(i={},t={})=>(t.locale??X())==="en"?xy():Ty(),ky=()=>"Reset to Default",Sy=()=>"Zurücksetzen",Cy=(i={},t={})=>(t.locale??X())==="en"?ky():Sy(),Py=()=>"Rectangle",Ry=()=>"Rechteck",Ay=(i={},t={})=>(t.locale??X())==="en"?Py():Ry(),Iy=()=>"Polygon",Oy=()=>"Polygon",Dy=(i={},t={})=>(t.locale??X())==="en"?Iy():Oy(),My=()=>"Point",Ly=()=>"Punkt",Cu=Object.freeze(Object.defineProperty({__proto__:null,annotation_editor_add_content:jb,annotation_editor_cancel:ey,annotation_editor_create_mode:cb,annotation_editor_delete:iy,annotation_editor_delete_message:Qb,annotation_editor_delete_title:Xb,annotation_editor_delete_tooltip:Ab,annotation_editor_edit_mode:ab,annotation_editor_edit_section:Cb,annotation_editor_instruction_create:db,annotation_editor_instruction_edit:gb,annotation_editor_link_placeholder:zb,annotation_editor_redo:Eb,annotation_editor_save:Zb,annotation_editor_tag_placeholder:Db,annotation_editor_text_placeholder:Fb,annotation_editor_title:ib,annotation_editor_tool_label:_b,annotation_editor_undo:yb,annotation_tool_point:(i={},t={})=>(t.locale??X())==="en"?My():Ly(),annotation_tool_polygon:Dy,annotation_tool_rectangle:Ay,annotations_count:wu,attribution:du,change_theme_label:Gw,close:ns,close_gallery:F1,close_menu:fs,close_search:Eu,copied:Tw,copy_config:bw,demo_header_active_canvas:C1,demo_header_external_controls:E1,docs:jm,enter_full_screen:cs,error_prefix:ku,exit_full_screen:ls,gallery:z1,github:e1,hello_world:Sv,hide_all_annotations:mu,hide_annotations:us,hide_gallery:as,iiif_manifest_label:Zm,image_adjustments:A1,image_adjustments_title:ay,image_filters_brightness:cy,image_filters_contrast:dy,image_filters_effects:_y,image_filters_grayscale:Ey,image_filters_invert:yy,image_filters_reset:Cy,image_filters_saturation:gy,language_select_label:Ow,license:fu,load:Qm,loading:hu,manifest_placeholder:Xm,menu:Jv,metadata:gu,metadata_label_fallback:uu,next_canvas:xu,no_annotations_available:Lm,no_canvases_loaded:Lw,no_content:Om,no_image_found:Su,open_menu:ds,plugins_tooltip:y1,previous_canvas:yu,search:os,search_panel_close:Iv,search_panel_instruction:lu,search_panel_no_results:su,search_panel_placeholder:au,search_panel_results_count:cu,search_panel_title:is,settings_category_configuration:h_,settings_category_general:q1,settings_label:G1,settings_panel_width:eb,settings_position_bottom:q_,settings_position_floating:ow,settings_position_left:$_,settings_position_right:rw,settings_position_top:K_,settings_select_dock_position:G_,settings_submenu_annotations:hw,settings_submenu_gallery:O_,settings_submenu_search:lw,settings_submenu_toolbar:p_,settings_toggle_canvas_nav:o_,settings_toggle_close_button:V_,settings_toggle_draggable:N_,settings_toggle_open:L_,settings_toggle_panel_open:pw,settings_toggle_show_annotations:T_,settings_toggle_show_fullscreen:S_,settings_toggle_show_gallery:b_,settings_toggle_show_info:R_,settings_toggle_show_search:m_,settings_toggle_show_toggle:K1,settings_toggle_visible_by_default:mw,settings_toggle_zoom_controls:l_,settings_toolbar_open:$1,settings_toolbar_position:r_,settings_transparent_background:Vw,show_all_annotations:_u,show_annotations:hs,show_gallery:ss,theme_menu_title:qw,toggle_annotations:mm,toggle_metadata:vu,toggle_search:pu,try_your_own:Nw,viewer_variant_core:i1,viewer_variant_custom_theme:c1,viewer_variant_full:a1,viewer_variant_svelte:Rw,viewer_variant_svelte_component_tooltip:Sw,viewer_variant_tooltip_core:d1,viewer_variant_tooltip_custom_theme:_1,viewer_variant_tooltip_full:g1,visible_count:bu},Symbol.toStringTag,{value:"Module"}));let Pu=ke(dt(X()));const zy=rs;bv((i,t)=>{zy(i,t),_e(Pu,X(),!0)});const Ni={get current(){return m(Pu)}};var Hy=pe('<button class="btn btn-circle btn-sm btn-ghost"><!></button>'),Ny=pe('<div class="h-4 w-px bg-base-content/20 mx-1"></div>'),Fy=pe('<div class="h-4 w-px bg-base-content/20 mx-1"></div>'),By=pe('<!> <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),Vy=pe('<span class="text-sm font-mono tabular-nums text-nowrap"> </span> <button class="btn btn-circle btn-sm btn-ghost"><!></button>',1),jy=pe('<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 Uy(i,t){Ye(t,!0);let e=ie(()=>t.viewerState.showCanvasNav&&t.viewerState.canvases.length>1);var r=jy(),n=W(r);{var o=u=>{var h=Hy();h.__click=()=>t.viewerState.previousCanvas();var d=W(h);W0(d,{size:20,weight:"bold"}),G(h),ze(p=>{h.disabled=!t.viewerState.hasPrevious,Fe(h,"aria-label",p)},[()=>yu()]),k(u,h)};B(n,u=>{m(e)&&u(o)})}var a=le(n,2);{var s=u=>{var h=By(),d=K(h);{var p=E=>{var P=Ny();k(E,P)};B(d,E=>{m(e)&&E(p)})}var _=le(d,2);_.__click=()=>t.viewerState.zoomOut();var f=W(_);vv(f,{size:20,weight:"bold"}),G(_);var g=le(_,2);g.__click=()=>t.viewerState.zoomIn();var y=W(g);lv(y,{size:20,weight:"bold"}),G(g);var S=le(g,2);{var R=E=>{var P=Fy();k(E,P)};B(S,E=>{m(e)&&E(R)})}k(u,h)};B(a,u=>{t.viewerState.showZoomControls&&u(s)})}var c=le(a,2);{var l=u=>{var h=Vy(),d=K(h),p=W(d);G(d);var _=le(d,2);_.__click=()=>t.viewerState.nextCanvas();var f=W(_);ev(f,{size:20,weight:"bold"}),G(_),ze(g=>{Qe(p,`${t.viewerState.currentCanvasIndex+1} / ${t.viewerState.canvases.length??""}`),_.disabled=!t.viewerState.hasNext,Fe(_,"aria-label",g)},[()=>xu()]),k(u,h)};B(c,u=>{m(e)&&u(l)})}G(r),k(i,r),Ke()}Ur(["click"]);var Gy=$('<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>'),Zy=$('<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),Wy=$('<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>'),qy=$('<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>'),Xy=$('<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>'),Yy=$('<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>'),Ky=$('<svg><!><rect width="256" height="256" fill="none"></rect><!></svg>');function Qy(i,t){Ye(t,!0);const e=zt();let r=At(t,["$$slots","$$events","$$legacy","children"]),n=ie(()=>t.weight??e.weight??"regular"),o=ie(()=>t.color??e.color??"currentColor"),a=ie(()=>t.size??e.size??"1em"),s=ie(()=>t.mirrored??e.mirrored??!1);function c(f){let{weight:g,color:y,size:S,mirrored:R,...E}=f;return E}var l=Ky();Rt(l,(f,g)=>({xmlns:"http://www.w3.org/2000/svg",role:"img",width:m(a),height:m(a),fill:m(o),transform:m(s)?"scale(-1, 1)":void 0,viewBox:"0 0 256 256",...f,...g}),[()=>c(e),()=>c(r)]);var u=W(l);{var h=f=>{var g=ee(),y=K(g);Ct(y,()=>t.children),k(f,g)};B(u,f=>{t.children&&f(h)})}var d=le(u,2);{var p=f=>{var g=Gy();k(f,g)},_=f=>{var g=ee(),y=K(g);{var S=E=>{var P=Zy();Tt(),k(E,P)},R=E=>{var P=ee(),H=K(P);{var V=I=>{var D=Wy();k(I,D)},U=I=>{var D=ee(),te=K(D);{var J=z=>{var N=qy();k(z,N)},ce=z=>{var N=ee(),Q=K(N);{var he=M=>{var j=Xy();k(M,j)},ne=M=>{var j=ee(),me=K(j);{var oe=A=>{var F=Yy();k(A,F)},Z=A=>{var F=kt();F.nodeValue=(console.error('Unsupported icon weight. Choose from "thin", "light", "regular", "bold", "fill", or "duotone".'),""),k(A,F)};B(me,A=>{m(n)==="thin"?A(oe):A(Z,!1)},!0)}k(M,j)};B(Q,M=>{m(n)==="regular"?M(he):M(ne,!1)},!0)}k(z,N)};B(te,z=>{m(n)==="light"?z(J):z(ce,!1)},!0)}k(I,D)};B(H,I=>{m(n)==="fill"?I(V):I(U,!1)},!0)}k(E,P)};B(y,E=>{m(n)==="duotone"?E(S):E(R,!1)},!0)}k(f,g)};B(d,f=>{m(n)==="bold"?f(p):f(_,!1)})}G(l),k(i,l),Ke()}var Jy=$('<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>'),$y=$('<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),e2=$('<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>'),t2=$('<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>'),r2=$('<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>'),i2=$('<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>'),n2=$('<svg><!><rect width="256" height="256" fill="none"></rect><!></svg>');function Ru(i,t){Ye(t,!0);const e=zt();let r=At(t,["$$slots","$$events","$$legacy","children"]),n=ie(()=>t.weight??e.weight??"regular"),o=ie(()=>t.color??e.color??"currentColor"),a=ie(()=>t.size??e.size??"1em"),s=ie(()=>t.mirrored??e.mirrored??!1);function c(f){let{weight:g,color:y,size:S,mirrored:R,...E}=f;return E}var l=n2();Rt(l,(f,g)=>({xmlns:"http://www.w3.org/2000/svg",role:"img",width:m(a),height:m(a),fill:m(o),transform:m(s)?"scale(-1, 1)":void 0,viewBox:"0 0 256 256",...f,...g}),[()=>c(e),()=>c(r)]);var u=W(l);{var h=f=>{var g=ee(),y=K(g);Ct(y,()=>t.children),k(f,g)};B(u,f=>{t.children&&f(h)})}var d=le(u,2);{var p=f=>{var g=Jy();k(f,g)},_=f=>{var g=ee(),y=K(g);{var S=E=>{var P=$y();Tt(),k(E,P)},R=E=>{var P=ee(),H=K(P);{var V=I=>{var D=e2();k(I,D)},U=I=>{var D=ee(),te=K(D);{var J=z=>{var N=t2();k(z,N)},ce=z=>{var N=ee(),Q=K(N);{var he=M=>{var j=r2();k(M,j)},ne=M=>{var j=ee(),me=K(j);{var oe=A=>{var F=i2();k(A,F)},Z=A=>{var F=kt();F.nodeValue=(console.error('Unsupported icon weight. Choose from "thin", "light", "regular", "bold", "fill", or "duotone".'),""),k(A,F)};B(me,A=>{m(n)==="thin"?A(oe):A(Z,!1)},!0)}k(M,j)};B(Q,M=>{m(n)==="regular"?M(he):M(ne,!1)},!0)}k(z,N)};B(te,z=>{m(n)==="light"?z(J):z(ce,!1)},!0)}k(I,D)};B(H,I=>{m(n)==="fill"?I(V):I(U,!1)},!0)}k(E,P)};B(y,E=>{m(n)==="duotone"?E(S):E(R,!1)},!0)}k(f,g)};B(d,f=>{m(n)==="bold"?f(p):f(_,!1)})}G(l),k(i,l),Ke()}var o2=$('<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>'),a2=$('<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),s2=$('<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>'),l2=$('<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>'),c2=$('<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>'),u2=$('<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>'),h2=$('<svg><!><rect width="256" height="256" fill="none"></rect><!></svg>');function Au(i,t){Ye(t,!0);const e=zt();let r=At(t,["$$slots","$$events","$$legacy","children"]),n=ie(()=>t.weight??e.weight??"regular"),o=ie(()=>t.color??e.color??"currentColor"),a=ie(()=>t.size??e.size??"1em"),s=ie(()=>t.mirrored??e.mirrored??!1);function c(f){let{weight:g,color:y,size:S,mirrored:R,...E}=f;return E}var l=h2();Rt(l,(f,g)=>({xmlns:"http://www.w3.org/2000/svg",role:"img",width:m(a),height:m(a),fill:m(o),transform:m(s)?"scale(-1, 1)":void 0,viewBox:"0 0 256 256",...f,...g}),[()=>c(e),()=>c(r)]);var u=W(l);{var h=f=>{var g=ee(),y=K(g);Ct(y,()=>t.children),k(f,g)};B(u,f=>{t.children&&f(h)})}var d=le(u,2);{var p=f=>{var g=o2();k(f,g)},_=f=>{var g=ee(),y=K(g);{var S=E=>{var P=a2();Tt(),k(E,P)},R=E=>{var P=ee(),H=K(P);{var V=I=>{var D=s2();k(I,D)},U=I=>{var D=ee(),te=K(D);{var J=z=>{var N=l2();k(z,N)},ce=z=>{var N=ee(),Q=K(N);{var he=M=>{var j=c2();k(M,j)},ne=M=>{var j=ee(),me=K(j);{var oe=A=>{var F=u2();k(A,F)},Z=A=>{var F=kt();F.nodeValue=(console.error('Unsupported icon weight. Choose from "thin", "light", "regular", "bold", "fill", or "duotone".'),""),k(A,F)};B(me,A=>{m(n)==="thin"?A(oe):A(Z,!1)},!0)}k(M,j)};B(Q,M=>{m(n)==="regular"?M(he):M(ne,!1)},!0)}k(z,N)};B(te,z=>{m(n)==="light"?z(J):z(ce,!1)},!0)}k(I,D)};B(H,I=>{m(n)==="fill"?I(V):I(U,!1)},!0)}k(E,P)};B(y,E=>{m(n)==="duotone"?E(S):E(R,!1)},!0)}k(f,g)};B(d,f=>{m(n)==="bold"?f(p):f(_,!1)})}G(l),k(i,l),Ke()}var d2=$('<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>'),f2=pe('<span class="text-xs opacity-50 truncate max-w-[150px]"> </span>'),p2=pe('<span class="badge badge-primary badge-outline badge-sm"> </span>'),g2=pe('<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>'),v2=pe('<div class="flex flex-wrap gap-2 pointer-events-auto"><!></div>'),m2=pe('<span class="opacity-50 italic text-xs">(No content)</span>'),_2=pe('<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>'),w2=pe('<div class="p-4 text-center opacity-50 text-sm">No annotations available.</div>'),b2=pe('<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>'),y2=pe("<!> <!>",1);function x2(i,t){Ye(t,!0);const e=Nr(Hi);let r=ie(()=>{if(!e.manifestId||!e.canvasId)return[];const y=Wr.getAnnotations(e.manifestId,e.canvasId),S=e.currentCanvasSearchAnnotations;return[...y,...S]});function n(y){return y.id||y["@id"]||(typeof y.getId=="function"?y.getId():"")||""}ht(()=>{var y;if(m(r).length>0)if(((y=e.config.annotations)==null?void 0:y.visible)??!0){const R=new Set;m(r).forEach(E=>{const P=n(E);P&&R.add(P)}),e.visibleAnnotationIds=R}else e.visibleAnnotationIds=new Set;else e.visibleAnnotationIds=new Set});let o=ie(()=>m(r).length===0?!1:m(r).every(y=>{const S=n(y);return!S||e.visibleAnnotationIds.has(S)}));function a(y){e.visibleAnnotationIds.has(y)?e.visibleAnnotationIds.delete(y):e.visibleAnnotationIds.add(y),e.visibleAnnotationIds=new Set(e.visibleAnnotationIds)}function s(){if(m(o))e.visibleAnnotationIds=new Set;else{const y=new Set;m(r).forEach(S=>{const R=n(S);R&&y.add(R)}),e.visibleAnnotationIds=y}}let c=ke(null),l=ke(void 0),u=ke(null);ht(()=>{if(!m(c)){_e(u,null);return}const y=()=>{let R=document;if(m(l)){const H=m(l).getRootNode();(H instanceof Document||H instanceof ShadowRoot)&&(R=H)}const E=R.getElementById(`annotation-list-item-${m(c)}`),P=R.getElementById(`annotation-visual-${m(c)}`);if(E&&P){const H=E.getBoundingClientRect(),V=P.getBoundingClientRect(),U=H.left,I=H.top+H.height/2,D=V.left+V.width/2,te=V.top+V.height/2;_e(u,{x1:U,y1:I,x2:D,y2:te},!0)}else _e(u,null)};y();const S=setInterval(y,16);return()=>clearInterval(S)});let h=ie(()=>m(r).length?m(r).map(y=>{const S=eu(y);return{id:n(y),bodies:S,label:(typeof y.getLabel=="function"?y.getLabel():y.label)||""}}):[]);var d=y2(),p=K(d);{var _=y=>{var S=d2(),R=W(S),E=le(R),P=le(E);G(S),ze(()=>{Fe(R,"x1",m(u).x1),Fe(R,"y1",m(u).y1),Fe(R,"x2",m(u).x2),Fe(R,"y2",m(u).y2),Fe(E,"cx",m(u).x1),Fe(E,"cy",m(u).y1),Fe(P,"cx",m(u).x2),Fe(P,"cy",m(u).y2)}),k(y,S)};B(p,y=>{m(u)&&y(_)})}var f=le(p,2);{var g=y=>{var S=b2(),R=W(S),E=W(R),P=W(E);P.__click=N=>{N.preventDefault(),s()};var H=W(P);{var V=N=>{Ru(N,{size:16,weight:"bold"})},U=N=>{Au(N,{size:16,weight:"bold"})};B(H,N=>{m(o)?N(V):N(U,!1)})}G(P);var I=le(P,2),D=W(I),te=le(D),J=W(te,!0);G(te),G(I);var ce=le(I,2);Qy(ce,{size:16,weight:"bold",class:"group-open:rotate-180 transition-transform opacity-80"}),G(E);var z=le(E,2);Qt(z,21,()=>m(h),di,(N,Q,he)=>{const ne=ie(()=>e.visibleAnnotationIds.has(m(Q).id));var M=_2();M.__click=ye=>{ye.preventDefault(),a(m(Q).id)};var j=W(M);j.__click=ye=>{ye.stopPropagation(),a(m(Q).id)};var me=W(j);{var oe=ye=>{Ru(ye,{size:16,weight:"bold"})},Z=ye=>{Au(ye,{size:16,weight:"bold"})};B(me,ye=>{m(ne)?ye(oe):ye(Z,!1)})}G(j);var A=le(j,2),F=W(A),fe=W(F);fe.textContent=`#${he+1}`;var ge=le(fe,2);{var Ne=ye=>{var Ge=f2(),Je=W(Ge,!0);G(Ge),ze(()=>Qe(Je,m(Q).label)),k(ye,Ge)};B(ge,ye=>{m(Q).label&&!m(Q).bodies.some(Ge=>Ge.value===m(Q).label)&&ye(Ne)})}G(F);var Oe=le(F,2),Ae=W(Oe);Qt(Ae,17,()=>m(Q).bodies,di,(ye,Ge)=>{var Je=v2(),$e=W(Je);{var v=L=>{var Y=p2(),se=W(Y,!0);G(Y),ze(()=>Qe(se,m(Ge).value)),k(L,Y)},x=L=>{var Y=ee(),se=K(Y);{var we=Se=>{var Le=g2();Le.__click=qe=>qe.stopPropagation();var je=le(W(Le),2),Te=W(je,!0);G(je),G(Le),ze(()=>{Fe(Le,"href",m(Ge).value),Qe(Te,m(Ge).value)}),k(Se,Le)},re=Se=>{var Le=ee(),je=K(Le);{var Te=b=>{var w=ee(),T=K(w);xr(T,()=>m(Ge).value),k(b,w)},qe=b=>{var w=kt();ze(()=>Qe(w,m(Ge).value||"(No content)")),k(b,w)};B(je,b=>{m(Ge).isHtml?b(Te):b(qe,!1)})}k(Se,Le)};B(se,Se=>{m(Ge).purpose==="linking"?Se(we):Se(re,!1)},!0)}k(L,Y)};B($e,L=>{m(Ge).purpose==="tagging"?L(v):L(x,!1)})}G(Je),k(ye,Je)});var Pe=le(Ae,2);{var xe=ye=>{var Ge=m2();k(ye,Ge)};B(Pe,ye=>{m(Q).bodies.length===0&&ye(xe)})}G(Oe),G(A),G(M),ze(()=>{Fe(M,"id",`annotation-list-item-${m(Q).id??""}`),Ue(Oe,1,`text-sm prose prose-sm max-w-none prose-p:my-0 prose-a:text-blue-500 wrap-break-word text-left ${m(ne)?"":"opacity-50"} space-y-2`)}),wo("mouseenter",M,()=>_e(c,m(Q).id,!0)),wo("mouseleave",M,()=>_e(c,null)),wo("keypress",M,ye=>{(ye.key==="Enter"||ye.key===" ")&&(ye.preventDefault(),a(m(Q).id))}),k(N,M)},N=>{var Q=w2();k(N,Q)}),G(z),G(R),G(S),Li(S,N=>_e(l,N),()=>m(l)),ze((N,Q,he)=>{Fe(P,"title",N),Qe(D,`${Q??""} `),Qe(J,he)},[()=>m(o)?mu():_u(),()=>wu({count:m(r).length}),()=>bu({count:e.visibleAnnotationIds.size})]),k(y,S)};B(f,y=>{e.showAnnotations&&y(g)})}k(i,d),Ke()}Ur(["click"]);var T2=$('<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>'),E2=$('<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),k2=$('<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>'),S2=$('<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>'),C2=$('<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>'),P2=$('<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>'),R2=$('<svg><!><rect width="256" height="256" fill="none"></rect><!></svg>');function ps(i,t){Ye(t,!0);const e=zt();let r=At(t,["$$slots","$$events","$$legacy","children"]),n=ie(()=>t.weight??e.weight??"regular"),o=ie(()=>t.color??e.color??"currentColor"),a=ie(()=>t.size??e.size??"1em"),s=ie(()=>t.mirrored??e.mirrored??!1);function c(f){let{weight:g,color:y,size:S,mirrored:R,...E}=f;return E}var l=R2();Rt(l,(f,g)=>({xmlns:"http://www.w3.org/2000/svg",role:"img",width:m(a),height:m(a),fill:m(o),transform:m(s)?"scale(-1, 1)":void 0,viewBox:"0 0 256 256",...f,...g}),[()=>c(e),()=>c(r)]);var u=W(l);{var h=f=>{var g=ee(),y=K(g);Ct(y,()=>t.children),k(f,g)};B(u,f=>{t.children&&f(h)})}var d=le(u,2);{var p=f=>{var g=T2();k(f,g)},_=f=>{var g=ee(),y=K(g);{var S=E=>{var P=E2();Tt(),k(E,P)},R=E=>{var P=ee(),H=K(P);{var V=I=>{var D=k2();k(I,D)},U=I=>{var D=ee(),te=K(D);{var J=z=>{var N=S2();k(z,N)},ce=z=>{var N=ee(),Q=K(N);{var he=M=>{var j=C2();k(M,j)},ne=M=>{var j=ee(),me=K(j);{var oe=A=>{var F=P2();k(A,F)},Z=A=>{var F=kt();F.nodeValue=(console.error('Unsupported icon weight. Choose from "thin", "light", "regular", "bold", "fill", or "duotone".'),""),k(A,F)};B(me,A=>{m(n)==="thin"?A(oe):A(Z,!1)},!0)}k(M,j)};B(Q,M=>{m(n)==="regular"?M(he):M(ne,!1)},!0)}k(z,N)};B(te,z=>{m(n)==="light"?z(J):z(ce,!1)},!0)}k(I,D)};B(H,I=>{m(n)==="fill"?I(V):I(U,!1)},!0)}k(E,P)};B(y,E=>{m(n)==="duotone"?E(S):E(R,!1)},!0)}k(f,g)};B(d,f=>{m(n)==="bold"?f(p):f(_,!1)})}G(l),k(i,l),Ke()}var A2=pe('<button class="absolute top-1 right-1 btn btn-error btn-xs btn-circle z-20" aria-label="Close Gallery"><!></button>'),I2=pe('<div><div role="button" tabindex="0" aria-label="Drag Gallery"><div></div></div></div>'),O2=pe('<img class="object-contain w-full h-full" loading="lazy" draggable="false"/>'),D2=pe('<span class="opacity-20 text-4xl">?</span>'),M2=pe('<button><div class="aspect-3/4 bg-base-300 rounded overflow-hidden relative w-full flex items-center justify-center"><!></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>'),L2=pe('<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>'),z2=pe('<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),H2=pe("<div><!> <!> <div><div></div></div> <!></div> <!>",1);function dn(i,t){Ye(t,!0);const e=Nr(Hi);let r=ie(()=>{var P;return((P=e.config.gallery)==null?void 0:P.draggable)??!0}),n=ie(()=>{var P;return((P=e.config.gallery)==null?void 0:P.showCloseButton)??!0}),o=ke(!1),a={x:0,y:0,w:0,h:0},s=ke(null),c=ie(()=>!t.canvases||!Array.isArray(t.canvases)?[]:t.canvases.map((P,H)=>{let V="";try{if(P.getThumbnail){const U=P.getThumbnail();U&&(V=typeof U=="string"?U:U.id||U["@id"])}}catch(U){console.warn("Error getting thumbnail",U)}if(!V){let U=P.getImages();if((!U||!U.length)&&P.getContent&&(U=P.getContent()),U&&U.length>0){const I=U[0];let D=I.getResource?I.getResource():null;if(!D&&I.getBody){const te=I.getBody();Array.isArray(te)&&te.length>0?D=te[0]:te&&(D=te)}if(D&&!D.id&&!D.__jsonld&&(!D.getServices||D.getServices().length===0)&&(D=null),!D){const te=I.__jsonld||I;te.body&&(D=Array.isArray(te.body)?te.body[0]:te.body)}if(D){const J=(()=>{let z=[];if(D.getServices&&(z=D.getServices()),!z||z.length===0){const N=D.__jsonld||D;N.service&&(z=Array.isArray(N.service)?N.service:[N.service])}return z})();let ce=!1;if(J.length>0){const z=J[0];let N="";try{if(N=z.getProfile?z.getProfile():z.profile||"",typeof N=="object"&&N){const ne=N;N=ne.value||ne.id||ne["@id"]||JSON.stringify(ne)}}catch{}const Q=String(N??"").toLowerCase();(Q.includes("level0")||Q.includes("level-0"))&&(ce=!0);const he=z.id||z["@id"];ce||(V=`${he}/full/200,/0/default.jpg`)}if(!V&&(V=D.id||D["@id"],!V)){let z=null;if(I.__jsonld&&I.__jsonld.body?z=I.__jsonld.body:I.body&&(z=I.body),z){const N=Array.isArray(z)?z[0]:z;V=N.id||N["@id"]}}}}}return{id:P.id,label:P.getLabel().length?P.getLabel()[0].value:`Canvas ${H+1}`,src:V,index:H}}));function l(P){if(!e.isGalleryDragging)return;let H=P.clientX-e.galleryDragOffset.x,V=P.clientY-e.galleryDragOffset.y;const U=Math.max(0,window.innerWidth-e.gallerySize.width),I=Math.max(0,window.innerHeight-e.gallerySize.height);H=Math.max(0,Math.min(H,U)),V=Math.max(0,Math.min(V,I)),e.galleryPosition={x:H,y:V};const D=e.galleryCenterPanelRect;if(!D){console.warn("[Gallery] No center panel rect available");return}const te=P.clientX,J=P.clientY,ce=60;e.dragOverSide=null,te>=D.left&&te<=D.left+ce?e.dragOverSide="left":te<=D.right&&te>=D.right-ce?e.dragOverSide="right":J>=D.top&&J<=D.top+ce?e.dragOverSide="top":J<=D.bottom&&J>=D.bottom-ce&&(e.dragOverSide="bottom")}function u(){const P=e.dragOverSide;console.log("[Gallery] stopDrag. dropTarget:",P),e.isGalleryDragging=!1,e.dragOverSide=null,window.removeEventListener("mousemove",l),window.removeEventListener("mouseup",u),P&&(e.dockSide=P)}function h(P){P.stopPropagation(),_e(o,!0),a={x:P.clientX,y:P.clientY,w:e.gallerySize.width,h:e.gallerySize.height},window.addEventListener("mousemove",d),window.addEventListener("mouseup",p)}function d(P){if(!m(o))return;const H=P.clientX-a.x,V=P.clientY-a.y;e.gallerySize={width:Math.max(200,a.w+H),height:Math.max(200,a.h+V)}}function p(){_e(o,!1),window.removeEventListener("mousemove",d),window.removeEventListener("mouseup",p)}function _(P){e.setCanvas(P)}let f=ke(dt(e.dockSide));ht(()=>{const P=e.dockSide;_e(f,P==="none"||P==="top"||P==="bottom"||P==="left"||P==="right"?P:"none",!0)}),ht(()=>{e.dockSide!==m(f)&&(e.dockSide=m(f),e.isGalleryDockedBottom=m(f)==="bottom",e.isGalleryDockedRight=m(f)==="right")}),ht(()=>{if(!m(s)||!e.canvasId)return;const P=e.canvasId,H=m(s).querySelector(`[data-id="${CSS.escape(P)}"]`);H&&H.scrollIntoView({behavior:"smooth",block:"nearest",inline:"center"})});let g=ie(()=>m(f)==="top"||m(f)==="bottom"||m(f)==="none"&&e.gallerySize.height<320);function y(P){var I,D;if(!m(r)||P.target.closest(".resize-handle"))return;const H=m(f)!=="none";if(H){let te=Math.max(0,P.clientX-150),J=Math.max(0,P.clientY-20);const ce=Math.max(0,window.innerWidth-300),z=Math.max(0,window.innerHeight-400);te=Math.min(te,ce),J=Math.min(J,z),e.galleryPosition={x:te,y:J},e.galleryDragOffset={x:P.clientX-te,y:P.clientY-J}}else e.galleryDragOffset={x:P.clientX-e.galleryPosition.x,y:P.clientY-e.galleryPosition.y};const V=(I=m(s))==null?void 0:I.getRootNode(),U=((D=V==null?void 0:V.getElementById)==null?void 0:D.call(V,"triiiceratops-center-panel"))??document.getElementById("triiiceratops-center-panel");U?(e.galleryCenterPanelRect=U.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),H&&_e(f,"none")}var S=ee(),R=K(S);{var E=P=>{var H=H2(),V=K(H),U=W(V);{var I=ne=>{var M=A2();M.__click=()=>e.toggleThumbnailGallery();var j=W(M);ps(j,{size:16,weight:"bold"}),G(M),k(ne,M)};B(U,ne=>{m(n)&&ne(I)})}var D=le(U,2);{var te=ne=>{var M=I2(),j=W(M);j.__mousedown=y;var me=W(j);G(j),G(M),ze(()=>{Ue(M,1,"bg-base-100 flex shrink-0 select-none relative "+(m(f)==="bottom"||m(f)==="top"?"flex-row h-full items-center border-r border-base-200":"flex-col w-full border-b border-base-200")),Ue(j,1,"cursor-move flex items-center justify-center hover:bg-base-200/50 active:bg-base-200 transition-colors "+(m(f)==="bottom"||m(f)==="top"?"w-8 h-full":"h-6 w-full")),Ue(me,1,"bg-base-300 rounded-full "+(m(f)==="bottom"||m(f)==="top"?"w-1.5 h-12":"w-12 h-1.5"))}),k(ne,M)};B(D,ne=>{(m(r)||m(f)==="none")&&ne(te)})}var J=le(D,2),ce=W(J);Qt(ce,21,()=>m(c),di,(ne,M)=>{var j=M2();j.__click=()=>_(m(M).id);var me=W(j),oe=W(me);{var Z=Oe=>{var Ae=O2();ze(()=>{Fe(Ae,"src",m(M).src),Fe(Ae,"alt",m(M).label)}),k(Oe,Ae)},A=Oe=>{var Ae=D2();k(Oe,Ae)};B(oe,Oe=>{m(M).src?Oe(Z):Oe(A,!1)})}G(me);var F=le(me,2),fe=W(F),ge=W(fe);G(fe);var Ne=le(fe);G(F),G(j),ze(()=>{Ue(j,1,`group flex flex-col gap-1 p-1 rounded hover:bg-base-200 transition-colors text-left relative shrink-0 ${m(g)?"w-[90px]":""} ${e.canvasId===m(M).id?"ring-2 ring-primary bg-primary/5":""}`),Fe(j,"data-id",m(M).id),Fe(j,"aria-label",`Select canvas ${m(M).label??""}`),Qe(ge,`${m(M).index+1}.`),Qe(Ne,` ${m(M).label??""}`)}),k(ne,j)}),G(ce),G(J);var z=le(J,2);{var N=ne=>{var M=L2();M.__mousedown=h,k(ne,M)};B(z,ne=>{m(f)==="none"&&ne(N)})}G(V),Li(V,ne=>_e(s,ne),()=>m(s));var Q=le(V,2);{var he=ne=>{var M=z2(),j=K(M),me=le(j,2),oe=le(me,2),Z=le(oe,2);ze(()=>{Ue(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"}`),Ue(me,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"}`),Ue(oe,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"}`),Ue(Z,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"}`)}),k(ne,M)};B(Q,ne=>{e.isGalleryDragging&&ne(he)})}ze(()=>{Ue(V,1,(m(f)!=="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
|
${m(f)==="bottom"||m(f)==="top"?"flex-row border-t":""}
|
|
20
|
-
${m(f)==="left"||m(f)==="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":"")),Zr(V,m(f)!=="none"?"":`left: ${e.galleryPosition.x}px; top: ${e.galleryPosition.y}px; width: ${e.gallerySize.width}px; height: ${e.gallerySize.height}px;`),Ue(J,1,`flex-1 p-1 bg-base-100 ${m(g)?"overflow-x-auto overflow-y-hidden h-full":"overflow-y-auto overflow-x-hidden"}`),Ue(ce,1,Pt(m(g)?"flex flex-row gap-2 h-full items-center":"grid gap-2")),Zr(ce,m(g)?"":"grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));")}),k(P,H)};B(R,P=>{e.showThumbnailGallery&&P(E)})}k(i,S),Ke()}Ur(["click","mousedown"]);var N2=$('<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>'),F2=$('<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),B2=$('<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>'),V2=$('<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>'),j2=$('<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>'),U2=$('<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>'),G2=$('<svg><!><rect width="256" height="256" fill="none"></rect><!></svg>');function Iu(i,t){Ye(t,!0);const e=zt();let r=At(t,["$$slots","$$events","$$legacy","children"]),n=ie(()=>t.weight??e.weight??"regular"),o=ie(()=>t.color??e.color??"currentColor"),a=ie(()=>t.size??e.size??"1em"),s=ie(()=>t.mirrored??e.mirrored??!1);function c(f){let{weight:g,color:y,size:S,mirrored:R,...E}=f;return E}var l=G2();Rt(l,(f,g)=>({xmlns:"http://www.w3.org/2000/svg",role:"img",width:m(a),height:m(a),fill:m(o),transform:m(s)?"scale(-1, 1)":void 0,viewBox:"0 0 256 256",...f,...g}),[()=>c(e),()=>c(r)]);var u=W(l);{var h=f=>{var g=ee(),y=K(g);Ct(y,()=>t.children),k(f,g)};B(u,f=>{t.children&&f(h)})}var d=le(u,2);{var p=f=>{var g=N2();k(f,g)},_=f=>{var g=ee(),y=K(g);{var S=E=>{var P=F2();Tt(),k(E,P)},R=E=>{var P=ee(),H=K(P);{var V=I=>{var D=B2();k(I,D)},U=I=>{var D=ee(),te=K(D);{var J=z=>{var N=V2();k(z,N)},ce=z=>{var N=ee(),Q=K(N);{var he=M=>{var j=j2();k(M,j)},ne=M=>{var j=ee(),me=K(j);{var oe=A=>{var F=U2();k(A,F)},Z=A=>{var F=kt();F.nodeValue=(console.error('Unsupported icon weight. Choose from "thin", "light", "regular", "bold", "fill", or "duotone".'),""),k(A,F)};B(me,A=>{m(n)==="thin"?A(oe):A(Z,!1)},!0)}k(M,j)};B(Q,M=>{m(n)==="regular"?M(he):M(ne,!1)},!0)}k(z,N)};B(te,z=>{m(n)==="light"?z(J):z(ce,!1)},!0)}k(I,D)};B(H,I=>{m(n)==="fill"?I(V):I(U,!1)},!0)}k(E,P)};B(y,E=>{m(n)==="duotone"?E(S):E(R,!1)},!0)}k(f,g)};B(d,f=>{m(n)==="bold"?f(p):f(_,!1)})}G(l),k(i,l),Ke()}var Z2=$('<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>'),W2=$('<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),q2=$('<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>'),X2=$('<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>'),Y2=$('<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>'),K2=$('<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>'),Q2=$('<svg><!><rect width="256" height="256" fill="none"></rect><!></svg>');function J2(i,t){Ye(t,!0);const e=zt();let r=At(t,["$$slots","$$events","$$legacy","children"]),n=ie(()=>t.weight??e.weight??"regular"),o=ie(()=>t.color??e.color??"currentColor"),a=ie(()=>t.size??e.size??"1em"),s=ie(()=>t.mirrored??e.mirrored??!1);function c(f){let{weight:g,color:y,size:S,mirrored:R,...E}=f;return E}var l=Q2();Rt(l,(f,g)=>({xmlns:"http://www.w3.org/2000/svg",role:"img",width:m(a),height:m(a),fill:m(o),transform:m(s)?"scale(-1, 1)":void 0,viewBox:"0 0 256 256",...f,...g}),[()=>c(e),()=>c(r)]);var u=W(l);{var h=f=>{var g=ee(),y=K(g);Ct(y,()=>t.children),k(f,g)};B(u,f=>{t.children&&f(h)})}var d=le(u,2);{var p=f=>{var g=Z2();k(f,g)},_=f=>{var g=ee(),y=K(g);{var S=E=>{var P=W2();Tt(),k(E,P)},R=E=>{var P=ee(),H=K(P);{var V=I=>{var D=q2();k(I,D)},U=I=>{var D=ee(),te=K(D);{var J=z=>{var N=X2();k(z,N)},ce=z=>{var N=ee(),Q=K(N);{var he=M=>{var j=Y2();k(M,j)},ne=M=>{var j=ee(),me=K(j);{var oe=A=>{var F=K2();k(A,F)},Z=A=>{var F=kt();F.nodeValue=(console.error('Unsupported icon weight. Choose from "thin", "light", "regular", "bold", "fill", or "duotone".'),""),k(A,F)};B(me,A=>{m(n)==="thin"?A(oe):A(Z,!1)},!0)}k(M,j)};B(Q,M=>{m(n)==="regular"?M(he):M(ne,!1)},!0)}k(z,N)};B(te,z=>{m(n)==="light"?z(J):z(ce,!1)},!0)}k(I,D)};B(H,I=>{m(n)==="fill"?I(V):I(U,!1)},!0)}k(E,P)};B(y,E=>{m(n)==="duotone"?E(S):E(R,!1)},!0)}k(f,g)};B(d,f=>{m(n)==="bold"?f(p):f(_,!1)})}G(l),k(i,l),Ke()}var $2=$('<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>'),ex=$('<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),tx=$('<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>'),rx=$('<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>'),ix=$('<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>'),nx=$('<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>'),ox=$('<svg><!><rect width="256" height="256" fill="none"></rect><!></svg>');function ax(i,t){Ye(t,!0);const e=zt();let r=At(t,["$$slots","$$events","$$legacy","children"]),n=ie(()=>t.weight??e.weight??"regular"),o=ie(()=>t.color??e.color??"currentColor"),a=ie(()=>t.size??e.size??"1em"),s=ie(()=>t.mirrored??e.mirrored??!1);function c(f){let{weight:g,color:y,size:S,mirrored:R,...E}=f;return E}var l=ox();Rt(l,(f,g)=>({xmlns:"http://www.w3.org/2000/svg",role:"img",width:m(a),height:m(a),fill:m(o),transform:m(s)?"scale(-1, 1)":void 0,viewBox:"0 0 256 256",...f,...g}),[()=>c(e),()=>c(r)]);var u=W(l);{var h=f=>{var g=ee(),y=K(g);Ct(y,()=>t.children),k(f,g)};B(u,f=>{t.children&&f(h)})}var d=le(u,2);{var p=f=>{var g=$2();k(f,g)},_=f=>{var g=ee(),y=K(g);{var S=E=>{var P=ex();Tt(),k(E,P)},R=E=>{var P=ee(),H=K(P);{var V=I=>{var D=tx();k(I,D)},U=I=>{var D=ee(),te=K(D);{var J=z=>{var N=rx();k(z,N)},ce=z=>{var N=ee(),Q=K(N);{var he=M=>{var j=ix();k(M,j)},ne=M=>{var j=ee(),me=K(j);{var oe=A=>{var F=nx();k(A,F)},Z=A=>{var F=kt();F.nodeValue=(console.error('Unsupported icon weight. Choose from "thin", "light", "regular", "bold", "fill", or "duotone".'),""),k(A,F)};B(me,A=>{m(n)==="thin"?A(oe):A(Z,!1)},!0)}k(M,j)};B(Q,M=>{m(n)==="regular"?M(he):M(ne,!1)},!0)}k(z,N)};B(te,z=>{m(n)==="light"?z(J):z(ce,!1)},!0)}k(I,D)};B(H,I=>{m(n)==="fill"?I(V):I(U,!1)},!0)}k(E,P)};B(y,E=>{m(n)==="duotone"?E(S):E(R,!1)},!0)}k(f,g)};B(d,f=>{m(n)==="bold"?f(p):f(_,!1)})}G(l),k(i,l),Ke()}var sx=$('<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>'),lx=$('<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),cx=$('<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>'),ux=$('<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>'),hx=$('<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>'),dx=$('<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>'),fx=$('<svg><!><rect width="256" height="256" fill="none"></rect><!></svg>');function px(i,t){Ye(t,!0);const e=zt();let r=At(t,["$$slots","$$events","$$legacy","children"]),n=ie(()=>t.weight??e.weight??"regular"),o=ie(()=>t.color??e.color??"currentColor"),a=ie(()=>t.size??e.size??"1em"),s=ie(()=>t.mirrored??e.mirrored??!1);function c(f){let{weight:g,color:y,size:S,mirrored:R,...E}=f;return E}var l=fx();Rt(l,(f,g)=>({xmlns:"http://www.w3.org/2000/svg",role:"img",width:m(a),height:m(a),fill:m(o),transform:m(s)?"scale(-1, 1)":void 0,viewBox:"0 0 256 256",...f,...g}),[()=>c(e),()=>c(r)]);var u=W(l);{var h=f=>{var g=ee(),y=K(g);Ct(y,()=>t.children),k(f,g)};B(u,f=>{t.children&&f(h)})}var d=le(u,2);{var p=f=>{var g=sx();k(f,g)},_=f=>{var g=ee(),y=K(g);{var S=E=>{var P=lx();Tt(),k(E,P)},R=E=>{var P=ee(),H=K(P);{var V=I=>{var D=cx();k(I,D)},U=I=>{var D=ee(),te=K(D);{var J=z=>{var N=ux();k(z,N)},ce=z=>{var N=ee(),Q=K(N);{var he=M=>{var j=hx();k(M,j)},ne=M=>{var j=ee(),me=K(j);{var oe=A=>{var F=dx();k(A,F)},Z=A=>{var F=kt();F.nodeValue=(console.error('Unsupported icon weight. Choose from "thin", "light", "regular", "bold", "fill", or "duotone".'),""),k(A,F)};B(me,A=>{m(n)==="thin"?A(oe):A(Z,!1)},!0)}k(M,j)};B(Q,M=>{m(n)==="regular"?M(he):M(ne,!1)},!0)}k(z,N)};B(te,z=>{m(n)==="light"?z(J):z(ce,!1)},!0)}k(I,D)};B(H,I=>{m(n)==="fill"?I(V):I(U,!1)},!0)}k(E,P)};B(y,E=>{m(n)==="duotone"?E(S):E(R,!1)},!0)}k(f,g)};B(d,f=>{m(n)==="bold"?f(p):f(_,!1)})}G(l),k(i,l),Ke()}var gx=$('<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>'),vx=$('<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),mx=$('<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>'),_x=$('<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>'),wx=$('<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>'),bx=$('<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>'),yx=$('<svg><!><rect width="256" height="256" fill="none"></rect><!></svg>');function xx(i,t){Ye(t,!0);const e=zt();let r=At(t,["$$slots","$$events","$$legacy","children"]),n=ie(()=>t.weight??e.weight??"regular"),o=ie(()=>t.color??e.color??"currentColor"),a=ie(()=>t.size??e.size??"1em"),s=ie(()=>t.mirrored??e.mirrored??!1);function c(f){let{weight:g,color:y,size:S,mirrored:R,...E}=f;return E}var l=yx();Rt(l,(f,g)=>({xmlns:"http://www.w3.org/2000/svg",role:"img",width:m(a),height:m(a),fill:m(o),transform:m(s)?"scale(-1, 1)":void 0,viewBox:"0 0 256 256",...f,...g}),[()=>c(e),()=>c(r)]);var u=W(l);{var h=f=>{var g=ee(),y=K(g);Ct(y,()=>t.children),k(f,g)};B(u,f=>{t.children&&f(h)})}var d=le(u,2);{var p=f=>{var g=gx();k(f,g)},_=f=>{var g=ee(),y=K(g);{var S=E=>{var P=vx();Tt(),k(E,P)},R=E=>{var P=ee(),H=K(P);{var V=I=>{var D=mx();k(I,D)},U=I=>{var D=ee(),te=K(D);{var J=z=>{var N=_x();k(z,N)},ce=z=>{var N=ee(),Q=K(N);{var he=M=>{var j=wx();k(M,j)},ne=M=>{var j=ee(),me=K(j);{var oe=A=>{var F=bx();k(A,F)},Z=A=>{var F=kt();F.nodeValue=(console.error('Unsupported icon weight. Choose from "thin", "light", "regular", "bold", "fill", or "duotone".'),""),k(A,F)};B(me,A=>{m(n)==="thin"?A(oe):A(Z,!1)},!0)}k(M,j)};B(Q,M=>{m(n)==="regular"?M(he):M(ne,!1)},!0)}k(z,N)};B(te,z=>{m(n)==="light"?z(J):z(ce,!1)},!0)}k(I,D)};B(H,I=>{m(n)==="fill"?I(V):I(U,!1)},!0)}k(E,P)};B(y,E=>{m(n)==="duotone"?E(S):E(R,!1)},!0)}k(f,g)};B(d,f=>{m(n)==="bold"?f(p):f(_,!1)})}G(l),k(i,l),Ke()}var Tx=$('<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>'),Ex=$('<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),kx=$('<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>'),Sx=$('<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>'),Cx=$('<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>'),Px=$('<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>'),Rx=$('<svg><!><rect width="256" height="256" fill="none"></rect><!></svg>');function Ax(i,t){Ye(t,!0);const e=zt();let r=At(t,["$$slots","$$events","$$legacy","children"]),n=ie(()=>t.weight??e.weight??"regular"),o=ie(()=>t.color??e.color??"currentColor"),a=ie(()=>t.size??e.size??"1em"),s=ie(()=>t.mirrored??e.mirrored??!1);function c(f){let{weight:g,color:y,size:S,mirrored:R,...E}=f;return E}var l=Rx();Rt(l,(f,g)=>({xmlns:"http://www.w3.org/2000/svg",role:"img",width:m(a),height:m(a),fill:m(o),transform:m(s)?"scale(-1, 1)":void 0,viewBox:"0 0 256 256",...f,...g}),[()=>c(e),()=>c(r)]);var u=W(l);{var h=f=>{var g=ee(),y=K(g);Ct(y,()=>t.children),k(f,g)};B(u,f=>{t.children&&f(h)})}var d=le(u,2);{var p=f=>{var g=Tx();k(f,g)},_=f=>{var g=ee(),y=K(g);{var S=E=>{var P=Ex();Tt(),k(E,P)},R=E=>{var P=ee(),H=K(P);{var V=I=>{var D=kx();k(I,D)},U=I=>{var D=ee(),te=K(D);{var J=z=>{var N=Sx();k(z,N)},ce=z=>{var N=ee(),Q=K(N);{var he=M=>{var j=Cx();k(M,j)},ne=M=>{var j=ee(),me=K(j);{var oe=A=>{var F=Px();k(A,F)},Z=A=>{var F=kt();F.nodeValue=(console.error('Unsupported icon weight. Choose from "thin", "light", "regular", "bold", "fill", or "duotone".'),""),k(A,F)};B(me,A=>{m(n)==="thin"?A(oe):A(Z,!1)},!0)}k(M,j)};B(Q,M=>{m(n)==="regular"?M(he):M(ne,!1)},!0)}k(z,N)};B(te,z=>{m(n)==="light"?z(J):z(ce,!1)},!0)}k(I,D)};B(H,I=>{m(n)==="fill"?I(V):I(U,!1)},!0)}k(E,P)};B(y,E=>{m(n)==="duotone"?E(S):E(R,!1)},!0)}k(f,g)};B(d,f=>{m(n)==="bold"?f(p):f(_,!1)})}G(l),k(i,l),Ke()}var Ix=$('<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>'),Ox=$('<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),Dx=$('<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>'),Mx=$('<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>'),Lx=$('<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>'),zx=$('<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>'),Hx=$('<svg><!><rect width="256" height="256" fill="none"></rect><!></svg>');function Nx(i,t){Ye(t,!0);const e=zt();let r=At(t,["$$slots","$$events","$$legacy","children"]),n=ie(()=>t.weight??e.weight??"regular"),o=ie(()=>t.color??e.color??"currentColor"),a=ie(()=>t.size??e.size??"1em"),s=ie(()=>t.mirrored??e.mirrored??!1);function c(f){let{weight:g,color:y,size:S,mirrored:R,...E}=f;return E}var l=Hx();Rt(l,(f,g)=>({xmlns:"http://www.w3.org/2000/svg",role:"img",width:m(a),height:m(a),fill:m(o),transform:m(s)?"scale(-1, 1)":void 0,viewBox:"0 0 256 256",...f,...g}),[()=>c(e),()=>c(r)]);var u=W(l);{var h=f=>{var g=ee(),y=K(g);Ct(y,()=>t.children),k(f,g)};B(u,f=>{t.children&&f(h)})}var d=le(u,2);{var p=f=>{var g=Ix();k(f,g)},_=f=>{var g=ee(),y=K(g);{var S=E=>{var P=Ox();Tt(),k(E,P)},R=E=>{var P=ee(),H=K(P);{var V=I=>{var D=Dx();k(I,D)},U=I=>{var D=ee(),te=K(D);{var J=z=>{var N=Mx();k(z,N)},ce=z=>{var N=ee(),Q=K(N);{var he=M=>{var j=Lx();k(M,j)},ne=M=>{var j=ee(),me=K(j);{var oe=A=>{var F=zx();k(A,F)},Z=A=>{var F=kt();F.nodeValue=(console.error('Unsupported icon weight. Choose from "thin", "light", "regular", "bold", "fill", or "duotone".'),""),k(A,F)};B(me,A=>{m(n)==="thin"?A(oe):A(Z,!1)},!0)}k(M,j)};B(Q,M=>{m(n)==="regular"?M(he):M(ne,!1)},!0)}k(z,N)};B(te,z=>{m(n)==="light"?z(J):z(ce,!1)},!0)}k(I,D)};B(H,I=>{m(n)==="fill"?I(V):I(U,!1)},!0)}k(E,P)};B(y,E=>{m(n)==="duotone"?E(S):E(R,!1)},!0)}k(f,g)};B(d,f=>{m(n)==="bold"?f(p):f(_,!1)})}G(l),k(i,l),Ke()}function nt(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",d=6;let p=0,_=0;switch(h){case"top":p=l.top-u.height-d,_=l.left+(l.width-u.width)/2;break;case"bottom":p=l.bottom+d,_=l.left+(l.width-u.width)/2;break;case"left":p=l.top+(l.height-u.height)/2,_=l.left-u.width-d;break;case"right":p=l.top+(l.height-u.height)/2,_=l.right+d;break}_<0&&(_=0),p<0&&(p=0),_+u.width>window.innerWidth&&(_=window.innerWidth-u.width),p+u.height>window.innerHeight&&(p=window.innerHeight-u.height),e.style.top=`${p}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 Fx=pe('<div><button class="btn btn-ghost btn-circle btn-sm"><!></button></div>'),Bx=pe("<div></div>"),Vx=pe("<li><button><!></button></li>"),jx=pe("<li><button><!></button></li>"),Ux=pe("<li><button><!></button></li>"),Gx=pe("<li><button><!></button></li>"),Zx=pe("<li><button><!></button></li>"),Wx=pe("<div></div>"),qx=pe("<li><button><!></button></li>"),Xx=pe("<button><!></button>"),Yx=pe("<div><div><!> <ul><!> <!> <!> <!> <!> <!> <!></ul></div> <!></div>");function Kx(i,t){Ye(t,!0);const e=Nr(Hi),r=ie(()=>e.toolbarOpen),n=ie(()=>e.config.toolbarPosition||"left"),o=ie(()=>m(n)==="left"),a=ie(()=>m(n)==="top"),s=ie(()=>m(a)?"bottom":m(o)?"right":"left"),c=ie(()=>e.config.showToggle!==!1),l=ie(()=>e.config.toolbar||{}),u=ie(()=>m(l).showSearch!==!1),h=ie(()=>m(l).showGallery!==!1),d=ie(()=>m(l).showFullscreen!==!1),p=ie(()=>m(l).showAnnotations!==!1),_=ie(()=>m(l).showInfo!==!1);let f=ie(()=>(Ni.current,[...e.pluginMenuButtons].sort((oe,Z)=>(oe.order??100)-(Z.order??100))));function g(){e.toggleToolbar()}var y=Yx(),S=W(y),R=W(S);{var E=oe=>{var Z=Fx(),A=W(Z);A.__click=g;var F=W(A);ps(F,{size:20,weight:"bold"}),G(A),Or(A,(fe,ge)=>nt==null?void 0:nt(fe,ge),()=>({content:fs(),position:m(s)})),G(Z),ze(fe=>{Ue(Z,1,Pt(["shrink-0",m(a)&&"h-full flex items-center px-2",!m(a)&&"w-full flex justify-center py-2"])),Fe(A,"aria-label",fe)},[()=>fs()]),k(oe,Z)},P=oe=>{var Z=Bx();ze(()=>Ue(Z,1,Pt(m(a)?"w-2":"h-2"))),k(oe,Z)};B(R,oe=>{m(c)?oe(E):oe(P,!1)})}var H=le(R,2),V=W(H);{var U=oe=>{var Z=Vx(),A=W(Z);A.__click=()=>e.toggleSearchPanel();var F=W(A);Iu(F,{size:24,weight:"bold"}),G(A),Or(A,(fe,ge)=>nt==null?void 0:nt(fe,ge),()=>({content:os(),position:m(s)})),G(Z),ze(fe=>{Ue(A,1,Pt(["flex items-center justify-center",e.showSearchPanel&&"active"])),Fe(A,"aria-label",fe)},[()=>pu()]),k(oe,Z)};B(V,oe=>{m(u)&&oe(U)})}var I=le(V,2);{var D=oe=>{var Z=jx(),A=W(Z);A.__click=()=>e.toggleThumbnailGallery();var F=W(A);J2(F,{size:24,weight:"bold"}),G(A),Or(A,(fe,ge)=>nt==null?void 0:nt(fe,ge),()=>({content:e.showThumbnailGallery?as():ss(),position:m(s)})),G(Z),ze(fe=>{Ue(A,1,Pt(["flex items-center justify-center",e.showThumbnailGallery&&"active"])),Fe(A,"aria-label",fe)},[()=>e.showThumbnailGallery?as():ss()]),k(oe,Z)};B(I,oe=>{m(h)&&oe(D)})}var te=le(I,2);{var J=oe=>{var Z=Ux(),A=W(Z);A.__click=()=>e.toggleFullScreen();var F=W(A);{var fe=Ne=>{ax(Ne,{size:24,weight:"bold"})},ge=Ne=>{px(Ne,{size:24,weight:"bold"})};B(F,Ne=>{e.isFullScreen?Ne(fe):Ne(ge,!1)})}G(A),Or(A,(Ne,Oe)=>nt==null?void 0:nt(Ne,Oe),()=>({content:e.isFullScreen?ls():cs(),position:m(s)})),G(Z),ze(Ne=>{Ue(A,1,Pt(["flex items-center justify-center",e.isFullScreen&&"active"])),Fe(A,"aria-label",Ne)},[()=>e.isFullScreen?ls():cs()]),k(oe,Z)};B(te,oe=>{m(d)&&oe(J)})}var ce=le(te,2);{var z=oe=>{var Z=Gx(),A=W(Z);A.__click=()=>e.toggleAnnotations();var F=W(A);xx(F,{size:24,weight:"bold"}),G(A),Or(A,(fe,ge)=>nt==null?void 0:nt(fe,ge),()=>({content:e.showAnnotations?us():hs(),position:m(s)})),G(Z),ze(fe=>{Ue(A,1,Pt(["flex items-center justify-center",e.showAnnotations&&"active"])),Fe(A,"aria-label",fe)},[()=>e.showAnnotations?us():hs()]),k(oe,Z)};B(ce,oe=>{m(p)&&oe(z)})}var N=le(ce,2);{var Q=oe=>{var Z=Zx(),A=W(Z);A.__click=()=>e.toggleMetadataDialog();var F=W(A);Ax(F,{size:24,weight:"bold"}),G(A),Or(A,(fe,ge)=>nt==null?void 0:nt(fe,ge),()=>({content:gu(),position:m(s)})),G(Z),ze(fe=>{Ue(A,1,Pt(["flex items-center justify-center",e.showMetadataDialog&&"active"])),Fe(A,"aria-label",fe)},[()=>vu()]),k(oe,Z)};B(N,oe=>{m(_)&&oe(Q)})}var he=le(N,2);{var ne=oe=>{var Z=Wx();ze(()=>Ue(Z,1,Pt(["divider",m(a)&&"divider-horizontal mx-0",!m(a)&&"my-0"]))),k(oe,Z)};B(he,oe=>{(m(u)||m(h)||m(d)||m(p)||m(_))&&m(f).length>0&&oe(ne)})}var M=le(he,2);Qt(M,17,()=>m(f),oe=>oe.id,(oe,Z)=>{const A=ie(()=>m(Z).icon),F=ie(()=>typeof Cu[m(Z).tooltip]=="function"?Cu[m(Z).tooltip]():m(Z).tooltip);var fe=qx(),ge=W(fe);ge.__click=()=>{m(Z).onClick()};var Ne=W(ge);Oi(Ne,()=>m(A),(Oe,Ae)=>{Ae(Oe,{size:24,weight:"bold"})}),G(ge),Or(ge,(Oe,Ae)=>nt==null?void 0:nt(Oe,Ae),()=>({content:m(F),position:m(s)})),G(fe),ze(Oe=>{Ue(ge,1,Oe),Fe(ge,"aria-label",m(F))},[()=>{var Oe,Ae;return Pt(["flex items-center justify-center",((Ae=(Oe=m(Z)).isActive)==null?void 0:Ae.call(Oe))&&"active"])}]),k(oe,fe)}),G(H),G(S);var j=le(S,2);{var me=oe=>{var Z=Xx();Z.__click=g;var A=W(Z);Nx(A,{size:20,weight:"bold"}),G(Z),Or(Z,(F,fe)=>nt==null?void 0:nt(F,fe),()=>({content:ds(),position:m(s)})),ze(F=>{Ue(Z,1,Pt(["pointer-events-auto btn btn-circle btn-sm btn-neutral shadow-md z-40 transition-opacity duration-300 absolute mt-2",m(r)&&"opacity-0 pointer-events-none",!m(r)&&"opacity-100"])),Zr(Z,m(a)?"right: 0.5rem;":m(o)?"left: 0.5rem;":"right: 0.5rem;"),Fe(Z,"aria-label",F)},[()=>ds()]),k(oe,Z)};B(j,oe=>{m(c)&&oe(me)})}G(y),ze(()=>{Ue(y,1,Pt(["absolute z-50 pointer-events-none flex",m(a)&&"top-0 w-full items-end flex-col pt-0 pr-2",!m(a)&&"top-0 h-full items-start pt-4 pb-4",!m(a)&&m(o)&&"left-0 flex-row",!m(a)&&!m(o)&&"right-0 flex-row-reverse"])),Ue(S,1,Pt(["pointer-events-auto bg-base-100/95 backdrop-blur shadow-xl transition-all duration-300 ease-in-out flex overflow-hidden",m(a)&&"flex-row-reverse h-12 w-auto max-w-full rounded-b-xl border-x border-b border-base-200 origin-top",!m(a)&&"flex-col h-auto max-h-full border-y border-base-200 w-12",!m(a)&&m(o)&&"rounded-r-xl border-r origin-left",!m(a)&&!m(o)&&"rounded-l-xl border-l origin-right",m(r)&&m(a)&&"opacity-100 translate-y-0",m(r)&&!m(a)&&"w-12 opacity-100 translate-x-0",!m(r)&&m(a)&&"h-0 opacity-0 -translate-y-full",!m(r)&&!m(a)&&"w-0 opacity-0",!m(r)&&!m(a)&&m(o)&&"-translate-x-full",!m(r)&&!m(a)&&!m(o)&&"translate-x-full"])),Ue(H,1,Pt(["menu menu-md gap-2 flex-nowrap items-center min-h-0",m(a)&&"px-2 py-1 menu-horizontal w-auto overflow-x-auto overflow-y-hidden flex-row-reverse",!m(a)&&"py-2 px-1 flex-1 overflow-y-auto overflow-x-hidden w-12"]))}),k(i,y),Ke()}Ur(["click"]);var Qx=pe('<div class="mb-6 prose"><p><!></p></div>'),Jx=pe('<dt class="font-bold text-lg opacity-70 mt-6"> </dt> <dd class="text-sm ps-2"><!></dd>',1),$x=pe('<dt class="font-bold text-lg opacity-70 mt-6"> </dt> <dd class="text-sm ps-2"><a target="_blank" rel="noreferrer" class="link link-primary break-all"> </a></dd>',1),e8=pe('<dt class="font-bold text-lg opacity-70 mt-6"> </dt> <dd class="text-sm ps-2"><!></dd>',1),t8=pe('<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 class="grid grid-cols-1 md:grid-cols-[200px_1fr]"><!> <!> <!></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 r8(i,t){Ye(t,!0);const e=Nr(Hi);let r=ie(()=>e.manifest),n=ie(()=>{const z=Ni.current;if(!m(r))return[];const N=m(r).getMetadata();return N?N.map(Q=>{let he="",ne="";const M=j=>{if(typeof j=="string")return j;if(Array.isArray(j)){let me=j.find(oe=>oe.locale===z||oe.language===z);return me||(me=j.find(oe=>oe.locale==="en"||oe.language==="en")),me||(me=j.find(oe=>!oe.locale&&!oe.language)),me||(me=j[0]),me?me.value:""}return String(j)};return Q.getLabel?he=M(Q.getLabel()):Q.label&&(he=M(Q.label)),Q.getValue?ne=M(Q.getValue()):Q.value&&(ne=M(Q.value)),{label:he,value:ne}}):[]}),o=ie(()=>m(r)?m(r).getDescription():""),a=ie(()=>{var z;return m(r)?(z=m(r).getRequiredStatement())==null?void 0:z.getValue():""}),s=ie(()=>m(r)?m(r).getLicense():"");var c=t8(),l=W(c),u=W(l),h=W(u);h.__click=()=>e.toggleMetadataDialog(),G(u);var d=le(u,2),p=W(d,!0);G(d);var _=le(d,2),f=W(_);{var g=z=>{var N=Qx(),Q=W(N),he=W(Q);xr(he,()=>m(o)),G(Q),G(N),k(z,N)};B(f,z=>{m(o)&&z(g)})}var y=le(f,2),S=W(y);{var R=z=>{var N=Jx(),Q=K(N),he=W(Q,!0);G(Q);var ne=le(Q,2),M=W(ne);xr(M,()=>m(a)),G(ne),ze(j=>Qe(he,j),[()=>du()]),k(z,N)};B(S,z=>{m(a)&&z(R)})}var E=le(S,2);{var P=z=>{var N=$x(),Q=K(N),he=W(Q,!0);G(Q);var ne=le(Q,2),M=W(ne),j=W(M,!0);G(M),G(ne),ze(me=>{Qe(he,me),Fe(M,"href",m(s)),Qe(j,m(s))},[()=>fu()]),k(z,N)};B(E,z=>{m(s)&&z(P)})}var H=le(E,2);Qt(H,17,()=>m(n),di,(z,N)=>{var Q=e8(),he=K(Q),ne=W(he,!0);G(he);var M=le(he,2),j=W(M);xr(j,()=>m(N).value),G(M),ze(()=>Qe(ne,m(N).label)),k(z,Q)}),G(y),G(_);var V=le(_,2),U=W(V),I=W(U);I.__click=()=>e.toggleMetadataDialog();var D=W(I,!0);G(I),G(U),G(V),G(l);var te=le(l,2),J=W(te);J.__click=()=>e.toggleMetadataDialog();var ce=W(J,!0);G(J),G(te),G(c),ze((z,N,Q)=>{c.open=e.showMetadataDialog,Qe(p,z),Qe(D,N),Qe(ce,Q)},[()=>m(r)?m(r).getLabel().length&&m(r).getLabel()[0]?m(r).getLabel()[0].value:uu():hu(),()=>ns(),()=>ns()]),k(i,c),Ke()}Ur(["click"]);var i8=pe('<button class="btn btn-sm btn-circle btn-ghost"><!></button>'),n8=pe('<span class="loading loading-spinner loading-xs"></span>'),o8=pe('<div class="flex justify-center p-8"><span class="loading loading-spinner loading-lg text-primary"></span></div>'),a8=pe('<div class="text-center opacity-50 p-4"> </div>'),s8=pe('<div class="text-center opacity-50 p-4 text-sm"> </div>'),l8=pe('<div class="leading-relaxed"><span><!></span> <span class="bg-yellow-200 text-yellow-900 font-bold px-0.5 rounded"><!></span> <span><!></span></div>'),c8=pe('<div class="leading-relaxed"><!></div>'),u8=pe('<div class="p-3 text-sm border-b border-base-200 last:border-none hover:bg-base-200/30 transition-colors"><!></div>'),h8=pe('<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>'),d8=pe('<div class="text-xs font-bold opacity-50 uppercase tracking-wider pb-2"> </div> <!>',1),f8=pe('<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 Ou(i,t){Ye(t,!0);const e=Nr(Hi);let r=ke(""),n=ie(()=>{var p;return((p=e.config.search)==null?void 0:p.showCloseButton)??!0});ht(()=>{e.searchQuery!==We(()=>m(r))&&_e(r,e.searchQuery,!0)});function o(){e.search(m(r))}function a(p){p.key==="Enter"&&o()}function s(p){const _=e.canvases[p];_&&e.setCanvas(_.id)}let c=ie(()=>{var p;return((p=e.config.search)==null?void 0:p.width)??"320px"}),l=ie(()=>{var p;return((p=e.config.search)==null?void 0:p.position)??"right"});var u=ee(),h=K(u);{var d=p=>{var _=f8(),f=W(_),g=W(f),y=W(g,!0);G(g);var S=le(g,2);{var R=N=>{var Q=i8();Q.__click=()=>e.toggleSearchPanel();var he=W(Q);ps(he,{size:20,weight:"bold"}),G(Q),ze(ne=>Fe(Q,"aria-label",ne),[()=>Eu()]),k(N,Q)};B(S,N=>{m(n)&&N(R)})}G(f);var E=le(f,2),P=W(E),H=W(P);ba(H),H.__keydown=a;var V=le(H,2);V.__click=o;var U=W(V);{var I=N=>{var Q=n8();k(N,Q)},D=N=>{Iu(N,{size:20,weight:"bold"})};B(U,N=>{e.isSearching?N(I):N(D,!1)})}G(V),G(P),G(E);var te=le(E,2),J=W(te);{var ce=N=>{var Q=o8();k(N,Q)},z=N=>{var Q=ee(),he=K(Q);{var ne=j=>{var me=a8(),oe=W(me,!0);G(me),ze(Z=>Qe(oe,Z),[()=>su({query:e.searchQuery})]),k(j,me)},M=j=>{var me=ee(),oe=K(me);{var Z=F=>{var fe=s8(),ge=W(fe,!0);G(fe),ze(Ne=>Qe(ge,Ne),[()=>lu()]),k(F,fe)},A=F=>{var fe=d8(),ge=K(fe),Ne=W(ge,!0);G(ge);var Oe=le(ge,2);Qt(Oe,17,()=>e.searchResults,di,(Ae,Pe)=>{var xe=h8();xe.__click=()=>s(m(Pe).canvasIndex);var ye=W(xe),Ge=W(ye),Je=W(Ge,!0);G(Ge);var $e=le(Ge,2),v=W($e);G($e),G(ye);var x=le(ye,2);Qt(x,21,()=>m(Pe).hits.slice(0,1),di,(L,Y)=>{var se=u8(),we=W(se);{var re=Le=>{var je=l8(),Te=W(je),qe=W(Te);xr(qe,()=>m(Y).before),G(Te);var b=le(Te,2),w=W(b);xr(w,()=>m(Y).match),G(b);var T=le(b,2),C=W(T);xr(C,()=>m(Y).after),G(T),G(je),k(Le,je)},Se=Le=>{var je=c8(),Te=W(je);xr(Te,()=>m(Y).match),G(je),k(Le,je)};B(we,Le=>{m(Y).type==="hit"?Le(re):Le(Se,!1)})}G(se),k(L,se)}),G(x),G(xe),ze(()=>{Ue(xe,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===m(Pe).canvasIndex?"ring-2 ring-primary bg-primary/5":""}`),Qe(Je,m(Pe).canvasLabel),Qe(v,`${m(Pe).hits.length??""}
|
|
20
|
+
${m(f)==="left"||m(f)==="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":"")),Zr(V,m(f)!=="none"?"":`left: ${e.galleryPosition.x}px; top: ${e.galleryPosition.y}px; width: ${e.gallerySize.width}px; height: ${e.gallerySize.height}px;`),Ue(J,1,`flex-1 p-1 bg-base-100 ${m(g)?"overflow-x-auto overflow-y-hidden h-full":"overflow-y-auto overflow-x-hidden"}`),Ue(ce,1,Pt(m(g)?"flex flex-row gap-2 h-full items-center":"grid gap-2")),Zr(ce,m(g)?"":"grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));")}),k(P,H)};B(R,P=>{e.showThumbnailGallery&&P(E)})}k(i,S),Ke()}Ur(["click","mousedown"]);var N2=$('<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>'),F2=$('<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),B2=$('<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>'),V2=$('<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>'),j2=$('<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>'),U2=$('<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>'),G2=$('<svg><!><rect width="256" height="256" fill="none"></rect><!></svg>');function Iu(i,t){Ye(t,!0);const e=zt();let r=At(t,["$$slots","$$events","$$legacy","children"]),n=ie(()=>t.weight??e.weight??"regular"),o=ie(()=>t.color??e.color??"currentColor"),a=ie(()=>t.size??e.size??"1em"),s=ie(()=>t.mirrored??e.mirrored??!1);function c(f){let{weight:g,color:y,size:S,mirrored:R,...E}=f;return E}var l=G2();Rt(l,(f,g)=>({xmlns:"http://www.w3.org/2000/svg",role:"img",width:m(a),height:m(a),fill:m(o),transform:m(s)?"scale(-1, 1)":void 0,viewBox:"0 0 256 256",...f,...g}),[()=>c(e),()=>c(r)]);var u=W(l);{var h=f=>{var g=ee(),y=K(g);Ct(y,()=>t.children),k(f,g)};B(u,f=>{t.children&&f(h)})}var d=le(u,2);{var p=f=>{var g=N2();k(f,g)},_=f=>{var g=ee(),y=K(g);{var S=E=>{var P=F2();Tt(),k(E,P)},R=E=>{var P=ee(),H=K(P);{var V=I=>{var D=B2();k(I,D)},U=I=>{var D=ee(),te=K(D);{var J=z=>{var N=V2();k(z,N)},ce=z=>{var N=ee(),Q=K(N);{var he=M=>{var j=j2();k(M,j)},ne=M=>{var j=ee(),me=K(j);{var oe=A=>{var F=U2();k(A,F)},Z=A=>{var F=kt();F.nodeValue=(console.error('Unsupported icon weight. Choose from "thin", "light", "regular", "bold", "fill", or "duotone".'),""),k(A,F)};B(me,A=>{m(n)==="thin"?A(oe):A(Z,!1)},!0)}k(M,j)};B(Q,M=>{m(n)==="regular"?M(he):M(ne,!1)},!0)}k(z,N)};B(te,z=>{m(n)==="light"?z(J):z(ce,!1)},!0)}k(I,D)};B(H,I=>{m(n)==="fill"?I(V):I(U,!1)},!0)}k(E,P)};B(y,E=>{m(n)==="duotone"?E(S):E(R,!1)},!0)}k(f,g)};B(d,f=>{m(n)==="bold"?f(p):f(_,!1)})}G(l),k(i,l),Ke()}var Z2=$('<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>'),W2=$('<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),q2=$('<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>'),X2=$('<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>'),Y2=$('<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>'),K2=$('<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>'),Q2=$('<svg><!><rect width="256" height="256" fill="none"></rect><!></svg>');function J2(i,t){Ye(t,!0);const e=zt();let r=At(t,["$$slots","$$events","$$legacy","children"]),n=ie(()=>t.weight??e.weight??"regular"),o=ie(()=>t.color??e.color??"currentColor"),a=ie(()=>t.size??e.size??"1em"),s=ie(()=>t.mirrored??e.mirrored??!1);function c(f){let{weight:g,color:y,size:S,mirrored:R,...E}=f;return E}var l=Q2();Rt(l,(f,g)=>({xmlns:"http://www.w3.org/2000/svg",role:"img",width:m(a),height:m(a),fill:m(o),transform:m(s)?"scale(-1, 1)":void 0,viewBox:"0 0 256 256",...f,...g}),[()=>c(e),()=>c(r)]);var u=W(l);{var h=f=>{var g=ee(),y=K(g);Ct(y,()=>t.children),k(f,g)};B(u,f=>{t.children&&f(h)})}var d=le(u,2);{var p=f=>{var g=Z2();k(f,g)},_=f=>{var g=ee(),y=K(g);{var S=E=>{var P=W2();Tt(),k(E,P)},R=E=>{var P=ee(),H=K(P);{var V=I=>{var D=q2();k(I,D)},U=I=>{var D=ee(),te=K(D);{var J=z=>{var N=X2();k(z,N)},ce=z=>{var N=ee(),Q=K(N);{var he=M=>{var j=Y2();k(M,j)},ne=M=>{var j=ee(),me=K(j);{var oe=A=>{var F=K2();k(A,F)},Z=A=>{var F=kt();F.nodeValue=(console.error('Unsupported icon weight. Choose from "thin", "light", "regular", "bold", "fill", or "duotone".'),""),k(A,F)};B(me,A=>{m(n)==="thin"?A(oe):A(Z,!1)},!0)}k(M,j)};B(Q,M=>{m(n)==="regular"?M(he):M(ne,!1)},!0)}k(z,N)};B(te,z=>{m(n)==="light"?z(J):z(ce,!1)},!0)}k(I,D)};B(H,I=>{m(n)==="fill"?I(V):I(U,!1)},!0)}k(E,P)};B(y,E=>{m(n)==="duotone"?E(S):E(R,!1)},!0)}k(f,g)};B(d,f=>{m(n)==="bold"?f(p):f(_,!1)})}G(l),k(i,l),Ke()}var $2=$('<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>'),ex=$('<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),tx=$('<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>'),rx=$('<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>'),ix=$('<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>'),nx=$('<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>'),ox=$('<svg><!><rect width="256" height="256" fill="none"></rect><!></svg>');function ax(i,t){Ye(t,!0);const e=zt();let r=At(t,["$$slots","$$events","$$legacy","children"]),n=ie(()=>t.weight??e.weight??"regular"),o=ie(()=>t.color??e.color??"currentColor"),a=ie(()=>t.size??e.size??"1em"),s=ie(()=>t.mirrored??e.mirrored??!1);function c(f){let{weight:g,color:y,size:S,mirrored:R,...E}=f;return E}var l=ox();Rt(l,(f,g)=>({xmlns:"http://www.w3.org/2000/svg",role:"img",width:m(a),height:m(a),fill:m(o),transform:m(s)?"scale(-1, 1)":void 0,viewBox:"0 0 256 256",...f,...g}),[()=>c(e),()=>c(r)]);var u=W(l);{var h=f=>{var g=ee(),y=K(g);Ct(y,()=>t.children),k(f,g)};B(u,f=>{t.children&&f(h)})}var d=le(u,2);{var p=f=>{var g=$2();k(f,g)},_=f=>{var g=ee(),y=K(g);{var S=E=>{var P=ex();Tt(),k(E,P)},R=E=>{var P=ee(),H=K(P);{var V=I=>{var D=tx();k(I,D)},U=I=>{var D=ee(),te=K(D);{var J=z=>{var N=rx();k(z,N)},ce=z=>{var N=ee(),Q=K(N);{var he=M=>{var j=ix();k(M,j)},ne=M=>{var j=ee(),me=K(j);{var oe=A=>{var F=nx();k(A,F)},Z=A=>{var F=kt();F.nodeValue=(console.error('Unsupported icon weight. Choose from "thin", "light", "regular", "bold", "fill", or "duotone".'),""),k(A,F)};B(me,A=>{m(n)==="thin"?A(oe):A(Z,!1)},!0)}k(M,j)};B(Q,M=>{m(n)==="regular"?M(he):M(ne,!1)},!0)}k(z,N)};B(te,z=>{m(n)==="light"?z(J):z(ce,!1)},!0)}k(I,D)};B(H,I=>{m(n)==="fill"?I(V):I(U,!1)},!0)}k(E,P)};B(y,E=>{m(n)==="duotone"?E(S):E(R,!1)},!0)}k(f,g)};B(d,f=>{m(n)==="bold"?f(p):f(_,!1)})}G(l),k(i,l),Ke()}var sx=$('<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>'),lx=$('<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),cx=$('<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>'),ux=$('<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>'),hx=$('<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>'),dx=$('<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>'),fx=$('<svg><!><rect width="256" height="256" fill="none"></rect><!></svg>');function px(i,t){Ye(t,!0);const e=zt();let r=At(t,["$$slots","$$events","$$legacy","children"]),n=ie(()=>t.weight??e.weight??"regular"),o=ie(()=>t.color??e.color??"currentColor"),a=ie(()=>t.size??e.size??"1em"),s=ie(()=>t.mirrored??e.mirrored??!1);function c(f){let{weight:g,color:y,size:S,mirrored:R,...E}=f;return E}var l=fx();Rt(l,(f,g)=>({xmlns:"http://www.w3.org/2000/svg",role:"img",width:m(a),height:m(a),fill:m(o),transform:m(s)?"scale(-1, 1)":void 0,viewBox:"0 0 256 256",...f,...g}),[()=>c(e),()=>c(r)]);var u=W(l);{var h=f=>{var g=ee(),y=K(g);Ct(y,()=>t.children),k(f,g)};B(u,f=>{t.children&&f(h)})}var d=le(u,2);{var p=f=>{var g=sx();k(f,g)},_=f=>{var g=ee(),y=K(g);{var S=E=>{var P=lx();Tt(),k(E,P)},R=E=>{var P=ee(),H=K(P);{var V=I=>{var D=cx();k(I,D)},U=I=>{var D=ee(),te=K(D);{var J=z=>{var N=ux();k(z,N)},ce=z=>{var N=ee(),Q=K(N);{var he=M=>{var j=hx();k(M,j)},ne=M=>{var j=ee(),me=K(j);{var oe=A=>{var F=dx();k(A,F)},Z=A=>{var F=kt();F.nodeValue=(console.error('Unsupported icon weight. Choose from "thin", "light", "regular", "bold", "fill", or "duotone".'),""),k(A,F)};B(me,A=>{m(n)==="thin"?A(oe):A(Z,!1)},!0)}k(M,j)};B(Q,M=>{m(n)==="regular"?M(he):M(ne,!1)},!0)}k(z,N)};B(te,z=>{m(n)==="light"?z(J):z(ce,!1)},!0)}k(I,D)};B(H,I=>{m(n)==="fill"?I(V):I(U,!1)},!0)}k(E,P)};B(y,E=>{m(n)==="duotone"?E(S):E(R,!1)},!0)}k(f,g)};B(d,f=>{m(n)==="bold"?f(p):f(_,!1)})}G(l),k(i,l),Ke()}var gx=$('<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>'),vx=$('<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),mx=$('<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>'),_x=$('<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>'),wx=$('<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>'),bx=$('<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>'),yx=$('<svg><!><rect width="256" height="256" fill="none"></rect><!></svg>');function xx(i,t){Ye(t,!0);const e=zt();let r=At(t,["$$slots","$$events","$$legacy","children"]),n=ie(()=>t.weight??e.weight??"regular"),o=ie(()=>t.color??e.color??"currentColor"),a=ie(()=>t.size??e.size??"1em"),s=ie(()=>t.mirrored??e.mirrored??!1);function c(f){let{weight:g,color:y,size:S,mirrored:R,...E}=f;return E}var l=yx();Rt(l,(f,g)=>({xmlns:"http://www.w3.org/2000/svg",role:"img",width:m(a),height:m(a),fill:m(o),transform:m(s)?"scale(-1, 1)":void 0,viewBox:"0 0 256 256",...f,...g}),[()=>c(e),()=>c(r)]);var u=W(l);{var h=f=>{var g=ee(),y=K(g);Ct(y,()=>t.children),k(f,g)};B(u,f=>{t.children&&f(h)})}var d=le(u,2);{var p=f=>{var g=gx();k(f,g)},_=f=>{var g=ee(),y=K(g);{var S=E=>{var P=vx();Tt(),k(E,P)},R=E=>{var P=ee(),H=K(P);{var V=I=>{var D=mx();k(I,D)},U=I=>{var D=ee(),te=K(D);{var J=z=>{var N=_x();k(z,N)},ce=z=>{var N=ee(),Q=K(N);{var he=M=>{var j=wx();k(M,j)},ne=M=>{var j=ee(),me=K(j);{var oe=A=>{var F=bx();k(A,F)},Z=A=>{var F=kt();F.nodeValue=(console.error('Unsupported icon weight. Choose from "thin", "light", "regular", "bold", "fill", or "duotone".'),""),k(A,F)};B(me,A=>{m(n)==="thin"?A(oe):A(Z,!1)},!0)}k(M,j)};B(Q,M=>{m(n)==="regular"?M(he):M(ne,!1)},!0)}k(z,N)};B(te,z=>{m(n)==="light"?z(J):z(ce,!1)},!0)}k(I,D)};B(H,I=>{m(n)==="fill"?I(V):I(U,!1)},!0)}k(E,P)};B(y,E=>{m(n)==="duotone"?E(S):E(R,!1)},!0)}k(f,g)};B(d,f=>{m(n)==="bold"?f(p):f(_,!1)})}G(l),k(i,l),Ke()}var Tx=$('<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>'),Ex=$('<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),kx=$('<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>'),Sx=$('<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>'),Cx=$('<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>'),Px=$('<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>'),Rx=$('<svg><!><rect width="256" height="256" fill="none"></rect><!></svg>');function Ax(i,t){Ye(t,!0);const e=zt();let r=At(t,["$$slots","$$events","$$legacy","children"]),n=ie(()=>t.weight??e.weight??"regular"),o=ie(()=>t.color??e.color??"currentColor"),a=ie(()=>t.size??e.size??"1em"),s=ie(()=>t.mirrored??e.mirrored??!1);function c(f){let{weight:g,color:y,size:S,mirrored:R,...E}=f;return E}var l=Rx();Rt(l,(f,g)=>({xmlns:"http://www.w3.org/2000/svg",role:"img",width:m(a),height:m(a),fill:m(o),transform:m(s)?"scale(-1, 1)":void 0,viewBox:"0 0 256 256",...f,...g}),[()=>c(e),()=>c(r)]);var u=W(l);{var h=f=>{var g=ee(),y=K(g);Ct(y,()=>t.children),k(f,g)};B(u,f=>{t.children&&f(h)})}var d=le(u,2);{var p=f=>{var g=Tx();k(f,g)},_=f=>{var g=ee(),y=K(g);{var S=E=>{var P=Ex();Tt(),k(E,P)},R=E=>{var P=ee(),H=K(P);{var V=I=>{var D=kx();k(I,D)},U=I=>{var D=ee(),te=K(D);{var J=z=>{var N=Sx();k(z,N)},ce=z=>{var N=ee(),Q=K(N);{var he=M=>{var j=Cx();k(M,j)},ne=M=>{var j=ee(),me=K(j);{var oe=A=>{var F=Px();k(A,F)},Z=A=>{var F=kt();F.nodeValue=(console.error('Unsupported icon weight. Choose from "thin", "light", "regular", "bold", "fill", or "duotone".'),""),k(A,F)};B(me,A=>{m(n)==="thin"?A(oe):A(Z,!1)},!0)}k(M,j)};B(Q,M=>{m(n)==="regular"?M(he):M(ne,!1)},!0)}k(z,N)};B(te,z=>{m(n)==="light"?z(J):z(ce,!1)},!0)}k(I,D)};B(H,I=>{m(n)==="fill"?I(V):I(U,!1)},!0)}k(E,P)};B(y,E=>{m(n)==="duotone"?E(S):E(R,!1)},!0)}k(f,g)};B(d,f=>{m(n)==="bold"?f(p):f(_,!1)})}G(l),k(i,l),Ke()}var Ix=$('<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>'),Ox=$('<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),Dx=$('<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>'),Mx=$('<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>'),Lx=$('<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>'),zx=$('<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>'),Hx=$('<svg><!><rect width="256" height="256" fill="none"></rect><!></svg>');function Nx(i,t){Ye(t,!0);const e=zt();let r=At(t,["$$slots","$$events","$$legacy","children"]),n=ie(()=>t.weight??e.weight??"regular"),o=ie(()=>t.color??e.color??"currentColor"),a=ie(()=>t.size??e.size??"1em"),s=ie(()=>t.mirrored??e.mirrored??!1);function c(f){let{weight:g,color:y,size:S,mirrored:R,...E}=f;return E}var l=Hx();Rt(l,(f,g)=>({xmlns:"http://www.w3.org/2000/svg",role:"img",width:m(a),height:m(a),fill:m(o),transform:m(s)?"scale(-1, 1)":void 0,viewBox:"0 0 256 256",...f,...g}),[()=>c(e),()=>c(r)]);var u=W(l);{var h=f=>{var g=ee(),y=K(g);Ct(y,()=>t.children),k(f,g)};B(u,f=>{t.children&&f(h)})}var d=le(u,2);{var p=f=>{var g=Ix();k(f,g)},_=f=>{var g=ee(),y=K(g);{var S=E=>{var P=Ox();Tt(),k(E,P)},R=E=>{var P=ee(),H=K(P);{var V=I=>{var D=Dx();k(I,D)},U=I=>{var D=ee(),te=K(D);{var J=z=>{var N=Mx();k(z,N)},ce=z=>{var N=ee(),Q=K(N);{var he=M=>{var j=Lx();k(M,j)},ne=M=>{var j=ee(),me=K(j);{var oe=A=>{var F=zx();k(A,F)},Z=A=>{var F=kt();F.nodeValue=(console.error('Unsupported icon weight. Choose from "thin", "light", "regular", "bold", "fill", or "duotone".'),""),k(A,F)};B(me,A=>{m(n)==="thin"?A(oe):A(Z,!1)},!0)}k(M,j)};B(Q,M=>{m(n)==="regular"?M(he):M(ne,!1)},!0)}k(z,N)};B(te,z=>{m(n)==="light"?z(J):z(ce,!1)},!0)}k(I,D)};B(H,I=>{m(n)==="fill"?I(V):I(U,!1)},!0)}k(E,P)};B(y,E=>{m(n)==="duotone"?E(S):E(R,!1)},!0)}k(f,g)};B(d,f=>{m(n)==="bold"?f(p):f(_,!1)})}G(l),k(i,l),Ke()}function nt(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",d=6;let p=0,_=0;switch(h){case"top":p=l.top-u.height-d,_=l.left+(l.width-u.width)/2;break;case"bottom":p=l.bottom+d,_=l.left+(l.width-u.width)/2;break;case"left":p=l.top+(l.height-u.height)/2,_=l.left-u.width-d;break;case"right":p=l.top+(l.height-u.height)/2,_=l.right+d;break}_<0&&(_=0),p<0&&(p=0),_+u.width>window.innerWidth&&(_=window.innerWidth-u.width),p+u.height>window.innerHeight&&(p=window.innerHeight-u.height),e.style.top=`${p}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 Fx=pe('<div><button class="btn btn-ghost btn-circle btn-sm"><!></button></div>'),Bx=pe("<div></div>"),Vx=pe("<li><button><!></button></li>"),jx=pe("<li><button><!></button></li>"),Ux=pe("<li><button><!></button></li>"),Gx=pe("<li><button><!></button></li>"),Zx=pe("<li><button><!></button></li>"),Wx=pe("<div></div>"),qx=pe("<li><button><!></button></li>"),Xx=pe("<button><!></button>"),Yx=pe("<div><div><!> <ul><!> <!> <!> <!> <!> <!> <!></ul></div> <!></div>");function Kx(i,t){Ye(t,!0);const e=Nr(Hi),r=ie(()=>e.toolbarOpen),n=ie(()=>e.config.toolbarPosition||"left"),o=ie(()=>m(n)==="left"),a=ie(()=>m(n)==="top"),s=ie(()=>m(a)?"bottom":m(o)?"right":"left"),c=ie(()=>e.config.showToggle!==!1),l=ie(()=>e.config.toolbar||{}),u=ie(()=>m(l).showSearch!==!1),h=ie(()=>m(l).showGallery!==!1),d=ie(()=>m(l).showFullscreen!==!1),p=ie(()=>m(l).showAnnotations!==!1),_=ie(()=>m(l).showInfo!==!1);let f=ie(()=>(Ni.current,[...e.pluginMenuButtons].sort((oe,Z)=>(oe.order??100)-(Z.order??100))));function g(){e.toggleToolbar()}var y=Yx(),S=W(y),R=W(S);{var E=oe=>{var Z=Fx(),A=W(Z);A.__click=g;var F=W(A);ps(F,{size:20,weight:"bold"}),G(A),Or(A,(fe,ge)=>nt==null?void 0:nt(fe,ge),()=>({content:fs(),position:m(s)})),G(Z),ze(fe=>{Ue(Z,1,Pt(["shrink-0",m(a)&&"h-full flex items-center px-2",!m(a)&&"w-full flex justify-center py-2"])),Fe(A,"aria-label",fe)},[()=>fs()]),k(oe,Z)},P=oe=>{var Z=Bx();ze(()=>Ue(Z,1,Pt(m(a)?"w-2":"h-2"))),k(oe,Z)};B(R,oe=>{m(c)?oe(E):oe(P,!1)})}var H=le(R,2),V=W(H);{var U=oe=>{var Z=Vx(),A=W(Z);A.__click=()=>e.toggleSearchPanel();var F=W(A);Iu(F,{size:24,weight:"bold"}),G(A),Or(A,(fe,ge)=>nt==null?void 0:nt(fe,ge),()=>({content:os(),position:m(s)})),G(Z),ze(fe=>{Ue(A,1,Pt(["flex items-center justify-center",e.showSearchPanel&&"active"])),Fe(A,"aria-label",fe)},[()=>pu()]),k(oe,Z)};B(V,oe=>{m(u)&&oe(U)})}var I=le(V,2);{var D=oe=>{var Z=jx(),A=W(Z);A.__click=()=>e.toggleThumbnailGallery();var F=W(A);J2(F,{size:24,weight:"bold"}),G(A),Or(A,(fe,ge)=>nt==null?void 0:nt(fe,ge),()=>({content:e.showThumbnailGallery?as():ss(),position:m(s)})),G(Z),ze(fe=>{Ue(A,1,Pt(["flex items-center justify-center",e.showThumbnailGallery&&"active"])),Fe(A,"aria-label",fe)},[()=>e.showThumbnailGallery?as():ss()]),k(oe,Z)};B(I,oe=>{m(h)&&oe(D)})}var te=le(I,2);{var J=oe=>{var Z=Ux(),A=W(Z);A.__click=()=>e.toggleFullScreen();var F=W(A);{var fe=Ne=>{ax(Ne,{size:24,weight:"bold"})},ge=Ne=>{px(Ne,{size:24,weight:"bold"})};B(F,Ne=>{e.isFullScreen?Ne(fe):Ne(ge,!1)})}G(A),Or(A,(Ne,Oe)=>nt==null?void 0:nt(Ne,Oe),()=>({content:e.isFullScreen?ls():cs(),position:m(s)})),G(Z),ze(Ne=>{Ue(A,1,Pt(["flex items-center justify-center",e.isFullScreen&&"active"])),Fe(A,"aria-label",Ne)},[()=>e.isFullScreen?ls():cs()]),k(oe,Z)};B(te,oe=>{m(d)&&oe(J)})}var ce=le(te,2);{var z=oe=>{var Z=Gx(),A=W(Z);A.__click=()=>e.toggleAnnotations();var F=W(A);xx(F,{size:24,weight:"bold"}),G(A),Or(A,(fe,ge)=>nt==null?void 0:nt(fe,ge),()=>({content:e.showAnnotations?us():hs(),position:m(s)})),G(Z),ze(fe=>{Ue(A,1,Pt(["flex items-center justify-center",e.showAnnotations&&"active"])),Fe(A,"aria-label",fe)},[()=>e.showAnnotations?us():hs()]),k(oe,Z)};B(ce,oe=>{m(p)&&oe(z)})}var N=le(ce,2);{var Q=oe=>{var Z=Zx(),A=W(Z);A.__click=()=>e.toggleMetadataDialog();var F=W(A);Ax(F,{size:24,weight:"bold"}),G(A),Or(A,(fe,ge)=>nt==null?void 0:nt(fe,ge),()=>({content:gu(),position:m(s)})),G(Z),ze(fe=>{Ue(A,1,Pt(["flex items-center justify-center",e.showMetadataDialog&&"active"])),Fe(A,"aria-label",fe)},[()=>vu()]),k(oe,Z)};B(N,oe=>{m(_)&&oe(Q)})}var he=le(N,2);{var ne=oe=>{var Z=Wx();ze(()=>Ue(Z,1,Pt(["divider",m(a)&&"divider-horizontal mx-0",!m(a)&&"my-0"]))),k(oe,Z)};B(he,oe=>{(m(u)||m(h)||m(d)||m(p)||m(_))&&m(f).length>0&&oe(ne)})}var M=le(he,2);Qt(M,17,()=>m(f),oe=>oe.id,(oe,Z)=>{const A=ie(()=>m(Z).icon),F=ie(()=>typeof Cu[m(Z).tooltip]=="function"?Cu[m(Z).tooltip]():m(Z).tooltip);var fe=qx(),ge=W(fe);ge.__click=()=>{m(Z).onClick()};var Ne=W(ge);Oi(Ne,()=>m(A),(Oe,Ae)=>{Ae(Oe,{size:24,weight:"bold"})}),G(ge),Or(ge,(Oe,Ae)=>nt==null?void 0:nt(Oe,Ae),()=>({content:m(F),position:m(s)})),G(fe),ze(Oe=>{Ue(ge,1,Oe),Fe(ge,"aria-label",m(F))},[()=>{var Oe,Ae;return Pt(["flex items-center justify-center",((Ae=(Oe=m(Z)).isActive)==null?void 0:Ae.call(Oe))&&"active"])}]),k(oe,fe)}),G(H),G(S);var j=le(S,2);{var me=oe=>{var Z=Xx();Z.__click=g;var A=W(Z);Nx(A,{size:20,weight:"bold"}),G(Z),Or(Z,(F,fe)=>nt==null?void 0:nt(F,fe),()=>({content:ds(),position:m(s)})),ze(F=>{Ue(Z,1,Pt(["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",m(r)&&"opacity-0 pointer-events-none",!m(r)&&"opacity-100"])),Zr(Z,m(a)?"right: 0.5rem;":m(o)?"left: 0.5rem;":"right: 0.5rem;"),Fe(Z,"aria-label",F)},[()=>ds()]),k(oe,Z)};B(j,oe=>{m(c)&&oe(me)})}G(y),ze(()=>{Ue(y,1,Pt(["absolute z-50 pointer-events-none flex",m(a)&&"top-0 w-full items-end flex-col pt-0 pr-2",!m(a)&&"top-0 h-full items-start pt-4 pb-4",!m(a)&&m(o)&&"left-0 flex-row",!m(a)&&!m(o)&&"right-0 flex-row-reverse"])),Ue(S,1,Pt(["pointer-events-auto bg-base-100/95 backdrop-blur shadow-xl transition-all duration-300 ease-in-out flex overflow-hidden",m(a)&&"flex-row-reverse h-12 w-auto max-w-full rounded-b-xl border-x border-b border-base-200 origin-top",!m(a)&&"flex-col h-auto max-h-full border-y border-base-200 w-12",!m(a)&&m(o)&&"rounded-r-xl border-r origin-left",!m(a)&&!m(o)&&"rounded-l-xl border-l origin-right",m(r)&&m(a)&&"opacity-100 translate-y-0",m(r)&&!m(a)&&"w-12 opacity-100 translate-x-0",!m(r)&&m(a)&&"h-0 opacity-0 -translate-y-full",!m(r)&&!m(a)&&"w-0 opacity-0",!m(r)&&!m(a)&&m(o)&&"-translate-x-full",!m(r)&&!m(a)&&!m(o)&&"translate-x-full"])),Ue(H,1,Pt(["menu menu-md gap-2 flex-nowrap items-center min-h-0",m(a)&&"px-2 py-1 menu-horizontal w-auto overflow-x-auto overflow-y-hidden flex-row-reverse",!m(a)&&"py-2 px-1 flex-1 overflow-y-auto overflow-x-hidden w-12"]))}),k(i,y),Ke()}Ur(["click"]);var Qx=pe('<div class="mb-6 prose"><p><!></p></div>'),Jx=pe('<dt class="font-bold text-lg opacity-70 mt-6"> </dt> <dd class="text-sm ps-2"><!></dd>',1),$x=pe('<dt class="font-bold text-lg opacity-70 mt-6"> </dt> <dd class="text-sm ps-2"><a target="_blank" rel="noreferrer" class="link link-primary break-all"> </a></dd>',1),e8=pe('<dt class="font-bold text-lg opacity-70 mt-6"> </dt> <dd class="text-sm ps-2"><!></dd>',1),t8=pe('<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 class="grid grid-cols-1 md:grid-cols-[200px_1fr]"><!> <!> <!></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 r8(i,t){Ye(t,!0);const e=Nr(Hi);let r=ie(()=>e.manifest),n=ie(()=>{const z=Ni.current;if(!m(r))return[];const N=m(r).getMetadata();return N?N.map(Q=>{let he="",ne="";const M=j=>{if(typeof j=="string")return j;if(Array.isArray(j)){let me=j.find(oe=>oe.locale===z||oe.language===z);return me||(me=j.find(oe=>oe.locale==="en"||oe.language==="en")),me||(me=j.find(oe=>!oe.locale&&!oe.language)),me||(me=j[0]),me?me.value:""}return String(j)};return Q.getLabel?he=M(Q.getLabel()):Q.label&&(he=M(Q.label)),Q.getValue?ne=M(Q.getValue()):Q.value&&(ne=M(Q.value)),{label:he,value:ne}}):[]}),o=ie(()=>m(r)?m(r).getDescription():""),a=ie(()=>{var z;return m(r)?(z=m(r).getRequiredStatement())==null?void 0:z.getValue():""}),s=ie(()=>m(r)?m(r).getLicense():"");var c=t8(),l=W(c),u=W(l),h=W(u);h.__click=()=>e.toggleMetadataDialog(),G(u);var d=le(u,2),p=W(d,!0);G(d);var _=le(d,2),f=W(_);{var g=z=>{var N=Qx(),Q=W(N),he=W(Q);xr(he,()=>m(o)),G(Q),G(N),k(z,N)};B(f,z=>{m(o)&&z(g)})}var y=le(f,2),S=W(y);{var R=z=>{var N=Jx(),Q=K(N),he=W(Q,!0);G(Q);var ne=le(Q,2),M=W(ne);xr(M,()=>m(a)),G(ne),ze(j=>Qe(he,j),[()=>du()]),k(z,N)};B(S,z=>{m(a)&&z(R)})}var E=le(S,2);{var P=z=>{var N=$x(),Q=K(N),he=W(Q,!0);G(Q);var ne=le(Q,2),M=W(ne),j=W(M,!0);G(M),G(ne),ze(me=>{Qe(he,me),Fe(M,"href",m(s)),Qe(j,m(s))},[()=>fu()]),k(z,N)};B(E,z=>{m(s)&&z(P)})}var H=le(E,2);Qt(H,17,()=>m(n),di,(z,N)=>{var Q=e8(),he=K(Q),ne=W(he,!0);G(he);var M=le(he,2),j=W(M);xr(j,()=>m(N).value),G(M),ze(()=>Qe(ne,m(N).label)),k(z,Q)}),G(y),G(_);var V=le(_,2),U=W(V),I=W(U);I.__click=()=>e.toggleMetadataDialog();var D=W(I,!0);G(I),G(U),G(V),G(l);var te=le(l,2),J=W(te);J.__click=()=>e.toggleMetadataDialog();var ce=W(J,!0);G(J),G(te),G(c),ze((z,N,Q)=>{c.open=e.showMetadataDialog,Qe(p,z),Qe(D,N),Qe(ce,Q)},[()=>m(r)?m(r).getLabel().length&&m(r).getLabel()[0]?m(r).getLabel()[0].value:uu():hu(),()=>ns(),()=>ns()]),k(i,c),Ke()}Ur(["click"]);var i8=pe('<button class="btn btn-sm btn-circle btn-ghost"><!></button>'),n8=pe('<span class="loading loading-spinner loading-xs"></span>'),o8=pe('<div class="flex justify-center p-8"><span class="loading loading-spinner loading-lg text-primary"></span></div>'),a8=pe('<div class="text-center opacity-50 p-4"> </div>'),s8=pe('<div class="text-center opacity-50 p-4 text-sm"> </div>'),l8=pe('<div class="leading-relaxed"><span><!></span> <span class="bg-yellow-200 text-yellow-900 font-bold px-0.5 rounded"><!></span> <span><!></span></div>'),c8=pe('<div class="leading-relaxed"><!></div>'),u8=pe('<div class="p-3 text-sm border-b border-base-200 last:border-none hover:bg-base-200/30 transition-colors"><!></div>'),h8=pe('<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>'),d8=pe('<div class="text-xs font-bold opacity-50 uppercase tracking-wider pb-2"> </div> <!>',1),f8=pe('<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 Ou(i,t){Ye(t,!0);const e=Nr(Hi);let r=ke(""),n=ie(()=>{var p;return((p=e.config.search)==null?void 0:p.showCloseButton)??!0});ht(()=>{e.searchQuery!==We(()=>m(r))&&_e(r,e.searchQuery,!0)});function o(){e.search(m(r))}function a(p){p.key==="Enter"&&o()}function s(p){const _=e.canvases[p];_&&e.setCanvas(_.id)}let c=ie(()=>{var p;return((p=e.config.search)==null?void 0:p.width)??"320px"}),l=ie(()=>{var p;return((p=e.config.search)==null?void 0:p.position)??"right"});var u=ee(),h=K(u);{var d=p=>{var _=f8(),f=W(_),g=W(f),y=W(g,!0);G(g);var S=le(g,2);{var R=N=>{var Q=i8();Q.__click=()=>e.toggleSearchPanel();var he=W(Q);ps(he,{size:20,weight:"bold"}),G(Q),ze(ne=>Fe(Q,"aria-label",ne),[()=>Eu()]),k(N,Q)};B(S,N=>{m(n)&&N(R)})}G(f);var E=le(f,2),P=W(E),H=W(P);ba(H),H.__keydown=a;var V=le(H,2);V.__click=o;var U=W(V);{var I=N=>{var Q=n8();k(N,Q)},D=N=>{Iu(N,{size:20,weight:"bold"})};B(U,N=>{e.isSearching?N(I):N(D,!1)})}G(V),G(P),G(E);var te=le(E,2),J=W(te);{var ce=N=>{var Q=o8();k(N,Q)},z=N=>{var Q=ee(),he=K(Q);{var ne=j=>{var me=a8(),oe=W(me,!0);G(me),ze(Z=>Qe(oe,Z),[()=>su({query:e.searchQuery})]),k(j,me)},M=j=>{var me=ee(),oe=K(me);{var Z=F=>{var fe=s8(),ge=W(fe,!0);G(fe),ze(Ne=>Qe(ge,Ne),[()=>lu()]),k(F,fe)},A=F=>{var fe=d8(),ge=K(fe),Ne=W(ge,!0);G(ge);var Oe=le(ge,2);Qt(Oe,17,()=>e.searchResults,di,(Ae,Pe)=>{var xe=h8();xe.__click=()=>s(m(Pe).canvasIndex);var ye=W(xe),Ge=W(ye),Je=W(Ge,!0);G(Ge);var $e=le(Ge,2),v=W($e);G($e),G(ye);var x=le(ye,2);Qt(x,21,()=>m(Pe).hits.slice(0,1),di,(L,Y)=>{var se=u8(),we=W(se);{var re=Le=>{var je=l8(),Te=W(je),qe=W(Te);xr(qe,()=>m(Y).before),G(Te);var b=le(Te,2),w=W(b);xr(w,()=>m(Y).match),G(b);var T=le(b,2),C=W(T);xr(C,()=>m(Y).after),G(T),G(je),k(Le,je)},Se=Le=>{var je=c8(),Te=W(je);xr(Te,()=>m(Y).match),G(je),k(Le,je)};B(we,Le=>{m(Y).type==="hit"?Le(re):Le(Se,!1)})}G(se),k(L,se)}),G(x),G(xe),ze(()=>{Ue(xe,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===m(Pe).canvasIndex?"ring-2 ring-primary bg-primary/5":""}`),Qe(Je,m(Pe).canvasLabel),Qe(v,`${m(Pe).hits.length??""}
|
|
21
21
|
${m(Pe).hits.length===1?"match":"matches"}`)}),k(Ae,xe)}),ze(Ae=>Qe(Ne,Ae),[()=>cu({count:e.searchResults.length})]),k(F,fe)};B(oe,F=>{e.searchResults.length===0&&!e.searchQuery?F(Z):F(A,!1)},!0)}k(j,me)};B(he,j=>{e.searchResults.length===0&&e.searchQuery?j(ne):j(M,!1)},!0)}k(N,Q)};B(J,N=>{e.isSearching?N(ce):N(z,!1)})}G(te),G(_),ze((N,Q,he,ne)=>{Ue(_,1,`h-full bg-base-200 shadow-2xl z-100 flex flex-col transition-[width] duration-200 ${e.config.transparentBackground?"":m(l)==="left"?"border-r border-base-300":"border-l border-base-300"}`),Zr(_,`width: ${m(c)??""}`),Fe(_,"aria-label",N),Qe(y,Q),Fe(H,"placeholder",he),Fe(V,"aria-label",ne)},[()=>is(),()=>os(),()=>au(),()=>is()]),uc(H,()=>m(r),N=>_e(r,N)),k(p,_)};B(h,p=>{e.showSearchPanel&&p(d)})}k(i,u),Ke()}Ur(["click","keydown"]);var p8=pe('<div class="h-full relative pointer-events-auto"><!></div>'),g8=pe('<div class="h-full w-[140px] pointer-events-auto relative"><!></div>'),v8=pe('<div class="h-full relative pointer-events-auto"><!></div>'),m8=pe("<div><!> <!> <!></div>"),_8=pe('<div class="flex-none h-40 w-full pointer-events-auto relative z-20"><!></div>'),w8=pe('<div class="w-full h-full flex items-center justify-center"><span class="loading loading-spinner loading-lg text-primary"></span></div>'),b8=pe('<div class="w-full h-full flex items-center justify-center text-error"> </div>'),y8=pe('<div class="w-full h-full flex items-center justify-center text-base-content/50"> </div>'),x8=pe('<div class="absolute inset-0 z-40 pointer-events-none"><!></div>'),T8=pe('<div class="flex-none h-40 w-full pointer-events-auto relative z-20"><!></div>'),E8=pe('<div class="relative w-full z-40 pointer-events-auto"><!></div>'),k8=pe('<div class="h-full relative pointer-events-auto"><!></div>'),S8=pe('<div class="h-full w-[140px] pointer-events-auto relative"><!></div>'),C8=pe('<div class="h-full relative pointer-events-auto"><!></div>'),P8=pe("<div><!> <!> <!></div>"),R8=pe('<div id="triiiceratops-viewer"><!> <div id="triiiceratops-center-panel" class="flex-1 relative min-w-0 flex flex-col"><!> <div><!> <!> <!> <!> <!> <!> <!></div> <!> <!></div> <!></div>');function A8(i,t){Ye(t,!0);const e=typeof window<"u";let r=ir(t,"plugins",19,()=>[]),n=ir(t,"config",19,()=>({})),o=ir(t,"viewerState",15),a=ke(void 0);ht(()=>{m(a)&&(k0(m(a),t.theme,t.themeConfig),s.setViewerElement(m(a)))});const s=new a0(null,void 0,[]);o(s),Xo(Hi,s),pa(()=>{s.destroyAllPlugins()}),ht(()=>{t.manifestId&&t.manifestId!==s.manifestId&&s.setManifest(t.manifestId)});let c="";ht(()=>{t.canvasId&&t.canvasId!==c&&(c=t.canvasId,t.canvasId!==s.canvasId&&s.setCanvas(t.canvasId))});let l="";ht(()=>{if(n()){const A=JSON.stringify(n());A!==l&&(l=A,console.log("[Viewer] updateConfig called with new config:",n()),s.updateConfig(n()))}});let u=[];ht(()=>{const A=r();return We(()=>{for(const F of u)s.unregisterPlugin(F);u=[];for(const F of A){const fe=F.id||`plugin-${Math.random().toString(36).substr(2,9)}`,ge={...F,id:fe};s.registerPlugin(ge),u.push(fe)}}),()=>{for(const F of u)s.unregisterPlugin(F);u=[]}}),pa(()=>{s.destroyAllPlugins()}),ht(()=>{if(!e)return;const A=()=>{s.isFullScreen=!!document.fullscreenElement};return document.addEventListener("fullscreenchange",A),()=>{document.removeEventListener("fullscreenchange",A)}});let h=ie(()=>{var A;return s.showThumbnailGallery&&s.dockSide==="left"||s.showSearchPanel&&((A=s.config.search)==null?void 0:A.position)==="left"||s.pluginPanels.some(F=>F.position==="left"&&F.isVisible())}),d=ie(()=>{var A;return s.showSearchPanel&&((A=s.config.search)==null?void 0:A.position)!=="left"||s.showThumbnailGallery&&s.dockSide==="right"||s.pluginPanels.some(F=>F.position==="right"&&F.isVisible())}),p=ie(()=>s.manifestEntry),_=ie(()=>s.canvases),f=ie(()=>s.currentCanvasIndex);ht(()=>{if(s.pendingSearchQuery&&m(p)&&!m(p).isFetching&&!m(p).error&&m(p).manifesto){const A=s.pendingSearchQuery;s.pendingSearchQuery=null,console.log("[Viewer] Manifest loaded, triggering deferred search:",A),s.search(A)}}),ht(()=>{var A;m(_)&&m(_).length>0&&!s.canvasId&&!((A=m(p))!=null&&A.isFetching)&&(console.log("[Viewer] Auto-selecting first canvas:",m(_)[0].id),s.setCanvas(m(_)[0].id))});let g=ie(()=>{var Je,$e;if(!m(_)||m(f)===-1||!m(_)[m(f)])return(Je=m(p))!=null&&Je.isFetching||console.log("TriiiceratopsViewer: No canvas found"),null;const A=m(_)[m(f)];let F=A.getImages();if((!F||!F.length)&&A.getContent&&(F=A.getContent()),!F||!F.length)return A.__jsonld&&A.__jsonld.items,($e=m(p))!=null&&$e.isFetching||console.log("TriiiceratopsViewer: No images/content in canvas"),null;const fe=F[0];let ge=fe.getResource?fe.getResource():null;if(!ge&&fe.getBody){const v=fe.getBody();Array.isArray(v)&&v.length>0?ge=v[0]:v&&(ge=v)}const Ne=(ge==null?void 0:ge.__jsonld)||ge,Oe=ge&&(ge.id||ge["@id"]||Ne&&(Ne.service||Ne.id||Ne["@id"]));if(ge&&!Oe&&(ge=null),!ge){const v=fe.__jsonld||fe;v.body&&(ge=Array.isArray(v.body)?v.body[0]:v.body)}if(!ge)return null;const Ae=v=>v.id||v["@id"];let Pe=[];const xe=ge.__jsonld||ge;if(xe.service&&(Pe=Array.isArray(xe.service)?xe.service:[xe.service]),!Pe.length&&ge.getServices&&(Pe=ge.getServices()),Pe.length>0){const v=Pe.find(x=>{const L=x.getType?x.getType():x.type||x["@type"]||"",Y=x.getProfile?x.getProfile():x.profile||"";return L==="ImageService1"||L==="ImageService2"||L==="ImageService3"||typeof Y=="string"&&Y.includes("http://iiif.io/api/image")||typeof Y=="string"&&Y==="level0"});if(v){let x=Ae(v);return x&&!x.endsWith("/info.json")&&(x=`${x}/info.json`),x}}const ye=Ae(ge);if(ye&&ye.includes("/iiif/")){const v=ye.split("/"),x=v.findIndex(L=>L==="full"||L.match(/^\d+,\d+,\d+,\d+$/));if(x>0)return`${v.slice(0,x).join("/")}/info.json`}return console.log("TriiiceratopsViewer: No service or ID found, returning raw URL"),{type:"image",url:ye}});var y=R8(),S=W(y);{var R=A=>{var F=m8(),fe=W(F);{var ge=Pe=>{var xe=p8(),ye=W(xe);Ou(ye,{}),G(xe),k(Pe,xe)};B(fe,Pe=>{var xe;s.showSearchPanel&&((xe=s.config.search)==null?void 0:xe.position)==="left"&&Pe(ge)})}var Ne=le(fe,2);{var Oe=Pe=>{var xe=g8(),ye=W(xe);dn(ye,{get canvases(){return m(_)}}),G(xe),k(Pe,xe)};B(Ne,Pe=>{s.showThumbnailGallery&&s.dockSide==="left"&&Pe(Oe)})}var Ae=le(Ne,2);Qt(Ae,17,()=>s.pluginPanels,Pe=>Pe.id,(Pe,xe)=>{var ye=ee(),Ge=K(ye);{var Je=$e=>{var v=v8(),x=W(v);Oi(x,()=>m(xe).component,(L,Y)=>{Y(L,cn(()=>m(xe).props??{},{get locale(){return Ni.current}}))}),G(v),k($e,v)};B(Ge,$e=>{m(xe).isVisible()&&m(xe).position==="left"&&$e(Je)})}k(Pe,ye)}),G(F),ze(()=>Ue(F,1,`flex-none flex flex-row z-20 transition-all ${s.config.transparentBackground?"":"bg-base-200 border-r border-base-300"}`)),k(A,F)};B(S,A=>{m(h)&&A(R)})}var E=le(S,2),P=W(E);{var H=A=>{var F=_8(),fe=W(F);dn(fe,{get canvases(){return m(_)}}),G(F),k(A,F)};B(P,A=>{s.showThumbnailGallery&&s.dockSide==="top"&&A(H)})}var V=le(P,2),U=W(V);{var I=A=>{var F=w8();k(A,F)},D=A=>{var F=ee(),fe=K(F);{var ge=Oe=>{var Ae=b8(),Pe=W(Ae);G(Ae),ze(xe=>Qe(Pe,`${xe??""}
|
|
22
22
|
${m(p).error??""}`),[()=>ku()]),k(Oe,Ae)},Ne=Oe=>{var Ae=ee(),Pe=K(Ae);{var xe=Ge=>{var Je=ee(),$e=K(Je);Kl($e,()=>m(g),v=>{N0(v,{get tileSources(){return m(g)},get viewerState(){return s}})}),k(Ge,Je)},ye=Ge=>{var Je=ee(),$e=K(Je);{var v=x=>{var L=y8(),Y=W(L,!0);G(L),ze(se=>Qe(Y,se),[()=>Su()]),k(x,L)};B($e,x=>{m(p)&&!m(p).isFetching&&!m(g)&&x(v)},!0)}k(Ge,Je)};B(Pe,Ge=>{m(g)?Ge(xe):Ge(ye,!1)},!0)}k(Oe,Ae)};B(fe,Oe=>{var Ae;(Ae=m(p))!=null&&Ae.error?Oe(ge):Oe(Ne,!1)},!0)}k(A,F)};B(U,A=>{var F;(F=m(p))!=null&&F.isFetching?A(I):A(D,!1)})}var te=le(U,2);x2(te,{});var J=le(te,2);r8(J,{});var ce=le(J,2);Kx(ce,{});var z=le(ce,2);Qt(z,17,()=>s.pluginPanels,A=>A.id,(A,F)=>{var fe=ee(),ge=K(fe);{var Ne=Oe=>{var Ae=x8(),Pe=W(Ae);Oi(Pe,()=>m(F).component,(xe,ye)=>{ye(xe,cn(()=>m(F).props??{},{get locale(){return Ni.current}}))}),G(Ae),k(Oe,Ae)};B(ge,Oe=>{m(F).isVisible()&&m(F).position==="overlay"&&Oe(Ne)})}k(A,fe)});var N=le(z,2);{var Q=A=>{Uy(A,{get viewerState(){return s}})};B(N,A=>{(m(_).length>1&&s.showCanvasNav||(s.config.showZoomControls??!0))&&A(Q)})}var he=le(N,2);{var ne=A=>{dn(A,{get canvases(){return m(_)}})};B(he,A=>{s.showThumbnailGallery&&s.dockSide==="none"&&A(ne)})}G(V);var M=le(V,2);{var j=A=>{var F=T8(),fe=W(F);dn(fe,{get canvases(){return m(_)}}),G(F),k(A,F)};B(M,A=>{s.showThumbnailGallery&&s.dockSide==="bottom"&&A(j)})}var me=le(M,2);Qt(me,17,()=>s.pluginPanels,A=>A.id,(A,F)=>{var fe=ee(),ge=K(fe);{var Ne=Oe=>{var Ae=E8(),Pe=W(Ae);Oi(Pe,()=>m(F).component,(xe,ye)=>{ye(xe,cn(()=>m(F).props??{},{get locale(){return Ni.current}}))}),G(Ae),k(Oe,Ae)};B(ge,Oe=>{m(F).isVisible()&&m(F).position==="bottom"&&Oe(Ne)})}k(A,fe)}),G(E);var oe=le(E,2);{var Z=A=>{var F=P8(),fe=W(F);{var ge=Pe=>{var xe=k8(),ye=W(xe);Ou(ye,{}),G(xe),k(Pe,xe)};B(fe,Pe=>{var xe;s.showSearchPanel&&((xe=s.config.search)==null?void 0:xe.position)!=="left"&&Pe(ge)})}var Ne=le(fe,2);{var Oe=Pe=>{var xe=S8(),ye=W(xe);dn(ye,{get canvases(){return m(_)}}),G(xe),k(Pe,xe)};B(Ne,Pe=>{s.showThumbnailGallery&&s.dockSide==="right"&&Pe(Oe)})}var Ae=le(Ne,2);Qt(Ae,17,()=>s.pluginPanels,Pe=>Pe.id,(Pe,xe)=>{var ye=ee(),Ge=K(ye);{var Je=$e=>{var v=C8(),x=W(v);Oi(x,()=>m(xe).component,(L,Y)=>{Y(L,cn(()=>m(xe).props??{},{get locale(){return Ni.current}}))}),G(v),k($e,v)};B(Ge,$e=>{m(xe).isVisible()&&m(xe).position==="right"&&$e(Je)})}k(Pe,ye)}),G(F),ze(()=>Ue(F,1,`flex-none flex flex-row z-20 transition-all ${s.config.transparentBackground?"":"bg-base-100"}`)),k(A,F)};B(oe,A=>{m(d)&&A(Z)})}G(y),Li(y,A=>_e(a,A),()=>m(a)),ze(()=>{Ue(y,1,`flex w-full h-full relative overflow-hidden ${s.config.transparentBackground?"":"bg-base-100"}`),Ue(V,1,`flex-1 relative min-h-0 w-full h-full ${s.config.transparentBackground?"":"bg-base-100"}`)}),k(i,y),Ke()}var I8=pe('<!> <div class="w-full h-full"><!></div>',1);function O8(i,t){Ye(t,!0);let e=ir(t,"manifestId",7,""),r=ir(t,"canvasId",7,""),n=ir(t,"plugins",23,()=>[]),o=ir(t,"theme",7,void 0),a=ir(t,"themeConfig",7,void 0),s=ir(t,"config",7,void 0),c,l=ke(void 0),u=!1;ht(()=>{m(l)&&c&&!u&&(u=!0,m(l).setEventTarget(c))});let h=ie(()=>{if(o()){if(b0(o()))return o();console.warn(`Invalid theme "${o()}". Using inherited theme.`)}}),d=ie(()=>{if(a()){if(typeof a()=="string"){const R=E0(a());return R||console.warn(`Invalid theme-config JSON: "${a()}". Ignoring.`),R??void 0}return a()}}),p=ie(()=>{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(R=""){e(R),Ht()},get canvasId(){return r()},set canvasId(R=""){r(R),Ht()},get plugins(){return n()},set plugins(R=[]){n(R),Ht()},get theme(){return o()},set theme(R=void 0){o(R),Ht()},get themeConfig(){return a()},set themeConfig(R=void 0){a(R),Ht()},get config(){return s()},set config(R=void 0){s(R),Ht()}},f=I8(),g=K(f);xr(g,()=>`<style>${fg}</style>`);var y=le(g,2),S=W(y);return A8(S,{get manifestId(){return e()},get canvasId(){return r()},get plugins(){return n()},get theme(){return m(h)},get themeConfig(){return m(d)},get config(){return m(p)},get viewerState(){return m(l)},set viewerState(R){_e(l,R,!0)}}),G(y),Li(y,R=>c=R,()=>c),k(i,f),Ke(_)}customElements.define("triiiceratops-viewer",wc(O8,{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:gf,internal:hg},window.TriiiceratopsPlugins=window.TriiiceratopsPlugins||{};var Mo={exports:{}},D8=Mo.exports,Du;function M8(){return Du||(Du=1,(function(i){//! openseadragon 5.0.1
|
|
23
23
|
//! Built on 2024-12-09
|