@shoplflow/extension 0.0.54 → 0.0.56
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
var U5=Object.defineProperty;var z5=(e,t,i)=>t in e?U5(e,t,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[t]=i;var j=(e,t,i)=>(z5(e,typeof t!="symbol"?t+"":t,i),i);import{j as r,r as M,R as Pi,a as p,b as Dt,F as Pt,c as Tl,g as W5,d as Jn,e as G5}from"../../../assets/js/jsx-runtime.ea866ad2.js";import{a as j5}from"../../../assets/js/twind.60e4b726.js";function N5(e,t){return function(n){return r(M.exports.Suspense,{fallback:t,children:r(e,{...n})})}}class X5 extends M.exports.Component{constructor(){super(...arguments);j(this,"state",{hasError:!1})}static getDerivedStateFromError(){return{hasError:!0}}componentDidCatch(i,n){console.error(i,n)}render(){return this.state.hasError?this.props.fallback:this.props.children}}function Y5(e,t){return function(n){return r(X5,{fallback:t,children:r(e,{...n})})}}const K5=(e="SHOPL")=>{const[t,i]=M.exports.useState(void 0);return M.exports.useEffect(()=>{e&&i(e)},[e]),M.exports.useEffect(()=>{!t||(document.documentElement.dataset.shoplflow=t==null?void 0:t.toLowerCase())},[t]),[t]},q5=()=>document.documentElement.dataset.shoplflow,Oi={initial:{opacity:0},animate:{opacity:1,transition:{duration:.1}},exit:{opacity:0,transition:{duration:.1}}};function Hi(){return Hi=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&(e[n]=i[n])}return e},Hi.apply(this,arguments)}function Vl(e){var t=Object.create(null);return function(i){return t[i]===void 0&&(t[i]=e(i)),t[i]}}var Q5=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,Pl=Vl(function(e){return Q5.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91});function J5(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}function ec(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),e.nonce!==void 0&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}var tc=function(){function e(i){var n=this;this._insertTag=function(o){var s;n.tags.length===0?n.insertionPoint?s=n.insertionPoint.nextSibling:n.prepend?s=n.container.firstChild:s=n.before:s=n.tags[n.tags.length-1].nextSibling,n.container.insertBefore(o,s),n.tags.push(o)},this.isSpeedy=i.speedy===void 0?!0:i.speedy,this.tags=[],this.ctr=0,this.nonce=i.nonce,this.key=i.key,this.container=i.container,this.prepend=i.prepend,this.insertionPoint=i.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(n){n.forEach(this._insertTag)},t.insert=function(n){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(ec(this));var o=this.tags[this.tags.length-1];if(this.isSpeedy){var s=J5(o);try{s.insertRule(n,s.cssRules.length)}catch{}}else o.appendChild(document.createTextNode(n));this.ctr++},t.flush=function(){this.tags.forEach(function(n){return n.parentNode&&n.parentNode.removeChild(n)}),this.tags=[],this.ctr=0},e}(),be="-ms-",$i="-moz-",K="-webkit-",Ol="comm",er="rule",tr="decl",ic="@import",Hl="@keyframes",nc="@layer",rc=Math.abs,m1=String.fromCharCode,oc=Object.assign;function sc(e,t){return _e(e,0)^45?(((t<<2^_e(e,0))<<2^_e(e,1))<<2^_e(e,2))<<2^_e(e,3):0}function $l(e){return e.trim()}function lc(e,t){return(e=t.exec(e))?e[0]:e}function q(e,t,i){return e.replace(t,i)}function Sn(e,t){return e.indexOf(t)}function _e(e,t){return e.charCodeAt(t)|0}function O0(e,t,i){return e.slice(t,i)}function Ke(e){return e.length}function ir(e){return e.length}function ci(e,t){return t.push(e),e}function ac(e,t){return e.map(t).join("")}var x1=1,i0=1,Ul=0,Re=0,ue=0,l0="";function w1(e,t,i,n,o,s,l){return{value:e,root:t,parent:i,type:n,props:o,children:s,line:x1,column:i0,length:l,return:""}}function h0(e,t){return oc(w1("",null,null,"",null,null,0),e,{length:-e.length},t)}function cc(){return ue}function dc(){return ue=Re>0?_e(l0,--Re):0,i0--,ue===10&&(i0=1,x1--),ue}function Ee(){return ue=Re<Ul?_e(l0,Re++):0,i0++,ue===10&&(i0=1,x1++),ue}function et(){return _e(l0,Re)}function ki(){return Re}function ei(e,t){return O0(l0,e,t)}function H0(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function zl(e){return x1=i0=1,Ul=Ke(l0=e),Re=0,[]}function Wl(e){return l0="",e}function Fi(e){return $l(ei(Re-1,In(e===91?e+2:e===40?e+1:e)))}function hc(e){for(;(ue=et())&&ue<33;)Ee();return H0(e)>2||H0(ue)>3?"":" "}function fc(e,t){for(;--t&&Ee()&&!(ue<48||ue>102||ue>57&&ue<65||ue>70&&ue<97););return ei(e,ki()+(t<6&&et()==32&&Ee()==32))}function In(e){for(;Ee();)switch(ue){case e:return Re;case 34:case 39:e!==34&&e!==39&&In(ue);break;case 40:e===41&&In(e);break;case 92:Ee();break}return Re}function uc(e,t){for(;Ee()&&e+ue!==47+10;)if(e+ue===42+42&&et()===47)break;return"/*"+ei(t,Re-1)+"*"+m1(e===47?e:Ee())}function pc(e){for(;!H0(et());)Ee();return ei(e,Re)}function gc(e){return Wl(Bi("",null,null,null,[""],e=zl(e),0,[0],e))}function Bi(e,t,i,n,o,s,l,a,c){for(var d=0,h=0,f=l,u=0,g=0,v=0,m=1,w=1,_=1,Z=0,b="",I=o,A=s,D=n,k=b;w;)switch(v=Z,Z=Ee()){case 40:if(v!=108&&_e(k,f-1)==58){Sn(k+=q(Fi(Z),"&","&\f"),"&\f")!=-1&&(_=-1);break}case 34:case 39:case 91:k+=Fi(Z);break;case 9:case 10:case 13:case 32:k+=hc(v);break;case 92:k+=fc(ki()-1,7);continue;case 47:switch(et()){case 42:case 47:ci(vc(uc(Ee(),ki()),t,i),c);break;default:k+="/"}break;case 123*m:a[d++]=Ke(k)*_;case 125*m:case 59:case 0:switch(Z){case 0:case 125:w=0;case 59+h:_==-1&&(k=q(k,/\f/g,"")),g>0&&Ke(k)-f&&ci(g>32?Qr(k+";",n,i,f-1):Qr(q(k," ","")+";",n,i,f-2),c);break;case 59:k+=";";default:if(ci(D=qr(k,t,i,d,h,o,a,b,I=[],A=[],f),s),Z===123)if(h===0)Bi(k,t,D,D,I,s,f,a,A);else switch(u===99&&_e(k,3)===110?100:u){case 100:case 108:case 109:case 115:Bi(e,D,D,n&&ci(qr(e,D,D,0,0,o,a,b,o,I=[],f),A),o,A,f,a,n?I:A);break;default:Bi(k,D,D,D,[""],A,0,a,A)}}d=h=g=0,m=_=1,b=k="",f=l;break;case 58:f=1+Ke(k),g=v;default:if(m<1){if(Z==123)--m;else if(Z==125&&m++==0&&dc()==125)continue}switch(k+=m1(Z),Z*m){case 38:_=h>0?1:(k+="\f",-1);break;case 44:a[d++]=(Ke(k)-1)*_,_=1;break;case 64:et()===45&&(k+=Fi(Ee())),u=et(),h=f=Ke(b=k+=pc(ki())),Z++;break;case 45:v===45&&Ke(k)==2&&(m=0)}}return s}function qr(e,t,i,n,o,s,l,a,c,d,h){for(var f=o-1,u=o===0?s:[""],g=ir(u),v=0,m=0,w=0;v<n;++v)for(var _=0,Z=O0(e,f+1,f=rc(m=l[v])),b=e;_<g;++_)(b=$l(m>0?u[_]+" "+Z:q(Z,/&\f/g,u[_])))&&(c[w++]=b);return w1(e,t,i,o===0?er:a,c,d,h)}function vc(e,t,i){return w1(e,t,i,Ol,m1(cc()),O0(e,2,-2),0)}function Qr(e,t,i,n){return w1(e,t,i,tr,O0(e,0,n),O0(e,n+1,-1),n)}function Jt(e,t){for(var i="",n=ir(e),o=0;o<n;o++)i+=t(e[o],o,e,t)||"";return i}function mc(e,t,i,n){switch(e.type){case nc:if(e.children.length)break;case ic:case tr:return e.return=e.return||e.value;case Ol:return"";case Hl:return e.return=e.value+"{"+Jt(e.children,n)+"}";case er:e.value=e.props.join(",")}return Ke(i=Jt(e.children,n))?e.return=e.value+"{"+i+"}":""}function xc(e){var t=ir(e);return function(i,n,o,s){for(var l="",a=0;a<t;a++)l+=e[a](i,n,o,s)||"";return l}}function wc(e){return function(t){t.root||(t=t.return)&&e(t)}}var yc=function(t,i,n){for(var o=0,s=0;o=s,s=et(),o===38&&s===12&&(i[n]=1),!H0(s);)Ee();return ei(t,Re)},_c=function(t,i){var n=-1,o=44;do switch(H0(o)){case 0:o===38&&et()===12&&(i[n]=1),t[n]+=yc(Re-1,i,n);break;case 2:t[n]+=Fi(o);break;case 4:if(o===44){t[++n]=et()===58?"&\f":"",i[n]=t[n].length;break}default:t[n]+=m1(o)}while(o=Ee());return t},bc=function(t,i){return Wl(_c(zl(t),i))},Jr=new WeakMap,Mc=function(t){if(!(t.type!=="rule"||!t.parent||t.length<1)){for(var i=t.value,n=t.parent,o=t.column===n.column&&t.line===n.line;n.type!=="rule";)if(n=n.parent,!n)return;if(!(t.props.length===1&&i.charCodeAt(0)!==58&&!Jr.get(n))&&!o){Jr.set(t,!0);for(var s=[],l=bc(i,s),a=n.props,c=0,d=0;c<l.length;c++)for(var h=0;h<a.length;h++,d++)t.props[d]=s[c]?l[c].replace(/&\f/g,a[h]):a[h]+" "+l[c]}}},Zc=function(t){if(t.type==="decl"){var i=t.value;i.charCodeAt(0)===108&&i.charCodeAt(2)===98&&(t.return="",t.value="")}};function Gl(e,t){switch(sc(e,t)){case 5103:return K+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return K+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return K+e+$i+e+be+e+e;case 6828:case 4268:return K+e+be+e+e;case 6165:return K+e+be+"flex-"+e+e;case 5187:return K+e+q(e,/(\w+).+(:[^]+)/,K+"box-$1$2"+be+"flex-$1$2")+e;case 5443:return K+e+be+"flex-item-"+q(e,/flex-|-self/,"")+e;case 4675:return K+e+be+"flex-line-pack"+q(e,/align-content|flex-|-self/,"")+e;case 5548:return K+e+be+q(e,"shrink","negative")+e;case 5292:return K+e+be+q(e,"basis","preferred-size")+e;case 6060:return K+"box-"+q(e,"-grow","")+K+e+be+q(e,"grow","positive")+e;case 4554:return K+q(e,/([^-])(transform)/g,"$1"+K+"$2")+e;case 6187:return q(q(q(e,/(zoom-|grab)/,K+"$1"),/(image-set)/,K+"$1"),e,"")+e;case 5495:case 3959:return q(e,/(image-set\([^]*)/,K+"$1$`$1");case 4968:return q(q(e,/(.+:)(flex-)?(.*)/,K+"box-pack:$3"+be+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+K+e+e;case 4095:case 3583:case 4068:case 2532:return q(e,/(.+)-inline(.+)/,K+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(Ke(e)-1-t>6)switch(_e(e,t+1)){case 109:if(_e(e,t+4)!==45)break;case 102:return q(e,/(.+:)(.+)-([^]+)/,"$1"+K+"$2-$3$1"+$i+(_e(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~Sn(e,"stretch")?Gl(q(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(_e(e,t+1)!==115)break;case 6444:switch(_e(e,Ke(e)-3-(~Sn(e,"!important")&&10))){case 107:return q(e,":",":"+K)+e;case 101:return q(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+K+(_e(e,14)===45?"inline-":"")+"box$3$1"+K+"$2$3$1"+be+"$2box$3")+e}break;case 5936:switch(_e(e,t+11)){case 114:return K+e+be+q(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return K+e+be+q(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return K+e+be+q(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return K+e+be+e+e}return e}var Sc=function(t,i,n,o){if(t.length>-1&&!t.return)switch(t.type){case tr:t.return=Gl(t.value,t.length);break;case Hl:return Jt([h0(t,{value:q(t.value,"@","@"+K)})],o);case er:if(t.length)return ac(t.props,function(s){switch(lc(s,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Jt([h0(t,{props:[q(s,/:(read-\w+)/,":"+$i+"$1")]})],o);case"::placeholder":return Jt([h0(t,{props:[q(s,/:(plac\w+)/,":"+K+"input-$1")]}),h0(t,{props:[q(s,/:(plac\w+)/,":"+$i+"$1")]}),h0(t,{props:[q(s,/:(plac\w+)/,be+"input-$1")]})],o)}return""})}},Ic=[Sc],jl=function(t){var i=t.key;if(i==="css"){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,function(m){var w=m.getAttribute("data-emotion");w.indexOf(" ")!==-1&&(document.head.appendChild(m),m.setAttribute("data-s",""))})}var o=t.stylisPlugins||Ic,s={},l,a=[];l=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+i+' "]'),function(m){for(var w=m.getAttribute("data-emotion").split(" "),_=1;_<w.length;_++)s[w[_]]=!0;a.push(m)});var c,d=[Mc,Zc];{var h,f=[mc,wc(function(m){h.insert(m)})],u=xc(d.concat(o,f)),g=function(w){return Jt(gc(w),u)};c=function(w,_,Z,b){h=Z,g(w?w+"{"+_.styles+"}":_.styles),b&&(v.inserted[_.name]=!0)}}var v={key:i,sheet:new tc({key:i,container:l,nonce:t.nonce,speedy:t.speedy,prepend:t.prepend,insertionPoint:t.insertionPoint}),nonce:t.nonce,inserted:s,registered:{},insert:c};return v.sheet.hydrate(a),v},Nl={exports:{}},J={};/** @license React v16.13.1
|
|
1
|
+
var U5=Object.defineProperty;var z5=(e,t,i)=>t in e?U5(e,t,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[t]=i;var G=(e,t,i)=>(z5(e,typeof t!="symbol"?t+"":t,i),i);import{j as r,r as M,R as Pi,a as p,b as Dt,F as Pt,c as Tl,g as W5,d as Jn,e as G5}from"../../../assets/js/jsx-runtime.ea866ad2.js";import{a as j5}from"../../../assets/js/twind.60e4b726.js";function N5(e,t){return function(n){return r(M.exports.Suspense,{fallback:t,children:r(e,{...n})})}}class X5 extends M.exports.Component{constructor(){super(...arguments);G(this,"state",{hasError:!1})}static getDerivedStateFromError(){return{hasError:!0}}componentDidCatch(i,n){console.error(i,n)}render(){return this.state.hasError?this.props.fallback:this.props.children}}function Y5(e,t){return function(n){return r(X5,{fallback:t,children:r(e,{...n})})}}const K5=(e="SHOPL")=>{const[t,i]=M.exports.useState(void 0);return M.exports.useEffect(()=>{e&&i(e)},[e]),M.exports.useEffect(()=>{!t||(document.documentElement.dataset.shoplflow=t==null?void 0:t.toLowerCase())},[t]),[t]},q5=()=>document.documentElement.dataset.shoplflow,Oi={initial:{opacity:0},animate:{opacity:1,transition:{duration:.1}},exit:{opacity:0,transition:{duration:.1}}};function Hi(){return Hi=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&(e[n]=i[n])}return e},Hi.apply(this,arguments)}function Vl(e){var t=Object.create(null);return function(i){return t[i]===void 0&&(t[i]=e(i)),t[i]}}var Q5=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,Pl=Vl(function(e){return Q5.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91});function J5(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}function ec(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),e.nonce!==void 0&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}var tc=function(){function e(i){var n=this;this._insertTag=function(o){var s;n.tags.length===0?n.insertionPoint?s=n.insertionPoint.nextSibling:n.prepend?s=n.container.firstChild:s=n.before:s=n.tags[n.tags.length-1].nextSibling,n.container.insertBefore(o,s),n.tags.push(o)},this.isSpeedy=i.speedy===void 0?!0:i.speedy,this.tags=[],this.ctr=0,this.nonce=i.nonce,this.key=i.key,this.container=i.container,this.prepend=i.prepend,this.insertionPoint=i.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(n){n.forEach(this._insertTag)},t.insert=function(n){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(ec(this));var o=this.tags[this.tags.length-1];if(this.isSpeedy){var s=J5(o);try{s.insertRule(n,s.cssRules.length)}catch{}}else o.appendChild(document.createTextNode(n));this.ctr++},t.flush=function(){this.tags.forEach(function(n){return n.parentNode&&n.parentNode.removeChild(n)}),this.tags=[],this.ctr=0},e}(),be="-ms-",$i="-moz-",q="-webkit-",Ol="comm",er="rule",tr="decl",ic="@import",Hl="@keyframes",nc="@layer",rc=Math.abs,m1=String.fromCharCode,oc=Object.assign;function sc(e,t){return _e(e,0)^45?(((t<<2^_e(e,0))<<2^_e(e,1))<<2^_e(e,2))<<2^_e(e,3):0}function $l(e){return e.trim()}function lc(e,t){return(e=t.exec(e))?e[0]:e}function Q(e,t,i){return e.replace(t,i)}function Sn(e,t){return e.indexOf(t)}function _e(e,t){return e.charCodeAt(t)|0}function O0(e,t,i){return e.slice(t,i)}function Ke(e){return e.length}function ir(e){return e.length}function ci(e,t){return t.push(e),e}function ac(e,t){return e.map(t).join("")}var x1=1,i0=1,Ul=0,ke=0,ue=0,l0="";function w1(e,t,i,n,o,s,l){return{value:e,root:t,parent:i,type:n,props:o,children:s,line:x1,column:i0,length:l,return:""}}function h0(e,t){return oc(w1("",null,null,"",null,null,0),e,{length:-e.length},t)}function cc(){return ue}function dc(){return ue=ke>0?_e(l0,--ke):0,i0--,ue===10&&(i0=1,x1--),ue}function Le(){return ue=ke<Ul?_e(l0,ke++):0,i0++,ue===10&&(i0=1,x1++),ue}function et(){return _e(l0,ke)}function ki(){return ke}function ei(e,t){return O0(l0,e,t)}function H0(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function zl(e){return x1=i0=1,Ul=Ke(l0=e),ke=0,[]}function Wl(e){return l0="",e}function Fi(e){return $l(ei(ke-1,In(e===91?e+2:e===40?e+1:e)))}function hc(e){for(;(ue=et())&&ue<33;)Le();return H0(e)>2||H0(ue)>3?"":" "}function fc(e,t){for(;--t&&Le()&&!(ue<48||ue>102||ue>57&&ue<65||ue>70&&ue<97););return ei(e,ki()+(t<6&&et()==32&&Le()==32))}function In(e){for(;Le();)switch(ue){case e:return ke;case 34:case 39:e!==34&&e!==39&&In(ue);break;case 40:e===41&&In(e);break;case 92:Le();break}return ke}function uc(e,t){for(;Le()&&e+ue!==47+10;)if(e+ue===42+42&&et()===47)break;return"/*"+ei(t,ke-1)+"*"+m1(e===47?e:Le())}function pc(e){for(;!H0(et());)Le();return ei(e,ke)}function gc(e){return Wl(Bi("",null,null,null,[""],e=zl(e),0,[0],e))}function Bi(e,t,i,n,o,s,l,a,c){for(var d=0,h=0,f=l,u=0,g=0,v=0,m=1,w=1,_=1,Z=0,b="",I=o,A=s,T=n,k=b;w;)switch(v=Z,Z=Le()){case 40:if(v!=108&&_e(k,f-1)==58){Sn(k+=Q(Fi(Z),"&","&\f"),"&\f")!=-1&&(_=-1);break}case 34:case 39:case 91:k+=Fi(Z);break;case 9:case 10:case 13:case 32:k+=hc(v);break;case 92:k+=fc(ki()-1,7);continue;case 47:switch(et()){case 42:case 47:ci(vc(uc(Le(),ki()),t,i),c);break;default:k+="/"}break;case 123*m:a[d++]=Ke(k)*_;case 125*m:case 59:case 0:switch(Z){case 0:case 125:w=0;case 59+h:_==-1&&(k=Q(k,/\f/g,"")),g>0&&Ke(k)-f&&ci(g>32?Qr(k+";",n,i,f-1):Qr(Q(k," ","")+";",n,i,f-2),c);break;case 59:k+=";";default:if(ci(T=qr(k,t,i,d,h,o,a,b,I=[],A=[],f),s),Z===123)if(h===0)Bi(k,t,T,T,I,s,f,a,A);else switch(u===99&&_e(k,3)===110?100:u){case 100:case 108:case 109:case 115:Bi(e,T,T,n&&ci(qr(e,T,T,0,0,o,a,b,o,I=[],f),A),o,A,f,a,n?I:A);break;default:Bi(k,T,T,T,[""],A,0,a,A)}}d=h=g=0,m=_=1,b=k="",f=l;break;case 58:f=1+Ke(k),g=v;default:if(m<1){if(Z==123)--m;else if(Z==125&&m++==0&&dc()==125)continue}switch(k+=m1(Z),Z*m){case 38:_=h>0?1:(k+="\f",-1);break;case 44:a[d++]=(Ke(k)-1)*_,_=1;break;case 64:et()===45&&(k+=Fi(Le())),u=et(),h=f=Ke(b=k+=pc(ki())),Z++;break;case 45:v===45&&Ke(k)==2&&(m=0)}}return s}function qr(e,t,i,n,o,s,l,a,c,d,h){for(var f=o-1,u=o===0?s:[""],g=ir(u),v=0,m=0,w=0;v<n;++v)for(var _=0,Z=O0(e,f+1,f=rc(m=l[v])),b=e;_<g;++_)(b=$l(m>0?u[_]+" "+Z:Q(Z,/&\f/g,u[_])))&&(c[w++]=b);return w1(e,t,i,o===0?er:a,c,d,h)}function vc(e,t,i){return w1(e,t,i,Ol,m1(cc()),O0(e,2,-2),0)}function Qr(e,t,i,n){return w1(e,t,i,tr,O0(e,0,n),O0(e,n+1,-1),n)}function Jt(e,t){for(var i="",n=ir(e),o=0;o<n;o++)i+=t(e[o],o,e,t)||"";return i}function mc(e,t,i,n){switch(e.type){case nc:if(e.children.length)break;case ic:case tr:return e.return=e.return||e.value;case Ol:return"";case Hl:return e.return=e.value+"{"+Jt(e.children,n)+"}";case er:e.value=e.props.join(",")}return Ke(i=Jt(e.children,n))?e.return=e.value+"{"+i+"}":""}function xc(e){var t=ir(e);return function(i,n,o,s){for(var l="",a=0;a<t;a++)l+=e[a](i,n,o,s)||"";return l}}function wc(e){return function(t){t.root||(t=t.return)&&e(t)}}var yc=function(t,i,n){for(var o=0,s=0;o=s,s=et(),o===38&&s===12&&(i[n]=1),!H0(s);)Le();return ei(t,ke)},_c=function(t,i){var n=-1,o=44;do switch(H0(o)){case 0:o===38&&et()===12&&(i[n]=1),t[n]+=yc(ke-1,i,n);break;case 2:t[n]+=Fi(o);break;case 4:if(o===44){t[++n]=et()===58?"&\f":"",i[n]=t[n].length;break}default:t[n]+=m1(o)}while(o=Le());return t},bc=function(t,i){return Wl(_c(zl(t),i))},Jr=new WeakMap,Mc=function(t){if(!(t.type!=="rule"||!t.parent||t.length<1)){for(var i=t.value,n=t.parent,o=t.column===n.column&&t.line===n.line;n.type!=="rule";)if(n=n.parent,!n)return;if(!(t.props.length===1&&i.charCodeAt(0)!==58&&!Jr.get(n))&&!o){Jr.set(t,!0);for(var s=[],l=bc(i,s),a=n.props,c=0,d=0;c<l.length;c++)for(var h=0;h<a.length;h++,d++)t.props[d]=s[c]?l[c].replace(/&\f/g,a[h]):a[h]+" "+l[c]}}},Zc=function(t){if(t.type==="decl"){var i=t.value;i.charCodeAt(0)===108&&i.charCodeAt(2)===98&&(t.return="",t.value="")}};function Gl(e,t){switch(sc(e,t)){case 5103:return q+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return q+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return q+e+$i+e+be+e+e;case 6828:case 4268:return q+e+be+e+e;case 6165:return q+e+be+"flex-"+e+e;case 5187:return q+e+Q(e,/(\w+).+(:[^]+)/,q+"box-$1$2"+be+"flex-$1$2")+e;case 5443:return q+e+be+"flex-item-"+Q(e,/flex-|-self/,"")+e;case 4675:return q+e+be+"flex-line-pack"+Q(e,/align-content|flex-|-self/,"")+e;case 5548:return q+e+be+Q(e,"shrink","negative")+e;case 5292:return q+e+be+Q(e,"basis","preferred-size")+e;case 6060:return q+"box-"+Q(e,"-grow","")+q+e+be+Q(e,"grow","positive")+e;case 4554:return q+Q(e,/([^-])(transform)/g,"$1"+q+"$2")+e;case 6187:return Q(Q(Q(e,/(zoom-|grab)/,q+"$1"),/(image-set)/,q+"$1"),e,"")+e;case 5495:case 3959:return Q(e,/(image-set\([^]*)/,q+"$1$`$1");case 4968:return Q(Q(e,/(.+:)(flex-)?(.*)/,q+"box-pack:$3"+be+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+q+e+e;case 4095:case 3583:case 4068:case 2532:return Q(e,/(.+)-inline(.+)/,q+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(Ke(e)-1-t>6)switch(_e(e,t+1)){case 109:if(_e(e,t+4)!==45)break;case 102:return Q(e,/(.+:)(.+)-([^]+)/,"$1"+q+"$2-$3$1"+$i+(_e(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~Sn(e,"stretch")?Gl(Q(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(_e(e,t+1)!==115)break;case 6444:switch(_e(e,Ke(e)-3-(~Sn(e,"!important")&&10))){case 107:return Q(e,":",":"+q)+e;case 101:return Q(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+q+(_e(e,14)===45?"inline-":"")+"box$3$1"+q+"$2$3$1"+be+"$2box$3")+e}break;case 5936:switch(_e(e,t+11)){case 114:return q+e+be+Q(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return q+e+be+Q(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return q+e+be+Q(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return q+e+be+e+e}return e}var Sc=function(t,i,n,o){if(t.length>-1&&!t.return)switch(t.type){case tr:t.return=Gl(t.value,t.length);break;case Hl:return Jt([h0(t,{value:Q(t.value,"@","@"+q)})],o);case er:if(t.length)return ac(t.props,function(s){switch(lc(s,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Jt([h0(t,{props:[Q(s,/:(read-\w+)/,":"+$i+"$1")]})],o);case"::placeholder":return Jt([h0(t,{props:[Q(s,/:(plac\w+)/,":"+q+"input-$1")]}),h0(t,{props:[Q(s,/:(plac\w+)/,":"+$i+"$1")]}),h0(t,{props:[Q(s,/:(plac\w+)/,be+"input-$1")]})],o)}return""})}},Ic=[Sc],jl=function(t){var i=t.key;if(i==="css"){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,function(m){var w=m.getAttribute("data-emotion");w.indexOf(" ")!==-1&&(document.head.appendChild(m),m.setAttribute("data-s",""))})}var o=t.stylisPlugins||Ic,s={},l,a=[];l=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+i+' "]'),function(m){for(var w=m.getAttribute("data-emotion").split(" "),_=1;_<w.length;_++)s[w[_]]=!0;a.push(m)});var c,d=[Mc,Zc];{var h,f=[mc,wc(function(m){h.insert(m)})],u=xc(d.concat(o,f)),g=function(w){return Jt(gc(w),u)};c=function(w,_,Z,b){h=Z,g(w?w+"{"+_.styles+"}":_.styles),b&&(v.inserted[_.name]=!0)}}var v={key:i,sheet:new tc({key:i,container:l,nonce:t.nonce,speedy:t.speedy,prepend:t.prepend,insertionPoint:t.insertionPoint}),nonce:t.nonce,inserted:s,registered:{},insert:c};return v.sheet.hydrate(a),v},Nl={exports:{}},te={};/** @license React v16.13.1
|
|
2
2
|
* react-is.production.min.js
|
|
3
3
|
*
|
|
4
4
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
5
5
|
*
|
|
6
6
|
* This source code is licensed under the MIT license found in the
|
|
7
7
|
* LICENSE file in the root directory of this source tree.
|
|
8
|
-
*/var ye=typeof Symbol=="function"&&Symbol.for,nr=ye?Symbol.for("react.element"):60103,rr=ye?Symbol.for("react.portal"):60106,y1=ye?Symbol.for("react.fragment"):60107,_1=ye?Symbol.for("react.strict_mode"):60108,b1=ye?Symbol.for("react.profiler"):60114,M1=ye?Symbol.for("react.provider"):60109,Z1=ye?Symbol.for("react.context"):60110,or=ye?Symbol.for("react.async_mode"):60111,S1=ye?Symbol.for("react.concurrent_mode"):60111,I1=ye?Symbol.for("react.forward_ref"):60112,C1=ye?Symbol.for("react.suspense"):60113,Cc=ye?Symbol.for("react.suspense_list"):60120,A1=ye?Symbol.for("react.memo"):60115,R1=ye?Symbol.for("react.lazy"):60116,Ac=ye?Symbol.for("react.block"):60121,Rc=ye?Symbol.for("react.fundamental"):60117,kc=ye?Symbol.for("react.responder"):60118,Fc=ye?Symbol.for("react.scope"):60119;function Te(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case nr:switch(e=e.type,e){case or:case S1:case y1:case b1:case _1:case C1:return e;default:switch(e=e&&e.$$typeof,e){case Z1:case I1:case R1:case A1:case M1:return e;default:return t}}case rr:return t}}}function Xl(e){return Te(e)===S1}J.AsyncMode=or;J.ConcurrentMode=S1;J.ContextConsumer=Z1;J.ContextProvider=M1;J.Element=nr;J.ForwardRef=I1;J.Fragment=y1;J.Lazy=R1;J.Memo=A1;J.Portal=rr;J.Profiler=b1;J.StrictMode=_1;J.Suspense=C1;J.isAsyncMode=function(e){return Xl(e)||Te(e)===or};J.isConcurrentMode=Xl;J.isContextConsumer=function(e){return Te(e)===Z1};J.isContextProvider=function(e){return Te(e)===M1};J.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===nr};J.isForwardRef=function(e){return Te(e)===I1};J.isFragment=function(e){return Te(e)===y1};J.isLazy=function(e){return Te(e)===R1};J.isMemo=function(e){return Te(e)===A1};J.isPortal=function(e){return Te(e)===rr};J.isProfiler=function(e){return Te(e)===b1};J.isStrictMode=function(e){return Te(e)===_1};J.isSuspense=function(e){return Te(e)===C1};J.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===y1||e===S1||e===b1||e===_1||e===C1||e===Cc||typeof e=="object"&&e!==null&&(e.$$typeof===R1||e.$$typeof===A1||e.$$typeof===M1||e.$$typeof===Z1||e.$$typeof===I1||e.$$typeof===Rc||e.$$typeof===kc||e.$$typeof===Fc||e.$$typeof===Ac)};J.typeOf=Te;(function(e){e.exports=J})(Nl);var Yl=Nl.exports,Bc={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},Ec={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},Kl={};Kl[Yl.ForwardRef]=Bc;Kl[Yl.Memo]=Ec;var Lc=!0;function ql(e,t,i){var n="";return i.split(" ").forEach(function(o){e[o]!==void 0?t.push(e[o]+";"):n+=o+" "}),n}var sr=function(t,i,n){var o=t.key+"-"+i.name;(n===!1||Lc===!1)&&t.registered[o]===void 0&&(t.registered[o]=i.styles)},Ql=function(t,i,n){sr(t,i,n);var o=t.key+"-"+i.name;if(t.inserted[i.name]===void 0){var s=i;do t.insert(i===s?"."+o:"",s,t.sheet,!0),s=s.next;while(s!==void 0)}};function Dc(e){for(var t=0,i,n=0,o=e.length;o>=4;++n,o-=4)i=e.charCodeAt(n)&255|(e.charCodeAt(++n)&255)<<8|(e.charCodeAt(++n)&255)<<16|(e.charCodeAt(++n)&255)<<24,i=(i&65535)*1540483477+((i>>>16)*59797<<16),i^=i>>>24,t=(i&65535)*1540483477+((i>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(o){case 3:t^=(e.charCodeAt(n+2)&255)<<16;case 2:t^=(e.charCodeAt(n+1)&255)<<8;case 1:t^=e.charCodeAt(n)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var Tc={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},Vc=/[A-Z]|^ms/g,Pc=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Jl=function(t){return t.charCodeAt(1)===45},eo=function(t){return t!=null&&typeof t!="boolean"},Y1=Vl(function(e){return Jl(e)?e:e.replace(Vc,"-$&").toLowerCase()}),to=function(t,i){switch(t){case"animation":case"animationName":if(typeof i=="string")return i.replace(Pc,function(n,o,s){return qe={name:o,styles:s,next:qe},o})}return Tc[t]!==1&&!Jl(t)&&typeof i=="number"&&i!==0?i+"px":i};function $0(e,t,i){if(i==null)return"";if(i.__emotion_styles!==void 0)return i;switch(typeof i){case"boolean":return"";case"object":{if(i.anim===1)return qe={name:i.name,styles:i.styles,next:qe},i.name;if(i.styles!==void 0){var n=i.next;if(n!==void 0)for(;n!==void 0;)qe={name:n.name,styles:n.styles,next:qe},n=n.next;var o=i.styles+";";return o}return Oc(e,t,i)}case"function":{if(e!==void 0){var s=qe,l=i(e);return qe=s,$0(e,t,l)}break}}if(t==null)return i;var a=t[i];return a!==void 0?a:i}function Oc(e,t,i){var n="";if(Array.isArray(i))for(var o=0;o<i.length;o++)n+=$0(e,t,i[o])+";";else for(var s in i){var l=i[s];if(typeof l!="object")t!=null&&t[l]!==void 0?n+=s+"{"+t[l]+"}":eo(l)&&(n+=Y1(s)+":"+to(s,l)+";");else if(Array.isArray(l)&&typeof l[0]=="string"&&(t==null||t[l[0]]===void 0))for(var a=0;a<l.length;a++)eo(l[a])&&(n+=Y1(s)+":"+to(s,l[a])+";");else{var c=$0(e,t,l);switch(s){case"animation":case"animationName":{n+=Y1(s)+":"+c+";";break}default:n+=s+"{"+c+"}"}}}return n}var io=/label:\s*([^\s;\n{]+)\s*(;|$)/g,qe,lr=function(t,i,n){if(t.length===1&&typeof t[0]=="object"&&t[0]!==null&&t[0].styles!==void 0)return t[0];var o=!0,s="";qe=void 0;var l=t[0];l==null||l.raw===void 0?(o=!1,s+=$0(n,i,l)):s+=l[0];for(var a=1;a<t.length;a++)s+=$0(n,i,t[a]),o&&(s+=l[a]);io.lastIndex=0;for(var c="",d;(d=io.exec(s))!==null;)c+="-"+d[1];var h=Dc(s)+c;return{name:h,styles:s,next:qe}},Hc=function(t){return t()},$c=Pi["useInsertionEffect"]?Pi["useInsertionEffect"]:!1,ea=$c||Hc,ta=M.exports.createContext(typeof HTMLElement<"u"?jl({key:"css"}):null);ta.Provider;var Uc=function(t){return M.exports.forwardRef(function(i,n){var o=M.exports.useContext(ta);return t(i,o,n)})},zc=M.exports.createContext({});function R(){for(var e=arguments.length,t=new Array(e),i=0;i<e;i++)t[i]=arguments[i];return lr(t)}var Wc=Pl,Gc=function(t){return t!=="theme"},no=function(t){return typeof t=="string"&&t.charCodeAt(0)>96?Wc:Gc},ro=function(t,i,n){var o;if(i){var s=i.shouldForwardProp;o=t.__emotion_forwardProp&&s?function(l){return t.__emotion_forwardProp(l)&&s(l)}:s}return typeof o!="function"&&n&&(o=t.__emotion_forwardProp),o},jc=function(t){var i=t.cache,n=t.serialized,o=t.isStringTag;return sr(i,n,o),ea(function(){return Ql(i,n,o)}),null},Nc=function e(t,i){var n=t.__emotion_real===t,o=n&&t.__emotion_base||t,s,l;i!==void 0&&(s=i.label,l=i.target);var a=ro(t,i,n),c=a||no(o),d=!c("as");return function(){var h=arguments,f=n&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(s!==void 0&&f.push("label:"+s+";"),h[0]==null||h[0].raw===void 0)f.push.apply(f,h);else{f.push(h[0][0]);for(var u=h.length,g=1;g<u;g++)f.push(h[g],h[0][g])}var v=Uc(function(m,w,_){var Z=d&&m.as||o,b="",I=[],A=m;if(m.theme==null){A={};for(var D in m)A[D]=m[D];A.theme=M.exports.useContext(zc)}typeof m.className=="string"?b=ql(w.registered,I,m.className):m.className!=null&&(b=m.className+" ");var k=lr(f.concat(I),w.registered,A);b+=w.key+"-"+k.name,l!==void 0&&(b+=" "+l);var L=d&&a===void 0?no(Z):c,O={};for(var U in m)d&&U==="as"||L(U)&&(O[U]=m[U]);return O.className=b,O.ref=_,M.exports.createElement(M.exports.Fragment,null,M.exports.createElement(jc,{cache:w,serialized:k,isStringTag:typeof Z=="string"}),M.exports.createElement(Z,O))});return v.displayName=s!==void 0?s:"Styled("+(typeof o=="string"?o:o.displayName||o.name||"Component")+")",v.defaultProps=t.defaultProps,v.__emotion_real=v,v.__emotion_base=o,v.__emotion_styles=f,v.__emotion_forwardProp=a,Object.defineProperty(v,"toString",{value:function(){return"."+l}}),v.withComponent=function(m,w){return e(m,Hi({},i,w,{shouldForwardProp:ro(v,w,!0)})).apply(void 0,f)},v}},Xc=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"],V=Nc.bind();Xc.forEach(function(e){V[e]=V(e)});const ia=M.exports.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"}),k1=M.exports.createContext({}),F1=M.exports.createContext(null),B1=typeof document<"u",Ui=B1?M.exports.useLayoutEffect:M.exports.useEffect,ar=M.exports.createContext({strict:!1});function Yc(e,t,i,n){const{visualElement:o}=M.exports.useContext(k1),s=M.exports.useContext(ar),l=M.exports.useContext(F1),a=M.exports.useContext(ia).reducedMotion,c=M.exports.useRef();n=n||s.renderer,!c.current&&n&&(c.current=n(e,{visualState:t,parent:o,props:i,presenceContext:l,blockInitialAnimation:l?l.initial===!1:!1,reducedMotionConfig:a}));const d=c.current;return M.exports.useInsertionEffect(()=>{d&&d.update(i,l)}),Ui(()=>{d&&d.render()}),M.exports.useEffect(()=>{d&&d.updateFeatures()}),(window.HandoffAppearAnimations?Ui:M.exports.useEffect)(()=>{d&&d.animationState&&d.animationState.animateChanges()}),d}function Yt(e){return typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function Kc(e,t,i){return M.exports.useCallback(n=>{n&&e.mount&&e.mount(n),t&&(n?t.mount(n):t.unmount()),i&&(typeof i=="function"?i(n):Yt(i)&&(i.current=n))},[t])}function U0(e){return typeof e=="string"||Array.isArray(e)}function E1(e){return typeof e=="object"&&typeof e.start=="function"}const cr=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],dr=["initial",...cr];function L1(e){return E1(e.animate)||dr.some(t=>U0(e[t]))}function na(e){return Boolean(L1(e)||e.variants)}function qc(e,t){if(L1(e)){const{initial:i,animate:n}=e;return{initial:i===!1||U0(i)?i:void 0,animate:U0(n)?n:void 0}}return e.inherit!==!1?t:{}}function Qc(e){const{initial:t,animate:i}=qc(e,M.exports.useContext(k1));return M.exports.useMemo(()=>({initial:t,animate:i}),[oo(t),oo(i)])}function oo(e){return Array.isArray(e)?e.join(" "):e}const so={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},z0={};for(const e in so)z0[e]={isEnabled:t=>so[e].some(i=>!!t[i])};function Cn(e){for(const t in e)z0[t]={...z0[t],...e[t]}}function hr(e){const t=M.exports.useRef(null);return t.current===null&&(t.current=e()),t.current}const A0={hasAnimatedSinceResize:!0,hasEverUpdated:!1};let Jc=1;function e3(){return hr(()=>{if(A0.hasEverUpdated)return Jc++})}const fr=M.exports.createContext({}),ra=M.exports.createContext({}),t3=Symbol.for("motionComponentSymbol");function i3({preloadedFeatures:e,createVisualElement:t,useRender:i,useVisualState:n,Component:o}){e&&Cn(e);function s(a,c){let d;const h={...M.exports.useContext(ia),...a,layoutId:n3(a)},{isStatic:f}=h,u=Qc(a),g=f?void 0:e3(),v=n(a,f);if(!f&&B1){u.visualElement=Yc(o,v,h,t);const m=M.exports.useContext(ra),w=M.exports.useContext(ar).strict;u.visualElement&&(d=u.visualElement.loadFeatures(h,w,e,g,m))}return p(k1.Provider,{value:u,children:[d&&u.visualElement?r(d,{visualElement:u.visualElement,...h}):null,i(o,a,g,Kc(v,u.visualElement,c),v,f,u.visualElement)]})}const l=M.exports.forwardRef(s);return l[t3]=o,l}function n3({layoutId:e}){const t=M.exports.useContext(fr).id;return t&&e!==void 0?t+"-"+e:e}function r3(e){function t(n,o={}){return i3(e(n,o))}if(typeof Proxy>"u")return t;const i=new Map;return new Proxy(t,{get:(n,o)=>(i.has(o)||i.set(o,t(o)),i.get(o))})}const o3=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function ur(e){return typeof e!="string"||e.includes("-")?!1:!!(o3.indexOf(e)>-1||/[A-Z]/.test(e))}const zi={};function s3(e){Object.assign(zi,e)}const ti=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],$t=new Set(ti);function oa(e,{layout:t,layoutId:i}){return $t.has(e)||e.startsWith("origin")||(t||i!==void 0)&&(!!zi[e]||e==="opacity")}const ke=e=>Boolean(e&&e.getVelocity),l3={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},a3=ti.length;function c3(e,{enableHardwareAcceleration:t=!0,allowTransformNone:i=!0},n,o){let s="";for(let l=0;l<a3;l++){const a=ti[l];if(e[a]!==void 0){const c=l3[a]||a;s+=`${c}(${e[a]}) `}}return t&&!e.z&&(s+="translateZ(0)"),s=s.trim(),o?s=o(e,n?"":s):i&&n&&(s="none"),s}const sa=e=>t=>typeof t=="string"&&t.startsWith(e),la=sa("--"),An=sa("var(--"),d3=/var\s*\(\s*--[\w-]+(\s*,\s*(?:(?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)+)?\s*\)/g,h3=(e,t)=>t&&typeof e=="number"?t.transform(e):e,Ot=(e,t,i)=>Math.min(Math.max(i,e),t),Ut={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},R0={...Ut,transform:e=>Ot(0,1,e)},di={...Ut,default:1},k0=e=>Math.round(e*1e5)/1e5,D1=/(-)?([\d]*\.?[\d])+/g,aa=/(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))/gi,f3=/^(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))$/i;function ii(e){return typeof e=="string"}const ni=e=>({test:t=>ii(t)&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),pt=ni("deg"),tt=ni("%"),G=ni("px"),u3=ni("vh"),p3=ni("vw"),lo={...tt,parse:e=>tt.parse(e)/100,transform:e=>tt.transform(e*100)},ao={...Ut,transform:Math.round},ca={borderWidth:G,borderTopWidth:G,borderRightWidth:G,borderBottomWidth:G,borderLeftWidth:G,borderRadius:G,radius:G,borderTopLeftRadius:G,borderTopRightRadius:G,borderBottomRightRadius:G,borderBottomLeftRadius:G,width:G,maxWidth:G,height:G,maxHeight:G,size:G,top:G,right:G,bottom:G,left:G,padding:G,paddingTop:G,paddingRight:G,paddingBottom:G,paddingLeft:G,margin:G,marginTop:G,marginRight:G,marginBottom:G,marginLeft:G,rotate:pt,rotateX:pt,rotateY:pt,rotateZ:pt,scale:di,scaleX:di,scaleY:di,scaleZ:di,skew:pt,skewX:pt,skewY:pt,distance:G,translateX:G,translateY:G,translateZ:G,x:G,y:G,z:G,perspective:G,transformPerspective:G,opacity:R0,originX:lo,originY:lo,originZ:G,zIndex:ao,fillOpacity:R0,strokeOpacity:R0,numOctaves:ao};function pr(e,t,i,n){const{style:o,vars:s,transform:l,transformOrigin:a}=e;let c=!1,d=!1,h=!0;for(const f in t){const u=t[f];if(la(f)){s[f]=u;continue}const g=ca[f],v=h3(u,g);if($t.has(f)){if(c=!0,l[f]=v,!h)continue;u!==(g.default||0)&&(h=!1)}else f.startsWith("origin")?(d=!0,a[f]=v):o[f]=v}if(t.transform||(c||n?o.transform=c3(e.transform,i,h,n):o.transform&&(o.transform="none")),d){const{originX:f="50%",originY:u="50%",originZ:g=0}=a;o.transformOrigin=`${f} ${u} ${g}`}}const gr=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function da(e,t,i){for(const n in t)!ke(t[n])&&!oa(n,i)&&(e[n]=t[n])}function g3({transformTemplate:e},t,i){return M.exports.useMemo(()=>{const n=gr();return pr(n,t,{enableHardwareAcceleration:!i},e),Object.assign({},n.vars,n.style)},[t])}function v3(e,t,i){const n=e.style||{},o={};return da(o,n,e),Object.assign(o,g3(e,t,i)),e.transformValues?e.transformValues(o):o}function m3(e,t,i){const n={},o=v3(e,t,i);return e.drag&&e.dragListener!==!1&&(n.draggable=!1,o.userSelect=o.WebkitUserSelect=o.WebkitTouchCallout="none",o.touchAction=e.drag===!0?"none":`pan-${e.drag==="x"?"y":"x"}`),e.tabIndex===void 0&&(e.onTap||e.onTapStart||e.whileTap)&&(n.tabIndex=0),n.style=o,n}const x3=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","transformValues","custom","inherit","onLayoutAnimationStart","onLayoutAnimationComplete","onLayoutMeasure","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","ignoreStrict","viewport"]);function Wi(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||x3.has(e)}let ha=e=>!Wi(e);function w3(e){!e||(ha=t=>t.startsWith("on")?!Wi(t):e(t))}try{w3(require("@emotion/is-prop-valid").default)}catch{}function y3(e,t,i){const n={};for(const o in e)o==="values"&&typeof e.values=="object"||(ha(o)||i===!0&&Wi(o)||!t&&!Wi(o)||e.draggable&&o.startsWith("onDrag"))&&(n[o]=e[o]);return n}function co(e,t,i){return typeof e=="string"?e:G.transform(t+i*e)}function _3(e,t,i){const n=co(t,e.x,e.width),o=co(i,e.y,e.height);return`${n} ${o}`}const b3={offset:"stroke-dashoffset",array:"stroke-dasharray"},M3={offset:"strokeDashoffset",array:"strokeDasharray"};function Z3(e,t,i=1,n=0,o=!0){e.pathLength=1;const s=o?b3:M3;e[s.offset]=G.transform(-n);const l=G.transform(t),a=G.transform(i);e[s.array]=`${l} ${a}`}function vr(e,{attrX:t,attrY:i,attrScale:n,originX:o,originY:s,pathLength:l,pathSpacing:a=1,pathOffset:c=0,...d},h,f,u){if(pr(e,d,h,u),f){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};const{attrs:g,style:v,dimensions:m}=e;g.transform&&(m&&(v.transform=g.transform),delete g.transform),m&&(o!==void 0||s!==void 0||v.transform)&&(v.transformOrigin=_3(m,o!==void 0?o:.5,s!==void 0?s:.5)),t!==void 0&&(g.x=t),i!==void 0&&(g.y=i),n!==void 0&&(g.scale=n),l!==void 0&&Z3(g,l,a,c,!1)}const fa=()=>({...gr(),attrs:{}}),mr=e=>typeof e=="string"&&e.toLowerCase()==="svg";function S3(e,t,i,n){const o=M.exports.useMemo(()=>{const s=fa();return vr(s,t,{enableHardwareAcceleration:!1},mr(n),e.transformTemplate),{...s.attrs,style:{...s.style}}},[t]);if(e.style){const s={};da(s,e.style,e),o.style={...s,...o.style}}return o}function I3(e=!1){return(i,n,o,s,{latestValues:l},a)=>{const d=(ur(i)?S3:m3)(n,l,a,i),f={...y3(n,typeof i=="string",e),...d,ref:s},{children:u}=n,g=M.exports.useMemo(()=>ke(u)?u.get():u,[u]);return o&&(f["data-projection-id"]=o),M.exports.createElement(i,{...f,children:g})}}const xr=e=>e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase();function ua(e,{style:t,vars:i},n,o){Object.assign(e.style,t,o&&o.getProjectionStyles(n));for(const s in i)e.style.setProperty(s,i[s])}const pa=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]);function ga(e,t,i,n){ua(e,t,void 0,n);for(const o in t.attrs)e.setAttribute(pa.has(o)?o:xr(o),t.attrs[o])}function wr(e,t){const{style:i}=e,n={};for(const o in i)(ke(i[o])||t.style&&ke(t.style[o])||oa(o,e))&&(n[o]=i[o]);return n}function va(e,t){const i=wr(e,t);for(const n in e)if(ke(e[n])||ke(t[n])){const o=ti.indexOf(n)!==-1?"attr"+n.charAt(0).toUpperCase()+n.substring(1):n;i[o]=e[n]}return i}function yr(e,t,i,n={},o={}){return typeof t=="function"&&(t=t(i!==void 0?i:e.custom,n,o)),typeof t=="string"&&(t=e.variants&&e.variants[t]),typeof t=="function"&&(t=t(i!==void 0?i:e.custom,n,o)),t}const Gi=e=>Array.isArray(e),C3=e=>Boolean(e&&typeof e=="object"&&e.mix&&e.toValue),A3=e=>Gi(e)?e[e.length-1]||0:e;function Ei(e){const t=ke(e)?e.get():e;return C3(t)?t.toValue():t}function R3({scrapeMotionValuesFromProps:e,createRenderState:t,onMount:i},n,o,s){const l={latestValues:k3(n,o,s,e),renderState:t()};return i&&(l.mount=a=>i(n,a,l)),l}const ma=e=>(t,i)=>{const n=M.exports.useContext(k1),o=M.exports.useContext(F1),s=()=>R3(e,t,n,o);return i?s():hr(s)};function k3(e,t,i,n){const o={},s=n(e,{});for(const u in s)o[u]=Ei(s[u]);let{initial:l,animate:a}=e;const c=L1(e),d=na(e);t&&d&&!c&&e.inherit!==!1&&(l===void 0&&(l=t.initial),a===void 0&&(a=t.animate));let h=i?i.initial===!1:!1;h=h||l===!1;const f=h?a:l;return f&&typeof f!="boolean"&&!E1(f)&&(Array.isArray(f)?f:[f]).forEach(g=>{const v=yr(e,g);if(!v)return;const{transitionEnd:m,transition:w,..._}=v;for(const Z in _){let b=_[Z];if(Array.isArray(b)){const I=h?b.length-1:0;b=b[I]}b!==null&&(o[Z]=b)}for(const Z in m)o[Z]=m[Z]}),o}const F3={useVisualState:ma({scrapeMotionValuesFromProps:va,createRenderState:fa,onMount:(e,t,{renderState:i,latestValues:n})=>{try{i.dimensions=typeof t.getBBox=="function"?t.getBBox():t.getBoundingClientRect()}catch{i.dimensions={x:0,y:0,width:0,height:0}}vr(i,n,{enableHardwareAcceleration:!1},mr(t.tagName),e.transformTemplate),ga(t,i)}})},B3={useVisualState:ma({scrapeMotionValuesFromProps:wr,createRenderState:gr})};function E3(e,{forwardMotionProps:t=!1},i,n){return{...ur(e)?F3:B3,preloadedFeatures:i,useRender:I3(t),createVisualElement:n,Component:e}}function at(e,t,i,n={passive:!0}){return e.addEventListener(t,i,n),()=>e.removeEventListener(t,i)}const xa=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1;function T1(e,t="page"){return{point:{x:e[t+"X"],y:e[t+"Y"]}}}const L3=e=>t=>xa(t)&&e(t,T1(t));function ct(e,t,i,n){return at(e,t,L3(i),n)}const D3=(e,t)=>i=>t(e(i)),xt=(...e)=>e.reduce(D3);function wa(e){let t=null;return()=>{const i=()=>{t=null};return t===null?(t=e,i):!1}}const ho=wa("dragHorizontal"),fo=wa("dragVertical");function ya(e){let t=!1;if(e==="y")t=fo();else if(e==="x")t=ho();else{const i=ho(),n=fo();i&&n?t=()=>{i(),n()}:(i&&i(),n&&n())}return t}function _a(){const e=ya(!0);return e?(e(),!1):!0}class St{constructor(t){this.isMounted=!1,this.node=t}update(){}}function T3(e){let t=[],i=[],n=0,o=!1,s=!1;const l=new WeakSet,a={schedule:(c,d=!1,h=!1)=>{const f=h&&o,u=f?t:i;return d&&l.add(c),u.indexOf(c)===-1&&(u.push(c),f&&o&&(n=t.length)),c},cancel:c=>{const d=i.indexOf(c);d!==-1&&i.splice(d,1),l.delete(c)},process:c=>{if(o){s=!0;return}if(o=!0,[t,i]=[i,t],i.length=0,n=t.length,n)for(let d=0;d<n;d++){const h=t[d];h(c),l.has(h)&&(a.schedule(h),e())}o=!1,s&&(s=!1,a.process(c))}};return a}const me={delta:0,timestamp:0,isProcessing:!1},V3=40;let Rn=!0,W0=!1;const V1=["read","update","preRender","render","postRender"],e0=V1.reduce((e,t)=>(e[t]=T3(()=>W0=!0),e),{}),P3=e=>e0[e].process(me),ba=e=>{W0=!1,me.delta=Rn?1e3/60:Math.max(Math.min(e-me.timestamp,V3),1),me.timestamp=e,me.isProcessing=!0,V1.forEach(P3),me.isProcessing=!1,W0&&(Rn=!1,requestAnimationFrame(ba))},O3=()=>{W0=!0,Rn=!0,me.isProcessing||requestAnimationFrame(ba)},ne=V1.reduce((e,t)=>{const i=e0[t];return e[t]=(n,o=!1,s=!1)=>(W0||O3(),i.schedule(n,o,s)),e},{});function ft(e){V1.forEach(t=>e0[t].cancel(e))}function uo(e,t){const i="pointer"+(t?"enter":"leave"),n="onHover"+(t?"Start":"End"),o=(s,l)=>{if(s.type==="touch"||_a())return;const a=e.getProps();e.animationState&&a.whileHover&&e.animationState.setActive("whileHover",t),a[n]&&ne.update(()=>a[n](s,l))};return ct(e.current,i,o,{passive:!e.getProps()[n]})}class H3 extends St{mount(){this.unmount=xt(uo(this.node,!0),uo(this.node,!1))}unmount(){}}class $3 extends St{constructor(){super(...arguments),this.isActive=!1}onFocus(){let t=!1;try{t=this.node.current.matches(":focus-visible")}catch{t=!0}!t||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){!this.isActive||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=xt(at(this.node.current,"focus",()=>this.onFocus()),at(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}const Ma=(e,t)=>t?e===t?!0:Ma(e,t.parentElement):!1,ve=e=>e;function K1(e,t){if(!t)return;const i=new PointerEvent("pointer"+e);t(i,T1(i))}class U3 extends St{constructor(){super(...arguments),this.removeStartListeners=ve,this.removeEndListeners=ve,this.removeAccessibleListeners=ve,this.startPointerPress=(t,i)=>{if(this.removeEndListeners(),this.isPressing)return;const n=this.node.getProps(),s=ct(window,"pointerup",(a,c)=>{if(!this.checkPressEnd())return;const{onTap:d,onTapCancel:h}=this.node.getProps();ne.update(()=>{Ma(this.node.current,a.target)?d&&d(a,c):h&&h(a,c)})},{passive:!(n.onTap||n.onPointerUp)}),l=ct(window,"pointercancel",(a,c)=>this.cancelPress(a,c),{passive:!(n.onTapCancel||n.onPointerCancel)});this.removeEndListeners=xt(s,l),this.startPress(t,i)},this.startAccessiblePress=()=>{const t=s=>{if(s.key!=="Enter"||this.isPressing)return;const l=a=>{a.key!=="Enter"||!this.checkPressEnd()||K1("up",(c,d)=>{const{onTap:h}=this.node.getProps();h&&ne.update(()=>h(c,d))})};this.removeEndListeners(),this.removeEndListeners=at(this.node.current,"keyup",l),K1("down",(a,c)=>{this.startPress(a,c)})},i=at(this.node.current,"keydown",t),n=()=>{!this.isPressing||K1("cancel",(s,l)=>this.cancelPress(s,l))},o=at(this.node.current,"blur",n);this.removeAccessibleListeners=xt(i,o)}}startPress(t,i){this.isPressing=!0;const{onTapStart:n,whileTap:o}=this.node.getProps();o&&this.node.animationState&&this.node.animationState.setActive("whileTap",!0),n&&ne.update(()=>n(t,i))}checkPressEnd(){return this.removeEndListeners(),this.isPressing=!1,this.node.getProps().whileTap&&this.node.animationState&&this.node.animationState.setActive("whileTap",!1),!_a()}cancelPress(t,i){if(!this.checkPressEnd())return;const{onTapCancel:n}=this.node.getProps();n&&ne.update(()=>n(t,i))}mount(){const t=this.node.getProps(),i=ct(this.node.current,"pointerdown",this.startPointerPress,{passive:!(t.onTapStart||t.onPointerStart)}),n=at(this.node.current,"focus",this.startAccessiblePress);this.removeStartListeners=xt(i,n)}unmount(){this.removeStartListeners(),this.removeEndListeners(),this.removeAccessibleListeners()}}const kn=new WeakMap,q1=new WeakMap,z3=e=>{const t=kn.get(e.target);t&&t(e)},W3=e=>{e.forEach(z3)};function G3({root:e,...t}){const i=e||document;q1.has(i)||q1.set(i,{});const n=q1.get(i),o=JSON.stringify(t);return n[o]||(n[o]=new IntersectionObserver(W3,{root:e,...t})),n[o]}function j3(e,t,i){const n=G3(t);return kn.set(e,i),n.observe(e),()=>{kn.delete(e),n.unobserve(e)}}const N3={some:0,all:1};class X3 extends St{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:t={}}=this.node.getProps(),{root:i,margin:n,amount:o="some",once:s}=t,l={root:i?i.current:void 0,rootMargin:n,threshold:typeof o=="number"?o:N3[o]},a=c=>{const{isIntersecting:d}=c;if(this.isInView===d||(this.isInView=d,s&&!d&&this.hasEnteredView))return;d&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",d);const{onViewportEnter:h,onViewportLeave:f}=this.node.getProps(),u=d?h:f;u&&u(c)};return j3(this.node.current,l,a)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:t,prevProps:i}=this.node;["amount","margin","root"].some(Y3(t,i))&&this.startObserver()}unmount(){}}function Y3({viewport:e={}},{viewport:t={}}={}){return i=>e[i]!==t[i]}const Za={inView:{Feature:X3},tap:{Feature:U3},focus:{Feature:$3},hover:{Feature:H3}};function Sa(e,t){if(!Array.isArray(t))return!1;const i=t.length;if(i!==e.length)return!1;for(let n=0;n<i;n++)if(t[n]!==e[n])return!1;return!0}function K3(e){const t={};return e.values.forEach((i,n)=>t[n]=i.get()),t}function q3(e){const t={};return e.values.forEach((i,n)=>t[n]=i.getVelocity()),t}function P1(e,t,i){const n=e.getProps();return yr(n,t,i!==void 0?i:n.custom,K3(e),q3(e))}const Q3="framerAppearId",J3="data-"+xr(Q3);let _r=ve,O1=ve;const wt=e=>e*1e3,dt=e=>e/1e3,ed={current:!1},Ia=e=>Array.isArray(e)&&typeof e[0]=="number";function Ca(e){return Boolean(!e||typeof e=="string"&&Aa[e]||Ia(e)||Array.isArray(e)&&e.every(Ca))}const _0=([e,t,i,n])=>`cubic-bezier(${e}, ${t}, ${i}, ${n})`,Aa={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:_0([0,.65,.55,1]),circOut:_0([.55,0,1,.45]),backIn:_0([.31,.01,.66,-.59]),backOut:_0([.33,1.53,.69,.99])};function Ra(e){if(!!e)return Ia(e)?_0(e):Array.isArray(e)?e.map(Ra):Aa[e]}function td(e,t,i,{delay:n=0,duration:o,repeat:s=0,repeatType:l="loop",ease:a,times:c}={}){const d={[t]:i};c&&(d.offset=c);const h=Ra(a);return Array.isArray(h)&&(d.easing=h),e.animate(d,{delay:n,duration:o,easing:Array.isArray(h)?"linear":h,fill:"both",iterations:s+1,direction:l==="reverse"?"alternate":"normal"})}const po={waapi:()=>Object.hasOwnProperty.call(Element.prototype,"animate")},Q1={},ka={};for(const e in po)ka[e]=()=>(Q1[e]===void 0&&(Q1[e]=po[e]()),Q1[e]);function id(e,{repeat:t,repeatType:i="loop"}){const n=t&&i!=="loop"&&t%2===1?0:e.length-1;return e[n]}const Fa=(e,t,i)=>(((1-3*i+3*t)*e+(3*i-6*t))*e+3*t)*e,nd=1e-7,rd=12;function od(e,t,i,n,o){let s,l,a=0;do l=t+(i-t)/2,s=Fa(l,n,o)-e,s>0?i=l:t=l;while(Math.abs(s)>nd&&++a<rd);return l}function ri(e,t,i,n){if(e===t&&i===n)return ve;const o=s=>od(s,0,1,e,i);return s=>s===0||s===1?s:Fa(o(s),t,n)}const sd=ri(.42,0,1,1),ld=ri(0,0,.58,1),Ba=ri(.42,0,.58,1),ad=e=>Array.isArray(e)&&typeof e[0]!="number",Ea=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,La=e=>t=>1-e(1-t),Da=e=>1-Math.sin(Math.acos(e)),br=La(Da),cd=Ea(br),Ta=ri(.33,1.53,.69,.99),Mr=La(Ta),dd=Ea(Mr),hd=e=>(e*=2)<1?.5*Mr(e):.5*(2-Math.pow(2,-10*(e-1))),fd={linear:ve,easeIn:sd,easeInOut:Ba,easeOut:ld,circIn:Da,circInOut:cd,circOut:br,backIn:Mr,backInOut:dd,backOut:Ta,anticipate:hd},go=e=>{if(Array.isArray(e)){O1(e.length===4);const[t,i,n,o]=e;return ri(t,i,n,o)}else if(typeof e=="string")return fd[e];return e},Zr=(e,t)=>i=>Boolean(ii(i)&&f3.test(i)&&i.startsWith(e)||t&&Object.prototype.hasOwnProperty.call(i,t)),Va=(e,t,i)=>n=>{if(!ii(n))return n;const[o,s,l,a]=n.match(D1);return{[e]:parseFloat(o),[t]:parseFloat(s),[i]:parseFloat(l),alpha:a!==void 0?parseFloat(a):1}},ud=e=>Ot(0,255,e),J1={...Ut,transform:e=>Math.round(ud(e))},Tt={test:Zr("rgb","red"),parse:Va("red","green","blue"),transform:({red:e,green:t,blue:i,alpha:n=1})=>"rgba("+J1.transform(e)+", "+J1.transform(t)+", "+J1.transform(i)+", "+k0(R0.transform(n))+")"};function pd(e){let t="",i="",n="",o="";return e.length>5?(t=e.substring(1,3),i=e.substring(3,5),n=e.substring(5,7),o=e.substring(7,9)):(t=e.substring(1,2),i=e.substring(2,3),n=e.substring(3,4),o=e.substring(4,5),t+=t,i+=i,n+=n,o+=o),{red:parseInt(t,16),green:parseInt(i,16),blue:parseInt(n,16),alpha:o?parseInt(o,16)/255:1}}const Fn={test:Zr("#"),parse:pd,transform:Tt.transform},Kt={test:Zr("hsl","hue"),parse:Va("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:i,alpha:n=1})=>"hsla("+Math.round(e)+", "+tt.transform(k0(t))+", "+tt.transform(k0(i))+", "+k0(R0.transform(n))+")"},Ze={test:e=>Tt.test(e)||Fn.test(e)||Kt.test(e),parse:e=>Tt.test(e)?Tt.parse(e):Kt.test(e)?Kt.parse(e):Fn.parse(e),transform:e=>ii(e)?e:e.hasOwnProperty("red")?Tt.transform(e):Kt.transform(e)},re=(e,t,i)=>-i*e+i*t+e;function en(e,t,i){return i<0&&(i+=1),i>1&&(i-=1),i<1/6?e+(t-e)*6*i:i<1/2?t:i<2/3?e+(t-e)*(2/3-i)*6:e}function gd({hue:e,saturation:t,lightness:i,alpha:n}){e/=360,t/=100,i/=100;let o=0,s=0,l=0;if(!t)o=s=l=i;else{const a=i<.5?i*(1+t):i+t-i*t,c=2*i-a;o=en(c,a,e+1/3),s=en(c,a,e),l=en(c,a,e-1/3)}return{red:Math.round(o*255),green:Math.round(s*255),blue:Math.round(l*255),alpha:n}}const tn=(e,t,i)=>{const n=e*e;return Math.sqrt(Math.max(0,i*(t*t-n)+n))},vd=[Fn,Tt,Kt],md=e=>vd.find(t=>t.test(e));function vo(e){const t=md(e);let i=t.parse(e);return t===Kt&&(i=gd(i)),i}const Pa=(e,t)=>{const i=vo(e),n=vo(t),o={...i};return s=>(o.red=tn(i.red,n.red,s),o.green=tn(i.green,n.green,s),o.blue=tn(i.blue,n.blue,s),o.alpha=re(i.alpha,n.alpha,s),Tt.transform(o))};function xd(e){var t,i;return isNaN(e)&&ii(e)&&(((t=e.match(D1))===null||t===void 0?void 0:t.length)||0)+(((i=e.match(aa))===null||i===void 0?void 0:i.length)||0)>0}const Oa={regex:d3,countKey:"Vars",token:"${v}",parse:ve},Ha={regex:aa,countKey:"Colors",token:"${c}",parse:Ze.parse},$a={regex:D1,countKey:"Numbers",token:"${n}",parse:Ut.parse};function nn(e,{regex:t,countKey:i,token:n,parse:o}){const s=e.tokenised.match(t);!s||(e["num"+i]=s.length,e.tokenised=e.tokenised.replace(t,n),e.values.push(...s.map(o)))}function ji(e){const t=e.toString(),i={value:t,tokenised:t,values:[],numVars:0,numColors:0,numNumbers:0};return i.value.includes("var(--")&&nn(i,Oa),nn(i,Ha),nn(i,$a),i}function Ua(e){return ji(e).values}function za(e){const{values:t,numColors:i,numVars:n,tokenised:o}=ji(e),s=t.length;return l=>{let a=o;for(let c=0;c<s;c++)c<n?a=a.replace(Oa.token,l[c]):c<n+i?a=a.replace(Ha.token,Ze.transform(l[c])):a=a.replace($a.token,k0(l[c]));return a}}const wd=e=>typeof e=="number"?0:e;function yd(e){const t=Ua(e);return za(e)(t.map(wd))}const _t={test:xd,parse:Ua,createTransformer:za,getAnimatableNone:yd},Wa=(e,t)=>i=>`${i>0?t:e}`;function Ga(e,t){return typeof e=="number"?i=>re(e,t,i):Ze.test(e)?Pa(e,t):e.startsWith("var(")?Wa(e,t):Na(e,t)}const ja=(e,t)=>{const i=[...e],n=i.length,o=e.map((s,l)=>Ga(s,t[l]));return s=>{for(let l=0;l<n;l++)i[l]=o[l](s);return i}},_d=(e,t)=>{const i={...e,...t},n={};for(const o in i)e[o]!==void 0&&t[o]!==void 0&&(n[o]=Ga(e[o],t[o]));return o=>{for(const s in n)i[s]=n[s](o);return i}},Na=(e,t)=>{const i=_t.createTransformer(t),n=ji(e),o=ji(t);return n.numVars===o.numVars&&n.numColors===o.numColors&&n.numNumbers>=o.numNumbers?xt(ja(n.values,o.values),i):(_r(!0),Wa(e,t))},G0=(e,t,i)=>{const n=t-e;return n===0?1:(i-e)/n},mo=(e,t)=>i=>re(e,t,i);function bd(e){return typeof e=="number"?mo:typeof e=="string"?Ze.test(e)?Pa:Na:Array.isArray(e)?ja:typeof e=="object"?_d:mo}function Md(e,t,i){const n=[],o=i||bd(e[0]),s=e.length-1;for(let l=0;l<s;l++){let a=o(e[l],e[l+1]);if(t){const c=Array.isArray(t)?t[l]||ve:t;a=xt(c,a)}n.push(a)}return n}function Xa(e,t,{clamp:i=!0,ease:n,mixer:o}={}){const s=e.length;if(O1(s===t.length),s===1)return()=>t[0];e[0]>e[s-1]&&(e=[...e].reverse(),t=[...t].reverse());const l=Md(t,n,o),a=l.length,c=d=>{let h=0;if(a>1)for(;h<e.length-2&&!(d<e[h+1]);h++);const f=G0(e[h],e[h+1],d);return l[h](f)};return i?d=>c(Ot(e[0],e[s-1],d)):c}function Zd(e,t){const i=e[e.length-1];for(let n=1;n<=t;n++){const o=G0(0,t,n);e.push(re(i,1,o))}}function Sd(e){const t=[0];return Zd(t,e.length-1),t}function Id(e,t){return e.map(i=>i*t)}function Cd(e,t){return e.map(()=>t||Ba).splice(0,e.length-1)}function Ni({duration:e=300,keyframes:t,times:i,ease:n="easeInOut"}){const o=ad(n)?n.map(go):go(n),s={done:!1,value:t[0]},l=Id(i&&i.length===t.length?i:Sd(t),e),a=Xa(l,t,{ease:Array.isArray(o)?o:Cd(t,o)});return{calculatedDuration:e,next:c=>(s.value=a(c),s.done=c>=e,s)}}function Ya(e,t){return t?e*(1e3/t):0}const Ad=5;function Ka(e,t,i){const n=Math.max(t-Ad,0);return Ya(i-e(n),t-n)}const rn=.001,Rd=.01,xo=10,kd=.05,Fd=1;function Bd({duration:e=800,bounce:t=.25,velocity:i=0,mass:n=1}){let o,s;_r(e<=wt(xo));let l=1-t;l=Ot(kd,Fd,l),e=Ot(Rd,xo,dt(e)),l<1?(o=d=>{const h=d*l,f=h*e,u=h-i,g=Bn(d,l),v=Math.exp(-f);return rn-u/g*v},s=d=>{const f=d*l*e,u=f*i+i,g=Math.pow(l,2)*Math.pow(d,2)*e,v=Math.exp(-f),m=Bn(Math.pow(d,2),l);return(-o(d)+rn>0?-1:1)*((u-g)*v)/m}):(o=d=>{const h=Math.exp(-d*e),f=(d-i)*e+1;return-rn+h*f},s=d=>{const h=Math.exp(-d*e),f=(i-d)*(e*e);return h*f});const a=5/e,c=Ld(o,s,a);if(e=wt(e),isNaN(c))return{stiffness:100,damping:10,duration:e};{const d=Math.pow(c,2)*n;return{stiffness:d,damping:l*2*Math.sqrt(n*d),duration:e}}}const Ed=12;function Ld(e,t,i){let n=i;for(let o=1;o<Ed;o++)n=n-e(n)/t(n);return n}function Bn(e,t){return e*Math.sqrt(1-t*t)}const Dd=["duration","bounce"],Td=["stiffness","damping","mass"];function wo(e,t){return t.some(i=>e[i]!==void 0)}function Vd(e){let t={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...e};if(!wo(e,Td)&&wo(e,Dd)){const i=Bd(e);t={...t,...i,velocity:0,mass:1},t.isResolvedFromDuration=!0}return t}function qa({keyframes:e,restDelta:t,restSpeed:i,...n}){const o=e[0],s=e[e.length-1],l={done:!1,value:o},{stiffness:a,damping:c,mass:d,velocity:h,duration:f,isResolvedFromDuration:u}=Vd(n),g=h?-dt(h):0,v=c/(2*Math.sqrt(a*d)),m=s-o,w=dt(Math.sqrt(a/d)),_=Math.abs(m)<5;i||(i=_?.01:2),t||(t=_?.005:.5);let Z;if(v<1){const b=Bn(w,v);Z=I=>{const A=Math.exp(-v*w*I);return s-A*((g+v*w*m)/b*Math.sin(b*I)+m*Math.cos(b*I))}}else if(v===1)Z=b=>s-Math.exp(-w*b)*(m+(g+w*m)*b);else{const b=w*Math.sqrt(v*v-1);Z=I=>{const A=Math.exp(-v*w*I),D=Math.min(b*I,300);return s-A*((g+v*w*m)*Math.sinh(D)+b*m*Math.cosh(D))/b}}return{calculatedDuration:u&&f||null,next:b=>{const I=Z(b);if(u)l.done=b>=f;else{let A=g;b!==0&&(v<1?A=Ka(Z,b,I):A=0);const D=Math.abs(A)<=i,k=Math.abs(s-I)<=t;l.done=D&&k}return l.value=l.done?s:I,l}}}function yo({keyframes:e,velocity:t=0,power:i=.8,timeConstant:n=325,bounceDamping:o=10,bounceStiffness:s=500,modifyTarget:l,min:a,max:c,restDelta:d=.5,restSpeed:h}){const f=e[0],u={done:!1,value:f},g=L=>a!==void 0&&L<a||c!==void 0&&L>c,v=L=>a===void 0?c:c===void 0||Math.abs(a-L)<Math.abs(c-L)?a:c;let m=i*t;const w=f+m,_=l===void 0?w:l(w);_!==w&&(m=_-f);const Z=L=>-m*Math.exp(-L/n),b=L=>_+Z(L),I=L=>{const O=Z(L),U=b(L);u.done=Math.abs(O)<=d,u.value=u.done?_:U};let A,D;const k=L=>{!g(u.value)||(A=L,D=qa({keyframes:[u.value,v(u.value)],velocity:Ka(b,L,u.value),damping:o,stiffness:s,restDelta:d,restSpeed:h}))};return k(0),{calculatedDuration:null,next:L=>{let O=!1;return!D&&A===void 0&&(O=!0,I(L),k(L)),A!==void 0&&L>A?D.next(L-A):(!O&&I(L),u)}}}const Pd=e=>{const t=({timestamp:i})=>e(i);return{start:()=>ne.update(t,!0),stop:()=>ft(t),now:()=>me.isProcessing?me.timestamp:performance.now()}},_o=2e4;function bo(e){let t=0;const i=50;let n=e.next(t);for(;!n.done&&t<_o;)t+=i,n=e.next(t);return t>=_o?1/0:t}const Od={decay:yo,inertia:yo,tween:Ni,keyframes:Ni,spring:qa};function Xi({autoplay:e=!0,delay:t=0,driver:i=Pd,keyframes:n,type:o="keyframes",repeat:s=0,repeatDelay:l=0,repeatType:a="loop",onPlay:c,onStop:d,onComplete:h,onUpdate:f,...u}){let g=1,v=!1,m,w;const _=()=>{m&&m(),w=new Promise(z=>{m=z})};_();let Z;const b=Od[o]||Ni;let I;b!==Ni&&typeof n[0]!="number"&&(I=Xa([0,100],n,{clamp:!1}),n=[0,100]);const A=b({...u,keyframes:n});let D;a==="mirror"&&(D=b({...u,keyframes:[...n].reverse(),velocity:-(u.velocity||0)}));let k="idle",L=null,O=null,U=null;A.calculatedDuration===null&&s&&(A.calculatedDuration=bo(A));const{calculatedDuration:N}=A;let H=1/0,P=1/0;N!==null&&(H=N+l,P=H*(s+1)-l);let E=0;const S=z=>{if(O===null)return;g>0&&(O=Math.min(O,z)),L!==null?E=L:E=(z-O)*g;const W=E-t,ie=W<0;E=Math.max(W,0),k==="finished"&&L===null&&(E=P);let te=E,ge=A;if(s){const Pe=E/H;let ut=Math.floor(Pe),Oe=Pe%1;!Oe&&Pe>=1&&(Oe=1),Oe===1&&ut--,ut=Math.min(ut,s+1);const Gt=Boolean(ut%2);Gt&&(a==="reverse"?(Oe=1-Oe,l&&(Oe-=l/H)):a==="mirror"&&(ge=D));let nt=Ot(0,1,Oe);E>P&&(nt=a==="reverse"&&Gt?1:0),te=nt*H}const ee=ie?{done:!1,value:n[0]}:ge.next(te);I&&(ee.value=I(ee.value));let{done:Me}=ee;!ie&&N!==null&&(Me=E>=P);const Ge=L===null&&(k==="finished"||k==="running"&&Me||g<0&&E<=0);return f&&f(ee.value),Ge&&$(),ee},F=()=>{Z&&Z.stop(),Z=void 0},T=()=>{k="idle",F(),_(),O=U=null},$=()=>{k="finished",h&&h(),F(),_()},C=()=>{if(v)return;Z||(Z=i(S));const z=Z.now();c&&c(),L!==null?O=z-L:(!O||k==="finished")&&(O=z),U=O,L=null,k="running",Z.start()};e&&C();const X={then(z,W){return w.then(z,W)},get time(){return dt(E)},set time(z){z=wt(z),E=z,L!==null||!Z||g===0?L=z:O=Z.now()-z/g},get duration(){const z=A.calculatedDuration===null?bo(A):A.calculatedDuration;return dt(z)},get speed(){return g},set speed(z){z===g||!Z||(g=z,X.time=dt(E))},get state(){return k},play:C,pause:()=>{k="paused",L=E},stop:()=>{v=!0,k!=="idle"&&(k="idle",d&&d(),T())},cancel:()=>{U!==null&&S(U),T()},complete:()=>{k="finished"},sample:z=>(O=0,S(z))};return X}const Hd=new Set(["opacity","clipPath","filter","transform","backgroundColor"]),hi=10,$d=2e4,Ud=(e,t)=>t.type==="spring"||e==="backgroundColor"||!Ca(t.ease);function zd(e,t,{onUpdate:i,onComplete:n,...o}){if(!(ka.waapi()&&Hd.has(t)&&!o.repeatDelay&&o.repeatType!=="mirror"&&o.damping!==0&&o.type!=="inertia"))return!1;let l=!1,a,c;const d=()=>{c=new Promise(_=>{a=_})};d();let{keyframes:h,duration:f=300,ease:u,times:g}=o;if(Ud(t,o)){const _=Xi({...o,repeat:0,delay:0});let Z={done:!1,value:h[0]};const b=[];let I=0;for(;!Z.done&&I<$d;)Z=_.sample(I),b.push(Z.value),I+=hi;g=void 0,h=b,f=I-hi,u="linear"}const v=td(e.owner.current,t,h,{...o,duration:f,ease:u,times:g}),m=()=>v.cancel(),w=()=>{ne.update(m),a(),d()};return v.onfinish=()=>{e.set(id(h,o)),n&&n(),w()},{then(_,Z){return c.then(_,Z)},get time(){return dt(v.currentTime||0)},set time(_){v.currentTime=wt(_)},get speed(){return v.playbackRate},set speed(_){v.playbackRate=_},get duration(){return dt(f)},play:()=>{l||(v.play(),ft(m))},pause:()=>v.pause(),stop:()=>{if(l=!0,v.playState==="idle")return;const{currentTime:_}=v;if(_){const Z=Xi({...o,autoplay:!1});e.setWithVelocity(Z.sample(_-hi).value,Z.sample(_).value,hi)}w()},complete:()=>v.finish(),cancel:w}}function Wd({keyframes:e,delay:t,onUpdate:i,onComplete:n}){const o=()=>(i&&i(e[e.length-1]),n&&n(),{time:0,speed:1,duration:0,play:ve,pause:ve,stop:ve,then:s=>(s(),Promise.resolve()),cancel:ve,complete:ve});return t?Xi({keyframes:[0,1],duration:0,delay:t,onComplete:o}):o()}const Gd={type:"spring",stiffness:500,damping:25,restSpeed:10},jd=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),Nd={type:"keyframes",duration:.8},Xd={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},Yd=(e,{keyframes:t})=>t.length>2?Nd:$t.has(e)?e.startsWith("scale")?jd(t[1]):Gd:Xd,En=(e,t)=>e==="zIndex"?!1:!!(typeof t=="number"||Array.isArray(t)||typeof t=="string"&&_t.test(t)&&!t.startsWith("url(")),Kd=new Set(["brightness","contrast","saturate","opacity"]);function qd(e){const[t,i]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[n]=i.match(D1)||[];if(!n)return e;const o=i.replace(n,"");let s=Kd.has(t)?1:0;return n!==i&&(s*=100),t+"("+s+o+")"}const Qd=/([a-z-]*)\(.*?\)/g,Ln={..._t,getAnimatableNone:e=>{const t=e.match(Qd);return t?t.map(qd).join(" "):e}},Jd={...ca,color:Ze,backgroundColor:Ze,outlineColor:Ze,fill:Ze,stroke:Ze,borderColor:Ze,borderTopColor:Ze,borderRightColor:Ze,borderBottomColor:Ze,borderLeftColor:Ze,filter:Ln,WebkitFilter:Ln},Sr=e=>Jd[e];function Ir(e,t){let i=Sr(e);return i!==Ln&&(i=_t),i.getAnimatableNone?i.getAnimatableNone(t):void 0}function eh({when:e,delay:t,delayChildren:i,staggerChildren:n,staggerDirection:o,repeat:s,repeatType:l,repeatDelay:a,from:c,elapsed:d,...h}){return!!Object.keys(h).length}function Mo(e){return e===0||typeof e=="string"&&parseFloat(e)===0&&e.indexOf(" ")===-1}function Zo(e){return typeof e=="number"?0:Ir("",e)}function Qa(e,t){return e[t]||e.default||e}function th(e,[...t]){for(let i=0;i<t.length;i++)t[i]===null&&(t[i]=i===0?e:t[i-1]);return t}function ih(e,t,i,n){const o=En(t,i);let s=n.from!==void 0?n.from:e.get();return s==="none"&&o&&typeof i=="string"?s=Ir(t,i):Mo(s)&&typeof i=="string"?s=Zo(i):!Array.isArray(i)&&Mo(i)&&typeof s=="string"&&(i=Zo(s)),Array.isArray(i)?th(s,i):[s,i]}const Cr=(e,t,i,n={})=>o=>{const s=Qa(n,e)||{},l=s.delay||n.delay||0;let{elapsed:a=0}=n;a=a-wt(l);const c=ih(t,e,i,s),d=c[0],h=c[c.length-1],f=En(e,d),u=En(e,h);_r(f===u);let g={keyframes:c,velocity:t.getVelocity(),ease:"easeOut",...s,delay:-a,onUpdate:v=>{t.set(v),s.onUpdate&&s.onUpdate(v)},onComplete:()=>{o(),s.onComplete&&s.onComplete()}};if(eh(s)||(g={...g,...Yd(e,g)}),g.duration&&(g.duration=wt(g.duration)),g.repeatDelay&&(g.repeatDelay=wt(g.repeatDelay)),!f||!u||ed.current||s.type===!1)return Wd(g);if(t.owner&&t.owner.current instanceof HTMLElement&&!t.owner.getProps().onUpdate){const v=zd(t,e,g);if(v)return v}return Xi(g)};function Yi(e){return Boolean(ke(e)&&e.add)}const nh=e=>/^\-?\d*\.?\d+$/.test(e),rh=e=>/^0[^.\s]+$/.test(e);function Ar(e,t){e.indexOf(t)===-1&&e.push(t)}function Rr(e,t){const i=e.indexOf(t);i>-1&&e.splice(i,1)}class kr{constructor(){this.subscriptions=[]}add(t){return Ar(this.subscriptions,t),()=>Rr(this.subscriptions,t)}notify(t,i,n){const o=this.subscriptions.length;if(!!o)if(o===1)this.subscriptions[0](t,i,n);else for(let s=0;s<o;s++){const l=this.subscriptions[s];l&&l(t,i,n)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const oh=e=>!isNaN(parseFloat(e));class sh{constructor(t,i={}){this.version="10.12.6",this.timeDelta=0,this.lastUpdated=0,this.canTrackVelocity=!1,this.events={},this.updateAndNotify=(n,o=!0)=>{this.prev=this.current,this.current=n;const{delta:s,timestamp:l}=me;this.lastUpdated!==l&&(this.timeDelta=s,this.lastUpdated=l,ne.postRender(this.scheduleVelocityCheck)),this.prev!==this.current&&this.events.change&&this.events.change.notify(this.current),this.events.velocityChange&&this.events.velocityChange.notify(this.getVelocity()),o&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.scheduleVelocityCheck=()=>ne.postRender(this.velocityCheck),this.velocityCheck=({timestamp:n})=>{n!==this.lastUpdated&&(this.prev=this.current,this.events.velocityChange&&this.events.velocityChange.notify(this.getVelocity()))},this.hasAnimated=!1,this.prev=this.current=t,this.canTrackVelocity=oh(this.current),this.owner=i.owner}onChange(t){return this.on("change",t)}on(t,i){this.events[t]||(this.events[t]=new kr);const n=this.events[t].add(i);return t==="change"?()=>{n(),ne.read(()=>{this.events.change.getSize()||this.stop()})}:n}clearListeners(){for(const t in this.events)this.events[t].clear()}attach(t,i){this.passiveEffect=t,this.stopPassiveEffect=i}set(t,i=!0){!i||!this.passiveEffect?this.updateAndNotify(t,i):this.passiveEffect(t,this.updateAndNotify)}setWithVelocity(t,i,n){this.set(i),this.prev=t,this.timeDelta=n}jump(t){this.updateAndNotify(t),this.prev=t,this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return this.current}getPrevious(){return this.prev}getVelocity(){return this.canTrackVelocity?Ya(parseFloat(this.current)-parseFloat(this.prev),this.timeDelta):0}start(t){return this.stop(),new Promise(i=>{this.hasAnimated=!0,this.animation=t(i),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function n0(e,t){return new sh(e,t)}const Ja=e=>t=>t.test(e),lh={test:e=>e==="auto",parse:e=>e},e2=[Ut,G,tt,pt,p3,u3,lh],f0=e=>e2.find(Ja(e)),ah=[...e2,Ze,_t],ch=e=>ah.find(Ja(e));function dh(e,t,i){e.hasValue(t)?e.getValue(t).set(i):e.addValue(t,n0(i))}function hh(e,t){const i=P1(e,t);let{transitionEnd:n={},transition:o={},...s}=i?e.makeTargetAnimatable(i,!1):{};s={...s,...n};for(const l in s){const a=A3(s[l]);dh(e,l,a)}}function fh(e,t,i){var n,o;const s=Object.keys(t).filter(a=>!e.hasValue(a)),l=s.length;if(!!l)for(let a=0;a<l;a++){const c=s[a],d=t[c];let h=null;Array.isArray(d)&&(h=d[0]),h===null&&(h=(o=(n=i[c])!==null&&n!==void 0?n:e.readValue(c))!==null&&o!==void 0?o:t[c]),h!=null&&(typeof h=="string"&&(nh(h)||rh(h))?h=parseFloat(h):!ch(h)&&_t.test(d)&&(h=Ir(c,d)),e.addValue(c,n0(h,{owner:e})),i[c]===void 0&&(i[c]=h),h!==null&&e.setBaseTarget(c,h))}}function uh(e,t){return t?(t[e]||t.default||t).from:void 0}function ph(e,t,i){const n={};for(const o in e){const s=uh(o,t);if(s!==void 0)n[o]=s;else{const l=i.getValue(o);l&&(n[o]=l.get())}}return n}function gh({protectedKeys:e,needsAnimating:t},i){const n=e.hasOwnProperty(i)&&t[i]!==!0;return t[i]=!1,n}function t2(e,t,{delay:i=0,transitionOverride:n,type:o}={}){let{transition:s=e.getDefaultTransition(),transitionEnd:l,...a}=e.makeTargetAnimatable(t);const c=e.getValue("willChange");n&&(s=n);const d=[],h=o&&e.animationState&&e.animationState.getState()[o];for(const f in a){const u=e.getValue(f),g=a[f];if(!u||g===void 0||h&&gh(h,f))continue;const v={delay:i,elapsed:0,...s};if(window.HandoffAppearAnimations&&!u.hasAnimated){const w=e.getProps()[J3];w&&(v.elapsed=window.HandoffAppearAnimations(w,f,u,ne))}u.start(Cr(f,u,g,e.shouldReduceMotion&&$t.has(f)?{type:!1}:v));const m=u.animation;Yi(c)&&(c.add(f),m.then(()=>c.remove(f))),d.push(m)}return l&&Promise.all(d).then(()=>{l&&hh(e,l)}),d}function Dn(e,t,i={}){const n=P1(e,t,i.custom);let{transition:o=e.getDefaultTransition()||{}}=n||{};i.transitionOverride&&(o=i.transitionOverride);const s=n?()=>Promise.all(t2(e,n,i)):()=>Promise.resolve(),l=e.variantChildren&&e.variantChildren.size?(c=0)=>{const{delayChildren:d=0,staggerChildren:h,staggerDirection:f}=o;return vh(e,t,d+c,h,f,i)}:()=>Promise.resolve(),{when:a}=o;if(a){const[c,d]=a==="beforeChildren"?[s,l]:[l,s];return c().then(()=>d())}else return Promise.all([s(),l(i.delay)])}function vh(e,t,i=0,n=0,o=1,s){const l=[],a=(e.variantChildren.size-1)*n,c=o===1?(d=0)=>d*n:(d=0)=>a-d*n;return Array.from(e.variantChildren).sort(mh).forEach((d,h)=>{d.notify("AnimationStart",t),l.push(Dn(d,t,{...s,delay:i+c(h)}).then(()=>d.notify("AnimationComplete",t)))}),Promise.all(l)}function mh(e,t){return e.sortNodePosition(t)}function xh(e,t,i={}){e.notify("AnimationStart",t);let n;if(Array.isArray(t)){const o=t.map(s=>Dn(e,s,i));n=Promise.all(o)}else if(typeof t=="string")n=Dn(e,t,i);else{const o=typeof t=="function"?P1(e,t,i.custom):t;n=Promise.all(t2(e,o,i))}return n.then(()=>e.notify("AnimationComplete",t))}const wh=[...cr].reverse(),yh=cr.length;function _h(e){return t=>Promise.all(t.map(({animation:i,options:n})=>xh(e,i,n)))}function bh(e){let t=_h(e);const i=Zh();let n=!0;const o=(c,d)=>{const h=P1(e,d);if(h){const{transition:f,transitionEnd:u,...g}=h;c={...c,...g,...u}}return c};function s(c){t=c(e)}function l(c,d){const h=e.getProps(),f=e.getVariantContext(!0)||{},u=[],g=new Set;let v={},m=1/0;for(let _=0;_<yh;_++){const Z=wh[_],b=i[Z],I=h[Z]!==void 0?h[Z]:f[Z],A=U0(I),D=Z===d?b.isActive:null;D===!1&&(m=_);let k=I===f[Z]&&I!==h[Z]&&A;if(k&&n&&e.manuallyAnimateOnMount&&(k=!1),b.protectedKeys={...v},!b.isActive&&D===null||!I&&!b.prevProp||E1(I)||typeof I=="boolean")continue;const L=Mh(b.prevProp,I);let O=L||Z===d&&b.isActive&&!k&&A||_>m&&A;const U=Array.isArray(I)?I:[I];let N=U.reduce(o,{});D===!1&&(N={});const{prevResolvedValues:H={}}=b,P={...H,...N},E=S=>{O=!0,g.delete(S),b.needsAnimating[S]=!0};for(const S in P){const F=N[S],T=H[S];v.hasOwnProperty(S)||(F!==T?Gi(F)&&Gi(T)?!Sa(F,T)||L?E(S):b.protectedKeys[S]=!0:F!==void 0?E(S):g.add(S):F!==void 0&&g.has(S)?E(S):b.protectedKeys[S]=!0)}b.prevProp=I,b.prevResolvedValues=N,b.isActive&&(v={...v,...N}),n&&e.blockInitialAnimation&&(O=!1),O&&!k&&u.push(...U.map(S=>({animation:S,options:{type:Z,...c}})))}if(g.size){const _={};g.forEach(Z=>{const b=e.getBaseTarget(Z);b!==void 0&&(_[Z]=b)}),u.push({animation:_})}let w=Boolean(u.length);return n&&h.initial===!1&&!e.manuallyAnimateOnMount&&(w=!1),n=!1,w?t(u):Promise.resolve()}function a(c,d,h){var f;if(i[c].isActive===d)return Promise.resolve();(f=e.variantChildren)===null||f===void 0||f.forEach(g=>{var v;return(v=g.animationState)===null||v===void 0?void 0:v.setActive(c,d)}),i[c].isActive=d;const u=l(h,c);for(const g in i)i[g].protectedKeys={};return u}return{animateChanges:l,setActive:a,setAnimateFunction:s,getState:()=>i}}function Mh(e,t){return typeof t=="string"?t!==e:Array.isArray(t)?!Sa(t,e):!1}function It(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function Zh(){return{animate:It(!0),whileInView:It(),whileHover:It(),whileTap:It(),whileDrag:It(),whileFocus:It(),exit:It()}}class Sh extends St{constructor(t){super(t),t.animationState||(t.animationState=bh(t))}updateAnimationControlsSubscription(){const{animate:t}=this.node.getProps();this.unmount(),E1(t)&&(this.unmount=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:t}=this.node.getProps(),{animate:i}=this.node.prevProps||{};t!==i&&this.updateAnimationControlsSubscription()}unmount(){}}let Ih=0;class Ch extends St{constructor(){super(...arguments),this.id=Ih++}update(){if(!this.node.presenceContext)return;const{isPresent:t,onExitComplete:i,custom:n}=this.node.presenceContext,{isPresent:o}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===o)return;const s=this.node.animationState.setActive("exit",!t,{custom:n!=null?n:this.node.getProps().custom});i&&!t&&s.then(()=>i(this.id))}mount(){const{register:t}=this.node.presenceContext||{};t&&(this.unmount=t(this.id))}unmount(){}}const i2={animation:{Feature:Sh},exit:{Feature:Ch}},So=(e,t)=>Math.abs(e-t);function Ah(e,t){const i=So(e.x,t.x),n=So(e.y,t.y);return Math.sqrt(i**2+n**2)}class n2{constructor(t,i,{transformPagePoint:n}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const d=sn(this.lastMoveEventInfo,this.history),h=this.startEvent!==null,f=Ah(d.offset,{x:0,y:0})>=3;if(!h&&!f)return;const{point:u}=d,{timestamp:g}=me;this.history.push({...u,timestamp:g});const{onStart:v,onMove:m}=this.handlers;h||(v&&v(this.lastMoveEvent,d),this.startEvent=this.lastMoveEvent),m&&m(this.lastMoveEvent,d)},this.handlePointerMove=(d,h)=>{this.lastMoveEvent=d,this.lastMoveEventInfo=on(h,this.transformPagePoint),ne.update(this.updatePoint,!0)},this.handlePointerUp=(d,h)=>{if(this.end(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const{onEnd:f,onSessionEnd:u}=this.handlers,g=sn(d.type==="pointercancel"?this.lastMoveEventInfo:on(h,this.transformPagePoint),this.history);this.startEvent&&f&&f(d,g),u&&u(d,g)},!xa(t))return;this.handlers=i,this.transformPagePoint=n;const o=T1(t),s=on(o,this.transformPagePoint),{point:l}=s,{timestamp:a}=me;this.history=[{...l,timestamp:a}];const{onSessionStart:c}=i;c&&c(t,sn(s,this.history)),this.removeListeners=xt(ct(window,"pointermove",this.handlePointerMove),ct(window,"pointerup",this.handlePointerUp),ct(window,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),ft(this.updatePoint)}}function on(e,t){return t?{point:t(e.point)}:e}function Io(e,t){return{x:e.x-t.x,y:e.y-t.y}}function sn({point:e},t){return{point:e,delta:Io(e,r2(t)),offset:Io(e,Rh(t)),velocity:kh(t,.1)}}function Rh(e){return e[0]}function r2(e){return e[e.length-1]}function kh(e,t){if(e.length<2)return{x:0,y:0};let i=e.length-1,n=null;const o=r2(e);for(;i>=0&&(n=e[i],!(o.timestamp-n.timestamp>wt(t)));)i--;if(!n)return{x:0,y:0};const s=dt(o.timestamp-n.timestamp);if(s===0)return{x:0,y:0};const l={x:(o.x-n.x)/s,y:(o.y-n.y)/s};return l.x===1/0&&(l.x=0),l.y===1/0&&(l.y=0),l}function Le(e){return e.max-e.min}function Tn(e,t=0,i=.01){return Math.abs(e-t)<=i}function Co(e,t,i,n=.5){e.origin=n,e.originPoint=re(t.min,t.max,e.origin),e.scale=Le(i)/Le(t),(Tn(e.scale,1,1e-4)||isNaN(e.scale))&&(e.scale=1),e.translate=re(i.min,i.max,e.origin)-e.originPoint,(Tn(e.translate)||isNaN(e.translate))&&(e.translate=0)}function F0(e,t,i,n){Co(e.x,t.x,i.x,n?n.originX:void 0),Co(e.y,t.y,i.y,n?n.originY:void 0)}function Ao(e,t,i){e.min=i.min+t.min,e.max=e.min+Le(t)}function Fh(e,t,i){Ao(e.x,t.x,i.x),Ao(e.y,t.y,i.y)}function Ro(e,t,i){e.min=t.min-i.min,e.max=e.min+Le(t)}function B0(e,t,i){Ro(e.x,t.x,i.x),Ro(e.y,t.y,i.y)}function Bh(e,{min:t,max:i},n){return t!==void 0&&e<t?e=n?re(t,e,n.min):Math.max(e,t):i!==void 0&&e>i&&(e=n?re(i,e,n.max):Math.min(e,i)),e}function ko(e,t,i){return{min:t!==void 0?e.min+t:void 0,max:i!==void 0?e.max+i-(e.max-e.min):void 0}}function Eh(e,{top:t,left:i,bottom:n,right:o}){return{x:ko(e.x,i,o),y:ko(e.y,t,n)}}function Fo(e,t){let i=t.min-e.min,n=t.max-e.max;return t.max-t.min<e.max-e.min&&([i,n]=[n,i]),{min:i,max:n}}function Lh(e,t){return{x:Fo(e.x,t.x),y:Fo(e.y,t.y)}}function Dh(e,t){let i=.5;const n=Le(e),o=Le(t);return o>n?i=G0(t.min,t.max-n,e.min):n>o&&(i=G0(e.min,e.max-o,t.min)),Ot(0,1,i)}function Th(e,t){const i={};return t.min!==void 0&&(i.min=t.min-e.min),t.max!==void 0&&(i.max=t.max-e.min),i}const Vn=.35;function Vh(e=Vn){return e===!1?e=0:e===!0&&(e=Vn),{x:Bo(e,"left","right"),y:Bo(e,"top","bottom")}}function Bo(e,t,i){return{min:Eo(e,t),max:Eo(e,i)}}function Eo(e,t){return typeof e=="number"?e:e[t]||0}const Lo=()=>({translate:0,scale:1,origin:0,originPoint:0}),E0=()=>({x:Lo(),y:Lo()}),Do=()=>({min:0,max:0}),fe=()=>({x:Do(),y:Do()});function Ne(e){return[e("x"),e("y")]}function o2({top:e,left:t,right:i,bottom:n}){return{x:{min:t,max:i},y:{min:e,max:n}}}function Ph({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function Oh(e,t){if(!t)return e;const i=t({x:e.left,y:e.top}),n=t({x:e.right,y:e.bottom});return{top:i.y,left:i.x,bottom:n.y,right:n.x}}function ln(e){return e===void 0||e===1}function Pn({scale:e,scaleX:t,scaleY:i}){return!ln(e)||!ln(t)||!ln(i)}function Bt(e){return Pn(e)||s2(e)||e.z||e.rotate||e.rotateX||e.rotateY}function s2(e){return To(e.x)||To(e.y)}function To(e){return e&&e!=="0%"}function Ki(e,t,i){const n=e-i,o=t*n;return i+o}function Vo(e,t,i,n,o){return o!==void 0&&(e=Ki(e,o,n)),Ki(e,i,n)+t}function On(e,t=0,i=1,n,o){e.min=Vo(e.min,t,i,n,o),e.max=Vo(e.max,t,i,n,o)}function l2(e,{x:t,y:i}){On(e.x,t.translate,t.scale,t.originPoint),On(e.y,i.translate,i.scale,i.originPoint)}function Hh(e,t,i,n=!1){const o=i.length;if(!o)return;t.x=t.y=1;let s,l;for(let a=0;a<o;a++){s=i[a],l=s.projectionDelta;const c=s.instance;c&&c.style&&c.style.display==="contents"||(n&&s.options.layoutScroll&&s.scroll&&s!==s.root&&qt(e,{x:-s.scroll.offset.x,y:-s.scroll.offset.y}),l&&(t.x*=l.x.scale,t.y*=l.y.scale,l2(e,l)),n&&Bt(s.latestValues)&&qt(e,s.latestValues))}t.x=Po(t.x),t.y=Po(t.y)}function Po(e){return Number.isInteger(e)||e>1.0000000000001||e<.999999999999?e:1}function gt(e,t){e.min=e.min+t,e.max=e.max+t}function Oo(e,t,[i,n,o]){const s=t[o]!==void 0?t[o]:.5,l=re(e.min,e.max,s);On(e,t[i],t[n],l,t.scale)}const $h=["x","scaleX","originX"],Uh=["y","scaleY","originY"];function qt(e,t){Oo(e.x,t,$h),Oo(e.y,t,Uh)}function a2(e,t){return o2(Oh(e.getBoundingClientRect(),t))}function zh(e,t,i){const n=a2(e,i),{scroll:o}=t;return o&&(gt(n.x,o.offset.x),gt(n.y,o.offset.y)),n}const Wh=new WeakMap;class Gh{constructor(t){this.openGlobalLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=fe(),this.visualElement=t}start(t,{snapToCursor:i=!1}={}){const{presenceContext:n}=this.visualElement;if(n&&n.isPresent===!1)return;const o=c=>{this.stopAnimation(),i&&this.snapToCursor(T1(c,"page").point)},s=(c,d)=>{const{drag:h,dragPropagation:f,onDragStart:u}=this.getProps();if(h&&!f&&(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=ya(h),!this.openGlobalLock))return;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),Ne(v=>{let m=this.getAxisMotionValue(v).get()||0;if(tt.test(m)){const{projection:w}=this.visualElement;if(w&&w.layout){const _=w.layout.layoutBox[v];_&&(m=Le(_)*(parseFloat(m)/100))}}this.originPoint[v]=m}),u&&ne.update(()=>u(c,d),!1,!0);const{animationState:g}=this.visualElement;g&&g.setActive("whileDrag",!0)},l=(c,d)=>{const{dragPropagation:h,dragDirectionLock:f,onDirectionLock:u,onDrag:g}=this.getProps();if(!h&&!this.openGlobalLock)return;const{offset:v}=d;if(f&&this.currentDirection===null){this.currentDirection=jh(v),this.currentDirection!==null&&u&&u(this.currentDirection);return}this.updateAxis("x",d.point,v),this.updateAxis("y",d.point,v),this.visualElement.render(),g&&g(c,d)},a=(c,d)=>this.stop(c,d);this.panSession=new n2(t,{onSessionStart:o,onStart:s,onMove:l,onSessionEnd:a},{transformPagePoint:this.visualElement.getTransformPagePoint()})}stop(t,i){const n=this.isDragging;if(this.cancel(),!n)return;const{velocity:o}=i;this.startAnimation(o);const{onDragEnd:s}=this.getProps();s&&ne.update(()=>s(t,i))}cancel(){this.isDragging=!1;const{projection:t,animationState:i}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:n}=this.getProps();!n&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),i&&i.setActive("whileDrag",!1)}updateAxis(t,i,n){const{drag:o}=this.getProps();if(!n||!fi(t,o,this.currentDirection))return;const s=this.getAxisMotionValue(t);let l=this.originPoint[t]+n[t];this.constraints&&this.constraints[t]&&(l=Bh(l,this.constraints[t],this.elastic[t])),s.set(l)}resolveConstraints(){const{dragConstraints:t,dragElastic:i}=this.getProps(),{layout:n}=this.visualElement.projection||{},o=this.constraints;t&&Yt(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):t&&n?this.constraints=Eh(n.layoutBox,t):this.constraints=!1,this.elastic=Vh(i),o!==this.constraints&&n&&this.constraints&&!this.hasMutatedConstraints&&Ne(s=>{this.getAxisMotionValue(s)&&(this.constraints[s]=Th(n.layoutBox[s],this.constraints[s]))})}resolveRefConstraints(){const{dragConstraints:t,onMeasureDragConstraints:i}=this.getProps();if(!t||!Yt(t))return!1;const n=t.current,{projection:o}=this.visualElement;if(!o||!o.layout)return!1;const s=zh(n,o.root,this.visualElement.getTransformPagePoint());let l=Lh(o.layout.layoutBox,s);if(i){const a=i(Ph(l));this.hasMutatedConstraints=!!a,a&&(l=o2(a))}return l}startAnimation(t){const{drag:i,dragMomentum:n,dragElastic:o,dragTransition:s,dragSnapToOrigin:l,onDragTransitionEnd:a}=this.getProps(),c=this.constraints||{},d=Ne(h=>{if(!fi(h,i,this.currentDirection))return;let f=c&&c[h]||{};l&&(f={min:0,max:0});const u=o?200:1e6,g=o?40:1e7,v={type:"inertia",velocity:n?t[h]:0,bounceStiffness:u,bounceDamping:g,timeConstant:750,restDelta:1,restSpeed:10,...s,...f};return this.startAxisValueAnimation(h,v)});return Promise.all(d).then(a)}startAxisValueAnimation(t,i){const n=this.getAxisMotionValue(t);return n.start(Cr(t,n,0,i))}stopAnimation(){Ne(t=>this.getAxisMotionValue(t).stop())}getAxisMotionValue(t){const i="_drag"+t.toUpperCase(),n=this.visualElement.getProps(),o=n[i];return o||this.visualElement.getValue(t,(n.initial?n.initial[t]:void 0)||0)}snapToCursor(t){Ne(i=>{const{drag:n}=this.getProps();if(!fi(i,n,this.currentDirection))return;const{projection:o}=this.visualElement,s=this.getAxisMotionValue(i);if(o&&o.layout){const{min:l,max:a}=o.layout.layoutBox[i];s.set(t[i]-re(l,a,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:t,dragConstraints:i}=this.getProps(),{projection:n}=this.visualElement;if(!Yt(i)||!n||!this.constraints)return;this.stopAnimation();const o={x:0,y:0};Ne(l=>{const a=this.getAxisMotionValue(l);if(a){const c=a.get();o[l]=Dh({min:c,max:c},this.constraints[l])}});const{transformTemplate:s}=this.visualElement.getProps();this.visualElement.current.style.transform=s?s({},""):"none",n.root&&n.root.updateScroll(),n.updateLayout(),this.resolveConstraints(),Ne(l=>{if(!fi(l,t,null))return;const a=this.getAxisMotionValue(l),{min:c,max:d}=this.constraints[l];a.set(re(c,d,o[l]))})}addListeners(){if(!this.visualElement.current)return;Wh.set(this.visualElement,this);const t=this.visualElement.current,i=ct(t,"pointerdown",c=>{const{drag:d,dragListener:h=!0}=this.getProps();d&&h&&this.start(c)}),n=()=>{const{dragConstraints:c}=this.getProps();Yt(c)&&(this.constraints=this.resolveRefConstraints())},{projection:o}=this.visualElement,s=o.addEventListener("measure",n);o&&!o.layout&&(o.root&&o.root.updateScroll(),o.updateLayout()),n();const l=at(window,"resize",()=>this.scalePositionWithinConstraints()),a=o.addEventListener("didUpdate",({delta:c,hasLayoutChanged:d})=>{this.isDragging&&d&&(Ne(h=>{const f=this.getAxisMotionValue(h);!f||(this.originPoint[h]+=c[h].translate,f.set(f.get()+c[h].translate))}),this.visualElement.render())});return()=>{l(),i(),s(),a&&a()}}getProps(){const t=this.visualElement.getProps(),{drag:i=!1,dragDirectionLock:n=!1,dragPropagation:o=!1,dragConstraints:s=!1,dragElastic:l=Vn,dragMomentum:a=!0}=t;return{...t,drag:i,dragDirectionLock:n,dragPropagation:o,dragConstraints:s,dragElastic:l,dragMomentum:a}}}function fi(e,t,i){return(t===!0||t===e)&&(i===null||i===e)}function jh(e,t=10){let i=null;return Math.abs(e.y)>t?i="y":Math.abs(e.x)>t&&(i="x"),i}class Nh extends St{constructor(t){super(t),this.removeGroupControls=ve,this.removeListeners=ve,this.controls=new Gh(t)}mount(){const{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||ve}unmount(){this.removeGroupControls(),this.removeListeners()}}const Ho=e=>(t,i)=>{e&&ne.update(()=>e(t,i))};class Xh extends St{constructor(){super(...arguments),this.removePointerDownListener=ve}onPointerDown(t){this.session=new n2(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint()})}createPanHandlers(){const{onPanSessionStart:t,onPanStart:i,onPan:n,onPanEnd:o}=this.node.getProps();return{onSessionStart:Ho(t),onStart:Ho(i),onMove:n,onEnd:(s,l)=>{delete this.session,o&&ne.update(()=>o(s,l))}}}mount(){this.removePointerDownListener=ct(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}function Yh(){const e=M.exports.useContext(F1);if(e===null)return[!0,null];const{isPresent:t,onExitComplete:i,register:n}=e,o=M.exports.useId();return M.exports.useEffect(()=>n(o),[]),!t&&i?[!1,()=>i&&i(o)]:[!0]}function $o(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const u0={correct:(e,t)=>{if(!t.target)return e;if(typeof e=="string")if(G.test(e))e=parseFloat(e);else return e;const i=$o(e,t.target.x),n=$o(e,t.target.y);return`${i}% ${n}%`}},Kh={correct:(e,{treeScale:t,projectionDelta:i})=>{const n=e,o=_t.parse(e);if(o.length>5)return n;const s=_t.createTransformer(e),l=typeof o[0]!="number"?1:0,a=i.x.scale*t.x,c=i.y.scale*t.y;o[0+l]/=a,o[1+l]/=c;const d=re(a,c,.5);return typeof o[2+l]=="number"&&(o[2+l]/=d),typeof o[3+l]=="number"&&(o[3+l]/=d),s(o)}};class qh extends Dt.Component{componentDidMount(){const{visualElement:t,layoutGroup:i,switchLayoutGroup:n,layoutId:o}=this.props,{projection:s}=t;s3(Qh),s&&(i.group&&i.group.add(s),n&&n.register&&o&&n.register(s),s.root.didUpdate(),s.addEventListener("animationComplete",()=>{this.safeToRemove()}),s.setOptions({...s.options,onExitComplete:()=>this.safeToRemove()})),A0.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){const{layoutDependency:i,visualElement:n,drag:o,isPresent:s}=this.props,l=n.projection;return l&&(l.isPresent=s,o||t.layoutDependency!==i||i===void 0?l.willUpdate():this.safeToRemove(),t.isPresent!==s&&(s?l.promote():l.relegate()||ne.postRender(()=>{const a=l.getStack();(!a||!a.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),!t.currentAnimation&&t.isLead()&&this.safeToRemove())}componentWillUnmount(){const{visualElement:t,layoutGroup:i,switchLayoutGroup:n}=this.props,{projection:o}=t;o&&(o.scheduleCheckAfterUnmount(),i&&i.group&&i.group.remove(o),n&&n.deregister&&n.deregister(o))}safeToRemove(){const{safeToRemove:t}=this.props;t&&t()}render(){return null}}function c2(e){const[t,i]=Yh(),n=M.exports.useContext(fr);return r(qh,{...e,layoutGroup:n,switchLayoutGroup:M.exports.useContext(ra),isPresent:t,safeToRemove:i})}const Qh={borderRadius:{...u0,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:u0,borderTopRightRadius:u0,borderBottomLeftRadius:u0,borderBottomRightRadius:u0,boxShadow:Kh},d2=["TopLeft","TopRight","BottomLeft","BottomRight"],Jh=d2.length,Uo=e=>typeof e=="string"?parseFloat(e):e,zo=e=>typeof e=="number"||G.test(e);function e4(e,t,i,n,o,s){o?(e.opacity=re(0,i.opacity!==void 0?i.opacity:1,t4(n)),e.opacityExit=re(t.opacity!==void 0?t.opacity:1,0,i4(n))):s&&(e.opacity=re(t.opacity!==void 0?t.opacity:1,i.opacity!==void 0?i.opacity:1,n));for(let l=0;l<Jh;l++){const a=`border${d2[l]}Radius`;let c=Wo(t,a),d=Wo(i,a);if(c===void 0&&d===void 0)continue;c||(c=0),d||(d=0),c===0||d===0||zo(c)===zo(d)?(e[a]=Math.max(re(Uo(c),Uo(d),n),0),(tt.test(d)||tt.test(c))&&(e[a]+="%")):e[a]=d}(t.rotate||i.rotate)&&(e.rotate=re(t.rotate||0,i.rotate||0,n))}function Wo(e,t){return e[t]!==void 0?e[t]:e.borderRadius}const t4=h2(0,.5,br),i4=h2(.5,.95,ve);function h2(e,t,i){return n=>n<e?0:n>t?1:i(G0(e,t,n))}function Go(e,t){e.min=t.min,e.max=t.max}function He(e,t){Go(e.x,t.x),Go(e.y,t.y)}function jo(e,t,i,n,o){return e-=t,e=Ki(e,1/i,n),o!==void 0&&(e=Ki(e,1/o,n)),e}function n4(e,t=0,i=1,n=.5,o,s=e,l=e){if(tt.test(t)&&(t=parseFloat(t),t=re(l.min,l.max,t/100)-l.min),typeof t!="number")return;let a=re(s.min,s.max,n);e===s&&(a-=t),e.min=jo(e.min,t,i,a,o),e.max=jo(e.max,t,i,a,o)}function No(e,t,[i,n,o],s,l){n4(e,t[i],t[n],t[o],t.scale,s,l)}const r4=["x","scaleX","originX"],o4=["y","scaleY","originY"];function Xo(e,t,i,n){No(e.x,t,r4,i?i.x:void 0,n?n.x:void 0),No(e.y,t,o4,i?i.y:void 0,n?n.y:void 0)}function Yo(e){return e.translate===0&&e.scale===1}function f2(e){return Yo(e.x)&&Yo(e.y)}function Hn(e,t){return e.x.min===t.x.min&&e.x.max===t.x.max&&e.y.min===t.y.min&&e.y.max===t.y.max}function Ko(e){return Le(e.x)/Le(e.y)}class s4{constructor(){this.members=[]}add(t){Ar(this.members,t),t.scheduleRender()}remove(t){if(Rr(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){const i=this.members[this.members.length-1];i&&this.promote(i)}}relegate(t){const i=this.members.findIndex(o=>t===o);if(i===0)return!1;let n;for(let o=i;o>=0;o--){const s=this.members[o];if(s.isPresent!==!1){n=s;break}}return n?(this.promote(n),!0):!1}promote(t,i){const n=this.lead;if(t!==n&&(this.prevLead=n,this.lead=t,t.show(),n)){n.instance&&n.scheduleRender(),t.scheduleRender(),t.resumeFrom=n,i&&(t.resumeFrom.preserveOpacity=!0),n.snapshot&&(t.snapshot=n.snapshot,t.snapshot.latestValues=n.animationValues||n.latestValues),t.root&&t.root.isUpdating&&(t.isLayoutDirty=!0);const{crossfade:o}=t.options;o===!1&&n.hide()}}exitAnimationComplete(){this.members.forEach(t=>{const{options:i,resumingFrom:n}=t;i.onExitComplete&&i.onExitComplete(),n&&n.options.onExitComplete&&n.options.onExitComplete()})}scheduleRender(){this.members.forEach(t=>{t.instance&&t.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function qo(e,t,i){let n="";const o=e.x.translate/t.x,s=e.y.translate/t.y;if((o||s)&&(n=`translate3d(${o}px, ${s}px, 0) `),(t.x!==1||t.y!==1)&&(n+=`scale(${1/t.x}, ${1/t.y}) `),i){const{rotate:c,rotateX:d,rotateY:h}=i;c&&(n+=`rotate(${c}deg) `),d&&(n+=`rotateX(${d}deg) `),h&&(n+=`rotateY(${h}deg) `)}const l=e.x.scale*t.x,a=e.y.scale*t.y;return(l!==1||a!==1)&&(n+=`scale(${l}, ${a})`),n||"none"}const l4=(e,t)=>e.depth-t.depth;class a4{constructor(){this.children=[],this.isDirty=!1}add(t){Ar(this.children,t),this.isDirty=!0}remove(t){Rr(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(l4),this.isDirty=!1,this.children.forEach(t)}}function c4(e,t){const i=performance.now(),n=({timestamp:o})=>{const s=o-i;s>=t&&(ft(n),e(s-t))};return ne.read(n,!0),()=>ft(n)}function d4(e){window.MotionDebug&&window.MotionDebug.record(e)}function h4(e){return e instanceof SVGElement&&e.tagName!=="svg"}function f4(e,t,i){const n=ke(e)?e:n0(e);return n.start(Cr("",n,t,i)),n.animation}const Qo=["","X","Y","Z"],Jo=1e3;let u4=0;const Et={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0};function u2({attachResizeListener:e,defaultParent:t,measureScroll:i,checkIsScrollRoot:n,resetTransform:o}){return class{constructor(l,a={},c=t==null?void 0:t()){this.id=u4++,this.animationId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.potentialNodes=new Map,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{Et.totalNodes=Et.resolvedTargetDeltas=Et.recalculatedProjection=0,this.nodes.forEach(v4),this.nodes.forEach(y4),this.nodes.forEach(_4),this.nodes.forEach(m4),d4(Et)},this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.elementId=l,this.latestValues=a,this.root=c?c.root||c:this,this.path=c?[...c.path,c]:[],this.parent=c,this.depth=c?c.depth+1:0,l&&this.root.registerPotentialNode(l,this);for(let d=0;d<this.path.length;d++)this.path[d].shouldResetTransform=!0;this.root===this&&(this.nodes=new a4)}addEventListener(l,a){return this.eventHandlers.has(l)||this.eventHandlers.set(l,new kr),this.eventHandlers.get(l).add(a)}notifyListeners(l,...a){const c=this.eventHandlers.get(l);c&&c.notify(...a)}hasListeners(l){return this.eventHandlers.has(l)}registerPotentialNode(l,a){this.potentialNodes.set(l,a)}mount(l,a=!1){if(this.instance)return;this.isSVG=h4(l),this.instance=l;const{layoutId:c,layout:d,visualElement:h}=this.options;if(h&&!h.current&&h.mount(l),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.elementId&&this.root.potentialNodes.delete(this.elementId),a&&(d||c)&&(this.isLayoutDirty=!0),e){let f;const u=()=>this.root.updateBlockedByResize=!1;e(l,()=>{this.root.updateBlockedByResize=!0,f&&f(),f=c4(u,250),A0.hasAnimatedSinceResize&&(A0.hasAnimatedSinceResize=!1,this.nodes.forEach(ts))})}c&&this.root.registerSharedNode(c,this),this.options.animate!==!1&&h&&(c||d)&&this.addEventListener("didUpdate",({delta:f,hasLayoutChanged:u,hasRelativeTargetChanged:g,layout:v})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const m=this.options.transition||h.getDefaultTransition()||I4,{onLayoutAnimationStart:w,onLayoutAnimationComplete:_}=h.getProps(),Z=!this.targetLayout||!Hn(this.targetLayout,v)||g,b=!u&&g;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||b||u&&(Z||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(f,b);const I={...Qa(m,"layout"),onPlay:w,onComplete:_};(h.shouldReduceMotion||this.options.layoutRoot)&&(I.delay=0,I.type=!1),this.startAnimation(I)}else!u&&this.animationProgress===0&&ts(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=v})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const l=this.getStack();l&&l.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,ft(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach(b4),this.animationId++)}getTransformTemplate(){const{visualElement:l}=this.options;return l&&l.getProps().transformTemplate}willUpdate(l=!0){if(this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let h=0;h<this.path.length;h++){const f=this.path[h];f.shouldResetTransform=!0,f.updateScroll("snapshot"),f.options.layoutRoot&&f.willUpdate(!1)}const{layoutId:a,layout:c}=this.options;if(a===void 0&&!c)return;const d=this.getTransformTemplate();this.prevTransformTemplateValue=d?d(this.latestValues,""):void 0,this.updateSnapshot(),l&&this.notifyListeners("willUpdate")}didUpdate(){if(this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(es);return}!this.isUpdating||(this.isUpdating=!1,this.potentialNodes.size&&(this.potentialNodes.forEach(C4),this.potentialNodes.clear()),this.nodes.forEach(w4),this.nodes.forEach(p4),this.nodes.forEach(g4),this.clearAllSnapshots(),e0.update.process(me),e0.preRender.process(me),e0.render.process(me))}clearAllSnapshots(){this.nodes.forEach(x4),this.sharedNodes.forEach(M4)}scheduleUpdateProjection(){ne.preRender(this.updateProjection,!1,!0)}scheduleCheckAfterUnmount(){ne.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure())}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let c=0;c<this.path.length;c++)this.path[c].updateScroll();const l=this.layout;this.layout=this.measure(!1),this.layoutCorrected=fe(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:a}=this.options;a&&a.notify("LayoutMeasure",this.layout.layoutBox,l?l.layoutBox:void 0)}updateScroll(l="measure"){let a=Boolean(this.options.layoutScroll&&this.instance);this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===l&&(a=!1),a&&(this.scroll={animationId:this.root.animationId,phase:l,isRoot:n(this.instance),offset:i(this.instance)})}resetTransform(){if(!o)return;const l=this.isLayoutDirty||this.shouldResetTransform,a=this.projectionDelta&&!f2(this.projectionDelta),c=this.getTransformTemplate(),d=c?c(this.latestValues,""):void 0,h=d!==this.prevTransformTemplateValue;l&&(a||Bt(this.latestValues)||h)&&(o(this.instance,d),this.shouldResetTransform=!1,this.scheduleRender())}measure(l=!0){const a=this.measurePageBox();let c=this.removeElementScroll(a);return l&&(c=this.removeTransform(c)),A4(c),{animationId:this.root.animationId,measuredBox:a,layoutBox:c,latestValues:{},source:this.id}}measurePageBox(){const{visualElement:l}=this.options;if(!l)return fe();const a=l.measureViewportBox(),{scroll:c}=this.root;return c&&(gt(a.x,c.offset.x),gt(a.y,c.offset.y)),a}removeElementScroll(l){const a=fe();He(a,l);for(let c=0;c<this.path.length;c++){const d=this.path[c],{scroll:h,options:f}=d;if(d!==this.root&&h&&f.layoutScroll){if(h.isRoot){He(a,l);const{scroll:u}=this.root;u&&(gt(a.x,-u.offset.x),gt(a.y,-u.offset.y))}gt(a.x,h.offset.x),gt(a.y,h.offset.y)}}return a}applyTransform(l,a=!1){const c=fe();He(c,l);for(let d=0;d<this.path.length;d++){const h=this.path[d];!a&&h.options.layoutScroll&&h.scroll&&h!==h.root&&qt(c,{x:-h.scroll.offset.x,y:-h.scroll.offset.y}),Bt(h.latestValues)&&qt(c,h.latestValues)}return Bt(this.latestValues)&&qt(c,this.latestValues),c}removeTransform(l){const a=fe();He(a,l);for(let c=0;c<this.path.length;c++){const d=this.path[c];if(!d.instance||!Bt(d.latestValues))continue;Pn(d.latestValues)&&d.updateSnapshot();const h=fe(),f=d.measurePageBox();He(h,f),Xo(a,d.latestValues,d.snapshot?d.snapshot.layoutBox:void 0,h)}return Bt(this.latestValues)&&Xo(a,this.latestValues),a}setTargetDelta(l){this.targetDelta=l,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(l){this.options={...this.options,...l,crossfade:l.crossfade!==void 0?l.crossfade:!0}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){!this.relativeParent||this.relativeParent.resolvedRelativeTargetAt!==me.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(l=!1){var a;const c=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=c.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=c.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=c.isSharedProjectionDirty);const d=Boolean(this.resumingFrom)||this!==c;if(!(l||d&&this.isSharedProjectionDirty||this.isProjectionDirty||((a=this.parent)===null||a===void 0?void 0:a.isProjectionDirty)||this.attemptToResolveRelativeTarget))return;const{layout:f,layoutId:u}=this.options;if(!(!this.layout||!(f||u))){if(this.resolvedRelativeTargetAt=me.timestamp,!this.targetDelta&&!this.relativeTarget){const g=this.getClosestProjectingParent();g&&g.layout&&this.animationProgress!==1?(this.relativeParent=g,this.forceRelativeParentToResolveTarget(),this.relativeTarget=fe(),this.relativeTargetOrigin=fe(),B0(this.relativeTargetOrigin,this.layout.layoutBox,g.layout.layoutBox),He(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(!(!this.relativeTarget&&!this.targetDelta)){if(this.target||(this.target=fe(),this.targetWithTransforms=fe()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),Fh(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(Boolean(this.resumingFrom)?this.target=this.applyTransform(this.layout.layoutBox):He(this.target,this.layout.layoutBox),l2(this.target,this.targetDelta)):He(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget){this.attemptToResolveRelativeTarget=!1;const g=this.getClosestProjectingParent();g&&Boolean(g.resumingFrom)===Boolean(this.resumingFrom)&&!g.options.layoutScroll&&g.target&&this.animationProgress!==1?(this.relativeParent=g,this.forceRelativeParentToResolveTarget(),this.relativeTarget=fe(),this.relativeTargetOrigin=fe(),B0(this.relativeTargetOrigin,this.target,g.target),He(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}Et.resolvedTargetDeltas++}}}getClosestProjectingParent(){if(!(!this.parent||Pn(this.parent.latestValues)||s2(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return Boolean((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){var l;const a=this.getLead(),c=Boolean(this.resumingFrom)||this!==a;let d=!0;if((this.isProjectionDirty||((l=this.parent)===null||l===void 0?void 0:l.isProjectionDirty))&&(d=!1),c&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(d=!1),this.resolvedRelativeTargetAt===me.timestamp&&(d=!1),d)return;const{layout:h,layoutId:f}=this.options;if(this.isTreeAnimating=Boolean(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(h||f))return;He(this.layoutCorrected,this.layout.layoutBox),Hh(this.layoutCorrected,this.treeScale,this.path,c);const{target:u}=a;if(!u)return;this.projectionDelta||(this.projectionDelta=E0(),this.projectionDeltaWithTransform=E0());const g=this.treeScale.x,v=this.treeScale.y,m=this.projectionTransform;F0(this.projectionDelta,this.layoutCorrected,u,this.latestValues),this.projectionTransform=qo(this.projectionDelta,this.treeScale),(this.projectionTransform!==m||this.treeScale.x!==g||this.treeScale.y!==v)&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",u)),Et.recalculatedProjection++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(l=!0){if(this.options.scheduleRender&&this.options.scheduleRender(),l){const a=this.getStack();a&&a.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}setAnimationOrigin(l,a=!1){const c=this.snapshot,d=c?c.latestValues:{},h={...this.latestValues},f=E0();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!a;const u=fe(),g=c?c.source:void 0,v=this.layout?this.layout.source:void 0,m=g!==v,w=this.getStack(),_=!w||w.members.length<=1,Z=Boolean(m&&!_&&this.options.crossfade===!0&&!this.path.some(S4));this.animationProgress=0;let b;this.mixTargetDelta=I=>{const A=I/1e3;is(f.x,l.x,A),is(f.y,l.y,A),this.setTargetDelta(f),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(B0(u,this.layout.layoutBox,this.relativeParent.layout.layoutBox),Z4(this.relativeTarget,this.relativeTargetOrigin,u,A),b&&Hn(this.relativeTarget,b)&&(this.isProjectionDirty=!1),b||(b=fe()),He(b,this.relativeTarget)),m&&(this.animationValues=h,e4(h,d,this.latestValues,A,Z,_)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=A},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(l){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&(ft(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=ne.update(()=>{A0.hasAnimatedSinceResize=!0,this.currentAnimation=f4(0,Jo,{...l,onUpdate:a=>{this.mixTargetDelta(a),l.onUpdate&&l.onUpdate(a)},onComplete:()=>{l.onComplete&&l.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const l=this.getStack();l&&l.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(Jo),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const l=this.getLead();let{targetWithTransforms:a,target:c,layout:d,latestValues:h}=l;if(!(!a||!c||!d)){if(this!==l&&this.layout&&d&&p2(this.options.animationType,this.layout.layoutBox,d.layoutBox)){c=this.target||fe();const f=Le(this.layout.layoutBox.x);c.x.min=l.target.x.min,c.x.max=c.x.min+f;const u=Le(this.layout.layoutBox.y);c.y.min=l.target.y.min,c.y.max=c.y.min+u}He(a,c),qt(a,h),F0(this.projectionDeltaWithTransform,this.layoutCorrected,a,h)}}registerSharedNode(l,a){this.sharedNodes.has(l)||this.sharedNodes.set(l,new s4),this.sharedNodes.get(l).add(a);const d=a.options.initialPromotionConfig;a.promote({transition:d?d.transition:void 0,preserveFollowOpacity:d&&d.shouldPreserveFollowOpacity?d.shouldPreserveFollowOpacity(a):void 0})}isLead(){const l=this.getStack();return l?l.lead===this:!0}getLead(){var l;const{layoutId:a}=this.options;return a?((l=this.getStack())===null||l===void 0?void 0:l.lead)||this:this}getPrevLead(){var l;const{layoutId:a}=this.options;return a?(l=this.getStack())===null||l===void 0?void 0:l.prevLead:void 0}getStack(){const{layoutId:l}=this.options;if(l)return this.root.sharedNodes.get(l)}promote({needsReset:l,transition:a,preserveFollowOpacity:c}={}){const d=this.getStack();d&&d.promote(this,c),l&&(this.projectionDelta=void 0,this.needsReset=!0),a&&this.setOptions({transition:a})}relegate(){const l=this.getStack();return l?l.relegate(this):!1}resetRotation(){const{visualElement:l}=this.options;if(!l)return;let a=!1;const{latestValues:c}=l;if((c.rotate||c.rotateX||c.rotateY||c.rotateZ)&&(a=!0),!a)return;const d={};for(let h=0;h<Qo.length;h++){const f="rotate"+Qo[h];c[f]&&(d[f]=c[f],l.setStaticValue(f,0))}l.render();for(const h in d)l.setStaticValue(h,d[h]);l.scheduleRender()}getProjectionStyles(l={}){var a,c;const d={};if(!this.instance||this.isSVG)return d;if(this.isVisible)d.visibility="";else return{visibility:"hidden"};const h=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,d.opacity="",d.pointerEvents=Ei(l.pointerEvents)||"",d.transform=h?h(this.latestValues,""):"none",d;const f=this.getLead();if(!this.projectionDelta||!this.layout||!f.target){const m={};return this.options.layoutId&&(m.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,m.pointerEvents=Ei(l.pointerEvents)||""),this.hasProjected&&!Bt(this.latestValues)&&(m.transform=h?h({},""):"none",this.hasProjected=!1),m}const u=f.animationValues||f.latestValues;this.applyTransformsToTarget(),d.transform=qo(this.projectionDeltaWithTransform,this.treeScale,u),h&&(d.transform=h(u,d.transform));const{x:g,y:v}=this.projectionDelta;d.transformOrigin=`${g.origin*100}% ${v.origin*100}% 0`,f.animationValues?d.opacity=f===this?(c=(a=u.opacity)!==null&&a!==void 0?a:this.latestValues.opacity)!==null&&c!==void 0?c:1:this.preserveOpacity?this.latestValues.opacity:u.opacityExit:d.opacity=f===this?u.opacity!==void 0?u.opacity:"":u.opacityExit!==void 0?u.opacityExit:0;for(const m in zi){if(u[m]===void 0)continue;const{correct:w,applyTo:_}=zi[m],Z=d.transform==="none"?u[m]:w(u[m],f);if(_){const b=_.length;for(let I=0;I<b;I++)d[_[I]]=Z}else d[m]=Z}return this.options.layoutId&&(d.pointerEvents=f===this?Ei(l.pointerEvents)||"":"none"),d}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(l=>{var a;return(a=l.currentAnimation)===null||a===void 0?void 0:a.stop()}),this.root.nodes.forEach(es),this.root.sharedNodes.clear()}}}function p4(e){e.updateLayout()}function g4(e){var t;const i=((t=e.resumeFrom)===null||t===void 0?void 0:t.snapshot)||e.snapshot;if(e.isLead()&&e.layout&&i&&e.hasListeners("didUpdate")){const{layoutBox:n,measuredBox:o}=e.layout,{animationType:s}=e.options,l=i.source!==e.layout.source;s==="size"?Ne(f=>{const u=l?i.measuredBox[f]:i.layoutBox[f],g=Le(u);u.min=n[f].min,u.max=u.min+g}):p2(s,i.layoutBox,n)&&Ne(f=>{const u=l?i.measuredBox[f]:i.layoutBox[f],g=Le(n[f]);u.max=u.min+g,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[f].max=e.relativeTarget[f].min+g)});const a=E0();F0(a,n,i.layoutBox);const c=E0();l?F0(c,e.applyTransform(o,!0),i.measuredBox):F0(c,n,i.layoutBox);const d=!f2(a);let h=!1;if(!e.resumeFrom){const f=e.getClosestProjectingParent();if(f&&!f.resumeFrom){const{snapshot:u,layout:g}=f;if(u&&g){const v=fe();B0(v,i.layoutBox,u.layoutBox);const m=fe();B0(m,n,g.layoutBox),Hn(v,m)||(h=!0),f.options.layoutRoot&&(e.relativeTarget=m,e.relativeTargetOrigin=v,e.relativeParent=f)}}}e.notifyListeners("didUpdate",{layout:n,snapshot:i,delta:c,layoutDelta:a,hasLayoutChanged:d,hasRelativeTargetChanged:h})}else if(e.isLead()){const{onExitComplete:n}=e.options;n&&n()}e.options.transition=void 0}function v4(e){Et.totalNodes++,e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||(e.isSharedProjectionDirty=Boolean(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=e.parent.isTransformDirty))}function m4(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function x4(e){e.clearSnapshot()}function es(e){e.clearMeasurements()}function w4(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function ts(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0}function y4(e){e.resolveTargetDelta()}function _4(e){e.calcProjection()}function b4(e){e.resetRotation()}function M4(e){e.removeLeadSnapshot()}function is(e,t,i){e.translate=re(t.translate,0,i),e.scale=re(t.scale,1,i),e.origin=t.origin,e.originPoint=t.originPoint}function ns(e,t,i,n){e.min=re(t.min,i.min,n),e.max=re(t.max,i.max,n)}function Z4(e,t,i,n){ns(e.x,t.x,i.x,n),ns(e.y,t.y,i.y,n)}function S4(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}const I4={duration:.45,ease:[.4,0,.1,1]};function C4(e,t){let i=e.root;for(let s=e.path.length-1;s>=0;s--)if(Boolean(e.path[s].instance)){i=e.path[s];break}const o=(i&&i!==e.root?i.instance:document).querySelector(`[data-projection-id="${t}"]`);o&&e.mount(o,!0)}function rs(e){e.min=Math.round(e.min),e.max=Math.round(e.max)}function A4(e){rs(e.x),rs(e.y)}function p2(e,t,i){return e==="position"||e==="preserve-aspect"&&!Tn(Ko(t),Ko(i),.2)}const R4=u2({attachResizeListener:(e,t)=>at(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),an={current:void 0},g2=u2({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!an.current){const e=new R4(0,{});e.mount(window),e.setOptions({layoutScroll:!0}),an.current=e}return an.current},resetTransform:(e,t)=>{e.style.transform=t!==void 0?t:"none"},checkIsScrollRoot:e=>Boolean(window.getComputedStyle(e).position==="fixed")}),k4={pan:{Feature:Xh},drag:{Feature:Nh,ProjectionNode:g2,MeasureLayout:c2}},F4=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;function B4(e){const t=F4.exec(e);if(!t)return[,];const[,i,n]=t;return[i,n]}function $n(e,t,i=1){const[n,o]=B4(e);if(!n)return;const s=window.getComputedStyle(t).getPropertyValue(n);return s?s.trim():An(o)?$n(o,t,i+1):o}function E4(e,{...t},i){const n=e.current;if(!(n instanceof Element))return{target:t,transitionEnd:i};i&&(i={...i}),e.values.forEach(o=>{const s=o.get();if(!An(s))return;const l=$n(s,n);l&&o.set(l)});for(const o in t){const s=t[o];if(!An(s))continue;const l=$n(s,n);!l||(t[o]=l,i||(i={}),i[o]===void 0&&(i[o]=s))}return{target:t,transitionEnd:i}}const L4=new Set(["width","height","top","left","right","bottom","x","y"]),v2=e=>L4.has(e),D4=e=>Object.keys(e).some(v2),os=e=>e===Ut||e===G,ss=(e,t)=>parseFloat(e.split(", ")[t]),ls=(e,t)=>(i,{transform:n})=>{if(n==="none"||!n)return 0;const o=n.match(/^matrix3d\((.+)\)$/);if(o)return ss(o[1],t);{const s=n.match(/^matrix\((.+)\)$/);return s?ss(s[1],e):0}},T4=new Set(["x","y","z"]),V4=ti.filter(e=>!T4.has(e));function P4(e){const t=[];return V4.forEach(i=>{const n=e.getValue(i);n!==void 0&&(t.push([i,n.get()]),n.set(i.startsWith("scale")?1:0))}),t.length&&e.render(),t}const as={width:({x:e},{paddingLeft:t="0",paddingRight:i="0"})=>e.max-e.min-parseFloat(t)-parseFloat(i),height:({y:e},{paddingTop:t="0",paddingBottom:i="0"})=>e.max-e.min-parseFloat(t)-parseFloat(i),top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:ls(4,13),y:ls(5,14)},O4=(e,t,i)=>{const n=t.measureViewportBox(),o=t.current,s=getComputedStyle(o),{display:l}=s,a={};l==="none"&&t.setStaticValue("display",e.display||"block"),i.forEach(d=>{a[d]=as[d](n,s)}),t.render();const c=t.measureViewportBox();return i.forEach(d=>{const h=t.getValue(d);h&&h.jump(a[d]),e[d]=as[d](c,s)}),e},H4=(e,t,i={},n={})=>{t={...t},n={...n};const o=Object.keys(t).filter(v2);let s=[],l=!1;const a=[];if(o.forEach(c=>{const d=e.getValue(c);if(!e.hasValue(c))return;let h=i[c],f=f0(h);const u=t[c];let g;if(Gi(u)){const v=u.length,m=u[0]===null?1:0;h=u[m],f=f0(h);for(let w=m;w<v&&u[w]!==null;w++)g?O1(f0(u[w])===g):g=f0(u[w])}else g=f0(u);if(f!==g)if(os(f)&&os(g)){const v=d.get();typeof v=="string"&&d.set(parseFloat(v)),typeof u=="string"?t[c]=parseFloat(u):Array.isArray(u)&&g===G&&(t[c]=u.map(parseFloat))}else(f==null?void 0:f.transform)&&(g==null?void 0:g.transform)&&(h===0||u===0)?h===0?d.set(g.transform(h)):t[c]=f.transform(u):(l||(s=P4(e),l=!0),a.push(c),n[c]=n[c]!==void 0?n[c]:t[c],d.jump(u))}),a.length){const c=a.indexOf("height")>=0?window.pageYOffset:null,d=O4(t,e,a);return s.length&&s.forEach(([h,f])=>{e.getValue(h).set(f)}),e.render(),B1&&c!==null&&window.scrollTo({top:c}),{target:d,transitionEnd:n}}else return{target:t,transitionEnd:n}};function $4(e,t,i,n){return D4(t)?H4(e,t,i,n):{target:t,transitionEnd:n}}const U4=(e,t,i,n)=>{const o=E4(e,t,n);return t=o.target,n=o.transitionEnd,$4(e,t,i,n)},Un={current:null},m2={current:!1};function z4(){if(m2.current=!0,!!B1)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>Un.current=e.matches;e.addListener(t),t()}else Un.current=!1}function W4(e,t,i){const{willChange:n}=t;for(const o in t){const s=t[o],l=i[o];if(ke(s))e.addValue(o,s),Yi(n)&&n.add(o);else if(ke(l))e.addValue(o,n0(s,{owner:e})),Yi(n)&&n.remove(o);else if(l!==s)if(e.hasValue(o)){const a=e.getValue(o);!a.hasAnimated&&a.set(s)}else{const a=e.getStaticValue(o);e.addValue(o,n0(a!==void 0?a:s,{owner:e}))}}for(const o in i)t[o]===void 0&&e.removeValue(o);return t}const cs=new WeakMap,x2=Object.keys(z0),G4=x2.length,ds=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],j4=dr.length;class N4{constructor({parent:t,props:i,presenceContext:n,reducedMotionConfig:o,visualState:s},l={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{!this.current||(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.scheduleRender=()=>ne.render(this.render,!1,!0);const{latestValues:a,renderState:c}=s;this.latestValues=a,this.baseTarget={...a},this.initialValues=i.initial?{...a}:{},this.renderState=c,this.parent=t,this.props=i,this.presenceContext=n,this.depth=t?t.depth+1:0,this.reducedMotionConfig=o,this.options=l,this.isControllingVariants=L1(i),this.isVariantNode=na(i),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=Boolean(t&&t.current);const{willChange:d,...h}=this.scrapeMotionValuesFromProps(i,{});for(const f in h){const u=h[f];a[f]!==void 0&&ke(u)&&(u.set(a[f],!1),Yi(d)&&d.add(f))}}scrapeMotionValuesFromProps(t,i){return{}}mount(t){this.current=t,cs.set(t,this),this.projection&&this.projection.mount(t),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((i,n)=>this.bindToMotionValue(n,i)),m2.current||z4(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:Un.current,this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){cs.delete(this.current),this.projection&&this.projection.unmount(),ft(this.notifyUpdate),ft(this.render),this.valueSubscriptions.forEach(t=>t()),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this);for(const t in this.events)this.events[t].clear();for(const t in this.features)this.features[t].unmount();this.current=null}bindToMotionValue(t,i){const n=$t.has(t),o=i.on("change",l=>{this.latestValues[t]=l,this.props.onUpdate&&ne.update(this.notifyUpdate,!1,!0),n&&this.projection&&(this.projection.isTransformDirty=!0)}),s=i.on("renderRequest",this.scheduleRender);this.valueSubscriptions.set(t,()=>{o(),s()})}sortNodePosition(t){return!this.current||!this.sortInstanceNodePosition||this.type!==t.type?0:this.sortInstanceNodePosition(this.current,t.current)}loadFeatures({children:t,...i},n,o,s,l){let a,c;for(let d=0;d<G4;d++){const h=x2[d],{isEnabled:f,Feature:u,ProjectionNode:g,MeasureLayout:v}=z0[h];g&&(a=g),f(i)&&(!this.features[h]&&u&&(this.features[h]=new u(this)),v&&(c=v))}if(!this.projection&&a){this.projection=new a(s,this.latestValues,this.parent&&this.parent.projection);const{layoutId:d,layout:h,drag:f,dragConstraints:u,layoutScroll:g,layoutRoot:v}=i;this.projection.setOptions({layoutId:d,layout:h,alwaysMeasureLayout:Boolean(f)||u&&Yt(u),visualElement:this,scheduleRender:()=>this.scheduleRender(),animationType:typeof h=="string"?h:"both",initialPromotionConfig:l,layoutScroll:g,layoutRoot:v})}return c}updateFeatures(){for(const t in this.features){const i=this.features[t];i.isMounted?i.update(this.props,this.prevProps):(i.mount(),i.isMounted=!0)}}triggerBuild(){this.build(this.renderState,this.latestValues,this.options,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):fe()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,i){this.latestValues[t]=i}makeTargetAnimatable(t,i=!0){return this.makeTargetAnimatableFromInstance(t,this.props,i)}update(t,i){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=i;for(let n=0;n<ds.length;n++){const o=ds[n];this.propEventSubscriptions[o]&&(this.propEventSubscriptions[o](),delete this.propEventSubscriptions[o]);const s=t["on"+o];s&&(this.propEventSubscriptions[o]=this.on(o,s))}this.prevMotionValues=W4(this,this.scrapeMotionValuesFromProps(t,this.prevProps),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(t){return this.props.variants?this.props.variants[t]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}getVariantContext(t=!1){if(t)return this.parent?this.parent.getVariantContext():void 0;if(!this.isControllingVariants){const n=this.parent?this.parent.getVariantContext()||{}:{};return this.props.initial!==void 0&&(n.initial=this.props.initial),n}const i={};for(let n=0;n<j4;n++){const o=dr[n],s=this.props[o];(U0(s)||s===!1)&&(i[o]=s)}return i}addVariantChild(t){const i=this.getClosestVariantNode();if(i)return i.variantChildren&&i.variantChildren.add(t),()=>i.variantChildren.delete(t)}addValue(t,i){i!==this.values.get(t)&&(this.removeValue(t),this.bindToMotionValue(t,i)),this.values.set(t,i),this.latestValues[t]=i.get()}removeValue(t){this.values.delete(t);const i=this.valueSubscriptions.get(t);i&&(i(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,i){if(this.props.values&&this.props.values[t])return this.props.values[t];let n=this.values.get(t);return n===void 0&&i!==void 0&&(n=n0(i,{owner:this}),this.addValue(t,n)),n}readValue(t){return this.latestValues[t]!==void 0||!this.current?this.latestValues[t]:this.readValueFromInstance(this.current,t,this.options)}setBaseTarget(t,i){this.baseTarget[t]=i}getBaseTarget(t){var i;const{initial:n}=this.props,o=typeof n=="string"||typeof n=="object"?(i=yr(this.props,n))===null||i===void 0?void 0:i[t]:void 0;if(n&&o!==void 0)return o;const s=this.getBaseTargetFromProps(this.props,t);return s!==void 0&&!ke(s)?s:this.initialValues[t]!==void 0&&o===void 0?void 0:this.baseTarget[t]}on(t,i){return this.events[t]||(this.events[t]=new kr),this.events[t].add(i)}notify(t,...i){this.events[t]&&this.events[t].notify(...i)}}class w2 extends N4{sortInstanceNodePosition(t,i){return t.compareDocumentPosition(i)&2?1:-1}getBaseTargetFromProps(t,i){return t.style?t.style[i]:void 0}removeValueFromRenderState(t,{vars:i,style:n}){delete i[t],delete n[t]}makeTargetAnimatableFromInstance({transition:t,transitionEnd:i,...n},{transformValues:o},s){let l=ph(n,t||{},this);if(o&&(i&&(i=o(i)),n&&(n=o(n)),l&&(l=o(l))),s){fh(this,n,l);const a=U4(this,n,l,i);i=a.transitionEnd,n=a.target}return{transition:t,transitionEnd:i,...n}}}function X4(e){return window.getComputedStyle(e)}class Y4 extends w2{readValueFromInstance(t,i){if($t.has(i)){const n=Sr(i);return n&&n.default||0}else{const n=X4(t),o=(la(i)?n.getPropertyValue(i):n[i])||0;return typeof o=="string"?o.trim():o}}measureInstanceViewportBox(t,{transformPagePoint:i}){return a2(t,i)}build(t,i,n,o){pr(t,i,n,o.transformTemplate)}scrapeMotionValuesFromProps(t,i){return wr(t,i)}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:t}=this.props;ke(t)&&(this.childSubscription=t.on("change",i=>{this.current&&(this.current.textContent=`${i}`)}))}renderInstance(t,i,n,o){ua(t,i,n,o)}}class K4 extends w2{constructor(){super(...arguments),this.isSVGTag=!1}getBaseTargetFromProps(t,i){return t[i]}readValueFromInstance(t,i){if($t.has(i)){const n=Sr(i);return n&&n.default||0}return i=pa.has(i)?i:xr(i),t.getAttribute(i)}measureInstanceViewportBox(){return fe()}scrapeMotionValuesFromProps(t,i){return va(t,i)}build(t,i,n,o){vr(t,i,n,this.isSVGTag,o.transformTemplate)}renderInstance(t,i,n,o){ga(t,i,n,o)}mount(t){this.isSVGTag=mr(t.tagName),super.mount(t)}}const y2=(e,t)=>ur(e)?new K4(t,{enableHardwareAcceleration:!1}):new Y4(t,{enableHardwareAcceleration:!0}),q4={layout:{ProjectionNode:g2,MeasureLayout:c2}},Q4={...i2,...Za,...k4,...q4},Se=r3((e,t)=>E3(e,t,Q4,y2));function _2(){const e=M.exports.useRef(!1);return Ui(()=>(e.current=!0,()=>{e.current=!1}),[]),e}function J4(){const e=_2(),[t,i]=M.exports.useState(0),n=M.exports.useCallback(()=>{e.current&&i(t+1)},[t]);return[M.exports.useCallback(()=>ne.postRender(n),[n]),t]}class ef extends M.exports.Component{getSnapshotBeforeUpdate(t){const i=this.props.childRef.current;if(i&&t.isPresent&&!this.props.isPresent){const n=this.props.sizeRef.current;n.height=i.offsetHeight||0,n.width=i.offsetWidth||0,n.top=i.offsetTop,n.left=i.offsetLeft}return null}componentDidUpdate(){}render(){return this.props.children}}function tf({children:e,isPresent:t}){const i=M.exports.useId(),n=M.exports.useRef(null),o=M.exports.useRef({width:0,height:0,top:0,left:0});return M.exports.useInsertionEffect(()=>{const{width:s,height:l,top:a,left:c}=o.current;if(t||!n.current||!s||!l)return;n.current.dataset.motionPopId=i;const d=document.createElement("style");return document.head.appendChild(d),d.sheet&&d.sheet.insertRule(`
|
|
8
|
+
*/var ye=typeof Symbol=="function"&&Symbol.for,nr=ye?Symbol.for("react.element"):60103,rr=ye?Symbol.for("react.portal"):60106,y1=ye?Symbol.for("react.fragment"):60107,_1=ye?Symbol.for("react.strict_mode"):60108,b1=ye?Symbol.for("react.profiler"):60114,M1=ye?Symbol.for("react.provider"):60109,Z1=ye?Symbol.for("react.context"):60110,or=ye?Symbol.for("react.async_mode"):60111,S1=ye?Symbol.for("react.concurrent_mode"):60111,I1=ye?Symbol.for("react.forward_ref"):60112,C1=ye?Symbol.for("react.suspense"):60113,Cc=ye?Symbol.for("react.suspense_list"):60120,A1=ye?Symbol.for("react.memo"):60115,R1=ye?Symbol.for("react.lazy"):60116,Ac=ye?Symbol.for("react.block"):60121,Rc=ye?Symbol.for("react.fundamental"):60117,kc=ye?Symbol.for("react.responder"):60118,Fc=ye?Symbol.for("react.scope"):60119;function Ve(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case nr:switch(e=e.type,e){case or:case S1:case y1:case b1:case _1:case C1:return e;default:switch(e=e&&e.$$typeof,e){case Z1:case I1:case R1:case A1:case M1:return e;default:return t}}case rr:return t}}}function Xl(e){return Ve(e)===S1}te.AsyncMode=or;te.ConcurrentMode=S1;te.ContextConsumer=Z1;te.ContextProvider=M1;te.Element=nr;te.ForwardRef=I1;te.Fragment=y1;te.Lazy=R1;te.Memo=A1;te.Portal=rr;te.Profiler=b1;te.StrictMode=_1;te.Suspense=C1;te.isAsyncMode=function(e){return Xl(e)||Ve(e)===or};te.isConcurrentMode=Xl;te.isContextConsumer=function(e){return Ve(e)===Z1};te.isContextProvider=function(e){return Ve(e)===M1};te.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===nr};te.isForwardRef=function(e){return Ve(e)===I1};te.isFragment=function(e){return Ve(e)===y1};te.isLazy=function(e){return Ve(e)===R1};te.isMemo=function(e){return Ve(e)===A1};te.isPortal=function(e){return Ve(e)===rr};te.isProfiler=function(e){return Ve(e)===b1};te.isStrictMode=function(e){return Ve(e)===_1};te.isSuspense=function(e){return Ve(e)===C1};te.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===y1||e===S1||e===b1||e===_1||e===C1||e===Cc||typeof e=="object"&&e!==null&&(e.$$typeof===R1||e.$$typeof===A1||e.$$typeof===M1||e.$$typeof===Z1||e.$$typeof===I1||e.$$typeof===Rc||e.$$typeof===kc||e.$$typeof===Fc||e.$$typeof===Ac)};te.typeOf=Ve;(function(e){e.exports=te})(Nl);var Yl=Nl.exports,Bc={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},Ec={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},Kl={};Kl[Yl.ForwardRef]=Bc;Kl[Yl.Memo]=Ec;var Lc=!0;function ql(e,t,i){var n="";return i.split(" ").forEach(function(o){e[o]!==void 0?t.push(e[o]+";"):n+=o+" "}),n}var sr=function(t,i,n){var o=t.key+"-"+i.name;(n===!1||Lc===!1)&&t.registered[o]===void 0&&(t.registered[o]=i.styles)},Ql=function(t,i,n){sr(t,i,n);var o=t.key+"-"+i.name;if(t.inserted[i.name]===void 0){var s=i;do t.insert(i===s?"."+o:"",s,t.sheet,!0),s=s.next;while(s!==void 0)}};function Dc(e){for(var t=0,i,n=0,o=e.length;o>=4;++n,o-=4)i=e.charCodeAt(n)&255|(e.charCodeAt(++n)&255)<<8|(e.charCodeAt(++n)&255)<<16|(e.charCodeAt(++n)&255)<<24,i=(i&65535)*1540483477+((i>>>16)*59797<<16),i^=i>>>24,t=(i&65535)*1540483477+((i>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(o){case 3:t^=(e.charCodeAt(n+2)&255)<<16;case 2:t^=(e.charCodeAt(n+1)&255)<<8;case 1:t^=e.charCodeAt(n)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var Tc={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},Vc=/[A-Z]|^ms/g,Pc=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Jl=function(t){return t.charCodeAt(1)===45},eo=function(t){return t!=null&&typeof t!="boolean"},Y1=Vl(function(e){return Jl(e)?e:e.replace(Vc,"-$&").toLowerCase()}),to=function(t,i){switch(t){case"animation":case"animationName":if(typeof i=="string")return i.replace(Pc,function(n,o,s){return qe={name:o,styles:s,next:qe},o})}return Tc[t]!==1&&!Jl(t)&&typeof i=="number"&&i!==0?i+"px":i};function $0(e,t,i){if(i==null)return"";if(i.__emotion_styles!==void 0)return i;switch(typeof i){case"boolean":return"";case"object":{if(i.anim===1)return qe={name:i.name,styles:i.styles,next:qe},i.name;if(i.styles!==void 0){var n=i.next;if(n!==void 0)for(;n!==void 0;)qe={name:n.name,styles:n.styles,next:qe},n=n.next;var o=i.styles+";";return o}return Oc(e,t,i)}case"function":{if(e!==void 0){var s=qe,l=i(e);return qe=s,$0(e,t,l)}break}}if(t==null)return i;var a=t[i];return a!==void 0?a:i}function Oc(e,t,i){var n="";if(Array.isArray(i))for(var o=0;o<i.length;o++)n+=$0(e,t,i[o])+";";else for(var s in i){var l=i[s];if(typeof l!="object")t!=null&&t[l]!==void 0?n+=s+"{"+t[l]+"}":eo(l)&&(n+=Y1(s)+":"+to(s,l)+";");else if(Array.isArray(l)&&typeof l[0]=="string"&&(t==null||t[l[0]]===void 0))for(var a=0;a<l.length;a++)eo(l[a])&&(n+=Y1(s)+":"+to(s,l[a])+";");else{var c=$0(e,t,l);switch(s){case"animation":case"animationName":{n+=Y1(s)+":"+c+";";break}default:n+=s+"{"+c+"}"}}}return n}var io=/label:\s*([^\s;\n{]+)\s*(;|$)/g,qe,lr=function(t,i,n){if(t.length===1&&typeof t[0]=="object"&&t[0]!==null&&t[0].styles!==void 0)return t[0];var o=!0,s="";qe=void 0;var l=t[0];l==null||l.raw===void 0?(o=!1,s+=$0(n,i,l)):s+=l[0];for(var a=1;a<t.length;a++)s+=$0(n,i,t[a]),o&&(s+=l[a]);io.lastIndex=0;for(var c="",d;(d=io.exec(s))!==null;)c+="-"+d[1];var h=Dc(s)+c;return{name:h,styles:s,next:qe}},Hc=function(t){return t()},$c=Pi["useInsertionEffect"]?Pi["useInsertionEffect"]:!1,ea=$c||Hc,ta=M.exports.createContext(typeof HTMLElement<"u"?jl({key:"css"}):null);ta.Provider;var Uc=function(t){return M.exports.forwardRef(function(i,n){var o=M.exports.useContext(ta);return t(i,o,n)})},zc=M.exports.createContext({});function R(){for(var e=arguments.length,t=new Array(e),i=0;i<e;i++)t[i]=arguments[i];return lr(t)}var Wc=Pl,Gc=function(t){return t!=="theme"},no=function(t){return typeof t=="string"&&t.charCodeAt(0)>96?Wc:Gc},ro=function(t,i,n){var o;if(i){var s=i.shouldForwardProp;o=t.__emotion_forwardProp&&s?function(l){return t.__emotion_forwardProp(l)&&s(l)}:s}return typeof o!="function"&&n&&(o=t.__emotion_forwardProp),o},jc=function(t){var i=t.cache,n=t.serialized,o=t.isStringTag;return sr(i,n,o),ea(function(){return Ql(i,n,o)}),null},Nc=function e(t,i){var n=t.__emotion_real===t,o=n&&t.__emotion_base||t,s,l;i!==void 0&&(s=i.label,l=i.target);var a=ro(t,i,n),c=a||no(o),d=!c("as");return function(){var h=arguments,f=n&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(s!==void 0&&f.push("label:"+s+";"),h[0]==null||h[0].raw===void 0)f.push.apply(f,h);else{f.push(h[0][0]);for(var u=h.length,g=1;g<u;g++)f.push(h[g],h[0][g])}var v=Uc(function(m,w,_){var Z=d&&m.as||o,b="",I=[],A=m;if(m.theme==null){A={};for(var T in m)A[T]=m[T];A.theme=M.exports.useContext(zc)}typeof m.className=="string"?b=ql(w.registered,I,m.className):m.className!=null&&(b=m.className+" ");var k=lr(f.concat(I),w.registered,A);b+=w.key+"-"+k.name,l!==void 0&&(b+=" "+l);var L=d&&a===void 0?no(Z):c,O={};for(var U in m)d&&U==="as"||L(U)&&(O[U]=m[U]);return O.className=b,O.ref=_,M.exports.createElement(M.exports.Fragment,null,M.exports.createElement(jc,{cache:w,serialized:k,isStringTag:typeof Z=="string"}),M.exports.createElement(Z,O))});return v.displayName=s!==void 0?s:"Styled("+(typeof o=="string"?o:o.displayName||o.name||"Component")+")",v.defaultProps=t.defaultProps,v.__emotion_real=v,v.__emotion_base=o,v.__emotion_styles=f,v.__emotion_forwardProp=a,Object.defineProperty(v,"toString",{value:function(){return"."+l}}),v.withComponent=function(m,w){return e(m,Hi({},i,w,{shouldForwardProp:ro(v,w,!0)})).apply(void 0,f)},v}},Xc=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"],V=Nc.bind();Xc.forEach(function(e){V[e]=V(e)});const ia=M.exports.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"}),k1=M.exports.createContext({}),F1=M.exports.createContext(null),B1=typeof document<"u",Ui=B1?M.exports.useLayoutEffect:M.exports.useEffect,ar=M.exports.createContext({strict:!1});function Yc(e,t,i,n){const{visualElement:o}=M.exports.useContext(k1),s=M.exports.useContext(ar),l=M.exports.useContext(F1),a=M.exports.useContext(ia).reducedMotion,c=M.exports.useRef();n=n||s.renderer,!c.current&&n&&(c.current=n(e,{visualState:t,parent:o,props:i,presenceContext:l,blockInitialAnimation:l?l.initial===!1:!1,reducedMotionConfig:a}));const d=c.current;return M.exports.useInsertionEffect(()=>{d&&d.update(i,l)}),Ui(()=>{d&&d.render()}),M.exports.useEffect(()=>{d&&d.updateFeatures()}),(window.HandoffAppearAnimations?Ui:M.exports.useEffect)(()=>{d&&d.animationState&&d.animationState.animateChanges()}),d}function Yt(e){return typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function Kc(e,t,i){return M.exports.useCallback(n=>{n&&e.mount&&e.mount(n),t&&(n?t.mount(n):t.unmount()),i&&(typeof i=="function"?i(n):Yt(i)&&(i.current=n))},[t])}function U0(e){return typeof e=="string"||Array.isArray(e)}function E1(e){return typeof e=="object"&&typeof e.start=="function"}const cr=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],dr=["initial",...cr];function L1(e){return E1(e.animate)||dr.some(t=>U0(e[t]))}function na(e){return Boolean(L1(e)||e.variants)}function qc(e,t){if(L1(e)){const{initial:i,animate:n}=e;return{initial:i===!1||U0(i)?i:void 0,animate:U0(n)?n:void 0}}return e.inherit!==!1?t:{}}function Qc(e){const{initial:t,animate:i}=qc(e,M.exports.useContext(k1));return M.exports.useMemo(()=>({initial:t,animate:i}),[oo(t),oo(i)])}function oo(e){return Array.isArray(e)?e.join(" "):e}const so={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},z0={};for(const e in so)z0[e]={isEnabled:t=>so[e].some(i=>!!t[i])};function Cn(e){for(const t in e)z0[t]={...z0[t],...e[t]}}function hr(e){const t=M.exports.useRef(null);return t.current===null&&(t.current=e()),t.current}const A0={hasAnimatedSinceResize:!0,hasEverUpdated:!1};let Jc=1;function e3(){return hr(()=>{if(A0.hasEverUpdated)return Jc++})}const fr=M.exports.createContext({}),ra=M.exports.createContext({}),t3=Symbol.for("motionComponentSymbol");function i3({preloadedFeatures:e,createVisualElement:t,useRender:i,useVisualState:n,Component:o}){e&&Cn(e);function s(a,c){let d;const h={...M.exports.useContext(ia),...a,layoutId:n3(a)},{isStatic:f}=h,u=Qc(a),g=f?void 0:e3(),v=n(a,f);if(!f&&B1){u.visualElement=Yc(o,v,h,t);const m=M.exports.useContext(ra),w=M.exports.useContext(ar).strict;u.visualElement&&(d=u.visualElement.loadFeatures(h,w,e,g,m))}return p(k1.Provider,{value:u,children:[d&&u.visualElement?r(d,{visualElement:u.visualElement,...h}):null,i(o,a,g,Kc(v,u.visualElement,c),v,f,u.visualElement)]})}const l=M.exports.forwardRef(s);return l[t3]=o,l}function n3({layoutId:e}){const t=M.exports.useContext(fr).id;return t&&e!==void 0?t+"-"+e:e}function r3(e){function t(n,o={}){return i3(e(n,o))}if(typeof Proxy>"u")return t;const i=new Map;return new Proxy(t,{get:(n,o)=>(i.has(o)||i.set(o,t(o)),i.get(o))})}const o3=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function ur(e){return typeof e!="string"||e.includes("-")?!1:!!(o3.indexOf(e)>-1||/[A-Z]/.test(e))}const zi={};function s3(e){Object.assign(zi,e)}const ti=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],$t=new Set(ti);function oa(e,{layout:t,layoutId:i}){return $t.has(e)||e.startsWith("origin")||(t||i!==void 0)&&(!!zi[e]||e==="opacity")}const Fe=e=>Boolean(e&&e.getVelocity),l3={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},a3=ti.length;function c3(e,{enableHardwareAcceleration:t=!0,allowTransformNone:i=!0},n,o){let s="";for(let l=0;l<a3;l++){const a=ti[l];if(e[a]!==void 0){const c=l3[a]||a;s+=`${c}(${e[a]}) `}}return t&&!e.z&&(s+="translateZ(0)"),s=s.trim(),o?s=o(e,n?"":s):i&&n&&(s="none"),s}const sa=e=>t=>typeof t=="string"&&t.startsWith(e),la=sa("--"),An=sa("var(--"),d3=/var\s*\(\s*--[\w-]+(\s*,\s*(?:(?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)+)?\s*\)/g,h3=(e,t)=>t&&typeof e=="number"?t.transform(e):e,Ot=(e,t,i)=>Math.min(Math.max(i,e),t),Ut={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},R0={...Ut,transform:e=>Ot(0,1,e)},di={...Ut,default:1},k0=e=>Math.round(e*1e5)/1e5,D1=/(-)?([\d]*\.?[\d])+/g,aa=/(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))/gi,f3=/^(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))$/i;function ii(e){return typeof e=="string"}const ni=e=>({test:t=>ii(t)&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),pt=ni("deg"),tt=ni("%"),W=ni("px"),u3=ni("vh"),p3=ni("vw"),lo={...tt,parse:e=>tt.parse(e)/100,transform:e=>tt.transform(e*100)},ao={...Ut,transform:Math.round},ca={borderWidth:W,borderTopWidth:W,borderRightWidth:W,borderBottomWidth:W,borderLeftWidth:W,borderRadius:W,radius:W,borderTopLeftRadius:W,borderTopRightRadius:W,borderBottomRightRadius:W,borderBottomLeftRadius:W,width:W,maxWidth:W,height:W,maxHeight:W,size:W,top:W,right:W,bottom:W,left:W,padding:W,paddingTop:W,paddingRight:W,paddingBottom:W,paddingLeft:W,margin:W,marginTop:W,marginRight:W,marginBottom:W,marginLeft:W,rotate:pt,rotateX:pt,rotateY:pt,rotateZ:pt,scale:di,scaleX:di,scaleY:di,scaleZ:di,skew:pt,skewX:pt,skewY:pt,distance:W,translateX:W,translateY:W,translateZ:W,x:W,y:W,z:W,perspective:W,transformPerspective:W,opacity:R0,originX:lo,originY:lo,originZ:W,zIndex:ao,fillOpacity:R0,strokeOpacity:R0,numOctaves:ao};function pr(e,t,i,n){const{style:o,vars:s,transform:l,transformOrigin:a}=e;let c=!1,d=!1,h=!0;for(const f in t){const u=t[f];if(la(f)){s[f]=u;continue}const g=ca[f],v=h3(u,g);if($t.has(f)){if(c=!0,l[f]=v,!h)continue;u!==(g.default||0)&&(h=!1)}else f.startsWith("origin")?(d=!0,a[f]=v):o[f]=v}if(t.transform||(c||n?o.transform=c3(e.transform,i,h,n):o.transform&&(o.transform="none")),d){const{originX:f="50%",originY:u="50%",originZ:g=0}=a;o.transformOrigin=`${f} ${u} ${g}`}}const gr=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function da(e,t,i){for(const n in t)!Fe(t[n])&&!oa(n,i)&&(e[n]=t[n])}function g3({transformTemplate:e},t,i){return M.exports.useMemo(()=>{const n=gr();return pr(n,t,{enableHardwareAcceleration:!i},e),Object.assign({},n.vars,n.style)},[t])}function v3(e,t,i){const n=e.style||{},o={};return da(o,n,e),Object.assign(o,g3(e,t,i)),e.transformValues?e.transformValues(o):o}function m3(e,t,i){const n={},o=v3(e,t,i);return e.drag&&e.dragListener!==!1&&(n.draggable=!1,o.userSelect=o.WebkitUserSelect=o.WebkitTouchCallout="none",o.touchAction=e.drag===!0?"none":`pan-${e.drag==="x"?"y":"x"}`),e.tabIndex===void 0&&(e.onTap||e.onTapStart||e.whileTap)&&(n.tabIndex=0),n.style=o,n}const x3=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","transformValues","custom","inherit","onLayoutAnimationStart","onLayoutAnimationComplete","onLayoutMeasure","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","ignoreStrict","viewport"]);function Wi(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||x3.has(e)}let ha=e=>!Wi(e);function w3(e){!e||(ha=t=>t.startsWith("on")?!Wi(t):e(t))}try{w3(require("@emotion/is-prop-valid").default)}catch{}function y3(e,t,i){const n={};for(const o in e)o==="values"&&typeof e.values=="object"||(ha(o)||i===!0&&Wi(o)||!t&&!Wi(o)||e.draggable&&o.startsWith("onDrag"))&&(n[o]=e[o]);return n}function co(e,t,i){return typeof e=="string"?e:W.transform(t+i*e)}function _3(e,t,i){const n=co(t,e.x,e.width),o=co(i,e.y,e.height);return`${n} ${o}`}const b3={offset:"stroke-dashoffset",array:"stroke-dasharray"},M3={offset:"strokeDashoffset",array:"strokeDasharray"};function Z3(e,t,i=1,n=0,o=!0){e.pathLength=1;const s=o?b3:M3;e[s.offset]=W.transform(-n);const l=W.transform(t),a=W.transform(i);e[s.array]=`${l} ${a}`}function vr(e,{attrX:t,attrY:i,attrScale:n,originX:o,originY:s,pathLength:l,pathSpacing:a=1,pathOffset:c=0,...d},h,f,u){if(pr(e,d,h,u),f){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};const{attrs:g,style:v,dimensions:m}=e;g.transform&&(m&&(v.transform=g.transform),delete g.transform),m&&(o!==void 0||s!==void 0||v.transform)&&(v.transformOrigin=_3(m,o!==void 0?o:.5,s!==void 0?s:.5)),t!==void 0&&(g.x=t),i!==void 0&&(g.y=i),n!==void 0&&(g.scale=n),l!==void 0&&Z3(g,l,a,c,!1)}const fa=()=>({...gr(),attrs:{}}),mr=e=>typeof e=="string"&&e.toLowerCase()==="svg";function S3(e,t,i,n){const o=M.exports.useMemo(()=>{const s=fa();return vr(s,t,{enableHardwareAcceleration:!1},mr(n),e.transformTemplate),{...s.attrs,style:{...s.style}}},[t]);if(e.style){const s={};da(s,e.style,e),o.style={...s,...o.style}}return o}function I3(e=!1){return(i,n,o,s,{latestValues:l},a)=>{const d=(ur(i)?S3:m3)(n,l,a,i),f={...y3(n,typeof i=="string",e),...d,ref:s},{children:u}=n,g=M.exports.useMemo(()=>Fe(u)?u.get():u,[u]);return o&&(f["data-projection-id"]=o),M.exports.createElement(i,{...f,children:g})}}const xr=e=>e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase();function ua(e,{style:t,vars:i},n,o){Object.assign(e.style,t,o&&o.getProjectionStyles(n));for(const s in i)e.style.setProperty(s,i[s])}const pa=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]);function ga(e,t,i,n){ua(e,t,void 0,n);for(const o in t.attrs)e.setAttribute(pa.has(o)?o:xr(o),t.attrs[o])}function wr(e,t){const{style:i}=e,n={};for(const o in i)(Fe(i[o])||t.style&&Fe(t.style[o])||oa(o,e))&&(n[o]=i[o]);return n}function va(e,t){const i=wr(e,t);for(const n in e)if(Fe(e[n])||Fe(t[n])){const o=ti.indexOf(n)!==-1?"attr"+n.charAt(0).toUpperCase()+n.substring(1):n;i[o]=e[n]}return i}function yr(e,t,i,n={},o={}){return typeof t=="function"&&(t=t(i!==void 0?i:e.custom,n,o)),typeof t=="string"&&(t=e.variants&&e.variants[t]),typeof t=="function"&&(t=t(i!==void 0?i:e.custom,n,o)),t}const Gi=e=>Array.isArray(e),C3=e=>Boolean(e&&typeof e=="object"&&e.mix&&e.toValue),A3=e=>Gi(e)?e[e.length-1]||0:e;function Ei(e){const t=Fe(e)?e.get():e;return C3(t)?t.toValue():t}function R3({scrapeMotionValuesFromProps:e,createRenderState:t,onMount:i},n,o,s){const l={latestValues:k3(n,o,s,e),renderState:t()};return i&&(l.mount=a=>i(n,a,l)),l}const ma=e=>(t,i)=>{const n=M.exports.useContext(k1),o=M.exports.useContext(F1),s=()=>R3(e,t,n,o);return i?s():hr(s)};function k3(e,t,i,n){const o={},s=n(e,{});for(const u in s)o[u]=Ei(s[u]);let{initial:l,animate:a}=e;const c=L1(e),d=na(e);t&&d&&!c&&e.inherit!==!1&&(l===void 0&&(l=t.initial),a===void 0&&(a=t.animate));let h=i?i.initial===!1:!1;h=h||l===!1;const f=h?a:l;return f&&typeof f!="boolean"&&!E1(f)&&(Array.isArray(f)?f:[f]).forEach(g=>{const v=yr(e,g);if(!v)return;const{transitionEnd:m,transition:w,..._}=v;for(const Z in _){let b=_[Z];if(Array.isArray(b)){const I=h?b.length-1:0;b=b[I]}b!==null&&(o[Z]=b)}for(const Z in m)o[Z]=m[Z]}),o}const F3={useVisualState:ma({scrapeMotionValuesFromProps:va,createRenderState:fa,onMount:(e,t,{renderState:i,latestValues:n})=>{try{i.dimensions=typeof t.getBBox=="function"?t.getBBox():t.getBoundingClientRect()}catch{i.dimensions={x:0,y:0,width:0,height:0}}vr(i,n,{enableHardwareAcceleration:!1},mr(t.tagName),e.transformTemplate),ga(t,i)}})},B3={useVisualState:ma({scrapeMotionValuesFromProps:wr,createRenderState:gr})};function E3(e,{forwardMotionProps:t=!1},i,n){return{...ur(e)?F3:B3,preloadedFeatures:i,useRender:I3(t),createVisualElement:n,Component:e}}function at(e,t,i,n={passive:!0}){return e.addEventListener(t,i,n),()=>e.removeEventListener(t,i)}const xa=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1;function T1(e,t="page"){return{point:{x:e[t+"X"],y:e[t+"Y"]}}}const L3=e=>t=>xa(t)&&e(t,T1(t));function ct(e,t,i,n){return at(e,t,L3(i),n)}const D3=(e,t)=>i=>t(e(i)),xt=(...e)=>e.reduce(D3);function wa(e){let t=null;return()=>{const i=()=>{t=null};return t===null?(t=e,i):!1}}const ho=wa("dragHorizontal"),fo=wa("dragVertical");function ya(e){let t=!1;if(e==="y")t=fo();else if(e==="x")t=ho();else{const i=ho(),n=fo();i&&n?t=()=>{i(),n()}:(i&&i(),n&&n())}return t}function _a(){const e=ya(!0);return e?(e(),!1):!0}class St{constructor(t){this.isMounted=!1,this.node=t}update(){}}function T3(e){let t=[],i=[],n=0,o=!1,s=!1;const l=new WeakSet,a={schedule:(c,d=!1,h=!1)=>{const f=h&&o,u=f?t:i;return d&&l.add(c),u.indexOf(c)===-1&&(u.push(c),f&&o&&(n=t.length)),c},cancel:c=>{const d=i.indexOf(c);d!==-1&&i.splice(d,1),l.delete(c)},process:c=>{if(o){s=!0;return}if(o=!0,[t,i]=[i,t],i.length=0,n=t.length,n)for(let d=0;d<n;d++){const h=t[d];h(c),l.has(h)&&(a.schedule(h),e())}o=!1,s&&(s=!1,a.process(c))}};return a}const me={delta:0,timestamp:0,isProcessing:!1},V3=40;let Rn=!0,W0=!1;const V1=["read","update","preRender","render","postRender"],e0=V1.reduce((e,t)=>(e[t]=T3(()=>W0=!0),e),{}),P3=e=>e0[e].process(me),ba=e=>{W0=!1,me.delta=Rn?1e3/60:Math.max(Math.min(e-me.timestamp,V3),1),me.timestamp=e,me.isProcessing=!0,V1.forEach(P3),me.isProcessing=!1,W0&&(Rn=!1,requestAnimationFrame(ba))},O3=()=>{W0=!0,Rn=!0,me.isProcessing||requestAnimationFrame(ba)},ne=V1.reduce((e,t)=>{const i=e0[t];return e[t]=(n,o=!1,s=!1)=>(W0||O3(),i.schedule(n,o,s)),e},{});function ft(e){V1.forEach(t=>e0[t].cancel(e))}function uo(e,t){const i="pointer"+(t?"enter":"leave"),n="onHover"+(t?"Start":"End"),o=(s,l)=>{if(s.type==="touch"||_a())return;const a=e.getProps();e.animationState&&a.whileHover&&e.animationState.setActive("whileHover",t),a[n]&&ne.update(()=>a[n](s,l))};return ct(e.current,i,o,{passive:!e.getProps()[n]})}class H3 extends St{mount(){this.unmount=xt(uo(this.node,!0),uo(this.node,!1))}unmount(){}}class $3 extends St{constructor(){super(...arguments),this.isActive=!1}onFocus(){let t=!1;try{t=this.node.current.matches(":focus-visible")}catch{t=!0}!t||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){!this.isActive||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=xt(at(this.node.current,"focus",()=>this.onFocus()),at(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}const Ma=(e,t)=>t?e===t?!0:Ma(e,t.parentElement):!1,ve=e=>e;function K1(e,t){if(!t)return;const i=new PointerEvent("pointer"+e);t(i,T1(i))}class U3 extends St{constructor(){super(...arguments),this.removeStartListeners=ve,this.removeEndListeners=ve,this.removeAccessibleListeners=ve,this.startPointerPress=(t,i)=>{if(this.removeEndListeners(),this.isPressing)return;const n=this.node.getProps(),s=ct(window,"pointerup",(a,c)=>{if(!this.checkPressEnd())return;const{onTap:d,onTapCancel:h}=this.node.getProps();ne.update(()=>{Ma(this.node.current,a.target)?d&&d(a,c):h&&h(a,c)})},{passive:!(n.onTap||n.onPointerUp)}),l=ct(window,"pointercancel",(a,c)=>this.cancelPress(a,c),{passive:!(n.onTapCancel||n.onPointerCancel)});this.removeEndListeners=xt(s,l),this.startPress(t,i)},this.startAccessiblePress=()=>{const t=s=>{if(s.key!=="Enter"||this.isPressing)return;const l=a=>{a.key!=="Enter"||!this.checkPressEnd()||K1("up",(c,d)=>{const{onTap:h}=this.node.getProps();h&&ne.update(()=>h(c,d))})};this.removeEndListeners(),this.removeEndListeners=at(this.node.current,"keyup",l),K1("down",(a,c)=>{this.startPress(a,c)})},i=at(this.node.current,"keydown",t),n=()=>{!this.isPressing||K1("cancel",(s,l)=>this.cancelPress(s,l))},o=at(this.node.current,"blur",n);this.removeAccessibleListeners=xt(i,o)}}startPress(t,i){this.isPressing=!0;const{onTapStart:n,whileTap:o}=this.node.getProps();o&&this.node.animationState&&this.node.animationState.setActive("whileTap",!0),n&&ne.update(()=>n(t,i))}checkPressEnd(){return this.removeEndListeners(),this.isPressing=!1,this.node.getProps().whileTap&&this.node.animationState&&this.node.animationState.setActive("whileTap",!1),!_a()}cancelPress(t,i){if(!this.checkPressEnd())return;const{onTapCancel:n}=this.node.getProps();n&&ne.update(()=>n(t,i))}mount(){const t=this.node.getProps(),i=ct(this.node.current,"pointerdown",this.startPointerPress,{passive:!(t.onTapStart||t.onPointerStart)}),n=at(this.node.current,"focus",this.startAccessiblePress);this.removeStartListeners=xt(i,n)}unmount(){this.removeStartListeners(),this.removeEndListeners(),this.removeAccessibleListeners()}}const kn=new WeakMap,q1=new WeakMap,z3=e=>{const t=kn.get(e.target);t&&t(e)},W3=e=>{e.forEach(z3)};function G3({root:e,...t}){const i=e||document;q1.has(i)||q1.set(i,{});const n=q1.get(i),o=JSON.stringify(t);return n[o]||(n[o]=new IntersectionObserver(W3,{root:e,...t})),n[o]}function j3(e,t,i){const n=G3(t);return kn.set(e,i),n.observe(e),()=>{kn.delete(e),n.unobserve(e)}}const N3={some:0,all:1};class X3 extends St{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:t={}}=this.node.getProps(),{root:i,margin:n,amount:o="some",once:s}=t,l={root:i?i.current:void 0,rootMargin:n,threshold:typeof o=="number"?o:N3[o]},a=c=>{const{isIntersecting:d}=c;if(this.isInView===d||(this.isInView=d,s&&!d&&this.hasEnteredView))return;d&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",d);const{onViewportEnter:h,onViewportLeave:f}=this.node.getProps(),u=d?h:f;u&&u(c)};return j3(this.node.current,l,a)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:t,prevProps:i}=this.node;["amount","margin","root"].some(Y3(t,i))&&this.startObserver()}unmount(){}}function Y3({viewport:e={}},{viewport:t={}}={}){return i=>e[i]!==t[i]}const Za={inView:{Feature:X3},tap:{Feature:U3},focus:{Feature:$3},hover:{Feature:H3}};function Sa(e,t){if(!Array.isArray(t))return!1;const i=t.length;if(i!==e.length)return!1;for(let n=0;n<i;n++)if(t[n]!==e[n])return!1;return!0}function K3(e){const t={};return e.values.forEach((i,n)=>t[n]=i.get()),t}function q3(e){const t={};return e.values.forEach((i,n)=>t[n]=i.getVelocity()),t}function P1(e,t,i){const n=e.getProps();return yr(n,t,i!==void 0?i:n.custom,K3(e),q3(e))}const Q3="framerAppearId",J3="data-"+xr(Q3);let _r=ve,O1=ve;const wt=e=>e*1e3,dt=e=>e/1e3,ed={current:!1},Ia=e=>Array.isArray(e)&&typeof e[0]=="number";function Ca(e){return Boolean(!e||typeof e=="string"&&Aa[e]||Ia(e)||Array.isArray(e)&&e.every(Ca))}const _0=([e,t,i,n])=>`cubic-bezier(${e}, ${t}, ${i}, ${n})`,Aa={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:_0([0,.65,.55,1]),circOut:_0([.55,0,1,.45]),backIn:_0([.31,.01,.66,-.59]),backOut:_0([.33,1.53,.69,.99])};function Ra(e){if(!!e)return Ia(e)?_0(e):Array.isArray(e)?e.map(Ra):Aa[e]}function td(e,t,i,{delay:n=0,duration:o,repeat:s=0,repeatType:l="loop",ease:a,times:c}={}){const d={[t]:i};c&&(d.offset=c);const h=Ra(a);return Array.isArray(h)&&(d.easing=h),e.animate(d,{delay:n,duration:o,easing:Array.isArray(h)?"linear":h,fill:"both",iterations:s+1,direction:l==="reverse"?"alternate":"normal"})}const po={waapi:()=>Object.hasOwnProperty.call(Element.prototype,"animate")},Q1={},ka={};for(const e in po)ka[e]=()=>(Q1[e]===void 0&&(Q1[e]=po[e]()),Q1[e]);function id(e,{repeat:t,repeatType:i="loop"}){const n=t&&i!=="loop"&&t%2===1?0:e.length-1;return e[n]}const Fa=(e,t,i)=>(((1-3*i+3*t)*e+(3*i-6*t))*e+3*t)*e,nd=1e-7,rd=12;function od(e,t,i,n,o){let s,l,a=0;do l=t+(i-t)/2,s=Fa(l,n,o)-e,s>0?i=l:t=l;while(Math.abs(s)>nd&&++a<rd);return l}function ri(e,t,i,n){if(e===t&&i===n)return ve;const o=s=>od(s,0,1,e,i);return s=>s===0||s===1?s:Fa(o(s),t,n)}const sd=ri(.42,0,1,1),ld=ri(0,0,.58,1),Ba=ri(.42,0,.58,1),ad=e=>Array.isArray(e)&&typeof e[0]!="number",Ea=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,La=e=>t=>1-e(1-t),Da=e=>1-Math.sin(Math.acos(e)),br=La(Da),cd=Ea(br),Ta=ri(.33,1.53,.69,.99),Mr=La(Ta),dd=Ea(Mr),hd=e=>(e*=2)<1?.5*Mr(e):.5*(2-Math.pow(2,-10*(e-1))),fd={linear:ve,easeIn:sd,easeInOut:Ba,easeOut:ld,circIn:Da,circInOut:cd,circOut:br,backIn:Mr,backInOut:dd,backOut:Ta,anticipate:hd},go=e=>{if(Array.isArray(e)){O1(e.length===4);const[t,i,n,o]=e;return ri(t,i,n,o)}else if(typeof e=="string")return fd[e];return e},Zr=(e,t)=>i=>Boolean(ii(i)&&f3.test(i)&&i.startsWith(e)||t&&Object.prototype.hasOwnProperty.call(i,t)),Va=(e,t,i)=>n=>{if(!ii(n))return n;const[o,s,l,a]=n.match(D1);return{[e]:parseFloat(o),[t]:parseFloat(s),[i]:parseFloat(l),alpha:a!==void 0?parseFloat(a):1}},ud=e=>Ot(0,255,e),J1={...Ut,transform:e=>Math.round(ud(e))},Tt={test:Zr("rgb","red"),parse:Va("red","green","blue"),transform:({red:e,green:t,blue:i,alpha:n=1})=>"rgba("+J1.transform(e)+", "+J1.transform(t)+", "+J1.transform(i)+", "+k0(R0.transform(n))+")"};function pd(e){let t="",i="",n="",o="";return e.length>5?(t=e.substring(1,3),i=e.substring(3,5),n=e.substring(5,7),o=e.substring(7,9)):(t=e.substring(1,2),i=e.substring(2,3),n=e.substring(3,4),o=e.substring(4,5),t+=t,i+=i,n+=n,o+=o),{red:parseInt(t,16),green:parseInt(i,16),blue:parseInt(n,16),alpha:o?parseInt(o,16)/255:1}}const Fn={test:Zr("#"),parse:pd,transform:Tt.transform},Kt={test:Zr("hsl","hue"),parse:Va("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:i,alpha:n=1})=>"hsla("+Math.round(e)+", "+tt.transform(k0(t))+", "+tt.transform(k0(i))+", "+k0(R0.transform(n))+")"},Ze={test:e=>Tt.test(e)||Fn.test(e)||Kt.test(e),parse:e=>Tt.test(e)?Tt.parse(e):Kt.test(e)?Kt.parse(e):Fn.parse(e),transform:e=>ii(e)?e:e.hasOwnProperty("red")?Tt.transform(e):Kt.transform(e)},re=(e,t,i)=>-i*e+i*t+e;function en(e,t,i){return i<0&&(i+=1),i>1&&(i-=1),i<1/6?e+(t-e)*6*i:i<1/2?t:i<2/3?e+(t-e)*(2/3-i)*6:e}function gd({hue:e,saturation:t,lightness:i,alpha:n}){e/=360,t/=100,i/=100;let o=0,s=0,l=0;if(!t)o=s=l=i;else{const a=i<.5?i*(1+t):i+t-i*t,c=2*i-a;o=en(c,a,e+1/3),s=en(c,a,e),l=en(c,a,e-1/3)}return{red:Math.round(o*255),green:Math.round(s*255),blue:Math.round(l*255),alpha:n}}const tn=(e,t,i)=>{const n=e*e;return Math.sqrt(Math.max(0,i*(t*t-n)+n))},vd=[Fn,Tt,Kt],md=e=>vd.find(t=>t.test(e));function vo(e){const t=md(e);let i=t.parse(e);return t===Kt&&(i=gd(i)),i}const Pa=(e,t)=>{const i=vo(e),n=vo(t),o={...i};return s=>(o.red=tn(i.red,n.red,s),o.green=tn(i.green,n.green,s),o.blue=tn(i.blue,n.blue,s),o.alpha=re(i.alpha,n.alpha,s),Tt.transform(o))};function xd(e){var t,i;return isNaN(e)&&ii(e)&&(((t=e.match(D1))===null||t===void 0?void 0:t.length)||0)+(((i=e.match(aa))===null||i===void 0?void 0:i.length)||0)>0}const Oa={regex:d3,countKey:"Vars",token:"${v}",parse:ve},Ha={regex:aa,countKey:"Colors",token:"${c}",parse:Ze.parse},$a={regex:D1,countKey:"Numbers",token:"${n}",parse:Ut.parse};function nn(e,{regex:t,countKey:i,token:n,parse:o}){const s=e.tokenised.match(t);!s||(e["num"+i]=s.length,e.tokenised=e.tokenised.replace(t,n),e.values.push(...s.map(o)))}function ji(e){const t=e.toString(),i={value:t,tokenised:t,values:[],numVars:0,numColors:0,numNumbers:0};return i.value.includes("var(--")&&nn(i,Oa),nn(i,Ha),nn(i,$a),i}function Ua(e){return ji(e).values}function za(e){const{values:t,numColors:i,numVars:n,tokenised:o}=ji(e),s=t.length;return l=>{let a=o;for(let c=0;c<s;c++)c<n?a=a.replace(Oa.token,l[c]):c<n+i?a=a.replace(Ha.token,Ze.transform(l[c])):a=a.replace($a.token,k0(l[c]));return a}}const wd=e=>typeof e=="number"?0:e;function yd(e){const t=Ua(e);return za(e)(t.map(wd))}const _t={test:xd,parse:Ua,createTransformer:za,getAnimatableNone:yd},Wa=(e,t)=>i=>`${i>0?t:e}`;function Ga(e,t){return typeof e=="number"?i=>re(e,t,i):Ze.test(e)?Pa(e,t):e.startsWith("var(")?Wa(e,t):Na(e,t)}const ja=(e,t)=>{const i=[...e],n=i.length,o=e.map((s,l)=>Ga(s,t[l]));return s=>{for(let l=0;l<n;l++)i[l]=o[l](s);return i}},_d=(e,t)=>{const i={...e,...t},n={};for(const o in i)e[o]!==void 0&&t[o]!==void 0&&(n[o]=Ga(e[o],t[o]));return o=>{for(const s in n)i[s]=n[s](o);return i}},Na=(e,t)=>{const i=_t.createTransformer(t),n=ji(e),o=ji(t);return n.numVars===o.numVars&&n.numColors===o.numColors&&n.numNumbers>=o.numNumbers?xt(ja(n.values,o.values),i):(_r(!0),Wa(e,t))},G0=(e,t,i)=>{const n=t-e;return n===0?1:(i-e)/n},mo=(e,t)=>i=>re(e,t,i);function bd(e){return typeof e=="number"?mo:typeof e=="string"?Ze.test(e)?Pa:Na:Array.isArray(e)?ja:typeof e=="object"?_d:mo}function Md(e,t,i){const n=[],o=i||bd(e[0]),s=e.length-1;for(let l=0;l<s;l++){let a=o(e[l],e[l+1]);if(t){const c=Array.isArray(t)?t[l]||ve:t;a=xt(c,a)}n.push(a)}return n}function Xa(e,t,{clamp:i=!0,ease:n,mixer:o}={}){const s=e.length;if(O1(s===t.length),s===1)return()=>t[0];e[0]>e[s-1]&&(e=[...e].reverse(),t=[...t].reverse());const l=Md(t,n,o),a=l.length,c=d=>{let h=0;if(a>1)for(;h<e.length-2&&!(d<e[h+1]);h++);const f=G0(e[h],e[h+1],d);return l[h](f)};return i?d=>c(Ot(e[0],e[s-1],d)):c}function Zd(e,t){const i=e[e.length-1];for(let n=1;n<=t;n++){const o=G0(0,t,n);e.push(re(i,1,o))}}function Sd(e){const t=[0];return Zd(t,e.length-1),t}function Id(e,t){return e.map(i=>i*t)}function Cd(e,t){return e.map(()=>t||Ba).splice(0,e.length-1)}function Ni({duration:e=300,keyframes:t,times:i,ease:n="easeInOut"}){const o=ad(n)?n.map(go):go(n),s={done:!1,value:t[0]},l=Id(i&&i.length===t.length?i:Sd(t),e),a=Xa(l,t,{ease:Array.isArray(o)?o:Cd(t,o)});return{calculatedDuration:e,next:c=>(s.value=a(c),s.done=c>=e,s)}}function Ya(e,t){return t?e*(1e3/t):0}const Ad=5;function Ka(e,t,i){const n=Math.max(t-Ad,0);return Ya(i-e(n),t-n)}const rn=.001,Rd=.01,xo=10,kd=.05,Fd=1;function Bd({duration:e=800,bounce:t=.25,velocity:i=0,mass:n=1}){let o,s;_r(e<=wt(xo));let l=1-t;l=Ot(kd,Fd,l),e=Ot(Rd,xo,dt(e)),l<1?(o=d=>{const h=d*l,f=h*e,u=h-i,g=Bn(d,l),v=Math.exp(-f);return rn-u/g*v},s=d=>{const f=d*l*e,u=f*i+i,g=Math.pow(l,2)*Math.pow(d,2)*e,v=Math.exp(-f),m=Bn(Math.pow(d,2),l);return(-o(d)+rn>0?-1:1)*((u-g)*v)/m}):(o=d=>{const h=Math.exp(-d*e),f=(d-i)*e+1;return-rn+h*f},s=d=>{const h=Math.exp(-d*e),f=(i-d)*(e*e);return h*f});const a=5/e,c=Ld(o,s,a);if(e=wt(e),isNaN(c))return{stiffness:100,damping:10,duration:e};{const d=Math.pow(c,2)*n;return{stiffness:d,damping:l*2*Math.sqrt(n*d),duration:e}}}const Ed=12;function Ld(e,t,i){let n=i;for(let o=1;o<Ed;o++)n=n-e(n)/t(n);return n}function Bn(e,t){return e*Math.sqrt(1-t*t)}const Dd=["duration","bounce"],Td=["stiffness","damping","mass"];function wo(e,t){return t.some(i=>e[i]!==void 0)}function Vd(e){let t={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...e};if(!wo(e,Td)&&wo(e,Dd)){const i=Bd(e);t={...t,...i,velocity:0,mass:1},t.isResolvedFromDuration=!0}return t}function qa({keyframes:e,restDelta:t,restSpeed:i,...n}){const o=e[0],s=e[e.length-1],l={done:!1,value:o},{stiffness:a,damping:c,mass:d,velocity:h,duration:f,isResolvedFromDuration:u}=Vd(n),g=h?-dt(h):0,v=c/(2*Math.sqrt(a*d)),m=s-o,w=dt(Math.sqrt(a/d)),_=Math.abs(m)<5;i||(i=_?.01:2),t||(t=_?.005:.5);let Z;if(v<1){const b=Bn(w,v);Z=I=>{const A=Math.exp(-v*w*I);return s-A*((g+v*w*m)/b*Math.sin(b*I)+m*Math.cos(b*I))}}else if(v===1)Z=b=>s-Math.exp(-w*b)*(m+(g+w*m)*b);else{const b=w*Math.sqrt(v*v-1);Z=I=>{const A=Math.exp(-v*w*I),T=Math.min(b*I,300);return s-A*((g+v*w*m)*Math.sinh(T)+b*m*Math.cosh(T))/b}}return{calculatedDuration:u&&f||null,next:b=>{const I=Z(b);if(u)l.done=b>=f;else{let A=g;b!==0&&(v<1?A=Ka(Z,b,I):A=0);const T=Math.abs(A)<=i,k=Math.abs(s-I)<=t;l.done=T&&k}return l.value=l.done?s:I,l}}}function yo({keyframes:e,velocity:t=0,power:i=.8,timeConstant:n=325,bounceDamping:o=10,bounceStiffness:s=500,modifyTarget:l,min:a,max:c,restDelta:d=.5,restSpeed:h}){const f=e[0],u={done:!1,value:f},g=L=>a!==void 0&&L<a||c!==void 0&&L>c,v=L=>a===void 0?c:c===void 0||Math.abs(a-L)<Math.abs(c-L)?a:c;let m=i*t;const w=f+m,_=l===void 0?w:l(w);_!==w&&(m=_-f);const Z=L=>-m*Math.exp(-L/n),b=L=>_+Z(L),I=L=>{const O=Z(L),U=b(L);u.done=Math.abs(O)<=d,u.value=u.done?_:U};let A,T;const k=L=>{!g(u.value)||(A=L,T=qa({keyframes:[u.value,v(u.value)],velocity:Ka(b,L,u.value),damping:o,stiffness:s,restDelta:d,restSpeed:h}))};return k(0),{calculatedDuration:null,next:L=>{let O=!1;return!T&&A===void 0&&(O=!0,I(L),k(L)),A!==void 0&&L>A?T.next(L-A):(!O&&I(L),u)}}}const Pd=e=>{const t=({timestamp:i})=>e(i);return{start:()=>ne.update(t,!0),stop:()=>ft(t),now:()=>me.isProcessing?me.timestamp:performance.now()}},_o=2e4;function bo(e){let t=0;const i=50;let n=e.next(t);for(;!n.done&&t<_o;)t+=i,n=e.next(t);return t>=_o?1/0:t}const Od={decay:yo,inertia:yo,tween:Ni,keyframes:Ni,spring:qa};function Xi({autoplay:e=!0,delay:t=0,driver:i=Pd,keyframes:n,type:o="keyframes",repeat:s=0,repeatDelay:l=0,repeatType:a="loop",onPlay:c,onStop:d,onComplete:h,onUpdate:f,...u}){let g=1,v=!1,m,w;const _=()=>{m&&m(),w=new Promise(z=>{m=z})};_();let Z;const b=Od[o]||Ni;let I;b!==Ni&&typeof n[0]!="number"&&(I=Xa([0,100],n,{clamp:!1}),n=[0,100]);const A=b({...u,keyframes:n});let T;a==="mirror"&&(T=b({...u,keyframes:[...n].reverse(),velocity:-(u.velocity||0)}));let k="idle",L=null,O=null,U=null;A.calculatedDuration===null&&s&&(A.calculatedDuration=bo(A));const{calculatedDuration:N}=A;let H=1/0,P=1/0;N!==null&&(H=N+l,P=H*(s+1)-l);let E=0;const S=z=>{if(O===null)return;g>0&&(O=Math.min(O,z)),L!==null?E=L:E=(z-O)*g;const K=E-t,ge=K<0;E=Math.max(K,0),k==="finished"&&L===null&&(E=P);let j=E,ie=A;if(s){const Ie=E/H;let ut=Math.floor(Ie),He=Ie%1;!He&&Ie>=1&&(He=1),He===1&&ut--,ut=Math.min(ut,s+1);const Gt=Boolean(ut%2);Gt&&(a==="reverse"?(He=1-He,l&&(He-=l/H)):a==="mirror"&&(ie=T));let nt=Ot(0,1,He);E>P&&(nt=a==="reverse"&&Gt?1:0),j=nt*H}const J=ge?{done:!1,value:n[0]}:ie.next(j);I&&(J.value=I(J.value));let{done:Me}=J;!ge&&N!==null&&(Me=E>=P);const Oe=L===null&&(k==="finished"||k==="running"&&Me||g<0&&E<=0);return f&&f(J.value),Oe&&$(),J},F=()=>{Z&&Z.stop(),Z=void 0},D=()=>{k="idle",F(),_(),O=U=null},$=()=>{k="finished",h&&h(),F(),_()},C=()=>{if(v)return;Z||(Z=i(S));const z=Z.now();c&&c(),L!==null?O=z-L:(!O||k==="finished")&&(O=z),U=O,L=null,k="running",Z.start()};e&&C();const X={then(z,K){return w.then(z,K)},get time(){return dt(E)},set time(z){z=wt(z),E=z,L!==null||!Z||g===0?L=z:O=Z.now()-z/g},get duration(){const z=A.calculatedDuration===null?bo(A):A.calculatedDuration;return dt(z)},get speed(){return g},set speed(z){z===g||!Z||(g=z,X.time=dt(E))},get state(){return k},play:C,pause:()=>{k="paused",L=E},stop:()=>{v=!0,k!=="idle"&&(k="idle",d&&d(),D())},cancel:()=>{U!==null&&S(U),D()},complete:()=>{k="finished"},sample:z=>(O=0,S(z))};return X}const Hd=new Set(["opacity","clipPath","filter","transform","backgroundColor"]),hi=10,$d=2e4,Ud=(e,t)=>t.type==="spring"||e==="backgroundColor"||!Ca(t.ease);function zd(e,t,{onUpdate:i,onComplete:n,...o}){if(!(ka.waapi()&&Hd.has(t)&&!o.repeatDelay&&o.repeatType!=="mirror"&&o.damping!==0&&o.type!=="inertia"))return!1;let l=!1,a,c;const d=()=>{c=new Promise(_=>{a=_})};d();let{keyframes:h,duration:f=300,ease:u,times:g}=o;if(Ud(t,o)){const _=Xi({...o,repeat:0,delay:0});let Z={done:!1,value:h[0]};const b=[];let I=0;for(;!Z.done&&I<$d;)Z=_.sample(I),b.push(Z.value),I+=hi;g=void 0,h=b,f=I-hi,u="linear"}const v=td(e.owner.current,t,h,{...o,duration:f,ease:u,times:g}),m=()=>v.cancel(),w=()=>{ne.update(m),a(),d()};return v.onfinish=()=>{e.set(id(h,o)),n&&n(),w()},{then(_,Z){return c.then(_,Z)},get time(){return dt(v.currentTime||0)},set time(_){v.currentTime=wt(_)},get speed(){return v.playbackRate},set speed(_){v.playbackRate=_},get duration(){return dt(f)},play:()=>{l||(v.play(),ft(m))},pause:()=>v.pause(),stop:()=>{if(l=!0,v.playState==="idle")return;const{currentTime:_}=v;if(_){const Z=Xi({...o,autoplay:!1});e.setWithVelocity(Z.sample(_-hi).value,Z.sample(_).value,hi)}w()},complete:()=>v.finish(),cancel:w}}function Wd({keyframes:e,delay:t,onUpdate:i,onComplete:n}){const o=()=>(i&&i(e[e.length-1]),n&&n(),{time:0,speed:1,duration:0,play:ve,pause:ve,stop:ve,then:s=>(s(),Promise.resolve()),cancel:ve,complete:ve});return t?Xi({keyframes:[0,1],duration:0,delay:t,onComplete:o}):o()}const Gd={type:"spring",stiffness:500,damping:25,restSpeed:10},jd=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),Nd={type:"keyframes",duration:.8},Xd={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},Yd=(e,{keyframes:t})=>t.length>2?Nd:$t.has(e)?e.startsWith("scale")?jd(t[1]):Gd:Xd,En=(e,t)=>e==="zIndex"?!1:!!(typeof t=="number"||Array.isArray(t)||typeof t=="string"&&_t.test(t)&&!t.startsWith("url(")),Kd=new Set(["brightness","contrast","saturate","opacity"]);function qd(e){const[t,i]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[n]=i.match(D1)||[];if(!n)return e;const o=i.replace(n,"");let s=Kd.has(t)?1:0;return n!==i&&(s*=100),t+"("+s+o+")"}const Qd=/([a-z-]*)\(.*?\)/g,Ln={..._t,getAnimatableNone:e=>{const t=e.match(Qd);return t?t.map(qd).join(" "):e}},Jd={...ca,color:Ze,backgroundColor:Ze,outlineColor:Ze,fill:Ze,stroke:Ze,borderColor:Ze,borderTopColor:Ze,borderRightColor:Ze,borderBottomColor:Ze,borderLeftColor:Ze,filter:Ln,WebkitFilter:Ln},Sr=e=>Jd[e];function Ir(e,t){let i=Sr(e);return i!==Ln&&(i=_t),i.getAnimatableNone?i.getAnimatableNone(t):void 0}function eh({when:e,delay:t,delayChildren:i,staggerChildren:n,staggerDirection:o,repeat:s,repeatType:l,repeatDelay:a,from:c,elapsed:d,...h}){return!!Object.keys(h).length}function Mo(e){return e===0||typeof e=="string"&&parseFloat(e)===0&&e.indexOf(" ")===-1}function Zo(e){return typeof e=="number"?0:Ir("",e)}function Qa(e,t){return e[t]||e.default||e}function th(e,[...t]){for(let i=0;i<t.length;i++)t[i]===null&&(t[i]=i===0?e:t[i-1]);return t}function ih(e,t,i,n){const o=En(t,i);let s=n.from!==void 0?n.from:e.get();return s==="none"&&o&&typeof i=="string"?s=Ir(t,i):Mo(s)&&typeof i=="string"?s=Zo(i):!Array.isArray(i)&&Mo(i)&&typeof s=="string"&&(i=Zo(s)),Array.isArray(i)?th(s,i):[s,i]}const Cr=(e,t,i,n={})=>o=>{const s=Qa(n,e)||{},l=s.delay||n.delay||0;let{elapsed:a=0}=n;a=a-wt(l);const c=ih(t,e,i,s),d=c[0],h=c[c.length-1],f=En(e,d),u=En(e,h);_r(f===u);let g={keyframes:c,velocity:t.getVelocity(),ease:"easeOut",...s,delay:-a,onUpdate:v=>{t.set(v),s.onUpdate&&s.onUpdate(v)},onComplete:()=>{o(),s.onComplete&&s.onComplete()}};if(eh(s)||(g={...g,...Yd(e,g)}),g.duration&&(g.duration=wt(g.duration)),g.repeatDelay&&(g.repeatDelay=wt(g.repeatDelay)),!f||!u||ed.current||s.type===!1)return Wd(g);if(t.owner&&t.owner.current instanceof HTMLElement&&!t.owner.getProps().onUpdate){const v=zd(t,e,g);if(v)return v}return Xi(g)};function Yi(e){return Boolean(Fe(e)&&e.add)}const nh=e=>/^\-?\d*\.?\d+$/.test(e),rh=e=>/^0[^.\s]+$/.test(e);function Ar(e,t){e.indexOf(t)===-1&&e.push(t)}function Rr(e,t){const i=e.indexOf(t);i>-1&&e.splice(i,1)}class kr{constructor(){this.subscriptions=[]}add(t){return Ar(this.subscriptions,t),()=>Rr(this.subscriptions,t)}notify(t,i,n){const o=this.subscriptions.length;if(!!o)if(o===1)this.subscriptions[0](t,i,n);else for(let s=0;s<o;s++){const l=this.subscriptions[s];l&&l(t,i,n)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const oh=e=>!isNaN(parseFloat(e));class sh{constructor(t,i={}){this.version="10.12.6",this.timeDelta=0,this.lastUpdated=0,this.canTrackVelocity=!1,this.events={},this.updateAndNotify=(n,o=!0)=>{this.prev=this.current,this.current=n;const{delta:s,timestamp:l}=me;this.lastUpdated!==l&&(this.timeDelta=s,this.lastUpdated=l,ne.postRender(this.scheduleVelocityCheck)),this.prev!==this.current&&this.events.change&&this.events.change.notify(this.current),this.events.velocityChange&&this.events.velocityChange.notify(this.getVelocity()),o&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.scheduleVelocityCheck=()=>ne.postRender(this.velocityCheck),this.velocityCheck=({timestamp:n})=>{n!==this.lastUpdated&&(this.prev=this.current,this.events.velocityChange&&this.events.velocityChange.notify(this.getVelocity()))},this.hasAnimated=!1,this.prev=this.current=t,this.canTrackVelocity=oh(this.current),this.owner=i.owner}onChange(t){return this.on("change",t)}on(t,i){this.events[t]||(this.events[t]=new kr);const n=this.events[t].add(i);return t==="change"?()=>{n(),ne.read(()=>{this.events.change.getSize()||this.stop()})}:n}clearListeners(){for(const t in this.events)this.events[t].clear()}attach(t,i){this.passiveEffect=t,this.stopPassiveEffect=i}set(t,i=!0){!i||!this.passiveEffect?this.updateAndNotify(t,i):this.passiveEffect(t,this.updateAndNotify)}setWithVelocity(t,i,n){this.set(i),this.prev=t,this.timeDelta=n}jump(t){this.updateAndNotify(t),this.prev=t,this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return this.current}getPrevious(){return this.prev}getVelocity(){return this.canTrackVelocity?Ya(parseFloat(this.current)-parseFloat(this.prev),this.timeDelta):0}start(t){return this.stop(),new Promise(i=>{this.hasAnimated=!0,this.animation=t(i),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function n0(e,t){return new sh(e,t)}const Ja=e=>t=>t.test(e),lh={test:e=>e==="auto",parse:e=>e},e2=[Ut,W,tt,pt,p3,u3,lh],f0=e=>e2.find(Ja(e)),ah=[...e2,Ze,_t],ch=e=>ah.find(Ja(e));function dh(e,t,i){e.hasValue(t)?e.getValue(t).set(i):e.addValue(t,n0(i))}function hh(e,t){const i=P1(e,t);let{transitionEnd:n={},transition:o={},...s}=i?e.makeTargetAnimatable(i,!1):{};s={...s,...n};for(const l in s){const a=A3(s[l]);dh(e,l,a)}}function fh(e,t,i){var n,o;const s=Object.keys(t).filter(a=>!e.hasValue(a)),l=s.length;if(!!l)for(let a=0;a<l;a++){const c=s[a],d=t[c];let h=null;Array.isArray(d)&&(h=d[0]),h===null&&(h=(o=(n=i[c])!==null&&n!==void 0?n:e.readValue(c))!==null&&o!==void 0?o:t[c]),h!=null&&(typeof h=="string"&&(nh(h)||rh(h))?h=parseFloat(h):!ch(h)&&_t.test(d)&&(h=Ir(c,d)),e.addValue(c,n0(h,{owner:e})),i[c]===void 0&&(i[c]=h),h!==null&&e.setBaseTarget(c,h))}}function uh(e,t){return t?(t[e]||t.default||t).from:void 0}function ph(e,t,i){const n={};for(const o in e){const s=uh(o,t);if(s!==void 0)n[o]=s;else{const l=i.getValue(o);l&&(n[o]=l.get())}}return n}function gh({protectedKeys:e,needsAnimating:t},i){const n=e.hasOwnProperty(i)&&t[i]!==!0;return t[i]=!1,n}function t2(e,t,{delay:i=0,transitionOverride:n,type:o}={}){let{transition:s=e.getDefaultTransition(),transitionEnd:l,...a}=e.makeTargetAnimatable(t);const c=e.getValue("willChange");n&&(s=n);const d=[],h=o&&e.animationState&&e.animationState.getState()[o];for(const f in a){const u=e.getValue(f),g=a[f];if(!u||g===void 0||h&&gh(h,f))continue;const v={delay:i,elapsed:0,...s};if(window.HandoffAppearAnimations&&!u.hasAnimated){const w=e.getProps()[J3];w&&(v.elapsed=window.HandoffAppearAnimations(w,f,u,ne))}u.start(Cr(f,u,g,e.shouldReduceMotion&&$t.has(f)?{type:!1}:v));const m=u.animation;Yi(c)&&(c.add(f),m.then(()=>c.remove(f))),d.push(m)}return l&&Promise.all(d).then(()=>{l&&hh(e,l)}),d}function Dn(e,t,i={}){const n=P1(e,t,i.custom);let{transition:o=e.getDefaultTransition()||{}}=n||{};i.transitionOverride&&(o=i.transitionOverride);const s=n?()=>Promise.all(t2(e,n,i)):()=>Promise.resolve(),l=e.variantChildren&&e.variantChildren.size?(c=0)=>{const{delayChildren:d=0,staggerChildren:h,staggerDirection:f}=o;return vh(e,t,d+c,h,f,i)}:()=>Promise.resolve(),{when:a}=o;if(a){const[c,d]=a==="beforeChildren"?[s,l]:[l,s];return c().then(()=>d())}else return Promise.all([s(),l(i.delay)])}function vh(e,t,i=0,n=0,o=1,s){const l=[],a=(e.variantChildren.size-1)*n,c=o===1?(d=0)=>d*n:(d=0)=>a-d*n;return Array.from(e.variantChildren).sort(mh).forEach((d,h)=>{d.notify("AnimationStart",t),l.push(Dn(d,t,{...s,delay:i+c(h)}).then(()=>d.notify("AnimationComplete",t)))}),Promise.all(l)}function mh(e,t){return e.sortNodePosition(t)}function xh(e,t,i={}){e.notify("AnimationStart",t);let n;if(Array.isArray(t)){const o=t.map(s=>Dn(e,s,i));n=Promise.all(o)}else if(typeof t=="string")n=Dn(e,t,i);else{const o=typeof t=="function"?P1(e,t,i.custom):t;n=Promise.all(t2(e,o,i))}return n.then(()=>e.notify("AnimationComplete",t))}const wh=[...cr].reverse(),yh=cr.length;function _h(e){return t=>Promise.all(t.map(({animation:i,options:n})=>xh(e,i,n)))}function bh(e){let t=_h(e);const i=Zh();let n=!0;const o=(c,d)=>{const h=P1(e,d);if(h){const{transition:f,transitionEnd:u,...g}=h;c={...c,...g,...u}}return c};function s(c){t=c(e)}function l(c,d){const h=e.getProps(),f=e.getVariantContext(!0)||{},u=[],g=new Set;let v={},m=1/0;for(let _=0;_<yh;_++){const Z=wh[_],b=i[Z],I=h[Z]!==void 0?h[Z]:f[Z],A=U0(I),T=Z===d?b.isActive:null;T===!1&&(m=_);let k=I===f[Z]&&I!==h[Z]&&A;if(k&&n&&e.manuallyAnimateOnMount&&(k=!1),b.protectedKeys={...v},!b.isActive&&T===null||!I&&!b.prevProp||E1(I)||typeof I=="boolean")continue;const L=Mh(b.prevProp,I);let O=L||Z===d&&b.isActive&&!k&&A||_>m&&A;const U=Array.isArray(I)?I:[I];let N=U.reduce(o,{});T===!1&&(N={});const{prevResolvedValues:H={}}=b,P={...H,...N},E=S=>{O=!0,g.delete(S),b.needsAnimating[S]=!0};for(const S in P){const F=N[S],D=H[S];v.hasOwnProperty(S)||(F!==D?Gi(F)&&Gi(D)?!Sa(F,D)||L?E(S):b.protectedKeys[S]=!0:F!==void 0?E(S):g.add(S):F!==void 0&&g.has(S)?E(S):b.protectedKeys[S]=!0)}b.prevProp=I,b.prevResolvedValues=N,b.isActive&&(v={...v,...N}),n&&e.blockInitialAnimation&&(O=!1),O&&!k&&u.push(...U.map(S=>({animation:S,options:{type:Z,...c}})))}if(g.size){const _={};g.forEach(Z=>{const b=e.getBaseTarget(Z);b!==void 0&&(_[Z]=b)}),u.push({animation:_})}let w=Boolean(u.length);return n&&h.initial===!1&&!e.manuallyAnimateOnMount&&(w=!1),n=!1,w?t(u):Promise.resolve()}function a(c,d,h){var f;if(i[c].isActive===d)return Promise.resolve();(f=e.variantChildren)===null||f===void 0||f.forEach(g=>{var v;return(v=g.animationState)===null||v===void 0?void 0:v.setActive(c,d)}),i[c].isActive=d;const u=l(h,c);for(const g in i)i[g].protectedKeys={};return u}return{animateChanges:l,setActive:a,setAnimateFunction:s,getState:()=>i}}function Mh(e,t){return typeof t=="string"?t!==e:Array.isArray(t)?!Sa(t,e):!1}function It(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function Zh(){return{animate:It(!0),whileInView:It(),whileHover:It(),whileTap:It(),whileDrag:It(),whileFocus:It(),exit:It()}}class Sh extends St{constructor(t){super(t),t.animationState||(t.animationState=bh(t))}updateAnimationControlsSubscription(){const{animate:t}=this.node.getProps();this.unmount(),E1(t)&&(this.unmount=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:t}=this.node.getProps(),{animate:i}=this.node.prevProps||{};t!==i&&this.updateAnimationControlsSubscription()}unmount(){}}let Ih=0;class Ch extends St{constructor(){super(...arguments),this.id=Ih++}update(){if(!this.node.presenceContext)return;const{isPresent:t,onExitComplete:i,custom:n}=this.node.presenceContext,{isPresent:o}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===o)return;const s=this.node.animationState.setActive("exit",!t,{custom:n!=null?n:this.node.getProps().custom});i&&!t&&s.then(()=>i(this.id))}mount(){const{register:t}=this.node.presenceContext||{};t&&(this.unmount=t(this.id))}unmount(){}}const i2={animation:{Feature:Sh},exit:{Feature:Ch}},So=(e,t)=>Math.abs(e-t);function Ah(e,t){const i=So(e.x,t.x),n=So(e.y,t.y);return Math.sqrt(i**2+n**2)}class n2{constructor(t,i,{transformPagePoint:n}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const d=sn(this.lastMoveEventInfo,this.history),h=this.startEvent!==null,f=Ah(d.offset,{x:0,y:0})>=3;if(!h&&!f)return;const{point:u}=d,{timestamp:g}=me;this.history.push({...u,timestamp:g});const{onStart:v,onMove:m}=this.handlers;h||(v&&v(this.lastMoveEvent,d),this.startEvent=this.lastMoveEvent),m&&m(this.lastMoveEvent,d)},this.handlePointerMove=(d,h)=>{this.lastMoveEvent=d,this.lastMoveEventInfo=on(h,this.transformPagePoint),ne.update(this.updatePoint,!0)},this.handlePointerUp=(d,h)=>{if(this.end(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const{onEnd:f,onSessionEnd:u}=this.handlers,g=sn(d.type==="pointercancel"?this.lastMoveEventInfo:on(h,this.transformPagePoint),this.history);this.startEvent&&f&&f(d,g),u&&u(d,g)},!xa(t))return;this.handlers=i,this.transformPagePoint=n;const o=T1(t),s=on(o,this.transformPagePoint),{point:l}=s,{timestamp:a}=me;this.history=[{...l,timestamp:a}];const{onSessionStart:c}=i;c&&c(t,sn(s,this.history)),this.removeListeners=xt(ct(window,"pointermove",this.handlePointerMove),ct(window,"pointerup",this.handlePointerUp),ct(window,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),ft(this.updatePoint)}}function on(e,t){return t?{point:t(e.point)}:e}function Io(e,t){return{x:e.x-t.x,y:e.y-t.y}}function sn({point:e},t){return{point:e,delta:Io(e,r2(t)),offset:Io(e,Rh(t)),velocity:kh(t,.1)}}function Rh(e){return e[0]}function r2(e){return e[e.length-1]}function kh(e,t){if(e.length<2)return{x:0,y:0};let i=e.length-1,n=null;const o=r2(e);for(;i>=0&&(n=e[i],!(o.timestamp-n.timestamp>wt(t)));)i--;if(!n)return{x:0,y:0};const s=dt(o.timestamp-n.timestamp);if(s===0)return{x:0,y:0};const l={x:(o.x-n.x)/s,y:(o.y-n.y)/s};return l.x===1/0&&(l.x=0),l.y===1/0&&(l.y=0),l}function De(e){return e.max-e.min}function Tn(e,t=0,i=.01){return Math.abs(e-t)<=i}function Co(e,t,i,n=.5){e.origin=n,e.originPoint=re(t.min,t.max,e.origin),e.scale=De(i)/De(t),(Tn(e.scale,1,1e-4)||isNaN(e.scale))&&(e.scale=1),e.translate=re(i.min,i.max,e.origin)-e.originPoint,(Tn(e.translate)||isNaN(e.translate))&&(e.translate=0)}function F0(e,t,i,n){Co(e.x,t.x,i.x,n?n.originX:void 0),Co(e.y,t.y,i.y,n?n.originY:void 0)}function Ao(e,t,i){e.min=i.min+t.min,e.max=e.min+De(t)}function Fh(e,t,i){Ao(e.x,t.x,i.x),Ao(e.y,t.y,i.y)}function Ro(e,t,i){e.min=t.min-i.min,e.max=e.min+De(t)}function B0(e,t,i){Ro(e.x,t.x,i.x),Ro(e.y,t.y,i.y)}function Bh(e,{min:t,max:i},n){return t!==void 0&&e<t?e=n?re(t,e,n.min):Math.max(e,t):i!==void 0&&e>i&&(e=n?re(i,e,n.max):Math.min(e,i)),e}function ko(e,t,i){return{min:t!==void 0?e.min+t:void 0,max:i!==void 0?e.max+i-(e.max-e.min):void 0}}function Eh(e,{top:t,left:i,bottom:n,right:o}){return{x:ko(e.x,i,o),y:ko(e.y,t,n)}}function Fo(e,t){let i=t.min-e.min,n=t.max-e.max;return t.max-t.min<e.max-e.min&&([i,n]=[n,i]),{min:i,max:n}}function Lh(e,t){return{x:Fo(e.x,t.x),y:Fo(e.y,t.y)}}function Dh(e,t){let i=.5;const n=De(e),o=De(t);return o>n?i=G0(t.min,t.max-n,e.min):n>o&&(i=G0(e.min,e.max-o,t.min)),Ot(0,1,i)}function Th(e,t){const i={};return t.min!==void 0&&(i.min=t.min-e.min),t.max!==void 0&&(i.max=t.max-e.min),i}const Vn=.35;function Vh(e=Vn){return e===!1?e=0:e===!0&&(e=Vn),{x:Bo(e,"left","right"),y:Bo(e,"top","bottom")}}function Bo(e,t,i){return{min:Eo(e,t),max:Eo(e,i)}}function Eo(e,t){return typeof e=="number"?e:e[t]||0}const Lo=()=>({translate:0,scale:1,origin:0,originPoint:0}),E0=()=>({x:Lo(),y:Lo()}),Do=()=>({min:0,max:0}),fe=()=>({x:Do(),y:Do()});function Ne(e){return[e("x"),e("y")]}function o2({top:e,left:t,right:i,bottom:n}){return{x:{min:t,max:i},y:{min:e,max:n}}}function Ph({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function Oh(e,t){if(!t)return e;const i=t({x:e.left,y:e.top}),n=t({x:e.right,y:e.bottom});return{top:i.y,left:i.x,bottom:n.y,right:n.x}}function ln(e){return e===void 0||e===1}function Pn({scale:e,scaleX:t,scaleY:i}){return!ln(e)||!ln(t)||!ln(i)}function Bt(e){return Pn(e)||s2(e)||e.z||e.rotate||e.rotateX||e.rotateY}function s2(e){return To(e.x)||To(e.y)}function To(e){return e&&e!=="0%"}function Ki(e,t,i){const n=e-i,o=t*n;return i+o}function Vo(e,t,i,n,o){return o!==void 0&&(e=Ki(e,o,n)),Ki(e,i,n)+t}function On(e,t=0,i=1,n,o){e.min=Vo(e.min,t,i,n,o),e.max=Vo(e.max,t,i,n,o)}function l2(e,{x:t,y:i}){On(e.x,t.translate,t.scale,t.originPoint),On(e.y,i.translate,i.scale,i.originPoint)}function Hh(e,t,i,n=!1){const o=i.length;if(!o)return;t.x=t.y=1;let s,l;for(let a=0;a<o;a++){s=i[a],l=s.projectionDelta;const c=s.instance;c&&c.style&&c.style.display==="contents"||(n&&s.options.layoutScroll&&s.scroll&&s!==s.root&&qt(e,{x:-s.scroll.offset.x,y:-s.scroll.offset.y}),l&&(t.x*=l.x.scale,t.y*=l.y.scale,l2(e,l)),n&&Bt(s.latestValues)&&qt(e,s.latestValues))}t.x=Po(t.x),t.y=Po(t.y)}function Po(e){return Number.isInteger(e)||e>1.0000000000001||e<.999999999999?e:1}function gt(e,t){e.min=e.min+t,e.max=e.max+t}function Oo(e,t,[i,n,o]){const s=t[o]!==void 0?t[o]:.5,l=re(e.min,e.max,s);On(e,t[i],t[n],l,t.scale)}const $h=["x","scaleX","originX"],Uh=["y","scaleY","originY"];function qt(e,t){Oo(e.x,t,$h),Oo(e.y,t,Uh)}function a2(e,t){return o2(Oh(e.getBoundingClientRect(),t))}function zh(e,t,i){const n=a2(e,i),{scroll:o}=t;return o&&(gt(n.x,o.offset.x),gt(n.y,o.offset.y)),n}const Wh=new WeakMap;class Gh{constructor(t){this.openGlobalLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=fe(),this.visualElement=t}start(t,{snapToCursor:i=!1}={}){const{presenceContext:n}=this.visualElement;if(n&&n.isPresent===!1)return;const o=c=>{this.stopAnimation(),i&&this.snapToCursor(T1(c,"page").point)},s=(c,d)=>{const{drag:h,dragPropagation:f,onDragStart:u}=this.getProps();if(h&&!f&&(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=ya(h),!this.openGlobalLock))return;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),Ne(v=>{let m=this.getAxisMotionValue(v).get()||0;if(tt.test(m)){const{projection:w}=this.visualElement;if(w&&w.layout){const _=w.layout.layoutBox[v];_&&(m=De(_)*(parseFloat(m)/100))}}this.originPoint[v]=m}),u&&ne.update(()=>u(c,d),!1,!0);const{animationState:g}=this.visualElement;g&&g.setActive("whileDrag",!0)},l=(c,d)=>{const{dragPropagation:h,dragDirectionLock:f,onDirectionLock:u,onDrag:g}=this.getProps();if(!h&&!this.openGlobalLock)return;const{offset:v}=d;if(f&&this.currentDirection===null){this.currentDirection=jh(v),this.currentDirection!==null&&u&&u(this.currentDirection);return}this.updateAxis("x",d.point,v),this.updateAxis("y",d.point,v),this.visualElement.render(),g&&g(c,d)},a=(c,d)=>this.stop(c,d);this.panSession=new n2(t,{onSessionStart:o,onStart:s,onMove:l,onSessionEnd:a},{transformPagePoint:this.visualElement.getTransformPagePoint()})}stop(t,i){const n=this.isDragging;if(this.cancel(),!n)return;const{velocity:o}=i;this.startAnimation(o);const{onDragEnd:s}=this.getProps();s&&ne.update(()=>s(t,i))}cancel(){this.isDragging=!1;const{projection:t,animationState:i}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:n}=this.getProps();!n&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),i&&i.setActive("whileDrag",!1)}updateAxis(t,i,n){const{drag:o}=this.getProps();if(!n||!fi(t,o,this.currentDirection))return;const s=this.getAxisMotionValue(t);let l=this.originPoint[t]+n[t];this.constraints&&this.constraints[t]&&(l=Bh(l,this.constraints[t],this.elastic[t])),s.set(l)}resolveConstraints(){const{dragConstraints:t,dragElastic:i}=this.getProps(),{layout:n}=this.visualElement.projection||{},o=this.constraints;t&&Yt(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):t&&n?this.constraints=Eh(n.layoutBox,t):this.constraints=!1,this.elastic=Vh(i),o!==this.constraints&&n&&this.constraints&&!this.hasMutatedConstraints&&Ne(s=>{this.getAxisMotionValue(s)&&(this.constraints[s]=Th(n.layoutBox[s],this.constraints[s]))})}resolveRefConstraints(){const{dragConstraints:t,onMeasureDragConstraints:i}=this.getProps();if(!t||!Yt(t))return!1;const n=t.current,{projection:o}=this.visualElement;if(!o||!o.layout)return!1;const s=zh(n,o.root,this.visualElement.getTransformPagePoint());let l=Lh(o.layout.layoutBox,s);if(i){const a=i(Ph(l));this.hasMutatedConstraints=!!a,a&&(l=o2(a))}return l}startAnimation(t){const{drag:i,dragMomentum:n,dragElastic:o,dragTransition:s,dragSnapToOrigin:l,onDragTransitionEnd:a}=this.getProps(),c=this.constraints||{},d=Ne(h=>{if(!fi(h,i,this.currentDirection))return;let f=c&&c[h]||{};l&&(f={min:0,max:0});const u=o?200:1e6,g=o?40:1e7,v={type:"inertia",velocity:n?t[h]:0,bounceStiffness:u,bounceDamping:g,timeConstant:750,restDelta:1,restSpeed:10,...s,...f};return this.startAxisValueAnimation(h,v)});return Promise.all(d).then(a)}startAxisValueAnimation(t,i){const n=this.getAxisMotionValue(t);return n.start(Cr(t,n,0,i))}stopAnimation(){Ne(t=>this.getAxisMotionValue(t).stop())}getAxisMotionValue(t){const i="_drag"+t.toUpperCase(),n=this.visualElement.getProps(),o=n[i];return o||this.visualElement.getValue(t,(n.initial?n.initial[t]:void 0)||0)}snapToCursor(t){Ne(i=>{const{drag:n}=this.getProps();if(!fi(i,n,this.currentDirection))return;const{projection:o}=this.visualElement,s=this.getAxisMotionValue(i);if(o&&o.layout){const{min:l,max:a}=o.layout.layoutBox[i];s.set(t[i]-re(l,a,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:t,dragConstraints:i}=this.getProps(),{projection:n}=this.visualElement;if(!Yt(i)||!n||!this.constraints)return;this.stopAnimation();const o={x:0,y:0};Ne(l=>{const a=this.getAxisMotionValue(l);if(a){const c=a.get();o[l]=Dh({min:c,max:c},this.constraints[l])}});const{transformTemplate:s}=this.visualElement.getProps();this.visualElement.current.style.transform=s?s({},""):"none",n.root&&n.root.updateScroll(),n.updateLayout(),this.resolveConstraints(),Ne(l=>{if(!fi(l,t,null))return;const a=this.getAxisMotionValue(l),{min:c,max:d}=this.constraints[l];a.set(re(c,d,o[l]))})}addListeners(){if(!this.visualElement.current)return;Wh.set(this.visualElement,this);const t=this.visualElement.current,i=ct(t,"pointerdown",c=>{const{drag:d,dragListener:h=!0}=this.getProps();d&&h&&this.start(c)}),n=()=>{const{dragConstraints:c}=this.getProps();Yt(c)&&(this.constraints=this.resolveRefConstraints())},{projection:o}=this.visualElement,s=o.addEventListener("measure",n);o&&!o.layout&&(o.root&&o.root.updateScroll(),o.updateLayout()),n();const l=at(window,"resize",()=>this.scalePositionWithinConstraints()),a=o.addEventListener("didUpdate",({delta:c,hasLayoutChanged:d})=>{this.isDragging&&d&&(Ne(h=>{const f=this.getAxisMotionValue(h);!f||(this.originPoint[h]+=c[h].translate,f.set(f.get()+c[h].translate))}),this.visualElement.render())});return()=>{l(),i(),s(),a&&a()}}getProps(){const t=this.visualElement.getProps(),{drag:i=!1,dragDirectionLock:n=!1,dragPropagation:o=!1,dragConstraints:s=!1,dragElastic:l=Vn,dragMomentum:a=!0}=t;return{...t,drag:i,dragDirectionLock:n,dragPropagation:o,dragConstraints:s,dragElastic:l,dragMomentum:a}}}function fi(e,t,i){return(t===!0||t===e)&&(i===null||i===e)}function jh(e,t=10){let i=null;return Math.abs(e.y)>t?i="y":Math.abs(e.x)>t&&(i="x"),i}class Nh extends St{constructor(t){super(t),this.removeGroupControls=ve,this.removeListeners=ve,this.controls=new Gh(t)}mount(){const{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||ve}unmount(){this.removeGroupControls(),this.removeListeners()}}const Ho=e=>(t,i)=>{e&&ne.update(()=>e(t,i))};class Xh extends St{constructor(){super(...arguments),this.removePointerDownListener=ve}onPointerDown(t){this.session=new n2(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint()})}createPanHandlers(){const{onPanSessionStart:t,onPanStart:i,onPan:n,onPanEnd:o}=this.node.getProps();return{onSessionStart:Ho(t),onStart:Ho(i),onMove:n,onEnd:(s,l)=>{delete this.session,o&&ne.update(()=>o(s,l))}}}mount(){this.removePointerDownListener=ct(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}function Yh(){const e=M.exports.useContext(F1);if(e===null)return[!0,null];const{isPresent:t,onExitComplete:i,register:n}=e,o=M.exports.useId();return M.exports.useEffect(()=>n(o),[]),!t&&i?[!1,()=>i&&i(o)]:[!0]}function $o(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const u0={correct:(e,t)=>{if(!t.target)return e;if(typeof e=="string")if(W.test(e))e=parseFloat(e);else return e;const i=$o(e,t.target.x),n=$o(e,t.target.y);return`${i}% ${n}%`}},Kh={correct:(e,{treeScale:t,projectionDelta:i})=>{const n=e,o=_t.parse(e);if(o.length>5)return n;const s=_t.createTransformer(e),l=typeof o[0]!="number"?1:0,a=i.x.scale*t.x,c=i.y.scale*t.y;o[0+l]/=a,o[1+l]/=c;const d=re(a,c,.5);return typeof o[2+l]=="number"&&(o[2+l]/=d),typeof o[3+l]=="number"&&(o[3+l]/=d),s(o)}};class qh extends Dt.Component{componentDidMount(){const{visualElement:t,layoutGroup:i,switchLayoutGroup:n,layoutId:o}=this.props,{projection:s}=t;s3(Qh),s&&(i.group&&i.group.add(s),n&&n.register&&o&&n.register(s),s.root.didUpdate(),s.addEventListener("animationComplete",()=>{this.safeToRemove()}),s.setOptions({...s.options,onExitComplete:()=>this.safeToRemove()})),A0.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){const{layoutDependency:i,visualElement:n,drag:o,isPresent:s}=this.props,l=n.projection;return l&&(l.isPresent=s,o||t.layoutDependency!==i||i===void 0?l.willUpdate():this.safeToRemove(),t.isPresent!==s&&(s?l.promote():l.relegate()||ne.postRender(()=>{const a=l.getStack();(!a||!a.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),!t.currentAnimation&&t.isLead()&&this.safeToRemove())}componentWillUnmount(){const{visualElement:t,layoutGroup:i,switchLayoutGroup:n}=this.props,{projection:o}=t;o&&(o.scheduleCheckAfterUnmount(),i&&i.group&&i.group.remove(o),n&&n.deregister&&n.deregister(o))}safeToRemove(){const{safeToRemove:t}=this.props;t&&t()}render(){return null}}function c2(e){const[t,i]=Yh(),n=M.exports.useContext(fr);return r(qh,{...e,layoutGroup:n,switchLayoutGroup:M.exports.useContext(ra),isPresent:t,safeToRemove:i})}const Qh={borderRadius:{...u0,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:u0,borderTopRightRadius:u0,borderBottomLeftRadius:u0,borderBottomRightRadius:u0,boxShadow:Kh},d2=["TopLeft","TopRight","BottomLeft","BottomRight"],Jh=d2.length,Uo=e=>typeof e=="string"?parseFloat(e):e,zo=e=>typeof e=="number"||W.test(e);function e4(e,t,i,n,o,s){o?(e.opacity=re(0,i.opacity!==void 0?i.opacity:1,t4(n)),e.opacityExit=re(t.opacity!==void 0?t.opacity:1,0,i4(n))):s&&(e.opacity=re(t.opacity!==void 0?t.opacity:1,i.opacity!==void 0?i.opacity:1,n));for(let l=0;l<Jh;l++){const a=`border${d2[l]}Radius`;let c=Wo(t,a),d=Wo(i,a);if(c===void 0&&d===void 0)continue;c||(c=0),d||(d=0),c===0||d===0||zo(c)===zo(d)?(e[a]=Math.max(re(Uo(c),Uo(d),n),0),(tt.test(d)||tt.test(c))&&(e[a]+="%")):e[a]=d}(t.rotate||i.rotate)&&(e.rotate=re(t.rotate||0,i.rotate||0,n))}function Wo(e,t){return e[t]!==void 0?e[t]:e.borderRadius}const t4=h2(0,.5,br),i4=h2(.5,.95,ve);function h2(e,t,i){return n=>n<e?0:n>t?1:i(G0(e,t,n))}function Go(e,t){e.min=t.min,e.max=t.max}function $e(e,t){Go(e.x,t.x),Go(e.y,t.y)}function jo(e,t,i,n,o){return e-=t,e=Ki(e,1/i,n),o!==void 0&&(e=Ki(e,1/o,n)),e}function n4(e,t=0,i=1,n=.5,o,s=e,l=e){if(tt.test(t)&&(t=parseFloat(t),t=re(l.min,l.max,t/100)-l.min),typeof t!="number")return;let a=re(s.min,s.max,n);e===s&&(a-=t),e.min=jo(e.min,t,i,a,o),e.max=jo(e.max,t,i,a,o)}function No(e,t,[i,n,o],s,l){n4(e,t[i],t[n],t[o],t.scale,s,l)}const r4=["x","scaleX","originX"],o4=["y","scaleY","originY"];function Xo(e,t,i,n){No(e.x,t,r4,i?i.x:void 0,n?n.x:void 0),No(e.y,t,o4,i?i.y:void 0,n?n.y:void 0)}function Yo(e){return e.translate===0&&e.scale===1}function f2(e){return Yo(e.x)&&Yo(e.y)}function Hn(e,t){return e.x.min===t.x.min&&e.x.max===t.x.max&&e.y.min===t.y.min&&e.y.max===t.y.max}function Ko(e){return De(e.x)/De(e.y)}class s4{constructor(){this.members=[]}add(t){Ar(this.members,t),t.scheduleRender()}remove(t){if(Rr(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){const i=this.members[this.members.length-1];i&&this.promote(i)}}relegate(t){const i=this.members.findIndex(o=>t===o);if(i===0)return!1;let n;for(let o=i;o>=0;o--){const s=this.members[o];if(s.isPresent!==!1){n=s;break}}return n?(this.promote(n),!0):!1}promote(t,i){const n=this.lead;if(t!==n&&(this.prevLead=n,this.lead=t,t.show(),n)){n.instance&&n.scheduleRender(),t.scheduleRender(),t.resumeFrom=n,i&&(t.resumeFrom.preserveOpacity=!0),n.snapshot&&(t.snapshot=n.snapshot,t.snapshot.latestValues=n.animationValues||n.latestValues),t.root&&t.root.isUpdating&&(t.isLayoutDirty=!0);const{crossfade:o}=t.options;o===!1&&n.hide()}}exitAnimationComplete(){this.members.forEach(t=>{const{options:i,resumingFrom:n}=t;i.onExitComplete&&i.onExitComplete(),n&&n.options.onExitComplete&&n.options.onExitComplete()})}scheduleRender(){this.members.forEach(t=>{t.instance&&t.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function qo(e,t,i){let n="";const o=e.x.translate/t.x,s=e.y.translate/t.y;if((o||s)&&(n=`translate3d(${o}px, ${s}px, 0) `),(t.x!==1||t.y!==1)&&(n+=`scale(${1/t.x}, ${1/t.y}) `),i){const{rotate:c,rotateX:d,rotateY:h}=i;c&&(n+=`rotate(${c}deg) `),d&&(n+=`rotateX(${d}deg) `),h&&(n+=`rotateY(${h}deg) `)}const l=e.x.scale*t.x,a=e.y.scale*t.y;return(l!==1||a!==1)&&(n+=`scale(${l}, ${a})`),n||"none"}const l4=(e,t)=>e.depth-t.depth;class a4{constructor(){this.children=[],this.isDirty=!1}add(t){Ar(this.children,t),this.isDirty=!0}remove(t){Rr(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(l4),this.isDirty=!1,this.children.forEach(t)}}function c4(e,t){const i=performance.now(),n=({timestamp:o})=>{const s=o-i;s>=t&&(ft(n),e(s-t))};return ne.read(n,!0),()=>ft(n)}function d4(e){window.MotionDebug&&window.MotionDebug.record(e)}function h4(e){return e instanceof SVGElement&&e.tagName!=="svg"}function f4(e,t,i){const n=Fe(e)?e:n0(e);return n.start(Cr("",n,t,i)),n.animation}const Qo=["","X","Y","Z"],Jo=1e3;let u4=0;const Et={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0};function u2({attachResizeListener:e,defaultParent:t,measureScroll:i,checkIsScrollRoot:n,resetTransform:o}){return class{constructor(l,a={},c=t==null?void 0:t()){this.id=u4++,this.animationId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.potentialNodes=new Map,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{Et.totalNodes=Et.resolvedTargetDeltas=Et.recalculatedProjection=0,this.nodes.forEach(v4),this.nodes.forEach(y4),this.nodes.forEach(_4),this.nodes.forEach(m4),d4(Et)},this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.elementId=l,this.latestValues=a,this.root=c?c.root||c:this,this.path=c?[...c.path,c]:[],this.parent=c,this.depth=c?c.depth+1:0,l&&this.root.registerPotentialNode(l,this);for(let d=0;d<this.path.length;d++)this.path[d].shouldResetTransform=!0;this.root===this&&(this.nodes=new a4)}addEventListener(l,a){return this.eventHandlers.has(l)||this.eventHandlers.set(l,new kr),this.eventHandlers.get(l).add(a)}notifyListeners(l,...a){const c=this.eventHandlers.get(l);c&&c.notify(...a)}hasListeners(l){return this.eventHandlers.has(l)}registerPotentialNode(l,a){this.potentialNodes.set(l,a)}mount(l,a=!1){if(this.instance)return;this.isSVG=h4(l),this.instance=l;const{layoutId:c,layout:d,visualElement:h}=this.options;if(h&&!h.current&&h.mount(l),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.elementId&&this.root.potentialNodes.delete(this.elementId),a&&(d||c)&&(this.isLayoutDirty=!0),e){let f;const u=()=>this.root.updateBlockedByResize=!1;e(l,()=>{this.root.updateBlockedByResize=!0,f&&f(),f=c4(u,250),A0.hasAnimatedSinceResize&&(A0.hasAnimatedSinceResize=!1,this.nodes.forEach(ts))})}c&&this.root.registerSharedNode(c,this),this.options.animate!==!1&&h&&(c||d)&&this.addEventListener("didUpdate",({delta:f,hasLayoutChanged:u,hasRelativeTargetChanged:g,layout:v})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const m=this.options.transition||h.getDefaultTransition()||I4,{onLayoutAnimationStart:w,onLayoutAnimationComplete:_}=h.getProps(),Z=!this.targetLayout||!Hn(this.targetLayout,v)||g,b=!u&&g;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||b||u&&(Z||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(f,b);const I={...Qa(m,"layout"),onPlay:w,onComplete:_};(h.shouldReduceMotion||this.options.layoutRoot)&&(I.delay=0,I.type=!1),this.startAnimation(I)}else!u&&this.animationProgress===0&&ts(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=v})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const l=this.getStack();l&&l.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,ft(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach(b4),this.animationId++)}getTransformTemplate(){const{visualElement:l}=this.options;return l&&l.getProps().transformTemplate}willUpdate(l=!0){if(this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let h=0;h<this.path.length;h++){const f=this.path[h];f.shouldResetTransform=!0,f.updateScroll("snapshot"),f.options.layoutRoot&&f.willUpdate(!1)}const{layoutId:a,layout:c}=this.options;if(a===void 0&&!c)return;const d=this.getTransformTemplate();this.prevTransformTemplateValue=d?d(this.latestValues,""):void 0,this.updateSnapshot(),l&&this.notifyListeners("willUpdate")}didUpdate(){if(this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(es);return}!this.isUpdating||(this.isUpdating=!1,this.potentialNodes.size&&(this.potentialNodes.forEach(C4),this.potentialNodes.clear()),this.nodes.forEach(w4),this.nodes.forEach(p4),this.nodes.forEach(g4),this.clearAllSnapshots(),e0.update.process(me),e0.preRender.process(me),e0.render.process(me))}clearAllSnapshots(){this.nodes.forEach(x4),this.sharedNodes.forEach(M4)}scheduleUpdateProjection(){ne.preRender(this.updateProjection,!1,!0)}scheduleCheckAfterUnmount(){ne.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure())}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let c=0;c<this.path.length;c++)this.path[c].updateScroll();const l=this.layout;this.layout=this.measure(!1),this.layoutCorrected=fe(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:a}=this.options;a&&a.notify("LayoutMeasure",this.layout.layoutBox,l?l.layoutBox:void 0)}updateScroll(l="measure"){let a=Boolean(this.options.layoutScroll&&this.instance);this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===l&&(a=!1),a&&(this.scroll={animationId:this.root.animationId,phase:l,isRoot:n(this.instance),offset:i(this.instance)})}resetTransform(){if(!o)return;const l=this.isLayoutDirty||this.shouldResetTransform,a=this.projectionDelta&&!f2(this.projectionDelta),c=this.getTransformTemplate(),d=c?c(this.latestValues,""):void 0,h=d!==this.prevTransformTemplateValue;l&&(a||Bt(this.latestValues)||h)&&(o(this.instance,d),this.shouldResetTransform=!1,this.scheduleRender())}measure(l=!0){const a=this.measurePageBox();let c=this.removeElementScroll(a);return l&&(c=this.removeTransform(c)),A4(c),{animationId:this.root.animationId,measuredBox:a,layoutBox:c,latestValues:{},source:this.id}}measurePageBox(){const{visualElement:l}=this.options;if(!l)return fe();const a=l.measureViewportBox(),{scroll:c}=this.root;return c&&(gt(a.x,c.offset.x),gt(a.y,c.offset.y)),a}removeElementScroll(l){const a=fe();$e(a,l);for(let c=0;c<this.path.length;c++){const d=this.path[c],{scroll:h,options:f}=d;if(d!==this.root&&h&&f.layoutScroll){if(h.isRoot){$e(a,l);const{scroll:u}=this.root;u&&(gt(a.x,-u.offset.x),gt(a.y,-u.offset.y))}gt(a.x,h.offset.x),gt(a.y,h.offset.y)}}return a}applyTransform(l,a=!1){const c=fe();$e(c,l);for(let d=0;d<this.path.length;d++){const h=this.path[d];!a&&h.options.layoutScroll&&h.scroll&&h!==h.root&&qt(c,{x:-h.scroll.offset.x,y:-h.scroll.offset.y}),Bt(h.latestValues)&&qt(c,h.latestValues)}return Bt(this.latestValues)&&qt(c,this.latestValues),c}removeTransform(l){const a=fe();$e(a,l);for(let c=0;c<this.path.length;c++){const d=this.path[c];if(!d.instance||!Bt(d.latestValues))continue;Pn(d.latestValues)&&d.updateSnapshot();const h=fe(),f=d.measurePageBox();$e(h,f),Xo(a,d.latestValues,d.snapshot?d.snapshot.layoutBox:void 0,h)}return Bt(this.latestValues)&&Xo(a,this.latestValues),a}setTargetDelta(l){this.targetDelta=l,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(l){this.options={...this.options,...l,crossfade:l.crossfade!==void 0?l.crossfade:!0}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){!this.relativeParent||this.relativeParent.resolvedRelativeTargetAt!==me.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(l=!1){var a;const c=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=c.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=c.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=c.isSharedProjectionDirty);const d=Boolean(this.resumingFrom)||this!==c;if(!(l||d&&this.isSharedProjectionDirty||this.isProjectionDirty||((a=this.parent)===null||a===void 0?void 0:a.isProjectionDirty)||this.attemptToResolveRelativeTarget))return;const{layout:f,layoutId:u}=this.options;if(!(!this.layout||!(f||u))){if(this.resolvedRelativeTargetAt=me.timestamp,!this.targetDelta&&!this.relativeTarget){const g=this.getClosestProjectingParent();g&&g.layout&&this.animationProgress!==1?(this.relativeParent=g,this.forceRelativeParentToResolveTarget(),this.relativeTarget=fe(),this.relativeTargetOrigin=fe(),B0(this.relativeTargetOrigin,this.layout.layoutBox,g.layout.layoutBox),$e(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(!(!this.relativeTarget&&!this.targetDelta)){if(this.target||(this.target=fe(),this.targetWithTransforms=fe()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),Fh(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(Boolean(this.resumingFrom)?this.target=this.applyTransform(this.layout.layoutBox):$e(this.target,this.layout.layoutBox),l2(this.target,this.targetDelta)):$e(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget){this.attemptToResolveRelativeTarget=!1;const g=this.getClosestProjectingParent();g&&Boolean(g.resumingFrom)===Boolean(this.resumingFrom)&&!g.options.layoutScroll&&g.target&&this.animationProgress!==1?(this.relativeParent=g,this.forceRelativeParentToResolveTarget(),this.relativeTarget=fe(),this.relativeTargetOrigin=fe(),B0(this.relativeTargetOrigin,this.target,g.target),$e(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}Et.resolvedTargetDeltas++}}}getClosestProjectingParent(){if(!(!this.parent||Pn(this.parent.latestValues)||s2(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return Boolean((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){var l;const a=this.getLead(),c=Boolean(this.resumingFrom)||this!==a;let d=!0;if((this.isProjectionDirty||((l=this.parent)===null||l===void 0?void 0:l.isProjectionDirty))&&(d=!1),c&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(d=!1),this.resolvedRelativeTargetAt===me.timestamp&&(d=!1),d)return;const{layout:h,layoutId:f}=this.options;if(this.isTreeAnimating=Boolean(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(h||f))return;$e(this.layoutCorrected,this.layout.layoutBox),Hh(this.layoutCorrected,this.treeScale,this.path,c);const{target:u}=a;if(!u)return;this.projectionDelta||(this.projectionDelta=E0(),this.projectionDeltaWithTransform=E0());const g=this.treeScale.x,v=this.treeScale.y,m=this.projectionTransform;F0(this.projectionDelta,this.layoutCorrected,u,this.latestValues),this.projectionTransform=qo(this.projectionDelta,this.treeScale),(this.projectionTransform!==m||this.treeScale.x!==g||this.treeScale.y!==v)&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",u)),Et.recalculatedProjection++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(l=!0){if(this.options.scheduleRender&&this.options.scheduleRender(),l){const a=this.getStack();a&&a.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}setAnimationOrigin(l,a=!1){const c=this.snapshot,d=c?c.latestValues:{},h={...this.latestValues},f=E0();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!a;const u=fe(),g=c?c.source:void 0,v=this.layout?this.layout.source:void 0,m=g!==v,w=this.getStack(),_=!w||w.members.length<=1,Z=Boolean(m&&!_&&this.options.crossfade===!0&&!this.path.some(S4));this.animationProgress=0;let b;this.mixTargetDelta=I=>{const A=I/1e3;is(f.x,l.x,A),is(f.y,l.y,A),this.setTargetDelta(f),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(B0(u,this.layout.layoutBox,this.relativeParent.layout.layoutBox),Z4(this.relativeTarget,this.relativeTargetOrigin,u,A),b&&Hn(this.relativeTarget,b)&&(this.isProjectionDirty=!1),b||(b=fe()),$e(b,this.relativeTarget)),m&&(this.animationValues=h,e4(h,d,this.latestValues,A,Z,_)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=A},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(l){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&(ft(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=ne.update(()=>{A0.hasAnimatedSinceResize=!0,this.currentAnimation=f4(0,Jo,{...l,onUpdate:a=>{this.mixTargetDelta(a),l.onUpdate&&l.onUpdate(a)},onComplete:()=>{l.onComplete&&l.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const l=this.getStack();l&&l.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(Jo),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const l=this.getLead();let{targetWithTransforms:a,target:c,layout:d,latestValues:h}=l;if(!(!a||!c||!d)){if(this!==l&&this.layout&&d&&p2(this.options.animationType,this.layout.layoutBox,d.layoutBox)){c=this.target||fe();const f=De(this.layout.layoutBox.x);c.x.min=l.target.x.min,c.x.max=c.x.min+f;const u=De(this.layout.layoutBox.y);c.y.min=l.target.y.min,c.y.max=c.y.min+u}$e(a,c),qt(a,h),F0(this.projectionDeltaWithTransform,this.layoutCorrected,a,h)}}registerSharedNode(l,a){this.sharedNodes.has(l)||this.sharedNodes.set(l,new s4),this.sharedNodes.get(l).add(a);const d=a.options.initialPromotionConfig;a.promote({transition:d?d.transition:void 0,preserveFollowOpacity:d&&d.shouldPreserveFollowOpacity?d.shouldPreserveFollowOpacity(a):void 0})}isLead(){const l=this.getStack();return l?l.lead===this:!0}getLead(){var l;const{layoutId:a}=this.options;return a?((l=this.getStack())===null||l===void 0?void 0:l.lead)||this:this}getPrevLead(){var l;const{layoutId:a}=this.options;return a?(l=this.getStack())===null||l===void 0?void 0:l.prevLead:void 0}getStack(){const{layoutId:l}=this.options;if(l)return this.root.sharedNodes.get(l)}promote({needsReset:l,transition:a,preserveFollowOpacity:c}={}){const d=this.getStack();d&&d.promote(this,c),l&&(this.projectionDelta=void 0,this.needsReset=!0),a&&this.setOptions({transition:a})}relegate(){const l=this.getStack();return l?l.relegate(this):!1}resetRotation(){const{visualElement:l}=this.options;if(!l)return;let a=!1;const{latestValues:c}=l;if((c.rotate||c.rotateX||c.rotateY||c.rotateZ)&&(a=!0),!a)return;const d={};for(let h=0;h<Qo.length;h++){const f="rotate"+Qo[h];c[f]&&(d[f]=c[f],l.setStaticValue(f,0))}l.render();for(const h in d)l.setStaticValue(h,d[h]);l.scheduleRender()}getProjectionStyles(l={}){var a,c;const d={};if(!this.instance||this.isSVG)return d;if(this.isVisible)d.visibility="";else return{visibility:"hidden"};const h=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,d.opacity="",d.pointerEvents=Ei(l.pointerEvents)||"",d.transform=h?h(this.latestValues,""):"none",d;const f=this.getLead();if(!this.projectionDelta||!this.layout||!f.target){const m={};return this.options.layoutId&&(m.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,m.pointerEvents=Ei(l.pointerEvents)||""),this.hasProjected&&!Bt(this.latestValues)&&(m.transform=h?h({},""):"none",this.hasProjected=!1),m}const u=f.animationValues||f.latestValues;this.applyTransformsToTarget(),d.transform=qo(this.projectionDeltaWithTransform,this.treeScale,u),h&&(d.transform=h(u,d.transform));const{x:g,y:v}=this.projectionDelta;d.transformOrigin=`${g.origin*100}% ${v.origin*100}% 0`,f.animationValues?d.opacity=f===this?(c=(a=u.opacity)!==null&&a!==void 0?a:this.latestValues.opacity)!==null&&c!==void 0?c:1:this.preserveOpacity?this.latestValues.opacity:u.opacityExit:d.opacity=f===this?u.opacity!==void 0?u.opacity:"":u.opacityExit!==void 0?u.opacityExit:0;for(const m in zi){if(u[m]===void 0)continue;const{correct:w,applyTo:_}=zi[m],Z=d.transform==="none"?u[m]:w(u[m],f);if(_){const b=_.length;for(let I=0;I<b;I++)d[_[I]]=Z}else d[m]=Z}return this.options.layoutId&&(d.pointerEvents=f===this?Ei(l.pointerEvents)||"":"none"),d}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(l=>{var a;return(a=l.currentAnimation)===null||a===void 0?void 0:a.stop()}),this.root.nodes.forEach(es),this.root.sharedNodes.clear()}}}function p4(e){e.updateLayout()}function g4(e){var t;const i=((t=e.resumeFrom)===null||t===void 0?void 0:t.snapshot)||e.snapshot;if(e.isLead()&&e.layout&&i&&e.hasListeners("didUpdate")){const{layoutBox:n,measuredBox:o}=e.layout,{animationType:s}=e.options,l=i.source!==e.layout.source;s==="size"?Ne(f=>{const u=l?i.measuredBox[f]:i.layoutBox[f],g=De(u);u.min=n[f].min,u.max=u.min+g}):p2(s,i.layoutBox,n)&&Ne(f=>{const u=l?i.measuredBox[f]:i.layoutBox[f],g=De(n[f]);u.max=u.min+g,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[f].max=e.relativeTarget[f].min+g)});const a=E0();F0(a,n,i.layoutBox);const c=E0();l?F0(c,e.applyTransform(o,!0),i.measuredBox):F0(c,n,i.layoutBox);const d=!f2(a);let h=!1;if(!e.resumeFrom){const f=e.getClosestProjectingParent();if(f&&!f.resumeFrom){const{snapshot:u,layout:g}=f;if(u&&g){const v=fe();B0(v,i.layoutBox,u.layoutBox);const m=fe();B0(m,n,g.layoutBox),Hn(v,m)||(h=!0),f.options.layoutRoot&&(e.relativeTarget=m,e.relativeTargetOrigin=v,e.relativeParent=f)}}}e.notifyListeners("didUpdate",{layout:n,snapshot:i,delta:c,layoutDelta:a,hasLayoutChanged:d,hasRelativeTargetChanged:h})}else if(e.isLead()){const{onExitComplete:n}=e.options;n&&n()}e.options.transition=void 0}function v4(e){Et.totalNodes++,e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||(e.isSharedProjectionDirty=Boolean(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=e.parent.isTransformDirty))}function m4(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function x4(e){e.clearSnapshot()}function es(e){e.clearMeasurements()}function w4(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function ts(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0}function y4(e){e.resolveTargetDelta()}function _4(e){e.calcProjection()}function b4(e){e.resetRotation()}function M4(e){e.removeLeadSnapshot()}function is(e,t,i){e.translate=re(t.translate,0,i),e.scale=re(t.scale,1,i),e.origin=t.origin,e.originPoint=t.originPoint}function ns(e,t,i,n){e.min=re(t.min,i.min,n),e.max=re(t.max,i.max,n)}function Z4(e,t,i,n){ns(e.x,t.x,i.x,n),ns(e.y,t.y,i.y,n)}function S4(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}const I4={duration:.45,ease:[.4,0,.1,1]};function C4(e,t){let i=e.root;for(let s=e.path.length-1;s>=0;s--)if(Boolean(e.path[s].instance)){i=e.path[s];break}const o=(i&&i!==e.root?i.instance:document).querySelector(`[data-projection-id="${t}"]`);o&&e.mount(o,!0)}function rs(e){e.min=Math.round(e.min),e.max=Math.round(e.max)}function A4(e){rs(e.x),rs(e.y)}function p2(e,t,i){return e==="position"||e==="preserve-aspect"&&!Tn(Ko(t),Ko(i),.2)}const R4=u2({attachResizeListener:(e,t)=>at(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),an={current:void 0},g2=u2({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!an.current){const e=new R4(0,{});e.mount(window),e.setOptions({layoutScroll:!0}),an.current=e}return an.current},resetTransform:(e,t)=>{e.style.transform=t!==void 0?t:"none"},checkIsScrollRoot:e=>Boolean(window.getComputedStyle(e).position==="fixed")}),k4={pan:{Feature:Xh},drag:{Feature:Nh,ProjectionNode:g2,MeasureLayout:c2}},F4=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;function B4(e){const t=F4.exec(e);if(!t)return[,];const[,i,n]=t;return[i,n]}function $n(e,t,i=1){const[n,o]=B4(e);if(!n)return;const s=window.getComputedStyle(t).getPropertyValue(n);return s?s.trim():An(o)?$n(o,t,i+1):o}function E4(e,{...t},i){const n=e.current;if(!(n instanceof Element))return{target:t,transitionEnd:i};i&&(i={...i}),e.values.forEach(o=>{const s=o.get();if(!An(s))return;const l=$n(s,n);l&&o.set(l)});for(const o in t){const s=t[o];if(!An(s))continue;const l=$n(s,n);!l||(t[o]=l,i||(i={}),i[o]===void 0&&(i[o]=s))}return{target:t,transitionEnd:i}}const L4=new Set(["width","height","top","left","right","bottom","x","y"]),v2=e=>L4.has(e),D4=e=>Object.keys(e).some(v2),os=e=>e===Ut||e===W,ss=(e,t)=>parseFloat(e.split(", ")[t]),ls=(e,t)=>(i,{transform:n})=>{if(n==="none"||!n)return 0;const o=n.match(/^matrix3d\((.+)\)$/);if(o)return ss(o[1],t);{const s=n.match(/^matrix\((.+)\)$/);return s?ss(s[1],e):0}},T4=new Set(["x","y","z"]),V4=ti.filter(e=>!T4.has(e));function P4(e){const t=[];return V4.forEach(i=>{const n=e.getValue(i);n!==void 0&&(t.push([i,n.get()]),n.set(i.startsWith("scale")?1:0))}),t.length&&e.render(),t}const as={width:({x:e},{paddingLeft:t="0",paddingRight:i="0"})=>e.max-e.min-parseFloat(t)-parseFloat(i),height:({y:e},{paddingTop:t="0",paddingBottom:i="0"})=>e.max-e.min-parseFloat(t)-parseFloat(i),top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:ls(4,13),y:ls(5,14)},O4=(e,t,i)=>{const n=t.measureViewportBox(),o=t.current,s=getComputedStyle(o),{display:l}=s,a={};l==="none"&&t.setStaticValue("display",e.display||"block"),i.forEach(d=>{a[d]=as[d](n,s)}),t.render();const c=t.measureViewportBox();return i.forEach(d=>{const h=t.getValue(d);h&&h.jump(a[d]),e[d]=as[d](c,s)}),e},H4=(e,t,i={},n={})=>{t={...t},n={...n};const o=Object.keys(t).filter(v2);let s=[],l=!1;const a=[];if(o.forEach(c=>{const d=e.getValue(c);if(!e.hasValue(c))return;let h=i[c],f=f0(h);const u=t[c];let g;if(Gi(u)){const v=u.length,m=u[0]===null?1:0;h=u[m],f=f0(h);for(let w=m;w<v&&u[w]!==null;w++)g?O1(f0(u[w])===g):g=f0(u[w])}else g=f0(u);if(f!==g)if(os(f)&&os(g)){const v=d.get();typeof v=="string"&&d.set(parseFloat(v)),typeof u=="string"?t[c]=parseFloat(u):Array.isArray(u)&&g===W&&(t[c]=u.map(parseFloat))}else(f==null?void 0:f.transform)&&(g==null?void 0:g.transform)&&(h===0||u===0)?h===0?d.set(g.transform(h)):t[c]=f.transform(u):(l||(s=P4(e),l=!0),a.push(c),n[c]=n[c]!==void 0?n[c]:t[c],d.jump(u))}),a.length){const c=a.indexOf("height")>=0?window.pageYOffset:null,d=O4(t,e,a);return s.length&&s.forEach(([h,f])=>{e.getValue(h).set(f)}),e.render(),B1&&c!==null&&window.scrollTo({top:c}),{target:d,transitionEnd:n}}else return{target:t,transitionEnd:n}};function $4(e,t,i,n){return D4(t)?H4(e,t,i,n):{target:t,transitionEnd:n}}const U4=(e,t,i,n)=>{const o=E4(e,t,n);return t=o.target,n=o.transitionEnd,$4(e,t,i,n)},Un={current:null},m2={current:!1};function z4(){if(m2.current=!0,!!B1)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>Un.current=e.matches;e.addListener(t),t()}else Un.current=!1}function W4(e,t,i){const{willChange:n}=t;for(const o in t){const s=t[o],l=i[o];if(Fe(s))e.addValue(o,s),Yi(n)&&n.add(o);else if(Fe(l))e.addValue(o,n0(s,{owner:e})),Yi(n)&&n.remove(o);else if(l!==s)if(e.hasValue(o)){const a=e.getValue(o);!a.hasAnimated&&a.set(s)}else{const a=e.getStaticValue(o);e.addValue(o,n0(a!==void 0?a:s,{owner:e}))}}for(const o in i)t[o]===void 0&&e.removeValue(o);return t}const cs=new WeakMap,x2=Object.keys(z0),G4=x2.length,ds=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],j4=dr.length;class N4{constructor({parent:t,props:i,presenceContext:n,reducedMotionConfig:o,visualState:s},l={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{!this.current||(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.scheduleRender=()=>ne.render(this.render,!1,!0);const{latestValues:a,renderState:c}=s;this.latestValues=a,this.baseTarget={...a},this.initialValues=i.initial?{...a}:{},this.renderState=c,this.parent=t,this.props=i,this.presenceContext=n,this.depth=t?t.depth+1:0,this.reducedMotionConfig=o,this.options=l,this.isControllingVariants=L1(i),this.isVariantNode=na(i),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=Boolean(t&&t.current);const{willChange:d,...h}=this.scrapeMotionValuesFromProps(i,{});for(const f in h){const u=h[f];a[f]!==void 0&&Fe(u)&&(u.set(a[f],!1),Yi(d)&&d.add(f))}}scrapeMotionValuesFromProps(t,i){return{}}mount(t){this.current=t,cs.set(t,this),this.projection&&this.projection.mount(t),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((i,n)=>this.bindToMotionValue(n,i)),m2.current||z4(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:Un.current,this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){cs.delete(this.current),this.projection&&this.projection.unmount(),ft(this.notifyUpdate),ft(this.render),this.valueSubscriptions.forEach(t=>t()),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this);for(const t in this.events)this.events[t].clear();for(const t in this.features)this.features[t].unmount();this.current=null}bindToMotionValue(t,i){const n=$t.has(t),o=i.on("change",l=>{this.latestValues[t]=l,this.props.onUpdate&&ne.update(this.notifyUpdate,!1,!0),n&&this.projection&&(this.projection.isTransformDirty=!0)}),s=i.on("renderRequest",this.scheduleRender);this.valueSubscriptions.set(t,()=>{o(),s()})}sortNodePosition(t){return!this.current||!this.sortInstanceNodePosition||this.type!==t.type?0:this.sortInstanceNodePosition(this.current,t.current)}loadFeatures({children:t,...i},n,o,s,l){let a,c;for(let d=0;d<G4;d++){const h=x2[d],{isEnabled:f,Feature:u,ProjectionNode:g,MeasureLayout:v}=z0[h];g&&(a=g),f(i)&&(!this.features[h]&&u&&(this.features[h]=new u(this)),v&&(c=v))}if(!this.projection&&a){this.projection=new a(s,this.latestValues,this.parent&&this.parent.projection);const{layoutId:d,layout:h,drag:f,dragConstraints:u,layoutScroll:g,layoutRoot:v}=i;this.projection.setOptions({layoutId:d,layout:h,alwaysMeasureLayout:Boolean(f)||u&&Yt(u),visualElement:this,scheduleRender:()=>this.scheduleRender(),animationType:typeof h=="string"?h:"both",initialPromotionConfig:l,layoutScroll:g,layoutRoot:v})}return c}updateFeatures(){for(const t in this.features){const i=this.features[t];i.isMounted?i.update(this.props,this.prevProps):(i.mount(),i.isMounted=!0)}}triggerBuild(){this.build(this.renderState,this.latestValues,this.options,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):fe()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,i){this.latestValues[t]=i}makeTargetAnimatable(t,i=!0){return this.makeTargetAnimatableFromInstance(t,this.props,i)}update(t,i){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=i;for(let n=0;n<ds.length;n++){const o=ds[n];this.propEventSubscriptions[o]&&(this.propEventSubscriptions[o](),delete this.propEventSubscriptions[o]);const s=t["on"+o];s&&(this.propEventSubscriptions[o]=this.on(o,s))}this.prevMotionValues=W4(this,this.scrapeMotionValuesFromProps(t,this.prevProps),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(t){return this.props.variants?this.props.variants[t]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}getVariantContext(t=!1){if(t)return this.parent?this.parent.getVariantContext():void 0;if(!this.isControllingVariants){const n=this.parent?this.parent.getVariantContext()||{}:{};return this.props.initial!==void 0&&(n.initial=this.props.initial),n}const i={};for(let n=0;n<j4;n++){const o=dr[n],s=this.props[o];(U0(s)||s===!1)&&(i[o]=s)}return i}addVariantChild(t){const i=this.getClosestVariantNode();if(i)return i.variantChildren&&i.variantChildren.add(t),()=>i.variantChildren.delete(t)}addValue(t,i){i!==this.values.get(t)&&(this.removeValue(t),this.bindToMotionValue(t,i)),this.values.set(t,i),this.latestValues[t]=i.get()}removeValue(t){this.values.delete(t);const i=this.valueSubscriptions.get(t);i&&(i(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,i){if(this.props.values&&this.props.values[t])return this.props.values[t];let n=this.values.get(t);return n===void 0&&i!==void 0&&(n=n0(i,{owner:this}),this.addValue(t,n)),n}readValue(t){return this.latestValues[t]!==void 0||!this.current?this.latestValues[t]:this.readValueFromInstance(this.current,t,this.options)}setBaseTarget(t,i){this.baseTarget[t]=i}getBaseTarget(t){var i;const{initial:n}=this.props,o=typeof n=="string"||typeof n=="object"?(i=yr(this.props,n))===null||i===void 0?void 0:i[t]:void 0;if(n&&o!==void 0)return o;const s=this.getBaseTargetFromProps(this.props,t);return s!==void 0&&!Fe(s)?s:this.initialValues[t]!==void 0&&o===void 0?void 0:this.baseTarget[t]}on(t,i){return this.events[t]||(this.events[t]=new kr),this.events[t].add(i)}notify(t,...i){this.events[t]&&this.events[t].notify(...i)}}class w2 extends N4{sortInstanceNodePosition(t,i){return t.compareDocumentPosition(i)&2?1:-1}getBaseTargetFromProps(t,i){return t.style?t.style[i]:void 0}removeValueFromRenderState(t,{vars:i,style:n}){delete i[t],delete n[t]}makeTargetAnimatableFromInstance({transition:t,transitionEnd:i,...n},{transformValues:o},s){let l=ph(n,t||{},this);if(o&&(i&&(i=o(i)),n&&(n=o(n)),l&&(l=o(l))),s){fh(this,n,l);const a=U4(this,n,l,i);i=a.transitionEnd,n=a.target}return{transition:t,transitionEnd:i,...n}}}function X4(e){return window.getComputedStyle(e)}class Y4 extends w2{readValueFromInstance(t,i){if($t.has(i)){const n=Sr(i);return n&&n.default||0}else{const n=X4(t),o=(la(i)?n.getPropertyValue(i):n[i])||0;return typeof o=="string"?o.trim():o}}measureInstanceViewportBox(t,{transformPagePoint:i}){return a2(t,i)}build(t,i,n,o){pr(t,i,n,o.transformTemplate)}scrapeMotionValuesFromProps(t,i){return wr(t,i)}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:t}=this.props;Fe(t)&&(this.childSubscription=t.on("change",i=>{this.current&&(this.current.textContent=`${i}`)}))}renderInstance(t,i,n,o){ua(t,i,n,o)}}class K4 extends w2{constructor(){super(...arguments),this.isSVGTag=!1}getBaseTargetFromProps(t,i){return t[i]}readValueFromInstance(t,i){if($t.has(i)){const n=Sr(i);return n&&n.default||0}return i=pa.has(i)?i:xr(i),t.getAttribute(i)}measureInstanceViewportBox(){return fe()}scrapeMotionValuesFromProps(t,i){return va(t,i)}build(t,i,n,o){vr(t,i,n,this.isSVGTag,o.transformTemplate)}renderInstance(t,i,n,o){ga(t,i,n,o)}mount(t){this.isSVGTag=mr(t.tagName),super.mount(t)}}const y2=(e,t)=>ur(e)?new K4(t,{enableHardwareAcceleration:!1}):new Y4(t,{enableHardwareAcceleration:!0}),q4={layout:{ProjectionNode:g2,MeasureLayout:c2}},Q4={...i2,...Za,...k4,...q4},Se=r3((e,t)=>E3(e,t,Q4,y2));function _2(){const e=M.exports.useRef(!1);return Ui(()=>(e.current=!0,()=>{e.current=!1}),[]),e}function J4(){const e=_2(),[t,i]=M.exports.useState(0),n=M.exports.useCallback(()=>{e.current&&i(t+1)},[t]);return[M.exports.useCallback(()=>ne.postRender(n),[n]),t]}class ef extends M.exports.Component{getSnapshotBeforeUpdate(t){const i=this.props.childRef.current;if(i&&t.isPresent&&!this.props.isPresent){const n=this.props.sizeRef.current;n.height=i.offsetHeight||0,n.width=i.offsetWidth||0,n.top=i.offsetTop,n.left=i.offsetLeft}return null}componentDidUpdate(){}render(){return this.props.children}}function tf({children:e,isPresent:t}){const i=M.exports.useId(),n=M.exports.useRef(null),o=M.exports.useRef({width:0,height:0,top:0,left:0});return M.exports.useInsertionEffect(()=>{const{width:s,height:l,top:a,left:c}=o.current;if(t||!n.current||!s||!l)return;n.current.dataset.motionPopId=i;const d=document.createElement("style");return document.head.appendChild(d),d.sheet&&d.sheet.insertRule(`
|
|
9
9
|
[data-motion-pop-id="${i}"] {
|
|
10
10
|
position: absolute !important;
|
|
11
11
|
width: ${s}px !important;
|
|
@@ -13,7 +13,7 @@ var U5=Object.defineProperty;var z5=(e,t,i)=>t in e?U5(e,t,{enumerable:!0,config
|
|
|
13
13
|
top: ${a}px !important;
|
|
14
14
|
left: ${c}px !important;
|
|
15
15
|
}
|
|
16
|
-
`),()=>{document.head.removeChild(d)}},[t]),r(ef,{isPresent:t,childRef:n,sizeRef:o,children:M.exports.cloneElement(e,{ref:n})})}const cn=({children:e,initial:t,isPresent:i,onExitComplete:n,custom:o,presenceAffectsLayout:s,mode:l})=>{const a=hr(nf),c=M.exports.useId(),d=M.exports.useMemo(()=>({id:c,initial:t,isPresent:i,custom:o,onExitComplete:h=>{a.set(h,!0);for(const f of a.values())if(!f)return;n&&n()},register:h=>(a.set(h,!1),()=>a.delete(h))}),s?void 0:[i]);return M.exports.useMemo(()=>{a.forEach((h,f)=>a.set(f,!1))},[i]),M.exports.useEffect(()=>{!i&&!a.size&&n&&n()},[i]),l==="popLayout"&&(e=r(tf,{isPresent:i,children:e})),r(F1.Provider,{value:d,children:e})};function nf(){return new Map}function rf(e){return M.exports.useEffect(()=>()=>e(),[])}const Xt=e=>e.key||"";function of(e,t){e.forEach(i=>{const n=Xt(i);t.set(n,i)})}function sf(e){const t=[];return M.exports.Children.forEach(e,i=>{M.exports.isValidElement(i)&&t.push(i)}),t}const Fr=({children:e,custom:t,initial:i=!0,onExitComplete:n,exitBeforeEnter:o,presenceAffectsLayout:s=!0,mode:l="sync"})=>{O1(!o);let[a]=J4();const c=M.exports.useContext(fr).forceRender;c&&(a=c);const d=_2(),h=sf(e);let f=h;const u=new Set,g=M.exports.useRef(f),v=M.exports.useRef(new Map).current,m=M.exports.useRef(!0);if(Ui(()=>{m.current=!1,of(h,v),g.current=f}),rf(()=>{m.current=!0,v.clear(),u.clear()}),m.current)return r(Pt,{children:f.map(b=>r(cn,{isPresent:!0,initial:i?void 0:!1,presenceAffectsLayout:s,mode:l,children:b},Xt(b)))});f=[...f];const w=g.current.map(Xt),_=h.map(Xt),Z=w.length;for(let b=0;b<Z;b++){const I=w[b];_.indexOf(I)===-1&&u.add(I)}return l==="wait"&&u.size&&(f=[]),u.forEach(b=>{if(_.indexOf(b)!==-1)return;const I=v.get(b);if(!I)return;const A=w.indexOf(b),
|
|
16
|
+
`),()=>{document.head.removeChild(d)}},[t]),r(ef,{isPresent:t,childRef:n,sizeRef:o,children:M.exports.cloneElement(e,{ref:n})})}const cn=({children:e,initial:t,isPresent:i,onExitComplete:n,custom:o,presenceAffectsLayout:s,mode:l})=>{const a=hr(nf),c=M.exports.useId(),d=M.exports.useMemo(()=>({id:c,initial:t,isPresent:i,custom:o,onExitComplete:h=>{a.set(h,!0);for(const f of a.values())if(!f)return;n&&n()},register:h=>(a.set(h,!1),()=>a.delete(h))}),s?void 0:[i]);return M.exports.useMemo(()=>{a.forEach((h,f)=>a.set(f,!1))},[i]),M.exports.useEffect(()=>{!i&&!a.size&&n&&n()},[i]),l==="popLayout"&&(e=r(tf,{isPresent:i,children:e})),r(F1.Provider,{value:d,children:e})};function nf(){return new Map}function rf(e){return M.exports.useEffect(()=>()=>e(),[])}const Xt=e=>e.key||"";function of(e,t){e.forEach(i=>{const n=Xt(i);t.set(n,i)})}function sf(e){const t=[];return M.exports.Children.forEach(e,i=>{M.exports.isValidElement(i)&&t.push(i)}),t}const Fr=({children:e,custom:t,initial:i=!0,onExitComplete:n,exitBeforeEnter:o,presenceAffectsLayout:s=!0,mode:l="sync"})=>{O1(!o);let[a]=J4();const c=M.exports.useContext(fr).forceRender;c&&(a=c);const d=_2(),h=sf(e);let f=h;const u=new Set,g=M.exports.useRef(f),v=M.exports.useRef(new Map).current,m=M.exports.useRef(!0);if(Ui(()=>{m.current=!1,of(h,v),g.current=f}),rf(()=>{m.current=!0,v.clear(),u.clear()}),m.current)return r(Pt,{children:f.map(b=>r(cn,{isPresent:!0,initial:i?void 0:!1,presenceAffectsLayout:s,mode:l,children:b},Xt(b)))});f=[...f];const w=g.current.map(Xt),_=h.map(Xt),Z=w.length;for(let b=0;b<Z;b++){const I=w[b];_.indexOf(I)===-1&&u.add(I)}return l==="wait"&&u.size&&(f=[]),u.forEach(b=>{if(_.indexOf(b)!==-1)return;const I=v.get(b);if(!I)return;const A=w.indexOf(b),T=()=>{v.delete(b),u.delete(b);const k=g.current.findIndex(L=>L.key===b);if(g.current.splice(k,1),!u.size){if(g.current=h,d.current===!1)return;a(),n&&n()}};f.splice(A,0,r(cn,{isPresent:!1,onExitComplete:T,custom:t,presenceAffectsLayout:s,mode:l,children:I},Xt(I)))}),f=f.map(b=>{const I=b.key;return u.has(I)?b:r(cn,{isPresent:!0,presenceAffectsLayout:s,mode:l,children:b},Xt(b))}),r(Pt,{children:u.size?f:f.map(b=>M.exports.cloneElement(b))})};function lf({children:e,features:t,strict:i=!1}){const[,n]=M.exports.useState(!dn(t)),o=M.exports.useRef(void 0);if(!dn(t)){const{renderer:s,...l}=t;o.current=s,Cn(l)}return M.exports.useEffect(()=>{dn(t)&&t().then(({renderer:s,...l})=>{Cn(l),o.current=s,n(!0)})},[]),r(ar.Provider,{value:{renderer:o.current,strict:i},children:e})}function dn(e){return typeof e=="function"}const af={renderer:y2,...i2,...Za},cf=V(Se.div)`
|
|
17
17
|
display: flex;
|
|
18
18
|
align-items: center;
|
|
19
19
|
justify-content: center;
|
|
@@ -52,7 +52,7 @@ var U5=Object.defineProperty;var z5=(e,t,i)=>t in e?U5(e,t,{enumerable:!0,config
|
|
|
52
52
|
height: fit-content;
|
|
53
53
|
bottom: 0;
|
|
54
54
|
right: 0;
|
|
55
|
-
`;const hf="var(--font-weight-regular)",ff="var(--font-weight-medium)",uf="var(--font-weight-bold)",Br={fontWeightRegular:hf,fontWeightMedium:ff,fontWeightBold:uf},pf="var(--border-radius04)",gf="var(--border-radius06)",vf="var(--border-radius08)",mf="var(--border-radius12)",xf="var(--border-radius16)",wf="var(--border-radius20)",
|
|
55
|
+
`;const hf="var(--font-weight-regular)",ff="var(--font-weight-medium)",uf="var(--font-weight-bold)",Br={fontWeightRegular:hf,fontWeightMedium:ff,fontWeightBold:uf},pf="var(--border-radius04)",gf="var(--border-radius06)",vf="var(--border-radius08)",mf="var(--border-radius12)",xf="var(--border-radius16)",wf="var(--border-radius20)",Te={borderRadius04:pf,borderRadius06:gf,borderRadius08:vf,borderRadius12:mf,borderRadius16:xf,borderRadius20:wf},yf="var(--coolgray300)",_f="var(--coolgray200)",bf="var(--coolgray100)",Mf="var(--coolgray50)",Zf="var(--navy400)",Sf="var(--navy300)",If="var(--neutral0)",Cf="var(--neutral100)",Af="var(--neutral150)",Rf="var(--neutral200)",kf="var(--neutral300)",Ff="var(--neutral350)",Bf="var(--neutral400)",Ef="var(--neutral500)",Lf="var(--neutral600)",Df="var(--neutral700)",Tf="var(--neutral400_5)",Vf="var(--red300)",Pf="var(--red200)",Of="var(--red100)",Hf="var(--ocean300)",$f="var(--ocean200)",Uf="var(--ocean100)",zf="var(--purple400)",Wf="var(--purple300)",Gf="var(--purple100)",jf="var(--yellow300)",Nf="var(--yellow200)",Xf="var(--yellow100)",Yf="var(--green300)",Kf="var(--green200)",qf="var(--green100)",Qf="var(--shopl400)",Jf="var(--shopl300)",eu="var(--shopl200)",tu="var(--shopl150)",iu="var(--shopl100)",nu="var(--hada400)",ru="var(--hada300)",ou="var(--hada200)",su="var(--hada150)",lu="var(--hada100)",au="var(--background)",cu="var(--primary100)",du="var(--primary150)",hu="var(--primary200)",fu="var(--primary300)",uu="var(--primary400)",y={coolgray300:yf,coolgray200:_f,coolgray100:bf,coolgray50:Mf,navy400:Zf,navy300:Sf,neutral0:If,neutral100:Cf,neutral150:Af,neutral200:Rf,neutral300:kf,neutral350:Ff,neutral400:Bf,neutral500:Ef,neutral600:Lf,neutral700:Df,neutral400_5:Tf,red300:Vf,red200:Pf,red100:Of,ocean300:Hf,ocean200:$f,ocean100:Uf,purple400:zf,purple300:Wf,purple100:Gf,yellow300:jf,yellow200:Nf,yellow100:Xf,green300:Yf,green200:Kf,green100:qf,shopl400:Qf,shopl300:Jf,shopl200:eu,shopl150:tu,shopl100:iu,hada400:nu,hada300:ru,hada200:ou,hada150:su,hada100:lu,background:au,primary100:cu,primary150:du,primary200:hu,primary300:fu,primary400:uu},pu="var(--spacing02)",gu="var(--spacing04)",vu="var(--spacing06)",mu="var(--spacing08)",xu="var(--spacing12)",wu="var(--spacing16)",yu="var(--spacing20)",_u="var(--spacing24)",bu="var(--spacing30)",Mu="var(--spacing32)",Zu="var(--spacing40)",Er={spacing02:pu,spacing04:gu,spacing06:vu,spacing08:mu,spacing12:xu,spacing16:wu,spacing20:yu,spacing24:_u,spacing30:bu,spacing32:Mu,spacing40:Zu},Su="var(--dropShadow)",b2={dropShadow:Su},Iu=V.div`
|
|
56
56
|
display: flex;
|
|
57
57
|
width: ${({width:e})=>e};
|
|
58
58
|
max-width: ${({maxWidth:e})=>e};
|
|
@@ -67,9 +67,9 @@ var U5=Object.defineProperty;var z5=(e,t,i)=>t in e?U5(e,t,{enumerable:!0,config
|
|
|
67
67
|
flex-wrap: ${({flexWrap:e})=>e};
|
|
68
68
|
flex: ${({flex:e})=>e};
|
|
69
69
|
background: ${({background:e})=>e?y[e]:"transparent"};
|
|
70
|
-
border-radius: ${({radius:e})=>e&&
|
|
70
|
+
border-radius: ${({radius:e})=>e&&Te[e]};
|
|
71
71
|
animation: 0.2s all ease-in-out;
|
|
72
|
-
`,Lr=e=>M.exports.forwardRef(function({as:i="div",spacing:n=e==null?void 0:e.spacing,direction:o=(m=>(m=e==null?void 0:e.direction)!=null?m:"column")(),align:s=(w=>(w=e==null?void 0:e.align)!=null?w:"flex-start")(),justify:l=(_=>(_=e==null?void 0:e.justify)!=null?_:"flex-start")(),width:a=(Z=>(Z=e==null?void 0:e.width)!=null?Z:"initial")(),height:c=(b=>(b=e==null?void 0:e.height)!=null?b:"initial")(),flexWrap:d=(I=>(I=e==null?void 0:e.flexWrap)!=null?I:"initial")(),flex:h=(A=>(A=e==null?void 0:e.flex)!=null?A:"initial")(),radius:f=e==null?void 0:e.radius,background:u=e==null?void 0:e.background,...g},v){return r(Iu,{as:i,spacing:n,ref:v,direction:o,align:s,justify:l,width:a,height:c,flexWrap:d,flex:h,background:u,radius:f,...g,"data-shoplflow":"Stack",children:g.children})}),
|
|
72
|
+
`,Lr=e=>M.exports.forwardRef(function({as:i="div",spacing:n=e==null?void 0:e.spacing,direction:o=(m=>(m=e==null?void 0:e.direction)!=null?m:"column")(),align:s=(w=>(w=e==null?void 0:e.align)!=null?w:"flex-start")(),justify:l=(_=>(_=e==null?void 0:e.justify)!=null?_:"flex-start")(),width:a=(Z=>(Z=e==null?void 0:e.width)!=null?Z:"initial")(),height:c=(b=>(b=e==null?void 0:e.height)!=null?b:"initial")(),flexWrap:d=(I=>(I=e==null?void 0:e.flexWrap)!=null?I:"initial")(),flex:h=(A=>(A=e==null?void 0:e.flex)!=null?A:"initial")(),radius:f=e==null?void 0:e.radius,background:u=e==null?void 0:e.background,...g},v){return r(Iu,{as:i,spacing:n,ref:v,direction:o,align:s,justify:l,width:a,height:c,flexWrap:d,flex:h,background:u,radius:f,...g,"data-shoplflow":"Stack",children:g.children})}),Ae=Lr();Ae.Vertical=Lr({direction:"column"});Ae.Horizontal=Lr({direction:"row"});const M2=Se(Ae);M2.Vertical=Se(Ae.Vertical);M2.Horizontal=Se(Ae.Horizontal);const Cu=V.div`
|
|
73
73
|
display: flex;
|
|
74
74
|
width: ${({width:e})=>e};
|
|
75
75
|
max-width: ${({maxWidth:e})=>e};
|
|
@@ -86,9 +86,9 @@ var U5=Object.defineProperty;var z5=(e,t,i)=>t in e?U5(e,t,{enumerable:!0,config
|
|
|
86
86
|
padding: ${({padding:e})=>e};
|
|
87
87
|
margin: ${({margin:e})=>e};
|
|
88
88
|
background: ${({background:e})=>e?y[e]:"transparent"};
|
|
89
|
-
border-radius: ${({radius:e})=>e&&
|
|
89
|
+
border-radius: ${({radius:e})=>e&&Te[e]};
|
|
90
90
|
animation: 0.2s all ease-in-out;
|
|
91
|
-
`,Dr=e=>M.exports.forwardRef(function({as:i="div",spacing:n=e==null?void 0:e.spacing,direction:o=(_=>(_=e==null?void 0:e.direction)!=null?_:"column")(),align:s=(Z=>(Z=e==null?void 0:e.align)!=null?Z:"flex-start")(),justify:l=(b=>(b=e==null?void 0:e.justify)!=null?b:"flex-start")(),width:a=(I=>(I=e==null?void 0:e.width)!=null?I:"initial")(),height:c=(A=>(A=e==null?void 0:e.height)!=null?A:"initial")(),flexWrap:d=(
|
|
91
|
+
`,Dr=e=>M.exports.forwardRef(function({as:i="div",spacing:n=e==null?void 0:e.spacing,direction:o=(_=>(_=e==null?void 0:e.direction)!=null?_:"column")(),align:s=(Z=>(Z=e==null?void 0:e.align)!=null?Z:"flex-start")(),justify:l=(b=>(b=e==null?void 0:e.justify)!=null?b:"flex-start")(),width:a=(I=>(I=e==null?void 0:e.width)!=null?I:"initial")(),height:c=(A=>(A=e==null?void 0:e.height)!=null?A:"initial")(),flexWrap:d=(T=>(T=e==null?void 0:e.flexWrap)!=null?T:"initial")(),flex:h=(k=>(k=e==null?void 0:e.flex)!=null?k:"initial")(),radius:f=e==null?void 0:e.radius,margin:u=(L=>(L=e==null?void 0:e.margin)!=null?L:"initial")(),padding:g=(O=>(O=e==null?void 0:e.padding)!=null?O:"initial")(),background:v=e==null?void 0:e.background,...m},w){return r(Cu,{as:i,spacing:n,ref:w,direction:o,align:s,justify:l,width:a,height:c,flexWrap:d,flex:h,background:v,radius:f,margin:u,padding:g,...m,"data-shoplflow":"StackContainer",children:m.children})}),a0=Dr();a0.Vertical=Dr({direction:"column"});a0.Horizontal=Dr({direction:"row"});const Z2=Se(a0);Z2.Vertical=Se(a0.Vertical);Z2.Horizontal=Se(a0.Horizontal);const Au=e=>R`
|
|
92
92
|
display: -webkit-box;
|
|
93
93
|
line-clamp: ${e};
|
|
94
94
|
-webkit-line-clamp: ${e};
|
|
@@ -131,7 +131,7 @@ var U5=Object.defineProperty;var z5=(e,t,i)=>t in e?U5(e,t,{enumerable:!0,config
|
|
|
131
131
|
`,Ou=(e,t)=>e>1200?1200-64:e>t?t-64:e-64;V.div`
|
|
132
132
|
display: flex;
|
|
133
133
|
flex-direction: column;
|
|
134
|
-
border-radius: ${
|
|
134
|
+
border-radius: ${Te.borderRadius08};
|
|
135
135
|
background: ${y.neutral0};
|
|
136
136
|
box-shadow: ${b2.dropShadow};
|
|
137
137
|
overflow: hidden;
|
|
@@ -195,7 +195,7 @@ var U5=Object.defineProperty;var z5=(e,t,i)=>t in e?U5(e,t,{enumerable:!0,config
|
|
|
195
195
|
gap: 12px;
|
|
196
196
|
border-top: 1px solid ${y.neutral300};
|
|
197
197
|
background: ${y.neutral0};
|
|
198
|
-
`;function Hu(e,t){if(e!=null){if(typeof e=="function"){e(t);return}try{e.current=t}catch{throw new Error(`Cannot assign value '${String(t)}' to ref '${String(e)}'`)}}}function $u(...e){return t=>{e.forEach(i=>{Hu(i,t)})}}function Uu(...e){return M.exports.useMemo(()=>$u(...e),e)}const us=function(){},ps=e=>e===void 0||e===null;var S2={},I2={},H1={exports:{}},b0={exports:{}};(function(){var e,t,i,n,o,s;typeof performance<"u"&&performance!==null&&performance.now?b0.exports=function(){return performance.now()}:typeof process<"u"&&process!==null&&process.hrtime?(b0.exports=function(){return(e()-o)/1e6},t=process.hrtime,e=function(){var l;return l=t(),l[0]*1e9+l[1]},n=e(),s=process.uptime()*1e9,o=n-s):Date.now?(b0.exports=function(){return Date.now()-i},i=Date.now()):(b0.exports=function(){return new Date().getTime()-i},i=new Date().getTime())}).call(Tl);var zu=b0.exports,ht=typeof window>"u"?Tl:window,ui=["moz","webkit"],t0="AnimationFrame",r0=ht["request"+t0],j0=ht["cancel"+t0]||ht["cancelRequest"+t0];for(var p0=0;!r0&&p0<ui.length;p0++)r0=ht[ui[p0]+"Request"+t0],j0=ht[ui[p0]+"Cancel"+t0]||ht[ui[p0]+"CancelRequest"+t0];if(!r0||!j0){var fn=0,gs=0,Ct=[],Wu=1e3/60;r0=function(e){if(Ct.length===0){var t=zu(),i=Math.max(0,Wu-(t-fn));fn=i+t,setTimeout(function(){var n=Ct.slice(0);Ct.length=0;for(var o=0;o<n.length;o++)if(!n[o].cancelled)try{n[o].callback(fn)}catch(s){setTimeout(function(){throw s},0)}},Math.round(i))}return Ct.push({handle:++gs,callback:e,cancelled:!1}),gs},j0=function(e){for(var t=0;t<Ct.length;t++)Ct[t].handle===e&&(Ct[t].cancelled=!0)}}H1.exports=function(e){return r0.call(ht,e)};H1.exports.cancel=function(){j0.apply(ht,arguments)};H1.exports.polyfill=function(e){e||(e=ht),e.requestAnimationFrame=r0,e.cancelAnimationFrame=j0};var oi={exports:{}},un=null,vs=["Webkit","Moz","O","ms"],Gu=function(t){un||(un=document.createElement("div"));var i=un.style;if(t in i)return t;for(var n=t.charAt(0).toUpperCase()+t.slice(1),o=vs.length;o>=0;o--){var s=vs[o]+n;if(s in i)return s}return!1},ju=Ku,Nu=/\s/,Xu=/(_|-|\.|:)/,Yu=/([a-z][A-Z]|[A-Z][a-z])/;function Ku(e){return Nu.test(e)?e.toLowerCase():Xu.test(e)?(Qu(e)||e).toLowerCase():Yu.test(e)?e6(e).toLowerCase():e.toLowerCase()}var qu=/[\W_]+(.|$)/g;function Qu(e){return e.replace(qu,function(t,i){return i?" "+i:""})}var Ju=/(.)([A-Z]+)/g;function e6(e){return e.replace(Ju,function(t,i,n){return i+" "+n.toLowerCase().split("").join(" ")})}var t6=ju,i6=n6;function n6(e){return t6(e).replace(/[\W_]+(.|$)/g,function(t,i){return i?" "+i:""}).trim()}var r6=i6,o6=s6;function s6(e){return r6(e).replace(/\s(\w)/g,function(t,i){return i.toUpperCase()})}var l6={animationIterationCount:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridRow:!0,gridColumn:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,stopOpacity:!0,strokeDashoffset:!0,strokeOpacity:!0,strokeWidth:!0},a6=function(e,t){return typeof t=="number"&&!l6[e]?t+"px":t},c6=Gu,d6=o6,Li={float:"cssFloat"},h6=a6;function qi(e,t,i){var n=Li[t];if(typeof n>"u"&&(n=u6(t)),n){if(i===void 0)return e.style[n];e.style[n]=h6(n,i)}}function f6(e,t){for(var i in t)t.hasOwnProperty(i)&&qi(e,i,t[i])}function u6(e){var t=d6(e),i=c6(t);return Li[t]=Li[e]=Li[i]=i,i}function C2(){arguments.length===2?typeof arguments[1]=="string"?arguments[0].style.cssText=arguments[1]:f6(arguments[0],arguments[1]):qi(arguments[0],arguments[1],arguments[2])}oi.exports=C2;oi.exports.set=C2;oi.exports.get=function(e,t){return Array.isArray(t)?t.reduce(function(i,n){return i[n]=qi(e,n||""),i},{}):qi(e,t||"")};var A2={exports:{}},p6="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",g6=p6,v6=g6;function R2(){}function k2(){}k2.resetWarningCache=R2;var m6=function(){function e(n,o,s,l,a,c){if(c!==v6){var d=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 d.name="Invariant Violation",d}}e.isRequired=e;function t(){return e}var i={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:k2,resetWarningCache:R2};return i.PropTypes=i,i};A2.exports=m6();var F2={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=t;function t(i){return typeof i=="string"}})(F2);var B2={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=s;var t=oi.exports,i=n(t);function n(l){return l&&l.__esModule?l:{default:l}}var o=!1;function s(){var l=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;if(l&&o!==!1)return o;if(typeof document<"u"){var a=document.createElement("div");(0,i.default)(a,{width:100,height:100,position:"absolute",top:-9999,overflow:"scroll",MsOverflowStyle:"scrollbar"}),document.body.appendChild(a),o=a.offsetWidth-a.clientWidth,document.body.removeChild(a)}else o=0;return o||0}})(B2);var E2={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=t;function t(){return!1}})(E2);var L2={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=t;function t(i){var n=i.clientWidth,o=getComputedStyle(i),s=o.paddingLeft,l=o.paddingRight;return n-parseFloat(s)-parseFloat(l)}})(L2);var D2={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=t;function t(i){var n=i.clientHeight,o=getComputedStyle(i),s=o.paddingTop,l=o.paddingBottom;return n-parseFloat(s)-parseFloat(l)}})(D2);var Ve={};Object.defineProperty(Ve,"__esModule",{value:!0});Ve.containerStyleDefault={position:"relative",overflow:"hidden",width:"100%",height:"100%"};Ve.containerStyleAutoHeight={height:"auto"};Ve.viewStyleDefault={position:"absolute",top:0,left:0,right:0,bottom:0,overflow:"scroll",WebkitOverflowScrolling:"touch"};Ve.viewStyleAutoHeight={position:"relative",top:void 0,left:void 0,right:void 0,bottom:void 0};Ve.viewStyleUniversalInitial={overflow:"hidden",marginRight:0,marginBottom:0};Ve.trackHorizontalStyleDefault={position:"absolute",height:6};Ve.trackVerticalStyleDefault={position:"absolute",width:6};Ve.thumbHorizontalStyleDefault={position:"relative",display:"block",height:"100%"};Ve.thumbVerticalStyleDefault={position:"relative",display:"block",width:"100%"};Ve.disableSelectStyle={userSelect:"none"};Ve.disableSelectStyleReset={userSelect:""};var zt={};Object.defineProperty(zt,"__esModule",{value:!0});var bt=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&(e[n]=i[n])}return e};zt.renderViewDefault=y6;zt.renderTrackHorizontalDefault=_6;zt.renderTrackVerticalDefault=b6;zt.renderThumbHorizontalDefault=M6;zt.renderThumbVerticalDefault=Z6;var x6=M.exports,si=w6(x6);function w6(e){return e&&e.__esModule?e:{default:e}}function $1(e,t){var i={};for(var n in e)t.indexOf(n)>=0||!Object.prototype.hasOwnProperty.call(e,n)||(i[n]=e[n]);return i}function y6(e){return si.default.createElement("div",e)}function _6(e){var t=e.style,i=$1(e,["style"]),n=bt({},t,{right:2,bottom:2,left:2,borderRadius:3});return si.default.createElement("div",bt({style:n},i))}function b6(e){var t=e.style,i=$1(e,["style"]),n=bt({},t,{right:2,bottom:2,top:2,borderRadius:3});return si.default.createElement("div",bt({style:n},i))}function M6(e){var t=e.style,i=$1(e,["style"]),n=bt({},t,{cursor:"pointer",borderRadius:"inherit",backgroundColor:"rgba(0,0,0,.2)"});return si.default.createElement("div",bt({style:n},i))}function Z6(e){var t=e.style,i=$1(e,["style"]),n=bt({},t,{cursor:"pointer",borderRadius:"inherit",backgroundColor:"rgba(0,0,0,.2)"});return si.default.createElement("div",bt({style:n},i))}(function(e){Object.defineProperty(e,"__esModule",{value:!0});var t=Object.assign||function(H){for(var P=1;P<arguments.length;P++){var E=arguments[P];for(var S in E)Object.prototype.hasOwnProperty.call(E,S)&&(H[S]=E[S])}return H},i=function(){function H(P,E){for(var S=0;S<E.length;S++){var F=E[S];F.enumerable=F.enumerable||!1,F.configurable=!0,"value"in F&&(F.writable=!0),Object.defineProperty(P,F.key,F)}}return function(P,E,S){return E&&H(P.prototype,E),S&&H(P,S),P}}(),n=H1.exports,o=D(n),s=oi.exports,l=D(s),a=M.exports,c=A2.exports,d=D(c),h=F2,f=D(h),u=B2,g=D(u),v=E2,m=D(v),w=L2,_=D(w),Z=D2,b=D(Z),I=Ve,A=zt;function D(H){return H&&H.__esModule?H:{default:H}}function k(H,P){var E={};for(var S in H)P.indexOf(S)>=0||!Object.prototype.hasOwnProperty.call(H,S)||(E[S]=H[S]);return E}function L(H,P){if(!(H instanceof P))throw new TypeError("Cannot call a class as a function")}function O(H,P){if(!H)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return P&&(typeof P=="object"||typeof P=="function")?P:H}function U(H,P){if(typeof P!="function"&&P!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof P);H.prototype=Object.create(P&&P.prototype,{constructor:{value:H,enumerable:!1,writable:!0,configurable:!0}}),P&&(Object.setPrototypeOf?Object.setPrototypeOf(H,P):H.__proto__=P)}var N=function(H){U(P,H);function P(E){var S;L(this,P);for(var F=arguments.length,T=Array(F>1?F-1:0),$=1;$<F;$++)T[$-1]=arguments[$];var C=O(this,(S=P.__proto__||Object.getPrototypeOf(P)).call.apply(S,[this,E].concat(T)));return C.getScrollLeft=C.getScrollLeft.bind(C),C.getScrollTop=C.getScrollTop.bind(C),C.getScrollWidth=C.getScrollWidth.bind(C),C.getScrollHeight=C.getScrollHeight.bind(C),C.getClientWidth=C.getClientWidth.bind(C),C.getClientHeight=C.getClientHeight.bind(C),C.getValues=C.getValues.bind(C),C.getThumbHorizontalWidth=C.getThumbHorizontalWidth.bind(C),C.getThumbVerticalHeight=C.getThumbVerticalHeight.bind(C),C.getScrollLeftForOffset=C.getScrollLeftForOffset.bind(C),C.getScrollTopForOffset=C.getScrollTopForOffset.bind(C),C.scrollLeft=C.scrollLeft.bind(C),C.scrollTop=C.scrollTop.bind(C),C.scrollToLeft=C.scrollToLeft.bind(C),C.scrollToTop=C.scrollToTop.bind(C),C.scrollToRight=C.scrollToRight.bind(C),C.scrollToBottom=C.scrollToBottom.bind(C),C.handleTrackMouseEnter=C.handleTrackMouseEnter.bind(C),C.handleTrackMouseLeave=C.handleTrackMouseLeave.bind(C),C.handleHorizontalTrackMouseDown=C.handleHorizontalTrackMouseDown.bind(C),C.handleVerticalTrackMouseDown=C.handleVerticalTrackMouseDown.bind(C),C.handleHorizontalThumbMouseDown=C.handleHorizontalThumbMouseDown.bind(C),C.handleVerticalThumbMouseDown=C.handleVerticalThumbMouseDown.bind(C),C.handleWindowResize=C.handleWindowResize.bind(C),C.handleScroll=C.handleScroll.bind(C),C.handleDrag=C.handleDrag.bind(C),C.handleDragEnd=C.handleDragEnd.bind(C),C.state={didMountUniversal:!1},C}return i(P,[{key:"componentDidMount",value:function(){this.addListeners(),this.update(),this.componentDidMountUniversal()}},{key:"componentDidMountUniversal",value:function(){var S=this.props.universal;!S||this.setState({didMountUniversal:!0})}},{key:"componentDidUpdate",value:function(){this.update()}},{key:"componentWillUnmount",value:function(){this.removeListeners(),(0,n.cancel)(this.requestFrame),clearTimeout(this.hideTracksTimeout),clearInterval(this.detectScrollingInterval)}},{key:"getScrollLeft",value:function(){return this.view?this.view.scrollLeft:0}},{key:"getScrollTop",value:function(){return this.view?this.view.scrollTop:0}},{key:"getScrollWidth",value:function(){return this.view?this.view.scrollWidth:0}},{key:"getScrollHeight",value:function(){return this.view?this.view.scrollHeight:0}},{key:"getClientWidth",value:function(){return this.view?this.view.clientWidth:0}},{key:"getClientHeight",value:function(){return this.view?this.view.clientHeight:0}},{key:"getValues",value:function(){var S=this.view||{},F=S.scrollLeft,T=F===void 0?0:F,$=S.scrollTop,C=$===void 0?0:$,X=S.scrollWidth,z=X===void 0?0:X,W=S.scrollHeight,ie=W===void 0?0:W,te=S.clientWidth,ge=te===void 0?0:te,ee=S.clientHeight,Me=ee===void 0?0:ee;return{left:T/(z-ge)||0,top:C/(ie-Me)||0,scrollLeft:T,scrollTop:C,scrollWidth:z,scrollHeight:ie,clientWidth:ge,clientHeight:Me}}},{key:"getThumbHorizontalWidth",value:function(){var S=this.props,F=S.thumbSize,T=S.thumbMinSize,$=this.view,C=$.scrollWidth,X=$.clientWidth,z=(0,_.default)(this.trackHorizontal),W=Math.ceil(X/C*z);return z<=W?0:F||Math.max(W,T)}},{key:"getThumbVerticalHeight",value:function(){var S=this.props,F=S.thumbSize,T=S.thumbMinSize,$=this.view,C=$.scrollHeight,X=$.clientHeight,z=(0,b.default)(this.trackVertical),W=Math.ceil(X/C*z);return z<=W?0:F||Math.max(W,T)}},{key:"getScrollLeftForOffset",value:function(S){var F=this.view,T=F.scrollWidth,$=F.clientWidth,C=(0,_.default)(this.trackHorizontal),X=this.getThumbHorizontalWidth();return S/(C-X)*(T-$)}},{key:"getScrollTopForOffset",value:function(S){var F=this.view,T=F.scrollHeight,$=F.clientHeight,C=(0,b.default)(this.trackVertical),X=this.getThumbVerticalHeight();return S/(C-X)*(T-$)}},{key:"scrollLeft",value:function(){var S=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;!this.view||(this.view.scrollLeft=S)}},{key:"scrollTop",value:function(){var S=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;!this.view||(this.view.scrollTop=S)}},{key:"scrollToLeft",value:function(){!this.view||(this.view.scrollLeft=0)}},{key:"scrollToTop",value:function(){!this.view||(this.view.scrollTop=0)}},{key:"scrollToRight",value:function(){!this.view||(this.view.scrollLeft=this.view.scrollWidth)}},{key:"scrollToBottom",value:function(){!this.view||(this.view.scrollTop=this.view.scrollHeight)}},{key:"addListeners",value:function(){if(!(typeof document>"u"||!this.view)){var S=this.view,F=this.trackHorizontal,T=this.trackVertical,$=this.thumbHorizontal,C=this.thumbVertical;S.addEventListener("scroll",this.handleScroll),(0,g.default)()&&(F.addEventListener("mouseenter",this.handleTrackMouseEnter),F.addEventListener("mouseleave",this.handleTrackMouseLeave),F.addEventListener("mousedown",this.handleHorizontalTrackMouseDown),T.addEventListener("mouseenter",this.handleTrackMouseEnter),T.addEventListener("mouseleave",this.handleTrackMouseLeave),T.addEventListener("mousedown",this.handleVerticalTrackMouseDown),$.addEventListener("mousedown",this.handleHorizontalThumbMouseDown),C.addEventListener("mousedown",this.handleVerticalThumbMouseDown),window.addEventListener("resize",this.handleWindowResize))}}},{key:"removeListeners",value:function(){if(!(typeof document>"u"||!this.view)){var S=this.view,F=this.trackHorizontal,T=this.trackVertical,$=this.thumbHorizontal,C=this.thumbVertical;S.removeEventListener("scroll",this.handleScroll),(0,g.default)()&&(F.removeEventListener("mouseenter",this.handleTrackMouseEnter),F.removeEventListener("mouseleave",this.handleTrackMouseLeave),F.removeEventListener("mousedown",this.handleHorizontalTrackMouseDown),T.removeEventListener("mouseenter",this.handleTrackMouseEnter),T.removeEventListener("mouseleave",this.handleTrackMouseLeave),T.removeEventListener("mousedown",this.handleVerticalTrackMouseDown),$.removeEventListener("mousedown",this.handleHorizontalThumbMouseDown),C.removeEventListener("mousedown",this.handleVerticalThumbMouseDown),window.removeEventListener("resize",this.handleWindowResize),this.teardownDragging())}}},{key:"handleScroll",value:function(S){var F=this,T=this.props,$=T.onScroll,C=T.onScrollFrame;$&&$(S),this.update(function(X){var z=X.scrollLeft,W=X.scrollTop;F.viewScrollLeft=z,F.viewScrollTop=W,C&&C(X)}),this.detectScrolling()}},{key:"handleScrollStart",value:function(){var S=this.props.onScrollStart;S&&S(),this.handleScrollStartAutoHide()}},{key:"handleScrollStartAutoHide",value:function(){var S=this.props.autoHide;!S||this.showTracks()}},{key:"handleScrollStop",value:function(){var S=this.props.onScrollStop;S&&S(),this.handleScrollStopAutoHide()}},{key:"handleScrollStopAutoHide",value:function(){var S=this.props.autoHide;!S||this.hideTracks()}},{key:"handleWindowResize",value:function(){(0,g.default)(!1),this.forceUpdate()}},{key:"handleHorizontalTrackMouseDown",value:function(S){S.preventDefault();var F=S.target,T=S.clientX,$=F.getBoundingClientRect(),C=$.left,X=this.getThumbHorizontalWidth(),z=Math.abs(C-T)-X/2;this.view.scrollLeft=this.getScrollLeftForOffset(z)}},{key:"handleVerticalTrackMouseDown",value:function(S){S.preventDefault();var F=S.target,T=S.clientY,$=F.getBoundingClientRect(),C=$.top,X=this.getThumbVerticalHeight(),z=Math.abs(C-T)-X/2;this.view.scrollTop=this.getScrollTopForOffset(z)}},{key:"handleHorizontalThumbMouseDown",value:function(S){S.preventDefault(),this.handleDragStart(S);var F=S.target,T=S.clientX,$=F.offsetWidth,C=F.getBoundingClientRect(),X=C.left;this.prevPageX=$-(T-X)}},{key:"handleVerticalThumbMouseDown",value:function(S){S.preventDefault(),this.handleDragStart(S);var F=S.target,T=S.clientY,$=F.offsetHeight,C=F.getBoundingClientRect(),X=C.top;this.prevPageY=$-(T-X)}},{key:"setupDragging",value:function(){(0,l.default)(document.body,I.disableSelectStyle),document.addEventListener("mousemove",this.handleDrag),document.addEventListener("mouseup",this.handleDragEnd),document.onselectstart=m.default}},{key:"teardownDragging",value:function(){(0,l.default)(document.body,I.disableSelectStyleReset),document.removeEventListener("mousemove",this.handleDrag),document.removeEventListener("mouseup",this.handleDragEnd),document.onselectstart=void 0}},{key:"handleDragStart",value:function(S){this.dragging=!0,S.stopImmediatePropagation(),this.setupDragging()}},{key:"handleDrag",value:function(S){if(this.prevPageX){var F=S.clientX,T=this.trackHorizontal.getBoundingClientRect(),$=T.left,C=this.getThumbHorizontalWidth(),X=C-this.prevPageX,z=-$+F-X;this.view.scrollLeft=this.getScrollLeftForOffset(z)}if(this.prevPageY){var W=S.clientY,ie=this.trackVertical.getBoundingClientRect(),te=ie.top,ge=this.getThumbVerticalHeight(),ee=ge-this.prevPageY,Me=-te+W-ee;this.view.scrollTop=this.getScrollTopForOffset(Me)}return!1}},{key:"handleDragEnd",value:function(){this.dragging=!1,this.prevPageX=this.prevPageY=0,this.teardownDragging(),this.handleDragEndAutoHide()}},{key:"handleDragEndAutoHide",value:function(){var S=this.props.autoHide;!S||this.hideTracks()}},{key:"handleTrackMouseEnter",value:function(){this.trackMouseOver=!0,this.handleTrackMouseEnterAutoHide()}},{key:"handleTrackMouseEnterAutoHide",value:function(){var S=this.props.autoHide;!S||this.showTracks()}},{key:"handleTrackMouseLeave",value:function(){this.trackMouseOver=!1,this.handleTrackMouseLeaveAutoHide()}},{key:"handleTrackMouseLeaveAutoHide",value:function(){var S=this.props.autoHide;!S||this.hideTracks()}},{key:"showTracks",value:function(){clearTimeout(this.hideTracksTimeout),(0,l.default)(this.trackHorizontal,{opacity:1}),(0,l.default)(this.trackVertical,{opacity:1})}},{key:"hideTracks",value:function(){var S=this;if(!this.dragging&&!this.scrolling&&!this.trackMouseOver){var F=this.props.autoHideTimeout;clearTimeout(this.hideTracksTimeout),this.hideTracksTimeout=setTimeout(function(){(0,l.default)(S.trackHorizontal,{opacity:0}),(0,l.default)(S.trackVertical,{opacity:0})},F)}}},{key:"detectScrolling",value:function(){var S=this;this.scrolling||(this.scrolling=!0,this.handleScrollStart(),this.detectScrollingInterval=setInterval(function(){S.lastViewScrollLeft===S.viewScrollLeft&&S.lastViewScrollTop===S.viewScrollTop&&(clearInterval(S.detectScrollingInterval),S.scrolling=!1,S.handleScrollStop()),S.lastViewScrollLeft=S.viewScrollLeft,S.lastViewScrollTop=S.viewScrollTop},100))}},{key:"raf",value:function(S){var F=this;this.requestFrame&&o.default.cancel(this.requestFrame),this.requestFrame=(0,o.default)(function(){F.requestFrame=void 0,S()})}},{key:"update",value:function(S){var F=this;this.raf(function(){return F._update(S)})}},{key:"_update",value:function(S){var F=this.props,T=F.onUpdate,$=F.hideTracksWhenNotNeeded,C=this.getValues();if((0,g.default)()){var X=C.scrollLeft,z=C.clientWidth,W=C.scrollWidth,ie=(0,_.default)(this.trackHorizontal),te=this.getThumbHorizontalWidth(),ge=X/(W-z)*(ie-te),ee={width:te,transform:"translateX("+ge+"px)"},Me=C.scrollTop,Ge=C.clientHeight,Pe=C.scrollHeight,ut=(0,b.default)(this.trackVertical),Oe=this.getThumbVerticalHeight(),Gt=Me/(Pe-Ge)*(ut-Oe),nt={height:Oe,transform:"translateY("+Gt+"px)"};if($){var N1={visibility:W>z?"visible":"hidden"},X1={visibility:Pe>Ge?"visible":"hidden"};(0,l.default)(this.trackHorizontal,N1),(0,l.default)(this.trackVertical,X1)}(0,l.default)(this.thumbHorizontal,ee),(0,l.default)(this.thumbVertical,nt)}T&&T(C),typeof S=="function"&&S(C)}},{key:"render",value:function(){var S=this,F=(0,g.default)(),T=this.props;T.onScroll,T.onScrollFrame,T.onScrollStart,T.onScrollStop,T.onUpdate;var $=T.renderView,C=T.renderTrackHorizontal,X=T.renderTrackVertical,z=T.renderThumbHorizontal,W=T.renderThumbVertical,ie=T.tagName;T.hideTracksWhenNotNeeded;var te=T.autoHide;T.autoHideTimeout;var ge=T.autoHideDuration;T.thumbSize,T.thumbMinSize;var ee=T.universal,Me=T.autoHeight,Ge=T.autoHeightMin,Pe=T.autoHeightMax,ut=T.style,Oe=T.children,Gt=k(T,["onScroll","onScrollFrame","onScrollStart","onScrollStop","onUpdate","renderView","renderTrackHorizontal","renderTrackVertical","renderThumbHorizontal","renderThumbVertical","tagName","hideTracksWhenNotNeeded","autoHide","autoHideTimeout","autoHideDuration","thumbSize","thumbMinSize","universal","autoHeight","autoHeightMin","autoHeightMax","style","children"]),nt=this.state.didMountUniversal,N1=t({},I.containerStyleDefault,Me&&t({},I.containerStyleAutoHeight,{minHeight:Ge,maxHeight:Pe}),ut),X1=t({},I.viewStyleDefault,{marginRight:F?-F:0,marginBottom:F?-F:0},Me&&t({},I.viewStyleAutoHeight,{minHeight:(0,f.default)(Ge)?"calc("+Ge+" + "+F+"px)":Ge+F,maxHeight:(0,f.default)(Pe)?"calc("+Pe+" + "+F+"px)":Pe+F}),Me&&ee&&!nt&&{minHeight:Ge,maxHeight:Pe},ee&&!nt&&I.viewStyleUniversalInitial),Kr={transition:"opacity "+ge+"ms",opacity:0},H5=t({},I.trackHorizontalStyleDefault,te&&Kr,(!F||ee&&!nt)&&{display:"none"}),$5=t({},I.trackVerticalStyleDefault,te&&Kr,(!F||ee&&!nt)&&{display:"none"});return(0,a.createElement)(ie,t({},Gt,{style:N1,ref:function(We){S.container=We}}),[(0,a.cloneElement)($({style:X1}),{key:"view",ref:function(We){S.view=We}},Oe),(0,a.cloneElement)(C({style:H5}),{key:"trackHorizontal",ref:function(We){S.trackHorizontal=We}},(0,a.cloneElement)(z({style:I.thumbHorizontalStyleDefault}),{ref:function(We){S.thumbHorizontal=We}})),(0,a.cloneElement)(X({style:$5}),{key:"trackVertical",ref:function(We){S.trackVertical=We}},(0,a.cloneElement)(W({style:I.thumbVerticalStyleDefault}),{ref:function(We){S.thumbVertical=We}}))])}}]),P}(a.Component);e.default=N,N.propTypes={onScroll:d.default.func,onScrollFrame:d.default.func,onScrollStart:d.default.func,onScrollStop:d.default.func,onUpdate:d.default.func,renderView:d.default.func,renderTrackHorizontal:d.default.func,renderTrackVertical:d.default.func,renderThumbHorizontal:d.default.func,renderThumbVertical:d.default.func,tagName:d.default.string,thumbSize:d.default.number,thumbMinSize:d.default.number,hideTracksWhenNotNeeded:d.default.bool,autoHide:d.default.bool,autoHideTimeout:d.default.number,autoHideDuration:d.default.number,autoHeight:d.default.bool,autoHeightMin:d.default.oneOfType([d.default.number,d.default.string]),autoHeightMax:d.default.oneOfType([d.default.number,d.default.string]),universal:d.default.bool,style:d.default.object,children:d.default.node},N.defaultProps={renderView:A.renderViewDefault,renderTrackHorizontal:A.renderTrackHorizontalDefault,renderTrackVertical:A.renderTrackVerticalDefault,renderThumbHorizontal:A.renderThumbHorizontalDefault,renderThumbVertical:A.renderThumbVerticalDefault,tagName:"div",thumbMinSize:30,hideTracksWhenNotNeeded:!1,autoHide:!1,autoHideTimeout:1e3,autoHideDuration:200,autoHeight:!1,autoHeightMin:0,autoHeightMax:200,universal:!1}})(I2);(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.Scrollbars=void 0;var t=I2,i=n(t);function n(o){return o&&o.__esModule?o:{default:o}}e.default=i.default,e.Scrollbars=i.default})(S2);const S6=W5(S2),I6=M.exports.forwardRef(({children:e,...t},i)=>{const n=M.exports.useRef(null),o=Uu(n,i),[s,l]=M.exports.useState(window.innerWidth),[a,c]=M.exports.useState(window.innerHeight),d=M.exports.useCallback(()=>{l(window.innerWidth),c(window.innerHeight)},[]);return M.exports.useEffect(()=>(window.addEventListener("resize",d),()=>{window.removeEventListener("resize",d)}),[d]),r(Pt,{children:Boolean(s)&&Boolean(a)&&r(S6,{ref:o,autoHide:!0,autoHideTimeout:1e3,autoHideDuration:200,...t,"data-shoplflow":"ScrollArea",children:e})})}),C6=M.exports.createContext({addModal:us,removeModal:us}),T2=M.exports.createContext([]),A6=({children:e})=>{const[t,i]=M.exports.useState([]),n=(l,a,c)=>{i(d=>d?[...d,{component:l,id:a,zIndex:c}]:[{component:l,id:a,zIndex:c}])},o=l=>{const{id:a,deps:c}=l||{id:void 0,deps:void 0},d=Boolean(a&&c),h=Boolean(a),f=!a&&Boolean(ps(c)),u=Boolean(Boolean(!ps(c))&&!a);if(d)throw new Error("id\uC640 deps\uB294 \uB3D9\uC2DC\uC5D0 \uC0AC\uC6A9\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4.");if(h){i(g=>[...g.filter(m=>m.id!==a)]);return}if(f||c===1){i(g=>[...g.slice(0,-1)]);return}if(u){if(c===0||c===void 0)return;i(g=>[...g.slice(0,-c)]);return}},s=M.exports.useMemo(()=>({addModal:n,removeModal:o}),[]);return M.exports.useEffect(()=>{if(t.length===1)return document.body.style.cssText="overflow:hidden",()=>{document.body.style.cssText="overflow:unset"}},[t.length]),M.exports.useEffect(()=>{const l=()=>{i([])};return window.addEventListener("popstate",l),()=>{window.removeEventListener("popstate",l)}},[]),r(T2.Provider,{value:t,children:r(C6.Provider,{value:s,children:e})})};V.div`
|
|
198
|
+
`;function Hu(e,t){if(e!=null){if(typeof e=="function"){e(t);return}try{e.current=t}catch{throw new Error(`Cannot assign value '${String(t)}' to ref '${String(e)}'`)}}}function $u(...e){return t=>{e.forEach(i=>{Hu(i,t)})}}function Uu(...e){return M.exports.useMemo(()=>$u(...e),e)}const us=function(){},ps=e=>e===void 0||e===null;var S2={},I2={},H1={exports:{}},b0={exports:{}};(function(){var e,t,i,n,o,s;typeof performance<"u"&&performance!==null&&performance.now?b0.exports=function(){return performance.now()}:typeof process<"u"&&process!==null&&process.hrtime?(b0.exports=function(){return(e()-o)/1e6},t=process.hrtime,e=function(){var l;return l=t(),l[0]*1e9+l[1]},n=e(),s=process.uptime()*1e9,o=n-s):Date.now?(b0.exports=function(){return Date.now()-i},i=Date.now()):(b0.exports=function(){return new Date().getTime()-i},i=new Date().getTime())}).call(Tl);var zu=b0.exports,ht=typeof window>"u"?Tl:window,ui=["moz","webkit"],t0="AnimationFrame",r0=ht["request"+t0],j0=ht["cancel"+t0]||ht["cancelRequest"+t0];for(var p0=0;!r0&&p0<ui.length;p0++)r0=ht[ui[p0]+"Request"+t0],j0=ht[ui[p0]+"Cancel"+t0]||ht[ui[p0]+"CancelRequest"+t0];if(!r0||!j0){var fn=0,gs=0,Ct=[],Wu=1e3/60;r0=function(e){if(Ct.length===0){var t=zu(),i=Math.max(0,Wu-(t-fn));fn=i+t,setTimeout(function(){var n=Ct.slice(0);Ct.length=0;for(var o=0;o<n.length;o++)if(!n[o].cancelled)try{n[o].callback(fn)}catch(s){setTimeout(function(){throw s},0)}},Math.round(i))}return Ct.push({handle:++gs,callback:e,cancelled:!1}),gs},j0=function(e){for(var t=0;t<Ct.length;t++)Ct[t].handle===e&&(Ct[t].cancelled=!0)}}H1.exports=function(e){return r0.call(ht,e)};H1.exports.cancel=function(){j0.apply(ht,arguments)};H1.exports.polyfill=function(e){e||(e=ht),e.requestAnimationFrame=r0,e.cancelAnimationFrame=j0};var oi={exports:{}},un=null,vs=["Webkit","Moz","O","ms"],Gu=function(t){un||(un=document.createElement("div"));var i=un.style;if(t in i)return t;for(var n=t.charAt(0).toUpperCase()+t.slice(1),o=vs.length;o>=0;o--){var s=vs[o]+n;if(s in i)return s}return!1},ju=Ku,Nu=/\s/,Xu=/(_|-|\.|:)/,Yu=/([a-z][A-Z]|[A-Z][a-z])/;function Ku(e){return Nu.test(e)?e.toLowerCase():Xu.test(e)?(Qu(e)||e).toLowerCase():Yu.test(e)?e6(e).toLowerCase():e.toLowerCase()}var qu=/[\W_]+(.|$)/g;function Qu(e){return e.replace(qu,function(t,i){return i?" "+i:""})}var Ju=/(.)([A-Z]+)/g;function e6(e){return e.replace(Ju,function(t,i,n){return i+" "+n.toLowerCase().split("").join(" ")})}var t6=ju,i6=n6;function n6(e){return t6(e).replace(/[\W_]+(.|$)/g,function(t,i){return i?" "+i:""}).trim()}var r6=i6,o6=s6;function s6(e){return r6(e).replace(/\s(\w)/g,function(t,i){return i.toUpperCase()})}var l6={animationIterationCount:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridRow:!0,gridColumn:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,stopOpacity:!0,strokeDashoffset:!0,strokeOpacity:!0,strokeWidth:!0},a6=function(e,t){return typeof t=="number"&&!l6[e]?t+"px":t},c6=Gu,d6=o6,Li={float:"cssFloat"},h6=a6;function qi(e,t,i){var n=Li[t];if(typeof n>"u"&&(n=u6(t)),n){if(i===void 0)return e.style[n];e.style[n]=h6(n,i)}}function f6(e,t){for(var i in t)t.hasOwnProperty(i)&&qi(e,i,t[i])}function u6(e){var t=d6(e),i=c6(t);return Li[t]=Li[e]=Li[i]=i,i}function C2(){arguments.length===2?typeof arguments[1]=="string"?arguments[0].style.cssText=arguments[1]:f6(arguments[0],arguments[1]):qi(arguments[0],arguments[1],arguments[2])}oi.exports=C2;oi.exports.set=C2;oi.exports.get=function(e,t){return Array.isArray(t)?t.reduce(function(i,n){return i[n]=qi(e,n||""),i},{}):qi(e,t||"")};var A2={exports:{}},p6="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",g6=p6,v6=g6;function R2(){}function k2(){}k2.resetWarningCache=R2;var m6=function(){function e(n,o,s,l,a,c){if(c!==v6){var d=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 d.name="Invariant Violation",d}}e.isRequired=e;function t(){return e}var i={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:k2,resetWarningCache:R2};return i.PropTypes=i,i};A2.exports=m6();var F2={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=t;function t(i){return typeof i=="string"}})(F2);var B2={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=s;var t=oi.exports,i=n(t);function n(l){return l&&l.__esModule?l:{default:l}}var o=!1;function s(){var l=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;if(l&&o!==!1)return o;if(typeof document<"u"){var a=document.createElement("div");(0,i.default)(a,{width:100,height:100,position:"absolute",top:-9999,overflow:"scroll",MsOverflowStyle:"scrollbar"}),document.body.appendChild(a),o=a.offsetWidth-a.clientWidth,document.body.removeChild(a)}else o=0;return o||0}})(B2);var E2={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=t;function t(){return!1}})(E2);var L2={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=t;function t(i){var n=i.clientWidth,o=getComputedStyle(i),s=o.paddingLeft,l=o.paddingRight;return n-parseFloat(s)-parseFloat(l)}})(L2);var D2={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=t;function t(i){var n=i.clientHeight,o=getComputedStyle(i),s=o.paddingTop,l=o.paddingBottom;return n-parseFloat(s)-parseFloat(l)}})(D2);var Pe={};Object.defineProperty(Pe,"__esModule",{value:!0});Pe.containerStyleDefault={position:"relative",overflow:"hidden",width:"100%",height:"100%"};Pe.containerStyleAutoHeight={height:"auto"};Pe.viewStyleDefault={position:"absolute",top:0,left:0,right:0,bottom:0,overflow:"scroll",WebkitOverflowScrolling:"touch"};Pe.viewStyleAutoHeight={position:"relative",top:void 0,left:void 0,right:void 0,bottom:void 0};Pe.viewStyleUniversalInitial={overflow:"hidden",marginRight:0,marginBottom:0};Pe.trackHorizontalStyleDefault={position:"absolute",height:6};Pe.trackVerticalStyleDefault={position:"absolute",width:6};Pe.thumbHorizontalStyleDefault={position:"relative",display:"block",height:"100%"};Pe.thumbVerticalStyleDefault={position:"relative",display:"block",width:"100%"};Pe.disableSelectStyle={userSelect:"none"};Pe.disableSelectStyleReset={userSelect:""};var zt={};Object.defineProperty(zt,"__esModule",{value:!0});var bt=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&(e[n]=i[n])}return e};zt.renderViewDefault=y6;zt.renderTrackHorizontalDefault=_6;zt.renderTrackVerticalDefault=b6;zt.renderThumbHorizontalDefault=M6;zt.renderThumbVerticalDefault=Z6;var x6=M.exports,si=w6(x6);function w6(e){return e&&e.__esModule?e:{default:e}}function $1(e,t){var i={};for(var n in e)t.indexOf(n)>=0||!Object.prototype.hasOwnProperty.call(e,n)||(i[n]=e[n]);return i}function y6(e){return si.default.createElement("div",e)}function _6(e){var t=e.style,i=$1(e,["style"]),n=bt({},t,{right:2,bottom:2,left:2,borderRadius:3});return si.default.createElement("div",bt({style:n},i))}function b6(e){var t=e.style,i=$1(e,["style"]),n=bt({},t,{right:2,bottom:2,top:2,borderRadius:3});return si.default.createElement("div",bt({style:n},i))}function M6(e){var t=e.style,i=$1(e,["style"]),n=bt({},t,{cursor:"pointer",borderRadius:"inherit",backgroundColor:"rgba(0,0,0,.2)"});return si.default.createElement("div",bt({style:n},i))}function Z6(e){var t=e.style,i=$1(e,["style"]),n=bt({},t,{cursor:"pointer",borderRadius:"inherit",backgroundColor:"rgba(0,0,0,.2)"});return si.default.createElement("div",bt({style:n},i))}(function(e){Object.defineProperty(e,"__esModule",{value:!0});var t=Object.assign||function(H){for(var P=1;P<arguments.length;P++){var E=arguments[P];for(var S in E)Object.prototype.hasOwnProperty.call(E,S)&&(H[S]=E[S])}return H},i=function(){function H(P,E){for(var S=0;S<E.length;S++){var F=E[S];F.enumerable=F.enumerable||!1,F.configurable=!0,"value"in F&&(F.writable=!0),Object.defineProperty(P,F.key,F)}}return function(P,E,S){return E&&H(P.prototype,E),S&&H(P,S),P}}(),n=H1.exports,o=T(n),s=oi.exports,l=T(s),a=M.exports,c=A2.exports,d=T(c),h=F2,f=T(h),u=B2,g=T(u),v=E2,m=T(v),w=L2,_=T(w),Z=D2,b=T(Z),I=Pe,A=zt;function T(H){return H&&H.__esModule?H:{default:H}}function k(H,P){var E={};for(var S in H)P.indexOf(S)>=0||!Object.prototype.hasOwnProperty.call(H,S)||(E[S]=H[S]);return E}function L(H,P){if(!(H instanceof P))throw new TypeError("Cannot call a class as a function")}function O(H,P){if(!H)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return P&&(typeof P=="object"||typeof P=="function")?P:H}function U(H,P){if(typeof P!="function"&&P!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof P);H.prototype=Object.create(P&&P.prototype,{constructor:{value:H,enumerable:!1,writable:!0,configurable:!0}}),P&&(Object.setPrototypeOf?Object.setPrototypeOf(H,P):H.__proto__=P)}var N=function(H){U(P,H);function P(E){var S;L(this,P);for(var F=arguments.length,D=Array(F>1?F-1:0),$=1;$<F;$++)D[$-1]=arguments[$];var C=O(this,(S=P.__proto__||Object.getPrototypeOf(P)).call.apply(S,[this,E].concat(D)));return C.getScrollLeft=C.getScrollLeft.bind(C),C.getScrollTop=C.getScrollTop.bind(C),C.getScrollWidth=C.getScrollWidth.bind(C),C.getScrollHeight=C.getScrollHeight.bind(C),C.getClientWidth=C.getClientWidth.bind(C),C.getClientHeight=C.getClientHeight.bind(C),C.getValues=C.getValues.bind(C),C.getThumbHorizontalWidth=C.getThumbHorizontalWidth.bind(C),C.getThumbVerticalHeight=C.getThumbVerticalHeight.bind(C),C.getScrollLeftForOffset=C.getScrollLeftForOffset.bind(C),C.getScrollTopForOffset=C.getScrollTopForOffset.bind(C),C.scrollLeft=C.scrollLeft.bind(C),C.scrollTop=C.scrollTop.bind(C),C.scrollToLeft=C.scrollToLeft.bind(C),C.scrollToTop=C.scrollToTop.bind(C),C.scrollToRight=C.scrollToRight.bind(C),C.scrollToBottom=C.scrollToBottom.bind(C),C.handleTrackMouseEnter=C.handleTrackMouseEnter.bind(C),C.handleTrackMouseLeave=C.handleTrackMouseLeave.bind(C),C.handleHorizontalTrackMouseDown=C.handleHorizontalTrackMouseDown.bind(C),C.handleVerticalTrackMouseDown=C.handleVerticalTrackMouseDown.bind(C),C.handleHorizontalThumbMouseDown=C.handleHorizontalThumbMouseDown.bind(C),C.handleVerticalThumbMouseDown=C.handleVerticalThumbMouseDown.bind(C),C.handleWindowResize=C.handleWindowResize.bind(C),C.handleScroll=C.handleScroll.bind(C),C.handleDrag=C.handleDrag.bind(C),C.handleDragEnd=C.handleDragEnd.bind(C),C.state={didMountUniversal:!1},C}return i(P,[{key:"componentDidMount",value:function(){this.addListeners(),this.update(),this.componentDidMountUniversal()}},{key:"componentDidMountUniversal",value:function(){var S=this.props.universal;!S||this.setState({didMountUniversal:!0})}},{key:"componentDidUpdate",value:function(){this.update()}},{key:"componentWillUnmount",value:function(){this.removeListeners(),(0,n.cancel)(this.requestFrame),clearTimeout(this.hideTracksTimeout),clearInterval(this.detectScrollingInterval)}},{key:"getScrollLeft",value:function(){return this.view?this.view.scrollLeft:0}},{key:"getScrollTop",value:function(){return this.view?this.view.scrollTop:0}},{key:"getScrollWidth",value:function(){return this.view?this.view.scrollWidth:0}},{key:"getScrollHeight",value:function(){return this.view?this.view.scrollHeight:0}},{key:"getClientWidth",value:function(){return this.view?this.view.clientWidth:0}},{key:"getClientHeight",value:function(){return this.view?this.view.clientHeight:0}},{key:"getValues",value:function(){var S=this.view||{},F=S.scrollLeft,D=F===void 0?0:F,$=S.scrollTop,C=$===void 0?0:$,X=S.scrollWidth,z=X===void 0?0:X,K=S.scrollHeight,ge=K===void 0?0:K,j=S.clientWidth,ie=j===void 0?0:j,J=S.clientHeight,Me=J===void 0?0:J;return{left:D/(z-ie)||0,top:C/(ge-Me)||0,scrollLeft:D,scrollTop:C,scrollWidth:z,scrollHeight:ge,clientWidth:ie,clientHeight:Me}}},{key:"getThumbHorizontalWidth",value:function(){var S=this.props,F=S.thumbSize,D=S.thumbMinSize,$=this.view,C=$.scrollWidth,X=$.clientWidth,z=(0,_.default)(this.trackHorizontal),K=Math.ceil(X/C*z);return z<=K?0:F||Math.max(K,D)}},{key:"getThumbVerticalHeight",value:function(){var S=this.props,F=S.thumbSize,D=S.thumbMinSize,$=this.view,C=$.scrollHeight,X=$.clientHeight,z=(0,b.default)(this.trackVertical),K=Math.ceil(X/C*z);return z<=K?0:F||Math.max(K,D)}},{key:"getScrollLeftForOffset",value:function(S){var F=this.view,D=F.scrollWidth,$=F.clientWidth,C=(0,_.default)(this.trackHorizontal),X=this.getThumbHorizontalWidth();return S/(C-X)*(D-$)}},{key:"getScrollTopForOffset",value:function(S){var F=this.view,D=F.scrollHeight,$=F.clientHeight,C=(0,b.default)(this.trackVertical),X=this.getThumbVerticalHeight();return S/(C-X)*(D-$)}},{key:"scrollLeft",value:function(){var S=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;!this.view||(this.view.scrollLeft=S)}},{key:"scrollTop",value:function(){var S=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;!this.view||(this.view.scrollTop=S)}},{key:"scrollToLeft",value:function(){!this.view||(this.view.scrollLeft=0)}},{key:"scrollToTop",value:function(){!this.view||(this.view.scrollTop=0)}},{key:"scrollToRight",value:function(){!this.view||(this.view.scrollLeft=this.view.scrollWidth)}},{key:"scrollToBottom",value:function(){!this.view||(this.view.scrollTop=this.view.scrollHeight)}},{key:"addListeners",value:function(){if(!(typeof document>"u"||!this.view)){var S=this.view,F=this.trackHorizontal,D=this.trackVertical,$=this.thumbHorizontal,C=this.thumbVertical;S.addEventListener("scroll",this.handleScroll),(0,g.default)()&&(F.addEventListener("mouseenter",this.handleTrackMouseEnter),F.addEventListener("mouseleave",this.handleTrackMouseLeave),F.addEventListener("mousedown",this.handleHorizontalTrackMouseDown),D.addEventListener("mouseenter",this.handleTrackMouseEnter),D.addEventListener("mouseleave",this.handleTrackMouseLeave),D.addEventListener("mousedown",this.handleVerticalTrackMouseDown),$.addEventListener("mousedown",this.handleHorizontalThumbMouseDown),C.addEventListener("mousedown",this.handleVerticalThumbMouseDown),window.addEventListener("resize",this.handleWindowResize))}}},{key:"removeListeners",value:function(){if(!(typeof document>"u"||!this.view)){var S=this.view,F=this.trackHorizontal,D=this.trackVertical,$=this.thumbHorizontal,C=this.thumbVertical;S.removeEventListener("scroll",this.handleScroll),(0,g.default)()&&(F.removeEventListener("mouseenter",this.handleTrackMouseEnter),F.removeEventListener("mouseleave",this.handleTrackMouseLeave),F.removeEventListener("mousedown",this.handleHorizontalTrackMouseDown),D.removeEventListener("mouseenter",this.handleTrackMouseEnter),D.removeEventListener("mouseleave",this.handleTrackMouseLeave),D.removeEventListener("mousedown",this.handleVerticalTrackMouseDown),$.removeEventListener("mousedown",this.handleHorizontalThumbMouseDown),C.removeEventListener("mousedown",this.handleVerticalThumbMouseDown),window.removeEventListener("resize",this.handleWindowResize),this.teardownDragging())}}},{key:"handleScroll",value:function(S){var F=this,D=this.props,$=D.onScroll,C=D.onScrollFrame;$&&$(S),this.update(function(X){var z=X.scrollLeft,K=X.scrollTop;F.viewScrollLeft=z,F.viewScrollTop=K,C&&C(X)}),this.detectScrolling()}},{key:"handleScrollStart",value:function(){var S=this.props.onScrollStart;S&&S(),this.handleScrollStartAutoHide()}},{key:"handleScrollStartAutoHide",value:function(){var S=this.props.autoHide;!S||this.showTracks()}},{key:"handleScrollStop",value:function(){var S=this.props.onScrollStop;S&&S(),this.handleScrollStopAutoHide()}},{key:"handleScrollStopAutoHide",value:function(){var S=this.props.autoHide;!S||this.hideTracks()}},{key:"handleWindowResize",value:function(){(0,g.default)(!1),this.forceUpdate()}},{key:"handleHorizontalTrackMouseDown",value:function(S){S.preventDefault();var F=S.target,D=S.clientX,$=F.getBoundingClientRect(),C=$.left,X=this.getThumbHorizontalWidth(),z=Math.abs(C-D)-X/2;this.view.scrollLeft=this.getScrollLeftForOffset(z)}},{key:"handleVerticalTrackMouseDown",value:function(S){S.preventDefault();var F=S.target,D=S.clientY,$=F.getBoundingClientRect(),C=$.top,X=this.getThumbVerticalHeight(),z=Math.abs(C-D)-X/2;this.view.scrollTop=this.getScrollTopForOffset(z)}},{key:"handleHorizontalThumbMouseDown",value:function(S){S.preventDefault(),this.handleDragStart(S);var F=S.target,D=S.clientX,$=F.offsetWidth,C=F.getBoundingClientRect(),X=C.left;this.prevPageX=$-(D-X)}},{key:"handleVerticalThumbMouseDown",value:function(S){S.preventDefault(),this.handleDragStart(S);var F=S.target,D=S.clientY,$=F.offsetHeight,C=F.getBoundingClientRect(),X=C.top;this.prevPageY=$-(D-X)}},{key:"setupDragging",value:function(){(0,l.default)(document.body,I.disableSelectStyle),document.addEventListener("mousemove",this.handleDrag),document.addEventListener("mouseup",this.handleDragEnd),document.onselectstart=m.default}},{key:"teardownDragging",value:function(){(0,l.default)(document.body,I.disableSelectStyleReset),document.removeEventListener("mousemove",this.handleDrag),document.removeEventListener("mouseup",this.handleDragEnd),document.onselectstart=void 0}},{key:"handleDragStart",value:function(S){this.dragging=!0,S.stopImmediatePropagation(),this.setupDragging()}},{key:"handleDrag",value:function(S){if(this.prevPageX){var F=S.clientX,D=this.trackHorizontal.getBoundingClientRect(),$=D.left,C=this.getThumbHorizontalWidth(),X=C-this.prevPageX,z=-$+F-X;this.view.scrollLeft=this.getScrollLeftForOffset(z)}if(this.prevPageY){var K=S.clientY,ge=this.trackVertical.getBoundingClientRect(),j=ge.top,ie=this.getThumbVerticalHeight(),J=ie-this.prevPageY,Me=-j+K-J;this.view.scrollTop=this.getScrollTopForOffset(Me)}return!1}},{key:"handleDragEnd",value:function(){this.dragging=!1,this.prevPageX=this.prevPageY=0,this.teardownDragging(),this.handleDragEndAutoHide()}},{key:"handleDragEndAutoHide",value:function(){var S=this.props.autoHide;!S||this.hideTracks()}},{key:"handleTrackMouseEnter",value:function(){this.trackMouseOver=!0,this.handleTrackMouseEnterAutoHide()}},{key:"handleTrackMouseEnterAutoHide",value:function(){var S=this.props.autoHide;!S||this.showTracks()}},{key:"handleTrackMouseLeave",value:function(){this.trackMouseOver=!1,this.handleTrackMouseLeaveAutoHide()}},{key:"handleTrackMouseLeaveAutoHide",value:function(){var S=this.props.autoHide;!S||this.hideTracks()}},{key:"showTracks",value:function(){clearTimeout(this.hideTracksTimeout),(0,l.default)(this.trackHorizontal,{opacity:1}),(0,l.default)(this.trackVertical,{opacity:1})}},{key:"hideTracks",value:function(){var S=this;if(!this.dragging&&!this.scrolling&&!this.trackMouseOver){var F=this.props.autoHideTimeout;clearTimeout(this.hideTracksTimeout),this.hideTracksTimeout=setTimeout(function(){(0,l.default)(S.trackHorizontal,{opacity:0}),(0,l.default)(S.trackVertical,{opacity:0})},F)}}},{key:"detectScrolling",value:function(){var S=this;this.scrolling||(this.scrolling=!0,this.handleScrollStart(),this.detectScrollingInterval=setInterval(function(){S.lastViewScrollLeft===S.viewScrollLeft&&S.lastViewScrollTop===S.viewScrollTop&&(clearInterval(S.detectScrollingInterval),S.scrolling=!1,S.handleScrollStop()),S.lastViewScrollLeft=S.viewScrollLeft,S.lastViewScrollTop=S.viewScrollTop},100))}},{key:"raf",value:function(S){var F=this;this.requestFrame&&o.default.cancel(this.requestFrame),this.requestFrame=(0,o.default)(function(){F.requestFrame=void 0,S()})}},{key:"update",value:function(S){var F=this;this.raf(function(){return F._update(S)})}},{key:"_update",value:function(S){var F=this.props,D=F.onUpdate,$=F.hideTracksWhenNotNeeded,C=this.getValues();if((0,g.default)()){var X=C.scrollLeft,z=C.clientWidth,K=C.scrollWidth,ge=(0,_.default)(this.trackHorizontal),j=this.getThumbHorizontalWidth(),ie=X/(K-z)*(ge-j),J={width:j,transform:"translateX("+ie+"px)"},Me=C.scrollTop,Oe=C.clientHeight,Ie=C.scrollHeight,ut=(0,b.default)(this.trackVertical),He=this.getThumbVerticalHeight(),Gt=Me/(Ie-Oe)*(ut-He),nt={height:He,transform:"translateY("+Gt+"px)"};if($){var N1={visibility:K>z?"visible":"hidden"},X1={visibility:Ie>Oe?"visible":"hidden"};(0,l.default)(this.trackHorizontal,N1),(0,l.default)(this.trackVertical,X1)}(0,l.default)(this.thumbHorizontal,J),(0,l.default)(this.thumbVertical,nt)}D&&D(C),typeof S=="function"&&S(C)}},{key:"render",value:function(){var S=this,F=(0,g.default)(),D=this.props;D.onScroll,D.onScrollFrame,D.onScrollStart,D.onScrollStop,D.onUpdate;var $=D.renderView,C=D.renderTrackHorizontal,X=D.renderTrackVertical,z=D.renderThumbHorizontal,K=D.renderThumbVertical,ge=D.tagName;D.hideTracksWhenNotNeeded;var j=D.autoHide;D.autoHideTimeout;var ie=D.autoHideDuration;D.thumbSize,D.thumbMinSize;var J=D.universal,Me=D.autoHeight,Oe=D.autoHeightMin,Ie=D.autoHeightMax,ut=D.style,He=D.children,Gt=k(D,["onScroll","onScrollFrame","onScrollStart","onScrollStop","onUpdate","renderView","renderTrackHorizontal","renderTrackVertical","renderThumbHorizontal","renderThumbVertical","tagName","hideTracksWhenNotNeeded","autoHide","autoHideTimeout","autoHideDuration","thumbSize","thumbMinSize","universal","autoHeight","autoHeightMin","autoHeightMax","style","children"]),nt=this.state.didMountUniversal,N1=t({},I.containerStyleDefault,Me&&t({},I.containerStyleAutoHeight,{minHeight:Oe,maxHeight:Ie}),ut),X1=t({},I.viewStyleDefault,{marginRight:F?-F:0,marginBottom:F?-F:0},Me&&t({},I.viewStyleAutoHeight,{minHeight:(0,f.default)(Oe)?"calc("+Oe+" + "+F+"px)":Oe+F,maxHeight:(0,f.default)(Ie)?"calc("+Ie+" + "+F+"px)":Ie+F}),Me&&J&&!nt&&{minHeight:Oe,maxHeight:Ie},J&&!nt&&I.viewStyleUniversalInitial),Kr={transition:"opacity "+ie+"ms",opacity:0},H5=t({},I.trackHorizontalStyleDefault,j&&Kr,(!F||J&&!nt)&&{display:"none"}),$5=t({},I.trackVerticalStyleDefault,j&&Kr,(!F||J&&!nt)&&{display:"none"});return(0,a.createElement)(ge,t({},Gt,{style:N1,ref:function(Ge){S.container=Ge}}),[(0,a.cloneElement)($({style:X1}),{key:"view",ref:function(Ge){S.view=Ge}},He),(0,a.cloneElement)(C({style:H5}),{key:"trackHorizontal",ref:function(Ge){S.trackHorizontal=Ge}},(0,a.cloneElement)(z({style:I.thumbHorizontalStyleDefault}),{ref:function(Ge){S.thumbHorizontal=Ge}})),(0,a.cloneElement)(X({style:$5}),{key:"trackVertical",ref:function(Ge){S.trackVertical=Ge}},(0,a.cloneElement)(K({style:I.thumbVerticalStyleDefault}),{ref:function(Ge){S.thumbVertical=Ge}}))])}}]),P}(a.Component);e.default=N,N.propTypes={onScroll:d.default.func,onScrollFrame:d.default.func,onScrollStart:d.default.func,onScrollStop:d.default.func,onUpdate:d.default.func,renderView:d.default.func,renderTrackHorizontal:d.default.func,renderTrackVertical:d.default.func,renderThumbHorizontal:d.default.func,renderThumbVertical:d.default.func,tagName:d.default.string,thumbSize:d.default.number,thumbMinSize:d.default.number,hideTracksWhenNotNeeded:d.default.bool,autoHide:d.default.bool,autoHideTimeout:d.default.number,autoHideDuration:d.default.number,autoHeight:d.default.bool,autoHeightMin:d.default.oneOfType([d.default.number,d.default.string]),autoHeightMax:d.default.oneOfType([d.default.number,d.default.string]),universal:d.default.bool,style:d.default.object,children:d.default.node},N.defaultProps={renderView:A.renderViewDefault,renderTrackHorizontal:A.renderTrackHorizontalDefault,renderTrackVertical:A.renderTrackVerticalDefault,renderThumbHorizontal:A.renderThumbHorizontalDefault,renderThumbVertical:A.renderThumbVerticalDefault,tagName:"div",thumbMinSize:30,hideTracksWhenNotNeeded:!1,autoHide:!1,autoHideTimeout:1e3,autoHideDuration:200,autoHeight:!1,autoHeightMin:0,autoHeightMax:200,universal:!1}})(I2);(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.Scrollbars=void 0;var t=I2,i=n(t);function n(o){return o&&o.__esModule?o:{default:o}}e.default=i.default,e.Scrollbars=i.default})(S2);const S6=W5(S2),I6=M.exports.forwardRef(({children:e,...t},i)=>{const n=M.exports.useRef(null),o=Uu(n,i),[s,l]=M.exports.useState(window.innerWidth),[a,c]=M.exports.useState(window.innerHeight),d=M.exports.useCallback(()=>{l(window.innerWidth),c(window.innerHeight)},[]);return M.exports.useEffect(()=>(window.addEventListener("resize",d),()=>{window.removeEventListener("resize",d)}),[d]),r(Pt,{children:Boolean(s)&&Boolean(a)&&r(S6,{ref:o,autoHide:!0,autoHideTimeout:1e3,autoHideDuration:200,...t,"data-shoplflow":"ScrollArea",children:e})})}),C6=M.exports.createContext({addModal:us,removeModal:us}),T2=M.exports.createContext([]),A6=({children:e})=>{const[t,i]=M.exports.useState([]),n=(l,a,c)=>{i(d=>d?[...d,{component:l,id:a,zIndex:c}]:[{component:l,id:a,zIndex:c}])},o=l=>{const{id:a,deps:c}=l||{id:void 0,deps:void 0},d=Boolean(a&&c),h=Boolean(a),f=!a&&Boolean(ps(c)),u=Boolean(Boolean(!ps(c))&&!a);if(d)throw new Error("id\uC640 deps\uB294 \uB3D9\uC2DC\uC5D0 \uC0AC\uC6A9\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4.");if(h){i(g=>[...g.filter(m=>m.id!==a)]);return}if(f||c===1){i(g=>[...g.slice(0,-1)]);return}if(u){if(c===0||c===void 0)return;i(g=>[...g.slice(0,-c)]);return}},s=M.exports.useMemo(()=>({addModal:n,removeModal:o}),[]);return M.exports.useEffect(()=>{if(t.length===1)return document.body.style.cssText="overflow:hidden",()=>{document.body.style.cssText="overflow:unset"}},[t.length]),M.exports.useEffect(()=>{const l=()=>{i([])};return window.addEventListener("popstate",l),()=>{window.removeEventListener("popstate",l)}},[]),r(T2.Provider,{value:t,children:r(C6.Provider,{value:s,children:e})})};V.div`
|
|
199
199
|
width: 32px;
|
|
200
200
|
height: 32px;
|
|
201
201
|
border-radius: 6px;
|
|
@@ -253,7 +253,7 @@ var U5=Object.defineProperty;var z5=(e,t,i)=>t in e?U5(e,t,{enumerable:!0,config
|
|
|
253
253
|
padding: 7px 12px;
|
|
254
254
|
gap: 4px;
|
|
255
255
|
background: ${y.neutral150};
|
|
256
|
-
border-radius: ${
|
|
256
|
+
border-radius: ${Te.borderRadius06};
|
|
257
257
|
& > span {
|
|
258
258
|
color: ${y.neutral400};
|
|
259
259
|
}
|
|
@@ -262,7 +262,7 @@ var U5=Object.defineProperty;var z5=(e,t,i)=>t in e?U5(e,t,{enumerable:!0,config
|
|
|
262
262
|
}
|
|
263
263
|
|
|
264
264
|
${i&&R`
|
|
265
|
-
border-radius: ${
|
|
265
|
+
border-radius: ${Te.borderRadius16};
|
|
266
266
|
`};
|
|
267
267
|
${e&&R`
|
|
268
268
|
background: ${y[t]};
|
|
@@ -287,7 +287,7 @@ var U5=Object.defineProperty;var z5=(e,t,i)=>t in e?U5(e,t,{enumerable:!0,config
|
|
|
287
287
|
`;const Mt=(e,t=1)=>{const i=e.replace(/[0-9]|_/g,""),o=Object.keys(y).filter(h=>h.includes(i)),s=h=>{const f=h.replace(/_/g,"."),u=/\d+(\.\d+)?/g,g=f.match(u);return g?parseFloat(g[0]):0},l=o.sort((h,f)=>s(h)-s(f));let c=l.indexOf(e),d=0;for(;d<Math.abs(t)&&(c+=Math.sign(t),!(c<0||c>=l.length));)!l[c].endsWith("_5")&&!l[c].includes("50")&&d++;return c=Math.max(0,Math.min(c,l.length-1)),l[c]},F6=({color:e})=>R`
|
|
288
288
|
background: ${y.neutral0};
|
|
289
289
|
border: 1px solid ${y[e]};
|
|
290
|
-
border-radius: ${
|
|
290
|
+
border-radius: ${Te.borderRadius20};
|
|
291
291
|
&:hover {
|
|
292
292
|
border: 1px solid ${y[Mt(e,2)]};
|
|
293
293
|
}
|
|
@@ -419,7 +419,7 @@ var U5=Object.defineProperty;var z5=(e,t,i)=>t in e?U5(e,t,{enumerable:!0,config
|
|
|
419
419
|
`}},P6=V.button`
|
|
420
420
|
display: flex;
|
|
421
421
|
flex-shrink: 0;
|
|
422
|
-
border-radius: ${
|
|
422
|
+
border-radius: ${Te.borderRadius06};
|
|
423
423
|
justify-content: center;
|
|
424
424
|
align-items: center;
|
|
425
425
|
background: ${y.neutral0};
|
|
@@ -454,7 +454,7 @@ var U5=Object.defineProperty;var z5=(e,t,i)=>t in e?U5(e,t,{enumerable:!0,config
|
|
|
454
454
|
align-items: start;
|
|
455
455
|
padding: 6px 8px;
|
|
456
456
|
gap: 4px;
|
|
457
|
-
border-radius: ${
|
|
457
|
+
border-radius: ${Te.borderRadius08};
|
|
458
458
|
${({styleVar:e})=>e==="INFORMATION"&&O6}
|
|
459
459
|
${({styleVar:e})=>e==="ALERT"&&H6}
|
|
460
460
|
`;V.svg`
|
|
@@ -527,7 +527,7 @@ var U5=Object.defineProperty;var z5=(e,t,i)=>t in e?U5(e,t,{enumerable:!0,config
|
|
|
527
527
|
`,E7=M.exports.createContext(null),L7=()=>{const e=M.exports.useContext(E7);if(e===null)throw new Error("useDropdown must be used within a DropdownProvider");return e},D7=({isFocused:e,isError:t,isHovered:i,disabled:n})=>{if(!n){if(t)return y.red300;if(e)return y.primary300;if(i)return y.neutral700}return y.neutral300},T7=({type:e,height:t,minHeight:i,maxHeight:n,width:o,minWidth:s,maxWidth:l,borderRadius:a,customNumberInputHeight:c})=>e==="number"?R`
|
|
528
528
|
width: ${o||"64px"};
|
|
529
529
|
height: ${c||"32px"};
|
|
530
|
-
border-radius: ${a?
|
|
530
|
+
border-radius: ${a?Te[a]:"6px"};
|
|
531
531
|
`:R`
|
|
532
532
|
width: ${o||"100%"};
|
|
533
533
|
min-width: ${s||"initial"};
|
|
@@ -535,7 +535,7 @@ var U5=Object.defineProperty;var z5=(e,t,i)=>t in e?U5(e,t,{enumerable:!0,config
|
|
|
535
535
|
height: ${t||"initial"};
|
|
536
536
|
min-height: ${i||"initial"};
|
|
537
537
|
max-height: ${n||"initial"};
|
|
538
|
-
border-radius: ${a?
|
|
538
|
+
border-radius: ${a?Te[a]:"6px"};
|
|
539
539
|
`,U1=V.label`
|
|
540
540
|
position: relative;
|
|
541
541
|
display: flex;
|
|
@@ -574,7 +574,7 @@ var U5=Object.defineProperty;var z5=(e,t,i)=>t in e?U5(e,t,{enumerable:!0,config
|
|
|
574
574
|
flex-direction: column;
|
|
575
575
|
justify-content: center;
|
|
576
576
|
align-items: center;
|
|
577
|
-
border-radius: ${
|
|
577
|
+
border-radius: ${Te.borderRadius04};
|
|
578
578
|
border: none;
|
|
579
579
|
background: ${({color:e})=>y[e]};
|
|
580
580
|
cursor: pointer;
|
|
@@ -874,7 +874,7 @@ var U5=Object.defineProperty;var z5=(e,t,i)=>t in e?U5(e,t,{enumerable:!0,config
|
|
|
874
874
|
justify-content: flex-end;
|
|
875
875
|
align-items: center;
|
|
876
876
|
gap: 2px;
|
|
877
|
-
`,i5=({currentLength:e,maxLength:t})=>p(pb,{children:[r(xe,{typography:"caption_400",color:"neutral400",children:e}),r(xe,{typography:"caption_400",color:"neutral350",children:"/"}),r(xe,{typography:"caption_400",color:"neutral350",children:t})]}),n5=Symbol("$$shopl.isShoplIcon");function gb(e){return typeof e=="function"&&e[n5]===!0}function B(e){return e[n5]=!0,e}function vb(e){return r("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",...e,children:r("path",{fill:"#D9F4ED",fillRule:"evenodd",d:"M2.5 7a4.5 4.5 0 0 0 4.303-5.82A11.953 11.953 0 0 1 12 0c6.627 0 12 5.373 12 12s-5.373 12-12 12S0 18.627 0 12c0-1.862.424-3.624 1.18-5.197A4.5 4.5 0 0 0 2.5 7Z",clipRule:"evenodd"})})}const mb=B(vb);function xb(e){return r("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 20 20",...e,children:r("path",{fill:"#555",fillRule:"evenodd",d:"M10 3a1 1 0 0 1 .993.883L11 4v5h5a1 1 0 0 1 .117 1.993L16 11h-5v5a1 1 0 0 1-1.993.117L9 16v-5H4a1 1 0 0 1-.117-1.993L4 9h5V4a1 1 0 0 1 1-1Z",clipRule:"evenodd"})})}const wb=B(xb);function yb(e){return p("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 20 20",...e,children:[r("rect",{width:18,height:18,x:1,y:1,fill:"#FB0",opacity:.2,rx:6}),r("path",{fill:"#FFB600",fillRule:"evenodd",d:"M10.468 6.248a.5.5 0 0 0-.936 0L7.72 11.08 5.916 8.374A.5.5 0 0 0 5 8.65V13a2 2 0 0 0 2 2h6a2 2 0 0 0 2-2V8.65a.5.5 0 0 0-.916-.277L12.28 11.08l-1.812-4.832Z",clipRule:"evenodd"})]})}const _b=B(yb);function bb(e){return r("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 20 20",...e,children:r("path",{fill:"#999",fillRule:"evenodd",d:"M2.222 3.222a1 1 0 0 1 1-1h13.556a1 1 0 0 1 1 1v13.556a1 1 0 0 1-1 1H3.222a1 1 0 0 1-1-1V3.222Zm5.185 5.482a1.296 1.296 0 1 0 0-2.593 1.296 1.296 0 0 0 0 2.593Zm7.926 7.13H4.167l3.16-3.689a1 1 0 0 1 1.491-.031L10 13.38l3.092-3.704a1 1 0 0 1 1.57.044l.974 1.31a1 1 0 0 1 .197.596v3.706a.5.5 0 0 1-.5.5Z",clipRule:"evenodd"})})}const Mb=B(bb);function Zb(e){return r("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 20 20",...e,children:r("path",{fill:"#333",fillRule:"evenodd",d:"M10 18a8 8 0 1 0 0-16 8 8 0 0 0 0 16ZM9 6.2c0-.11.09-.2.2-.2h1.6c.11 0 .2.09.2.2v4.6a.2.2 0 0 1-.2.2H9.2a.2.2 0 0 1-.2-.2V6.2Zm2 6.8a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z",clipRule:"evenodd"})})}const Sb=B(Zb);function Ib(e){return r("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",...e,children:r("path",{fill:"#8092AA",fillRule:"evenodd",d:"M8.211 20.598c1.155.667 2.623.416 3.72-.51.284-.24.242-.667-.045-.832l-4.35-2.512c-.287-.165-.678.012-.743.378-.254 1.413.264 2.81 1.418 3.476ZM14.559 3.094c.586-.234 1.138.01 1.49.214.354.204.84.56.932 1.184.044.301-.025.553-.09.718a2.09 2.09 0 0 1-.098.21c1.724 1.732 2.35 4.35 1.113 6.491l-.855 1.482c-.434.75-.49 1.71-.077 2.658l.002.006c.247.578.245 1.247-.086 1.821-.633 1.097-2.014 1.232-2.966.683l-10.02-5.786c-.953-.55-1.525-1.813-.892-2.91.33-.57.906-.91 1.526-.984h.006c1.036-.118 1.84-.647 2.272-1.397l.856-1.482C8.908 3.86 11.487 3.093 13.85 3.72c.036-.058.081-.125.132-.189.11-.14.294-.325.577-.437Zm-.107 2.982-.535-.225c-1.85-.778-3.74-.188-4.513 1.151l-.856 1.482c-.78 1.352-2.174 2.2-3.773 2.383a.17.17 0 0 0-.022.004l.003.01a.32.32 0 0 0 .148.162l10.02 5.786a.32.32 0 0 0 .215.046l.009-.002a.203.203 0 0 0-.01-.028c-.638-1.47-.6-3.101.18-4.452l.856-1.482c.773-1.34.339-3.272-1.26-4.484l-.462-.351Zm.718 10.788-.002.002.002-.002ZM4.75 10.848v.003-.003Z",clipRule:"evenodd"})})}const Cb=B(Ib);function Ab(e){return r("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 20 20",...e,children:r("path",{fill:"#555",fillRule:"evenodd",d:"M5 3a1 1 0 0 1 2 0v1h6V3a1 1 0 1 1 2 0v1a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2V3Zm2 7a1 1 0 1 0 0-2 1 1 0 0 0 0 2Zm0 3a1 1 0 1 0 0-2 1 1 0 0 0 0 2Zm3 0a1 1 0 1 0 0-2 1 1 0 0 0 0 2Zm4-1a1 1 0 1 1-2 0 1 1 0 0 1 2 0Zm-3-3a1 1 0 1 1-2 0 1 1 0 0 1 2 0Zm2 1a1 1 0 1 0 0-2 1 1 0 0 0 0 2Z",clipRule:"evenodd"})})}const Rb=B(Ab);function kb(e){return r("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 20 20",...e,children:r("path",{fill:"#02B585",fillRule:"evenodd",d:"M7 3a1 1 0 0 0-1 1v1h8V4a1 1 0 0 0-1-1H7ZM5 6a3 3 0 0 0-3 3v5a3 3 0 0 0 3 3h10a3 3 0 0 0 3-3V9a3 3 0 0 0-3-3H5Zm0 2a1 1 0 1 0 0 2 1 1 0 0 0 0-2Zm8.5 3.5a3.5 3.5 0 1 0-7 0 3.5 3.5 0 0 0 7 0Zm-5.5 0a2 2 0 1 1 4 0 2 2 0 0 1-4 0Z",clipRule:"evenodd"})})}const Fb=B(kb);function Bb(e){return p("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 20 20",...e,children:[r("circle",{cx:10,cy:10,r:8,fill:"#CCC"}),r("path",{fill:"#fff",fillRule:"evenodd",d:"M6.142 7.342a.2.2 0 0 1 0-.283l.917-.917a.2.2 0 0 1 .283 0l2.664 2.664 2.664-2.664a.2.2 0 0 1 .283 0l.917.917a.2.2 0 0 1 0 .283l-2.664 2.664 2.653 2.653a.2.2 0 0 1 0 .283l-.917.917a.2.2 0 0 1-.283 0l-2.653-2.653-2.653 2.653a.2.2 0 0 1-.283 0l-.917-.917a.2.2 0 0 1 0-.283l2.653-2.653-2.664-2.664Z",clipRule:"evenodd"})]})}const Eb=B(Bb);function Lb(e){return p("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",...e,children:[r("circle",{cx:12,cy:12,r:9,fill:"#02B585",stroke:"#333",strokeWidth:2}),r("path",{stroke:"#333",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"m8 11 4 4L22 5"})]})}const Db=B(Lb);function Tb(e){return p("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",...e,children:[r("circle",{cx:12,cy:12,r:9,stroke:"#999",strokeWidth:2}),r("path",{stroke:"#999",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"m8 11 4 4L22 5"})]})}const Vb=B(Tb);function Pb(e){return r("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 20 20",...e,children:r("path",{fill:"#555",fillRule:"evenodd",d:"M15.288 5.298a1 1 0 0 1 1.506 1.31l-.082.094-7.895 8a1 1 0 0 1-1.338.078l-.094-.087-4.106-4.266a1 1 0 0 1 1.349-1.472l.093.085 3.393 3.527 7.174-7.27Z",clipRule:"evenodd"})})}const Ob=B(Pb);function Hb(e){return r("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 20 20",...e,children:r("path",{fill:"#555",fillRule:"evenodd",d:"M5 2h9.75a3 3 0 0 1 3 3v9.75a3 3 0 0 1-3 3H5a3 3 0 0 1-3-3V5a3 3 0 0 1 3-3ZM1 5a4 4 0 0 1 4-4h9.75a4 4 0 0 1 4 4v9.75a4 4 0 0 1-4 4H5a4 4 0 0 1-4-4V5Zm13.653 2.104a.5.5 0 0 0-.707-.708L8.3 12.043 5.653 9.396a.5.5 0 1 0-.707.708l3 3a.5.5 0 0 0 .707 0l6-6Z",clipRule:"evenodd"})})}const $b=B(Hb);function Ub(e){return p("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 20 20",...e,children:[r("rect",{width:11.667,height:11.667,x:3.75,y:4.167,fill:"#555",opacity:.2,rx:5.833}),r("path",{fill:"#555",fillRule:"evenodd",d:"M9.583 1.125a8.875 8.875 0 1 0 7.35 3.899l2.905-2.905a.542.542 0 0 0-.766-.766l-2.807 2.806a8.854 8.854 0 0 0-6.682-3.034Zm5.914 3.802a7.792 7.792 0 1 0 .653.879l-6.312 6.313a.542.542 0 0 1-.777-.012L5.855 8.705a.542.542 0 0 1 .789-.743l2.823 2.996 6.03-6.03Z",clipRule:"evenodd"})]})}const zb=B(Ub);function Wb(e){return r("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 20 20",...e,children:r("path",{fill:"#555",fillRule:"evenodd",d:"m4.613 3.21.094.083L10 8.585l5.293-5.292a1 1 0 0 1 1.497 1.32l-.083.094L11.415 10l5.292 5.293a1 1 0 0 1-1.32 1.497l-.094-.083L10 11.415l-5.293 5.292a1 1 0 0 1-1.497-1.32l.083-.094L8.585 10 3.293 4.707A1 1 0 0 1 4.51 3.14l.102.07Z",clipRule:"evenodd"})})}const Gb=B(Wb);function jb(e){return p("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 20 20",...e,children:[r("rect",{width:14.5,height:14.5,x:2.75,y:2.75,stroke:"#333",strokeLinejoin:"round",strokeWidth:1.5,rx:2.25}),r("path",{stroke:"#3299FE",strokeLinecap:"round",strokeWidth:1.5,d:"m6.5 9.75 2.146 2.146a.5.5 0 0 0 .708 0L13.5 7.75"})]})}const Nb=B(jb);function Xb(e){return r("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 20 20",...e,children:r("path",{fill:"#999",fillRule:"evenodd",d:"M16.244 4.856A1.75 1.75 0 0 0 14.5 3.25h-6l-.144.006A1.75 1.75 0 0 0 6.75 5v.75h1.5V5l.007-.057A.25.25 0 0 1 8.5 4.75h6l.057.007A.25.25 0 0 1 14.75 5v7l-.007.057a.25.25 0 0 1-.243.193h-.25v1.5h.25l.143-.006A1.75 1.75 0 0 0 16.25 12V5l-.006-.144ZM11.75 6.25a1.75 1.75 0 0 1 1.744 1.606L13.5 8v7a1.75 1.75 0 0 1-1.607 1.744l-.143.006h-6a1.75 1.75 0 0 1-1.744-1.607L4 15V8a1.75 1.75 0 0 1 1.606-1.744l.144-.006h6Zm0 1.5h-6a.25.25 0 0 0-.243.193L5.5 8v7a.25.25 0 0 0 .193.243l.057.007h6a.25.25 0 0 0 .243-.193L12 15V8a.25.25 0 0 0-.193-.243l-.057-.007Z",clipRule:"evenodd"})})}const Yb=B(Xb);function Kb(e){return p("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 20 20",...e,children:[r("rect",{width:18,height:18,x:1,y:1,fill:"#F7F9FD",rx:4}),r("path",{fill:"#8092AA",fillRule:"evenodd",d:"M10 8.5a2 2 0 1 0 0-4 2 2 0 0 0 0 4Zm-.833 1A3.667 3.667 0 0 0 5.5 13.167C5.5 14.179 6.32 15 7.333 15h5.334c1.012 0 1.833-.82 1.833-1.833A3.667 3.667 0 0 0 10.833 9.5H9.167Z",clipRule:"evenodd"})]})}const qb=B(Kb);function Qb(e){return r("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 20 20",...e,children:r("path",{fill:"#CCC",fillRule:"evenodd",d:"M10 18a8 8 0 1 0 0-16 8 8 0 0 0 0 16ZM6.142 7.059a.2.2 0 0 0 0 .283l2.664 2.664-2.653 2.653a.2.2 0 0 0 0 .283l.917.917a.2.2 0 0 0 .283 0l2.653-2.653 2.653 2.653a.2.2 0 0 0 .283 0l.917-.917a.2.2 0 0 0 0-.283l-2.653-2.653 2.664-2.664a.2.2 0 0 0 0-.283l-.917-.917a.2.2 0 0 0-.283 0l-2.664 2.664-2.664-2.664a.2.2 0 0 0-.283 0l-.917.917Z",clipRule:"evenodd"})})}const Jb=B(Qb);function eM(e){return r("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 12 12",...e,children:r("path",{fill:"#999",fillRule:"evenodd",d:"M3.04 3.5a.5.5 0 0 0-.39.812l2.96 3.7c.2.25.58.25.78 0l2.96-3.7a.5.5 0 0 0-.39-.812H3.04Z",clipRule:"evenodd"})})}const tM=B(eM);function iM(e){return r("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 20 20",...e,children:r("path",{fill:"#555",fillRule:"evenodd",d:"M3.267 6.27a.906.906 0 0 1 1.19-.089l.102.09L10 11.77l5.441-5.5a.906.906 0 0 1 1.19-.09l.102.09a.93.93 0 0 1 .088 1.201l-.088.104-6.087 6.154a.906.906 0 0 1-1.19.089l-.102-.09-6.087-6.153a.93.93 0 0 1 0-1.306Z",clipRule:"evenodd"})})}const nM=B(iM);function rM(e){return r("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 20 20",...e,children:r("path",{fill:"#555",fillRule:"evenodd",d:"M15 16a1 1 0 1 1 0 2H5a1 1 0 1 1 0-2h10ZM10 2a1 1 0 0 1 1 1v8.585l3.293-3.292a1 1 0 0 1 1.32-.083l.094.083a1 1 0 0 1 .083 1.32l-.083.094-5 5a1 1 0 0 1-1.32.083l-.094-.083-5-5a1 1 0 0 1 1.32-1.497l.094.083L9 11.585V3a1 1 0 0 1 1-1Z",clipRule:"evenodd"})})}const oM=B(rM);function sM(e){return r("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 20 20",...e,children:r("path",{fill:"#CDD6E4",fillRule:"evenodd",d:"M0 6a1 1 0 0 1 1-1h18a1 1 0 1 1 0 2H1a1 1 0 0 1-1-1Zm0 4a1 1 0 0 1 1-1h18a1 1 0 1 1 0 2H1a1 1 0 0 1-1-1Zm1 3a1 1 0 1 0 0 2h18a1 1 0 1 0 0-2H1Z",clipRule:"evenodd"})})}const lM=B(sM);function aM(e){return r("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",...e,children:r("path",{fill:"#333",fillRule:"evenodd",d:"M3 6a1 1 0 0 1 1-1h16a1 1 0 1 1 0 2H4a1 1 0 0 1-1-1Zm0 6a1 1 0 0 1 1-1h16a1 1 0 1 1 0 2H4a1 1 0 0 1-1-1Zm1 5a1 1 0 1 0 0 2h16a1 1 0 1 0 0-2H4Z",clipRule:"evenodd"})})}const cM=B(aM);function dM(e){return r("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 20 20",...e,children:r("path",{fill:"#555",fillRule:"evenodd",d:"m15.65 3.447.89.893c.296.298.46.695.46 1.117 0 .421-.164.818-.46 1.116l-1.091 1.094-3.116-3.126 1.09-1.094c.595-.596 1.631-.596 2.226 0ZM3.943 13.05l7.716-7.716 3.007 3.007-7.717 7.715a.304.304 0 0 1-.14.08l-3.433.856a.303.303 0 0 1-.368-.368l.855-3.433a.307.307 0 0 1 .08-.14Z",clipRule:"evenodd"})})}const hM=B(dM);function fM(e){return r("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 20 20",...e,children:r("path",{fill:"#333",fillRule:"evenodd",d:"M2 5a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V5Zm1.5 2.65V15a.5.5 0 0 0 .41.492L4 15.5h12a.5.5 0 0 0 .492-.41L16.5 15V7.728l-6.134 3.427a.75.75 0 0 1-.637.044l-.101-.048L3.5 7.65Zm0-1.728 6.505 3.716L16.5 6.01V5a.5.5 0 0 0-.41-.492L16 4.5H4a.5.5 0 0 0-.492.41L3.5 5v.922Z",clipRule:"evenodd"})})}const uM=B(fM);function pM(e){return r("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 20 20",...e,children:r("path",{fill:"#555",fillRule:"evenodd",d:"M10 4a1.41 1.41 0 0 0-1.406 1.497l.344 5.505a1.064 1.064 0 0 0 2.124 0l.345-5.505A1.41 1.41 0 0 0 10 4Zm0 11.5a1.25 1.25 0 1 0 0-2.5 1.25 1.25 0 0 0 0 2.5Z",clipRule:"evenodd"})})}const gM=B(pM);function vM(e){return p("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 20 20",...e,children:[r("rect",{width:14.5,height:14.5,x:2.75,y:2.75,stroke:"#555",strokeWidth:1.5,rx:3.25}),r("path",{fill:"#555",d:"M4 6h12v2H4zM4 11h12v2H4z"}),r("path",{fill:"#555",d:"M9 4v12H7V4z"})]})}const mM=B(vM);function xM(e){return r("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 20 20",...e,children:r("path",{fill:"#555",d:"M4.33 6 8 11.311v6.174c0 .41.447.655.781.428l2.772-1.218c.28-.19.447-.512.447-.855V11.31L15.67 6H4.33ZM3.64 5h12.72l.928-1.344c.51-.675.04-1.656-.794-1.656H3.506c-.834 0-1.305.98-.794 1.656L3.64 5Z"})})}const wM=B(xM);function yM(e){return p("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 28 28",...e,children:[r("path",{fill:"#fff",fillRule:"evenodd",d:"M15.575 8.5h9.175a2.25 2.25 0 0 1 0 4.5h-2.967a2.25 2.25 0 0 1-1.211 3.061 2.25 2.25 0 0 1-.975 3.406 2.25 2.25 0 0 1-1.847 3.535h-9.5a2.25 2.25 0 0 1-2.235-2.51A2.528 2.528 0 0 1 6 20.216v-9.331a2.09 2.09 0 0 1 .992-2.125l9.114-5.441a2.088 2.088 0 1 1 2.14 3.586L15.577 8.5Z",clipRule:"evenodd"}),r("path",{fill:"#333",d:"m15.575 8.5-.384-.644-2.335 1.394h2.72V8.5Zm6.208 4.5v-.75h-1.188l.51 1.073.678-.323Zm-1.211 3.062-.274-.699-.903.355.57.785.607-.441Zm-.975 3.406-.283-.695-.87.354.538.77.615-.43ZM6.015 20.492l.745.086.01-.084-.01-.084-.745.082ZM6 10.892l-.75-.001H6Zm0-.007.75.001v-.06l-.01-.06-.74.12Zm.992-2.125.384.644-.384-.644Zm9.114-5.441-.385-.644.385.644ZM19 4.094l-.655.365.655-.365Zm-.753 2.811-.385-.644.385.644Zm6.503.845h-9.175v1.5h9.175v-1.5Zm3 3a3 3 0 0 0-3-3v1.5a1.5 1.5 0 0 1 1.5 1.5h1.5Zm-3 3a3 3 0 0 0 3-3h-1.5a1.5 1.5 0 0 1-1.5 1.5v1.5Zm-2.967 0h2.967v-1.5h-2.967v1.5Zm.967.216c0-.46-.104-.897-.29-1.288l-1.355.645c.093.194.145.412.145.643h1.5Zm-1.904 2.794a3 3 0 0 0 1.904-2.794h-1.5a1.5 1.5 0 0 1-.952 1.398l.548 1.396Zm.904.623a2.99 2.99 0 0 0-.572-1.762l-1.213.882c.18.247.285.55.285.88h1.5Zm-1.87 2.78a3 3 0 0 0 1.87-2.78h-1.5a1.5 1.5 0 0 1-.936 1.39l.565 1.39Zm-.898-.266c.169.242.268.537.268.856h1.5a2.99 2.99 0 0 0-.538-1.714l-1.23.858Zm.268.856a1.5 1.5 0 0 1-1.5 1.5v1.5a3 3 0 0 0 3-3h-1.5Zm-1.5 1.5h-9.5v1.5h9.5v-1.5Zm-9.5 0a1.5 1.5 0 0 1-1.5-1.5h-1.5a3 3 0 0 0 3 3v-1.5Zm-1.5-1.5c0-.06.003-.118.01-.175l-1.49-.172c-.013.114-.02.23-.02.347h1.5Zm-1.5-.537c0 .12.007.24.02.358l1.49-.164a1.777 1.777 0 0 1-.01-.194h-1.5Zm0-2.833v2.833h1.5v-2.833h-1.5Zm0-3.417v3.417h1.5v-3.417h-1.5Zm0-3.074v3.074h1.5v-3.074h-1.5Zm0-.008v.007l1.5.002v-.007l-1.5-.002Zm1.357-2.768a2.84 2.84 0 0 0-1.347 2.888l1.48-.238a1.34 1.34 0 0 1 .636-1.362l-.769-1.288Zm9.114-5.441L6.607 8.116l.77 1.288 9.113-5.441-.769-1.288Zm3.934 1.053a2.839 2.839 0 0 0-3.934-1.053l.769 1.288a1.339 1.339 0 0 1 1.855.496l1.31-.73ZM18.63 7.55a2.839 2.839 0 0 0 1.024-3.82l-1.31.73c.353.633.14 1.43-.483 1.802l.77 1.288ZM15.96 9.144 18.63 7.55l-.769-1.288-2.671 1.595.769 1.288Z"}),r("rect",{width:4,height:14,y:9,fill:"#333",rx:1})]})}const _M=B(yM);function bM(e){return r("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 20 20",...e,children:r("path",{fill:"#fff",fillRule:"evenodd",d:"M13.675 3.32a.2.2 0 0 0-.35 0L12.29 5.212a.2.2 0 0 1-.08.08l-1.89 1.034a.2.2 0 0 0 0 .35l1.89 1.034a.2.2 0 0 1 .08.08l1.034 1.89a.2.2 0 0 0 .35 0l1.034-1.89a.2.2 0 0 1 .08-.08l1.89-1.034a.2.2 0 0 0 0-.35L14.79 5.29a.2.2 0 0 1-.08-.08l-1.034-1.89Zm-5.5 4a.2.2 0 0 0-.35 0L6.26 10.18a.2.2 0 0 1-.08.08l-2.86 1.565a.2.2 0 0 0 0 .35l2.86 1.565a.2.2 0 0 1 .08.08l1.565 2.86a.2.2 0 0 0 .35 0l1.565-2.86a.2.2 0 0 1 .08-.08l2.86-1.565a.2.2 0 0 0 0-.35L9.82 10.26a.2.2 0 0 1-.08-.08L8.175 7.32Z",clipRule:"evenodd"})})}const MM=B(bM);function ZM(e){return p("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 20 20",...e,children:[r("path",{fill:"#02B585",fillRule:"evenodd",d:"M10 3c2.835 0 5.2 2.137 5.833 5h.667a3 3 0 1 1 0 6h-.434c-.623 1.29-2.324 2.2-4.358 2.39-.273.37-.713.61-1.208.61h-1a1.5 1.5 0 0 1 0-3h1a1.5 1.5 0 0 1 1.396.95c1.3-.183 2.324-.716 2.77-1.35V9.537c0-2.862-2.099-5.166-4.666-5.166-2.505 0-4.564 2.193-4.663 4.958l-.004.208V14H3.5a3 3 0 1 1 0-6h.667C4.8 5.137 7.165 3 10 3Z",clipRule:"evenodd"}),r("circle",{cx:11.8,cy:9.887,r:.9,fill:"#02B585"}),r("circle",{cx:8.2,cy:9.887,r:.9,fill:"#02B585"})]})}const SM=B(ZM);function IM(e){return r("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 20 20",...e,children:r("path",{fill:"#CCC",fillRule:"evenodd",d:"M10 18a8 8 0 1 0 0-16 8 8 0 0 0 0 16Zm.913-5.665v-.663c0-.468.026-.494.481-.897.845-.741 1.443-1.287 1.443-2.431 0-1.443-1.209-2.6-2.769-2.6-2.236 0-2.86 2.119-2.86 2.119l1.326.611s.416-1.248 1.534-1.248c.65 0 1.209.507 1.209 1.118 0 .611-.26.858-.741 1.274l-.238.203c-.669.568-.932.792-.932 1.552v.962h1.547Zm-.767 2.821a1.02 1.02 0 0 0 1.027-1.027 1.02 1.02 0 0 0-1.027-1.027 1.02 1.02 0 0 0-1.027 1.027 1.02 1.02 0 0 0 1.027 1.027Z",clipRule:"evenodd",opacity:.8})})}const CM=B(IM);function AM(e){return r("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 28 28",...e,children:r("path",{fill:"#333",fillRule:"evenodd",d:"m14.555 4.189 7.554 5.66c.557.416.891 1.118.891 1.87v10.034c0 1.24-.895 2.247-2 2.247h-4a1 1 0 0 1-1-1v-4.619c0-1.24-.895-2.247-2-2.247-1.054 0-1.918.917-1.995 2.08L12 18.38V23a1 1 0 0 1-1 1H7c-1.105 0-2-1.006-2-2.247V11.718c0-.751.334-1.453.89-1.87l7.555-5.66a.91.91 0 0 1 1.11 0ZM14 6.272l-6.91 5.177c-.033.024-.07.095-.085.192L7 11.718v10.035c0 .052.005.095.01.13l.013.078c.003.018.002.03-.006.035L7 22h3l.001-3.684.009-.233c.143-2.175 1.835-3.949 3.99-3.949 2.196 0 3.894 1.834 3.995 4.04l.005.207V22h3c-.019 0-.025-.007-.025-.024l.022-.151.003-.072V11.718a.436.436 0 0 0-.065-.242l-.025-.027L14 6.272Z",clipRule:"evenodd"})})}const RM=B(AM);function kM(e){return r("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",...e,children:r("path",{fill:"#333",fillRule:"evenodd",d:"M4 12a8 8 0 1 1 16 0 8 8 0 0 1-16 0Zm8-10C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2Zm1 6a1 1 0 1 1-2 0 1 1 0 0 1 2 0Zm-3 2.75a.75.75 0 0 1 .75-.75h1.5a.75.75 0 0 1 .75.75v3.75h.25a.75.75 0 0 1 0 1.5h-2.5a.75.75 0 0 1 0-1.5h.75v-3h-.75a.75.75 0 0 1-.75-.75Z",clipRule:"evenodd"})})}const FM=B(kM);function BM(e){return p("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 20 20",...e,children:[r("circle",{cx:10,cy:10,r:8,fill:"#EAEAEA"}),r("path",{fill:"#999",fillRule:"evenodd",d:"M10 8a1 1 0 1 0 0-2 1 1 0 0 0 0 2Zm-.5 6h-1v-1H9v-3h-.5V9h2a.5.5 0 0 1 .5.5V13h.5v1h-2Z",clipRule:"evenodd"})]})}const EM=B(BM);function LM(e){return p("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 20 20",...e,children:[r("rect",{width:14.5,height:14.5,x:2.75,y:2.75,stroke:"#333",strokeLinejoin:"round",strokeWidth:1.5,rx:2.25}),r("circle",{cx:10,cy:10,r:2,fill:"#F66"})]})}const DM=B(LM);function TM(e){return r("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 28 28",...e,children:r("path",{fill:"#333",fillRule:"evenodd",d:"M13.766 7.643a1 1 0 0 0-1.532-1.286l-3.491 4.156-2.029-2.07a1 1 0 1 0-1.428 1.4l2.607 2.66a1.25 1.25 0 0 0 1.85-.07l4.023-4.79ZM16.5 9a1 1 0 1 0 0 2h6a1 1 0 1 0 0-2h-6Zm-11 6a1 1 0 1 0 0 2h17a1 1 0 1 0 0-2h-17Zm-1 7a1 1 0 0 1 1-1h17a1 1 0 1 1 0 2h-17a1 1 0 0 1-1-1Z",clipRule:"evenodd"})})}const VM=B(TM);function PM(e){return r("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",...e,children:r("path",{fill:"#8092AA",fillRule:"evenodd",stroke:"#8092AA",strokeWidth:.4,d:"M3 12a9 9 0 1 1 18 0 9 9 0 0 1-18 0Zm1.248-.746a7.743 7.743 0 0 1 1.26-3.558c.8.138 1.625.252 2.473.341a16.202 16.202 0 0 0-.443 3.217h-3.29Zm4.088-4.4A37.97 37.97 0 0 1 6.38 6.61a7.793 7.793 0 0 1 3.184-2.008c-.392.467-.718 1.03-.983 1.637a9.966 9.966 0 0 0-.245.617Zm.416 4.4c.049-1.128.208-2.183.452-3.106a43.382 43.382 0 0 0 5.607.059c.236.91.389 1.943.437 3.047H8.752Zm3.714-4.197c.664 0 1.318-.015 1.962-.045C13.83 5.494 12.964 4.54 12 4.54c-.953 0-1.81.933-2.407 2.421.934.064 1.894.097 2.873.097Zm3.996 4.197a16.28 16.28 0 0 0-.422-3.131 40.65 40.65 0 0 0 2.539-.292 7.739 7.739 0 0 1 1.173 3.423h-3.29Zm-.77-4.32a39.415 39.415 0 0 0 2.037-.209 7.793 7.793 0 0 0-3.293-2.124c.392.467.717 1.03.983 1.637.097.222.188.455.273.697ZM6.376 17.388a7.79 7.79 0 0 0 3.188 2.012c-.392-.467-.718-1.03-.983-1.637a9.913 9.913 0 0 1-.247-.621c-.668.067-1.322.149-1.958.246Zm-.87-1.087a7.745 7.745 0 0 1-1.28-3.834H7.53c.032 1.244.188 2.43.45 3.493-.847.089-1.673.203-2.473.34Zm4.085.736c.597 1.49 1.455 2.425 2.409 2.425.965 0 1.832-.956 2.43-2.477a42.634 42.634 0 0 0-4.839.052Zm5.221-1.247a43.76 43.76 0 0 0-5.61.059 14.975 14.975 0 0 1-.46-3.382h6.516a15.04 15.04 0 0 1-.446 3.323Zm.881 1.272c-.085.244-.177.477-.274.7-.266.608-.591 1.17-.983 1.638a7.794 7.794 0 0 0 3.297-2.128 39.33 39.33 0 0 0-2.04-.21Zm2.888-.896a39.831 39.831 0 0 0-2.54-.292c.25-1.04.4-2.196.43-3.407h3.303a7.744 7.744 0 0 1-1.193 3.699Z",clipRule:"evenodd"})})}const OM=B(PM);function HM(e){return r("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 20 20",...e,children:r("path",{fill:"#555",fillRule:"evenodd",d:"M13.73 3.267a.906.906 0 0 1 .089 1.19l-.09.102L8.23 10l5.5 5.441a.906.906 0 0 1 .09 1.19l-.09.102a.93.93 0 0 1-1.201.088l-.104-.088-6.154-6.087a.906.906 0 0 1-.089-1.19l.09-.102 6.153-6.087a.93.93 0 0 1 1.306 0Z",clipRule:"evenodd"})})}const $M=B(HM);function UM(e){return p("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 20 20",...e,children:[r("path",{fill:"#999",d:"M10.584 8.142c.293.168.309.565.07.804-.207.207-.532.219-.797.096a2.267 2.267 0 0 0-2.557.453L4.686 12.11a2.266 2.266 0 0 0 3.205 3.206L9.904 13.3a.567.567 0 0 1 .801.802l-2.013 2.013a3.4 3.4 0 1 1-4.808-4.808l2.614-2.614a3.4 3.4 0 0 1 4.086-.552Z"}),r("path",{fill:"#999",d:"M9.677 11.334c-.294-.167-.309-.565-.07-.804.207-.206.532-.218.797-.095.838.389 1.865.237 2.557-.454l2.614-2.614a2.266 2.266 0 0 0-3.205-3.205l-2.013 2.013a.567.567 0 0 1-.802-.801L11.57 3.36a3.4 3.4 0 1 1 4.807 4.807l-2.614 2.614a3.401 3.401 0 0 1-4.085.552Z"}),r("path",{fill:"#999",fillRule:"evenodd",d:"M11.411 3.203a3.622 3.622 0 0 1 5.122 5.122L13.92 10.94a3.623 3.623 0 0 1-4.352.588c-.448-.255-.437-.833-.117-1.154.292-.292.725-.29 1.047-.14a2.045 2.045 0 0 0 2.307-.41l2.614-2.613a2.044 2.044 0 1 0-2.891-2.891l-2.013 2.013a.789.789 0 1 1-1.116-1.116l2.013-2.013Zm4.808.315a3.177 3.177 0 0 0-4.493 0L9.713 5.53a.344.344 0 0 0 .487.487l2.013-2.013a2.489 2.489 0 0 1 3.519 3.519l-2.614 2.614a2.49 2.49 0 0 1-2.808.498c-.208-.096-.424-.07-.546.051-.158.158-.117.374.023.454a3.179 3.179 0 0 0 3.818-.516l2.614-2.614a3.177 3.177 0 0 0 0-4.493ZM6.341 8.537a3.623 3.623 0 0 1 4.353-.588c.447.255.437.834.116 1.154-.291.292-.725.29-1.047.14a2.045 2.045 0 0 0-2.306.41l-2.614 2.614a2.044 2.044 0 1 0 2.89 2.89l2.014-2.013a.789.789 0 0 1 1.115 1.116L8.85 16.273a3.622 3.622 0 1 1-5.122-5.122l2.614-2.614Zm4.133-.202a3.179 3.179 0 0 0-3.818.516l-2.614 2.614a3.177 3.177 0 0 0 4.493 4.494l2.013-2.013a.344.344 0 1 0-.487-.487l-2.013 2.013a2.489 2.489 0 0 1-3.52-3.52l2.615-2.614A2.49 2.49 0 0 1 9.95 8.84c.207.097.424.07.545-.05.158-.159.118-.375-.022-.455Z",clipRule:"evenodd"})]})}const zM=B(UM);function WM(e){return p("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 20 20",...e,children:[r("rect",{width:7,height:16,x:12,y:2,fill:"#EAEAEA",rx:3.5}),r("path",{fill:"#777",fillRule:"evenodd",d:"m13 13 2.5 3 2.5-3h-5ZM13 7l2.5-3L18 7h-5ZM1 4h9v2H1V4Zm0 5h9v2H1V9Zm9 5H1v2h9v-2Z",clipRule:"evenodd"}),r("path",{stroke:"#CCC",strokeLinecap:"square",d:"M14 10h3"})]})}const GM=B(WM);function jM(e){return p("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",...e,children:[r("path",{fill:"#333",fillRule:"evenodd",d:"M8 2a4 4 0 0 0-4 4v12a4 4 0 0 0 4 4h8a4 4 0 0 0 4-4v-1h-2v1a2 2 0 0 1-2 2H8a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v1h2V6a4 4 0 0 0-4-4H8Z",clipRule:"evenodd"}),r("path",{fill:"#333",d:"M20.968 12.733a.97.97 0 0 0 0-1.466L18.8 9.39a.97.97 0 0 0-1.604.733v3.756a.97.97 0 0 0 1.604.733l2.168-1.878Z"}),r("rect",{width:6,height:2,x:12,y:11,fill:"#333",rx:.5})]})}const NM=B(jM);function XM(e){return p("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 20 20",...e,children:[r("path",{fill:"#C1E7DD",fillRule:"evenodd",d:"M7.333.667H16a2 2 0 0 1 2 2v14.666a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V6L7.333.667Z",clipRule:"evenodd"}),r("path",{fill:"#02B585",fillRule:"evenodd",d:"M6 7.833a.5.5 0 0 1 .5-.5h7a.5.5 0 0 1 .5.5v.334a.5.5 0 0 1-.5.5h-7a.5.5 0 0 1-.5-.5v-.333ZM6 10.5a.5.5 0 0 1 .5-.5h7a.5.5 0 0 1 .5.5v.334a.5.5 0 0 1-.5.5h-7a.5.5 0 0 1-.5-.5V10.5Zm.5 2.167a.5.5 0 0 0-.5.5v.333a.5.5 0 0 0 .5.5h7a.5.5 0 0 0 .5-.5v-.333a.5.5 0 0 0-.5-.5h-7ZM2 6h5.333V.667",clipRule:"evenodd"})]})}const YM=B(XM);function KM(e){return r("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 28 28",...e,children:r("path",{fill:"#333",fillRule:"evenodd",d:"M6 9a1 1 0 0 1 1-1h14a1 1 0 1 1 0 2H7a1 1 0 0 1-1-1Zm0 5a1 1 0 0 1 1-1h14a1 1 0 1 1 0 2H7a1 1 0 0 1-1-1Zm1 4a1 1 0 1 0 0 2h14a1 1 0 1 0 0-2H7Z",clipRule:"evenodd"})})}const qM=B(KM);function QM(e){return p("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 20 20",...e,children:[r("path",{stroke:"#555",strokeLinecap:"round",strokeWidth:1.5,d:"M16 10.635v5.519c0 1.02-.768 1.846-1.714 1.846H5.714C4.768 18 4 17.173 4 16.154V3.846C4 2.826 4.768 2 5.714 2h2.429"}),r("path",{stroke:"#999",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M12 2h5v5"}),r("rect",{width:9,height:2,x:9.757,y:7.828,fill:"#999",rx:1,transform:"rotate(-45 9.757 7.828)"})]})}const JM=B(QM);function eZ(e){return r("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 20 20",...e,children:r("path",{fill:"#999",fillRule:"evenodd",d:"M11.5 5a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0Zm0 5a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0ZM10 16.5a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3Z",clipRule:"evenodd"})})}const tZ=B(eZ);function iZ(e){return p("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",...e,children:[r("circle",{cx:17.5,cy:9.5,r:2.5,fill:"#F66"}),r("path",{fill:"#8092AA",fillRule:"evenodd",d:"M8.211 20.598c1.155.667 2.623.416 3.72-.51.284-.24.242-.667-.045-.832l-4.35-2.512c-.287-.165-.678.012-.743.378-.254 1.413.264 2.81 1.418 3.476ZM16.05 3.308c-.353-.204-.905-.448-1.491-.214a1.397 1.397 0 0 0-.577.437c-.05.064-.096.13-.132.189-2.363-.627-4.942.14-6.178 2.282l-.856 1.482c-.433.75-1.236 1.279-2.272 1.397h-.006a2.021 2.021 0 0 0-1.526.985c-.633 1.096-.06 2.36.892 2.91l10.02 5.785c.952.55 2.333.414 2.966-.683.331-.574.333-1.244.086-1.82l-.002-.007c-.317-.727-.357-1.462-.163-2.103a4.474 4.474 0 0 1-1.863-.741c-.4 1.163-.324 2.453.19 3.638.005.011.008.02.01.028l-.01.002a.32.32 0 0 1-.214-.046l-10.02-5.786a.32.32 0 0 1-.148-.162l-.003-.01a.17.17 0 0 1 .022-.004c1.599-.183 2.993-1.031 3.773-2.383l.856-1.482c.773-1.34 2.663-1.93 4.513-1.151l.535.225.068.052a4.482 4.482 0 0 1 2.429-1.095c.039-.148.062-.333.032-.541-.091-.624-.578-.98-.931-1.184Z",clipRule:"evenodd"})]})}const nZ=B(iZ);function rZ(e){return p("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",...e,children:[r("path",{fill:"#D9F4ED",fillRule:"evenodd",d:"M2.5 7a4.5 4.5 0 0 0 4.303-5.82A11.953 11.953 0 0 1 12 0c6.627 0 12 5.373 12 12s-5.373 12-12 12S0 18.627 0 12c0-1.862.424-3.624 1.18-5.197A4.5 4.5 0 0 0 2.5 7Z",clipRule:"evenodd"}),r("circle",{cx:2.5,cy:2.5,r:2.5,fill:"#F66"}),r("path",{stroke:"#61CBB5",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"m9 11.6 2.25 2.4L15 10"})]})}const oZ=B(rZ);function sZ(e){return p("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",...e,children:[r("path",{fill:"#D9F4ED",fillRule:"evenodd",d:"M2.5 7a4.5 4.5 0 0 0 4.303-5.82A11.953 11.953 0 0 1 12 0c6.627 0 12 5.373 12 12s-5.373 12-12 12S0 18.627 0 12c0-1.862.424-3.624 1.18-5.197A4.5 4.5 0 0 0 2.5 7Z",clipRule:"evenodd"}),r("circle",{cx:2.5,cy:2.5,r:2.5,fill:"#F66"}),r("path",{stroke:"#61CBB5",strokeLinecap:"round",strokeWidth:1.5,d:"M10 10h4M10 13h4"}),r("path",{fill:"#61CBB5",fillRule:"evenodd",d:"M5.25 8A2.75 2.75 0 0 1 8 5.25h8A2.75 2.75 0 0 1 18.75 8v8A2.75 2.75 0 0 1 16 18.75H8A2.75 2.75 0 0 1 5.25 16V8ZM8 6.75c-.69 0-1.25.56-1.25 1.25v8c0 .69.56 1.25 1.25 1.25h8c.69 0 1.25-.56 1.25-1.25V8c0-.69-.56-1.25-1.25-1.25H8Z",clipRule:"evenodd"})]})}const lZ=B(sZ);function aZ(e){return p("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 20 20",...e,children:[r("path",{fill:"#555",d:"M17.5 3.5a1 1 0 0 0-1-1h-5a1 1 0 0 0 0 2h2.586L9.429 9.157a1 1 0 1 0 1.414 1.414L15.5 5.914V8.5a1 1 0 0 0 2 0v-5Z"}),r("path",{fill:"#555",d:"M4.5 3.5a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2v-3a1 1 0 1 0-2 0v3h-10v-10h3a1 1 0 0 0 0-2h-3Z"})]})}const cZ=B(aZ);function dZ(e){return r("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 20 20",...e,children:r("path",{fill:"#333",fillRule:"evenodd",d:"M12.425 3.283a.5.5 0 0 0-.708 0l-.707.707a.5.5 0 0 0 0 .707L15.314 9H1.5a.5.5 0 0 0-.5.5v1a.5.5 0 0 0 .5.5h13.814l-4.304 4.303a.5.5 0 0 0 0 .708l.707.707a.5.5 0 0 0 .708 0l6.364-6.364a.5.5 0 0 0 0-.707l-6.364-6.364Z",clipRule:"evenodd"})})}const hZ=B(dZ);function fZ(e){return p("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 20 20",...e,children:[r("circle",{cx:10,cy:10,r:8,stroke:"#333",strokeWidth:1.5}),r("path",{fill:"#333",fillRule:"evenodd",d:"M10 8a1 1 0 1 0 0-2 1 1 0 0 0 0 2Zm-.5 6h-1v-1H9v-3h-.5V9h2a.5.5 0 0 1 .5.5V13h.5v1h-2Z",clipRule:"evenodd"})]})}const uZ=B(fZ);function pZ(e){return p("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 20 20",...e,children:[r("circle",{cx:10,cy:10,r:8,fill:"#EAEAEA"}),r("path",{fill:"#999",fillRule:"evenodd",d:"M10 8a1 1 0 1 0 0-2 1 1 0 0 0 0 2Zm-.5 6h-1v-1H9v-3h-.5V9h2a.5.5 0 0 1 .5.5V13h.5v1h-2Z",clipRule:"evenodd"})]})}const gZ=B(pZ);function vZ(e){return p("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",...e,children:[r("rect",{width:16,height:15,x:4,y:5,stroke:"#333",strokeWidth:2,rx:3}),r("rect",{width:2,height:3,x:15,y:2.5,fill:"#333",rx:1}),r("rect",{width:2,height:3,x:7,y:2.5,fill:"#333",rx:1}),r("path",{stroke:"#333",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"m8.5 12.3 2.625 2.7 4.375-4.5"}),r("path",{fill:"#333",d:"M5 8a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2H5Z"})]})}const mZ=B(vZ);function xZ(e){return p("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 20 20",...e,children:[r("path",{stroke:"#333",strokeLinecap:"round",strokeWidth:1.5,d:"M13.5 5.23C13.5 3.446 12.029 2 10.214 2h-.428C7.97 2 6.5 3.446 6.5 5.23V8"}),r("path",{stroke:"#333",strokeWidth:1.5,d:"M3.25 11A2.25 2.25 0 0 1 5.5 8.75h9A2.25 2.25 0 0 1 16.75 11v6c0 .69-.56 1.25-1.25 1.25h-11c-.69 0-1.25-.56-1.25-1.25v-6Z"}),r("path",{fill:"#333",fillRule:"evenodd",d:"M7.75 13.5a2.25 2.25 0 1 1 4.5 0 2.25 2.25 0 0 1-4.5 0Zm3 0a.75.75 0 1 0-1.5 0 .75.75 0 0 0 1.5 0Z",clipRule:"evenodd"})]})}const wZ=B(xZ);function yZ(e){return p("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 20 20",...e,children:[r("path",{stroke:"#333",strokeWidth:1.5,d:"M4.75 4A2.25 2.25 0 0 1 7 1.75h6A2.25 2.25 0 0 1 15.25 4v12A2.25 2.25 0 0 1 13 18.25H7A2.25 2.25 0 0 1 4.75 16V4Z"}),r("path",{stroke:"#333",strokeLinecap:"round",strokeWidth:1.5,d:"M9 16h2"})]})}const _Z=B(yZ);function bZ(e){return r("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 28 28",...e,children:r("path",{fill:"#333",fillRule:"evenodd",d:"M14 2c5.524 0 10 4.507 10 10.063 0 5.08-3 9.617-8.877 13.586-.554.374-1.253.444-1.91.174l-.164-.075-.179-.108-.38-.263C6.931 21.474 4.064 17.032 4 12.063 4 6.108 8.273 2 14 2Zm0 2c-4.64 0-8 3.23-8 8.05.054 4.135 2.444 7.937 7.267 11.425l.366.261.313.22.056.036.371-.254c4.876-3.388 7.38-7.07 7.61-11.066l.013-.308.004-.301C22 7.608 18.417 4 14 4Zm0 4.286c2.22 0 4 1.865 4 4.143 0 2.278-1.78 4.143-4 4.143-2.22 0-4-1.865-4-4.143 0-2.278 1.78-4.143 4-4.143Zm0 2c-1.094 0-2 .95-2 2.143 0 1.194.906 2.143 2 2.143 1.094 0 2-.95 2-2.143 0-1.194-.906-2.143-2-2.143Z",clipRule:"evenodd"})})}const MZ=B(bZ);function ZZ(e){return p("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 20 20",...e,children:[r("path",{fill:"#555",fillRule:"evenodd",d:"M16 2a2 2 0 0 1 2 2v3.5a2 2 0 0 1-2 2h-3.5a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2H16Zm-.5 1.5a1 1 0 0 1 1 1V7a1 1 0 0 1-1 1H13a1 1 0 0 1-1-1V4.5a1 1 0 0 1 1-1h2.5ZM7.5 10.5a2 2 0 0 1 2 2V16a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2v-3.5a2 2 0 0 1 2-2h3.5ZM7 12a1 1 0 0 1 1 1v2.5a1 1 0 0 1-1 1H4.5a1 1 0 0 1-1-1V13a1 1 0 0 1 1-1H7ZM7.5 2a2 2 0 0 1 2 2v3.5a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h3.5ZM7 3.5a1 1 0 0 1 1 1V7a1 1 0 0 1-1 1H4.5a1 1 0 0 1-1-1V4.5a1 1 0 0 1 1-1H7Z",clipRule:"evenodd"}),r("path",{fill:"#555",d:"M7 4.5H4.5V7H7z"}),r("path",{fill:"#555",fillRule:"evenodd",d:"M16 10.5a2 2 0 0 1 2 2V16a2 2 0 0 1-2 2h-3.5a2 2 0 0 1-2-2v-3.5a2 2 0 0 1 2-2H16Zm-.5 1.5a1 1 0 0 1 1 1v2.5a1 1 0 0 1-1 1H13a1 1 0 0 1-1-1V13a1 1 0 0 1 1-1h2.5Z",clipRule:"evenodd"}),r("path",{fill:"#555",d:"M15.5 13H13v2.5h2.5z"})]})}const SZ=B(ZZ);function IZ(e){return p("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 20 20",...e,children:[r("path",{fill:"#555",d:"M5.833 10a4.167 4.167 0 1 1 8.333 0 4.167 4.167 0 0 1-8.333 0Z",opacity:.2}),r("path",{fill:"#555",fillRule:"evenodd",d:"M10 5.292a4.708 4.708 0 1 0 0 9.416 4.708 4.708 0 0 0 0-9.416ZM6.375 10a3.625 3.625 0 1 1 7.25 0 3.625 3.625 0 0 1-7.25 0Z",clipRule:"evenodd"}),r("path",{fill:"#555",fillRule:"evenodd",d:"M10 1.125a8.875 8.875 0 1 0 0 17.75 8.875 8.875 0 0 0 0-17.75ZM2.208 10a7.792 7.792 0 1 1 15.583 0 7.792 7.792 0 0 1-15.583 0Z",clipRule:"evenodd"})]})}const CZ=B(IZ);function AZ(e){return p("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",...e,children:[r("rect",{width:24,height:24,fill:"#F4F4F4",rx:12}),r("rect",{width:12,height:12,x:6,y:6,stroke:"#CCC",strokeWidth:1.5,rx:2}),r("path",{stroke:"#CCC",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"m9 11.6 2.25 2.4L15 10"})]})}const RZ=B(AZ);function kZ(e){return p("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",...e,children:[r("rect",{width:24,height:24,fill:"#F4F4F4",rx:12}),r("path",{stroke:"#CCC",strokeLinecap:"round",strokeWidth:1.5,d:"M13 10.5h4M7 13.5h10M7 16.5h10M7 8.786l1.403 1.503a.25.25 0 0 0 .378-.015L11 7.5"})]})}const FZ=B(kZ);function BZ(e){return p("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",...e,children:[r("rect",{width:24,height:24,fill:"#F4F4F4",rx:12}),r("path",{stroke:"#CCC",strokeLinecap:"round",strokeWidth:1.5,d:"M10 10h4M10 13h4"}),r("rect",{width:12,height:12,x:6,y:6,stroke:"#CCC",strokeWidth:1.5,rx:2})]})}const EZ=B(BZ);function LZ(e){return r("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 20 20",...e,children:r("path",{fill:"#555",fillRule:"evenodd",d:"M15.133 5.243a7 7 0 1 0 1.536 6.89.473.473 0 0 0-.351-.599l-1.115-.27a.224.224 0 0 0-.27.16 5.133 5.133 0 1 1-.973-4.691H11.9a.5.5 0 0 0-.5.5V8.1a.5.5 0 0 0 .5.5h4.6a.5.5 0 0 0 .5-.5V3.5a.5.5 0 0 0-.5-.5h-.867a.5.5 0 0 0-.5.5v1.743Z",clipRule:"evenodd"})})}const DZ=B(LZ);function TZ(e){return p("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 20 20",...e,children:[r("circle",{cx:10,cy:10,r:8,fill:"#FF7979"}),r("path",{fill:"#fff",fillRule:"evenodd",d:"M5 10a1 1 0 0 1 1-1h8a1 1 0 1 1 0 2H6a1 1 0 0 1-1-1Z",clipRule:"evenodd"})]})}const VZ=B(TZ);function PZ(e){return r("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 20 20",...e,children:r("path",{fill:"#555",fillRule:"evenodd",d:"M6.27 16.733a.906.906 0 0 1-.089-1.19l.09-.102L11.77 10l-5.5-5.441a.906.906 0 0 1-.09-1.19l.09-.102a.93.93 0 0 1 1.201-.088l.104.088 6.154 6.087a.906.906 0 0 1 .089 1.19l-.09.102-6.153 6.087a.93.93 0 0 1-1.306 0Z",clipRule:"evenodd"})})}const OZ=B(PZ);function HZ(e){return p("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 20 20",...e,children:[r("circle",{cx:9,cy:9,r:7,stroke:"#555",strokeWidth:2}),r("path",{stroke:"#555",strokeLinecap:"round",strokeWidth:2,d:"m14.5 14.5 4 4"})]})}const $Z=B(HZ);function UZ(e){return r("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 20 20",...e,children:r("path",{fill:"#555",fillRule:"evenodd",d:"M15.833 1.875H4.167a2.292 2.292 0 0 0-2.292 2.292v2.5a2.292 2.292 0 0 0 2.292 2.291h11.666a2.292 2.292 0 0 0 2.292-2.291v-2.5a2.292 2.292 0 0 0-2.292-2.292ZM4.167 3.125h11.666c.576 0 1.042.466 1.042 1.042v2.5c0 .575-.466 1.041-1.042 1.041H4.167a1.042 1.042 0 0 1-1.042-1.041v-2.5c0-.576.466-1.042 1.042-1.042Zm11.666 7.917H4.167a2.292 2.292 0 0 0-2.292 2.291v2.5a2.292 2.292 0 0 0 2.292 2.292h11.666a2.292 2.292 0 0 0 2.292-2.292v-2.5a2.292 2.292 0 0 0-2.292-2.291Zm-11.666 1.25h11.666c.576 0 1.042.466 1.042 1.041v2.5c0 .576-.466 1.042-1.042 1.042H4.167a1.042 1.042 0 0 1-1.042-1.042v-2.5c0-.575.466-1.041 1.042-1.041Z",clipRule:"evenodd"})})}const zZ=B(UZ);function WZ(e){return r("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 20 20",...e,children:r("path",{fill:"#999",fillRule:"evenodd",d:"M10.405 17h-.81a.913.913 0 0 1-.899-.75l-.117-.646a5.707 5.707 0 0 1-1.535-.638l-.542.375a.932.932 0 0 1-1.165-.105l-.573-.573a.913.913 0 0 1-.105-1.165l.375-.542a5.716 5.716 0 0 1-.638-1.535l-.646-.117a.913.913 0 0 1-.75-.899v-.81c0-.442.315-.82.75-.898l.646-.118c.136-.539.35-1.053.638-1.535l-.375-.542a.913.913 0 0 1 .105-1.165l.573-.573a.931.931 0 0 1 1.165-.105l.542.375a5.711 5.711 0 0 1 1.535-.638l.117-.646A.913.913 0 0 1 9.595 3h.81c.441 0 .82.315.899.75l.117.646c.539.136 1.053.35 1.535.638l.542-.375a.931.931 0 0 1 1.165.105l.573.573a.912.912 0 0 1 .105 1.165l-.375.542c.288.482.502.996.638 1.535l.646.117c.435.08.75.457.75.899v.81c0 .442-.315.82-.75.898l-.646.118a5.725 5.725 0 0 1-.638 1.535l.375.542a.912.912 0 0 1-.105 1.165l-.573.573a.907.907 0 0 1-1.165.105l-.542-.375a5.71 5.71 0 0 1-1.535.638l-.117.646a.913.913 0 0 1-.899.75ZM10 8c-1.103 0-2 .897-2 2s.897 2 2 2 2-.897 2-2-.897-2-2-2Z",clipRule:"evenodd"})})}const GZ=B(WZ);function jZ(e){return r("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 28 28",...e,children:r("path",{fill:"#333",fillRule:"evenodd",d:"M14.637 2c1.12 0 2.088.763 2.36 1.836l.035.163.074.408.168.054c.262.09.52.191.773.303l.378.175.159.083.344-.238a2.469 2.469 0 0 1 2.824.04l.15.117.133.124.9.9c.79.788.936 2.003.38 2.952l-.1.156-.237.342.083.161c.122.25.234.503.335.76l.143.39.053.167.409.075a2.434 2.434 0 0 1 1.975 2.056l.018.173.006.166v1.274a2.434 2.434 0 0 1-1.836 2.36l-.163.035-.409.073-.053.169c-.09.262-.191.52-.303.773l-.175.377-.084.16.239.343a2.434 2.434 0 0 1-.035 2.822l-.12.151-.126.135-.9.9a2.426 2.426 0 0 1-1.722.713c-.434 0-.856-.115-1.229-.333l-.156-.1-.344-.238-.159.083c-.249.123-.503.235-.76.335l-.39.144-.169.053-.074.409a2.435 2.435 0 0 1-2.056 1.975l-.173.018-.166.006h-1.274a2.435 2.435 0 0 1-2.36-1.836L10.968 24l-.075-.408-.167-.053a9.965 9.965 0 0 1-.773-.303l-.378-.175-.16-.084-.344.24a2.47 2.47 0 0 1-2.823-.04l-.15-.118-.133-.124-.9-.9a2.435 2.435 0 0 1-.38-2.952l.1-.156.236-.343-.082-.16a9.972 9.972 0 0 1-.335-.761l-.143-.39-.054-.167-.408-.074a2.435 2.435 0 0 1-1.975-2.056l-.018-.173L2 14.637v-1.274c0-1.121.763-2.09 1.836-2.36L4 10.969l.407-.074.054-.167c.09-.262.19-.52.302-.773l.176-.378.082-.161-.237-.343A2.435 2.435 0 0 1 4.82 6.25l.12-.15.125-.136.9-.9a2.466 2.466 0 0 1 2.954-.378l.154.098.342.237.16-.082c.25-.123.503-.235.76-.335l.39-.144.168-.054.075-.408a2.436 2.436 0 0 1 2.056-1.975l.173-.018.166-.006h1.274Zm0 2h-1.274a.435.435 0 0 0-.407.282l-.02.075-.3 1.648-.623.158a7.96 7.96 0 0 0-1.853.726l-.291.166-.553.33-1.381-.956a.471.471 0 0 0-.49-.001l-.066.051-.9.9a.434.434 0 0 0-.093.478l.043.077.956 1.38-.33.554a7.998 7.998 0 0 0-.788 1.771l-.104.373-.157.624-1.65.3a.433.433 0 0 0-.35.35L4 13.363v1.274c0 .184.115.344.282.407l.075.02 1.649.3.157.624c.163.644.406 1.264.725 1.853l.167.291.33.553-.956 1.38a.435.435 0 0 0-.006.487l.056.069.9.9c.117.117.325.15.481.09l.074-.04 1.382-.957.553.331a7.984 7.984 0 0 0 1.823.804l.32.088.625.158.298 1.647c.034.182.175.32.351.351l.077.007h1.274a.434.434 0 0 0 .407-.282l.02-.075.3-1.648.624-.158a7.96 7.96 0 0 0 1.853-.726l.29-.166.554-.33 1.38.956a.43.43 0 0 0 .49.005l.066-.055.9-.9a.434.434 0 0 0 .093-.477l-.043-.078-.956-1.38.33-.554a8.015 8.015 0 0 0 .788-1.771l.104-.374.158-.623 1.648-.3a.433.433 0 0 0 .35-.35l.007-.077v-1.274a.434.434 0 0 0-.282-.407l-.074-.02-1.649-.3-.158-.623a7.968 7.968 0 0 0-.699-1.805l-.193-.34-.33-.553.956-1.38a.434.434 0 0 0 .006-.487l-.055-.069-.901-.9a.47.47 0 0 0-.481-.09l-.074.04-1.38.957-.554-.331a8.001 8.001 0 0 0-1.771-.788l-.373-.104-.624-.158-.3-1.648a.435.435 0 0 0-.35-.35L14.637 4ZM14 10c2.206 0 4 1.794 4 4s-1.794 4-4 4-4-1.794-4-4 1.794-4 4-4Zm0 2c-1.102 0-2 .898-2 2 0 1.102.898 2 2 2 1.102 0 2-.898 2-2 0-1.102-.898-2-2-2Z",clipRule:"evenodd"})})}const NZ=B(jZ);function XZ(e){return r("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 28 28",...e,children:r("path",{fill:"#333",fillRule:"evenodd",d:"M10 15a3 3 0 0 1 2.995 2.824L13 18v3a3 3 0 0 1-2.824 2.995L10 24H7a3 3 0 0 1-2.995-2.824L4 21v-3a3 3 0 0 1 2.824-2.995L7 15h3Zm11 0a3 3 0 0 1 2.995 2.824L24 18v3a3 3 0 0 1-2.824 2.995L21 24h-3a3 3 0 0 1-2.995-2.824L15 21v-3a3 3 0 0 1 2.824-2.995L18 15h3Zm-11 2H7a1 1 0 0 0-.993.883L6 18v3a1 1 0 0 0 .883.993L7 22h3a1 1 0 0 0 .993-.883L11 21v-3a1 1 0 0 0-.883-.993L10 17Zm11 0h-3a1 1 0 0 0-.993.883L17 18v3a1 1 0 0 0 .883.993L18 22h3a1 1 0 0 0 .993-.883L22 21v-3a1 1 0 0 0-.883-.993L21 17ZM10 4a3 3 0 0 1 2.995 2.824L13 7v3a3 3 0 0 1-2.824 2.995L10 13H7a3 3 0 0 1-2.995-2.824L4 10V7a3 3 0 0 1 2.824-2.995L7 4h3Zm11 0a3 3 0 0 1 2.995 2.824L24 7v3a3 3 0 0 1-2.824 2.995L21 13h-3a3 3 0 0 1-2.995-2.824L15 10V7a3 3 0 0 1 2.824-2.995L18 4h3ZM10 6H7a1 1 0 0 0-.993.883L6 7v3a1 1 0 0 0 .883.993L7 11h3a1 1 0 0 0 .993-.883L11 10V7a1 1 0 0 0-.883-.993L10 6Zm11 0h-3a1 1 0 0 0-.993.883L17 7v3a1 1 0 0 0 .883.993L18 11h3a1 1 0 0 0 .993-.883L22 10V7a1 1 0 0 0-.883-.993L21 6Z",clipRule:"evenodd"})})}const YZ=B(XZ);function KZ(e){return p("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 20 20",...e,children:[r("rect",{width:15.556,height:1.667,x:2.222,y:3.611,fill:"#555",rx:.5}),r("rect",{width:15.556,height:1.667,x:2.222,y:9.166,fill:"#555",rx:.5}),r("rect",{width:15.556,height:1.667,x:2.222,y:14.722,fill:"#555",rx:.5}),r("path",{fill:"#fff",d:"M8.333 4.444a1.667 1.667 0 1 1-3.333 0 1.667 1.667 0 0 1 3.333 0Z"}),r("path",{fill:"#555",fillRule:"evenodd",d:"M6.667 3.611a.833.833 0 1 0 0 1.667.833.833 0 0 0 0-1.667Zm-2.5.833a2.5 2.5 0 1 1 5 0 2.5 2.5 0 0 1-5 0Z",clipRule:"evenodd"}),r("path",{fill:"#fff",d:"M15 10a1.667 1.667 0 1 1-3.334 0A1.667 1.667 0 0 1 15 10Z"}),r("path",{fill:"#555",fillRule:"evenodd",d:"M13.334 9.167a.833.833 0 1 0 0 1.666.833.833 0 0 0 0-1.666Zm-2.5.833a2.5 2.5 0 1 1 5 0 2.5 2.5 0 0 1-5 0Z",clipRule:"evenodd"}),r("path",{fill:"#fff",d:"M9.445 15.555a1.667 1.667 0 1 1-3.334 0 1.667 1.667 0 0 1 3.334 0Z"}),r("path",{fill:"#555",fillRule:"evenodd",d:"M7.778 14.722a.833.833 0 1 0 0 1.667.833.833 0 0 0 0-1.667Zm-2.5.834a2.5 2.5 0 1 1 5 0 2.5 2.5 0 0 1-5 0Z",clipRule:"evenodd"})]})}const qZ=B(KZ);function QZ(e){return p("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",...e,children:[r("rect",{width:3.5,height:12.5,x:3.75,y:7.75,fill:"#02B585",stroke:"#333",strokeWidth:1.5,rx:1.75}),r("rect",{width:3.5,height:10.5,x:10.25,y:9.75,fill:"#02B585",stroke:"#333",strokeWidth:1.5,rx:1.75}),r("rect",{width:3.5,height:16.5,x:16.75,y:3.75,fill:"#02B585",stroke:"#333",strokeWidth:1.5,rx:1.75})]})}const JZ=B(QZ);function eS(e){return r("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",...e,children:r("path",{fill:"#999",fillRule:"evenodd",d:"M19.5 5.5v13a1 1 0 1 1-2 0v-13a1 1 0 1 1 2 0Zm-3.5 0a2.5 2.5 0 0 1 5 0v13a2.5 2.5 0 0 1-5 0v-13Zm-9.5 13v-9a1 1 0 0 0-2 0v9a1 1 0 1 0 2 0ZM5.5 7A2.5 2.5 0 0 0 3 9.5v9a2.5 2.5 0 0 0 5 0v-9A2.5 2.5 0 0 0 5.5 7ZM13 18.5v-7a1 1 0 1 0-2 0v7a1 1 0 1 0 2 0ZM12 9a2.5 2.5 0 0 0-2.5 2.5v7a2.5 2.5 0 0 0 5 0v-7A2.5 2.5 0 0 0 12 9Z",clipRule:"evenodd"})})}const tS=B(eS);function iS(e){return p("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",...e,children:[r("path",{fill:"#333",d:"M17 12a1 1 0 1 1 2 0v7.8a.2.2 0 0 1-.2.2h-1.6a.2.2 0 0 1-.2-.2V12ZM9 15a1 1 0 1 1 2 0v4.8a.2.2 0 0 1-.2.2H9.2a.2.2 0 0 1-.2-.2V15ZM5 17a1 1 0 1 1 2 0v2.8a.2.2 0 0 1-.2.2H5.2a.2.2 0 0 1-.2-.2V17ZM13 16a1 1 0 1 1 2 0v3.8a.2.2 0 0 1-.2.2h-1.6a.2.2 0 0 1-.2-.2V16Z"}),r("path",{fill:"#333",fillRule:"evenodd",d:"M20.494 4.155a1 1 0 0 0-.992-1.141l-2.96.005a1 1 0 0 0-.753 1.656l.507.584-4.062 3.53-1.98-2.277a1.089 1.089 0 0 0-1.536-.107L4.05 10.463a1 1 0 0 0-.099 1.411l.117.134a1 1 0 0 0 1.41.1l3.848-3.345 1.98 2.277a1.089 1.089 0 0 0 1.536.108l4.884-4.246.607.698a1 1 0 0 0 1.744-.515l.418-2.93Z",clipRule:"evenodd"})]})}const nS=B(iS);function rS(e){return p("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 20 20",...e,children:[r("path",{fill:"#555",fillRule:"evenodd",d:"M1.125 5A3.875 3.875 0 0 1 5 1.125h10A3.875 3.875 0 0 1 18.875 5v10a3.875 3.875 0 0 1-3.876 3.875H5A3.875 3.875 0 0 1 1.126 15V5ZM5 2.208A2.792 2.792 0 0 0 2.208 5v10A2.792 2.792 0 0 0 5 17.792h10A2.792 2.792 0 0 0 17.79 15V5A2.792 2.792 0 0 0 15 2.208H5Z",clipRule:"evenodd"}),r("path",{fill:"#555",d:"M11.666 5h.833v10h-.833V5ZM4.166 5.833V7.5h2.5v6.667h1.667V7.5h2.5V5.833H4.166Z"})]})}const oS=B(rS);function sS(e){return r("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 20 20",...e,children:r("path",{fill:"#8092AA",fillRule:"evenodd",d:"M10 2a8 8 0 1 1 0 16 8 8 0 0 1 0-16Zm0 1.5a6.5 6.5 0 1 0 0 13 6.5 6.5 0 0 0 0-13Zm.743 3.398A.75.75 0 0 0 9.25 7v3.6l.007.104a.75.75 0 0 0 .167.376l2 2.4.077.08a.75.75 0 0 0 .98.016l.08-.077a.75.75 0 0 0 .015-.98l-1.826-2.191V7l-.007-.102Z",clipRule:"evenodd"})})}const lS=B(sS);function aS(e){return r("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 20 20",...e,children:r("path",{fill:"#555",fillRule:"evenodd",d:"M7.6 4a1 1 0 0 1 1-1h2.8a1 1 0 0 1 1 1h3.19a.91.91 0 0 1 .91.91v.18a.91.91 0 0 1-.91.91H4.41a.91.91 0 0 1-.91-.91v-.18A.91.91 0 0 1 4.41 4H7.6ZM5.082 7a.96.96 0 0 0-.953 1.074l.906 7.552A1.56 1.56 0 0 0 6.584 17h6.832c.79 0 1.455-.59 1.549-1.374l.906-7.552A.96.96 0 0 0 14.918 7H5.082ZM8.1 9a.6.6 0 0 0-.6.6v4.8a.6.6 0 0 0 .6.6h.3a.6.6 0 0 0 .6-.6V9.6a.6.6 0 0 0-.6-.6h-.3Zm2.9.6a.6.6 0 0 1 .6-.6h.3a.6.6 0 0 1 .6.6v4.8a.6.6 0 0 1-.6.6h-.3a.6.6 0 0 1-.6-.6V9.6Z",clipRule:"evenodd"})})}const cS=B(aS);function dS(e){return p("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 20 20",...e,children:[r("circle",{cx:10,cy:10,r:9,fill:"#02B585"}),r("path",{stroke:"#fff",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"m5 9.5 3.75 3.75L15 7"})]})}const hS=B(dS);function fS(e){return p("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 28 28",...e,children:[r("circle",{cx:14,cy:14,r:11,stroke:"#333",strokeWidth:2}),r("path",{fill:"#333",fillRule:"evenodd",d:"M15.266 16.167v.942h-2.199v-1.367c0-1.081.374-1.399 1.324-2.206l.339-.288c.683-.592 1.053-.943 1.053-1.811s-.794-1.59-1.718-1.59c-1.59 0-2.18 1.775-2.18 1.775L10 10.753s.887-3.011 4.065-3.011c2.217 0 3.935 1.644 3.935 3.695 0 1.626-.85 2.402-2.05 3.455-.647.573-.684.61-.684 1.275Zm.37 3.491a1.45 1.45 0 0 1-1.46 1.46 1.45 1.45 0 0 1-1.46-1.46c0-.812.647-1.459 1.46-1.459.812 0 1.46.647 1.46 1.46Z",clipRule:"evenodd"})]})}const uS=B(fS);function pS(e){return r("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 12 12",...e,children:r("path",{fill:"#999",fillRule:"evenodd",d:"M8.96 8.5a.5.5 0 0 0 .39-.812l-2.96-3.7a.5.5 0 0 0-.78 0l-2.96 3.7a.5.5 0 0 0 .39.812h5.92Z",clipRule:"evenodd"})})}const gS=B(pS);function vS(e){return r("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 20 20",...e,children:r("path",{fill:"#555",fillRule:"evenodd",d:"M16.733 13.73a.906.906 0 0 1-1.19.089l-.102-.09L10 8.23l-5.441 5.5a.906.906 0 0 1-1.19.09l-.102-.09a.93.93 0 0 1-.088-1.201l.088-.104L9.354 6.27a.906.906 0 0 1 1.19-.089l.102.09 6.087 6.153a.93.93 0 0 1 0 1.306Z",clipRule:"evenodd"})})}const mS=B(vS);function xS(e){return r("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 20 20",...e,children:r("path",{fill:"#333",fillRule:"evenodd",d:"M10 2.25a3.75 3.75 0 1 0 0 7.5 3.75 3.75 0 0 0 0-7.5Zm0 1.5a2.25 2.25 0 1 1 0 4.5 2.25 2.25 0 0 1 0-4.5Zm7.746 12.03A5.75 5.75 0 0 0 12 10.25H8l-.22.004A5.75 5.75 0 0 0 2.25 16v1l.007.102A.75.75 0 0 0 3.75 17v-1l.005-.206A4.25 4.25 0 0 1 8 11.75h4l.206.005A4.25 4.25 0 0 1 16.25 16v1l.007.102A.75.75 0 0 0 17.75 17v-1l-.004-.22Z",clipRule:"evenodd"})})}const wS=B(xS);function yS(e){return r("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 20 20",...e,children:r("path",{fill:"#555",fillRule:"evenodd",d:"M15.835 4.167a.561.561 0 0 0-.8 0l-2.293 2.316a6.315 6.315 0 0 0-2.959-.77c-3.997 0-6.588 4.088-6.696 4.262a.576.576 0 0 0 0 .607 11.33 11.33 0 0 0 2.746 2.879l-1.537 1.552a.574.574 0 0 0 .246.969c.2.052.412-.01.553-.162l10.74-10.846a.575.575 0 0 0 0-.807Zm-8.313 6.112a2.272 2.272 0 0 1 2.261-2.284 2.18 2.18 0 0 1 1.137.328l-3.073 3.104a2.24 2.24 0 0 1-.325-1.148ZM14.971 8c.738.636 1.39 1.36 1.939 2.153a.55.55 0 0 1 0 .605C16.796 10.93 14.088 15 9.91 15A6.538 6.538 0 0 1 8 14.703L14.97 8Z",clipRule:"evenodd"})})}const _S=B(yS);function bS(e){return r("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 20 20",...e,children:r("path",{fill:"#555",fillRule:"evenodd",d:"M10 5c-3.182 0-5.9 2.073-7 5 1.1 2.927 3.818 5 7 5s5.9-2.073 7-5c-1.1-2.927-3.818-5-7-5Zm0 8.333c-1.756 0-3.182-1.493-3.182-3.333S8.244 6.667 10 6.667 13.182 8.16 13.182 10 11.756 13.333 10 13.333ZM10 8c-1.056 0-1.91.893-1.91 2s.854 2 1.91 2 1.91-.893 1.91-2-.854-2-1.91-2Z",clipRule:"evenodd"})})}const MS=B(bS);function ZS(e){return r("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 28 28",...e,children:r("path",{fill:"#333",fillRule:"evenodd",d:"M14 4a5 5 0 1 0 0 10 5 5 0 0 0 0-10Zm0 2a3 3 0 1 1 0 6 3 3 0 0 1 0-6Zm4.207 9c2.604 0 4.81 1.92 5.168 4.5l.309 2.225A2 2 0 0 1 21.703 24H6.297a2 2 0 0 1-1.981-2.275l.309-2.225A5.218 5.218 0 0 1 9.793 15h8.414Zm.184 2.005L18.207 17H9.793a3.218 3.218 0 0 0-3.157 2.593l-.03.182L6.296 22h15.407l-.31-2.225a3.218 3.218 0 0 0-3.002-2.77Z",clipRule:"evenodd"})})}const SS=B(ZS);function IS(e){return p("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 20 20",...e,children:[r("path",{fill:"#555",fillRule:"evenodd",d:"M16.864 3.126a4.984 4.984 0 0 1 1.47 3.54v6.667a5 5 0 0 1-5 5H6.667a4.984 4.984 0 0 1-3.521-1.45",clipRule:"evenodd",opacity:.2}),r("path",{fill:"#555",d:"M5.416 4.722a.542.542 0 1 0-.833.694l1.958 2.35v2.303a.542.542 0 0 0 1.084 0V7.765l1.957-2.349a.542.542 0 1 0-.832-.694L7.083 6.723l-1.667-2ZM15.958 11.127a.542.542 0 0 0-1.084 0v2.736l-2.495-3.018c-.423-.511-1.255-.212-1.255.451v3.89a.542.542 0 1 0 1.084 0v-2.848l2.496 3.018c.423.512 1.254.213 1.254-.451v-3.778Z"}),r("path",{fill:"#555",fillRule:"evenodd",d:"M6.666 1.125a5.542 5.542 0 0 0-5.541 5.542v6.666c0 1.335.472 2.56 1.258 3.517l-.683.684a.542.542 0 0 0 .766.766l.683-.684a5.519 5.519 0 0 0 3.517 1.259h6.667a5.542 5.542 0 0 0 5.542-5.542V6.667a5.52 5.52 0 0 0-1.26-3.517l.684-.684a.542.542 0 0 0-.766-.766l-.683.684a5.519 5.519 0 0 0-3.517-1.259H6.666Zm9.413 2.03a4.439 4.439 0 0 0-2.746-.947H6.666a4.458 4.458 0 0 0-4.458 4.459v6.666c0 1.036.353 1.99.946 2.747L16.079 3.154ZM3.92 16.844a4.44 4.44 0 0 0 2.747.947h6.667a4.458 4.458 0 0 0 4.458-4.459V6.667a4.44 4.44 0 0 0-.946-2.747L3.92 16.846Z",clipRule:"evenodd"})]})}const CS=B(IS);function AS(e){return r("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",...e,children:r("path",{fill:"#02B585",d:"M26.566 22.454c-.564 0-.846-.302-.846-.906v-2.242c0-.604.282-.906.846-.906.563 0 .834.3.838.9v2.248c0 .604-.28.906-.838.906Zm0 1.908c1.845 0 2.767-.939 2.767-2.815V14.53c0-1.872-.922-2.807-2.767-2.807-1.845 0-2.775.935-2.775 2.807v1.162h1.93V14.53c0-.6.279-.902.838-.906h.014c.554 0 .831.302.831.906v2.39c-.381-.286-.879-.429-1.492-.429-1.414.005-2.12.943-2.12 2.815v2.241c0 1.872.925 2.81 2.774 2.815Zm-7.049-1.908c-.559 0-.838-.302-.838-.906v-7.011c0-.604.281-.907.845-.907.563 0 .834.3.838.9v7.017c0 .604-.282.906-.845.906Zm0 1.908c1.85-.005 2.774-.943 2.774-2.815V7.6h-1.929v4.552c-.381-.286-.88-.43-1.493-.43-1.413.005-2.12.943-2.12 2.815v7.01c0 1.877.923 2.815 2.768 2.815Zm-7.035-1.908c-.563 0-.845-.302-.845-.906v-2.242c0-.604.282-.906.845-.906.564 0 .834.3.839.9v2.248c0 .604-.28.906-.839.906Zm0 1.908c1.845 0 2.768-.939 2.768-2.815V14.53c0-1.872-.923-2.807-2.768-2.807-1.845 0-2.774.935-2.774 2.807v1.162h1.93V14.53c0-.6.279-.902.838-.906h.013c.555 0 .832.302.832.906v2.39c-.381-.286-.88-.429-1.493-.429-1.413.005-2.12.943-2.12 2.815v2.241c0 1.872.925 2.81 2.775 2.815Zm-7.887-.218V14.53c.005-.6.284-.9.839-.9.554 0 .845.303.845.907v9.606h1.929v-9.606c0-1.872-.707-2.81-2.12-2.815-.613 0-1.111.143-1.493.43V7.6H2.667v16.544h1.929Z"})})}const RS=B(AS);function kS(e){return r("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",...e,children:r("path",{fill:"#02B585",d:"M27.613 25.51h-2.151V7.395h2.15v8.194h1.721v2.157h-1.72v7.763ZM6.537 12.14h-.43a.861.861 0 0 0-.858.798l-.002.064v9.273c0 .455.351.827.796.86l.064.002h.43a.861.861 0 0 0 .858-.798l.003-.064v-9.273a.862.862 0 0 0-.796-.86l-.065-.002Zm17.205-4.097v2.156H20.3a.646.646 0 0 0-.642.585l-.003.062v11.213c0 .336.256.613.583.644l.062.003h3.44v2.157h-3.44a2.8 2.8 0 0 1-2.794-2.703l-.002-.1V10.845a2.8 2.8 0 0 1 2.696-2.802l.1-.001h3.44ZM7.398 6.533v1.725h2.58v2.157H8.09a3.02 3.02 0 0 1 1.46 2.587v9.273a3.015 3.015 0 0 1-3.011 3.019h-.43a3.015 3.015 0 0 1-3.011-3.02v-9.272c0-1.098.585-2.059 1.459-2.587h-1.89V8.258h2.581V6.533h2.151Zm6.451.863v8.194h1.72v2.157h-1.72v7.763H11.7V7.396h2.15Z"})})}const FS=B(kS);function BS(e){return p("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 60 60",...e,children:[r("path",{fill:"#FEF4C2",d:"M23.11 7.96c3.078-5.28 10.702-5.28 13.78 0l21.011 36.037C61.003 49.318 57.168 56 51.011 56H8.989c-6.157 0-9.992-6.682-6.89-12.003L23.109 7.96Z"}),r("path",{fill:"#FB0",fillRule:"evenodd",d:"M29 26a1 1 0 0 0-1 1v9a2 2 0 1 0 4 0v-9a1 1 0 0 0-1-1h-2Zm1 18.667a2 2 0 1 0 0-4 2 2 0 0 0 0 4Z",clipRule:"evenodd"})]})}const ES=B(BS);function LS(e){return p("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 40 40",...e,children:[r("circle",{cx:20,cy:20,r:20,fill:"url(#img-assignees_svg__a)"}),r("circle",{cx:20,cy:20,r:9,fill:"#C8D5E9"}),r("circle",{cx:20,cy:14.5,r:3.5,fill:"#fff",stroke:"#333",strokeWidth:2}),r("path",{fill:"#fff",stroke:"#333",strokeWidth:2,d:"M13 26.25c0-2.9 2.35-5.25 5.25-5.25h3.5c2.9 0 5.25 2.35 5.25 5.25A1.75 1.75 0 0 1 25.25 28h-10.5A1.75 1.75 0 0 1 13 26.25Z"}),r("defs",{children:p("linearGradient",{id:"img-assignees_svg__a",x1:20,x2:40,y1:0,y2:40,gradientUnits:"userSpaceOnUse",children:[r("stop",{stopColor:"#F1F4F6"}),r("stop",{offset:1,stopColor:"#D9E1E6"})]})})]})}const DS=B(LS);function TS(e){return p("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 40 40",...e,children:[r("circle",{cx:20,cy:20,r:20,fill:"url(#img-average_svg__a)"}),r("rect",{width:15,height:15,x:15.334,y:15,fill:"#61CBB5",rx:3}),r("rect",{width:16,height:16,x:10,y:10,fill:"#fff",stroke:"#333",strokeWidth:2,rx:3}),r("path",{fill:"#333",fillRule:"evenodd",d:"M14.5 15a1 1 0 0 1 1 1v5a1 1 0 1 1-2 0v-5a1 1 0 0 1 1-1ZM18 14a1 1 0 0 1 1 1v6a1 1 0 1 1-2 0v-6a1 1 0 0 1 1-1ZM21.5 16a1 1 0 0 1 1 1v4a1 1 0 1 1-2 0v-4a1 1 0 0 1 1-1Z",clipRule:"evenodd"}),r("defs",{children:p("linearGradient",{id:"img-average_svg__a",x1:20,x2:40,y1:0,y2:40,gradientUnits:"userSpaceOnUse",children:[r("stop",{stopColor:"#F1FAF7"}),r("stop",{offset:1,stopColor:"#E2EDEF"})]})})]})}const VS=B(TS);function PS(e){return p("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 40 40",...e,children:[r("circle",{cx:20,cy:20,r:20,fill:"url(#img-checked-facility_svg__a)"}),r("ellipse",{cx:20,cy:31,fill:"#61CBB5",rx:6,ry:2}),r("path",{fill:"#fff",fillRule:"evenodd",stroke:"#333",strokeLinejoin:"round",strokeWidth:2,d:"M20 10c-4.64 0-8 3.232-8 8.053.054 4.137 2.444 7.94 7.267 11.43l.366.26.313.22.056.037.371-.254c4.876-3.39 7.38-7.073 7.61-11.07l.013-.308.004-.302C28 13.61 24.417 10 20 10Z",clipRule:"evenodd"}),r("path",{stroke:"#333",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"m16.5 19 2.625 3 4.375-5"}),r("defs",{children:p("linearGradient",{id:"img-checked-facility_svg__a",x1:20,x2:40,y1:0,y2:40,gradientUnits:"userSpaceOnUse",children:[r("stop",{stopColor:"#F1FAF7"}),r("stop",{offset:1,stopColor:"#E2EDEF"})]})})]})}const OS=B(PS);function HS(e){return p("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 40 40",...e,children:[r("circle",{cx:20,cy:20,r:20,fill:"url(#img-checklist_svg__a)"}),r("rect",{width:15,height:15,x:15.666,y:15,fill:"#61CBB5",rx:3}),r("rect",{width:16,height:16,x:10,y:10,fill:"#fff",stroke:"#333",strokeWidth:2,rx:3}),r("path",{stroke:"#333",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"m14 17.4 3 3.6 5-6"}),r("defs",{children:p("linearGradient",{id:"img-checklist_svg__a",x1:20,x2:40,y1:0,y2:40,gradientUnits:"userSpaceOnUse",children:[r("stop",{stopColor:"#F1FAF7"}),r("stop",{offset:1,stopColor:"#E2EDEF"})]})})]})}const $S=B(HS);function US(e){return p("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 40 40",...e,children:[r("circle",{cx:20,cy:20,r:20,fill:"url(#img-facility_svg__a)"}),r("ellipse",{cx:20,cy:31,fill:"#61CBB5",rx:6,ry:2}),r("path",{fill:"#fff",fillRule:"evenodd",stroke:"#333",strokeLinejoin:"round",strokeWidth:2,d:"M20 10c-4.64 0-8 3.232-8 8.053.054 4.137 2.444 7.94 7.267 11.43l.366.26.313.22.056.037.371-.254c4.876-3.39 7.38-7.073 7.61-11.07l.013-.308.004-.302C28 13.61 24.417 10 20 10Z",clipRule:"evenodd"}),r("circle",{cx:20,cy:18,r:3,stroke:"#333",strokeWidth:2}),r("defs",{children:p("linearGradient",{id:"img-facility_svg__a",x1:20,x2:40,y1:0,y2:40,gradientUnits:"userSpaceOnUse",children:[r("stop",{stopColor:"#F1FAF7"}),r("stop",{offset:1,stopColor:"#E2EDEF"})]})})]})}const zS=B(US);function WS(e){return p("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 40 40",...e,children:[r("circle",{cx:20,cy:20,r:20,fill:"url(#img-pending_svg__a)"}),r("rect",{width:15,height:15,x:15.334,y:15,fill:"#FF7979",rx:3}),r("rect",{width:16,height:16,x:10,y:10,fill:"#fff",stroke:"#333",strokeWidth:2,rx:3}),r("path",{fill:"#333",fillRule:"evenodd",d:"M15.5 18a1 1 0 1 1-2 0 1 1 0 0 1 2 0Zm3.5 0a1 1 0 1 1-2 0 1 1 0 0 1 2 0Zm2.5 1a1 1 0 1 0 0-2 1 1 0 0 0 0 2Z",clipRule:"evenodd"}),r("defs",{children:p("linearGradient",{id:"img-pending_svg__a",x1:20,x2:40,y1:0,y2:40,gradientUnits:"userSpaceOnUse",children:[r("stop",{stopColor:"#FAF1F1"}),r("stop",{offset:1,stopColor:"#EFE2E2"})]})})]})}const GS=B(WS);function jS(e){return p("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 40 40",...e,children:[r("circle",{cx:20,cy:20,r:20,fill:"url(#img-resolved_svg__a)"}),r("rect",{width:15,height:15,x:15.334,y:15,fill:"#3299FE",rx:3}),r("rect",{width:16,height:16,x:10,y:10,fill:"#fff",stroke:"#333",strokeWidth:2,rx:3}),r("path",{stroke:"#333",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"m14.5 17.8 2.625 2.7L21.5 16"}),r("defs",{children:p("linearGradient",{id:"img-resolved_svg__a",x1:20,x2:40,y1:0,y2:40,gradientUnits:"userSpaceOnUse",children:[r("stop",{stopColor:"#F1F6FA"}),r("stop",{offset:1,stopColor:"#E2E7EF"})]})})]})}const NS=B(jS);function XS(e){return p("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 40 40",...e,children:[r("circle",{cx:20,cy:20,r:20,fill:"url(#img-scheduled_svg__a)"}),r("rect",{width:17,height:17,x:11.5,y:11.5,fill:"#fff",stroke:"#333",strokeWidth:2,rx:3}),r("rect",{width:2,height:3,x:23.5,y:9,fill:"#333",rx:1}),r("rect",{width:2,height:3,x:14.5,y:9,fill:"#333",rx:1}),r("path",{stroke:"#333",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"m16.5 20.8 2.625 2.7L23.5 19"}),r("path",{fill:"#61CBB5",d:"M12.5 14.5a2 2 0 0 1 2-2h11a2 2 0 0 1 2 2v1h-15v-1Z"}),r("defs",{children:p("linearGradient",{id:"img-scheduled_svg__a",x1:20,x2:40,y1:0,y2:40,gradientUnits:"userSpaceOnUse",children:[r("stop",{stopColor:"#F1FAF7"}),r("stop",{offset:1,stopColor:"#E2EDEF"})]})})]})}const YS=B(XS);function KS(e){return p("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 100 100",...e,children:[r("g",{filter:"url(#img-tutorial01_svg__a)",children:r("rect",{width:74,height:70,x:13.75,y:11.5,fill:"#fff",rx:6})}),r("rect",{width:41,height:4,x:38.75,y:61.5,fill:"#EBEEEF",rx:1}),r("rect",{width:34,height:4,x:38.75,y:67.5,fill:"#EBEEEF",rx:1}),r("rect",{width:13.8,height:13.8,x:20.35,y:59.1,stroke:"#02B585",strokeWidth:1.2,rx:2.4}),r("path",{stroke:"#333",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.7,d:"m23.25 65.356 3.232 3.144 4.768-5"}),r("rect",{width:41,height:4,x:38.75,y:39.5,fill:"#EBEEEF",rx:1}),r("rect",{width:34,height:4,x:38.75,y:46.5,fill:"#EBEEEF",rx:1}),r("rect",{width:13.8,height:13.8,x:20.35,y:38.1,stroke:"#02B585",strokeWidth:1.2,rx:2.4}),r("path",{stroke:"#333",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.7,d:"m23.25 44.356 3.232 3.144 4.768-5"}),r("circle",{cx:79.25,cy:71.5,r:17,fill:"#02B585"}),r("path",{stroke:"#fff",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M72.279 71.461h14M79.278 64.461v14"}),r("path",{fill:"#02B585",d:"M23.158 27.598c-1.836 0-2.959-1.314-2.959-3.633 0-2.32 1.123-3.633 2.96-3.633 1.835 0 2.963 1.323 2.958 3.633.005 2.324-1.123 3.633-2.959 3.633Zm-1.25-3.633c-.005 1.567.498 2.275 1.25 2.275s1.255-.708 1.25-2.275c0-1.543-.498-2.28-1.25-2.285-.747.005-1.245.742-1.25 2.285Zm7.94 3.633c-1.665 0-2.867-.86-2.862-2.012-.005-.879.699-1.592 1.592-1.729v-.048c-.781-.147-1.328-.787-1.328-1.563 0-1.108 1.099-1.914 2.598-1.914 1.489 0 2.587.81 2.587 1.914 0 .781-.561 1.416-1.328 1.563v.048c.88.137 1.592.85 1.592 1.729 0 1.152-1.201 2.012-2.851 2.012Zm-1.114-2.188c-.005.557.45.952 1.114.957.654-.005 1.103-.4 1.103-.957 0-.556-.469-.967-1.103-.967-.65 0-1.118.406-1.114.967Zm.147-2.988c-.005.513.4.879.967.879.556 0 .962-.366.957-.88.005-.502-.396-.858-.957-.858-.572 0-.972.356-.967.859Z"}),r("path",{fill:"#333",d:"M36.81 26.67a.877.877 0 0 1-.878-.889c-.01-.478.395-.869.878-.869.47 0 .884.39.89.87a.905.905 0 0 1-.89.888Zm-.878-4.541c-.01-.479.395-.87.878-.87.47 0 .884.391.89.87a.905.905 0 0 1-.89.889.877.877 0 0 1-.878-.89Zm7.988 5.469c-1.836 0-2.96-1.314-2.96-3.633 0-2.32 1.124-3.633 2.96-3.633 1.836 0 2.964 1.323 2.959 3.633.005 2.324-1.123 3.633-2.96 3.633Zm-1.25-3.633c-.005 1.567.498 2.275 1.25 2.275s1.255-.708 1.25-2.275c0-1.543-.498-2.28-1.25-2.285-.747.005-1.245.742-1.25 2.285Zm8.066 3.633c-1.836 0-2.959-1.314-2.959-3.633 0-2.32 1.123-3.633 2.96-3.633 1.835 0 2.963 1.323 2.958 3.633.005 2.324-1.123 3.633-2.959 3.633Zm-1.25-3.633c-.005 1.567.498 2.275 1.25 2.275s1.255-.708 1.25-2.275c0-1.543-.498-2.28-1.25-2.285-.747.005-1.245.742-1.25 2.285Z"}),r("defs",{children:p("filter",{id:"img-tutorial01_svg__a",width:94,height:90,x:3.75,y:3.5,colorInterpolationFilters:"sRGB",filterUnits:"userSpaceOnUse",children:[r("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),r("feColorMatrix",{in:"SourceAlpha",result:"hardAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"}),r("feOffset",{dy:2}),r("feGaussianBlur",{stdDeviation:5}),r("feColorMatrix",{values:"0 0 0 0 0.141176 0 0 0 0 0.454902 0 0 0 0 0.368627 0 0 0 0.2 0"}),r("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_1234_249"}),r("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_1234_249",result:"shape"})]})})]})}const qS=B(KS);function QS(e){return p("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 100 100",...e,children:[r("g",{filter:"url(#img-tutorial02_svg__a)",children:r("rect",{width:66,height:22,x:14,y:14,fill:"#fff",rx:3})}),r("rect",{width:37,height:3,x:36,y:20,fill:"#EBEEEF",rx:1}),r("rect",{width:31,height:3,x:36,y:26,fill:"#EBEEEF",rx:1}),r("rect",{width:13.8,height:13.8,x:18.6,y:17.6,stroke:"#02B585",strokeWidth:1.2,rx:2.4}),r("path",{stroke:"#333",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.7,d:"M21.5 23.856 24.732 27l4.768-5"}),r("rect",{width:65,height:22,x:14.5,y:43.5,fill:"#DFF9F2",stroke:"#92BBB0",strokeDasharray:2.3,rx:2.5}),r("rect",{width:37,height:3,x:36,y:50,fill:"#BDE2D8",rx:1}),r("rect",{width:31,height:3,x:36,y:56,fill:"#BDE2D8",rx:1}),r("rect",{width:13,height:13,x:19,y:48,fill:"#BDE2D8",rx:3}),r("ellipse",{cx:69.507,cy:84.563,fill:"#A2D7C9",rx:18.666,ry:6.436}),r("path",{fill:"#02B585",fillRule:"evenodd",d:"M84.5 69.344c4.014-3.957 6.5-9.44 6.5-15.501C91 41.779 81.15 32 69 32s-22 9.78-22 21.843c0 6.228 2.625 11.847 6.837 15.826l12.196 13.736a4 4 0 0 0 5.982 0L84.5 69.345Z",clipRule:"evenodd"}),r("circle",{cx:69,cy:53,r:11,fill:"#fff"}),r("defs",{children:p("filter",{id:"img-tutorial02_svg__a",width:82,height:38,x:6,y:8,colorInterpolationFilters:"sRGB",filterUnits:"userSpaceOnUse",children:[r("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),r("feColorMatrix",{in:"SourceAlpha",result:"hardAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"}),r("feOffset",{dy:2}),r("feGaussianBlur",{stdDeviation:4}),r("feColorMatrix",{values:"0 0 0 0 0.141176 0 0 0 0 0.454902 0 0 0 0 0.368627 0 0 0 0.2 0"}),r("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_1234_231"}),r("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_1234_231",result:"shape"})]})})]})}const JS=B(QS);function eI(e){return p("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 101 100",...e,children:[r("g",{filter:"url(#img-tutorial03_svg__a)",children:r("rect",{width:74,height:74,x:10,y:9,fill:"#fff",rx:6})}),r("rect",{width:26,height:11,x:19,y:21,fill:"#D9F4ED",rx:1}),r("rect",{width:40,height:11,x:19,y:35,fill:"#EBEEEF",rx:1}),r("rect",{width:26,height:3,x:19,y:54,fill:"#EBEEEF",rx:1}),p("g",{filter:"url(#img-tutorial03_svg__b)",children:[r("rect",{width:29.947,height:30.785,x:57.976,y:56.848,fill:"#fff",rx:3}),r("path",{fill:"#333",fillRule:"evenodd",d:"M62.254 61.177h7.29v7.376h-7.29v-7.376Zm1.215 6.147h4.86v-4.917h-4.86v4.917Z",clipRule:"evenodd"}),r("path",{fill:"#333",d:"M64.684 63.636h2.43v2.459h-2.43z"}),r("path",{fill:"#333",fillRule:"evenodd",d:"M76.832 68.553v-7.376h7.289v7.376h-7.289Zm1.215-1.23h4.859v-4.916h-4.86v4.917Z",clipRule:"evenodd"}),r("path",{fill:"#333",d:"M79.262 63.636h2.43v2.459h-2.43z"}),r("path",{fill:"#333",fillRule:"evenodd",d:"M69.543 83.304h-7.289V75.93h7.29v7.375Zm-1.215-6.146H63.47v4.917h4.86v-4.917Z",clipRule:"evenodd"}),r("path",{fill:"#333",d:"M64.684 78.387h2.43v2.459h-2.43zM72.58 61.177h3.037v1.229H72.58zM73.49 66.71h1.367v-1.435h1.367v-1.434h-4.1v-1.434h-1.367v2.868h2.734v1.434ZM70.757 66.709h1.215v1.229h-1.215zM76.224 67.938h-1.367v1.537h-4.1v1.536h5.467v-3.073ZM63.773 73.93h1.518v-1.382h-1.518v-2.766h-1.519v5.531h1.519V73.93ZM65.291 69.782h1.215v1.229h-1.215zM70.88 75.313h2.915V73.93h-1.458v-1.382H69.42v-2.766h-1.457v2.766h-1.458v2.765h1.458V73.93h2.915v1.383ZM74.402 71.626h1.215v3.073h-1.215zM75.13 75.929h-4.373v1.475h2.916v4.425h-2.916v1.475h4.374V81.83h2.915v-1.475h-2.915v-4.425Z"}),r("path",{fill:"#333",d:"M70.757 79.001h1.215v1.229h-1.215zM75.617 75.929h1.215v3.073h-1.215zM82.906 79.001h-4.252v4.303h1.418v-2.868h2.834V79Z"}),r("path",{fill:"#333",d:"M81.084 82.075h3.037v1.229h-3.037zM82.906 76.543h1.215v1.229h-1.215zM78.35 77.772h1.519V73.47h-3.037v1.434h1.519v2.868ZM81.205 71.318h-1.457v-1.536H78.29v1.536h-1.458v1.537h5.831v-1.537h1.458v-1.536h-2.916v1.536ZM81.084 73.47h3.037v1.229h-3.037z"})]}),r("path",{fill:"url(#img-tutorial03_svg__c)",d:"M54.4 59a6 6 0 0 1 6-6h25.105a6 6 0 0 1 6 6v12.548H54.4V59Z",opacity:.803}),r("path",{stroke:"#02B585",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M62.563 53H59.4a5 5 0 0 0-5 5v3.26M62.563 91H59.4a5 5 0 0 1-5-5v-3.26M83.788 53h3.164a5 5 0 0 1 5 5v3.26M83.79 91h3.163a5 5 0 0 0 5-5v-3.26"}),r("path",{stroke:"#fff",strokeWidth:1.2,d:"M54.176 71.321H91.73"}),p("defs",{children:[p("filter",{id:"img-tutorial03_svg__a",width:94,height:94,x:0,y:1,colorInterpolationFilters:"sRGB",filterUnits:"userSpaceOnUse",children:[r("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),r("feColorMatrix",{in:"SourceAlpha",result:"hardAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"}),r("feOffset",{dy:2}),r("feGaussianBlur",{stdDeviation:5}),r("feComposite",{in2:"hardAlpha",operator:"out"}),r("feColorMatrix",{values:"0 0 0 0 0.141176 0 0 0 0 0.454902 0 0 0 0 0.368627 0 0 0 0.2 0"}),r("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_1234_211"}),r("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_1234_211",result:"shape"})]}),p("filter",{id:"img-tutorial03_svg__b",width:49.948,height:50.785,x:47.976,y:48.848,colorInterpolationFilters:"sRGB",filterUnits:"userSpaceOnUse",children:[r("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),r("feColorMatrix",{in:"SourceAlpha",result:"hardAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"}),r("feOffset",{dy:2}),r("feGaussianBlur",{stdDeviation:5}),r("feColorMatrix",{values:"0 0 0 0 0.141176 0 0 0 0 0.454902 0 0 0 0 0.368627 0 0 0 0.2 0"}),r("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_1234_211"}),r("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_1234_211",result:"shape"})]}),p("linearGradient",{id:"img-tutorial03_svg__c",x1:47.542,x2:47.542,y1:46.144,y2:71.548,gradientUnits:"userSpaceOnUse",children:[r("stop",{stopColor:"#02B585",stopOpacity:.33}),r("stop",{offset:1,stopColor:"#9EE1CF",stopOpacity:.288})]})]})]})}const tI=B(eI);function iI(e){return p("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 48 48",...e,children:[r("rect",{width:48,height:48,fill:"#D8F2EB",opacity:.6,rx:16}),r("path",{fill:"#8DE8D1",d:"M13 28.4h11v13l-11-4v-9Z"}),r("path",{fill:"#4DC9AA",d:"M35 28.4H24v13l11-4v-9Z"}),r("path",{fill:"#48CEAD",d:"M13.2 25.2 24 23.8v4.6l-10.8-3.2Z"}),r("path",{fill:"#8CEDD5",d:"M34.8 25.2 24 23.8v4.6l10.8-3.2Z"}),r("path",{fill:"url(#img-upgrade_svg__a)",d:"M13 7.6h22l-5.6 20.8H18.6L13 7.6Z",opacity:.6}),r("path",{fill:"#77D5BB",d:"M21.024 10.72a.2.2 0 0 1 .351 0l.928 1.697a.199.199 0 0 0 .08.08l1.696.927a.2.2 0 0 1 0 .351l-1.696.928a.199.199 0 0 0-.08.08l-.928 1.696a.2.2 0 0 1-.35 0l-.928-1.696a.199.199 0 0 0-.08-.08l-1.696-.928a.2.2 0 0 1 0-.35l1.696-.928a.199.199 0 0 0 .08-.08l.927-1.696ZM26.825 17.12a.2.2 0 0 1 .35 0l.645 1.18a.201.201 0 0 0 .08.08l1.18.644a.2.2 0 0 1 0 .351l-1.18.645a.201.201 0 0 0-.08.08l-.644 1.179a.2.2 0 0 1-.351 0l-.645-1.18a.201.201 0 0 0-.08-.079l-1.18-.645a.2.2 0 0 1 0-.35l1.18-.646a.201.201 0 0 0 .08-.08l.645-1.178Z"}),r("path",{fill:"#C8FEF0",d:"M13.2 25.2 24 28.4l-3.2 4-10.4-3.6 2.8-3.6Z"}),r("path",{fill:"#A1F9E3",d:"M34.8 25.2 24 28.4l3.2 4 10.4-3.6-2.8-3.6Z"}),r("defs",{children:p("linearGradient",{id:"img-upgrade_svg__a",x1:24,x2:24,y1:7.6,y2:28.4,gradientUnits:"userSpaceOnUse",children:[r("stop",{stopColor:"#64DFC0",stopOpacity:0}),r("stop",{offset:.989,stopColor:"#64DFC0"})]})})]})}const nI=B(iI),rI=Object.freeze(Object.defineProperty({__proto__:null,SubtractIcon:mb,AddIcon:wb,AdminIcon:_b,AlbumIcon:Mb,AlertIcon:Sb,BellIcon:Cb,CalendarIcon:Rb,CameraIcon:Fb,CancelIcon:Eb,CheckActiveIcon:Db,CheckDefaultIcon:Vb,CheckIcon:Ob,CheckboxIcon:$b,ChecklistIcon:zb,CloseIcon:Gb,CompletedIcon:Nb,CopyIcon:Yb,CrewIcon:qb,DeleteIcon:Jb,DownArrowSolidIcon:tM,DownArrowIcon:nM,DownloadIcon:oM,DragIcon:lM,DrawerIcon:cM,EditIcon:hM,EmailIcon:uM,ErrorIcon:gM,ExcelIcon:mM,FilterIcon:wM,FingerIcon:_M,GradeBadgeIcon:MM,HelpCenterIcon:SM,HelpIcon:CM,HomeIcon:RM,InfoMediumIcon:FM,InfoIcon:EM,IssueIcon:DM,IssuesIcon:VM,LanguageIcon:OM,LeftArrowIcon:$M,LinkIcon:zM,ListEditIcon:GM,LogoutIcon:NM,MemoIcon:YM,MenuIcon:qM,MobileviewIcon:JM,MoreIcon:tZ,NewBellIcon:nZ,NewIssueIcon:oZ,NewReportIcon:lZ,NewTabIcon:cZ,NextIcon:hZ,NoticeLineIcon:uZ,NoticeIcon:gZ,OverviewIcon:mZ,PasswordIcon:wZ,PhoneIcon:_Z,PlaceIcon:MZ,QrcodeIcon:SZ,RadioIcon:CZ,ReadChecklistIcon:RZ,ReadIssueIcon:FZ,ReadReportIcon:EZ,RefreshIcon:DZ,RemoveIcon:VZ,RightArrowIcon:OZ,SearchIcon:$Z,SectionIcon:zZ,SettingFillIcon:GZ,SettingIcon:NZ,SheetIcon:YZ,SliderIcon:qZ,StatisticActiveIcon:JZ,StatisticDefaultIcon:tS,StatisticsIcon:nS,TextIcon:oS,TimeIcon:lS,TrashIcon:cS,TutorialCompletedIcon:hS,TutorialIcon:uS,UpArrowSolidIcon:gS,UpArrowIcon:mS,UserIcon:wS,ViewOffIcon:_S,ViewOnIcon:MS,WorkerIcon:SS,YesnoIcon:CS,EnglishIllustration:RS,KoreanIllustration:FS,AlertIllustration:ES,AssigneesIllustration:DS,AverageIllustration:VS,CheckedFacilityIllustration:OS,ChecklistIllustration:$S,FacilityIllustration:zS,PendingIllustration:GS,ResolvedIllustration:NS,ScheduledIllustration:YS,Tutorial01Illustration:qS,Tutorial02Illustration:JS,Tutorial03Illustration:tI,UpgradeIllustration:nI,isShoplIcon:gb,createIcon:B},Symbol.toStringTag,{value:"Module"}));M.exports.createContext({domain:"SHOPL",handleToggleTheme:()=>{}});const Wn=(e,t)=>{const i=t!=null?t:q5(),n=rI[e],o=G_[e];return i==="hada"?n:o},oI=(e,t,i)=>t&&e<t?String(t):i&&e>i?String(i):String(e);M.exports.forwardRef(({onFocus:e,onBlur:t,onChange:i,onClear:n,defaultValue:o,value:s,isError:l,disabled:a,type:c,maxLength:d,min:h,max:f,className:u,width:g,borderRadius:v,customNumberInputHeight:m,...w},_)=>{const[Z,b]=M.exports.useState(""),[I,A]=M.exports.useState(!1),[D,k]=M.exports.useState(c),[L,O]=M.exports.useState(!1),U=M.exports.useId(),N=Dt.useRef(null),H=Tr(_,N),P=M.exports.useCallback(W=>typeof W!="number"?typeof W=="string"?W:W.join(""):String(W),[]),E=M.exports.useCallback(W=>d&&W.length>d?W.slice(0,d):W,[d]),S=()=>{O(!0)},F=()=>{O(!1)},T=W=>{e&&e(W),A(!0)},$=W=>{t&&t(W),A(!1)},C=W=>{i&&i(W);const ie=E(W.target.value);if(D==="number"){const te=Number(ie),ge=Number(h),ee=Number(f),Me=oI(te,ge,ee);b(Me);return}b(ie)},X=()=>{n&&n(),N.current&&(b(""),N.current.value="")},z=()=>{k(D==="password"?"text":"password")};return M.exports.useEffect(()=>{if(o!==void 0){const W=P(o),ie=E(W);b(ie)}},[P,o,d,E]),M.exports.useEffect(()=>{var W;if(s!==void 0){const ie=P(s),te=E(ie);(W=N.current)!=null&&W.value&&(N.current.value=te),b(te)}},[P,d,E,s]),M.exports.useEffect(()=>{k(c)},[c]),p(U1,{htmlFor:U,isFocused:I,disabled:a,isError:l,isHovered:L,onMouseEnter:S,onMouseLeave:F,type:D,width:g,height:"40px",maxHeight:"40px","data-shoplflow":"input",borderRadius:v,customNumberInputHeight:m,children:[r(fb,{onFocus:T,onBlur:$,onChange:C,maxLength:d,disabled:a,value:Z,type:D,id:U,ref:H,className:"body1_400"+(u?` ${u}`:""),...w}),D!=="number"&&p(ub,{children:[d&&I&&r(i5,{currentLength:String(Z).length,maxLength:d}),I&&Boolean(String(Z).length>0)&&r(Qi,{sizeVar:"S",onClick:X,styleVar:"GHOST",children:r(X0,{iconSource:Wn("DeleteIcon"),color:"neutral350"})}),c==="password"&&r(Qi,{sizeVar:"S",onClick:z,styleVar:"GHOST",children:r(X0,{color:"neutral600",iconSource:Wn(D==="password"?"ViewOffIcon":"ViewOnIcon")})})]})]})});const sI=V.div`
|
|
877
|
+
`,i5=({currentLength:e,maxLength:t})=>p(pb,{children:[r(xe,{typography:"caption_400",color:"neutral400",children:e}),r(xe,{typography:"caption_400",color:"neutral350",children:"/"}),r(xe,{typography:"caption_400",color:"neutral350",children:t})]}),n5=Symbol("$$shopl.isShoplIcon");function gb(e){return typeof e=="function"&&e[n5]===!0}function B(e){return e[n5]=!0,e}function vb(e){return r("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",...e,children:r("path",{fill:"#D9F4ED",fillRule:"evenodd",d:"M2.5 7a4.5 4.5 0 0 0 4.303-5.82A11.953 11.953 0 0 1 12 0c6.627 0 12 5.373 12 12s-5.373 12-12 12S0 18.627 0 12c0-1.862.424-3.624 1.18-5.197A4.5 4.5 0 0 0 2.5 7Z",clipRule:"evenodd"})})}const mb=B(vb);function xb(e){return r("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 20 20",...e,children:r("path",{fill:"#555",fillRule:"evenodd",d:"M10 3a1 1 0 0 1 .993.883L11 4v5h5a1 1 0 0 1 .117 1.993L16 11h-5v5a1 1 0 0 1-1.993.117L9 16v-5H4a1 1 0 0 1-.117-1.993L4 9h5V4a1 1 0 0 1 1-1Z",clipRule:"evenodd"})})}const wb=B(xb);function yb(e){return p("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 20 20",...e,children:[r("rect",{width:18,height:18,x:1,y:1,fill:"#FB0",opacity:.2,rx:6}),r("path",{fill:"#FFB600",fillRule:"evenodd",d:"M10.468 6.248a.5.5 0 0 0-.936 0L7.72 11.08 5.916 8.374A.5.5 0 0 0 5 8.65V13a2 2 0 0 0 2 2h6a2 2 0 0 0 2-2V8.65a.5.5 0 0 0-.916-.277L12.28 11.08l-1.812-4.832Z",clipRule:"evenodd"})]})}const _b=B(yb);function bb(e){return r("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 20 20",...e,children:r("path",{fill:"#999",fillRule:"evenodd",d:"M2.222 3.222a1 1 0 0 1 1-1h13.556a1 1 0 0 1 1 1v13.556a1 1 0 0 1-1 1H3.222a1 1 0 0 1-1-1V3.222Zm5.185 5.482a1.296 1.296 0 1 0 0-2.593 1.296 1.296 0 0 0 0 2.593Zm7.926 7.13H4.167l3.16-3.689a1 1 0 0 1 1.491-.031L10 13.38l3.092-3.704a1 1 0 0 1 1.57.044l.974 1.31a1 1 0 0 1 .197.596v3.706a.5.5 0 0 1-.5.5Z",clipRule:"evenodd"})})}const Mb=B(bb);function Zb(e){return r("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 20 20",...e,children:r("path",{fill:"#333",fillRule:"evenodd",d:"M10 18a8 8 0 1 0 0-16 8 8 0 0 0 0 16ZM9 6.2c0-.11.09-.2.2-.2h1.6c.11 0 .2.09.2.2v4.6a.2.2 0 0 1-.2.2H9.2a.2.2 0 0 1-.2-.2V6.2Zm2 6.8a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z",clipRule:"evenodd"})})}const Sb=B(Zb);function Ib(e){return r("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",...e,children:r("path",{fill:"#8092AA",fillRule:"evenodd",d:"M8.211 20.598c1.155.667 2.623.416 3.72-.51.284-.24.242-.667-.045-.832l-4.35-2.512c-.287-.165-.678.012-.743.378-.254 1.413.264 2.81 1.418 3.476ZM14.559 3.094c.586-.234 1.138.01 1.49.214.354.204.84.56.932 1.184.044.301-.025.553-.09.718a2.09 2.09 0 0 1-.098.21c1.724 1.732 2.35 4.35 1.113 6.491l-.855 1.482c-.434.75-.49 1.71-.077 2.658l.002.006c.247.578.245 1.247-.086 1.821-.633 1.097-2.014 1.232-2.966.683l-10.02-5.786c-.953-.55-1.525-1.813-.892-2.91.33-.57.906-.91 1.526-.984h.006c1.036-.118 1.84-.647 2.272-1.397l.856-1.482C8.908 3.86 11.487 3.093 13.85 3.72c.036-.058.081-.125.132-.189.11-.14.294-.325.577-.437Zm-.107 2.982-.535-.225c-1.85-.778-3.74-.188-4.513 1.151l-.856 1.482c-.78 1.352-2.174 2.2-3.773 2.383a.17.17 0 0 0-.022.004l.003.01a.32.32 0 0 0 .148.162l10.02 5.786a.32.32 0 0 0 .215.046l.009-.002a.203.203 0 0 0-.01-.028c-.638-1.47-.6-3.101.18-4.452l.856-1.482c.773-1.34.339-3.272-1.26-4.484l-.462-.351Zm.718 10.788-.002.002.002-.002ZM4.75 10.848v.003-.003Z",clipRule:"evenodd"})})}const Cb=B(Ib);function Ab(e){return r("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 20 20",...e,children:r("path",{fill:"#555",fillRule:"evenodd",d:"M5 3a1 1 0 0 1 2 0v1h6V3a1 1 0 1 1 2 0v1a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2V3Zm2 7a1 1 0 1 0 0-2 1 1 0 0 0 0 2Zm0 3a1 1 0 1 0 0-2 1 1 0 0 0 0 2Zm3 0a1 1 0 1 0 0-2 1 1 0 0 0 0 2Zm4-1a1 1 0 1 1-2 0 1 1 0 0 1 2 0Zm-3-3a1 1 0 1 1-2 0 1 1 0 0 1 2 0Zm2 1a1 1 0 1 0 0-2 1 1 0 0 0 0 2Z",clipRule:"evenodd"})})}const Rb=B(Ab);function kb(e){return r("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 20 20",...e,children:r("path",{fill:"#02B585",fillRule:"evenodd",d:"M7 3a1 1 0 0 0-1 1v1h8V4a1 1 0 0 0-1-1H7ZM5 6a3 3 0 0 0-3 3v5a3 3 0 0 0 3 3h10a3 3 0 0 0 3-3V9a3 3 0 0 0-3-3H5Zm0 2a1 1 0 1 0 0 2 1 1 0 0 0 0-2Zm8.5 3.5a3.5 3.5 0 1 0-7 0 3.5 3.5 0 0 0 7 0Zm-5.5 0a2 2 0 1 1 4 0 2 2 0 0 1-4 0Z",clipRule:"evenodd"})})}const Fb=B(kb);function Bb(e){return p("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 20 20",...e,children:[r("circle",{cx:10,cy:10,r:8,fill:"#CCC"}),r("path",{fill:"#fff",fillRule:"evenodd",d:"M6.142 7.342a.2.2 0 0 1 0-.283l.917-.917a.2.2 0 0 1 .283 0l2.664 2.664 2.664-2.664a.2.2 0 0 1 .283 0l.917.917a.2.2 0 0 1 0 .283l-2.664 2.664 2.653 2.653a.2.2 0 0 1 0 .283l-.917.917a.2.2 0 0 1-.283 0l-2.653-2.653-2.653 2.653a.2.2 0 0 1-.283 0l-.917-.917a.2.2 0 0 1 0-.283l2.653-2.653-2.664-2.664Z",clipRule:"evenodd"})]})}const Eb=B(Bb);function Lb(e){return p("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",...e,children:[r("circle",{cx:12,cy:12,r:9,fill:"#02B585",stroke:"#333",strokeWidth:2}),r("path",{stroke:"#333",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"m8 11 4 4L22 5"})]})}const Db=B(Lb);function Tb(e){return p("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",...e,children:[r("circle",{cx:12,cy:12,r:9,stroke:"#999",strokeWidth:2}),r("path",{stroke:"#999",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"m8 11 4 4L22 5"})]})}const Vb=B(Tb);function Pb(e){return r("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 20 20",...e,children:r("path",{fill:"#555",fillRule:"evenodd",d:"M15.288 5.298a1 1 0 0 1 1.506 1.31l-.082.094-7.895 8a1 1 0 0 1-1.338.078l-.094-.087-4.106-4.266a1 1 0 0 1 1.349-1.472l.093.085 3.393 3.527 7.174-7.27Z",clipRule:"evenodd"})})}const Ob=B(Pb);function Hb(e){return r("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 20 20",...e,children:r("path",{fill:"#555",fillRule:"evenodd",d:"M5 2h9.75a3 3 0 0 1 3 3v9.75a3 3 0 0 1-3 3H5a3 3 0 0 1-3-3V5a3 3 0 0 1 3-3ZM1 5a4 4 0 0 1 4-4h9.75a4 4 0 0 1 4 4v9.75a4 4 0 0 1-4 4H5a4 4 0 0 1-4-4V5Zm13.653 2.104a.5.5 0 0 0-.707-.708L8.3 12.043 5.653 9.396a.5.5 0 1 0-.707.708l3 3a.5.5 0 0 0 .707 0l6-6Z",clipRule:"evenodd"})})}const $b=B(Hb);function Ub(e){return p("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 20 20",...e,children:[r("rect",{width:11.667,height:11.667,x:3.75,y:4.167,fill:"#555",opacity:.2,rx:5.833}),r("path",{fill:"#555",fillRule:"evenodd",d:"M9.583 1.125a8.875 8.875 0 1 0 7.35 3.899l2.905-2.905a.542.542 0 0 0-.766-.766l-2.807 2.806a8.854 8.854 0 0 0-6.682-3.034Zm5.914 3.802a7.792 7.792 0 1 0 .653.879l-6.312 6.313a.542.542 0 0 1-.777-.012L5.855 8.705a.542.542 0 0 1 .789-.743l2.823 2.996 6.03-6.03Z",clipRule:"evenodd"})]})}const zb=B(Ub);function Wb(e){return r("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 20 20",...e,children:r("path",{fill:"#555",fillRule:"evenodd",d:"m4.613 3.21.094.083L10 8.585l5.293-5.292a1 1 0 0 1 1.497 1.32l-.083.094L11.415 10l5.292 5.293a1 1 0 0 1-1.32 1.497l-.094-.083L10 11.415l-5.293 5.292a1 1 0 0 1-1.497-1.32l.083-.094L8.585 10 3.293 4.707A1 1 0 0 1 4.51 3.14l.102.07Z",clipRule:"evenodd"})})}const Gb=B(Wb);function jb(e){return p("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 20 20",...e,children:[r("rect",{width:14.5,height:14.5,x:2.75,y:2.75,stroke:"#333",strokeLinejoin:"round",strokeWidth:1.5,rx:2.25}),r("path",{stroke:"#3299FE",strokeLinecap:"round",strokeWidth:1.5,d:"m6.5 9.75 2.146 2.146a.5.5 0 0 0 .708 0L13.5 7.75"})]})}const Nb=B(jb);function Xb(e){return r("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 20 20",...e,children:r("path",{fill:"#999",fillRule:"evenodd",d:"M16.244 4.856A1.75 1.75 0 0 0 14.5 3.25h-6l-.144.006A1.75 1.75 0 0 0 6.75 5v.75h1.5V5l.007-.057A.25.25 0 0 1 8.5 4.75h6l.057.007A.25.25 0 0 1 14.75 5v7l-.007.057a.25.25 0 0 1-.243.193h-.25v1.5h.25l.143-.006A1.75 1.75 0 0 0 16.25 12V5l-.006-.144ZM11.75 6.25a1.75 1.75 0 0 1 1.744 1.606L13.5 8v7a1.75 1.75 0 0 1-1.607 1.744l-.143.006h-6a1.75 1.75 0 0 1-1.744-1.607L4 15V8a1.75 1.75 0 0 1 1.606-1.744l.144-.006h6Zm0 1.5h-6a.25.25 0 0 0-.243.193L5.5 8v7a.25.25 0 0 0 .193.243l.057.007h6a.25.25 0 0 0 .243-.193L12 15V8a.25.25 0 0 0-.193-.243l-.057-.007Z",clipRule:"evenodd"})})}const Yb=B(Xb);function Kb(e){return p("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 20 20",...e,children:[r("rect",{width:18,height:18,x:1,y:1,fill:"#F7F9FD",rx:4}),r("path",{fill:"#8092AA",fillRule:"evenodd",d:"M10 8.5a2 2 0 1 0 0-4 2 2 0 0 0 0 4Zm-.833 1A3.667 3.667 0 0 0 5.5 13.167C5.5 14.179 6.32 15 7.333 15h5.334c1.012 0 1.833-.82 1.833-1.833A3.667 3.667 0 0 0 10.833 9.5H9.167Z",clipRule:"evenodd"})]})}const qb=B(Kb);function Qb(e){return r("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 20 20",...e,children:r("path",{fill:"#CCC",fillRule:"evenodd",d:"M10 18a8 8 0 1 0 0-16 8 8 0 0 0 0 16ZM6.142 7.059a.2.2 0 0 0 0 .283l2.664 2.664-2.653 2.653a.2.2 0 0 0 0 .283l.917.917a.2.2 0 0 0 .283 0l2.653-2.653 2.653 2.653a.2.2 0 0 0 .283 0l.917-.917a.2.2 0 0 0 0-.283l-2.653-2.653 2.664-2.664a.2.2 0 0 0 0-.283l-.917-.917a.2.2 0 0 0-.283 0l-2.664 2.664-2.664-2.664a.2.2 0 0 0-.283 0l-.917.917Z",clipRule:"evenodd"})})}const Jb=B(Qb);function eM(e){return r("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 12 12",...e,children:r("path",{fill:"#999",fillRule:"evenodd",d:"M3.04 3.5a.5.5 0 0 0-.39.812l2.96 3.7c.2.25.58.25.78 0l2.96-3.7a.5.5 0 0 0-.39-.812H3.04Z",clipRule:"evenodd"})})}const tM=B(eM);function iM(e){return r("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 20 20",...e,children:r("path",{fill:"#555",fillRule:"evenodd",d:"M3.267 6.27a.906.906 0 0 1 1.19-.089l.102.09L10 11.77l5.441-5.5a.906.906 0 0 1 1.19-.09l.102.09a.93.93 0 0 1 .088 1.201l-.088.104-6.087 6.154a.906.906 0 0 1-1.19.089l-.102-.09-6.087-6.153a.93.93 0 0 1 0-1.306Z",clipRule:"evenodd"})})}const nM=B(iM);function rM(e){return r("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 20 20",...e,children:r("path",{fill:"#555",fillRule:"evenodd",d:"M15 16a1 1 0 1 1 0 2H5a1 1 0 1 1 0-2h10ZM10 2a1 1 0 0 1 1 1v8.585l3.293-3.292a1 1 0 0 1 1.32-.083l.094.083a1 1 0 0 1 .083 1.32l-.083.094-5 5a1 1 0 0 1-1.32.083l-.094-.083-5-5a1 1 0 0 1 1.32-1.497l.094.083L9 11.585V3a1 1 0 0 1 1-1Z",clipRule:"evenodd"})})}const oM=B(rM);function sM(e){return r("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 20 20",...e,children:r("path",{fill:"#CDD6E4",fillRule:"evenodd",d:"M0 6a1 1 0 0 1 1-1h18a1 1 0 1 1 0 2H1a1 1 0 0 1-1-1Zm0 4a1 1 0 0 1 1-1h18a1 1 0 1 1 0 2H1a1 1 0 0 1-1-1Zm1 3a1 1 0 1 0 0 2h18a1 1 0 1 0 0-2H1Z",clipRule:"evenodd"})})}const lM=B(sM);function aM(e){return r("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",...e,children:r("path",{fill:"#333",fillRule:"evenodd",d:"M3 6a1 1 0 0 1 1-1h16a1 1 0 1 1 0 2H4a1 1 0 0 1-1-1Zm0 6a1 1 0 0 1 1-1h16a1 1 0 1 1 0 2H4a1 1 0 0 1-1-1Zm1 5a1 1 0 1 0 0 2h16a1 1 0 1 0 0-2H4Z",clipRule:"evenodd"})})}const cM=B(aM);function dM(e){return r("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 20 20",...e,children:r("path",{fill:"#555",fillRule:"evenodd",d:"m15.65 3.447.89.893c.296.298.46.695.46 1.117 0 .421-.164.818-.46 1.116l-1.091 1.094-3.116-3.126 1.09-1.094c.595-.596 1.631-.596 2.226 0ZM3.943 13.05l7.716-7.716 3.007 3.007-7.717 7.715a.304.304 0 0 1-.14.08l-3.433.856a.303.303 0 0 1-.368-.368l.855-3.433a.307.307 0 0 1 .08-.14Z",clipRule:"evenodd"})})}const hM=B(dM);function fM(e){return r("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 20 20",...e,children:r("path",{fill:"#333",fillRule:"evenodd",d:"M2 5a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V5Zm1.5 2.65V15a.5.5 0 0 0 .41.492L4 15.5h12a.5.5 0 0 0 .492-.41L16.5 15V7.728l-6.134 3.427a.75.75 0 0 1-.637.044l-.101-.048L3.5 7.65Zm0-1.728 6.505 3.716L16.5 6.01V5a.5.5 0 0 0-.41-.492L16 4.5H4a.5.5 0 0 0-.492.41L3.5 5v.922Z",clipRule:"evenodd"})})}const uM=B(fM);function pM(e){return r("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 20 20",...e,children:r("path",{fill:"#555",fillRule:"evenodd",d:"M10 4a1.41 1.41 0 0 0-1.406 1.497l.344 5.505a1.064 1.064 0 0 0 2.124 0l.345-5.505A1.41 1.41 0 0 0 10 4Zm0 11.5a1.25 1.25 0 1 0 0-2.5 1.25 1.25 0 0 0 0 2.5Z",clipRule:"evenodd"})})}const gM=B(pM);function vM(e){return p("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 20 20",...e,children:[r("rect",{width:14.5,height:14.5,x:2.75,y:2.75,stroke:"#555",strokeWidth:1.5,rx:3.25}),r("path",{fill:"#555",d:"M4 6h12v2H4zM4 11h12v2H4z"}),r("path",{fill:"#555",d:"M9 4v12H7V4z"})]})}const mM=B(vM);function xM(e){return r("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 20 20",...e,children:r("path",{fill:"#555",d:"M4.33 6 8 11.311v6.174c0 .41.447.655.781.428l2.772-1.218c.28-.19.447-.512.447-.855V11.31L15.67 6H4.33ZM3.64 5h12.72l.928-1.344c.51-.675.04-1.656-.794-1.656H3.506c-.834 0-1.305.98-.794 1.656L3.64 5Z"})})}const wM=B(xM);function yM(e){return p("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 28 28",...e,children:[r("path",{fill:"#fff",fillRule:"evenodd",d:"M15.575 8.5h9.175a2.25 2.25 0 0 1 0 4.5h-2.967a2.25 2.25 0 0 1-1.211 3.061 2.25 2.25 0 0 1-.975 3.406 2.25 2.25 0 0 1-1.847 3.535h-9.5a2.25 2.25 0 0 1-2.235-2.51A2.528 2.528 0 0 1 6 20.216v-9.331a2.09 2.09 0 0 1 .992-2.125l9.114-5.441a2.088 2.088 0 1 1 2.14 3.586L15.577 8.5Z",clipRule:"evenodd"}),r("path",{fill:"#333",d:"m15.575 8.5-.384-.644-2.335 1.394h2.72V8.5Zm6.208 4.5v-.75h-1.188l.51 1.073.678-.323Zm-1.211 3.062-.274-.699-.903.355.57.785.607-.441Zm-.975 3.406-.283-.695-.87.354.538.77.615-.43ZM6.015 20.492l.745.086.01-.084-.01-.084-.745.082ZM6 10.892l-.75-.001H6Zm0-.007.75.001v-.06l-.01-.06-.74.12Zm.992-2.125.384.644-.384-.644Zm9.114-5.441-.385-.644.385.644ZM19 4.094l-.655.365.655-.365Zm-.753 2.811-.385-.644.385.644Zm6.503.845h-9.175v1.5h9.175v-1.5Zm3 3a3 3 0 0 0-3-3v1.5a1.5 1.5 0 0 1 1.5 1.5h1.5Zm-3 3a3 3 0 0 0 3-3h-1.5a1.5 1.5 0 0 1-1.5 1.5v1.5Zm-2.967 0h2.967v-1.5h-2.967v1.5Zm.967.216c0-.46-.104-.897-.29-1.288l-1.355.645c.093.194.145.412.145.643h1.5Zm-1.904 2.794a3 3 0 0 0 1.904-2.794h-1.5a1.5 1.5 0 0 1-.952 1.398l.548 1.396Zm.904.623a2.99 2.99 0 0 0-.572-1.762l-1.213.882c.18.247.285.55.285.88h1.5Zm-1.87 2.78a3 3 0 0 0 1.87-2.78h-1.5a1.5 1.5 0 0 1-.936 1.39l.565 1.39Zm-.898-.266c.169.242.268.537.268.856h1.5a2.99 2.99 0 0 0-.538-1.714l-1.23.858Zm.268.856a1.5 1.5 0 0 1-1.5 1.5v1.5a3 3 0 0 0 3-3h-1.5Zm-1.5 1.5h-9.5v1.5h9.5v-1.5Zm-9.5 0a1.5 1.5 0 0 1-1.5-1.5h-1.5a3 3 0 0 0 3 3v-1.5Zm-1.5-1.5c0-.06.003-.118.01-.175l-1.49-.172c-.013.114-.02.23-.02.347h1.5Zm-1.5-.537c0 .12.007.24.02.358l1.49-.164a1.777 1.777 0 0 1-.01-.194h-1.5Zm0-2.833v2.833h1.5v-2.833h-1.5Zm0-3.417v3.417h1.5v-3.417h-1.5Zm0-3.074v3.074h1.5v-3.074h-1.5Zm0-.008v.007l1.5.002v-.007l-1.5-.002Zm1.357-2.768a2.84 2.84 0 0 0-1.347 2.888l1.48-.238a1.34 1.34 0 0 1 .636-1.362l-.769-1.288Zm9.114-5.441L6.607 8.116l.77 1.288 9.113-5.441-.769-1.288Zm3.934 1.053a2.839 2.839 0 0 0-3.934-1.053l.769 1.288a1.339 1.339 0 0 1 1.855.496l1.31-.73ZM18.63 7.55a2.839 2.839 0 0 0 1.024-3.82l-1.31.73c.353.633.14 1.43-.483 1.802l.77 1.288ZM15.96 9.144 18.63 7.55l-.769-1.288-2.671 1.595.769 1.288Z"}),r("rect",{width:4,height:14,y:9,fill:"#333",rx:1})]})}const _M=B(yM);function bM(e){return r("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 20 20",...e,children:r("path",{fill:"#fff",fillRule:"evenodd",d:"M13.675 3.32a.2.2 0 0 0-.35 0L12.29 5.212a.2.2 0 0 1-.08.08l-1.89 1.034a.2.2 0 0 0 0 .35l1.89 1.034a.2.2 0 0 1 .08.08l1.034 1.89a.2.2 0 0 0 .35 0l1.034-1.89a.2.2 0 0 1 .08-.08l1.89-1.034a.2.2 0 0 0 0-.35L14.79 5.29a.2.2 0 0 1-.08-.08l-1.034-1.89Zm-5.5 4a.2.2 0 0 0-.35 0L6.26 10.18a.2.2 0 0 1-.08.08l-2.86 1.565a.2.2 0 0 0 0 .35l2.86 1.565a.2.2 0 0 1 .08.08l1.565 2.86a.2.2 0 0 0 .35 0l1.565-2.86a.2.2 0 0 1 .08-.08l2.86-1.565a.2.2 0 0 0 0-.35L9.82 10.26a.2.2 0 0 1-.08-.08L8.175 7.32Z",clipRule:"evenodd"})})}const MM=B(bM);function ZM(e){return p("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 20 20",...e,children:[r("path",{fill:"#02B585",fillRule:"evenodd",d:"M10 3c2.835 0 5.2 2.137 5.833 5h.667a3 3 0 1 1 0 6h-.434c-.623 1.29-2.324 2.2-4.358 2.39-.273.37-.713.61-1.208.61h-1a1.5 1.5 0 0 1 0-3h1a1.5 1.5 0 0 1 1.396.95c1.3-.183 2.324-.716 2.77-1.35V9.537c0-2.862-2.099-5.166-4.666-5.166-2.505 0-4.564 2.193-4.663 4.958l-.004.208V14H3.5a3 3 0 1 1 0-6h.667C4.8 5.137 7.165 3 10 3Z",clipRule:"evenodd"}),r("circle",{cx:11.8,cy:9.887,r:.9,fill:"#02B585"}),r("circle",{cx:8.2,cy:9.887,r:.9,fill:"#02B585"})]})}const SM=B(ZM);function IM(e){return r("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 20 20",...e,children:r("path",{fill:"#CCC",fillRule:"evenodd",d:"M10 18a8 8 0 1 0 0-16 8 8 0 0 0 0 16Zm.913-5.665v-.663c0-.468.026-.494.481-.897.845-.741 1.443-1.287 1.443-2.431 0-1.443-1.209-2.6-2.769-2.6-2.236 0-2.86 2.119-2.86 2.119l1.326.611s.416-1.248 1.534-1.248c.65 0 1.209.507 1.209 1.118 0 .611-.26.858-.741 1.274l-.238.203c-.669.568-.932.792-.932 1.552v.962h1.547Zm-.767 2.821a1.02 1.02 0 0 0 1.027-1.027 1.02 1.02 0 0 0-1.027-1.027 1.02 1.02 0 0 0-1.027 1.027 1.02 1.02 0 0 0 1.027 1.027Z",clipRule:"evenodd",opacity:.8})})}const CM=B(IM);function AM(e){return r("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 28 28",...e,children:r("path",{fill:"#333",fillRule:"evenodd",d:"m14.555 4.189 7.554 5.66c.557.416.891 1.118.891 1.87v10.034c0 1.24-.895 2.247-2 2.247h-4a1 1 0 0 1-1-1v-4.619c0-1.24-.895-2.247-2-2.247-1.054 0-1.918.917-1.995 2.08L12 18.38V23a1 1 0 0 1-1 1H7c-1.105 0-2-1.006-2-2.247V11.718c0-.751.334-1.453.89-1.87l7.555-5.66a.91.91 0 0 1 1.11 0ZM14 6.272l-6.91 5.177c-.033.024-.07.095-.085.192L7 11.718v10.035c0 .052.005.095.01.13l.013.078c.003.018.002.03-.006.035L7 22h3l.001-3.684.009-.233c.143-2.175 1.835-3.949 3.99-3.949 2.196 0 3.894 1.834 3.995 4.04l.005.207V22h3c-.019 0-.025-.007-.025-.024l.022-.151.003-.072V11.718a.436.436 0 0 0-.065-.242l-.025-.027L14 6.272Z",clipRule:"evenodd"})})}const RM=B(AM);function kM(e){return r("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",...e,children:r("path",{fill:"#333",fillRule:"evenodd",d:"M4 12a8 8 0 1 1 16 0 8 8 0 0 1-16 0Zm8-10C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2Zm1 6a1 1 0 1 1-2 0 1 1 0 0 1 2 0Zm-3 2.75a.75.75 0 0 1 .75-.75h1.5a.75.75 0 0 1 .75.75v3.75h.25a.75.75 0 0 1 0 1.5h-2.5a.75.75 0 0 1 0-1.5h.75v-3h-.75a.75.75 0 0 1-.75-.75Z",clipRule:"evenodd"})})}const FM=B(kM);function BM(e){return p("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 20 20",...e,children:[r("circle",{cx:10,cy:10,r:8,fill:"#EAEAEA"}),r("path",{fill:"#999",fillRule:"evenodd",d:"M10 8a1 1 0 1 0 0-2 1 1 0 0 0 0 2Zm-.5 6h-1v-1H9v-3h-.5V9h2a.5.5 0 0 1 .5.5V13h.5v1h-2Z",clipRule:"evenodd"})]})}const EM=B(BM);function LM(e){return p("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 20 20",...e,children:[r("rect",{width:14.5,height:14.5,x:2.75,y:2.75,stroke:"#333",strokeLinejoin:"round",strokeWidth:1.5,rx:2.25}),r("circle",{cx:10,cy:10,r:2,fill:"#F66"})]})}const DM=B(LM);function TM(e){return r("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 28 28",...e,children:r("path",{fill:"#333",fillRule:"evenodd",d:"M13.766 7.643a1 1 0 0 0-1.532-1.286l-3.491 4.156-2.029-2.07a1 1 0 1 0-1.428 1.4l2.607 2.66a1.25 1.25 0 0 0 1.85-.07l4.023-4.79ZM16.5 9a1 1 0 1 0 0 2h6a1 1 0 1 0 0-2h-6Zm-11 6a1 1 0 1 0 0 2h17a1 1 0 1 0 0-2h-17Zm-1 7a1 1 0 0 1 1-1h17a1 1 0 1 1 0 2h-17a1 1 0 0 1-1-1Z",clipRule:"evenodd"})})}const VM=B(TM);function PM(e){return r("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",...e,children:r("path",{fill:"#8092AA",fillRule:"evenodd",stroke:"#8092AA",strokeWidth:.4,d:"M3 12a9 9 0 1 1 18 0 9 9 0 0 1-18 0Zm1.248-.746a7.743 7.743 0 0 1 1.26-3.558c.8.138 1.625.252 2.473.341a16.202 16.202 0 0 0-.443 3.217h-3.29Zm4.088-4.4A37.97 37.97 0 0 1 6.38 6.61a7.793 7.793 0 0 1 3.184-2.008c-.392.467-.718 1.03-.983 1.637a9.966 9.966 0 0 0-.245.617Zm.416 4.4c.049-1.128.208-2.183.452-3.106a43.382 43.382 0 0 0 5.607.059c.236.91.389 1.943.437 3.047H8.752Zm3.714-4.197c.664 0 1.318-.015 1.962-.045C13.83 5.494 12.964 4.54 12 4.54c-.953 0-1.81.933-2.407 2.421.934.064 1.894.097 2.873.097Zm3.996 4.197a16.28 16.28 0 0 0-.422-3.131 40.65 40.65 0 0 0 2.539-.292 7.739 7.739 0 0 1 1.173 3.423h-3.29Zm-.77-4.32a39.415 39.415 0 0 0 2.037-.209 7.793 7.793 0 0 0-3.293-2.124c.392.467.717 1.03.983 1.637.097.222.188.455.273.697ZM6.376 17.388a7.79 7.79 0 0 0 3.188 2.012c-.392-.467-.718-1.03-.983-1.637a9.913 9.913 0 0 1-.247-.621c-.668.067-1.322.149-1.958.246Zm-.87-1.087a7.745 7.745 0 0 1-1.28-3.834H7.53c.032 1.244.188 2.43.45 3.493-.847.089-1.673.203-2.473.34Zm4.085.736c.597 1.49 1.455 2.425 2.409 2.425.965 0 1.832-.956 2.43-2.477a42.634 42.634 0 0 0-4.839.052Zm5.221-1.247a43.76 43.76 0 0 0-5.61.059 14.975 14.975 0 0 1-.46-3.382h6.516a15.04 15.04 0 0 1-.446 3.323Zm.881 1.272c-.085.244-.177.477-.274.7-.266.608-.591 1.17-.983 1.638a7.794 7.794 0 0 0 3.297-2.128 39.33 39.33 0 0 0-2.04-.21Zm2.888-.896a39.831 39.831 0 0 0-2.54-.292c.25-1.04.4-2.196.43-3.407h3.303a7.744 7.744 0 0 1-1.193 3.699Z",clipRule:"evenodd"})})}const OM=B(PM);function HM(e){return r("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 20 20",...e,children:r("path",{fill:"#555",fillRule:"evenodd",d:"M13.73 3.267a.906.906 0 0 1 .089 1.19l-.09.102L8.23 10l5.5 5.441a.906.906 0 0 1 .09 1.19l-.09.102a.93.93 0 0 1-1.201.088l-.104-.088-6.154-6.087a.906.906 0 0 1-.089-1.19l.09-.102 6.153-6.087a.93.93 0 0 1 1.306 0Z",clipRule:"evenodd"})})}const $M=B(HM);function UM(e){return p("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 20 20",...e,children:[r("path",{fill:"#999",d:"M10.584 8.142c.293.168.309.565.07.804-.207.207-.532.219-.797.096a2.267 2.267 0 0 0-2.557.453L4.686 12.11a2.266 2.266 0 0 0 3.205 3.206L9.904 13.3a.567.567 0 0 1 .801.802l-2.013 2.013a3.4 3.4 0 1 1-4.808-4.808l2.614-2.614a3.4 3.4 0 0 1 4.086-.552Z"}),r("path",{fill:"#999",d:"M9.677 11.334c-.294-.167-.309-.565-.07-.804.207-.206.532-.218.797-.095.838.389 1.865.237 2.557-.454l2.614-2.614a2.266 2.266 0 0 0-3.205-3.205l-2.013 2.013a.567.567 0 0 1-.802-.801L11.57 3.36a3.4 3.4 0 1 1 4.807 4.807l-2.614 2.614a3.401 3.401 0 0 1-4.085.552Z"}),r("path",{fill:"#999",fillRule:"evenodd",d:"M11.411 3.203a3.622 3.622 0 0 1 5.122 5.122L13.92 10.94a3.623 3.623 0 0 1-4.352.588c-.448-.255-.437-.833-.117-1.154.292-.292.725-.29 1.047-.14a2.045 2.045 0 0 0 2.307-.41l2.614-2.613a2.044 2.044 0 1 0-2.891-2.891l-2.013 2.013a.789.789 0 1 1-1.116-1.116l2.013-2.013Zm4.808.315a3.177 3.177 0 0 0-4.493 0L9.713 5.53a.344.344 0 0 0 .487.487l2.013-2.013a2.489 2.489 0 0 1 3.519 3.519l-2.614 2.614a2.49 2.49 0 0 1-2.808.498c-.208-.096-.424-.07-.546.051-.158.158-.117.374.023.454a3.179 3.179 0 0 0 3.818-.516l2.614-2.614a3.177 3.177 0 0 0 0-4.493ZM6.341 8.537a3.623 3.623 0 0 1 4.353-.588c.447.255.437.834.116 1.154-.291.292-.725.29-1.047.14a2.045 2.045 0 0 0-2.306.41l-2.614 2.614a2.044 2.044 0 1 0 2.89 2.89l2.014-2.013a.789.789 0 0 1 1.115 1.116L8.85 16.273a3.622 3.622 0 1 1-5.122-5.122l2.614-2.614Zm4.133-.202a3.179 3.179 0 0 0-3.818.516l-2.614 2.614a3.177 3.177 0 0 0 4.493 4.494l2.013-2.013a.344.344 0 1 0-.487-.487l-2.013 2.013a2.489 2.489 0 0 1-3.52-3.52l2.615-2.614A2.49 2.49 0 0 1 9.95 8.84c.207.097.424.07.545-.05.158-.159.118-.375-.022-.455Z",clipRule:"evenodd"})]})}const zM=B(UM);function WM(e){return p("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 20 20",...e,children:[r("rect",{width:7,height:16,x:12,y:2,fill:"#EAEAEA",rx:3.5}),r("path",{fill:"#777",fillRule:"evenodd",d:"m13 13 2.5 3 2.5-3h-5ZM13 7l2.5-3L18 7h-5ZM1 4h9v2H1V4Zm0 5h9v2H1V9Zm9 5H1v2h9v-2Z",clipRule:"evenodd"}),r("path",{stroke:"#CCC",strokeLinecap:"square",d:"M14 10h3"})]})}const GM=B(WM);function jM(e){return p("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",...e,children:[r("path",{fill:"#333",fillRule:"evenodd",d:"M8 2a4 4 0 0 0-4 4v12a4 4 0 0 0 4 4h8a4 4 0 0 0 4-4v-1h-2v1a2 2 0 0 1-2 2H8a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v1h2V6a4 4 0 0 0-4-4H8Z",clipRule:"evenodd"}),r("path",{fill:"#333",d:"M20.968 12.733a.97.97 0 0 0 0-1.466L18.8 9.39a.97.97 0 0 0-1.604.733v3.756a.97.97 0 0 0 1.604.733l2.168-1.878Z"}),r("rect",{width:6,height:2,x:12,y:11,fill:"#333",rx:.5})]})}const NM=B(jM);function XM(e){return p("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 20 20",...e,children:[r("path",{fill:"#C1E7DD",fillRule:"evenodd",d:"M7.333.667H16a2 2 0 0 1 2 2v14.666a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V6L7.333.667Z",clipRule:"evenodd"}),r("path",{fill:"#02B585",fillRule:"evenodd",d:"M6 7.833a.5.5 0 0 1 .5-.5h7a.5.5 0 0 1 .5.5v.334a.5.5 0 0 1-.5.5h-7a.5.5 0 0 1-.5-.5v-.333ZM6 10.5a.5.5 0 0 1 .5-.5h7a.5.5 0 0 1 .5.5v.334a.5.5 0 0 1-.5.5h-7a.5.5 0 0 1-.5-.5V10.5Zm.5 2.167a.5.5 0 0 0-.5.5v.333a.5.5 0 0 0 .5.5h7a.5.5 0 0 0 .5-.5v-.333a.5.5 0 0 0-.5-.5h-7ZM2 6h5.333V.667",clipRule:"evenodd"})]})}const YM=B(XM);function KM(e){return r("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 28 28",...e,children:r("path",{fill:"#333",fillRule:"evenodd",d:"M6 9a1 1 0 0 1 1-1h14a1 1 0 1 1 0 2H7a1 1 0 0 1-1-1Zm0 5a1 1 0 0 1 1-1h14a1 1 0 1 1 0 2H7a1 1 0 0 1-1-1Zm1 4a1 1 0 1 0 0 2h14a1 1 0 1 0 0-2H7Z",clipRule:"evenodd"})})}const qM=B(KM);function QM(e){return p("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 20 20",...e,children:[r("path",{stroke:"#555",strokeLinecap:"round",strokeWidth:1.5,d:"M16 10.635v5.519c0 1.02-.768 1.846-1.714 1.846H5.714C4.768 18 4 17.173 4 16.154V3.846C4 2.826 4.768 2 5.714 2h2.429"}),r("path",{stroke:"#999",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M12 2h5v5"}),r("rect",{width:9,height:2,x:9.757,y:7.828,fill:"#999",rx:1,transform:"rotate(-45 9.757 7.828)"})]})}const JM=B(QM);function eZ(e){return r("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 20 20",...e,children:r("path",{fill:"#999",fillRule:"evenodd",d:"M11.5 5a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0Zm0 5a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0ZM10 16.5a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3Z",clipRule:"evenodd"})})}const tZ=B(eZ);function iZ(e){return p("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",...e,children:[r("circle",{cx:17.5,cy:9.5,r:2.5,fill:"#F66"}),r("path",{fill:"#8092AA",fillRule:"evenodd",d:"M8.211 20.598c1.155.667 2.623.416 3.72-.51.284-.24.242-.667-.045-.832l-4.35-2.512c-.287-.165-.678.012-.743.378-.254 1.413.264 2.81 1.418 3.476ZM16.05 3.308c-.353-.204-.905-.448-1.491-.214a1.397 1.397 0 0 0-.577.437c-.05.064-.096.13-.132.189-2.363-.627-4.942.14-6.178 2.282l-.856 1.482c-.433.75-1.236 1.279-2.272 1.397h-.006a2.021 2.021 0 0 0-1.526.985c-.633 1.096-.06 2.36.892 2.91l10.02 5.785c.952.55 2.333.414 2.966-.683.331-.574.333-1.244.086-1.82l-.002-.007c-.317-.727-.357-1.462-.163-2.103a4.474 4.474 0 0 1-1.863-.741c-.4 1.163-.324 2.453.19 3.638.005.011.008.02.01.028l-.01.002a.32.32 0 0 1-.214-.046l-10.02-5.786a.32.32 0 0 1-.148-.162l-.003-.01a.17.17 0 0 1 .022-.004c1.599-.183 2.993-1.031 3.773-2.383l.856-1.482c.773-1.34 2.663-1.93 4.513-1.151l.535.225.068.052a4.482 4.482 0 0 1 2.429-1.095c.039-.148.062-.333.032-.541-.091-.624-.578-.98-.931-1.184Z",clipRule:"evenodd"})]})}const nZ=B(iZ);function rZ(e){return p("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",...e,children:[r("path",{fill:"#D9F4ED",fillRule:"evenodd",d:"M2.5 7a4.5 4.5 0 0 0 4.303-5.82A11.953 11.953 0 0 1 12 0c6.627 0 12 5.373 12 12s-5.373 12-12 12S0 18.627 0 12c0-1.862.424-3.624 1.18-5.197A4.5 4.5 0 0 0 2.5 7Z",clipRule:"evenodd"}),r("circle",{cx:2.5,cy:2.5,r:2.5,fill:"#F66"}),r("path",{stroke:"#61CBB5",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"m9 11.6 2.25 2.4L15 10"})]})}const oZ=B(rZ);function sZ(e){return p("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",...e,children:[r("path",{fill:"#D9F4ED",fillRule:"evenodd",d:"M2.5 7a4.5 4.5 0 0 0 4.303-5.82A11.953 11.953 0 0 1 12 0c6.627 0 12 5.373 12 12s-5.373 12-12 12S0 18.627 0 12c0-1.862.424-3.624 1.18-5.197A4.5 4.5 0 0 0 2.5 7Z",clipRule:"evenodd"}),r("circle",{cx:2.5,cy:2.5,r:2.5,fill:"#F66"}),r("path",{stroke:"#61CBB5",strokeLinecap:"round",strokeWidth:1.5,d:"M10 10h4M10 13h4"}),r("path",{fill:"#61CBB5",fillRule:"evenodd",d:"M5.25 8A2.75 2.75 0 0 1 8 5.25h8A2.75 2.75 0 0 1 18.75 8v8A2.75 2.75 0 0 1 16 18.75H8A2.75 2.75 0 0 1 5.25 16V8ZM8 6.75c-.69 0-1.25.56-1.25 1.25v8c0 .69.56 1.25 1.25 1.25h8c.69 0 1.25-.56 1.25-1.25V8c0-.69-.56-1.25-1.25-1.25H8Z",clipRule:"evenodd"})]})}const lZ=B(sZ);function aZ(e){return p("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 20 20",...e,children:[r("path",{fill:"#555",d:"M17.5 3.5a1 1 0 0 0-1-1h-5a1 1 0 0 0 0 2h2.586L9.429 9.157a1 1 0 1 0 1.414 1.414L15.5 5.914V8.5a1 1 0 0 0 2 0v-5Z"}),r("path",{fill:"#555",d:"M4.5 3.5a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2v-3a1 1 0 1 0-2 0v3h-10v-10h3a1 1 0 0 0 0-2h-3Z"})]})}const cZ=B(aZ);function dZ(e){return r("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 20 20",...e,children:r("path",{fill:"#333",fillRule:"evenodd",d:"M12.425 3.283a.5.5 0 0 0-.708 0l-.707.707a.5.5 0 0 0 0 .707L15.314 9H1.5a.5.5 0 0 0-.5.5v1a.5.5 0 0 0 .5.5h13.814l-4.304 4.303a.5.5 0 0 0 0 .708l.707.707a.5.5 0 0 0 .708 0l6.364-6.364a.5.5 0 0 0 0-.707l-6.364-6.364Z",clipRule:"evenodd"})})}const hZ=B(dZ);function fZ(e){return p("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 20 20",...e,children:[r("circle",{cx:10,cy:10,r:8,stroke:"#333",strokeWidth:1.5}),r("path",{fill:"#333",fillRule:"evenodd",d:"M10 8a1 1 0 1 0 0-2 1 1 0 0 0 0 2Zm-.5 6h-1v-1H9v-3h-.5V9h2a.5.5 0 0 1 .5.5V13h.5v1h-2Z",clipRule:"evenodd"})]})}const uZ=B(fZ);function pZ(e){return p("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 20 20",...e,children:[r("circle",{cx:10,cy:10,r:8,fill:"#EAEAEA"}),r("path",{fill:"#999",fillRule:"evenodd",d:"M10 8a1 1 0 1 0 0-2 1 1 0 0 0 0 2Zm-.5 6h-1v-1H9v-3h-.5V9h2a.5.5 0 0 1 .5.5V13h.5v1h-2Z",clipRule:"evenodd"})]})}const gZ=B(pZ);function vZ(e){return p("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",...e,children:[r("rect",{width:16,height:15,x:4,y:5,stroke:"#333",strokeWidth:2,rx:3}),r("rect",{width:2,height:3,x:15,y:2.5,fill:"#333",rx:1}),r("rect",{width:2,height:3,x:7,y:2.5,fill:"#333",rx:1}),r("path",{stroke:"#333",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"m8.5 12.3 2.625 2.7 4.375-4.5"}),r("path",{fill:"#333",d:"M5 8a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2H5Z"})]})}const mZ=B(vZ);function xZ(e){return p("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 20 20",...e,children:[r("path",{stroke:"#333",strokeLinecap:"round",strokeWidth:1.5,d:"M13.5 5.23C13.5 3.446 12.029 2 10.214 2h-.428C7.97 2 6.5 3.446 6.5 5.23V8"}),r("path",{stroke:"#333",strokeWidth:1.5,d:"M3.25 11A2.25 2.25 0 0 1 5.5 8.75h9A2.25 2.25 0 0 1 16.75 11v6c0 .69-.56 1.25-1.25 1.25h-11c-.69 0-1.25-.56-1.25-1.25v-6Z"}),r("path",{fill:"#333",fillRule:"evenodd",d:"M7.75 13.5a2.25 2.25 0 1 1 4.5 0 2.25 2.25 0 0 1-4.5 0Zm3 0a.75.75 0 1 0-1.5 0 .75.75 0 0 0 1.5 0Z",clipRule:"evenodd"})]})}const wZ=B(xZ);function yZ(e){return p("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 20 20",...e,children:[r("path",{stroke:"#333",strokeWidth:1.5,d:"M4.75 4A2.25 2.25 0 0 1 7 1.75h6A2.25 2.25 0 0 1 15.25 4v12A2.25 2.25 0 0 1 13 18.25H7A2.25 2.25 0 0 1 4.75 16V4Z"}),r("path",{stroke:"#333",strokeLinecap:"round",strokeWidth:1.5,d:"M9 16h2"})]})}const _Z=B(yZ);function bZ(e){return r("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 28 28",...e,children:r("path",{fill:"#333",fillRule:"evenodd",d:"M14 2c5.524 0 10 4.507 10 10.063 0 5.08-3 9.617-8.877 13.586-.554.374-1.253.444-1.91.174l-.164-.075-.179-.108-.38-.263C6.931 21.474 4.064 17.032 4 12.063 4 6.108 8.273 2 14 2Zm0 2c-4.64 0-8 3.23-8 8.05.054 4.135 2.444 7.937 7.267 11.425l.366.261.313.22.056.036.371-.254c4.876-3.388 7.38-7.07 7.61-11.066l.013-.308.004-.301C22 7.608 18.417 4 14 4Zm0 4.286c2.22 0 4 1.865 4 4.143 0 2.278-1.78 4.143-4 4.143-2.22 0-4-1.865-4-4.143 0-2.278 1.78-4.143 4-4.143Zm0 2c-1.094 0-2 .95-2 2.143 0 1.194.906 2.143 2 2.143 1.094 0 2-.95 2-2.143 0-1.194-.906-2.143-2-2.143Z",clipRule:"evenodd"})})}const MZ=B(bZ);function ZZ(e){return p("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 20 20",...e,children:[r("path",{fill:"#555",fillRule:"evenodd",d:"M16 2a2 2 0 0 1 2 2v3.5a2 2 0 0 1-2 2h-3.5a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2H16Zm-.5 1.5a1 1 0 0 1 1 1V7a1 1 0 0 1-1 1H13a1 1 0 0 1-1-1V4.5a1 1 0 0 1 1-1h2.5ZM7.5 10.5a2 2 0 0 1 2 2V16a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2v-3.5a2 2 0 0 1 2-2h3.5ZM7 12a1 1 0 0 1 1 1v2.5a1 1 0 0 1-1 1H4.5a1 1 0 0 1-1-1V13a1 1 0 0 1 1-1H7ZM7.5 2a2 2 0 0 1 2 2v3.5a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h3.5ZM7 3.5a1 1 0 0 1 1 1V7a1 1 0 0 1-1 1H4.5a1 1 0 0 1-1-1V4.5a1 1 0 0 1 1-1H7Z",clipRule:"evenodd"}),r("path",{fill:"#555",d:"M7 4.5H4.5V7H7z"}),r("path",{fill:"#555",fillRule:"evenodd",d:"M16 10.5a2 2 0 0 1 2 2V16a2 2 0 0 1-2 2h-3.5a2 2 0 0 1-2-2v-3.5a2 2 0 0 1 2-2H16Zm-.5 1.5a1 1 0 0 1 1 1v2.5a1 1 0 0 1-1 1H13a1 1 0 0 1-1-1V13a1 1 0 0 1 1-1h2.5Z",clipRule:"evenodd"}),r("path",{fill:"#555",d:"M15.5 13H13v2.5h2.5z"})]})}const SZ=B(ZZ);function IZ(e){return p("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 20 20",...e,children:[r("path",{fill:"#555",d:"M5.833 10a4.167 4.167 0 1 1 8.333 0 4.167 4.167 0 0 1-8.333 0Z",opacity:.2}),r("path",{fill:"#555",fillRule:"evenodd",d:"M10 5.292a4.708 4.708 0 1 0 0 9.416 4.708 4.708 0 0 0 0-9.416ZM6.375 10a3.625 3.625 0 1 1 7.25 0 3.625 3.625 0 0 1-7.25 0Z",clipRule:"evenodd"}),r("path",{fill:"#555",fillRule:"evenodd",d:"M10 1.125a8.875 8.875 0 1 0 0 17.75 8.875 8.875 0 0 0 0-17.75ZM2.208 10a7.792 7.792 0 1 1 15.583 0 7.792 7.792 0 0 1-15.583 0Z",clipRule:"evenodd"})]})}const CZ=B(IZ);function AZ(e){return p("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",...e,children:[r("rect",{width:24,height:24,fill:"#F4F4F4",rx:12}),r("rect",{width:12,height:12,x:6,y:6,stroke:"#CCC",strokeWidth:1.5,rx:2}),r("path",{stroke:"#CCC",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"m9 11.6 2.25 2.4L15 10"})]})}const RZ=B(AZ);function kZ(e){return p("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",...e,children:[r("rect",{width:24,height:24,fill:"#F4F4F4",rx:12}),r("path",{stroke:"#CCC",strokeLinecap:"round",strokeWidth:1.5,d:"M13 10.5h4M7 13.5h10M7 16.5h10M7 8.786l1.403 1.503a.25.25 0 0 0 .378-.015L11 7.5"})]})}const FZ=B(kZ);function BZ(e){return p("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",...e,children:[r("rect",{width:24,height:24,fill:"#F4F4F4",rx:12}),r("path",{stroke:"#CCC",strokeLinecap:"round",strokeWidth:1.5,d:"M10 10h4M10 13h4"}),r("rect",{width:12,height:12,x:6,y:6,stroke:"#CCC",strokeWidth:1.5,rx:2})]})}const EZ=B(BZ);function LZ(e){return r("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 20 20",...e,children:r("path",{fill:"#555",fillRule:"evenodd",d:"M15.133 5.243a7 7 0 1 0 1.536 6.89.473.473 0 0 0-.351-.599l-1.115-.27a.224.224 0 0 0-.27.16 5.133 5.133 0 1 1-.973-4.691H11.9a.5.5 0 0 0-.5.5V8.1a.5.5 0 0 0 .5.5h4.6a.5.5 0 0 0 .5-.5V3.5a.5.5 0 0 0-.5-.5h-.867a.5.5 0 0 0-.5.5v1.743Z",clipRule:"evenodd"})})}const DZ=B(LZ);function TZ(e){return p("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 20 20",...e,children:[r("circle",{cx:10,cy:10,r:8,fill:"#FF7979"}),r("path",{fill:"#fff",fillRule:"evenodd",d:"M5 10a1 1 0 0 1 1-1h8a1 1 0 1 1 0 2H6a1 1 0 0 1-1-1Z",clipRule:"evenodd"})]})}const VZ=B(TZ);function PZ(e){return r("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 20 20",...e,children:r("path",{fill:"#555",fillRule:"evenodd",d:"M6.27 16.733a.906.906 0 0 1-.089-1.19l.09-.102L11.77 10l-5.5-5.441a.906.906 0 0 1-.09-1.19l.09-.102a.93.93 0 0 1 1.201-.088l.104.088 6.154 6.087a.906.906 0 0 1 .089 1.19l-.09.102-6.153 6.087a.93.93 0 0 1-1.306 0Z",clipRule:"evenodd"})})}const OZ=B(PZ);function HZ(e){return p("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 20 20",...e,children:[r("circle",{cx:9,cy:9,r:7,stroke:"#555",strokeWidth:2}),r("path",{stroke:"#555",strokeLinecap:"round",strokeWidth:2,d:"m14.5 14.5 4 4"})]})}const $Z=B(HZ);function UZ(e){return r("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 20 20",...e,children:r("path",{fill:"#555",fillRule:"evenodd",d:"M15.833 1.875H4.167a2.292 2.292 0 0 0-2.292 2.292v2.5a2.292 2.292 0 0 0 2.292 2.291h11.666a2.292 2.292 0 0 0 2.292-2.291v-2.5a2.292 2.292 0 0 0-2.292-2.292ZM4.167 3.125h11.666c.576 0 1.042.466 1.042 1.042v2.5c0 .575-.466 1.041-1.042 1.041H4.167a1.042 1.042 0 0 1-1.042-1.041v-2.5c0-.576.466-1.042 1.042-1.042Zm11.666 7.917H4.167a2.292 2.292 0 0 0-2.292 2.291v2.5a2.292 2.292 0 0 0 2.292 2.292h11.666a2.292 2.292 0 0 0 2.292-2.292v-2.5a2.292 2.292 0 0 0-2.292-2.291Zm-11.666 1.25h11.666c.576 0 1.042.466 1.042 1.041v2.5c0 .576-.466 1.042-1.042 1.042H4.167a1.042 1.042 0 0 1-1.042-1.042v-2.5c0-.575.466-1.041 1.042-1.041Z",clipRule:"evenodd"})})}const zZ=B(UZ);function WZ(e){return r("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 20 20",...e,children:r("path",{fill:"#999",fillRule:"evenodd",d:"M10.405 17h-.81a.913.913 0 0 1-.899-.75l-.117-.646a5.707 5.707 0 0 1-1.535-.638l-.542.375a.932.932 0 0 1-1.165-.105l-.573-.573a.913.913 0 0 1-.105-1.165l.375-.542a5.716 5.716 0 0 1-.638-1.535l-.646-.117a.913.913 0 0 1-.75-.899v-.81c0-.442.315-.82.75-.898l.646-.118c.136-.539.35-1.053.638-1.535l-.375-.542a.913.913 0 0 1 .105-1.165l.573-.573a.931.931 0 0 1 1.165-.105l.542.375a5.711 5.711 0 0 1 1.535-.638l.117-.646A.913.913 0 0 1 9.595 3h.81c.441 0 .82.315.899.75l.117.646c.539.136 1.053.35 1.535.638l.542-.375a.931.931 0 0 1 1.165.105l.573.573a.912.912 0 0 1 .105 1.165l-.375.542c.288.482.502.996.638 1.535l.646.117c.435.08.75.457.75.899v.81c0 .442-.315.82-.75.898l-.646.118a5.725 5.725 0 0 1-.638 1.535l.375.542a.912.912 0 0 1-.105 1.165l-.573.573a.907.907 0 0 1-1.165.105l-.542-.375a5.71 5.71 0 0 1-1.535.638l-.117.646a.913.913 0 0 1-.899.75ZM10 8c-1.103 0-2 .897-2 2s.897 2 2 2 2-.897 2-2-.897-2-2-2Z",clipRule:"evenodd"})})}const GZ=B(WZ);function jZ(e){return r("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 28 28",...e,children:r("path",{fill:"#333",fillRule:"evenodd",d:"M14.637 2c1.12 0 2.088.763 2.36 1.836l.035.163.074.408.168.054c.262.09.52.191.773.303l.378.175.159.083.344-.238a2.469 2.469 0 0 1 2.824.04l.15.117.133.124.9.9c.79.788.936 2.003.38 2.952l-.1.156-.237.342.083.161c.122.25.234.503.335.76l.143.39.053.167.409.075a2.434 2.434 0 0 1 1.975 2.056l.018.173.006.166v1.274a2.434 2.434 0 0 1-1.836 2.36l-.163.035-.409.073-.053.169c-.09.262-.191.52-.303.773l-.175.377-.084.16.239.343a2.434 2.434 0 0 1-.035 2.822l-.12.151-.126.135-.9.9a2.426 2.426 0 0 1-1.722.713c-.434 0-.856-.115-1.229-.333l-.156-.1-.344-.238-.159.083c-.249.123-.503.235-.76.335l-.39.144-.169.053-.074.409a2.435 2.435 0 0 1-2.056 1.975l-.173.018-.166.006h-1.274a2.435 2.435 0 0 1-2.36-1.836L10.968 24l-.075-.408-.167-.053a9.965 9.965 0 0 1-.773-.303l-.378-.175-.16-.084-.344.24a2.47 2.47 0 0 1-2.823-.04l-.15-.118-.133-.124-.9-.9a2.435 2.435 0 0 1-.38-2.952l.1-.156.236-.343-.082-.16a9.972 9.972 0 0 1-.335-.761l-.143-.39-.054-.167-.408-.074a2.435 2.435 0 0 1-1.975-2.056l-.018-.173L2 14.637v-1.274c0-1.121.763-2.09 1.836-2.36L4 10.969l.407-.074.054-.167c.09-.262.19-.52.302-.773l.176-.378.082-.161-.237-.343A2.435 2.435 0 0 1 4.82 6.25l.12-.15.125-.136.9-.9a2.466 2.466 0 0 1 2.954-.378l.154.098.342.237.16-.082c.25-.123.503-.235.76-.335l.39-.144.168-.054.075-.408a2.436 2.436 0 0 1 2.056-1.975l.173-.018.166-.006h1.274Zm0 2h-1.274a.435.435 0 0 0-.407.282l-.02.075-.3 1.648-.623.158a7.96 7.96 0 0 0-1.853.726l-.291.166-.553.33-1.381-.956a.471.471 0 0 0-.49-.001l-.066.051-.9.9a.434.434 0 0 0-.093.478l.043.077.956 1.38-.33.554a7.998 7.998 0 0 0-.788 1.771l-.104.373-.157.624-1.65.3a.433.433 0 0 0-.35.35L4 13.363v1.274c0 .184.115.344.282.407l.075.02 1.649.3.157.624c.163.644.406 1.264.725 1.853l.167.291.33.553-.956 1.38a.435.435 0 0 0-.006.487l.056.069.9.9c.117.117.325.15.481.09l.074-.04 1.382-.957.553.331a7.984 7.984 0 0 0 1.823.804l.32.088.625.158.298 1.647c.034.182.175.32.351.351l.077.007h1.274a.434.434 0 0 0 .407-.282l.02-.075.3-1.648.624-.158a7.96 7.96 0 0 0 1.853-.726l.29-.166.554-.33 1.38.956a.43.43 0 0 0 .49.005l.066-.055.9-.9a.434.434 0 0 0 .093-.477l-.043-.078-.956-1.38.33-.554a8.015 8.015 0 0 0 .788-1.771l.104-.374.158-.623 1.648-.3a.433.433 0 0 0 .35-.35l.007-.077v-1.274a.434.434 0 0 0-.282-.407l-.074-.02-1.649-.3-.158-.623a7.968 7.968 0 0 0-.699-1.805l-.193-.34-.33-.553.956-1.38a.434.434 0 0 0 .006-.487l-.055-.069-.901-.9a.47.47 0 0 0-.481-.09l-.074.04-1.38.957-.554-.331a8.001 8.001 0 0 0-1.771-.788l-.373-.104-.624-.158-.3-1.648a.435.435 0 0 0-.35-.35L14.637 4ZM14 10c2.206 0 4 1.794 4 4s-1.794 4-4 4-4-1.794-4-4 1.794-4 4-4Zm0 2c-1.102 0-2 .898-2 2 0 1.102.898 2 2 2 1.102 0 2-.898 2-2 0-1.102-.898-2-2-2Z",clipRule:"evenodd"})})}const NZ=B(jZ);function XZ(e){return r("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 28 28",...e,children:r("path",{fill:"#333",fillRule:"evenodd",d:"M10 15a3 3 0 0 1 2.995 2.824L13 18v3a3 3 0 0 1-2.824 2.995L10 24H7a3 3 0 0 1-2.995-2.824L4 21v-3a3 3 0 0 1 2.824-2.995L7 15h3Zm11 0a3 3 0 0 1 2.995 2.824L24 18v3a3 3 0 0 1-2.824 2.995L21 24h-3a3 3 0 0 1-2.995-2.824L15 21v-3a3 3 0 0 1 2.824-2.995L18 15h3Zm-11 2H7a1 1 0 0 0-.993.883L6 18v3a1 1 0 0 0 .883.993L7 22h3a1 1 0 0 0 .993-.883L11 21v-3a1 1 0 0 0-.883-.993L10 17Zm11 0h-3a1 1 0 0 0-.993.883L17 18v3a1 1 0 0 0 .883.993L18 22h3a1 1 0 0 0 .993-.883L22 21v-3a1 1 0 0 0-.883-.993L21 17ZM10 4a3 3 0 0 1 2.995 2.824L13 7v3a3 3 0 0 1-2.824 2.995L10 13H7a3 3 0 0 1-2.995-2.824L4 10V7a3 3 0 0 1 2.824-2.995L7 4h3Zm11 0a3 3 0 0 1 2.995 2.824L24 7v3a3 3 0 0 1-2.824 2.995L21 13h-3a3 3 0 0 1-2.995-2.824L15 10V7a3 3 0 0 1 2.824-2.995L18 4h3ZM10 6H7a1 1 0 0 0-.993.883L6 7v3a1 1 0 0 0 .883.993L7 11h3a1 1 0 0 0 .993-.883L11 10V7a1 1 0 0 0-.883-.993L10 6Zm11 0h-3a1 1 0 0 0-.993.883L17 7v3a1 1 0 0 0 .883.993L18 11h3a1 1 0 0 0 .993-.883L22 10V7a1 1 0 0 0-.883-.993L21 6Z",clipRule:"evenodd"})})}const YZ=B(XZ);function KZ(e){return p("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 20 20",...e,children:[r("rect",{width:15.556,height:1.667,x:2.222,y:3.611,fill:"#555",rx:.5}),r("rect",{width:15.556,height:1.667,x:2.222,y:9.166,fill:"#555",rx:.5}),r("rect",{width:15.556,height:1.667,x:2.222,y:14.722,fill:"#555",rx:.5}),r("path",{fill:"#fff",d:"M8.333 4.444a1.667 1.667 0 1 1-3.333 0 1.667 1.667 0 0 1 3.333 0Z"}),r("path",{fill:"#555",fillRule:"evenodd",d:"M6.667 3.611a.833.833 0 1 0 0 1.667.833.833 0 0 0 0-1.667Zm-2.5.833a2.5 2.5 0 1 1 5 0 2.5 2.5 0 0 1-5 0Z",clipRule:"evenodd"}),r("path",{fill:"#fff",d:"M15 10a1.667 1.667 0 1 1-3.334 0A1.667 1.667 0 0 1 15 10Z"}),r("path",{fill:"#555",fillRule:"evenodd",d:"M13.334 9.167a.833.833 0 1 0 0 1.666.833.833 0 0 0 0-1.666Zm-2.5.833a2.5 2.5 0 1 1 5 0 2.5 2.5 0 0 1-5 0Z",clipRule:"evenodd"}),r("path",{fill:"#fff",d:"M9.445 15.555a1.667 1.667 0 1 1-3.334 0 1.667 1.667 0 0 1 3.334 0Z"}),r("path",{fill:"#555",fillRule:"evenodd",d:"M7.778 14.722a.833.833 0 1 0 0 1.667.833.833 0 0 0 0-1.667Zm-2.5.834a2.5 2.5 0 1 1 5 0 2.5 2.5 0 0 1-5 0Z",clipRule:"evenodd"})]})}const qZ=B(KZ);function QZ(e){return p("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",...e,children:[r("rect",{width:3.5,height:12.5,x:3.75,y:7.75,fill:"#02B585",stroke:"#333",strokeWidth:1.5,rx:1.75}),r("rect",{width:3.5,height:10.5,x:10.25,y:9.75,fill:"#02B585",stroke:"#333",strokeWidth:1.5,rx:1.75}),r("rect",{width:3.5,height:16.5,x:16.75,y:3.75,fill:"#02B585",stroke:"#333",strokeWidth:1.5,rx:1.75})]})}const JZ=B(QZ);function eS(e){return r("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",...e,children:r("path",{fill:"#999",fillRule:"evenodd",d:"M19.5 5.5v13a1 1 0 1 1-2 0v-13a1 1 0 1 1 2 0Zm-3.5 0a2.5 2.5 0 0 1 5 0v13a2.5 2.5 0 0 1-5 0v-13Zm-9.5 13v-9a1 1 0 0 0-2 0v9a1 1 0 1 0 2 0ZM5.5 7A2.5 2.5 0 0 0 3 9.5v9a2.5 2.5 0 0 0 5 0v-9A2.5 2.5 0 0 0 5.5 7ZM13 18.5v-7a1 1 0 1 0-2 0v7a1 1 0 1 0 2 0ZM12 9a2.5 2.5 0 0 0-2.5 2.5v7a2.5 2.5 0 0 0 5 0v-7A2.5 2.5 0 0 0 12 9Z",clipRule:"evenodd"})})}const tS=B(eS);function iS(e){return p("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",...e,children:[r("path",{fill:"#333",d:"M17 12a1 1 0 1 1 2 0v7.8a.2.2 0 0 1-.2.2h-1.6a.2.2 0 0 1-.2-.2V12ZM9 15a1 1 0 1 1 2 0v4.8a.2.2 0 0 1-.2.2H9.2a.2.2 0 0 1-.2-.2V15ZM5 17a1 1 0 1 1 2 0v2.8a.2.2 0 0 1-.2.2H5.2a.2.2 0 0 1-.2-.2V17ZM13 16a1 1 0 1 1 2 0v3.8a.2.2 0 0 1-.2.2h-1.6a.2.2 0 0 1-.2-.2V16Z"}),r("path",{fill:"#333",fillRule:"evenodd",d:"M20.494 4.155a1 1 0 0 0-.992-1.141l-2.96.005a1 1 0 0 0-.753 1.656l.507.584-4.062 3.53-1.98-2.277a1.089 1.089 0 0 0-1.536-.107L4.05 10.463a1 1 0 0 0-.099 1.411l.117.134a1 1 0 0 0 1.41.1l3.848-3.345 1.98 2.277a1.089 1.089 0 0 0 1.536.108l4.884-4.246.607.698a1 1 0 0 0 1.744-.515l.418-2.93Z",clipRule:"evenodd"})]})}const nS=B(iS);function rS(e){return p("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 20 20",...e,children:[r("path",{fill:"#555",fillRule:"evenodd",d:"M1.125 5A3.875 3.875 0 0 1 5 1.125h10A3.875 3.875 0 0 1 18.875 5v10a3.875 3.875 0 0 1-3.876 3.875H5A3.875 3.875 0 0 1 1.126 15V5ZM5 2.208A2.792 2.792 0 0 0 2.208 5v10A2.792 2.792 0 0 0 5 17.792h10A2.792 2.792 0 0 0 17.79 15V5A2.792 2.792 0 0 0 15 2.208H5Z",clipRule:"evenodd"}),r("path",{fill:"#555",d:"M11.666 5h.833v10h-.833V5ZM4.166 5.833V7.5h2.5v6.667h1.667V7.5h2.5V5.833H4.166Z"})]})}const oS=B(rS);function sS(e){return r("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 20 20",...e,children:r("path",{fill:"#8092AA",fillRule:"evenodd",d:"M10 2a8 8 0 1 1 0 16 8 8 0 0 1 0-16Zm0 1.5a6.5 6.5 0 1 0 0 13 6.5 6.5 0 0 0 0-13Zm.743 3.398A.75.75 0 0 0 9.25 7v3.6l.007.104a.75.75 0 0 0 .167.376l2 2.4.077.08a.75.75 0 0 0 .98.016l.08-.077a.75.75 0 0 0 .015-.98l-1.826-2.191V7l-.007-.102Z",clipRule:"evenodd"})})}const lS=B(sS);function aS(e){return r("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 20 20",...e,children:r("path",{fill:"#555",fillRule:"evenodd",d:"M7.6 4a1 1 0 0 1 1-1h2.8a1 1 0 0 1 1 1h3.19a.91.91 0 0 1 .91.91v.18a.91.91 0 0 1-.91.91H4.41a.91.91 0 0 1-.91-.91v-.18A.91.91 0 0 1 4.41 4H7.6ZM5.082 7a.96.96 0 0 0-.953 1.074l.906 7.552A1.56 1.56 0 0 0 6.584 17h6.832c.79 0 1.455-.59 1.549-1.374l.906-7.552A.96.96 0 0 0 14.918 7H5.082ZM8.1 9a.6.6 0 0 0-.6.6v4.8a.6.6 0 0 0 .6.6h.3a.6.6 0 0 0 .6-.6V9.6a.6.6 0 0 0-.6-.6h-.3Zm2.9.6a.6.6 0 0 1 .6-.6h.3a.6.6 0 0 1 .6.6v4.8a.6.6 0 0 1-.6.6h-.3a.6.6 0 0 1-.6-.6V9.6Z",clipRule:"evenodd"})})}const cS=B(aS);function dS(e){return p("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 20 20",...e,children:[r("circle",{cx:10,cy:10,r:9,fill:"#02B585"}),r("path",{stroke:"#fff",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"m5 9.5 3.75 3.75L15 7"})]})}const hS=B(dS);function fS(e){return p("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 28 28",...e,children:[r("circle",{cx:14,cy:14,r:11,stroke:"#333",strokeWidth:2}),r("path",{fill:"#333",fillRule:"evenodd",d:"M15.266 16.167v.942h-2.199v-1.367c0-1.081.374-1.399 1.324-2.206l.339-.288c.683-.592 1.053-.943 1.053-1.811s-.794-1.59-1.718-1.59c-1.59 0-2.18 1.775-2.18 1.775L10 10.753s.887-3.011 4.065-3.011c2.217 0 3.935 1.644 3.935 3.695 0 1.626-.85 2.402-2.05 3.455-.647.573-.684.61-.684 1.275Zm.37 3.491a1.45 1.45 0 0 1-1.46 1.46 1.45 1.45 0 0 1-1.46-1.46c0-.812.647-1.459 1.46-1.459.812 0 1.46.647 1.46 1.46Z",clipRule:"evenodd"})]})}const uS=B(fS);function pS(e){return r("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 12 12",...e,children:r("path",{fill:"#999",fillRule:"evenodd",d:"M8.96 8.5a.5.5 0 0 0 .39-.812l-2.96-3.7a.5.5 0 0 0-.78 0l-2.96 3.7a.5.5 0 0 0 .39.812h5.92Z",clipRule:"evenodd"})})}const gS=B(pS);function vS(e){return r("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 20 20",...e,children:r("path",{fill:"#555",fillRule:"evenodd",d:"M16.733 13.73a.906.906 0 0 1-1.19.089l-.102-.09L10 8.23l-5.441 5.5a.906.906 0 0 1-1.19.09l-.102-.09a.93.93 0 0 1-.088-1.201l.088-.104L9.354 6.27a.906.906 0 0 1 1.19-.089l.102.09 6.087 6.153a.93.93 0 0 1 0 1.306Z",clipRule:"evenodd"})})}const mS=B(vS);function xS(e){return r("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 20 20",...e,children:r("path",{fill:"#333",fillRule:"evenodd",d:"M10 2.25a3.75 3.75 0 1 0 0 7.5 3.75 3.75 0 0 0 0-7.5Zm0 1.5a2.25 2.25 0 1 1 0 4.5 2.25 2.25 0 0 1 0-4.5Zm7.746 12.03A5.75 5.75 0 0 0 12 10.25H8l-.22.004A5.75 5.75 0 0 0 2.25 16v1l.007.102A.75.75 0 0 0 3.75 17v-1l.005-.206A4.25 4.25 0 0 1 8 11.75h4l.206.005A4.25 4.25 0 0 1 16.25 16v1l.007.102A.75.75 0 0 0 17.75 17v-1l-.004-.22Z",clipRule:"evenodd"})})}const wS=B(xS);function yS(e){return r("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 20 20",...e,children:r("path",{fill:"#555",fillRule:"evenodd",d:"M15.835 4.167a.561.561 0 0 0-.8 0l-2.293 2.316a6.315 6.315 0 0 0-2.959-.77c-3.997 0-6.588 4.088-6.696 4.262a.576.576 0 0 0 0 .607 11.33 11.33 0 0 0 2.746 2.879l-1.537 1.552a.574.574 0 0 0 .246.969c.2.052.412-.01.553-.162l10.74-10.846a.575.575 0 0 0 0-.807Zm-8.313 6.112a2.272 2.272 0 0 1 2.261-2.284 2.18 2.18 0 0 1 1.137.328l-3.073 3.104a2.24 2.24 0 0 1-.325-1.148ZM14.971 8c.738.636 1.39 1.36 1.939 2.153a.55.55 0 0 1 0 .605C16.796 10.93 14.088 15 9.91 15A6.538 6.538 0 0 1 8 14.703L14.97 8Z",clipRule:"evenodd"})})}const _S=B(yS);function bS(e){return r("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 20 20",...e,children:r("path",{fill:"#555",fillRule:"evenodd",d:"M10 5c-3.182 0-5.9 2.073-7 5 1.1 2.927 3.818 5 7 5s5.9-2.073 7-5c-1.1-2.927-3.818-5-7-5Zm0 8.333c-1.756 0-3.182-1.493-3.182-3.333S8.244 6.667 10 6.667 13.182 8.16 13.182 10 11.756 13.333 10 13.333ZM10 8c-1.056 0-1.91.893-1.91 2s.854 2 1.91 2 1.91-.893 1.91-2-.854-2-1.91-2Z",clipRule:"evenodd"})})}const MS=B(bS);function ZS(e){return r("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 28 28",...e,children:r("path",{fill:"#333",fillRule:"evenodd",d:"M14 4a5 5 0 1 0 0 10 5 5 0 0 0 0-10Zm0 2a3 3 0 1 1 0 6 3 3 0 0 1 0-6Zm4.207 9c2.604 0 4.81 1.92 5.168 4.5l.309 2.225A2 2 0 0 1 21.703 24H6.297a2 2 0 0 1-1.981-2.275l.309-2.225A5.218 5.218 0 0 1 9.793 15h8.414Zm.184 2.005L18.207 17H9.793a3.218 3.218 0 0 0-3.157 2.593l-.03.182L6.296 22h15.407l-.31-2.225a3.218 3.218 0 0 0-3.002-2.77Z",clipRule:"evenodd"})})}const SS=B(ZS);function IS(e){return p("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 20 20",...e,children:[r("path",{fill:"#555",fillRule:"evenodd",d:"M16.864 3.126a4.984 4.984 0 0 1 1.47 3.54v6.667a5 5 0 0 1-5 5H6.667a4.984 4.984 0 0 1-3.521-1.45",clipRule:"evenodd",opacity:.2}),r("path",{fill:"#555",d:"M5.416 4.722a.542.542 0 1 0-.833.694l1.958 2.35v2.303a.542.542 0 0 0 1.084 0V7.765l1.957-2.349a.542.542 0 1 0-.832-.694L7.083 6.723l-1.667-2ZM15.958 11.127a.542.542 0 0 0-1.084 0v2.736l-2.495-3.018c-.423-.511-1.255-.212-1.255.451v3.89a.542.542 0 1 0 1.084 0v-2.848l2.496 3.018c.423.512 1.254.213 1.254-.451v-3.778Z"}),r("path",{fill:"#555",fillRule:"evenodd",d:"M6.666 1.125a5.542 5.542 0 0 0-5.541 5.542v6.666c0 1.335.472 2.56 1.258 3.517l-.683.684a.542.542 0 0 0 .766.766l.683-.684a5.519 5.519 0 0 0 3.517 1.259h6.667a5.542 5.542 0 0 0 5.542-5.542V6.667a5.52 5.52 0 0 0-1.26-3.517l.684-.684a.542.542 0 0 0-.766-.766l-.683.684a5.519 5.519 0 0 0-3.517-1.259H6.666Zm9.413 2.03a4.439 4.439 0 0 0-2.746-.947H6.666a4.458 4.458 0 0 0-4.458 4.459v6.666c0 1.036.353 1.99.946 2.747L16.079 3.154ZM3.92 16.844a4.44 4.44 0 0 0 2.747.947h6.667a4.458 4.458 0 0 0 4.458-4.459V6.667a4.44 4.44 0 0 0-.946-2.747L3.92 16.846Z",clipRule:"evenodd"})]})}const CS=B(IS);function AS(e){return r("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",...e,children:r("path",{fill:"#02B585",d:"M26.566 22.454c-.564 0-.846-.302-.846-.906v-2.242c0-.604.282-.906.846-.906.563 0 .834.3.838.9v2.248c0 .604-.28.906-.838.906Zm0 1.908c1.845 0 2.767-.939 2.767-2.815V14.53c0-1.872-.922-2.807-2.767-2.807-1.845 0-2.775.935-2.775 2.807v1.162h1.93V14.53c0-.6.279-.902.838-.906h.014c.554 0 .831.302.831.906v2.39c-.381-.286-.879-.429-1.492-.429-1.414.005-2.12.943-2.12 2.815v2.241c0 1.872.925 2.81 2.774 2.815Zm-7.049-1.908c-.559 0-.838-.302-.838-.906v-7.011c0-.604.281-.907.845-.907.563 0 .834.3.838.9v7.017c0 .604-.282.906-.845.906Zm0 1.908c1.85-.005 2.774-.943 2.774-2.815V7.6h-1.929v4.552c-.381-.286-.88-.43-1.493-.43-1.413.005-2.12.943-2.12 2.815v7.01c0 1.877.923 2.815 2.768 2.815Zm-7.035-1.908c-.563 0-.845-.302-.845-.906v-2.242c0-.604.282-.906.845-.906.564 0 .834.3.839.9v2.248c0 .604-.28.906-.839.906Zm0 1.908c1.845 0 2.768-.939 2.768-2.815V14.53c0-1.872-.923-2.807-2.768-2.807-1.845 0-2.774.935-2.774 2.807v1.162h1.93V14.53c0-.6.279-.902.838-.906h.013c.555 0 .832.302.832.906v2.39c-.381-.286-.88-.429-1.493-.429-1.413.005-2.12.943-2.12 2.815v2.241c0 1.872.925 2.81 2.775 2.815Zm-7.887-.218V14.53c.005-.6.284-.9.839-.9.554 0 .845.303.845.907v9.606h1.929v-9.606c0-1.872-.707-2.81-2.12-2.815-.613 0-1.111.143-1.493.43V7.6H2.667v16.544h1.929Z"})})}const RS=B(AS);function kS(e){return r("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",...e,children:r("path",{fill:"#02B585",d:"M27.613 25.51h-2.151V7.395h2.15v8.194h1.721v2.157h-1.72v7.763ZM6.537 12.14h-.43a.861.861 0 0 0-.858.798l-.002.064v9.273c0 .455.351.827.796.86l.064.002h.43a.861.861 0 0 0 .858-.798l.003-.064v-9.273a.862.862 0 0 0-.796-.86l-.065-.002Zm17.205-4.097v2.156H20.3a.646.646 0 0 0-.642.585l-.003.062v11.213c0 .336.256.613.583.644l.062.003h3.44v2.157h-3.44a2.8 2.8 0 0 1-2.794-2.703l-.002-.1V10.845a2.8 2.8 0 0 1 2.696-2.802l.1-.001h3.44ZM7.398 6.533v1.725h2.58v2.157H8.09a3.02 3.02 0 0 1 1.46 2.587v9.273a3.015 3.015 0 0 1-3.011 3.019h-.43a3.015 3.015 0 0 1-3.011-3.02v-9.272c0-1.098.585-2.059 1.459-2.587h-1.89V8.258h2.581V6.533h2.151Zm6.451.863v8.194h1.72v2.157h-1.72v7.763H11.7V7.396h2.15Z"})})}const FS=B(kS);function BS(e){return p("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 60 60",...e,children:[r("path",{fill:"#FEF4C2",d:"M23.11 7.96c3.078-5.28 10.702-5.28 13.78 0l21.011 36.037C61.003 49.318 57.168 56 51.011 56H8.989c-6.157 0-9.992-6.682-6.89-12.003L23.109 7.96Z"}),r("path",{fill:"#FB0",fillRule:"evenodd",d:"M29 26a1 1 0 0 0-1 1v9a2 2 0 1 0 4 0v-9a1 1 0 0 0-1-1h-2Zm1 18.667a2 2 0 1 0 0-4 2 2 0 0 0 0 4Z",clipRule:"evenodd"})]})}const ES=B(BS);function LS(e){return p("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 40 40",...e,children:[r("circle",{cx:20,cy:20,r:20,fill:"url(#img-assignees_svg__a)"}),r("circle",{cx:20,cy:20,r:9,fill:"#C8D5E9"}),r("circle",{cx:20,cy:14.5,r:3.5,fill:"#fff",stroke:"#333",strokeWidth:2}),r("path",{fill:"#fff",stroke:"#333",strokeWidth:2,d:"M13 26.25c0-2.9 2.35-5.25 5.25-5.25h3.5c2.9 0 5.25 2.35 5.25 5.25A1.75 1.75 0 0 1 25.25 28h-10.5A1.75 1.75 0 0 1 13 26.25Z"}),r("defs",{children:p("linearGradient",{id:"img-assignees_svg__a",x1:20,x2:40,y1:0,y2:40,gradientUnits:"userSpaceOnUse",children:[r("stop",{stopColor:"#F1F4F6"}),r("stop",{offset:1,stopColor:"#D9E1E6"})]})})]})}const DS=B(LS);function TS(e){return p("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 40 40",...e,children:[r("circle",{cx:20,cy:20,r:20,fill:"url(#img-average_svg__a)"}),r("rect",{width:15,height:15,x:15.334,y:15,fill:"#61CBB5",rx:3}),r("rect",{width:16,height:16,x:10,y:10,fill:"#fff",stroke:"#333",strokeWidth:2,rx:3}),r("path",{fill:"#333",fillRule:"evenodd",d:"M14.5 15a1 1 0 0 1 1 1v5a1 1 0 1 1-2 0v-5a1 1 0 0 1 1-1ZM18 14a1 1 0 0 1 1 1v6a1 1 0 1 1-2 0v-6a1 1 0 0 1 1-1ZM21.5 16a1 1 0 0 1 1 1v4a1 1 0 1 1-2 0v-4a1 1 0 0 1 1-1Z",clipRule:"evenodd"}),r("defs",{children:p("linearGradient",{id:"img-average_svg__a",x1:20,x2:40,y1:0,y2:40,gradientUnits:"userSpaceOnUse",children:[r("stop",{stopColor:"#F1FAF7"}),r("stop",{offset:1,stopColor:"#E2EDEF"})]})})]})}const VS=B(TS);function PS(e){return p("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 40 40",...e,children:[r("circle",{cx:20,cy:20,r:20,fill:"url(#img-checked-facility_svg__a)"}),r("ellipse",{cx:20,cy:31,fill:"#61CBB5",rx:6,ry:2}),r("path",{fill:"#fff",fillRule:"evenodd",stroke:"#333",strokeLinejoin:"round",strokeWidth:2,d:"M20 10c-4.64 0-8 3.232-8 8.053.054 4.137 2.444 7.94 7.267 11.43l.366.26.313.22.056.037.371-.254c4.876-3.39 7.38-7.073 7.61-11.07l.013-.308.004-.302C28 13.61 24.417 10 20 10Z",clipRule:"evenodd"}),r("path",{stroke:"#333",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"m16.5 19 2.625 3 4.375-5"}),r("defs",{children:p("linearGradient",{id:"img-checked-facility_svg__a",x1:20,x2:40,y1:0,y2:40,gradientUnits:"userSpaceOnUse",children:[r("stop",{stopColor:"#F1FAF7"}),r("stop",{offset:1,stopColor:"#E2EDEF"})]})})]})}const OS=B(PS);function HS(e){return p("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 40 40",...e,children:[r("circle",{cx:20,cy:20,r:20,fill:"url(#img-checklist_svg__a)"}),r("rect",{width:15,height:15,x:15.666,y:15,fill:"#61CBB5",rx:3}),r("rect",{width:16,height:16,x:10,y:10,fill:"#fff",stroke:"#333",strokeWidth:2,rx:3}),r("path",{stroke:"#333",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"m14 17.4 3 3.6 5-6"}),r("defs",{children:p("linearGradient",{id:"img-checklist_svg__a",x1:20,x2:40,y1:0,y2:40,gradientUnits:"userSpaceOnUse",children:[r("stop",{stopColor:"#F1FAF7"}),r("stop",{offset:1,stopColor:"#E2EDEF"})]})})]})}const $S=B(HS);function US(e){return p("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 40 40",...e,children:[r("circle",{cx:20,cy:20,r:20,fill:"url(#img-facility_svg__a)"}),r("ellipse",{cx:20,cy:31,fill:"#61CBB5",rx:6,ry:2}),r("path",{fill:"#fff",fillRule:"evenodd",stroke:"#333",strokeLinejoin:"round",strokeWidth:2,d:"M20 10c-4.64 0-8 3.232-8 8.053.054 4.137 2.444 7.94 7.267 11.43l.366.26.313.22.056.037.371-.254c4.876-3.39 7.38-7.073 7.61-11.07l.013-.308.004-.302C28 13.61 24.417 10 20 10Z",clipRule:"evenodd"}),r("circle",{cx:20,cy:18,r:3,stroke:"#333",strokeWidth:2}),r("defs",{children:p("linearGradient",{id:"img-facility_svg__a",x1:20,x2:40,y1:0,y2:40,gradientUnits:"userSpaceOnUse",children:[r("stop",{stopColor:"#F1FAF7"}),r("stop",{offset:1,stopColor:"#E2EDEF"})]})})]})}const zS=B(US);function WS(e){return p("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 40 40",...e,children:[r("circle",{cx:20,cy:20,r:20,fill:"url(#img-pending_svg__a)"}),r("rect",{width:15,height:15,x:15.334,y:15,fill:"#FF7979",rx:3}),r("rect",{width:16,height:16,x:10,y:10,fill:"#fff",stroke:"#333",strokeWidth:2,rx:3}),r("path",{fill:"#333",fillRule:"evenodd",d:"M15.5 18a1 1 0 1 1-2 0 1 1 0 0 1 2 0Zm3.5 0a1 1 0 1 1-2 0 1 1 0 0 1 2 0Zm2.5 1a1 1 0 1 0 0-2 1 1 0 0 0 0 2Z",clipRule:"evenodd"}),r("defs",{children:p("linearGradient",{id:"img-pending_svg__a",x1:20,x2:40,y1:0,y2:40,gradientUnits:"userSpaceOnUse",children:[r("stop",{stopColor:"#FAF1F1"}),r("stop",{offset:1,stopColor:"#EFE2E2"})]})})]})}const GS=B(WS);function jS(e){return p("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 40 40",...e,children:[r("circle",{cx:20,cy:20,r:20,fill:"url(#img-resolved_svg__a)"}),r("rect",{width:15,height:15,x:15.334,y:15,fill:"#3299FE",rx:3}),r("rect",{width:16,height:16,x:10,y:10,fill:"#fff",stroke:"#333",strokeWidth:2,rx:3}),r("path",{stroke:"#333",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"m14.5 17.8 2.625 2.7L21.5 16"}),r("defs",{children:p("linearGradient",{id:"img-resolved_svg__a",x1:20,x2:40,y1:0,y2:40,gradientUnits:"userSpaceOnUse",children:[r("stop",{stopColor:"#F1F6FA"}),r("stop",{offset:1,stopColor:"#E2E7EF"})]})})]})}const NS=B(jS);function XS(e){return p("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 40 40",...e,children:[r("circle",{cx:20,cy:20,r:20,fill:"url(#img-scheduled_svg__a)"}),r("rect",{width:17,height:17,x:11.5,y:11.5,fill:"#fff",stroke:"#333",strokeWidth:2,rx:3}),r("rect",{width:2,height:3,x:23.5,y:9,fill:"#333",rx:1}),r("rect",{width:2,height:3,x:14.5,y:9,fill:"#333",rx:1}),r("path",{stroke:"#333",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"m16.5 20.8 2.625 2.7L23.5 19"}),r("path",{fill:"#61CBB5",d:"M12.5 14.5a2 2 0 0 1 2-2h11a2 2 0 0 1 2 2v1h-15v-1Z"}),r("defs",{children:p("linearGradient",{id:"img-scheduled_svg__a",x1:20,x2:40,y1:0,y2:40,gradientUnits:"userSpaceOnUse",children:[r("stop",{stopColor:"#F1FAF7"}),r("stop",{offset:1,stopColor:"#E2EDEF"})]})})]})}const YS=B(XS);function KS(e){return p("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 100 100",...e,children:[r("g",{filter:"url(#img-tutorial01_svg__a)",children:r("rect",{width:74,height:70,x:13.75,y:11.5,fill:"#fff",rx:6})}),r("rect",{width:41,height:4,x:38.75,y:61.5,fill:"#EBEEEF",rx:1}),r("rect",{width:34,height:4,x:38.75,y:67.5,fill:"#EBEEEF",rx:1}),r("rect",{width:13.8,height:13.8,x:20.35,y:59.1,stroke:"#02B585",strokeWidth:1.2,rx:2.4}),r("path",{stroke:"#333",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.7,d:"m23.25 65.356 3.232 3.144 4.768-5"}),r("rect",{width:41,height:4,x:38.75,y:39.5,fill:"#EBEEEF",rx:1}),r("rect",{width:34,height:4,x:38.75,y:46.5,fill:"#EBEEEF",rx:1}),r("rect",{width:13.8,height:13.8,x:20.35,y:38.1,stroke:"#02B585",strokeWidth:1.2,rx:2.4}),r("path",{stroke:"#333",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.7,d:"m23.25 44.356 3.232 3.144 4.768-5"}),r("circle",{cx:79.25,cy:71.5,r:17,fill:"#02B585"}),r("path",{stroke:"#fff",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M72.279 71.461h14M79.278 64.461v14"}),r("path",{fill:"#02B585",d:"M23.158 27.598c-1.836 0-2.959-1.314-2.959-3.633 0-2.32 1.123-3.633 2.96-3.633 1.835 0 2.963 1.323 2.958 3.633.005 2.324-1.123 3.633-2.959 3.633Zm-1.25-3.633c-.005 1.567.498 2.275 1.25 2.275s1.255-.708 1.25-2.275c0-1.543-.498-2.28-1.25-2.285-.747.005-1.245.742-1.25 2.285Zm7.94 3.633c-1.665 0-2.867-.86-2.862-2.012-.005-.879.699-1.592 1.592-1.729v-.048c-.781-.147-1.328-.787-1.328-1.563 0-1.108 1.099-1.914 2.598-1.914 1.489 0 2.587.81 2.587 1.914 0 .781-.561 1.416-1.328 1.563v.048c.88.137 1.592.85 1.592 1.729 0 1.152-1.201 2.012-2.851 2.012Zm-1.114-2.188c-.005.557.45.952 1.114.957.654-.005 1.103-.4 1.103-.957 0-.556-.469-.967-1.103-.967-.65 0-1.118.406-1.114.967Zm.147-2.988c-.005.513.4.879.967.879.556 0 .962-.366.957-.88.005-.502-.396-.858-.957-.858-.572 0-.972.356-.967.859Z"}),r("path",{fill:"#333",d:"M36.81 26.67a.877.877 0 0 1-.878-.889c-.01-.478.395-.869.878-.869.47 0 .884.39.89.87a.905.905 0 0 1-.89.888Zm-.878-4.541c-.01-.479.395-.87.878-.87.47 0 .884.391.89.87a.905.905 0 0 1-.89.889.877.877 0 0 1-.878-.89Zm7.988 5.469c-1.836 0-2.96-1.314-2.96-3.633 0-2.32 1.124-3.633 2.96-3.633 1.836 0 2.964 1.323 2.959 3.633.005 2.324-1.123 3.633-2.96 3.633Zm-1.25-3.633c-.005 1.567.498 2.275 1.25 2.275s1.255-.708 1.25-2.275c0-1.543-.498-2.28-1.25-2.285-.747.005-1.245.742-1.25 2.285Zm8.066 3.633c-1.836 0-2.959-1.314-2.959-3.633 0-2.32 1.123-3.633 2.96-3.633 1.835 0 2.963 1.323 2.958 3.633.005 2.324-1.123 3.633-2.959 3.633Zm-1.25-3.633c-.005 1.567.498 2.275 1.25 2.275s1.255-.708 1.25-2.275c0-1.543-.498-2.28-1.25-2.285-.747.005-1.245.742-1.25 2.285Z"}),r("defs",{children:p("filter",{id:"img-tutorial01_svg__a",width:94,height:90,x:3.75,y:3.5,colorInterpolationFilters:"sRGB",filterUnits:"userSpaceOnUse",children:[r("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),r("feColorMatrix",{in:"SourceAlpha",result:"hardAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"}),r("feOffset",{dy:2}),r("feGaussianBlur",{stdDeviation:5}),r("feColorMatrix",{values:"0 0 0 0 0.141176 0 0 0 0 0.454902 0 0 0 0 0.368627 0 0 0 0.2 0"}),r("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_1234_249"}),r("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_1234_249",result:"shape"})]})})]})}const qS=B(KS);function QS(e){return p("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 100 100",...e,children:[r("g",{filter:"url(#img-tutorial02_svg__a)",children:r("rect",{width:66,height:22,x:14,y:14,fill:"#fff",rx:3})}),r("rect",{width:37,height:3,x:36,y:20,fill:"#EBEEEF",rx:1}),r("rect",{width:31,height:3,x:36,y:26,fill:"#EBEEEF",rx:1}),r("rect",{width:13.8,height:13.8,x:18.6,y:17.6,stroke:"#02B585",strokeWidth:1.2,rx:2.4}),r("path",{stroke:"#333",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.7,d:"M21.5 23.856 24.732 27l4.768-5"}),r("rect",{width:65,height:22,x:14.5,y:43.5,fill:"#DFF9F2",stroke:"#92BBB0",strokeDasharray:2.3,rx:2.5}),r("rect",{width:37,height:3,x:36,y:50,fill:"#BDE2D8",rx:1}),r("rect",{width:31,height:3,x:36,y:56,fill:"#BDE2D8",rx:1}),r("rect",{width:13,height:13,x:19,y:48,fill:"#BDE2D8",rx:3}),r("ellipse",{cx:69.507,cy:84.563,fill:"#A2D7C9",rx:18.666,ry:6.436}),r("path",{fill:"#02B585",fillRule:"evenodd",d:"M84.5 69.344c4.014-3.957 6.5-9.44 6.5-15.501C91 41.779 81.15 32 69 32s-22 9.78-22 21.843c0 6.228 2.625 11.847 6.837 15.826l12.196 13.736a4 4 0 0 0 5.982 0L84.5 69.345Z",clipRule:"evenodd"}),r("circle",{cx:69,cy:53,r:11,fill:"#fff"}),r("defs",{children:p("filter",{id:"img-tutorial02_svg__a",width:82,height:38,x:6,y:8,colorInterpolationFilters:"sRGB",filterUnits:"userSpaceOnUse",children:[r("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),r("feColorMatrix",{in:"SourceAlpha",result:"hardAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"}),r("feOffset",{dy:2}),r("feGaussianBlur",{stdDeviation:4}),r("feColorMatrix",{values:"0 0 0 0 0.141176 0 0 0 0 0.454902 0 0 0 0 0.368627 0 0 0 0.2 0"}),r("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_1234_231"}),r("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_1234_231",result:"shape"})]})})]})}const JS=B(QS);function eI(e){return p("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 101 100",...e,children:[r("g",{filter:"url(#img-tutorial03_svg__a)",children:r("rect",{width:74,height:74,x:10,y:9,fill:"#fff",rx:6})}),r("rect",{width:26,height:11,x:19,y:21,fill:"#D9F4ED",rx:1}),r("rect",{width:40,height:11,x:19,y:35,fill:"#EBEEEF",rx:1}),r("rect",{width:26,height:3,x:19,y:54,fill:"#EBEEEF",rx:1}),p("g",{filter:"url(#img-tutorial03_svg__b)",children:[r("rect",{width:29.947,height:30.785,x:57.976,y:56.848,fill:"#fff",rx:3}),r("path",{fill:"#333",fillRule:"evenodd",d:"M62.254 61.177h7.29v7.376h-7.29v-7.376Zm1.215 6.147h4.86v-4.917h-4.86v4.917Z",clipRule:"evenodd"}),r("path",{fill:"#333",d:"M64.684 63.636h2.43v2.459h-2.43z"}),r("path",{fill:"#333",fillRule:"evenodd",d:"M76.832 68.553v-7.376h7.289v7.376h-7.289Zm1.215-1.23h4.859v-4.916h-4.86v4.917Z",clipRule:"evenodd"}),r("path",{fill:"#333",d:"M79.262 63.636h2.43v2.459h-2.43z"}),r("path",{fill:"#333",fillRule:"evenodd",d:"M69.543 83.304h-7.289V75.93h7.29v7.375Zm-1.215-6.146H63.47v4.917h4.86v-4.917Z",clipRule:"evenodd"}),r("path",{fill:"#333",d:"M64.684 78.387h2.43v2.459h-2.43zM72.58 61.177h3.037v1.229H72.58zM73.49 66.71h1.367v-1.435h1.367v-1.434h-4.1v-1.434h-1.367v2.868h2.734v1.434ZM70.757 66.709h1.215v1.229h-1.215zM76.224 67.938h-1.367v1.537h-4.1v1.536h5.467v-3.073ZM63.773 73.93h1.518v-1.382h-1.518v-2.766h-1.519v5.531h1.519V73.93ZM65.291 69.782h1.215v1.229h-1.215zM70.88 75.313h2.915V73.93h-1.458v-1.382H69.42v-2.766h-1.457v2.766h-1.458v2.765h1.458V73.93h2.915v1.383ZM74.402 71.626h1.215v3.073h-1.215zM75.13 75.929h-4.373v1.475h2.916v4.425h-2.916v1.475h4.374V81.83h2.915v-1.475h-2.915v-4.425Z"}),r("path",{fill:"#333",d:"M70.757 79.001h1.215v1.229h-1.215zM75.617 75.929h1.215v3.073h-1.215zM82.906 79.001h-4.252v4.303h1.418v-2.868h2.834V79Z"}),r("path",{fill:"#333",d:"M81.084 82.075h3.037v1.229h-3.037zM82.906 76.543h1.215v1.229h-1.215zM78.35 77.772h1.519V73.47h-3.037v1.434h1.519v2.868ZM81.205 71.318h-1.457v-1.536H78.29v1.536h-1.458v1.537h5.831v-1.537h1.458v-1.536h-2.916v1.536ZM81.084 73.47h3.037v1.229h-3.037z"})]}),r("path",{fill:"url(#img-tutorial03_svg__c)",d:"M54.4 59a6 6 0 0 1 6-6h25.105a6 6 0 0 1 6 6v12.548H54.4V59Z",opacity:.803}),r("path",{stroke:"#02B585",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M62.563 53H59.4a5 5 0 0 0-5 5v3.26M62.563 91H59.4a5 5 0 0 1-5-5v-3.26M83.788 53h3.164a5 5 0 0 1 5 5v3.26M83.79 91h3.163a5 5 0 0 0 5-5v-3.26"}),r("path",{stroke:"#fff",strokeWidth:1.2,d:"M54.176 71.321H91.73"}),p("defs",{children:[p("filter",{id:"img-tutorial03_svg__a",width:94,height:94,x:0,y:1,colorInterpolationFilters:"sRGB",filterUnits:"userSpaceOnUse",children:[r("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),r("feColorMatrix",{in:"SourceAlpha",result:"hardAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"}),r("feOffset",{dy:2}),r("feGaussianBlur",{stdDeviation:5}),r("feComposite",{in2:"hardAlpha",operator:"out"}),r("feColorMatrix",{values:"0 0 0 0 0.141176 0 0 0 0 0.454902 0 0 0 0 0.368627 0 0 0 0.2 0"}),r("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_1234_211"}),r("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_1234_211",result:"shape"})]}),p("filter",{id:"img-tutorial03_svg__b",width:49.948,height:50.785,x:47.976,y:48.848,colorInterpolationFilters:"sRGB",filterUnits:"userSpaceOnUse",children:[r("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),r("feColorMatrix",{in:"SourceAlpha",result:"hardAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"}),r("feOffset",{dy:2}),r("feGaussianBlur",{stdDeviation:5}),r("feColorMatrix",{values:"0 0 0 0 0.141176 0 0 0 0 0.454902 0 0 0 0 0.368627 0 0 0 0.2 0"}),r("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_1234_211"}),r("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_1234_211",result:"shape"})]}),p("linearGradient",{id:"img-tutorial03_svg__c",x1:47.542,x2:47.542,y1:46.144,y2:71.548,gradientUnits:"userSpaceOnUse",children:[r("stop",{stopColor:"#02B585",stopOpacity:.33}),r("stop",{offset:1,stopColor:"#9EE1CF",stopOpacity:.288})]})]})]})}const tI=B(eI);function iI(e){return p("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 48 48",...e,children:[r("rect",{width:48,height:48,fill:"#D8F2EB",opacity:.6,rx:16}),r("path",{fill:"#8DE8D1",d:"M13 28.4h11v13l-11-4v-9Z"}),r("path",{fill:"#4DC9AA",d:"M35 28.4H24v13l11-4v-9Z"}),r("path",{fill:"#48CEAD",d:"M13.2 25.2 24 23.8v4.6l-10.8-3.2Z"}),r("path",{fill:"#8CEDD5",d:"M34.8 25.2 24 23.8v4.6l10.8-3.2Z"}),r("path",{fill:"url(#img-upgrade_svg__a)",d:"M13 7.6h22l-5.6 20.8H18.6L13 7.6Z",opacity:.6}),r("path",{fill:"#77D5BB",d:"M21.024 10.72a.2.2 0 0 1 .351 0l.928 1.697a.199.199 0 0 0 .08.08l1.696.927a.2.2 0 0 1 0 .351l-1.696.928a.199.199 0 0 0-.08.08l-.928 1.696a.2.2 0 0 1-.35 0l-.928-1.696a.199.199 0 0 0-.08-.08l-1.696-.928a.2.2 0 0 1 0-.35l1.696-.928a.199.199 0 0 0 .08-.08l.927-1.696ZM26.825 17.12a.2.2 0 0 1 .35 0l.645 1.18a.201.201 0 0 0 .08.08l1.18.644a.2.2 0 0 1 0 .351l-1.18.645a.201.201 0 0 0-.08.08l-.644 1.179a.2.2 0 0 1-.351 0l-.645-1.18a.201.201 0 0 0-.08-.079l-1.18-.645a.2.2 0 0 1 0-.35l1.18-.646a.201.201 0 0 0 .08-.08l.645-1.178Z"}),r("path",{fill:"#C8FEF0",d:"M13.2 25.2 24 28.4l-3.2 4-10.4-3.6 2.8-3.6Z"}),r("path",{fill:"#A1F9E3",d:"M34.8 25.2 24 28.4l3.2 4 10.4-3.6-2.8-3.6Z"}),r("defs",{children:p("linearGradient",{id:"img-upgrade_svg__a",x1:24,x2:24,y1:7.6,y2:28.4,gradientUnits:"userSpaceOnUse",children:[r("stop",{stopColor:"#64DFC0",stopOpacity:0}),r("stop",{offset:.989,stopColor:"#64DFC0"})]})})]})}const nI=B(iI),rI=Object.freeze(Object.defineProperty({__proto__:null,SubtractIcon:mb,AddIcon:wb,AdminIcon:_b,AlbumIcon:Mb,AlertIcon:Sb,BellIcon:Cb,CalendarIcon:Rb,CameraIcon:Fb,CancelIcon:Eb,CheckActiveIcon:Db,CheckDefaultIcon:Vb,CheckIcon:Ob,CheckboxIcon:$b,ChecklistIcon:zb,CloseIcon:Gb,CompletedIcon:Nb,CopyIcon:Yb,CrewIcon:qb,DeleteIcon:Jb,DownArrowSolidIcon:tM,DownArrowIcon:nM,DownloadIcon:oM,DragIcon:lM,DrawerIcon:cM,EditIcon:hM,EmailIcon:uM,ErrorIcon:gM,ExcelIcon:mM,FilterIcon:wM,FingerIcon:_M,GradeBadgeIcon:MM,HelpCenterIcon:SM,HelpIcon:CM,HomeIcon:RM,InfoMediumIcon:FM,InfoIcon:EM,IssueIcon:DM,IssuesIcon:VM,LanguageIcon:OM,LeftArrowIcon:$M,LinkIcon:zM,ListEditIcon:GM,LogoutIcon:NM,MemoIcon:YM,MenuIcon:qM,MobileviewIcon:JM,MoreIcon:tZ,NewBellIcon:nZ,NewIssueIcon:oZ,NewReportIcon:lZ,NewTabIcon:cZ,NextIcon:hZ,NoticeLineIcon:uZ,NoticeIcon:gZ,OverviewIcon:mZ,PasswordIcon:wZ,PhoneIcon:_Z,PlaceIcon:MZ,QrcodeIcon:SZ,RadioIcon:CZ,ReadChecklistIcon:RZ,ReadIssueIcon:FZ,ReadReportIcon:EZ,RefreshIcon:DZ,RemoveIcon:VZ,RightArrowIcon:OZ,SearchIcon:$Z,SectionIcon:zZ,SettingFillIcon:GZ,SettingIcon:NZ,SheetIcon:YZ,SliderIcon:qZ,StatisticActiveIcon:JZ,StatisticDefaultIcon:tS,StatisticsIcon:nS,TextIcon:oS,TimeIcon:lS,TrashIcon:cS,TutorialCompletedIcon:hS,TutorialIcon:uS,UpArrowSolidIcon:gS,UpArrowIcon:mS,UserIcon:wS,ViewOffIcon:_S,ViewOnIcon:MS,WorkerIcon:SS,YesnoIcon:CS,EnglishIllustration:RS,KoreanIllustration:FS,AlertIllustration:ES,AssigneesIllustration:DS,AverageIllustration:VS,CheckedFacilityIllustration:OS,ChecklistIllustration:$S,FacilityIllustration:zS,PendingIllustration:GS,ResolvedIllustration:NS,ScheduledIllustration:YS,Tutorial01Illustration:qS,Tutorial02Illustration:JS,Tutorial03Illustration:tI,UpgradeIllustration:nI,isShoplIcon:gb,createIcon:B},Symbol.toStringTag,{value:"Module"}));M.exports.createContext({domain:"SHOPL",handleToggleTheme:()=>{}});const Wn=(e,t)=>{const i=t!=null?t:q5(),n=rI[e],o=G_[e];return i==="hada"?n:o},oI=(e,t,i)=>t&&e<t?String(t):i&&e>i?String(i):String(e);M.exports.forwardRef(({onFocus:e,onBlur:t,onChange:i,onClear:n,defaultValue:o,value:s,isError:l,disabled:a,type:c,maxLength:d,min:h,max:f,className:u,width:g,borderRadius:v,customNumberInputHeight:m,onKeyDown:w,..._},Z)=>{const[b,I]=M.exports.useState(""),[A,T]=M.exports.useState(!1),[k,L]=M.exports.useState(c),[O,U]=M.exports.useState(!1),N=M.exports.useId(),H=Dt.useRef(null),P=Tr(Z,H),E=M.exports.useCallback(j=>typeof j!="number"?typeof j=="string"?j:j.join(""):String(j),[]),S=M.exports.useCallback(j=>d&&j.length>d?j.slice(0,d):j,[d]),F=()=>{U(!0)},D=()=>{U(!1)},$=j=>{e&&e(j),T(!0)},C=j=>{t&&t(j)},X=j=>{j.code==="Tab"&&T(!1),w&&w(j)},z=j=>{i&&i(j);const ie=S(j.target.value);if(k==="number"){const J=Number(ie),Me=Number(h),Oe=Number(f),Ie=oI(J,Me,Oe);I(Ie);return}I(ie)},K=()=>{n&&n(),H.current&&(I(""),H.current.value="")},ge=()=>{L(k==="password"?"text":"password")};return M.exports.useEffect(()=>{if(o!==void 0){const j=E(o),ie=S(j);I(ie)}},[E,o,d,S]),M.exports.useEffect(()=>{var j;if(s!==void 0){const ie=E(s),J=S(ie);(j=H.current)!=null&&j.value&&(H.current.value=J),I(J)}},[E,d,S,s]),M.exports.useEffect(()=>{L(c)},[c]),p(U1,{htmlFor:N,isFocused:A,disabled:a,isError:l,isHovered:O,onMouseEnter:F,onMouseLeave:D,type:k,width:g,height:"40px",maxHeight:"40px","data-shoplflow":"input",borderRadius:v,customNumberInputHeight:m,children:[r(fb,{onFocus:$,onBlur:C,onChange:z,onKeyDown:X,maxLength:d,disabled:a,value:b,type:k,id:N,ref:P,className:"body1_400"+(u?` ${u}`:""),..._}),k!=="number"&&p(ub,{children:[d&&A&&r(i5,{currentLength:String(b).length,maxLength:d}),A&&Boolean(String(b).length>0)&&r(Qi,{sizeVar:"S",onClick:K,styleVar:"GHOST",children:r(X0,{iconSource:Wn("DeleteIcon"),color:"neutral350"})}),c==="password"&&r(Qi,{sizeVar:"S",onClick:ge,styleVar:"GHOST",children:r(X0,{color:"neutral600",iconSource:Wn(k==="password"?"ViewOffIcon":"ViewOnIcon")})})]})]})});const sI=V.div`
|
|
878
878
|
display: flex;
|
|
879
879
|
flex-direction: row;
|
|
880
880
|
align-items: center;
|
|
@@ -897,7 +897,7 @@ var U5=Object.defineProperty;var z5=(e,t,i)=>t in e?U5(e,t,{enumerable:!0,config
|
|
|
897
897
|
&::placeholder {
|
|
898
898
|
color: ${y.neutral350};
|
|
899
899
|
}
|
|
900
|
-
`;M.exports.forwardRef(({value:e,defaultValue:t,onChange:i,onClick:n,isSelected:o,disabled:s=!1,useClear:l=!0,rightSource:a,onClear:c,width:d="100%",...h},f)=>{var
|
|
900
|
+
`;M.exports.forwardRef(({value:e,defaultValue:t,onChange:i,onClick:n,isSelected:o,disabled:s=!1,useClear:l=!0,rightSource:a,onClear:c,width:d="100%",...h},f)=>{var T,k;const[u,g]=M.exports.useState((T=e!=null?e:t)!=null?T:""),[v,m]=M.exports.useState(!1),w=M.exports.useRef((k=e!=null?e:t)!=null?k:""),_=M.exports.useCallback(L=>typeof L!="number"?typeof L=="string"?L:L.join(""):String(L),[]),Z=L=>{s||n&&n(L)},b=L=>{L.preventDefault(),L.stopPropagation(),s||(c&&c(L),g(""))},I=()=>{m(!0)},A=()=>{m(!1)};return M.exports.useEffect(()=>{if(w.current!==e&&(e||e==="")){const L=_(e);g(L),w.current=L}},[_,e]),M.exports.useEffect(()=>{w.current!==e&&i&&i(_(u))},[_,i,e,u]),r(U1,{onMouseEnter:I,onMouseLeave:A,"data-shoplflow":"InputButton",isHovered:v,isFocused:o,disabled:s,minHeight:"40px",maxHeight:"40px",width:d,children:p(sI,{onClick:Z,disabled:s,children:[r(lI,{className:"body1_400",value:u,ref:f,...h}),p(Ae.Horizontal,{align:"center",children:[l&&u&&r(Qi,{sizeVar:"S",onClick:b,styleVar:"GHOST",disabled:s,children:r(X0,{iconSource:Wn("DeleteIcon"),color:"neutral350"})}),a]})]})})});const aI=V.div`
|
|
901
901
|
display: flex;
|
|
902
902
|
width: 100%;
|
|
903
903
|
flex-direction: row;
|
|
@@ -916,7 +916,7 @@ var U5=Object.defineProperty;var z5=(e,t,i)=>t in e?U5(e,t,{enumerable:!0,config
|
|
|
916
916
|
&::placeholder {
|
|
917
917
|
color: ${y.neutral350};
|
|
918
918
|
}
|
|
919
|
-
`;M.exports.forwardRef(({name:e,maxLength:t,placeholder:i,disabled:n=!1,isError:o=!1,onChange:s,value:l,defaultValue:a,onBlur:c,onFocus:d,minHeight:h="100px",width:f,height:u,className:g,...v},m)=>{const[w,_]=M.exports.useState(""),[Z,b]=M.exports.useState(!1),[I,A]=M.exports.useState(!1),
|
|
919
|
+
`;M.exports.forwardRef(({name:e,maxLength:t,placeholder:i,disabled:n=!1,isError:o=!1,onChange:s,value:l,defaultValue:a,onBlur:c,onFocus:d,minHeight:h="100px",width:f,height:u,className:g,...v},m)=>{const[w,_]=M.exports.useState(""),[Z,b]=M.exports.useState(!1),[I,A]=M.exports.useState(!1),T=()=>{A(!0)},k=()=>{A(!1)},L=P=>{d&&d(P),b(!0)},O=P=>{c&&c(P),!I&&b(!1)},U=P=>{s&&s(P),_(P.target.value)},N=P=>typeof P!="number"?typeof P=="string"?P:P.join(""):String(P);M.exports.useEffect(()=>{if(a){const P=N(a);t&&P.length>t&&_(P),_(P)}},[a,t]),M.exports.useEffect(()=>{if(l){const P=N(l);t&&P.length>t&&_(P),_(N(l))}},[t,l]);const H=M.exports.useId();return p(U1,{htmlFor:H,isFocused:Z,disabled:n,isHovered:I,isError:o,direction:"column",onMouseEnter:T,onMouseLeave:k,height:u,minHeight:h,width:f,"data-shoplflow":"text-area",children:[r(cI,{className:"body1_400"+(g?` ${g}`:""),placeholder:i,onFocus:L,onBlur:O,onChange:U,name:e,id:H,value:l,ref:m,maxLength:t,disabled:n,...v}),r(aI,{children:t&&r(i5,{currentLength:String(w).length,maxLength:t})})]})});V.div`
|
|
920
920
|
display: flex;
|
|
921
921
|
flex-direction: row;
|
|
922
922
|
align-items: center;
|
|
@@ -1020,7 +1020,7 @@ var U5=Object.defineProperty;var z5=(e,t,i)=>t in e?U5(e,t,{enumerable:!0,config
|
|
|
1020
1020
|
align-items: center;
|
|
1021
1021
|
width: 32px;
|
|
1022
1022
|
height: 32px;
|
|
1023
|
-
border-radius: ${
|
|
1023
|
+
border-radius: ${Te.borderRadius08};
|
|
1024
1024
|
background-color: ${({isActive:e})=>e?y.neutral300:y.neutral0};
|
|
1025
1025
|
font-size: 13px;
|
|
1026
1026
|
font-weight: ${({isActive:e})=>e&&"600"};
|
|
@@ -1051,7 +1051,7 @@ var U5=Object.defineProperty;var z5=(e,t,i)=>t in e?U5(e,t,{enumerable:!0,config
|
|
|
1051
1051
|
padding: ${Er.spacing04};
|
|
1052
1052
|
align-items: center;
|
|
1053
1053
|
background-color: ${y.neutral150};
|
|
1054
|
-
border-radius: ${
|
|
1054
|
+
border-radius: ${Te.borderRadius06};
|
|
1055
1055
|
`;const xI=V.button`
|
|
1056
1056
|
height: fit-content;
|
|
1057
1057
|
width: fit-content;
|
|
@@ -1666,7 +1666,7 @@ var U5=Object.defineProperty;var z5=(e,t,i)=>t in e?U5(e,t,{enumerable:!0,config
|
|
|
1666
1666
|
&:hover {
|
|
1667
1667
|
background-color: ${y.primary100};
|
|
1668
1668
|
}
|
|
1669
|
-
`},ZI=e=>{const{inRange:t,isStart:i,isEnd:n,isReady:o,disabled:s}=e;if(i&&o&&!n)return R`
|
|
1669
|
+
`},ZI=e=>{const{inRange:t,isStart:i,isEnd:n,isReady:o,disabled:s}=e;if(!(i&&n)){if(i&&o&&!n)return R`
|
|
1670
1670
|
&::after {
|
|
1671
1671
|
content: '';
|
|
1672
1672
|
position: absolute;
|
|
@@ -1691,7 +1691,7 @@ var U5=Object.defineProperty;var z5=(e,t,i)=>t in e?U5(e,t,{enumerable:!0,config
|
|
|
1691
1691
|
color: ${y.neutral700};
|
|
1692
1692
|
`;if(s)return R`
|
|
1693
1693
|
cursor: not-allowed;
|
|
1694
|
-
`};V.div`
|
|
1694
|
+
`}};V.div`
|
|
1695
1695
|
display: flex;
|
|
1696
1696
|
flex-direction: column;
|
|
1697
1697
|
width: 400px;
|
|
@@ -1787,7 +1787,7 @@ var U5=Object.defineProperty;var z5=(e,t,i)=>t in e?U5(e,t,{enumerable:!0,config
|
|
|
1787
1787
|
&:hover {
|
|
1788
1788
|
background-color: ${y.primary100};
|
|
1789
1789
|
}
|
|
1790
|
-
`},AI=e=>{const{inRange:t,isStart:i,isEnd:n,isReady:o,disabled:s}=e;if(i&&
|
|
1790
|
+
`},AI=e=>{const{inRange:t,isStart:i,isEnd:n,isReady:o,disabled:s}=e;if(!(i&&n)){if(i&&o)return R`
|
|
1791
1791
|
&::after {
|
|
1792
1792
|
content: '';
|
|
1793
1793
|
position: absolute;
|
|
@@ -1812,7 +1812,7 @@ var U5=Object.defineProperty;var z5=(e,t,i)=>t in e?U5(e,t,{enumerable:!0,config
|
|
|
1812
1812
|
color: ${y.neutral700};
|
|
1813
1813
|
`;if(s)return R`
|
|
1814
1814
|
cursor: not-allowed;
|
|
1815
|
-
`};V.div`
|
|
1815
|
+
`}};V.div`
|
|
1816
1816
|
display: flex;
|
|
1817
1817
|
flex-direction: column;
|
|
1818
1818
|
width: 400px;
|
|
@@ -1861,19 +1861,19 @@ var U5=Object.defineProperty;var z5=(e,t,i)=>t in e?U5(e,t,{enumerable:!0,config
|
|
|
1861
1861
|
* https://github.com/kurkle/color#readme
|
|
1862
1862
|
* (c) 2023 Jukka Kurkela
|
|
1863
1863
|
* Released under the MIT License
|
|
1864
|
-
*/function li(e){return e+.5|0}const vt=(e,t,i)=>Math.max(Math.min(e,i),t);function M0(e){return vt(li(e*2.55),0,255)}function yt(e){return vt(li(e*255),0,255)}function lt(e){return vt(li(e/2.55)/100,0,1)}function Ms(e){return vt(li(e*100),0,100)}const
|
|
1864
|
+
*/function li(e){return e+.5|0}const vt=(e,t,i)=>Math.max(Math.min(e,i),t);function M0(e){return vt(li(e*2.55),0,255)}function yt(e){return vt(li(e*255),0,255)}function lt(e){return vt(li(e/2.55)/100,0,1)}function Ms(e){return vt(li(e*100),0,100)}const Ue={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,A:10,B:11,C:12,D:13,E:14,F:15,a:10,b:11,c:12,d:13,e:14,f:15},Gn=[..."0123456789ABCDEF"],EI=e=>Gn[e&15],LI=e=>Gn[(e&240)>>4]+Gn[e&15],gi=e=>(e&240)>>4===(e&15),DI=e=>gi(e.r)&&gi(e.g)&&gi(e.b)&&gi(e.a);function TI(e){var t=e.length,i;return e[0]==="#"&&(t===4||t===5?i={r:255&Ue[e[1]]*17,g:255&Ue[e[2]]*17,b:255&Ue[e[3]]*17,a:t===5?Ue[e[4]]*17:255}:(t===7||t===9)&&(i={r:Ue[e[1]]<<4|Ue[e[2]],g:Ue[e[3]]<<4|Ue[e[4]],b:Ue[e[5]]<<4|Ue[e[6]],a:t===9?Ue[e[7]]<<4|Ue[e[8]]:255})),i}const VI=(e,t)=>e<255?t(e):"";function PI(e){var t=DI(e)?EI:LI;return e?"#"+t(e.r)+t(e.g)+t(e.b)+VI(e.a,t):void 0}const OI=/^(hsla?|hwb|hsv)\(\s*([-+.e\d]+)(?:deg)?[\s,]+([-+.e\d]+)%[\s,]+([-+.e\d]+)%(?:[\s,]+([-+.e\d]+)(%)?)?\s*\)$/;function r5(e,t,i){const n=t*Math.min(i,1-i),o=(s,l=(s+e/30)%12)=>i-n*Math.max(Math.min(l-3,9-l,1),-1);return[o(0),o(8),o(4)]}function HI(e,t,i){const n=(o,s=(o+e/60)%6)=>i-i*t*Math.max(Math.min(s,4-s,1),0);return[n(5),n(3),n(1)]}function $I(e,t,i){const n=r5(e,1,.5);let o;for(t+i>1&&(o=1/(t+i),t*=o,i*=o),o=0;o<3;o++)n[o]*=1-t-i,n[o]+=t;return n}function UI(e,t,i,n,o){return e===o?(t-i)/n+(t<i?6:0):t===o?(i-e)/n+2:(e-t)/n+4}function Vr(e){const i=e.r/255,n=e.g/255,o=e.b/255,s=Math.max(i,n,o),l=Math.min(i,n,o),a=(s+l)/2;let c,d,h;return s!==l&&(h=s-l,d=a>.5?h/(2-s-l):h/(s+l),c=UI(i,n,o,h,s),c=c*60+.5),[c|0,d||0,a]}function Pr(e,t,i,n){return(Array.isArray(t)?e(t[0],t[1],t[2]):e(t,i,n)).map(yt)}function Or(e,t,i){return Pr(r5,e,t,i)}function zI(e,t,i){return Pr($I,e,t,i)}function WI(e,t,i){return Pr(HI,e,t,i)}function o5(e){return(e%360+360)%360}function GI(e){const t=OI.exec(e);let i=255,n;if(!t)return;t[5]!==n&&(i=t[6]?M0(+t[5]):yt(+t[5]));const o=o5(+t[2]),s=+t[3]/100,l=+t[4]/100;return t[1]==="hwb"?n=zI(o,s,l):t[1]==="hsv"?n=WI(o,s,l):n=Or(o,s,l),{r:n[0],g:n[1],b:n[2],a:i}}function jI(e,t){var i=Vr(e);i[0]=o5(i[0]+t),i=Or(i),e.r=i[0],e.g=i[1],e.b=i[2]}function NI(e){if(!e)return;const t=Vr(e),i=t[0],n=Ms(t[1]),o=Ms(t[2]);return e.a<255?`hsla(${i}, ${n}%, ${o}%, ${lt(e.a)})`:`hsl(${i}, ${n}%, ${o}%)`}const Zs={x:"dark",Z:"light",Y:"re",X:"blu",W:"gr",V:"medium",U:"slate",A:"ee",T:"ol",S:"or",B:"ra",C:"lateg",D:"ights",R:"in",Q:"turquois",E:"hi",P:"ro",O:"al",N:"le",M:"de",L:"yello",F:"en",K:"ch",G:"arks",H:"ea",I:"ightg",J:"wh"},Ss={OiceXe:"f0f8ff",antiquewEte:"faebd7",aqua:"ffff",aquamarRe:"7fffd4",azuY:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"0",blanKedOmond:"ffebcd",Xe:"ff",XeviTet:"8a2be2",bPwn:"a52a2a",burlywood:"deb887",caMtXe:"5f9ea0",KartYuse:"7fff00",KocTate:"d2691e",cSO:"ff7f50",cSnflowerXe:"6495ed",cSnsilk:"fff8dc",crimson:"dc143c",cyan:"ffff",xXe:"8b",xcyan:"8b8b",xgTMnPd:"b8860b",xWay:"a9a9a9",xgYF:"6400",xgYy:"a9a9a9",xkhaki:"bdb76b",xmagFta:"8b008b",xTivegYF:"556b2f",xSange:"ff8c00",xScEd:"9932cc",xYd:"8b0000",xsOmon:"e9967a",xsHgYF:"8fbc8f",xUXe:"483d8b",xUWay:"2f4f4f",xUgYy:"2f4f4f",xQe:"ced1",xviTet:"9400d3",dAppRk:"ff1493",dApskyXe:"bfff",dimWay:"696969",dimgYy:"696969",dodgerXe:"1e90ff",fiYbrick:"b22222",flSOwEte:"fffaf0",foYstWAn:"228b22",fuKsia:"ff00ff",gaRsbSo:"dcdcdc",ghostwEte:"f8f8ff",gTd:"ffd700",gTMnPd:"daa520",Way:"808080",gYF:"8000",gYFLw:"adff2f",gYy:"808080",honeyMw:"f0fff0",hotpRk:"ff69b4",RdianYd:"cd5c5c",Rdigo:"4b0082",ivSy:"fffff0",khaki:"f0e68c",lavFMr:"e6e6fa",lavFMrXsh:"fff0f5",lawngYF:"7cfc00",NmoncEffon:"fffacd",ZXe:"add8e6",ZcSO:"f08080",Zcyan:"e0ffff",ZgTMnPdLw:"fafad2",ZWay:"d3d3d3",ZgYF:"90ee90",ZgYy:"d3d3d3",ZpRk:"ffb6c1",ZsOmon:"ffa07a",ZsHgYF:"20b2aa",ZskyXe:"87cefa",ZUWay:"778899",ZUgYy:"778899",ZstAlXe:"b0c4de",ZLw:"ffffe0",lime:"ff00",limegYF:"32cd32",lRF:"faf0e6",magFta:"ff00ff",maPon:"800000",VaquamarRe:"66cdaa",VXe:"cd",VScEd:"ba55d3",VpurpN:"9370db",VsHgYF:"3cb371",VUXe:"7b68ee",VsprRggYF:"fa9a",VQe:"48d1cc",VviTetYd:"c71585",midnightXe:"191970",mRtcYam:"f5fffa",mistyPse:"ffe4e1",moccasR:"ffe4b5",navajowEte:"ffdead",navy:"80",Tdlace:"fdf5e6",Tive:"808000",TivedBb:"6b8e23",Sange:"ffa500",SangeYd:"ff4500",ScEd:"da70d6",pOegTMnPd:"eee8aa",pOegYF:"98fb98",pOeQe:"afeeee",pOeviTetYd:"db7093",papayawEp:"ffefd5",pHKpuff:"ffdab9",peru:"cd853f",pRk:"ffc0cb",plum:"dda0dd",powMrXe:"b0e0e6",purpN:"800080",YbeccapurpN:"663399",Yd:"ff0000",Psybrown:"bc8f8f",PyOXe:"4169e1",saddNbPwn:"8b4513",sOmon:"fa8072",sandybPwn:"f4a460",sHgYF:"2e8b57",sHshell:"fff5ee",siFna:"a0522d",silver:"c0c0c0",skyXe:"87ceeb",UXe:"6a5acd",UWay:"708090",UgYy:"708090",snow:"fffafa",sprRggYF:"ff7f",stAlXe:"4682b4",tan:"d2b48c",teO:"8080",tEstN:"d8bfd8",tomato:"ff6347",Qe:"40e0d0",viTet:"ee82ee",JHt:"f5deb3",wEte:"ffffff",wEtesmoke:"f5f5f5",Lw:"ffff00",LwgYF:"9acd32"};function XI(){const e={},t=Object.keys(Ss),i=Object.keys(Zs);let n,o,s,l,a;for(n=0;n<t.length;n++){for(l=a=t[n],o=0;o<i.length;o++)s=i[o],a=a.replace(s,Zs[s]);s=parseInt(Ss[l],16),e[a]=[s>>16&255,s>>8&255,s&255]}return e}let vi;function YI(e){vi||(vi=XI(),vi.transparent=[0,0,0,0]);const t=vi[e.toLowerCase()];return t&&{r:t[0],g:t[1],b:t[2],a:t.length===4?t[3]:255}}const KI=/^rgba?\(\s*([-+.\d]+)(%)?[\s,]+([-+.e\d]+)(%)?[\s,]+([-+.e\d]+)(%)?(?:[\s,/]+([-+.e\d]+)(%)?)?\s*\)$/;function qI(e){const t=KI.exec(e);let i=255,n,o,s;if(!!t){if(t[7]!==n){const l=+t[7];i=t[8]?M0(l):vt(l*255,0,255)}return n=+t[1],o=+t[3],s=+t[5],n=255&(t[2]?M0(n):vt(n,0,255)),o=255&(t[4]?M0(o):vt(o,0,255)),s=255&(t[6]?M0(s):vt(s,0,255)),{r:n,g:o,b:s,a:i}}}function QI(e){return e&&(e.a<255?`rgba(${e.r}, ${e.g}, ${e.b}, ${lt(e.a)})`:`rgb(${e.r}, ${e.g}, ${e.b})`)}const vn=e=>e<=.0031308?e*12.92:Math.pow(e,1/2.4)*1.055-.055,jt=e=>e<=.04045?e/12.92:Math.pow((e+.055)/1.055,2.4);function JI(e,t,i){const n=jt(lt(e.r)),o=jt(lt(e.g)),s=jt(lt(e.b));return{r:yt(vn(n+i*(jt(lt(t.r))-n))),g:yt(vn(o+i*(jt(lt(t.g))-o))),b:yt(vn(s+i*(jt(lt(t.b))-s))),a:e.a+i*(t.a-e.a)}}function mi(e,t,i){if(e){let n=Vr(e);n[t]=Math.max(0,Math.min(n[t]+n[t]*i,t===0?360:1)),n=Or(n),e.r=n[0],e.g=n[1],e.b=n[2]}}function s5(e,t){return e&&Object.assign(t||{},e)}function Is(e){var t={r:0,g:0,b:0,a:255};return Array.isArray(e)?e.length>=3&&(t={r:e[0],g:e[1],b:e[2],a:255},e.length>3&&(t.a=yt(e[3]))):(t=s5(e,{r:0,g:0,b:0,a:1}),t.a=yt(t.a)),t}function eC(e){return e.charAt(0)==="r"?qI(e):GI(e)}class Y0{constructor(t){if(t instanceof Y0)return t;const i=typeof t;let n;i==="object"?n=Is(t):i==="string"&&(n=TI(t)||YI(t)||eC(t)),this._rgb=n,this._valid=!!n}get valid(){return this._valid}get rgb(){var t=s5(this._rgb);return t&&(t.a=lt(t.a)),t}set rgb(t){this._rgb=Is(t)}rgbString(){return this._valid?QI(this._rgb):void 0}hexString(){return this._valid?PI(this._rgb):void 0}hslString(){return this._valid?NI(this._rgb):void 0}mix(t,i){if(t){const n=this.rgb,o=t.rgb;let s;const l=i===s?.5:i,a=2*l-1,c=n.a-o.a,d=((a*c===-1?a:(a+c)/(1+a*c))+1)/2;s=1-d,n.r=255&d*n.r+s*o.r+.5,n.g=255&d*n.g+s*o.g+.5,n.b=255&d*n.b+s*o.b+.5,n.a=l*n.a+(1-l)*o.a,this.rgb=n}return this}interpolate(t,i){return t&&(this._rgb=JI(this._rgb,t._rgb,i)),this}clone(){return new Y0(this.rgb)}alpha(t){return this._rgb.a=yt(t),this}clearer(t){const i=this._rgb;return i.a*=1-t,this}greyscale(){const t=this._rgb,i=li(t.r*.3+t.g*.59+t.b*.11);return t.r=t.g=t.b=i,this}opaquer(t){const i=this._rgb;return i.a*=1+t,this}negate(){const t=this._rgb;return t.r=255-t.r,t.g=255-t.g,t.b=255-t.b,this}lighten(t){return mi(this._rgb,2,t),this}darken(t){return mi(this._rgb,2,-t),this}saturate(t){return mi(this._rgb,1,t),this}desaturate(t){return mi(this._rgb,1,-t),this}rotate(t){return jI(this._rgb,t),this}}/*!
|
|
1865
1865
|
* Chart.js v4.4.2
|
|
1866
1866
|
* https://www.chartjs.org
|
|
1867
1867
|
* (c) 2024 Chart.js Contributors
|
|
1868
1868
|
* Released under the MIT License
|
|
1869
|
-
*/function rt(){}const tC=(()=>{let e=0;return()=>e++})();function oe(e){return e===null||typeof e>"u"}function ae(e){if(Array.isArray&&Array.isArray(e))return!0;const t=Object.prototype.toString.call(e);return t.slice(0,7)==="[object"&&t.slice(-6)==="Array]"}function Y(e){return e!==null&&Object.prototype.toString.call(e)==="[object Object]"}function we(e){return(typeof e=="number"||e instanceof Number)&&isFinite(+e)}function Fe(e,t){return we(e)?e:t}function se(e,t){return typeof e>"u"?t:e}const iC=(e,t)=>typeof e=="string"&&e.endsWith("%")?parseFloat(e)/100:+e/t,l5=(e,t)=>typeof e=="string"&&e.endsWith("%")?parseFloat(e)/100*t:+e;function le(e,t,i){if(e&&typeof e.call=="function")return e.apply(i,t)}function Q(e,t,i,n){let o,s,l;if(ae(e))if(s=e.length,n)for(o=s-1;o>=0;o--)t.call(i,e[o],o);else for(o=0;o<s;o++)t.call(i,e[o],o);else if(Y(e))for(l=Object.keys(e),s=l.length,o=0;o<s;o++)t.call(i,e[l[o]],l[o])}function i1(e,t){let i,n,o,s;if(!e||!t||e.length!==t.length)return!1;for(i=0,n=e.length;i<n;++i)if(o=e[i],s=t[i],o.datasetIndex!==s.datasetIndex||o.index!==s.index)return!1;return!0}function n1(e){if(ae(e))return e.map(n1);if(Y(e)){const t=Object.create(null),i=Object.keys(e),n=i.length;let o=0;for(;o<n;++o)t[i[o]]=n1(e[i[o]]);return t}return e}function a5(e){return["__proto__","prototype","constructor"].indexOf(e)===-1}function nC(e,t,i,n){if(!a5(e))return;const o=t[e],s=i[e];Y(o)&&Y(s)?K0(o,s,n):t[e]=n1(s)}function K0(e,t,i){const n=ae(t)?t:[t],o=n.length;if(!Y(e))return e;i=i||{};const s=i.merger||nC;let l;for(let a=0;a<o;++a){if(l=n[a],!Y(l))continue;const c=Object.keys(l);for(let d=0,h=c.length;d<h;++d)s(c[d],e,l,i)}return e}function L0(e,t){return K0(e,t,{merger:rC})}function rC(e,t,i){if(!a5(e))return;const n=t[e],o=i[e];Y(n)&&Y(o)?L0(n,o):Object.prototype.hasOwnProperty.call(t,e)||(t[e]=n1(o))}const Cs={"":e=>e,x:e=>e.x,y:e=>e.y};function oC(e){const t=e.split("."),i=[];let n="";for(const o of t)n+=o,n.endsWith("\\")?n=n.slice(0,-1)+".":(i.push(n),n="");return i}function sC(e){const t=oC(e);return i=>{for(const n of t){if(n==="")break;i=i&&i[n]}return i}}function q0(e,t){return(Cs[t]||(Cs[t]=sC(t)))(e)}function Hr(e){return e.charAt(0).toUpperCase()+e.slice(1)}const r1=e=>typeof e<"u",Zt=e=>typeof e=="function",As=(e,t)=>{if(e.size!==t.size)return!1;for(const i of e)if(!t.has(i))return!1;return!0};function lC(e){return e.type==="mouseup"||e.type==="click"||e.type==="contextmenu"}const pe=Math.PI,ce=2*pe,o1=Number.POSITIVE_INFINITY,aC=pe/180,de=pe/2,At=pe/4,Rs=pe*2/3,mt=Math.log10,s1=Math.sign;function Di(e,t,i){return Math.abs(e-t)<i}function ks(e){const t=Math.round(e);e=Di(e,t,e/1e3)?t:e;const i=Math.pow(10,Math.floor(mt(e))),n=e/i;return(n<=1?1:n<=2?2:n<=5?5:10)*i}function cC(e){const t=[],i=Math.sqrt(e);let n;for(n=1;n<i;n++)e%n===0&&(t.push(n),t.push(e/n));return i===(i|0)&&t.push(i),t.sort((o,s)=>o-s).pop(),t}function l1(e){return!isNaN(parseFloat(e))&&isFinite(e)}function dC(e,t){const i=Math.round(e);return i-t<=e&&i+t>=e}function c5(e,t,i){let n,o,s;for(n=0,o=e.length;n<o;n++)s=e[n][i],isNaN(s)||(t.min=Math.min(t.min,s),t.max=Math.max(t.max,s))}function Je(e){return e*(pe/180)}function $r(e){return e*(180/pe)}function Fs(e){if(!we(e))return;let t=1,i=0;for(;Math.round(e*t)/t!==e;)t*=10,i++;return i}function d5(e,t){const i=t.x-e.x,n=t.y-e.y,o=Math.sqrt(i*i+n*n);let s=Math.atan2(n,i);return s<-.5*pe&&(s+=ce),{angle:s,distance:o}}function hC(e,t){return Math.sqrt(Math.pow(t.x-e.x,2)+Math.pow(t.y-e.y,2))}function Ye(e){return(e%ce+ce)%ce}function a1(e,t,i,n){const o=Ye(e),s=Ye(t),l=Ye(i),a=Ye(s-o),c=Ye(l-o),d=Ye(o-s),h=Ye(o-l);return o===s||o===l||n&&s===l||a>c&&d<h}function Ue(e,t,i){return Math.max(t,Math.min(i,e))}function fC(e){return Ue(e,-32768,32767)}function uC(e,t,i,n=1e-6){return e>=Math.min(t,i)-n&&e<=Math.max(t,i)+n}function Ur(e,t,i){i=i||(l=>e[l]<t);let n=e.length-1,o=0,s;for(;n-o>1;)s=o+n>>1,i(s)?o=s:n=s;return{lo:o,hi:n}}const jn=(e,t,i,n)=>Ur(e,i,n?o=>{const s=e[o][t];return s<i||s===i&&e[o+1][t]===i}:o=>e[o][t]<i),pC=(e,t,i)=>Ur(e,i,n=>e[n][t]>=i);function gC(e,t,i){let n=0,o=e.length;for(;n<o&&e[n]<t;)n++;for(;o>n&&e[o-1]>i;)o--;return n>0||o<e.length?e.slice(n,o):e}const h5=["push","pop","shift","splice","unshift"];function vC(e,t){if(e._chartjs){e._chartjs.listeners.push(t);return}Object.defineProperty(e,"_chartjs",{configurable:!0,enumerable:!1,value:{listeners:[t]}}),h5.forEach(i=>{const n="_onData"+Hr(i),o=e[i];Object.defineProperty(e,i,{configurable:!0,enumerable:!1,value(...s){const l=o.apply(this,s);return e._chartjs.listeners.forEach(a=>{typeof a[n]=="function"&&a[n](...s)}),l}})})}function Bs(e,t){const i=e._chartjs;if(!i)return;const n=i.listeners,o=n.indexOf(t);o!==-1&&n.splice(o,1),!(n.length>0)&&(h5.forEach(s=>{delete e[s]}),delete e._chartjs)}function mC(e){const t=new Set(e);return t.size===e.length?e:Array.from(t)}const f5=function(){return typeof window>"u"?function(e){return e()}:window.requestAnimationFrame}();function u5(e,t){let i=[],n=!1;return function(...o){i=o,n||(n=!0,f5.call(window,()=>{n=!1,e.apply(t,i)}))}}function xC(e,t){let i;return function(...n){return t?(clearTimeout(i),i=setTimeout(e,t,n)):e.apply(this,n),t}}const wC=e=>e==="start"?"left":e==="end"?"right":"center",Es=(e,t,i)=>e==="start"?t:e==="end"?i:(t+i)/2,xi=e=>e===0||e===1,Ls=(e,t,i)=>-(Math.pow(2,10*(e-=1))*Math.sin((e-t)*ce/i)),Ds=(e,t,i)=>Math.pow(2,-10*e)*Math.sin((e-t)*ce/i)+1,D0={linear:e=>e,easeInQuad:e=>e*e,easeOutQuad:e=>-e*(e-2),easeInOutQuad:e=>(e/=.5)<1?.5*e*e:-.5*(--e*(e-2)-1),easeInCubic:e=>e*e*e,easeOutCubic:e=>(e-=1)*e*e+1,easeInOutCubic:e=>(e/=.5)<1?.5*e*e*e:.5*((e-=2)*e*e+2),easeInQuart:e=>e*e*e*e,easeOutQuart:e=>-((e-=1)*e*e*e-1),easeInOutQuart:e=>(e/=.5)<1?.5*e*e*e*e:-.5*((e-=2)*e*e*e-2),easeInQuint:e=>e*e*e*e*e,easeOutQuint:e=>(e-=1)*e*e*e*e+1,easeInOutQuint:e=>(e/=.5)<1?.5*e*e*e*e*e:.5*((e-=2)*e*e*e*e+2),easeInSine:e=>-Math.cos(e*de)+1,easeOutSine:e=>Math.sin(e*de),easeInOutSine:e=>-.5*(Math.cos(pe*e)-1),easeInExpo:e=>e===0?0:Math.pow(2,10*(e-1)),easeOutExpo:e=>e===1?1:-Math.pow(2,-10*e)+1,easeInOutExpo:e=>xi(e)?e:e<.5?.5*Math.pow(2,10*(e*2-1)):.5*(-Math.pow(2,-10*(e*2-1))+2),easeInCirc:e=>e>=1?e:-(Math.sqrt(1-e*e)-1),easeOutCirc:e=>Math.sqrt(1-(e-=1)*e),easeInOutCirc:e=>(e/=.5)<1?-.5*(Math.sqrt(1-e*e)-1):.5*(Math.sqrt(1-(e-=2)*e)+1),easeInElastic:e=>xi(e)?e:Ls(e,.075,.3),easeOutElastic:e=>xi(e)?e:Ds(e,.075,.3),easeInOutElastic(e){return xi(e)?e:e<.5?.5*Ls(e*2,.1125,.45):.5+.5*Ds(e*2-1,.1125,.45)},easeInBack(e){return e*e*((1.70158+1)*e-1.70158)},easeOutBack(e){return(e-=1)*e*((1.70158+1)*e+1.70158)+1},easeInOutBack(e){let t=1.70158;return(e/=.5)<1?.5*(e*e*(((t*=1.525)+1)*e-t)):.5*((e-=2)*e*(((t*=1.525)+1)*e+t)+2)},easeInBounce:e=>1-D0.easeOutBounce(1-e),easeOutBounce(e){return e<1/2.75?7.5625*e*e:e<2/2.75?7.5625*(e-=1.5/2.75)*e+.75:e<2.5/2.75?7.5625*(e-=2.25/2.75)*e+.9375:7.5625*(e-=2.625/2.75)*e+.984375},easeInOutBounce:e=>e<.5?D0.easeInBounce(e*2)*.5:D0.easeOutBounce(e*2-1)*.5+.5};function p5(e){if(e&&typeof e=="object"){const t=e.toString();return t==="[object CanvasPattern]"||t==="[object CanvasGradient]"}return!1}function Ts(e){return p5(e)?e:new Y0(e)}function mn(e){return p5(e)?e:new Y0(e).saturate(.5).darken(.1).hexString()}const yC=["x","y","borderWidth","radius","tension"],_C=["color","borderColor","backgroundColor"];function bC(e){e.set("animation",{delay:void 0,duration:1e3,easing:"easeOutQuart",fn:void 0,from:void 0,loop:void 0,to:void 0,type:void 0}),e.describe("animation",{_fallback:!1,_indexable:!1,_scriptable:t=>t!=="onProgress"&&t!=="onComplete"&&t!=="fn"}),e.set("animations",{colors:{type:"color",properties:_C},numbers:{type:"number",properties:yC}}),e.describe("animations",{_fallback:"animation"}),e.set("transitions",{active:{animation:{duration:400}},resize:{animation:{duration:0}},show:{animations:{colors:{from:"transparent"},visible:{type:"boolean",duration:0}}},hide:{animations:{colors:{to:"transparent"},visible:{type:"boolean",easing:"linear",fn:t=>t|0}}}})}function MC(e){e.set("layout",{autoPadding:!0,padding:{top:0,right:0,bottom:0,left:0}})}const Vs=new Map;function ZC(e,t){t=t||{};const i=e+JSON.stringify(t);let n=Vs.get(i);return n||(n=new Intl.NumberFormat(e,t),Vs.set(i,n)),n}function z1(e,t,i){return ZC(t,i).format(e)}const g5={values(e){return ae(e)?e:""+e},numeric(e,t,i){if(e===0)return"0";const n=this.chart.options.locale;let o,s=e;if(i.length>1){const d=Math.max(Math.abs(i[0].value),Math.abs(i[i.length-1].value));(d<1e-4||d>1e15)&&(o="scientific"),s=SC(e,i)}const l=mt(Math.abs(s)),a=isNaN(l)?1:Math.max(Math.min(-1*Math.floor(l),20),0),c={notation:o,minimumFractionDigits:a,maximumFractionDigits:a};return Object.assign(c,this.options.ticks.format),z1(e,n,c)},logarithmic(e,t,i){if(e===0)return"0";const n=i[t].significand||e/Math.pow(10,Math.floor(mt(e)));return[1,2,3,5,10,15].includes(n)||t>.8*i.length?g5.numeric.call(this,e,t,i):""}};function SC(e,t){let i=t.length>3?t[2].value-t[1].value:t[1].value-t[0].value;return Math.abs(i)>=1&&e!==Math.floor(e)&&(i=e-Math.floor(e)),i}var W1={formatters:g5};function IC(e){e.set("scale",{display:!0,offset:!1,reverse:!1,beginAtZero:!1,bounds:"ticks",clip:!0,grace:0,grid:{display:!0,lineWidth:1,drawOnChartArea:!0,drawTicks:!0,tickLength:8,tickWidth:(t,i)=>i.lineWidth,tickColor:(t,i)=>i.color,offset:!1},border:{display:!0,dash:[],dashOffset:0,width:1},title:{display:!1,text:"",padding:{top:4,bottom:4}},ticks:{minRotation:0,maxRotation:50,mirror:!1,textStrokeWidth:0,textStrokeColor:"",padding:3,display:!0,autoSkip:!0,autoSkipPadding:3,labelOffset:0,callback:W1.formatters.values,minor:{},major:{},align:"center",crossAlign:"near",showLabelBackdrop:!1,backdropColor:"rgba(255, 255, 255, 0.75)",backdropPadding:2}}),e.route("scale.ticks","color","","color"),e.route("scale.grid","color","","borderColor"),e.route("scale.border","color","","borderColor"),e.route("scale.title","color","","color"),e.describe("scale",{_fallback:!1,_scriptable:t=>!t.startsWith("before")&&!t.startsWith("after")&&t!=="callback"&&t!=="parser",_indexable:t=>t!=="borderDash"&&t!=="tickBorderDash"&&t!=="dash"}),e.describe("scales",{_fallback:"scale"}),e.describe("scale.ticks",{_scriptable:t=>t!=="backdropPadding"&&t!=="callback",_indexable:t=>t!=="backdropPadding"})}const Ht=Object.create(null),Nn=Object.create(null);function T0(e,t){if(!t)return e;const i=t.split(".");for(let n=0,o=i.length;n<o;++n){const s=i[n];e=e[s]||(e[s]=Object.create(null))}return e}function xn(e,t,i){return typeof t=="string"?K0(T0(e,t),i):K0(T0(e,""),t)}class CC{constructor(t,i){this.animation=void 0,this.backgroundColor="rgba(0,0,0,0.1)",this.borderColor="rgba(0,0,0,0.1)",this.color="#666",this.datasets={},this.devicePixelRatio=n=>n.chart.platform.getDevicePixelRatio(),this.elements={},this.events=["mousemove","mouseout","click","touchstart","touchmove"],this.font={family:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",size:12,style:"normal",lineHeight:1.2,weight:null},this.hover={},this.hoverBackgroundColor=(n,o)=>mn(o.backgroundColor),this.hoverBorderColor=(n,o)=>mn(o.borderColor),this.hoverColor=(n,o)=>mn(o.color),this.indexAxis="x",this.interaction={mode:"nearest",intersect:!0,includeInvisible:!1},this.maintainAspectRatio=!0,this.onHover=null,this.onClick=null,this.parsing=!0,this.plugins={},this.responsive=!0,this.scale=void 0,this.scales={},this.showLine=!0,this.drawActiveElementsOnTop=!0,this.describe(t),this.apply(i)}set(t,i){return xn(this,t,i)}get(t){return T0(this,t)}describe(t,i){return xn(Nn,t,i)}override(t,i){return xn(Ht,t,i)}route(t,i,n,o){const s=T0(this,t),l=T0(this,n),a="_"+i;Object.defineProperties(s,{[a]:{value:s[i],writable:!0},[i]:{enumerable:!0,get(){const c=this[a],d=l[o];return Y(c)?Object.assign({},d,c):se(c,d)},set(c){this[a]=c}}})}apply(t){t.forEach(i=>i(this))}}var he=new CC({_scriptable:e=>!e.startsWith("on"),_indexable:e=>e!=="events",hover:{_fallback:"interaction"},interaction:{_scriptable:!1,_indexable:!1}},[bC,MC,IC]);function AC(e){return!e||oe(e.size)||oe(e.family)?null:(e.style?e.style+" ":"")+(e.weight?e.weight+" ":"")+e.size+"px "+e.family}function c1(e,t,i,n,o){let s=t[o];return s||(s=t[o]=e.measureText(o).width,i.push(o)),s>n&&(n=s),n}function RC(e,t,i,n){n=n||{};let o=n.data=n.data||{},s=n.garbageCollect=n.garbageCollect||[];n.font!==t&&(o=n.data={},s=n.garbageCollect=[],n.font=t),e.save(),e.font=t;let l=0;const a=i.length;let c,d,h,f,u;for(c=0;c<a;c++)if(f=i[c],f!=null&&!ae(f))l=c1(e,o,s,l,f);else if(ae(f))for(d=0,h=f.length;d<h;d++)u=f[d],u!=null&&!ae(u)&&(l=c1(e,o,s,l,u));e.restore();const g=s.length/2;if(g>i.length){for(c=0;c<g;c++)delete o[s[c]];s.splice(0,g)}return l}function Rt(e,t,i){const n=e.currentDevicePixelRatio,o=i!==0?Math.max(i/2,.5):0;return Math.round((t-o)*n)/n+o}function Ps(e,t){t=t||e.getContext("2d"),t.save(),t.resetTransform(),t.clearRect(0,0,e.width,e.height),t.restore()}function Os(e,t,i,n){kC(e,t,i,n,null)}function kC(e,t,i,n,o){let s,l,a,c,d,h,f,u;const g=t.pointStyle,v=t.rotation,m=t.radius;let w=(v||0)*aC;if(g&&typeof g=="object"&&(s=g.toString(),s==="[object HTMLImageElement]"||s==="[object HTMLCanvasElement]")){e.save(),e.translate(i,n),e.rotate(w),e.drawImage(g,-g.width/2,-g.height/2,g.width,g.height),e.restore();return}if(!(isNaN(m)||m<=0)){switch(e.beginPath(),g){default:o?e.ellipse(i,n,o/2,m,0,0,ce):e.arc(i,n,m,0,ce),e.closePath();break;case"triangle":h=o?o/2:m,e.moveTo(i+Math.sin(w)*h,n-Math.cos(w)*m),w+=Rs,e.lineTo(i+Math.sin(w)*h,n-Math.cos(w)*m),w+=Rs,e.lineTo(i+Math.sin(w)*h,n-Math.cos(w)*m),e.closePath();break;case"rectRounded":d=m*.516,c=m-d,l=Math.cos(w+At)*c,f=Math.cos(w+At)*(o?o/2-d:c),a=Math.sin(w+At)*c,u=Math.sin(w+At)*(o?o/2-d:c),e.arc(i-f,n-a,d,w-pe,w-de),e.arc(i+u,n-l,d,w-de,w),e.arc(i+f,n+a,d,w,w+de),e.arc(i-u,n+l,d,w+de,w+pe),e.closePath();break;case"rect":if(!v){c=Math.SQRT1_2*m,h=o?o/2:c,e.rect(i-h,n-c,2*h,2*c);break}w+=At;case"rectRot":f=Math.cos(w)*(o?o/2:m),l=Math.cos(w)*m,a=Math.sin(w)*m,u=Math.sin(w)*(o?o/2:m),e.moveTo(i-f,n-a),e.lineTo(i+u,n-l),e.lineTo(i+f,n+a),e.lineTo(i-u,n+l),e.closePath();break;case"crossRot":w+=At;case"cross":f=Math.cos(w)*(o?o/2:m),l=Math.cos(w)*m,a=Math.sin(w)*m,u=Math.sin(w)*(o?o/2:m),e.moveTo(i-f,n-a),e.lineTo(i+f,n+a),e.moveTo(i+u,n-l),e.lineTo(i-u,n+l);break;case"star":f=Math.cos(w)*(o?o/2:m),l=Math.cos(w)*m,a=Math.sin(w)*m,u=Math.sin(w)*(o?o/2:m),e.moveTo(i-f,n-a),e.lineTo(i+f,n+a),e.moveTo(i+u,n-l),e.lineTo(i-u,n+l),w+=At,f=Math.cos(w)*(o?o/2:m),l=Math.cos(w)*m,a=Math.sin(w)*m,u=Math.sin(w)*(o?o/2:m),e.moveTo(i-f,n-a),e.lineTo(i+f,n+a),e.moveTo(i+u,n-l),e.lineTo(i-u,n+l);break;case"line":l=o?o/2:Math.cos(w)*m,a=Math.sin(w)*m,e.moveTo(i-l,n-a),e.lineTo(i+l,n+a);break;case"dash":e.moveTo(i,n),e.lineTo(i+Math.cos(w)*(o?o/2:m),n+Math.sin(w)*m);break;case!1:e.closePath();break}e.fill(),t.borderWidth>0&&e.stroke()}}function Qt(e,t,i){return i=i||.5,!t||e&&e.x>t.left-i&&e.x<t.right+i&&e.y>t.top-i&&e.y<t.bottom+i}function v5(e,t){e.save(),e.beginPath(),e.rect(t.left,t.top,t.right-t.left,t.bottom-t.top),e.clip()}function m5(e){e.restore()}function FC(e,t){t.translation&&e.translate(t.translation[0],t.translation[1]),oe(t.rotation)||e.rotate(t.rotation),t.color&&(e.fillStyle=t.color),t.textAlign&&(e.textAlign=t.textAlign),t.textBaseline&&(e.textBaseline=t.textBaseline)}function BC(e,t,i,n,o){if(o.strikethrough||o.underline){const s=e.measureText(n),l=t-s.actualBoundingBoxLeft,a=t+s.actualBoundingBoxRight,c=i-s.actualBoundingBoxAscent,d=i+s.actualBoundingBoxDescent,h=o.strikethrough?(c+d)/2:d;e.strokeStyle=e.fillStyle,e.beginPath(),e.lineWidth=o.decorationWidth||2,e.moveTo(l,h),e.lineTo(a,h),e.stroke()}}function EC(e,t){const i=e.fillStyle;e.fillStyle=t.color,e.fillRect(t.left,t.top,t.width,t.height),e.fillStyle=i}function d1(e,t,i,n,o,s={}){const l=ae(t)?t:[t],a=s.strokeWidth>0&&s.strokeColor!=="";let c,d;for(e.save(),e.font=o.string,FC(e,s),c=0;c<l.length;++c)d=l[c],s.backdrop&&EC(e,s.backdrop),a&&(s.strokeColor&&(e.strokeStyle=s.strokeColor),oe(s.strokeWidth)||(e.lineWidth=s.strokeWidth),e.strokeText(d,i,n,s.maxWidth)),e.fillText(d,i,n,s.maxWidth),BC(e,i,n,d,s),n+=Number(o.lineHeight);e.restore()}function Xn(e,t){const{x:i,y:n,w:o,h:s,radius:l}=t;e.arc(i+l.topLeft,n+l.topLeft,l.topLeft,1.5*pe,pe,!0),e.lineTo(i,n+s-l.bottomLeft),e.arc(i+l.bottomLeft,n+s-l.bottomLeft,l.bottomLeft,pe,de,!0),e.lineTo(i+o-l.bottomRight,n+s),e.arc(i+o-l.bottomRight,n+s-l.bottomRight,l.bottomRight,de,0,!0),e.lineTo(i+o,n+l.topRight),e.arc(i+o-l.topRight,n+l.topRight,l.topRight,0,-de,!0),e.lineTo(i+l.topLeft,n)}const LC=/^(normal|(\d+(?:\.\d+)?)(px|em|%)?)$/,DC=/^(normal|italic|initial|inherit|unset|(oblique( -?[0-9]?[0-9]deg)?))$/;function TC(e,t){const i=(""+e).match(LC);if(!i||i[1]==="normal")return t*1.2;switch(e=+i[2],i[3]){case"px":return e;case"%":e/=100;break}return t*e}const VC=e=>+e||0;function zr(e,t){const i={},n=Y(t),o=n?Object.keys(t):t,s=Y(e)?n?l=>se(e[l],e[t[l]]):l=>e[l]:()=>e;for(const l of o)i[l]=VC(s(l));return i}function PC(e){return zr(e,{top:"y",right:"x",bottom:"y",left:"x"})}function V0(e){return zr(e,["topLeft","topRight","bottomLeft","bottomRight"])}function ze(e){const t=PC(e);return t.width=t.left+t.right,t.height=t.top+t.bottom,t}function Be(e,t){e=e||{},t=t||he.font;let i=se(e.size,t.size);typeof i=="string"&&(i=parseInt(i,10));let n=se(e.style,t.style);n&&!(""+n).match(DC)&&(console.warn('Invalid font style specified: "'+n+'"'),n=void 0);const o={family:se(e.family,t.family),lineHeight:TC(se(e.lineHeight,t.lineHeight),i),size:i,style:n,weight:se(e.weight,t.weight),string:""};return o.string=AC(o),o}function wi(e,t,i,n){let o=!0,s,l,a;for(s=0,l=e.length;s<l;++s)if(a=e[s],a!==void 0&&(t!==void 0&&typeof a=="function"&&(a=a(t),o=!1),i!==void 0&&ae(a)&&(a=a[i%a.length],o=!1),a!==void 0))return n&&!o&&(n.cacheable=!1),a}function OC(e,t,i){const{min:n,max:o}=e,s=l5(t,(o-n)/2),l=(a,c)=>i&&a===0?0:a+c;return{min:l(n,-Math.abs(s)),max:l(o,s)}}function Wt(e,t){return Object.assign(Object.create(e),t)}function Wr(e,t=[""],i,n,o=()=>e[0]){const s=i||e;typeof n>"u"&&(n=_5("_fallback",e));const l={[Symbol.toStringTag]:"Object",_cacheable:!0,_scopes:e,_rootScopes:s,_fallback:n,_getTarget:o,override:a=>Wr([a,...e],t,s,n)};return new Proxy(l,{deleteProperty(a,c){return delete a[c],delete a._keys,delete e[0][c],!0},get(a,c){return w5(a,c,()=>NC(c,t,e,a))},getOwnPropertyDescriptor(a,c){return Reflect.getOwnPropertyDescriptor(a._scopes[0],c)},getPrototypeOf(){return Reflect.getPrototypeOf(e[0])},has(a,c){return $s(a).includes(c)},ownKeys(a){return $s(a)},set(a,c,d){const h=a._storage||(a._storage=o());return a[c]=h[c]=d,delete a._keys,!0}})}function o0(e,t,i,n){const o={_cacheable:!1,_proxy:e,_context:t,_subProxy:i,_stack:new Set,_descriptors:x5(e,n),setContext:s=>o0(e,s,i,n),override:s=>o0(e.override(s),t,i,n)};return new Proxy(o,{deleteProperty(s,l){return delete s[l],delete e[l],!0},get(s,l,a){return w5(s,l,()=>$C(s,l,a))},getOwnPropertyDescriptor(s,l){return s._descriptors.allKeys?Reflect.has(e,l)?{enumerable:!0,configurable:!0}:void 0:Reflect.getOwnPropertyDescriptor(e,l)},getPrototypeOf(){return Reflect.getPrototypeOf(e)},has(s,l){return Reflect.has(e,l)},ownKeys(){return Reflect.ownKeys(e)},set(s,l,a){return e[l]=a,delete s[l],!0}})}function x5(e,t={scriptable:!0,indexable:!0}){const{_scriptable:i=t.scriptable,_indexable:n=t.indexable,_allKeys:o=t.allKeys}=e;return{allKeys:o,scriptable:i,indexable:n,isScriptable:Zt(i)?i:()=>i,isIndexable:Zt(n)?n:()=>n}}const HC=(e,t)=>e?e+Hr(t):t,Gr=(e,t)=>Y(t)&&e!=="adapters"&&(Object.getPrototypeOf(t)===null||t.constructor===Object);function w5(e,t,i){if(Object.prototype.hasOwnProperty.call(e,t))return e[t];const n=i();return e[t]=n,n}function $C(e,t,i){const{_proxy:n,_context:o,_subProxy:s,_descriptors:l}=e;let a=n[t];return Zt(a)&&l.isScriptable(t)&&(a=UC(t,a,e,i)),ae(a)&&a.length&&(a=zC(t,a,e,l.isIndexable)),Gr(t,a)&&(a=o0(a,o,s&&s[t],l)),a}function UC(e,t,i,n){const{_proxy:o,_context:s,_subProxy:l,_stack:a}=i;if(a.has(e))throw new Error("Recursion detected: "+Array.from(a).join("->")+"->"+e);a.add(e);let c=t(s,l||n);return a.delete(e),Gr(e,c)&&(c=jr(o._scopes,o,e,c)),c}function zC(e,t,i,n){const{_proxy:o,_context:s,_subProxy:l,_descriptors:a}=i;if(typeof s.index<"u"&&n(e))return t[s.index%t.length];if(Y(t[0])){const c=t,d=o._scopes.filter(h=>h!==c);t=[];for(const h of c){const f=jr(d,o,e,h);t.push(o0(f,s,l&&l[e],a))}}return t}function y5(e,t,i){return Zt(e)?e(t,i):e}const WC=(e,t)=>e===!0?t:typeof e=="string"?q0(t,e):void 0;function GC(e,t,i,n,o){for(const s of t){const l=WC(i,s);if(l){e.add(l);const a=y5(l._fallback,i,o);if(typeof a<"u"&&a!==i&&a!==n)return a}else if(l===!1&&typeof n<"u"&&i!==n)return null}return!1}function jr(e,t,i,n){const o=t._rootScopes,s=y5(t._fallback,i,n),l=[...e,...o],a=new Set;a.add(n);let c=Hs(a,l,i,s||i,n);return c===null||typeof s<"u"&&s!==i&&(c=Hs(a,l,s,c,n),c===null)?!1:Wr(Array.from(a),[""],o,s,()=>jC(t,i,n))}function Hs(e,t,i,n,o){for(;i;)i=GC(e,t,i,n,o);return i}function jC(e,t,i){const n=e._getTarget();t in n||(n[t]={});const o=n[t];return ae(o)&&Y(i)?i:o||{}}function NC(e,t,i,n){let o;for(const s of t)if(o=_5(HC(s,e),i),typeof o<"u")return Gr(e,o)?jr(i,n,e,o):o}function _5(e,t){for(const i of t){if(!i)continue;const n=i[e];if(typeof n<"u")return n}}function $s(e){let t=e._keys;return t||(t=e._keys=XC(e._scopes)),t}function XC(e){const t=new Set;for(const i of e)for(const n of Object.keys(i).filter(o=>!o.startsWith("_")))t.add(n);return Array.from(t)}function Nr(){return typeof window<"u"&&typeof document<"u"}function Xr(e){let t=e.parentNode;return t&&t.toString()==="[object ShadowRoot]"&&(t=t.host),t}function h1(e,t,i){let n;return typeof e=="string"?(n=parseInt(e,10),e.indexOf("%")!==-1&&(n=n/100*t.parentNode[i])):n=e,n}const G1=e=>e.ownerDocument.defaultView.getComputedStyle(e,null);function YC(e,t){return G1(e).getPropertyValue(t)}const KC=["top","right","bottom","left"];function Vt(e,t,i){const n={};i=i?"-"+i:"";for(let o=0;o<4;o++){const s=KC[o];n[s]=parseFloat(e[t+"-"+s+i])||0}return n.width=n.left+n.right,n.height=n.top+n.bottom,n}const qC=(e,t,i)=>(e>0||t>0)&&(!i||!i.shadowRoot);function QC(e,t){const i=e.touches,n=i&&i.length?i[0]:e,{offsetX:o,offsetY:s}=n;let l=!1,a,c;if(qC(o,s,e.target))a=o,c=s;else{const d=t.getBoundingClientRect();a=n.clientX-d.left,c=n.clientY-d.top,l=!0}return{x:a,y:c,box:l}}function Lt(e,t){if("native"in e)return e;const{canvas:i,currentDevicePixelRatio:n}=t,o=G1(i),s=o.boxSizing==="border-box",l=Vt(o,"padding"),a=Vt(o,"border","width"),{x:c,y:d,box:h}=QC(e,i),f=l.left+(h&&a.left),u=l.top+(h&&a.top);let{width:g,height:v}=t;return s&&(g-=l.width+a.width,v-=l.height+a.height),{x:Math.round((c-f)/g*i.width/n),y:Math.round((d-u)/v*i.height/n)}}function JC(e,t,i){let n,o;if(t===void 0||i===void 0){const s=Xr(e);if(!s)t=e.clientWidth,i=e.clientHeight;else{const l=s.getBoundingClientRect(),a=G1(s),c=Vt(a,"border","width"),d=Vt(a,"padding");t=l.width-d.width-c.width,i=l.height-d.height-c.height,n=h1(a.maxWidth,s,"clientWidth"),o=h1(a.maxHeight,s,"clientHeight")}}return{width:t,height:i,maxWidth:n||o1,maxHeight:o||o1}}const yi=e=>Math.round(e*10)/10;function eA(e,t,i,n){const o=G1(e),s=Vt(o,"margin"),l=h1(o.maxWidth,e,"clientWidth")||o1,a=h1(o.maxHeight,e,"clientHeight")||o1,c=JC(e,t,i);let{width:d,height:h}=c;if(o.boxSizing==="content-box"){const u=Vt(o,"border","width"),g=Vt(o,"padding");d-=g.width+u.width,h-=g.height+u.height}return d=Math.max(0,d-s.width),h=Math.max(0,n?d/n:h-s.height),d=yi(Math.min(d,l,c.maxWidth)),h=yi(Math.min(h,a,c.maxHeight)),d&&!h&&(h=yi(d/2)),(t!==void 0||i!==void 0)&&n&&c.height&&h>c.height&&(h=c.height,d=yi(Math.floor(h*n))),{width:d,height:h}}function Us(e,t,i){const n=t||1,o=Math.floor(e.height*n),s=Math.floor(e.width*n);e.height=Math.floor(e.height),e.width=Math.floor(e.width);const l=e.canvas;return l.style&&(i||!l.style.height&&!l.style.width)&&(l.style.height=`${e.height}px`,l.style.width=`${e.width}px`),e.currentDevicePixelRatio!==n||l.height!==o||l.width!==s?(e.currentDevicePixelRatio=n,l.height=o,l.width=s,e.ctx.setTransform(n,0,0,n,0,0),!0):!1}const tA=function(){let e=!1;try{const t={get passive(){return e=!0,!1}};Nr()&&(window.addEventListener("test",null,t),window.removeEventListener("test",null,t))}catch{}return e}();function zs(e,t){const i=YC(e,t),n=i&&i.match(/^(\d+)(\.\d+)?px$/);return n?+n[1]:void 0}const iA=function(e,t){return{x(i){return e+e+t-i},setWidth(i){t=i},textAlign(i){return i==="center"?i:i==="right"?"left":"right"},xPlus(i,n){return i-n},leftForLtr(i,n){return i-n}}},nA=function(){return{x(e){return e},setWidth(e){},textAlign(e){return e},xPlus(e,t){return e+t},leftForLtr(e,t){return e}}};function wn(e,t,i){return e?iA(t,i):nA()}function rA(e,t){let i,n;(t==="ltr"||t==="rtl")&&(i=e.canvas.style,n=[i.getPropertyValue("direction"),i.getPropertyPriority("direction")],i.setProperty("direction",t,"important"),e.prevTextDirection=n)}function oA(e,t){t!==void 0&&(delete e.prevTextDirection,e.canvas.style.setProperty("direction",t[0],t[1]))}/*!
|
|
1869
|
+
*/function rt(){}const tC=(()=>{let e=0;return()=>e++})();function oe(e){return e===null||typeof e>"u"}function ae(e){if(Array.isArray&&Array.isArray(e))return!0;const t=Object.prototype.toString.call(e);return t.slice(0,7)==="[object"&&t.slice(-6)==="Array]"}function Y(e){return e!==null&&Object.prototype.toString.call(e)==="[object Object]"}function we(e){return(typeof e=="number"||e instanceof Number)&&isFinite(+e)}function Be(e,t){return we(e)?e:t}function se(e,t){return typeof e>"u"?t:e}const iC=(e,t)=>typeof e=="string"&&e.endsWith("%")?parseFloat(e)/100:+e/t,l5=(e,t)=>typeof e=="string"&&e.endsWith("%")?parseFloat(e)/100*t:+e;function le(e,t,i){if(e&&typeof e.call=="function")return e.apply(i,t)}function ee(e,t,i,n){let o,s,l;if(ae(e))if(s=e.length,n)for(o=s-1;o>=0;o--)t.call(i,e[o],o);else for(o=0;o<s;o++)t.call(i,e[o],o);else if(Y(e))for(l=Object.keys(e),s=l.length,o=0;o<s;o++)t.call(i,e[l[o]],l[o])}function i1(e,t){let i,n,o,s;if(!e||!t||e.length!==t.length)return!1;for(i=0,n=e.length;i<n;++i)if(o=e[i],s=t[i],o.datasetIndex!==s.datasetIndex||o.index!==s.index)return!1;return!0}function n1(e){if(ae(e))return e.map(n1);if(Y(e)){const t=Object.create(null),i=Object.keys(e),n=i.length;let o=0;for(;o<n;++o)t[i[o]]=n1(e[i[o]]);return t}return e}function a5(e){return["__proto__","prototype","constructor"].indexOf(e)===-1}function nC(e,t,i,n){if(!a5(e))return;const o=t[e],s=i[e];Y(o)&&Y(s)?K0(o,s,n):t[e]=n1(s)}function K0(e,t,i){const n=ae(t)?t:[t],o=n.length;if(!Y(e))return e;i=i||{};const s=i.merger||nC;let l;for(let a=0;a<o;++a){if(l=n[a],!Y(l))continue;const c=Object.keys(l);for(let d=0,h=c.length;d<h;++d)s(c[d],e,l,i)}return e}function L0(e,t){return K0(e,t,{merger:rC})}function rC(e,t,i){if(!a5(e))return;const n=t[e],o=i[e];Y(n)&&Y(o)?L0(n,o):Object.prototype.hasOwnProperty.call(t,e)||(t[e]=n1(o))}const Cs={"":e=>e,x:e=>e.x,y:e=>e.y};function oC(e){const t=e.split("."),i=[];let n="";for(const o of t)n+=o,n.endsWith("\\")?n=n.slice(0,-1)+".":(i.push(n),n="");return i}function sC(e){const t=oC(e);return i=>{for(const n of t){if(n==="")break;i=i&&i[n]}return i}}function q0(e,t){return(Cs[t]||(Cs[t]=sC(t)))(e)}function Hr(e){return e.charAt(0).toUpperCase()+e.slice(1)}const r1=e=>typeof e<"u",Zt=e=>typeof e=="function",As=(e,t)=>{if(e.size!==t.size)return!1;for(const i of e)if(!t.has(i))return!1;return!0};function lC(e){return e.type==="mouseup"||e.type==="click"||e.type==="contextmenu"}const pe=Math.PI,ce=2*pe,o1=Number.POSITIVE_INFINITY,aC=pe/180,de=pe/2,At=pe/4,Rs=pe*2/3,mt=Math.log10,s1=Math.sign;function Di(e,t,i){return Math.abs(e-t)<i}function ks(e){const t=Math.round(e);e=Di(e,t,e/1e3)?t:e;const i=Math.pow(10,Math.floor(mt(e))),n=e/i;return(n<=1?1:n<=2?2:n<=5?5:10)*i}function cC(e){const t=[],i=Math.sqrt(e);let n;for(n=1;n<i;n++)e%n===0&&(t.push(n),t.push(e/n));return i===(i|0)&&t.push(i),t.sort((o,s)=>o-s).pop(),t}function l1(e){return!isNaN(parseFloat(e))&&isFinite(e)}function dC(e,t){const i=Math.round(e);return i-t<=e&&i+t>=e}function c5(e,t,i){let n,o,s;for(n=0,o=e.length;n<o;n++)s=e[n][i],isNaN(s)||(t.min=Math.min(t.min,s),t.max=Math.max(t.max,s))}function Je(e){return e*(pe/180)}function $r(e){return e*(180/pe)}function Fs(e){if(!we(e))return;let t=1,i=0;for(;Math.round(e*t)/t!==e;)t*=10,i++;return i}function d5(e,t){const i=t.x-e.x,n=t.y-e.y,o=Math.sqrt(i*i+n*n);let s=Math.atan2(n,i);return s<-.5*pe&&(s+=ce),{angle:s,distance:o}}function hC(e,t){return Math.sqrt(Math.pow(t.x-e.x,2)+Math.pow(t.y-e.y,2))}function Ye(e){return(e%ce+ce)%ce}function a1(e,t,i,n){const o=Ye(e),s=Ye(t),l=Ye(i),a=Ye(s-o),c=Ye(l-o),d=Ye(o-s),h=Ye(o-l);return o===s||o===l||n&&s===l||a>c&&d<h}function ze(e,t,i){return Math.max(t,Math.min(i,e))}function fC(e){return ze(e,-32768,32767)}function uC(e,t,i,n=1e-6){return e>=Math.min(t,i)-n&&e<=Math.max(t,i)+n}function Ur(e,t,i){i=i||(l=>e[l]<t);let n=e.length-1,o=0,s;for(;n-o>1;)s=o+n>>1,i(s)?o=s:n=s;return{lo:o,hi:n}}const jn=(e,t,i,n)=>Ur(e,i,n?o=>{const s=e[o][t];return s<i||s===i&&e[o+1][t]===i}:o=>e[o][t]<i),pC=(e,t,i)=>Ur(e,i,n=>e[n][t]>=i);function gC(e,t,i){let n=0,o=e.length;for(;n<o&&e[n]<t;)n++;for(;o>n&&e[o-1]>i;)o--;return n>0||o<e.length?e.slice(n,o):e}const h5=["push","pop","shift","splice","unshift"];function vC(e,t){if(e._chartjs){e._chartjs.listeners.push(t);return}Object.defineProperty(e,"_chartjs",{configurable:!0,enumerable:!1,value:{listeners:[t]}}),h5.forEach(i=>{const n="_onData"+Hr(i),o=e[i];Object.defineProperty(e,i,{configurable:!0,enumerable:!1,value(...s){const l=o.apply(this,s);return e._chartjs.listeners.forEach(a=>{typeof a[n]=="function"&&a[n](...s)}),l}})})}function Bs(e,t){const i=e._chartjs;if(!i)return;const n=i.listeners,o=n.indexOf(t);o!==-1&&n.splice(o,1),!(n.length>0)&&(h5.forEach(s=>{delete e[s]}),delete e._chartjs)}function mC(e){const t=new Set(e);return t.size===e.length?e:Array.from(t)}const f5=function(){return typeof window>"u"?function(e){return e()}:window.requestAnimationFrame}();function u5(e,t){let i=[],n=!1;return function(...o){i=o,n||(n=!0,f5.call(window,()=>{n=!1,e.apply(t,i)}))}}function xC(e,t){let i;return function(...n){return t?(clearTimeout(i),i=setTimeout(e,t,n)):e.apply(this,n),t}}const wC=e=>e==="start"?"left":e==="end"?"right":"center",Es=(e,t,i)=>e==="start"?t:e==="end"?i:(t+i)/2,xi=e=>e===0||e===1,Ls=(e,t,i)=>-(Math.pow(2,10*(e-=1))*Math.sin((e-t)*ce/i)),Ds=(e,t,i)=>Math.pow(2,-10*e)*Math.sin((e-t)*ce/i)+1,D0={linear:e=>e,easeInQuad:e=>e*e,easeOutQuad:e=>-e*(e-2),easeInOutQuad:e=>(e/=.5)<1?.5*e*e:-.5*(--e*(e-2)-1),easeInCubic:e=>e*e*e,easeOutCubic:e=>(e-=1)*e*e+1,easeInOutCubic:e=>(e/=.5)<1?.5*e*e*e:.5*((e-=2)*e*e+2),easeInQuart:e=>e*e*e*e,easeOutQuart:e=>-((e-=1)*e*e*e-1),easeInOutQuart:e=>(e/=.5)<1?.5*e*e*e*e:-.5*((e-=2)*e*e*e-2),easeInQuint:e=>e*e*e*e*e,easeOutQuint:e=>(e-=1)*e*e*e*e+1,easeInOutQuint:e=>(e/=.5)<1?.5*e*e*e*e*e:.5*((e-=2)*e*e*e*e+2),easeInSine:e=>-Math.cos(e*de)+1,easeOutSine:e=>Math.sin(e*de),easeInOutSine:e=>-.5*(Math.cos(pe*e)-1),easeInExpo:e=>e===0?0:Math.pow(2,10*(e-1)),easeOutExpo:e=>e===1?1:-Math.pow(2,-10*e)+1,easeInOutExpo:e=>xi(e)?e:e<.5?.5*Math.pow(2,10*(e*2-1)):.5*(-Math.pow(2,-10*(e*2-1))+2),easeInCirc:e=>e>=1?e:-(Math.sqrt(1-e*e)-1),easeOutCirc:e=>Math.sqrt(1-(e-=1)*e),easeInOutCirc:e=>(e/=.5)<1?-.5*(Math.sqrt(1-e*e)-1):.5*(Math.sqrt(1-(e-=2)*e)+1),easeInElastic:e=>xi(e)?e:Ls(e,.075,.3),easeOutElastic:e=>xi(e)?e:Ds(e,.075,.3),easeInOutElastic(e){return xi(e)?e:e<.5?.5*Ls(e*2,.1125,.45):.5+.5*Ds(e*2-1,.1125,.45)},easeInBack(e){return e*e*((1.70158+1)*e-1.70158)},easeOutBack(e){return(e-=1)*e*((1.70158+1)*e+1.70158)+1},easeInOutBack(e){let t=1.70158;return(e/=.5)<1?.5*(e*e*(((t*=1.525)+1)*e-t)):.5*((e-=2)*e*(((t*=1.525)+1)*e+t)+2)},easeInBounce:e=>1-D0.easeOutBounce(1-e),easeOutBounce(e){return e<1/2.75?7.5625*e*e:e<2/2.75?7.5625*(e-=1.5/2.75)*e+.75:e<2.5/2.75?7.5625*(e-=2.25/2.75)*e+.9375:7.5625*(e-=2.625/2.75)*e+.984375},easeInOutBounce:e=>e<.5?D0.easeInBounce(e*2)*.5:D0.easeOutBounce(e*2-1)*.5+.5};function p5(e){if(e&&typeof e=="object"){const t=e.toString();return t==="[object CanvasPattern]"||t==="[object CanvasGradient]"}return!1}function Ts(e){return p5(e)?e:new Y0(e)}function mn(e){return p5(e)?e:new Y0(e).saturate(.5).darken(.1).hexString()}const yC=["x","y","borderWidth","radius","tension"],_C=["color","borderColor","backgroundColor"];function bC(e){e.set("animation",{delay:void 0,duration:1e3,easing:"easeOutQuart",fn:void 0,from:void 0,loop:void 0,to:void 0,type:void 0}),e.describe("animation",{_fallback:!1,_indexable:!1,_scriptable:t=>t!=="onProgress"&&t!=="onComplete"&&t!=="fn"}),e.set("animations",{colors:{type:"color",properties:_C},numbers:{type:"number",properties:yC}}),e.describe("animations",{_fallback:"animation"}),e.set("transitions",{active:{animation:{duration:400}},resize:{animation:{duration:0}},show:{animations:{colors:{from:"transparent"},visible:{type:"boolean",duration:0}}},hide:{animations:{colors:{to:"transparent"},visible:{type:"boolean",easing:"linear",fn:t=>t|0}}}})}function MC(e){e.set("layout",{autoPadding:!0,padding:{top:0,right:0,bottom:0,left:0}})}const Vs=new Map;function ZC(e,t){t=t||{};const i=e+JSON.stringify(t);let n=Vs.get(i);return n||(n=new Intl.NumberFormat(e,t),Vs.set(i,n)),n}function z1(e,t,i){return ZC(t,i).format(e)}const g5={values(e){return ae(e)?e:""+e},numeric(e,t,i){if(e===0)return"0";const n=this.chart.options.locale;let o,s=e;if(i.length>1){const d=Math.max(Math.abs(i[0].value),Math.abs(i[i.length-1].value));(d<1e-4||d>1e15)&&(o="scientific"),s=SC(e,i)}const l=mt(Math.abs(s)),a=isNaN(l)?1:Math.max(Math.min(-1*Math.floor(l),20),0),c={notation:o,minimumFractionDigits:a,maximumFractionDigits:a};return Object.assign(c,this.options.ticks.format),z1(e,n,c)},logarithmic(e,t,i){if(e===0)return"0";const n=i[t].significand||e/Math.pow(10,Math.floor(mt(e)));return[1,2,3,5,10,15].includes(n)||t>.8*i.length?g5.numeric.call(this,e,t,i):""}};function SC(e,t){let i=t.length>3?t[2].value-t[1].value:t[1].value-t[0].value;return Math.abs(i)>=1&&e!==Math.floor(e)&&(i=e-Math.floor(e)),i}var W1={formatters:g5};function IC(e){e.set("scale",{display:!0,offset:!1,reverse:!1,beginAtZero:!1,bounds:"ticks",clip:!0,grace:0,grid:{display:!0,lineWidth:1,drawOnChartArea:!0,drawTicks:!0,tickLength:8,tickWidth:(t,i)=>i.lineWidth,tickColor:(t,i)=>i.color,offset:!1},border:{display:!0,dash:[],dashOffset:0,width:1},title:{display:!1,text:"",padding:{top:4,bottom:4}},ticks:{minRotation:0,maxRotation:50,mirror:!1,textStrokeWidth:0,textStrokeColor:"",padding:3,display:!0,autoSkip:!0,autoSkipPadding:3,labelOffset:0,callback:W1.formatters.values,minor:{},major:{},align:"center",crossAlign:"near",showLabelBackdrop:!1,backdropColor:"rgba(255, 255, 255, 0.75)",backdropPadding:2}}),e.route("scale.ticks","color","","color"),e.route("scale.grid","color","","borderColor"),e.route("scale.border","color","","borderColor"),e.route("scale.title","color","","color"),e.describe("scale",{_fallback:!1,_scriptable:t=>!t.startsWith("before")&&!t.startsWith("after")&&t!=="callback"&&t!=="parser",_indexable:t=>t!=="borderDash"&&t!=="tickBorderDash"&&t!=="dash"}),e.describe("scales",{_fallback:"scale"}),e.describe("scale.ticks",{_scriptable:t=>t!=="backdropPadding"&&t!=="callback",_indexable:t=>t!=="backdropPadding"})}const Ht=Object.create(null),Nn=Object.create(null);function T0(e,t){if(!t)return e;const i=t.split(".");for(let n=0,o=i.length;n<o;++n){const s=i[n];e=e[s]||(e[s]=Object.create(null))}return e}function xn(e,t,i){return typeof t=="string"?K0(T0(e,t),i):K0(T0(e,""),t)}class CC{constructor(t,i){this.animation=void 0,this.backgroundColor="rgba(0,0,0,0.1)",this.borderColor="rgba(0,0,0,0.1)",this.color="#666",this.datasets={},this.devicePixelRatio=n=>n.chart.platform.getDevicePixelRatio(),this.elements={},this.events=["mousemove","mouseout","click","touchstart","touchmove"],this.font={family:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",size:12,style:"normal",lineHeight:1.2,weight:null},this.hover={},this.hoverBackgroundColor=(n,o)=>mn(o.backgroundColor),this.hoverBorderColor=(n,o)=>mn(o.borderColor),this.hoverColor=(n,o)=>mn(o.color),this.indexAxis="x",this.interaction={mode:"nearest",intersect:!0,includeInvisible:!1},this.maintainAspectRatio=!0,this.onHover=null,this.onClick=null,this.parsing=!0,this.plugins={},this.responsive=!0,this.scale=void 0,this.scales={},this.showLine=!0,this.drawActiveElementsOnTop=!0,this.describe(t),this.apply(i)}set(t,i){return xn(this,t,i)}get(t){return T0(this,t)}describe(t,i){return xn(Nn,t,i)}override(t,i){return xn(Ht,t,i)}route(t,i,n,o){const s=T0(this,t),l=T0(this,n),a="_"+i;Object.defineProperties(s,{[a]:{value:s[i],writable:!0},[i]:{enumerable:!0,get(){const c=this[a],d=l[o];return Y(c)?Object.assign({},d,c):se(c,d)},set(c){this[a]=c}}})}apply(t){t.forEach(i=>i(this))}}var he=new CC({_scriptable:e=>!e.startsWith("on"),_indexable:e=>e!=="events",hover:{_fallback:"interaction"},interaction:{_scriptable:!1,_indexable:!1}},[bC,MC,IC]);function AC(e){return!e||oe(e.size)||oe(e.family)?null:(e.style?e.style+" ":"")+(e.weight?e.weight+" ":"")+e.size+"px "+e.family}function c1(e,t,i,n,o){let s=t[o];return s||(s=t[o]=e.measureText(o).width,i.push(o)),s>n&&(n=s),n}function RC(e,t,i,n){n=n||{};let o=n.data=n.data||{},s=n.garbageCollect=n.garbageCollect||[];n.font!==t&&(o=n.data={},s=n.garbageCollect=[],n.font=t),e.save(),e.font=t;let l=0;const a=i.length;let c,d,h,f,u;for(c=0;c<a;c++)if(f=i[c],f!=null&&!ae(f))l=c1(e,o,s,l,f);else if(ae(f))for(d=0,h=f.length;d<h;d++)u=f[d],u!=null&&!ae(u)&&(l=c1(e,o,s,l,u));e.restore();const g=s.length/2;if(g>i.length){for(c=0;c<g;c++)delete o[s[c]];s.splice(0,g)}return l}function Rt(e,t,i){const n=e.currentDevicePixelRatio,o=i!==0?Math.max(i/2,.5):0;return Math.round((t-o)*n)/n+o}function Ps(e,t){t=t||e.getContext("2d"),t.save(),t.resetTransform(),t.clearRect(0,0,e.width,e.height),t.restore()}function Os(e,t,i,n){kC(e,t,i,n,null)}function kC(e,t,i,n,o){let s,l,a,c,d,h,f,u;const g=t.pointStyle,v=t.rotation,m=t.radius;let w=(v||0)*aC;if(g&&typeof g=="object"&&(s=g.toString(),s==="[object HTMLImageElement]"||s==="[object HTMLCanvasElement]")){e.save(),e.translate(i,n),e.rotate(w),e.drawImage(g,-g.width/2,-g.height/2,g.width,g.height),e.restore();return}if(!(isNaN(m)||m<=0)){switch(e.beginPath(),g){default:o?e.ellipse(i,n,o/2,m,0,0,ce):e.arc(i,n,m,0,ce),e.closePath();break;case"triangle":h=o?o/2:m,e.moveTo(i+Math.sin(w)*h,n-Math.cos(w)*m),w+=Rs,e.lineTo(i+Math.sin(w)*h,n-Math.cos(w)*m),w+=Rs,e.lineTo(i+Math.sin(w)*h,n-Math.cos(w)*m),e.closePath();break;case"rectRounded":d=m*.516,c=m-d,l=Math.cos(w+At)*c,f=Math.cos(w+At)*(o?o/2-d:c),a=Math.sin(w+At)*c,u=Math.sin(w+At)*(o?o/2-d:c),e.arc(i-f,n-a,d,w-pe,w-de),e.arc(i+u,n-l,d,w-de,w),e.arc(i+f,n+a,d,w,w+de),e.arc(i-u,n+l,d,w+de,w+pe),e.closePath();break;case"rect":if(!v){c=Math.SQRT1_2*m,h=o?o/2:c,e.rect(i-h,n-c,2*h,2*c);break}w+=At;case"rectRot":f=Math.cos(w)*(o?o/2:m),l=Math.cos(w)*m,a=Math.sin(w)*m,u=Math.sin(w)*(o?o/2:m),e.moveTo(i-f,n-a),e.lineTo(i+u,n-l),e.lineTo(i+f,n+a),e.lineTo(i-u,n+l),e.closePath();break;case"crossRot":w+=At;case"cross":f=Math.cos(w)*(o?o/2:m),l=Math.cos(w)*m,a=Math.sin(w)*m,u=Math.sin(w)*(o?o/2:m),e.moveTo(i-f,n-a),e.lineTo(i+f,n+a),e.moveTo(i+u,n-l),e.lineTo(i-u,n+l);break;case"star":f=Math.cos(w)*(o?o/2:m),l=Math.cos(w)*m,a=Math.sin(w)*m,u=Math.sin(w)*(o?o/2:m),e.moveTo(i-f,n-a),e.lineTo(i+f,n+a),e.moveTo(i+u,n-l),e.lineTo(i-u,n+l),w+=At,f=Math.cos(w)*(o?o/2:m),l=Math.cos(w)*m,a=Math.sin(w)*m,u=Math.sin(w)*(o?o/2:m),e.moveTo(i-f,n-a),e.lineTo(i+f,n+a),e.moveTo(i+u,n-l),e.lineTo(i-u,n+l);break;case"line":l=o?o/2:Math.cos(w)*m,a=Math.sin(w)*m,e.moveTo(i-l,n-a),e.lineTo(i+l,n+a);break;case"dash":e.moveTo(i,n),e.lineTo(i+Math.cos(w)*(o?o/2:m),n+Math.sin(w)*m);break;case!1:e.closePath();break}e.fill(),t.borderWidth>0&&e.stroke()}}function Qt(e,t,i){return i=i||.5,!t||e&&e.x>t.left-i&&e.x<t.right+i&&e.y>t.top-i&&e.y<t.bottom+i}function v5(e,t){e.save(),e.beginPath(),e.rect(t.left,t.top,t.right-t.left,t.bottom-t.top),e.clip()}function m5(e){e.restore()}function FC(e,t){t.translation&&e.translate(t.translation[0],t.translation[1]),oe(t.rotation)||e.rotate(t.rotation),t.color&&(e.fillStyle=t.color),t.textAlign&&(e.textAlign=t.textAlign),t.textBaseline&&(e.textBaseline=t.textBaseline)}function BC(e,t,i,n,o){if(o.strikethrough||o.underline){const s=e.measureText(n),l=t-s.actualBoundingBoxLeft,a=t+s.actualBoundingBoxRight,c=i-s.actualBoundingBoxAscent,d=i+s.actualBoundingBoxDescent,h=o.strikethrough?(c+d)/2:d;e.strokeStyle=e.fillStyle,e.beginPath(),e.lineWidth=o.decorationWidth||2,e.moveTo(l,h),e.lineTo(a,h),e.stroke()}}function EC(e,t){const i=e.fillStyle;e.fillStyle=t.color,e.fillRect(t.left,t.top,t.width,t.height),e.fillStyle=i}function d1(e,t,i,n,o,s={}){const l=ae(t)?t:[t],a=s.strokeWidth>0&&s.strokeColor!=="";let c,d;for(e.save(),e.font=o.string,FC(e,s),c=0;c<l.length;++c)d=l[c],s.backdrop&&EC(e,s.backdrop),a&&(s.strokeColor&&(e.strokeStyle=s.strokeColor),oe(s.strokeWidth)||(e.lineWidth=s.strokeWidth),e.strokeText(d,i,n,s.maxWidth)),e.fillText(d,i,n,s.maxWidth),BC(e,i,n,d,s),n+=Number(o.lineHeight);e.restore()}function Xn(e,t){const{x:i,y:n,w:o,h:s,radius:l}=t;e.arc(i+l.topLeft,n+l.topLeft,l.topLeft,1.5*pe,pe,!0),e.lineTo(i,n+s-l.bottomLeft),e.arc(i+l.bottomLeft,n+s-l.bottomLeft,l.bottomLeft,pe,de,!0),e.lineTo(i+o-l.bottomRight,n+s),e.arc(i+o-l.bottomRight,n+s-l.bottomRight,l.bottomRight,de,0,!0),e.lineTo(i+o,n+l.topRight),e.arc(i+o-l.topRight,n+l.topRight,l.topRight,0,-de,!0),e.lineTo(i+l.topLeft,n)}const LC=/^(normal|(\d+(?:\.\d+)?)(px|em|%)?)$/,DC=/^(normal|italic|initial|inherit|unset|(oblique( -?[0-9]?[0-9]deg)?))$/;function TC(e,t){const i=(""+e).match(LC);if(!i||i[1]==="normal")return t*1.2;switch(e=+i[2],i[3]){case"px":return e;case"%":e/=100;break}return t*e}const VC=e=>+e||0;function zr(e,t){const i={},n=Y(t),o=n?Object.keys(t):t,s=Y(e)?n?l=>se(e[l],e[t[l]]):l=>e[l]:()=>e;for(const l of o)i[l]=VC(s(l));return i}function PC(e){return zr(e,{top:"y",right:"x",bottom:"y",left:"x"})}function V0(e){return zr(e,["topLeft","topRight","bottomLeft","bottomRight"])}function We(e){const t=PC(e);return t.width=t.left+t.right,t.height=t.top+t.bottom,t}function Ee(e,t){e=e||{},t=t||he.font;let i=se(e.size,t.size);typeof i=="string"&&(i=parseInt(i,10));let n=se(e.style,t.style);n&&!(""+n).match(DC)&&(console.warn('Invalid font style specified: "'+n+'"'),n=void 0);const o={family:se(e.family,t.family),lineHeight:TC(se(e.lineHeight,t.lineHeight),i),size:i,style:n,weight:se(e.weight,t.weight),string:""};return o.string=AC(o),o}function wi(e,t,i,n){let o=!0,s,l,a;for(s=0,l=e.length;s<l;++s)if(a=e[s],a!==void 0&&(t!==void 0&&typeof a=="function"&&(a=a(t),o=!1),i!==void 0&&ae(a)&&(a=a[i%a.length],o=!1),a!==void 0))return n&&!o&&(n.cacheable=!1),a}function OC(e,t,i){const{min:n,max:o}=e,s=l5(t,(o-n)/2),l=(a,c)=>i&&a===0?0:a+c;return{min:l(n,-Math.abs(s)),max:l(o,s)}}function Wt(e,t){return Object.assign(Object.create(e),t)}function Wr(e,t=[""],i,n,o=()=>e[0]){const s=i||e;typeof n>"u"&&(n=_5("_fallback",e));const l={[Symbol.toStringTag]:"Object",_cacheable:!0,_scopes:e,_rootScopes:s,_fallback:n,_getTarget:o,override:a=>Wr([a,...e],t,s,n)};return new Proxy(l,{deleteProperty(a,c){return delete a[c],delete a._keys,delete e[0][c],!0},get(a,c){return w5(a,c,()=>NC(c,t,e,a))},getOwnPropertyDescriptor(a,c){return Reflect.getOwnPropertyDescriptor(a._scopes[0],c)},getPrototypeOf(){return Reflect.getPrototypeOf(e[0])},has(a,c){return $s(a).includes(c)},ownKeys(a){return $s(a)},set(a,c,d){const h=a._storage||(a._storage=o());return a[c]=h[c]=d,delete a._keys,!0}})}function o0(e,t,i,n){const o={_cacheable:!1,_proxy:e,_context:t,_subProxy:i,_stack:new Set,_descriptors:x5(e,n),setContext:s=>o0(e,s,i,n),override:s=>o0(e.override(s),t,i,n)};return new Proxy(o,{deleteProperty(s,l){return delete s[l],delete e[l],!0},get(s,l,a){return w5(s,l,()=>$C(s,l,a))},getOwnPropertyDescriptor(s,l){return s._descriptors.allKeys?Reflect.has(e,l)?{enumerable:!0,configurable:!0}:void 0:Reflect.getOwnPropertyDescriptor(e,l)},getPrototypeOf(){return Reflect.getPrototypeOf(e)},has(s,l){return Reflect.has(e,l)},ownKeys(){return Reflect.ownKeys(e)},set(s,l,a){return e[l]=a,delete s[l],!0}})}function x5(e,t={scriptable:!0,indexable:!0}){const{_scriptable:i=t.scriptable,_indexable:n=t.indexable,_allKeys:o=t.allKeys}=e;return{allKeys:o,scriptable:i,indexable:n,isScriptable:Zt(i)?i:()=>i,isIndexable:Zt(n)?n:()=>n}}const HC=(e,t)=>e?e+Hr(t):t,Gr=(e,t)=>Y(t)&&e!=="adapters"&&(Object.getPrototypeOf(t)===null||t.constructor===Object);function w5(e,t,i){if(Object.prototype.hasOwnProperty.call(e,t))return e[t];const n=i();return e[t]=n,n}function $C(e,t,i){const{_proxy:n,_context:o,_subProxy:s,_descriptors:l}=e;let a=n[t];return Zt(a)&&l.isScriptable(t)&&(a=UC(t,a,e,i)),ae(a)&&a.length&&(a=zC(t,a,e,l.isIndexable)),Gr(t,a)&&(a=o0(a,o,s&&s[t],l)),a}function UC(e,t,i,n){const{_proxy:o,_context:s,_subProxy:l,_stack:a}=i;if(a.has(e))throw new Error("Recursion detected: "+Array.from(a).join("->")+"->"+e);a.add(e);let c=t(s,l||n);return a.delete(e),Gr(e,c)&&(c=jr(o._scopes,o,e,c)),c}function zC(e,t,i,n){const{_proxy:o,_context:s,_subProxy:l,_descriptors:a}=i;if(typeof s.index<"u"&&n(e))return t[s.index%t.length];if(Y(t[0])){const c=t,d=o._scopes.filter(h=>h!==c);t=[];for(const h of c){const f=jr(d,o,e,h);t.push(o0(f,s,l&&l[e],a))}}return t}function y5(e,t,i){return Zt(e)?e(t,i):e}const WC=(e,t)=>e===!0?t:typeof e=="string"?q0(t,e):void 0;function GC(e,t,i,n,o){for(const s of t){const l=WC(i,s);if(l){e.add(l);const a=y5(l._fallback,i,o);if(typeof a<"u"&&a!==i&&a!==n)return a}else if(l===!1&&typeof n<"u"&&i!==n)return null}return!1}function jr(e,t,i,n){const o=t._rootScopes,s=y5(t._fallback,i,n),l=[...e,...o],a=new Set;a.add(n);let c=Hs(a,l,i,s||i,n);return c===null||typeof s<"u"&&s!==i&&(c=Hs(a,l,s,c,n),c===null)?!1:Wr(Array.from(a),[""],o,s,()=>jC(t,i,n))}function Hs(e,t,i,n,o){for(;i;)i=GC(e,t,i,n,o);return i}function jC(e,t,i){const n=e._getTarget();t in n||(n[t]={});const o=n[t];return ae(o)&&Y(i)?i:o||{}}function NC(e,t,i,n){let o;for(const s of t)if(o=_5(HC(s,e),i),typeof o<"u")return Gr(e,o)?jr(i,n,e,o):o}function _5(e,t){for(const i of t){if(!i)continue;const n=i[e];if(typeof n<"u")return n}}function $s(e){let t=e._keys;return t||(t=e._keys=XC(e._scopes)),t}function XC(e){const t=new Set;for(const i of e)for(const n of Object.keys(i).filter(o=>!o.startsWith("_")))t.add(n);return Array.from(t)}function Nr(){return typeof window<"u"&&typeof document<"u"}function Xr(e){let t=e.parentNode;return t&&t.toString()==="[object ShadowRoot]"&&(t=t.host),t}function h1(e,t,i){let n;return typeof e=="string"?(n=parseInt(e,10),e.indexOf("%")!==-1&&(n=n/100*t.parentNode[i])):n=e,n}const G1=e=>e.ownerDocument.defaultView.getComputedStyle(e,null);function YC(e,t){return G1(e).getPropertyValue(t)}const KC=["top","right","bottom","left"];function Vt(e,t,i){const n={};i=i?"-"+i:"";for(let o=0;o<4;o++){const s=KC[o];n[s]=parseFloat(e[t+"-"+s+i])||0}return n.width=n.left+n.right,n.height=n.top+n.bottom,n}const qC=(e,t,i)=>(e>0||t>0)&&(!i||!i.shadowRoot);function QC(e,t){const i=e.touches,n=i&&i.length?i[0]:e,{offsetX:o,offsetY:s}=n;let l=!1,a,c;if(qC(o,s,e.target))a=o,c=s;else{const d=t.getBoundingClientRect();a=n.clientX-d.left,c=n.clientY-d.top,l=!0}return{x:a,y:c,box:l}}function Lt(e,t){if("native"in e)return e;const{canvas:i,currentDevicePixelRatio:n}=t,o=G1(i),s=o.boxSizing==="border-box",l=Vt(o,"padding"),a=Vt(o,"border","width"),{x:c,y:d,box:h}=QC(e,i),f=l.left+(h&&a.left),u=l.top+(h&&a.top);let{width:g,height:v}=t;return s&&(g-=l.width+a.width,v-=l.height+a.height),{x:Math.round((c-f)/g*i.width/n),y:Math.round((d-u)/v*i.height/n)}}function JC(e,t,i){let n,o;if(t===void 0||i===void 0){const s=Xr(e);if(!s)t=e.clientWidth,i=e.clientHeight;else{const l=s.getBoundingClientRect(),a=G1(s),c=Vt(a,"border","width"),d=Vt(a,"padding");t=l.width-d.width-c.width,i=l.height-d.height-c.height,n=h1(a.maxWidth,s,"clientWidth"),o=h1(a.maxHeight,s,"clientHeight")}}return{width:t,height:i,maxWidth:n||o1,maxHeight:o||o1}}const yi=e=>Math.round(e*10)/10;function eA(e,t,i,n){const o=G1(e),s=Vt(o,"margin"),l=h1(o.maxWidth,e,"clientWidth")||o1,a=h1(o.maxHeight,e,"clientHeight")||o1,c=JC(e,t,i);let{width:d,height:h}=c;if(o.boxSizing==="content-box"){const u=Vt(o,"border","width"),g=Vt(o,"padding");d-=g.width+u.width,h-=g.height+u.height}return d=Math.max(0,d-s.width),h=Math.max(0,n?d/n:h-s.height),d=yi(Math.min(d,l,c.maxWidth)),h=yi(Math.min(h,a,c.maxHeight)),d&&!h&&(h=yi(d/2)),(t!==void 0||i!==void 0)&&n&&c.height&&h>c.height&&(h=c.height,d=yi(Math.floor(h*n))),{width:d,height:h}}function Us(e,t,i){const n=t||1,o=Math.floor(e.height*n),s=Math.floor(e.width*n);e.height=Math.floor(e.height),e.width=Math.floor(e.width);const l=e.canvas;return l.style&&(i||!l.style.height&&!l.style.width)&&(l.style.height=`${e.height}px`,l.style.width=`${e.width}px`),e.currentDevicePixelRatio!==n||l.height!==o||l.width!==s?(e.currentDevicePixelRatio=n,l.height=o,l.width=s,e.ctx.setTransform(n,0,0,n,0,0),!0):!1}const tA=function(){let e=!1;try{const t={get passive(){return e=!0,!1}};Nr()&&(window.addEventListener("test",null,t),window.removeEventListener("test",null,t))}catch{}return e}();function zs(e,t){const i=YC(e,t),n=i&&i.match(/^(\d+)(\.\d+)?px$/);return n?+n[1]:void 0}const iA=function(e,t){return{x(i){return e+e+t-i},setWidth(i){t=i},textAlign(i){return i==="center"?i:i==="right"?"left":"right"},xPlus(i,n){return i-n},leftForLtr(i,n){return i-n}}},nA=function(){return{x(e){return e},setWidth(e){},textAlign(e){return e},xPlus(e,t){return e+t},leftForLtr(e,t){return e}}};function wn(e,t,i){return e?iA(t,i):nA()}function rA(e,t){let i,n;(t==="ltr"||t==="rtl")&&(i=e.canvas.style,n=[i.getPropertyValue("direction"),i.getPropertyPriority("direction")],i.setProperty("direction",t,"important"),e.prevTextDirection=n)}function oA(e,t){t!==void 0&&(delete e.prevTextDirection,e.canvas.style.setProperty("direction",t[0],t[1]))}/*!
|
|
1870
1870
|
* Chart.js v4.4.2
|
|
1871
1871
|
* https://www.chartjs.org
|
|
1872
1872
|
* (c) 2024 Chart.js Contributors
|
|
1873
1873
|
* Released under the MIT License
|
|
1874
|
-
*/class sA{constructor(){this._request=null,this._charts=new Map,this._running=!1,this._lastDate=void 0}_notify(t,i,n,o){const s=i.listeners[o],l=i.duration;s.forEach(a=>a({chart:t,initial:i.initial,numSteps:l,currentStep:Math.min(n-i.start,l)}))}_refresh(){this._request||(this._running=!0,this._request=f5.call(window,()=>{this._update(),this._request=null,this._running&&this._refresh()}))}_update(t=Date.now()){let i=0;this._charts.forEach((n,o)=>{if(!n.running||!n.items.length)return;const s=n.items;let l=s.length-1,a=!1,c;for(;l>=0;--l)c=s[l],c._active?(c._total>n.duration&&(n.duration=c._total),c.tick(t),a=!0):(s[l]=s[s.length-1],s.pop());a&&(o.draw(),this._notify(o,n,t,"progress")),s.length||(n.running=!1,this._notify(o,n,t,"complete"),n.initial=!1),i+=s.length}),this._lastDate=t,i===0&&(this._running=!1)}_getAnims(t){const i=this._charts;let n=i.get(t);return n||(n={running:!1,initial:!0,items:[],listeners:{complete:[],progress:[]}},i.set(t,n)),n}listen(t,i,n){this._getAnims(t).listeners[i].push(n)}add(t,i){!i||!i.length||this._getAnims(t).items.push(...i)}has(t){return this._getAnims(t).items.length>0}start(t){const i=this._charts.get(t);!i||(i.running=!0,i.start=Date.now(),i.duration=i.items.reduce((n,o)=>Math.max(n,o._duration),0),this._refresh())}running(t){if(!this._running)return!1;const i=this._charts.get(t);return!(!i||!i.running||!i.items.length)}stop(t){const i=this._charts.get(t);if(!i||!i.items.length)return;const n=i.items;let o=n.length-1;for(;o>=0;--o)n[o].cancel();i.items=[],this._notify(t,i,Date.now(),"complete")}remove(t){return this._charts.delete(t)}}var ot=new sA;const Ws="transparent",lA={boolean(e,t,i){return i>.5?t:e},color(e,t,i){const n=Ts(e||Ws),o=n.valid&&Ts(t||Ws);return o&&o.valid?o.mix(n,i).hexString():t},number(e,t,i){return e+(t-e)*i}};class aA{constructor(t,i,n,o){const s=i[n];o=wi([t.to,o,s,t.from]);const l=wi([t.from,s,o]);this._active=!0,this._fn=t.fn||lA[t.type||typeof l],this._easing=D0[t.easing]||D0.linear,this._start=Math.floor(Date.now()+(t.delay||0)),this._duration=this._total=Math.floor(t.duration),this._loop=!!t.loop,this._target=i,this._prop=n,this._from=l,this._to=o,this._promises=void 0}active(){return this._active}update(t,i,n){if(this._active){this._notify(!1);const o=this._target[this._prop],s=n-this._start,l=this._duration-s;this._start=n,this._duration=Math.floor(Math.max(l,t.duration)),this._total+=s,this._loop=!!t.loop,this._to=wi([t.to,i,o,t.from]),this._from=wi([t.from,o,i])}}cancel(){this._active&&(this.tick(Date.now()),this._active=!1,this._notify(!1))}tick(t){const i=t-this._start,n=this._duration,o=this._prop,s=this._from,l=this._loop,a=this._to;let c;if(this._active=s!==a&&(l||i<n),!this._active){this._target[o]=a,this._notify(!0);return}if(i<0){this._target[o]=s;return}c=i/n%2,c=l&&c>1?2-c:c,c=this._easing(Math.min(1,Math.max(0,c))),this._target[o]=this._fn(s,a,c)}wait(){const t=this._promises||(this._promises=[]);return new Promise((i,n)=>{t.push({res:i,rej:n})})}_notify(t){const i=t?"res":"rej",n=this._promises||[];for(let o=0;o<n.length;o++)n[o][i]()}}class b5{constructor(t,i){this._chart=t,this._properties=new Map,this.configure(i)}configure(t){if(!Y(t))return;const i=Object.keys(he.animation),n=this._properties;Object.getOwnPropertyNames(t).forEach(o=>{const s=t[o];if(!Y(s))return;const l={};for(const a of i)l[a]=s[a];(ae(s.properties)&&s.properties||[o]).forEach(a=>{(a===o||!n.has(a))&&n.set(a,l)})})}_animateOptions(t,i){const n=i.options,o=dA(t,n);if(!o)return[];const s=this._createAnimations(o,n);return n.$shared&&cA(t.options.$animations,n).then(()=>{t.options=n},()=>{}),s}_createAnimations(t,i){const n=this._properties,o=[],s=t.$animations||(t.$animations={}),l=Object.keys(i),a=Date.now();let c;for(c=l.length-1;c>=0;--c){const d=l[c];if(d.charAt(0)==="$")continue;if(d==="options"){o.push(...this._animateOptions(t,i));continue}const h=i[d];let f=s[d];const u=n.get(d);if(f)if(u&&f.active()){f.update(u,h,a);continue}else f.cancel();if(!u||!u.duration){t[d]=h;continue}s[d]=f=new aA(u,t,d,h),o.push(f)}return o}update(t,i){if(this._properties.size===0){Object.assign(t,i);return}const n=this._createAnimations(t,i);if(n.length)return ot.add(this._chart,n),!0}}function cA(e,t){const i=[],n=Object.keys(t);for(let o=0;o<n.length;o++){const s=e[n[o]];s&&s.active()&&i.push(s.wait())}return Promise.all(i)}function dA(e,t){if(!t)return;let i=e.options;if(!i){e.options=t;return}return i.$shared&&(e.options=i=Object.assign({},i,{$shared:!1,$animations:{}})),i}function Gs(e,t){const i=e&&e.options||{},n=i.reverse,o=i.min===void 0?t:0,s=i.max===void 0?t:0;return{start:n?s:o,end:n?o:s}}function hA(e,t,i){if(i===!1)return!1;const n=Gs(e,i),o=Gs(t,i);return{top:o.end,right:n.end,bottom:o.start,left:n.start}}function fA(e){let t,i,n,o;return Y(e)?(t=e.top,i=e.right,n=e.bottom,o=e.left):t=i=n=o=e,{top:t,right:i,bottom:n,left:o,disabled:e===!1}}function M5(e,t){const i=[],n=e._getSortedDatasetMetas(t);let o,s;for(o=0,s=n.length;o<s;++o)i.push(n[o].index);return i}function js(e,t,i,n={}){const o=e.keys,s=n.mode==="single";let l,a,c,d;if(t!==null){for(l=0,a=o.length;l<a;++l){if(c=+o[l],c===i){if(n.all)continue;break}d=e.values[c],we(d)&&(s||t===0||s1(t)===s1(d))&&(t+=d)}return t}}function uA(e){const t=Object.keys(e),i=new Array(t.length);let n,o,s;for(n=0,o=t.length;n<o;++n)s=t[n],i[n]={x:s,y:e[s]};return i}function Ns(e,t){const i=e&&e.options.stacked;return i||i===void 0&&t.stack!==void 0}function pA(e,t,i){return`${e.id}.${t.id}.${i.stack||i.type}`}function gA(e){const{min:t,max:i,minDefined:n,maxDefined:o}=e.getUserBounds();return{min:n?t:Number.NEGATIVE_INFINITY,max:o?i:Number.POSITIVE_INFINITY}}function vA(e,t,i){const n=e[t]||(e[t]={});return n[i]||(n[i]={})}function Xs(e,t,i,n){for(const o of t.getMatchingVisibleMetas(n).reverse()){const s=e[o.index];if(i&&s>0||!i&&s<0)return o.index}return null}function Ys(e,t){const{chart:i,_cachedMeta:n}=e,o=i._stacks||(i._stacks={}),{iScale:s,vScale:l,index:a}=n,c=s.axis,d=l.axis,h=pA(s,l,n),f=t.length;let u;for(let g=0;g<f;++g){const v=t[g],{[c]:m,[d]:w}=v,_=v._stacks||(v._stacks={});u=_[d]=vA(o,h,m),u[a]=w,u._top=Xs(u,l,!0,n.type),u._bottom=Xs(u,l,!1,n.type);const Z=u._visualValues||(u._visualValues={});Z[a]=w}}function yn(e,t){const i=e.scales;return Object.keys(i).filter(n=>i[n].axis===t).shift()}function mA(e,t){return Wt(e,{active:!1,dataset:void 0,datasetIndex:t,index:t,mode:"default",type:"dataset"})}function xA(e,t,i){return Wt(e,{active:!1,dataIndex:t,parsed:void 0,raw:void 0,element:i,index:t,mode:"default",type:"data"})}function v0(e,t){const i=e.controller.index,n=e.vScale&&e.vScale.axis;if(!!n){t=t||e._parsed;for(const o of t){const s=o._stacks;if(!s||s[n]===void 0||s[n][i]===void 0)return;delete s[n][i],s[n]._visualValues!==void 0&&s[n]._visualValues[i]!==void 0&&delete s[n]._visualValues[i]}}}const _n=e=>e==="reset"||e==="none",Ks=(e,t)=>t?e:Object.assign({},e),wA=(e,t,i)=>e&&!t.hidden&&t._stacked&&{keys:M5(i,!0),values:null};class P0{constructor(t,i){this.chart=t,this._ctx=t.ctx,this.index=i,this._cachedDataOpts={},this._cachedMeta=this.getMeta(),this._type=this._cachedMeta.type,this.options=void 0,this._parsing=!1,this._data=void 0,this._objectData=void 0,this._sharedOptions=void 0,this._drawStart=void 0,this._drawCount=void 0,this.enableOptionSharing=!1,this.supportsDecimation=!1,this.$context=void 0,this._syncList=[],this.datasetElementType=new.target.datasetElementType,this.dataElementType=new.target.dataElementType,this.initialize()}initialize(){const t=this._cachedMeta;this.configure(),this.linkScales(),t._stacked=Ns(t.vScale,t),this.addElements(),this.options.fill&&!this.chart.isPluginEnabled("filler")&&console.warn("Tried to use the 'fill' option without the 'Filler' plugin enabled. Please import and register the 'Filler' plugin and make sure it is not disabled in the options")}updateIndex(t){this.index!==t&&v0(this._cachedMeta),this.index=t}linkScales(){const t=this.chart,i=this._cachedMeta,n=this.getDataset(),o=(f,u,g,v)=>f==="x"?u:f==="r"?v:g,s=i.xAxisID=se(n.xAxisID,yn(t,"x")),l=i.yAxisID=se(n.yAxisID,yn(t,"y")),a=i.rAxisID=se(n.rAxisID,yn(t,"r")),c=i.indexAxis,d=i.iAxisID=o(c,s,l,a),h=i.vAxisID=o(c,l,s,a);i.xScale=this.getScaleForId(s),i.yScale=this.getScaleForId(l),i.rScale=this.getScaleForId(a),i.iScale=this.getScaleForId(d),i.vScale=this.getScaleForId(h)}getDataset(){return this.chart.data.datasets[this.index]}getMeta(){return this.chart.getDatasetMeta(this.index)}getScaleForId(t){return this.chart.scales[t]}_getOtherScale(t){const i=this._cachedMeta;return t===i.iScale?i.vScale:i.iScale}reset(){this._update("reset")}_destroy(){const t=this._cachedMeta;this._data&&Bs(this._data,this),t._stacked&&v0(t)}_dataCheck(){const t=this.getDataset(),i=t.data||(t.data=[]),n=this._data;if(Y(i))this._data=uA(i);else if(n!==i){if(n){Bs(n,this);const o=this._cachedMeta;v0(o),o._parsed=[]}i&&Object.isExtensible(i)&&vC(i,this),this._syncList=[],this._data=i}}addElements(){const t=this._cachedMeta;this._dataCheck(),this.datasetElementType&&(t.dataset=new this.datasetElementType)}buildOrUpdateElements(t){const i=this._cachedMeta,n=this.getDataset();let o=!1;this._dataCheck();const s=i._stacked;i._stacked=Ns(i.vScale,i),i.stack!==n.stack&&(o=!0,v0(i),i.stack=n.stack),this._resyncElements(t),(o||s!==i._stacked)&&Ys(this,i._parsed)}configure(){const t=this.chart.config,i=t.datasetScopeKeys(this._type),n=t.getOptionScopes(this.getDataset(),i,!0);this.options=t.createResolver(n,this.getContext()),this._parsing=this.options.parsing,this._cachedDataOpts={}}parse(t,i){const{_cachedMeta:n,_data:o}=this,{iScale:s,_stacked:l}=n,a=s.axis;let c=t===0&&i===o.length?!0:n._sorted,d=t>0&&n._parsed[t-1],h,f,u;if(this._parsing===!1)n._parsed=o,n._sorted=!0,u=o;else{ae(o[t])?u=this.parseArrayData(n,o,t,i):Y(o[t])?u=this.parseObjectData(n,o,t,i):u=this.parsePrimitiveData(n,o,t,i);const g=()=>f[a]===null||d&&f[a]<d[a];for(h=0;h<i;++h)n._parsed[h+t]=f=u[h],c&&(g()&&(c=!1),d=f);n._sorted=c}l&&Ys(this,u)}parsePrimitiveData(t,i,n,o){const{iScale:s,vScale:l}=t,a=s.axis,c=l.axis,d=s.getLabels(),h=s===l,f=new Array(o);let u,g,v;for(u=0,g=o;u<g;++u)v=u+n,f[u]={[a]:h||s.parse(d[v],v),[c]:l.parse(i[v],v)};return f}parseArrayData(t,i,n,o){const{xScale:s,yScale:l}=t,a=new Array(o);let c,d,h,f;for(c=0,d=o;c<d;++c)h=c+n,f=i[h],a[c]={x:s.parse(f[0],h),y:l.parse(f[1],h)};return a}parseObjectData(t,i,n,o){const{xScale:s,yScale:l}=t,{xAxisKey:a="x",yAxisKey:c="y"}=this._parsing,d=new Array(o);let h,f,u,g;for(h=0,f=o;h<f;++h)u=h+n,g=i[u],d[h]={x:s.parse(q0(g,a),u),y:l.parse(q0(g,c),u)};return d}getParsed(t){return this._cachedMeta._parsed[t]}getDataElement(t){return this._cachedMeta.data[t]}applyStack(t,i,n){const o=this.chart,s=this._cachedMeta,l=i[t.axis],a={keys:M5(o,!0),values:i._stacks[t.axis]._visualValues};return js(a,l,s.index,{mode:n})}updateRangeFromParsed(t,i,n,o){const s=n[i.axis];let l=s===null?NaN:s;const a=o&&n._stacks[i.axis];o&&a&&(o.values=a,l=js(o,s,this._cachedMeta.index)),t.min=Math.min(t.min,l),t.max=Math.max(t.max,l)}getMinMax(t,i){const n=this._cachedMeta,o=n._parsed,s=n._sorted&&t===n.iScale,l=o.length,a=this._getOtherScale(t),c=wA(i,n,this.chart),d={min:Number.POSITIVE_INFINITY,max:Number.NEGATIVE_INFINITY},{min:h,max:f}=gA(a);let u,g;function v(){g=o[u];const m=g[a.axis];return!we(g[t.axis])||h>m||f<m}for(u=0;u<l&&!(!v()&&(this.updateRangeFromParsed(d,t,g,c),s));++u);if(s){for(u=l-1;u>=0;--u)if(!v()){this.updateRangeFromParsed(d,t,g,c);break}}return d}getAllParsedValues(t){const i=this._cachedMeta._parsed,n=[];let o,s,l;for(o=0,s=i.length;o<s;++o)l=i[o][t.axis],we(l)&&n.push(l);return n}getMaxOverflow(){return!1}getLabelAndValue(t){const i=this._cachedMeta,n=i.iScale,o=i.vScale,s=this.getParsed(t);return{label:n?""+n.getLabelForValue(s[n.axis]):"",value:o?""+o.getLabelForValue(s[o.axis]):""}}_update(t){const i=this._cachedMeta;this.update(t||"default"),i._clip=fA(se(this.options.clip,hA(i.xScale,i.yScale,this.getMaxOverflow())))}update(t){}draw(){const t=this._ctx,i=this.chart,n=this._cachedMeta,o=n.data||[],s=i.chartArea,l=[],a=this._drawStart||0,c=this._drawCount||o.length-a,d=this.options.drawActiveElementsOnTop;let h;for(n.dataset&&n.dataset.draw(t,s,a,c),h=a;h<a+c;++h){const f=o[h];f.hidden||(f.active&&d?l.push(f):f.draw(t,s))}for(h=0;h<l.length;++h)l[h].draw(t,s)}getStyle(t,i){const n=i?"active":"default";return t===void 0&&this._cachedMeta.dataset?this.resolveDatasetElementOptions(n):this.resolveDataElementOptions(t||0,n)}getContext(t,i,n){const o=this.getDataset();let s;if(t>=0&&t<this._cachedMeta.data.length){const l=this._cachedMeta.data[t];s=l.$context||(l.$context=xA(this.getContext(),t,l)),s.parsed=this.getParsed(t),s.raw=o.data[t],s.index=s.dataIndex=t}else s=this.$context||(this.$context=mA(this.chart.getContext(),this.index)),s.dataset=o,s.index=s.datasetIndex=this.index;return s.active=!!i,s.mode=n,s}resolveDatasetElementOptions(t){return this._resolveElementOptions(this.datasetElementType.id,t)}resolveDataElementOptions(t,i){return this._resolveElementOptions(this.dataElementType.id,i,t)}_resolveElementOptions(t,i="default",n){const o=i==="active",s=this._cachedDataOpts,l=t+"-"+i,a=s[l],c=this.enableOptionSharing&&r1(n);if(a)return Ks(a,c);const d=this.chart.config,h=d.datasetElementScopeKeys(this._type,t),f=o?[`${t}Hover`,"hover",t,""]:[t,""],u=d.getOptionScopes(this.getDataset(),h),g=Object.keys(he.elements[t]),v=()=>this.getContext(n,o,i),m=d.resolveNamedOptions(u,g,v,f);return m.$shared&&(m.$shared=c,s[l]=Object.freeze(Ks(m,c))),m}_resolveAnimations(t,i,n){const o=this.chart,s=this._cachedDataOpts,l=`animation-${i}`,a=s[l];if(a)return a;let c;if(o.options.animation!==!1){const h=this.chart.config,f=h.datasetAnimationScopeKeys(this._type,i),u=h.getOptionScopes(this.getDataset(),f);c=h.createResolver(u,this.getContext(t,n,i))}const d=new b5(o,c&&c.animations);return c&&c._cacheable&&(s[l]=Object.freeze(d)),d}getSharedOptions(t){if(!!t.$shared)return this._sharedOptions||(this._sharedOptions=Object.assign({},t))}includeOptions(t,i){return!i||_n(t)||this.chart._animationsDisabled}_getSharedOptions(t,i){const n=this.resolveDataElementOptions(t,i),o=this._sharedOptions,s=this.getSharedOptions(n),l=this.includeOptions(i,s)||s!==o;return this.updateSharedOptions(s,i,n),{sharedOptions:s,includeOptions:l}}updateElement(t,i,n,o){_n(o)?Object.assign(t,n):this._resolveAnimations(i,o).update(t,n)}updateSharedOptions(t,i,n){t&&!_n(i)&&this._resolveAnimations(void 0,i).update(t,n)}_setStyle(t,i,n,o){t.active=o;const s=this.getStyle(i,o);this._resolveAnimations(i,n,o).update(t,{options:!o&&this.getSharedOptions(s)||s})}removeHoverStyle(t,i,n){this._setStyle(t,n,"active",!1)}setHoverStyle(t,i,n){this._setStyle(t,n,"active",!0)}_removeDatasetHoverStyle(){const t=this._cachedMeta.dataset;t&&this._setStyle(t,void 0,"active",!1)}_setDatasetHoverStyle(){const t=this._cachedMeta.dataset;t&&this._setStyle(t,void 0,"active",!0)}_resyncElements(t){const i=this._data,n=this._cachedMeta.data;for(const[a,c,d]of this._syncList)this[a](c,d);this._syncList=[];const o=n.length,s=i.length,l=Math.min(s,o);l&&this.parse(0,l),s>o?this._insertElements(o,s-o,t):s<o&&this._removeElements(s,o-s)}_insertElements(t,i,n=!0){const o=this._cachedMeta,s=o.data,l=t+i;let a;const c=d=>{for(d.length+=i,a=d.length-1;a>=l;a--)d[a]=d[a-i]};for(c(s),a=t;a<l;++a)s[a]=new this.dataElementType;this._parsing&&c(o._parsed),this.parse(t,i),n&&this.updateElements(s,t,i,"reset")}updateElements(t,i,n,o){}_removeElements(t,i){const n=this._cachedMeta;if(this._parsing){const o=n._parsed.splice(t,i);n._stacked&&v0(n,o)}n.data.splice(t,i)}_sync(t){if(this._parsing)this._syncList.push(t);else{const[i,n,o]=t;this[i](n,o)}this.chart._dataChanges.push([this.index,...t])}_onDataPush(){const t=arguments.length;this._sync(["_insertElements",this.getDataset().data.length-t,t])}_onDataPop(){this._sync(["_removeElements",this._cachedMeta.data.length-1,1])}_onDataShift(){this._sync(["_removeElements",0,1])}_onDataSplice(t,i){i&&this._sync(["_removeElements",t,i]);const n=arguments.length-2;n&&this._sync(["_insertElements",t,n])}_onDataUnshift(){this._sync(["_insertElements",0,arguments.length])}}j(P0,"defaults",{}),j(P0,"datasetElementType",null),j(P0,"dataElementType",null);function yA(e,t,i){let n=1,o=1,s=0,l=0;if(t<ce){const a=e,c=a+t,d=Math.cos(a),h=Math.sin(a),f=Math.cos(c),u=Math.sin(c),g=(b,I,A)=>a1(b,a,c,!0)?1:Math.max(I,I*i,A,A*i),v=(b,I,A)=>a1(b,a,c,!0)?-1:Math.min(I,I*i,A,A*i),m=g(0,d,f),w=g(de,h,u),_=v(pe,d,f),Z=v(pe+de,h,u);n=(m-_)/2,o=(w-Z)/2,s=-(m+_)/2,l=-(w+Z)/2}return{ratioX:n,ratioY:o,offsetX:s,offsetY:l}}class Z0 extends P0{constructor(t,i){super(t,i),this.enableOptionSharing=!0,this.innerRadius=void 0,this.outerRadius=void 0,this.offsetX=void 0,this.offsetY=void 0}linkScales(){}parse(t,i){const n=this.getDataset().data,o=this._cachedMeta;if(this._parsing===!1)o._parsed=n;else{let s=c=>+n[c];if(Y(n[t])){const{key:c="value"}=this._parsing;s=d=>+q0(n[d],c)}let l,a;for(l=t,a=t+i;l<a;++l)o._parsed[l]=s(l)}}_getRotation(){return Je(this.options.rotation-90)}_getCircumference(){return Je(this.options.circumference)}_getRotationExtents(){let t=ce,i=-ce;for(let n=0;n<this.chart.data.datasets.length;++n)if(this.chart.isDatasetVisible(n)&&this.chart.getDatasetMeta(n).type===this._type){const o=this.chart.getDatasetMeta(n).controller,s=o._getRotation(),l=o._getCircumference();t=Math.min(t,s),i=Math.max(i,s+l)}return{rotation:t,circumference:i-t}}update(t){const i=this.chart,{chartArea:n}=i,o=this._cachedMeta,s=o.data,l=this.getMaxBorderWidth()+this.getMaxOffset(s)+this.options.spacing,a=Math.max((Math.min(n.width,n.height)-l)/2,0),c=Math.min(iC(this.options.cutout,a),1),d=this._getRingWeight(this.index),{circumference:h,rotation:f}=this._getRotationExtents(),{ratioX:u,ratioY:g,offsetX:v,offsetY:m}=yA(f,h,c),w=(n.width-l)/u,_=(n.height-l)/g,Z=Math.max(Math.min(w,_)/2,0),b=l5(this.options.radius,Z),I=Math.max(b*c,0),A=(b-I)/this._getVisibleDatasetWeightTotal();this.offsetX=v*b,this.offsetY=m*b,o.total=this.calculateTotal(),this.outerRadius=b-A*this._getRingWeightOffset(this.index),this.innerRadius=Math.max(this.outerRadius-A*d,0),this.updateElements(s,0,s.length,t)}_circumference(t,i){const n=this.options,o=this._cachedMeta,s=this._getCircumference();return i&&n.animation.animateRotate||!this.chart.getDataVisibility(t)||o._parsed[t]===null||o.data[t].hidden?0:this.calculateCircumference(o._parsed[t]*s/ce)}updateElements(t,i,n,o){const s=o==="reset",l=this.chart,a=l.chartArea,d=l.options.animation,h=(a.left+a.right)/2,f=(a.top+a.bottom)/2,u=s&&d.animateScale,g=u?0:this.innerRadius,v=u?0:this.outerRadius,{sharedOptions:m,includeOptions:w}=this._getSharedOptions(i,o);let _=this._getRotation(),Z;for(Z=0;Z<i;++Z)_+=this._circumference(Z,s);for(Z=i;Z<i+n;++Z){const b=this._circumference(Z,s),I=t[Z],A={x:h+this.offsetX,y:f+this.offsetY,startAngle:_,endAngle:_+b,circumference:b,outerRadius:v,innerRadius:g};w&&(A.options=m||this.resolveDataElementOptions(Z,I.active?"active":o)),_+=b,this.updateElement(I,Z,A,o)}}calculateTotal(){const t=this._cachedMeta,i=t.data;let n=0,o;for(o=0;o<i.length;o++){const s=t._parsed[o];s!==null&&!isNaN(s)&&this.chart.getDataVisibility(o)&&!i[o].hidden&&(n+=Math.abs(s))}return n}calculateCircumference(t){const i=this._cachedMeta.total;return i>0&&!isNaN(t)?ce*(Math.abs(t)/i):0}getLabelAndValue(t){const i=this._cachedMeta,n=this.chart,o=n.data.labels||[],s=z1(i._parsed[t],n.options.locale);return{label:o[t]||"",value:s}}getMaxBorderWidth(t){let i=0;const n=this.chart;let o,s,l,a,c;if(!t){for(o=0,s=n.data.datasets.length;o<s;++o)if(n.isDatasetVisible(o)){l=n.getDatasetMeta(o),t=l.data,a=l.controller;break}}if(!t)return 0;for(o=0,s=t.length;o<s;++o)c=a.resolveDataElementOptions(o),c.borderAlign!=="inner"&&(i=Math.max(i,c.borderWidth||0,c.hoverBorderWidth||0));return i}getMaxOffset(t){let i=0;for(let n=0,o=t.length;n<o;++n){const s=this.resolveDataElementOptions(n);i=Math.max(i,s.offset||0,s.hoverOffset||0)}return i}_getRingWeightOffset(t){let i=0;for(let n=0;n<t;++n)this.chart.isDatasetVisible(n)&&(i+=this._getRingWeight(n));return i}_getRingWeight(t){return Math.max(se(this.chart.data.datasets[t].weight,1),0)}_getVisibleDatasetWeightTotal(){return this._getRingWeightOffset(this.chart.data.datasets.length)||1}}j(Z0,"id","doughnut"),j(Z0,"defaults",{datasetElementType:!1,dataElementType:"arc",animation:{animateRotate:!0,animateScale:!1},animations:{numbers:{type:"number",properties:["circumference","endAngle","innerRadius","outerRadius","startAngle","x","y","offset","borderWidth","spacing"]}},cutout:"50%",rotation:0,circumference:360,radius:"100%",spacing:0,indexAxis:"r"}),j(Z0,"descriptors",{_scriptable:t=>t!=="spacing",_indexable:t=>t!=="spacing"&&!t.startsWith("borderDash")&&!t.startsWith("hoverBorderDash")}),j(Z0,"overrides",{aspectRatio:1,plugins:{legend:{labels:{generateLabels(t){const i=t.data;if(i.labels.length&&i.datasets.length){const{labels:{pointStyle:n,color:o}}=t.legend.options;return i.labels.map((s,l)=>{const c=t.getDatasetMeta(0).controller.getStyle(l);return{text:s,fillStyle:c.backgroundColor,strokeStyle:c.borderColor,fontColor:o,lineWidth:c.borderWidth,pointStyle:n,hidden:!t.getDataVisibility(l),index:l}})}return[]}},onClick(t,i,n){n.chart.toggleDataVisibility(i.index),n.chart.update()}}}});function kt(){throw new Error("This method is not implemented: Check that a complete date adapter is provided.")}class Yr{constructor(t){j(this,"options");this.options=t||{}}static override(t){Object.assign(Yr.prototype,t)}init(){}formats(){return kt()}parse(){return kt()}format(){return kt()}add(){return kt()}diff(){return kt()}startOf(){return kt()}endOf(){return kt()}}var _A={_date:Yr};function bA(e,t,i,n){const{controller:o,data:s,_sorted:l}=e,a=o._cachedMeta.iScale;if(a&&t===a.axis&&t!=="r"&&l&&s.length){const c=a._reversePixels?pC:jn;if(n){if(o._sharedOptions){const d=s[0],h=typeof d.getRange=="function"&&d.getRange(t);if(h){const f=c(s,t,i-h),u=c(s,t,i+h);return{lo:f.lo,hi:u.hi}}}}else return c(s,t,i)}return{lo:0,hi:s.length-1}}function ai(e,t,i,n,o){const s=e.getSortedVisibleDatasetMetas(),l=i[t];for(let a=0,c=s.length;a<c;++a){const{index:d,data:h}=s[a],{lo:f,hi:u}=bA(s[a],t,l,o);for(let g=f;g<=u;++g){const v=h[g];v.skip||n(v,d,g)}}}function MA(e){const t=e.indexOf("x")!==-1,i=e.indexOf("y")!==-1;return function(n,o){const s=t?Math.abs(n.x-o.x):0,l=i?Math.abs(n.y-o.y):0;return Math.sqrt(Math.pow(s,2)+Math.pow(l,2))}}function bn(e,t,i,n,o){const s=[];return!o&&!e.isPointInArea(t)||ai(e,i,t,function(a,c,d){!o&&!Qt(a,e.chartArea,0)||a.inRange(t.x,t.y,n)&&s.push({element:a,datasetIndex:c,index:d})},!0),s}function ZA(e,t,i,n){let o=[];function s(l,a,c){const{startAngle:d,endAngle:h}=l.getProps(["startAngle","endAngle"],n),{angle:f}=d5(l,{x:t.x,y:t.y});a1(f,d,h)&&o.push({element:l,datasetIndex:a,index:c})}return ai(e,i,t,s),o}function SA(e,t,i,n,o,s){let l=[];const a=MA(i);let c=Number.POSITIVE_INFINITY;function d(h,f,u){const g=h.inRange(t.x,t.y,o);if(n&&!g)return;const v=h.getCenterPoint(o);if(!(!!s||e.isPointInArea(v))&&!g)return;const w=a(t,v);w<c?(l=[{element:h,datasetIndex:f,index:u}],c=w):w===c&&l.push({element:h,datasetIndex:f,index:u})}return ai(e,i,t,d),l}function Mn(e,t,i,n,o,s){return!s&&!e.isPointInArea(t)?[]:i==="r"&&!n?ZA(e,t,i,o):SA(e,t,i,n,o,s)}function qs(e,t,i,n,o){const s=[],l=i==="x"?"inXRange":"inYRange";let a=!1;return ai(e,i,t,(c,d,h)=>{c[l](t[i],o)&&(s.push({element:c,datasetIndex:d,index:h}),a=a||c.inRange(t.x,t.y,o))}),n&&!a?[]:s}var IA={evaluateInteractionItems:ai,modes:{index(e,t,i,n){const o=Lt(t,e),s=i.axis||"x",l=i.includeInvisible||!1,a=i.intersect?bn(e,o,s,n,l):Mn(e,o,s,!1,n,l),c=[];return a.length?(e.getSortedVisibleDatasetMetas().forEach(d=>{const h=a[0].index,f=d.data[h];f&&!f.skip&&c.push({element:f,datasetIndex:d.index,index:h})}),c):[]},dataset(e,t,i,n){const o=Lt(t,e),s=i.axis||"xy",l=i.includeInvisible||!1;let a=i.intersect?bn(e,o,s,n,l):Mn(e,o,s,!1,n,l);if(a.length>0){const c=a[0].datasetIndex,d=e.getDatasetMeta(c).data;a=[];for(let h=0;h<d.length;++h)a.push({element:d[h],datasetIndex:c,index:h})}return a},point(e,t,i,n){const o=Lt(t,e),s=i.axis||"xy",l=i.includeInvisible||!1;return bn(e,o,s,n,l)},nearest(e,t,i,n){const o=Lt(t,e),s=i.axis||"xy",l=i.includeInvisible||!1;return Mn(e,o,s,i.intersect,n,l)},x(e,t,i,n){const o=Lt(t,e);return qs(e,o,"x",i.intersect,n)},y(e,t,i,n){const o=Lt(t,e);return qs(e,o,"y",i.intersect,n)}}};const Z5=["left","top","right","bottom"];function m0(e,t){return e.filter(i=>i.pos===t)}function Qs(e,t){return e.filter(i=>Z5.indexOf(i.pos)===-1&&i.box.axis===t)}function x0(e,t){return e.sort((i,n)=>{const o=t?n:i,s=t?i:n;return o.weight===s.weight?o.index-s.index:o.weight-s.weight})}function CA(e){const t=[];let i,n,o,s,l,a;for(i=0,n=(e||[]).length;i<n;++i)o=e[i],{position:s,options:{stack:l,stackWeight:a=1}}=o,t.push({index:i,box:o,pos:s,horizontal:o.isHorizontal(),weight:o.weight,stack:l&&s+l,stackWeight:a});return t}function AA(e){const t={};for(const i of e){const{stack:n,pos:o,stackWeight:s}=i;if(!n||!Z5.includes(o))continue;const l=t[n]||(t[n]={count:0,placed:0,weight:0,size:0});l.count++,l.weight+=s}return t}function RA(e,t){const i=AA(e),{vBoxMaxWidth:n,hBoxMaxHeight:o}=t;let s,l,a;for(s=0,l=e.length;s<l;++s){a=e[s];const{fullSize:c}=a.box,d=i[a.stack],h=d&&a.stackWeight/d.weight;a.horizontal?(a.width=h?h*n:c&&t.availableWidth,a.height=o):(a.width=n,a.height=h?h*o:c&&t.availableHeight)}return i}function kA(e){const t=CA(e),i=x0(t.filter(d=>d.box.fullSize),!0),n=x0(m0(t,"left"),!0),o=x0(m0(t,"right")),s=x0(m0(t,"top"),!0),l=x0(m0(t,"bottom")),a=Qs(t,"x"),c=Qs(t,"y");return{fullSize:i,leftAndTop:n.concat(s),rightAndBottom:o.concat(c).concat(l).concat(a),chartArea:m0(t,"chartArea"),vertical:n.concat(o).concat(c),horizontal:s.concat(l).concat(a)}}function Js(e,t,i,n){return Math.max(e[i],t[i])+Math.max(e[n],t[n])}function S5(e,t){e.top=Math.max(e.top,t.top),e.left=Math.max(e.left,t.left),e.bottom=Math.max(e.bottom,t.bottom),e.right=Math.max(e.right,t.right)}function FA(e,t,i,n){const{pos:o,box:s}=i,l=e.maxPadding;if(!Y(o)){i.size&&(e[o]-=i.size);const f=n[i.stack]||{size:0,count:1};f.size=Math.max(f.size,i.horizontal?s.height:s.width),i.size=f.size/f.count,e[o]+=i.size}s.getPadding&&S5(l,s.getPadding());const a=Math.max(0,t.outerWidth-Js(l,e,"left","right")),c=Math.max(0,t.outerHeight-Js(l,e,"top","bottom")),d=a!==e.w,h=c!==e.h;return e.w=a,e.h=c,i.horizontal?{same:d,other:h}:{same:h,other:d}}function BA(e){const t=e.maxPadding;function i(n){const o=Math.max(t[n]-e[n],0);return e[n]+=o,o}e.y+=i("top"),e.x+=i("left"),i("right"),i("bottom")}function EA(e,t){const i=t.maxPadding;function n(o){const s={left:0,top:0,right:0,bottom:0};return o.forEach(l=>{s[l]=Math.max(t[l],i[l])}),s}return n(e?["left","right"]:["top","bottom"])}function S0(e,t,i,n){const o=[];let s,l,a,c,d,h;for(s=0,l=e.length,d=0;s<l;++s){a=e[s],c=a.box,c.update(a.width||t.w,a.height||t.h,EA(a.horizontal,t));const{same:f,other:u}=FA(t,i,a,n);d|=f&&o.length,h=h||u,c.fullSize||o.push(a)}return d&&S0(o,t,i,n)||h}function _i(e,t,i,n,o){e.top=i,e.left=t,e.right=t+n,e.bottom=i+o,e.width=n,e.height=o}function el(e,t,i,n){const o=i.padding;let{x:s,y:l}=t;for(const a of e){const c=a.box,d=n[a.stack]||{count:1,placed:0,weight:1},h=a.stackWeight/d.weight||1;if(a.horizontal){const f=t.w*h,u=d.size||c.height;r1(d.start)&&(l=d.start),c.fullSize?_i(c,o.left,l,i.outerWidth-o.right-o.left,u):_i(c,t.left+d.placed,l,f,u),d.start=l,d.placed+=f,l=c.bottom}else{const f=t.h*h,u=d.size||c.width;r1(d.start)&&(s=d.start),c.fullSize?_i(c,s,o.top,u,i.outerHeight-o.bottom-o.top):_i(c,s,t.top+d.placed,u,f),d.start=s,d.placed+=f,s=c.right}}t.x=s,t.y=l}var bi={addBox(e,t){e.boxes||(e.boxes=[]),t.fullSize=t.fullSize||!1,t.position=t.position||"top",t.weight=t.weight||0,t._layers=t._layers||function(){return[{z:0,draw(i){t.draw(i)}}]},e.boxes.push(t)},removeBox(e,t){const i=e.boxes?e.boxes.indexOf(t):-1;i!==-1&&e.boxes.splice(i,1)},configure(e,t,i){t.fullSize=i.fullSize,t.position=i.position,t.weight=i.weight},update(e,t,i,n){if(!e)return;const o=ze(e.options.layout.padding),s=Math.max(t-o.width,0),l=Math.max(i-o.height,0),a=kA(e.boxes),c=a.vertical,d=a.horizontal;Q(e.boxes,m=>{typeof m.beforeLayout=="function"&&m.beforeLayout()});const h=c.reduce((m,w)=>w.box.options&&w.box.options.display===!1?m:m+1,0)||1,f=Object.freeze({outerWidth:t,outerHeight:i,padding:o,availableWidth:s,availableHeight:l,vBoxMaxWidth:s/2/h,hBoxMaxHeight:l/2}),u=Object.assign({},o);S5(u,ze(n));const g=Object.assign({maxPadding:u,w:s,h:l,x:o.left,y:o.top},o),v=RA(c.concat(d),f);S0(a.fullSize,g,f,v),S0(c,g,f,v),S0(d,g,f,v)&&S0(c,g,f,v),BA(g),el(a.leftAndTop,g,f,v),g.x+=g.w,g.y+=g.h,el(a.rightAndBottom,g,f,v),e.chartArea={left:g.left,top:g.top,right:g.left+g.w,bottom:g.top+g.h,height:g.h,width:g.w},Q(a.chartArea,m=>{const w=m.box;Object.assign(w,e.chartArea),w.update(g.w,g.h,{left:0,top:0,right:0,bottom:0})})}};class I5{acquireContext(t,i){}releaseContext(t){return!1}addEventListener(t,i,n){}removeEventListener(t,i,n){}getDevicePixelRatio(){return 1}getMaximumSize(t,i,n,o){return i=Math.max(0,i||t.width),n=n||t.height,{width:i,height:Math.max(0,o?Math.floor(i/o):n)}}isAttached(t){return!0}updateConfig(t){}}class LA extends I5{acquireContext(t){return t&&t.getContext&&t.getContext("2d")||null}updateConfig(t){t.options.animation=!1}}const Ti="$chartjs",DA={touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"},tl=e=>e===null||e==="";function TA(e,t){const i=e.style,n=e.getAttribute("height"),o=e.getAttribute("width");if(e[Ti]={initial:{height:n,width:o,style:{display:i.display,height:i.height,width:i.width}}},i.display=i.display||"block",i.boxSizing=i.boxSizing||"border-box",tl(o)){const s=zs(e,"width");s!==void 0&&(e.width=s)}if(tl(n))if(e.style.height==="")e.height=e.width/(t||2);else{const s=zs(e,"height");s!==void 0&&(e.height=s)}return e}const C5=tA?{passive:!0}:!1;function VA(e,t,i){e&&e.addEventListener(t,i,C5)}function PA(e,t,i){e&&e.canvas&&e.canvas.removeEventListener(t,i,C5)}function OA(e,t){const i=DA[e.type]||e.type,{x:n,y:o}=Lt(e,t);return{type:i,chart:t,native:e,x:n!==void 0?n:null,y:o!==void 0?o:null}}function f1(e,t){for(const i of e)if(i===t||i.contains(t))return!0}function HA(e,t,i){const n=e.canvas,o=new MutationObserver(s=>{let l=!1;for(const a of s)l=l||f1(a.addedNodes,n),l=l&&!f1(a.removedNodes,n);l&&i()});return o.observe(document,{childList:!0,subtree:!0}),o}function $A(e,t,i){const n=e.canvas,o=new MutationObserver(s=>{let l=!1;for(const a of s)l=l||f1(a.removedNodes,n),l=l&&!f1(a.addedNodes,n);l&&i()});return o.observe(document,{childList:!0,subtree:!0}),o}const Q0=new Map;let il=0;function A5(){const e=window.devicePixelRatio;e!==il&&(il=e,Q0.forEach((t,i)=>{i.currentDevicePixelRatio!==e&&t()}))}function UA(e,t){Q0.size||window.addEventListener("resize",A5),Q0.set(e,t)}function zA(e){Q0.delete(e),Q0.size||window.removeEventListener("resize",A5)}function WA(e,t,i){const n=e.canvas,o=n&&Xr(n);if(!o)return;const s=u5((a,c)=>{const d=o.clientWidth;i(a,c),d<o.clientWidth&&i()},window),l=new ResizeObserver(a=>{const c=a[0],d=c.contentRect.width,h=c.contentRect.height;d===0&&h===0||s(d,h)});return l.observe(o),UA(e,s),l}function Zn(e,t,i){i&&i.disconnect(),t==="resize"&&zA(e)}function GA(e,t,i){const n=e.canvas,o=u5(s=>{e.ctx!==null&&i(OA(s,e))},e);return VA(n,t,o),o}class jA extends I5{acquireContext(t,i){const n=t&&t.getContext&&t.getContext("2d");return n&&n.canvas===t?(TA(t,i),n):null}releaseContext(t){const i=t.canvas;if(!i[Ti])return!1;const n=i[Ti].initial;["height","width"].forEach(s=>{const l=n[s];oe(l)?i.removeAttribute(s):i.setAttribute(s,l)});const o=n.style||{};return Object.keys(o).forEach(s=>{i.style[s]=o[s]}),i.width=i.width,delete i[Ti],!0}addEventListener(t,i,n){this.removeEventListener(t,i);const o=t.$proxies||(t.$proxies={}),l={attach:HA,detach:$A,resize:WA}[i]||GA;o[i]=l(t,i,n)}removeEventListener(t,i){const n=t.$proxies||(t.$proxies={}),o=n[i];if(!o)return;({attach:Zn,detach:Zn,resize:Zn}[i]||PA)(t,i,o),n[i]=void 0}getDevicePixelRatio(){return window.devicePixelRatio}getMaximumSize(t,i,n,o){return eA(t,i,n,o)}isAttached(t){const i=Xr(t);return!!(i&&i.isConnected)}}function NA(e){return!Nr()||typeof OffscreenCanvas<"u"&&e instanceof OffscreenCanvas?LA:jA}class s0{constructor(){j(this,"x");j(this,"y");j(this,"active",!1);j(this,"options");j(this,"$animations")}tooltipPosition(t){const{x:i,y:n}=this.getProps(["x","y"],t);return{x:i,y:n}}hasValue(){return l1(this.x)&&l1(this.y)}getProps(t,i){const n=this.$animations;if(!i||!n)return this;const o={};return t.forEach(s=>{o[s]=n[s]&&n[s].active()?n[s]._to:this[s]}),o}}j(s0,"defaults",{}),j(s0,"defaultRoutes");function XA(e,t){const i=e.options.ticks,n=YA(e),o=Math.min(i.maxTicksLimit||n,n),s=i.major.enabled?qA(t):[],l=s.length,a=s[0],c=s[l-1],d=[];if(l>o)return QA(t,d,s,l/o),d;const h=KA(s,t,o);if(l>0){let f,u;const g=l>1?Math.round((c-a)/(l-1)):null;for(Mi(t,d,h,oe(g)?0:a-g,a),f=0,u=l-1;f<u;f++)Mi(t,d,h,s[f],s[f+1]);return Mi(t,d,h,c,oe(g)?t.length:c+g),d}return Mi(t,d,h),d}function YA(e){const t=e.options.offset,i=e._tickSize(),n=e._length/i+(t?0:1),o=e._maxLength/i;return Math.floor(Math.min(n,o))}function KA(e,t,i){const n=JA(e),o=t.length/i;if(!n)return Math.max(o,1);const s=cC(n);for(let l=0,a=s.length-1;l<a;l++){const c=s[l];if(c>o)return c}return Math.max(o,1)}function qA(e){const t=[];let i,n;for(i=0,n=e.length;i<n;i++)e[i].major&&t.push(i);return t}function QA(e,t,i,n){let o=0,s=i[0],l;for(n=Math.ceil(n),l=0;l<e.length;l++)l===s&&(t.push(e[l]),o++,s=i[o*n])}function Mi(e,t,i,n,o){const s=se(n,0),l=Math.min(se(o,e.length),e.length);let a=0,c,d,h;for(i=Math.ceil(i),o&&(c=o-n,i=c/Math.floor(c/i)),h=s;h<0;)a++,h=Math.round(s+a*i);for(d=Math.max(s,0);d<l;d++)d===h&&(t.push(e[d]),a++,h=Math.round(s+a*i))}function JA(e){const t=e.length;let i,n;if(t<2)return!1;for(n=e[0],i=1;i<t;++i)if(e[i]-e[i-1]!==n)return!1;return n}const eR=e=>e==="left"?"right":e==="right"?"left":e,nl=(e,t,i)=>t==="top"||t==="left"?e[t]+i:e[t]-i,rl=(e,t)=>Math.min(t||e,e);function ol(e,t){const i=[],n=e.length/t,o=e.length;let s=0;for(;s<o;s+=n)i.push(e[Math.floor(s)]);return i}function tR(e,t,i){const n=e.ticks.length,o=Math.min(t,n-1),s=e._startPixel,l=e._endPixel,a=1e-6;let c=e.getPixelForTick(o),d;if(!(i&&(n===1?d=Math.max(c-s,l-c):t===0?d=(e.getPixelForTick(1)-c)/2:d=(c-e.getPixelForTick(o-1))/2,c+=o<t?d:-d,c<s-a||c>l+a)))return c}function iR(e,t){Q(e,i=>{const n=i.gc,o=n.length/2;let s;if(o>t){for(s=0;s<o;++s)delete i.data[n[s]];n.splice(0,o)}})}function w0(e){return e.drawTicks?e.tickLength:0}function sl(e,t){if(!e.display)return 0;const i=Be(e.font,t),n=ze(e.padding);return(ae(e.text)?e.text.length:1)*i.lineHeight+n.height}function nR(e,t){return Wt(e,{scale:t,type:"scale"})}function rR(e,t,i){return Wt(e,{tick:i,index:t,type:"tick"})}function oR(e,t,i){let n=wC(e);return(i&&t!=="right"||!i&&t==="right")&&(n=eR(n)),n}function sR(e,t,i,n){const{top:o,left:s,bottom:l,right:a,chart:c}=e,{chartArea:d,scales:h}=c;let f=0,u,g,v;const m=l-o,w=a-s;if(e.isHorizontal()){if(g=Es(n,s,a),Y(i)){const _=Object.keys(i)[0],Z=i[_];v=h[_].getPixelForValue(Z)+m-t}else i==="center"?v=(d.bottom+d.top)/2+m-t:v=nl(e,i,t);u=a-s}else{if(Y(i)){const _=Object.keys(i)[0],Z=i[_];g=h[_].getPixelForValue(Z)-w+t}else i==="center"?g=(d.left+d.right)/2-w+t:g=nl(e,i,t);v=Es(n,l,o),f=i==="left"?-de:de}return{titleX:g,titleY:v,maxWidth:u,rotation:f}}class c0 extends s0{constructor(t){super(),this.id=t.id,this.type=t.type,this.options=void 0,this.ctx=t.ctx,this.chart=t.chart,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.width=void 0,this.height=void 0,this._margins={left:0,right:0,top:0,bottom:0},this.maxWidth=void 0,this.maxHeight=void 0,this.paddingTop=void 0,this.paddingBottom=void 0,this.paddingLeft=void 0,this.paddingRight=void 0,this.axis=void 0,this.labelRotation=void 0,this.min=void 0,this.max=void 0,this._range=void 0,this.ticks=[],this._gridLineItems=null,this._labelItems=null,this._labelSizes=null,this._length=0,this._maxLength=0,this._longestTextCache={},this._startPixel=void 0,this._endPixel=void 0,this._reversePixels=!1,this._userMax=void 0,this._userMin=void 0,this._suggestedMax=void 0,this._suggestedMin=void 0,this._ticksLength=0,this._borderValue=0,this._cache={},this._dataLimitsCached=!1,this.$context=void 0}init(t){this.options=t.setContext(this.getContext()),this.axis=t.axis,this._userMin=this.parse(t.min),this._userMax=this.parse(t.max),this._suggestedMin=this.parse(t.suggestedMin),this._suggestedMax=this.parse(t.suggestedMax)}parse(t,i){return t}getUserBounds(){let{_userMin:t,_userMax:i,_suggestedMin:n,_suggestedMax:o}=this;return t=Fe(t,Number.POSITIVE_INFINITY),i=Fe(i,Number.NEGATIVE_INFINITY),n=Fe(n,Number.POSITIVE_INFINITY),o=Fe(o,Number.NEGATIVE_INFINITY),{min:Fe(t,n),max:Fe(i,o),minDefined:we(t),maxDefined:we(i)}}getMinMax(t){let{min:i,max:n,minDefined:o,maxDefined:s}=this.getUserBounds(),l;if(o&&s)return{min:i,max:n};const a=this.getMatchingVisibleMetas();for(let c=0,d=a.length;c<d;++c)l=a[c].controller.getMinMax(this,t),o||(i=Math.min(i,l.min)),s||(n=Math.max(n,l.max));return i=s&&i>n?n:i,n=o&&i>n?i:n,{min:Fe(i,Fe(n,i)),max:Fe(n,Fe(i,n))}}getPadding(){return{left:this.paddingLeft||0,top:this.paddingTop||0,right:this.paddingRight||0,bottom:this.paddingBottom||0}}getTicks(){return this.ticks}getLabels(){const t=this.chart.data;return this.options.labels||(this.isHorizontal()?t.xLabels:t.yLabels)||t.labels||[]}getLabelItems(t=this.chart.chartArea){return this._labelItems||(this._labelItems=this._computeLabelItems(t))}beforeLayout(){this._cache={},this._dataLimitsCached=!1}beforeUpdate(){le(this.options.beforeUpdate,[this])}update(t,i,n){const{beginAtZero:o,grace:s,ticks:l}=this.options,a=l.sampleSize;this.beforeUpdate(),this.maxWidth=t,this.maxHeight=i,this._margins=n=Object.assign({left:0,right:0,top:0,bottom:0},n),this.ticks=null,this._labelSizes=null,this._gridLineItems=null,this._labelItems=null,this.beforeSetDimensions(),this.setDimensions(),this.afterSetDimensions(),this._maxLength=this.isHorizontal()?this.width+n.left+n.right:this.height+n.top+n.bottom,this._dataLimitsCached||(this.beforeDataLimits(),this.determineDataLimits(),this.afterDataLimits(),this._range=OC(this,s,o),this._dataLimitsCached=!0),this.beforeBuildTicks(),this.ticks=this.buildTicks()||[],this.afterBuildTicks();const c=a<this.ticks.length;this._convertTicksToLabels(c?ol(this.ticks,a):this.ticks),this.configure(),this.beforeCalculateLabelRotation(),this.calculateLabelRotation(),this.afterCalculateLabelRotation(),l.display&&(l.autoSkip||l.source==="auto")&&(this.ticks=XA(this,this.ticks),this._labelSizes=null,this.afterAutoSkip()),c&&this._convertTicksToLabels(this.ticks),this.beforeFit(),this.fit(),this.afterFit(),this.afterUpdate()}configure(){let t=this.options.reverse,i,n;this.isHorizontal()?(i=this.left,n=this.right):(i=this.top,n=this.bottom,t=!t),this._startPixel=i,this._endPixel=n,this._reversePixels=t,this._length=n-i,this._alignToPixels=this.options.alignToPixels}afterUpdate(){le(this.options.afterUpdate,[this])}beforeSetDimensions(){le(this.options.beforeSetDimensions,[this])}setDimensions(){this.isHorizontal()?(this.width=this.maxWidth,this.left=0,this.right=this.width):(this.height=this.maxHeight,this.top=0,this.bottom=this.height),this.paddingLeft=0,this.paddingTop=0,this.paddingRight=0,this.paddingBottom=0}afterSetDimensions(){le(this.options.afterSetDimensions,[this])}_callHooks(t){this.chart.notifyPlugins(t,this.getContext()),le(this.options[t],[this])}beforeDataLimits(){this._callHooks("beforeDataLimits")}determineDataLimits(){}afterDataLimits(){this._callHooks("afterDataLimits")}beforeBuildTicks(){this._callHooks("beforeBuildTicks")}buildTicks(){return[]}afterBuildTicks(){this._callHooks("afterBuildTicks")}beforeTickToLabelConversion(){le(this.options.beforeTickToLabelConversion,[this])}generateTickLabels(t){const i=this.options.ticks;let n,o,s;for(n=0,o=t.length;n<o;n++)s=t[n],s.label=le(i.callback,[s.value,n,t],this)}afterTickToLabelConversion(){le(this.options.afterTickToLabelConversion,[this])}beforeCalculateLabelRotation(){le(this.options.beforeCalculateLabelRotation,[this])}calculateLabelRotation(){const t=this.options,i=t.ticks,n=rl(this.ticks.length,t.ticks.maxTicksLimit),o=i.minRotation||0,s=i.maxRotation;let l=o,a,c,d;if(!this._isVisible()||!i.display||o>=s||n<=1||!this.isHorizontal()){this.labelRotation=o;return}const h=this._getLabelSizes(),f=h.widest.width,u=h.highest.height,g=Ue(this.chart.width-f,0,this.maxWidth);a=t.offset?this.maxWidth/n:g/(n-1),f+6>a&&(a=g/(n-(t.offset?.5:1)),c=this.maxHeight-w0(t.grid)-i.padding-sl(t.title,this.chart.options.font),d=Math.sqrt(f*f+u*u),l=$r(Math.min(Math.asin(Ue((h.highest.height+6)/a,-1,1)),Math.asin(Ue(c/d,-1,1))-Math.asin(Ue(u/d,-1,1)))),l=Math.max(o,Math.min(s,l))),this.labelRotation=l}afterCalculateLabelRotation(){le(this.options.afterCalculateLabelRotation,[this])}afterAutoSkip(){}beforeFit(){le(this.options.beforeFit,[this])}fit(){const t={width:0,height:0},{chart:i,options:{ticks:n,title:o,grid:s}}=this,l=this._isVisible(),a=this.isHorizontal();if(l){const c=sl(o,i.options.font);if(a?(t.width=this.maxWidth,t.height=w0(s)+c):(t.height=this.maxHeight,t.width=w0(s)+c),n.display&&this.ticks.length){const{first:d,last:h,widest:f,highest:u}=this._getLabelSizes(),g=n.padding*2,v=Je(this.labelRotation),m=Math.cos(v),w=Math.sin(v);if(a){const _=n.mirror?0:w*f.width+m*u.height;t.height=Math.min(this.maxHeight,t.height+_+g)}else{const _=n.mirror?0:m*f.width+w*u.height;t.width=Math.min(this.maxWidth,t.width+_+g)}this._calculatePadding(d,h,w,m)}}this._handleMargins(),a?(this.width=this._length=i.width-this._margins.left-this._margins.right,this.height=t.height):(this.width=t.width,this.height=this._length=i.height-this._margins.top-this._margins.bottom)}_calculatePadding(t,i,n,o){const{ticks:{align:s,padding:l},position:a}=this.options,c=this.labelRotation!==0,d=a!=="top"&&this.axis==="x";if(this.isHorizontal()){const h=this.getPixelForTick(0)-this.left,f=this.right-this.getPixelForTick(this.ticks.length-1);let u=0,g=0;c?d?(u=o*t.width,g=n*i.height):(u=n*t.height,g=o*i.width):s==="start"?g=i.width:s==="end"?u=t.width:s!=="inner"&&(u=t.width/2,g=i.width/2),this.paddingLeft=Math.max((u-h+l)*this.width/(this.width-h),0),this.paddingRight=Math.max((g-f+l)*this.width/(this.width-f),0)}else{let h=i.height/2,f=t.height/2;s==="start"?(h=0,f=t.height):s==="end"&&(h=i.height,f=0),this.paddingTop=h+l,this.paddingBottom=f+l}}_handleMargins(){this._margins&&(this._margins.left=Math.max(this.paddingLeft,this._margins.left),this._margins.top=Math.max(this.paddingTop,this._margins.top),this._margins.right=Math.max(this.paddingRight,this._margins.right),this._margins.bottom=Math.max(this.paddingBottom,this._margins.bottom))}afterFit(){le(this.options.afterFit,[this])}isHorizontal(){const{axis:t,position:i}=this.options;return i==="top"||i==="bottom"||t==="x"}isFullSize(){return this.options.fullSize}_convertTicksToLabels(t){this.beforeTickToLabelConversion(),this.generateTickLabels(t);let i,n;for(i=0,n=t.length;i<n;i++)oe(t[i].label)&&(t.splice(i,1),n--,i--);this.afterTickToLabelConversion()}_getLabelSizes(){let t=this._labelSizes;if(!t){const i=this.options.ticks.sampleSize;let n=this.ticks;i<n.length&&(n=ol(n,i)),this._labelSizes=t=this._computeLabelSizes(n,n.length,this.options.ticks.maxTicksLimit)}return t}_computeLabelSizes(t,i,n){const{ctx:o,_longestTextCache:s}=this,l=[],a=[],c=Math.floor(i/rl(i,n));let d=0,h=0,f,u,g,v,m,w,_,Z,b,I,A;for(f=0;f<i;f+=c){if(v=t[f].label,m=this._resolveTickFontOptions(f),o.font=w=m.string,_=s[w]=s[w]||{data:{},gc:[]},Z=m.lineHeight,b=I=0,!oe(v)&&!ae(v))b=c1(o,_.data,_.gc,b,v),I=Z;else if(ae(v))for(u=0,g=v.length;u<g;++u)A=v[u],!oe(A)&&!ae(A)&&(b=c1(o,_.data,_.gc,b,A),I+=Z);l.push(b),a.push(I),d=Math.max(b,d),h=Math.max(I,h)}iR(s,i);const D=l.indexOf(d),k=a.indexOf(h),L=O=>({width:l[O]||0,height:a[O]||0});return{first:L(0),last:L(i-1),widest:L(D),highest:L(k),widths:l,heights:a}}getLabelForValue(t){return t}getPixelForValue(t,i){return NaN}getValueForPixel(t){}getPixelForTick(t){const i=this.ticks;return t<0||t>i.length-1?null:this.getPixelForValue(i[t].value)}getPixelForDecimal(t){this._reversePixels&&(t=1-t);const i=this._startPixel+t*this._length;return fC(this._alignToPixels?Rt(this.chart,i,0):i)}getDecimalForPixel(t){const i=(t-this._startPixel)/this._length;return this._reversePixels?1-i:i}getBasePixel(){return this.getPixelForValue(this.getBaseValue())}getBaseValue(){const{min:t,max:i}=this;return t<0&&i<0?i:t>0&&i>0?t:0}getContext(t){const i=this.ticks||[];if(t>=0&&t<i.length){const n=i[t];return n.$context||(n.$context=rR(this.getContext(),t,n))}return this.$context||(this.$context=nR(this.chart.getContext(),this))}_tickSize(){const t=this.options.ticks,i=Je(this.labelRotation),n=Math.abs(Math.cos(i)),o=Math.abs(Math.sin(i)),s=this._getLabelSizes(),l=t.autoSkipPadding||0,a=s?s.widest.width+l:0,c=s?s.highest.height+l:0;return this.isHorizontal()?c*n>a*o?a/n:c/o:c*o<a*n?c/n:a/o}_isVisible(){const t=this.options.display;return t!=="auto"?!!t:this.getMatchingVisibleMetas().length>0}_computeGridLineItems(t){const i=this.axis,n=this.chart,o=this.options,{grid:s,position:l,border:a}=o,c=s.offset,d=this.isHorizontal(),f=this.ticks.length+(c?1:0),u=w0(s),g=[],v=a.setContext(this.getContext()),m=v.display?v.width:0,w=m/2,_=function(F){return Rt(n,F,m)};let Z,b,I,A,D,k,L,O,U,N,H,P;if(l==="top")Z=_(this.bottom),k=this.bottom-u,O=Z-w,N=_(t.top)+w,P=t.bottom;else if(l==="bottom")Z=_(this.top),N=t.top,P=_(t.bottom)-w,k=Z+w,O=this.top+u;else if(l==="left")Z=_(this.right),D=this.right-u,L=Z-w,U=_(t.left)+w,H=t.right;else if(l==="right")Z=_(this.left),U=t.left,H=_(t.right)-w,D=Z+w,L=this.left+u;else if(i==="x"){if(l==="center")Z=_((t.top+t.bottom)/2+.5);else if(Y(l)){const F=Object.keys(l)[0],T=l[F];Z=_(this.chart.scales[F].getPixelForValue(T))}N=t.top,P=t.bottom,k=Z+w,O=k+u}else if(i==="y"){if(l==="center")Z=_((t.left+t.right)/2);else if(Y(l)){const F=Object.keys(l)[0],T=l[F];Z=_(this.chart.scales[F].getPixelForValue(T))}D=Z-w,L=D-u,U=t.left,H=t.right}const E=se(o.ticks.maxTicksLimit,f),S=Math.max(1,Math.ceil(f/E));for(b=0;b<f;b+=S){const F=this.getContext(b),T=s.setContext(F),$=a.setContext(F),C=T.lineWidth,X=T.color,z=$.dash||[],W=$.dashOffset,ie=T.tickWidth,te=T.tickColor,ge=T.tickBorderDash||[],ee=T.tickBorderDashOffset;I=tR(this,b,c),I!==void 0&&(A=Rt(n,I,C),d?D=L=U=H=A:k=O=N=P=A,g.push({tx1:D,ty1:k,tx2:L,ty2:O,x1:U,y1:N,x2:H,y2:P,width:C,color:X,borderDash:z,borderDashOffset:W,tickWidth:ie,tickColor:te,tickBorderDash:ge,tickBorderDashOffset:ee}))}return this._ticksLength=f,this._borderValue=Z,g}_computeLabelItems(t){const i=this.axis,n=this.options,{position:o,ticks:s}=n,l=this.isHorizontal(),a=this.ticks,{align:c,crossAlign:d,padding:h,mirror:f}=s,u=w0(n.grid),g=u+h,v=f?-h:g,m=-Je(this.labelRotation),w=[];let _,Z,b,I,A,D,k,L,O,U,N,H,P="middle";if(o==="top")D=this.bottom-v,k=this._getXAxisLabelAlignment();else if(o==="bottom")D=this.top+v,k=this._getXAxisLabelAlignment();else if(o==="left"){const S=this._getYAxisLabelAlignment(u);k=S.textAlign,A=S.x}else if(o==="right"){const S=this._getYAxisLabelAlignment(u);k=S.textAlign,A=S.x}else if(i==="x"){if(o==="center")D=(t.top+t.bottom)/2+g;else if(Y(o)){const S=Object.keys(o)[0],F=o[S];D=this.chart.scales[S].getPixelForValue(F)+g}k=this._getXAxisLabelAlignment()}else if(i==="y"){if(o==="center")A=(t.left+t.right)/2-g;else if(Y(o)){const S=Object.keys(o)[0],F=o[S];A=this.chart.scales[S].getPixelForValue(F)}k=this._getYAxisLabelAlignment(u).textAlign}i==="y"&&(c==="start"?P="top":c==="end"&&(P="bottom"));const E=this._getLabelSizes();for(_=0,Z=a.length;_<Z;++_){b=a[_],I=b.label;const S=s.setContext(this.getContext(_));L=this.getPixelForTick(_)+s.labelOffset,O=this._resolveTickFontOptions(_),U=O.lineHeight,N=ae(I)?I.length:1;const F=N/2,T=S.color,$=S.textStrokeColor,C=S.textStrokeWidth;let X=k;l?(A=L,k==="inner"&&(_===Z-1?X=this.options.reverse?"left":"right":_===0?X=this.options.reverse?"right":"left":X="center"),o==="top"?d==="near"||m!==0?H=-N*U+U/2:d==="center"?H=-E.highest.height/2-F*U+U:H=-E.highest.height+U/2:d==="near"||m!==0?H=U/2:d==="center"?H=E.highest.height/2-F*U:H=E.highest.height-N*U,f&&(H*=-1),m!==0&&!S.showLabelBackdrop&&(A+=U/2*Math.sin(m))):(D=L,H=(1-N)*U/2);let z;if(S.showLabelBackdrop){const W=ze(S.backdropPadding),ie=E.heights[_],te=E.widths[_];let ge=H-W.top,ee=0-W.left;switch(P){case"middle":ge-=ie/2;break;case"bottom":ge-=ie;break}switch(k){case"center":ee-=te/2;break;case"right":ee-=te;break;case"inner":_===Z-1?ee-=te:_>0&&(ee-=te/2);break}z={left:ee,top:ge,width:te+W.width,height:ie+W.height,color:S.backdropColor}}w.push({label:I,font:O,textOffset:H,options:{rotation:m,color:T,strokeColor:$,strokeWidth:C,textAlign:X,textBaseline:P,translation:[A,D],backdrop:z}})}return w}_getXAxisLabelAlignment(){const{position:t,ticks:i}=this.options;if(-Je(this.labelRotation))return t==="top"?"left":"right";let o="center";return i.align==="start"?o="left":i.align==="end"?o="right":i.align==="inner"&&(o="inner"),o}_getYAxisLabelAlignment(t){const{position:i,ticks:{crossAlign:n,mirror:o,padding:s}}=this.options,l=this._getLabelSizes(),a=t+s,c=l.widest.width;let d,h;return i==="left"?o?(h=this.right+s,n==="near"?d="left":n==="center"?(d="center",h+=c/2):(d="right",h+=c)):(h=this.right-a,n==="near"?d="right":n==="center"?(d="center",h-=c/2):(d="left",h=this.left)):i==="right"?o?(h=this.left+s,n==="near"?d="right":n==="center"?(d="center",h-=c/2):(d="left",h-=c)):(h=this.left+a,n==="near"?d="left":n==="center"?(d="center",h+=c/2):(d="right",h=this.right)):d="right",{textAlign:d,x:h}}_computeLabelArea(){if(this.options.ticks.mirror)return;const t=this.chart,i=this.options.position;if(i==="left"||i==="right")return{top:0,left:this.left,bottom:t.height,right:this.right};if(i==="top"||i==="bottom")return{top:this.top,left:0,bottom:this.bottom,right:t.width}}drawBackground(){const{ctx:t,options:{backgroundColor:i},left:n,top:o,width:s,height:l}=this;i&&(t.save(),t.fillStyle=i,t.fillRect(n,o,s,l),t.restore())}getLineWidthForValue(t){const i=this.options.grid;if(!this._isVisible()||!i.display)return 0;const o=this.ticks.findIndex(s=>s.value===t);return o>=0?i.setContext(this.getContext(o)).lineWidth:0}drawGrid(t){const i=this.options.grid,n=this.ctx,o=this._gridLineItems||(this._gridLineItems=this._computeGridLineItems(t));let s,l;const a=(c,d,h)=>{!h.width||!h.color||(n.save(),n.lineWidth=h.width,n.strokeStyle=h.color,n.setLineDash(h.borderDash||[]),n.lineDashOffset=h.borderDashOffset,n.beginPath(),n.moveTo(c.x,c.y),n.lineTo(d.x,d.y),n.stroke(),n.restore())};if(i.display)for(s=0,l=o.length;s<l;++s){const c=o[s];i.drawOnChartArea&&a({x:c.x1,y:c.y1},{x:c.x2,y:c.y2},c),i.drawTicks&&a({x:c.tx1,y:c.ty1},{x:c.tx2,y:c.ty2},{color:c.tickColor,width:c.tickWidth,borderDash:c.tickBorderDash,borderDashOffset:c.tickBorderDashOffset})}}drawBorder(){const{chart:t,ctx:i,options:{border:n,grid:o}}=this,s=n.setContext(this.getContext()),l=n.display?s.width:0;if(!l)return;const a=o.setContext(this.getContext(0)).lineWidth,c=this._borderValue;let d,h,f,u;this.isHorizontal()?(d=Rt(t,this.left,l)-l/2,h=Rt(t,this.right,a)+a/2,f=u=c):(f=Rt(t,this.top,l)-l/2,u=Rt(t,this.bottom,a)+a/2,d=h=c),i.save(),i.lineWidth=s.width,i.strokeStyle=s.color,i.beginPath(),i.moveTo(d,f),i.lineTo(h,u),i.stroke(),i.restore()}drawLabels(t){if(!this.options.ticks.display)return;const n=this.ctx,o=this._computeLabelArea();o&&v5(n,o);const s=this.getLabelItems(t);for(const l of s){const a=l.options,c=l.font,d=l.label,h=l.textOffset;d1(n,d,0,h,c,a)}o&&m5(n)}drawTitle(){const{ctx:t,options:{position:i,title:n,reverse:o}}=this;if(!n.display)return;const s=Be(n.font),l=ze(n.padding),a=n.align;let c=s.lineHeight/2;i==="bottom"||i==="center"||Y(i)?(c+=l.bottom,ae(n.text)&&(c+=s.lineHeight*(n.text.length-1))):c+=l.top;const{titleX:d,titleY:h,maxWidth:f,rotation:u}=sR(this,c,i,a);d1(t,n.text,0,0,s,{color:n.color,maxWidth:f,rotation:u,textAlign:oR(a,i,o),textBaseline:"middle",translation:[d,h]})}draw(t){!this._isVisible()||(this.drawBackground(),this.drawGrid(t),this.drawBorder(),this.drawTitle(),this.drawLabels(t))}_layers(){const t=this.options,i=t.ticks&&t.ticks.z||0,n=se(t.grid&&t.grid.z,-1),o=se(t.border&&t.border.z,0);return!this._isVisible()||this.draw!==c0.prototype.draw?[{z:i,draw:s=>{this.draw(s)}}]:[{z:n,draw:s=>{this.drawBackground(),this.drawGrid(s),this.drawTitle()}},{z:o,draw:()=>{this.drawBorder()}},{z:i,draw:s=>{this.drawLabels(s)}}]}getMatchingVisibleMetas(t){const i=this.chart.getSortedVisibleDatasetMetas(),n=this.axis+"AxisID",o=[];let s,l;for(s=0,l=i.length;s<l;++s){const a=i[s];a[n]===this.id&&(!t||a.type===t)&&o.push(a)}return o}_resolveTickFontOptions(t){const i=this.options.ticks.setContext(this.getContext(t));return Be(i.font)}_maxDigits(){const t=this._resolveTickFontOptions(0).lineHeight;return(this.isHorizontal()?this.width:this.height)/t}}class Zi{constructor(t,i,n){this.type=t,this.scope=i,this.override=n,this.items=Object.create(null)}isForType(t){return Object.prototype.isPrototypeOf.call(this.type.prototype,t.prototype)}register(t){const i=Object.getPrototypeOf(t);let n;cR(i)&&(n=this.register(i));const o=this.items,s=t.id,l=this.scope+"."+s;if(!s)throw new Error("class does not have id: "+t);return s in o||(o[s]=t,lR(t,l,n),this.override&&he.override(t.id,t.overrides)),l}get(t){return this.items[t]}unregister(t){const i=this.items,n=t.id,o=this.scope;n in i&&delete i[n],o&&n in he[o]&&(delete he[o][n],this.override&&delete Ht[n])}}function lR(e,t,i){const n=K0(Object.create(null),[i?he.get(i):{},he.get(t),e.defaults]);he.set(t,n),e.defaultRoutes&&aR(t,e.defaultRoutes),e.descriptors&&he.describe(t,e.descriptors)}function aR(e,t){Object.keys(t).forEach(i=>{const n=i.split("."),o=n.pop(),s=[e].concat(n).join("."),l=t[i].split("."),a=l.pop(),c=l.join(".");he.route(s,o,c,a)})}function cR(e){return"id"in e&&"defaults"in e}class dR{constructor(){this.controllers=new Zi(P0,"datasets",!0),this.elements=new Zi(s0,"elements"),this.plugins=new Zi(Object,"plugins"),this.scales=new Zi(c0,"scales"),this._typedRegistries=[this.controllers,this.scales,this.elements]}add(...t){this._each("register",t)}remove(...t){this._each("unregister",t)}addControllers(...t){this._each("register",t,this.controllers)}addElements(...t){this._each("register",t,this.elements)}addPlugins(...t){this._each("register",t,this.plugins)}addScales(...t){this._each("register",t,this.scales)}getController(t){return this._get(t,this.controllers,"controller")}getElement(t){return this._get(t,this.elements,"element")}getPlugin(t){return this._get(t,this.plugins,"plugin")}getScale(t){return this._get(t,this.scales,"scale")}removeControllers(...t){this._each("unregister",t,this.controllers)}removeElements(...t){this._each("unregister",t,this.elements)}removePlugins(...t){this._each("unregister",t,this.plugins)}removeScales(...t){this._each("unregister",t,this.scales)}_each(t,i,n){[...i].forEach(o=>{const s=n||this._getRegistryForType(o);n||s.isForType(o)||s===this.plugins&&o.id?this._exec(t,s,o):Q(o,l=>{const a=n||this._getRegistryForType(l);this._exec(t,a,l)})})}_exec(t,i,n){const o=Hr(t);le(n["before"+o],[],n),i[t](n),le(n["after"+o],[],n)}_getRegistryForType(t){for(let i=0;i<this._typedRegistries.length;i++){const n=this._typedRegistries[i];if(n.isForType(t))return n}return this.plugins}_get(t,i,n){const o=i.get(t);if(o===void 0)throw new Error('"'+t+'" is not a registered '+n+".");return o}}var Xe=new dR;class hR{constructor(){this._init=[]}notify(t,i,n,o){i==="beforeInit"&&(this._init=this._createDescriptors(t,!0),this._notify(this._init,t,"install"));const s=o?this._descriptors(t).filter(o):this._descriptors(t),l=this._notify(s,t,i,n);return i==="afterDestroy"&&(this._notify(s,t,"stop"),this._notify(this._init,t,"uninstall")),l}_notify(t,i,n,o){o=o||{};for(const s of t){const l=s.plugin,a=l[n],c=[i,o,s.options];if(le(a,c,l)===!1&&o.cancelable)return!1}return!0}invalidate(){oe(this._cache)||(this._oldCache=this._cache,this._cache=void 0)}_descriptors(t){if(this._cache)return this._cache;const i=this._cache=this._createDescriptors(t);return this._notifyStateChanges(t),i}_createDescriptors(t,i){const n=t&&t.config,o=se(n.options&&n.options.plugins,{}),s=fR(n);return o===!1&&!i?[]:pR(t,s,o,i)}_notifyStateChanges(t){const i=this._oldCache||[],n=this._cache,o=(s,l)=>s.filter(a=>!l.some(c=>a.plugin.id===c.plugin.id));this._notify(o(i,n),t,"stop"),this._notify(o(n,i),t,"start")}}function fR(e){const t={},i=[],n=Object.keys(Xe.plugins.items);for(let s=0;s<n.length;s++)i.push(Xe.getPlugin(n[s]));const o=e.plugins||[];for(let s=0;s<o.length;s++){const l=o[s];i.indexOf(l)===-1&&(i.push(l),t[l.id]=!0)}return{plugins:i,localIds:t}}function uR(e,t){return!t&&e===!1?null:e===!0?{}:e}function pR(e,{plugins:t,localIds:i},n,o){const s=[],l=e.getContext();for(const a of t){const c=a.id,d=uR(n[c],o);d!==null&&s.push({plugin:a,options:gR(e.config,{plugin:a,local:i[c]},d,l)})}return s}function gR(e,{plugin:t,local:i},n,o){const s=e.pluginScopeKeys(t),l=e.getOptionScopes(n,s);return i&&t.defaults&&l.push(t.defaults),e.createResolver(l,o,[""],{scriptable:!1,indexable:!1,allKeys:!0})}function Yn(e,t){const i=he.datasets[e]||{};return((t.datasets||{})[e]||{}).indexAxis||t.indexAxis||i.indexAxis||"x"}function vR(e,t){let i=e;return e==="_index_"?i=t:e==="_value_"&&(i=t==="x"?"y":"x"),i}function mR(e,t){return e===t?"_index_":"_value_"}function ll(e){if(e==="x"||e==="y"||e==="r")return e}function xR(e){if(e==="top"||e==="bottom")return"x";if(e==="left"||e==="right")return"y"}function Kn(e,...t){if(ll(e))return e;for(const i of t){const n=i.axis||xR(i.position)||e.length>1&&ll(e[0].toLowerCase());if(n)return n}throw new Error(`Cannot determine type of '${e}' axis. Please provide 'axis' or 'position' option.`)}function al(e,t,i){if(i[t+"AxisID"]===e)return{axis:t}}function wR(e,t){if(t.data&&t.data.datasets){const i=t.data.datasets.filter(n=>n.xAxisID===e||n.yAxisID===e);if(i.length)return al(e,"x",i[0])||al(e,"y",i[0])}return{}}function yR(e,t){const i=Ht[e.type]||{scales:{}},n=t.scales||{},o=Yn(e.type,t),s=Object.create(null);return Object.keys(n).forEach(l=>{const a=n[l];if(!Y(a))return console.error(`Invalid scale configuration for scale: ${l}`);if(a._proxy)return console.warn(`Ignoring resolver passed as options for scale: ${l}`);const c=Kn(l,a,wR(l,e),he.scales[a.type]),d=mR(c,o),h=i.scales||{};s[l]=L0(Object.create(null),[{axis:c},a,h[c],h[d]])}),e.data.datasets.forEach(l=>{const a=l.type||e.type,c=l.indexAxis||Yn(a,t),h=(Ht[a]||{}).scales||{};Object.keys(h).forEach(f=>{const u=vR(f,c),g=l[u+"AxisID"]||u;s[g]=s[g]||Object.create(null),L0(s[g],[{axis:u},n[g],h[f]])})}),Object.keys(s).forEach(l=>{const a=s[l];L0(a,[he.scales[a.type],he.scale])}),s}function R5(e){const t=e.options||(e.options={});t.plugins=se(t.plugins,{}),t.scales=yR(e,t)}function k5(e){return e=e||{},e.datasets=e.datasets||[],e.labels=e.labels||[],e}function _R(e){return e=e||{},e.data=k5(e.data),R5(e),e}const cl=new Map,F5=new Set;function Si(e,t){let i=cl.get(e);return i||(i=t(),cl.set(e,i),F5.add(i)),i}const y0=(e,t,i)=>{const n=q0(t,i);n!==void 0&&e.add(n)};class bR{constructor(t){this._config=_R(t),this._scopeCache=new Map,this._resolverCache=new Map}get platform(){return this._config.platform}get type(){return this._config.type}set type(t){this._config.type=t}get data(){return this._config.data}set data(t){this._config.data=k5(t)}get options(){return this._config.options}set options(t){this._config.options=t}get plugins(){return this._config.plugins}update(){const t=this._config;this.clearCache(),R5(t)}clearCache(){this._scopeCache.clear(),this._resolverCache.clear()}datasetScopeKeys(t){return Si(t,()=>[[`datasets.${t}`,""]])}datasetAnimationScopeKeys(t,i){return Si(`${t}.transition.${i}`,()=>[[`datasets.${t}.transitions.${i}`,`transitions.${i}`],[`datasets.${t}`,""]])}datasetElementScopeKeys(t,i){return Si(`${t}-${i}`,()=>[[`datasets.${t}.elements.${i}`,`datasets.${t}`,`elements.${i}`,""]])}pluginScopeKeys(t){const i=t.id,n=this.type;return Si(`${n}-plugin-${i}`,()=>[[`plugins.${i}`,...t.additionalOptionScopes||[]]])}_cachedScopes(t,i){const n=this._scopeCache;let o=n.get(t);return(!o||i)&&(o=new Map,n.set(t,o)),o}getOptionScopes(t,i,n){const{options:o,type:s}=this,l=this._cachedScopes(t,n),a=l.get(i);if(a)return a;const c=new Set;i.forEach(h=>{t&&(c.add(t),h.forEach(f=>y0(c,t,f))),h.forEach(f=>y0(c,o,f)),h.forEach(f=>y0(c,Ht[s]||{},f)),h.forEach(f=>y0(c,he,f)),h.forEach(f=>y0(c,Nn,f))});const d=Array.from(c);return d.length===0&&d.push(Object.create(null)),F5.has(i)&&l.set(i,d),d}chartOptionScopes(){const{options:t,type:i}=this;return[t,Ht[i]||{},he.datasets[i]||{},{type:i},he,Nn]}resolveNamedOptions(t,i,n,o=[""]){const s={$shared:!0},{resolver:l,subPrefixes:a}=dl(this._resolverCache,t,o);let c=l;if(ZR(l,i)){s.$shared=!1,n=Zt(n)?n():n;const d=this.createResolver(t,n,a);c=o0(l,n,d)}for(const d of i)s[d]=c[d];return s}createResolver(t,i,n=[""],o){const{resolver:s}=dl(this._resolverCache,t,n);return Y(i)?o0(s,i,void 0,o):s}}function dl(e,t,i){let n=e.get(t);n||(n=new Map,e.set(t,n));const o=i.join();let s=n.get(o);return s||(s={resolver:Wr(t,i),subPrefixes:i.filter(a=>!a.toLowerCase().includes("hover"))},n.set(o,s)),s}const MR=e=>Y(e)&&Object.getOwnPropertyNames(e).some(t=>Zt(e[t]));function ZR(e,t){const{isScriptable:i,isIndexable:n}=x5(e);for(const o of t){const s=i(o),l=n(o),a=(l||s)&&e[o];if(s&&(Zt(a)||MR(a))||l&&ae(a))return!0}return!1}var SR="4.4.2";const IR=["top","bottom","left","right","chartArea"];function hl(e,t){return e==="top"||e==="bottom"||IR.indexOf(e)===-1&&t==="x"}function fl(e,t){return function(i,n){return i[e]===n[e]?i[t]-n[t]:i[e]-n[e]}}function ul(e){const t=e.chart,i=t.options.animation;t.notifyPlugins("afterRender"),le(i&&i.onComplete,[e],t)}function CR(e){const t=e.chart,i=t.options.animation;le(i&&i.onProgress,[e],t)}function B5(e){return Nr()&&typeof e=="string"?e=document.getElementById(e):e&&e.length&&(e=e[0]),e&&e.canvas&&(e=e.canvas),e}const Vi={},pl=e=>{const t=B5(e);return Object.values(Vi).filter(i=>i.canvas===t).pop()};function AR(e,t,i){const n=Object.keys(e);for(const o of n){const s=+o;if(s>=t){const l=e[o];delete e[o],(i>0||s>t)&&(e[s+i]=l)}}}function RR(e,t,i,n){return!i||e.type==="mouseout"?null:n?t:e}function Ii(e,t,i){return e.options.clip?e[i]:t[i]}function kR(e,t){const{xScale:i,yScale:n}=e;return i&&n?{left:Ii(i,t,"left"),right:Ii(i,t,"right"),top:Ii(n,t,"top"),bottom:Ii(n,t,"bottom")}:t}class Qe{static register(...t){Xe.add(...t),gl()}static unregister(...t){Xe.remove(...t),gl()}constructor(t,i){const n=this.config=new bR(i),o=B5(t),s=pl(o);if(s)throw new Error("Canvas is already in use. Chart with ID '"+s.id+"' must be destroyed before the canvas with ID '"+s.canvas.id+"' can be reused.");const l=n.createResolver(n.chartOptionScopes(),this.getContext());this.platform=new(n.platform||NA(o)),this.platform.updateConfig(n);const a=this.platform.acquireContext(o,l.aspectRatio),c=a&&a.canvas,d=c&&c.height,h=c&&c.width;if(this.id=tC(),this.ctx=a,this.canvas=c,this.width=h,this.height=d,this._options=l,this._aspectRatio=this.aspectRatio,this._layers=[],this._metasets=[],this._stacks=void 0,this.boxes=[],this.currentDevicePixelRatio=void 0,this.chartArea=void 0,this._active=[],this._lastEvent=void 0,this._listeners={},this._responsiveListeners=void 0,this._sortedMetasets=[],this.scales={},this._plugins=new hR,this.$proxies={},this._hiddenIndices={},this.attached=!1,this._animationsDisabled=void 0,this.$context=void 0,this._doResize=xC(f=>this.update(f),l.resizeDelay||0),this._dataChanges=[],Vi[this.id]=this,!a||!c){console.error("Failed to create chart: can't acquire context from the given item");return}ot.listen(this,"complete",ul),ot.listen(this,"progress",CR),this._initialize(),this.attached&&this.update()}get aspectRatio(){const{options:{aspectRatio:t,maintainAspectRatio:i},width:n,height:o,_aspectRatio:s}=this;return oe(t)?i&&s?s:o?n/o:null:t}get data(){return this.config.data}set data(t){this.config.data=t}get options(){return this._options}set options(t){this.config.options=t}get registry(){return Xe}_initialize(){return this.notifyPlugins("beforeInit"),this.options.responsive?this.resize():Us(this,this.options.devicePixelRatio),this.bindEvents(),this.notifyPlugins("afterInit"),this}clear(){return Ps(this.canvas,this.ctx),this}stop(){return ot.stop(this),this}resize(t,i){ot.running(this)?this._resizeBeforeDraw={width:t,height:i}:this._resize(t,i)}_resize(t,i){const n=this.options,o=this.canvas,s=n.maintainAspectRatio&&this.aspectRatio,l=this.platform.getMaximumSize(o,t,i,s),a=n.devicePixelRatio||this.platform.getDevicePixelRatio(),c=this.width?"resize":"attach";this.width=l.width,this.height=l.height,this._aspectRatio=this.aspectRatio,Us(this,a,!0)&&(this.notifyPlugins("resize",{size:l}),le(n.onResize,[this,l],this),this.attached&&this._doResize(c)&&this.render())}ensureScalesHaveIDs(){const i=this.options.scales||{};Q(i,(n,o)=>{n.id=o})}buildOrUpdateScales(){const t=this.options,i=t.scales,n=this.scales,o=Object.keys(n).reduce((l,a)=>(l[a]=!1,l),{});let s=[];i&&(s=s.concat(Object.keys(i).map(l=>{const a=i[l],c=Kn(l,a),d=c==="r",h=c==="x";return{options:a,dposition:d?"chartArea":h?"bottom":"left",dtype:d?"radialLinear":h?"category":"linear"}}))),Q(s,l=>{const a=l.options,c=a.id,d=Kn(c,a),h=se(a.type,l.dtype);(a.position===void 0||hl(a.position,d)!==hl(l.dposition))&&(a.position=l.dposition),o[c]=!0;let f=null;if(c in n&&n[c].type===h)f=n[c];else{const u=Xe.getScale(h);f=new u({id:c,type:h,ctx:this.ctx,chart:this}),n[f.id]=f}f.init(a,t)}),Q(o,(l,a)=>{l||delete n[a]}),Q(n,l=>{bi.configure(this,l,l.options),bi.addBox(this,l)})}_updateMetasets(){const t=this._metasets,i=this.data.datasets.length,n=t.length;if(t.sort((o,s)=>o.index-s.index),n>i){for(let o=i;o<n;++o)this._destroyDatasetMeta(o);t.splice(i,n-i)}this._sortedMetasets=t.slice(0).sort(fl("order","index"))}_removeUnreferencedMetasets(){const{_metasets:t,data:{datasets:i}}=this;t.length>i.length&&delete this._stacks,t.forEach((n,o)=>{i.filter(s=>s===n._dataset).length===0&&this._destroyDatasetMeta(o)})}buildOrUpdateControllers(){const t=[],i=this.data.datasets;let n,o;for(this._removeUnreferencedMetasets(),n=0,o=i.length;n<o;n++){const s=i[n];let l=this.getDatasetMeta(n);const a=s.type||this.config.type;if(l.type&&l.type!==a&&(this._destroyDatasetMeta(n),l=this.getDatasetMeta(n)),l.type=a,l.indexAxis=s.indexAxis||Yn(a,this.options),l.order=s.order||0,l.index=n,l.label=""+s.label,l.visible=this.isDatasetVisible(n),l.controller)l.controller.updateIndex(n),l.controller.linkScales();else{const c=Xe.getController(a),{datasetElementType:d,dataElementType:h}=he.datasets[a];Object.assign(c,{dataElementType:Xe.getElement(h),datasetElementType:d&&Xe.getElement(d)}),l.controller=new c(this,n),t.push(l.controller)}}return this._updateMetasets(),t}_resetElements(){Q(this.data.datasets,(t,i)=>{this.getDatasetMeta(i).controller.reset()},this)}reset(){this._resetElements(),this.notifyPlugins("reset")}update(t){const i=this.config;i.update();const n=this._options=i.createResolver(i.chartOptionScopes(),this.getContext()),o=this._animationsDisabled=!n.animation;if(this._updateScales(),this._checkEventBindings(),this._updateHiddenIndices(),this._plugins.invalidate(),this.notifyPlugins("beforeUpdate",{mode:t,cancelable:!0})===!1)return;const s=this.buildOrUpdateControllers();this.notifyPlugins("beforeElementsUpdate");let l=0;for(let d=0,h=this.data.datasets.length;d<h;d++){const{controller:f}=this.getDatasetMeta(d),u=!o&&s.indexOf(f)===-1;f.buildOrUpdateElements(u),l=Math.max(+f.getMaxOverflow(),l)}l=this._minPadding=n.layout.autoPadding?l:0,this._updateLayout(l),o||Q(s,d=>{d.reset()}),this._updateDatasets(t),this.notifyPlugins("afterUpdate",{mode:t}),this._layers.sort(fl("z","_idx"));const{_active:a,_lastEvent:c}=this;c?this._eventHandler(c,!0):a.length&&this._updateHoverStyles(a,a,!0),this.render()}_updateScales(){Q(this.scales,t=>{bi.removeBox(this,t)}),this.ensureScalesHaveIDs(),this.buildOrUpdateScales()}_checkEventBindings(){const t=this.options,i=new Set(Object.keys(this._listeners)),n=new Set(t.events);(!As(i,n)||!!this._responsiveListeners!==t.responsive)&&(this.unbindEvents(),this.bindEvents())}_updateHiddenIndices(){const{_hiddenIndices:t}=this,i=this._getUniformDataChanges()||[];for(const{method:n,start:o,count:s}of i){const l=n==="_removeElements"?-s:s;AR(t,o,l)}}_getUniformDataChanges(){const t=this._dataChanges;if(!t||!t.length)return;this._dataChanges=[];const i=this.data.datasets.length,n=s=>new Set(t.filter(l=>l[0]===s).map((l,a)=>a+","+l.splice(1).join(","))),o=n(0);for(let s=1;s<i;s++)if(!As(o,n(s)))return;return Array.from(o).map(s=>s.split(",")).map(s=>({method:s[1],start:+s[2],count:+s[3]}))}_updateLayout(t){if(this.notifyPlugins("beforeLayout",{cancelable:!0})===!1)return;bi.update(this,this.width,this.height,t);const i=this.chartArea,n=i.width<=0||i.height<=0;this._layers=[],Q(this.boxes,o=>{n&&o.position==="chartArea"||(o.configure&&o.configure(),this._layers.push(...o._layers()))},this),this._layers.forEach((o,s)=>{o._idx=s}),this.notifyPlugins("afterLayout")}_updateDatasets(t){if(this.notifyPlugins("beforeDatasetsUpdate",{mode:t,cancelable:!0})!==!1){for(let i=0,n=this.data.datasets.length;i<n;++i)this.getDatasetMeta(i).controller.configure();for(let i=0,n=this.data.datasets.length;i<n;++i)this._updateDataset(i,Zt(t)?t({datasetIndex:i}):t);this.notifyPlugins("afterDatasetsUpdate",{mode:t})}}_updateDataset(t,i){const n=this.getDatasetMeta(t),o={meta:n,index:t,mode:i,cancelable:!0};this.notifyPlugins("beforeDatasetUpdate",o)!==!1&&(n.controller._update(i),o.cancelable=!1,this.notifyPlugins("afterDatasetUpdate",o))}render(){this.notifyPlugins("beforeRender",{cancelable:!0})!==!1&&(ot.has(this)?this.attached&&!ot.running(this)&&ot.start(this):(this.draw(),ul({chart:this})))}draw(){let t;if(this._resizeBeforeDraw){const{width:n,height:o}=this._resizeBeforeDraw;this._resize(n,o),this._resizeBeforeDraw=null}if(this.clear(),this.width<=0||this.height<=0||this.notifyPlugins("beforeDraw",{cancelable:!0})===!1)return;const i=this._layers;for(t=0;t<i.length&&i[t].z<=0;++t)i[t].draw(this.chartArea);for(this._drawDatasets();t<i.length;++t)i[t].draw(this.chartArea);this.notifyPlugins("afterDraw")}_getSortedDatasetMetas(t){const i=this._sortedMetasets,n=[];let o,s;for(o=0,s=i.length;o<s;++o){const l=i[o];(!t||l.visible)&&n.push(l)}return n}getSortedVisibleDatasetMetas(){return this._getSortedDatasetMetas(!0)}_drawDatasets(){if(this.notifyPlugins("beforeDatasetsDraw",{cancelable:!0})===!1)return;const t=this.getSortedVisibleDatasetMetas();for(let i=t.length-1;i>=0;--i)this._drawDataset(t[i]);this.notifyPlugins("afterDatasetsDraw")}_drawDataset(t){const i=this.ctx,n=t._clip,o=!n.disabled,s=kR(t,this.chartArea),l={meta:t,index:t.index,cancelable:!0};this.notifyPlugins("beforeDatasetDraw",l)!==!1&&(o&&v5(i,{left:n.left===!1?0:s.left-n.left,right:n.right===!1?this.width:s.right+n.right,top:n.top===!1?0:s.top-n.top,bottom:n.bottom===!1?this.height:s.bottom+n.bottom}),t.controller.draw(),o&&m5(i),l.cancelable=!1,this.notifyPlugins("afterDatasetDraw",l))}isPointInArea(t){return Qt(t,this.chartArea,this._minPadding)}getElementsAtEventForMode(t,i,n,o){const s=IA.modes[i];return typeof s=="function"?s(this,t,n,o):[]}getDatasetMeta(t){const i=this.data.datasets[t],n=this._metasets;let o=n.filter(s=>s&&s._dataset===i).pop();return o||(o={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null,order:i&&i.order||0,index:t,_dataset:i,_parsed:[],_sorted:!1},n.push(o)),o}getContext(){return this.$context||(this.$context=Wt(null,{chart:this,type:"chart"}))}getVisibleDatasetCount(){return this.getSortedVisibleDatasetMetas().length}isDatasetVisible(t){const i=this.data.datasets[t];if(!i)return!1;const n=this.getDatasetMeta(t);return typeof n.hidden=="boolean"?!n.hidden:!i.hidden}setDatasetVisibility(t,i){const n=this.getDatasetMeta(t);n.hidden=!i}toggleDataVisibility(t){this._hiddenIndices[t]=!this._hiddenIndices[t]}getDataVisibility(t){return!this._hiddenIndices[t]}_updateVisibility(t,i,n){const o=n?"show":"hide",s=this.getDatasetMeta(t),l=s.controller._resolveAnimations(void 0,o);r1(i)?(s.data[i].hidden=!n,this.update()):(this.setDatasetVisibility(t,n),l.update(s,{visible:n}),this.update(a=>a.datasetIndex===t?o:void 0))}hide(t,i){this._updateVisibility(t,i,!1)}show(t,i){this._updateVisibility(t,i,!0)}_destroyDatasetMeta(t){const i=this._metasets[t];i&&i.controller&&i.controller._destroy(),delete this._metasets[t]}_stop(){let t,i;for(this.stop(),ot.remove(this),t=0,i=this.data.datasets.length;t<i;++t)this._destroyDatasetMeta(t)}destroy(){this.notifyPlugins("beforeDestroy");const{canvas:t,ctx:i}=this;this._stop(),this.config.clearCache(),t&&(this.unbindEvents(),Ps(t,i),this.platform.releaseContext(i),this.canvas=null,this.ctx=null),delete Vi[this.id],this.notifyPlugins("afterDestroy")}toBase64Image(...t){return this.canvas.toDataURL(...t)}bindEvents(){this.bindUserEvents(),this.options.responsive?this.bindResponsiveEvents():this.attached=!0}bindUserEvents(){const t=this._listeners,i=this.platform,n=(s,l)=>{i.addEventListener(this,s,l),t[s]=l},o=(s,l,a)=>{s.offsetX=l,s.offsetY=a,this._eventHandler(s)};Q(this.options.events,s=>n(s,o))}bindResponsiveEvents(){this._responsiveListeners||(this._responsiveListeners={});const t=this._responsiveListeners,i=this.platform,n=(c,d)=>{i.addEventListener(this,c,d),t[c]=d},o=(c,d)=>{t[c]&&(i.removeEventListener(this,c,d),delete t[c])},s=(c,d)=>{this.canvas&&this.resize(c,d)};let l;const a=()=>{o("attach",a),this.attached=!0,this.resize(),n("resize",s),n("detach",l)};l=()=>{this.attached=!1,o("resize",s),this._stop(),this._resize(0,0),n("attach",a)},i.isAttached(this.canvas)?a():l()}unbindEvents(){Q(this._listeners,(t,i)=>{this.platform.removeEventListener(this,i,t)}),this._listeners={},Q(this._responsiveListeners,(t,i)=>{this.platform.removeEventListener(this,i,t)}),this._responsiveListeners=void 0}updateHoverStyle(t,i,n){const o=n?"set":"remove";let s,l,a,c;for(i==="dataset"&&(s=this.getDatasetMeta(t[0].datasetIndex),s.controller["_"+o+"DatasetHoverStyle"]()),a=0,c=t.length;a<c;++a){l=t[a];const d=l&&this.getDatasetMeta(l.datasetIndex).controller;d&&d[o+"HoverStyle"](l.element,l.datasetIndex,l.index)}}getActiveElements(){return this._active||[]}setActiveElements(t){const i=this._active||[],n=t.map(({datasetIndex:s,index:l})=>{const a=this.getDatasetMeta(s);if(!a)throw new Error("No dataset found at index "+s);return{datasetIndex:s,element:a.data[l],index:l}});!i1(n,i)&&(this._active=n,this._lastEvent=null,this._updateHoverStyles(n,i))}notifyPlugins(t,i,n){return this._plugins.notify(this,t,i,n)}isPluginEnabled(t){return this._plugins._cache.filter(i=>i.plugin.id===t).length===1}_updateHoverStyles(t,i,n){const o=this.options.hover,s=(c,d)=>c.filter(h=>!d.some(f=>h.datasetIndex===f.datasetIndex&&h.index===f.index)),l=s(i,t),a=n?t:s(t,i);l.length&&this.updateHoverStyle(l,o.mode,!1),a.length&&o.mode&&this.updateHoverStyle(a,o.mode,!0)}_eventHandler(t,i){const n={event:t,replay:i,cancelable:!0,inChartArea:this.isPointInArea(t)},o=l=>(l.options.events||this.options.events).includes(t.native.type);if(this.notifyPlugins("beforeEvent",n,o)===!1)return;const s=this._handleEvent(t,i,n.inChartArea);return n.cancelable=!1,this.notifyPlugins("afterEvent",n,o),(s||n.changed)&&this.render(),this}_handleEvent(t,i,n){const{_active:o=[],options:s}=this,l=i,a=this._getActiveElements(t,o,n,l),c=lC(t),d=RR(t,this._lastEvent,n,c);n&&(this._lastEvent=null,le(s.onHover,[t,a,this],this),c&&le(s.onClick,[t,a,this],this));const h=!i1(a,o);return(h||i)&&(this._active=a,this._updateHoverStyles(a,o,i)),this._lastEvent=d,h}_getActiveElements(t,i,n,o){if(t.type==="mouseout")return[];if(!n)return i;const s=this.options.hover;return this.getElementsAtEventForMode(t,s.mode,s,o)}}j(Qe,"defaults",he),j(Qe,"instances",Vi),j(Qe,"overrides",Ht),j(Qe,"registry",Xe),j(Qe,"version",SR),j(Qe,"getChart",pl);function gl(){return Q(Qe.instances,e=>e._plugins.invalidate())}function FR(e,t,i){const{startAngle:n,pixelMargin:o,x:s,y:l,outerRadius:a,innerRadius:c}=t;let d=o/a;e.beginPath(),e.arc(s,l,a,n-d,i+d),c>o?(d=o/c,e.arc(s,l,c,i+d,n-d,!0)):e.arc(s,l,o,i+de,n-de),e.closePath(),e.clip()}function BR(e){return zr(e,["outerStart","outerEnd","innerStart","innerEnd"])}function ER(e,t,i,n){const o=BR(e.options.borderRadius),s=(i-t)/2,l=Math.min(s,n*t/2),a=c=>{const d=(i-Math.min(s,c))*n/2;return Ue(c,0,Math.min(s,d))};return{outerStart:a(o.outerStart),outerEnd:a(o.outerEnd),innerStart:Ue(o.innerStart,0,l),innerEnd:Ue(o.innerEnd,0,l)}}function Nt(e,t,i,n){return{x:i+e*Math.cos(t),y:n+e*Math.sin(t)}}function u1(e,t,i,n,o,s){const{x:l,y:a,startAngle:c,pixelMargin:d,innerRadius:h}=t,f=Math.max(t.outerRadius+n+i-d,0),u=h>0?h+n+i+d:0;let g=0;const v=o-c;if(n){const S=h>0?h-n:0,F=f>0?f-n:0,T=(S+F)/2,$=T!==0?v*T/(T+n):v;g=(v-$)/2}const m=Math.max(.001,v*f-i/pe)/f,w=(v-m)/2,_=c+w+g,Z=o-w-g,{outerStart:b,outerEnd:I,innerStart:A,innerEnd:D}=ER(t,u,f,Z-_),k=f-b,L=f-I,O=_+b/k,U=Z-I/L,N=u+A,H=u+D,P=_+A/N,E=Z-D/H;if(e.beginPath(),s){const S=(O+U)/2;if(e.arc(l,a,f,O,S),e.arc(l,a,f,S,U),I>0){const C=Nt(L,U,l,a);e.arc(C.x,C.y,I,U,Z+de)}const F=Nt(H,Z,l,a);if(e.lineTo(F.x,F.y),D>0){const C=Nt(H,E,l,a);e.arc(C.x,C.y,D,Z+de,E+Math.PI)}const T=(Z-D/u+(_+A/u))/2;if(e.arc(l,a,u,Z-D/u,T,!0),e.arc(l,a,u,T,_+A/u,!0),A>0){const C=Nt(N,P,l,a);e.arc(C.x,C.y,A,P+Math.PI,_-de)}const $=Nt(k,_,l,a);if(e.lineTo($.x,$.y),b>0){const C=Nt(k,O,l,a);e.arc(C.x,C.y,b,_-de,O)}}else{e.moveTo(l,a);const S=Math.cos(O)*f+l,F=Math.sin(O)*f+a;e.lineTo(S,F);const T=Math.cos(U)*f+l,$=Math.sin(U)*f+a;e.lineTo(T,$)}e.closePath()}function LR(e,t,i,n,o){const{fullCircles:s,startAngle:l,circumference:a}=t;let c=t.endAngle;if(s){u1(e,t,i,n,c,o);for(let d=0;d<s;++d)e.fill();isNaN(a)||(c=l+(a%ce||ce))}return u1(e,t,i,n,c,o),e.fill(),c}function DR(e,t,i,n,o){const{fullCircles:s,startAngle:l,circumference:a,options:c}=t,{borderWidth:d,borderJoinStyle:h,borderDash:f,borderDashOffset:u}=c,g=c.borderAlign==="inner";if(!d)return;e.setLineDash(f||[]),e.lineDashOffset=u,g?(e.lineWidth=d*2,e.lineJoin=h||"round"):(e.lineWidth=d,e.lineJoin=h||"bevel");let v=t.endAngle;if(s){u1(e,t,i,n,v,o);for(let m=0;m<s;++m)e.stroke();isNaN(a)||(v=l+(a%ce||ce))}g&&FR(e,t,v),s||(u1(e,t,i,n,v,o),e.stroke())}class I0 extends s0{constructor(i){super();j(this,"circumference");j(this,"endAngle");j(this,"fullCircles");j(this,"innerRadius");j(this,"outerRadius");j(this,"pixelMargin");j(this,"startAngle");this.options=void 0,this.circumference=void 0,this.startAngle=void 0,this.endAngle=void 0,this.innerRadius=void 0,this.outerRadius=void 0,this.pixelMargin=0,this.fullCircles=0,i&&Object.assign(this,i)}inRange(i,n,o){const s=this.getProps(["x","y"],o),{angle:l,distance:a}=d5(s,{x:i,y:n}),{startAngle:c,endAngle:d,innerRadius:h,outerRadius:f,circumference:u}=this.getProps(["startAngle","endAngle","innerRadius","outerRadius","circumference"],o),g=(this.options.spacing+this.options.borderWidth)/2,m=se(u,d-c)>=ce||a1(l,c,d),w=uC(a,h+g,f+g);return m&&w}getCenterPoint(i){const{x:n,y:o,startAngle:s,endAngle:l,innerRadius:a,outerRadius:c}=this.getProps(["x","y","startAngle","endAngle","innerRadius","outerRadius"],i),{offset:d,spacing:h}=this.options,f=(s+l)/2,u=(a+c+h+d)/2;return{x:n+Math.cos(f)*u,y:o+Math.sin(f)*u}}tooltipPosition(i){return this.getCenterPoint(i)}draw(i){const{options:n,circumference:o}=this,s=(n.offset||0)/4,l=(n.spacing||0)/2,a=n.circular;if(this.pixelMargin=n.borderAlign==="inner"?.33:0,this.fullCircles=o>ce?Math.floor(o/ce):0,o===0||this.innerRadius<0||this.outerRadius<0)return;i.save();const c=(this.startAngle+this.endAngle)/2;i.translate(Math.cos(c)*s,Math.sin(c)*s);const d=1-Math.sin(Math.min(pe,o||0)),h=s*d;i.fillStyle=n.backgroundColor,i.strokeStyle=n.borderColor,LR(i,this,h,l,a),DR(i,this,h,l,a),i.restore()}}j(I0,"id","arc"),j(I0,"defaults",{borderAlign:"center",borderColor:"#fff",borderDash:[],borderDashOffset:0,borderJoinStyle:void 0,borderRadius:0,borderWidth:2,offset:0,spacing:0,angle:void 0,circular:!0}),j(I0,"defaultRoutes",{backgroundColor:"backgroundColor"}),j(I0,"descriptors",{_scriptable:!0,_indexable:i=>i!=="borderDash"});const C0={average(e){if(!e.length)return!1;let t,i,n=new Set,o=0,s=0;for(t=0,i=e.length;t<i;++t){const a=e[t].element;if(a&&a.hasValue()){const c=a.tooltipPosition();n.add(c.x),o+=c.y,++s}}return{x:[...n].reduce((a,c)=>a+c)/n.size,y:o/s}},nearest(e,t){if(!e.length)return!1;let i=t.x,n=t.y,o=Number.POSITIVE_INFINITY,s,l,a;for(s=0,l=e.length;s<l;++s){const c=e[s].element;if(c&&c.hasValue()){const d=c.getCenterPoint(),h=hC(t,d);h<o&&(o=h,a=c)}}if(a){const c=a.tooltipPosition();i=c.x,n=c.y}return{x:i,y:n}}};function je(e,t){return t&&(ae(t)?Array.prototype.push.apply(e,t):e.push(t)),e}function st(e){return(typeof e=="string"||e instanceof String)&&e.indexOf(`
|
|
1874
|
+
*/class sA{constructor(){this._request=null,this._charts=new Map,this._running=!1,this._lastDate=void 0}_notify(t,i,n,o){const s=i.listeners[o],l=i.duration;s.forEach(a=>a({chart:t,initial:i.initial,numSteps:l,currentStep:Math.min(n-i.start,l)}))}_refresh(){this._request||(this._running=!0,this._request=f5.call(window,()=>{this._update(),this._request=null,this._running&&this._refresh()}))}_update(t=Date.now()){let i=0;this._charts.forEach((n,o)=>{if(!n.running||!n.items.length)return;const s=n.items;let l=s.length-1,a=!1,c;for(;l>=0;--l)c=s[l],c._active?(c._total>n.duration&&(n.duration=c._total),c.tick(t),a=!0):(s[l]=s[s.length-1],s.pop());a&&(o.draw(),this._notify(o,n,t,"progress")),s.length||(n.running=!1,this._notify(o,n,t,"complete"),n.initial=!1),i+=s.length}),this._lastDate=t,i===0&&(this._running=!1)}_getAnims(t){const i=this._charts;let n=i.get(t);return n||(n={running:!1,initial:!0,items:[],listeners:{complete:[],progress:[]}},i.set(t,n)),n}listen(t,i,n){this._getAnims(t).listeners[i].push(n)}add(t,i){!i||!i.length||this._getAnims(t).items.push(...i)}has(t){return this._getAnims(t).items.length>0}start(t){const i=this._charts.get(t);!i||(i.running=!0,i.start=Date.now(),i.duration=i.items.reduce((n,o)=>Math.max(n,o._duration),0),this._refresh())}running(t){if(!this._running)return!1;const i=this._charts.get(t);return!(!i||!i.running||!i.items.length)}stop(t){const i=this._charts.get(t);if(!i||!i.items.length)return;const n=i.items;let o=n.length-1;for(;o>=0;--o)n[o].cancel();i.items=[],this._notify(t,i,Date.now(),"complete")}remove(t){return this._charts.delete(t)}}var ot=new sA;const Ws="transparent",lA={boolean(e,t,i){return i>.5?t:e},color(e,t,i){const n=Ts(e||Ws),o=n.valid&&Ts(t||Ws);return o&&o.valid?o.mix(n,i).hexString():t},number(e,t,i){return e+(t-e)*i}};class aA{constructor(t,i,n,o){const s=i[n];o=wi([t.to,o,s,t.from]);const l=wi([t.from,s,o]);this._active=!0,this._fn=t.fn||lA[t.type||typeof l],this._easing=D0[t.easing]||D0.linear,this._start=Math.floor(Date.now()+(t.delay||0)),this._duration=this._total=Math.floor(t.duration),this._loop=!!t.loop,this._target=i,this._prop=n,this._from=l,this._to=o,this._promises=void 0}active(){return this._active}update(t,i,n){if(this._active){this._notify(!1);const o=this._target[this._prop],s=n-this._start,l=this._duration-s;this._start=n,this._duration=Math.floor(Math.max(l,t.duration)),this._total+=s,this._loop=!!t.loop,this._to=wi([t.to,i,o,t.from]),this._from=wi([t.from,o,i])}}cancel(){this._active&&(this.tick(Date.now()),this._active=!1,this._notify(!1))}tick(t){const i=t-this._start,n=this._duration,o=this._prop,s=this._from,l=this._loop,a=this._to;let c;if(this._active=s!==a&&(l||i<n),!this._active){this._target[o]=a,this._notify(!0);return}if(i<0){this._target[o]=s;return}c=i/n%2,c=l&&c>1?2-c:c,c=this._easing(Math.min(1,Math.max(0,c))),this._target[o]=this._fn(s,a,c)}wait(){const t=this._promises||(this._promises=[]);return new Promise((i,n)=>{t.push({res:i,rej:n})})}_notify(t){const i=t?"res":"rej",n=this._promises||[];for(let o=0;o<n.length;o++)n[o][i]()}}class b5{constructor(t,i){this._chart=t,this._properties=new Map,this.configure(i)}configure(t){if(!Y(t))return;const i=Object.keys(he.animation),n=this._properties;Object.getOwnPropertyNames(t).forEach(o=>{const s=t[o];if(!Y(s))return;const l={};for(const a of i)l[a]=s[a];(ae(s.properties)&&s.properties||[o]).forEach(a=>{(a===o||!n.has(a))&&n.set(a,l)})})}_animateOptions(t,i){const n=i.options,o=dA(t,n);if(!o)return[];const s=this._createAnimations(o,n);return n.$shared&&cA(t.options.$animations,n).then(()=>{t.options=n},()=>{}),s}_createAnimations(t,i){const n=this._properties,o=[],s=t.$animations||(t.$animations={}),l=Object.keys(i),a=Date.now();let c;for(c=l.length-1;c>=0;--c){const d=l[c];if(d.charAt(0)==="$")continue;if(d==="options"){o.push(...this._animateOptions(t,i));continue}const h=i[d];let f=s[d];const u=n.get(d);if(f)if(u&&f.active()){f.update(u,h,a);continue}else f.cancel();if(!u||!u.duration){t[d]=h;continue}s[d]=f=new aA(u,t,d,h),o.push(f)}return o}update(t,i){if(this._properties.size===0){Object.assign(t,i);return}const n=this._createAnimations(t,i);if(n.length)return ot.add(this._chart,n),!0}}function cA(e,t){const i=[],n=Object.keys(t);for(let o=0;o<n.length;o++){const s=e[n[o]];s&&s.active()&&i.push(s.wait())}return Promise.all(i)}function dA(e,t){if(!t)return;let i=e.options;if(!i){e.options=t;return}return i.$shared&&(e.options=i=Object.assign({},i,{$shared:!1,$animations:{}})),i}function Gs(e,t){const i=e&&e.options||{},n=i.reverse,o=i.min===void 0?t:0,s=i.max===void 0?t:0;return{start:n?s:o,end:n?o:s}}function hA(e,t,i){if(i===!1)return!1;const n=Gs(e,i),o=Gs(t,i);return{top:o.end,right:n.end,bottom:o.start,left:n.start}}function fA(e){let t,i,n,o;return Y(e)?(t=e.top,i=e.right,n=e.bottom,o=e.left):t=i=n=o=e,{top:t,right:i,bottom:n,left:o,disabled:e===!1}}function M5(e,t){const i=[],n=e._getSortedDatasetMetas(t);let o,s;for(o=0,s=n.length;o<s;++o)i.push(n[o].index);return i}function js(e,t,i,n={}){const o=e.keys,s=n.mode==="single";let l,a,c,d;if(t!==null){for(l=0,a=o.length;l<a;++l){if(c=+o[l],c===i){if(n.all)continue;break}d=e.values[c],we(d)&&(s||t===0||s1(t)===s1(d))&&(t+=d)}return t}}function uA(e){const t=Object.keys(e),i=new Array(t.length);let n,o,s;for(n=0,o=t.length;n<o;++n)s=t[n],i[n]={x:s,y:e[s]};return i}function Ns(e,t){const i=e&&e.options.stacked;return i||i===void 0&&t.stack!==void 0}function pA(e,t,i){return`${e.id}.${t.id}.${i.stack||i.type}`}function gA(e){const{min:t,max:i,minDefined:n,maxDefined:o}=e.getUserBounds();return{min:n?t:Number.NEGATIVE_INFINITY,max:o?i:Number.POSITIVE_INFINITY}}function vA(e,t,i){const n=e[t]||(e[t]={});return n[i]||(n[i]={})}function Xs(e,t,i,n){for(const o of t.getMatchingVisibleMetas(n).reverse()){const s=e[o.index];if(i&&s>0||!i&&s<0)return o.index}return null}function Ys(e,t){const{chart:i,_cachedMeta:n}=e,o=i._stacks||(i._stacks={}),{iScale:s,vScale:l,index:a}=n,c=s.axis,d=l.axis,h=pA(s,l,n),f=t.length;let u;for(let g=0;g<f;++g){const v=t[g],{[c]:m,[d]:w}=v,_=v._stacks||(v._stacks={});u=_[d]=vA(o,h,m),u[a]=w,u._top=Xs(u,l,!0,n.type),u._bottom=Xs(u,l,!1,n.type);const Z=u._visualValues||(u._visualValues={});Z[a]=w}}function yn(e,t){const i=e.scales;return Object.keys(i).filter(n=>i[n].axis===t).shift()}function mA(e,t){return Wt(e,{active:!1,dataset:void 0,datasetIndex:t,index:t,mode:"default",type:"dataset"})}function xA(e,t,i){return Wt(e,{active:!1,dataIndex:t,parsed:void 0,raw:void 0,element:i,index:t,mode:"default",type:"data"})}function v0(e,t){const i=e.controller.index,n=e.vScale&&e.vScale.axis;if(!!n){t=t||e._parsed;for(const o of t){const s=o._stacks;if(!s||s[n]===void 0||s[n][i]===void 0)return;delete s[n][i],s[n]._visualValues!==void 0&&s[n]._visualValues[i]!==void 0&&delete s[n]._visualValues[i]}}}const _n=e=>e==="reset"||e==="none",Ks=(e,t)=>t?e:Object.assign({},e),wA=(e,t,i)=>e&&!t.hidden&&t._stacked&&{keys:M5(i,!0),values:null};class P0{constructor(t,i){this.chart=t,this._ctx=t.ctx,this.index=i,this._cachedDataOpts={},this._cachedMeta=this.getMeta(),this._type=this._cachedMeta.type,this.options=void 0,this._parsing=!1,this._data=void 0,this._objectData=void 0,this._sharedOptions=void 0,this._drawStart=void 0,this._drawCount=void 0,this.enableOptionSharing=!1,this.supportsDecimation=!1,this.$context=void 0,this._syncList=[],this.datasetElementType=new.target.datasetElementType,this.dataElementType=new.target.dataElementType,this.initialize()}initialize(){const t=this._cachedMeta;this.configure(),this.linkScales(),t._stacked=Ns(t.vScale,t),this.addElements(),this.options.fill&&!this.chart.isPluginEnabled("filler")&&console.warn("Tried to use the 'fill' option without the 'Filler' plugin enabled. Please import and register the 'Filler' plugin and make sure it is not disabled in the options")}updateIndex(t){this.index!==t&&v0(this._cachedMeta),this.index=t}linkScales(){const t=this.chart,i=this._cachedMeta,n=this.getDataset(),o=(f,u,g,v)=>f==="x"?u:f==="r"?v:g,s=i.xAxisID=se(n.xAxisID,yn(t,"x")),l=i.yAxisID=se(n.yAxisID,yn(t,"y")),a=i.rAxisID=se(n.rAxisID,yn(t,"r")),c=i.indexAxis,d=i.iAxisID=o(c,s,l,a),h=i.vAxisID=o(c,l,s,a);i.xScale=this.getScaleForId(s),i.yScale=this.getScaleForId(l),i.rScale=this.getScaleForId(a),i.iScale=this.getScaleForId(d),i.vScale=this.getScaleForId(h)}getDataset(){return this.chart.data.datasets[this.index]}getMeta(){return this.chart.getDatasetMeta(this.index)}getScaleForId(t){return this.chart.scales[t]}_getOtherScale(t){const i=this._cachedMeta;return t===i.iScale?i.vScale:i.iScale}reset(){this._update("reset")}_destroy(){const t=this._cachedMeta;this._data&&Bs(this._data,this),t._stacked&&v0(t)}_dataCheck(){const t=this.getDataset(),i=t.data||(t.data=[]),n=this._data;if(Y(i))this._data=uA(i);else if(n!==i){if(n){Bs(n,this);const o=this._cachedMeta;v0(o),o._parsed=[]}i&&Object.isExtensible(i)&&vC(i,this),this._syncList=[],this._data=i}}addElements(){const t=this._cachedMeta;this._dataCheck(),this.datasetElementType&&(t.dataset=new this.datasetElementType)}buildOrUpdateElements(t){const i=this._cachedMeta,n=this.getDataset();let o=!1;this._dataCheck();const s=i._stacked;i._stacked=Ns(i.vScale,i),i.stack!==n.stack&&(o=!0,v0(i),i.stack=n.stack),this._resyncElements(t),(o||s!==i._stacked)&&Ys(this,i._parsed)}configure(){const t=this.chart.config,i=t.datasetScopeKeys(this._type),n=t.getOptionScopes(this.getDataset(),i,!0);this.options=t.createResolver(n,this.getContext()),this._parsing=this.options.parsing,this._cachedDataOpts={}}parse(t,i){const{_cachedMeta:n,_data:o}=this,{iScale:s,_stacked:l}=n,a=s.axis;let c=t===0&&i===o.length?!0:n._sorted,d=t>0&&n._parsed[t-1],h,f,u;if(this._parsing===!1)n._parsed=o,n._sorted=!0,u=o;else{ae(o[t])?u=this.parseArrayData(n,o,t,i):Y(o[t])?u=this.parseObjectData(n,o,t,i):u=this.parsePrimitiveData(n,o,t,i);const g=()=>f[a]===null||d&&f[a]<d[a];for(h=0;h<i;++h)n._parsed[h+t]=f=u[h],c&&(g()&&(c=!1),d=f);n._sorted=c}l&&Ys(this,u)}parsePrimitiveData(t,i,n,o){const{iScale:s,vScale:l}=t,a=s.axis,c=l.axis,d=s.getLabels(),h=s===l,f=new Array(o);let u,g,v;for(u=0,g=o;u<g;++u)v=u+n,f[u]={[a]:h||s.parse(d[v],v),[c]:l.parse(i[v],v)};return f}parseArrayData(t,i,n,o){const{xScale:s,yScale:l}=t,a=new Array(o);let c,d,h,f;for(c=0,d=o;c<d;++c)h=c+n,f=i[h],a[c]={x:s.parse(f[0],h),y:l.parse(f[1],h)};return a}parseObjectData(t,i,n,o){const{xScale:s,yScale:l}=t,{xAxisKey:a="x",yAxisKey:c="y"}=this._parsing,d=new Array(o);let h,f,u,g;for(h=0,f=o;h<f;++h)u=h+n,g=i[u],d[h]={x:s.parse(q0(g,a),u),y:l.parse(q0(g,c),u)};return d}getParsed(t){return this._cachedMeta._parsed[t]}getDataElement(t){return this._cachedMeta.data[t]}applyStack(t,i,n){const o=this.chart,s=this._cachedMeta,l=i[t.axis],a={keys:M5(o,!0),values:i._stacks[t.axis]._visualValues};return js(a,l,s.index,{mode:n})}updateRangeFromParsed(t,i,n,o){const s=n[i.axis];let l=s===null?NaN:s;const a=o&&n._stacks[i.axis];o&&a&&(o.values=a,l=js(o,s,this._cachedMeta.index)),t.min=Math.min(t.min,l),t.max=Math.max(t.max,l)}getMinMax(t,i){const n=this._cachedMeta,o=n._parsed,s=n._sorted&&t===n.iScale,l=o.length,a=this._getOtherScale(t),c=wA(i,n,this.chart),d={min:Number.POSITIVE_INFINITY,max:Number.NEGATIVE_INFINITY},{min:h,max:f}=gA(a);let u,g;function v(){g=o[u];const m=g[a.axis];return!we(g[t.axis])||h>m||f<m}for(u=0;u<l&&!(!v()&&(this.updateRangeFromParsed(d,t,g,c),s));++u);if(s){for(u=l-1;u>=0;--u)if(!v()){this.updateRangeFromParsed(d,t,g,c);break}}return d}getAllParsedValues(t){const i=this._cachedMeta._parsed,n=[];let o,s,l;for(o=0,s=i.length;o<s;++o)l=i[o][t.axis],we(l)&&n.push(l);return n}getMaxOverflow(){return!1}getLabelAndValue(t){const i=this._cachedMeta,n=i.iScale,o=i.vScale,s=this.getParsed(t);return{label:n?""+n.getLabelForValue(s[n.axis]):"",value:o?""+o.getLabelForValue(s[o.axis]):""}}_update(t){const i=this._cachedMeta;this.update(t||"default"),i._clip=fA(se(this.options.clip,hA(i.xScale,i.yScale,this.getMaxOverflow())))}update(t){}draw(){const t=this._ctx,i=this.chart,n=this._cachedMeta,o=n.data||[],s=i.chartArea,l=[],a=this._drawStart||0,c=this._drawCount||o.length-a,d=this.options.drawActiveElementsOnTop;let h;for(n.dataset&&n.dataset.draw(t,s,a,c),h=a;h<a+c;++h){const f=o[h];f.hidden||(f.active&&d?l.push(f):f.draw(t,s))}for(h=0;h<l.length;++h)l[h].draw(t,s)}getStyle(t,i){const n=i?"active":"default";return t===void 0&&this._cachedMeta.dataset?this.resolveDatasetElementOptions(n):this.resolveDataElementOptions(t||0,n)}getContext(t,i,n){const o=this.getDataset();let s;if(t>=0&&t<this._cachedMeta.data.length){const l=this._cachedMeta.data[t];s=l.$context||(l.$context=xA(this.getContext(),t,l)),s.parsed=this.getParsed(t),s.raw=o.data[t],s.index=s.dataIndex=t}else s=this.$context||(this.$context=mA(this.chart.getContext(),this.index)),s.dataset=o,s.index=s.datasetIndex=this.index;return s.active=!!i,s.mode=n,s}resolveDatasetElementOptions(t){return this._resolveElementOptions(this.datasetElementType.id,t)}resolveDataElementOptions(t,i){return this._resolveElementOptions(this.dataElementType.id,i,t)}_resolveElementOptions(t,i="default",n){const o=i==="active",s=this._cachedDataOpts,l=t+"-"+i,a=s[l],c=this.enableOptionSharing&&r1(n);if(a)return Ks(a,c);const d=this.chart.config,h=d.datasetElementScopeKeys(this._type,t),f=o?[`${t}Hover`,"hover",t,""]:[t,""],u=d.getOptionScopes(this.getDataset(),h),g=Object.keys(he.elements[t]),v=()=>this.getContext(n,o,i),m=d.resolveNamedOptions(u,g,v,f);return m.$shared&&(m.$shared=c,s[l]=Object.freeze(Ks(m,c))),m}_resolveAnimations(t,i,n){const o=this.chart,s=this._cachedDataOpts,l=`animation-${i}`,a=s[l];if(a)return a;let c;if(o.options.animation!==!1){const h=this.chart.config,f=h.datasetAnimationScopeKeys(this._type,i),u=h.getOptionScopes(this.getDataset(),f);c=h.createResolver(u,this.getContext(t,n,i))}const d=new b5(o,c&&c.animations);return c&&c._cacheable&&(s[l]=Object.freeze(d)),d}getSharedOptions(t){if(!!t.$shared)return this._sharedOptions||(this._sharedOptions=Object.assign({},t))}includeOptions(t,i){return!i||_n(t)||this.chart._animationsDisabled}_getSharedOptions(t,i){const n=this.resolveDataElementOptions(t,i),o=this._sharedOptions,s=this.getSharedOptions(n),l=this.includeOptions(i,s)||s!==o;return this.updateSharedOptions(s,i,n),{sharedOptions:s,includeOptions:l}}updateElement(t,i,n,o){_n(o)?Object.assign(t,n):this._resolveAnimations(i,o).update(t,n)}updateSharedOptions(t,i,n){t&&!_n(i)&&this._resolveAnimations(void 0,i).update(t,n)}_setStyle(t,i,n,o){t.active=o;const s=this.getStyle(i,o);this._resolveAnimations(i,n,o).update(t,{options:!o&&this.getSharedOptions(s)||s})}removeHoverStyle(t,i,n){this._setStyle(t,n,"active",!1)}setHoverStyle(t,i,n){this._setStyle(t,n,"active",!0)}_removeDatasetHoverStyle(){const t=this._cachedMeta.dataset;t&&this._setStyle(t,void 0,"active",!1)}_setDatasetHoverStyle(){const t=this._cachedMeta.dataset;t&&this._setStyle(t,void 0,"active",!0)}_resyncElements(t){const i=this._data,n=this._cachedMeta.data;for(const[a,c,d]of this._syncList)this[a](c,d);this._syncList=[];const o=n.length,s=i.length,l=Math.min(s,o);l&&this.parse(0,l),s>o?this._insertElements(o,s-o,t):s<o&&this._removeElements(s,o-s)}_insertElements(t,i,n=!0){const o=this._cachedMeta,s=o.data,l=t+i;let a;const c=d=>{for(d.length+=i,a=d.length-1;a>=l;a--)d[a]=d[a-i]};for(c(s),a=t;a<l;++a)s[a]=new this.dataElementType;this._parsing&&c(o._parsed),this.parse(t,i),n&&this.updateElements(s,t,i,"reset")}updateElements(t,i,n,o){}_removeElements(t,i){const n=this._cachedMeta;if(this._parsing){const o=n._parsed.splice(t,i);n._stacked&&v0(n,o)}n.data.splice(t,i)}_sync(t){if(this._parsing)this._syncList.push(t);else{const[i,n,o]=t;this[i](n,o)}this.chart._dataChanges.push([this.index,...t])}_onDataPush(){const t=arguments.length;this._sync(["_insertElements",this.getDataset().data.length-t,t])}_onDataPop(){this._sync(["_removeElements",this._cachedMeta.data.length-1,1])}_onDataShift(){this._sync(["_removeElements",0,1])}_onDataSplice(t,i){i&&this._sync(["_removeElements",t,i]);const n=arguments.length-2;n&&this._sync(["_insertElements",t,n])}_onDataUnshift(){this._sync(["_insertElements",0,arguments.length])}}G(P0,"defaults",{}),G(P0,"datasetElementType",null),G(P0,"dataElementType",null);function yA(e,t,i){let n=1,o=1,s=0,l=0;if(t<ce){const a=e,c=a+t,d=Math.cos(a),h=Math.sin(a),f=Math.cos(c),u=Math.sin(c),g=(b,I,A)=>a1(b,a,c,!0)?1:Math.max(I,I*i,A,A*i),v=(b,I,A)=>a1(b,a,c,!0)?-1:Math.min(I,I*i,A,A*i),m=g(0,d,f),w=g(de,h,u),_=v(pe,d,f),Z=v(pe+de,h,u);n=(m-_)/2,o=(w-Z)/2,s=-(m+_)/2,l=-(w+Z)/2}return{ratioX:n,ratioY:o,offsetX:s,offsetY:l}}class Z0 extends P0{constructor(t,i){super(t,i),this.enableOptionSharing=!0,this.innerRadius=void 0,this.outerRadius=void 0,this.offsetX=void 0,this.offsetY=void 0}linkScales(){}parse(t,i){const n=this.getDataset().data,o=this._cachedMeta;if(this._parsing===!1)o._parsed=n;else{let s=c=>+n[c];if(Y(n[t])){const{key:c="value"}=this._parsing;s=d=>+q0(n[d],c)}let l,a;for(l=t,a=t+i;l<a;++l)o._parsed[l]=s(l)}}_getRotation(){return Je(this.options.rotation-90)}_getCircumference(){return Je(this.options.circumference)}_getRotationExtents(){let t=ce,i=-ce;for(let n=0;n<this.chart.data.datasets.length;++n)if(this.chart.isDatasetVisible(n)&&this.chart.getDatasetMeta(n).type===this._type){const o=this.chart.getDatasetMeta(n).controller,s=o._getRotation(),l=o._getCircumference();t=Math.min(t,s),i=Math.max(i,s+l)}return{rotation:t,circumference:i-t}}update(t){const i=this.chart,{chartArea:n}=i,o=this._cachedMeta,s=o.data,l=this.getMaxBorderWidth()+this.getMaxOffset(s)+this.options.spacing,a=Math.max((Math.min(n.width,n.height)-l)/2,0),c=Math.min(iC(this.options.cutout,a),1),d=this._getRingWeight(this.index),{circumference:h,rotation:f}=this._getRotationExtents(),{ratioX:u,ratioY:g,offsetX:v,offsetY:m}=yA(f,h,c),w=(n.width-l)/u,_=(n.height-l)/g,Z=Math.max(Math.min(w,_)/2,0),b=l5(this.options.radius,Z),I=Math.max(b*c,0),A=(b-I)/this._getVisibleDatasetWeightTotal();this.offsetX=v*b,this.offsetY=m*b,o.total=this.calculateTotal(),this.outerRadius=b-A*this._getRingWeightOffset(this.index),this.innerRadius=Math.max(this.outerRadius-A*d,0),this.updateElements(s,0,s.length,t)}_circumference(t,i){const n=this.options,o=this._cachedMeta,s=this._getCircumference();return i&&n.animation.animateRotate||!this.chart.getDataVisibility(t)||o._parsed[t]===null||o.data[t].hidden?0:this.calculateCircumference(o._parsed[t]*s/ce)}updateElements(t,i,n,o){const s=o==="reset",l=this.chart,a=l.chartArea,d=l.options.animation,h=(a.left+a.right)/2,f=(a.top+a.bottom)/2,u=s&&d.animateScale,g=u?0:this.innerRadius,v=u?0:this.outerRadius,{sharedOptions:m,includeOptions:w}=this._getSharedOptions(i,o);let _=this._getRotation(),Z;for(Z=0;Z<i;++Z)_+=this._circumference(Z,s);for(Z=i;Z<i+n;++Z){const b=this._circumference(Z,s),I=t[Z],A={x:h+this.offsetX,y:f+this.offsetY,startAngle:_,endAngle:_+b,circumference:b,outerRadius:v,innerRadius:g};w&&(A.options=m||this.resolveDataElementOptions(Z,I.active?"active":o)),_+=b,this.updateElement(I,Z,A,o)}}calculateTotal(){const t=this._cachedMeta,i=t.data;let n=0,o;for(o=0;o<i.length;o++){const s=t._parsed[o];s!==null&&!isNaN(s)&&this.chart.getDataVisibility(o)&&!i[o].hidden&&(n+=Math.abs(s))}return n}calculateCircumference(t){const i=this._cachedMeta.total;return i>0&&!isNaN(t)?ce*(Math.abs(t)/i):0}getLabelAndValue(t){const i=this._cachedMeta,n=this.chart,o=n.data.labels||[],s=z1(i._parsed[t],n.options.locale);return{label:o[t]||"",value:s}}getMaxBorderWidth(t){let i=0;const n=this.chart;let o,s,l,a,c;if(!t){for(o=0,s=n.data.datasets.length;o<s;++o)if(n.isDatasetVisible(o)){l=n.getDatasetMeta(o),t=l.data,a=l.controller;break}}if(!t)return 0;for(o=0,s=t.length;o<s;++o)c=a.resolveDataElementOptions(o),c.borderAlign!=="inner"&&(i=Math.max(i,c.borderWidth||0,c.hoverBorderWidth||0));return i}getMaxOffset(t){let i=0;for(let n=0,o=t.length;n<o;++n){const s=this.resolveDataElementOptions(n);i=Math.max(i,s.offset||0,s.hoverOffset||0)}return i}_getRingWeightOffset(t){let i=0;for(let n=0;n<t;++n)this.chart.isDatasetVisible(n)&&(i+=this._getRingWeight(n));return i}_getRingWeight(t){return Math.max(se(this.chart.data.datasets[t].weight,1),0)}_getVisibleDatasetWeightTotal(){return this._getRingWeightOffset(this.chart.data.datasets.length)||1}}G(Z0,"id","doughnut"),G(Z0,"defaults",{datasetElementType:!1,dataElementType:"arc",animation:{animateRotate:!0,animateScale:!1},animations:{numbers:{type:"number",properties:["circumference","endAngle","innerRadius","outerRadius","startAngle","x","y","offset","borderWidth","spacing"]}},cutout:"50%",rotation:0,circumference:360,radius:"100%",spacing:0,indexAxis:"r"}),G(Z0,"descriptors",{_scriptable:t=>t!=="spacing",_indexable:t=>t!=="spacing"&&!t.startsWith("borderDash")&&!t.startsWith("hoverBorderDash")}),G(Z0,"overrides",{aspectRatio:1,plugins:{legend:{labels:{generateLabels(t){const i=t.data;if(i.labels.length&&i.datasets.length){const{labels:{pointStyle:n,color:o}}=t.legend.options;return i.labels.map((s,l)=>{const c=t.getDatasetMeta(0).controller.getStyle(l);return{text:s,fillStyle:c.backgroundColor,strokeStyle:c.borderColor,fontColor:o,lineWidth:c.borderWidth,pointStyle:n,hidden:!t.getDataVisibility(l),index:l}})}return[]}},onClick(t,i,n){n.chart.toggleDataVisibility(i.index),n.chart.update()}}}});function kt(){throw new Error("This method is not implemented: Check that a complete date adapter is provided.")}class Yr{constructor(t){G(this,"options");this.options=t||{}}static override(t){Object.assign(Yr.prototype,t)}init(){}formats(){return kt()}parse(){return kt()}format(){return kt()}add(){return kt()}diff(){return kt()}startOf(){return kt()}endOf(){return kt()}}var _A={_date:Yr};function bA(e,t,i,n){const{controller:o,data:s,_sorted:l}=e,a=o._cachedMeta.iScale;if(a&&t===a.axis&&t!=="r"&&l&&s.length){const c=a._reversePixels?pC:jn;if(n){if(o._sharedOptions){const d=s[0],h=typeof d.getRange=="function"&&d.getRange(t);if(h){const f=c(s,t,i-h),u=c(s,t,i+h);return{lo:f.lo,hi:u.hi}}}}else return c(s,t,i)}return{lo:0,hi:s.length-1}}function ai(e,t,i,n,o){const s=e.getSortedVisibleDatasetMetas(),l=i[t];for(let a=0,c=s.length;a<c;++a){const{index:d,data:h}=s[a],{lo:f,hi:u}=bA(s[a],t,l,o);for(let g=f;g<=u;++g){const v=h[g];v.skip||n(v,d,g)}}}function MA(e){const t=e.indexOf("x")!==-1,i=e.indexOf("y")!==-1;return function(n,o){const s=t?Math.abs(n.x-o.x):0,l=i?Math.abs(n.y-o.y):0;return Math.sqrt(Math.pow(s,2)+Math.pow(l,2))}}function bn(e,t,i,n,o){const s=[];return!o&&!e.isPointInArea(t)||ai(e,i,t,function(a,c,d){!o&&!Qt(a,e.chartArea,0)||a.inRange(t.x,t.y,n)&&s.push({element:a,datasetIndex:c,index:d})},!0),s}function ZA(e,t,i,n){let o=[];function s(l,a,c){const{startAngle:d,endAngle:h}=l.getProps(["startAngle","endAngle"],n),{angle:f}=d5(l,{x:t.x,y:t.y});a1(f,d,h)&&o.push({element:l,datasetIndex:a,index:c})}return ai(e,i,t,s),o}function SA(e,t,i,n,o,s){let l=[];const a=MA(i);let c=Number.POSITIVE_INFINITY;function d(h,f,u){const g=h.inRange(t.x,t.y,o);if(n&&!g)return;const v=h.getCenterPoint(o);if(!(!!s||e.isPointInArea(v))&&!g)return;const w=a(t,v);w<c?(l=[{element:h,datasetIndex:f,index:u}],c=w):w===c&&l.push({element:h,datasetIndex:f,index:u})}return ai(e,i,t,d),l}function Mn(e,t,i,n,o,s){return!s&&!e.isPointInArea(t)?[]:i==="r"&&!n?ZA(e,t,i,o):SA(e,t,i,n,o,s)}function qs(e,t,i,n,o){const s=[],l=i==="x"?"inXRange":"inYRange";let a=!1;return ai(e,i,t,(c,d,h)=>{c[l](t[i],o)&&(s.push({element:c,datasetIndex:d,index:h}),a=a||c.inRange(t.x,t.y,o))}),n&&!a?[]:s}var IA={evaluateInteractionItems:ai,modes:{index(e,t,i,n){const o=Lt(t,e),s=i.axis||"x",l=i.includeInvisible||!1,a=i.intersect?bn(e,o,s,n,l):Mn(e,o,s,!1,n,l),c=[];return a.length?(e.getSortedVisibleDatasetMetas().forEach(d=>{const h=a[0].index,f=d.data[h];f&&!f.skip&&c.push({element:f,datasetIndex:d.index,index:h})}),c):[]},dataset(e,t,i,n){const o=Lt(t,e),s=i.axis||"xy",l=i.includeInvisible||!1;let a=i.intersect?bn(e,o,s,n,l):Mn(e,o,s,!1,n,l);if(a.length>0){const c=a[0].datasetIndex,d=e.getDatasetMeta(c).data;a=[];for(let h=0;h<d.length;++h)a.push({element:d[h],datasetIndex:c,index:h})}return a},point(e,t,i,n){const o=Lt(t,e),s=i.axis||"xy",l=i.includeInvisible||!1;return bn(e,o,s,n,l)},nearest(e,t,i,n){const o=Lt(t,e),s=i.axis||"xy",l=i.includeInvisible||!1;return Mn(e,o,s,i.intersect,n,l)},x(e,t,i,n){const o=Lt(t,e);return qs(e,o,"x",i.intersect,n)},y(e,t,i,n){const o=Lt(t,e);return qs(e,o,"y",i.intersect,n)}}};const Z5=["left","top","right","bottom"];function m0(e,t){return e.filter(i=>i.pos===t)}function Qs(e,t){return e.filter(i=>Z5.indexOf(i.pos)===-1&&i.box.axis===t)}function x0(e,t){return e.sort((i,n)=>{const o=t?n:i,s=t?i:n;return o.weight===s.weight?o.index-s.index:o.weight-s.weight})}function CA(e){const t=[];let i,n,o,s,l,a;for(i=0,n=(e||[]).length;i<n;++i)o=e[i],{position:s,options:{stack:l,stackWeight:a=1}}=o,t.push({index:i,box:o,pos:s,horizontal:o.isHorizontal(),weight:o.weight,stack:l&&s+l,stackWeight:a});return t}function AA(e){const t={};for(const i of e){const{stack:n,pos:o,stackWeight:s}=i;if(!n||!Z5.includes(o))continue;const l=t[n]||(t[n]={count:0,placed:0,weight:0,size:0});l.count++,l.weight+=s}return t}function RA(e,t){const i=AA(e),{vBoxMaxWidth:n,hBoxMaxHeight:o}=t;let s,l,a;for(s=0,l=e.length;s<l;++s){a=e[s];const{fullSize:c}=a.box,d=i[a.stack],h=d&&a.stackWeight/d.weight;a.horizontal?(a.width=h?h*n:c&&t.availableWidth,a.height=o):(a.width=n,a.height=h?h*o:c&&t.availableHeight)}return i}function kA(e){const t=CA(e),i=x0(t.filter(d=>d.box.fullSize),!0),n=x0(m0(t,"left"),!0),o=x0(m0(t,"right")),s=x0(m0(t,"top"),!0),l=x0(m0(t,"bottom")),a=Qs(t,"x"),c=Qs(t,"y");return{fullSize:i,leftAndTop:n.concat(s),rightAndBottom:o.concat(c).concat(l).concat(a),chartArea:m0(t,"chartArea"),vertical:n.concat(o).concat(c),horizontal:s.concat(l).concat(a)}}function Js(e,t,i,n){return Math.max(e[i],t[i])+Math.max(e[n],t[n])}function S5(e,t){e.top=Math.max(e.top,t.top),e.left=Math.max(e.left,t.left),e.bottom=Math.max(e.bottom,t.bottom),e.right=Math.max(e.right,t.right)}function FA(e,t,i,n){const{pos:o,box:s}=i,l=e.maxPadding;if(!Y(o)){i.size&&(e[o]-=i.size);const f=n[i.stack]||{size:0,count:1};f.size=Math.max(f.size,i.horizontal?s.height:s.width),i.size=f.size/f.count,e[o]+=i.size}s.getPadding&&S5(l,s.getPadding());const a=Math.max(0,t.outerWidth-Js(l,e,"left","right")),c=Math.max(0,t.outerHeight-Js(l,e,"top","bottom")),d=a!==e.w,h=c!==e.h;return e.w=a,e.h=c,i.horizontal?{same:d,other:h}:{same:h,other:d}}function BA(e){const t=e.maxPadding;function i(n){const o=Math.max(t[n]-e[n],0);return e[n]+=o,o}e.y+=i("top"),e.x+=i("left"),i("right"),i("bottom")}function EA(e,t){const i=t.maxPadding;function n(o){const s={left:0,top:0,right:0,bottom:0};return o.forEach(l=>{s[l]=Math.max(t[l],i[l])}),s}return n(e?["left","right"]:["top","bottom"])}function S0(e,t,i,n){const o=[];let s,l,a,c,d,h;for(s=0,l=e.length,d=0;s<l;++s){a=e[s],c=a.box,c.update(a.width||t.w,a.height||t.h,EA(a.horizontal,t));const{same:f,other:u}=FA(t,i,a,n);d|=f&&o.length,h=h||u,c.fullSize||o.push(a)}return d&&S0(o,t,i,n)||h}function _i(e,t,i,n,o){e.top=i,e.left=t,e.right=t+n,e.bottom=i+o,e.width=n,e.height=o}function el(e,t,i,n){const o=i.padding;let{x:s,y:l}=t;for(const a of e){const c=a.box,d=n[a.stack]||{count:1,placed:0,weight:1},h=a.stackWeight/d.weight||1;if(a.horizontal){const f=t.w*h,u=d.size||c.height;r1(d.start)&&(l=d.start),c.fullSize?_i(c,o.left,l,i.outerWidth-o.right-o.left,u):_i(c,t.left+d.placed,l,f,u),d.start=l,d.placed+=f,l=c.bottom}else{const f=t.h*h,u=d.size||c.width;r1(d.start)&&(s=d.start),c.fullSize?_i(c,s,o.top,u,i.outerHeight-o.bottom-o.top):_i(c,s,t.top+d.placed,u,f),d.start=s,d.placed+=f,s=c.right}}t.x=s,t.y=l}var bi={addBox(e,t){e.boxes||(e.boxes=[]),t.fullSize=t.fullSize||!1,t.position=t.position||"top",t.weight=t.weight||0,t._layers=t._layers||function(){return[{z:0,draw(i){t.draw(i)}}]},e.boxes.push(t)},removeBox(e,t){const i=e.boxes?e.boxes.indexOf(t):-1;i!==-1&&e.boxes.splice(i,1)},configure(e,t,i){t.fullSize=i.fullSize,t.position=i.position,t.weight=i.weight},update(e,t,i,n){if(!e)return;const o=We(e.options.layout.padding),s=Math.max(t-o.width,0),l=Math.max(i-o.height,0),a=kA(e.boxes),c=a.vertical,d=a.horizontal;ee(e.boxes,m=>{typeof m.beforeLayout=="function"&&m.beforeLayout()});const h=c.reduce((m,w)=>w.box.options&&w.box.options.display===!1?m:m+1,0)||1,f=Object.freeze({outerWidth:t,outerHeight:i,padding:o,availableWidth:s,availableHeight:l,vBoxMaxWidth:s/2/h,hBoxMaxHeight:l/2}),u=Object.assign({},o);S5(u,We(n));const g=Object.assign({maxPadding:u,w:s,h:l,x:o.left,y:o.top},o),v=RA(c.concat(d),f);S0(a.fullSize,g,f,v),S0(c,g,f,v),S0(d,g,f,v)&&S0(c,g,f,v),BA(g),el(a.leftAndTop,g,f,v),g.x+=g.w,g.y+=g.h,el(a.rightAndBottom,g,f,v),e.chartArea={left:g.left,top:g.top,right:g.left+g.w,bottom:g.top+g.h,height:g.h,width:g.w},ee(a.chartArea,m=>{const w=m.box;Object.assign(w,e.chartArea),w.update(g.w,g.h,{left:0,top:0,right:0,bottom:0})})}};class I5{acquireContext(t,i){}releaseContext(t){return!1}addEventListener(t,i,n){}removeEventListener(t,i,n){}getDevicePixelRatio(){return 1}getMaximumSize(t,i,n,o){return i=Math.max(0,i||t.width),n=n||t.height,{width:i,height:Math.max(0,o?Math.floor(i/o):n)}}isAttached(t){return!0}updateConfig(t){}}class LA extends I5{acquireContext(t){return t&&t.getContext&&t.getContext("2d")||null}updateConfig(t){t.options.animation=!1}}const Ti="$chartjs",DA={touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"},tl=e=>e===null||e==="";function TA(e,t){const i=e.style,n=e.getAttribute("height"),o=e.getAttribute("width");if(e[Ti]={initial:{height:n,width:o,style:{display:i.display,height:i.height,width:i.width}}},i.display=i.display||"block",i.boxSizing=i.boxSizing||"border-box",tl(o)){const s=zs(e,"width");s!==void 0&&(e.width=s)}if(tl(n))if(e.style.height==="")e.height=e.width/(t||2);else{const s=zs(e,"height");s!==void 0&&(e.height=s)}return e}const C5=tA?{passive:!0}:!1;function VA(e,t,i){e&&e.addEventListener(t,i,C5)}function PA(e,t,i){e&&e.canvas&&e.canvas.removeEventListener(t,i,C5)}function OA(e,t){const i=DA[e.type]||e.type,{x:n,y:o}=Lt(e,t);return{type:i,chart:t,native:e,x:n!==void 0?n:null,y:o!==void 0?o:null}}function f1(e,t){for(const i of e)if(i===t||i.contains(t))return!0}function HA(e,t,i){const n=e.canvas,o=new MutationObserver(s=>{let l=!1;for(const a of s)l=l||f1(a.addedNodes,n),l=l&&!f1(a.removedNodes,n);l&&i()});return o.observe(document,{childList:!0,subtree:!0}),o}function $A(e,t,i){const n=e.canvas,o=new MutationObserver(s=>{let l=!1;for(const a of s)l=l||f1(a.removedNodes,n),l=l&&!f1(a.addedNodes,n);l&&i()});return o.observe(document,{childList:!0,subtree:!0}),o}const Q0=new Map;let il=0;function A5(){const e=window.devicePixelRatio;e!==il&&(il=e,Q0.forEach((t,i)=>{i.currentDevicePixelRatio!==e&&t()}))}function UA(e,t){Q0.size||window.addEventListener("resize",A5),Q0.set(e,t)}function zA(e){Q0.delete(e),Q0.size||window.removeEventListener("resize",A5)}function WA(e,t,i){const n=e.canvas,o=n&&Xr(n);if(!o)return;const s=u5((a,c)=>{const d=o.clientWidth;i(a,c),d<o.clientWidth&&i()},window),l=new ResizeObserver(a=>{const c=a[0],d=c.contentRect.width,h=c.contentRect.height;d===0&&h===0||s(d,h)});return l.observe(o),UA(e,s),l}function Zn(e,t,i){i&&i.disconnect(),t==="resize"&&zA(e)}function GA(e,t,i){const n=e.canvas,o=u5(s=>{e.ctx!==null&&i(OA(s,e))},e);return VA(n,t,o),o}class jA extends I5{acquireContext(t,i){const n=t&&t.getContext&&t.getContext("2d");return n&&n.canvas===t?(TA(t,i),n):null}releaseContext(t){const i=t.canvas;if(!i[Ti])return!1;const n=i[Ti].initial;["height","width"].forEach(s=>{const l=n[s];oe(l)?i.removeAttribute(s):i.setAttribute(s,l)});const o=n.style||{};return Object.keys(o).forEach(s=>{i.style[s]=o[s]}),i.width=i.width,delete i[Ti],!0}addEventListener(t,i,n){this.removeEventListener(t,i);const o=t.$proxies||(t.$proxies={}),l={attach:HA,detach:$A,resize:WA}[i]||GA;o[i]=l(t,i,n)}removeEventListener(t,i){const n=t.$proxies||(t.$proxies={}),o=n[i];if(!o)return;({attach:Zn,detach:Zn,resize:Zn}[i]||PA)(t,i,o),n[i]=void 0}getDevicePixelRatio(){return window.devicePixelRatio}getMaximumSize(t,i,n,o){return eA(t,i,n,o)}isAttached(t){const i=Xr(t);return!!(i&&i.isConnected)}}function NA(e){return!Nr()||typeof OffscreenCanvas<"u"&&e instanceof OffscreenCanvas?LA:jA}class s0{constructor(){G(this,"x");G(this,"y");G(this,"active",!1);G(this,"options");G(this,"$animations")}tooltipPosition(t){const{x:i,y:n}=this.getProps(["x","y"],t);return{x:i,y:n}}hasValue(){return l1(this.x)&&l1(this.y)}getProps(t,i){const n=this.$animations;if(!i||!n)return this;const o={};return t.forEach(s=>{o[s]=n[s]&&n[s].active()?n[s]._to:this[s]}),o}}G(s0,"defaults",{}),G(s0,"defaultRoutes");function XA(e,t){const i=e.options.ticks,n=YA(e),o=Math.min(i.maxTicksLimit||n,n),s=i.major.enabled?qA(t):[],l=s.length,a=s[0],c=s[l-1],d=[];if(l>o)return QA(t,d,s,l/o),d;const h=KA(s,t,o);if(l>0){let f,u;const g=l>1?Math.round((c-a)/(l-1)):null;for(Mi(t,d,h,oe(g)?0:a-g,a),f=0,u=l-1;f<u;f++)Mi(t,d,h,s[f],s[f+1]);return Mi(t,d,h,c,oe(g)?t.length:c+g),d}return Mi(t,d,h),d}function YA(e){const t=e.options.offset,i=e._tickSize(),n=e._length/i+(t?0:1),o=e._maxLength/i;return Math.floor(Math.min(n,o))}function KA(e,t,i){const n=JA(e),o=t.length/i;if(!n)return Math.max(o,1);const s=cC(n);for(let l=0,a=s.length-1;l<a;l++){const c=s[l];if(c>o)return c}return Math.max(o,1)}function qA(e){const t=[];let i,n;for(i=0,n=e.length;i<n;i++)e[i].major&&t.push(i);return t}function QA(e,t,i,n){let o=0,s=i[0],l;for(n=Math.ceil(n),l=0;l<e.length;l++)l===s&&(t.push(e[l]),o++,s=i[o*n])}function Mi(e,t,i,n,o){const s=se(n,0),l=Math.min(se(o,e.length),e.length);let a=0,c,d,h;for(i=Math.ceil(i),o&&(c=o-n,i=c/Math.floor(c/i)),h=s;h<0;)a++,h=Math.round(s+a*i);for(d=Math.max(s,0);d<l;d++)d===h&&(t.push(e[d]),a++,h=Math.round(s+a*i))}function JA(e){const t=e.length;let i,n;if(t<2)return!1;for(n=e[0],i=1;i<t;++i)if(e[i]-e[i-1]!==n)return!1;return n}const eR=e=>e==="left"?"right":e==="right"?"left":e,nl=(e,t,i)=>t==="top"||t==="left"?e[t]+i:e[t]-i,rl=(e,t)=>Math.min(t||e,e);function ol(e,t){const i=[],n=e.length/t,o=e.length;let s=0;for(;s<o;s+=n)i.push(e[Math.floor(s)]);return i}function tR(e,t,i){const n=e.ticks.length,o=Math.min(t,n-1),s=e._startPixel,l=e._endPixel,a=1e-6;let c=e.getPixelForTick(o),d;if(!(i&&(n===1?d=Math.max(c-s,l-c):t===0?d=(e.getPixelForTick(1)-c)/2:d=(c-e.getPixelForTick(o-1))/2,c+=o<t?d:-d,c<s-a||c>l+a)))return c}function iR(e,t){ee(e,i=>{const n=i.gc,o=n.length/2;let s;if(o>t){for(s=0;s<o;++s)delete i.data[n[s]];n.splice(0,o)}})}function w0(e){return e.drawTicks?e.tickLength:0}function sl(e,t){if(!e.display)return 0;const i=Ee(e.font,t),n=We(e.padding);return(ae(e.text)?e.text.length:1)*i.lineHeight+n.height}function nR(e,t){return Wt(e,{scale:t,type:"scale"})}function rR(e,t,i){return Wt(e,{tick:i,index:t,type:"tick"})}function oR(e,t,i){let n=wC(e);return(i&&t!=="right"||!i&&t==="right")&&(n=eR(n)),n}function sR(e,t,i,n){const{top:o,left:s,bottom:l,right:a,chart:c}=e,{chartArea:d,scales:h}=c;let f=0,u,g,v;const m=l-o,w=a-s;if(e.isHorizontal()){if(g=Es(n,s,a),Y(i)){const _=Object.keys(i)[0],Z=i[_];v=h[_].getPixelForValue(Z)+m-t}else i==="center"?v=(d.bottom+d.top)/2+m-t:v=nl(e,i,t);u=a-s}else{if(Y(i)){const _=Object.keys(i)[0],Z=i[_];g=h[_].getPixelForValue(Z)-w+t}else i==="center"?g=(d.left+d.right)/2-w+t:g=nl(e,i,t);v=Es(n,l,o),f=i==="left"?-de:de}return{titleX:g,titleY:v,maxWidth:u,rotation:f}}class c0 extends s0{constructor(t){super(),this.id=t.id,this.type=t.type,this.options=void 0,this.ctx=t.ctx,this.chart=t.chart,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.width=void 0,this.height=void 0,this._margins={left:0,right:0,top:0,bottom:0},this.maxWidth=void 0,this.maxHeight=void 0,this.paddingTop=void 0,this.paddingBottom=void 0,this.paddingLeft=void 0,this.paddingRight=void 0,this.axis=void 0,this.labelRotation=void 0,this.min=void 0,this.max=void 0,this._range=void 0,this.ticks=[],this._gridLineItems=null,this._labelItems=null,this._labelSizes=null,this._length=0,this._maxLength=0,this._longestTextCache={},this._startPixel=void 0,this._endPixel=void 0,this._reversePixels=!1,this._userMax=void 0,this._userMin=void 0,this._suggestedMax=void 0,this._suggestedMin=void 0,this._ticksLength=0,this._borderValue=0,this._cache={},this._dataLimitsCached=!1,this.$context=void 0}init(t){this.options=t.setContext(this.getContext()),this.axis=t.axis,this._userMin=this.parse(t.min),this._userMax=this.parse(t.max),this._suggestedMin=this.parse(t.suggestedMin),this._suggestedMax=this.parse(t.suggestedMax)}parse(t,i){return t}getUserBounds(){let{_userMin:t,_userMax:i,_suggestedMin:n,_suggestedMax:o}=this;return t=Be(t,Number.POSITIVE_INFINITY),i=Be(i,Number.NEGATIVE_INFINITY),n=Be(n,Number.POSITIVE_INFINITY),o=Be(o,Number.NEGATIVE_INFINITY),{min:Be(t,n),max:Be(i,o),minDefined:we(t),maxDefined:we(i)}}getMinMax(t){let{min:i,max:n,minDefined:o,maxDefined:s}=this.getUserBounds(),l;if(o&&s)return{min:i,max:n};const a=this.getMatchingVisibleMetas();for(let c=0,d=a.length;c<d;++c)l=a[c].controller.getMinMax(this,t),o||(i=Math.min(i,l.min)),s||(n=Math.max(n,l.max));return i=s&&i>n?n:i,n=o&&i>n?i:n,{min:Be(i,Be(n,i)),max:Be(n,Be(i,n))}}getPadding(){return{left:this.paddingLeft||0,top:this.paddingTop||0,right:this.paddingRight||0,bottom:this.paddingBottom||0}}getTicks(){return this.ticks}getLabels(){const t=this.chart.data;return this.options.labels||(this.isHorizontal()?t.xLabels:t.yLabels)||t.labels||[]}getLabelItems(t=this.chart.chartArea){return this._labelItems||(this._labelItems=this._computeLabelItems(t))}beforeLayout(){this._cache={},this._dataLimitsCached=!1}beforeUpdate(){le(this.options.beforeUpdate,[this])}update(t,i,n){const{beginAtZero:o,grace:s,ticks:l}=this.options,a=l.sampleSize;this.beforeUpdate(),this.maxWidth=t,this.maxHeight=i,this._margins=n=Object.assign({left:0,right:0,top:0,bottom:0},n),this.ticks=null,this._labelSizes=null,this._gridLineItems=null,this._labelItems=null,this.beforeSetDimensions(),this.setDimensions(),this.afterSetDimensions(),this._maxLength=this.isHorizontal()?this.width+n.left+n.right:this.height+n.top+n.bottom,this._dataLimitsCached||(this.beforeDataLimits(),this.determineDataLimits(),this.afterDataLimits(),this._range=OC(this,s,o),this._dataLimitsCached=!0),this.beforeBuildTicks(),this.ticks=this.buildTicks()||[],this.afterBuildTicks();const c=a<this.ticks.length;this._convertTicksToLabels(c?ol(this.ticks,a):this.ticks),this.configure(),this.beforeCalculateLabelRotation(),this.calculateLabelRotation(),this.afterCalculateLabelRotation(),l.display&&(l.autoSkip||l.source==="auto")&&(this.ticks=XA(this,this.ticks),this._labelSizes=null,this.afterAutoSkip()),c&&this._convertTicksToLabels(this.ticks),this.beforeFit(),this.fit(),this.afterFit(),this.afterUpdate()}configure(){let t=this.options.reverse,i,n;this.isHorizontal()?(i=this.left,n=this.right):(i=this.top,n=this.bottom,t=!t),this._startPixel=i,this._endPixel=n,this._reversePixels=t,this._length=n-i,this._alignToPixels=this.options.alignToPixels}afterUpdate(){le(this.options.afterUpdate,[this])}beforeSetDimensions(){le(this.options.beforeSetDimensions,[this])}setDimensions(){this.isHorizontal()?(this.width=this.maxWidth,this.left=0,this.right=this.width):(this.height=this.maxHeight,this.top=0,this.bottom=this.height),this.paddingLeft=0,this.paddingTop=0,this.paddingRight=0,this.paddingBottom=0}afterSetDimensions(){le(this.options.afterSetDimensions,[this])}_callHooks(t){this.chart.notifyPlugins(t,this.getContext()),le(this.options[t],[this])}beforeDataLimits(){this._callHooks("beforeDataLimits")}determineDataLimits(){}afterDataLimits(){this._callHooks("afterDataLimits")}beforeBuildTicks(){this._callHooks("beforeBuildTicks")}buildTicks(){return[]}afterBuildTicks(){this._callHooks("afterBuildTicks")}beforeTickToLabelConversion(){le(this.options.beforeTickToLabelConversion,[this])}generateTickLabels(t){const i=this.options.ticks;let n,o,s;for(n=0,o=t.length;n<o;n++)s=t[n],s.label=le(i.callback,[s.value,n,t],this)}afterTickToLabelConversion(){le(this.options.afterTickToLabelConversion,[this])}beforeCalculateLabelRotation(){le(this.options.beforeCalculateLabelRotation,[this])}calculateLabelRotation(){const t=this.options,i=t.ticks,n=rl(this.ticks.length,t.ticks.maxTicksLimit),o=i.minRotation||0,s=i.maxRotation;let l=o,a,c,d;if(!this._isVisible()||!i.display||o>=s||n<=1||!this.isHorizontal()){this.labelRotation=o;return}const h=this._getLabelSizes(),f=h.widest.width,u=h.highest.height,g=ze(this.chart.width-f,0,this.maxWidth);a=t.offset?this.maxWidth/n:g/(n-1),f+6>a&&(a=g/(n-(t.offset?.5:1)),c=this.maxHeight-w0(t.grid)-i.padding-sl(t.title,this.chart.options.font),d=Math.sqrt(f*f+u*u),l=$r(Math.min(Math.asin(ze((h.highest.height+6)/a,-1,1)),Math.asin(ze(c/d,-1,1))-Math.asin(ze(u/d,-1,1)))),l=Math.max(o,Math.min(s,l))),this.labelRotation=l}afterCalculateLabelRotation(){le(this.options.afterCalculateLabelRotation,[this])}afterAutoSkip(){}beforeFit(){le(this.options.beforeFit,[this])}fit(){const t={width:0,height:0},{chart:i,options:{ticks:n,title:o,grid:s}}=this,l=this._isVisible(),a=this.isHorizontal();if(l){const c=sl(o,i.options.font);if(a?(t.width=this.maxWidth,t.height=w0(s)+c):(t.height=this.maxHeight,t.width=w0(s)+c),n.display&&this.ticks.length){const{first:d,last:h,widest:f,highest:u}=this._getLabelSizes(),g=n.padding*2,v=Je(this.labelRotation),m=Math.cos(v),w=Math.sin(v);if(a){const _=n.mirror?0:w*f.width+m*u.height;t.height=Math.min(this.maxHeight,t.height+_+g)}else{const _=n.mirror?0:m*f.width+w*u.height;t.width=Math.min(this.maxWidth,t.width+_+g)}this._calculatePadding(d,h,w,m)}}this._handleMargins(),a?(this.width=this._length=i.width-this._margins.left-this._margins.right,this.height=t.height):(this.width=t.width,this.height=this._length=i.height-this._margins.top-this._margins.bottom)}_calculatePadding(t,i,n,o){const{ticks:{align:s,padding:l},position:a}=this.options,c=this.labelRotation!==0,d=a!=="top"&&this.axis==="x";if(this.isHorizontal()){const h=this.getPixelForTick(0)-this.left,f=this.right-this.getPixelForTick(this.ticks.length-1);let u=0,g=0;c?d?(u=o*t.width,g=n*i.height):(u=n*t.height,g=o*i.width):s==="start"?g=i.width:s==="end"?u=t.width:s!=="inner"&&(u=t.width/2,g=i.width/2),this.paddingLeft=Math.max((u-h+l)*this.width/(this.width-h),0),this.paddingRight=Math.max((g-f+l)*this.width/(this.width-f),0)}else{let h=i.height/2,f=t.height/2;s==="start"?(h=0,f=t.height):s==="end"&&(h=i.height,f=0),this.paddingTop=h+l,this.paddingBottom=f+l}}_handleMargins(){this._margins&&(this._margins.left=Math.max(this.paddingLeft,this._margins.left),this._margins.top=Math.max(this.paddingTop,this._margins.top),this._margins.right=Math.max(this.paddingRight,this._margins.right),this._margins.bottom=Math.max(this.paddingBottom,this._margins.bottom))}afterFit(){le(this.options.afterFit,[this])}isHorizontal(){const{axis:t,position:i}=this.options;return i==="top"||i==="bottom"||t==="x"}isFullSize(){return this.options.fullSize}_convertTicksToLabels(t){this.beforeTickToLabelConversion(),this.generateTickLabels(t);let i,n;for(i=0,n=t.length;i<n;i++)oe(t[i].label)&&(t.splice(i,1),n--,i--);this.afterTickToLabelConversion()}_getLabelSizes(){let t=this._labelSizes;if(!t){const i=this.options.ticks.sampleSize;let n=this.ticks;i<n.length&&(n=ol(n,i)),this._labelSizes=t=this._computeLabelSizes(n,n.length,this.options.ticks.maxTicksLimit)}return t}_computeLabelSizes(t,i,n){const{ctx:o,_longestTextCache:s}=this,l=[],a=[],c=Math.floor(i/rl(i,n));let d=0,h=0,f,u,g,v,m,w,_,Z,b,I,A;for(f=0;f<i;f+=c){if(v=t[f].label,m=this._resolveTickFontOptions(f),o.font=w=m.string,_=s[w]=s[w]||{data:{},gc:[]},Z=m.lineHeight,b=I=0,!oe(v)&&!ae(v))b=c1(o,_.data,_.gc,b,v),I=Z;else if(ae(v))for(u=0,g=v.length;u<g;++u)A=v[u],!oe(A)&&!ae(A)&&(b=c1(o,_.data,_.gc,b,A),I+=Z);l.push(b),a.push(I),d=Math.max(b,d),h=Math.max(I,h)}iR(s,i);const T=l.indexOf(d),k=a.indexOf(h),L=O=>({width:l[O]||0,height:a[O]||0});return{first:L(0),last:L(i-1),widest:L(T),highest:L(k),widths:l,heights:a}}getLabelForValue(t){return t}getPixelForValue(t,i){return NaN}getValueForPixel(t){}getPixelForTick(t){const i=this.ticks;return t<0||t>i.length-1?null:this.getPixelForValue(i[t].value)}getPixelForDecimal(t){this._reversePixels&&(t=1-t);const i=this._startPixel+t*this._length;return fC(this._alignToPixels?Rt(this.chart,i,0):i)}getDecimalForPixel(t){const i=(t-this._startPixel)/this._length;return this._reversePixels?1-i:i}getBasePixel(){return this.getPixelForValue(this.getBaseValue())}getBaseValue(){const{min:t,max:i}=this;return t<0&&i<0?i:t>0&&i>0?t:0}getContext(t){const i=this.ticks||[];if(t>=0&&t<i.length){const n=i[t];return n.$context||(n.$context=rR(this.getContext(),t,n))}return this.$context||(this.$context=nR(this.chart.getContext(),this))}_tickSize(){const t=this.options.ticks,i=Je(this.labelRotation),n=Math.abs(Math.cos(i)),o=Math.abs(Math.sin(i)),s=this._getLabelSizes(),l=t.autoSkipPadding||0,a=s?s.widest.width+l:0,c=s?s.highest.height+l:0;return this.isHorizontal()?c*n>a*o?a/n:c/o:c*o<a*n?c/n:a/o}_isVisible(){const t=this.options.display;return t!=="auto"?!!t:this.getMatchingVisibleMetas().length>0}_computeGridLineItems(t){const i=this.axis,n=this.chart,o=this.options,{grid:s,position:l,border:a}=o,c=s.offset,d=this.isHorizontal(),f=this.ticks.length+(c?1:0),u=w0(s),g=[],v=a.setContext(this.getContext()),m=v.display?v.width:0,w=m/2,_=function(F){return Rt(n,F,m)};let Z,b,I,A,T,k,L,O,U,N,H,P;if(l==="top")Z=_(this.bottom),k=this.bottom-u,O=Z-w,N=_(t.top)+w,P=t.bottom;else if(l==="bottom")Z=_(this.top),N=t.top,P=_(t.bottom)-w,k=Z+w,O=this.top+u;else if(l==="left")Z=_(this.right),T=this.right-u,L=Z-w,U=_(t.left)+w,H=t.right;else if(l==="right")Z=_(this.left),U=t.left,H=_(t.right)-w,T=Z+w,L=this.left+u;else if(i==="x"){if(l==="center")Z=_((t.top+t.bottom)/2+.5);else if(Y(l)){const F=Object.keys(l)[0],D=l[F];Z=_(this.chart.scales[F].getPixelForValue(D))}N=t.top,P=t.bottom,k=Z+w,O=k+u}else if(i==="y"){if(l==="center")Z=_((t.left+t.right)/2);else if(Y(l)){const F=Object.keys(l)[0],D=l[F];Z=_(this.chart.scales[F].getPixelForValue(D))}T=Z-w,L=T-u,U=t.left,H=t.right}const E=se(o.ticks.maxTicksLimit,f),S=Math.max(1,Math.ceil(f/E));for(b=0;b<f;b+=S){const F=this.getContext(b),D=s.setContext(F),$=a.setContext(F),C=D.lineWidth,X=D.color,z=$.dash||[],K=$.dashOffset,ge=D.tickWidth,j=D.tickColor,ie=D.tickBorderDash||[],J=D.tickBorderDashOffset;I=tR(this,b,c),I!==void 0&&(A=Rt(n,I,C),d?T=L=U=H=A:k=O=N=P=A,g.push({tx1:T,ty1:k,tx2:L,ty2:O,x1:U,y1:N,x2:H,y2:P,width:C,color:X,borderDash:z,borderDashOffset:K,tickWidth:ge,tickColor:j,tickBorderDash:ie,tickBorderDashOffset:J}))}return this._ticksLength=f,this._borderValue=Z,g}_computeLabelItems(t){const i=this.axis,n=this.options,{position:o,ticks:s}=n,l=this.isHorizontal(),a=this.ticks,{align:c,crossAlign:d,padding:h,mirror:f}=s,u=w0(n.grid),g=u+h,v=f?-h:g,m=-Je(this.labelRotation),w=[];let _,Z,b,I,A,T,k,L,O,U,N,H,P="middle";if(o==="top")T=this.bottom-v,k=this._getXAxisLabelAlignment();else if(o==="bottom")T=this.top+v,k=this._getXAxisLabelAlignment();else if(o==="left"){const S=this._getYAxisLabelAlignment(u);k=S.textAlign,A=S.x}else if(o==="right"){const S=this._getYAxisLabelAlignment(u);k=S.textAlign,A=S.x}else if(i==="x"){if(o==="center")T=(t.top+t.bottom)/2+g;else if(Y(o)){const S=Object.keys(o)[0],F=o[S];T=this.chart.scales[S].getPixelForValue(F)+g}k=this._getXAxisLabelAlignment()}else if(i==="y"){if(o==="center")A=(t.left+t.right)/2-g;else if(Y(o)){const S=Object.keys(o)[0],F=o[S];A=this.chart.scales[S].getPixelForValue(F)}k=this._getYAxisLabelAlignment(u).textAlign}i==="y"&&(c==="start"?P="top":c==="end"&&(P="bottom"));const E=this._getLabelSizes();for(_=0,Z=a.length;_<Z;++_){b=a[_],I=b.label;const S=s.setContext(this.getContext(_));L=this.getPixelForTick(_)+s.labelOffset,O=this._resolveTickFontOptions(_),U=O.lineHeight,N=ae(I)?I.length:1;const F=N/2,D=S.color,$=S.textStrokeColor,C=S.textStrokeWidth;let X=k;l?(A=L,k==="inner"&&(_===Z-1?X=this.options.reverse?"left":"right":_===0?X=this.options.reverse?"right":"left":X="center"),o==="top"?d==="near"||m!==0?H=-N*U+U/2:d==="center"?H=-E.highest.height/2-F*U+U:H=-E.highest.height+U/2:d==="near"||m!==0?H=U/2:d==="center"?H=E.highest.height/2-F*U:H=E.highest.height-N*U,f&&(H*=-1),m!==0&&!S.showLabelBackdrop&&(A+=U/2*Math.sin(m))):(T=L,H=(1-N)*U/2);let z;if(S.showLabelBackdrop){const K=We(S.backdropPadding),ge=E.heights[_],j=E.widths[_];let ie=H-K.top,J=0-K.left;switch(P){case"middle":ie-=ge/2;break;case"bottom":ie-=ge;break}switch(k){case"center":J-=j/2;break;case"right":J-=j;break;case"inner":_===Z-1?J-=j:_>0&&(J-=j/2);break}z={left:J,top:ie,width:j+K.width,height:ge+K.height,color:S.backdropColor}}w.push({label:I,font:O,textOffset:H,options:{rotation:m,color:D,strokeColor:$,strokeWidth:C,textAlign:X,textBaseline:P,translation:[A,T],backdrop:z}})}return w}_getXAxisLabelAlignment(){const{position:t,ticks:i}=this.options;if(-Je(this.labelRotation))return t==="top"?"left":"right";let o="center";return i.align==="start"?o="left":i.align==="end"?o="right":i.align==="inner"&&(o="inner"),o}_getYAxisLabelAlignment(t){const{position:i,ticks:{crossAlign:n,mirror:o,padding:s}}=this.options,l=this._getLabelSizes(),a=t+s,c=l.widest.width;let d,h;return i==="left"?o?(h=this.right+s,n==="near"?d="left":n==="center"?(d="center",h+=c/2):(d="right",h+=c)):(h=this.right-a,n==="near"?d="right":n==="center"?(d="center",h-=c/2):(d="left",h=this.left)):i==="right"?o?(h=this.left+s,n==="near"?d="right":n==="center"?(d="center",h-=c/2):(d="left",h-=c)):(h=this.left+a,n==="near"?d="left":n==="center"?(d="center",h+=c/2):(d="right",h=this.right)):d="right",{textAlign:d,x:h}}_computeLabelArea(){if(this.options.ticks.mirror)return;const t=this.chart,i=this.options.position;if(i==="left"||i==="right")return{top:0,left:this.left,bottom:t.height,right:this.right};if(i==="top"||i==="bottom")return{top:this.top,left:0,bottom:this.bottom,right:t.width}}drawBackground(){const{ctx:t,options:{backgroundColor:i},left:n,top:o,width:s,height:l}=this;i&&(t.save(),t.fillStyle=i,t.fillRect(n,o,s,l),t.restore())}getLineWidthForValue(t){const i=this.options.grid;if(!this._isVisible()||!i.display)return 0;const o=this.ticks.findIndex(s=>s.value===t);return o>=0?i.setContext(this.getContext(o)).lineWidth:0}drawGrid(t){const i=this.options.grid,n=this.ctx,o=this._gridLineItems||(this._gridLineItems=this._computeGridLineItems(t));let s,l;const a=(c,d,h)=>{!h.width||!h.color||(n.save(),n.lineWidth=h.width,n.strokeStyle=h.color,n.setLineDash(h.borderDash||[]),n.lineDashOffset=h.borderDashOffset,n.beginPath(),n.moveTo(c.x,c.y),n.lineTo(d.x,d.y),n.stroke(),n.restore())};if(i.display)for(s=0,l=o.length;s<l;++s){const c=o[s];i.drawOnChartArea&&a({x:c.x1,y:c.y1},{x:c.x2,y:c.y2},c),i.drawTicks&&a({x:c.tx1,y:c.ty1},{x:c.tx2,y:c.ty2},{color:c.tickColor,width:c.tickWidth,borderDash:c.tickBorderDash,borderDashOffset:c.tickBorderDashOffset})}}drawBorder(){const{chart:t,ctx:i,options:{border:n,grid:o}}=this,s=n.setContext(this.getContext()),l=n.display?s.width:0;if(!l)return;const a=o.setContext(this.getContext(0)).lineWidth,c=this._borderValue;let d,h,f,u;this.isHorizontal()?(d=Rt(t,this.left,l)-l/2,h=Rt(t,this.right,a)+a/2,f=u=c):(f=Rt(t,this.top,l)-l/2,u=Rt(t,this.bottom,a)+a/2,d=h=c),i.save(),i.lineWidth=s.width,i.strokeStyle=s.color,i.beginPath(),i.moveTo(d,f),i.lineTo(h,u),i.stroke(),i.restore()}drawLabels(t){if(!this.options.ticks.display)return;const n=this.ctx,o=this._computeLabelArea();o&&v5(n,o);const s=this.getLabelItems(t);for(const l of s){const a=l.options,c=l.font,d=l.label,h=l.textOffset;d1(n,d,0,h,c,a)}o&&m5(n)}drawTitle(){const{ctx:t,options:{position:i,title:n,reverse:o}}=this;if(!n.display)return;const s=Ee(n.font),l=We(n.padding),a=n.align;let c=s.lineHeight/2;i==="bottom"||i==="center"||Y(i)?(c+=l.bottom,ae(n.text)&&(c+=s.lineHeight*(n.text.length-1))):c+=l.top;const{titleX:d,titleY:h,maxWidth:f,rotation:u}=sR(this,c,i,a);d1(t,n.text,0,0,s,{color:n.color,maxWidth:f,rotation:u,textAlign:oR(a,i,o),textBaseline:"middle",translation:[d,h]})}draw(t){!this._isVisible()||(this.drawBackground(),this.drawGrid(t),this.drawBorder(),this.drawTitle(),this.drawLabels(t))}_layers(){const t=this.options,i=t.ticks&&t.ticks.z||0,n=se(t.grid&&t.grid.z,-1),o=se(t.border&&t.border.z,0);return!this._isVisible()||this.draw!==c0.prototype.draw?[{z:i,draw:s=>{this.draw(s)}}]:[{z:n,draw:s=>{this.drawBackground(),this.drawGrid(s),this.drawTitle()}},{z:o,draw:()=>{this.drawBorder()}},{z:i,draw:s=>{this.drawLabels(s)}}]}getMatchingVisibleMetas(t){const i=this.chart.getSortedVisibleDatasetMetas(),n=this.axis+"AxisID",o=[];let s,l;for(s=0,l=i.length;s<l;++s){const a=i[s];a[n]===this.id&&(!t||a.type===t)&&o.push(a)}return o}_resolveTickFontOptions(t){const i=this.options.ticks.setContext(this.getContext(t));return Ee(i.font)}_maxDigits(){const t=this._resolveTickFontOptions(0).lineHeight;return(this.isHorizontal()?this.width:this.height)/t}}class Zi{constructor(t,i,n){this.type=t,this.scope=i,this.override=n,this.items=Object.create(null)}isForType(t){return Object.prototype.isPrototypeOf.call(this.type.prototype,t.prototype)}register(t){const i=Object.getPrototypeOf(t);let n;cR(i)&&(n=this.register(i));const o=this.items,s=t.id,l=this.scope+"."+s;if(!s)throw new Error("class does not have id: "+t);return s in o||(o[s]=t,lR(t,l,n),this.override&&he.override(t.id,t.overrides)),l}get(t){return this.items[t]}unregister(t){const i=this.items,n=t.id,o=this.scope;n in i&&delete i[n],o&&n in he[o]&&(delete he[o][n],this.override&&delete Ht[n])}}function lR(e,t,i){const n=K0(Object.create(null),[i?he.get(i):{},he.get(t),e.defaults]);he.set(t,n),e.defaultRoutes&&aR(t,e.defaultRoutes),e.descriptors&&he.describe(t,e.descriptors)}function aR(e,t){Object.keys(t).forEach(i=>{const n=i.split("."),o=n.pop(),s=[e].concat(n).join("."),l=t[i].split("."),a=l.pop(),c=l.join(".");he.route(s,o,c,a)})}function cR(e){return"id"in e&&"defaults"in e}class dR{constructor(){this.controllers=new Zi(P0,"datasets",!0),this.elements=new Zi(s0,"elements"),this.plugins=new Zi(Object,"plugins"),this.scales=new Zi(c0,"scales"),this._typedRegistries=[this.controllers,this.scales,this.elements]}add(...t){this._each("register",t)}remove(...t){this._each("unregister",t)}addControllers(...t){this._each("register",t,this.controllers)}addElements(...t){this._each("register",t,this.elements)}addPlugins(...t){this._each("register",t,this.plugins)}addScales(...t){this._each("register",t,this.scales)}getController(t){return this._get(t,this.controllers,"controller")}getElement(t){return this._get(t,this.elements,"element")}getPlugin(t){return this._get(t,this.plugins,"plugin")}getScale(t){return this._get(t,this.scales,"scale")}removeControllers(...t){this._each("unregister",t,this.controllers)}removeElements(...t){this._each("unregister",t,this.elements)}removePlugins(...t){this._each("unregister",t,this.plugins)}removeScales(...t){this._each("unregister",t,this.scales)}_each(t,i,n){[...i].forEach(o=>{const s=n||this._getRegistryForType(o);n||s.isForType(o)||s===this.plugins&&o.id?this._exec(t,s,o):ee(o,l=>{const a=n||this._getRegistryForType(l);this._exec(t,a,l)})})}_exec(t,i,n){const o=Hr(t);le(n["before"+o],[],n),i[t](n),le(n["after"+o],[],n)}_getRegistryForType(t){for(let i=0;i<this._typedRegistries.length;i++){const n=this._typedRegistries[i];if(n.isForType(t))return n}return this.plugins}_get(t,i,n){const o=i.get(t);if(o===void 0)throw new Error('"'+t+'" is not a registered '+n+".");return o}}var Xe=new dR;class hR{constructor(){this._init=[]}notify(t,i,n,o){i==="beforeInit"&&(this._init=this._createDescriptors(t,!0),this._notify(this._init,t,"install"));const s=o?this._descriptors(t).filter(o):this._descriptors(t),l=this._notify(s,t,i,n);return i==="afterDestroy"&&(this._notify(s,t,"stop"),this._notify(this._init,t,"uninstall")),l}_notify(t,i,n,o){o=o||{};for(const s of t){const l=s.plugin,a=l[n],c=[i,o,s.options];if(le(a,c,l)===!1&&o.cancelable)return!1}return!0}invalidate(){oe(this._cache)||(this._oldCache=this._cache,this._cache=void 0)}_descriptors(t){if(this._cache)return this._cache;const i=this._cache=this._createDescriptors(t);return this._notifyStateChanges(t),i}_createDescriptors(t,i){const n=t&&t.config,o=se(n.options&&n.options.plugins,{}),s=fR(n);return o===!1&&!i?[]:pR(t,s,o,i)}_notifyStateChanges(t){const i=this._oldCache||[],n=this._cache,o=(s,l)=>s.filter(a=>!l.some(c=>a.plugin.id===c.plugin.id));this._notify(o(i,n),t,"stop"),this._notify(o(n,i),t,"start")}}function fR(e){const t={},i=[],n=Object.keys(Xe.plugins.items);for(let s=0;s<n.length;s++)i.push(Xe.getPlugin(n[s]));const o=e.plugins||[];for(let s=0;s<o.length;s++){const l=o[s];i.indexOf(l)===-1&&(i.push(l),t[l.id]=!0)}return{plugins:i,localIds:t}}function uR(e,t){return!t&&e===!1?null:e===!0?{}:e}function pR(e,{plugins:t,localIds:i},n,o){const s=[],l=e.getContext();for(const a of t){const c=a.id,d=uR(n[c],o);d!==null&&s.push({plugin:a,options:gR(e.config,{plugin:a,local:i[c]},d,l)})}return s}function gR(e,{plugin:t,local:i},n,o){const s=e.pluginScopeKeys(t),l=e.getOptionScopes(n,s);return i&&t.defaults&&l.push(t.defaults),e.createResolver(l,o,[""],{scriptable:!1,indexable:!1,allKeys:!0})}function Yn(e,t){const i=he.datasets[e]||{};return((t.datasets||{})[e]||{}).indexAxis||t.indexAxis||i.indexAxis||"x"}function vR(e,t){let i=e;return e==="_index_"?i=t:e==="_value_"&&(i=t==="x"?"y":"x"),i}function mR(e,t){return e===t?"_index_":"_value_"}function ll(e){if(e==="x"||e==="y"||e==="r")return e}function xR(e){if(e==="top"||e==="bottom")return"x";if(e==="left"||e==="right")return"y"}function Kn(e,...t){if(ll(e))return e;for(const i of t){const n=i.axis||xR(i.position)||e.length>1&&ll(e[0].toLowerCase());if(n)return n}throw new Error(`Cannot determine type of '${e}' axis. Please provide 'axis' or 'position' option.`)}function al(e,t,i){if(i[t+"AxisID"]===e)return{axis:t}}function wR(e,t){if(t.data&&t.data.datasets){const i=t.data.datasets.filter(n=>n.xAxisID===e||n.yAxisID===e);if(i.length)return al(e,"x",i[0])||al(e,"y",i[0])}return{}}function yR(e,t){const i=Ht[e.type]||{scales:{}},n=t.scales||{},o=Yn(e.type,t),s=Object.create(null);return Object.keys(n).forEach(l=>{const a=n[l];if(!Y(a))return console.error(`Invalid scale configuration for scale: ${l}`);if(a._proxy)return console.warn(`Ignoring resolver passed as options for scale: ${l}`);const c=Kn(l,a,wR(l,e),he.scales[a.type]),d=mR(c,o),h=i.scales||{};s[l]=L0(Object.create(null),[{axis:c},a,h[c],h[d]])}),e.data.datasets.forEach(l=>{const a=l.type||e.type,c=l.indexAxis||Yn(a,t),h=(Ht[a]||{}).scales||{};Object.keys(h).forEach(f=>{const u=vR(f,c),g=l[u+"AxisID"]||u;s[g]=s[g]||Object.create(null),L0(s[g],[{axis:u},n[g],h[f]])})}),Object.keys(s).forEach(l=>{const a=s[l];L0(a,[he.scales[a.type],he.scale])}),s}function R5(e){const t=e.options||(e.options={});t.plugins=se(t.plugins,{}),t.scales=yR(e,t)}function k5(e){return e=e||{},e.datasets=e.datasets||[],e.labels=e.labels||[],e}function _R(e){return e=e||{},e.data=k5(e.data),R5(e),e}const cl=new Map,F5=new Set;function Si(e,t){let i=cl.get(e);return i||(i=t(),cl.set(e,i),F5.add(i)),i}const y0=(e,t,i)=>{const n=q0(t,i);n!==void 0&&e.add(n)};class bR{constructor(t){this._config=_R(t),this._scopeCache=new Map,this._resolverCache=new Map}get platform(){return this._config.platform}get type(){return this._config.type}set type(t){this._config.type=t}get data(){return this._config.data}set data(t){this._config.data=k5(t)}get options(){return this._config.options}set options(t){this._config.options=t}get plugins(){return this._config.plugins}update(){const t=this._config;this.clearCache(),R5(t)}clearCache(){this._scopeCache.clear(),this._resolverCache.clear()}datasetScopeKeys(t){return Si(t,()=>[[`datasets.${t}`,""]])}datasetAnimationScopeKeys(t,i){return Si(`${t}.transition.${i}`,()=>[[`datasets.${t}.transitions.${i}`,`transitions.${i}`],[`datasets.${t}`,""]])}datasetElementScopeKeys(t,i){return Si(`${t}-${i}`,()=>[[`datasets.${t}.elements.${i}`,`datasets.${t}`,`elements.${i}`,""]])}pluginScopeKeys(t){const i=t.id,n=this.type;return Si(`${n}-plugin-${i}`,()=>[[`plugins.${i}`,...t.additionalOptionScopes||[]]])}_cachedScopes(t,i){const n=this._scopeCache;let o=n.get(t);return(!o||i)&&(o=new Map,n.set(t,o)),o}getOptionScopes(t,i,n){const{options:o,type:s}=this,l=this._cachedScopes(t,n),a=l.get(i);if(a)return a;const c=new Set;i.forEach(h=>{t&&(c.add(t),h.forEach(f=>y0(c,t,f))),h.forEach(f=>y0(c,o,f)),h.forEach(f=>y0(c,Ht[s]||{},f)),h.forEach(f=>y0(c,he,f)),h.forEach(f=>y0(c,Nn,f))});const d=Array.from(c);return d.length===0&&d.push(Object.create(null)),F5.has(i)&&l.set(i,d),d}chartOptionScopes(){const{options:t,type:i}=this;return[t,Ht[i]||{},he.datasets[i]||{},{type:i},he,Nn]}resolveNamedOptions(t,i,n,o=[""]){const s={$shared:!0},{resolver:l,subPrefixes:a}=dl(this._resolverCache,t,o);let c=l;if(ZR(l,i)){s.$shared=!1,n=Zt(n)?n():n;const d=this.createResolver(t,n,a);c=o0(l,n,d)}for(const d of i)s[d]=c[d];return s}createResolver(t,i,n=[""],o){const{resolver:s}=dl(this._resolverCache,t,n);return Y(i)?o0(s,i,void 0,o):s}}function dl(e,t,i){let n=e.get(t);n||(n=new Map,e.set(t,n));const o=i.join();let s=n.get(o);return s||(s={resolver:Wr(t,i),subPrefixes:i.filter(a=>!a.toLowerCase().includes("hover"))},n.set(o,s)),s}const MR=e=>Y(e)&&Object.getOwnPropertyNames(e).some(t=>Zt(e[t]));function ZR(e,t){const{isScriptable:i,isIndexable:n}=x5(e);for(const o of t){const s=i(o),l=n(o),a=(l||s)&&e[o];if(s&&(Zt(a)||MR(a))||l&&ae(a))return!0}return!1}var SR="4.4.2";const IR=["top","bottom","left","right","chartArea"];function hl(e,t){return e==="top"||e==="bottom"||IR.indexOf(e)===-1&&t==="x"}function fl(e,t){return function(i,n){return i[e]===n[e]?i[t]-n[t]:i[e]-n[e]}}function ul(e){const t=e.chart,i=t.options.animation;t.notifyPlugins("afterRender"),le(i&&i.onComplete,[e],t)}function CR(e){const t=e.chart,i=t.options.animation;le(i&&i.onProgress,[e],t)}function B5(e){return Nr()&&typeof e=="string"?e=document.getElementById(e):e&&e.length&&(e=e[0]),e&&e.canvas&&(e=e.canvas),e}const Vi={},pl=e=>{const t=B5(e);return Object.values(Vi).filter(i=>i.canvas===t).pop()};function AR(e,t,i){const n=Object.keys(e);for(const o of n){const s=+o;if(s>=t){const l=e[o];delete e[o],(i>0||s>t)&&(e[s+i]=l)}}}function RR(e,t,i,n){return!i||e.type==="mouseout"?null:n?t:e}function Ii(e,t,i){return e.options.clip?e[i]:t[i]}function kR(e,t){const{xScale:i,yScale:n}=e;return i&&n?{left:Ii(i,t,"left"),right:Ii(i,t,"right"),top:Ii(n,t,"top"),bottom:Ii(n,t,"bottom")}:t}class Qe{static register(...t){Xe.add(...t),gl()}static unregister(...t){Xe.remove(...t),gl()}constructor(t,i){const n=this.config=new bR(i),o=B5(t),s=pl(o);if(s)throw new Error("Canvas is already in use. Chart with ID '"+s.id+"' must be destroyed before the canvas with ID '"+s.canvas.id+"' can be reused.");const l=n.createResolver(n.chartOptionScopes(),this.getContext());this.platform=new(n.platform||NA(o)),this.platform.updateConfig(n);const a=this.platform.acquireContext(o,l.aspectRatio),c=a&&a.canvas,d=c&&c.height,h=c&&c.width;if(this.id=tC(),this.ctx=a,this.canvas=c,this.width=h,this.height=d,this._options=l,this._aspectRatio=this.aspectRatio,this._layers=[],this._metasets=[],this._stacks=void 0,this.boxes=[],this.currentDevicePixelRatio=void 0,this.chartArea=void 0,this._active=[],this._lastEvent=void 0,this._listeners={},this._responsiveListeners=void 0,this._sortedMetasets=[],this.scales={},this._plugins=new hR,this.$proxies={},this._hiddenIndices={},this.attached=!1,this._animationsDisabled=void 0,this.$context=void 0,this._doResize=xC(f=>this.update(f),l.resizeDelay||0),this._dataChanges=[],Vi[this.id]=this,!a||!c){console.error("Failed to create chart: can't acquire context from the given item");return}ot.listen(this,"complete",ul),ot.listen(this,"progress",CR),this._initialize(),this.attached&&this.update()}get aspectRatio(){const{options:{aspectRatio:t,maintainAspectRatio:i},width:n,height:o,_aspectRatio:s}=this;return oe(t)?i&&s?s:o?n/o:null:t}get data(){return this.config.data}set data(t){this.config.data=t}get options(){return this._options}set options(t){this.config.options=t}get registry(){return Xe}_initialize(){return this.notifyPlugins("beforeInit"),this.options.responsive?this.resize():Us(this,this.options.devicePixelRatio),this.bindEvents(),this.notifyPlugins("afterInit"),this}clear(){return Ps(this.canvas,this.ctx),this}stop(){return ot.stop(this),this}resize(t,i){ot.running(this)?this._resizeBeforeDraw={width:t,height:i}:this._resize(t,i)}_resize(t,i){const n=this.options,o=this.canvas,s=n.maintainAspectRatio&&this.aspectRatio,l=this.platform.getMaximumSize(o,t,i,s),a=n.devicePixelRatio||this.platform.getDevicePixelRatio(),c=this.width?"resize":"attach";this.width=l.width,this.height=l.height,this._aspectRatio=this.aspectRatio,Us(this,a,!0)&&(this.notifyPlugins("resize",{size:l}),le(n.onResize,[this,l],this),this.attached&&this._doResize(c)&&this.render())}ensureScalesHaveIDs(){const i=this.options.scales||{};ee(i,(n,o)=>{n.id=o})}buildOrUpdateScales(){const t=this.options,i=t.scales,n=this.scales,o=Object.keys(n).reduce((l,a)=>(l[a]=!1,l),{});let s=[];i&&(s=s.concat(Object.keys(i).map(l=>{const a=i[l],c=Kn(l,a),d=c==="r",h=c==="x";return{options:a,dposition:d?"chartArea":h?"bottom":"left",dtype:d?"radialLinear":h?"category":"linear"}}))),ee(s,l=>{const a=l.options,c=a.id,d=Kn(c,a),h=se(a.type,l.dtype);(a.position===void 0||hl(a.position,d)!==hl(l.dposition))&&(a.position=l.dposition),o[c]=!0;let f=null;if(c in n&&n[c].type===h)f=n[c];else{const u=Xe.getScale(h);f=new u({id:c,type:h,ctx:this.ctx,chart:this}),n[f.id]=f}f.init(a,t)}),ee(o,(l,a)=>{l||delete n[a]}),ee(n,l=>{bi.configure(this,l,l.options),bi.addBox(this,l)})}_updateMetasets(){const t=this._metasets,i=this.data.datasets.length,n=t.length;if(t.sort((o,s)=>o.index-s.index),n>i){for(let o=i;o<n;++o)this._destroyDatasetMeta(o);t.splice(i,n-i)}this._sortedMetasets=t.slice(0).sort(fl("order","index"))}_removeUnreferencedMetasets(){const{_metasets:t,data:{datasets:i}}=this;t.length>i.length&&delete this._stacks,t.forEach((n,o)=>{i.filter(s=>s===n._dataset).length===0&&this._destroyDatasetMeta(o)})}buildOrUpdateControllers(){const t=[],i=this.data.datasets;let n,o;for(this._removeUnreferencedMetasets(),n=0,o=i.length;n<o;n++){const s=i[n];let l=this.getDatasetMeta(n);const a=s.type||this.config.type;if(l.type&&l.type!==a&&(this._destroyDatasetMeta(n),l=this.getDatasetMeta(n)),l.type=a,l.indexAxis=s.indexAxis||Yn(a,this.options),l.order=s.order||0,l.index=n,l.label=""+s.label,l.visible=this.isDatasetVisible(n),l.controller)l.controller.updateIndex(n),l.controller.linkScales();else{const c=Xe.getController(a),{datasetElementType:d,dataElementType:h}=he.datasets[a];Object.assign(c,{dataElementType:Xe.getElement(h),datasetElementType:d&&Xe.getElement(d)}),l.controller=new c(this,n),t.push(l.controller)}}return this._updateMetasets(),t}_resetElements(){ee(this.data.datasets,(t,i)=>{this.getDatasetMeta(i).controller.reset()},this)}reset(){this._resetElements(),this.notifyPlugins("reset")}update(t){const i=this.config;i.update();const n=this._options=i.createResolver(i.chartOptionScopes(),this.getContext()),o=this._animationsDisabled=!n.animation;if(this._updateScales(),this._checkEventBindings(),this._updateHiddenIndices(),this._plugins.invalidate(),this.notifyPlugins("beforeUpdate",{mode:t,cancelable:!0})===!1)return;const s=this.buildOrUpdateControllers();this.notifyPlugins("beforeElementsUpdate");let l=0;for(let d=0,h=this.data.datasets.length;d<h;d++){const{controller:f}=this.getDatasetMeta(d),u=!o&&s.indexOf(f)===-1;f.buildOrUpdateElements(u),l=Math.max(+f.getMaxOverflow(),l)}l=this._minPadding=n.layout.autoPadding?l:0,this._updateLayout(l),o||ee(s,d=>{d.reset()}),this._updateDatasets(t),this.notifyPlugins("afterUpdate",{mode:t}),this._layers.sort(fl("z","_idx"));const{_active:a,_lastEvent:c}=this;c?this._eventHandler(c,!0):a.length&&this._updateHoverStyles(a,a,!0),this.render()}_updateScales(){ee(this.scales,t=>{bi.removeBox(this,t)}),this.ensureScalesHaveIDs(),this.buildOrUpdateScales()}_checkEventBindings(){const t=this.options,i=new Set(Object.keys(this._listeners)),n=new Set(t.events);(!As(i,n)||!!this._responsiveListeners!==t.responsive)&&(this.unbindEvents(),this.bindEvents())}_updateHiddenIndices(){const{_hiddenIndices:t}=this,i=this._getUniformDataChanges()||[];for(const{method:n,start:o,count:s}of i){const l=n==="_removeElements"?-s:s;AR(t,o,l)}}_getUniformDataChanges(){const t=this._dataChanges;if(!t||!t.length)return;this._dataChanges=[];const i=this.data.datasets.length,n=s=>new Set(t.filter(l=>l[0]===s).map((l,a)=>a+","+l.splice(1).join(","))),o=n(0);for(let s=1;s<i;s++)if(!As(o,n(s)))return;return Array.from(o).map(s=>s.split(",")).map(s=>({method:s[1],start:+s[2],count:+s[3]}))}_updateLayout(t){if(this.notifyPlugins("beforeLayout",{cancelable:!0})===!1)return;bi.update(this,this.width,this.height,t);const i=this.chartArea,n=i.width<=0||i.height<=0;this._layers=[],ee(this.boxes,o=>{n&&o.position==="chartArea"||(o.configure&&o.configure(),this._layers.push(...o._layers()))},this),this._layers.forEach((o,s)=>{o._idx=s}),this.notifyPlugins("afterLayout")}_updateDatasets(t){if(this.notifyPlugins("beforeDatasetsUpdate",{mode:t,cancelable:!0})!==!1){for(let i=0,n=this.data.datasets.length;i<n;++i)this.getDatasetMeta(i).controller.configure();for(let i=0,n=this.data.datasets.length;i<n;++i)this._updateDataset(i,Zt(t)?t({datasetIndex:i}):t);this.notifyPlugins("afterDatasetsUpdate",{mode:t})}}_updateDataset(t,i){const n=this.getDatasetMeta(t),o={meta:n,index:t,mode:i,cancelable:!0};this.notifyPlugins("beforeDatasetUpdate",o)!==!1&&(n.controller._update(i),o.cancelable=!1,this.notifyPlugins("afterDatasetUpdate",o))}render(){this.notifyPlugins("beforeRender",{cancelable:!0})!==!1&&(ot.has(this)?this.attached&&!ot.running(this)&&ot.start(this):(this.draw(),ul({chart:this})))}draw(){let t;if(this._resizeBeforeDraw){const{width:n,height:o}=this._resizeBeforeDraw;this._resize(n,o),this._resizeBeforeDraw=null}if(this.clear(),this.width<=0||this.height<=0||this.notifyPlugins("beforeDraw",{cancelable:!0})===!1)return;const i=this._layers;for(t=0;t<i.length&&i[t].z<=0;++t)i[t].draw(this.chartArea);for(this._drawDatasets();t<i.length;++t)i[t].draw(this.chartArea);this.notifyPlugins("afterDraw")}_getSortedDatasetMetas(t){const i=this._sortedMetasets,n=[];let o,s;for(o=0,s=i.length;o<s;++o){const l=i[o];(!t||l.visible)&&n.push(l)}return n}getSortedVisibleDatasetMetas(){return this._getSortedDatasetMetas(!0)}_drawDatasets(){if(this.notifyPlugins("beforeDatasetsDraw",{cancelable:!0})===!1)return;const t=this.getSortedVisibleDatasetMetas();for(let i=t.length-1;i>=0;--i)this._drawDataset(t[i]);this.notifyPlugins("afterDatasetsDraw")}_drawDataset(t){const i=this.ctx,n=t._clip,o=!n.disabled,s=kR(t,this.chartArea),l={meta:t,index:t.index,cancelable:!0};this.notifyPlugins("beforeDatasetDraw",l)!==!1&&(o&&v5(i,{left:n.left===!1?0:s.left-n.left,right:n.right===!1?this.width:s.right+n.right,top:n.top===!1?0:s.top-n.top,bottom:n.bottom===!1?this.height:s.bottom+n.bottom}),t.controller.draw(),o&&m5(i),l.cancelable=!1,this.notifyPlugins("afterDatasetDraw",l))}isPointInArea(t){return Qt(t,this.chartArea,this._minPadding)}getElementsAtEventForMode(t,i,n,o){const s=IA.modes[i];return typeof s=="function"?s(this,t,n,o):[]}getDatasetMeta(t){const i=this.data.datasets[t],n=this._metasets;let o=n.filter(s=>s&&s._dataset===i).pop();return o||(o={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null,order:i&&i.order||0,index:t,_dataset:i,_parsed:[],_sorted:!1},n.push(o)),o}getContext(){return this.$context||(this.$context=Wt(null,{chart:this,type:"chart"}))}getVisibleDatasetCount(){return this.getSortedVisibleDatasetMetas().length}isDatasetVisible(t){const i=this.data.datasets[t];if(!i)return!1;const n=this.getDatasetMeta(t);return typeof n.hidden=="boolean"?!n.hidden:!i.hidden}setDatasetVisibility(t,i){const n=this.getDatasetMeta(t);n.hidden=!i}toggleDataVisibility(t){this._hiddenIndices[t]=!this._hiddenIndices[t]}getDataVisibility(t){return!this._hiddenIndices[t]}_updateVisibility(t,i,n){const o=n?"show":"hide",s=this.getDatasetMeta(t),l=s.controller._resolveAnimations(void 0,o);r1(i)?(s.data[i].hidden=!n,this.update()):(this.setDatasetVisibility(t,n),l.update(s,{visible:n}),this.update(a=>a.datasetIndex===t?o:void 0))}hide(t,i){this._updateVisibility(t,i,!1)}show(t,i){this._updateVisibility(t,i,!0)}_destroyDatasetMeta(t){const i=this._metasets[t];i&&i.controller&&i.controller._destroy(),delete this._metasets[t]}_stop(){let t,i;for(this.stop(),ot.remove(this),t=0,i=this.data.datasets.length;t<i;++t)this._destroyDatasetMeta(t)}destroy(){this.notifyPlugins("beforeDestroy");const{canvas:t,ctx:i}=this;this._stop(),this.config.clearCache(),t&&(this.unbindEvents(),Ps(t,i),this.platform.releaseContext(i),this.canvas=null,this.ctx=null),delete Vi[this.id],this.notifyPlugins("afterDestroy")}toBase64Image(...t){return this.canvas.toDataURL(...t)}bindEvents(){this.bindUserEvents(),this.options.responsive?this.bindResponsiveEvents():this.attached=!0}bindUserEvents(){const t=this._listeners,i=this.platform,n=(s,l)=>{i.addEventListener(this,s,l),t[s]=l},o=(s,l,a)=>{s.offsetX=l,s.offsetY=a,this._eventHandler(s)};ee(this.options.events,s=>n(s,o))}bindResponsiveEvents(){this._responsiveListeners||(this._responsiveListeners={});const t=this._responsiveListeners,i=this.platform,n=(c,d)=>{i.addEventListener(this,c,d),t[c]=d},o=(c,d)=>{t[c]&&(i.removeEventListener(this,c,d),delete t[c])},s=(c,d)=>{this.canvas&&this.resize(c,d)};let l;const a=()=>{o("attach",a),this.attached=!0,this.resize(),n("resize",s),n("detach",l)};l=()=>{this.attached=!1,o("resize",s),this._stop(),this._resize(0,0),n("attach",a)},i.isAttached(this.canvas)?a():l()}unbindEvents(){ee(this._listeners,(t,i)=>{this.platform.removeEventListener(this,i,t)}),this._listeners={},ee(this._responsiveListeners,(t,i)=>{this.platform.removeEventListener(this,i,t)}),this._responsiveListeners=void 0}updateHoverStyle(t,i,n){const o=n?"set":"remove";let s,l,a,c;for(i==="dataset"&&(s=this.getDatasetMeta(t[0].datasetIndex),s.controller["_"+o+"DatasetHoverStyle"]()),a=0,c=t.length;a<c;++a){l=t[a];const d=l&&this.getDatasetMeta(l.datasetIndex).controller;d&&d[o+"HoverStyle"](l.element,l.datasetIndex,l.index)}}getActiveElements(){return this._active||[]}setActiveElements(t){const i=this._active||[],n=t.map(({datasetIndex:s,index:l})=>{const a=this.getDatasetMeta(s);if(!a)throw new Error("No dataset found at index "+s);return{datasetIndex:s,element:a.data[l],index:l}});!i1(n,i)&&(this._active=n,this._lastEvent=null,this._updateHoverStyles(n,i))}notifyPlugins(t,i,n){return this._plugins.notify(this,t,i,n)}isPluginEnabled(t){return this._plugins._cache.filter(i=>i.plugin.id===t).length===1}_updateHoverStyles(t,i,n){const o=this.options.hover,s=(c,d)=>c.filter(h=>!d.some(f=>h.datasetIndex===f.datasetIndex&&h.index===f.index)),l=s(i,t),a=n?t:s(t,i);l.length&&this.updateHoverStyle(l,o.mode,!1),a.length&&o.mode&&this.updateHoverStyle(a,o.mode,!0)}_eventHandler(t,i){const n={event:t,replay:i,cancelable:!0,inChartArea:this.isPointInArea(t)},o=l=>(l.options.events||this.options.events).includes(t.native.type);if(this.notifyPlugins("beforeEvent",n,o)===!1)return;const s=this._handleEvent(t,i,n.inChartArea);return n.cancelable=!1,this.notifyPlugins("afterEvent",n,o),(s||n.changed)&&this.render(),this}_handleEvent(t,i,n){const{_active:o=[],options:s}=this,l=i,a=this._getActiveElements(t,o,n,l),c=lC(t),d=RR(t,this._lastEvent,n,c);n&&(this._lastEvent=null,le(s.onHover,[t,a,this],this),c&&le(s.onClick,[t,a,this],this));const h=!i1(a,o);return(h||i)&&(this._active=a,this._updateHoverStyles(a,o,i)),this._lastEvent=d,h}_getActiveElements(t,i,n,o){if(t.type==="mouseout")return[];if(!n)return i;const s=this.options.hover;return this.getElementsAtEventForMode(t,s.mode,s,o)}}G(Qe,"defaults",he),G(Qe,"instances",Vi),G(Qe,"overrides",Ht),G(Qe,"registry",Xe),G(Qe,"version",SR),G(Qe,"getChart",pl);function gl(){return ee(Qe.instances,e=>e._plugins.invalidate())}function FR(e,t,i){const{startAngle:n,pixelMargin:o,x:s,y:l,outerRadius:a,innerRadius:c}=t;let d=o/a;e.beginPath(),e.arc(s,l,a,n-d,i+d),c>o?(d=o/c,e.arc(s,l,c,i+d,n-d,!0)):e.arc(s,l,o,i+de,n-de),e.closePath(),e.clip()}function BR(e){return zr(e,["outerStart","outerEnd","innerStart","innerEnd"])}function ER(e,t,i,n){const o=BR(e.options.borderRadius),s=(i-t)/2,l=Math.min(s,n*t/2),a=c=>{const d=(i-Math.min(s,c))*n/2;return ze(c,0,Math.min(s,d))};return{outerStart:a(o.outerStart),outerEnd:a(o.outerEnd),innerStart:ze(o.innerStart,0,l),innerEnd:ze(o.innerEnd,0,l)}}function Nt(e,t,i,n){return{x:i+e*Math.cos(t),y:n+e*Math.sin(t)}}function u1(e,t,i,n,o,s){const{x:l,y:a,startAngle:c,pixelMargin:d,innerRadius:h}=t,f=Math.max(t.outerRadius+n+i-d,0),u=h>0?h+n+i+d:0;let g=0;const v=o-c;if(n){const S=h>0?h-n:0,F=f>0?f-n:0,D=(S+F)/2,$=D!==0?v*D/(D+n):v;g=(v-$)/2}const m=Math.max(.001,v*f-i/pe)/f,w=(v-m)/2,_=c+w+g,Z=o-w-g,{outerStart:b,outerEnd:I,innerStart:A,innerEnd:T}=ER(t,u,f,Z-_),k=f-b,L=f-I,O=_+b/k,U=Z-I/L,N=u+A,H=u+T,P=_+A/N,E=Z-T/H;if(e.beginPath(),s){const S=(O+U)/2;if(e.arc(l,a,f,O,S),e.arc(l,a,f,S,U),I>0){const C=Nt(L,U,l,a);e.arc(C.x,C.y,I,U,Z+de)}const F=Nt(H,Z,l,a);if(e.lineTo(F.x,F.y),T>0){const C=Nt(H,E,l,a);e.arc(C.x,C.y,T,Z+de,E+Math.PI)}const D=(Z-T/u+(_+A/u))/2;if(e.arc(l,a,u,Z-T/u,D,!0),e.arc(l,a,u,D,_+A/u,!0),A>0){const C=Nt(N,P,l,a);e.arc(C.x,C.y,A,P+Math.PI,_-de)}const $=Nt(k,_,l,a);if(e.lineTo($.x,$.y),b>0){const C=Nt(k,O,l,a);e.arc(C.x,C.y,b,_-de,O)}}else{e.moveTo(l,a);const S=Math.cos(O)*f+l,F=Math.sin(O)*f+a;e.lineTo(S,F);const D=Math.cos(U)*f+l,$=Math.sin(U)*f+a;e.lineTo(D,$)}e.closePath()}function LR(e,t,i,n,o){const{fullCircles:s,startAngle:l,circumference:a}=t;let c=t.endAngle;if(s){u1(e,t,i,n,c,o);for(let d=0;d<s;++d)e.fill();isNaN(a)||(c=l+(a%ce||ce))}return u1(e,t,i,n,c,o),e.fill(),c}function DR(e,t,i,n,o){const{fullCircles:s,startAngle:l,circumference:a,options:c}=t,{borderWidth:d,borderJoinStyle:h,borderDash:f,borderDashOffset:u}=c,g=c.borderAlign==="inner";if(!d)return;e.setLineDash(f||[]),e.lineDashOffset=u,g?(e.lineWidth=d*2,e.lineJoin=h||"round"):(e.lineWidth=d,e.lineJoin=h||"bevel");let v=t.endAngle;if(s){u1(e,t,i,n,v,o);for(let m=0;m<s;++m)e.stroke();isNaN(a)||(v=l+(a%ce||ce))}g&&FR(e,t,v),s||(u1(e,t,i,n,v,o),e.stroke())}class I0 extends s0{constructor(i){super();G(this,"circumference");G(this,"endAngle");G(this,"fullCircles");G(this,"innerRadius");G(this,"outerRadius");G(this,"pixelMargin");G(this,"startAngle");this.options=void 0,this.circumference=void 0,this.startAngle=void 0,this.endAngle=void 0,this.innerRadius=void 0,this.outerRadius=void 0,this.pixelMargin=0,this.fullCircles=0,i&&Object.assign(this,i)}inRange(i,n,o){const s=this.getProps(["x","y"],o),{angle:l,distance:a}=d5(s,{x:i,y:n}),{startAngle:c,endAngle:d,innerRadius:h,outerRadius:f,circumference:u}=this.getProps(["startAngle","endAngle","innerRadius","outerRadius","circumference"],o),g=(this.options.spacing+this.options.borderWidth)/2,m=se(u,d-c)>=ce||a1(l,c,d),w=uC(a,h+g,f+g);return m&&w}getCenterPoint(i){const{x:n,y:o,startAngle:s,endAngle:l,innerRadius:a,outerRadius:c}=this.getProps(["x","y","startAngle","endAngle","innerRadius","outerRadius"],i),{offset:d,spacing:h}=this.options,f=(s+l)/2,u=(a+c+h+d)/2;return{x:n+Math.cos(f)*u,y:o+Math.sin(f)*u}}tooltipPosition(i){return this.getCenterPoint(i)}draw(i){const{options:n,circumference:o}=this,s=(n.offset||0)/4,l=(n.spacing||0)/2,a=n.circular;if(this.pixelMargin=n.borderAlign==="inner"?.33:0,this.fullCircles=o>ce?Math.floor(o/ce):0,o===0||this.innerRadius<0||this.outerRadius<0)return;i.save();const c=(this.startAngle+this.endAngle)/2;i.translate(Math.cos(c)*s,Math.sin(c)*s);const d=1-Math.sin(Math.min(pe,o||0)),h=s*d;i.fillStyle=n.backgroundColor,i.strokeStyle=n.borderColor,LR(i,this,h,l,a),DR(i,this,h,l,a),i.restore()}}G(I0,"id","arc"),G(I0,"defaults",{borderAlign:"center",borderColor:"#fff",borderDash:[],borderDashOffset:0,borderJoinStyle:void 0,borderRadius:0,borderWidth:2,offset:0,spacing:0,angle:void 0,circular:!0}),G(I0,"defaultRoutes",{backgroundColor:"backgroundColor"}),G(I0,"descriptors",{_scriptable:!0,_indexable:i=>i!=="borderDash"});const C0={average(e){if(!e.length)return!1;let t,i,n=new Set,o=0,s=0;for(t=0,i=e.length;t<i;++t){const a=e[t].element;if(a&&a.hasValue()){const c=a.tooltipPosition();n.add(c.x),o+=c.y,++s}}return{x:[...n].reduce((a,c)=>a+c)/n.size,y:o/s}},nearest(e,t){if(!e.length)return!1;let i=t.x,n=t.y,o=Number.POSITIVE_INFINITY,s,l,a;for(s=0,l=e.length;s<l;++s){const c=e[s].element;if(c&&c.hasValue()){const d=c.getCenterPoint(),h=hC(t,d);h<o&&(o=h,a=c)}}if(a){const c=a.tooltipPosition();i=c.x,n=c.y}return{x:i,y:n}}};function je(e,t){return t&&(ae(t)?Array.prototype.push.apply(e,t):e.push(t)),e}function st(e){return(typeof e=="string"||e instanceof String)&&e.indexOf(`
|
|
1875
1875
|
`)>-1?e.split(`
|
|
1876
|
-
`):e}function TR(e,t){const{element:i,datasetIndex:n,index:o}=t,s=e.getDatasetMeta(n).controller,{label:l,value:a}=s.getLabelAndValue(o);return{chart:e,label:l,parsed:s.getParsed(o),raw:e.data.datasets[n].data[o],formattedValue:a,dataset:s.getDataset(),dataIndex:o,datasetIndex:n,element:i}}function vl(e,t){const i=e.chart.ctx,{body:n,footer:o,title:s}=e,{boxWidth:l,boxHeight:a}=t,c=Be(t.bodyFont),d=Be(t.titleFont),h=Be(t.footerFont),f=s.length,u=o.length,g=n.length,v=ze(t.padding);let m=v.height,w=0,_=n.reduce((I,A)=>I+A.before.length+A.lines.length+A.after.length,0);if(_+=e.beforeBody.length+e.afterBody.length,f&&(m+=f*d.lineHeight+(f-1)*t.titleSpacing+t.titleMarginBottom),_){const I=t.displayColors?Math.max(a,c.lineHeight):c.lineHeight;m+=g*I+(_-g)*c.lineHeight+(_-1)*t.bodySpacing}u&&(m+=t.footerMarginTop+u*h.lineHeight+(u-1)*t.footerSpacing);let Z=0;const b=function(I){w=Math.max(w,i.measureText(I).width+Z)};return i.save(),i.font=d.string,Q(e.title,b),i.font=c.string,Q(e.beforeBody.concat(e.afterBody),b),Z=t.displayColors?l+2+t.boxPadding:0,Q(n,I=>{Q(I.before,b),Q(I.lines,b),Q(I.after,b)}),Z=0,i.font=h.string,Q(e.footer,b),i.restore(),w+=v.width,{width:w,height:m}}function VR(e,t){const{y:i,height:n}=t;return i<n/2?"top":i>e.height-n/2?"bottom":"center"}function PR(e,t,i,n){const{x:o,width:s}=n,l=i.caretSize+i.caretPadding;if(e==="left"&&o+s+l>t.width||e==="right"&&o-s-l<0)return!0}function OR(e,t,i,n){const{x:o,width:s}=i,{width:l,chartArea:{left:a,right:c}}=e;let d="center";return n==="center"?d=o<=(a+c)/2?"left":"right":o<=s/2?d="left":o>=l-s/2&&(d="right"),PR(d,e,t,i)&&(d="center"),d}function ml(e,t,i){const n=i.yAlign||t.yAlign||VR(e,i);return{xAlign:i.xAlign||t.xAlign||OR(e,t,i,n),yAlign:n}}function HR(e,t){let{x:i,width:n}=e;return t==="right"?i-=n:t==="center"&&(i-=n/2),i}function $R(e,t,i){let{y:n,height:o}=e;return t==="top"?n+=i:t==="bottom"?n-=o+i:n-=o/2,n}function xl(e,t,i,n){const{caretSize:o,caretPadding:s,cornerRadius:l}=e,{xAlign:a,yAlign:c}=i,d=o+s,{topLeft:h,topRight:f,bottomLeft:u,bottomRight:g}=V0(l);let v=HR(t,a);const m=$R(t,c,d);return c==="center"?a==="left"?v+=d:a==="right"&&(v-=d):a==="left"?v-=Math.max(h,u)+o:a==="right"&&(v+=Math.max(f,g)+o),{x:Ue(v,0,n.width-t.width),y:Ue(m,0,n.height-t.height)}}function Ci(e,t,i){const n=ze(i.padding);return t==="center"?e.x+e.width/2:t==="right"?e.x+e.width-n.right:e.x+n.left}function wl(e){return je([],st(e))}function UR(e,t,i){return Wt(e,{tooltip:t,tooltipItems:i,type:"tooltip"})}function yl(e,t){const i=t&&t.dataset&&t.dataset.tooltip&&t.dataset.tooltip.callbacks;return i?e.override(i):e}const E5={beforeTitle:rt,title(e){if(e.length>0){const t=e[0],i=t.chart.data.labels,n=i?i.length:0;if(this&&this.options&&this.options.mode==="dataset")return t.dataset.label||"";if(t.label)return t.label;if(n>0&&t.dataIndex<n)return i[t.dataIndex]}return""},afterTitle:rt,beforeBody:rt,beforeLabel:rt,label(e){if(this&&this.options&&this.options.mode==="dataset")return e.label+": "+e.formattedValue||e.formattedValue;let t=e.dataset.label||"";t&&(t+=": ");const i=e.formattedValue;return oe(i)||(t+=i),t},labelColor(e){const i=e.chart.getDatasetMeta(e.datasetIndex).controller.getStyle(e.dataIndex);return{borderColor:i.borderColor,backgroundColor:i.backgroundColor,borderWidth:i.borderWidth,borderDash:i.borderDash,borderDashOffset:i.borderDashOffset,borderRadius:0}},labelTextColor(){return this.options.bodyColor},labelPointStyle(e){const i=e.chart.getDatasetMeta(e.datasetIndex).controller.getStyle(e.dataIndex);return{pointStyle:i.pointStyle,rotation:i.rotation}},afterLabel:rt,afterBody:rt,beforeFooter:rt,footer:rt,afterFooter:rt};function Ie(e,t,i,n){const o=e[t].call(i,n);return typeof o>"u"?E5[t].call(i,n):o}class qn extends s0{constructor(t){super(),this.opacity=0,this._active=[],this._eventPosition=void 0,this._size=void 0,this._cachedAnimations=void 0,this._tooltipItems=[],this.$animations=void 0,this.$context=void 0,this.chart=t.chart,this.options=t.options,this.dataPoints=void 0,this.title=void 0,this.beforeBody=void 0,this.body=void 0,this.afterBody=void 0,this.footer=void 0,this.xAlign=void 0,this.yAlign=void 0,this.x=void 0,this.y=void 0,this.height=void 0,this.width=void 0,this.caretX=void 0,this.caretY=void 0,this.labelColors=void 0,this.labelPointStyles=void 0,this.labelTextColors=void 0}initialize(t){this.options=t,this._cachedAnimations=void 0,this.$context=void 0}_resolveAnimations(){const t=this._cachedAnimations;if(t)return t;const i=this.chart,n=this.options.setContext(this.getContext()),o=n.enabled&&i.options.animation&&n.animations,s=new b5(this.chart,o);return o._cacheable&&(this._cachedAnimations=Object.freeze(s)),s}getContext(){return this.$context||(this.$context=UR(this.chart.getContext(),this,this._tooltipItems))}getTitle(t,i){const{callbacks:n}=i,o=Ie(n,"beforeTitle",this,t),s=Ie(n,"title",this,t),l=Ie(n,"afterTitle",this,t);let a=[];return a=je(a,st(o)),a=je(a,st(s)),a=je(a,st(l)),a}getBeforeBody(t,i){return wl(Ie(i.callbacks,"beforeBody",this,t))}getBody(t,i){const{callbacks:n}=i,o=[];return Q(t,s=>{const l={before:[],lines:[],after:[]},a=yl(n,s);je(l.before,st(Ie(a,"beforeLabel",this,s))),je(l.lines,Ie(a,"label",this,s)),je(l.after,st(Ie(a,"afterLabel",this,s))),o.push(l)}),o}getAfterBody(t,i){return wl(Ie(i.callbacks,"afterBody",this,t))}getFooter(t,i){const{callbacks:n}=i,o=Ie(n,"beforeFooter",this,t),s=Ie(n,"footer",this,t),l=Ie(n,"afterFooter",this,t);let a=[];return a=je(a,st(o)),a=je(a,st(s)),a=je(a,st(l)),a}_createItems(t){const i=this._active,n=this.chart.data,o=[],s=[],l=[];let a=[],c,d;for(c=0,d=i.length;c<d;++c)a.push(TR(this.chart,i[c]));return t.filter&&(a=a.filter((h,f,u)=>t.filter(h,f,u,n))),t.itemSort&&(a=a.sort((h,f)=>t.itemSort(h,f,n))),Q(a,h=>{const f=yl(t.callbacks,h);o.push(Ie(f,"labelColor",this,h)),s.push(Ie(f,"labelPointStyle",this,h)),l.push(Ie(f,"labelTextColor",this,h))}),this.labelColors=o,this.labelPointStyles=s,this.labelTextColors=l,this.dataPoints=a,a}update(t,i){const n=this.options.setContext(this.getContext()),o=this._active;let s,l=[];if(!o.length)this.opacity!==0&&(s={opacity:0});else{const a=C0[n.position].call(this,o,this._eventPosition);l=this._createItems(n),this.title=this.getTitle(l,n),this.beforeBody=this.getBeforeBody(l,n),this.body=this.getBody(l,n),this.afterBody=this.getAfterBody(l,n),this.footer=this.getFooter(l,n);const c=this._size=vl(this,n),d=Object.assign({},a,c),h=ml(this.chart,n,d),f=xl(n,d,h,this.chart);this.xAlign=h.xAlign,this.yAlign=h.yAlign,s={opacity:1,x:f.x,y:f.y,width:c.width,height:c.height,caretX:a.x,caretY:a.y}}this._tooltipItems=l,this.$context=void 0,s&&this._resolveAnimations().update(this,s),t&&n.external&&n.external.call(this,{chart:this.chart,tooltip:this,replay:i})}drawCaret(t,i,n,o){const s=this.getCaretPosition(t,n,o);i.lineTo(s.x1,s.y1),i.lineTo(s.x2,s.y2),i.lineTo(s.x3,s.y3)}getCaretPosition(t,i,n){const{xAlign:o,yAlign:s}=this,{caretSize:l,cornerRadius:a}=n,{topLeft:c,topRight:d,bottomLeft:h,bottomRight:f}=V0(a),{x:u,y:g}=t,{width:v,height:m}=i;let w,_,Z,b,I,A;return s==="center"?(I=g+m/2,o==="left"?(w=u,_=w-l,b=I+l,A=I-l):(w=u+v,_=w+l,b=I-l,A=I+l),Z=w):(o==="left"?_=u+Math.max(c,h)+l:o==="right"?_=u+v-Math.max(d,f)-l:_=this.caretX,s==="top"?(b=g,I=b-l,w=_-l,Z=_+l):(b=g+m,I=b+l,w=_+l,Z=_-l),A=b),{x1:w,x2:_,x3:Z,y1:b,y2:I,y3:A}}drawTitle(t,i,n){const o=this.title,s=o.length;let l,a,c;if(s){const d=wn(n.rtl,this.x,this.width);for(t.x=Ci(this,n.titleAlign,n),i.textAlign=d.textAlign(n.titleAlign),i.textBaseline="middle",l=Be(n.titleFont),a=n.titleSpacing,i.fillStyle=n.titleColor,i.font=l.string,c=0;c<s;++c)i.fillText(o[c],d.x(t.x),t.y+l.lineHeight/2),t.y+=l.lineHeight+a,c+1===s&&(t.y+=n.titleMarginBottom-a)}}_drawColorBox(t,i,n,o,s){const l=this.labelColors[n],a=this.labelPointStyles[n],{boxHeight:c,boxWidth:d}=s,h=Be(s.bodyFont),f=Ci(this,"left",s),u=o.x(f),g=c<h.lineHeight?(h.lineHeight-c)/2:0,v=i.y+g;if(s.usePointStyle){const m={radius:Math.min(d,c)/2,pointStyle:a.pointStyle,rotation:a.rotation,borderWidth:1},w=o.leftForLtr(u,d)+d/2,_=v+c/2;t.strokeStyle=s.multiKeyBackground,t.fillStyle=s.multiKeyBackground,Os(t,m,w,_),t.strokeStyle=l.borderColor,t.fillStyle=l.backgroundColor,Os(t,m,w,_)}else{t.lineWidth=Y(l.borderWidth)?Math.max(...Object.values(l.borderWidth)):l.borderWidth||1,t.strokeStyle=l.borderColor,t.setLineDash(l.borderDash||[]),t.lineDashOffset=l.borderDashOffset||0;const m=o.leftForLtr(u,d),w=o.leftForLtr(o.xPlus(u,1),d-2),_=V0(l.borderRadius);Object.values(_).some(Z=>Z!==0)?(t.beginPath(),t.fillStyle=s.multiKeyBackground,Xn(t,{x:m,y:v,w:d,h:c,radius:_}),t.fill(),t.stroke(),t.fillStyle=l.backgroundColor,t.beginPath(),Xn(t,{x:w,y:v+1,w:d-2,h:c-2,radius:_}),t.fill()):(t.fillStyle=s.multiKeyBackground,t.fillRect(m,v,d,c),t.strokeRect(m,v,d,c),t.fillStyle=l.backgroundColor,t.fillRect(w,v+1,d-2,c-2))}t.fillStyle=this.labelTextColors[n]}drawBody(t,i,n){const{body:o}=this,{bodySpacing:s,bodyAlign:l,displayColors:a,boxHeight:c,boxWidth:d,boxPadding:h}=n,f=Be(n.bodyFont);let u=f.lineHeight,g=0;const v=wn(n.rtl,this.x,this.width),m=function(L){i.fillText(L,v.x(t.x+g),t.y+u/2),t.y+=u+s},w=v.textAlign(l);let _,Z,b,I,A,D,k;for(i.textAlign=l,i.textBaseline="middle",i.font=f.string,t.x=Ci(this,w,n),i.fillStyle=n.bodyColor,Q(this.beforeBody,m),g=a&&w!=="right"?l==="center"?d/2+h:d+2+h:0,I=0,D=o.length;I<D;++I){for(_=o[I],Z=this.labelTextColors[I],i.fillStyle=Z,Q(_.before,m),b=_.lines,a&&b.length&&(this._drawColorBox(i,t,I,v,n),u=Math.max(f.lineHeight,c)),A=0,k=b.length;A<k;++A)m(b[A]),u=f.lineHeight;Q(_.after,m)}g=0,u=f.lineHeight,Q(this.afterBody,m),t.y-=s}drawFooter(t,i,n){const o=this.footer,s=o.length;let l,a;if(s){const c=wn(n.rtl,this.x,this.width);for(t.x=Ci(this,n.footerAlign,n),t.y+=n.footerMarginTop,i.textAlign=c.textAlign(n.footerAlign),i.textBaseline="middle",l=Be(n.footerFont),i.fillStyle=n.footerColor,i.font=l.string,a=0;a<s;++a)i.fillText(o[a],c.x(t.x),t.y+l.lineHeight/2),t.y+=l.lineHeight+n.footerSpacing}}drawBackground(t,i,n,o){const{xAlign:s,yAlign:l}=this,{x:a,y:c}=t,{width:d,height:h}=n,{topLeft:f,topRight:u,bottomLeft:g,bottomRight:v}=V0(o.cornerRadius);i.fillStyle=o.backgroundColor,i.strokeStyle=o.borderColor,i.lineWidth=o.borderWidth,i.beginPath(),i.moveTo(a+f,c),l==="top"&&this.drawCaret(t,i,n,o),i.lineTo(a+d-u,c),i.quadraticCurveTo(a+d,c,a+d,c+u),l==="center"&&s==="right"&&this.drawCaret(t,i,n,o),i.lineTo(a+d,c+h-v),i.quadraticCurveTo(a+d,c+h,a+d-v,c+h),l==="bottom"&&this.drawCaret(t,i,n,o),i.lineTo(a+g,c+h),i.quadraticCurveTo(a,c+h,a,c+h-g),l==="center"&&s==="left"&&this.drawCaret(t,i,n,o),i.lineTo(a,c+f),i.quadraticCurveTo(a,c,a+f,c),i.closePath(),i.fill(),o.borderWidth>0&&i.stroke()}_updateAnimationTarget(t){const i=this.chart,n=this.$animations,o=n&&n.x,s=n&&n.y;if(o||s){const l=C0[t.position].call(this,this._active,this._eventPosition);if(!l)return;const a=this._size=vl(this,t),c=Object.assign({},l,this._size),d=ml(i,t,c),h=xl(t,c,d,i);(o._to!==h.x||s._to!==h.y)&&(this.xAlign=d.xAlign,this.yAlign=d.yAlign,this.width=a.width,this.height=a.height,this.caretX=l.x,this.caretY=l.y,this._resolveAnimations().update(this,h))}}_willRender(){return!!this.opacity}draw(t){const i=this.options.setContext(this.getContext());let n=this.opacity;if(!n)return;this._updateAnimationTarget(i);const o={width:this.width,height:this.height},s={x:this.x,y:this.y};n=Math.abs(n)<.001?0:n;const l=ze(i.padding),a=this.title.length||this.beforeBody.length||this.body.length||this.afterBody.length||this.footer.length;i.enabled&&a&&(t.save(),t.globalAlpha=n,this.drawBackground(s,t,o,i),rA(t,i.textDirection),s.y+=l.top,this.drawTitle(s,t,i),this.drawBody(s,t,i),this.drawFooter(s,t,i),oA(t,i.textDirection),t.restore())}getActiveElements(){return this._active||[]}setActiveElements(t,i){const n=this._active,o=t.map(({datasetIndex:a,index:c})=>{const d=this.chart.getDatasetMeta(a);if(!d)throw new Error("Cannot find a dataset at index "+a);return{datasetIndex:a,element:d.data[c],index:c}}),s=!i1(n,o),l=this._positionChanged(o,i);(s||l)&&(this._active=o,this._eventPosition=i,this._ignoreReplayEvents=!0,this.update(!0))}handleEvent(t,i,n=!0){if(i&&this._ignoreReplayEvents)return!1;this._ignoreReplayEvents=!1;const o=this.options,s=this._active||[],l=this._getActiveElements(t,s,i,n),a=this._positionChanged(l,t),c=i||!i1(l,s)||a;return c&&(this._active=l,(o.enabled||o.external)&&(this._eventPosition={x:t.x,y:t.y},this.update(!0,i))),c}_getActiveElements(t,i,n,o){const s=this.options;if(t.type==="mouseout")return[];if(!o)return i.filter(a=>this.chart.data.datasets[a.datasetIndex]&&this.chart.getDatasetMeta(a.datasetIndex).controller.getParsed(a.index)!==void 0);const l=this.chart.getElementsAtEventForMode(t,s.mode,s,n);return s.reverse&&l.reverse(),l}_positionChanged(t,i){const{caretX:n,caretY:o,options:s}=this,l=C0[s.position].call(this,t,i);return l!==!1&&(n!==l.x||o!==l.y)}}j(qn,"positioners",C0);var zR={id:"tooltip",_element:qn,positioners:C0,afterInit(e,t,i){i&&(e.tooltip=new qn({chart:e,options:i}))},beforeUpdate(e,t,i){e.tooltip&&e.tooltip.initialize(i)},reset(e,t,i){e.tooltip&&e.tooltip.initialize(i)},afterDraw(e){const t=e.tooltip;if(t&&t._willRender()){const i={tooltip:t};if(e.notifyPlugins("beforeTooltipDraw",{...i,cancelable:!0})===!1)return;t.draw(e.ctx),e.notifyPlugins("afterTooltipDraw",i)}},afterEvent(e,t){if(e.tooltip){const i=t.replay;e.tooltip.handleEvent(t.event,i,t.inChartArea)&&(t.changed=!0)}},defaults:{enabled:!0,external:null,position:"average",backgroundColor:"rgba(0,0,0,0.8)",titleColor:"#fff",titleFont:{weight:"bold"},titleSpacing:2,titleMarginBottom:6,titleAlign:"left",bodyColor:"#fff",bodySpacing:2,bodyFont:{},bodyAlign:"left",footerColor:"#fff",footerSpacing:2,footerMarginTop:6,footerFont:{weight:"bold"},footerAlign:"left",padding:6,caretPadding:2,caretSize:5,cornerRadius:6,boxHeight:(e,t)=>t.bodyFont.size,boxWidth:(e,t)=>t.bodyFont.size,multiKeyBackground:"#fff",displayColors:!0,boxPadding:0,borderColor:"rgba(0,0,0,0)",borderWidth:0,animation:{duration:400,easing:"easeOutQuart"},animations:{numbers:{type:"number",properties:["x","y","width","height","caretX","caretY"]},opacity:{easing:"linear",duration:200}},callbacks:E5},defaultRoutes:{bodyFont:"font",footerFont:"font",titleFont:"font"},descriptors:{_scriptable:e=>e!=="filter"&&e!=="itemSort"&&e!=="external",_indexable:!1,callbacks:{_scriptable:!1,_indexable:!1},animation:{_fallback:!1},animations:{_fallback:"animation"}},additionalOptionScopes:["interaction"]};function WR(e,t){const i=[],{bounds:o,step:s,min:l,max:a,precision:c,count:d,maxTicks:h,maxDigits:f,includeBounds:u}=e,g=s||1,v=h-1,{min:m,max:w}=t,_=!oe(l),Z=!oe(a),b=!oe(d),I=(w-m)/(f+1);let A=ks((w-m)/v/g)*g,D,k,L,O;if(A<1e-14&&!_&&!Z)return[{value:m},{value:w}];O=Math.ceil(w/A)-Math.floor(m/A),O>v&&(A=ks(O*A/v/g)*g),oe(c)||(D=Math.pow(10,c),A=Math.ceil(A*D)/D),o==="ticks"?(k=Math.floor(m/A)*A,L=Math.ceil(w/A)*A):(k=m,L=w),_&&Z&&s&&dC((a-l)/s,A/1e3)?(O=Math.round(Math.min((a-l)/A,h)),A=(a-l)/O,k=l,L=a):b?(k=_?l:k,L=Z?a:L,O=d-1,A=(L-k)/O):(O=(L-k)/A,Di(O,Math.round(O),A/1e3)?O=Math.round(O):O=Math.ceil(O));const U=Math.max(Fs(A),Fs(k));D=Math.pow(10,oe(c)?U:c),k=Math.round(k*D)/D,L=Math.round(L*D)/D;let N=0;for(_&&(u&&k!==l?(i.push({value:l}),k<l&&N++,Di(Math.round((k+N*A)*D)/D,l,_l(l,I,e))&&N++):k<l&&N++);N<O;++N){const H=Math.round((k+N*A)*D)/D;if(Z&&H>a)break;i.push({value:H})}return Z&&u&&L!==a?i.length&&Di(i[i.length-1].value,a,_l(a,I,e))?i[i.length-1].value=a:i.push({value:a}):(!Z||L===a)&&i.push({value:L}),i}function _l(e,t,{horizontal:i,minRotation:n}){const o=Je(n),s=(i?Math.sin(o):Math.cos(o))||.001,l=.75*t*(""+e).length;return Math.min(t/s,l)}class p1 extends c0{constructor(t){super(t),this.start=void 0,this.end=void 0,this._startValue=void 0,this._endValue=void 0,this._valueRange=0}parse(t,i){return oe(t)||(typeof t=="number"||t instanceof Number)&&!isFinite(+t)?null:+t}handleTickRangeOptions(){const{beginAtZero:t}=this.options,{minDefined:i,maxDefined:n}=this.getUserBounds();let{min:o,max:s}=this;const l=c=>o=i?o:c,a=c=>s=n?s:c;if(t){const c=s1(o),d=s1(s);c<0&&d<0?a(0):c>0&&d>0&&l(0)}if(o===s){let c=s===0?1:Math.abs(s*.05);a(s+c),t||l(o-c)}this.min=o,this.max=s}getTickLimit(){const t=this.options.ticks;let{maxTicksLimit:i,stepSize:n}=t,o;return n?(o=Math.ceil(this.max/n)-Math.floor(this.min/n)+1,o>1e3&&(console.warn(`scales.${this.id}.ticks.stepSize: ${n} would result generating up to ${o} ticks. Limiting to 1000.`),o=1e3)):(o=this.computeTickLimit(),i=i||11),i&&(o=Math.min(i,o)),o}computeTickLimit(){return Number.POSITIVE_INFINITY}buildTicks(){const t=this.options,i=t.ticks;let n=this.getTickLimit();n=Math.max(2,n);const o={maxTicks:n,bounds:t.bounds,min:t.min,max:t.max,precision:i.precision,step:i.stepSize,count:i.count,maxDigits:this._maxDigits(),horizontal:this.isHorizontal(),minRotation:i.minRotation||0,includeBounds:i.includeBounds!==!1},s=this._range||this,l=WR(o,s);return t.bounds==="ticks"&&c5(l,this,"value"),t.reverse?(l.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),l}configure(){const t=this.ticks;let i=this.min,n=this.max;if(super.configure(),this.options.offset&&t.length){const o=(n-i)/Math.max(t.length-1,1)/2;i-=o,n+=o}this._startValue=i,this._endValue=n,this._valueRange=n-i}getLabelForValue(t){return z1(t,this.chart.options.locale,this.options.ticks.format)}}class bl extends p1{determineDataLimits(){const{min:t,max:i}=this.getMinMax(!0);this.min=we(t)?t:0,this.max=we(i)?i:1,this.handleTickRangeOptions()}computeTickLimit(){const t=this.isHorizontal(),i=t?this.width:this.height,n=Je(this.options.ticks.minRotation),o=(t?Math.sin(n):Math.cos(n))||.001,s=this._resolveTickFontOptions(0);return Math.ceil(i/Math.min(40,s.lineHeight/o))}getPixelForValue(t){return t===null?NaN:this.getPixelForDecimal((t-this._startValue)/this._valueRange)}getValueForPixel(t){return this._startValue+this.getDecimalForPixel(t)*this._valueRange}}j(bl,"id","linear"),j(bl,"defaults",{ticks:{callback:W1.formatters.numeric}});const J0=e=>Math.floor(mt(e)),Ft=(e,t)=>Math.pow(10,J0(e)+t);function Ml(e){return e/Math.pow(10,J0(e))===1}function Zl(e,t,i){const n=Math.pow(10,i),o=Math.floor(e/n);return Math.ceil(t/n)-o}function GR(e,t){const i=t-e;let n=J0(i);for(;Zl(e,t,n)>10;)n++;for(;Zl(e,t,n)<10;)n--;return Math.min(n,J0(e))}function jR(e,{min:t,max:i}){t=Fe(e.min,t);const n=[],o=J0(t);let s=GR(t,i),l=s<0?Math.pow(10,Math.abs(s)):1;const a=Math.pow(10,s),c=o>s?Math.pow(10,o):0,d=Math.round((t-c)*l)/l,h=Math.floor((t-c)/a/10)*a*10;let f=Math.floor((d-h)/Math.pow(10,s)),u=Fe(e.min,Math.round((c+h+f*Math.pow(10,s))*l)/l);for(;u<i;)n.push({value:u,major:Ml(u),significand:f}),f>=10?f=f<15?15:20:f++,f>=20&&(s++,f=2,l=s>=0?1:l),u=Math.round((c+h+f*Math.pow(10,s))*l)/l;const g=Fe(e.max,u);return n.push({value:g,major:Ml(g),significand:f}),n}class Sl extends c0{constructor(t){super(t),this.start=void 0,this.end=void 0,this._startValue=void 0,this._valueRange=0}parse(t,i){const n=p1.prototype.parse.apply(this,[t,i]);if(n===0){this._zero=!0;return}return we(n)&&n>0?n:null}determineDataLimits(){const{min:t,max:i}=this.getMinMax(!0);this.min=we(t)?Math.max(0,t):null,this.max=we(i)?Math.max(0,i):null,this.options.beginAtZero&&(this._zero=!0),this._zero&&this.min!==this._suggestedMin&&!we(this._userMin)&&(this.min=t===Ft(this.min,0)?Ft(this.min,-1):Ft(this.min,0)),this.handleTickRangeOptions()}handleTickRangeOptions(){const{minDefined:t,maxDefined:i}=this.getUserBounds();let n=this.min,o=this.max;const s=a=>n=t?n:a,l=a=>o=i?o:a;n===o&&(n<=0?(s(1),l(10)):(s(Ft(n,-1)),l(Ft(o,1)))),n<=0&&s(Ft(o,-1)),o<=0&&l(Ft(n,1)),this.min=n,this.max=o}buildTicks(){const t=this.options,i={min:this._userMin,max:this._userMax},n=jR(i,this);return t.bounds==="ticks"&&c5(n,this,"value"),t.reverse?(n.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),n}getLabelForValue(t){return t===void 0?"0":z1(t,this.chart.options.locale,this.options.ticks.format)}configure(){const t=this.min;super.configure(),this._startValue=mt(t),this._valueRange=mt(this.max)-mt(t)}getPixelForValue(t){return(t===void 0||t===0)&&(t=this.min),t===null||isNaN(t)?NaN:this.getPixelForDecimal(t===this.min?0:(mt(t)-this._startValue)/this._valueRange)}getValueForPixel(t){const i=this.getDecimalForPixel(t);return Math.pow(10,this._startValue+i*this._valueRange)}}j(Sl,"id","logarithmic"),j(Sl,"defaults",{ticks:{callback:W1.formatters.logarithmic,major:{enabled:!0}}});function Qn(e){const t=e.ticks;if(t.display&&e.display){const i=ze(t.backdropPadding);return se(t.font&&t.font.size,he.font.size)+i.height}return 0}function NR(e,t,i){return i=ae(i)?i:[i],{w:RC(e,t.string,i),h:i.length*t.lineHeight}}function Il(e,t,i,n,o){return e===n||e===o?{start:t-i/2,end:t+i/2}:e<n||e>o?{start:t-i,end:t}:{start:t,end:t+i}}function XR(e){const t={l:e.left+e._padding.left,r:e.right-e._padding.right,t:e.top+e._padding.top,b:e.bottom-e._padding.bottom},i=Object.assign({},t),n=[],o=[],s=e._pointLabels.length,l=e.options.pointLabels,a=l.centerPointLabels?pe/s:0;for(let c=0;c<s;c++){const d=l.setContext(e.getPointLabelContext(c));o[c]=d.padding;const h=e.getPointPosition(c,e.drawingArea+o[c],a),f=Be(d.font),u=NR(e.ctx,f,e._pointLabels[c]);n[c]=u;const g=Ye(e.getIndexAngle(c)+a),v=Math.round($r(g)),m=Il(v,h.x,u.w,0,180),w=Il(v,h.y,u.h,90,270);YR(i,t,g,m,w)}e.setCenterPoint(t.l-i.l,i.r-t.r,t.t-i.t,i.b-t.b),e._pointLabelItems=QR(e,n,o)}function YR(e,t,i,n,o){const s=Math.abs(Math.sin(i)),l=Math.abs(Math.cos(i));let a=0,c=0;n.start<t.l?(a=(t.l-n.start)/s,e.l=Math.min(e.l,t.l-a)):n.end>t.r&&(a=(n.end-t.r)/s,e.r=Math.max(e.r,t.r+a)),o.start<t.t?(c=(t.t-o.start)/l,e.t=Math.min(e.t,t.t-c)):o.end>t.b&&(c=(o.end-t.b)/l,e.b=Math.max(e.b,t.b+c))}function KR(e,t,i){const n=e.drawingArea,{extra:o,additionalAngle:s,padding:l,size:a}=i,c=e.getPointPosition(t,n+o+l,s),d=Math.round($r(Ye(c.angle+de))),h=tk(c.y,a.h,d),f=JR(d),u=ek(c.x,a.w,f);return{visible:!0,x:c.x,y:h,textAlign:f,left:u,top:h,right:u+a.w,bottom:h+a.h}}function qR(e,t){if(!t)return!0;const{left:i,top:n,right:o,bottom:s}=e;return!(Qt({x:i,y:n},t)||Qt({x:i,y:s},t)||Qt({x:o,y:n},t)||Qt({x:o,y:s},t))}function QR(e,t,i){const n=[],o=e._pointLabels.length,s=e.options,{centerPointLabels:l,display:a}=s.pointLabels,c={extra:Qn(s)/2,additionalAngle:l?pe/o:0};let d;for(let h=0;h<o;h++){c.padding=i[h],c.size=t[h];const f=KR(e,h,c);n.push(f),a==="auto"&&(f.visible=qR(f,d),f.visible&&(d=f))}return n}function JR(e){return e===0||e===180?"center":e<180?"left":"right"}function ek(e,t,i){return i==="right"?e-=t:i==="center"&&(e-=t/2),e}function tk(e,t,i){return i===90||i===270?e-=t/2:(i>270||i<90)&&(e-=t),e}function ik(e,t,i){const{left:n,top:o,right:s,bottom:l}=i,{backdropColor:a}=t;if(!oe(a)){const c=V0(t.borderRadius),d=ze(t.backdropPadding);e.fillStyle=a;const h=n-d.left,f=o-d.top,u=s-n+d.width,g=l-o+d.height;Object.values(c).some(v=>v!==0)?(e.beginPath(),Xn(e,{x:h,y:f,w:u,h:g,radius:c}),e.fill()):e.fillRect(h,f,u,g)}}function nk(e,t){const{ctx:i,options:{pointLabels:n}}=e;for(let o=t-1;o>=0;o--){const s=e._pointLabelItems[o];if(!s.visible)continue;const l=n.setContext(e.getPointLabelContext(o));ik(i,l,s);const a=Be(l.font),{x:c,y:d,textAlign:h}=s;d1(i,e._pointLabels[o],c,d+a.lineHeight/2,a,{color:l.color,textAlign:h,textBaseline:"middle"})}}function L5(e,t,i,n){const{ctx:o}=e;if(i)o.arc(e.xCenter,e.yCenter,t,0,ce);else{let s=e.getPointPosition(0,t);o.moveTo(s.x,s.y);for(let l=1;l<n;l++)s=e.getPointPosition(l,t),o.lineTo(s.x,s.y)}}function rk(e,t,i,n,o){const s=e.ctx,l=t.circular,{color:a,lineWidth:c}=t;!l&&!n||!a||!c||i<0||(s.save(),s.strokeStyle=a,s.lineWidth=c,s.setLineDash(o.dash),s.lineDashOffset=o.dashOffset,s.beginPath(),L5(e,i,l,n),s.closePath(),s.stroke(),s.restore())}function ok(e,t,i){return Wt(e,{label:i,index:t,type:"pointLabel"})}class Ai extends p1{constructor(t){super(t),this.xCenter=void 0,this.yCenter=void 0,this.drawingArea=void 0,this._pointLabels=[],this._pointLabelItems=[]}setDimensions(){const t=this._padding=ze(Qn(this.options)/2),i=this.width=this.maxWidth-t.width,n=this.height=this.maxHeight-t.height;this.xCenter=Math.floor(this.left+i/2+t.left),this.yCenter=Math.floor(this.top+n/2+t.top),this.drawingArea=Math.floor(Math.min(i,n)/2)}determineDataLimits(){const{min:t,max:i}=this.getMinMax(!1);this.min=we(t)&&!isNaN(t)?t:0,this.max=we(i)&&!isNaN(i)?i:0,this.handleTickRangeOptions()}computeTickLimit(){return Math.ceil(this.drawingArea/Qn(this.options))}generateTickLabels(t){p1.prototype.generateTickLabels.call(this,t),this._pointLabels=this.getLabels().map((i,n)=>{const o=le(this.options.pointLabels.callback,[i,n],this);return o||o===0?o:""}).filter((i,n)=>this.chart.getDataVisibility(n))}fit(){const t=this.options;t.display&&t.pointLabels.display?XR(this):this.setCenterPoint(0,0,0,0)}setCenterPoint(t,i,n,o){this.xCenter+=Math.floor((t-i)/2),this.yCenter+=Math.floor((n-o)/2),this.drawingArea-=Math.min(this.drawingArea/2,Math.max(t,i,n,o))}getIndexAngle(t){const i=ce/(this._pointLabels.length||1),n=this.options.startAngle||0;return Ye(t*i+Je(n))}getDistanceFromCenterForValue(t){if(oe(t))return NaN;const i=this.drawingArea/(this.max-this.min);return this.options.reverse?(this.max-t)*i:(t-this.min)*i}getValueForDistanceFromCenter(t){if(oe(t))return NaN;const i=t/(this.drawingArea/(this.max-this.min));return this.options.reverse?this.max-i:this.min+i}getPointLabelContext(t){const i=this._pointLabels||[];if(t>=0&&t<i.length){const n=i[t];return ok(this.getContext(),t,n)}}getPointPosition(t,i,n=0){const o=this.getIndexAngle(t)-de+n;return{x:Math.cos(o)*i+this.xCenter,y:Math.sin(o)*i+this.yCenter,angle:o}}getPointPositionForValue(t,i){return this.getPointPosition(t,this.getDistanceFromCenterForValue(i))}getBasePosition(t){return this.getPointPositionForValue(t||0,this.getBaseValue())}getPointLabelPosition(t){const{left:i,top:n,right:o,bottom:s}=this._pointLabelItems[t];return{left:i,top:n,right:o,bottom:s}}drawBackground(){const{backgroundColor:t,grid:{circular:i}}=this.options;if(t){const n=this.ctx;n.save(),n.beginPath(),L5(this,this.getDistanceFromCenterForValue(this._endValue),i,this._pointLabels.length),n.closePath(),n.fillStyle=t,n.fill(),n.restore()}}drawGrid(){const t=this.ctx,i=this.options,{angleLines:n,grid:o,border:s}=i,l=this._pointLabels.length;let a,c,d;if(i.pointLabels.display&&nk(this,l),o.display&&this.ticks.forEach((h,f)=>{if(f!==0||f===0&&this.min<0){c=this.getDistanceFromCenterForValue(h.value);const u=this.getContext(f),g=o.setContext(u),v=s.setContext(u);rk(this,g,c,l,v)}}),n.display){for(t.save(),a=l-1;a>=0;a--){const h=n.setContext(this.getPointLabelContext(a)),{color:f,lineWidth:u}=h;!u||!f||(t.lineWidth=u,t.strokeStyle=f,t.setLineDash(h.borderDash),t.lineDashOffset=h.borderDashOffset,c=this.getDistanceFromCenterForValue(i.ticks.reverse?this.min:this.max),d=this.getPointPosition(a,c),t.beginPath(),t.moveTo(this.xCenter,this.yCenter),t.lineTo(d.x,d.y),t.stroke())}t.restore()}}drawBorder(){}drawLabels(){const t=this.ctx,i=this.options,n=i.ticks;if(!n.display)return;const o=this.getIndexAngle(0);let s,l;t.save(),t.translate(this.xCenter,this.yCenter),t.rotate(o),t.textAlign="center",t.textBaseline="middle",this.ticks.forEach((a,c)=>{if(c===0&&this.min>=0&&!i.reverse)return;const d=n.setContext(this.getContext(c)),h=Be(d.font);if(s=this.getDistanceFromCenterForValue(this.ticks[c].value),d.showLabelBackdrop){t.font=h.string,l=t.measureText(a.label).width,t.fillStyle=d.backdropColor;const f=ze(d.backdropPadding);t.fillRect(-l/2-f.left,-s-h.size/2-f.top,l+f.width,h.size+f.height)}d1(t,a.label,0,-s,h,{color:d.color,strokeColor:d.textStrokeColor,strokeWidth:d.textStrokeWidth})}),t.restore()}drawTitle(){}}j(Ai,"id","radialLinear"),j(Ai,"defaults",{display:!0,animate:!0,position:"chartArea",angleLines:{display:!0,lineWidth:1,borderDash:[],borderDashOffset:0},grid:{circular:!1},startAngle:0,ticks:{showLabelBackdrop:!0,callback:W1.formatters.numeric},pointLabels:{backdropColor:void 0,backdropPadding:2,display:!0,font:{size:10},callback(t){return t},padding:5,centerPointLabels:!1}}),j(Ai,"defaultRoutes",{"angleLines.color":"borderColor","pointLabels.color":"color","ticks.color":"color"}),j(Ai,"descriptors",{angleLines:{_fallback:"grid"}});const j1={millisecond:{common:!0,size:1,steps:1e3},second:{common:!0,size:1e3,steps:60},minute:{common:!0,size:6e4,steps:60},hour:{common:!0,size:36e5,steps:24},day:{common:!0,size:864e5,steps:30},week:{common:!1,size:6048e5,steps:4},month:{common:!0,size:2628e6,steps:12},quarter:{common:!1,size:7884e6,steps:4},year:{common:!0,size:3154e7}},Ae=Object.keys(j1);function Cl(e,t){return e-t}function Al(e,t){if(oe(t))return null;const i=e._adapter,{parser:n,round:o,isoWeekday:s}=e._parseOpts;let l=t;return typeof n=="function"&&(l=n(l)),we(l)||(l=typeof n=="string"?i.parse(l,n):i.parse(l)),l===null?null:(o&&(l=o==="week"&&(l1(s)||s===!0)?i.startOf(l,"isoWeek",s):i.startOf(l,o)),+l)}function Rl(e,t,i,n){const o=Ae.length;for(let s=Ae.indexOf(e);s<o-1;++s){const l=j1[Ae[s]],a=l.steps?l.steps:Number.MAX_SAFE_INTEGER;if(l.common&&Math.ceil((i-t)/(a*l.size))<=n)return Ae[s]}return Ae[o-1]}function sk(e,t,i,n,o){for(let s=Ae.length-1;s>=Ae.indexOf(i);s--){const l=Ae[s];if(j1[l].common&&e._adapter.diff(o,n,l)>=t-1)return l}return Ae[i?Ae.indexOf(i):0]}function lk(e){for(let t=Ae.indexOf(e)+1,i=Ae.length;t<i;++t)if(j1[Ae[t]].common)return Ae[t]}function kl(e,t,i){if(!i)e[t]=!0;else if(i.length){const{lo:n,hi:o}=Ur(i,t),s=i[n]>=t?i[n]:i[o];e[s]=!0}}function ak(e,t,i,n){const o=e._adapter,s=+o.startOf(t[0].value,n),l=t[t.length-1].value;let a,c;for(a=s;a<=l;a=+o.add(a,1,n))c=i[a],c>=0&&(t[c].major=!0);return t}function Fl(e,t,i){const n=[],o={},s=t.length;let l,a;for(l=0;l<s;++l)a=t[l],o[a]=l,n.push({value:a,major:!1});return s===0||!i?n:ak(e,n,o,i)}class g1 extends c0{constructor(t){super(t),this._cache={data:[],labels:[],all:[]},this._unit="day",this._majorUnit=void 0,this._offsets={},this._normalized=!1,this._parseOpts=void 0}init(t,i={}){const n=t.time||(t.time={}),o=this._adapter=new _A._date(t.adapters.date);o.init(i),L0(n.displayFormats,o.formats()),this._parseOpts={parser:n.parser,round:n.round,isoWeekday:n.isoWeekday},super.init(t),this._normalized=i.normalized}parse(t,i){return t===void 0?null:Al(this,t)}beforeLayout(){super.beforeLayout(),this._cache={data:[],labels:[],all:[]}}determineDataLimits(){const t=this.options,i=this._adapter,n=t.time.unit||"day";let{min:o,max:s,minDefined:l,maxDefined:a}=this.getUserBounds();function c(d){!l&&!isNaN(d.min)&&(o=Math.min(o,d.min)),!a&&!isNaN(d.max)&&(s=Math.max(s,d.max))}(!l||!a)&&(c(this._getLabelBounds()),(t.bounds!=="ticks"||t.ticks.source!=="labels")&&c(this.getMinMax(!1))),o=we(o)&&!isNaN(o)?o:+i.startOf(Date.now(),n),s=we(s)&&!isNaN(s)?s:+i.endOf(Date.now(),n)+1,this.min=Math.min(o,s-1),this.max=Math.max(o+1,s)}_getLabelBounds(){const t=this.getLabelTimestamps();let i=Number.POSITIVE_INFINITY,n=Number.NEGATIVE_INFINITY;return t.length&&(i=t[0],n=t[t.length-1]),{min:i,max:n}}buildTicks(){const t=this.options,i=t.time,n=t.ticks,o=n.source==="labels"?this.getLabelTimestamps():this._generate();t.bounds==="ticks"&&o.length&&(this.min=this._userMin||o[0],this.max=this._userMax||o[o.length-1]);const s=this.min,l=this.max,a=gC(o,s,l);return this._unit=i.unit||(n.autoSkip?Rl(i.minUnit,this.min,this.max,this._getLabelCapacity(s)):sk(this,a.length,i.minUnit,this.min,this.max)),this._majorUnit=!n.major.enabled||this._unit==="year"?void 0:lk(this._unit),this.initOffsets(o),t.reverse&&a.reverse(),Fl(this,a,this._majorUnit)}afterAutoSkip(){this.options.offsetAfterAutoskip&&this.initOffsets(this.ticks.map(t=>+t.value))}initOffsets(t=[]){let i=0,n=0,o,s;this.options.offset&&t.length&&(o=this.getDecimalForValue(t[0]),t.length===1?i=1-o:i=(this.getDecimalForValue(t[1])-o)/2,s=this.getDecimalForValue(t[t.length-1]),t.length===1?n=s:n=(s-this.getDecimalForValue(t[t.length-2]))/2);const l=t.length<3?.5:.25;i=Ue(i,0,l),n=Ue(n,0,l),this._offsets={start:i,end:n,factor:1/(i+1+n)}}_generate(){const t=this._adapter,i=this.min,n=this.max,o=this.options,s=o.time,l=s.unit||Rl(s.minUnit,i,n,this._getLabelCapacity(i)),a=se(o.ticks.stepSize,1),c=l==="week"?s.isoWeekday:!1,d=l1(c)||c===!0,h={};let f=i,u,g;if(d&&(f=+t.startOf(f,"isoWeek",c)),f=+t.startOf(f,d?"day":l),t.diff(n,i,l)>1e5*a)throw new Error(i+" and "+n+" are too far apart with stepSize of "+a+" "+l);const v=o.ticks.source==="data"&&this.getDataTimestamps();for(u=f,g=0;u<n;u=+t.add(u,a,l),g++)kl(h,u,v);return(u===n||o.bounds==="ticks"||g===1)&&kl(h,u,v),Object.keys(h).sort(Cl).map(m=>+m)}getLabelForValue(t){const i=this._adapter,n=this.options.time;return n.tooltipFormat?i.format(t,n.tooltipFormat):i.format(t,n.displayFormats.datetime)}format(t,i){const o=this.options.time.displayFormats,s=this._unit,l=i||o[s];return this._adapter.format(t,l)}_tickFormatFunction(t,i,n,o){const s=this.options,l=s.ticks.callback;if(l)return le(l,[t,i,n],this);const a=s.time.displayFormats,c=this._unit,d=this._majorUnit,h=c&&a[c],f=d&&a[d],u=n[i],g=d&&f&&u&&u.major;return this._adapter.format(t,o||(g?f:h))}generateTickLabels(t){let i,n,o;for(i=0,n=t.length;i<n;++i)o=t[i],o.label=this._tickFormatFunction(o.value,i,t)}getDecimalForValue(t){return t===null?NaN:(t-this.min)/(this.max-this.min)}getPixelForValue(t){const i=this._offsets,n=this.getDecimalForValue(t);return this.getPixelForDecimal((i.start+n)*i.factor)}getValueForPixel(t){const i=this._offsets,n=this.getDecimalForPixel(t)/i.factor-i.end;return this.min+n*(this.max-this.min)}_getLabelSize(t){const i=this.options.ticks,n=this.ctx.measureText(t).width,o=Je(this.isHorizontal()?i.maxRotation:i.minRotation),s=Math.cos(o),l=Math.sin(o),a=this._resolveTickFontOptions(0).size;return{w:n*s+a*l,h:n*l+a*s}}_getLabelCapacity(t){const i=this.options.time,n=i.displayFormats,o=n[i.unit]||n.millisecond,s=this._tickFormatFunction(t,0,Fl(this,[t],this._majorUnit),o),l=this._getLabelSize(s),a=Math.floor(this.isHorizontal()?this.width/l.w:this.height/l.h)-1;return a>0?a:1}getDataTimestamps(){let t=this._cache.data||[],i,n;if(t.length)return t;const o=this.getMatchingVisibleMetas();if(this._normalized&&o.length)return this._cache.data=o[0].controller.getAllParsedValues(this);for(i=0,n=o.length;i<n;++i)t=t.concat(o[i].controller.getAllParsedValues(this));return this._cache.data=this.normalize(t)}getLabelTimestamps(){const t=this._cache.labels||[];let i,n;if(t.length)return t;const o=this.getLabels();for(i=0,n=o.length;i<n;++i)t.push(Al(this,o[i]));return this._cache.labels=this._normalized?t:this.normalize(t)}normalize(t){return mC(t.sort(Cl))}}j(g1,"id","time"),j(g1,"defaults",{bounds:"data",adapters:{},time:{parser:!1,unit:!1,round:!1,isoWeekday:!1,minUnit:"millisecond",displayFormats:{}},ticks:{source:"auto",callback:!1,major:{enabled:!1}}});function Ri(e,t,i){let n=0,o=e.length-1,s,l,a,c;i?(t>=e[n].pos&&t<=e[o].pos&&({lo:n,hi:o}=jn(e,"pos",t)),{pos:s,time:a}=e[n],{pos:l,time:c}=e[o]):(t>=e[n].time&&t<=e[o].time&&({lo:n,hi:o}=jn(e,"time",t)),{time:s,pos:a}=e[n],{time:l,pos:c}=e[o]);const d=l-s;return d?a+(c-a)*(t-s)/d:a}class Bl extends g1{constructor(t){super(t),this._table=[],this._minPos=void 0,this._tableRange=void 0}initOffsets(){const t=this._getTimestampsForTable(),i=this._table=this.buildLookupTable(t);this._minPos=Ri(i,this.min),this._tableRange=Ri(i,this.max)-this._minPos,super.initOffsets(t)}buildLookupTable(t){const{min:i,max:n}=this,o=[],s=[];let l,a,c,d,h;for(l=0,a=t.length;l<a;++l)d=t[l],d>=i&&d<=n&&o.push(d);if(o.length<2)return[{time:i,pos:0},{time:n,pos:1}];for(l=0,a=o.length;l<a;++l)h=o[l+1],c=o[l-1],d=o[l],Math.round((h+c)/2)!==d&&s.push({time:d,pos:l/(a-1)});return s}_generate(){const t=this.min,i=this.max;let n=super.getDataTimestamps();return(!n.includes(t)||!n.length)&&n.splice(0,0,t),(!n.includes(i)||n.length===1)&&n.push(i),n.sort((o,s)=>o-s)}_getTimestampsForTable(){let t=this._cache.all||[];if(t.length)return t;const i=this.getDataTimestamps(),n=this.getLabelTimestamps();return i.length&&n.length?t=this.normalize(i.concat(n)):t=i.length?i:n,t=this._cache.all=t,t}getDecimalForValue(t){return(Ri(this._table,t)-this._minPos)/this._tableRange}getValueForPixel(t){const i=this._offsets,n=this.getDecimalForPixel(t)/i.factor-i.end;return Ri(this._table,n*this._tableRange+this._minPos,!0)}}j(Bl,"id","timeseries"),j(Bl,"defaults",g1.defaults);const D5="label";function El(e,t){typeof e=="function"?e(t):e&&(e.current=t)}function ck(e,t){const i=e.options;i&&t&&Object.assign(i,t)}function T5(e,t){e.labels=t}function V5(e,t){let i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:D5;const n=[];e.datasets=t.map(o=>{const s=e.datasets.find(l=>l[i]===o[i]);return!s||!o.data||n.includes(s)?{...o}:(n.push(s),Object.assign(s,o),s)})}function dk(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:D5;const i={labels:[],datasets:[]};return T5(i,e.labels),V5(i,e.datasets,t),i}function hk(e,t){const{height:i=150,width:n=300,redraw:o=!1,datasetIdKey:s,type:l,data:a,options:c,plugins:d=[],fallbackContent:h,updateMode:f,...u}=e,g=M.exports.useRef(null),v=M.exports.useRef(),m=()=>{!g.current||(v.current=new Qe(g.current,{type:l,data:dk(a,s),options:c&&{...c},plugins:d}),El(t,v.current))},w=()=>{El(t,null),v.current&&(v.current.destroy(),v.current=null)};return M.exports.useEffect(()=>{!o&&v.current&&c&&ck(v.current,c)},[o,c]),M.exports.useEffect(()=>{!o&&v.current&&T5(v.current.config.data,a.labels)},[o,a.labels]),M.exports.useEffect(()=>{!o&&v.current&&a.datasets&&V5(v.current.config.data,a.datasets,s)},[o,a.datasets]),M.exports.useEffect(()=>{!v.current||(o?(w(),setTimeout(m)):v.current.update(f))},[o,c,a.labels,a.datasets,f]),M.exports.useEffect(()=>{!v.current||(w(),setTimeout(m))},[l]),M.exports.useEffect(()=>(m(),()=>w()),[]),r("canvas",{...Object.assign({ref:g,role:"img",height:i,width:n},u),children:h})}const fk=M.exports.forwardRef(hk);function uk(e,t){return Qe.register(t),M.exports.forwardRef((i,n)=>r(fk,{...Object.assign({},i,{ref:n,type:e})}))}const pk=uk("doughnut",Z0);var P5=M.exports.createContext(typeof HTMLElement<"u"?jl({key:"css"}):null);P5.Provider;var gk=function(t){return M.exports.forwardRef(function(i,n){var o=M.exports.useContext(P5);return t(i,o,n)})},vk=M.exports.createContext({}),mk=Pl,xk=function(t){return t!=="theme"},Ll=function(t){return typeof t=="string"&&t.charCodeAt(0)>96?mk:xk},Dl=function(t,i,n){var o;if(i){var s=i.shouldForwardProp;o=t.__emotion_forwardProp&&s?function(l){return t.__emotion_forwardProp(l)&&s(l)}:s}return typeof o!="function"&&n&&(o=t.__emotion_forwardProp),o},wk=function(t){var i=t.cache,n=t.serialized,o=t.isStringTag;return sr(i,n,o),ea(function(){return Ql(i,n,o)}),null},yk=function e(t,i){var n=t.__emotion_real===t,o=n&&t.__emotion_base||t,s,l;i!==void 0&&(s=i.label,l=i.target);var a=Dl(t,i,n),c=a||Ll(o),d=!c("as");return function(){var h=arguments,f=n&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(s!==void 0&&f.push("label:"+s+";"),h[0]==null||h[0].raw===void 0)f.push.apply(f,h);else{f.push(h[0][0]);for(var u=h.length,g=1;g<u;g++)f.push(h[g],h[0][g])}var v=gk(function(m,w,_){var Z=d&&m.as||o,b="",I=[],A=m;if(m.theme==null){A={};for(var D in m)A[D]=m[D];A.theme=M.exports.useContext(vk)}typeof m.className=="string"?b=ql(w.registered,I,m.className):m.className!=null&&(b=m.className+" ");var k=lr(f.concat(I),w.registered,A);b+=w.key+"-"+k.name,l!==void 0&&(b+=" "+l);var L=d&&a===void 0?Ll(Z):c,O={};for(var U in m)d&&U==="as"||L(U)&&(O[U]=m[U]);return O.className=b,O.ref=_,p(Pt,{children:[r(wk,{cache:w,serialized:k,isStringTag:typeof Z=="string"}),r(Z,{...O})]})});return v.displayName=s!==void 0?s:"Styled("+(typeof o=="string"?o:o.displayName||o.name||"Component")+")",v.defaultProps=t.defaultProps,v.__emotion_real=v,v.__emotion_base=o,v.__emotion_styles=f,v.__emotion_forwardProp=a,Object.defineProperty(v,"toString",{value:function(){return"."+l}}),v.withComponent=function(m,w){return e(m,Hi({},i,w,{shouldForwardProp:Dl(v,w,!0)})).apply(void 0,f)},v}},_k=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"],v1=yk.bind();_k.forEach(function(e){v1[e]=v1(e)});const bk=({title:e,value:t,valueColor:i})=>p(Ce.Horizontal,{width:"100%",height:"20px",justify:"space-between",align:"center",spacing:"spacing04",style:{padding:"16px 20px",boxSizing:"border-box"},children:[r(xe,{typography:"body1_400",lineClamp:1,color:i,style:{width:"100px"},children:e}),r(xe,{typography:"body1_700",children:t})]});Qe.register(I0,zR);const O5=v1.div`
|
|
1876
|
+
`):e}function TR(e,t){const{element:i,datasetIndex:n,index:o}=t,s=e.getDatasetMeta(n).controller,{label:l,value:a}=s.getLabelAndValue(o);return{chart:e,label:l,parsed:s.getParsed(o),raw:e.data.datasets[n].data[o],formattedValue:a,dataset:s.getDataset(),dataIndex:o,datasetIndex:n,element:i}}function vl(e,t){const i=e.chart.ctx,{body:n,footer:o,title:s}=e,{boxWidth:l,boxHeight:a}=t,c=Ee(t.bodyFont),d=Ee(t.titleFont),h=Ee(t.footerFont),f=s.length,u=o.length,g=n.length,v=We(t.padding);let m=v.height,w=0,_=n.reduce((I,A)=>I+A.before.length+A.lines.length+A.after.length,0);if(_+=e.beforeBody.length+e.afterBody.length,f&&(m+=f*d.lineHeight+(f-1)*t.titleSpacing+t.titleMarginBottom),_){const I=t.displayColors?Math.max(a,c.lineHeight):c.lineHeight;m+=g*I+(_-g)*c.lineHeight+(_-1)*t.bodySpacing}u&&(m+=t.footerMarginTop+u*h.lineHeight+(u-1)*t.footerSpacing);let Z=0;const b=function(I){w=Math.max(w,i.measureText(I).width+Z)};return i.save(),i.font=d.string,ee(e.title,b),i.font=c.string,ee(e.beforeBody.concat(e.afterBody),b),Z=t.displayColors?l+2+t.boxPadding:0,ee(n,I=>{ee(I.before,b),ee(I.lines,b),ee(I.after,b)}),Z=0,i.font=h.string,ee(e.footer,b),i.restore(),w+=v.width,{width:w,height:m}}function VR(e,t){const{y:i,height:n}=t;return i<n/2?"top":i>e.height-n/2?"bottom":"center"}function PR(e,t,i,n){const{x:o,width:s}=n,l=i.caretSize+i.caretPadding;if(e==="left"&&o+s+l>t.width||e==="right"&&o-s-l<0)return!0}function OR(e,t,i,n){const{x:o,width:s}=i,{width:l,chartArea:{left:a,right:c}}=e;let d="center";return n==="center"?d=o<=(a+c)/2?"left":"right":o<=s/2?d="left":o>=l-s/2&&(d="right"),PR(d,e,t,i)&&(d="center"),d}function ml(e,t,i){const n=i.yAlign||t.yAlign||VR(e,i);return{xAlign:i.xAlign||t.xAlign||OR(e,t,i,n),yAlign:n}}function HR(e,t){let{x:i,width:n}=e;return t==="right"?i-=n:t==="center"&&(i-=n/2),i}function $R(e,t,i){let{y:n,height:o}=e;return t==="top"?n+=i:t==="bottom"?n-=o+i:n-=o/2,n}function xl(e,t,i,n){const{caretSize:o,caretPadding:s,cornerRadius:l}=e,{xAlign:a,yAlign:c}=i,d=o+s,{topLeft:h,topRight:f,bottomLeft:u,bottomRight:g}=V0(l);let v=HR(t,a);const m=$R(t,c,d);return c==="center"?a==="left"?v+=d:a==="right"&&(v-=d):a==="left"?v-=Math.max(h,u)+o:a==="right"&&(v+=Math.max(f,g)+o),{x:ze(v,0,n.width-t.width),y:ze(m,0,n.height-t.height)}}function Ci(e,t,i){const n=We(i.padding);return t==="center"?e.x+e.width/2:t==="right"?e.x+e.width-n.right:e.x+n.left}function wl(e){return je([],st(e))}function UR(e,t,i){return Wt(e,{tooltip:t,tooltipItems:i,type:"tooltip"})}function yl(e,t){const i=t&&t.dataset&&t.dataset.tooltip&&t.dataset.tooltip.callbacks;return i?e.override(i):e}const E5={beforeTitle:rt,title(e){if(e.length>0){const t=e[0],i=t.chart.data.labels,n=i?i.length:0;if(this&&this.options&&this.options.mode==="dataset")return t.dataset.label||"";if(t.label)return t.label;if(n>0&&t.dataIndex<n)return i[t.dataIndex]}return""},afterTitle:rt,beforeBody:rt,beforeLabel:rt,label(e){if(this&&this.options&&this.options.mode==="dataset")return e.label+": "+e.formattedValue||e.formattedValue;let t=e.dataset.label||"";t&&(t+=": ");const i=e.formattedValue;return oe(i)||(t+=i),t},labelColor(e){const i=e.chart.getDatasetMeta(e.datasetIndex).controller.getStyle(e.dataIndex);return{borderColor:i.borderColor,backgroundColor:i.backgroundColor,borderWidth:i.borderWidth,borderDash:i.borderDash,borderDashOffset:i.borderDashOffset,borderRadius:0}},labelTextColor(){return this.options.bodyColor},labelPointStyle(e){const i=e.chart.getDatasetMeta(e.datasetIndex).controller.getStyle(e.dataIndex);return{pointStyle:i.pointStyle,rotation:i.rotation}},afterLabel:rt,afterBody:rt,beforeFooter:rt,footer:rt,afterFooter:rt};function Ce(e,t,i,n){const o=e[t].call(i,n);return typeof o>"u"?E5[t].call(i,n):o}class qn extends s0{constructor(t){super(),this.opacity=0,this._active=[],this._eventPosition=void 0,this._size=void 0,this._cachedAnimations=void 0,this._tooltipItems=[],this.$animations=void 0,this.$context=void 0,this.chart=t.chart,this.options=t.options,this.dataPoints=void 0,this.title=void 0,this.beforeBody=void 0,this.body=void 0,this.afterBody=void 0,this.footer=void 0,this.xAlign=void 0,this.yAlign=void 0,this.x=void 0,this.y=void 0,this.height=void 0,this.width=void 0,this.caretX=void 0,this.caretY=void 0,this.labelColors=void 0,this.labelPointStyles=void 0,this.labelTextColors=void 0}initialize(t){this.options=t,this._cachedAnimations=void 0,this.$context=void 0}_resolveAnimations(){const t=this._cachedAnimations;if(t)return t;const i=this.chart,n=this.options.setContext(this.getContext()),o=n.enabled&&i.options.animation&&n.animations,s=new b5(this.chart,o);return o._cacheable&&(this._cachedAnimations=Object.freeze(s)),s}getContext(){return this.$context||(this.$context=UR(this.chart.getContext(),this,this._tooltipItems))}getTitle(t,i){const{callbacks:n}=i,o=Ce(n,"beforeTitle",this,t),s=Ce(n,"title",this,t),l=Ce(n,"afterTitle",this,t);let a=[];return a=je(a,st(o)),a=je(a,st(s)),a=je(a,st(l)),a}getBeforeBody(t,i){return wl(Ce(i.callbacks,"beforeBody",this,t))}getBody(t,i){const{callbacks:n}=i,o=[];return ee(t,s=>{const l={before:[],lines:[],after:[]},a=yl(n,s);je(l.before,st(Ce(a,"beforeLabel",this,s))),je(l.lines,Ce(a,"label",this,s)),je(l.after,st(Ce(a,"afterLabel",this,s))),o.push(l)}),o}getAfterBody(t,i){return wl(Ce(i.callbacks,"afterBody",this,t))}getFooter(t,i){const{callbacks:n}=i,o=Ce(n,"beforeFooter",this,t),s=Ce(n,"footer",this,t),l=Ce(n,"afterFooter",this,t);let a=[];return a=je(a,st(o)),a=je(a,st(s)),a=je(a,st(l)),a}_createItems(t){const i=this._active,n=this.chart.data,o=[],s=[],l=[];let a=[],c,d;for(c=0,d=i.length;c<d;++c)a.push(TR(this.chart,i[c]));return t.filter&&(a=a.filter((h,f,u)=>t.filter(h,f,u,n))),t.itemSort&&(a=a.sort((h,f)=>t.itemSort(h,f,n))),ee(a,h=>{const f=yl(t.callbacks,h);o.push(Ce(f,"labelColor",this,h)),s.push(Ce(f,"labelPointStyle",this,h)),l.push(Ce(f,"labelTextColor",this,h))}),this.labelColors=o,this.labelPointStyles=s,this.labelTextColors=l,this.dataPoints=a,a}update(t,i){const n=this.options.setContext(this.getContext()),o=this._active;let s,l=[];if(!o.length)this.opacity!==0&&(s={opacity:0});else{const a=C0[n.position].call(this,o,this._eventPosition);l=this._createItems(n),this.title=this.getTitle(l,n),this.beforeBody=this.getBeforeBody(l,n),this.body=this.getBody(l,n),this.afterBody=this.getAfterBody(l,n),this.footer=this.getFooter(l,n);const c=this._size=vl(this,n),d=Object.assign({},a,c),h=ml(this.chart,n,d),f=xl(n,d,h,this.chart);this.xAlign=h.xAlign,this.yAlign=h.yAlign,s={opacity:1,x:f.x,y:f.y,width:c.width,height:c.height,caretX:a.x,caretY:a.y}}this._tooltipItems=l,this.$context=void 0,s&&this._resolveAnimations().update(this,s),t&&n.external&&n.external.call(this,{chart:this.chart,tooltip:this,replay:i})}drawCaret(t,i,n,o){const s=this.getCaretPosition(t,n,o);i.lineTo(s.x1,s.y1),i.lineTo(s.x2,s.y2),i.lineTo(s.x3,s.y3)}getCaretPosition(t,i,n){const{xAlign:o,yAlign:s}=this,{caretSize:l,cornerRadius:a}=n,{topLeft:c,topRight:d,bottomLeft:h,bottomRight:f}=V0(a),{x:u,y:g}=t,{width:v,height:m}=i;let w,_,Z,b,I,A;return s==="center"?(I=g+m/2,o==="left"?(w=u,_=w-l,b=I+l,A=I-l):(w=u+v,_=w+l,b=I-l,A=I+l),Z=w):(o==="left"?_=u+Math.max(c,h)+l:o==="right"?_=u+v-Math.max(d,f)-l:_=this.caretX,s==="top"?(b=g,I=b-l,w=_-l,Z=_+l):(b=g+m,I=b+l,w=_+l,Z=_-l),A=b),{x1:w,x2:_,x3:Z,y1:b,y2:I,y3:A}}drawTitle(t,i,n){const o=this.title,s=o.length;let l,a,c;if(s){const d=wn(n.rtl,this.x,this.width);for(t.x=Ci(this,n.titleAlign,n),i.textAlign=d.textAlign(n.titleAlign),i.textBaseline="middle",l=Ee(n.titleFont),a=n.titleSpacing,i.fillStyle=n.titleColor,i.font=l.string,c=0;c<s;++c)i.fillText(o[c],d.x(t.x),t.y+l.lineHeight/2),t.y+=l.lineHeight+a,c+1===s&&(t.y+=n.titleMarginBottom-a)}}_drawColorBox(t,i,n,o,s){const l=this.labelColors[n],a=this.labelPointStyles[n],{boxHeight:c,boxWidth:d}=s,h=Ee(s.bodyFont),f=Ci(this,"left",s),u=o.x(f),g=c<h.lineHeight?(h.lineHeight-c)/2:0,v=i.y+g;if(s.usePointStyle){const m={radius:Math.min(d,c)/2,pointStyle:a.pointStyle,rotation:a.rotation,borderWidth:1},w=o.leftForLtr(u,d)+d/2,_=v+c/2;t.strokeStyle=s.multiKeyBackground,t.fillStyle=s.multiKeyBackground,Os(t,m,w,_),t.strokeStyle=l.borderColor,t.fillStyle=l.backgroundColor,Os(t,m,w,_)}else{t.lineWidth=Y(l.borderWidth)?Math.max(...Object.values(l.borderWidth)):l.borderWidth||1,t.strokeStyle=l.borderColor,t.setLineDash(l.borderDash||[]),t.lineDashOffset=l.borderDashOffset||0;const m=o.leftForLtr(u,d),w=o.leftForLtr(o.xPlus(u,1),d-2),_=V0(l.borderRadius);Object.values(_).some(Z=>Z!==0)?(t.beginPath(),t.fillStyle=s.multiKeyBackground,Xn(t,{x:m,y:v,w:d,h:c,radius:_}),t.fill(),t.stroke(),t.fillStyle=l.backgroundColor,t.beginPath(),Xn(t,{x:w,y:v+1,w:d-2,h:c-2,radius:_}),t.fill()):(t.fillStyle=s.multiKeyBackground,t.fillRect(m,v,d,c),t.strokeRect(m,v,d,c),t.fillStyle=l.backgroundColor,t.fillRect(w,v+1,d-2,c-2))}t.fillStyle=this.labelTextColors[n]}drawBody(t,i,n){const{body:o}=this,{bodySpacing:s,bodyAlign:l,displayColors:a,boxHeight:c,boxWidth:d,boxPadding:h}=n,f=Ee(n.bodyFont);let u=f.lineHeight,g=0;const v=wn(n.rtl,this.x,this.width),m=function(L){i.fillText(L,v.x(t.x+g),t.y+u/2),t.y+=u+s},w=v.textAlign(l);let _,Z,b,I,A,T,k;for(i.textAlign=l,i.textBaseline="middle",i.font=f.string,t.x=Ci(this,w,n),i.fillStyle=n.bodyColor,ee(this.beforeBody,m),g=a&&w!=="right"?l==="center"?d/2+h:d+2+h:0,I=0,T=o.length;I<T;++I){for(_=o[I],Z=this.labelTextColors[I],i.fillStyle=Z,ee(_.before,m),b=_.lines,a&&b.length&&(this._drawColorBox(i,t,I,v,n),u=Math.max(f.lineHeight,c)),A=0,k=b.length;A<k;++A)m(b[A]),u=f.lineHeight;ee(_.after,m)}g=0,u=f.lineHeight,ee(this.afterBody,m),t.y-=s}drawFooter(t,i,n){const o=this.footer,s=o.length;let l,a;if(s){const c=wn(n.rtl,this.x,this.width);for(t.x=Ci(this,n.footerAlign,n),t.y+=n.footerMarginTop,i.textAlign=c.textAlign(n.footerAlign),i.textBaseline="middle",l=Ee(n.footerFont),i.fillStyle=n.footerColor,i.font=l.string,a=0;a<s;++a)i.fillText(o[a],c.x(t.x),t.y+l.lineHeight/2),t.y+=l.lineHeight+n.footerSpacing}}drawBackground(t,i,n,o){const{xAlign:s,yAlign:l}=this,{x:a,y:c}=t,{width:d,height:h}=n,{topLeft:f,topRight:u,bottomLeft:g,bottomRight:v}=V0(o.cornerRadius);i.fillStyle=o.backgroundColor,i.strokeStyle=o.borderColor,i.lineWidth=o.borderWidth,i.beginPath(),i.moveTo(a+f,c),l==="top"&&this.drawCaret(t,i,n,o),i.lineTo(a+d-u,c),i.quadraticCurveTo(a+d,c,a+d,c+u),l==="center"&&s==="right"&&this.drawCaret(t,i,n,o),i.lineTo(a+d,c+h-v),i.quadraticCurveTo(a+d,c+h,a+d-v,c+h),l==="bottom"&&this.drawCaret(t,i,n,o),i.lineTo(a+g,c+h),i.quadraticCurveTo(a,c+h,a,c+h-g),l==="center"&&s==="left"&&this.drawCaret(t,i,n,o),i.lineTo(a,c+f),i.quadraticCurveTo(a,c,a+f,c),i.closePath(),i.fill(),o.borderWidth>0&&i.stroke()}_updateAnimationTarget(t){const i=this.chart,n=this.$animations,o=n&&n.x,s=n&&n.y;if(o||s){const l=C0[t.position].call(this,this._active,this._eventPosition);if(!l)return;const a=this._size=vl(this,t),c=Object.assign({},l,this._size),d=ml(i,t,c),h=xl(t,c,d,i);(o._to!==h.x||s._to!==h.y)&&(this.xAlign=d.xAlign,this.yAlign=d.yAlign,this.width=a.width,this.height=a.height,this.caretX=l.x,this.caretY=l.y,this._resolveAnimations().update(this,h))}}_willRender(){return!!this.opacity}draw(t){const i=this.options.setContext(this.getContext());let n=this.opacity;if(!n)return;this._updateAnimationTarget(i);const o={width:this.width,height:this.height},s={x:this.x,y:this.y};n=Math.abs(n)<.001?0:n;const l=We(i.padding),a=this.title.length||this.beforeBody.length||this.body.length||this.afterBody.length||this.footer.length;i.enabled&&a&&(t.save(),t.globalAlpha=n,this.drawBackground(s,t,o,i),rA(t,i.textDirection),s.y+=l.top,this.drawTitle(s,t,i),this.drawBody(s,t,i),this.drawFooter(s,t,i),oA(t,i.textDirection),t.restore())}getActiveElements(){return this._active||[]}setActiveElements(t,i){const n=this._active,o=t.map(({datasetIndex:a,index:c})=>{const d=this.chart.getDatasetMeta(a);if(!d)throw new Error("Cannot find a dataset at index "+a);return{datasetIndex:a,element:d.data[c],index:c}}),s=!i1(n,o),l=this._positionChanged(o,i);(s||l)&&(this._active=o,this._eventPosition=i,this._ignoreReplayEvents=!0,this.update(!0))}handleEvent(t,i,n=!0){if(i&&this._ignoreReplayEvents)return!1;this._ignoreReplayEvents=!1;const o=this.options,s=this._active||[],l=this._getActiveElements(t,s,i,n),a=this._positionChanged(l,t),c=i||!i1(l,s)||a;return c&&(this._active=l,(o.enabled||o.external)&&(this._eventPosition={x:t.x,y:t.y},this.update(!0,i))),c}_getActiveElements(t,i,n,o){const s=this.options;if(t.type==="mouseout")return[];if(!o)return i.filter(a=>this.chart.data.datasets[a.datasetIndex]&&this.chart.getDatasetMeta(a.datasetIndex).controller.getParsed(a.index)!==void 0);const l=this.chart.getElementsAtEventForMode(t,s.mode,s,n);return s.reverse&&l.reverse(),l}_positionChanged(t,i){const{caretX:n,caretY:o,options:s}=this,l=C0[s.position].call(this,t,i);return l!==!1&&(n!==l.x||o!==l.y)}}G(qn,"positioners",C0);var zR={id:"tooltip",_element:qn,positioners:C0,afterInit(e,t,i){i&&(e.tooltip=new qn({chart:e,options:i}))},beforeUpdate(e,t,i){e.tooltip&&e.tooltip.initialize(i)},reset(e,t,i){e.tooltip&&e.tooltip.initialize(i)},afterDraw(e){const t=e.tooltip;if(t&&t._willRender()){const i={tooltip:t};if(e.notifyPlugins("beforeTooltipDraw",{...i,cancelable:!0})===!1)return;t.draw(e.ctx),e.notifyPlugins("afterTooltipDraw",i)}},afterEvent(e,t){if(e.tooltip){const i=t.replay;e.tooltip.handleEvent(t.event,i,t.inChartArea)&&(t.changed=!0)}},defaults:{enabled:!0,external:null,position:"average",backgroundColor:"rgba(0,0,0,0.8)",titleColor:"#fff",titleFont:{weight:"bold"},titleSpacing:2,titleMarginBottom:6,titleAlign:"left",bodyColor:"#fff",bodySpacing:2,bodyFont:{},bodyAlign:"left",footerColor:"#fff",footerSpacing:2,footerMarginTop:6,footerFont:{weight:"bold"},footerAlign:"left",padding:6,caretPadding:2,caretSize:5,cornerRadius:6,boxHeight:(e,t)=>t.bodyFont.size,boxWidth:(e,t)=>t.bodyFont.size,multiKeyBackground:"#fff",displayColors:!0,boxPadding:0,borderColor:"rgba(0,0,0,0)",borderWidth:0,animation:{duration:400,easing:"easeOutQuart"},animations:{numbers:{type:"number",properties:["x","y","width","height","caretX","caretY"]},opacity:{easing:"linear",duration:200}},callbacks:E5},defaultRoutes:{bodyFont:"font",footerFont:"font",titleFont:"font"},descriptors:{_scriptable:e=>e!=="filter"&&e!=="itemSort"&&e!=="external",_indexable:!1,callbacks:{_scriptable:!1,_indexable:!1},animation:{_fallback:!1},animations:{_fallback:"animation"}},additionalOptionScopes:["interaction"]};function WR(e,t){const i=[],{bounds:o,step:s,min:l,max:a,precision:c,count:d,maxTicks:h,maxDigits:f,includeBounds:u}=e,g=s||1,v=h-1,{min:m,max:w}=t,_=!oe(l),Z=!oe(a),b=!oe(d),I=(w-m)/(f+1);let A=ks((w-m)/v/g)*g,T,k,L,O;if(A<1e-14&&!_&&!Z)return[{value:m},{value:w}];O=Math.ceil(w/A)-Math.floor(m/A),O>v&&(A=ks(O*A/v/g)*g),oe(c)||(T=Math.pow(10,c),A=Math.ceil(A*T)/T),o==="ticks"?(k=Math.floor(m/A)*A,L=Math.ceil(w/A)*A):(k=m,L=w),_&&Z&&s&&dC((a-l)/s,A/1e3)?(O=Math.round(Math.min((a-l)/A,h)),A=(a-l)/O,k=l,L=a):b?(k=_?l:k,L=Z?a:L,O=d-1,A=(L-k)/O):(O=(L-k)/A,Di(O,Math.round(O),A/1e3)?O=Math.round(O):O=Math.ceil(O));const U=Math.max(Fs(A),Fs(k));T=Math.pow(10,oe(c)?U:c),k=Math.round(k*T)/T,L=Math.round(L*T)/T;let N=0;for(_&&(u&&k!==l?(i.push({value:l}),k<l&&N++,Di(Math.round((k+N*A)*T)/T,l,_l(l,I,e))&&N++):k<l&&N++);N<O;++N){const H=Math.round((k+N*A)*T)/T;if(Z&&H>a)break;i.push({value:H})}return Z&&u&&L!==a?i.length&&Di(i[i.length-1].value,a,_l(a,I,e))?i[i.length-1].value=a:i.push({value:a}):(!Z||L===a)&&i.push({value:L}),i}function _l(e,t,{horizontal:i,minRotation:n}){const o=Je(n),s=(i?Math.sin(o):Math.cos(o))||.001,l=.75*t*(""+e).length;return Math.min(t/s,l)}class p1 extends c0{constructor(t){super(t),this.start=void 0,this.end=void 0,this._startValue=void 0,this._endValue=void 0,this._valueRange=0}parse(t,i){return oe(t)||(typeof t=="number"||t instanceof Number)&&!isFinite(+t)?null:+t}handleTickRangeOptions(){const{beginAtZero:t}=this.options,{minDefined:i,maxDefined:n}=this.getUserBounds();let{min:o,max:s}=this;const l=c=>o=i?o:c,a=c=>s=n?s:c;if(t){const c=s1(o),d=s1(s);c<0&&d<0?a(0):c>0&&d>0&&l(0)}if(o===s){let c=s===0?1:Math.abs(s*.05);a(s+c),t||l(o-c)}this.min=o,this.max=s}getTickLimit(){const t=this.options.ticks;let{maxTicksLimit:i,stepSize:n}=t,o;return n?(o=Math.ceil(this.max/n)-Math.floor(this.min/n)+1,o>1e3&&(console.warn(`scales.${this.id}.ticks.stepSize: ${n} would result generating up to ${o} ticks. Limiting to 1000.`),o=1e3)):(o=this.computeTickLimit(),i=i||11),i&&(o=Math.min(i,o)),o}computeTickLimit(){return Number.POSITIVE_INFINITY}buildTicks(){const t=this.options,i=t.ticks;let n=this.getTickLimit();n=Math.max(2,n);const o={maxTicks:n,bounds:t.bounds,min:t.min,max:t.max,precision:i.precision,step:i.stepSize,count:i.count,maxDigits:this._maxDigits(),horizontal:this.isHorizontal(),minRotation:i.minRotation||0,includeBounds:i.includeBounds!==!1},s=this._range||this,l=WR(o,s);return t.bounds==="ticks"&&c5(l,this,"value"),t.reverse?(l.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),l}configure(){const t=this.ticks;let i=this.min,n=this.max;if(super.configure(),this.options.offset&&t.length){const o=(n-i)/Math.max(t.length-1,1)/2;i-=o,n+=o}this._startValue=i,this._endValue=n,this._valueRange=n-i}getLabelForValue(t){return z1(t,this.chart.options.locale,this.options.ticks.format)}}class bl extends p1{determineDataLimits(){const{min:t,max:i}=this.getMinMax(!0);this.min=we(t)?t:0,this.max=we(i)?i:1,this.handleTickRangeOptions()}computeTickLimit(){const t=this.isHorizontal(),i=t?this.width:this.height,n=Je(this.options.ticks.minRotation),o=(t?Math.sin(n):Math.cos(n))||.001,s=this._resolveTickFontOptions(0);return Math.ceil(i/Math.min(40,s.lineHeight/o))}getPixelForValue(t){return t===null?NaN:this.getPixelForDecimal((t-this._startValue)/this._valueRange)}getValueForPixel(t){return this._startValue+this.getDecimalForPixel(t)*this._valueRange}}G(bl,"id","linear"),G(bl,"defaults",{ticks:{callback:W1.formatters.numeric}});const J0=e=>Math.floor(mt(e)),Ft=(e,t)=>Math.pow(10,J0(e)+t);function Ml(e){return e/Math.pow(10,J0(e))===1}function Zl(e,t,i){const n=Math.pow(10,i),o=Math.floor(e/n);return Math.ceil(t/n)-o}function GR(e,t){const i=t-e;let n=J0(i);for(;Zl(e,t,n)>10;)n++;for(;Zl(e,t,n)<10;)n--;return Math.min(n,J0(e))}function jR(e,{min:t,max:i}){t=Be(e.min,t);const n=[],o=J0(t);let s=GR(t,i),l=s<0?Math.pow(10,Math.abs(s)):1;const a=Math.pow(10,s),c=o>s?Math.pow(10,o):0,d=Math.round((t-c)*l)/l,h=Math.floor((t-c)/a/10)*a*10;let f=Math.floor((d-h)/Math.pow(10,s)),u=Be(e.min,Math.round((c+h+f*Math.pow(10,s))*l)/l);for(;u<i;)n.push({value:u,major:Ml(u),significand:f}),f>=10?f=f<15?15:20:f++,f>=20&&(s++,f=2,l=s>=0?1:l),u=Math.round((c+h+f*Math.pow(10,s))*l)/l;const g=Be(e.max,u);return n.push({value:g,major:Ml(g),significand:f}),n}class Sl extends c0{constructor(t){super(t),this.start=void 0,this.end=void 0,this._startValue=void 0,this._valueRange=0}parse(t,i){const n=p1.prototype.parse.apply(this,[t,i]);if(n===0){this._zero=!0;return}return we(n)&&n>0?n:null}determineDataLimits(){const{min:t,max:i}=this.getMinMax(!0);this.min=we(t)?Math.max(0,t):null,this.max=we(i)?Math.max(0,i):null,this.options.beginAtZero&&(this._zero=!0),this._zero&&this.min!==this._suggestedMin&&!we(this._userMin)&&(this.min=t===Ft(this.min,0)?Ft(this.min,-1):Ft(this.min,0)),this.handleTickRangeOptions()}handleTickRangeOptions(){const{minDefined:t,maxDefined:i}=this.getUserBounds();let n=this.min,o=this.max;const s=a=>n=t?n:a,l=a=>o=i?o:a;n===o&&(n<=0?(s(1),l(10)):(s(Ft(n,-1)),l(Ft(o,1)))),n<=0&&s(Ft(o,-1)),o<=0&&l(Ft(n,1)),this.min=n,this.max=o}buildTicks(){const t=this.options,i={min:this._userMin,max:this._userMax},n=jR(i,this);return t.bounds==="ticks"&&c5(n,this,"value"),t.reverse?(n.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),n}getLabelForValue(t){return t===void 0?"0":z1(t,this.chart.options.locale,this.options.ticks.format)}configure(){const t=this.min;super.configure(),this._startValue=mt(t),this._valueRange=mt(this.max)-mt(t)}getPixelForValue(t){return(t===void 0||t===0)&&(t=this.min),t===null||isNaN(t)?NaN:this.getPixelForDecimal(t===this.min?0:(mt(t)-this._startValue)/this._valueRange)}getValueForPixel(t){const i=this.getDecimalForPixel(t);return Math.pow(10,this._startValue+i*this._valueRange)}}G(Sl,"id","logarithmic"),G(Sl,"defaults",{ticks:{callback:W1.formatters.logarithmic,major:{enabled:!0}}});function Qn(e){const t=e.ticks;if(t.display&&e.display){const i=We(t.backdropPadding);return se(t.font&&t.font.size,he.font.size)+i.height}return 0}function NR(e,t,i){return i=ae(i)?i:[i],{w:RC(e,t.string,i),h:i.length*t.lineHeight}}function Il(e,t,i,n,o){return e===n||e===o?{start:t-i/2,end:t+i/2}:e<n||e>o?{start:t-i,end:t}:{start:t,end:t+i}}function XR(e){const t={l:e.left+e._padding.left,r:e.right-e._padding.right,t:e.top+e._padding.top,b:e.bottom-e._padding.bottom},i=Object.assign({},t),n=[],o=[],s=e._pointLabels.length,l=e.options.pointLabels,a=l.centerPointLabels?pe/s:0;for(let c=0;c<s;c++){const d=l.setContext(e.getPointLabelContext(c));o[c]=d.padding;const h=e.getPointPosition(c,e.drawingArea+o[c],a),f=Ee(d.font),u=NR(e.ctx,f,e._pointLabels[c]);n[c]=u;const g=Ye(e.getIndexAngle(c)+a),v=Math.round($r(g)),m=Il(v,h.x,u.w,0,180),w=Il(v,h.y,u.h,90,270);YR(i,t,g,m,w)}e.setCenterPoint(t.l-i.l,i.r-t.r,t.t-i.t,i.b-t.b),e._pointLabelItems=QR(e,n,o)}function YR(e,t,i,n,o){const s=Math.abs(Math.sin(i)),l=Math.abs(Math.cos(i));let a=0,c=0;n.start<t.l?(a=(t.l-n.start)/s,e.l=Math.min(e.l,t.l-a)):n.end>t.r&&(a=(n.end-t.r)/s,e.r=Math.max(e.r,t.r+a)),o.start<t.t?(c=(t.t-o.start)/l,e.t=Math.min(e.t,t.t-c)):o.end>t.b&&(c=(o.end-t.b)/l,e.b=Math.max(e.b,t.b+c))}function KR(e,t,i){const n=e.drawingArea,{extra:o,additionalAngle:s,padding:l,size:a}=i,c=e.getPointPosition(t,n+o+l,s),d=Math.round($r(Ye(c.angle+de))),h=tk(c.y,a.h,d),f=JR(d),u=ek(c.x,a.w,f);return{visible:!0,x:c.x,y:h,textAlign:f,left:u,top:h,right:u+a.w,bottom:h+a.h}}function qR(e,t){if(!t)return!0;const{left:i,top:n,right:o,bottom:s}=e;return!(Qt({x:i,y:n},t)||Qt({x:i,y:s},t)||Qt({x:o,y:n},t)||Qt({x:o,y:s},t))}function QR(e,t,i){const n=[],o=e._pointLabels.length,s=e.options,{centerPointLabels:l,display:a}=s.pointLabels,c={extra:Qn(s)/2,additionalAngle:l?pe/o:0};let d;for(let h=0;h<o;h++){c.padding=i[h],c.size=t[h];const f=KR(e,h,c);n.push(f),a==="auto"&&(f.visible=qR(f,d),f.visible&&(d=f))}return n}function JR(e){return e===0||e===180?"center":e<180?"left":"right"}function ek(e,t,i){return i==="right"?e-=t:i==="center"&&(e-=t/2),e}function tk(e,t,i){return i===90||i===270?e-=t/2:(i>270||i<90)&&(e-=t),e}function ik(e,t,i){const{left:n,top:o,right:s,bottom:l}=i,{backdropColor:a}=t;if(!oe(a)){const c=V0(t.borderRadius),d=We(t.backdropPadding);e.fillStyle=a;const h=n-d.left,f=o-d.top,u=s-n+d.width,g=l-o+d.height;Object.values(c).some(v=>v!==0)?(e.beginPath(),Xn(e,{x:h,y:f,w:u,h:g,radius:c}),e.fill()):e.fillRect(h,f,u,g)}}function nk(e,t){const{ctx:i,options:{pointLabels:n}}=e;for(let o=t-1;o>=0;o--){const s=e._pointLabelItems[o];if(!s.visible)continue;const l=n.setContext(e.getPointLabelContext(o));ik(i,l,s);const a=Ee(l.font),{x:c,y:d,textAlign:h}=s;d1(i,e._pointLabels[o],c,d+a.lineHeight/2,a,{color:l.color,textAlign:h,textBaseline:"middle"})}}function L5(e,t,i,n){const{ctx:o}=e;if(i)o.arc(e.xCenter,e.yCenter,t,0,ce);else{let s=e.getPointPosition(0,t);o.moveTo(s.x,s.y);for(let l=1;l<n;l++)s=e.getPointPosition(l,t),o.lineTo(s.x,s.y)}}function rk(e,t,i,n,o){const s=e.ctx,l=t.circular,{color:a,lineWidth:c}=t;!l&&!n||!a||!c||i<0||(s.save(),s.strokeStyle=a,s.lineWidth=c,s.setLineDash(o.dash),s.lineDashOffset=o.dashOffset,s.beginPath(),L5(e,i,l,n),s.closePath(),s.stroke(),s.restore())}function ok(e,t,i){return Wt(e,{label:i,index:t,type:"pointLabel"})}class Ai extends p1{constructor(t){super(t),this.xCenter=void 0,this.yCenter=void 0,this.drawingArea=void 0,this._pointLabels=[],this._pointLabelItems=[]}setDimensions(){const t=this._padding=We(Qn(this.options)/2),i=this.width=this.maxWidth-t.width,n=this.height=this.maxHeight-t.height;this.xCenter=Math.floor(this.left+i/2+t.left),this.yCenter=Math.floor(this.top+n/2+t.top),this.drawingArea=Math.floor(Math.min(i,n)/2)}determineDataLimits(){const{min:t,max:i}=this.getMinMax(!1);this.min=we(t)&&!isNaN(t)?t:0,this.max=we(i)&&!isNaN(i)?i:0,this.handleTickRangeOptions()}computeTickLimit(){return Math.ceil(this.drawingArea/Qn(this.options))}generateTickLabels(t){p1.prototype.generateTickLabels.call(this,t),this._pointLabels=this.getLabels().map((i,n)=>{const o=le(this.options.pointLabels.callback,[i,n],this);return o||o===0?o:""}).filter((i,n)=>this.chart.getDataVisibility(n))}fit(){const t=this.options;t.display&&t.pointLabels.display?XR(this):this.setCenterPoint(0,0,0,0)}setCenterPoint(t,i,n,o){this.xCenter+=Math.floor((t-i)/2),this.yCenter+=Math.floor((n-o)/2),this.drawingArea-=Math.min(this.drawingArea/2,Math.max(t,i,n,o))}getIndexAngle(t){const i=ce/(this._pointLabels.length||1),n=this.options.startAngle||0;return Ye(t*i+Je(n))}getDistanceFromCenterForValue(t){if(oe(t))return NaN;const i=this.drawingArea/(this.max-this.min);return this.options.reverse?(this.max-t)*i:(t-this.min)*i}getValueForDistanceFromCenter(t){if(oe(t))return NaN;const i=t/(this.drawingArea/(this.max-this.min));return this.options.reverse?this.max-i:this.min+i}getPointLabelContext(t){const i=this._pointLabels||[];if(t>=0&&t<i.length){const n=i[t];return ok(this.getContext(),t,n)}}getPointPosition(t,i,n=0){const o=this.getIndexAngle(t)-de+n;return{x:Math.cos(o)*i+this.xCenter,y:Math.sin(o)*i+this.yCenter,angle:o}}getPointPositionForValue(t,i){return this.getPointPosition(t,this.getDistanceFromCenterForValue(i))}getBasePosition(t){return this.getPointPositionForValue(t||0,this.getBaseValue())}getPointLabelPosition(t){const{left:i,top:n,right:o,bottom:s}=this._pointLabelItems[t];return{left:i,top:n,right:o,bottom:s}}drawBackground(){const{backgroundColor:t,grid:{circular:i}}=this.options;if(t){const n=this.ctx;n.save(),n.beginPath(),L5(this,this.getDistanceFromCenterForValue(this._endValue),i,this._pointLabels.length),n.closePath(),n.fillStyle=t,n.fill(),n.restore()}}drawGrid(){const t=this.ctx,i=this.options,{angleLines:n,grid:o,border:s}=i,l=this._pointLabels.length;let a,c,d;if(i.pointLabels.display&&nk(this,l),o.display&&this.ticks.forEach((h,f)=>{if(f!==0||f===0&&this.min<0){c=this.getDistanceFromCenterForValue(h.value);const u=this.getContext(f),g=o.setContext(u),v=s.setContext(u);rk(this,g,c,l,v)}}),n.display){for(t.save(),a=l-1;a>=0;a--){const h=n.setContext(this.getPointLabelContext(a)),{color:f,lineWidth:u}=h;!u||!f||(t.lineWidth=u,t.strokeStyle=f,t.setLineDash(h.borderDash),t.lineDashOffset=h.borderDashOffset,c=this.getDistanceFromCenterForValue(i.ticks.reverse?this.min:this.max),d=this.getPointPosition(a,c),t.beginPath(),t.moveTo(this.xCenter,this.yCenter),t.lineTo(d.x,d.y),t.stroke())}t.restore()}}drawBorder(){}drawLabels(){const t=this.ctx,i=this.options,n=i.ticks;if(!n.display)return;const o=this.getIndexAngle(0);let s,l;t.save(),t.translate(this.xCenter,this.yCenter),t.rotate(o),t.textAlign="center",t.textBaseline="middle",this.ticks.forEach((a,c)=>{if(c===0&&this.min>=0&&!i.reverse)return;const d=n.setContext(this.getContext(c)),h=Ee(d.font);if(s=this.getDistanceFromCenterForValue(this.ticks[c].value),d.showLabelBackdrop){t.font=h.string,l=t.measureText(a.label).width,t.fillStyle=d.backdropColor;const f=We(d.backdropPadding);t.fillRect(-l/2-f.left,-s-h.size/2-f.top,l+f.width,h.size+f.height)}d1(t,a.label,0,-s,h,{color:d.color,strokeColor:d.textStrokeColor,strokeWidth:d.textStrokeWidth})}),t.restore()}drawTitle(){}}G(Ai,"id","radialLinear"),G(Ai,"defaults",{display:!0,animate:!0,position:"chartArea",angleLines:{display:!0,lineWidth:1,borderDash:[],borderDashOffset:0},grid:{circular:!1},startAngle:0,ticks:{showLabelBackdrop:!0,callback:W1.formatters.numeric},pointLabels:{backdropColor:void 0,backdropPadding:2,display:!0,font:{size:10},callback(t){return t},padding:5,centerPointLabels:!1}}),G(Ai,"defaultRoutes",{"angleLines.color":"borderColor","pointLabels.color":"color","ticks.color":"color"}),G(Ai,"descriptors",{angleLines:{_fallback:"grid"}});const j1={millisecond:{common:!0,size:1,steps:1e3},second:{common:!0,size:1e3,steps:60},minute:{common:!0,size:6e4,steps:60},hour:{common:!0,size:36e5,steps:24},day:{common:!0,size:864e5,steps:30},week:{common:!1,size:6048e5,steps:4},month:{common:!0,size:2628e6,steps:12},quarter:{common:!1,size:7884e6,steps:4},year:{common:!0,size:3154e7}},Re=Object.keys(j1);function Cl(e,t){return e-t}function Al(e,t){if(oe(t))return null;const i=e._adapter,{parser:n,round:o,isoWeekday:s}=e._parseOpts;let l=t;return typeof n=="function"&&(l=n(l)),we(l)||(l=typeof n=="string"?i.parse(l,n):i.parse(l)),l===null?null:(o&&(l=o==="week"&&(l1(s)||s===!0)?i.startOf(l,"isoWeek",s):i.startOf(l,o)),+l)}function Rl(e,t,i,n){const o=Re.length;for(let s=Re.indexOf(e);s<o-1;++s){const l=j1[Re[s]],a=l.steps?l.steps:Number.MAX_SAFE_INTEGER;if(l.common&&Math.ceil((i-t)/(a*l.size))<=n)return Re[s]}return Re[o-1]}function sk(e,t,i,n,o){for(let s=Re.length-1;s>=Re.indexOf(i);s--){const l=Re[s];if(j1[l].common&&e._adapter.diff(o,n,l)>=t-1)return l}return Re[i?Re.indexOf(i):0]}function lk(e){for(let t=Re.indexOf(e)+1,i=Re.length;t<i;++t)if(j1[Re[t]].common)return Re[t]}function kl(e,t,i){if(!i)e[t]=!0;else if(i.length){const{lo:n,hi:o}=Ur(i,t),s=i[n]>=t?i[n]:i[o];e[s]=!0}}function ak(e,t,i,n){const o=e._adapter,s=+o.startOf(t[0].value,n),l=t[t.length-1].value;let a,c;for(a=s;a<=l;a=+o.add(a,1,n))c=i[a],c>=0&&(t[c].major=!0);return t}function Fl(e,t,i){const n=[],o={},s=t.length;let l,a;for(l=0;l<s;++l)a=t[l],o[a]=l,n.push({value:a,major:!1});return s===0||!i?n:ak(e,n,o,i)}class g1 extends c0{constructor(t){super(t),this._cache={data:[],labels:[],all:[]},this._unit="day",this._majorUnit=void 0,this._offsets={},this._normalized=!1,this._parseOpts=void 0}init(t,i={}){const n=t.time||(t.time={}),o=this._adapter=new _A._date(t.adapters.date);o.init(i),L0(n.displayFormats,o.formats()),this._parseOpts={parser:n.parser,round:n.round,isoWeekday:n.isoWeekday},super.init(t),this._normalized=i.normalized}parse(t,i){return t===void 0?null:Al(this,t)}beforeLayout(){super.beforeLayout(),this._cache={data:[],labels:[],all:[]}}determineDataLimits(){const t=this.options,i=this._adapter,n=t.time.unit||"day";let{min:o,max:s,minDefined:l,maxDefined:a}=this.getUserBounds();function c(d){!l&&!isNaN(d.min)&&(o=Math.min(o,d.min)),!a&&!isNaN(d.max)&&(s=Math.max(s,d.max))}(!l||!a)&&(c(this._getLabelBounds()),(t.bounds!=="ticks"||t.ticks.source!=="labels")&&c(this.getMinMax(!1))),o=we(o)&&!isNaN(o)?o:+i.startOf(Date.now(),n),s=we(s)&&!isNaN(s)?s:+i.endOf(Date.now(),n)+1,this.min=Math.min(o,s-1),this.max=Math.max(o+1,s)}_getLabelBounds(){const t=this.getLabelTimestamps();let i=Number.POSITIVE_INFINITY,n=Number.NEGATIVE_INFINITY;return t.length&&(i=t[0],n=t[t.length-1]),{min:i,max:n}}buildTicks(){const t=this.options,i=t.time,n=t.ticks,o=n.source==="labels"?this.getLabelTimestamps():this._generate();t.bounds==="ticks"&&o.length&&(this.min=this._userMin||o[0],this.max=this._userMax||o[o.length-1]);const s=this.min,l=this.max,a=gC(o,s,l);return this._unit=i.unit||(n.autoSkip?Rl(i.minUnit,this.min,this.max,this._getLabelCapacity(s)):sk(this,a.length,i.minUnit,this.min,this.max)),this._majorUnit=!n.major.enabled||this._unit==="year"?void 0:lk(this._unit),this.initOffsets(o),t.reverse&&a.reverse(),Fl(this,a,this._majorUnit)}afterAutoSkip(){this.options.offsetAfterAutoskip&&this.initOffsets(this.ticks.map(t=>+t.value))}initOffsets(t=[]){let i=0,n=0,o,s;this.options.offset&&t.length&&(o=this.getDecimalForValue(t[0]),t.length===1?i=1-o:i=(this.getDecimalForValue(t[1])-o)/2,s=this.getDecimalForValue(t[t.length-1]),t.length===1?n=s:n=(s-this.getDecimalForValue(t[t.length-2]))/2);const l=t.length<3?.5:.25;i=ze(i,0,l),n=ze(n,0,l),this._offsets={start:i,end:n,factor:1/(i+1+n)}}_generate(){const t=this._adapter,i=this.min,n=this.max,o=this.options,s=o.time,l=s.unit||Rl(s.minUnit,i,n,this._getLabelCapacity(i)),a=se(o.ticks.stepSize,1),c=l==="week"?s.isoWeekday:!1,d=l1(c)||c===!0,h={};let f=i,u,g;if(d&&(f=+t.startOf(f,"isoWeek",c)),f=+t.startOf(f,d?"day":l),t.diff(n,i,l)>1e5*a)throw new Error(i+" and "+n+" are too far apart with stepSize of "+a+" "+l);const v=o.ticks.source==="data"&&this.getDataTimestamps();for(u=f,g=0;u<n;u=+t.add(u,a,l),g++)kl(h,u,v);return(u===n||o.bounds==="ticks"||g===1)&&kl(h,u,v),Object.keys(h).sort(Cl).map(m=>+m)}getLabelForValue(t){const i=this._adapter,n=this.options.time;return n.tooltipFormat?i.format(t,n.tooltipFormat):i.format(t,n.displayFormats.datetime)}format(t,i){const o=this.options.time.displayFormats,s=this._unit,l=i||o[s];return this._adapter.format(t,l)}_tickFormatFunction(t,i,n,o){const s=this.options,l=s.ticks.callback;if(l)return le(l,[t,i,n],this);const a=s.time.displayFormats,c=this._unit,d=this._majorUnit,h=c&&a[c],f=d&&a[d],u=n[i],g=d&&f&&u&&u.major;return this._adapter.format(t,o||(g?f:h))}generateTickLabels(t){let i,n,o;for(i=0,n=t.length;i<n;++i)o=t[i],o.label=this._tickFormatFunction(o.value,i,t)}getDecimalForValue(t){return t===null?NaN:(t-this.min)/(this.max-this.min)}getPixelForValue(t){const i=this._offsets,n=this.getDecimalForValue(t);return this.getPixelForDecimal((i.start+n)*i.factor)}getValueForPixel(t){const i=this._offsets,n=this.getDecimalForPixel(t)/i.factor-i.end;return this.min+n*(this.max-this.min)}_getLabelSize(t){const i=this.options.ticks,n=this.ctx.measureText(t).width,o=Je(this.isHorizontal()?i.maxRotation:i.minRotation),s=Math.cos(o),l=Math.sin(o),a=this._resolveTickFontOptions(0).size;return{w:n*s+a*l,h:n*l+a*s}}_getLabelCapacity(t){const i=this.options.time,n=i.displayFormats,o=n[i.unit]||n.millisecond,s=this._tickFormatFunction(t,0,Fl(this,[t],this._majorUnit),o),l=this._getLabelSize(s),a=Math.floor(this.isHorizontal()?this.width/l.w:this.height/l.h)-1;return a>0?a:1}getDataTimestamps(){let t=this._cache.data||[],i,n;if(t.length)return t;const o=this.getMatchingVisibleMetas();if(this._normalized&&o.length)return this._cache.data=o[0].controller.getAllParsedValues(this);for(i=0,n=o.length;i<n;++i)t=t.concat(o[i].controller.getAllParsedValues(this));return this._cache.data=this.normalize(t)}getLabelTimestamps(){const t=this._cache.labels||[];let i,n;if(t.length)return t;const o=this.getLabels();for(i=0,n=o.length;i<n;++i)t.push(Al(this,o[i]));return this._cache.labels=this._normalized?t:this.normalize(t)}normalize(t){return mC(t.sort(Cl))}}G(g1,"id","time"),G(g1,"defaults",{bounds:"data",adapters:{},time:{parser:!1,unit:!1,round:!1,isoWeekday:!1,minUnit:"millisecond",displayFormats:{}},ticks:{source:"auto",callback:!1,major:{enabled:!1}}});function Ri(e,t,i){let n=0,o=e.length-1,s,l,a,c;i?(t>=e[n].pos&&t<=e[o].pos&&({lo:n,hi:o}=jn(e,"pos",t)),{pos:s,time:a}=e[n],{pos:l,time:c}=e[o]):(t>=e[n].time&&t<=e[o].time&&({lo:n,hi:o}=jn(e,"time",t)),{time:s,pos:a}=e[n],{time:l,pos:c}=e[o]);const d=l-s;return d?a+(c-a)*(t-s)/d:a}class Bl extends g1{constructor(t){super(t),this._table=[],this._minPos=void 0,this._tableRange=void 0}initOffsets(){const t=this._getTimestampsForTable(),i=this._table=this.buildLookupTable(t);this._minPos=Ri(i,this.min),this._tableRange=Ri(i,this.max)-this._minPos,super.initOffsets(t)}buildLookupTable(t){const{min:i,max:n}=this,o=[],s=[];let l,a,c,d,h;for(l=0,a=t.length;l<a;++l)d=t[l],d>=i&&d<=n&&o.push(d);if(o.length<2)return[{time:i,pos:0},{time:n,pos:1}];for(l=0,a=o.length;l<a;++l)h=o[l+1],c=o[l-1],d=o[l],Math.round((h+c)/2)!==d&&s.push({time:d,pos:l/(a-1)});return s}_generate(){const t=this.min,i=this.max;let n=super.getDataTimestamps();return(!n.includes(t)||!n.length)&&n.splice(0,0,t),(!n.includes(i)||n.length===1)&&n.push(i),n.sort((o,s)=>o-s)}_getTimestampsForTable(){let t=this._cache.all||[];if(t.length)return t;const i=this.getDataTimestamps(),n=this.getLabelTimestamps();return i.length&&n.length?t=this.normalize(i.concat(n)):t=i.length?i:n,t=this._cache.all=t,t}getDecimalForValue(t){return(Ri(this._table,t)-this._minPos)/this._tableRange}getValueForPixel(t){const i=this._offsets,n=this.getDecimalForPixel(t)/i.factor-i.end;return Ri(this._table,n*this._tableRange+this._minPos,!0)}}G(Bl,"id","timeseries"),G(Bl,"defaults",g1.defaults);const D5="label";function El(e,t){typeof e=="function"?e(t):e&&(e.current=t)}function ck(e,t){const i=e.options;i&&t&&Object.assign(i,t)}function T5(e,t){e.labels=t}function V5(e,t){let i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:D5;const n=[];e.datasets=t.map(o=>{const s=e.datasets.find(l=>l[i]===o[i]);return!s||!o.data||n.includes(s)?{...o}:(n.push(s),Object.assign(s,o),s)})}function dk(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:D5;const i={labels:[],datasets:[]};return T5(i,e.labels),V5(i,e.datasets,t),i}function hk(e,t){const{height:i=150,width:n=300,redraw:o=!1,datasetIdKey:s,type:l,data:a,options:c,plugins:d=[],fallbackContent:h,updateMode:f,...u}=e,g=M.exports.useRef(null),v=M.exports.useRef(),m=()=>{!g.current||(v.current=new Qe(g.current,{type:l,data:dk(a,s),options:c&&{...c},plugins:d}),El(t,v.current))},w=()=>{El(t,null),v.current&&(v.current.destroy(),v.current=null)};return M.exports.useEffect(()=>{!o&&v.current&&c&&ck(v.current,c)},[o,c]),M.exports.useEffect(()=>{!o&&v.current&&T5(v.current.config.data,a.labels)},[o,a.labels]),M.exports.useEffect(()=>{!o&&v.current&&a.datasets&&V5(v.current.config.data,a.datasets,s)},[o,a.datasets]),M.exports.useEffect(()=>{!v.current||(o?(w(),setTimeout(m)):v.current.update(f))},[o,c,a.labels,a.datasets,f]),M.exports.useEffect(()=>{!v.current||(w(),setTimeout(m))},[l]),M.exports.useEffect(()=>(m(),()=>w()),[]),r("canvas",{...Object.assign({ref:g,role:"img",height:i,width:n},u),children:h})}const fk=M.exports.forwardRef(hk);function uk(e,t){return Qe.register(t),M.exports.forwardRef((i,n)=>r(fk,{...Object.assign({},i,{ref:n,type:e})}))}const pk=uk("doughnut",Z0);var P5=M.exports.createContext(typeof HTMLElement<"u"?jl({key:"css"}):null);P5.Provider;var gk=function(t){return M.exports.forwardRef(function(i,n){var o=M.exports.useContext(P5);return t(i,o,n)})},vk=M.exports.createContext({}),mk=Pl,xk=function(t){return t!=="theme"},Ll=function(t){return typeof t=="string"&&t.charCodeAt(0)>96?mk:xk},Dl=function(t,i,n){var o;if(i){var s=i.shouldForwardProp;o=t.__emotion_forwardProp&&s?function(l){return t.__emotion_forwardProp(l)&&s(l)}:s}return typeof o!="function"&&n&&(o=t.__emotion_forwardProp),o},wk=function(t){var i=t.cache,n=t.serialized,o=t.isStringTag;return sr(i,n,o),ea(function(){return Ql(i,n,o)}),null},yk=function e(t,i){var n=t.__emotion_real===t,o=n&&t.__emotion_base||t,s,l;i!==void 0&&(s=i.label,l=i.target);var a=Dl(t,i,n),c=a||Ll(o),d=!c("as");return function(){var h=arguments,f=n&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(s!==void 0&&f.push("label:"+s+";"),h[0]==null||h[0].raw===void 0)f.push.apply(f,h);else{f.push(h[0][0]);for(var u=h.length,g=1;g<u;g++)f.push(h[g],h[0][g])}var v=gk(function(m,w,_){var Z=d&&m.as||o,b="",I=[],A=m;if(m.theme==null){A={};for(var T in m)A[T]=m[T];A.theme=M.exports.useContext(vk)}typeof m.className=="string"?b=ql(w.registered,I,m.className):m.className!=null&&(b=m.className+" ");var k=lr(f.concat(I),w.registered,A);b+=w.key+"-"+k.name,l!==void 0&&(b+=" "+l);var L=d&&a===void 0?Ll(Z):c,O={};for(var U in m)d&&U==="as"||L(U)&&(O[U]=m[U]);return O.className=b,O.ref=_,p(Pt,{children:[r(wk,{cache:w,serialized:k,isStringTag:typeof Z=="string"}),r(Z,{...O})]})});return v.displayName=s!==void 0?s:"Styled("+(typeof o=="string"?o:o.displayName||o.name||"Component")+")",v.defaultProps=t.defaultProps,v.__emotion_real=v,v.__emotion_base=o,v.__emotion_styles=f,v.__emotion_forwardProp=a,Object.defineProperty(v,"toString",{value:function(){return"."+l}}),v.withComponent=function(m,w){return e(m,Hi({},i,w,{shouldForwardProp:Dl(v,w,!0)})).apply(void 0,f)},v}},_k=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"],v1=yk.bind();_k.forEach(function(e){v1[e]=v1(e)});const bk=({title:e,value:t,valueColor:i})=>p(Ae.Horizontal,{width:"100%",height:"20px",justify:"space-between",align:"center",spacing:"spacing04",style:{padding:"16px 20px",boxSizing:"border-box"},children:[r(xe,{typography:"body1_400",lineClamp:1,color:i,style:{width:"100px"},children:e}),r(xe,{typography:"body1_700",children:t})]});Qe.register(I0,zR);const O5=v1.div`
|
|
1877
1877
|
display: flex;
|
|
1878
1878
|
flex-direction: column;
|
|
1879
1879
|
height: 100%;
|
|
@@ -1885,4 +1885,4 @@ var U5=Object.defineProperty;var z5=(e,t,i)=>t in e?U5(e,t,{enumerable:!0,config
|
|
|
1885
1885
|
`,Mk=v1(O5)`
|
|
1886
1886
|
width: 100%;
|
|
1887
1887
|
padding: 12px 8px;
|
|
1888
|
-
`,Zk=()=>{const[{systems:e,components:t,systemElement:i},n]=M.exports.useState({systems:0,components:0,systemElement:{}});M.exports.useEffect(()=>{(async()=>await chrome.storage.local.get(["systems","components","systemElement"],a=>n(a)))()},[]);const o=e/t*100,s={labels:["HTML \uC694\uC18C","shoplflow"],datasets:[{label:"# \uCEF4\uD3EC\uB10C\uD2B8 \uAC1C\uC218",data:[t-e,e],backgroundColor:["#3eb0b8","#84c2fc"],borderColor:["#2f839f","#3299fe"],borderWidth:1}]},l=Object.keys(i).sort((a,c)=>i[c]-i[a]);return r(BI,{children:r(
|
|
1888
|
+
`,Zk=()=>{const[{systems:e,components:t,systemElement:i},n]=M.exports.useState({systems:0,components:0,systemElement:{}});M.exports.useEffect(()=>{(async()=>await chrome.storage.local.get(["systems","components","systemElement"],a=>n(a)))()},[]);const o=e/t*100,s={labels:["HTML \uC694\uC18C","shoplflow"],datasets:[{label:"# \uCEF4\uD3EC\uB10C\uD2B8 \uAC1C\uC218",data:[t-e,e],backgroundColor:["#3eb0b8","#84c2fc"],borderColor:["#2f839f","#3299fe"],borderWidth:1}]},l=Object.keys(i).sort((a,c)=>i[c]-i[a]);return r(BI,{children:r(Ae.Vertical,{width:"500px",height:"300px",align:"center",spacing:"spacing20",children:p(Ae.Horizontal,{height:"100%",width:"100%",justify:"space-between",spacing:"spacing16",children:[p(O5,{children:[r(pk,{data:s,height:150,width:150}),p(Ae.Vertical,{width:"100%",height:"100%",spacing:"spacing12",justify:"center",align:"center",children:[p(xe,{typography:"body1_700",whiteSpace:"nowrap",children:["\uB514\uC790\uC778\uC2DC\uC2A4\uD15C \uAD50\uCCB4\uC728 ",o.toFixed(2),"%"]}),p(Ae.Vertical,{width:"100%",height:"100%",spacing:"spacing06",justify:"center",align:"center",children:[p(Ae.Horizontal,{width:"100%",justify:"center",align:"center",spacing:"spacing04",children:[r(xe,{typography:"caption_400",children:"\uC804\uCCB4 \uC694\uC18C"}),r(xe,{typography:"caption_700",color:"navy300",children:t})]}),p(Ae.Horizontal,{width:"100%",justify:"center",align:"center",spacing:"spacing04",children:[r(xe,{typography:"caption_400",children:"\uC2DC\uC2A4\uD15C \uC694\uC18C"}),r(xe,{typography:"caption_700",color:"primary300",children:e})]})]})]})]}),p(Mk,{children:[r(xe,{typography:"body1_700",whiteSpace:"nowrap",style:{padding:"4px 12px"},children:"\uC2DC\uC2A4\uD15C \uAD6C\uC131 \uC694\uC18C"}),r(I6,{children:r(Ae.Vertical,{spacing:"spacing04",children:l==null?void 0:l.map((a,c)=>{const d={0:"primary300",1:"green300",2:"yellow300"};return r(bk,{title:a,value:i[a],valueColor:d[c]},a)})})})]})]})})})},Sk=Y5(N5(Zk,r("div",{children:" Loading ... "})),p("div",{children:[r(xe,{typography:"body2_700",whiteSpace:"nowrap",children:"\uC0E4\uD50C \uC11C\uBE44\uC2A4\uAC00 \uC544\uB2C8\uAC70\uB098 \uC5D0\uB7EC\uAC00 \uBC1C\uC0DD\uD588\uC5B4\uC694."}),r(xe,{typography:"body2_700",whiteSpace:"nowrap",children:"shoplworks \uB3C4\uBA54\uC778\uC73C\uB85C \uC811\uC18D\uD574\uC8FC\uC138\uC694."})]}));function Ik(){const e=document.querySelector("#app-container");if(!e)throw new Error("Can not find #app-container");j5(e,document),G5(e).render(r(Sk,{}))}Ik();
|