PageSourceSearch

https://ollinlangle.com/component---src-pages-index-jsx-01f4dd51ca7a402bfeb0.js

js ollinlangle.com collected 2026-09-29 10:53:40 UTC 78,887 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunkgatsby_starter_default=self.webpackChunkgatsby_starter_default||[]).push([[279],{691:function(t,e,n){var r=n(6540),i=n(7581);const o="undefined"!=typeof window?(0,r.lazy)(()=>n.e(562).then(n.bind(n,2893)).then(t=>({default:t.ReactP5Wrapper}))):null,a=i.default.div.withConfig({displayName:"P5Sketch__SketchContainer",componentId:"sc-otc9do-0"})(["width:100%;position:relative;display:flex;justify-content:center;align-items:center;background-color:",";border-radius:",";overflow:hidden;canvas{display:block;max-width:100%;height:auto;}"],t=>t.backgroundColor||"transparent",t=>t.theme.radii.lg),s=i.default.div.withConfig({displayName:"P5Sketch__LoadingContainer",componentId:"sc-otc9do-1"})(["width:100%;min-height:",";display:flex;justify-content:center;align-items:center;background-color:var(--color-surface);border-radius:",";color:var(--color-text-secondary);font-size:",";"],t=>t.minHeight||"400px",t=>t.theme.radii.lg,t=>t.theme.typography.fontSizes.lg),l=(0,i.default)(s).withConfig({displayName:"P5Sketch__ErrorContainer",componentId:"sc-otc9do-2"})(["background-color:rgba(239,68,68,0.1);border:1px solid ",";color:",";"],t=>t.theme.colors.error,t=>t.theme.colors.error);e.A=function(t){let{sketch:e,minHeight:n="400px",backgroundColor:i,...u}=t;return"undefined"==typeof window?r.createElement(s,{minHeight:n},r.createElement("span",null,"Loading visualization...")):o?r.createElement(a,{backgroundColor:i},r.createElement(r.Suspense,{fallback:r.createElement(s,{minHeight:n},r.createElement("span",null,"Loading visualization..."))},r.createElement(o,Object.assign({sketch:e},u)))):r.createElement(l,{minHeight:n},r.createElement("span",null,"Error: Unable to load P5 visualization"))}},7541:function(t,e,n){n.r(e),n.d(e,{default:function(){return fi}});var r=n(6540),i=n(4194),o=n(4755),a=n(7581),s=n(1500),l=n(6575),u=n(9318),c=n(691);function h(t,e){return null==t||null==e?NaN:t<e?-1:t>e?1:t>=e?0:NaN}class f extends Map{constructor(t,e=g){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:e}}),null!=t)for(const[n,r]of t)this.set(n,r)}get(t){return super.get(p(this,t))}has(t){return super.has(p(this,t))}set(t,e){return super.set(d(this,t),e)}delete(t){return super.delete(m(this,t))}}Set;function p({_intern:t,_key:e},n){const r=e(n);return t.has(r)?t.get(r):n}function d({_intern:t,_key:e},n){const r=e(n);return t.has(r)?t.get(r):(t.set(r,n),n)}function m({_intern:t,_key:e},n){const r=e(n);return t.has(r)&&(n=t.get(r),t.delete(r)),n}function g(t){return null!==t&&"object"==typeof t?t.valueOf():t}function y(t){return t}function v(t,e,n,r){return function t(i,o){if(o>=r.length)return n(i);const a=new f,s=r[o++];let l=-1;for(const e of i){const t=s(e,++l,i),n=a.get(t);n?n.push(e):a.set(t,[e])}for(const[e,n]of a)a.set(e,t(n,o));return e(a)}(t,0)}function w(t,e){let n=0;if(void 0===e)for(let r of t)(r=+r)&&(n+=r);else{let r=-1;for(let i of t)(i=+e(i,++r,t))&&(n+=i)}return n}function b(){}function _(t){return null==t?b:function(){return this.querySelector(t)}}function x(t){return null==t?[]:Array.isArray(t)?t:Array.from(t)}function k(){return[]}function E(t){return null==t?k:function(){return this.querySelectorAll(t)}}function M(t){return function(){return this.matches(t)}}function N(t){return function(e){return e.matches(t)}}var A=Array.prototype.find;function S(){return this.firstElementChild}var C=Array.prototype.filter;function I(){return Array.from(this.children)}function z(t){return new Array(t.length)}function $(t,e){this.ownerDocument=t.ownerDocument,this.namespaceURI=t.namespaceURI,this._next=null,this._parent=t,this.__data__=e}function q(t,e,n,r,i,o){for(var a,s=0,l=e.length,u=o.length;s<u;++s)(a=e[s])?(a.__data__=o[s],r[s]=a):n[s]=new $(t,o[s]);for(;s<l;++s)(a=e[s])&&(i[s]=a)}function j(t,e,n,r,i,o,a){var s,l,u,c=new Map,h=e.length,f=o.length,p=new Array(h);for(s=0;s<h;++s)(l=e[s])&&(p[s]=u=a.call(l,l.__data__,s,e)+"",c.has(u)?i[s]=l:c.set(u,l));for(s=0;s<f;++s)u=a.call(t,o[s],s,o)+"",(l=c.get(u))?(r[s]=l,l.__data__=o[s],c.delete(u)):n[s]=new $(t,o[s]);for(s=0;s<h;++s)(l=e[s])&&c.get(p[s])===l&&(i[s]=l)}function P(t){return t.__data__}function T(t){return"object"==typeof t&&"length"in t?t:Array.from(t)}function L(t,e){return t<e?-1:t>e?1:t>=e?0:NaN}$.prototype={constructor:$,appendChild:function(t){return this._parent.insertBefore(t,this._next)},insertBefore:function(t,e){return this._parent.insertBefore(t,e)},querySelector:function(t){return this._parent.querySelector(t)},querySelectorAll:function(t){return this._parent.querySelectorAll(t)}};var R="http://www.w3.org/1999/xhtml",X={svg:"http://www.w3.org/2000/svg",xhtml:R,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};function H(t){var e=t+="",n=e.indexOf(":");return n>=0&&"xmlns"!==(e=t.slice(0,n))&&(t=t.slice(n+1)),X.hasOwnProperty(e)?{space:X[e],local:t}:t}function V(t){return function(){this.removeAttribute(t)}}function O(t){return function(){this.removeAttributeNS(t.space,t.local)}}function Y(t,e){return function(){this.setAttribute(t,e)}}function D(t,e){return function(){this.setAttributeNS(t.space,t.local,e)}}function W(t,e){return function(){var n=e.apply(this,arguments);null==n?this.removeAttribute(t):this.setAttribute(t,n)}}function U(t,e){return function(){var n=e.apply(this,arguments);null==n?this.removeAttributeNS(t.space,t.local):this.setAttributeNS(t.space,t.local,n)}}function F(t){return t.ownerDocument&&t.ownerDocument.defaultView||t.document&&t||t.defaultView}function B(t){return function(){this.style.removeProperty(t)}}function G(t,e,n){return function(){this.style.setProperty(t,e,n)}}function K(t,e,n){return function(){var r=e.apply(this,arguments);null==r?this.style.removeProperty(t):this.style.setProperty(t,r,n)}}function J(t,e){return t.style.getPropertyValue(e)||F(t).getComputedStyle(t,null).getPropertyValue(e)}function Z(t){return function(){delete this[t]}}function Q(t,e){return function(){this[t]=e}}function tt(t,e){return function(){var n=e.apply(this,arguments);null==n?delete this[t]:this[t]=n}}function et(t){return t.trim().split(/^|\s+/)}function nt(t){return t.classList||new rt(t)}function rt(t){this._node=t,this._names=et(t.getAttribute("class")||"")}function it(t,e){for(var n=nt(t),r=-1,i=e.length;++r<i;)n.add(e[r])}function ot(t,e){for(var n=nt(t),r=-1,i=e.length;++r<i;)n.remove(e[r])}function at(t){return function(){it(this,t)}}function st(t){return function(){ot(this,t)}}function lt(t,e){return function(){(e.apply(this,arguments)?it:ot)(this,t)}}function ut(){this.textContent=""}function ct(t){return function(){this.textContent=t}}function ht(t){return function(){var e=t.apply(this,arguments);this.textContent=null==e?"":e}}function ft(){this.innerHTML=""}function pt(t){return function(){this.innerHTML=t}}function dt(t){return function(){var e=t.apply(this,arguments);this.innerHTML=null==e?"":e}}function mt(){this.nextSibling&&this.parentNode.appendChild(this)}function gt(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}function yt(t){return function(){var e=this.ownerDocument,n=this.namespaceURI;return n===R&&e.documentElement.namespaceURI===R?e.createElement(t):e.createElementNS(n,t)}}function vt(t){return function(){return this.ownerDocument.createElementNS(t.space,t.local)}}function wt(t){var e=H(t);return(e.local?vt:yt)(e)}function bt(){return null}function _t(){var t=this.parentNode;t&&t.removeChild(this)}
vendor: 5,602 bytes, line 1
1function xt(){var t=this.cloneNode(!1),e=this.parentNode;return e?e.insertBefore(t,this.nextSibling):t}function kt(){var t=this.cloneNode(!0),e=this.parentNode;return e?e.insertBefore(t,this.nextSibling):t}function Et(t){return function(){var e=this.__on;if(e){for(var n,r=0,i=-1,o=e.length;r<o;++r)n=e[r],t.type&&n.type!==t.type||n.name!==t.name?e[++i]=n:this.removeEventListener(n.type,n.listener,n.options);++i?e.length=i:delete this.__on}}}function Mt(t,e,n){return function(){var r,i=this.__on,o=function(t){return function(e){t.call(this,e,this.__data__)}}(e);if(i)for(var a=0,s=i.length;a<s;++a)if((r=i[a]).type===t.type&&r.name===t.name)return this.removeEventListener(r.type,r.listener,r.options),this.addEventListener(r.type,r.listener=o,r.options=n),void(r.value=e);this.addEventListener(t.type,o,n),r={type:t.type,name:t.name,value:e,listener:o,options:n},i?i.push(r):this.__on=[r]}}function Nt(t,e,n){var r=F(t),i=r.CustomEvent;"function"==typeof i?i=new i(e,n):(i=r.document.createEvent("Event"),n?(i.initEvent(e,n.bubbles,n.cancelable),i.detail=n.detail):i.initEvent(e,!1,!1)),t.dispatchEvent(i)}function At(t,e){return function(){return Nt(this,t,e)}}function St(t,e){return function(){return Nt(this,t,e.apply(this,arguments))}}rt.prototype={add:function(t){this._names.indexOf(t)<0&&(this._names.push(t),this._node.setAttribute("class",this._names.join(" ")))},remove:function(t){var e=this._names.indexOf(t);e>=0&&(this._names.splice(e,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(t){return this._names.indexOf(t)>=0}};var Ct=[null];function It(t,e){this._groups=t,this._parents=e}function zt(){return new It([[document.documentElement]],Ct)}It.prototype=zt.prototype={constructor:It,select:function(t){"function"!=typeof t&&(t=_(t));for(var e=this._groups,n=e.length,r=new Array(n),i=0;i<n;++i)for(var o,a,s=e[i],l=s.length,u=r[i]=new Array(l),c=0;c<l;++c)(o=s[c])&&(a=t.call(o,o.__data__,c,s))&&("__data__"in o&&(a.__data__=o.__data__),u[c]=a);return new It(r,this._parents)},selectAll:function(t){t="function"==typeof t?function(t){return function(){return x(t.apply(this,arguments))}}(t):E(t);for(var e=this._groups,n=e.length,r=[],i=[],o=0;o<n;++o)for(var a,s=e[o],l=s.length,u=0;u<l;++u)(a=s[u])&&(r.push(t.call(a,a.__data__,u,s)),i.push(a));return new It(r,i)},selectChild:function(t){return this.select(null==t?S:function(t){return function(){return A.call(this.children,t)}}("function"==typeof t?t:N(t)))},selectChildren:function(t){return this.selectAll(null==t?I:function(t){return function(){return C.call(this.children,t)}}("function"==typeof t?t:N(t)))},filter:function(t){"function"!=typeof t&&(t=M(t));for(var e=this._groups,n=e.length,r=new Array(n),i=0;i<n;++i)for(var o,a=e[i],s=a.length,l=r[i]=[],u=0;u<s;++u)(o=a[u])&&t.call(o,o.__data__,u,a)&&l.push(o);return new It(r,this._parents)},data:function(t,e){if(!arguments.length)return Array.from(this,P);var n,r=e?j:q,i=this._parents,o=this._groups;"function"!=typeof t&&(n=t,t=function(){return n});for(var a=o.length,s=new Array(a),l=new Array(a),u=new Array(a),c=0;c<a;++c){var h=i[c],f=o[c],p=f.length,d=T(t.call(h,h&&h.__data__,c,i)),m=d.length,g=l[c]=new Array(m),y=s[c]=new Array(m);r(h,f,g,y,u[c]=new Array(p),d,e);for(var v,w,b=0,_=0;b<m;++b)if(v=g[b]){for(b>=_&&(_=b+1);!(w=y[_])&&++_<m;);v._next=w||null}}return(s=new It(s,i))._enter=l,s._exit=u,s},enter:function(){return new It(this._enter||this._groups.map(z),this._parents)},exit:function(){return new It(this._exit||this._groups.map(z),this._parents)},join:function(t,e,n){var r=this.enter(),i=this,o=this.exit();return"function"==typeof t?(r=t(r))&&(r=r.selection()):r=r.append(t+""),null!=e&&(i=e(i))&&(i=i.selection()),null==n?o.remove():n(o),r&&i?r.merge(i).order():i},merge:function(t){for(var e=t.selection?t.selection():t,n=this._groups,r=e._groups,i=n.length,o=r.length,a=Math.min(i,o),s=new Array(i),l=0;l<a;++l)for(var u,c=n[l],h=r[l],f=c.length,p=s[l]=new Array(f),d=0;d<f;++d)(u=c[d]||h[d])&&(p[d]=u);for(;l<i;++l)s[l]=n[l];return new It(s,this._parents)},selection:function(){return this},order:function(){for(var t=this._groups,e=-1,n=t.length;++e<n;)for(var r,i=t[e],o=i.length-1,a=i[o];--o>=0;)(r=i[o])&&(a&&4^r.compareDocumentPosition(a)&&a.parentNode.insertBefore(r,a),a=r);return this},sort:function(t){function e(e,n){return e&&n?t(e.__data__,n.__data__):!e-!n}t||(t=L);for(var n=this._groups,r=n.length,i=new Array(r),o=0;o<r;++o){for(var a,s=n[o],l=s.length,u=i[o]=new Array(l),c=0;c<l;++c)(a=s[c])&&(u[c]=a);u.sort(e)}return new It(i,this._parents).order()},call:function(){var t=arguments[0];return arguments[0]=this,t.apply(null,arguments),this},nodes:function(){return Array.from(this)},node:function(){for(var t=this._groups,e=0,n=t.length;e<n;++e)for(var r=t[e],i=0,o=r.length;i<o;++i){var a=r[i];if(a)return a}return null},size:function(){let t=0;for(const e of this)++t;return t},empty:function(){return!this.node()},each:function(t){for(var e=this._groups,n=0,r=e.length;n<r;++n)for(var i,o=e[n],a=0,s=o.length;a<s;++a)(i=o[a])&&t.call(i,i.__data__,a,o);return this},attr:function(t,e){var n=H(t);if(arguments.length<2){var r=this.node();return n.local?r.getAttributeNS(n.space,n.local):r.getAttribute(n)}return this.each((null==e?n.local?O:V:"function"==typeof e?n.local?U:W:n.local?D:Y)(n,e))},style:function(t,e,n){return arguments.length>1?this.each((null==e?B:"function"==typeof e?K:G)(t,e,null==n?"":n)):J(this.node(),t)},property:function(t,e){return arguments.length>1?this.each((null==e?Z:"function"==typeof e?tt:Q)(t,e)):this.node()[t]},classed:function(t,e){var n=et(t+"");
vendor: 6,716 bytes, line 1
1if(arguments.length<2){for(var r=nt(this.node()),i=-1,o=n.length;++i<o;)if(!r.contains(n[i]))return!1;return!0}return this.each(("function"==typeof e?lt:e?at:st)(n,e))},text:function(t){return arguments.length?this.each(null==t?ut:("function"==typeof t?ht:ct)(t)):this.node().textContent},html:function(t){return arguments.length?this.each(null==t?ft:("function"==typeof t?dt:pt)(t)):this.node().innerHTML},raise:function(){return this.each(mt)},lower:function(){return this.each(gt)},append:function(t){var e="function"==typeof t?t:wt(t);return this.select(function(){return this.appendChild(e.apply(this,arguments))})},insert:function(t,e){var n="function"==typeof t?t:wt(t),r=null==e?bt:"function"==typeof e?e:_(e);return this.select(function(){return this.insertBefore(n.apply(this,arguments),r.apply(this,arguments)||null)})},remove:function(){return this.each(_t)},clone:function(t){return this.select(t?kt:xt)},datum:function(t){return arguments.length?this.property("__data__",t):this.node().__data__},on:function(t,e,n){var r,i,o=function(t){return t.trim().split(/^|\s+/).map(function(t){var e="",n=t.indexOf(".");return n>=0&&(e=t.slice(n+1),t=t.slice(0,n)),{type:t,name:e}})}(t+""),a=o.length;if(!(arguments.length<2)){for(s=e?Mt:Et,r=0;r<a;++r)this.each(s(o[r],e,n));return this}var s=this.node().__on;if(s)for(var l,u=0,c=s.length;u<c;++u)for(r=0,l=s[u];r<a;++r)if((i=o[r]).type===l.type&&i.name===l.name)return l.value},dispatch:function(t,e){return this.each(("function"==typeof e?St:At)(t,e))},[Symbol.iterator]:function*(){for(var t=this._groups,e=0,n=t.length;e<n;++e)for(var r,i=t[e],o=0,a=i.length;o<a;++o)(r=i[o])&&(yield r)}};var $t=zt,qt={value:()=>{}};function jt(){for(var t,e=0,n=arguments.length,r={};e<n;++e){if(!(t=arguments[e]+"")||t in r||/[\s.]/.test(t))throw new Error("illegal type: "+t);r[t]=[]}return new Pt(r)}function Pt(t){this._=t}function Tt(t,e){for(var n,r=0,i=t.length;r<i;++r)if((n=t[r]).name===e)return n.value}function Lt(t,e,n){for(var r=0,i=t.length;r<i;++r)if(t[r].name===e){t[r]=qt,t=t.slice(0,r).concat(t.slice(r+1));break}return null!=n&&t.push({name:e,value:n}),t}Pt.prototype=jt.prototype={constructor:Pt,on:function(t,e){var n,r,i=this._,o=(r=i,(t+"").trim().split(/^|\s+/).map(function(t){var e="",n=t.indexOf(".");if(n>=0&&(e=t.slice(n+1),t=t.slice(0,n)),t&&!r.hasOwnProperty(t))throw new Error("unknown type: "+t);return{type:t,name:e}})),a=-1,s=o.length;if(!(arguments.length<2)){if(null!=e&&"function"!=typeof e)throw new Error("invalid callback: "+e);for(;++a<s;)if(n=(t=o[a]).type)i[n]=Lt(i[n],t.name,e);else if(null==e)for(n in i)i[n]=Lt(i[n],t.name,null);return this}for(;++a<s;)if((n=(t=o[a]).type)&&(n=Tt(i[n],t.name)))return n},copy:function(){var t={},e=this._;for(var n in e)t[n]=e[n].slice();return new Pt(t)},call:function(t,e){if((n=arguments.length-2)>0)for(var n,r,i=new Array(n),o=0;o<n;++o)i[o]=arguments[o+2];if(!this._.hasOwnProperty(t))throw new Error("unknown type: "+t);for(o=0,n=(r=this._[t]).length;o<n;++o)r[o].value.apply(e,i)},apply:function(t,e,n){if(!this._.hasOwnProperty(t))throw new Error("unknown type: "+t);for(var r=this._[t],i=0,o=r.length;i<o;++i)r[i].value.apply(e,n)}};var Rt,Xt,Ht=jt,Vt=0,Ot=0,Yt=0,Dt=0,Wt=0,Ut=0,Ft="object"==typeof performance&&performance.now?performance:Date,Bt="object"==typeof window&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(t){setTimeout(t,17)};function Gt(){return Wt||(Bt(Kt),Wt=Ft.now()+Ut)}function Kt(){Wt=0}function Jt(){this._call=this._time=this._next=null}function Zt(t,e,n){var r=new Jt;return r.restart(t,e,n),r}function Qt(){Wt=(Dt=Ft.now())+Ut,Vt=Ot=0;try{!function(){Gt(),++Vt;for(var t,e=Rt;e;)(t=Wt-e._time)>=0&&e._call.call(void 0,t),e=e._next;--Vt}()}finally{Vt=0,function(){var t,e,n=Rt,r=1/0;for(;n;)n._call?(r>n._time&&(r=n._time),t=n,n=n._next):(e=n._next,n._next=null,n=t?t._next=e:Rt=e);Xt=t,ee(r)}(),Wt=0}}function te(){var t=Ft.now(),e=t-Dt;e>1e3&&(Ut-=e,Dt=t)}function ee(t){Vt||(Ot&&(Ot=clearTimeout(Ot)),t-Wt>24?(t<1/0&&(Ot=setTimeout(Qt,t-Ft.now()-Ut)),Yt&&(Yt=clearInterval(Yt))):(Yt||(Dt=Ft.now(),Yt=setInterval(te,1e3)),Vt=1,Bt(Qt)))}function ne(t,e,n){var r=new Jt;return e=null==e?0:+e,r.restart(n=>{r.stop(),t(n+e)},e,n),r}Jt.prototype=Zt.prototype={constructor:Jt,restart:function(t,e,n){if("function"!=typeof t)throw new TypeError("callback is not a function");n=(null==n?Gt():+n)+(null==e?0:+e),this._next||Xt===this||(Xt?Xt._next=this:Rt=this,Xt=this),this._call=t,this._time=n,ee()},stop:function(){this._call&&(this._call=null,this._time=1/0,ee())}};var re=Ht("start","end","cancel","interrupt"),ie=[];function oe(t,e,n,r,i,o){var a=t.__transition;if(a){if(n in a)return}else t.__transition={};!function(t,e,n){var r,i=t.__transition;function o(t){n.state=1,n.timer.restart(a,n.delay,n.time),n.delay<=t&&a(t-n.delay)}function a(o){var u,c,h,f;if(1!==n.state)return l();for(u in i)if((f=i[u]).name===n.name){if(3===f.state)return ne(a);4===f.state?(f.state=6,f.timer.stop(),f.on.call("interrupt",t,t.__data__,f.index,f.group),delete i[u]):+u<e&&(f.state=6,f.timer.stop(),f.on.call("cancel",t,t.__data__,f.index,f.group),delete i[u])}if(ne(function(){3===n.state&&(n.state=4,n.timer.restart(s,n.delay,n.time),s(o))}),n.state=2,n.on.call("start",t,t.__data__,n.index,n.group),2===n.state){for(n.state=3,r=new Array(h=n.tween.length),u=0,c=-1;u<h;++u)(f=n.tween[u].value.call(t,t.__data__,n.index,n.group))&&(r[++c]=f);r.length=c+1}}function s(e){for(var i=e<n.duration?n.ease.call(null,e/n.duration):(n.timer.restart(l),n.state=5,1),o=-1,a=r.length;++o<a;)r[o].call(t,i);5===n.state&&(n.on.call("end",t,t.__data__,n.index,n.group),l())}function l(){for(var r in n.state=6,n.timer.stop(),delete i[e],i)return;delete t.__transition}i[e]=n,n.timer=Zt(o,0,n.time)}(t,n,{name:e,index:r,group:i,on:re,tween:ie,time:o.time,delay:o.delay,duration:o.duration,ease:o.ease,timer:null,state:0})}function ae(t,e){var n=le(t,e);if(n.state>0)throw new Error("too late; already scheduled");return n}function se(t,e){var n=le(t,e);if(n.state>3)throw new Error("too late; already running");return n}function le(t,e){var n=t.__transition;if(!n||!(n=n[e]))throw new Error("transition not found");return n}function ue(t,e){return t=+t,e=+e,function(n){return t*(1-n)+e*n}}var ce,he=180/Math.PI,fe={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function pe(t,e,n,r,i,o){var a,s,l;return(a=Math.sqrt(t*t+e*e))&&(t/=a,e/=a),(l=t*n+e*r)&&(n-=t*l,r-=e*l),(s=Math.sqrt(n*n+r*r))&&(n/=s,r/=s,l/=s),t*r<e*n&&(t=-t,e=-e,l=-l,a=-a),{translateX:i,translateY:o,rotate:Math.atan2(e,t)*he,skewX:Math.atan(l)*he,scaleX:a,scaleY:s}}function de(t,e,n,r){function i(t){return t.length?t.pop()+" ":""}return function(o,a){var s=[],l=[];
vendor: 5,398 bytes, line 1
1return o=t(o),a=t(a),function(t,r,i,o,a,s){if(t!==i||r!==o){var l=a.push("translate(",null,e,null,n);s.push({i:l-4,x:ue(t,i)},{i:l-2,x:ue(r,o)})}else(i||o)&&a.push("translate("+i+e+o+n)}(o.translateX,o.translateY,a.translateX,a.translateY,s,l),function(t,e,n,o){t!==e?(t-e>180?e+=360:e-t>180&&(t+=360),o.push({i:n.push(i(n)+"rotate(",null,r)-2,x:ue(t,e)})):e&&n.push(i(n)+"rotate("+e+r)}(o.rotate,a.rotate,s,l),function(t,e,n,o){t!==e?o.push({i:n.push(i(n)+"skewX(",null,r)-2,x:ue(t,e)}):e&&n.push(i(n)+"skewX("+e+r)}(o.skewX,a.skewX,s,l),function(t,e,n,r,o,a){if(t!==n||e!==r){var s=o.push(i(o)+"scale(",null,",",null,")");a.push({i:s-4,x:ue(t,n)},{i:s-2,x:ue(e,r)})}else 1===n&&1===r||o.push(i(o)+"scale("+n+","+r+")")}(o.scaleX,o.scaleY,a.scaleX,a.scaleY,s,l),o=a=null,function(t){for(var e,n=-1,r=l.length;++n<r;)s[(e=l[n]).i]=e.x(t);return s.join("")}}}var me=de(function(t){const e=new("function"==typeof DOMMatrix?DOMMatrix:WebKitCSSMatrix)(t+"");return e.isIdentity?fe:pe(e.a,e.b,e.c,e.d,e.e,e.f)},"px, ","px)","deg)"),ge=de(function(t){return null==t?fe:(ce||(ce=document.createElementNS("http://www.w3.org/2000/svg","g")),ce.setAttribute("transform",t),(t=ce.transform.baseVal.consolidate())?pe((t=t.matrix).a,t.b,t.c,t.d,t.e,t.f):fe)},", ",")",")");function ye(t,e){var n,r;return function(){var i=se(this,t),o=i.tween;if(o!==n)for(var a=0,s=(r=n=o).length;a<s;++a)if(r[a].name===e){(r=r.slice()).splice(a,1);break}i.tween=r}}function ve(t,e,n){var r,i;if("function"!=typeof n)throw new Error;return function(){var o=se(this,t),a=o.tween;if(a!==r){i=(r=a).slice();for(var s={name:e,value:n},l=0,u=i.length;l<u;++l)if(i[l].name===e){i[l]=s;break}l===u&&i.push(s)}o.tween=i}}function we(t,e,n){var r=t._id;return t.each(function(){var t=se(this,r);(t.value||(t.value={}))[e]=n.apply(this,arguments)}),function(t){return le(t,r).value[e]}}function be(t,e,n){t.prototype=e.prototype=n,n.constructor=t}function _e(t,e){var n=Object.create(t.prototype);for(var r in e)n[r]=e[r];return n}function xe(){}var ke=.7,Ee=1/ke,Me="\\s*([+-]?\\d+)\\s*",Ne="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",Ae="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",Se=/^#([0-9a-f]{3,8})$/,Ce=new RegExp(`^rgb\\(${Me},${Me},${Me}\\)$`),Ie=new RegExp(`^rgb\\(${Ae},${Ae},${Ae}\\)$`),ze=new RegExp(`^rgba\\(${Me},${Me},${Me},${Ne}\\)$`),$e=new RegExp(`^rgba\\(${Ae},${Ae},${Ae},${Ne}\\)$`),qe=new RegExp(`^hsl\\(${Ne},${Ae},${Ae}\\)$`),je=new RegExp(`^hsla\\(${Ne},${Ae},${Ae},${Ne}\\)$`),Pe={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};function Te(){return this.rgb().formatHex()}function Le(){return this.rgb().formatRgb()}function Re(t){var e,n;return t=(t+"").trim().toLowerCase(),(e=Se.exec(t))?(n=e[1].length,e=parseInt(e[1],16),6===n?Xe(e):3===n?
vendor: 8,623 bytes, line 1
1new Oe(e>>8&15|e>>4&240,e>>4&15|240&e,(15&e)<<4|15&e,1):8===n?He(e>>24&255,e>>16&255,e>>8&255,(255&e)/255):4===n?He(e>>12&15|e>>8&240,e>>8&15|e>>4&240,e>>4&15|240&e,((15&e)<<4|15&e)/255):null):(e=Ce.exec(t))?new Oe(e[1],e[2],e[3],1):(e=Ie.exec(t))?new Oe(255*e[1]/100,255*e[2]/100,255*e[3]/100,1):(e=ze.exec(t))?He(e[1],e[2],e[3],e[4]):(e=$e.exec(t))?He(255*e[1]/100,255*e[2]/100,255*e[3]/100,e[4]):(e=qe.exec(t))?Be(e[1],e[2]/100,e[3]/100,1):(e=je.exec(t))?Be(e[1],e[2]/100,e[3]/100,e[4]):Pe.hasOwnProperty(t)?Xe(Pe[t]):"transparent"===t?new Oe(NaN,NaN,NaN,0):null}function Xe(t){return new Oe(t>>16&255,t>>8&255,255&t,1)}function He(t,e,n,r){return r<=0&&(t=e=n=NaN),new Oe(t,e,n,r)}function Ve(t,e,n,r){return 1===arguments.length?((i=t)instanceof xe||(i=Re(i)),i?new Oe((i=i.rgb()).r,i.g,i.b,i.opacity):new Oe):new Oe(t,e,n,null==r?1:r);var i}function Oe(t,e,n,r){this.r=+t,this.g=+e,this.b=+n,this.opacity=+r}function Ye(){return`#${Fe(this.r)}${Fe(this.g)}${Fe(this.b)}`}function De(){const t=We(this.opacity);return`${1===t?"rgb(":"rgba("}${Ue(this.r)}, ${Ue(this.g)}, ${Ue(this.b)}${1===t?")":`, ${t})`}`}function We(t){return isNaN(t)?1:Math.max(0,Math.min(1,t))}function Ue(t){return Math.max(0,Math.min(255,Math.round(t)||0))}function Fe(t){return((t=Ue(t))<16?"0":"")+t.toString(16)}function Be(t,e,n,r){return r<=0?t=e=n=NaN:n<=0||n>=1?t=e=NaN:e<=0&&(t=NaN),new Ke(t,e,n,r)}function Ge(t){if(t instanceof Ke)return new Ke(t.h,t.s,t.l,t.opacity);if(t instanceof xe||(t=Re(t)),!t)return new Ke;if(t instanceof Ke)return t;var e=(t=t.rgb()).r/255,n=t.g/255,r=t.b/255,i=Math.min(e,n,r),o=Math.max(e,n,r),a=NaN,s=o-i,l=(o+i)/2;return s?(a=e===o?(n-r)/s+6*(n<r):n===o?(r-e)/s+2:(e-n)/s+4,s/=l<.5?o+i:2-o-i,a*=60):s=l>0&&l<1?0:a,new Ke(a,s,l,t.opacity)}function Ke(t,e,n,r){this.h=+t,this.s=+e,this.l=+n,this.opacity=+r}function Je(t){return(t=(t||0)%360)<0?t+360:t}function Ze(t){return Math.max(0,Math.min(1,t||0))}function Qe(t,e,n){return 255*(t<60?e+(n-e)*t/60:t<180?n:t<240?e+(n-e)*(240-t)/60:e)}function tn(t,e,n,r,i){var o=t*t,a=o*t;return((1-3*t+3*o-a)*e+(4-6*o+3*a)*n+(1+3*t+3*o-3*a)*r+a*i)/6}be(xe,Re,{copy(t){return Object.assign(new this.constructor,this,t)},displayable(){return this.rgb().displayable()},hex:Te,formatHex:Te,formatHex8:function(){return this.rgb().formatHex8()},formatHsl:function(){return Ge(this).formatHsl()},formatRgb:Le,toString:Le}),be(Oe,Ve,_e(xe,{brighter(t){return t=null==t?Ee:Math.pow(Ee,t),new Oe(this.r*t,this.g*t,this.b*t,this.opacity)},darker(t){return t=null==t?ke:Math.pow(ke,t),new Oe(this.r*t,this.g*t,this.b*t,this.opacity)},rgb(){return this},clamp(){return new Oe(Ue(this.r),Ue(this.g),Ue(this.b),We(this.opacity))},displayable(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:Ye,formatHex:Ye,formatHex8:function(){return`#${Fe(this.r)}${Fe(this.g)}${Fe(this.b)}${Fe(255*(isNaN(this.opacity)?1:this.opacity))}`},formatRgb:De,toString:De})),be(Ke,function(t,e,n,r){return 1===arguments.length?Ge(t):new Ke(t,e,n,null==r?1:r)},_e(xe,{brighter(t){return t=null==t?Ee:Math.pow(Ee,t),new Ke(this.h,this.s,this.l*t,this.opacity)},darker(t){return t=null==t?ke:Math.pow(ke,t),new Ke(this.h,this.s,this.l*t,this.opacity)},rgb(){var t=this.h%360+360*(this.h<0),e=isNaN(t)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*e,i=2*n-r;return new Oe(Qe(t>=240?t-240:t+120,i,r),Qe(t,i,r),Qe(t<120?t+240:t-120,i,r),this.opacity)},clamp(){return new Ke(Je(this.h),Ze(this.s),Ze(this.l),We(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){const t=We(this.opacity);return`${1===t?"hsl(":"hsla("}${Je(this.h)}, ${100*Ze(this.s)}%, ${100*Ze(this.l)}%${1===t?")":`, ${t})`}`}}));var en=t=>()=>t;function nn(t,e){return function(n){return t+n*e}}function rn(t){return 1===(t=+t)?on:function(e,n){return n-e?function(t,e,n){return t=Math.pow(t,n),e=Math.pow(e,n)-t,n=1/n,function(r){return Math.pow(t+r*e,n)}}(e,n,t):en(isNaN(e)?n:e)}}function on(t,e){var n=e-t;return n?nn(t,n):en(isNaN(t)?e:t)}var an=function t(e){var n=rn(e);function r(t,e){var r=n((t=Ve(t)).r,(e=Ve(e)).r),i=n(t.g,e.g),o=n(t.b,e.b),a=on(t.opacity,e.opacity);return function(e){return t.r=r(e),t.g=i(e),t.b=o(e),t.opacity=a(e),t+""}}return r.gamma=t,r}(1);function sn(t){return function(e){var n,r,i=e.length,o=new Array(i),a=new Array(i),s=new Array(i);for(n=0;n<i;++n)r=Ve(e[n]),o[n]=r.r||0,a[n]=r.g||0,s[n]=r.b||0;return o=t(o),a=t(a),s=t(s),r.opacity=1,function(t){return r.r=o(t),r.g=a(t),r.b=s(t),r+""}}}sn(function(t){var e=t.length-1;return function(n){var r=n<=0?n=0:n>=1?(n=1,e-1):Math.floor(n*e),i=t[r],o=t[r+1],a=r>0?t[r-1]:2*i-o,s=r<e-1?t[r+2]:2*o-i;return tn((n-r/e)*e,a,i,o,s)}}),sn(function(t){var e=t.length;return function(n){var r=Math.floor(((n%=1)<0?++n:n)*e),i=t[(r+e-1)%e],o=t[r%e],a=t[(r+1)%e],s=t[(r+2)%e];return tn((n-r/e)*e,i,o,a,s)}});var ln=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,un=new RegExp(ln.source,"g");function cn(t,e){var n,r,i,o=ln.lastIndex=un.lastIndex=0,a=-1,s=[],l=[];for(t+="",e+="";(n=ln.exec(t))&&(r=un.exec(e));)(i=r.index)>o&&(i=e.slice(o,i),s[a]?s[a]+=i:s[++a]=i),(n=n[0])===(r=r[0])?s[a]?s[a]+=r:s[++a]=r:(s[++a]=null,l.push({i:a,x:ue(n,r)})),o=un.lastIndex;return o<e.length&&(i=e.slice(o),s[a]?s[a]+=i:s[++a]=i),s.length<2?l[0]?function(t){return function(e){return t(e)+""}}(l[0].x):function(t){return function(){return t}}(e):(e=l.length,function(t){for(var n,r=0;r<e;++r)s[(n=l[r]).i]=n.x(t);return s.join("")})}function hn(t,e){var n;return("number"==typeof e?ue:e instanceof Re?an:(n=Re(e))?(e=n,an):cn)(t,e)}function fn(t){return function(){this.removeAttribute(t)}}function pn(t){return function(){this.removeAttributeNS(t.space,t.local)}}function dn(t,e,n){var r,i,o=n+"";return function(){var a=this.getAttribute(t);return a===o?null:a===r?i:i=e(r=a,n)}}function mn(t,e,n){var r,i,o=n+"";return function(){var a=this.getAttributeNS(t.space,t.local);return a===o?null:a===r?i:i=e(r=a,n)}}function gn(t,e,n){var r,i,o;return function(){var a,s,l=n(this);if(null!=l)return(a=this.getAttribute(t))===(s=l+"")?null:a===r&&s===i?o:(i=s,o=e(r=a,l));this.removeAttribute(t)}}function yn(t,e,n){var r,i,o;return function(){var a,s,l=n(this);if(null!=l)return(a=this.getAttributeNS(t.space,t.local))===(s=l+"")?null:a===r&&s===i?o:(i=s,o=e(r=a,l));this.removeAttributeNS(t.space,t.local)}}function vn(t,e){var n,r;function i(){var i=e.apply(this,arguments);return i!==r&&(n=(r=i)&&function(t,e){return function(n){this.setAttributeNS(t.space,t.local,e.call(this,n))}}(t,i)),n}return i._value=e,i}function wn(t,e){var n,r;function i(){var i=e.apply(this,arguments);return i!==r&&(n=(r=i)&&function(t,e){return function(n){this.setAttribute(t,e.call(this,n))}}(t,i)),n}return i._value=e,i}function bn(t,e){return function(){ae(this,t).delay=+e.apply(this,arguments)}}function _n(t,e){return e=+e,function(){ae(this,t).delay=e}}function xn(t,e){return function(){se(this,t).duration=+e.apply(this,arguments)}}function kn(t,e){return e=+e,function(){se(this,t).duration=e}}var En=$t.prototype.constructor;function Mn(t){return function(){this.style.removeProperty(t)}}var Nn=0;function An(t,e,n,r){this._groups=t,this._parents=e,this._name=n,this._id=r}function Sn(){return++Nn}var Cn=$t.prototype;An.prototype=function(t){return $t().transition(t)}.prototype={constructor:An,select:function(t){var e=this._name,n=this._id;"function"!=typeof t&&(t=_(t));for(var r=this._groups,i=r.length,o=new Array(i),a=0;a<i;++a)for(var s,l,u=r[a],c=u.length,h=o[a]=new Array(c),f=0;f<c;++f)(s=u[f])&&(l=t.call(s,s.__data__,f,u))&&("__data__"in s&&(l.__data__=s.__data__),h[f]=l,oe(h[f],e,n,f,h,le(s,n)));return new An(o,this._parents,e,n)},selectAll:function(t){var e=this._name,n=this._id;"function"!=typeof t&&(t=E(t));for(var r=this._groups,i=r.length,o=[],a=[],s=0;s<i;++s)for(var l,u=r[s],c=u.length,h=0;h<c;++h)if(l=u[h]){for(var f,p=t.call(l,l.__data__,h,u),d=le(l,n),m=0,g=p.length;m<g;++m)(f=p[m])&&oe(f,e,n,m,p,d);o.push(p),a.push(l)}return new An(o,a,e,n)},selectChild:Cn.selectChild,selectChildren:Cn.selectChildren,filter:function(t){"function"!=typeof t&&(t=M(t));for(var e=this._groups,n=e.length,r=new Array(n),i=0;i<n;++i)for(var o,a=e[i],s=a.length,l=r[i]=[],u=0;u<s;++u)(o=a[u])&&t.call(o,o.__data__,u,a)&&l.push(o);return new An(r,this._parents,this._name,this._id)},merge:function(t){if(t._id!==this._id)throw new Error;for(var e=this._groups,n=t._groups,r=e.length,i=n.length,o=Math.min(r,i),a=new Array(r),s=0;s<o;++s)for(var l,u=e[s],c=n[s],h=u.length,f=a[s]=new Array(h),p=0;p<h;
vendor: 6,475 bytes, line 1
1++p)(l=u[p]||c[p])&&(f[p]=l);for(;s<r;++s)a[s]=e[s];return new An(a,this._parents,this._name,this._id)},selection:function(){return new En(this._groups,this._parents)},transition:function(){for(var t=this._name,e=this._id,n=Sn(),r=this._groups,i=r.length,o=0;o<i;++o)for(var a,s=r[o],l=s.length,u=0;u<l;++u)if(a=s[u]){var c=le(a,e);oe(a,t,n,u,s,{time:c.time+c.delay+c.duration,delay:0,duration:c.duration,ease:c.ease})}return new An(r,this._parents,t,n)},call:Cn.call,nodes:Cn.nodes,node:Cn.node,size:Cn.size,empty:Cn.empty,each:Cn.each,on:function(t,e){var n=this._id;return arguments.length<2?le(this.node(),n).on.on(t):this.each(function(t,e,n){var r,i,o=function(t){return(t+"").trim().split(/^|\s+/).every(function(t){var e=t.indexOf(".");return e>=0&&(t=t.slice(0,e)),!t||"start"===t})}(e)?ae:se;return function(){var a=o(this,t),s=a.on;s!==r&&(i=(r=s).copy()).on(e,n),a.on=i}}(n,t,e))},attr:function(t,e){var n=H(t),r="transform"===n?ge:hn;return this.attrTween(t,"function"==typeof e?(n.local?yn:gn)(n,r,we(this,"attr."+t,e)):null==e?(n.local?pn:fn)(n):(n.local?mn:dn)(n,r,e))},attrTween:function(t,e){var n="attr."+t;if(arguments.length<2)return(n=this.tween(n))&&n._value;if(null==e)return this.tween(n,null);if("function"!=typeof e)throw new Error;var r=H(t);return this.tween(n,(r.local?vn:wn)(r,e))},style:function(t,e,n){var r="transform"==(t+="")?me:hn;return null==e?this.styleTween(t,function(t,e){var n,r,i;return function(){var o=J(this,t),a=(this.style.removeProperty(t),J(this,t));return o===a?null:o===n&&a===r?i:i=e(n=o,r=a)}}(t,r)).on("end.style."+t,Mn(t)):"function"==typeof e?this.styleTween(t,function(t,e,n){var r,i,o;return function(){var a=J(this,t),s=n(this),l=s+"";return null==s&&(this.style.removeProperty(t),l=s=J(this,t)),a===l?null:a===r&&l===i?o:(i=l,o=e(r=a,s))}}(t,r,we(this,"style."+t,e))).each(function(t,e){var n,r,i,o,a="style."+e,s="end."+a;return function(){var l=se(this,t),u=l.on,c=null==l.value[a]?o||(o=Mn(e)):void 0;u===n&&i===c||(r=(n=u).copy()).on(s,i=c),l.on=r}}(this._id,t)):this.styleTween(t,function(t,e,n){var r,i,o=n+"";return function(){var a=J(this,t);return a===o?null:a===r?i:i=e(r=a,n)}}(t,r,e),n).on("end.style."+t,null)},styleTween:function(t,e,n){var r="style."+(t+="");if(arguments.length<2)return(r=this.tween(r))&&r._value;if(null==e)return this.tween(r,null);if("function"!=typeof e)throw new Error;return this.tween(r,function(t,e,n){var r,i;function o(){var o=e.apply(this,arguments);return o!==i&&(r=(i=o)&&function(t,e,n){return function(r){this.style.setProperty(t,e.call(this,r),n)}}(t,o,n)),r}return o._value=e,o}(t,e,null==n?"":n))},text:function(t){return this.tween("text","function"==typeof t?function(t){return function(){var e=t(this);this.textContent=null==e?"":e}}(we(this,"text",t)):function(t){return function(){this.textContent=t}}(null==t?"":t+""))},textTween:function(t){var e="text";if(arguments.length<1)return(e=this.tween(e))&&e._value;if(null==t)return this.tween(e,null);if("function"!=typeof t)throw new Error;return this.tween(e,function(t){var e,n;function r(){var r=t.apply(this,arguments);return r!==n&&(e=(n=r)&&function(t){return function(e){this.textContent=t.call(this,e)}}(r)),e}return r._value=t,r}(t))},remove:function(){return this.on("end.remove",function(t){return function(){var e=this.parentNode;for(var n in this.__transition)if(+n!==t)return;e&&e.removeChild(this)}}(this._id))},tween:function(t,e){var n=this._id;if(t+="",arguments.length<2){for(var r,i=le(this.node(),n).tween,o=0,a=i.length;o<a;++o)if((r=i[o]).name===t)return r.value;return null}return this.each((null==e?ye:ve)(n,t,e))},delay:function(t){var e=this._id;return arguments.length?this.each(("function"==typeof t?bn:_n)(e,t)):le(this.node(),e).delay},duration:function(t){var e=this._id;return arguments.length?this.each(("function"==typeof t?xn:kn)(e,t)):le(this.node(),e).duration},ease:function(t){var e=this._id;return arguments.length?this.each(function(t,e){if("function"!=typeof e)throw new Error;return function(){se(this,t).ease=e}}(e,t)):le(this.node(),e).ease},easeVarying:function(t){if("function"!=typeof t)throw new Error;return this.each(function(t,e){return function(){var n=e.apply(this,arguments);if("function"!=typeof n)throw new Error;se(this,t).ease=n}}(this._id,t))},end:function(){var t,e,n=this,r=n._id,i=n.size();return new Promise(function(o,a){var s={value:a},l={value:function(){0===--i&&o()}};n.each(function(){var n=se(this,r),i=n.on;i!==t&&((e=(t=i).copy())._.cancel.push(s),e._.interrupt.push(s),e._.end.push(l)),n.on=e}),0===i&&o()})},[Symbol.iterator]:Cn[Symbol.iterator]};var In={time:null,delay:0,duration:250,ease:function(t){return((t*=2)<=1?t*t*t:(t-=2)*t*t+2)/2}};function zn(t,e){for(var n;!(n=t.__transition)||!(n=n[e]);)if(!(t=t.parentNode))throw new Error(`transition ${e} not found`);return n}$t.prototype.interrupt=function(t){return this.each(function(){!function(t,e){var n,r,i,o=t.__transition,a=!0;if(o){for(i in e=null==e?null:e+"",o)(n=o[i]).name===e?(r=n.state>2&&n.state<5,n.state=6,n.timer.stop(),n.on.call(r?"interrupt":"cancel",t,t.__data__,n.index,n.group),delete o[i]):a=!1;a&&delete t.__transition}}(this,t)})},$t.prototype.transition=function(t){var e,n;t instanceof An?(e=t._id,t=t._name):(e=Sn(),(n=In).time=Gt(),t=null==t?null:t+"");for(var r=this._groups,i=r.length,o=0;o<i;++o)for(var a,s=r[o],l=s.length,u=0;u<l;++u)(a=s[u])&&oe(a,t,e,u,s,n||zn(a,e));return new An(r,this._parents,t,e)};const{abs:$n,max:qn,min:jn}=Math;function Pn(t){return[+t[0],+t[1]]}function Tn(t){return[Pn(t[0]),Pn(t[1])]}["w","e"].map(Ln),["n","s"].map(Ln),["n","w","e","s","nw","ne","sw","se"].map(Ln);function Ln(t){return{type:t}}function Rn(t){return"string"==typeof t?new It([[document.querySelector(t)]],[document.documentElement]):new It([[t]],Ct)}function Xn(t,e){if(t=function(t){let e;for(;e=t.sourceEvent;)t=e;return t}(t),void 0===e&&(e=t.currentTarget),e){var n=e.ownerSVGElement||e;if(n.createSVGPoint){var r=n.createSVGPoint();return r.x=t.clientX,r.y=t.clientY,[(r=r.matrixTransform(e.getScreenCTM().inverse())).x,r.y]}if(e.getBoundingClientRect){var i=e.getBoundingClientRect();return[t.clientX-i.left-e.clientLeft,t.clientY-i.top-e.clientTop]}}return[t.pageX,t.pageY]}const Hn={passive:!1},Vn={capture:!0,passive:!1};function On(t){t.stopImmediatePropagation()}function Yn(t){t.preventDefault(),t.stopImmediatePropagation()}var Dn=t=>()=>t;function Wn(t,{sourceEvent:e,subject:n,target:r,identifier:i,active:o,x:a,y:s,dx:l,dy:u,dis
vendor: 4,179 bytes, line 1
1patch:c}){Object.defineProperties(this,{type:{value:t,enumerable:!0,configurable:!0},sourceEvent:{value:e,enumerable:!0,configurable:!0},subject:{value:n,enumerable:!0,configurable:!0},target:{value:r,enumerable:!0,configurable:!0},identifier:{value:i,enumerable:!0,configurable:!0},active:{value:o,enumerable:!0,configurable:!0},x:{value:a,enumerable:!0,configurable:!0},y:{value:s,enumerable:!0,configurable:!0},dx:{value:l,enumerable:!0,configurable:!0},dy:{value:u,enumerable:!0,configurable:!0},_:{value:c}})}function Un(t){return!t.ctrlKey&&!t.button}function Fn(){return this.parentNode}function Bn(t,e){return null==e?{x:t.x,y:t.y}:e}function Gn(){return navigator.maxTouchPoints||"ontouchstart"in this}function Kn(){var t,e,n,r,i=Un,o=Fn,a=Bn,s=Gn,l={},u=Ht("start","drag","end"),c=0,h=0;function f(t){t.on("mousedown.drag",p).filter(s).on("touchstart.drag",g).on("touchmove.drag",y,Hn).on("touchend.drag touchcancel.drag",v).style("touch-action","none").style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function p(a,s){if(!r&&i.call(this,a,s)){var l=w(this,o.call(this,a,s),a,s,"mouse");l&&(Rn(a.view).on("mousemove.drag",d,Vn).on("mouseup.drag",m,Vn),function(t){var e=t.document.documentElement,n=Rn(t).on("dragstart.drag",Yn,Vn);"onselectstart"in e?n.on("selectstart.drag",Yn,Vn):(e.__noselect=e.style.MozUserSelect,e.style.MozUserSelect="none")}(a.view),On(a),n=!1,t=a.clientX,e=a.clientY,l("start",a))}}function d(r){if(Yn(r),!n){var i=r.clientX-t,o=r.clientY-e;n=i*i+o*o>h}l.mouse("drag",r)}function m(t){Rn(t.view).on("mousemove.drag mouseup.drag",null),function(t,e){var n=t.document.documentElement,r=Rn(t).on("dragstart.drag",null);e&&(r.on("click.drag",Yn,Vn),setTimeout(function(){r.on("click.drag",null)},0)),"onselectstart"in n?r.on("selectstart.drag",null):(n.style.MozUserSelect=n.__noselect,delete n.__noselect)}(t.view,n),Yn(t),l.mouse("end",t)}function g(t,e){if(i.call(this,t,e)){var n,r,a=t.changedTouches,s=o.call(this,t,e),l=a.length;for(n=0;n<l;++n)(r=w(this,s,t,e,a[n].identifier,a[n]))&&(On(t),r("start",t,a[n]))}}function y(t){var e,n,r=t.changedTouches,i=r.length;for(e=0;e<i;++e)(n=l[r[e].identifier])&&(Yn(t),n("drag",t,r[e]))}function v(t){var e,n,i=t.changedTouches,o=i.length;for(r&&clearTimeout(r),r=setTimeout(function(){r=null},500),e=0;e<o;++e)(n=l[i[e].identifier])&&(On(t),n("end",t,i[e]))}function w(t,e,n,r,i,o){var s,h,p,d=u.copy(),m=Xn(o||n,e);if(null!=(p=a.call(t,new Wn("beforestart",{sourceEvent:n,target:f,identifier:i,active:c,x:m[0],y:m[1],dx:0,dy:0,dispatch:d}),r)))return s=p.x-m[0]||0,h=p.y-m[1]||0,function n(o,a,u){var g,y=m;switch(o){case"start":l[i]=n,g=c++;break;case"end":delete l[i],--c;case"drag":m=Xn(u||a,e),g=c}d.call(o,t,new Wn(o,{sourceEvent:a,subject:p,target:f,identifier:i,active:g,x:m[0]+s,y:m[1]+h,dx:m[0]-y[0],dy:m[1]-y[1],dispatch:d}),r)}}return f.filter=function(t){return arguments.length?(i="function"==typeof t?t:Dn(!!t),f):i},f.container=function(t){return arguments.length?(o="function"==typeof t?t:Dn(t),f):o},f.subject=function(t){return arguments.length?(a="function"==typeof t?t:Dn(t),f):a},f.touchable=function(t){return arguments.length?(s="function"==typeof t?t:Dn(!!t),f):s},f.on=function(){var t=u.on.apply(u,arguments);return t===u?f:t},f.clickDistance=function(t){return arguments.length?(h=(t=+t)*t,f):Math.sqrt(h)},f}function Jn(t,e){if((n=(t=e?t.toExponential(e-1):t.toExponential()).indexOf("e"))<0)return null;var n,r=t.slice(0,n);return[r.length>1?r[0]+r.slice(2):r,+t.slice(n+1)]}function Zn(t){return(t=Jn(Math.abs(t)))?t[1]:NaN}Wn.prototype.on=function(){var t=this._.on.apply(this._,arguments);return t===this._?this:t};var Qn,tr=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function er(t){if(!(e=tr.exec(t)))throw new Error("invalid format: "+t);var e;return new nr({fill:e[1],align:e[2],sign:e[3],symbol:e[4],zero:e[5],width:e[6],comma:e[7],precision:e[8]&&e[8].slice(1),trim:e[9],type:e[10]})}function nr(t){this.fill=void 0===t.fill?" ":t.fill+"",this.align=void 0===t.align?">":t.align+"",this.sign=void 0===t.sign?"-":t.sign+"",this.symbol=void 0===t.symbol?"":t.symbol+"",this.zero=!!t.zero,this.width=void 0===t.width?void 0:+t.
vendor: 4,242 bytes, line 1
1width,this.comma=!!t.comma,this.precision=void 0===t.precision?void 0:+t.precision,this.trim=!!t.trim,this.type=void 0===t.type?"":t.type+""}function rr(t,e){var n=Jn(t,e);if(!n)return t+"";var r=n[0],i=n[1];return i<0?"0."+new Array(-i).join("0")+r:r.length>i+1?r.slice(0,i+1)+"."+r.slice(i+1):r+new Array(i-r.length+2).join("0")}er.prototype=nr.prototype,nr.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(void 0===this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(void 0===this.precision?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type};var ir={"%":(t,e)=>(100*t).toFixed(e),b:t=>Math.round(t).toString(2),c:t=>t+"",d:function(t){return Math.abs(t=Math.round(t))>=1e21?t.toLocaleString("en").replace(/,/g,""):t.toString(10)},e:(t,e)=>t.toExponential(e),f:(t,e)=>t.toFixed(e),g:(t,e)=>t.toPrecision(e),o:t=>Math.round(t).toString(8),p:(t,e)=>rr(100*t,e),r:rr,s:function(t,e){var n=Jn(t,e);if(!n)return t+"";var r=n[0],i=n[1],o=i-(Qn=3*Math.max(-8,Math.min(8,Math.floor(i/3))))+1,a=r.length;return o===a?r:o>a?r+new Array(o-a+1).join("0"):o>0?r.slice(0,o)+"."+r.slice(o):"0."+new Array(1-o).join("0")+Jn(t,Math.max(0,e+o-1))[0]},X:t=>Math.round(t).toString(16).toUpperCase(),x:t=>Math.round(t).toString(16)};function or(t){return t}var ar,sr,lr,ur=Array.prototype.map,cr=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function hr(t){var e,n,r=void 0===t.grouping||void 0===t.thousands?or:(e=ur.call(t.grouping,Number),n=t.thousands+"",function(t,r){for(var i=t.length,o=[],a=0,s=e[0],l=0;i>0&&s>0&&(l+s+1>r&&(s=Math.max(1,r-l)),o.push(t.substring(i-=s,i+s)),!((l+=s+1)>r));)s=e[a=(a+1)%e.length];return o.reverse().join(n)}),i=void 0===t.currency?"":t.currency[0]+"",o=void 0===t.currency?"":t.currency[1]+"",a=void 0===t.decimal?".":t.decimal+"",s=void 0===t.numerals?or:function(t){return function(e){return e.replace(/[0-9]/g,function(e){return t[+e]})}}(ur.call(t.numerals,String)),l=void 0===t.percent?"%":t.percent+"",u=void 0===t.minus?"−":t.minus+"",c=void 0===t.nan?"NaN":t.nan+"";function h(t){var e=(t=er(t)).fill,n=t.align,h=t.sign,f=t.symbol,p=t.zero,d=t.width,m=t.comma,g=t.precision,y=t.trim,v=t.type;"n"===v?(m=!0,v="g"):ir[v]||(void 0===g&&(g=12),y=!0,v="g"),(p||"0"===e&&"="===n)&&(p=!0,e="0",n="=");var w="$"===f?i:"#"===f&&/[boxX]/.test(v)?"0"+v.toLowerCase():"",b="$"===f?o:/[%p]/.test(v)?l:"",_=ir[v],x=/[defgprs%]/.test(v);function k(t){var i,o,l,f=w,k=b;if("c"===v)k=_(t)+k,t="";else{var E=(t=+t)<0||1/t<0;if(t=isNaN(t)?c:_(Math.abs(t),g),y&&(t=function(t){t:for(var e,n=t.length,r=1,i=-1;r<n;++r)switch(t[r]){case".":i=e=r;break;case"0":0===i&&(i=r),e=r;break;default:if(!+t[r])break t;i>0&&(i=0)}return i>0?t.slice(0,i)+t.slice(e+1):t}(t)),E&&0===+t&&"+"!==h&&(E=!1),f=(E?"("===h?h:u:"-"===h||"("===h?"":h)+f,k=("s"===v?cr[8+Qn/3]:"")+k+(E&&"("===h?")":""),x)for(i=-1,o=t.length;++i<o;)if(48>(l=t.charCodeAt(i))||l>57){k=(46===l?a+t.slice(i+1):t.slice(i))+k,t=t.slice(0,i);break}}m&&!p&&(t=r(t,1/0));var M=f.length+t.length+k.length,N=M<d?new Array(d-M+1).join(e):"";switch(m&&p&&(t=r(N+t,N.length?d-k.length:1/0),N=""),n){case"<":t=f+t+k+N;break;case"=":t=f+N+t+k;break;case"^":t=N.slice(0,M=N.length>>1)+f+t+k+N.slice(M);break;default:t=N+f+t+k}return s(t)}return g=void 0===g?6:/[gprs]/.test(v)?Math.max(1,Math.min(21,g)):Math.max(0,Math.min(20,g)),k.toString=function(){return t+""},k}return{format:h,formatPrefix:function(t,e){var n=h(((t=er(t)).type="f",t)),r=3*Math.max(-8,Math.min(8,Math.floor(Zn(e)/3))),i=Math.pow(10,-r),o=cr[8+r/3];return function(t){return n(i*t)+o}}}}ar=hr({thousands:",",grouping:[3],currency:["$",""]}),sr=ar.format,lr=ar.formatPrefix;const fr=Math.sqrt(50),pr=Math.sqrt(10),dr=Math.sqrt(2);function mr(t,e,n){const r=(e-t)/Math.max(0,n),i=Math.floor(Math.log10(r)),o=r/Math.pow(10,i),a=o>=fr?10:o>=pr?5:o>=dr?2:1;let s,l,u;return i<0?(u=Math.pow(10,-i)/a,s=Math.round(t*u),l=Math.round(e*u),s/u<t&&++s,l/u>e&&--l,u=-u):(u=Math.pow(10,i)*a,s=Math.round(t/u),l=Math.round(e/u),s*u<t&&++s,l*u>e&&--l),l<s&&.5<=n&&n<2?mr(t,e,2*n):[s,l,u]}function gr(t,e,n){return mr(t=+t,e=+e,n=+n)[2]}function yr(t,e){return null==t||null==e?NaN:e<t?-1:e>t?1:e>=t?0:NaN}function vr(t){let e,n,r;
1function i(t,r,i=0,o=t.length){if(i<o){if(0!==e(r,r))return o;do{const e=i+o>>>1;n(t[e],r)<0?i=e+1:o=e}while(i<o)}return i}return 2!==t.length?(e=h,n=(e,n)=>h(t(e),n),r=(e,n)=>t(e)-n):(e=t===h||t===yr?t:wr,n=t,r=t),{left:i,center:function(t,e,n=0,o=t.length){const a=i(t,e,n,o-1);return a>n&&r(t[a-1],e)>-r(t[a],e)?a-1:a},right:function(t,r,i=0,o=t.length){if(i<o){if(0!==e(r,r))return o;do{const e=i+o>>>1;n(t[e],r)<=0?i=e+1:o=e}while(i<o)}return i}}}function wr(){return 0}const br=vr(h),_r=br.right;br.left,vr(function(t){return null===t?NaN:+t}).center;var xr=_r;function kr(t,e){var n,r=e?e.length:0,i=t?Math.min(r,t.length):0,o=new Array(i),a=new Array(r);for(n=0;n<i;++n)o[n]=Ar(t[n],e[n]);for(;n<r;++n)a[n]=e[n];return function(t){for(n=0;n<i;++n)a[n]=o[n](t);return a}}function Er(t,e){var n=new Date;return t=+t,e=+e,function(r){return n.setTime(t*(1-r)+e*r),n}}function Mr(t,e){var n,r={},i={};for(n in null!==t&&"object"==typeof t||(t={}),null!==e&&"object"==typeof e||(e={}),e)n in t?r[n]=Ar(t[n],e[n]):i[n]=e[n];return function(t){for(n in r)i[n]=r[n](t);return i}}function Nr(t,e){e||(e=[]);var n,r=t?Math.min(e.length,t.length):0,i=e.slice();return function(o){for(n=0;n<r;++n)i[n]=t[n]*(1-o)+e[n]*o;return i}}function Ar(t,e){var n,r,i=typeof e;return null==e||"boolean"===i?en(e):("number"===i?ue:"string"===i?(n=Re(e))?(e=n,an):cn:e instanceof Re?an:e instanceof Date?Er:(r=e,!ArrayBuffer.isView(r)||r instanceof DataView?Array.isArray(e)?kr:"function"!=typeof e.valueOf&&"function"!=typeof e.toString||isNaN(e)?Mr:ue:Nr))(t,e)}function Sr(t,e){return t=+t,e=+e,function(n){return Math.round(t*(1-n)+e*n)}}function Cr(t){return+t}var Ir=[0,1];function zr(t){return t}function $r(t,e){return(e-=t=+t)?function(n){return(n-t)/e}:(n=isNaN(e)?NaN:.5,function(){return n});var n}function qr(t,e,n){var r=t[0],i=t[1],o=e[0],a=e[1];return i<r?(r=$r(i,r),o=n(a,o)):(r=$r(r,i),o=n(o,a)),function(t){return o(r(t))}}function jr(t,e,n){var r=Math.min(t.length,e.length)-1,i=new Array(r),o=new Array(r),a=-1;for(t[r]<t[0]&&(t=t.slice().reverse(),e=e.slice().reverse());++a<r;)i[a]=$r(t[a],t[a+1]),o[a]=n(e[a],e[a+1]);return function(e){var n=xr(t,e,1,r)-1;return o[n](i[n](e))}}function Pr(){var t,e,n,r,i,o,a=Ir,s=Ir,l=Ar,u=zr;function c(){var t,e,n,l=Math.min(a.length,s.length);return u!==zr&&(t=a[0],e=a[l-1],t>e&&(n=t,t=e,e=n),u=function(n){return Math.max(t,Math.min(e,n))}),r=l>2?jr:qr,i=o=null,h}function h(e){return null==e||isNaN(e=+e)?n:(i||(i=r(a.map(t),s,l)))(t(u(e)))}return h.invert=function(n){return u(e((o||(o=r(s,a.map(t),ue)))(n)))},h.domain=function(t){return arguments.length?(a=Array.from(t,Cr),c()):a.slice()},h.range=function(t){return arguments.length?(s=Array.from(t),c()):s.slice()},h.rangeRound=function(t){return s=Array.from(t),l=Sr,c()},h.clamp=function(t){return arguments.length?(u=!!t||zr,c()):u!==zr},h.interpolate=function(t){return arguments.length?(l=t,c()):l},h.unknown=function(t){return arguments.length?(n=t,h):n},function(n,r){return t=n,e=r,c()}}function Tr(t,e){switch(arguments.length){case 0:break;case 1:this.range(t);break;default:this.range(e).domain(t)}return this}function Lr(t,e,n,r){var i,o=function(t,e,n){n=+n;const r=(e=+e)<(t=+t),i=r?gr(e,t,n):gr(t,e,n);return(r?-1:1)*(i<0?1/-i:i)}(t,e,n);switch((r=er(null==r?",f":r)).type){case"s":var a=Math.max(Math.abs(t),Math.abs(e));return null!=r.precision||isNaN(i=function(t,e){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(Zn(e)/3)))-Zn(Math.abs(t)))}(o,a))||(r.precision=i),lr(r,a);case"":case"e":case"g":case"p":case"r":null!=r.precision||isNaN(i=function(t,e){return t=Math.abs(t),e=Math.abs(e)-t,Math.max(0,Zn(e)-Zn(t))+1}(o,Math.max(Math.abs(t),Math.abs(e))))||(r.precision=i-("e"===r.type));break;case"f":case"%":null!=r.precision||isNaN(i=function(t){return Math.max(0,-Zn(Math.abs(t)))}(o))||(r.precision=i-2*("%"===r.type))}return sr(r)}function Rr(t){var e=t.domain;return t.ticks=function(t){var n=e();return function(t,e,n){if(!((n=+n)>0))return[];if((t=+t)===(e=+e))return[t];const r=e<t,[i,o,a]=r?mr(e,t,n):mr(t,e,n);if(!(o>=i))return[];const s=o-i+1,l=new Array(s);if(r)if(a<0)for(let u=0;u<s;++u)l[u]=(o-u)/-a;else for(let u=0;u<s;++u)l[u]=(o-u)*a;else if(a<0)for(let u=0;u<s;++u)l[u]=(i+u)/-a;else for(let u=0;u<s;++u)l[u]=(i+u)*a;return l}(n[0],n[n.length-1],null==t?10:t)},t.tickFormat=function(t,n){var r=e();return Lr(r[0],r[r.length-1],null==t?10:t,n)},t.nice=function(n){null==n&&(n=10);var r,i,o=e(),a=0,s=o.length-1,l=o[a],u=o[s],c=10;for(u<l&&(i=l,l=u,u=i,i=a,a=s,s=i);c-- >0;){if((i=gr(l,u,n))===r)return o[a]=l,o[s]=u,e(o);if(i>0)l=Math.floor(l/i)*i,u=Math.ceil(u/i)*i;else{if(!(i<0))break;l=Math.ceil(l*i)/i,u=Math.floor(u*i)/i}r=i}return t},t}function Xr(){var t=Pr()(zr,zr);return t.copy=function(){return e=t,Xr().domain(e.domain()).range(e.range()).interpolate(e.interpolate()).clamp(e.clamp()).unknown(e.unknown());var e},Tr.apply(t,arguments),Rr(t)}function Hr(t,e,n){this.k=t,this.x=e,this.y=n}Hr.prototype={constructor:Hr,scale:function(t){return 1===t?this:new Hr(this.k*t,this.x,this.y)},translate:function(t,e){return 0===t&0===e?this:new Hr(this.k,this.x+this.k*t,this.y+this.k*e)},apply:function(t){return[t[0]*this.k+this.x,t[1]*this.k+this.y]},applyX:function(t){return t*this.k+this.x},applyY:function(t){return t*this.k+this.y},invert:function(t){return[(t[0]-this.x)/this.k,(t[1]-this.y)/this.k]},invertX:function(t){return(t-this.x)/this.k},invertY:function(t){return(t-this.y)/this.k},rescaleX:function(t){return t.copy().domain(t.range().map(this.invertX,this).map(t.invert,t))},rescaleY:function(t){return t.copy().domain(t.range().map(this.invertY,this).map(t.invert,t))},toString:function(){return"translate("+this.x+","+this.y+") scale("+this.k+")"}};new Hr(1,0,0);Hr.prototype;var Vr=JSON.parse('{"a":[{"name":"Comunitaria"},{"name":"General Pública"},{"name":"Privada"},{"name":"Técnica Pública"},{"name":"Telesecundaria"},{"name":"I"},{"name":"II"},{"name":"III"},{"name":"IV"}],"y":[{"source":0,"target":5,"value":53.97073},{"source":0,"target":6,"value":35.54329},{"source":0,"target":7,"value":8.596621},{"source":0,"target":8,"value":1.88854},{"source":1,"target":5,"value":34.24268},{"source":1,"target":6,"value":44.19987},{"source":1,"target":7,"value":16.092219},{"source":1,"target":8,"value":5.468436},{"source":2,"target":5,"value":14.26934},{"source":2,"target":6,"value":36.67651},{"source":2,"target":7,"value":29.690807},{"source":2,"target":8,"value":19.36441},{"source":3,"target":5,"value":35.65451},{"source":3,"target":6,"value":43.61008},{"source":3,"target":7,"value":15.512514},{"source":3,"target":8,"value":5.225189},{"source":4,"target":5,"value":35.65451},{"source":4,"target":6,"value":43.61008},{"source":4,"target":7,"value":11.481825},{"source":4,"target":8,"value":3.029638}]}');const Or=a.default.div.withConfig({displayName:"SankeyViz__SankeyContainer",componentId:"sc-1a80s5t-0"})(["width:100%;height:100%;position:relative;display:flex;align-items:center;justify-content:center;canvas{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);}svg{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);}.node rect{cursor:move;fill-opacity:1;shape-rendering:crispEdges;}.node text{pointer-events:none;font-family:'Inter',sans-serif;font-weight:600;font-size:14px;}.link{fill:none;stroke:#000;stroke-opacity:.08;}.link:hover{stroke-opacity:.2;}.percentage-label{font-family:'Inter',sans-serif;font-size:13px;font-weight:700;pointer-events:none;}.bar-label{font-family:'Inter',sans-serif;font-size:14px;font-weight:600;text-anchor:middle;}.bar-percentage{font-family:'Inter',sans-serif;font-size:15px;font-weight:700;text-anchor:middle;}"]),Yr=()=>{let t={},e=24,n=8,r=[1,1],i=[],o=[];function a(){function t(t,e){return t.source.y-e.source.y}function e(t,e){return t.target.y-e.target.y}i.forEach(function(n){n.sourceLinks.sort(e),n.targetLinks.sort(t)}
1),i.forEach(function(t){let e=0,n=0;t.sourceLinks.forEach(function(t){t.sy=e,e+=t.dy}),t.targetLinks.forEach(function(t){t.ty=n,n+=t.dy})})}function s(t){return t.y+t.dy/2}function l(t){return t.value}return t.nodeWidth=function(n){return arguments.length?(e=+n,t):e},t.nodePadding=function(e){return arguments.length?(n=+e,t):n},t.nodes=function(e){return arguments.length?(i=e,t):i},t.links=function(e){return arguments.length?(o=e,t):o},t.size=function(e){return arguments.length?(r=e,t):r},t.layout=function(u){return i.forEach(function(t){t.sourceLinks=[],t.targetLinks=[]}),o.forEach(function(t){let e=t.source,n=t.target;"number"==typeof e&&(e=t.source=i[t.source]),"number"==typeof n&&(n=t.target=i[t.target]),e.sourceLinks.push(t),n.targetLinks.push(t)}),i.forEach(function(t){t.value=Math.max(w(t.sourceLinks,l),w(t.targetLinks,l))}),function(){let t,n=i,o=0;for(;n.length;){t=[];const r=o,i=e;n.forEach(e=>{e.x=r,e.dx=i,e.sourceLinks.forEach(e=>{t.indexOf(e.target)<0&&t.push(e.target)})}),n=t,++o}(function(t){i.forEach(function(e){e.sourceLinks.length||(e.x=t-1)})})(o),a=(r[0]-e)/(o-1),i.forEach(function(t){t.x*=a});var a}(),function(t){const e=function(t,...e){return v(t,y,y,e)}(i,t=>t.x),a=Array.from(e.entries()).sort((t,e)=>h(t[0],e[0])).map(t=>t[1]);u(),p();for(let n=1;t>0;--t)f(n*=.99),p(),c(n),p();function u(){const t=function(t,e){let n;if(void 0===e)for(const r of t)null!=r&&(n>r||void 0===n&&r>=r)&&(n=r);else{let r=-1;for(let i of t)null!=(i=e(i,++r,t))&&(n>i||void 0===n&&i>=i)&&(n=i)}return n}(a,function(t){return(r[1]-(t.length-1)*n)/w(t,l)});a.forEach(function(e){e.forEach(function(e,n){e.y=n,e.dy=e.value*t})}),o.forEach(function(e){e.dy=e.value*t})}function c(t){function e(t){return s(t.source)*t.value}a.forEach(function(n){n.forEach(function(n){if(n.targetLinks.length){const r=w(n.targetLinks,e)/w(n.targetLinks,l);n.y+=(r-s(n))*t}})})}function f(t){function e(t){return s(t.target)*t.value}a.slice().reverse().forEach(function(n){n.forEach(function(n){if(n.sourceLinks.length){const r=w(n.sourceLinks,e)/w(n.sourceLinks,l);n.y+=(r-s(n))*t}})})}function p(){a.forEach(function(t){let e,i,o,a=0,s=t.length;for(t.sort(d),o=0;o<s;++o)e=t[o],i=a-e.y,i>0&&(e.y+=i),a=e.y+e.dy+n;if(i=a-n-r[1],i>0)for(a=e.y-=i,o=s-2;o>=0;--o)e=t[o],i=e.y+e.dy+n-a,i>0&&(e.y-=i),a=e.y})}function d(t,e){return t.y-e.y}}(u),a(),t},t.relayout=function(){return a(),t},t.link=function(){let t=.5;function e(e){const n=e.source.x+e.source.dx,r=e.target.x,i=ue(n,r),o=i(t),a=i(1-t),s=e.source.y+e.sy+e.dy/2,l=e.target.y+e.ty+e.dy/2;return"M"+n+","+s+"C"+o+","+s+" "+a+","+l+" "+r+","+l}return e.curvature=function(n){return arguments.length?(t=+n,e):t},e},t};var Dr=()=>{const t=(0,r.useRef)(null),e=(0,r.useRef)(null),n=(0,r.useRef)(null),i=(0,r.useRef)(null);return(0,r.useEffect)(()=>{var r,o;if(!t.current||!e.current)return;const a="undefined"!=typeof window?window.innerWidth:1200,s="undefined"!=typeof window?window.innerHeight:800,l=(null===(r=i.current)||void 0===r?void 0:r.offsetWidth)||.8*a,u=(null===(o=i.current)||void 0===o?void 0:o.offsetHeight)||.8*s,c=Math.min(l,1200),h=Math.min(u,600),f=.1*h,p=.2*c,d=.1*h,m=.15*c,g=c-m-p,y=h-f-d,v=e.current;v.width=g+m+p,v.height=y+f+d;const w=Rn(t.current);w.selectAll("*").remove(),w.attr("width",g+m+p).attr("height",y+f+d);const b=w.append("g").attr("transform",`translate(${m},${f})`),_=Yr().nodeWidth(20).nodePadding(30).size([g,y]),k=_.link(),E=["#c1666b","#4281a4","#48a9a6","#d4b483","#8b7e74","#d64045","#e9806e","#f4a261","#2a9d8f"],M={I:"Pobre",II:"Insuficiente",III:"Suficiente",IV:"Sobresaliente"},N=sr(",.1f"),A=t=>N(t)+"%";_.nodes(Vr.a).links(Vr.y).layout(30);const S=b.append("g").selectAll(".link").data(Vr.y).enter().append("path").attr("class","link").attr("d",k).style("stroke-opacity",.12).style("stroke-width",t=>Math.max(1,t.dy)).sort((t,e)=>e.dy-t.dy);S.append("title").text(t=>t.source.name+" → "+t.target.name+"\n"+A(t.value));const C=b.append("g").selectAll(".node").data(Vr.a).enter().append("g").attr("class","node").attr("transform",t=>`translate(${t.x},${t.y})`).call(Kn().on("start",function(){this.parentNode.appendChild(this)}).on("drag",function(t,e){Rn(this).attr("transform",`translate(${e.x},${e.y=Math.max(0,Math.min(y-e.dy,t.y))})`),_.relayout(),S.attr("d",k)}));C.append("rect").attr("height",t=>t.dy).attr("width",_.nodeWidth()).style("fill",(t,e)=>(t.color=E[e],t.color)).style("stroke","none").style("fill-opacity",t=>t.x>=g/2?0:1).attr("rx",3).append("title").text(t=>t.name+"\n"+A(t.value)),C.filter(t=>t.x<g/2).append("text").attr("x",-12).attr("y",t=>t.dy/2).attr("dy",".35em").attr("text-anchor","end").text(t=>t.name).style("fill",t=>t.color).style("font-size","14px").style("font-weight","600").style("paint-order","stroke").style("stroke","rgba(0, 0, 0, 0.3)").style("stroke-width","3px");const I={I:0,II:0,III:0,IV:0},z={I:0,II:0,III:0,IV:0};
1Vr.y.forEach(t=>{I[t.target.name]+=t.value,z[t.target.name]+=1}),Object.keys(I).forEach(t=>{I[t]=I[t]/z[t]});const $=g+25;C.filter(t=>t.x>=g/2).each(function(t){const e=t.y+t.dy/2;b.append("text").attr("class","bar-label").attr("x",$).attr("y",e-5).attr("text-anchor","start").text(M[t.name]||t.name).style("fill",t.color).style("font-size","15px").style("font-weight","600").style("paint-order","stroke").style("stroke","rgba(0, 0, 0, 0.3)").style("stroke-width","3px"),b.append("text").attr("class","bar-percentage").attr("x",$).attr("y",e+12).attr("text-anchor","start").style("fill","#ccc").style("font-size","14px").text(N(I[t.name])+"%")});const q=function(t,e){let n,r;if(void 0===e)for(const i of t)null!=i&&(void 0===n?i>=i&&(n=r=i):(n>i&&(n=i),r<i&&(r=i)));else{let i=-1;for(let o of t)null!=(o=e(o,++i,t))&&(void 0===n?o>=o&&(n=r=o):(n>o&&(n=o),r<o&&(r=o)))}return[n,r]}(Vr.y,t=>t.value),j=Xr().domain(q).range([1,100]),P=Xr().domain(q).range([2.5,2.5]);S.style("stroke",t=>t.source.color),Vr.y.forEach(t=>{t.freq=j(t.value),t.particleSize=P(t.value),t.particleColor=Xr().domain([1,1e3]).range([t.source.color,t.source.color])});let T=[],L=1,R=c,X=0,H=Date.now();const V=.5;return function t(){const e=Date.now()-H;T=T.filter(t=>t.time>e-2500),L>300&&(L=1,R=c,X=0),function(t){return"string"==typeof t?new It([document.querySelectorAll(t)],[document.documentElement]):new It([x(t)],Ct)}("path.link").each(function(t){if(t.freq>=L)for(let n=0;n<1;n++){const n=(Math.random()-.5)*t.dy;T.push({link:t,time:e,offset:n,path:this}),T.push({link:t,time:e+.001,offset:(Math.random()-.5)*t.dy,path:this})}}),function(t){const e=v.getContext("2d");e.clearRect(0,0,R,v.height);for(let n in T){const r=(t-T[n].time)*V,i=r/980*T[n].path.getTotalLength(),o=T[n].path.getPointAtLength(i-Math.random()*X);e.beginPath(),e.fillStyle=T[n].link.particleColor(r),e.globalAlpha=.7,e.arc(o.x+m,o.y+f+T[n].offset,T[n].link.particleSize,0,2*Math.PI),e.fill(),e.globalAlpha=1}}(e),L+=.2,R-=.18,X+=.18,n.current=requestAnimationFrame(t)}(),()=>{n.current&&cancelAnimationFrame(n.current)}},[]),r.createElement(Or,{ref:i},r.createElement("canvas",{ref:e}),r.createElement("svg",{ref:t}))};const Wr=a.default.div.withConfig({displayName:"MobilityVideo__VideoContainer",componentId:"sc-11q6hxr-0"})(["width:100%;height:100%;display:flex;align-items:center;justify-content:center;position:relative;overflow:hidden;video{max-width:90%;max-height:90%;width:auto;height:auto;border-radius:",";box-shadow:",";object-fit:contain;}"],t=>t.theme.radii.xl,t=>t.theme.shadows["2xl"]);var Ur=t=>{let{isActive:e}=t;const n=(0,r.useRef)(null);return(0,r.useEffect)(()=>{n.current&&(e?n.current.play().catch(t=>{console.log("Video autoplay prevented:",t)}):n.current.pause())},[e]),r.createElement(Wr,null,r.createElement("video",{ref:n,src:"/assets/videos/bici.mp4",loop:!0,muted:!0,playsInline:!0,preload:"auto"}))};function Fr(t){let e,n=[],r={x:0,y:0},i=function(){function e(){this.pos=t.createVector(t.random(t.width),t.random(t.height)),this.vel=t.createVector(t.random(-.5,.5),t.random(-.5,.5)),this.acc=t.createVector(0,0),this.size=t.random(2,5),this.alpha=t.random(100,200),this.color=t.random()>.5?[255,107,53]:[0,78,137]}var n=e.prototype;return n.applyForce=function(t){this.acc.add(t)},n.update=function(){this.vel.add(this.acc),this.vel.limit(2),this.pos.add(this.vel),this.acc.mult(0),this.pos.x<0&&(this.pos.x=t.width),this.pos.x>t.width&&(this.pos.x=0),this.pos.y<0&&(this.pos.y=t.height),this.pos.y>t.height&&(this.pos.y=0)},n.attractToMouse=function(){let e=t.createVector(r.x,r.y),n=t.constructor.Vector.sub(e,this.pos),i=n.mag();i<200&&(n.normalize(),n.mult(.3*(1-i/200)),this.applyForce(n))},n.display=function(){t.noStroke(),t.fill(this.color[0],this.color[1],this.color[2],this.alpha),t.circle(this.pos.x,this.pos.y,this.size)},e}();t.setup=()=>{e=t.createCanvas(t.windowWidth,t.windowHeight),e.style("position","absolute"),e.style("top","0"),e.style("left","0"),e.style("z-index","1"),e.style("pointer-events","none");for(let t=0;t<60;t++)n.push(new i)},t.draw=()=>{t.clear(),t.background(10,14,39,50);
1for(let t of n)t.attractToMouse(),t.update(),t.display();for(let e=0;e<n.length;e++)for(let r=e+1;r<n.length;r++){let i=t.dist(n[e].pos.x,n[e].pos.y,n[r].pos.x,n[r].pos.y);if(i<150){let o=t.map(i,0,150,80,0);t.stroke(255,107,53,o),t.strokeWeight(.5),t.line(n[e].pos.x,n[e].pos.y,n[r].pos.x,n[r].pos.y)}}},t.windowResized=()=>{t.resizeCanvas(t.windowWidth,t.windowHeight)},t.mouseMoved=()=>{r.x=t.mouseX,r.y=t.mouseY}}"undefined"!=typeof window&&s.os.registerPlugin(l.u);const Br=a.default.section.withConfig({displayName:"pages__HeroSection",componentId:"sc-1p0quar-0"})(["min-height:100vh;position:relative;display:flex;align-items:center;justify-content:center;background:linear-gradient( 180deg,var(--color-bg) 0%,var(--color-surface) 50%,var(--color-bg-secondary) 100% );overflow:hidden;&::before{content:'';position:absolute;top:0;left:0;right:0;bottom:0;background:radial-gradient( circle at 50% 50%,rgba(255,107,53,0.1) 0%,transparent 70% );animation:pulse 8s ease-in-out infinite;}@keyframes pulse{0%,100%{opacity:0.3;}50%{opacity:0.6;}}> div:first-child{position:absolute;top:0;left:0;width:100%;height:100%;z-index:0;}"]),Gr=a.default.div.withConfig({displayName:"pages__HeroContent",componentId:"sc-1p0quar-1"})(["position:relative;width:100%;max-width:",";padding:",";text-align:center;z-index:2;"],t=>t.theme.containers.lg,t=>t.theme.space[6]),Kr=a.default.h1.withConfig({displayName:"pages__HeroTitle",componentId:"sc-1p0quar-2"})(["font-size:clamp(3rem,10vw,8rem);font-weight:",";margin-bottom:",";background:linear-gradient( 135deg,"," 0%,"," 50%,"," 100% );-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;line-height:1.1;"],t=>t.theme.typography.fontWeights.bold,t=>t.theme.space[6],t=>t.theme.colors.primary,t=>t.theme.colors.accent,t=>t.theme.colors.secondary),Jr=a.default.p.withConfig({displayName:"pages__HeroSubtitle",componentId:"sc-1p0quar-3"})(["font-size:clamp(1.25rem,3vw,2.5rem);color:var(--color-text-secondary);max-width:900px;margin:0 auto ",";line-height:",";opacity:0.9;"],t=>t.theme.space[12],t=>t.theme.typography.lineHeights.relaxed),Zr=a.default.div.withConfig({displayName:"pages__ScrollIndicator",componentId:"sc-1p0quar-4"})(["position:absolute;bottom:",";left:50%;transform:translateX(-50%);display:flex;flex-direction:column;align-items:center;gap:",";color:var(--color-text-secondary);font-size:",";text-transform:uppercase;letter-spacing:",";animation:bounce 2s ease-in-out infinite;&::after{content:'';width:2px;height:40px;background:linear-gradient( 180deg,"," 0%,transparent 100% );}@keyframes bounce{0%,100%{transform:translateX(-50%) translateY(0);}50%{transform:translateX(-50%) translateY(10px);}}"],t=>t.theme.space[12],t=>t.theme.space[2],t=>t.theme.typography.fontSizes.sm,t=>t.theme.typography.letterSpacings.wider,t=>t.theme.colors.primary),Qr=a.default.section.withConfig({displayName:"pages__ResearchSection",componentId:"sc-1p0quar-5"})(["min-height:200vh;position:relative;background:var(--color-bg);@media (max-width:","){min-height:350vh;}"],t=>t.theme.breakpoints.md),ti=a.default.div.withConfig({displayName:"pages__StickyVisualization",componentId:"sc-1p0quar-6"})(["position:sticky;top:0;height:100vh;display:flex;align-items:center;justify-content:center;background:linear-gradient( 135deg,rgba(10,14,39,0.95) 0%,rgba(26,30,63,0.95) 100% );overflow:hidden;@media (max-width:","){height:60vh;}"],t=>t.theme.breakpoints.md),ei=a.default.div.withConfig({displayName:"pages__VisualizationCanvas",componentId:"sc-1p0quar-7"})(["width:100%;height:100%;position:relative;display:flex;align-items:center;justify-content:center;"]),ni=a.default.div.withConfig({displayName:"pages__VisualizationLayer",componentId:"sc-1p0quar-8"})(["position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:80%;height:80%;display:flex;align-items:center;justify-content:center;opacity:0;transition:opacity 0.8s ease;&.active{opacity:1;}@media (max-width:","){width:95%;height:95%;}"],t=>t.theme.breakpoints.md),ri=a.default.div.withConfig({displayName:"pages__ComplexityViz",componentId:"sc-1p0quar-9"})(["width:100%;height:100%;position:relative;display:flex;align-items:center;justify-content:center;img{max-width:90%;max-height:90%;width:auto;height:auto;object-fit:contain;}"]),ii=a.default.div.withConfig({displayName:"pages__ThemeCards",componentId:"sc-1p0quar-10"})(["position:absolute;top:0;left:0;right:0;height:200vh;pointer-events:none;@media (max-width:","){height:350vh;}"],t=>t.theme.breakpoints.md),oi=a.default.div.withConfig({displayName:"pages__ThemeCard",componentId:"sc-1p0quar-11"})(["position:absolute;
1left:50%;transform:translateX(-50%);max-width:600px;padding:",";background:rgba(var(--color-bg-rgb),0.9);backdrop-filter:blur(20px);border:1px solid rgba(255,107,53,0.2);border-radius:",";box-shadow:",";&.theme-1{top:30vh;}&.theme-2{top:80vh;}&.theme-3{top:130vh;}@media (max-width:","){max-width:90%;padding:",";&.theme-1{top:70vh;}&.theme-2{top:180vh;}&.theme-3{top:290vh;}}h2{font-size:",";color:",";margin-bottom:",";@media (max-width:","){font-size:",";}}p{font-size:",";color:var(--color-text-secondary);line-height:",";@media (max-width:","){font-size:",";}}"],t=>t.theme.space[10],t=>t.theme.radii["2xl"],t=>t.theme.shadows["2xl"],t=>t.theme.breakpoints.md,t=>t.theme.space[6],t=>t.theme.typography.fontSizes["4xl"],t=>t.theme.colors.primary,t=>t.theme.space[4],t=>t.theme.breakpoints.md,t=>t.theme.typography.fontSizes["2xl"],t=>t.theme.typography.fontSizes.lg,t=>t.theme.typography.lineHeights.relaxed,t=>t.theme.breakpoints.md,t=>t.theme.typography.fontSizes.base),ai=a.default.section.withConfig({displayName:"pages__FeaturedSection",componentId:"sc-1p0quar-12"})(["min-height:100vh;background:linear-gradient( 180deg,var(--color-bg) 0%,var(--color-surface) 100% );padding:"," ",";position:relative;"],t=>t.theme.space[20],t=>t.theme.space[6]),si=a.default.div.withConfig({displayName:"pages__FeaturedContent",componentId:"sc-1p0quar-13"})(["max-width:",";margin:0 auto;"],t=>t.theme.containers.xl),li=a.default.h2.withConfig({displayName:"pages__SectionTitle",componentId:"sc-1p0quar-14"})(["font-size:",";text-align:center;margin-bottom:",";background:linear-gradient( 135deg,"," 0%,"," 100% );-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;@media (max-width:","){font-size:",";}"],t=>t.theme.typography.fontSizes["6xl"],t=>t.theme.space[16],t=>t.theme.colors.primary,t=>t.theme.colors.accent,t=>t.theme.breakpoints.md,t=>t.theme.typography.fontSizes["4xl"]),ui=a.default.div.withConfig({displayName:"pages__ProjectGrid",componentId:"sc-1p0quar-15"})(["display:grid;grid-template-columns:repeat(auto-fit,minmax(350px,1fr));gap:",";margin-bottom:",";@media (max-width:","){grid-template-columns:1fr;}"],t=>t.theme.space[8],t=>t.theme.space[20],t=>t.theme.breakpoints.sm),ci=(0,a.default)(i.Link).withConfig({displayName:"pages__ProjectCard",componentId:"sc-1p0quar-16"})(["background:var(--color-surface);border:1px solid var(--color-border);border-radius:",";padding:",";transition:all 0.3s ease;text-decoration:none;display:block;&:hover{transform:translateY(-8px);box-shadow:",";border-color:",";}h3{font-size:",";color:var(--color-text);margin-bottom:",";}p{color:var(--color-text-secondary);line-height:",";margin-bottom:",";}.category{display:inline-block;padding:"," ",";background:rgba(255,107,53,0.1);border-radius:",";font-size:",";color:",";font-weight:",";text-transform:uppercase;letter-spacing:",";}"],t=>t.theme.radii.xl,t=>t.theme.space[8],t=>t.theme.shadows["2xl"],t=>t.theme.colors.primary,t=>t.theme.typography.fontSizes["2xl"],t=>t.theme.space[3],t=>t.theme.typography.lineHeights.relaxed,t=>t.theme.space[4],t=>t.theme.space[1],t=>t.theme.space[3],t=>t.theme.radii.full,t=>t.theme.typography.fontSizes.xs,t=>t.theme.colors.primary,t=>t.theme.typography.fontWeights.semibold,t=>t.theme.typography.letterSpacings.wider),hi=a.default.div.withConfig({displayName:"pages__CTASection",componentId:"sc-1p0quar-17"})(["text-align:center;padding:"," ",";background:linear-gradient( 135deg,rgba(255,107,53,0.1) 0%,rgba(0,78,137,0.1) 100% );border-radius:",";margin-top:",";h2{font-size:",";margin-bottom:",";color:var(--color-text);}p{font-size:",";color:var(--color-text-secondary);margin-bottom:",";}a{display:inline-block;padding:"," ",";background:",";color:white;text-decoration:none;border-radius:",";font-weight:",";font-size:",";transition:all 0.3s ease;&:hover{background:",";transform:scale(1.05);}}"],t=>t.theme.space[20],t=>t.theme.space[6],t=>t.theme.radii["2xl"],t=>t.theme.space[20],t=>t.theme.typography.fontSizes["5xl"],t=>t.theme.space[6],t=>t.theme.typography.fontSizes.xl,t=>t.theme.space[8],t=>t.theme.space[4],t=>t.theme.space[8],t=>t.theme.colors.primary,t=>t.theme.radii.lg,t=>t.theme.typography.fontWeights.semibold,t=>t.theme.typography.fontSizes.lg,t=>t.theme.colors.accent);var fi=function(t){let{data:e}=t;const{t:n}=(0,o.useTranslation)(),{0:a,1:l}=(0,r.useState)(0),h=(0,r.useRef)(null),f=(0,r.useRef)(null);(0,r.useEffect)(()=>
1{if("undefined"==typeof window)return;const t=s.os.context(()=>{s.os.from(".hero-title",{opacity:0,y:50,duration:1.2,ease:"power3.out"}),s.os.from(".hero-subtitle",{opacity:0,y:30,duration:1,delay:.3,ease:"power3.out"});const t=window.innerWidth<768;s.os.timeline({scrollTrigger:{trigger:f.current,start:"top top",end:"bottom bottom",scrub:1,onUpdate:e=>{const n=e.progress;l(n<(t?.28:.33)?0:n<(t?.6:.66)?1:2)}}}),s.os.utils.toArray(".theme-card").forEach((t,e)=>{s.os.fromTo(t,{opacity:0,x:1===e?-100:0,scale:2===e?.8:1},{opacity:1,x:0,scale:1,scrollTrigger:{trigger:t,start:"top 80%",end:"top 30%",scrub:1}})}),s.os.utils.toArray(".project-card").forEach((t,e)=>{s.os.from(t,{opacity:0,y:50,duration:.8,delay:.1*e,scrollTrigger:{trigger:t,start:"top 85%",toggleActions:"play none none none"}})})});return()=>t.revert()},[]);const p=e.allMarkdownRemark.nodes.filter(t=>t.frontmatter.importance).sort((t,e)=>t.frontmatter.importance-e.frontmatter.importance).slice(0,3);return r.createElement(u.A,{title:n("homepage.title","Home"),description:n("homepage.description","Complex Systems Researcher | Urban Mobility | Computational Social Science"),path:"/"},r.createElement(Br,{ref:h},r.createElement(c.A,{sketch:Fr}),r.createElement(Gr,null,r.createElement(Kr,{className:"hero-title"},n("homepage.hero.title","Ollin D. Langle-Chimal")),r.createElement(Jr,{className:"hero-subtitle"},n("homepage.hero.subtitle","Exploring complexity in urban systems, human mobility, and social dynamics through computational methods and data science"))),r.createElement(Zr,null,n("homepage.hero.scroll","Scroll to explore"))),r.createElement(Qr,{ref:f},r.createElement(ti,null,r.createElement(ei,null,r.createElement(ni,{className:0===a?"active":""},r.createElement(Ur,{isActive:0===a})),r.createElement(ni,{className:1===a?"active":""},r.createElement(ri,null,r.createElement("img",{src:"/assets/images/eci.gif",alt:"Economic Complexity Index visualization"}))),r.createElement(ni,{className:2===a?"active":""},r.createElement(Dr,null)))),r.createElement(ii,null,r.createElement(oi,{className:"theme-card theme-1"},r.createElement("h2",null,n("homepage.themes.mobility.title","Urban Mobility")),r.createElement("p",null,n("homepage.themes.mobility.description","Understanding how people move through cities reveals patterns of accessibility, inequality, and opportunity. Through mobility data and network analysis, I study the complex systems that shape urban life."))),r.createElement(oi,{className:"theme-card theme-2"},r.createElement("h2",null,n("homepage.themes.complexity.title","Economic Complexity")),r.createElement("p",null,n("homepage.themes.complexity.description","The economic capabilities of cities and regions emerge from intricate networks of knowledge, skills, and industries. I explore how complexity theory illuminates economic development and spatial inequality."))),r.createElement(oi,{className:"theme-card theme-3"},r.createElement("h2",null,n("homepage.themes.inequality.title","Social Inequality")),r.createElement("p",null,n("homepage.themes.inequality.description","Spatial patterns of inequality reflect deeper structural forces in society. My research examines how geography, economics, and social networks interact to produce and perpetuate disparities."))))),r.createElement(ai,null,r.createElement(si,null,r.createElement(li,null,n("homepage.featured.title","Featured Research")),r.createElement(ui,null,p.map((t,e)=>{const i=t.frontmatter.lang||"en-us",o=`${"en-us"===i?"/projects":`/${i}/proyectos`}/${t.frontmatter.page_id}`;return r.createElement(ci,{key:t.id,to:o,className:"project-card"},r.createElement("span",{className:"category"},n(`projects.category.${t.frontmatter.category}`,t.frontmatter.category)),r.createElement("h3",null,t.frontmatter.title),r.createElement("p",null,t.frontmatter.description))})),r.createElement(hi,null,r.createElement("h2",null,n("homepage.cta.title","Interested in collaboration?")),r.createElement("p",null,n("homepage.cta.description","I'm always open to discussing research opportunities, data science projects, and interdisciplinary collaborations.")),r.createElement(i.Link,{to:"/cv"},n("homepage.cta.button","View my CV"))))))}}}]);
2//# sourceMappingURL=component---src-pages-index-jsx-01f4dd51ca7a402bfeb0.js.map

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.