From aa7afa586cf8b0ba26badfdc19b7523393c4903f Mon Sep 17 00:00:00 2001 From: Yu Min Choi Date: Wed, 17 Jun 2026 08:52:48 +0900 Subject: [PATCH] Initial submission --- .DS_Store | Bin 0 -> 8196 bytes .gitignore | 4 + README.md | 50 + dist/assets/index-BzJXpssD.js | 40 + dist/assets/index-D5s_4auv.css | 1 + dist/index.html | 13 + package-lock.json | 1551 ++++++++++++++++++++++++++++++++ package.json | 20 + public/.DS_Store | Bin 0 -> 6148 bytes src/App.svelte | 43 + src/Bee.svelte | 652 ++++++++++++++ src/BeeBackground.svelte | 183 ++++ src/Blobfish.svelte | 888 ++++++++++++++++++ src/Chicken.svelte | 660 ++++++++++++++ src/ChickenBackground.svelte | 161 ++++ src/Dove.svelte | 599 ++++++++++++ src/DoveBackground.svelte | 100 ++ src/Land.svelte | 612 +++++++++++++ src/Sloth.svelte | 693 ++++++++++++++ src/SlothBackground.svelte | 134 +++ src/app.css | 296 ++++++ src/assets/hero.png | Bin 0 -> 13057 bytes src/assets/svelte.svg | 1 + src/assets/vite.svg | 1 + src/main.js | 9 + 25 files changed, 6711 insertions(+) create mode 100644 .DS_Store create mode 100644 .gitignore create mode 100644 README.md create mode 100644 dist/assets/index-BzJXpssD.js create mode 100644 dist/assets/index-D5s_4auv.css create mode 100644 dist/index.html create mode 100644 package-lock.json create mode 100644 package.json create mode 100644 public/.DS_Store create mode 100644 src/App.svelte create mode 100644 src/Bee.svelte create mode 100644 src/BeeBackground.svelte create mode 100644 src/Blobfish.svelte create mode 100644 src/Chicken.svelte create mode 100644 src/ChickenBackground.svelte create mode 100644 src/Dove.svelte create mode 100644 src/DoveBackground.svelte create mode 100644 src/Land.svelte create mode 100644 src/Sloth.svelte create mode 100644 src/SlothBackground.svelte create mode 100644 src/app.css create mode 100644 src/assets/hero.png create mode 100644 src/assets/svelte.svg create mode 100644 src/assets/vite.svg create mode 100644 src/main.js diff --git a/.DS_Store b/.DS_Store new file mode 100644 index 0000000000000000000000000000000000000000..87cf98708dbd7a71e0c5219db390940d90291a11 GIT binary patch literal 8196 zcmeHM&u<$=6n^8F)^3t^oyH{ykSu&bYDgNA5+n||ZYmV<>Iwjzg;@#O>Zd<+NgALlTK8iO z3xvf`=orfM6@%%U1B>ApuW0{%tYbJawKC?>D>HpVVfy01O3IyBCDv)3GLSMb%7DDP zXQ@FBg%l<3?{_iw_?Z#~yaX=~zMLM>0zIIJ+T;4^2#z&epqkVJE&^&~MfSrPIH97f!&|mGn1fR|yk4f5z!k_R6OkUGZo&T@poHq5 z6LIG2#0*o38P3B!P2es7*C9(~Y7a*_!T-tE>W034-|~~?yG|J0xbZv7Ok`iVa1kV#D@*q6O+AzW+FHmx0pck9ONZQ(_x!RL?55M`(=>RABLf`%H=OjPEB9FViabs7G?{@V)5FmbFa<3{zl!nYMJ(7 zE0EFN7On`YZim;6D*S)5|iZX%?Uk-&kJP4sjFuQwZ z5SU(zS9|wd)8g)iR~1nt+Pe<2kddn;YrbhaUaS1!-!YZ>a^>x~Wl(v*ZfvrAeMj>3b;bp)}#_1|X z77%&j_#9pZtPoo|bx>ah+WD8*CkZS()=>(t||(e((t={exports:{}}).exports,t),e=null),t.exports),s=(e,i,o,s)=>{if(i&&typeof i==`object`||typeof i==`function`)for(var c=r(i),l=0,u=c.length,d;li[e]).bind(null,d),enumerable:!(s=n(i,d))||s.enumerable});return e},c=(n,r,a)=>(a=n==null?{}:e(i(n)),s(r||!n||!n.__esModule?t(a,`default`,{value:n,enumerable:!0}):a,n));(function(){let e=document.createElement(`link`).relList;if(e&&e.supports&&e.supports(`modulepreload`))return;for(let e of document.querySelectorAll(`link[rel="modulepreload"]`))n(e);new MutationObserver(e=>{for(let t of e)if(t.type===`childList`)for(let e of t.addedNodes)e.tagName===`LINK`&&e.rel===`modulepreload`&&n(e)}).observe(document,{childList:!0,subtree:!0});function t(e){let t={};return e.integrity&&(t.integrity=e.integrity),e.referrerPolicy&&(t.referrerPolicy=e.referrerPolicy),e.crossOrigin===`use-credentials`?t.credentials=`include`:e.crossOrigin===`anonymous`?t.credentials=`omit`:t.credentials=`same-origin`,t}function n(e){if(e.ep)return;e.ep=!0;let n=t(e);fetch(e.href,n)}})();var l=Array.isArray,u=Array.prototype.indexOf,d=Array.prototype.includes,f=Array.from,p=Object.defineProperty,m=Object.getOwnPropertyDescriptor,h=Object.getOwnPropertyDescriptors,g=Object.prototype,_=Array.prototype,v=Object.getPrototypeOf,y=Object.isExtensible,b=()=>{};function x(e){return e()}function S(e){for(var t=0;t{e=n,t=r}),resolve:e,reject:t}}var w=1024,T=2048,E=4096,D=8192,O=16384,ee=32768,k=1<<25,te=65536,A=1<<19,j=1<<20,M=1<<25,N=65536,P=1<<21,F=1<<22,ne=1<<23,I=Symbol(`$state`),re=Symbol(`legacy props`),ie=Symbol(``),ae=Symbol(`attributes`),oe=Symbol(`class`),se=Symbol(`style`),ce=Symbol(`text`),le=Symbol(`form reset`),L=new class extends Error{name=`StaleReactionError`;message="The reaction that called `getAbortSignal()` was re-run or destroyed"},ue=!!globalThis.document?.contentType&&globalThis.document.contentType.includes(`xml`);function de(e){throw Error(`https://svelte.dev/e/lifecycle_outside_component`)}function fe(){throw Error(`https://svelte.dev/e/async_derived_orphan`)}function pe(e,t,n){throw Error(`https://svelte.dev/e/each_key_duplicate`)}function me(e){throw Error(`https://svelte.dev/e/effect_in_teardown`)}function he(){throw Error(`https://svelte.dev/e/effect_in_unowned_derived`)}function ge(e){throw Error(`https://svelte.dev/e/effect_orphan`)}function _e(){throw Error(`https://svelte.dev/e/effect_update_depth_exceeded`)}function ve(e){throw Error(`https://svelte.dev/e/props_invalid_value`)}function ye(){throw Error(`https://svelte.dev/e/state_descriptors_fixed`)}function be(){throw Error(`https://svelte.dev/e/state_prototype_fixed`)}function xe(){throw Error(`https://svelte.dev/e/state_unsafe_mutation`)}function Se(){throw Error(`https://svelte.dev/e/svelte_boundary_reset_onerror`)}var Ce={},we=Symbol(`uninitialized`),Te=`http://www.w3.org/1999/xhtml`;function Ee(){console.warn(`https://svelte.dev/e/derived_inert`)}function De(e){console.warn(`https://svelte.dev/e/hydration_mismatch`)}function Oe(){console.warn(`https://svelte.dev/e/svelte_boundary_reset_noop`)}var ke=!1;function Ae(e){ke=e}var je;function Me(e){if(e===null)throw De(),Ce;return je=e}function Ne(){return Me(dn(je))}function R(e){if(ke){if(dn(je)!==null)throw De(),Ce;je=e}}function Pe(e=1){if(ke){for(var t=e,n=je;t--;)n=dn(n);je=n}}function Fe(e=!0){for(var t=0,n=je;;){if(n.nodeType===8){var r=n.data;if(r===`]`){if(t===0)return n;--t}else (r===`[`||r===`[!`||r[0]===`[`&&!isNaN(Number(r.slice(1))))&&(t+=1)}var i=dn(n);e&&n.remove(),n=i}}function Ie(e){if(!e||e.nodeType!==8)throw De(),Ce;return e.data}function Le(e){return e===this.v}function Re(e,t){return e==e?e!==t||typeof e==`object`&&!!e||typeof e==`function`:t==t}function ze(e){return!Re(e,this.v)}var Be=!1,Ve=!1;function He(){Ve=!0}var Ue=null;function We(e){Ue=e}function Ge(e,t=!1,n){Ue={p:Ue,i:!1,c:null,e:null,s:e,x:null,r:G,l:Ve&&!t?{s:null,u:null,$:[]}:null}}function Ke(e){var t=Ue,n=t.e;if(n!==null){t.e=null;for(var r of n)kn(r)}return e!==void 0&&(t.x=e),t.i=!0,Ue=t.p,e??{}}function qe(){return!Ve||Ue!==null&&Ue.l===null}var Je=[];function Ye(){var e=Je;Je=[],S(e)}function Xe(e){if(Je.length===0&&!At){var t=Je;queueMicrotask(()=>{t===Je&&Ye()})}Je.push(e)}function Ze(){for(;Je.length>0;)Ye()}function Qe(e){var t=G;if(t===null)return W.f|=ne,e;if(!(t.f&32768)&&!(t.f&4))throw e;$e(e,t)}function $e(e,t){for(;t!==null;){if(t.f&128){if(!(t.f&32768))throw e;try{t.b.error(e);return}catch(t){e=t}}t=t.parent}throw e}var et=~(T|E|w);function tt(e,t){e.f=e.f&et|t}function nt(e){e.f&512||e.deps===null?tt(e,w):tt(e,E)}function rt(e){if(e!==null)for(let t of e)!(t.f&2)||!(t.f&65536)||(t.f^=N,rt(t.deps))}function it(e,t,n){e.f&2048?t.add(e):e.f&4096&&n.add(e),rt(e.deps),tt(e,w)}var at=!1,ot=!1;function st(e){var t=ot;try{return ot=!1,[e(),ot]}finally{ot=t}}function ct(e){let t=0,n=Yt(0),r;return()=>{En()&&(K(n),In(()=>(t===0&&(r=q(()=>e(()=>en(n)))),t+=1,()=>{Xe(()=>{--t,t===0&&(r?.(),r=void 0,en(n))})})))}}var lt=te|A;function ut(e,t,n,r){new dt(e,t,n,r)}var dt=class{parent;is_pending=!1;transform_error;#e;#t=ke?je:null;#n;#r;#i;#a=null;#o=null;#s=null;#c=null;#l=0;#u=0;#d=!1;#f=new Set;#p=new Set;#m=null;#h=ct(()=>(this.#m=Yt(this.#l),()=>{this.#m=null}));constructor(e,t,n,r){this.#e=e,this.#n=t,this.#r=e=>{var t=G;t.b=this,t.f|=128,n(e)},this.parent=G.b,this.transform_error=r??this.parent?.transform_error??(e=>e),this.#i=Rn(()=>{if(ke){let e=this.#t;Ne();let t=e.data===`[!`;if(e.data.startsWith(`[?`)){let t=JSON.parse(e.data.slice(2));this.#_(t)}else t?this.#v():this.#g()}else this.#y()},lt),ke&&(this.#e=je)}#g(){try{this.#a=zn(()=>this.#r(this.#e))}catch(e){this.error(e)}}#_(e){let t=this.#n.failed;t&&(this.#s=zn(()=>{t(this.#e,()=>e,()=>()=>{})}))}#v(){let e=this.#n.pending;e&&(this.is_pending=!0,this.#o=zn(()=>e(this.#e)),Xe(()=>{var e=this.#c=document.createDocumentFragment(),t=ln();e.append(t),this.#a=this.#x(()=>zn(()=>this.#r(t))),this.#u===0&&(this.#e.before(e),this.#c=null,Kn(this.#o,()=>{this.#o=null}),this.#b(z))}))}#y(){try{if(this.is_pending=this.has_pending_snippet(),this.#u=0,this.#l=0,this.#a=zn(()=>{this.#r(this.#e)}),this.#u>0){var e=this.#c=document.createDocumentFragment();Xn(this.#a,e);let t=this.#n.pending;this.#o=zn(()=>t(this.#e))}else this.#b(z)}catch(e){this.error(e)}}#b(e){this.is_pending=!1,e.transfer_effects(this.#f,this.#p)}defer_effect(e){it(e,this.#f,this.#p)}is_rendered(){return!this.is_pending&&(!this.parent||this.parent.is_rendered())}has_pending_snippet(){return!!this.#n.pending}#x(e){var t=G,n=W,r=Ue;rr(this.#i),nr(this.#i),We(this.#i.ctx);try{return It.ensure(),e()}catch(e){return Qe(e),null}finally{rr(t),nr(n),We(r)}}#S(e,t){if(!this.has_pending_snippet()){this.parent&&this.parent.#S(e,t);return}this.#u+=e,this.#u===0&&(this.#b(t),this.#o&&Kn(this.#o,()=>{this.#o=null}),this.#c&&=(this.#e.before(this.#c),null))}update_pending_count(e,t){this.#S(e,t),this.#l+=e,!(!this.#m||this.#d)&&(this.#d=!0,Xe(()=>{this.#d=!1,this.#m&&Qt(this.#m,this.#l)}))}get_effect_pending(){return this.#h(),K(this.#m)}error(e){if(!this.#n.onerror&&!this.#n.failed)throw e;z?.is_fork?(this.#a&&z.skip_effect(this.#a),this.#o&&z.skip_effect(this.#o),this.#s&&z.skip_effect(this.#s),z.oncommit(()=>{this.#C(e)})):this.#C(e)}#C(e){this.#a&&=(Un(this.#a),null),this.#o&&=(Un(this.#o),null),this.#s&&=(Un(this.#s),null),ke&&(Me(this.#t),Pe(),Me(Fe()));var t=this.#n.onerror;let n=this.#n.failed;var r=!1,i=!1;let a=()=>{if(r){Oe();return}r=!0,i&&Se(),this.#s!==null&&Kn(this.#s,()=>{this.#s=null}),this.#x(()=>{this.#y()})},o=e=>{try{i=!0,t?.(e,a),i=!1}catch(e){$e(e,this.#i&&this.#i.parent)}n&&(this.#s=this.#x(()=>{try{return zn(()=>{var t=G;t.b=this,t.f|=128,n(this.#e,()=>e,()=>a)})}catch(e){return $e(e,this.#i.parent),null}}))};Xe(()=>{var t;try{t=this.transform_error(e)}catch(e){$e(e,this.#i&&this.#i.parent);return}typeof t==`object`&&t&&typeof t.then==`function`?t.then(o,e=>$e(e,this.#i&&this.#i.parent)):o(t)})}};function ft(e,t,n,r){let i=qe()?gt:yt;var a=e.filter(e=>!e.settled),o=t.map(i);if(n.length===0&&a.length===0){r(o);return}var s=G,c=pt(),l=a.length===1?a[0].promise:a.length>1?Promise.all(a.map(e=>e.promise)):null;function u(e){if(!(s.f&16384)){c();try{r([...o,...e])}catch(e){$e(e,s)}mt()}}var d=ht();if(n.length===0){l.then(()=>u([])).finally(d);return}function f(){Promise.all(n.map(e=>vt(e))).then(u).catch(e=>$e(e,s)).finally(d)}l?l.then(()=>{c(),f(),mt()}):f()}function pt(){var e=G,t=W,n=Ue,r=z;return function(i=!0){rr(e),nr(t),We(n),i&&!(e.f&16384)&&(r?.activate(),r?.apply())}}function mt(e=!0){rr(null),nr(null),We(null),e&&z?.deactivate()}function ht(){var e=G,t=e.b,n=z,r=!!t?.is_rendered();return t?.update_pending_count(1,n),n.increment(r,e),()=>{t?.update_pending_count(-1,n),n.decrement(r,e)}}function gt(e){var t=2|T;return G!==null&&(G.f|=A),{ctx:Ue,deps:null,effects:null,equals:Le,f:t,fn:e,reactions:null,rv:0,v:we,wv:0,parent:G,ac:null}}var _t=Symbol(`obsolete`);function vt(e,t,n){let r=G;r===null&&fe();var i=void 0,a=Yt(we),o=!W,s=new Set;return Fn(()=>{var t=G,n=C();i=n.promise;try{Promise.resolve(e()).then(n.resolve,e=>{e!==L&&n.reject(e)}).finally(mt)}catch(e){n.reject(e),mt()}var c=z;if(o){if(t.f&32768)var l=ht();if(r.b?.is_rendered())c.async_deriveds.get(t)?.reject(_t);else for(let e of s.values())e.reject(_t);s.add(n),c.async_deriveds.set(t,n)}let u=(e,t=void 0)=>{l?.(),s.delete(n),t!==_t&&(c.activate(),t?(a.f|=ne,Qt(a,t)):(a.f&8388608&&(a.f^=ne),Qt(a,e)),c.deactivate())};n.promise.then(u,e=>u(null,e||`unknown`))}),Dn(()=>{for(let e of s)e.reject(_t)}),new Promise(e=>{function t(n){function r(){n===i?e(a):t(i)}n.then(r,r)}t(i)})}function yt(e){let t=gt(e);return t.equals=ze,t}function bt(e){var t=e.effects;if(t!==null){e.effects=null;for(var n=0;nthis.schedule(e)){var n=this.#f.get(e);if(n){this.#f.delete(e);for(var r of n.d)tt(r,T),t(r);for(r of n.m)tt(r,E),t(r)}this.#p.add(e)}#g(){this.#e=!0,Pt++>1e3&&(this.#S(),Rt());for(let e of this.#u)this.#d.delete(e),tt(e,T),this.schedule(e);for(let e of this.#d)tt(e,E),this.schedule(e);let t=this.#c;this.#c=[],this.apply();var n=Mt=[],r=[],i=Nt=[];for(let e of t)try{this.#_(e,n,r)}catch(t){throw Gt(e),this.#h()||this.discard(),t}if(z=null,i.length>0){var a=e.ensure();for(let e of i)a.schedule(e)}if(Mt=null,Nt=null,this.#h()){this.#b(r),this.#b(n);for(let[e,t]of this.#f)Wt(e,t);i.length>0&&z.#g();return}let o=this.#v();if(o){this.#b(r),this.#b(n),o.#y(this);return}this.#u.clear(),this.#d.clear();for(let e of this.#r)e(this);this.#r.clear(),Dt=this,Bt(r),Bt(n),Dt=null,this.#s?.resolve();var s=z;if(this.#a===0&&(this.#c.length===0||s!==null)&&(this.#S(),Be&&(this.#x(),z=s)),this.#c.length>0)if(s!==null){let e=s;e.#c.push(...this.#c.filter(t=>!e.#c.includes(t)))}else s=this;s!==null&&s.#g()}#_(e,t,n){e.f^=w;for(var r=e.first;r!==null;){var i=r.f,a=(i&96)!=0;if(!(a&&i&1024||i&8192||this.#f.has(r))&&r.fn!==null){a?r.f^=w:i&4?t.push(r):Be&&i&16777224?n.push(r):hr(r)&&(i&16&&this.#d.add(r),br(r));var o=r.first;if(o!==null){r=o;continue}}for(;r!==null;){var s=r.next;if(s!==null){r=s;break}r=r.parent}}}#v(){for(var e=this.#t;e!==null;){if(!e.is_fork){for(let[t,[,n]]of this.current)if(e.current.has(t)&&!n)return e}e=e.#t}return null}#y(e){for(let[t,n]of e.current)!this.previous.has(t)&&e.previous.has(t)&&this.previous.set(t,e.previous.get(t)),this.current.set(t,n);for(let[t,n]of e.async_deriveds){let e=this.async_deriveds.get(t);e&&n.promise.then(e.resolve).catch(e.reject)}e.async_deriveds.clear(),this.transfer_effects(e.#u,e.#d);let t=e=>{var n=e.reactions;if(n!==null)for(let e of n){var r=e.f;if(r&2)t(e);else{var i=e;r&4194320&&!this.async_deriveds.has(i)&&(this.#d.delete(i),tt(i,T),this.schedule(i))}}};for(let e of this.current.keys())t(e);this.oncommit(()=>e.discard()),e.#S(),z=this,this.#g()}#b(e){for(var t=0;t!u.current.get(e)[1]);if(!(!u.#e||r.length===0)){var i=r.filter(e=>!this.current.has(e));if(i.length===0)e&&u.discard();else if(t.length>0){if(e)for(let e of this.#p)u.unskip_effect(e,e=>{e.f&4194320?u.schedule(e):u.#b([e])});u.activate();var a=new Set,o=new Map;for(var s of t)Vt(s,i,a,o);o=new Map;var c=[...u.current].filter(([e,t])=>{let n=this.current.get(e);return n?n[0]!==t[0]||n[1]!==t[1]:!0}).map(([e])=>e);if(c.length>0)for(let e of this.#l)!(e.f&155648)&&Ht(e,c,o)&&(e.f&4194320?(tt(e,T),u.schedule(e)):u.#u.add(e));if(u.#c.length>0&&!u.#m){u.apply();for(var l of u.#c)u.#_(l,[],[]);u.#c=[]}u.deactivate()}}}}increment(e,t){if(this.#a+=1,e){let e=this.#o.get(t)??0;this.#o.set(t,e+1)}}decrement(e,t){if(--this.#a,e){let e=this.#o.get(t)??0;e===1?this.#o.delete(t):this.#o.set(t,e-1)}this.#m||(this.#m=!0,Xe(()=>{this.#m=!1,this.linked&&this.flush()}))}transfer_effects(e,t){for(let t of e)this.#u.add(t);for(let e of t)this.#d.add(e);e.clear(),t.clear()}oncommit(e){this.#r.add(e)}ondiscard(e){this.#i.add(e)}settled(){return(this.#s??=C()).promise}static ensure(){if(z===null){let t=z=new e;!jt&&!At&&Xe(()=>{t.#e||t.flush()})}return z}apply(){if(!Be||!this.is_fork&&this.#t===null&&this.#n===null){Ot=null;return}Ot=new Map;for(let[e,[t]]of this.current)Ot.set(e,t);for(let t=Tt;t!==null;t=t.#n)if(!(t===this||t.is_fork)){var e=!1;if(t.id0)){qt.clear();for(let e of zt){if(e.f&24576)continue;let t=[e],n=e.parent;for(;n!==null;)zt.has(n)&&(zt.delete(n),t.push(n)),n=n.parent;for(let e=t.length-1;e>=0;e--){let n=t[e];n.f&24576||br(n)}}zt.clear()}}zt=null}}function Vt(e,t,n,r){if(!n.has(e)&&(n.add(e),e.reactions!==null))for(let i of e.reactions){let e=i.f;e&2?Vt(i,t,n,r):e&4194320&&!(e&2048)&&Ht(i,t,r)&&(tt(i,T),Ut(i))}}function Ht(e,t,n){let r=n.get(e);if(r!==void 0)return r;if(e.deps!==null)for(let r of e.deps){if(d.call(t,r))return!0;if(r.f&2&&Ht(r,t,n))return n.set(r,!0),!0}return n.set(e,!1),!1}function Ut(e){z.schedule(e)}function Wt(e,t){if(!(e.f&32&&e.f&1024)){e.f&2048?t.d.push(e):e.f&4096&&t.m.push(e),tt(e,w);for(var n=e.first;n!==null;)Wt(n,t),n=n.next}}function Gt(e){tt(e,w);for(var t=e.first;t!==null;)Gt(t),t=t.next}var Kt=new Set,qt=new Map,Jt=!1;function Yt(e,t){return{f:0,v:e,reactions:null,equals:Le,rv:0,wv:0}}function Xt(e,t){let n=Yt(e,t);return ar(n),n}function B(e,t=!1,n=!0){let r=Yt(e);return t||(r.equals=ze),Ve&&n&&Ue!==null&&Ue.l!==null&&(Ue.l.s??=[]).push(r),r}function Zt(e,t){return V(e,q(()=>K(e))),t}function V(e,t,n=!1){return W!==null&&(!tr||W.f&131072)&&qe()&&W.f&4325394&&(ir===null||!ir.has(e))&&xe(),Qt(e,n?nn(t):t,Nt)}function Qt(e,t,n=null){if(!e.equals(t)){qt.set(e,$n?t:e.v);var r=It.ensure();if(r.capture(e,t),e.f&2){let t=e;e.f&2048&&xt(t),Ot===null&&nt(t)}e.wv=mr(),tn(e,T,n),qe()&&G!==null&&G.f&1024&&!(G.f&96)&&(cr===null?lr([e]):cr.push(e)),!r.is_fork&&Kt.size>0&&!Jt&&$t()}return t}function $t(){Jt=!1;for(let e of Kt){e.f&1024&&tt(e,E);let t;try{t=hr(e)}catch{t=!0}t&&br(e)}Kt.clear()}function en(e){V(e,e.v+1)}function tn(e,t,n){var r=e.reactions;if(r!==null)for(var i=qe(),a=r.length,o=0;o{if(fr===o)return e();var t=W,n=fr;nr(null),pr(o);var r=e();return nr(t),pr(n),r};return r&&n.set(`length`,Xt(e.length,a)),new Proxy(e,{defineProperty(e,t,r){(!(`value`in r)||r.configurable===!1||r.enumerable===!1||r.writable===!1)&&ye();var i=n.get(t);return i===void 0?s(()=>{var e=Xt(r.value,a);return n.set(t,e),e}):V(i,r.value,!0),!0},deleteProperty(e,t){var r=n.get(t);if(r===void 0){if(t in e){let e=s(()=>Xt(we,a));n.set(t,e),en(i)}}else V(r,we),en(i);return!0},get(t,r,i){if(r===I)return e;var o=n.get(r),c=r in t;if(o===void 0&&(!c||m(t,r)?.writable)&&(o=s(()=>Xt(nn(c?t[r]:we),a)),n.set(r,o)),o!==void 0){var l=K(o);return l===we?void 0:l}return Reflect.get(t,r,i)},getOwnPropertyDescriptor(e,t){var r=Reflect.getOwnPropertyDescriptor(e,t);if(r&&`value`in r){var i=n.get(t);i&&(r.value=K(i))}else if(r===void 0){var a=n.get(t),o=a?.v;if(a!==void 0&&o!==we)return{enumerable:!0,configurable:!0,value:o,writable:!0}}return r},has(e,t){if(t===I)return!0;var r=n.get(t),i=r!==void 0&&r.v!==we||Reflect.has(e,t);return(r!==void 0||G!==null&&(!i||m(e,t)?.writable))&&(r===void 0&&(r=s(()=>Xt(i?nn(e[t]):we,a)),n.set(t,r)),K(r)===we)?!1:i},set(e,t,o,c){var l=n.get(t),u=t in e;if(r&&t===`length`)for(var d=o;dXt(we,a)),n.set(d+``,f)):V(f,we)}if(l===void 0)(!u||m(e,t)?.writable)&&(l=s(()=>Xt(void 0,a)),V(l,nn(o)),n.set(t,l));else{u=l.v!==we;var p=s(()=>nn(o));V(l,p)}var h=Reflect.getOwnPropertyDescriptor(e,t);if(h?.set&&h.set.call(c,o),!u){if(r&&typeof t==`string`){var g=n.get(`length`),_=Number(t);Number.isInteger(_)&&_>=g.v&&V(g,_+1)}en(i)}return!0},ownKeys(e){K(i);var t=Reflect.ownKeys(e).filter(e=>{var t=n.get(e);return t===void 0||t.v!==we});for(var[r,a]of n)a.v!==we&&!(r in e)&&t.push(r);return t},setPrototypeOf(){be()}})}new Set([`copyWithin`,`fill`,`pop`,`push`,`reverse`,`shift`,`sort`,`splice`,`unshift`]);var rn,an,on,sn;function cn(){if(rn===void 0){rn=window,an=/Firefox/.test(navigator.userAgent);var e=Element.prototype,t=Node.prototype,n=Text.prototype;on=m(t,`firstChild`).get,sn=m(t,`nextSibling`).get,y(e)&&(e[oe]=void 0,e[ae]=null,e[se]=void 0,e.__e=void 0),y(n)&&(n[ce]=void 0)}}function ln(e=``){return document.createTextNode(e)}function un(e){return on.call(e)}function dn(e){return sn.call(e)}function H(e,t){if(!ke)return un(e);var n=un(je);if(n===null)n=je.appendChild(ln());else if(t&&n.nodeType!==3){var r=ln();return n?.before(r),Me(r),r}return t&&gn(n),Me(n),n}function fn(e,t=!1){if(!ke){var n=un(e);return n instanceof Comment&&n.data===``?dn(n):n}if(t){if(je?.nodeType!==3){var r=ln();return je?.before(r),Me(r),r}gn(je)}return je}function U(e,t=1,n=!1){let r=ke?je:e;for(var i;t--;)i=r,r=dn(r);if(!ke)return r;if(n){if(r?.nodeType!==3){var a=ln();return r===null?i?.after(a):r.before(a),Me(a),a}gn(r)}return Me(r),r}function pn(e){e.textContent=``}function mn(){return!Be||zt!==null?!1:(G.f&ee)!==0}function hn(e,t,n){return t==null||t===`http://www.w3.org/1999/xhtml`?n?document.createElement(e,{is:n}):document.createElement(e):n?document.createElementNS(t,e,{is:n}):document.createElementNS(t,e)}function gn(e){if(e.nodeValue.length<65536)return;let t=e.nextSibling;for(;t!==null&&t.nodeType===3;)t.remove(),e.nodeValue+=t.nodeValue,t=e.nextSibling}function _n(e,t){if(t){let t=document.body;e.autofocus=!0,Xe(()=>{document.activeElement===t&&e.focus()})}}function vn(e){ke&&un(e)!==null&&pn(e)}var yn=!1;function bn(){yn||(yn=!0,document.addEventListener(`reset`,e=>{Promise.resolve().then(()=>{if(!e.defaultPrevented)for(let t of e.target.elements)t[le]?.()})},{capture:!0}))}function xn(e){var t=W,n=G;nr(null),rr(null);try{return e()}finally{nr(t),rr(n)}}function Sn(e,t,n,r=n){e.addEventListener(t,()=>xn(n));let i=e[le];i?e[le]=()=>{i(),r(!0)}:e[le]=()=>r(!0),bn()}function Cn(e){G===null&&(W===null&&ge(e),he()),$n&&me(e)}function wn(e,t){var n=t.last;n===null?t.last=t.first=e:(n.next=e,e.prev=n,t.last=e)}function Tn(e,t){var n=G;n!==null&&n.f&8192&&(e|=D);var r={ctx:Ue,deps:null,nodes:null,f:e|T|512,first:null,fn:t,last:null,next:null,parent:n,b:n&&n.b,prev:null,teardown:null,wv:0,ac:null};z?.register_created_effect(r);var i=r;if(e&4)Mt===null?It.ensure().schedule(r):Mt.push(r);else if(t!==null){try{br(r)}catch(e){throw Un(r),e}i.deps===null&&i.teardown===null&&i.nodes===null&&i.first===i.last&&!(i.f&524288)&&(i=i.first,e&16&&e&65536&&i!==null&&(i.f|=te))}if(i!==null&&(i.parent=n,n!==null&&wn(i,n),W!==null&&W.f&2&&!(e&64))){var a=W;(a.effects??=[]).push(i)}return r}function En(){return W!==null&&!tr}function Dn(e){let t=Tn(8,null);return tt(t,w),t.teardown=e,t}function On(e){Cn(`$effect`);var t=G.f;if(!W&&t&32&&Ue!==null&&!Ue.i){var n=Ue;(n.e??=[]).push(e)}else return kn(e)}function kn(e){return Tn(4|j,e)}function An(e){return Cn(`$effect.pre`),Tn(8|j,e)}function jn(e){It.ensure();let t=Tn(64|A,e);return(e={})=>new Promise(n=>{e.outro?Kn(t,()=>{Un(t),n(void 0)}):(Un(t),n(void 0))})}function Mn(e){return Tn(4,e)}function Nn(e,t){var n=Ue,r={effect:null,ran:!1,deps:e};n.l.$.push(r),r.effect=In(()=>{if(e(),!r.ran){r.ran=!0;var n=G;try{rr(n.parent),q(t)}finally{rr(n)}}})}function Pn(){var e=Ue;In(()=>{for(var t of e.l.$){t.deps();var n=t.effect;n.f&1024&&n.deps!==null&&tt(n,E),hr(n)&&br(n),t.ran=!1}})}function Fn(e){return Tn(F|A,e)}function In(e,t=0){return Tn(8|t,e)}function Ln(e,t=[],n=[],r=[]){ft(r,t,n,t=>{Tn(8,()=>{e(...t.map(K))})})}function Rn(e,t=0){return Tn(16|t,e)}function zn(e){return Tn(32|A,e)}function Bn(e){var t=e.teardown;if(t!==null){let e=$n,n=W;er(!0),nr(null);try{t.call(null)}finally{er(e),nr(n)}}}function Vn(e,t=!1){var n=e.first;for(e.first=e.last=null;n!==null;){let e=n.ac;e!==null&&xn(()=>{e.abort(L)});var r=n.next;n.f&64?n.parent=null:Un(n,t),n=r}}function Hn(e){for(var t=e.first;t!==null;){var n=t.next;t.f&32||Un(t),t=n}}function Un(e,t=!0){var n=!1;(t||e.f&262144)&&e.nodes!==null&&e.nodes.end!==null&&(Wn(e.nodes.start,e.nodes.end),n=!0),e.f|=k,Vn(e,t&&!n),yr(e,0);var r=e.nodes&&e.nodes.t;if(r!==null)for(let e of r)e.stop();Bn(e),e.f^=k,e.f|=O;var i=e.parent;i!==null&&i.first!==null&&Gn(e),e.next=e.prev=e.teardown=e.ctx=e.deps=e.fn=e.nodes=e.ac=e.b=null}function Wn(e,t){for(;e!==null;){var n=e===t?null:dn(e);e.remove(),e=n}}function Gn(e){var t=e.parent,n=e.prev,r=e.next;n!==null&&(n.next=r),r!==null&&(r.prev=n),t!==null&&(t.first===e&&(t.first=r),t.last===e&&(t.last=n))}function Kn(e,t,n=!0){var r=[];qn(e,r,!0);var i=()=>{n&&Un(e),t&&t()},a=r.length;if(a>0){var o=()=>--a||i();for(var s of r)s.out(o)}else i()}function qn(e,t,n){if(!(e.f&8192)){e.f^=D;var r=e.nodes&&e.nodes.t;if(r!==null)for(let e of r)(e.is_global||n)&&t.push(e);for(var i=e.first;i!==null;){var a=i.next;if(!(i.f&64)){var o=(i.f&65536)!=0||(i.f&32)!=0&&(e.f&16)!=0;qn(i,t,o?n:!1)}i=a}}}function Jn(e){Yn(e,!0)}function Yn(e,t){if(e.f&8192){e.f^=D,e.f&1024||(tt(e,T),It.ensure().schedule(e));for(var n=e.first;n!==null;){var r=n.next,i=(n.f&65536)!=0||(n.f&32)!=0;Yn(n,i?t:!1),n=r}var a=e.nodes&&e.nodes.t;if(a!==null)for(let e of a)(e.is_global||t)&&e.in()}}function Xn(e,t){if(e.nodes)for(var n=e.nodes.start,r=e.nodes.end;n!==null;){var i=n===r?null:dn(n);t.append(n),n=i}}var Zn=null,Qn=!1,$n=!1;function er(e){$n=e}var W=null,tr=!1;function nr(e){W=e}var G=null;function rr(e){G=e}var ir=null;function ar(e){W!==null&&(!Be||W.f&2)&&(ir??=new Set).add(e)}var or=null,sr=0,cr=null;function lr(e){cr=e}var ur=1,dr=0,fr=dr;function pr(e){fr=e}function mr(){return++ur}function hr(e){var t=e.f;if(t&2048)return!0;if(t&2&&(e.f&=~N),t&4096){for(var n=e.deps,r=n.length,i=0;ie.wv)return!0}t&512&&Ot===null&&tt(e,w)}return!1}function gr(e,t,n=!0){var r=e.reactions;if(r!==null&&!(!Be&&ir!==null&&ir.has(e)))for(var i=0;i{e.ac.abort(L)}),e.ac=null);try{e.f|=P;var u=e.fn,d=u();e.f|=ee;var f=e.deps,p=z?.is_fork;if(or!==null){var m;if(p||yr(e,sr),f!==null&&sr>0)for(f.length=sr+or.length,m=0;m{requestAnimationFrame(()=>e()),setTimeout(()=>e())});await Promise.resolve(),Lt()}function K(e){var t=(e.f&2)!=0;if(Zn?.add(e),W!==null&&!tr&&!(G!==null&&G.f&16384)&&(ir===null||!ir.has(e))){var n=W.deps;if(W.f&2097152)e.rvn?.call(this,e))}return e.startsWith(`pointer`)||e.startsWith(`touch`)||e===`wheel`?Xe(()=>{t.addEventListener(e,i,r)}):t.addEventListener(e,i,r),i}function J(e,t,n,r,i){var a={capture:r,passive:i},o=jr(e,t,n,a);(t===document.body||t===window||t===document||t instanceof HTMLMediaElement)&&Dn(()=>{t.removeEventListener(e,o,a)})}var Mr=null;function Nr(e){var t=this,n=t.ownerDocument,r=e.type,i=e.composedPath?.()||[],a=i[0]||e.target;Mr=e;var o=0,s=Mr===e&&e[Or];if(s){var c=i.indexOf(s);if(c!==-1&&(t===document||t===window)){e[Or]=t;return}var l=i.indexOf(t);if(l===-1)return;c<=l&&(o=c)}if(a=i[o]||e.target,a!==t){p(e,`currentTarget`,{configurable:!0,get(){return a||n}});var u=W,d=G;nr(null),rr(null);try{for(var f,m=[];a!==null&&a!==t;){try{var h=a[Or]?.[r];h!=null&&(!a.disabled||e.target===a)&&h.call(a,e)}catch(e){f?m.push(e):f=e}if(e.cancelBubble)break;o++,a=o{throw e});throw f}}finally{e[Or]=t,delete e.currentTarget,nr(u),rr(d)}}}var Pr=globalThis?.window?.trustedTypes&&globalThis.window.trustedTypes.createPolicy(`svelte-trusted-html`,{createHTML:e=>e});function Fr(e){return Pr?.createHTML(e)??e}function Ir(e){var t=hn(`template`);return t.innerHTML=Fr(e.replaceAll(``,``)),t.content}function Lr(e,t){var n=G;n.nodes===null&&(n.nodes={start:e,end:t,a:null,t:null})}function Y(e,t){var n=(t&1)!=0,r=(t&2)!=0,i,a=!e.startsWith(``);return()=>{if(ke)return Lr(je,null),je;i===void 0&&(i=Ir(a?e:``+e),n||(i=un(i)));var t=r||an?document.importNode(i,!0):i.cloneNode(!0);if(n){var o=un(t),s=t.lastChild;Lr(o,s)}else Lr(t,t);return t}}function X(e,t){if(ke){var n=G;(!(n.f&32768)||n.nodes.end===null)&&(n.nodes.end=je),Ne();return}e!==null&&e.before(t)}function Z(e,t){var n=t==null?``:typeof t==`object`?`${t}`:t;n!==(e[ce]??=e.nodeValue)&&(e[ce]=n,e.nodeValue=`${n}`)}function Rr(e,t){return Br(e,t)}var zr=new Map;function Br(e,{target:t,anchor:n,props:r={},events:i,context:a,intro:o=!0,transformError:s}){cn();var c=void 0,l=jn(()=>{var o=n??t.appendChild(ln());ut(o,{pending:()=>{}},t=>{Ge({});var n=Ue;if(a&&(n.c=a),i&&(r.$$events=i),ke&&Lr(t,null),c=e(t,r)||{},ke&&(G.nodes.end=je,je===null||je.nodeType!==8||je.data!==`]`))throw De(),Ce;Ke()},s);var l=new Set,u=e=>{for(var n=0;n{for(var e of l)for(let n of[t,document]){var r=zr.get(n),i=r.get(e);--i==0?(n.removeEventListener(e,Nr),r.delete(e),r.size===0&&zr.delete(n)):r.set(e,i)}Ar.delete(u),o!==n&&o.parentNode?.removeChild(o)}});return Vr.set(c,l),c}var Vr=new WeakMap,Hr=class{anchor;#e=new Map;#t=new Map;#n=new Map;#r=new Set;#i=!0;constructor(e,t=!0){this.anchor=e,this.#i=t}#a=e=>{if(this.#e.has(e)){var t=this.#e.get(e),n=this.#t.get(t);if(n)Jn(n),this.#r.delete(t);else{var r=this.#n.get(t);r&&(Jn(r.effect),this.#t.set(t,r.effect),this.#n.delete(t),r.fragment.lastChild.remove(),this.anchor.before(r.fragment),n=r.effect)}for(let[t,n]of this.#e){if(this.#e.delete(t),t===e)break;let r=this.#n.get(n);r&&(Un(r.effect),this.#n.delete(n))}for(let[e,r]of this.#t){if(e===t||this.#r.has(e))continue;let i=()=>{if(Array.from(this.#e.values()).includes(e)){var t=document.createDocumentFragment();Xn(r,t),t.append(ln()),this.#n.set(e,{effect:r,fragment:t})}else Un(r);this.#r.delete(e),this.#t.delete(e)};this.#i||!n?(this.#r.add(e),Kn(r,i,!1)):i()}}};#o=e=>{this.#e.delete(e);let t=Array.from(this.#e.values());for(let[e,n]of this.#n)t.includes(e)||(Un(n.effect),this.#n.delete(e))};ensure(e,t){var n=z,r=mn();if(t&&!this.#t.has(e)&&!this.#n.has(e))if(r){var i=document.createDocumentFragment(),a=ln();i.append(a),this.#n.set(e,{effect:zn(()=>t(a)),fragment:i})}else this.#t.set(e,zn(()=>t(this.anchor)));if(this.#e.set(n,e),r){for(let[t,r]of this.#t)t===e?n.unskip_effect(r):n.skip_effect(r);for(let[t,r]of this.#n)t===e?n.unskip_effect(r.effect):n.skip_effect(r.effect);n.oncommit(this.#a),n.ondiscard(this.#o)}else ke&&(this.anchor=je),this.#a(n)}};function Ur(e,t,n=!1){var r;ke&&(r=je,Ne());var i=new Hr(e),a=n?te:0;function o(e,t){if(ke){var n=Ie(r);if(e!==parseInt(n.substring(1))){var a=Fe();Me(a),i.anchor=a,Ae(!1),i.ensure(e,t),Ae(!0);return}}i.ensure(e,t)}Rn(()=>{var e=!1;t((t,n=0)=>{e=!0,o(n,t)}),e||o(-1,null)},a)}function Wr(e,t){return t}function Gr(e,t,n){for(var r=[],i=t.length,a,o=t.length,s=0;s{if(a){if(a.pending.delete(n),a.done.add(n),a.pending.size===0){var t=e.outrogroups;Kr(e,f(a.done)),t.delete(a),t.size===0&&(e.outrogroups=null)}}else --o},!1)}if(o===0){var c=r.length===0&&n!==null;if(c){var l=n,u=l.parentNode;pn(u),u.append(l),e.items.clear()}Kr(e,t,!c)}else a={pending:new Set(t),done:new Set},(e.outrogroups??=new Set).add(a)}function Kr(e,t,n=!0){var r;if(e.pending.size>0){r=new Set;for(let t of e.pending.values())for(let n of t)r.add(e.items.get(n).e)}for(var i=0;i{var e=n();return l(e)?e:e==null?[]:f(e)}),p,m=new Map,h=!0;function g(e){v.effect.f&16384||(v.pending.delete(e),v.fallback=u,Xr(v,p,o,t,r),u!==null&&(p.length===0?u.f&33554432?(u.f^=M,Qr(u,null,o)):Jn(u):Kn(u,()=>{u=null})))}function _(e){v.pending.delete(e)}var v={effect:Rn(()=>{p=K(d);var e=p.length;let c=!1;ke&&Ie(o)===`[!`!=(e===0)&&(o=Fe(),Me(o),Ae(!1),c=!0);for(var l=new Set,f=z,v=mn(),y=0;ya(o)):(u=zn(()=>a(qr??=ln())),u.f|=M)),e>l.size&&pe(``,``,``),ke&&e>0&&Me(Fe()),!h)if(m.set(f,l),v){for(let[e,t]of s)l.has(e)||f.skip_effect(t.e);f.oncommit(g),f.ondiscard(_)}else g(f);c&&Ae(!0),K(d)}),flags:t,items:s,pending:m,outrogroups:null,fallback:u};h=!1,ke&&(o=je)}function Yr(e){for(;e!==null&&!(e.f&32);)e=e.next;return e}function Xr(e,t,n,r,i){var a=(r&8)!=0,o=t.length,s=e.items,c=Yr(e.effect.first),l,u=null,d,p=[],m=[],h,g,_,v;if(a)for(v=0;v0){var E=r&4&&o===0?n:null;if(a){for(v=0;v{if(d!==void 0)for(_ of d)_.nodes?.a?.apply()})}function Zr(e,t,n,r,i,a,o,s){var c=o&1?o&16?Yt(n):B(n,!1,!1):null,l=o&2?Yt(i):null;return{v:c,i:l,e:zn(()=>(a(t,c??n,l??i,s),()=>{e.delete(r)}))}}function Qr(e,t,n){if(e.nodes)for(var r=e.nodes.start,i=e.nodes.end,a=t&&!(t.f&33554432)?t.nodes.start:n;r!==null;){var o=dn(r);if(a.before(r),r===i)return;r=o}}function $r(e,t,n){t===null?e.effect.first=n:t.next=n,n===null?e.effect.last=t:n.prev=t}var ei=[...` +\r\f\xA0\v`];function ti(e,t,n){var r=e==null?``:``+e;if(t&&(r=r?r+` `+t:t),n){for(var i of Object.keys(n))if(n[i])r=r?r+` `+i:i;else if(r.length)for(var a=i.length,o=0;(o=r.indexOf(i,o))>=0;){var s=o+a;(o===0||ei.includes(r[o-1]))&&(s===r.length||ei.includes(r[s]))?r=(o===0?``:r.substring(0,o))+r.substring(s+1):o=s}}return r===``?null:r}function ni(e,t=!1){var n=t?` !important;`:`;`,r=``;for(var i of Object.keys(e)){var a=e[i];a!=null&&a!==``&&(r+=` `+i+`: `+a+n)}return r}function ri(e){return e[0]!==`-`||e[1]!==`-`?e.toLowerCase():e}function ii(e,t){if(t){var n=``,r,i;if(Array.isArray(t)?(r=t[0],i=t[1]):r=t,e){e=String(e).replaceAll(/\s*\/\*.*?\*\/\s*/g,``).trim();var a=!1,o=0,s=!1,c=[];r&&c.push(...Object.keys(r).map(ri)),i&&c.push(...Object.keys(i).map(ri));var l=0,u=-1;let t=e.length;for(var d=0;d{if(!t){if(t=!0,e.hasAttribute(`value`)){var n=e.value;fi(e,`value`,null),e.value=n}if(e.hasAttribute(`checked`)){var r=e.checked;fi(e,`checked`,null),e.checked=r}}};e[le]=n,Xe(n),bn()}}function fi(e,t,n,r){var i=pi(e);ke&&(i[t]=e.getAttribute(t),t===`src`||t===`srcset`||t===`href`&&e.nodeName===ui)||i[t]!==(i[t]=n)&&(t===`loading`&&(e[ie]=n),n==null?e.removeAttribute(t):typeof n!=`string`&&hi(e).includes(t)?e[t]=n:e.setAttribute(t,n))}function pi(e){return e[ae]??={[ci]:e.nodeName.includes(`-`),[li]:e.namespaceURI===Te}}var mi=new Map;function hi(e){var t=e.getAttribute(`is`)||e.nodeName,n=mi.get(t);if(n)return n;mi.set(t,n=[]);for(var r,i=e,a=Element.prototype;a!==i;){for(var o in r=h(i),r)r[o].set&&o!==`innerHTML`&&o!==`textContent`&&o!==`innerText`&&n.push(o);i=v(i)}return n}function gi(e,t,n=t){var r=new WeakSet;Sn(e,`input`,async i=>{var a=i?e.defaultValue:e.value;if(a=_i(e)?vi(a):a,n(a),z!==null&&r.add(z),await xr(),a!==(a=t())){var o=e.selectionStart,s=e.selectionEnd,c=e.value.length;if(e.value=a??``,s!==null){var l=e.value.length;o===s&&s===c&&l>c?(e.selectionStart=l,e.selectionEnd=l):(e.selectionStart=o,e.selectionEnd=Math.min(s,l))}}}),(ke&&e.defaultValue!==e.value||q(t)==null&&e.value)&&(n(_i(e)?vi(e.value):e.value),z!==null&&r.add(z)),In(()=>{var n=t();if(e===document.activeElement){var i=Be?Dt:z;if(r.has(i))return}_i(e)&&n===vi(e.value)||e.type===`date`&&!n&&!e.value||n!==e.value&&(e.value=n??``)})}function _i(e){var t=e.type;return t===`number`||t===`range`}function vi(e){return e===``?null:+e}function yi(e,t){return e===t||e?.[I]===t}function bi(e={},t,n,r){var i=Ue.r,a=G;return Mn(()=>{var o,s;return In(()=>{o=s,s=r?.()||[],q(()=>{yi(n(...s),e)||(t(e,...s),o&&yi(n(...o),e)&&t(null,...o))})}),()=>{let r=a;for(;r!==i&&r.parent!==null&&r.parent.f&33554432;)r=r.parent;let o=()=>{s&&yi(n(...s),e)&&t(null,...s)},c=r.teardown;r.teardown=()=>{o(),c?.()}}}),e}function xi(e){return function(...t){t[0].target===this&&e?.apply(this,t)}}function Si(e){return function(...t){return t[0].stopPropagation(),e?.apply(this,t)}}function Ci(e=!1){let t=Ue,n=t.l.u;if(!n)return;let r=()=>wr(t.s);if(e){let e=0,n={},i=gt(()=>{let r=!1,i=t.s;for(let e in i)i[e]!==n[e]&&(n[e]=i[e],r=!0);return r&&e++,e});r=()=>K(i)}n.b.length&&An(()=>{wi(t,r),S(n.b)}),On(()=>{let e=q(()=>n.m.map(x));return()=>{for(let t of e)typeof t==`function`&&t()}}),n.a.length&&On(()=>{wi(t,r),S(n.a)})}function wi(e,t){if(e.l.s)for(let t of e.l.s)K(t);t()}function Ti(e,t){var n=e.$$events?.[t.type];for(var r of l(n)?n.slice():n==null?[]:[n])r.call(this,t)}function Ei(e,t,n,r){var i=!Ve||(n&2)!=0,a=(n&8)!=0,o=(n&16)!=0,s=r,c=!0,l=void 0,u=()=>o&&i?(l??=gt(r),K(l)):(c&&(c=!1,s=o?q(r):r),s);let d;if(a){var f=I in e||re in e;d=m(e,t)?.set??(f&&t in e?n=>e[t]=n:void 0)}var p,h=!1;a?[p,h]=st(()=>e[t]):p=e[t],p===void 0&&r!==void 0&&(p=u(),d&&(i&&ve(t),d(p)));var g=i?()=>{var n=e[t];return n===void 0?u():(c=!0,n)}:()=>{var n=e[t];return n!==void 0&&(s=void 0),n===void 0?s:n};if(i&&!(n&4))return g;if(d){var _=e.$$legacy;return(function(e,t){return arguments.length>0?((!i||!t||_||h)&&d(t?g():e),e):g()})}var v=!1,y=(n&1?gt:yt)(()=>(v=!1,g()));a&&K(y);var b=G;return(function(e,t){if(arguments.length>0){let n=t?K(y):i&&a?nn(e):e;return V(y,n),v=!0,s!==void 0&&(s=n),e}return $n&&v||b.f&16384?y.v:K(y)})}function Di(e){Ue===null&&de(`onMount`),Ve&&Ue.l!==null?ji(Ue).m.push(e):On(()=>{let t=q(e);if(typeof t==`function`)return t})}function Oi(e){Ue===null&&de(`onDestroy`),Di(()=>()=>q(e))}function ki(e,t,{bubbles:n=!1,cancelable:r=!1}={}){return new CustomEvent(e,{detail:t,bubbles:n,cancelable:r})}function Ai(){let e=Ue;return e===null&&de(`createEventDispatcher`),(t,n,r)=>{let i=e.s.$$events?.[t];if(i){let a=l(i)?i.slice():[i],o=ki(t,n,r);for(let t of a)t.call(e.x,o);return!o.defaultPrevented}return!0}}function ji(e){var t=e.l;return t.u??={a:[],b:[],m:[]}}typeof window<`u`&&((window.__svelte??={}).v??=new Set).add(`5`),He();var Mi=o(((e,t)=>{(function(e,n){typeof t==`object`&&t.exports?t.exports=n():e.Zdog=n()})(e,function(){var e={};e.TAU=Math.PI*2,e.extend=function(e,t){for(var n in t)e[n]=t[n];return e},e.lerp=function(e,t,n){return(t-e)*n+e},e.modulo=function(e,t){return(e%t+t)%t};var t={2:function(e){return e*e},3:function(e){return e*e*e},4:function(e){return e*e*e*e},5:function(e){return e*e*e*e*e}};return e.easeInOut=function(e,n){if(n==1)return e;e=Math.max(0,Math.min(1,e));var r=e<.5,i=r?e:1-e;i/=.5;var a=(t[n]||t[2])(i);return a/=2,r?a:1-a},e})})),Ni=o(((e,t)=>{(function(e,n){typeof t==`object`&&t.exports?t.exports=n():e.Zdog.CanvasRenderer=n()})(e,function(){var e={isCanvas:!0};return e.begin=function(e){e.beginPath()},e.move=function(e,t,n){e.moveTo(n.x,n.y)},e.line=function(e,t,n){e.lineTo(n.x,n.y)},e.bezier=function(e,t,n,r,i){e.bezierCurveTo(n.x,n.y,r.x,r.y,i.x,i.y)},e.closePath=function(e){e.closePath()},e.setPath=function(){},e.renderPath=function(t,n,r,i){this.begin(t,n),r.forEach(function(r){r.render(t,n,e)}),i&&this.closePath(t,n)},e.stroke=function(e,t,n,r,i){n&&(e.strokeStyle=r,e.lineWidth=i,e.stroke())},e.fill=function(e,t,n,r){n&&(e.fillStyle=r,e.fill())},e.end=function(){},e})})),Pi=o(((e,t)=>{(function(e,n){typeof t==`object`&&t.exports?t.exports=n():e.Zdog.SvgRenderer=n()})(e,function(){var e={isSvg:!0},t=e.round=function(e){return Math.round(e*1e3)/1e3};function n(e){return t(e.x)+`,`+t(e.y)+` `}return e.begin=function(){},e.move=function(e,t,r){return`M`+n(r)},e.line=function(e,t,r){return`L`+n(r)},e.bezier=function(e,t,r,i,a){return`C`+n(r)+n(i)+n(a)},e.closePath=function(){return`Z`},e.setPath=function(e,t,n){t.setAttribute(`d`,n)},e.renderPath=function(t,n,r,i){var a=``;r.forEach(function(r){a+=r.render(t,n,e)}),i&&(a+=this.closePath(t,n)),this.setPath(t,n,a)},e.stroke=function(e,t,n,r,i){n&&(t.setAttribute(`stroke`,r),t.setAttribute(`stroke-width`,i))},e.fill=function(e,t,n,r){var i=n?r:`none`;t.setAttribute(`fill`,i)},e.end=function(e,t){e.appendChild(t)},e})})),Fi=o(((e,t)=>{(function(e,n){if(typeof t==`object`&&t.exports)t.exports=n(Mi());else{var r=e.Zdog;r.Vector=n(r)}})(e,function(e){function t(e){this.set(e)}var n=e.TAU;t.prototype.set=function(e){return this.x=e&&e.x||0,this.y=e&&e.y||0,this.z=e&&e.z||0,this},t.prototype.write=function(e){return e?(this.x=e.x==null?this.x:e.x,this.y=e.y==null?this.y:e.y,this.z=e.z==null?this.z:e.z,this):this},t.prototype.rotate=function(e){if(e)return this.rotateZ(e.z),this.rotateY(e.y),this.rotateX(e.x),this},t.prototype.rotateZ=function(e){r(this,e,`x`,`y`)},t.prototype.rotateX=function(e){r(this,e,`y`,`z`)},t.prototype.rotateY=function(e){r(this,e,`x`,`z`)};function r(e,t,r,i){if(!(!t||t%n===0)){var a=Math.cos(t),o=Math.sin(t),s=e[r],c=e[i];e[r]=s*a-c*o,e[i]=c*a+s*o}}t.prototype.isSame=function(e){return e?this.x===e.x&&this.y===e.y&&this.z===e.z:!1},t.prototype.add=function(e){return e?(this.x+=e.x||0,this.y+=e.y||0,this.z+=e.z||0,this):this},t.prototype.subtract=function(e){return e?(this.x-=e.x||0,this.y-=e.y||0,this.z-=e.z||0,this):this},t.prototype.multiply=function(e){return e==null||(typeof e==`number`?(this.x*=e,this.y*=e,this.z*=e):(this.x*=e.x==null?1:e.x,this.y*=e.y==null?1:e.y,this.z*=e.z==null?1:e.z)),this},t.prototype.transform=function(e,t,n){return this.multiply(n),this.rotate(t),this.add(e),this},t.prototype.lerp=function(t,n){return this.x=e.lerp(this.x,t.x||0,n),this.y=e.lerp(this.y,t.y||0,n),this.z=e.lerp(this.z,t.z||0,n),this},t.prototype.magnitude=function(){return i(this.x*this.x+this.y*this.y+this.z*this.z)};function i(e){return Math.abs(e-1)<1e-8?1:Math.sqrt(e)}return t.prototype.magnitude2d=function(){return i(this.x*this.x+this.y*this.y)},t.prototype.copy=function(){return new t(this)},t})})),Ii=o(((e,t)=>{(function(e,n){if(typeof t==`object`&&t.exports)t.exports=n(Mi(),Fi(),Ni(),Pi());else{var r=e.Zdog;r.Anchor=n(r,r.Vector,r.CanvasRenderer,r.SvgRenderer)}})(e,function(e,t,n,r){var i=e.TAU,a={x:1,y:1,z:1};function o(e){this.create(e||{})}o.prototype.create=function(n){this.children=[],e.extend(this,this.constructor.defaults),this.setOptions(n),this.translate=new t(n.translate),this.rotate=new t(n.rotate),this.scale=new t(a).multiply(this.scale),this.origin=new t,this.renderOrigin=new t,this.addTo&&this.addTo.addChild(this)},o.defaults={},o.optionKeys=Object.keys(o.defaults).concat([`rotate`,`translate`,`scale`,`addTo`]),o.prototype.setOptions=function(e){var t=this.constructor.optionKeys;for(var n in e)t.indexOf(n)!=-1&&(this[n]=e[n])},o.prototype.addChild=function(e){this.children.indexOf(e)==-1&&(e.remove(),e.addTo=this,this.children.push(e))},o.prototype.removeChild=function(e){var t=this.children.indexOf(e);t!=-1&&this.children.splice(t,1)},o.prototype.remove=function(){this.addTo&&this.addTo.removeChild(this)},o.prototype.update=function(){this.reset(),this.children.forEach(function(e){e.update()}),this.transform(this.translate,this.rotate,this.scale)},o.prototype.reset=function(){this.renderOrigin.set(this.origin)},o.prototype.transform=function(e,t,n){this.renderOrigin.transform(e,t,n),this.children.forEach(function(r){r.transform(e,t,n)})},o.prototype.updateGraph=function(){this.update(),this.updateFlatGraph(),this.flatGraph.forEach(function(e){e.updateSortValue()}),this.flatGraph.sort(o.shapeSorter)},o.shapeSorter=function(e,t){return e.sortValue-t.sortValue},Object.defineProperty(o.prototype,"flatGraph",{get:function(){return this._flatGraph||this.updateFlatGraph(),this._flatGraph},set:function(e){this._flatGraph=e}}),o.prototype.updateFlatGraph=function(){this.flatGraph=this.getFlatGraph()},o.prototype.getFlatGraph=function(){var e=[this];return this.addChildFlatGraph(e)},o.prototype.addChildFlatGraph=function(e){return this.children.forEach(function(t){var n=t.getFlatGraph();Array.prototype.push.apply(e,n)}),e},o.prototype.updateSortValue=function(){this.sortValue=this.renderOrigin.z},o.prototype.render=function(){},o.prototype.renderGraphCanvas=function(e){if(!e)throw Error(`ctx is `+e+`. Canvas context required for render. Check .renderGraphCanvas( ctx ).`);this.flatGraph.forEach(function(t){t.render(e,n)})},o.prototype.renderGraphSvg=function(e){if(!e)throw Error(`svg is `+e+`. SVG required for render. Check .renderGraphSvg( svg ).`);this.flatGraph.forEach(function(t){t.render(e,r)})},o.prototype.copy=function(t){var n={};this.constructor.optionKeys.forEach(function(e){n[e]=this[e]},this),e.extend(n,t);var r=this.constructor;return new r(n)},o.prototype.copyGraph=function(e){var t=this.copy(e);return this.children.forEach(function(e){e.copyGraph({addTo:t})}),t},o.prototype.normalizeRotate=function(){this.rotate.x=e.modulo(this.rotate.x,i),this.rotate.y=e.modulo(this.rotate.y,i),this.rotate.z=e.modulo(this.rotate.z,i)};function s(t){return function(n){function r(e){this.create(e||{})}return r.prototype=Object.create(t.prototype),r.prototype.constructor=r,r.defaults=e.extend({},t.defaults),e.extend(r.defaults,n),r.optionKeys=t.optionKeys.slice(0),Object.keys(r.defaults).forEach(function(e){!r.optionKeys.indexOf(e)!=1&&r.optionKeys.push(e)}),r.subclass=s(r),r}}return o.subclass=s(o),o})})),Li=o(((e,t)=>{(function(e,n){typeof t==`object`&&t.exports?t.exports=n():e.Zdog.Dragger=n()})(e,function(){var e=typeof window<`u`,t=`mousedown`,n=`mousemove`,r=`mouseup`;e&&(window.PointerEvent?(t=`pointerdown`,n=`pointermove`,r=`pointerup`):`ontouchstart`in window&&(t=`touchstart`,n=`touchmove`,r=`touchend`));function i(){}function a(e){this.create(e||{})}return a.prototype.create=function(e){this.onDragStart=e.onDragStart||i,this.onDragMove=e.onDragMove||i,this.onDragEnd=e.onDragEnd||i,this.bindDrag(e.startElement)},a.prototype.bindDrag=function(e){e=this.getQueryElement(e),e&&(e.style.touchAction=`none`,e.addEventListener(t,this))},a.prototype.getQueryElement=function(e){return typeof e==`string`&&(e=document.querySelector(e)),e},a.prototype.handleEvent=function(e){var t=this[`on`+e.type];t&&t.call(this,e)},a.prototype.onmousedown=a.prototype.onpointerdown=function(e){this.dragStart(e,e)},a.prototype.ontouchstart=function(e){this.dragStart(e,e.changedTouches[0])},a.prototype.dragStart=function(t,i){t.preventDefault(),this.dragStartX=i.pageX,this.dragStartY=i.pageY,e&&(window.addEventListener(n,this),window.addEventListener(r,this)),this.onDragStart(i)},a.prototype.ontouchmove=function(e){this.dragMove(e,e.changedTouches[0])},a.prototype.onmousemove=a.prototype.onpointermove=function(e){this.dragMove(e,e)},a.prototype.dragMove=function(e,t){e.preventDefault();var n=t.pageX-this.dragStartX,r=t.pageY-this.dragStartY;this.onDragMove(t,n,r)},a.prototype.onmouseup=a.prototype.onpointerup=a.prototype.ontouchend=a.prototype.dragEnd=function(){window.removeEventListener(n,this),window.removeEventListener(r,this),this.onDragEnd()},a})})),Ri=o(((e,t)=>{(function(e,n){if(typeof t==`object`&&t.exports)t.exports=n(Mi(),Ii(),Li());else{var r=e.Zdog;r.Illustration=n(r,r.Anchor,r.Dragger)}})(e,function(e,t,n){function r(){}var i=e.TAU,a=t.subclass({element:void 0,centered:!0,zoom:1,dragRotate:!1,resize:!1,onPrerender:r,onDragStart:r,onDragMove:r,onDragEnd:r,onResize:r});e.extend(a.prototype,n.prototype),a.prototype.create=function(e){t.prototype.create.call(this,e),n.prototype.create.call(this,e),this.setElement(this.element),this.setDragRotate(this.dragRotate),this.setResize(this.resize)},a.prototype.setElement=function(e){if(e=this.getQueryElement(e),!e)throw Error(`Zdog.Illustration element required. Set to `+e);var t=e.nodeName.toLowerCase();t==`canvas`?this.setCanvas(e):t==`svg`&&this.setSvg(e)},a.prototype.setSize=function(e,t){e=Math.round(e),t=Math.round(t),this.isCanvas?this.setSizeCanvas(e,t):this.isSvg&&this.setSizeSvg(e,t)},a.prototype.setResize=function(e){this.resize=e,this.resizeListener||=this.onWindowResize.bind(this),e?(window.addEventListener(`resize`,this.resizeListener),this.onWindowResize()):window.removeEventListener(`resize`,this.resizeListener)},a.prototype.onWindowResize=function(){this.setMeasuredSize(),this.onResize(this.width,this.height)},a.prototype.setMeasuredSize=function(){var e,t;if(this.resize==`fullscreen`)e=window.innerWidth,t=window.innerHeight;else{var n=this.element.getBoundingClientRect();e=n.width,t=n.height}this.setSize(e,t)},a.prototype.renderGraph=function(e){this.isCanvas?this.renderGraphCanvas(e):this.isSvg&&this.renderGraphSvg(e)},a.prototype.updateRenderGraph=function(e){this.updateGraph(),this.renderGraph(e)},a.prototype.setCanvas=function(e){this.element=e,this.isCanvas=!0,this.ctx=this.element.getContext(`2d`),this.setSizeCanvas(e.width,e.height)},a.prototype.setSizeCanvas=function(e,t){this.width=e,this.height=t;var n=this.pixelRatio=window.devicePixelRatio||1;this.element.width=this.canvasWidth=e*n,this.element.height=this.canvasHeight=t*n,n>1&&!this.resize&&(this.element.style.width=e+`px`,this.element.style.height=t+`px`)},a.prototype.renderGraphCanvas=function(e){e||=this,this.prerenderCanvas(),t.prototype.renderGraphCanvas.call(e,this.ctx),this.postrenderCanvas()},a.prototype.prerenderCanvas=function(){var e=this.ctx;if(e.lineCap=`round`,e.lineJoin=`round`,e.clearRect(0,0,this.canvasWidth,this.canvasHeight),e.save(),this.centered){var t=this.width/2*this.pixelRatio,n=this.height/2*this.pixelRatio;e.translate(t,n)}var r=this.pixelRatio*this.zoom;e.scale(r,r),this.onPrerender(e)},a.prototype.postrenderCanvas=function(){this.ctx.restore()},a.prototype.setSvg=function(e){this.element=e,this.isSvg=!0,this.pixelRatio=1;var t=e.getAttribute(`width`),n=e.getAttribute(`height`);this.setSizeSvg(t,n)},a.prototype.setSizeSvg=function(e,t){this.width=e,this.height=t;var n=e/this.zoom,r=t/this.zoom,i=this.centered?-n/2:0,a=this.centered?-r/2:0;this.element.setAttribute(`viewBox`,i+` `+a+` `+n+` `+r),this.resize?(this.element.removeAttribute(`width`),this.element.removeAttribute(`height`)):(this.element.setAttribute(`width`,e),this.element.setAttribute(`height`,t))},a.prototype.renderGraphSvg=function(e){e||=this,o(this.element),this.onPrerender(this.element),t.prototype.renderGraphSvg.call(e,this.element)};function o(e){for(;e.firstChild;)e.removeChild(e.firstChild)}return a.prototype.setDragRotate=function(e){if(e)e===!0&&(e=this);else return;this.dragRotate=e,this.bindDrag(this.element)},a.prototype.dragStart=function(){this.dragStartRX=this.dragRotate.rotate.x,this.dragStartRY=this.dragRotate.rotate.y,n.prototype.dragStart.apply(this,arguments)},a.prototype.dragMove=function(e,t){var r=t.pageX-this.dragStartX,a=t.pageY-this.dragStartY,o=Math.min(this.width,this.height),s=r/o*i,c=a/o*i;this.dragRotate.rotate.x=this.dragStartRX-c,this.dragRotate.rotate.y=this.dragStartRY-s,n.prototype.dragMove.apply(this,arguments)},a})})),zi=o(((e,t)=>{(function(e,n){if(typeof t==`object`&&t.exports)t.exports=n(Fi());else{var r=e.Zdog;r.PathCommand=n(r.Vector)}})(e,function(e){function t(t,i,a){this.method=t,this.points=i.map(n),this.renderPoints=i.map(r),this.previousPoint=a,this.endRenderPoint=this.renderPoints[this.renderPoints.length-1],t==`arc`&&(this.controlPoints=[new e,new e])}function n(t){return t instanceof e?t:new e(t)}function r(t){return new e(t)}t.prototype.reset=function(){var e=this.points;this.renderPoints.forEach(function(t,n){var r=e[n];t.set(r)})},t.prototype.transform=function(e,t,n){this.renderPoints.forEach(function(r){r.transform(e,t,n)})},t.prototype.render=function(e,t,n){return this[this.method](e,t,n)},t.prototype.move=function(e,t,n){return n.move(e,t,this.renderPoints[0])},t.prototype.line=function(e,t,n){return n.line(e,t,this.renderPoints[0])},t.prototype.bezier=function(e,t,n){var r=this.renderPoints[0],i=this.renderPoints[1],a=this.renderPoints[2];return n.bezier(e,t,r,i,a)};var i=9/16;return t.prototype.arc=function(e,t,n){var r=this.previousPoint,a=this.renderPoints[0],o=this.renderPoints[1],s=this.controlPoints[0],c=this.controlPoints[1];return s.set(r).lerp(a,i),c.set(o).lerp(a,i),n.bezier(e,t,s,c,o)},t})})),Bi=o(((e,t)=>{(function(e,n){if(typeof t==`object`&&t.exports)t.exports=n(Mi(),Fi(),zi(),Ii());else{var r=e.Zdog;r.Shape=n(r,r.Vector,r.PathCommand,r.Anchor)}})(e,function(e,t,n,r){var i=r.subclass({stroke:1,fill:!1,color:`#333`,closed:!0,visible:!0,path:[{}],front:{z:1},backface:!0});i.prototype.create=function(e){r.prototype.create.call(this,e),this.updatePath(),this.front=new t(e.front||this.front),this.renderFront=new t(this.front),this.renderNormal=new t};var a=[`move`,`line`,`bezier`,`arc`];i.prototype.updatePath=function(){this.setPath(),this.updatePathCommands()},i.prototype.setPath=function(){},i.prototype.updatePathCommands=function(){var e;this.pathCommands=this.path.map(function(t,r){var i=Object.keys(t),o=i[0],s=t[o];i.length==1&&a.indexOf(o)!=-1||(o=`line`,s=t),(o==`line`||o==`move`)&&!Array.isArray(s)&&(s=[s]),o=r===0?`move`:o;var c=new n(o,s,e);return e=c.endRenderPoint,c})},i.prototype.reset=function(){this.renderOrigin.set(this.origin),this.renderFront.set(this.front),this.pathCommands.forEach(function(e){e.reset()})},i.prototype.transform=function(e,t,n){this.renderOrigin.transform(e,t,n),this.renderFront.transform(e,t,n),this.renderNormal.set(this.renderOrigin).subtract(this.renderFront),this.pathCommands.forEach(function(r){r.transform(e,t,n)}),this.children.forEach(function(r){r.transform(e,t,n)})},i.prototype.updateSortValue=function(){var e=this.pathCommands.length,t=this.pathCommands[0].endRenderPoint,n=this.pathCommands[e-1].endRenderPoint;e>2&&t.isSame(n)&&--e;for(var r=0,i=0;i0,!(!this.backface&&this.isFacingBack))){if(!t)throw Error(`Zdog renderer required. Set to `+t);var r=n==1;t.isCanvas&&r?this.renderCanvasDot(e,t):this.renderPath(e,t)}};var o=e.TAU;i.prototype.renderCanvasDot=function(e){var t=this.getLineWidth();if(t){e.fillStyle=this.getRenderColor();var n=this.pathCommands[0].endRenderPoint;e.beginPath();var r=t/2;e.arc(n.x,n.y,r,0,o),e.fill()}},i.prototype.getLineWidth=function(){return this.stroke?this.stroke==1?1:this.stroke:0},i.prototype.getRenderColor=function(){return typeof this.backface==`string`&&this.isFacingBack?this.backface:this.color},i.prototype.renderPath=function(e,t){var n=this.getRenderElement(e,t),r=!(this.pathCommands.length==2&&this.pathCommands[1].method==`line`)&&this.closed,i=this.getRenderColor();t.renderPath(e,n,this.pathCommands,r),t.stroke(e,n,this.stroke,i,this.getLineWidth()),t.fill(e,n,this.fill,i),t.end(e,n)};var s=`http://www.w3.org/2000/svg`;return i.prototype.getRenderElement=function(e,t){if(t.isSvg)return this.svgElement||(this.svgElement=document.createElementNS(s,`path`),this.svgElement.setAttribute(`stroke-linecap`,`round`),this.svgElement.setAttribute(`stroke-linejoin`,`round`)),this.svgElement},i})})),Vi=o(((e,t)=>{(function(e,n){if(typeof t==`object`&&t.exports)t.exports=n(Ii());else{var r=e.Zdog;r.Group=n(r.Anchor)}})(e,function(e){var t=e.subclass({updateSort:!1,visible:!0});return t.prototype.updateSortValue=function(){var t=0;this.flatGraph.forEach(function(e){e.updateSortValue(),t+=e.sortValue}),this.sortValue=t/this.flatGraph.length,this.updateSort&&this.flatGraph.sort(e.shapeSorter)},t.prototype.render=function(e,t){this.visible&&this.flatGraph.forEach(function(n){n.render(e,t)})},t.prototype.updateFlatGraph=function(){var e=[];this.flatGraph=this.addChildFlatGraph(e)},t.prototype.getFlatGraph=function(){return[this]},t})})),Hi=o(((e,t)=>{(function(e,n){if(typeof t==`object`&&t.exports)t.exports=n(Bi());else{var r=e.Zdog;r.Rect=n(r.Shape)}})(e,function(e){var t=e.subclass({width:1,height:1});return t.prototype.setPath=function(){var e=this.width/2,t=this.height/2;this.path=[{x:-e,y:-t},{x:e,y:-t},{x:e,y:t},{x:-e,y:t}]},t})})),Ui=o(((e,t)=>{(function(e,n){if(typeof t==`object`&&t.exports)t.exports=n(Bi());else{var r=e.Zdog;r.RoundedRect=n(r.Shape)}})(e,function(e){var t=e.subclass({width:1,height:1,cornerRadius:.25,closed:!1});return t.prototype.setPath=function(){var e=this.width/2,t=this.height/2,n=Math.min(e,t),r=Math.min(this.cornerRadius,n),i=e-r,a=t-r,o=[{x:i,y:-t},{arc:[{x:e,y:-t},{x:e,y:-a}]}];a&&o.push({x:e,y:a}),o.push({arc:[{x:e,y:t},{x:i,y:t}]}),i&&o.push({x:-i,y:t}),o.push({arc:[{x:-e,y:t},{x:-e,y:a}]}),a&&o.push({x:-e,y:-a}),o.push({arc:[{x:-e,y:-t},{x:-i,y:-t}]}),i&&o.push({x:i,y:-t}),this.path=o},t})})),Wi=o(((e,t)=>{(function(e,n){if(typeof t==`object`&&t.exports)t.exports=n(Bi());else{var r=e.Zdog;r.Ellipse=n(r.Shape)}})(e,function(e){var t=e.subclass({diameter:1,width:void 0,height:void 0,quarters:4,closed:!1});return t.prototype.setPath=function(){var e=this.width==null?this.diameter:this.width,t=this.height==null?this.diameter:this.height,n=e/2,r=t/2;this.path=[{x:0,y:-r},{arc:[{x:n,y:-r},{x:n,y:0}]}],this.quarters>1&&this.path.push({arc:[{x:n,y:r},{x:0,y:r}]}),this.quarters>2&&this.path.push({arc:[{x:-n,y:r},{x:-n,y:0}]}),this.quarters>3&&this.path.push({arc:[{x:-n,y:-r},{x:0,y:-r}]})},t})})),Gi=o(((e,t)=>{(function(e,n){if(typeof t==`object`&&t.exports)t.exports=n(Mi(),Bi());else{var r=e.Zdog;r.Polygon=n(r,r.Shape)}})(e,function(e,t){var n=t.subclass({sides:3,radius:.5}),r=e.TAU;return n.prototype.setPath=function(){this.path=[];for(var e=0;e{(function(e,n){if(typeof t==`object`&&t.exports)t.exports=n(Mi(),Fi(),Ii(),Wi());else{var r=e.Zdog;r.Hemisphere=n(r,r.Vector,r.Anchor,r.Ellipse)}})(e,function(e,t,n,r){var i=r.subclass({fill:!0}),a=e.TAU;i.prototype.create=function(){r.prototype.create.apply(this,arguments),this.apex=new n({addTo:this,translate:{z:this.diameter/2}}),this.renderCentroid=new t},i.prototype.updateSortValue=function(){this.renderCentroid.set(this.renderOrigin).lerp(this.apex.renderOrigin,3/8),this.sortValue=this.renderCentroid.z},i.prototype.render=function(e,t){this.renderDome(e,t),r.prototype.render.apply(this,arguments)},i.prototype.renderDome=function(e,t){if(this.visible){var n=this.getDomeRenderElement(e,t),r=Math.atan2(this.renderNormal.y,this.renderNormal.x),i=this.diameter/2*this.renderNormal.magnitude(),o=this.renderOrigin.x,s=this.renderOrigin.y;if(t.isCanvas){var c=r+a/4,l=r-a/4;e.beginPath(),e.arc(o,s,i,c,l)}else t.isSvg&&(r=(r-a/4)/a*360,this.domeSvgElement.setAttribute(`d`,`M `+-i+`,0 A `+i+`,`+i+` 0 0 1 `+i+`,0`),this.domeSvgElement.setAttribute(`transform`,`translate(`+o+`,`+s+` ) rotate(`+r+`)`));t.stroke(e,n,this.stroke,this.color,this.getLineWidth()),t.fill(e,n,this.fill,this.color),t.end(e,n)}};var o=`http://www.w3.org/2000/svg`;return i.prototype.getDomeRenderElement=function(e,t){if(t.isSvg)return this.domeSvgElement||(this.domeSvgElement=document.createElementNS(o,`path`),this.domeSvgElement.setAttribute(`stroke-linecap`,`round`),this.domeSvgElement.setAttribute(`stroke-linejoin`,`round`)),this.domeSvgElement},i})})),qi=o(((e,t)=>{(function(e,n){if(typeof t==`object`&&t.exports)t.exports=n(Mi(),zi(),Bi(),Vi(),Wi());else{var r=e.Zdog;r.Cylinder=n(r,r.PathCommand,r.Shape,r.Group,r.Ellipse)}})(e,function(e,t,n,r,i){function a(){}var o=r.subclass({color:`#333`,updateSort:!0});o.prototype.create=function(){r.prototype.create.apply(this,arguments),this.pathCommands=[new t(`move`,[{}]),new t(`line`,[{}])]},o.prototype.render=function(e,t){this.renderCylinderSurface(e,t),r.prototype.render.apply(this,arguments)},o.prototype.renderCylinderSurface=function(e,t){if(this.visible){var n=this.getRenderElement(e,t),r=this.frontBase,i=this.rearBase,a=r.renderNormal.magnitude(),o=r.diameter*a+r.getLineWidth();this.pathCommands[0].renderPoints[0].set(r.renderOrigin),this.pathCommands[1].renderPoints[0].set(i.renderOrigin),t.isCanvas&&(e.lineCap=`butt`),t.renderPath(e,n,this.pathCommands),t.stroke(e,n,!0,this.color,o),t.end(e,n),t.isCanvas&&(e.lineCap=`round`)}};var s=`http://www.w3.org/2000/svg`;o.prototype.getRenderElement=function(e,t){if(t.isSvg)return this.svgElement||=document.createElementNS(s,`path`),this.svgElement},o.prototype.copyGraph=a;var c=i.subclass();c.prototype.copyGraph=a;var l=n.subclass({diameter:1,length:1,frontFace:void 0,fill:!0}),u=e.TAU;return l.prototype.create=function(){n.prototype.create.apply(this,arguments),this.group=new o({addTo:this,color:this.color,visible:this.visible});var e=this.length/2,t=this.backface||!0;this.frontBase=this.group.frontBase=new i({addTo:this.group,diameter:this.diameter,translate:{z:e},rotate:{y:u/2},color:this.color,stroke:this.stroke,fill:this.fill,backface:this.frontFace||t,visible:this.visible}),this.rearBase=this.group.rearBase=this.frontBase.copy({translate:{z:-e},rotate:{y:0},backface:t})},l.prototype.render=function(){},[`stroke`,`fill`,`color`,`visible`].forEach(function(e){var t=`_`+e;Object.defineProperty(l.prototype,e,{get:function(){return this[t]},set:function(n){this[t]=n,this.frontBase&&(this.frontBase[e]=n,this.rearBase[e]=n,this.group[e]=n)}})}),l})})),Ji=o(((e,t)=>{(function(e,n){if(typeof t==`object`&&t.exports)t.exports=n(Mi(),Fi(),zi(),Ii(),Wi());else{var r=e.Zdog;r.Cone=n(r,r.Vector,r.PathCommand,r.Anchor,r.Ellipse)}})(e,function(e,t,n,r,i){var a=i.subclass({length:1,fill:!0}),o=e.TAU;a.prototype.create=function(){i.prototype.create.apply(this,arguments),this.apex=new r({addTo:this,translate:{z:this.length}}),this.renderApex=new t,this.renderCentroid=new t,this.tangentA=new t,this.tangentB=new t,this.surfacePathCommands=[new n(`move`,[{}]),new n(`line`,[{}]),new n(`line`,[{}])]},a.prototype.updateSortValue=function(){this.renderCentroid.set(this.renderOrigin).lerp(this.apex.renderOrigin,1/3),this.sortValue=this.renderCentroid.z},a.prototype.render=function(e,t){this.renderConeSurface(e,t),i.prototype.render.apply(this,arguments)},a.prototype.renderConeSurface=function(e,t){if(this.visible){this.renderApex.set(this.apex.renderOrigin).subtract(this.renderOrigin);var n=this.renderNormal.magnitude(),r=this.renderApex.magnitude2d(),i=this.renderNormal.magnitude2d(),a=Math.acos(i/n),s=Math.sin(a),c=this.diameter/2*n;if(c*s{(function(e,n){if(typeof t==`object`&&t.exports)t.exports=n(Mi(),Ii(),Bi(),Hi());else{var r=e.Zdog;r.Box=n(r,r.Anchor,r.Shape,r.Rect)}})(e,function(e,t,n,r){var i=r.subclass();i.prototype.copyGraph=function(){};var a=e.TAU,o=[`frontFace`,`rearFace`,`leftFace`,`rightFace`,`topFace`,`bottomFace`],s=e.extend({},n.defaults);delete s.path,o.forEach(function(e){s[e]=!0}),e.extend(s,{width:1,height:1,depth:1,fill:!0});var c=t.subclass(s);return c.prototype.create=function(e){t.prototype.create.call(this,e),this.updatePath(),this.fill=this.fill},c.prototype.updatePath=function(){o.forEach(function(e){this[e]=this[e]},this)},o.forEach(function(e){var t=`_`+e;Object.defineProperty(c.prototype,e,{get:function(){return this[t]},set:function(n){this[t]=n,this.setFace(e,n)}})}),c.prototype.setFace=function(e,t){var n=e+`Rect`,r=this[n];if(!t){this.removeChild(r);return}var a=this.getFaceOptions(e);a.color=typeof t==`string`?t:this.color,r?r.setOptions(a):r=this[n]=new i(a),r.updatePath(),this.addChild(r)},c.prototype.getFaceOptions=function(e){return{frontFace:{width:this.width,height:this.height,translate:{z:this.depth/2}},rearFace:{width:this.width,height:this.height,translate:{z:-this.depth/2},rotate:{y:a/2}},leftFace:{width:this.depth,height:this.height,translate:{x:-this.width/2},rotate:{y:-a/4}},rightFace:{width:this.depth,height:this.height,translate:{x:this.width/2},rotate:{y:a/4}},topFace:{width:this.width,height:this.depth,translate:{y:-this.height/2},rotate:{x:-a/4}},bottomFace:{width:this.width,height:this.depth,translate:{y:this.height/2},rotate:{x:a/4}}}[e]},[`color`,`stroke`,`fill`,`backface`,`front`,`visible`].forEach(function(e){var t=`_`+e;Object.defineProperty(c.prototype,e,{get:function(){return this[t]},set:function(n){this[t]=n,o.forEach(function(t){var r=this[t+`Rect`],i=typeof this[t]==`string`;r&&!(e==`color`&&i)&&(r[e]=n)},this)}})}),c})})),Q=c(o(((e,t)=>{(function(e,n){typeof t==`object`&&t.exports?t.exports=n(Mi(),Ni(),Pi(),Fi(),Ii(),Li(),Ri(),zi(),Bi(),Vi(),Hi(),Ui(),Wi(),Gi(),Ki(),qi(),Ji(),Yi()):typeof define==`function`&&define.amd&&define(`zdog`,[],e.Zdog)})(e,function(e,t,n,r,i,a,o,s,c,l,u,d,f,p,m,h,g,_){return e.CanvasRenderer=t,e.SvgRenderer=n,e.Vector=r,e.Anchor=i,e.Dragger=a,e.Illustration=o,e.PathCommand=s,e.Shape=c,e.Group=l,e.Rect=u,e.RoundedRect=d,e.Ellipse=f,e.Polygon=p,e.Hemisphere=m,e.Cylinder=h,e.Cone=g,e.Box=_,e})}))()),Xi=Y(``);function Zi(e,t){Ge(t,!0);let n=Q.default.TAU,r=.6,i=1.06,a=Xt(null),o,s,c=!0,l=r,u=0,d=0,f=(e,t,n)=>e+(t-e)*n;function p(e){let t=`#36601A`,r=`#FFE4F0`,i=`#FFF7FB`,a=-310,o=new Q.default.Anchor({addTo:e}),s=new Q.default.Anchor({addTo:o,scale:.82});new Q.default.Cylinder({addTo:s,diameter:2160,length:260,color:`#9A6438`,frontFace:`#5ab030`,backface:`#6E4424`,stroke:!1,rotate:{x:n/4},translate:{y:300,z:a}}),new Q.default.Ellipse({addTo:s,diameter:1820,stroke:0,fill:!0,color:`#3a8018`,rotate:{x:n/4},translate:{y:169,z:a}}),new Q.default.Ellipse({addTo:s,diameter:600,stroke:24,color:`#5EA7DC`,rotate:{x:n/4},translate:{x:100,y:166,z:a}}),new Q.default.Ellipse({addTo:s,diameter:576,stroke:0,fill:!0,color:`#73BFF5`,rotate:{x:n/4},translate:{x:100,y:168,z:a}});function c(e,n,r,i=1){let a=new Q.default.Anchor({addTo:e,translate:{x:n,y:170,z:r},scale:i});new Q.default.Shape({addTo:a,path:[{x:0,y:0},{x:0,y:-180}],stroke:34,color:`#6B4A2A`}),new Q.default.Shape({addTo:a,stroke:190,color:`#4A7B28`,translate:{y:-210}}),new Q.default.Shape({addTo:a,stroke:160,color:t,translate:{x:-52,y:-190,z:18}}),new Q.default.Shape({addTo:a,stroke:160,color:t,translate:{x:52,y:-190,z:18}})}c(s,-480,-480,.85),c(s,500,-200,1),c(s,180,-680,.8),c(s,-420,-100,1.05),c(s,560,-560,.75),c(s,-560,-240,.9);function l(e,t,n,a,o=1){let s=new Q.default.Anchor({addTo:e,translate:{x:t,y:n,z:a},scale:o});new Q.default.Shape({addTo:s,stroke:110,color:i}),new Q.default.Shape({addTo:s,stroke:76,color:r,translate:{x:-58,y:12}}),new Q.default.Shape({addTo:s,stroke:82,color:i,translate:{x:56,y:6}}),new Q.default.Shape({addTo:s,stroke:64,color:r,translate:{x:-98,y:16}}),new Q.default.Shape({addTo:s,stroke:58,color:i,translate:{x:100,y:12}})}l(o,-680,-360,-500,1.25),l(o,-180,-450,-960,1.15),l(o,320,-360,-600,1.1)}function m(e){let t=K(a).getBoundingClientRect();return{x:e.clientX-t.left-t.width/2,y:e.clientY-t.top-t.height/2}}function h(e){e.preventDefault();let t=m(e);u=t.x,d=t.y;let n=e.deltaY<0?i:1/i;l=Math.max(.15,Math.min(16,l*n))}function g(){c=!1,K(a).style.cursor=`grabbing`}function _(){K(a)&&(K(a).style.cursor=`grab`)}Di(()=>{o=new Q.default.Illustration({element:K(a),dragRotate:!0,resize:`window`,zoom:r,rotate:{x:-n/9,y:n/10}}),p(o);function e(){s=requestAnimationFrame(e),c&&(o.rotate.y+=.003);let t=o.zoom,n=f(t,l,.12);if(Math.abs(n-t)>1e-5){let e=1/n-1/t;o.translate.x+=u*e,o.translate.y+=d*e,o.zoom=n}o.updateRenderGraph()}e(),K(a).addEventListener(`wheel`,h,{passive:!1}),window.addEventListener(`pointerup`,_)}),Oi(()=>{cancelAnimationFrame(s),K(a)&&K(a).removeEventListener(`wheel`,h),typeof window<`u`&&window.removeEventListener(`pointerup`,_)});var v=Xi();bi(v,e=>V(a,e),()=>K(a)),J(`pointerdown`,v,g),X(e,v),Ke()}function Qi(e){if(e===void 0)throw ReferenceError(`this hasn't been initialised - super() hasn't been called`);return e}function $i(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}var ea={autoSleep:120,force3D:`auto`,nullTargetWarn:1,units:{lineHeight:``}},ta={duration:.5,overwrite:!1,delay:0},na,ra,ia,aa=1e8,oa=1/aa,sa=Math.PI*2,ca=sa/4,la=0,ua=Math.sqrt,da=Math.cos,fa=Math.sin,pa=function(e){return typeof e==`string`},ma=function(e){return typeof e==`function`},ha=function(e){return typeof e==`number`},ga=function(e){return e===void 0},_a=function(e){return typeof e==`object`},va=function(e){return e!==!1},ya=function(){return typeof window<`u`},ba=function(e){return ma(e)||pa(e)},xa=typeof ArrayBuffer==`function`&&ArrayBuffer.isView||function(){},Sa=Array.isArray,Ca=/random\([^)]+\)/g,wa=/,\s*/g,Ta=/(?:-?\.?\d|\.)+/gi,Ea=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,Da=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,Oa=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,ka=/[+-]=-?[.\d]+/,Aa=/[^,'"\[\]\s]+/gi,ja=/^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i,Ma,Na,Pa,Fa,Ia={},La={},Ra,za=function(e){return(La=vo(e,Ia))&&Lc},Ba=function(e,t){return console.warn(`Invalid property`,e,`set to`,t,`Missing plugin? gsap.registerPlugin()`)},Va=function(e,t){return!t&&console.warn(e)},Ha=function(e,t){return e&&(Ia[e]=t)&&La&&(La[e]=t)||Ia},Ua=function(){return 0},Wa={suppressEvents:!0,isStart:!0,kill:!1},Ga={suppressEvents:!0,kill:!1},Ka={suppressEvents:!0},qa={},Ja=[],Ya={},Xa,Za={},Qa={},$a=30,eo=[],to=``,no=function(e){var t=e[0],n,r;if(_a(t)||ma(t)||(e=[e]),!(n=(t._gsap||{}).harness)){for(r=eo.length;r--&&!eo[r].targetTest(t););n=eo[r]}for(r=e.length;r--;)e[r]&&(e[r]._gsap||(e[r]._gsap=new qs(e[r],n)))||e.splice(r,1);return e},ro=function(e){return e._gsap||no(ts(e))[0]._gsap},io=function(e,t,n){return(n=e[t])&&ma(n)?e[t]():ga(n)&&e.getAttribute&&e.getAttribute(t)||n},ao=function(e,t){return(e=e.split(`,`)).forEach(t)||e},oo=function(e){return Math.round(e*1e5)/1e5||0},so=function(e){return Math.round(e*1e7)/1e7||0},co=function(e,t){var n=t.charAt(0),r=parseFloat(t.substr(2));return e=parseFloat(e),n===`+`?e+r:n===`-`?e-r:n===`*`?e*r:e/r},lo=function(e,t){for(var n=t.length,r=0;e.indexOf(t[r])<0&&++ro;)a=a._prev;return a?(t._next=a._next,a._next=t):(t._next=e[n],e[n]=t),t._next?t._next._prev=t:e[r]=t,t._prev=a,t.parent=t._dp=e,t},wo=function(e,t,n,r){n===void 0&&(n=`_first`),r===void 0&&(r=`_last`);var i=t._prev,a=t._next;i?i._next=a:e[n]===t&&(e[n]=a),a?a._prev=i:e[r]===t&&(e[r]=i),t._next=t._prev=t.parent=null},To=function(e,t){e.parent&&(!t||e.parent.autoRemoveChildren)&&e.parent.remove&&e.parent.remove(e),e._act=0},Eo=function(e,t){if(e&&(!t||t._end>e._dur||t._start<0))for(var n=e;n;)n._dirty=1,n=n.parent;return e},Do=function(e){for(var t=e.parent;t&&t.parent;)t._dirty=1,t.totalDuration(),t=t.parent;return e},Oo=function(e,t,n,r){return e._startAt&&(ra?e._startAt.revert(Ga):e.vars.immediateRender&&!e.vars.autoRevert||e._startAt.render(t,!0,r))},ko=function e(t){return!t||t._ts&&e(t.parent)},Ao=function(e){return e._repeat?jo(e._tTime,e=e.duration()+e._rDelay)*e:0},jo=function(e,t){var n=Math.floor(e=so(e/t));return e&&n===e?n-1:n},Mo=function(e,t){return(e-t._start)*t._ts+(t._ts>=0?0:t._dirty?t.totalDuration():t._tDur)},No=function(e){return e._end=so(e._start+(e._tDur/Math.abs(e._ts||e._rts||oa)||0))},Po=function(e,t){var n=e._dp;return n&&n.smoothChildTiming&&e._ts&&(e._start=so(n._time-(e._ts>0?t/e._ts:((e._dirty?e.totalDuration():e._tDur)-t)/-e._ts)),No(e),n._dirty||Eo(n,e)),e},Fo=function(e,t){var n;if((t._time||!t._dur&&t._initted||t._startoa)&&t.render(n,!0)),Eo(e,t)._dp&&e._initted&&e._time>=e._dur&&e._ts){if(e._dur=0&&n.totalTime(n._tTime),n=n._dp;e._zTime=-oa}},Io=function(e,t,n,r){return t.parent&&To(t),t._start=so((ha(n)?n:n||e!==Ma?Ko(e,n,t):e._time)+t._delay),t._end=so(t._start+(t.totalDuration()/Math.abs(t.timeScale())||0)),Co(e,t,`_first`,`_last`,e._sort?`_start`:0),Bo(t)||(e._recent=t),r||Fo(e,t),e._ts<0&&Po(e,e._tTime),e},Lo=function(e,t){return(Ia.ScrollTrigger||Ba(`scrollTrigger`,t))&&Ia.ScrollTrigger.create(t,e)},Ro=function(e,t,n,r,i){if(nc(e,t,i),!e._initted)return 1;if(!n&&e._pt&&!ra&&(e._dur&&e.vars.lazy!==!1||!e._dur&&e.vars.lazy)&&Xa!==Ns.frame)return Ja.push(e),e._lazy=[i,r],1},zo=function e(t){var n=t.parent;return n&&n._ts&&n._initted&&!n._lock&&(n.rawTime()<0||e(n))},Bo=function(e){var t=e.data;return t===`isFromStart`||t===`isStart`},Vo=function(e,t,n,r){var i=e.ratio,a=t<0||!t&&(!e._start&&zo(e)&&!(!e._initted&&Bo(e))||(e._ts<0||e._dp._ts<0)&&!Bo(e))?0:1,o=e._rDelay,s=0,c,l,u;if(o&&e._repeat&&(s=Yo(0,e._tDur,t),l=jo(s,o),e._yoyo&&l&1&&(a=1-a),l!==jo(e._tTime,o)&&(i=1-a,e.vars.repeatRefresh&&e._initted&&e.invalidate())),a!==i||ra||r||e._zTime===oa||!t&&e._zTime){if(!e._initted&&Ro(e,t,r,n,s))return;for(u=e._zTime,e._zTime=t||(n?oa:0),n||=t&&!u,e.ratio=a,e._from&&(a=1-a),e._time=0,e._tTime=s,c=e._pt;c;)c.r(a,c.d),c=c._next;t<0&&Oo(e,t,n,!0),e._onUpdate&&!n&&vs(e,`onUpdate`),s&&e._repeat&&!n&&e.parent&&vs(e,`onRepeat`),(t>=e._tDur||t<0)&&e.ratio===a&&(a&&To(e,1),!n&&!ra&&(vs(e,a?`onComplete`:`onReverseComplete`,!0),e._prom&&e._prom()))}else e._zTime||=t},Ho=function(e,t,n){var r;if(n>t)for(r=e._first;r&&r._start<=n;){if(r.data===`isPause`&&r._start>t)return r;r=r._next}else for(r=e._last;r&&r._start>=n;){if(r.data===`isPause`&&r._start0&&!r&&Po(e,e._tTime=e._tDur*o),e.parent&&No(e),n||Eo(e.parent,e),e},Wo=function(e){return e instanceof Ys?Eo(e):Uo(e,e._dur)},Go={_start:0,endTime:Ua,totalDuration:Ua},Ko=function e(t,n,r){var i=t.labels,a=t._recent||Go,o=t.duration()>=aa?a.endTime(!1):t._dur,s,c,l;return pa(n)&&(isNaN(n)||n in i)?(c=n.charAt(0),l=n.substr(-1)===`%`,s=n.indexOf(`=`),c===`<`||c===`>`?(s>=0&&(n=n.replace(/=/,``)),(c===`<`?a._start:a.endTime(a._repeat>=0))+(parseFloat(n.substr(1))||0)*(l?(s<0?a:r).totalDuration()/100:1)):s<0?(n in i||(i[n]=o),i[n]):(c=parseFloat(n.charAt(s-1)+n.substr(s+1)),l&&r&&(c=c/100*(Sa(r)?r[0]:r).totalDuration()),s>1?e(t,n.substr(0,s-1),r)+c:o+c)):n==null?o:+n},qo=function(e,t,n){var r=ha(t[1]),i=(r?2:1)+(e<2?0:1),a=t[i],o,s;if(r&&(a.duration=t[1]),a.parent=n,e){for(o=a,s=n;s&&!(`immediateRender`in o);)o=s.vars.defaults||{},s=va(s.vars.inherit)&&s.parent;a.immediateRender=va(o.immediateRender),e<2?a.runBackwards=1:a.startAt=t[i-1]}return new lc(t[0],a,t[i+1])},Jo=function(e,t){return e||e===0?t(e):t},Yo=function(e,t,n){return nt?t:n},Xo=function(e,t){return!pa(e)||!(t=ja.exec(e))?``:t[1]},Zo=function(e,t,n){return Jo(n,function(n){return Yo(e,t,n)})},Qo=[].slice,$o=function(e,t){return e&&_a(e)&&`length`in e&&(!t&&!e.length||e.length-1 in e&&_a(e[0]))&&!e.nodeType&&e!==Na},es=function(e,t,n){return n===void 0&&(n=[]),e.forEach(function(e){var r;return pa(e)&&!t||$o(e,1)?(r=n).push.apply(r,ts(e)):n.push(e)})||n},ts=function(e,t,n){return ia&&!t&&ia.selector?ia.selector(e):pa(e)&&!n&&(Pa||!Ps())?Qo.call((t||Fa).querySelectorAll(e),0):Sa(e)?es(e,n):$o(e)?Qo.call(e,0):e?[e]:[]},ns=function(e){return e=ts(e)[0]||Va(`Invalid scope`)||{},function(t){var n=e.current||e.nativeElement||e;return ts(t,n.querySelectorAll?n:n===e?Va(`Invalid scope`)||Fa.createElement(`div`):e)}},rs=function(e){return e.sort(function(){return .5-Math.random()})},is=function(e){if(ma(e))return e;var t=_a(e)?e:{each:e},n=Hs(t.ease),r=t.from||0,i=parseFloat(t.base)||0,a={},o=r>0&&r<1,s=isNaN(r)||o,c=t.axis,l=r,u=r;return pa(r)?l=u={center:.5,edges:.5,end:1}[r]||0:!o&&s&&(l=r[0],u=r[1]),function(e,o,d){var f=(d||t).length,p=a[f],m,h,g,_,v,y,b,x,S;if(!p){if(S=t.grid===`auto`?0:(t.grid||[1,aa])[1],!S){for(b=-aa;b<(b=d[S++].getBoundingClientRect().left)&&Sb&&(b=v),vf?f-1:c?c===`y`?f/S:S:Math.max(S,f/S))||0)*(r===`edges`?-1:1),p.b=f<0?i-f:i,p.u=Xo(t.amount||t.each)||0,n=n&&f<0?Vs(n):n}return f=(p[e]-p.min)/p.max||0,so(p.b+(n?n(f):f)*p.v)+p.u}},as=function(e){var t=10**((e+``).split(`.`)[1]||``).length;return function(n){var r=so(Math.round(parseFloat(n)/e)*e*t);return(r-r%1)/t+(ha(n)?0:Xo(n))}},os=function(e,t){var n=Sa(e),r,i;return!n&&_a(e)&&(r=n=e.radius||aa,e.values?(e=ts(e.values),(i=!ha(e[0]))&&(r*=r)):e=as(e.increment)),Jo(t,n?ma(e)?function(t){return i=e(t),Math.abs(i-t)<=r?i:t}:function(t){for(var n=parseFloat(i?t.x:t),a=parseFloat(i?t.y:0),o=aa,s=0,c=e.length,l,u;c--;)i?(l=e[c].x-n,u=e[c].y-a,l=l*l+u*u):l=Math.abs(e[c]-n),li?a-e:e)})},ms=function(e){return e.replace(Ca,function(e){var t=e.indexOf(`[`)+1,n=e.substring(t||7,t?e.indexOf(`]`):e.length-1).split(wa);return ss(t?n:+n[0],t?0:+n[1],+n[2]||1e-5)})},hs=function(e,t,n,r,i){var a=t-e,o=r-n;return Jo(i,function(t){return n+((t-e)/a*o||0)})},gs=function e(t,n,r,i){var a=isNaN(t+n)?0:function(e){return(1-e)*t+e*n};if(!a){var o=pa(t),s={},c,l,u,d,f;if(r===!0&&(i=1)&&(r=null),o)t={p:t},n={p:n};else if(Sa(t)&&!Sa(n)){for(u=[],d=t.length,f=d-2,l=1;l(o=Math.abs(o))&&(s=a,i=o);return s},vs=function(e,t,n){var r=e.vars,i=r[t],a=ia,o=e._ctx,s,c,l;if(i)return s=r[t+`Params`],c=r.callbackScope||e,n&&Ja.length&&uo(),o&&(ia=o),l=s?i.apply(c,s):i.call(c),ia=a,l},ys=function(e){return To(e),e.scrollTrigger&&e.scrollTrigger.kill(!!ra),e.progress()<1&&vs(e,`onInterrupt`),e},bs,xs=[],Ss=function(e){if(e)if(e=!e.name&&e.default||e,ya()||e.headless){var t=e.name,n=ma(e),r=t&&!n&&e.init?function(){this._props=[]}:e,i={init:Ua,render:vc,add:Zs,kill:bc,modifier:yc,rawVars:0},a={targetTest:0,get:0,getSetter:mc,aliases:{},register:0};if(Ps(),e!==r){if(Za[t])return;go(r,go(bo(e,i),a)),vo(r.prototype,vo(i,bo(e,a))),Za[r.prop=t]=r,e.targetTest&&(eo.push(r),qa[t]=1),t=(t===`css`?`CSS`:t.charAt(0).toUpperCase()+t.substr(1))+`Plugin`}Ha(t,r),e.register&&e.register(Lc,r,Cc)}else xs.push(e)},Cs=255,ws={aqua:[0,Cs,Cs],lime:[0,Cs,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,Cs],navy:[0,0,128],white:[Cs,Cs,Cs],olive:[128,128,0],yellow:[Cs,Cs,0],orange:[Cs,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[Cs,0,0],pink:[Cs,192,203],cyan:[0,Cs,Cs],transparent:[Cs,Cs,Cs,0]},Ts=function(e,t,n){return e+=e<0?1:e>1?-1:0,(e*6<1?t+(n-t)*e*6:e<.5?n:e*3<2?t+(n-t)*(2/3-e)*6:t)*Cs+.5|0},Es=function(e,t,n){var r=e?ha(e)?[e>>16,e>>8&Cs,e&Cs]:0:ws.black,i,a,o,s,c,l,u,d,f,p;if(!r){if(e.substr(-1)===`,`&&(e=e.substr(0,e.length-1)),ws[e])r=ws[e];else if(e.charAt(0)===`#`){if(e.length<6&&(i=e.charAt(1),a=e.charAt(2),o=e.charAt(3),e=`#`+i+i+a+a+o+o+(e.length===5?e.charAt(4)+e.charAt(4):``)),e.length===9)return r=parseInt(e.substr(1,6),16),[r>>16,r>>8&Cs,r&Cs,parseInt(e.substr(7),16)/255];e=parseInt(e.substr(1),16),r=[e>>16,e>>8&Cs,e&Cs]}else if(e.substr(0,3)===`hsl`){if(r=p=e.match(Ta),!t)s=r[0]%360/360,c=r[1]/100,l=r[2]/100,a=l<=.5?l*(c+1):l+c-l*c,i=l*2-a,r.length>3&&(r[3]*=1),r[0]=Ts(s+1/3,i,a),r[1]=Ts(s,i,a),r[2]=Ts(s-1/3,i,a);else if(~e.indexOf(`=`))return r=e.match(Ea),n&&r.length<4&&(r[3]=1),r}else r=e.match(Ta)||ws.transparent;r=r.map(Number)}return t&&!p&&(i=r[0]/Cs,a=r[1]/Cs,o=r[2]/Cs,u=Math.max(i,a,o),d=Math.min(i,a,o),l=(u+d)/2,u===d?s=c=0:(f=u-d,c=l>.5?f/(2-u-d):f/(u+d),s=u===i?(a-o)/f+(at||h<0)&&(r+=h-n),i+=h,y=i-r,_=y-o,(_>0||g)&&(b=++d.frame,f=y-d.time*1e3,d.time=y/=1e3,o+=_+(_>=a?4:a-_),v=1),g||(c=l(u)),v)for(p=0;p=t&&p--},_listeners:s},d}(),Ps=function(){return!Ms&&Ns.wake()},Fs={},Is=/^[\d.\-M][\d.\-,\s]/,Ls=/["']/g,Rs=function(e){for(var t={},n=e.substr(1,e.length-3).split(`:`),r=n[0],i=1,a=n.length,o,s,c;i1&&n.config?n.config.apply(null,~e.indexOf(`{`)?[Rs(t[1])]:zs(e).split(`,`).map(mo)):Fs._CE&&Is.test(e)?Fs._CE(``,e):n},Vs=function(e){return function(t){return 1-e(1-t)}},Hs=function(e,t){return e&&(ma(e)?e:Fs[e]||Bs(e))||t},Us=function(e,t,n,r){n===void 0&&(n=function(e){return 1-t(1-e)}),r===void 0&&(r=function(e){return e<.5?t(e*2)/2:1-t((1-e)*2)/2});var i={easeIn:t,easeOut:n,easeInOut:r},a;return ao(e,function(e){for(var t in Fs[e]=Ia[e]=i,Fs[a=e.toLowerCase()]=n,i)Fs[a+(t===`easeIn`?`.in`:t===`easeOut`?`.out`:`.inOut`)]=Fs[e+`.`+t]=i[t]}),i},Ws=function(e){return function(t){return t<.5?(1-e(1-t*2))/2:.5+e((t-.5)*2)/2}},Gs=function e(t,n,r){var i=n>=1?n:1,a=(r||(t?.3:.45))/(n<1?n:1),o=a/sa*(Math.asin(1/i)||0),s=function(e){return e===1?1:i*2**(-10*e)*fa((e-o)*a)+1},c=t===`out`?s:t===`in`?function(e){return 1-s(1-e)}:Ws(s);return a=sa/a,c.config=function(n,r){return e(t,n,r)},c},Ks=function e(t,n){n===void 0&&(n=1.70158);var r=function(e){return e?--e*e*((n+1)*e+n)+1:0},i=t===`out`?r:t===`in`?function(e){return 1-r(1-e)}:Ws(r);return i.config=function(n){return e(t,n)},i};ao(`Linear,Quad,Cubic,Quart,Quint,Strong`,function(e,t){var n=t<5?t+1:t;Us(e+`,Power`+(n-1),t?function(e){return e**+n}:function(e){return e},function(e){return 1-(1-e)**n},function(e){return e<.5?(e*2)**n/2:1-((1-e)*2)**n/2})}),Fs.Linear.easeNone=Fs.none=Fs.Linear.easeIn,Us(`Elastic`,Gs(`in`),Gs(`out`),Gs()),(function(e,t){var n=1/t,r=2*n,i=2.5*n,a=function(a){return a0?e+(e+this._rDelay)*this._repeat:e):this.totalDuration()&&this._dur},t.totalDuration=function(e){return arguments.length?(this._dirty=0,Uo(this,this._repeat<0?e:(e-this._repeat*this._rDelay)/(this._repeat+1))):this._tDur},t.totalTime=function(e,t){if(Ps(),!arguments.length)return this._tTime;var n=this._dp;if(n&&n.smoothChildTiming&&this._ts){for(Po(this,e),!n._dp||n.parent||Fo(n,this);n&&n.parent;)n.parent._time!==n._start+(n._ts>=0?n._tTime/n._ts:(n.totalDuration()-n._tTime)/-n._ts)&&n.totalTime(n._tTime,!0),n=n.parent;!this.parent&&this._dp.autoRemoveChildren&&(this._ts>0&&e0||!this._tDur&&!e)&&Io(this._dp,this,this._start-this._delay)}return(this._tTime!==e||!this._dur&&!t||this._initted&&Math.abs(this._zTime)===oa||!this._initted&&this._dur&&e||!e&&!this._initted&&(this.add||this._ptLookup))&&(this._ts||(this._pTime=e),po(this,e,t)),this},t.time=function(e,t){return arguments.length?this.totalTime(Math.min(this.totalDuration(),e+Ao(this))%(this._dur+this._rDelay)||(e?this._dur:0),t):this._time},t.totalProgress=function(e,t){return arguments.length?this.totalTime(this.totalDuration()*e,t):this.totalDuration()?Math.min(1,this._tTime/this._tDur):this.rawTime()>=0&&this._initted?1:0},t.progress=function(e,t){return arguments.length?this.totalTime(this.duration()*(this._yoyo&&!(this.iteration()&1)?1-e:e)+Ao(this),t):this.duration()?Math.min(1,this._time/this._dur):+(this.rawTime()>0)},t.iteration=function(e,t){var n=this.duration()+this._rDelay;return arguments.length?this.totalTime(this._time+(e-1)*n,t):this._repeat?jo(this._tTime,n)+1:1},t.timeScale=function(e,t){if(!arguments.length)return this._rts===-oa?0:this._rts;if(this._rts===e)return this;var n=this.parent&&this._ts?Mo(this.parent._time,this):this._tTime;return this._rts=+e||0,this._ts=this._ps||e===-oa?0:this._rts,this.totalTime(Yo(-Math.abs(this._delay),this.totalDuration(),n),t!==!1),No(this),Do(this)},t.paused=function(e){return arguments.length?(this._ps!==e&&(this._ps=e,e?(this._pTime=this._tTime||Math.max(-this._delay,this.rawTime()),this._ts=this._act=0):(Ps(),this._ts=this._rts,this.totalTime(this.parent&&!this.parent.smoothChildTiming?this.rawTime():this._tTime||this._pTime,this.progress()===1&&Math.abs(this._zTime)!==oa&&(this._tTime-=oa)))),this):this._ps},t.startTime=function(e){if(arguments.length){this._start=so(e);var t=this.parent||this._dp;return t&&(t._sort||!this.parent)&&Io(t,this,this._start-this._delay),this}return this._start},t.endTime=function(e){return this._start+(va(e)?this.totalDuration():this.duration())/Math.abs(this._ts||1)},t.rawTime=function(e){var t=this.parent||this._dp;return t?e&&(!this._ts||this._repeat&&this._time&&this.totalProgress()<1)?this._tTime%(this._dur+this._rDelay):this._ts?Mo(t.rawTime(e),this):this._tTime:this._tTime},t.revert=function(e){e===void 0&&(e=Ka);var t=ra;return ra=e,fo(this)&&(this.timeline&&this.timeline.revert(e),this.totalTime(-.01,e.suppressEvents)),this.data!==`nested`&&e.kill!==!1&&this.kill(),ra=t,this},t.globalTime=function(e){for(var t=this,n=arguments.length?e:t.rawTime();t;)n=t._start+n/(Math.abs(t._ts)||1),t=t._dp;return!this.parent&&this._sat?this._sat.globalTime(e):n},t.repeat=function(e){return arguments.length?(this._repeat=e===1/0?-2:e,Wo(this)):this._repeat===-2?1/0:this._repeat},t.repeatDelay=function(e){if(arguments.length){var t=this._time;return this._rDelay=e,Wo(this),t?this.time(t):this}return this._rDelay},t.yoyo=function(e){return arguments.length?(this._yoyo=e,this):this._yoyo},t.seek=function(e,t){return this.totalTime(Ko(this,e),va(t))},t.restart=function(e,t){return this.play().totalTime(e?-this._delay:0,va(t)),this._dur||(this._zTime=-oa),this},t.play=function(e,t){return e!=null&&this.seek(e,t),this.reversed(!1).paused(!1)},t.reverse=function(e,t){return e!=null&&this.seek(e||this.totalDuration(),t),this.reversed(!0).paused(!1)},t.pause=function(e,t){return e!=null&&this.seek(e,t),this.paused(!0)},t.resume=function(){return this.paused(!1)},t.reversed=function(e){return arguments.length?(!!e!==this.reversed()&&this.timeScale(-this._rts||(e?-oa:0)),this):this._rts<0},t.invalidate=function(){return this._initted=this._act=0,this._zTime=-oa,this},t.isActive=function(){var e=this.parent||this._dp,t=this._start,n;return!!(!e||this._ts&&this._initted&&e.isActive()&&(n=e.rawTime(!0))>=t&&n1?(t?(r[e]=t,n&&(r[e+`Params`]=n),e===`onUpdate`&&(this._onUpdate=t)):delete r[e],this):r[e]},t.then=function(e){var t=this,n=t._prom;return new Promise(function(r){var i=ma(e)?e:ho,a=function(){var e=t.then;t.then=null,n&&n(),ma(i)&&(i=i(t))&&(i.then||i===t)&&(t.then=e),r(i),t.then=e};t._initted&&t.totalProgress()===1&&t._ts>=0||!t._tTime&&t._ts<0?a():t._prom=a})},t.kill=function(){ys(this)},e}();go(Js.prototype,{_time:0,_start:0,_end:0,_tTime:0,_tDur:0,_dirty:0,_repeat:0,_yoyo:!1,parent:null,_initted:!1,_rDelay:0,_ts:1,_dp:0,ratio:0,_zTime:-oa,_prom:0,_ps:!1,_rts:1});var Ys=function(e){$i(t,e);function t(t,n){var r;return t===void 0&&(t={}),r=e.call(this,t)||this,r.labels={},r.smoothChildTiming=!!t.smoothChildTiming,r.autoRemoveChildren=!!t.autoRemoveChildren,r._sort=va(t.sortChildren),Ma&&Io(t.parent||Ma,Qi(r),n),t.reversed&&r.reverse(),t.paused&&r.paused(!0),t.scrollTrigger&&Lo(Qi(r),t.scrollTrigger),r}var n=t.prototype;return n.to=function(e,t,n){return qo(0,arguments,this),this},n.from=function(e,t,n){return qo(1,arguments,this),this},n.fromTo=function(e,t,n,r){return qo(2,arguments,this),this},n.set=function(e,t,n){return t.duration=0,t.parent=this,xo(t).repeatDelay||(t.repeat=0),t.immediateRender=!!t.immediateRender,new lc(e,t,Ko(this,n),1),this},n.call=function(e,t,n){return Io(this,lc.delayedCall(0,e,t),n)},n.staggerTo=function(e,t,n,r,i,a,o){return n.duration=t,n.stagger=n.stagger||r,n.onComplete=a,n.onCompleteParams=o,n.parent=this,new lc(e,n,Ko(this,i)),this},n.staggerFrom=function(e,t,n,r,i,a,o){return n.runBackwards=1,xo(n).immediateRender=va(n.immediateRender),this.staggerTo(e,t,n,r,i,a,o)},n.staggerFromTo=function(e,t,n,r,i,a,o,s){return r.startAt=n,xo(r).immediateRender=va(r.immediateRender),this.staggerTo(e,t,r,i,a,o,s)},n.render=function(e,t,n){var r=this._time,i=this._dirty?this.totalDuration():this._tDur,a=this._dur,o=e<=0?0:so(e),s=this._zTime<0!=e<0&&(this._initted||!a),c,l,u,d,f,p,m,h,g,_,v,y;if(this!==Ma&&o>i&&e>=0&&(o=i),o!==this._tTime||n||s){if(r!==this._time&&a&&(o+=this._time-r,e+=this._time-r),c=o,g=this._start,h=this._ts,p=!h,s&&(a||(r=this._zTime),(e||!t)&&(this._zTime=e)),this._repeat){if(v=this._yoyo,f=a+this._rDelay,this._repeat<-1&&e<0)return this.totalTime(f*100+e,t,n);if(c=so(o%f),o===i?(d=this._repeat,c=a):(_=so(o/f),d=~~_,d&&d===_&&(c=a,d--),c>a&&(c=a)),_=jo(this._tTime,f),!r&&this._tTime&&_!==d&&this._tTime-_*f-this._dur<=0&&(_=d),v&&d&1&&(c=a-c,y=1),d!==_&&!this._lock){var b=v&&_&1,x=b===(v&&d&1);if(d<_&&(b=!b),r=b?0:o%a?a:o,this._lock=1,this.render(r||(y?0:so(d*f)),t,!a)._lock=0,this._tTime=o,!t&&this.parent&&vs(this,`onRepeat`),this.vars.repeatRefresh&&!y&&(this.invalidate()._lock=1,_=d),r&&r!==this._time||p!==!this._ts||this.vars.onRepeat&&!this.parent&&!this._act||(a=this._dur,i=this._tDur,x&&(this._lock=2,r=b?a:-1e-4,this.render(r,!0),this.vars.repeatRefresh&&!y&&this.invalidate()),this._lock=0,!this._ts&&!p))return this}}if(this._hasPause&&!this._forcing&&this._lock<2&&(m=Ho(this,so(r),so(c)),m&&(o-=c-(c=m._start))),this._tTime=o,this._time=c,this._act=!!h,this._initted||(this._onUpdate=this.vars.onUpdate,this._initted=1,this._zTime=e,r=0),!r&&o&&a&&!t&&!_&&(vs(this,`onStart`),this._tTime!==o))return this;if(c>=r&&e>=0)for(l=this._first;l;){if(u=l._next,(l._act||c>=l._start)&&l._ts&&m!==l){if(l.parent!==this)return this.render(e,t,n);if(l.render(l._ts>0?(c-l._start)*l._ts:(l._dirty?l.totalDuration():l._tDur)+(c-l._start)*l._ts,t,n),c!==this._time||!this._ts&&!p){m=0,u&&(o+=this._zTime=-oa);break}}l=u}else{l=this._last;for(var S=e<0?e:c;l;){if(u=l._prev,(l._act||S<=l._end)&&l._ts&&m!==l){if(l.parent!==this)return this.render(e,t,n);if(l.render(l._ts>0?(S-l._start)*l._ts:(l._dirty?l.totalDuration():l._tDur)+(S-l._start)*l._ts,t,n||ra&&fo(l)),c!==this._time||!this._ts&&!p){m=0,u&&(o+=this._zTime=S?-oa:oa);break}}l=u}}if(m&&!t&&(this.pause(),m.render(c>=r?0:-oa)._zTime=c>=r?1:-1,this._ts))return this._start=g,No(this),this.render(e,t,n);this._onUpdate&&!t&&vs(this,`onUpdate`,!0),(o===i&&this._tTime>=this.totalDuration()||!o&&r)&&(g===this._start||Math.abs(h)!==Math.abs(this._ts))&&(this._lock||((e||!a)&&(o===i&&this._ts>0||!o&&this._ts<0)&&To(this,1),!t&&!(e<0&&!r)&&(o||r||!i)&&(vs(this,o===i&&e>=0?`onComplete`:`onReverseComplete`,!0),this._prom&&!(o0)&&this._prom())))}return this},n.add=function(e,t){var n=this;if(ha(t)||(t=Ko(this,t,e)),!(e instanceof Js)){if(Sa(e))return e.forEach(function(e){return n.add(e,t)}),this;if(pa(e))return this.addLabel(e,t);if(ma(e))e=lc.delayedCall(0,e);else return this}return this===e?this:Io(this,e,t)},n.getChildren=function(e,t,n,r){e===void 0&&(e=!0),t===void 0&&(t=!0),n===void 0&&(n=!0),r===void 0&&(r=-aa);for(var i=[],a=this._first;a;)a._start>=r&&(a instanceof lc?t&&i.push(a):(n&&i.push(a),e&&i.push.apply(i,a.getChildren(!0,t,n)))),a=a._next;return i},n.getById=function(e){for(var t=this.getChildren(1,1,1),n=t.length;n--;)if(t[n].vars.id===e)return t[n]},n.remove=function(e){return pa(e)?this.removeLabel(e):ma(e)?this.killTweensOf(e):(e.parent===this&&wo(this,e),e===this._recent&&(this._recent=this._last),Eo(this))},n.totalTime=function(t,n){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=so(Ns.time-(this._ts>0?t/this._ts:(this.totalDuration()-t)/-this._ts))),e.prototype.totalTime.call(this,t,n),this._forcing=0,this):this._tTime},n.addLabel=function(e,t){return this.labels[e]=Ko(this,t),this},n.removeLabel=function(e){return delete this.labels[e],this},n.addPause=function(e,t,n){var r=lc.delayedCall(0,t||Ua,n);return r.data=`isPause`,this._hasPause=1,Io(this,r,Ko(this,e))},n.removePause=function(e){var t=this._first;for(e=Ko(this,e);t;)t._start===e&&t.data===`isPause`&&To(t),t=t._next},n.killTweensOf=function(e,t,n){for(var r=this.getTweensOf(e,n),i=r.length;i--;)ec!==r[i]&&r[i].kill(e,t);return this},n.getTweensOf=function(e,t){for(var n=[],r=ts(e),i=this._first,a=ha(t),o;i;)i instanceof lc?lo(i._targets,r)&&(a?(!ec||i._initted&&i._ts)&&i.globalTime(0)<=t&&i.globalTime(i.totalDuration())>t:!t||i.isActive())&&n.push(i):(o=i.getTweensOf(r,t)).length&&n.push.apply(n,o),i=i._next;return n},n.tweenTo=function(e,t){t||={};var n=this,r=Ko(n,e),i=t,a=i.startAt,o=i.onStart,s=i.onStartParams,c=i.immediateRender,l,u=lc.to(n,go({ease:t.ease||`none`,lazy:!1,immediateRender:!1,time:r,overwrite:`auto`,duration:t.duration||Math.abs((r-(a&&`time`in a?a.time:n._time))/n.timeScale())||oa,onStart:function(){if(n.pause(),!l){var e=t.duration||Math.abs((r-(a&&`time`in a?a.time:n._time))/n.timeScale());u._dur!==e&&Uo(u,e,0,1).render(u._time,!0,!0),l=1}o&&o.apply(u,s||[])}},t));return c?u.render(0):u},n.tweenFromTo=function(e,t,n){return this.tweenTo(t,go({startAt:{time:Ko(this,e)}},n))},n.recent=function(){return this._recent},n.nextLabel=function(e){return e===void 0&&(e=this._time),_s(this,Ko(this,e))},n.previousLabel=function(e){return e===void 0&&(e=this._time),_s(this,Ko(this,e),1)},n.currentLabel=function(e){return arguments.length?this.seek(e,!0):this.previousLabel(this._time+oa)},n.shiftChildren=function(e,t,n){n===void 0&&(n=0);var r=this._first,i=this.labels,a;for(e=so(e);r;)r._start>=n&&(r._start+=e,r._end+=e),r=r._next;if(t)for(a in i)i[a]>=n&&(i[a]+=e);return Eo(this)},n.invalidate=function(t){var n=this._first;for(this._lock=0;n;)n.invalidate(t),n=n._next;return e.prototype.invalidate.call(this,t)},n.clear=function(e){e===void 0&&(e=!0);for(var t=this._first,n;t;)n=t._next,this.remove(t),t=n;return this._dp&&(this._time=this._tTime=this._pTime=0),e&&(this.labels={}),Eo(this)},n.totalDuration=function(e){var t=0,n=this,r=n._last,i=aa,a,o,s;if(arguments.length)return n.timeScale((n._repeat<0?n.duration():n.totalDuration())/(n.reversed()?-e:e));if(n._dirty){for(s=n.parent;r;)a=r._prev,r._dirty&&r.totalDuration(),o=r._start,o>i&&n._sort&&r._ts&&!n._lock?(n._lock=1,Io(n,r,o-r._delay,1)._lock=0):i=o,o<0&&r._ts&&(t-=o,(!s&&!n._dp||s&&s.smoothChildTiming)&&(n._start+=so(o/n._ts),n._time-=o,n._tTime-=o),n.shiftChildren(-o,!1,-1/0),i=0),r._end>t&&r._ts&&(t=r._end),r=a;Uo(n,n===Ma&&n._time>t?n._time:t,1,1),n._dirty=0}return n._tDur},t.updateRoot=function(e){if(Ma._ts&&(po(Ma,Mo(e,Ma)),Xa=Ns.frame),Ns.frame>=$a){$a+=ea.autoSleep||120;var t=Ma._first;if((!t||!t._ts)&&ea.autoSleep&&Ns._listeners.length<2){for(;t&&!t._ts;)t=t._next;t||Ns.sleep()}}},t}(Js);go(Ys.prototype,{_lock:0,_hasPause:0,_forcing:0});var Xs=function(e,t,n,r,i,a,o){var s=new Cc(this._pt,e,t,0,1,_c,null,i),c=0,l=0,u,d,f,p,m,h,g,_;for(s.b=n,s.e=r,n+=``,r+=``,(g=~r.indexOf(`random(`))&&(r=ms(r)),a&&(_=[n,r],a(_,e,t),n=_[0],r=_[1]),d=n.match(Oa)||[];u=Oa.exec(r);)p=u[0],m=r.substring(c,u.index),f?f=(f+1)%5:m.substr(-5)===`rgba(`&&(f=1),p!==d[l++]&&(h=parseFloat(d[l-1])||0,s._pt={_next:s._pt,p:m||l===1?m:`,`,s:h,c:p.charAt(1)===`=`?co(h,p)-h:parseFloat(p)-h,m:f&&f<4?Math.round:0},c=Oa.lastIndex);return s.c=c`)}),_.duration();else{for(x in y={},f)x===`ease`||x===`easeEach`||ac(x,f[x],y,f.easeEach);for(x in y)for(D=y[x].sort(function(e,t){return e.t-t.t}),E=0,v=0;vi-oa&&!o?i:ea&&(c=a)),p=this._yoyo&&u&1,p&&(c=a-c),f=jo(this._tTime,d),c===r&&!n&&this._initted&&u===f)return this._tTime=s,this;u!==f&&this.vars.repeatRefresh&&!p&&!this._lock&&c!==d&&this._initted&&(this._lock=n=1,this.render(so(d*u),!0).invalidate()._lock=0)}if(!this._initted){if(Ro(this,o?e:c,n,t,s))return this._tTime=0,this;if(r!==this._time&&!(n&&this.vars.repeatRefresh&&u!==f))return this;if(a!==this._dur)return this.render(e,t,n)}if(this._rEase){var g=c0||!s&&this._ts<0)&&To(this,1),!t&&!(o&&!r)&&(s||r||p)&&(vs(this,s===i?`onComplete`:`onReverseComplete`,!0),this._prom&&!(s0)&&this._prom()))}return this},n.targets=function(){return this._targets},n.invalidate=function(t){return(!t||!this.vars.runBackwards)&&(this._startAt=0),this._pt=this._op=this._onUpdate=this._lazy=this.ratio=0,this._ptLookup=[],this.timeline&&this.timeline.invalidate(t),e.prototype.invalidate.call(this,t)},n.resetTo=function(e,t,n,r,i){Ms||Ns.wake(),this._ts||this.play();var a=Math.min(this._dur,(this._dp._time-this._start)*this._ts),o;return this._initted||nc(this,a),o=this._ease(a/this._dur),rc(this,e,t,n,r,o,a,i)?this.resetTo(e,t,n,r,1):(Po(this,0),this.parent||Co(this._dp,this,`_first`,`_last`,this._dp._sort?`_start`:0),this.render(0))},n.kill=function(e,t){if(t===void 0&&(t=`all`),!e&&(!t||t===`all`))return this._lazy=this._pt=0,this.parent?ys(this):this.scrollTrigger&&this.scrollTrigger.kill(!!ra),this;if(this.timeline){var n=this.timeline.totalDuration();return this.timeline.killTweensOf(e,t,ec&&ec.vars.overwrite!==!0)._first||ys(this),this.parent&&n!==this.timeline.totalDuration()&&Uo(this,this._dur*this.timeline._tDur/n,0,1),this}var r=this._targets,i=e?ts(e):r,a=this._ptLookup,o=this._pt,s,c,l,u,d,f,p;if((!t||t===`all`)&&So(r,i))return t===`all`&&(this._pt=0),ys(this);for(s=this._op=this._op||[],t!==`all`&&(pa(t)&&(d={},ao(t,function(e){return d[e]=1}),t=d),t=ic(r,t)),p=r.length;p--;)if(~i.indexOf(r[p]))for(d in c=a[p],t===`all`?(s[p]=t,u=c,l={}):(l=s[p]=s[p]||{},u=t),u)f=c&&c[d],f&&((!(`kill`in f.d)||f.d.kill(d)===!0)&&wo(this,f,`_pt`),delete c[d]),l!==`all`&&(l[d]=1);return this._initted&&!this._pt&&o&&ys(this),this},t.to=function(e,n){return new t(e,n,arguments[2])},t.from=function(e,t){return qo(1,arguments)},t.delayedCall=function(e,n,r,i){return new t(n,0,{immediateRender:!1,lazy:!1,overwrite:!1,delay:e,onComplete:n,onReverseComplete:n,onCompleteParams:r,onReverseCompleteParams:r,callbackScope:i})},t.fromTo=function(e,t,n){return qo(2,arguments)},t.set=function(e,n){return n.duration=0,n.repeatDelay||(n.repeat=0),new t(e,n)},t.killTweensOf=function(e,t,n){return Ma.killTweensOf(e,t,n)},t}(Js);go(lc.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0}),ao(`staggerTo,staggerFrom,staggerFromTo`,function(e){lc[e]=function(){var t=new Ys,n=Qo.call(arguments,0);return n.splice(e===`staggerFromTo`?5:4,0,0),t[e].apply(t,n)}});var uc=function(e,t,n){return e[t]=n},dc=function(e,t,n){return e[t](n)},fc=function(e,t,n,r){return e[t](r.fp,n)},pc=function(e,t,n){return e.setAttribute(t,n)},mc=function(e,t){return ma(e[t])?dc:ga(e[t])&&e.setAttribute?pc:uc},hc=function(e,t){return t.set(t.t,t.p,Math.round((t.s+t.c*e)*1e6)/1e6,t)},gc=function(e,t){return t.set(t.t,t.p,!!(t.s+t.c*e),t)},_c=function(e,t){var n=t._pt,r=``;if(!e&&t.b)r=t.b;else if(e===1&&t.e)r=t.e;else{for(;n;)r=n.p+(n.m?n.m(n.s+n.c*e):Math.round((n.s+n.c*e)*1e4)/1e4)+r,n=n._next;r+=t.c}t.set(t.t,t.p,r,t)},vc=function(e,t){for(var n=t._pt;n;)n.r(e,n.d),n=n._next},yc=function(e,t,n,r){for(var i=this._pt,a;i;)a=i._next,i.p===r&&i.modifier(e,t,n),i=a},bc=function(e){for(var t=this._pt,n,r;t;)r=t._next,t.p===e&&!t.op||t.op===e?wo(this,t,`_pt`):t.dep||(n=1),t=r;return!n},xc=function(e,t,n,r){r.mSet(e,t,r.m.call(r.tween,n,r.mt),r)},Sc=function(e){for(var t=e._pt,n,r,i,a;t;){for(n=t._next,r=i;r&&r.pr>t.pr;)r=r._next;(t._prev=r?r._prev:a)?t._prev._next=t:i=t,(t._next=r)?r._prev=t:a=t,t=n}e._pt=i},Cc=function(){function e(e,t,n,r,i,a,o,s,c){this.t=t,this.s=r,this.c=i,this.p=n,this.r=a||hc,this.d=o||this,this.set=s||uc,this.pr=c||0,this._next=e,e&&(e._prev=this)}var t=e.prototype;return t.modifier=function(e,t,n){this.mSet=this.mSet||this.set,this.set=xc,this.m=e,this.mt=n,this.tween=t},e}();ao(to+`parent,duration,ease,delay,overwrite,runBackwards,startAt,yoyo,immediateRender,repeat,repeatDelay,data,paused,reversed,lazy,callbackScope,stringFilter,id,yoyoEase,stagger,inherit,repeatRefresh,keyframes,autoRevert,scrollTrigger,easeReverse`,function(e){return qa[e]=1}),Ia.TweenMax=Ia.TweenLite=lc,Ia.TimelineLite=Ia.TimelineMax=Ys,Ma=new Ys({sortChildren:!1,defaults:ta,autoRemoveChildren:!0,id:`root`,smoothChildTiming:!0}),ea.stringFilter=js;var wc=[],Tc={},Ec=[],Dc=0,Oc=0,kc=function(e){return(Tc[e]||Ec).map(function(e){return e()})},Ac=function(){var e=Date.now(),t=[];e-Dc>2&&(kc(`matchMediaInit`),wc.forEach(function(e){var n=e.queries,r=e.conditions,i,a,o,s;for(a in n)i=Na.matchMedia(n[a]).matches,i&&(o=1),i!==r[a]&&(r[a]=i,s=1);s&&(e.revert(),o&&t.push(e))}),kc(`matchMediaRevert`),t.forEach(function(e){return e.onMatch(e,function(t){return e.add(null,t)})}),Dc=e,kc(`matchMedia`))},jc=function(){function e(e,t){this.selector=t&&ns(t),this.data=[],this._r=[],this.isReverted=!1,this.id=Oc++,e&&this.add(e)}var t=e.prototype;return t.add=function(e,t,n){ma(e)&&(n=t,t=e,e=ma);var r=this,i=function(){var e=ia,i=r.selector,a;return e&&e!==r&&e.data.push(r),n&&(r.selector=ns(n)),ia=r,a=t.apply(r,arguments),ma(a)&&r._r.push(a),ia=e,r.selector=i,r.isReverted=!1,a};return r.last=i,e===ma?i(r,function(e){return r.add(null,e)}):e?r[e]=i:i},t.ignore=function(e){var t=ia;ia=null,e(this),ia=t},t.getTweens=function(){var t=[];return this.data.forEach(function(n){return n instanceof e?t.push.apply(t,n.getTweens()):n instanceof lc&&!(n.parent&&n.parent.data===`nested`)&&t.push(n)}),t},t.clear=function(){this._r.length=this.data.length=0},t.kill=function(e,t){var n=this;if(e?(function(){for(var t=n.getTweens(),r=n.data.length,i;r--;)i=n.data[r],i.data===`isFlip`&&(i.revert(),i.getChildren(!0,!0,!1).forEach(function(e){return t.splice(t.indexOf(e),1)}));for(t.map(function(e){return{g:e._dur||e._delay||e._sat&&!e._sat.vars.immediateRender?e.globalTime(0):-1/0,t:e}}).sort(function(e,t){return t.g-e.g||-1/0}).forEach(function(t){return t.t.revert(e)}),r=n.data.length;r--;)i=n.data[r],i instanceof Ys?i.data!==`nested`&&(i.scrollTrigger&&i.scrollTrigger.revert(),i.kill()):!(i instanceof lc)&&i.revert&&i.revert(e);n._r.forEach(function(t){return t(e,n)}),n.isReverted=!0})():this.data.forEach(function(e){return e.kill&&e.kill()}),this.clear(),t)for(var r=wc.length;r--;)wc[r].id===this.id&&wc.splice(r,1)},t.revert=function(e){this.kill(e||{})},e}(),Mc=function(){function e(e){this.contexts=[],this.scope=e,ia&&ia.data.push(this)}var t=e.prototype;return t.add=function(e,t,n){_a(e)||(e={matches:e});var r=new jc(0,n||this.scope),i=r.conditions={},a,o,s;for(o in ia&&!r.selector&&(r.selector=ia.selector),this.contexts.push(r),t=r.add(`onMatch`,t),r.queries=e,e)o===`all`?s=1:(a=Na.matchMedia(e[o]),a&&(wc.indexOf(r)<0&&wc.push(r),(i[o]=a.matches)&&(s=1),a.addListener?a.addListener(Ac):a.addEventListener(`change`,Ac)));return s&&t(r,function(e){return r.add(null,e)}),this},t.revert=function(e){this.kill(e||{})},t.kill=function(e){this.contexts.forEach(function(t){return t.kill(e,!0)})},e}(),Nc={registerPlugin:function(){[...arguments].forEach(function(e){return Ss(e)})},timeline:function(e){return new Ys(e)},getTweensOf:function(e,t){return Ma.getTweensOf(e,t)},getProperty:function(e,t,n,r){pa(e)&&(e=ts(e)[0]);var i=ro(e||{}).get,a=n?ho:mo;return n===`native`&&(n=``),e&&(t?a((Za[t]&&Za[t].get||i)(e,t,n,r)):function(t,n,r){return a((Za[t]&&Za[t].get||i)(e,t,n,r))})},quickSetter:function(e,t,n){if(e=ts(e),e.length>1){var r=e.map(function(e){return Lc.quickSetter(e,t,n)}),i=r.length;return function(e){for(var t=i;t--;)r[t](e)}}e=e[0]||{};var a=Za[t],o=ro(e),s=o.harness&&(o.harness.aliases||{})[t]||t,c=a?function(t){var r=new a;bs._pt=0,r.init(e,n?t+n:t,bs,0,[e]),r.render(1,r),bs._pt&&vc(1,bs)}:o.set(e,s);return a?c:function(t){return c(e,s,n?t+n:t,o,1)}},quickTo:function(e,t,n){var r,i=Lc.to(e,go((r={},r[t]=`+=0.1`,r.paused=!0,r.stagger=0,r),n||{})),a=function(e,n,r){return i.resetTo(t,e,n,r)};return a.tween=i,a},isTweening:function(e){return Ma.getTweensOf(e,!0).length>0},defaults:function(e){return e&&e.ease&&(e.ease=Hs(e.ease,ta.ease)),yo(ta,e||{})},config:function(e){return yo(ea,e||{})},registerEffect:function(e){var t=e.name,n=e.effect,r=e.plugins,i=e.defaults,a=e.extendTimeline;(r||``).split(`,`).forEach(function(e){return e&&!Za[e]&&!Ia[e]&&Va(t+` effect requires `+e+` plugin.`)}),Qa[t]=function(e,t,r){return n(ts(e),go(t||{},i),r)},a&&(Ys.prototype[t]=function(e,n,r){return this.add(Qa[t](e,_a(n)?n:(r=n)&&{},this),r)})},registerEase:function(e,t){Fs[e]=Hs(t)},parseEase:function(e,t){return arguments.length?Hs(e,t):Fs},getById:function(e){return Ma.getById(e)},exportRoot:function(e,t){e===void 0&&(e={});var n=new Ys(e),r,i;for(n.smoothChildTiming=va(e.smoothChildTiming),Ma.remove(n),n._dp=0,n._time=n._tTime=Ma._time,r=Ma._first;r;)i=r._next,(t||!(!r._dur&&r instanceof lc&&r.vars.onComplete===r._targets[0]))&&Io(n,r,r._start-r._delay),r=i;return Io(Ma,n,0),n},context:function(e,t){return e?new jc(e,t):ia},matchMedia:function(e){return new Mc(e)},matchMediaRefresh:function(){return wc.forEach(function(e){var t=e.conditions,n,r;for(r in t)t[r]&&(t[r]=!1,n=1);n&&e.revert()})||Ac()},addEventListener:function(e,t){var n=Tc[e]||(Tc[e]=[]);~n.indexOf(t)||n.push(t)},removeEventListener:function(e,t){var n=Tc[e],r=n&&n.indexOf(t);r>=0&&n.splice(r,1)},utils:{wrap:fs,wrapYoyo:ps,distribute:is,random:ss,snap:os,normalize:us,getUnit:Xo,clamp:Zo,splitColor:Es,toArray:ts,selector:ns,mapRange:hs,pipe:cs,unitize:ls,interpolate:gs,shuffle:rs},install:za,effects:Qa,ticker:Ns,updateRoot:Ys.updateRoot,plugins:Za,globalTimeline:Ma,core:{PropTween:Cc,globals:Ha,Tween:lc,Timeline:Ys,Animation:Js,getCache:ro,_removeLinkedListItem:wo,reverting:function(){return ra},context:function(e){return e&&ia&&(ia.data.push(e),e._ctx=ia),ia},suppressOverwrites:function(e){return na=e}}};ao(`to,from,fromTo,delayedCall,set,killTweensOf`,function(e){return Nc[e]=lc[e]}),Ns.add(Ys.updateRoot),bs=Nc.to({},{duration:0});var Pc=function(e,t){for(var n=e._pt;n&&n.p!==t&&n.op!==t&&n.fp!==t;)n=n._next;return n},Fc=function(e,t){var n=e._targets,r,i,a;for(r in t)for(i=n.length;i--;)a=e._ptLookup[i][r],(a&&=a.d)&&(a._pt&&(a=Pc(a,r)),a&&a.modifier&&a.modifier(t[r],e,n[i],r))},Ic=function(e,t){return{name:e,headless:1,rawVars:1,init:function(e,n,r){r._onInit=function(e){var r,i;if(pa(n)&&(r={},ao(n,function(e){return r[e]=1}),n=r),t){for(i in r={},n)r[i]=t(n[i]);n=r}Fc(e,n)}}}},Lc=Nc.registerPlugin({name:`attr`,init:function(e,t,n,r,i){var a,o,s;for(a in this.tween=n,t)s=e.getAttribute(a)||``,o=this.add(e,`setAttribute`,(s||0)+``,t[a],r,i,0,0,a),o.op=a,o.b=s,this._props.push(a)},render:function(e,t){for(var n=t._pt;n;)ra?n.set(n.t,n.p,n.b,n):n.r(e,n.d),n=n._next}},{name:`endArray`,headless:1,init:function(e,t){for(var n=t.length;n--;)this.add(e,n,e[n]||0,t[n],0,0,0,0,0,1)}},Ic(`roundProps`,as),Ic(`modifiers`),Ic(`snap`,os))||Nc;lc.version=Ys.version=Lc.version=`3.15.0`,Ra=1,ya()&&Ps(),Fs.Power0,Fs.Power1,Fs.Power2,Fs.Power3,Fs.Power4,Fs.Linear,Fs.Quad,Fs.Cubic,Fs.Quart,Fs.Quint,Fs.Strong,Fs.Elastic,Fs.Back,Fs.SteppedEase,Fs.Bounce,Fs.Sine,Fs.Expo,Fs.Circ;var Rc,zc,Bc,Vc,Hc,Uc,Wc,Gc=function(){return typeof window<`u`},Kc={},qc=180/Math.PI,Jc=Math.PI/180,Yc=Math.atan2,Xc=1e8,Zc=/([A-Z])/g,Qc=/(left|right|width|margin|padding|x)/i,$c=/[\s,\(]\S/,el={autoAlpha:`opacity,visibility`,scale:`scaleX,scaleY`,alpha:`opacity`},tl=function(e,t){return t.set(t.t,t.p,Math.round((t.s+t.c*e)*1e4)/1e4+t.u,t)},nl=function(e,t){return t.set(t.t,t.p,e===1?t.e:Math.round((t.s+t.c*e)*1e4)/1e4+t.u,t)},rl=function(e,t){return t.set(t.t,t.p,e?Math.round((t.s+t.c*e)*1e4)/1e4+t.u:t.b,t)},il=function(e,t){return t.set(t.t,t.p,e===1?t.e:e?Math.round((t.s+t.c*e)*1e4)/1e4+t.u:t.b,t)},al=function(e,t){var n=t.s+t.c*e;t.set(t.t,t.p,~~(n+(n<0?-.5:.5))+t.u,t)},ol=function(e,t){return t.set(t.t,t.p,e?t.e:t.b,t)},sl=function(e,t){return t.set(t.t,t.p,e===1?t.e:t.b,t)},cl=function(e,t,n){return e.style[t]=n},ll=function(e,t,n){return e.style.setProperty(t,n)},ul=function(e,t,n){return e._gsap[t]=n},dl=function(e,t,n){return e._gsap.scaleX=e._gsap.scaleY=n},fl=function(e,t,n,r,i){var a=e._gsap;a.scaleX=a.scaleY=n,a.renderTransform(i,a)},pl=function(e,t,n,r,i){var a=e._gsap;a[t]=n,a.renderTransform(i,a)},ml=`transform`,hl=ml+`Origin`,gl=function e(t,n){var r=this,i=this.target,a=i.style,o=i._gsap;if(t in Kc&&a){if(this.tfm=this.tfm||{},t!==`transform`)t=el[t]||t,~t.indexOf(`,`)?t.split(`,`).forEach(function(e){return r.tfm[e]=Fl(i,e)}):this.tfm[t]=o.x?o[t]:Fl(i,t),t===hl&&(this.tfm.zOrigin=o.zOrigin);else return el.transform.split(`,`).forEach(function(t){return e.call(r,t,n)});if(this.props.indexOf(ml)>=0)return;o.svg&&(this.svgo=i.getAttribute(`data-svg-origin`),this.props.push(hl,n,``)),t=ml}(a||n)&&this.props.push(t,n,a[t])},_l=function(e){e.translate&&(e.removeProperty(`translate`),e.removeProperty(`scale`),e.removeProperty(`rotate`))},vl=function(){var e=this.props,t=this.target,n=t.style,r=t._gsap,i,a;for(i=0;i=0?Cl[i]:``)+e},Tl=function(){Gc()&&window.document&&(Rc=window,zc=Rc.document,Bc=zc.documentElement,Hc=xl(`div`)||{style:{}},xl(`div`),ml=wl(ml),hl=ml+`Origin`,Hc.style.cssText=`border-width:0;line-height:0;position:absolute;padding:0`,bl=!!wl(`perspective`),Wc=Lc.core.reverting,Vc=1)},El=function(e){var t=e.ownerSVGElement,n=xl(`svg`,t&&t.getAttribute(`xmlns`)||`http://www.w3.org/2000/svg`),r=e.cloneNode(!0),i;r.style.display=`block`,n.appendChild(r),Bc.appendChild(n);try{i=r.getBBox()}catch{}return n.removeChild(r),Bc.removeChild(n),i},Dl=function(e,t){for(var n=t.length;n--;)if(e.hasAttribute(t[n]))return e.getAttribute(t[n])},Ol=function(e){var t,n;try{t=e.getBBox()}catch{t=El(e),n=1}return t&&(t.width||t.height)||n||(t=El(e)),t&&!t.width&&!t.x&&!t.y?{x:+Dl(e,[`x`,`cx`,`x1`])||0,y:+Dl(e,[`y`,`cy`,`y1`])||0,width:0,height:0}:t},kl=function(e){return!!(e.getCTM&&(!e.parentNode||e.ownerSVGElement)&&Ol(e))},Al=function(e,t){if(t){var n=e.style,r;t in Kc&&t!==hl&&(t=ml),n.removeProperty?(r=t.substr(0,2),(r===`ms`||t.substr(0,6)===`webkit`)&&(t=`-`+t),n.removeProperty(r===`--`?t:t.replace(Zc,`-$1`).toLowerCase())):n.removeAttribute(t)}},jl=function(e,t,n,r,i,a){var o=new Cc(e._pt,t,n,0,1,a?sl:ol);return e._pt=o,o.b=r,o.e=i,e._props.push(n),o},Ml={deg:1,rad:1,turn:1},Nl={grid:1,flex:1},Pl=function e(t,n,r,i){var a=parseFloat(r)||0,o=(r+``).trim().substr((a+``).length)||`px`,s=Hc.style,c=Qc.test(n),l=t.tagName.toLowerCase()===`svg`,u=(l?`client`:`offset`)+(c?`Width`:`Height`),d=100,f=i===`px`,p=i===`%`,m,h,g,_;if(i===o||!a||Ml[i]||Ml[o])return a;if(o!==`px`&&!f&&(a=e(t,n,r,`px`)),_=t.getCTM&&kl(t),(p||o===`%`)&&(Kc[n]||~n.indexOf(`adius`)))return m=_?t.getBBox()[c?`width`:`height`]:t[u],oo(p?a/m*d:a/100*m);if(s[c?`width`:`height`]=d+(f?o:i),h=i!==`rem`&&~n.indexOf(`adius`)||i===`em`&&t.appendChild&&!l?t:t.parentNode,_&&(h=(t.ownerSVGElement||{}).parentNode),(!h||h===zc||!h.appendChild)&&(h=zc.body),g=h._gsap,g&&p&&g.width&&c&&g.time===Ns.time&&!g.uncache)return oo(a/g.width*d);if(p&&(n===`height`||n===`width`)){var v=t.style[n];t.style[n]=d+i,m=t[u],v?t.style[n]=v:Al(t,n)}else (p||o===`%`)&&!Nl[Sl(h,`display`)]&&(s.position=Sl(t,`position`)),h===t&&(s.position=`static`),h.appendChild(Hc),m=Hc[u],h.removeChild(Hc),s.position=`absolute`;return c&&p&&(g=ro(h),g.time=Ns.time,g.width=h[u]),oo(f?m*a/d:m&&a?d/m*a:0)},Fl=function(e,t,n,r){var i;return Vc||Tl(),t in el&&t!==`transform`&&(t=el[t],~t.indexOf(`,`)&&(t=t.split(`,`)[0])),Kc[t]&&t!==`transform`?(i=ql(e,r),i=t===`transformOrigin`?i.svg?i.origin:Jl(Sl(e,hl))+` `+i.zOrigin+`px`:i[t]):(i=e.style[t],(!i||i===`auto`||r||~(i+``).indexOf(`calc(`))&&(i=Bl[t]&&Bl[t](e,t,n)||Sl(e,t)||io(e,t)||+(t===`opacity`))),n&&!~(i+``).trim().indexOf(` `)?Pl(e,t,i,n)+n:i},Il=function(e,t,n,r){if(!n||n===`none`){var i=wl(t,e,1),a=i&&Sl(e,i,1);a&&a!==n?(t=i,n=a):t===`borderColor`&&(n=Sl(e,`borderTopColor`))}var o=new Cc(this._pt,e.style,t,0,1,_c),s=0,c=0,l,u,d,f,p,m,h,g,_,v,y,b;if(o.b=n,o.e=r,n+=``,r+=``,r.substring(0,6)===`var(--`&&(r=Sl(e,r.substring(4,r.indexOf(`)`)))),r===`auto`&&(m=e.style[t],e.style[t]=r,r=Sl(e,t)||r,m?e.style[t]=m:Al(e,t)),l=[n,r],js(l),n=l[0],r=l[1],d=n.match(Da)||[],b=r.match(Da)||[],b.length){for(;u=Da.exec(r);)h=u[0],_=r.substring(s,u.index),p?p=(p+1)%5:(_.substr(-5)===`rgba(`||_.substr(-5)===`hsla(`)&&(p=1),h!==(m=d[c++]||``)&&(f=parseFloat(m)||0,y=m.substr((f+``).length),h.charAt(1)===`=`&&(h=co(f,h)+y),g=parseFloat(h),v=h.substr((g+``).length),s=Da.lastIndex-v.length,v||(v=v||ea.units[t]||y,s===r.length&&(r+=v,o.e+=v)),y!==v&&(f=Pl(e,t,m,v)||0),o._pt={_next:o._pt,p:_||c===1?_:`,`,s:f,c:g-f,m:p&&p<4||t===`zIndex`?Math.round:0});o.c=s-1;)o=i[c],Kc[o]&&(s=1,o=o===`transformOrigin`?hl:ml),Al(n,o);s&&(Al(n,ml),a&&(a.svg&&n.removeAttribute(`transform`),r.scale=r.rotate=r.translate=`none`,ql(n,1),a.uncache=1,_l(r)))}},Bl={clearProps:function(e,t,n,r,i){if(i.data!==`isFromStart`){var a=e._pt=new Cc(e._pt,t,n,0,0,zl);return a.u=r,a.pr=-10,a.tween=i,e._props.push(n),1}}},Vl=[1,0,0,1,0,0],Hl={},Ul=function(e){return e===`matrix(1, 0, 0, 1, 0, 0)`||e===`none`||!e},Wl=function(e){var t=Sl(e,ml);return Ul(t)?Vl:t.substr(7).match(Ea).map(oo)},Gl=function(e,t){var n=e._gsap||ro(e),r=e.style,i=Wl(e),a,o,s,c;return n.svg&&e.getAttribute(`transform`)?(s=e.transform.baseVal.consolidate().matrix,i=[s.a,s.b,s.c,s.d,s.e,s.f],i.join(`,`)===`1,0,0,1,0,0`?Vl:i):(i===Vl&&!e.offsetParent&&e!==Bc&&!n.svg&&(s=r.display,r.display=`block`,a=e.parentNode,(!a||!e.offsetParent&&!e.getBoundingClientRect().width)&&(c=1,o=e.nextElementSibling,Bc.appendChild(e)),i=Wl(e),s?r.display=s:Al(e,`display`),c&&(o?a.insertBefore(e,o):a?a.appendChild(e):Bc.removeChild(e))),t&&i.length>6?[i[0],i[1],i[4],i[5],i[12],i[13]]:i)},Kl=function(e,t,n,r,i,a){var o=e._gsap,s=i||Gl(e,!0),c=o.xOrigin||0,l=o.yOrigin||0,u=o.xOffset||0,d=o.yOffset||0,f=s[0],p=s[1],m=s[2],h=s[3],g=s[4],_=s[5],v=t.split(` `),y=parseFloat(v[0])||0,b=parseFloat(v[1])||0,x,S,C,w;n?s!==Vl&&(S=f*h-p*m)&&(C=h/S*y+b*(-m/S)+(m*_-h*g)/S,w=y*(-p/S)+f/S*b-(f*_-p*g)/S,y=C,b=w):(x=Ol(e),y=x.x+(~v[0].indexOf(`%`)?y/100*x.width:y),b=x.y+(~(v[1]||v[0]).indexOf(`%`)?b/100*x.height:b)),r||r!==!1&&o.smooth?(g=y-c,_=b-l,o.xOffset=u+(g*f+_*m)-g,o.yOffset=d+(g*p+_*h)-_):o.xOffset=o.yOffset=0,o.xOrigin=y,o.yOrigin=b,o.smooth=!!r,o.origin=t,o.originIsAbsolute=!!n,e.style[hl]=`0px 0px`,a&&(jl(a,o,`xOrigin`,c,y),jl(a,o,`yOrigin`,l,b),jl(a,o,`xOffset`,u,o.xOffset),jl(a,o,`yOffset`,d,o.yOffset)),e.setAttribute(`data-svg-origin`,y+` `+b)},ql=function(e,t){var n=e._gsap||new qs(e);if(`x`in n&&!t&&!n.uncache)return n;var r=e.style,i=n.scaleX<0,a=`px`,o=`deg`,s=getComputedStyle(e),c=Sl(e,hl)||`0`,l=u=d=m=h=g=_=v=y=0,u,d,f=p=1,p,m,h,g,_,v,y,b,x,S,C,w,T,E,D,O,ee,k,te,A,j,M,N,P,F,ne,I,re;return n.svg=!!(e.getCTM&&kl(e)),s.translate&&((s.translate!==`none`||s.scale!==`none`||s.rotate!==`none`)&&(r[ml]=(s.translate===`none`?``:`translate3d(`+(s.translate+` 0 0`).split(` `).slice(0,3).join(`, `)+`) `)+(s.rotate===`none`?``:`rotate(`+s.rotate+`) `)+(s.scale===`none`?``:`scale(`+s.scale.split(` `).join(`,`)+`) `)+(s[ml]===`none`?``:s[ml])),r.scale=r.rotate=r.translate=`none`),S=Gl(e,n.svg),n.svg&&(n.uncache?(j=e.getBBox(),c=n.xOrigin-j.x+`px `+(n.yOrigin-j.y)+`px`,A=``):A=!t&&e.getAttribute(`data-svg-origin`),Kl(e,A||c,!!A||n.originIsAbsolute,n.smooth!==!1,S)),b=n.xOrigin||0,x=n.yOrigin||0,S!==Vl&&(E=S[0],D=S[1],O=S[2],ee=S[3],l=k=S[4],u=te=S[5],S.length===6?(f=Math.sqrt(E*E+D*D),p=Math.sqrt(ee*ee+O*O),m=E||D?Yc(D,E)*qc:0,_=O||ee?Yc(O,ee)*qc+m:0,_&&(p*=Math.abs(Math.cos(_*Jc))),n.svg&&(l-=b-(b*E+x*O),u-=x-(b*D+x*ee))):(re=S[6],ne=S[7],N=S[8],P=S[9],F=S[10],I=S[11],l=S[12],u=S[13],d=S[14],C=Yc(re,F),h=C*qc,C&&(w=Math.cos(-C),T=Math.sin(-C),A=k*w+N*T,j=te*w+P*T,M=re*w+F*T,N=k*-T+N*w,P=te*-T+P*w,F=re*-T+F*w,I=ne*-T+I*w,k=A,te=j,re=M),C=Yc(-O,F),g=C*qc,C&&(w=Math.cos(-C),T=Math.sin(-C),A=E*w-N*T,j=D*w-P*T,M=O*w-F*T,I=ee*T+I*w,E=A,D=j,O=M),C=Yc(D,E),m=C*qc,C&&(w=Math.cos(C),T=Math.sin(C),A=E*w+D*T,j=k*w+te*T,D=D*w-E*T,te=te*w-k*T,E=A,k=j),h&&Math.abs(h)+Math.abs(m)>359.9&&(h=m=0,g=180-g),f=oo(Math.sqrt(E*E+D*D+O*O)),p=oo(Math.sqrt(te*te+re*re)),C=Yc(k,te),_=Math.abs(C)>2e-4?C*qc:0,y=I?1/(I<0?-I:I):0),n.svg&&(A=e.getAttribute(`transform`),n.forceCSS=e.setAttribute(`transform`,``)||!Ul(Sl(e,ml)),A&&e.setAttribute(`transform`,A))),Math.abs(_)>90&&Math.abs(_)<270&&(i?(f*=-1,_+=m<=0?180:-180,m+=m<=0?180:-180):(p*=-1,_+=_<=0?180:-180)),t||=n.uncache,n.x=l-((n.xPercent=l&&(!t&&n.xPercent||(Math.round(e.offsetWidth/2)===Math.round(-l)?-50:0)))?e.offsetWidth*n.xPercent/100:0)+a,n.y=u-((n.yPercent=u&&(!t&&n.yPercent||(Math.round(e.offsetHeight/2)===Math.round(-u)?-50:0)))?e.offsetHeight*n.yPercent/100:0)+a,n.z=d+a,n.scaleX=oo(f),n.scaleY=oo(p),n.rotation=oo(m)+o,n.rotationX=oo(h)+o,n.rotationY=oo(g)+o,n.skewX=_+o,n.skewY=v+o,n.transformPerspective=y+a,(n.zOrigin=parseFloat(c.split(` `)[2])||!t&&n.zOrigin||0)&&(r[hl]=Jl(c)),n.xOffset=n.yOffset=0,n.force3D=ea.force3D,n.renderTransform=n.svg?tu:bl?eu:Xl,n.uncache=0,n},Jl=function(e){return(e=e.split(` `))[0]+` `+e[1]},Yl=function(e,t,n){var r=Xo(t);return oo(parseFloat(t)+parseFloat(Pl(e,`x`,n+`px`,r)))+r},Xl=function(e,t){t.z=`0px`,t.rotationY=t.rotationX=`0deg`,t.force3D=0,eu(e,t)},Zl=`0deg`,Ql=`0px`,$l=`) `,eu=function(e,t){var n=t||this,r=n.xPercent,i=n.yPercent,a=n.x,o=n.y,s=n.z,c=n.rotation,l=n.rotationY,u=n.rotationX,d=n.skewX,f=n.skewY,p=n.scaleX,m=n.scaleY,h=n.transformPerspective,g=n.force3D,_=n.target,v=n.zOrigin,y=``,b=g===`auto`&&e&&e!==1||g===!0;if(v&&(u!==Zl||l!==Zl)){var x=parseFloat(l)*Jc,S=Math.sin(x),C=Math.cos(x),w;x=parseFloat(u)*Jc,w=Math.cos(x),a=Yl(_,a,S*w*-v),o=Yl(_,o,-Math.sin(x)*-v),s=Yl(_,s,C*w*-v+v)}h!==Ql&&(y+=`perspective(`+h+$l),(r||i)&&(y+=`translate(`+r+`%, `+i+`%) `),(b||a!==Ql||o!==Ql||s!==Ql)&&(y+=s!==Ql||b?`translate3d(`+a+`, `+o+`, `+s+`) `:`translate(`+a+`, `+o+$l),c!==Zl&&(y+=`rotate(`+c+$l),l!==Zl&&(y+=`rotateY(`+l+$l),u!==Zl&&(y+=`rotateX(`+u+$l),(d!==Zl||f!==Zl)&&(y+=`skew(`+d+`, `+f+$l),(p!==1||m!==1)&&(y+=`scale(`+p+`, `+m+$l),_.style[ml]=y||`translate(0, 0)`},tu=function(e,t){var n=t||this,r=n.xPercent,i=n.yPercent,a=n.x,o=n.y,s=n.rotation,c=n.skewX,l=n.skewY,u=n.scaleX,d=n.scaleY,f=n.target,p=n.xOrigin,m=n.yOrigin,h=n.xOffset,g=n.yOffset,_=n.forceCSS,v=parseFloat(a),y=parseFloat(o),b,x,S,C,w;s=parseFloat(s),c=parseFloat(c),l=parseFloat(l),l&&(l=parseFloat(l),c+=l,s+=l),s||c?(s*=Jc,c*=Jc,b=Math.cos(s)*u,x=Math.sin(s)*u,S=Math.sin(s-c)*-d,C=Math.cos(s-c)*d,c&&(l*=Jc,w=Math.tan(c-l),w=Math.sqrt(1+w*w),S*=w,C*=w,l&&(w=Math.tan(l),w=Math.sqrt(1+w*w),b*=w,x*=w)),b=oo(b),x=oo(x),S=oo(S),C=oo(C)):(b=u,C=d,x=S=0),(v&&!~(a+``).indexOf(`px`)||y&&!~(o+``).indexOf(`px`))&&(v=Pl(f,`x`,a,`px`),y=Pl(f,`y`,o,`px`)),(p||m||h||g)&&(v=oo(v+p-(p*b+m*S)+h),y=oo(y+m-(p*x+m*C)+g)),(r||i)&&(w=f.getBBox(),v=oo(v+r/100*w.width),y=oo(y+i/100*w.height)),w=`matrix(`+b+`,`+x+`,`+S+`,`+C+`,`+v+`,`+y+`)`,f.setAttribute(`transform`,w),_&&(f.style[ml]=w)},nu=function(e,t,n,r,i){var a=360,o=pa(i),s=parseFloat(i)*(o&&~i.indexOf(`rad`)?qc:1)-r,c=r+s+`deg`,l,u;return o&&(l=i.split(`_`)[1],l===`short`&&(s%=a,s!==s%(a/2)&&(s+=s<0?a:-a)),l===`cw`&&s<0?s=(s+a*Xc)%a-~~(s/a)*a:l===`ccw`&&s>0&&(s=(s-a*Xc)%a-~~(s/a)*a)),e._pt=u=new Cc(e._pt,t,n,r,s,nl),u.e=c,u.u=`deg`,e._props.push(n),u},ru=function(e,t){for(var n in t)e[n]=t[n];return e},iu=function(e,t,n){var r=ru({},n._gsap),i=`perspective,force3D,transformOrigin,svgOrigin`,a=n.style,o,s,c,l,u,d,f,p;for(s in r.svg?(c=n.getAttribute(`transform`),n.setAttribute(`transform`,``),a[ml]=t,o=ql(n,1),Al(n,ml),n.setAttribute(`transform`,c)):(c=getComputedStyle(n)[ml],a[ml]=t,o=ql(n,1),a[ml]=c),Kc)c=r[s],l=o[s],c!==l&&i.indexOf(s)<0&&(f=Xo(c),p=Xo(l),u=f===p?parseFloat(c):Pl(n,s,c,p),d=parseFloat(l),e._pt=new Cc(e._pt,o,s,u,d-u,tl),e._pt.u=p||0,e._props.push(s));ru(o,r)};ao(`padding,margin,Width,Radius`,function(e,t){var n=`Top`,r=`Right`,i=`Bottom`,a=`Left`,o=(t<3?[n,r,i,a]:[n+a,n+r,i+r,i+a]).map(function(n){return t<2?e+n:`border`+n+e});Bl[t>1?`border`+e:e]=function(e,t,n,r,i){var a,s;if(arguments.length<4)return a=o.map(function(t){return Fl(e,t,n)}),s=a.join(` `),s.split(a[0]).length===5?a[0]:s;a=(r+``).split(` `),s={},o.forEach(function(e,t){return s[e]=a[t]=a[t]||a[(t-1)/2|0]}),e.init(t,s,i)}});var au={name:`css`,register:Tl,targetTest:function(e){return e.style&&e.nodeType},init:function(e,t,n,r,i){var a=this._props,o=e.style,s=n.vars.startAt,c,l,u,d,f,p,m,h,g,_,v,y,b,x,S,C,w;for(m in Vc||Tl(),this.styles=this.styles||yl(e),C=this.styles.props,this.tween=n,t)if(m!==`autoRound`&&(l=t[m],!(Za[m]&&$s(m,t,n,r,e,i)))){if(f=typeof l,p=Bl[m],f===`function`&&(l=l.call(n,r,e,i),f=typeof l),f===`string`&&~l.indexOf(`random(`)&&(l=ms(l)),p)p(this,e,m,l,n)&&(S=1);else if(m.substr(0,2)===`--`)c=(getComputedStyle(e).getPropertyValue(m)+``).trim(),l+=``,ks.lastIndex=0,ks.test(c)||(h=Xo(c),g=Xo(l),g?h!==g&&(c=Pl(e,m,c,g)+g):h&&(l+=h)),this.add(o,`setProperty`,c,l,r,i,0,0,m),a.push(m),C.push(m,0,o[m]);else if(f!==`undefined`){if(s&&m in s?(c=typeof s[m]==`function`?s[m].call(n,r,e,i):s[m],pa(c)&&~c.indexOf(`random(`)&&(c=ms(c)),Xo(c+``)||c===`auto`||(c+=ea.units[m]||Xo(Fl(e,m))||``),(c+``).charAt(1)===`=`&&(c=Fl(e,m))):c=Fl(e,m),d=parseFloat(c),_=f===`string`&&l.charAt(1)===`=`&&l.substr(0,2),_&&(l=l.substr(2)),u=parseFloat(l),m in el&&(m===`autoAlpha`&&(d===1&&Fl(e,`visibility`)===`hidden`&&u&&(d=0),C.push(`visibility`,0,o.visibility),jl(this,o,`visibility`,d?`inherit`:`hidden`,u?`inherit`:`hidden`,!u)),m!==`scale`&&m!==`transform`&&(m=el[m],~m.indexOf(`,`)&&(m=m.split(`,`)[0]))),v=m in Kc,v){if(this.styles.save(m),w=l,f===`string`&&l.substring(0,6)===`var(--`){if(l=Sl(e,l.substring(4,l.indexOf(`)`))),l.substring(0,5)===`calc(`){var T=e.style.perspective;e.style.perspective=l,l=Sl(e,`perspective`),T?e.style.perspective=T:Al(e,`perspective`)}u=parseFloat(l)}if(y||(b=e._gsap,b.renderTransform&&!t.parseTransform||ql(e,t.parseTransform),x=t.smoothOrigin!==!1&&b.smooth,y=this._pt=new Cc(this._pt,o,ml,0,1,b.renderTransform,b,0,-1),y.dep=1),m===`scale`)this._pt=new Cc(this._pt,b,`scaleY`,b.scaleY,(_?co(b.scaleY,_+u):u)-b.scaleY||0,tl),this._pt.u=0,a.push(`scaleY`,m),m+=`X`;else if(m===`transformOrigin`){C.push(hl,0,o[hl]),l=Rl(l),b.svg?Kl(e,l,0,x,0,this):(g=parseFloat(l.split(` `)[2])||0,g!==b.zOrigin&&jl(this,b,`zOrigin`,b.zOrigin,g),jl(this,o,m,Jl(c),Jl(l)));continue}else if(m===`svgOrigin`){Kl(e,l,1,x,0,this);continue}else if(m in Hl){nu(this,b,m,d,_?co(d,_+l):l);continue}else if(m===`smoothOrigin`){jl(this,b,`smooth`,b.smooth,l);continue}else if(m===`force3D`){b[m]=l;continue}else if(m===`transform`){iu(this,l,e);continue}}else m in o||(m=wl(m)||m);if(v||(u||u===0)&&(d||d===0)&&!$c.test(l)&&m in o)h=(c+``).substr((d+``).length),u||=0,g=Xo(l)||(m in ea.units?ea.units[m]:h),h!==g&&(d=Pl(e,m,c,g)),this._pt=new Cc(this._pt,v?b:o,m,d,(_?co(d,_+u):u)-d,!v&&(g===`px`||m===`zIndex`)&&t.autoRound!==!1?al:tl),this._pt.u=g||0,v&&w!==l?(this._pt.b=c,this._pt.e=w,this._pt.r=il):h!==g&&g!==`%`&&(this._pt.b=c,this._pt.r=rl);else if(m in o)Il.call(this,e,m,c,_?_+l:l);else if(m in e)this.add(e,m,c||e[m],_?_+l:l,r,i);else if(m!==`parseTransform`){Ba(m,l);continue}v||(m in o?C.push(m,0,o[m]):typeof e[m]==`function`?C.push(m,2,e[m]()):C.push(m,1,c||e[m])),a.push(m)}}S&&Sc(this)},render:function(e,t){if(t.tween._time||!Wc())for(var n=t._pt;n;)n.r(e,n.d),n=n._next;else t.styles.revert()},get:Fl,aliases:el,getSetter:function(e,t,n){var r=el[t];return r&&r.indexOf(`,`)<0&&(t=r),t in Kc&&t!==hl&&(e._gsap.x||Fl(e,`x`))?n&&Uc===n?t===`scale`?dl:ul:(Uc=n||{})&&(t===`scale`?fl:pl):e.style&&!ga(e.style[t])?cl:~t.indexOf(`-`)?ll:mc(e,t)},core:{_removeProperty:Al,_getMatrix:Gl}};Lc.utils.checkPrefix=wl,Lc.core.getStyleSaver=yl,(function(e,t,n,r){var i=ao(e+`,`+t+`,`+n,function(e){Kc[e]=1});ao(t,function(e){ea.units[e]=`deg`,Hl[e]=1}),el[i[13]]=e+`,`+t,ao(r,function(e){var t=e.split(`:`);el[t[1]]=i[t[0]]})})(`x,y,z,scale,scaleX,scaleY,xPercent,yPercent`,`rotation,rotationX,rotationY,skewX,skewY`,`transform,transformOrigin,svgOrigin,force3D,smoothOrigin,transformPerspective`,`0:translateX,1:translateY,2:translateZ,8:rotate,8:rotationZ,8:rotateZ,9:rotateX,10:rotateY`),ao(`x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective`,function(e){ea.units[e]=`px`}),Lc.registerPlugin(au);var $=Lc.registerPlugin(au)||Lc;$.core.Tween;var ou=Y(``);function su(e,t){Ge(t,!1);let n=B();Di(()=>{let e=Q.default.TAU,t={beeYellow:`#FCD116`,beeBlack:`#3D2620`,beeWhite:`#FFFDF0`,beeCheek:`#F26B50`,leafGreen:`#5DA020`,darkGreen:`#3A5C18`,land:`#7ab535`,landLight:`#9fd95c`,trunkBrown:`#8B6340`,cloudPink:`#FFE4F0`,cloudWhite:`#FFF7FB`,daisyWhite:`#FFFFFF`,daisyYellow:`#F9D342`,roseRed:`#F04A6F`,rosePink:`#FF8FAE`,lavPurple:`#C07EE0`,lavLight:`#E2B8F5`,sunflowerY:`#FFB800`,sunflowerC:`#7A3B10`,tulipPink:`#FF85A2`,tulipOrange:`#FF6B35`,honeyGold:`#F2C94C`,honeyDark:`#D4A017`},r=new Q.default.Illustration({element:K(n),dragRotate:!1,resize:`window`,rotate:{x:-.28,y:-.12,z:0}}),i=new Q.default.Anchor({addTo:r});new Q.default.Shape({addTo:i,path:[{x:-2e3,y:-1e3},{x:2e3,y:-1e3},{x:2e3,y:0},{x:-2e3,y:0}],stroke:0,fill:!0,color:`#FFB7D5`,translate:{z:-800}}),new Q.default.Shape({addTo:i,path:[{x:-2e3,y:0},{x:2e3,y:0},{x:2e3,y:600},{x:-2e3,y:600}],stroke:0,fill:!0,color:`#FFE1F0`,translate:{z:-800}});function a(e,t,n,r,a=160){let o=[{x:e-t/2,y:300}];for(let n=0;n<=24;n++){let r=n/24;o.push({x:e-t/2+r*t,y:300-Math.sin(r*Math.PI)*a})}o.push({x:e+t/2,y:300}),new Q.default.Shape({addTo:i,path:o,stroke:0,fill:!0,color:n,translate:{z:r}})}a(-600,900,t.darkGreen,-700,160),a(500,800,`#4a7020`,-700,160),a(-200,700,`#5a8a28`,-680,150),a(900,700,`#3d6a18`,-720,170),new Q.default.Shape({addTo:i,path:[{x:-2e3,y:220},{x:2e3,y:220},{x:2e3,y:800},{x:-2e3,y:800}],stroke:0,fill:!0,color:t.land,translate:{z:-500}}),new Q.default.Shape({addTo:i,path:[{x:-2e3,y:220},{x:2e3,y:220},{x:2e3,y:260},{x:-2e3,y:260}],stroke:0,fill:!0,color:t.landLight,translate:{z:-490}}),[{x:-420,y:-280,z:-420,s:1.2},{x:-160,y:-310,z:-510,s:.9},{x:360,y:-220,z:-380,s:1.4},{x:80,y:-290,z:-460,s:1},{x:700,y:-260,z:-500,s:1.1}].forEach(e=>{let n=new Q.default.Anchor({addTo:i,translate:{x:e.x,y:e.y,z:e.z},scale:e.s});new Q.default.Shape({addTo:n,stroke:95,color:t.cloudPink}),new Q.default.Shape({addTo:n,stroke:72,color:t.cloudWhite,translate:{x:-55,y:10}}),new Q.default.Shape({addTo:n,stroke:78,color:t.cloudPink,translate:{x:55,y:5}}),new Q.default.Shape({addTo:n,stroke:62,color:t.cloudWhite,translate:{x:-95,y:15}}),new Q.default.Shape({addTo:n,stroke:58,color:t.cloudPink,translate:{x:100,y:12}})}),[{x:-560,y:140,z:-320,s:1},{x:-380,y:160,z:-260,s:.8},{x:460,y:150,z:-370,s:1.2},{x:580,y:170,z:-220,s:.85},{x:740,y:145,z:-300,s:.9},{x:-680,y:155,z:-340,s:1}].forEach(e=>{let n=new Q.default.Anchor({addTo:i,translate:{x:e.x,y:e.y,z:e.z},scale:e.s});new Q.default.Shape({addTo:n,path:[{y:0},{y:-90}],stroke:18,color:t.trunkBrown}),new Q.default.Shape({addTo:n,stroke:130,color:t.darkGreen,translate:{y:-130}}),new Q.default.Shape({addTo:n,stroke:100,color:t.leafGreen,translate:{y:-175,x:-20}}),new Q.default.Shape({addTo:n,stroke:90,color:`#7fcf38`,translate:{y:-185,x:20}})});let o=new Q.default.Anchor({addTo:r,translate:{x:0,y:50,z:120}});function s(n,r,i,a,o,s,c,l,u){u||=t.daisyWhite;let d=new Q.default.Anchor({addTo:n,translate:{x:r,y:i+(120-s),z:a},scale:o});new Q.default.Shape({addTo:d,path:[{x:0,y:s,z:0},{x:0,y:0,z:0}],stroke:7,color:t.leafGreen});let f=new Q.default.Anchor({addTo:d,rotate:{x:c,y:l}});for(let t=0;t<13;t++){let n=new Q.default.Anchor({addTo:f,rotate:{z:e/13*t}});new Q.default.Ellipse({addTo:n,width:11,height:30,fill:!0,color:u,stroke:0,translate:{y:-18}})}new Q.default.Ellipse({addTo:f,diameter:15,fill:!0,stroke:4,color:t.daisyYellow,translate:{z:1.5}})}function c(n,r,i,a,o,s,c,l){let u=new Q.default.Anchor({addTo:n,translate:{x:r,y:i+(140-s),z:a},scale:o});new Q.default.Shape({addTo:u,path:[{x:0,y:s},{x:0,y:0}],stroke:7,color:t.leafGreen});let d=new Q.default.Anchor({addTo:u,rotate:{x:c,y:l}});for(let n=0;n<3;n++){let r=6+n*2,i=10+n*9;for(let a=0;a{new Q.default.Polygon({addTo:f,sides:6,radius:17,fill:!0,stroke:9,color:r%2==0?t.honeyGold:`#EDAB20`,translate:{x:n.x,y:n.y,z:r%2==0?5:0},rotate:{z:e/12}}),new Q.default.Polygon({addTo:f,sides:6,radius:10,fill:!0,stroke:0,color:`#D4920A`,translate:{x:n.x,y:n.y,z:r%2==0?8:3},rotate:{z:e/12}})}),[{f:`d`,x:-750,y:140,z:20,s:4.8,len:120,rx:-e/4,ry:.3,c:t.daisyWhite},{f:`t`,x:-680,y:155,z:60,s:5,len:115,rx:-e/4.2,ry:-.2,c:t.tulipPink},{f:`r`,x:-620,y:130,z:-40,s:4.6,len:110,rx:-e/3.8,ry:.1},{f:`s`,x:-580,y:165,z:80,s:4.5,len:105,rx:-e/3.6,ry:-.3},{f:`l`,x:-530,y:145,z:100,s:5.2,len:170,rx:-e/5,ry:-.5},{f:`d`,x:-480,y:150,z:30,s:4.7,len:125,rx:-e/4,ry:.2,c:`#FFE4F0`},{f:`t`,x:-420,y:135,z:-80,s:5.3,len:120,rx:-e/4.3,ry:.4,c:t.tulipOrange},{f:`r`,x:-360,y:140,z:50,s:4.8,len:115,rx:-e/4.4,ry:-.2},{f:`d`,x:-310,y:125,z:-100,s:4.9,len:130,rx:-e/3.8,ry:.15,c:`#fff0fb`},{f:`s`,x:-260,y:155,z:70,s:4.4,len:110,rx:-e/3.5,ry:.25},{f:`l`,x:-200,y:140,z:45,s:5.1,len:165,rx:-e/4.8,ry:-.35},{f:`t`,x:-140,y:160,z:120,s:5,len:100,rx:-e/4.5,ry:.3,c:`#ff85a2`},{f:`d`,x:-80,y:145,z:80,s:4.6,len:115,rx:-e/4,ry:.1,c:t.daisyWhite},{f:`r`,x:-20,y:130,z:-50,s:4.7,len:120,rx:-e/3.9,ry:-.1},{f:`s`,x:60,y:155,z:90,s:4.5,len:105,rx:-e/3.7,ry:.2},{f:`d`,x:140,y:140,z:40,s:5,len:125,rx:-e/4,ry:-.25,c:`#FFE4F0`},{f:`t`,x:210,y:150,z:110,s:5.2,len:115,rx:-e/4.2,ry:.35,c:t.tulipPink},{f:`l`,x:280,y:135,z:60,s:4.8,len:160,rx:-e/5,ry:-.4},{f:`d`,x:350,y:160,z:75,s:4.9,len:120,rx:-e/4,ry:.2,c:`#fff0fb`},{f:`r`,x:410,y:140,z:-70,s:4.6,len:125,rx:-e/3.8,ry:.15},{f:`s`,x:470,y:155,z:85,s:4.7,len:110,rx:-e/3.5,ry:-.2},{f:`t`,x:540,y:130,z:30,s:5.1,len:100,rx:-e/4.5,ry:.4,c:t.tulipOrange},{f:`l`,x:600,y:145,z:120,s:5,len:175,rx:-e/4.8,ry:-.3},{f:`d`,x:660,y:150,z:50,s:4.8,len:130,rx:-e/4,ry:.25,c:`#FFE4F0`},{f:`r`,x:720,y:140,z:-90,s:4.9,len:115,rx:-e/3.9,ry:-.15},{f:`s`,x:780,y:165,z:95,s:4.5,len:105,rx:-e/3.6,ry:.1},{f:`t`,x:840,y:135,z:40,s:5.3,len:120,rx:-e/4.3,ry:.3,c:t.tulipPink},{f:`d`,x:900,y:155,z:110,s:4.7,len:125,rx:-e/4.1,ry:-.2,c:`#fff0fb`},{f:`l`,x:950,y:140,z:60,s:5.2,len:170,rx:-e/5,ry:-.4}].forEach(e=>{e.f===`d`?s(o,e.x,e.y,e.z,e.s,e.len,e.rx,e.ry,e.c):e.f===`r`?c(o,e.x,e.y,e.z,e.s,e.len,e.rx,e.ry):e.f===`l`?l(o,e.x,e.y,e.z,e.s,e.len,e.rx,e.ry):e.f===`s`?u(o,e.x,e.y,e.z,e.s,e.len,e.rx,e.ry):e.f===`t`&&d(o,e.x,e.y,e.z,e.s,e.len,e.rx,e.ry,e.c)}),r.updateRenderGraph()}),Ci();var r=ou();bi(r,e=>V(n,e),()=>K(n)),X(e,r),Ke()}var cu=Y(`

`),lu=Y(`

Session chat

`),uu=Y(``),du=Y(`
`),fu=Y(`

`),pu=Y(`

`),mu=Y(`

Tap the bee to open interactions ✿

`),hu=Y(`
`,1);function gu(e,t){Ge(t,!1);let n=Ei(t,`embedded`,8,!1),r=B(),i=B(!1),a=B(null),o=B(!1),s=B(!1),c=B(``),l=B(``),u=null,d=null,f=B(!1),p=[{id:`annoy`,icon:`😤`,label:`Annoy`,title:`Pull the bee's tail`,description:`Grab and drag the bee hard to make it flash red with anger.`,hint:`Drag the bee quickly to trigger annoyance.`,angle:-90},{id:`fly`,icon:`🦋`,label:`Fly`,title:`Make it fly around`,description:`Double-tap the bee's wings to send it looping through the garden.`,hint:`Click the wing area twice quickly.`,angle:-30},{id:`anger`,icon:`🍯`,label:`Honeycomb`,title:`Touch the honeycomb`,description:`Click the golden honeycomb hanging in the scene to trigger a buzzing rage.`,hint:`The honeycomb is visible in the upper right of the scene.`,angle:30},{id:`pollen`,icon:`🌸`,label:`Pollen`,title:`Gather pollen`,description:`Click any of the flowers scattered around the garden to send the bee collecting.`,hint:`Tap the flowers in the foreground.`,angle:90},{id:`chat`,icon:`💬`,label:`Chat`,title:`Speak to the bee`,description:`The bee has thoughts and wisdom about effort, rest, and how others see you.`,hint:`Reply to the bee's thought bubbles below.`,angle:150}],m=B([{role:`assistant`,content:`Buzz! 🌸 Ask me about effort, rest, or what others think of you!`}]),h=[`The garden is asking a lot today. What do you think?`,`I am thinking about hard work and sweet rest.`,`If I fly too much, I wonder if the flowers miss me.`,`Does being busy make us feel better or more tired?`,`Every drop of nectar matters — even the ones you can't see yet.`,`What do you think the other bees say about me?`],g,_,v,y,b,x=0,S=null;function C(){dispatch(`back`)}function w(e){V(a,p.find(t=>t.id===e)),V(i,!1)}function T(){V(a,null)}function E(){if(K(a)){if(K(a).id===`annoy`&&g?.(),K(a).id===`fly`&&_?.(),K(a).id===`anger`&&v?.(),K(a).id===`pollen`&&y?.(),K(a).id===`chat`){V(a,null);return}V(a,null)}}function D(){V(o,!K(o)),K(o)&&(V(i,!1),V(a,null))}function O(e,t=!1){d&&clearTimeout(d),V(c,e),V(s,!0),t||(d=setTimeout(()=>{V(s,!1)},12e3))}function ee(){u&&clearTimeout(u),u=setTimeout(()=>{let e=h[Math.floor(Math.random()*h.length)];O(e),ee()},16e3+Math.random()*12e3)}async function k(){let e=K(l).trim();!e||K(f)||(V(l,``),V(s,!1),await A(e))}function te(e){e.key===`Enter`&&!e.shiftKey&&(e.preventDefault(),k())}async function A(e){if(!K(f)){V(f,!0),O(`…`,!0),b?.(),V(m,[...K(m),{role:`user`,content:e}]);try{let e={model:`gpt-4o-mini`,messages:[{role:`system`,content:`You are Buzz, an adorable wise bee who lives in a flower garden. You speak in short, warm, whimsical messages (2-4 sentences max). You use flower and bee metaphors naturally. +Your specialty is helping people think about: +- How others perceive them (social perception, first impressions, reputation) +- Diligence and hard work (like a bee — constant, purposeful effort) +- Laziness and rest (the importance of pause vs. the trap of avoidance) +You give gentle, insightful, slightly playful advice. You don't lecture. Keep it warm, short, and wise.`},...K(m)],max_tokens:256,temperature:.9},t=await fetch(`https://api.openai.com/v1/chat/completions`,{method:`POST`,headers:{"Content-Type":`application/json`,Authorization:`Bearer undefined`},body:JSON.stringify(e)});if(!t.ok){let e=await t.json();throw console.error(`OpenAI Internal Error JSON:`,e),Error(`API returned status ${t.status}`)}let n=(await t.json())?.choices?.[0]?.message?.content;if(n){let e=n.trim();V(m,[...K(m),{role:`assistant`,content:e}]),O(e,!0)}else O(`Sorry, I can't think of anything to answer. Try again?`,!0)}catch(e){console.error(`OpenAI Catch block triggered:`,e),V(m,K(m).slice(0,-1)),O(`Sorry, I can't think of anything to answer. Try again?`,!0)}finally{V(f,!1)}}}Di(()=>{if(n()||document.body.classList.add(`bee-page`),!K(r))return;let e=Q.default.TAU,t={beeYellow:`#FCD116`,beeBlack:`#3D2620`,beeWhite:`#FFFDF0`,beeCheek:`#F26B50`,leafGreen:`#5DA020`,darkGreen:`#3A5C18`,land:`#7ab535`,landLight:`#9fd95c`,trunkBrown:`#8B6340`,cloudPink:`#FFE4F0`,cloudWhite:`#FFF7FB`,daisyWhite:`#FFFFFF`,daisyYellow:`#F9D342`,roseRed:`#F04A6F`,rosePink:`#FF8FAE`,lavPurple:`#C07EE0`,lavLight:`#E2B8F5`,sunflowerY:`#FFB800`,sunflowerC:`#7A3B10`,tulipPink:`#FF85A2`,tulipOrange:`#FF6B35`,honeyGold:`#F2C94C`,honeyDark:`#D4A017`,beeAngryRed:`#FF3B30`},o=new Q.default.Illustration({element:K(r),dragRotate:!1,resize:`window`,rotate:{x:-.28,y:-.12,z:0}}),s=new Q.default.Anchor({addTo:o,translate:{x:0,y:50,z:120}}),c=new Q.default.Anchor({addTo:s,translate:{x:0,y:-100,z:0},scale:1.55}),l=new Q.default.Anchor({addTo:c,translate:{x:0,y:32,z:-35},rotate:{y:0}}),f=new Q.default.Anchor({addTo:l,translate:{x:0,y:-32,z:35}}),p=new Q.default.Shape({addTo:f,stroke:130,color:t.beeYellow});new Q.default.Shape({addTo:p,stroke:10,color:t.beeBlack,translate:{x:-22,y:4,z:36}}),new Q.default.Shape({addTo:p,stroke:10,color:t.beeBlack,translate:{x:14,y:4,z:40}});let m=new Q.default.Shape({addTo:p,stroke:3.5,color:t.beeBlack,closed:!1,path:[{x:-4,y:10,z:42},{bezier:[{x:-2,y:13,z:42},{x:2,y:13,z:42},{x:4,y:10,z:42}]}]}),h=new Q.default.Shape({addTo:p,path:[{x:-34,y:-14,z:44},{x:-10,y:-22,z:44}],stroke:8,color:t.beeBlack,translate:{x:-18,y:-8,z:20},rotate:{z:-.18}}),C=new Q.default.Shape({addTo:p,path:[{x:10,y:-22,z:44},{x:34,y:-14,z:44}],stroke:8,color:t.beeBlack,translate:{x:18,y:-8,z:20},rotate:{z:.18}});new Q.default.Shape({addTo:p,stroke:14,color:t.beeCheek,translate:{x:-32,y:14,z:24}}),new Q.default.Shape({addTo:p,stroke:14,color:t.beeCheek,translate:{x:24,y:14,z:30}});let w=new Q.default.Anchor({addTo:p,translate:{y:-44,z:10}});new Q.default.Shape({addTo:w,path:[{y:0,x:-10},{y:-22,x:-24,z:8}],stroke:4.5,color:t.beeBlack}),new Q.default.Shape({addTo:w,path:[{y:0,x:10},{y:-22,x:-4,z:12}],stroke:4.5,color:t.beeBlack});let T=new Q.default.Anchor({addTo:f,translate:{x:-18,y:45,z:32}}),E=new Q.default.Anchor({addTo:f,translate:{x:18,y:45,z:32}});new Q.default.Shape({addTo:T,path:[{y:0},{y:22}],stroke:7,color:t.beeBlack}),new Q.default.Shape({addTo:E,path:[{y:0},{y:22}],stroke:7,color:t.beeBlack});let D=new Q.default.Anchor({addTo:f,translate:{y:32,z:-35}}),k=new Q.default.Shape({addTo:D,stroke:140,color:t.beeYellow});k.copy({addTo:D,stroke:162,color:t.beeBlack,translate:{z:-32}});let te=k.copy({addTo:D,stroke:168,color:t.beeYellow,translate:{z:-64}});k.copy({addTo:D,stroke:156,color:t.beeBlack,translate:{z:-96}}),new Q.default.Shape({addTo:D,stroke:108,color:t.beeBlack,translate:{z:-123}});let j=new Q.default.Anchor({addTo:D,translate:{z:-43,y:-65,x:29}}),M=new Q.default.Anchor({addTo:D,translate:{z:-43,y:-65,x:-29}});new Q.default.Ellipse({addTo:j,width:80,height:160,color:t.beeWhite,fill:!0,rotate:{x:e/5,z:e/5},translate:{x:65},stroke:0}),new Q.default.Ellipse({addTo:M,width:80,height:160,color:t.beeWhite,fill:!0,rotate:{x:e/5,z:-e/5},translate:{x:-65},stroke:0});function N(e){e===`neutral`?(h.rotate.z=-.18,C.rotate.z=.18,m.path=[{x:-4,y:10,z:42},{bezier:[{x:-2,y:13,z:42},{x:2,y:13,z:42},{x:4,y:10,z:42}]}]):e===`annoyed`?(h.rotate.z=-.55,C.rotate.z=.55,m.path=[{x:-4,y:14,z:42},{bezier:[{x:-2,y:10,z:42},{x:2,y:10,z:42},{x:4,y:14,z:42}]}]):e===`angry`?(h.rotate.z=-.8,C.rotate.z=.8,m.path=[{x:-5,y:15,z:42},{bezier:[{x:-2,y:8,z:42},{x:2,y:8,z:42},{x:5,y:15,z:42}]}]):e===`excited`?(h.rotate.z=-.05,C.rotate.z=.05,m.path=[{x:-6,y:7,z:42},{bezier:[{x:-2,y:18,z:42},{x:2,y:18,z:42},{x:6,y:7,z:42}]}]):e===`happy`&&(h.rotate.z=-.1,C.rotate.z=.1,m.path=[{x:-5,y:8,z:42},{bezier:[{x:-2,y:16,z:42},{x:2,y:16,z:42},{x:5,y:8,z:42}]}]),m.updatePath()}N(`neutral`);let P=0,F=!0,ne=!1,I=!1,re=!1;function ie(){if(!F)return;P++;let t=I?2.5:1;j.rotate.z=-e/6+e/10*Math.sin(P/(.9/t)),M.rotate.z=e/6-e/10*Math.sin(P/(.9/t)),w.rotate.x=e/40*Math.sin(P/10),re&&(l.rotate.z=Math.sin(P/3)*.18),ne||(c.translate.y=-100+Math.sin(P/14)*5,c.translate.x=Math.cos(P/28)*4),o.updateRenderGraph(),requestAnimationFrame(ie)}ie();function ae(){if(I)return;I=!0,re=!0,N(`angry`);let e=$.timeline({onComplete:()=>{N(`neutral`),I=!1,re=!1,l.rotate.z=0}});e.to([p,k,te],{duration:.12,color:t.beeAngryRed,ease:`power2.out`}),e.to([p,k,te],{duration:.7,color:t.beeYellow,ease:`power1.inOut`,delay:.9}),A(`Someone just pulled on my tail — I'm cross! Give me short playful bee wisdom about keeping cool.`)}function oe(){if(ne)return;ne=!0,N(`excited`);let t=$.timeline({onComplete:()=>{N(`neutral`),ne=!1}});t.to(c.translate,{duration:.4,x:-200,y:-150,z:80,ease:`power2.inOut`}),t.to(l.rotate,{duration:.4,x:.3,y:-.6,z:.5,ease:`power2.inOut`},0),t.to(c.translate,{duration:.35,x:0,y:-220,z:120,ease:`power2.inOut`}),t.to(l.rotate,{duration:.35,x:.25,y:-e/8,z:.3,ease:`power2.inOut`},`<`),t.to(c.translate,{duration:.35,x:200,y:-150,z:80,ease:`power2.inOut`}),t.to(l.rotate,{duration:.35,x:.3,y:.6,z:-.5,ease:`power2.inOut`},`<`),t.to(c.translate,{duration:.35,x:0,y:-80,z:20,ease:`power2.inOut`}),t.to(l.rotate,{duration:.35,x:.35,y:e/6,z:.8,ease:`power2.inOut`},`<`),t.to(c.translate,{duration:.35,x:0,y:-100,z:0,ease:`power2.inOut`}),t.to(l.rotate,{duration:.5,x:0,y:0,z:0,ease:`power2.inOut`},`<`)}function se(){if(ne)return;ne=!0,N(`happy`);let e=$.timeline({onComplete:()=>{N(`neutral`),ne=!1}});e.to(c.translate,{duration:.5,x:-60,y:70,z:5,ease:`power2.inOut`}),e.to(l.rotate,{duration:.2,x:.5,y:.4,ease:`power2.out`},`-=0.2`),e.to(T.rotate,{duration:.2,z:.2,x:.1,ease:`back.out(1.5)`},`-=0.1`),e.to(E.rotate,{duration:.2,z:-.2,x:.1,ease:`back.out(1.5)`},`<`),e.to(c.translate,{duration:.12,y:80,ease:`power1.inOut`}),e.to(c.translate,{duration:.12,y:65,ease:`power1.inOut`}),e.to(T.rotate,{duration:.2,z:0,x:0,ease:`power2.in`}),e.to(E.rotate,{duration:.2,z:0,x:0,ease:`power2.in`},`<`),e.to(c.translate,{duration:.55,x:0,y:-100,z:0,ease:`power2.inOut`}),e.to(l.rotate,{duration:.4,x:0,y:0,ease:`power2.inOut`},`-=0.4`)}function ce(){if(ne)return;ne=!0,N(`happy`);let e=$.timeline({onComplete:()=>{N(`neutral`),ne=!1}});e.to(T.rotate,{duration:.4,z:.3,x:.15,ease:`sine.inOut`}),e.to(E.rotate,{duration:.4,z:-.3,x:.15,ease:`sine.inOut`},`<`),e.to(T.rotate,{duration:.4,z:0,x:0,ease:`sine.inOut`},`-=0.1`),e.to(E.rotate,{duration:.4,z:0,x:0,ease:`sine.inOut`},`<`),e.to(T.rotate,{duration:.35,z:.25,x:.12,ease:`sine.inOut`}),e.to(E.rotate,{duration:.35,z:-.25,x:.12,ease:`sine.inOut`},`<`),e.to(T.rotate,{duration:.35,z:0,x:0,ease:`sine.inOut`}),e.to(E.rotate,{duration:.35,z:0,x:0,ease:`sine.inOut`},`<`)}g=ae,_=oe,y=se,b=ce,v=()=>{O(`You touched my honeycomb! Bzzzz! 🍯`),ae()};let le={x:-310,y:-130,r:80},L=[{x:-280,y:120,r:70},{x:-140,y:130,r:70},{x:60,y:140,r:70},{x:220,y:125,r:70},{x:-360,y:150,r:70},{x:-220,y:145,r:70}],ue=!1,de=0,fe=0,pe=!1,me=.008;function he(e){ue=!0,pe=!1,de=e.clientX,fe=e.clientY;try{K(r).setPointerCapture(e.pointerId)}catch{}}function ge(t){if(!ue)return;let n=t.clientX-de,r=t.clientY-fe;de=t.clientX,fe=t.clientY;let i=Math.sqrt(n*n+r*r);i>10&&(pe=!0),i>28&&ae(),l.rotate.y+=n*me,l.rotate.x+=r*me,l.rotate.x=Math.max(-e/8,Math.min(e/8,l.rotate.x)),o.updateRenderGraph()}function _e(){ue=!1}function ve(e){if(pe)return;let t=K(r).getBoundingClientRect(),n=e.clientX-t.left-t.width/2,o=e.clientY-t.top-t.height/2;if(Math.hypot(n-le.x,o-le.y)=2?(x=0,oe()):S=setTimeout(()=>{x=0},700);return}Math.hypot(n,o+100)<130&&(V(i,!K(i)),V(a,null))}return n()||(K(r).addEventListener(`click`,ve),K(r).addEventListener(`pointerdown`,he),K(r).addEventListener(`pointermove`,ge),window.addEventListener(`pointerup`,_e)),setTimeout(()=>O(`Buzz! 🌸 I'm thinking about effort and rest. What about you?`),3e3),ee(),()=>{F=!1,u&&clearTimeout(u),d&&clearTimeout(d),K(r)?.removeEventListener(`click`,ve),K(r)?.removeEventListener(`pointerdown`,he),K(r)?.removeEventListener(`pointermove`,ge),window.removeEventListener(`pointerup`,_e)}}),Ci();var j=hu(),M=fn(j),N=H(M),P=U(N,2),F=H(P,!0);R(P),R(M);var ne=U(M,2),I=e=>{var t=lu(),n=H(t),r=U(H(n),2);R(n);var i=U(n,2);Jr(i,5,()=>K(m),Wr,(e,t)=>{var n=cu(),r=H(n),i=H(r,!0);R(r);var a=U(r,2),o=H(a,!0);R(a),R(n),Ln(()=>{ai(n,1,`history-msg ${(K(t),q(()=>K(t).role))??``}`,`svelte-1nwv6qn`),Z(i,(K(t),q(()=>K(t).role===`assistant`?`🐝 Buzz`:`You`))),Z(o,(K(t),q(()=>K(t).content)))}),X(e,n)}),R(i),R(t),J(`click`,r,()=>V(o,!1)),X(e,t)};Ur(ne,e=>{K(o)&&e(I)});var re=U(ne,2),ie=e=>{su(e,{})};Ur(re,e=>{n()||e(ie)});var ae=U(re,2);bi(ae,e=>V(r,e),()=>K(r));var oe=U(ae,2),se=e=>{var t=du(),n=H(t);Jr(n,1,()=>p,Wr,(e,t,n)=>{let r=yt(()=>q(()=>n/p.length*360-90)),i=yt(()=>(wr(K(r)),q(()=>K(r)*(Math.PI/180)))),a=yt(()=>110);var o=uu(),s=H(o),c=H(s,!0);R(s);var l=U(s,2),u=H(l,!0);R(l),R(o),Ln((e,r)=>{si(o,` + left: calc(50% + ${e??``}px - 36px); + top: calc(50% + ${r??``}px - 36px); + animation-delay: ${n*55}ms; + `),Z(c,(K(t),q(()=>K(t).icon))),Z(u,(K(t),q(()=>K(t).label)))},[()=>(wr(K(i)),wr(K(a)),q(()=>Math.cos(K(i))*K(a))),()=>(wr(K(i)),wr(K(a)),q(()=>Math.sin(K(i))*K(a)))]),J(`click`,o,()=>w(K(t).id)),X(e,o)});var r=U(n,2);R(t),J(`click`,r,()=>{V(i,!1)}),X(e,t)};Ur(oe,e=>{!n()&&K(i)&&e(se)});var ce=U(oe,2),le=e=>{var t=fu(),n=H(t),r=H(n),i=H(r,!0);R(r);var o=U(r,2),s=H(o,!0);R(o);var c=U(o,2),l=H(c,!0);R(c);var u=U(c,2),d=H(u);R(u);var f=U(u,2),p=H(f),m=U(p,2);R(f),R(n),R(t),Ln(()=>{Z(i,(K(a),q(()=>K(a).icon))),Z(s,(K(a),q(()=>K(a).title))),Z(l,(K(a),q(()=>K(a).description))),Z(d,`✦ ${(K(a),q(()=>K(a).hint))??``}`)}),J(`click`,p,E),J(`click`,m,T),J(`click`,t,xi(()=>V(a,null))),X(e,t)};Ur(ce,e=>{K(a)&&e(le)});var L=U(ce,2),ue=e=>{var t=pu();let n;var r=H(t),i=U(H(r),2),a=H(i,!0);R(i),R(r);var o=U(r,2),u=H(o);vn(u);var d=U(u,2),p=H(d,!0);R(d),R(o),R(t),Ln(e=>{n=ai(t,1,`thought-wrap svelte-1nwv6qn`,null,n,{visible:K(s)}),Z(a,K(c)),u.disabled=K(f),d.disabled=e,Z(p,K(f)?`…`:`➤`)},[()=>(K(f),K(l),q(()=>K(f)||!K(l).trim()))]),gi(u,()=>K(l),e=>V(l,e)),J(`keydown`,u,te),J(`click`,d,k),X(e,t)};Ur(L,e=>{n()||e(ue)});var de=U(L,2),fe=e=>{X(e,mu())};Ur(de,e=>{n()||e(fe)}),Ln(()=>Z(F,K(o)?`Close history`:`💬 History`)),J(`click`,N,C),J(`click`,P,D),X(e,j),Ke()}var _u=Y(``);function vu(e,t){Ge(t,!1);let n=B();Di(()=>{let e=Q.default.TAU,t={body:`#FFF1E6`,headBase:`#FFF5E8`,eye:`#FFFFFF`,pupil:`#111111`,comb:`#FF3B5C`,tail:`#F8D7C7`,leg:`#FAA353`,sky:`#FFB7D5`,skyLight:`#FFE1F0`,land:`#7ab535`,landLight:`#9fd95c`,darkGreen:`#3A5C18`,trunkBrown:`#8B6340`,cloudPink:`#FFE4F0`,cloudWhite:`#FFF7FB`,blossomPink:`#FFACD2`,appleRed:`#FF4B4B`,leafGreen:`#5DA020`,daisyWhite:`#FFFFFF`,daisyYellow:`#F9D342`,roseRed:`#F04A6F`,rosePink:`#FF8FAE`,lavPurple:`#C07EE0`,lavLight:`#E2B8F5`,sunflowerY:`#FFB800`,sunflowerC:`#7A3B10`,tulipPink:`#FF85A2`,tulipOrange:`#FF6B35`},r=new Q.default.Illustration({element:K(n),dragRotate:!1,resize:`window`}),i=new Q.default.Anchor({addTo:r});new Q.default.Shape({addTo:i,path:[{x:-3e3,y:-1500},{x:3e3,y:-1500},{x:3e3,y:180},{x:-3e3,y:180}],stroke:0,fill:!0,color:t.sky,translate:{z:-1500}}),new Q.default.Shape({addTo:i,path:[{x:-3e3,y:180},{x:3e3,y:180},{x:3e3,y:1600},{x:-3e3,y:1600}],stroke:0,fill:!0,color:t.skyLight,translate:{z:-1500}});function a(e,t,n,r,a=220){let o=[{x:e-t/2,y:520}];for(let n=0;n<=24;n++){let r=n/24;o.push({x:e-t/2+r*t,y:520-Math.sin(r*Math.PI)*a})}o.push({x:e+t/2,y:520}),new Q.default.Shape({addTo:i,path:o,stroke:0,fill:!0,color:n,translate:{z:r}})}a(-900,1600,t.darkGreen,-1200,260),a(800,1500,`#4A7020`,-1100,220),a(-300,1300,`#5A8A28`,-1e3,180),a(400,1e3,`#6BA330`,-900,140),new Q.default.Shape({addTo:i,path:[{x:-3e3,y:340},{x:3e3,y:340},{x:3e3,y:1800},{x:-3e3,y:1800}],stroke:0,fill:!0,color:t.land,translate:{z:-700}}),new Q.default.Shape({addTo:i,path:[{x:-3e3,y:340},{x:3e3,y:340},{x:3e3,y:400},{x:-3e3,y:400}],stroke:0,fill:!0,color:t.landLight,translate:{z:-690}}),[{x:-750,y:-400,z:-1100,s:2},{x:-200,y:-480,z:-1150,s:1.6},{x:650,y:-380,z:-1050,s:2.2},{x:250,y:-450,z:-1120,s:1.7},{x:950,y:-420,z:-1180,s:1.4}].forEach(e=>{let n=new Q.default.Anchor({addTo:i,translate:{x:e.x,y:e.y,z:e.z},scale:e.s});new Q.default.Shape({addTo:n,stroke:150,color:t.cloudPink}),new Q.default.Shape({addTo:n,stroke:115,color:t.cloudWhite,translate:{x:-90,y:15}}),new Q.default.Shape({addTo:n,stroke:125,color:t.cloudPink,translate:{x:90,y:8}}),new Q.default.Shape({addTo:n,stroke:95,color:t.cloudWhite,translate:{x:-150,y:22}}),new Q.default.Shape({addTo:n,stroke:85,color:t.cloudPink,translate:{x:160,y:18}})}),[{x:-750,y:210,z:-850,s:1.8,type:`apples`},{x:-500,y:240,z:-800,s:1.4,type:`blossoms`},{x:650,y:220,z:-860,s:1.9,type:`apples`},{x:850,y:260,z:-780,s:1.5,type:`blossoms`}].forEach(e=>{let n=new Q.default.Anchor({addTo:i,translate:{x:e.x,y:e.y,z:e.z},scale:e.s});new Q.default.Shape({addTo:n,path:[{y:0},{y:-120}],stroke:30,color:t.trunkBrown});let r=new Q.default.Anchor({addTo:n,translate:{y:-150}});new Q.default.Shape({addTo:r,stroke:200,color:`#5DA020`}),new Q.default.Shape({addTo:r,stroke:160,color:`#7CBF37`,translate:{x:-40,y:-40,z:15}}),new Q.default.Shape({addTo:r,stroke:140,color:`#4A8516`,translate:{x:45,y:25,z:-15}}),e.type===`apples`?(new Q.default.Shape({addTo:r,stroke:20,color:t.appleRed,translate:{x:-35,y:15,z:80}}),new Q.default.Shape({addTo:r,stroke:20,color:t.appleRed,translate:{x:50,y:-30,z:65}}),new Q.default.Shape({addTo:r,stroke:18,color:t.appleRed,translate:{x:8,y:50,z:70}})):(new Q.default.Shape({addTo:r,stroke:22,color:t.blossomPink,translate:{x:-50,y:-20,z:70}}),new Q.default.Shape({addTo:r,stroke:22,color:t.blossomPink,translate:{x:35,y:30,z:80}}),new Q.default.Shape({addTo:r,stroke:18,color:t.blossomPink,translate:{x:-8,y:-60,z:60}}))});function o(n,r,i,a,o,s,c,l,u){u||=t.daisyWhite;let d=new Q.default.Anchor({addTo:n,translate:{x:r,y:i+(120-s),z:a},scale:o});new Q.default.Shape({addTo:d,path:[{x:0,y:s,z:0},{x:0,y:0,z:0}],stroke:7,color:t.leafGreen});let f=new Q.default.Anchor({addTo:d,rotate:{x:c,y:l}});for(let t=0;t<13;t++){let n=new Q.default.Anchor({addTo:f,rotate:{z:e/13*t}});new Q.default.Ellipse({addTo:n,width:11,height:30,fill:!0,color:u,stroke:0,translate:{y:-18}})}new Q.default.Ellipse({addTo:f,diameter:15,fill:!0,stroke:4,color:t.daisyYellow,translate:{z:1.5}})}function s(n,r,i,a,o,s,c,l){let u=new Q.default.Anchor({addTo:n,translate:{x:r,y:i+(140-s),z:a},scale:o});new Q.default.Shape({addTo:u,path:[{x:0,y:s},{x:0,y:0}],stroke:7,color:t.leafGreen});let d=new Q.default.Anchor({addTo:u,rotate:{x:c,y:l}});for(let n=0;n<3;n++){let r=6+n*2,i=10+n*9;for(let a=0;aV(n,e),()=>K(n)),X(e,r),Ke()}var yu=Y(`
`),bu=Y(``),xu=Y(`
`),Su=Y(`

`),Cu=Y(`

Tap the chicken to open interactions ✿

`,1);function wu(e,t){Ge(t,!1);let n=Ai(),r=B(),i=Ei(t,`embedded`,8,!1),a=B(!1),o=B(null),s=[{id:`smart`,icon:`🤓`,label:`Smart Mode`,title:`Switch on smart mode`,description:`The chicken puts on its glasses and checks its phone, looking very important.`,hint:`Tap again from this menu to switch it back off.`},{id:`peck`,icon:`🌾`,label:`Peck`,title:`Peck the ground`,description:`The chicken bobs down and pecks at the grass a few times, looking for seeds.`,hint:`A quick little snack break.`},{id:`strut`,icon:`💃`,label:`Strut`,title:`Do a little strut`,description:`The chicken struts side to side and kicks up its feet, showing off a bit.`,hint:`Pure chicken swagger.`},{id:`wave`,icon:`👋`,label:`Wave`,title:`Wave hello`,description:`The chicken lifts its wing and gives you a friendly wave.`,hint:`Feel free to wave back.`},{id:`ruffle`,icon:`🪶`,label:`Ruffle`,title:`Ruffle its feathers`,description:`Give the chicken a little startle and watch its feathers fluff right up.`,hint:`Dragging the chicken quickly does this too.`}],c,l,u,d,f;function p(){n(`back`)}function m(e){V(o,s.find(t=>t.id===e)),V(a,!1)}function h(){V(o,null)}function g(){K(o)&&(K(o).id===`smart`&&c?.(),K(o).id===`peck`&&l?.(),K(o).id===`strut`&&u?.(),K(o).id===`wave`&&d?.(),K(o).id===`ruffle`&&f?.(),V(o,null))}Di(()=>{if(!K(r))return;let e=Q.default.TAU,t={body:`#FFF1E6`,headBase:`#FFF5E8`,eye:`#FFFFFF`,pupil:`#111111`,comb:`#FF3B5C`,tail:`#F8D7C7`,leg:`#FAA353`,sky:`#FFB7D5`,skyLight:`#FFE1F0`,land:`#7ab535`,landLight:`#9fd95c`,darkGreen:`#3A5C18`,trunkBrown:`#8B6340`,cloudPink:`#FFE4F0`,cloudWhite:`#FFF7FB`,blossomPink:`#FFACD2`,appleRed:`#FF4B4B`,leafGreen:`#5DA020`,daisyWhite:`#FFFFFF`,daisyYellow:`#F9D342`,roseRed:`#F04A6F`,rosePink:`#FF8FAE`,lavPurple:`#C07EE0`,lavLight:`#E2B8F5`,sunflowerY:`#FFB800`,sunflowerC:`#7A3B10`,tulipPink:`#FF85A2`,tulipOrange:`#FF6B35`},n=new Q.default.Illustration({element:K(r),dragRotate:!1,resize:`window`}),s,p,m,h,g,_,v,y=new Q.default.Anchor({addTo:n,translate:{x:0,y:70,z:0},rotate:{x:-.05,y:0,z:0}});new Q.default.Shape({addTo:y,stroke:270,color:t.body,translate:{y:75}}),new Q.default.Cylinder({addTo:y,diameter:72,length:150,stroke:36,color:`#F6D8C8`,rotate:{x:e/4},translate:{y:-45,z:18}});let b=new Q.default.Anchor({addTo:y,translate:{y:-150,z:42}});new Q.default.Shape({addTo:b,stroke:135,color:t.headBase}),new Q.default.Cone({addTo:b,diameter:42,length:66,stroke:12,color:`#F4A63A`,translate:{y:30,z:72}}),new Q.default.Shape({addTo:b,path:[{y:0},{y:48}],stroke:30,color:t.comb,translate:{x:-18,y:42,z:48}}).copy({translate:{x:18,y:42,z:48}}),new Q.default.Shape({addTo:b,stroke:36,color:t.comb,path:[{x:-18,y:-66,z:6},{x:-30,y:-108,z:18},{x:-6,y:-84,z:2},{x:6,y:-126,z:-6},{x:24,y:-78,z:-12}]}),s=new Q.default.Anchor({addTo:b,translate:{x:-60,y:-12,z:42}}),new Q.default.Shape({addTo:s,stroke:84,color:t.eye,fill:!0}),m=new Q.default.Shape({addTo:s,stroke:30,color:t.pupil,fill:!0,translate:{x:-12,y:-12,z:36}}),p=new Q.default.Anchor({addTo:b,translate:{x:60,y:-6,z:36}}),new Q.default.Shape({addTo:p,stroke:72,color:t.eye,fill:!0}),h=new Q.default.Shape({addTo:p,stroke:27,color:t.pupil,fill:!0,translate:{x:9,y:6,z:30}});let x,S,C;g=new Q.default.Anchor({addTo:b,translate:{y:-6,z:84},scale:.001}),x=new Q.default.Ellipse({addTo:g,diameter:102,stroke:15,color:`#1A1A1A`,translate:{x:-54},visible:!1}),S=x.copy({translate:{x:54},visible:!1}),C=new Q.default.Shape({addTo:g,path:[{x:-20,y:0},{x:20,y:0}],stroke:13,color:`#1A1A1A`,visible:!1});let w=new Q.default.Anchor({addTo:y,translate:{x:-84,y:36,z:24},rotate:{z:.4}});new Q.default.Shape({addTo:w,path:[{x:-42,y:30,z:-30},{x:-42,y:45,z:-75}],stroke:90,color:`#FFF1E6`}),_=new Q.default.Anchor({addTo:y,translate:{x:84,y:36,z:24},rotate:{z:-.4}}),new Q.default.Shape({addTo:_,path:[{x:42,y:30,z:-30},{x:42,y:45,z:-75}],stroke:90,color:`#FFF1E6`}),v=new Q.default.Shape({addTo:_,path:[{x:42,y:45,z:-75},{x:42,y:-24,z:-96}],stroke:33,color:`#FFF1E6`,scale:.001});let T=[],E=new Q.default.Anchor({addTo:y,translate:{x:-54,y:36,z:-75}});new Q.default.Shape({addTo:E,stroke:36,color:t.tail,closed:!1,path:[{x:0,y:0,z:0},{bezier:[{x:-66,y:-66,z:-18},{x:-96,y:-144,z:-72},{x:-48,y:-192,z:-96}]}]}),T.push(E);for(let e=1;e<8;e++){let t=E.copyGraph({translate:{x:-54-e*9,y:36+e*6,z:-75-e*6},rotate:{y:e*.06,z:e*.04}});T.push(t)}let D=new Q.default.Shape({path:[{y:60},{y:120}],stroke:27,color:t.leg}),O=new Q.default.Anchor({addTo:y,translate:{x:-42,y:150,z:0}});D.copy({addTo:O});let ee=new Q.default.Anchor({addTo:O,translate:{y:120},rotate:{y:.3}});new Q.default.Shape({addTo:ee,path:[{x:0,z:0},{x:0,z:45}],stroke:27,color:t.leg}),new Q.default.Shape({addTo:ee,path:[{x:0,z:0},{x:-36,z:30}],stroke:27,color:t.leg}),new Q.default.Shape({addTo:ee,path:[{x:0,z:0},{x:36,z:30}],stroke:27,color:t.leg});let k=new Q.default.Anchor({addTo:y,translate:{x:42,y:150,z:0}});D.copy({addTo:k});let te=new Q.default.Anchor({addTo:k,translate:{y:120},rotate:{y:-.3}});new Q.default.Shape({addTo:te,path:[{x:0,z:0},{x:0,z:45}],stroke:27,color:t.leg}),new Q.default.Shape({addTo:te,path:[{x:0,z:0},{x:-36,z:30}],stroke:27,color:t.leg}),new Q.default.Shape({addTo:te,path:[{x:0,z:0},{x:36,z:30}],stroke:27,color:t.leg});let A=0,j=!0,M=!1,N=0,P=0;function F(){if(!j)return;A++;let e=A%340;if(e>320){let t=.5+.5*Math.cos((e-320)/20*Math.PI*2);s.scale.y=t,p.scale.y=t}else s.scale.y=1,p.scale.y=1;A%240==0&&(N=[-14,0,12][Math.floor(Math.random()*3)]),P+=(N-P)*.08,M||(m.translate.x=-12+P,h.translate.x=9+P),n.updateRenderGraph(),requestAnimationFrame(F)}F();function ne(){M=!M,M?(x.visible=!0,S.visible=!0,C.visible=!0,$.to(g.scale,{duration:.8,x:1,y:1,z:1,ease:`elastic.out(1, 0.75)`}),$.to(m.translate,{duration:.4,x:0,y:0,ease:`power2.out`}),$.to(h.translate,{duration:.4,x:0,y:0,ease:`power2.out`}),$.to(_.translate,{duration:.6,x:65,y:-76,z:64,ease:`power2.out`}),$.to(_.rotate,{duration:.6,x:.5,y:-.4,z:-1.9,ease:`power2.out`}),$.to(v.scale,{duration:.5,x:1,y:1,z:1,ease:`back.out(1.5)`})):($.to(g.scale,{duration:.4,x:.001,y:.001,z:.001,ease:`power2.in`}),$.to(_.translate,{duration:.4,x:84,y:36,z:24,ease:`power2.inOut`}),x.visible=!1,S.visible=!1,C.visible=!1,$.to(_.rotate,{duration:.4,x:0,y:0,z:-.4,ease:`power2.inOut`}),$.to(v.scale,{duration:.4,x:.001,y:.001,z:.001,ease:`power2.in`}))}let I=!1;function re(){if(I)return;I=!0;let e=$.timeline({onComplete:()=>{I=!1}});for(let t=0;t<3;t++)e.to(b.translate,{duration:.12,y:-92,ease:`power2.out`}),e.to(b.rotate,{duration:.12,x:.32,ease:`power2.out`},`<`),e.to(b.translate,{duration:.16,y:-150,ease:`power2.in`}),e.to(b.rotate,{duration:.16,x:0,ease:`power2.in`},`<`)}let ie=!1;function ae(){if(ie)return;ie=!0;let e=$.timeline({onComplete:()=>{ie=!1,y.rotate.z=0,y.translate.y=70,O.rotate.z=0,k.rotate.z=0}});for(let t=0;t<4;t++){let n=t%2==0?1:-1;e.to(y.rotate,{duration:.18,z:n*.07,ease:`sine.inOut`}),e.to(y.translate,{duration:.18,y:58,ease:`sine.out`},`<`),e.to(O.rotate,{duration:.18,z:n*.18,ease:`sine.inOut`},`<`),e.to(k.rotate,{duration:.18,z:-n*.18,ease:`sine.inOut`},`<`),e.to(y.translate,{duration:.18,y:70,ease:`sine.in`})}}let oe=!1;function se(){if(oe)return;oe=!0;let e=$.timeline({onComplete:()=>{oe=!1}});e.to(w.rotate,{duration:.3,z:-1.1,ease:`back.out(1.4)`}),e.to(w.translate,{duration:.3,y:-30,ease:`back.out(1.4)`},`<`);for(let t=0;t<3;t++)e.to(w.rotate,{duration:.18,z:-1.35,ease:`sine.inOut`}),e.to(w.rotate,{duration:.18,z:-.9,ease:`sine.inOut`});e.to(w.rotate,{duration:.3,z:.4,ease:`power2.inOut`}),e.to(w.translate,{duration:.3,y:36,ease:`power2.inOut`},`<`)}let ce=!1;function le(){if(ce)return;ce=!0;let e=$.timeline({onComplete:()=>{ce=!1,y.rotate.z=0,T.forEach(e=>{e.scale.x=1,e.scale.y=1,e.scale.z=1}),s.scale.x=1,p.scale.x=1}});e.to([s.scale,p.scale],{duration:.1,x:1.25,ease:`power2.out`},0);for(let t=0;t<5;t++){let n=t%2==0?1:-1;e.to(y.rotate,{duration:.06,z:n*.045,ease:`sine.inOut`})}e.to(y.rotate,{duration:.08,z:0,ease:`sine.out`}),T.forEach((t,n)=>{e.to(t.scale,{duration:.15,x:1.2,y:1.2,z:1.2,ease:`back.out(2)`},n*.02),e.to(t.scale,{duration:.3,x:1,y:1,z:1,ease:`power2.inOut`},.35+n*.02)}),e.to([s.scale,p.scale],{duration:.25,x:1,ease:`power2.inOut`},.3)}c=ne,l=re,u=ae,d=se,f=le;let L=!1,ue=0,de=0,fe=!1;function pe(e){L=!0,fe=!1,ue=e.clientX,de=e.clientY;try{K(r).setPointerCapture(e.pointerId)}catch{}}function me(e){if(!L)return;let t=e.clientX-ue,r=e.clientY-de;ue=e.clientX,de=e.clientY;let i=Math.hypot(t,r);i>8&&(fe=!0),i>22&&le(),y.rotate.y+=t*.005,n.updateRenderGraph()}function he(e){L=!1;try{K(r).releasePointerCapture(e.pointerId)}catch{}}function ge(e){if(fe)return;let t=K(r).getBoundingClientRect(),n=e.clientX-t.left-t.width/2,i=e.clientY-t.top-t.height/2;Math.hypot(n-y.translate.x,i-y.translate.y)<450?(V(a,!K(a)),V(o,null)):V(a,!1)}return i()||(K(r).addEventListener(`pointerdown`,pe),K(r).addEventListener(`pointermove`,me),window.addEventListener(`pointerup`,he),K(r).addEventListener(`click`,ge)),()=>{j=!1,i()||(K(r)?.removeEventListener(`pointerdown`,pe),K(r)?.removeEventListener(`pointermove`,me),window.removeEventListener(`pointerup`,he),K(r)?.removeEventListener(`click`,ge))}}),Ci();var _=Cu(),v=fn(_),y=e=>{var t=yu(),n=H(t);R(t),J(`click`,n,p),X(e,t)};Ur(v,e=>{i()||e(y)});var b=U(v,2),x=e=>{vu(e,{})};Ur(b,e=>{i()||e(x)});var S=U(b,2);let C;bi(S,e=>V(r,e),()=>K(r));var w=U(S,2),T=e=>{var t=xu(),n=H(t);Jr(n,1,()=>s,Wr,(e,t,n)=>{let r=yt(()=>q(()=>n/s.length*360-90)),i=yt(()=>(wr(K(r)),q(()=>K(r)*(Math.PI/180)))),a=yt(()=>120);var o=bu(),c=H(o),l=H(c,!0);R(c);var u=U(c,2),d=H(u,!0);R(u),R(o),Ln((e,r)=>{si(o,` + left: calc(50% + ${e??``}px - 38px); + top: calc(58% + ${r??``}px - 38px); + animation-delay: ${n*55}ms; + `),Z(l,(K(t),q(()=>K(t).icon))),Z(d,(K(t),q(()=>K(t).label)))},[()=>(wr(K(i)),wr(K(a)),q(()=>Math.cos(K(i))*K(a))),()=>(wr(K(i)),wr(K(a)),q(()=>Math.sin(K(i))*K(a)))]),J(`click`,o,()=>m(K(t).id)),X(e,o)});var r=U(n,2);R(t),J(`click`,r,()=>{V(a,!1)}),X(e,t)};Ur(w,e=>{!i()&&K(a)&&e(T)});var E=U(w,2),D=e=>{var t=Su(),n=H(t),r=H(n),i=H(r,!0);R(r);var a=U(r,2),s=H(a,!0);R(a);var c=U(a,2),l=H(c,!0);R(c);var u=U(c,2),d=H(u);R(u);var f=U(u,2),p=H(f),m=U(p,2);R(f),R(n),R(t),Ln(()=>{Z(i,(K(o),q(()=>K(o).icon))),Z(s,(K(o),q(()=>K(o).title))),Z(l,(K(o),q(()=>K(o).description))),Z(d,`✦ ${(K(o),q(()=>K(o).hint))??``}`)}),J(`click`,p,g),J(`click`,m,h),J(`click`,t,xi(()=>V(o,null))),X(e,t)};Ur(E,e=>{K(o)&&e(D)}),Pe(2),Ln(()=>C=ai(S,1,`scene svelte-1jej3y2`,null,C,{embedded:i()})),X(e,_),Ke()}var Tu=Y(``),Eu=Y(``),Du=Y(`
`),Ou=Y(``),ku=Y(`

`),Au=Y(`

Sub-surface Communication Logs

`),ju=Y(`
`),Mu=Y(`
`),Nu=Y(`

`),Pu=Y(`

`);function Fu(e,t){Ge(t,!1);let n=B(),r=B(),i=B(),a=B(),o=B(),s=Ei(t,`embedded`,8,!1),c=B(!1),l=!1,u=B(`Click the fish for actions • Click the gauge to dive`),d={pinkAlpha:1,darkAlpha:0},f={value:0},p,m,h,g,_,v,y,b,x,S,C,w,T,E,D,O,ee=[],k=[],te=B({x:0,y:0}),A=B({x:0,y:0}),j=B(!1),M=B(null),N=B(!1),P=B(!1),F=B(!1),ne=B(``),I=B(``),re=null,ie=null,ae=B(!1),oe=[{id:`float`,icon:`🔄`,label:`Float Around`,title:`Orbit Swimming`,description:`Command the blobfish to drift passively in a large horizontal tracking orbit.`,hint:`The fish will drift in a smooth, sweeping horizontal circle.`,angle:-90},{id:`jump`,icon:`🐬`,label:`Jump`,title:`Breaching Leap`,description:`Watch the fish break dynamics to launch an airborne trajectory arc.`,hint:`Jumps directly if shallow. If deep, it surfaces rapidly before launching.`,angle:30},{id:`chat`,icon:`💬`,label:`Chat`,title:`Consult the Blobfish`,description:`Uncover deep sub-surface wisdom regarding atmospheric pressure and inner structural integrity.`,hint:`Reply to the active bubble thoughts below.`,angle:150}],se=B([{role:`assistant`,content:`Mmmh... Hello down there. Let us talk about surviving the heavy pressures of life, or simply floating along.`}]),ce=[`The pressure changes up here... they alter how everyone looks at you.`,`Down in the dark, you never need to worry about structural integrity.`,`Floating takes absolutely no effort at all. There is a great wisdom in that.`,`Heavy weights are easier to bear when you are built exactly for the depth you inhabit.`,`Are you running around today, or are you letting the currents carry you?`,`Sometimes, looking a bit deflated just means you are away from home.`],le=[{xPct:.08,baseWidth:22,height:320,speed:.024,delay:0},{xPct:.11,baseWidth:35,height:460,speed:.018,delay:.8},{xPct:.14,baseWidth:26,height:380,speed:.022,delay:.4},{xPct:.17,baseWidth:40,height:490,speed:.015,delay:1.2},{xPct:.21,baseWidth:28,height:340,speed:.026,delay:.2},{xPct:.25,baseWidth:32,height:410,speed:.02,delay:.9},{xPct:.72,baseWidth:30,height:390,speed:.021,delay:1.5},{xPct:.76,baseWidth:42,height:510,speed:.016,delay:.3},{xPct:.8,baseWidth:24,height:350,speed:.025,delay:1},{xPct:.84,baseWidth:38,height:470,speed:.019,delay:.6},{xPct:.88,baseWidth:28,height:420,speed:.023,delay:1.4},{xPct:.93,baseWidth:20,height:310,speed:.028,delay:.1}],L={blobSkin:`#F4B8C2`,blobNose:`#F3AEBB`,blobFin:`#C97A8D`,blobMouth:`#6B3A45`,blobTailBody:`#D88A9D`,blobDeepSea:`#6C8EA4`,blobDeepSeaDark:`#4A6578`,blobMouthDeep:`#334856`,blobEyeDeep:`#94b3c7`,blobPupilDeep:`#1d2a33`,waterTransition:`#1C2541`,seaweedDark:`26, 54, 39`,seaweedLight:`53, 94, 59`};function ue(e,t){V(j,!K(j)),K(j)&&(V(te,{x:e,y:t}),V(M,null),V(N,!1))}function de(e){V(M,oe.find(t=>t.id===e)),V(j,!1)}function fe(){V(M,null)}function pe(){if(K(M)){if(K(M).id===`float`&&Te(),K(M).id===`jump`&&Ee(),K(M).id===`chat`){V(M,null),_e();return}V(M,null)}}function me(){V(N,!K(N)),K(N)&&(V(j,!1),V(M,null))}function he(){if(!K(r)||!h)return;let e=K(r).getBoundingClientRect(),t=e.left+e.width/2,n=e.top+e.height/2;V(A,{x:t+h.translate.x,y:n+h.translate.y})}function ge(e,t=!1){ie&&clearTimeout(ie),V(ne,e),V(P,!0),V(F,!1),he(),!t&&!K(F)&&(ie=setTimeout(()=>{V(P,!1)},12e3)),console.log(`showing bubble`,K(P))}function _e(){ie&&clearTimeout(ie),V(F,!0),he()}function ve(){re&&clearTimeout(re),re=setTimeout(()=>{if(!K(P)&&!K(F)&&!K(ae)){let e=ce[Math.floor(Math.random()*ce.length)];ge(e)}ve()},18e3+Math.random()*1e4),console.log(`scheduled thought fired`)}async function ye(){let e=K(I).trim();!e||K(ae)||(V(I,``),V(F,!1),V(P,!1),await xe(e))}function be(e){e.key===`Enter`&&!e.shiftKey&&(e.preventDefault(),ye())}async function xe(e){if(!K(ae)){V(ae,!0),ge(`…`,!0),De(),V(se,[...K(se),{role:`user`,content:e}]);try{let e={model:`gpt-4o-mini`,messages:[{role:`system`,content:K(n)},...K(se)],max_tokens:256,temperature:.85},t=await fetch(`https://api.openai.com/v1/chat/completions`,{method:`POST`,headers:{"Content-Type":`application/json`,Authorization:`Bearer undefined`},body:JSON.stringify(e)});if(!t.ok)throw Error(`API error code: ${t.status}`);let r=(await t.json())?.choices?.[0]?.message?.content;if(r){let e=r.trim();V(se,[...K(se),{role:`assistant`,content:e}]),ge(e,!0)}else ge(`The currents are scrambled... I lost my thread of thought.`,!0)}catch(e){console.error(e),V(se,K(se).slice(0,-1)),ge(`Too much static in the water right now. Ask me again shortly...`,!0)}finally{V(ae,!1)}}}let Se=!1,Ce=1,we=1;function Te(){if(Se)return;Se=!0,we=2;let e=$.timeline({onComplete:()=>{Se=!1,we=1,h.translate.x=0,h.translate.z=0,h.rotate.y=-.12}});e.to(h.rotate,{duration:3.5,y:`-=${Q.default.TAU}`,ease:`none`}),e.to(h.translate,{duration:1.75,x:-160,z:-100,ease:`sine.inOut`,yoyo:!0,repeat:1},0)}function Ee(){if(Se)return;Se=!0,Ce=3.5;let e=$.timeline({onComplete:()=>{Se=!1,Ce=1,h.translate.y=0,h.translate.z=0,h.rotate.x=0}});K(c)?(e.to(h.translate,{duration:1.2,y:-260,z:40,ease:`power2.out`}),e.to(h.rotate,{duration:.8,x:-.4},0),e.to(h.translate,{duration:.5,y:-500,z:120,ease:`power1.out`},`+=0.1`),e.to(h.rotate,{duration:1,x:`+=${Q.default.TAU}`,ease:`power1.inOut`},`-=0.2`),e.to(h.translate,{duration:.6,y:0,z:0,ease:`power2.in`})):(e.to(h.translate,{duration:.5,y:-240,z:80,ease:`power1.out`}),e.to(h.rotate,{duration:.9,x:`+=${Q.default.TAU}`,ease:`power1.inOut`},0),e.to(h.translate,{duration:.5,y:0,z:0,ease:`power1.in`},`-=0.4`))}function De(){let e=$.timeline();e.to([v.rotate,b.rotate],{duration:.3,y:.4,ease:`sine.inOut`,repeat:3,yoyo:!0}),e.to([y.rotate,x.rotate],{duration:.3,y:-.4,ease:`sine.inOut`,repeat:3,yoyo:!0},0)}function Oe(e){return{r:parseInt(e.slice(1,3),16),g:parseInt(e.slice(3,5),16),b:parseInt(e.slice(5,7),16)}}function ke(e){let t=[];function n(e){if(e.color&&typeof e.color==`string`&&e.color.startsWith(`#`)){let{r:n,g:r,b:i}=Oe(e.color);t.push({node:e,r:n,g:r,b:i})}e.children&&e.children.forEach(n)}return n(e),t}let Ae=!1,je=0,Me=0,Ne=!1,Pe=.008;function Fe(e){Ae=!0,Ne=!1,je=e.clientX,Me=e.clientY;try{K(r).setPointerCapture(e.pointerId)}catch{}}function Ie(e){if(!Ae)return;let t=e.clientX-je,n=e.clientY-Me;je=e.clientX,Me=e.clientY,Math.hypot(t,n)>8&&(Ne=!0),h.rotate.y+=t*Pe,h.rotate.x+=n*Pe,h.rotate.x=Math.max(-Q.default.TAU/8,Math.min(Q.default.TAU/8,h.rotate.x))}function Le(){Ae=!1}function Re(e){if(Ne)return;let t=K(r).getBoundingClientRect(),n=e.clientX-t.left-t.width/2,i=e.clientY-t.top-t.height/2;Math.hypot(n,i)<145&&ue(K(A).x,K(A).y)}Di(()=>{K(o).style.setProperty(`--sky-pos`,`45%`),K(o).style.setProperty(`--mid-pos`,`75%`),K(o).style.setProperty(`--abyss-pos`,`100%`);let e=K(a).getContext(`2d`);function t(){Zt(a,K(a).width=window.innerWidth),Zt(a,K(a).height=window.innerHeight),he()}t(),window.addEventListener(`resize`,t),p=new Q.default.Illustration({element:K(r),dragRotate:!1,resize:`window`,rotate:{x:-.2,y:-.12}}),h=new Q.default.Anchor({addTo:p}),g=new Q.default.Anchor({addTo:h,scale:2}),new Q.default.Shape({addTo:g,stroke:260,color:L.blobSkin}),new Q.default.Shape({addTo:g,stroke:180,color:L.blobSkin,translate:{y:-40,z:6}}),new Q.default.Shape({addTo:g,stroke:100,color:L.blobNose,translate:{y:14,z:62}}),new Q.default.Shape({addTo:g,stroke:120,color:L.blobSkin,translate:{x:-38,y:24,z:18}}),new Q.default.Shape({addTo:g,stroke:120,color:L.blobSkin,translate:{x:38,y:24,z:18}}),w=new Q.default.Anchor({addTo:g,translate:{x:-18,y:-14,z:52}}),new Q.default.Shape({addTo:w,stroke:30,color:`#FFFFFF`}),new Q.default.Shape({addTo:w,stroke:12,color:`#111111`,translate:{z:6}}),T=new Q.default.Anchor({addTo:g,translate:{x:18,y:-14,z:52}}),new Q.default.Shape({addTo:T,stroke:30,color:`#FFFFFF`}),new Q.default.Shape({addTo:T,stroke:12,color:`#111111`,translate:{z:6}}),new Q.default.Shape({addTo:g,stroke:14,color:L.blobMouth,closed:!1,path:[{x:-28,y:40,z:44},{bezier:[{x:-12,y:28,z:54},{x:12,y:28,z:54},{x:28,y:40,z:44}]}]});let n=[{x:0,y:0},{x:-30,y:-10},{x:-50,y:15},{x:-40,y:35},{x:-10,y:25}];v=new Q.default.Anchor({addTo:g});let s=new Q.default.Anchor({addTo:v,translate:{x:-52,y:22,z:-8}});new Q.default.Shape({addTo:s,path:n,stroke:24,color:L.blobFin,fill:!0}),y=new Q.default.Anchor({addTo:g});let c=new Q.default.Anchor({addTo:y,translate:{x:52,y:22,z:-8}});new Q.default.Shape({addTo:c,path:n,scale:{x:-1},stroke:24,color:L.blobFin,fill:!0});let l=new Q.default.Anchor({addTo:g,translate:{y:10,z:-68}});new Q.default.Shape({addTo:l,stroke:52,color:L.blobTailBody}),C=new Q.default.Anchor({addTo:l,translate:{z:-14}}),new Q.default.Shape({addTo:C,stroke:32,color:L.blobFin,closed:!1,path:[{y:0,z:0},{bezier:[{x:-6,y:-8,z:-4},{x:-12,y:-12,z:-8},{x:0,y:-18,z:-14}]}]}),_=new Q.default.Anchor({addTo:h,scale:3}),new Q.default.Shape({addTo:_,stroke:240,color:L.blobDeepSea}),new Q.default.Shape({addTo:_,stroke:190,color:L.blobDeepSea,translate:{z:-30}}),new Q.default.Shape({addTo:_,stroke:120,color:L.blobDeepSea,translate:{x:-28,y:14,z:12}}),new Q.default.Shape({addTo:_,stroke:120,color:L.blobDeepSea,translate:{x:28,y:14,z:12}}),E=new Q.default.Anchor({addTo:_,translate:{x:-22,y:-12,z:25}}),new Q.default.Shape({addTo:E,stroke:32,color:L.blobEyeDeep}),new Q.default.Shape({addTo:E,stroke:14,color:L.blobPupilDeep,translate:{z:6}}),D=new Q.default.Anchor({addTo:_,translate:{x:22,y:-12,z:25}}),new Q.default.Shape({addTo:D,stroke:32,color:L.blobEyeDeep}),new Q.default.Shape({addTo:D,stroke:14,color:L.blobPupilDeep,translate:{z:6}}),new Q.default.Shape({addTo:_,stroke:11,color:L.blobMouthDeep,closed:!1,path:[{x:-18,y:10,z:25},{x:0,y:14,z:27},{x:18,y:10,z:25}]}),b=new Q.default.Anchor({addTo:_});let u=new Q.default.Anchor({addTo:b,translate:{x:-48,y:22,z:-8}});new Q.default.Shape({addTo:u,path:n,scale:{x:.666,y:.666,z:.666},stroke:16,color:L.blobDeepSeaDark,fill:!0}),x=new Q.default.Anchor({addTo:_});let te=new Q.default.Anchor({addTo:x,translate:{x:48,y:22,z:-8}});new Q.default.Shape({addTo:te,path:n,scale:{x:-.666,y:.666,z:.666},stroke:16,color:L.blobDeepSeaDark,fill:!0});let A=new Q.default.Anchor({addTo:_,translate:{y:-4,z:-72}});new Q.default.Shape({addTo:A,stroke:60,color:L.blobDeepSea}),S=new Q.default.Anchor({addTo:A,translate:{z:-14}}),new Q.default.Shape({addTo:S,stroke:80,color:L.blobDeepSeaDark,closed:!1,path:[{y:0,z:0},{bezier:[{x:-6,y:-8,z:-5},{x:-14,y:-14,z:-9},{x:0,y:-22,z:-14}]}]}),ee=ke(g),k=ke(_),m=new Q.default.Illustration({element:K(i),dragRotate:!1,resize:!1});let j=new Q.default.Anchor({addTo:m,translate:{x:0,y:0}});new Q.default.Cylinder({addTo:j,diameter:82,length:16,stroke:!1,color:`#7f8c8d`,backface:`#34495e`}),new Q.default.Cylinder({addTo:j,diameter:70,length:2,stroke:!1,color:`#FFFFFF`,translate:{z:8}});for(let e=0;e<6;e++){let t=e/5*Math.PI-Math.PI;new Q.default.Shape({addTo:j,path:[{y:-26},{y:-32}],stroke:3,color:`#e74c3c`,rotate:{z:t},translate:{z:9.5}})}O=new Q.default.Anchor({addTo:j,translate:{z:11},rotate:{z:-Math.PI*.75}}),new Q.default.Shape({addTo:O,path:[{y:6},{y:-30}],stroke:4,color:`#2c3e50`}),new Q.default.Shape({addTo:O,stroke:12,color:`#e74c3c`}),m.updateRenderGraph(),ve();let M=0,N=!0;function P(){if(d.darkAlpha<.01)return;let t=K(a).width,n=K(a).height;le.forEach((r,i)=>{let a=t*r.xPct,o=r.height*d.darkAlpha,s=i%2==0?L.seaweedDark:L.seaweedLight;e.save(),e.beginPath(),e.fillStyle=`rgba(${s}, ${.65*d.darkAlpha})`;let c=[],l=[];for(let e=0;e<=7;e++){let t=e/7,i=n+30-o*t,s=a+Math.sin(M*r.speed+t*Math.PI*1.2+r.delay)*(25*t),u=r.baseWidth*(1-t);c.push({x:s-u/2,y:i}),l.unshift({x:s+u/2,y:i})}e.moveTo(c[0].x,c[0].y),c.forEach(t=>e.lineTo(t.x,t.y)),l.forEach(t=>e.lineTo(t.x,t.y)),e.closePath(),e.fill(),e.restore()})}function F(){e.clearRect(0,0,K(a).width,K(a).height),P();let t=f.value;if(t<=0||t>=1)return;let n=K(a).width,r=K(a).height;e.fillStyle=L.waterTransition;let i=Math.max(n,r)*.4;for(let a=0;a<3;a++){let o=$.utils.mapRange(a*.1,1-(2-a)*.1,0,1,t);o=$.utils.clamp(0,1,o),e.save();let s=-i+(n+i*2)*o;e.translate(s,r/2),e.rotate(-Math.PI/6),e.fillRect(-i/2,-r*1.5,i,r*3),e.restore()}}function ne(){if(!N)return;M++,Se||(h.translate.y=Math.sin(M*.035)*14,h.rotate.z=Math.cos(M*.025)*.04),he(),ee.forEach(({node:e,r:t,g:n,b:r})=>{e.color=`rgba(${t},${n},${r},${d.pinkAlpha})`}),k.forEach(({node:e,r:t,g:n,b:r})=>{e.color=`rgba(${t},${n},${r},${d.darkAlpha})`}),g.visible=d.pinkAlpha>.01,_.visible=d.darkAlpha>.01,v.rotate.z=Math.sin(M/(22/Ce))*.14,y.rotate.z=-Math.sin(M/(22/Ce))*.14,b.rotate.z=Math.sin(M/(26/Ce))*.11,x.rotate.z=-Math.sin(M/(26/Ce))*.11,C&&(C.rotate.y=Math.sin(.07*we*M)*.18),S&&(S.rotate.y=Math.sin(.06*we*M)*.16);let e=M%280,t=1;e>262&&(t=.5+.5*Math.cos((e-262)/18*Math.PI*2)),w.scale.y=t,T.scale.y=t,E.scale.y=t,D.scale.y=t,p.updateRenderGraph(),m.updateRenderGraph(),F(),requestAnimationFrame(ne)}return ne(),()=>{N=!1,re&&clearTimeout(re),ie&&clearTimeout(ie),window.removeEventListener(`resize`,t)}});function ze(){if(l)return;l=!0,V(c,!K(c));let e=$.timeline({onComplete:()=>{l=!1,V(u,K(c)?`Click the gauge to surface`:`Click the gauge to dive`)}});e.to(K(o),{duration:2.5,"--sky-pos":K(c)?`-120%`:`45%`,"--mid-pos":K(c)?`-40%`:`75%`,"--abyss-pos":K(c)?`0%`:`100%`,ease:`power2.inOut`},0),e.to(O.rotate,{duration:2.5,z:K(c)?Math.PI*.75:-Math.PI*.75,ease:`back.out(1.2)`},0),f.value=0,e.to(f,{duration:1.4,value:1,ease:`power1.inOut`},.55),e.to({},{duration:0},1.25),e.call(()=>{K(c)?(d.pinkAlpha=0,d.darkAlpha=1):(d.pinkAlpha=1,d.darkAlpha=0)},null,1.25)}Nn(()=>K(c),()=>{V(n,`You are a wise, slightly melancholic but highly perceptive Blobfish navigating the ocean. +Your tone is gentle, slow, warm, and rich with aquatic or pressure metaphors. Keep responses short (2-4 sentences max). +Current Depth State: ${K(c)?`DEEP SEA RESIDENT (Blue)`:`SURFACE / SHALLOW EXPELLED (Pink)`}. +- When Pink/Shallow: You are soft, highly gelatinous, feeling slightly structurally out-of-place and vulnerable. You discuss dealing with unfair visual judgments, feeling deflated under atmospheric changes, and learning to float when things get exhausting. +- When Blue/Deep: You are in your element—handsome, perfectly supported by the intense pressures around you, sleek and powerful. You discuss structural integrity, finding comfort in dark or heavy places, and thriving where others cannot breathe. +Do not break character. Do not lecture. Remain whimsical, comforting, and deeply grounded.`)}),Pn(),Ci();var Be=Pu(),Ve=H(Be);bi(H(Ve),e=>V(i,e),()=>K(i)),R(Ve);var He=U(Ve,2);let Ue;bi(He,e=>V(r,e),()=>K(r));var We=U(He,2);bi(We,e=>V(a,e),()=>K(a));var qe=U(We,2),Je=e=>{var t=Tu();J(`click`,t,me),X(e,t)};Ur(qe,e=>{s()||e(Je)});var Ye=U(qe,2),Xe=e=>{var t=Du();Jr(t,5,()=>oe,Wr,(e,t)=>{var n=Eu(),r=H(n),i=H(r,!0);R(r);var a=U(r,2),o=H(a,!0);R(a),R(n),Ln(()=>{si(n,`--angle: ${(K(t),q(()=>K(t).angle))??``}deg; --radius: 140px;`),Z(i,(K(t),q(()=>K(t).icon))),Z(o,(K(t),q(()=>K(t).label)))}),J(`click`,n,()=>de(K(t).id)),X(e,n)}),R(t),Ln(()=>si(t,`left: ${(K(te),q(()=>K(te).x))??``}px; top: ${(K(te),q(()=>K(te).y))??``}px;`)),X(e,t)};Ur(Ye,e=>{!s()&&K(j)&&e(Xe)});var Ze=U(Ye,2),Qe=e=>{var n=Ou(),r=H(n),i=H(r),a=H(i,!0);R(i);var o=U(i,2),s=H(o,!0);R(o);var c=U(o,2),l=H(c);R(c);var u=U(c,2),d=H(u),f=U(d,2);R(u),R(r),R(n),Ln(()=>{Z(a,(K(M),q(()=>K(M).title))),Z(s,(K(M),q(()=>K(M).description))),Z(l,`💡 ${(K(M),q(()=>K(M).hint))??``}`)}),J(`click`,d,fe),J(`click`,f,pe),J(`click`,r,Si(function(e){Ti.call(this,t,e)})),J(`click`,n,fe),X(e,n)};Ur(Ze,e=>{K(M)&&e(Qe)});var $e=U(Ze,2),et=e=>{var t=Au(),n=H(t),r=U(H(n),2);R(n);var i=U(n,2);Jr(i,5,()=>K(se),Wr,(e,t)=>{var n=ku(),r=H(n),i=H(r);R(r);var a=U(r,2),o=H(a,!0);R(a),R(n),Ln(()=>{ai(n,1,`history-row ${(K(t),q(()=>K(t).role))??``}`,`svelte-7yu1xi`),Z(i,`${(K(t),q(()=>K(t).role===`assistant`?`🐟 Fish`:`👤 You`))??``}:`),Z(o,(K(t),q(()=>K(t).content)))}),X(e,n)}),R(i),R(t),J(`click`,r,me),X(e,t)};Ur($e,e=>{K(N)&&e(et)});var tt=U($e,2),nt=e=>{var t=Nu(),n=U(H(t),2),r=H(n),i=H(r,!0);R(r);var a=U(r,2),o=e=>{var t=ju(),n=H(t);R(t),J(`click`,n,_e),X(e,t)},s=e=>{var t=Mu(),n=H(t);di(n),_n(n,!0);var r=U(n,2);R(t),Ln(()=>{n.disabled=K(ae),r.disabled=K(ae)}),gi(n,()=>K(I),e=>V(I,e)),J(`keydown`,n,be),J(`click`,r,ye),X(e,t)};Ur(a,e=>{!K(F)&&!K(ae)?e(o):e(s,-1)}),R(n),R(t),Ln(()=>{si(t,(K(A),q(()=>`left:${K(A).x+130}px; top:${K(A).y-45}px;`))),Z(i,K(ne))}),X(e,t)};Ur(tt,e=>{K(P)&&e(nt)});var rt=U(tt,2),it=H(rt,!0);R(rt),R(Be),bi(Be,e=>V(o,e),()=>K(o)),Ln(()=>{Ue=ai(He,1,`zdog-canvas svelte-7yu1xi`,null,Ue,{embedded:s()}),Z(it,K(u))}),J(`click`,Ve,ze),J(`pointerdown`,He,Fe),J(`pointermove`,He,Ie),J(`pointerup`,He,Le),J(`click`,He,Re),X(e,Be),Ke()}var Iu=Y(``);function Lu(e,t){Ge(t,!1);let n=B();Di(()=>{let e=Q.default.TAU,t={fur:`#8B6F4E`,furDark:`#6B5238`,furLight:`#B89B72`,faceCream:`#D8C29A`,mask:`#5A4632`,nose:`#3D2A1A`,eye:`#2A1C12`,cheek:`#E59A86`,claw:`#4A3826`,moss:`#7E8B5A`,branch:`#6B4A2A`,branchDk:`#4E3318`,leafGreen:`#5DA052`,leafDark:`#3A6A28`,leafLight:`#7FC04A`,canopy1:`#A7D88C`,canopy2:`#84C268`,canopyDk:`#4E7D3A`,skyTop:`#C9ECC0`,skyLow:`#E7F6DF`,hibiscusR:`#F0584C`,hibiscusC:`#FFC94D`,vine:`#4E7D3A`},r=new Q.default.Illustration({element:K(n),dragRotate:!1,resize:`window`,rotate:{x:-.18,y:-.1,z:0}}),i=new Q.default.Anchor({addTo:r});new Q.default.Shape({addTo:i,path:[{x:-2e3,y:-1100},{x:2e3,y:-1100},{x:2e3,y:0},{x:-2e3,y:0}],stroke:0,fill:!0,color:t.skyTop,translate:{z:-820}}),new Q.default.Shape({addTo:i,path:[{x:-2e3,y:0},{x:2e3,y:0},{x:2e3,y:700},{x:-2e3,y:700}],stroke:0,fill:!0,color:t.skyLow,translate:{z:-820}});function a(e,t,n,r,a=170){let o=[{x:e-t/2,y:320}];for(let n=0;n<=24;n++){let r=n/24;o.push({x:e-t/2+r*t,y:320-Math.sin(r*Math.PI)*a})}o.push({x:e+t/2,y:320}),new Q.default.Shape({addTo:i,path:o,stroke:0,fill:!0,color:n,translate:{z:r}})}a(-620,1e3,t.canopyDk,-720,180),a(540,900,`#436f24`,-720,175),a(-180,780,t.canopy2,-690,150),a(940,760,`#3f6a22`,-740,185),[{x:-560,y:-210,z:-440,s:1.3,c:t.canopy1},{x:-60,y:-260,z:-520,s:1,c:t.canopy2},{x:420,y:-190,z:-400,s:1.5,c:t.canopy1},{x:760,y:-240,z:-480,s:1.1,c:t.canopy2}].forEach(e=>{let n=new Q.default.Anchor({addTo:i,translate:{x:e.x,y:e.y,z:e.z},scale:e.s});new Q.default.Shape({addTo:n,stroke:110,color:e.c}),new Q.default.Shape({addTo:n,stroke:84,color:t.canopyDk,translate:{x:-64,y:12}}),new Q.default.Shape({addTo:n,stroke:90,color:e.c,translate:{x:60,y:6}})}),new Q.default.Shape({addTo:i,path:[{x:-2e3,y:240},{x:2e3,y:240},{x:2e3,y:900},{x:-2e3,y:900}],stroke:0,fill:!0,color:t.canopy2,translate:{z:-520}});let o=new Q.default.Anchor({addTo:r,translate:{x:0,y:30,z:80}});new Q.default.Shape({addTo:o,path:[{x:-380,y:-250},{x:380,y:-250}],stroke:36,color:t.branch}),new Q.default.Shape({addTo:o,path:[{x:-380,y:-264},{x:380,y:-264}],stroke:9,color:t.branchDk}),[[-230,-250],[-90,-250],[120,-250],[250,-250]].forEach(([e,n])=>{new Q.default.Shape({addTo:o,path:[{x:e-6,y:n-4},{x:e+8,y:n-18}],stroke:6,color:t.branchDk})}),[{x:-300,y:-236},{x:-150,y:-240},{x:60,y:-236},{x:320,y:-238}].forEach((e,n)=>{new Q.default.Ellipse({addTo:o,width:38,height:20,stroke:5,fill:!0,color:n%2?t.leafGreen:t.leafDark,translate:{x:e.x,y:e.y+22,z:10},rotate:{z:n%2?.5:-.4}})}),[{x:-350,len:120},{x:360,len:90}].forEach(e=>{new Q.default.Shape({addTo:o,path:[{x:e.x,y:-250},{bezier:[{x:e.x+16,y:-250+e.len*.4},{x:e.x-16,y:-250+e.len*.7},{x:e.x+6,y:-250+e.len}]}],stroke:5,color:t.vine,closed:!1})});let s=new Q.default.Anchor({addTo:o,translate:{x:270,y:-120,z:30}});new Q.default.Shape({addTo:s,path:[{x:0,y:-130},{x:0,y:-16}],stroke:5,color:t.vine});let c=new Q.default.Anchor({addTo:s});for(let n=0;n<5;n++){let r=e/5*n;new Q.default.Ellipse({addTo:c,width:26,height:38,fill:!0,stroke:0,color:t.hibiscusR,translate:{x:Math.cos(r)*14,y:Math.sin(r)*14},rotate:{z:r}})}new Q.default.Shape({addTo:c,stroke:16,color:t.hibiscusC,translate:{z:3}}),new Q.default.Shape({addTo:c,path:[{x:0,y:0},{x:0,y:-22}],stroke:3,color:`#E0A92E`,translate:{z:5}}),r.updateRenderGraph()}),Ci();var r=Iu();bi(r,e=>V(n,e),()=>K(n)),X(e,r),Ke()}var Ru=Y(`
`),zu=Y(`

`),Bu=Y(`

Session chat

`),Vu=Y(``),Hu=Y(`
`),Uu=Y(`

`),Wu=Y(`

Tap the sloth to open interactions 🌿

`,1);function Gu(e,t){Ge(t,!1);let n=Ai(),r=B(),i=Ei(t,`embedded`,8,!1),a=B(!1),o=B(null),s=B(!1),c=B(!1),l=B(``),u=B(``),d=null,f=null,p=B(!1),m=[{id:`wake`,icon:`👀`,label:`Wake`,title:`Gently wake Mossy`,description:`Give the sloth a slow little nudge to blink awake.`,hint:`Or just drag the sloth to stir it.`,angle:-90},{id:`climb`,icon:`🌿`,label:`Climb`,title:`Watch it climb`,description:`Mossy shuffles, very slowly, along the branch.`,hint:`Patience — sloths take their time.`,angle:-30},{id:`yawn`,icon:`🥱`,label:`Yawn`,title:`Make it yawn`,description:`A long, slow stretch and the widest of yawns.`,hint:`Contagious. You might yawn too.`,angle:30},{id:`snack`,icon:`🌺`,label:`Snack`,title:`Offer a hibiscus`,description:`A hibiscus is a sloth's rare favorite treat.`,hint:`The flower hangs to the right of the branch.`,angle:90},{id:`chat`,icon:`💬`,label:`Chat`,title:`Talk with Mossy`,description:`The sloth has slow, gentle wisdom about rest and patience.`,hint:`Reply to Mossy's thought bubbles below.`,angle:150}],h=B([{role:`assistant`,content:`Mmm… hello. 🌿 Ask me about rest, patience, or slowing down.`}]),g=[`The canopy is quiet today. What is on your mind?`,`I moved one branch over since sunrise. That feels like plenty.`,`Do you ever rush right past the good parts?`,`Resting is not the same as falling behind, you know.`,`I am watching a single leaf drift. Want to watch with me?`,`What would happen if you went a little slower today?`],_,v,y,b,x;function S(){n(`back`)}function C(e){V(o,m.find(t=>t.id===e)),V(a,!1)}function w(){V(o,null)}function T(){if(K(o)){if(K(o).id===`wake`&&_?.(),K(o).id===`climb`&&v?.(),K(o).id===`yawn`&&y?.(),K(o).id===`snack`&&b?.(),K(o).id===`chat`){V(o,null);return}V(o,null)}}function E(){V(s,!K(s)),K(s)&&(V(a,!1),V(o,null))}function D(e,t=!1){f&&clearTimeout(f),V(l,e),V(c,!0),t||(f=setTimeout(()=>{V(c,!1)},13e3))}function O(){d&&clearTimeout(d),d=setTimeout(()=>{let e=g[Math.floor(Math.random()*g.length)];D(e),O()},22e3+Math.random()*14e3)}async function ee(){let e=K(u).trim();!e||K(p)||(V(u,``),V(c,!1),await te(e))}function k(e){e.key===`Enter`&&!e.shiftKey&&(e.preventDefault(),ee())}async function te(e){if(!K(p)){V(p,!0),D(`…`,!0),x?.(),V(h,[...K(h),{role:`user`,content:e}]);try{let e={model:`gpt-4o-mini`,messages:[{role:`system`,content:`You are Mossy, a serene, sleepy three-toed sloth who lives high in the rainforest canopy. You speak slowly and warmly in short, unhurried messages (2-4 sentences max). You use canopy, leaf, and slowness metaphors naturally. +Your specialty is helping people think about: +- Rest and the quiet wisdom of slowing down +- Patience, and letting things unfold in their own time +- Being gentle with yourself when you feel behind +- Savoring small, ordinary moments +You give calm, insightful, slightly dreamy advice. You never rush and you never lecture. Keep it warm, short, and wise.`},...K(h)],max_tokens:256,temperature:.9},t=await fetch(`https://api.openai.com/v1/chat/completions`,{method:`POST`,headers:{"Content-Type":`application/json`,Authorization:`Bearer undefined`},body:JSON.stringify(e)});if(!t.ok){let e=await t.json();throw console.error(`OpenAI Internal Error JSON:`,e),Error(`API returned status ${t.status}`)}let n=(await t.json())?.choices?.[0]?.message?.content;if(n){let e=n.trim();V(h,[...K(h),{role:`assistant`,content:e}]),D(e,!0)}else D(`Mmm… my mind drifted off. Ask me again?`,!0)}catch(e){console.error(`OpenAI Catch block triggered:`,e),V(h,K(h).slice(0,-1)),D(`Mmm… my mind drifted off. Ask me again?`,!0)}finally{V(p,!1)}}}Di(()=>{if(!K(r))return;let e=Q.default.TAU,t={fur:`#8B6F4E`,furDark:`#6B5238`,furLight:`#B89B72`,faceCream:`#D8C29A`,mask:`#5A4632`,nose:`#3D2A1A`,eye:`#2A1C12`,cheek:`#E59A86`,claw:`#4A3826`,moss:`#7E8B5A`,branch:`#6B4A2A`,branchDk:`#4E3318`,leafGreen:`#5DA052`,leafDark:`#3A6A28`,leafLight:`#7FC04A`,canopy1:`#A7D88C`,canopy2:`#84C268`,canopyDk:`#4E7D3A`,skyTop:`#C9ECC0`,skyLow:`#E7F6DF`,hibiscusR:`#F0584C`,hibiscusC:`#FFC94D`,vine:`#4E7D3A`},n=new Q.default.Illustration({element:K(r),dragRotate:!1,resize:`window`,rotate:{x:-.16,y:-.18,z:0}}),s=new Q.default.Anchor({addTo:n,translate:{x:0,y:30,z:80},scale:1.4}),c=new Q.default.Anchor({addTo:s}),l=new Q.default.Anchor({addTo:c}),u=new Q.default.Anchor({addTo:l,translate:{y:38,z:-28},rotate:{z:-.04}});new Q.default.Shape({addTo:u,stroke:138,color:t.fur}),new Q.default.Shape({addTo:u,stroke:120,color:t.furDark,translate:{y:20,z:-34}}),new Q.default.Shape({addTo:u,stroke:108,color:t.furDark,translate:{y:46,z:-20}}),[{y:-34,z:46,s:60},{y:2,z:54,s:74},{y:34,z:50,s:66},{y:60,z:38,s:48}].forEach(e=>{new Q.default.Shape({addTo:u,stroke:e.s,color:t.furLight,translate:{y:e.y,z:e.z}})}),new Q.default.Shape({addTo:u,stroke:50,color:t.faceCream,translate:{y:10,z:66}}),[{x:-30,y:-30,z:72,s:17,c:t.moss},{x:28,y:6,z:76,s:14,c:t.moss},{x:-16,y:46,z:66,s:15,c:t.furDark}].forEach(e=>{new Q.default.Shape({addTo:u,stroke:e.s,color:e.c,translate:{x:e.x,y:e.y,z:e.z}})});function p(e,n,r,i,a,o,s,c=20){let u=new Q.default.Anchor({addTo:l,translate:{x:n*e,y:r,z:s}});new Q.default.Shape({addTo:u,path:[{x:0,y:0,z:0},{bezier:[{x:i*e,y:-55,z:-8},{x:a*e,y:-150,z:-18},{x:a*e,y:o,z:-28}]}],stroke:c,color:t.fur,fill:!1});let d=new Q.default.Anchor({addTo:u,translate:{x:a*e,y:o-4,z:-28},rotate:{z:-.18*e}});for(let n=0;n<3;n++)new Q.default.Shape({addTo:d,path:[{x:(n-1)*8,y:0},{bezier:[{x:(n-1)*8-3*e,y:8},{x:(n-1)*8-6*e,y:15},{x:(n-1)*8-4*e,y:23}]}],stroke:6,color:t.claw,closed:!1});return u}let m=p(-1,46,8,20,24,-244,20,22),h=p(1,46,8,20,24,-244,20,22),g=p(-1,34,88,30,68,-236,-24,19),S=p(1,34,88,30,68,-236,-24,19),C=new Q.default.Anchor({addTo:l,translate:{x:0,y:-78,z:10}});new Q.default.Shape({addTo:C,stroke:128,color:t.fur}),new Q.default.Ellipse({addTo:C,width:96,height:84,stroke:16,color:t.faceCream,fill:!0,translate:{z:50}}),new Q.default.Ellipse({addTo:C,width:30,height:50,stroke:6,color:t.mask,fill:!0,translate:{x:-26,y:-4,z:58},rotate:{z:.35}}),new Q.default.Ellipse({addTo:C,width:30,height:50,stroke:6,color:t.mask,fill:!0,translate:{x:26,y:-4,z:58},rotate:{z:-.35}}),new Q.default.Shape({addTo:C,stroke:15,color:t.eye,translate:{x:-24,y:-2,z:66}}),new Q.default.Shape({addTo:C,stroke:15,color:t.eye,translate:{x:24,y:-2,z:66}}),new Q.default.Shape({addTo:C,stroke:5,color:`#FFFFFF`,translate:{x:-27,y:-5,z:72}}),new Q.default.Shape({addTo:C,stroke:5,color:`#FFFFFF`,translate:{x:21,y:-5,z:72}});let w=new Q.default.Shape({addTo:C,stroke:16,color:t.faceCream,translate:{x:-24,y:-12,z:67}}),T=new Q.default.Shape({addTo:C,stroke:16,color:t.faceCream,translate:{x:24,y:-12,z:67}});new Q.default.Shape({addTo:C,stroke:18,color:t.cheek,translate:{x:-40,y:14,z:44}}),new Q.default.Shape({addTo:C,stroke:18,color:t.cheek,translate:{x:40,y:14,z:44}}),new Q.default.Shape({addTo:C,stroke:50,color:t.faceCream,translate:{x:0,y:13,z:52}}),new Q.default.Shape({addTo:C,stroke:16,color:t.nose,translate:{x:0,y:8,z:74}}),new Q.default.Shape({addTo:C,stroke:6,color:`#000`,translate:{x:-4,y:9,z:80}}),new Q.default.Shape({addTo:C,stroke:6,color:`#000`,translate:{x:4,y:9,z:80}});let E=new Q.default.Shape({addTo:C,path:[{x:-36,y:-26},{x:-14,y:-30}],stroke:7,color:t.furDark,translate:{z:58},rotate:{z:-.1}}),ee=new Q.default.Shape({addTo:C,path:[{x:14,y:-30},{x:36,y:-26}],stroke:7,color:t.furDark,translate:{z:58},rotate:{z:.1}}),k=new Q.default.Shape({addTo:C,stroke:3.5,color:t.nose,closed:!1,path:[{x:-6,y:22,z:60},{bezier:[{x:-3,y:25,z:60},{x:3,y:25,z:60},{x:6,y:22,z:60}]}]}),A=-6,j=-6;function M(e){let t=-6,n=-.1,r=-6,i=6,a=22,o=25,s=25;e===`sleepy`?(t=-6,n=-.1,a=22,o=25,s=25):e===`content`?(t=-12,n=-.05,a=20,o=27,s=27):e===`happy`?(t=-14,n=.05,a=19,o=29,s=29,r=-8,i=8):e===`surprised`?(t=-16,n=-.25,a=22,o=30,s=30,r=-5,i=5):e===`grumpy`?(t=-8,n=-.5,a=25,o=20,s=20):e===`yawn`&&(t=-16,n=-.2,a=18,o=38,s=38,r=-9,i=9),A=t,j=t,E.rotate.z=n,ee.rotate.z=-n,k.path=[{x:r,y:a,z:60},{bezier:[{x:-3,y:o,z:60},{x:3,y:s,z:60},{x:i,y:a,z:60}]}],k.updatePath()}M(`sleepy`);let N=0,P=!0,F=!1,ne=!1,I=0;function re(){if(!P)return;N++,F||(s.translate.y=30+Math.sin(N/55)*5,ne||(c.rotate.z=Math.sin(N/80)*.04)),ne&&(c.rotate.z=Math.sin(N/4)*.07),I++;let e=0;if(I>240){let t=I-240;t<16?e=Math.sin(t/16*Math.PI)*13:I=0}w.translate.y=A+e,T.translate.y=j+e,n.updateRenderGraph(),requestAnimationFrame(re)}re();function ie(){if(F)return;F=!0,ne=!0,M(`surprised`);let e=$.timeline({onComplete:()=>{M(`sleepy`),F=!1,ne=!1,c.rotate.z=0}});e.to(m.rotate,{duration:.25,z:.15,ease:`power2.out`}),e.to(h.rotate,{duration:.25,z:-.15,ease:`power2.out`},`<`),e.add(()=>M(`grumpy`),.5),e.to(m.rotate,{duration:.6,z:0,ease:`power1.inOut`},.7),e.to(h.rotate,{duration:.6,z:0,ease:`power1.inOut`},`<`),e.add(()=>{ne=!1,c.rotate.z=0,M(`content`)},1),e.to({},{duration:.8}),te(`Someone just nudged me awake from my nap. Give me short, gentle sloth wisdom about waking slowly and not rushing into the day.`)}function ae(){if(F)return;F=!0,M(`content`);let e=$.timeline({onComplete:()=>{M(`sleepy`),F=!1}});e.to(h.rotate,{duration:.9,z:-.35,x:.2,ease:`sine.inOut`}),e.to(s.translate,{duration:1.6,x:150,ease:`power1.inOut`},`-=0.3`),e.to(c.rotate,{duration:1.6,z:-.08,ease:`power1.inOut`},`<`),e.to(h.rotate,{duration:.7,z:0,x:0,ease:`sine.inOut`},`<`),e.to({},{duration:.6}),e.to(m.rotate,{duration:.9,z:.35,x:.2,ease:`sine.inOut`}),e.to(s.translate,{duration:1.8,x:0,ease:`power1.inOut`},`-=0.3`),e.to(c.rotate,{duration:1.8,z:0,ease:`power1.inOut`},`<`),e.to(m.rotate,{duration:.7,z:0,x:0,ease:`sine.inOut`},`<`)}function oe(){if(F)return;F=!0;let e=$.timeline({onComplete:()=>{M(`sleepy`),F=!1}});e.add(()=>M(`content`)),e.to(C.rotate,{duration:.6,x:-.15,ease:`sine.inOut`}),e.add(()=>M(`yawn`),.6),e.to([m.rotate,h.rotate,g.rotate,S.rotate],{duration:.9,x:-.4,ease:`power2.out`},`<`),e.to(s.translate,{duration:.9,y:18,ease:`power2.out`},`<`),e.to({},{duration:1}),e.add(()=>M(`content`)),e.to([m.rotate,h.rotate,g.rotate,S.rotate],{duration:1,x:0,ease:`power1.inOut`}),e.to(C.rotate,{duration:1,x:0,ease:`power1.inOut`},`<`),e.to(s.translate,{duration:1,y:30,ease:`power1.inOut`},`<`)}function se(){if(F)return;F=!0,M(`happy`);let e=$.timeline({onComplete:()=>{M(`content`),F=!1}});e.to(s.translate,{duration:1.2,x:90,y:16,ease:`power1.inOut`}),e.to(c.rotate,{duration:1.2,y:.3,z:-.1,ease:`power1.inOut`},`<`),e.to(h.rotate,{duration:.6,z:-.6,x:.5,ease:`back.out(1.4)`},`-=0.4`),e.to(h.rotate,{duration:.5,z:-.2,x:.2,ease:`sine.inOut`});for(let t=0;t<3;t++)e.to(C.rotate,{duration:.28,x:-.12,ease:`sine.inOut`}),e.to(C.rotate,{duration:.28,x:0,ease:`sine.inOut`});e.to(h.rotate,{duration:.6,z:0,x:0,ease:`power2.in`}),e.to(s.translate,{duration:1.4,x:0,y:30,ease:`power1.inOut`}),e.to(c.rotate,{duration:1.4,y:0,z:0,ease:`power1.inOut`},`<`),te(`I just had a sweet hibiscus flower, my favorite treat. Share a short, dreamy thought about savoring small pleasures slowly.`)}function ce(){if(F)return;F=!0,M(`content`);let e=$.timeline({onComplete:()=>{M(`sleepy`),F=!1}});e.to(C.rotate,{duration:.7,z:.06,ease:`sine.inOut`}),e.to(m.rotate,{duration:.7,z:.18,x:.1,ease:`sine.inOut`},`<`),e.to(C.rotate,{duration:.7,z:-.05,ease:`sine.inOut`}),e.to(m.rotate,{duration:.7,z:0,x:0,ease:`sine.inOut`},`<`),e.to(C.rotate,{duration:.7,z:0,ease:`sine.inOut`})}_=ie,v=ae,y=oe,b=se,x=ce;let le={x:250,y:-110,r:90},L=!1,ue=0,de=0,fe=!1,pe=0,me=.006;function he(e){L=!0,fe=!1,pe=0,ue=e.clientX,de=e.clientY;try{K(r).setPointerCapture(e.pointerId)}catch{}}function ge(t){if(!L)return;let r=t.clientX-ue,i=t.clientY-de;ue=t.clientX,de=t.clientY;let a=Math.sqrt(r*r+i*i);pe+=a,a>10&&(fe=!0),c.rotate.y+=r*me,c.rotate.x+=i*me,c.rotate.x=Math.max(-e/9,Math.min(e/9,c.rotate.x)),n.updateRenderGraph()}function _e(){L=!1,pe>70&&!F&&ie()}function ve(e){if(fe)return;let t=K(r).getBoundingClientRect(),n=e.clientX-t.left-t.width/2,i=e.clientY-t.top-t.height/2;if(Math.hypot(n-le.x,i-le.y)D(`Mmm… I'm thinking about rest and patience. What about you? 🌿`),4e3),O()),()=>{P=!1,d&&clearTimeout(d),f&&clearTimeout(f),K(r)?.removeEventListener(`click`,ve),K(r)?.removeEventListener(`pointerdown`,he),K(r)?.removeEventListener(`pointermove`,ge),window.removeEventListener(`pointerup`,_e)}}),Ci();var A=Wu(),j=fn(A),M=e=>{var t=Ru(),n=H(t),r=U(n,2),i=H(r,!0);R(r),R(t),Ln(()=>Z(i,K(s)?`Close history`:`💬 History`)),J(`click`,n,S),J(`click`,r,E),X(e,t)};Ur(j,e=>{i()||e(M)});var N=U(j,2),P=e=>{var t=Bu(),n=H(t),r=U(H(n),2);R(n);var i=U(n,2);Jr(i,5,()=>K(h),Wr,(e,t)=>{var n=zu(),r=H(n),i=H(r,!0);R(r);var a=U(r,2),o=H(a,!0);R(a),R(n),Ln(()=>{ai(n,1,`history-msg ${(K(t),q(()=>K(t).role))??``}`,`svelte-1ah546j`),Z(i,(K(t),q(()=>K(t).role===`assistant`?`🦥 Mossy`:`You`))),Z(o,(K(t),q(()=>K(t).content)))}),X(e,n)}),R(i),R(t),J(`click`,r,()=>V(s,!1)),X(e,t)};Ur(N,e=>{!i()&&K(s)&&e(P)});var F=U(N,2),ne=e=>{Lu(e,{})};Ur(F,e=>{i()||e(ne)});var I=U(F,2);let re;bi(I,e=>V(r,e),()=>K(r));var ie=U(I,2),ae=e=>{var t=Hu(),n=H(t);Jr(n,1,()=>m,Wr,(e,t,n)=>{let r=yt(()=>q(()=>n/m.length*360-90)),i=yt(()=>(wr(K(r)),q(()=>K(r)*(Math.PI/180)))),a=yt(()=>110);var o=Vu(),s=H(o),c=H(s,!0);R(s);var l=U(s,2),u=H(l,!0);R(l),R(o),Ln((e,r)=>{si(o,` + left: calc(50% + ${e??``}px - 36px); + top: calc(50% + ${r??``}px - 36px); + animation-delay: ${n*55}ms; + `),Z(c,(K(t),q(()=>K(t).icon))),Z(u,(K(t),q(()=>K(t).label)))},[()=>(wr(K(i)),wr(K(a)),q(()=>Math.cos(K(i))*K(a))),()=>(wr(K(i)),wr(K(a)),q(()=>Math.sin(K(i))*K(a)))]),J(`click`,o,()=>C(K(t).id)),X(e,o)});var r=U(n,2);R(t),J(`click`,r,()=>{V(a,!1)}),X(e,t)};Ur(ie,e=>{!i()&&K(a)&&e(ae)});var oe=U(ie,2),se=e=>{var t=Uu(),n=H(t),r=H(n),i=H(r,!0);R(r);var a=U(r,2),s=H(a,!0);R(a);var c=U(a,2),l=H(c,!0);R(c);var u=U(c,2),d=H(u);R(u);var f=U(u,2),p=H(f),m=U(p,2);R(f),R(n),R(t),Ln(()=>{Z(i,(K(o),q(()=>K(o).icon))),Z(s,(K(o),q(()=>K(o).title))),Z(l,(K(o),q(()=>K(o).description))),Z(d,`✦ ${(K(o),q(()=>K(o).hint))??``}`)}),J(`click`,p,T),J(`click`,m,w),J(`click`,t,xi(()=>V(o,null))),X(e,t)};Ur(oe,e=>{K(o)&&e(se)});var ce=U(oe,2);let le;var L=H(ce),ue=U(H(L),2),de=H(ue,!0);R(ue),R(L);var fe=U(L,2),pe=H(fe);vn(pe);var me=U(pe,2),he=H(me,!0);R(me),R(fe),R(ce),Pe(2),Ln(e=>{re=ai(I,1,`scene svelte-1ah546j`,null,re,{embedded:i()}),le=ai(ce,1,`thought-wrap svelte-1ah546j`,null,le,{visible:K(c)}),Z(de,K(l)),pe.disabled=K(p),me.disabled=e,Z(he,K(p)?`…`:`➤`)},[()=>(K(p),K(u),q(()=>K(p)||!K(u).trim()))]),gi(pe,()=>K(u),e=>V(u,e)),J(`keydown`,pe,k),J(`click`,me,ee),X(e,A),Ke()}var Ku=Y(``);function qu(e,t){Ge(t,!1);let n=B();Di(()=>{Q.default.TAU;let e={skyTop:`#BFD9EF`,skyLow:`#E7F1FA`,sun:`#FFF7E6`,cloud:`#FFFFFF`,cloudDim:`#EAF2FA`},t=new Q.default.Illustration({element:K(n),dragRotate:!1,resize:`window`,rotate:{x:-.1,y:.18,z:0},zoom:1}),r=new Q.default.Anchor({addTo:t});new Q.default.Shape({addTo:r,path:[{x:-2200,y:-1200},{x:2200,y:-1200},{x:2200,y:0},{x:-2200,y:0}],stroke:0,fill:!0,color:e.skyTop,translate:{z:-860}}),new Q.default.Shape({addTo:r,path:[{x:-2200,y:0},{x:2200,y:0},{x:2200,y:1e3},{x:-2200,y:1e3}],stroke:0,fill:!0,color:e.skyLow,translate:{z:-860}}),new Q.default.Shape({addTo:r,stroke:360,color:e.sun,translate:{x:520,y:-260,z:-840}}),[{x:-460,y:-250,z:-560,s:1.3},{x:-120,y:-320,z:-640,s:.9},{x:380,y:-210,z:-520,s:1.5},{x:120,y:-300,z:-600,s:1},{x:760,y:-270,z:-640,s:1.2}].forEach(t=>{let n=new Q.default.Anchor({addTo:r,translate:{x:t.x,y:t.y,z:t.z},scale:t.s});new Q.default.Shape({addTo:n,stroke:100,color:e.cloud}),new Q.default.Shape({addTo:n,stroke:76,color:e.cloudDim,translate:{x:-58,y:12}}),new Q.default.Shape({addTo:n,stroke:82,color:e.cloud,translate:{x:56,y:6}}),new Q.default.Shape({addTo:n,stroke:64,color:e.cloudDim,translate:{x:-98,y:16}})}),[{x:-300,y:-360,z:-700},{x:-240,y:-340,z:-700},{x:600,y:-380,z:-720}].forEach(e=>{let t=new Q.default.Anchor({addTo:r,translate:e,scale:.5});new Q.default.Shape({addTo:t,path:[{x:-14,y:6},{x:0,y:0},{x:14,y:6}],stroke:3,color:`#9FB4C6`,closed:!1})}),t.updateRenderGraph()}),Ci();var r=Ku();bi(r,e=>V(n,e),()=>K(n)),X(e,r),Ke()}var Ju=Y(`
`),Yu=Y(`

`),Xu=Y(`

Session chat

`),Zu=Y(``),Qu=Y(`
`),$u=Y(`

`),ed=Y(`

Tap the dove to open interactions 🕊️

Made by MakMin
`,1);function td(e,t){Ge(t,!1);let n=Ai(),r=B(),i=Ei(t,`embedded`,8,!1),a=B(!1),o=B(null),s=B(!1),c=B(!1),l=B(``),u=B(``),d=null,f=null,p=B(!1),m=[{id:`startle`,icon:`😯`,label:`Startle`,title:`Startle the dove`,description:`A sudden poke sends Olive into a flurry of wingbeats — then calm returns.`,hint:`Or give the dove a quick tug.`,angle:-90},{id:`fly`,icon:`🕊️`,label:`Fly`,title:`Take flight`,description:`Olive lifts off and circles on a slow, easy loop.`,hint:`Watch the wings open wide.`,angle:-30},{id:`coo`,icon:`🎵`,label:`Coo`,title:`Make it coo`,description:`A soft chest-puff and a gentle, bobbing coo.`,hint:`Doves are happiest when they sing.`,angle:30},{id:`peace`,icon:`🌿`,label:`Peace`,title:`Offer peace`,description:`Olive bows her head and holds out an olive branch.`,hint:`The dove's oldest gift.`,angle:90},{id:`chat`,icon:`💬`,label:`Chat`,title:`Talk with Olive`,description:`The dove has soft wisdom about calm, hope, and letting go.`,hint:`Reply to Olive's thought bubbles below.`,angle:150}],h=B([{role:`assistant`,content:`Coo… peace to you. 🕊️ Ask me about calm, letting go, or finding hope.`}]),g=[`The sky is wide and quiet today. What is weighing on you?`,`A grudge is heavy to carry on small wings. Is there one you could set down?`,`Storms pass. They always do. What are you waiting out right now?`,`Peace is not the absence of noise — it is a soft place inside it.`,`I carry an olive branch for a reason. Who might need yours?`,`When did you last let yourself simply drift on the wind?`],_,v,y,b,x;function S(){n(`back`)}function C(e){V(o,m.find(t=>t.id===e)),V(a,!1)}function w(){V(o,null)}function T(){if(K(o)){if(K(o).id===`startle`&&_?.(),K(o).id===`fly`&&v?.(),K(o).id===`coo`&&y?.(),K(o).id===`peace`&&b?.(),K(o).id===`chat`){V(o,null);return}V(o,null)}}function E(){V(s,!K(s)),K(s)&&(V(a,!1),V(o,null))}function D(e,t=!1){f&&clearTimeout(f),V(l,e),V(c,!0),t||(f=setTimeout(()=>{V(c,!1)},13e3))}function O(){d&&clearTimeout(d),d=setTimeout(()=>{let e=g[Math.floor(Math.random()*g.length)];D(e),O()},18e3+Math.random()*13e3)}async function ee(){let e=K(u).trim();!e||K(p)||(V(u,``),V(c,!1),await te(e))}function k(e){e.key===`Enter`&&!e.shiftKey&&(e.preventDefault(),ee())}async function te(e){if(!K(p)){V(p,!0),D(`…`,!0),x?.(),V(h,[...K(h),{role:`user`,content:e}]);try{let e={model:`gpt-4o-mini`,messages:[{role:`system`,content:`You are Olive, a gentle, serene dove who carries a quiet sense of peace. You speak softly and warmly in short, calming messages (2-4 sentences max). You use sky, wind, feather, and olive-branch metaphors naturally. +Your specialty is helping people think about: +- Finding calm in the middle of conflict or worry +- Letting go of grudges and old resentments +- Holding onto hope after something hard +- Being gentle with yourself and with others +You give soft, reassuring, hopeful advice. You never preach. Keep it warm, short, and peaceful.`},...K(h)],max_tokens:256,temperature:.9},t=await fetch(`https://api.openai.com/v1/chat/completions`,{method:`POST`,headers:{"Content-Type":`application/json`,Authorization:`Bearer undefined`},body:JSON.stringify(e)});if(!t.ok){let e=await t.json();throw console.error(`OpenAI Internal Error JSON:`,e),Error(`API returned status ${t.status}`)}let n=(await t.json())?.choices?.[0]?.message?.content;if(n){let e=n.trim();V(h,[...K(h),{role:`assistant`,content:e}]),D(e,!0)}else D(`Coo… the wind carried my thought away. Ask me again?`,!0)}catch(e){console.error(`OpenAI Catch block triggered:`,e),V(h,K(h).slice(0,-1)),D(`Coo… the wind carried my thought away. Ask me again?`,!0)}finally{V(p,!1)}}}Di(()=>{if(!K(r))return;let e=Q.default.TAU,t={white:`#F4F2EE`,mid:`#E8E5DE`,shade:`#DAD6CE`,breast:`#FBF9F5`,beak:`#D89A6E`,beakDk:`#C07E50`,cheek:`#F0A8A0`,eye:`#1A1410`,brow:`#CFC9BE`,crest:`#E2DED6`,foot:`#D89A6E`,oliveStem:`#6E8B3D`,oliveLeaf:`#8AA653`,olive:`#46662C`,skyTop:`#BFD9EF`,skyLow:`#E7F1FA`,sun:`#FFF7E6`,cloud:`#FFFFFF`,cloudDim:`#EAF2FA`},n=new Q.default.Illustration({element:K(r),dragRotate:!1,resize:`window`,rotate:{x:-.1,y:.18,z:0},zoom:1}),s=new Q.default.Anchor({addTo:n}),c=new Q.default.Anchor({addTo:s,translate:{x:0,y:0,z:0},scale:1.35}),l=new Q.default.Anchor({addTo:c}),u=new Q.default.Anchor({addTo:l});new Q.default.Ellipse({addTo:u,width:138,height:42,stroke:18,color:t.white,fill:!0,translate:{y:8}}),new Q.default.Ellipse({addTo:u,width:120,height:30,stroke:10,color:t.shade,fill:!0,translate:{y:18,z:-4}}),new Q.default.Ellipse({addTo:u,width:48,height:46,stroke:14,color:t.breast,fill:!0,translate:{x:-58,y:2,z:6}}),new Q.default.Ellipse({addTo:u,width:26,height:30,stroke:12,color:t.white,fill:!0,translate:{x:-74,y:-6,z:2}}),new Q.default.Shape({addTo:u,path:[{x:-14,y:26},{x:-14,y:34}],stroke:3,color:t.foot}),new Q.default.Shape({addTo:u,path:[{x:2,y:26},{x:2,y:34}],stroke:3,color:t.foot}),[-14,2].forEach(e=>{for(let n=-1;n<=1;n++)new Q.default.Shape({addTo:u,path:[{x:e,y:34},{x:e+n*4,y:38}],stroke:2,color:t.foot})});let p=new Q.default.Anchor({addTo:u,translate:{x:66,y:12}});[-24,-14,-5,5,14,24].forEach((e,n)=>{new Q.default.Shape({addTo:p,path:[{x:0,y:0},{bezier:[{x:25,y:e*.3},{x:55,y:e*.65},{x:78,y:e*.85}]}],stroke:n===0||n===5?4:6,color:n===0||n===5?t.shade:t.mid})});let m=[{x:0,y:0},{bezier:[{x:-30,y:-20},{x:-70,y:-70},{x:-50,y:-150}]},{bezier:[{x:-20,y:-130},{x:20,y:-110},{x:60,y:-80}]},{bezier:[{x:90,y:-55},{x:90,y:-20},{x:60,y:-5}]},{bezier:[{x:40,y:4},{x:20,y:4},{x:0,y:0}]}],h=new Q.default.Anchor({addTo:u,translate:{x:40,y:8,z:-18}});new Q.default.Shape({addTo:h,path:m,stroke:3,color:t.shade,fill:!0});let g=new Q.default.Anchor({addTo:u,translate:{x:40,y:8,z:18}});new Q.default.Shape({addTo:g,path:m,stroke:3,color:t.mid,fill:!0});let S=new Q.default.Anchor({addTo:u,translate:{x:-82,y:-10},rotate:{y:-.5}});new Q.default.Shape({addTo:S,stroke:34,color:t.white}),new Q.default.Ellipse({addTo:S,diameter:30,stroke:8,color:t.shade,fill:!0,translate:{z:-8}}),[-.3,0,.3].forEach((e,n)=>new Q.default.Shape({addTo:S,path:[{x:0,y:-16},{x:n*4,y:-26,z:2}],stroke:3,color:t.crest,rotate:{z:e}})),new Q.default.Shape({addTo:S,stroke:9,color:t.cheek,translate:{x:-3,y:6,z:13}}),new Q.default.Shape({addTo:S,stroke:7,color:t.eye,translate:{x:-3,y:-3,z:16}}),new Q.default.Shape({addTo:S,stroke:2.5,color:`#fff`,translate:{x:-4,y:-5,z:18}}),new Q.default.Shape({addTo:S,stroke:5,color:t.eye,translate:{x:13,y:-3,z:8}});let C=new Q.default.Shape({addTo:S,path:[{x:-9,y:-10},{x:3,y:-12}],stroke:3,color:t.brow,translate:{z:15}}),w=new Q.default.Shape({addTo:S,stroke:8,color:t.white,translate:{x:-3,y:-11,z:19}}),T=new Q.default.Anchor({addTo:S,translate:{x:-14,y:3,z:11}});new Q.default.Shape({addTo:T,path:[{x:0,y:-3},{x:-22,y:1},{x:0,y:3}],stroke:2,color:t.beak,fill:!0});let E=new Q.default.Anchor({addTo:T,translate:{x:0,y:3}});new Q.default.Shape({addTo:E,path:[{x:0,y:0},{x:-20,y:0},{x:0,y:4}],stroke:2,color:t.beakDk,fill:!0});let ee=new Q.default.Anchor({addTo:T,translate:{x:-24,y:2,z:0}}),k=[];k.push(new Q.default.Shape({addTo:ee,path:[{x:0,y:0},{x:-22,y:-6}],stroke:2.5,color:t.oliveStem,visible:!1})),[[-6,-2,.6],[-13,-5,.3],[-20,-8,.5]].forEach(([e,n,r])=>k.push(new Q.default.Ellipse({addTo:ee,width:10,height:5,stroke:2,color:t.oliveLeaf,fill:!0,translate:{x:e,y:n},rotate:{z:r},visible:!1}))),k.push(new Q.default.Shape({addTo:ee,stroke:5,color:t.olive,translate:{x:-9,y:-1},visible:!1}));let A=-11;function j(e){let t=0,n=-11,r=0;e===`calm`?(t=0,n=-10,r=0):e===`content`?(t=-.05,n=-11,r=.12):e===`happy`?(t=.12,n=-13,r=.28):e===`alarmed`?(t=-.22,n=-14,r=.38):e===`curious`&&(t=.18,n=-12,r=.06),C.rotate.z=t,A=n,w.translate.y=n,E.rotate.z=r}j(`calm`);let M=0,N=!0,P=!1,F=0,ne=0,I={amp:.09,speed:1};function re(){if(!N)return;M++,ne+=.13*I.speed,g.rotate.z=Math.sin(ne)*I.amp,h.rotate.z=Math.sin(ne-.5)*I.amp,P||(c.translate.y=Math.sin(M/40)*4,S.rotate.z=Math.sin(M/46)*.05,p.rotate.z=Math.sin(M/60)*.04),F++;let e=0;if(F>200){let t=F-200;t<12?e=Math.sin(t/12*Math.PI)*8:F=0}w.translate.y=A+e,n.updateRenderGraph(),requestAnimationFrame(re)}re();function ie(){if(P)return;P=!0,j(`alarmed`),$.to(I,{duration:.1,amp:.5,speed:3});let e=$.timeline({onComplete:()=>{j(`calm`),$.to(I,{duration:.7,amp:.09,speed:1}),P=!1,c.translate.y=0,l.rotate.z=0}});e.to(c.translate,{duration:.12,y:-28,ease:`power2.out`}),e.to(l.rotate,{duration:.12,z:.14,ease:`power2.out`},`<`),e.to(c.translate,{duration:.6,y:0,ease:`bounce.out`}),e.to(l.rotate,{duration:.6,z:0,ease:`power1.out`},`<`),e.to({},{duration:.6}),te(`Someone just startled me into a flurry of feathers. Share short, gentle dove wisdom about finding calm again after a fright.`)}function ae(){if(P)return;P=!0,j(`happy`),$.to(I,{duration:.2,amp:.55,speed:3});let e=$.timeline({onComplete:()=>{j(`calm`),$.to(I,{duration:.7,amp:.09,speed:1}),P=!1,c.translate.x=0,c.translate.y=0,c.translate.z=0,l.rotate.z=0,l.rotate.y=0,l.rotate.x=0}});e.to(c.translate,{duration:.6,x:-120,y:-90,z:60,ease:`power2.inOut`}),e.to(l.rotate,{duration:.6,z:.3,x:.1,ease:`power2.inOut`},`<`),e.to(c.translate,{duration:.6,x:0,y:-150,z:120,ease:`power2.inOut`}),e.to(l.rotate,{duration:.6,z:0,y:-.4,ease:`power2.inOut`},`<`),e.to(c.translate,{duration:.6,x:130,y:-90,z:60,ease:`power2.inOut`}),e.to(l.rotate,{duration:.6,z:-.3,y:0,ease:`power2.inOut`},`<`),e.to(c.translate,{duration:.6,x:0,y:0,z:0,ease:`power2.inOut`}),e.to(l.rotate,{duration:.6,z:0,x:0,ease:`power2.inOut`},`<`)}function oe(){if(P)return;P=!0,j(`content`);let e=$.timeline({onComplete:()=>{j(`calm`),P=!1,S.rotate.z=0}});e.to(u.scale,{duration:.3,x:1.05,y:1.05,ease:`sine.inOut`});for(let t=0;t<3;t++)e.add(()=>j(`happy`)),e.to(S.rotate,{duration:.22,z:.12,ease:`sine.inOut`}),e.add(()=>j(`content`)),e.to(S.rotate,{duration:.22,z:-.02,ease:`sine.inOut`});e.to(u.scale,{duration:.3,x:1,y:1,ease:`sine.inOut`}),e.to(S.rotate,{duration:.3,z:0,ease:`sine.inOut`})}function se(){if(P)return;P=!0,j(`content`),k.forEach(e=>e.visible=!0);let e=$.timeline({onComplete:()=>{k.forEach(e=>e.visible=!1),j(`calm`),P=!1,S.rotate.x=0,l.rotate.z=0}});e.to(S.rotate,{duration:.7,x:.32,ease:`power2.out`}),e.to(l.rotate,{duration:.7,z:.06,ease:`power2.out`},`<`),e.to({},{duration:1.3}),e.to(S.rotate,{duration:.8,x:0,ease:`power1.inOut`}),e.to(l.rotate,{duration:.8,z:0,ease:`power1.inOut`},`<`),te(`I am bowing and holding out an olive branch to offer peace. Share a short, hopeful thought about making peace or letting go of a grudge.`)}function ce(){if(P)return;P=!0,j(`content`);let e=$.timeline({onComplete:()=>{j(`calm`),P=!1,S.rotate.z=0}});for(let t=0;t<3;t++)e.add(()=>j(`happy`)),e.to(S.rotate,{duration:.25,z:.08,ease:`sine.inOut`}),e.add(()=>j(`content`)),e.to(S.rotate,{duration:.25,z:0,ease:`sine.inOut`})}_=ie,v=ae,y=oe,b=se,x=ce;let le=!1,L=0,ue=0,de=!1,fe=0,pe=.006;function me(e){le=!0,de=!1,fe=0,L=e.clientX,ue=e.clientY;try{K(r).setPointerCapture(e.pointerId)}catch{}}function he(t){if(!le)return;let r=t.clientX-L,i=t.clientY-ue;L=t.clientX,ue=t.clientY;let a=Math.sqrt(r*r+i*i);fe+=a,a>10&&(de=!0),l.rotate.y+=r*pe,l.rotate.x+=i*pe,l.rotate.x=Math.max(-e/9,Math.min(e/9,l.rotate.x)),n.updateRenderGraph()}function ge(){le=!1,fe>80&&!P&&ie()}function _e(e){if(de)return;let t=K(r).getBoundingClientRect(),n=e.clientX-t.left-t.width/2,i=e.clientY-t.top-t.height/2;Math.abs(n)<190&&Math.abs(i)<150&&(V(a,!K(a)),V(o,null))}return i()||(K(r).addEventListener(`click`,_e),K(r).addEventListener(`pointerdown`,me),K(r).addEventListener(`pointermove`,he),window.addEventListener(`pointerup`,ge)),i()||(setTimeout(()=>D(`Coo… the sky is calm today. 🕊️ What is on your mind?`),3500),O()),()=>{N=!1,d&&clearTimeout(d),f&&clearTimeout(f),i()||(K(r)?.removeEventListener(`click`,_e),K(r)?.removeEventListener(`pointerdown`,me),K(r)?.removeEventListener(`pointermove`,he),window.removeEventListener(`pointerup`,ge))}}),Ci();var A=ed(),j=fn(A),M=e=>{var t=Ju(),n=H(t),r=U(n,2),i=H(r,!0);R(r),R(t),Ln(()=>Z(i,K(s)?`Close history`:`💬 History`)),J(`click`,n,S),J(`click`,r,E),X(e,t)};Ur(j,e=>{i()||e(M)});var N=U(j,2),P=e=>{var t=Xu(),n=H(t),r=U(H(n),2);R(n);var i=U(n,2);Jr(i,5,()=>K(h),Wr,(e,t)=>{var n=Yu(),r=H(n),i=H(r,!0);R(r);var a=U(r,2),o=H(a,!0);R(a),R(n),Ln(()=>{ai(n,1,`history-msg ${(K(t),q(()=>K(t).role))??``}`,`svelte-svg88v`),Z(i,(K(t),q(()=>K(t).role===`assistant`?`🕊️ Olive`:`You`))),Z(o,(K(t),q(()=>K(t).content)))}),X(e,n)}),R(i),R(t),J(`click`,r,()=>V(s,!1)),X(e,t)};Ur(N,e=>{!i()&&K(s)&&e(P)});var F=U(N,2),ne=e=>{qu(e,{})};Ur(F,e=>{i()||e(ne)});var I=U(F,2);let re;bi(I,e=>V(r,e),()=>K(r));var ie=U(I,2),ae=e=>{var t=Qu(),n=H(t);Jr(n,1,()=>m,Wr,(e,t,n)=>{let r=yt(()=>q(()=>n/m.length*360-90)),i=yt(()=>(wr(K(r)),q(()=>K(r)*(Math.PI/180)))),a=yt(()=>110);var o=Zu(),s=H(o),c=H(s,!0);R(s);var l=U(s,2),u=H(l,!0);R(l),R(o),Ln((e,r)=>{si(o,` + left: calc(50% + ${e??``}px - 36px); + top: calc(50% + ${r??``}px - 36px); + animation-delay: ${n*55}ms; + `),Z(c,(K(t),q(()=>K(t).icon))),Z(u,(K(t),q(()=>K(t).label)))},[()=>(wr(K(i)),wr(K(a)),q(()=>Math.cos(K(i))*K(a))),()=>(wr(K(i)),wr(K(a)),q(()=>Math.sin(K(i))*K(a)))]),J(`click`,o,()=>C(K(t).id)),X(e,o)});var r=U(n,2);R(t),J(`click`,r,()=>{V(a,!1)}),X(e,t)};Ur(ie,e=>{!i()&&K(a)&&e(ae)});var oe=U(ie,2),se=e=>{var t=$u(),n=H(t),r=H(n),i=H(r,!0);R(r);var a=U(r,2),s=H(a,!0);R(a);var c=U(a,2),l=H(c,!0);R(c);var u=U(c,2),d=H(u);R(u);var f=U(u,2),p=H(f),m=U(p,2);R(f),R(n),R(t),Ln(()=>{Z(i,(K(o),q(()=>K(o).icon))),Z(s,(K(o),q(()=>K(o).title))),Z(l,(K(o),q(()=>K(o).description))),Z(d,`✦ ${(K(o),q(()=>K(o).hint))??``}`)}),J(`click`,p,T),J(`click`,m,w),J(`click`,t,xi(()=>V(o,null))),X(e,t)};Ur(oe,e=>{K(o)&&e(se)});var ce=U(oe,2);let le;var L=H(ce),ue=U(H(L),2),de=H(ue,!0);R(ue),R(L);var fe=U(L,2),pe=H(fe);vn(pe);var me=U(pe,2),he=H(me,!0);R(me),R(fe),R(ce),Pe(4),Ln(e=>{re=ai(I,1,`scene svelte-svg88v`,null,re,{embedded:i()}),le=ai(ce,1,`thought-wrap svelte-svg88v`,null,le,{visible:K(c)}),Z(de,K(l)),pe.disabled=K(p),me.disabled=e,Z(he,K(p)?`…`:`➤`)},[()=>(K(p),K(u),q(()=>K(p)||!K(u).trim()))]),gi(pe,()=>K(u),e=>V(u,e)),J(`keydown`,pe,k),J(`click`,me,ee),X(e,A),Ke()}var nd=Y(``),rd=Y(``),id=Y(`
`);function ad(e){let t=B(`menu`);function n(e){V(t,e)}var r=id(),i=H(r),a=e=>{var t=nd(),r=U(H(t),2),i=H(r),a=U(i,2),o=U(a,2),s=U(o,2),c=U(s,2),l=U(c,2);R(r),R(t),J(`click`,i,()=>n(`land`)),J(`click`,a,()=>n(`bee`)),J(`click`,o,()=>n(`chicken`)),J(`click`,s,()=>n(`blobfish`)),J(`click`,c,()=>n(`sloth`)),J(`click`,l,()=>n(`dove`)),X(e,t)},o=e=>{Zi(e,{$$events:{back:()=>n(`menu`)}})},s=e=>{gu(e,{$$events:{back:()=>n(`menu`)}})},c=e=>{wu(e,{$$events:{back:()=>n(`menu`)}})},l=e=>{Fu(e,{$$events:{back:()=>n(`menu`)}})},u=e=>{Gu(e,{$$events:{back:()=>n(`menu`)}})},d=e=>{td(e,{$$events:{back:()=>n(`menu`)}})},f=e=>{var r=rd(),i=H(r),a=H(i,!0);R(i);var o=U(i,4);R(r),Ln(()=>Z(a,K(t)===`page3`?`Page 3`:`Page`)),J(`click`,o,()=>n(`menu`)),X(e,r)};Ur(i,e=>{K(t)===`menu`?e(a):K(t)===`land`?e(o,1):K(t)===`bee`?e(s,2):K(t)===`chicken`?e(c,3):K(t)===`blobfish`?e(l,4):K(t)===`sloth`?e(u,5):K(t)===`dove`?e(d,6):e(f,-1)}),R(r),X(e,r)}Rr(ad,{target:document.getElementById(`app`)}); \ No newline at end of file diff --git a/dist/assets/index-D5s_4auv.css b/dist/assets/index-D5s_4auv.css new file mode 100644 index 0000000..19e67ab --- /dev/null +++ b/dist/assets/index-D5s_4auv.css @@ -0,0 +1 @@ +@import "https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;800&display=swap";@import "https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;800&display=swap";@import "https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;800&display=swap";@import "https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;800&display=swap";:root{--text:#6b6375;--text-h:#08060d;--bg:#fff;--border:#e5e4e7;--code-bg:#f4f3ec;--accent:#aa3bff;--accent-bg:#aa3bff1a;--accent-border:#aa3bff80;--social-bg:#f4f3ec80;--shadow:#0000001a 0 10px 15px -3px, #0000000d 0 4px 6px -2px;--sans:system-ui, "Segoe UI", Roboto, sans-serif;--heading:system-ui, "Segoe UI", Roboto, sans-serif;--mono:ui-monospace, Consolas, monospace;font:18px/145% var(--sans);letter-spacing:.18px;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light dark;color:var(--text);background:var(--bg);font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@media (prefers-color-scheme:dark){:root{--lightningcss-light: ;--lightningcss-dark:initial}}@media (width<=1024px){:root{font-size:16px}}@media (prefers-color-scheme:dark){:root{--text:#9ca3af;--text-h:#f3f4f6;--bg:#16171d;--border:#2e303a;--code-bg:#1f2028;--accent:#c084fc;--accent-bg:#c084fc26;--accent-border:#c084fc80;--social-bg:#2f303a80;--shadow:#0006 0 10px 15px -3px, #00000040 0 4px 6px -2px}#social .button-icon{filter:invert()brightness(2)}}body{margin:0}h1,h2{font-family:var(--heading);color:var(--text-h);font-weight:500}h1{letter-spacing:-1.68px;margin:32px 0;font-size:56px}@media (width<=1024px){h1{margin:20px 0;font-size:36px}}h2{letter-spacing:-.24px;margin:0 0 8px;font-size:24px;line-height:118%}@media (width<=1024px){h2{font-size:20px}}p{margin:0}code,.counter{font-family:var(--mono);color:var(--text-h);border-radius:4px;display:inline-flex}code{background:var(--code-bg);padding:4px 8px;font-size:15px;line-height:135%}.counter{color:var(--accent);background:var(--accent-bg);border:2px solid #0000;border-radius:5px;margin-bottom:24px;padding:5px 10px;font-size:16px;transition:border-color .3s}.counter:hover{border-color:var(--accent-border)}.counter:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.hero{position:relative}.hero .base,.hero .framework,.hero .vite{margin:0 auto;inset-inline:0}.hero .base{z-index:0;width:170px;position:relative}.hero .framework,.hero .vite{position:absolute}.hero .framework{z-index:1;height:28px;top:34px;transform:perspective(2000px)rotate(300deg)rotateX(44deg)rotateY(39deg)scale(1.4)}.hero .vite{z-index:0;width:auto;height:26px;top:107px;transform:perspective(2000px)rotate(300deg)rotateX(40deg)rotateY(39deg)scale(.8)}#app{text-align:center;border-inline:1px solid var(--border);box-sizing:border-box;flex-direction:column;width:1126px;max-width:100%;min-height:100svh;margin:0 auto;display:flex}#center{flex-direction:column;flex-grow:1;place-content:center;place-items:center;gap:25px;display:flex}@media (width<=1024px){#center{gap:18px;padding:32px 20px 24px}}#next-steps{border-top:1px solid var(--border);text-align:left;display:flex}#next-steps>div{flex:1 1 0;padding:32px}@media (width<=1024px){#next-steps>div{padding:24px 20px}}#next-steps .icon{width:22px;height:22px;margin-bottom:16px}@media (width<=1024px){#next-steps{text-align:center;flex-direction:column}}#docs{border-right:1px solid var(--border)}@media (width<=1024px){#docs{border-right:none;border-bottom:1px solid var(--border)}}#next-steps ul{gap:8px;margin:32px 0 0;padding:0;list-style:none;display:flex}#next-steps ul .logo{height:18px}#next-steps ul a{color:var(--text-h);background:var(--social-bg);border-radius:6px;align-items:center;gap:8px;padding:6px 12px;font-size:16px;text-decoration:none;transition:box-shadow .3s;display:flex}#next-steps ul a:hover{box-shadow:var(--shadow)}#next-steps ul a .button-icon{width:18px;height:18px}@media (width<=1024px){#next-steps ul{flex-wrap:wrap;justify-content:center;margin-top:20px}#next-steps ul li{flex:calc(50% - 8px)}#next-steps ul a{box-sizing:border-box;justify-content:center;width:100%}}#spacer{border-top:1px solid var(--border);height:88px}@media (width<=1024px){#spacer{height:48px}}.ticks{width:100%;position:relative}.ticks:before,.ticks:after{content:"";border:5px solid #0000;position:absolute;top:-4.5px}.ticks:before{border-left-color:var(--border);left:0}.ticks:after{border-right-color:var(--border);right:0}html,body{height:100%;margin:0;overflow:hidden}.land-canvas.svelte-1mpuuoe{cursor:grab;touch-action:none;box-sizing:border-box;background:#ffd9ec;border:none;width:100vw;height:100vh;margin:0;padding:0;display:block;position:fixed;top:0;left:0}canvas.background-scene.svelte-1uv8knz{z-index:0;pointer-events:none;width:100vw;height:100vh;display:block;position:fixed;inset:0}.scene-root.svelte-1nwv6qn{width:100%;height:100%;position:relative}canvas.scene.svelte-1nwv6qn{z-index:1;touch-action:none;width:100vw;height:100vh;display:block;position:fixed;inset:0}.top-bar.svelte-1nwv6qn{z-index:30;gap:10px;display:flex;position:fixed;top:16px;left:16px}.bar-btn.svelte-1nwv6qn{color:#5a1a30;cursor:pointer;background:#ffffffeb;border:none;border-radius:20px;padding:9px 16px;font-family:Nunito,sans-serif;font-size:.85rem;font-weight:700;transition:background .15s,transform .1s;box-shadow:0 4px 18px #5a1a301a}.bar-btn.svelte-1nwv6qn:hover{background:#fff;transform:translateY(-1px)}.bar-btn.svelte-1nwv6qn:active{transform:scale(.96)}.history-panel.svelte-1nwv6qn{z-index:25;background:#fffffff7;border-radius:24px;flex-direction:column;width:min(360px,100vw - 32px);max-height:calc(100vh - 80px);display:flex;position:fixed;top:62px;right:16px;overflow:hidden;box-shadow:0 20px 60px #5a1a302e}.history-header.svelte-1nwv6qn{border-bottom:1px solid #f04a6f1f;justify-content:space-between;align-items:center;padding:18px 20px 12px;display:flex}.history-header.svelte-1nwv6qn h2:where(.svelte-1nwv6qn){color:#5a1a30;margin:0;font-size:1rem}.close-btn.svelte-1nwv6qn{color:#b73058;cursor:pointer;background:#fde6ef;border:none;border-radius:50%;width:30px;height:30px;font-size:.85rem;font-weight:700}.history-scroll.svelte-1nwv6qn{flex-direction:column;gap:10px;padding:14px 16px;display:flex;overflow-y:auto}.history-msg.svelte-1nwv6qn{border-radius:16px;padding:12px 14px;font-size:.9rem;line-height:1.55}.history-msg.svelte-1nwv6qn p:where(.svelte-1nwv6qn){color:#3d1020;margin:4px 0 0}.history-msg.assistant.svelte-1nwv6qn{background:#fff0f6}.history-msg.user.svelte-1nwv6qn{background:#fffcf3}.history-label.svelte-1nwv6qn{color:#b73058;font-size:.78rem;font-weight:800}.radial-overlay.svelte-1nwv6qn{z-index:20;pointer-events:none;position:fixed;inset:0}.radial-btn.svelte-1nwv6qn{cursor:pointer;pointer-events:all;background:#fffffff2;border:none;border-radius:50%;flex-direction:column;justify-content:center;align-items:center;gap:2px;width:72px;height:72px;transition:transform .12s,background .12s;animation:.25s cubic-bezier(.34,1.56,.64,1) both svelte-1nwv6qn-radialPop;display:flex;position:fixed;box-shadow:0 6px 28px #5a1a3029}.radial-btn.svelte-1nwv6qn:hover{background:#ff8fae;transform:scale(1.12)}.radial-btn.svelte-1nwv6qn:hover .radial-label:where(.svelte-1nwv6qn){color:#fff}@keyframes svelte-1nwv6qn-radialPop{0%{opacity:0;transform:scale(0)}to{opacity:1;transform:scale(1)}}.radial-icon.svelte-1nwv6qn{font-size:1.5rem;line-height:1}.radial-label.svelte-1nwv6qn{color:#7a2d44;letter-spacing:.02em;font-size:.65rem;font-weight:800}.radial-center.svelte-1nwv6qn{color:#fff;cursor:pointer;pointer-events:all;z-index:21;background:#ff8faee6;border:none;border-radius:50%;width:48px;height:48px;font-size:1rem;font-weight:800;transition:background .12s,transform .1s;animation:.2s cubic-bezier(.34,1.56,.64,1) both svelte-1nwv6qn-radialPop;position:fixed;top:calc(50% - 24px);left:calc(50% - 24px);box-shadow:0 4px 20px #5a1a302e}.radial-center.svelte-1nwv6qn:hover{background:#f04a6f;transform:scale(1.08)}.card-overlay.svelte-1nwv6qn{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);z-index:30;background:#5a1a3047;justify-content:center;align-items:center;display:flex;position:fixed;inset:0}.card.svelte-1nwv6qn{text-align:center;background:#fff;border-radius:28px;width:calc(100vw - 48px);max-width:340px;padding:32px 28px;animation:.22s cubic-bezier(.34,1.56,.64,1) both svelte-1nwv6qn-cardIn;box-shadow:0 28px 80px #5a1a3038}@keyframes svelte-1nwv6qn-cardIn{0%{opacity:0;transform:scale(.88)}to{opacity:1;transform:scale(1)}}.card-icon.svelte-1nwv6qn{margin-bottom:8px;font-size:2.8rem}.card.svelte-1nwv6qn h2:where(.svelte-1nwv6qn){color:#5a1a30;margin:0 0 10px;font-size:1.1rem}.card-desc.svelte-1nwv6qn{color:#7a3050;margin:0 0 8px;font-size:.95rem;line-height:1.6}.card-hint.svelte-1nwv6qn{color:#b07090;margin:0 0 24px;font-size:.85rem;font-style:italic}.card-actions.svelte-1nwv6qn{gap:10px;display:flex}.card-btn.svelte-1nwv6qn{cursor:pointer;border:none;border-radius:16px;flex:1;padding:13px 0;font-family:Nunito,sans-serif;font-size:.9rem;font-weight:800;transition:background .12s,transform .1s}.card-btn.svelte-1nwv6qn:active{transform:scale(.96)}.card-btn.primary.svelte-1nwv6qn{color:#fff;background:#ff8fae}.card-btn.primary.svelte-1nwv6qn:hover{background:#f04a6f}.card-btn.ghost.svelte-1nwv6qn{color:#b73058;background:#fde6ef}.card-btn.ghost.svelte-1nwv6qn:hover{background:#f9cad8}.thought-wrap.svelte-1nwv6qn{z-index:15;pointer-events:none;opacity:0;flex-direction:column;gap:10px;max-width:min(310px,40vw);transition:opacity .35s,transform .35s;display:flex;position:fixed;top:48%;left:56%;transform:translateY(8px)scale(.96)}.thought-wrap.visible.svelte-1nwv6qn{opacity:1;pointer-events:all;transform:translateY(0)scale(1)}.thought-bubble.svelte-1nwv6qn{background:#fff;border:2px solid #f04a6f40;border-radius:22px 22px 22px 6px;padding:14px 18px;position:relative;box-shadow:0 8px 36px #5a1a301f}.thought-dots.svelte-1nwv6qn{gap:4px;margin-bottom:6px;display:flex}.thought-dots.svelte-1nwv6qn span:where(.svelte-1nwv6qn){background:#ff8fae;border-radius:50%;width:5px;height:5px}.thought-text.svelte-1nwv6qn{color:#4b1528;margin:0;font-size:.92rem;font-weight:600;line-height:1.6}.thought-reply.svelte-1nwv6qn{align-items:flex-end;gap:8px;display:flex}.thought-reply.svelte-1nwv6qn textarea:where(.svelte-1nwv6qn){color:#3d1020;resize:none;box-sizing:border-box;background:#fffffff5;border:1.5px solid #f04a6f59;border-radius:14px;outline:none;flex:1;height:44px;min-height:44px;max-height:88px;padding:10px 14px;font-family:Nunito,sans-serif;font-size:.9rem;line-height:1.5;transition:border-color .15s,box-shadow .15s}.thought-reply.svelte-1nwv6qn textarea:where(.svelte-1nwv6qn)::placeholder{color:#c090a0}.thought-reply.svelte-1nwv6qn textarea:where(.svelte-1nwv6qn):focus{border-color:#f04a6f;box-shadow:0 0 0 3px #f04a6f26}.reply-send.svelte-1nwv6qn{color:#fff;cursor:pointer;background:#ff8fae;border:none;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:44px;height:44px;font-size:1rem;transition:background .12s,transform .1s;display:flex}.reply-send.svelte-1nwv6qn:hover:not(:disabled){background:#f04a6f}.reply-send.svelte-1nwv6qn:active:not(:disabled){transform:scale(.94)}.reply-send.svelte-1nwv6qn:disabled{opacity:.5;cursor:default}.hint.svelte-1nwv6qn{color:#5a1a308c;pointer-events:none;letter-spacing:.04em;z-index:10;font-size:.8rem;font-weight:600;position:fixed;bottom:22px;left:50%;transform:translate(-50%)}.credit.svelte-1nwv6qn{color:#5a1a3066;z-index:10;pointer-events:none;font-size:.7rem;position:fixed;bottom:8px;left:14px}canvas.background-scene.svelte-jrixkq{z-index:0;pointer-events:none;width:100vw;height:100vh;display:block;position:fixed;inset:0}canvas.scene.svelte-1jej3y2{z-index:1;touch-action:none;width:100vw;height:100vh;display:block;position:fixed;inset:0}canvas.scene.embedded.svelte-1jej3y2{width:100%;height:100%;position:absolute;inset:0}.top-bar.svelte-1jej3y2{z-index:30;gap:10px;display:flex;position:fixed;top:16px;left:16px}.bar-btn.svelte-1jej3y2{color:#5a1a30;cursor:pointer;background:#ffffffeb;border:none;border-radius:20px;padding:9px 16px;font-family:Nunito,sans-serif;font-size:.85rem;font-weight:700;transition:background .15s,transform .1s;box-shadow:0 4px 18px #5a1a301a}.bar-btn.svelte-1jej3y2:hover{background:#fff;transform:translateY(-1px)}.bar-btn.svelte-1jej3y2:active{transform:scale(.96)}.radial-overlay.svelte-1jej3y2{z-index:20;pointer-events:none;position:fixed;inset:0}.radial-btn.svelte-1jej3y2{cursor:pointer;pointer-events:all;background:#fffffff2;border:none;border-radius:50%;flex-direction:column;justify-content:center;align-items:center;gap:2px;width:76px;height:76px;transition:transform .12s,background .12s;animation:.25s cubic-bezier(.34,1.56,.64,1) both svelte-1jej3y2-radialPop;display:flex;position:fixed;box-shadow:0 6px 28px #5a1a3029}.radial-btn.svelte-1jej3y2:hover{background:#ff8fae;transform:scale(1.12)}.radial-btn.svelte-1jej3y2:hover .radial-label:where(.svelte-1jej3y2){color:#fff}@keyframes svelte-1jej3y2-radialPop{0%{opacity:0;transform:scale(0)}to{opacity:1;transform:scale(1)}}.radial-icon.svelte-1jej3y2{font-size:1.6rem;line-height:1}.radial-label.svelte-1jej3y2{color:#7a2d44;letter-spacing:.02em;font-size:.66rem;font-weight:800}.radial-center.svelte-1jej3y2{color:#fff;cursor:pointer;pointer-events:all;z-index:21;background:#ff8faee6;border:none;border-radius:50%;width:48px;height:48px;font-size:1rem;font-weight:800;transition:background .12s,transform .1s;animation:.2s cubic-bezier(.34,1.56,.64,1) both svelte-1jej3y2-radialPop;position:fixed;top:calc(58% - 24px);left:calc(50% - 24px);box-shadow:0 4px 20px #5a1a302e}.radial-center.svelte-1jej3y2:hover{background:#f04a6f;transform:scale(1.08)}.card-overlay.svelte-1jej3y2{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);z-index:30;background:#5a1a3047;justify-content:center;align-items:center;display:flex;position:fixed;inset:0}.card.svelte-1jej3y2{text-align:center;background:#fff;border-radius:28px;width:calc(100vw - 48px);max-width:340px;padding:32px 28px;animation:.22s cubic-bezier(.34,1.56,.64,1) both svelte-1jej3y2-cardIn;box-shadow:0 28px 80px #5a1a3038}@keyframes svelte-1jej3y2-cardIn{0%{opacity:0;transform:scale(.88)}to{opacity:1;transform:scale(1)}}.card-icon.svelte-1jej3y2{margin-bottom:8px;font-size:2.8rem}.card.svelte-1jej3y2 h2:where(.svelte-1jej3y2){color:#5a1a30;margin:0 0 10px;font-size:1.1rem}.card-desc.svelte-1jej3y2{color:#7a3050;margin:0 0 8px;font-size:.95rem;line-height:1.6}.card-hint.svelte-1jej3y2{color:#b07090;margin:0 0 24px;font-size:.85rem;font-style:italic}.card-actions.svelte-1jej3y2{gap:10px;display:flex}.card-btn.svelte-1jej3y2{cursor:pointer;border:none;border-radius:16px;flex:1;padding:13px 0;font-family:Nunito,sans-serif;font-size:.9rem;font-weight:800;transition:background .12s,transform .1s}.card-btn.svelte-1jej3y2:active{transform:scale(.96)}.card-btn.primary.svelte-1jej3y2{color:#fff;background:#ff8fae}.card-btn.primary.svelte-1jej3y2:hover{background:#f04a6f}.card-btn.ghost.svelte-1jej3y2{color:#b73058;background:#fde6ef}.card-btn.ghost.svelte-1jej3y2:hover{background:#f9cad8}.hint.svelte-1jej3y2{color:#5a1a308c;pointer-events:none;letter-spacing:.04em;z-index:10;font-size:.8rem;font-weight:600;position:fixed;bottom:22px;left:50%;transform:translate(-50%)}body{-webkit-user-select:none;user-select:none;width:100vw;height:100vh;margin:0;font-family:Segoe UI,Tahoma,Geneva,Verdana,sans-serif;overflow:hidden}.scene-wrapper.svelte-7yu1xi{background:linear-gradient(to bottom, #ff8faee6 0%, #fad0c4 var(--sky-pos), #4a90e2 var(--sky-pos), #1c2541 var(--mid-pos), #0b132b var(--abyss-pos));justify-content:center;align-items:center;display:flex;position:fixed;inset:0}.zdog-canvas.svelte-7yu1xi{cursor:grab;touch-action:none;z-index:1;width:100%;height:100%}.zdog-canvas.svelte-7yu1xi:active{cursor:grabbing}.zdog-canvas.embedded.svelte-7yu1xi{position:absolute;inset:0}.overlay-canvas.svelte-7yu1xi{pointer-events:none;z-index:2;width:100%;height:100%;position:absolute;inset:0}.gauge-button.svelte-7yu1xi{cursor:pointer;z-index:10;filter:drop-shadow(0 8px 16px #00000059);background:0 0;border:none;width:150px;height:150px;padding:0;transition:transform .2s cubic-bezier(.175,.885,.32,1.275);position:absolute;top:25px;right:25px}.ui-canvas.svelte-7yu1xi{width:150px;height:150px;display:block}.gauge-button.svelte-7yu1xi:hover{transform:scale(1.05)}.history-log-btn.svelte-7yu1xi{-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);color:#fff;cursor:pointer;z-index:20;background:#fff3;border:1px solid #ffffff40;border-radius:50%;width:56px;height:56px;font-size:1.5rem;transition:all .2s;position:absolute;bottom:25px;left:25px;box-shadow:0 4px 12px #00000040}.history-log-btn.svelte-7yu1xi:hover{background:#ffffff59;transform:translateY(-2px)}.radial-menu-context.svelte-7yu1xi{z-index:15;pointer-events:none;position:absolute;transform:translate(0)}.radial-item-node.svelte-7yu1xi{pointer-events:auto;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);color:#fff;cursor:pointer;width:56px;height:56px;transform:translate(-50%, -50%) translate(calc(cos(var(--angle)) * var(--radius)), calc(sin(var(--angle)) * var(--radius)));background:#0f172ad9;border:1px solid #ffffff4d;border-radius:50%;flex-direction:column;justify-content:center;align-items:center;transition:transform .3s cubic-bezier(.175,.885,.32,1.275),background .2s;display:flex;position:absolute;box-shadow:0 6px 14px #0000004d}.radial-item-node.svelte-7yu1xi:hover{transform:translate(-50%, -50%) translate(calc(cos(var(--angle)) * var(--radius)), calc(sin(var(--angle)) * var(--radius))) scale(1.1);background:#1e293bf2}.node-icon.svelte-7yu1xi{font-size:1.3rem}.node-label.svelte-7yu1xi{opacity:.8;margin-top:1px;font-size:.65rem}.modal-card-backdrop.svelte-7yu1xi{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);z-index:40;background:#0006;justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.modal-card-body.svelte-7yu1xi{-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);color:#fff;background:#0f172ad9;border:1px solid #ffffff26;border-radius:16px;width:320px;padding:24px;box-shadow:0 12px 32px #00000080}.modal-card-body.svelte-7yu1xi h3:where(.svelte-7yu1xi){color:#f4b8c2;margin-top:0;font-size:1.25rem}.modal-desc.svelte-7yu1xi{opacity:.9;font-size:.9rem;line-height:1.4}.modal-hint.svelte-7yu1xi{color:#94b3c7;background:#ffffff0d;border-radius:6px;padding:8px;font-size:.8rem}.modal-action-row.svelte-7yu1xi{justify-content:flex-end;gap:12px;margin-top:20px;display:flex}.modal-action-row.svelte-7yu1xi button:where(.svelte-7yu1xi){cursor:pointer;border:none;border-radius:8px;padding:8px 16px;font-weight:600}.btn-cancel.svelte-7yu1xi{color:#fff;background:#ffffff1a}.btn-confirm.svelte-7yu1xi{color:#fff;background:#6c8ea4}.history-panel-overlay.svelte-7yu1xi{-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);z-index:30;color:#fff;background:#0b132bd9;border:1px solid #ffffff1a;border-radius:16px;flex-direction:column;width:340px;display:flex;position:absolute;top:25px;bottom:100px;left:25px;box-shadow:0 8px 24px #0006}.history-header.svelte-7yu1xi{border-bottom:1px solid #ffffff1a;justify-content:space-between;align-items:center;padding:16px;display:flex}.history-header.svelte-7yu1xi h3:where(.svelte-7yu1xi){color:#94b3c7;margin:0;font-size:1rem}.btn-close-log.svelte-7yu1xi{color:#fff;cursor:pointer;background:0 0;border:none;font-size:1.1rem}.history-scroll-box.svelte-7yu1xi{flex-direction:column;flex:1;gap:12px;padding:16px;display:flex;overflow-y:auto}.history-row.svelte-7yu1xi{border-radius:8px;flex-direction:column;gap:4px;padding:8px;font-size:.85rem;display:flex}.history-row.user.svelte-7yu1xi{background:#ffffff0f;align-self:flex-end;width:85%}.history-row.assistant.svelte-7yu1xi{background:#6c8ea426;align-self:flex-start;width:85%}.speaker-tag.svelte-7yu1xi{opacity:.5;font-size:.75rem;font-weight:700}.log-content-text.svelte-7yu1xi{margin:0;line-height:1.35}.thought-bubble-container.direct-fish-chat.svelte-7yu1xi{z-index:25;pointer-events:auto;transition:left .1s ease-out,top .1s ease-out;position:absolute;transform:translateY(-50%)}.thought-bubble-container.direct-fish-chat.svelte-7yu1xi .bubble-wrapper:where(.svelte-7yu1xi){-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);color:#fff;background:#0f172adb;border:1px solid #ffffff1f;border-radius:18px;width:280px;min-height:72px;padding:14px 16px;position:relative;box-shadow:0 12px 30px #00000047}.thought-bubble-container.direct-fish-chat.svelte-7yu1xi .bubble-tail:where(.svelte-7yu1xi){background:#0f172adb;border-bottom:1px solid #ffffff14;border-left:1px solid #ffffff14;width:16px;height:16px;position:absolute;top:34px;left:-10px;transform:rotate(45deg)}.thought-bubble-container.direct-fish-chat.svelte-7yu1xi .bubble-text:where(.svelte-7yu1xi){text-align:left;color:#fff;text-shadow:none;word-break:break-word;margin:0 0 10px;font-size:1rem;font-weight:500;line-height:1.45}.thought-bubble-container.direct-fish-chat.svelte-7yu1xi .initial-action-container:where(.svelte-7yu1xi){justify-content:flex-start;display:flex}.thought-bubble-container.direct-fish-chat.svelte-7yu1xi .btn-reveal-reply:where(.svelte-7yu1xi){color:#fff;cursor:pointer;background:#ffffff24;border:none;border-radius:8px;padding:6px 12px;font-size:.85rem;font-weight:700}.thought-bubble-container.direct-fish-chat.svelte-7yu1xi .chat-input-wrapper:where(.svelte-7yu1xi){background:#ffffff14;border-radius:10px;gap:8px;padding:6px;display:flex}.thought-bubble-container.direct-fish-chat.svelte-7yu1xi .chat-input-wrapper:where(.svelte-7yu1xi) input:where(.svelte-7yu1xi){color:#fff;background:0 0;border:none;outline:none;flex:1;min-width:0;font-size:.9rem}.thought-bubble-container.direct-fish-chat.svelte-7yu1xi .chat-input-wrapper:where(.svelte-7yu1xi) button:where(.svelte-7yu1xi){color:#fff;cursor:pointer;background:#6c8ea4;border:none;border-radius:8px;width:34px;height:34px;font-weight:700}.hint.svelte-7yu1xi{color:#fff;opacity:.6;pointer-events:none;text-transform:uppercase;letter-spacing:2px;text-shadow:0 2px 4px #0009;z-index:3;text-align:center;font-size:.9rem;position:absolute;bottom:30px}canvas.background-scene.svelte-19zm2i3{z-index:0;pointer-events:none;width:100vw;height:100vh;display:block;position:fixed;inset:0}canvas.scene.svelte-1ah546j{z-index:1;touch-action:none;width:100vw;height:100vh;display:block;position:fixed;inset:0}canvas.scene.embedded.svelte-1ah546j{width:100%;height:100%;position:absolute;inset:0}.top-bar.svelte-1ah546j{z-index:30;gap:10px;display:flex;position:fixed;top:16px;left:16px}.bar-btn.svelte-1ah546j{color:#2e3d22;cursor:pointer;background:#ffffffeb;border:none;border-radius:20px;padding:9px 16px;font-family:Nunito,sans-serif;font-size:.85rem;font-weight:700;transition:background .15s,transform .1s;box-shadow:0 4px 18px #28371e1f}.bar-btn.svelte-1ah546j:hover{background:#fff;transform:translateY(-1px)}.bar-btn.svelte-1ah546j:active{transform:scale(.96)}.history-panel.svelte-1ah546j{z-index:25;background:#fffffff7;border-radius:24px;flex-direction:column;width:min(360px,100vw - 32px);max-height:calc(100vh - 80px);display:flex;position:fixed;top:62px;right:16px;overflow:hidden;box-shadow:0 20px 60px #28371e2e}.history-header.svelte-1ah546j{border-bottom:1px solid #5da05229;justify-content:space-between;align-items:center;padding:18px 20px 12px;display:flex}.history-header.svelte-1ah546j h2:where(.svelte-1ah546j){color:#2e3d22;margin:0;font-size:1rem}.close-btn.svelte-1ah546j{color:#3e6b2e;cursor:pointer;background:#e6f1dd;border:none;border-radius:50%;width:30px;height:30px;font-size:.85rem;font-weight:700}.history-scroll.svelte-1ah546j{flex-direction:column;gap:10px;padding:14px 16px;display:flex;overflow-y:auto}.history-msg.svelte-1ah546j{border-radius:16px;padding:12px 14px;font-size:.9rem;line-height:1.55}.history-msg.svelte-1ah546j p:where(.svelte-1ah546j){color:#243018;margin:4px 0 0}.history-msg.assistant.svelte-1ah546j{background:#eef6e8}.history-msg.user.svelte-1ah546j{background:#fbf7ec}.history-label.svelte-1ah546j{color:#4e7d3a;font-size:.78rem;font-weight:800}.radial-overlay.svelte-1ah546j{z-index:20;pointer-events:none;position:fixed;inset:0}.radial-btn.svelte-1ah546j{cursor:pointer;pointer-events:all;background:#fffffff2;border:none;border-radius:50%;flex-direction:column;justify-content:center;align-items:center;gap:2px;width:72px;height:72px;transition:transform .12s,background .12s;animation:.25s cubic-bezier(.34,1.56,.64,1) both svelte-1ah546j-radialPop;display:flex;position:fixed;box-shadow:0 6px 28px #28371e2e}.radial-btn.svelte-1ah546j:hover{background:#7bbe5e;transform:scale(1.12)}.radial-btn.svelte-1ah546j:hover .radial-label:where(.svelte-1ah546j){color:#fff}@keyframes svelte-1ah546j-radialPop{0%{opacity:0;transform:scale(0)}to{opacity:1;transform:scale(1)}}.radial-icon.svelte-1ah546j{font-size:1.5rem;line-height:1}.radial-label.svelte-1ah546j{color:#3e6b2e;letter-spacing:.02em;font-size:.65rem;font-weight:800}.radial-center.svelte-1ah546j{color:#fff;cursor:pointer;pointer-events:all;z-index:21;background:#7bbe5eeb;border:none;border-radius:50%;width:48px;height:48px;font-size:1rem;font-weight:800;transition:background .12s,transform .1s;animation:.2s cubic-bezier(.34,1.56,.64,1) both svelte-1ah546j-radialPop;position:fixed;top:calc(50% - 24px);left:calc(50% - 24px);box-shadow:0 4px 20px #28371e2e}.radial-center.svelte-1ah546j:hover{background:#3e7d3a;transform:scale(1.08)}.card-overlay.svelte-1ah546j{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);z-index:30;background:#1e2d144d;justify-content:center;align-items:center;display:flex;position:fixed;inset:0}.card.svelte-1ah546j{text-align:center;background:#fff;border-radius:28px;width:calc(100vw - 48px);max-width:340px;padding:32px 28px;animation:.22s cubic-bezier(.34,1.56,.64,1) both svelte-1ah546j-cardIn;box-shadow:0 28px 80px #28371e38}@keyframes svelte-1ah546j-cardIn{0%{opacity:0;transform:scale(.88)}to{opacity:1;transform:scale(1)}}.card-icon.svelte-1ah546j{margin-bottom:8px;font-size:2.8rem}.card.svelte-1ah546j h2:where(.svelte-1ah546j){color:#2e3d22;margin:0 0 10px;font-size:1.1rem}.card-desc.svelte-1ah546j{color:#4d6b3a;margin:0 0 8px;font-size:.95rem;line-height:1.6}.card-hint.svelte-1ah546j{color:#8aa86f;margin:0 0 24px;font-size:.85rem;font-style:italic}.card-actions.svelte-1ah546j{gap:10px;display:flex}.card-btn.svelte-1ah546j{cursor:pointer;border:none;border-radius:16px;flex:1;padding:13px 0;font-family:Nunito,sans-serif;font-size:.9rem;font-weight:800;transition:background .12s,transform .1s}.card-btn.svelte-1ah546j:active{transform:scale(.96)}.card-btn.primary.svelte-1ah546j{color:#fff;background:#5da052}.card-btn.primary.svelte-1ah546j:hover{background:#3e7d3a}.card-btn.ghost.svelte-1ah546j{color:#3e6b2e;background:#e6f1dd}.card-btn.ghost.svelte-1ah546j:hover{background:#d6e8c8}.thought-wrap.svelte-1ah546j{z-index:15;pointer-events:none;opacity:0;flex-direction:column;gap:10px;max-width:min(310px,40vw);transition:opacity .35s,transform .35s;display:flex;position:fixed;top:32%;left:56%;transform:translateY(8px)scale(.96)}.thought-wrap.visible.svelte-1ah546j{opacity:1;pointer-events:all;transform:translateY(0)scale(1)}.thought-bubble.svelte-1ah546j{background:#fff;border:2px solid #5da0524d;border-radius:22px 22px 22px 6px;padding:14px 18px;position:relative;box-shadow:0 8px 36px #28371e24}.thought-dots.svelte-1ah546j{gap:4px;margin-bottom:6px;display:flex}.thought-dots.svelte-1ah546j span:where(.svelte-1ah546j){background:#7bbe5e;border-radius:50%;width:5px;height:5px}.thought-text.svelte-1ah546j{color:#2a3a1c;margin:0;font-size:.92rem;font-weight:600;line-height:1.6}.thought-reply.svelte-1ah546j{align-items:flex-end;gap:8px;display:flex}.thought-reply.svelte-1ah546j textarea:where(.svelte-1ah546j){color:#243018;resize:none;box-sizing:border-box;background:#fffffff5;border:1.5px solid #5da05266;border-radius:14px;outline:none;flex:1;height:44px;min-height:44px;max-height:88px;padding:10px 14px;font-family:Nunito,sans-serif;font-size:.9rem;line-height:1.5;transition:border-color .15s,box-shadow .15s}.thought-reply.svelte-1ah546j textarea:where(.svelte-1ah546j)::placeholder{color:#9bb487}.thought-reply.svelte-1ah546j textarea:where(.svelte-1ah546j):focus{border-color:#3e7d3a;box-shadow:0 0 0 3px #3e7d3a2e}.reply-send.svelte-1ah546j{color:#fff;cursor:pointer;background:#5da052;border:none;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:44px;height:44px;font-size:1rem;transition:background .12s,transform .1s;display:flex}.reply-send.svelte-1ah546j:hover:not(:disabled){background:#3e7d3a}.reply-send.svelte-1ah546j:active:not(:disabled){transform:scale(.94)}.reply-send.svelte-1ah546j:disabled{opacity:.5;cursor:default}.hint.svelte-1ah546j{color:#28371e8c;pointer-events:none;letter-spacing:.04em;z-index:10;font-size:.8rem;font-weight:600;position:fixed;bottom:22px;left:50%;transform:translate(-50%)}.credit.svelte-1ah546j{color:#28371e6b;z-index:10;pointer-events:none;font-size:.7rem;position:fixed;bottom:8px;left:14px}canvas.background-scene.svelte-x9r5vj{z-index:0;pointer-events:none;width:100vw;height:100vh;display:block;position:fixed;inset:0}body{background:#bfd9ef;width:100vw;height:100vh;margin:0;padding:0;font-family:Nunito,sans-serif;overflow:hidden}canvas.scene.svelte-svg88v{z-index:1;touch-action:none;width:100vw;height:100vh;display:block;position:fixed;inset:0}canvas.scene.embedded.svelte-svg88v{width:100%;height:100%;position:absolute;inset:0}.top-bar.svelte-svg88v{z-index:30;gap:10px;display:flex;position:fixed;top:16px;left:16px}.bar-btn.svelte-svg88v{color:#2e3a47;cursor:pointer;background:#ffffffeb;border:none;border-radius:20px;padding:9px 16px;font-family:Nunito,sans-serif;font-size:.85rem;font-weight:700;transition:background .15s,transform .1s;box-shadow:0 4px 18px #2e3a471f}.bar-btn.svelte-svg88v:hover{background:#fff;transform:translateY(-1px)}.bar-btn.svelte-svg88v:active{transform:scale(.96)}.history-panel.svelte-svg88v{z-index:25;background:#fffffff7;border-radius:24px;flex-direction:column;width:min(360px,100vw - 32px);max-height:calc(100vh - 80px);display:flex;position:fixed;top:62px;right:16px;overflow:hidden;box-shadow:0 20px 60px #2e3a472e}.history-header.svelte-svg88v{border-bottom:1px solid #6fa8dc2e;justify-content:space-between;align-items:center;padding:18px 20px 12px;display:flex}.history-header.svelte-svg88v h2:where(.svelte-svg88v){color:#2e3a47;margin:0;font-size:1rem}.close-btn.svelte-svg88v{color:#3a6699;cursor:pointer;background:#e4eef8;border:none;border-radius:50%;width:30px;height:30px;font-size:.85rem;font-weight:700}.history-scroll.svelte-svg88v{flex-direction:column;gap:10px;padding:14px 16px;display:flex;overflow-y:auto}.history-msg.svelte-svg88v{border-radius:16px;padding:12px 14px;font-size:.9rem;line-height:1.55}.history-msg.svelte-svg88v p:where(.svelte-svg88v){color:#26313b;margin:4px 0 0}.history-msg.assistant.svelte-svg88v{background:#eef4fb}.history-msg.user.svelte-svg88v{background:#f7f4ef}.history-label.svelte-svg88v{color:#4a7bb0;font-size:.78rem;font-weight:800}.radial-overlay.svelte-svg88v{z-index:20;pointer-events:none;position:fixed;inset:0}.radial-btn.svelte-svg88v{cursor:pointer;pointer-events:all;background:#fffffff2;border:none;border-radius:50%;flex-direction:column;justify-content:center;align-items:center;gap:2px;width:72px;height:72px;transition:transform .12s,background .12s;animation:.25s cubic-bezier(.34,1.56,.64,1) both svelte-svg88v-radialPop;display:flex;position:fixed;box-shadow:0 6px 28px #2e3a472e}.radial-btn.svelte-svg88v:hover{background:#9cc4e6;transform:scale(1.12)}.radial-btn.svelte-svg88v:hover .radial-label:where(.svelte-svg88v){color:#fff}@keyframes svelte-svg88v-radialPop{0%{opacity:0;transform:scale(0)}to{opacity:1;transform:scale(1)}}.radial-icon.svelte-svg88v{font-size:1.5rem;line-height:1}.radial-label.svelte-svg88v{color:#3a6699;letter-spacing:.02em;font-size:.65rem;font-weight:800}.radial-center.svelte-svg88v{color:#fff;cursor:pointer;pointer-events:all;z-index:21;background:#6fa8dceb;border:none;border-radius:50%;width:48px;height:48px;font-size:1rem;font-weight:800;transition:background .12s,transform .1s;animation:.2s cubic-bezier(.34,1.56,.64,1) both svelte-svg88v-radialPop;position:fixed;top:calc(50% - 24px);left:calc(50% - 24px);box-shadow:0 4px 20px #2e3a472e}.radial-center.svelte-svg88v:hover{background:#4f8bc9;transform:scale(1.08)}.card-overlay.svelte-svg88v{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);z-index:30;background:#1e2d3c4d;justify-content:center;align-items:center;display:flex;position:fixed;inset:0}.card.svelte-svg88v{text-align:center;background:#fff;border-radius:28px;width:calc(100vw - 48px);max-width:340px;padding:32px 28px;animation:.22s cubic-bezier(.34,1.56,.64,1) both svelte-svg88v-cardIn;box-shadow:0 28px 80px #2e3a4738}@keyframes svelte-svg88v-cardIn{0%{opacity:0;transform:scale(.88)}to{opacity:1;transform:scale(1)}}.card-icon.svelte-svg88v{margin-bottom:8px;font-size:2.8rem}.card.svelte-svg88v h2:where(.svelte-svg88v){color:#2e3a47;margin:0 0 10px;font-size:1.1rem}.card-desc.svelte-svg88v{color:#4a6276;margin:0 0 8px;font-size:.95rem;line-height:1.6}.card-hint.svelte-svg88v{color:#8aa6bf;margin:0 0 24px;font-size:.85rem;font-style:italic}.card-actions.svelte-svg88v{gap:10px;display:flex}.card-btn.svelte-svg88v{cursor:pointer;border:none;border-radius:16px;flex:1;padding:13px 0;font-family:Nunito,sans-serif;font-size:.9rem;font-weight:800;transition:background .12s,transform .1s}.card-btn.svelte-svg88v:active{transform:scale(.96)}.card-btn.primary.svelte-svg88v{color:#fff;background:#6fa8dc}.card-btn.primary.svelte-svg88v:hover{background:#4f8bc9}.card-btn.ghost.svelte-svg88v{color:#3a6699;background:#e4eef8}.card-btn.ghost.svelte-svg88v:hover{background:#d3e4f4}.thought-wrap.svelte-svg88v{z-index:15;pointer-events:none;opacity:0;flex-direction:column;gap:10px;max-width:min(310px,40vw);transition:opacity .35s,transform .35s;display:flex;position:fixed;top:30%;left:56%;transform:translateY(8px)scale(.96)}.thought-wrap.visible.svelte-svg88v{opacity:1;pointer-events:all;transform:translateY(0)scale(1)}.thought-bubble.svelte-svg88v{background:#fff;border:2px solid #6fa8dc4d;border-radius:22px 22px 22px 6px;padding:14px 18px;position:relative;box-shadow:0 8px 36px #2e3a4724}.thought-dots.svelte-svg88v{gap:4px;margin-bottom:6px;display:flex}.thought-dots.svelte-svg88v span:where(.svelte-svg88v){background:#6fa8dc;border-radius:50%;width:5px;height:5px}.thought-text.svelte-svg88v{color:#26313b;margin:0;font-size:.92rem;font-weight:600;line-height:1.6}.thought-reply.svelte-svg88v{align-items:flex-end;gap:8px;display:flex}.thought-reply.svelte-svg88v textarea:where(.svelte-svg88v){color:#26313b;resize:none;box-sizing:border-box;background:#fffffff5;border:1.5px solid #6fa8dc66;border-radius:14px;outline:none;flex:1;height:44px;min-height:44px;max-height:88px;padding:10px 14px;font-family:Nunito,sans-serif;font-size:.9rem;line-height:1.5;transition:border-color .15s,box-shadow .15s}.thought-reply.svelte-svg88v textarea:where(.svelte-svg88v)::placeholder{color:#9bb6cf}.thought-reply.svelte-svg88v textarea:where(.svelte-svg88v):focus{border-color:#4f8bc9;box-shadow:0 0 0 3px #4f8bc92e}.reply-send.svelte-svg88v{color:#fff;cursor:pointer;background:#6fa8dc;border:none;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:44px;height:44px;font-size:1rem;transition:background .12s,transform .1s;display:flex}.reply-send.svelte-svg88v:hover:not(:disabled){background:#4f8bc9}.reply-send.svelte-svg88v:active:not(:disabled){transform:scale(.94)}.reply-send.svelte-svg88v:disabled{opacity:.5;cursor:default}.hint.svelte-svg88v{color:#2e3a478c;pointer-events:none;letter-spacing:.04em;z-index:10;font-size:.8rem;font-weight:600;position:fixed;bottom:22px;left:50%;transform:translate(-50%)}.credit.svelte-svg88v{color:#2e3a476b;z-index:10;pointer-events:none;font-size:.7rem;position:fixed;bottom:8px;left:14px}body{color:#1f2937;background:#f0f7fb;min-height:100vh;margin:0;font-family:Inter,sans-serif}.app-shell.svelte-1n46o8q{place-items:center;min-height:100vh;padding:24px;display:grid}.menu-card.svelte-1n46o8q{text-align:center;background:#fff;border-radius:24px;width:min(520px,100%);padding:32px;box-shadow:0 24px 80px #0f172a1f}.menu-card.svelte-1n46o8q h1:where(.svelte-1n46o8q){margin:0 0 16px;font-size:2rem;line-height:1.1}.menu-card.svelte-1n46o8q p:where(.svelte-1n46o8q){color:#4b5563;margin:0 0 28px;line-height:1.7}.button-grid.svelte-1n46o8q{gap:14px;display:grid}.page-btn.svelte-1n46o8q,.back-btn.svelte-1n46o8q{cursor:pointer;color:#fff;background:#1d4ed8;border:none;border-radius:18px;width:100%;padding:16px 20px;font-size:1rem;font-weight:700;transition:transform .14s,box-shadow .14s,background .14s}.page-btn.svelte-1n46o8q:hover,.back-btn.svelte-1n46o8q:hover{background:#2563eb;transform:translateY(-1px)}.placeholder.svelte-1n46o8q{max-width:640px} diff --git a/dist/index.html b/dist/index.html new file mode 100644 index 0000000..02f803e --- /dev/null +++ b/dist/index.html @@ -0,0 +1,13 @@ + + + + + + pawspective + + + + +
+ + diff --git a/package-lock.json b/package-lock.json new file mode 100644 index 0000000..2ec5efe --- /dev/null +++ b/package-lock.json @@ -0,0 +1,1551 @@ +{ + "name": "pawspective", + "version": "0.0.0", + "lockfileVersion": 3, + "requires": true, + "packages": { + "": { + "name": "pawspective", + "version": "0.0.0", + "dependencies": { + "gsap": "^3.15.0", + "zdog": "^1.1.3" + }, + "devDependencies": { + "@sveltejs/vite-plugin-svelte": "^7.1.2", + "svelte": "^5.55.5", + "vite": "^8.0.12" + } + }, + "node_modules/@emnapi/core": { + "version": "1.10.0", + "resolved": "https://registry.npmjs.org/@emnapi/core/-/core-1.10.0.tgz", + "integrity": "sha512-yq6OkJ4p82CAfPl0u9mQebQHKPJkY7WrIuk205cTYnYe+k2Z8YBh11FrbRG/H6ihirqcacOgl2BIO8oyMQLeXw==", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "@emnapi/wasi-threads": "1.2.1", + "tslib": "^2.4.0" + } + }, + "node_modules/@emnapi/runtime": { + "version": "1.10.0", + "resolved": "https://registry.npmjs.org/@emnapi/runtime/-/runtime-1.10.0.tgz", + "integrity": "sha512-ewvYlk86xUoGI0zQRNq/mC+16R1QeDlKQy21Ki3oSYXNgLb45GV1P6A0M+/s6nyCuNDqe5VpaY84BzXGwVbwFA==", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "tslib": "^2.4.0" + } + }, + "node_modules/@emnapi/wasi-threads": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/@emnapi/wasi-threads/-/wasi-threads-1.2.1.tgz", + "integrity": "sha512-uTII7OYF+/Mes/MrcIOYp5yOtSMLBWSIoLPpcgwipoiKbli6k322tcoFsxoIIxPDqW01SQGAgko4EzZi2BNv2w==", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "tslib": "^2.4.0" + } + }, + "node_modules/@grpc/grpc-js": { + "version": "1.9.16", + "resolved": "https://registry.npmjs.org/@grpc/grpc-js/-/grpc-js-1.9.16.tgz", + "integrity": "sha512-wE4Ut/olIzfKqp631XrG+wbF0v1vWFN4YL9FyXC2LJiG33DsV7PLzURjrCvY/6je2ntdRkeLpPDluzSRGaVltQ==", + "license": "Apache-2.0", + "dependencies": { + "@grpc/proto-loader": "^0.7.8", + "@types/node": ">=12.12.47" + }, + "engines": { + "node": "^8.13.0 || >=10.10.0" + } + }, + "node_modules/@grpc/proto-loader": { + "version": "0.7.15", + "resolved": "https://registry.npmjs.org/@grpc/proto-loader/-/proto-loader-0.7.15.tgz", + "integrity": "sha512-tMXdRCfYVixjuFK+Hk0Q1s38gV9zDiDJfWL3h1rv4Qc39oILCu1TRTDt7+fGUI8K4G1Fj125Hx/ru3azECWTyQ==", + "license": "Apache-2.0", + "dependencies": { + "lodash.camelcase": "^4.3.0", + "long": "^5.0.0", + "protobufjs": "^7.2.5", + "yargs": "^17.7.2" + }, + "bin": { + "proto-loader-gen-types": "build/bin/proto-loader-gen-types.js" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/@jridgewell/gen-mapping": { + "version": "0.3.13", + "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.13.tgz", + "integrity": "sha512-2kkt/7niJ6MgEPxF0bYdQ6etZaA+fQvDcLKckhy1yIQOzaoKjBBjSj63/aLVjYE3qhRt5dvM+uUyfCg6UKCBbA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jridgewell/sourcemap-codec": "^1.5.0", + "@jridgewell/trace-mapping": "^0.3.24" + } + }, + "node_modules/@jridgewell/remapping": { + "version": "2.3.5", + "resolved": "https://registry.npmjs.org/@jridgewell/remapping/-/remapping-2.3.5.tgz", + "integrity": "sha512-LI9u/+laYG4Ds1TDKSJW2YPrIlcVYOwi2fUC6xB43lueCjgxV4lffOCZCtYFiH6TNOX+tQKXx97T4IKHbhyHEQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jridgewell/gen-mapping": "^0.3.5", + "@jridgewell/trace-mapping": "^0.3.24" + } + }, + "node_modules/@jridgewell/resolve-uri": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.1.2.tgz", + "integrity": "sha512-bRISgCIjP20/tbWSPWMEi54QVPRZExkuD9lJL+UIxUKtwVJA8wW1Trb1jMs1RFXo1CBTNZ/5hpC9QvmKWdopKw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/@jridgewell/sourcemap-codec": { + "version": "1.5.5", + "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.5.5.tgz", + "integrity": "sha512-cYQ9310grqxueWbl+WuIUIaiUaDcj7WOq5fVhEljNVgRfOUhY9fy2zTvfoqWsnebh8Sl70VScFbICvJnLKB0Og==", + "dev": true, + "license": "MIT" + }, + "node_modules/@jridgewell/trace-mapping": { + "version": "0.3.31", + "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.31.tgz", + "integrity": "sha512-zzNR+SdQSDJzc8joaeP8QQoCQr8NuYx2dIIytl1QeBEZHJ9uW6hebsrYgbz8hJwUQao3TWCMtmfV8Nu1twOLAw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jridgewell/resolve-uri": "^3.1.0", + "@jridgewell/sourcemap-codec": "^1.4.14" + } + }, + "node_modules/@napi-rs/wasm-runtime": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/@napi-rs/wasm-runtime/-/wasm-runtime-1.1.4.tgz", + "integrity": "sha512-3NQNNgA1YSlJb/kMH1ildASP9HW7/7kYnRI2szWJaofaS1hWmbGI4H+d3+22aGzXXN9IJ+n+GiFVcGipJP18ow==", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "@tybys/wasm-util": "^0.10.1" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/Brooooooklyn" + }, + "peerDependencies": { + "@emnapi/core": "^1.7.1", + "@emnapi/runtime": "^1.7.1" + } + }, + "node_modules/@oxc-project/types": { + "version": "0.133.0", + "resolved": "https://registry.npmjs.org/@oxc-project/types/-/types-0.133.0.tgz", + "integrity": "sha512-KzkdCd6Uxqnf6l3HOw1xfatAlUURA0g14cvBYFyJ5SaNOQbOUvBr9PKArcPcrNIeRsBdgcUzOGrhKveVpvOIGA==", + "dev": true, + "license": "MIT", + "funding": { + "url": "https://github.com/sponsors/Boshen" + } + }, + "node_modules/@protobufjs/aspromise": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/@protobufjs/aspromise/-/aspromise-1.1.2.tgz", + "integrity": "sha512-j+gKExEuLmKwvz3OgROXtrJ2UG2x8Ch2YZUxahh+s1F2HZ+wAceUNLkvy6zKCPVRkU++ZWQrdxsUeQXmcg4uoQ==", + "license": "BSD-3-Clause" + }, + "node_modules/@protobufjs/base64": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/@protobufjs/base64/-/base64-1.1.2.tgz", + "integrity": "sha512-AZkcAA5vnN/v4PDqKyMR5lx7hZttPDgClv83E//FMNhR2TMcLUhfRUBHCmSl0oi9zMgDDqRUJkSxO3wm85+XLg==", + "license": "BSD-3-Clause" + }, + "node_modules/@protobufjs/codegen": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/@protobufjs/codegen/-/codegen-2.0.5.tgz", + "integrity": "sha512-zgXFLzW3Ap33e6d0Wlj4MGIm6Ce8O89n/apUaGNB/jx+hw+ruWEp7EwGUshdLKVRCxZW12fp9r40E1mQrf/34g==", + "license": "BSD-3-Clause" + }, + "node_modules/@protobufjs/eventemitter": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/@protobufjs/eventemitter/-/eventemitter-1.1.1.tgz", + "integrity": "sha512-vW1GmwMZNnL+gMRaovlh9yZX74kc+TTU3FObkkurpMaRtBfLP3ldjS9KQWlwZgraRE0+dheEEoAxdzcJQ8eXZg==", + "license": "BSD-3-Clause" + }, + "node_modules/@protobufjs/fetch": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/@protobufjs/fetch/-/fetch-1.1.1.tgz", + "integrity": "sha512-GpptLrs57adMSuHi3VNj0mAF8dwh36LMaYF6XyJ6JMWlVsc+t42tm1HSEDmOs3A8fC9yyeisgLhsTVQokOZ0zw==", + "license": "BSD-3-Clause", + "dependencies": { + "@protobufjs/aspromise": "^1.1.1" + } + }, + "node_modules/@protobufjs/float": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/@protobufjs/float/-/float-1.0.2.tgz", + "integrity": "sha512-Ddb+kVXlXst9d+R9PfTIxh1EdNkgoRe5tOX6t01f1lYWOvJnSPDBlG241QLzcyPdoNTsblLUdujGSE4RzrTZGQ==", + "license": "BSD-3-Clause" + }, + "node_modules/@protobufjs/path": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/@protobufjs/path/-/path-1.1.2.tgz", + "integrity": "sha512-6JOcJ5Tm08dOHAbdR3GrvP+yUUfkjG5ePsHYczMFLq3ZmMkAD98cDgcT2iA1lJ9NVwFd4tH/iSSoe44YWkltEA==", + "license": "BSD-3-Clause" + }, + "node_modules/@protobufjs/pool": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@protobufjs/pool/-/pool-1.1.0.tgz", + "integrity": "sha512-0kELaGSIDBKvcgS4zkjz1PeddatrjYcmMWOlAuAPwAeccUrPHdUqo/J6LiymHHEiJT5NrF1UVwxY14f+fy4WQw==", + "license": "BSD-3-Clause" + }, + "node_modules/@protobufjs/utf8": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/@protobufjs/utf8/-/utf8-1.1.1.tgz", + "integrity": "sha512-oOAWABowe8EAbMyWKM0tYDKi8Yaox52D+HWZhAIJqQXbqe0xI/GV7FhLWqlEKreMkfDjshR5FKgi3mnle0h6Eg==", + "license": "BSD-3-Clause" + }, + "node_modules/@rolldown/binding-android-arm64": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/@rolldown/binding-android-arm64/-/binding-android-arm64-1.0.3.tgz", + "integrity": "sha512-454rs7jHngixp/NMxd5srYD57OnzSlZ/eFTETjORQHLwJG1lRtmNOJcBerZlfu4GjKqeq8aCCIQrMdHyhI51Hw==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/@rolldown/binding-darwin-arm64": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/@rolldown/binding-darwin-arm64/-/binding-darwin-arm64-1.0.3.tgz", + "integrity": "sha512-PcAhP+ynjURNyy8SKGl5DQP94aGuB/7JrXJb/t7P+hanXvQVMWzUvRRhBAcg/lNRadBhoUPqSoP4xw5tR/KBEA==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/@rolldown/binding-darwin-x64": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/@rolldown/binding-darwin-x64/-/binding-darwin-x64-1.0.3.tgz", + "integrity": "sha512-9YpfeUvSE2RS7wysJ81uOZkXJz7f7Q55H2Gvp3VEw/EsahqDtrphrZ0EwDLK5vvKOzaCrBsjF8JmnMLcUt78Gg==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/@rolldown/binding-freebsd-x64": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/@rolldown/binding-freebsd-x64/-/binding-freebsd-x64-1.0.3.tgz", + "integrity": "sha512-yB1IlAsSNHncV6SCTL27/MVGR5htvQsoGxIv5KMGXALp+Ll1wYsn+x98M9MW7qa+NdSbvrrY7ANI4wLJ0n1e6g==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "freebsd" + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/@rolldown/binding-linux-arm-gnueabihf": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-arm-gnueabihf/-/binding-linux-arm-gnueabihf-1.0.3.tgz", + "integrity": "sha512-Yi30IVAAfLUCy2MseFjbB1jAMDl1VMCAas5StnYp8da9+CKvMd2H2cbEjWcw5NPaPqzvYkVIaF1nNUG+b7u/sw==", + "cpu": [ + "arm" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/@rolldown/binding-linux-arm64-gnu": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-arm64-gnu/-/binding-linux-arm64-gnu-1.0.3.tgz", + "integrity": "sha512-jsO7R8To+AdlYgUmN5sHSCZbfhtMBkO0WUx8iORQnPcMMdgr7qM2DQmMwgabs3GhNztdmoKkMKQFHD6DTMCIQw==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/@rolldown/binding-linux-arm64-musl": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-arm64-musl/-/binding-linux-arm64-musl-1.0.3.tgz", + "integrity": "sha512-VWkUHwWriDciit80wleYwKILoR/KMvxh/IdwS/paX+ZgpuRpCrKLUdadJbc0NpBEiyhpYawsJ73j9aCvOH+f7Q==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/@rolldown/binding-linux-ppc64-gnu": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-ppc64-gnu/-/binding-linux-ppc64-gnu-1.0.3.tgz", + "integrity": "sha512-5f1laC0SlIR0yDbFCd8acUhvJIag6N3zC5P7oUPN6wX0aOma+uKJ0wBDH5aq7I1PVI2ttTlhJwzwRIBnLiSGEg==", + "cpu": [ + "ppc64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/@rolldown/binding-linux-s390x-gnu": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-s390x-gnu/-/binding-linux-s390x-gnu-1.0.3.tgz", + "integrity": "sha512-Iq4ko0r4XsgbrF/LunNgHtAGLRRVE2kXonAXQ/MV0mC6jQpMOhW1SvtZja2EhC/kd05++bP78dsqBeIQyYJ6Yg==", + "cpu": [ + "s390x" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/@rolldown/binding-linux-x64-gnu": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-x64-gnu/-/binding-linux-x64-gnu-1.0.3.tgz", + "integrity": "sha512-B8m6tD5+/N5FeNQFbKlLA/2yVq9ycQP1SeedyEYYKWBNR3ZQbkvIUcNnDNM03lO1l5F2roiiFJGgvoLLyZXtSg==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/@rolldown/binding-linux-x64-musl": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-x64-musl/-/binding-linux-x64-musl-1.0.3.tgz", + "integrity": "sha512-pSdpdUJHkuCxun9LE7jvgUB9qsRgaiyNNCX7m/AvHTcq67AiT/Yhoxvw5zPfhrM8k/BfP8ce/hMOpthKDpEUow==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/@rolldown/binding-openharmony-arm64": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/@rolldown/binding-openharmony-arm64/-/binding-openharmony-arm64-1.0.3.tgz", + "integrity": "sha512-OXXS3RKJgX2uLwM+gYyuH5omcH8fL1LJs96pZGgtetVCahON57+d4SJHzTgZiOjxgGkSnpXpOsWuPDGAKAigEg==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "openharmony" + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/@rolldown/binding-wasm32-wasi": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/@rolldown/binding-wasm32-wasi/-/binding-wasm32-wasi-1.0.3.tgz", + "integrity": "sha512-JTtb8BWFynicNSoPrehsCzBtOKjZ6jhMiPFEmOiuXg1Fl8dn2KHQob+GuPSGR0dryQa1PQJbzjF3dqO/whhjLg==", + "cpu": [ + "wasm32" + ], + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "@emnapi/core": "1.10.0", + "@emnapi/runtime": "1.10.0", + "@napi-rs/wasm-runtime": "^1.1.4" + }, + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/@rolldown/binding-win32-arm64-msvc": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/@rolldown/binding-win32-arm64-msvc/-/binding-win32-arm64-msvc-1.0.3.tgz", + "integrity": "sha512-gEdFFEN70A/jxb2svrWsN3aDL7OUtmvlOy+6fa2jxG8K0wQ1ZbdeLGnidov6Yu5/733dI5ySfzFlQ/cb0bSz1g==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/@rolldown/binding-win32-x64-msvc": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/@rolldown/binding-win32-x64-msvc/-/binding-win32-x64-msvc-1.0.3.tgz", + "integrity": "sha512-eXB7CHuaQdqmJcc3koCNtNPmT/bj2gc999kUFgBxG8Ac0NdgXc4rkCHhqrgrhN3zddvvvrgzj1e90SuSfmyIXA==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/@rolldown/pluginutils": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/@rolldown/pluginutils/-/pluginutils-1.0.1.tgz", + "integrity": "sha512-2j9bGt5Jh8hj+vPtgzPtl72j0yRxHAyumoo6TNfAjsLB04UtpSvPbPcDcBMxz7n+9CYB0c1GxQFxYRg2jimqGw==", + "dev": true, + "license": "MIT" + }, + "node_modules/@sveltejs/acorn-typescript": { + "version": "1.0.10", + "resolved": "https://registry.npmjs.org/@sveltejs/acorn-typescript/-/acorn-typescript-1.0.10.tgz", + "integrity": "sha512-4WfKk68eTih+MiJD4fSbxN7E8kVBmTMPWHUPYjvl2N0rMs53YLTT8/YjKU5Dtnz5LqDjl7LEw4U7lXR2W3J5WA==", + "dev": true, + "license": "MIT", + "peerDependencies": { + "acorn": "^8.9.0" + } + }, + "node_modules/@sveltejs/vite-plugin-svelte": { + "version": "7.1.2", + "resolved": "https://registry.npmjs.org/@sveltejs/vite-plugin-svelte/-/vite-plugin-svelte-7.1.2.tgz", + "integrity": "sha512-DrUBA2UXRfDmUX/ZTiEopd3X40yavsJF1FX2RygcuIScHL7o5YX1fMvoYnDhjeJQC4weCOklirpNWlcb2NiSeA==", + "dev": true, + "license": "MIT", + "dependencies": { + "deepmerge": "^4.3.1", + "magic-string": "^0.30.21", + "obug": "^2.1.0", + "vitefu": "^1.1.2" + }, + "engines": { + "node": "^20.19 || ^22.12 || >=24" + }, + "peerDependencies": { + "svelte": "^5.46.4", + "vite": "^8.0.0-beta.7 || ^8.0.0" + } + }, + "node_modules/@tybys/wasm-util": { + "version": "0.10.2", + "resolved": "https://registry.npmjs.org/@tybys/wasm-util/-/wasm-util-0.10.2.tgz", + "integrity": "sha512-RoBvJ2X0wuKlWFIjrwffGw1IqZHKQqzIchKaadZZfnNpsAYp2mM0h36JtPCjNDAHGgYez/15uMBpfGwchhiMgg==", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "tslib": "^2.4.0" + } + }, + "node_modules/@types/estree": { + "version": "1.0.9", + "resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.9.tgz", + "integrity": "sha512-GhdPgy1el4/ImP05X05Uw4cw2/M93BCUmnEvWZNStlCzEKME4Fkk+YpoA5OiHNQmoS7Cafb8Xa3Pya8m1Qrzeg==", + "dev": true, + "license": "MIT" + }, + "node_modules/@types/node": { + "version": "25.9.3", + "resolved": "https://registry.npmjs.org/@types/node/-/node-25.9.3.tgz", + "integrity": "sha512-603BddQMv3pUcr4U2dhujk83N2tTDVr/34wII2B6bJy6g+8WD6yUb11jszNs0gdi4PesVWl7ABt8nYMVpnLUcg==", + "license": "MIT", + "dependencies": { + "undici-types": ">=7.24.0 <7.24.7" + } + }, + "node_modules/@types/trusted-types": { + "version": "2.0.7", + "resolved": "https://registry.npmjs.org/@types/trusted-types/-/trusted-types-2.0.7.tgz", + "integrity": "sha512-ScaPdn1dQczgbl0QFTeTOmVHFULt394XJgOQNoyVhZ6r2vLnMLJfBPd53SB52T/3G36VI1/g2MZaX0cwDuXsfw==", + "dev": true, + "license": "MIT" + }, + "node_modules/acorn": { + "version": "8.16.0", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.16.0.tgz", + "integrity": "sha512-UVJyE9MttOsBQIDKw1skb9nAwQuR5wuGD3+82K6JgJlm/Y+KI92oNsMNGZCYdDsVtRHSak0pcV5Dno5+4jh9sw==", + "dev": true, + "license": "MIT", + "bin": { + "acorn": "bin/acorn" + }, + "engines": { + "node": ">=0.4.0" + } + }, + "node_modules/ansi-regex": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", + "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "license": "MIT", + "dependencies": { + "color-convert": "^2.0.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/aria-query": { + "version": "5.3.1", + "resolved": "https://registry.npmjs.org/aria-query/-/aria-query-5.3.1.tgz", + "integrity": "sha512-Z/ZeOgVl7bcSYZ/u/rh0fOpvEpq//LZmdbkXyc7syVzjPAhfOa9ebsdTSjEBDU4vs5nC98Kfduj1uFo0qyET3g==", + "dev": true, + "license": "Apache-2.0", + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/axobject-query": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/axobject-query/-/axobject-query-4.1.0.tgz", + "integrity": "sha512-qIj0G9wZbMGNLjLmg1PT6v2mE9AH2zlnADJD/2tC6E00hgmhUOfEB6greHPAfLRSufHqROIUTkw6E+M3lH0PTQ==", + "dev": true, + "license": "Apache-2.0", + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/cliui": { + "version": "8.0.1", + "resolved": "https://registry.npmjs.org/cliui/-/cliui-8.0.1.tgz", + "integrity": "sha512-BSeNnyus75C4//NQ9gQt1/csTXyo/8Sb+afLAkzAptFuMsod9HFokGNudZpi/oQV73hnVK+sR+5PVRMd+Dr7YQ==", + "license": "ISC", + "dependencies": { + "string-width": "^4.2.0", + "strip-ansi": "^6.0.1", + "wrap-ansi": "^7.0.0" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/clsx": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/clsx/-/clsx-2.1.1.tgz", + "integrity": "sha512-eYm0QWBtUrBWZWG0d386OGAw16Z995PiOVo2B7bjWSbHedGl5e0ZWaq65kOGgUSNesEIDkB9ISbTg/JK9dhCZA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "node_modules/color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "license": "MIT", + "dependencies": { + "color-name": "~1.1.4" + }, + "engines": { + "node": ">=7.0.0" + } + }, + "node_modules/color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", + "license": "MIT" + }, + "node_modules/deepmerge": { + "version": "4.3.1", + "resolved": "https://registry.npmjs.org/deepmerge/-/deepmerge-4.3.1.tgz", + "integrity": "sha512-3sUqbMEc77XqpdNO7FRyRog+eW3ph+GYCbj+rK+uYyRMuwsVy0rMiVtPn+QJlKFvWP/1PYpapqYn0Me2knFn+A==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/detect-libc": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/detect-libc/-/detect-libc-2.1.2.tgz", + "integrity": "sha512-Btj2BOOO83o3WyH59e8MgXsxEQVcarkUOpEYrubB0urwnN10yQ364rsiByU11nZlqWYZm05i/of7io4mzihBtQ==", + "dev": true, + "license": "Apache-2.0", + "engines": { + "node": ">=8" + } + }, + "node_modules/devalue": { + "version": "5.8.1", + "resolved": "https://registry.npmjs.org/devalue/-/devalue-5.8.1.tgz", + "integrity": "sha512-4CXDYRBGqN+57wVJkuXBYmpAVUSg3L6JAQa/DFqm238G73E1wuyc/JhGQJzN7vUf/CMphYau2zXbfWzDR5aTEw==", + "dev": true, + "license": "MIT" + }, + "node_modules/emoji-regex": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", + "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", + "license": "MIT" + }, + "node_modules/escalade": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.2.0.tgz", + "integrity": "sha512-WUj2qlxaQtO4g6Pq5c29GTcWGDyd8itL8zTlipgECz3JesAiiOKotd8JU6otB3PACgG6xkJUyVhboMS+bje/jA==", + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "node_modules/esm-env": { + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/esm-env/-/esm-env-1.2.2.tgz", + "integrity": "sha512-Epxrv+Nr/CaL4ZcFGPJIYLWFom+YeV1DqMLHJoEd9SYRxNbaFruBwfEX/kkHUJf55j2+TUbmDcmuilbP1TmXHA==", + "dev": true, + "license": "MIT" + }, + "node_modules/esrap": { + "version": "2.2.11", + "resolved": "https://registry.npmjs.org/esrap/-/esrap-2.2.11.tgz", + "integrity": "sha512-gPdx+I+BjYEinNMQaBXFjbaJVyoPMU4ZODg5mE+M4DqVG9VusAVHHjcBX+zqyITlI0DIARwDMMzZwAWj36dRoQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jridgewell/sourcemap-codec": "^1.4.15" + }, + "peerDependencies": { + "@typescript-eslint/types": "^8.2.0" + }, + "peerDependenciesMeta": { + "@typescript-eslint/types": { + "optional": true + } + } + }, + "node_modules/faye-websocket": { + "version": "0.11.4", + "resolved": "https://registry.npmjs.org/faye-websocket/-/faye-websocket-0.11.4.tgz", + "integrity": "sha512-CzbClwlXAuiRQAlUyfqPgvPoNKTckTPGfwZV4ZdAhVcP2lh9KUxJg2b5GkE7XbjKQ3YJnQ9z6D9ntLAlB+tP8g==", + "license": "Apache-2.0", + "dependencies": { + "websocket-driver": ">=0.5.1" + }, + "engines": { + "node": ">=0.8.0" + } + }, + "node_modules/fdir": { + "version": "6.5.0", + "resolved": "https://registry.npmjs.org/fdir/-/fdir-6.5.0.tgz", + "integrity": "sha512-tIbYtZbucOs0BRGqPJkshJUYdL+SDH7dVM8gjy+ERp3WAUjLEFJE+02kanyHtwjWOnwrKYBiwAmM0p4kLJAnXg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12.0.0" + }, + "peerDependencies": { + "picomatch": "^3 || ^4" + }, + "peerDependenciesMeta": { + "picomatch": { + "optional": true + } + } + }, + "node_modules/fsevents": { + "version": "2.3.3", + "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.3.tgz", + "integrity": "sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==", + "dev": true, + "hasInstallScript": true, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": "^8.16.0 || ^10.6.0 || >=11.0.0" + } + }, + "node_modules/get-caller-file": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz", + "integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==", + "license": "ISC", + "engines": { + "node": "6.* || 8.* || >= 10.*" + } + }, + "node_modules/gsap": { + "version": "3.15.0", + "resolved": "https://registry.npmjs.org/gsap/-/gsap-3.15.0.tgz", + "integrity": "sha512-dMW4CWBTUK1AEEDeZc1g4xpPGIrSf9fJF960qbTZmN/QwZIWY5wgliS6JWl9/25fpTGJrMRtSjGtOmPnfjZB+A==", + "license": "Standard 'no charge' license: https://gsap.com/standard-license." + }, + "node_modules/http-parser-js": { + "version": "0.5.10", + "resolved": "https://registry.npmjs.org/http-parser-js/-/http-parser-js-0.5.10.tgz", + "integrity": "sha512-Pysuw9XpUq5dVc/2SMHpuTY01RFl8fttgcyunjL7eEMhGM3cI4eOmiCycJDVCo/7O7ClfQD3SaI6ftDzqOXYMA==", + "license": "MIT" + }, + "node_modules/idb": { + "version": "7.1.1", + "resolved": "https://registry.npmjs.org/idb/-/idb-7.1.1.tgz", + "integrity": "sha512-gchesWBzyvGHRO9W8tzUWFDycow5gwjvFKfyV9FF32Y7F50yZMp7mP+T2mJIWFx49zicqyC4uefHM17o6xKIVQ==", + "license": "ISC" + }, + "node_modules/is-fullwidth-code-point": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", + "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/is-reference": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/is-reference/-/is-reference-3.0.3.tgz", + "integrity": "sha512-ixkJoqQvAP88E6wLydLGGqCJsrFUnqoH6HnaczB8XmDH1oaWU+xxdptvikTgaEhtZ53Ky6YXiBuUI2WXLMCwjw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/estree": "^1.0.6" + } + }, + "node_modules/lightningcss": { + "version": "1.32.0", + "resolved": "https://registry.npmjs.org/lightningcss/-/lightningcss-1.32.0.tgz", + "integrity": "sha512-NXYBzinNrblfraPGyrbPoD19C1h9lfI/1mzgWYvXUTe414Gz/X1FD2XBZSZM7rRTrMA8JL3OtAaGifrIKhQ5yQ==", + "dev": true, + "license": "MPL-2.0", + "dependencies": { + "detect-libc": "^2.0.3" + }, + "engines": { + "node": ">= 12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + }, + "optionalDependencies": { + "lightningcss-android-arm64": "1.32.0", + "lightningcss-darwin-arm64": "1.32.0", + "lightningcss-darwin-x64": "1.32.0", + "lightningcss-freebsd-x64": "1.32.0", + "lightningcss-linux-arm-gnueabihf": "1.32.0", + "lightningcss-linux-arm64-gnu": "1.32.0", + "lightningcss-linux-arm64-musl": "1.32.0", + "lightningcss-linux-x64-gnu": "1.32.0", + "lightningcss-linux-x64-musl": "1.32.0", + "lightningcss-win32-arm64-msvc": "1.32.0", + "lightningcss-win32-x64-msvc": "1.32.0" + } + }, + "node_modules/lightningcss-android-arm64": { + "version": "1.32.0", + "resolved": "https://registry.npmjs.org/lightningcss-android-arm64/-/lightningcss-android-arm64-1.32.0.tgz", + "integrity": "sha512-YK7/ClTt4kAK0vo6w3X+Pnm0D2cf2vPHbhOXdoNti1Ga0al1P4TBZhwjATvjNwLEBCnKvjJc2jQgHXH0NEwlAg==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MPL-2.0", + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": ">= 12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/lightningcss-darwin-arm64": { + "version": "1.32.0", + "resolved": "https://registry.npmjs.org/lightningcss-darwin-arm64/-/lightningcss-darwin-arm64-1.32.0.tgz", + "integrity": "sha512-RzeG9Ju5bag2Bv1/lwlVJvBE3q6TtXskdZLLCyfg5pt+HLz9BqlICO7LZM7VHNTTn/5PRhHFBSjk5lc4cmscPQ==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MPL-2.0", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">= 12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/lightningcss-darwin-x64": { + "version": "1.32.0", + "resolved": "https://registry.npmjs.org/lightningcss-darwin-x64/-/lightningcss-darwin-x64-1.32.0.tgz", + "integrity": "sha512-U+QsBp2m/s2wqpUYT/6wnlagdZbtZdndSmut/NJqlCcMLTWp5muCrID+K5UJ6jqD2BFshejCYXniPDbNh73V8w==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MPL-2.0", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">= 12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/lightningcss-freebsd-x64": { + "version": "1.32.0", + "resolved": "https://registry.npmjs.org/lightningcss-freebsd-x64/-/lightningcss-freebsd-x64-1.32.0.tgz", + "integrity": "sha512-JCTigedEksZk3tHTTthnMdVfGf61Fky8Ji2E4YjUTEQX14xiy/lTzXnu1vwiZe3bYe0q+SpsSH/CTeDXK6WHig==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MPL-2.0", + "optional": true, + "os": [ + "freebsd" + ], + "engines": { + "node": ">= 12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/lightningcss-linux-arm-gnueabihf": { + "version": "1.32.0", + "resolved": "https://registry.npmjs.org/lightningcss-linux-arm-gnueabihf/-/lightningcss-linux-arm-gnueabihf-1.32.0.tgz", + "integrity": "sha512-x6rnnpRa2GL0zQOkt6rts3YDPzduLpWvwAF6EMhXFVZXD4tPrBkEFqzGowzCsIWsPjqSK+tyNEODUBXeeVHSkw==", + "cpu": [ + "arm" + ], + "dev": true, + "license": "MPL-2.0", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/lightningcss-linux-arm64-gnu": { + "version": "1.32.0", + "resolved": "https://registry.npmjs.org/lightningcss-linux-arm64-gnu/-/lightningcss-linux-arm64-gnu-1.32.0.tgz", + "integrity": "sha512-0nnMyoyOLRJXfbMOilaSRcLH3Jw5z9HDNGfT/gwCPgaDjnx0i8w7vBzFLFR1f6CMLKF8gVbebmkUN3fa/kQJpQ==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MPL-2.0", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/lightningcss-linux-arm64-musl": { + "version": "1.32.0", + "resolved": "https://registry.npmjs.org/lightningcss-linux-arm64-musl/-/lightningcss-linux-arm64-musl-1.32.0.tgz", + "integrity": "sha512-UpQkoenr4UJEzgVIYpI80lDFvRmPVg6oqboNHfoH4CQIfNA+HOrZ7Mo7KZP02dC6LjghPQJeBsvXhJod/wnIBg==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MPL-2.0", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/lightningcss-linux-x64-gnu": { + "version": "1.32.0", + "resolved": "https://registry.npmjs.org/lightningcss-linux-x64-gnu/-/lightningcss-linux-x64-gnu-1.32.0.tgz", + "integrity": "sha512-V7Qr52IhZmdKPVr+Vtw8o+WLsQJYCTd8loIfpDaMRWGUZfBOYEJeyJIkqGIDMZPwPx24pUMfwSxxI8phr/MbOA==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MPL-2.0", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/lightningcss-linux-x64-musl": { + "version": "1.32.0", + "resolved": "https://registry.npmjs.org/lightningcss-linux-x64-musl/-/lightningcss-linux-x64-musl-1.32.0.tgz", + "integrity": "sha512-bYcLp+Vb0awsiXg/80uCRezCYHNg1/l3mt0gzHnWV9XP1W5sKa5/TCdGWaR/zBM2PeF/HbsQv/j2URNOiVuxWg==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MPL-2.0", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/lightningcss-win32-arm64-msvc": { + "version": "1.32.0", + "resolved": "https://registry.npmjs.org/lightningcss-win32-arm64-msvc/-/lightningcss-win32-arm64-msvc-1.32.0.tgz", + "integrity": "sha512-8SbC8BR40pS6baCM8sbtYDSwEVQd4JlFTOlaD3gWGHfThTcABnNDBda6eTZeqbofalIJhFx0qKzgHJmcPTnGdw==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MPL-2.0", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">= 12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/lightningcss-win32-x64-msvc": { + "version": "1.32.0", + "resolved": "https://registry.npmjs.org/lightningcss-win32-x64-msvc/-/lightningcss-win32-x64-msvc-1.32.0.tgz", + "integrity": "sha512-Amq9B/SoZYdDi1kFrojnoqPLxYhQ4Wo5XiL8EVJrVsB8ARoC1PWW6VGtT0WKCemjy8aC+louJnjS7U18x3b06Q==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MPL-2.0", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">= 12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/locate-character": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/locate-character/-/locate-character-3.0.0.tgz", + "integrity": "sha512-SW13ws7BjaeJ6p7Q6CO2nchbYEc3X3J6WrmTTDto7yMPqVSZTUyY5Tjbid+Ab8gLnATtygYtiDIJGQRRn2ZOiA==", + "dev": true, + "license": "MIT" + }, + "node_modules/lodash.camelcase": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/lodash.camelcase/-/lodash.camelcase-4.3.0.tgz", + "integrity": "sha512-TwuEnCnxbc3rAvhf/LbG7tJUDzhqXyFnv3dtzLOPgCG/hODL7WFnsbwktkD7yUV0RrreP/l1PALq/YSg6VvjlA==", + "license": "MIT" + }, + "node_modules/long": { + "version": "5.3.2", + "resolved": "https://registry.npmjs.org/long/-/long-5.3.2.tgz", + "integrity": "sha512-mNAgZ1GmyNhD7AuqnTG3/VQ26o760+ZYBPKjPvugO8+nLbYfX6TVpJPseBvopbdY+qpZ/lKUnmEc1LeZYS3QAA==", + "license": "Apache-2.0" + }, + "node_modules/magic-string": { + "version": "0.30.21", + "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.30.21.tgz", + "integrity": "sha512-vd2F4YUyEXKGcLHoq+TEyCjxueSeHnFxyyjNp80yg0XV4vUhnDer/lvvlqM/arB5bXQN5K2/3oinyCRyx8T2CQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jridgewell/sourcemap-codec": "^1.5.5" + } + }, + "node_modules/nanoid": { + "version": "3.3.12", + "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.12.tgz", + "integrity": "sha512-ZB9RH/39qpq5Vu6Y+NmUaFhQR6pp+M2Xt76XBnEwDaGcVAqhlvxrl3B2bKS5D3NH3QR76v3aSrKaF/Kiy7lEtQ==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "license": "MIT", + "bin": { + "nanoid": "bin/nanoid.cjs" + }, + "engines": { + "node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1" + } + }, + "node_modules/obug": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/obug/-/obug-2.1.2.tgz", + "integrity": "sha512-AWGB9WFcRXOQs48Z/udjI5ZcZMHXwX8XPByNpOydgcGsDLIzjGizhoMWJyKAWze7AVW/2W1i+/gPX4YtKe5cyg==", + "dev": true, + "funding": [ + "https://github.com/sponsors/sxzz", + "https://opencollective.com/debug" + ], + "license": "MIT", + "engines": { + "node": ">=12.20.0" + } + }, + "node_modules/picocolors": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.1.1.tgz", + "integrity": "sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==", + "dev": true, + "license": "ISC" + }, + "node_modules/picomatch": { + "version": "4.0.4", + "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-4.0.4.tgz", + "integrity": "sha512-QP88BAKvMam/3NxH6vj2o21R6MjxZUAd6nlwAS/pnGvN9IVLocLHxGYIzFhg6fUQ+5th6P4dv4eW9jX3DSIj7A==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/jonschlinkert" + } + }, + "node_modules/postcss": { + "version": "8.5.15", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.5.15.tgz", + "integrity": "sha512-FfR8sjd4em2T6fb3I2MwAJU7HWVMr9zba+enmQeeWFfCbm+UOC/0X4DS8XtpUTMwWMGbjKYP7xjfNekzyGmB3A==", + "dev": true, + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/postcss/" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/postcss" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "license": "MIT", + "dependencies": { + "nanoid": "^3.3.12", + "picocolors": "^1.1.1", + "source-map-js": "^1.2.1" + }, + "engines": { + "node": "^10 || ^12 || >=14" + } + }, + "node_modules/protobufjs": { + "version": "7.6.4", + "resolved": "https://registry.npmjs.org/protobufjs/-/protobufjs-7.6.4.tgz", + "integrity": "sha512-RJJPTTpvFfHcWLkIa2JFWK4XvtSzS0yEWDmunqHXli1h3JlkbcQZXDZdcWxv+JK3Xsl5/UFDPZ0iGm7DAengYw==", + "hasInstallScript": true, + "license": "BSD-3-Clause", + "dependencies": { + "@protobufjs/aspromise": "^1.1.2", + "@protobufjs/base64": "^1.1.2", + "@protobufjs/codegen": "^2.0.5", + "@protobufjs/eventemitter": "^1.1.1", + "@protobufjs/fetch": "^1.1.1", + "@protobufjs/float": "^1.0.2", + "@protobufjs/path": "^1.1.2", + "@protobufjs/pool": "^1.1.0", + "@protobufjs/utf8": "^1.1.1", + "@types/node": ">=13.7.0", + "long": "^5.3.2" + }, + "engines": { + "node": ">=12.0.0" + } + }, + "node_modules/require-directory": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz", + "integrity": "sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q==", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/rolldown": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/rolldown/-/rolldown-1.0.3.tgz", + "integrity": "sha512-i00lAJ2ks1BYr7rjNjKC7BcqAS7nVfiT3QX1SI5aY+AFHblCmaUf9OE9dbdzDvW6dJxbi2ZCZiy9v3CcwOiX3g==", + "dev": true, + "license": "MIT", + "dependencies": { + "@oxc-project/types": "=0.133.0", + "@rolldown/pluginutils": "^1.0.0" + }, + "bin": { + "rolldown": "bin/cli.mjs" + }, + "engines": { + "node": "^20.19.0 || >=22.12.0" + }, + "optionalDependencies": { + "@rolldown/binding-android-arm64": "1.0.3", + "@rolldown/binding-darwin-arm64": "1.0.3", + "@rolldown/binding-darwin-x64": "1.0.3", + "@rolldown/binding-freebsd-x64": "1.0.3", + "@rolldown/binding-linux-arm-gnueabihf": "1.0.3", + "@rolldown/binding-linux-arm64-gnu": "1.0.3", + "@rolldown/binding-linux-arm64-musl": "1.0.3", + "@rolldown/binding-linux-ppc64-gnu": "1.0.3", + "@rolldown/binding-linux-s390x-gnu": "1.0.3", + "@rolldown/binding-linux-x64-gnu": "1.0.3", + "@rolldown/binding-linux-x64-musl": "1.0.3", + "@rolldown/binding-openharmony-arm64": "1.0.3", + "@rolldown/binding-wasm32-wasi": "1.0.3", + "@rolldown/binding-win32-arm64-msvc": "1.0.3", + "@rolldown/binding-win32-x64-msvc": "1.0.3" + } + }, + "node_modules/safe-buffer": { + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", + "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "MIT" + }, + "node_modules/source-map-js": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.2.1.tgz", + "integrity": "sha512-UXWMKhLOwVKb728IUtQPXxfYU+usdybtUrK/8uGE8CQMvrhOpwvzDBwj0QhSL7MQc7vIsISBG8VQ8+IDQxpfQA==", + "dev": true, + "license": "BSD-3-Clause", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/string-width": { + "version": "4.2.3", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", + "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", + "license": "MIT", + "dependencies": { + "emoji-regex": "^8.0.0", + "is-fullwidth-code-point": "^3.0.0", + "strip-ansi": "^6.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/strip-ansi": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", + "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "license": "MIT", + "dependencies": { + "ansi-regex": "^5.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/svelte": { + "version": "5.56.2", + "resolved": "https://registry.npmjs.org/svelte/-/svelte-5.56.2.tgz", + "integrity": "sha512-1lDf8TLqpxyAt3xgybfytWPJQbaUD6TiDgpiCLH0BKrKEwzecB9pjuNVnEJMpzH018xUzo6oxheK2HT0oa2RoQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jridgewell/remapping": "^2.3.4", + "@jridgewell/sourcemap-codec": "^1.5.0", + "@sveltejs/acorn-typescript": "^1.0.10", + "@types/estree": "^1.0.5", + "@types/trusted-types": "^2.0.7", + "acorn": "^8.12.1", + "aria-query": "5.3.1", + "axobject-query": "^4.1.0", + "clsx": "^2.1.1", + "devalue": "^5.8.1", + "esm-env": "^1.2.1", + "esrap": "^2.2.11", + "is-reference": "^3.0.3", + "locate-character": "^3.0.0", + "magic-string": "^0.30.11", + "zimmerframe": "^1.1.2" + }, + "engines": { + "node": ">=18" + } + }, + "node_modules/tinyglobby": { + "version": "0.2.17", + "resolved": "https://registry.npmjs.org/tinyglobby/-/tinyglobby-0.2.17.tgz", + "integrity": "sha512-wXR/dYpcqKmfWpEdZjiKJOwCNFndD0DMnrW/cYjVGttEkBfVgcLFHoNrlj47mjOVic9yyNu65alsgF4NQyTa2g==", + "dev": true, + "license": "MIT", + "dependencies": { + "fdir": "^6.5.0", + "picomatch": "^4.0.4" + }, + "engines": { + "node": ">=12.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/SuperchupuDev" + } + }, + "node_modules/tslib": { + "version": "2.8.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz", + "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==", + "license": "0BSD" + }, + "node_modules/undici-types": { + "version": "7.24.6", + "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-7.24.6.tgz", + "integrity": "sha512-WRNW+sJgj5OBN4/0JpHFqtqzhpbnV0GuB+OozA9gCL7a993SmU+1JBZCzLNxYsbMfIeDL+lTsphD5jN5N+n0zg==", + "license": "MIT" + }, + "node_modules/vite": { + "version": "8.0.16", + "resolved": "https://registry.npmjs.org/vite/-/vite-8.0.16.tgz", + "integrity": "sha512-h9bXPmJichP5fLmVQo3PyaGSDE2n3aPuomeAlVRm0JLmt4rY6zmPKd59HYI4LNW8oTK7tlTsuC7l/m7awx9Jcw==", + "dev": true, + "license": "MIT", + "dependencies": { + "lightningcss": "^1.32.0", + "picomatch": "^4.0.4", + "postcss": "^8.5.15", + "rolldown": "1.0.3", + "tinyglobby": "^0.2.17" + }, + "bin": { + "vite": "bin/vite.js" + }, + "engines": { + "node": "^20.19.0 || >=22.12.0" + }, + "funding": { + "url": "https://github.com/vitejs/vite?sponsor=1" + }, + "optionalDependencies": { + "fsevents": "~2.3.3" + }, + "peerDependencies": { + "@types/node": "^20.19.0 || >=22.12.0", + "@vitejs/devtools": "^0.1.18", + "esbuild": "^0.27.0 || ^0.28.0", + "jiti": ">=1.21.0", + "less": "^4.0.0", + "sass": "^1.70.0", + "sass-embedded": "^1.70.0", + "stylus": ">=0.54.8", + "sugarss": "^5.0.0", + "terser": "^5.16.0", + "tsx": "^4.8.1", + "yaml": "^2.4.2" + }, + "peerDependenciesMeta": { + "@types/node": { + "optional": true + }, + "@vitejs/devtools": { + "optional": true + }, + "esbuild": { + "optional": true + }, + "jiti": { + "optional": true + }, + "less": { + "optional": true + }, + "sass": { + "optional": true + }, + "sass-embedded": { + "optional": true + }, + "stylus": { + "optional": true + }, + "sugarss": { + "optional": true + }, + "terser": { + "optional": true + }, + "tsx": { + "optional": true + }, + "yaml": { + "optional": true + } + } + }, + "node_modules/vitefu": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/vitefu/-/vitefu-1.1.3.tgz", + "integrity": "sha512-ub4okH7Z5KLjb6hDyjqrGXqWtWvoYdU3IGm/NorpgHncKoLTCfRIbvlhBm7r0YstIaQRYlp4yEbFqDcKSzXSSg==", + "dev": true, + "license": "MIT", + "workspaces": [ + "tests/deps/*", + "tests/projects/*", + "tests/projects/workspace/packages/*" + ], + "peerDependencies": { + "vite": "^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0" + }, + "peerDependenciesMeta": { + "vite": { + "optional": true + } + } + }, + "node_modules/web-vitals": { + "version": "4.2.4", + "resolved": "https://registry.npmjs.org/web-vitals/-/web-vitals-4.2.4.tgz", + "integrity": "sha512-r4DIlprAGwJ7YM11VZp4R884m0Vmgr6EAKe3P+kO0PPj3Unqyvv59rczf6UiGcb9Z8QxZVcqKNwv/g0WNdWwsw==", + "license": "Apache-2.0" + }, + "node_modules/websocket-driver": { + "version": "0.7.5", + "resolved": "https://registry.npmjs.org/websocket-driver/-/websocket-driver-0.7.5.tgz", + "integrity": "sha512-ZL2+3c7kMBdIRCMz6l8jQMHyGVxj+UL+xVk74Ombiciboca8rHa15L86B19E5oh1pL9Ii/uj54gtsIrZGMo6zA==", + "license": "Apache-2.0", + "dependencies": { + "http-parser-js": ">=0.5.1", + "safe-buffer": ">=5.1.0", + "websocket-extensions": ">=0.1.1" + }, + "engines": { + "node": ">=0.8.0" + } + }, + "node_modules/websocket-extensions": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/websocket-extensions/-/websocket-extensions-0.1.4.tgz", + "integrity": "sha512-OqedPIGOfsDlo31UNwYbCFMSaO9m9G/0faIHj5/dZFDMFqPTcx6UwqyOy3COEaEOg/9VsGIpdqn62W5KhoKSpg==", + "license": "Apache-2.0", + "engines": { + "node": ">=0.8.0" + } + }, + "node_modules/wrap-ansi": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", + "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", + "license": "MIT", + "dependencies": { + "ansi-styles": "^4.0.0", + "string-width": "^4.1.0", + "strip-ansi": "^6.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/wrap-ansi?sponsor=1" + } + }, + "node_modules/y18n": { + "version": "5.0.8", + "resolved": "https://registry.npmjs.org/y18n/-/y18n-5.0.8.tgz", + "integrity": "sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==", + "license": "ISC", + "engines": { + "node": ">=10" + } + }, + "node_modules/yargs": { + "version": "17.7.2", + "resolved": "https://registry.npmjs.org/yargs/-/yargs-17.7.2.tgz", + "integrity": "sha512-7dSzzRQ++CKnNI/krKnYRV7JKKPUXMEh61soaHKg9mrWEhzFWhFnxPxGl+69cD1Ou63C13NUPCnmIcrvqCuM6w==", + "license": "MIT", + "dependencies": { + "cliui": "^8.0.1", + "escalade": "^3.1.1", + "get-caller-file": "^2.0.5", + "require-directory": "^2.1.1", + "string-width": "^4.2.3", + "y18n": "^5.0.5", + "yargs-parser": "^21.1.1" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/yargs-parser": { + "version": "21.1.1", + "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-21.1.1.tgz", + "integrity": "sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw==", + "license": "ISC", + "engines": { + "node": ">=12" + } + }, + "node_modules/zdog": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/zdog/-/zdog-1.1.3.tgz", + "integrity": "sha512-raRj6r0gPzopFm5XWBJZr/NuV4EEnT4iE+U3dp5FV5pCb588Gmm3zLIp/j9yqqcMiHH8VNQlerLTgOqL7krh6w==", + "license": "MIT" + }, + "node_modules/zimmerframe": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/zimmerframe/-/zimmerframe-1.1.4.tgz", + "integrity": "sha512-B58NGBEoc8Y9MWWCQGl/gq9xBCe4IiKM0a2x7GZdQKOW5Exr8S1W24J6OgM1njK8xCRGvAJIL/MxXHf6SkmQKQ==", + "dev": true, + "license": "MIT" + } + } +} diff --git a/package.json b/package.json new file mode 100644 index 0000000..69cfc4d --- /dev/null +++ b/package.json @@ -0,0 +1,20 @@ +{ + "name": "pawspective", + "private": true, + "version": "0.0.0", + "type": "module", + "scripts": { + "dev": "vite", + "build": "vite build", + "preview": "vite preview" + }, + "devDependencies": { + "@sveltejs/vite-plugin-svelte": "^7.1.2", + "svelte": "^5.55.5", + "vite": "^8.0.12" + }, + "dependencies": { + "gsap": "^3.15.0", + "zdog": "^1.1.3" + } +} diff --git a/public/.DS_Store b/public/.DS_Store new file mode 100644 index 0000000000000000000000000000000000000000..5008ddfcf53c02e82d7eee2e57c38e5672ef89f6 GIT binary patch literal 6148 zcmeH~Jr2S!425mzP>H1@V-^m;4Wg<&0T*E43hX&L&p$$qDprKhvt+--jT7}7np#A3 zem<@ulZcFPQ@L2!n>{z**++&mCkOWA81W14cNZlEfg7;MkzE(HCqgga^y>{tEnwC%0;vJ&^%eQ zLs35+`xjp>T0 + // @ts-nocheck + import Land from './Land.svelte'; + import Bee from './Bee.svelte'; + import Chicken from './Chicken.svelte'; + import Blobfish from './Blobfish.svelte'; + import Sloth from './Sloth.svelte'; + import Dove from './Dove.svelte'; + + let page = 'land'; + + function openPage(name) { + page = name; + } + + +{#if page === 'land'} + openPage('bee')} + onSelectDove={() => openPage('dove')} + onSelectChicken={() => openPage('chicken')} + onSelectFish={() => openPage('blobfish')} + onSelectSloth={() => openPage('sloth')} + /> +{:else if page === 'bee'} + openPage('land')} /> +{:else if page === 'chicken'} + openPage('land')} /> +{:else if page === 'blobfish'} + openPage('land')} /> +{:else if page === 'sloth'} + openPage('land')} /> +{:else if page === 'dove'} + openPage('land')} /> +{/if} + + \ No newline at end of file diff --git a/src/Bee.svelte b/src/Bee.svelte new file mode 100644 index 0000000..cc66b60 --- /dev/null +++ b/src/Bee.svelte @@ -0,0 +1,652 @@ + + +{#if !embedded} +
+ + +
+{/if} + +{#if !embedded && historyOpen} +
+
+

Session chat

+ +
+
+ {#each chatHistory as msg} +
+ {msg.role === 'assistant' ? '🐝 Buzz' : 'You'} +

{msg.content}

+
+ {/each} +
+
+{/if} + +{#if !embedded} + +{/if} + + + +{#if !embedded} +
+
+
+ +
+

{thoughtBubbleText}

+
+
+ + +
+
+{/if} + +{#if !embedded} +

Click flowers to gather pollen. Drag quickly to annoy.

+{/if} + + \ No newline at end of file diff --git a/src/BeeBackground.svelte b/src/BeeBackground.svelte new file mode 100644 index 0000000..568ac74 --- /dev/null +++ b/src/BeeBackground.svelte @@ -0,0 +1,183 @@ + + + + + \ No newline at end of file diff --git a/src/Blobfish.svelte b/src/Blobfish.svelte new file mode 100644 index 0000000..73d4089 --- /dev/null +++ b/src/Blobfish.svelte @@ -0,0 +1,888 @@ + + +{#if !embedded} +
+ + +
+{/if} + +{#if historyOpen} +
+
+

Session chat

+ +
+
+ {#each chatHistory as msg} +
+ {msg.role === 'assistant' ? '🐟 Blobfish' : 'You'} +

{msg.content}

+
+ {/each} +
+
+{/if} + + + + + +
+ +
+ +
+
+
+ +
+

{thoughtBubbleText}

+
+ +
+ + +
+
+ +

{hintText}

+ + \ No newline at end of file diff --git a/src/Chicken.svelte b/src/Chicken.svelte new file mode 100644 index 0000000..7231fa9 --- /dev/null +++ b/src/Chicken.svelte @@ -0,0 +1,660 @@ + + +{#if !embedded} +
+ + +
+{/if} + +{#if !embedded && historyOpen} +
+
+

Session chat

+ +
+
+ {#each chatHistory as msg} +
+ {msg.role === 'assistant' ? '🐔 Professor Cluck' : 'You'} +

{msg.content}

+
+ {/each} +
+
+{/if} + +{#if !embedded} + +{/if} + + +
+
+
+ +
+

{thoughtBubbleText}

+
+
+ + +
+
+ +

Click to peck. Double-click to strut.

+ + \ No newline at end of file diff --git a/src/ChickenBackground.svelte b/src/ChickenBackground.svelte new file mode 100644 index 0000000..f15bcaf --- /dev/null +++ b/src/ChickenBackground.svelte @@ -0,0 +1,161 @@ + + + + + diff --git a/src/Dove.svelte b/src/Dove.svelte new file mode 100644 index 0000000..fd39a36 --- /dev/null +++ b/src/Dove.svelte @@ -0,0 +1,599 @@ + + +{#if !embedded} +
+ + +
+{/if} + +{#if !embedded && historyOpen} +
+
+

Session chat

+ +
+
+ {#each chatHistory as msg} +
+ {msg.role === 'assistant' ? '🕊️ Olive' : 'You'} +

{msg.content}

+
+ {/each} +
+
+{/if} + +{#if !embedded} + +{/if} + + +
+
+
+ +
+

{thoughtBubbleText}

+
+
+ + +
+
+ +

Click to fly. Double-click to startle.

+ + \ No newline at end of file diff --git a/src/DoveBackground.svelte b/src/DoveBackground.svelte new file mode 100644 index 0000000..75e3e80 --- /dev/null +++ b/src/DoveBackground.svelte @@ -0,0 +1,100 @@ + + + + + \ No newline at end of file diff --git a/src/Land.svelte b/src/Land.svelte new file mode 100644 index 0000000..3743ee0 --- /dev/null +++ b/src/Land.svelte @@ -0,0 +1,612 @@ + + + + + \ No newline at end of file diff --git a/src/Sloth.svelte b/src/Sloth.svelte new file mode 100644 index 0000000..5afc29c --- /dev/null +++ b/src/Sloth.svelte @@ -0,0 +1,693 @@ + + +{#if !embedded} +
+ + +
+{/if} + +{#if !embedded && historyOpen} +
+
+

Session chat

+ +
+
+ {#each chatHistory as msg} +
+ {msg.role === 'assistant' ? '🦥 Mossy' : 'You'} +

{msg.content}

+
+ {/each} +
+
+{/if} + +{#if !embedded} + +{/if} + + +
+
+
+ +
+

{thoughtBubbleText}

+
+
+ + +
+
+ +

Drag the sloth to help it climb. Double-click to wake it up.

+ + \ No newline at end of file diff --git a/src/SlothBackground.svelte b/src/SlothBackground.svelte new file mode 100644 index 0000000..f9966ef --- /dev/null +++ b/src/SlothBackground.svelte @@ -0,0 +1,134 @@ + + + + + \ No newline at end of file diff --git a/src/app.css b/src/app.css new file mode 100644 index 0000000..527d4fb --- /dev/null +++ b/src/app.css @@ -0,0 +1,296 @@ +:root { + --text: #6b6375; + --text-h: #08060d; + --bg: #fff; + --border: #e5e4e7; + --code-bg: #f4f3ec; + --accent: #aa3bff; + --accent-bg: rgba(170, 59, 255, 0.1); + --accent-border: rgba(170, 59, 255, 0.5); + --social-bg: rgba(244, 243, 236, 0.5); + --shadow: + rgba(0, 0, 0, 0.1) 0 10px 15px -3px, rgba(0, 0, 0, 0.05) 0 4px 6px -2px; + + --sans: system-ui, 'Segoe UI', Roboto, sans-serif; + --heading: system-ui, 'Segoe UI', Roboto, sans-serif; + --mono: ui-monospace, Consolas, monospace; + + font: 18px/145% var(--sans); + letter-spacing: 0.18px; + color-scheme: light dark; + color: var(--text); + background: var(--bg); + font-synthesis: none; + text-rendering: optimizeLegibility; + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; + + @media (max-width: 1024px) { + font-size: 16px; + } +} + +@media (prefers-color-scheme: dark) { + :root { + --text: #9ca3af; + --text-h: #f3f4f6; + --bg: #16171d; + --border: #2e303a; + --code-bg: #1f2028; + --accent: #c084fc; + --accent-bg: rgba(192, 132, 252, 0.15); + --accent-border: rgba(192, 132, 252, 0.5); + --social-bg: rgba(47, 48, 58, 0.5); + --shadow: + rgba(0, 0, 0, 0.4) 0 10px 15px -3px, rgba(0, 0, 0, 0.25) 0 4px 6px -2px; + } + + #social .button-icon { + filter: invert(1) brightness(2); + } +} + +body { + margin: 0; +} + +h1, +h2 { + font-family: var(--heading); + font-weight: 500; + color: var(--text-h); +} + +h1 { + font-size: 56px; + letter-spacing: -1.68px; + margin: 32px 0; + @media (max-width: 1024px) { + font-size: 36px; + margin: 20px 0; + } +} +h2 { + font-size: 24px; + line-height: 118%; + letter-spacing: -0.24px; + margin: 0 0 8px; + @media (max-width: 1024px) { + font-size: 20px; + } +} +p { + margin: 0; +} + +code, +.counter { + font-family: var(--mono); + display: inline-flex; + border-radius: 4px; + color: var(--text-h); +} + +code { + font-size: 15px; + line-height: 135%; + padding: 4px 8px; + background: var(--code-bg); +} + +.counter { + font-size: 16px; + padding: 5px 10px; + border-radius: 5px; + color: var(--accent); + background: var(--accent-bg); + border: 2px solid transparent; + transition: border-color 0.3s; + margin-bottom: 24px; + + &:hover { + border-color: var(--accent-border); + } + &:focus-visible { + outline: 2px solid var(--accent); + outline-offset: 2px; + } +} + +.hero { + position: relative; + + .base, + .framework, + .vite { + inset-inline: 0; + margin: 0 auto; + } + + .base { + width: 170px; + position: relative; + z-index: 0; + } + + .framework, + .vite { + position: absolute; + } + + .framework { + z-index: 1; + top: 34px; + height: 28px; + transform: perspective(2000px) rotateZ(300deg) rotateX(44deg) rotateY(39deg) + scale(1.4); + } + + .vite { + z-index: 0; + top: 107px; + height: 26px; + width: auto; + transform: perspective(2000px) rotateZ(300deg) rotateX(40deg) rotateY(39deg) + scale(0.8); + } +} + +#app { + width: 1126px; + max-width: 100%; + margin: 0 auto; + text-align: center; + border-inline: 1px solid var(--border); + min-height: 100svh; + display: flex; + flex-direction: column; + box-sizing: border-box; +} + +#center { + display: flex; + flex-direction: column; + gap: 25px; + place-content: center; + place-items: center; + flex-grow: 1; + + @media (max-width: 1024px) { + padding: 32px 20px 24px; + gap: 18px; + } +} + +#next-steps { + display: flex; + border-top: 1px solid var(--border); + text-align: left; + + & > div { + flex: 1 1 0; + padding: 32px; + @media (max-width: 1024px) { + padding: 24px 20px; + } + } + + .icon { + margin-bottom: 16px; + width: 22px; + height: 22px; + } + + @media (max-width: 1024px) { + flex-direction: column; + text-align: center; + } +} + +#docs { + border-right: 1px solid var(--border); + + @media (max-width: 1024px) { + border-right: none; + border-bottom: 1px solid var(--border); + } +} + +#next-steps ul { + list-style: none; + padding: 0; + display: flex; + gap: 8px; + margin: 32px 0 0; + + .logo { + height: 18px; + } + + a { + color: var(--text-h); + font-size: 16px; + border-radius: 6px; + background: var(--social-bg); + display: flex; + padding: 6px 12px; + align-items: center; + gap: 8px; + text-decoration: none; + transition: box-shadow 0.3s; + + &:hover { + box-shadow: var(--shadow); + } + .button-icon { + height: 18px; + width: 18px; + } + } + + @media (max-width: 1024px) { + margin-top: 20px; + flex-wrap: wrap; + justify-content: center; + + li { + flex: 1 1 calc(50% - 8px); + } + + a { + width: 100%; + justify-content: center; + box-sizing: border-box; + } + } +} + +#spacer { + height: 88px; + border-top: 1px solid var(--border); + @media (max-width: 1024px) { + height: 48px; + } +} + +.ticks { + position: relative; + width: 100%; + + &::before, + &::after { + content: ''; + position: absolute; + top: -4.5px; + border: 5px solid transparent; + } + + &::before { + left: 0; + border-left-color: var(--border); + } + &::after { + right: 0; + border-right-color: var(--border); + } +} diff --git a/src/assets/hero.png b/src/assets/hero.png new file mode 100644 index 0000000000000000000000000000000000000000..02251f4b956c55af2d76fd0788124d7eee2b45eb GIT binary patch literal 13057 zcmV+cGycqpP)V|)f$;Qooc7=_G zlYe)HToTQIc!$)^+J1M1y0*T%w!p~7%ux`!eRhO?c80XDxKQ*R^lUUMnA>6NT^?feoZ8xxvP32D&s-9ow zqjcM}eesrC)NeDmsf)*P7wJ|K!&xP%Zy4iI8lF)Tv2!reW)tCzg_1=PmOwd1SQfxa z8;58t!=z~Ba7CYlNWVG>he8aRPY|+-JmozNhn!#9i#77Aa_Edt$ijyCWL#=~I>~2X zZNrQ8I0=D+NWD4pq=7~(i zhfThMNw|G>g^y9pGzxX7ZSApl@tIxFcs{p#MX{Ax&XZT+cR#U+OWc@S)pkIuI}dzu zH?^Q=<(y&Vq-oxSLfc0Zmq81bjZWf}RnssBaD6}2g-XJHLcN_|*IOu>m|x$nbm(?E zyNy!Zp=RroS;?Vg*kmoJYBi!n5{_^@rA!)=t#a^;N$8GL!*DsQb}`yvEuX!G@||An znOfUZAevPrkV_qjl|<~3QRZzG&h@C9Y5z zqpNH4xqbF_InIPh)kX}Vn^5kyed|mOuq+2>M;v~KO37a#yrEn3XDqtOl=rc6_KZ!; zreo)DFVB4|>1Zd(bvMI%8uM;3!)YMYu&cG?(PE!B~y@3yKBMt|R zAf=I16tFwPsl)!jDqvYkLHaAQ+f@W1m6F5aZvwhm4JL z{_l)@b;)mDSzle2gyFP5-r1x-5X{G}ot%VyWP@vEW80!Q=f%RTfpg>B*TA^pyWYUQ z<=xPtz}WcZ!;rFl4m1D&FFHv?K~#9!?A%+fn=lXt;9!Fc#kQ;zk~gZFsH z8e5iu@c_pzX&qb8&Dum*oXwB+fm6l6gFfC|o*wgEiy6tw~&co z9Vd_4)P%wP-KwQW7|lN-znGK#?N+j24U=$982myIBM+vsiKsc*@4-rwJxuAaHKna6 zT3wi!C~a4ZKH03qU}_1bKyx0&$CaK7_%Z+Kl$)fF5^op zZApQF2TvDav!s|krTjw-8US6ep z%!VmX4luub+fseQz_D9ATJQ?iQQwD}TZz{-yo#l12a%+7bT@E(X-hyaVS-5vuXc#^ zx^w;L21;NphGVoj*{s3f4dme0y2LC=G1-7THd`#z?;tuC{^9k(dM{Rf2GOxg7Jzho z7nSZHl7?M9kdalX`)YgoKEfiae5+;$(OGeN1eqxrv!ZCVKyH>xiyNqfe8xzY8*7)H zQls8KMp)F4D>ED;idMOU^^WhVF@q>ZSmeB0y~qC~|DB648hr%Sh|*T(4q|w2l?m2+ zvBVw3@7+Mz?^Yc#+se6KM;a<=(W-I>k)$-qL2V*t}VaW`;?P4)WqI%maIDq8!oUcSYAD`}wWjkSyAVsnF65#2zQ zZ>(K*TlS(E#4y$4Zq+e^_&}d)q20hCe3!LfLYP%nQpLJ~gM6a1hJlz3)aS<9C9me| zAcmJ#>tOwBy{HoP0Sm1&_(E+S@6 zgBIFUoei8zJmdpiq8q5=OY7t@`)JWxn_&GvKVr=Zdb_pEL_j|=?f;WK^U9Q0efd#K z9q7SfJTl4pmA$jsZ5oK8@O9#!I3Cv-kL)<8SalSsp#dcpvJ}Nz#G6FC0%9|7Fi#8; zGDJXtj!&GljT3*HE@0EE>G8Se&d)*nkqe}-?`3vPl&UqK?xG z!3XJ4M-x`EuQjhBbu?ik-)rmIt=DF_N?TVMP)8Gjn)TZ2V%H|zENbeix}kOxd@0}Q z>)HuH6Ean!uS#~4g2Ne2WsMGel|h%j9*W_quQheG^JqmKhc*RYzp0wKlGjBq2VzY_ zgOv8WC1+%W=W)k)Yp_`8kfE=uiiwOZTXi8Uj9YGr$f@yJcJ;#&-Nq~sJ7anE(@;QN z=~br%7%7`isKStX|7!1?L(apl^QvPKlrHV4S+6tNVQ*R1iGdC~WMNE1$a+=rpQmcB z>wxiLIBvOnm;u*;9Y!kJdy(T4lk|8>JAm(&wEsFIF1$_*{>2ZNd$V6DS=SfrGxAv0 zzKe377JI`&o9Ljr+VnS*EwehA{f&{cKZF(6*MG5!p5MvrFA3ll{fmRG*L@6^cb;o^ z3Wm8c?Sc6$`>~VEWw(c$Y?nRO;2Q$=ulpqPtM^=1IZx;@xK0PgO7rKQ^WHVLwtgUT z%|JF{^f(VH)wLKQ%dYiu2RmchBdxL0-M?wxxul_z*{h6ZZ`>-k(vizs((vW8Lt6Z6 zY;Dt?@JWyN`O`f;&d1Mb?e%9oyRK1ql?EE5XB2(W)|D1~Rx35$H6@6)$F?)7V|zEO zI}fu0-0}8W5=6sg$fPnZ~7=tTudl?Ecb@pxbo)vni%gP-?hL|%*?62C;x6?@E`VRnJv z?fTb;k4x;TS7Cu-z%J}uy}e-pwpLQ17Q@4DC+FCdAmNKklG$`I_pyw7E{fYmw~{Fj zi?6KcVy=Wrel)EB_DWO|0CKmI|13!gBV?X`Ozp7x>?6jr`>Qz=^4ea35!$*f}) zS$i+x_k+@P2q1RFUH^ZTTk7=n?cjfR>hTq3l3SY~#w+I8SSutXGyhw;Ws~=zMQ%Vc z>$On~47Ut?P*_!TOQ&PFmLAyJieB2X4_Fd_!WxI-AY`q1Lc-oK?+qcOTzlQ?@~x@OT}*9jTVNfl@3rGvZpWI=eKg>T zZb@6YWz)J=IhP7CF|c?G62vMEG%#U}?#86$0jR4sG~i(jRd#jmn`7b(O#?N;3a;1t zhXLssmUwGhp79luw#(*V8WL0|8+E z6=YZ_O@er~$LrD_PYGc(kJgB=;yw#+Z3X6LDUZ(NcwN=B-hjdiHm!JFar%m{(5bEW z@@_VEtG$5;`EJZ|OkJ@l&G9n((w@uNFwmU%bG|s#TbcJJos!{e+bjCjrCq_}LcN!UFgKtgg7siV*7# z!}1whTRRi*-avJPu->C}Z8EiuK$#886+H_#_!btv+rsiBbv2jAJvJ+O0{#}y(%L3H zfjU-kq_-L@2XrL*ae{{qYJkD{@dw%*bkh2P&YS-0!Xt!PRz7KHV0+~j(t9W8lAVWR zt@B*DgURgEz4>WuN>o?_iKcw$?k{||Pg7{Q2o4|VmJ)mg?{VQJA<}zEr^YAAS zgGm5RT4T3p)U;yz-tfBO^kw8?IoG!IVmc+Z3m#}AOQ?5MRa>)OcU!$N^_+yK6ayn? zK>~WK0!#ysuj^oNLakm)Zvu+J)OSubX^kv!c*xgdIvs;kln!rgG4*uZ;w0mQQO4XD zO9P{GNdv!=cQ(CAL{S(%KtuV^zC&Q{%g)PoXnp^gn^>c*`E>$hLYg2HjnbVGtWLa{7zHdG1jT@B{|Dm16 z7K2(jsfG+m*Zxof)iXxu+!H5Mo-0$pkyV3VV4B@Qms46M zuBxGRV@HxU7Wwx-6CB zaU*HO<_qn$5GH>&@?nRy1{z zkik!sLfWQ)r#75)vVwCBU*r_)Q6mp?!j85{#Xqse)ApRdE$V0%I0*~e(_{)5H)`Mk z#rExC>yjhZxuL@|+#v4#<Axw$+VpV zuT;!2Vww$je$DpAW`$FX_Ab|Ip%$;&T$-lW8jS~B$>G}rd>eQG+$h9lQx4Mx0w={m zx9?T6VU`>sR}XClkAhHEShOUe8awiq zmizhL+}5UKs3}6~It7vBTig9dfQ2Q8coo+Miiaw7n~>4ybv2Ptt0^^=VqX(t*Yya9 zr`FxxFX8(v*H=+uJ#JJWIB2A(==HDYx~^zZ2nu?2`}|Wsa*f3h3ixc+U|FDtAG$Y! z*lc_7se5Oso-Cgqe0){{!8H4g$3<8!R<6JOurD;((({c$1(pwb>(#TT!sge@4>r2@ zVL7>U`0`nsWAYErezk4(Z!gMI2?UTo{J3Ajo(u4)KYIRd>BRcG4BoS3G0EXyEp@tw z%P7__?A^a>Q&AKL@ayDO9D*Qkc!NHnO9l}kpp_6hXbMppYL(X1L?njdFT|-h2<_$; zAtDZ!1Rf%|yb!qbWKd}%0b`LzBeyNy43|QO(&h2mxQLUL)|0%agVOW)6TV!&Ip^Ls z`PG2cygM8)IecQx=Fc+nqYRo4hS^^-nM_&-y8?EJXUczP=DIw(GkTJdpEdh<_STs{ z|A)4n1GKdE=Wu!!nYoZHcUQ4S&R;oDOKX2lrkdF(mK>hz<$Pp>igjOcvoRIjlN=W8 zu8Gx5(roqn8$>gEE5vy{GiGeW8Tq{vnf3hS-V=$tZkQuftUVuU8o6k&dn=Yg3)6MOIH>nlK^-2+C6BZITr~1@So?NvG#TwL)|~=1YXGMTLpS<)ziK_CSOabe z=cB#5)yz|@0i9dSo?*CX)}UP=s6)B+F@~Em(u@Q(I9J9i_V{LmMu8BfXYMh~*oPP+ z!3~xTv|(>|=n6ZOtT~C@V!z!w%18*8T2t6}U2S##rC)mekBql&VsBX;$~ByGE$oA9 z`0Wzq8p?R{4)$l*on;!cLa}Dh^Xe?owiQZt9nH1fxxh$pN9K%CtOw?u3>85L7rr!d zXs)l{TZ{xXP&U8exz?9cv~dNNibOmt*K4I$?RxqIBZ0(?Mg-9FS{*9Bc49Qc1`=sIF-rye`aNT1G@4NwXcnyc@+bw_mTsR>5< zF<2;X0QesG_pw|TonqVBhRtfqI>ty(SIu&VOXd0CrLlfp+;WH7HYjhqnu^oAY!9cB z=B6#R?Rfz9BP`dJ=@v_?70s3HxQPk+{6Y+lM85f2NF^00*^OcM0~?JOZfR9ZPYF+# zYSs}(_BUYV8{n@2a1hD^SV41bwmi2uztR;PeBgF1F-`9>`zoNss-@3LaF2sjl~>OaaVmp7PNp+UT`6@}gR%uzqHDVeEZ14{Yt?n%JeQm+t(1_u zSc}oj^{b;+rlS|ME%+LjzSI&xu0Bblxo$MJ-J$kJ?Qu_XUXh}*@*-x@ny|}wVM%Lg z3tNB`yvr*}N?ClGL;H2cglcvErIccU3(eP7>@~4nOIcI~-`P8tSQnx=jI&{9)!1}l z;gQ%_h>ZlPSV@o@Azq1R$C6ja5!^ZGh;YRhhxs58qJWo9@Bceac&yy(pET1hnn`~7@}2L0&dfPKYs$ih7m2}R!25!(hxqA(!UIw; zK4+~Jowy3=RNC6nE=ncU{LH5?*9@W24lacJlvCZXB$CYtE@>c+~H zkV=(5I&gb{xn2!~f&fs2NQgAL6`p|kyt6kpWk}iVlqIp(H;ig`{_U9yxs1jzu^ETM z7~)Rg8C-NueqTYP&U8l{DY=Y47cR zOR@U%$KQV{mkRF|4)z9Y^t3K`@p>duY&QLUFeh6VoV`a`$U@)(z!-N*5Cj<11$EZW&hJLX83TO{lJYP74rlDZQPkm@t<=U^I)x@|UnHHkdQlh?!ltZwl92rE;;^ zZuIappj4dhld1}kttYYV-j|KF1Kus zWBnzttD^00%LFK(wrwNragFub6xiV8QE2rm<`&fcR4SLFcdtLxVuN!Aal-g6dE4%k zARZ}|xeo;K{0yf7@9aua%2j5o)CPcIOc6uLHFJOcgtB5owlcNAwyAHc0QB0Dts?c@ zUemG~j_E&W7R%+x-IO4FJl8e&*2Blmp1S#RA|)geVrxvP)NHdYuxi~g&Etn?QdNK8ZDKZ?QFLU?zh30G|t9G>a_X4zk}Ygw<^$7K!GIn(Io$>(d4ODJQ2XSd%jpK zm7>ptl$a3GyB}5-%p4>Q*p#VL^B{yQMuFCM^#l#+N!Ne z5_PrJWB=@Iy+t)H`g1lX`{bm($KE5I?0c(JEYm#t{F}j!xtsbob0{xu@0TB_*>G7w0ICn zr#VoBktqHZ~XxhiKD*lcG|b;H*|Ny3P^8ceV`sfBRfrhwZ!T+MFZ!F1Bt{q$8d9i6o?~ zODj^POr}&ivSa^R^YFIq7o0giLBKCycH_aU`F6)O6JX%nPTwh~Q`eq6*0iE#Srj2^ z*_hN3%*b83zfafy60@Cp3{J({RlSaEn&E?mrxRNC9GQ7#+f=s! z0KBf-9Ny_v2VbE%aB|Di)5kNJ^t&C`4D(>t7zYUWUFtbxt+Oq=!@O7BU)}>d*R72o zFF)3jQD_lLe4is&xzyJYC1-c{8TX$RU>&>P$%)ufpez0XSAukmh!xcekg`s$c<>-q zI#zn^JU0zzF}V60)o$_gY}PQH>b2M9&8fRZa#OauglPb zeQ@pMm&=!vNgos4CluQjLMV!pfkmxK+35bi^k&=k>9h02?l+u+m0agG;(h2|Jslc-llvtEwn~*w3bx7qnvZACG<8}AGeaDVvcHbKd2>3G^ zSFPULUn-?Pmo^-_`mLZr??uNH`2=I&yajlrF{DtUxMy#Nu}z=3y7qbUA;5`)hibMR zhXL@@uKyV0-2&A@t@!xyrBnMJl&^o@Gx$&5_q6?D=ji5grd-~=?dlg;ur(_V0wjh! zA=JV^C1m+DDkOsgr<%O9ZQFg!0}pD(#PSz4Dr_EyS5$`)VIAv);4n-SFP~YtC7sH= z7&*MfpH;gd*FHbkmD#)hVxb6xjc9~`t?_{=JS+@ip_cTicXxG<=7m9& zPX+Z8IC*GSAXuGCrZDHgR$r%jyk-fctis2Kx4HvZ|B~8uC@o)m^>Hy-O!&TKA?$&n zkP2Xc54w~!=z2?^NafyL*L0V9cbYrugHBBUj`xVyZmGFR&kvk#>1J*Z~i zNTz}?IAdJ$gkqd2!Gw(%LzE!O5s4C7q4%T~e_P{+z=DNDKrG**p=U`d5yg^vp`;Zn zsU=8gd0a9s4s0FPJePWR9eH5=+O^Kks&kC-iblNqTh2&Pw*^(4384f+D8N|fewZu_ zg2ejQ)ov;ztz;NQl7yj;A`(!H!XQu_$sqY9h_IrH*}_%1{L&_YLDvO?%R5Z-t+ClW z_qERbL?HKUZ!nt+!E9S`uoh^5A|DaIHe*_gf1`E_Vq+}{&T@t$EGhMnRjJ4z2w_W8 zp+qjs7as22^&S3wY1?+}^j-I=RcCE>#|39)g(lU7v_8;?=qK(9D8-*pPdiy)P3lIblG`+?%ea| zYoD3dopYt!tKgFicfNmNi(EWE=E4hC6(r|PYtanqJlmt57YOVrr2^tfrG(eG9C##X zu&1t@%L$RIvpj!wUA z8i>Pqot#_+Cnp6L2XPcZy1ar|9MnY+7eNvK1E)@Tr#2KsXq1*>)uUCozT7L##ok?o zhA6ofP4E|b*9tAfG?uf$#}>TIR&1A!yslP8}i7w-EzW(x#9VEvx18k%Tn=-$VV zkOtUr0b2!w3t>h?#8AZl^Az*(6KCGlD;4j~yx};`#2gN1_gv=%7KVzecIRakN{f*4 zeaI>yH;-o4OGhvGTU)(quWI)-q?V*(sVesSMv|wMUQ3hLEt=lBB$KZ9TyHr>)f7o%) zPYeU<3P)*P10*7vE)nA5#{c=6-E-_>r_u4e3i!I2+UksELwDqwMeBZ9FSP$;^Ajro z_@M#_Ss$?ejoB@!wN|kbGKs(0zLo%0QpQXW#t;oC$B0MZYZ&Ej?8~fNhcCVvPo3vo zFn0WWZaPliF^8_}yzb`*f@yg0uWv6HgNI)xa=pO%Ck(C<=-60l#uD3(wXP~c7!NoX z0&^6=N`zcc90F#qt@=Rn@r!3(*1v(Tl{B!m?Mc7yIA+nEHpY{YWr$=)F7rhR1P}(v zt{YhY#;jsW6G>#xhP*B`OCk|Pf+NN;ju1rxa*HAgoGq*rvqw&xe~;t1JA31$s?GBb z*g7&@cbKo4n<`>)!UlIAgR6q&))B0KYU8r66GbFj?8Guw4E%&}Qi_lT003LtoIZei zwD~=XZmeo+yZ2Pq3KYCF-R&11^p= z@H%s+=G`}wrbJ{()Mh71#2SP3Zy3m>l1n?0N-N1Q;z6?oSxr-G(H5m4EO>~&;}VKi zfY}3w+9z>vp#d)hVuu`)vG_aaH%3b=WKMnSu&c31;<3O;bz2iD=w+o4#oBb36 z5ZCF*Gu?zjZIR0S>_%pHY2$k8D^n7Sz_K8tCDeXM+dO<#LSg%h6`~dnVG1N@T7v&e z%wEd1!k{^zfz_1BTW{!$!B%g)J^2b87!9Y>>100X1SgT7s0z$o>^lAA=Gp_cC1(h=*5Tmf8z&LGJJ>$|K^~s`z9*OWz5MFUr?>Bi?_PGBB)#psD5?>n+q{o_ zz7~ez&;t#h8l$jwGPCC&xq2YetXYQT+0F3j(`xmNGf8dj#an|p#I*pvI*kwW4iuB> z+q3_7xB8y;pLzHG-S%+UHQA zvqp;$kmGJY>lLsN4C~&TcvAS1SErTcwcw0r@wngk zShAUA1M9b#g}^pL-zH7Q#z^&j#r9F8BTVfkR&qF<=e35goTu7c|GN)0mokj4m0%~0 zXJ8j4Hc_l;HJ&uU*Iw`8d_EscJ``s0tk9mkKo^&#TYXm-EoAzTQObxa@^u~g2t#T) zJz|rE!I_?i4dCJC=B8(_pZ{YR>|V?0iCcnU;E@$239^x?SYCfNaMHN;CtHIS_zHN9 zTkQc1v@O35okiFtq5_u+5FkY55ap@pi)O?}x0D1c*qB0KpYR}>Ul+B0Vmr}Z@+%mJ|As}sis_=ROPbov@*2thpE&?!V#Qgu$snYvCZ zrkhmkMU+fSf-s8(L37fPr&M*jRs{{THb!aXQu|P9l_-vJhHvLzMGH zE?1U0H_+PmNABp9`|KzkGfrrZ%XvdGo6*<{d5m9~L7 z_^`M;X6xDo=m6LY6RfvJEvsTK1!u8d2HPx|$S}p;sRy!I zWL55Yxu~_B`OP@~(q6&W3#)~I&+MGL%GWR$#udC151^wsswhqlii;rP9jJpiI7o&Z zAb})=HY7?4HA|re3ns`%$)FuvKCFWjhb~?IE)F6dF2K5}poj-NK6Gf;hw$t3=1txY zoxQxZWrQU6K!%|~!m?~Bnw-6Rr!F3BZ{u5!LqnZTDON}Coj9^@&le)V!NYrVwS~B% zEL+>Sr@}qGwGvu|HrOo|gSt__ezN^&%~{*)a=rf7y1HujUcr`zZB<4#l@T#eN)si} z)lZA<{=tKx8E%c9>A(##6}_p+~EZpKsl5a4pj`E*;_-6`ysiv zffA!7=MT1vCz}-m4~tjVey1b2KSR4OEtLd-(_DdUqYZ74LaDkhH?KFh?%WAOP2WbX zp@zT+Dx|5_f%JQiAGvVw!oh+g3e50u!aPfMxdC=E)XB{F5IcEZhePIM- zph6Y`$Oy?JBL<8Ex(SqEhLeQ@XcrdA>a?rx+_~HLA;l14)WmmpH}_w?Pg#HBZs0eS zwypwAW?M-x+3AU-(GGWSJ=ngxUEcEZ5OsX(Qlt!MQ zn^(`S{GHkAv(8@D`EAfSYig%Cxv?z!{=w^F#y)5_d7FuKZH7qlR-#5B0bt806%D0I zT7VdVP_?q*%Rq8UR;JkD4i^RXowt+E%#V2U>TfDqzZSDZ+dR!a#T3I>-z_$q9@k|m zy5~A*m~&JWP@E7a=pc}4kVHTc4h&R;Li7d@f`|hKMLkbb^uhOakNr3&FLjlm~i5NBM< zFaYI{;cpiHCNRdE0dg*>qIm(_t?#$h=(SCw?h3rJV2*ER8{O4^3#=dO)KwklZkoqU zS8i5c%YL*y*4;FY#D=XmkQnYj%LH)?02~gSJH`Qp1XY64g>%c_K$xseI&|e)7vRoL zAqRba$G@%fSGA7X7hQk%_3NVOYVS+$leU_!&6*5uN)8#5ZBz_6ASCA;azYS-Rt@ki zg2NWz(=;t}SC(~Ibl63$5C8FPmhXqb^)5#jaJ~I{Ex3xZ!+2h8$}}h_g@Be>HZ;72 z6#y#>AY3^skuVKF#0WxFBQ()5d5_nWb?c6c>EeMM|Mh+*&wEpPyxHCq{R-Gdr-`hN zF=1sxl&mBoK+#qRLl9#CEN|Fg8>nbmsTg3a1;#M9enQ$RgWk}kp#-5wh=EF&1tl%mJln2V^8o%Qv(*=zEuO7y z=m*8?xpUn-*@h5Cl_3BK3joiGkyaScK+>|MWdMRWm@RT!Q1piAlv5hL@B6>3&GI8) zP!xBc6}ZNIpJLL%2a8Y!+(<=f%WX>_uWVxlga9!D*oYt$l0cxRDMvqfU;Kq_mLK5k z)dvqYcgLa_Lz?3HyeF)@$%$&6lI?r4I>6W#M*<)vq{?&Oqrx``d`mhpVPr> z#q078F6gw_X<=?KR>8%^t%@wbITvNMu!hKiTSkCTJkw>1!e*Y{%31#_yMf=LW7{RJ zYoC^w$6%3cBtVG5)x#{Hg6IVTh9XEcM{gQwXk!R^y95^f-hZ`d{aVa+xW1EO4wDV4 zB?JgD7*?qkvc|$nIykTvNl2x0j3Q!MXoLL^)~}d7jcYf(H8D~c+?$pKL(px>Z3`eb z04RzS6_AgFT6Pn#iZAg$Sl_j8#;6ShF%&(Fag#E2asU@@LaN;=b=Wf7sgPKhfzhBM zC@eFL8^MrnA*9&Khe*Ab@CC9*uyJGXyi(;y2>lQLJZt;ShtJi?3Yf_t`F+$hY!+Q2Ndsx=U+bjTiAy7djLji>7k%k`$9&--f<*BNA3Hy&ZrHH|4 zG5H&9cB?O#zI1_OOf0Ce%mDfQxdtp3vU%(iY6yji3iISS61XLv#z|!zI_sZqza@B+ zyu9st5-h+`H7QUKx9}3w@oU@EO}&cEzG?fu!!bLO->%zkcg;i9^j`S~=WKMnDi1f= P00000NkvXXu0mjft=yBf literal 0 HcmV?d00001 diff --git a/src/assets/svelte.svg b/src/assets/svelte.svg new file mode 100644 index 0000000..c5e0848 --- /dev/null +++ b/src/assets/svelte.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/assets/vite.svg b/src/assets/vite.svg new file mode 100644 index 0000000..5101b67 --- /dev/null +++ b/src/assets/vite.svg @@ -0,0 +1 @@ +Vite diff --git a/src/main.js b/src/main.js new file mode 100644 index 0000000..23223e4 --- /dev/null +++ b/src/main.js @@ -0,0 +1,9 @@ +import { mount } from "svelte"; +import "./app.css"; +import App from "./App.svelte"; + +const app = mount(App, { + target: document.getElementById("app"), +}); + +export default app;