@contentful/optimization-web 0.1.0-alpha
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +491 -0
- package/dist/AutoEntryViewTracking.d.ts +88 -0
- package/dist/AutoEntryViewTracking.d.ts.map +1 -0
- package/dist/Optimization.d.ts +146 -0
- package/dist/Optimization.d.ts.map +1 -0
- package/dist/analyzer.html +4 -0
- package/dist/builders/EventBuilder.d.ts +42 -0
- package/dist/builders/EventBuilder.d.ts.map +1 -0
- package/dist/builders/index.d.ts +2 -0
- package/dist/builders/index.d.ts.map +1 -0
- package/dist/contentful-optimization-web.umd.cjs +2 -0
- package/dist/contentful-optimization-web.umd.cjs.map +1 -0
- package/dist/global-constants.d.ts +37 -0
- package/dist/global-constants.d.ts.map +1 -0
- package/dist/handlers/beaconHandler.d.ts +24 -0
- package/dist/handlers/beaconHandler.d.ts.map +1 -0
- package/dist/handlers/createOnlineChangeListener.d.ts +34 -0
- package/dist/handlers/createOnlineChangeListener.d.ts.map +1 -0
- package/dist/handlers/createVisibilityChangeListener.d.ts +40 -0
- package/dist/handlers/createVisibilityChangeListener.d.ts.map +1 -0
- package/dist/handlers/index.d.ts +4 -0
- package/dist/handlers/index.d.ts.map +1 -0
- package/dist/index.cjs +2 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.ts +7 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +6244 -0
- package/dist/index.js.map +1 -0
- package/dist/observers/ElementExistenceObserver.d.ts +195 -0
- package/dist/observers/ElementExistenceObserver.d.ts.map +1 -0
- package/dist/observers/ElementView.d.ts +178 -0
- package/dist/observers/ElementView.d.ts.map +1 -0
- package/dist/observers/ElementViewObserver.d.ts +164 -0
- package/dist/observers/ElementViewObserver.d.ts.map +1 -0
- package/dist/observers/index.d.ts +6 -0
- package/dist/observers/index.d.ts.map +1 -0
- package/dist/storage/LocalStore.d.ts +111 -0
- package/dist/storage/LocalStore.d.ts.map +1 -0
- package/dist/storage/index.d.ts +3 -0
- package/dist/storage/index.d.ts.map +1 -0
- package/dist/test/helpers.d.ts +41 -0
- package/dist/test/helpers.d.ts.map +1 -0
- package/dist/visualizer.html +4687 -0
- package/package.json +28 -0
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <link rel="shortcut icon" type="image/x-icon" href="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGZpbGw9Im5vbmUiIHZpZXdCb3g9IjAgMCA0MTAgNDA0Ij48cGF0aCBkPSJtMzk5LjYgNTkuNS0xODQgMzI5YTEwIDEwIDAgMCAxLTE3LjQuMUwxMC42IDU5LjZBMTAgMTAgMCAwIDEgMjEgNDQuOGwxODQuMiAzMi45cTEuOC4zIDMuNiAwTDM4OSA0NC44YTEwIDEwIDAgMCAxIDEwLjUgMTQuNyIgZmlsbD0idXJsKCNhKSIvPjxwYXRoIGQ9Ik0yOTMgMS42IDE1Ni44IDI4LjNhNSA1IDAgMCAwLTQgNC42bC04LjQgMTQxLjRhNSA1IDAgMCAwIDYuMSA1LjJsMzgtOC44YTUgNSAwIDAgMSA2IDZsLTExLjMgNTVhNSA1IDAgMCAwIDYuMyA1LjlsMjMuNC03LjJhNSA1IDAgMCAxIDYuNCA1LjhMMjAxLjQgMzIzYy0xLjEgNS40IDYgOC4zIDkgMy43bDIuMS0zLjEgMTExLTIyMS40QTUgNSAwIDAgMCAzMTggOTVsLTM5IDcuNmE1IDUgMCAwIDEtNS43LTYuM0wyOTguNyA4YzEtMy42LTItNy01LjctNi4zIiBmaWxsPSJ1cmwoI2IpIi8+PGRlZnM+PGxpbmVhckdyYWRpZW50IGlkPSJhIiB4MT0iNiIgeTE9IjMzIiB4Mj0iMjM1IiB5Mj0iMzQ0IiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSI+PHN0b3Agc3RvcC1jb2xvcj0iIzQxRDFGRiIvPjxzdG9wIG9mZnNldD0iMSIgc3RvcC1jb2xvcj0iI0JEMzRGRSIvPjwvbGluZWFyR3JhZGllbnQ+PGxpbmVhckdyYWRpZW50IGlkPSJiIiB4MT0iMTk0LjciIHkxPSI4LjgiIHgyPSIyMzYuMSIgeTI9IjI5MyIgZ3JhZGllbnRVbml0cz0idXNlclNwYWNlT25Vc2UiPjxzdG9wIHN0b3AtY29sb3I9IiNGRkVBODMiLz48c3RvcCBvZmZzZXQ9Ii4xIiBzdG9wLWNvbG9yPSIjRkZERDM1Ii8+PHN0b3Agb2Zmc2V0PSIxIiBzdG9wLWNvbG9yPSIjRkZBODAwIi8+PC9saW5lYXJHcmFkaWVudD48L2RlZnM+PC9zdmc+" ><title>vite-bundle-analyzer</title>
|
|
2
|
+
<script type="module">var e,t,n,r,i,a,o,s,c,l,u,d,f,p,m,h,g=function(e){function t(e){return(t=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e})(e)}return e.defineProperty=function(e,n,r){var i;return i=function(e,n){if(t(e)!=`object`||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var i=r.call(e,n||`default`);if(t(i)!=`object`)return i;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(n===`string`?String:Number)(e)}(n,`string`),(n=t(i)==`symbol`?i:i+``)in e?Object.defineProperty(e,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[n]=r,e},e}({}),_={},v=[],y=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,b=Array.isArray;function x(e,t){for(var n in t)e[n]=t[n];return e}function S(e){e&&e.parentNode&&e.parentNode.removeChild(e)}function C(e,t,n){var r,a,o,s={};for(o in t)o==`key`?r=t[o]:o==`ref`?a=t[o]:s[o]=t[o];if(arguments.length>2&&(s.children=arguments.length>3?i.call(arguments,2):n),typeof e==`function`&&e.defaultProps!=null)for(o in e.defaultProps)s[o]??(s[o]=e.defaultProps[o]);return w(e,s,r,a,null)}function w(e,t,n,r,i){var s={type:e,props:t,key:n,ref:r,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:i??++o,__i:-1,__u:0};return i==null&&a.vnode!=null&&a.vnode(s),s}function T(e){return e.children}function E(e,t){this.props=e,this.context=t}function D(e,t){if(t==null)return e.__?D(e.__,e.__i+1):null;for(var n;t<e.__k.length;t++)if((n=e.__k[t])!=null&&n.__e!=null)return n.__e;return typeof e.type==`function`?D(e):null}function O(e){(!e.__d&&(e.__d=!0)&&s.push(e)&&!k.__r++||c!=a.debounceRendering)&&((c=a.debounceRendering)||l)(k)}function k(){for(var e,t,n,r,i,o,c=1;s.length;)s.length>c&&s.sort(u),e=s.shift(),c=s.length,e.__d&&(t=void 0,r=(n=e.__v).__e,i=[],o=[],e.__P&&((t=x({},n)).__v=n.__v+1,a.vnode&&a.vnode(t),ne(e.__P,t,n,e.__n,e.__P.namespaceURI,32&n.__u?[r]:null,i,r??D(n),!!(32&n.__u),o),t.__v=n.__v,t.__.__k[t.__i]=t,re(i,t,o),t.__e!=r&&function e(t){var n,r;if((t=t.__)!=null&&t.__c!=null){for(t.__e=t.__c.base=null,n=0;n<t.__k.length;n++)if((r=t.__k[n])!=null&&r.__e!=null){t.__e=t.__c.base=r.__e;break}return e(t)}}(t)));k.__r=0}function A(e,t,n,r,i,o,s,c,l,u,d){var f,p,m,h,g,y,x=r&&r.__k||v,C=t.length;for(l=function(e,t,n,r,i){var o,s,c,l,u,d=n.length,f=d,p=0;for(e.__k=Array(i),o=0;o<i;o++)(s=t[o])!=null&&typeof s!=`boolean`&&typeof s!=`function`?(l=o+p,(s=e.__k[o]=typeof s==`string`||typeof s==`number`||typeof s==`bigint`||s.constructor==String?w(null,s,null,null,null):b(s)?w(T,{children:s},null,null,null):s.constructor==null&&s.__b>0?w(s.type,s.props,s.key,s.ref?s.ref:null,s.__v):s).__=e,s.__b=e.__b+1,c=null,(u=s.__i=function(e,t,n,r){var i,a,o=e.key,s=e.type,c=t[n];if(c===null&&e.key==null||c&&o==c.key&&s==c.type&&!(2&c.__u))return n;if(r>+(c!=null&&(2&c.__u)==0))for(i=n-1,a=n+1;i>=0||a<t.length;){if(i>=0){if((c=t[i])&&!(2&c.__u)&&o==c.key&&s==c.type)return i;i--}if(a<t.length){if((c=t[a])&&!(2&c.__u)&&o==c.key&&s==c.type)return a;a++}}return-1}(s,n,l,f))!=-1&&(f--,(c=n[u])&&(c.__u|=2)),c==null||c.__v==null?(u==-1&&(i>d?p--:i<d&&p++),typeof s.type!=`function`&&(s.__u|=4)):u!=l&&(u==l-1?p--:u==l+1?p++:(u>l?p--:p++,s.__u|=4))):e.__k[o]=null;if(f)for(o=0;o<d;o++)(c=n[o])!=null&&!(2&c.__u)&&(c.__e==r&&(r=D(c)),function e(t,n,r){var i,o;if(a.unmount&&a.unmount(t),(i=t.ref)&&(i.current&&i.current!=t.__e||ie(i,null,n)),(i=t.__c)!=null){if(i.componentWillUnmount)try{i.componentWillUnmount()}catch(e){a.__e(e,n)}i.base=i.__P=null}if(i=t.__k)for(o=0;o<i.length;o++)i[o]&&e(i[o],n,r||typeof t.type!=`function`);r||S(t.__e),t.__c=t.__=t.__e=void 0}(c,c));return r}(n,t,x,l,C),f=0;f<C;f++)(m=n.__k[f])!=null&&(p=m.__i==-1?_:x[m.__i]||_,m.__i=f,y=ne(e,m,p,i,o,s,c,l,u,d),h=m.__e,m.ref&&p.ref!=m.ref&&(p.ref&&ie(p.ref,null,m),d.push(m.ref,m.__c||h,m)),g==null&&h!=null&&(g=h),4&m.__u||p.__k===m.__k?l=function e(t,n,r){var i,a;if(typeof t.type==`function`){for(i=t.__k,a=0;i&&a<i.length;a++)i[a]&&(i[a].__=t,n=e(i[a],n,r));return n}t.__e!=n&&(n&&t.type&&!r.contains(n)&&(n=D(t)),r.insertBefore(t.__e,n||null),n=t.__e);do n&&=n.nextSibling;while(n!=null&&n.nodeType==8);return n}(m,l,e):typeof m.type==`function`&&y!==void 0?l=y:h&&(l=h.nextSibling),m.__u&=-7);return n.__e=g,l}function j(e,t){return t||=[],e==null||typeof e==`boolean`||(b(e)?e.some(function(e){j(e,t)}):t.push(e)),t}function M(e,t,n){t[0]==`-`?e.setProperty(t,n??``):e[t]=n==null?``:typeof n!=`number`||y.test(t)?n:n+`px`}function ee(e,t,n,r,i){var a;e:if(t==`style`)if(typeof n==`string`)e.style.cssText=n;else{if(typeof r==`string`&&(e.style.cssText=r=``),r)for(t in r)n&&t in n||M(e.style,t,``);if(n)for(t in n)r&&n[t]==r[t]||M(e.style,t,n[t])}else if(t[0]==`o`&&t[1]==`n`)a=t!=(t=t.replace(d,`$1`)),t=t.toLowerCase()in e||t==`onFocusOut`||t==`onFocusIn`?t.toLowerCase().slice(2):t.slice(2),e.l||={},e.l[t+a]=n,n?r?n.u=r.u:(n.u=f,e.addEventListener(t,a?m:p,a)):e.removeEventListener(t,a?m:p,a);else{if(i==`http://www.w3.org/2000/svg`)t=t.replace(/xlink(H|:h)/,`h`).replace(/sName$/,`s`);else if(t!=`width`&&t!=`height`&&t!=`href`&&t!=`list`&&t!=`form`&&t!=`tabIndex`&&t!=`download`&&t!=`rowSpan`&&t!=`colSpan`&&t!=`role`&&t!=`popover`&&t in e)try{e[t]=n??``;break e}catch{}typeof n==`function`||(n==null||!1===n&&t[4]!=`-`?e.removeAttribute(t):e.setAttribute(t,t==`popover`&&n==1?``:n))}}function te(e){return function(t){if(this.l){var n=this.l[t.type+e];if(t.t==null)t.t=f++;else if(t.t<n.u)return;return n(a.event?a.event(t):t)}}}function ne(e,t,n,r,o,s,c,l,u,d){var f,p,m,h,g,v,y,C,w,O,k,j,M,te,ne,re,ie,N=t.type;if(t.constructor!=null)return null;128&n.__u&&(u=!!(32&n.__u),s=[l=t.__e=n.__e]),(f=a.__b)&&f(t);e:if(typeof N==`function`)try{if(C=t.props,w=`prototype`in N&&N.prototype.render,O=(f=N.contextType)&&r[f.__c],k=f?O?O.props.value:f.__:r,n.__c?y=(p=t.__c=n.__c).__=p.__E:(w?t.__c=p=new N(C,k):(t.__c=p=new E(C,k),p.constructor=N,p.render=ae),O&&O.sub(p),p.props=C,p.state||={},p.context=k,p.__n=r,m=p.__d=!0,p.__h=[],p._sb=[]),w&&p.__s==null&&(p.__s=p.state),w&&N.getDerivedStateFromProps!=null&&(p.__s==p.state&&(p.__s=x({},p.__s)),x(p.__s,N.getDerivedStateFromProps(C,p.__s))),h=p.props,g=p.state,p.__v=t,m)w&&N.getDerivedStateFromProps==null&&p.componentWillMount!=null&&p.componentWillMount(),w&&p.componentDidMount!=null&&p.__h.push(p.componentDidMount);else{if(w&&N.getDerivedStateFromProps==null&&C!==h&&p.componentWillReceiveProps!=null&&p.componentWillReceiveProps(C,k),!p.__e&&p.shouldComponentUpdate!=null&&!1===p.shouldComponentUpdate(C,p.__s,k)||t.__v==n.__v){for(t.__v!=n.__v&&(p.props=C,p.state=p.__s,p.__d=!1),t.__e=n.__e,t.__k=n.__k,t.__k.some(function(e){e&&(e.__=t)}),j=0;j<p._sb.length;j++)p.__h.push(p._sb[j]);p._sb=[],p.__h.length&&c.push(p);break e}p.componentWillUpdate!=null&&p.componentWillUpdate(C,p.__s,k),w&&p.componentDidUpdate!=null&&p.__h.push(function(){p.componentDidUpdate(h,g,v)})}if(p.context=k,p.props=C,p.__P=e,p.__e=!1,M=a.__r,te=0,w){for(p.state=p.__s,p.__d=!1,M&&M(t),f=p.render(p.props,p.state,p.context),ne=0;ne<p._sb.length;ne++)p.__h.push(p._sb[ne]);p._sb=[]}else do p.__d=!1,M&&M(t),f=p.render(p.props,p.state,p.context),p.state=p.__s;while(p.__d&&++te<25);p.state=p.__s,p.getChildContext!=null&&(r=x(x({},r),p.getChildContext())),w&&!m&&p.getSnapshotBeforeUpdate!=null&&(v=p.getSnapshotBeforeUpdate(h,g)),re=f,f!=null&&f.type===T&&f.key==null&&(re=function e(t){return typeof t!=`object`||!t||t.__b&&t.__b>0?t:b(t)?t.map(e):x({},t)}(f.props.children)),l=A(e,b(re)?re:[re],t,n,r,o,s,c,l,u,d),p.base=t.__e,t.__u&=-161,p.__h.length&&c.push(p),y&&(p.__E=p.__=null)}catch(e){if(t.__v=null,u||s!=null)if(e.then){for(t.__u|=u?160:128;l&&l.nodeType==8&&l.nextSibling;)l=l.nextSibling;s[s.indexOf(l)]=null,t.__e=l}else for(ie=s.length;ie--;)S(s[ie]);else t.__e=n.__e,t.__k=n.__k;a.__e(e,t,n)}else s==null&&t.__v==n.__v?(t.__k=n.__k,t.__e=n.__e):l=t.__e=function(e,t,n,r,o,s,c,l,u){var d,f,p,m,h,g,v,y=n.props,x=t.props,C=t.type;if(C==`svg`?o=`http://www.w3.org/2000/svg`:C==`math`?o=`http://www.w3.org/1998/Math/MathML`:o||=`http://www.w3.org/1999/xhtml`,s!=null){for(d=0;d<s.length;d++)if((h=s[d])&&`setAttribute`in h==!!C&&(C?h.localName==C:h.nodeType==3)){e=h,s[d]=null;break}}if(e==null){if(C==null)return document.createTextNode(x);e=document.createElementNS(o,C,x.is&&x),l&&(a.__m&&a.__m(t,s),l=!1),s=null}if(C==null)y===x||l&&e.data==x||(e.data=x);else{if(s&&=i.call(e.childNodes),y=n.props||_,!l&&s!=null)for(y={},d=0;d<e.attributes.length;d++)y[(h=e.attributes[d]).name]=h.value;for(d in y)if(h=y[d],d!=`children`){if(d==`dangerouslySetInnerHTML`)p=h;else if(!(d in x)){if(d==`value`&&`defaultValue`in x||d==`checked`&&`defaultChecked`in x)continue;ee(e,d,null,h,o)}}for(d in x)h=x[d],d==`children`?m=h:d==`dangerouslySetInnerHTML`?f=h:d==`value`?g=h:d==`checked`?v=h:l&&typeof h!=`function`||y[d]===h||ee(e,d,h,y[d],o);if(f)l||p&&(f.__html==p.__html||f.__html==e.innerHTML)||(e.innerHTML=f.__html),t.__k=[];else if(p&&(e.innerHTML=``),A(t.type==`template`?e.content:e,b(m)?m:[m],t,n,r,C==`foreignObject`?`http://www.w3.org/1999/xhtml`:o,s,c,s?s[0]:n.__k&&D(n,0),l,u),s!=null)for(d=s.length;d--;)S(s[d]);l||(d=`value`,C==`progress`&&g==null?e.removeAttribute(`value`):g==null||g===e[d]&&(C!=`progress`||g)&&(C!=`option`||g==y[d])||ee(e,d,g,y[d],o),d=`checked`,v!=null&&v!=e[d]&&ee(e,d,v,y[d],o))}return e}(n.__e,t,n,r,o,s,c,u,d);return(f=a.diffed)&&f(t),128&t.__u?void 0:l}function re(e,t,n){for(var r=0;r<n.length;r++)ie(n[r],n[++r],n[++r]);a.__c&&a.__c(t,e),e.some(function(t){try{e=t.__h,t.__h=[],e.some(function(e){e.call(t)})}catch(e){a.__e(e,t.__v)}})}function ie(e,t,n){try{if(typeof e==`function`){var r=typeof e.__u==`function`;r&&e.__u(),r&&t==null||(e.__u=e(t))}else e.current=t}catch(e){a.__e(e,n)}}function ae(e,t,n){return this.constructor(e,n)}function N(e,t,n){var r,o,s,c;t==document&&(t=document.documentElement),a.__&&a.__(e,t),o=(r=typeof n==`function`)?null:n&&n.__k||t.__k,s=[],c=[],ne(t,e=(!r&&n||t).__k=C(T,null,[e]),o||_,_,t.namespaceURI,!r&&n?[n]:o?null:t.firstChild?i.call(t.childNodes):null,s,!r&&n?n:o?o.__e:t.firstChild,r,c),re(s,e,c)}function oe(e,t,n){var r,a,o,s,c=x({},e.props);for(o in e.type&&e.type.defaultProps&&(s=e.type.defaultProps),t)o==`key`?r=t[o]:o==`ref`?a=t[o]:c[o]=t[o]==null&&s!=null?s[o]:t[o];return arguments.length>2&&(c.children=arguments.length>3?i.call(arguments,2):n),w(e.type,c,r||e.key,a||e.ref,null)}function se(e){function t(e){var n,r;return this.getChildContext||(n=new Set,(r={})[t.__c]=this,this.getChildContext=function(){return r},this.componentWillUnmount=function(){n=null},this.shouldComponentUpdate=function(e){this.props.value!=e.value&&n.forEach(function(e){e.__e=!0,O(e)})},this.sub=function(e){n.add(e);var t=e.componentWillUnmount;e.componentWillUnmount=function(){n&&n.delete(e),t&&t.call(e)}}),e.children}return t.__c=`__cC`+ h++,t.__=e,t.Provider=t.__l=(t.Consumer=function(e,t){return e.children(t)}).contextType=t,t}i=v.slice,a={__e:function(e,t,n,r){for(var i,a,o;t=t.__;)if((i=t.__c)&&!i.__)try{if((a=i.constructor)&&a.getDerivedStateFromError!=null&&(i.setState(a.getDerivedStateFromError(e)),o=i.__d),i.componentDidCatch!=null&&(i.componentDidCatch(e,r||{}),o=i.__d),o)return i.__E=i}catch(t){e=t}throw e}},o=0,E.prototype.setState=function(e,t){var n;n=this.__s!=null&&this.__s!=this.state?this.__s:this.__s=x({},this.state),typeof e==`function`&&(e=e(x({},n),this.props)),e&&x(n,e),e!=null&&this.__v&&(t&&this._sb.push(t),O(this))},E.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),O(this))},E.prototype.render=T,s=[],l=typeof Promise==`function`?Promise.prototype.then.bind(Promise.resolve()):setTimeout,u=function(e,t){return e.__v.__b-t.__v.__b},k.__r=0,d=/(PointerCapture)$|Capture$/i,f=0,p=te(!1),m=te(!0),h=0;var P,F,ce,le,ue=0,de=[],I=a,fe=I.__b,pe=I.__r,me=I.diffed,he=I.__c,ge=I.unmount,_e=I.__;function ve(e,t){I.__h&&I.__h(F,e,ue||t),ue=0;var n=F.__H||={__:[],__h:[]};return e>=n.__.length&&n.__.push({}),n.__[e]}function L(e){return ue=1,ye(Ae,e)}function ye(e,t,n){var r=ve(P++,2);if(r.t=e,!r.__c&&(r.__=[n?n(t):Ae(void 0,t),function(e){var t=r.__N?r.__N[0]:r.__[0],n=r.t(t,e);t!==n&&(r.__N=[n,r.__[1]],r.__c.setState({}))}],r.__c=F,!F.__f)){var i=function(e,t,n){if(!r.__c.__H)return!0;var i=r.__c.__H.__.filter(function(e){return!!e.__c});if(i.every(function(e){return!e.__N}))return!a||a.call(this,e,t,n);var o=r.__c.props!==e;return i.forEach(function(e){if(e.__N){var t=e.__[0];e.__=e.__N,e.__N=void 0,t!==e.__[0]&&(o=!0)}}),a&&a.call(this,e,t,n)||o};F.__f=!0;var a=F.shouldComponentUpdate,o=F.componentWillUpdate;F.componentWillUpdate=function(e,t,n){if(this.__e){var r=a;a=void 0,i(e,t,n),a=r}o&&o.call(this,e,t,n)},F.shouldComponentUpdate=i}return r.__N||r.__}function R(e,t){var n=ve(P++,3);!I.__s&&ke(n.__H,t)&&(n.__=e,n.u=t,F.__H.__h.push(n))}function be(e,t){var n=ve(P++,4);!I.__s&&ke(n.__H,t)&&(n.__=e,n.u=t,F.__h.push(n))}function z(e){return ue=5,B(function(){return{current:e}},[])}function xe(e,t,n){ue=6,be(function(){if(typeof e==`function`){var n=e(t());return function(){e(null),n&&typeof n==`function`&&n()}}if(e)return e.current=t(),function(){return e.current=null}},n==null?n:n.concat(e))}function B(e,t){var n=ve(P++,7);return ke(n.__H,t)&&(n.__=e(),n.__H=t,n.__h=e),n.__}function V(e,t){return ue=8,B(function(){return e},t)}function Se(e){var t=F.context[e.__c],n=ve(P++,9);return n.c=e,t?(n.__??(n.__=!0,t.sub(F)),t.props.value):e.__}function Ce(e,t){I.useDebugValue&&I.useDebugValue(t?t(e):e)}function we(){var e=ve(P++,11);if(!e.__){for(var t=F.__v;t!==null&&!t.__m&&t.__!==null;)t=t.__;var n=t.__m||=[0,0];e.__=`P`+n[0]+`-`+ n[1]++}return e.__}function Te(){for(var e;e=de.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(De),e.__H.__h.forEach(Oe),e.__H.__h=[]}catch(t){e.__H.__h=[],I.__e(t,e.__v)}}I.__b=function(e){F=null,fe&&fe(e)},I.__=function(e,t){e&&t.__k&&t.__k.__m&&(e.__m=t.__k.__m),_e&&_e(e,t)},I.__r=function(e){pe&&pe(e),P=0;var t=(F=e.__c).__H;t&&(ce===F?(t.__h=[],F.__h=[],t.__.forEach(function(e){e.__N&&(e.__=e.__N),e.u=e.__N=void 0})):(t.__h.forEach(De),t.__h.forEach(Oe),t.__h=[],P=0)),ce=F},I.diffed=function(e){me&&me(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(de.push(t)!==1&&le===I.requestAnimationFrame||((le=I.requestAnimationFrame)||function(e){var t,n=function(){clearTimeout(r),Ee&&cancelAnimationFrame(t),setTimeout(e)},r=setTimeout(n,100);Ee&&(t=requestAnimationFrame(n))})(Te)),t.__H.__.forEach(function(e){e.u&&(e.__H=e.u),e.u=void 0})),ce=F=null},I.__c=function(e,t){t.some(function(e){try{e.__h.forEach(De),e.__h=e.__h.filter(function(e){return!e.__||Oe(e)})}catch(n){t.some(function(e){e.__h&&=[]}),t=[],I.__e(n,e.__v)}}),he&&he(e,t)},I.unmount=function(e){ge&&ge(e);var t,n=e.__c;n&&n.__H&&(n.__H.__.forEach(function(e){try{De(e)}catch(e){t=e}}),n.__H=void 0,t&&I.__e(t,n.__v))};var Ee=typeof requestAnimationFrame==`function`;function De(e){var t=F,n=e.__c;typeof n==`function`&&(e.__c=void 0,n()),F=t}function Oe(e){var t=F;e.__c=e.__(),F=t}function ke(e,t){return!e||e.length!==t.length||t.some(function(t,n){return t!==e[n]})}function Ae(e,t){return typeof t==`function`?t(e):t}function je(e,t){for(var n in t)e[n]=t[n];return e}function Me(e,t){for(var n in e)if(n!==`__source`&&!(n in t))return!0;for(var r in t)if(r!==`__source`&&e[r]!==t[r])return!0;return!1}function Ne(e,t){var n=t(),r=L({t:{__:n,u:t}}),i=r[0].t,a=r[1];return be(function(){i.__=n,i.u=t,Pe(i)&&a({t:i})},[e,n,t]),R(function(){return Pe(i)&&a({t:i}),e(function(){Pe(i)&&a({t:i})})},[e]),n}function Pe(e){var t=e.u,n=e.__;try{var r=t();return(n!==r||n===0&&1/n!=1/r)&&(n==n||r==r)}catch{return!0}}function Fe(e){e()}function Ie(e){return e}function Le(){return[!1,Fe]}function Re(e,t){this.props=e,this.context=t}function ze(e,t){function n(e){var n=this.props.ref,r=n==e.ref;return!r&&n&&(n.call?n(null):n.current=null),t?!t(this.props,e)||!r:Me(this.props,e)}function r(t){return this.shouldComponentUpdate=n,C(e,t)}return r.displayName=`Memo(`+(e.displayName||e.name)+`)`,r.prototype.isReactComponent=!0,r.__f=!0,r}(Re.prototype=new E).isPureReactComponent=!0,Re.prototype.shouldComponentUpdate=function(e,t){return Me(this.props,e)||Me(this.state,t)};var Be=a.__b;a.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),Be&&Be(e)};var Ve=typeof Symbol<`u`&&Symbol.for&&Symbol.for(`react.forward_ref`)||3911;function He(e){function t(t){var n=je({},t);return delete n.ref,e(n,t.ref||null)}return t.$$typeof=Ve,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName=`ForwardRef(`+(e.displayName||e.name)+`)`,t}var Ue=function(e,t){return e==null?null:j(j(e).map(t))},We=a.__e;a.__e=function(e,t,n,r){if(e.then){for(var i,a=t;a=a.__;)if((i=a.__c)&&i.__c)return t.__e??(t.__e=n.__e,t.__k=n.__k),i.__c(e,t)}We(e,t,n,r)};var Ge=a.unmount;function Ke(){this.__u=0,this.o=null,this.__b=null}function qe(e){var t=e.__.__c;return t&&t.__a&&t.__a(e)}function Je(){this.i=null,this.l=null}a.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),t&&32&e.__u&&(e.type=null),Ge&&Ge(e)},(Ke.prototype=new E).__c=function(e,t){var n=t.__c,r=this;r.o??=[],r.o.push(n);var i=qe(r.__v),a=!1,o=function(){a||(a=!0,n.__R=null,i?i(s):s())};n.__R=o;var s=function(){if(!--r.__u){if(r.state.__a){var e,t=r.state.__a;r.__v.__k[0]=function e(t,n,r){return t&&r&&(t.__v=null,t.__k=t.__k&&t.__k.map(function(t){return e(t,n,r)}),t.__c&&t.__c.__P===n&&(t.__e&&r.appendChild(t.__e),t.__c.__e=!0,t.__c.__P=r)),t}(t,t.__c.__P,t.__c.__O)}for(r.setState({__a:r.__b=null});e=r.o.pop();)e.forceUpdate()}};r.__u++||32&t.__u||r.setState({__a:r.__b=r.__v.__k[0]}),e.then(o,o)},Ke.prototype.componentWillUnmount=function(){this.o=[]},Ke.prototype.render=function(e,t){if(this.__b){if(this.__v.__k){var n=document.createElement(`div`),r=this.__v.__k[0].__c;this.__v.__k[0]=function e(t,n,r){return t&&(t.__c&&t.__c.__H&&(t.__c.__H.__.forEach(function(e){typeof e.__c==`function`&&e.__c()}),t.__c.__H=null),(t=je({},t)).__c!=null&&(t.__c.__P===r&&(t.__c.__P=n),t.__c.__e=!0,t.__c=null),t.__k=t.__k&&t.__k.map(function(t){return e(t,n,r)})),t}(this.__b,n,r.__O=r.__P)}this.__b=null}var i=t.__a&&C(T,null,e.fallback);return i&&(i.__u&=-33),[C(T,null,t.__a?null:e.children),i]};var Ye=function(e,t,n){if(++n[1]===n[0]&&e.l.delete(t),e.props.revealOrder&&(e.props.revealOrder[0]!==`t`||!e.l.size))for(n=e.i;n;){for(;n.length>3;)n.pop()();if(n[1]<n[0])break;e.i=n=n[2]}};function Xe(e){return this.getChildContext=function(){return e.context},e.children}function Ze(e){var t=this,n=e.h;t.componentWillUnmount=function(){N(null,t.v),t.v=null,t.h=null},t.h&&t.h!==n&&t.componentWillUnmount(),t.v||(t.h=n,t.v={nodeType:1,parentNode:n,childNodes:[],contains:function(){return!0},appendChild:function(e){this.childNodes.push(e),t.h.appendChild(e)},insertBefore:function(e,n){this.childNodes.push(e),t.h.insertBefore(e,n)},removeChild:function(e){this.childNodes.splice(this.childNodes.indexOf(e)>>>1,1),t.h.removeChild(e)}}),N(C(Xe,{context:t.context},e.__v),t.v)}function Qe(e,t){var n=C(Ze,{__v:e,h:t});return n.containerInfo=t,n}(Je.prototype=new E).__a=function(e){var t=this,n=qe(t.__v),r=t.l.get(e);return r[0]++,function(i){var a=function(){t.props.revealOrder?(r.push(i),Ye(t,e,r)):i()};n?n(a):a()}},Je.prototype.render=function(e){this.i=null,this.l=new Map;var t=j(e.children);e.revealOrder&&e.revealOrder[0]===`b`&&t.reverse();for(var n=t.length;n--;)this.l.set(t[n],this.i=[1,0,this.i]);return e.children},Je.prototype.componentDidUpdate=Je.prototype.componentDidMount=function(){var e=this;this.l.forEach(function(t,n){Ye(e,n,t)})};var $e=typeof Symbol<`u`&&Symbol.for&&Symbol.for(`react.element`)||60103,et=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image(!S)|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,tt=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,nt=/[A-Z0-9]/g,rt=typeof document<`u`;function it(e,t,n){return t.__k??(t.textContent=``),N(e,t),typeof n==`function`&&n(),e?e.__c:null}function at(e,t,n){return function e(t,n){N(t,n,e)}(e,t),typeof n==`function`&&n(),e?e.__c:null}E.prototype.isReactComponent={},[`componentWillMount`,`componentWillReceiveProps`,`componentWillUpdate`].forEach(function(e){Object.defineProperty(E.prototype,e,{configurable:!0,get:function(){return this[`UNSAFE_`+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})});var ot=a.event;function st(){}function ct(){return this.cancelBubble}function lt(){return this.defaultPrevented}a.event=function(e){return ot&&(e=ot(e)),e.persist=st,e.isPropagationStopped=ct,e.isDefaultPrevented=lt,e.nativeEvent=e};var ut,dt={enumerable:!1,configurable:!0,get:function(){return this.class}},ft=a.vnode;a.vnode=function(e){typeof e.type==`string`&&function(e){var t=e.props,n=e.type,r={},i=n.indexOf(`-`)===-1;for(var a in t){var o=t[a];if(!(a===`value`&&`defaultValue`in t&&o==null||rt&&a===`children`&&n===`noscript`||a===`class`||a===`className`)){var s,c=a.toLowerCase();a===`defaultValue`&&`value`in t&&t.value==null?a=`value`:a===`download`&&!0===o?o=``:c===`translate`&&o===`no`?o=!1:c[0]===`o`&&c[1]===`n`?c===`ondoubleclick`?a=`ondblclick`:c!==`onchange`||n!==`input`&&n!==`textarea`||(s=t.type,(typeof Symbol<`u`&&typeof Symbol()==`symbol`?/fil|che|rad/:/fil|che|ra/).test(s))?c===`onfocus`?a=`onfocusin`:c===`onblur`?a=`onfocusout`:tt.test(a)&&(a=c):c=a=`oninput`:i&&et.test(a)?a=a.replace(nt,`-$&`).toLowerCase():o===null&&(o=void 0),c===`oninput`&&r[a=c]&&(a=`oninputCapture`),r[a]=o}}n==`select`&&r.multiple&&Array.isArray(r.value)&&(r.value=j(t.children).forEach(function(e){e.props.selected=r.value.indexOf(e.props.value)!=-1})),n==`select`&&r.defaultValue!=null&&(r.value=j(t.children).forEach(function(e){e.props.selected=r.multiple?r.defaultValue.indexOf(e.props.value)!=-1:r.defaultValue==e.props.value})),t.class&&!t.className?(r.class=t.class,Object.defineProperty(r,`className`,dt)):(t.className&&!t.class||t.class&&t.className)&&(r.class=r.className=t.className),e.props=r}(e),e.$$typeof=$e,ft&&ft(e)};var pt=a.__r;a.__r=function(e){pt&&pt(e),ut=e.__c};var mt=a.diffed;function ht(e){return!!e&&e.$$typeof===$e}function gt(e){return ht(e)?oe.apply(null,arguments):e}function _t(e){return!!e.__k&&(N(null,e),!0)}a.diffed=function(e){mt&&mt(e);var t=e.props,n=e.__e;n!=null&&e.type===`textarea`&&`value`in t&&t.value!==n.value&&(n.value=t.value==null?``:t.value),ut=null};var H={useState:L,useId:we,useReducer:ye,useEffect:R,useLayoutEffect:be,useInsertionEffect:be,useTransition:Le,useDeferredValue:Ie,useSyncExternalStore:Ne,startTransition:Fe,useRef:z,useImperativeHandle:xe,useMemo:B,useCallback:V,useContext:Se,useDebugValue:Ce,version:`18.3.1`,Children:{map:Ue,forEach:Ue,count:function(e){return e?j(e).length:0},only:function(e){var t=j(e);if(t.length!==1)throw`Children.only`;return t[0]},toArray:j},render:it,hydrate:at,unmountComponentAtNode:_t,createPortal:Qe,createElement:C,createContext:se,createFactory:function(e){return C.bind(null,e)},cloneElement:gt,createRef:function(){return{current:null}},Fragment:T,isValidElement:ht,isElement:ht,isFragment:function(e){return ht(e)&&e.type===T},isMemo:function(e){return!!e&&!!e.displayName&&(typeof e.displayName==`string`||e.displayName instanceof String)&&e.displayName.startsWith(`Memo(`)},findDOMNode:function(e){return e&&(e.base||e.nodeType===1&&e)||null},Component:E,PureComponent:Re,memo:ze,forwardRef:He,flushSync:function(e,t){return e(t)},unstable_batchedUpdates:function(e,t){return e(t)},StrictMode:T,Suspense:Ke,SuspenseList:Je,lazy:function(e){var t,n,r;function i(i){if(t||(t=e()).then(function(e){n=e.default||e},function(e){r=e}),r)throw r;if(!n)throw t;return C(n,i)}return i.displayName=`Lazy`,i.__f=!0,i},__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:{ReactCurrentDispatcher:{current:{readContext:function(e){return ut.__n[e.__c].props.value},useCallback:V,useContext:Se,useDebugValue:Ce,useDeferredValue:Ie,useEffect:R,useId:we,useImperativeHandle:xe,useInsertionEffect:be,useLayoutEffect:be,useMemo:B,useReducer:ye,useRef:z,useState:L,useSyncExternalStore:Ne,useTransition:Le}}}};function vt(e){return{render:function(t){it(t,e)},unmount:function(){_t(e)}}}var yt={},bt=function(){if(r)return yt;r=1,Object.defineProperty(yt,`__esModule`,{value:!0}),yt.styleq=void 0;var e=new WeakMap;function t(t){var n,r,i;return t!=null&&(n=!0===t.disableCache,r=!0===t.disableMix,i=t.transform),function(){for(var t=[],a=``,o=null,s=n?null:e,c=Array(arguments.length),l=0;l<arguments.length;l++)c[l]=arguments[l];for(;c.length>0;){var u=c.pop();if(u!=null&&!1!==u){if(Array.isArray(u)){for(var d=0;d<u.length;d++)c.push(u[d]);continue}var f=i==null?u:i(u);if(f.$$css){var p=``;if(s!=null&&s.has(f)){var m=s.get(f);m!=null&&(p=m[0],t.push.apply(t,m[1]),s=m[2])}else{var h=[];for(var g in f){var _=f[g];g!==`$$css`&&(typeof _==`string`||_===null?t.includes(g)||(t.push(g),s!=null&&h.push(g),typeof _==`string`&&(p+=p?` `+_:_)):console.error(`styleq: ${g} typeof ${String(_)} is not "string" or "null".`))}if(s!=null){var v=new WeakMap;s.set(f,[p,h,v]),s=v}}p&&(a=a?p+` `+a:p)}else if(r)o??={},o=Object.assign({},f,o);else{var y=null;for(var b in f){var x=f[b];x===void 0||t.includes(b)||(x!=null&&(o??={},y??={},y[b]=x),t.push(b),s=null)}y!=null&&(o=Object.assign(y,o))}}}return[a,o]}}var n=t();return yt.styleq=n,n.factory=t,yt}();const xt=e=>Error(`'stylex.${e}' should never be called at runtime. It should be compiled away by '@stylexjs/babel-plugin'`),U=e=>xt(`types.${e}`);function W(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];let[r,i]=bt.styleq(t),a={};return r!=null&&r!==``&&(a.className=r),i!=null&&Object.keys(i).length>0&&(a.style=i),a}function G(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];let[r]=bt.styleq(t);return r}G.props=W,G.attrs=function(){let{className:e,style:t}=W(...arguments),n={};return e!=null&&e!==``&&(n.class=e),t!=null&&Object.keys(t).length>0&&(n.style=Object.keys(t).map(e=>`${e}:${t[e]};`).join(``)),n},G.create=function(e){throw xt(`create`)},G.defineVars=function(e){throw xt(`defineVars`)},G.createTheme=(e,t)=>{throw xt(`createTheme`)},G.include=e=>{throw xt(`include`)},G.keyframes=e=>{throw xt(`keyframes`)},G.firstThatWorks=function(){throw xt(`firstThatWorks`)},G.types={angle:e=>{throw U(`angle`)},color:e=>{throw U(`color`)},url:e=>{throw U(`url`)},image:e=>{throw U(`image`)},integer:e=>{throw U(`integer`)},lengthPercentage:e=>{throw U(`lengthPercentage`)},length:e=>{throw U(`length`)},percentage:e=>{throw U(`percentage`)},number:e=>{throw U(`number`)},resolution:e=>{throw U(`resolution`)},time:e=>{throw U(`time`)},transformFunction:e=>{throw U(`transformFunction`)},transformList:e=>{throw U(`transformList`)}};const St=ze(e=>{let{contexts:t,children:n}=e;return t.reduceRight((e,t)=>gt(t,{children:e}),n)});var Ct=0;function K(e,t,n,r,i,o){t||={};var s,c,l=t;if(`ref`in l)for(c in l={},t)c==`ref`?s=t[c]:l[c]=t[c];var u={type:e,props:l,key:n,ref:s,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:--Ct,__i:-1,__u:0,__source:i,__self:o};if(typeof e==`function`&&(s=e.defaultProps))for(c in s)l[c]===void 0&&(l[c]=s[c]);return a.vnode&&a.vnode(u),u}var wt=e=>K(`svg`,{viewBox:`0 0 256 256`,width:`1.2em`,height:`1.2em`,...e,children:K(`g`,{fill:`currentColor`,children:[K(`path`,{d:`M208 88h-56V32Z`,opacity:.2}),K(`path`,{d:`m213.66 82.34l-56-56A8 8 0 0 0 152 24H56a16 16 0 0 0-16 16v176a16 16 0 0 0 16 16h144a16 16 0 0 0 16-16V88a8 8 0 0 0-2.34-5.66M160 51.31L188.69 80H160ZM200 216H56V40h88v48a8 8 0 0 0 8 8h48z`})]})});const Tt=()=>{};function Et(e){let t=se(e),n=se(Tt);return[r=>{let{children:i}=r,[a,o]=L(e);return K(t.Provider,{value:a,children:K(n.Provider,{value:o,children:i})})},()=>Se(t),()=>Se(n),t]}const[Dt,Ot,kt]=Et({drawerVisibile:!1}),At=Math.PI/180,jt={a:1,b:0,c:0,d:1,e:0,f:0};var Mt=class{constructor(e={}){g.defineProperty(this,`a`,void 0),g.defineProperty(this,`b`,void 0),g.defineProperty(this,`c`,void 0),g.defineProperty(this,`d`,void 0),g.defineProperty(this,`e`,void 0),g.defineProperty(this,`f`,void 0),this.a=e.a||1,this.b=e.b||0,this.c=e.c||0,this.d=e.d||1,this.e=e.e||0,this.f=e.f||0}create(e){return Object.assign(this,e),this}transform(e,t,n,r,i,a,o){return this.scale(n,r).translation(e,t),a||o?this.skew(a,o):this.roate(i),this}translation(e,t){return this.e+=e,this.f+=t,this}scale(e,t){return this.a*=e,this.d*=t,this}skew(e,t){let n=Math.tan(e*At),r=Math.tan(t*At),i=this.a+this.b*n,a=this.b+this.a*r,o=this.c+this.d*n,s=this.d+this.c*r;return this.a=i,this.b=a,this.c=o,this.d=s,this}roate(e){if(e>0){let t=e*At,n=Math.cos(t),r=Math.sin(t),i=this.a*n-this.b*r,a=this.a*r+this.b*n,o=this.c*n-this.d*r,s=this.c*r+this.d*n;this.a=i,this.b=a,this.c=o,this.d=s}return this}};const Nt={id:0,get(){return this.id++}};var Pt=((e={}).Graph=`Graph`,e.Box=`Box`,e.Text=`Text`,e.RoundRect=`RoundRect`,e),Ft=class{constructor(){g.defineProperty(this,`parent`,void 0),g.defineProperty(this,`id`,void 0),g.defineProperty(this,`matrix`,void 0),this.parent=null,this.id=Nt.get(),this.matrix=new Mt}destory(){}};const It=63;var Lt=class extends Ft{constructor(e={}){super(),g.defineProperty(this,`width`,void 0),g.defineProperty(this,`height`,void 0),g.defineProperty(this,`x`,void 0),g.defineProperty(this,`y`,void 0),g.defineProperty(this,`scaleX`,void 0),g.defineProperty(this,`scaleY`,void 0),g.defineProperty(this,`rotation`,void 0),g.defineProperty(this,`skewX`,void 0),g.defineProperty(this,`skewY`,void 0),this.width=e.width||0,this.height=e.height||0,this.x=e.x||0,this.y=e.y||0,this.scaleX=e.scaleX||1,this.scaleY=e.scaleY||1,this.rotation=e.rotation||0,this.skewX=e.skewX||0,this.skewY=e.skewY||0}},Rt=class extends Lt{constructor(e={}){super(e),g.defineProperty(this,`instruction`,void 0),g.defineProperty(this,`__options__`,void 0),this.instruction={mods:[],fillStyle(...e){this.mods.push({mod:[`fillStyle`,e],type:1})},fillRect(...e){this.mods.push({mod:[`fillRect`,e],type:0})},strokeStyle(...e){this.mods.push({mod:[`strokeStyle`,e],type:2})},lineWidth(...e){this.mods.push({mod:[`lineWidth`,e],type:8})},strokeRect(...e){this.mods.push({mod:[`strokeRect`,e],type:0})},fillText(...e){this.mods.push({mod:[`fillText`,e],type:0})},font(...e){this.mods.push({mod:[`font`,e],type:4})},textBaseline(...e){this.mods.push({mod:[`textBaseline`,e],type:32})},textAlign(...e){this.mods.push({mod:[`textAlign`,e],type:16})},beginPath(){this.mods.push({mod:[`beginPath`,[]],type:0})},moveTo(...e){this.mods.push({mod:[`moveTo`,e],type:0})},arcTo(...e){this.mods.push({mod:[`arcTo`,e],type:0})},closePath(){this.mods.push({mod:[`closePath`,[]],type:0})},fill(){this.mods.push({mod:[`fill`,[]],type:0})},stroke(){this.mods.push({mod:[`stroke`,[]],type:0})},drawImage(...e){this.mods.push({mod:[`drawImage`,e],type:0})}},this.__options__=e}render(e){this.create();let t=this.instruction.mods.length;for(let n=0;n<t;n++){let{mod:t,type:r}=this.instruction.mods[n],[i,...a]=t;if(r&It){e[i]=a[0];continue}e[i].apply(e,...a)}}get __instanceOf__(){return`Graph`}};const zt={isGraph:function(e){return e.__instanceOf__===Pt.Graph},isBox:function(e){return e.__instanceOf__===Pt.Box}};var Bt=class extends Ft{constructor(){super(),g.defineProperty(this,`elements`,void 0),this.elements=[]}add(...e){let t=e.length;for(let n=0;n<t;n++){let t=e[n];t.parent,this.elements.push(t),t.parent=this}}remove(...e){let t=e.length;for(let n=0;n<t;n++)for(let t=this.elements.length-1;t>=0;t--){let r=this.elements[t];r.id===e[n].id&&(this.elements.splice(t,1),r.parent=null)}}destory(){this.elements.forEach(e=>e.parent=null),this.elements.length=0}},Vt=class e extends Bt{constructor(){super(),g.defineProperty(this,`elements`,void 0),this.elements=[]}add(...e){let t=e.length;for(let n=0;n<t;n++){let t=e[n];t.parent,this.elements.push(t),t.parent=this}}remove(...e){let t=e.length;for(let n=0;n<t;n++)for(let t=this.elements.length-1;t>=0;t--){let r=this.elements[t];r.id===e[n].id&&(this.elements.splice(t,1),r.parent=null)}}destory(){this.elements.forEach(e=>e.parent=null),this.elements.length=0}get __instanceOf__(){return Pt.Box}clone(){let t=new e;if(this.elements.length){let n=[{elements:this.elements,parent:t}];for(;n.length>0;){let{elements:t,parent:r}=n.pop(),i=t.length;for(let a=0;a<i;a++){let i=t[a];if(zt.isBox(i)){let t=new e;t.parent=r,r.add(t),n.push({elements:i.elements,parent:t})}else if(zt.isGraph(i)){let e=i.clone();e.parent=r,r.add(e)}}}}return t}};const Ht={evaluateFillStyle:function(e,t=1){var n;return(n={mode:e.mode,desc:{...e.desc,a:t}}).mode===`rgb`?function(e){let{r:t,g:n,b:r,a:i}=e;return`a`in e?`rgba(${t}, ${n}, ${r}, ${i})`:`rgb(${t}, ${n}, ${r})`}(n.desc):function(e){let{h:t,l:n,s:r,a:i}=e;return`a`in e?`hsla(${t}deg, ${r}%, ${n}%, ${i})`:`hsl(${t}deg, ${r}%, ${n}%)`}(n.desc)}};var Ut=class e extends Rt{constructor(e={}){super(e),g.defineProperty(this,`style`,void 0),this.style=e.style||Object.create(null)}get __shape__(){return Pt.RoundRect}create(){let e=this.style.padding,t=this.width-2*e,n=this.height-2*e,r=this.style.radius||0;this.instruction.beginPath(),this.instruction.moveTo(0+r,0),this.instruction.arcTo(0+t,0,0+t,0+n,r),this.instruction.arcTo(0+t,0+n,0,0+n,r),this.instruction.arcTo(0,0+n,0,0,r),this.instruction.arcTo(0,0,0+t,0,r),this.instruction.closePath(),this.style.fill&&(this.instruction.closePath(),this.instruction.fillStyle(Ht.evaluateFillStyle(this.style.fill,this.style.opacity)),this.instruction.fill()),this.style.stroke&&(typeof this.style.lineWidth==`number`&&this.instruction.lineWidth(this.style.lineWidth),this.instruction.strokeStyle(this.style.stroke),this.instruction.stroke())}clone(){return new e({...this.style,...this.__options__})}},Wt=class e extends Rt{constructor(e={}){super(e),g.defineProperty(this,`text`,void 0),g.defineProperty(this,`style`,void 0),this.text=e.text||``,this.style=e.style||Object.create(null)}create(){this.style.fill&&(this.instruction.font(this.style.font),this.instruction.lineWidth(this.style.lineWidth),this.instruction.textBaseline(this.style.baseline),this.instruction.textAlign(this.style.textAlign),this.instruction.fillStyle(this.style.fill),this.instruction.fillText(this.text,0,0))}clone(){return new e({...this.style,...this.__options__})}get __shape__(){return Pt.Text}},Gt=class{constructor(){g.defineProperty(this,`eventCollections`,void 0),this.eventCollections=Object.create(null)}on(e,t,n){e in this.eventCollections||(this.eventCollections[e]=[]),this.eventCollections[e].push({name:e,handler:t,ctx:n||this,silent:!1})}off(e,t){if(e in this.eventCollections){if(!t){this.eventCollections[e]=[];return}this.eventCollections[e]=this.eventCollections[e].filter(e=>e.handler!==t)}}silent(e,t){e in this.eventCollections&&this.eventCollections[e].forEach(e=>{t&&e.handler!==t||(e.silent=!0)})}active(e,t){e in this.eventCollections&&this.eventCollections[e].forEach(e=>{t&&e.handler!==t||(e.silent=!1)})}emit(e,...t){if(!this.eventCollections[e])return;let n=this.eventCollections[e];n.length&&n.forEach(e=>{e.silent||e.handler.call(e.ctx,...t)})}bindWithContext(e){return(t,n)=>this.on(t,n,e)}};function Kt(e){return typeof e==`number`||e.charCodeAt(0)>=48&&57>=e.charCodeAt(0)}function qt(e,t,n,r,i){return new Ut({width:n,height:r,x:e,y:t,style:{...i}})}const Jt=window.requestAnimationFrame;function Yt(e,t,n){e.setTransform(t.a*n,t.b*n,t.c*n,t.d*n,t.e*n,t.f*n)}function Xt(e,t){return t.forEach(({name:t,fn:n})=>{Object.defineProperty(e,t,{value:n(e),writable:!1,enumerable:!0})}),e}function Zt(e,t,n,r){e.x=e.x*r+t,e.y=e.y*r+n,e.scaleX=r,e.scaleY=r}function Qt(e,t,n,r){(function e(t,n){let r=t.length;for(let i=0;i<r;i++){let r=t[i];zt.isGraph(r)?n(r):zt.isBox(r)&&e(r.elements,n)}})(e,e=>Zt(e,t,n,r))}function $t(e,t){let n=function(){let e={animationFrameID:null};return{run:t=>{let n=()=>{t()||(e.animationFrameID=Jt(n))};e.animationFrameID||=Jt(n)},stop:()=>{e.animationFrameID&&(window.cancelAnimationFrame(e.animationFrameID),e.animationFrameID=null)}}}(),r=Date.now(),i=e=>Array.isArray(t.deps)?t.deps.some(e=>e()):e>=1;n.run(()=>{let a=Math.min((Date.now()-r)/t.duration,1);return i(a)?(n.stop(),t.onStop&&t.onStop(),!0):e(a,n.stop)})}var en=class extends Map{constructor(e,t){super(t),g.defineProperty(this,`defaultFactory`,void 0),this.defaultFactory=e}get(e){return super.has(e)?super.get(e):this.defaultFactory()}getOrInsert(e,t){if(!super.has(e)){let n=t||this.defaultFactory();return super.set(e,n),n}return super.get(e)}};const tn=e=>({error:t=>console.error(`[${e}] ${t}`),panic:t=>{throw Error(`[${e}] ${t}`)}}),nn=tn(`etoile`);var rn=class{constructor(e){g.defineProperty(this,`canvas`,void 0),g.defineProperty(this,`ctx`,void 0),this.canvas=document.createElement(`canvas`),this.setOptions(e),this.ctx=this.canvas.getContext(`2d`)}setOptions(e){var t,n,r,i;t=this.canvas,n=e.width,r=e.height,t.width=n*(i=e.devicePixelRatio),t.height=r*i,t.style.cssText=`width: ${n}px; height: ${r}px`}},an=class{constructor(e,t){g.defineProperty(this,`options`,void 0),g.defineProperty(this,`container`,void 0),this.container=new rn(t),this.options=t,this.initOptions(t),t.shaow||e.appendChild(this.container.canvas)}clear(e,t){this.ctx.clearRect(0,0,e,t)}get canvas(){return this.container.canvas}get ctx(){return this.container.ctx}initOptions(e={}){Object.assign(this.options,e),this.container.setOptions(this.options)}destory(){}},on=class extends Vt{constructor(e,t={}){super(),g.defineProperty(this,`render`,void 0),g.defineProperty(this,`to`,void 0),g.defineProperty(this,`event`,void 0),this.to=typeof e==`string`?document.querySelector(e):e,this.to||nn.panic(`The element to bind is not found.`);let{width:n,height:r}=this.to.getBoundingClientRect();Object.assign(t,{width:n,height:r},{devicePixelRatio:window.devicePixelRatio||1}),this.event=new Gt,this.render=new an(this.to,t)}update(){this.render.clear(this.render.options.width,this.render.options.height),this.execute(this.render,this);let e=this.matrix.create({a:1,b:0,c:0,d:1,e:0,f:0});Yt(this.render.ctx,e,this.render.options.devicePixelRatio)}execute(e,t=this){(function e(t,n){let{ctx:r,dpr:i}=n;if(r.save(),zt.isBox(t)){let r=t.elements,i=r.length;for(let t=0;t<i;t++)e(r[t],n)}if(zt.isGraph(t)){let e=t.matrix.create({a:1,b:0,c:0,d:1,e:0,f:0});e.transform(t.x,t.y,t.scaleX,t.scaleY,t.rotation,t.skewX,t.skewY),Yt(r,e,i),t.render(r)}r.restore()})(t,{c:e.canvas,ctx:e.ctx,dpr:e.options.devicePixelRatio})}};function sn(e,...t){return e.sort((e,n)=>{for(let r of t){let t=e[r],i=n[r];if(Kt(t)&&Kt(i)){if(i>t)return 1;if(i<t)return-1;continue}let a=(``+t).localeCompare(``+i);if(a!==0)return a}return 0})}function cn(e){let t=[];for(let n=0;n<e.length;n++){let{groups:r,...i}=e[n];t.push(i),r&&t.push(...cn(r))}return t}function ln(e,t){if(!e)return null;for(let n of e){if(n.children){let e=ln(n.children,t);if(e)return e}if(t(n))return n}return null}var un=class{constructor(e){g.defineProperty(this,`plugins`,new Map),g.defineProperty(this,`pluginContext`,void 0),this.pluginContext={resolveModuleById:t=>ln(e.layoutNodes,e=>{if(e.node.id===t)return!0}),getPluginMetadata:e=>this.getPluginMetadata(e),get instance(){return e}}}use(e){if(!e.name)return void dn.error(`Plugin name is required`);this.plugins.has(e.name)&&dn.panic(`Plugin ${e.name} is already registered`),this.plugins.set(e.name,e)}runHook(e,...t){this.plugins.forEach(n=>{let r=n[e];r&&r.apply(this.pluginContext,t)})}cascadeHook(e,...t){let n={};return this.plugins.forEach(r=>{let i=r[e];if(i){let e=i.call(this.pluginContext,...t);e&&Object.assign(n,e)}}),n}getPluginMetadata(e){let t=this.plugins.get(e);return t?.meta||null}};const dn=tn(`Treemap`),fn={mode:`rgb`,desc:{r:0,g:0,b:0}},pn={min:30,max:60},mn={max:70,min:12};var hn=class extends on{constructor(e,...t){super(...t),g.defineProperty(this,`pluginDriver`,void 0),g.defineProperty(this,`data`,void 0),g.defineProperty(this,`colorMappings`,void 0),g.defineProperty(this,`rectLayer`,void 0),g.defineProperty(this,`textLayer`,void 0),g.defineProperty(this,`layoutNodes`,void 0),g.defineProperty(this,`config`,void 0),g.defineProperty(this,`caches`,void 0),this.data=[],this.config=e,this.colorMappings={},this.pluginDriver=new un(this),this.rectLayer=new Vt,this.textLayer=new Vt,this.caches=new en(()=>14),this.layoutNodes=[]}clearFontCacheInAABB(e){for(let t of this.getModulesInAABB(this.layoutNodes,e))this.caches.delete(t.node.id)}getModulesInAABB(e,t){let n=[];for(let r of e){let[e,i,a,o]=r.layout,s={x:e,y:i,width:a,height:o};this.isAABBIntersecting(s,t)&&(n.push(r),r.children&&r.children.length>0&&n.push(...this.getModulesInAABB(r.children,t)))}return n}getViewportAABB(e,t){let{width:n,height:r}=this.render.options;return{x:-e,y:-t,width:n,height:r}}getAABBUnion(e,t){let n=Math.min(e.x,t.x),r=Math.min(e.y,t.y);return{x:n,y:r,width:Math.max(e.x+e.width,t.x+t.width)-n,height:Math.max(e.y+e.height,t.y+t.height)-r}}handleTransformCacheInvalidation(e,t){let n=this.getViewportAABB(e.e,e.f),r=this.getViewportAABB(t.e,t.f),i=this.getAABBUnion(n,r);this.clearFontCacheInAABB(i)}isAABBIntersecting(e,t){return!(e.x+e.width<t.x||t.x+t.width<e.x||e.y+e.height<t.y||t.y+t.height<e.y)}drawBroundRect(e){let[t,n,r,i]=e.layout,{rectRadius:a}=e.config,o=Math.min(a,r/4,i/4),s=qt(t,n,r,i,{fill:this.colorMappings[e.node.id]||fn,padding:0,radius:o});for(let t of(this.rectLayer.add(s),e.children))this.drawBroundRect(t)}drawText(e){var t,n,r;if(!e.node.label&&!e.node.isCombinedNode)return;let[i,a,o,s]=e.layout,{titleAreaHeight:c}=e.config,l=e.node.isCombinedNode?`+ ${e.node.originalNodeCount} Modules`:e.node.label,u=e.children&&e.children.length>0?c-8:s-8,d=o-8;if(d<=0||u<=0)return;let f={fontSize:(t=this.config.font)?.fontSize||mn,family:(n=this.config.font)?.family||`sans-serif`,color:(r=this.config.font)?.color||`#000`},p=this.caches.getOrInsert(e.node.id,function(e,t,n,r,i){r=Math.floor(r),i=Math.floor(i);let{fontSize:a,family:o}=n,s=a.min,c=a.max;for(;c-s>=1;){let n=s+(c-s)/2;e.font=`${n}px ${o}`;let a=e.measureText(t).width,l=e.measureText(t),u=l.actualBoundingBoxAscent+l.actualBoundingBoxDescent;a<=r&&u<=i?s=n:c=n}return Math.floor(s)}(this.render.ctx,l,f,d,u)),m=`${p}px ${f.family}`;this.render.ctx.font=m;let h=function(e,t,n,r){let i=e.measureText(t).width,a=e.measureText(t);if(a.actualBoundingBoxAscent+a.actualBoundingBoxDescent>r)return{valid:!1,text:``,direction:`horizontal`,width:0};if(i<=n)return{valid:!0,text:t,direction:`horizontal`,width:i};let o=e.measureText(`...`).width;if(n<=o)return{valid:!1,text:``,direction:`horizontal`,width:0};let s=0,c=t.length,l=``;for(;s<=c;){let r=Math.floor((s+c)/2),i=t.substring(0,r);e.measureText(i).width+o<=n?(l=i,s=r+1):c=r-1}return l.length>0?{valid:!0,text:l+`...`,direction:`horizontal`,width:n}:{valid:!0,text:`...`,direction:`horizontal`,width:o}}(this.render.ctx,l,d,u);if(!h.valid)return;let{text:g}=h,_=i+Math.round(o/2),v=a+(e.children&&e.children.length>0?Math.round(c/2):Math.round(s/2)),y=new Wt({text:g,x:_,y:v,style:{fill:f.color,textAlign:`center`,baseline:`middle`,font:m,lineWidth:1}});for(let t of(this.textLayer.add(y),e.children))this.drawText(t)}draw(e=!0,t=!0){let{width:n,height:r}=this.render.options;if(t&&(this.layoutNodes=this.calculateLayoutNodes(this.data,{w:n,h:r,x:0,y:0})),e){let e=this.pluginDriver.cascadeHook(`onModuleInit`,this.layoutNodes);e&&(this.colorMappings=e.colorMappings||{})}for(let e of this.layoutNodes)this.drawBroundRect(e);for(let e of this.layoutNodes)this.drawText(e);this.add(this.rectLayer,this.textLayer),t&&this.update()}cleanup(){this.remove(this.rectLayer,this.textLayer),this.rectLayer.destory(),this.textLayer.destory()}calculateLayoutNodes(e,t,n=1){var r,i,a,o;let s={titleAreaHeight:(r=this.config.layout)?.titleAreaHeight??pn,rectRadius:(i=this.config.layout)?.rectRadius??4,rectGap:(a=this.config.layout)?.rectGap??4},c=function e(t,n,r,i=1){let a=[];if(!t.length)return a;let o=n.w*n.h,s=Math.max(.5,Math.min(1,Math.min(n.w,n.h)/800)),c=Math.max(8,20/Math.sqrt(i)),l=r.rectGap*s,u=r.rectRadius*s,d=function(e,t,n,r){if(!e||!e.length)return[];let i=e.reduce((e,t)=>e+t.weight,0);if(i<=0)return[];let a=[],o=[];if(e.forEach(e=>{let s=e.weight/i*t;Math.sqrt(s)<n||s<r?o.push({...e}):a.push({...e})}),o.length>0){let e=o.reduce((e,t)=>e+t.weight,0);if(e>0&&e/i*t>=r){let t={id:`combined-node-${Math.abs(function(e){let t=0;for(let n=0;n<e.length;n++)t=(t<<5)-t+e.charCodeAt(n),t&=t;return t}(o.map(e=>e.id).sort().join(`-`)))+`-`+e}`,weight:e,isCombinedNode:!0,originalNodeCount:o.length,parent:null,groups:[],originalNodes:o};a.push(t)}}return a}(t,o,c,c*c);if(!d.length)return a;let f=n;l>0&&(f={x:n.x+l/2,y:n.y+l/2,w:Math.max(0,n.w-l),h:Math.max(0,n.h-l)});let p=(e,t,n,r,i)=>Math.max(n*n*(d[e].weight*i)/(r*r),r*r/(n*n*(d[t].weight*i)));return((t,n,o=0)=>{let s=Math.max(.4,1-.15*o),c=l*s,f=u*s;for(;t<d.length;){let o=0;for(let e=t;e<d.length;e++)o+=d[e].weight;let s=Math.min(n.w,n.h),l=n.w*n.h/o,u=t,m=0,h=0;for(;u<d.length;){let e=d[u].weight*l||0,n=p(t,u,s,m+e,l);if(u>t&&h<n)break;m+=e,h=n,u++}let g=Math.round(m/s),_=0,v=n.w>=n.h;for(let o=t;o<u;o++){let p,h,y,b,x=o===t,S=o===u-1,C=d[o],w=C.weight*l,T=Math.round(s*_/m),E=Math.round(s*(_+w)/m);if(v?(p=n.x,h=n.y+T,y=g,b=E-T):(p=n.x+T,h=n.y,y=E-T,b=g),c>0){let e=c/2;x||(v?(h+=e,b=Math.max(0,b-e)):(p+=e,y=Math.max(0,y-e))),S||(v?b=Math.max(0,b-e):y=Math.max(0,y-e))}let D=function(e){let t=0;for(;e.parent;)e=e.parent,t++;return t}(C)||1,{titleAreaHeight:O}=r,k=O.max/D,A=k<O.min?O.min:k;y=Math.max(1,y),b=Math.max(1,b);let j=[];if(C.groups&&C.groups.length>0){let t=c>0?c:0,n={x:p+t,y:h+A,w:Math.max(0,y-2*t),h:Math.max(0,b-A-t)},a=f>0?2*f:1;n.w>=a&&n.h>=a&&(j=e(C.groups||[],n,{...r,rectGap:c,rectRadius:f},i))}a.push({layout:[p,h,y,b],node:C,children:j,config:{titleAreaHeight:A,rectGap:c,rectRadius:f}}),_+=w}t=u;let y=c>0?c:0;v?(n.x+=g+y,n.w=Math.max(0,n.w-g-y)):(n.y+=g+y,n.h=Math.max(0,n.h-g-y))}})(0,f),a}(e,t,s,n),l=this.pluginDriver.cascadeHook(`onLayoutCalculated`,c,t,s);return l&&(o=l.layoutNodes)?.length?l.layoutNodes:c}};const gn=[`click`,`mousedown`,`mousemove`,`mouseup`,`mouseover`,`mouseout`,`wheel`,`contextmenu`],_n=`IDLE`;var vn=class{constructor(){g.defineProperty(this,`current`,void 0),this.current=_n}canTransition(e){switch(this.current){case`IDLE`:return e===`PRESSED`||e===`MOVE`||e===`SCALING`||e===`ZOOMING`||e===`PANNING`;case`PRESSED`:return e===`DRAGGING`||e===`IDLE`;case`DRAGGING`:case`SCALING`:case`ZOOMING`:case`PANNING`:return e===`IDLE`;case`MOVE`:return e===`PRESSED`||e===`IDLE`;default:return!1}}transition(e){let t=this.canTransition(e);return t&&(this.current=e),t}reset(){this.current=_n}isInState(e){return this.current===e}},yn=class extends Gt{constructor(e){super(),g.defineProperty(this,`domEvents`,void 0),g.defineProperty(this,`el`,void 0),g.defineProperty(this,`currentModule`,void 0),g.defineProperty(this,`component`,void 0),g.defineProperty(this,`matrix`,void 0),g.defineProperty(this,`stateManager`,void 0),this.component=e,this.el=e.render.canvas,this.matrix=new Mt,this.currentModule=null,this.stateManager=new vn,this.domEvents=gn.map(e=>function(e,t,n){let r=e=>{let r={native:e};Object.defineProperty(r,`kind`,{value:t,enumerable:!0,configurable:!1,writable:!1}),n.emit(t,r)};return e.addEventListener(t,r),{evt:t,handler:r}}(this.el,e,this)),gn.forEach(e=>{this.on(e,t=>{this.dispatch(e,t)})})}destory(){if(this.el){for(let e in this.domEvents.forEach(({evt:e,handler:t})=>{var n;return(n=this.el)?.removeEventListener(e,t)}),this.domEvents=[],this.eventCollections)this.off(e);this.matrix.create(jt)}}dispatch(e,t){let n=this.findRelativeNode(t);this.component.pluginDriver.runHook(`onDOMEventTriggered`,e,t,n,this),this.emit(`__exposed__`,e,{native:t.native,module:n})}findRelativeNode(e){var t;return t=function(e,t,n,r,i,a){let o=e.getBoundingClientRect();if(t instanceof MouseEvent){let[n,r]=function(e){let t=0,n=0;if(document.documentElement.getBoundingClientRect&&e.getBoundingClientRect){let{top:r,left:i}=e.getBoundingClientRect();t=r,n=i}else for(let r=e;r;r=e.offsetParent)t+=e.offsetLeft,n+=e.offsetTop;return[t+Math.max(document.documentElement.scrollLeft,document.body.scrollLeft),n+Math.max(document.documentElement.scrollTop,document.body.scrollTop)]}(e);return{x:(t.clientX-o.left-n-i)/1,y:(t.clientY-o.top-r-a)/1}}return{x:0,y:0}}(this.el,e.native,0,0,this.matrix.e,this.matrix.f),ln(this.component.layoutNodes,e=>{let[n,r,i,a]=e.layout;if(t.x>=n&&t.y>=r&&t.x<n+i&&t.y<r+a)return!0})}},bn=e=>K(`svg`,{viewBox:`0 0 256 256`,width:`1.2em`,height:`1.2em`,...e,children:K(`path`,{fill:`currentColor`,d:`M224 128a8 8 0 0 1-8 8H40a8 8 0 0 1 0-16h176a8 8 0 0 1 8 8M40 72h176a8 8 0 0 0 0-16H40a8 8 0 0 0 0 16m176 112H40a8 8 0 0 0 0 16h176a8 8 0 0 0 0-16`})});const[xn,Sn,Cn]=Et({sizes:{stat:`parsedSize`,gzip:`gzipSize`,brotli:`brotliSize`}[window.defaultSizes],analyzeModule:window.analyzeModule,scence:new Set,ui:{Main:null,SideBar:null},updateScence:Tt});function wn(){let e=Cn();return V(t=>e(e=>({...e,sizes:t})),[e])}const Tn=se({treemap:{current:null}}),En=Tn.Provider,Dn=()=>Se(Tn);function On(e){let t=[`Bytes`,`KB`,`MB`,`GB`,`TB`];if(!e)return`0 `+t[0];let n=parseInt(`${Math.floor(Math.log(e)/Math.log(1024))}`);return(e/(1<<10*n)).toFixed(2)+` `+t[n]}function kn(e,t){return new CustomEvent(e,{detail:t})}const An=!0===window.CUSTOM_SIDE_BAR;function q(){for(var e,t,n=0,r=``,i=arguments.length;n<i;n++)(e=arguments[n])&&(t=function e(t){var n,r,i=``;if(typeof t==`string`||typeof t==`number`)i+=t;else if(typeof t==`object`)if(Array.isArray(t)){var a=t.length;for(n=0;n<a;n++)t[n]&&(r=e(t[n]))&&(i&&(i+=` `),i+=r)}else for(r in t)t[r]&&(i&&(i+=` `),i+=r);return i}(e))&&(r&&(r+=` `),r+=t);return r}const jn={scrollLayer:!1,delayReset:0},Mn=new Map,Nn=e=>Number.parseInt(((e?.ownerDocument||document).defaultView||window).getComputedStyle(e).paddingRight,10)||0,Pn=e=>{let t=e?.ownerDocument||document;return Math.abs(window.innerWidth-t.documentElement.clientWidth)};function Fn(e){let t=z(document.body),[n,r]=L(!1);return R(()=>{let r={...jn,...e||{}};if(!t||!t.current)return;let i=t.current.style.overflow;if(n){if(Mn.has(t.current))return;let e=Nn(t.current),n=Pn(t.current);Mn.set(t.current,{overflow:i,paddingRight:t.current.style.paddingRight}),t.current.style.overflow=`hidden`,t.current.style.paddingRight=`${e+n}px`;return}if(!Mn.has(t.current))return;let a=e=>{let t=Mn.get(e);t&&(e.style.overflow=t.overflow,e.style.paddingRight=t.paddingRight,Mn.delete(e))},o=window.setTimeout(()=>{a(t.current),window.clearTimeout(o)},r.delayReset)},[n,e]),[n,r]}const In=function(e,t){R(()=>{let t=new AbortController,n=e(t.signal);return()=>{t.abort(),n?.()}},t)},Ln={attributes:!1,childList:!0,subtree:!0};function Rn(){return/Mac OS X/.test(navigator.userAgent)}let zn=((t={})[t.Unknown=0]=`Unknown`,t[t.Backspace=8]=`Backspace`,t[t.Tab=9]=`Tab`,t[t.Enter=13]=`Enter`,t[t.Shift=16]=`Shift`,t[t.Ctrl=17]=`Ctrl`,t[t.Alt=18]=`Alt`,t[t.PauseBreak=19]=`PauseBreak`,t[t.CapsLock=20]=`CapsLock`,t[t.Escape=27]=`Escape`,t[t.Space=32]=`Space`,t[t.PageUp=33]=`PageUp`,t[t.PageDown=34]=`PageDown`,t[t.End=35]=`End`,t[t.Home=36]=`Home`,t[t.LeftArrow=37]=`LeftArrow`,t[t.UpArrow=38]=`UpArrow`,t[t.RightArrow=39]=`RightArrow`,t[t.DownArrow=40]=`DownArrow`,t[t.Insert=45]=`Insert`,t[t.Delete=46]=`Delete`,t[t.KEY_0=48]=`KEY_0`,t[t.KEY_1=49]=`KEY_1`,t[t.KEY_2=50]=`KEY_2`,t[t.KEY_3=51]=`KEY_3`,t[t.KEY_4=52]=`KEY_4`,t[t.KEY_5=53]=`KEY_5`,t[t.KEY_6=54]=`KEY_6`,t[t.KEY_7=55]=`KEY_7`,t[t.KEY_8=56]=`KEY_8`,t[t.KEY_9=57]=`KEY_9`,t[t.KEY_A=65]=`KEY_A`,t[t.KEY_B=66]=`KEY_B`,t[t.KEY_C=67]=`KEY_C`,t[t.KEY_D=68]=`KEY_D`,t[t.KEY_E=69]=`KEY_E`,t[t.KEY_F=70]=`KEY_F`,t[t.KEY_G=71]=`KEY_G`,t[t.KEY_H=72]=`KEY_H`,t[t.KEY_I=73]=`KEY_I`,t[t.KEY_J=74]=`KEY_J`,t[t.KEY_K=75]=`KEY_K`,t[t.KEY_L=76]=`KEY_L`,t[t.KEY_M=77]=`KEY_M`,t[t.KEY_N=78]=`KEY_N`,t[t.KEY_O=79]=`KEY_O`,t[t.KEY_P=80]=`KEY_P`,t[t.KEY_Q=81]=`KEY_Q`,t[t.KEY_R=82]=`KEY_R`,t[t.KEY_S=83]=`KEY_S`,t[t.KEY_T=84]=`KEY_T`,t[t.KEY_U=85]=`KEY_U`,t[t.KEY_V=86]=`KEY_V`,t[t.KEY_W=87]=`KEY_W`,t[t.KEY_X=88]=`KEY_X`,t[t.KEY_Y=89]=`KEY_Y`,t[t.KEY_Z=90]=`KEY_Z`,t[t.Meta=91]=`Meta`,t[t.F1=112]=`F1`,t[t.F2=113]=`F2`,t[t.F3=114]=`F3`,t[t.F4=115]=`F4`,t[t.F5=116]=`F5`,t[t.F6=117]=`F6`,t[t.F7=118]=`F7`,t[t.F8=119]=`F8`,t[t.F9=120]=`F9`,t[t.F10=121]=`F10`,t[t.F11=122]=`F11`,t[t.F12=123]=`F12`,t[t.NumLock=144]=`NumLock`,t[t.ScrollLock=145]=`ScrollLock`,t[t.Equal=187]=`Equal`,t[t.Minus=189]=`Minus`,t[t.Backquote=192]=`Backquote`,t[t.Backslash=220]=`Backslash`,t),Bn=((n={})[n.CtrlCmd=2048]=`CtrlCmd`,n[n.Shift=1024]=`Shift`,n[n.Alt=512]=`Alt`,n[n.WinCtrl=256]=`WinCtrl`,n);const Vn=Rn()?`metaKey`:`ctrlKey`,Hn=Rn()?`ctrlKey`:`metaKey`;function Un(e=Math.random().toString(32).slice(2,10),t){let n=`analyzer-plugin-${e}`;return B(()=>{let e=(t?t():null)||document.body,r=e.querySelector(`#${n}`),i=r||function(e){let t=document.createElement(`div`);return t.setAttribute(`id`,e),t}(n);return r||e.appendChild(i),i},[t,n])}function Wn(e,t){R(()=>{let n=e.current;if(n){let e=new ResizeObserver(()=>{t()});return e.observe(n),()=>{e.unobserve(n),e.disconnect()}}return Tt},[e,t])}const Gn=`width.height.padding.margin.w.h.paddingLeft.paddingRight.paddingTop.paddingBottom.pl.pr.pt.pb.marginLeft.marginRight.marginTop.marginBottom.ml.mr.mt.mb.px.py.mx.my.font.unit.scale`.split(`.`),J=e=>`${e}`,Kn=H.createContext({getScaleProps:()=>void 0,getAllScaleProps:()=>({}),SCALES:{pl:J,pr:J,pb:J,pt:J,px:J,py:J,mb:J,ml:J,mr:J,mt:J,mx:J,my:J,width:J,height:J,font:J},unit:`16px`}),Y=()=>H.useContext(Kn),qn=Kn.Provider,Jn=e=>t=>{let n;if(!Array.isArray(t))return e[t];for(let r of t){let t=e[r];t!==void 0&&(n=t)}return n},Yn=e=>()=>{let t={};for(let n of Gn){let r=e[n];r!==void 0&&(t[n]=r)}return t};function X(e,t,n){return(r,i)=>{r===0&&(r=1,i||=0);let a=function(e){if(e===1)return e;let t=Math.abs((e-1)/2);return e>1?1+t:1-t}(n)*r;if(e===void 0)return i===void 0?`calc(${a} * ${t})`:`${i}`;if(!(e!==void 0&&!Number.isNaN(+e)))return`${e}`;let o=a*Number(e);return`calc(${o} * ${t})`}}const Z=e=>He(({children:t,...n},r)=>{let{paddingLeft:i,pl:a,paddingRight:o,pr:s,paddingTop:c,pt:l,paddingBottom:u,pb:d,marginTop:f,mt:p,marginRight:m,mr:h,marginBottom:g,mb:_,marginLeft:v,ml:y,px:b,py:x,mx:S,my:C,width:w,height:T,font:E,w:D,h:O,margin:k,padding:A,unit:j=`16px`,scale:M=1,...ee}=n;return K(qn,{value:{unit:`29px`,SCALES:{pt:X(c??l??x??A,j,M),pr:X(o??s??b??A,j,M),pb:X(u??d??x??A,j,M),pl:X(i??a??b??A,j,M),px:X(b??i??o??a??s??A,j,M),py:X(x??c??u??l??d??A,j,M),mt:X(f??p??C??k,j,M),mr:X(m??h??S??k,j,M),mb:X(g??_??C??k,j,M),ml:X(v??y??S??k,j,M),mx:X(S??v??m??y??h??k,j,M),my:X(C??f??g??p??_??k,j,M),width:X(w??D,j,M),height:X(T??O,j,M),font:X(E,j,M)},getScaleProps:Jn(n),getAllScaleProps:Yn(n)},children:K(e,{...ee,ref:r,children:t})})}),Xn={"#0":(e,t,n,r,i,a)=>[{boxSizing:`x9f619`,borderRadius:`x1kogg8i`,borderStartStartRadius:null,borderStartEndRadius:null,borderEndStartRadius:null,borderEndEndRadius:null,borderTopLeftRadius:null,borderTopRightRadius:null,borderBottomLeftRadius:null,borderBottomRightRadius:null,fontWeight:`xo1l8bm`,userSelect:`x87ps6o`,outline:`x1a2a7pz`,outlineColor:null,outlineOffset:null,outlineStyle:null,outlineWidth:null,textTransform:`xn80e1m`,justifyContent:`xl56j7k`,textAlign:`x2b8uid`,whiteSpace:`xuxw1ft`,transition:`x1qq1cb0`,transitionBehavior:null,transitionDelay:null,transitionDuration:null,transitionProperty:null,transitionTimingFunction:null,position:`x1n2onr6`,overflow:`xb3r6kr`,overflowX:null,overflowY:null,color:`x33gn0b x1x8dl09`,backgroundColor:`x83z2og`,border:`xyufjl1`,borderWidth:null,borderInlineWidth:null,borderInlineStartWidth:null,borderLeftWidth:null,borderInlineEndWidth:null,borderRightWidth:null,borderBlockWidth:null,borderTopWidth:null,borderBottomWidth:null,borderStyle:null,borderInlineStyle:null,borderInlineStartStyle:null,borderLeftStyle:null,borderInlineEndStyle:null,borderRightStyle:null,borderBlockStyle:null,borderTopStyle:null,borderBottomStyle:null,borderColor:null,borderInlineColor:null,borderInlineStartColor:null,borderLeftColor:null,borderInlineEndColor:null,borderRightColor:null,borderBlockColor:null,borderTopColor:null,borderBottomColor:null,cursor:`x1ypdohk`,width:`x10rsq8x`,":hover_borderColor":`xah4ygw`,":hover_borderInlineColor":null,":hover_borderInlineStartColor":null,":hover_borderLeftColor":null,":hover_borderInlineEndColor":null,":hover_borderRightColor":null,":hover_borderBlockColor":null,":hover_borderTopColor":null,":hover_borderBottomColor":null,minWidth:e==null?null:`x1eqyben`,lineHeight:t==null?null:`x18bv5gf`,fontSize:n==null?null:`x6zurak`,height:t==null?null:`x1f5funs`,padding:r==null?null:`x6rcfto`,paddingInline:null,paddingStart:null,paddingLeft:null,paddingEnd:null,paddingRight:null,paddingBlock:null,paddingTop:null,paddingBottom:null,margin:i==null?null:`x1cpkpif`,marginInline:null,marginInlineStart:null,marginLeft:null,marginInlineEnd:null,marginRight:null,marginBlock:null,marginTop:null,marginBottom:null,"--button-height":t==null?null:`x17z0ygo`,"--button-icon-padding":a==null?null:`x133zavi`,$$css:!0},{"--minWidth":typeof e==`number`?e+`px`:e??void 0,"--lineHeight":t??void 0,"--fontSize":typeof n==`number`?n+`px`:n??void 0,"--height":typeof t==`number`?t+`px`:t??void 0,"--padding":typeof r==`number`?r+`px`:r??void 0,"--margin":typeof i==`number`?i+`px`:i??void 0,"----button-height":t??void 0,"----button-icon-padding":a??void 0}],"#1":{width:`x14atkfc`,$$css:!0},"#2":{backgroundColor:`x1r1mewj`,borderColor:`x1w1i4ky`,borderInlineColor:null,borderInlineStartColor:null,borderLeftColor:null,borderInlineEndColor:null,borderRightColor:null,borderBlockColor:null,borderTopColor:null,borderBottomColor:null,color:`xfungia`,$$css:!0}},Zn=Z(H.forwardRef((e,t)=>{let{type:n=`default`,className:r,style:i,auto:a=!1,icon:o,children:s,...c}=e,{SCALES:l}=Y(),{className:u,style:d}=W(Xn[`#0`](a?`min-content`:l.width(10.5),l.height(2.5),l.font(.875),`${l.pt(0)} ${a?l.pr(1.15):l.pr(1.375)} ${l.pt(0)} ${a?l.pl(1.15):l.pl(1.375)}`,`${l.mt(0)} ${l.mr(0)} ${l.mb(0)} ${l.ml(0)}`,l.pl(.727)),a&&Xn[`#1`],n===`secondary`&&Xn[`#2`]);return K(`button`,{ref:t,className:q(`button`,u,r),style:{...d,...i},...c,type:`button`,children:o?o&&!s?K(`span`,{className:`xwukr4l xwa60dl x78zum5 xl56j7k x33gn0b x6s0dn4 x1vjfegm xj19f4n x1oi2qra x1i99p3j x1uhb9sk x1c071of`,children:o}):K(T,{children:[K(`span`,{className:`x10l6tqk xwukr4l xwa60dl x1cb1t30 x78zum5 xl56j7k x33gn0b x6s0dn4 x1vjfegm xj19f4n x1oi2qra x1i99p3j`,children:o}),K(`div`,{className:`x1n2onr6 x1vjfegm x3nfvp2 xl56j7k x2b8uid x15bjb6t x1pdr0v7`,children:s})]}):K(`div`,{className:`x1n2onr6 x1vjfegm x3nfvp2 xl56j7k x2b8uid x15bjb6t x1pdr0v7`,children:s})})})),Qn=(e,t,n,r)=>[{position:`x1n2onr6`,textAlign:`xdpxx8g`,fontSize:e==null?null:`x6zurak`,width:t==null?null:`x1bl4301`,height:n==null?null:`x1f5funs`,padding:r==null?null:`x6rcfto`,paddingInline:null,paddingStart:null,paddingLeft:null,paddingEnd:null,paddingRight:null,paddingBlock:null,paddingTop:null,paddingBottom:null,$$css:!0},{"--fontSize":typeof e==`number`?e+`px`:e??void 0,"--width":typeof t==`number`?t+`px`:t??void 0,"--height":typeof n==`number`?n+`px`:n??void 0,"--padding":typeof r==`number`?r+`px`:r??void 0}],$n=Z(function(e){let{SCALES:t}=Y(),{children:n,...r}=e;return K(`div`,{...W(Qn(t.font(1),t.width(1,`auto`),t.height(1,`auto`),`${t.pt(1.3125)} ${t.pr(1.3125)} ${t.pb(1.3125)} ${t.pl(1.3125)}`)),...r,children:n})});function er({children:e,className:t,visible:n=!1,enterTime:r=60,leaveTime:i=60,clearTime:a=60,name:o=`transition`,...s}){let c=n?`enter`:`leave`,l=n?r:i,[u,d]=L(()=>`${o}-${c}`),[f,p]=L(n);return n&&!f&&p(!0),R(()=>{let e=setTimeout(()=>{d(`${o}-${c} ${o}-${c}-active`),clearTimeout(e)},l),t=setTimeout(()=>{n||(d(``),p(!1)),clearTimeout(t)},l+a);return()=>{clearTimeout(e),clearTimeout(t)}},[a,o,c,l,n]),H.isValidElement(e)&&f?H.cloneElement(e,{...s,className:q(e.props.className,t,u)}):null}const tr=e=>[{position:`x1n2onr6`,zIndex:`x1bkdxzg`,outline:`x1a2a7pz`,outlineColor:null,outlineOffset:null,outlineStyle:null,outlineWidth:null,maxWidth:`xq8v1hd`,width:e==null?null:`x1bl4301`,margin:`x1v36x0e`,marginInline:null,marginInlineStart:null,marginLeft:null,marginInlineEnd:null,marginRight:null,marginBlock:null,marginTop:null,marginBottom:null,verticalAlign:`xxymvpz`,display:`x1rg5ohu`,$$css:!0},{"--width":typeof e==`number`?e+`px`:e??void 0}],nr=H.memo(({children:e,onClick:t,visible:n=!1,width:r,onContentClick:i,backdropClassName:a,layerClassName:o,...s})=>{let c=z(!1);return K(er,{name:`backdrop-wrapper`,visible:n,clearTime:300,children:K(`div`,{role:`presentation`,className:q(`xixxii4 x13vifvy xu96u03 x3m8u43 x1ey2m1c xysyzu8 xfo81ep x5lxg6s x9f619 x2b8uid x1fhgk32 xk9ib7f xszcg87 x1yciqh1 x1cpjm7i`,a,`backdrop`),onClick:e=>{c.current||t==null||t(e)},onMouseUp:()=>{if(!c.current)return;let e=setTimeout(()=>{c.current=!1,clearTimeout(e)},0)},...s,children:[K(`div`,{className:q(`xixxii4 x13vifvy xu96u03 x3m8u43 x1ey2m1c xh8yej3 x5yr21d xvpkmg4 x42x0ya xpgyz80 x47corl xfo81ep`,o,`layer`)}),K(`div`,{role:`presentation`,onClick:i,onMouseDown:()=>{c.current=!0},...W(tr(r)),children:e})]})})}),rr=(e,t,n,r,i,a,o)=>[{position:`xixxii4`,top:`x13vifvy`,left:`xu96u03`,right:`xwukr4l`,insetInlineStart:null,insetInlineEnd:null,bottom:`x1ey2m1c`,maxWidth:`x193iq5w`,verticalAlign:`xxymvpz`,overflow:`xysyzu8`,overflowX:null,overflowY:null,display:`x78zum5`,flexDirection:`xdt5ytf`,boxSizing:`x9f619`,backgroundColor:`x83z2og`,color:`xod0wng`,borderRadius:`x1kogg8i`,borderTopRightRadius:null,borderBottomRightRadius:null,boxShadow:`xccmqgf`,opacity:`xg01cxk`,outline:`x1a2a7pz`,outlineColor:null,outlineOffset:null,outlineStyle:null,outlineWidth:null,transform:`x1rj10qa`,transition:`x1g1qvgx`,transitionBehavior:null,transitionDelay:null,transitionDuration:null,transitionProperty:null,transitionTimingFunction:null,borderTopLeftRadius:`x1ia1hqs`,borderStartStartRadius:null,borderStartEndRadius:null,borderBottomLeftRadius:`xfrllxf`,borderEndStartRadius:null,borderEndEndRadius:null,":not(#_).wrapper-enter_opacity":`x1nnve0i`,":not(#_).wrapper-enter_transform":`xt4ltl4`,":not(#_).wrapper-enter-active_opacity":`x1bd8m36`,":not(#_).wrapper-enter-active_transform":`x1dv32gl`,":not(#_).wrapper-leave_opacity":`x4yp4uk`,":not(#_).wrapper-leave_transition":`x1na6a3r`,":not(#_).wrapper-leave_transitionBehavior":null,":not(#_).wrapper-leave_transitionDelay":null,":not(#_).wrapper-leave_transitionDuration":null,":not(#_).wrapper-leave_transitionProperty":null,":not(#_).wrapper-leave_transitionTimingFunction":null,":not(#_).wrapper-leave-active_opacity":`x8o2t21`,":not(#_).wrapper-leave-active_transform":`x11lwuue`,fontSize:e==null?null:`x6zurak`,"--wrapper-padding-left":t==null?null:`x1jvkqou`,"--wrapper-padding-right":n==null?null:`x1lzvinv`,padding:r==null?null:`x6rcfto`,paddingInline:null,paddingStart:null,paddingLeft:null,paddingEnd:null,paddingRight:null,paddingBlock:null,paddingTop:null,paddingBottom:null,margin:i==null?null:`x1cpkpif`,marginInline:null,marginInlineStart:null,marginLeft:null,marginInlineEnd:null,marginRight:null,marginBlock:null,marginTop:null,marginBottom:null,width:a==null?null:`x1bl4301`,height:o==null?null:`x1f5funs`,$$css:!0},{"--fontSize":typeof e==`number`?e+`px`:e??void 0,"----wrapper-padding-left":t??void 0,"----wrapper-padding-right":n??void 0,"--padding":typeof r==`number`?r+`px`:r??void 0,"--margin":typeof i==`number`?i+`px`:i??void 0,"--width":typeof a==`number`?a+`px`:a??void 0,"--height":typeof o==`number`?o+`px`:o??void 0}];function ir(e){let{visible:t,children:n}=e,{SCALES:r}=Y(),{className:i,style:a}=W(rr(r.font(1),r.pl(1.3125),r.pr(1.3125),`${r.pt(1.3125)} var(--wrapper-padding-right) ${r.pb(1.3125)} var(--wrapper-padding-left)`,`${r.mt(0)} ${r.mr(0)} ${r.mb(0)} ${r.ml(0)}`,r.width(1,`auto`),r.height(1,`100%`)));return K(er,{name:`wrapper`,visible:t,clearTime:300,children:K(`div`,{role:`dialog`,tabIndex:-1,className:q(i,`wrapper`),style:a,children:n})})}function ar(e,t){switch(t.type){case`SYNC_WITH_PROPS`:return{...e,visible:t.payload};case`CLOSE`:return{...e,visible:!1};default:return e}}const or=Z(function(e){let{visible:t=!1,children:n,onClose:r,...i}=e,a=Un(`drawer`),[,o]=Fn({delayReset:300}),[s,c]=ye(ar,{visible:t});R(()=>{t!==void 0&&t!==s.visible&&(c({type:`SYNC_WITH_PROPS`,payload:t}),o(t))},[t,s.visible,o]);let l=()=>{r?.(),c({type:`CLOSE`}),o(!1)};return a?Qe(K(nr,{onClick:()=>{l()},visible:s.visible,width:`100%`,children:K(ir,{visible:s.visible,...i,children:n})}),a):null});or.Content=$n;const sr=se({disabledAll:!1,values:[],inGroup:!1,updateState:Tt}),cr=sr.Provider;function lr(e,t){switch(t.type){case`SET_CHECKED`:case`SYNC_GROUP`:case`SYNC_PROP`:return{checked:t.payload};case`TOGGLE`:return{checked:!e.checked};default:return e}}const ur={"#0":{display:`x3nfvp2`,width:`x10c8zq6`,height:`x1wwwx2g`,userSelect:`x87ps6o`,opacity:`x1hc1fzr`,cursor:`x1ypdohk`,$$css:!0},"#1":{opacity:`xti2d7y`,cursor:`x1h6gzvc`,$$css:!0}};function dr(e){let{checked:t,disabled:n}=e,r=W(ur[`#0`],n&&ur[`#1`]);return t?K(`svg`,{viewBox:`0 0 17 16`,fill:`none`,...r,children:[K(`path`,{fill:`#000`,d:`M12.1429 0H3.85714C1.7269 0 0 1.79086 0 4V12C0 14.2091 1.7269 16 3.85714 16H12.1429C14.2731 16 16 14.2091 16 12V4C16 1.79086 14.2731 0 12.1429 0Z`}),K(`path`,{d:`M16 3L7.72491 11L5 8`,stroke:`#fff`,strokeWidth:`1.5`})]}):K(`svg`,{viewBox:`0 0 12 12`,fill:`none`,...r,children:K(`path`,{stroke:`#666`,d:`M8.5 0.5H3.5C1.84315 0.5 0.5 1.84315 0.5 3.5V8.5C0.5 10.1569 1.84315 11.5 3.5 11.5H8.5C10.1569 11.5 11.5 10.1569 11.5 8.5V3.5C11.5 1.84315 10.1569 0.5 8.5 0.5Z`})})}const fr={"#0":e=>[{display:`x3nfvp2`,justifyContent:`xl56j7k`,alignItems:`x6s0dn4`,"--checkbox-size":e==null?null:`x1z0zqlx`,cursor:`x1ypdohk`,opacity:`x1hc1fzr`,$$css:!0},{"----checkbox-size":e??void 0}],"#1":{cursor:`x1h6gzvc`,opacity:`x18km98s`,$$css:!0},"#2":(e,t,n,r)=>[{lineHeight:`xo7gfgx`,width:e==null?null:`x1bl4301`,height:t==null?null:`x1f5funs`,padding:n==null?null:`x6rcfto`,paddingInline:null,paddingStart:null,paddingLeft:null,paddingEnd:null,paddingRight:null,paddingBlock:null,paddingTop:null,paddingBottom:null,margin:r==null?null:`x1cpkpif`,marginInline:null,marginInlineStart:null,marginLeft:null,marginInlineEnd:null,marginRight:null,marginBlock:null,marginTop:null,marginBottom:null,$$css:!0},{"--width":typeof e==`number`?e+`px`:e??void 0,"--height":typeof t==`number`?t+`px`:t??void 0,"--padding":typeof n==`number`?n+`px`:n??void 0,"--margin":typeof r==`number`?r+`px`:r??void 0}]},pr={"#0":{fontSize:`x1k5u5a4`,lineHeight:`xo7gfgx`,paddingLeft:`xvwk5ba`,userSelect:`x87ps6o`,cursor:`x1ypdohk`,$$css:!0},"#1":{cursor:`x1h6gzvc`,$$css:!0}},mr=Z(function(e){let{checked:t=!1,className:n,style:r,value:i=``,disabled:a=!1,onChange:o,children:s,...c}=e,{disabledAll:l,inGroup:u,values:d,updateState:f}=Se(sr),{SCALES:p}=Y(),[m,h]=ye(lr,{checked:u?d.includes(i):t});R(()=>{u||t===m.checked||h({type:`SYNC_PROP`,payload:t})},[t,u,m.checked]),R(()=>{if(u)if(i.length){let e=d.includes(i);e!==m.checked&&h({type:`SYNC_GROUP`,payload:e})}else h({type:`SET_CHECKED`,payload:!1})},[u,i,d,m.checked]);let{className:g,style:_}={className:`xg01cxk x1a2a7pz x10l6tqk xnalus7 xqtp20y x1ghz6dp x1717udv x8knxv4 xgxxoiu xjbqb8w`},v=q(g,n),y=u&&l||a,b=V(e=>{if(a)return;let t=!m.checked;u&&f(i,t),h({type:`TOGGLE`}),o?.({target:{checked:t},stopPropagation:()=>e.stopPropagation(),preventDefault:()=>e.preventDefault(),nativeEvent:e})},[a,m.checked,u,f,i,o]);return K(`label`,{...W(fr[`#0`](p.font(.875)),y&&fr[`#1`],fr[`#2`](p.width(1,`auto`),p.height(1,`var(--checkbox-size)`),`${p.pt(0)} ${p.pr(0)} ${p.pb(0)} ${p.pl(0)}`,`${p.mt(0)} ${p.mr(0)} ${p.mb(0)} ${p.ml(0)}`)),children:[K(dr,{checked:m.checked,disabled:a}),K(`input`,{disabled:y,onChange:b,checked:m.checked,className:v,style:{..._,...r},type:`checkbox`,...c}),K(`span`,{...W(pr[`#0`],y&&pr[`#1`]),children:s})]})}),hr=[],gr=(e,t,n,r,i,a)=>[{width:e==null?null:`x1bl4301`,height:t==null?null:`x1f5funs`,padding:n==null?null:`x6rcfto`,paddingInline:null,paddingStart:null,paddingLeft:null,paddingEnd:null,paddingRight:null,paddingBlock:null,paddingTop:null,paddingBottom:null,margin:r==null?null:`x1cpkpif`,marginInline:null,marginInlineStart:null,marginLeft:null,marginInlineEnd:null,marginRight:null,marginBlock:null,marginTop:null,marginBottom:null,":not(#_) label_marginRight":i==null?null:`x1gdp0cg`,":not(#_) label_marginInlineStart":null,":not(#_) label_marginInlineEnd":null,":not(#_) label_--checkbox-size":a==null?null:`x1gz5s8`,":not(#_) label:last-of-type_marginRight":`xxcdmaa`,":not(#_) label:last-of-type_marginInlineStart":null,":not(#_) label:last-of-type_marginInlineEnd":null,$$css:!0},{"--width":typeof e==`number`?e+`px`:e??void 0,"--height":typeof t==`number`?t+`px`:t??void 0,"--padding":typeof n==`number`?n+`px`:n??void 0,"--margin":typeof r==`number`?r+`px`:r??void 0,"--1lyhohe":typeof i==`number`?i+`px`:i??void 0,"--l85ac7":a??void 0}];mr.Group=Z(function(e){let{children:t,value:n=hr,disabled:r=!1,onChange:i,...a}=e,{SCALES:o}=Y(),s=V((e,t)=>{let r=t?[...n,e]:n.filter(t=>t!==e);i?.(r)},[n,i]);return K(cr,{value:B(()=>({disabledAll:r,values:n,inGroup:!0,updateState:s}),[r,n,s]),children:K(`div`,{...W(gr(o.width(1,`auto`),o.height(1,`auto`),`${o.pt(0)} ${o.pr(0)} ${o.pb(0)} ${o.pl(0)}`,`${o.mt(0)} ${o.mr(0)} ${o.mb(0)} ${o.ml(0)}`,`calc(${o.font(1)} * 2)`,o.font(1))),...a,children:t})})});const _r={"#0":(e,t,n,r)=>[{width:e==null?null:`x1bl4301`,height:t==null?null:`x1f5funs`,padding:n==null?null:`x6rcfto`,paddingInline:null,paddingStart:null,paddingLeft:null,paddingEnd:null,paddingRight:null,paddingBlock:null,paddingTop:null,paddingBottom:null,margin:r==null?null:`x1cpkpif`,marginInline:null,marginInlineStart:null,marginLeft:null,marginInlineEnd:null,marginRight:null,marginBlock:null,marginTop:null,marginBottom:null,display:`x1lliihq`,$$css:!0},{"--width":typeof e==`number`?e+`px`:e??void 0,"--height":typeof t==`number`?t+`px`:t??void 0,"--padding":typeof n==`number`?n+`px`:n??void 0,"--margin":typeof r==`number`?r+`px`:r??void 0}],"#1":{display:`x1rg5ohu`,$$css:!0}},Q=Z(function({inline:e=!1,...t}){let{SCALES:n}=Y();return K(`div`,{...W(_r[`#0`](n.width(1),n.height(1),`${n.pt(0)} ${n.pr(0)} ${n.pb(0)} ${n.pl(0)}`,`${n.mt(0)} ${n.mr(0)} ${n.mb(0)} ${n.ml(0)}`),e&&_r[`#1`]),...t})}),vr=(e,t,n,r,i,a,o,s,c,l,u)=>[{width:e==null?null:`x1bl4301`,height:t==null?null:`x1f5funs`,":not(#_).font_fontSize":n==null?null:`x11gl0pa`,":not(#_).mx_marginLeft":r==null?null:`xo55tbh`,":not(#_).mx_marginRight":i==null?null:`x1dmjli3`,":not(#_).mx_marginInlineStart":null,":not(#_).mx_marginInlineEnd":null,":not(#_).my_marginTop":a==null?null:`x1sfdyv3`,":not(#_).my_marginBottom":o==null?null:`x15oxxgp`,":not(#_).px_paddingLeft":s==null?null:`x1cs2ckj`,":not(#_).px_paddingRight":c==null?null:`x1b8apm3`,":not(#_).px_paddingInlineStart":null,":not(#_).px_paddingInlineEnd":null,":not(#_).py_paddingTop":l==null?null:`xpb790p`,":not(#_).py_paddingBottom":u==null?null:`x114yr9h`,$$css:!0},{"--width":typeof e==`number`?e+`px`:e??void 0,"--height":typeof t==`number`?t+`px`:t??void 0,"--b288sc":typeof n==`number`?n+`px`:n??void 0,"--1sd982c":typeof r==`number`?r+`px`:r??void 0,"--1lm2ntt":typeof i==`number`?i+`px`:i??void 0,"--245nv0":typeof a==`number`?a+`px`:a??void 0,"--m51g4c":typeof o==`number`?o+`px`:o??void 0,"--1d3svjh":typeof s==`number`?s+`px`:s??void 0,"--f7sgo3":typeof c==`number`?c+`px`:c??void 0,"--1ab6y07":typeof l==`number`?l+`px`:l??void 0,"--18zo6c":typeof u==`number`?u+`px`:u??void 0}];function yr({children:e,tag:t,className:n,...r}){let{SCALES:i,getScaleProps:a}=Y(),o=a(`font`),s=a([`margin`,`marginLeft`,`marginRight`,`mx`,`ml`,`mr`]),c=a([`margin`,`marginTop`,`marginBottom`,`my`,`mt`,`mb`]),l=a([`padding`,`paddingLeft`,`paddingRight`,`pl`,`pr`,`px`]),u=a([`padding`,`paddingTop`,`paddingBottom`,`pt`,`pb`,`py`]),d=B(()=>{let e=[{value:s,className:`mx`},{value:c,className:`my`},{value:l,className:`px`},{value:u,className:`py`},{value:o,className:`font`}].reduce((e,t)=>t.value===void 0?e:`${e} ${t.className}`,``);return`${e} ${n}`.trim()},[s,c,l,u,o,n]),{className:f,style:p}=W(vr(i.width(1,`auto`),i.height(1,`auto`),i.font(1,`inherit`),i.ml(0,`revert`),i.mr(0,`revert`),i.mt(0,`revert`),i.mb(0,`revert`),i.pl(0,`revert`),i.pr(0,`revert`),i.pt(0,`revert`),i.pb(0,`revert`)));return K(t,{className:q(f,d),style:p,...r,children:e})}const br=(e,t)=>{if(!e.length)return t;let n=e.slice(1,e.length);return K(yr,{tag:e[0],children:br(n,t)})},$=Z(function({h1:e,h2:t,h3:n,h4:r,h5:i,h6:a,p:o,b:s,small:c,i:l,span:u,del:d,div:f,em:p,blockquote:m,children:h,className:g,..._}){let v={h1:e,h2:t,h3:n,h4:r,h5:i,h6:a,p:o,blockquote:m,div:f},y={span:u,small:c,b:s,em:p,i:l,del:d},b=Object.keys(v).filter(e=>v[e]),x=Object.keys(y).filter(e=>y[e]),S=B(()=>b[0]?b[0]:x[0]?x[0]:`p`,[b,x]),C=x.filter(e=>e!==S),w=B(()=>C.length?br(C,h):h,[C,h]);return K(yr,{className:g,tag:S,..._,children:w})});function xr(e){let{name:t,size:n=null,pointer:r=!1,children:i,className:a,onClick:o=Tt,onMouseEnter:s=Tt}=e;return K($,{span:!0,onClick:o,onMouseEnter:s,className:a,style:{cursor:r?`pointer`:`inherit`},children:[K(`div`,{className:`x78zum5 x6s0dn4`,children:[i,K(`div`,{className:`x98rzlu xuxw1ft xb3r6kr xlyipyv`,children:t}),n!==null&&K($,{b:!0,children:[`(`,On(n),`)`]})]}),K(Q,{h:.5})]})}function Sr(e){let{scence:t,files:n,extra:r=`parsedSize`,onChange:i}=e,[a,...o]=B(()=>n.reduce((e,t)=>{let n={name:t.label,extra:t[r]};return e[0].extra+=n.extra,e.push(n),e},[{name:`All`,extra:0}]),[n,r]),s=B(()=>n.length===t.size,[t,n]),c=B(()=>s?n.map(e=>e.label):Array.from(t),[s,t,n]);return K(`div`,{className:`xb3r6kr`,children:[K(`div`,{children:K(xr,{name:a.name,size:a.extra,children:K(mr,{value:a.name,font:`14px`,scale:.85,checked:s,onChange:e=>{let{checked:t}=e.target;i(t?n.map(e=>e.label):[])}})})}),K(mr.Group,{font:`14px`,scale:.85,value:c,onChange:i,children:o.map(e=>K(xr,{name:e.name,size:e.extra,children:K(mr,{value:e.name})},e.name))})]})}var Cr=e=>K(`svg`,{viewBox:`0 0 256 256`,width:`1.2em`,height:`1.2em`,...e,children:K(`path`,{fill:`currentColor`,d:`M216 72h-84.69L104 44.69A15.86 15.86 0 0 0 92.69 40H40a16 16 0 0 0-16 16v144.62A15.4 15.4 0 0 0 39.38 216h177.51A15.13 15.13 0 0 0 232 200.89V88a16 16 0 0 0-16-16M40 56h52.69l16 16H40Zm176 144H40V88h176Z`})});const wr=e=>[{padding:`x1717udv`,paddingInline:null,paddingStart:null,paddingLeft:null,paddingEnd:null,paddingRight:null,paddingBlock:null,paddingTop:null,paddingBottom:null,boxShadow:`x1gnnqk1`,margin:`xaqv6k0`,marginInline:null,marginInlineStart:null,marginLeft:null,marginInlineEnd:null,marginRight:null,marginBlock:null,marginTop:null,marginBottom:null,fontSize:e==null?null:`x6zurak`,backgroundColor:`xjbqb8w`,border:`x1gs6z28`,borderWidth:null,borderInlineWidth:null,borderInlineStartWidth:null,borderLeftWidth:null,borderInlineEndWidth:null,borderRightWidth:null,borderBlockWidth:null,borderTopWidth:null,borderBottomWidth:null,borderStyle:null,borderInlineStyle:null,borderInlineStartStyle:null,borderLeftStyle:null,borderInlineEndStyle:null,borderRightStyle:null,borderBlockStyle:null,borderTopStyle:null,borderBottomStyle:null,borderColor:null,borderInlineColor:null,borderInlineStartColor:null,borderLeftColor:null,borderInlineEndColor:null,borderRightColor:null,borderBlockColor:null,borderTopColor:null,borderBottomColor:null,color:`xod0wng`,outline:`x1a2a7pz`,outlineColor:null,outlineOffset:null,outlineStyle:null,outlineWidth:null,borderRadius:`x2u8bby`,borderStartStartRadius:null,borderStartEndRadius:null,borderEndStartRadius:null,borderEndEndRadius:null,borderTopLeftRadius:null,borderTopRightRadius:null,borderBottomLeftRadius:null,borderBottomRightRadius:null,width:`xh8yej3`,minWidth:`xeuugli`,WebkitAppearance:`x1lugfcp`,"::placeholder_color":`xyijama`,$$css:!0},{"--fontSize":typeof e==`number`?e+`px`:e??void 0}],Tr=(e,t,n,r,i)=>[{display:`x1rg5ohu`,boxSizing:`x9f619`,fontSize:e==null?null:`x6zurak`,width:t==null?null:`x1bl4301`,padding:n==null?null:`x6rcfto`,paddingInline:null,paddingStart:null,paddingLeft:null,paddingEnd:null,paddingRight:null,paddingBlock:null,paddingTop:null,paddingBottom:null,margin:r==null?null:`x1cpkpif`,marginInline:null,marginInlineStart:null,marginLeft:null,marginInlineEnd:null,marginRight:null,marginBlock:null,marginTop:null,marginBottom:null,"--input-height":i==null?null:`x17cxeg8`,$$css:!0},{"--fontSize":typeof e==`number`?e+`px`:e??void 0,"--width":typeof t==`number`?t+`px`:t??void 0,"--padding":typeof n==`number`?n+`px`:n??void 0,"--margin":typeof r==`number`?r+`px`:r??void 0,"----input-height":i??void 0}],Er=e=>[{display:`x3nfvp2`,alignItems:`x6s0dn4`,width:e==null?null:`x1bl4301`,height:`x15v3xai`,$$css:!0},{"--width":typeof e==`number`?e+`px`:e??void 0}],Dr={"#0":e=>[{boxSizing:`x9f619`,display:`x3nfvp2`,width:`xkpqg4h`,height:`x5yr21d`,flexShrink:`x2lah0s`,alignItems:`x6s0dn4`,justifyContent:`xl56j7k`,cursor:`x1ypdohk`,transition:`x1agbc2l`,transitionBehavior:null,transitionDelay:null,transitionDuration:null,transitionProperty:null,transitionTimingFunction:null,margin:`x1ghz6dp`,marginInline:null,marginInlineStart:null,marginLeft:null,marginInlineEnd:null,marginRight:null,marginBlock:null,marginTop:null,marginBottom:null,padding:`x1717udv`,paddingInline:null,paddingStart:null,paddingLeft:null,paddingEnd:null,paddingRight:null,paddingBlock:null,paddingTop:null,paddingBottom:null,color:`x1noocy9 `+(e==null?``:`x74ai9j`),visibility:`xlshs6z`,opacity:`xg01cxk`,$$css:!0},{"--1113oo7":e??void 0}],"#1":{visibility:`xnpuxes`,opacity:`x1hc1fzr`,$$css:!0},"#2":{cursor:`x1h6gzvc`,$$css:!0}},Or=Z(H.forwardRef((e,t)=>{let{className:n,style:r,clearable:i,disabled:a,readOnly:o,type:s,value:c=``,onChange:l,...u}=e,d=z(null),[f,p]=L(c),{SCALES:m}=Y();c&&p(c||``);let{className:h,style:g}=W(wr(m.font(.875)));xe(t,()=>d.current);let _=q(`input`,h,n);return K(`div`,{...W(Tr(m.font(.875),m.width(1,`initial`),`${m.pt(0)} ${m.pr(0)} ${m.pb(0)} ${m.pl(0)}`,`${m.mt(0)} ${m.mr(0)} ${m.mb(0)} ${m.ml(0)}`,m.height(2.25))),children:K(`div`,{...W(Er(m.width(1,`initial`))),children:K(`div`,{className:`x3nfvp2 xxymvpz x6s0dn4 x5yr21d x98rzlu x87ps6o x1kogg8i xangja0 xlwirvm`,children:[K(`input`,{type:s,ref:d,value:f,className:_,disabled:a,readOnly:o,onChange:e=>{a||o||(p(e.target.value),l?.(e))},style:{...g,...r},...u}),i&&K(`div`,{role:`presentation`,onClick:e=>{var t;if(p(``),!d.current)return;let n=(t=d.current,{...e,target:t,currentTarget:t});n.target.value=``,l?.(n),d.current.focus()},...W(Dr[`#0`](a||o?`#999`:`#000`),!!f&&Dr[`#1`],(a||o)&&Dr[`#2`]),children:K(`svg`,{className:`x15rks2t xkpqg4h x97urd1 x12x3gb1`,viewBox:`0 0 24 24`,stroke:`currentColor`,strokeWidth:`1.5`,strokeLinecap:`round`,strokeLinejoin:`round`,fill:`none`,shapeRendering:`geometricPrecision`,children:[K(`path`,{d:`M18 6L6 18`}),K(`path`,{d:`M6 6l12 12`})]})})]})})})}));function kr(e){let{treemap:t}=Dn(),{extra:n,files:r}=e,[i,a]=L(),[o,s]=L({}),c=B(()=>i?r.map(e=>({parent:e,children:function(e,t){let n=typeof t==`function`?t:e=>e[t];return Object.values(e.reduce((e,t)=>{var r;let i=n(t);return e[i]??(e[i]=t),e},{}))}(cn(e.groups).filter(e=>i.test(e.label)).map(e=>({...e,isDirectory:!/\.(\w+)$/.test(e.label)})),`label`).sort((e,t)=>e.isDirectory&&!t.isDirectory?-1:!e.isDirectory&&t.isDirectory?1:t[n]-e[n])})):[],[i,r,n]),l=B(()=>c.reduce((e,t)=>e+t.parent[n],0),[c,n]),u=e=>{s({...o,[e.label]:!0})},d=V(e=>{var n;(n=t.current)==null||n.zoom(e)},[t]);return K(T,{children:[K(Or,{placeholder:`Enter RegExp`,clearable:!0,width:`100%`,onChange:e=>{let t=e.target.value.trim();try{a(t.length?RegExp(t,`iu`):null)}catch{a(null)}}}),K(Q,{h:.75}),!!c.length&&K(`div`,{children:[K(`span`,{children:[`Count: `,K(`strong`,{children:c.length})]}),K(Q,{inline:!0}),K(`span`,{children:[`Total size:`,K(`strong`,{children:On(l)})]})]}),K(Q,{}),c.length?K(T,{children:c.map(e=>K(`div`,{children:[K(xr,{name:e.parent.label,className:`x4andz0`}),e.children.map(e=>K(xr,{name:e.label,size:e[n],pointer:o[e.label],className:`x1k4tb9n`,onMouseEnter:()=>u(e),onClick:()=>d(e.filename),children:[e.isDirectory?K(Cr,{}):K(wt,{}),K(Q,{inline:!0})]},e.filename))]},e.parent.label))}):K(`div`,{className:`x2b8uid`,children:K($,{span:!0,b:!0,width:`100%`,children:`"No modules found"`})})]})}const Ar=H.createContext({visible:!1,disableAll:!1});function jr(){return H.useContext(Ar)}const{Provider:Mr}=Ar,Nr={top:-1e3,left:-1e3,right:-1e3,width:0,height:0,elementTop:-1e3},Pr={top:-1e3,left:-1e3,right:-1e3,width:0},Fr={"#0":(e,t,n)=>[{position:`x10l6tqk`,zIndex:`xp6lfbs`,top:e==null?null:`x1g9fk1a`,left:t==null?null:`x837sfr`,insetInlineStart:null,insetInlineEnd:null,width:n==null?null:`x1bl4301`,$$css:!0},{"--top":typeof e==`number`?e+`px`:e??void 0,"--left":typeof t==`number`?t+`px`:t??void 0,"--width":typeof n==`number`?n+`px`:n??void 0}]},Ir=H.forwardRef(({visible:e,children:t},n)=>{var r;let[i,a]=L(Pr),o=z(null),{ref:s,updateVisible:c}=jr(),l=Un(`dropdown`);xe(n,()=>o.current);let u=V(()=>{let{top:e,left:t,right:n,width:r}=function(e,t){if(!e||!e.current)return Nr;var n=e.current.getBoundingClientRect(),r=void 0;if(!n)return Nr;let i=r?r():null,a=i||document.documentElement,{top:o,left:s}=function(e){if(!e)return{top:0,left:0};let{top:t,left:n}=e.getBoundingClientRect();return{top:t,left:n}}(i);return{...n,width:n.width||n.right-n.left,height:n.height||n.top-n.bottom,top:n.bottom+a.scrollTop-o,left:n.left+a.scrollLeft-s,elementTop:n.top+a.scrollTop-o}}(s);a({top:e,left:t,right:n,width:r})},[s]);return Wn(s,u),R(()=>(document.addEventListener(`click`,r),()=>document.removeEventListener(`click`,r)),[r=()=>{a(Pr),c?.(!1)}]),function(e,t=()=>{}){In(n=>{if(!e||!e.current)return;let r=new MutationObserver((...e)=>{n.aborted||t(...e)});return r.observe(e.current,Ln),()=>{r.disconnect()}},[t,e])}(s,()=>{u()}),R(()=>{if(!s||!s.current)return;let e=s.current;return e.addEventListener(`mouseenter`,u),()=>{e.removeEventListener(`mouseenter`,u)}},[s,u]),s&&l?Qe(K(er,{visible:e,children:K(`div`,{role:`presentation`,onClick:e=>{e.stopPropagation(),e.nativeEvent.stopImmediatePropagation(),e.preventDefault()},onMouseDown:e=>{e.preventDefault()},...W(Fr[`#0`](`${i.top+2}px`,`${i.left}px`,`${i.width}px`)),children:K(`div`,{ref:o,className:`x1kogg8i xccmqgf x83z2og x9iil81 x1odjw0f x1xzczws x19dmtcs xkcv6ua`,children:t})})}),l):null}),Lr=e=>[{overflow:`xb3r6kr`,overflowX:null,overflowY:null,textOverflow:`xlyipyv`,whiteSpace:`xuxw1ft`,minWidth:`xeuugli`,lineHeight:e==null?null:`x18bv5gf`,$$css:!0},{"--lineHeight":e??void 0}];function Rr({children:e,height:t}){return K(`span`,{...W(Lr(t)),children:e})}const zr={"#0":{display:`x3nfvp2`,justifyItems:`x1o2pa38`,alignItems:`x6s0dn4`,lineHeight:`xo5v014`,padding:`x1kkmlke`,fontSize:`x48o9cf`,height:`x1vjvdv0`,borderRadius:`x1kogg8i`,backgroundColor:`xoieadz`,color:`xr73bf`,margin:`x10d6zji`,":not(#_) >div:not(.clear-icon)_borderRadius":`xyb2zxc`,":not(#_) >div:not(.clear-icon)_backgroundColor":`x1j1oo8`,":not(#_) >div:not(.clear-icon)_padding":`x1rcfzub`,":not(#_) >div:not(.clear-icon)_margin":`xf3v1kg`,":not(#_) >div:not(.clear-icon)_color":`x19jpgsc`,$$css:!0},"#1":{color:`x1g3taxb`,$$css:!0}};function Br({disabled:e,onClear:t,children:n}){let{className:r}={className:`x1jfc3ad x1ghz6dp x3nfvp2 x6s0dn4 x5yr21d x1ypdohk x9f619 x1agbc2l x1noocy9 x1x8dl09 xnpuxes x1hc1fzr`},i=q(`clear-icon`,r);return K(`div`,{...W(zr[`#0`],e&&zr[`#1`]),children:[n,!!t&&K(`div`,{role:`presentation`,onClick:e=>{e.preventDefault(),e.stopPropagation(),e.nativeEvent.stopImmediatePropagation(),t?.()},className:i,children:K(`svg`,{viewBox:`0 0 24 24`,stroke:`currentColor`,strokeWidth:`1.5`,strokeLinecap:`round`,strokeLinejoin:`round`,fill:`none`,shapeRendering:`geometricPrecision`,className:`x15rks2t x15vhz18 xlzyvqe`,children:[K(`path`,{d:`M18 6L6 18`}),K(`path`,{d:`M6 6l12 12`})]})})]})}const Vr={"#0":(e,t,n)=>[{boxSizing:`x9f619`,maxWidth:`x193iq5w`,display:`x78zum5`,justifyContent:`x1nhvcw1`,alignItems:`x6s0dn4`,fontWeight:`x1fcty0u`,userSelect:`x87ps6o`,border:`x1wty727`,borderWidth:null,borderInlineWidth:null,borderInlineStartWidth:null,borderLeftWidth:null,borderInlineEndWidth:null,borderRightWidth:null,borderBlockWidth:null,borderTopWidth:null,borderBottomWidth:null,borderStyle:null,borderInlineStyle:null,borderInlineStartStyle:null,borderLeftStyle:null,borderInlineEndStyle:null,borderRightStyle:null,borderBlockStyle:null,borderTopStyle:null,borderBottomStyle:null,borderColor:null,borderInlineColor:null,borderInlineStartColor:null,borderLeftColor:null,borderInlineEndColor:null,borderRightColor:null,borderBlockColor:null,borderTopColor:null,borderBottomColor:null,transition:`x1i4et0z`,transitionBehavior:null,transitionDelay:null,transitionDuration:null,transitionProperty:null,transitionTimingFunction:null,backgroundColor:(e==null?``:`xjaf1n4 `)+(t==null?``:`x1ttfofm`),color:(n==null?``:`x1n25116 `)+`x1sw8hja`,cursor:`x1ypdohk`,$$css:!0},{"--bcbnzo":e??void 0,"--1e2mv7m":t??void 0,"--4xs81a":n??void 0}],"#1":{cursor:`x1h6gzvc`,$$css:!0},"#2":(e,t,n,r,i)=>[{"--select-font-size":e==null?null:`x157cck6`,fontSize:`x48o9cf`,width:t==null?null:`x1bl4301`,height:n==null?null:`x1f5funs`,padding:r==null?null:`x6rcfto`,paddingInline:null,paddingStart:null,paddingLeft:null,paddingEnd:null,paddingRight:null,paddingBlock:null,paddingTop:null,paddingBottom:null,margin:i==null?null:`x1cpkpif`,marginInline:null,marginInlineStart:null,marginLeft:null,marginInlineEnd:null,marginRight:null,marginBlock:null,marginTop:null,marginBottom:null,$$css:!0},{"----select-font-size":e??void 0,"--width":typeof t==`number`?t+`px`:t??void 0,"--height":typeof n==`number`?n+`px`:n??void 0,"--padding":typeof r==`number`?r+`px`:r??void 0,"--margin":typeof i==`number`?i+`px`:i??void 0}]},Hr=Z(function(e){let{children:t,value:n,disabled:r=!1,preventAllEvents:i,...a}=e,{SCALES:o}=Y(),{disableAll:s,value:c,updateValue:l}=jr(),u=B(()=>r||s,[r,s]),d=B(()=>!!c&&(typeof c==`string`?n===c:c.includes(n+``)),[c,n]),f=B(()=>u?`#888`:d?`#000`:`#666`,[d,u]),p=B(()=>u?`#fafafa`:d?`#eaeaea`:`#fff`,[d,u]),m=B(()=>u||d?p:`#fafafa`,[u,p,d]);return K(`div`,{role:`presentation`,...W(Vr[`#0`](p,m,f),u&&Vr[`#1`],Vr[`#2`](o.font(.75),o.width(1,`100%`),o.height(2.25),`${o.pt(0)} ${o.pr(.667)} ${o.pb(0)} ${o.pl(.667)}`,`${o.mt(0)} ${o.mr(0)} ${o.mb(0)} ${o.ml(0)}`)),onClick:e=>{!i&&(e.stopPropagation(),e.nativeEvent.stopImmediatePropagation(),e.preventDefault(),u||l==null||l(n))},...a,children:K(Rr,{height:o.height(2.25),children:t})})}),Ur={"#0":{display:`x3nfvp2`,alignItems:`x6s0dn4`,userSelect:`x87ps6o`,whiteSpace:`xuxw1ft`,position:`x1n2onr6`,maxWidth:`x95b5qq`,overflow:`xb3r6kr`,transition:`xbzwucg`,border:`xyufjl1`,borderRadius:`x1kogg8i`,":hover_borderColor":`xah4ygw`,$$css:!0},"#1":{":hover_borderColor":`x1gzs9z5`,$$css:!0},"#2":(e,t,n,r,i,a,o)=>[{"--select-font-size":e==null?null:`x157cck6`,"--select-height":t==null?null:`xb0tj9l`,"--disabled-color":n==null?null:`x1loo8q6`,width:r==null?null:`x1bl4301`,height:i==null?null:`x1f5funs`,padding:a==null?null:`x6rcfto`,paddingInline:null,paddingStart:null,paddingLeft:null,paddingEnd:null,paddingRight:null,paddingBlock:null,paddingTop:null,paddingBottom:null,margin:o==null?null:`x1cpkpif`,marginInline:null,marginInlineStart:null,marginLeft:null,marginInlineEnd:null,marginRight:null,marginBlock:null,marginTop:null,marginBottom:null,cursor:`x1ypdohk`,$$css:!0},{"----select-font-size":e??void 0,"----select-height":t??void 0,"----disabled-color":n??void 0,"--width":typeof r==`number`?r+`px`:r??void 0,"--height":typeof i==`number`?i+`px`:i??void 0,"--padding":typeof a==`number`?a+`px`:a??void 0,"--margin":typeof o==`number`?o+`px`:o??void 0}],"#3":{cursor:`x1h6gzvc`,$$css:!0},"#4":{minHeight:`x5kuxme`,$$css:!0}},Wr={"#0":{position:`x10l6tqk`,right:`x17o19ii`,fontSize:`x48o9cf`,top:`xwa60dl`,bottom:`x1ey2m1c`,transform:`x1cb1t30`,pointerEvents:`x47corl`,transition:`x1jaox4c`,display:`x78zum5`,alignItems:`x6s0dn4`,color:`x33gn0b`,$$css:!0},"#1":{transform:`x1lwuebi`,$$css:!0}},Gr=Z(H.forwardRef((e,t)=>{let{disabled:n=!1,value:r,placeholder:i,clearable:a=!0,options:o,multiple:s=!1,onChange:c,...l}=e,u=z(null),{SCALES:d}=Y(),[f,p]=L(!1),[m,h]=L(()=>!s||Array.isArray(r)?r:r===void 0?[]:[r]),g=B(()=>Array.isArray(m)?m.length===0:!m,[m]),_=e=>{p(e)},v=V(e=>{var t,n;let r=(t=m,n=e,s?Array.isArray(t)?t.includes(n)?t.filter(e=>e!==n):[...t,n]:[n]:n);h(r),c?.(r),s||_(!1)},[s,c,m]),y=B(()=>{let e=(Array.isArray(m)?m:[m]).filter(Boolean);return s?e.map(e=>K(Br,{onClear:a?()=>v(e):Tt,disabled:n,children:e},e)):K(Hr,{preventAllEvents:!0,children:e[0]})},[m,s,a,n,v]),b=B(()=>({value:m,visible:f,disableAll:n,ref:u,updateValue:v,updateVisible:_}),[f,m,n,v]);return xe(t,()=>({destory:()=>_(!1)})),K(Mr,{value:b,children:K(`div`,{ref:u,role:`presentation`,onClick:e=>{e.stopPropagation(),e.nativeEvent.stopImmediatePropagation(),e.preventDefault(),n||(_(!f),e.preventDefault())},onMouseDown:e=>{f&&e.preventDefault()},...W(Ur[`#0`],n&&Ur[`#1`],Ur[`#2`](d.font(.875),d.height(2.25),n?`#888`:`#000`,d.width(1,`initial`),s?`auto`:`var(--select-height)`,`${d.pt(0)} ${d.pr(.334)} ${d.pb(0)} ${d.pl(.667)}`,`${d.mt(0)} ${d.mr(0)} ${d.mb(0)} ${d.ml(0)}`),n&&Ur[`#3`],Ur[`#4`]),...l,children:[K(`input`,{"aria-haspopup":`listbox`,readOnly:!0,className:`xixxii4 x1dquyif xvq1qyu xg01cxk x8knxv4 xnalus7 xqtp20y x1717udv xgxxoiu x1gs6z28`}),g&&K(`span`,{className:`x3nfvp2 x98rzlu xvtf8gz x6s0dn4 xo5v014 x1717udv x1e8vs62 x48o9cf x1noocy9`,children:K(Rr,{height:`var(--scale-height)`,children:i})}),m&&K(`div`,{className:`x78zum5 x1a02dak`,children:y}),K(Ir,{visible:f,children:o.map(e=>K(Hr,{...e,children:e.label},e.value))}),K(`div`,{...W(Wr[`#0`],f&&Wr[`#1`]),children:K(`svg`,{viewBox:`0 0 24 24`,strokeWidth:`1`,strokeLinecap:`round`,strokeLinejoin:`round`,fill:`none`,shapeRendering:`geometricPrecision`,className:`x1heor9g x73je2i x169l3ba x8rfdjs xkegcme`,children:K(`path`,{d:`M6 9l6 6 6-6`})})})]})})}));Gr.Option=Hr;const Kr=function(...e){return e}(`Stat`,`Gzipped`,`Brotli`),qr={"#0":{top:`x1eu8d0j`,left:`x12lbrt0`,zIndex:`x1n327nk`,$$css:!0},"#1":{visibility:`xlshs6z`,$$css:!0}};function Jr({onVisibleChange:e=Tt}){let{drawerVisibile:t}=Ot(),n=function(){let e=kt();return V(()=>e(e=>({...e,drawerVisibile:!e.drawerVisibile})),[e])}(),{scence:r,analyzeModule:i,sizes:a,ui:o}=Sn(),s=function(){let e=Cn();return V(t=>e(e=>({...e,scence:t})),[e])}(),c=wn(),[l,u]=L([]),d=z(null),f=z(null),p=B(()=>{let e=new Set(l);return sn(i.filter(t=>!e.size||e.has(t.label)||t.imports.some(t=>e.has(t))).map(e=>({...e,groups:e.source})),a,`label`)},[i,a,l]),m=B(()=>{switch(a){case`gzipSize`:return`Gzipped`;case`parsedSize`:return`Stat`;default:return`Brotli`}},[a]),h=B(()=>i.filter(e=>e.isEntry),[i]);R(()=>s(new Set(p.map(e=>e.label))),[p,s]);let g=e=>{c((()=>{switch(e){case`Gzipped`:return`gzipSize`;case`Stat`:return`parsedSize`;default:return`brotliSize`}})())};return K(T,{children:[K(Zn,{style:{position:`absolute`},auto:!0,scale:.25,icon:K(bn,{}),onClick:()=>{e(!t),n()},...W(qr[`#0`],t&&qr[`#1`])}),An&&K(`div`,{ref:f,id:`customMain`,children:C(o.Main?o.Main:`div`,null)}),K(or,{visible:t,padding:0,onClose:()=>{var e;(e=d.current)==null||e.destory(),n()},width:`450px`,children:K(or.Content,{paddingTop:.25,children:[K(`div`,{children:[K($,{p:!0,b:!0,h3:!0,children:`Treemap Sizes:`}),K(`div`,{className:`x78zum5 xozqiw3`,children:Kr.map(e=>K(`div`,{className:`x14odnwx x9f619`,children:K(Zn,{onClick:()=>g(e),auto:!0,type:m===e?`secondary`:`default`,scale:.7,children:e})},e))})]}),K(`div`,{children:[An&&K(`div`,{id:`customSideBar`,children:C(o.SideBar?o.SideBar:`div`,null)}),K($,{p:!0,b:!0,h3:!0,children:`Filter by entrypoints:`}),K(Gr,{ref:d,multiple:!0,scale:.75,placeholder:`Select endpoints`,width:`95.5%`,onChange:e=>{u(Array.isArray(e)?e:[e])},options:h.map(e=>({value:e.label,label:e.label}))})]}),K(`div`,{children:[K($,{p:!0,b:!0,h3:!0,children:`Search modules:`}),K(kr,{extra:a,files:p})]}),K(`div`,{children:[K($,{p:!0,b:!0,h3:!0,children:`Show Chunks:`}),K(Sr,{files:p,extra:a,scence:r,onChange:e=>s(new Set(e))})]})]})})]})}const Yr={x:10,y:30},Xr={"#0":{position:`x10l6tqk`,fontSize:`x1j6dyjg`,padding:`x36usyh`,borderRadius:`x12oqio5`,backgroundColor:`x17obkc5`,whiteSpace:`xuxw1ft`,zIndex:`x8k05lb`,visibility:`xnpuxes`,color:`xfungia`,$$css:!0},"#1":{transition:`x1mrvktd`,$$css:!0},"#2":{opacity:`xg01cxk`,visibility:`xlshs6z`,$$css:!0}};function Zr(e){let{children:t,visible:n}=e,r=z(null),[i,a]=L({top:0,left:0}),o=V(e=>{if(!n||!r.current)return;let t={top:e.pageY+Yr.y,left:e.pageX+Yr.x},i=r.current.getBoundingClientRect();a(e=>(t.left+i.width>window.innerWidth&&(t.left=window.innerWidth-i.width),t.top+i.height>window.innerHeight&&(t.top=t.top-Yr.y-i.height),{...e,...t}))},[n]);return R(()=>(document.addEventListener(`mousemove`,o,!0),()=>{document.removeEventListener(`mousemove`,o,!0)}),[o]),K(`div`,{ref:r,style:i,...W(Xr[`#0`],n&&Xr[`#1`],!n&&Xr[`#2`]),children:t})}const Qr={cubicInOut:e=>(e*=2)<1?.5*e*e*e:.5*((e-=2)*e*e+2)};var $r=class extends on{reset(){this.destory(),this.update()}get canvas(){return this.render.canvas}setZIndexForHighlight(e=`-1`){this.canvas.style.zIndex=e}init(){this.setZIndexForHighlight(),this.canvas.style.position=`absolute`,this.canvas.style.pointerEvents=`none`}};const ei={desc:{r:255,g:255,b:255},mode:`rgb`},ti={name:`treemap:preset-highlight`,onLoad(){let e=this.getPluginMetadata(`treemap:preset-highlight`);e&&(e.highlight||=new $r(this.instance.to))},onDOMEventTriggered(e,t,n,{stateManager:r,matrix:i}){if(e===`mousemove`&&r.canTransition(`MOVE`)){let e=this.getPluginMetadata(`treemap:preset-highlight`);if(!n){var a,o,s;(a=e.highlight)==null||a.reset(),(o=e.highlight)==null||o.update(),(s=e.highlight)==null||s.setZIndexForHighlight(),e.highlightSeq=(e.highlightSeq??0)+1;return}let[t,r,c,l]=n.layout,u=Math.min(n.config.rectRadius,c/4,l/4);e.highlightSeq=(e.highlightSeq??0)+1;let d=e.highlightSeq;$t((n,a)=>{var o,s,f,p,m;if(e.highlightSeq!==d){(m=e.highlight)==null||m.setZIndexForHighlight(),a();return}a(),(o=e.highlight)==null||o.reset();let h=qt(t,r,c,l,{fill:ei,opacity:.3,radius:u,padding:0});(s=e.highlight)==null||s.add(h),(f=e.highlight)==null||f.setZIndexForHighlight(`1`),Zt(h,i.e,i.f,1),(p=e.highlight)==null||p.update()},{duration:300})}},onResize(){var e,t,n;let r=this.getPluginMetadata(`treemap:preset-highlight`);r&&((e=r.highlight)==null||e.render.initOptions({...this.instance.render.options}),(t=r.highlight)==null||t.reset(),(n=r.highlight)==null||n.init())},onDispose(){let e=this.getPluginMetadata(`treemap:preset-highlight`);e&&e.highlight&&(e.highlight.destory(),e.highlight=null)},meta:{highlight:null,highlightSeq:0}},ni={name:`treemap:preset-drag-element`,onDOMEventTriggered(e,t,n,r){let{stateManager:i,matrix:a,component:o}=r;switch(e){case`mousemove`:{i.isInState(`DRAGGING`)?r.silent(`click`):r.active(`click`);let e=ii.call(this);if(!e)return;if(e.dragOptions.x===0&&e.dragOptions.y===0)return void i.transition(`IDLE`);if(i.transition(`DRAGGING`),i.isInState(`DRAGGING`)){let n=ri.call(this);$t((r,i)=>{i();let{offsetX:s,offsetY:c}=t.native,l=s-e.dragOptions.x,u=c-e.dragOptions.y,d=e.dragOptions.x,f=e.dragOptions.y;return n?.highlight&&(n.highlight.reset(),n.highlight.setZIndexForHighlight()),a.translation(l,u),e.dragOptions.x=s,e.dragOptions.y=c,e.dragOptions.lastX=d,e.dragOptions.lastY=f,o.cleanup(),o.draw(!1,!1),Qt(o.elements,a.e,a.f,1),o.update(),!0},{duration:300,deps:[()=>i.isInState(`IDLE`)]})}break}case`mouseup`:if(i.isInState(`PRESSED`)){let e=ii.call(this);if(e&&e.dragOptions&&e.dragOptions.x===e.dragOptions.lastX&&e.dragOptions.y===e.dragOptions.lastY)return void i.transition(`IDLE`)}if(i.isInState(`DRAGGING`)&&i.canTransition(`IDLE`)){let e=ri.call(this);e&&e.highlight&&(e.highlight.reset(),e.highlight.setZIndexForHighlight());let t=ii.call(this);t&&t.dragOptions&&(t.dragOptions.x=0,t.dragOptions.y=0,t.dragOptions.lastX=0,t.dragOptions.lastY=0,i.transition(`IDLE`))}break;case`mousedown`:{var s;if((s=t.native).which===2||s.which===3)return;let e=ii.call(this);if(!e)return;e.dragOptions.x=t.native.offsetX,e.dragOptions.y=t.native.offsetY,e.dragOptions.lastX=t.native.offsetX,e.dragOptions.lastY=t.native.offsetY,i.transition(`PRESSED`)}}},meta:{dragOptions:{x:0,y:0,lastX:0,lastY:0}},onResize({matrix:e,stateManager:t}){e.create(jt),t.reset()}};function ri(){return this.getPluginMetadata(`treemap:preset-highlight`)}function ii(){return this.getPluginMetadata(`treemap:preset-drag-element`)}function ai(){return this.getPluginMetadata(`treemap:preset-scale`)}function oi(e,{stateManager:t,component:n,matrix:r},i=!1){let a=ri.apply(e),o=()=>{a&&a.highlight&&(a.highlight.reset(),a.highlight.setZIndexForHighlight()),a&&(a.highlightSeq=(a.highlightSeq??0)+1),n.cleanup();let{width:e,height:i}=n.render.options;n.layoutNodes=n.calculateLayoutNodes(n.data,{w:e*r.a,h:i*r.d,x:0,y:0},1),n.draw(!0,!1),Qt(n.elements,r.e,r.f,1),n.update(),t.canTransition(`IDLE`)&&t.transition(`IDLE`)};i?$t((e,t)=>(t(),o(),!0),{duration:300}):o()}const si={name:`treemap:preset-zoomable`,onLoad(e,{stateManager:t,matrix:n}){return Xt(e,[{name:`zoom`,fn:()=>e=>{let r=this.getPluginMetadata(`treemap:preset-zoomable`);if(!r||t.isInState(`ZOOMING`))return;let i=this.resolveModuleById(e);if(!i)return;let a={e:n.e,f:n.f,a:n.a};r.previousMatrixState={e:n.e,f:n.f,a:n.a,d:n.d};let o=this.instance;t.transition(`ZOOMING`);let[s,c,l,u]=i.layout,{width:d,height:f}=o.render.options,p=n.a,m=Math.max(p,Math.min(Math.min(.85*d/l,.85*f/u),2*p)),h=d/2-(s+l/2)/p*m,g=f/2-(c+u/2)/p*m,_=ai.call(this);_&&(_.scaleOptions.scale=m);let v=ri.call(this),y=ii.call(this);y&&Object.assign(y.dragOptions,{x:0,y:0,lastX:0,lastY:0});let b={e:n.e,f:n.f,a:n.a,d:n.d};o.handleTransformCacheInvalidation(a,{e:h,f:g}),$t(e=>{let t=Qr.cubicInOut(e);n.create(jt),n.e=b.e+(h-b.e)*t,n.f=b.f+(g-b.f)*t,n.a=b.a+(m-b.a)*t,n.d=b.d+(m-b.d)*t,v?.highlight&&(v.highlight.reset(),v.highlight.setZIndexForHighlight()),v&&(v.highlightSeq=(v.highlightSeq??0)+1),o.cleanup(),o.layoutNodes=o.calculateLayoutNodes(o.data,{w:d*n.a,h:f*n.d,x:0,y:0},1),o.draw(!0,!1),Qt(o.elements,n.e,n.f,1),o.update()},{duration:300,onStop:()=>{t.reset()}})}}])},meta:{isZooming:!1}},ci=[{action:`zoom`,label:`Zoom`,icon:e=>K(`svg`,{viewBox:`0 0 256 256`,width:`1.2em`,height:`1.2em`,...e,children:K(`path`,{fill:`currentColor`,d:`M208 96a16 16 0 0 0 16-16V48a16 16 0 0 0-16-16h-32a16 16 0 0 0-16 16v8H96v-8a16 16 0 0 0-16-16H48a16 16 0 0 0-16 16v32a16 16 0 0 0 16 16h8v64h-8a16 16 0 0 0-16 16v32a16 16 0 0 0 16 16h32a16 16 0 0 0 16-16v-8h64v8a16 16 0 0 0 16 16h32a16 16 0 0 0 16-16v-32a16 16 0 0 0-16-16h-8V96Zm-32-48h32v32h-32ZM48 48h32v15.9a.5.5 0 0 0 0 .2V80H48Zm32 160H48v-32h32v15.9a.5.5 0 0 0 0 .2zm128 0h-32v-32h32Zm-24-48h-8a16 16 0 0 0-16 16v8H96v-8a16 16 0 0 0-16-16h-8V96h8a16 16 0 0 0 16-16v-8h64v8a16 16 0 0 0 16 16h8Z`})})},{action:`reset`,label:`Reset`,icon:()=>K(`svg`,{width:`16`,height:`16`,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,children:[K(`polyline`,{points:`23 4 23 10 17 10`}),K(`polyline`,{points:`1 20 1 14 7 14`}),K(`path`,{d:`20.49 9A9 9 0 0 0 5.64 5.64L1 10m22 4l-4.64 4.36A9 9 0 0 1 3.51 15`})]})},{action:`details`,label:`Show Details`,icon:e=>K(`svg`,{viewBox:`0 0 256 256`,width:`1.2em`,height:`1.2em`,...e,children:K(`path`,{fill:`currentColor`,d:`M216 40H40a16 16 0 0 0-16 16v144a16 16 0 0 0 16 16h176a16 16 0 0 0 16-16V56a16 16 0 0 0-16-16m0 160H40V56h176zM80 84a12 12 0 1 1-12-12a12 12 0 0 1 12 12m40 0a12 12 0 1 1-12-12a12 12 0 0 1 12 12`})})},{action:`close`,label:`Close`,icon:e=>K(`svg`,{viewBox:`0 0 256 256`,width:`1.2em`,height:`1.2em`,...e,children:K(`path`,{fill:`currentColor`,d:`M205.66 194.34a8 8 0 0 1-11.32 11.32L128 139.31l-66.34 66.35a8 8 0 0 1-11.32-11.32L116.69 128L50.34 61.66a8 8 0 0 1 11.32-11.32L128 116.69l66.34-66.35a8 8 0 0 1 11.32 11.32L139.31 128Z`})})}],li=({icon:e,label:t,onClick:n})=>K(`div`,{onClick:n,className:`x78zum5 x6s0dn4 x167g77z x1ff1495 x1ypdohk xolk286`,children:[K(e,{}),K(`span`,{children:t})]}),ui=32*ci.length,di={"#0":(e,t,n)=>[{position:`xixxii4`,left:e==null?null:`x837sfr`,insetInlineStart:null,insetInlineEnd:null,top:t==null?null:`x1g9fk1a`,zIndex:`x1q2oy4v`,backgroundColor:`x83z2og`,boxShadow:`x16ome7r`,borderRadius:`xur7f20`,borderStartStartRadius:null,borderStartEndRadius:null,borderEndStartRadius:null,borderEndEndRadius:null,borderTopLeftRadius:null,borderTopRightRadius:null,borderBottomLeftRadius:null,borderBottomRightRadius:null,border:`x2yh2zd`,borderWidth:null,borderInlineWidth:null,borderInlineStartWidth:null,borderLeftWidth:null,borderInlineEndWidth:null,borderRightWidth:null,borderBlockWidth:null,borderTopWidth:null,borderBottomWidth:null,borderStyle:null,borderInlineStyle:null,borderInlineStartStyle:null,borderLeftStyle:null,borderInlineEndStyle:null,borderRightStyle:null,borderBlockStyle:null,borderTopStyle:null,borderBottomStyle:null,borderColor:null,borderInlineColor:null,borderInlineStartColor:null,borderLeftColor:null,borderInlineEndColor:null,borderRightColor:null,borderBlockColor:null,borderTopColor:null,borderBottomColor:null,minWidth:n==null?null:`x1eqyben`,overflow:`xb3r6kr`,overflowX:null,overflowY:null,$$css:!0},{"--left":typeof e==`number`?e+`px`:e??void 0,"--top":typeof t==`number`?t+`px`:t??void 0,"--minWidth":typeof n==`number`?n+`px`:n??void 0}]},fi=Z(function({x:e,y:t,currentModule:n,container:r,onAction:i,canvasContext:a}){let[o,s]=L(null),c=B(()=>function(e,t,n){let r={width:window.innerWidth,height:window.innerHeight},i=e+8,a=t+8;if(i+160>r.width&&(i=e-160-8),a+ui>r.height&&(a=t-ui-8),n){let r=n.canvas.getBoundingClientRect();i+160>r.right&&(i=Math.min(e-160-8,r.right-160-8)),a+ui>r.bottom&&(a=Math.min(t-ui-8,r.bottom-ui-8)),i=Math.max(i,r.left+8),a=Math.max(a,r.top+8)}return{x:i=Math.max(8,Math.min(i,r.width-160-8)),y:a=Math.max(8,Math.min(a,r.height-ui-8))}}(e,t,a),[e,t,a]);return be(()=>{r&&s(r)},[r]),o?Qe(K(`div`,{className:`context-menu`,...W(di[`#0`](c.x,c.y,`160px`)),children:ci.map(({action:e,label:t,icon:r})=>K(li,{icon:r,label:t,onClick:()=>i(e,n)},e))}),o):null}),pi={name:`filter:data`,onModuleInit(e){this.instance.caches.size>0&&cn(this.instance.data).forEach(e=>{if(!e.id)return;let t=e.id;this.instance.caches.has(t)&&this.instance.caches.delete(t)});let t=e=>e.filter(n=>!e||!n.layout||!n.layout.some(e=>Number.isNaN(e))&&(Array.isArray(n.children)&&(n.children=t(n.children)),!0));this.instance.layoutNodes=t(e)}},mi=He((e,t)=>{let n=z(null),r=z(),{analyzeModule:i,sizes:a,scence:o}=Sn(),s=function(){let[e,t]=L(()=>new URLSearchParams(window.location.search));return R(()=>{let e=()=>{t(new URLSearchParams(window.location.search))};return window.addEventListener(`popstate`,e),window.addEventListener(`pushstate`,e),window.addEventListener(`replacestate`,e),()=>{window.removeEventListener(`popstate`,e),window.removeEventListener(`pushstate`,e),window.removeEventListener(`replacestate`,e)}},[]),e}(),c=wn(),l=B(()=>sn(i.filter(e=>o.has(e.label)).map(e=>function e(t,n,r){Array.isArray(t.groups)&&(t.groups=sn(t.groups.map(t=>e(t,n,r)),`weight`));let i={...t,weight:t[n]};return r&&Object.assign(i,r(i)),i}({...e,groups:e.source},a,e=>({...e,id:e.filename}))),`weight`),[i,o,a]);Wn(n,V(()=>{var e;return(e=r.current)?.resize()},[])),R(()=>{let e=s.get(`size`);e&&c(e===`gzip`?`gzipSize`:e===`stat`?`parsedSize`:`brotliSize`)},[s,c]),xe(t,()=>r.current);let u=V(e=>{var t,i;e?(r.current=function(e){let{plugins:t=[],graphic:n={}}=e||{},r=null,i=!1,a=null,o=null,s=new Gt;Array.isArray(t)||dn.panic(`Plugins should be an array`);let c={init:function(e){a=new yn(o=new hn(n,e)),(r=e).style.position=`relative`,i||(t.forEach(e=>o?.pluginDriver.use(e)),i=!0,o.pluginDriver.runHook(`onLoad`,c,a)),a.on(`__exposed__`,(e,t)=>s.emit(e,t))},dispose:function(){if(r&&o&&a){for(let e in a.destory(),o.destory(),r.removeChild(r.firstChild),s.eventCollections)s.off(e);o.pluginDriver.runHook(`onDispose`),r=null,o=null,a=null}},resize:l,setOptions:function(e){o??dn.panic("Treemap not initialized. Please call `init()` before setOptions."),o.data=function e(t,n){return t.map(t=>{let r={...t};return r.parent=n,r.groups&&Array.isArray(r.groups)&&(r.groups=e(r.groups,r)),r})}(e.data),l()}};function l(){if(!o||!r)return;let{width:e,height:t}=r.getBoundingClientRect();o.render.initOptions({height:t,width:e,devicePixelRatio:window.devicePixelRatio}),o.render.canvas.style.position=`absolute`,a&&o.pluginDriver.runHook(`onResize`,a),o.cleanup(),o.draw()}return Xt(c,[{name:`on`,fn:()=>s.on.bind(s)},{name:`off`,fn:()=>s.off.bind(s)}])}({plugins:[{name:`treemap:module-color`,onModuleInit(e){let t={};return function e(n,r=0,i=2*Math.PI,a=0){let o=n.reduce((e,t)=>e+t.node.weight,0);for(let s of n){let n=o?s.node.weight/o*i:0,c=r+n/2;t[s.node.id]=function(e,t=0){let n=180*e/Math.PI,r=Math.max(30,Math.round(100*(.6+.4*Math.max(0,Math.cos(e))))-2*t),i=Math.min(75,Math.round(100*(.5+.2*Math.max(0,Math.cos(e+2*Math.PI/3))))+.5*t);return{mode:`hsl`,desc:{h:(n+30*t)%360,s:r,l:i}}}(c,a),s.children&&s.children.length>0&&e(s.children,r,n,a+1),r+=n}}(e),{colorMappings:t}}},function(){let e=null,t=null,n=null,r=null,i=null,a=(e,n)=>{if(!r)return void console.warn(`Treemap instance is not available for menu action`);if(n)switch(e){case`zoom`:r.zoom(n.node.id);break;case`reset`:r.resize();break;case`details`:i?.emit(`__exposed__`,`show:details`,{module:n})}t?.render(null),i?.emit(`__exposed__`,`close:tooltip`,{state:!1})};return{name:`treemap:preset-menu`,onLoad(n){e||(t=vt(e=document.createElement(`div`)),document.body.append(e),r=n)},onDOMEventTriggered(r,o,s,c){if(c.stateManager.isInState(`DRAGGING`))return void a(`close`,null);if(o.kind===`contextmenu`&&(o.native.stopPropagation(),o.native.preventDefault(),i||=c,n=c.findRelativeNode({native:o.native,kind:void 0}),t&&e&&n)){c.emit(`__exposed__`,`close:tooltip`,{state:!0});let r=this.instance.render.ctx;t.render(K(fi,{x:o.native.clientX,y:o.native.clientY,currentModule:n,onAction:a,container:e,canvasContext:r}))}},onDispose(){e&&(t&&(t.unmount(),t=null),e=null,i=null,r=null)}}}(),ti,ni,si,pi,{name:`treemap:preset-scale`,onDOMEventTriggered(e,t,n,r){t.kind===`wheel`&&function(e,t,n){t.native.preventDefault();let r=ai.call(e);r&&(function(e,t){let n=Date.now();if(n-t.lastEventTime>150?Object.assign(t,{isTrackingGesture:!1,lastEventTime:n,eventCount:1,totalDeltaY:Math.abs(e.deltaY),totalDeltaX:Math.abs(e.deltaX),consecutivePinchEvents:0,gestureType:`unknown`,lockGestureType:!1}):(t.eventCount++,t.totalDeltaY+=Math.abs(e.deltaY),t.totalDeltaX+=Math.abs(e.deltaX),t.lastEventTime=n),e.ctrlKey||Math.abs(e.deltaX)>=100&&10>=Math.abs(e.deltaX)||Math.abs(e.deltaY)>50&&Math.abs(e.deltaX)<.1*Math.abs(e.deltaY))return t.gestureType=`zoom`,t.lockGestureType=!0,`zoom`;if(t.lockGestureType&&t.gestureType!==`unknown`)return t.gestureType;if(t.eventCount>=3){let n=t.totalDeltaY/t.eventCount,r=t.totalDeltaX/t.eventCount;if(n>8&&r/(n+.1)<.3&&Math.abs(e.deltaY)>5)return t.gestureType=`zoom`,t.lockGestureType=!0,`zoom`;t.gestureType=`pan`,t.lockGestureType=!0}return`pan`}(t.native,r.gestureState)===`zoom`?function(e,t,n){let{stateManager:r,matrix:i,component:a}=n,o=ai.call(e);if(!o)return;let{scale:s,minScale:c,maxScale:l,scaleFactor:u}=o.scaleOptions,d={e:i.e,f:i.f},f=Math.max(u,.1*s),p=Math.max(c,Math.min(l,s+(t.native.deltaY<0?f:-f)));if(p===s)return;r.transition(`SCALING`);let m=t.native.offsetX,h=t.native.offsetY,g=p/s;o.scaleOptions.scale=p,i.scale(g,g),i.e=m-(m-i.e)*g,i.f=h-(h-i.f)*g;let _={e:i.e,f:i.f};a.handleTransformCacheInvalidation(d,_),oi(e,n,!1)}(e,t,n):function(e,t,n){let{stateManager:r,matrix:i}=n,a=.8*t.native.deltaX,o=.8*t.native.deltaY;r.transition(`PANNING`),i.e-=a,i.f-=o,oi(e,n,!0)}(e,t,n))}(this,t,r)},meta:{scaleOptions:{scale:1,minScale:.1,maxScale:1/0,scaleFactor:.05},gestureState:{isTrackingGesture:!1,lastEventTime:0,eventCount:0,totalDeltaY:0,totalDeltaX:0,consecutivePinchEvents:0,gestureType:`unknown`,lockGestureType:!1}},onResize({matrix:e,stateManager:t}){let n=ai.call(this);n&&(n.scaleOptions.scale=1),e.create(jt),t.reset()}}]}),r.current.init(e)):((i=r.current)==null||i.dispose(),r.current=void 0),n.current=e},[]);return R(()=>{r.current&&r.current.setOptions({data:l})},[l]),R(()=>{var e;(e=r.current)==null||e.on(`click`,function(e){if(!e.module)return;let t=kn(`graph:click`,e.module);window.dispatchEvent(t)})},[]),R(()=>{var t,n,i;return(t=r.current)==null||t.on(`mousemove`,e.onMousemove),(n=r.current)==null||n.on(`close:tooltip`,e.onCloseTooltip),(i=r.current)==null||i.on(`show:details`,e.onShowDetails),()=>{var t,n,i;(t=r.current)==null||t.off(`mousemove`,e.onMousemove),(n=r.current)==null||n.off(`close:tooltip`,e.onCloseTooltip),(i=r.current)==null||i.off(`show:details`,e.onShowDetails)}},[e]),K(`div`,{ref:u,className:`x5yr21d xh8yej3 x1n2onr6`})}),hi=(e,t,n,r,i,a,o)=>[{position:`x1n2onr6`,bottom:`x1ey2m1c`,maxWidth:`x193iq5w`,verticalAlign:`xxymvpz`,overflow:`xysyzu8`,overflowX:null,overflowY:null,display:`x78zum5`,flexDirection:`xdt5ytf`,boxSizing:`x9f619`,backgroundColor:`x83z2og`,color:`xod0wng`,borderRadius:`x1kogg8i`,borderStartStartRadius:null,borderStartEndRadius:null,borderEndStartRadius:null,borderEndEndRadius:null,borderTopLeftRadius:null,borderTopRightRadius:null,borderBottomLeftRadius:null,borderBottomRightRadius:null,boxShadow:`xccmqgf`,opacity:`xg01cxk`,outline:`x1a2a7pz`,outlineColor:null,outlineOffset:null,outlineStyle:null,outlineWidth:null,transform:`x1r8yyj4`,transition:`xbfo2le`,transitionBehavior:null,transitionDelay:null,transitionDuration:null,transitionProperty:null,transitionTimingFunction:null,":not(#_).wrapper-enter_opacity":`x1nnve0i`,":not(#_).wrapper-enter_transform":`x1l6ye3o`,":not(#_).wrapper-enter-active_opacity":`x1bd8m36`,":not(#_).wrapper-enter-active_transform":`x1hos75b`,":not(#_).wrapper-leave_opacity":`xfcsejc`,":not(#_).wrapper-leave_transition":`xxkj379`,":not(#_).wrapper-leave_transitionBehavior":null,":not(#_).wrapper-leave_transitionDelay":null,":not(#_).wrapper-leave_transitionDuration":null,":not(#_).wrapper-leave_transitionProperty":null,":not(#_).wrapper-leave_transitionTimingFunction":null,":not(#_).wrapper-leave-active_opacity":`xos8r6s`,":not(#_).wrapper-leave-active_transform":`x8st7a0`,fontSize:e==null?null:`x6zurak`,"--wrapper-padding-left":t==null?null:`x1jvkqou`,"--wrapper-padding-right":n==null?null:`x1lzvinv`,padding:r==null?null:`x6rcfto`,paddingInline:null,paddingStart:null,paddingLeft:null,paddingEnd:null,paddingRight:null,paddingBlock:null,paddingTop:null,paddingBottom:null,margin:i==null?null:`x1cpkpif`,marginInline:null,marginInlineStart:null,marginLeft:null,marginInlineEnd:null,marginRight:null,marginBlock:null,marginTop:null,marginBottom:null,width:a==null?null:`x1bl4301`,height:o==null?null:`x1f5funs`,$$css:!0},{"--fontSize":typeof e==`number`?e+`px`:e??void 0,"----wrapper-padding-left":t??void 0,"----wrapper-padding-right":n??void 0,"--padding":typeof r==`number`?r+`px`:r??void 0,"--margin":typeof i==`number`?i+`px`:i??void 0,"--width":typeof a==`number`?a+`px`:a??void 0,"--height":typeof o==`number`?o+`px`:o??void 0}];function gi(e){let{visible:t,children:n,...r}=e,{SCALES:i}=Y(),a=z(null),o=z(null),s=z(null),{className:c,style:l}=W(hi(i.font(1),i.pl(1.3125),i.pr(1.3125),`${i.pt(1.3125)} var(--wrapper-padding-right) ${i.pb(1.3125)} var(--wrapper-padding-left)`,`${i.mt(0)} ${i.mr(0)} ${i.mb(0)} ${i.ml(0)}`,i.width(1,`auto`),i.height(1,`100%`))),u=q(c,`wrapper`);return R(()=>{if(!t)return;let e=document.activeElement;!function(e,t){if(!e||!t)return!1;let n=t;for(;n;){if(n===e)return!0;n=n.parentNode}return!1}(a.current,e)&&o.current&&o.current.focus()},[t]),K(er,{name:`wrapper`,visible:t,clearTime:300,children:K(`div`,{role:`dialog`,tabIndex:-1,className:u,style:l,onKeyDown:e=>{let n=e.keyCode===9;if(!t||!n)return;let r=document.activeElement;e.shiftKey?r===o.current&&s.current&&s.current.focus():r===s.current&&o.current&&o.current.focus()},ref:a,...r,children:[K(`div`,{tabIndex:0,className:`hide-tab`,"aria-hidden":`true`,ref:o}),n,K(`div`,{tabIndex:0,className:`hide-tab`,"aria-hidden":`true`,ref:s})]})})}function _i(e,t){switch(t.type){case`SYNC_WITH_PROPS`:return{...e,visible:t.payload};case`CLOSE`:return{...e,visible:!1};default:return e}}const vi=Z(function(e){let t=Un(`modal`),{disableBackdropClick:n,children:r,visible:i=!1,keyboard:a=!0,onClose:o}=e,[,s]=Fn({delayReset:300}),[c,l]=ye(_i,{visible:i}),{SCALES:u}=Y();R(()=>{i!==void 0&&i!==c.visible&&(l({type:`SYNC_WITH_PROPS`,payload:i}),s(i))},[i,c.visible,s]);let d=()=>{o?.(),l({type:`CLOSE`}),s(!1)},{bindings:f}=function(e,t,n={}){let r=Array.isArray(t)?t:[t],{disableGlobalEvent:i=!1,capture:a=!1,stopPropagation:o=!1,preventDefault:s=!0,event:c=`keydown`}=n,l=function(e){let t=e.filter(e=>!!Bn[e]),n={CtrlCmd:!1,Shift:!1,Alt:!1,WinCtrl:!1};return t.forEach(e=>{n[Bn[e]]=!0}),n}(r),u=r.filter(e=>!Bn[e]),d=t=>{if(l.Shift&&!t.shiftKey||l.Alt&&!t.altKey||l.CtrlCmd&&!t[Vn]||l.WinCtrl&&!t[Hn])return;let n=u.find(e=>e===t.keyCode);(!u||n)&&(o&&t.stopPropagation(),s&&t.preventDefault(),e&&e(t))};R(()=>(i||document.addEventListener(c,d),()=>{document.removeEventListener(c,d)}),[i]);let f=(e,t=!1)=>e!==c||t!==a?()=>{}:e=>d(e);return{bindings:{onKeyDown:f(`keydown`),onKeyDownCapture:f(`keydown`,!0),onKeyPress:f(`keypress`),onKeyPressCapture:f(`keypress`,!0),onKeyUp:f(`keyup`),onKeyUpCapture:f(`keyup`,!0)}}}(()=>{a&&d()},zn.Escape,{disableGlobalEvent:!0});return t?Qe(K(nr,{width:u.width(26),visible:c.visible,onClick:()=>{n||d()},...f,children:K(gi,{visible:c.visible,children:r})}),t):null});function yi(){let e=function(){let e=Cn();return V((t,n)=>e(e=>({...e,ui:{...e.ui,[t]:n}})),[e])}(),t=function(){let e=Cn();return V(t=>e(e=>({...e,analyzeModule:t})),[e])}();return R(()=>{let n=t=>{t.detail.Component&&e(t.detail.type,t.detail.Component)},r=e=>{e.detail.analyzeModule&&t(e.detail.analyzeModule)};window.addEventListener(`send:ui`,n),window.addEventListener(`send:filter`,r);let i=kn(`client:ready`,{});return window.dispatchEvent(i),()=>{window.removeEventListener(`send:ui`,n),window.removeEventListener(`send:filter`,r)}},[e,t]),K(`div`,{})}const bi=e=>[{display:`x1lliihq`,maxWidth:e==null?null:`x10cxd3o`,whiteSpace:`xuxw1ft`,textOverflow:`xlyipyv`,overflow:`xb3r6kr`,overflowX:null,overflowY:null,fontSize:`xif65rj`,$$css:!0},{"--maxWidth":typeof e==`number`?e+`px`:e??void 0}];function xi({text:e,maxWidth:t=`500px`}){let n=z(null),[r,i]=L(!1),[a,o]=L(!1),[s,c]=L({top:0,left:0}),l=z(null),[u,d]=L(!1);return R(()=>{n.current&&i(n.current.scrollWidth>n.current.clientWidth)},[e]),K(T,{children:[K(`div`,{ref:n,onMouseEnter:V(e=>{if(!r)return;let t={x:10,y:10};c({top:e.pageY-t.y,left:e.pageX+t.x}),d(!0),requestAnimationFrame(()=>{o(!0)})},[r]),onMouseMove:V(e=>{if(!a||!r)return;let t={x:10,y:10},n={top:e.pageY-t.y,left:e.pageX+t.x};if(l.current){let e=l.current.getBoundingClientRect();n.left+e.width>window.innerWidth&&(n.left=window.innerWidth-e.width-10),n.top+e.height>window.innerHeight&&(n.top=n.top-e.height-t.y)}c(n)},[a,r]),onMouseLeave:()=>{o(!1),d(!1)},...W(bi(t)),children:e}),a&&u&&r&&Qe(K(`div`,{ref:l,style:{top:s.top,left:s.left},className:`x10l6tqk x1jckody xfungia xk61eof x12oqio5 xfifm61 xrlsmeg x1yn0g08 x1q2oy4v x47corl x1kpx6y5`,children:e}),document.body)]})}window.React=H,window.ReactDOM=H,{createRoot:vt,hydrateRoot:function(e,t){return at(t,e),vt(e)}}.createRoot(document.querySelector(`#app`)).render(K(H.StrictMode,{children:K(function(){var e;let t=z(),[n,r]=L(!1),[i,a]=L({}),[o,s]=L(!1),[c,l]=L(!1),u=[K(xn,{},`app`),K(En,{value:{treemap:t}},`treemap`)];return K(St,{contexts:u,children:K(`div`,{className:`x5yr21d xh8yej3 x1n2onr6`,children:[K(yi,{}),K(Dt,{children:K(Jr,{onVisibleChange:e=>r(!e)})}),K(mi,{ref:e=>t.current=e,onMousemove:e=>{if(o)return void r(!1);r(!!e.module),e.module&&a(()=>e.module.node)},onCloseTooltip:({state:e})=>{r(!1),s(e)},onShowDetails:({module:e})=>{l(!0),a(e.node)}}),K(Zr,{visible:n,children:i&&K($,{font:`14px`,div:!0,children:[i.filename,K(Q,{inline:!0,w:.3}),On(i.weight)]})}),K(vi,{visible:c,onClose:()=>l(!1),width:`600px`,height:`700px`,children:K(`div`,{className:`x14wi4xw`,children:[i.label&&K(T,{children:[K(`div`,{className:`x3nfvp2 xuxw1ft xh8yej3`,children:[K($,{b:!0,font:`14px`,mr:.3,children:`Id:`}),K(xi,{text:i.label})]}),K(Q,{h:.5})]}),K(`div`,{className:`x3nfvp2 xuxw1ft xh8yej3`,children:[K($,{b:!0,p:!0,font:`14px`,mr:.3,children:`Size:`}),K($,{font:`14px`,children:On(i.weight)})]}),K(Q,{h:.5}),i.filename&&K(T,{children:[K(`div`,{className:`x78zum5 x6s0dn4 x1ypdohk`,children:[K($,{b:!0,font:`14px`,mr:.3,children:`Path:`}),K(xi,{text:i.filename||``})]}),K(Q,{h:2})]}),K(`div`,{children:[K($,{p:!0,b:!0,font:`14px`,children:`Dependencies Graphic`}),(e=i.importedBy)?.length>0?K(`div`,{className:`x14vqqas`,children:[K(`div`,{className:`x1yztbdb`,children:[K(`div`,{className:`x78zum5 x6s0dn4 x1e56ztr x1t86e6c xjkvuk6`,children:[K(`div`,{className:`x37q7bq x1xc55vz xdk7pt x16rqkct x15ku74s`}),K($,{b:!0,font:`13px`,children:`Static Imports`})]}),K(`div`,{className:`x78zum5 xdt5ytf x167g77z`,children:[i.importedBy.filter(e=>e.kind===`static`).map(e=>K(`div`,{className:`x78zum5 x6s0dn4 x18tqr4w x12oqio5 x1h2kqdt x1ypdohk xlfp1p4`,children:[K(wt,{className:`xl9u288 x1db2dqx`}),K(xi,{text:e.id})]},e.id)),!i.importedBy.some(e=>e.kind===`static`)&&K($,{font:`13px`,children:`No static imports`})]})]}),K(`div`,{children:[K(`div`,{className:`x78zum5 x6s0dn4 x1e56ztr x1t86e6c xjkvuk6`,children:[K(`div`,{className:`x64ezgx x1xc55vz xdk7pt x16rqkct x15ku74s`}),K($,{b:!0,font:`13px`,children:`Dynamic Imports`})]}),K(`div`,{className:`x78zum5 xdt5ytf x167g77z`,children:[i.importedBy.filter(e=>e.kind===`dynamic`).map(e=>K(`div`,{className:`x78zum5 x6s0dn4 x18tqr4w x12oqio5 x1h2kqdt x1ypdohk xlfp1p4`,children:[K(wt,{className:`x1xaha6o x1db2dqx`}),K(xi,{text:e.id})]},e.id)),!i.importedBy.some(e=>e.kind===`dynamic`)&&K($,{font:`13px`,children:`No dynamic imports`})]})]})]}):K($,{p:!0,font:`14px`,children:`No dependencies`})]})]})})]})})},{})}));</script>
|
|
3
|
+
<style>.x17z0ygo{--button-height:var(----button-height)}.x133zavi{--button-icon-padding:var(----button-icon-padding)}.x1z0zqlx{--checkbox-size:var(----checkbox-size)}.x1loo8q6{--disabled-color:var(----disabled-color)}.x17cxeg8{--input-height:var(----input-height)}.x157cck6{--select-font-size:var(----select-font-size)}.xb0tj9l{--select-height:var(----select-height)}.x1jvkqou{--wrapper-padding-left:var(----wrapper-padding-left)}.x1lzvinv{--wrapper-padding-right:var(----wrapper-padding-right)}.x1gz5s8:not(#_) label{--checkbox-size:var(--l85ac7)}.x1wty727:not(#\#){border:0}.xangja0:not(#\#){border:1px solid #666}.x2yh2zd:not(#\#){border:1px solid #e0e0e0}.xyufjl1:not(#\#){border:1px solid #eaeaea}.x1gs6z28:not(#\#){border:none}.xaqv6k0:not(#\#){margin:.25em .625em}.x1ghz6dp:not(#\#){margin:0}.x1v36x0e:not(#\#){margin:20px auto}.x10d6zji:not(#\#){margin:3px}.x1cpkpif:not(#\#){margin:var(--margin)}.x19dmtcs:not(#\#){padding:.38em 0}.x1kkmlke:not(#\#){padding:0 .5em}.x1jfc3ad:not(#\#){padding:0 0 0 .5em}.x1717udv:not(#\#){padding:0}.x36usyh:not(#\#){padding:5px 10px}.x14odnwx:not(#\#){padding:5px}.xk61eof:not(#\#){padding:6px 10px}.x18tqr4w:not(#\#){padding:6px 8px}.x1ff1495:not(#\#){padding:8px 16px}.x6rcfto:not(#\#){padding:var(--padding)}.xj19f4n:not(#_) svg:not(#\#){background:0 0}.xf3v1kg:not(#_)>div:not(.clear-icon):not(#\#){margin:0}.x1rcfzub:not(#_)>div:not(.clear-icon):not(#\#){padding:0}.x1t86e6c:not(#\#):not(#\#){border-bottom:1px solid #b4b4b433}.x1w1i4ky:not(#\#):not(#\#){border-color:#000}.x2u8bby:not(#\#):not(#\#){border-radius:0}.x12oqio5:not(#\#):not(#\#){border-radius:4px}.x16rqkct:not(#\#):not(#\#){border-radius:50%}.x1kogg8i:not(#\#):not(#\#){border-radius:6px}.xur7f20:not(#\#):not(#\#){border-radius:8px}.x98rzlu:not(#\#):not(#\#){flex:1}.x167g77z:not(#\#):not(#\#){gap:8px}.x1a2a7pz:not(#\#):not(#\#){outline:none}.xysyzu8:not(#\#):not(#\#){overflow:auto}.xb3r6kr:not(#\#):not(#\#){overflow:hidden}.x169l3ba:not(#\#):not(#\#){transition:all .2s}.x1i4et0z:not(#\#):not(#\#){transition:background .2s,border-color .2s}.x1qq1cb0:not(#\#):not(#\#){transition:background-color .2s,box-shadow .2s,border .2s,color .2s}.x1h2kqdt:not(#\#):not(#\#){transition:background-color .2s}.xbzwucg:not(#\#):not(#\#){transition:border .15s ease-in,color .2s ease-out,box-shadow .2s}.xlwirvm:not(#\#):not(#\#){transition:border .2s,color .2s}.x1agbc2l:not(#\#):not(#\#){transition:color .15s}.x1mrvktd:not(#\#):not(#\#){transition:opacity .2s,visibility .2s}.xpgyz80:not(#\#):not(#\#){transition:opacity .35s cubic-bezier(.4,0,.2,1)}.xbfo2le:not(#\#):not(#\#){transition:opacity .3s cubic-bezier(.33,1,.68,1),transform .3s cubic-bezier(.33,1,.68,1)}.x1g1qvgx:not(#\#):not(#\#){transition:opacity,transform .4s cubic-bezier(.1,.6,.1,1)}.x1jaox4c:not(#\#):not(#\#){transition:transform .2s}.xyb2zxc:not(#_)>div:not(.clear-icon):not(#\#):not(#\#){border-radius:0}.x1na6a3r:not(#_).wrapper-leave:not(#\#):not(#\#){transition:opacity,transform .4s cubic-bezier(.1,.2,.1,1)}.xxkj379:not(#_).wrapper-leave:not(#\#):not(#\#){transition:translate3d(0px,0px,0px)}.xah4ygw:hover:not(#\#):not(#\#){border-color:#000}.x1gzs9z5:hover:not(#\#):not(#\#){border-color:#eaeaea}.x1lugfcp:not(#\#):not(#\#):not(#\#){-webkit-appearance:none}.x5lxg6s:not(#\#):not(#\#):not(#\#){-webkit-overflow-scrolling:touch}.x6s0dn4:not(#\#):not(#\#):not(#\#){align-items:center}.x1r1mewj:not(#\#):not(#\#):not(#\#){background-color:#000}.x37q7bq:not(#\#):not(#\#):not(#\#){background-color:#0ea5e9}.x17obkc5:not(#\#):not(#\#):not(#\#){background-color:#333}.xoieadz:not(#\#):not(#\#):not(#\#){background-color:#eaeaea}.x64ezgx:not(#\#):not(#\#):not(#\#){background-color:#f97316}.x83z2og:not(#\#):not(#\#):not(#\#){background-color:#fff}.x42x0ya:not(#\#):not(#\#):not(#\#){background-color:#000}.x1jckody:not(#\#):not(#\#):not(#\#){background-color:#333333f2}.xjbqb8w:not(#\#):not(#\#):not(#\#){background-color:#0000}.xjaf1n4:not(#\#):not(#\#):not(#\#){background-color:var(--bcbnzo)}.x1kpx6y5:not(#\#):not(#\#):not(#\#){box-shadow:0 2px 8px #00000026}.xccmqgf:not(#\#):not(#\#):not(#\#){box-shadow:0 30px 60px #0000001f}.x16ome7r:not(#\#):not(#\#):not(#\#){box-shadow:0 4px 12px #00000026}.x1gnnqk1:not(#\#):not(#\#):not(#\#){box-shadow:none}.x9f619:not(#\#):not(#\#):not(#\#){box-sizing:border-box}.xod0wng:not(#\#):not(#\#):not(#\#){color:#000}.xl9u288:not(#\#):not(#\#):not(#\#){color:#0ea5e9}.xr73bf:not(#\#):not(#\#):not(#\#){color:#444}.x33gn0b:not(#\#):not(#\#):not(#\#){color:#666}.x1g3taxb:not(#\#):not(#\#):not(#\#){color:#888}.x1noocy9:not(#\#):not(#\#):not(#\#){color:#999}.x1xaha6o:not(#\#):not(#\#):not(#\#){color:#f97316}.xfungia:not(#\#):not(#\#):not(#\#){color:#fff}.x15rks2t:not(#\#):not(#\#):not(#\#){color:currentColor}.x1heor9g:not(#\#):not(#\#):not(#\#){color:inherit}.x1n25116:not(#\#):not(#\#):not(#\#){color:var(--4xs81a)}.x1h6gzvc:not(#\#):not(#\#):not(#\#){cursor:not-allowed}.x1ypdohk:not(#\#):not(#\#):not(#\#){cursor:pointer}.x1lliihq:not(#\#):not(#\#):not(#\#){display:block}.x78zum5:not(#\#):not(#\#):not(#\#){display:flex}.x1rg5ohu:not(#\#):not(#\#):not(#\#){display:inline-block}.x3nfvp2:not(#\#):not(#\#):not(#\#){display:inline-flex}.xdt5ytf:not(#\#):not(#\#):not(#\#){flex-direction:column}.x2lah0s:not(#\#):not(#\#):not(#\#){flex-shrink:0}.xozqiw3:not(#\#):not(#\#):not(#\#){flex-wrap:nowrap}.x1a02dak:not(#\#):not(#\#):not(#\#){flex-wrap:wrap}.xgxxoiu:not(#\#):not(#\#):not(#\#){font-size:0}.x1j6dyjg:not(#\#):not(#\#):not(#\#){font-size:11px}.xfifm61:not(#\#):not(#\#):not(#\#){font-size:12px}.xif65rj:not(#\#):not(#\#):not(#\#){font-size:14px}.x1k5u5a4:not(#\#):not(#\#):not(#\#){font-size:var(--checkbox-size)}.x6zurak:not(#\#):not(#\#):not(#\#){font-size:var(--fontSize)}.x48o9cf:not(#\#):not(#\#):not(#\#){font-size:var(--select-font-size)}.x4andz0:not(#\#):not(#\#):not(#\#){font-style:bold}.x1k4tb9n:not(#\#):not(#\#):not(#\#){font-style:italic}.xo1l8bm:not(#\#):not(#\#):not(#\#){font-weight:400}.x1fcty0u:not(#\#):not(#\#):not(#\#){font-weight:400}.xl56j7k:not(#\#):not(#\#):not(#\#){justify-content:center}.x1nhvcw1:not(#\#):not(#\#):not(#\#){justify-content:flex-start}.x1o2pa38:not(#\#):not(#\#):not(#\#){justify-items:center}.xo5v014:not(#\#):not(#\#):not(#\#){line-height:1}.x15bjb6t:not(#\#):not(#\#):not(#\#){line-height:inherit}.xo7gfgx:not(#\#):not(#\#):not(#\#){line-height:var(--checkbox-size)}.x18bv5gf:not(#\#):not(#\#):not(#\#){line-height:var(--lineHeight)}.xvpkmg4:not(#\#):not(#\#):not(#\#){opacity:.25}.xti2d7y:not(#\#):not(#\#):not(#\#){opacity:.4}.x18km98s:not(#\#):not(#\#):not(#\#){opacity:.75}.xg01cxk:not(#\#):not(#\#):not(#\#){opacity:0}.x1hc1fzr:not(#\#):not(#\#):not(#\#){opacity:1}.x1xzczws:not(#\#):not(#\#):not(#\#){overflow-anchor:none}.x47corl:not(#\#):not(#\#):not(#\#){pointer-events:none}.x10l6tqk:not(#\#):not(#\#):not(#\#){position:absolute}.xixxii4:not(#\#):not(#\#):not(#\#){position:fixed}.x1n2onr6:not(#\#):not(#\#):not(#\#){position:relative}.x1uhb9sk:not(#\#):not(#\#):not(#\#){position:static}.xkcv6ua:not(#\#):not(#\#):not(#\#){scroll-behavior:smooth}.x73je2i:not(#\#):not(#\#):not(#\#){stroke:currentColor}.x2b8uid:not(#\#):not(#\#):not(#\#){text-align:center}.x14wi4xw:not(#\#):not(#\#):not(#\#){text-align:initial}.xdpxx8g:not(#\#):not(#\#):not(#\#){text-align:left}.xlyipyv:not(#\#):not(#\#):not(#\#){text-overflow:ellipsis}.xn80e1m:not(#\#):not(#\#):not(#\#){text-transform:capitalize}.x1c071of:not(#\#):not(#\#):not(#\#){transform:none}.x12x3gb1:not(#\#):not(#\#):not(#\#){transform:scale(.4)}.x1rj10qa:not(#\#):not(#\#):not(#\#){transform:translate(-100%)}.x1r8yyj4:not(#\#):not(#\#):not(#\#){transform:translateY(-30px)}.x1lwuebi:not(#\#):not(#\#):not(#\#){transform:translateY(-50%)rotate(180deg)}.x1cb1t30:not(#\#):not(#\#):not(#\#){transform:translateY(-50%)}.x87ps6o:not(#\#):not(#\#):not(#\#){-webkit-user-select:none;user-select:none}.xxymvpz:not(#\#):not(#\#):not(#\#){vertical-align:middle}.xlshs6z:not(#\#):not(#\#):not(#\#){visibility:hidden}.xnpuxes:not(#\#):not(#\#):not(#\#){visibility:visible}.xuxw1ft:not(#\#):not(#\#):not(#\#){white-space:nowrap}.x1yn0g08:not(#\#):not(#\#):not(#\#){word-break:break-all}.x8knxv4:not(#\#):not(#\#):not(#\#){z-index:-1}.x1vjfegm:not(#\#):not(#\#):not(#\#){z-index:1}.x1n327nk:not(#\#):not(#\#):not(#\#){z-index:10}.xfo81ep:not(#\#):not(#\#):not(#\#){z-index:1000}.x1bkdxzg:not(#\#):not(#\#):not(#\#){z-index:1001}.xp6lfbs:not(#\#):not(#\#):not(#\#){z-index:1100}.x8k05lb:not(#\#):not(#\#):not(#\#){z-index:200}.x1q2oy4v:not(#\#):not(#\#):not(#\#){z-index:9999}.x1j1oo8:not(#_)>div:not(.clear-icon):not(#\#):not(#\#):not(#\#){background-color:#0000}.x19jpgsc:not(#_)>div:not(.clear-icon):not(#\#):not(#\#):not(#\#){color:inherit}.x11gl0pa:not(#_).font:not(#\#):not(#\#):not(#\#){font-size:var(--b288sc)}.x8o2t21:not(#_).wrapper-leave-active:not(#\#):not(#\#):not(#\#){opacity:.4}.xfcsejc:not(#_).wrapper-leave:not(#\#):not(#\#):not(#\#){opacity:.5}.x1nnve0i:not(#_).wrapper-enter:not(#\#):not(#\#):not(#\#),.xos8r6s:not(#_).wrapper-leave-active:not(#\#):not(#\#):not(#\#){opacity:0}.x1bd8m36:not(#_).wrapper-enter-active:not(#\#):not(#\#):not(#\#),.x4yp4uk:not(#_).wrapper-leave:not(#\#):not(#\#):not(#\#){opacity:1}.xt4ltl4:not(#_).wrapper-enter:not(#\#):not(#\#):not(#\#),.x11lwuue:not(#_).wrapper-leave-active:not(#\#):not(#\#):not(#\#){transform:translate(-100%)}.x1dv32gl:not(#_).wrapper-enter-active:not(#\#):not(#\#):not(#\#){transform:translate(0,0)}.x1l6ye3o:not(#_).wrapper-enter:not(#\#):not(#\#):not(#\#),.x8st7a0:not(#_).wrapper-leave-active:not(#\#):not(#\#):not(#\#){transform:translateY(-30px)}.x1hos75b:not(#_).wrapper-enter-active:not(#\#):not(#\#):not(#\#){transform:translate(0,0)}.xolk286:hover:not(#\#):not(#\#):not(#\#){background-color:#f5f5f5}.xlfp1p4:hover:not(#\#):not(#\#):not(#\#){background-color:#3c3c3c1a}.x1ttfofm:hover:not(#\#):not(#\#):not(#\#){background-color:var(--1e2mv7m)}.x1x8dl09:hover:not(#\#):not(#\#):not(#\#){color:#000}.x1sw8hja:hover:not(#\#):not(#\#):not(#\#){color:#333}.x74ai9j:hover:not(#\#):not(#\#):not(#\#){color:var(--1113oo7)}.xfrllxf:not(#\#):not(#\#):not(#\#):not(#\#){border-bottom-left-radius:0}.x1ia1hqs:not(#\#):not(#\#):not(#\#):not(#\#){border-top-left-radius:0}.x1ey2m1c:not(#\#):not(#\#):not(#\#):not(#\#){bottom:0}.xqtp20y:not(#\#):not(#\#):not(#\#):not(#\#){height:0}.xkegcme:not(#\#):not(#\#):not(#\#):not(#\#){height:1.214em}.x5yr21d:not(#\#):not(#\#):not(#\#):not(#\#){height:100%}.xlzyvqe:not(#\#):not(#\#):not(#\#):not(#\#){height:1em}.xdk7pt:not(#\#):not(#\#):not(#\#):not(#\#){height:8px}.x1wwwx2g:not(#\#):not(#\#):not(#\#):not(#\#){height:calc(var(--checkbox-size)*.86)}.x97urd1:not(#\#):not(#\#):not(#\#):not(#\#){height:calc(var(--input-height) - 2px)}.x1vjvdv0:not(#\#):not(#\#):not(#\#):not(#\#){height:calc(var(--select-font-size)*2)}.x1f5funs:not(#\#):not(#\#):not(#\#):not(#\#){height:var(--height)}.x15v3xai:not(#\#):not(#\#):not(#\#):not(#\#){height:var(--input-height)}.xvtf8gz:not(#\#):not(#\#):not(#\#):not(#\#){height:var(--select-height)}.xvq1qyu:not(#\#):not(#\#):not(#\#):not(#\#){left:-10000px}.xu96u03:not(#\#):not(#\#):not(#\#):not(#\#){left:0}.x12lbrt0:not(#\#):not(#\#):not(#\#):not(#\#){left:10px}.x837sfr:not(#\#):not(#\#):not(#\#):not(#\#){left:var(--left)}.x1yztbdb:not(#\#):not(#\#):not(#\#):not(#\#){margin-bottom:16px}.x1e56ztr:not(#\#):not(#\#):not(#\#):not(#\#){margin-bottom:8px}.x1e8vs62:not(#\#):not(#\#):not(#\#):not(#\#){margin-right:1.25em}.x15ku74s:not(#\#):not(#\#):not(#\#):not(#\#){margin-right:6px}.x1db2dqx:not(#\#):not(#\#):not(#\#):not(#\#){margin-right:8px}.x14vqqas:not(#\#):not(#\#):not(#\#):not(#\#){margin-top:12px}.x9iil81:not(#\#):not(#\#):not(#\#):not(#\#){max-height:17em}.x193iq5w:not(#\#):not(#\#):not(#\#):not(#\#){max-width:100%}.xrlsmeg:not(#\#):not(#\#):not(#\#):not(#\#){max-width:600px}.xq8v1hd:not(#\#):not(#\#):not(#\#):not(#\#){max-width:90%}.x95b5qq:not(#\#):not(#\#):not(#\#):not(#\#){max-width:90vw}.x10cxd3o:not(#\#):not(#\#):not(#\#):not(#\#){max-width:var(--maxWidth)}.x5kuxme:not(#\#):not(#\#):not(#\#):not(#\#){min-height:var(--select-height)}.xeuugli:not(#\#):not(#\#):not(#\#):not(#\#){min-width:0}.x1eqyben:not(#\#):not(#\#):not(#\#):not(#\#){min-width:var(--minWidth)}.x1odjw0f:not(#\#):not(#\#):not(#\#):not(#\#){overflow-y:auto}.xjkvuk6:not(#\#):not(#\#):not(#\#):not(#\#){padding-bottom:4px}.xvwk5ba:not(#\#):not(#\#):not(#\#):not(#\#){padding-left:calc(var(--checkbox-size)*.5)}.x3m8u43:not(#\#):not(#\#):not(#\#):not(#\#){right:0}.x17o19ii:not(#\#):not(#\#):not(#\#):not(#\#){right:4pt}.xwukr4l:not(#\#):not(#\#):not(#\#):not(#\#){right:auto}.x1dquyif:not(#\#):not(#\#):not(#\#):not(#\#){top:-10000px}.x1pdr0v7:not(#\#):not(#\#):not(#\#):not(#\#){top:-1px}.x13vifvy:not(#\#):not(#\#):not(#\#):not(#\#){top:0}.x1eu8d0j:not(#\#):not(#\#):not(#\#):not(#\#){top:10px}.xwa60dl:not(#\#):not(#\#):not(#\#):not(#\#){top:50%}.x1g9fk1a:not(#\#):not(#\#):not(#\#):not(#\#){top:var(--top)}.xnalus7:not(#\#):not(#\#):not(#\#):not(#\#){width:0}.x8rfdjs:not(#\#):not(#\#):not(#\#):not(#\#){width:1.214em}.xh8yej3:not(#\#):not(#\#):not(#\#):not(#\#){width:100%}.x15vhz18:not(#\#):not(#\#):not(#\#):not(#\#){width:1em}.x1xc55vz:not(#\#):not(#\#):not(#\#):not(#\#){width:8px}.x14atkfc:not(#\#):not(#\#):not(#\#):not(#\#){width:auto}.x10c8zq6:not(#\#):not(#\#):not(#\#):not(#\#){width:calc(var(--checkbox-size)*.86)}.xkpqg4h:not(#\#):not(#\#):not(#\#):not(#\#){width:calc(var(--input-height) - 2px)}.x10rsq8x:not(#\#):not(#\#):not(#\#):not(#\#){width:initial}.x1bl4301:not(#\#):not(#\#):not(#\#):not(#\#){width:var(--width)}.x1oi2qra:not(#_) svg:not(#\#):not(#\#):not(#\#):not(#\#){height:calc(var(--button-height)/2.35)}.x15oxxgp:not(#_).my:not(#\#):not(#\#):not(#\#):not(#\#){margin-bottom:var(--m51g4c)}.xo55tbh:not(#_).mx:not(#\#):not(#\#):not(#\#):not(#\#){margin-left:var(--1sd982c)}.xxcdmaa:not(#_) label:last-of-type:not(#\#):not(#\#):not(#\#):not(#\#){margin-right:0}.x1dmjli3:not(#_).mx:not(#\#):not(#\#):not(#\#):not(#\#){margin-right:var(--1lm2ntt)}.x1gdp0cg:not(#_) label:not(#\#):not(#\#):not(#\#):not(#\#){margin-right:var(--1lyhohe)}.x1sfdyv3:not(#_).my:not(#\#):not(#\#):not(#\#):not(#\#){margin-top:var(--245nv0)}.x114yr9h:not(#_).py:not(#\#):not(#\#):not(#\#):not(#\#){padding-bottom:var(--18zo6c)}.x1cs2ckj:not(#_).px:not(#\#):not(#\#):not(#\#):not(#\#){padding-left:var(--1d3svjh)}.x1b8apm3:not(#_).px:not(#\#):not(#\#):not(#\#):not(#\#){padding-right:var(--f7sgo3)}.xpb790p:not(#_).py:not(#\#):not(#\#):not(#\#):not(#\#){padding-top:var(--1ab6y07)}.x1i99p3j:not(#_) svg:not(#\#):not(#\#):not(#\#):not(#\#){width:calc(var(--button-height)/2.35)}.xyijama:not(#\#):not(#\#):not(#\#):not(#\#):not(#\#)::placeholder{color:#999}.x1cpjm7i:not(#\#):not(#\#):not(#\#):not(#\#):not(#\#):before{content:""}.x1fhgk32:not(#\#):not(#\#):not(#\#):not(#\#):not(#\#):before{display:inline-block}.x1yciqh1:not(#\#):not(#\#):not(#\#):not(#\#):not(#\#):before{vertical-align:middle}.xszcg87:not(#\#):not(#\#):not(#\#):not(#\#):not(#\#):not(#\#):before{height:100%}.xk9ib7f:not(#\#):not(#\#):not(#\#):not(#\#):not(#\#):not(#\#):before{width:0}#app,html,body{width:100%;height:100%;margin:0;padding:0;overflow:hidden}p{margin:0}button,input,select,textarea{font-family:inherit;font-size:inherit;line-height:inherit;color:inherit;margin:0}button:focus,input:focus,select:focus,textarea:focus{outline:none}.backdrop.backdrop-wrapper-enter .layer{opacity:0}.backdrop.backdrop-wrapper-enter-active .layer,.backdrop.backdrop-wrapper-leave .layer{opacity:.25}.backdrop.backdrop-wrapper-leave-active .layer{opacity:0}
|
|
4
|
+
</style> </head> <body> <div id="app"></div><script>var defaultSizes="stat",analyzeModule=[{"filename":"contentful-optimization-web.umd.cjs","label":"contentful-optimization-web.umd.cjs","parsedSize":88200,"mapSize":640110,"gzipSize":39004,"brotliSize":33700,"source":[{"parsedSize":28937,"gzipSize":15105,"brotliSize":12777,"label":"universal","groups":[{"parsedSize":15521,"gzipSize":7243,"brotliSize":6272,"label":"core/src","groups":[{"parsedSize":7901,"gzipSize":3310,"brotliSize":2880,"label":"personalization","groups":[{"parsedSize":3018,"gzipSize":1232,"brotliSize":1046,"label":"resolvers","groups":[{"parsedSize":173,"gzipSize":147,"brotliSize":120,"importedBy":[{"id":"@contentful/optimization-api-client","kind":"static"}],"label":"FlagsResolver.ts","filename":"universal/core/src/personalization/resolvers/FlagsResolver.ts"},{"parsedSize":726,"gzipSize":423,"brotliSize":358,"importedBy":[{"id":"@contentful/optimization-api-client","kind":"static"},{"id":"es-toolkit/compat","kind":"static"},{"id":"logger","kind":"static"}],"label":"MergeTagValueResolver.ts","filename":"universal/core/src/personalization/resolvers/MergeTagValueResolver.ts"},{"parsedSize":2119,"gzipSize":662,"brotliSize":568,"importedBy":[{"id":"@contentful/optimization-api-client","kind":"static"},{"id":"contentful","kind":"static"},{"id":"logger","kind":"static"}],"label":"PersonalizedEntryResolver.ts","filename":"universal/core/src/personalization/resolvers/PersonalizedEntryResolver.ts"}],"filename":"universal/core/src/personalization/resolvers"},{"parsedSize":1220,"gzipSize":741,"brotliSize":654,"importedBy":[{"id":"@contentful/optimization-api-client","kind":"static"},{"id":"contentful","kind":"static"},{"id":"universal/core/src/ProductBase","kind":"static"},{"id":"universal/core/src/personalization/resolvers","kind":"static"}],"label":"PersonalizationBase.ts","filename":"universal/core/src/personalization/PersonalizationBase.ts"},{"parsedSize":3663,"gzipSize":1337,"brotliSize":1180,"importedBy":[{"id":"@contentful/optimization-api-client","kind":"static"},{"id":"contentful","kind":"static"},{"id":"es-toolkit","kind":"static"},{"id":"logger","kind":"static"},{"id":"universal/core/src/Consent","kind":"static"},{"id":"universal/core/src/lib/decorators","kind":"static"},{"id":"universal/core/src/ProductBase","kind":"static"},{"id":"universal/core/src/signals","kind":"static"},{"id":"universal/core/src/personalization/PersonalizationBase","kind":"static"},{"id":"universal/core/src/personalization/resolvers","kind":"static"}],"label":"PersonalizationStateful.ts","filename":"universal/core/src/personalization/PersonalizationStateful.ts"}],"filename":"universal/core/src/personalization"},{"parsedSize":246,"gzipSize":191,"brotliSize":153,"importedBy":[{"id":"@contentful/optimization-api-client","kind":"static"},{"id":"@preact/signals-core","kind":"static"},{"id":"universal/core/src/personalization/resolvers","kind":"static"}],"label":"signals.ts","filename":"universal/core/src/signals.ts"},{"parsedSize":1539,"gzipSize":916,"brotliSize":795,"label":"lib","groups":[{"parsedSize":353,"gzipSize":232,"brotliSize":197,"label":"value-presence","groups":[{"parsedSize":353,"gzipSize":232,"brotliSize":197,"importedBy":[],"label":"ValuePresence.ts","filename":"universal/core/src/lib/value-presence/ValuePresence.ts"}],"filename":"universal/core/src/lib/value-presence"},{"parsedSize":843,"gzipSize":478,"brotliSize":414,"label":"decorators","groups":[{"parsedSize":843,"gzipSize":478,"brotliSize":414,"importedBy":[],"label":"guardedBy.ts","filename":"universal/core/src/lib/decorators/guardedBy.ts"}],"filename":"universal/core/src/lib/decorators"},{"parsedSize":343,"gzipSize":206,"brotliSize":184,"label":"interceptor","groups":[{"parsedSize":343,"gzipSize":206,"brotliSize":184,"importedBy":[],"label":"InterceptorManager.ts","filename":"universal/core/src/lib/interceptor/InterceptorManager.ts"}],"filename":"universal/core/src/lib/interceptor"}],"filename":"universal/core/src/lib"},{"parsedSize":321,"gzipSize":208,"brotliSize":168,"importedBy":[{"id":"@contentful/optimization-api-client","kind":"static"},{"id":"universal/core/src/CoreBase","kind":"static"},{"id":"universal/core/src/lib/value-presence/ValuePresence","kind":"static"}],"label":"ProductBase.ts","filename":"universal/core/src/ProductBase.ts"},{"parsedSize":41,"gzipSize":61,"brotliSize":45,"importedBy":[{"id":"@contentful/optimization-core","kind":"static"}],"label":"global-constants.ts","filename":"universal/core/src/global-constants.ts"},{"parsedSize":3420,"gzipSize":1718,"brotliSize":1525,"label":"analytics","groups":[{"parsedSize":1016,"gzipSize":646,"brotliSize":567,"importedBy":[{"id":"@contentful/optimization-api-client","kind":"static"},{"id":"universal/core/src/ProductBase","kind":"static"}],"label":"AnalyticsBase.ts","filename":"universal/core/src/analytics/AnalyticsBase.ts"},{"parsedSize":2404,"gzipSize":1072,"brotliSize":958,"importedBy":[{"id":"@contentful/optimization-api-client","kind":"static"},{"id":"logger","kind":"static"},{"id":"universal/core/src/Consent","kind":"static"},{"id":"universal/core/src/lib/decorators","kind":"static"},{"id":"universal/core/src/ProductBase","kind":"static"},{"id":"universal/core/src/signals","kind":"static"},{"id":"universal/core/src/analytics/AnalyticsBase","kind":"static"}],"label":"AnalyticsStateful.ts","filename":"universal/core/src/analytics/AnalyticsStateful.ts"}],"filename":"universal/core/src/analytics"},{"parsedSize":1032,"gzipSize":404,"brotliSize":348,"importedBy":[{"id":"@contentful/optimization-api-client","kind":"static"},{"id":"contentful","kind":"static"},{"id":"logger","kind":"static"},{"id":"universal/core/src/global-constants","kind":"static"},{"id":"universal/core/src/lib/interceptor","kind":"static"},{"id":"universal/core/src/personalization","kind":"static"}],"label":"CoreBase.ts","filename":"universal/core/src/CoreBase.ts"},{"parsedSize":1021,"gzipSize":435,"brotliSize":358,"importedBy":[{"id":"@contentful/optimization-api-client","kind":"static"},{"id":"universal/core/src/analytics","kind":"static"},{"id":"universal/core/src/Consent","kind":"static"},{"id":"universal/core/src/CoreBase","kind":"static"},{"id":"universal/core/src/personalization","kind":"static"},{"id":"universal/core/src/ProductBase","kind":"static"},{"id":"universal/core/src/signals","kind":"static"}],"label":"CoreStateful.ts","filename":"universal/core/src/CoreStateful.ts"}],"filename":"universal/core/src"},{"parsedSize":4126,"gzipSize":3723,"brotliSize":3009,"label":"api-schemas/src","groups":[{"parsedSize":1895,"gzipSize":1293,"brotliSize":1095,"label":"contentful","groups":[{"parsedSize":94,"gzipSize":103,"brotliSize":86,"importedBy":[{"id":"universal/api-schemas/src/contentful/CtflEntry","kind":"static"}],"label":"AudienceEntry.ts","filename":"universal/api-schemas/src/contentful/AudienceEntry.ts"},{"parsedSize":573,"gzipSize":282,"brotliSize":236,"importedBy":[{"id":"contentful","kind":"static"}],"label":"CtflEntry.ts","filename":"universal/api-schemas/src/contentful/CtflEntry.ts"},{"parsedSize":172,"gzipSize":143,"brotliSize":129,"importedBy":[{"id":"universal/api-schemas/src/contentful/CtflEntry","kind":"static"}],"label":"MergeTagEntry.ts","filename":"universal/api-schemas/src/contentful/MergeTagEntry.ts"},{"parsedSize":594,"gzipSize":377,"brotliSize":323,"importedBy":[],"label":"PersonalizationConfig.ts","filename":"universal/api-schemas/src/contentful/PersonalizationConfig.ts"},{"parsedSize":372,"gzipSize":282,"brotliSize":232,"importedBy":[{"id":"contentful","kind":"static"},{"id":"universal/api-schemas/src/contentful/AudienceEntry","kind":"static"},{"id":"universal/api-schemas/src/contentful/CtflEntry","kind":"static"},{"id":"universal/api-schemas/src/contentful/PersonalizationConfig","kind":"static"}],"label":"PersonalizationEntry.ts","filename":"universal/api-schemas/src/contentful/PersonalizationEntry.ts"},{"parsedSize":90,"gzipSize":106,"brotliSize":89,"importedBy":[{"id":"contentful","kind":"static"},{"id":"universal/api-schemas/src/contentful/CtflEntry","kind":"static"},{"id":"universal/api-schemas/src/contentful/PersonalizationEntry","kind":"static"}],"label":"PersonalizedEntry.ts","filename":"universal/api-schemas/src/contentful/PersonalizedEntry.ts"}],"filename":"universal/api-schemas/src/contentful"},{"parsedSize":2165,"gzipSize":2324,"brotliSize":1840,"label":"experience","groups":[{"parsedSize":1387,"gzipSize":1507,"brotliSize":1154,"label":"event","groups":[{"parsedSize":541,"gzipSize":607,"brotliSize":457,"label":"properties","groups":[{"parsedSize":38,"gzipSize":55,"brotliSize":42,"importedBy":[],"label":"App.ts","filename":"universal/api-schemas/src/experience/event/properties/App.ts"},{"parsedSize":75,"gzipSize":69,"brotliSize":60,"importedBy":[],"label":"Campaign.ts","filename":"universal/api-schemas/src/experience/event/properties/Campaign.ts"},{"parsedSize":41,"gzipSize":56,"brotliSize":45,"importedBy":[],"label":"Channel.ts","filename":"universal/api-schemas/src/experience/event/properties/Channel.ts"},{"parsedSize":15,"gzipSize":35,"brotliSize":19,"importedBy":[],"label":"Dictionary.ts","filename":"universal/api-schemas/src/experience/event/properties/Dictionary.ts"},{"parsedSize":29,"gzipSize":46,"brotliSize":33,"importedBy":[],"label":"Library.ts","filename":"universal/api-schemas/src/experience/event/properties/Library.ts"},{"parsedSize":79,"gzipSize":87,"brotliSize":75,"importedBy":[{"id":"universal/api-schemas/src/experience/event/properties/Dictionary","kind":"static"}],"label":"Page.ts","filename":"universal/api-schemas/src/experience/event/properties/Page.ts"},{"parsedSize":209,"gzipSize":144,"brotliSize":116,"importedBy":[],"label":"GeoLocation.ts","filename":"universal/api-schemas/src/experience/event/properties/GeoLocation.ts"},{"parsedSize":15,"gzipSize":35,"brotliSize":19,"importedBy":[],"label":"Properties.ts","filename":"universal/api-schemas/src/experience/event/properties/Properties.ts"},{"parsedSize":25,"gzipSize":45,"brotliSize":29,"importedBy":[],"label":"Screen.ts","filename":"universal/api-schemas/src/experience/event/properties/Screen.ts"},{"parsedSize":15,"gzipSize":35,"brotliSize":19,"importedBy":[],"label":"Traits.ts","filename":"universal/api-schemas/src/experience/event/properties/Traits.ts"}],"filename":"universal/api-schemas/src/experience/event/properties"},{"parsedSize":27,"gzipSize":47,"brotliSize":31,"importedBy":[{"id":"universal/api-schemas/src/experience/event/UniversalEventProperties","kind":"static"}],"label":"AliasEvent.ts","filename":"universal/api-schemas/src/experience/event/AliasEvent.ts"},{"parsedSize":247,"gzipSize":191,"brotliSize":151,"importedBy":[{"id":"universal/api-schemas/src/experience/event/properties","kind":"static"}],"label":"UniversalEventProperties.ts","filename":"universal/api-schemas/src/experience/event/UniversalEventProperties.ts"},{"parsedSize":128,"gzipSize":126,"brotliSize":106,"importedBy":[{"id":"universal/api-schemas/src/experience/event/UniversalEventProperties","kind":"static"}],"label":"ComponentViewEvent.ts","filename":"universal/api-schemas/src/experience/event/ComponentViewEvent.ts"},{"parsedSize":27,"gzipSize":47,"brotliSize":31,"importedBy":[{"id":"universal/api-schemas/src/experience/event/UniversalEventProperties","kind":"static"}],"label":"GroupEvent.ts","filename":"universal/api-schemas/src/experience/event/GroupEvent.ts"},{"parsedSize":40,"gzipSize":60,"brotliSize":44,"importedBy":[{"id":"universal/api-schemas/src/experience/event/UniversalEventProperties","kind":"static"},{"id":"universal/api-schemas/src/experience/event/properties/Traits","kind":"static"}],"label":"IdentifyEvent.ts","filename":"universal/api-schemas/src/experience/event/IdentifyEvent.ts"},{"parsedSize":82,"gzipSize":96,"brotliSize":79,"importedBy":[{"id":"universal/api-schemas/src/experience/event/UniversalEventProperties","kind":"static"},{"id":"universal/api-schemas/src/experience/event/properties","kind":"static"}],"label":"PageViewEvent.ts","filename":"universal/api-schemas/src/experience/event/PageViewEvent.ts"},{"parsedSize":51,"gzipSize":71,"brotliSize":53,"importedBy":[{"id":"universal/api-schemas/src/experience/event/UniversalEventProperties","kind":"static"},{"id":"universal/api-schemas/src/experience/event/properties","kind":"static"}],"label":"TrackEvent.ts","filename":"universal/api-schemas/src/experience/event/TrackEvent.ts"},{"parsedSize":86,"gzipSize":98,"brotliSize":74,"importedBy":[{"id":"universal/api-schemas/src/experience/event/UniversalEventProperties","kind":"static"},{"id":"universal/api-schemas/src/experience/event/properties","kind":"static"}],"label":"ScreenViewEvent.ts","filename":"universal/api-schemas/src/experience/event/ScreenViewEvent.ts"},{"parsedSize":52,"gzipSize":72,"brotliSize":56,"importedBy":[{"id":"universal/api-schemas/src/experience/event/AliasEvent","kind":"static"},{"id":"universal/api-schemas/src/experience/event/ComponentViewEvent","kind":"static"},{"id":"universal/api-schemas/src/experience/event/GroupEvent","kind":"static"},{"id":"universal/api-schemas/src/experience/event/IdentifyEvent","kind":"static"},{"id":"universal/api-schemas/src/experience/event/PageViewEvent","kind":"static"},{"id":"universal/api-schemas/src/experience/event/ScreenViewEvent","kind":"static"},{"id":"universal/api-schemas/src/experience/event/TrackEvent","kind":"static"}],"label":"ExperienceEvent.ts","filename":"universal/api-schemas/src/experience/event/ExperienceEvent.ts"},{"parsedSize":106,"gzipSize":92,"brotliSize":72,"importedBy":[{"id":"universal/api-schemas/src/experience/event/AliasEvent","kind":"static"},{"id":"universal/api-schemas/src/experience/event/ComponentViewEvent","kind":"static"},{"id":"universal/api-schemas/src/experience/event/GroupEvent","kind":"static"},{"id":"universal/api-schemas/src/experience/event/IdentifyEvent","kind":"static"},{"id":"universal/api-schemas/src/experience/event/PageViewEvent","kind":"static"},{"id":"universal/api-schemas/src/experience/event/ScreenViewEvent","kind":"static"},{"id":"universal/api-schemas/src/experience/event/TrackEvent","kind":"static"}],"label":"BatchExperienceEvent.ts","filename":"universal/api-schemas/src/experience/event/BatchExperienceEvent.ts"}],"filename":"universal/api-schemas/src/experience/event"},{"parsedSize":224,"gzipSize":222,"brotliSize":191,"label":"profile","groups":[{"parsedSize":112,"gzipSize":114,"brotliSize":101,"importedBy":[{"id":"universal/api-schemas/src/experience/event/properties","kind":"static"},{"id":"universal/api-schemas/src/experience/event/properties/Traits","kind":"static"},{"id":"universal/api-schemas/src/experience/profile/properties","kind":"static"}],"label":"Profile.ts","filename":"universal/api-schemas/src/experience/profile/Profile.ts"},{"parsedSize":112,"gzipSize":108,"brotliSize":90,"importedBy":[{"id":"universal/api-schemas/src/experience/event/properties","kind":"static"}],"label":"properties/SessionStatistics.ts","filename":"universal/api-schemas/src/experience/profile/properties/SessionStatistics.ts"}],"filename":"universal/api-schemas/src/experience/profile"},{"parsedSize":43,"gzipSize":63,"brotliSize":47,"importedBy":[],"label":"ResponseEnvelope.ts","filename":"universal/api-schemas/src/experience/ResponseEnvelope.ts"},{"parsedSize":45,"gzipSize":65,"brotliSize":49,"importedBy":[{"id":"universal/api-schemas/src/experience/profile","kind":"static"},{"id":"universal/api-schemas/src/experience/ResponseEnvelope","kind":"static"}],"label":"BatchExperienceResponse.ts","filename":"universal/api-schemas/src/experience/BatchExperienceResponse.ts"},{"parsedSize":235,"gzipSize":190,"brotliSize":177,"label":"change","groups":[{"parsedSize":235,"gzipSize":190,"brotliSize":177,"importedBy":[],"label":"Change.ts","filename":"universal/api-schemas/src/experience/change/Change.ts"}],"filename":"universal/api-schemas/src/experience/change"},{"parsedSize":64,"gzipSize":84,"brotliSize":60,"importedBy":[{"id":"universal/api-schemas/src/experience/change","kind":"static"},{"id":"universal/api-schemas/src/experience/personalization","kind":"static"},{"id":"universal/api-schemas/src/experience/profile","kind":"static"},{"id":"universal/api-schemas/src/experience/ResponseEnvelope","kind":"static"}],"label":"ExperienceResponse.ts","filename":"universal/api-schemas/src/experience/ExperienceResponse.ts"},{"parsedSize":98,"gzipSize":108,"brotliSize":96,"label":"personalization","groups":[{"parsedSize":98,"gzipSize":108,"brotliSize":96,"importedBy":[],"label":"SelectedPersonalization.ts","filename":"universal/api-schemas/src/experience/personalization/SelectedPersonalization.ts"}],"filename":"universal/api-schemas/src/experience/personalization"},{"parsedSize":69,"gzipSize":85,"brotliSize":66,"importedBy":[{"id":"universal/api-schemas/src/experience/event","kind":"static"}],"label":"ExperienceRequest.ts","filename":"universal/api-schemas/src/experience/ExperienceRequest.ts"}],"filename":"universal/api-schemas/src/experience"},{"parsedSize":66,"gzipSize":106,"brotliSize":74,"label":"insights/event","groups":[{"parsedSize":28,"gzipSize":48,"brotliSize":32,"importedBy":[{"id":"universal/api-schemas/src/experience/event","kind":"static"}],"label":"InsightsEvent.ts","filename":"universal/api-schemas/src/insights/event/InsightsEvent.ts"},{"parsedSize":38,"gzipSize":58,"brotliSize":42,"importedBy":[{"id":"universal/api-schemas/src/experience/profile","kind":"static"},{"id":"universal/api-schemas/src/insights/event/InsightsEvent","kind":"static"}],"label":"BatchInsightsEvent.ts","filename":"universal/api-schemas/src/insights/event/BatchInsightsEvent.ts"}],"filename":"universal/api-schemas/src/insights/event"}],"filename":"universal/api-schemas/src"},{"parsedSize":9290,"gzipSize":4139,"brotliSize":3496,"label":"api-client/src","groups":[{"parsedSize":1988,"gzipSize":1178,"brotliSize":1013,"label":"fetch","groups":[{"parsedSize":399,"gzipSize":277,"brotliSize":233,"importedBy":[{"id":"logger","kind":"static"},{"id":"universal/api-client/src/fetch/Fetch","kind":"static"}],"label":"createTimeoutFetchMethod.ts","filename":"universal/api-client/src/fetch/createTimeoutFetchMethod.ts"},{"parsedSize":21,"gzipSize":41,"brotliSize":25,"importedBy":[{"id":"universal/api-client/src/fetch/createProtectedFetchMethod","kind":"static"}],"label":"Fetch.ts","filename":"universal/api-client/src/fetch/Fetch.ts"},{"parsedSize":270,"gzipSize":217,"brotliSize":181,"importedBy":[{"id":"logger","kind":"static"},{"id":"universal/api-client/src/fetch/createRetryFetchMethod","kind":"static"},{"id":"universal/api-client/src/fetch/createTimeoutFetchMethod","kind":"static"},{"id":"universal/api-client/src/fetch/Fetch","kind":"static"}],"label":"createProtectedFetchMethod.ts","filename":"universal/api-client/src/fetch/createProtectedFetchMethod.ts"},{"parsedSize":1298,"gzipSize":643,"brotliSize":574,"importedBy":[{"id":"logger","kind":"static"},{"id":"p-retry","kind":"static"},{"id":"universal/api-client/src/fetch/Fetch","kind":"static"}],"label":"createRetryFetchMethod.ts","filename":"universal/api-client/src/fetch/createRetryFetchMethod.ts"}],"filename":"universal/api-client/src/fetch"},{"parsedSize":180,"gzipSize":144,"brotliSize":112,"importedBy":[{"id":"universal/api-client/src/ApiClientBase","kind":"static"},{"id":"universal/api-client/src/experience","kind":"static"},{"id":"universal/api-client/src/insights","kind":"static"}],"label":"ApiClient.ts","filename":"universal/api-client/src/ApiClient.ts"},{"parsedSize":457,"gzipSize":295,"brotliSize":244,"importedBy":[{"id":"logger","kind":"static"},{"id":"universal/api-client/src/fetch","kind":"static"}],"label":"ApiClientBase.ts","filename":"universal/api-client/src/ApiClientBase.ts"},{"parsedSize":935,"gzipSize":553,"brotliSize":447,"label":"insights","groups":[{"parsedSize":935,"gzipSize":553,"brotliSize":447,"importedBy":[{"id":"@contentful/optimization-api-schemas","kind":"static"},{"id":"logger","kind":"static"},{"id":"universal/api-client/src/ApiClientBase","kind":"static"}],"label":"InsightsApiClient.ts","filename":"universal/api-client/src/insights/InsightsApiClient.ts"}],"filename":"universal/api-client/src/insights"},{"parsedSize":3556,"gzipSize":1128,"brotliSize":955,"label":"experience","groups":[{"parsedSize":3556,"gzipSize":1128,"brotliSize":955,"importedBy":[{"id":"@contentful/optimization-api-schemas","kind":"static"},{"id":"logger","kind":"static"},{"id":"universal/api-client/src/ApiClientBase","kind":"static"}],"label":"ExperienceApiClient.ts","filename":"universal/api-client/src/experience/ExperienceApiClient.ts"}],"filename":"universal/api-client/src/experience"},{"parsedSize":2174,"gzipSize":841,"brotliSize":725,"label":"builders","groups":[{"parsedSize":2174,"gzipSize":841,"brotliSize":725,"importedBy":[{"id":"@contentful/optimization-api-schemas","kind":"static"},{"id":"es-toolkit","kind":"static"}],"label":"EventBuilder.ts","filename":"universal/api-client/src/builders/EventBuilder.ts"}],"filename":"universal/api-client/src/builders"}],"filename":"universal/api-client/src"}],"filename":"universal"},{"parsedSize":17498,"gzipSize":6992,"brotliSize":6034,"label":"src","groups":[{"parsedSize":1503,"gzipSize":767,"brotliSize":653,"importedBy":[{"id":"@contentful/optimization-core","kind":"static"},{"id":"src/observers","kind":"static"}],"label":"AutoEntryViewTracking.ts","filename":"src/AutoEntryViewTracking.ts"},{"parsedSize":110,"gzipSize":105,"brotliSize":74,"importedBy":[{"id":"@contentful/optimization-web/global-constants","kind":"static"}],"label":"global-constants.ts","filename":"src/global-constants.ts"},{"parsedSize":1072,"gzipSize":664,"brotliSize":514,"label":"handlers","groups":[{"parsedSize":115,"gzipSize":127,"brotliSize":90,"importedBy":[{"id":"@contentful/optimization-core","kind":"static"}],"label":"beaconHandler.ts","filename":"src/handlers/beaconHandler.ts"},{"parsedSize":410,"gzipSize":251,"brotliSize":198,"importedBy":[{"id":"@contentful/optimization-core","kind":"static"},{"id":"src/global-constants","kind":"static"}],"label":"createOnlineChangeListener.ts","filename":"src/handlers/createOnlineChangeListener.ts"},{"parsedSize":547,"gzipSize":286,"brotliSize":226,"importedBy":[{"id":"@contentful/optimization-core","kind":"static"},{"id":"src/global-constants","kind":"static"}],"label":"createVisibilityChangeListener.ts","filename":"src/handlers/createVisibilityChangeListener.ts"}],"filename":"src/handlers"},{"parsedSize":10606,"gzipSize":3636,"brotliSize":3260,"label":"observers","groups":[{"parsedSize":776,"gzipSize":440,"brotliSize":373,"importedBy":[{"id":"src/global-constants","kind":"static"}],"label":"ElementView.ts","filename":"src/observers/ElementView.ts"},{"parsedSize":3597,"gzipSize":1296,"brotliSize":1171,"importedBy":[{"id":"src/global-constants","kind":"static"}],"label":"ElementExistenceObserver.ts","filename":"src/observers/ElementExistenceObserver.ts"},{"parsedSize":6233,"gzipSize":1900,"brotliSize":1716,"importedBy":[{"id":"src/global-constants","kind":"static"},{"id":"src/observers/ElementView","kind":"static"}],"label":"ElementViewObserver.ts","filename":"src/observers/ElementViewObserver.ts"}],"filename":"src/observers"},{"parsedSize":1269,"gzipSize":493,"brotliSize":433,"label":"storage","groups":[{"parsedSize":1269,"gzipSize":493,"brotliSize":433,"importedBy":[{"id":"@contentful/optimization-core","kind":"static"},{"id":"zod/mini","kind":"static"}],"label":"LocalStore.ts","filename":"src/storage/LocalStore.ts"}],"filename":"src/storage"},{"parsedSize":2325,"gzipSize":949,"brotliSize":816,"importedBy":[{"id":"@contentful/optimization-core","kind":"static"},{"id":"es-toolkit","kind":"static"},{"id":"js-cookie","kind":"static"},{"id":"src/AutoEntryViewTracking","kind":"static"},{"id":"src/builders","kind":"static"},{"id":"src/global-constants","kind":"static"},{"id":"src/handlers","kind":"static"},{"id":"src/observers","kind":"static"},{"id":"src/storage","kind":"static"},{"id":"@contentful/optimization-web","kind":"static"}],"label":"Optimization.ts","filename":"src/Optimization.ts"},{"parsedSize":613,"gzipSize":378,"brotliSize":284,"importedBy":[{"id":"@contentful/optimization-core","kind":"static"}],"label":"builders/EventBuilder.ts","filename":"src/builders/EventBuilder.ts"}],"filename":"src"},{"parsedSize":40016,"gzipSize":16115,"brotliSize":14213,"label":"node_modules/.pnpm","groups":[{"parsedSize":23708,"gzipSize":8394,"brotliSize":7491,"label":"zod@4.1.5/node_modules/zod/v4","groups":[{"parsedSize":20297,"gzipSize":7219,"brotliSize":6453,"label":"core","groups":[{"parsedSize":318,"gzipSize":192,"brotliSize":157,"importedBy":[{"id":"node_modules/.pnpm/zod@4.1.5/node_modules/zod/v4/core/core.js","kind":"static"}],"label":"errors.js","filename":"node_modules/.pnpm/zod@4.1.5/node_modules/zod/v4/core/errors.js"},{"parsedSize":1014,"gzipSize":506,"brotliSize":431,"importedBy":[],"label":"core.js","filename":"node_modules/.pnpm/zod@4.1.5/node_modules/zod/v4/core/core.js"},{"parsedSize":1025,"gzipSize":346,"brotliSize":312,"importedBy":[],"label":"parse.js","filename":"node_modules/.pnpm/zod@4.1.5/node_modules/zod/v4/core/parse.js"},{"parsedSize":2913,"gzipSize":1277,"brotliSize":1135,"importedBy":[],"label":"util.js","filename":"node_modules/.pnpm/zod@4.1.5/node_modules/zod/v4/core/util.js"},{"parsedSize":799,"gzipSize":445,"brotliSize":391,"importedBy":[],"label":"regexes.js","filename":"node_modules/.pnpm/zod@4.1.5/node_modules/zod/v4/core/regexes.js"},{"parsedSize":29,"gzipSize":49,"brotliSize":33,"importedBy":[],"label":"versions.js","filename":"node_modules/.pnpm/zod@4.1.5/node_modules/zod/v4/core/versions.js"},{"parsedSize":691,"gzipSize":287,"brotliSize":239,"importedBy":[],"label":"api.js","filename":"node_modules/.pnpm/zod@4.1.5/node_modules/zod/v4/core/api.js"},{"parsedSize":1529,"gzipSize":573,"brotliSize":516,"importedBy":[{"id":"node_modules/.pnpm/zod@4.1.5/node_modules/zod/v4/core/schemas.js","kind":"static"}],"label":"checks.js","filename":"node_modules/.pnpm/zod@4.1.5/node_modules/zod/v4/core/checks.js"},{"parsedSize":11979,"gzipSize":3544,"brotliSize":3239,"importedBy":[{"id":"node_modules/.pnpm/zod@4.1.5/node_modules/zod/v4/core/doc.js","kind":"static"},{"id":"node_modules/.pnpm/zod@4.1.5/node_modules/zod/v4/core/parse.js","kind":"static"},{"id":"node_modules/.pnpm/zod@4.1.5/node_modules/zod/v4/core/versions.js","kind":"static"}],"label":"schemas.js","filename":"node_modules/.pnpm/zod@4.1.5/node_modules/zod/v4/core/schemas.js"}],"filename":"node_modules/.pnpm/zod@4.1.5/node_modules/zod/v4/core"},{"parsedSize":3411,"gzipSize":1175,"brotliSize":1038,"label":"mini","groups":[{"parsedSize":94,"gzipSize":101,"brotliSize":81,"importedBy":[],"label":"iso.js","filename":"node_modules/.pnpm/zod@4.1.5/node_modules/zod/v4/mini/iso.js"},{"parsedSize":3317,"gzipSize":1074,"brotliSize":957,"importedBy":[{"id":"node_modules/.pnpm/zod@4.1.5/node_modules/zod/v4/core/index.js","kind":"static"}],"label":"schemas.js","filename":"node_modules/.pnpm/zod@4.1.5/node_modules/zod/v4/mini/schemas.js"}],"filename":"node_modules/.pnpm/zod@4.1.5/node_modules/zod/v4/mini"}],"filename":"node_modules/.pnpm/zod@4.1.5/node_modules/zod/v4"},{"parsedSize":4462,"gzipSize":1537,"brotliSize":1413,"importedBy":[],"label":"@preact+signals-core@1.12.1/node_modules/@preact/signals-core/dist/signals-core.module.js","filename":"node_modules/.pnpm/@preact+signals-core@1.12.1/node_modules/@preact/signals-core/dist/signals-core.module.js"},{"parsedSize":741,"gzipSize":504,"brotliSize":448,"label":"diary@0.4.5/node_modules/diary","groups":[{"parsedSize":121,"gzipSize":124,"brotliSize":113,"importedBy":[],"label":"utils.mjs","filename":"node_modules/.pnpm/diary@0.4.5/node_modules/diary/utils.mjs"},{"parsedSize":620,"gzipSize":380,"brotliSize":335,"importedBy":[],"label":"browser.mjs","filename":"node_modules/.pnpm/diary@0.4.5/node_modules/diary/browser.mjs"}],"filename":"node_modules/.pnpm/diary@0.4.5/node_modules/diary"},{"parsedSize":3583,"gzipSize":1458,"brotliSize":1285,"label":"retry@0.13.1/node_modules/retry","groups":[{"parsedSize":40,"gzipSize":60,"brotliSize":44,"importedBy":[],"label":"index.js","filename":"node_modules/.pnpm/retry@0.13.1/node_modules/retry/index.js"},{"parsedSize":3543,"gzipSize":1398,"brotliSize":1241,"label":"lib","groups":[{"parsedSize":1202,"gzipSize":629,"brotliSize":564,"importedBy":[],"label":"retry.js","filename":"node_modules/.pnpm/retry@0.13.1/node_modules/retry/lib/retry.js"},{"parsedSize":2341,"gzipSize":769,"brotliSize":677,"importedBy":[],"label":"retry_operation.js","filename":"node_modules/.pnpm/retry@0.13.1/node_modules/retry/lib/retry_operation.js"}],"filename":"node_modules/.pnpm/retry@0.13.1/node_modules/retry/lib"}],"filename":"node_modules/.pnpm/retry@0.13.1/node_modules/retry"},{"parsedSize":424,"gzipSize":287,"brotliSize":205,"importedBy":[],"label":"is-network-error@1.1.0/node_modules/is-network-error/index.js","filename":"node_modules/.pnpm/is-network-error@1.1.0/node_modules/is-network-error/index.js"},{"parsedSize":1025,"gzipSize":535,"brotliSize":462,"importedBy":[{"id":"retry","kind":"static"},{"id":"is-network-error","kind":"static"}],"label":"p-retry@6.2.1/node_modules/p-retry/index.js","filename":"node_modules/.pnpm/p-retry@6.2.1/node_modules/p-retry/index.js"},{"parsedSize":4659,"gzipSize":2678,"brotliSize":2248,"label":"es-toolkit@1.39.10/node_modules/es-toolkit/dist","groups":[{"parsedSize":2016,"gzipSize":1323,"brotliSize":1079,"label":"compat","groups":[{"parsedSize":1088,"gzipSize":729,"brotliSize":564,"label":"_internal","groups":[{"parsedSize":113,"gzipSize":119,"brotliSize":81,"importedBy":[],"label":"getSymbols.mjs","filename":"node_modules/.pnpm/es-toolkit@1.39.10/node_modules/es-toolkit/dist/compat/_internal/getSymbols.mjs"},{"parsedSize":112,"gzipSize":121,"brotliSize":87,"importedBy":[],"label":"getTag.mjs","filename":"node_modules/.pnpm/es-toolkit@1.39.10/node_modules/es-toolkit/dist/compat/_internal/getTag.mjs"},{"parsedSize":618,"gzipSize":260,"brotliSize":217,"importedBy":[],"label":"tags.mjs","filename":"node_modules/.pnpm/es-toolkit@1.39.10/node_modules/es-toolkit/dist/compat/_internal/tags.mjs"},{"parsedSize":138,"gzipSize":116,"brotliSize":94,"importedBy":[],"label":"isDeepKey.mjs","filename":"node_modules/.pnpm/es-toolkit@1.39.10/node_modules/es-toolkit/dist/compat/_internal/isDeepKey.mjs"},{"parsedSize":107,"gzipSize":113,"brotliSize":85,"importedBy":[],"label":"toKey.mjs","filename":"node_modules/.pnpm/es-toolkit@1.39.10/node_modules/es-toolkit/dist/compat/_internal/toKey.mjs"}],"filename":"node_modules/.pnpm/es-toolkit@1.39.10/node_modules/es-toolkit/dist/compat/_internal"},{"parsedSize":404,"gzipSize":305,"brotliSize":271,"label":"util","groups":[{"parsedSize":64,"gzipSize":73,"brotliSize":62,"importedBy":[],"label":"eq.mjs","filename":"node_modules/.pnpm/es-toolkit@1.39.10/node_modules/es-toolkit/dist/compat/util/eq.mjs"},{"parsedSize":340,"gzipSize":232,"brotliSize":209,"importedBy":[],"label":"toPath.mjs","filename":"node_modules/.pnpm/es-toolkit@1.39.10/node_modules/es-toolkit/dist/compat/util/toPath.mjs"}],"filename":"node_modules/.pnpm/es-toolkit@1.39.10/node_modules/es-toolkit/dist/compat/util"},{"parsedSize":524,"gzipSize":289,"brotliSize":244,"importedBy":[{"id":"node_modules/.pnpm/es-toolkit@1.39.10/node_modules/es-toolkit/dist/_internal/isUnsafeProperty.mjs","kind":"static"},{"id":"node_modules/.pnpm/es-toolkit@1.39.10/node_modules/es-toolkit/dist/compat/_internal/isDeepKey.mjs","kind":"static"},{"id":"node_modules/.pnpm/es-toolkit@1.39.10/node_modules/es-toolkit/dist/compat/_internal/toKey.mjs","kind":"static"},{"id":"node_modules/.pnpm/es-toolkit@1.39.10/node_modules/es-toolkit/dist/compat/util/toPath.mjs","kind":"static"}],"label":"object/get.mjs","filename":"node_modules/.pnpm/es-toolkit@1.39.10/node_modules/es-toolkit/dist/compat/object/get.mjs"}],"filename":"node_modules/.pnpm/es-toolkit@1.39.10/node_modules/es-toolkit/dist/compat"},{"parsedSize":2327,"gzipSize":1074,"brotliSize":949,"label":"predicate","groups":[{"parsedSize":211,"gzipSize":151,"brotliSize":116,"importedBy":[],"label":"isPlainObject.mjs","filename":"node_modules/.pnpm/es-toolkit@1.39.10/node_modules/es-toolkit/dist/predicate/isPlainObject.mjs"},{"parsedSize":35,"gzipSize":52,"brotliSize":39,"importedBy":[{"id":"node_modules/.pnpm/es-toolkit@1.39.10/node_modules/es-toolkit/dist/predicate/isEqualWith.mjs","kind":"static"},{"id":"node_modules/.pnpm/es-toolkit@1.39.10/node_modules/es-toolkit/dist/function/noop.mjs","kind":"static"}],"label":"isEqual.mjs","filename":"node_modules/.pnpm/es-toolkit@1.39.10/node_modules/es-toolkit/dist/predicate/isEqual.mjs"},{"parsedSize":2081,"gzipSize":871,"brotliSize":794,"importedBy":[{"id":"node_modules/.pnpm/es-toolkit@1.39.10/node_modules/es-toolkit/dist/predicate/isPlainObject.mjs","kind":"static"},{"id":"node_modules/.pnpm/es-toolkit@1.39.10/node_modules/es-toolkit/dist/compat/_internal/getSymbols.mjs","kind":"static"},{"id":"node_modules/.pnpm/es-toolkit@1.39.10/node_modules/es-toolkit/dist/compat/_internal/getTag.mjs","kind":"static"},{"id":"node_modules/.pnpm/es-toolkit@1.39.10/node_modules/es-toolkit/dist/compat/_internal/tags.mjs","kind":"static"},{"id":"node_modules/.pnpm/es-toolkit@1.39.10/node_modules/es-toolkit/dist/compat/util/eq.mjs","kind":"static"}],"label":"isEqualWith.mjs","filename":"node_modules/.pnpm/es-toolkit@1.39.10/node_modules/es-toolkit/dist/predicate/isEqualWith.mjs"}],"filename":"node_modules/.pnpm/es-toolkit@1.39.10/node_modules/es-toolkit/dist/predicate"},{"parsedSize":15,"gzipSize":35,"brotliSize":19,"importedBy":[],"label":"function/noop.mjs","filename":"node_modules/.pnpm/es-toolkit@1.39.10/node_modules/es-toolkit/dist/function/noop.mjs"},{"parsedSize":38,"gzipSize":58,"brotliSize":42,"importedBy":[],"label":"_internal/isUnsafeProperty.mjs","filename":"node_modules/.pnpm/es-toolkit@1.39.10/node_modules/es-toolkit/dist/_internal/isUnsafeProperty.mjs"},{"parsedSize":263,"gzipSize":188,"brotliSize":159,"importedBy":[{"id":"node_modules/.pnpm/es-toolkit@1.39.10/node_modules/es-toolkit/dist/_internal/isUnsafeProperty.mjs","kind":"static"},{"id":"node_modules/.pnpm/es-toolkit@1.39.10/node_modules/es-toolkit/dist/predicate/isPlainObject.mjs","kind":"static"}],"label":"object/merge.mjs","filename":"node_modules/.pnpm/es-toolkit@1.39.10/node_modules/es-toolkit/dist/object/merge.mjs"}],"filename":"node_modules/.pnpm/es-toolkit@1.39.10/node_modules/es-toolkit/dist"},{"parsedSize":1414,"gzipSize":722,"brotliSize":661,"importedBy":[],"label":"js-cookie@3.0.5/node_modules/js-cookie/dist/js.cookie.mjs","filename":"node_modules/.pnpm/js-cookie@3.0.5/node_modules/js-cookie/dist/js.cookie.mjs"}],"filename":"node_modules/.pnpm"},{"parsedSize":1749,"gzipSize":792,"brotliSize":676,"label":"lib/logger/src","groups":[{"parsedSize":10,"gzipSize":30,"brotliSize":14,"importedBy":[{"id":"diary","kind":"static"}],"label":"LogSink.ts","filename":"lib/logger/src/LogSink.ts"},{"parsedSize":1193,"gzipSize":447,"brotliSize":397,"importedBy":[{"id":"diary","kind":"static"}],"label":"Logger.ts","filename":"lib/logger/src/Logger.ts"},{"parsedSize":546,"gzipSize":315,"brotliSize":265,"importedBy":[{"id":"diary","kind":"static"},{"id":"diary/utils","kind":"static"},{"id":"lib/logger/src/LogSink","kind":"static"}],"label":"ConsoleLogSink.ts","filename":"lib/logger/src/ConsoleLogSink.ts"}],"filename":"lib/logger/src"}],"isAsset":true,"isEntry":true,"imports":[]}];</script> </body> </html>
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { type Page } from '@contentful/optimization-core';
|
|
2
|
+
/**
|
|
3
|
+
* Determine the preferred locale of the current browser.
|
|
4
|
+
*
|
|
5
|
+
* @returns The first language from `navigator.languages`, or `navigator.language`
|
|
6
|
+
* if `languages` is not available.
|
|
7
|
+
*
|
|
8
|
+
* @public
|
|
9
|
+
* @example
|
|
10
|
+
* ```ts
|
|
11
|
+
* const locale = getLocale()
|
|
12
|
+
* ```
|
|
13
|
+
*/
|
|
14
|
+
export declare function getLocale(): string;
|
|
15
|
+
/**
|
|
16
|
+
* Collect page-related properties from the current browser context.
|
|
17
|
+
*
|
|
18
|
+
* @returns A {@link Page} object describing the current URL, dimensions and
|
|
19
|
+
* metadata. If an error occurs while reading from `window` or `document`,
|
|
20
|
+
* a minimal object with empty strings and no query parameters is returned.
|
|
21
|
+
*
|
|
22
|
+
* @public
|
|
23
|
+
* @example
|
|
24
|
+
* ```ts
|
|
25
|
+
* const page = getPageProperties()
|
|
26
|
+
* optimization.page({ name: page.title, properties: page })
|
|
27
|
+
* ```
|
|
28
|
+
*/
|
|
29
|
+
export declare function getPageProperties(): Page;
|
|
30
|
+
/**
|
|
31
|
+
* Get the user agent string reported by the current browser.
|
|
32
|
+
*
|
|
33
|
+
* @returns The value of `navigator.userAgent`.
|
|
34
|
+
*
|
|
35
|
+
* @public
|
|
36
|
+
* @example
|
|
37
|
+
* ```ts
|
|
38
|
+
* const ua = getUserAgent()
|
|
39
|
+
* ```
|
|
40
|
+
*/
|
|
41
|
+
export declare function getUserAgent(): string;
|
|
42
|
+
//# sourceMappingURL=EventBuilder.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EventBuilder.d.ts","sourceRoot":"","sources":["../../src/builders/EventBuilder.ts"],"names":[],"mappings":"AAAA,OAAO,EAAuC,KAAK,IAAI,EAAE,MAAM,+BAA+B,CAAA;AAmB9F;;;;;;;;;;;GAWG;AACH,wBAAgB,SAAS,IAAI,MAAM,CAIlC;AAED;;;;;;;;;;;;;GAaG;AACH,wBAAgB,iBAAiB,IAAI,IAAI,CA4BxC;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,YAAY,IAAI,MAAM,CAErC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/builders/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAA"}
|