vendor: 4,142 bytes, lines 1-2
1/*! For license information please see modern.app.8227e8.js.LICENSE.txt */ 2(self.webpackChunkuniprot_website=self.webpackChunkuniprot_website||[]).push([[7300],{44657(e){e.exports=function(){"use strict";var e=6e4,t=36e5,n="millisecond",r="second",i="minute",o="hour",s="day",a="week",l="month",c="quarter",u="year",h="date",f="Invalid Date",d=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,p=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,m={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(e){var t=["th","st","nd","rd"],n=e%100;return"["+e+(t[(n-20)%10]||t[n]||t[0])+"]"}},g=function(e,t,n){var r=String(e);return!r||r.length>=t?e:""+Array(t+1-r.length).join(n)+e},v={s:g,z:function(e){var t=-e.utcOffset(),n=Math.abs(t),r=Math.floor(n/60),i=n%60;return(t<=0?"+":"-")+g(r,2,"0")+":"+g(i,2,"0")},m:function e(t,n){if(t.date()<n.date())return-e(n,t);var r=12*(n.year()-t.year())+(n.month()-t.month()),i=t.clone().add(r,l),o=n-i<0,s=t.clone().add(r+(o?-1:1),l);return+(-(r+(n-i)/(o?i-s:s-i))||0)},a:function(e){return e<0?Math.ceil(e)||0:Math.floor(e)},p:function(e){return{M:l,y:u,w:a,d:s,D:h,h:o,m:i,s:r,ms:n,Q:c}[e]||String(e||"").toLowerCase().replace(/s$/,"")},u:function(e){return void 0===e}},y="en",w={};w[y]=m;var x="$isDayjsObject",b=function(e){return e instanceof k||!(!e||!e[x])},_=function e(t,n,r){var i;if(!t)return y;if("string"==typeof t){var o=t.toLowerCase();w[o]&&(i=o),n&&(w[o]=n,i=o);var s=t.split("-");if(!i&&s.length>1)return e(s[0])}else{var a=t.name;w[a]=t,i=a}return!r&&i&&(y=i),i||!r&&y},C=function(e,t){if(b(e))return e.clone();var n="object"==typeof t?t:{};return n.date=e,n.args=arguments,new k(n)},j=v;j.l=_,j.i=b,j.w=function(e,t){return C(e,{locale:t.$L,utc:t.$u,x:t.$x,$offset:t.$offset})};var k=function(){function m(e){this.$L=_(e.locale,null,!0),this.parse(e),this.$x=this.$x||e.x||{},this[x]=!0}var g=m.prototype;return g.parse=function(e){this.$d=function(e){var t=e.date,n=e.utc;if(null===t)return new Date(NaN);if(j.u(t))return new Date;if(t instanceof Date)return new Date(t);if("string"==typeof t&&!/Z$/i.test(t)){var r=t.match(d);if(r){var i=r[2]-1||0,o=(r[7]||"0").substring(0,3);return n?new Date(Date.UTC(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,o)):new Date(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,o)}}return new Date(t)}(e),this.init()},g.init=function(){var e=this.$d;this.$y=e.getFullYear(),this.$M=e.getMonth(),this.$D=e.getDate(),this.$W=e.getDay(),this.$H=e.getHours(),this.$m=e.getMinutes(),this.$s=e.getSeconds(),this.$ms=e.getMilliseconds()},g.$utils=function(){return j},g.isValid=function(){return!(this.$d.toString()===f)},g.isSame=function(e,t){var n=C(e);return this.startOf(t)<=n&&n<=this.endOf(t)},g.isAfter=function(e,t){return C(e)<this.startOf(t)},g.isBefore=function(e,t){return this.endOf(t)<C(e)},g.$g=function(e,t,n){return j.u(e)?this[t]:this.set(n,e)},g.unix=function(){return Math.floor(this.valueOf()/1e3)},g.valueOf=function(){return this.$d.getTime()},g.startOf=function(e,t){var n=this,c=!!j.u(t)||t,f=j.p(e),d=function(e,t){var r=j.w(n.$u?Date.UTC(n.$y,t,e):new Date(n.$y,t,e),n);return c?r:r.endOf(s)},p=function(e,t){return j.w(n.toDate()[e].apply(n.toDate("s"),(c?[0,0,0,0]:[23,59,59,999]).slice(t)),n)},m=this.$W,g=this.$M,v=this.$D,y="set"+(this.$u?"UTC":"");switch(f){case u:return c?d(1,0):d(31,11);case l:return c?d(1,g):d(0,g+1);case a:var w=this.$locale().weekStart||0,x=(m<w?m+7:m)-w;return d(c?v-x:v+(6-x),g);case s:case h:return p(y+"Hours",0);case o:return p(y+"Minutes",1);case i:return p(y+"Seconds",2);case r:return p(y+"Milliseconds",3);default:return this.clone()}},g.endOf=function(e){return this.startOf(e,!1)},g.$set=function(e,t){var a,c=j.p(e),f="set"+(this.$u?"UTC":""),d=(a={},a[s]=f+"Date",a[h]=f+"Date",a[l]=f+"Month",a[u]=f+"FullYear",a[o]=f+"Hours",a[i]=f+"Minutes",a[r]=f+"Seconds",a[n]=f+"Milliseconds",a)[c],p=c===s?this.$D+(t-this.$W):t;if(c===l||c===u){var m=this.clone().set(h,1);
2m.$d[d](p),m.init(),this.$d=m.set(h,Math.min(this.$D,m.daysInMonth())).$d}else d&&this.$d[d](p);return this.init(),this},g.set=function(e,t){return this.clone().$set(e,t)},g.get=function(e){return this[j.p(e)]()},g.add=function(n,c){var h,f=this;n=Number(n);var d=j.p(c),p=function(e){var t=C(f);return j.w(t.date(t.date()+Math.round(e*n)),f)};if(d===l)return this.set(l,this.$M+n);if(d===u)return this.set(u,this.$y+n);if(d===s)return p(1);if(d===a)return p(7);var m=(h={},h[i]=e,h[o]=t,h[r]=1e3,h)[d]||1,g=this.$d.getTime()+n*m;return j.w(g,this)},g.subtract=function(e,t){return this.add(-1*e,t)},g.format=function(e){var t=this,n=this.$locale();if(!this.isValid())return n.invalidDate||f;var r=e||"YYYY-MM-DDTHH:mm:ssZ",i=j.z(this),o=this.$H,s=this.$m,a=this.$M,l=n.weekdays,c=n.months,u=n.meridiem,h=function(e,n,i,o){return e&&(e[n]||e(t,r))||i[n].slice(0,o)},d=function(e){return j.s(o%12||12,e,"0")},m=u||function(e,t,n){var r=e<12?"AM":"PM";return n?r.toLowerCase():r};return r.replace(p,function(e,r){return r||function(e){switch(e){case"YY":return String(t.$y).slice(-2);case"YYYY":return j.s(t.$y,4,"0");case"M":return a+1;case"MM":return j.s(a+1,2,"0");case"MMM":return h(n.monthsShort,a,c,3);case"MMMM":return h(c,a);case"D":return t.$D;case"DD":return j.s(t.$D,2,"0");case"d":return String(t.$W);case"dd":return h(n.weekdaysMin,t.$W,l,2);case"ddd":return h(n.weekdaysShort,t.$W,l,3);case"dddd":return l[t.$W];case"H":return String(o);case"HH":return j.s(o,2,"0");case"h":return d(1);case"hh":return d(2);case"a":return m(o,s,!0);case"A":return m(o,s,!1);case"m":return String(s);case"mm":return j.s(s,2,"0");case"s":return String(t.$s);case"ss":return j.s(t.$s,2,"0");case"SSS":return j.s(t.$ms,3,"0");case"Z":return i}return null}(e)||i.replace(":","")})},g.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},g.diff=function(n,h,f){var d,p=this,m=j.p(h),g=C(n),v=(g.utcOffset()-this.utcOffset())*e,y=this-g,w=function(){return j.m(p,g)};switch(m){case u:d=w()/12;break;case l:d=w();break;case c:d=w()/3;break;case a:d=(y-v)/6048e5;break;case s:d=(y-v)/864e5;break;case o:d=y/t;break;case i:d=y/e;break;case r:d=y/1e3;break;default:d=y}return f?d:j.a(d)},g.daysInMonth=function(){return this.endOf(l).$D},g.$locale=function(){return w[this.$L]},g.locale=function(e,t){if(!e)return this.$L;var n=this.clone(),r=_(e,t,!0);return r&&(n.$L=r),n},g.clone=function(){return j.w(this.$d,this)},g.toDate=function(){return new Date(this.valueOf())},g.toJSON=function(){return this.isValid()?this.toISOString():null},g.toISOString=function(){return this.$d.toISOString()},g.toString=function(){return this.$d.toUTCString()},m}(),A=k.prototype;return C.prototype=A,[["$ms",n],["$s",r],["$m",i],["$H",o],["$W",s],["$M",l],["$y",u],["$D",h]].forEach(function(e){A[e[1]]=function(t){return this.$g(t,e[0],e[1])}}),C.extend=function(e,t){return e.$i||(e(t,k,C),e.$i=!0),C},C.locale=_,C.isDayjs=b,C.unix=function(e){return C(1e3*e)},C.en=w[y],C.Ls=w,C.p={},C}()},68816(e){e.exports=function e(t){return Object.freeze(t),Object.getOwnPropertyNames(t).forEach(function(n){!t.hasOwnProperty(n)||null===t[n]||"object"!=typeof t[n]&&"function"!=typeof t[n]||Object.isFrozen(t[n])||e(t[n])}),t}},47314(e){"use strict";var t=function(e){return function(e){return!!e&&"object"==typeof e}(e)&&!function(e){var t=Object.prototype.toString.call(e);return"[object RegExp]"===t||"[object Date]"===t||function(e){return e.$$typeof===n}(e)}(e)},n="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function r(e,t){return!1!==t.clone&&t.isMergeableObject(e)?a((n=e,Array.isArray(n)?[]:{}),e,t):e;var n}function i(e,t,n){return e.concat(t).map(function(e){return r(e,n)})}function o(e){return Object.keys(e).concat(function(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter(function(t){return Object.propertyIsEnumerable.call(e,t)}):[]}(e))}function s(e,t){try{return t in e}catch(e){return!1}}function a(e,n,l){(l=l||{}).arrayMerge=l.arrayMerge||i,l.isMergeableObject=l.isMergeableObject||t,l.cloneUnlessOtherwiseSpecified=r;var c=Array.isArray(n);return c===Array.isArray(e)?c?l.arrayMerge(e,n,l):function(e,t,n){var i={};return n.isMergeableObject(e)&&o(e).forEach(function(t){i[t]=r(e[t],n)}),o(t).forEach(function(o){(function(e,t){return s(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))})(e,o)||(s(e,o)&&n.isMergeableObject(t[o])?i[o]=function(e,t){if(!t.customMerge)return a;var n=t.customMerge(e);return"function"==typeof n?n:a}(o,n)(e[o],t[o],n):i[o]=r(t[o],n))}),i}(e,n,l):r(n,l)}a.all=function(e,t){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce(function(e,n){return a(e,n,t)},{})};var l=a;e.exports=l},43929(e){"use strict";e.exports=e=>{if("string"!=typeof e)throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}}
2,19591(e,t,n){"use strict";n.d(t,{zR:()=>_,TM:()=>S,yJ:()=>p,sC:()=>N,AO:()=>d,Fu:()=>m});var r=n(78621);function i(e){return"/"===e.charAt(0)}function o(e,t){for(var n=t,r=n+1,i=e.length;r<i;n+=1,r+=1)e[n]=e[r];e.pop()}function s(e){return e.valueOf?e.valueOf():Object.prototype.valueOf.call(e)}const a=function e(t,n){if(t===n)return!0;if(null==t||null==n)return!1;if(Array.isArray(t))return Array.isArray(n)&&t.length===n.length&&t.every(function(t,r){return e(t,n[r])});if("object"==typeof t||"object"==typeof n){var r=s(t),i=s(n);return r!==t||i!==n?e(r,i):Object.keys(Object.assign({},t,n)).every(function(r){return e(t[r],n[r])})}return!1};var l=n(25385);function c(e){return"/"===e.charAt(0)?e:"/"+e}function u(e){return"/"===e.charAt(0)?e.substr(1):e}function h(e,t){return function(e,t){return 0===e.toLowerCase().indexOf(t.toLowerCase())&&-1!=="/?#".indexOf(e.charAt(t.length))}(e,t)?e.substr(t.length):e}function f(e){return"/"===e.charAt(e.length-1)?e.slice(0,-1):e}function d(e){var t=e.pathname,n=e.search,r=e.hash,i=t||"/";return n&&"?"!==n&&(i+="?"===n.charAt(0)?n:"?"+n),r&&"#"!==r&&(i+="#"===r.charAt(0)?r:"#"+r),i}function p(e,t,n,s){var a;"string"==typeof e?(a=function(e){var t=e||"/",n="",r="",i=t.indexOf("#");-1!==i&&(r=t.substr(i),t=t.substr(0,i));var o=t.indexOf("?");return-1!==o&&(n=t.substr(o),t=t.substr(0,o)),{pathname:t,search:"?"===n?"":n,hash:"#"===r?"":r}}(e),a.state=t):(void 0===(a=(0,r.A)({},e)).pathname&&(a.pathname=""),a.search?"?"!==a.search.charAt(0)&&(a.search="?"+a.search):a.search="",a.hash?"#"!==a.hash.charAt(0)&&(a.hash="#"+a.hash):a.hash="",void 0!==t&&void 0===a.state&&(a.state=t));try{a.pathname=decodeURI(a.pathname)}catch(e){throw e instanceof URIError?new URIError('Pathname "'+a.pathname+'" could not be decoded. This is likely caused by an invalid percent-encoding.'):e}return n&&(a.key=n),s?a.pathname?"/"!==a.pathname.charAt(0)&&(a.pathname=function(e,t){void 0===t&&(t="");var n,r=e&&e.split("/")||[],s=t&&t.split("/")||[],a=e&&i(e),l=t&&i(t),c=a||l;if(e&&i(e)?s=r:r.length&&(s.pop(),s=s.concat(r)),!s.length)return"/";if(s.length){var u=s[s.length-1];n="."===u||".."===u||""===u}else n=!1;for(var h=0,f=s.length;f>=0;f--){var d=s[f];"."===d?o(s,f):".."===d?(o(s,f),h++):h&&(o(s,f),h--)}if(!c)for(;h--;h)s.unshift("..");!c||""===s[0]||s[0]&&i(s[0])||s.unshift("");var p=s.join("/");return n&&"/"!==p.substr(-1)&&(p+="/"),p}(a.pathname,s.pathname)):a.pathname=s.pathname:a.pathname||(a.pathname="/"),a}function m(e,t){return e.pathname===t.pathname&&e.search===t.search&&e.hash===t.hash&&e.key===t.key&&a(e.state,t.state)}function g(){var e=null,t=[];return{setPrompt:function(t){return e=t,function(){e===t&&(e=null)}},confirmTransitionTo:function(t,n,r,i){if(null!=e){var o="function"==typeof e?e(t,n):e;"string"==typeof o?"function"==typeof r?r(o,i):i(!0):i(!1!==o)}else i(!0)},appendListener:function(e){var n=!0;function r(){n&&e.apply(void 0,arguments)}return t.push(r),function(){n=!1,t=t.filter(function(e){return e!==r})}},notifyListeners:function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];t.forEach(function(e){return e.apply(void 0,n)})}}}var v=!("undefined"==typeof window||!window.document||!window.document.createElement);function y(e,t){t(window.confirm(e))}var w="popstate",x="hashchange";function b(){try{return window.history.state||{}}catch(e){return{}}}function _(e){void 0===e&&(e={}),v||(0,l.A)(!1);var t,n=window.history,i=(-1===(t=window.navigator.userAgent).indexOf("Android 2.")&&-1===t.indexOf("Android 4.0")||-1===t.indexOf("Mobile Safari")||-1!==t.indexOf("Chrome")||-1!==t.indexOf("Windows Phone"))&&window.history&&"pushState"in window.history,o=!(-1===window.navigator.userAgent.indexOf("Trident")),s=e,a=s.forceRefresh,u=void 0!==a&&a,m=s.getUserConfirmation,_=void 0===m?y:m,C=s.keyLength,j=void 0===C?6:C,k=e.basename?f(c(e.basename)):"";function A(e){var t=e||{},n=t.key,r=t.state,i=window.location,o=i.pathname+i.search+i.hash;return k&&(o=h(o,k)),p(o,r,n)}function M(){return Math.random().toString(36).substr(2,j)}var S=g();function O(e){(0,r.A)(B,e),B.length=n.length,S.notifyListeners(B.location,B.action)}function N(e){(function(e){return void 0===e.state&&-1===navigator.userAgent.indexOf("CriOS")})(e)||T(A(e.state))}function L(){T(A(b()))}var E=!1;function T(e){E?(E=!1,O()):S.confirmTransitionTo(e,"POP",_,function(t){t?O({action:"POP",location:e}):function(e){var t=B.location,n=P.indexOf(t.key);-1===n&&(n=0);var r=P.indexOf(e.key);-1===r&&(r=0);var i=n-r;i&&(E=!0,$(i))}(e)})}var z=A(b()),P=[z.key];function R(e){return k+d(e)}function $(e){n.go(e)}var I=0;function H(e){1===(I+=e)&&1===e?(window.addEventListener(w,N),o&&window.addEventListener(x,L)):0===I&&(window.removeEventListener(w,N),o&&window.removeEventListener(x,L))}var D=!1,B={length:n.length,action:"POP",location:z,createHref:R,push:function(e,t){var r="PUSH",o=p(e,t,M(),B.location);S.confirmTransitionTo(o,r,_,function(e){if(e){var t=R(o),s=o.key,a=o.state;if(i)if(n.pushState({key:s,state:a},null,t),u)window.location.href=t;else{var l=P.indexOf(B.location.key),c=P.slice(0,l+1);c.push(o.key),P=c,O({action:r,location:o})}else window.location.href=t}})},replace:function(e,t){var r="REPLACE",o=p(e,t,M(),B.location);S.confirmTransitionTo(o,r,_,function(e){if(e){var t=R(o),s=o.key,a=o.state;if(i)if(n.replaceState({key:s,state:a},null,t),u)window.location.replace(t);else{var l=P.indexOf(B.location.key);-1!==l&&(P[l]=o.key),O({action:r,location:o})}else window.location.replace(t)}})},go:$,goBack:function(){$(-1)},goForward:function(){$(1)},block:function(e){void 0===e&&(e=!1);var t=S.setPrompt(e);return D||(H(1),D=!0),function(){return D&&(D=!1,H(-1)),t()}},listen:function(e){var t=S.appendListener(e);return H(1),function(){H(-1),t()}}};return B}var C="hashchange",j={hashbang:{encodePath:function(e){return"!"===e.charAt(0)?e:"!/"+u(e)},decodePath:function(e){return"!"===e.charAt(0)?e.substr(1):e}},noslash:{encodePath:u,decodePath:c},slash:{encodePath:c,decodePath:c}};function k(e){var t=e.indexOf("#");return-1===t?e:e.slice(0,t)}function A(){var e=window.location.href,t=e.indexOf("#");return-1===t?"":e.substring(t+1)}function M(e){window.location.replace(k(window.location.href)+"#"+e)}function S(e){void 0===e&&(e={}),v||(0,l.A)(!1);var t=window.history,n=(window.navigator.userAgent.indexOf("Firefox"),e),i=n.getUserConfirmation,o=void 0===i?y:i,s=n.hashType,a=void 0===s?"
2slash":s,u=e.basename?f(c(e.basename)):"",m=j[a],w=m.encodePath,x=m.decodePath;function b(){var e=x(A());return u&&(e=h(e,u)),p(e)}var _=g();function S(e){(0,r.A)(D,e),D.length=t.length,_.notifyListeners(D.location,D.action)}var O=!1,N=null;function L(){var e,t,n=A(),r=w(n);if(n!==r)M(r);else{var i=b(),s=D.location;if(!O&&(t=i,(e=s).pathname===t.pathname&&e.search===t.search&&e.hash===t.hash))return;if(N===d(i))return;N=null,function(e){if(O)O=!1,S();else{_.confirmTransitionTo(e,"POP",o,function(t){t?S({action:"POP",location:e}):function(e){var t=D.location,n=P.lastIndexOf(d(t));-1===n&&(n=0);var r=P.lastIndexOf(d(e));-1===r&&(r=0);var i=n-r;i&&(O=!0,R(i))}(e)})}}(i)}}var E=A(),T=w(E);E!==T&&M(T);var z=b(),P=[d(z)];function R(e){t.go(e)}var $=0;function I(e){1===($+=e)&&1===e?window.addEventListener(C,L):0===$&&window.removeEventListener(C,L)}var H=!1,D={length:t.length,action:"POP",location:z,createHref:function(e){var t=document.querySelector("base"),n="";return t&&t.getAttribute("href")&&(n=k(window.location.href)),n+"#"+w(u+d(e))},push:function(e,t){var n="PUSH",r=p(e,void 0,void 0,D.location);_.confirmTransitionTo(r,n,o,function(e){if(e){var t=d(r),i=w(u+t);if(A()!==i){N=t,function(e){window.location.hash=e}(i);var o=P.lastIndexOf(d(D.location)),s=P.slice(0,o+1);s.push(t),P=s,S({action:n,location:r})}else S()}})},replace:function(e,t){var n="REPLACE",r=p(e,void 0,void 0,D.location);_.confirmTransitionTo(r,n,o,function(e){if(e){var t=d(r),i=w(u+t);A()!==i&&(N=t,M(i));var o=P.indexOf(d(D.location));-1!==o&&(P[o]=t),S({action:n,location:r})}})},go:R,goBack:function(){R(-1)},goForward:function(){R(1)},block:function(e){void 0===e&&(e=!1);var t=_.setPrompt(e);return H||(I(1),H=!0),function(){return H&&(H=!1,I(-1)),t()}},listen:function(e){var t=_.appendListener(e);return I(1),function(){I(-1),t()}}};return D}function O(e,t,n){return Math.min(Math.max(e,t),n)}function N(e){void 0===e&&(e={});var t=e,n=t.getUserConfirmation,i=t.initialEntries,o=void 0===i?["/"]:i,s=t.initialIndex,a=void 0===s?0:s,l=t.keyLength,c=void 0===l?6:l,u=g();function h(e){(0,r.A)(x,e),x.length=x.entries.length,u.notifyListeners(x.location,x.action)}function f(){return Math.random().toString(36).substr(2,c)}var m=O(a,0,o.length-1),v=o.map(function(e){return p(e,void 0,"string"==typeof e?f():e.key||f())}),y=d;function w(e){var t=O(x.index+e,0,x.entries.length-1),r=x.entries[t];u.confirmTransitionTo(r,"POP",n,function(e){e?h({action:"POP",location:r,index:t}):h()})}var x={length:v.length,action:"POP",location:v[m],index:m,entries:v,createHref:y,push:function(e,t){var r="PUSH",i=p(e,t,f(),x.location);u.confirmTransitionTo(i,r,n,function(e){if(e){var t=x.index+1,n=x.entries.slice(0);n.length>t?n.splice(t,n.length-t,i):n.push(i),h({action:r,location:i,index:t,entries:n})}})},replace:function(e,t){var r="REPLACE",i=p(e,t,f(),x.location);u.confirmTransitionTo(i,r,n,function(e){e&&(x.entries[x.index]=i,h({action:r,location:i}))})},go:w,goBack:function(){w(-1)},goForward:function(){w(1)},canGo:function(e){var t=x.index+e;return t>=0&&t<x.entries.length},block:function(e){return void 0===e&&(e=!1),u.setPrompt(e)},listen:function(e){return u.appendListener(e)}};return x}},31035(e,t,n){"use strict";var r=n(35959),i={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},o={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},s={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},a={};function l(e){return r.isMemo(e)?s:a[e.$$typeof]||i}a[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},a[r.Memo]=s;var c=Object.defineProperty,u=Object.getOwnPropertyNames,h=Object.getOwnPropertySymbols,f=Object.getOwnPropertyDescriptor,d=Object.getPrototypeOf,p=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(p){var i=d(n);i&&i!==p&&e(t,i,r)}var s=u(n);h&&(s=s.concat(h(n)));for(var a=l(t),m=l(n),g=0;g<s.length;++g){var v=s[g];if(!(o[v]||r&&r[v]||m&&m[v]||a&&a[v])){var y=f(n,v);try{c(t,v,y)}catch(e){}}}}return t}},29597(e){"use strict";e.exports=function(e,t,n,r,i,o,s,a){if(!e){var l;if(void 0===t)l=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[n,r,i,o,s,a],u=0;(l=new Error(t.replace(/%s/g,function(){return c[u++]}))).name="Invariant Violation"}throw l.framesToPop=1,l}}},12968(e,t){"use strict";function n(e){return"[object Object]"===Object.prototype.toString.call(e)}t.isPlainObject=function(e){var t,r;return!1!==n(e)&&(void 0===(t=e.constructor)||!1!==n(r=t.prototype)&&!1!==r.hasOwnProperty("isPrototypeOf"))}},5526(e){e.exports=Array.isArray||function(e){return"[object Array]"==Object.prototype.toString.call(e)}},87084(e,t,n){const r=n(44657);function i(e){for(e=e.replace(/[\x00-\x20]+/g,"");;){const t=e.indexOf("\x3c!--");
2if(-1===t)break;const n=e.indexOf("--\x3e",t+4);if(-1===n)break;e=e.substring(0,t)+e.substring(n+3)}return e}function o(e,t){const n=(t=t||{}).allowedSchemes||["http","https","ftp","mailto","tel","sms"],r=!1!==t.allowProtocolRelative;if("string"!=typeof e)return!1;const o=(e=i(e)).match(/^([a-zA-Z][a-zA-Z0-9.\-+]*):/);if(!o)return!!e.match(/^[/\\]{2}/)&&!r;const s=o[1].toLowerCase();return-1===n.indexOf(s)}e.exports=function(e){const t={};return t.options=e||{},t.filterTag=t.options.filterTag||function(e){return(e=e.trim()).toLowerCase()},t.string=function(e,t){return"string"!=typeof e&&("number"==typeof e||"boolean"==typeof e?e+="":e=""),e=e.trim(),void 0!==t&&""===e&&(e=t),e},t.strings=function(e){return Array.isArray(e)?e.map(function(e){return t.string(e)}):[]},t.integer=function(e,t,n,r){if(void 0===t&&(t=0),"number"==typeof e)e=Math.floor(e);else try{e=parseInt(e,10),isNaN(e)&&(e=t)}catch(n){e=t}return"number"==typeof n&&e<n&&(e=n),"number"==typeof r&&e>r&&(e=r),e},t.padInteger=function(e,t){let n=e+"";for(;n.length<t;)n="0"+n;return n},t.float=function(e,t,n,r){if(void 0===t&&(t=0),"number"!=typeof e)try{e=parseFloat(e,10),isNaN(e)&&(e=t)}catch(n){e=t}return"number"==typeof n&&e<n&&(e=n),"number"==typeof r&&e>r&&(e=r),e},t.naughtyHref=o,t.url=function(e,n,r){return(e=t.string(e,n))===n?e:o(e=i(e))||null===(e=(s=e).match(/^(((https?|ftp):\/\/)|((mailto|tel|sms):)|#|([^/.]+)?\/|[^/.]+$)/)?s:s.match(/^[^/.]+\.[^/.]+/)?(r?"https://":"http://")+s:null)?n:e;var s},t.select=function(e,n,r){if(e=t.string(e),!n||!n.length)return r;let i;return"object"==typeof n[0]?(i=n.find(function(t){return null!==t.value&&void 0!==t.value&&t.value.toString()===e}),null!=i?i.value:r):(i=n.find(function(t){return null!=t&&t.toString()===e}),void 0!==i?i:r)},t.boolean=function(e,n){return!0===e||!1!==e&&((e=t.string(e,n))===n?void 0!==e&&e:""!==(e=e.toLowerCase().charAt(0))&&"n"!==e&&"0"!==e&&"f"!==e&&("t"===e||"y"===e||"1"===e))},t.addBooleanFilterToCriteria=function(e,n,r,i){void 0===i&&(i=null);let o="object"==typeof e&&null!==e?e[n]:e;o=void 0===o?i:o,o=t.booleanOrNull(o),null===o||(r[n]=!!o||{$ne:!0})},t.booleanOrNull=function(e,n){return!0===e||!1===e||null===e?e:(e=t.string(e,n))===n?void 0===n?null:e:"null"===e?null:""!==(e=e.toLowerCase().charAt(0))&&"n"!==e&&"0"!==e&&"f"!==e&&("t"===e||"y"===e||"1"===e||("a"===e?null:n))},t.date=function(e,n,i){let o;function s(){return void 0===n&&(n=r().format("YYYY-MM-DD")),n}if("string"==typeof e){if(e.match(/\//)){if(o=e.split("/"),2===o.length)return(i||new Date).getFullYear()+"-"+t.padInteger(o[0],2)+"-"+t.padInteger(o[1],2);if(3===o.length){if(o[2]<100){const e=i||new Date,t=e.getFullYear()%100,n=e.getFullYear()-t;let r=parseInt(o[2])+n;r-e.getFullYear()>50&&(r-=100),o[2]=r}return t.padInteger(o[2],4)+"-"+t.padInteger(o[0],2)+"-"+t.padInteger(o[1],2)}return s()}if(e.match(/-/))return o=e.split("-"),2===o.length?(i||new Date).getFullYear()+"-"+t.padInteger(o[0],2)+"-"+t.padInteger(o[1],2):3===o.length?t.padInteger(o[0],4)+"-"+t.padInteger(o[1],2)+"-"+t.padInteger(o[2],2):s()}try{return null===e?s():(e=i||new Date(e),isNaN(e.getTime())?s():e.getFullYear()+"-"+t.padInteger(e.getMonth()+1,2)+"-"+t.padInteger(e.getDate(),2))}catch(e){return s()}},t.formatDate=function(e){return r(e).format("YYYY-MM-DD")},t.time=function(e,n){const i=(e=(e=t.string(e).toLowerCase()).trim()).match(/^(\d+)([:|.](\d+))?([:|.](\d+))?\s*(am|pm|AM|PM|a|p|A|M)?$/);if(i){let e=parseInt(i[1],10);const n=void 0!==i[3]?parseInt(i[3],10):0,r=void 0!==i[5]?parseInt(i[5],10):0;let o=i[6]?i[6].toLowerCase():i[6];return o=o&&o.charAt(0),12===e&&"a"===o?e-=12:12===e&&"p"===o||"p"===o&&(e+=12),24!==e&&"24"!==e||(e=0),t.padInteger(e,2)+":"+t.padInteger(n,2)+":"+t.padInteger(r,2)}return void 0!==n?n:r().format("HH:mm")},t.formatTime=function(e){return r(e).format("HH:mm:ss")},t.tags=function(e,n){return"string"==typeof e&&(e=e.split(/,\s*/)),Array.isArray(e)?e.map(e=>t.string(e)).map(n||t.filterTag).filter(e=>e.length>0):[]},t.idRegExp=t.options.idRegExp||/^[A-Za-z0-9_]+$/,t.id=function(e,n){const r=t.string(e,n);return r===n||r.match(t.idRegExp)?r:n},t.ids=function(e){return Array.isArray(e)?e.filter(function(e){return void 0!==t.id(e)}):[]},t}
2,e.exports.naughtyHref=o},33005(){},317(e,t){var n,r;void 0===(r="function"==typeof(n=function(){return function(e){function t(e){return" "===e||"\t"===e||"\n"===e||"\f"===e||"\r"===e}function n(t){var n,r=t.exec(e.substring(m));if(r)return n=r[0],m+=n.length,n}for(var r,i,o,s,a,l=e.length,c=/^[ \t\n\r\u000c]+/,u=/^[, \t\n\r\u000c]+/,h=/^[^ \t\n\r\u000c]+/,f=/[,]+$/,d=/^\d+$/,p=/^-?(?:[0-9]+|[0-9]*\.[0-9]+)(?:[eE][+-]?[0-9]+)?$/,m=0,g=[];;){if(n(u),m>=l)return g;r=n(h),i=[],","===r.slice(-1)?(r=r.replace(f,""),y()):v()}function v(){for(n(c),o="",s="in descriptor";;){if(a=e.charAt(m),"in descriptor"===s)if(t(a))o&&(i.push(o),o="",s="after descriptor");else{if(","===a)return m+=1,o&&i.push(o),void y();if("("===a)o+=a,s="in parens";else{if(""===a)return o&&i.push(o),void y();o+=a}}else if("in parens"===s)if(")"===a)o+=a,s="in descriptor";else{if(""===a)return i.push(o),void y();o+=a}else if("after descriptor"===s)if(t(a));else{if(""===a)return void y();s="in descriptor",m-=1}m+=1}}function y(){var t,n,o,s,a,l,c,u,h,f=!1,m={};for(s=0;s<i.length;s++)l=(a=i[s])[a.length-1],c=a.substring(0,a.length-1),u=parseInt(c,10),h=parseFloat(c),d.test(c)&&"w"===l?((t||n)&&(f=!0),0===u?f=!0:t=u):p.test(c)&&"x"===l?((t||n||o)&&(f=!0),h<0?f=!0:n=h):d.test(c)&&"h"===l?((o||n)&&(f=!0),0===u?f=!0:o=u):f=!0;f?console&&console.log&&console.log("Invalid srcset descriptor found in '"+e+"' at '"+a+"'."):(m.url=r,t&&(m.w=t),n&&(m.d=n),o&&(m.h=o),g.push(m))}}})?n.apply(t,[]):n)||(e.exports=r)},54785(e,t,n){var r=n(5526);e.exports=function e(t,n,i){return r(n)||(i=n||i,n=[]),i=i||{},t instanceof RegExp?function(e,t){var n=e.source.match(/\((?!\?)/g);if(n)for(var r=0;r<n.length;r++)t.push({name:r,prefix:null,delimiter:null,optional:!1,repeat:!1,partial:!1,asterisk:!1,pattern:null});return f(e,t)}(t,n):r(t)?function(t,n,r){for(var i=[],o=0;o<t.length;o++)i.push(e(t[o],n,r).source);return f(new RegExp("(?:"+i.join("|")+")",d(r)),n)}(t,n,i):function(e,t,n){return p(o(e,n),t,n)}(t,n,i)},e.exports.parse=o,e.exports.compile=function(e,t){return c(o(e,t),t)},e.exports.tokensToFunction=c,e.exports.tokensToRegExp=p;var i=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");function o(e,t){for(var n,r=[],o=0,a=0,l="",c=t&&t.delimiter||"/";null!=(n=i.exec(e));){var u=n[0],f=n[1],d=n.index;if(l+=e.slice(a,d),a=d+u.length,f)l+=f[1];else{var p=e[a],m=n[2],g=n[3],v=n[4],y=n[5],w=n[6],x=n[7];l&&(r.push(l),l="");var b=null!=m&&null!=p&&p!==m,_="+"===w||"*"===w,C="?"===w||"*"===w,j=m||c,k=v||y,A=m||("string"==typeof r[r.length-1]?r[r.length-1]:"");r.push({name:g||o++,prefix:m||"",delimiter:j,optional:C,repeat:_,partial:b,asterisk:!!x,pattern:k?h(k):x?".*":s(j,A)})}}return a<e.length&&(l+=e.substr(a)),l&&r.push(l),r}function s(e,t){return!t||t.indexOf(e)>-1?"[^"+u(e)+"]+?":u(t)+"|(?:(?!"+u(t)+")[^"+u(e)+"])+?"}function a(e){return encodeURI(e).replace(/[\/?#]/g,function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()})}function l(e){return encodeURI(e).replace(/[?#]/g,function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()})}function c(e,t){for(var n=new Array(e.length),i=0;i<e.length;i++)"object"==typeof e[i]&&(n[i]=new RegExp("^(?:"+e[i].pattern+")$",d(t)));return function(t,i){for(var o="",s=t||{},c=(i||{}).pretty?a:encodeURIComponent,u=0;u<e.length;u++){var h=e[u];if("string"!=typeof h){var f,d=s[h.name];if(null==d){if(h.optional){h.partial&&(o+=h.prefix);continue}throw new TypeError('Expected "'+h.name+'" to be defined')}if(r(d)){if(!h.repeat)throw new TypeError('Expected "'+h.name+'" to not repeat, but received `'+JSON.stringify(d)+"`");if(0===d.length){if(h.optional)continue;throw new TypeError('Expected "'+h.name+'" to not be empty')}for(var p=0;p<d.length;p++){if(f=c(d[p]),!n[u].test(f))throw new TypeError('Expected all "'+h.name+'" to match "'+h.pattern+'", but received `'+JSON.stringify(f)+"`");o+=(0===p?h.prefix:h.delimiter)+f}}else{if(f=h.asterisk?l(d):c(d),!n[u].test(f))throw new TypeError('Expected "'+h.name+'" to match "'+h.pattern+'", but received "'+f+'"');o+=h.prefix+f}}else o+=h}return o}}function u(e){return e.replace(/([.+*?=^!:${}()[\]|\/\\])/g,"\\$1")}function h(e){return e.replace(/([=!:$\/()])/g,"\\$1")}function f(e,t){return e.keys=t,e}function d(e){return e&&e.sensitive?"":"i"}function p(e,t,n){r(t)||(n=t||n,t=[]);for(var i=(n=n||{}).strict,o=!1!==n.end,s="",a=0;a<e.length;a++){var l=e[a];if("string"==typeof l)s+=u(l);else{var c=u(l.prefix),h="(?:"+l.pattern+")";t.push(l),l.repeat&&(h+="(?:"+c+h+")*"),s+=h=l.optional?l.partial?c+"("+h+")?":"(?:"+c+"("+h+"))?":c+"("+h+")"}}var p=u(n.delimiter||"/"),m=s.slice(-p.length)===p;
2return i||(s=(m?s.slice(0,-p.length):s)+"(?:"+p+"(?=$))?"),s+=o?"$":i&&m?"":"(?="+p+"|$)",f(new RegExp("^"+s,d(n)),t)}},13359(e){var t=String,n=function(){return{isColorSupported:!1,reset:t,bold:t,dim:t,italic:t,underline:t,inverse:t,hidden:t,strikethrough:t,black:t,red:t,green:t,yellow:t,blue:t,magenta:t,cyan:t,white:t,gray:t,bgBlack:t,bgRed:t,bgGreen:t,bgYellow:t,bgBlue:t,bgMagenta:t,bgCyan:t,bgWhite:t,blackBright:t,redBright:t,greenBright:t,yellowBright:t,blueBright:t,magentaBright:t,cyanBright:t,whiteBright:t,bgBlackBright:t,bgRedBright:t,bgGreenBright:t,bgYellowBright:t,bgBlueBright:t,bgMagentaBright:t,bgCyanBright:t,bgWhiteBright:t}};e.exports=n(),e.exports.createColors=n},45938(e,t,n){"use strict";let r=n(44159);class i extends r{constructor(e){super(e),this.type="atrule"}append(...e){return this.proxyOf.nodes||(this.nodes=[]),super.append(...e)}prepend(...e){return this.proxyOf.nodes||(this.nodes=[]),super.prepend(...e)}}e.exports=i,i.default=i,r.registerAtRule(i)},36697(e,t,n){"use strict";let r=n(24038);class i extends r{constructor(e){super(e),this.type="comment"}}e.exports=i,i.default=i},44159(e,t,n){"use strict";let r,i,o,s,a=n(36697),l=n(1720),c=n(24038),{isClean:u,my:h}=n(53481);class f extends c{get first(){if(this.proxyOf.nodes)return this.proxyOf.nodes[0]}get last(){if(this.proxyOf.nodes)return this.proxyOf.nodes[this.proxyOf.nodes.length-1]}append(...e){for(let t of e){let e=this.normalize(t,this.last);for(let t of e)this.proxyOf.nodes.push(t)}return this.markDirty(),this}cleanRaws(e){let t=[this];for(;t.length>0;){let n=t.pop();if(n===this||n.cleanRaws===f.prototype.cleanRaws){if(c.prototype.cleanRaws.call(n,e),n.nodes)for(let e of n.nodes)t.push(e)}else n.cleanRaws(e)}}each(e){if(!this.proxyOf.nodes)return;let t,n,r=this.getIterator();for(;this.indexes[r]<this.proxyOf.nodes.length&&(t=this.indexes[r],n=e(this.proxyOf.nodes[t],t),!1!==n);)this.indexes[r]+=1;return delete this.indexes[r],n}every(e){return this.nodes.every(e)}getIterator(){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach+=1;let e=this.lastEach;return this.indexes[e]=0,e}getProxyProcessor(){return{get:(e,t)=>"proxyOf"===t?e:e[t]?"each"===t||"string"==typeof t&&t.startsWith("walk")?(...n)=>e[t](...n.map(e=>"function"==typeof e?(t,n)=>e(t.toProxy(),n):e)):"every"===t||"some"===t?n=>e[t]((e,...t)=>n(e.toProxy(),...t)):"root"===t?()=>e.root().toProxy():"nodes"===t?e.nodes.map(e=>e.toProxy()):"first"===t||"last"===t?e[t].toProxy():e[t]:e[t],set:(e,t,n)=>(e[t]===n||(e[t]=n,"name"!==t&&"params"!==t&&"selector"!==t||e.markDirty()),!0)}}index(e){return"number"==typeof e?e:(e.proxyOf&&(e=e.proxyOf),this.proxyOf.nodes.indexOf(e))}insertAfter(e,t){let n,r=this.index(e),i=this.normalize(t,this.proxyOf.nodes[r]).reverse();r=this.index(e);for(let e of i)this.proxyOf.nodes.splice(r+1,0,e);for(let e in this.indexes)n=this.indexes[e],r<n&&(this.indexes[e]=n+i.length);return this.markDirty(),this}insertBefore(e,t){let n,r=this.index(e),i=0===r&&"prepend",o=this.normalize(t,this.proxyOf.nodes[r],i).reverse();r=this.index(e);for(let e of o)this.proxyOf.nodes.splice(r,0,e);for(let e in this.indexes)n=this.indexes[e],r<=n&&(this.indexes[e]=n+o.length);return this.markDirty(),this}normalize(e,t){if("string"==typeof e)e=function(e){let t=e.slice();for(;t.length>0;){let e=t.pop();if(delete e.source,e.nodes){e.nodes=e.nodes.slice();for(let n of e.nodes)t.push(n)}}return e.slice()}(i(e).nodes);else if(void 0===e)e=[];else if(Array.isArray(e)){e=e.slice(0);for(let t of e)t.parent&&t.parent.removeChild(t,"ignore")}else if("root"===e.type&&"document"!==this.type){e=e.nodes.slice(0);for(let t of e)t.parent&&t.parent.removeChild(t,"ignore")}else if(e.type)e=[e];else if(e.prop){if(void 0===e.value)throw new Error("Value field is missed in node creation");"string"!=typeof e.value&&(e.value=String(e.value)),e=[new l(e)]}else if(e.selector||e.selectors)e=[new s(e)];else if(e.name)e=[new r(e)];else{if(!e.text)throw new Error("Unknown node type in node creation");e=[new a(e)]}return e.map(e=>(e[h]||f.rebuild(e),(e=e.proxyOf).parent&&e.parent.removeChild(e),e[u]&&function(e){let t=[e];for(;t.length>0;){let e=t.pop();if(e[u]=!1,e.proxyOf.nodes)for(let n of e.proxyOf.nodes)t.push(n)}}(e),e.raws||(e.raws={}),void 0===e.raws.before&&t&&void 0!==t.raws.before&&(e.raws.before=t.raws.before.replace(/\S/g,"")),e.parent=this.proxyOf,e))}prepend(...e){e=e.reverse();
2for(let t of e){let e=this.normalize(t,this.first,"prepend").reverse();for(let t of e)this.proxyOf.nodes.unshift(t);for(let t in this.indexes)this.indexes[t]=this.indexes[t]+e.length}return this.markDirty(),this}push(e){return e.parent=this,this.proxyOf.nodes.push(e),this}removeAll(){for(let e of this.proxyOf.nodes)e.parent=void 0;return this.proxyOf.nodes=[],this.markDirty(),this}removeChild(e){let t;e=this.index(e),this.proxyOf.nodes[e].parent=void 0,this.proxyOf.nodes.splice(e,1);for(let n in this.indexes)t=this.indexes[n],t>=e&&(this.indexes[n]=t-1);return this.markDirty(),this}replaceValues(e,t,n){return n||(n=t,t={}),this.walkDecls(r=>{t.props&&!t.props.includes(r.prop)||t.fast&&!r.value.includes(t.fast)||(r.value=r.value.replace(e,n))}),this.markDirty(),this}some(e){return this.nodes.some(e)}walk(e){if(!this.proxyOf.nodes)return;let t=[{iterator:this.getIterator(),node:this.proxyOf}];for(;t.length>0;){let{iterator:n,node:r}=t[t.length-1],i=r.indexes[n];if(i>=r.proxyOf.nodes.length){delete r.indexes[n],t.pop();let e=t[t.length-1];e&&(e.node.indexes[e.iterator]+=1);continue}let o,s=r.proxyOf.nodes[i];try{o=e(s,i)}catch(e){throw s.addToError(e)}if(!1===o){for(let e of t)delete e.node.indexes[e.iterator];return!1}s.walk&&s.proxyOf.nodes?t.push({iterator:s.getIterator(),node:s}):r.indexes[n]+=1}}walkAtRules(e,t){return t?e instanceof RegExp?this.walk((n,r)=>{if("atrule"===n.type&&e.test(n.name))return t(n,r)}):this.walk((n,r)=>{if("atrule"===n.type&&n.name===e)return t(n,r)}):(t=e,this.walk((e,n)=>{if("atrule"===e.type)return t(e,n)}))}walkComments(e){return this.walk((t,n)=>{if("comment"===t.type)return e(t,n)})}walkDecls(e,t){return t?e instanceof RegExp?this.walk((n,r)=>{if("decl"===n.type&&e.test(n.prop))return t(n,r)}):this.walk((n,r)=>{if("decl"===n.type&&n.prop===e)return t(n,r)}):(t=e,this.walk((e,n)=>{if("decl"===e.type)return t(e,n)}))}walkRules(e,t){return t?e instanceof RegExp?this.walk((n,r)=>{if("rule"===n.type&&e.test(n.selector))return t(n,r)}):this.walk((n,r)=>{if("rule"===n.type&&n.selector===e)return t(n,r)}):(t=e,this.walk((e,n)=>{if("rule"===e.type)return t(e,n)}))}}f.registerParse=e=>{i=e},f.registerRule=e=>{s=e},f.registerAtRule=e=>{r=e},f.registerRoot=e=>{o=e},e.exports=f,f.default=f,f.rebuild=e=>{let t=[e];for(;t.length>0;){let e=t.pop();if("atrule"===e.type?Object.setPrototypeOf(e,r.prototype):"rule"===e.type?Object.setPrototypeOf(e,s.prototype):"decl"===e.type?Object.setPrototypeOf(e,l.prototype):"comment"===e.type?Object.setPrototypeOf(e,a.prototype):"root"===e.type&&Object.setPrototypeOf(e,o.prototype),e[h]=!0,e.nodes)for(let n of e.nodes)t.push(n)}}},24392(e,t,n){"use strict";let r=n(13359),i=n(62832);class o extends Error{constructor(e,t,n,r,i,s){super(e),this.name="CssSyntaxError",this.reason=e,i&&(this.file=i),r&&(this.source=r),s&&(this.plugin=s),void 0!==t&&void 0!==n&&("number"==typeof t?(this.line=t,this.column=n):(this.line=t.line,this.column=t.column,this.endLine=n.line,this.endColumn=n.column)),this.setMessage(),Error.captureStackTrace&&Error.captureStackTrace(this,o)}setMessage(){this.message=this.plugin?this.plugin+": ":"",this.message+=this.file?this.file:"<css input>",void 0!==this.line&&(this.message+=":"+this.line+":"+this.column),this.message+=": "+this.reason}showSourceCode(e){if(!this.source)return"";let t=this.source;null==e&&(e=r.isColorSupported);let n=e=>e,o=e=>e,s=e=>e;if(e){let{bold:e,gray:t,red:a}=r.createColors(!0);o=t=>e(a(t)),n=e=>t(e),i&&(s=e=>i(e))}let a=t.split(/\r?\n/),l=Math.max(this.line-3,0),c=Math.min(this.line+2,a.length),u=String(c).length;return a.slice(l,c).map((e,t)=>{let r=l+1+t,i=" "+(" "+r).slice(-u)+" | ";if(r===this.line){if(e.length>160){let t=20,r=Math.max(0,this.column-t),a=Math.max(this.column+t,this.endColumn+t),l=e.slice(r,a),c=n(i.replace(/\d/g," "))+e.slice(0,Math.min(this.column-1,t-1)).replace(/[^\t]/g," ");return o(">")+n(i)+s(l)+"\n "+c+o("^")}let t=n(i.replace(/\d/g," "))+e.slice(0,this.column-1).replace(/[^\t]/g," ");return o(">")+n(i)+s(e)+"\n "+t+o("^")}return" "+n(i)+s(e)}).join("\n")}toString(){let e=this.showSourceCode();return e&&(e="\n\n"+e+"\n"),this.name+": "+this.message+e}}e.exports=o,o.default=o},1720(e,t,n){"use strict";let r=n(24038);class i extends r{get variable(){return this.prop.startsWith("--")||"$"===this.prop[0]}constructor(e){e&&void 0!==e.value&&"string"!=typeof e.value&&(e={...e,value:String(e.value)}),super(e),this.type="decl"}}e.exports=i,i.default=i},56667(e,t,n){"use strict";let r,i,o=n(44159);class s extends o{constructor(e){super({type:"document",...e}),this.nodes||(this.nodes=[])}toResult(e={}){return new r(new i,this,e).stringify()}}s.registerLazyResult=e=>{r=e},s.registerProcessor=e=>{i=e},e.exports=s,s.default=s},23160(e,t,n){"use strict";let r=n(45938),i=n(36697),o=n(1720),s=n(97736),a=n(60596),l=n(86630),c=n(60136);function u(e,t){return e.inputs?e.inputs.map(e=>{let t={...e,__proto__:s.prototype};return t.map&&(t.map={...t.map,__proto__:a.prototype}),t}):t}function h(e,t,n){let s,a={...e};if(delete a.inputs,delete a.nodes,a.source){let{inputId:e,...n}=a.source;a.source=n,null!=e&&(a.source.input=t[e])}if("root"===a.type)s=new l(a);else if("decl"===a.type)s=new o(a);else if("rule"===a.type)s=new c(a);else if("comment"===a.type)s=new i(a);else{if("atrule"!==a.type)throw new Error("Unknown node type: "+e.type);s=new r(a)}if(n){s.nodes=n;for(let e of n)e.parent=s}return s}function f(e,t){if(Array.isArray(e))return e.map(e=>f(e));let n,r=[{childIndex:0,children:[],inputs:u(e,t),json:e}];for(;r.length>0;){let e=r[r.length-1],t=e.json.nodes;if(t&&e.childIndex<t.length){let n=t[e.childIndex];e.childIndex+=1,r.push({childIndex:0,children:[],inputs:u(n,e.inputs),json:n});continue}r.pop();let i=h(e.json,e.inputs,t?e.children:void 0);r.length>0?r[r.length-1].children.push(i):n=i}return n}
2e.exports=f,f.default=f},97736(e,t,n){"use strict";let{nanoid:r}=n(89946),{isAbsolute:i,resolve:o}=n(40315),{SourceMapConsumer:s,SourceMapGenerator:a}=n(64540),{fileURLToPath:l,pathToFileURL:c}=n(54665),u=n(24392),h=n(60596),f=n(62832),d=Symbol("lineToIndexCache"),p=Boolean(s&&a),m=Boolean(o&&i);function g(e){if(e[d])return e[d];let t=e.css.split("\n"),n=new Array(t.length),r=0;for(let e=0,i=t.length;e<i;e++)n[e]=r,r+=t[e].length+1;return e[d]=n,n}class v{get from(){return this.file||this.id}constructor(e,t={}){if(null==e||"object"==typeof e&&!e.toString)throw new Error(`PostCSS received ${e} instead of CSS string`);if(this.css=e.toString(),"\ufeff"===this.css[0]||"￾"===this.css[0]?(this.hasBOM=!0,this.css=this.css.slice(1)):this.hasBOM=!1,this.document=this.css,t.document&&(this.document=t.document.toString()),t.from&&(!m||/^\w+:\/\//.test(t.from)||i(t.from)?this.file=t.from:this.file=o(t.from)),m&&p){let e=new h(this.css,t);if(e.text){this.map=e;let t=e.consumer().file;!this.file&&t&&(this.file=this.mapResolve(t))}}this.file||(this.id="<input css "+r(6)+">"),this.map&&(this.map.file=this.from)}error(e,t,n,r={}){let i,o,s,a,l;if(t&&"object"==typeof t){let e=t,r=n;if("number"==typeof e.offset){a=e.offset;let r=this.fromOffset(a);t=r.line,n=r.col}else t=e.line,n=e.column,a=this.fromLineAndColumn(t,n);if("number"==typeof r.offset){s=r.offset;let e=this.fromOffset(s);o=e.line,i=e.col}else o=r.line,i=r.column,s=this.fromLineAndColumn(r.line,r.column)}else if(n)a=this.fromLineAndColumn(t,n);else{a=t;let e=this.fromOffset(a);t=e.line,n=e.col}let h=this.origin(t,n,o,i);return l=h?new u(e,void 0===h.endLine?h.line:{column:h.column,line:h.line},void 0===h.endLine?h.column:{column:h.endColumn,line:h.endLine},h.source,h.file,r.plugin):new u(e,void 0===o?t:{column:n,line:t},void 0===o?n:{column:i,line:o},this.css,this.file,r.plugin),l.input={column:n,endColumn:i,endLine:o,endOffset:s,line:t,offset:a,source:this.css},this.file&&(c&&(l.input.url=c(this.file).toString()),l.input.file=this.file),l}fromLineAndColumn(e,t){return g(this)[e-1]+t-1}fromOffset(e){let t=g(this),n=0;if(e>=t[t.length-1])n=t.length-1;else{let r,i=t.length-2;for(;n<i;)if(r=n+(i-n>>1),e<t[r])i=r-1;else{if(!(e>=t[r+1])){n=r;break}n=r+1}}return{col:e-t[n]+1,line:n+1}}mapResolve(e){return/^\w+:\/\//.test(e)?e:o(this.map.consumer().sourceRoot||this.map.root||".",e)}origin(e,t,n,r){if(!this.map)return!1;let o,s,a=this.map.consumer(),u=a.originalPositionFor({column:t-1,line:e});if(!u.source)return!1;if("number"==typeof n){let e=a.originalPositionFor({column:r-1,line:n});e.source&&(o=e)}s=i(u.source)?c(u.source):new URL(u.source,this.map.consumer().sourceRoot||c(this.map.mapFile));let h={column:u.column+1,endColumn:o&&o.column+1,endLine:o&&o.line,line:u.line,url:s.toString()};if("file:"===s.protocol){if(!l)throw new Error("file: protocol is not available in this PostCSS build");h.file=l(s)}let f=a.sourceContentFor(u.source);return f&&(h.source=f),h}toJSON(){let e={};for(let t of["hasBOM","css","file","id"])null!=this[t]&&(e[t]=this[t]);return this.map&&(e.map={...this.map},e.map.consumerCache&&(e.map.consumerCache=void 0)),e}}e.exports=v,v.default=v,f&&f.registerInput&&f.registerInput(v)},33068(e,t,n){"use strict";let r=n(44159),i=n(56667),o=n(39618),s=n(40811),a=n(43059),l=n(86630),c=n(66901),{isClean:u,my:h}=n(53481);n(38638);const f={atrule:"AtRule",comment:"Comment",decl:"Declaration",document:"Document",root:"Root",rule:"Rule"},d={AtRule:!0,AtRuleExit:!0,Comment:!0,CommentExit:!0,Declaration:!0,DeclarationExit:!0,Document:!0,DocumentExit:!0,Once:!0,OnceExit:!0,postcssPlugin:!0,prepare:!0,Root:!0,RootExit:!0,Rule:!0,RuleExit:!0},p={Once:!0,postcssPlugin:!0,prepare:!0};function m(e){return"object"==typeof e&&"function"==typeof e.then}function g(e){let t=!1,n=f[e.type];return"decl"===e.type?t=e.prop.toLowerCase():"atrule"===e.type&&(t=e.name.toLowerCase()),t&&e.append?[n,n+"-"+t,0,n+"Exit",n+"Exit-"+t]:t?[n,n+"-"+t,n+"Exit",n+"Exit-"+t]:e.append?[n,0,n+"Exit"]:[n,n+"Exit"]}function v(e){let t;return t="document"===e.type?["Document",0,"DocumentExit"]:"root"===e.type?["Root",0,"RootExit"]:g(e),{eventIndex:0,events:t,iterator:0,node:e,visitorIndex:0,visitors:[]}}function y(e){let t=[e];for(;t.length>0;){let e=t.pop();if(e[u]=!1,e.nodes)for(let n of e.nodes)t.push(n)}return e}let w={};class x{get content(){return this.stringify().content}
2get css(){return this.stringify().css}get map(){return this.stringify().map}get messages(){return this.sync().messages}get opts(){return this.result.opts}get processor(){return this.result.processor}get root(){return this.sync().root}get[Symbol.toStringTag](){return"LazyResult"}constructor(e,t,n){let i;if(this.stringified=!1,this.processed=!1,"object"!=typeof t||null===t||"root"!==t.type&&"document"!==t.type)if(t instanceof x||t instanceof a)i=y(t.root),t.map&&(void 0===n.map&&(n.map={}),n.map.inline||(n.map.inline=!1),n.map.prev=t.map);else{let e=s;n.syntax&&(e=n.syntax.parse),n.parser&&(e=n.parser),e.parse&&(e=e.parse);try{i=e(t,n)}catch(e){this.processed=!0,this.error=e}i&&!i[h]&&r.rebuild(i)}else i=y(t);this.result=new a(e,i,n),this.helpers={...w,postcss:w,result:this.result},this.plugins=this.processor.plugins.map(e=>"object"==typeof e&&e.prepare?{...e,...e.prepare(this.result)}:e)}async(){return this.error?Promise.reject(this.error):this.processed?Promise.resolve(this.result):(this.processing||(this.processing=this.runAsync()),this.processing)}catch(e){return this.async().catch(e)}finally(e){return this.async().then(e,e)}getAsyncError(){throw new Error("Use process(css).then(cb) to work with async plugins")}handleError(e,t){let n=this.result.lastPlugin;try{t&&t.addToError(e),this.error=e,"CssSyntaxError"!==e.name||e.plugin?n.postcssVersion:(e.plugin=n.postcssPlugin,e.setMessage())}catch(e){console&&console.error&&console.error(e)}return e}prepareVisitors(){this.listeners={};let e=(e,t,n)=>{this.listeners[t]||(this.listeners[t]=[]),this.listeners[t].push([e,n])};for(let t of this.plugins)if("object"==typeof t)for(let n in t){if(!d[n]&&/^[A-Z]/.test(n))throw new Error(`Unknown event ${n} in ${t.postcssPlugin}. Try to update PostCSS (${this.processor.version} now).`);if(!p[n])if("object"==typeof t[n])for(let r in t[n])e(t,"*"===r?n:n+"-"+r.toLowerCase(),t[n][r]);else"function"==typeof t[n]&&e(t,n,t[n])}this.hasListener=Object.keys(this.listeners).length>0}async runAsync(){this.plugin=0;for(let e=0;e<this.plugins.length;e++){let t=this.plugins[e],n=this.runOnRoot(t);if(m(n))try{await n}catch(e){throw this.handleError(e)}}if(this.prepareVisitors(),this.hasListener){let e=this.result.root;for(;!e[u];){e[u]=!0;let t=[v(e)];for(;t.length>0;){let e=this.visitTick(t);if(m(e))try{await e}catch(e){let n=t[t.length-1].node;throw this.handleError(e,n)}}}if(this.listeners.OnceExit)for(let[t,n]of this.listeners.OnceExit){this.result.lastPlugin=t;try{if("document"===e.type){let t=e.nodes.map(e=>n(e,this.helpers));await Promise.all(t)}else await n(e,this.helpers)}catch(e){throw this.handleError(e)}}}return this.processed=!0,this.stringify()}runOnRoot(e){this.result.lastPlugin=e;try{if("object"==typeof e&&e.Once){if("document"===this.result.root.type){let t=this.result.root.nodes.map(t=>e.Once(t,this.helpers));return m(t[0])?Promise.all(t):t}return e.Once(this.result.root,this.helpers)}if("function"==typeof e)return e(this.result.root,this.result)}catch(e){throw this.handleError(e)}}stringify(){if(this.error)throw this.error;if(this.stringified)return this.result;this.stringified=!0,this.sync();let e=this.result.opts,t=c;e.syntax&&(t=e.syntax.stringify),e.stringifier&&(t=e.stringifier),t.stringify&&(t=t.stringify);let n=this.result.root.source;if(void 0===e.map&&!(n&&n.input&&n.input.map)){let e="";return t(this.result.root,t=>{e+=t}),this.result.css=e,this.result}let r=new o(t,this.result.root,this.result.opts).generate();return this.result.css=r[0],this.result.map=r[1],this.result}sync(){if(this.error)throw this.error;if(this.processed)return this.result;if(this.processed=!0,this.processing)throw this.getAsyncError();for(let e of this.plugins)if(m(this.runOnRoot(e)))throw this.getAsyncError();if(this.prepareVisitors(),this.hasListener){let e=this.result.root;for(;!e[u];)e[u]=!0,this.walkSync(e);if(this.listeners.OnceExit)if("document"===e.type)for(let t of e.nodes)this.visitSync(this.listeners.OnceExit,t);else this.visitSync(this.listeners.OnceExit,e)}return this.result}then(e,t){return this.async().then(e,t)}toString(){return this.css}visitSync(e,t){for(let[n,r]of e){let e;this.result.lastPlugin=n;try{e=r(t,this.helpers)}catch(e){throw this.handleError(e,t.proxyOf)}if("root"!==t.type&&"document"!==t.type&&!t.parent)return!0;
vendor: 8,601 bytes, line 2
2if(m(e))throw this.getAsyncError()}}visitTick(e){let t=e[e.length-1],{node:n,visitors:r}=t;if("root"!==n.type&&"document"!==n.type&&!n.parent)return void e.pop();if(r.length>0&&t.visitorIndex<r.length){let[e,i]=r[t.visitorIndex];t.visitorIndex+=1,t.visitorIndex===r.length&&(t.visitors=[],t.visitorIndex=0),this.result.lastPlugin=e;try{return i(n.toProxy(),this.helpers)}catch(e){throw this.handleError(e,n)}}if(0!==t.iterator){let r,i=t.iterator;for(t.descending&&(t.descending=!1,n.indexes[i]+=1);r=n.nodes[n.indexes[i]];){if(!r[u])return r[u]=!0,t.descending=!0,void e.push(v(r));n.indexes[i]+=1}t.iterator=0,delete n.indexes[i]}let i=t.events;for(;t.eventIndex<i.length;){let e=i[t.eventIndex];if(t.eventIndex+=1,0===e)return void(n.nodes&&n.nodes.length&&(n[u]=!0,t.iterator=n.getIterator()));if(this.listeners[e])return void(t.visitors=this.listeners[e])}e.pop()}walkSync(e){e[u]=!0;let t=[{eventIndex:0,events:g(e),iterator:0,node:e}];for(;t.length>0;){let e=t[t.length-1],n=e.node;if(0!==e.iterator){let r,i=e.iterator;e.descending&&(e.descending=!1,n.indexes[i]+=1);let o=!1;for(;r=n.nodes[n.indexes[i]];){if(!r[u]){r[u]=!0,e.descending=!0,t.push({eventIndex:0,events:g(r),iterator:0,node:r}),o=!0;break}n.indexes[i]+=1}if(o)continue;e.iterator=0,delete n.indexes[i]}if(e.eventIndex<e.events.length){let r=e.events[e.eventIndex];if(e.eventIndex+=1,0===r)n.nodes&&n.nodes.length&&(e.iterator=n.getIterator());else{let e=this.listeners[r];e&&this.visitSync(e,n.toProxy())&&t.pop()}continue}t.pop()}}warnings(){return this.sync().warnings()}}x.registerPostcss=e=>{w=e},e.exports=x,x.default=x,l.registerLazyResult(x),i.registerLazyResult(x)},69330(e){"use strict";let t={comma:e=>t.split(e,[","],!0),space:e=>t.split(e,[" ","\n","\t"]),split(e,t,n){if("string"!=typeof e)return[];let r=[],i="",o=!1,s=0,a=!1,l="",c=!1;for(let n of e)c?c=!1:"\\"===n?c=!0:a?n===l&&(a=!1):'"'===n||"'"===n?(a=!0,l=n):"("===n?s+=1:")"===n?s>0&&(s-=1):0===s&&t.includes(n)&&(o=!0),o?(""!==i&&r.push(i.trim()),i="",o=!1):i+=n;return(n||""!==i)&&r.push(i.trim()),r}};e.exports=t,t.default=t},39618(e,t,n){"use strict";let{dirname:r,relative:i,resolve:o,sep:s}=n(40315),{SourceMapConsumer:a,SourceMapGenerator:l}=n(64540),{pathToFileURL:c}=n(54665),u=n(97736),h=Boolean(a&&l),f=Boolean(r&&o&&i&&s);e.exports=class{constructor(e,t,n,r){this.stringify=e,this.mapOpts=n.map||{},this.root=t,this.opts=n,this.css=r,this.originalCSS=r,this.usesFileUrls=!this.mapOpts.from&&this.mapOpts.absolute,this.memoizedFileURLs=new Map,this.memoizedPaths=new Map,this.memoizedURLs=new Map}addAnnotation(){let e;e=this.isInline()?"data:application/json;base64,"+this.toBase64(this.map.toString()):"string"==typeof this.mapOpts.annotation?this.mapOpts.annotation:"function"==typeof this.mapOpts.annotation?this.mapOpts.annotation(this.opts.to,this.root):this.outputFile()+".map";let t="\n";this.css.includes("\r\n")&&(t="\r\n"),this.css+=t+"/*# sourceMappingURL="+e+" */"}applyPrevMaps(){for(let e of this.previous()){let t,n=this.toUrl(this.path(e.file)),i=e.root||r(e.file);!1===this.mapOpts.sourcesContent?(t=new a(e.text),t.sourcesContent&&(t.sourcesContent=null)):t=e.consumer(),this.map.applySourceMap(t,n,this.toUrl(this.path(i)))}}clearAnnotation(){if(!1!==this.mapOpts.annotation)if(this.root){let e;for(let t=this.root.nodes.length-1;t>=0;t--)e=this.root.nodes[t],"comment"===e.type&&e.text.startsWith("# sourceMappingURL=")&&this.root.removeChild(t)}else if(this.css){let e;for(;-1!==(e=this.css.lastIndexOf("/*#"));){let t=this.css.indexOf("*/",e+3);if(-1===t)break;for(;e>0&&"\n"===this.css[e-1];)e--;this.css=this.css.slice(0,e)+this.css.slice(t+2)}}}generate(){if(this.clearAnnotation(),f&&h&&this.isMap())return this.generateMap();{let e="";return this.stringify(this.root,t=>{e+=t}),[e]}}generateMap(){if(this.root)this.generateString();else if(1===this.previous().length){let e=this.previous()[0].consumer();e.file=this.outputFile(),this.map=l.fromSourceMap(e,{ignoreInvalidMapping:!0})}else this.map=new l({file:this.outputFile(),ignoreInvalidMapping:!0}),this.map.addMapping({generated:{column:0,line:1},original:{column:0,line:1},source:this.opts.from?this.toUrl(this.path(this.opts.from)):"<no source>"});return this.isSourcesContent()&&this.setSourcesContent(),this.root&&this.previous().length>0&&this.applyPrevMaps(),this.isAnnotation()&&this.addAnnotation(),this.isInline()?[this.css]:[this.css,this.map]}generateString(){this.css="",this.map=new l({file:this.outputFile(),ignoreInvalidMapping:!0});let e,t,n=1,r=1,i="<no source>",o={generated:{column:0,line:0},original:{column:0,line:0},source:""};this.stringify(this.root,(s,a,l)=>{if(this.css+=s,a&&"end"!==l&&(o.generated.line=n,o.generated.column=r-1,a.source&&a.source.start?(o.source=this.sourcePath(a),o.original.line=a.source.start.line,o.original.column=a.source.start.column-1,this.map.addMapping(o)):(o.source=i,o.original.line=1,o.original.column=0,this.map.addMapping(o))),t=s.match(/\n/g),t?(n+=t.length,e=s.lastIndexOf("\n"),r=s.length-e):r+=s.length,a&&"start"!==l){let e=a.parent||{raws:{}};("decl"===a.type||"atrule"===a.type&&!a.nodes)&&a===e.last&&!e.raws.semicolon||(a.source&&a.source.end?(o.source=this.sourcePath(a),o.original.line=a.source.end.line,o.original.column=a.source.end.column-1,o.generated.line=n,o.generated.column=r-2,this.map.addMapping(o)):(o.source=i,o.original.line=1,o.original.column=0,o.generated.line=n,o.generated.column=r-1,this.map.addMapping(o)))}})}isAnnotation(){return!!this.isInline()||(void 0!==this.mapOpts.annotation?this.mapOpts.annotation:!this.previous().length||this.previous().some(e=>e.annotation))}isInline(){if(void 0!==this.mapOpts.inline)return this.mapOpts.inline;let e=this.mapOpts.annotation;return(void 0===e||!0===e)&&(!this.previous().length||this.previous().some(e=>e.inline))}isMap(){return void 0!==this.opts.map?!!this.opts.map:this.previous().length>0}isSourcesContent(){return void 0!==this.mapOpts.sourcesContent?this.mapOpts.sourcesContent:!this.previous().length||this.previous().some(e=>e.withContent())}outputFile(){return this.opts.to?this.path(this.opts.to):this.opts.from?this.path(this.opts.from):"to.css"}path(e){if(this.mapOpts.absolute)return e;if(60===e.charCodeAt(0))return e;if(/^\w+:\/\//.test(e))return e;let t=this.memoizedPaths.get(e);if(t)return t;let n=this.opts.to?r(this.opts.to):".";"string"==typeof this.mapOpts.annotation&&(n=r(o(n,this.mapOpts.annotation)));let s=i(n,e);return this.memoizedPaths.set(e,s),s}previous(){if(!this.previousMaps)if(this.previousMaps=[],this.root)this.root.walk(e=>{if(e.source&&e.source.input.map){let t=e.source.input.map;this.previousMaps.includes(t)||this.previousMaps.push(t)}});else{let e=new u(this.originalCSS,this.opts);e.map&&this.previousMaps.push(e.map)}return this.previousMaps}setSourcesContent(){let e={};if(this.root)this.root.walk(t=>{if(t.source){let n=t.source.input.from;if(n&&!e[n]){e[n]=!0;let r=this.usesFileUrls?this.toFileUrl(n):this.toUrl(this.path(n));this.map.setSourceContent(r,t.source.input.css)}}});else if(this.css){let e=this.opts.from?this.toUrl(this.path(this.opts.from)):"<no source>";this.map.setSourceContent(e,this.css)}}sourcePath(e){return this.mapOpts.from?this.toUrl(this.mapOpts.from):this.usesFileUrls?this.toFileUrl(e.source.input.from):this.toUrl(this.path(e.source.input.from))}toBase64(e){return Buffer?Buffer.from(e).toString("base64"):window.btoa(unescape(encodeURIComponent(e)))}toFileUrl(e){let t=this.memoizedFileURLs.get(e);if(t)return t;if(c){let t=c(e).toString();return this.memoizedFileURLs.set(e,t),t}throw new Error("`map.absolute` option is not available in this PostCSS build")}toUrl(e){let t=this.memoizedURLs.get(e);if(t)return t;"\\"===s&&(e=e.replace(/\\/g,"/"));let n=encodeURI(e).replace(/[#?]/g,encodeURIComponent);return this.memoizedURLs.set(e,n),n}}},73249(e,t,n){"use strict";let r=n(39618),i=n(40811),o=n(43059),s=n(66901);n(38638);class a{get content(){return this.result.css}get css(){return this.result.css}get map(){return this.result.map}get messages(){return[]}get opts(){return this.result.opts}get processor(){return this.result.processor}get root(){if(this._root)return this._root;let e,t=i;try{e=t(this._css,this._opts)}catch(e){this.error=e}if(this.error)throw this.error;return this._root=e,e}get[Symbol.toStringTag](){return"NoWorkResult"}constructor(e,t,n){t=t.toString(),this.stringified=!1,this._processor=e,this._css=t,this._opts=n,this._map=void 0;let i=s;this.result=new o(this._processor,void 0,this._opts),this.result.css=t;let a=this;Object.defineProperty(this.result,"root",{get:()=>a.root});let l=new r(i,void 0,this._opts,t);
2if(l.isMap()){let[e,t]=l.generate();e&&(this.result.css=e),t&&(this.result.map=t)}else l.clearAnnotation(),this.result.css=l.css}async(){return this.error?Promise.reject(this.error):Promise.resolve(this.result)}catch(e){return this.async().catch(e)}finally(e){return this.async().then(e,e)}sync(){if(this.error)throw this.error;return this.result}then(e,t){return this.async().then(e,t)}toString(){return this._css}warnings(){return[]}}e.exports=a,a.default=a},24038(e,t,n){"use strict";let r=n(24392),i=n(60158),o=n(66901),{isClean:s,my:a}=n(53481);function l(e,t){if(t&&void 0!==t.offset)return t.offset;let n=1,r=1,i=0;for(let o=0;o<e.length;o++){if(r===t.line&&n===t.column){i=o;break}"\n"===e[o]?(n=1,r+=1):n+=1}return i}class c{get proxyOf(){return this}constructor(e={}){this.raws={},this[s]=!1,this[a]=!0;for(let t of Object.keys(e))if("__proto__"!==t)if("nodes"===t){this.nodes=[];for(let n of e[t])"function"==typeof n.clone&&n.parent?this.append(n.clone()):this.append(n)}else this[t]=e[t]}addToError(e){if(e.postcssNode=this,e.stack&&this.source&&/\n\s{4}at /.test(e.stack)){let t=this.source;e.stack=e.stack.replace(/\n\s{4}at /,`$&${t.input.from}:${t.start.line}:${t.start.column}$&`)}return e}after(e){return this.parent.insertAfter(this,e),this}assign(e={}){for(let t in e)this[t]=e[t];return this}before(e){return this.parent.insertBefore(this,e),this}cleanRaws(e){delete this.raws.before,delete this.raws.after,e||delete this.raws.between}clone(e={}){let t=function(e){let t=new e.constructor,n=[[e,t,void 0]];for(;n.length>0;){let[e,t,r]=n.pop();for(let i in e){if(!Object.prototype.hasOwnProperty.call(e,i))continue;if("proxyCache"===i)continue;let o=e[i],s=typeof o;if("parent"===i&&"object"===s)r&&(t[i]=r);else if("source"===i)t[i]=o;else if(Array.isArray(o)){let e=[];t[i]=e;for(let r of o){let i=new r.constructor;e.push(i),n.push([r,i,t])}}else{if("object"===s&&null!==o){let e=new o.constructor;n.push([o,e,void 0]),o=e}t[i]=o}}}return t}(this);for(let n in e)t[n]=e[n];return t}cloneAfter(e={}){let t=this.clone(e);return this.parent.insertAfter(this,t),t}cloneBefore(e={}){let t=this.clone(e);return this.parent.insertBefore(this,t),t}error(e,t={}){if(this.source){let{end:n,start:r}=this.rangeBy(t);return this.source.input.error(e,{column:r.column,line:r.line},{column:n.column,line:n.line},t)}return new r(e)}getProxyProcessor(){return{get:(e,t)=>"proxyOf"===t?e:"root"===t?()=>e.root().toProxy():e[t],set:(e,t,n)=>(e[t]===n||(e[t]=n,"prop"!==t&&"value"!==t&&"name"!==t&&"params"!==t&&"important"!==t&&"text"!==t||e.markDirty()),!0)}}markClean(){this[s]=!0}
vendor: 9,972 bytes, line 2
2markDirty(){if(this[s]){this[s]=!1;let e=this;for(;e=e.parent;)e[s]=!1}}next(){if(!this.parent)return;let e=this.parent.index(this);return this.parent.nodes[e+1]}positionBy(e={}){let t="document"in this.source.input?this.source.input.document:this.source.input.css,n={column:this.source.start.column,line:this.source.start.line,offset:l(t,this.source.start)};if(e.index)n=this.positionInside(e.index);else if(e.word){let r=t.slice(l(t,this.source.start),l(t,this.source.end)).indexOf(e.word);-1!==r&&(n=this.positionInside(r))}return n}positionInside(e){let t=this.source.start.column,n=this.source.start.line,r="document"in this.source.input?this.source.input.document:this.source.input.css,i=l(r,this.source.start),o=i+e;for(let e=i;e<o;e++)"\n"===r[e]?(t=1,n+=1):t+=1;return{column:t,line:n,offset:o}}prev(){if(!this.parent)return;let e=this.parent.index(this);return this.parent.nodes[e-1]}rangeBy(e={}){let t="document"in this.source.input?this.source.input.document:this.source.input.css,n={column:this.source.start.column,line:this.source.start.line,offset:l(t,this.source.start)},r=this.source.end?{column:this.source.end.column+1,line:this.source.end.line,offset:"number"==typeof this.source.end.offset?this.source.end.offset:l(t,this.source.end)+1}:{column:n.column+1,line:n.line,offset:n.offset+1};if(e.word){let i=t.slice(l(t,this.source.start),l(t,this.source.end)).indexOf(e.word);-1!==i&&(n=this.positionInside(i),r=this.positionInside(i+e.word.length))}else e.start?n={column:e.start.column,line:e.start.line,offset:l(t,e.start)}:"number"==typeof e.index&&(n=this.positionInside(e.index)),e.end?r={column:e.end.column,line:e.end.line,offset:l(t,e.end)}:"number"==typeof e.endIndex?r=this.positionInside(e.endIndex):"number"==typeof e.index&&(r=this.positionInside(e.index+1));return(r.line<n.line||r.line===n.line&&r.column<=n.column)&&(r={column:n.column+1,line:n.line,offset:n.offset+1}),{end:r,start:n}}raw(e,t){return(new i).raw(this,e,t)}remove(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this}replaceWith(...e){if(this.parent){let t=this,n=!1;for(let r of e)r===this?n=!0:n?(this.parent.insertAfter(t,r),t=r):this.parent.insertBefore(t,r);n||this.remove()}return this}root(){let e=this;for(;e.parent&&"document"!==e.parent.type;)e=e.parent;return e}toJSON(e,t){let n=null==t;t=t||new Map;let r=[],i=[[this,r,0]];for(let e=0;e<i.length;e++){let[n,r,o]=i[e],s={};r[o]=s;for(let e in n){if(!Object.prototype.hasOwnProperty.call(n,e))continue;if("parent"===e||"proxyCache"===e)continue;let r=n[e];if(Array.isArray(r)){let n=[];s[e]=n;for(let e=0;e<r.length;e++){let o=r[e];"object"==typeof o&&o.toJSON?o.toJSON===c.prototype.toJSON?i.push([o,n,e]):n[e]=o.toJSON(null,t):n[e]=o}}else if("object"==typeof r&&r.toJSON)r.toJSON===c.prototype.toJSON?i.push([r,s,e]):s[e]=r.toJSON(null,t);else if("source"===e){if(null==r)continue;let n=t.get(r.input);null==n&&(n=t.size,t.set(r.input,n)),s[e]={end:r.end,inputId:n,start:r.start}}else s[e]=r}}let o=r[0];return n&&(o.inputs=[...t.keys()].map(e=>e.toJSON())),o}toProxy(){return this.proxyCache||(this.proxyCache=new Proxy(this,this.getProxyProcessor())),this.proxyCache}toString(e=o){e.stringify&&(e=e.stringify);let t="";return e(this,e=>{t+=e}),t}warn(e,t,n={}){let r={node:this};for(let e in n)r[e]=n[e];return e.warn(t,r)}}e.exports=c,c.default=c},40811(e,t,n){"use strict";let r=n(44159),i=n(97736),o=n(14685);function s(e,t){let n=new i(e,t),r=new o(n);try{r.parse()}catch(e){throw e}return r.root}e.exports=s,s.default=s,r.registerParse(s)},14685(e,t,n){"use strict";let r=n(45938),i=n(36697),o=n(1720),s=n(86630),a=n(60136),l=n(68883);const c={empty:!0,space:!0};function u(e,t,n){let r="";for(let i=t;i<n;i++)r+=e[i][1];return r}e.exports=class{constructor(e){this.input=e,this.root=new s,this.current=this.root,this.spaces="",this.semicolon=!1,this.createTokenizer(),this.root.source={input:e,start:{column:1,line:1,offset:0}}}atrule(e){let t,n,i,o=new r;o.name=e[1].slice(1),""===o.name&&this.unnamedAtrule(o,e),this.init(o,e[2]);let s=!1,a=!1,l=[],c=[];for(;!this.tokenizer.endOfFile();){if(t=(e=this.tokenizer.nextToken())[0],"("===t||"["===t?c.push("("===t?")":"]"):"{"===t&&c.length>0?c.push("}"):t===c[c.length-1]&&c.pop(),0===c.length){if(";"===t){o.source.end=this.getPosition(e[2]),o.source.end.offset++,this.semicolon=!0;break}if("{"===t){a=!0;break}if("}"===t){if(l.length>0){for(i=l.length-1,n=l[i];n&&"space"===n[0];)n=l[--i];n&&(o.source.end=this.getPosition(n[3]||n[2]),o.source.end.offset++)}this.end(e);break}l.push(e)}else l.push(e);if(this.tokenizer.endOfFile()){s=!0;break}}o.raws.between=this.spacesAndCommentsFromEnd(l),l.length?(o.raws.afterName=this.spacesAndCommentsFromStart(l),this.raw(o,"params",l),s&&(e=l[l.length-1],o.source.end=this.getPosition(e[3]||e[2]),o.source.end.offset++,this.spaces=o.raws.between,o.raws.between="")):(o.raws.afterName="",o.params=""),a&&(o.nodes=[],this.current=o)}checkMissedSemicolon(e){let t=this.colon(e);if(!1===t)return;let n,r=0;for(let i=t-1;i>=0&&(n=e[i],"space"===n[0]||(r+=1,2!==r));i--);throw this.input.error("Missed semicolon","word"===n[0]?n[3]+1:n[2])}colon(e){let t,n,r,i=0;for(let[o,s]of e.entries()){if(n=s,r=n[0],"("===r&&(i+=1),")"===r&&(i-=1),0===i&&":"===r){if(t){if("word"===t[0]&&"progid"===t[1])continue;return o}this.doubleColon(n)}t=n}return!1}comment(e){let t=new i;this.init(t,e[2]),t.source.end=this.getPosition(e[3]||e[2]),t.source.end.offset++;let n=e[1].slice(2,-2);if(n.trim()){let e=n.match(/^(\s*)([^]*\S)(\s*)$/);t.text=e[2],t.raws.left=e[1],t.raws.right=e[3]}else t.text="",t.raws.left=n,t.raws.right=""}createTokenizer(){this.tokenizer=l(this.input)}decl(e,t){let n=new o;this.init(n,e[0][2]);let r=e[e.length-1];";"===r[0]&&(this.semicolon=!0,e.pop()),n.source.end=this.getPosition(r[3]||r[2]||function(e){for(let t=e.length-1;t>=0;t--){let n=e[t],r=n[3]||n[2];if(r)return r}}(e)),n.source.end.offset++;let i=0;for(;"word"!==e[i][0];)i===e.length-1&&this.unknownWord([e[i]]),i++;n.raws.before+=u(e,0,i),n.source.start=this.getPosition(e[i][2]);let s=i;for(;i<e.length;){let t=e[i][0];if(":"===t||"space"===t||"comment"===t)break;i++}n.prop=u(e,s,i);let a,l=i;for(;i<e.length&&(a=e[i],i++,":"!==a[0]);)"word"===a[0]&&/\w/.test(a[1])&&this.unknownWord([a]);n.raws.between=u(e,l,i),"_"!==n.prop[0]&&"*"!==n.prop[0]||(n.raws.before+=n.prop[0],n.prop=n.prop.slice(1));let c=i;for(;i<e.length;){let t=e[i][0];if("space"!==t&&"comment"!==t)break;i++}let h=e.slice(c,i);e=e.slice(i),this.precheckMissedSemicolon(e);for(let t=e.length-1;t>=0;t--){if(a=e[t],"!important"===a[1].toLowerCase()){n.important=!0;let r=this.stringFrom(e,t);r=this.spacesFromEnd(e)+r," !important"!==r&&(n.raws.important=r);break}if("important"===a[1].toLowerCase()){let r=e.slice(0),i="";for(let e=t;e>0;e--){let t=r[e][0];if(i.trim().startsWith("!")&&"space"!==t)break;i=r.pop()[1]+i}i.trim().startsWith("!")&&(n.important=!0,n.raws.important=i,e=r)}if("space"!==a[0]&&"comment"!==a[0])break}e.some(e=>"space"!==e[0]&&"comment"!==e[0])&&(n.raws.between+=h.map(e=>e[1]).join(""),h=[]),this.raw(n,"value",h.concat(e),t),n.value.includes(":")&&!t&&this.checkMissedSemicolon(e)}doubleColon(e){throw this.input.error("Double colon",{offset:e[2]},{offset:e[2]+e[1].length})}emptyRule(e){let t=new a;this.init(t,e[2]),t.selector="",t.raws.between="",this.current=t}end(e){this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.semicolon=!1,this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.spaces="",this.current.parent?(this.current.source.end=this.getPosition(e[2]),this.current.source.end.offset++,this.current=this.current.parent):this.unexpectedClose(e)}endFile(){this.current.parent&&this.unclosedBlock(),this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.root.source.end=this.getPosition(this.tokenizer.position())}freeSemicolon(e){if(this.spaces+=e[1],this.current.nodes){let t=this.current.nodes[this.current.nodes.length-1];t&&"rule"===t.type&&!t.raws.ownSemicolon&&(t.raws.ownSemicolon=this.spaces,this.spaces="",t.source.end=this.getPosition(e[2]),t.source.end.offset+=t.raws.ownSemicolon.length)}}getPosition(e){let t=this.input.fromOffset(e);return{column:t.col,line:t.line,offset:e}}init(e,t){this.current.push(e),e.source={input:this.input,start:this.getPosition(t)},e.raws.before=this.spaces,this.spaces="","comment"!==e.type&&(this.semicolon=!1)}other(e){let t=!1,n=null,r=!1,i=null,o=[],s=e[1].startsWith("--"),a=[],l=e;for(;l;){if(n=l[0],a.push(l),"("===n||"["===n)i||(i=l),o.push("("===n?")":"]");else if(s&&r&&"{"===n)i||(i=l),o.push("}");else if(0===o.length){if(";"===n){if(r)return void this.decl(a,s);break}if("{"===n)return void this.rule(a);if("}"===n){this.tokenizer.back(a.pop()),t=!0;break}":"===n&&(r=!0)}else n===o[o.length-1]&&(o.pop(),0===o.length&&(i=null));l=this.tokenizer.nextToken()}if(this.tokenizer.endOfFile()&&(t=!0),o.length>0&&this.unclosedBracket(i),t&&r){if(!s)for(;a.length&&(l=a[a.length-1][0],"space"===l||"comment"===l);)this.tokenizer.back(a.pop());this.decl(a,s)}else this.unknownWord(a)}parse(){let e;for(;!this.tokenizer.endOfFile();)switch(e=this.tokenizer.nextToken(),e[0]){case"space":this.spaces+=e[1];break;case";":this.freeSemicolon(e);break;case"}":this.end(e);break;case"comment":this.comment(e);break;case"at-word":this.atrule(e);break;case"{":this.emptyRule(e);break;default:this.other(e)}this.endFile()}precheckMissedSemicolon(){}raw(e,t,n,r){let i,o,s,a,l=n.length,u="",h=!0;for(let e=0;e<l;e+=1)i=n[e],o=i[0],"space"!==o||e!==l-1||r?"comment"===o?(a=n[e-1]?n[e-1][0]:"empty",s=n[e+1]?n[e+1][0]:"empty",c[a]||c[s]||","===u.slice(-1)?h=!1:u+=i[1]):u+=i[1]:h=!1;if(!h){let r=n.reduce((e,t)=>e+t[1],"");e.raws[t]={raw:r,value:u}}e[t]=u}rule(e){e.pop();let t=new a;this.init(t,e[0][2]),t.raws.between=this.spacesAndCommentsFromEnd(e),this.raw(t,"selector",e),this.current=t}
2spacesAndCommentsFromEnd(e){let t,n="";for(;e.length&&(t=e[e.length-1][0],"space"===t||"comment"===t);)n=e.pop()[1]+n;return n}spacesAndCommentsFromStart(e){let t,n="";for(;e.length&&(t=e[0][0],"space"===t||"comment"===t);)n+=e.shift()[1];return n}spacesFromEnd(e){let t,n="";for(;e.length&&(t=e[e.length-1][0],"space"===t);)n=e.pop()[1]+n;return n}stringFrom(e,t){let n="";for(let r=t;r<e.length;r++)n+=e[r][1];return e.splice(t,e.length-t),n}unclosedBlock(){let e=this.current.source.start;throw this.input.error("Unclosed block",e.line,e.column)}unclosedBracket(e){throw this.input.error("Unclosed bracket",{offset:e[2]},{offset:e[2]+1})}unexpectedClose(e){throw this.input.error("Unexpected }",{offset:e[2]},{offset:e[2]+1})}unknownWord(e){throw this.input.error("Unknown word "+e[0][1],{offset:e[0][2]},{offset:e[0][2]+e[0][1].length})}unnamedAtrule(e,t){throw this.input.error("At-rule without name",{offset:t[2]},{offset:t[2]+t[1].length})}}},96109(e,t,n){"use strict";let r=n(45938),i=n(36697),o=n(44159),s=n(24392),a=n(1720),l=n(56667),c=n(23160),u=n(97736),h=n(33068),f=n(69330),d=n(24038),p=n(40811),m=n(2588),g=n(43059),v=n(86630),y=n(60136),w=n(66901),x=n(52684);function b(...e){return 1===e.length&&Array.isArray(e[0])&&(e=e[0]),new m(e)}b.plugin=function(e,t){let n,r=!1;function i(...n){console&&console.warn&&!r&&(r=!0,console.warn(e+": postcss.plugin was deprecated. Migration guide:\nhttps://evilmartians.com/chronicles/postcss-8-plugin-migration"),process.env.LANG&&process.env.LANG.startsWith("cn")&&console.warn(e+": éé¢ postcss.plugin 被å¼ç¨. è¿ç§»æå:\nhttps://www.w3ctech.com/topic/2226"));let i=t(...n);return i.postcssPlugin=e,i.postcssVersion=(new m).version,i}return Object.defineProperty(i,"postcss",{get:()=>(n||(n=i()),n)}),i.process=function(e,t,n){return b([i(n)]).process(e,t)},i},b.stringify=w,b.parse=p,b.fromJSON=c,b.list=f,b.comment=e=>new i(e),b.atRule=e=>new r(e),b.decl=e=>new a(e),b.rule=e=>new y(e),b.root=e=>new v(e),b.document=e=>new l(e),b.CssSyntaxError=s,b.Declaration=a,b.Container=o,b.Processor=m,b.Document=l,b.Comment=i,b.Warning=x,b.AtRule=r,b.Result=g,b.Input=u,b.Rule=y,b.Root=v,b.Node=d,h.registerPostcss(b),e.exports=b,b.default=b},60596(e,t,n){"use strict";let{existsSync:r,readFileSync:i,realpathSync:o}=n(36399),{dirname:s,isAbsolute:a,join:l,relative:c,sep:u}=n(40315),{SourceMapConsumer:h,SourceMapGenerator:f}=n(64540);function d(e){try{return o(e)}catch{return e}}class p{constructor(e,t){if(!1===t.map)return;t.unsafeMap&&(this.unsafeMap=!0),this.loadAnnotation(e),this.inline=this.startWith(this.annotation,"data:");let n=t.map?t.map.prev:void 0,r=this.loadMap(t.from,n);!this.mapFile&&t.from&&(this.mapFile=t.from),this.mapFile&&(this.root=s(this.mapFile)),r&&(this.text=r)}consumer(){return this.consumerCache||(this.consumerCache=new h(this.json||this.text)),this.consumerCache}decodeInline(e){let t=e.match(/^data:application\/json;charset=utf-?8,/)||e.match(/^data:application\/json,/);if(t)return decodeURIComponent(e.substr(t[0].length));let n=e.match(/^data:application\/json;charset=utf-?8;base64,/)||e.match(/^data:application\/json;base64,/);if(n)return r=e.substr(n[0].length),Buffer?Buffer.from(r,"base64").toString():window.atob(r);var r;let i=e.slice(22);throw i=i.slice(0,i.indexOf(",")),new Error("Unsupported source map encoding "+i)}getAnnotationURL(e){return e.replace(/^\/\*\s*# sourceMappingURL=/,"").trim()}isMap(e){return"object"==typeof e&&("string"==typeof e.mappings||"string"==typeof e._mappings||Array.isArray(e.sections))}loadAnnotation(e){let t=e.match(/\/\*\s*# sourceMappingURL=/g);if(!t)return;let n=e.lastIndexOf(t.pop()),r=e.indexOf("*/",n);n>-1&&r>-1&&(this.annotation=this.getAnnotationURL(e.substring(n,r)))}loadFile(e,t,n){if(!n&&!this.unsafeMap){if(!/\.map$/i.test(e))return;if(!t)return;let n=c(d(s(t)),d(e));if(".."===n||n.startsWith(".."+u)||a(n))return}if(this.root=s(e),r(e))return this.mapFile=e,i(e,"utf-8").toString().trim()}loadMap(e,t){if(!1===t)return!1;if(t){if("string"==typeof t)return t;if("function"!=typeof t){if(t instanceof h)return f.fromSourceMap(t).toString();if(t instanceof f)return t.toString();if(this.isMap(t))return JSON.stringify(t);throw new Error("Unsupported previous source map format: "+t.toString())}{let n=t(e);if(n){let t=this.loadFile(n,e,!0);if(!t)throw new Error("Unable to load previous source map: "+n.toString());return t}}}
2else{if(this.inline)return this.decodeInline(this.annotation);if(this.annotation){let t=this.annotation;e&&(t=l(s(e),t));let n=this.loadFile(t,e,!1);if(n)try{this.json=JSON.parse(n.replace(/^\)]}'[^\n]*\n/,""))}catch{return}return n}}}startWith(e,t){return!!e&&e.substr(0,t.length)===t}withContent(){return!!(this.consumer().sourcesContent&&this.consumer().sourcesContent.length>0)}}e.exports=p,p.default=p},2588(e,t,n){"use strict";let r=n(56667),i=n(33068),o=n(73249),s=n(86630);class a{constructor(e=[]){this.version="8.5.26",this.plugins=this.normalize(e)}normalize(e){let t=[];for(let n of e)if(!0===n.postcss?n=n():n.postcss&&(n=n.postcss),"object"==typeof n&&Array.isArray(n.plugins))t=t.concat(n.plugins);else if("object"==typeof n&&n.postcssPlugin)t.push(n);else if("function"==typeof n)t.push(n);else if("object"!=typeof n||!n.parse&&!n.stringify)throw new Error(n+" is not a PostCSS plugin");return t}process(e,t={}){return this.plugins.length||t.parser||t.stringifier||t.syntax?new i(this,e,t):new o(this,e,t)}use(e){return this.plugins=this.plugins.concat(this.normalize([e])),this}}e.exports=a,a.default=a,s.registerProcessor(a),r.registerProcessor(a)},43059(e,t,n){"use strict";let r=n(52684);class i{get content(){return this.css}constructor(e,t,n){this.processor=e,this.messages=[],this.root=t,this.opts=n,this.css="",this.map=void 0}toString(){return this.css}warn(e,t={}){t.plugin||this.lastPlugin&&this.lastPlugin.postcssPlugin&&(t.plugin=this.lastPlugin.postcssPlugin);let n=new r(e,t);return this.messages.push(n),n}warnings(){return this.messages.filter(e=>"warning"===e.type)}}e.exports=i,i.default=i},86630(e,t,n){"use strict";let r,i,o=n(44159);class s extends o{constructor(e){super(e),this.type="root",this.nodes||(this.nodes=[])}normalize(e,t,n){let r=new Set;for(let t of Array.isArray(e)?e:[e])t&&"object"==typeof t&&!t.parent&&t.raws&&void 0!==t.raws.before&&r.add(t.raws);let i=super.normalize(e);if(t)if("prepend"===n)this.nodes.length>1?t.raws.before=this.nodes[1].raws.before:delete t.raws.before;else if(this.first!==t)for(let e of i)r.has(e.raws)||(e.raws.before=t.raws.before);return i}removeChild(e,t){let n=this.index(e);return!t&&0===n&&this.nodes.length>1&&(this.nodes[1].raws.before=this.nodes[n].raws.before),super.removeChild(e)}toResult(e={}){return new r(new i,this,e).stringify()}}s.registerLazyResult=e=>{r=e},s.registerProcessor=e=>{i=e},e.exports=s,s.default=s,o.registerRoot(s)},60136(e,t,n){"use strict";let r=n(44159),i=n(69330);class o extends r{get selectors(){return i.comma(this.selector)}set selectors(e){let t=this.selector?this.selector.match(/,\s*/):null,n=t?t[0]:","+this.raw("between","beforeOpen");this.selector=e.join(n)}constructor(e){super(e),this.type="rule",this.nodes||(this.nodes=[])}}e.exports=o,o.default=o,r.registerRule(o)},60158(e){"use strict";const t=/(<)(\/?style\b)/gi,n=/(<)(!--)/g,r=/[\t\n\f\r "#'()/;[\\\]{}]/;function i(e){return"string"!=typeof e?e:e.includes("<")?e.replace(t,"\\3c $2").replace(n,"\\3c $2"):e}const o={after:"\n",beforeClose:"\n",beforeComment:"\n",beforeDecl:"\n",beforeOpen:" ",beforeRule:"\n",colon:": ",commentLeft:" ",commentRight:" ",emptyBody:"",indent:" ",semicolon:!1};function s(e,t){let n="@"+t.name,i=t.params?e.rawValue(t,"params"):"",o=t.raws.afterName;return void 0===o?o=i?" ":"":""===o&&i&&!r.test(i[0])&&(o=" "),n+o+i}function a(e,t,n){let r=n.nodes,i=r.length-1;for(;i>0&&"comment"===r[i].type;)i-=1;let o=e.raw(n,"semicolon"),s="document"===n.type;for(let e=r.length-1;e>=0;e--){let n=r[e],a=i!==e||o;!a&&e<r.length-1&&("atrule"===n.type&&!n.nodes||"decl"===n.type&&n.prop.startsWith("--"))&&(a=!0),t.push({document:s,node:n,semicolon:a})}}function l(e,t,n,r){let o=e.raw(n,"between","beforeOpen");e.builder(i(r+o)+"{",n,"start");let s=n.nodes&&n.nodes.length,l=()=>{let t=s?e.raw(n,"after"):e.raw(n,"after","emptyBody");t&&e.builder(i(t)),e.builder("}",n,"end"),"rule"===n.type&&n.raws.ownSemicolon&&e.builder(i(n.raws.ownSemicolon),n,"end")};s?(t.push(l),a(e,t,n)):l()}class c{constructor(e){this.builder=e}atrule(e,t){let n=s(this,e);if(e.nodes)this.block(e,n);else{let r=(e.raws.between||"")+(t?";":"");this.builder(i(n+r),e)}}beforeAfter(e,t){let n;n="decl"===e.type?this.raw(e,null,"beforeDecl"):"comment"===e.type?this.raw(e,null,"beforeComment"):"before"===t?this.raw(e,null,"beforeRule"):this.raw(e,null,"beforeClose");let r=e.parent,i=0;for(;r&&"root"!==r.type;)i+=1,r=r.parent;if(n.includes("\n")){let t=this.raw(e,null,"indent");if(t.length)for(let e=0;e<i;e++)n+=t}return n}block(e,t){let n,r=this.raw(e,"between","beforeOpen");this.builder(i(t+r)+"{",e,"start"),e.nodes&&e.nodes.length?(this.body(e),n=this.raw(e,"after")):n=this.raw(e,"after","emptyBody"),n&&this.builder(i(n)),this.builder("}",e,"end")}body(e){let t=c.prototype,n=["atrule","block","body","rule","stringify"].every(e=>this[e]===t[e]),r=[];for(a(this,r,e);r.length>0;){let e=r.pop();if("function"==typeof e){e();continue}let t=e.node,o=this.raw(t,"before");o&&this.builder(e.document?o:i(o)),n&&"rule"===t.type?l(this,r,t,this.rawValue(t,"selector")):n&&"atrule"===t.type&&t.nodes?l(this,r,t,s(this,t)):this.stringify(t,e.semicolon)}}comment(e){let t=this.raw(e,"left","commentLeft"),n=this.raw(e,"right","commentRight");this.builder(i("/*"+t+e.text+n+"*/"),e)}decl(e,t){let n=e.raws,r=this.raw(e,"between","colon"),o=e.prop+r+this.rawValue(e,"value");e.important&&(o+=n.important||" !important"),t&&(o+=";"),this.builder(i(o),e)}document(e){this.body(e)}raw(e,t,n){let r;if(n||(n=t),t&&(r=e.raws[t],void 0!==r))return r;let i=e.parent;if("before"===n){if(!i||"root"===i.type&&i.first===e)return"";if(i&&"document"===i.type)return""}if(!i)return o[n];let s=e.root(),a=s.rawCache||(s.rawCache={});if(void 0!==a[n])return a[n];if("before"===n||"after"===n)return this.beforeAfter(e,n);{let i="raw"+((l=n)[0].toUpperCase()+l.slice(1));this[i]?r=this[i](s,e):s.walk(e=>{if(r=e.raws[t],void 0!==r)return!1})}var l;return void 0===r&&(r=o[n]),a[n]=r,r}rawBeforeClose(e){let t;return e.walk(e=>{if(e.nodes&&e.nodes.length>0&&void 0!==e.raws.after)return t=e.raws.after,t.includes("\n")&&(t=t.replace(/[^\n]+$/,"")),!1}),t&&(t=t.replace(/\S/g,"")),t}rawBeforeComment(e,t){let n;return e.walkComments(e=>{if(void 0!==e.raws.before)return n=e.raws.before,n.includes("\n")&&(n=n.replace(/[^\n]+$/,"")),!1}),void 0===n?n=this.raw(t,null,"beforeDecl"):n&&(n=n.replace(/\S/g,"")),n}rawBeforeDecl(e,t){let n;return e.walkDecls(e=>{if(void 0!==e.raws.before)return n=e.raws.before,n.includes("\n")&&(n=n.replace(/[^\n]+$/,"")),!1}),void 0===n?n=this.raw(t,null,"beforeRule"):n&&(n=n.replace(/\S/g,"")),n}rawBeforeOpen(e){let t;return e.walk(e=>{if("decl"!==e.type&&(t=e.raws.between,void 0!==t))return!1}),t}rawBeforeRule(e){let t;return e.walk(n=>{if(n.nodes&&(n.parent!==e||e.first!==n)&&void 0!==n.raws.before)return t=n.raws.before,t.includes("\n")&&(t=t.replace(/[^\n]+$/,"")),!1}),t&&(t=t.replace(/\S/g,"")),t}rawColon(e){let t;return e.walkDecls(e=>{if(void 0!==e.raws.between)return t=e.raws.between.replace(/[^\s:]/g,""),!1}),t}rawEmptyBody(e){let t;return e.walk(e=>{if(e.nodes&&0===e.nodes.length&&(t=e.raws.after,void 0!==t))return!1}),t}rawIndent(e){if(e.raws.indent)return e.raws.indent;let t;return e.walk(n=>{let r=n.parent;if(r&&r!==e&&r.parent&&r.parent===e&&void 0!==n.raws.before){let e=n.raws.before.split("\n");return t=e[e.length-1],t=t.replace(/\S/g,""),!1}}),t}rawSemicolon(e){let t;return e.walk(e=>{if(e.nodes&&e.nodes.length&&"decl"===e.last.type&&(t=e.raws.semicolon,void 0!==t))return!1}),t}rawValue(e,t){let n=e[t],r=e.raws[t];return r&&r.value===n?r.raw:n}root(e){if(e.source&&e.source.input.hasBOM&&this.builder("\ufeff",e,"start"),this.body(e),e.raws.after){let t=e.raws.after,n=e.parent&&"document"===e.parent.type;this.builder(n?t:i(t))}}rule(e){this.block(e,this.rawValue(e,"selector")),e.raws.ownSemicolon&&this.builder(i(e.raws.ownSemicolon),e,"end")}stringify(e,t){if(!this[e.type])throw new Error("Unknown AST node type "+e.type+". Maybe you need to change PostCSS stringifier.");this[e.type](e,t)}}
2e.exports=c,c.default=c},66901(e,t,n){"use strict";let r=n(60158);function i(e,t){new r(t).stringify(e)}e.exports=i,i.default=i},53481(e){"use strict";e.exports.isClean=Symbol("isClean"),e.exports.my=Symbol("my")},68883(e){"use strict";const t="'".charCodeAt(0),n='"'.charCodeAt(0),r="\\".charCodeAt(0),i="/".charCodeAt(0),o="\n".charCodeAt(0),s=" ".charCodeAt(0),a="\f".charCodeAt(0),l="\t".charCodeAt(0),c="\r".charCodeAt(0),u="[".charCodeAt(0),h="]".charCodeAt(0),f="(".charCodeAt(0),d=")".charCodeAt(0),p="{".charCodeAt(0),m="}".charCodeAt(0),g=";".charCodeAt(0),v="*".charCodeAt(0),y=":".charCodeAt(0),w="@".charCodeAt(0),x=/[\t\n\f\r "#'()/;[\\\]{}]/g,b=/[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g,_=/.[\r\n"'(/\\]/,C=/[\da-f]/i;e.exports=function(e,j={}){let k,A,M,S,O,N,L,E,T,z,P=e.css.valueOf(),R=j.ignoreErrors,$=P.length,I=0,H=[],D=[],B=-1;function V(t){throw e.error("Unclosed "+t,I)}return{back:function(e){D.push(e)},endOfFile:function(){return 0===D.length&&I>=$},nextToken:function(e){if(D.length)return D.pop();if(I>=$)return;let j=!!e&&e.ignoreUnclosed;switch(k=P.charCodeAt(I),k){case o:case s:case l:case c:case a:S=I;do{S+=1,k=P.charCodeAt(S)}while(k===s||k===o||k===l||k===c||k===a);N=["space",P.slice(I,S)],I=S-1;break;case u:case h:case p:case m:case y:case g:case d:{let e=String.fromCharCode(k);N=[e,e,I];break}case f:if(z=H.length?H.pop()[1]:"",T=P.charCodeAt(I+1),"url"===z&&T!==t&&T!==n&&T!==s&&T!==o&&T!==l&&T!==a&&T!==c){S=I;do{if(L=!1,S=P.indexOf(")",S+1),-1===S){if(R||j){S=I;break}V("bracket")}for(E=S;P.charCodeAt(E-1)===r;)E-=1,L=!L}while(L);N=["brackets",P.slice(I,S+1),I,S],I=S}else I<=B?N=["(","(",I]:(S=P.indexOf(")",I+1),A=P.slice(I,S+1),-1===S||_.test(A)?(B=-1===S?$:S,N=["(","(",I]):(N=["brackets",A,I,S],I=S));break;case t:case n:O=k===t?"'":'"',S=I;do{if(L=!1,S=P.indexOf(O,S+1),-1===S){if(R||j){S=I+1;break}V("string")}for(E=S;P.charCodeAt(E-1)===r;)E-=1,L=!L}while(L);N=["string",P.slice(I,S+1),I,S],I=S;break;case w:x.lastIndex=I+1,x.test(P),S=0===x.lastIndex?P.length-1:x.lastIndex-2,N=["at-word",P.slice(I,S+1),I,S],I=S;break;case r:for(S=I,M=!0;P.charCodeAt(S+1)===r;)S+=1,M=!M;if(k=P.charCodeAt(S+1),M&&k!==i&&k!==s&&k!==o&&k!==l&&k!==c&&k!==a&&(S+=1,C.test(P.charAt(S)))){for(;C.test(P.charAt(S+1));)S+=1;P.charCodeAt(S+1)===s&&(S+=1)}N=["word",P.slice(I,S+1),I,S],I=S;break;default:k===i&&P.charCodeAt(I+1)===v?(S=P.indexOf("*/",I+2)+1,0===S&&(R||j?S=P.length:V("comment")),N=["comment",P.slice(I,S+1),I,S],I=S):(b.lastIndex=I+1,b.test(P),S=0===b.lastIndex?P.length-1:b.lastIndex-2,N=["word",P.slice(I,S+1),I,S],H.push(N),I=S)}return I++,N},position:function(){return I}}}},38638(e){"use strict";let t={};e.exports=function(e){t[e]||(t[e]=!0,"undefined"!=typeof console&&console.warn&&console.warn(e))}},52684(e,t,n){"use strict";let r=n(44159),{my:i}=n(53481);class o{constructor(e,t={}){if(this.type="warning",this.text=e,t.node&&t.node.source){t.node[i]||r.rebuild(t.node);let e=t.node.rangeBy(t);this.line=e.start.line,this.column=e.start.column,this.endLine=e.end.line,this.endColumn=e.end.column}for(let e in t)this[e]=t[e]}toString(){return this.node?this.node.error(this.text,{index:this.index,plugin:this.plugin,word:this.word}).message:this.plugin?this.plugin+": "+this.text:this.text}}e.exports=o,o.default=o},16186(e,t,n){"use strict";var r=n(62985);function i(){}function o(){}o.resetWarningCache=i,e.exports=function(){function e(e,t,n,i,o,s){if(s!==r){var a=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw a.name="Invariant Violation",a}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:o,resetWarningCache:i}
2;return n.PropTypes=n,n}},2736(e,t,n){e.exports=n(16186)()},62985(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},34072(e){var t="undefined"!=typeof Element,n="function"==typeof Map,r="function"==typeof Set,i="function"==typeof ArrayBuffer&&!!ArrayBuffer.isView;function o(e,s){if(e===s)return!0;if(e&&s&&"object"==typeof e&&"object"==typeof s){if(e.constructor!==s.constructor)return!1;var a,l,c,u;if(Array.isArray(e)){if((a=e.length)!=s.length)return!1;for(l=a;0!==l--;)if(!o(e[l],s[l]))return!1;return!0}if(n&&e instanceof Map&&s instanceof Map){if(e.size!==s.size)return!1;for(u=e.entries();!(l=u.next()).done;)if(!s.has(l.value[0]))return!1;for(u=e.entries();!(l=u.next()).done;)if(!o(l.value[1],s.get(l.value[0])))return!1;return!0}if(r&&e instanceof Set&&s instanceof Set){if(e.size!==s.size)return!1;for(u=e.entries();!(l=u.next()).done;)if(!s.has(l.value[0]))return!1;return!0}if(i&&ArrayBuffer.isView(e)&&ArrayBuffer.isView(s)){if((a=e.length)!=s.length)return!1;for(l=a;0!==l--;)if(e[l]!==s[l])return!1;return!0}if(e.constructor===RegExp)return e.source===s.source&&e.flags===s.flags;if(e.valueOf!==Object.prototype.valueOf&&"function"==typeof e.valueOf&&"function"==typeof s.valueOf)return e.valueOf()===s.valueOf();if(e.toString!==Object.prototype.toString&&"function"==typeof e.toString&&"function"==typeof s.toString)return e.toString()===s.toString();if((a=(c=Object.keys(e)).length)!==Object.keys(s).length)return!1;for(l=a;0!==l--;)if(!Object.prototype.hasOwnProperty.call(s,c[l]))return!1;if(t&&e instanceof Element)return!1;for(l=a;0!==l--;)if(("_owner"!==c[l]&&"__v"!==c[l]&&"__o"!==c[l]||!e.$$typeof)&&!o(e[c[l]],s[c[l]]))return!1;return!0}return e!=e&&s!=s}e.exports=function(e,t){try{return o(e,t)}catch(e){if((e.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw e}}},68077(e,t,n){"use strict";n.d(t,{mg:()=>G,vd:()=>D});var r=n(71763),i=n(34072),o=n.n(i),s=n(29597),a=n.n(s),l=n(62945),c=n.n(l),u=(e=>(e.BASE="base",e.BODY="body",e.HEAD="head",e.HTML="html",e.LINK="link",e.META="meta",e.NOSCRIPT="noscript",e.SCRIPT="script",e.STYLE="style",e.TITLE="title",e.FRAGMENT="Symbol(react.fragment)",e))(u||{}),h={rel:["amphtml","canonical","alternate"]},f={type:["application/ld+json"]},d={charset:"",name:["generator","robots","description"],property:["og:type","og:title","og:url","og:image","og:image:alt","og:description","twitter:url","twitter:title","twitter:description","twitter:image","twitter:image:alt","twitter:card","twitter:site"]},p=Object.values(u),m={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"},g=Object.entries(m).reduce((e,[t,n])=>(e[n]=t,e),{}),v="data-rh",y=(e,t)=>{for(let n=e.length-1;n>=0;n-=1){const r=e[n];if(Object.prototype.hasOwnProperty.call(r,t))return r[t]}return null},w=e=>{let t=y(e,"title");const n=y(e,"titleTemplate");if(Array.isArray(t)&&(t=t.join("")),n&&t)return n.replace(/%s/g,()=>t);const r=y(e,"defaultTitle");return t||r||void 0},x=e=>y(e,"onChangeClientState")||(()=>{}),b=(e,t)=>t.filter(t=>void 0!==t[e]).map(t=>t[e]).reduce((e,t)=>({...e,...t}),{}),_=(e,t)=>t.filter(e=>void 0!==e.base).map(e=>e.base).reverse().reduce((t,n)=>{if(!t.length){const r=Object.keys(n);for(let i=0;i<r.length;i+=1){const o=r[i].toLowerCase();if(-1!==e.indexOf(o)&&n[o])return t.concat(n)}}return t},[]),C=(e,t,n)=>{const r={};return n.filter(t=>{return!!Array.isArray(t[e])||(void 0!==t[e]&&(n=`Helmet: ${e} should be of type "Array". Instead found type "${typeof t[e]}"`,console&&"function"==typeof console.warn&&console.warn(n)),!1);var n}).map(t=>t[e]).reverse().reduce((e,n)=>{const i={};n.filter(e=>{let n;const o=Object.keys(e);for(let r=0;r<o.length;r+=1){const i=o[r],s=i.toLowerCase();-1===t.indexOf(s)||"rel"===n&&"canonical"===e[n].toLowerCase()||"rel"===s&&"stylesheet"===e[s].toLowerCase()||(n=s),-1===t.indexOf(i)||"innerHTML"!==i&&"cssText"!==i&&"itemprop"!==i||(n=i)}if(!n||!e[n])return!1;const s=e[n].toLowerCase();return r[n]||(r[n]={}),i[n]||(i[n]={}),!r[n][s]&&(i[n][s]=!0,!0)}
2).reverse().forEach(t=>e.push(t));const o=Object.keys(i);for(let e=0;e<o.length;e+=1){const t=o[e],n={...r[t],...i[t]};r[t]=n}return e},[]).reverse()},j=(e,t)=>{if(Array.isArray(e)&&e.length)for(let n=0;n<e.length;n+=1)if(e[n][t])return!0;return!1},k=e=>Array.isArray(e)?e.join(""):e,A=(e,t)=>Array.isArray(e)?e.reduce((e,n)=>(((e,t)=>{const n=Object.keys(e);for(let r=0;r<n.length;r+=1)if(t[n[r]]&&t[n[r]].includes(e[n[r]]))return!0;return!1})(n,t)?e.priority.push(n):e.default.push(n),e),{priority:[],default:[]}):{default:e,priority:[]},M=(e,t)=>({...e,[t]:void 0}),S=["noscript","script","style"],O=(e,t=!0)=>!1===t?String(e):String(e).replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'"),N=e=>Object.keys(e).reduce((t,n)=>{const r=void 0!==e[n]?`${n}="${e[n]}"`:`${n}`;return t?`${t} ${r}`:r},""),L=(e,t={})=>Object.keys(e).reduce((t,n)=>(t[m[n]||n]=e[n],t),t),E=(e,t)=>t.map((t,n)=>{const i={key:n,[v]:!0};return Object.keys(t).forEach(e=>{const n=m[e]||e;if("innerHTML"===n||"cssText"===n){const e=t.innerHTML||t.cssText;i.dangerouslySetInnerHTML={__html:e}}else i[n]=t[e]}),r.createElement(e,i)}),T=(e,t,n=!0)=>{switch(e){case"title":return{toComponent:()=>((e,t,n)=>{const i=L(n,{key:t,[v]:!0});return[r.createElement("title",i,t)]})(0,t.title,t.titleAttributes),toString:()=>((e,t,n,r)=>{const i=N(n),o=k(t);return i?`<${e} ${v}="true" ${i}>${O(o,r)}</${e}>`:`<${e} ${v}="true">${O(o,r)}</${e}>`})(e,t.title,t.titleAttributes,n)};case"bodyAttributes":case"htmlAttributes":return{toComponent:()=>L(t),toString:()=>N(t)};default:return{toComponent:()=>E(e,t),toString:()=>((e,t,n=!0)=>t.reduce((t,r)=>{const i=r,o=Object.keys(i).filter(e=>!("innerHTML"===e||"cssText"===e)).reduce((e,t)=>{const r=void 0===i[t]?t:`${t}="${O(i[t],n)}"`;return e?`${e} ${r}`:r},""),s=i.innerHTML||i.cssText||"",a=-1===S.indexOf(e);return`${t}<${e} ${v}="true" ${o}${a?"/>":`>${s}</${e}>`}`},""))(e,t,n)}}},z=e=>{const{baseTag:t,bodyAttributes:n,encode:r=!0,htmlAttributes:i,noscriptTags:o,styleTags:s,title:a="",titleAttributes:l,prioritizeSeoTags:c}=e;let{linkTags:u,metaTags:p,scriptTags:m}=e,g={toComponent:()=>[],toString:()=>""};return c&&({priorityMethods:g,linkTags:u,metaTags:p,scriptTags:m}=(({metaTags:e,linkTags:t,scriptTags:n,encode:r})=>{const i=A(e,d),o=A(t,h),s=A(n,f);return{priorityMethods:{toComponent:()=>[...E("meta",i.priority),...E("link",o.priority),...E("script",s.priority)],toString:()=>`${T("meta",i.priority,r)} ${T("link",o.priority,r)} ${T("script",s.priority,r)}`},metaTags:i.default,linkTags:o.default,scriptTags:s.default}})(e)),{priority:g,base:T("base",t,r),bodyAttributes:T("bodyAttributes",n,r),htmlAttributes:T("htmlAttributes",i,r),link:T("link",u,r),meta:T("meta",p,r),noscript:T("noscript",o,r),script:T("script",m,r),style:T("style",s,r),title:T("title",{title:a,titleAttributes:l},r)}},P=[],R=!("undefined"==typeof window||!window.document||!window.document.createElement),$=class{instances=[];canUseDOM=R;context;value={setHelmet:e=>{this.context.helmet=e},helmetInstances:{get:()=>this.canUseDOM?P:this.instances,add:e=>{(this.canUseDOM?P:this.instances).push(e)},remove:e=>{const t=(this.canUseDOM?P:this.instances).indexOf(e);(this.canUseDOM?P:this.instances).splice(t,1)}}};constructor(e,t){this.context=e,this.canUseDOM=t||!1,t||(e.helmet=z({baseTag:[],bodyAttributes:{},encodeSpecialCharacters:!0,htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}}))}},I=parseInt(r.version.split(".")[0],10)>=19,H=r.createContext({}),D=class e extends r.Component{static canUseDOM=R;helmetData;constructor(t){super(t),this.helmetData=I?null:new $(this.props.context||{},e.canUseDOM)}render(){return I?r.createElement(r.Fragment,null,this.props.children):r.createElement(H.Provider,{value:this.helmetData.value},this.props.children)}},B=(e,t)=>{const n=document.head||document.querySelector("head"),r=n.querySelectorAll(`${e}[${v}]`),i=[].slice.call(r),o=[];let s;return t&&t.length&&t.forEach(t=>{const n=document.createElement(e);for(const e in t)if(Object.prototype.hasOwnProperty.call(t,e))if("innerHTML"===e)n.innerHTML=t.innerHTML;else if("cssText"===e){const e=t.cssText;n.appendChild(document.createTextNode(e))}else{const r=e,i=void 0===t[r]?"":t[r];n.setAttribute(e,i)}n.setAttribute(v,"true"),i.some((e,t)=>(s=t,n.isEqualNode(e)))?i.splice(s,1):o.push(n)}
2),i.forEach(e=>e.parentNode?.removeChild(e)),o.forEach(e=>n.appendChild(e)),{oldTags:i,newTags:o}},V=(e,t)=>{const n=document.getElementsByTagName(e)[0];if(!n)return;const r=n.getAttribute(v),i=r?r.split(","):[],o=[...i],s=Object.keys(t);for(const e of s){const r=t[e]||"";n.getAttribute(e)!==r&&n.setAttribute(e,r),-1===i.indexOf(e)&&i.push(e);const s=o.indexOf(e);-1!==s&&o.splice(s,1)}for(let e=o.length-1;e>=0;e-=1)n.removeAttribute(o[e]);i.length===o.length?n.removeAttribute(v):n.getAttribute(v)!==s.join(",")&&n.setAttribute(v,s.join(","))},F=(e,t)=>{const{baseTag:n,bodyAttributes:r,htmlAttributes:i,linkTags:o,metaTags:s,noscriptTags:a,onChangeClientState:l,scriptTags:c,styleTags:u,title:h,titleAttributes:f}=e;V("body",r),V("html",i),((e,t)=>{void 0!==e&&document.title!==e&&(document.title=k(e)),V("title",t)})(h,f);const d={baseTag:B("base",n),linkTags:B("link",o),metaTags:B("meta",s),noscriptTags:B("noscript",a),scriptTags:B("script",c),styleTags:B("style",u)},p={},m={};Object.keys(d).forEach(e=>{const{newTags:t,oldTags:n}=d[e];t.length&&(p[e]=t),n.length&&(m[e]=d[e].oldTags)}),t&&t(),l(e,p,m)},U=null,q=class extends r.Component{rendered=!1;shouldComponentUpdate(e){return!c()(e,this.props)}componentDidUpdate(){this.emitChange()}componentWillUnmount(){const{helmetInstances:e}=this.props.context;e.remove(this),this.emitChange()}emitChange(){const{helmetInstances:e,setHelmet:t}=this.props.context;let n=null;const r=(i=e.get().map(e=>{const{context:t,...n}=e.props;return n}),{baseTag:_(["href"],i),bodyAttributes:b("bodyAttributes",i),defer:y(i,"defer"),encode:y(i,"encodeSpecialCharacters"),htmlAttributes:b("htmlAttributes",i),linkTags:C("link",["rel","href"],i),metaTags:C("meta",["name","charset","http-equiv","property","itemprop"],i),noscriptTags:C("noscript",["innerHTML"],i),onChangeClientState:x(i),scriptTags:C("script",["src","innerHTML"],i),styleTags:C("style",["cssText"],i),title:w(i),titleAttributes:b("titleAttributes",i),prioritizeSeoTags:j(i,"prioritizeSeoTags")});var i,o;D.canUseDOM?(o=r,U&&cancelAnimationFrame(U),o.defer?U=requestAnimationFrame(()=>{F(o,()=>{U=null})}):(F(o),U=null)):z&&(n=z(r)),t(n)}init(){if(this.rendered)return;this.rendered=!0;const{helmetInstances:e}=this.props.context;e.add(this),this.emitChange()}render(){return this.init(),null}},W=[],Y=e=>{const t={};for(const n of Object.keys(e))t[g[n]||n]=e[n];return t},Z=e=>{const t={};for(const n of Object.keys(e))t[m[n]||n]=e[n];return t},X=(e,t)=>{if(!R)return;const n=document.getElementsByTagName(e)[0];if(!n)return;const r="data-rh-managed",i=n.getAttribute(r),o=i?i.split(","):[],s=Object.keys(t);for(const e of o)s.includes(e)||n.removeAttribute(e);for(const e of s){const r=t[e];null==r||!1===r?n.removeAttribute(e):!0===r?n.setAttribute(e,""):n.setAttribute(e,String(r))}s.length>0?n.setAttribute(r,s.join(",")):n.removeAttribute(r)},K=()=>{const e={},t={};for(const n of W){const{htmlAttributes:r,bodyAttributes:i}=n.props;r&&Object.assign(e,Y(r)),i&&Object.assign(t,Y(i))}X("html",e),X("body",t)},J=class extends r.Component{componentDidMount(){W.push(this),K()}componentDidUpdate(){K()}componentWillUnmount(){const e=W.indexOf(this);-1!==e&&W.splice(e,1),K()}resolveTitle(){const{title:e,titleTemplate:t,defaultTitle:n}=this.props;return e&&t?t.replace(/%s/g,()=>Array.isArray(e)?e.join(""):e):e||n||void 0}renderTitle(){const e=this.resolveTitle();if(void 0===e)return null;const t=this.props.titleAttributes||{};return r.createElement("title",Z(t),e)}renderBase(){const{base:e}=this.props;return e?r.createElement("base",Z(e)):null}renderMeta(){const{meta:e}=this.props;return e&&Array.isArray(e)?e.map((e,t)=>r.createElement("meta",{key:t,...Z(e)})):null}renderLink(){const{link:e}=this.props;return e&&Array.isArray(e)?e.map((e,t)=>r.createElement("link",{key:t,...Z(e)})):null}renderScript(){const{script:e}=this.props;return e&&Array.isArray(e)?e.map((e,t)=>{const{innerHTML:n,...i}=e,o=Z(i);return n&&(o.dangerouslySetInnerHTML={__html:n}),r.createElement("script",{key:t,...o})}):null}renderStyle(){const{style:e}=this.props;return e&&Array.isArray(e)?e.map((e,t)=>{const{cssText:n,...i}=e,o=Z(i);return n&&(o.dangerouslySetInnerHTML={__html:n}),r.createElement("style",{key:t,...o})}):null}renderNoscript(){const{noscript:e}=this.props;return e&&Array.isArray(e)?e.map((e,t)=>{const{innerHTML:n,...i}=e,o=Z(i);return n&&(o.dangerouslySetInnerHTML={__html:n}),r.createElement("noscript",{key:t,...o})}):null}render(){return r.createElement(r.Fragment,null,this.renderTitle(),this.renderBase(),this.renderMeta(),this.renderLink(),this.renderScript(),this.renderStyle(),this.renderNoscript())}},G=class extends r.Component{static defaultProps={defer:!0,encodeSpecialCharacters:!0,prioritizeSeoTags:!1};shouldComponentUpdate(e){return!o()(M(this.props,"helmetData"),M(e,"helmetData"))}mapNestedChildrenToProps(e,t){if(!t)return null;switch(e.type){case"script":case"noscript":return{innerHTML:t};case"style":return{cssText:t};default:throw new Error(`<${e.type} /> elements are self-closing and can not contain children. Refer to our API for more information.`)}}flattenArrayTypeChildren(e,t,n,r){return{...t,[e.type]:[...t[e.type]||[],{...n,...this.mapNestedChildrenToProps(e,r)}]}}mapObjectTypeChildren(e,t,n,r){switch(e.type){case"title":return{...t,[e.type]:r,titleAttributes:{...n}};case"body":return{...t,bodyAttributes:{...n}};case"html":return{...t,htmlAttributes:{...n}};default:return{...t,[e.type]:{...n}}}}mapArrayTypeChildrenToProps(e,t){let n={...t};return Object.keys(e).forEach(t=>{n={...n,[t]:e[t]}}),n}
2warnOnInvalidChildren(e,t){return a()(p.some(t=>e.type===t),"function"==typeof e.type?"You may be attempting to nest <Helmet> components within each other, which is not allowed. Refer to our API for more information.":`Only elements types ${p.join(", ")} are allowed. Helmet does not support rendering <${e.type}> elements. Refer to our API for more information.`),a()(!t||"string"==typeof t||Array.isArray(t)&&!t.some(e=>"string"!=typeof e),`Helmet expects a string as a child of <${e.type}>. Did you forget to wrap your children in braces? ( <${e.type}>{\`\`}</${e.type}> ) Refer to our API for more information.`),!0}mapChildrenToProps(e,t){let n={};return r.Children.forEach(e,e=>{if(!e||!e.props)return;const{children:r,...i}=e.props,o=Object.keys(i).reduce((e,t)=>(e[g[t]||t]=i[t],e),{});let{type:s}=e;switch("symbol"==typeof s?s=s.toString():this.warnOnInvalidChildren(e,r),s){case"Symbol(react.fragment)":t=this.mapChildrenToProps(r,t);break;case"link":case"meta":case"noscript":case"script":case"style":n=this.flattenArrayTypeChildren(e,n,o,r);break;default:t=this.mapObjectTypeChildren(e,t,o,r)}}),this.mapArrayTypeChildrenToProps(n,t)}render(){const{children:e,...t}=this.props;let n={...t},{helmetData:i}=t;return e&&(n=this.mapChildrenToProps(e,n)),!i||i instanceof $||(i=new $(i.context,!0),delete n.helmetData),I?r.createElement(J,{...n}):i?r.createElement(q,{...n,context:i.value}):r.createElement(H.Consumer,null,e=>r.createElement(q,{...n,context:e}))}}},95843(e,t){"use strict";var n="function"==typeof Symbol&&Symbol.for,r=n?Symbol.for("react.element"):60103,i=n?Symbol.for("react.portal"):60106,o=n?Symbol.for("react.fragment"):60107,s=n?Symbol.for("react.strict_mode"):60108,a=n?Symbol.for("react.profiler"):60114,l=n?Symbol.for("react.provider"):60109,c=n?Symbol.for("react.context"):60110,u=n?Symbol.for("react.async_mode"):60111,h=n?Symbol.for("react.concurrent_mode"):60111,f=n?Symbol.for("react.forward_ref"):60112,d=n?Symbol.for("react.suspense"):60113,p=n?Symbol.for("react.suspense_list"):60120,m=n?Symbol.for("react.memo"):60115,g=n?Symbol.for("react.lazy"):60116,v=n?Symbol.for("react.block"):60121,y=n?Symbol.for("react.fundamental"):60117,w=n?Symbol.for("react.responder"):60118,x=n?Symbol.for("react.scope"):60119;function b(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case u:case h:case o:case a:case s:case d:return e;default:switch(e=e&&e.$$typeof){case c:case f:case g:case m:case l:return e;default:return t}}case i:return t}}}function _(e){return b(e)===h}t.AsyncMode=u,t.ConcurrentMode=h,t.ContextConsumer=c,t.ContextProvider=l,t.Element=r,t.ForwardRef=f,t.Fragment=o,t.Lazy=g,t.Memo=m,t.Portal=i,t.Profiler=a,t.StrictMode=s,t.Suspense=d,t.isAsyncMode=function(e){return _(e)||b(e)===u},t.isConcurrentMode=_,t.isContextConsumer=function(e){return b(e)===c},t.isContextProvider=function(e){return b(e)===l},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return b(e)===f},t.isFragment=function(e){return b(e)===o},t.isLazy=function(e){return b(e)===g},t.isMemo=function(e){return b(e)===m},t.isPortal=function(e){return b(e)===i},t.isProfiler=function(e){return b(e)===a},t.isStrictMode=function(e){return b(e)===s},t.isSuspense=function(e){return b(e)===d},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===o||e===h||e===a||e===s||e===d||e===p||"object"==typeof e&&null!==e&&(e.$$typeof===g||e.$$typeof===m||e.$$typeof===l||e.$$typeof===c||e.$$typeof===f||e.$$typeof===y||e.$$typeof===w||e.$$typeof===x||e.$$typeof===v)},t.typeOf=b},35959(e,t,n){"use strict";e.exports=n(95843)},85399(e,t,n){"use strict";n.d(t,{N_:()=>p});var r=n(66532),i=(n(20963),n(71763)),o=n(19591),s=n(78621),a=n(69244),l=n(25385);i.Component,i.Component;var c=function(e,t){return"function"==typeof e?e(t):e},u=function(e,t){return"string"==typeof e?(0,o.yJ)(e,null,null,t):e},h=function(e){return e},f=i.forwardRef;void 0===f&&(f=h);var d=f(function(e,t){var n=e.innerRef,r=e.navigate,o=e.onClick,l=(0,a.A)(e,["innerRef","navigate","onClick"]),c=l.target,u=(0,s.A)({},l,{onClick:function(e){try{o&&o(e)}catch(t){throw e.preventDefault(),t}e.defaultPrevented||0!==e.button||c&&"_self"!==c||function(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}(e)||(e.preventDefault(),r())}});return u.ref=h!==f&&t||n,i.createElement("a",u)}),p=f(function(e,t){var n=e.component,p=void 0===n?d:n,m=e.replace,g=e.to,v=e.innerRef,y=(0,a.A)(e,["component","replace","to","innerRef"]);return i.createElement(r.XZ.Consumer,null,function(e){e||(0,l.A)(!1);var n=e.history,r=u(c(g,e.location),e.location),a=r?n.createHref(r):"",d=(0,s.A)({},y,{href:a,navigate:function(){var t=c(g,e.location),r=(0,o.AO)(e.location)===(0,o.AO)(u(t));(m||r?n.replace:n.push)(t)}});return h!==f?d.ref=t||v:d.innerRef=v,i.createElement(p,d)})}),m=function(e){return e},g=i.forwardRef;void 0===g&&(g=m),g(function(e,t){var n=e["aria-current"],o=void 0===n?"page":n,h=e.activeClassName,f=void 0===h?"active":h,d=e.activeStyle,v=e.className,y=e.exact,w=e.isActive,x=e.location,b=e.sensitive,_=e.strict,C=e.style,j=e.to,k=e.innerRef,A=(0,a.A)(e,["aria-current","activeClassName","activeStyle","className","exact","isActive","location","sensitive","strict","style","to","innerRef"]);return i.createElement(r.XZ.Consumer,null,function(e){e||(0,l.A)(!1);var n=x||e.location,a=u(c(j,n),n),h=a.pathname,M=h&&h.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1"),S=M?(0,r.B6)(n.pathname,{path:M,exact:y,sensitive:b,strict:_}):null,O=!!(w?w(S,n):S),N="function"==typeof v?v(O):v,L="function"==typeof C?C(O):C;O&&(N=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.filter(function(e){return e}).join(" ")}(N,f),L=(0,s.A)({},L,d));var E=(0,s.A)({"aria-current":O&&o||null,className:N,style:L,to:a},A);return m!==g?E.ref=t||k:E.innerRef=k,i.createElement(p,E)})})},66532(e,t,n){"use strict";n.d(t,{B6:()=>O,Ix:()=>b,W5:()=>$,W6:()=>z,XZ:()=>x,dO:()=>L,g:()=>R,qh:()=>N,rd:()=>A,tW:()=>k,y:()=>E,zy:()=>P});var r=n(20963),i=n(71763),o=n(2736),s=n.n(o),a=n(19591),l=n(25385),c=n(78621),u=n(54785),h=n.n(u),f=(n(35959),n(69244)),d=n(31035),p=n.n(d),m=1073741823,g="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==n.g?n.g:{},v=i.createContext||function(e,t){var n,o,a,l="__create-react-context-"+((g[a="__global_unique_id__"]=(g[a]||0)+1)+"__"),c=function(e){function n(){for(var t,n,r,i=arguments.length,o=new Array(i),s=0;s<i;s++)o[s]=arguments[s];return(t=e.call.apply(e,[this].concat(o))||this).emitter=(n=t.props.value,r=[],{on:function(e){r.push(e)},off:function(e){r=r.filter(function(t){return t!==e})},get:function(){return n},set:function(e,t){n=e,r.forEach(function(e){return e(n,t)})}}),t}(0,r.A)(n,e);var i=n.prototype;return i.getChildContext=function(){var e;return(e={})[l]=this.emitter,e},i.componentWillReceiveProps=function(e){if(this.props.value!==e.value){var n,r=this.props.value,i=e.value;((o=r)===(s=i)?0!==o||1/o==1/s:o!=o&&s!=s)?n=0:(n="function"==typeof t?t(r,i):m,0!=(n|=0)&&this.emitter.set(e.value,n))}var o,s},i.render=function(){return this.props.children},n}(i.Component);c.childContextTypes=((n={})[l]=s().object.isRequired,n);var u=function(t){function n(){for(var e,n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return(e=t.call.apply(t,[this].concat(r))||this).observedBits=void 0,e.state={value:e.getValue()},e.onUpdate=function(t,n){(0|e.observedBits)&n&&e.setState({value:e.getValue()})},e}(0,r.A)(n,t);var i=n.prototype;return i.componentWillReceiveProps=function(e){var t=e.observedBits;this.observedBits=t??m},i.componentDidMount=function(){this.context[l]&&this.context[l].on(this.onUpdate);var e=this.props.observedBits;this.observedBits=e??m},i.componentWillUnmount=function(){this.context[l]&&this.context[l].off(this.onUpdate)},i.getValue=function(){return this.context[l]?this.context[l].get():e},i.render=function(){return(e=this.props.children,Array.isArray(e)?e[0]:e)(this.state.value);var e},n}(i.Component);return u.contextTypes=((o={})[l]=s().object,o),{Provider:c,Consumer:u}},y=function(e){var t=v();return t.displayName=e,t},w=y("Router-History"),x=y("Router"),b=function(e){function t(t){var n;return(n=e.call(this,t)||this).state={location:t.history.location},n._isMounted=!1,n._pendingLocation=null,t.staticContext||(n.unlisten=t.history.listen(function(e){n._pendingLocation=e})),n}(0,r.A)(t,e),t.computeRootMatch=function(e){return{path:"/",url:"/",params:{},isExact:"/"===e}};var n=t.prototype;return n.componentDidMount=function(){var e=this;this._isMounted=!0,this.unlisten&&this.unlisten(),this.props.staticContext||(this.unlisten=this.props.history.listen(function(t){e._isMounted&&e.setState({location:t})}
2)),this._pendingLocation&&this.setState({location:this._pendingLocation})},n.componentWillUnmount=function(){this.unlisten&&(this.unlisten(),this._isMounted=!1,this._pendingLocation=null)},n.render=function(){return i.createElement(x.Provider,{value:{history:this.props.history,location:this.state.location,match:t.computeRootMatch(this.state.location.pathname),staticContext:this.props.staticContext}},i.createElement(w.Provider,{children:this.props.children||null,value:this.props.history}))},t}(i.Component);i.Component;var _=function(e){function t(){return e.apply(this,arguments)||this}(0,r.A)(t,e);var n=t.prototype;return n.componentDidMount=function(){this.props.onMount&&this.props.onMount.call(this,this)},n.componentDidUpdate=function(e){this.props.onUpdate&&this.props.onUpdate.call(this,this,e)},n.componentWillUnmount=function(){this.props.onUnmount&&this.props.onUnmount.call(this,this)},n.render=function(){return null},t}(i.Component),C={},j=0;function k(e,t){return void 0===e&&(e="/"),void 0===t&&(t={}),"/"===e?e:function(e){if(C[e])return C[e];var t=h().compile(e);return j<1e4&&(C[e]=t,j++),t}(e)(t,{pretty:!0})}function A(e){var t=e.computedMatch,n=e.to,r=e.push,o=void 0!==r&&r;return i.createElement(x.Consumer,null,function(e){e||(0,l.A)(!1);var r=e.history,s=e.staticContext,u=o?r.push:r.replace,h=(0,a.yJ)(t?"string"==typeof n?k(n,t.params):(0,c.A)({},n,{pathname:k(n.pathname,t.params)}):n);return s?(u(h),null):i.createElement(_,{onMount:function(){u(h)},onUpdate:function(e,t){var n=(0,a.yJ)(t.to);(0,a.Fu)(n,(0,c.A)({},h,{key:n.key}))||u(h)},to:n})})}var M={},S=0;function O(e,t){void 0===t&&(t={}),("string"==typeof t||Array.isArray(t))&&(t={path:t});var n=t,r=n.path,i=n.exact,o=void 0!==i&&i,s=n.strict,a=void 0!==s&&s,l=n.sensitive,c=void 0!==l&&l;return[].concat(r).reduce(function(t,n){if(!n&&""!==n)return null;if(t)return t;var r=function(e,t){var n=""+t.end+t.strict+t.sensitive,r=M[n]||(M[n]={});if(r[e])return r[e];var i=[],o={regexp:h()(e,i,t),keys:i};return S<1e4&&(r[e]=o,S++),o}(n,{end:o,strict:a,sensitive:c}),i=r.regexp,s=r.keys,l=i.exec(e);if(!l)return null;var u=l[0],f=l.slice(1),d=e===u;return o&&!d?null:{path:n,url:"/"===n&&""===u?"/":u,isExact:d,params:s.reduce(function(e,t,n){return e[t.name]=f[n],e},{})}},null)}var N=function(e){function t(){return e.apply(this,arguments)||this}return(0,r.A)(t,e),t.prototype.render=function(){var e=this;return i.createElement(x.Consumer,null,function(t){t||(0,l.A)(!1);var n=e.props.location||t.location,r=e.props.computedMatch?e.props.computedMatch:e.props.path?O(n.pathname,e.props):t.match,o=(0,c.A)({},t,{location:n,match:r}),s=e.props,a=s.children,u=s.component,h=s.render;return Array.isArray(a)&&function(e){return 0===i.Children.count(e)}(a)&&(a=null),i.createElement(x.Provider,{value:o},o.match?a?"function"==typeof a?a(o):a:u?i.createElement(u,o):h?h(o):null:"function"==typeof a?a(o):null)})},t}(i.Component);i.Component;var L=function(e){function t(){return e.apply(this,arguments)||this}return(0,r.A)(t,e),t.prototype.render=function(){var e=this;return i.createElement(x.Consumer,null,function(t){t||(0,l.A)(!1);var n,r,o=e.props.location||t.location;return i.Children.forEach(e.props.children,function(e){if(null==r&&i.isValidElement(e)){n=e;var s=e.props.path||e.props.from;r=s?O(o.pathname,(0,c.A)({},e.props,{path:s})):t.match}}),r?i.cloneElement(n,{location:o,computedMatch:r}):null})},t}(i.Component);function E(e){var t="withRouter("+(e.displayName||e.name)+")",n=function(t){var n=t.wrappedComponentRef,r=(0,f.A)(t,["wrappedComponentRef"]);return i.createElement(x.Consumer,null,function(t){return t||(0,l.A)(!1),i.createElement(e,(0,c.A)({},r,t,{ref:n}))})};return n.displayName=t,n.WrappedComponent=e,p()(n,e)}var T=i.useContext;function z(){return T(w)}function P(){return T(x).location}function R(){var e=T(x).match;return e?e.params:{}}function $(e){var t=P(),n=T(x).match;return e?O(t.pathname,e):n}},64697(e,t){"use strict";function n(e,t){var n=e.length;e.push(t);e:for(;0<n;){var r=n-1>>>1,i=e[r];if(!(0<o(i,t)))break e;e[r]=t,e[n]=i,n=r}}function r(e){return 0===e.length?null:e[0]}function i(e){if(0===e.length)return null;var t=e[0],n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,i=e.length,s=i>>>1;r<s;){var a=2*(r+1)-1,l=e[a],c=a+1,u=e[c];if(0>o(l,n))c<i&&0>o(u,l)?(e[r]=u,e[c]=n,r=c):(e[r]=l,e[a]=n,r=a);else{if(!(c<i&&0>o(u,n)))break e;e[r]=u,e[c]=n,r=c}}}return t}function o(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}if(t.unstable_now=void 0,"object"==typeof performance&&"function"==typeof performance.now){var s=performance;t.unstable_now=function(){return s.now()}}else{var a=Date,l=a.now();t.unstable_now=function(){return a.now()-l}}var c=[],u=[],h=1,f=null,d=3,p=!1,m=!1,g=!1,v=!1,y="function"==typeof setTimeout?setTimeout:null,w="function"==typeof clearTimeout?clearTimeout:null,x="undefined"!=typeof setImmediate?setImmediate:null;function b(e){for(var t=r(u);null!==t;){if(null===t.callback)i(u);else{if(!(t.startTime<=e))break;i(u),t.sortIndex=t.expirationTime,n(c,t)}t=r(u)}}function _(e){if(g=!1,b(e),!m)if(null!==r(c))m=!0,j||(j=!0,C());else{var t=r(u);null!==t&&E(_,t.startTime-e)}}var C,j=!1,k=-1,A=5,M=-1;function S(){return!(!v&&t.unstable_now()-M<A)}function O(){if(v=!1,j){var e=t.unstable_now();M=e;var n=!0;try{e:{m=!1,g&&(g=!1,w(k),k=-1),p=!0;var o=d;try{t:{for(b(e),f=r(c);null!==f&&!(f.expirationTime>e&&S());){var s=f.callback;if("function"==typeof s){f.callback=null,d=f.priorityLevel;var a=s(f.expirationTime<=e);if(e=t.unstable_now(),"function"==typeof a){f.callback=a,b(e),n=!0;break t}f===r(c)&&i(c),b(e)}else i(c);f=r(c)}if(null!==f)n=!0;else{var l=r(u);null!==l&&E(_,l.startTime-e),n=!1}}break e}finally{f=null,d=o,p=!1}
2n=void 0}}finally{n?C():j=!1}}}if("function"==typeof x)C=function(){x(O)};else if("undefined"!=typeof MessageChannel){var N=new MessageChannel,L=N.port2;N.port1.onmessage=O,C=function(){L.postMessage(null)}}else C=function(){y(O,0)};function E(e,n){k=y(function(){e(t.unstable_now())},n)}t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):A=0<e?Math.floor(1e3/e):5},t.unstable_getCurrentPriorityLevel=function(){return d},t.unstable_next=function(e){switch(d){case 1:case 2:case 3:var t=3;break;default:t=d}var n=d;d=t;try{return e()}finally{d=n}},t.unstable_requestPaint=function(){v=!0},t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=d;d=e;try{return t()}finally{d=n}},t.unstable_scheduleCallback=function(e,i,o){var s=t.unstable_now();switch(o="object"==typeof o&&null!==o&&"number"==typeof(o=o.delay)&&0<o?s+o:s,e){case 1:var a=-1;break;case 2:a=250;break;case 5:a=1073741823;break;case 4:a=1e4;break;default:a=5e3}return e={id:h++,callback:i,priorityLevel:e,startTime:o,expirationTime:a=o+a,sortIndex:-1},o>s?(e.sortIndex=o,n(u,e),null===r(c)&&e===r(u)&&(g?(w(k),k=-1):g=!0,E(_,o-s))):(e.sortIndex=a,n(c,e),m||p||(m=!0,j||(j=!0,C()))),e},t.unstable_shouldYield=S,t.unstable_wrapCallback=function(e){var t=d;return function(){var n=d;d=t;try{return e.apply(this,arguments)}finally{d=n}}}},15666(e,t,n){"use strict";e.exports=n(64697)},62945(e){e.exports=function(e,t,n,r){var i=n?n.call(r,e,t):void 0;if(void 0!==i)return!!i;if(e===t)return!0;if("object"!=typeof e||!e||"object"!=typeof t||!t)return!1;var o=Object.keys(e),s=Object.keys(t);if(o.length!==s.length)return!1;for(var a=Object.prototype.hasOwnProperty.bind(t),l=0;l<o.length;l++){var c=o[l];if(!a(c))return!1;var u=e[c],h=t[c];if(!1===(i=n?n.call(r,u,h,c):void 0)||void 0===i&&u!==h)return!1}return!0}},97500(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];n&&(e=s(e,o(n)))}return e}function o(e){if("string"==typeof e||"number"==typeof e)return e;if("object"!=typeof e)return"";if(Array.isArray(e))return i.apply(null,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var t="";for(var n in e)r.call(e,n)&&e[n]&&(t=s(t,n));return t}function s(e,t){return t?e?e+" "+t:e+t:e}e.exports?(i.default=i,e.exports=i):void 0===(n=function(){return i}.apply(t,[]))||(e.exports=n)}()},54597(e,t,n){"use strict";var r=n(23176),i=n(23162),o=n(76226),s=n(98258);e.exports=function(e,t){t&&"string"==typeof e||i(e);var n=s(e);return o(i(void 0!==n?r(n,e):e))}},90508(e,t,n){"use strict";var r=n(67725),i=n(23176),o=n(62481),s=n(23162),a=n(76226),l=n(54597),c=n(47211),u=n(11380),h=n(84214),f=n(86483),d=n(14610),p=!h&&!f("flatMap",function(){}),m=!h&&!p&&d("flatMap",TypeError),g=h||p||m||function(){try{var e=Iterator.prototype.flatMap.call(new Map([[4,5]]).entries(),function(e){return e});e.next(),e.return()}catch(e){return!0}}(),v=c(function(){for(var e,t,n=this.iterator,r=this.mapper;;){if(t=this.inner)try{if(!(e=s(i(t.next,t.iterator))).done)return e.value;this.inner=null}catch(e){u(n,"throw",e)}if(e=s(i(this.next,n)),this.done=!!e.done)return;try{this.inner=l(r(e.value,this.counter++),!1)}catch(e){u(n,"throw",e)}}});r({target:"Iterator",proto:!0,real:!0,forced:g},{flatMap:function(e){s(this);try{o(e)}catch(e){u(this,"throw",e)}return m?i(m,this,e):new v(a(this),{mapper:e,inner:null})}})},71119(e,t,n){"use strict";var r=n(67725),i=n(23176),o=n(46841),s=n(62481),a=n(23162),l=n(76226),c=n(11380),u=n(14610)("forEach",TypeError);r({target:"Iterator",proto:!0,real:!0,forced:u},{forEach:function(e){a(this);try{s(e)}catch(e){c(this,"throw",e)}if(u)return i(u,this,e);var t=l(this),n=0;o(t,function(t){e(t,n++)},{IS_RECORD:!0})}})},38660(e,t,n){"use strict";var r=n(67725),i=n(23176),o=n(62481),s=n(23162),a=n(76226),l=n(47211),c=n(49836),u=n(11380),h=n(86483),f=n(14610),d=n(84214),p=!d&&!h("map",function(){}),m=!d&&!p&&f("map",TypeError),g=d||p||m,v=l(function(){var e=this.iterator,t=s(i(this.next,e));if(!(this.done=!!t.done))return c(e,this.mapper,[t.value,this.counter++],!0)});r({target:"Iterator",proto:!0,real:!0,forced:g},{map:function(e){s(this);try{o(e)}catch(e){u(this,"throw",e)}return m?i(m,this,e):new v(a(this),{mapper:e})}})},90882(e,t,n){"use strict";var r=n(67725),i=n(46841),o=n(62481),s=n(23162),a=n(76226),l=n(11380),c=n(14610),u=n(5990),h=n(18930),f=TypeError,d=h(function(){[].keys().reduce(function(){},void 0)}),p=!d&&c("reduce",f);r({target:"Iterator",proto:!0,real:!0,forced:d||p},{reduce:function(e){s(this);try{o(e)}catch(e){l(this,"throw",e)}var t=arguments.length<2,n=t?void 0:arguments[1];if(p)return u(p,this,t?[e]:[e,n]);var r=a(this),c=0;if(i(r,function(r){t?(t=!1,n=r):n=e(n,r,c),c++},{IS_RECORD:!0}),t)throw new f("Reduce of empty iterator with no initial value");return n}})},89946(e){e.exports={nanoid:(e=21)=>{let t="",n=0|e;for(;n-- >0;)t+="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict"[64*Math.random()|0];return t},customAlphabet:(e,t=21)=>(n=t)=>{let r="",i=0|n;for(;i-- >0;)r+=e[Math.random()*e.length|0];return r}}},78621(e,t,n){"use strict";function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},r.apply(null,arguments)}n.d(t,{A:()=>r})},20963(e,t,n){"use strict";function r(e,t){return r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},r(e,t)}function i(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,r(e,t)}n.d(t,{A:()=>i})},69244(e,t,n){"use strict";function r(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}n.d(t,{A:()=>r})},62382(e,t,n){"use strict";n.d(t,{UE:()=>ve,ll:()=>de,rD:()=>
vendor: 4,608 bytes, line 2
2ye,UU:()=>ge,cY:()=>pe,BN:()=>me});const r=Math.min,i=Math.max,o=Math.round,s=Math.floor,a=e=>({x:e,y:e}),l={left:"right",right:"left",bottom:"top",top:"bottom"};function c(e,t,n){return i(e,r(t,n))}function u(e,t){return"function"==typeof e?e(t):e}function h(e){return e.split("-")[0]}function f(e){return e.split("-")[1]}function d(e){return"x"===e?"y":"x"}function p(e){return"y"===e?"height":"width"}function m(e){const t=e[0];return"t"===t||"b"===t?"y":"x"}function g(e){return d(m(e))}function v(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}const y=["left","right"],w=["right","left"],x=["top","bottom"],b=["bottom","top"];function _(e){const t=h(e);return l[t]+e.slice(t.length)}function C(e){return"number"!=typeof e?function(e){var t,n,r,i;return{top:null!=(t=e.top)?t:0,right:null!=(n=e.right)?n:0,bottom:null!=(r=e.bottom)?r:0,left:null!=(i=e.left)?i:0}}(e):{top:e,right:e,bottom:e,left:e}}function j(e){const{x:t,y:n,width:r,height:i}=e;return{width:r,height:i,top:n,left:t,right:t+r,bottom:n+i,x:t,y:n}}function k(e,t,n){let{reference:r,floating:i}=e;const o=m(t),s=g(t),a=p(s),l=h(t),c="y"===o,u=r.x+r.width/2-i.width/2,d=r.y+r.height/2-i.height/2,v=r[a]/2-i[a]/2;let y;switch(l){case"top":y={x:u,y:r.y-i.height};break;case"bottom":y={x:u,y:r.y+r.height};break;case"right":y={x:r.x+r.width,y:d};break;case"left":y={x:r.x-i.width,y:d};break;default:y={x:r.x,y:r.y}}const w=f(t);return w&&(y[s]+=v*("end"===w?1:-1)*(n&&c?-1:1)),y}async function A(e,t){var n;void 0===t&&(t={});const{x:r,y:i,platform:o,rects:s,elements:a,strategy:l}=e,{boundary:c="clippingAncestors",rootBoundary:h="viewport",elementContext:f="floating",altBoundary:d=!1,padding:p=0}=u(t,e),m=C(p),g=a[d?"floating"===f?"reference":"floating":f],v=j(await o.getClippingRect({element:null==(n=await(null==o.isElement?void 0:o.isElement(g)))||n?g:g.contextElement||await(null==o.getDocumentElement?void 0:o.getDocumentElement(a.floating)),boundary:c,rootBoundary:h,strategy:l})),y="floating"===f?{x:r,y:i,width:s.floating.width,height:s.floating.height}:s.reference,w=await(null==o.getOffsetParent?void 0:o.getOffsetParent(a.floating)),x=await(null==o.isElement?void 0:o.isElement(w))&&await(null==o.getScale?void 0:o.getScale(w))||{x:1,y:1},b=j(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:y,offsetParent:w,strategy:l}):y);return{top:(v.top-b.top+m.top)/x.y,bottom:(b.bottom-v.bottom+m.bottom)/x.y,left:(v.left-b.left+m.left)/x.x,right:(b.right-v.right+m.right)/x.x}}const M=new Set(["left","top"]);function S(){return"undefined"!=typeof window}function O(e){return E(e)?(e.nodeName||"").toLowerCase():"#document"}function N(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function L(e){var t;return null==(t=(E(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function E(e){return!!S()&&(e instanceof Node||e instanceof N(e).Node)}function T(e){return!!S()&&(e instanceof Element||e instanceof N(e).Element)}function z(e){return!!S()&&(e instanceof HTMLElement||e instanceof N(e).HTMLElement)}function P(e){return!(!S()||"undefined"==typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof N(e).ShadowRoot)}function R(e){const{overflow:t,overflowX:n,overflowY:r,display:i}=W(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&"inline"!==i&&"contents"!==i}function $(e){return/^(table|td|th)$/.test(O(e))}function I(e){try{if(e.matches(":popover-open"))return!0}catch(e){}try{return e.matches(":modal")}catch(e){return!1}}const H=/transform|translate|scale|rotate|perspective|filter/,D=/paint|layout|strict|content/,B=e=>!!e&&"none"!==e;let V;function F(e){const t=T(e)?W(e):e;return B(t.transform)||B(t.translate)||B(t.scale)||B(t.rotate)||B(t.perspective)||!U()&&(B(t.backdropFilter)||B(t.filter))||H.test(t.willChange||"")||D.test(t.contain||"")}function U(){return null==V&&(V="undefined"!=typeof CSS&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),V}function q(e){return/^(html|body|#document)$/.test(O(e))}function W(e){return N(e).getComputedStyle(e)}function Y(e){return T(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function Z(e){if("html"===O(e))return e;const t=e.assignedSlot||e.parentNode||P(e)&&e.host||L(e);return P(t)?t.host:t}function X(e){const t=Z(e);return q(t)?(e.ownerDocument||e).body:z(t)&&R(t)?t:X(t)}function K(e,t,n){var r;void 0===t&&(t=[]),void 0===n&&(n=!0);const i=X(e),o=i===(null==(r=e.ownerDocument)?void 0:r.body),s=N(i);if(o){const e=J(s);
vendor: 4,865 bytes, line 2
2return t.concat(s,s.visualViewport||[],R(i)?i:[],e&&n?K(e):[])}return t.concat(i,K(i,[],n))}function J(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function G(e){const t=W(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const i=z(e),s=i?e.offsetWidth:n,a=i?e.offsetHeight:r,l=o(n)!==s||o(r)!==a;return l&&(n=s,r=a),{width:n,height:r,$:l}}function Q(e){return T(e)?e:e.contextElement}function ee(e){const t=Q(e);if(!z(t))return a(1);const n=t.getBoundingClientRect(),{width:r,height:i,$:s}=G(t);let l=(s?o(n.width):n.width)/r,c=(s?o(n.height):n.height)/i;return l&&Number.isFinite(l)||(l=1),c&&Number.isFinite(c)||(c=1),{x:l,y:c}}const te=a(0);function ne(e){const t=N(e);return U()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:te}function re(e,t,n,r){void 0===t&&(t=!1),void 0===n&&(n=!1);const i=e.getBoundingClientRect(),o=Q(e);let s=a(1);t&&(r?T(r)&&(s=ee(r)):s=ee(e));const l=function(e,t,n){return void 0===t&&(t=!1),!!n&&t&&n===N(e)}(o,n,r)?ne(o):a(0);let c=(i.left+l.x)/s.x,u=(i.top+l.y)/s.y,h=i.width/s.x,f=i.height/s.y;if(o&&r){const e=N(o),t=T(r)?N(r):r;let n=e,i=J(n);for(;i&&t!==n;){const e=ee(i),t=i.getBoundingClientRect(),r=W(i),o=t.left+(i.clientLeft+parseFloat(r.paddingLeft))*e.x,s=t.top+(i.clientTop+parseFloat(r.paddingTop))*e.y;c*=e.x,u*=e.y,h*=e.x,f*=e.y,c+=o,u+=s,n=N(i),i=J(n)}}return j({width:h,height:f,x:c,y:u})}function ie(e,t){const n=Y(e).scrollLeft;return t?t.left+n:re(L(e)).left+n}function oe(e,t){const n=e.getBoundingClientRect();return{x:n.left+t.scrollLeft-ie(e,n),y:n.top+t.scrollTop}}function se(e,t,n){let r;if("viewport"===t||"layoutViewport"===t)r=function(e,t,n){void 0===n&&(n="viewport");const r="layoutViewport"===n,i=N(e),o=L(e),s=i.visualViewport;let a=o.clientWidth,l=o.clientHeight,c=0,u=0;if(s){const e=!U()||"fixed"===t;r?e||(c=-s.offsetLeft,u=-s.offsetTop):(a=s.width,l=s.height,e&&(c=s.offsetLeft,u=s.offsetTop))}if(ie(o)<=0){const e=o.ownerDocument,t=e.body,n=getComputedStyle(t),r="CSS1Compat"===e.compatMode&&parseFloat(n.marginLeft)+parseFloat(n.marginRight)||0,i=Math.abs(o.clientWidth-t.clientWidth-r),s="stable both-edges"===getComputedStyle(o).scrollbarGutter?i/2:i;s<=25&&(a-=s)}return{width:a,height:l,x:c,y:u}}(e,n,t);else if("document"===t)r=function(e){const t=Y(e),n=e.ownerDocument.body,r=i(e.scrollWidth,e.clientWidth,n.scrollWidth,n.clientWidth),o=i(e.scrollHeight,e.clientHeight,n.scrollHeight,n.clientHeight);let s=-t.scrollLeft+ie(e);const a=-t.scrollTop;return"rtl"===W(n).direction&&(s+=i(e.clientWidth,n.clientWidth)-r),{width:r,height:o,x:s,y:a}}(L(e));else if(T(t))r=function(e,t){const n=re(e,!0,"fixed"===t),r=n.top+e.clientTop,i=n.left+e.clientLeft,o=ee(e);return{width:e.clientWidth*o.x,height:e.clientHeight*o.y,x:i*o.x,y:r*o.y}}(t,n);else{const n=ne(e);r={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return j(r)}function ae(e,t,n){const r=z(t),i=L(t),o="fixed"===n,s=re(e,!0,o,t);let l={scrollLeft:0,scrollTop:0};const c=a(0);if((r||!o)&&(("body"!==O(t)||R(i))&&(l=Y(t)),r)){const e=re(t,!0,o,t);c.x=e.x+t.clientLeft,c.y=e.y+t.clientTop}!r&&i&&(c.x=ie(i));const u=!i||r||o?a(0):oe(i,l);return{x:s.left+l.scrollLeft-c.x-u.x,y:s.top+l.scrollTop-c.y-u.y,width:s.width,height:s.height}}function le(e){return"static"===W(e).position}function ce(e,t){if(!z(e)||"fixed"===W(e).position)return null;if(t)return t(e);let n=e.offsetParent;return L(e)===n&&(n=n.ownerDocument.body),n}function ue(e,t){const n=N(e);if(I(e))return n;if(!z(e)){let t=Z(e);for(;t&&!q(t);){if(T(t)&&!le(t))return t;t=Z(t)}return n}let r=ce(e,t);for(;r&&$(r)&&le(r);)r=ce(r,t);return r&&q(r)&&le(r)&&!F(r)?n:r||function(e){let t=Z(e);for(;z(t)&&!q(t);){if(F(t))return t;if(I(t))return null;t=Z(t)}return null}(e)||n}const he={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:n,offsetParent:r,strategy:i}=e;const o="fixed"===i,s=L(r),l=!!t&&I(t.floating);if(r===s||l&&o)return n;let c={scrollLeft:0,scrollTop:0},u=a(1);const h=a(0),f=z(r);if((f||!o)&&(("body"!==O(r)||R(s))&&(c=Y(r)),f)){const e=re(r);u=ee(r),h.x=e.x+r.clientLeft,h.y=e.y+r.clientTop}const d=!s||f||o?a(0):oe(s,c);return{width:n.width*u.x,height:n.height*u.y,x:n.x*u.x-c.scrollLeft*u.x+h.x+d.x,y:n.y*u.y-c.scrollTop*u.y+h.y+d.y}},getDocumentElement:L,getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:o,strategy:s}=e;const a=[..."clippingAncestors"===n?I(t)?[]:function(e,t){const n=t.get(e);if(n)return n;let r=K(e,[],!1).filter(e=>T(e)&&"body"!==O(e)),i=null;const o="fixed"===W(e).position;let s=o?Z(e):e;for(;T(s)&&!q(s);){const e=W(s),t=F(s),n=i?i.position:o?"fixed":"";t||"fixed"!==n&&("absolute"!==n||"static"!==e.position)?i=e:r=r.filter(e=>e!==s),s=Z(s)}return t.set(e,r),r}(t,this._c):[].concat(n),o],l=se(t,a[0],s);let c=l.top,u=l.right,h=l.bottom,f=l.left;for(let e=1;e<a.length;e++){const n=se(t,a[e],s);
vendor: 8,161 bytes, line 2
2c=i(n.top,c),u=r(n.right,u),h=r(n.bottom,h),f=i(n.left,f)}return{width:u-f,height:h-c,x:f,y:c}},getOffsetParent:ue,getElementRects:async function(e){const t=this.getOffsetParent||ue,n=this.getDimensions,r=await n(e.floating);return{reference:ae(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}},getClientRects:function(e){return e.getClientRects?Array.from(e.getClientRects()):[]},getDimensions:function(e){const{width:t,height:n}=G(e);return{width:t,height:n}},getScale:ee,isElement:T,isRTL:function(e){return"rtl"===W(e).direction}};function fe(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function de(e,t,n,o){void 0===o&&(o={});const{ancestorScroll:a=!0,ancestorResize:l=!0,elementResize:c="function"==typeof ResizeObserver,layoutShift:u="function"==typeof IntersectionObserver,animationFrame:h=!1}=o,f=Q(e),d=a||l?[...f?K(f):[],...t?K(t):[]]:[];d.forEach(e=>{a&&e.addEventListener("scroll",n),l&&e.addEventListener("resize",n)});const p=f&&u?function(e,t,n){let o,a=null;const l=L(e);function c(){var e;clearTimeout(o),null==(e=a)||e.disconnect(),a=null}function u(n,h){void 0===n&&(n=!1),void 0===h&&(h=1),c();const f=e.getBoundingClientRect(),{left:d,top:p,width:m,height:g}=f;if(n||t(),!m||!g)return;const v={rootMargin:-s(p)+"px "+-s(l.clientWidth-(d+m))+"px "+-s(l.clientHeight-(p+g))+"px "+-s(d)+"px",threshold:i(0,r(1,h))||1};let y=!0;function w(t){const n=t[0].intersectionRatio;if(!fe(f,e.getBoundingClientRect()))return u();if(n!==h){if(!y)return u();n?u(!1,n):o=setTimeout(()=>{u(!1,1e-7)},1e3)}y=!1}try{a=new IntersectionObserver(w,{...v,root:l.ownerDocument})}catch(e){a=new IntersectionObserver(w,v)}a.observe(e)}const h=N(e),f=()=>u(n);return h.addEventListener("resize",f),u(!0),()=>{h.removeEventListener("resize",f),c()}}(f,n,l):null;let m,g=-1,v=null;c&&(v=new ResizeObserver(e=>{let[r]=e;r&&r.target===f&&v&&t&&(v.unobserve(t),cancelAnimationFrame(g),g=requestAnimationFrame(()=>{var e;null==(e=v)||e.observe(t)})),n()}),f&&!h&&v.observe(f),t&&v.observe(t));let y=h?re(e):null;return h&&function t(){const r=re(e);y&&!fe(y,r)&&n(),y=r,m=requestAnimationFrame(t)}(),n(),()=>{var e;d.forEach(e=>{a&&e.removeEventListener("scroll",n),l&&e.removeEventListener("resize",n)}),null==p||p(),null==(e=v)||e.disconnect(),v=null,h&&cancelAnimationFrame(m)}}const pe=function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:i,y:o,placement:s,middlewareData:a}=t,l=await async function(e,t){const{placement:n,platform:r,elements:i}=e,o=await(null==r.isRTL?void 0:r.isRTL(i.floating)),s=h(n),a=f(n),l="y"===m(n),c=M.has(s)?-1:1,d=o&&l?-1:1,p=u(t,e);let{mainAxis:g,crossAxis:v,alignmentAxis:y}="number"==typeof p?{mainAxis:p,crossAxis:0,alignmentAxis:null}:{mainAxis:p.mainAxis||0,crossAxis:p.crossAxis||0,alignmentAxis:p.alignmentAxis};return a&&"number"==typeof y&&(v="end"===a?-1*y:y),l?{x:v*d,y:g*c}:{x:g*c,y:v*d}}(t,e);return s===(null==(n=a.offset)?void 0:n.placement)&&null!=(r=a.arrow)&&r.alignmentOffset?{}:{x:i+l.x,y:o+l.y,data:{...l,placement:s}}}}},me=function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:i,platform:o}=t,{mainAxis:s=!0,crossAxis:a=!1,limiter:l={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...h}=u(e,t),f={x:n,y:r},p=await o.detectOverflow(t,h),g=m(i),v=d(g);let y=f[v],w=f[g];const x=(e,t)=>c(t+p["y"===e?"top":"left"],t,t-p["y"===e?"bottom":"right"]);s&&(y=x(v,y)),a&&(w=x(g,w));const b=l.fn({...t,[v]:y,[g]:w});return{...b,data:{x:b.x-n,y:b.y-r,enabled:{[v]:s,[g]:a}}}}}},ge=function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var n,r;const{placement:i,middlewareData:o,rects:s,initialPlacement:a,platform:l,elements:c}=t,{mainAxis:d=!0,crossAxis:C=!0,fallbackPlacements:j,fallbackStrategy:k="bestFit",fallbackAxisSideDirection:A="none",flipAlignment:M=!0,...S}=u(e,t);if(null!=(n=o.arrow)&&n.alignmentOffset)return{};const O=h(i),N=m(a),L=h(a)===a,E=await(null==l.isRTL?void 0:l.isRTL(c.floating)),T=j||(L||!M?[_(a)]:function(e){const t=_(e);return[v(e),t,v(t)]}(a)),z="none"!==A;!j&&z&&T.push(...function(e,t,n,r){const i=f(e);let o=function(e,t,n){switch(e){case"top":case"bottom":return n?t?w:y:t?y:w;case"left":case"right":return t?x:b;default:return[]}}(h(e),"start"===n,r);return i&&(o=o.map(e=>e+"-"+i),t&&(o=o.concat(o.map(v)))),o}(a,M,A,E));const P=[a,...T],R=await l.detectOverflow(t,S),$=[];let I=(null==(r=o.flip)?void 0:r.overflows)||[];if(d&&$.push(R[O]),C){const e=function(e,t,n){void 0===n&&(n=!1);const r=f(e),i=g(e),o=p(i);let s="x"===i?r===(n?"end":"start")?"right":"left":"start"===r?"bottom":"top";return t.reference[o]>t.floating[o]&&(s=_(s)),[s,_(s)]}(i,s,E);$.push(R[e[0]],R[e[1]])}if(I=[...I,{placement:i,overflows:$}],!$.every(e=>e<=0)){var H,D;const e=((null==(H=o.flip)?void 0:H.index)||0)+1,t=P[e];if(t&&("alignment"!==C||N===m(t)||I.every(e=>m(e.placement)!==N||e.overflows[0]>0)))return{data:{index:e,overflows:I},reset:{placement:t}};let n=null==(D=I.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0])?void 0:D.placement;if(!n)switch(k){case"bestFit":{var B;const e=null==(B=I.filter(e=>{if(z){const t=m(e.placement);return t===N||"y"===t}return!0}).map(e=>[e.placement,e.overflows.filter(e=>e>0).reduce((e,t)=>e+t,0)]).sort((e,t)=>e[1]-t[1])[0])?void 0:B[0];e&&(n=e);break}case"initialPlacement":n=a}if(i!==n)return{reset:{placement:n}}}return{}}}},ve=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:i,placement:o,rects:s,platform:a,elements:l,middlewareData:h}=t,{element:d,padding:m=0}=u(e,t)||{};if(null==d)return{};const v=C(m),y={x:n,y:i},w=g(o),x=p(w),b=await a.getDimensions(d),_="y"===w,j=_?"top":"left",k=_?"bottom":"right",A=_?"clientHeight":"clientWidth",M=s.reference[x]+s.reference[w]-y[w]-s.floating[x],S=y[w]-s.reference[w],O=await(null==a.getOffsetParent?void 0:a.getOffsetParent(d));let N=O?O[A]:0;N&&await(null==a.isElement?void 0:a.isElement(O))||(N=l.floating[A]||s.floating[x]);const L=M/2-S/2,E=N/2-b[x]/2-1,T=r(v[j],E),z=r(v[k],E),P=N-b[x]-z,R=N/2-b[x]/2+L,$=c(T,R,P),I=!h.arrow&&null!=f(o)&&R!==$&&s.reference[x]/2-(R<T?T:z)-b[x]/2<0,H=I?R<T?R-T:R-P:0;return{[w]:y[w]+H,data:{[w]:$,centerOffset:R-$-H,...I&&{alignmentOffset:H}},reset:I}}}),ye=(e,t,n)=>{const r=new Map,i=null!=n?n:{},o={...he,...i.platform,_c:r};return(async(e,t,n)=>{const{placement:r="bottom",strategy:i="absolute",middleware:o=[],platform:s}=n,a=s.detectOverflow?s:{...s,detectOverflow:A},l=await(null==s.isRTL?void 0:s.isRTL(t));let c=await s.getElementRects({reference:e,floating:t,strategy:i}),{x:u,y:h}=k(c,r,l),f=r,d=0;const p={};for(let n=0;n<o.length;n++){const m=o[n];if(!m)continue;const{name:g,fn:v}=m,{x:y,y:w,data:x,reset:b}=await v({x:u,y:h,initialPlacement:r,placement:f,strategy:i,middlewareData:p,rects:c,platform:a,elements:{reference:e,floating:t}});u=null!=y?y:u,h=null!=w?w:h,p[g]={...p[g],...x},b&&d<50&&(d++,"object"==typeof b&&(b.placement&&(f=b.placement),b.rects&&(c=!0===b.rects?await s.getElementRects({reference:e,floating:t,strategy:i}):b.rects),({x:u,y:h}=k(c,f,l))),n=-1)}return{x:u,y:h,placement:f,strategy:i,middlewareData:p}})(e,t,{...i,platform:o})}},41539(e,t,n){"use strict";var r=n(88979);const{Axios:i,AxiosError:o,CanceledError:s,isCancel:a,CancelToken:l,VERSION:c,all:u,Cancel:h,isAxiosError:f,spread:d,toFormData:p,AxiosHeaders:m,HttpStatusCode:g,formToJSON:v,getAdapter:y,mergeConfig:w,create:x}=r.A;n.d(t,["F0",0,f,"FZ",0,a,"pe",0,o])},36371(e,t,n){"use strict";n.d(t,{$Z:()=>$a,$n:()=>Z,$z:()=>qe,AB:()=>Ss,BK:()=>T,C$:()=>ha,CI:()=>Sa,CT:()=>da,Cs:()=>Ma,D3:()=>m,DO:()=>H,Dk:()=>Es,Dn:()=>Ta,EI:()=>ua,Eb:()=>et,FA:()=>aa,Fn:()=>_a,Gr:()=>it,IJ:()=>E,Ig:()=>Ms,Ip:()=>Ue,Jr:()=>Oa,LT:()=>ia,Mp:()=>La,Mt:()=>g,NG:()=>G,NT:()=>ja,Nl:()=>I,O4:()=>ga,QB:()=>R,RL:()=>ks,RR:()=>Ha,Rz:()=>fa,Td:()=>wa,Tr:()=>$e,Uh:()=>ka,Uy:()=>ya,WI:()=>$,Xq:()=>Bs,Y7:()=>na,Y9:()=>ot,YE:()=>L,Yf:()=>Os,Zh:()=>p,Zp:()=>K,_t:()=>za,aH:()=>O,aS:()=>Ea,aj:()=>Ie,bQ:()=>Fe,ci:()=>Ze,dq:()=>js,en:()=>Ia,f7:()=>ca,f9:()=>As,gH:()=>ta,gL:()=>st,gd:()=>Is,gp:()=>Pa,hG:()=>nt,hK:()=>X,hn:()=>Je,jF:()=>la,jT:()=>Y,jt:()=>Na,le:()=>We,mS:()=>at,ms:()=>Xe,mx:()=>Ra,oz:()=>
2oa,pT:()=>rt,qU:()=>xa,s3:()=>Ts,sz:()=>_,t1:()=>ma,tU:()=>sa,tz:()=>Aa,u6:()=>ba,uQ:()=>N,ur:()=>va,vu:()=>J,xp:()=>pa,yS:()=>Ca,zH:()=>U});var r=n(71763),i=n(91987),o=n(98481),s=Object.create,a=Object.defineProperty,l=Object.getOwnPropertyDescriptor,c=Object.getOwnPropertyNames,u=Object.getPrototypeOf,h=Object.prototype.hasOwnProperty,f=(e,t)=>()=>(t||(e((t={exports:{}}).exports,t),e=null),t.exports),d=((e,t,n)=>(n=null==e?{}:s(u(e)),((e,t,n,r)=>{if(t&&"object"==typeof t||"function"==typeof t)for(var i,o=c(t),s=0,u=o.length;s<u;s++)i=o[s],!h.call(e,i)&&void 0!==i&&a(e,i,{get:(e=>t[e]).bind(null,i),enumerable:!(r=l(t,i))||r.enumerable});return e})(a(n,"default",{value:e,enumerable:!0}),e)))(f((e,t)=>{!function(){var e={}.hasOwnProperty;function n(){for(var e="",t=0;t<arguments.length;t++){var n=arguments[t];n&&(e=i(e,r(n)))}return e}function r(t){if("string"==typeof t||"number"==typeof t)return t;if("object"!=typeof t)return"";if(Array.isArray(t))return n.apply(null,t);if(t.toString!==Object.prototype.toString&&!t.toString.toString().includes("[native code]"))return t.toString();var r="";for(var o in t)e.call(t,o)&&t[o]&&(r=i(r,o));return r}function i(e,t){return t?e?e+" "+t:e+t:e}void 0!==t&&t.exports?(n.default=n,t.exports=n):"function"==typeof define&&"object"==typeof define.amd&&define.amd?define("classnames",[],function(){return n}):window.classNames=n}()})()),p=({children:e,size:t="medium",className:n,...r})=>{let o;return void 0!==e&&Number.isFinite(e)&&(o=Math.round(10*e)/10),void 0!==e&&e>99&&(o="99+"),(0,i.jsx)("span",{className:(0,d.default)(n,`bubble--${t}`),...r,children:o})},m=e=>(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 311",fill:"currentColor",...e,children:(0,i.jsx)("path",{d:"M236 302L9 75a28 28 0 010-40L35 9C46-2 64-2 75 9l181 180L437 9c11-11 29-11 40 0l26 26c11 11 11 29 0 40L276 302a28 28 0 01-40 0z"})}),g=e=>(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 311",fill:"currentColor",...e,children:(0,i.jsx)("path",{d:"M276 9l227 227c11 11 11 29 0 40l-26 26a28 28 0 01-40 0L256 122 75 302a28 28 0 01-40 0L9 276a28 28 0 010-40L236 9c11-11 29-11 40 0z"})}),v=({accordionTitle:e,count:t=0,children:n,alwaysOpen:o,initialOpen:s=!1,className:a,...l})=>{let[c,u]=(0,r.useState)(s);return(0,i.jsxs)("div",{className:(0,d.default)(a,"accordion"),...l,children:[(0,i.jsxs)("button",{type:"button",className:"accordion__title",onClick:()=>{u(e=>!e)},children:[(0,i.jsx)("span",{children:e}),t>0&&(0,i.jsx)(p,{size:"small",children:t}),!o&&(0,i.jsx)(c?g:m,{width:16,height:16})]}),(c||o)&&(0,i.jsx)("div",{className:"accordion__content",children:n})]})},y=({item:e,active:t,substringToHighlight:n,handleOnClick:o})=>{let s=(0,r.useRef)(null);return(0,r.useEffect)(()=>{t&&s.current&&s.current.scrollIntoView({block:"nearest",inline:"nearest"})}),(0,i.jsx)("li",{ref:s,"data-testid":"autocomplete-item",children:(0,i.jsx)("button",{type:"button",onClick:t=>o(e,t),className:t?"hover":"",children:n?(0,i.jsx)(M,{substring:n,children:e.pathLabel}):e.itemLabel})})};function w(e,t){return e.toLowerCase().lastIndexOf(t.toLowerCase())}var x=(e,t,n=[])=>{let r=[];return e.forEach(e=>{let{items:i,...o}=e,s=[...n,o];if(i){let e=x(i,t,s);e.length&&(r=[...r,...e])}else(!t||o.id===t)&&(r=[...r,s])}),r};function*b(e){1===e.length&&(yield e[0].id);for(let t of e)t.items&&(yield*b(t.items))}function _(e){let t=e.toString();if(t.includes("e"))return t;let[n,r]=e.toString().split(".");return[n.replace(/\B(?=(\d{3})+(?!\d))/g,","),r].filter(e=>void 0!==e).join(".")}function C(e,t=0){let n=+e;if(!n)return"0 Bytes";let r=t<0?0:t,i=["Bytes","KB","MB","GB","TB","PB","EB","ZB","YB"],o=Math.min(Math.floor(Math.log(n)/Math.log(1024)),i.length-1),s=(n/1024**o).toFixed(r),a=i[o];return`${_(parseFloat(s))} ${a}`}var j=/^(https?:)?(\/\/)?/,k=/(\/+$)/,A=e=>e.replace(j,"").replace(k,""),M=({children:e,substring:t})=>{if(!e||!t)return(0,i.jsx)(i.Fragment,{children:e});let n=t.trim(),r=w(e,n);if(r<0)return(0,i.jsx)(i.Fragment,{children:e});let o=e.slice(0,r),s=e.slice(r,r+n.length),a=e.slice(r+n.length);return(0,i.jsxs)(i.Fragment,{children:[o,(0,i.jsx)("mark",{children:s}),a]})},S=e=>(0,i.jsx)("svg",{viewBox:"0 0 100 100",xmlns:"http://www.w3.org/2000/svg",...e,children:(0,i.jsxs)("g",{id:"Artboard",stroke:"none",strokeWidth:1,fill:"none",fillRule:"evenodd",children:[(0,i.jsx)("path",{d:"M9,50 C15.8333333,39.3333333 22.6666667,34 29.5,34 C36.3333333,34 43.1666667,39.3333333 50,50 C56.8333333,60.6666667 63.6666667,66 70.5,66 C77.3333333,66 84.1666667,60.6666667 91,50",id:"Line",stroke:"#3ca3ca",strokeWidth:2,strokeLinecap:"square"}),(0,i.jsx)("circle",{id:"circle1",fill:"#3ca3ca",cx:9,cy:50,r:6}),(0,i.jsx)("circle",{id:"circle2",fill:"#3ca3ca",cx:30,cy:34,r:6}),(0,i.jsx)("circle",{id:"circle3",fill:"#3ca3ca",cx:50,cy:50,r:6}),(0,i.jsx)("circle",{id:"circle4",fill:"#3ca3ca",cx:70,cy:66,r:6}),(0,i.jsx)("circle",{id:"circle5",fill:"#3ca3ca",cx:91,cy:50,r:6})]})}),O=({progress:e,className:t,...n})=>{let r;return(e||0===e)&&((e<0||e>1)&&console.warn(`Loader's "progress" prop needs to be within [0, 1], it is now "${e}"`),r=e),(0,i.jsxs)("div",{className:(0,d.default)("loader-container",t),...n,children:[(0,i.jsx)(S,{className:"loader",width:"100",height:"100"}),r&&(0,i.jsx)("span",{className:"loader-container__progress",children:(0,i.jsxs)("progress",{title:`Progress: ${Math.floor(100*r)}%`,value:r,children:[Math.floor(100*r),"%"]})})]})},N=e=>(0,i.jsxs)("svg",{viewBox:"0 0 16 16",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",...e,children:[(0,i.jsx)("path",{d:"M9 5a1 1 0 11-2 0 1 1 0 012 0zM9 7v5H7V7h2z"}),(0,i.jsx)("path",{fillRule:"evenodd",d:"M16 8A8 8 0 110 8a8 8 0 0116 0zm-2 0A6 6 0 112 8a6 6 0 0112 0z"})]}),L=e=>(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 14",fill:"
2currentColor",...e,children:(0,i.jsx)("path",{fillRule:"evenodd",d:"M9.54.87a1.8 1.8 0 00-3.08 0L.24 11.37A1.75 1.75 0 001.78 14h12.44a1.75 1.75 0 001.54-2.63L9.54.87zM7 4a1 1 0 112 0v4a1 1 0 11-2 0V4zm1 8a1 1 0 100-2 1 1 0 000 2z"})}),E=e=>(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 19 18",fill:"currentColor",stroke:"currentColor",...e,children:(0,i.jsx)("path",{d:"M14.93 11.14h0L12.8 9l2.13-2.14a1.9 1.9 0 000-2.67h0l-.63-.64a1.9 1.9 0 00-2.68 0h0L9.5 5.7 7.35 3.55a1.9 1.9 0 00-2.68 0h0l-.63.64a1.9 1.9 0 000 2.67h0L6.18 9l-2.14 2.14a1.9 1.9 0 000 2.67h0l.63.64a1.9 1.9 0 002.68 0L9.5 12.3l2.13 2.14a1.9 1.9 0 002.68 0l.63-.64a1.9 1.9 0 000-2.67zM17.5 9a8 8 0 11-16 0 8 8 0 0116 0z",strokeWidth:2})}),T=e=>(0,i.jsx)("svg",{viewBox:"0 0 14 10",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:(0,i.jsx)("path",{d:"M5.24628 6.99576L12.2421 0L13.7388 1.50742L5.24628 10L1 5.75372L2.49683 4.2569L5.24628 6.99576Z",fill:"currentColor"})}),z=e=>(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 352 512",fill:"currentColor",...e,children:(0,i.jsx)("path",{d:"M243 256l100-100c12-12 12-32 0-45l-22-22a31 31 0 00-45 0L176 189 76 89a31 31 0 00-45 0L9 111a31 31 0 000 45l100 100L9 356a31 31 0 000 45l22 22c13 12 33 12 45 0l100-100 100 100c12 12 32 12 45 0l22-22c12-13 12-33 0-45L243 256z"})}),P="1.125em",R=({children:e,level:t="info",heading:n,subtitle:r,onDismiss:o,noIcon:s,noShadow:a,className:l,...c})=>{let u=null,h=n?"message--icon-align-center":"message--icon-align-top";return s||(u=(0,i.jsx)(N,{width:P,height:P,className:h}),"warning"===t?u=(0,i.jsx)(L,{width:P,height:P,className:h}):"failure"===t?u=(0,i.jsx)(E,{width:P,height:P,className:h}):"success"===t&&(u=(0,i.jsx)(T,{width:P,height:P,className:h}))),(0,i.jsxs)("div",{className:(0,d.default)(l,"message",`message--${t}`,{"message--no-shadow":a}),role:"status",...c,children:[(0,i.jsx)("div",{className:"message__side-border"}),u,n?(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("div",{className:(0,d.default)("message__title",{"message__title--no-icon":s}),children:n}),(0,i.jsx)("div",{className:"message__text",children:e})]}):(0,i.jsx)("div",{className:"message__title",children:e}),o&&(0,i.jsx)("button",{type:"button","aria-label":"dismiss",className:"message__dismiss",onClick:o,children:(0,i.jsx)(z,{width:"10",height:"10"})}),r&&(0,i.jsx)("div",{className:"message__subtitle",children:r})]})},$=e=>(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",fill:"currentColor",...e,children:(0,i.jsx)("path",{d:"M505 443L405 343c-4-4-10-7-17-7h-16a208 208 0 10-36 36v16c0 7 3 13 7 17l100 100c9 9 24 9 34 0l28-28c9-10 9-25 0-34zM208 336a128 128 0 110-256 128 128 0 010 256z"})}),I=e=>(0,i.jsx)("svg",{width:38,height:38,viewBox:"0 0 38 38",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",...e,children:(0,i.jsx)("g",{fill:"none",fillRule:"evenodd",children:(0,i.jsxs)("g",{transform:"translate(1 1)",strokeWidth:2,children:[(0,i.jsx)("circle",{strokeOpacity:.5,cx:18,cy:18,r:18}),(0,i.jsx)("path",{d:"M36 18c0-9.94-8.06-18-18-18",children:(0,i.jsx)("animateTransform",{attributeName:"transform",type:"rotate",from:"0 18 18",to:"360 18 18",dur:"1s",repeatCount:"indefinite"})})]})})}),H=({value:e,onChange:t,onKeyDown:n,placeholder:o,isLoading:s=!1,...a})=>{let l,c=(0,r.useRef)(null),u=()=>{var n;null==c||null==(n=c.current)||n.focus(),e&&!s&&(null==t||t({target:{value:""}}))};return l=(0,i.jsx)(s?I:e?z:$,{width:14,height:14}),(0,i.jsxs)("span",{className:"search-input",children:[(0,i.jsx)("input",{"data-testid":"search-input",type:"search",value:e,onChange:t,onKeyDown:n,placeholder:o,ref:c,...a}),(0,i.jsx)("span",{"data-testid":"search-input-suffix",role:"presentation",className:"search-input__suffix",onKeyPress:u,onClick:u,children:l})]})},D=e=>Array.isArray(e)?e.flatMap(e=>D(e)):e.items?D(e.items):e.id,B=(e,t)=>{if(!t)return e;let n=[];for(let i of e){var r;if(i.label.toLowerCase().includes(t))n.push(i);else if(null!=(r=i.items)&&r.length){let e=B(i.items,t);e.length&&n.push({...i,items:e})}}return n},V=({onSelect:e,selected:t,id:n,label:r,query:o,addAsterisk:s})=>(0,i.jsx)("li",{className:"accordion-search__list__item",children:(0,i.jsxs)("label",{htmlFor:`checkbox-${n}`,children:[(0,i.jsx)("input",{type:"checkbox",id:`checkbox-${n}`,className:"accordion-search__list__item-checkbox",onChange:()=>{e(n)},checked:t.includes(n)}),(0,i.jsx)(M,{substring:o,children:r}),s&&t.includes(n)?"*":""]},n)},n),F=({label:e,alwaysOpen:t,items:n,selected:o,columns:s,onSelect:a,id:l,query:c,addAsterisk:u,initialOpen:h=!1})=>{let f=(0,r.useMemo)(()=>new Set(D(n)),[n]),d=o.filter(e=>f.has(e)).length,p=n.every(e=>!e.items);return(0,i.jsx)(v,{accordionTitle:(0,i.jsx)(M,{substring:c,children:e}),count:d,alwaysOpen:t,initialOpen:h,children:p?(0,i.jsx)("ul",{className:"no-bullet accordion-search__list"+(s?" accordion-search__list--columns":""),children:n.map(e=>(0,i.jsx)(V,{label:e.label,selected:o,onSelect:a,id:e.id,query:c,addAsterisk:e.addAsterisk},e.id))}):(0,i.jsx)("ul",{className:"no-bullet accordion-search__list",children:n.map(e=>{var n;return(null==(n=e.items)?void 0:n.length)&&(0,i.jsx)(F,{label:e.label,alwaysOpen:t,items:e.items,selected:o,columns:s,onSelect:a,id:e.id,query:c,addAsterisk:u},e.id)})})},l)},U=({accordionData:e,placeholder:t="",onSelect:n,selected:o,columns:s})=>{let[a,l]=(0,r.useState)(""),c=(0,r.useDeferredValue)(a),u=(0,r.useMemo)(()=>B(e,c.trim().toLowerCase()),[e,c]),h=(0,r.useCallback)(e=>{l(e.target.value)},[]);if(!e||!e.length)return(0,i.jsx)(O,{});let f=u.length?u.map(({label:e,id:t,items:r,addAsterisk:a},l)=>(null==r?void 0:r.length)&&(0,i.jsx)(F,{label:e,initialOpen:0===l,alwaysOpen:!!c,items:r,selected:o,columns:s,onSelect:n,id:t,query:c,addAsterisk:a},t)):(0,i.jsx)(R,{level:"failure",children:"No matches found"});return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(H,{value:a,onChange:h,placeholder:t}),f]})},q=(e,t)=>
2e.filter(e=>{var n;return w(e.pathLabel,t)>=0||(null==(n=e.tags)?void 0:n.some(e=>w(e,t)>=0))}),W=(e,t,n,r,i)=>{let o=e.trim(),s=!1;return o&&!n&&o.length>=i&&(s=(r?q(t,o):t).length>0),s},Y=({data:e,onSelect:t,onChange:n,onDropdownChange:o,clearOnSelect:s=!1,placeholder:a="",filter:l=!0,value:c="",minCharsToShowDropdown:u=0,isLoading:h=!1,autoFocus:f=!1,className:p,...m})=>{let[g,v]=(0,r.useState)(c),[w,x]=(0,r.useState)(-1),[b,_]=(0,r.useState)(!1);(0,r.useEffect)(()=>{v(c)},[c]),(0,r.useEffect)(()=>()=>{null==o||o(!1)},[o]);let C=(0,r.useCallback)(t=>{let{value:r}=t.target,i=W(r,e,!1,l,u);null==o||o(i),v(r),_(!1),null==n||n(r),i&&x(0)},[e,l,u,n,o]),j=(0,r.useCallback)(e=>{let n="string"==typeof e?e:null==e?void 0:e.pathLabel;v(s?"":n),x(-1),_(!0),null==o||o(!1),t(e)},[s,t,o]),k=(0,r.useCallback)(t=>{if("ArrowUp"===t.key)t.preventDefault(),x(w<=0?-1:w-1);else if("ArrowDown"===t.key){t.preventDefault();let n=l?q(e,g):e;x(Math.min(n.length-1,w+1))}else"Escape"===t.key?(t.preventDefault(),x(-1),_(!0)):"Enter"===t.key&&(t.preventDefault(),j(w>=0?(l?q(e,g):e)[w]:g))},[e,l,j,w,g]),A=W(g,e,b,l,u),M=[];return A&&(M=(l?q(e,g):e).map((e,t)=>(0,i.jsx)(y,{item:e,active:w===t,substringToHighlight:g,handleOnClick:j},e.id))),(0,i.jsxs)("div",{className:(0,d.default)("autocomplete-container",p),...m,children:[(0,i.jsx)(H,{value:g,onChange:C,onKeyDown:k,placeholder:a,isLoading:h,autoFocus:f}),(0,i.jsx)("div",{className:(0,d.default)("autocomplete-menu",{"dropdown-menu-open":A}),children:(0,i.jsx)("div",{className:"dropdown-menu__panel",children:M.length?(0,i.jsx)("ul",{children:M}):null})})]})},Z=(0,r.forwardRef)(({className:e,variant:t="primary",type:n="button",children:r,...o},s)=>(0,i.jsx)("button",{className:(0,d.default)("button",t,{disabled:o.disabled},e),type:n,ref:s,...o,children:r})),X=({children:e,decimals:t=0})=>(0,i.jsx)(i.Fragment,{children:C(e,t)}),K=(0,r.forwardRef)(({header:e,headerSeparator:t=!0,children:n,links:r,className:o,...s},a)=>(0,i.jsxs)("section",{className:(0,d.default)(o,"card"),ref:a,...s,children:[(0,i.jsxs)("div",{className:"card__container",children:[e&&(0,i.jsx)("div",{className:(0,d.default)("card__header",{"card__header--with-separator":t}),children:e}),n&&(0,i.jsx)("div",{className:"card__content",children:n})]}),!(null==r||!r.length)&&(0,i.jsx)("div",{className:"card__actions",children:r})]})),J=({children:e,onRemove:t,className:n="",disabled:o,compact:s=!1,onClick:a,onKeyPress:l,innerRef:c,asSpan:u=!1,...h})=>{let f=(0,r.useRef)(t);f.current=t;let p=(0,r.useCallback)(e=>{var t;e.stopPropagation(),null==(t=f.current)||t.call(f,e)},[]),m={...h},g="button";return(t||u)&&(g="span",(a||l)&&(m.role="button",m.tabIndex=0)),(0,i.jsxs)(g,{ref:c,className:(0,d.default)("chip",{"chip--disabled":o,"chip--compact":s},n),type:"button"===g?"button":void 0,onKeyPress:l,onClick:a,...m,children:[e,t&&!o&&(0,i.jsx)(z,{"data-testid":"remove-icon",onClick:p})]})},G=({lightMode:e,children:t,className:n,...r})=>(0,i.jsx)("pre",{className:(0,d.default)("codeblock",{"codeblock-light":e},n),...r,children:(0,i.jsx)("code",{children:t})}),Q=function(e){return new Promise(function(t){return setTimeout(function(){return t()},e)})},ee="node";typeof importScripts<"u"?ee="worker":typeof window<"u"&&(ee="browser");var te=ee,ne=function(){return Q(0)};"browser"===te&&"requestAnimationFrame"in window&&(ne=function(){return new Promise(function(e){return window.requestAnimationFrame(function(){return e()})})});var re,ie=ne;if("browser"===te&&"requestIdleCallback"in window)re=function(e){return new Promise(function(t){return window.requestIdleCallback(t,{timeout:e})})};else{var oe=Object.freeze({didTimeout:!0,timeRemaining:function(){return 1/0}});if(re=function(e){return Q((e||0)/2).then(function(){return oe})},"browser"===te&&"requestAnimationFrame"in window){var se=re;re=function(){return se().then(ie).then(function(){return oe})}}}var ae=Q,le=ie,ce=re,ue=(0,r.memo)(({textToCopy:e,beforeCopy:t="Copy",afterCopy:n="Copied",onCopy:o,...s})=>{let[a,l]=(0,r.useState)(!1),c=(0,r.useRef)(null);(0,r.useEffect)(()=>(l(!1),()=>{c.current=null}),[e]);let u=(0,r.useCallback)(()=>{let t=navigator.clipboard.writeText(e).then(()=>c.current===t?(l(!0),null==o||o(e),ae(1e4)):null).then(()=>{c.current===t&&l(!1)});c.current=t},[o,e]);return"clipboard"in navigator&&"writeText"in navigator.clipboard?(0,i.jsx)(Z,{...s,onClick:u,children:a?n:t}):null}),he="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,fe="object"==typeof self&&self&&self.Object===Object&&self,de=he||fe||Function("return this")(),pe=de.Symbol,me=Object.prototype,ge=me.hasOwnProperty,ve=me.toString,ye=pe?pe.toStringTag:void 0,we=Object.prototype.toString,xe=pe?pe.toStringTag:void 0;var be=/\s/,_e=/^\s+/;function Ce(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}var je=/^[-+]0x[0-9a-f]+$/i,ke=/^0b[01]+$/i,Ae=/^0o[0-7]+$/i,Me=parseInt;function Se(e){if("number"==typeof e)return e;if(function(e){return"symbol"==typeof e||function(e){return"object"==typeof e&&!!e}(e)&&"[object Symbol]"==function(e){return null==e?void 0===e?"[object Undef
2ined]":"[object Null]":xe&&xe in Object(e)?function(e){var t=ge.call(e,ye),n=e[ye];try{e[ye]=void 0;var r=!0}catch{}var i=ve.call(e);return r&&(t?e[ye]=n:delete e[ye]),i}(e):function(e){return we.call(e)}(e)}(e)}(e))return NaN;if(Ce(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=Ce(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=function(e){return e&&e.slice(0,function(e){for(var t=e.length;t--&&be.test(e.charAt(t)););return t}(e)+1).replace(_e,"")}(e);var n=ke.test(e);return n||Ae.test(e)?Me(e.slice(2),n?2:8):je.test(e)?NaN:+e}var Oe=function(){return de.Date.now()},Ne=Math.max,Le=Math.min,Ee=".checkbox-cell",Te=function(e,t,n){var r,i,o,s,a,l,c=0,u=!1,h=!1,f=!0;function d(t){var n=r,o=i;return r=i=void 0,c=t,s=e.apply(o,n)}function p(e){var n=e-l;return void 0===l||n>=t||n<0||h&&e-c>=o}function m(){var e=Oe();if(p(e))return g(e);a=setTimeout(m,function(e){var n=t-(e-l);return h?Le(n,o-(e-c)):n}(e))}function g(e){return a=void 0,f&&r?d(e):(r=i=void 0,s)}function v(){var e=Oe(),n=p(e);if(r=arguments,i=this,l=e,n){if(void 0===a)return function(e){return c=e,a=setTimeout(m,t),u?d(e):s}(l);if(h)return clearTimeout(a),a=setTimeout(m,t),d(l)}return void 0===a&&(a=setTimeout(m,t)),s}return t=Se(t)||0,Ce(n)&&(u=!!n.leading,o=(h="maxWait"in n)?Ne(Se(n.maxWait)||0,t):o,f="trailing"in n?!!n.trailing:f),v.cancel=function(){void 0!==a&&clearTimeout(a),c=0,r=l=i=a=void 0},v.flush=function(){return void 0===a?s:g(Oe())},v}((e,t)=>{if(!e||!t)return;let n=null==e?void 0:e.querySelectorAll(`${Ee} > input[type="checkbox"]`);if(null!=n&&n.length){let r=e.querySelectorAll(`${Ee} > input[type="checkbox"]:checked`);null!=r&&r.length&&n.length!==r.length?(t.checked=!0,t.indeterminate=!0):(t.checked=!(null==r||!r.length),t.indeterminate=!1)}else t.checked=!1,t.indeterminate=!1},0,{leading:!1}),ze=e=>{let t=(0,r.useRef)(null),n=(0,r.useRef)(null),i=(0,r.useRef)(null),[o,s]=(0,r.useState)(null),[a,l]=(0,r.useState)(null);return(0,r.useEffect)(()=>{if(t.current=o,!o)return;let e=()=>{var e;let t=null==(e=n.current)?void 0:e.querySelectorAll(`${Ee} > input[type="checkbox"]`);if(null==t||!t.length)return;let r=o.checked;o.disabled=!0,ce().then(()=>{for(let e of t.values())r!==e.checked&&e.click();o.disabled=!1})};return o.addEventListener("click",e),()=>{o.removeEventListener("click",e)}},[o]),(0,r.useEffect)(()=>{if(n.current=a,!e||!a)return;let r=n=>{var r;let{target:o}=n;var s;if((n instanceof MouseEvent||n instanceof KeyboardEvent)&&o instanceof HTMLElement&&null!=(r=o.parentElement)&&r.matches(".checkbox-cell")&&(n.shiftKey&&(null==(s=window.getSelection())||s.removeAllRanges()),o instanceof HTMLInputElement)){if(n.shiftKey){let e=Array.from(a.querySelectorAll('.checkbox-cell > input[type="checkbox"]')||[]),t=Math.max(0,i.current?e.indexOf(i.current):0),n=e.indexOf(o);n<t&&([t,n]=[n,t+1]),ce().then(()=>{for(let r of e.slice(t,n))(o.checked&&!r.checked||!o.checked&&r.checked)&&r.click()})}n.isTrusted&&(i.current=o),Te(a,t.current),e(n)}};return null==a||a.addEventListener("click",r),()=>{null==a||a.removeEventListener("click",r)}},[a,e]),{selectAllRef:s,checkboxContainerRef:l,checkSelectAllSync:(0,r.useCallback)(()=>{Te(n.current,t.current)},[])}};function Pe(e){return({onLoadMoreItems:t,hasMoreData:n,loaderComponent:o=(0,i.jsx)(O,{}),data:s,clickToLoad:a=!1,...l})=>{let c=(0,r.useRef)(t);c.current=t;let[u,h]=(0,r.useState)(!1),f=(0,r.useRef)(null),d=(0,r.useCallback)(()=>{h(!0),c.current&&c.current()},[]),p=(0,r.useRef)(null);p.current=({isIntersecting:e})=>{!e||u||!n||d()};let m=(0,r.useMemo)(()=>{if("IntersectionObserver"in window&&!a)return new window.IntersectionObserver(([e])=>{p.current&&p.current(e)})},[a]);(0,r.useEffect)(()=>{if(f.current&&m&&!u){let e=f.current;return m.observe(e),()=>m.unobserve(e)}},[m,u]),(0,r.useEffect)(()=>{h(!1)},[null==s?void 0:s.length]);let g=o;return(!("IntersectionObserver"in window)||a)&&!u&&(g=(0,i.jsx)(Z,{variant:"secondary",onClick:d,"data-testid":"click-to-load-more",children:"string"==typeof a&&a||"Load more data"})),(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(e,{...l,data:s}),(0,i.jsx)("div",{className:"data-loader__loading",ref:f,children:n&&g})]})}}var Re=(0,r.memo)(({datum:e,id:t,dataRenderer:n,loading:r,firstItem:o})=>{let s;try{s=n(e)}catch(e){if(!r)throw e;s=o&&(0,i.jsx)(O,{})}return(0,i.jsx)("li",{children:s},t)}),$e=({data:e,getIdKey:t,dataRenderer:n,loading:r=!1,onSelectionChange:o,className:s,...a})=>{let{checkboxContainerRef:l}
2=ze(o);return(0,i.jsx)("ul",{...a,className:(0,d.default)("data-list","no-bullet",s),ref:l,children:e.map((o,s)=>{let a=t(o,s,e);return(0,i.jsx)(Re,{datum:o,id:a,dataRenderer:n,loading:r,firstItem:0===s},a)})})},Ie=e=>(0,i.jsx)(i.Fragment,{children:Pe($e)(e)}),He="data-table",De=(0,r.memo)(({columns:e,onHeaderClick:t,checkbox:n})=>(0,i.jsx)("thead",{children:(0,i.jsxs)("tr",{children:[n&&(0,i.jsx)("th",{className:`${He}__header-cell--checkbox`,children:(0,i.jsx)("div",{className:"checkbox-cell",children:n})}),e.map(({sorted:e,name:n,label:r,sortable:o,width:s})=>(0,i.jsx)("th",{className:(0,d.default)({[`${He}__header-cell--sortable`]:o,[`${He}__header-cell--${e||"ascend"}`]:o&&e}),onClick:o?()=>null==t?void 0:t(n):void 0,style:s?{width:s}:void 0,"data-column-name":n,children:"function"==typeof r?r():r},n))]})})),Be=({column:e,datum:t,loading:n,fixedLayout:r,firstColumn:o})=>{let s;try{s=e.render(t)}catch(e){if(!n)throw e;s=o&&(0,i.jsx)(O,{})}return(0,i.jsx)("td",{className:r?`${He}__cell--ellipsis`:void 0,children:s})},Ve=(0,r.memo)(({datum:e,loading:t,columns:n,selectable:o,id:s,fixedLayout:a,firstColumn:l})=>{let c=(0,r.useId)();return(0,i.jsxs)("tr",{children:[o&&(0,i.jsxs)("td",{className:"checkbox-cell",children:[(0,i.jsx)("input",{type:"checkbox","data-id":s,id:c}),(0,i.jsx)("label",{htmlFor:c,"aria-label":s,title:"click to select, shift+click for multiple selection"})]}),n.map(n=>(0,i.jsx)(Be,{column:n,datum:e,loading:t,fixedLayout:a,firstColumn:l},`${s}-${n.name}`))]})}),Fe=({data:e,loading:t,columns:n,getIdKey:o,onHeaderClick:s,onSelectionChange:a,density:l="normal",fixedLayout:c,optimisedRendering:u,className:h,...f})=>{let p=(0,r.useId)(),{selectAllRef:m,checkboxContainerRef:g,checkSelectAllSync:v}=ze(a);(0,r.useEffect)(v,[e,v]);let y=!!a,w=(0,r.useMemo)(()=>y&&(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("input",{type:"checkbox",id:p,ref:m}),(0,i.jsx)("label",{htmlFor:p,"aria-label":"Selection control for all visible items"})]}),[p,m,y]);return(0,i.jsxs)("table",{className:(0,d.default)(h,He,{[`${He}--compact`]:"compact"===l,[`${He}--fixed`]:c,[`${He}--optimised-rendering`]:u}),...f,children:[(0,i.jsx)(De,{columns:n,onHeaderClick:s,checkbox:w}),(0,i.jsx)("tbody",{ref:g,translate:"no",children:e.map((r,s)=>{let a=o(r,s,e);return(0,i.jsx)(Ve,{datum:r,loading:t,id:a,selectable:y,firstColumn:0===s,columns:n,fixedLayout:c},a)})})]})},Ue=e=>(0,i.jsx)(i.Fragment,{children:Pe(Fe)(e)}),qe=({title:e,children:t,link:n,highlight:r,compact:o,hideTitle:s,inline:a,className:l,altStyle:c,...u})=>(0,i.jsxs)("div",{className:(0,d.default)(l,"decorated-list-item",{"decorated-list-item--compact":o,"decorated-list-item--no-title":s,"decorated-list-item--inline":a,"decorated-list-item--alt-style":c,"decorated-list-item--has-link":n}),...u,children:[n&&(0,i.jsx)(n.type,{...n.props,"aria-hidden":"true",tabIndex:-1}),e&&(0,i.jsx)("div",{className:"decorated-list-item__title tiny",children:e}),(0,i.jsx)("div",{className:"decorated-list-item__content",children:r?(0,i.jsx)("strong",{children:t}):t})]}),We=({size:e="medium",percent:t=0,bgColorClass:n="colour-platinum",colorClass:r="colour-sea-blue",children:o})=>{let s,a;return t>=50?(a="180deg",s=3.6*(t-50)+"deg"):(a=3.6*t+"deg",s="0deg"),(0,i.jsxs)("span",{className:`doughnut-chart--${e} ${n}`,children:[(0,i.jsx)("span",{className:`doughnut-chart--${e}__left-wrap`,children:(0,i.jsx)("span",{className:`doughnut-chart--${e}__left-wrap__loader ${r}`,style:{transform:`rotate(${s})`}})}),(0,i.jsx)("span",{className:`doughnut-chart--${e}__right-wrap`,children:(0,i.jsx)("span",{className:`doughnut-chart--${e}__right-wrap__loader ${r}`,style:{transform:`rotate(${a})`}})}),(0,i.jsx)("span",{className:`doughnut-chart--${e}__inner-circle`,style:{},children:o||(0,i.jsx)("span",{children:`${t}%`})})]})},Ye=({children:e,label:t,className:n,openOnHover:o=!1,...s})=>{let[a,l]=(0,r.useState)(!1),[c,u]=(0,r.useState)(),h=(0,r.useRef)(null),f=(0,r.useRef)(null),p=typeof e;(0,r.useEffect)(()=>{if(!a)return;let e=e=>{var t,n;!h.current||null!=(t=h.current)&&null!=(t=t.parentElement)&&t.contains(e.target)||"function"===p&&null!=(n=f.current)&&n.c
2ontains(e.target)||l(!1)};return window.document.addEventListener("mouseup",e),window.document.addEventListener("touchend",e),()=>{window.document.removeEventListener("mouseup",e),window.document.removeEventListener("touchend",e)}},[a,p]),(0,r.useEffect)(()=>{h.current&&a&&u(h.current.getBoundingClientRect())},[a]);let m=(0,r.useMemo)(()=>{if(!c)return;let e=window.innerHeight-c.bottom;return{top:c.height,maxHeight:e}},[c]);return(0,i.jsxs)("div",{className:"dropdown-container",onPointerEnter:o?()=>l(!0):void 0,onPointerLeave:o?()=>l(!1):void 0,children:[(0,i.jsx)(Z,{className:(0,d.default)("dropdown",n),onClick:()=>l(e=>!e),ref:h,...s,children:t}),(0,i.jsx)("div",{className:(0,d.default)("dropdown-menu",{"dropdown-menu-open":a}),ref:f,style:m,children:a&&("function"==typeof e?e(l):e)})]})},Ze=({visibleElement:e,expanded:t,children:n,className:o,"aria-haspopup":s,...a})=>(0,i.jsxs)("div",{className:(0,d.default)(o,"dropdown"),...a,"aria-expanded":t,"aria-haspopup":s||!0,children:[(0,i.jsx)(r.Fragment,{children:e},"visible"),(0,i.jsx)(r.Fragment,{children:t&&(0,i.jsx)("div",{className:"dropdown__content",children:n})},"content")]}),Xe=({visibleElement:e,propChangeToClose:t,className:n,"aria-haspopup":o,children:s,...a})=>{let[l,c]=(0,r.useState)(!1),u=(0,r.useRef)(null),h=(0,r.useCallback)(()=>c(!1),[]);(0,r.useEffect)(()=>{h()},[h,t]),(0,r.useEffect)(()=>{if(!l)return;let e=e=>{var t;!u.current||e.target&&null!=(t=u.current)&&t.contains(e.target)||h()};return window.document.addEventListener("mouseup",e,{passive:!0}),window.document.addEventListener("touchend",e,{passive:!0}),()=>{window.document.removeEventListener("mouseup",e),window.document.removeEventListener("touchend",e)}},[h,l]);let f=(0,r.useCallback)(()=>c(e=>!e),[]);return(0,i.jsxs)("div",{className:(0,d.default)(n,"dropdown"),...a,"aria-expanded":l,"aria-haspopup":o||!0,ref:u,children:[(0,i.jsx)(r.Fragment,{children:e(f)},"visible"),(0,i.jsx)(r.Fragment,{children:l&&(0,i.jsx)("div",{className:"dropdown__content",children:"function"==typeof s?s(h):s})},"content")]})},Ke=(0,r.createContext)(null);Ke.displayName="EllipsisRevealContext";var Je=({children:e,className:t,title:n,contextKey:o,...s})=>{let a=(0,r.useContext)(Ke),l=a&&o&&a[0].has(o),[c,u]=(0,r.useState)(!1);return c||l?(0,i.jsx)(i.Fragment,{children:e}):(0,i.jsx)(Z,{variant:"tertiary",onClick:()=>{u(!0),o&&a&&a[1](e=>new Set([...e,o]))},className:(0,d.default)(t,"ellipsis-reveal"),title:n||"Show more","aria-expanded":"false",...s,children:"[...]"})};Je.Provider=({children:e})=>{let t=(0,r.useState)(new Set);return(0,i.jsx)(Ke.Provider,{value:t,children:e})};var Ge=e=>(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 10 15",fill:"currentColor",...e,children:(0,i.jsx)("path",{d:"M10 0H0v15l5-5 5 5V0z"})}),Qe=(0,i.jsx)(Ge,{width:12,height:12}),et=({label:e,title:t,className:n,iconComponent:o=Qe,children:s,...a})=>{let l=(0,r.useId)(),[c,u]=(0,r.useState)(!1);return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)("button",{className:(0,d.default)(n,"evidence-tag"),onClick:()=>u(!c),type:"button","data-testid":"evidence-tag-trigger","aria-expanded":c,"aria-controls":l,...a,children:[o,(0,i.jsx)("span",{className:"evidence-tag__label",children:e})]}),s&&(0,i.jsx)("div",{className:"evidence-tag-content "+(c?"evidence-tag-content--visible":""),"data-testid":"evidence-tag-content",id:l,children:c&&s})]})},tt=({descriptionString:e="items",expanded:t,setExpanded:n,showHideWording:r,nHiddenItems:o})=>{let s=`${r?"Hide":"Fewer"} ${e}`;return t||(s=void 0===o?r?"Show":"More":r?`Show ${o}`:`${o} more`,s+=` ${e}`),(0,i.jsx)(Z,{variant:"tertiary",className:"expandable-list__action",onClick:()=>n(!t),"data-testid":"expandable-message",children:s})},nt=({children:e,numberCollapsedItems:t=5,descriptionString:n="items",showBullets:o,extraActions:s,displayNumberOfHiddenItems:a,className:l,...c})=>{let[u,h]=(0,r.useState)(!1),f=r.Children.toArray(e).filter(Boolean);if(!f.length)return null;let p=f.length>t+1,m=r.Children.map(f.slice(0,u||!p?f.length:t),(e,t)=>{let n=t;return"object"==typeof e&&"key"in e&&e.key&&(n=e.key),(0,i.jsx)("li",{children:e},n)}),g=null;return(p||s)&&(g=(0,i.jsxs)("li",{children:[p&&(0,i.jsx)(tt,{expanded:u,setExpanded:h,descriptionString:n||"items",showHideWording:0===t,nHiddenItems:a?f.length-t:void 0}),s]})),(0,i.jsxs)("ul",{className:(0,d.default)(l,"expandable-list",{"no-bullet":!o}),...c,children:[m,g]})},rt=e=>(0,i.jsxs)("svg",{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[(0,i.jsx)("path",{d:"M16 0H10V2H13.071L7 8.07104L8.41422 9.48526L14 3.89948V6H16V0Z",fill:"currentColor"}),(0,i.jsx)("path",{d:"M7 2H0V16H14V9H12V14H2V4H7V2Z",fill:"currentColor"})]}),it=({children:e,url:t,tidyUrl:n=!1,newTab:r=!0,className:o,rel:s,noIcon:a=!1,...l})=>t?(0,i.jsxs)("a",{...l,className:(0,d.default)("external-link",o),rel:(0,d.default)("noopener",s),href:t,...r?{target:"_blank"}:{},children:[e||(n?A(t):t),!a&&(0,i.jsx)(rt,{"data-testid":"external-link-icon",width:12.5})]}):(0,i.jsx)(i.Fragment,{children:e}
2),ot=({search:e,secondaryItems:t,subtext:n,isNegative:r=!1,className:o,homepageLink:s,children:a,...l})=>(0,i.jsxs)("div",{className:(0,d.default)(o,"header",{"header--negative":r}),...l,children:[(0,i.jsx)("div",{className:"header__link",children:s}),(0,i.jsx)("div",{className:"header__navigation",children:a}),(0,i.jsx)("div",{className:"header__search",children:e}),(t||n)&&(0,i.jsxs)("div",{className:"header__secondary",children:[t&&(0,i.jsx)("div",{className:"header__navigation",children:t}),n&&(0,i.jsx)("small",{children:n})]})]}),st=({headingContent:e,headingLevel:t="h2",headingClassName:n,children:r,className:o,noSidePadding:s=!1,...a})=>(0,i.jsxs)("section",{className:(0,d.default)("hero-container",o,!s&&"hero-container--side-padding"),...a,children:[e&&(0,i.jsx)(t,{className:(0,d.default)(n,"hero-container__title","big"),children:e}),r]}),at=({title:e="",children:t,footer:n,className:r,...o})=>(0,i.jsxs)("div",{className:(0,d.default)("hero-header",r),...o,children:[(0,i.jsxs)("div",{className:"hero-header__content",children:[(0,i.jsx)("h1",{className:"x-huge",children:e}),t]}),(0,i.jsx)("div",{className:"hero-header__footer",children:n})]});function lt(e,t){return e<t?-1:e>t?1:e>=t?0:NaN}var ct,ut=(1===(ct=lt).length&&(ct=function(e){return function(t,n){return lt(e(t),n)}}(ct)),{left:function(e,t,n,r){for(null==n&&(n=0),null==r&&(r=e.length);n<r;){var i=n+r>>>1;ct(e[i],t)<0?n=i+1:r=i}return n},right:function(e,t,n,r){for(null==n&&(n=0),null==r&&(r=e.length);n<r;){var i=n+r>>>1;ct(e[i],t)>0?r=i:n=i+1}return n}}).right,ht=Array.prototype;ht.slice,ht.map;var ft=Math.sqrt(50),dt=Math.sqrt(10),pt=Math.sqrt(2);function mt(e,t,n){var r=(t-e)/Math.max(0,n),i=Math.floor(Math.log(r)/Math.LN10),o=r/10**i;return i>=0?(o>=ft?10:o>=dt?5:o>=pt?2:1)*10**i:-(10**-i)/(o>=ft?10:o>=dt?5:o>=pt?2:1)}var gt=Array.prototype.slice;function vt(e){return e}var yt=1e-6;function wt(e){return"translate("+(e+.5)+",0)"}function xt(e){return"translate(0,"+(e+.5)+")"}function bt(e){return function(t){return+e(t)}}function _t(e){var t=Math.max(0,e.bandwidth()-1)/2;return e.round()&&(t=Math.round(t)),function(n){return+e(n)+t}}function Ct(){return!this.__axis}function jt(e,t){var n=[],r=null,i=null,o=6,s=6,a=3,l=1===e||4===e?-1:1,c=4===e||2===e?"x":"y",u=1===e||3===e?wt:xt;function h(h){var f=r??(t.ticks?t.ticks.apply(t,n):t.domain()),d=i??(t.tickFormat?t.tickFormat.apply(t,n):vt),p=Math.max(o,0)+a,m=t.range(),g=+m[0]+.5,v=+m[m.length-1]+.5,y=(t.bandwidth?_t:bt)(t.copy()),w=h.selection?h.selection():h,x=w.selectAll(".domain").data([null]),b=w.selectAll(".tick").data(f,t).order(),_=b.exit(),C=b.enter().append("g").attr("class","tick"),j=b.select("line"),k=b.select("text");x=x.merge(x.enter().insert("path",".tick").attr("class","domain").attr("stroke","currentColor")),b=b.merge(C),j=j.merge(C.append("line").attr("stroke","currentColor").attr(c+"2",l*o)),k=k.merge(C.append("text").attr("fill","currentColor").attr(c,l*p).attr("dy",1===e?"0em":3===e?"0.71em":"0.32em")),h!==w&&(x=x.transition(h),b=b.transition(h),j=j.transition(h),k=k.transition(h),_=_.transition(h).attr("opacity",yt).attr("transform",function(e){return isFinite(e=y(e))?u(e):this.getAttribute("transform")}),C.attr("opacity",yt).attr("transform",function(e){var t=this.parentNode.__axis;return u(t&&isFinite(t=t(e))?t:y(e))})),_.remove(),x.attr("d",4===e||2==e?s?"M"+l*s+","+g+"H0.5V"+v+"H"+l*s:"M0.5,"+g+"V"+v:s?"M"+g+","+l*s+"V0.5H"+v+"V"+l*s:"M"+g+",0.5H"+v),b.attr("opacity",1).attr("transform",function(e){return u(y(e))}),j.attr(c+"2",l*o),k.attr(c,l*p).text(d),w.filter(Ct).attr("fill","none").attr("font-size",10).attr("font-family","sans-serif").attr("text-anchor",2===e?"start":4===e?"end":"middle"),w.each(function(){this.__axis=y})}return h.scale=function(e){return arguments.length?(t=e,h):t},h.ticks=function(){return n=gt.call(arguments),h},h.tickArguments=function(e){return arguments.length?(n=null==e?[]:gt.call(e),h):n.slice()},h.tickValues=function(e){return arguments.length?(r=null==e?null:gt.call(e),h):r&&r.slice()},h.tickFormat=function(e){return arguments.length?(i=e,h):i},h.tickSize=function(e){return arguments.length?(o=s=+e,h):o},h.tickSizeInner=function(e){return arguments.length?(o=+e,h):o},h.tickSizeOuter=function(e){return arguments.length?(s=+e,h):s},h.tickPadding=function(e){return arguments.length?(a=+e,h):a},h}var kt={value:function(){}};function At(){for(var e,t=0,n=arguments.length,r={};t<n;++t){if(!(e=arguments[t]+"")||e in r||/[\s.]/.test(e))throw Error("illegal type: "+e);r[e]=[]}return new Mt(r)}function Mt(e){this._=e}function St(e,t){for(var n,r=0,i=e.length;r<i;++r)if((n=e[r]).name===t)return n.value}function Ot(e,t,n){for(var r=0,i=e.length;r<i;++r)if(e[r].name===t){e[r]=kt,e=e.slice(0,r).concat(e.slice(r+1));break}return null!=n&&e.push({name:t,value:n}),e}Mt.prototype=At.prototype={constructor:Mt,on:function(e,t){var n,r=this._,i=function(e,t){return e.trim().split(/^|\s+/).map(function(e){var n="",r=e.indexOf(".");if(r>=0&&(n=e.slice(r+1),e=e.slice(0,r)),e&&!t.hasOwnProperty(e))throw Error("unknown type: "+e);return{type:e,name:n}})}(e+"",r),o=-1,s=i.length;if(!(arguments.length<2)){if(null!=t&&"function"!=typeof t)throw Error("invalid callback: "+t);for(;++o<s;)if(n=(e=i[o]).type)r[n]=Ot(r[n],e.name,t);else if(null==t)for(n in r)r[n]=Ot(r[n],e.name,null);return this}for(;++o<s;)if((n=(e=i[o]).type)&&(n=St(r[n],e.name)))return n},copy:function(){var e={},t=this._;for(var n in t)e[n]=t[n].slice();return new Mt(e)},call:function(e,t){if((n=arguments.length-2)>0)for(var n,r,i=Array(n),o=0;o<n;++o)i[o]=arguments[o+2];if(!this._.hasOwnProperty(e))throw Error("unknown type: "+e);for(o=0,n=(r=this._[e]).length;o<n;++o)r[o].value.apply(t,i)},apply:function(e,t,n){if(!this._.hasOwnProperty(e))throw Error("unknown type: "+e);for(var r=this._[e],i=0,o=r.length;i<o;++i)r[i].value.apply(t,n)}};var Nt={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};function Lt(e){var t=e+="",n=t.indexOf(":");return n>=0&&"xmlns"!==(t=e.slice(0,n))&&(e=e.slice(n+1)),Nt.hasOwnProperty(t)?{space:Nt[t],local:e}:e}function Et(e){return function(){var t=this.ownerDocument,n=this.namespaceURI;return"http://www.w3.org/1999/xhtml"===n&&"http://www.w3.org/1999/xhtml"===t.documentElement.namespaceURI?t.createElement(e):t.createElementNS(n,e)}}function Tt(e){return function(){return this.ownerDocument.createElementNS(e.space,e.local)}}function zt(e){var t=Lt(e);return(t.local?Tt:Et)(t)}function Pt(){}function Rt(e){return null==e?Pt:function(){return this.querySelector(e)}}function $t(){return[]}function It(e){return null==e?$t:function(){return this.querySelectorAll(e)}}function Ht(e){return function(){return this.matches(e)}}function Dt(e){return Array(e.length)}function Bt(e,t){this.ownerDocument=e.ownerDocument,this.namespaceURI=e.namespaceURI,this._next=null,this._parent=e,this.__data__=t}function Vt(e,t,n,r,i,o){for(var s,a=0,l=t.length,c=o.length;a<c;++a)(s=t[a])?(s.__data__=o[a],r[a]=s):n[a]=new Bt(e,o[a]);for(;a<l;
2++a)(s=t[a])&&(i[a]=s)}function Ft(e,t,n,r,i,o,s){var a,l,c,u={},h=t.length,f=o.length,d=Array(h);for(a=0;a<h;++a)(l=t[a])&&(d[a]=c="$"+s.call(l,l.__data__,a,t),c in u?i[a]=l:u[c]=l);for(a=0;a<f;++a)(l=u[c="$"+s.call(e,o[a],a,o)])?(r[a]=l,l.__data__=o[a],u[c]=null):n[a]=new Bt(e,o[a]);for(a=0;a<h;++a)(l=t[a])&&u[d[a]]===l&&(i[a]=l)}function Ut(e,t){return e<t?-1:e>t?1:e>=t?0:NaN}function qt(e){return function(){this.removeAttribute(e)}}function Wt(e){return function(){this.removeAttributeNS(e.space,e.local)}}function Yt(e,t){return function(){this.setAttribute(e,t)}}function Zt(e,t){return function(){this.setAttributeNS(e.space,e.local,t)}}function Xt(e,t){return function(){var n=t.apply(this,arguments);null==n?this.removeAttribute(e):this.setAttribute(e,n)}}function Kt(e,t){return function(){var n=t.apply(this,arguments);null==n?this.removeAttributeNS(e.space,e.local):this.setAttributeNS(e.space,e.local,n)}}function Jt(e){return e.ownerDocument&&e.ownerDocument.defaultView||e.document&&e||e.defaultView}function Gt(e){return function(){this.style.removeProperty(e)}}function Qt(e,t,n){return function(){this.style.setProperty(e,t,n)}}function en(e,t,n){return function(){var r=t.apply(this,arguments);null==r?this.style.removeProperty(e):this.style.setProperty(e,r,n)}}function tn(e,t){return e.style.getPropertyValue(t)||Jt(e).getComputedStyle(e,null).getPropertyValue(t)}function nn(e){return function(){delete this[e]}}function rn(e,t){return function(){this[e]=t}}function on(e,t){return function(){var n=t.apply(this,arguments);null==n?delete this[e]:this[e]=n}}function sn(e){return e.trim().split(/^|\s+/)}function an(e){return e.classList||new ln(e)}function ln(e){this._node=e,this._names=sn(e.getAttribute("class")||"")}function cn(e,t){for(var n=an(e),r=-1,i=t.length;++r<i;)n.add(t[r])}function un(e,t){for(var n=an(e),r=-1,i=t.length;++r<i;)n.remove(t[r])}function hn(e){return function(){cn(this,e)}}function fn(e){return function(){un(this,e)}}function dn(e,t){return function(){(t.apply(this,arguments)?cn:un)(this,e)}}function pn(){this.textContent=""}function mn(e){return function(){this.textContent=e}}function gn(e){return function(){var t=e.apply(this,arguments);this.textContent=t??""}}function vn(){this.innerHTML=""}function yn(e){return function(){this.innerHTML=e}}function wn(e){return function(){var t=e.apply(this,arguments);this.innerHTML=t??""}}function xn(){this.nextSibling&&this.parentNode.appendChild(this)}function bn(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}function _n(){return null}function Cn(){var e=this.parentNode;e&&e.removeChild(this)}function jn(){var e=this.cloneNode(!1),t=this.parentNode;return t?t.insertBefore(e,this.nextSibling):e}function kn(){var e=this.cloneNode(!0),t=this.parentNode;return t?t.insertBefore(e,this.nextSibling):e}Bt.prototype={constructor:Bt,appendChild:function(e){return this._parent.insertBefore(e,this._next)},insertBefore:function(e,t){return this._parent.insertBefore(e,t)},querySelector:function(e){return this._parent.querySelector(e)},querySelectorAll:function(e){return this._parent.querySelectorAll(e)}},ln.prototype={add:function(e){this._names.indexOf(e)<0&&(this._names.push(e),this._node.setAttribute("class",this._names.join(" ")))},remove:function(e){var t=this._names.indexOf(e);t>=0&&(this._names.splice(t,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(e){return this._names.indexOf(e)>=0}};var An={},Mn=null;function Sn(e,t,n){return e=On(e,t,n),function(t){var n=t.relatedTarget;(!n||n!==this&&!(8&n.compareDocumentPosition(this)))&&e.call(this,t)}}function On(e,t,n){return function(r){var i=Mn;Mn=r;try{e.call(this,this.__data__,t,n)}finally{Mn=i}}}function Nn(e){return function(){var t=this.__on;if(t){for(var n,r=0,i=-1,o=t.length;r<o;++r)n=t[r],e.type&&n.type!==e.type||n.name!==e.name?t[++i]=n:this.removeEventListener(n.type,n.listener,n.capture);++i?t.length=i:delete this.__on}}}function Ln(e,t,n){var r=An.hasOwnProperty(e.type)?Sn:On;return function(i,o,s){var a,l=this.__on,c=r(t,o,s);if(l)for(var u=0,h=l.length;u<h;++u)if((a=l[u]).type===e.type&&a.name===e.name)return this.removeEventListener(a.type,a.listener,a.capture),this.addEventListener(a.type,a.listener=c,a.capture=n),void(a.value=t);this.addEventListener(e.type,c,n),a={type:e.type,name:e.name,value:t,listener:c,capture:n},l?l.push(a):this.__on=[a]}}function En(e,t,n){var r=Jt(e),i=r.CustomEvent;"function"==typeof i?i=new i(t,n):(i=r.document.createEvent("Event"),n?(i.initEvent(t,n.bubbles,n.cancelable),i.detail=n.detail):i.initEvent(t,!1,!1)),e.dispatchEvent(i)}function Tn(e,t){return function(){return En(this,e,t)}}function zn(e,t){return function(){return En(this,e,t.apply(this,arguments))}}typeof document<"u"&&("onmouseenter"in document.documentElement||(An={mouseenter:"mouseover",mouseleave:"mou
2seout"}));var Pn=[null];function Rn(e,t){this._groups=e,this._parents=t}function $n(){return new Rn([[document.documentElement]],Pn)}function In(e){return"string"==typeof e?new Rn([[document.querySelector(e)]],[document.documentElement]):new Rn([[e]],Pn)}function Hn(){for(var e,t=Mn;e=t.sourceEvent;)t=e;return t}function Dn(e,t){var n=e.ownerSVGElement||e;if(n.createSVGPoint){var r=n.createSVGPoint();return r.x=t.clientX,r.y=t.clientY,[(r=r.matrixTransform(e.getScreenCTM().inverse())).x,r.y]}var i=e.getBoundingClientRect();return[t.clientX-i.left-e.clientLeft,t.clientY-i.top-e.clientTop]}function Bn(e){var t=Hn();return t.changedTouches&&(t=t.changedTouches[0]),Dn(e,t)}function Vn(){Mn.preventDefault(),Mn.stopImmediatePropagation()}function Fn(e,t,n){e.prototype=t.prototype=n,n.constructor=e}function Un(e,t){var n=Object.create(e.prototype);for(var r in t)n[r]=t[r];return n}function qn(){}Rn.prototype=$n.prototype={constructor:Rn,select:function(e){"function"!=typeof e&&(e=Rt(e));for(var t=this._groups,n=t.length,r=Array(n),i=0;i<n;++i)for(var o,s,a=t[i],l=a.length,c=r[i]=Array(l),u=0;u<l;++u)(o=a[u])&&(s=e.call(o,o.__data__,u,a))&&("__data__"in o&&(s.__data__=o.__data__),c[u]=s);return new Rn(r,this._parents)},selectAll:function(e){"function"!=typeof e&&(e=It(e));for(var t=this._groups,n=t.length,r=[],i=[],o=0;o<n;++o)for(var s,a=t[o],l=a.length,c=0;c<l;++c)(s=a[c])&&(r.push(e.call(s,s.__data__,c,a)),i.push(s));return new Rn(r,i)},filter:function(e){"function"!=typeof e&&(e=Ht(e));for(var t=this._groups,n=t.length,r=Array(n),i=0;i<n;++i)for(var o,s=t[i],a=s.length,l=r[i]=[],c=0;c<a;++c)(o=s[c])&&e.call(o,o.__data__,c,s)&&l.push(o);return new Rn(r,this._parents)},data:function(e,t){if(!e)return d=Array(this.size()),c=-1,this.each(function(e){d[++c]=e}),d;var n=t?Ft:Vt,r=this._parents,i=this._groups;"function"!=typeof e&&(e=function(e){return function(){return e}}(e));for(var o=i.length,s=Array(o),a=Array(o),l=Array(o),c=0;c<o;++c){var u=r[c],h=i[c],f=h.length,d=e.call(u,u&&u.__data__,c,r),p=d.length,m=a[c]=Array(p),g=s[c]=Array(p);n(u,h,m,g,l[c]=Array(f),d,t);for(var v,y,w=0,x=0;w<p;++w)if(v=m[w]){for(w>=x&&(x=w+1);!(y=g[x])&&++x<p;);v._next=y||null}}return(s=new Rn(s,r))._enter=a,s._exit=l,s},enter:function(){return new Rn(this._enter||this._groups.map(Dt),this._parents)},exit:function(){return new Rn(this._exit||this._groups.map(Dt),this._parents)},join:function(e,t,n){var r=this.enter(),i=this,o=this.exit();return r="function"==typeof e?e(r):r.append(e+""),null!=t&&(i=t(i)),null==n?o.remove():n(o),r&&i?r.merge(i).order():i},merge:function(e){for(var t=this._groups,n=e._groups,r=t.length,i=n.length,o=Math.min(r,i),s=Array(r),a=0;a<o;++a)for(var l,c=t[a],u=n[a],h=c.length,f=s[a]=Array(h),d=0;d<h;++d)(l=c[d]||u[d])&&(f[d]=l);for(;a<r;++a)s[a]=t[a];return new Rn(s,this._parents)},order:function(){for(var e=this._groups,t=-1,n=e.length;++t<n;)for(var r,i=e[t],o=i.length-1,s=i[o];--o>=0;)(r=i[o])&&(s&&4^r.compareDocumentPosition(s)&&s.parentNode.insertBefore(r,s),s=r);return this},sort:function(e){function t(t,n){return t&&n?e(t.__data__,n.__data__):!t-!n}e||(e=Ut);for(var n=this._groups,r=n.length,i=Array(r),o=0;o<r;++o){for(var s,a=n[o],l=a.length,c=i[o]=Array(l),u=0;u<l;++u)(s=a[u])&&(c[u]=s);c.sort(t)}return new Rn(i,this._parents).order()},call:function(){var e=arguments[0];return arguments[0]=this,e.apply(null,arguments),this},nodes:function(){var e=Array(this.size()),t=-1;return this.each(function(){e[++t]=this}),e},node:function(){for(var e=this._groups,t=0,n=e.length;t<n;++t)for(var r=e[t],i=0,o=r.length;i<o;++i){var s=r[i];if(s)return s}return null},size:function(){var e=0;return this.each(function(){++e}),e},empty:function(){return!this.node()},each:function(e){for(var t=this._groups,n=0,r=t.length;n<r;++n)for(var i,o=t[n],s=0,a=o.length;s<a;++s)(i=o[s])&&e.call(i,i.__data__,s,o);return this},attr:function(e,t){var n=Lt(e);if(arguments.length<2){var r=this.node();return n.local?r.getAttributeNS(n.space,n.local):r.getAttribute(n)}return this.each((null==t?n.local?Wt:qt:"function"==typeof t?n.local?Kt:Xt:n.local?Zt:Yt)(n,t))},style:function(e,t,n){return arguments.length>1?this.each((null==t?Gt:"function"==typeof t?en:Qt)(e,t,n??"")):tn(this.node(),e)},property:function(e,t){return arguments.length>1?this.each((null==t?nn:"function"==typeof t?on:rn)(e,t)):this.node()[e]},classed:function(e,t){var n=sn(e+"");if(arguments.length<2){for(var r=an(this.node()),i=-1,o=n.length;++i<o;)if(!r.contains(n[i]))return!1;return!0}return this.each(("function"==typeof t?dn:t?hn:fn)(n,t))},text:function(e){return arguments.length?this.each(null==e?pn:("function"==typeof e?gn:mn)(e)):this.node().textContent},html:function(e){return arguments.length?this.each(null==e?vn:("function"==typeof e?wn:yn)(e)):this.node().innerHTML},raise:function(){return this.each(xn)},lower:function(){return this.each(bn)},append:function(e){var t="function"==typeof e?e:zt(e);return this.select(function(){return this.appendChild(t.apply(this,arguments))})},insert:function(e,t){var n="function"==typeof e?e:zt(e),r=null==t?_n:"function"==typeof t?t:Rt(t);return this.select(function(){return this.insertBefore(n.apply(this,arguments),r.apply(this,arguments)||null)})},remove:function(){return this.each(Cn)},clone:function(e){return this.select(e?kn:jn)},datum:function(e){return arguments.length?this.property("__data__",e):this.node().__data__},on:function(e,t,n){var r,i,o=function(e){return e.trim().split(/^|\s+/).map(function(e){var t="",n=e.indexOf(".");return n>=0&&(t=e.slice(n+1),e=e.slice(0,n)),{type:e,name:t}})}(e+""),s=o.length;if(!(arguments.length<2)){for(a=t?Ln:Nn,null==n&&(n=!1),r=0;r<s;++r)this.each(a(o[r],t,n));return this}var a=this.node().__on;if(a)for(var l,c=0,u=a.length;c<u;++c)for(r=0,l=a[c];r<s;++r)if((i=o[r]).type===l.type&&i.name===l.name)return l.value},dispatch:function(e,t){return this.each(("function"==typeof t?zn:Tn)(e,t))}};var Wn=.7,Yn=1/Wn,Zn="\\s*([+-]?\\d+)\\s*",Xn="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*",Kn="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*",Jn=/^#([0-9a-f]{3,8})$/,Gn=RegExp("^rgb\\("+[Zn,Zn,Zn]+"\\)$"),Qn=RegExp("^rgb\\("+[Kn,Kn,Kn]+"\\)$"),er=RegExp("^rgba\\("+[Zn,Zn,Zn,Xn]+"\\)$"),tr=RegExp("^rgba\\("+[Kn,Kn,Kn,Xn]+"\\)$"),nr=RegExp("^hsl\\("+[Xn,Kn,Kn]+"\\)$"),rr=RegExp("^hsla\\("+[Xn,Kn,Kn,Xn]+"\\)$"),ir={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};function or(){return this.rgb().formatHex()}function sr(){return this.rgb().formatRgb()}function ar(e){var t,n;return e=(e+"").trim().toLowerCase(),(t=Jn.exec(e))?(n=t[1].length,t=parseInt(t[1],16),6===n?lr(t):3===n?
2new hr(t>>8&15|t>>4&240,t>>4&15|240&t,(15&t)<<4|15&t,1):8===n?cr(t>>24&255,t>>16&255,t>>8&255,(255&t)/255):4===n?cr(t>>12&15|t>>8&240,t>>8&15|t>>4&240,t>>4&15|240&t,((15&t)<<4|15&t)/255):null):(t=Gn.exec(e))?new hr(t[1],t[2],t[3],1):(t=Qn.exec(e))?new hr(255*t[1]/100,255*t[2]/100,255*t[3]/100,1):(t=er.exec(e))?cr(t[1],t[2],t[3],t[4]):(t=tr.exec(e))?cr(255*t[1]/100,255*t[2]/100,255*t[3]/100,t[4]):(t=nr.exec(e))?mr(t[1],t[2]/100,t[3]/100,1):(t=rr.exec(e))?mr(t[1],t[2]/100,t[3]/100,t[4]):ir.hasOwnProperty(e)?lr(ir[e]):"transparent"===e?new hr(NaN,NaN,NaN,0):null}function lr(e){return new hr(e>>16&255,e>>8&255,255&e,1)}function cr(e,t,n,r){return r<=0&&(e=t=n=NaN),new hr(e,t,n,r)}function ur(e,t,n,r){return 1===arguments.length?function(e){return e instanceof qn||(e=ar(e)),e?new hr((e=e.rgb()).r,e.g,e.b,e.opacity):new hr}(e):new hr(e,t,n,r??1)}function hr(e,t,n,r){this.r=+e,this.g=+t,this.b=+n,this.opacity=+r}function fr(){return"#"+pr(this.r)+pr(this.g)+pr(this.b)}function dr(){var e=this.opacity;return(1===(e=isNaN(e)?1:Math.max(0,Math.min(1,e)))?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||0))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(1===e?")":", "+e+")")}function pr(e){return((e=Math.max(0,Math.min(255,Math.round(e)||0)))<16?"0":"")+e.toString(16)}function mr(e,t,n,r){return r<=0?e=t=n=NaN:n<=0||n>=1?e=t=NaN:t<=0&&(e=NaN),new vr(e,t,n,r)}function gr(e){if(e instanceof vr)return new vr(e.h,e.s,e.l,e.opacity);if(e instanceof qn||(e=ar(e)),!e)return new vr;if(e instanceof vr)return e;var t=(e=e.rgb()).r/255,n=e.g/255,r=e.b/255,i=Math.min(t,n,r),o=Math.max(t,n,r),s=NaN,a=o-i,l=(o+i)/2;return a?(s=t===o?(n-r)/a+6*(n<r):n===o?(r-t)/a+2:(t-n)/a+4,a/=l<.5?o+i:2-o-i,s*=60):a=l>0&&l<1?0:s,new vr(s,a,l,e.opacity)}function vr(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}function yr(e,t,n){return 255*(e<60?t+(n-t)*e/60:e<180?n:e<240?t+(n-t)*(240-e)/60:t)}function wr(e){return function(){return e}}function xr(e,t){var n=t-e;return n?function(e,t){return function(n){return e+n*t}}(e,n):wr(isNaN(e)?t:e)}Fn(qn,ar,{copy:function(e){return Object.assign(new this.constructor,this,e)},displayable:function(){return this.rgb().displayable()},hex:or,formatHex:or,formatHsl:function(){return gr(this).formatHsl()},formatRgb:sr,toString:sr}),Fn(hr,ur,Un(qn,{brighter:function(e){return e=null==e?Yn:Yn**+e,new hr(this.r*e,this.g*e,this.b*e,this.opacity)},darker:function(e){return e=null==e?Wn:Wn**+e,new hr(this.r*e,this.g*e,this.b*e,this.opacity)},rgb:function(){return this},displayable:function(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:fr,formatHex:fr,formatRgb:dr,toString:dr})),Fn(vr,function(e,t,n,r){return 1===arguments.length?gr(e):new vr(e,t,n,r??1)},Un(qn,{brighter:function(e){return e=null==e?Yn:Yn**+e,new vr(this.h,this.s,this.l*e,this.opacity)},darker:function(e){return e=null==e?Wn:Wn**+e,new vr(this.h,this.s,this.l*e,this.opacity)},rgb:function(){var e=this.h%360+360*(this.h<0),t=isNaN(e)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*t,i=2*n-r;return new hr(yr(e>=240?e-240:e+120,i,r),yr(e,i,r),yr(e<120?e+240:e-120,i,r),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl:function(){var e=this.opacity;return(1===(e=isNaN(e)?1:Math.max(0,Math.min(1,e)))?"hsl(":"hsla(")+(this.h||0)+", "+100*(this.s||0)+"%, "+100*(this.l||0)+"%"+(1===e?")":", "+e+")")}}));var br=function e(t){var n=function(e){return 1==(e=+e)?xr:function(t,n){return n-t?function(e,t,n){return t=t**+n-(e**=+n),n=1/n,function(r){return(e+r*t)**+n}}(t,n,e):wr(isNaN(t)?n:t)}}(t);function r(e,t){var r=n((e=ur(e)).r,(t=ur(t)).r),i=n(e.g,t.g),o=n(e.b,t.b),s=xr(e.opacity,t.opacity);return function(t){return e.r=r(t),e.g=i(t),e.b=o(t),e.opacity=s(t),e+""}}return r.gamma=e,r}(1);function _r(e,t){t||(t=[]);var n,r=e?Math.min(t.length,e.length):0,i=t.slice();return function(o){for(n=0;n<r;++n)i[n]=e[n]*(1-o)+t[n]*o;return i}}function Cr(e,t){var n,r=t?t.length:0,i=e?Math.min(r,e.length):0,o=Array(i),s=Array(r);for(n=0;n<i;++n)o[n]=Nr(e[n],t[n]);for(;n<r;++n)s[n]=t[n];return function(e){for(n=0;n<i;++n)s[n]=o[n](e);return s}}function jr(e,t){var n=new Date;return e=+e,t=+t,function(r){return n.setTime(e*(1-r)+t*r),n}}function kr(e,t){return e=+e,t=+t,function(n){return e*(1-n)+t*n}}function Ar(e,t){var n,r={},i={};for(n in("object"!=typeof e||!e)&&(e={}),("object"!=typeof t||!t)&&(t={}),t)n in e?r[n]=Nr(e[n],t[n]):i[n]=t[n];return function(e){for(n in r)i[n]=r[n](e);return i}}var Mr=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,Sr=new RegExp(Mr.source,"g");function Or(e,t){var n,r,i,o=Mr.lastIndex=Sr.lastIndex=0,s=-1,a=[],l=[];for(e+="",t+="";(n=Mr.exec(e))&&(r=Sr.exec(t));)(i=r.index)>o&&(i=t.slice(o,i),a[s]?a[s]+=i:a[++s]=i),(n=n[0])===(r=r[0])?a[s]?a[s]+=r:a[++s]=r:(a[++s]=null,l.push({i:s,x:kr(n,r)})),o=Sr.lastIndex;return o<t.length&&(i=t.slice(o),a[s]?a[s]+=i:a[++s]=i),a.length<2?l[0]?function(e){return function(t){return e(t)+""}}(l[0].x):function(e){return function(){return e}}(t):(t=l.length,function(e){for(var n,r=0;r<t;++r)a[(n=l[r]).i]=n.x(e);return a.join("")})}function Nr(e,t){var n,r=typeof t;return null==t||"boolean"===r?wr(t):("number"===r?kr:"string"===r?(n=ar(t))?(t=n,br):Or:t instanceof ar?br:t instanceof Date?jr:function(e){return ArrayBuffer.isView(e)&&!(e instanceof DataView)}(t)?_r:Array.isArray(t)?Cr:"function"!=typeof t.valueOf&&"function"!=typeof t.toString||isNaN(t)?Ar:kr)(e,t)}function Lr(e,t){return e=+e,t=+t,function(n){return Math.round(e*(1-n)+t*n)}}var Er,Tr,zr,Pr,Rr=180/Math.PI,$r={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function Ir(e,t,n,r,i,o){var s,a,l;return(s=Math.sqrt(e*e+t*t))&&(e/=s,t/=s),(l=e*n+t*r)&&(n-=e*l,r-=t*l),(a=Math.sqrt(n*n+r*r))&&(n/=a,r/=a,l/=a),e*r<t*n&&(e=-e,t=-t,l=-l,s=-s),{translateX:i,translateY:o,rotate:Math.atan2(t,e)*Rr,skewX:Math.atan(l)*Rr,scaleX:s,scaleY:a}}function Hr(e,t,n,r){function i(e){return e.length?e.pop()+" ":""}function o(e,r,i,o,s,a){if(e!==i||r!==o){var l=s.push("translate(",null,t,null,n);a.push({i:l-4,x:kr(e,i)},{i:l-2,x:kr(r,o)})}else(i||o)&&s.push("translate("+i+t+o+n)}function s(e,t,n,o){e===t?t&&n.push(i(n)+"rotate("+t+r):(e-t>180?t+=360:t-e>180&&(e+=360),o.push({i:n.push(i(n)+"rotate(",null,r)-2,x:kr(e,t)}))}function a(e,t,n,o){e===t?t&&n.push(i(n)+"skewX("+t+r):o.push({i:n.push(i(n)+"skewX(",
2null,r)-2,x:kr(e,t)})}function l(e,t,n,r,o,s){if(e!==n||t!==r){var a=o.push(i(o)+"scale(",null,",",null,")");s.push({i:a-4,x:kr(e,n)},{i:a-2,x:kr(t,r)})}else(1!==n||1!==r)&&o.push(i(o)+"scale("+n+","+r+")")}return function(t,n){var r=[],i=[];return t=e(t),n=e(n),o(t.translateX,t.translateY,n.translateX,n.translateY,r,i),s(t.rotate,n.rotate,r,i),a(t.skewX,n.skewX,r,i),l(t.scaleX,t.scaleY,n.scaleX,n.scaleY,r,i),t=n=null,function(e){for(var t,n=-1,o=i.length;++n<o;)r[(t=i[n]).i]=t.x(e);return r.join("")}}}var Dr,Br,Vr=Hr(function(e){return"none"===e?$r:(Er||(Er=document.createElement("DIV"),Tr=document.documentElement,zr=document.defaultView),Er.style.transform=e,e=zr.getComputedStyle(Tr.appendChild(Er),null).getPropertyValue("transform"),Tr.removeChild(Er),Ir(+(e=e.slice(7,-1).split(","))[0],+e[1],+e[2],+e[3],+e[4],+e[5]))},"px, ","px)","deg)"),Fr=Hr(function(e){return null!=e&&(Pr||(Pr=document.createElementNS("http://www.w3.org/2000/svg","g")),Pr.setAttribute("transform",e),e=Pr.transform.baseVal.consolidate())?Ir((e=e.matrix).a,e.b,e.c,e.d,e.e,e.f):$r},", ",")",")"),Ur=0,qr=0,Wr=0,Yr=0,Zr=0,Xr=0,Kr="object"==typeof performance&&performance.now?performance:Date,Jr="object"==typeof window&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(e){setTimeout(e,17)};function Gr(){return Zr||(Jr(Qr),Zr=Kr.now()+Xr)}function Qr(){Zr=0}function ei(){this._call=this._time=this._next=null}function ti(e,t,n){var r=new ei;return r.restart(e,t,n),r}function ni(){Zr=(Yr=Kr.now())+Xr,Ur=qr=0;try{!function(){Gr(),++Ur;for(var e,t=Dr;t;)(e=Zr-t._time)>=0&&t._call.call(null,e),t=t._next;--Ur}()}finally{Ur=0,function(){for(var e,t,n=Dr,r=1/0;n;)n._call?(r>n._time&&(r=n._time),e=n,n=n._next):(t=n._next,n._next=null,n=e?e._next=t:Dr=t);Br=e,ii(r)}(),Zr=0}}function ri(){var e=Kr.now(),t=e-Yr;t>1e3&&(Xr-=t,Yr=e)}function ii(e){Ur||(qr&&(qr=clearTimeout(qr)),e-Zr>24?(e<1/0&&(qr=setTimeout(ni,e-Kr.now()-Xr)),Wr&&(Wr=clearInterval(Wr))):(Wr||(Yr=Kr.now(),Wr=setInterval(ri,1e3)),Ur=1,Jr(ni)))}function oi(e,t,n){var r=new ei;return t=null==t?0:+t,r.restart(function(n){r.stop(),e(n+t)},t,n),r}ei.prototype=ti.prototype={constructor:ei,restart:function(e,t,n){if("function"!=typeof e)throw TypeError("callback is not a function");n=(null==n?Gr():+n)+(null==t?0:+t),!this._next&&Br!==this&&(Br?Br._next=this:Dr=this,Br=this),this._call=e,this._time=n,ii()},stop:function(){this._call&&(this._call=null,this._time=1/0,ii())}};var si=At("start","end","cancel","interrupt"),ai=[];function li(e,t,n,r,i,o){var s=e.__transition;if(s){if(n in s)return}else e.__transition={};!function(e,t,n){var r,i=e.__transition;function o(l){var c,u,h,f;if(1!==n.state)return a();for(c in i)if((f=i[c]).name===n.name){if(3===f.state)return oi(o);4===f.state?(f.state=6,f.timer.stop(),f.on.call("interrupt",e,e.__data__,f.index,f.group),delete i[c]):+c<t&&(f.state=6,f.timer.stop(),f.on.call("cancel",e,e.__data__,f.index,f.group),delete i[c])}if(oi(function(){3===n.state&&(n.state=4,n.timer.restart(s,n.delay,n.time),s(l))}),n.state=2,n.on.call("start",e,e.__data__,n.index,n.group),2===n.state){for(n.state=3,r=Array(h=n.tween.length),c=0,u=-1;c<h;++c)(f=n.tween[c].value.call(e,e.__data__,n.index,n.group))&&(r[++u]=f);r.length=u+1}}function s(t){for(var i=t<n.duration?n.ease.call(null,t/n.duration):(n.timer.restart(a),n.state=5,1),o=-1,s=r.length;++o<s;)r[o].call(e,i);5===n.state&&(n.on.call("end",e,e.__data__,n.index,n.group),a())}function a(){for(var r in n.state=6,n.timer.stop(),delete i[t],i)return;delete e.__transition}i[t]=n,n.timer=ti(function(e){n.state=1,n.timer.restart(o,n.delay,n.time),n.delay<=e&&o(e-n.delay)},0,n.time)}(e,n,{name:t,index:r,group:i,on:si,tween:ai,time:o.time,delay:o.delay,duration:o.duration,ease:o.ease,timer:null,state:0})}function ci(e,t){var n=hi(e,t);if(n.state>0)throw Error("too late; already scheduled");return n}function ui(e,t){var n=hi(e,t);if(n.state>3)throw Error("too late; already running");return n}function hi(e,t){var n=e.__transition;if(!n||!(n=n[t]))throw Error("transition not found");return n}function fi(e,t){var n,r,i,o=e.__transition,s=!0;if(o){for(i in t=null==t?null:t+"",o)(n=o[i]).name===t?(r=n.state>2&&n.state<5,n.state=6,n.timer.stop(),n.on.call(r?"interrupt":"cancel",e,e.__data__,n.index,n.group),delete o[i]):s=!1;s&&delete e.__transition}}function di(e,t){var n,r;return function(){var i=ui(this,e),o=i.tween;if(o!==n)for(var s=0,a=(r=n=o).length;s<a;++s)if(r[s].name===t){(r=r.slice()).splice(s,1);break}i.tween=r}}function pi(e,t,n){var r,i;if("function"!=typeof n)throw Error();return function(){var o=ui(this,e),s=o.tween;if(s!==r){i=(r=s).slice();for(var a={name:t,value:n},l=0,c=i.length;l<c;++l)if(i[l].name===t){i[l]=a;break}l===c&&i.push(a)}o.tween=i}}
vendor: 11,385 bytes, line 2
2function mi(e,t,n){var r=e._id;return e.each(function(){var e=ui(this,r);(e.value||(e.value={}))[t]=n.apply(this,arguments)}),function(e){return hi(e,r).value[t]}}function gi(e,t){var n;return("number"==typeof t?kr:t instanceof ar?br:(n=ar(t))?(t=n,br):Or)(e,t)}function vi(e){return function(){this.removeAttribute(e)}}function yi(e){return function(){this.removeAttributeNS(e.space,e.local)}}function wi(e,t,n){var r,i,o=n+"";return function(){var s=this.getAttribute(e);return s===o?null:s===r?i:i=t(r=s,n)}}function xi(e,t,n){var r,i,o=n+"";return function(){var s=this.getAttributeNS(e.space,e.local);return s===o?null:s===r?i:i=t(r=s,n)}}function bi(e,t,n){var r,i,o;return function(){var s,a,l=n(this);return null==l?void this.removeAttribute(e):(s=this.getAttribute(e))===(a=l+"")?null:s===r&&a===i?o:(i=a,o=t(r=s,l))}}function _i(e,t,n){var r,i,o;return function(){var s,a,l=n(this);return null==l?void this.removeAttributeNS(e.space,e.local):(s=this.getAttributeNS(e.space,e.local))===(a=l+"")?null:s===r&&a===i?o:(i=a,o=t(r=s,l))}}function Ci(e,t){var n,r;function i(){var i=t.apply(this,arguments);return i!==r&&(n=(r=i)&&function(e,t){return function(n){this.setAttributeNS(e.space,e.local,t.call(this,n))}}(e,i)),n}return i._value=t,i}function ji(e,t){var n,r;function i(){var i=t.apply(this,arguments);return i!==r&&(n=(r=i)&&function(e,t){return function(n){this.setAttribute(e,t.call(this,n))}}(e,i)),n}return i._value=t,i}function ki(e,t){return function(){ci(this,e).delay=+t.apply(this,arguments)}}function Ai(e,t){return t=+t,function(){ci(this,e).delay=t}}function Mi(e,t){return function(){ui(this,e).duration=+t.apply(this,arguments)}}function Si(e,t){return t=+t,function(){ui(this,e).duration=t}}var Oi=$n.prototype.constructor;function Ni(e){return function(){this.style.removeProperty(e)}}var Li=0;function Ei(e,t,n,r){this._groups=e,this._parents=t,this._name=n,this._id=r}function Ti(){return++Li}var zi=$n.prototype;Ei.prototype=function(e){return $n().transition(e)}.prototype={constructor:Ei,select:function(e){var t=this._name,n=this._id;"function"!=typeof e&&(e=Rt(e));for(var r=this._groups,i=r.length,o=Array(i),s=0;s<i;++s)for(var a,l,c=r[s],u=c.length,h=o[s]=Array(u),f=0;f<u;++f)(a=c[f])&&(l=e.call(a,a.__data__,f,c))&&("__data__"in a&&(l.__data__=a.__data__),h[f]=l,li(h[f],t,n,f,h,hi(a,n)));return new Ei(o,this._parents,t,n)},selectAll:function(e){var t=this._name,n=this._id;"function"!=typeof e&&(e=It(e));for(var r=this._groups,i=r.length,o=[],s=[],a=0;a<i;++a)for(var l,c=r[a],u=c.length,h=0;h<u;++h)if(l=c[h]){for(var f,d=e.call(l,l.__data__,h,c),p=hi(l,n),m=0,g=d.length;m<g;++m)(f=d[m])&&li(f,t,n,m,d,p);o.push(d),s.push(l)}return new Ei(o,s,t,n)},filter:function(e){"function"!=typeof e&&(e=Ht(e));for(var t=this._groups,n=t.length,r=Array(n),i=0;i<n;++i)for(var o,s=t[i],a=s.length,l=r[i]=[],c=0;c<a;++c)(o=s[c])&&e.call(o,o.__data__,c,s)&&l.push(o);return new Ei(r,this._parents,this._name,this._id)},merge:function(e){if(e._id!==this._id)throw Error();for(var t=this._groups,n=e._groups,r=t.length,i=n.length,o=Math.min(r,i),s=Array(r),a=0;a<o;++a)for(var l,c=t[a],u=n[a],h=c.length,f=s[a]=Array(h),d=0;d<h;++d)(l=c[d]||u[d])&&(f[d]=l);for(;a<r;++a)s[a]=t[a];return new Ei(s,this._parents,this._name,this._id)},selection:function(){return new Oi(this._groups,this._parents)},transition:function(){for(var e=this._name,t=this._id,n=Ti(),r=this._groups,i=r.length,o=0;o<i;++o)for(var s,a=r[o],l=a.length,c=0;c<l;++c)if(s=a[c]){var u=hi(s,t);li(s,e,n,c,a,{time:u.time+u.delay+u.duration,delay:0,duration:u.duration,ease:u.ease})}return new Ei(r,this._parents,e,n)},call:zi.call,nodes:zi.nodes,node:zi.node,size:zi.size,empty:zi.empty,each:zi.each,on:function(e,t){var n=this._id;return arguments.length<2?hi(this.node(),n).on.on(e):this.each(function(e,t,n){var r,i,o=function(e){return(e+"").trim().split(/^|\s+/).every(function(e){var t=e.indexOf(".");return t>=0&&(e=e.slice(0,t)),!e||"start"===e})}(t)?ci:ui;return function(){var s=o(this,e),a=s.on;a!==r&&(i=(r=a).copy()).on(t,n),s.on=i}}(n,e,t))},attr:function(e,t){var n=Lt(e),r="transform"===n?Fr:gi;return this.attrTween(e,"function"==typeof t?(n.local?_i:bi)(n,r,mi(this,"attr."+e,t)):null==t?(n.local?yi:vi)(n):(n.local?xi:wi)(n,r,t))},attrTween:function(e,t){var n="attr."+e;if(arguments.length<2)return(n=this.tween(n))&&n._value;if(null==t)return this.tween(n,null);if("function"!=typeof t)throw Error();var r=Lt(e);return this.tween(n,(r.local?Ci:ji)(r,t))},style:function(e,t,n){var r="transform"==(e+="")?Vr:gi;return null==t?this.styleTween(e,function(e,t){var n,r,i;return function(){var o=tn(this,e),s=(this.style.removeProperty(e),tn(this,e));return o===s?null:o===n&&s===r?i:i=t(n=o,r=s)}}(e,r)).on("end.style."+e,Ni(e)):"function"==typeof t?this.styleTween(e,function(e,t,n){var r,i,o;return function(){var s=tn(this,e),a=n(this),l=a+"";return null==a&&(this.style.removeProperty(e),l=a=tn(this,e)),s===l?null:s===r&&l===i?o:(i=l,o=t(r=s,a))}}(e,r,mi(this,"style."+e,t))).each(function(e,t){var n,r,i,o,s="style."+t,a="end."+s;return function(){var l=ui(this,e),c=l.on,u=null==l.value[s]?o||(o=Ni(t)):void 0;(c!==n||i!==u)&&(r=(n=c).copy()).on(a,i=u),l.on=r}}(this._id,e)):this.styleTween(e,function(e,t,n){var r,i,o=n+"";return function(){var s=tn(this,e);return s===o?null:s===r?i:i=t(r=s,n)}}(e,r,t),n).on("end.style."+e,null)},styleTween:function(e,t,n){var r="style."+(e+="");if(arguments.length<2)return(r=this.tween(r))&&r._value;if(null==t)return this.tween(r,null);if("function"!=typeof t)throw Error();return this.tween(r,function(e,t,n){var r,i;function o(){var o=t.apply(this,arguments);return o!==i&&(r=(i=o)&&function(e,t,n){return function(r){this.style.setProperty(e,t.call(this,r),n)}}(e,o,n)),r}return o._value=t,o}(e,t,n??""))},text:function(e){return this.tween("text","function"==typeof e?function(e){return function(){var t=e(this);this.textContent=t??""}}(mi(this,"text",e)):function(e){return function(){this.textContent=e}}(null==e?"":e+""))},textTween:function(e){var t="text";if(arguments.length<1)return(t=this.tween(t))&&t._value;if(null==e)return this.tween(t,null);if("function"!=typeof e)throw Error();return this.tween(t,function(e){var t,n;function r(){var r=e.apply(this,arguments);return r!==n&&(t=(n=r)&&function(e){return function(t){this.textContent=e.call(this,t)}}(r)),t}return r._value=e,r}(e))},remove:function(){return this.on("end.remove",function(e){return function(){var t=this.parentNode;for(var n in this.__transition)if(+n!==e)return;t&&t.removeChild(this)}}(this._id))},tween:function(e,t){var n=this._id;if(e+="",arguments.length<2){for(var r,i=hi(this.node(),n).tween,o=0,s=i.length;o<s;++o)if((r=i[o]).name===e)return r.value;return null}return this.each((null==t?di:pi)(n,e,t))},delay:function(e){var t=this._id;return arguments.length?this.each(("function"==typeof e?ki:Ai)(t,e)):hi(this.node(),t).delay},duration:function(e){var t=this._id;return arguments.length?this.each(("function"==typeof e?Mi:Si)(t,e)):hi(this.node(),t).duration},ease:function(e){var t=this._id;return arguments.length?this.each(function(e,t){if("function"!=typeof t)throw Error();return function(){ui(this,e).ease=t}}(t,e)):hi(this.node(),t).ease},end:function(){var e,t,n=this,r=n._id,i=n.size();return new Promise(function(o,s){var a={value:s},l={value:function(){0===--i&&o()}};n.each(function(){var n=ui(this,r),i=n.on;i!==e&&((t=(e=i).copy())._.cancel.push(a),t._.interrupt.push(a),t._.end.push(l)),n.on=t})})}};var Pi={time:null,delay:0,duration:250,ease:function(e){return((e*=2)<=1?e*e*e:(e-=2)*e*e+2)/2}};function Ri(e,t){for(var n;!(n=e.__transition)||!(n=n[t]);)if(!(e=e.parentNode))return Pi.time=Gr(),Pi;return n}function $i(e){return function(){return e}}function Ii(e,t,n){this.target=e,this.type=t,this.selection=n}function Hi(){Mn.stopImmediatePropagation()}function Di(){Mn.preventDefault(),Mn.stopImmediatePropagation()}$n.prototype.interrupt=function(e){return this.each(function(){fi(this,e)})},$n.prototype.transition=function(e){var t,n;e instanceof Ei?(t=e._id,e=e._name):(t=Ti(),(n=Pi).time=Gr(),e=null==e?null:e+"");for(var r=this._groups,i=r.length,o=0;o<i;++o)for(var s,a=r[o],l=a.length,c=0;c<l;++c)(s=a[c])&&li(s,e,t,c,a,n||Ri(s,t));return new Ei(r,this._parents,e,t)};var Bi={name:"drag"},Vi={name:"space"},Fi={name:"handle"},Ui={name:"center"};function qi(e){return[+e[0],+e[1]]}function Wi(e){return[qi(e[0]),qi(e[1])]}var Yi={name:"x",handles:["w","e"].map(eo),input:function(e,t){return null==e?null:[[+e[0],t[0][1]],[+e[1],t[1][1]]]},output:function(e){return e&&[e[0][0],e[1][0]]}},Zi={name:"y",handles:["n","s"].map(eo),input:function(e,t){return null==e?null:[[t[0][0],+e[0]],[t[1][0],+e[1]]]},output:function(e){return e&&[e[0][1],e[1][1]]}};["n","w","e","s","nw","ne","sw","se"].map(eo);var Xi={overlay:"crosshair",selection:"move",n:"ns-resize",e:"ew-resize",s:"ns-resize",w:"ew-resize",nw:"nwse-resize",ne:"nesw-resize",se:"nwse-resize",sw:"nesw-resize"},Ki={e:"w",w:"e",nw:"ne",ne:"nw",se:"sw",sw:"se"},Ji={n:"s",s:"n",nw:"sw",ne:"se",se:"ne",sw:"nw"},Gi={overlay:1,selection:1,n:null,e:1,s:null,w:-1,nw:-1,ne:1,se:1,sw:-1},Qi={overlay:1,selection:1,n:-1,e:null,s:1,w:null,nw:-1,ne:-1,se:1,sw:1};function eo(e){return{type:e}}function to(){return!Mn.ctrlKey&&!Mn.button}function no(){var e=this.ownerSVGElement||this;return e.hasAttribute("viewBox")?[[(e=e.viewBox.baseVal).x,e.y],[e.x+e.width,e.y+e.height]]:[[0,0],[e.width.baseVal.value,e.height.baseVal.value]]}function ro(){return navigator.maxTouchPoints||"ontouchstart"in this}function io(e){for(;!e.__brush;)if(!(e=e.parentNode))return;return e.__brush}function oo(){return function(e){var t,n=no,r=to,i=ro,o=!0,s=At("start","brush","end"),a=6;function l(t){var n=t.property("__brush",m).selectAll(".overlay").data([eo("overlay")]);n.enter().append("rect").attr("class","overlay").attr("pointer-events","all").attr("cursor",Xi.overlay).merge(n).each(function(){var e=io(this).extent;In(this).attr("x",e[0][0]).attr("y",e[0][1]).attr("width",e[1][0]-e[0][0]).attr("height",e[1][1]-e[0][1])}),t.selectAll(".selection").data([eo("selection")]).enter().append("rect").attr("class","selection").attr("cursor",Xi.selection).attr("fill","#777").attr("fill-opacity",.3).attr("stroke","#fff").attr("shape-rendering","crispEdges");var r=t.selectAll(".handle").data(e.handles,function(e){return e.type});r.exit().remove(),r.enter().append("rect").attr("class",function(e){return"handle handle--"+e.type}).attr("cursor",function(e){return Xi[e.type]}),t.each(c).attr("fill","none").attr("pointer-events","all").on("mousedown.brush",f).filter(i).on("touchstart.brush",f).on("touchmove.brush",d).on("touchend.brush touchcancel.brush",p).style("touch-action","none").style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function c(){var e=In(this),t=io(this).selection;t?(e.selectAll(".selection").style("display",null).attr("x",t[0][0]).attr("y",t[0][1]).attr("width",t[1][0]-t[0][0]).attr("height",t[1][1]-t[0][1]),e.selectAll(".handle").style("display",null).attr("x",function(e){return"e"===e.type[e.type.length-1]?t[1][0]-a/2:t[0][0]-a/2}).attr("y",function(e){return"s"===e.type[0]?t[1][1]-a/2:t[0][1]-a/2}).attr("width",function(e){return"n"===e.type||"s"===e.type?t[1][0]-t[0][0]+a:a}).attr("height",function(e){return"e"===e.type||"w"===e.type?t[1][1]-t[0][1]+a:a})):e.selectAll(".selection,.handle").style("display","none").attr("x",
2null).attr("y",null).attr("width",null).attr("height",null)}function u(e,t,n){var r=e.__brush.emitter;return!r||n&&r.clean?new h(e,t,n):r}function h(e,t,n){this.that=e,this.args=t,this.state=e.__brush,this.active=0,this.clean=n}function f(){if((!t||Mn.touches)&&r.apply(this,arguments)){var n,i,s,a,l,h,f,d,p,m,g,v=this,y=Mn.target.__data__.type,w="selection"===(o&&Mn.metaKey?y="overlay":y)?Bi:o&&Mn.altKey?Ui:Fi,x=e===Zi?null:Gi[y],b=e===Yi?null:Qi[y],_=io(v),C=_.extent,j=_.selection,k=C[0][0],A=C[0][1],M=C[1][0],S=C[1][1],O=0,N=0,L=x&&b&&o&&Mn.shiftKey,E=Mn.touches?function(e){return function(t){return function(e,t,n){arguments.length<3&&(n=t,t=Hn().changedTouches);for(var r,i=0,o=t?t.length:0;i<o;++i)if((r=t[i]).identifier===n)return Dn(e,r);return null}(t,Mn.touches,e)}}(Mn.changedTouches[0].identifier):Bn,T=E(v),z=T,P=u(v,arguments,!0).beforestart();"overlay"===y?(j&&(p=!0),_.selection=j=[[n=e===Zi?k:T[0],s=e===Yi?A:T[1]],[l=e===Zi?M:n,f=e===Yi?S:s]]):(n=j[0][0],s=j[0][1],l=j[1][0],f=j[1][1]),i=n,a=s,h=l,d=f;var R=In(v).attr("pointer-events","none"),$=R.selectAll(".overlay").attr("cursor",Xi[y]);if(Mn.touches)P.moved=H,P.ended=B;else{var I=In(Mn.view).on("mousemove.brush",H,!0).on("mouseup.brush",B,!0);o&&I.on("keydown.brush",function(){switch(Mn.keyCode){case 16:L=x&&b;break;case 18:w===Fi&&(x&&(l=h-O*x,n=i+O*x),b&&(f=d-N*b,s=a+N*b),w=Ui,D());break;case 32:(w===Fi||w===Ui)&&(x<0?l=h-O:x>0&&(n=i-O),b<0?f=d-N:b>0&&(s=a-N),w=Vi,$.attr("cursor",Xi.selection),D());break;default:return}Di()},!0).on("keyup.brush",function(){switch(Mn.keyCode){case 16:L&&(m=g=L=!1,D());break;case 18:w===Ui&&(x<0?l=h:x>0&&(n=i),b<0?f=d:b>0&&(s=a),w=Fi,D());break;case 32:w===Vi&&(Mn.altKey?(x&&(l=h-O*x,n=i+O*x),b&&(f=d-N*b,s=a+N*b),w=Ui):(x<0?l=h:x>0&&(n=i),b<0?f=d:b>0&&(s=a),w=Fi),$.attr("cursor",Xi[y]),D());break;default:return}Di()},!0),function(e){var t=e.document.documentElement,n=In(e).on("dragstart.drag",Vn,!0);"onselectstart"in t?n.on("selectstart.drag",Vn,!0):(t.__noselect=t.style.MozUserSelect,t.style.MozUserSelect="none")}(Mn.view)}Hi(),fi(v),c.call(v),P.start()}function H(){var e=E(v);L&&!m&&!g&&(Math.abs(e[0]-z[0])>Math.abs(e[1]-z[1])?g=!0:m=!0),z=e,p=!0,Di(),D()}function D(){var e;switch(O=z[0]-T[0],N=z[1]-T[1],w){case Vi:case Bi:x&&(O=Math.max(k-n,Math.min(M-l,O)),i=n+O,h=l+O),b&&(N=Math.max(A-s,Math.min(S-f,N)),a=s+N,d=f+N);break;case Fi:x<0?(O=Math.max(k-n,Math.min(M-n,O)),i=n+O,h=l):x>0&&(O=Math.max(k-l,Math.min(M-l,O)),i=n,h=l+O),b<0?(N=Math.max(A-s,Math.min(S-s,N)),a=s+N,d=f):b>0&&(N=Math.max(A-f,Math.min(S-f,N)),a=s,d=f+N);break;case Ui:x&&(i=Math.max(k,Math.min(M,n-O*x)),h=Math.max(k,Math.min(M,l+O*x))),b&&(a=Math.max(A,Math.min(S,s-N*b)),d=Math.max(A,Math.min(S,f+N*b)))}h<i&&(x*=-1,e=n,n=l,l=e,e=i,i=h,h=e,y in Ki&&$.attr("cursor",Xi[y=Ki[y]])),d<a&&(b*=-1,e=s,s=f,f=e,e=a,a=d,d=e,y in Ji&&$.attr("cursor",Xi[y=Ji[y]])),_.selection&&(j=_.selection),m&&(i=j[0][0],h=j[1][0]),g&&(a=j[0][1],d=j[1][1]),(j[0][0]!==i||j[0][1]!==a||j[1][0]!==h||j[1][1]!==d)&&(_.selection=[[i,a],[h,d]],c.call(v),P.brush())}function B(){if(Hi(),Mn.touches){if(Mn.touches.length)return;t&&clearTimeout(t),t=setTimeout(function(){t=null},500)}else(function(e,t){var n=e.document.documentElement,r=In(e).on("dragstart.drag",null);t&&(r.on("click.drag",Vn,!0),setTimeout(function(){r.on("click.drag",null)},0)),"onselectstart"in n?r.on("selectstart.drag",null):(n.style.MozUserSelect=n.__noselect,delete n.__noselect)})(Mn.view,p),I.on("keydown.brush keyup.brush mousemove.brush mouseup.brush",null);R.attr("pointer-events","all"),$.attr("cursor",Xi.overlay),_.selection&&(j=_.selection),function(e){return e[0][0]===e[1][0]||e[0][1]===e[1][1]}(j)&&(_.selection=null,c.call(v)),P.end()}}function d(){u(this,arguments).moved()}function p(){u(this,arguments).ended()}function m(){var t=this.__brush||{selection:null};return t.extent=Wi(n.apply(this,arguments)),t.dim=e,t}return l.move=function(t,n){t.selection?t.on("start.brush",function(){u(this,arguments).beforestart().start()}).on("interrupt.brush end.brush",function(){u(this,arguments).end()}).tween("brush",function(){var t=this,r=t.__brush,i=u(t,arguments),o=r.selection,s=e.input("function"==typeof n?n.apply(this,arguments):n,r.extent),a=Nr(o,s);function l(e){r.selection=1===e&&null===s?null:a(e),c.call(t),i.brush()}return null!==o&&null!==s?l:l(1)}):t.each(function(){var t=this,r=arguments,i=t.__brush,o=e.input("function"==typeof n?n.apply(t,r):n,i.extent),s=u(t,r).beforestart();fi(t),i.selection=null===o?null:o,c.call(t),s.start().brush().end()})},l.clear=function(e){l.move(e,null)},h.prototype={beforestart:function(){return 1===++this.active&&(this.state.emitter=this,this.starting=!0),this},start:function(){return this.starting?(this.starting=!1,this.emit
2("start")):this.emit("brush"),this},brush:function(){return this.emit("brush"),this},end:function(){return 0===--this.active&&(delete this.state.emitter,this.emit("end")),this},emit:function(t){!function(e,t,n,r){var i=Mn;e.sourceEvent=Mn,Mn=e;try{return t.apply(n,r)}finally{Mn=i}}(new Ii(l,t,e.output(this.state.selection)),s.apply,s,[t,this.that,this.args])}},l.extent=function(e){return arguments.length?(n="function"==typeof e?e:$i(Wi(e)),l):n},l.filter=function(e){return arguments.length?(r="function"==typeof e?e:$i(!!e),l):r},l.touchable=function(e){return arguments.length?(i="function"==typeof e?e:$i(!!e),l):i},l.handleSize=function(e){return arguments.length?(a=+e,l):a},l.keyModifiers=function(e){return arguments.length?(o=!!e,l):o},l.on=function(){var e=s.on.apply(s,arguments);return e===s?l:e},l}(Yi)}function so(){}function ao(e,t){var n=new so;if(e instanceof so)e.each(function(e,t){n.set(t,e)});else if(Array.isArray(e)){var r,i=-1,o=e.length;if(null==t)for(;++i<o;)n.set(i,e[i]);else for(;++i<o;)n.set(t(r=e[i],i,e),r)}else if(e)for(var s in e)n.set(s,e[s]);return n}function lo(){}Math.PI,Array.prototype.slice,so.prototype=ao.prototype={constructor:so,has:function(e){return"$"+e in this},get:function(e){return this["$"+e]},set:function(e,t){return this["$"+e]=t,this},remove:function(e){var t="$"+e;return t in this&&delete this[t]},clear:function(){for(var e in this)"$"===e[0]&&delete this[e]},keys:function(){var e=[];for(var t in this)"$"===t[0]&&e.push(t.slice(1));return e},values:function(){var e=[];for(var t in this)"$"===t[0]&&e.push(this[t]);return e},entries:function(){var e=[];for(var t in this)"$"===t[0]&&e.push({key:t.slice(1),value:this[t]});return e},size:function(){var e=0;for(var t in this)"$"===t[0]&&++e;return e},empty:function(){for(var e in this)if("$"===e[0])return!1;return!0},each:function(e){for(var t in this)"$"===t[0]&&e(this[t],t.slice(1),this)}};var co=ao.prototype;function uo(e,t){if((n=(e=t?e.toExponential(t-1):e.toExponential()).indexOf("e"))<0)return null;var n,r=e.slice(0,n);return[r.length>1?r[0]+r.slice(2):r,+e.slice(n+1)]}function ho(e){return(e=uo(Math.abs(e)))?e[1]:NaN}lo.prototype=function(e,t){var n=new lo;if(e instanceof lo)e.each(function(e){n.add(e)});else if(e){var r=-1,i=e.length;if(null==t)for(;++r<i;)n.add(e[r]);else for(;++r<i;)n.add(t(e[r],r,e))}return n}.prototype={constructor:lo,has:co.has,add:function(e){return this["$"+(e+="")]=e,this},remove:co.remove,clear:co.clear,values:co.keys,size:co.size,empty:co.empty,each:co.each},Array.prototype.slice,Math.PI,Math.sqrt(5);var fo,po=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function mo(e){if(!(t=po.exec(e)))throw Error("invalid format: "+e);var t;return new go({fill:t[1],align:t[2],sign:t[3],symbol:t[4],zero:t[5],width:t[6],comma:t[7],precision:t[8]&&t[8].slice(1),trim:t[9],type:t[10]})}function go(e){this.fill=void 0===e.fill?" ":e.fill+"",this.align=void 0===e.align?">":e.align+"",this.sign=void 0===e.sign?"-":e.sign+"",this.symbol=void 0===e.symbol?"":e.symbol+"",this.zero=!!e.zero,this.width=void 0===e.width?void 0:+e.width,this.comma=!!e.comma,this.precision=void 0===e.precision?void 0:+e.precision,this.trim=!!e.trim,this.type=void 0===e.type?"":e.type+""}function vo(e,t){var n=uo(e,t);if(!n)return e+"";var r=n[0],i=n[1];return i<0?"0."+Array(-i).join("0")+r:r.length>i+1?r.slice(0,i+1)+"."+r.slice(i+1):r+Array(i-r.length+2).join("0")}mo.prototype=go.prototype,go.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(void 0===this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(void 0===this.precision?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type};var yo={"%":function(e,t){return(100*e).toFixed(t)},b:function(e){return Math.round(e).toString(2)},c:function(e){return e+""},d:function(e){return Math.abs(e=Math.round(e))>=1e21?e.toLocaleString("en").replace(/,/g,""):e.toString(10)},e:function(e,t){return e.toExponential(t)},f:function(e,t){return e.toFixed(t)},g:function(e,t){return e.toPrecision(t)},o:function(e){return Math.round(e).toString(8)},p:function(e,t){return vo(100*e,t)},r:vo,s:function(e,t){var n=uo(e,t);if(!n)return e+"";var r=n[0],i=n[1],o=i-(fo=3*Math.max(-8,Math.min(8,Math.floor(i/3))))+1,s=r.length;return o===s?r:o>s?r+Array(o-s+1).join("0"):o>0?r.slice(0,o)+"."+r.slice(o):"0."+Array(1-o).join("0")+uo(e,Math.max(0,t+o-1))[0]},X:function(e){return Math.round(e).toString(16).toUpperCase()},x:function(e){return Math.round(e).toString(16)}};function wo(e){return e}var xo,bo,_o,Co=Array.prototype.map,jo=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function ko(){return Math.random()}xo=function(e){var t=void 0===e.grouping||void 0===e.thousands?wo:function(e,t){return function(n,r){for(var i=n.length,o=[],s=0,a=e[0],l=0;i>0&&a>0&&(l+a+1>r&&(a=Math.max(1,r-l)),o.push(n.substring(i-=a,i+a)),!((l+=a+1)>r));)a=e[s=(s+1)%e.length];return o.reverse().join(t)}}
2(Co.call(e.grouping,Number),e.thousands+""),n=void 0===e.currency?"":e.currency[0]+"",r=void 0===e.currency?"":e.currency[1]+"",i=void 0===e.decimal?".":e.decimal+"",o=void 0===e.numerals?wo:function(e){return function(t){return t.replace(/[0-9]/g,function(t){return e[+t]})}}(Co.call(e.numerals,String)),s=void 0===e.percent?"%":e.percent+"",a=void 0===e.minus?"-":e.minus+"",l=void 0===e.nan?"NaN":e.nan+"";function c(e){var c=(e=mo(e)).fill,u=e.align,h=e.sign,f=e.symbol,d=e.zero,p=e.width,m=e.comma,g=e.precision,v=e.trim,y=e.type;"n"===y?(m=!0,y="g"):yo[y]||(void 0===g&&(g=12),v=!0,y="g"),(d||"0"===c&&"="===u)&&(d=!0,c="0",u="=");var w="$"===f?n:"#"===f&&/[boxX]/.test(y)?"0"+y.toLowerCase():"",x="$"===f?r:/[%p]/.test(y)?s:"",b=yo[y],_=/[defgprs%]/.test(y);function C(e){var n,r,s,f=w,C=x;if("c"===y)C=b(e)+C,e="";else{var j=(e=+e)<0||1/e<0;if(e=isNaN(e)?l:b(Math.abs(e),g),v&&(e=function(e){e:for(var t,n=e.length,r=1,i=-1;r<n;++r)switch(e[r]){case".":i=t=r;break;case"0":0===i&&(i=r),t=r;break;default:if(!+e[r])break e;i>0&&(i=0)}return i>0?e.slice(0,i)+e.slice(t+1):e}(e)),j&&0==+e&&"+"!==h&&(j=!1),f=(j?"("===h?h:a:"-"===h||"("===h?"":h)+f,C=("s"===y?jo[8+fo/3]:"")+C+(j&&"("===h?")":""),_)for(n=-1,r=e.length;++n<r;)if(48>(s=e.charCodeAt(n))||s>57){C=(46===s?i+e.slice(n+1):e.slice(n))+C,e=e.slice(0,n);break}}m&&!d&&(e=t(e,1/0));var k=f.length+e.length+C.length,A=k<p?Array(p-k+1).join(c):"";switch(m&&d&&(e=t(A+e,A.length?p-C.length:1/0),A=""),u){case"<":e=f+e+C+A;break;case"=":e=f+A+e+C;break;case"^":e=A.slice(0,k=A.length>>1)+f+e+C+A.slice(k);break;default:e=A+f+e+C}return o(e)}return g=void 0===g?6:/[gprs]/.test(y)?Math.max(1,Math.min(21,g)):Math.max(0,Math.min(20,g)),C.toString=function(){return e+""},C}return{format:c,formatPrefix:function(e,t){var n=c(((e=mo(e)).type="f",e)),r=3*Math.max(-8,Math.min(8,Math.floor(ho(t)/3))),i=10**-r,o=jo[8+r/3];return function(e){return n(i*e)+o}}}}({decimal:".",thousands:",",grouping:[3],currency:["$",""],minus:"-"}),bo=xo.format,_o=xo.formatPrefix,function e(t){function n(e,n){return e=null==e?0:+e,n=null==n?1:+n,1===arguments.length?(n=e,e=0):n-=e,function(){return t()*n+e}}return n.source=e,n}(ko);var Ao=function e(t){function n(e,n){var r,i;return e=null==e?0:+e,n=null==n?1:+n,function(){var o;if(null!=r)o=r,r=null;else do{r=2*t()-1,o=2*t()-1,i=r*r+o*o}while(!i||i>1);return e+n*o*Math.sqrt(-2*Math.log(i)/i)}}return n.source=e,n}(ko);!function e(t){function n(){var e=Ao.source(t).apply(this,arguments);return function(){return Math.exp(e())}}return n.source=e,n}(ko);var Mo=function e(t){function n(e){return function(){for(var n=0,r=0;r<e;++r)n+=t();return n}}return n.source=e,n}(ko);function So(e,t){switch(arguments.length){case 0:break;case 1:this.range(e);break;default:this.range(t).domain(e)}return this}(function e(t){function n(e){var n=Mo.source(t)(e);return function(){return n()/e}}return n.source=e,n})(ko),function e(t){function n(e){return function(){return-Math.log(1-t())/e}}return n.source=e,n}(ko);var Oo=Array.prototype,No=Oo.map,Lo=Oo.slice;function Eo(e){return+e}var To=[0,1];function zo(e){return e}function Po(e,t){return(t-=e=+e)?function(n){return(n-e)/t}:function(e){return function(){return e}}(isNaN(t)?NaN:.5)}function Ro(e){var t,n=e[0],r=e[e.length-1];return n>r&&(t=n,n=r,r=t),function(e){return Math.max(n,Math.min(r,e))}}function $o(e,t,n){var r=e[0],i=e[1],o=t[0],s=t[1];return i<r?(r=Po(i,r),o=n(s,o)):(r=Po(r,i),o=n(o,s)),function(e){return o(r(e))}}function Io(e,t,n){var r=Math.min(e.length,t.length)-1,i=Array(r),o=Array(r),s=-1;for(e[r]<e[0]&&(e=e.slice().reverse(),t=t.slice().reverse());++s<r;)i[s]=Po(e[s],e[s+1]),o[s]=n(t[s],t[s+1]);return function(t){var n=ut(e,t,1,r)-1;return o[n](i[n](t))}}function Ho(e){var t=e.domain;return e.ticks=function(e){var n=t();return function(e,t,n){var r,i,o,s,a=-1;if(n=+n,(e=+e)===(t=+t)&&n>0)return[e];if((r=t<e)&&(i=e,e=t,t=i),0===(s=mt(e,t,n))||!isFinite(s))return[];if(s>0)for(e=Math.ceil(e/s),t=Math.floor(t/s),o=Array(i=Math.ceil(t-e+1));++a<i;)o[a]=(e+a)*s;else for(e=Math.floor(e*s),t=Math.ceil(t*s),o=Array(i=Math.ceil(e-t+1));++a<i;)o[a]=(e-a)/s;return r&&o.reverse(),o}(n[0],n[n.length-1],e??10)},e.tickFormat=function(e,n){var r=t();return function(e,t,n,r){var i,o=function(e,t,n){var r=Math.abs(t-e)/Math.max(0,n),i=10**Math.floor(Math.log(r)/Math.LN10),o=r/i;return o>=ft?i*=10:o>=dt?i*=5:o>=pt&&(i*=2),t<e?-i:i}(e,t,n);switch((r=mo(r??",f")).type){case"s":var s=Math.max(Math.abs(e),Math.abs(t));return null==r.precision&&!isNaN(i=function(e,t){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(ho(t)/3)))-ho(Math.abs(e)))}
2(o,s))&&(r.precision=i),_o(r,s);case"":case"e":case"g":case"p":case"r":null==r.precision&&!isNaN(i=function(e,t){return e=Math.abs(e),t=Math.abs(t)-e,Math.max(0,ho(t)-ho(e))+1}(o,Math.max(Math.abs(e),Math.abs(t))))&&(r.precision=i-("e"===r.type));break;case"f":case"%":null==r.precision&&!isNaN(i=function(e){return Math.max(0,-ho(Math.abs(e)))}(o))&&(r.precision=i-2*("%"===r.type))}return bo(r)}(r[0],r[r.length-1],e??10,n)},e.nice=function(n){null==n&&(n=10);var r,i=t(),o=0,s=i.length-1,a=i[o],l=i[s];return l<a&&(r=a,a=l,l=r,r=o,o=s,s=r),(r=mt(a,l,n))>0?r=mt(a=Math.floor(a/r)*r,l=Math.ceil(l/r)*r,n):r<0&&(r=mt(a=Math.ceil(a*r)/r,l=Math.floor(l*r)/r,n)),r>0?(i[o]=Math.floor(a/r)*r,i[s]=Math.ceil(l/r)*r,t(i)):r<0&&(i[o]=Math.ceil(a*r)/r,i[s]=Math.floor(l*r)/r,t(i)),e},e}function Do(){var e=function(e,t){return function(){var e,t,n,r,i,o,s=To,a=To,l=Nr,c=zo;function u(){return r=Math.min(s.length,a.length)>2?Io:$o,i=o=null,h}function h(t){return isNaN(t=+t)?n:(i||(i=r(s.map(e),a,l)))(e(c(t)))}return h.invert=function(n){return c(t((o||(o=r(a,s.map(e),kr)))(n)))},h.domain=function(e){return arguments.length?(s=No.call(e,Eo),c===zo||(c=Ro(s)),u()):s.slice()},h.range=function(e){return arguments.length?(a=Lo.call(e),u()):a.slice()},h.rangeRound=function(e){return a=Lo.call(e),l=Lr,u()},h.clamp=function(e){return arguments.length?(c=e?Ro(s):zo,h):c!==zo},h.interpolate=function(e){return arguments.length?(l=e,u()):l},h.unknown=function(e){return arguments.length?(n=e,h):n},function(n,r){return e=n,t=r,u()}}()(e,t)}(zo,zo);return e.copy=function(){return function(e,t){return t.domain(e.domain()).range(e.range()).interpolate(e.interpolate()).clamp(e.clamp()).unknown(e.unknown())}(e,Do())},So.apply(e,arguments),Ho(e)}function Bo(){this._=null}function Vo(e){e.U=e.C=e.L=e.R=e.P=e.N=null}function Fo(e,t){var n=t,r=t.R,i=n.U;i?i.L===n?i.L=r:i.R=r:e._=r,r.U=i,n.U=r,n.R=r.L,n.R&&(n.R.U=n),r.L=n}function Uo(e,t){var n=t,r=t.L,i=n.U;i?i.L===n?i.L=r:i.R=r:e._=r,r.U=i,n.U=r,n.L=r.R,n.L&&(n.L.U=n),r.R=n}function qo(e){for(;e.L;)e=e.L;return e}function Wo(e,t,n,r){var i=[null,null],o=ls.push(i)-1;return i.left=e,i.right=t,n&&Zo(i,e,t,n),r&&Zo(i,t,e,r),ss[e.index].halfedges.push(o),ss[t.index].halfedges.push(o),i}function Yo(e,t,n){var r=[t,n];return r.left=e,r}function Zo(e,t,n,r){e[0]||e[1]?e.left===n?e[1]=r:e[0]=r:(e[0]=r,e.left=t,e.right=n)}function Xo(e,t,n,r,i){var o=e[0],s=e[1],a=o[0],l=o[1],c=0,u=1,h=s[0]-a,f=s[1]-l,d=t-a;if(h||!(d>0)){if(d/=h,h<0){if(d<c)return;d<u&&(u=d)}else if(h>0){if(d>u)return;d>c&&(c=d)}if(d=r-a,h||!(d<0)){if(d/=h,h<0){if(d>u)return;d>c&&(c=d)}else if(h>0){if(d<c)return;d<u&&(u=d)}if(d=n-l,f||!(d>0)){if(d/=f,f<0){if(d<c)return;d<u&&(u=d)}else if(f>0){if(d>u)return;d>c&&(c=d)}if(d=i-l,f||!(d<0)){if(d/=f,f<0){if(d>u)return;d>c&&(c=d)}else if(f>0){if(d<c)return;d<u&&(u=d)}return!(c>0||u<1)||(c>0&&(e[0]=[a+c*h,l+c*f]),u<1&&(e[1]=[a+u*h,l+u*f]),!0)}}}}}function Ko(e,t,n,r,i){var o=e[1];if(o)return!0;var s,a,l=e[0],c=e.left,u=e.right,h=c[0],f=c[1],d=u[0],p=u[1],m=(h+d)/2,g=(f+p)/2;if(p===f){if(m<t||m>=r)return;if(h>d){if(l){if(l[1]>=i)return}else l=[m,n];o=[m,i]}else{if(l){if(l[1]<n)return}else l=[m,i];o=[m,n]}}else if(a=g-(s=(h-d)/(p-f))*m,s<-1||s>1)if(h>d){if(l){if(l[1]>=i)return}else l=[(n-a)/s,n];o=[(i-a)/s,i]}else{if(l){if(l[1]<n)return}else l=[(i-a)/s,i];o=[(n-a)/s,n]}else if(f<p){if(l){if(l[0]>=r)return}else l=[t,s*t+a];o=[r,s*r+a]}else{if(l){if(l[0]<t)return}else l=[r,s*r+a];o=[t,s*t+a]}return e[0]=l,e[1]=o,!0}function Jo(e,t){var n=e.site,r=t.left,i=t.right;return n===i&&(i=r,r=n),i?Math.atan2(i[1]-r[1],i[0]-r[0]):(n===r?(r=t[1],i=t[0]):(r=t[0],i=t[1]),Math.atan2(r[0]-i[0],i[1]-r[1]))}function Go(e,t){return t[+(t.left!==e.site)]}function Qo(e,t){return t[+(t.left===e.site)]}Bo.prototype={constructor:Bo,insert:function(e,t){var n,r,i;if(e){if(t.P=e,t.N=e.N,e.N&&(e.N.P=t),e.N=t,e.R){for(e=e.R;e.L;)e=e.L;e.L=t}else e.R=t;n=e}else this._?(e=qo(this._),t.P=null,t.N=e,e.P=e.L=t,n=e):(t.P=t.N=null,this._=t,n=null);for(t.L=t.R=null,t.U=n,t.C=!0,e=t;n&&n.C;)n===(r=n.U).L?(i=r.R)&&i.C?(n.C=i.C=!1,r.C=!0,e=r):(e===n.R&&(Fo(this,n),n=(e=n).U),n.C=!1,r.C=!0,Uo(this,r)):(i=r.L)&&i.C?(n.C=i.C=!1,r.C=!0,e=r):(e===n.L&&(Uo(this,n),n=(e=n).U),n.C=!1,r.C=!0,Fo(this,r)),n=e.U;this._.C=!1},remove:function(e){e.N&&(e.N.P=e.P),e.P&&(e.P.N=e.N),e.N=e.P=null;var t,n,r=e.U,i=e.L,o=e.R,s=i?o?qo(o):i:o;if(r?r.L===e?r.L=s:r.R=s:this._=s,i&&o?(n=s.C,s.C=e.C,s.L=i,i.U=s,s===o?(s.U=r,r=s,e=s.R):(r=s.U,s.U=e.U,e=s.R,r.L=e,s.R=o,o.U=s)):(n=e.C,e=s),e&&(e.U=r),!n){if(e&&e.C)return void(e.C=!1);do{if(e===this._)break;
2if(e===r.L){if((t=r.R).C&&(t.C=!1,r.C=!0,Fo(this,r),t=r.R),t.L&&t.L.C||t.R&&t.R.C){(!t.R||!t.R.C)&&(t.L.C=!1,t.C=!0,Uo(this,t),t=r.R),t.C=r.C,r.C=t.R.C=!1,Fo(this,r),e=this._;break}}else if((t=r.L).C&&(t.C=!1,r.C=!0,Uo(this,r),t=r.L),t.L&&t.L.C||t.R&&t.R.C){(!t.L||!t.L.C)&&(t.R.C=!1,t.C=!0,Fo(this,t),t=r.L),t.C=r.C,r.C=t.L.C=!1,Uo(this,r),e=this._;break}t.C=!0,e=r,r=r.U}while(!e.C);e&&(e.C=!1)}}};var es,ts=[];function ns(){Vo(this),this.x=this.y=this.arc=this.site=this.cy=null}function rs(e){var t=e.P,n=e.N;if(t&&n){var r=t.site,i=e.site,o=n.site;if(r!==o){var s=i[0],a=i[1],l=r[0]-s,c=r[1]-a,u=o[0]-s,h=o[1]-a,f=2*(l*h-c*u);if(!(f>=-1e-12)){var d=l*l+c*c,p=u*u+h*h,m=(h*d-c*p)/f,g=(l*p-u*d)/f,v=ts.pop()||new ns;v.arc=e,v.site=i,v.x=m+s,v.y=(v.cy=g+a)+Math.sqrt(m*m+g*g),e.circle=v;for(var y=null,w=as._;w;)if(v.y<w.y||v.y===w.y&&v.x<=w.x){if(!w.L){y=w.P;break}w=w.L}else{if(!w.R){y=w;break}w=w.R}as.insert(y,v),y||(es=v)}}}}function is(e){var t=e.circle;t&&(t.P||(es=t.N),as.remove(t),ts.push(t),Vo(t),e.circle=null)}var os,ss,as,ls,cs=[];function us(){Vo(this),this.edge=this.site=this.circle=null}function hs(e){var t=cs.pop()||new us;return t.site=e,t}function fs(e){is(e),os.remove(e),cs.push(e),Vo(e)}function ds(e){var t=e.circle,n=t.x,r=t.cy,i=[n,r],o=e.P,s=e.N,a=[e];fs(e);for(var l=o;l.circle&&Math.abs(n-l.circle.x)<1e-6&&Math.abs(r-l.circle.cy)<1e-6;)o=l.P,a.unshift(l),fs(l),l=o;a.unshift(l),is(l);for(var c=s;c.circle&&Math.abs(n-c.circle.x)<1e-6&&Math.abs(r-c.circle.cy)<1e-6;)s=c.N,a.push(c),fs(c),c=s;a.push(c),is(c);var u,h=a.length;for(u=1;u<h;++u)c=a[u],l=a[u-1],Zo(c.edge,l.site,c.site,i);l=a[0],(c=a[h-1]).edge=Wo(l.site,c.site,null,i),rs(l),rs(c)}function ps(e){for(var t,n,r,i,o=e[0],s=e[1],a=os._;a;)if((r=ms(a,s)-o)>1e-6)a=a.L;else{if(!((i=o-gs(a,s))>1e-6)){r>-1e-6?(t=a.P,n=a):i>-1e-6?(t=a,n=a.N):t=n=a;break}if(!a.R){t=a;break}a=a.R}!function(e){ss[e.index]={site:e,halfedges:[]}}(e);var l=hs(e);if(os.insert(t,l),t||n){if(t===n)return is(t),n=hs(t.site),os.insert(l,n),l.edge=n.edge=Wo(t.site,l.site),rs(t),void rs(n);if(!n)return void(l.edge=Wo(t.site,l.site));is(t),is(n);var c=t.site,u=c[0],h=c[1],f=e[0]-u,d=e[1]-h,p=n.site,m=p[0]-u,g=p[1]-h,v=2*(f*g-d*m),y=f*f+d*d,w=m*m+g*g,x=[(g*y-d*w)/v+u,(f*w-m*y)/v+h];Zo(n.edge,c,p,x),l.edge=Wo(c,e,null,x),n.edge=Wo(e,p,null,x),rs(t),rs(n)}}function ms(e,t){var n=e.site,r=n[0],i=n[1],o=i-t;if(!o)return r;var s=e.P;if(!s)return-1/0;var a=(n=s.site)[0],l=n[1],c=l-t;if(!c)return a;var u=a-r,h=1/o-1/c,f=u/c;return h?(-f+Math.sqrt(f*f-2*h*(u*u/(-2*c)-l+c/2+i-o/2)))/h+r:(r+a)/2}function gs(e,t){var n=e.N;if(n)return ms(n,t);var r=e.site;return r[1]===t?r[0]:1/0}function vs(e,t,n){return(e[0]-n[0])*(t[1]-e[1])-(e[0]-t[0])*(n[1]-e[1])}function ys(e,t){return t[1]-e[1]||t[0]-e[0]}function ws(e,t){var n,r,i,o=e.sort(ys).pop();for(ls=[],ss=Array(e.length),os=new Bo,as=new Bo;;)if(i=es,o&&(!i||o[1]<i.y||o[1]===i.y&&o[0]<i.x))(o[0]!==n||o[1]!==r)&&(ps(o),n=o[0],r=o[1]),o=e.pop();else{if(!i)break;ds(i.arc)}if(function(){for(var e,t,n,r,i=0,o=ss.length;i<o;++i)if((e=ss[i])&&(r=(t=e.halfedges).length)){var s=Array(r),a=Array(r);for(n=0;n<r;++n)s[n]=n,a[n]=Jo(e,ls[t[n]]);for(s.sort(function(e,t){return a[t]-a[e]}),n=0;n<r;++n)a[n]=t[s[n]];for(n=0;n<r;++n)t[n]=a[n]}}(),t){var s=+t[0][0],a=+t[0][1],l=+t[1][0],c=+t[1][1];(function(e,t,n,r){for(var i,o=ls.length;o--;)Ko(i=ls[o],e,t,n,r)&&Xo(i,e,t,n,r)&&(Math.abs(i[0][0]-i[1][0])>1e-6||Math.abs(i[0][1]-i[1][1])>1e-6)||delete ls[o]})(s,a,l,c),function(e,t,n,r){var i,o,s,a,l,c,u,h,f,d,p,m,g=ss.length,v=!0;for(i=0;i<g;++i)if(o=ss[i]){for(s=o.site,a=(l=o.halfedges).length;a--;)ls[l[a]]||l.splice(a,1);for(a=0,c=l.length;a<c;)p=(d=Qo(o,ls[l[a]]))[0],m=d[1],h=(u=Go(o,ls[l[++a%c]]))[0],f=u[1],(Math.abs(p-h)>1e-6||Math.abs(m-f)>1e-6)&&(l.splice(a,0,ls.push(Yo(s,d,Math.abs(p-e)<1e-6&&r-m>1e-6?[e,Math.abs(h-e)<1e-6?f:r]:Math.abs(m-r)<1e-6&&n-p>1e-6?[Math.abs(f-r)<1e-6?h:n,r]:Math.abs(p-n)<1e-6&&m-t>1e-6?[n,Math.abs(h-n)<1e-6?f:t]:Math.abs(m-t)<1e-6&&p-e>1e-6?[Math.abs(f-t)<1e-6?h:e,t]:null))-1),++c);c&&(v=!1)}if(v){var y,w,x,b=1/0;for(i=0,v=null;i<g;++i)(o=ss[i])&&(x=(y=(s=o.site)[0]-e)*y+(w=s[1]-t)*w)<b&&(b=x,v=o);if(v){var _=[e,t],C=[e,r],j=[n,r],k=[n,t];v.halfedges.push(ls.push(Yo(s=v.site,_,C))-1,ls.push(Yo(s,C,j))-1,ls.push(Yo(s,j,k))-1,ls.push(Yo(s,k,_))-1)}}for(i=0;i<g;++i)(o=ss[i])&&(o.halfedges.length||delete ss[i])}(s,a,l,c)}this.edges=ls,this.cells=ss,os=as=ls=ss=null}function xs(e,t,n){this.k=e,this.x=t,this.y=n}function bs(e){let[t,n]=(0,r.useState)(),i=(0,r.useCallback)(()=>{e.current&&n(e.current.getBoundingClientRect())},[e,n]);return(0,r.useEffect)(()=>{t||i()}),(0,r.useEffect)(()=>(i(),window.addEventListener("resize",i),()=>window.removeEventListener("resize",i)),[e,i]),[t,i]}ws.prototype={constructor:ws,polygons:function(){var e=this.edges;return this.cells.map(function(t){var n=t.halfedges.map(function(n){return Go(t,e[n])});return n.data=t.site.data,n})},triangles:function(){var e=[],t=this.edges;
2return this.cells.forEach(function(n,r){if(o=(i=n.halfedges).length)for(var i,o,s,a=n.site,l=-1,c=t[i[o-1]],u=c.left===a?c.right:c.left;++l<o;)s=u,u=(c=t[i[l]]).left===a?c.right:c.left,s&&u&&r<s.index&&r<u.index&&vs(a,s,u)<0&&e.push([a.data,s.data,u.data])}),e},links:function(){return this.edges.filter(function(e){return e.right}).map(function(e){return{source:e.left.data,target:e.right.data}})},find:function(e,t,n){for(var r,i,o=this,s=o._found||0,a=o.cells.length;!(i=o.cells[s]);)if(++s>=a)return null;var l=e-i.site[0],c=t-i.site[1],u=l*l+c*c;do{i=o.cells[r=s],s=null,i.halfedges.forEach(function(n){var r=o.edges[n],a=r.left;if(a!==i.site&&a||(a=r.right)){var l=e-a[0],c=t-a[1],h=l*l+c*c;h<u&&(u=h,s=a.index)}})}while(null!==s);return o._found=r,null==n||u<=n*n?i.site:null}},xs.prototype={constructor:xs,scale:function(e){return 1===e?this:new xs(this.k*e,this.x,this.y)},translate:function(e,t){return 0===e&0===t?this:new xs(this.k,this.x+this.k*e,this.y+this.k*t)},apply:function(e){return[e[0]*this.k+this.x,e[1]*this.k+this.y]},applyX:function(e){return e*this.k+this.x},applyY:function(e){return e*this.k+this.y},invert:function(e){return[(e[0]-this.x)/this.k,(e[1]-this.y)/this.k]},invertX:function(e){return(e-this.x)/this.k},invertY:function(e){return(e-this.y)/this.k},rescaleX:function(e){return e.copy().domain(e.range().map(this.invertX,this).map(e.invert,e))},rescaleY:function(e){return e.copy().domain(e.range().map(this.invertY,this).map(e.invert,e))},toString:function(){return"translate("+this.x+","+this.y+") scale("+this.k+")"}},new xs(1,0,0),xs.prototype;var _s=({min:e,max:t,interval:n,yPos:o,label:s})=>{let a=(0,r.useRef)(null),[l]=bs(a);return(0,r.useEffect)(()=>{if(null!=l&&l.width&&a.current){let r=function(e){return jt(3,e)}(Do().domain([e,t]).range([0,l.width])).tickValues(function(e,t,n){e=+e,t=+t,n=(i=arguments.length)<2?(t=e,e=0,1):i<3?1:+n;for(var r=-1,i=0|Math.max(0,Math.ceil((t-e)/n)),o=Array(i);++r<i;)o[r]=e+r*n;return o}(e,t+n,n)).tickPadding(6);r.tickSize(0);let i=In(a.current);i.selectAll("*").remove(),i.append("g").call(r),i.append("text").attr("transform",`translate(${l.width/2}, 40)`).style("text-anchor","middle").text(s)}},[n,s,t,e,null==l?void 0:l.width]),(0,i.jsx)("svg",{style:(0,r.useMemo)(()=>({top:o}),[o]),width:"100%",height:80,ref:a})},Cs=({scale:e,height:t,label:n})=>{let o=(0,r.useRef)(null);return(0,r.useEffect)(()=>{if(o.current){let r=function(e){return jt(4,e)}(e).tickPadding(6);r.tickSize(0);let i=In(o.current);i.selectAll("*").remove(),i.append("g").attr("transform","translate(50, 0)").call(r),i.append("text").attr("transform","rotate(-90)").attr("y",20).attr("x",-t/2).style("text-anchor","middle").text(n)}},[t,n,e]),(0,i.jsx)("svg",{width:80,height:t,ref:o,className:"y-axis"})},js=({selectedRange:e,values:t,unfilteredValues:n,nBins:o,min:s,max:a,height:l=300,binSize:c,xLabel:u,yLabel:h,unfilteredValuesShadow:f=0,className:p,children:m,...g})=>{var v,y;let w=n||t,[x,b,_,C,j]=(0,r.useMemo)(()=>{let e=void 0===s?Math.min(...t):s,n=void 0===a?Math.max(...t):a,r=0,i=0;return!o&&c?(r=c,i=Math.ceil((n-e)/r)):o&&!c&&(i=o,r=(n-e)/i),[t=>Math.min(Math.floor((t-e)/r),b-1),i,r,e,n]},[c,a,s,o,t]),[k,A,M,S]=(0,r.useMemo)(()=>{let e=Array(b).fill(0),n=Array(b).fill(0);for(let n of t)e[x(n)]+=1;for(let e of w)n[x(e)]+=1;let r=Math.max(...n),i=5*Math.ceil(r/5),o=Do().domain([0,i]).range([l,0]);return[e,n,o,e=>(o(i-e)||0)/l]},[x,l,b,t,w]),[O,N]=[x(null==(v=null==e?void 0:e[0])?C:v),x(null==(y=null==e?void 0:e[1])?j:y)];return(0,i.jsxs)("div",{className:(0,d.default)("histogram",p),"data-testid":"histogram",...g,children:[f?(0,i.jsx)("div",{className:"histogram__bar-shadow-container",style:{height:l,opacity:f},children:A.map((e,t)=>(0,i.jsx)("div",{"data-testid":"histogram-bar",className:(0,d.default)("histogram histogram__bar",O<=t&&t<=N&&"histogram__bar--within-range"),style:{transform:`scaleY(${S(e)})`}},t))}):null,(0,i.jsx)("div",{className:"histogram__bar-container",style:{height:l},children:k.map((e,t)=>(0,i.jsx)("div",{"data-testid":"histogram-bar",className:(0,d.default)("histogram histogram__bar",O<=t&&t<=N&&"histogram__bar--within-range"),style:{transform:`scaleY(${S(e)})`,transitionDelay:`${Math.floor(500*t/b)}ms`}},t))}
2),u&&(0,i.jsx)(_s,{min:C,max:j,interval:_,yPos:l,label:u}),h&&(0,i.jsx)(Cs,{scale:M,height:l,label:h}),m]})},ks=({min:e,max:t,values:n,unfilteredValues:o,unfilteredValuesShadow:s,selectedRange:a,onChange:l,nBins:c=30,height:u=50,className:h,...f})=>{let p=(0,r.useRef)(null),[m]=bs(p),g=(0,r.useRef)(null),v=(0,r.useRef)(l);v.current=l;let[y,w]=(0,r.useMemo)(()=>[void 0===e?Math.min(...n):e,void 0===t?Math.max(...n):t],[t,e,n]),[x,b]=(0,r.useState)(`${y}`),[_,C]=(0,r.useState)(`${w}`);return(0,r.useEffect)(()=>{if(!m)return;let e=Do().domain([y,w]).range([0,m.width]),t=t=>()=>{let n=Mn.selection;if(Mn.sourceEvent&&n){let r=+`${e.invert(n[0]).toPrecision(4)}`,i=+`${e.invert(n[1]).toPrecision(4)}`;b(`${r}`),C(`${i}`),"end"===t&&v.current([r,i])}};g.current=oo().extent([[0,0],[m.width,m.height]]).on("start brush",t()).on("end",t("end"));let n=In(p.current).append("g");return g.current(n),()=>{var e;null==(e=g.current)||e.on("start brush end",null),n.remove()}},[m,y,w]),(0,r.useEffect)(()=>{if(!m)return;let e=Do().domain([y,w]).range([0,m.width]);var t,n;a[0]===y&&a[1]===w?null==(t=g.current)||t.move(In(p.current).select("g"),null):null==(n=g.current)||n.move(In(p.current).select("g"),[e(a[0]),e(a[1])])},[y,w,a,m]),(0,i.jsxs)("div",{className:(0,d.default)("histogram-filter",h),...f,children:[(0,i.jsx)(js,{values:n,unfilteredValues:o,unfilteredValuesShadow:s,selectedRange:a,nBins:c,min:y,max:w,height:u,children:(0,i.jsx)("svg",{ref:p,width:"100%",height:"100%"})}),(0,i.jsxs)("div",{className:"histogram-filter__text-input-container",children:[(0,i.jsx)("input",{type:"text",onChange:e=>{let t=e.target.value;b(e.target.value);let n=+t;!Number.isNaN(n)&&n<a[1]&&n>=y&&l([n,a[1]])},onBlur:()=>b(`${a[0]}`),value:x,style:{width:`${x.length+2}ch`}}),(0,i.jsx)("input",{type:"text",onChange:e=>{let t=e.target.value;C(e.target.value);let n=+t;!Number.isNaN(n)&&n>a[0]&&n<=w&&l([a[0],n])},onBlur:()=>C(`${a[1]}`),value:_,style:{width:`${_.length+2}ch`}})]})]})},As=({infoData:e,columns:t,isCompact:n,highlightFirstItem:r,noTitles:o,className:s,...a})=>null==e||!e.length||e.every(e=>!e.content)?null:(0,i.jsx)("ul",{className:(0,d.default)(s,"info-list",{"info-list--columns":t}),...a,children:e.map(({content:e,title:t,key:s,link:a},l)=>e&&(0,i.jsx)("li",{children:(0,i.jsx)(qe,{title:t,highlight:0===l&&r,compact:n,hideTitle:o,link:a,children:e})},s||("string"==typeof t?t:l)))}),Ms=({children:e})=>(0,i.jsx)(i.Fragment,{children:_(e)}),Ss=({searchTerm:e,namespaces:t={},onTextChange:n,onSubmit:o,onNamespaceChange:s,selectedNamespace:a,secondaryButtons:l,...c})=>{let u=(0,r.useMemo)(()=>({"--main-button-color":`var(--fr--color-${a}, var(--fr--color-sea-blue))`}),[a]),h=(0,r.useMemo)(()=>{let e=l&&(e=>e.reduce((e,t)=>e+t.length,0))(l.map(({label:e})=>e));return e?{"--input-padding":`${e}ch`}:void 0},[l]);return(0,i.jsxs)("form",{onSubmit:o,"aria-label":"Main search",className:"main-search",children:[Object.keys(t).length>0&&s&&(0,i.jsx)(Xe,{visibleElement:e=>(0,i.jsx)(Z,{variant:"primary",style:u,onClick:e,children:t[a||Object.keys(t)[0]]}),propChangeToClose:a,children:(0,i.jsx)("ul",{className:"no-bullet",children:Object.keys(t).map(e=>(0,i.jsx)("li",{children:(0,i.jsx)(Z,{variant:"tertiary",onClick:()=>{s(e)},children:t[e]})},e))})}),(0,i.jsxs)("div",{className:"main-search__input-container",children:[(0,i.jsx)("input",{type:"search","aria-label":"Text query"+(a?` in ${a}`:""),onChange:e=>n(e.target.value),value:e,style:h,...c}),l&&(0,i.jsx)("div",{className:"main-search__secondary-container",children:l.map(({label:e,action:t},n)=>(0,i.jsxs)(r.Fragment,{children:[n>0&&(0,i.jsx)("small",{children:" | "}),(0,i.jsx)("button",{type:"button",onClick:t,className:"main-search--secondary",children:(0,i.jsx)("small",{children:e})},e)]},n))})]}),(0,i.jsx)(Z,{type:"submit",children:"Search"})]})},Os=({heading:e,resultsCount:t,headingPostscript:n,headingLevel:r="h1",headingClassName:o,children:s,className:a,...l})=>(0,i.jsxs)("div",{className:(0,d.default)(a,"page-intro"),...l,children:[(0,i.jsxs)(r,{className:(0,d.default)(o),children:[e,void 0!==t&&(0,i.jsxs)("small",{children:[" ",_(t)," result",1===t?"":"s"," "]},"count"),n]}),s]}),Ns=[{name:"ProtParam",url:"/protparam/protparam?"},{name:"ProtScale",url:"/protscale/protscale.pl?"},{name:"Compute pI/Mw",url:"/compute_pi/pi_tool?"},{name:"PeptideMass",url:"/peptide_mass/peptide-mass.pl?"}
2,{name:"PeptideCutter",url:"/peptide_cutter/peptidecutter.pl?"}],Ls=e=>(0,i.jsx)(Z,{variant:"tertiary",onClick:e,children:"Tools"}),Es=({accession:e,onBlastClick:t,tools:n})=>{let r=n||Ns.map(e=>e.name);return(0,i.jsx)(Xe,{visibleElement:Ls,children:(0,i.jsxs)("ul",{children:[t&&(0,i.jsx)("li",{children:(0,i.jsx)(Z,{variant:"tertiary",onClick:t,children:"BLAST"})}),Ns.map(t=>r.includes(t.name)?(0,i.jsx)("li",{children:(0,i.jsx)("a",{href:`//web.expasy.org/cgi-bin${t.url}${e}`,target:"_blank",rel:"noopener noreferrer",children:t.name})},t.name):null)]})})},Ts=e=>(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",...e,children:(0,i.jsx)("path",{d:"M27.6 21h3.9v7.7H.5v-7.8h3.9v4h23.2v-4zm-3.9-9.7L16 22.9 8.2 11.3h5.9V1.6h3.8v9.7h5.9z"})}),zs=[{name:"Polar",aminoAcids:["R","N","D","Q","E","G","H","K","S","T","Y","B","Z","U","O"],colour:"red"},{name:"Hydrophobic",aminoAcids:["A","C","G","I","L","M","F","P","W","T","V","J","U"],colour:"blue"}].map(e=>({...e,aminoAcids:new Set(e.aminoAcids)})),Ps=/(.{1,10})/g,Rs=(0,r.memo)(({sequence:e,computeHighlights:t})=>{let n=(0,r.useRef)(null),o=(0,r.useMemo)(()=>e.match(Ps)||[],[e]);return(0,r.useEffect)(()=>{if(t)for(let[t,r]of o.entries()){var e;let i=[],o=0,s=-3;for(let{name:e,aminoAcids:t}of zs){for(let n of r)t.has(n)&&i.push(`${o}ch ${s}px 0 1px var(--color-${e}, transparent)`),o+=10;s+=2,o=0}let a=null==(e=n.current)?void 0:e.children[t];a&&(null==a||a.style.setProperty("--box-shadow",i.join(", ")))}},[o,t]),(0,i.jsx)("div",{className:"sequence",ref:n,children:o.map((e,t)=>(0,i.jsx)("span",{className:(0,d.default)("sequence__chunk",{"sequence__chunk--display-last":t+1===o.length&&10===e.length}),children:e},t))})}),$s=e=>(0,i.jsx)(Z,{variant:"tertiary",onClick:e,children:"Highlight"}),Is=({sequence:e,accession:t,onShowSequence:n,onCopy:o,isCollapsible:s=!1,isLoading:a=!1,infoData:l,onBlastClick:c,addToBasketButton:u,downloadUrl:h,showActionBar:f=!0,sequenceTools:d})=>{let[p,m]=(0,r.useState)([]),[g,v]=(0,r.useState)(!1),[y,w]=(0,r.useState)(s||n&&!e),x=(0,r.useCallback)(()=>{w(!1),!e&&n&&n()},[n,e]),b=(0,r.useMemo)(()=>Object.fromEntries(p.map(e=>[`--color-${e.name}`,e.colour])),[p]),_=(0,r.useCallback)(e=>{v(!0),m(t=>{let n=new Set(t);return n.has(e)?n.delete(e):n.add(e),Array.from(n)})},[]);return y||!e?(0,i.jsx)("div",{children:(0,i.jsxs)(Z,{variant:"secondary",onClick:x,children:["Show sequence ",a&&(0,i.jsx)(I,{})]})}):(0,i.jsxs)("div",{children:[s&&(0,i.jsx)(Z,{variant:"secondary",onClick:()=>w(!0),children:"Hide sequence"}),(0,i.jsxs)("section",{className:"sequence-container",style:b,children:[f&&t&&(0,i.jsxs)("div",{className:"action-bar button-group",children:[(0,i.jsx)(Es,{accession:t,onBlastClick:c,tools:d},"tools"),h&&(0,i.jsxs)("a",{className:"button tertiary",href:h,download:!0,children:[(0,i.jsx)(Ts,{}),"Download"]},"link"),u,(0,i.jsx)(Xe,{visibleElement:$s,children:zs.map(e=>{let n=`${t}-${e.name}`;return(0,i.jsxs)("label",{htmlFor:n,children:[(0,i.jsx)("input",{type:"checkbox",id:n,onChange:()=>_(e),checked:p.includes(e),style:{accentColor:e.colour}}),e.name]},e.name)})},"highlight"),(0,i.jsx)(ue,{textToCopy:e,beforeCopy:"Copy sequence",afterCopy:"Copied",className:"tertiary",onCopy:o},"copy")]}),(0,i.jsx)(As,{infoData:l,isCompact:!0,columns:!0}),(0,i.jsx)(Rs,{sequence:e,computeHighlights:g})]})]})},Hs=/^\s*[>;](.*)$/m,Ds=/\s+/g;function Bs(e,t=10,n=6){let r=RegExp(`(.{1,${t}})`,"g"),i=RegExp(`(.{1,${t*n}})`,"g"),o="",s="";for(let t of e.split("\n")){let e=t.trim();Hs.test(e)?o+=`\n${e}`:s+=e}let a=s.replace(Ds,"").replace(i,"$1\n").split("\n").map(e=>e.replace(r,"$1 ").trim()).join("\n");return o&&(a=`${o}\n${a}`),a.trim()}function Vs(e){if(!e)return;let[,t=""]=e.match(Hs)||[],[n]=t.split(" ").filter(Boolean);return n}var Fs="ARNDCEQGHILKMFPSTWYV",Us="ACGTU",qs=/[EQILFPXJ]/gi,Ws=/U/gi;[Fs,"XBZJ","*",".-"].join(""),[Us,"WSMKRYBDHVNZ"].join("");var Ys=Object.freeze({missingSequence:Object.freeze({valid:!1,message:"The sequence is missing"}),invalidSequence:Object.freeze({valid:!1,message:"The sequence is invalid"}),shortSequence:Object.freeze({valid:!1,message:"The sequence is too short"})}),Zs=Object.freeze({valid:!0}),Xs=/^[A-NP-Z*.-]+$/i,Ks=RegExp(`^[${Fs}*.-]+$`,"i");
2function Js(e,t,n){if(!e)return Ys.missingSequence;let r;if((e=>/.*[>;]+/gm.test(e))(e)){let t=function(e){return e.split(/^[>;].*\n?$/gm).map(e=>e.replace(/\s/g,"")).filter(Boolean)}(e);t.length>0&&([r]=t)}else r=e.replace(/\s/g,"");if(!r)return Ys.missingSequence;if(t&&r.length<t)return Ys.shortSequence;if(!(n?Ks:Xs).test(r))return Ys.invalidSequence;let i=function(e){return function(e){if(Ws.test(e)&&!qs.test(e))return"na";if(qs.test(e)&&!Ws.test(e))return"aa";let t={};for(let n=0;n<e.length;n+=1){let r=e.charAt(n);t[r]?t[r]+=1:t[r]=1}let n=100/e.length;return Object.keys(t).reduce((e,r)=>(Fs.includes(r)&&(e.aa+=t[r]*n),Us.includes(r)&&(e.na+=t[r]*n),e),{aa:0,na:0}).na>90?"na":"aa"}(e.replace(/[^A-Z]|[NX]/gi,"").toUpperCase())}(r);return i?{...Zs,likelyType:i,sequence:e}:Ys.invalidSequence}var Gs=/\s+/g,Qs=()=>({raw:"",name:"",header:"",sequence:""}),ea=(e,t,n)=>({...Js(e.sequence,t,n),...e}),ta=(e,t,n)=>{let r=[],i={raw:"",name:"",header:"",sequence:""};for(let o of e.split("\n")){if(Hs.test(o)){if(i.sequence&&(r.push(ea(i,t,n)),i=Qs()),i.header)i.header+="\n";else{let e=Vs(o);e&&(i.name=e)}i.header+=o}else i.sequence+=o.replace(Gs,"");i.raw&&(i.raw+="\n"),i.raw+=o}return i.raw&&r.push(ea(i,t,n)),r},na=({value:e,onChange:t,placeholder:n,defaultValue:o,minimumLength:s,minimumSequences:a,maximumSequences:l,noDuplicateID:c})=>{let[u,h]=(0,r.useState)([]),f=(0,r.useCallback)(e=>{let n=ta(e,s);h(n),null==t||t(n)},[t,s]);(0,r.useEffect)(()=>{e||""===e?f(e):(o||""===o)&&f(o)},[e,o,f]);let d=[],p=[];if(u.length>1||1===u.length&&u[0].sequence.length>10){let e=new Map,t=new Map,n=new Map;for(let[r,i]of u.entries()){var m,g;let{valid:o,message:s,name:a}=i;if(!o&&s){var v;let t=null==(v=e.get(s))?[]:v;t.push({sequenceIndex:r+1,sequenceObject:i}),e.set(s,t)}let l=null==(m=t.get(a))?[]:m;l.push({sequenceIndex:r+1,sequenceObject:i}),t.set(a,l);let c=i.sequence.toLowerCase(),u=null==(g=n.get(c))?[]:g;u.push({sequenceIndex:r+1,sequenceObject:i}),n.set(c,u)}for(let[t,n]of e.entries())d.push((0,i.jsxs)(R,{level:"failure","data-testid":"sequence-submission-error",children:["Error: ",t,". Sequence",1===n.length?" ":"s ",n.map(({sequenceIndex:e,sequenceObject:{name:t}},n)=>(0,i.jsxs)(r.Fragment,{children:[n?", ":"",e," ",t?(0,i.jsxs)(i.Fragment,{children:["(",(0,i.jsx)("code",{children:t}),")"]}):""]},e))]},n.map(({sequenceIndex:e})=>e).join("-")));if(c)for(let[e,n]of t.entries())n.length>1&&p.push((0,i.jsxs)(R,{level:"failure",children:["Sequences"," ",n.map(({sequenceIndex:e},t)=>{let o="";return t&&(o=2===n.length?" and ":t+1===n.length?", and ":", "),(0,i.jsxs)(r.Fragment,{children:[o,e]},e)})," ","have the same identifier (",(0,i.jsx)("code",{children:e}),"), this is invalid."]},n.map(({sequenceIndex:e})=>e).join("-id-")));for(let e of n.values())e.length>1&&p.push((0,i.jsxs)(R,{level:"info",children:["Sequences"," ",e.map(({sequenceIndex:t,sequenceObject:{name:n}},o)=>{let s="";return o&&(s=2===e.length?" and ":o+1===e.length?", and ":", "),(0,i.jsxs)(r.Fragment,{children:[s,t," ",n?(0,i.jsxs)(i.Fragment,{children:["(",(0,i.jsx)("code",{children:n}),")"]}):""]},t)})," ","are identical, this might be unintended."]},e.map(({sequenceIndex:e})=>e).join("-seq-")))}let y=l&&u.length>l&&(0,i.jsxs)(R,{level:"failure",children:["Your input contains ",u.length," sequences which exceeds the submission limit of ",l,"."]})||a&&u.length&&u.length<a&&(0,i.jsxs)(R,{level:"failure",children:["Your input contains ",u.length," sequence",1===u.length?"":"s",". At least ",a," ","sequences are required."]})||u[0]&&u[0].sequence.length>10&&(0,i.jsxs)(R,{level:"info",children:["Your input contains ",u.length," sequence",1===u.length?"":"s","."]});return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("textarea",{className:"sequence-submission-input",value:e,onChange:e=>f(e.target.value),placeholder:n,"data-testid":"sequence-submission-input",defaultValue:o,spellCheck:"false"}),y,d,p]})},ra='button:not([disabled]), [href]:not([disabled]), input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex="-1"]):not([disabled])',ia=({children:e,onClose:t,position:n,size:s="medium",title:a,arrowX:l,className:c,pathname:u,...h})=>{let f=(0,r.useRef)(null),p=(0,r.useRef)(t);p.current=t,(0,r.useEffect)(()=>{var e;let t=document.activeElement,n=null,r=null==(e=f.current)?void 0:e.querySelector(ra);return r?r.focus():(n=new MutationObserver(()=>{var e;let t=null==(e=f.current)?void 0:e.querySelector(ra);t&&(t.focus(),null==n||n.disconnect())}),f.current&&(null==n||n.observe(f.current,{childList:!0,subtree:!0}))),()=>{t&&document.contains(t)&&(null==t||t.focus()),null==n||n.disconnect()}},[]),(0,r.useEffect)(()=>(p.current=t,()=>{p.current=void 0}),[t]),(0,r.useEffect)(()=>{let e=e=>{for(let t of document.querySelectorAll(".sliding-panel"))if(t.contains(e.target))return;le().then(()=>{var e;null==(e=p.current)||e.call(p,"outside")})};return document.addEventListener("click",e,!0),()=>{document.removeEventListener("click",e,!0)}},[]);let m=(0,r.useRef)(u);return(0,r.useEffect)(()=>{var e;m.current!==u&&(null==(e=p.current)||e.call(p,"navigation"))},[u]),(0,r.useEffect)(()=>{let e=e=>{var t;"Escape"===e.key&&(null==(t=p.current)||t.call(p,"escape"))};return document.addEventListener("keydown",e,{passive:!0}),()=>{document.removeEventListener("keydown",e)}},[]),(0,o.createPortal)((0,i.jsxs)("aside",{"data-testid":"sliding-panel",className:(0,d.default)("sliding-panel",`sliding-panel--${n}`,`sliding-panel--${n}--${s}`,Number.isFinite(l)&&`sliding-panel--${n}--below-header`,c),ref:f,...h,children:[a&&(0,i.jsxs)("div",{className:"sliding-panel__header",children:[a&&(0,i.jsx)("span",{className:"small sliding-panel__header__title",children:a}),(0,i.jsx)(Z,{variant:"tertiary",onClick:()=>{var e;return null==(e=p.current)?void 0:e.call(p,"x-button")},className:"sliding-panel__header__buttons",title:"Close panel",children:(0,i.jsx)(z,{})}),Number.isFinite(l)&&(0,i.jsx)("div",{className:"sliding-panel__header__arrow",style:{left:l}})]}),(0,i.jsx)("div",{className:"sliding-panel__content",children:e})]}),document.body)},oa=e=>null,sa=({children:e,active:t,className:n,bordered:o=!1,...s})=>{let a,l=(0,r.useId)(),c=void 0!==t,u=r.Children.toArray(e).filter(
2Boolean).map(({props:{id:e,...t}},n)=>({id:void 0===e?`${n}`:e,...t})),[h,f]=(0,r.useState)(()=>{if(c)return t;let e=u.filter(e=>e.defaultSelected);return e.length?(e.length>1&&console.warn(`a <Tabs> component has been rendered with ${e.length} <Tab defaultSelected> children. There should be a maximum of 1 default selected child.`),e[0].id):u[0].id}),p=(0,r.useCallback)(e=>{if(c||!(e.currentTarget instanceof HTMLElement))return;let{target:t}=e.currentTarget.dataset;e&&void 0!==t&&(!("key"in e)||"Enter"===e.key||" "===e.key)&&f(t)},[c]),m=c?t:h,g=u.find(e=>e.id===m);if(!g)throw Error(`Could not find a tab with the id: "${h}"`);a=u.some(({cache:e})=>e)?u.map(e=>{let t=e.id===g.id;return(e.cache||t)&&(0,i.jsx)("div",{style:{display:t?"block":"none"},children:e.children},e.id)}):g.children;let v={};return c||(v={onClick:p,onKeyPress:p,tabIndex:0}),(0,i.jsxs)("div",{className:(0,d.default)("tabs",n),...s,children:[(0,i.jsx)("div",{className:"tabs__header",role:"tablist",children:u.map(({title:e,id:t,className:n,disabled:r=!1,children:s,defaultSelected:a,cache:c,...u})=>e&&(0,i.jsx)("div",{"data-testid":"tab-title","data-target":t,role:"tab","aria-controls":l,className:(0,d.default)("tabs__header__item",{"tabs__header__item--bordered":o,"tabs__header__item--disabled":r,"tabs__header__item--active":t===m},n),"aria-disabled":!!r||void 0,...r?{}:v,...u,children:e},t))}),(0,i.jsx)("div",{role:"tabpanel",id:l,"data-testid":"tab-content",children:a})]})},aa=({title:e,headingLevel:t="h2",subtitle:n,backgroundColor:r,backgroundImage:o,gradient:s=!1,width:a,className:l,style:c,children:u,descriptionSlideUp:h=!1,link:f})=>{let p=t,m=(e=>"h"+(+e[1]+1))(t);return(0,i.jsxs)("div",{className:(0,d.default)(l,"tile",{"tile-gradient":s,"tile--has-link":f}),style:{...c,"--tile-background":r,width:a},children:[f&&(0,i.jsx)(f.type,{...f.props,"aria-hidden":"true",tabIndex:-1}),(0,i.jsx)("div",{className:"tile__background-image","aria-hidden":"true",children:o}),(0,i.jsxs)("div",{className:"tile__main-content",children:[(0,i.jsx)(p,{className:"tile__header big",children:e}),n&&(0,i.jsx)(m,{className:"tile__subtitle small",children:n})]}),u&&(0,i.jsx)("small",{className:(0,d.default)("tile__description",h&&"tile__description--animated"),children:u})]})},la=({header:e,icon:t,checked:n,isLoading:r=!1,onChange:o,ariaLabel:s="Toggle",disabled:a=!1,compact:l=!1,fullWidth:c=!1,stableWidthLabel:u,className:h="",...f})=>{let p=n&&!r;return(0,i.jsx)("button",{type:"button",className:(0,d.default)("toggle",{"toggle--on":p,"toggle--loading":r,"toggle--disabled":a,"toggle--compact":l,"toggle--full-width":c},h),role:"switch","aria-checked":n,"aria-label":s,disabled:a,onClick:()=>{a||o(!n)},...f,children:(0,i.jsxs)("div",{className:"toggle__content",children:[t&&(0,i.jsx)("div",{className:"toggle__icon",children:t}),(0,i.jsxs)("div",{className:"toggle__header",children:[e,u&&(0,i.jsx)("div",{className:"toggle__header__stable","aria-hidden":"true",children:u})]}),(0,i.jsx)("div",{className:"toggle__switch","aria-hidden":"true",children:(0,i.jsx)("span",{className:"slider"})})]})})},ca=({data:e,onSelect:t,autocomplete:n=!1,autocompletePlaceholder:o="",autocompleteFilter:s=!0,defaultActiveNodes:a=[],label:l,...c})=>{let[u,h]=(0,r.useState)(a),[f,p]=(0,r.useState)([]);(0,r.useEffect)(()=>{p(Array.from(b(e)))},[e]);let[m,g]=(0,r.useState)(!1),v=(0,r.useMemo)(()=>function(e){return e.map(e=>{let t={id:e[e.length-1].id,pathLabel:e.map(e=>e.label).join(" / "),itemLabel:e[e.length-1].label||e[e.length-1].id},n=e.flatMap(e=>e.tags||[]);return n.length&&(t.tags=n),t})}(x(e)),[e]),y=(0,r.useCallback)(e=>p(t=>t.includes(e.id)?t.filter(t=>t!==e.id):[...t,e.id]),[]),w=(0,r.useCallback)((n,r)=>{if("string"!=typeof n)if(n.items)y(n);else{let i=x(e,n.id)[0],o=i[i.length-1];h(i.map(e=>e.id)),p(i.map(e=>e.id)),t(o),r(!1)}},[e,t,y]),_=(0,r.useCallback)((e,t,n=!1)=>(0,i.jsx)("ul",{role:n?"tree":"group",children:e.map(e=>{var n;let r;return e.items&&(r=f.includes(e.id)?"true":"false"),(0,i.jsxs)("li",{role:"treeitem","aria-expanded":r,"aria-selected":r,className:(0,d.default)({branch:e.items}),children:[(0,i.jsx)(Z,{onClick:()=>w(e,t),className:(0,d.default)({active:u.includes(e.id)}),variant:"secondary","aria-label":null!=(n=e.items)&&n.length?`${e.label} (${e.items.length} nested option${1===e.items.length?"":"s"})`:void 0,children:e.label}),e.items&&_(e.items,t)]},e.id)})}),[u,w,f]);return(0,i.jsx)(Ye,{label:l||"Select",...c,children:t=>(0,i.jsxs)(i.Fragment,{children:[n&&(0,i.jsx)(Y,{data:v,onDropdownChange:g,onSelect:e=>w(e,t),placeholder:o,filter:s,clearOnSelect:!0,autoFocus:!0}),!m&&(0,i.jsx)("div",{className:"dropdown-menu__panel",children:_(e,t,!0)})]})})},ua=e=>
2(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:7,viewBox:"0 0 88 84",...e,children:(0,i.jsx)("path",{d:"M75.6 3.5v17.1M67 12.1h17.1M12 63.4v17.1m-8.6-8.6h17.1M43 3.5l9.8 29.3L77.2 42l-24.4 9.2L43 80.5l-9.8-29.3L8.8 42l24.4-9.2z"})}),ha=e=>(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 576 512",fill:"currentColor",...e,children:(0,i.jsx)("path",{d:"M576 216v16c0 13-11 24-24 24h-8l-26 183c-3 23-24 41-48 41H106c-24 0-45-18-48-41L32 256h-8c-13 0-24-11-24-24v-16c0-13 11-24 24-24h67L198 45a32 32 0 0152 38l-80 109h236L326 83a32 32 0 0152-38l107 147h67c13 0 24 11 24 24zM312 392V280a24 24 0 10-48 0v112a24 24 0 1048 0zm112 0V280a24 24 0 10-48 0v112a24 24 0 1048 0zm-224 0V280a24 24 0 10-48 0v112a24 24 0 1048 0z"})}),fa=e=>(0,i.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 17 16",fill:"currentColor",...e,children:[(0,i.jsx)("path",{className:"cover",d:"M5.6 0h5.7l1.2 1h4v2H.5V1h4l1.1-1z"}),(0,i.jsx)("path",{className:"body",fillRule:"evenodd",d:"M2.5 5h12v8a3 3 0 01-3 3h-6a3 3 0 01-3-3V5zm5 2h2v7h-2V7zm3 7V7h2v6c0 .6-.5 1-1 1h-1zm-4-7h-2v6c0 .6.4 1 1 1h1V7z"})]}),da=e=>(0,i.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 15",fill:"currentColor",...e,children:[(0,i.jsx)("path",{d:"M12 0a1 1 0 00-1 1v1H5V1a1 1 0 00-2 0v1h-.6C1.1 2 0 3 0 4.4V5h16v-.6C16 3.1 15 2 13.6 2H13V1c0-.6-.4-1-1-1z"}),(0,i.jsx)("path",{fillRule:"evenodd",d:"M0 6v6.7C0 14 1 15 2.4 15h11.2c1.3 0 2.4-1 2.4-2.3V6H0zm5 3a1 1 0 11-2 0 1 1 0 012 0zm3 1a1 1 0 100-2 1 1 0 000 2zm5-1a1 1 0 11-2 0 1 1 0 012 0zm-1 4a1 1 0 100-2 1 1 0 000 2zm-3-1a1 1 0 11-2 0 1 1 0 012 0zm-5 1a1 1 0 100-2 1 1 0 000 2z"})]}),pa=e=>(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 22 14",fill:"currentColor",...e,children:(0,i.jsx)("path",{d:"M1.1 1h13.3c.6 0 1.1.4 1.1 1v3.8L20 1.5v12L15.5 9v3.8c0 .6-.5 1-1 1H1C.5 14 0 13.6 0 13V2c0-.6.5-1 1.1-1zm13 11.3V2.6H1.7v9.7H14z"})}),ma=e=>(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 30 22",fill:"currentColor",...e,children:(0,i.jsx)("path",{d:"M13.65 6.68V7.7a.14.14 0 010 .11c-.13 1.42-.47 2.81-1.01 4.13a15.73 15.73 0 01-2.7 4.54 15.87 15.87 0 01-3.96 3.4c-1.45.86-3 1.53-4.63 1.98 0 0 2.84-4.15 5.8-8.2h-.3a6.82 6.82 0 116.8-6.98zM30 6.68V7.81c-.13 1.42-.48 2.81-1.02 4.13a15.73 15.73 0 01-2.68 4.56 15.86 15.86 0 01-3.96 3.33 18.29 18.29 0 01-4.68 1.99s2.83-4.13 5.79-8.18h-.3A6.82 6.82 0 1130 6.68z"})}),ga=e=>(0,i.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",fill:"currentColor",...e,children:[(0,i.jsx)("path",{className:"hands",d:"M7.2 4h1.2v4.2l3.6 2.1-.6 1-4.2-2.5V4z"}),(0,i.jsx)("path",{className:"circle",d:"M8 0a8 8 0 100 16A8 8 0 008 0zm0 14.4A6.4 6.4 0 118 1.6a6.4 6.4 0 010 12.8z"})]}),va=e=>(0,i.jsxs)("svg",{viewBox:"0 0 20 17",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",...e,children:[(0,i.jsx)("path",{d:"M17.693 2.307A2.3 2.3 0 0115.62 4.6h-.473a2.307 2.307 0 112.546-2.293zM7.88 10.9a5.092 5.092 0 00-2.933 2.947H0V10a4.627 4.627 0 014.613-4.613 4.48 4.48 0 012 .466A3.86 3.86 0 007.88 10.9zM20 10v3.847h-4.947A5.092 5.092 0 0012.12 10.9a3.86 3.86 0 001.267-5.047 4.48 4.48 0 012-.466A4.62 4.62 0 0120 10z"}),(0,i.jsx)("path",{d:"M13.08 7.693a3.067 3.067 0 01-2.313 2.974 2.987 2.987 0 01-1.534 0A3.067 3.067 0 017.287 6.24a3.073 3.073 0 015.426 0c.243.446.369.946.367 1.453zM14.613 15.5v1.42H5.387V15.5a4.3 4.3 0 012.873-3.96 4.048 4.048 0 003.48 0 4.54 4.54 0 011.52.933 4.14 4.14 0 011.353 3.027zM17.693 2.307A2.3 2.3 0 0115.62 4.6h-.473a2.307 2.307 0 112.546-2.293zM4.613 4.613a2.307 2.307 0 100-4.613 2.307 2.307 0 000 4.613z"})]}),ya=e=>(0,i.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 15 15",fill:"currentColor",...e,children:[(0,i.jsx)("path",{d:"M14.21 12.63H.79a.79.79 0 100 1.58H14.2a.79.79 0 100-1.58zM13.86 0H1.14C.51 0 0 .51 0 1.14v9.56c0 .63.51 1.14 1.14 1.14h12.72c.63 0 1.14-.51 1.14-1.14V1.14C15 .51 14.49 0 13.86 0z"}),(0,i.jsx)("path",{d:"M13.42 1.58H1.58v8.68h11.84V1.58z",fill:"#fff"}),(0,i.jsx)("path",{d:"M10.4 3.17l1.13 1.12-4.47 4.47-2.8-2.8 1.12-1.1 1.68 1.67 3.35-3.36z"})]}),wa=e=>(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",fill:"
2currentColor",...e,children:(0,i.jsx)("path",{d:"M384 96L384 0h-112c-26.51 0-48 21.49-48 48v288c0 26.51 21.49 48 48 48H464c26.51 0 48-21.49 48-48V128h-95.1C398.4 128 384 113.6 384 96zM416 0v96h96L416 0zM192 352V128h-144c-26.51 0-48 21.49-48 48v288c0 26.51 21.49 48 48 48h192c26.51 0 48-21.49 48-48L288 416h-32C220.7 416 192 387.3 192 352z"})}),xa=e=>(0,i.jsxs)("svg",{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[(0,i.jsx)("path",{d:"M13.8067 2.69471C14.0667 2.43474 14.0667 2.01478 13.8067 1.75481L12.2467 0.19497C12.1221 0.070148 11.953 0 11.7767 0C11.6003 0 11.4312 0.070148 11.3067 0.19497L10 1.5015L12.5 4.00124L13.8067 2.69471Z",fill:"currentColor"}),(0,i.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.66669 8.83407L9.33335 2.16809L11.8334 4.66783L5.16669 11.3338H2.66669V8.83407ZM4 10.0006H4.61333L9.94667 4.66784L9.33333 4.05457L4 9.38735V10.0006Z",fill:"currentColor"}),(0,i.jsx)("path",{d:"M16 13.3336H0V16H16V13.3336Z",fill:"currentColor"})]}),ba=e=>(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 13 10",fill:"currentColor",...e,children:(0,i.jsx)("path",{fillRule:"evenodd",d:"M12 1.25C12 .56 11.46 0 10.8 0H1.2C.54 0 0 .56 0 1.25v7.5C0 9.44.54 10 1.2 10h9.6c.66 0 1.2-.56 1.2-1.25v-7.5zm-1.2 0L6 4.38 1.2 1.25h9.6zM6 5.63L1.2 2.5v6.25h9.6V2.5L6 5.63z"})}),_a='<svg viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M16 0H10V2H13.071L7 8.07104L8.41422 9.48526L14 3.89948V6H16V0Z" fill="currentColor"/>\n<path d="M7 2H0V16H14V9H12V14H2V4H7V2Z" fill="currentColor"/>\n</svg>\n',Ca=e=>(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",fill:"currentColor",...e,children:(0,i.jsx)("path",{d:"M10 0h6v6h-2V3.5L10.4 7 9 5.7 12.7 2H10V0zM7 10.4L5.8 9 2 12.7V10H0v6h6v-2H3.5L7 10.4zM9 3H3v6H2V2h7v1zM7 14v-1h6V7h1v7H7z"})}),ja=e=>(0,i.jsxs)("svg",{viewBox:"0 0 16 16",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",...e,children:[(0,i.jsx)("path",{fillRule:"evenodd",d:"M16 8A8 8 0 110 8a8 8 0 0116 0zm-2 0A6 6 0 112 8a6 6 0 0112 0z"}),(0,i.jsx)("path",{d:"M6.94 8.78s.09-.58.27-.8c.18-.2.46-.43.82-.67.3-.2.53-.38.68-.55a.82.82 0 00.23-.59c0-.6-.39-.89-1.18-.89-.4 0-.72.1-.94.32-.23.21-.34.5-.34.85 0 .11.01.25.04.42a1.48 1.48 0 01-1.17-.21A.8.8 0 015 6c0-.34.12-.67.37-.98.24-.3.58-.55 1-.73.42-.19.89-.28 1.4-.28.5 0 .97.09 1.37.27.41.17.73.41.96.73.23.31.35.68.35 1.08 0 .28-.07.52-.2.74-.13.2-.28.39-.45.53-.17.14-.4.32-.68.52-.26.18-.45.33-.57.43a.47.47 0 00-.16.35v.22c0 .52-.67.8-1.12.58-.45-.22-.33-.67-.33-.67zM7.62 12c-.3 0-.54-.09-.73-.26a.9.9 0 01-.27-.68c0-.27.09-.5.27-.68a1 1 0 01.73-.26c.3 0 .54.09.73.26.2.18.3.4.3.68s-.1.5-.3.68c-.19.17-.43.26-.73.26z"})]}),ka=e=>(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 12 16",fill:"currentColor",...e,children:(0,i.jsx)("path",{fillRule:"evenodd",d:"M1 2.7c-2.8 4.5.9 9.8 5 13.3 4.1-3.5 7.8-8.8 5-13.3A5.5 5.5 0 006 0C3.5 0 2 1.1 1 2.7zM6 8a2 2 0 100-4 2 2 0 000 4z"})}),Aa=e=>(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 400 512",fill:"currentColor",...e,children:(0,i.jsx)("path",{d:"M400 144H256V0l144 144zM84 318l108-52 133 53 75-42V176H224V0H0v269l84 49zm120 194h195V369l-68 38-136-54-114 55-81-47v151h204z"})}),Ma=e=>(0,i.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 30 32",fill:"currentColor",...e,children:[(0,i.jsx)("path",{d:"M26.5 13.5h-8v8h8v-8z"}),(0,i.jsx)("clipPath",{id:"a",children:(0,i.jsx)("path",{fillRule:"evenodd",d:"M26.5 18.5h-8v-8h8v8z",transform:"matrix(1 0 0 -1 0 32)"})}),(0,i.jsx)("g",{clipPath:"url(#a)",children:(0,i.jsx)("path",{fill:"currentColor",d:"M18.5 13.5v-1h-1v1h1zm8 0h1v-1h-1v1zm0 8v1h1v-1h-1zm-8 0h-1v1h1v-1zm0-7h8v-2h-8v2zm7-1v8h2v-8h-2zm1 7h-8v2h8v-2zm-7 1v-8h-2v8h2z"})}),(0,i.jsx)("path",{fill:"currentColor",d:"M26 14v7h-7v-7h7zm1-1h-9v9h9v-9z"}),(0,i.jsx)("clipPath",{id:"b",children:(0,i.jsx)("path",{fillRule:"evenodd",d:"M26 18v-7h-7v7h7zm1 1h-9v-9h9v9z",transform:"matrix(1 0 0 -1 0 32)"})}),(0,i.jsx)("g",{clipPath:"url(#b)",children:(0,i.jsx)("path",{d:"M26 14h1v-1h-1v1zm0 7v1h1v-1h-1zm-7 0h-1v1h1v-1zm0-7v-1h-1v1h1zm8-1h1v-1h-1v1zm-9 0v-1h-1v1h1zm0 9h-1v1h1v-1zm9 0v1h1v-1h-1zm-2-8v7h2v-7h-2zm1 6h-7v2h7v-2zm-6 1v-7h-2v7h2zm-1-6h7v-2h-7v2zm8-3h-9v2h9v-2zm-10 1v9h2v-9h-2zm1 10h9v-2h-9v2zm10-1v-9h-2v9h2z"})}),(0,i.jsx)("path",{d:"M29 1v28H17a3 3 0 00-2 .8V1.9a1 1 0 011-.9h13zm1-1H16a2 2 0 00-2 2v30h1a1.9 1.9 0 01.6-1.4 2 2 0 011.4-.5h13V0z"}),(0,i.jsx)("clipPath",{id:"c",children:(0,i.jsx)("path",{fillRule:"evenodd",d:"M29 31V3H17
2a3 3 0 01-2-.8v27.9a1 1 0 001 .9h13zm1 1H16a2 2 0 01-2-2V0h1a1.9 1.9 0 00.6 1.4c.4.3 1 .5 1.4.5h13V32z",transform:"matrix(1 0 0 -1 0 32)"})}),(0,i.jsx)("g",{clipPath:"url(#c)",children:(0,i.jsx)("path",{d:"M29 1h1V0h-1v1zm0 28v1h1v-1h-1zm-12 0v1-1zm-2 .8h-1V32l1.7-1.4-.7-.8zm0-27.9h-1 1zm1-.9v1-1zm14-1h1v-1h-1v1zM16 0v1-1zm-2 2h-1 1zm0 30h-1v1h1v-1zm1 0v1h1v-1h-1zm.6-1.4l.7.7-.7-.7zm1.4-.5v1-1zm13 0v1h1v-1h-1zM28 1v28h2V1h-2zm1 27H17v2h12v-2zm-12 0a4 4 0 00-2.6 1l1.3 1.6A2 2 0 0117 30v-2zm-1 1.8V1.9h-2v27.9h2zM16 2L14.7.5A2 2 0 0014 2l2 .1zm0 0V0a2 2 0 00-1.3.5L16 2zm0 0h13V0H16v2zm14-3H16v2h14v-2zM16-1a3 3 0 00-2 .8l1.4 1.5c.1-.2.4-.3.6-.3v-2zm-2 .8A3 3 0 0013 2h2c0-.2.2-.4.4-.6L14-.2zM13 2v30h2V2h-2zm1 31h1v-2h-1v2zm2-1l.1-.4-1.8-.7c-.2.3-.3.7-.2 1.1h2zm.1-.4l.2-.3L15 30c-.3.3-.6.6-.7 1l1.8.7zm.2-.3l.7-.2v-2a3 3 0 00-2 .8l1.3 1.4zm.7-.2h13v-2H17v2zm14-1V0h-2v30h2z"})}),(0,i.jsx)("path",{d:"M13.1 1a1 1 0 01.9 1v27.7c-.5-.4-1.1-.6-1.8-.6H1V1h12.1zm0-1H0v30h12.2a1.8 1.8 0 011.3.6 2 2 0 01.6 1.4h.9V2a2 2 0 00-1.9-2z"}),(0,i.jsx)("clipPath",{id:"d",children:(0,i.jsx)("path",{fillRule:"evenodd",d:"M13.1 31a1 1 0 00.9-1V2.4c-.5.4-1.1.6-1.8.6H1v28h12.1zm0 1H0V2h12.2a1.8 1.8 0 001.3-.6 2 2 0 00.6-1.4h.9v30a2 2 0 01-1.9 2z",transform:"matrix(1 0 0 -1 0 32)"})}),(0,i.jsx)("g",{clipPath:"url(#d)",children:(0,i.jsx)("path",{d:"M13.1 1V0v1zm.9 1h-1 1zm0 27.7l-.6.8 1.6 1.4v-2.2h-1zm-1.8-.6v1-1zM1 29H0v1h1v-1zM1 1V0H0v1h1zm12.1-1v1h1V0h-1zM0 0v-1h-1v1h1zm0 30h-1v1h1v-1zm12.2 0v-1 1zm1.3.6l-.7.7.7-.7zm.6 1.4h-1v1h1v-1zm.9 0v1h1v-1h-1zm0-30h-1 1zm-1.9-2v-1h-1v1h1zm0 2l.8-1.8a2 2 0 00-.7-.2L13 2zm0 0L14.4.6a2 2 0 00-.6-.4L13 2zm0 0l1.8-.8a2 2 0 00-.4-.6L13 2zm0 0H13h2l-.1-.8L13 2zM13 2v27.7h2V2h-2zm1.6 27c-.6-.6-1.5-1-2.4-1v2c.4 0 .8.2 1.2.5l1.2-1.5zm-2.4-1H1v2h11.2v-2zM2 29V1H0v28h2zM1 2h12.1V0H1v2zm12.1-3H0v2h13.1v-2zM-1 0v30h2V0h-2zm1 31h12.2v-2H0v2zm12.2 0l.3.1.8-1.8c-.4-.2-.7-.2-1.1-.2v2zm.3.1l.3.2 1.4-1.4-.9-.6-.8 1.8zm.3.2l.2.3 1.9-.7a3 3 0 00-.7-1l-1.4 1.4zm.2.3v.4h2v-1l-2 .7zm1 1.4h1v-2h-1v2zm2-1V2h-2v30h2zm0-30c0-.4 0-.8-.2-1.2l-1.9.8.1.3h2zM15.8.8a3 3 0 00-.6-1l-1.5 1.5.2.3 1.9-.8zm-.6-1a3 3 0 00-1-.6l-.7 1.9s.2 0 .2.2l1.5-1.4zm-1-.6a3 3 0 00-1-.2L13 1h.4l.7-1.8zm-2 .8h2-2z"})}),(0,i.jsx)("path",{d:"M22 6h5V5h-5v1zM3 14h9v-1H3v1zm0-4h7V9H3v1zm0-4h5V5H3v1zm15 4h9V9h-9v1zM3 18h9v-1H3v1zm0 4h9v-1H3v1zm0 4h9v-1H3v1zm15 0h9v-1h-9v1z"})]}),Sa=e=>(0,i.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 26 32",fill:"currentColor",...e,children:[(0,i.jsx)("path",{d:"M10.5 21.3c1.7 0 3-.2 3.7-.7.7-.4 1.1-1.4 1.1-3 0-1-.1-1.8-.4-2.3-.5-1-1.4-1.5-2.7-1.5-.7 0-1.1.1-1.3.3-.3.2-.4.4-.4.8v6.4z"}),(0,i.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M26 11v21H0V0h15v11h11zM4 29.4c.9 0 1.5-.2 1.8-.5.3-.3.5-.9.5-1.8V15.9c0-1-.2-1.6-.6-1.9-.2-.2-.8-.3-1.7-.4V13h8.4c1.8 0 3.2.2 4.3.5 2 .7 3 2 3 3.9 0 1.3-.4 2.4-1.5 3.2-.8.6-1.6 1-2.5 1.1l5.2 7.2.5.4.6.1v.6h-5.3l-5.5-7.9h-.7v5c0 .8.2 1.4.5 1.8.3.3 1 .4 1.8.5v.6H4v-.6z"}),(0,i.jsx)("path",{d:"M26 9h-9V0l9 9z"})]}),Oa=e=>(0,i.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 26 32",fill:"currentColor",...e,children:[(0,i.jsxs)("mask",{id:"np-n-cutout",children:[(0,i.jsx)("rect",{width:26,height:32,fill:"white"}),(0,i.jsxs)("g",{fill:"black",children:[(0,i.jsx)("rect",{x:5,y:13.5,width:3,height:15.5}),(0,i.jsx)("rect",{x:18,y:13.5,width:3,height:15.5}),(0,i.jsx)("path",{d:"M5 13.5 L8 13.5 L21 29 L18 29 Z"}),(0,i.jsx)("rect",{x:3.5,y:13,width:6,height:.9}),(0,i.jsx)("rect",{x:16.5,y:13,width:6,height:.9}),(0,i.jsx)("rect",{x:3,y:29,width:7,height:1}),(0,i.jsx)("rect",{x:16,y:29,width:7,height:1})]})]}),(0,i.jsx)("g",{mask:"url(#np-n-cutout)",children:(0,i.jsx)("path",{d:"M26 11v21H0V0h15v11h11z"})}),(0,i.jsx)("path",{d:"M26 9h-9V0l9 9z"})]}),Na=e=>(0,i.jsxs)("svg",{viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[(0,i.jsx)("path",{d:"M7 1C8.22675 1 9.36749 1.36816 10.3178 2H11.899C10.6364 0.76281 8.90732 0 7 0C3.134 0 0 3.13401 0 7C0 8.67832 0.590637 10.2187 1.57541 11.4246L0 13H4V9L2.28674 10.7132C1.4809 9.69179 1 8.40205 1 7C1 3.68629 3.68628 1 7 1Z",fill:"currentColor"}),(0,i.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10 7V3H5V14H14V7H10ZM9 4H6V13H13V8H9V4Z",fill:"currentColor"}),(0,i.jsx)("path",{d:"M11 3L14 6H11V3Z",fill:"currentColor"})]}),La=e=>(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 448 512",fill:"
2currentColor",...e,children:(0,i.jsx)("path",{d:"M448 127.1C448 181 405 223.1 352 223.1C326.1 223.1 302.6 213.8 285.4 197.1L191.3 244.1C191.8 248 191.1 251.1 191.1 256C191.1 260 191.8 263.1 191.3 267.9L285.4 314.9C302.6 298.2 326.1 288 352 288C405 288 448 330.1 448 384C448 437 405 480 352 480C298.1 480 256 437 256 384C256 379.1 256.2 376 256.7 372.1L162.6 325.1C145.4 341.8 121.9 352 96 352C42.98 352 0 309 0 256C0 202.1 42.98 160 96 160C121.9 160 145.4 170.2 162.6 186.9L256.7 139.9C256.2 135.1 256 132 256 128C256 74.98 298.1 32 352 32C405 32 448 74.98 448 128L448 127.1zM95.1 287.1C113.7 287.1 127.1 273.7 127.1 255.1C127.1 238.3 113.7 223.1 95.1 223.1C78.33 223.1 63.1 238.3 63.1 255.1C63.1 273.7 78.33 287.1 95.1 287.1zM352 95.1C334.3 95.1 320 110.3 320 127.1C320 145.7 334.3 159.1 352 159.1C369.7 159.1 384 145.7 384 127.1C384 110.3 369.7 95.1 352 95.1zM352 416C369.7 416 384 401.7 384 384C384 366.3 369.7 352 352 352C334.3 352 320 366.3 320 384C320 401.7 334.3 416 352 416z"})}),Ea=e=>(0,i.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:" 0 0 40 40",fill:"currentColor",...e,children:[(0,i.jsx)("path",{d:"M36.57 14.2v25.22H17.85l-1.7-10 7.2-7.07-9.96-1.47-4.45-9.1-3.6 7.36V.98h18.01v13.21h13.22zM17.85 39.42H5.33v-2.81l3.6-1.91 8.92 4.72z"}),(0,i.jsx)("path",{d:"M25.76 11.79h10.81L25.76.98v10.8z"}),(0,i.jsx)("path",{className:"star",d:"M8.94 18.44l2.6 5.27 5.8.85-4.2 4.1 1 5.79-5.2-2.74-5.2 2.74 1-5.8-4.21-4.1 5.81-.84 2.6-5.27z"})]}),Ta=e=>(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",fill:"currentColor",...e,children:(0,i.jsx)("path",{d:"M503 215l-46-46c-6-6-14-9-22-9h-51V80c0-27-21-48-48-48H176c-27 0-48 21-48 48v80H77c-8 0-16 3-22 9L9 215c-6 6-9 14-9 22v83h128v-16c0-9 7-16 16-16h32c9 0 16 7 16 16v16h128v-16c0-9 7-16 16-16h32c9 0 16 7 16 16v16h128v-83c0-8-3-16-9-22zm-183-55H192V96h128v64zm64 208c0 9-7 16-16 16h-32c-9 0-16-7-16-16v-16H192v16c0 9-7 16-16 16h-32c-9 0-16-7-16-16v-16H0v96c0 18 14 32 32 32h448c18 0 32-14 32-32v-96H384v16z"})}),za=e=>(0,i.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 40 40",fill:"currentColor",...e,children:[(0,i.jsx)("path",{d:"M31.7 11.8H20.8V1l10.9 10.8z"}),(0,i.jsx)("path",{d:"M31.7 14.2v25.2H.4V1h18v13.2h13.3z"})]}),Pa=e=>(0,i.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 12 16",fill:"currentColor",...e,children:[(0,i.jsx)("path",{d:"M0 4.98V3.56C0 1.59 2.55 0 5.69 0c3.14 0 5.69 1.6 5.69 3.56v1.42c0 1.96-2.55 3.55-5.7 3.55C2.56 8.53 0 6.94 0 4.98z"}),(0,i.jsx)("path",{d:"M11.35 7.11c-.29 1.8-2.71 3.2-5.66 3.2S.3 8.91.03 7.11a2.28 2.28 0 00-.03.36v1.42c0 1.96 2.55 3.55 5.69 3.55 3.14 0 5.69-1.59 5.69-3.55V7.47a2.26 2.26 0 00-.03-.36z"}),(0,i.jsx)("path",{d:"M5.69 13.87c2.95 0 5.37-1.4 5.66-3.2.02.11.03.23.03.35v1.42c0 1.97-2.55 3.56-5.7 3.56C2.56 16 0 14.4 0 12.44v-1.42c0-.12.01-.24.03-.35.28 1.8 2.7 3.2 5.66 3.2z"})]}),Ra=e=>(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 18 18",fill:"currentColor",...e,children:(0,i.jsx)("path",{fillRule:"evenodd",d:"M9 0a9 9 0 010 18A9 9 0 119 0zm0 16.88c.03 0 .2-.02.47-.33.28-.32.59-.84.86-1.58.33-.86.58-1.94.74-3.16H6.93c.16 1.22.41 2.3.74 3.16.27.74.58 1.26.86 1.58.28.31.44.32.47.32zm-2.19-6.2a22.64 22.64 0 010-3.37h4.38a22.65 22.65 0 010 3.38H6.8zm5.4 1.13a12.72 12.72 0 01-1.45 4.87 7.9 7.9 0 005.6-4.87H12.2zm4.48-1.12h-4.37a23.8 23.8 0 000-3.38h4.37a7.9 7.9 0 010 3.38zm-11 0H1.3a7.9 7.9 0 010-3.38h4.37a23.81 23.81 0 000 3.38zM1.63 11.8H5.8c.25 2.04.77 3.76 1.45 4.87a7.89 7.89 0 01-5.6-4.87zM6.93 6.2h4.14a14.5 14.5 0 00-.74-3.16 5.15 5.15 0 00-.86-1.58c-.28-.31-.44-.32-.47-.32-.03 0-.2 0-.47.32-.28.32-.59.84-.86 1.58a14.5 14.5 0 00-.74 3.16zm5.28 0h4.15a7.89 7.89 0 00-5.6-4.87c.68 1.1 1.2 2.83 1.45 4.87zM7.24 1.32c-.68 1.1-1.2 2.83-1.45 4.87H1.64a7.9 7.9 0 015.6-4.87z"})}),$a=e=>(0,i.jsxs)("svg",{viewBox:"0 0 16 16",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",...e,children:[(0,i.jsx)("path",{d:"M7.5 3v2.5H10v2H7.5v2.499h-2v-2.5H3v-2h2.5V3h2z"}),(0,i.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15.78 13.833l-3.116-3.115a.75.75 0 00-.53-.219h-.51a6.468 6.468 0 001.375-4c0-3.59-2.91-6.499-6.5-6.499S0 2.91 0 6.5s2.91 6.499 6.5 6.499c1.509 0 2.896-.513 3.999-1.375v.51c0 .2.078.39.219.53l3.115 3.116a.747.747 0 001.06 0l.884-.885a.753.753 0 00.003-1.
2062zm-4.281-7.334a5 5 0 11-10 0 5 5 0 0110 0z"})]}),Ia=e=>(0,i.jsxs)("svg",{viewBox:"0 0 16 16",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",...e,children:[(0,i.jsx)("path",{d:"M10 5.5H3v2h7v-2z"}),(0,i.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15.78 13.833l-3.116-3.115a.75.75 0 00-.53-.219h-.51a6.468 6.468 0 001.375-4c0-3.59-2.91-6.499-6.5-6.499S0 2.91 0 6.5s2.91 6.499 6.5 6.499c1.509 0 2.896-.513 3.999-1.375v.51c0 .2.078.39.219.53l3.115 3.116a.747.747 0 001.06 0l.884-.885a.753.753 0 00.003-1.062zm-4.281-7.334a5 5 0 11-10 0 5 5 0 0110 0z"})]}),Ha=e=>(0,i.jsxs)("svg",{viewBox:"0 0 64 64",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",...e,children:[(0,i.jsx)("path",{d:"M50.6575 42.8707L63.1188 55.332C64.2812 56.507 64.2812 58.4067 63.1062 59.5817L59.5691 63.1188C58.4067 64.2937 56.507 64.2937 55.332 63.1188L42.8707 50.6575C42.3084 50.095 41.9959 49.3326 41.9959 48.5327V46.4954C37.5838 49.9451 32.0343 51.9949 25.9974 51.9949C11.6364 51.9949 0 40.3585 0 25.9974C0 11.6364 11.6364 0 25.9974 0C33.3727 0 40.0294 3.06901 44.7604 7.99999H34.7264C32.0888 6.71826 29.1271 5.99935 25.9974 5.99935C14.9528 5.99935 5.99935 14.9528 5.99935 25.9974C5.99935 37.0421 14.9528 45.9954 25.9974 45.9954C31.5897 45.9954 36.6458 43.7 40.275 40H47.9101C47.4695 40.688 46.9974 41.354 46.4954 41.9959H48.5327C49.3326 41.9959 50.095 42.3084 50.6575 42.8707Z"}),(0,i.jsx)("path",{d:"M28.8 28.264L25.984 20.568C25.8453 20.2267 25.7013 19.8213 25.552 19.352C25.4027 18.8827 25.2533 18.376 25.104 17.832C24.9653 18.376 24.8213 18.888 24.672 19.368C24.5227 19.8373 24.3787 20.248 24.24 20.6L21.44 28.264H28.8ZM36.4 37H33.072C32.6987 37 32.3947 36.9093 32.16 36.728C31.9253 36.536 31.7493 36.3013 31.632 36.024L29.904 31.304H20.32L18.592 36.024C18.5067 36.2693 18.3413 36.4933 18.096 36.696C17.8507 36.8987 17.5467 37 17.184 37H13.824L22.928 13.864H27.312L36.4 37ZM50.8268 28.264L48.0108 20.568C47.8721 20.2267 47.7281 19.8213 47.5788 19.352C47.4294 18.8827 47.2801 18.376 47.1308 17.832C46.9921 18.376 46.8481 18.888 46.6988 19.368C46.5494 19.8373 46.4054 20.248 46.2668 20.6L43.4668 28.264H50.8268ZM58.4268 37H55.0988C54.7254 37 54.4214 36.9093 54.1868 36.728C53.9521 36.536 53.7761 36.3013 53.6588 36.024L51.9308 31.304H42.3468L40.6188 36.024C40.5334 36.2693 40.3681 36.4933 40.1228 36.696C39.8774 36.8987 39.5734 37 39.2108 37H35.8508L44.9548 13.864H49.3388L58.4268 37Z"})]})},89287(e,t,n){"use strict";n.d(t,["A",0,function(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}])},41207(e,t,n){"use strict";var r=n(72508);n.d(t,["A",0,function(e,t){return!(null==e||!e.length)&&(0,r.A)(e,t,0)>-1}])},54738(e,t,n){"use strict";var r=n(36049);n.d(t,["A",0,function(e,t,n){"__proto__"==t&&r.A?(0,r.A)(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}])},72508(e,t,n){"use strict";n.d(t,{A:()=>i});const r=function(e){return e!=e},i=function(e,t,n){return t==t?function(e,t,n){for(var r=n-1,i=e.length;++r<i;)if(e[r]===t)return r;return-1}(e,t,n):function(e,t,n,r){for(var i=e.length,o=n+(r?1:-1);r?o--:++o<i;)if(t(e[o],o,e))return o;return-1}(e,r,n)}},45376(e,t,n){"use strict";var r=n(32854),i=n(72035),o=n(33444);n.d(t,["A",0,function(e,t){return(0,o.A)((0,i.A)(e,t,r.A),e+"")}])},99939(e,t,n){"use strict";n.d(t,["A",0,function(e,t){for(var n,r=-1,i=e.length;++r<i;){var o=t(e[r]);void 0!==o&&(n=void 0===n?o:n+o)}return n}])},5749(e,t,n){"use strict";n.d(t,["A",0,function(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}])},7127(e,t,n){"use strict";n.d(t,{A:()=>J});var r=n(32854),i=n(28453);const o=i.A&&new i.A,s=o?function(e,t){return o.set(e,t),e}:r.A;var a=n(80115),l=Object.create;const c=function(){function e(){}return function(t){if(!(0,a.A)(t))return{};if(l)return l(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}(),u=function(e){return function(){var t=arguments;switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3]);case 5:return new e(t[0],t[1],t[2],t[3],t[4]);case 6:return new e(t[0],t[1],t[2],t[3],t[4],t[5]);case 7:return new e(t[0],t[1],t[2],t[3],t[4],t[5],t[6])}var n=c(e.prototype),r=e.apply(n,t);return(0,a.A)(r)?r:n}};var h=n(81523);var f=n(89287),d=Math.max;const p=function(e,t,n,r){for(var i=-1,o=e.length,s=n.length,a=-1,l=t.length,c=d(o-s,0),u=Array(l+c),h=!r;++a<l;)u[a]=t[a];for(;++i<s;)(h||i<o)&&(u[n[i]]=e[i]);for(;c--;)u[a++]=e[i++];return u};var m=Math.max;const g=function(e,t,n,r){for(var i=-1,o=e.length,s=-1,a=n.length,l=-1,c=t.length,u=m(o-a,0),h=Array(u+c),f=!r;++i<u;)h[i]=e[i];for(var d=i;++l<c;)h[d+l]=t[l];for(;++s<a;)(f||i<o)&&(h[d+n[s]]=e[i++]);return h},v=function(){};function y(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=4294967295,this.__views__=[]}y.prototype=c(v.prototype),y.prototype.constructor=y;const w=y;var x=n(62388);const b=o?function(e){return o.get(e)}:x.A,_={};var C=Object.prototype.hasOwnProperty;function j(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=void 0}j.prototype=c(v.prototype),j.prototype.constructor=j;const k=j;var A=n(95635),M=n(60620),S=n(5749);var O=Object.prototype.hasOwnProperty;function N(e){if((0,M.A)(e)&&!(0,A.A)(e)&&!(e instanceof w)){if(e instanceof k)return e;if(O.call(e,"__wrapped__"))return function(e){if(e instanceof w)return e.clone();var t=new k(e.__wrapped__,e.__chain__);return t.__actions__=(0,S.A)(e.__actions__),t.__index__=e.__index__,t.__values__=e.__values__,t}(e)}return new k(e)}N.prototype=v.prototype,N.prototype.constructor=N;const L=N,E=function(e){var t=function(e){for(var t=e.name+"",n=_[t],r=C.call(_,t)?n.length:0;r--;){var i=n[r],o=i.func;
2if(null==o||o==e)return i.name}return t}(e),n=L[t];if("function"!=typeof n||!(t in w.prototype))return!1;if(e===n)return!0;var r=b(n);return!!r&&e===r[0]},T=(0,n(48573).A)(s);var z=/\{\n\/\* \[wrapped with (.+)\] \*/,P=/,? & /;var R=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/;var $=n(33444);var I=n(41207),H=[["ary",128],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",32],["partialRight",64],["rearg",256]];const D=function(e,t,n){var r=t+"";return(0,$.A)(e,function(e,t){var n=t.length;if(!n)return e;var r=n-1;return t[r]=(n>1?"& ":"")+t[r],t=t.join(n>2?", ":" "),e.replace(R,"{\n/* [wrapped with "+t+"] */\n")}(r,function(e,t){return function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r&&!1!==t(e[n],n,e););}(H,function(n){var r="_."+n[0];t&n[1]&&!(0,I.A)(e,r)&&e.push(r)}),e.sort()}(function(e){var t=e.match(z);return t?t[1].split(P):[]}(r),n)))},B=function(e,t,n,r,i,o,s,a,l,c){var u=8&t;t|=u?32:64,4&(t&=~(u?64:32))||(t&=-4);var h=[e,t,i,u?o:void 0,u?s:void 0,u?void 0:o,u?void 0:s,a,l,c],f=n.apply(void 0,h);return E(e)&&T(f,h),f.placeholder=r,D(f,e,t)};var V=n(8937),F=n(21143),U=Math.min;var q=n(52728);const W=function e(t,n,r,i,o,s,a,l,c,f){var d=128&n,m=1&n,v=2&n,y=24&n,w=512&n,x=v?void 0:u(t);return function b(){for(var _=arguments.length,C=Array(_),j=_;j--;)C[j]=arguments[j];if(y)var k=(0,V.A)(b),A=function(e,t){for(var n=e.length,r=0;n--;)e[n]===t&&++r;return r}(C,k);if(i&&(C=p(C,i,o,y)),s&&(C=g(C,s,a,y)),_-=A,y&&_<f){var M=(0,q.A)(C,k);return B(t,n,e,b.placeholder,r,C,M,l,c,f-_)}var O=m?r:this,N=v?O[t]:t;return _=C.length,l?C=function(e,t){for(var n=e.length,r=U(t.length,n),i=(0,S.A)(e);r--;){var o=t[r];e[r]=(0,F.A)(o,n)?i[o]:void 0}return e}(C,l):w&&_>1&&C.reverse(),d&&c<_&&(C.length=c),this&&this!==h.A&&this instanceof b&&(N=x||u(N)),N.apply(O,C)}};var Y="__lodash_placeholder__",Z=Math.min;var X=n(92369),K=Math.max;const J=function(e,t,n,r,i,o,a,l){var c=2&t;if(!c&&"function"!=typeof e)throw new TypeError("Expected a function");var d=r?r.length:0;if(d||(t&=-97,r=i=void 0),a=void 0===a?a:K((0,X.A)(a),0),l=void 0===l?l:(0,X.A)(l),d-=i?i.length:0,64&t){var m=r,v=i;r=i=void 0}var y=c?void 0:b(e),w=[e,t,n,r,i,m,v,o,a,l];if(y&&function(e,t){var n=e[1],r=t[1],i=n|r,o=i<131,s=128==r&&8==n||128==r&&256==n&&e[7].length<=t[8]||384==r&&t[7].length<=t[8]&&8==n;if(!o&&!s)return e;1&r&&(e[2]=t[2],i|=1&n?0:4);var a=t[3];if(a){var l=e[3];e[3]=l?p(l,a,t[4]):a,e[4]=l?(0,q.A)(e[3],Y):t[4]}(a=t[5])&&(l=e[5],e[5]=l?g(l,a,t[6]):a,e[6]=l?(0,q.A)(e[5],Y):t[6]),(a=t[7])&&(e[7]=a),128&r&&(e[8]=null==e[8]?t[8]:Z(e[8],t[8])),null==e[9]&&(e[9]=t[9]),e[0]=t[0],e[1]=i}(w,y),e=w[0],t=w[1],n=w[2],r=w[3],i=w[4],!(l=w[9]=void 0===w[9]?c?0:e.length:K(w[9]-d,0))&&24&t&&(t&=-25),t&&1!=t)x=8==t||16==t?function(e,t,n){var r=u(e);return function i(){for(var o=arguments.length,s=Array(o),a=o,l=(0,V.A)(i);a--;)s[a]=arguments[a];var c=o<3&&s[0]!==l&&s[o-1]!==l?[]:(0,q.A)(s,l);if((o-=c.length)<n)return B(e,t,W,i.placeholder,void 0,s,c,void 0,void 0,n-o);var u=this&&this!==h.A&&this instanceof i?r:e;return(0,f.A)(u,this,s)}}(e,t,l):32!=t&&33!=t||i.length?W.apply(void 0,w):function(e,t,n,r){var i=1&t,o=u(e);return function t(){for(var s=-1,a=arguments.length,l=-1,c=r.length,u=Array(c+a),d=this&&this!==h.A&&this instanceof t?o:e;++l<c;)u[l]=r[l];for(;a--;)u[l++]=arguments[++s];return(0,f.A)(d,i?n:this,u)}}(e,t,n,r);else var x=function(e,t,n){var r=1&t,i=u(e);return function t(){return(this&&this!==h.A&&this instanceof t?i:e).apply(r?n:this,arguments)}}(e,t,n);return D((y?s:T)(x,w),e,t)}},36049(e,t,n){"use strict";var r=n(62316);const i=function(){try{var e=(0,r.A)(Object,"defineProperty");return e({},"",{}),e}catch(e){}}();n.d(t,["A",0,i])},8937(e,t,n){"use strict";n.d(t,["A",0,function(e){return e.placeholder}])},72035(e,t,n){"use strict";var r=n(89287),i=Math.max;n.d(t,["A",0,function(e,t,n){return t=i(void 0===t?e.length-1:t,0),function(){for(var o=arguments,s=-1,a=i(o.length-t,0),l=Array(a);++s<a;)l[s]=o[t+s];s=-1;for(var c=Array(t+1);++s<t;)c[s]=o[s];return c[t]=n(l),(0,r.A)(e,this,c)}}])},52728(e,t,n){"use strict";var r="__lodash_placeholder__";n.d(t,["A",0,function(e,t){for(var n=-1,i=e.length,o=0,s=[];++n<i;){var a=e[n];
2a!==t&&a!==r||(e[n]=r,s[o++]=n)}return s}])},33444(e,t,n){"use strict";n.d(t,{A:()=>s});var r=n(36049),i=n(32854);const o=r.A?function(e,t){return(0,r.A)(e,"toString",{configurable:!0,enumerable:!1,value:(n=t,function(){return n}),writable:!0});var n}:i.A,s=(0,n(48573).A)(o)},48573(e,t,n){"use strict";var r=Date.now;n.d(t,["A",0,function(e){var t=0,n=0;return function(){var i=r(),o=16-(i-n);if(n=i,o>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}])},47851(e,t,n){"use strict";n.d(t,{A:()=>c});var r=n(80115),i=n(81523);const o=function(){return i.A.Date.now()};var s=n(6449),a=Math.max,l=Math.min;const c=function(e,t,n){var i,c,u,h,f,d,p=0,m=!1,g=!1,v=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function y(t){var n=i,r=c;return i=c=void 0,p=t,h=e.apply(r,n)}function w(e){var n=e-d;return void 0===d||n>=t||n<0||g&&e-p>=u}function x(){var e=o();if(w(e))return b(e);f=setTimeout(x,function(e){var n=t-(e-d);return g?l(n,u-(e-p)):n}(e))}function b(e){return f=void 0,v&&i?y(e):(i=c=void 0,h)}function _(){var e=o(),n=w(e);if(i=arguments,c=this,d=e,n){if(void 0===f)return function(e){return p=e,f=setTimeout(x,t),m?y(e):h}(d);if(g)return clearTimeout(f),f=setTimeout(x,t),y(d)}return void 0===f&&(f=setTimeout(x,t)),h}return t=(0,s.A)(t)||0,(0,r.A)(n)&&(m=!!n.leading,u=(g="maxWait"in n)?a((0,s.A)(n.maxWait)||0,t):u,v="trailing"in n?!!n.trailing:v),_.cancel=function(){void 0!==f&&clearTimeout(f),p=0,i=d=c=f=void 0},_.flush=function(){return void 0===f?h:b(o())},_}},51960(e,t,n){"use strict";var r=n(54738),i=n(65610),o=Object.prototype.hasOwnProperty;const s=(0,i.A)(function(e,t,n){o.call(e,n)?e[n].push(t):(0,r.A)(e,n,[t])});n.d(t,["A",0,s])},62388(e,t,n){"use strict";n.d(t,["A",0,function(){}])},45207(e,t,n){"use strict";var r=n(45376),i=n(7127),o=n(8937),s=n(52728),a=(0,r.A)(function(e,t){var n=(0,s.A)(t,(0,o.A)(a));return(0,i.A)(e,32,void 0,t,n)});a.placeholder={};const l=a;n.d(t,["A",0,l])},37620(e,t,n){"use strict";var r=n(81543),i=n(99939);n.d(t,["A",0,function(e,t){return e&&e.length?(0,i.A)(e,(0,r.A)(t,2)):0}])},87168(e,t,n){"use strict";var r=n(47851),i=n(80115);n.d(t,["A",0,function(e,t,n){var o=!0,s=!0;if("function"!=typeof e)throw new TypeError("Expected a function");return(0,i.A)(n)&&(o="leading"in n?!!n.leading:o,s="trailing"in n?!!n.trailing:s),(0,r.A)(e,t,{leading:o,maxWait:t,trailing:s})}])},92369(e,t,n){"use strict";n.d(t,{A:()=>o});var r=n(6449),i=1/0;const o=function(e){var t=function(e){return e?(e=(0,r.A)(e))===i||e===-1/0?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0}(e),n=t%1;return t==t?n?t-n:t:0}},6449(e,t,n){"use strict";n.d(t,{A:()=>f});var r=/\s/;var i=/^\s+/;const o=function(e){return e?e.slice(0,function(e){for(var t=e.length;t--&&r.test(e.charAt(t)););return t}(e)+1).replace(i,""):e};var s=n(80115),a=n(17332),l=/^[-+]0x[0-9a-f]+$/i,c=/^0b[01]+$/i,u=/^0o[0-7]+$/i,h=parseInt;const f=function(e){if("number"==typeof e)return e;if((0,a.A)(e))return NaN;if((0,s.A)(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=(0,s.A)(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=o(e);var n=c.test(e);return n||u.test(e)?h(e.slice(2),n?2:8):l.test(e)?NaN:+e}},91981(e,t,n){"use strict";n.d(t,{Gt:()=>f,_:()=>d,yy:()=>h});var r=function(e){return new Promise(function(t){return setTimeout(function(){return t()},e)})},i="node";"undefined"!=typeof importScripts?i="worker":"undefined"!=typeof window&&(i="browser");var o=i,s=function(){return r(0)};"browser"===o&&"requestAnimationFrame"in window&&(s=function(){return new Promise(function(e){return window.requestAnimationFrame(function(){return e()})})});var a,l=s;if("browser"===o&&"requestIdleCallback"in window)a=function(e){return new Promise(function(t){return window.requestIdleCallback(t,{timeout:e})})};else{var c=Object.freeze({didTimeout:!0,timeRemaining:function(){return 1/0}});if(a=function(e){return r((e||0)/2).then(function(){return c})},"browser"===o&&"requestAnimationFrame"in window){var u=a;a=function(){return u().then(l).then(function(){return c})}}}var h=r,f=l,d=a},25385(e,t,n){"use strict";n.d(t,{A:()=>r});function r(e,t){if(!e)throw new Error("Invariant failed")}}}]); 3//# sourceMappingURL=modern.app.8227e8.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.