UNPKG

next-bundle-analyzer

Version:
2 lines 192 kB
<!doctype html><html><head><meta charset="utf-8"><title>TITLE_PLACEHOLDER</title><script>window.buildStats = DATA_PLACEHOLDER;</script></head><body><script defer="defer">/*! For license information please see client.js.LICENSE.txt */
(()=>{var e={184:(e,t)=>{var n;!function(){"use strict";var r={}.hasOwnProperty;function i(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var o=typeof n;if("string"===o||"number"===o)e.push(n);else if(Array.isArray(n)){if(n.length){var a=i.apply(null,n);a&&e.push(a)}}else if("object"===o){if(n.toString!==Object.prototype.toString&&!n.toString.toString().includes("[native code]")){e.push(n.toString());continue}for(var u in n)r.call(n,u)&&n[u]&&e.push(u)}}}return e.join(" ")}e.exports?(i.default=i,e.exports=i):void 0===(n=function(){return i}.apply(t,[]))||(e.exports=n)}()},42:(e,t,n)=>{"use strict";n.d(t,{Z:()=>u});var r=n(81),i=n.n(r),o=n(645),a=n.n(o)()(i());a.push([e.id,".U_PXwI1GBpzlnXrNIfvi{height:26px;left:1rem;line-height:0;position:absolute;top:1rem;width:28px;z-index:1}.y1Ad5YGR_TOKs1pfA3Xt{align-items:stretch;display:flex;height:100%;position:relative;width:100%}.rsboAtZm05QlOSifAQua{flex:1 1 auto;margin-top:15px;overflow:auto}.xbhmtN9BIvcpbhvANqiI+.xbhmtN9BIvcpbhvANqiI{margin-top:15px}.ANSpLUC1tcYkvPWiWJz_{cursor:pointer;font-weight:700;margin-bottom:7px;white-space:nowrap}.dlMHNNrH4MzNOiFcA2Q7{margin-left:7px}.va3hzA5HIXRtLQLlHR6b{height:100%}.ZujdcgFzHx0gosUfbw7Z{flex:1;position:relative}.WpyfcDk5qErVav8cVoCQ{flex:1 1 auto;margin-top:15px;min-height:80px;overflow:auto}._PUIdtUCOakkWdKefB02{display:flex;flex-direction:column;overflow:hidden}",""]),a.locals={backButton:"U_PXwI1GBpzlnXrNIfvi",client:"y1Ad5YGR_TOKs1pfA3Xt",foundModulesContainer:"rsboAtZm05QlOSifAQua",foundModulesChunk:"xbhmtN9BIvcpbhvANqiI",foundModulesChunkName:"ANSpLUC1tcYkvPWiWJz_",foundModulesList:"dlMHNNrH4MzNOiFcA2Q7",map:"va3hzA5HIXRtLQLlHR6b",mapContainer:"ZujdcgFzHx0gosUfbw7Z",pageFilter:"WpyfcDk5qErVav8cVoCQ",sidebar:"_PUIdtUCOakkWdKefB02"};const u=a},719:(e,t,n)=>{"use strict";n.d(t,{Z:()=>u});var r=n(81),i=n.n(r),o=n(645),a=n.n(o)()(i());a.push([e.id,".qlPQ8XGu8gbhFkQYAPio{background:#fff;border:1px solid #aaa;border-radius:4px;cursor:pointer;display:inline-block;font-family:Verdana,sans-serif;font-size:11px;outline:none;padding:5px 7px;transition:background .3s ease;white-space:nowrap}.qlPQ8XGu8gbhFkQYAPio:focus,.qlPQ8XGu8gbhFkQYAPio:hover{background:#ffefd7}.qlPQ8XGu8gbhFkQYAPio.bf3wmAVOIcd6cBbN84Du{background:orange;color:#000}.qlPQ8XGu8gbhFkQYAPio[disabled]{cursor:default}",""]),a.locals={button:"qlPQ8XGu8gbhFkQYAPio",active:"bf3wmAVOIcd6cBbN84Du"};const u=a},386:(e,t,n)=>{"use strict";n.d(t,{Z:()=>u});var r=n(81),i=n.n(r),o=n(645),a=n.n(o)()(i());a.push([e.id,".fpu2lpw8vrgncDbT0WaO{background:#fff;border:.0625rem solid #aaa;border-radius:.25rem;max-width:40rem;min-width:10rem;opacity:.9;overflow-wrap:break-word;padding:.3rem .625rem;position:absolute;visibility:hidden;z-index:3}.fpu2lpw8vrgncDbT0WaO p{margin:0}.fpu2lpw8vrgncDbT0WaO .KTuocodhlhqTmaYZ_aIQ{margin-left:-2ch}.fpu2lpw8vrgncDbT0WaO .MGMq2PkWepjLhEO7S4Lm:not(:first-child){margin-left:2ch}.fpu2lpw8vrgncDbT0WaO .GgQt8q7L9WGlNP_nRrkW,.fpu2lpw8vrgncDbT0WaO .QHqClgrJE141omoSYSO7{margin-top:1rem}.fpu2lpw8vrgncDbT0WaO .vT6z33SduVJ45o81HG3J{margin-bottom:1rem}.fpu2lpw8vrgncDbT0WaO .QHqClgrJE141omoSYSO7 ul{margin:0;padding-left:1.4rem}",""]),a.locals={detailsTooltip:"fpu2lpw8vrgncDbT0WaO",arrow:"KTuocodhlhqTmaYZ_aIQ",issuer:"MGMq2PkWepjLhEO7S4Lm",issuers:"GgQt8q7L9WGlNP_nRrkW",sharedByPages:"QHqClgrJE141omoSYSO7",label:"vT6z33SduVJ45o81HG3J"};const u=a},375:(e,t,n)=>{"use strict";n.d(t,{Z:()=>u});var r=n(81),i=n.n(r),o=n(645),a=n.n(o)()(i());a.push([e.id,".frxPp9Z007x1WLvCge4V{display:flex}.frxPp9Z007x1WLvCge4V:not(.Q_Xly7sACeekKCDs9l4k){margin:8px 0 0}.LzqiGnA4C1u2gsVxvKqw{white-space:nowrap}.LzqiGnA4C1u2gsVxvKqw+.LzqiGnA4C1u2gsVxvKqw{margin-left:15px}",""]),a.locals={foundModulesInfo:"frxPp9Z007x1WLvCge4V",hidden:"Q_Xly7sACeekKCDs9l4k",foundModulesInfoItem:"LzqiGnA4C1u2gsVxvKqw"};const u=a},572:(e,t,n)=>{"use strict";n.d(t,{Z:()=>u});var r=n(81),i=n.n(r),o=n(645),a=n.n(o)()(i());a.push([e.id,".x3X3yQqggs6bvrpdnBbo{background:no-repeat 0;cursor:pointer;margin-bottom:4px;padding-left:10px;position:relative;white-space:nowrap}.o6zMCKoXyrQS0Wf5HVQ5{margin-right:5px;vertical-align:middle}",""]),a.locals={container:"x3X3yQqggs6bvrpdnBbo",icon:"o6zMCKoXyrQS0Wf5HVQ5"};const u=a},349:(e,t,n)=>{"use strict";n.d(t,{Z:()=>u});var r=n(81),i=n.n(r),o=n(645),a=n.n(o)()(i());a.push([e.id,".wQy3Ko7DFCNt0msgeNHV{cursor:pointer;margin-left:0}.z1Z6AS7sHdlvfSBZpPcI{margin-left:3px;position:relative;top:-2px}.RCj2c6WOwMYOtbJQP9TY{cursor:pointer;display:inline-block}",""]),a.locals={checkbox:"wQy3Ko7DFCNt0msgeNHV",itemText:"z1Z6AS7sHdlvfSBZpPcI",label:"RCj2c6WOwMYOtbJQP9TY"};const u=a},446:(e,t,n)=>{"use strict";n.d(t,{Z:()=>u});var r=n(81),i=n.n(r),o=n(645),a=n.n(o)()(i());a.push([e.id,".y2oRAuAYj3QJQwzBEQr1{display:block}.y2oRAuAYj3QJQwzBEQr1+.y2oRAuAYj3QJQwzBEQr1{margin-top:1px}.pRxlFY_9ji8qC1tutQJg{font-size:11px;font-weight:700;margin-bottom:7px}.xDCT3QDbFIoXC2_86eDN{white-space:nowrap}",""]),a.locals={page:"y2oRAuAYj3QJQwzBEQr1",label:"pRxlFY_9ji8qC1tutQJg",pageFilter:"xDCT3QDbFIoXC2_86eDN"};const u=a},47:(e,t,n)=>{"use strict";n.d(t,{Z:()=>u});var r=n(81),i=n.n(r),o=n(645),a=n.n(o)()(i());a.push([e.id,"._nPjD8Gj5R4Kze3Elr0A{border:1px solid #aaa;border-radius:4px;display:block;flex:1;padding:5px}.aeGAHs4QRBHtMNXpCjih{font-weight:700;margin-bottom:7px}.x7fjQUg_1jY20u3YXBFH{display:flex}.OBjlIdtDjSrrdnJ9d50d{white-space:nowrap}",""]),a.locals={input:"_nPjD8Gj5R4Kze3Elr0A",label:"aeGAHs4QRBHtMNXpCjih",row:"x7fjQUg_1jY20u3YXBFH",search:"OBjlIdtDjSrrdnJ9d50d"};const u=a},311:(e,t,n)=>{"use strict";n.d(t,{Z:()=>u});var r=n(81),i=n.n(r),o=n(645),a=n.n(o)()(i());a.push([e.id,".yg9ZT87SlqAfcsiLuUt4{cursor:pointer;height:26px;line-height:0;position:absolute;right:15px;top:10px;width:27px}._0AHZ30QSpwKO6X4UXts{bottom:0;cursor:col-resize;position:absolute;right:0;top:0;width:7px}.HG7EaDDVgxZ6qb8A_pIW{background:#fff;border:none;border-right:1px solid #aaa;box-sizing:border-box;left:0;max-width:calc(50% - 10px);opacity:.95;padding:25px 15px 15px;z-index:2}.HG7EaDDVgxZ6qb8A_pIW:not(.xRtvsKnmyi2hTclMZfOR){min-width:200px}.HG7EaDDVgxZ6qb8A_pIW:not(.kqrsYlJV_K9wASPDa2KW){bottom:0;position:absolute;top:0;transition:transform .2s ease}.HG7EaDDVgxZ6qb8A_pIW.xRtvsKnmyi2hTclMZfOR{transform:translateX(calc(-100% + 7px))}.HG7EaDDVgxZ6qb8A_pIW.kqrsYlJV_K9wASPDa2KW{position:relative}",""]),a.locals={toggleTime:".2s",pinButton:"yg9ZT87SlqAfcsiLuUt4",resizer:"_0AHZ30QSpwKO6X4UXts",sidebar:"HG7EaDDVgxZ6qb8A_pIW",hidden:"xRtvsKnmyi2hTclMZfOR",pinned:"kqrsYlJV_K9wASPDa2KW"};const u=a},65:(e,t,n)=>{"use strict";n.d(t,{Z:()=>u});var r=n(81),i=n.n(r),o=n(645),a=n.n(o)()(i());a.push([e.id,"body,html{font-family:Verdana,sans-serif;font-size:11px;height:100%;margin:0;overflow:hidden}body.resizing *{user-select:none}",""]);const u=a},645:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n="",r=void 0!==t[5];return t[4]&&(n+="@supports (".concat(t[4],") {")),t[2]&&(n+="@media ".concat(t[2]," {")),r&&(n+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),n+=e(t),r&&(n+="}"),t[2]&&(n+="}"),t[4]&&(n+="}"),n})).join("")},t.i=function(e,n,r,i,o){"string"==typeof e&&(e=[[null,e,void 0]]);var a={};if(r)for(var u=0;u<this.length;u++){var l=this[u][0];null!=l&&(a[l]=!0)}for(var s=0;s<e.length;s++){var c=[].concat(e[s]);r&&a[c[0]]||(void 0!==o&&(void 0===c[5]||(c[1]="@layer".concat(c[5].length>0?" ".concat(c[5]):""," {").concat(c[1],"}")),c[5]=o),n&&(c[2]?(c[1]="@media ".concat(c[2]," {").concat(c[1],"}"),c[2]=n):c[2]=n),i&&(c[4]?(c[1]="@supports (".concat(c[4],") {").concat(c[1],"}"),c[4]=i):c[4]="".concat(i)),t.push(c))}},t}},81:e=>{"use strict";e.exports=function(e){return e[1]}},705:(e,t,n)=>{var r=n(639).Symbol;e.exports=r},932:e=>{e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length,i=Array(r);++n<r;)i[n]=t(e[n],n,e);return i}},239:(e,t,n)=>{var r=n(705),i=n(607),o=n(333),a=r?r.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":a&&a in Object(e)?i(e):o(e)}},674:e=>{e.exports=function(e){return function(t){return null==e?void 0:e[t]}}},531:(e,t,n)=>{var r=n(705),i=n(932),o=n(469),a=n(448),u=r?r.prototype:void 0,l=u?u.toString:void 0;e.exports=function e(t){if("string"==typeof t)return t;if(o(t))return i(t,e)+"";if(a(t))return l?l.call(t):"";var n=t+"";return"0"==n&&1/t==-1/0?"-0":n}},561:(e,t,n)=>{var r=n(990),i=/^\s+/;e.exports=function(e){return e?e.slice(0,r(e)+1).replace(i,""):e}},464:(e,t,n)=>{var r=n(674)({"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"});e.exports=r},957:(e,t,n)=>{var r="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g;e.exports=r},607:(e,t,n)=>{var r=n(705),i=Object.prototype,o=i.hasOwnProperty,a=i.toString,u=r?r.toStringTag:void 0;e.exports=function(e){var t=o.call(e,u),n=e[u];try{e[u]=void 0;var r=!0}catch(e){}var i=a.call(e);return r&&(t?e[u]=n:delete e[u]),i}},333:e=>{var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},639:(e,t,n)=>{var r=n(957),i="object"==typeof self&&self&&self.Object===Object&&self,o=r||i||Function("return this")();e.exports=o},990:e=>{var t=/\s/;e.exports=function(e){for(var n=e.length;n--&&t.test(e.charAt(n)););return n}},279:(e,t,n)=>{var r=n(218),i=n(771),o=n(841),a=Math.max,u=Math.min;e.exports=function(e,t,n){var l,s,c,f,h,p,d=0,g=!1,v=!1,b=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function y(t){var n=l,r=s;return l=s=void 0,d=t,f=e.apply(r,n)}function m(e){return d=e,h=setTimeout(_,t),g?y(e):f}function x(e){var n=e-p;return void 0===p||n>=t||n<0||v&&e-d>=c}function _(){var e=i();if(x(e))return w(e);h=setTimeout(_,function(e){var n=t-(e-p);return v?u(n,c-(e-d)):n}(e))}function w(e){return h=void 0,b&&l?y(e):(l=s=void 0,f)}function C(){var e=i(),n=x(e);if(l=arguments,s=this,p=e,n){if(void 0===h)return m(p);if(v)return clearTimeout(h),h=setTimeout(_,t),y(p)}return void 0===h&&(h=setTimeout(_,t)),f}return t=o(t)||0,r(n)&&(g=!!n.leading,c=(v="maxWait"in n)?a(o(n.maxWait)||0,t):c,b="trailing"in n?!!n.trailing:b),C.cancel=function(){void 0!==h&&clearTimeout(h),d=0,l=p=s=h=void 0},C.flush=function(){return void 0===h?f:w(i())},C}},187:(e,t,n)=>{var r=n(464),i=n(833),o=/[&<>"']/g,a=RegExp(o.source);e.exports=function(e){return(e=i(e))&&a.test(e)?e.replace(o,r):e}},522:(e,t,n)=>{var r=n(833),i=/[\\^$.*+?()[\]{}|]/g,o=RegExp(i.source);e.exports=function(e){return(e=r(e))&&o.test(e)?e.replace(i,"\\$&"):e}},469:e=>{var t=Array.isArray;e.exports=t},218:e=>{e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},5:e=>{e.exports=function(e){return null!=e&&"object"==typeof e}},448:(e,t,n)=>{var r=n(239),i=n(5);e.exports=function(e){return"symbol"==typeof e||i(e)&&"[object Symbol]"==r(e)}},771:(e,t,n)=>{var r=n(639);e.exports=function(){return r.Date.now()}},841:(e,t,n)=>{var r=n(561),i=n(218),o=n(448),a=/^[-+]0x[0-9a-f]+$/i,u=/^0b[01]+$/i,l=/^0o[0-7]+$/i,s=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(o(e))return NaN;if(i(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=i(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=r(e);var n=u.test(e);return n||l.test(e)?s(e.slice(2),n?2:8):a.test(e)?NaN:+e}},833:(e,t,n)=>{var r=n(531);e.exports=function(e){return null==e?"":r(e)}},400:(e,t,n)=>{"use strict";n.d(t,{HY:()=>b,Tm:()=>O,Vf:()=>v,YM:()=>i,ZB:()=>E,az:()=>d,bR:()=>S,kr:()=>q,sY:()=>H,wA:()=>y});var r,i,o,a,u,l,s={},c=[],f=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;function h(e,t){for(var n in t)e[n]=t[n];return e}function p(e){var t=e.parentNode;t&&t.removeChild(e)}function d(e,t,n){var i,o,a,u={};for(a in t)"key"==a?i=t[a]:"ref"==a?o=t[a]:u[a]=t[a];if(arguments.length>2&&(u.children=arguments.length>3?r.call(arguments,2):n),"function"==typeof e&&null!=e.defaultProps)for(a in e.defaultProps)void 0===u[a]&&(u[a]=e.defaultProps[a]);return g(e,u,i,o,null)}function g(e,t,n,r,a){var u={type:e,props:t,key:n,ref:r,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:null==a?++o:a};return null==a&&null!=i.vnode&&i.vnode(u),u}function v(){return{current:null}}function b(e){return e.children}function y(e,t){this.props=e,this.context=t}function m(e,t){if(null==t)return e.__?m(e.__,e.__.__k.indexOf(e)+1):null;for(var n;t<e.__k.length;t++)if(null!=(n=e.__k[t])&&null!=n.__e)return n.__e;return"function"==typeof e.type?m(e):null}function x(e){var t,n;if(null!=(e=e.__)&&null!=e.__c){for(e.__e=e.__c.base=null,t=0;t<e.__k.length;t++)if(null!=(n=e.__k[t])&&null!=n.__e){e.__e=e.__c.base=n.__e;break}return x(e)}}function _(e){(!e.__d&&(e.__d=!0)&&a.push(e)&&!w.__r++||u!==i.debounceRendering)&&((u=i.debounceRendering)||setTimeout)(w)}function w(){for(var e;w.__r=a.length;)e=a.sort((function(e,t){return e.__v.__b-t.__v.__b})),a=[],e.some((function(e){var t,n,r,i,o,a;e.__d&&(o=(i=(t=e).__v).__e,(a=t.__P)&&(n=[],(r=h({},i)).__v=i.__v+1,A(a,i,r,t.__n,void 0!==a.ownerSVGElement,null!=i.__h?[o]:null,n,null==o?m(i):o,i.__h),L(n,i),i.__e!=o&&x(i)))}))}function C(e,t,n,r,i,o,a,u,l,f){var h,p,d,v,y,x,_,w=r&&r.__k||c,C=w.length;for(n.__k=[],h=0;h<t.length;h++)if(null!=(v=n.__k[h]=null==(v=t[h])||"boolean"==typeof v?null:"string"==typeof v||"number"==typeof v||"bigint"==typeof v?g(null,v,null,null,v):Array.isArray(v)?g(b,{children:v},null,null,null):v.__b>0?g(v.type,v.props,v.key,v.ref?v.ref:null,v.__v):v)){if(v.__=n,v.__b=n.__b+1,null===(d=w[h])||d&&v.key==d.key&&v.type===d.type)w[h]=void 0;else for(p=0;p<C;p++){if((d=w[p])&&v.key==d.key&&v.type===d.type){w[p]=void 0;break}d=null}A(e,v,d=d||s,i,o,a,u,l,f),y=v.__e,(p=v.ref)&&d.ref!=p&&(_||(_=[]),d.ref&&_.push(d.ref,null,v),_.push(p,v.__c||y,v)),null!=y?(null==x&&(x=y),"function"==typeof v.type&&v.__k===d.__k?v.__d=l=T(v,l,e):l=z(e,v,d,w,y,l),"function"==typeof n.type&&(n.__d=l)):l&&d.__e==l&&l.parentNode!=e&&(l=m(d))}for(n.__e=x,h=C;h--;)null!=w[h]&&j(w[h],w[h]);if(_)for(h=0;h<_.length;h++)F(_[h],_[++h],_[++h])}function T(e,t,n){for(var r,i=e.__k,o=0;i&&o<i.length;o++)(r=i[o])&&(r.__=e,t="function"==typeof r.type?T(r,t,n):z(n,r,r,i,r.__e,t));return t}function S(e,t){return t=t||[],null==e||"boolean"==typeof e||(Array.isArray(e)?e.some((function(e){S(e,t)})):t.push(e)),t}function z(e,t,n,r,i,o){var a,u,l;if(void 0!==t.__d)a=t.__d,t.__d=void 0;else if(null==n||i!=o||null==i.parentNode)e:if(null==o||o.parentNode!==e)e.appendChild(i),a=null;else{for(u=o,l=0;(u=u.nextSibling)&&l<r.length;l+=2)if(u==i)break e;e.insertBefore(i,o),a=o}return void 0!==a?a:i.nextSibling}function M(e,t,n){"-"===t[0]?e.setProperty(t,n):e[t]=null==n?"":"number"!=typeof n||f.test(t)?n:n+"px"}function k(e,t,n,r,i){var o;e:if("style"===t)if("string"==typeof n)e.style.cssText=n;else{if("string"==typeof r&&(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("o"===t[0]&&"n"===t[1])o=t!==(t=t.replace(/Capture$/,"")),t=t.toLowerCase()in e?t.toLowerCase().slice(2):t.slice(2),e.l||(e.l={}),e.l[t+o]=n,n?r||e.addEventListener(t,o?D:P,o):e.removeEventListener(t,o?D:P,o);else if("dangerouslySetInnerHTML"!==t){if(i)t=t.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if("href"!==t&&"list"!==t&&"form"!==t&&"tabIndex"!==t&&"download"!==t&&t in e)try{e[t]=null==n?"":n;break e}catch(e){}"function"==typeof n||(null==n||!1===n&&-1==t.indexOf("-")?e.removeAttribute(t):e.setAttribute(t,n))}}function P(e){this.l[e.type+!1](i.event?i.event(e):e)}function D(e){this.l[e.type+!0](i.event?i.event(e):e)}function A(e,t,n,r,o,a,u,l,s){var c,f,p,d,g,v,m,x,_,w,T,S,z,M,k,P=t.type;if(void 0!==t.constructor)return null;null!=n.__h&&(s=n.__h,l=t.__e=n.__e,t.__h=null,a=[l]),(c=i.__b)&&c(t);try{e:if("function"==typeof P){if(x=t.props,_=(c=P.contextType)&&r[c.__c],w=c?_?_.props.value:c.__:r,n.__c?m=(f=t.__c=n.__c).__=f.__E:("prototype"in P&&P.prototype.render?t.__c=f=new P(x,w):(t.__c=f=new y(x,w),f.constructor=P,f.render=B),_&&_.sub(f),f.props=x,f.state||(f.state={}),f.context=w,f.__n=r,p=f.__d=!0,f.__h=[],f._sb=[]),null==f.__s&&(f.__s=f.state),null!=P.getDerivedStateFromProps&&(f.__s==f.state&&(f.__s=h({},f.__s)),h(f.__s,P.getDerivedStateFromProps(x,f.__s))),d=f.props,g=f.state,p)null==P.getDerivedStateFromProps&&null!=f.componentWillMount&&f.componentWillMount(),null!=f.componentDidMount&&f.__h.push(f.componentDidMount);else{if(null==P.getDerivedStateFromProps&&x!==d&&null!=f.componentWillReceiveProps&&f.componentWillReceiveProps(x,w),!f.__e&&null!=f.shouldComponentUpdate&&!1===f.shouldComponentUpdate(x,f.__s,w)||t.__v===n.__v){for(f.props=x,f.state=f.__s,t.__v!==n.__v&&(f.__d=!1),f.__v=t,t.__e=n.__e,t.__k=n.__k,t.__k.forEach((function(e){e&&(e.__=t)})),T=0;T<f._sb.length;T++)f.__h.push(f._sb[T]);f._sb=[],f.__h.length&&u.push(f);break e}null!=f.componentWillUpdate&&f.componentWillUpdate(x,f.__s,w),null!=f.componentDidUpdate&&f.__h.push((function(){f.componentDidUpdate(d,g,v)}))}if(f.context=w,f.props=x,f.__v=t,f.__P=e,S=i.__r,z=0,"prototype"in P&&P.prototype.render){for(f.state=f.__s,f.__d=!1,S&&S(t),c=f.render(f.props,f.state,f.context),M=0;M<f._sb.length;M++)f.__h.push(f._sb[M]);f._sb=[]}else do{f.__d=!1,S&&S(t),c=f.render(f.props,f.state,f.context),f.state=f.__s}while(f.__d&&++z<25);f.state=f.__s,null!=f.getChildContext&&(r=h(h({},r),f.getChildContext())),p||null==f.getSnapshotBeforeUpdate||(v=f.getSnapshotBeforeUpdate(d,g)),k=null!=c&&c.type===b&&null==c.key?c.props.children:c,C(e,Array.isArray(k)?k:[k],t,n,r,o,a,u,l,s),f.base=t.__e,t.__h=null,f.__h.length&&u.push(f),m&&(f.__E=f.__=null),f.__e=!1}else null==a&&t.__v===n.__v?(t.__k=n.__k,t.__e=n.__e):t.__e=G(n.__e,t,n,r,o,a,u,s);(c=i.diffed)&&c(t)}catch(e){t.__v=null,(s||null!=a)&&(t.__e=l,t.__h=!!s,a[a.indexOf(l)]=null),i.__e(e,t,n)}}function L(e,t){i.__c&&i.__c(t,e),e.some((function(t){try{e=t.__h,t.__h=[],e.some((function(e){e.call(t)}))}catch(e){i.__e(e,t.__v)}}))}function G(e,t,n,i,o,a,u,l){var c,f,h,d=n.props,g=t.props,v=t.type,b=0;if("svg"===v&&(o=!0),null!=a)for(;b<a.length;b++)if((c=a[b])&&"setAttribute"in c==!!v&&(v?c.localName===v:3===c.nodeType)){e=c,a[b]=null;break}if(null==e){if(null===v)return document.createTextNode(g);e=o?document.createElementNS("http://www.w3.org/2000/svg",v):document.createElement(v,g.is&&g),a=null,l=!1}if(null===v)d===g||l&&e.data===g||(e.data=g);else{if(a=a&&r.call(e.childNodes),f=(d=n.props||s).dangerouslySetInnerHTML,h=g.dangerouslySetInnerHTML,!l){if(null!=a)for(d={},b=0;b<e.attributes.length;b++)d[e.attributes[b].name]=e.attributes[b].value;(h||f)&&(h&&(f&&h.__html==f.__html||h.__html===e.innerHTML)||(e.innerHTML=h&&h.__html||""))}if(function(e,t,n,r,i){var o;for(o in n)"children"===o||"key"===o||o in t||k(e,o,null,n[o],r);for(o in t)i&&"function"!=typeof t[o]||"children"===o||"key"===o||"value"===o||"checked"===o||n[o]===t[o]||k(e,o,t[o],n[o],r)}(e,g,d,o,l),h)t.__k=[];else if(b=t.props.children,C(e,Array.isArray(b)?b:[b],t,n,i,o&&"foreignObject"!==v,a,u,a?a[0]:n.__k&&m(n,0),l),null!=a)for(b=a.length;b--;)null!=a[b]&&p(a[b]);l||("value"in g&&void 0!==(b=g.value)&&(b!==e.value||"progress"===v&&!b||"option"===v&&b!==d.value)&&k(e,"value",b,d.value,!1),"checked"in g&&void 0!==(b=g.checked)&&b!==e.checked&&k(e,"checked",b,d.checked,!1))}return e}function F(e,t,n){try{"function"==typeof e?e(t):e.current=t}catch(e){i.__e(e,n)}}function j(e,t,n){var r,o;if(i.unmount&&i.unmount(e),(r=e.ref)&&(r.current&&r.current!==e.__e||F(r,null,t)),null!=(r=e.__c)){if(r.componentWillUnmount)try{r.componentWillUnmount()}catch(e){i.__e(e,t)}r.base=r.__P=null,e.__c=void 0}if(r=e.__k)for(o=0;o<r.length;o++)r[o]&&j(r[o],t,n||"function"!=typeof e.type);n||null==e.__e||p(e.__e),e.__=e.__e=e.__d=void 0}function B(e,t,n){return this.constructor(e,n)}function H(e,t,n){var o,a,u;i.__&&i.__(e,t),a=(o="function"==typeof n)?null:n&&n.__k||t.__k,u=[],A(t,e=(!o&&n||t).__k=d(b,null,[e]),a||s,s,void 0!==t.ownerSVGElement,!o&&n?[n]:a?null:t.firstChild?r.call(t.childNodes):null,u,!o&&n?n:a?a.__e:t.firstChild,o),L(u,e)}function E(e,t){H(e,t,E)}function O(e,t,n){var i,o,a,u=h({},e.props);for(a in t)"key"==a?i=t[a]:"ref"==a?o=t[a]:u[a]=t[a];return arguments.length>2&&(u.children=arguments.length>3?r.call(arguments,2):n),g(e.type,u,i||e.key,o||e.ref,null)}function q(e,t){var n={__c:t="__cC"+l++,__:e,Consumer:function(e,t){return e.children(t)},Provider:function(e){var n,r;return this.getChildContext||(n=[],(r={})[t]=this,this.getChildContext=function(){return r},this.shouldComponentUpdate=function(e){this.props.value!==e.value&&n.some(_)},this.sub=function(e){n.push(e);var t=e.componentWillUnmount;e.componentWillUnmount=function(){n.splice(n.indexOf(e),1),t&&t.call(e)}}),e.children}};return n.Provider.__=n.Consumer.contextType=n}r=c.slice,i={__e:function(e,t,n,r){for(var i,o,a;t=t.__;)if((i=t.__c)&&!i.__)try{if((o=i.constructor)&&null!=o.getDerivedStateFromError&&(i.setState(o.getDerivedStateFromError(e)),a=i.__d),null!=i.componentDidCatch&&(i.componentDidCatch(e,r||{}),a=i.__d),a)return i.__E=i}catch(t){e=t}throw e}},o=0,y.prototype.setState=function(e,t){var n;n=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=h({},this.state),"function"==typeof e&&(e=e(h({},n),this.props)),e&&h(n,e),null!=e&&this.__v&&(t&&this._sb.push(t),_(this))},y.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),_(this))},y.prototype.render=b,a=[],w.__r=0,l=0},584:(e,t,n)=>{"use strict";n.d(t,{BX:()=>o,HY:()=>r.HY,tZ:()=>o});var r=n(400),i=0;function o(e,t,n,o,a){var u,l,s={};for(l in t)"ref"==l?u=t[l]:s[l]=t[l];var c={type:e,props:s,key:n,ref:u,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:--i,__source:a,__self:o};if("function"==typeof e&&(u=e.defaultProps))for(l in u)void 0===s[l]&&(s[l]=u[l]);return r.YM.vnode&&r.YM.vnode(c),c}},379:e=>{"use strict";var t=[];function n(e){for(var n=-1,r=0;r<t.length;r++)if(t[r].identifier===e){n=r;break}return n}function r(e,r){for(var o={},a=[],u=0;u<e.length;u++){var l=e[u],s=r.base?l[0]+r.base:l[0],c=o[s]||0,f="".concat(s," ").concat(c);o[s]=c+1;var h=n(f),p={css:l[1],media:l[2],sourceMap:l[3],supports:l[4],layer:l[5]};if(-1!==h)t[h].references++,t[h].updater(p);else{var d=i(p,r);r.byIndex=u,t.splice(u,0,{identifier:f,updater:d,references:1})}a.push(f)}return a}function i(e,t){var n=t.domAPI(t);return n.update(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap&&t.supports===e.supports&&t.layer===e.layer)return;n.update(e=t)}else n.remove()}}e.exports=function(e,i){var o=r(e=e||[],i=i||{});return function(e){e=e||[];for(var a=0;a<o.length;a++){var u=n(o[a]);t[u].references--}for(var l=r(e,i),s=0;s<o.length;s++){var c=n(o[s]);0===t[c].references&&(t[c].updater(),t.splice(c,1))}o=l}}},569:e=>{"use strict";var t={};e.exports=function(e,n){var r=function(e){if(void 0===t[e]){var n=document.querySelector(e);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}t[e]=n}return t[e]}(e);if(!r)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");r.appendChild(n)}},216:e=>{"use strict";e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},565:(e,t,n)=>{"use strict";e.exports=function(e){var t=n.nc;t&&e.setAttribute("nonce",t)}},795:e=>{"use strict";e.exports=function(e){var t=e.insertStyleElement(e);return{update:function(n){!function(e,t,n){var r="";n.supports&&(r+="@supports (".concat(n.supports,") {")),n.media&&(r+="@media ".concat(n.media," {"));var i=void 0!==n.layer;i&&(r+="@layer".concat(n.layer.length>0?" ".concat(n.layer):""," {")),r+=n.css,i&&(r+="}"),n.media&&(r+="}"),n.supports&&(r+="}");var o=n.sourceMap;o&&"undefined"!=typeof btoa&&(r+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(o))))," */")),t.styleTagTransform(r,e,t.options)}(t,e,n)},remove:function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(t)}}}},589:e=>{"use strict";e.exports=function(e,t){if(t.styleSheet)t.styleSheet.cssText=e;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(e))}}},980:(e,t,n)=>{"use strict";n.d(t,{V:()=>k});var r=n(584),i=n(941),o=n(187),a=n.n(o),u=n(522),l=n.n(u),s=n(732),c=n(379),f=n.n(c),h=n(795),p=n.n(h),d=n(569),g=n.n(d),v=n(565),b=n.n(v),y=n(216),m=n.n(y),x=n(589),_=n.n(x),w=n(572),C={};C.styleTagTransform=_(),C.setAttributes=b(),C.insert=g().bind(null,"head"),C.domAPI=p(),C.insertStyleElement=m(),f()(w.Z,C);const T=w.Z&&w.Z.locals?w.Z.locals:void 0,S=e=>(0,r.tZ)("svg",{width:12,height:12,xmlns:"http://www.w3.org/2000/svg",...e,children:(0,r.BX)("g",{fill:"none","fill-rule":"evenodd",children:[(0,r.tZ)("path",{d:"M0 0v11.25c0 .414.336.75.75.75h10.5a.75.75 0 0 0 .75-.75V0H0z",fill:"#FC6"}),(0,r.tZ)("path",{d:"M0 0s.156 3 1.125 3h9.75C11.845 3 12 0 12 0H0z",fill:"#CCA352"}),(0,r.tZ)("path",{d:"M6.75 1.5h-.375L6 2.5l-.375-1H5.25L5.813 3 5.25 4.5h.375L6 3.5l.375 1h.375L6.187 3z",fill:"#997A3D"}),(0,r.tZ)("circle",{cx:".75",cy:".75",r:"1",transform:"translate(5.25 3.75)",fill:"#FFF"}),(0,r.tZ)("circle",{cx:".75",cy:".75",r:"1",transform:"translate(5.25 .75)",fill:"#FFF"})]})}),z=e=>(0,r.tZ)("svg",{width:13,height:10,xmlns:"http://www.w3.org/2000/svg",...e,children:(0,r.BX)("g",{fill:"none",children:[(0,r.tZ)("path",{d:"M11.7 1.333H5.85L4.55 0H1.3C.585 0 0 .6 0 1.333V4h13V2.667c0-.733-.585-1.334-1.3-1.334z",fill:"#FFA000"}),(0,r.tZ)("path",{d:"M11.7 1H1.3C.585 1 0 1.579 0 2.286v6.428C0 9.421.585 10 1.3 10h10.4c.715 0 1.3-.579 1.3-1.286V2.286C13 1.579 12.415 1 11.7 1z",fill:"#FFCA28"})]})}),M=e=>(0,r.tZ)("svg",{width:11,height:13,xmlns:"http://www.w3.org/2000/svg",...e,children:(0,r.tZ)("path",{d:"M1.625 0A1.63 1.63 0 0 0 0 1.625v9.75A1.63 1.63 0 0 0 1.625 13h7.583a1.63 1.63 0 0 0 1.625-1.625V3.567L7.266 0H1.625zm0 1.083H6.5v3.25h3.25v7.042a.535.535 0 0 1-.542.542H1.625a.535.535 0 0 1-.542-.542v-9.75c0-.305.237-.542.542-.542zm5.958.766L8.984 3.25h-1.4v-1.4zM3.25 6.5v1.083h4.333V6.5H3.25zm0 2.167V9.75H6.5V8.667H3.25z","fill-opacity":".403"})}),k=({highlightedText:e,moduleGroup:t,onClick:n})=>{const o=function({groups:e,path:t}){return t?e?z:M:S}(t);return(0,r.BX)("div",{className:T.container,onClick:()=>n(t),children:[(0,r.tZ)(o,{className:T.icon}),(0,r.tZ)("span",{dangerouslySetInnerHTML:{__html:P(t,e)}})," (",(0,r.tZ)("strong",{children:(0,i.G)(t[s.q])}),")"]})};function P(e,t){let n;const r=e.path||e.label;if(t){const e=t instanceof RegExp?new RegExp(t.source,"igu"):new RegExp(`(?:${l()(t)})+`,"iu");let i=null,o=null;do{o=i,i=e.exec(r)}while(i);o&&(n=`${a()(r.slice(0,o.index))}<strong>${a()(o[0])}</strong>${a()(r.slice(o.index+o[0].length))}`)}return n||(n=a()(r)),n}},808:(e,t,n)=>{"use strict";n.d(t,{I:()=>o});var r=n(584),i=n(980);const o=({className:t,highlightedText:n,moduleGroups:o,onModuleClick:a})=>(0,r.tZ)("div",{className:t,children:o.map((t=>(0,r.tZ)(i.V,{moduleGroup:t,highlightedText:n,onClick:()=>a(t)},e.id)))})},732:(e,t,n)=>{"use strict";n.d(t,{q:()=>r,u:()=>i});const r="parsedSize",i=3},941:(e,t,n)=>{"use strict";n.d(t,{G:()=>l});const r="bits",i="bytes",o="iec",a="jedec",u={symbol:{iec:{bits:["bit","Kibit","Mibit","Gibit","Tibit","Pibit","Eibit","Zibit","Yibit"],bytes:["B","KiB","MiB","GiB","TiB","PiB","EiB","ZiB","YiB"]},jedec:{bits:["bit","Kbit","Mbit","Gbit","Tbit","Pbit","Ebit","Zbit","Ybit"],bytes:["B","KB","MB","GB","TB","PB","EB","ZB","YB"]}},fullform:{iec:["","kibi","mebi","gibi","tebi","pebi","exbi","zebi","yobi"],jedec:["","kilo","mega","giga","tera","peta","exa","zetta","yotta"]}};function l(e,{bits:t=!1,pad:n=!1,base:l=-1,round:s=2,locale:c="",localeOptions:f={},separator:h="",spacer:p=" ",symbols:d={},standard:g="",output:v="string",fullform:b=!1,fullforms:y=[],exponent:m=-1,roundingMethod:x="round",precision:_=0}={}){let w=m,C=Number(e),T=[],S=0,z="";-1===l&&0===g.length?(l=10,g=a):-1===l&&g.length>0?l=(g=g===o?o:a)===o?2:10:g=10==(l=2===l?2:10)||g===a?a:o;const M=10===l?1e3:1024,k=!0===b,P=C<0,D=Math[x];if("bigint"!=typeof e&&isNaN(e))throw new TypeError("Invalid number");if("function"!=typeof D)throw new TypeError("Invalid rounding method");if(P&&(C=-C),(-1===w||isNaN(w))&&(w=Math.floor(Math.log(C)/Math.log(M)),w<0&&(w=0)),w>8&&(_>0&&(_+=8-w),w=8),"exponent"===v)return w;if(0===C)T[0]=0,z=T[1]=u.symbol[g][t?r:i][w];else{S=C/(2===l?Math.pow(2,10*w):Math.pow(1e3,w)),t&&(S*=8,S>=M&&w<8&&(S/=M,w++));const e=Math.pow(10,w>0?s:0);T[0]=D(S*e)/e,T[0]===M&&w<8&&-1===m&&(T[0]=1,w++),z=T[1]=10===l&&1===w?t?"kbit":"kB":u.symbol[g][t?r:i][w]}if(P&&(T[0]=-T[0]),_>0&&(T[0]=T[0].toPrecision(_)),T[1]=d[T[1]]||T[1],!0===c?T[0]=T[0].toLocaleString():c.length>0?T[0]=T[0].toLocaleString(c,f):h.length>0&&(T[0]=T[0].toString().replace(".",h)),n&&!1===Number.isInteger(T[0])&&s>0){const e=h||".",t=T[0].toString().split(e),n=t[1]||"",r=n.length,i=s-r;T[0]=`${t[0]}${e}${n.padEnd(r+i,"0")}`}return k&&(T[1]=y[w]?y[w]:u.fullform[g][w]+(t?"bit":"byte")+(1===T[0]?"":"s")),"array"===v?T:"object"===v?{value:T[0],symbol:T[1],exponent:w,unit:z}:T.join(p)}}},t={};function n(r){var i=t[r];if(void 0!==i)return i.exports;var o=t[r]={id:r,exports:{}};return e[r](o,o.exports,n),o.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.nc=void 0,(()=>{"use strict";var e,t,r,i,o=n(584),a=n(400),u=0,l=[],s=[],c=a.YM.__b,f=a.YM.__r,h=a.YM.diffed,p=a.YM.__c,d=a.YM.unmount;function g(e,n){a.YM.__h&&a.YM.__h(t,e,u||n),u=0;var r=t.__H||(t.__H={__:[],__h:[]});return e>=r.__.length&&r.__.push({__V:s}),r.__[e]}function v(e){return u=1,b(k,e)}function b(n,r,i){var o=g(e++,2);if(o.t=n,!o.__c&&(o.__=[i?i(r):k(void 0,r),function(e){var t=o.__N?o.__N[0]:o.__[0],n=o.t(t,e);t!==n&&(o.__N=[n,o.__[1]],o.__c.setState({}))}],o.__c=t,!t.u)){t.u=!0;var a=t.shouldComponentUpdate;t.shouldComponentUpdate=function(e,t,n){if(!o.__c.__H)return!0;var r=o.__c.__H.__.filter((function(e){return e.__c}));if(r.every((function(e){return!e.__N})))return!a||a.call(this,e,t,n);var i=!1;return r.forEach((function(e){if(e.__N){var t=e.__[0];e.__=e.__N,e.__N=void 0,t!==e.__[0]&&(i=!0)}})),!(!i&&o.__c.props===e)&&(!a||a.call(this,e,t,n))}}return o.__N||o.__}function y(n,r){var i=g(e++,3);!a.YM.__s&&M(i.__H,r)&&(i.__=n,i.i=r,t.__H.__h.push(i))}function m(e){return u=5,x((function(){return{current:e}}),[])}function x(t,n){var r=g(e++,7);return M(r.__H,n)?(r.__V=t(),r.i=n,r.__h=t,r.__V):r.__}function _(e,t){return u=8,x((function(){return e}),t)}function w(){for(var e;e=l.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(S),e.__H.__h.forEach(z),e.__H.__h=[]}catch(t){e.__H.__h=[],a.YM.__e(t,e.__v)}}a.YM.__b=function(e){"function"!=typeof e.type||e.__m||null===e.__?e.__m||(e.__m=e.__&&e.__.__m?e.__.__m:""):e.__m=(e.__&&e.__.__m?e.__.__m:"")+(e.__&&e.__.__k?e.__.__k.indexOf(e):0),t=null,c&&c(e)},a.YM.__r=function(n){f&&f(n),e=0;var i=(t=n.__c).__H;i&&(r===t?(i.__h=[],t.__h=[],i.__.forEach((function(e){e.__N&&(e.__=e.__N),e.__V=s,e.__N=e.i=void 0}))):(i.__h.forEach(S),i.__h.forEach(z),i.__h=[])),r=t},a.YM.diffed=function(e){h&&h(e);var n=e.__c;n&&n.__H&&(n.__H.__h.length&&(1!==l.push(n)&&i===a.YM.requestAnimationFrame||((i=a.YM.requestAnimationFrame)||T)(w)),n.__H.__.forEach((function(e){e.i&&(e.__H=e.i),e.__V!==s&&(e.__=e.__V),e.i=void 0,e.__V=s}))),r=t=null},a.YM.__c=function(e,t){t.some((function(e){try{e.__h.forEach(S),e.__h=e.__h.filter((function(e){return!e.__||z(e)}))}catch(n){t.some((function(e){e.__h&&(e.__h=[])})),t=[],a.YM.__e(n,e.__v)}})),p&&p(e,t)},a.YM.unmount=function(e){d&&d(e);var t,n=e.__c;n&&n.__H&&(n.__H.__.forEach((function(e){try{S(e)}catch(e){t=e}})),n.__H=void 0,t&&a.YM.__e(t,n.__v))};var C="function"==typeof requestAnimationFrame;function T(e){var t,n=function(){clearTimeout(r),C&&cancelAnimationFrame(t),setTimeout(e)},r=setTimeout(n,100);C&&(t=requestAnimationFrame(n))}function S(e){var n=t,r=e.__c;"function"==typeof r&&(e.__c=void 0,r()),t=n}function z(e){var n=t;e.__c=e.__(),t=n}function M(e,t){return!e||e.length!==t.length||t.some((function(t,n){return t!==e[n]}))}function k(e,t){return"function"==typeof t?t(e):t}function P(e,t){for(var n in e)if("__source"!==n&&!(n in t))return!0;for(var r in t)if("__source"!==r&&e[r]!==t[r])return!0;return!1}function D(e){this.props=e}(D.prototype=new a.wA).isPureReactComponent=!0,D.prototype.shouldComponentUpdate=function(e,t){return P(this.props,e)||P(this.state,t)};var A=a.YM.__b;a.YM.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),A&&A(e)},"undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.forward_ref");var L=(a.bR,a.YM.__e);a.YM.__e=function(e,t,n,r){if(e.then)for(var i,o=t;o=o.__;)if((i=o.__c)&&i.__c)return null==t.__e&&(t.__e=n.__e,t.__k=n.__k),i.__c(e,t);L(e,t,n,r)};var G=a.YM.unmount;function F(e,t,n){return e&&(e.__c&&e.__c.__H&&(e.__c.__H.__.forEach((function(e){"function"==typeof e.__c&&e.__c()})),e.__c.__H=null),null!=(e=function(e,t){for(var n in t)e[n]=t[n];return e}({},e)).__c&&(e.__c.__P===n&&(e.__c.__P=t),e.__c=null),e.__k=e.__k&&e.__k.map((function(e){return F(e,t,n)}))),e}function j(e,t,n){return e&&(e.__v=null,e.__k=e.__k&&e.__k.map((function(e){return j(e,t,n)})),e.__c&&e.__c.__P===t&&(e.__e&&n.insertBefore(e.__e,e.__d),e.__c.__e=!0,e.__c.__P=n)),e}function B(){this.__u=0,this.t=null,this.__b=null}function H(e){var t=e.__.__c;return t&&t.__a&&t.__a(e)}function E(){this.u=null,this.o=null}a.YM.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),t&&!0===e.__h&&(e.type=null),G&&G(e)},(B.prototype=new a.wA).__c=function(e,t){var n=t.__c,r=this;null==r.t&&(r.t=[]),r.t.push(n);var i=H(r.__v),o=!1,a=function(){o||(o=!0,n.__R=null,i?i(u):u())};n.__R=a;var u=function(){if(!--r.__u){if(r.state.__a){var e=r.state.__a;r.__v.__k[0]=j(e,e.__c.__P,e.__c.__O)}var t;for(r.setState({__a:r.__b=null});t=r.t.pop();)t.forceUpdate()}},l=!0===t.__h;r.__u++||l||r.setState({__a:r.__b=r.__v.__k[0]}),e.then(a,a)},B.prototype.componentWillUnmount=function(){this.t=[]},B.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]=F(this.__b,n,r.__O=r.__P)}this.__b=null}var i=t.__a&&(0,a.az)(a.HY,null,e.fallback);return i&&(i.__h=null),[(0,a.az)(a.HY,null,t.__a?null:e.children),i]};var O=function(e,t,n){if(++n[1]===n[0]&&e.o.delete(t),e.props.revealOrder&&("t"!==e.props.revealOrder[0]||!e.o.size))for(n=e.u;n;){for(;n.length>3;)n.pop()();if(n[1]<n[0])break;e.u=n=n[2]}};(E.prototype=new a.wA).__a=function(e){var t=this,n=H(t.__v),r=t.o.get(e);return r[0]++,function(i){var o=function(){t.props.revealOrder?(r.push(i),O(t,e,r)):i()};n?n(o):o()}},E.prototype.render=function(e){this.u=null,this.o=new Map;var t=(0,a.bR)(e.children);e.revealOrder&&"b"===e.revealOrder[0]&&t.reverse();for(var n=t.length;n--;)this.o.set(t[n],this.u=[1,0,this.u]);return e.children},E.prototype.componentDidUpdate=E.prototype.componentDidMount=function(){var e=this;this.o.forEach((function(t,n){O(e,n,t)}))};var q="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,N=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image|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]/,Z="undefined"!=typeof document,I=function(e){return("undefined"!=typeof Symbol&&"symbol"==typeof Symbol()?/fil|che|rad/i:/fil|che|ra/i).test(e)};a.wA.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach((function(e){Object.defineProperty(a.wA.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})}));var R=a.YM.event;function W(){}function V(){return this.cancelBubble}function Y(){return this.defaultPrevented}a.YM.event=function(e){return R&&(e=R(e)),e.persist=W,e.isPropagationStopped=V,e.isDefaultPrevented=Y,e.nativeEvent=e};var U={configurable:!0,get:function(){return this.class}},X=a.YM.vnode;a.YM.vnode=function(e){var t=e.type,n=e.props,r=n;if("string"==typeof t){var i=-1===t.indexOf("-");for(var o in r={},n){var u=n[o];Z&&"children"===o&&"noscript"===t||"value"===o&&"defaultValue"in n&&null==u||("defaultValue"===o&&"value"in n&&null==n.value?o="value":"download"===o&&!0===u?u="":/ondoubleclick/i.test(o)?o="ondblclick":/^onchange(textarea|input)/i.test(o+t)&&!I(n.type)?o="oninput":/^onfocus$/i.test(o)?o="onfocusin":/^onblur$/i.test(o)?o="onfocusout":/^on(Ani|Tra|Tou|BeforeInp|Compo)/.test(o)?o=o.toLowerCase():i&&N.test(o)?o=o.replace(/[A-Z0-9]/g,"-$&").toLowerCase():null===u&&(u=void 0),/^oninput$/i.test(o)&&(o=o.toLowerCase(),r[o]&&(o="oninputCapture")),r[o]=u)}"select"==t&&r.multiple&&Array.isArray(r.value)&&(r.value=(0,a.bR)(n.children).forEach((function(e){e.props.selected=-1!=r.value.indexOf(e.props.value)}))),"select"==t&&null!=r.defaultValue&&(r.value=(0,a.bR)(n.children).forEach((function(e){e.props.selected=r.multiple?-1!=r.defaultValue.indexOf(e.props.value):r.defaultValue==e.props.value}))),e.props=r,n.class!=n.className&&(U.enumerable="className"in n,null!=n.className&&(r.class=n.className),Object.defineProperty(r,"className",U))}e.$$typeof=q,X&&X(e)};var K=a.YM.__r;a.YM.__r=function(e){K&&K(e),e.__c},a.HY,a.az,a.kr,a.Vf,a.HY,a.wA;var Q=n(379),J=n.n(Q),$=n(795),ee=n.n($),te=n(569),ne=n.n(te),re=n(565),ie=n.n(re),oe=n(216),ae=n.n(oe),ue=n(589),le=n.n(ue),se=n(42),ce={};ce.styleTagTransform=le(),ce.setAttributes=ie(),ce.insert=ne().bind(null,"head"),ce.domAPI=ee(),ce.insertStyleElement=ae(),J()(se.Z,ce);const fe=se.Z&&se.Z.locals?se.Z.locals:void 0,he=({orientation:e})=>(0,o.tZ)("svg",{height:"10",style:{transform:"left"===e?"rotate(180deg)":""},viewBox:"0 0 7 13",width:"6",xmlns:"http://www.w3.org/2000/svg",children:(0,o.tZ)("path",{d:"M.822 12.811a.445.445 0 0 1-.322.133.456.456 0 0 1-.322-.778L5.844 6.5.178.833A.456.456 0 0 1 .822.19l5.99 5.989a.456.456 0 0 1 0 .644l-5.99 5.99z"})});var pe=n(184),de=n.n(pe),ge=n(719),ve={};ve.styleTagTransform=le(),ve.setAttributes=ie(),ve.insert=ne().bind(null,"head"),ve.domAPI=ee(),ve.insertStyleElement=ae(),J()(ge.Z,ve);const be=ge.Z&&ge.Z.locals?ge.Z.locals:void 0,ye=({active:e=!1,toggle:t=!1,className:n,children:r,...i})=>(0,o.tZ)("button",{className:de()(be.button,n,{[be.active]:e,[be.toggle]:t}),type:"button",...i,children:r});var me=n(279),xe=n.n(me),_e=n(386),we={};we.styleTagTransform=le(),we.setAttributes=ie(),we.insert=ne().bind(null,"head"),we.domAPI=ee(),we.insertStyleElement=ae(),J()(_e.Z,we);const Ce=_e.Z&&_e.Z.locals?_e.Z.locals:void 0,Te=({group:e})=>{const[t,n]=v(),r=m(null),i=x((()=>xe()(n,50)),[]);if(y((()=>{function e(e){r.current&&requestAnimationFrame((()=>{!function(e,t,n){if(!e)return;const r=e.getBoundingClientRect(),i=r.width+20,o=r.height+20;t+i>window.innerWidth?t-i>0?t-=i:t=0:t+=20,n+o>window.innerHeight?n-o>0?n-=o:n=0:n+=20,e.style.left=`${t}px`,e.style.top=`${n}px`,e.style.visibility="visible"}(r.current,e.pageX,e.pageY)}))}if(t)return window.addEventListener("mousemove",e,!0),()=>{window.removeEventListener("mousemove",e,!0)}}),[t]),y((()=>{i(e)}),[e,i]),void 0===t)return null;const{gzipSize:a,inaccurateSizes:u,issuers:l,label:s,parsedSize:c,path:f,sharedByPages:h,statSize:p}=t;return(0,o.BX)("div",{className:Ce.detailsTooltip,ref:r,children:[(0,o.tZ)("p",{className:Ce.label,children:(0,o.tZ)("strong",{children:s})}),(0,o.BX)("p",{children:["Stat size: ",ze(p)," kB"]}),c>0&&!u&&(0,o.BX)("p",{children:["Parsed size: ",(0,o.BX)("strong",{children:[ze(c)," kB"]})]}),a>0&&!u&&(0,o.BX)("p",{children:["Gzip size: ",(0,o.BX)("strong",{children:[ze(a)," kB"]})]}),!!f&&(0,o.BX)("p",{children:["Path: ",(0,o.tZ)("strong",{children:f})]}),!!h&&(0,o.BX)("p",{className:Ce.sharedByPages,children:["Shared by:"," ","all"===h?"all pages":(0,o.tZ)("ul",{children:h.map((e=>(0,o.tZ)("li",{children:e},e)))})]}),!!l&&(0,o.BX)("p",{className:Ce.issuers,children:["Issuers: ",Se(l)]})]})};function Se(e){return(0,o.tZ)(o.HY,{children:e.slice().reverse().map(((e,t)=>(0,o.tZ)("p",{className:Ce.issuer,children:0===t?(0,o.tZ)("strong",{children:e}):(0,o.BX)(o.HY,{children:[(0,o.tZ)("span",{className:Ce.arrow,children:"↳ "}),e]})},e)))})}function ze(e){return Math.round(e/10)/100}var Me=n(941),ke=n(732),Pe=n(375),De={};De.styleTagTransform=le(),De.setAttributes=ie(),De.insert=ne().bind(null,"head"),De.domAPI=ee(),De.insertStyleElement=ae(),J()(Pe.Z,De);const Ae=Pe.Z&&Pe.Z.locals?Pe.Z.locals:void 0,Le=({foundModules:e,searchQuery:t})=>{const n=x((()=>function(e){return(0,Me.G)(e.reduce(((e,t)=>e+t[ke.q]),0))}(e)),[e]);let r="";return t&&(r=e.length>0?(0,o.BX)(o.HY,{children:[(0,o.BX)("div",{className:Ae.foundModulesInfoItem,children:["Count: ",(0,o.tZ)("strong",{children:e.length})]}),(0,o.BX)("div",{className:Ae.foundModulesInfoItem,children:["Total size: ",(0,o.tZ)("strong",{children:n})]})]}):t.length<ke.u?`Minimum ${ke.u} characters.`:"Nothing found"),(0,o.tZ)("div",{className:de()(Ae.foundModulesInfo,{[Ae.hidden]:!r}),children:r})};var Ge=n(808),Fe=n(349),je={};je.styleTagTransform=le(),je.setAttributes=ie(),je.insert=ne().bind(null,"head"),je.domAPI=ee(),je.insertStyleElement=ae(),J()(Fe.Z,je);const Be=Fe.Z&&Fe.Z.locals?Fe.Z.locals:void 0,He=({children:e,className:t,...n})=>(0,o.BX)("label",{className:de()(Be.label,t),children:[(0,o.tZ)("input",{className:Be.checkbox,type:"checkbox",...n}),(0,o.tZ)("span",{className:Be.itemText,children:e})]});var Ee=n(446),Oe={};Oe.styleTagTransform=le(),Oe.setAttributes=ie(),Oe.insert=ne().bind(null,"head"),Oe.domAPI=ee(),Oe.insertStyleElement=ae(),J()(Ee.Z,Oe);const qe=Ee.Z&&Ee.Z.locals?Ee.Z.locals:void 0,Ne=({className:e,onChange:t,pages:n,selectedPages:r})=>{const i=r.length===n.length;return(0,o.BX)("div",{className:de()(qe.pageFilter,e),children:[(0,o.tZ)("div",{className:qe.label,children:"Show pages:"}),(0,o.BX)("div",{children:[(0,o.tZ)(He,{checked:i,onChange:()=>t(i?[]:[...n]),children:"All"}),n.map((e=>(0,o.tZ)(He,{checked:r.includes(e),className:qe.page,onChange:n=>function(e,n){const i=new Set(r);n?i.add(e):i.delete(e),t([...i])}(e,n.currentTarget.checked),children:e.label},e.label)))]})]})};var Ze=n(47),Ie={};Ie.styleTagTransform=le(),Ie.setAttributes=ie(),Ie.insert=ne().bind(null,"head"),Ie.domAPI=ee(),Ie.insertStyleElement=ae(),J()(Ze.Z,Ie);const Re=Ze.Z&&Ze.Z.locals?Ze.Z.locals:void 0,We=({autofocus:e,label:t,onQueryChange:n,query:r})=>{const i=m(null),a=x((()=>xe()((e=>{n(e.target.value)}),400)),[n]);return y((()=>()=>{a.cancel()}),[a]),y((()=>{var t;e&&(null===(t=i.current)||void 0===t||t.focus())}),[e]),(0,o.BX)("div",{className:Re.search,children:[(0,o.BX)("div",{className:Re.label,children:[t,":"]}),(0,o.tZ)("div",{className:Re.row,children:(0,o.tZ)("input",{ref:i,className:Re.input,type:"search",value:r,placeholder:"Enter regexp",onInput:a,onBlur:a.flush,onKeyDown:function(e){let t=!0;switch(e.key){case"Escape":a.cancel(),n("");break;case"Enter":a.flush();break;default:t=!1}t&&e.stopPropagation()}})})]})},Ve=()=>(0,o.tZ)("svg",{height:"13",viewBox:"0 0 12 18",width:"9",xmlns:"http://www.w3.org/2000/svg",children:(0,o.tZ)("path",{d:"M6.012 17.949l-1.493-6.376a10.935 10.935 0 0 0 2.985.002L6.012 17.95zM9.246 1.857c0 .52-.415.985-1.07 1.308l-.001 2.616c1.725.41 2.922 1.294 2.922 2.32 0 .416-.195.809-.542 1.156-.64.639-1.794 1.124-3.187 1.318-.03.005-.062.008-.093.012a8.917 8.917 0 0 1-.725.065l-.12.007a10.154 10.154 0 0 1-.895-.003c-.098-.005-.193-.013-.288-.02-.053-.004-.106-.007-.158-.012a9.247 9.247 0 0 1-.372-.043l-.045-.006C2.514 10.278.926 9.285.926 8.101c0-.415.196-.807.543-1.154.511-.512 1.352-.924 2.38-1.168V3.165c-.656-.323-1.07-.789-1.07-1.309C2.778.882 4.225.092 6.011.092s3.234.79 3.234 1.765z"})});var Ye=n(311),Ue={};Ue.styleTagTransform=le(),Ue.setAttributes=ie(),Ue.insert=ne().bind(null,"head"),Ue.domAPI=ee(),Ue.insertStyleElement=ae(),J()(Ye.Z,Ue);const Xe=Ye.Z&&Ye.Z.locals?Ye.Z.locals:void 0,Ke=parseInt(Xe.toggleTime,10),Qe=({children:e,className:t,onPinStateChange:n,onResize:r,onToggle:i,pinned:a=!1})=>{const[u,l]=v(!0),[s,c]=v(!1),[f,h]=v(null),p=m(null),d=m(!1),g=m(null),b=m({});function x(e){const{initialWidth:t,startPageX:n}=b.current;h(t+e.pageX-n)}function _(){document.body.classList.remove("resizing","col"),document.removeEventListener("mousemove",x,!0),document.removeEventListener("mouseup",_,!0),r()}function w(e){if(p.current&&(window.clearTimeout(p.current),p.current=null),void 0===e)e=!s;else if(e===s)return;c(e),d.current=!0,setTimeout((()=>{d.current=!1}),Ke),a&&!e&&h(null),e||a?i(e):e||(p.current=window.setTimeout((()=>{p.current=null,i(!1)}),Ke))}return y((()=>()=>{p.current&&clearTimeout(p.current)}),[]),(0,o.tZ)("div",{className:de()(Xe.sidebar,t,{[Xe.hidden]:!s,[Xe.pinned]:a}),onClick:()=>l(!1),onMouseEnter:function(){d.current||a||(p.current&&(window.clearTimeout(p.current),p.current=null),w(!0))},onMouseLeave:function(){!u||d.current||a||w(!1)},onMouseMove:()=>l(!0),ref:g,style:f?{width:f}:void 0,children:s&&(0,o.BX)(o.HY,{children:[(0,o.tZ)(ye,{active:a,className:Xe.pinButton,onClick:function(){g.current&&(h(a?null:g.current.getBoundingClientRect().width),n(!a))},title:"Pin",toggle:!0,children:(0,o.tZ)(Ve,{})}),a&&(0,o.tZ)("div",{className:Xe.resizer,onMouseDown:function(e){b.current={startPageX:e.pageX,initialWidth:f},document.body.classList.add("resizing"),document.addEventListener("mousemove",x,!0),document.addEventListener("mouseup",_,!0)}}),e]})})};!function(){var e,t=function(){var e=window.navigator.userAgent;try{window.localStorage.setItem("ftap5caavc","ftap5caavc"),window.localStorage.removeItem("ftap5caavc");var n=!0}catch(e){n=!1}return{Se:function(){return/webkit/i.test(e)},Lh:function(){return/Mac/.test(e)},Qe:function(){return/iPad|iPod|iPhone/.test(e)},Kh:function(){return/Android/.test(e)},Gh:function(){return"ontouchstart"in window||!!window.DocumentTouch&&document instanceof window.DocumentTouch},Fh:function(){return n},Eh:function(){var e=document.createElement("canvas");return!(!e.getContext||!e.getContext("2d"))},md:function(e,n){return[].forEach&&t.Eh()?e&&e():n&&n()}}}(),n=function(){function e(){return window.performance&&(window.performance.now||window.performance.mozNow||window.performance.msNow||window.performance.oNow||window.performance.webkitNow)||Date.now}var t=e();return{create:function(){return{now:function(){var t=e();return function(){return t.call(window.performance)}}()}},now:function(){return t.call(window.performance)}}}();function r(){function r(){if(!l)throw"AF0";var e=n.now();0!==s&&(o.sd=e-s),s=e,u=u.filter((function(e){return null!==e})),o.frames++;for(var t=0;t<u.length;t++){var r=u[t];null!==r&&(!0===r.ee.call(r.context)?u[t]=null:y.zc(r.repeat)&&(r.repeat=r.repeat-1,0>=r.repeat&&(u[t]=null)))}u=u.filter((function(e){return null!==e})),l=!1,i(),0!=(e=n.now()-e)&&(o.rd=e),o.totalTime+=e,o.ue=1e3*o.frames/o.totalTime,s=0===u.length?0:n.now()}function i(){0<u.length&&!l&&(l=!0,a(r))}var o=this.Wf={frames:0,totalTime:0,rd:0,sd:0,ue:0};e=o;var a=t.Qe()?function(e){window.setTimeout(e,0)}:window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(){var e=n.create();return function(t){var n=0;window.setTimeout((function(){var r=e.now();t(),n=e.now()-r}),16>n?16-n:0)}}(),u=[],l=!1,s=0;this.repeat=function(e,t,n){this.cancel(e),u.push({ee:e,context:n,repeat:t}),i()},this.once=function(e,t){this.repeat(e,1,t)},this.cancel=function(e){for(var t=0;t<u.length;t++){var n=u[t];null!==n&&n.ee===e&&(u[t]=null)}},this.i=function(){u=[]}}var i=t.md((function(){function e(){this.buffer=[],this.ma=0,this.current=y.extend({},u)}function t(e){return function(){var t,n=this.buffer,r=this.ma;for(n[r++]="call",n[r++]=e,n[r++]=arguments.length,t=0;t<arguments.length;t++)n[r++]=arguments[t];this.ma=r}}function n(e){return function(){return o[e].apply(o,arguments)}}var r=document.createElement("canvas");r.width=1,r.height=1;var o=r.getContext("2d");r=["font"];var a="fillStyle globalAlpha globalCompositeOperation lineCap lineDashOffset lineJoin lineWidth miterLimit shadowBlur shadowColor shadowOffsetX shadowOffsetY strokeStyle textAlign textBaseline".split(" "),u={};return a.concat(r).forEach((function(e){u[e]=o[e]})),e.prototype.clear=function(){this.ma=0},e.prototype.Ga=function(){return 0===this.ma},e.prototype.Na=function(e){e instanceof i?function(e,t,n){for(var r=0,i=e.ma,o=e.buffer;r<n;)o[i++]=t[r++];e.ma=i}(e,this.buffer,this.ma):function(e,t,n,r){for(var i=0;i<n;)switch(t[i++]){case"set":e[t[i++]]=t[i++];break;case"setGlobalAlpha":e[t[i++]]=t[i++]*r;break;case"call":var o=t[i++];switch(t[i++]){case 0:e[o]();break;case 1:e[o](t[i++]);break;case 2:e[o](t[i++],t[i++]);break;case 3:e[o](t[i++],t[i++],t[i++]);break;case 4:e[o](t[i++],t[i++],t[i++],t[i++]);break;case 5:e[o](t[i++],t[i++],t[i++],t[i++],t[i++]);break;case 6:e[o](t[i++],t[i++],t[i++],t[i++],t[i++],t[i++]);break;case 7:e[o](t[i++],t[i++],t[i++],t[i++],t[i++],t[i++],t[i++]);break;case 8:e[o](t[i++],t[i++],t[i++],t[i++],t[i++],t[i++],t[i++],t[i++]);break;case 9:e[o](t[i++],t[i++],t[i++],t[i++],t[i++],t[i++],t[i++],t[i++],t[i++]);break;default:throw"CB0"}}}(e,this.buffer,this.ma,y.I(e.globalAlpha,1))},e.prototype.replay=e.prototype.Na,e.prototype.i=function(){return new e},e.prototype.scratch=e.prototype.i,"arc arcTo beginPath bezierCurveTo clearRect clip closePath drawImage fill fillRect fillText lineTo moveTo putImageData quadraticCurveTo rect rotate scale setLineDash setTransform stroke strokeRect strokeText transform translate".split(" ").forEach((function(n){e.prototype[n]=t(n)})),["measureText","createLinearGradient","createRadialGradient","createPattern","getLineDash"].forEach((function(t){e.prototype[t]=n(t)})),["save","restore"].forEach((function(r){var i=n(r),o=t(r);e.prototype[r]=function(e,t){return function(){e.apply(this,arguments),t.apply(this,arguments)}}(o,i)})),r.forEach((function(t){Object.defineProperty(e.prototype,t,{set:function(e){o[t]=e,this.current[t]=e;var n=this.buffer;n[this.ma++]="set",n[this.ma++]=t,n[this.ma++]=e},get:function(){return this.current[t]}})})),a.forEach((function(t){Object.defineProperty(e.prototype,t,{set:function(e){this.current[t]=e;var n=this.buffer;n[this.ma++]="globalAlpha"===t?"setGlobalAlpha":"set",n[this.ma++]=t,n[this.ma++]=e},get:function(){return this.current[t]}})})),e.prototype.roundRect=function(e,t,n,r,i){this.beginPath(),this.moveTo(e+i,t),this.lineTo(e+n-i,t),this.quadraticCurveTo(e+n,t,e+n,t+i),this.lineTo(e+n,t+r-i),this.quadraticCurveTo(e+n,t+r,e+n-i,t+r),this.lineTo(e+i,t+r),this.quadraticCurveTo(e,t+r,e,t+r-i),this.lineTo(e,t+i),this.quadraticCurveTo(e,t,e+i,t),this.closePath()},e.prototype.fillPolygonWithText=function(e,t,n,r,o){o||(o={});var a={hb:y.I(o.maxFontSize,P.ya.hb),Gc:y.I(o.minFontSize,P.ya.Gc),lineHeight:y.I(o.lineHeight,P.ya.lineHeight),cb:y.I(o.horizontalPadding,P.ya.cb),Ua:y.I(o.verticalPadding,P.ya.Ua),ib:y.I(o.maxTotalTextHeight,P.ya.ib),fontFamily:y.I(o.fontFamily,P.ya.fontFamily),fontStyle:y.I(o.fontStyle,P.ya.fontStyle),fontVariant:y.I(o.fontVariant,P.ya.fontVariant),fontWeight:y.I(o.fontWeight,P.ya.fontWeight),verticalAlign:y.I(o.verticalAlign,P.ya.verticalAlign)},u=o.cache;if(u&&y.has(o,"area")){u.Qc||(u.Qc=new i);var l=o.area,s=y.I(o.cacheInvalidationThreshold,.05);e=P.de(a,this,r,e,T.F(e,{}),{x:t,y:n},o.allowForcedSplit||!1,o.allowEllipsis||!1,u,l,s,o.invalidateCache)}else e=P.re(a,this,r,e,T.F(e,{}),{x:t,y:n},o.allowForcedSplit||!1,o.allowEllipsis||!1);return e.ka?{fit:!0,lineCount:e.bc,fontSize:e.fontSize,box:{x:e.box.x,y:e.box.y,w:e.box.w,h:e.box.o},ellipsis:e.Ub}:{fit:!1}},e})),o=t.md((function(){function e(e){this.S=e,this.canvas=e.canvas,this.i=[],this.zb=[void 0],this.vc=["#SIZE#px sans-serif"],this.td=[0],this.ud=[1],this.Rd=[0],this.Sd=[0],this.Td=[0],this.yd=[10],this.Xb=[10],this.Hb=[this.zb,this.vc,this.Xb,this.td,this.ud,this.Rd,this.yd,this.Sd,this.Td],this.da=[1,0,0,1,0,0]}function t(e){var t=e.S,n=e.Hb[0].length-1;e.zb[n]&&(t.setLineDash(e.zb[n]),t.lineDashOffset=e.td[n]),t.miterLimit=e.yd[n],t.lineWidth=e.ud[n],t.shadowBlur=e.Rd[n],t.shadowOffsetX=e.Sd[n],t.shadowOffsetY=e.Td[n],t.font=e.vc[n].replace("#SIZE#",e.Xb[n].toString())}function n(e,t,n){return e*n[0]+t*n[2]+n[4]}function r(e,t,n){return e*n[1]+t*n[3]+n[5]}function i(e,t){for(var n=0;n<e.length;n++)e[n]*=t[0];return e}e.prototype.save=function(){this.i.push(this.da.slice(0));for(var e=0;e<this.Hb.length;e++){var t=this.Hb[e];t.push(t[t.length-1])}this.S.save()},e.prototype.restore=function(){this.da=this.i.pop();for(var e=0;e<this.Hb.length;e++)this.Hb[e].pop();this.S.restore(),t(this)},e.prototype.scale=function(e,n){var r=this.da;r[0]*=e,r[1]*=e,r[2]*=n,r[3]*=n,e=this.da,r=(n=this.Hb)[0].length-1;var o=this.zb[r];for(o&&i(o,e),o=2;o<n.length;o++)n[o][r]*=e[0];t(this)},e.prototype.translate=function(e,t){var n=this.da;n[4]+=n[0]*e+n[2]*t,n[5]+=n[1]*e+n[3]*t},["moveTo","lineTo"].forEach((function(t){e.prototype[t]=function(e){return function(t,i){var o=this.da;return this.S[e].call(this.S,n(t,i,o),r(t,i,o))}}(t)})),["clearRect","fillRect","strokeRect","rect"].forEach((function(t){e.prototype[t]=function(e){return function(t,i,o,a){var u=this.da;return this.S[e].call(this.S,n(t,i,u),r(t,i,u),o*u[0],a*u[3])}}(t)})),"fill stroke beginPath closePath clip createImageData createPattern getImageData putImageData getLineDash setLineDash".split(" ").forEach((function(t){e.prototype[t]=function(e){return function(){return this.S[e].apply(this.S,arguments)}}(t)})),[{p:"lineDashOffset",a:function(e){return e.td}},{p:"lineWidth",a:function(e){return e.ud}},{p:"miterLimit",a:function(e){return e.yd}},{p:"shadowBlur",a:function(e){return e.Rd}},{p:"shadowOffsetX",a:function(e){return e.Sd}},{p:"shadowOffsetY",a:function(e){return e.Td}}].forEach((function(t){Object.defineProperty(e.prototype,t.p,{set:function(e){var n=t.a(this);e*=this.da[0],n[n.length-1]=e,this.S[t.p]=e}})}));var o=/(\d+(?:\.\d+)?)px/;return Object.defineProperty(e.prototype,"font",{set:function(e){var t=o.exec(e);if(1<t.length){var n=this.Xb.length-1;this.Xb[n]=parseFloat(t[1]),this.vc[n]=e.replace(o,"#SIZE#px"),e=this.S,n=this.vc[n].replace("#SIZE#",(this.Xb[n]*this.da[0]).toString()),e.font=n}}}),"fillStyle globalAlpha globalCompositeOperation lineCap lineJoin shadowColor strokeStyle textAlign textBaseline".split(" ").forEach((function(t){Object.defineProperty(e.prototype,t,{set:function(e){this.S[t]=e}})})),e.prototype.arc=function(e,t,i,o,a,u){var l=this.da;this.S.arc(n(e,t,l),r(e,t,l),i*l[0],o,a,u)},e.prototype.arcTo=function(e,t,i,o,a){var u=this.da;this.S.arc(n(e,t,u),r(e,t,u),n(i,o,u),r(i,o,u),a*u[0])},e.prototype.bezierCurveTo=function(e,t,i,o,a,u){var l=this.da;this.S.bezierCurveTo(n(e,t,l),r(e,t,l),n(i,o,l),r(i,o,l),n(a,u,l),r(a,u,l))},e.prototype.drawImage=function(e,t,i,o,a,u,l,s,c){function f(t,i,o,a){p.push(n(t,i,h)),p.push(r(t,i,h)),o=y.V(o)?e.width:o,a=y.V(a)?e.height:a,p.push(o*h[0]),p.push(a*h[3])}var h=this.da,p=[e];y.V(u)?f(t,i,o,a):f(u,l,s,c),this.S.drawImage.apply(this.S,p)},e.prototype.quadraticCurveTo=function(e,t,i,o){var a=this.da;this.S.quadraticCurveTo(n(e,t,a),r(e,t,a),n(i,o,a),r(i,o,a))},e.prototype.fillText=function(e,t,i,o){var a=this.da;this.S.fillText(e,n(t,i,a),r(t,i,a),y.zc(o)?o*a[0]:1e20)},e.prototype.setLineDash=function(e){e=i(e.slice(0),this.da),this.zb[this.zb.length-1]=e,this.S.setLineDash(e)},e})),a=function(){var e=!t.Se()||t.Qe()||t.Kh()?1:7;return{estimate:function(){function t(e){e.beginPath(),u.Ud(e,s)}var r=document.createElement("canvas");r.width=800,r.height=600;var i=r.getContext("2d"),o=r.width;r=r.height;var a,l=0,s=[{x:0,y:100}];for(a=1;6>=a;a++)l=2*a*Math.PI/6,s.push({x:100*Math.sin(l),y:100*Math.cos(l)});a={polygonPlainFill:[t,function(e){e.fillStyle="rgb(255, 0, 0)",e.fill()}],polygonPlainStroke:[t,function(e){e.strokeStyle="rgb(128, 0, 0)",e.lineWidth=2,e.closePath(),e.stroke()}],polygonGradientFill:[t,function(e){var t=e.createRadialGradient(0,0,10,0,0,60);t.addColorStop(0,"rgb(255, 0, 0)"),t.addColorStop(1,"rgb(255, 255, 0)"),e.fillStyle=t,e.fill()}],polygonGradientStroke:[t,function(e){var t=e.createLinearGradient(-100,-100,100,100);t.addColorStop(0,"rgb(224, 0, 0)"),t.addColorStop(1,"rgb(32, 0, 0)"),e.strokeStyle=t,e.lineWidth=2,e.closePath(),e.stroke()}],polygonExposureShadow:[t,function(e){e.shadowBlur=50,e.shadowColor="rgba(0, 0, 0, 1)",e.fillStyle="rgba(0, 0, 0, 1)",e.globalCompositeOperation="source-over",e.fill(),e.shadowBlur=0,e.shadowColor="transparent",e.globalCompositeOperation="destination-out",e.fill()}],labelPlainFill:[function(e){e.fillStyle="#000",e.font="24px sans-serif",e.textAlign="center"},function(e){e.fillText("Some text",0,-16),e.fillText("for testing purposes",0,16)}]},l=100/Object.keys(a).length;var c,f=n.now(),h={};for(c in a){var p=a[c],d=n.now(),g=0;do{i.save(),i.translate(Math.random()*o,Math.random()*r);var v=3*Math.random()+.5;for(i.scale(v,v),v=0;v<p.length;v++)p[v](i);i.restore(),g++,v=n.now()}while(v-d<l);h[c]=e*(v-d)/g}return h.total=n.now()-f,h}}}(),u={Ud:function(e,t){var n=t[0];e.moveTo(n.x,n.y);for(var r=t.length-1;0<r;r--)n=t[r],e.lineTo(n.x,n.y)},Ti:function(e,t,n,r){var i,o=[],a=0,u=t.length;for(i=0;i<u;i++){var l=t[i],s=t[(i+1)%u];l=T.i(l,s),l=Math.sqrt(l),o.push(l),a+=l}n=r*(n+.5*r*a/u),a={};var c={},f={};for(i=0;i<u;i++){l=t[i],s=t[(i+1)%u],r=t[(i+2)%u];var h=o[(i+1)%u];h=Math.min(.5,n/h),T.ga(1-h,s,r,c),T.ga(h,s,r,f),0==i&&(T.ga(Math.min(.5,n/o[0]),l,s,a),e.moveTo(a.x,a.y)),e.quadraticCurveTo(s.x,s.y,c.x,c.y),e.lineTo(f.x,f.y)}return!0}};function l(e){function t(){return"embedded"===i.getAttribute("data-foamtree")}function n(e){f[e]&&(f[e].style.opacity=p*h[e])}function r(e){e.width=Math.round(a*e.B),e.height=Math.round(u*e.B)}var i,o,a,u,l,s,c=[],f={},h={},p=0;this.M=function(n){0!==(i=n).clientWidth&&0!==i.clientHeight||L.i("element has zero dimensions: "+i.clientWidth+" x "+i.clientHeight+"."),i.innerHTML="",a=i.clientWidth,u=i.clientHeight,l=0!==a?a:void 0,s=0!==u?u:void 0,t()&&L.i("visualization already embedded in the element."),i.setAttribute("data-foamtree","embedded"),(o=document.createElement("div")).style.width="100%",o.style.height="100%",o.style.position="relative",i.appendChild(o),e.j.D("stage:initialized",this,o,a,u)},this.Za=function(){t()&&(i.removeAttribute("data-foamtree"),c=[],f={},i.removeChild(o),e.j.D("stage:disposed",this,o))},this.u=function(){if(a=i.clientWidth,u=i.clientHeight,0!==a&&0!==u&&(a!==l||u!==s)){for(var t=c.length-1;0<=t;t--)r(c[t]);e.j.D("stage:resized",l,s,a,u),l=a,s=u}},this.Hi=function(e,t){e.B=t,r(e)},this.dc=function(t,i,a){var u=document.createElement("canvas");return u.setAttribute("style","position: absolute; top: 0; bottom: 0; left: 0; right: 0; width: 100%; height: 100%; -webkit-touch-callout: none; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none;"),u.B=i,r(u),c.push(u),f[t]=u,h[t]=1,n(t),a||o.appendChild(u),e.j.D("stage:newLayer",t,u),u},this.$b=function(e,t){return y.V(t)||(h[e]=t,n(e)),h[e]},this.i=function(e){return y.V(e)||(p=e,y.Aa(f,(function(e,t){n(t)}))),p}}function s(e){function t(e,t,n){return m=!0,d.x=0,d.y=0,g.x=0,g.y=0,a=h,u.x=p.x,u.y=p.y,t(),l*=e,s=n?l/a:e,s=Math.max(.25/a,s),!0}function n(e,t){return t.x=e.x/h+p.x,t.y=e.y/h+p.y,t}function r(e,t,n,r,i,o,a,u,l){var s=(e-n)*(o-u)-(t-r)*(i-a);return!(1e-5>Math.abs(s)||(l.x=((e*r-t*n)*(i-a)-(e-n)*(i*u-o*a))/s,l.y=((e*r-t*n)*(o-u)-(t-r)*(i*u-o*a))/s,0))}var i,o,a=1,u={x:0,y:0},l=1,s=1,c=1,f={x:0,y:0},h=1,p={x:0,y:0},d={x:0,y:0},g={x:0,y:0},v={x:0,y:0,w:0,o:0},b={x:0,y:0,w:0,o:0,scale:1},m=!0;e.j.subscribe("stage:initialized",(function(e,t,n,r){i=n,o=r,v.x=0,v.y=0,v.w=n,v.o=r,b.x=0,b.y=0,b.w=n,b.o=r,b.scale=1})),e.j.subscribe("stage:resized",(function(e,t,n,r){function a(e){e.x*=s,e.y*=c}function l(e){a(e),e.w*=s,e.o*=c}i=n,o=r;var s=n/e,c=r/t;a(u),a(p),a(f),a(d),a(g),l(v),l(b)})),this.Nb=function(e,r){return t(r,(function(){n(e,f)}),!0)},this.ga=function(e,n){if(1==Math.round(1e4*n)/1e4){n=v.x-p.x;var i=v.y-p.y;return t(1,(function(){}),!0),this.i(-n,-i)}return t(n,(function(){for(var t=!1;!t;){t=Math.random();var n=Math.random(),i=Math.random(),o=Math.random();t=r(e.x+t*e.w,e.y+n*e.o,v.x+t*v.w,v.y+n*v.o,e.x+i*e.w,e.y+o*e.o,v.x+i*v.w,v.y+o*v.o,f)}}),!0)},this.ic=function(e,n){var a=e.w/e.o,u=i/o;if(a<u){var l=e.o*u,s=e.o;a=e.x-.5*(l-e.w),u=e.y}else a>u?(l=e.w,s=e.w*o/i,a=e.x,u=e.y-.5*(s-e.o)):(a=e.x,u=e.y,l=e.w,s=e.o);return a-=l*n,l*=1+2*n,r(a,u-=s*n,p.x,p.y,a+l,u,p.x+i/h,p.y,f)?t(i/h/l,y.qa,!1):(m=!1,this.i(h*(p.x-a),h*(p.y-u)))},this.i=function(e,t){return e=Math.round(1e4*e)/1e4,t=Math.round(1e4*t)/1e4,g.x+=e/h,g.y+=t/h,0!==e||0!==t},this.reset=function(e){return e&&this.content(0,0,i,o),this.ga({x:v.x+p.x,y:v.y+p.y,w:v.w/h,o:v.o/h},c/l)},this.Fb=function(e){c=Math.min(1,Math.round(1e4*(e||l))/1e4)},this.u=function(){return p.x<v.x?(v.x-p.x)*h:p.x+i/h>v.x+v.w?-(p.x+i/h-v.x-v.w)*h:0},this.H=function(){return p.y<v.y?(v.y-p.y)*h:p.y+o/h>v.y+v.o?-(p.y+o/h-v.y-v.o)*h:0},this.update=function(e){var t=Math.abs(Math.log(s));6>t?t=2:(t/=4,t+=3*t*(1<s?e:1-e)),t=1<s?Math.pow(e,t):1-Math.pow(1-e,t),h=a*(t=(m?t:1)*(s-1)+1),p.x=f.x-(f.x-u.x)/t,p.y=f.y-(f.y-u.y)/t,p.x-=d.x*(1-e)+g.x*e,p.y-=d.y*(1-e)+g.y*e,1===e&&(d.x=g.x,d.y=g.y),b.x=p.x,b.y=p.y,b.w=i/h,b.o=o/h,b.scale=h},this.T=function(e){return e.x=b.x,e.y=b.y,e.scale=b.scale,e},this.absolute=function(e,t){return n(e,t||{})},this.Uc=function(e,t){return(t=t||{}).x=(e.x-p.x)*h,t.y=(e.y-p.y)*h,t},this.pc=function(e){return this.scale()<c/e},this.zd=function(){return y.od(h,1)},this.scale=function(){return Math.round(1e4*h)/1e4},this.content=function(e,t,n,r){v.x=e,v.y=t,v.w=n,v.o=r},this.rc=function(e,t){var n;for(n=e.length-1;0<=n;n--){var r=e[n];r.save(),r.scale(h,h),r.translate(-p.x,-p.y)}for(t(b),n=e.length-1;0<=n;n--)(r=e[n]).restore()}}var c=new function(){function e(e){if("hsl"==e.model||"hsla"==e.model)return e;var t=e.r/=255,n=e.g/=255,r=e.b/=255,i=Math.max(t,n,r),o=Math.min(t,n,r),a=(i+o)/2;if(i==o)var u=o=0;else{var l=i-o;switch(o=.5<a?l/(2-i-o):l/(i+o),i){case t:u=(n-r)/l+(n<r?6:0);break;case n:u=(r-t)/l+2;break;case r:u=(t-n)/l+4}u/=6}return e.h=360*u,e.s=100*o,e.l=100*a,e.model="hsl",e}var t={h:0,s:0,l:0,a:1,model:"hsla"};this.u=function(n){return y.Ac(n)?e(c.ga(n)):y.wb(n)?e(n):t},this.ga=function(e){var n;return(n=/rgba\(\s*([^,\s]+)\s*,\s*([^,\s]+)\s*,\s*([^,\s]+)\s*,\s*([^,\s]+)\s*\)/.exec(e))&&5==n.length?{r:parseFloat(n[1]),g:parseFloat(n[2]),b:parseFloat(n[3]),a:parseFloat(n[4]),model:"rgba"}:(n=/hsla\(\s*([^,\s]+)\s*,\s*([^,%\s]+)%\s*,\s*([^,\s%]+)%\s*,\s*([^,\s]+)\s*\)/.exec(e))&&5==n.length?{h:parseFloat(n[1]),s:parseFloat(n[2]),l:parseFloat(n[3]),a:parseFloat(n[4]),model:"hsla"}:(n=/rgb\(\s*([^,\s]+)\s*,\s*([^,\s]+)\s*,\s*([^,\s]+)\s*\)/.exec(e))&&4==n.length?{r:parseFloat(n[1]),g:parseFloat(n[2]),b:parseFloat(n[3]),a:1,model:"rgb"}:(n=/hsl\(\s*([^,\s]+)\s*,\s*([^,\s%]+)%\s*,\s*([^,\s%]+)%\s*\)/.exec(e))&&4==n.length?{h:parseFloat(n[1]),s:parseFloat(n[2]),l:parseFloat(n[3]),a:1,model:"hsl"}:(n=/#([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})/.exec(e))&&4==n.length?{r:parseInt(n[1],16),g:parseInt(n[2],16),b:parseInt(n[3],16),a:1,model:"rgb"}:(n=/#([0-9a-fA-F])([0-9a-fA-F])([0-9a-fA-F])/.exec(e))&&4==n.length?{r:17*parseInt(n[1],16),g:17*parseInt(n[2],16),b:17*parseInt(n[3],16),a:1,model:"rgb"}:t},this.T=function(e){function t(e,t,n){return 0>n&&(n+=1),1<n&&--n,n<1/6?e+6*(t-e)*n:.5>n?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function n(e,t,n){return Math.sqrt(e*e*.241+t*t*.691+n*n*.068)/255}if("rgb"==e.model||"rgba"==e.model)return n(e.r,e.g,e.b);var r=e.l/100,i=e.s/100,o=e.h/360;if(0==e.zj)r=e=o=r;else{var a=2*r-(i=.5>r?r*(1+i):r+i-r*i);r=t(a,i,o+1/3),e=t(a,i,o),o=t(a,i,o-1/3)}return n(255*r,255*e,255*o)},this.wa=function(e){if(y.Ac(e))return e;if(!y.wb(e))return"#000";switch(e.model){case"hsla":return c.sa(e);case"hsl":return c.H(e);case"rgba":return c.ua(e);case"rgb":return c.ta(e);default:return"#000"}},this.ua=function(e){return"rgba("+(.5+e.r|0)+","+(.5+e.g|0)+","+(.5+e.b|0)+","+e.a+")"},this.ta=function(e){return"rgba("+(.5+e.r|0)+","+(.5+e.g|0)+","+(.5+e.b|0)+")"},this.sa=function(e){return"hsla("+(.5+e.h|0)+","+(.5+e.s|0)+"%,"+(.5+e.l|0)+"%,"+e.a+")"},this.H=function(e){return"hsl("+(.5+e.h|0)+","+(.5+e.s|0)+"%,"+(.5+e.l|0)+"%)"},this.i=function(e,t,n){return"hsl("+(.5+e|0)+","+(.5+t|0)+"%,"+(.5+n|0)+"%)"}};function f(){var e,t=!1,n=[],r=this,i=new function(){this.then=function(i){return i&&(t?i.apply(r,e):n.push(i)),this},this.Fg=function(e){return r=e,{then:this.then}}};this.resolve=function(){e=arguments;for(var i=0;i<n.length;i++)n[i].apply(r,e);return t=!0,this},this.promise=function(){return i}}function h(e){var t=new f,n=e.length;if(0<e.length)for(var r=e.length-1;0<=r;r--)e[r].then((function(){0==--n&&t.resolve()}));else t.resolve();return t.promise()}function p(e){var t=0;this.i=function(){t++},this.u=function(){0==--t&&e()},this.clear=function(){t=0},this.initial=function(){return 0===t}}var d={oe:function(e,t,n,r){r=r||{};try{var i=e.getBoundingClientRect()}catch(t){if(!d.Ih){d.Ih=!0,window.console.log("getBoundingClientRect() failed."),window.console.log("Element",e);for(var o=(i=window.console).log;null!==e.parentElement;)e=e.parentElement;o.call(i,"Attached to DOM",e===document.body.parentElement)}i={left:0,top:0}}return r.x=t-i.left,r.y=n-i.top,r}};function g(){var e=document,t={};this.addEventListener=function(n,r,i){var o=t[n];o||(o=[],t[n]=o),o.push(r),e.addEventListener(n,r,i)},this.i=function(){y.Aa(t,(function(t,n){for(var r=t.length-1;0<=r;r--)e.removeEventListener(n,t[r])}))}}function v(e){function t(e){return function(t){n(t)&&e.apply(this,arguments)}}function n(t){for(t=t.target;t;){if(t===e)return!0;t=t.parentElement}return!1}function r(e,t,n){i(e,n=n||{});for(var r=0;r<t.length;r++)t[r].call(e.target,n);return i(e,n),(void 0===n.Db&&n.$h||"prevent"===n.Db)&&e.preventDefault(),n}function i(t,n){return d.oe(e,t.clientX,t.clientY,n),n.altKey=t.altKey,n.metaKey=t.metaKey,n.ctrlKey=t.ctrlKey,n.shiftKey=t.shiftKey,n.lb=3===t.which,n}var o=new g,a=[],u=[],l=[],s=[],c=[],f=[],h=[],p=[],v=[],b=[],y=[];this.i=function(e){a.push(e)},this.u=function(e){c.push(e)},this.sa=function(e){u.push(e)},this.wa=function(e){l.push(e)},this.Ka=function(e){s.push(e)},this.ua=function(e){y.push(e)},this.ta=function(e){f.push(e)},this.Ja=function(e){h.push(e)},this.ga=function(e){p.push(e)},this.H=function(e){v.push(e)},this.T=function(e){b.push(e)},this.Za=function(){o.i()};var m,x,_,w,C={x:0,y:0},S={x:0,y:0},z=!1,M=!1;o.addEventListener("mousedown",t((function(t){if(t.target!==e){var n=r(t,l);S.x=n.x,S.y=n.y,C.x=n.x,C.y=n.y,z=!0,r(t,p),x=!1,m=window.setTimeout((function(){100>T.i(C,n)&&(window.clearTimeout(w),r(t,u),x=!0)}),400)}}))),o.addEventListener("mouseup",(function(e){var t=r(e,s);z&&(M&&r(e,b),window.clearTimeout(m),x||M||!n(e)||(t={x:t.x,y:t.y},_&&100>T.i(t,_)?r(e,c):r(e,a),_=t,w=window.setTimeout((function(){_=null}),350)),M=z=!1)})),o.addEventListener("mousemove",(function(e){var t=i(e,{});n(e)&&r(e,f,{type:"move"}),C.x=t.x,C.y=t.y,z&&!M&&100<T.i(S,C)&&(M=!0),M&&r(e,v,t)})),o.addEventListener("mouseout",t((function(e){r(e,h,{type:"out"})}))),o.addEventListener("wheel",t((function(e){if("deltaY"in e)var t=e.deltaY;else t=0,"detail"in e&&(t=e.detail),"wheelDelta"in e&&(t=-e.wheelDelta/120),"wheelDeltaY"in e&&(t=-e.wheelDeltaY/120),"axis"in e&&e.axis===e.HORIZONTAL_AXIS&&(t=0),t*=10;t&&e.deltaMode&&(t=1===e.deltaMode?67*t:800*t),r(e,y,{ed:-t/200,$h:!0})})),{passive:!1}),o.addEventListener("contextmenu",t((function(e){e.preventDefault()})))}var b=function(){function e(e){return function(t){return Math.pow(t,e)}}function t(e){return function(t){return 1-Math.pow(1-t,e)}}function n(e){return function(t){return 1>(t*=2)?.5*Math.pow(t,e):1-.5*Math.abs(Math.pow(2-t,e))}}function r(e){return function(t){for(var n=0;n<e.length;n++)t=(0,e[n])(t);return t}}return{ia:function(e){switch(e){case"linear":return b.Ab;case"bounce":return b.tg;case"squareIn":return b.Tf;case"squareOut":return b.Gb;case"squareInOut":return b.Uf;case"cubicIn":return b.wg;case"cubicOut":return b.fe;case"cubicInOut":return b.xg;case"quadIn":return b.si;case"quadOut":return b.ui;case"quadInOut":return b.ti;default:return b.Ab}},Ab:function(e){return e},tg:r([n(2),function(e){return 0===e?0:1===e?1:e*(e*(e*(e*(25.9425*e-85.88)+105.78)-58.69)+13.8475)}]),Tf:e(2),Gb:t(2),Uf:n(2),wg:e(3),fe:t(3),xg:n(3),si:e(2),ui:t(2),ti:n(2),oj:r}}(),y={V:function(e){return void 0===e},Re:function(e){return null===e},zc:function(e){return"[object Number]"===Object.prototype.toString.call(e)},Ac:function(e){return"[object String]"===Object.prototype.toString.call(e)},Pe:function(e){return"function"==typeof e},wb:function(e){return e===Object(e)},od:function(e,t){return 1e-6>e-t&&-1e-6<e-t},Ne:function(e){return y.V(e)||y.Re(e)||y.Ac(e)&&!/\S/.test(e)},has:function(e,t){return e&&e.hasOwnProperty(t)},bb:function(e,t){if(e)for(var n=t.length-1;0<=n;n--)if(e.hasOwnProperty(t[n]))return!0;return!1},extend:function(e){return y.Bg(Array.prototype.slice.call(arguments,1),(function(t){if(t)for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})),e},xj:function(e,t){return e.map((function(e){return e[t]}),[])},Bg:function(e,t,n){null!=e&&(e.forEach?e.forEach(t,n):y.Aa(e,t,n))},Aa:function(e,t,n){for(var r in e)if(e.hasOwnProperty(r)&&!1===t.call(n,e[r],r,e))break},I:function(){for(var e=0;e<arguments.length;e++){var t=arguments[e];if(!(y.V(t)||y.zc(t)&&isNaN(t)||y.Ac(t)&&y.Ne(t)))return t}},If:function(e,t){0<=(t=e.indexOf(t))&&e.splice(t,1)},yg:function(e,t,n){var r;return function(){var i=this,o=arguments,a=n&&!r;clearTimeout(r),r=setTimeout((function(){r=null,n||e.apply(i,o)}),t),a&&e.apply(i,o)}},defer:function(e){setTimeout(e,1)},vj:function(e){return e},qa:function(){}},m=function(e,t){function n(){var n=[];if(Array.isArray(e))for(var r=0;r<e.length;r++){var i=e[r];i&&n.push(i.apply(t,arguments))}else e&&n.push(e.apply(t,arguments));return n}return n.empty=function(){return 0===e.length&&!y.Pe(e)},n};function x(){var e={};this.subscribe=function(t,n){var r=e[t];r||(r=[],e[t]=r),r.push(n)},this.D=function(t,n){var r=e[t];if(r)for(var i=Array.prototype.slice.call(arguments,1),o=0;o<r.length;o++)r[o].apply(this,i)}}var _=function(e){for(var t="",n=0;n<e.length;n++)t+=String.fromCharCode(1^e.charCodeAt(n));return t};function w(e){function t(t,n,l){var s,c=this,f=0;this.id=o++,this.name=l||"{unnamed on "+t+"}",this.target=function(){return t},this.xb=function(){return-1!=u.indexOf(c)},this.start=function(){if(!c.xb()){if(-1==u.indexOf(c)){var t=a.now();!0===c.af(t)&&(u=u.slice()).push(c)}0<u.length&&e.repeat(r)}return this},this.stop=function(){for(i(c);s<n.length;s++){var e=n[s];e.Xa&&e.gb.call()}return this},this.af=function(e){if(f++,0!==n.length){if(y.V(s)){var t=n[s=0];t.before&&t.before.call(t,e,f,c)}else t=n[s];for(;s<n.length;){if(t.gb&&t.gb.call(t,e,f,c))return!0;t.after&&t.after.call(t,e,f,c),y.V(s)&&(s=-1),++s<n.length&&(t=n[s]).before&&t.before.call(t,e,f,c)}}return!1}}function r(){!function(){var e=a.now();u.forEach((function(t){!0!==t.af(e)&&i(t)}))}(),0==u.length&&e.cancel(r)}function i(e){u=u.filter((function(t){return t!==e}))}var o=0,a=n.create(),u=[];this.i=function(){for(var e=u.length-1;0<=e;e--)u[e].stop();u=[]},this.K=function(){function e(){}function n(e){function t(e){return y.Pe(e)?e.call(void 0):e}var n,r,i=e.target,o=e.duration,u=e.ba;this.before=function(){for(var o in n={},e.P)i.hasOwnProperty(o)&&(n[o]={start:y.V(e.P[o].start)?i[o]:t(e.P[o].start),end:y.V(e.P[o].end)?i[o]:t(e.P[o].end),easing:y.V(e.P[o].easing)?b.Ab:e.P[o].easing});r=a.now()},this.gb=function(){var e=a.now()-r;for(var t in e=0===o?1:Math.min(o,e)/o,n){var l=n[t];i[t]=l.start+(l.end-l.start)*l.easing(e)}return u&&u.call(i,e),1>e}}function r(e,t,n){this.Xa=n,this.gb=function(){return e.call(t),!1}}function i(e){var t;this.before=function(n,r){t=r+e},this.gb=function(e,n){return n<t}}function o(e){var t;this.before=function(n){t=n+e},this.gb=function(e){return e<t}}function l(e){this.before=function(){e.forEach((function(e){e.start()}))},this.gb=function(){for(var t=0;t<e.length;t++)if(e[t].xb())return!0;return!1}}return e.A=function(e,a){return new function(){function u(t,n,i,o){return n?(y.V(i)&&(i=e),t.Mb(new r(n,i,o))):t}var s=[];this.Mb=function(e){return s.push(e),this},this.wait=function(e){return this.Mb(new o(e))},this.Xd=function(e){return this.Mb(new i(e||1))},this.call=function(e,t){return u(this,e,t,!1)},this.Xa=function(e,t){return u(this,e,t,!0)},this.fa=function(t){return y.V(t.target)&&(t.target=e),this.Mb(new n(t))},this.Qa=function(e){return this.Mb(new l(e))},this.done=function(){return new t(e,s,a)},this.start=function(){return this.done().start()},this.i=function(){var e=new f;return this.Xd().call(e.resolve).done(),e.promise()},this.Ta=function(){var e=this.i();return this.start(),e}}},e.jc=function(t){return function(e){return y.V(e)?u.slice():u.filter((function(t){return t.target()===e}))}(t).forEach((function(e){e.stop()})),e.A(t,void 0)},e}()}var C=function(){var e={ne:function(e,t){if(e.m){e=e.m;for(var n=0;n<e.length;n++)t(e[n],n)}},sc:function(t,n){if(t.m){t=t.m;for(var r=0;r<t.length;r++)if(!1===e.sc(t[r],n)||!1===n(t[r],r))return!1}}};return e.L=e.sc,e.tc=function(t,n){if(t.m){t=t.m;for(var r=0;r<t.length;r++)if(!1===n(t[r],r)||!1===e.tc(t[r],n))return!1}},e.za=function(t,n){if(t.m)for(var r=t.m,i=0;i<r.length;i++)if(!1===e.za(r[i],n))return!1;return n(t)},e.pj=e.za,e.fd=function(t,n){!1!==n(t)&&e.tc(t,n)},e.uc=function(t,n){var r=[];return e.tc(t,(function(e){r.push(e)})),n?r.filter(n):r},e.me=function(e,t){for(e=e.parent;e&&!1!==t(e);)e=e.parent},e.Jh=function(e,t){for(e=e.parent;e&&e!==t;)e=e.parent;return!!e},e}(),T=new function(){function e(e,t){var n=e.x-t.x;return n*n+(e=e.y-t.y)*e}function t(e,t,n){for(var r=0;r<e.length;r++){var i=T.T(e[r],e[r+1]||e[0],t,n,!0);if(i)return i}}return this.T=function(e,t,n,r,i){var o=e.x;e=e.y;var a=t.x-o;t=t.y-e;var u=n.x,l=n.y;n=r.x-u;var s=r.y-l;if(!(1e-12>=(r=a*s-n*t)&&-1e-12<=r)&&(n=((u-=o)*s-n*(l-=e))/r,0<=(r=(u*t-a*l)/r)&&(i||1>=r)&&0<=n&&1>=n))return{x:o+a*n,y:e+t*n}},this.Lb=function(e,t,n,r){var i=e.x;e=e.y;var o=t.x-i;t=t.y-e;var a=n.x;n=n.y;var u=r.x-a,l=o*(r=r.y-n)-u*t;if(!(1e-12>=l&&-1e-12<=l)&&0<=(r=((a-i)*r-u*(n-e))/l)&&1>=r)return{x:i+o*r,y:e+t*r}},this.wa=function(e,n,r){var i=T.u(n,{}),o=T.u(r,{}),a=o.x-i.x,u=o.y-i.y,l=[];for(o=0;o<r.length;o++){var s=r[o];l.push({x:s.x-a,y:s.y-u})}for(r=[],s=[],o=0;o<e.length;o++){var c=e[o],f=t(n,i,c);f?(r.push(f),s.push(t(l,i,c))):(r.push(null),s.push(null))}for(o=0;o<e.length;o++)if(f=r[o],c=s[o],f&&c){n=e[o],l=i;var h=f.x-i.x;if(f=f.y-i.y,1e-12<(f=Math.sqrt(h*h+f*f))){h=n.x-i.x;var p=n.y-i.y;f=Math.sqrt(h*h+p*p)/f,n.x=l.x+f*(c.x-l.x),n.y=l.y+f*(c.y-l.y)}else n.x=l.x,n.y=l.y}for(o=0;o<e.length;o++)(s=e[o]).x+=a,s.y+=u},this.F=function(e,t){if(0!==e.length){for(var n,r,i=n=e[0].x,o=r=e[0].y,a=e.length;0<--a;)i=Math.min(i,e[a].x),n=Math.max(n,e[a].x),o=Math.min(o,e[a].y),r=Math.max(r,e[a].y);return t.x=i,t.y=o,t.w=n-i,t.o=r-o,t}},this.H=function(e){return[{x:e.x,y:e.y},{x:e.x+e.w,y:e.y},{x:e.x+e.w,y:e.y+e.o},{x:e.x,y:e.y+e.o}]},this.u=function(e,t){for(var n=0,r=0,i=e.length,o=e[0],a=0,u=1;u<i-1;u++){var l=e[u],s=e[u+1],c=o.y+l.y+s.y,f=(l.x-o.x)*(s.y-o.y)-(s.x-o.x)*(l.y-o.y);n+=f*(o.x+l.x+s.x),r+=f*c,a+=f}return t.x=n/(3*a),t.y=r/(3*a),t.ha=a/2,t},this.Ja=function(e,t){this.u(e,t),t.r=Math.sqrt(t.ha/Math.PI)},this.sa=function(e,t){for(var n=0;n<e.length;n++){var r=e[n],i=e[n+1]||e[0];if(0>(t.y-r.y)*(i.x-r.x)-(t.x-r.x)*(i.y-r.y))return!1}return!0},this.Vc=function(e,t,n){var r=e.x,i=t.x;if(e.x>t.x&&(r=t.x,i=e.x),i>n.x+n.w&&(i=n.x+n.w),r<n.x&&(r=n.x),r>i)return!1;var o=e.y,a=t.y,u=t.x-e.x;return 1e-7<Math.abs(u)&&(o=(a=(t.y-e.y)/u)*r+(e=e.y-a*e.x),a=a*i+e),o>a&&(r=a,a=o,o=r),a>n.y+n.o&&(a=n.y+n.o),o<n.y&&(o=n.y),o<=a},this.Ka=function(n,r,i,o,a){var u;function l(i,o,a){if(r.x===f.x&&r.y===f.y)return a;var l=t(n,r,f),h=Math.sqrt(e(l,r)/(i*i+o*o));return h<s?(s=h,u=l.x,c=l.y,0!==o?Math.abs(c-r.y)/Math.abs(o):Math.abs(u-r.x)/Math.abs(i)):a}o=y.I(o,.5),a=y.I(a,.5),i=y.I(i,1);var s=Number.MAX_VALUE,c=u=0,f={x:0,y:0},h=o*i;i*=1-o,o=1-a,f.x=r.x-h,f.y=r.y-a;var p=l(h,a,p);return f.x=r.x+i,f.y=r.y-a,p=l(i,a,p),f.x=r.x-h,f.y=r.y+o,p=l(h,o,p),f.x=r.x+i,f.y=r.y+o,l(i,o,p)},this.pb=function(e,t){function n(e,t,n){var r=t.x,i=n.x;t=t.y;var o=i-r,a=(n=n.y)-t;return Math.abs(a*e.x-o*e.y-r*n+i*t)/Math.sqrt(o*o+a*a)}for(var r=e.length,i=n(t,e[r-1],e[0]),o=0;o<r-1;o++){var a=n(t,e[o],e[o+1]);a<i&&(i=a)}return i},this.ua=function(e,t,n){var r;n={x:t.x+Math.cos(n),y:t.y-Math.sin(n)};var i=[],o=[],a=e.length;for(r=0;r<a;r++){var u=T.Lb(e[r],e[(r+1)%a],t,n);if(u&&(i.push(u),2==o.push(r)))break}if(2==i.length){u=i[0],i=i[1];var l=o[0];o=o[1];var s=[i,u];for(r=l+1;r<=o;r++)s.push(e[r]);for(r=[u,i];o!=l;)o=(o+1)%a,r.push(e[o]);return e=[s,r],a=n.x-t.x,r=i.x-u.x,0===a&&(a=n.y-t.y,r=i.y-u.y),(0>a?-1:0<a?1:0)!=(0>r?-1:0<r?1:0)&&e.reverse(),e}},this.ga=function(e,t,n,r){return r.x=e*(t.x-n.x)+n.x,r.y=e*(t.y-n.y)+n.y,r},this.i=e,this.ta=function(e,n,r){if(y.zc(n))var i=2*Math.PI*n/360;else switch(i=T.F(e,{}),n){case"random":i=Math.random()*Math.PI*2;break;case"top":i=Math.atan2(-i.o,0);break;case"bottom":i=Math.atan2(i.o,0);break;case"left":i=Math.atan2(0,-i.w);break;case"right":i=Math.atan2(0,i.w);break;case"topleft":i=Math.atan2(-i.o,-i.w);break;case"topright":i=Math.atan2(-i.o,i.w);break;case"bottomleft":i=Math.atan2(i.o,-i.w);break;default:i=Math.atan2(i.o,i.w)}return e=t(e,n=T.u(e,{}),{x:n.x+Math.cos(i),y:n.y+Math.sin(i)}),T.ga(r,e,n,{})},this},S=new function(){function e(e,t){this.face=e,this.Rc=t,this.ec=this.Lc=null}function t(e,t,n){this.la=[e,t,n],this.J=Array(3);var r=t.y-e.y,i=n.z-e.z,o=t.x-e.x;t=t.z-e.z;var a=n.x-e.x;e=n.y-e.y,this.Ha={x:r*i-t*e,y:t*a-o*i,z:o*e-r*a},this.Ya=[],this.ad=this.visible=!1}this.i=function(r){function o(t,n,r){var i=t.la[0],o=t.Ha,a=o.x,s=o.y;o=o.z;var c=Array(l),f=(n=n.Ya).length;for(u=0;u<f;u++){var h=n[u].Rc;c[h.index]=!0,0>a*(h.x-i.x)+s*(h.y-i.y)+o*(h.z-i.z)&&e.add(t,h)}for(f=(n=r.Ya).length,u=0;u<f;u++)!0!==c[(h=n[u].Rc).index]&&0>a*(h.x-i.x)+s*(h.y-i.y)+o*(h.z-i.z)&&e.add(t,h)}var a,u,l=r.length;for(a=0;a<l;a++)r[a].index=a,r[a].Pb=null;var s,c=[];if(0<(s=function(){function n(e,n,r,i){var o={x:n.x-e.x,y:n.y-e.y,z:n.z-e.z},a=r.x-e.x,u=r.y-e.y,l=r.z-e.z,s=o.y*l-o.z*u,c=o.z*a-o.x*l;return o=o.x*u-o.y*a,s*i.x+c*i.y+o*i.z>s*e.x+c*e.y+o*e.z?new t(e,n,r):new t(r,n,e)}function i(e,t,n,r){function i(e,t,n){return(e=e.la)[(1+(t=e[0]==t?0:e[1]==t?1:2))%3]!=n?(t+2)%3:t}t.J[i(t,n,r)]=e,e.J[i(e,r,n)]=t}if(4>l)return 0;var o=r[0],a=r[1],u=r[2],s=r[3],f=n(o,a,u,s),h=n(o,u,s,a),p=n(o,a,s,u),d=n(a,u,s,o);for(i(f,h,u,o),i(f,p,o,a),i(f,d,a,u),i(h,p,s,o),i(h,d,u,s),i(p,d,s,a),c.push(f,h,p,d),o=4;o<l;o++)for(a=r[o],u=0;4>u;u++)f=(s=c[u]).la[0],0>(h=s.Ha).x*(a.x-f.x)+h.y*(a.y-f.y)+h.z*(a.z-f.z)&&e.add(s,a);return 4}())){for(;s<l;){var f=r[s];if(f.Pb){for(a=f.Pb;null!==a;)a.face.visible=!0,a=a.ec;a=0;e:for(;a<c.length;a++){var h=c[a];if(!1===h.visible){var p=h.J;for(u=0;3>u;u++)if(!0===p[u].visible){var d=h,g=u;break e}}}h=[],p=[];var v=d,b=g;do{if(h.push(v),p.push(b),b=(b+1)%3,!1===v.J[b].visible)do{for(a=v.la[b],v=v.J[b],u=0;3>u;u++)v.la[u]==a&&(b=u)}while(!1===v.J[b].visible&&(v!==d||b!==g))}while(v!==d||b!==g);var y=null,m=null;for(a=0;a<h.length;a++){v=h[a],b=p[a];var x=v.J[b],_=v.la[(b+1)%3],w=v.la[b],C=_.y-f.y,T=w.z-f.z,S=_.x-f.x,z=_.z-f.z,M=w.x-f.x,k=w.y-f.y;if(0<i.length){var P=i.pop();P.la[0]=f,P.la[1]=_,P.la[2]=w,P.Ha.x=C*T-z*k,P.Ha.y=z*M-S*T,P.Ha.z=S*k-C*M,P.Ya.length=0,P.visible=!1,P.ad=!0}else P={la:[f,_,w],J:Array(3),Ha:{x:C*T-z*k,y:z*M-S*T,z:S*k-C*M},Ya:[],visible:!1};c.push(P),v.J[b]=P,P.J[1]=v,null!==m&&(m.J[0]=P,P.J[2]=m),m=P,null===y&&(y=P),o(P,v,x)}for(m.J[0]=y,y.J[2]=m,a=[],u=0;u<c.length;u++)if(!0===(h=c[u]).visible){for(v=(p=h.Ya).length,f=0;f<v;f++)y=(b=p[f]).Lc,m=b.ec,null!==y&&(y.ec=m),null!==m&&(m.Lc=y),null===y&&(b.Rc.Pb=m),n.push(b);h.ad&&i.push(h)}else a.push(h);c=a}s++}for(a=0;a<c.length;a++)(h=c[a]).ad&&i.push(h)}return{pe:c}},e.add=function(t,r){if(0<n.length){var i=n.pop();i.face=t,i.Rc=r,i.ec=null,i.Lc=null}else i=new e(t,r);t.Ya.push(i),null!==(t=r.Pb)&&(t.Lc=i),i.ec=t,r.Pb=i};for(var n=Array(2e3),r=0;r<n.length;r++)n[r]=new e(null,null);var i=Array(1e3);for(r=0;r<i.length;r++)i[r]={la:Array(3),J:Array(3),Ha:{x:0,y:0,z:0},Ya:[],visible:!1}},z=new function(){function e(e,t,n,r,i,o,a,u){var l=(e-n)*(o-u)-(t-r)*(i-a);if(!(1e-12>Math.abs(l)))return{x:((e*r-t*n)*(i-a)-(e-n)*(i*u-o*a))/l,y:((e*r-t*n)*(o-u)-(t-r)*(i*u-o*a))/l}}return this.i=function(t,n){for(var r=t[0],i=r.x,o=r.y,a=r.x,u=r.y,l=t.length-1;0<l;l--)r=t[l],i=Math.min(i,r.x),o=Math.min(o,r.y),a=Math.max(a,r.x),u=Math.max(u,r.y);if(!(a-i<3*n||u-o<3*n)){e:{for(null==(r=!0)&&(r=!1),i=[],o=t.length,a=0;a<=o;a++){u=t[a%o],l=t[(a+1)%o];var s=t[(a+2)%o],c=l.x-u.x,f=l.y-u.y,h=Math.sqrt(c*c+f*f),p=n*c/h,d=n*f/h;if(c=s.x-l.x,f=s.y-l.y,c=n*c/(h=Math.sqrt(c*c+f*f)),f=n*f/h,(u=e(u.x-d,u.y+p,l.x-d,l.y+p,l.x-f,l.y+c,s.x-f,s.y+c))&&(i.push(u),s=i.length,r&&3<=s&&(u=i[s-3],l=i[s-2],s=i[s-1],0>(l.x-u.x)*(s.y-u.y)-(s.x-u.x)*(l.y-u.y)))){r=void 0;break e}}i.shift(),r=3>i.length?void 0:i}if(!r)e:{for(i=t.slice(0),r=0;r<t.length;r++){if(a=t[r%t.length],s=(l=t[(r+1)%t.length]).x-a.x,o=l.y-a.y,s=n*s/(u=Math.sqrt(s*s+o*o)),u=n*o/u,o=a.x-u,a=a.y+s,u=l.x-u,s=l.y+s,0!=i.length){for(d=o-u,f=a-s,p=[],c=h=!0,l=0;l<i.length;l++){var g=d*(a-i[l].y)-(o-i[l].x)*f;1e-12>=g&&-1e-12<=g&&(g=0),p.push(g),0<g&&(h=!1),0>g&&(c=!1)}if(h)i=[];else if(!c){for(d=[],l=0;l<i.length;l++)f=(l+1)%i.length,h=p[l],c=p[f],0<=h&&d.push(i[l]),(0<h&&0>c||0>h&&0<c)&&d.push(e(i[l].x,i[l].y,i[f].x,i[f].y,o,a,u,s));i=d}}if(3>i.length){r=void 0;break e}}r=i}return r}},this},M=new function(){function e(e){for(var t=e[0].x,n=e[0].y,r=t,i=n,o=1;o<e.length;o++){var a=e[o];t=Math.min(t,a.x),n=Math.min(n,a.y),r=Math.max(r,a.x),i=Math.max(i,a.y)}return[{x:t+2*(e=r-t),y:n+2*(i-=n),w:0},{x:t+2*e,y:n-2*i,w:0},{x:t-2*e,y:n+2*i,w:0}]}this.i=function(t,n){function r(e){var t=[e[0]],n=e[0][0],r=e[0][1],i=e.length,o=1;e:for(;o<i;o++)for(var a=1;a<i;a++){var u=e[a];if(null!==u){if(u[1]===n){if(t.unshift(u),n=u[0],e[a]=null,t.length===i)break e;continue}if(u[0]===r&&(t.push(u),r=u[1],e[a]=null,t.length===i))break e}}return t[0][0]!=t[i-1][1]&&t.push([t[i-1][1],t[0][0]]),t}function i(e,t,n,r){var i,o,a=[],u=[],l=n.length,s=t.length,c=0,f=-1,h=-1,p=r;for(r=0;r<l;r++){var d=(p+1)%l,g=n[p][0],v=n[d][0];if(1e-12<T.i(g.ea,v.ea))if(g.jb&&v.jb){var b=[],y=[];for(i=0;i<s;i++){var m=(c+1)%s;if((o=T.T(t[c],t[m],g.ea,v.ea,!1))&&(y.push(c),2===b.push(o)))break;c=m}if(2===b.length){if(i=b[1],g=(o=T.i(g.ea,b[0]))<(i=T.i(g.ea,i))?0:1,o=o<i?1:0,i=y[g],-1===f&&(f=i),-1!==h)for(;i!=h;)h=(h+1)%s,a.push(t[h]),u.push(null);a.push(b[g],b[o]),u.push(n[p][2],null),h=y[o]}}else if(g.jb&&!v.jb)for(i=0;i<s;i++){if(m=(c+1)%s,o=T.T(t[c],t[m],g.ea,v.ea,!1)){if(-1!==h)for(b=h;c!=b;)b=(b+1)%s,a.push(t[b]),u.push(null);a.push(o),u.push(n[p][2]),-1===f&&(f=c);break}c=m}else if(!g.jb&&v.jb)for(i=0;i<s;i++){if(m=(c+1)%s,o=T.T(t[c],t[m],g.ea,v.ea,!1)){a.push(g.ea,o),u.push(n[p][2],null),h=c;break}c=m}else a.push(g.ea),u.push(n[p][2]);p=d}if(0==a.length)u=a=null;else if(-1!==h)for(;f!=h;)h=(h+1)%s,a.push(t[h]),u.push(null);e.C=a,e.J=u}if(1===t.length)t[0].C=n.slice(0),t[0].J=[];else{var o,a=e(n),u=[];for(o=0;o<a.length;o++){var l=a[o];u.push({x:l.x,y:l.y,z:l.x*l.x+l.y*l.y-l.w})}for(o=0;o<t.length;o++)(l=t[o]).C=null,u.push({x:l.x,y:l.y,z:l.x*l.x+l.y*l.y-l.w});var s=S.i(u).pe;for(function(){for(o=0;o<s.length;o++){var e=s[o],t=e.la,n=t[0],r=t[1],i=t[2];t=n.x;var a=n.y;n=n.z;var u=r.x,l=r.y;r=r.z;var c=i.x,f=i.y;i=i.z;var h=t*(l-f)+u*(f-a)+c*(a-l);e.ea={x:-(a*(r-i)+l*(i-n)+f*(n-r))/h/2,y:-(n*(u-c)+r*(c-t)+i*(t-u))/h/2}}}(),function(e){for(o=0;o<s.length;o++){var t=s[o];t.jb=!T.sa(e,t.ea)}}(n),u=function(e,t){var n,r=Array(t.length);for(n=0;n<r.length;n++)r[n]=[];for(n=0;n<e.length;n++){var i=e[n];if(!(0>i.Ha.z))for(var o=i.J,a=0;a<o.length;a++){var u=o[a];if(!(0>u.Ha.z)){var l=i.la,s=l[(a+1)%3].index;l=l[a].index,2<s&&r[s-3].push([i,u,2<l?t[l-3]:null])}}}return r}(s,t),o=0;o<t.length;o++)if(0!==(l=u[o]).length){var c=t[o],f=(l=r(l)).length,h=-1;for(a=0;a<f;a++)l[a][0].jb&&(h=a);if(0<=h)i(c,n,l,h);else{h=[];var p=[];for(a=0;a<f;a++)1e-12<T.i(l[a][0].ea,l[(a+1)%f][0].ea)&&(h.push(l[a][0].ea),p.push(l[a][2]));c.C=h,c.J=p}c.C&&3>c.C.length&&(c.C=null,c.J=null)}}},this.u=function(t,n){var r,i=!1,o=t.length;for(r=0;r<o;r++){var a=t[r];null===a.C&&(i=!0),a.Yd=a.w}if(i){i=e(n);var u=[];for(r=t.length,a=0;a<i.length;a++){var l=i[a];u.push({x:l.x,y:l.y,z:l.x*l.x+l.y*l.y})}for(a=0;a<r;a++)l=t[a],u.push({x:l.x,y:l.y,z:l.x*l.x+l.y*l.y});for(l=S.i(u).pe,i=Array(r),a=0;a<r;a++)i[a]={};for(u=l.length,a=0;a<u;a++){var s=l[a];if(0<s.Ha.z){var c=s.la,f=c.length;for(s=0;s<f-1;s++){var h=c[s].index-3,p=c[s+1].index-3;0<=h&&0<=p&&(i[h][p]=!0,i[p][h]=!0)}s=c[0].index-3,0<=p&&0<=s&&(i[p][s]=!0,i[s][p]=!0)}}for(a=0;a<r;a++){for(var d in s=i[a],l=t[a],p=Number.MAX_VALUE,u=null,s)s=t[d],p>(c=T.i(l,s))&&(p=c,u=s);l.wj=u,l.Ze=Math.sqrt(p)}for(r=0;r<o;r++)a=t[r],d=Math.min(Math.sqrt(a.w),.95*a.Ze),a.w=d*d;for(this.i(t,n),r=0;r<o;r++)(a=t[r]).Yd!==a.w&&0<a.kc&&(n=Math.min(a.kc,a.Yd-a.w),a.w+=n,a.kc-=n)}}},k=new function(){this.H=function(e){for(var t=0,n=(e=e.m).length,r=0;r<n;r++){var i=e[r];if(i.C){var o=i.x,a=i.y;T.u(i.C,i),t<(i=(0<(o-=i.x)?o:-o)+(0<(i=a-i.y)?i:-i))&&(t=i)}}return t},this.i=function(e,t){var n=e.m;switch(t){case"random":return e.m[Math.floor(n.length*Math.random())];case"topleft":var r=(e=n[0]).x+e.y;for(t=1;t<n.length;t++){var i=n[t],o=i.x+i.y;o<r&&(r=o,e=i)}return e;case"bottomright":for(r=(e=n[0]).x+e.y,t=1;t<n.length;t++)(o=(i=n[t]).x+i.y)>r&&(r=o,e=i);return e;default:for(i=n[0],r=o=T.i(e,i),t=n.length-1;1<=t;t--){var a=n[t];(o=T.i(e,a))<r&&(r=o,i=a)}return i}},this.u=function(e,t,n){var r=e.m;if(r[0].J){var i,o=r.length;for(e=0;e<o;e++)r[e].Sc=!1,r[e].Zb=0;var a=i=0;for((o=[])[i++]=t||r[0],t=t.Zb=0;a<i;)if(!(r=o[a++]).Sc&&r.J){n(r,t++,r.Zb),r.Sc=!0;var u=r.J,l=u.length;for(e=0;e<l;e++){var s=u[e];s&&!0!==s.Sc&&(0===s.Zb&&(s.Zb=r.Zb+1),o[i++]=s)}}}else for(e=0;e<r.length;e++)n(r[e],e,1)}},P=function(){function e(e,i,l,s,c,p,d,g){var v=y.extend({},a,e);1>e.lineHeight&&(e.lineHeight=1),e=v.fontFamily;var b=v.fontStyle+" "+v.fontVariant+" "+v.fontWeight,m=v.hb,x=v.Gc,_=b+" "+e;v.te=_;var w={ka:!1,bc:0,fontSize:0};if(i.save(),i.font=b+" 100px "+e,i.textBaseline="middle",i.textAlign="center",function(e,t){t=t.te;var n=u[t];void 0===n&&(n={},u[t]=n),n[" "]=e.measureText(" ").width,n["…"]=e.measureText("…").width}(i,v),l=l.trim(),f.text=l,function(e,t,n,r){for(var i,o,a=0;a<e.length;a++)e[a].y===t.y&&(void 0===i?i=a:o=a);void 0===o&&(o=i),i!==o&&e[o].x<e[i].x&&(a=i,i=o,o=a),r.C=e,r.F=t,r.cd=n,r.Xe=i,r.Ye=o}(s,c,p,h),/[\u3000-\u303f\u3040-\u309f\u30a0-\u30ff\uff00-\uff9f\u4e00-\u9faf\u3400-\u4dbf]/.test(l)?(n(f),t(i,f,_),r(v,f,h,x,m,!0,w)):(t(i,f,_),r(v,f,h,x,m,!1,w),!w.ka&&(d&&(n(f),t(i,f,_)),g||d)&&(g&&(w.Ub=!0),r(v,f,h,x,x,!0,w))),w.ka){var C="",T=0,S=Number.MAX_VALUE,z=Number.MIN_VALUE;o(v,f,w.bc,w.fontSize,h,w.Ub,(function(e,t){0<C.length&&" "===t&&(C+=" "),C+=e}),(function(e,t,n,r,o){"­"===r&&(C+="‐"),i.save(),i.translate(p.x,t),e=w.fontSize/100,i.scale(e,e),i.fillText(C,0,0),i.restore(),C=n,T<o&&(T=o),S>t&&(S=t),z<t&&(z=t)})),w.box={x:p.x-T/2,y:S-w.fontSize/2,w:T,o:z-S+w.fontSize},i.restore()}else i.clear&&i.clear();return w}function t(e,t,n){var r,i=t.text.split(/(\n|[ \f\r\t\v\u2028\u2029]+|\u00ad+|\u200b+)/),o=[],a=[],l=i.length>>>1;for(r=0;r<l;r++)o.push(i[2*r]),a.push(i[2*r+1]);for(2*r<i.length&&(o.push(i[2*r]),a.push(void 0)),n=u[n],r=0;r<o.length;r++)void 0===(l=n[i=o[r]])&&(l=e.measureText(i).width,n[i]=l);t.Tc=o,t.Qf=a}function n(e){for(var t=e.text.split(/\s+/),n=[],r={".":!0,",":!0,";":!0,"?":!0,"!":!0,":":!0,"。":!0},i=0;i<t.length;i++){var o=t[i];if(3<o.length){var a="";a+=o.charAt(0),a+=o.charAt(1);for(var u=2;u<o.length-2;u++){var l=o.charAt(u);r[l]||(a+="​"),a+=l}a+="​",a+=o.charAt(o.length-2),a+=o.charAt(o.length-1),n.push(a)}else n.push(o)}e.text=n.join(" ")}function r(e,t,n,r,i,a,u){var l=e.lineHeight,s=Math.max(e.Ua,.001),c=e.ib,f=t.Tc,h=n.cd,p=n.F,d=void 0,g=void 0;switch(e.verticalAlign){case"top":h=p.y+p.o-h.y;break;case"bottom":h=h.y-p.y;break;default:h=2*Math.min(h.y-p.y,p.y+p.o-h.y)}if(!(0>=(c=Math.min(h,c*n.F.o)))){h=r,i=Math.min(i,c),p=Math.min(1,c/Math.max(20,t.Tc.length));do{var v=(h+i)/2,b=Math.min(f.length,Math.floor((c+v*(l-1-2*s))/(v*l))),y=void 0;if(0<b)for(var m=1,x=b;;){var _=Math.floor((m+x)/2);if(o(e,t,_,v,n,a&&v===r&&_===b,null,null)){if(m===(x=d=y=_))break}else if((m=_+1)>x)break}void 0!==y?h=g=v:i=v}while(i-h>p);return void 0===g?(u.ka=!1,u.fontSize=0):(u.ka=!0,u.fontSize=g,u.bc=d,u.Ub=a&&v===h),u}u.ka=!1}function o(e,t,n,r,i,o,a,f){var h=e.cb,p=r*(e.lineHeight-1),d=Math.max(e.Ua,.001),g=u[e.te],v=t.Tc;t=t.Qf;var b=i.C,y=i.cd,m=i.Xe,x=i.Ye;switch(e.verticalAlign){case"top":i=y.y+r/2+r*d;var _=1;break;case"bottom":i=y.y-(r*n+p*(n-1))+r/2-r*d,_=-1;break;default:i=y.y-(r*(n-1)/2+p*(n-1)/2),_=1}for(e=i,d=0;d<n;d++)l[2*d]=i-r/2,l[2*d+1]=i+r/2,i+=_*r,i+=_*p;for(;s.length<l.length;)s.push(Array(2));d=l,i=2*n,_=s;var w=b.length,C=m;m=(m-1+w)%w;var T=x;x=(x+1)%w;for(var S=0;S<i;){for(var z=d[S],M=b[m];M.y<z;)C=m,M=b[m=(m-1+w)%w];for(var k=b[x];k.y<z;)T=x,k=b[x=(x+1)%w];var P=b[C],D=b[T];k=D.x+(k.x-D.x)*(z-D.y)/(k.y-D.y),_[S][0]=P.x+(M.x-P.x)*(z-P.y)/(M.y-P.y),_[S][1]=k,S++}for(d=0;d<n;d++)b=2*d,_=(_=(i=y.x)-s[b][0])<(w=s[b][1]-i)?_:w,b=(w=i-s[b+1][0])<(b=s[b+1][1]-i)?w:b,c[d]=2*(_<b?_:b)-h*r;for(C=g[" "]*r/100,_=g["…"]*r/100,m=c[h=0],y=0,b=void 0,d=0;d<v.length;d++){if(i=v[d],T=t[d],y+(w=g[i]*r/100)<m&&v.length-d>=n-h&&"\n"!=b)y+=w," "===T&&(y+=C),a&&a(i,b);else{if(w>m&&(h!==n-1||!o))return!1;if(h+1>=n)return!!o&&(((n=m-y-_)>_||w>_)&&0<(n=Math.floor(i.length*n/w))&&a&&a(i.substring(0,n),b),a&&a("…",void 0),f&&f(h,e,i,b,y),!0);if(h++,f&&f(h,e,i,b,y),e+=r,e+=p,y=w," "===T&&(y+=C),w>(m=c[h])&&(h!==n||!o))return!1}b=T}return f&&f(h,e,void 0,void 0,y),!0}var a={hb:72,Gc:0,lineHeight:1.05,cb:1,Ua:.5,ib:.9,fontFamily:"sans-serif",fontStyle:"normal",fontWeight:"normal",fontVariant:"normal",verticalAlign:"center"},u={},l=[],s=[],c=[],f={text:"",Tc:void 0,Qf:void 0},h={C:void 0,F:void 0,cd:void 0,Xe:0,Ye:0};return{re:e,de:function(t,n,r,i,o,a,u,l,s,c,f,h){var p=0,d=0;if(r=r.toString().trim(),!h&&s.result&&r===s.Xf&&Math.abs(c-s.Zd)/c<=f){var g=s.result;g.ka&&(p=a.x-s.eg,d=a.y-s.fg,f=s.Qc,n.save(),n.translate(p,d),f.Na(n),n.restore())}return g||((f=s.Qc).clear(),(g=e(t,f,r,i,o,a,u,l)).ka&&f.Na(n),s.Zd=c,s.eg=a.x,s.fg=a.y,s.result=g,s.Xf=r),g.ka?{ka:!0,bc:g.bc,fontSize:g.fontSize,box:{x:g.box.x+p,y:g.box.y+d,w:g.box.w,o:g.box.o},Ub:g.Ub}:{ka:!1}},Zh:function(){return{Zd:0,eg:0,fg:0,result:void 0,Qc:new i,Xf:void 0}},ya:a}}(),D=new function(){function e(e,t){return function(r,i,o,a){function u(e,t,n,r,i){e.C=[{x:t,y:n},{x:t+r,y:n},{x:t+r,y:n+i},{x:t,y:n+i}]}var l=i.x,s=i.y,c=i.w;if(i=i.o,0!=r.length)if(1==r.length)r[0].x=l+c/2,r[0].y=s+i/2,r[0].nd=0,o&&u(r[0],l,s,c,i);else{r=r.slice(0);for(var f=0,h=0;h<r.length;h++)f+=r[h].weight;for(f=c*i/f,h=0;h<r.length;h++)r[h].lc=r[h].weight*f;!function e(r,i,a,l,s){if(0!=r.length){var c=r.shift(),f=n(c);if(t(l,s)){var h=i,p=f/l;do{var d=(f=c.shift()).lc,g=d/p,v=a,b=p;(d=f).x=h+g/2,d.y=v+b/2,o&&u(f,h,a,g,p),h+=g}while(0<c.length);return e(r,i,a+p,l,s-p)}h=a,g=f/s;do{v=h,b=p=(d=(f=c.shift()).lc)/g,(d=f).x=i+g/2,d.y=v+b/2,o&&u(f,i,h,g,p),h+=p}while(0<c.length);return e(r,i+g,a,l-g,s)}}(a=e(r,c,i,[[r.shift()]],a),l,s,c,i)}}}function t(e,t,r,i){function o(e){return Math.max(Math.pow(l*e/u,r),Math.pow(u/(l*e),i))}var a=n(e),u=a*a,l=t*t;for(t=o(e[0].lc),a=1;a<e.length;a++)t=Math.max(t,o(e[a].lc));return t}function n(e){for(var t=0,n=0;n<e.length;n++)t+=e[n].lc;return t}this.u=e((function(e,r,i,o,a){for(var u=1/(a=Math.pow(2,a)),l=r<i;0<e.length;){var s=o[o.length-1],c=e.shift(),f=l?r:i,h=l?a:u,p=l?u:a,d=t(s,f,h,p);s.push(c),d<(f=t(s,f,h,p))&&(s.pop(),o.push([c]),l?i-=n(s)/r:r-=n(s)/i,l=r<i)}return o}),(function(e,t){return e<t})),this.i=e((function(e,n,r,i,o){function a(e){if(1<i.length){for(var r=i[i.length-1],o=i[i.length-2].slice(0),a=0;a<r.length;a++)o.push(r[a]);t(o,n,u,l)<e&&i.splice(-2,2,o)}}for(var u=Math.pow(2,o),l=1/u;0<e.length;){if(o=t(r=i[i.length-1],n,u,l),0==e.length)return;var s=e.shift();r.push(s),o<t(r,n,u,l)&&(r.pop(),a(o),i.push([s]))}return a(t(i[i.length-1],n,u,l)),i}),(function(){return!0}))};function A(e){var t,n={},r=e.Cd;e.j.subscribe("model:loaded",(function(e){t=e})),this.M=function(){e.j.D("api:initialized",this)},this.nc=function(e,t,i,o){this.Xc(n,t),this.Yc(n,t),this.Wc(n,t,!1),o&&o(n),e(r,n,i)},this.bd=function(e,n,r,i,o,a,u){if(e){for(e=n.length-1;0<=e;e--){var l=n[e],s=y.extend({group:l.group},o);s[r]=i(l),a(s)}0<n.length&&u(y.extend({groups:C.uc(t,i).map((function(e){return e.group}))},o))}},this.Yc=function(e,t){return e.selected=t.selected,e.hovered=t.ub,e.open=t.open,e.openness=t.Cb,e.exposed=t.U,e.exposure=t.ja,e.transitionProgress=t.ra,e.revealed=!t.aa.Ga(),e.browseable=t.Ia?t.R:void 0,e.visible=t.Y,e.labelDrawn=t.oa&&t.oa.ka,e},this.Xc=function(e,t){var n=t.parent;return e.group=t.group,e.parent=n&&n.group,e.weightNormalized=t.cg,e.level=t.level-1,e.siblingCount=n&&n.m.length,e.hasChildren=!t.empty(),e.index=t.index,e.indexByWeight=t.nd,e.description=t.description,e.attribution=t.attribution,e},this.Wc=function(e,t,n){if(e.polygonCenterX=t.O.x,e.polygonCenterY=t.O.y,e.polygonArea=t.O.ha,e.boxLeft=t.F.x,e.boxTop=t.F.y,e.boxWidth=t.F.w,e.boxHeight=t.F.o,t.oa&&t.oa.ka){var r=t.oa.box;e.labelBoxLeft=r.x,e.labelBoxTop=r.y,e.labelBoxWidth=r.w,e.labelBoxHeight=r.o,e.labelFontSize=t.oa.fontSize}return n&&t.$&&(e.polygon=t.$.map((function(e){return{x:e.x,y:e.y}})),e.neighbors=t.J&&t.J.map((function(e){return e&&e.group}))),e}}var L=new function(){var e=window.console;this.i=function(e){throw"FoamTree: "+e},this.info=function(t){e.info("FoamTree: "+t)},this.warn=function(t){e.warn("FoamTree: "+t)}};function G(e){function t(t,r){t.m=[],t.Ea=!0;var o=i(r),a=0;if(("flattened"===e.mb||"always"===e.zg&&t.group&&t.group.description)&&0<r.length&&0<t.level){var u=r.reduce((function(e,t){return e+y.I(t.weight,1)}),0),l=n(t.group,!1);l.description=!0,l.weight=u*e.Sb,l.index=a++,l.parent=t,l.level=t.level+1,l.id=l.id+"_d",t.m.push(l)}for(u=0;u<r.length;u++){var s=r[u];if(0>=(l=y.I(s.weight,1))){if(!e.Wi)continue;l=.9*o}(s=n(s,!0)).weight=l,s.index=a,s.parent=t,s.level=t.level+1,t.m.push(s),a++}}function n(e,t){var n=new J;return r(e),n.id=e.__id,n.group=e,t&&(s[e.__id]=n),n}function r(e){y.has(e,"__id")||(Object.defineProperty(e,"__id",{enumerable:!1,configurable:!1,writable:!1,value:l}),l++)}function i(e){for(var t=Number.MAX_VALUE,n=0;n<e.length;n++){var r=e[n].weight;0<r&&t>r&&(t=r)}return t===Number.MAX_VALUE&&(t=1),t}function o(e){if(!e.empty()){var t,n=0;for(t=(e=e.m).length-1;0<=t;t--){var r=e[t].weight;n<r&&(n=r)}for(t=e.length-1;0<=t;t--)(r=e[t]).cg=r.weight/n}}function a(e){if(!e.empty()){e=e.m.slice(0).sort((function(e,t){return e.weight<t.weight?1:e.weight>t.weight?-1:e.index-t.index}));for(var t=0;t<e.length;t++)e[t].nd=t}}function u(){for(var t=d.m.reduce((function(e,t){return e+t.weight}),0),n=0;n<d.m.length;n++){var r=d.m[n];r.attribution&&(r.weight=Math.max(.025,e.sg)*t)}}var l,s,c,f,h,p=this,d=new J;this.M=function(){return d},this.T=function(n){var r=n.group.groups,i=e.Rh;return!!(!n.m&&!n.description&&r&&0<r.length&&h+r.length<=i)&&(h+=r.length,t(n,r),o(n),a(n),!0)},this.load=function(e){d.group=e,d.xa=!1,d.R=!1,d.Ia=!1,d.open=!0,d.Cb=1,l=function e(t,n){if(!t)return n;if(n=Math.max(n,t.__id||0),(t=t.groups)&&0<t.length)for(var r=t.length-1;0<=r;r--)n=e(t[r],n);return n}(e,0)+1,s={},c={},f={},h=0,e&&(r(e),s[e.__id]=d,y.V(e.id)||(c[e.id]=e),function e(t){var n=t.groups;if(n)for(var i=0;i<n.length;i++){var o=n[i];r(o);var a=o.__id;s[a]=null,f[a]=t,a=o.id,y.V(a)||(c[a]=o),e(o)}}(e)),t(d,e&&e.groups||[]),function(e){if(!e.empty()){var t=n({attribution:!0});t.index=e.m.length,t.parent=e,t.level=e.level+1,t.attribution=!0,e.m.push(t)}}(d),o(d),u(),a(d)},this.update=function(e){e.forEach((function(e){C.za(e,(function(e){if(!e.empty())for(var t=i((e=e.m).map((function(e){return e.group}))),n=0;n<e.length;n++){var r=e[n];r.weight=0<r.group.weight?r.group.weight:.9*t}})),o(e),e===d&&u(),a(e)}))},this.u=function(e){return function(){if(y.V(e)||y.Re(e))return[];if(Array.isArray(e))return e.map(p.i,p);if(y.wb(e)){if(y.has(e,"__id"))return[p.i(e)];if(y.has(e,"all")){var t=[];return C.L(d,(function(e){t.push(e)})),t}if(y.has(e,"groups"))return p.u(e.groups)}return[p.i(e)]}().filter((function(e){return void 0!==e}))},this.i=function(e){if(y.wb(e)&&y.has(e,"__id")){if(e=e.__id,y.has(s,e)){if(null===s[e]){for(var t=f[e],n=[];t&&(t=t.__id,n.push(t),!s[t]);)t=f[t];for(t=n.length-1;0<=t;t--)this.T(s[n[t]])}return s[e]}}else if(y.has(c,e))return this.i(c[e])},this.H=function(e,t,n){return{m:p.u(e),Ca:y.I(e&&e[t],!0),Ba:y.I(e&&e.keepPrevious,n)}}}function F(e,t,n){var r={};t.Ba&&C.L(e,(function(e){n(e)&&(r[e.id]=e)})),e=t.m,t=t.Ca;for(var i=e.length-1;0<=i;i--){var o=e[i];r[o.id]=t?o:void 0}var a=[];return y.Aa(r,(function(e){void 0!==e&&a.push(e)})),a}function j(e){function t(e,t){e=e.ja,t.opacity=1,t.Da=1,t.va=0>e?1-T.Ch/100*e:1,t.saturation=0>e?1-T.Dh/100*e:1,t.ca=0>e?1+.5*e:1}function n(e){return e=e.ja,Math.max(.001,0===e?1:1+e*(T.Pa-1))}function r(e){m.reduce(u(!0,void 0,(function(t){return t.U||e[t.id]})),l(x)),x.x-=x.w*(T.Pa-1)/2,x.y-=x.o*(T.Pa-1)/2,x.w*=T.Pa,x.o*=T.Pa}function i(){return!!m&&m.reduce((function(e,t){return e||0!==t.ja}),!1)}function o(n,r,i){var o=g.K.A(n);return 0===n.ja&&0!==r&&o.call((function(){this.mc(S),this.qb(t)})),o.fa({duration:T.Oa,P:{ja:{end:r,easing:b.ia(T.Wb)}},ba:function(){s.N=!0,s.Fa=!0,e.j.D("foamtree:dirty",!0)}}),0===r&&o.call((function(){this.vd(),this.cc(),this.Nc(S),this.Mc(t)})),o.call(i).done()}function a(){var e=s.m.reduce(u(!1,S.transformPoint,void 0),l({})).box,t=T.Yb,n=Math.min(e.x,x.x-x.w*t),r=Math.min(e.y,x.y-x.o*t);d.content(n,r,Math.max(e.x+e.w,x.x+x.w*(1+t))-n,Math.max(e.y+e.o,x.y+x.o*(1+t))-r)}function u(e,t,n){var r={};return function(i,o){if(!n||n(o)){for(var a,u=e&&o.$||o.C,l=u.length-1;0<=l;l--)a=void 0!==t?t(o,u[l],r):u[l],i.Hc=Math.min(i.Hc,a.x),i.wd=Math.max(i.wd,a.x),i.Ic=Math.min(i.Ic,a.y),i.xd=Math.max(i.xd,a.y);i.box.x=i.Hc,i.box.y=i.Ic,i.box.w=i.wd-i.Hc,i.box.o=i.xd-i.Ic}return i}}function l(e){return{Hc:Number.MAX_VALUE,wd:Number.MIN_VALUE,Ic:Number.MAX_VALUE,xd:Number.MIN_VALUE,box:e}}var s,c,p,d,g,v,m,x,_,w,T=e.options,S={Ve:function(e,t){return t.scale=n(e),!1},Ib:function(e,t){e=n(e);var r=c.x,i=c.y;t.translate(r,i),t.scale(e,e),t.translate(-r,-i)},Jb:function(e,t,r){e=n(e);var i=c.x,o=c.y;r.x=(t.x-i)/e+i,r.y=(t.y-o)/e+o},transformPoint:function(e,t,r){e=n(e);var i=c.x,o=c.y;return r.x=(t.x-i)*e+i,r.y=(t.y-o)*e+o,r}};e.j.subscribe("stage:initialized",(function(e,t,n,r){c={x:n/2,y:r/2},x={x:0,y:0,w:_=n,o:w=r}})),e.j.subscribe("stage:resized",(function(e,t,n,r){c.x*=n/e,c.y*=r/t,_=n,w=r})),e.j.subscribe("api:initialized",(function(e){p=e})),e.j.subscribe("zoom:initialized",(function(e){d=e})),e.j.subscribe("model:loaded",(function(e,t){s=e,m=t})),e.j.subscribe("model:childrenAttached",(function(e){m=e})),e.j.subscribe("timeline:initialized",(function(e){g=e})),e.j.subscribe("openclose:initialized",(function(e){v=e}));var z=["groupExposureScale","groupUnexposureScale","groupExposureZoomMargin"];e.j.subscribe("options:changed",(function(e){y.bb(e,z)&&i()&&(r({}),d.cj(x,T.Yb),d.Fb())})),this.M=function(){e.j.D("expose:initialized",this)},this.Vb=function(t,n,u,l){var S=t.m.reduce((function(e,t){for(;t=t.parent;)e[t.id]=!0;return e}),{}),z=F(s,t,(function(e){return e.U&&!e.open&&!S[e.id]})),M=new f;return function(e,t){for(var n=e.reduce((function(e,t){return e[t.id]=t,e}),{}),r=e.length-1;0<=r;r--)C.L(e[r],(function(e){n[e.id]=void 0}));var i=[];y.Aa(n,(function(e){e&&C.me(e,(function(e){e.open||i.push(e)}))}));var o=[];return y.Aa(n,(function(e){e&&e.open&&o.push(e)})),e=[],0!==i.length&&e.push(v.Bb({m:i,Ca:!0,Ba:!0},t,!0)),h(e)}(z,n).then((function(){(function(t,n,u,l){var v=i();if(0===t.length&&!v)return(new f).resolve().promise();var y=t.reduce((function(e,t){return e[t.id]=!0,e}),{}),S=[];if(t=[],m.reduce((function(e,t){return e||y[t.id]&&(!t.U||1!==t.ja)||!y[t.id]&&!t.parent.U&&(t.U||-1!==t.ja)}),!1)){var z=[],M={};m.forEach((function(e){y[e.id]&&(e.U||S.push(e),e.U=!0,C.za(e,(function(e){z.push(o(e,1)),M[e.id]=!0})))})),0<z.length?(C.L(s,(function(e){y[e.id]||(e.U&&S.push(e),e.U=!1),M[e.id]||z.push(o(e,-1))})),t.push(g.K.A({}).Qa(z).call(a).Ta()),r(y),t.push(function(t){return t||!d.zd()?g.K.A(c).fa({duration:.7*T.Oa,P:{x:{end:x.x+x.w/2,easing:b.ia(T.Wb)},y:{end:x.y+x.o/2,easing:b.ia(T.Wb)}},ba:function(){e.j.D("foamtree:dirty",!0)}}).Ta():(c.x=x.x+x.w/2,c.y=x.y+x.o/2,(new f).resolve().promise())}(v)),u&&(d.ic(x,T.Yb,T.Oa,b.ia(T.Wb)),d.Fb())):(t.push(function(e){var t=[],n=[];return C.L(s,(function(e){0!==e.ja&&n.push(o(e,0,(function(){this.U=!1})))})),t.push(g.K.A({}).Qa(n).Ta()),d.content(0,0,_,w),e&&(t.push(d.reset(T.Oa,b.ia(T.Wb))),d.Fb()),h(t)}(u)),n&&C.L(s,(function(e){e.U&&S.push(e)})))}return h(t).then((function(){p.bd(n,S,"exposed",(function(e){return e.U}),{indirect:l},e.options.hf,e.options.gf)}))})(z.filter((function(e){return e.C&&e.$})),n,u,l).then(M.resolve)})),M.promise()}}function B(e){var t,n,r=[],i=new p(y.qa);e.j.subscribe("stage:initialized",(function(){})),e.j.subscribe("stage:resized",(function(){})),e.j.subscribe("stage:newLayer",(function(e,t){r.push(t)})),e.j.subscribe("model:loaded",(function(e){t=e,i.clear()})),e.j.subscribe("zoom:initialized",(function(){})),e.j.subscribe("timeline:initialized",(function(e){n=e}));var o=!1;e.j.subscribe("render:renderers:resolved",(function(e){o=e.labelPlainFill||!1}));var a=new function(){var e=0,t=0,n=0,r=0,i=0,o=0;this.i=function(a,u,l,s,c){t=1-(e=1+u),n=l,r=s,i=c,o=a},this.Ve=function(o,a){return a.scale=e+t*o.ra,0!==i||0!==n||0!==r},this.Ib=function(a,u){var l=e+t*a.ra,s=a.parent,c=o*a.x+(1-o)*s.x,f=o*a.y+(1-o)*s.y;u.translate(c,f),u.scale(l,l),a=1-a.ra,u.rotate(i*Math.PI*a),u.translate(-c,-f),u.translate(s.F.w*n*a,s.F.o*r*a)},this.Jb=function(i,a,u){var l=e+t*i.ra,s=o*i.x+(1-o)*i.parent.x,c=o*i.y+(1-o)*i.parent.y,f=1-i.ra;i=i.parent,u.x=(a.x-s)/l+s-i.F.w*n*f,u.y=(a.y-c)/l+c-i.F.o*r*f},this.transformPoint=function(i,a,u){var l=e+t*i.ra,s=o*i.x+(1-o)*i.parent.x,c=o*i.y+(1-o)*i.parent.y,f=1-i.ra;i=i.parent,u.x=(a.x-s)*l+s-i.F.w*n*f,u.y=(a.y-c)*l+c-i.F.o*r*f}};this.M=function(){},this.u=function(){function r(e,t){var n=Math.min(1,Math.max(0,e.ra));t.opacity=n,t.va=1,t.saturation=n,t.Da=n,t.ca=e.yb}function u(e,t){var n=Math.min(1,Math.max(0,e.Hd));t.opacity=n,t.Da=n,t.va=1,t.saturation=1,t.ca=e.yb}var l=e.options,s=l.Gd,c=l.ii,f=l.ji,h=l.ki,p=l.ei,d=l.fi,g=l.gi,v=l.ai,y=l.bi,m=l.ci,x=p+d+g+v+y+m+c+f+h,_=0<x?s/x:0,w=[];return i.initial()?a.i(l.oi,l.mi,l.pi,l.ri,l.li):a.i(l.Mf,l.Lf,l.Nf,l.Of,l.Kf),k.u(t,k.i(t,e.options.ni),(function(t,i,s){var x="groups"===e.options.hi?s:i;w.push(n.K.A(t).call((function(){this.qb(r)})).wait(o?_*(p+x*d):0).fa({duration:o?_*g:0,P:{yb:{end:0,easing:b.Ab}},ba:function(){this.N=!0,e.j.D("foamtree:dirty",!0)}}).done()),C.L(t,(function(t){w.push(n.K.A(t).call((function(){this.mc(a),this.qb(u)})).wait(_*(v+y*x)).fa({duration:_*m,P:{Hd:{end:0,easing:b.Ab}},ba:function(){this.N=!0,e.j.D("foamtree:dirty",!0)}}).Xa((function(){this.selected=!1,this.Nc(a)})).done())})),w.push(n.K.A(t).call((function(){this.mc(a)})).wait(_*(c+f*x)).fa({duration:_*h,P:{ra:{end:0,easing:b.ia(l.di)}},ba:function(){this.N=!0,e.j.D("foamtree:dirty",!0)}}).Xa((function(){this.selected=!1,this.Nc(a)})).done())})),n.K.A({}).Qa(w).Ta()},this.i=function(t){return function(t){function r(e,t){var n=Math.min(1,Math.max(0,e.ra));t.opacity=n,t.va=1,t.saturation=n,t.Da=n,t.ca=e.yb}var u=e.options,l=u.Ri,s=u.Si,c=u.Oi,h=u.Pi,p=u.Qi,d=u.Od,g=l+s+c+h+p,v=0<g?d/g:0,y=[];if(a.i(u.Mf,u.Lf,u.Nf,u.Of,u.Kf),0===v&&t.m&&t.R){for(d=t.m,g=0;g<d.length;g++){var m=d[g];m.ra=1,m.yb=1,m.qb(r),m.cc(),m.Mc(r)}return t.N=!0,e.j.D("foamtree:dirty",0<v),(new f).resolve().promise()}if(t.m&&t.R){k.u(t,k.i(t,e.options.Qd),(function(t,i,f){t.mc(a),t.qb(r),f="groups"===e.options.Pd?f:i,i=n.K.A(t).wait(f*v*l).fa({duration:v*s,P:{ra:{end:1,easing:b.ia(u.Ni)}},ba:function(){this.N=!0,e.j.D("foamtree:dirty",0<v)}}).done(),f=n.K.A(t).wait(o?v*(c+f*h):0).fa({duration:o?v*p:0,P:{yb:{end:1,easing:b.Ab}},ba:function(){this.N=!0,e.j.D("foamtree:dirty",0<v)}}).done(),t=n.K.A(t).Qa([i,f]).Xd().Xa((function(){this.vd(),this.cc(),this.Nc(a),this.Mc(r)})).done(),y.push(t)})),i.i();var x=new f;return n.K.A({}).Qa(y).call((function(){i.u(),x.resolve()})).start(),x.promise()}return(new f).resolve().promise()}(t)}}function H(e){var t,n,r,i,o;e.j.subscribe("api:initialized",(function(e){o=e})),e.j.subscribe("model:loaded",(function(e){i=e,t={}})),e.j.subscribe("timeline:initialized",(function(e){n=e})),e.j.subscribe("expose:initialized",(function(e){r=e})),this.M=function(){e.j.D("openclose:initialized",this)},this.Bb=function(a,u,l){if("flattened"==e.options.mb)return(new f).resolve().promise();a=F(i,a,(function(e){return e.open||e.Va}));for(var s=new f,c=0;c<a.length;c++)a[c].Va=!0;0<a.length&&e.j.D("foamtree:attachChildren",a);var h=a.reduce((function(e,t){return e[t.id]=!0,e}),{});return function(e,t){var n,o=[];if(C.L(i,(function(t){if(t.m){var n=y.has(e,t.id);t.open!==n&&(n||t.U||C.L(t,(function(e){if(e.U)return o.push(t),!1})))}})),0===o.length)return(new f).resolve().promise();for(n=o.length-1;0<=n;n--)o[n].open=!1;for(t=r.Vb({m:o,Ca:!0,Ba:!0},t,!0,!0),n=o.length-1;0<=n;n--)o[n].open=!0;return t}(h,u).then((function(){(function(r,a,u){function l(e,t){t.opacity=1-e.Cb,t.va=1,t.saturation=1,t.ca=1,t.Da=1}var s=[],c=[];return C.L(i,(function(i){if(i.R&&i.X){var o=y.has(r,i.id),a=t[i.id];if(a&&a.xb())a.stop();else if(i.open===o)return;i.Va=o,o||(i.open=o,i.Bd=!1),c.push(i),s.push(function(r,i){r.qb(l);var o=n.K.A(r).fa({duration:e.options.Kc,P:{Cb:{end:i?1:0,easing:b.fe}},ba:function(){this.N=!0,e.j.D("foamtree:dirty",!0)}}).call((function(){this.open=i,r.Va=!1})).Xa((function(){this.cc(),this.Mc(l),delete t[this.id]})).done();return t[r.id]=o}(i,o))}})),0<s.length?(e.j.D("openclose:changing"),n.K.A({}).Qa(s).Ta().then((function(){o.bd(a,c,"open",(function(e){return e.open}),{indirect:u},e.options.rf,e.options.qf)}))):(new f).resolve().promise()})(h,u,l).then(s.resolve)})),s.promise()}}function E(e){var t,n;e.j.subscribe("api:initialized",(function(e){n=e})),e.j.subscribe("model:loaded",(function(e){t=e})),this.M=function(){e.j.D("select:initialized",this)},this.select=function(r,i){return function(r,i){var o;for(r=F(t,r,(function(e){return e.selected})),C.L(t,(function(e){!0===e.selected&&(e.selected=!e.selected,e.N=!e.N,e.Sa=!e.Sa)})),o=r.length-1;0<=o;o--){var a=r[o];a.selected=!a.selected,a.N=!a.N,a.Sa=!a.Sa}var u=[];C.L(t,(function(e){e.N&&u.push(e)})),0<u.length&&e.j.D("foamtree:dirty",!1),n.bd(i,u,"selected",(function(e){return e.selected}),{},e.options.tf,e.options.sf)}(r,i)}}function O(e){function n(e){return function(t){e.call(this,{x:t.x,y:t.y,scale:t.scale,ed:t.delta,ctrlKey:t.ctrlKey,metaKey:t.metaKey,altKey:t.altKey,shiftKey:t.shiftKey,lb:t.secondary,touches:t.touches})}}function r(){l.pc(2)?e.j.D("interaction:reset"):l.normalize(H.ob,b.ia(H.Kb))}function i(e){return function(){m.empty()||e.apply(this,arguments)}}function o(e,t,n){var r={},i={};return function(o){switch(e){case"click":var u=H.bf;break;case"doubleclick":u=H.cf;break;case"hold":u=H.jf;break;case"hover":u=H.kf;break;case"mousemove":u=H.mf;break;case"mousewheel":u=H.pf;break;case"mousedown":u=H.lf;break;case"mouseup":u=H.nf;break;case"dragstart":u=H.ff;break;case"drag":u=H.df;break;case"dragend":u=H.ef;break;case"transformstart":u=H.wf;break;case"transform":u=H.uf;break;case"transformend":u=H.vf}var s=!1,c=!u.empty(),f=l.absolute(o,r),h=(t||c)&&a(f),p=(t||c)&&function(e){var t=void 0,n=0;return C.sc(m,(function(r){!0===r.open&&r.Y&&r.scale>n&&W(r,e)&&(t=r,n=r.scale)})),t}(f);c&&(c=h?h.group:null,f=h?h.Jb(f,i):f,o.Db=void 0,u=u({type:e,group:c,topmostClosedGroup:c,bottommostOpenGroup:p?p.group:null,x:o.x,y:o.y,xAbsolute:f.x,yAbsolute:f.y,scale:y.I(o.scale,1),secondary:o.lb,touches:y.I(o.touches,1),delta:y.I(o.ed,0),ctrlKey:o.ctrlKey,metaKey:o.metaKey,altKey:o.altKey,shiftKey:o.shiftKey,preventDefault:function(){s=!0},preventOriginalEventDefault:function(){o.Db="prevent"},allowOriginalEventDefault:function(){o.Db="allow"}}),s=s||0<=u.indexOf(!1),h&&h.attribution&&"click"===e&&(s=!1)),s||n&&n({dd:h,ug:p},o)}}function a(e,t){if("flattened"===H.mb)e=function(e){function t(e,n){var r=n.m;if(r){for(var i,o=-Number.MAX_VALUE,a=0;a<r.length;a++){var u=r[a];!u.description&&u.Y&&W(u,e)&&u.scale>o&&(i=u,o=u.scale)}var l;return i&&(l=t(e,i)),l||i||n}return n}for(var n=F.length,r=F[0].scale,i=F[0].scale,o=0;o<n;o++){var a=F[o];(a=a.scale)<r&&(r=a),a>i&&(i=a)}if(r!==i)for(o=0;o<n;o++)if((a=F[o]).scale===i&&a.Y&&W(a,e))return t(e,a);return t(e,m)}(e);else{t=t||0;for(var n=F.length,r=void 0,i=0;i<n;i++){var o=F[i];o.scale>t&&!1===o.open&&o.Y&&W(o,e)&&(r=o,t=o.scale)}e=r}return e&&e.description&&(e=e.parent),e}var u,l,s,c,f,h,p,m,x,w,S,z,M,k,P,D,A,L,G,F,j=t.Lh(),B=this,H=e.options,E=!1;e.j.subscribe("stage:initialized",(function(t,n,r,i){u=n,L=r,G=i,function(){function t(e){return function(t){return t.x*=L/u.clientWidth,t.y*=G/u.clientHeight,e(t)}}"external"!==H.Me&&("hammerjs"===H.Me&&y.has(window,"Hammer")&&(R.M(u),R.A("tap",t(B.i),!0),R.A("doubletap",t(B.u),!0),R.A("hold",t(B.sa),!0),R.A("touch",t(B.ua),!0),R.A("release",t(B.wa),!1),R.A("dragstart",t(B.ga),!0),R.A("drag",t(B.H),!0),R.A("dragend",t(B.T),!0),R.A("transformstart",t(B.pb),!0),R.A("transform",t(B.transform),!0),R.A("transformend",t(B.Ka),!0)),D=new v(u),A=new g,D.i(t(B.i)),D.u(t(B.u)),D.sa(t(B.sa)),D.wa(t(B.ua)),D.Ka(t(B.wa)),D.ga(t(B.ga)),D.H(t(B.H)),D.T(t(B.T)),D.ta(t(B.ta)),D.Ja(t(B.ta)),D.ua(t(B.Ja)),A.addEventListener("keyup",(function(t){var n=!1,r=void 0,i=H.xf({keyCode:t.keyCode,preventDefault:function(){n=!0},preventOriginalEventDefault:function(){r="prevent"},allowOriginalEventDefault:function(){r="allow"}});"prevent"===r&&t.preventDefault(),(n=n||0<=i.indexOf(!1))||27===t.keyCode&&e.j.D("interaction:reset")})))}()})),e.j.subscribe("stage:resized",(function(e,t,n,r){L=n,G=r})),e.j.subscribe("stage:disposed",(function(){D.Za(),R.Za(),A.i()})),e.j.subscribe("expose:initialized",(function(e){c=e})),e.j.subscribe("zoom:initialized",(function(e){l=e})),e.j.subscribe("openclose:initialized",(function(e){f=e})),e.j.subscribe("select:initialized",(function(e){h=e})),e.j.subscribe("titlebar:initialized",(function(e){p=e})),e.j.subscribe("timeline:initialized",(function(e){s=e})),e.j.subscribe("model:loaded",(function(e,t){m=e,F=t})),e.j.subscribe("model:childrenAttached",(function(e){F=e})),this.M=function(){},this.ua=i(o("mousedown",!1,(function(){l.Wh()}))),this.wa=i(o("mouseup",!1,void 0)),this.i=i(o("click",!0,(function(e,t){t.lb||t.shiftKey||!(e=e.dd)||(e.attribution?t.ctrlKey?document.location.href=_("iuuqr;..b`ssnurd`sbi/bnl.gn`lusdd"):(t=b.ia(H.Kb),e.be?(l.reset(H.ob,t),e.be=!1):(l.bg(e,H.Yb,H.ob,t),e.be=!0)):h.select({m:[e],Ca:!e.selected,Ba:t.metaKey||t.ctrlKey},!0))}))),this.u=i(o("doubleclick",!0,(function(t,n){var r=t.dd;r&&r.attribution||(n.lb||n.shiftKey?r&&(r.parent.U&&(r=r.parent),t={m:r.parent!==m?[r.parent]:[],Ca:!0,Ba:!1},h.select(t,!0),c.Vb(t,!0,!0,!1)):r&&(t={m:[r],Ca:!0,Ba:!1},r.Va=!0,e.j.D("foamtree:attachChildren",[r]),c.Vb(t,!0,!0,!1)),r&&s.K.A({}).wait(H.Oa/2).call((function(){f.Bb({m:C.uc(m,(function(e){return e.Bd&&!C.Jh(r,e)})),Ca:!1,Ba:!0},!0,!0),r.Bd=!0,f.Bb({m:[r],Ca:!(n.lb||n.shiftKey),Ba:!0},!0,!0)})).start())}))),this.sa=i(o("hold",!0,(function(e,t){(e=(t=!(t.metaKey||t.ctrlKey||t.shiftKey||t.lb))?e.dd:e.ug)&&e!==m&&f.Bb({m:[e],Ca:t,Ba:!0},!0,!1)}))),this.ga=i(o("dragstart",!1,(function(e,t){x=t.x,w=t.y,S=Date.now(),E=!0}))),this.H=i(o("drag",!1,(function(e,t){if(E){e=Date.now(),k=Math.min(1,e-S),S=e,e=t.x-x;var n=t.y-w;l.Uh(e,n),z=e,M=n,x=t.x,w=t.y}}))),this.T=i(o("dragend",!1,(function(){if(E){E=!1;var e=Math.sqrt(z*z+M*M)/k;4<=e?l.Vh(e,z,M):l.$e()}}))),this.pb=i(o("transformstart",!1,(function(e,t){P=1,x=t.x,w=t.y})));var O,q=1,N=!1;this.transform=i(o("transform",!1,(function(e,t){e=t.scale-.01,l.pg(t,e/P,t.x-x,t.y-w),P=e,x=t.x,w=t.y,q=P,N=N||2<t.touches}))),this.Ka=i(o("transformend",!1,(function(){N&&.8>q?e.j.D("interaction:reset"):r(),N=!1}))),this.Ja=i(o("mousewheel",!1,(O=y.yg((function(){r()}),300),function(e,t){1!==(e=H.ij)&&(e=Math.pow(e,t.ed),j?(l.qg(t,e),O()):l.Nb(t,e,H.ob,b.ia(H.Kb)).then(r))}))),this.ta=i(function(){var t,n=void 0,r={},i=!1,u=o("hover",!1,(function(){n&&(n.ub=!1,0<n.level&&(n.N=!0)),t&&(t.ub=!0,0<t.level&&(t.N=!0)),p.update(t),e.j.D("foamtree:dirty",!1)})),s=o("mousemove",!1,void 0);return function(e){if("out"===e.type)i=(t=void 0)!==n;else if(l.absolute(e,r),n&&!n.open&&W(n,r)){var o=a(r,n.scale);o&&o!==n?(i=!0,t=o):i=!1}else t=a(r),i=t!==n;i&&(u(e),n=t,i=!1),n&&s(e)}}()),this.Lb={click:n(this.i),doubleclick:n(this.u),hold:n(this.sa),mouseup:n(this.wa),mousedown:n(this.ua),dragstart:n(this.ga),drag:n(this.H),dragend:n(this.T),transformstart:n(this.pb),transform:n(this.transform),transformend:n(this.Ka),hover:n(this.ta),mousewheel:n(this.Ja)};var Z,I,R=(I={},{M:function(e){Z=window.Hammer(e,{doubletap_interval:350,hold_timeout:400,doubletap_distance:10})},A:function(e,t,n){I[e]=t,Z.on(e,function(e,t){return function(n){var r=(n=n.gesture).center;(r=d.oe(u,r.pageX,r.pageY,{})).scale=n.scale,r.lb=1<n.touches.length,r.touches=n.touches.length,e.call(u,r),(void 0===r.Db&&t||"prevent"===r.Db)&&n.preventDefault()}}(t,n))},Za:function(){Z&&y.Aa(I,(function(e,t){Z.off(t,e)}))}}),W=function(){var e={};return function(t,n){return t.Jb(n,e),t.$&&T.sa(t.$,e)}}()}function q(e){function t(e,t,n,r){var i,o=0,a=[];for(i=0;i<t.length;i++){var u=Math.sqrt(T.i(t[i],t[(i+1)%t.length]));a.push(u),o+=u}for(i=0;i<a.length;i++)a[i]/=o;e[0].x=n.x,e[0].y=n.y;var l=u=o=0;for(i=1;i<e.length;i++){var s=e[i],c=.95*Math.pow(i/e.length,r);for(o+=.3819;u<o;)u+=a[l],l=(l+1)%a.length;var f=(l-1+a.length)%a.length,h=1-(u-o)/a[f],p=t[f].x;f=t[f].y;var d=t[l].x,g=t[l].y;p=(p-n.x)*c+n.x,f=(f-n.y)*c+n.y,d=(d-n.x)*c+n.x,g=(g-n.y)*c+n.y,s.x=p*(1-h)+d*h,s.y=f*(1-h)+g*h}}var n={random:{vb:function(e,t){for(var n=0;n<e.length;n++){var r=e[n];r.x=t.x+Math.random()*t.w,r.y=t.y+Math.random()*t.o}},Ob:"box"},ordered:{vb:function(e,t){e=e.slice(0),r.ac&&e.sort($),D.i(e,t,!1,r.Ld)},Ob:"box"},squarified:{vb:function(e,t){e=e.slice(0),r.ac&&e.sort($),D.u(e,t,!1,r.Ld)},Ob:"box"},fisheye:{vb:function(e,n,i){e=e.slice(0),r.ac&&e.sort($),t(e,n,i,.25)},Ob:"polygon"},blackhole:{vb:function(e,n,i){e=e.slice(0),r.ac&&e.sort($).reverse(),t(e,n,i,1)},Ob:"polygon"}};n.order=n.ordered,n.treemap=n.squarified;var r=e.options;this.i=function(e,t,i){if(0<e.length){if("box"===(i=n[i.relaxationInitializer||i.initializer||r.Ii||"random"]).Ob){var o=T.F(t,{});i.vb(e,o),T.wa(e,T.H(o),t)}else i.vb(e,t,T.u(t,{}));for(i=e.length-1;0<=i;i--){if((o=e[i]).description){var a=T.ta(t,r.qc,r.Ag);o.x=a.x,o.y=a.y}o.attribution&&(a=T.ta(t,r.$d,r.rg),o.x=a.x,o.y=a.y),y.wb(o.group.initialPosition)&&(a=o.group.initialPosition,a=T.ta(t,a.position||"bottomright",a.distanceFromCenter||1),o.x=a.x,o.y=a.y)}}}}function N(e){var t,n=e.options,r=new Z(e,this),i=new I(e,this),o={relaxed:r,ordered:i,squarified:i},a=o[e.options.Dc]||r;this.jg=5e-5,e.j.subscribe("model:loaded",(function(e){t=e})),e.j.subscribe("options:changed",(function(e){e.layout&&y.has(o,n.Dc)&&(a=o[n.Dc])})),this.step=function(e,t,n,r){return a.step(e,t,n,r)},this.complete=function(e){a.complete(e)},this.Oe=function(e){return e===t||2*Math.sqrt(e.O.ha/(Math.PI*e.m.length))>=Math.max(n.Be,5e-5)},this.gd=function(e,t){var r=Math.pow(n.La,e.level),i=n.$a*r;r*=n.jd;for(var o=(e=e.m).length-1;0<=o;o--){var u=e[o];a.ce(u,r);var l=u;l.$=0<i?z.i(l.C,i):l.C,l.$&&(T.F(l.$,l.F),T.Ja(l.$,l.O)),u.m&&t.push(u)}},this.fc=function(e){a.fc(e)},this.Eb=function(e){a.Eb(e)}}function Z(e,t){function n(e){if(e.m){e=e.m;for(var t=0;t<e.length;t++){var n=e[t];n.kc=n.hc*c.oh}}}function r(e,r){t.Oe(e)&&(e.G||(e.G=z.i(e.C,c.jd*Math.pow(c.La,e.level-1)),e.G&&e.m[0]&&e.m[0].description&&"stab"==c.Tb&&u(e)),e.G&&(s.Eb(e),f.i(i(e),e.G,e.group),e.R=!0,r(e)),n(e))}function i(e){return"stab"===c.Tb&&0<e.m.length&&e.m[0].description?e.m.slice(1):e.m}function o(e){var t=i(e);return M.i(t,e.G),M.u(t,e.G),k.H(e)*Math.sqrt(l.O.ha/e.O.ha)}function a(e){return e<c.Hf||1e-4>e}function u(e){var t=c.Sb/(1+c.Sb),n=T.F(e.G,{}),r={x:n.x,y:0},i=n.y,o=n.o,a=c.ie*Math.pow(c.La,e.level-1),u=o*c.he,l=c.qc;"bottom"==l||0<=l&&180>l?(l=Math.PI,i+=o,o=-1):(l=0,o=1);var s=e.G,f=l,h=0,p=1,d=T.u(s,{}),g=d.ha;t*=g;for(var v=0;h<p&&20>v++;){var b=(h+p)/2;r.y=n.y+n.o*b;var y=T.ua(s,r,f);T.u(y[0],d);var m=d.ha-t;if(.01>=Math.abs(m)/g)break;0<(0==f?1:-1)*m?p=b:h=b}T.F(y[0],n),(n.o<a||n.o>u)&&(r.y=n.o<a?i+o*Math.min(a,u):i+o*u,y=T.ua(e.G,r,l)),e.m[0].C=y[0],e.G=y[1]}var l,s=this,c=e.options,f=new q(e),h=0;e.j.subscribe("model:loaded",(function(e){l=e,h=0})),this.step=function(e,n,u,s){function f(n){if(n.R&&n.xa?function(e){e!==l&&2*Math.sqrt(e.O.ha/(Math.PI*e.m.length))<Math.max(.85*c.Be,t.jg)&&(e.R=!1,e.xa=!1,e.Ia=!0,e.G=null)}(n):n.Ia&&n.C&&r(n,(function(){var t=i(n);M.i(t,n.G),M.u(t,n.G),e(n)})),!n.G||!n.R)return 0;if(n.parent&&n.parent.Z||n.Ea){var f=o(n);s&&s(n),n.Ea=!a(f)&&!u,n.Z=!0}else f=0;return t.gd(n,d),f}for(var p=0,d=[l];0<d.length;)p=Math.max(p,f(d.shift()));var g=a(p);return n&&function(e,t,n){h<e&&(h=e);var r=c.Hf;c.Ad(t?1:1-(e-r)/(h-r||1),t,n),t&&(h=0)}(p,g,u),g},this.complete=function(e){for(var n=[l];0<n.length;){var i=n.shift();if(!i.R&&i.Ia&&i.C&&r(i,e),i.G){if(i.parent&&i.parent.Z||i.Ea){for(var u=1e-4>i.O.ha,s=0;!(a(o(i))||u&&32<s++););i.Z=!0,i.Ea=!1}t.gd(i,n)}}},this.fc=function(e){C.L(e,n)},this.ce=function(e,t){if(e.R){var n=e.G;n&&(e.Fd=n),e.G=z.i(e.C,t),e.G&&e.m[0]&&e.m[0].description&&"stab"==c.Tb&&u(e),n&&!e.G&&(e.Z=!0),e.G&&e.Fd&&T.wa(i(e),e.Fd,e.G)}},this.Eb=function(e){for(var t,n=i(e),r=e.ha,o=t=0;o<n.length;o++)t+=n[o].weight;for(e.Dj=t,e=0;e<n.length;e++)(o=n[e]).Vf=o.w,o.hc=r/Math.PI*(0<t?o.weight/t:1/n.length)}}function I(e,t){function n(e,n){if(t.Oe(e)){if(!e.G||e.parent&&e.parent.Z){var r=a.jd*Math.pow(a.La,e.level-1);e.G=T.H(function(e,t){var n=2*t;return e.x+=t,e.y+=t,e.w-=n,e.o-=n,e}(T.F(e.C,{}),r))}e.G&&(e.R=!0,n(e))}else e.R=!1,C.za(e,(function(e){e.G=null}))}function r(e){if("stab"==a.Tb&&0<e.m.length&&e.m[0].description){var t=e.m.slice(1);!function(e){function t(){r.C=T.H(i),r.x=i.x+i.w/2,r.y=i.y+i.o/2}var n=a.Sb/(1+a.Sb),r=e.m[0],i=T.F(e.G,{}),o=i.o;n=Math.min(Math.max(o*n,a.ie*Math.pow(a.La,e.level-1)),o*a.he);var u=a.qc;"bottom"==u||0<=u&&180>u?(i.o=o-n,e.G=T.H(i),i.y+=o-n,i.o=n,t()):(i.o=n,t(),i.y+=n,i.o=o-n,e.G=T.H(i))}(e)}else t=e.m;a.ac&&t.sort($),"floating"==a.Tb&&i(t,a.qc,(function(e){return e.description})),i(t,a.$d,(function(e){return e.attribution}));var n=T.F(e.G,{});(u[a.Dc]||D.i)(t,n,!0,a.Ld),e.Ea=!1,e.Z=!0,e.N=!0,e.Fa=!0}function i(e,t,n){for(var r=0;r<e.length;r++){var i=e[r];if(n(i)){e.splice(r,1),"topleft"==t||135<=t&&315>t?e.unshift(i):e.push(i);break}}}var o,a=e.options,u={squarified:D.u,ordered:D.i};e.j.subscribe("model:loaded",(function(e){o=e})),this.step=function(e,t,n){return this.complete(e),t&&a.Ad(1,!0,n),!0},this.complete=function(e){for(var i=[o];0<i.length;){var a=i.shift();(!a.R||a.parent&&a.parent.Z)&&a.Ia&&a.C&&n(a,e),a.G&&((a.parent&&a.parent.Z||a.Ea)&&r(a),t.gd(a,i))}},this.Eb=this.fc=this.ce=y.qa}var R,W,V,Y,U=new function(){this.u=function(e,t){var n=e.globalAlpha;e.fillStyle="dark"===t?"white":"#1d3557",e.globalAlpha=1*n,e.save(),e.transform(.94115,0,0,.94247,-78.54,-58),e.beginPath(),e.moveTo(86.47,533.3),e.bezierCurveTo(83.52,531.5,83.45,530.6,83.45,488.3),e.bezierCurveTo(83.45,444.6,83.35,445.7,87.34,443.7),e.bezierCurveTo(88.39,443.1,90.5,442.5,92.02,442.4),e.bezierCurveTo(93.54,442.2,113,441.7,135.3,441.4),e.bezierCurveTo(177.9,440.7,179.3,440.7,182.7,443.4),e.bezierCurveTo(185.9,445.9,185.6,445,206.2,510.7),e.bezierCurveTo(207.8,515.8,209.5,521.3,210.1,522.9),e.bezierCurveTo(211.7,528,211.9,531.3,210.6,532.7),e.bezierCurveTo(209.5,534,208.4,534,148.5,534),e.bezierCurveTo(106.4,533.9,87.3,533.7,86.47,533.2),e.closePath(),e.fill(),e.globalAlpha=.8*n,e.beginPath(),e.moveTo(237.3,533.3),e.bezierCurveTo(234.8,532.5,233.1,530.9,231.7,528.1),e.bezierCurveTo(231,526.8,224.6,507,217.4,484.1),e.bezierCurveTo(203.1,438.8,202.6,436.7,205,431.4),e.bezierCurveTo(206.3,428.5,239.2,383.2,242.9,379.3),e.bezierCurveTo(245,377,246.9,376.7,249.7,378.2),e.bezierCurveTo(250.6,378.7,263.1,390.8,277.3,405.2),e.bezierCurveTo(301.1,429.2,303.4,431.6,305.1,435.5),e.bezierCurveTo(306.7,439,306.9,440.4,306.9,445.2),e.bezierCurveTo(306.8,455.3,302.2,526.4,301.5,528.9),e.bezierCurveTo(300.2,533.7,301,533.6,268.3,533.7),e.bezierCurveTo(252.2,533.8,238.3,533.6,237.3,533.3),e.closePath(),e.fill(),e.beginPath(),e.globalAlpha=.05*n,e.moveTo(329,533.3),e.bezierCurveTo(326.2,532.5,323.1,528.8,322.6,525.8),e.bezierCurveTo(322,521.6,327.2,446.1,328.4,442.2),e.bezierCurveTo(330.6,434.9,332.8,432.8,368.5,402.4),e.bezierCurveTo(387,386.7,403.9,372.8,406,371.4),e.bezierCurveTo(413.1,366.7,416,366.2,436.5,365.7),e.bezierCurveTo(456.8,365.2,463.6,365.6,470.2,367.6),e.bezierCurveTo(476.2,369.5,546.1,402.8,549.1,405.3),e.bezierCurveTo(550.4,406.3,552.2,408.7,553.2,410.5),e.lineTo(555,413.9),e.lineTo(555.2,459.5),e.bezierCurveTo(555.3,484.6,555.2,505.8,555,506.5),e.bezierCurveTo(554.4,509.1,548.1,517.9,543.8,522.2),e.bezierCurveTo(537.7,528.3,534.2,530.5,527.8,532.4),e.lineTo(522.3,534),e.lineTo(426.6,533.9),e.bezierCurveTo(371.1,533.9,330.1,533.6,328.9,533.3),e.closePath(),e.fill(),e.globalAlpha=.8*n,e.beginPath(),e.moveTo(87.66,423),e.bezierCurveTo(86.23,422.4,85.02,422,84.97,422),e.bezierCurveTo(84.91,422,84.55,421.1,84.16,419.9),e.bezierCurveTo(83.67,418.6,83.45,404.7,83.45,375.9),e.bezierCurveTo(83.45,328.4,83.27,330.3,88.12,328.1),e.bezierCurveTo(90.22,327.2,101.7,325.6,135.4,321.7),e.bezierCurveTo(159.9,318.8,181.1,316.5,182.5,316.5),e.bezierCurveTo(183.9,316.5,187,317.3,189.4,318.2),e.bezierCurveTo(193.5,319.8,194.7,320.8,210.1,336.2),e.bezierCurveTo(226.6,352.7,229.1,355.7,229.1,360),e.bezierCurveTo(229.1,363,226.8,366.5,212.9,385.4),e.bezierCurveTo(187.3,420.2,189.3,417.7,183.4,420.5),e.lineTo(179.5,422.3),e.lineTo(155.3,422.7),e.bezierCurveTo(89.91,424,90.39,423.9,87.65,423),e.closePath(),e.fill(),e.globalAlpha=.6*n,e.beginPath(),e.moveTo(314.6,415),e.bezierCurveTo(311.4,413.4,213.2,314.6,210.9,310.7),e.bezierCurveTo(208.9,307.2,208.5,303.4,209.9,300),e.bezierCurveTo(211.2,297,241.3,257,244.2,254.4),e.bezierCurveTo(247.3,251.7,252.9,249.7,257.4,249.7),e.bezierCurveTo(261.1,249.7,344.7,255.2,350.8,255.8),e.bezierCurveTo(358.5,256.6,363.1,259.5,366,265.1),e.bezierCurveTo(368.7,270.5,394.3,343.7,394.7,347.2),e.bezierCurveTo(395.1,351.6,393.6,356.1,390.5,359.5),e.bezierCurveTo(389.1,361,375.7,372.6,360.5,385.4),e.bezierCurveTo(326.7,414,327,413.7,324.5,415),e.bezierCurveTo(321.8,416.4,317.4,416.3,314.6,414.9),e.closePath(),e.fill(),e.globalAlpha=.4*n,e.beginPath(),e.moveTo(547.9,383.4),e.bezierCurveTo(547.1,383.2,533,376.6,516.5,368.7),e.bezierCurveTo(497.2,359.5,485.7,353.7,484.3,352.4),e.bezierCurveTo(481.6,349.8,480.2,346.5,480.2,342.5),e.bezierCurveTo(480.2,339.2,499.2,237,500.4,233.9),e.bezierCurveTo(502.2,229.1,506.2,225.8,511.3,224.9),e.bezierCurveTo(516.2,224,545.8,222.2,548.2,222.6),e.bezierCurveTo(551.5,223.2,553.7,224.7,555.1,227.3),e.bezierCurveTo(556.2,229.3,556.3,234,556.5,301.9),e.bezierCurveTo(556.6,341.8,556.5,375.7,556.3,377.2),e.bezierCurveTo(555.6,381.8,552,384.4,547.8,383.4),e.closePath(),e.fill(),e.globalAlpha=.4*n,e.beginPath(),e.moveTo(418.7,347),e.bezierCurveTo(416,346.1,413.6,344.3,412.3,342.1),e.bezierCurveTo(411.6,341,404.4,321.3,396.3,298.3),e.bezierCurveTo(382,258.1,381.5,256.4,381.5,251.7),e.bezierCurveTo(381.5,248.2,381.8,246.2,382.7,244.7),e.bezierCurveTo(383.4,243.4,389.5,233.9,396.5,223.4),e.bezierCurveTo(412.6,199,411.3,199.9,430.6,198.6),e.bezierCurveTo(445,197.6,449.5,197.9,454.2,200.4),e.bezierCurveTo(460.5,203.7,479.6,217.5,481.3,220.1),e.bezierCurveTo(484.3,224.6,484.3,224.6,473.1,284),e.bezierCurveTo(465.3,325.9,462.4,339.9,461.3,341.8),e.bezierCurveTo(458.7,346.4,457.1,346.7,437.5,347.1),e.bezierCurveTo(428.1,347.3,419.6,347.3,418.7,347),e.closePath(),e.fill(),e.globalAlpha=.05*n,e.beginPath(),e.moveTo(89.33,308.2),e.bezierCurveTo(88.1,307.5,86.5,306.2,85.77,305.2),e.bezierCurveTo(84.42,303.4,84.42,303.4,84.24,202.6),e.bezierCurveTo(84.11,131.7,84.27,100.2,84.77,96.34),e.bezierCurveTo(85.65,89.58,87.91,84.64,92.77,78.81),e.bezierCurveTo(96.86,73.9,103.2,68.42,107.1,66.53),e.bezierCurveTo(108.6,65.81,112.8,64.64,116.5,63.92),e.bezierCurveTo(122.7,62.73,125.4,62.64,148.5,62.81),e.lineTo(173.7,63),e.lineTo(177.4,64.82),e.bezierCurveTo(179.5,65.82,182.1,67.75,183.3,69.12),e.bezierCurveTo(185.6,71.9,228.8,145.1,231.3,150.7),e.bezierCurveTo(234.5,157.7,234.9,160.8,234.9,176.9),e.bezierCurveTo(234.8,201.7,233.8,229.6,232.8,233.2),e.bezierCurveTo(232.3,235,231.1,238.1,230.2,240),e.bezierCurveTo(228.3,243.9,196.9,286.6,192.7,290.9),e.bezierCurveTo(189.8,293.9,184.3,297.1,180.2,298.2),e.bezierCurveTo(177.6,298.9,95.84,309.3,93.04,309.3),e.bezierCurveTo(92.22,309.3,90.55,308.8,89.33,308.1),e.closePath(),e.fill(),e.globalAlpha=.4*n,e.beginPath(),e.moveTo(305.7,235.6),e.bezierCurveTo(254.5,232,256.5,232.3,253.9,227.1),e.lineTo(252.4,224.2),e.lineTo(253.1,196.7),e.bezierCurveTo(253.8,170.5,253.8,169.1,255.2,166.3),e.bezierCurveTo(257.7,161.2,256.9,161.4,309.3,151.9),e.bezierCurveTo(354.1,143.8,356.8,143.4,359.7,144.2),e.bezierCurveTo(361.4,144.6,363.8,145.8,365,146.8),e.bezierCurveTo(367.3,148.6,389,179.6,391.9,185.2),e.bezierCurveTo(393.8,188.7,394.1,193.5,392.6,196.9),e.bezierCurveTo(391.5,199.6,370.6,231.4,368.4,233.8),e.bezierCurveTo(365.4,237,362,238.3,356.3,238.5),e.bezierCurveTo(353.5,238.6,330.7,237.3,305.7,235.5),e.closePath(),e.fill(),e.globalAlpha=.2*n,e.beginPath(),e.moveTo(497.1,207.1),e.bezierCurveTo(496.2,206.8,494.4,206,493.2,205.4),e.bezierCurveTo(490,203.8,472.7,191.6,469.7,189),e.bezierCurveTo(467,186.6,465.7,183.2,466.2,180.2),e.bezierCurveTo(466.5,178.1,482.4,138.6,484.9,133.5),e.bezierCurveTo(486.5,130.3,488.4,128.2,490.9,126.8),e.bezierCurveTo(492.6,125.9,496.3,125.7,522.2,125.6),e.lineTo(551.5,125.4),e.lineTo(553.7,127.6),e.bezierCurveTo(555.2,129.1,556,130.5,556.3,132.6),e.bezierCurveTo(556.5,134.2,556.6,149.6,556.5,166.9),e.bezierCurveTo(556.3,195.4,556.2,198.5,555.1,200.4),e.bezierCurveTo(553.1,204.1,551.7,204.4,529.8,206.1),e.bezierCurveTo(509.2,207.7,499.9,207.9,497,207.1),e.closePath(),e.fill(),e.globalAlpha=.2*n,e.beginPath(),e.moveTo(412.5,180.5),e.bezierCurveTo(410.9,179.7,408.7,177.9,407.5,176.4),e.bezierCurveTo(403.5,171.3,380.5,137.2,379.2,134.3),e.bezierCurveTo(377.2,129.6,377.1,126.1,378.9,116.8),e.bezierCurveTo(386.5,77.56,388.4,68.28,389.5,66.46),e.bezierCurveTo(390.1,65.34,391.7,63.83,392.9,63.1),e.bezierCurveTo(395.1,61.84,396.2,61.78,419.4,61.78),e.bezierCurveTo(443.4,61.78,443.7,61.8,446.5,63.25),e.bezierCurveTo(448,64.06,449.9,65.81,450.7,67.14),e.bezierCurveTo(452.3,69.73,468,105.5,470,111.1),e.bezierCurveTo(471.4,114.9,471.6,119.1,470.5,122.3),e.bezierCurveTo(470.1,123.5,465.2,135.8,459.7,149.5),e.bezierCurveTo(446.7,181.4,448.1,179.8,431.5,181.2),e.bezierCurveTo(419,182.2,415.7,182,412.5,180.5),e.closePath(),e.fill(),e.globalAlpha=.4*n,e.beginPath(),e.moveTo(253.6,142.8),e.bezierCurveTo(250.2,141.8,246.6,139.4,244.7,136.7),e.bezierCurveTo(242.1,132.9,207.4,73.28,206.2,70.42),e.bezierCurveTo(205.1,67.89,205,67.1,205.7,65.54),e.bezierCurveTo(207.3,61.54,202.3,61.8,284.4,61.59),e.bezierCurveTo(325.7,61.48,360.8,61.58,362.4,61.81),e.bezierCurveTo(366,62.32,369.3,65.36,369.9,68.75),e.bezierCurveTo(370.4,71.55,362.4,113.9,360.5,118.1),e.bezierCurveTo(359.1,121.3,355,125,351.4,126.4),e.bezierCurveTo(348.9,127.3,267.1,142.3,259.5,143.2),e.bezierCurveTo(257.9,143.4,255.2,143.2,253.6,142.7),e.closePath(),e.fill(),e.globalAlpha=.1*n,e.beginPath(),e.moveTo(493.4,106.8),e.bezierCurveTo(490.3,106,488.2,104.5,486.5,101.7),e.bezierCurveTo(483.8,97.43,471.8,68.81,471.8,66.76),e.bezierCurveTo(471.8,62.64,470.7,62.76,512.1,62.76),e.bezierCurveTo(553.3,62.76,552.3,62.67,554.4,66.68),e.bezierCurveTo(555.2,68.34,555.3,71.23,555.2,85.75),e.lineTo(555,102.8),e.lineTo(551.4,106.4),e.lineTo(534.1,106.8),e.bezierCurveTo(510.7,107.4,495.9,107.4,493.3,106.8),e.closePath(),e.fill(),e.restore(),e.transform(.15905,0,0,.15905,-88.65,443.2),e.globalAlpha=1*n,e.save(),e.beginPath(),e.moveTo(557.4,564.9),e.lineTo(557.4,98),e.lineTo(885.8,98),e.lineTo(885.8,185.1),e.lineTo(650.8,185.1),e.lineTo(650.8,284.7),e.lineTo(824.1,284.7),e.lineTo(824.1,371.6),e.lineTo(650.8,371.6),e.lineTo(650.8,564.9),e.lineTo(557.4,564.9),e.closePath(),e.fill(),e.beginPath(),e.moveTo(1029,568),e.quadraticCurveTo(961.1,568,915.7,522.5),e.quadraticCurveTo(870.2,476.7,870.2,409.2),e.quadraticCurveTo(870.2,341.3,915.7,295.9),e.quadraticCurveTo(961.1,250.4,1029,250.4),e.quadraticCurveTo(1096.8,250.4,1142.3,295.9),e.quadraticCurveTo(1187.7,341.3,1187.7,409.2),e.quadraticCurveTo(1187.7,477.1,1142.3,522.5),e.quadraticCurveTo(1097.3,568.1,1029.3,568.1),e.closePath(),e.moveTo(1028.6,492.6),e.quadraticCurveTo(1064.1,492.6,1086.2,469),e.quadraticCurveTo(1108.3,445,1108.3,409.5),e.quadraticCurveTo(1108.3,374,1086.2,350),e.quadraticCurveTo(1064.1,326.1,1028.3,326.1),e.quadraticCurveTo(993.1,326.1,971,350),e.quadraticCurveTo(948.9,374,948.9,409.5),e.quadraticCurveTo(948.9,445,971,469),e.quadraticCurveTo(993.1,492.6,1028.6,492.6),e.closePath(),e.fill(),e.beginPath(),e.moveTo(1253,291),e.quadraticCurveTo(1312.1,253.6,1390,253.6),e.quadraticCurveTo(1446,253.6,1478.7,284.7),e.quadraticCurveTo(1511.4,315.9,1511.4,378.1),e.lineTo(1511.4,564.9),e.lineTo(1424.2,564.9),e.lineTo(1424.2,540),e.quadraticCurveTo(1386.2,564.9,1355.7,564.9),e.quadraticCurveTo(1293.5,564.9,1262.3,538.5),e.quadraticCurveTo(1231.2,512,1231.2,465.3),e.quadraticCurveTo(1231.2,421.7,1260.4,387.5),e.quadraticCurveTo(1290,353.3,1355.7,353.3),e.quadraticCurveTo(1385.9,353.3,1424.2,371.9),e.lineTo(1424.2,362.6),e.quadraticCurveTo(1423.6,328.4,1374.4,325.2),e.quadraticCurveTo(1318.3,325.2,1287.2,343.9),e.lineTo(1253,291),e.closePath(),e.moveTo(1424.2,471.5),e.lineTo(1424.2,436.3),e.quadraticCurveTo(1411.7,412.3,1365,412.3),e.quadraticCurveTo(1309,418.5,1305.9,455.9),e.quadraticCurveTo(1309,492.9,1365,496),e.quadraticCurveTo(1411.7,496,1424.2,471.5),e.closePath(),e.fill(),e.beginPath(),e.moveTo(1675,365.7),e.lineTo(1675,564.9),e.lineTo(1587.8,564.9),e.lineTo(1587.8,262.5),e.lineTo(1675,253.2),e.lineTo(1675,280.9),e.quadraticCurveTo(1704.2,253.5,1749.7,253.5),e.quadraticCurveTo(1808.8,253.5,1839.9,289.3),e.quadraticCurveTo(1874.2,253.5,1942.6,253.5),e.quadraticCurveTo(2001.8,253.5,2032.9,289.3),e.quadraticCurveTo(2064,325.1,2064,371.8),e.lineTo(2064,564.8),e.lineTo(1976.9,564.8),e.lineTo(1976.9,393.6),e.quadraticCurveTo(1976.9,362.5,1962.9,345.4),e.quadraticCurveTo(1948.8,328.2,1917.4,327.3),e.quadraticCurveTo(1891.6,329.2,1872.6,361.6),e.quadraticCurveTo(1871,371.2,1871,381.2),e.lineTo(1871,564.9),e.lineTo(1783.9,564.9),e.lineTo(1783.9,393.7),e.quadraticCurveTo(1783.9,362.5,1769.9,345.4),e.quadraticCurveTo(1755.9,328.3,1724.4,327.4),e.quadraticCurveTo(1695.8,329.2,1674.9,365.7),e.closePath(),e.fill(),e.beginPath(),e.moveTo(2058,97.96),e.lineTo(2058,185.1),e.lineTo(2213.6,185.1),e.lineTo(2213.6,564.9),e.lineTo(2306.9,564.9),e.lineTo(2306.9,185.1),e.lineTo(2462.5,185.1),e.lineTo(2462.5,97.96),e.lineTo(2057.8,97.96),e.closePath(),e.fill(),e.beginPath(),e.moveTo(2549,287.8),e.quadraticCurveTo(2582.3,253.5,2630.2,253.5),e.quadraticCurveTo(2645.5,253.5,2659.2,256),e.lineTo(2645.5,341.9),e.quadraticCurveTo(2630.2,328.2,2601.9,327.3),e.quadraticCurveTo(2570.1,329.5,2549,373.4),e.lineTo(2549,564.8),e.lineTo(2461.8,564.8),e.lineTo(2461.8,262.5),e.lineTo(2549,253.1),e.lineTo(2549,287.7),e.closePath(),e.fill(),e.beginPath(),e.moveTo(2694,409.2),e.quadraticCurveTo(2694,340.7,2737.5,297.1),e.quadraticCurveTo(2781.1,253.5,2849.6,253.5),e.quadraticCurveTo(2918.1,253.5,2958.5,297.1),e.quadraticCurveTo(2999,340.6,2999,409.2),e.lineTo(2999,440.3),e.lineTo(2784.2,440.3),e.quadraticCurveTo(2787.3,465.2,2806,479.2),e.quadraticCurveTo(2824.7,493.2,2849.6,493.2),e.quadraticCurveTo(2893.1,493.2,2927.4,468.3),e.lineTo(2977.2,518.1),e.quadraticCurveTo(2943,564.8,2849.6,564.8),e.quadraticCurveTo(2781.1,564.8,2737.5,521.2),e.quadraticCurveTo(2693.9,477.6,2693.9,409.1),e.closePath(),e.moveTo(2911.9,378),e.quadraticCurveTo(2911.9,353.1,2893.2,339.1),e.quadraticCurveTo(2874.5,325.1,2849.6,325.1),e.quadraticCurveTo(2824.7,325.1,2806,339.1),e.quadraticCurveTo(2787.3,353.1,2787.3,378),e.lineTo(2911.8,378),e.closePath(),e.fill(),e.beginPath(),e.moveTo(3052,409.2),e.quadraticCurveTo(3052,340.7,3095.5,297.1),e.quadraticCurveTo(3139.1,253.5,3207.6,253.5),e.quadraticCurveTo(3276.1,253.5,3316.5,297.1),e.quadraticCurveTo(3357,340.6,3357,409.2),e.lineTo(3357,440.3),e.lineTo(3142.2,440.3),e.quadraticCurveTo(3145.3,465.2,3164,479.2),e.quadraticCurveTo(3182.7,493.2,3207.6,493.2),e.quadraticCurveTo(3251.1,493.2,3285.4,468.3),e.lineTo(3335.2,518.1),e.quadraticCurveTo(3301,564.8,3207.6,564.8),e.quadraticCurveTo(3139.1,564.8,3095.5,521.2),e.quadraticCurveTo(3051.9,477.6,3051.9,409.1),e.closePath(),e.moveTo(3269.9,378),e.quadraticCurveTo(3269.9,353.1,3251.2,339.1),e.quadraticCurveTo(3232.5,325.1,3207.6,325.1),e.quadraticCurveTo(3182.7,325.1,3164,339.1),e.quadraticCurveTo(3145.3,353.1,3145.3,378),e.lineTo(3269.8,378),e.closePath(),e.fill(),e.restore()}};function X(e,n){function r(e,t){var n=e.O.r,r=n/15,i=.5*n/15;n/=5;var o=e.O.x;e=e.O.y,t.fillRect(o-i,e-i,r,r),t.fillRect(o-i-n,e-i,r,r),t.fillRect(o-i+n,e-i,r,r)}function i(e,t,n,r){null===e&&n.clearRect(0,0,P,D);var i,o=Array(ne.length);for(i=ne.length-1;0<=i;i--)o[i]=ne[i].na(n,r);for(i=ne.length-1;0<=i;i--)o[i]&&ne[i].before(n,r);for(L.rc([n,k],(function(r){var i;if(null!==e){for(n.save(),n.globalCompositeOperation="destination-out",n.fillStyle=n.strokeStyle="rgba(255, 255, 255, 1)",i=e.length-1;0<=i;i--){var a=e[i],l=a.C;l&&(n.save(),n.beginPath(),a.Ib(n),u.Ud(n,l),n.fill(),0<(a=I.$a*Math.pow(I.La,a.level-1))&&(n.lineWidth=a/2,n.stroke()),n.restore())}n.restore()}if(r=r.scale,0!==t.length){for(i={},l=ne.length-1;0<=l;l--)ne[l].ng(i);for(a=te.length-1;0<=a;a--)if(i[(l=te[a]).id]){var s=l.Kd;for(l=0;l<t.length;l++){var c=t[l];!c.parent||c.parent.xa&&c.parent.R?s(c,r):c.aa.clear()}}}for(i=ne.length-1;0<=i;i--)a=ne[i],o[i]&&a.Nd(t,n,r)})),i=ne.length-1;0<=i;i--)o[i]&&ne[i].after(n);I.Zc&&(n.canvas.style.opacity=.99,setTimeout((function(){n.canvas.style.opacity=1}),1))}function l(){function e(t,n,r){t.sb=Math.floor(1e3*t.scale)-r*n,0<t.opacity&&!t.open&&n++;var i=t.m;if(i)for(var o=i.length-1;0<=o;o--)t.W&&e(i[o],n,r)}var t=null,n=null,r=null;return L.rc([],(function(i){!function(e){v===x?e<.9*q&&(v=m,w=S,f()):e>=q&&(v=x,w=z,f())}(i.scale);var o=!1;C.L(j,(function(e){e.W&&(o=e.vd()||o,e.cc(),e.Ma=N.i(e)||e.Ma)})),o&&(j.N=!0);var a="onSurfaceDirty"===I.Lg;C.fd(j,(function(e){e.parent&&e.parent.Z&&(e.aa.clear(),e.Ma=!0,a||(e.oc=!0,e.Qb.clear())),a&&(e.oc=!0,e.Qb.clear())}));var u=i.scale*i.scale;if(C.fd(j,(function(e){if(e.R){for(var t=e.m,n=0;n<t.length;n++)if(5<t[n].O.ha*u)return void(e.X=!0);e.X=!1}})),function(e){j.Y=!0,C.fd(j,(function(t){if(t.W&&t.X&&t.xa&&t.R&&(j.N||t.Z||t.Vd)){t.Vd=!1;var n=t.m,r={x:0,y:0,w:0,o:0},i=!!t.G;if(1<P/e.w){var o;for(o=n.length-1;0<=o;o--)n[o].Y=!1;if(t.Y&&i)for(o=n.length-1;0<=o;o--)if(1!==(t=n[o]).scale&&(t.Jb(e,r),r.w=e.w/t.scale,r.o=e.o/t.scale),!1===t.Y&&t.C){var a=(i=t.C).length;if(T.sa(t.C,1===t.scale?e:r))t.Y=!0;else for(var u=0;u<a;u++)if(T.Vc(i[u],i[(u+1)%a],1===t.scale?e:r)){t.Y=!0,t.J&&(t=t.J[u])&&(n[t.index].Y=!0);break}}}else for(o=0;o<n.length;o++)n[o].Y=i}}))}(i),r=[],C.tc(j,(function(e){if(e.parent.X&&e.Y&&e.W){r.push(e);for(var t=e.parent;t!==j&&(t.open||0===t.opacity);)t=t.parent;t!==j&&.02>Math.abs(t.scale-e.scale)&&(e.scale=Math.min(e.scale,t.scale))}})),e(j,0,"flattened"===I.mb?-1:1),r.sort((function(e,t){return e.sb-t.sb})),s())t=r,n=null;else{var l={},c={},h="none"!=I.ld&&I.$a<I.ab/2,p=I.$a<I.yc/2+I.kd*I.De.a;C.L(j,(function(e){if(e.W&&!e.description&&(e.Z||e.N||e.Fc&&e.parent.X&&e.Ma)){var t,n,r,i=[e],o=e.J||e.parent.m;if(h)for(t=0;t<o.length;t++)(n=o[t])&&i.push(n);else if(p)if(!e.selected&&e.Sa){for(n=!0,t=0;t<o.length;t++)o[t]?i.push(o[t]):n=!1;!n&&1<e.level&&i.push(e.parent)}else for(t=0;t<o.length;t++)(n=o[t])&&n.selected&&i.push(n);for(t=e.parent;t!=j;)t.selected&&(r=t),t=t.parent;for(r&&i.push(r),t=0;t<i.length;t++){for(e=(r=i[t]).parent;e&&e!==j;)0<e.opacity&&(r=e),e=e.parent;c[r.id]=!0,C.za(r,(function(e){l[e.id]=!0}))}}})),t=r.filter((function(e){return l[e.id]})),n=t.filter((function(e){return c[e.id]}))}})),function(){var e=!1;I.Gf&&C.L(j,(function(t){if(t.W&&0!==t.pa.a&&1!==t.pa.a)return e=!0,!1})),e?(C.sc(j,(function(e){if(e.W&&(e.opacity!==e.Jc||e.Fa)){var t=e.m;if(t){for(var n=0,r=t.length-1;0<=r;r--)n=Math.max(n,t[r].Ec);e.Ec=n+e.opacity*e.pa.a}else e.Ec=e.opacity*e.pa.a}})),C.L(j,(function(e){if(e.W&&(e.opacity!==e.Jc||e.Fa)){for(var t=e.Ec,n=e;(n=n.parent)&&n!==j;)t+=n.opacity*n.pa.a*I.Ef;e.$c=0<t?1-Math.pow(1-e.pa.a,1/t):0,e.Jc=e.opacity}}))):C.L(j,(function(e){e.W&&(e.$c=1,e.Jc=-1)}))}(),{ag:t,$f:n,Y:r}}function s(){var e=j.Z||j.N||"none"==I.Ke;if(!e&&!j.empty()){var t=j.m[0].scale;C.L(j,(function(n){if(n.W&&n.Y&&n.scale!==t)return e=!0,!1}))}return!e&&0<I.xe&&1!=I.Pa&&C.L(j,(function(t){if(t.W&&0<t.ja)return e=!0,!1})),"accurate"==I.Ke&&!(e=(e=e||0===I.$a)||"none"!=I.ld&&I.$a<I.ab/2)&&I.$a<I.yc/2+I.kd*I.De.a&&C.L(j,(function(t){if(t.W&&(t.selected&&!t.Sa||!t.selected&&t.Sa))return e=!0,!1})),e}function f(){function e(e,n,r,i,o){function a(e,t,n,r,i){return e[r]&&(t-=n*d[r],e[r]=!1,i&&(t+=n*d[i],e[i]=!0)),t}switch(e=y.extend({},e),r){case"never":e.labelPlainFill=!1;break;case"always":case"auto":e.labelPlainFill=!0}if(I.xc)switch(i){case"never":e.contentDecoration=!1;break;case"always":case"auto":e.contentDecoration=!0}else e.contentDecoration=!1;var u=0;return y.Aa(e,(function(e,t){e&&(u+=n*d["contentDecoration"===t?"labelPlainFill":t])})),e.polygonExposureShadow=t,(u+=2*d.polygonExposureShadow)<=o||(u=a(e,u,2,"polygonExposureShadow"))<=o||(u=a(e,u,n,"polygonGradientFill","polygonPlainFill"))<=o||(u=a(e,u,n,"polygonGradientStroke"))<=o||(u=a(e,u,n,"polygonPlainStroke"))<=o||"auto"===i&&(u=a(e,u,n,"contentDecoration"))<=o||"auto"===r&&(u=a(e,u,n,"labelPlainFill")),e}var t=v===m,n=0,r=0;C.ne(j,(function(e){var t=1;C.L(e,(function(){t++})),n+=t,r=Math.max(r,t)}));var i={};switch(I.Ug){case"plain":i.polygonPlainFill=!0;break;case"gradient":i.polygonPlainFill=!t,i.polygonGradientFill=t}switch(I.ld){case"plain":i.polygonPlainStroke=!0;break;case"gradient":i.polygonPlainStroke=!t,i.polygonGradientStroke=t}H=e(i,n,I.gj,I.ej,I.fj),O=e(i,2*r,"always","always",I.Eg),E=e(i,n,"always","always",I.Dg)}function h(e){return function(t,n){return t===v?!0===H[e]:!0===(n?O:E)[e]}}function p(e,t){return function(n,r){return e(n,r)&&t(n,r)}}var d,g,v,m,x,_,w,S,z,M,k,P,D,A,L,G,F,j,B,H,E,O,q=t.Se()?50:1e4,N=new K(e),Z=new Q(e),I=e.options;e.j.subscribe("stage:initialized",(function(e,t,n,r){P=n,D=r,g=(A=e).dc("wireframe",I.nb,!1),m=g.getContext("2d"),x=new o(m),_=A.dc("hifi",I.B,!1),S=_.getContext("2d"),z=new o(S),v=m,w=S,m.B=I.nb,x.B=I.nb,S.B=I.B,z.B=I.B,M=A.dc("tmp",Math.max(I.B,I.nb),!0),(k=M.getContext("2d")).B=1,[m,S,k].forEach((function(e){e.scale(e.B,e.B)}))})),e.j.subscribe("stage:resized",(function(e,t,n,r){P=n,D=r,[m,S,k].forEach((function(e){e.scale(e.B,e.B)}))})),e.j.subscribe("model:loaded",(function(t){B=!0,function e(t){var n=0;if(!t.empty()){for(var r=t.m,i=r.length-1;0<=i;i--)n=Math.max(n,e(r[i]));n+=1}return t.Sf=n}(j=t),f(),e.j.D("render:renderers:resolved",H,O,E)}));var X="groupFillType groupStrokeType wireframeDrawMaxDuration wireframeLabelDrawing wireframeContentDecorationDrawing finalCompleteDrawMaxDuration finalIncrementalDrawMaxDuration groupContentDecorator".split(" "),J=["groupLabelLightColor","groupLabelDarkColor","groupLabelColorThreshold","groupUnexposureLabelColorThreshold"];e.j.subscribe("options:changed",(function(e){function t(e,t,n,r){A.Hi(e,n),t.B=n,r&&t.scale(n,n)}e.dataObject||(y.bb(e,X)&&f(),y.bb(e,J)&&C.L(j,(function(e){e.hd=-1})));var n=y.has(e,"pixelRatio");e=y.has(e,"wireframePixelRatio"),(n||e)&&(n&&t(_,w,I.B,!0),e&&t(g,v,I.nb,!0),t(M,k,Math.max(I.B,I.nb),!1))})),e.j.subscribe("zoom:initialized",(function(e){L=e})),e.j.subscribe("timeline:initialized",(function(e){G=e})),e.j.subscribe("api:initialized",(function(e){F=e}));var $,ee,te=[{id:"offsetPolygon",Kd:function(e){if((e.selected||0<e.opacity&&!1===e.open||!e.X)&&e.aa.Ga()){var t=e.aa;if(t.clear(),e.$){var n=e.$,r=I.Gg;0<r?u.Ti(t,n,e.parent.O.r/32,Math.min(1,r*Math.pow(1-I.Hg*r,e.Sf))):u.Ud(t,n)}e.Dd=!0}}},{id:"label",Kd:function(e){e.Ma&&e.Fc&&N.u(e)}},{id:"custom",Kd:function(t,n){if(t.$&&(0<t.opacity&&(!1===t.open||!0===t.selected)||!t.X)&&t.oc&&e.options.xc&&!t.attribution){var r={};F.Xc(r,t),F.Yc(r,t),F.Wc(r,t,!0),r.context=t.Qb,r.polygonContext=t.aa,r.labelContext=t.Bc,r.shapeDirty=t.Dd,r.viewportScale=n,n={groupLabelDrawn:!0,groupPolygonDrawn:!0},e.options.Kg(e.Cd,r,n),t.Te=n.groupLabelDrawn,t.Ed=n.groupPolygonDrawn,t.Dd=!1,t.oc=!1}}}].reverse(),ne=[new function(e){var t=Array(e.length);this.Nd=function(n,r,i){if(0!==n.length){var o,a=[],u=n[0].sb;for(o=0;o<n.length;o++){var l=n[o];l.sb!==u&&(a.push(o),u=l.sb)}a.push(o);for(var s=u=0;s<a.length;s++){for(var c=a[s],f=e.length-1;0<=f;f--)if(t[f]){var h=e[f];for(r.save(),o=u;o<c;o++)l=n[o],r.save(),l.Ib(r),h.kb.call(h,l,r,i),r.restore();h.Wa.call(h,r,i),r.restore()}u=c}}},this.na=function(n,r){for(var i=!1,o=e.length-1;0<=o;o--)t[o]=e[o].na(n,r),i|=t[o];return i},this.before=function(n,r){for(var i=e.length-1;0<=i;i--)if(t[i]){var o=e[i];o.before.call(o,n,r)}},this.after=function(n){for(var r=e.length-1;0<=r;r--)if(t[r]){var i=e[r];i.after.call(i,n)}},this.ng=function(n){for(var r=e.length-1;0<=r;r--){var i=e[r];if(t[r])for(var o=i.Ra.length-1;0<=o;o--)n[i.Ra[o]]=!0}}}([{Ra:["offsetPolygon"],na:h("polygonExposureShadow"),before:function(e){k.save(),k.scale(e.B,e.B)},after:function(){k.restore()},rb:function(){},Wa:function(e){this.Rf&&(this.Rf=!1,e.save(),e.setTransform(1,0,0,1,0,0),e.drawImage(M,0,0,e.canvas.width,e.canvas.height,0,0,e.canvas.width,e.canvas.height),e.restore(),k.save(),k.setTransform(1,0,0,1,0,0),k.clearRect(0,0,M.width,M.height),k.restore())},kb:function(e,t,n){if(!(e.open&&e.X||e.aa.Ga())){var r=I.xe*e.opacity*e.ja*("flattened"===I.mb?1-e.parent.ja:(1-e.Cb)*e.parent.Cb)*(1.1<=I.Pa?1:(I.Pa-1)/.1);0<r&&(k.save(),k.beginPath(),e.Ib(k),e.aa.Na(k),k.shadowBlur=n*t.B*r,k.shadowColor=I.Mg,k.fillStyle="rgba(0, 0, 0, 1)",k.globalCompositeOperation="source-over",k.globalAlpha=e.opacity,k.fill(),k.shadowBlur=0,k.shadowColor="transparent",k.globalCompositeOperation="destination-out",k.fill(),k.restore(),this.Rf=!0)}}},{Ra:["offsetPolygon"],na:function(){return!0},before:function(){function e(e){var n=e.pa,r=e.ub,i=e.selected,o=(n.h+(r?I.Yg:0)+(i?I.ph:0))%360,a=t(n.l*e.va+(r?I.Zg:0)+(i?I.qh:0));return n=t(n.s*e.saturation+(r?I.$g:0)+(i?I.rh:0)),(e=e.we).h=o,e.s=n,e.l=a,e}function t(e){return 100<e?100:0>e?0:e}var n=[{type:"fill",na:h("polygonPlainFill"),Pc:function(t,n){n.fillStyle=c.H(e(t))}},{type:"fill",na:h("polygonGradientFill"),Pc:function(n,r){var i=n.O.r,o=e(n);i=r.createRadialGradient(n.x,n.y,0,n.x,n.y,i*I.Qg);var a=o.l,u=I.Og;i.addColorStop(0,c.i((o.h+I.Ng)%360,t(o.s+I.Pg),t(a+u))),a=o.l,u=I.Sg,i.addColorStop(1,c.i((o.h+I.Rg)%360,t(o.s+I.Tg),t(a+u))),n.aa.Na(r),r.fillStyle=i}},{type:"stroke",na:p(h("polygonPlainStroke"),(function(){return 0<I.ab})),Pc:function(e,n){var r=e.pa,i=e.ub,o=e.selected,a=(r.h+I.He+(i?I.ye:0)+(o?I.Ee:0))%360,u=t(r.s*e.saturation+I.Je+(i?I.Ae:0)+(o?I.Ge:0));r=t(r.l*e.va+I.Ie+(i?I.ze:0)+(o?I.Fe:0)),n.strokeStyle=c.i(a,u,r),n.lineWidth=I.ab*Math.pow(I.La,e.level-1)}},{type:"stroke",na:p(h("polygonGradientStroke"),(function(){return 0<I.ab})),Pc:function(e,n){var r=e.O.r*I.xh,i=e.pa,o=Math.PI*I.th/180;r=n.createLinearGradient(e.x+r*Math.cos(o),e.y+r*Math.sin(o),e.x+r*Math.cos(o+Math.PI),e.y+r*Math.sin(o+Math.PI));var a=e.ub,u=e.selected;o=(i.h+I.He+(a?I.ye:0)+(u?I.Ee:0))%360;var l=t(i.s*e.saturation+I.Je+(a?I.Ae:0)+(u?I.Ge:0));i=t(i.l*e.va+I.Ie+(a?I.ze:0)+(u?I.Fe:0)),a=I.vh,r.addColorStop(0,c.i((o+I.uh)%360,t(l+I.wh),t(i+a))),a=I.zh,r.addColorStop(1,c.i((o+I.yh)%360,t(l+I.Ah),t(i+a))),n.strokeStyle=r,n.lineWidth=I.ab*Math.pow(I.La,e.level-1)}}],r=Array(n.length);return function(e,t){for(var i=n.length-1;0<=i;i--)r[i]=n[i].na(e,t);this.Xi=n,this.vg=r}}(),after:function(){},rb:function(){},Wa:function(){},kb:function(e,t){if(!(!e.Ed||(0===e.opacity||e.open)&&e.X||e.aa.Ga()||!I.je&&e.description)){var n=this.Xi,r=this.vg;t.beginPath(),e.aa.Na(t);for(var i=!1,o=!1,a=n.length-1;0<=a;a--){var u=n[a];if(r[a])switch(u.Pc(e,t),u.type){case"fill":i=!0;break;case"stroke":o=!0}}n=(e.X?e.opacity:1)*e.pa.a,r=!e.empty(),a=I.Gf?e.$c:1,i&&(e=r&&e.X&&e.R&&e.m[0].W?1-e.m.reduce((function(e,t){return e+t.ra*t.Hd}),0)/e.m.length*(1-I.Ef):1,t.globalAlpha=n*e*a,R(t)),o&&(t.globalAlpha=n*(r?I.Xh:1)*a,t.closePath(),W(t),t.stroke())}}},{Ra:["offsetPolygon"],na:function(){return 0<I.yc},before:function(){},after:function(){},rb:function(){},Wa:function(){},kb:function(e,t,n){if(e.Ed&&e.selected&&!e.aa.Ga()){t.globalAlpha=e.Da,t.beginPath();var r=Math.pow(I.La,e.level-1);t.lineWidth=I.yc*r,t.strokeStyle=I.sh;var i=I.kd;0<i&&(t.shadowBlur=i*r*n*t.B,t.shadowColor=I.Ce),e.aa.Na(t),t.closePath(),t.stroke()}}},{Ra:[],na:function(){return!0},before:function(){},after:function(){},rb:function(){},Wa:function(){},kb:function(e,t){e.attribution&&!e.aa.Ga()&&function(n,r,i){var o=T.Ka(e.$,e.O,n/r);o=Math.min(Math.min(.9*o,.5*e.F.o)/r,.5*e.F.w/n),t.save(),t.translate(e.x,e.y),t.globalAlpha=e.opacity*e.ca,t.scale(o,o),t.translate(-n/2,-r/2),function(e){U.u(e,I.ae)}(t),t.restore()}(U.i.width,U.i.height)}},{Ra:[],na:($=h("labelPlainFill"),ee=p(h("contentDecoration"),(function(){return I.xc})),function(e,t){return $(e,t)||ee(e,t)}),before:function(){},after:function(){},rb:function(){},Wa:function(){},kb:function(e,t,n){(0<e.opacity&&0<e.ca&&!e.open||!e.X)&&!e.aa.Ga()&&(e.Cc=e.oa&&e.oa.ka&&I.B*e.oa.fontSize*e.scale*n>=I.mh,"auto"===e.pd?!I.je&&e.description?e.fb=e.parent.fb:(t=(n=e.we).h+(n.s<<9)+(n.l<<16),e.hd!==t&&(n=c.T(n),e.fb=n>(0>e.ja?I.Bh:I.ah)?I.bh:I.lh,e.hd=t)):e.fb=e.pd)}},{Ra:["custom"],na:p(h("contentDecoration"),(function(){return I.xc})),before:function(){},after:function(){},rb:function(){},Wa:function(){},kb:function(e,t){!(0<e.opacity&&0<e.ca&&!e.open||!e.X)||e.Qb.Ga()||e.aa.Ga()||(e.Cc||void 0===e.oa?(t.globalAlpha=e.ca*(e.X?e.opacity:1)*(e.empty()?1:I.Ff),t.fillStyle=e.fb,t.strokeStyle=e.fb,e.Qb.Na(t)):r(e,t))}},{Ra:["label"],na:h("labelPlainFill"),before:function(){},after:function(){},rb:function(){},Wa:function(){},kb:function(e,t,n){e.Te&&e.Fc&&(0<e.opacity&&0<e.ca&&!e.open||!e.X)&&!e.aa.Ga()&&e.oa&&(t.fillStyle=e.fb,t.globalAlpha=e.ca*(e.X?e.opacity:1)*(e.empty()?1:I.Ff),e.Cc?Y(e,t,n):r(e,t))}}].reverse())];this.M=function(){d=function(e,n,r){return t.Fh()?function(){var t=n+":"+JSON.stringify(arguments),i=window.localStorage.getItem(t);return i&&(i=JSON.parse(i)),i&&Date.now()-i.t<r?i.v:(i=e.apply(this,arguments),window.localStorage.setItem(t,JSON.stringify({v:i,t:Date.now()})),i)}:e}((function(){return a.estimate()}),"CarrotSearchFoamTree",12096e5)({version:"3.5.0",build:"bugfix/3.5.x/e3b91c8e",brandingAllowed:!1}),Z.M()},this.clear=function(){v.clearRect(0,0,P,D),w.clearRect(0,0,P,D)};var re=!1,ie=void 0;this.u=function(e){re?ie=e:e()},this.Nd=function(){var e,t;return function(r){V(Z);var o=null!==(t=l()).$f,a=0<A.$b("hifi"),u=a&&(o||!r);r=o||B||!r,B=!1,a&&!u&&oe.Vi(),i(t.$f,t.ag,u?w:v,r),C.za(j,(function(e){e.Z=!1,e.N=!1,e.Sa=!1})),u||(window.clearTimeout(e),re=!0,e=setTimeout((function(){if(re=!1,function(){if(I.B!==I.nb)return!0;var e="polygonPlainFill polygonPlainStroke polygonGradientFill polygonGradientStroke labelPlainFill contentDecoration".split(" ");C.L(j,(function(t){if(t.W&&t.U)return e.push("polygonExposureShadow"),!1}));for(var t=e.length-1;0<=t;t--){var n=e[t];if(!!H[n]!=!!O[n])return!0}return!1}()){var e=!s();i(null,t.Y,w,e),y.defer((function(){oe.Ui(),ie&&(ie(),ie=void 0)}))}else ie&&(ie(),ie=void 0)}),Math.max(I.hj,3*n.Wf.sd,3*n.Wf.rd))),I.Af(o)}}(),this.i=function(e){e=e||{},V(Z),j.N=!0;var t=l(),n=I.B;try{var r=y.I(e.pixelRatio,I.B);I.B=r;var a=A.dc("export",r,!0),u=a.getContext("2d");v===x&&(u=new o(u)),u.scale(r,r);var s=y.has(e,"backgroundColor");s&&(u.save(),u.fillStyle=e.backgroundColor,u.fillRect(0,0,P,D),u.restore()),i(s?[]:null,t.ag,u,!0)}finally{I.B=n}return a.toDataURL(y.I(e.format,"image/png"),y.I(e.quality,.8))};var oe=function(){function e(e,t,r,i,o,a){function u(e,t,n,r){return G.K.A({opacity:A.$b(e)}).fa({duration:n,P:{opacity:{end:t,easing:r}},ba:function(){A.$b(e,this.opacity)}}).done()}var l=y.od(A.$b(e),t),s=y.od(A.$b(i),o);if(!l||!s){for(var c=n.length-1;0<=c;c--)n[c].stop();return n=[],l||n.push(u(e,t,r,b.Gb)),s||n.push(u(i,o,a,b.Tf)),G.K.A({}).Qa(n).start()}}var t,n=[];return{Vi:function(){I.Zc?1!==g.style.opacity&&(g.style.visibility="visible",_.style.visibility="hidden",g.style.opacity=1,_.style.opacity=0):t&&t.xb()||(t=e("wireframe",1,I.se,"hifi",0,I.se))},Ui:function(){I.Zc?(_.style.visibility="visible",g.style.visibility="hidden",g.style.opacity=0,_.style.opacity=1):e("hifi",1,I.dg,"wireframe",0,I.dg)}}}();return V=function(e){e.apply()},R=function(e){e.fill()},W=function(e){e.stroke()},this}function K(e){function t(e){void 0!==e.groupLabelFontFamily&&(i.fontFamily=e.groupLabelFontFamily),void 0!==e.groupLabelFontStyle&&(i.fontStyle=e.groupLabelFontStyle),void 0!==e.groupLabelFontVariant&&(i.fontVariant=e.groupLabelFontVariant),void 0!==e.groupLabelFontWeight&&(i.fontWeight=e.groupLabelFontWeight),void 0!==e.groupLabelLineHeight&&(i.lineHeight=e.groupLabelLineHeight),void 0!==e.groupLabelHorizontalPadding&&(i.cb=e.groupLabelHorizontalPadding),void 0!==e.groupLabelVerticalPadding&&(i.Ua=e.groupLabelVerticalPadding),void 0!==e.groupLabelMaxTotalHeight&&(i.ib=e.groupLabelMaxTotalHeight),void 0!==e.groupLabelMaxFontSize&&(i.hb=e.groupLabelMaxFontSize)}var n,r=e.options,i={},o={},a={groupLabel:""},u={};e.j.subscribe("api:initialized",(function(e){n=e})),e.j.subscribe("options:changed",t),t(e.Cd),this.i=function(e){if(!e.$)return!1;var t=e.group.label;return r.eh&&!e.attribution&&(a.labelText=t,n.nc(r.dh,e,a),t=a.labelText),e.Ue=t,e.qd!==t},this.u=function(e){var t=e.Ue;if(e.qd=t,e.Bc.clear(),e.oa=void 0,e.$&&!y.Ne(t)&&("flattened"!==r.mb||e.empty()||!e.R||!e.m[0].W)){var a=P,l=a.de;if(r.kh){u.fontFamily=i.fontFamily,u.fontStyle=i.fontStyle,u.fontVariant=i.fontVariant,u.fontWeight=i.fontWeight,u.lineHeight=i.lineHeight,u.horizontalPadding=i.cb,u.verticalPadding=i.Ua,u.maxTotalTextHeight=i.ib,u.maxFontSize=i.hb,n.nc(r.jh,e,u),o.fontFamily=u.fontFamily,o.fontStyle=u.fontStyle,o.fontVariant=u.fontVariant,o.fontWeight=u.fontWeight,o.lineHeight=u.lineHeight,o.cb=u.horizontalPadding,o.Ua=u.verticalPadding,o.ib=u.maxTotalTextHeight,o.hb=u.maxFontSize;var s=o}else s=i;e.oa=l.call(a,s,e.Bc,t,e.$,e.F,e.O,!1,!1,e.Mh,e.O.ha,r.nh,e.Ma)}e.Ma=!1},Y=this.H=function(e,t){e.Bc.Na(t)}}function Q(e){function t(e,t){var n,r=e.m,i=r.length,a=o.O.r;for(n=0;n<i;n++){var u=r[n];u.tb=(180*(Math.atan2(u.x-e.x,u.y-e.y)+t)/Math.PI+180)/360,u.wc=Math.min(1,Math.sqrt(T.i(u,e))/a)}}function n(e,t){var n=(e=e.m).length;if(1===n||2===n&&e[0].description)e[0].tb=.5;else{var r=0,i=Number.MAX_VALUE,o=Math.sin(t),a=Math.cos(t);for(t=0;t<n;t++){var u=e[t],l=u.x*o+u.y*a;r<l&&(r=l),i>l&&(i=l),u.tb=l,u.wc=1}for(t=0;t<n;t++)(u=e[t]).tb=(u.tb-i)/(r-i)}}function r(e,t,n,r){return(t=t[r])+(n[r]-t)*e}var i,o,a={radial:t,linear:n},u=e.options,l={groupColor:null,labelColor:null};return e.j.subscribe("model:loaded",(function(e){o=e})),e.j.subscribe("api:initialized",(function(e){i=e})),this.M=function(){},this.apply=function(){function e(e,t,n,r){var i=s(e+n*r);return i+t*((e=s(e-n*(1-r)))-i)}function s(e){return 0>e?0:100<e?100:e}var f=a[u.vi]||t,h=n,p=u.Fi,d=u.yi,g=u.Ig,v=u.Jg,b=u.zi,m=u.Di;!function t(n){if(n.R&&n.xa){var o,a=n.m;if(n.Z||n.Fa||v){for(0===n.level?f(n,u.wi*Math.PI/180):h(n,u.Ai*Math.PI/180),o=a.length-1;0<=o;o--){var s=a[o];s.Fa=!0;var x=s.tb,_=s.ve;if(0===n.level)var w=r(x,p,d,"h"),C=(m+(1-m)*s.wc)*r(x,p,d,"s"),T=(1+(0>s.ja?b*(s.ja+1):b)*(1-s.wc))*r(x,p,d,"l"),S=r(x,p,d,"a");else w=(T=n.pa).h,C=T.s,T=e(T.l,x,u.Bi,u.Ci),S=n.ve.a;_.h=w,_.s=C,_.l=T,_.a=S,w=s.pa,s.attribution?(w.h=0,w.s=0,w.l="light"==u.ae?90:10,w.a=1):(w.h=_.h,w.s=_.s,w.l=_.l,w.a=_.a),v&&!s.attribution&&(l.groupColor=w,l.labelColor="auto",i.nc(g,s,l,(function(e){e.ratio=x})),s.pa=c.u(l.groupColor),s.pa.a=y.has(l.groupColor,"a")?l.groupColor.a:1,"auto"!==l.labelColor&&(s.pd=c.wa(l.labelColor)))}n.Fa=!1}for(o=a.length-1;0<=o;o--)t(a[o])}}(o)},this}function J(){this.kc=this.Yd=this.hc=this.Vf=this.w=this.cg=this.weight=this.y=this.x=this.id=0,this.C=this.parent=this.m=null,this.F={x:0,y:0,w:0,o:0},this.J=null,this.qd=this.Ue=void 0,this.Sc=!1,this.wc=this.tb=0,this.ve={h:0,s:0,l:0,a:0,model:"hsla"},this.pa={h:0,s:0,l:0,a:0,model:"hsla"},this.we={h:0,s:0,l:0,model:"hsl"},this.hd=-1,this.pd="auto",this.fb="#000",this.Sf=this.level=this.nd=this.index=0,this.attribution=!1,this.ha=this.Ze=0,this.Y=!1,this.$=null,this.O={x:0,y:0,ha:0,r:0},this.Fd=this.G=null,this.Fc=this.W=this.Sa=this.oc=this.Vd=this.Dd=this.Ma=this.Fa=this.N=this.Z=this.Ea=this.xa=this.R=this.Ia=!1,this.saturation=this.va=this.Da=this.ca=this.opacity=this.scale=1,this.ra=0,this.Hd=1,this.Cb=this.ja=this.yb=0,this.description=this.selected=this.ub=this.Bd=this.open=this.U=!1,this.sb=0,this.Te=this.Ed=this.X=!0,this.oa=void 0,this.Cc=!1,this.Bc=new i,this.aa=new i,this.Qb=new i,this.Mh=P.Zh(),this.Ec=0,this.$c=1,this.Jc=-1,this.empty=function(){return!this.m||0===this.m.length};var e=[];this.mc=function(t){e.push(t)},this.Nc=function(t){y.If(e,t)};var t={scale:1};this.vd=function(){var n=!1;this.scale=1;for(var r=0;r<e.length;r++)n=e[r].Ve(this,t)||n,this.scale*=t.scale;return n},this.Ib=function(t){for(var n=0;n<e.length;n++)e[n].Ib(this,t)},this.transformPoint=function(t,n){for(n.x=t.x,n.y=t.y,t=0;t<e.length;t++)e[t].transformPoint(this,n,n);return n},this.Jb=function(t,n){for(n.x=t.x,n.y=t.y,t=0;t<e.length;t++)e[t].Jb(this,n,n);return n};var n=[];this.qb=function(e){n.push(e)},this.Mc=function(e){y.If(n,e)};var r={opacity:1,saturation:1,va:1,ca:1,Da:1};this.cc=function(){if(0!==n.length){this.Da=this.ca=this.va=this.saturation=this.opacity=1;for(var e=n.length-1;0<=e;e--)(0,n[e])(this,r),this.opacity*=r.opacity,this.va*=r.va,this.saturation*=r.saturation,this.ca*=r.ca,this.Da*=r.Da}}}function $(e,t){return t.weight>e.weight?1:t.weight<e.weight?-1:e.index-t.index}function ee(e){var t,n,r,i,o,a,u=this,l=e.options;e.j.subscribe("stage:initialized",(function(o,a,s,c){r=s,i=c,t=o.dc("titlebar",l.B,!1),(n=t.getContext("2d")).B=l.B,n.scale(n.B,n.B),e.j.D("titlebar:initialized",u)})),e.j.subscribe("stage:resized",(function(e,t,o,a){r=o,i=a,n.scale(n.B,n.B)})),e.j.subscribe("zoom:initialized",(function(e){a=e})),e.j.subscribe("api:initialized",(function(e){o=e})),e.j.subscribe("model:loaded",(function(){n.clearRect(0,0,r,i)})),this.update=function(e){if(n.clearRect(0,0,r,i),e){!e.empty()&&e.m[0].description&&(e=e.m[0]);var t=l.bj,u=l.aj,s=Math.min(i/2,l.Wd+2*t),c=s-2*t,f=r-2*u;if(!(0>=c||0>=f)){var h=e.Cc?e.oa.fontSize*e.scale*a.scale():0,p={titleBarText:e.qd,titleBarTextColor:l.Zf,titleBarBackgroundColor:l.Yf,titleBarMaxFontSize:l.Wd,titleBarShown:h<l.Sh};if(e.attribution)var d=_("B`ssnu!Rd`sbi!Gn`lUsdd!whrt`mh{`uhno/!Busm,bmhbj!uid!mnfn!un!fn!un!iuuqr;..b`ssnurd`sbi/bnl.gn`lusdd!gns!lnsd!edu`hmr/");else o.nc(l.Yi,e,p,(function(e){e.titleBarWidth=f,e.titleBarHeight=c,e.labelFontSize=h,e.viewportScale=a.scale()})),d=p.titleBarText;d&&0!==d.length&&p.titleBarShown&&(t={x:u,y:(e=a.Uc(e.transformPoint(e,{}),{}).y>i/2)?t:i-s+t,w:f,o:c},u=T.H(t),n.fillStyle=l.Yf,n.fillRect(0,e?0:i-s,r,s),n.fillStyle=l.Zf,P.re({fontFamily:l.Zi||l.fh,fontStyle:l.Aj||l.gh,fontWeight:l.Cj||l.ih,fontVariant:l.Bj||l.hh,hb:l.Wd,Gc:l.$i,cb:0,Ua:0,ib:1},n,d,u,t,{x:t.x+t.w/2,y:t.y+t.o/2},!0,!0).ka||n.clearRect(0,0,r,i))}}}}function te(e){function t(e,t,n){return x=!0,l&&l.stop(),c&&c.stop(),a(d.reset(e),t,n).then((function(){x=!1}))}function n(t){d.update(t),h.N=!0,e.j.D("foamtree:dirty",!0)}function r(e,t){return d.i((0!==d.u()?.35:1)*e,(0!==d.H()?.35:1)*t)}function i(){if(1===g.ratio){var e=Math.round(1e4*d.u())/1e4;0!==e&&(v.Id=e,l=p.K.jc(v).fa({duration:500,P:{x:{start:e,end:0,easing:b.Gb}},ba:function(){d.i(v.x-v.Id,0),n(1),v.Id=v.x}}).start())}}function o(){if(1===g.ratio){var e=Math.round(1e4*d.H())/1e4;0!==e&&(y.Jd=e,c=p.K.jc(y).fa({duration:500,P:{y:{start:e,end:0,easing:b.Gb}},ba:function(){d.i(0,y.y-y.Jd),n(1),y.Jd=y.y}}).start())}}function a(e,t,r){return e?p.K.jc(g).fa({duration:void 0===t?700:t,P:{ratio:{start:0,end:1,easing:r||b.Uf}},ba:function(){n(g.ratio)}}).Ta():(new f).resolve().promise()}function u(e){return function(){return x?(new f).resolve().promise():e.apply(this,arguments)}}var l,c,h,p,d=new s(e),g={ratio:1},v={ke:0,x:0,Id:0},y={le:0,y:0,Jd:0},m=this,x=!1;e.j.subscribe("model:loaded",(function(e){h=e,d.reset(!1),d.update(1)})),e.j.subscribe("timeline:initialized",(function(e){p=e})),this.M=function(){e.j.D("zoom:initialized",this)},this.reset=function(e,n){return d.Fb(1),t(!0,e,n)},this.normalize=u((function(e,n){d.pc(1)?t(!1,e,n):m.$e()})),this.$e=function(){i(),o()},this.bg=u((function(e,t,n,r){return m.ic(e.F,t,n,r)})),this.Nb=u((function(e,t,n,r){return a(d.Nb(e,t),n,r)})),this.ic=u((function(e,t,n,r){return a(d.ic(e,t),n,r)})),this.cj=u((function(e,t){d.ic(e,t)&&n(1)})),this.Uh=u((function(e,t){1===g.ratio&&r(e,t)&&n(1)})),this.qg=u((function(e,t){d.Nb(e,t)&&n(1)})),this.pg=u((function(e,t,i,o){e=0|d.Nb(e,t),(e|=r(i,o))&&n(1)})),this.Vh=u((function(e,t,a){1===g.ratio&&(l=p.K.jc(v).fa({duration:e/.03,P:{ke:{start:t,end:0,easing:b.Gb}},ba:function(){d.i(v.ke,0)&&n(1),i()}}).start(),c=p.K.jc(y).fa({duration:e/.03,P:{le:{start:a,end:0,easing:b.Gb}},ba:function(){r(0,y.le)&&n(1),o()}}).start())})),this.Wh=function(){l&&0===d.u()&&l.stop(),c&&0===d.H()&&c.stop()},this.rc=function(e,t){d.rc(e,t)},this.Fb=function(e){return d.Fb(e)},this.pc=function(e){return d.pc(e)},this.zd=function(){return d.zd()},this.absolute=function(e,t){return d.absolute(e,t)},this.Uc=function(e,t){return d.Uc(e,t)},this.scale=function(){return d.scale()},this.i=function(e){return d.T(e)},this.content=function(e,t,n,r){d.content(e,t,n,r)}}function ne(t,i,o){function a(e){var t=[];return C.L(m,(function(n){e(n)&&t.push(n.group)})),{groups:t}}function u(e,t){var n=S.options,r=n.Mi,i=n.Li;n=n.Od;var o=0<r+i?n:0,a=[];return k.u(e,k.i(e,S.options.Qd),(function(e,n,u){n="groups"===S.options.Pd?u:n,e.m&&(e=M.K.A(e).wait(o*(i+r*n)).call(t).done(),a.push(e))})),M.K.A({}).Qa(a).Ta()}function s(e){ce||(ce=!0,z.once((function(){ce=!1,S.j.D("repaint:before"),I.Nd(this.og)}),{og:e}))}function c(e){function t(e,i){var o=e.W;if(e.W=i<=n,e.Fc=i<=r,e.W!==o&&C.me(e,(function(e){e.Vd=!0})),e.open||e.Va||i++,e=e.m)for(o=0;o<e.length;o++)t(e[o],i)}var n=S.options.We,r=Math.min(S.options.We,S.options.Ph);if(e)for(var i=0;i<e.length;i++){var o=e[i];t(o,v(o))}else t(m,0)}function d(e,t){var n=[];for((e=g(e,t)).Th&&S.j.D("model:childrenAttached",C.uc(m)),e.Gi&&Z.complete((function(e){le.eb(e),n.push(e)})),t=e=0;t<n.length;t++){var r=n[t];r.m&&(e+=r.m.length),r.xa=!0,V.i(r)}return e}function g(e,t){function n(e,t){var n=!e.attribution&&t-(e.Va?1:0)<o;u=u||n,e.Ia=e.Ia||n,e.open||e.Va||t++;var i=e.m;if(!i&&n&&(a=q.T(e)||a,i=e.m,l&&(e.Ma=!0)),i)for(e=0;e<i.length;e++)r.push(i[e],t)}var r,o=t||S.options.Qh,a=!1,u=!1,l="flattened"===i.mb;for(r=e?e.reduce((function(e,t){return e.push(t,1),e}),[]):[m,1];0<r.length;)n(r.shift(),r.shift());return{Th:a,Gi:u}}function v(e){for(var t=0;e.parent;)e.open||e.Va||t++,e=e.parent;return t}var m,_=this,S={j:new x,options:i,Cd:o},z=new r,M=new w(z),P=n.create(),D=new l(S),L=new te(S),F=new A(S),q=new G(S.options),Z=new N(S),I=new X(S,z),R=new O(S);new ee(S);var W=new j(S),V=new B(S),Y=new H(S),U=new E(S);S.j.subscribe("stage:initialized",(function(e,t,n,r){ie.Le(n,r)})),S.j.subscribe("stage:resized",(function(e,t,n,r){ie.Ki(e,t,n,r)})),S.j.subscribe("foamtree:attachChildren",d),S.j.subscribe("openclose:changing",c),S.j.subscribe("interaction:reset",(function(){se(!0)})),S.j.subscribe("foamtree:dirty",s),this.M=function(){S.j.D("timeline:initialized",M),m=q.M(),D.M(t),F.M(),I.M(),R.M(),W.M(),V.M(),L.M(),Y.M(),U.M()},this.Za=function(){M.i(),ue.stop(),z.i(),D.Za()};var K="groupLabelFontFamily groupLabelFontStyle groupLabelFontVariant groupLabelFontWeight groupLabelLineHeight groupLabelHorizontalPadding groupLabelVerticalPadding groupLabelDottingThreshold groupLabelMaxTotalHeight groupLabelMinFontSize groupLabelMaxFontSize groupLabelDecorator".split(" "),Q="rainbowColorDistribution rainbowLightnessDistribution rainbowColorDistributionAngle rainbowLightnessDistributionAngle rainbowColorModelStartPoint rainbowLightnessCorrection rainbowSaturationCorrection rainbowStartColor rainbowEndColor rainbowHueShift rainbowHueShiftCenter rainbowSaturationShift rainbowSaturationShiftCenter rainbowLightnessShift rainbowLightnessShiftCenter attributionTheme".split(" "),J=!1,$=["groupBorderRadius","groupBorderRadiusCorrection","groupBorderWidth","groupInsetWidth","groupBorderWidthScaling"],ne=["maxGroupLevelsDrawn","maxGroupLabelLevelsDrawn"];this.hg=function(e){S.j.D("options:changed",e),y.bb(e,K)&&C.L(m,(function(e){e.Ma=!0})),y.bb(e,Q)&&(m.Fa=!0),y.bb(e,$)&&(J=!0),y.bb(e,ne)&&(c(),d())},this.reload=function(){oe.reload()},this.ig=function(e,t){y.defer((function(){if(J)ie.Nh(e),J=!1;else{if(t)for(var n=q.u(t),r=n.length-1;0<=r;r--)n[r].N=!0;else m.N=!0;s(e)}}))},this.ga=function(){D.u()},this.update=function(e){var t=(e=e?q.u(e):[m]).reduce((function(e,t){return e[t.id]=t,e}),{});e=e.filter((function(e){for(e=e.parent;e;){if(y.has(t,e.id))return!1;e=e.parent}return!0})),q.update(e),ie.dj(e)},this.reset=function(){return se(!1)},this.T=I.i,this.Ja=function(){var e={};return function(t,n){return(t=q.i(t))?F.Wc(e,t,n):null}}(),this.wa=function(){var e={x:0,y:0},t={x:0,y:0};return function(n,r){return(n=q.i(n))?(e.x=r.x,e.y=r.y,n.transformPoint(e,e),L.Uc(e,e),t.x=e.x,t.y=e.y,t):null}}(),this.sa=function(){var e={};return function(t){return(t=q.i(t))?F.Yc(e,t):null}}(),this.gg=function(){var e={};return function(t){return(t=q.i(t))?F.Xc(e,t):null}}(),this.ta=function(){var e={};return function(){return L.i(e)}}(),this.kg=function(){this.H({groups:a((function(e){return e.group.selected})),newState:!0,keepPrevious:!1}),this.u({groups:a((function(e){return e.group.open})),newState:!0,keepPrevious:!1}),this.i({groups:a((function(e){return e.group.exposed})),newState:!0,keepPrevious:!1})},this.Ka=function(){return a((function(e){return e.U}))},this.i=function(e){return oe.submit((function(){return W.Vb(q.H(e,"exposed",!1),!1,!0,!1)}))},this.pb=function(){return a((function(e){return e.open}))},this.u=function(e){return oe.submit((function(){return Y.Bb(q.H(e,"open",!0),!1,!1)}))},this.Lb=function(){return a((function(e){return e.selected}))},this.H=function(e){return oe.submit((function(){return U.select(q.H(e,"selected",!0),!1),(new f).resolve().promise()}))},this.mg=function(e){return(e=q.i(e))?e===m?L.reset(i.ob,b.ia(i.Kb)):L.bg(e,i.Yb,i.ob,b.ia(i.Kb)):(new f).resolve().promise()},this.ua=function(e,t){return(e=q.u(e))?(t=d(e,t),c(e),t):0},this.Vc=function(e){return R.Lb[e]},this.lg=function(){var t=e;return{frames:t.frames,totalTime:t.totalTime,lastFrameTime:t.rd,lastInterFrameTime:t.sd,fps:t.ue}};var re,ie=function(){function e(e,o){var a=e||n,u=o||r;n=a,r=u,(e=i.Rb&&i.Rb.boundary)&&2<e.length?m.C=e.map((function(e){return{x:a*e.x,y:u*e.y}})):m.C=[{x:0,y:0},{x:a,y:0},{x:a,y:u},{x:0,y:u}],t()}function t(){m.Z=!0,m.G=m.C,m.F=T.F(m.C,m.F),m.O=m,T.Ja(m.C,m.O)}var n,r;return{Le:e,Ki:function(t,n,r,i){le.stop();var o=r/t,a=i/n;C.ne(m,(function(e){e.x=e.x*o+(Math.random()-.5)*r/1e3,e.y=e.y*a+(Math.random()-.5)*i/1e3})),e(r,i),m.Ea=!0,Z.step(le.eb,!0,!1,(function(e){var t=e.m;if(t){Z.Eb(e);for(var n=t.length-1;0<=n;n--){var r=t[n];r.w=r.hc}e.Ea=!0}}))?s(!1):(Z.fc(m),S.options.Md?(s(!1),ue.Jf(),ue.Oc()):(Z.complete(le.eb),m.Fa=!0,s(!1)))},Nh:function(e){var n=!1;return m.empty()||(t(),ue.xb()||(n=Z.step(le.eb,!1,!1),s(e))),n},dj:function(e){e.forEach((function(e){C.za(e,(function(e){e.empty()||Z.Eb(e)})),Z.fc(e),S.options.Md?(ue.Jf(),C.za(e,(function(e){e.empty()||le.grow(e)}))):(C.za(e,(function(e){e.empty()||le.eb(e)})),Z.complete(le.eb),e.Fa=!0,s(!1))}))}}}(),oe=function(){function e(){if(0===i.Gd&&L.reset(0),S.options.zf(i.Rb),ie.Le(),q.load(i.Rb),g(),c(),S.j.D("model:loaded",m,C.uc(m)),!m.empty()){if(m.open=!0,m.Ia=!0,i.Md)var e=ue.Oc();else ue.Yh(),e=function(){C.za(m,(function(e){e.xa=!1}));var e=new f,t=new p(e.resolve);return t.i(),m.xa=!0,V.i(m).then(t.u),u(m,(function e(){this.R&&this.C&&(this.Z=this.xa=!0,t.i(),V.i(this).then(t.u),t.i(),u(this,e).then(t.u))})),e.promise()}();!function(){var e=i.Oa,t=i.Kc;i.Oa=0,i.Kc=0,_.kg(),i.Oa=e,i.Kc=t}(),0<i.Od?(I.clear(),D.i(1)):e=h([e,t(1)])}S.options.yf(i.Rb),e&&(S.options.Cf(),e.then((function(){I.u((function(){z.once(S.options.Bf)}))})))}function t(e,t){return 0===i.qe||t?(D.i(e),(new f).resolve().promise()):M.K.A({opacity:D.i()}).Xd(2).fa({duration:i.qe,P:{opacity:{end:e,easing:b.ia(i.Cg)}},ba:function(){D.i(this.opacity)}}).Ta()}function n(){for(var e=0;e<o.length;e++){var t=o[e],n=t.action();y.has(n,"then")?n.then(t.ge.resolve):t.ge.resolve()}o=[]}var r=!1,o=[];return{reload:function(){r||(m.empty()?e():(le.stop(),M.i(),ue.stop(),r=!0,h(0<i.Gd?[V.u(),se(!1)]:[t(0)]).then((function(){t(0,!0),r=!1,e(),y.defer(n)}))))},submit:function(e){if(r){var t=new f;return o.push({action:e,ge:t}),t.promise()}return e()}}}(),ae=new p((function(){re.resolve()})),ue=function(){function e(){return o||(ae.initial()&&(re=new f),ae.i(),t(),o=!0,z.repeat(n)),re.promise()}function t(){r=P.now()}function n(){var t=P.now()-r>i.Ji;return t=Z.step((function(t){t.xa=!0,le.grow(t),ae.i(),V.i(t).then(ae.u),ae.i(),u(t,(function(){this.Ia=!0,e()})).then(ae.u)}),!0,t)||t,s(!0),t&&(o=!1,ae.u()),t}var r,o=!1;return{Yh:function(){Z.complete(le.eb)},Oc:e,Jf:t,xb:function(){return!ae.initial()},stop:function(){z.cancel(n),o=!1,ae.clear()}}}(),le=function(){function e(e){var t=!e.empty();if(e.xa=!0,t){for(var n=e.m,r=n.length-1;0<=r;r--){var i=n[r];i.w=i.hc}e.Ea=!0}return t}var t=[];return{grow:function(n){var r=S.options,i=r.Wg;0<i?k.u(n,k.i(n,S.options.Qd),(function(e,n,o){n="groups"===S.options.Pd?o:n,ae.i(),t.push(M.K.A(e).wait(n*r.Vg*i).fa({duration:i,P:{w:{start:e.Vf,end:e.hc,easing:b.ia(r.Xg)}},ba:function(){this.w=Math.max(0,this.w),this.parent.Ea=!0,ue.Oc()}}).Xa(ae.u).start())})):e(n)&&ue.Oc()},eb:e,stop:function(){for(var e=t.length-1;0<=e;e--)t[e].stop();t=[]}}}(),se=function(){var e=!1;return function(t){if(e)return(new f).resolve().promise();e=!0;var n=[];n.push(L.reset(i.ob,b.ia(i.Kb)));var r=new f;return W.Vb({m:[],Ca:!1,Ba:!1},t,!1,!0).then((function(){Y.Bb({m:[],Ca:!1,Ba:!1},t,!1).then(r.resolve)})),n.push(r.promise()),h(n).then((function(){e=!1,t&&i.Df()}))}}(),ce=!1}function re(){return{version:"3.5.0",build:"bugfix/3.5.x/e3b91c8e",brandingAllowed:!1}}U.i={width:445.2,height:533.5},t.md((function(){window.CarrotSearchFoamTree=function(e){function t(e,t){if(!u||u.exists(e))switch(e){case"selection":return f.Lb();case"open":return f.pb();case"exposure":return f.Ka();case"state":return f.sa.apply(this,t);case"geometry":return f.Ja.apply(this,t);case"hierarchy":return f.gg.apply(this,t);case"containerCoordinates":return f.wa.apply(this,t);case"imageData":return f.T.apply(this,t);case"viewport":return f.ta();case"times":return f.lg();case"onModelChanged":case"onRedraw":case"onRolloutStart":case"onRolloutComplete":case"onRelaxationStep":case"onGroupHover":case"onGroupOpenOrCloseChanging":case"onGroupExposureChanging":case"onGroupSelectionChanging":case"onGroupSelectionChanged":case"onGroupClick":case"onGroupDoubleClick":case"onGroupHold":return e=l[e],Array.isArray(e)?e:[e];default:return l[e]}}function n(e){function t(e,t){return y.has(n,e)?(t(n[e]),delete n[e],1):0}if(0===arguments.length)return 0;if(1===arguments.length)var n=y.extend({},arguments[0]);else 2===arguments.length&&((n={})[arguments[0]]=arguments[1]);u&&u.validate(n,s.Oh);var r=0;f&&(r+=t("selection",f.H),r+=t("open",f.u),r+=t("exposure",f.i));var o={};return y.Aa(n,(function(e,t){(l[t]!==e||y.wb(e))&&(o[t]=e,r++),l[t]=e})),0<r&&i(o),r}function r(e,t){e="on"+e.charAt(0).toUpperCase()+e.slice(1);var n=l[e];l[e]=t(Array.isArray(n)?n:[n]),(t={})[e]=l[e],i(t)}function i(e){!function(){function t(t,n){return y.has(e,t)||void 0===n?m(l[t],a):n}s.Oh=l.logging,s.Rb=l.dataObject,s.B=l.pixelRatio,s.nb=l.wireframePixelRatio,s.mb=l.stacking,s.zg=l.descriptionGroup,s.Tb=l.descriptionGroupType,s.qc=l.descriptionGroupPosition,s.Ag=l.descriptionGroupDistanceFromCenter,s.Sb=l.descriptionGroupSize,s.ie=l.descriptionGroupMinHeight,s.he=l.descriptionGroupMaxHeight,s.je=l.descriptionGroupPolygonDrawn,s.Dc=l.layout,s.ac=l.layoutByWeightOrder,s.Wi=l.showZeroWeightGroups,s.Be=l.groupMinDiameter,s.Ld=l.rectangleAspectRatioPreference,s.Ii=l.initializer||l.relaxationInitializer,s.Ji=l.relaxationMaxDuration,s.Md=l.relaxationVisible,s.Hf=l.relaxationQualityThreshold,s.oh=l.groupResizingBudget,s.Wg=l.groupGrowingDuration,s.Vg=l.groupGrowingDrag,s.Xg=l.groupGrowingEasing,s.Gg=l.groupBorderRadius,s.$a=l.groupBorderWidth,s.La=l.groupBorderWidthScaling,s.jd=l.groupInsetWidth,s.Hg=l.groupBorderRadiusCorrection,s.ab=l.groupStrokeWidth,s.yc=l.groupSelectionOutlineWidth,s.sh=l.groupSelectionOutlineColor,s.kd=l.groupSelectionOutlineShadowSize,s.Ce=l.groupSelectionOutlineShadowColor,s.ph=l.groupSelectionFillHueShift,s.rh=l.groupSelectionFillSaturationShift,s.qh=l.groupSelectionFillLightnessShift,s.Ee=l.groupSelectionStrokeHueShift,s.Ge=l.groupSelectionStrokeSaturationShift,s.Fe=l.groupSelectionStrokeLightnessShift,s.Ug=l.groupFillType,s.Qg=l.groupFillGradientRadius,s.Ng=l.groupFillGradientCenterHueShift,s.Pg=l.groupFillGradientCenterSaturationShift,s.Og=l.groupFillGradientCenterLightnessShift,s.Rg=l.groupFillGradientRimHueShift,s.Tg=l.groupFillGradientRimSaturationShift,s.Sg=l.groupFillGradientRimLightnessShift,s.ld=l.groupStrokeType,s.ab=l.groupStrokeWidth,s.He=l.groupStrokePlainHueShift,s.Je=l.groupStrokePlainSaturationShift,s.Ie=l.groupStrokePlainLightnessShift,s.xh=l.groupStrokeGradientRadius,s.th=l.groupStrokeGradientAngle,s.yh=l.groupStrokeGradientUpperHueShift,s.Ah=l.groupStrokeGradientUpperSaturationShift,s.zh=l.groupStrokeGradientUpperLightnessShift,s.uh=l.groupStrokeGradientLowerHueShift,s.wh=l.groupStrokeGradientLowerSaturationShift,s.vh=l.groupStrokeGradientLowerLightnessShift,s.Yg=l.groupHoverFillHueShift,s.$g=l.groupHoverFillSaturationShift,s.Zg=l.groupHoverFillLightnessShift,s.ye=l.groupHoverStrokeHueShift,s.Ae=l.groupHoverStrokeSaturationShift,s.ze=l.groupHoverStrokeLightnessShift,s.Pa=l.groupExposureScale,s.Mg=l.groupExposureShadowColor,s.xe=l.groupExposureShadowSize,s.Yb=l.groupExposureZoomMargin,s.Ch=l.groupUnexposureLightnessShift,s.Dh=l.groupUnexposureSaturationShift,s.Bh=l.groupUnexposureLabelColorThreshold,s.Oa=l.exposeDuration,s.Wb=l.exposeEasing,s.Kc=l.openCloseDuration,s.Ig=m(l.groupColorDecorator,a),s.Jg=l.groupColorDecorator!==y.qa,s.dh=m(l.groupLabelDecorator,a),s.eh=l.groupLabelDecorator!==y.qa,s.jh=m(l.groupLabelLayoutDecorator,a),s.kh=l.groupLabelLayoutDecorator!==y.qa,s.Kg=m(l.groupContentDecorator,a),s.xc=l.groupContentDecorator!==y.qa,s.Lg=l.groupContentDecoratorTriggering,s.Ei=l.rainbowStartColor,s.xi=l.rainbowEndColor,s.vi=l.rainbowColorDistribution,s.wi=l.rainbowColorDistributionAngle,s.Ai=l.rainbowLightnessDistributionAngle,s.Bi=l.rainbowLightnessShift,s.Ci=l.rainbowLightnessShiftCenter,s.Di=l.rainbowSaturationCorrection,s.zi=l.rainbowLightnessCorrection,s.Ef=l.parentFillOpacity,s.Xh=l.parentStrokeOpacity,s.Ff=l.parentLabelOpacity,s.Gf=l.parentOpacityBalancing,s.nh=l.groupLabelUpdateThreshold,s.fh=l.groupLabelFontFamily,s.gh=l.groupLabelFontStyle,s.hh=l.groupLabelFontVariant,s.ih=l.groupLabelFontWeight,s.mh=l.groupLabelMinFontSize,s.sj=l.groupLabelMaxFontSize,s.rj=l.groupLabelLineHeight,s.qj=l.groupLabelHorizontalPadding,s.uj=l.groupLabelVerticalPadding,s.tj=l.groupLabelMaxTotalHeight,s.bh=l.groupLabelDarkColor,s.lh=l.groupLabelLightColor,s.ah=l.groupLabelColorThreshold,s.fj=l.wireframeDrawMaxDuration,s.gj=l.wireframeLabelDrawing,s.ej=l.wireframeContentDecorationDrawing,s.dg=l.wireframeToFinalFadeDuration,s.hj=l.wireframeToFinalFadeDelay,s.Dg=l.finalCompleteDrawMaxDuration,s.Eg=l.finalIncrementalDrawMaxDuration,s.se=l.finalToWireframeFadeDuration,s.Zc=l.androidStockBrowserWorkaround,s.Ke=l.incrementalDraw,s.Rh=l.maxGroups,s.Qh=l.maxGroupLevelsAttached,s.We=l.maxGroupLevelsDrawn,s.Ph=l.maxGroupLabelLevelsDrawn,s.Qd=l.rolloutStartPoint,s.Pd=l.rolloutMethod,s.Ni=l.rolloutEasing,s.Od=l.rolloutDuration,s.Lf=l.rolloutScalingStrength,s.Nf=l.rolloutTranslationXStrength,s.Of=l.rolloutTranslationYStrength,s.Kf=l.rolloutRotationStrength,s.Mf=l.rolloutTransformationCenter,s.Ri=l.rolloutPolygonDrag,s.Si=l.rolloutPolygonDuration,s.Oi=l.rolloutLabelDelay,s.Pi=l.rolloutLabelDrag,s.Qi=l.rolloutLabelDuration,s.Mi=l.rolloutChildGroupsDrag,s.Li=l.rolloutChildGroupsDelay,s.ni=l.pullbackStartPoint,s.hi=l.pullbackMethod,s.di=l.pullbackEasing,s.yj=l.pullbackType,s.Gd=l.pullbackDuration,s.mi=l.pullbackScalingStrength,s.pi=l.pullbackTranslationXStrength,s.ri=l.pullbackTranslationYStrength,s.li=l.pullbackRotationStrength,s.oi=l.pullbackTransformationCenter,s.ii=l.pullbackPolygonDelay,s.ji=l.pullbackPolygonDrag,s.ki=l.pullbackPolygonDuration,s.ei=l.pullbackLabelDelay,s.fi=l.pullbackLabelDrag,s.gi=l.pullbackLabelDuration,s.ai=l.pullbackChildGroupsDelay,s.bi=l.pullbackChildGroupsDrag,s.ci=l.pullbackChildGroupsDuration,s.qe=l.fadeDuration,s.Cg=l.fadeEasing,s.ij=l.zoomMouseWheelFactor,s.ob=l.zoomMouseWheelDuration,s.Kb=l.zoomMouseWheelEasing,s.Sh=l.maxLabelSizeForTitleBar,s.Zi=l.titleBarFontFamily,s.Yf=l.titleBarBackgroundColor,s.Zf=l.titleBarTextColor,s.$i=l.titleBarMinFontSize,s.Wd=l.titleBarMaxFontSize,s.aj=l.titleBarTextPaddingLeftRight,s.bj=l.titleBarTextPaddingTopBottom,s.Yi=l.titleBarDecorator,s.mj=l.attributionText,s.jj=l.attributionLogo,s.lj=l.attributionLogoScale,s.nj=l.attributionUrl,s.$d=l.attributionPosition,s.rg=l.attributionDistanceFromCenter,s.sg=l.attributionWeight,s.ae=l.attributionTheme,s.Me=l.interactionHandler,s.zf=t("onModelChanging",s.zf),s.yf=t("onModelChanged",s.yf),s.Af=t("onRedraw",s.Af),s.Cf=t("onRolloutStart",s.Cf),s.Bf=t("onRolloutComplete",s.Bf),s.Ad=t("onRelaxationStep",s.Ad),s.Df=t("onViewReset",s.Df),s.rf=t("onGroupOpenOrCloseChanging",s.rf),s.qf=t("onGroupOpenOrCloseChanged",s.qf),s.hf=t("onGroupExposureChanging",s.hf),s.gf=t("onGroupExposureChanged",s.gf),s.tf=t("onGroupSelectionChanging",s.tf),s.sf=t("onGroupSelectionChanged",s.sf),s.kf=t("onGroupHover",s.kf),s.mf=t("onGroupMouseMove",s.mf),s.bf=t("onGroupClick",s.bf),s.cf=t("onGroupDoubleClick",s.cf),s.jf=t("onGroupHold",s.jf),s.pf=t("onGroupMouseWheel",s.pf),s.nf=t("onGroupMouseUp",s.nf),s.lf=t("onGroupMouseDown",s.lf),s.ff=t("onGroupDragStart",s.ff),s.df=t("onGroupDrag",s.df),s.ef=t("onGroupDragEnd",s.ef),s.wf=t("onGroupTransformStart",s.wf),s.uf=t("onGroupTransform",s.uf),s.vf=t("onGroupTransformEnd",s.vf),s.xf=t("onKeyUp",s.xf)}(),s.Fi=c.u(s.Ei),s.yi=c.u(s.xi),s.De=c.u(s.Ce),s.kj=null,f&&(f.hg(e),y.has(e,"dataObject")&&f.reload())}function o(e){return function(){return e.apply(this,arguments).Fg(a)}}var a=this,u=window.CarrotSearchFoamTree.asserts,l=y.extend({},window.CarrotSearchFoamTree.defaults),s={};n(e),(e=l.element||document.getElementById(l.id))||L.i("Element to embed FoamTree in not found."),l.element=e;var f=new ne(e,s,l);f.M();var h={get:function(e){return 0===arguments.length?y.extend({},l):t(arguments[0],Array.prototype.slice.call(arguments,1))},set:n,on:function(e,t){r(e,(function(e){return e.push(t),e}))},off:function(e,t){r(e,(function(e){return e.filter((function(e){return e!==t}))}))},resize:f.ga,redraw:f.ig,update:f.update,attach:f.ua,select:o(f.H),expose:o(f.i),open:o(f.u),reset:o(f.reset),zoom:o(f.mg),trigger:function(e,t){(e=f.Vc(e))&&e(t)},dispose:function(){function e(){throw"FoamTree instance disposed"}f.Za(),y.Aa(h,(function(t,n){"dispose"!==n&&(a[n]=e)}))}};y.Aa(h,(function(e,t){a[t]=e})),f.reload()},window["CarrotSearchFoamTree.asserts"]&&(window.CarrotSearchFoamTree.asserts=window["CarrotSearchFoamTree.asserts"],delete window["CarrotSearchFoamTree.asserts"]),window.CarrotSearchFoamTree.supported=!0,window.CarrotSearchFoamTree.version=re,window.CarrotSearchFoamTree.defaults=Object.freeze({id:void 0,element:void 0,logging:!1,dataObject:void 0,pixelRatio:1,wireframePixelRatio:1,layout:"relaxed",layoutByWeightOrder:!0,showZeroWeightGroups:!0,groupMinDiameter:10,rectangleAspectRatioPreference:-1,relaxationInitializer:"fisheye",relaxationMaxDuration:3e3,relaxationVisible:!1,relaxationQualityThreshold:1,stacking:"hierarchical",descriptionGroup:"auto",descriptionGroupType:"stab",descriptionGroupPosition:225,descriptionGroupDistanceFromCenter:1,descriptionGroupSize:.125,descriptionGroupMinHeight:35,descriptionGroupMaxHeight:.5,descriptionGroupPolygonDrawn:!1,maxGroups:5e4,maxGroupLevelsAttached:4,maxGroupLevelsDrawn:4,maxGroupLabelLevelsDrawn:3,groupGrowingDuration:0,groupGrowingEasing:"bounce",groupGrowingDrag:0,groupResizingBudget:2,groupBorderRadius:.15,groupBorderWidth:4,groupBorderWidthScaling:.6,groupInsetWidth:6,groupBorderRadiusCorrection:1,groupSelectionOutlineWidth:5,groupSelectionOutlineColor:"#222",groupSelectionOutlineShadowSize:0,groupSelectionOutlineShadowColor:"#fff",groupSelectionFillHueShift:0,groupSelectionFillSaturationShift:0,groupSelectionFillLightnessShift:0,groupSelectionStrokeHueShift:0,groupSelectionStrokeSaturationShift:0,groupSelectionStrokeLightnessShift:-10,groupFillType:"gradient",groupFillGradientRadius:1,groupFillGradientCenterHueShift:0,groupFillGradientCenterSaturationShift:0,groupFillGradientCenterLightnessShift:20,groupFillGradientRimHueShift:0,groupFillGradientRimSaturationShift:0,groupFillGradientRimLightnessShift:-5,groupStrokeType:"plain",groupStrokeWidth:1.5,groupStrokePlainHueShift:0,groupStrokePlainSaturationShift:0,groupStrokePlainLightnessShift:-10,groupStrokeGradientRadius:1,groupStrokeGradientAngle:45,groupStrokeGradientUpperHueShift:0,groupStrokeGradientUpperSaturationShift:0,groupStrokeGradientUpperLightnessShift:20,groupStrokeGradientLowerHueShift:0,groupStrokeGradientLowerSaturationShift:0,groupStrokeGradientLowerLightnessShift:-20,groupHoverFillHueShift:0,groupHoverFillSaturationShift:0,groupHoverFillLightnessShift:20,groupHoverStrokeHueShift:0,groupHoverStrokeSaturationShift:0,groupHoverStrokeLightnessShift:-10,groupExposureScale:1.15,groupExposureShadowColor:"rgba(0, 0, 0, 0.5)",groupExposureShadowSize:50,groupExposureZoomMargin:.1,groupUnexposureLightnessShift:65,groupUnexposureSaturationShift:-65,groupUnexposureLabelColorThreshold:.35,exposeDuration:700,exposeEasing:"squareInOut",groupColorDecorator:y.qa,groupLabelDecorator:y.qa,groupLabelLayoutDecorator:y.qa,groupContentDecorator:y.qa,groupContentDecoratorTriggering:"onLayoutDirty",openCloseDuration:500,rainbowColorDistribution:"radial",rainbowColorDistributionAngle:-45,rainbowLightnessDistributionAngle:45,rainbowSaturationCorrection:.1,rainbowLightnessCorrection:.4,rainbowStartColor:"hsla(0, 100%, 55%, 1)",rainbowEndColor:"hsla(359, 100%, 55%, 1)",rainbowLightnessShift:30,rainbowLightnessShiftCenter:.4,parentFillOpacity:.7,parentStrokeOpacity:1,parentLabelOpacity:1,parentOpacityBalancing:!0,wireframeDrawMaxDuration:15,wireframeLabelDrawing:"auto",wireframeContentDecorationDrawing:"auto",wireframeToFinalFadeDuration:500,wireframeToFinalFadeDelay:300,finalCompleteDrawMaxDuration:80,finalIncrementalDrawMaxDuration:100,finalToWireframeFadeDuration:200,androidStockBrowserWorkaround:!1,incrementalDraw:"fast",groupLabelFontFamily:"sans-serif",groupLabelFontStyle:"normal",groupLabelFontWeight:"normal",groupLabelFontVariant:"normal",groupLabelLineHeight:1.05,groupLabelHorizontalPadding:1,groupLabelVerticalPadding:1,groupLabelMinFontSize:6,groupLabelMaxFontSize:160,groupLabelMaxTotalHeight:.9,groupLabelUpdateThreshold:.05,groupLabelDarkColor:"#000",groupLabelLightColor:"#fff",groupLabelColorThreshold:.35,rolloutStartPoint:"center",rolloutEasing:"squareOut",rolloutMethod:"groups",rolloutDuration:2e3,rolloutScalingStrength:-.7,rolloutTranslationXStrength:0,rolloutTranslationYStrength:0,rolloutRotationStrength:-.7,rolloutTransformationCenter:.7,rolloutPolygonDrag:.1,rolloutPolygonDuration:.5,rolloutLabelDelay:.8,rolloutLabelDrag:.1,rolloutLabelDuration:.5,rolloutChildGroupsDrag:.1,rolloutChildGroupsDelay:.2,pullbackStartPoint:"center",pullbackEasing:"squareIn",pullbackMethod:"groups",pullbackDuration:1500,pullbackScalingStrength:-.7,pullbackTranslationXStrength:0,pullbackTranslationYStrength:0,pullbackRotationStrength:-.7,pullbackTransformationCenter:.7,pullbackPolygonDelay:.3,pullbackPolygonDrag:.1,pullbackPolygonDuration:.8,pullbackLabelDelay:0,pullbackLabelDrag:.1,pullbackLabelDuration:.3,pullbackChildGroupsDelay:.1,pullbackChildGroupsDrag:.1,pullbackChildGroupsDuration:.3,fadeDuration:700,fadeEasing:"cubicInOut",zoomMouseWheelFactor:1.5,zoomMouseWheelDuration:500,zoomMouseWheelEasing:"squareOut",maxLabelSizeForTitleBar:8,titleBarFontFamily:null,titleBarFontStyle:"normal",titleBarFontWeight:"normal",titleBarFontVariant:"normal",titleBarBackgroundColor:"rgba(0, 0, 0, 0.5)",titleBarTextColor:"rgba(255, 255, 255, 1)",titleBarMinFontSize:10,titleBarMaxFontSize:40,titleBarTextPaddingLeftRight:20,titleBarTextPaddingTopBottom:15,titleBarDecorator:y.qa,attributionText:null,attributionLogo:null,attributionLogoScale:.5,attributionUrl:"http://carrotsearch.com/foamtree",attributionPosition:"bottomright",attributionDistanceFromCenter:1,attributionWeight:.025,attributionTheme:"light",interactionHandler:t.Gh()?"hammerjs":"builtin",onModelChanging:[],onModelChanged:[],onRedraw:[],onRolloutStart:[],onRolloutComplete:[],onRelaxationStep:[],onViewReset:[],onGroupOpenOrCloseChanging:[],onGroupOpenOrCloseChanged:[],onGroupExposureChanging:[],onGroupExposureChanged:[],onGroupSelectionChanging:[],onGroupSelectionChanged:[],onGroupHover:[],onGroupMouseMove:[],onGroupClick:[],onGroupDoubleClick:[],onGroupHold:[],onGroupMouseWheel:[],onGroupMouseUp:[],onGroupMouseDown:[],onGroupDragStart:[],onGroupDrag:[],onGroupDragEnd:[],onGroupTransformStart:[],onGroupTransform:[],onGroupTransformEnd:[],onKeyUp:[],selection:null,open:null,exposure:null,imageData:null,hierarchy:null,geometry:null,containerCoordinates:null,state:null,viewport:null,times:null}),window.CarrotSearchFoamTree.geometry=Object.freeze({rectangleInPolygon:function(e,t,n,r,i,o,a){return i=y.I(i,1),o=y.I(o,.5),a=y.I(a,.5),{x:t-(e=T.Ka(e,{x:t,y:n},r,o,a)*i)*r*o,y:n-e*a,w:e*r,h:e}},circleInPolygon:function(e,t,n){return T.pb(e,{x:t,y:n})},stabPolygon:function(e,t,n,r){return T.ua(e,{x:t,y:n},r)},polygonCentroid:function(e){return{x:(e=T.u(e,{})).x,y:e.y,area:e.ha}},boundingBox:function(e){for(var t=e[0].x,n=e[0].y,r=e[0].x,i=e[0].y,o=1;o<e.length;o++){var a=e[o];a.x<t&&(t=a.x),a.y<n&&(n=a.y),a.x>r&&(r=a.x),a.y>i&&(i=a.y)}return{x:t,y:n,w:r-t,h:i-n}}})}),(function(){window.CarrotSearchFoamTree=function(){window.console.error("FoamTree is not supported on this browser.")},window.CarrotSearchFoamTree.supported=!1}))}();const Je=window.CarrotSearchFoamTree,$e=({className:e,data:t,groupColorDecorator:n,onGroupDoubleClick:r,onGroupClick:i,onGroupHover:a,onGroupLeave:u,treemapRef:l})=>{const s=m(null),c=m(!1);return y((()=>{const e=()=>{var e;return null===(e=l.current)||void 0===e?void 0:e.resize()};return window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)}),[l]),y((()=>{if(s.current){const o=(e={element:s.current,dataObject:t,groupColorDecorator:n,onGroupDoubleClick:e=>{var t;e.preventDefault(),(null===(t=e.group)||void 0===t?void 0:t.label)&&(null==r||r(e))},onGroupClick(e){var t;e.preventDefault(),(null===(t=e.group)||void 0===t?void 0:t.label)&&(null==i||i(e))},onGroupHover(e){e.preventDefault(),e.group.label?null==a||a(e):null==u||u(e)},onGroupMouseWheel(e){const{scale:t}=o.get("viewport");e.delta<0?c.current?e.preventDefault():t<1&&(c.current=!0,e.preventDefault()):c.current=!1}},new Je({fadeDuration:0,groupExposureZoomMargin:.2,groupFillGradientCenterLightnessShift:0,groupFillGradientRimLightnessShift:0,groupLabelVerticalPadding:.2,groupMinDiameter:0,groupSelectionOutlineWidth:3,groupStrokeWidth:0,layout:"squarified",maxGroupLabelLevelsDrawn:1/0,maxGroupLevelsAttached:1/0,maxGroupLevelsDrawn:1/0,maxGroups:3e3,openCloseDuration:200,pixelRatio:window.devicePixelRatio||1,pullbackDuration:0,rolloutDuration:0,stacking:"flattened",titleBarDecorator(e,t,n){n.titleBarShown=!1},wireframeLabelDrawing:"always",zoomMouseWheelDuration:300,...e}));return l.current=o,()=>{o.dispose(),l.current=void 0}}var e}),[t,n,i,r,a,u,l]),(0,o.tZ)("div",{className:e,ref:s})};function et(e,t){switch(t.type){case"BackAction":{const t=e.data.past.pop();return t?{...e,activeGroup:1===t.groups.length?t.groups[0]:void 0,data:{...e.data,current:t}}:e}case"SetActiveGroupAction":return{...e,activeGroup:t.payload};case"SetDataAction":return{...e,data:{past:[...e.data.past,e.data.current].slice(-10),current:t.payload}};case"SetOverflewGroupAction":return{...e,overflewGroup:t.payload};case"SetSearchQueryAction":return{...e,searchQuery:t.payload};case"SetSelectedPageGroupsAction":return{...e,selectedPageGroups:t.payload};case"SetSidebarPinnedAction":return{...e,sidebarPinned:t.payload};default:return e}}function tt(e){return e.filter((e=>e.label.startsWith("/")))}function nt(e){try{return new RegExp(e.trim(),"iu")}catch{return}}function rt(e,t){if(!t||t.length<ke.u)return[];const n=nt(t);return n?it(e).map((({chunkGroup:e,parentGroups:t})=>{let r=[];return e.groups&&ot(e.groups,(e=>{let t=0;n.test(e.label)?t+=3:e.path&&n.test(e.path)&&t++,t&&(e.groups||(t+=1),r[t-1]=r[t-1]||[],r[t-1].push(e))})),r=r.filter(Boolean).reverse(),r.forEach((e=>e.sort(((e,t)=>t[ke.q]-e[ke.q])))),{chunkGroup:e,moduleGroups:r.flat(),parentGroups:t}})).filter((e=>e.moduleGroups.length>0)).sort(((e,t)=>e.moduleGroups.length-t.moduleGroups.length)):[]}function it(e=[],t=[]){return e.map((e=>e.isAsset?{chunkGroup:e,parentGroups:t}:it(e.groups,[...t,e]))).filter(Boolean).flat()}function ot(e,t){for(const n of e)t(n),n.groups&&ot(n.groups,t)}function at(e){return{activeGroup:void 0,data:{past:[],current:e},hasFoundModules:!1,isSearching:!1,overflewGroup:void 0,searchQuery:"",selectedPageGroups:tt(e.groups),sidebarPinned:!1}}var ut=n(65),lt={};let st;function ct(e,t){e.forEach((e=>{e.sharedByPages=t.sharedByPages,void 0!==e.groups&&ct(e.groups,t)}))}function ft(e,t,n){const r={label:"shared",groups:[{groups:e.filter((({label:e})=>t.some((t=>t.chunk===e&&"all"===t.sharedByPages)))),label:"by all pages",gzipSize:0,parsedSize:0,statSize:0},{groups:e.map((e=>({chunk:e,commonChunk:t.find((t=>t.chunk===e.label&&Array.isArray(t.sharedByPages)))}))).filter((({commonChunk:e})=>!!e&&e.sharedByPages.includes(n))).map((({chunk:e,commonChunk:t})=>(ct([e],t),e))),label:"by multiple pages",gzipSize:0,parsedSize:0,statSize:0}].filter((e=>e.groups&&e.groups.length>0)),gzipSize:0,parsedSize:0,statSize:0};return r.groups.forEach((e=>{e.groups.forEach((t=>{r.gzipSize+=t.gzipSize,r.parsedSize+=t.parsedSize,r.statSize+=t.statSize,e.gzipSize+=t.gzipSize,e.parsedSize+=t.parsedSize,e.statSize+=t.statSize}))})),r}function ht(e){return e.map((e=>(st+=1,{...e,groups:e.groups?ht(e.groups):void 0,id:st.toString(),weight:e[ke.q]})))}lt.styleTagTransform=le(),lt.setAttributes=ie(),lt.insert=ne().bind(null,"head"),lt.domAPI=ee(),lt.insertStyleElement=ae(),J()(ut.Z,lt),ut.Z&&ut.Z.locals&&ut.Z.locals;const pt=function(e){const{chunks:t,commonChunks:n,pages:r}=e;if(!n||!r)return{groups:ht(t)};const i=t.filter((({label:e})=>!n.some((t=>t.chunk===e))&&r.every((t=>!t.chunks.includes(e))))),o={label:"others",groups:i,gzipSize:0,parsedSize:0,statSize:0};return i.forEach((e=>{o.gzipSize+=e.gzipSize,o.parsedSize+=e.parsedSize,o.statSize+=e.statSize})),st=0,{groups:ht([...r.map((e=>{const r={label:"page",groups:t.filter((({label:t})=>e.chunks.includes(t)&&!n.some((e=>e.chunk===t)))),gzipSize:e.gzipSize,parsedSize:e.parsedSize,statSize:e.statSize};return{...e,groups:[ft(t,n,e.label),r].filter((e=>e.groups&&e.groups.length>0)),gzipSize:e.totalGzipSize,parsedSize:e.totalParsedSize,statSize:e.totalStatSize}})),o])}}(window.buildStats);(0,a.sY)((0,o.tZ)((({data:e})=>{const[t,n]=b(et,e,at),{activeGroup:r,data:i,overflewGroup:a,searchQuery:u,selectedPageGroups:l,sidebarPinned:s}=t,c=m(new Map),f=m(),h=x((()=>function(e,t){return{groups:e.groups.filter((e=>!e.label.startsWith("/")||t.includes(e)))}}(i.current,l)),[i,l]),p=x((()=>nt(u)),[u]),d=x((()=>rt(h.groups,u)),[h,u]),g=x((()=>function(e){return e.reduce(((e,t)=>[...e,...t.moduleGroups]),[])}(d)),[d]),v=x((()=>tt(e.groups)),[e.groups]),y=_(((e,{group:t},n)=>{const r=c.current,{id:i}=t;r.has(i)?n.groupColor={...r.get(i)}:r.set(i,{...n.groupColor})}),[]),w=_((e=>{n({type:"SetSearchQueryAction",payload:e})}),[]),C=_((()=>{s&&setTimeout((()=>{var e;return null===(e=f.current)||void 0===e?void 0:e.resize()}))}),[s]),T=_((e=>{n({type:"SetSidebarPinnedAction",payload:e}),setTimeout((()=>{var e;return null===(e=f.current)||void 0===e?void 0:e.resize()}))}),[]),S=_((()=>{var e;null===(e=f.current)||void 0===e||e.resize()}),[]),z=_((({group:e})=>{e!==r&&(n({type:"SetActiveGroupAction",payload:e}),n({type:"SetDataAction",payload:{groups:[e]}}))}),[r]),M=_((({group:e})=>{n({type:"SetOverflewGroupAction",payload:e})}),[]),k=_((()=>{n({type:"SetOverflewGroupAction",payload:void 0})}),[]);return(0,o.BX)("div",{className:fe.client,children:[(0,o.BX)(Qe,{className:fe.sidebar,pinned:s,onToggle:C,onPinStateChange:T,onResize:S,children:[(0,o.tZ)(We,{label:"Search modules",query:t.searchQuery,autofocus:!0,onQueryChange:w}),(0,o.tZ)(Le,{foundModules:g,searchQuery:u}),!!u&&g.length>0&&(0,o.tZ)("div",{className:fe.foundModulesContainer,children:d.map((({chunkGroup:e,moduleGroups:t,parentGroups:n})=>(0,o.BX)("div",{className:fe.foundModulesChunk,children:[(0,o.tZ)("div",{className:fe.foundModulesChunkName,onClick:()=>z({group:e}),children:[...n,e].map((({label:e})=>e)).join(" > ")}),(0,o.tZ)(Ge.I,{className:fe.foundModulesList,moduleGroups:t,highlightedText:p,onModuleClick:e=>z({group:e})})]},e.id)))}),(0,o.tZ)(Ne,{className:fe.pageFilter,pages:v,selectedPages:l,onChange:e=>n({type:"SetSelectedPageGroupsAction",payload:e})})]}),(0,o.BX)("div",{className:fe.mapContainer,children:[i.past.length>0&&(0,o.tZ)(ye,{className:fe.backButton,onClick:()=>n({type:"BackAction"}),onMouseEnter:k,children:(0,o.tZ)(he,{orientation:"left"})}),(0,o.tZ)($e,{className:fe.map,data:h,groupColorDecorator:y,onGroupClick:z,onGroupHover:M,onGroupLeave:k,treemapRef:f})]}),(0,o.tZ)(Te,{group:a})]})}),{data:pt}),document.body)})()})();</script></body></html>