@segmentify/ui 0.0.10 → 0.0.12

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.
@@ -83,7 +83,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
83
83
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function mi(t){return n7(t)||r7(t)||SO(t)||o7()}function i7(t){if(t.sheet)return t.sheet;for(var e=0;e<document.styleSheets.length;e++)if(document.styleSheets[e].ownerNode===t)return document.styleSheets[e]}function a7(t){var e=document.createElement("style");return e.setAttribute("data-emotion",t.key),t.nonce!==void 0&&e.setAttribute("nonce",t.nonce),e.appendChild(document.createTextNode("")),e.setAttribute("data-s",""),e}var s7=(function(){function t(n){var r=this;this._insertTag=function(o){var i;r.tags.length===0?r.insertionPoint?i=r.insertionPoint.nextSibling:r.prepend?i=r.container.firstChild:i=r.before:i=r.tags[r.tags.length-1].nextSibling,r.container.insertBefore(o,i),r.tags.push(o)},this.isSpeedy=n.speedy===void 0?!0:n.speedy,this.tags=[],this.ctr=0,this.nonce=n.nonce,this.key=n.key,this.container=n.container,this.prepend=n.prepend,this.insertionPoint=n.insertionPoint,this.before=null}var e=t.prototype;return e.hydrate=function(r){r.forEach(this._insertTag)},e.insert=function(r){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(a7(this));var o=this.tags[this.tags.length-1];if(this.isSpeedy){var i=i7(o);try{i.insertRule(r,i.cssRules.length)}catch{}}else o.appendChild(document.createTextNode(r));this.ctr++},e.flush=function(){this.tags.forEach(function(r){var o;return(o=r.parentNode)==null?void 0:o.removeChild(r)}),this.tags=[],this.ctr=0},t})(),Gt="-ms-",iu="-moz-",He="-webkit-",AO="comm",mv="rule",gv="decl",l7="@import",TO="@keyframes",u7="@layer",c7=Math.abs,xc=String.fromCharCode,d7=Object.assign;function f7(t,e){return kt(t,0)^45?(((e<<2^kt(t,0))<<2^kt(t,1))<<2^kt(t,2))<<2^kt(t,3):0}function NO(t){return t.trim()}function h7(t,e){return(t=e.exec(t))?t[0]:t}function qe(t,e,n){return t.replace(e,n)}function lg(t,e){return t.indexOf(e)}function kt(t,e){return t.charCodeAt(e)|0}function qa(t,e,n){return t.slice(e,n)}function Qn(t){return t.length}function bv(t){return t.length}function ul(t,e){return e.push(t),t}function p7(t,e){return t.map(e).join("")}var wc=1,Oi=1,_O=0,Qt=0,xt=0,Hi="";function Cc(t,e,n,r,o,i,a){return{value:t,root:e,parent:n,type:r,props:o,children:i,line:wc,column:Oi,length:a,return:""}}function la(t,e){return d7(Cc("",null,null,"",null,null,0),t,{length:-t.length},e)}function m7(){return xt}function g7(){return xt=Qt>0?kt(Hi,--Qt):0,Oi--,xt===10&&(Oi=1,wc--),xt}function ln(){return xt=Qt<_O?kt(Hi,Qt++):0,Oi++,xt===10&&(Oi=1,wc++),xt}function ar(){return kt(Hi,Qt)}function Tl(){return Qt}function Is(t,e){return qa(Hi,t,e)}function za(t){switch(t){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 OO(t){return wc=Oi=1,_O=Qn(Hi=t),Qt=0,[]}function RO(t){return Hi="",t}function Nl(t){return NO(Is(Qt-1,ug(t===91?t+2:t===40?t+1:t)))}function b7(t){for(;(xt=ar())&&xt<33;)ln();return za(t)>2||za(xt)>3?"":" "}function v7(t,e){for(;--e&&ln()&&!(xt<48||xt>102||xt>57&&xt<65||xt>70&&xt<97););return Is(t,Tl()+(e<6&&ar()==32&&ln()==32))}function ug(t){for(;ln();)switch(xt){case t:return Qt;case 34:case 39:t!==34&&t!==39&&ug(xt);break;case 40:t===41&&ug(t);break;case 92:ln();break}return Qt}function y7(t,e){for(;ln()&&t+xt!==57;)if(t+xt===84&&ar()===47)break;return"/*"+Is(e,Qt-1)+"*"+xc(t===47?t:ln())}function x7(t){for(;!za(ar());)ln();return Is(t,Qt)}function w7(t){return RO(_l("",null,null,null,[""],t=OO(t),0,[0],t))}function _l(t,e,n,r,o,i,a,s,l){for(var u=0,d=0,c=a,f=0,p=0,m=0,g=1,b=1,y=1,w=0,C="",S=o,E=i,N=r,A=C;b;)switch(m=w,w=ln()){case 40:if(m!=108&&kt(A,c-1)==58){lg(A+=qe(Nl(w),"&","&\f"),"&\f")!=-1&&(y=-1);break}case 34:case 39:case 91:A+=Nl(w);break;case 9:case 10:case 13:case 32:A+=b7(m);break;case 92:A+=v7(Tl()-1,7);continue;case 47:switch(ar()){case 42:case 47:ul(C7(y7(ln(),Tl()),e,n),l);break;default:A+="/"}break;case 123*g:s[u++]=Qn(A)*y;case 125*g:case 59:case 0:switch(w){case 0:case 125:b=0;case 59+d:y==-1&&(A=qe(A,/\f/g,"")),p>0&&Qn(A)-c&&ul(p>32?Gw(A+";",r,n,c-1):Gw(qe(A," ","")+";",r,n,c-2),l);break;case 59:A+=";";default:if(ul(N=Fw(A,e,n,u,d,o,s,C,S=[],E=[],c),i),w===123)if(d===0)_l(A,e,N,N,S,i,c,s,E);else switch(f===99&&kt(A,3)===110?100:f){case 100:case 108:case 109:case 115:_l(t,N,N,r&&ul(Fw(t,N,N,0,0,o,s,C,o,S=[],c),E),o,E,c,s,r?S:E);break;default:_l(A,N,N,N,[""],E,0,s,E)}}u=d=p=0,g=y=1,C=A="",c=a;break;case 58:c=1+Qn(A),p=m;default:if(g<1){if(w==123)--g;else if(w==125&&g++==0&&g7()==125)continue}switch(A+=xc(w),w*g){case 38:y=d>0?1:(A+="\f",-1);break;case 44:s[u++]=(Qn(A)-1)*y,y=1;break;case 64:ar()===45&&(A+=Nl(ln())),f=ar(),d=c=Qn(C=A+=x7(Tl())),w++;break;case 45:m===45&&Qn(A)==2&&(g=0)}}return i}function Fw(t,e,n,r,o,i,a,s,l,u,d){for(var c=o-1,f=o===0?i:[""],p=bv(f),m=0,g=0,b=0;m<r;++m)for(var y=0,w=qa(t,c+1,c=c7(g=a[m])),C=t;y<p;++y)(C=NO(g>0?f[y]+" "+w:qe(w,/&\f/g,f[y])))&&(l[b++]=C);return Cc(t,e,n,o===0?mv:s,l,u,d)}function C7(t,e,n){return Cc(t,e,n,AO,xc(m7()),qa(t,2,-2),0)}function Gw(t,e,n,r){return Cc(t,e,n,gv,qa(t,0,r),qa(t,r+1,-1),r)}function gi(t,e){for(var n="",r=bv(t),o=0;o<r;o++)n+=e(t[o],o,t,e)||"";return n}function S7(t,e,n,r){switch(t.type){case u7:if(t.children.length)break;case l7:case gv:return t.return=t.return||t.value;case AO:return"";case TO:return t.return=t.value+"{"+gi(t.children,r)+"}";case mv:t.value=t.props.join(",")}return Qn(n=gi(t.children,r))?t.return=t.value+"{"+n+"}":""}function E7(t){var e=bv(t);return function(n,r,o,i){for(var a="",s=0;s<e;s++)a+=t[s](n,r,o,i)||"";return a}}function I7(t){return function(e){e.root||(e=e.return)&&t(e)}}function A7(t){var e=Object.create(null);return function(n){return e[n]===void 0&&(e[n]=t(n)),e[n]}}var T7=function(e,n,r){for(var o=0,i=0;o=i,i=ar(),o===38&&i===12&&(n[r]=1),!za(i);)ln();return Is(e,Qt)},N7=function(e,n){var r=-1,o=44;do switch(za(o)){case 0:o===38&&ar()===12&&(n[r]=1),e[r]+=T7(Qt-1,n,r);break;case 2:e[r]+=Nl(o);break;case 4:if(o===44){e[++r]=ar()===58?"&\f":"",n[r]=e[r].length;break}default:e[r]+=xc(o)}while(o=ln());return e},_7=function(e,n){return RO(N7(OO(e),n))},$w=new WeakMap,O7=function(e){if(!(e.type!=="rule"||!e.parent||e.length<1)){for(var n=e.value,r=e.parent,o=e.column===r.column&&e.line===r.line;r.type!=="rule";)if(r=r.parent,!r)return;if(!(e.props.length===1&&n.charCodeAt(0)!==58&&!$w.get(r))&&!o){$w.set(e,!0);for(var i=[],a=_7(n,i),s=r.props,l=0,u=0;l<a.length;l++)for(var d=0;d<s.length;d++,u++)e.props[u]=i[l]?a[l].replace(/&\f/g,s[d]):s[d]+" "+a[l]}}},R7=function(e){if(e.type==="decl"){var n=e.value;n.charCodeAt(0)===108&&n.charCodeAt(2)===98&&(e.return="",e.value="")}};function PO(t,e){switch(f7(t,e)){case 5103:return He+"print-"+t+t;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 He+t+t;case 5349:case 4246:case 4810:case 6968:case 2756:return He+t+iu+t+Gt+t+t;case 6828:case 4268:return He+t+Gt+t+t;case 6165:return He+t+Gt+"flex-"+t+t;case 5187:return He+t+qe(t,/(\w+).+(:[^]+)/,He+"box-$1$2"+Gt+"flex-$1$2")+t;case 5443:return He+t+Gt+"flex-item-"+qe(t,/flex-|-self/,"")+t;case 4675:return He+t+Gt+"flex-line-pack"+qe(t,/align-content|flex-|-self/,"")+t;case 5548:return He+t+Gt+qe(t,"shrink","negative")+t;case 5292:return He+t+Gt+qe(t,"basis","preferred-size")+t;case 6060:return He+"box-"+qe(t,"-grow","")+He+t+Gt+qe(t,"grow","positive")+t;case 4554:return He+qe(t,/([^-])(transform)/g,"$1"+He+"$2")+t;case 6187:return qe(qe(qe(t,/(zoom-|grab)/,He+"$1"),/(image-set)/,He+"$1"),t,"")+t;case 5495:case 3959:return qe(t,/(image-set\([^]*)/,He+"$1$`$1");case 4968:return qe(qe(t,/(.+:)(flex-)?(.*)/,He+"box-pack:$3"+Gt+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+He+t+t;case 4095:case 3583:case 4068:case 2532:return qe(t,/(.+)-inline(.+)/,He+"$1$2")+t;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(Qn(t)-1-e>6)switch(kt(t,e+1)){case 109:if(kt(t,e+4)!==45)break;case 102:return qe(t,/(.+:)(.+)-([^]+)/,"$1"+He+"$2-$3$1"+iu+(kt(t,e+3)==108?"$3":"$2-$3"))+t;case 115:return~lg(t,"stretch")?PO(qe(t,"stretch","fill-available"),e)+t:t}break;case 4949:if(kt(t,e+1)!==115)break;case 6444:switch(kt(t,Qn(t)-3-(~lg(t,"!important")&&10))){case 107:return qe(t,":",":"+He)+t;case 101:return qe(t,/(.+:)([^;!]+)(;|!.+)?/,"$1"+He+(kt(t,14)===45?"inline-":"")+"box$3$1"+He+"$2$3$1"+Gt+"$2box$3")+t}break;case 5936:switch(kt(t,e+11)){case 114:return He+t+Gt+qe(t,/[svh]\w+-[tblr]{2}/,"tb")+t;case 108:return He+t+Gt+qe(t,/[svh]\w+-[tblr]{2}/,"tb-rl")+t;case 45:return He+t+Gt+qe(t,/[svh]\w+-[tblr]{2}/,"lr")+t}return He+t+Gt+t+t}return t}var P7=function(e,n,r,o){if(e.length>-1&&!e.return)switch(e.type){case gv:e.return=PO(e.value,e.length);break;case TO:return gi([la(e,{value:qe(e.value,"@","@"+He)})],o);case mv:if(e.length)return p7(e.props,function(i){switch(h7(i,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return gi([la(e,{props:[qe(i,/:(read-\w+)/,":"+iu+"$1")]})],o);case"::placeholder":return gi([la(e,{props:[qe(i,/:(plac\w+)/,":"+He+"input-$1")]}),la(e,{props:[qe(i,/:(plac\w+)/,":"+iu+"$1")]}),la(e,{props:[qe(i,/:(plac\w+)/,Gt+"input-$1")]})],o)}return""})}},M7=[P7],k7=function(e){var n=e.key;if(n==="css"){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(r,function(g){var b=g.getAttribute("data-emotion");b.indexOf(" ")!==-1&&(document.head.appendChild(g),g.setAttribute("data-s",""))})}var o=e.stylisPlugins||M7,i={},a,s=[];a=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+n+' "]'),function(g){for(var b=g.getAttribute("data-emotion").split(" "),y=1;y<b.length;y++)i[b[y]]=!0;s.push(g)});var l,u=[O7,R7];{var d,c=[S7,I7(function(g){d.insert(g)})],f=E7(u.concat(o,c)),p=function(b){return gi(w7(b),f)};l=function(b,y,w,C){d=w,p(b?b+"{"+y.styles+"}":y.styles),C&&(m.inserted[y.name]=!0)}}var m={key:n,sheet:new s7({key:n,container:a,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:i,registered:{},insert:l};return m.sheet.hydrate(s),m},Xp,Ww;function D7(){if(Ww)return Xp;Ww=1;var t=e9(),e={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},n={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},r={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},o={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},i={};i[t.ForwardRef]=r,i[t.Memo]=o;function a(m){return t.isMemo(m)?o:i[m.$$typeof]||e}var s=Object.defineProperty,l=Object.getOwnPropertyNames,u=Object.getOwnPropertySymbols,d=Object.getOwnPropertyDescriptor,c=Object.getPrototypeOf,f=Object.prototype;function p(m,g,b){if(typeof g!="string"){if(f){var y=c(g);y&&y!==f&&p(m,y,b)}var w=l(g);u&&(w=w.concat(u(g)));for(var C=a(m),S=a(g),E=0;E<w.length;++E){var N=w[E];if(!n[N]&&!(b&&b[N])&&!(S&&S[N])&&!(C&&C[N])){var A=d(g,N);try{s(m,N,A)}catch{}}}}return m}return Xp=p,Xp}D7();var j7=!0;function L7(t,e,n){var r="";return n.split(" ").forEach(function(o){t[o]!==void 0?e.push(t[o]+";"):o&&(r+=o+" ")}),r}var MO=function(e,n,r){var o=e.key+"-"+n.name;(r===!1||j7===!1)&&e.registered[o]===void 0&&(e.registered[o]=n.styles)},B7=function(e,n,r){MO(e,n,r);var o=e.key+"-"+n.name;if(e.inserted[n.name]===void 0){var i=n;do e.insert(n===i?"."+o:"",i,e.sheet,!0),i=i.next;while(i!==void 0)}};function F7(t){for(var e=0,n,r=0,o=t.length;o>=4;++r,o-=4)n=t.charCodeAt(r)&255|(t.charCodeAt(++r)&255)<<8|(t.charCodeAt(++r)&255)<<16|(t.charCodeAt(++r)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,e=(n&65535)*1540483477+((n>>>16)*59797<<16)^(e&65535)*1540483477+((e>>>16)*59797<<16);switch(o){case 3:e^=(t.charCodeAt(r+2)&255)<<16;case 2:e^=(t.charCodeAt(r+1)&255)<<8;case 1:e^=t.charCodeAt(r)&255,e=(e&65535)*1540483477+((e>>>16)*59797<<16)}return e^=e>>>13,e=(e&65535)*1540483477+((e>>>16)*59797<<16),((e^e>>>15)>>>0).toString(36)}var G7={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,scale: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},$7=/[A-Z]|^ms/g,W7=/_EMO_([^_]+?)_([^]*?)_EMO_/g,kO=function(e){return e.charCodeAt(1)===45},Vw=function(e){return e!=null&&typeof e!="boolean"},Yp=A7(function(t){return kO(t)?t:t.replace($7,"-$&").toLowerCase()}),Hw=function(e,n){switch(e){case"animation":case"animationName":if(typeof n=="string")return n.replace(W7,function(r,o,i){return er={name:o,styles:i,next:er},o})}return G7[e]!==1&&!kO(e)&&typeof n=="number"&&n!==0?n+"px":n};function Xa(t,e,n){if(n==null)return"";var r=n;if(r.__emotion_styles!==void 0)return r;switch(typeof n){case"boolean":return"";case"object":{var o=n;if(o.anim===1)return er={name:o.name,styles:o.styles,next:er},o.name;var i=n;if(i.styles!==void 0){var a=i.next;if(a!==void 0)for(;a!==void 0;)er={name:a.name,styles:a.styles,next:er},a=a.next;var s=i.styles+";";return s}return V7(t,e,n)}case"function":{if(t!==void 0){var l=er,u=n(t);return er=l,Xa(t,e,u)}break}}var d=n;return d}function V7(t,e,n){var r="";if(Array.isArray(n))for(var o=0;o<n.length;o++)r+=Xa(t,e,n[o])+";";else for(var i in n){var a=n[i];if(typeof a!="object"){var s=a;Vw(s)&&(r+=Yp(i)+":"+Hw(i,s)+";")}else if(Array.isArray(a)&&typeof a[0]=="string"&&e==null)for(var l=0;l<a.length;l++)Vw(a[l])&&(r+=Yp(i)+":"+Hw(i,a[l])+";");else{var u=Xa(t,e,a);switch(i){case"animation":case"animationName":{r+=Yp(i)+":"+u+";";break}default:r+=i+"{"+u+"}"}}}return r}var qw=/label:\s*([^\s;{]+)\s*(;|$)/g,er;function DO(t,e,n){if(t.length===1&&typeof t[0]=="object"&&t[0]!==null&&t[0].styles!==void 0)return t[0];var r=!0,o="";er=void 0;var i=t[0];if(i==null||i.raw===void 0)r=!1,o+=Xa(n,e,i);else{var a=i;o+=a[0]}for(var s=1;s<t.length;s++)if(o+=Xa(n,e,t[s]),r){var l=i;o+=l[s]}qw.lastIndex=0;for(var u="",d;(d=qw.exec(o))!==null;)u+="-"+d[1];var c=F7(o)+u;return{name:c,styles:o,next:er}}var H7=function(e){return e()},q7=v.useInsertionEffect?v.useInsertionEffect:!1,z7=q7||H7,jO=v.createContext(typeof HTMLElement<"u"?k7({key:"css"}):null);jO.Provider;var X7=function(e){return I.forwardRef(function(n,r){var o=I.useContext(jO);return e(n,o,r)})},Y7=v.createContext({}),vv={}.hasOwnProperty,cg="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",U7=function(e,n){var r={};for(var o in n)vv.call(n,o)&&(r[o]=n[o]);return r[cg]=e,r},Z7=function(e){var n=e.cache,r=e.serialized,o=e.isStringTag;return MO(n,r,o),z7(function(){return B7(n,r,o)}),null},J7=X7(function(t,e,n){var r=t.css;typeof r=="string"&&e.registered[r]!==void 0&&(r=e.registered[r]);var o=t[cg],i=[r],a="";typeof t.className=="string"?a=L7(e.registered,i,t.className):t.className!=null&&(a=t.className+" ");var s=DO(i,void 0,v.useContext(Y7));a+=e.key+"-"+s.name;var l={};for(var u in t)vv.call(t,u)&&u!=="css"&&u!==cg&&(l[u]=t[u]);return l.className=a,n&&(l.ref=n),v.createElement(v.Fragment,null,v.createElement(Z7,{cache:e,serialized:s,isStringTag:typeof o=="string"}),v.createElement(o,l))}),K7=J7,we=function(e,n){var r=arguments;if(n==null||!vv.call(n,"css"))return v.createElement.apply(void 0,r);var o=r.length,i=new Array(o);i[0]=K7,i[1]=U7(e,n);for(var a=2;a<o;a++)i[a]=r[a];return v.createElement.apply(null,i)};(function(t){var e;e||(e=t.JSX||(t.JSX={}))})(we||(we={}));function yv(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return DO(e)}function Q7(){var t=yv.apply(void 0,arguments),e="animation-"+t.name;return{name:e,styles:"@keyframes "+e+"{"+t.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}}function eX(t,e){return e||(e=t.slice(0)),Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(e)}}))}var dg=I.useLayoutEffect,tX=["className","clearValue","cx","getStyles","getClassNames","getValue","hasValue","isMulti","isRtl","options","selectOption","selectProps","setValue","theme"],au=function(){};function nX(t,e){return e?e[0]==="-"?t+e:t+"__"+e:t}function rX(t,e){for(var n=arguments.length,r=new Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];var i=[].concat(r);if(e&&t)for(var a in e)e.hasOwnProperty(a)&&e[a]&&i.push("".concat(nX(t,a)));return i.filter(function(s){return s}).map(function(s){return String(s).trim()}).join(" ")}var su=function(e){return fX(e)?e.filter(Boolean):_o(e)==="object"&&e!==null?[e]:[]},LO=function(e){e.className,e.clearValue,e.cx,e.getStyles,e.getClassNames,e.getValue,e.hasValue,e.isMulti,e.isRtl,e.options,e.selectOption,e.selectProps,e.setValue,e.theme;var n=vr(e,tX);return Ce({},n)},ht=function(e,n,r){var o=e.cx,i=e.getStyles,a=e.getClassNames,s=e.className;return{css:i(n,e),className:o(r??{},a(n,e),s)}};function Sc(t){return[document.documentElement,document.body,window].indexOf(t)>-1}function oX(t){return Sc(t)?window.innerHeight:t.clientHeight}function BO(t){return Sc(t)?window.pageYOffset:t.scrollTop}function lu(t,e){if(Sc(t)){window.scrollTo(0,e);return}t.scrollTop=e}function iX(t){var e=getComputedStyle(t),n=e.position==="absolute",r=/(auto|scroll)/;if(e.position==="fixed")return document.documentElement;for(var o=t;o=o.parentElement;)if(e=getComputedStyle(o),!(n&&e.position==="static")&&r.test(e.overflow+e.overflowY+e.overflowX))return o;return document.documentElement}function aX(t,e,n,r){return n*((t=t/r-1)*t*t+1)+e}function cl(t,e){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:200,r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:au,o=BO(t),i=e-o,a=10,s=0;function l(){s+=a;var u=aX(s,o,i,n);lu(t,u),s<n?window.requestAnimationFrame(l):r(t)}l()}function zw(t,e){var n=t.getBoundingClientRect(),r=e.getBoundingClientRect(),o=e.offsetHeight/3;r.bottom+o>n.bottom?lu(t,Math.min(e.offsetTop+e.clientHeight-t.offsetHeight+o,t.scrollHeight)):r.top-o<n.top&&lu(t,Math.max(e.offsetTop-o,0))}function sX(t){var e=t.getBoundingClientRect();return{bottom:e.bottom,height:e.height,left:e.left,right:e.right,top:e.top,width:e.width}}function Xw(){try{return document.createEvent("TouchEvent"),!0}catch{return!1}}function lX(){try{return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)}catch{return!1}}var FO=!1,uX={get passive(){return FO=!0}},dl=typeof window<"u"?window:{};dl.addEventListener&&dl.removeEventListener&&(dl.addEventListener("p",au,uX),dl.removeEventListener("p",au,!1));var cX=FO;function dX(t){return t!=null}function fX(t){return Array.isArray(t)}function wa(t,e,n){return t?e:n}var hX=function(e){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];var i=Object.entries(e).filter(function(a){var s=_r(a,1),l=s[0];return!r.includes(l)});return i.reduce(function(a,s){var l=_r(s,2),u=l[0],d=l[1];return a[u]=d,a},{})},pX=["children","innerProps"],mX=["children","innerProps"];function gX(t){var e=t.maxHeight,n=t.menuEl,r=t.minHeight,o=t.placement,i=t.shouldScroll,a=t.isFixedPosition,s=t.controlHeight,l=iX(n),u={placement:"bottom",maxHeight:e};if(!n||!n.offsetParent)return u;var d=l.getBoundingClientRect(),c=d.height,f=n.getBoundingClientRect(),p=f.bottom,m=f.height,g=f.top,b=n.offsetParent.getBoundingClientRect(),y=b.top,w=a?window.innerHeight:oX(l),C=BO(l),S=parseInt(getComputedStyle(n).marginBottom,10),E=parseInt(getComputedStyle(n).marginTop,10),N=y-E,A=w-g,O=N+C,M=c-C-g,V=p-w+C+S,T=C+g-E,k=160;switch(o){case"auto":case"bottom":if(A>=m)return{placement:"bottom",maxHeight:e};if(M>=m&&!a)return i&&cl(l,V,k),{placement:"bottom",maxHeight:e};if(!a&&M>=r||a&&A>=r){i&&cl(l,V,k);var _=a?A-S:M-S;return{placement:"bottom",maxHeight:_}}if(o==="auto"||a){var B=e,L=a?N:O;return L>=r&&(B=Math.min(L-S-s,e)),{placement:"top",maxHeight:B}}if(o==="bottom")return i&&lu(l,V),{placement:"bottom",maxHeight:e};break;case"top":if(N>=m)return{placement:"top",maxHeight:e};if(O>=m&&!a)return i&&cl(l,T,k),{placement:"top",maxHeight:e};if(!a&&O>=r||a&&N>=r){var P=e;return(!a&&O>=r||a&&N>=r)&&(P=a?N-E:O-E),i&&cl(l,T,k),{placement:"top",maxHeight:P}}return{placement:"bottom",maxHeight:e};default:throw new Error('Invalid placement provided "'.concat(o,'".'))}return u}function bX(t){var e={bottom:"top",top:"bottom"};return t?e[t]:"bottom"}var GO=function(e){return e==="auto"?"bottom":e},vX=function(e,n){var r,o=e.placement,i=e.theme,a=i.borderRadius,s=i.spacing,l=i.colors;return Ce((r={label:"menu"},xa(r,bX(o),"100%"),xa(r,"position","absolute"),xa(r,"width","100%"),xa(r,"zIndex",1),r),n?{}:{backgroundColor:l.neutral0,borderRadius:a,boxShadow:"0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)",marginBottom:s.menuGutter,marginTop:s.menuGutter})},$O=I.createContext(null),yX=function(e){var n=e.children,r=e.minMenuHeight,o=e.maxMenuHeight,i=e.menuPlacement,a=e.menuPosition,s=e.menuShouldScrollIntoView,l=e.theme,u=I.useContext($O)||{},d=u.setPortalPlacement,c=I.useRef(null),f=I.useState(o),p=_r(f,2),m=p[0],g=p[1],b=I.useState(null),y=_r(b,2),w=y[0],C=y[1],S=l.spacing.controlHeight;return dg(function(){var E=c.current;if(E){var N=a==="fixed",A=s&&!N,O=gX({maxHeight:o,menuEl:E,minHeight:r,placement:i,shouldScroll:A,isFixedPosition:N,controlHeight:S});g(O.maxHeight),C(O.placement),d?.(O.placement)}},[o,i,a,s,r,d,S]),n({ref:c,placerProps:Ce(Ce({},e),{},{placement:w||GO(i),maxHeight:m})})},xX=function(e){var n=e.children,r=e.innerRef,o=e.innerProps;return we("div",Ee({},ht(e,"menu",{menu:!0}),{ref:r},o),n)},wX=xX,CX=function(e,n){var r=e.maxHeight,o=e.theme.spacing.baseUnit;return Ce({maxHeight:r,overflowY:"auto",position:"relative",WebkitOverflowScrolling:"touch"},n?{}:{paddingBottom:o,paddingTop:o})},SX=function(e){var n=e.children,r=e.innerProps,o=e.innerRef,i=e.isMulti;return we("div",Ee({},ht(e,"menuList",{"menu-list":!0,"menu-list--is-multi":i}),{ref:o},r),n)},WO=function(e,n){var r=e.theme,o=r.spacing.baseUnit,i=r.colors;return Ce({textAlign:"center"},n?{}:{color:i.neutral40,padding:"".concat(o*2,"px ").concat(o*3,"px")})},EX=WO,IX=WO,AX=function(e){var n=e.children,r=n===void 0?"No options":n,o=e.innerProps,i=vr(e,pX);return we("div",Ee({},ht(Ce(Ce({},i),{},{children:r,innerProps:o}),"noOptionsMessage",{"menu-notice":!0,"menu-notice--no-options":!0}),o),r)},TX=function(e){var n=e.children,r=n===void 0?"Loading...":n,o=e.innerProps,i=vr(e,mX);return we("div",Ee({},ht(Ce(Ce({},i),{},{children:r,innerProps:o}),"loadingMessage",{"menu-notice":!0,"menu-notice--loading":!0}),o),r)},NX=function(e){var n=e.rect,r=e.offset,o=e.position;return{left:n.left,position:o,top:r,width:n.width,zIndex:1}},_X=function(e){var n=e.appendTo,r=e.children,o=e.controlElement,i=e.innerProps,a=e.menuPlacement,s=e.menuPosition,l=I.useRef(null),u=I.useRef(null),d=I.useState(GO(a)),c=_r(d,2),f=c[0],p=c[1],m=I.useMemo(function(){return{setPortalPlacement:p}},[]),g=I.useState(null),b=_r(g,2),y=b[0],w=b[1],C=I.useCallback(function(){if(o){var A=sX(o),O=s==="fixed"?0:window.pageYOffset,M=A[f]+O;(M!==y?.offset||A.left!==y?.rect.left||A.width!==y?.rect.width)&&w({offset:M,rect:A})}},[o,s,f,y?.offset,y?.rect.left,y?.rect.width]);dg(function(){C()},[C]);var S=I.useCallback(function(){typeof u.current=="function"&&(u.current(),u.current=null),o&&l.current&&(u.current=$A(o,l.current,C,{elementResize:"ResizeObserver"in window}))},[o,C]);dg(function(){S()},[S]);var E=I.useCallback(function(A){l.current=A,S()},[S]);if(!n&&s!=="fixed"||!y)return null;var N=we("div",Ee({ref:E},ht(Ce(Ce({},e),{},{offset:y.offset,position:s,rect:y.rect}),"menuPortal",{"menu-portal":!0}),i),r);return we($O.Provider,{value:m},n?gu.createPortal(N,n):N)},OX=function(e){var n=e.isDisabled,r=e.isRtl;return{label:"container",direction:r?"rtl":void 0,pointerEvents:n?"none":void 0,position:"relative"}},RX=function(e){var n=e.children,r=e.innerProps,o=e.isDisabled,i=e.isRtl;return we("div",Ee({},ht(e,"container",{"--is-disabled":o,"--is-rtl":i}),r),n)},PX=function(e,n){var r=e.theme.spacing,o=e.isMulti,i=e.hasValue,a=e.selectProps.controlShouldRenderValue;return Ce({alignItems:"center",display:o&&i&&a?"flex":"grid",flex:1,flexWrap:"wrap",WebkitOverflowScrolling:"touch",position:"relative",overflow:"hidden"},n?{}:{padding:"".concat(r.baseUnit/2,"px ").concat(r.baseUnit*2,"px")})},MX=function(e){var n=e.children,r=e.innerProps,o=e.isMulti,i=e.hasValue;return we("div",Ee({},ht(e,"valueContainer",{"value-container":!0,"value-container--is-multi":o,"value-container--has-value":i}),r),n)},kX=function(){return{alignItems:"center",alignSelf:"stretch",display:"flex",flexShrink:0}},DX=function(e){var n=e.children,r=e.innerProps;return we("div",Ee({},ht(e,"indicatorsContainer",{indicators:!0}),r),n)},Yw,jX=["size"],LX=["innerProps","isRtl","size"];function BX(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}var FX=process.env.NODE_ENV==="production"?{name:"8mmkcg",styles:"display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0"}:{name:"tj5bde-Svg",styles:"display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0;label:Svg;",map:"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXlCSSIsImZpbGUiOiJpbmRpY2F0b3JzLnR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5lclByb3BzfVxuICAgID5cbiAgICAgIDxMb2FkaW5nRG90IGRlbGF5PXswfSBvZmZzZXQ9e2lzUnRsfSAvPlxuICAgICAgPExvYWRpbmdEb3QgZGVsYXk9ezE2MH0gb2Zmc2V0IC8+XG4gICAgICA8TG9hZGluZ0RvdCBkZWxheT17MzIwfSBvZmZzZXQ9eyFpc1J0bH0gLz5cbiAgICA8L2Rpdj5cbiAgKTtcbn07XG4iXX0= */",toString:BX},VO=function(e){var n=e.size,r=vr(e,jX);return we("svg",Ee({height:n,width:n,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",css:FX},r))},xv=function(e){return we(VO,Ee({size:20},e),we("path",{d:"M14.348 14.849c-0.469 0.469-1.229 0.469-1.697 0l-2.651-3.030-2.651 3.029c-0.469 0.469-1.229 0.469-1.697 0-0.469-0.469-0.469-1.229 0-1.697l2.758-3.15-2.759-3.152c-0.469-0.469-0.469-1.228 0-1.697s1.228-0.469 1.697 0l2.652 3.031 2.651-3.031c0.469-0.469 1.228-0.469 1.697 0s0.469 1.229 0 1.697l-2.758 3.152 2.758 3.15c0.469 0.469 0.469 1.229 0 1.698z"}))},HO=function(e){return we(VO,Ee({size:20},e),we("path",{d:"M4.516 7.548c0.436-0.446 1.043-0.481 1.576 0l3.908 3.747 3.908-3.747c0.533-0.481 1.141-0.446 1.574 0 0.436 0.445 0.408 1.197 0 1.615-0.406 0.418-4.695 4.502-4.695 4.502-0.217 0.223-0.502 0.335-0.787 0.335s-0.57-0.112-0.789-0.335c0 0-4.287-4.084-4.695-4.502s-0.436-1.17 0-1.615z"}))},qO=function(e,n){var r=e.isFocused,o=e.theme,i=o.spacing.baseUnit,a=o.colors;return Ce({label:"indicatorContainer",display:"flex",transition:"color 150ms"},n?{}:{color:r?a.neutral60:a.neutral20,padding:i*2,":hover":{color:r?a.neutral80:a.neutral40}})},GX=qO,$X=function(e){var n=e.children,r=e.innerProps;return we("div",Ee({},ht(e,"dropdownIndicator",{indicator:!0,"dropdown-indicator":!0}),r),n||we(HO,null))},WX=qO,VX=function(e){var n=e.children,r=e.innerProps;return we("div",Ee({},ht(e,"clearIndicator",{indicator:!0,"clear-indicator":!0}),r),n||we(xv,null))},HX=function(e,n){var r=e.isDisabled,o=e.theme,i=o.spacing.baseUnit,a=o.colors;return Ce({label:"indicatorSeparator",alignSelf:"stretch",width:1},n?{}:{backgroundColor:r?a.neutral10:a.neutral20,marginBottom:i*2,marginTop:i*2})},qX=function(e){var n=e.innerProps;return we("span",Ee({},n,ht(e,"indicatorSeparator",{"indicator-separator":!0})))},zX=Q7(Yw||(Yw=eX([`
84
84
  0%, 80%, 100% { opacity: 0; }
85
85
  40% { opacity: 1; }
86
- `]))),XX=function(e,n){var r=e.isFocused,o=e.size,i=e.theme,a=i.colors,s=i.spacing.baseUnit;return Ce({label:"loadingIndicator",display:"flex",transition:"color 150ms",alignSelf:"center",fontSize:o,lineHeight:1,marginRight:o,textAlign:"center",verticalAlign:"middle"},n?{}:{color:r?a.neutral60:a.neutral20,padding:s*2})},Up=function(e){var n=e.delay,r=e.offset;return we("span",{css:yv({animation:"".concat(zX," 1s ease-in-out ").concat(n,"ms infinite;"),backgroundColor:"currentColor",borderRadius:"1em",display:"inline-block",marginLeft:r?"1em":void 0,height:"1em",verticalAlign:"top",width:"1em"},process.env.NODE_ENV==="production"?"":";label:LoadingDot;",process.env.NODE_ENV==="production"?"":"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQW1RSSIsImZpbGUiOiJpbmRpY2F0b3JzLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgSlNYLCBSZWFjdE5vZGUgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBqc3gsIGtleWZyYW1lcyB9IGZyb20gJ0BlbW90aW9uL3JlYWN0J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zIwfSBvZmZzZXQ9eyFpc1J0bH0gLz5cbiAgICA8L2Rpdj5cbiAgKTtcbn07XG4iXX0= */")})},YX=function(e){var n=e.innerProps,r=e.isRtl,o=e.size,i=o===void 0?4:o,a=vr(e,LX);return we("div",Ee({},ht(Ce(Ce({},a),{},{innerProps:n,isRtl:r,size:i}),"loadingIndicator",{indicator:!0,"loading-indicator":!0}),n),we(Up,{delay:0,offset:r}),we(Up,{delay:160,offset:!0}),we(Up,{delay:320,offset:!r}))},UX=function(e,n){var r=e.isDisabled,o=e.isFocused,i=e.theme,a=i.colors,s=i.borderRadius,l=i.spacing;return Ce({label:"control",alignItems:"center",cursor:"default",display:"flex",flexWrap:"wrap",justifyContent:"space-between",minHeight:l.controlHeight,outline:"0 !important",position:"relative",transition:"all 100ms"},n?{}:{backgroundColor:r?a.neutral5:a.neutral0,borderColor:r?a.neutral10:o?a.primary:a.neutral20,borderRadius:s,borderStyle:"solid",borderWidth:1,boxShadow:o?"0 0 0 1px ".concat(a.primary):void 0,"&:hover":{borderColor:o?a.primary:a.neutral30}})},ZX=function(e){var n=e.children,r=e.isDisabled,o=e.isFocused,i=e.innerRef,a=e.innerProps,s=e.menuIsOpen;return we("div",Ee({ref:i},ht(e,"control",{control:!0,"control--is-disabled":r,"control--is-focused":o,"control--menu-is-open":s}),a,{"aria-disabled":r||void 0}),n)},JX=ZX,KX=["data"],QX=function(e,n){var r=e.theme.spacing;return n?{}:{paddingBottom:r.baseUnit*2,paddingTop:r.baseUnit*2}},eY=function(e){var n=e.children,r=e.cx,o=e.getStyles,i=e.getClassNames,a=e.Heading,s=e.headingProps,l=e.innerProps,u=e.label,d=e.theme,c=e.selectProps;return we("div",Ee({},ht(e,"group",{group:!0}),l),we(a,Ee({},s,{selectProps:c,theme:d,getStyles:o,getClassNames:i,cx:r}),u),we("div",null,n))},tY=function(e,n){var r=e.theme,o=r.colors,i=r.spacing;return Ce({label:"group",cursor:"default",display:"block"},n?{}:{color:o.neutral40,fontSize:"75%",fontWeight:500,marginBottom:"0.25em",paddingLeft:i.baseUnit*3,paddingRight:i.baseUnit*3,textTransform:"uppercase"})},nY=function(e){var n=LO(e);n.data;var r=vr(n,KX);return we("div",Ee({},ht(e,"groupHeading",{"group-heading":!0}),r))},rY=eY,oY=["innerRef","isDisabled","isHidden","inputClassName"],iY=function(e,n){var r=e.isDisabled,o=e.value,i=e.theme,a=i.spacing,s=i.colors;return Ce(Ce({visibility:r?"hidden":"visible",transform:o?"translateZ(0)":""},aY),n?{}:{margin:a.baseUnit/2,paddingBottom:a.baseUnit/2,paddingTop:a.baseUnit/2,color:s.neutral80})},zO={gridArea:"1 / 2",font:"inherit",minWidth:"2px",border:0,margin:0,outline:0,padding:0},aY={flex:"1 1 auto",display:"inline-grid",gridArea:"1 / 1 / 2 / 3",gridTemplateColumns:"0 min-content","&:after":Ce({content:'attr(data-value) " "',visibility:"hidden",whiteSpace:"pre"},zO)},sY=function(e){return Ce({label:"input",color:"inherit",background:0,opacity:e?0:1,width:"100%"},zO)},lY=function(e){var n=e.cx,r=e.value,o=LO(e),i=o.innerRef,a=o.isDisabled,s=o.isHidden,l=o.inputClassName,u=vr(o,oY);return we("div",Ee({},ht(e,"input",{"input-container":!0}),{"data-value":r||""}),we("input",Ee({className:n({input:!0},l),ref:i,style:sY(s),disabled:a},u)))},uY=lY,cY=function(e,n){var r=e.theme,o=r.spacing,i=r.borderRadius,a=r.colors;return Ce({label:"multiValue",display:"flex",minWidth:0},n?{}:{backgroundColor:a.neutral10,borderRadius:i/2,margin:o.baseUnit/2})},dY=function(e,n){var r=e.theme,o=r.borderRadius,i=r.colors,a=e.cropWithEllipsis;return Ce({overflow:"hidden",textOverflow:a||a===void 0?"ellipsis":void 0,whiteSpace:"nowrap"},n?{}:{borderRadius:o/2,color:i.neutral80,fontSize:"85%",padding:3,paddingLeft:6})},fY=function(e,n){var r=e.theme,o=r.spacing,i=r.borderRadius,a=r.colors,s=e.isFocused;return Ce({alignItems:"center",display:"flex"},n?{}:{borderRadius:i/2,backgroundColor:s?a.dangerLight:void 0,paddingLeft:o.baseUnit,paddingRight:o.baseUnit,":hover":{backgroundColor:a.dangerLight,color:a.danger}})},XO=function(e){var n=e.children,r=e.innerProps;return we("div",r,n)},hY=XO,pY=XO;function mY(t){var e=t.children,n=t.innerProps;return we("div",Ee({role:"button"},n),e||we(xv,{size:14}))}var gY=function(e){var n=e.children,r=e.components,o=e.data,i=e.innerProps,a=e.isDisabled,s=e.removeProps,l=e.selectProps,u=r.Container,d=r.Label,c=r.Remove;return we(u,{data:o,innerProps:Ce(Ce({},ht(e,"multiValue",{"multi-value":!0,"multi-value--is-disabled":a})),i),selectProps:l},we(d,{data:o,innerProps:Ce({},ht(e,"multiValueLabel",{"multi-value__label":!0})),selectProps:l},n),we(c,{data:o,innerProps:Ce(Ce({},ht(e,"multiValueRemove",{"multi-value__remove":!0})),{},{"aria-label":"Remove ".concat(n||"option")},s),selectProps:l}))},bY=gY,vY=function(e,n){var r=e.isDisabled,o=e.isFocused,i=e.isSelected,a=e.theme,s=a.spacing,l=a.colors;return Ce({label:"option",cursor:"default",display:"block",fontSize:"inherit",width:"100%",userSelect:"none",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)"},n?{}:{backgroundColor:i?l.primary:o?l.primary25:"transparent",color:r?l.neutral20:i?l.neutral0:"inherit",padding:"".concat(s.baseUnit*2,"px ").concat(s.baseUnit*3,"px"),":active":{backgroundColor:r?void 0:i?l.primary:l.primary50}})},yY=function(e){var n=e.children,r=e.isDisabled,o=e.isFocused,i=e.isSelected,a=e.innerRef,s=e.innerProps;return we("div",Ee({},ht(e,"option",{option:!0,"option--is-disabled":r,"option--is-focused":o,"option--is-selected":i}),{ref:a,"aria-disabled":r},s),n)},xY=yY,wY=function(e,n){var r=e.theme,o=r.spacing,i=r.colors;return Ce({label:"placeholder",gridArea:"1 / 1 / 2 / 3"},n?{}:{color:i.neutral50,marginLeft:o.baseUnit/2,marginRight:o.baseUnit/2})},CY=function(e){var n=e.children,r=e.innerProps;return we("div",Ee({},ht(e,"placeholder",{placeholder:!0}),r),n)},SY=CY,EY=function(e,n){var r=e.isDisabled,o=e.theme,i=o.spacing,a=o.colors;return Ce({label:"singleValue",gridArea:"1 / 1 / 2 / 3",maxWidth:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},n?{}:{color:r?a.neutral40:a.neutral80,marginLeft:i.baseUnit/2,marginRight:i.baseUnit/2})},IY=function(e){var n=e.children,r=e.isDisabled,o=e.innerProps;return we("div",Ee({},ht(e,"singleValue",{"single-value":!0,"single-value--is-disabled":r}),o),n)},AY=IY,TY={ClearIndicator:VX,Control:JX,DropdownIndicator:$X,DownChevron:HO,CrossIcon:xv,Group:rY,GroupHeading:nY,IndicatorsContainer:DX,IndicatorSeparator:qX,Input:uY,LoadingIndicator:YX,Menu:wX,MenuList:SX,MenuPortal:_X,LoadingMessage:TX,NoOptionsMessage:AX,MultiValue:bY,MultiValueContainer:hY,MultiValueLabel:pY,MultiValueRemove:mY,Option:xY,Placeholder:SY,SelectContainer:RX,SingleValue:AY,ValueContainer:MX},NY=function(e){return Ce(Ce({},TY),e.components)},Uw=Number.isNaN||function(e){return typeof e=="number"&&e!==e};function _Y(t,e){return!!(t===e||Uw(t)&&Uw(e))}function OY(t,e){if(t.length!==e.length)return!1;for(var n=0;n<t.length;n++)if(!_Y(t[n],e[n]))return!1;return!0}function RY(t,e){e===void 0&&(e=OY);var n=null;function r(){for(var o=[],i=0;i<arguments.length;i++)o[i]=arguments[i];if(n&&n.lastThis===this&&e(o,n.lastArgs))return n.lastResult;var a=t.apply(this,o);return n={lastResult:a,lastArgs:o,lastThis:this},a}return r.clear=function(){n=null},r}function PY(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}var MY=process.env.NODE_ENV==="production"?{name:"7pg0cj-a11yText",styles:"label:a11yText;z-index:9999;border:0;clip:rect(1px, 1px, 1px, 1px);height:1px;width:1px;position:absolute;overflow:hidden;padding:0;white-space:nowrap"}:{name:"1f43avz-a11yText-A11yText",styles:"label:a11yText;z-index:9999;border:0;clip:rect(1px, 1px, 1px, 1px);height:1px;width:1px;position:absolute;overflow:hidden;padding:0;white-space:nowrap;label:A11yText;",map:"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkExMXlUZXh0LnRzeCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFPSSIsImZpbGUiOiJBMTF5VGV4dC50c3giLCJzb3VyY2VzQ29udGVudCI6WyIvKiogQGpzeCBqc3ggKi9cbmltcG9ydCB7IEpTWCB9IGZyb20gJ3JlYWN0JztcbmltcG9ydCB7IGpzeCB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcblxuLy8gQXNzaXN0aXZlIHRleHQgdG8gZGVzY3JpYmUgdmlzdWFsIGVsZW1lbnRzLiBIaWRkZW4gZm9yIHNpZ2h0ZWQgdXNlcnMuXG5jb25zdCBBMTF5VGV4dCA9IChwcm9wczogSlNYLkludHJpbnNpY0VsZW1lbnRzWydzcGFuJ10pID0+IChcbiAgPHNwYW5cbiAgICBjc3M9e3tcbiAgICAgIGxhYmVsOiAnYTExeVRleHQnLFxuICAgICAgekluZGV4OiA5OTk5LFxuICAgICAgYm9yZGVyOiAwLFxuICAgICAgY2xpcDogJ3JlY3QoMXB4LCAxcHgsIDFweCwgMXB4KScsXG4gICAgICBoZWlnaHQ6IDEsXG4gICAgICB3aWR0aDogMSxcbiAgICAgIHBvc2l0aW9uOiAnYWJzb2x1dGUnLFxuICAgICAgb3ZlcmZsb3c6ICdoaWRkZW4nLFxuICAgICAgcGFkZGluZzogMCxcbiAgICAgIHdoaXRlU3BhY2U6ICdub3dyYXAnLFxuICAgIH19XG4gICAgey4uLnByb3BzfVxuICAvPlxuKTtcblxuZXhwb3J0IGRlZmF1bHQgQTExeVRleHQ7XG4iXX0= */",toString:PY},kY=function(e){return we("span",Ee({css:MY},e))},Zw=kY,DY={guidance:function(e){var n=e.isSearchable,r=e.isMulti,o=e.tabSelectsValue,i=e.context,a=e.isInitialFocus;switch(i){case"menu":return"Use Up and Down to choose options, press Enter to select the currently focused option, press Escape to exit the menu".concat(o?", press Tab to select the option and exit the menu":"",".");case"input":return a?"".concat(e["aria-label"]||"Select"," is focused ").concat(n?",type to refine list":"",", press Down to open the menu, ").concat(r?" press left to focus selected values":""):"";case"value":return"Use left and right to toggle between focused values, press Backspace to remove the currently focused value";default:return""}},onChange:function(e){var n=e.action,r=e.label,o=r===void 0?"":r,i=e.labels,a=e.isDisabled;switch(n){case"deselect-option":case"pop-value":case"remove-value":return"option ".concat(o,", deselected.");case"clear":return"All selected options have been cleared.";case"initial-input-focus":return"option".concat(i.length>1?"s":""," ").concat(i.join(","),", selected.");case"select-option":return a?"option ".concat(o," is disabled. Select another option."):"option ".concat(o,", selected.");default:return""}},onFocus:function(e){var n=e.context,r=e.focused,o=e.options,i=e.label,a=i===void 0?"":i,s=e.selectValue,l=e.isDisabled,u=e.isSelected,d=e.isAppleDevice,c=function(g,b){return g&&g.length?"".concat(g.indexOf(b)+1," of ").concat(g.length):""};if(n==="value"&&s)return"value ".concat(a," focused, ").concat(c(s,r),".");if(n==="menu"&&d){var f=l?" disabled":"",p="".concat(u?" selected":"").concat(f);return"".concat(a).concat(p,", ").concat(c(o,r),".")}return""},onFilter:function(e){var n=e.inputValue,r=e.resultsMessage;return"".concat(r).concat(n?" for search term "+n:"",".")}},jY=function(e){var n=e.ariaSelection,r=e.focusedOption,o=e.focusedValue,i=e.focusableOptions,a=e.isFocused,s=e.selectValue,l=e.selectProps,u=e.id,d=e.isAppleDevice,c=l.ariaLiveMessages,f=l.getOptionLabel,p=l.inputValue,m=l.isMulti,g=l.isOptionDisabled,b=l.isSearchable,y=l.menuIsOpen,w=l.options,C=l.screenReaderStatus,S=l.tabSelectsValue,E=l.isLoading,N=l["aria-label"],A=l["aria-live"],O=I.useMemo(function(){return Ce(Ce({},DY),c||{})},[c]),M=I.useMemo(function(){var L="";if(n&&O.onChange){var P=n.option,G=n.options,D=n.removedValue,H=n.removedValues,U=n.value,Q=function(J){return Array.isArray(J)?null:J},$=D||P||Q(U),q=$?f($):"",Z=G||H||void 0,X=Z?Z.map(f):[],te=Ce({isDisabled:$&&g($,s),label:q,labels:X},n);L=O.onChange(te)}return L},[n,O,g,s,f]),V=I.useMemo(function(){var L="",P=r||o,G=!!(r&&s&&s.includes(r));if(P&&O.onFocus){var D={focused:P,label:f(P),isDisabled:g(P,s),isSelected:G,options:i,context:P===r?"menu":"value",selectValue:s,isAppleDevice:d};L=O.onFocus(D)}return L},[r,o,f,g,O,i,s,d]),T=I.useMemo(function(){var L="";if(y&&w.length&&!E&&O.onFilter){var P=C({count:i.length});L=O.onFilter({inputValue:p,resultsMessage:P})}return L},[i,p,y,O,w,C,E]),k=n?.action==="initial-input-focus",_=I.useMemo(function(){var L="";if(O.guidance){var P=o?"value":y?"menu":"input";L=O.guidance({"aria-label":N,context:P,isDisabled:r&&g(r,s),isMulti:m,isSearchable:b,tabSelectsValue:S,isInitialFocus:k})}return L},[N,r,o,m,g,b,y,O,s,S,k]),B=we(I.Fragment,null,we("span",{id:"aria-selection"},M),we("span",{id:"aria-focused"},V),we("span",{id:"aria-results"},T),we("span",{id:"aria-guidance"},_));return we(I.Fragment,null,we(Zw,{id:u},k&&B),we(Zw,{"aria-live":A,"aria-atomic":"false","aria-relevant":"additions text",role:"log"},a&&!k&&B))},LY=jY,fg=[{base:"A",letters:"AⒶAÀÁÂẦẤẪẨÃĀĂẰẮẴẲȦǠÄǞẢÅǺǍȀȂẠẬẶḀĄȺⱯ"},{base:"AA",letters:"Ꜳ"},{base:"AE",letters:"ÆǼǢ"},{base:"AO",letters:"Ꜵ"},{base:"AU",letters:"Ꜷ"},{base:"AV",letters:"ꜸꜺ"},{base:"AY",letters:"Ꜽ"},{base:"B",letters:"BⒷBḂḄḆɃƂƁ"},{base:"C",letters:"CⒸCĆĈĊČÇḈƇȻꜾ"},{base:"D",letters:"DⒹDḊĎḌḐḒḎĐƋƊƉꝹ"},{base:"DZ",letters:"DZDŽ"},{base:"Dz",letters:"DzDž"},{base:"E",letters:"EⒺEÈÉÊỀẾỄỂẼĒḔḖĔĖËẺĚȄȆẸỆȨḜĘḘḚƐƎ"},{base:"F",letters:"FⒻFḞƑꝻ"},{base:"G",letters:"GⒼGǴĜḠĞĠǦĢǤƓꞠꝽꝾ"},{base:"H",letters:"HⒽHĤḢḦȞḤḨḪĦⱧⱵꞍ"},{base:"I",letters:"IⒾIÌÍÎĨĪĬİÏḮỈǏȈȊỊĮḬƗ"},{base:"J",letters:"JⒿJĴɈ"},{base:"K",letters:"KⓀKḰǨḲĶḴƘⱩꝀꝂꝄꞢ"},{base:"L",letters:"LⓁLĿĹĽḶḸĻḼḺŁȽⱢⱠꝈꝆꞀ"},{base:"LJ",letters:"LJ"},{base:"Lj",letters:"Lj"},{base:"M",letters:"MⓂMḾṀṂⱮƜ"},{base:"N",letters:"NⓃNǸŃÑṄŇṆŅṊṈȠƝꞐꞤ"},{base:"NJ",letters:"NJ"},{base:"Nj",letters:"Nj"},{base:"O",letters:"OⓄOÒÓÔỒỐỖỔÕṌȬṎŌṐṒŎȮȰÖȪỎŐǑȌȎƠỜỚỠỞỢỌỘǪǬØǾƆƟꝊꝌ"},{base:"OI",letters:"Ƣ"},{base:"OO",letters:"Ꝏ"},{base:"OU",letters:"Ȣ"},{base:"P",letters:"PⓅPṔṖƤⱣꝐꝒꝔ"},{base:"Q",letters:"QⓆQꝖꝘɊ"},{base:"R",letters:"RⓇRŔṘŘȐȒṚṜŖṞɌⱤꝚꞦꞂ"},{base:"S",letters:"SⓈSẞŚṤŜṠŠṦṢṨȘŞⱾꞨꞄ"},{base:"T",letters:"TⓉTṪŤṬȚŢṰṮŦƬƮȾꞆ"},{base:"TZ",letters:"Ꜩ"},{base:"U",letters:"UⓊUÙÚÛŨṸŪṺŬÜǛǗǕǙỦŮŰǓȔȖƯỪỨỮỬỰỤṲŲṶṴɄ"},{base:"V",letters:"VⓋVṼṾƲꝞɅ"},{base:"VY",letters:"Ꝡ"},{base:"W",letters:"WⓌWẀẂŴẆẄẈⱲ"},{base:"X",letters:"XⓍXẊẌ"},{base:"Y",letters:"YⓎYỲÝŶỸȲẎŸỶỴƳɎỾ"},{base:"Z",letters:"ZⓏZŹẐŻŽẒẔƵȤⱿⱫꝢ"},{base:"a",letters:"aⓐaẚàáâầấẫẩãāăằắẵẳȧǡäǟảåǻǎȁȃạậặḁąⱥɐ"},{base:"aa",letters:"ꜳ"},{base:"ae",letters:"æǽǣ"},{base:"ao",letters:"ꜵ"},{base:"au",letters:"ꜷ"},{base:"av",letters:"ꜹꜻ"},{base:"ay",letters:"ꜽ"},{base:"b",letters:"bⓑbḃḅḇƀƃɓ"},{base:"c",letters:"cⓒcćĉċčçḉƈȼꜿↄ"},{base:"d",letters:"dⓓdḋďḍḑḓḏđƌɖɗꝺ"},{base:"dz",letters:"dzdž"},{base:"e",letters:"eⓔeèéêềếễểẽēḕḗĕėëẻěȅȇẹệȩḝęḙḛɇɛǝ"},{base:"f",letters:"fⓕfḟƒꝼ"},{base:"g",letters:"gⓖgǵĝḡğġǧģǥɠꞡᵹꝿ"},{base:"h",letters:"hⓗhĥḣḧȟḥḩḫẖħⱨⱶɥ"},{base:"hv",letters:"ƕ"},{base:"i",letters:"iⓘiìíîĩīĭïḯỉǐȉȋịįḭɨı"},{base:"j",letters:"jⓙjĵǰɉ"},{base:"k",letters:"kⓚkḱǩḳķḵƙⱪꝁꝃꝅꞣ"},{base:"l",letters:"lⓛlŀĺľḷḹļḽḻſłƚɫⱡꝉꞁꝇ"},{base:"lj",letters:"lj"},{base:"m",letters:"mⓜmḿṁṃɱɯ"},{base:"n",letters:"nⓝnǹńñṅňṇņṋṉƞɲʼnꞑꞥ"},{base:"nj",letters:"nj"},{base:"o",letters:"oⓞoòóôồốỗổõṍȭṏōṑṓŏȯȱöȫỏőǒȍȏơờớỡởợọộǫǭøǿɔꝋꝍɵ"},{base:"oi",letters:"ƣ"},{base:"ou",letters:"ȣ"},{base:"oo",letters:"ꝏ"},{base:"p",letters:"pⓟpṕṗƥᵽꝑꝓꝕ"},{base:"q",letters:"qⓠqɋꝗꝙ"},{base:"r",letters:"rⓡrŕṙřȑȓṛṝŗṟɍɽꝛꞧꞃ"},{base:"s",letters:"sⓢsßśṥŝṡšṧṣṩșşȿꞩꞅẛ"},{base:"t",letters:"tⓣtṫẗťṭțţṱṯŧƭʈⱦꞇ"},{base:"tz",letters:"ꜩ"},{base:"u",letters:"uⓤuùúûũṹūṻŭüǜǘǖǚủůűǔȕȗưừứữửựụṳųṷṵʉ"},{base:"v",letters:"vⓥvṽṿʋꝟʌ"},{base:"vy",letters:"ꝡ"},{base:"w",letters:"wⓦwẁẃŵẇẅẘẉⱳ"},{base:"x",letters:"xⓧxẋẍ"},{base:"y",letters:"yⓨyỳýŷỹȳẏÿỷẙỵƴɏỿ"},{base:"z",letters:"zⓩzźẑżžẓẕƶȥɀⱬꝣ"}],BY=new RegExp("["+fg.map(function(t){return t.letters}).join("")+"]","g"),YO={};for(var Zp=0;Zp<fg.length;Zp++)for(var Jp=fg[Zp],Kp=0;Kp<Jp.letters.length;Kp++)YO[Jp.letters[Kp]]=Jp.base;var UO=function(e){return e.replace(BY,function(n){return YO[n]})},FY=RY(UO),Jw=function(e){return e.replace(/^\s+|\s+$/g,"")},GY=function(e){return"".concat(e.label," ").concat(e.value)},$Y=function(e){return function(n,r){if(n.data.__isNew__)return!0;var o=Ce({ignoreCase:!0,ignoreAccents:!0,stringify:GY,trim:!0,matchFrom:"any"},e),i=o.ignoreCase,a=o.ignoreAccents,s=o.stringify,l=o.trim,u=o.matchFrom,d=l?Jw(r):r,c=l?Jw(s(n)):s(n);return i&&(d=d.toLowerCase(),c=c.toLowerCase()),a&&(d=FY(d),c=UO(c)),u==="start"?c.substr(0,d.length)===d:c.indexOf(d)>-1}},WY=["innerRef"];function VY(t){var e=t.innerRef,n=vr(t,WY),r=hX(n,"onExited","in","enter","exit","appear");return we("input",Ee({ref:e},r,{css:yv({label:"dummyInput",background:0,border:0,caretColor:"transparent",fontSize:"inherit",gridArea:"1 / 1 / 2 / 3",outline:0,padding:0,width:1,color:"transparent",left:-100,opacity:0,position:"relative",transform:"scale(.01)"},process.env.NODE_ENV==="production"?"":";label:DummyInput;",process.env.NODE_ENV==="production"?"":"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkR1bW15SW5wdXQudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXlCTSIsImZpbGUiOiJEdW1teUlucHV0LnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgSlNYLCBSZWYgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBqc3ggfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5pbXBvcnQgeyByZW1vdmVQcm9wcyB9IGZyb20gJy4uL3V0aWxzJztcblxuZXhwb3J0IGRlZmF1bHQgZnVuY3Rpb24gRHVtbXlJbnB1dCh7XG4gIGlubmVyUmVmLFxuICAuLi5wcm9wc1xufTogSlNYLkludHJpbnNpY0VsZW1lbnRzWydpbnB1dCddICYge1xuICByZWFkb25seSBpbm5lclJlZjogUmVmPEhUTUxJbnB1dEVsZW1lbnQ+O1xufSkge1xuICAvLyBSZW1vdmUgYW5pbWF0aW9uIHByb3BzIG5vdCBtZWFudCBmb3IgSFRNTCBlbGVtZW50c1xuICBjb25zdCBmaWx0ZXJlZFByb3BzID0gcmVtb3ZlUHJvcHMoXG4gICAgcHJvcHMsXG4gICAgJ29uRXhpdGVkJyxcbiAgICAnaW4nLFxuICAgICdlbnRlcicsXG4gICAgJ2V4aXQnLFxuICAgICdhcHBlYXInXG4gICk7XG5cbiAgcmV0dXJuIChcbiAgICA8aW5wdXRcbiAgICAgIHJlZj17aW5uZXJSZWZ9XG4gICAgICB7Li4uZmlsdGVyZWRQcm9wc31cbiAgICAgIGNzcz17e1xuICAgICAgICBsYWJlbDogJ2R1bW15SW5wdXQnLFxuICAgICAgICAvLyBnZXQgcmlkIG9mIGFueSBkZWZhdWx0IHN0eWxlc1xuICAgICAgICBiYWNrZ3JvdW5kOiAwLFxuICAgICAgICBib3JkZXI6IDAsXG4gICAgICAgIC8vIGltcG9ydGFudCEgdGhpcyBoaWRlcyB0aGUgZmxhc2hpbmcgY3Vyc29yXG4gICAgICAgIGNhcmV0Q29sb3I6ICd0cmFuc3BhcmVudCcsXG4gICAgICAgIGZvbnRTaXplOiAnaW5oZXJpdCcsXG4gICAgICAgIGdyaWRBcmVhOiAnMSAvIDEgLyAyIC8gMycsXG4gICAgICAgIG91dGxpbmU6IDAsXG4gICAgICAgIHBhZGRpbmc6IDAsXG4gICAgICAgIC8vIGltcG9ydGFudCEgd2l0aG91dCBgd2lkdGhgIGJyb3dzZXJzIHdvbid0IGFsbG93IGZvY3VzXG4gICAgICAgIHdpZHRoOiAxLFxuXG4gICAgICAgIC8vIHJlbW92ZSBjdXJzb3Igb24gZGVza3RvcFxuICAgICAgICBjb2xvcjogJ3RyYW5zcGFyZW50JyxcblxuICAgICAgICAvLyByZW1vdmUgY3Vyc29yIG9uIG1vYmlsZSB3aGlsc3QgbWFpbnRhaW5pbmcgXCJzY3JvbGwgaW50byB2aWV3XCIgYmVoYXZpb3VyXG4gICAgICAgIGxlZnQ6IC0xMDAsXG4gICAgICAgIG9wYWNpdHk6IDAsXG4gICAgICAgIHBvc2l0aW9uOiAncmVsYXRpdmUnLFxuICAgICAgICB0cmFuc2Zvcm06ICdzY2FsZSguMDEpJyxcbiAgICAgIH19XG4gICAgLz5cbiAgKTtcbn1cbiJdfQ== */")}))}var HY=function(e){e.cancelable&&e.preventDefault(),e.stopPropagation()};function qY(t){var e=t.isEnabled,n=t.onBottomArrive,r=t.onBottomLeave,o=t.onTopArrive,i=t.onTopLeave,a=I.useRef(!1),s=I.useRef(!1),l=I.useRef(0),u=I.useRef(null),d=I.useCallback(function(b,y){if(u.current!==null){var w=u.current,C=w.scrollTop,S=w.scrollHeight,E=w.clientHeight,N=u.current,A=y>0,O=S-E-C,M=!1;O>y&&a.current&&(r&&r(b),a.current=!1),A&&s.current&&(i&&i(b),s.current=!1),A&&y>O?(n&&!a.current&&n(b),N.scrollTop=S,M=!0,a.current=!0):!A&&-y>C&&(o&&!s.current&&o(b),N.scrollTop=0,M=!0,s.current=!0),M&&HY(b)}},[n,r,o,i]),c=I.useCallback(function(b){d(b,b.deltaY)},[d]),f=I.useCallback(function(b){l.current=b.changedTouches[0].clientY},[]),p=I.useCallback(function(b){var y=l.current-b.changedTouches[0].clientY;d(b,y)},[d]),m=I.useCallback(function(b){if(b){var y=cX?{passive:!1}:!1;b.addEventListener("wheel",c,y),b.addEventListener("touchstart",f,y),b.addEventListener("touchmove",p,y)}},[p,f,c]),g=I.useCallback(function(b){b&&(b.removeEventListener("wheel",c,!1),b.removeEventListener("touchstart",f,!1),b.removeEventListener("touchmove",p,!1))},[p,f,c]);return I.useEffect(function(){if(e){var b=u.current;return m(b),function(){g(b)}}},[e,m,g]),function(b){u.current=b}}var Kw=["boxSizing","height","overflow","paddingRight","position"],Qw={boxSizing:"border-box",overflow:"hidden",position:"relative",height:"100%"};function eC(t){t.cancelable&&t.preventDefault()}function tC(t){t.stopPropagation()}function nC(){var t=this.scrollTop,e=this.scrollHeight,n=t+this.offsetHeight;t===0?this.scrollTop=1:n===e&&(this.scrollTop=t-1)}function rC(){return"ontouchstart"in window||navigator.maxTouchPoints}var oC=!!(typeof window<"u"&&window.document&&window.document.createElement),ua=0,oi={capture:!1,passive:!1};function zY(t){var e=t.isEnabled,n=t.accountForScrollbars,r=n===void 0?!0:n,o=I.useRef({}),i=I.useRef(null),a=I.useCallback(function(l){if(oC){var u=document.body,d=u&&u.style;if(r&&Kw.forEach(function(m){var g=d&&d[m];o.current[m]=g}),r&&ua<1){var c=parseInt(o.current.paddingRight,10)||0,f=document.body?document.body.clientWidth:0,p=window.innerWidth-f+c||0;Object.keys(Qw).forEach(function(m){var g=Qw[m];d&&(d[m]=g)}),d&&(d.paddingRight="".concat(p,"px"))}u&&rC()&&(u.addEventListener("touchmove",eC,oi),l&&(l.addEventListener("touchstart",nC,oi),l.addEventListener("touchmove",tC,oi))),ua+=1}},[r]),s=I.useCallback(function(l){if(oC){var u=document.body,d=u&&u.style;ua=Math.max(ua-1,0),r&&ua<1&&Kw.forEach(function(c){var f=o.current[c];d&&(d[c]=f)}),u&&rC()&&(u.removeEventListener("touchmove",eC,oi),l&&(l.removeEventListener("touchstart",nC,oi),l.removeEventListener("touchmove",tC,oi)))}},[r]);return I.useEffect(function(){if(e){var l=i.current;return a(l),function(){s(l)}}},[e,a,s]),function(l){i.current=l}}function XY(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}var YY=function(e){var n=e.target;return n.ownerDocument.activeElement&&n.ownerDocument.activeElement.blur()},UY=process.env.NODE_ENV==="production"?{name:"1kfdb0e",styles:"position:fixed;left:0;bottom:0;right:0;top:0"}:{name:"bp8cua-ScrollManager",styles:"position:fixed;left:0;bottom:0;right:0;top:0;label:ScrollManager;",map:"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIlNjcm9sbE1hbmFnZXIudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQW9EVSIsImZpbGUiOiJTY3JvbGxNYW5hZ2VyLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsganN4IH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnO1xuaW1wb3J0IHsgRnJhZ21lbnQsIFJlYWN0RWxlbWVudCwgUmVmQ2FsbGJhY2ssIE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vRnJhZ21lbnQ+XG4gICk7XG59XG4iXX0= */",toString:XY};function ZY(t){var e=t.children,n=t.lockEnabled,r=t.captureEnabled,o=r===void 0?!0:r,i=t.onBottomArrive,a=t.onBottomLeave,s=t.onTopArrive,l=t.onTopLeave,u=qY({isEnabled:o,onBottomArrive:i,onBottomLeave:a,onTopArrive:s,onTopLeave:l}),d=zY({isEnabled:n}),c=function(p){u(p),d(p)};return we(I.Fragment,null,n&&we("div",{onClick:YY,css:UY}),e(c))}function JY(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}var KY=process.env.NODE_ENV==="production"?{name:"1a0ro4n-requiredInput",styles:"label:requiredInput;opacity:0;pointer-events:none;position:absolute;bottom:0;left:0;right:0;width:100%"}:{name:"5kkxb2-requiredInput-RequiredInput",styles:"label:requiredInput;opacity:0;pointer-events:none;position:absolute;bottom:0;left:0;right:0;width:100%;label:RequiredInput;",map:"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIlJlcXVpcmVkSW5wdXQudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQWNJIiwiZmlsZSI6IlJlcXVpcmVkSW5wdXQudHN4Iiwic291cmNlc0NvbnRlbnQiOlsiLyoqIEBqc3gganN4ICovXG5pbXBvcnQgeyBGb2N1c0V2ZW50SGFuZGxlciwgRnVuY3Rpb25Db21wb25lbnQgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBqc3ggfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5cbmNvbnN0IFJlcXVpcmVkSW5wdXQ6IEZ1bmN0aW9uQ29tcG9uZW50PHtcbiAgcmVhZG9ubHkgbmFtZT86IHN0cmluZztcbiAgcmVhZG9ubHkgb25Gb2N1czogRm9jdXNFdmVudEhhbmRsZXI8SFRNTElucHV0RWxlbWVudD47XG59PiA9ICh7IG5hbWUsIG9uRm9jdXMgfSkgPT4gKFxuICA8aW5wdXRcbiAgICByZXF1aXJlZFxuICAgIG5hbWU9e25hbWV9XG4gICAgdGFiSW5kZXg9ey0xfVxuICAgIGFyaWEtaGlkZGVuPVwidHJ1ZVwiXG4gICAgb25Gb2N1cz17b25Gb2N1c31cbiAgICBjc3M9e3tcbiAgICAgIGxhYmVsOiAncmVxdWlyZWRJbnB1dCcsXG4gICAgICBvcGFjaXR5OiAwLFxuICAgICAgcG9pbnRlckV2ZW50czogJ25vbmUnLFxuICAgICAgcG9zaXRpb246ICdhYnNvbHV0ZScsXG4gICAgICBib3R0b206IDAsXG4gICAgICBsZWZ0OiAwLFxuICAgICAgcmlnaHQ6IDAsXG4gICAgICB3aWR0aDogJzEwMCUnLFxuICAgIH19XG4gICAgLy8gUHJldmVudCBgU3dpdGNoaW5nIGZyb20gdW5jb250cm9sbGVkIHRvIGNvbnRyb2xsZWRgIGVycm9yXG4gICAgdmFsdWU9XCJcIlxuICAgIG9uQ2hhbmdlPXsoKSA9PiB7fX1cbiAgLz5cbik7XG5cbmV4cG9ydCBkZWZhdWx0IFJlcXVpcmVkSW5wdXQ7XG4iXX0= */",toString:JY},QY=function(e){var n=e.name,r=e.onFocus;return we("input",{required:!0,name:n,tabIndex:-1,"aria-hidden":"true",onFocus:r,css:KY,value:"",onChange:function(){}})},eU=QY;function wv(t){var e;return typeof window<"u"&&window.navigator!=null?t.test(((e=window.navigator.userAgentData)===null||e===void 0?void 0:e.platform)||window.navigator.platform):!1}function tU(){return wv(/^iPhone/i)}function ZO(){return wv(/^Mac/i)}function nU(){return wv(/^iPad/i)||ZO()&&navigator.maxTouchPoints>1}function rU(){return tU()||nU()}function oU(){return ZO()||rU()}var iU=function(e){return e.label},JO=function(e){return e.label},KO=function(e){return e.value},aU=function(e){return!!e.isDisabled},sU={clearIndicator:WX,container:OX,control:UX,dropdownIndicator:GX,group:QX,groupHeading:tY,indicatorsContainer:kX,indicatorSeparator:HX,input:iY,loadingIndicator:XX,loadingMessage:IX,menu:vX,menuList:CX,menuPortal:NX,multiValue:cY,multiValueLabel:dY,multiValueRemove:fY,noOptionsMessage:EX,option:vY,placeholder:wY,singleValue:EY,valueContainer:PX},lU={primary:"#2684FF",primary75:"#4C9AFF",primary50:"#B2D4FF",primary25:"#DEEBFF",danger:"#DE350B",dangerLight:"#FFBDAD",neutral0:"hsl(0, 0%, 100%)",neutral5:"hsl(0, 0%, 95%)",neutral10:"hsl(0, 0%, 90%)",neutral20:"hsl(0, 0%, 80%)",neutral30:"hsl(0, 0%, 70%)",neutral40:"hsl(0, 0%, 60%)",neutral50:"hsl(0, 0%, 50%)",neutral60:"hsl(0, 0%, 40%)",neutral70:"hsl(0, 0%, 30%)",neutral80:"hsl(0, 0%, 20%)",neutral90:"hsl(0, 0%, 10%)"},uU=4,QO=4,cU=38,dU=QO*2,fU={baseUnit:QO,controlHeight:cU,menuGutter:dU},Qp={borderRadius:uU,colors:lU,spacing:fU},hU={"aria-live":"polite",backspaceRemovesValue:!0,blurInputOnSelect:Xw(),captureMenuScroll:!Xw(),classNames:{},closeMenuOnSelect:!0,closeMenuOnScroll:!1,components:{},controlShouldRenderValue:!0,escapeClearsValue:!1,filterOption:$Y(),formatGroupLabel:iU,getOptionLabel:JO,getOptionValue:KO,isDisabled:!1,isLoading:!1,isMulti:!1,isRtl:!1,isSearchable:!0,isOptionDisabled:aU,loadingMessage:function(){return"Loading..."},maxMenuHeight:300,minMenuHeight:140,menuIsOpen:!1,menuPlacement:"bottom",menuPosition:"absolute",menuShouldBlockScroll:!1,menuShouldScrollIntoView:!lX(),noOptionsMessage:function(){return"No options"},openMenuOnFocus:!1,openMenuOnClick:!0,options:[],pageSize:5,placeholder:"Select...",screenReaderStatus:function(e){var n=e.count;return"".concat(n," result").concat(n!==1?"s":""," available")},styles:{},tabIndex:0,tabSelectsValue:!0,unstyled:!1};function iC(t,e,n,r){var o=nR(t,e,n),i=rR(t,e,n),a=tR(t,e),s=uu(t,e);return{type:"option",data:e,isDisabled:o,isSelected:i,label:a,value:s,index:r}}function Ol(t,e){return t.options.map(function(n,r){if("options"in n){var o=n.options.map(function(a,s){return iC(t,a,e,s)}).filter(function(a){return sC(t,a)});return o.length>0?{type:"group",data:n,options:o,index:r}:void 0}var i=iC(t,n,e,r);return sC(t,i)?i:void 0}).filter(dX)}function eR(t){return t.reduce(function(e,n){return n.type==="group"?e.push.apply(e,mi(n.options.map(function(r){return r.data}))):e.push(n.data),e},[])}function aC(t,e){return t.reduce(function(n,r){return r.type==="group"?n.push.apply(n,mi(r.options.map(function(o){return{data:o.data,id:"".concat(e,"-").concat(r.index,"-").concat(o.index)}}))):n.push({data:r.data,id:"".concat(e,"-").concat(r.index)}),n},[])}function pU(t,e){return eR(Ol(t,e))}function sC(t,e){var n=t.inputValue,r=n===void 0?"":n,o=e.data,i=e.isSelected,a=e.label,s=e.value;return(!iR(t)||!i)&&oR(t,{label:a,value:s,data:o},r)}function mU(t,e){var n=t.focusedValue,r=t.selectValue,o=r.indexOf(n);if(o>-1){var i=e.indexOf(n);if(i>-1)return n;if(o<e.length)return e[o]}return null}function gU(t,e){var n=t.focusedOption;return n&&e.indexOf(n)>-1?n:e[0]}var em=function(e,n){var r,o=(r=e.find(function(i){return i.data===n}))===null||r===void 0?void 0:r.id;return o||null},tR=function(e,n){return e.getOptionLabel(n)},uu=function(e,n){return e.getOptionValue(n)};function nR(t,e,n){return typeof t.isOptionDisabled=="function"?t.isOptionDisabled(e,n):!1}function rR(t,e,n){if(n.indexOf(e)>-1)return!0;if(typeof t.isOptionSelected=="function")return t.isOptionSelected(e,n);var r=uu(t,e);return n.some(function(o){return uu(t,o)===r})}function oR(t,e,n){return t.filterOption?t.filterOption(e,n):!0}var iR=function(e){var n=e.hideSelectedOptions,r=e.isMulti;return n===void 0?r:n},bU=1,Cv=(function(t){Q8(n,t);var e=t7(n);function n(r){var o;if(J8(this,n),o=e.call(this,r),o.state={ariaSelection:null,focusedOption:null,focusedOptionId:null,focusableOptionsWithIds:[],focusedValue:null,inputIsHidden:!1,isFocused:!1,selectValue:[],clearFocusValueOnUpdate:!1,prevWasFocused:!1,inputIsHiddenAfterUpdate:void 0,prevProps:void 0,instancePrefix:"",isAppleDevice:!1},o.blockOptionHover=!1,o.isComposing=!1,o.commonProps=void 0,o.initialTouchX=0,o.initialTouchY=0,o.openAfterFocus=!1,o.scrollToFocusedOptionOnUpdate=!1,o.userIsDragging=void 0,o.controlRef=null,o.getControlRef=function(l){o.controlRef=l},o.focusedOptionRef=null,o.getFocusedOptionRef=function(l){o.focusedOptionRef=l},o.menuListRef=null,o.getMenuListRef=function(l){o.menuListRef=l},o.inputRef=null,o.getInputRef=function(l){o.inputRef=l},o.focus=o.focusInput,o.blur=o.blurInput,o.onChange=function(l,u){var d=o.props,c=d.onChange,f=d.name;u.name=f,o.ariaOnChange(l,u),c(l,u)},o.setValue=function(l,u,d){var c=o.props,f=c.closeMenuOnSelect,p=c.isMulti,m=c.inputValue;o.onInputChange("",{action:"set-value",prevInputValue:m}),f&&(o.setState({inputIsHiddenAfterUpdate:!p}),o.onMenuClose()),o.setState({clearFocusValueOnUpdate:!0}),o.onChange(l,{action:u,option:d})},o.selectOption=function(l){var u=o.props,d=u.blurInputOnSelect,c=u.isMulti,f=u.name,p=o.state.selectValue,m=c&&o.isOptionSelected(l,p),g=o.isOptionDisabled(l,p);if(m){var b=o.getOptionValue(l);o.setValue(p.filter(function(y){return o.getOptionValue(y)!==b}),"deselect-option",l)}else if(!g)c?o.setValue([].concat(mi(p),[l]),"select-option",l):o.setValue(l,"select-option");else{o.ariaOnChange(l,{action:"select-option",option:l,name:f});return}d&&o.blurInput()},o.removeValue=function(l){var u=o.props.isMulti,d=o.state.selectValue,c=o.getOptionValue(l),f=d.filter(function(m){return o.getOptionValue(m)!==c}),p=wa(u,f,f[0]||null);o.onChange(p,{action:"remove-value",removedValue:l}),o.focusInput()},o.clearValue=function(){var l=o.state.selectValue;o.onChange(wa(o.props.isMulti,[],null),{action:"clear",removedValues:l})},o.popValue=function(){var l=o.props.isMulti,u=o.state.selectValue,d=u[u.length-1],c=u.slice(0,u.length-1),f=wa(l,c,c[0]||null);d&&o.onChange(f,{action:"pop-value",removedValue:d})},o.getFocusedOptionId=function(l){return em(o.state.focusableOptionsWithIds,l)},o.getFocusableOptionsWithIds=function(){return aC(Ol(o.props,o.state.selectValue),o.getElementId("option"))},o.getValue=function(){return o.state.selectValue},o.cx=function(){for(var l=arguments.length,u=new Array(l),d=0;d<l;d++)u[d]=arguments[d];return rX.apply(void 0,[o.props.classNamePrefix].concat(u))},o.getOptionLabel=function(l){return tR(o.props,l)},o.getOptionValue=function(l){return uu(o.props,l)},o.getStyles=function(l,u){var d=o.props.unstyled,c=sU[l](u,d);c.boxSizing="border-box";var f=o.props.styles[l];return f?f(c,u):c},o.getClassNames=function(l,u){var d,c;return(d=(c=o.props.classNames)[l])===null||d===void 0?void 0:d.call(c,u)},o.getElementId=function(l){return"".concat(o.state.instancePrefix,"-").concat(l)},o.getComponents=function(){return NY(o.props)},o.buildCategorizedOptions=function(){return Ol(o.props,o.state.selectValue)},o.getCategorizedOptions=function(){return o.props.menuIsOpen?o.buildCategorizedOptions():[]},o.buildFocusableOptions=function(){return eR(o.buildCategorizedOptions())},o.getFocusableOptions=function(){return o.props.menuIsOpen?o.buildFocusableOptions():[]},o.ariaOnChange=function(l,u){o.setState({ariaSelection:Ce({value:l},u)})},o.onMenuMouseDown=function(l){l.button===0&&(l.stopPropagation(),l.preventDefault(),o.focusInput())},o.onMenuMouseMove=function(l){o.blockOptionHover=!1},o.onControlMouseDown=function(l){if(!l.defaultPrevented){var u=o.props.openMenuOnClick;o.state.isFocused?o.props.menuIsOpen?l.target.tagName!=="INPUT"&&l.target.tagName!=="TEXTAREA"&&o.onMenuClose():u&&o.openMenu("first"):(u&&(o.openAfterFocus=!0),o.focusInput()),l.target.tagName!=="INPUT"&&l.target.tagName!=="TEXTAREA"&&l.preventDefault()}},o.onDropdownIndicatorMouseDown=function(l){if(!(l&&l.type==="mousedown"&&l.button!==0)&&!o.props.isDisabled){var u=o.props,d=u.isMulti,c=u.menuIsOpen;o.focusInput(),c?(o.setState({inputIsHiddenAfterUpdate:!d}),o.onMenuClose()):o.openMenu("first"),l.preventDefault()}},o.onClearIndicatorMouseDown=function(l){l&&l.type==="mousedown"&&l.button!==0||(o.clearValue(),l.preventDefault(),o.openAfterFocus=!1,l.type==="touchend"?o.focusInput():setTimeout(function(){return o.focusInput()}))},o.onScroll=function(l){typeof o.props.closeMenuOnScroll=="boolean"?l.target instanceof HTMLElement&&Sc(l.target)&&o.props.onMenuClose():typeof o.props.closeMenuOnScroll=="function"&&o.props.closeMenuOnScroll(l)&&o.props.onMenuClose()},o.onCompositionStart=function(){o.isComposing=!0},o.onCompositionEnd=function(){o.isComposing=!1},o.onTouchStart=function(l){var u=l.touches,d=u&&u.item(0);d&&(o.initialTouchX=d.clientX,o.initialTouchY=d.clientY,o.userIsDragging=!1)},o.onTouchMove=function(l){var u=l.touches,d=u&&u.item(0);if(d){var c=Math.abs(d.clientX-o.initialTouchX),f=Math.abs(d.clientY-o.initialTouchY),p=5;o.userIsDragging=c>p||f>p}},o.onTouchEnd=function(l){o.userIsDragging||(o.controlRef&&!o.controlRef.contains(l.target)&&o.menuListRef&&!o.menuListRef.contains(l.target)&&o.blurInput(),o.initialTouchX=0,o.initialTouchY=0)},o.onControlTouchEnd=function(l){o.userIsDragging||o.onControlMouseDown(l)},o.onClearIndicatorTouchEnd=function(l){o.userIsDragging||o.onClearIndicatorMouseDown(l)},o.onDropdownIndicatorTouchEnd=function(l){o.userIsDragging||o.onDropdownIndicatorMouseDown(l)},o.handleInputChange=function(l){var u=o.props.inputValue,d=l.currentTarget.value;o.setState({inputIsHiddenAfterUpdate:!1}),o.onInputChange(d,{action:"input-change",prevInputValue:u}),o.props.menuIsOpen||o.onMenuOpen()},o.onInputFocus=function(l){o.props.onFocus&&o.props.onFocus(l),o.setState({inputIsHiddenAfterUpdate:!1,isFocused:!0}),(o.openAfterFocus||o.props.openMenuOnFocus)&&o.openMenu("first"),o.openAfterFocus=!1},o.onInputBlur=function(l){var u=o.props.inputValue;if(o.menuListRef&&o.menuListRef.contains(document.activeElement)){o.inputRef.focus();return}o.props.onBlur&&o.props.onBlur(l),o.onInputChange("",{action:"input-blur",prevInputValue:u}),o.onMenuClose(),o.setState({focusedValue:null,isFocused:!1})},o.onOptionHover=function(l){if(!(o.blockOptionHover||o.state.focusedOption===l)){var u=o.getFocusableOptions(),d=u.indexOf(l);o.setState({focusedOption:l,focusedOptionId:d>-1?o.getFocusedOptionId(l):null})}},o.shouldHideSelectedOptions=function(){return iR(o.props)},o.onValueInputFocus=function(l){l.preventDefault(),l.stopPropagation(),o.focus()},o.onKeyDown=function(l){var u=o.props,d=u.isMulti,c=u.backspaceRemovesValue,f=u.escapeClearsValue,p=u.inputValue,m=u.isClearable,g=u.isDisabled,b=u.menuIsOpen,y=u.onKeyDown,w=u.tabSelectsValue,C=u.openMenuOnFocus,S=o.state,E=S.focusedOption,N=S.focusedValue,A=S.selectValue;if(!g&&!(typeof y=="function"&&(y(l),l.defaultPrevented))){switch(o.blockOptionHover=!0,l.key){case"ArrowLeft":if(!d||p)return;o.focusValue("previous");break;case"ArrowRight":if(!d||p)return;o.focusValue("next");break;case"Delete":case"Backspace":if(p)return;if(N)o.removeValue(N);else{if(!c)return;d?o.popValue():m&&o.clearValue()}break;case"Tab":if(o.isComposing||l.shiftKey||!b||!w||!E||C&&o.isOptionSelected(E,A))return;o.selectOption(E);break;case"Enter":if(l.keyCode===229)break;if(b){if(!E||o.isComposing)return;o.selectOption(E);break}return;case"Escape":b?(o.setState({inputIsHiddenAfterUpdate:!1}),o.onInputChange("",{action:"menu-close",prevInputValue:p}),o.onMenuClose()):m&&f&&o.clearValue();break;case" ":if(p)return;if(!b){o.openMenu("first");break}if(!E)return;o.selectOption(E);break;case"ArrowUp":b?o.focusOption("up"):o.openMenu("last");break;case"ArrowDown":b?o.focusOption("down"):o.openMenu("first");break;case"PageUp":if(!b)return;o.focusOption("pageup");break;case"PageDown":if(!b)return;o.focusOption("pagedown");break;case"Home":if(!b)return;o.focusOption("first");break;case"End":if(!b)return;o.focusOption("last");break;default:return}l.preventDefault()}},o.state.instancePrefix="react-select-"+(o.props.instanceId||++bU),o.state.selectValue=su(r.value),r.menuIsOpen&&o.state.selectValue.length){var i=o.getFocusableOptionsWithIds(),a=o.buildFocusableOptions(),s=a.indexOf(o.state.selectValue[0]);o.state.focusableOptionsWithIds=i,o.state.focusedOption=a[s],o.state.focusedOptionId=em(i,a[s])}return o}return K8(n,[{key:"componentDidMount",value:function(){this.startListeningComposition(),this.startListeningToTouch(),this.props.closeMenuOnScroll&&document&&document.addEventListener&&document.addEventListener("scroll",this.onScroll,!0),this.props.autoFocus&&this.focusInput(),this.props.menuIsOpen&&this.state.focusedOption&&this.menuListRef&&this.focusedOptionRef&&zw(this.menuListRef,this.focusedOptionRef),oU()&&this.setState({isAppleDevice:!0})}},{key:"componentDidUpdate",value:function(o){var i=this.props,a=i.isDisabled,s=i.menuIsOpen,l=this.state.isFocused;(l&&!a&&o.isDisabled||l&&s&&!o.menuIsOpen)&&this.focusInput(),l&&a&&!o.isDisabled?this.setState({isFocused:!1},this.onMenuClose):!l&&!a&&o.isDisabled&&this.inputRef===document.activeElement&&this.setState({isFocused:!0}),this.menuListRef&&this.focusedOptionRef&&this.scrollToFocusedOptionOnUpdate&&(zw(this.menuListRef,this.focusedOptionRef),this.scrollToFocusedOptionOnUpdate=!1)}},{key:"componentWillUnmount",value:function(){this.stopListeningComposition(),this.stopListeningToTouch(),document.removeEventListener("scroll",this.onScroll,!0)}},{key:"onMenuOpen",value:function(){this.props.onMenuOpen()}},{key:"onMenuClose",value:function(){this.onInputChange("",{action:"menu-close",prevInputValue:this.props.inputValue}),this.props.onMenuClose()}},{key:"onInputChange",value:function(o,i){this.props.onInputChange(o,i)}},{key:"focusInput",value:function(){this.inputRef&&this.inputRef.focus()}},{key:"blurInput",value:function(){this.inputRef&&this.inputRef.blur()}},{key:"openMenu",value:function(o){var i=this,a=this.state,s=a.selectValue,l=a.isFocused,u=this.buildFocusableOptions(),d=o==="first"?0:u.length-1;if(!this.props.isMulti){var c=u.indexOf(s[0]);c>-1&&(d=c)}this.scrollToFocusedOptionOnUpdate=!(l&&this.menuListRef),this.setState({inputIsHiddenAfterUpdate:!1,focusedValue:null,focusedOption:u[d],focusedOptionId:this.getFocusedOptionId(u[d])},function(){return i.onMenuOpen()})}},{key:"focusValue",value:function(o){var i=this.state,a=i.selectValue,s=i.focusedValue;if(this.props.isMulti){this.setState({focusedOption:null});var l=a.indexOf(s);s||(l=-1);var u=a.length-1,d=-1;if(a.length){switch(o){case"previous":l===0?d=0:l===-1?d=u:d=l-1;break;case"next":l>-1&&l<u&&(d=l+1);break}this.setState({inputIsHidden:d!==-1,focusedValue:a[d]})}}}},{key:"focusOption",value:function(){var o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"first",i=this.props.pageSize,a=this.state.focusedOption,s=this.getFocusableOptions();if(s.length){var l=0,u=s.indexOf(a);a||(u=-1),o==="up"?l=u>0?u-1:s.length-1:o==="down"?l=(u+1)%s.length:o==="pageup"?(l=u-i,l<0&&(l=0)):o==="pagedown"?(l=u+i,l>s.length-1&&(l=s.length-1)):o==="last"&&(l=s.length-1),this.scrollToFocusedOptionOnUpdate=!0,this.setState({focusedOption:s[l],focusedValue:null,focusedOptionId:this.getFocusedOptionId(s[l])})}}},{key:"getTheme",value:function(){return this.props.theme?typeof this.props.theme=="function"?this.props.theme(Qp):Ce(Ce({},Qp),this.props.theme):Qp}},{key:"getCommonProps",value:function(){var o=this.clearValue,i=this.cx,a=this.getStyles,s=this.getClassNames,l=this.getValue,u=this.selectOption,d=this.setValue,c=this.props,f=c.isMulti,p=c.isRtl,m=c.options,g=this.hasValue();return{clearValue:o,cx:i,getStyles:a,getClassNames:s,getValue:l,hasValue:g,isMulti:f,isRtl:p,options:m,selectOption:u,selectProps:c,setValue:d,theme:this.getTheme()}}},{key:"hasValue",value:function(){var o=this.state.selectValue;return o.length>0}},{key:"hasOptions",value:function(){return!!this.getFocusableOptions().length}},{key:"isClearable",value:function(){var o=this.props,i=o.isClearable,a=o.isMulti;return i===void 0?a:i}},{key:"isOptionDisabled",value:function(o,i){return nR(this.props,o,i)}},{key:"isOptionSelected",value:function(o,i){return rR(this.props,o,i)}},{key:"filterOption",value:function(o,i){return oR(this.props,o,i)}},{key:"formatOptionLabel",value:function(o,i){if(typeof this.props.formatOptionLabel=="function"){var a=this.props.inputValue,s=this.state.selectValue;return this.props.formatOptionLabel(o,{context:i,inputValue:a,selectValue:s})}else return this.getOptionLabel(o)}},{key:"formatGroupLabel",value:function(o){return this.props.formatGroupLabel(o)}},{key:"startListeningComposition",value:function(){document&&document.addEventListener&&(document.addEventListener("compositionstart",this.onCompositionStart,!1),document.addEventListener("compositionend",this.onCompositionEnd,!1))}},{key:"stopListeningComposition",value:function(){document&&document.removeEventListener&&(document.removeEventListener("compositionstart",this.onCompositionStart),document.removeEventListener("compositionend",this.onCompositionEnd))}},{key:"startListeningToTouch",value:function(){document&&document.addEventListener&&(document.addEventListener("touchstart",this.onTouchStart,!1),document.addEventListener("touchmove",this.onTouchMove,!1),document.addEventListener("touchend",this.onTouchEnd,!1))}},{key:"stopListeningToTouch",value:function(){document&&document.removeEventListener&&(document.removeEventListener("touchstart",this.onTouchStart),document.removeEventListener("touchmove",this.onTouchMove),document.removeEventListener("touchend",this.onTouchEnd))}},{key:"renderInput",value:function(){var o=this.props,i=o.isDisabled,a=o.isSearchable,s=o.inputId,l=o.inputValue,u=o.tabIndex,d=o.form,c=o.menuIsOpen,f=o.required,p=this.getComponents(),m=p.Input,g=this.state,b=g.inputIsHidden,y=g.ariaSelection,w=this.commonProps,C=s||this.getElementId("input"),S=Ce(Ce(Ce({"aria-autocomplete":"list","aria-expanded":c,"aria-haspopup":!0,"aria-errormessage":this.props["aria-errormessage"],"aria-invalid":this.props["aria-invalid"],"aria-label":this.props["aria-label"],"aria-labelledby":this.props["aria-labelledby"],"aria-required":f,role:"combobox","aria-activedescendant":this.state.isAppleDevice?void 0:this.state.focusedOptionId||""},c&&{"aria-controls":this.getElementId("listbox")}),!a&&{"aria-readonly":!0}),this.hasValue()?y?.action==="initial-input-focus"&&{"aria-describedby":this.getElementId("live-region")}:{"aria-describedby":this.getElementId("placeholder")});return a?v.createElement(m,Ee({},w,{autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",id:C,innerRef:this.getInputRef,isDisabled:i,isHidden:b,onBlur:this.onInputBlur,onChange:this.handleInputChange,onFocus:this.onInputFocus,spellCheck:"false",tabIndex:u,form:d,type:"text",value:l},S)):v.createElement(VY,Ee({id:C,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:au,onFocus:this.onInputFocus,disabled:i,tabIndex:u,inputMode:"none",form:d,value:""},S))}},{key:"renderPlaceholderOrValue",value:function(){var o=this,i=this.getComponents(),a=i.MultiValue,s=i.MultiValueContainer,l=i.MultiValueLabel,u=i.MultiValueRemove,d=i.SingleValue,c=i.Placeholder,f=this.commonProps,p=this.props,m=p.controlShouldRenderValue,g=p.isDisabled,b=p.isMulti,y=p.inputValue,w=p.placeholder,C=this.state,S=C.selectValue,E=C.focusedValue,N=C.isFocused;if(!this.hasValue()||!m)return y?null:v.createElement(c,Ee({},f,{key:"placeholder",isDisabled:g,isFocused:N,innerProps:{id:this.getElementId("placeholder")}}),w);if(b)return S.map(function(O,M){var V=O===E,T="".concat(o.getOptionLabel(O),"-").concat(o.getOptionValue(O));return v.createElement(a,Ee({},f,{components:{Container:s,Label:l,Remove:u},isFocused:V,isDisabled:g,key:T,index:M,removeProps:{onClick:function(){return o.removeValue(O)},onTouchEnd:function(){return o.removeValue(O)},onMouseDown:function(_){_.preventDefault()}},data:O}),o.formatOptionLabel(O,"value"))});if(y)return null;var A=S[0];return v.createElement(d,Ee({},f,{data:A,isDisabled:g}),this.formatOptionLabel(A,"value"))}},{key:"renderClearIndicator",value:function(){var o=this.getComponents(),i=o.ClearIndicator,a=this.commonProps,s=this.props,l=s.isDisabled,u=s.isLoading,d=this.state.isFocused;if(!this.isClearable()||!i||l||!this.hasValue()||u)return null;var c={onMouseDown:this.onClearIndicatorMouseDown,onTouchEnd:this.onClearIndicatorTouchEnd,"aria-hidden":"true"};return v.createElement(i,Ee({},a,{innerProps:c,isFocused:d}))}},{key:"renderLoadingIndicator",value:function(){var o=this.getComponents(),i=o.LoadingIndicator,a=this.commonProps,s=this.props,l=s.isDisabled,u=s.isLoading,d=this.state.isFocused;if(!i||!u)return null;var c={"aria-hidden":"true"};return v.createElement(i,Ee({},a,{innerProps:c,isDisabled:l,isFocused:d}))}},{key:"renderIndicatorSeparator",value:function(){var o=this.getComponents(),i=o.DropdownIndicator,a=o.IndicatorSeparator;if(!i||!a)return null;var s=this.commonProps,l=this.props.isDisabled,u=this.state.isFocused;return v.createElement(a,Ee({},s,{isDisabled:l,isFocused:u}))}},{key:"renderDropdownIndicator",value:function(){var o=this.getComponents(),i=o.DropdownIndicator;if(!i)return null;var a=this.commonProps,s=this.props.isDisabled,l=this.state.isFocused,u={onMouseDown:this.onDropdownIndicatorMouseDown,onTouchEnd:this.onDropdownIndicatorTouchEnd,"aria-hidden":"true"};return v.createElement(i,Ee({},a,{innerProps:u,isDisabled:s,isFocused:l}))}},{key:"renderMenu",value:function(){var o=this,i=this.getComponents(),a=i.Group,s=i.GroupHeading,l=i.Menu,u=i.MenuList,d=i.MenuPortal,c=i.LoadingMessage,f=i.NoOptionsMessage,p=i.Option,m=this.commonProps,g=this.state.focusedOption,b=this.props,y=b.captureMenuScroll,w=b.inputValue,C=b.isLoading,S=b.loadingMessage,E=b.minMenuHeight,N=b.maxMenuHeight,A=b.menuIsOpen,O=b.menuPlacement,M=b.menuPosition,V=b.menuPortalTarget,T=b.menuShouldBlockScroll,k=b.menuShouldScrollIntoView,_=b.noOptionsMessage,B=b.onMenuScrollToTop,L=b.onMenuScrollToBottom;if(!A)return null;var P=function(q,Z){var X=q.type,te=q.data,Y=q.isDisabled,J=q.isSelected,ie=q.label,oe=q.value,re=g===te,z=Y?void 0:function(){return o.onOptionHover(te)},ue=Y?void 0:function(){return o.selectOption(te)},W="".concat(o.getElementId("option"),"-").concat(Z),le={id:W,onClick:ue,onMouseMove:z,onMouseOver:z,tabIndex:-1,role:"option","aria-selected":o.state.isAppleDevice?void 0:J};return v.createElement(p,Ee({},m,{innerProps:le,data:te,isDisabled:Y,isSelected:J,key:W,label:ie,type:X,value:oe,isFocused:re,innerRef:re?o.getFocusedOptionRef:void 0}),o.formatOptionLabel(q.data,"menu"))},G;if(this.hasOptions())G=this.getCategorizedOptions().map(function($){if($.type==="group"){var q=$.data,Z=$.options,X=$.index,te="".concat(o.getElementId("group"),"-").concat(X),Y="".concat(te,"-heading");return v.createElement(a,Ee({},m,{key:te,data:q,options:Z,Heading:s,headingProps:{id:Y,data:$.data},label:o.formatGroupLabel($.data)}),$.options.map(function(J){return P(J,"".concat(X,"-").concat(J.index))}))}else if($.type==="option")return P($,"".concat($.index))});else if(C){var D=S({inputValue:w});if(D===null)return null;G=v.createElement(c,m,D)}else{var H=_({inputValue:w});if(H===null)return null;G=v.createElement(f,m,H)}var U={minMenuHeight:E,maxMenuHeight:N,menuPlacement:O,menuPosition:M,menuShouldScrollIntoView:k},Q=v.createElement(yX,Ee({},m,U),function($){var q=$.ref,Z=$.placerProps,X=Z.placement,te=Z.maxHeight;return v.createElement(l,Ee({},m,U,{innerRef:q,innerProps:{onMouseDown:o.onMenuMouseDown,onMouseMove:o.onMenuMouseMove},isLoading:C,placement:X}),v.createElement(ZY,{captureEnabled:y,onTopArrive:B,onBottomArrive:L,lockEnabled:T},function(Y){return v.createElement(u,Ee({},m,{innerRef:function(ie){o.getMenuListRef(ie),Y(ie)},innerProps:{role:"listbox","aria-multiselectable":m.isMulti,id:o.getElementId("listbox")},isLoading:C,maxHeight:te,focusedOption:g}),G)}))});return V||M==="fixed"?v.createElement(d,Ee({},m,{appendTo:V,controlElement:this.controlRef,menuPlacement:O,menuPosition:M}),Q):Q}},{key:"renderFormField",value:function(){var o=this,i=this.props,a=i.delimiter,s=i.isDisabled,l=i.isMulti,u=i.name,d=i.required,c=this.state.selectValue;if(d&&!this.hasValue()&&!s)return v.createElement(eU,{name:u,onFocus:this.onValueInputFocus});if(!(!u||s))if(l)if(a){var f=c.map(function(g){return o.getOptionValue(g)}).join(a);return v.createElement("input",{name:u,type:"hidden",value:f})}else{var p=c.length>0?c.map(function(g,b){return v.createElement("input",{key:"i-".concat(b),name:u,type:"hidden",value:o.getOptionValue(g)})}):v.createElement("input",{name:u,type:"hidden",value:""});return v.createElement("div",null,p)}else{var m=c[0]?this.getOptionValue(c[0]):"";return v.createElement("input",{name:u,type:"hidden",value:m})}}},{key:"renderLiveRegion",value:function(){var o=this.commonProps,i=this.state,a=i.ariaSelection,s=i.focusedOption,l=i.focusedValue,u=i.isFocused,d=i.selectValue,c=this.getFocusableOptions();return v.createElement(LY,Ee({},o,{id:this.getElementId("live-region"),ariaSelection:a,focusedOption:s,focusedValue:l,isFocused:u,selectValue:d,focusableOptions:c,isAppleDevice:this.state.isAppleDevice}))}},{key:"render",value:function(){var o=this.getComponents(),i=o.Control,a=o.IndicatorsContainer,s=o.SelectContainer,l=o.ValueContainer,u=this.props,d=u.className,c=u.id,f=u.isDisabled,p=u.menuIsOpen,m=this.state.isFocused,g=this.commonProps=this.getCommonProps();return v.createElement(s,Ee({},g,{className:d,innerProps:{id:c,onKeyDown:this.onKeyDown},isDisabled:f,isFocused:m}),this.renderLiveRegion(),v.createElement(i,Ee({},g,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:f,isFocused:m,menuIsOpen:p}),v.createElement(l,Ee({},g,{isDisabled:f}),this.renderPlaceholderOrValue(),this.renderInput()),v.createElement(a,Ee({},g,{isDisabled:f}),this.renderClearIndicator(),this.renderLoadingIndicator(),this.renderIndicatorSeparator(),this.renderDropdownIndicator())),this.renderMenu(),this.renderFormField())}}],[{key:"getDerivedStateFromProps",value:function(o,i){var a=i.prevProps,s=i.clearFocusValueOnUpdate,l=i.inputIsHiddenAfterUpdate,u=i.ariaSelection,d=i.isFocused,c=i.prevWasFocused,f=i.instancePrefix,p=o.options,m=o.value,g=o.menuIsOpen,b=o.inputValue,y=o.isMulti,w=su(m),C={};if(a&&(m!==a.value||p!==a.options||g!==a.menuIsOpen||b!==a.inputValue)){var S=g?pU(o,w):[],E=g?aC(Ol(o,w),"".concat(f,"-option")):[],N=s?mU(i,w):null,A=gU(i,S),O=em(E,A);C={selectValue:w,focusedOption:A,focusedOptionId:O,focusableOptionsWithIds:E,focusedValue:N,clearFocusValueOnUpdate:!1}}var M=l!=null&&o!==a?{inputIsHidden:l,inputIsHiddenAfterUpdate:void 0}:{},V=u,T=d&&c;return d&&!T&&(V={value:wa(y,w,w[0]||null),options:w,action:"initial-input-focus"},T=!c),u?.action==="initial-input-focus"&&(V=null),Ce(Ce(Ce({},C),M),{},{prevProps:o,ariaSelection:V,prevWasFocused:T})}}]),n})(I.Component);Cv.defaultProps=hU;var vU=I.forwardRef(function(t,e){var n=EO(t);return v.createElement(Cv,Ee({ref:e},n))}),yU=vU,xU=["allowCreateWhileLoading","createOptionPosition","formatCreateLabel","isValidNewOption","getNewOptionData","onCreateOption","options","onChange"],lC=function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",n=arguments.length>1?arguments[1]:void 0,r=arguments.length>2?arguments[2]:void 0,o=String(e).toLowerCase(),i=String(r.getOptionValue(n)).toLowerCase(),a=String(r.getOptionLabel(n)).toLowerCase();return i===o||a===o},tm={formatCreateLabel:function(e){return'Create "'.concat(e,'"')},isValidNewOption:function(e,n,r,o){return!(!e||n.some(function(i){return lC(e,i,o)})||r.some(function(i){return lC(e,i,o)}))},getNewOptionData:function(e,n){return{label:n,value:e,__isNew__:!0}}};function wU(t){var e=t.allowCreateWhileLoading,n=e===void 0?!1:e,r=t.createOptionPosition,o=r===void 0?"last":r,i=t.formatCreateLabel,a=i===void 0?tm.formatCreateLabel:i,s=t.isValidNewOption,l=s===void 0?tm.isValidNewOption:s,u=t.getNewOptionData,d=u===void 0?tm.getNewOptionData:u,c=t.onCreateOption,f=t.options,p=f===void 0?[]:f,m=t.onChange,g=vr(t,xU),b=g.getOptionValue,y=b===void 0?KO:b,w=g.getOptionLabel,C=w===void 0?JO:w,S=g.inputValue,E=g.isLoading,N=g.isMulti,A=g.value,O=g.name,M=I.useMemo(function(){return l(S,su(A),p,{getOptionValue:y,getOptionLabel:C})?d(S,a(S)):void 0},[a,d,C,y,S,l,p,A]),V=I.useMemo(function(){return(n||!E)&&M?o==="first"?[M].concat(mi(p)):[].concat(mi(p),[M]):p},[n,o,E,M,p]),T=I.useCallback(function(k,_){if(_.action!=="select-option")return m(k,_);var B=Array.isArray(k)?k:[k];if(B[B.length-1]===M){if(c)c(S);else{var L=d(S,S),P={action:"create-option",name:O,option:L};m(wa(N,[].concat(mi(su(A)),[L]),L),P)}return}m(k,_)},[d,S,N,O,M,c,m,A]);return Ce(Ce({},g),{},{options:V,onChange:T})}var CU=I.forwardRef(function(t,e){var n=EO(t),r=wU(n);return v.createElement(Cv,Ee({ref:e},r))}),SU=CU;const EU={control:({isFocused:t,isDisabled:e})=>j("ui:min-h-10! ui:w-full ui:rounded-md! ui:bg-segmentify-200 ui:px-0! ui:text-sm ui:border ui:border-border!",t&&!e&&mo({variant:"isControlFocused"}),e&&mo({variant:"isDisabled"})),option:({isFocused:t,isSelected:e,isDisabled:n})=>j(mo({variant:"default"}),e&&mo({variant:"isSelected"}),!e&&t&&mo({variant:"isFocused"}),n&&mo({variant:"isDisabled"})),multiValue:()=>j(mo({variant:"multiSelected"})),multiValueLabel:()=>"ui:text-primary!",multiValueRemove:()=>"ui:text-primary!",placeholder:()=>"ui:text-segmentify-600"};function IU({label:t,name:e,options:n,value:r,onChange:o,onInputChange:i,placeholder:a,isClearable:s=!0,isSearchable:l=!0,isMulti:u=!0,isDisabled:d,description:c,className:f,isCreatable:p}){const m={"data-test-id":e,name:e,options:n,value:r,onChange:o,onInputChange:i,isClearable:s,isSearchable:l,isMulti:u,isDisabled:d,placeholder:a,classNames:EU};return h.jsxs("article",{children:[t&&h.jsx(Sn,{className:"ui:mb-2 ui:block",children:t}),h.jsx("div",{className:j("field-select ui:w-full select-wrapper ui:rounded-md! ui:text-sm",f),children:p?h.jsx(SU,{...m}):h.jsx(yU,{...m})}),c&&h.jsx(Ju,{description:c})]})}function aR({...t}){return h.jsx(Wu,{"data-slot":"sheet",...t})}function AU({...t}){return h.jsx(Eb,{"data-slot":"sheet-trigger",...t})}function TU({...t}){return h.jsx(fs,{"data-slot":"sheet-close",...t})}function NU({...t}){return h.jsx(Vu,{"data-slot":"sheet-portal",...t})}function _U({className:t,...e}){return h.jsx(Hu,{"data-slot":"sheet-overlay",className:j("ui:data-[state=open]:animate-in ui:data-[state=closed]:animate-out ui:data-[state=closed]:fade-out-0 ui:data-[state=open]:fade-in-0 ui:fixed ui:inset-0 ui:z-50 ui:bg-black/50",t),...e})}function sR({className:t,children:e,side:n="right",...r}){return h.jsxs(NU,{children:[h.jsx(_U,{}),h.jsxs(qu,{"data-slot":"sheet-content",className:j("ui:bg-background ui:data-[state=open]:animate-in ui:data-[state=closed]:animate-out ui:fixed ui:z-50 ui:flex ui:flex-col ui:gap-4 ui:shadow-lg ui:transition ui:ease-in-out ui:data-[state=closed]:duration-300 ui:data-[state=open]:duration-500",n==="right"&&"ui:data-[state=closed]:slide-out-to-right ui:data-[state=open]:slide-in-from-right ui:inset-y-0 ui:right-0 ui:h-full ui:w-3/4 ui:border-l ui:sm:max-w-sm",n==="left"&&"ui:data-[state=closed]:slide-out-to-left ui:data-[state=open]:slide-in-from-left ui:inset-y-0 ui:left-0 ui:h-full ui:w-3/4 ui:border-r ui:sm:max-w-sm",n==="top"&&"ui:data-[state=closed]:slide-out-to-top ui:data-[state=open]:slide-in-from-top ui:inset-x-0 ui:top-0 ui:h-auto ui:border-b",n==="bottom"&&"ui:data-[state=closed]:slide-out-to-bottom ui:data-[state=open]:slide-in-from-bottom ui:inset-x-0 ui:bottom-0 ui:h-auto ui:border-t",t),...r,children:[e,h.jsxs(fs,{"data-testid":"sheet-close-icon",className:"ui:ring-offset-background ui:focus:ring-ring ui:data-[state=open]:bg-secondary ui:absolute ui:top-4 ui:right-4 ui:rounded-xs ui:opacity-70 ui:transition-opacity ui:hover:opacity-100 ui:focus:ring-2 ui:focus:ring-offset-2 ui:focus:outline-hidden ui:disabled:pointer-events-none",children:[h.jsx(Su,{className:"ui:size-4"}),h.jsx("span",{className:"ui:sr-only",children:"Close"})]})]})]})}function lR({className:t,...e}){return h.jsx("div",{"data-slot":"sheet-header",className:j("ui:flex ui:flex-col ui:gap-1.5 ui:p-4",t),...e})}function OU({className:t,...e}){return h.jsx("div",{"data-slot":"sheet-footer",className:j("ui:mt-auto ui:flex ui:flex-col ui:gap-2 ui:p-4",t),...e})}function uR({className:t,...e}){return h.jsx(Ib,{"data-slot":"sheet-title",className:j("ui:text-foreground ui:font-semibold",t),...e})}function cR({className:t,...e}){return h.jsx(Ab,{"data-slot":"sheet-description",className:j("ui:text-muted-foreground ui:text-sm",t),...e})}const nm=768;function RU(){const[t,e]=v.useState();return v.useEffect(()=>{const n=window.matchMedia(`(max-width: ${nm-1}px)`),r=()=>{e(window.innerWidth<nm)};return n.addEventListener("change",r),e(window.innerWidth<nm),()=>n.removeEventListener("change",r)},[]),!!t}function hg({className:t,...e}){return h.jsx("div",{"data-slot":"skeleton",className:j("ui:bg-accent ui:animate-pulse ui:rounded-md ui:shrink-0",t),...e})}const dR=v.createContext(null);function Ec(){const t=v.useContext(dR);if(!t)throw new Error("useSidebar must be used within a SidebarProvider.");return t}const PU="sidebar_state",MU=3600*24*7,kU="16rem",DU="18rem",jU="3rem",LU="b";function BU({defaultOpen:t=!0,open:e,onOpenChange:n,className:r,style:o,children:i,...a}){const s=RU(),[l,u]=v.useState(!1),[d,c]=v.useState(t),f=e??d,p=v.useCallback(y=>{const w=typeof y=="function"?y(f):y;n?n(w):c(w),document.cookie=`${PU}=${w}; path=/; max-age=${MU}`},[n,f]),m=v.useCallback(()=>s?u(y=>!y):p(y=>!y),[s,p,u]);v.useEffect(()=>{const y=w=>{w.key===LU&&(w.metaKey||w.ctrlKey)&&(w.preventDefault(),m())};return window.addEventListener("keydown",y),()=>window.removeEventListener("keydown",y)},[m]);const g=f?"expanded":"collapsed",b=v.useMemo(()=>({state:g,open:f,setOpen:p,isMobile:s,openMobile:l,setOpenMobile:u,toggleSidebar:m}),[g,f,p,s,l,u,m]);return h.jsx(dR.Provider,{value:b,children:h.jsx(ov,{delayDuration:0,children:h.jsx("div",{"data-slot":"sidebar-wrapper",style:{"--sidebar-width":kU,"--sidebar-width-icon":jU,...o},className:j("ui:group/sidebar-wrapper ui:has-data-[variant=inset]:bg-sidebar ui:flex ui:min-h-svh ui:w-full",r),...a,children:i})})})}function FU({side:t="left",variant:e="sidebar",collapsible:n="offcanvas",className:r,children:o,...i}){const{isMobile:a,state:s,openMobile:l,setOpenMobile:u}=Ec();return n==="none"?h.jsx("div",{"data-slot":"sidebar",className:j("ui:bg-sidebar ui:text-sidebar-foreground ui:flex ui:h-full ui:w-(--sidebar-width) ui:flex-col",r),...i,children:o}):a?h.jsx(aR,{open:l,onOpenChange:u,...i,children:h.jsxs(sR,{"data-sidebar":"sidebar","data-slot":"sidebar","data-mobile":"true",className:"ui:bg-sidebar ui:text-sidebar-foreground ui:w-(--sidebar-width) ui:p-0 ui:[&>button]:hidden",style:{"--sidebar-width":DU},side:t,children:[h.jsxs(lR,{className:"ui:sr-only",children:[h.jsx(uR,{children:"Sidebar"}),h.jsx(cR,{children:"Displays the mobile sidebar."})]}),h.jsx("div",{className:"ui:flex ui:h-full ui:w-full ui:flex-col",children:o})]})}):h.jsxs("div",{className:"ui:group ui:peer ui:text-sidebar-foreground ui:hidden ui:md:block","data-state":s,"data-collapsible":s==="collapsed"?n:"","data-variant":e,"data-side":t,"data-slot":"sidebar",children:[h.jsx("div",{"data-slot":"sidebar-gap",className:j("ui:relative ui:w-(--sidebar-width) ui:bg-transparent ui:transition-[width] ui:duration-200 ui:ease-linear","ui:group-data-[collapsible=offcanvas]:w-0","ui:group-data-[side=right]:rotate-180",e==="floating"||e==="inset"?"ui:group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)+(--spacing(4)))]":"ui:group-data-[collapsible=icon]:w-(--sidebar-width-icon)")}),h.jsx("div",{"data-slot":"sidebar-container",className:j("ui:fixed ui:inset-y-0 ui:z-10 ui:hidden ui:h-svh ui:w-(--sidebar-width) ui:transition-[left,right,width] ui:duration-200 ui:ease-linear ui:md:flex",t==="left"?"ui:left-0 ui:group-data-[collapsible=offcanvas]:left-[calc(var(--sidebar-width)*-1)]":"ui:right-0 ui:group-data-[collapsible=offcanvas]:right-[calc(var(--sidebar-width)*-1)]",e==="floating"||e==="inset"?"ui:p-2 ui:group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)+(--spacing(4))+2px)]":"ui:group-data-[collapsible=icon]:w-(--sidebar-width-icon) ui:group-data-[side=left]:border-r ui:group-data-[side=right]:border-l",r),...i,children:h.jsx("div",{"data-sidebar":"sidebar","data-slot":"sidebar-inner",className:"ui:bg-sidebar ui:group-data-[variant=floating]:border-sidebar-border ui:flex ui:h-full ui:w-full ui:flex-col ui:group-data-[variant=floating]:rounded-lg ui:group-data-[variant=floating]:border ui:group-data-[variant=floating]:shadow-sm",children:o})})]})}function GU({className:t,onClick:e,...n}){const{toggleSidebar:r}=Ec();return h.jsxs(un,{"data-sidebar":"trigger","data-slot":"sidebar-trigger",variant:"ghost",size:"icon",className:j("ui:size-7",t),onClick:o=>{e?.(o),r()},...n,children:[h.jsx(oM,{}),h.jsx("span",{className:"ui:sr-only",children:"Toggle Sidebar"})]})}function $U({className:t,...e}){const{toggleSidebar:n}=Ec();return h.jsx("button",{"data-sidebar":"rail","data-slot":"sidebar-rail","aria-label":"Toggle Sidebar",tabIndex:-1,onClick:n,title:"Toggle Sidebar",className:j("ui:hover:after:bg-sidebar-border ui:absolute ui:inset-y-0 ui:z-20 ui:hidden ui:w-4 ui:-translate-x-1/2 ui:transition-all ui:ease-linear ui:group-data-[side=left]:-right-4 ui:group-data-[side=right]:left-0 ui:after:absolute ui:after:inset-y-0 ui:after:left-1/2 ui:after:w-[2px] ui:sm:flex","ui:in-data-[side=left]:cursor-w-resize ui:in-data-[side=right]:cursor-e-resize","ui:[[data-side=left][data-state=collapsed]_&]:cursor-e-resize ui:[[data-side=right][data-state=collapsed]_&]:cursor-w-resize","ui:hover:group-data-[collapsible=offcanvas]:bg-sidebar ui:group-data-[collapsible=offcanvas]:translate-x-0 ui:group-data-[collapsible=offcanvas]:after:left-full","ui:[[data-side=left][data-collapsible=offcanvas]_&]:-right-2","ui:[[data-side=right][data-collapsible=offcanvas]_&]:-left-2",t),...e})}function WU({className:t,...e}){return h.jsx("main",{"data-slot":"sidebar-inset",className:j("ui:bg-background ui:relative ui:flex ui:w-full ui:flex-1 ui:flex-col","ui:md:peer-data-[variant=inset]:m-2 ui:md:peer-data-[variant=inset]:ml-0 ui:md:peer-data-[variant=inset]:rounded-xl ui:md:peer-data-[variant=inset]:shadow-sm ui:md:peer-data-[variant=inset]:peer-data-[state=collapsed]:ml-2",t),...e})}function VU({className:t,...e}){return h.jsx(oc,{"data-slot":"sidebar-input","data-sidebar":"input",className:j("ui:bg-background ui:h-8 ui:w-full ui:shadow-none",t),...e})}function HU({className:t,...e}){return h.jsx("div",{"data-slot":"sidebar-header","data-sidebar":"header",className:j("ui:flex ui:flex-col ui:gap-2 ui:p-2",t),...e})}function qU({className:t,...e}){return h.jsx("div",{"data-slot":"sidebar-footer","data-sidebar":"footer",className:j("ui:flex ui:flex-col ui:gap-2 ui:p-2",t),...e})}function zU({className:t,...e}){return h.jsx(wO,{"data-slot":"sidebar-separator","data-sidebar":"separator",className:j("ui:bg-sidebar-border ui:mx-2 ui:w-auto",t),...e})}function XU({className:t,...e}){return h.jsx("div",{"data-slot":"sidebar-content","data-sidebar":"content",className:j("ui:flex ui:min-h-0 ui:flex-1 ui:flex-col ui:gap-2 ui:overflow-auto ui:group-data-[collapsible=icon]:overflow-hidden",t),...e})}function YU({className:t,...e}){return h.jsx("div",{"data-slot":"sidebar-group","data-sidebar":"group",className:j("ui:relative ui:flex ui:w-full ui:min-w-0 ui:flex-col ui:p-2",t),...e})}function UU({className:t,asChild:e=!1,...n}){const r=e?fr:"div";return h.jsx(r,{"data-slot":"sidebar-group-label","data-sidebar":"group-label",className:j("ui:text-sidebar-foreground/70 ui:ring-sidebar-ring ui:flex ui:h-8 ui:shrink-0 ui:items-center ui:rounded-md ui:px-2 ui:text-xs ui:font-medium ui:outline-hidden ui:transition-[margin,opacity] ui:duration-200 ui:ease-linear ui:focus-visible:ring-2 ui:[&>svg]:size-4 ui:[&>svg]:shrink-0","ui:group-data-[collapsible=icon]:-mt-8 ui:group-data-[collapsible=icon]:opacity-0",t),...n})}function ZU({className:t,asChild:e=!1,...n}){const r=e?fr:"button";return h.jsx(r,{"data-slot":"sidebar-group-action","data-sidebar":"group-action",className:j("ui:text-sidebar-foreground ui:ring-sidebar-ring ui:hover:bg-sidebar-accent ui:hover:text-sidebar-accent-foreground ui:absolute ui:top-3.5 ui:right-3 ui:flex ui:aspect-square ui:w-5 ui:items-center ui:justify-center ui:rounded-md ui:p-0 ui:outline-hidden ui:transition-transform ui:focus-visible:ring-2 ui:[&>svg]:size-4 ui:[&>svg]:shrink-0","ui:after:absolute ui:after:-inset-2 ui:md:after:hidden","ui:group-data-[collapsible=icon]:hidden",t),...n})}function JU({className:t,...e}){return h.jsx("div",{"data-slot":"sidebar-group-content","data-sidebar":"group-content",className:j("ui:w-full ui:text-sm",t),...e})}function KU({className:t,...e}){return h.jsx("ul",{"data-slot":"sidebar-menu","data-sidebar":"menu",className:j("ui:flex ui:w-full ui:min-w-0 ui:flex-col ui:gap-1",t),...e})}function QU({className:t,...e}){return h.jsx("li",{"data-slot":"sidebar-menu-item","data-sidebar":"menu-item",className:j("ui:group/menu-item ui:relative",t),...e})}const eZ=Li("ui:peer/menu-button ui:flex ui:w-full ui:items-center ui:gap-2 ui:overflow-hidden ui:rounded-md ui:p-2 ui:text-left ui:text-sm ui:outline-hidden ui:ring-sidebar-ring ui:transition-[width,height,padding] ui:hover:bg-sidebar-accent ui:hover:text-sidebar-accent-foreground ui:focus-visible:ring-2 ui:active:bg-sidebar-accent ui:active:text-sidebar-accent-foreground ui:disabled:pointer-events-none ui:disabled:opacity-50 ui:group-has-data-[sidebar=menu-action]/menu-item:pr-8 ui:aria-disabled:pointer-events-none ui:aria-disabled:opacity-50 ui:data-[active=true]:bg-sidebar-accent ui:data-[active=true]:font-medium ui:data-[active=true]:text-sidebar-accent-foreground ui:data-[state=open]:hover:bg-sidebar-accent ui:data-[state=open]:hover:text-sidebar-accent-foreground ui:group-data-[collapsible=icon]:size-8! ui:group-data-[collapsible=icon]:p-2! ui:[&>span:last-child]:truncate ui:[&>svg]:size-4 ui:[&>svg]:shrink-0",{variants:{variant:{default:"ui:hover:bg-sidebar-accent ui:hover:text-sidebar-accent-foreground",outline:"ui:bg-background ui:shadow-[0_0_0_1px_hsl(var(--sidebar-border))] ui:hover:bg-sidebar-accent ui:hover:text-sidebar-accent-foreground ui:hover:shadow-[0_0_0_1px_hsl(var(--sidebar-accent))]"},size:{default:"ui:h-8 ui:text-sm",sm:"ui:h-7 ui:text-xs",lg:"ui:h-12 ui:text-sm ui:group-data-[collapsible=icon]:p-0!"}},defaultVariants:{variant:"default",size:"default"}});function tZ({asChild:t=!1,isActive:e=!1,variant:n="default",size:r="default",tooltip:o,className:i,...a}){const s=t?fr:"button",{isMobile:l,state:u}=Ec(),d=h.jsx(s,{"data-slot":"sidebar-menu-button","data-sidebar":"menu-button","data-size":r,"data-active":e,className:j(eZ({variant:n,size:r}),i),...a});return o?(typeof o=="string"&&(o={children:o}),h.jsxs(iv,{children:[h.jsx(av,{asChild:!0,children:d}),h.jsx(uc,{side:"right",align:"center",hidden:u!=="collapsed"||l,...o})]})):d}function nZ({className:t,asChild:e=!1,showOnHover:n=!1,...r}){const o=e?fr:"button";return h.jsx(o,{"data-slot":"sidebar-menu-action","data-sidebar":"menu-action",className:j("ui:text-sidebar-foreground ui:ring-sidebar-ring ui:hover:bg-sidebar-accent ui:hover:text-sidebar-accent-foreground ui:peer-hover/menu-button:text-sidebar-accent-foreground ui:absolute ui:top-1.5 ui:right-1 ui:flex ui:aspect-square ui:w-5 ui:items-center ui:justify-center ui:rounded-md ui:p-0 ui:outline-hidden ui:transition-transform ui:focus-visible:ring-2 ui:[&>svg]:size-4 ui:[&>svg]:shrink-0","ui:after:absolute ui:after:-inset-2 ui:md:after:hidden","ui:peer-data-[size=sm]/menu-button:top-1","ui:peer-data-[size=default]/menu-button:top-1.5","ui:peer-data-[size=lg]/menu-button:top-2.5","ui:group-data-[collapsible=icon]:hidden",n&&"ui:peer-data-[active=true]/menu-button:text-sidebar-accent-foreground ui:group-focus-within/menu-item:opacity-100 ui:group-hover/menu-item:opacity-100 ui:data-[state=open]:opacity-100 ui:md:opacity-0",t),...r})}function rZ({className:t,...e}){return h.jsx("div",{"data-slot":"sidebar-menu-badge","data-sidebar":"menu-badge",className:j("ui:text-sidebar-foreground ui:pointer-events-none ui:absolute ui:right-1 ui:flex ui:h-5 ui:min-w-5 ui:items-center ui:justify-center ui:rounded-md ui:px-1 ui:text-xs ui:font-medium ui:tabular-nums ui:select-none","ui:peer-hover/menu-button:text-sidebar-accent-foreground ui:peer-data-[active=true]/menu-button:text-sidebar-accent-foreground","ui:peer-data-[size=sm]/menu-button:top-1","ui:peer-data-[size=default]/menu-button:top-1.5","ui:peer-data-[size=lg]/menu-button:top-2.5","ui:group-data-[collapsible=icon]:hidden",t),...e})}function oZ({className:t,showIcon:e=!1,...n}){const[r,o]=v.useState("80%");return v.useEffect(()=>{o(`${Math.floor(Math.random()*40)+50}%`)},[]),h.jsxs("div",{"data-slot":"sidebar-menu-skeleton","data-sidebar":"menu-skeleton",className:j("ui:flex ui:h-8 ui:items-center ui:gap-2 ui:rounded-md ui:px-2",t),...n,children:[e&&h.jsx(hg,{className:"ui:size-4 ui:rounded-md","data-sidebar":"menu-skeleton-icon"}),h.jsx(hg,{className:"ui:h-4 ui:max-w-(--skeleton-width) ui:flex-1","data-sidebar":"menu-skeleton-text",style:{"--skeleton-width":r}})]})}function iZ({className:t,...e}){return h.jsx("ul",{"data-slot":"sidebar-menu-sub","data-sidebar":"menu-sub",className:j("ui:border-sidebar-border ui:mx-3.5 ui:flex ui:min-w-0 ui:translate-x-px ui:flex-col ui:gap-1 ui:border-l ui:px-2.5 ui:py-0.5","ui:group-data-[collapsible=icon]:hidden",t),...e})}function aZ({className:t,...e}){return h.jsx("li",{"data-slot":"sidebar-menu-sub-item","data-sidebar":"menu-sub-item",className:j("ui:group/menu-sub-item ui:relative",t),...e})}function sZ({asChild:t=!1,size:e="md",isActive:n=!1,className:r,...o}){const i=t?fr:"a";return h.jsx(i,{"data-slot":"sidebar-menu-sub-button","data-sidebar":"menu-sub-button","data-size":e,"data-active":n,className:j("ui:text-sidebar-foreground ui:ring-sidebar-ring ui:hover:bg-sidebar-accent ui:hover:text-sidebar-accent-foreground ui:active:bg-sidebar-accent ui:active:text-sidebar-accent-foreground ui:[&>svg]:text-sidebar-accent-foreground ui:flex ui:h-7 ui:min-w-0 ui:-translate-x-px ui:items-center ui:gap-2 ui:overflow-hidden ui:rounded-md ui:px-2 ui:outline-hidden ui:focus-visible:ring-2 ui:disabled:pointer-events-none ui:disabled:opacity-50 ui:aria-disabled:pointer-events-none ui:aria-disabled:opacity-50 ui:[&>span:last-child]:truncate ui:[&>svg]:size-4 ui:[&>svg]:shrink-0","ui:data-[active=true]:bg-sidebar-accent ui:data-[active=true]:text-sidebar-accent-foreground",e==="sm"&&"ui:text-xs",e==="md"&&"ui:text-sm","ui:group-data-[collapsible=icon]:hidden",r),...o})}var fR=["PageUp","PageDown"],hR=["ArrowUp","ArrowDown","ArrowLeft","ArrowRight"],pR={"from-left":["Home","PageDown","ArrowDown","ArrowLeft"],"from-right":["Home","PageDown","ArrowDown","ArrowRight"],"from-bottom":["Home","PageDown","ArrowDown","ArrowLeft"],"from-top":["Home","PageDown","ArrowUp","ArrowLeft"]},qi="Slider",[pg,lZ,uZ]=es(qi),[mR]=At(qi,[uZ]),[cZ,Ic]=mR(qi),gR=v.forwardRef((t,e)=>{const{name:n,min:r=0,max:o=100,step:i=1,orientation:a="horizontal",disabled:s=!1,minStepsBetweenThumbs:l=0,defaultValue:u=[r],value:d,onValueChange:c=()=>{},onValueCommit:f=()=>{},inverted:p=!1,form:m,...g}=t,b=v.useRef(new Set),y=v.useRef(0),C=a==="horizontal"?dZ:fZ,[S=[],E]=jt({prop:d,defaultProp:u,onChange:T=>{[...b.current][y.current]?.focus(),c(T)}}),N=v.useRef(S);function A(T){const k=bZ(S,T);V(T,k)}function O(T){V(T,y.current)}function M(){const T=N.current[y.current];S[y.current]!==T&&f(S)}function V(T,k,{commit:_}={commit:!1}){const B=wZ(i),L=CZ(Math.round((T-r)/i)*i+r,B),P=Ha(L,[r,o]);E((G=[])=>{const D=mZ(G,P,k);if(xZ(D,l*i)){y.current=D.indexOf(P);const H=String(D)!==String(G);return H&&_&&f(D),H?D:G}else return G})}return h.jsx(cZ,{scope:t.__scopeSlider,name:n,disabled:s,min:r,max:o,valueIndexToChangeRef:y,thumbs:b.current,values:S,orientation:a,form:m,children:h.jsx(pg.Provider,{scope:t.__scopeSlider,children:h.jsx(pg.Slot,{scope:t.__scopeSlider,children:h.jsx(C,{"aria-disabled":s,"data-disabled":s?"":void 0,...g,ref:e,onPointerDown:se(g.onPointerDown,()=>{s||(N.current=S)}),min:r,max:o,inverted:p,onSlideStart:s?void 0:A,onSlideMove:s?void 0:O,onSlideEnd:s?void 0:M,onHomeKeyDown:()=>!s&&V(r,0,{commit:!0}),onEndKeyDown:()=>!s&&V(o,S.length-1,{commit:!0}),onStepKeyDown:({event:T,direction:k})=>{if(!s){const L=fR.includes(T.key)||T.shiftKey&&hR.includes(T.key)?10:1,P=y.current,G=S[P],D=i*L*k;V(G+D,P,{commit:!0})}}})})})})});gR.displayName=qi;var[bR,vR]=mR(qi,{startEdge:"left",endEdge:"right",size:"width",direction:1}),dZ=v.forwardRef((t,e)=>{const{min:n,max:r,dir:o,inverted:i,onSlideStart:a,onSlideMove:s,onSlideEnd:l,onStepKeyDown:u,...d}=t,[c,f]=v.useState(null),p=Se(e,C=>f(C)),m=v.useRef(void 0),g=Qr(o),b=g==="ltr",y=b&&!i||!b&&i;function w(C){const S=m.current||c.getBoundingClientRect(),E=[0,S.width],A=Sv(E,y?[n,r]:[r,n]);return m.current=S,A(C-S.left)}return h.jsx(bR,{scope:t.__scopeSlider,startEdge:y?"left":"right",endEdge:y?"right":"left",direction:y?1:-1,size:"width",children:h.jsx(yR,{dir:g,"data-orientation":"horizontal",...d,ref:p,style:{...d.style,"--radix-slider-thumb-transform":"translateX(-50%)"},onSlideStart:C=>{const S=w(C.clientX);a?.(S)},onSlideMove:C=>{const S=w(C.clientX);s?.(S)},onSlideEnd:()=>{m.current=void 0,l?.()},onStepKeyDown:C=>{const E=pR[y?"from-left":"from-right"].includes(C.key);u?.({event:C,direction:E?-1:1})}})})}),fZ=v.forwardRef((t,e)=>{const{min:n,max:r,inverted:o,onSlideStart:i,onSlideMove:a,onSlideEnd:s,onStepKeyDown:l,...u}=t,d=v.useRef(null),c=Se(e,d),f=v.useRef(void 0),p=!o;function m(g){const b=f.current||d.current.getBoundingClientRect(),y=[0,b.height],C=Sv(y,p?[r,n]:[n,r]);return f.current=b,C(g-b.top)}return h.jsx(bR,{scope:t.__scopeSlider,startEdge:p?"bottom":"top",endEdge:p?"top":"bottom",size:"height",direction:p?1:-1,children:h.jsx(yR,{"data-orientation":"vertical",...u,ref:c,style:{...u.style,"--radix-slider-thumb-transform":"translateY(50%)"},onSlideStart:g=>{const b=m(g.clientY);i?.(b)},onSlideMove:g=>{const b=m(g.clientY);a?.(b)},onSlideEnd:()=>{f.current=void 0,s?.()},onStepKeyDown:g=>{const y=pR[p?"from-bottom":"from-top"].includes(g.key);l?.({event:g,direction:y?-1:1})}})})}),yR=v.forwardRef((t,e)=>{const{__scopeSlider:n,onSlideStart:r,onSlideMove:o,onSlideEnd:i,onHomeKeyDown:a,onEndKeyDown:s,onStepKeyDown:l,...u}=t,d=Ic(qi,n);return h.jsx(he.span,{...u,ref:e,onKeyDown:se(t.onKeyDown,c=>{c.key==="Home"?(a(c),c.preventDefault()):c.key==="End"?(s(c),c.preventDefault()):fR.concat(hR).includes(c.key)&&(l(c),c.preventDefault())}),onPointerDown:se(t.onPointerDown,c=>{const f=c.target;f.setPointerCapture(c.pointerId),c.preventDefault(),d.thumbs.has(f)?f.focus():r(c)}),onPointerMove:se(t.onPointerMove,c=>{c.target.hasPointerCapture(c.pointerId)&&o(c)}),onPointerUp:se(t.onPointerUp,c=>{const f=c.target;f.hasPointerCapture(c.pointerId)&&(f.releasePointerCapture(c.pointerId),i(c))})})}),xR="SliderTrack",wR=v.forwardRef((t,e)=>{const{__scopeSlider:n,...r}=t,o=Ic(xR,n);return h.jsx(he.span,{"data-disabled":o.disabled?"":void 0,"data-orientation":o.orientation,...r,ref:e})});wR.displayName=xR;var mg="SliderRange",CR=v.forwardRef((t,e)=>{const{__scopeSlider:n,...r}=t,o=Ic(mg,n),i=vR(mg,n),a=v.useRef(null),s=Se(e,a),l=o.values.length,u=o.values.map(f=>IR(f,o.min,o.max)),d=l>1?Math.min(...u):0,c=100-Math.max(...u);return h.jsx(he.span,{"data-orientation":o.orientation,"data-disabled":o.disabled?"":void 0,...r,ref:s,style:{...t.style,[i.startEdge]:d+"%",[i.endEdge]:c+"%"}})});CR.displayName=mg;var gg="SliderThumb",SR=v.forwardRef((t,e)=>{const n=lZ(t.__scopeSlider),[r,o]=v.useState(null),i=Se(e,s=>o(s)),a=v.useMemo(()=>r?n().findIndex(s=>s.ref.current===r):-1,[n,r]);return h.jsx(hZ,{...t,ref:i,index:a})}),hZ=v.forwardRef((t,e)=>{const{__scopeSlider:n,index:r,name:o,...i}=t,a=Ic(gg,n),s=vR(gg,n),[l,u]=v.useState(null),d=Se(e,w=>u(w)),c=l?a.form||!!l.closest("form"):!0,f=us(l),p=a.values[r],m=p===void 0?0:IR(p,a.min,a.max),g=gZ(r,a.values.length),b=f?.[s.size],y=b?vZ(b,m,s.direction):0;return v.useEffect(()=>{if(l)return a.thumbs.add(l),()=>{a.thumbs.delete(l)}},[l,a.thumbs]),h.jsxs("span",{style:{transform:"var(--radix-slider-thumb-transform)",position:"absolute",[s.startEdge]:`calc(${m}% + ${y}px)`},children:[h.jsx(pg.ItemSlot,{scope:t.__scopeSlider,children:h.jsx(he.span,{role:"slider","aria-label":t["aria-label"]||g,"aria-valuemin":a.min,"aria-valuenow":p,"aria-valuemax":a.max,"aria-orientation":a.orientation,"data-orientation":a.orientation,"data-disabled":a.disabled?"":void 0,tabIndex:a.disabled?void 0:0,...i,ref:d,style:p===void 0?{display:"none"}:t.style,onFocus:se(t.onFocus,()=>{a.valueIndexToChangeRef.current=r})})}),c&&h.jsx(ER,{name:o??(a.name?a.name+(a.values.length>1?"[]":""):void 0),form:a.form,value:p},r)]})});SR.displayName=gg;var pZ="RadioBubbleInput",ER=v.forwardRef(({__scopeSlider:t,value:e,...n},r)=>{const o=v.useRef(null),i=Se(o,r),a=ls(e);return v.useEffect(()=>{const s=o.current;if(!s)return;const l=window.HTMLInputElement.prototype,d=Object.getOwnPropertyDescriptor(l,"value").set;if(a!==e&&d){const c=new Event("input",{bubbles:!0});d.call(s,e),s.dispatchEvent(c)}},[a,e]),h.jsx(he.input,{style:{display:"none"},...n,ref:i,defaultValue:e})});ER.displayName=pZ;function mZ(t=[],e,n){const r=[...t];return r[n]=e,r.sort((o,i)=>o-i)}function IR(t,e,n){const i=100/(n-e)*(t-e);return Ha(i,[0,100])}function gZ(t,e){return e>2?`Value ${t+1} of ${e}`:e===2?["Minimum","Maximum"][t]:void 0}function bZ(t,e){if(t.length===1)return 0;const n=t.map(o=>Math.abs(o-e)),r=Math.min(...n);return n.indexOf(r)}function vZ(t,e,n){const r=t/2,i=Sv([0,50],[0,r]);return(r-i(e)*n)*n}function yZ(t){return t.slice(0,-1).map((e,n)=>t[n+1]-e)}function xZ(t,e){if(e>0){const n=yZ(t);return Math.min(...n)>=e}return!0}function Sv(t,e){return n=>{if(t[0]===t[1]||e[0]===e[1])return e[0];const r=(e[1]-e[0])/(t[1]-t[0]);return e[0]+r*(n-t[0])}}function wZ(t){return(String(t).split(".")[1]||"").length}function CZ(t,e){const n=Math.pow(10,e);return Math.round(t*n)/n}var SZ=gR,EZ=wR,IZ=CR,AZ=SR;function TZ({className:t,defaultValue:e,value:n,min:r=0,max:o=100,...i}){const a=v.useMemo(()=>Array.isArray(n)?n:Array.isArray(e)?e:[r,o],[n,e,r,o]);return h.jsxs(SZ,{"data-slot":"slider",defaultValue:e,value:n,min:r,max:o,className:j("ui:relative ui:flex ui:w-full ui:touch-none ui:items-center ui:select-none ui:data-[disabled]:opacity-50 ui:data-[orientation=vertical]:h-full ui:data-[orientation=vertical]:min-h-44 ui:data-[orientation=vertical]:w-auto ui:data-[orientation=vertical]:flex-col",t),...i,children:[h.jsx(EZ,{"data-slot":"slider-track",className:j("ui:bg-muted ui:relative ui:grow ui:overflow-hidden ui:rounded-full ui:data-[orientation=horizontal]:h-1.5 ui:data-[orientation=horizontal]:w-full ui:data-[orientation=vertical]:h-full ui:data-[orientation=vertical]:w-1.5"),children:h.jsx(IZ,{"data-slot":"slider-range",className:j("ui:bg-primary ui:absolute ui:data-[orientation=horizontal]:h-full ui:data-[orientation=vertical]:w-full")})}),Array.from({length:a.length},(s,l)=>h.jsx(AZ,{"data-slot":"slider-thumb",className:"ui:border-primary ui:ring-ring/50 ui:block ui:size-4 ui:shrink-0 ui:rounded-full ui:border ui:bg-white ui:shadow-sm ui:transition-[color,box-shadow] ui:hover:ring-4 ui:focus-visible:ring-4 ui:focus-visible:outline-hidden ui:disabled:pointer-events-none ui:disabled:opacity-50"},l))]})}var NZ=(t,e,n,r,o,i,a,s)=>{let l=document.documentElement,u=["light","dark"];function d(p){(Array.isArray(t)?t:[t]).forEach(m=>{let g=m==="class",b=g&&i?o.map(y=>i[y]||y):o;g?(l.classList.remove(...b),l.classList.add(i&&i[p]?i[p]:p)):l.setAttribute(m,p)}),c(p)}function c(p){s&&u.includes(p)&&(l.style.colorScheme=p)}function f(){return window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}if(r)d(r);else try{let p=localStorage.getItem(e)||n,m=a&&p==="system"?f():p;d(m)}catch{}},_Z=v.createContext(void 0),OZ={setTheme:t=>{},themes:[]},RZ=()=>{var t;return(t=v.useContext(_Z))!=null?t:OZ};v.memo(({forcedTheme:t,storageKey:e,attribute:n,enableSystem:r,enableColorScheme:o,defaultTheme:i,value:a,themes:s,nonce:l,scriptProps:u})=>{let d=JSON.stringify([n,e,i,t,s,a,r,o]).slice(1,-1);return v.createElement("script",{...u,suppressHydrationWarning:!0,nonce:typeof window>"u"?l:"",dangerouslySetInnerHTML:{__html:`(${NZ.toString()})(${d})`}})});const PZ=({...t})=>{const{theme:e="system"}=RZ();return h.jsx(Az,{theme:e,className:"ui:toaster ui:group",icons:{success:h.jsx(G2,{className:"ui:size-4"}),info:h.jsx(ts,{className:"ui:size-4"}),warning:h.jsx(lM,{className:"ui:size-4"}),error:h.jsx(nM,{className:"ui:size-4"}),loading:h.jsx(Cu,{className:"ui:size-4 ui:animate-spin"})},style:{"--normal-bg":"var(--popover)","--normal-text":"var(--popover-foreground)","--normal-border":"var(--border)","--border-radius":"var(--radius)"},...t})};function MZ({title:t,containerClassName:e,className:n,...r}){return h.jsx("section",{className:j(e),children:h.jsxs("div",{className:"ui:flex ui:gap-1 ui:items-center",children:[h.jsx(Cu,{role:"status","aria-label":"Loading",className:j("ui:size-4 ui:animate-spin",n),...r}),t&&h.jsx("span",{children:t})]})})}var Ac="Tabs",[kZ]=At(Ac,[Wi]),AR=Wi(),[DZ,Ev]=kZ(Ac),TR=v.forwardRef((t,e)=>{const{__scopeTabs:n,value:r,onValueChange:o,defaultValue:i,orientation:a="horizontal",dir:s,activationMode:l="automatic",...u}=t,d=Qr(s),[c,f]=jt({prop:r,onChange:o,defaultProp:i??"",caller:Ac});return h.jsx(DZ,{scope:n,baseId:ft(),value:c,onValueChange:f,orientation:a,dir:d,activationMode:l,children:h.jsx(he.div,{dir:d,"data-orientation":a,...u,ref:e})})});TR.displayName=Ac;var NR="TabsList",_R=v.forwardRef((t,e)=>{const{__scopeTabs:n,loop:r=!0,...o}=t,i=Ev(NR,n),a=AR(n);return h.jsx(zb,{asChild:!0,...a,orientation:i.orientation,dir:i.dir,loop:r,children:h.jsx(he.div,{role:"tablist","aria-orientation":i.orientation,...o,ref:e})})});_R.displayName=NR;var OR="TabsTrigger",RR=v.forwardRef((t,e)=>{const{__scopeTabs:n,value:r,disabled:o=!1,...i}=t,a=Ev(OR,n),s=AR(n),l=kR(a.baseId,r),u=DR(a.baseId,r),d=r===a.value;return h.jsx(Xb,{asChild:!0,...s,focusable:!o,active:d,children:h.jsx(he.button,{type:"button",role:"tab","aria-selected":d,"aria-controls":u,"data-state":d?"active":"inactive","data-disabled":o?"":void 0,disabled:o,id:l,...i,ref:e,onMouseDown:se(t.onMouseDown,c=>{!o&&c.button===0&&c.ctrlKey===!1?a.onValueChange(r):c.preventDefault()}),onKeyDown:se(t.onKeyDown,c=>{[" ","Enter"].includes(c.key)&&a.onValueChange(r)}),onFocus:se(t.onFocus,()=>{const c=a.activationMode!=="manual";!d&&!o&&c&&a.onValueChange(r)})})})});RR.displayName=OR;var PR="TabsContent",MR=v.forwardRef((t,e)=>{const{__scopeTabs:n,value:r,forceMount:o,children:i,...a}=t,s=Ev(PR,n),l=kR(s.baseId,r),u=DR(s.baseId,r),d=r===s.value,c=v.useRef(d);return v.useEffect(()=>{const f=requestAnimationFrame(()=>c.current=!1);return()=>cancelAnimationFrame(f)},[]),h.jsx(pt,{present:o||d,children:({present:f})=>h.jsx(he.div,{"data-state":d?"active":"inactive","data-orientation":s.orientation,role:"tabpanel","aria-labelledby":l,hidden:!f,id:u,tabIndex:0,...a,ref:e,style:{...t.style,animationDuration:c.current?"0s":void 0},children:f&&i})})});MR.displayName=PR;function kR(t,e){return`${t}-trigger-${e}`}function DR(t,e){return`${t}-content-${e}`}var jZ=TR,LZ=_R,BZ=RR,FZ=MR;function GZ({className:t,...e}){return h.jsx(jZ,{"data-slot":"tabs",className:j("ui:flex ui:flex-col ui:gap-2",t),...e})}function $Z({className:t,...e}){return h.jsx(LZ,{"data-slot":"tabs-list",className:j("ui:bg-muted ui:text-muted-foreground ui:inline-flex ui:h-9 ui:w-fit ui:items-center ui:justify-center ui:rounded-lg ui:p-[3px]",t),...e})}function WZ({className:t,...e}){return h.jsx(BZ,{"data-slot":"tabs-trigger",className:j("ui:data-[state=active]:bg-background ui:dark:data-[state=active]:text-foreground ui:focus-visible:border-ring ui:focus-visible:ring-ring/50 ui:focus-visible:outline-ring ui:dark:data-[state=active]:border-input ui:dark:data-[state=active]:bg-input/30 ui:text-foreground ui:dark:text-muted-foreground ui:inline-flex ui:h-[calc(100%-1px)] ui:flex-1 ui:items-center ui:justify-center ui:gap-1.5 ui:rounded-md ui:border ui:border-transparent ui:px-2 ui:py-1 ui:text-sm ui:font-medium ui:whitespace-nowrap ui:transition-[color,box-shadow] ui:focus-visible:ring-[3px] ui:focus-visible:outline-1 ui:disabled:pointer-events-none ui:disabled:opacity-50 ui:data-[state=active]:shadow-sm ui:[&_svg]:pointer-events-none ui:[&_svg]:shrink-0 ui:[&_svg:not([class*='size-'])]:size-4",t),...e})}function VZ({className:t,...e}){return h.jsx(FZ,{"data-slot":"tabs-content",className:j("ui:flex-1 ui:outline-none",t),...e})}function HZ({className:t,...e}){return h.jsx("div",{"data-slot":"table-container",className:"ui:overflow-x-auto",children:h.jsx("table",{"data-slot":"table",className:j("ui:data-grid ui:min-w-full ui:text-left ui:text-sm ui:font-light ui:text-surface ui:dark:text-white",t),...e})})}function qZ({className:t,disableHover:e=!1,...n}){return h.jsx("thead",{"data-slot":"table-header",className:j("ui:border-b ui:border-neutral-200 ui:font-medium ui:bg-zinc-700 ui:text-white",!e&&"ui:hover:bg-zinc-700 ui:hover:text-white",t),...n})}function zZ({className:t,...e}){return h.jsx("th",{"data-slot":"table-head",className:j("ui:p-2 ui:whitespace-nowrap",t),...e})}function XZ({className:t,...e}){return h.jsx("tbody",{"data-slot":"table-body",className:j("ui:border-b ui:bg-white ui:[&_tr:last-child]:border-0",t),...e})}function YZ({className:t,...e}){return h.jsx("tr",{className:j("ui:border-b ui:border-neutral-200",t),...e})}function UZ({className:t,disableHover:e=!1,...n}){return h.jsx("tr",{"data-slot":"table-row",className:j("ui:border-b ui:border-neutral-200",!e&&"ui:hover:bg-neutral-300",t),...n})}function ZZ({className:t,...e}){return h.jsx("td",{"data-slot":"table-cell",className:j("ui:whitespace-nowrap ui:p-2",t),...e})}function JZ({className:t,...e}){return h.jsx("caption",{"data-slot":"table-caption",className:j("ui:mt-4 ui:text-sm ui:text-muted-foreground",t),...e})}function KZ({className:t,...e}){return h.jsx("tfoot",{"data-slot":"table-footer",className:j("ui:border-t ui:bg-muted/50 ui:font-medium ui:[&>tr]:last:border-b-0",t),...e})}var jR=typeof global=="object"&&global&&global.Object===Object&&global,QZ=typeof self=="object"&&self&&self.Object===Object&&self,yr=jR||QZ||Function("return this")(),Kr=yr.Symbol,LR=Object.prototype,eJ=LR.hasOwnProperty,tJ=LR.toString,ca=Kr?Kr.toStringTag:void 0;function nJ(t){var e=eJ.call(t,ca),n=t[ca];try{t[ca]=void 0;var r=!0}catch{}var o=tJ.call(t);return r&&(e?t[ca]=n:delete t[ca]),o}var rJ=Object.prototype,oJ=rJ.toString;function iJ(t){return oJ.call(t)}var aJ="[object Null]",sJ="[object Undefined]",uC=Kr?Kr.toStringTag:void 0;function zi(t){return t==null?t===void 0?sJ:aJ:uC&&uC in Object(t)?nJ(t):iJ(t)}function Mr(t){return t!=null&&typeof t=="object"}var Oo=Array.isArray;function so(t){var e=typeof t;return t!=null&&(e=="object"||e=="function")}function BR(t){return t}var lJ="[object AsyncFunction]",uJ="[object Function]",cJ="[object GeneratorFunction]",dJ="[object Proxy]";function Iv(t){if(!so(t))return!1;var e=zi(t);return e==uJ||e==cJ||e==lJ||e==dJ}var rm=yr["__core-js_shared__"],cC=(function(){var t=/[^.]+$/.exec(rm&&rm.keys&&rm.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""})();function fJ(t){return!!cC&&cC in t}var hJ=Function.prototype,pJ=hJ.toString;function $o(t){if(t!=null){try{return pJ.call(t)}catch{}try{return t+""}catch{}}return""}var mJ=/[\\^$.*+?()[\]{}|]/g,gJ=/^\[object .+?Constructor\]$/,bJ=Function.prototype,vJ=Object.prototype,yJ=bJ.toString,xJ=vJ.hasOwnProperty,wJ=RegExp("^"+yJ.call(xJ).replace(mJ,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function CJ(t){if(!so(t)||fJ(t))return!1;var e=Iv(t)?wJ:gJ;return e.test($o(t))}function SJ(t,e){return t?.[e]}function Wo(t,e){var n=SJ(t,e);return CJ(n)?n:void 0}var bg=Wo(yr,"WeakMap"),dC=Object.create,EJ=(function(){function t(){}return function(e){if(!so(e))return{};if(dC)return dC(e);t.prototype=e;var n=new t;return t.prototype=void 0,n}})();function IJ(t,e,n){switch(n.length){case 0:return t.call(e);case 1:return t.call(e,n[0]);case 2:return t.call(e,n[0],n[1]);case 3:return t.call(e,n[0],n[1],n[2])}return t.apply(e,n)}function AJ(t,e){var n=-1,r=t.length;for(e||(e=Array(r));++n<r;)e[n]=t[n];return e}var TJ=800,NJ=16,_J=Date.now;function OJ(t){var e=0,n=0;return function(){var r=_J(),o=NJ-(r-n);if(n=r,o>0){if(++e>=TJ)return arguments[0]}else e=0;return t.apply(void 0,arguments)}}function RJ(t){return function(){return t}}var cu=(function(){try{var t=Wo(Object,"defineProperty");return t({},"",{}),t}catch{}})(),PJ=cu?function(t,e){return cu(t,"toString",{configurable:!0,enumerable:!1,value:RJ(e),writable:!0})}:BR,MJ=OJ(PJ);function kJ(t,e){for(var n=-1,r=t==null?0:t.length;++n<r&&e(t[n],n,t)!==!1;);return t}var DJ=9007199254740991,jJ=/^(?:0|[1-9]\d*)$/;function FR(t,e){var n=typeof t;return e=e??DJ,!!e&&(n=="number"||n!="symbol"&&jJ.test(t))&&t>-1&&t%1==0&&t<e}function Av(t,e,n){e=="__proto__"&&cu?cu(t,e,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[e]=n}function As(t,e){return t===e||t!==t&&e!==e}var LJ=Object.prototype,BJ=LJ.hasOwnProperty;function GR(t,e,n){var r=t[e];(!(BJ.call(t,e)&&As(r,n))||n===void 0&&!(e in t))&&Av(t,e,n)}function FJ(t,e,n,r){var o=!n;n||(n={});for(var i=-1,a=e.length;++i<a;){var s=e[i],l=void 0;l===void 0&&(l=t[s]),o?Av(n,s,l):GR(n,s,l)}return n}var fC=Math.max;function GJ(t,e,n){return e=fC(e===void 0?t.length-1:e,0),function(){for(var r=arguments,o=-1,i=fC(r.length-e,0),a=Array(i);++o<i;)a[o]=r[e+o];o=-1;for(var s=Array(e+1);++o<e;)s[o]=r[o];return s[e]=n(a),IJ(t,this,s)}}function $J(t,e){return MJ(GJ(t,e,BR),t+"")}var WJ=9007199254740991;function $R(t){return typeof t=="number"&&t>-1&&t%1==0&&t<=WJ}function Tc(t){return t!=null&&$R(t.length)&&!Iv(t)}function VJ(t,e,n){if(!so(n))return!1;var r=typeof e;return(r=="number"?Tc(n)&&FR(e,n.length):r=="string"&&e in n)?As(n[e],t):!1}function HJ(t){return $J(function(e,n){var r=-1,o=n.length,i=o>1?n[o-1]:void 0,a=o>2?n[2]:void 0;for(i=t.length>3&&typeof i=="function"?(o--,i):void 0,a&&VJ(n[0],n[1],a)&&(i=o<3?void 0:i,o=1),e=Object(e);++r<o;){var s=n[r];s&&t(e,s,r,i)}return e})}var qJ=Object.prototype;function Tv(t){var e=t&&t.constructor,n=typeof e=="function"&&e.prototype||qJ;return t===n}function zJ(t,e){for(var n=-1,r=Array(t);++n<t;)r[n]=e(n);return r}var XJ="[object Arguments]";function hC(t){return Mr(t)&&zi(t)==XJ}var WR=Object.prototype,YJ=WR.hasOwnProperty,UJ=WR.propertyIsEnumerable,vg=hC((function(){return arguments})())?hC:function(t){return Mr(t)&&YJ.call(t,"callee")&&!UJ.call(t,"callee")};function ZJ(){return!1}var VR=typeof exports=="object"&&exports&&!exports.nodeType&&exports,pC=VR&&typeof module=="object"&&module&&!module.nodeType&&module,JJ=pC&&pC.exports===VR,mC=JJ?yr.Buffer:void 0,KJ=mC?mC.isBuffer:void 0,Ya=KJ||ZJ,QJ="[object Arguments]",eK="[object Array]",tK="[object Boolean]",nK="[object Date]",rK="[object Error]",oK="[object Function]",iK="[object Map]",aK="[object Number]",sK="[object Object]",lK="[object RegExp]",uK="[object Set]",cK="[object String]",dK="[object WeakMap]",fK="[object ArrayBuffer]",hK="[object DataView]",pK="[object Float32Array]",mK="[object Float64Array]",gK="[object Int8Array]",bK="[object Int16Array]",vK="[object Int32Array]",yK="[object Uint8Array]",xK="[object Uint8ClampedArray]",wK="[object Uint16Array]",CK="[object Uint32Array]",rt={};rt[pK]=rt[mK]=rt[gK]=rt[bK]=rt[vK]=rt[yK]=rt[xK]=rt[wK]=rt[CK]=!0;rt[QJ]=rt[eK]=rt[fK]=rt[tK]=rt[hK]=rt[nK]=rt[rK]=rt[oK]=rt[iK]=rt[aK]=rt[sK]=rt[lK]=rt[uK]=rt[cK]=rt[dK]=!1;function SK(t){return Mr(t)&&$R(t.length)&&!!rt[zi(t)]}function Nv(t){return function(e){return t(e)}}var HR=typeof exports=="object"&&exports&&!exports.nodeType&&exports,Aa=HR&&typeof module=="object"&&module&&!module.nodeType&&module,EK=Aa&&Aa.exports===HR,om=EK&&jR.process,Ri=(function(){try{var t=Aa&&Aa.require&&Aa.require("util").types;return t||om&&om.binding&&om.binding("util")}catch{}})(),gC=Ri&&Ri.isTypedArray,_v=gC?Nv(gC):SK,IK=Object.prototype,AK=IK.hasOwnProperty;function qR(t,e){var n=Oo(t),r=!n&&vg(t),o=!n&&!r&&Ya(t),i=!n&&!r&&!o&&_v(t),a=n||r||o||i,s=a?zJ(t.length,String):[],l=s.length;for(var u in t)(e||AK.call(t,u))&&!(a&&(u=="length"||o&&(u=="offset"||u=="parent")||i&&(u=="buffer"||u=="byteLength"||u=="byteOffset")||FR(u,l)))&&s.push(u);return s}function zR(t,e){return function(n){return t(e(n))}}var TK=zR(Object.keys,Object),NK=Object.prototype,_K=NK.hasOwnProperty;function OK(t){if(!Tv(t))return TK(t);var e=[];for(var n in Object(t))_K.call(t,n)&&n!="constructor"&&e.push(n);return e}function RK(t){return Tc(t)?qR(t):OK(t)}function PK(t){var e=[];if(t!=null)for(var n in Object(t))e.push(n);return e}var MK=Object.prototype,kK=MK.hasOwnProperty;function DK(t){if(!so(t))return PK(t);var e=Tv(t),n=[];for(var r in t)r=="constructor"&&(e||!kK.call(t,r))||n.push(r);return n}function XR(t){return Tc(t)?qR(t,!0):DK(t)}var Ua=Wo(Object,"create");function jK(){this.__data__=Ua?Ua(null):{},this.size=0}function LK(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}var BK="__lodash_hash_undefined__",FK=Object.prototype,GK=FK.hasOwnProperty;function $K(t){var e=this.__data__;if(Ua){var n=e[t];return n===BK?void 0:n}return GK.call(e,t)?e[t]:void 0}var WK=Object.prototype,VK=WK.hasOwnProperty;function HK(t){var e=this.__data__;return Ua?e[t]!==void 0:VK.call(e,t)}var qK="__lodash_hash_undefined__";function zK(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=Ua&&e===void 0?qK:e,this}function Ro(t){var e=-1,n=t==null?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}Ro.prototype.clear=jK;Ro.prototype.delete=LK;Ro.prototype.get=$K;Ro.prototype.has=HK;Ro.prototype.set=zK;function XK(){this.__data__=[],this.size=0}function Nc(t,e){for(var n=t.length;n--;)if(As(t[n][0],e))return n;return-1}var YK=Array.prototype,UK=YK.splice;function ZK(t){var e=this.__data__,n=Nc(e,t);if(n<0)return!1;var r=e.length-1;return n==r?e.pop():UK.call(e,n,1),--this.size,!0}function JK(t){var e=this.__data__,n=Nc(e,t);return n<0?void 0:e[n][1]}function KK(t){return Nc(this.__data__,t)>-1}function QK(t,e){var n=this.__data__,r=Nc(n,t);return r<0?(++this.size,n.push([t,e])):n[r][1]=e,this}function Lr(t){var e=-1,n=t==null?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}Lr.prototype.clear=XK;Lr.prototype.delete=ZK;Lr.prototype.get=JK;Lr.prototype.has=KK;Lr.prototype.set=QK;var Za=Wo(yr,"Map");function eQ(){this.size=0,this.__data__={hash:new Ro,map:new(Za||Lr),string:new Ro}}function tQ(t){var e=typeof t;return e=="string"||e=="number"||e=="symbol"||e=="boolean"?t!=="__proto__":t===null}function _c(t,e){var n=t.__data__;return tQ(e)?n[typeof e=="string"?"string":"hash"]:n.map}function nQ(t){var e=_c(this,t).delete(t);return this.size-=e?1:0,e}function rQ(t){return _c(this,t).get(t)}function oQ(t){return _c(this,t).has(t)}function iQ(t,e){var n=_c(this,t),r=n.size;return n.set(t,e),this.size+=n.size==r?0:1,this}function Vo(t){var e=-1,n=t==null?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}Vo.prototype.clear=eQ;Vo.prototype.delete=nQ;Vo.prototype.get=rQ;Vo.prototype.has=oQ;Vo.prototype.set=iQ;function aQ(t,e){for(var n=-1,r=e.length,o=t.length;++n<r;)t[o+n]=e[n];return t}var YR=zR(Object.getPrototypeOf,Object),sQ="[object Object]",lQ=Function.prototype,uQ=Object.prototype,UR=lQ.toString,cQ=uQ.hasOwnProperty,dQ=UR.call(Object);function fQ(t){if(!Mr(t)||zi(t)!=sQ)return!1;var e=YR(t);if(e===null)return!0;var n=cQ.call(e,"constructor")&&e.constructor;return typeof n=="function"&&n instanceof n&&UR.call(n)==dQ}function hQ(){this.__data__=new Lr,this.size=0}function pQ(t){var e=this.__data__,n=e.delete(t);return this.size=e.size,n}function mQ(t){return this.__data__.get(t)}function gQ(t){return this.__data__.has(t)}var bQ=200;function vQ(t,e){var n=this.__data__;if(n instanceof Lr){var r=n.__data__;if(!Za||r.length<bQ-1)return r.push([t,e]),this.size=++n.size,this;n=this.__data__=new Vo(r)}return n.set(t,e),this.size=n.size,this}function sr(t){var e=this.__data__=new Lr(t);this.size=e.size}sr.prototype.clear=hQ;sr.prototype.delete=pQ;sr.prototype.get=mQ;sr.prototype.has=gQ;sr.prototype.set=vQ;var ZR=typeof exports=="object"&&exports&&!exports.nodeType&&exports,bC=ZR&&typeof module=="object"&&module&&!module.nodeType&&module,yQ=bC&&bC.exports===ZR,vC=yQ?yr.Buffer:void 0,yC=vC?vC.allocUnsafe:void 0;function JR(t,e){if(e)return t.slice();var n=t.length,r=yC?yC(n):new t.constructor(n);return t.copy(r),r}function xQ(t,e){for(var n=-1,r=t==null?0:t.length,o=0,i=[];++n<r;){var a=t[n];e(a,n,t)&&(i[o++]=a)}return i}function wQ(){return[]}var CQ=Object.prototype,SQ=CQ.propertyIsEnumerable,xC=Object.getOwnPropertySymbols,EQ=xC?function(t){return t==null?[]:(t=Object(t),xQ(xC(t),function(e){return SQ.call(t,e)}))}:wQ;function IQ(t,e,n){var r=e(t);return Oo(t)?r:aQ(r,n(t))}function yg(t){return IQ(t,RK,EQ)}var xg=Wo(yr,"DataView"),wg=Wo(yr,"Promise"),Cg=Wo(yr,"Set"),wC="[object Map]",AQ="[object Object]",CC="[object Promise]",SC="[object Set]",EC="[object WeakMap]",IC="[object DataView]",TQ=$o(xg),NQ=$o(Za),_Q=$o(wg),OQ=$o(Cg),RQ=$o(bg),Rn=zi;(xg&&Rn(new xg(new ArrayBuffer(1)))!=IC||Za&&Rn(new Za)!=wC||wg&&Rn(wg.resolve())!=CC||Cg&&Rn(new Cg)!=SC||bg&&Rn(new bg)!=EC)&&(Rn=function(t){var e=zi(t),n=e==AQ?t.constructor:void 0,r=n?$o(n):"";if(r)switch(r){case TQ:return IC;case NQ:return wC;case _Q:return CC;case OQ:return SC;case RQ:return EC}return e});var PQ=Object.prototype,MQ=PQ.hasOwnProperty;function kQ(t){var e=t.length,n=new t.constructor(e);return e&&typeof t[0]=="string"&&MQ.call(t,"index")&&(n.index=t.index,n.input=t.input),n}var du=yr.Uint8Array;function Ov(t){var e=new t.constructor(t.byteLength);return new du(e).set(new du(t)),e}function DQ(t,e){var n=Ov(t.buffer);return new t.constructor(n,t.byteOffset,t.byteLength)}var jQ=/\w*$/;function LQ(t){var e=new t.constructor(t.source,jQ.exec(t));return e.lastIndex=t.lastIndex,e}var AC=Kr?Kr.prototype:void 0,TC=AC?AC.valueOf:void 0;function BQ(t){return TC?Object(TC.call(t)):{}}function KR(t,e){var n=e?Ov(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.length)}var FQ="[object Boolean]",GQ="[object Date]",$Q="[object Map]",WQ="[object Number]",VQ="[object RegExp]",HQ="[object Set]",qQ="[object String]",zQ="[object Symbol]",XQ="[object ArrayBuffer]",YQ="[object DataView]",UQ="[object Float32Array]",ZQ="[object Float64Array]",JQ="[object Int8Array]",KQ="[object Int16Array]",QQ="[object Int32Array]",eee="[object Uint8Array]",tee="[object Uint8ClampedArray]",nee="[object Uint16Array]",ree="[object Uint32Array]";function oee(t,e,n){var r=t.constructor;switch(e){case XQ:return Ov(t);case FQ:case GQ:return new r(+t);case YQ:return DQ(t);case UQ:case ZQ:case JQ:case KQ:case QQ:case eee:case tee:case nee:case ree:return KR(t,n);case $Q:return new r;case WQ:case qQ:return new r(t);case VQ:return LQ(t);case HQ:return new r;case zQ:return BQ(t)}}function QR(t){return typeof t.constructor=="function"&&!Tv(t)?EJ(YR(t)):{}}var iee="[object Map]";function aee(t){return Mr(t)&&Rn(t)==iee}var NC=Ri&&Ri.isMap,see=NC?Nv(NC):aee,lee="[object Set]";function uee(t){return Mr(t)&&Rn(t)==lee}var _C=Ri&&Ri.isSet,cee=_C?Nv(_C):uee,dee=1,eP="[object Arguments]",fee="[object Array]",hee="[object Boolean]",pee="[object Date]",mee="[object Error]",tP="[object Function]",gee="[object GeneratorFunction]",bee="[object Map]",vee="[object Number]",nP="[object Object]",yee="[object RegExp]",xee="[object Set]",wee="[object String]",Cee="[object Symbol]",See="[object WeakMap]",Eee="[object ArrayBuffer]",Iee="[object DataView]",Aee="[object Float32Array]",Tee="[object Float64Array]",Nee="[object Int8Array]",_ee="[object Int16Array]",Oee="[object Int32Array]",Ree="[object Uint8Array]",Pee="[object Uint8ClampedArray]",Mee="[object Uint16Array]",kee="[object Uint32Array]",et={};et[eP]=et[fee]=et[Eee]=et[Iee]=et[hee]=et[pee]=et[Aee]=et[Tee]=et[Nee]=et[_ee]=et[Oee]=et[bee]=et[vee]=et[nP]=et[yee]=et[xee]=et[wee]=et[Cee]=et[Ree]=et[Pee]=et[Mee]=et[kee]=!0;et[mee]=et[tP]=et[See]=!1;function Rl(t,e,n,r,o,i){var a,s=e&dee;if(a!==void 0)return a;if(!so(t))return t;var l=Oo(t);if(l)a=kQ(t);else{var u=Rn(t),d=u==tP||u==gee;if(Ya(t))return JR(t,s);if(u==nP||u==eP||d&&!o)a=d?{}:QR(t);else{if(!et[u])return o?t:{};a=oee(t,u,s)}}i||(i=new sr);var c=i.get(t);if(c)return c;i.set(t,a),cee(t)?t.forEach(function(m){a.add(Rl(m,e,n,m,t,i))}):see(t)&&t.forEach(function(m,g){a.set(g,Rl(m,e,n,g,t,i))});var f=yg,p=l?void 0:f(t);return kJ(p||t,function(m,g){p&&(g=m,m=t[g]),GR(a,g,Rl(m,e,n,g,t,i))}),a}var Dee=1,jee=4;function bi(t){return Rl(t,Dee|jee)}var Lee="__lodash_hash_undefined__";function Bee(t){return this.__data__.set(t,Lee),this}function Fee(t){return this.__data__.has(t)}function fu(t){var e=-1,n=t==null?0:t.length;for(this.__data__=new Vo;++e<n;)this.add(t[e])}fu.prototype.add=fu.prototype.push=Bee;fu.prototype.has=Fee;function Gee(t,e){for(var n=-1,r=t==null?0:t.length;++n<r;)if(e(t[n],n,t))return!0;return!1}function $ee(t,e){return t.has(e)}var Wee=1,Vee=2;function rP(t,e,n,r,o,i){var a=n&Wee,s=t.length,l=e.length;if(s!=l&&!(a&&l>s))return!1;var u=i.get(t),d=i.get(e);if(u&&d)return u==e&&d==t;var c=-1,f=!0,p=n&Vee?new fu:void 0;for(i.set(t,e),i.set(e,t);++c<s;){var m=t[c],g=e[c];if(r)var b=a?r(g,m,c,e,t,i):r(m,g,c,t,e,i);if(b!==void 0){if(b)continue;f=!1;break}if(p){if(!Gee(e,function(y,w){if(!$ee(p,w)&&(m===y||o(m,y,n,r,i)))return p.push(w)})){f=!1;break}}else if(!(m===g||o(m,g,n,r,i))){f=!1;break}}return i.delete(t),i.delete(e),f}function Hee(t){var e=-1,n=Array(t.size);return t.forEach(function(r,o){n[++e]=[o,r]}),n}function qee(t){var e=-1,n=Array(t.size);return t.forEach(function(r){n[++e]=r}),n}var zee=1,Xee=2,Yee="[object Boolean]",Uee="[object Date]",Zee="[object Error]",Jee="[object Map]",Kee="[object Number]",Qee="[object RegExp]",ete="[object Set]",tte="[object String]",nte="[object Symbol]",rte="[object ArrayBuffer]",ote="[object DataView]",OC=Kr?Kr.prototype:void 0,im=OC?OC.valueOf:void 0;function ite(t,e,n,r,o,i,a){switch(n){case ote:if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case rte:return!(t.byteLength!=e.byteLength||!i(new du(t),new du(e)));case Yee:case Uee:case Kee:return As(+t,+e);case Zee:return t.name==e.name&&t.message==e.message;case Qee:case tte:return t==e+"";case Jee:var s=Hee;case ete:var l=r&zee;if(s||(s=qee),t.size!=e.size&&!l)return!1;var u=a.get(t);if(u)return u==e;r|=Xee,a.set(t,e);var d=rP(s(t),s(e),r,o,i,a);return a.delete(t),d;case nte:if(im)return im.call(t)==im.call(e)}return!1}var ate=1,ste=Object.prototype,lte=ste.hasOwnProperty;function ute(t,e,n,r,o,i){var a=n&ate,s=yg(t),l=s.length,u=yg(e),d=u.length;if(l!=d&&!a)return!1;for(var c=l;c--;){var f=s[c];if(!(a?f in e:lte.call(e,f)))return!1}var p=i.get(t),m=i.get(e);if(p&&m)return p==e&&m==t;var g=!0;i.set(t,e),i.set(e,t);for(var b=a;++c<l;){f=s[c];var y=t[f],w=e[f];if(r)var C=a?r(w,y,f,e,t,i):r(y,w,f,t,e,i);if(!(C===void 0?y===w||o(y,w,n,r,i):C)){g=!1;break}b||(b=f=="constructor")}if(g&&!b){var S=t.constructor,E=e.constructor;S!=E&&"constructor"in t&&"constructor"in e&&!(typeof S=="function"&&S instanceof S&&typeof E=="function"&&E instanceof E)&&(g=!1)}return i.delete(t),i.delete(e),g}var cte=1,RC="[object Arguments]",PC="[object Array]",fl="[object Object]",dte=Object.prototype,MC=dte.hasOwnProperty;function fte(t,e,n,r,o,i){var a=Oo(t),s=Oo(e),l=a?PC:Rn(t),u=s?PC:Rn(e);l=l==RC?fl:l,u=u==RC?fl:u;var d=l==fl,c=u==fl,f=l==u;if(f&&Ya(t)){if(!Ya(e))return!1;a=!0,d=!1}if(f&&!d)return i||(i=new sr),a||_v(t)?rP(t,e,n,r,o,i):ite(t,e,l,n,r,o,i);if(!(n&cte)){var p=d&&MC.call(t,"__wrapped__"),m=c&&MC.call(e,"__wrapped__");if(p||m){var g=p?t.value():t,b=m?e.value():e;return i||(i=new sr),o(g,b,n,r,i)}}return f?(i||(i=new sr),ute(t,e,n,r,o,i)):!1}function oP(t,e,n,r,o){return t===e?!0:t==null||e==null||!Mr(t)&&!Mr(e)?t!==t&&e!==e:fte(t,e,n,r,oP,o)}function hte(t){return function(e,n,r){for(var o=-1,i=Object(e),a=r(e),s=a.length;s--;){var l=a[++o];if(n(i[l],l,i)===!1)break}return e}}var pte=hte();function Sg(t,e,n){(n!==void 0&&!As(t[e],n)||n===void 0&&!(e in t))&&Av(t,e,n)}function mte(t){return Mr(t)&&Tc(t)}function Eg(t,e){if(!(e==="constructor"&&typeof t[e]=="function")&&e!="__proto__")return t[e]}function gte(t){return FJ(t,XR(t))}function bte(t,e,n,r,o,i,a){var s=Eg(t,n),l=Eg(e,n),u=a.get(l);if(u){Sg(t,n,u);return}var d=i?i(s,l,n+"",t,e,a):void 0,c=d===void 0;if(c){var f=Oo(l),p=!f&&Ya(l),m=!f&&!p&&_v(l);d=l,f||p||m?Oo(s)?d=s:mte(s)?d=AJ(s):p?(c=!1,d=JR(l,!0)):m?(c=!1,d=KR(l,!0)):d=[]:fQ(l)||vg(l)?(d=s,vg(s)?d=gte(s):(!so(s)||Iv(s))&&(d=QR(l))):c=!1}c&&(a.set(l,d),o(d,l,r,i,a),a.delete(l)),Sg(t,n,d)}function iP(t,e,n,r,o){t!==e&&pte(e,function(i,a){if(o||(o=new sr),so(i))bte(t,e,a,n,iP,r,o);else{var s=r?r(Eg(t,a),i,a+"",t,e,o):void 0;s===void 0&&(s=i),Sg(t,a,s)}},XR)}function Rv(t,e){return oP(t,e)}var zr=HJ(function(t,e,n){iP(t,e,n)}),ve=(t=>(t[t.TYPE=3]="TYPE",t[t.LEVEL=12]="LEVEL",t[t.ATTRIBUTE=13]="ATTRIBUTE",t[t.BLOT=14]="BLOT",t[t.INLINE=7]="INLINE",t[t.BLOCK=11]="BLOCK",t[t.BLOCK_BLOT=10]="BLOCK_BLOT",t[t.INLINE_BLOT=6]="INLINE_BLOT",t[t.BLOCK_ATTRIBUTE=9]="BLOCK_ATTRIBUTE",t[t.INLINE_ATTRIBUTE=5]="INLINE_ATTRIBUTE",t[t.ANY=15]="ANY",t))(ve||{});class dr{constructor(e,n,r={}){this.attrName=e,this.keyName=n;const o=ve.TYPE&ve.ATTRIBUTE;this.scope=r.scope!=null?r.scope&ve.LEVEL|o:ve.ATTRIBUTE,r.whitelist!=null&&(this.whitelist=r.whitelist)}static keys(e){return Array.from(e.attributes).map(n=>n.name)}add(e,n){return this.canAdd(e,n)?(e.setAttribute(this.keyName,n),!0):!1}canAdd(e,n){return this.whitelist==null?!0:typeof n=="string"?this.whitelist.indexOf(n.replace(/["']/g,""))>-1:this.whitelist.indexOf(n)>-1}remove(e){e.removeAttribute(this.keyName)}value(e){const n=e.getAttribute(this.keyName);return this.canAdd(e,n)&&n?n:""}}class vi extends Error{constructor(e){e="[Parchment] "+e,super(e),this.message=e,this.name=this.constructor.name}}const aP=class Ig{constructor(){this.attributes={},this.classes={},this.tags={},this.types={}}static find(e,n=!1){if(e==null)return null;if(this.blots.has(e))return this.blots.get(e)||null;if(n){let r=null;try{r=e.parentNode}catch{return null}return this.find(r,n)}return null}create(e,n,r){const o=this.query(n);if(o==null)throw new vi(`Unable to create ${n} blot`);const i=o,a=n instanceof Node||n.nodeType===Node.TEXT_NODE?n:i.create(r),s=new i(e,a,r);return Ig.blots.set(s.domNode,s),s}find(e,n=!1){return Ig.find(e,n)}query(e,n=ve.ANY){let r;return typeof e=="string"?r=this.types[e]||this.attributes[e]:e instanceof Text||e.nodeType===Node.TEXT_NODE?r=this.types.text:typeof e=="number"?e&ve.LEVEL&ve.BLOCK?r=this.types.block:e&ve.LEVEL&ve.INLINE&&(r=this.types.inline):e instanceof Element&&((e.getAttribute("class")||"").split(/\s+/).some(o=>(r=this.classes[o],!!r)),r=r||this.tags[e.tagName]),r==null?null:"scope"in r&&n&ve.LEVEL&r.scope&&n&ve.TYPE&r.scope?r:null}register(...e){return e.map(n=>{const r="blotName"in n,o="attrName"in n;if(!r&&!o)throw new vi("Invalid definition");if(r&&n.blotName==="abstract")throw new vi("Cannot register abstract class");const i=r?n.blotName:o?n.attrName:void 0;return this.types[i]=n,o?typeof n.keyName=="string"&&(this.attributes[n.keyName]=n):r&&(n.className&&(this.classes[n.className]=n),n.tagName&&(Array.isArray(n.tagName)?n.tagName=n.tagName.map(a=>a.toUpperCase()):n.tagName=n.tagName.toUpperCase(),(Array.isArray(n.tagName)?n.tagName:[n.tagName]).forEach(a=>{(this.tags[a]==null||n.className==null)&&(this.tags[a]=n)}))),n})}};aP.blots=new WeakMap;let Pi=aP;function kC(t,e){return(t.getAttribute("class")||"").split(/\s+/).filter(n=>n.indexOf(`${e}-`)===0)}class vte extends dr{static keys(e){return(e.getAttribute("class")||"").split(/\s+/).map(n=>n.split("-").slice(0,-1).join("-"))}add(e,n){return this.canAdd(e,n)?(this.remove(e),e.classList.add(`${this.keyName}-${n}`),!0):!1}remove(e){kC(e,this.keyName).forEach(n=>{e.classList.remove(n)}),e.classList.length===0&&e.removeAttribute("class")}value(e){const n=(kC(e,this.keyName)[0]||"").slice(this.keyName.length+1);return this.canAdd(e,n)?n:""}}const zn=vte;function am(t){const e=t.split("-"),n=e.slice(1).map(r=>r[0].toUpperCase()+r.slice(1)).join("");return e[0]+n}class yte extends dr{static keys(e){return(e.getAttribute("style")||"").split(";").map(n=>n.split(":")[0].trim())}add(e,n){return this.canAdd(e,n)?(e.style[am(this.keyName)]=n,!0):!1}remove(e){e.style[am(this.keyName)]="",e.getAttribute("style")||e.removeAttribute("style")}value(e){const n=e.style[am(this.keyName)];return this.canAdd(e,n)?n:""}}const lo=yte;class xte{constructor(e){this.attributes={},this.domNode=e,this.build()}attribute(e,n){n?e.add(this.domNode,n)&&(e.value(this.domNode)!=null?this.attributes[e.attrName]=e:delete this.attributes[e.attrName]):(e.remove(this.domNode),delete this.attributes[e.attrName])}build(){this.attributes={};const e=Pi.find(this.domNode);if(e==null)return;const n=dr.keys(this.domNode),r=zn.keys(this.domNode),o=lo.keys(this.domNode);n.concat(r).concat(o).forEach(i=>{const a=e.scroll.query(i,ve.ATTRIBUTE);a instanceof dr&&(this.attributes[a.attrName]=a)})}copy(e){Object.keys(this.attributes).forEach(n=>{const r=this.attributes[n].value(this.domNode);e.format(n,r)})}move(e){this.copy(e),Object.keys(this.attributes).forEach(n=>{this.attributes[n].remove(this.domNode)}),this.attributes={}}values(){return Object.keys(this.attributes).reduce((e,n)=>(e[n]=this.attributes[n].value(this.domNode),e),{})}}const Oc=xte,sP=class{constructor(e,n){this.scroll=e,this.domNode=n,Pi.blots.set(n,this),this.prev=null,this.next=null}static create(e){if(this.tagName==null)throw new vi("Blot definition missing tagName");let n,r;return Array.isArray(this.tagName)?(typeof e=="string"?(r=e.toUpperCase(),parseInt(r,10).toString()===r&&(r=parseInt(r,10))):typeof e=="number"&&(r=e),typeof r=="number"?n=document.createElement(this.tagName[r-1]):r&&this.tagName.indexOf(r)>-1?n=document.createElement(r):n=document.createElement(this.tagName[0])):n=document.createElement(this.tagName),this.className&&n.classList.add(this.className),n}get statics(){return this.constructor}attach(){}clone(){const e=this.domNode.cloneNode(!1);return this.scroll.create(e)}detach(){this.parent!=null&&this.parent.removeChild(this),Pi.blots.delete(this.domNode)}deleteAt(e,n){this.isolate(e,n).remove()}formatAt(e,n,r,o){const i=this.isolate(e,n);if(this.scroll.query(r,ve.BLOT)!=null&&o)i.wrap(r,o);else if(this.scroll.query(r,ve.ATTRIBUTE)!=null){const a=this.scroll.create(this.statics.scope);i.wrap(a),a.format(r,o)}}insertAt(e,n,r){const o=r==null?this.scroll.create("text",n):this.scroll.create(n,r),i=this.split(e);this.parent.insertBefore(o,i||void 0)}isolate(e,n){const r=this.split(e);if(r==null)throw new Error("Attempt to isolate at end");return r.split(n),r}length(){return 1}offset(e=this.parent){return this.parent==null||this===e?0:this.parent.children.offset(this)+this.parent.offset(e)}optimize(e){this.statics.requiredContainer&&!(this.parent instanceof this.statics.requiredContainer)&&this.wrap(this.statics.requiredContainer.blotName)}remove(){this.domNode.parentNode!=null&&this.domNode.parentNode.removeChild(this.domNode),this.detach()}replaceWith(e,n){const r=typeof e=="string"?this.scroll.create(e,n):e;return this.parent!=null&&(this.parent.insertBefore(r,this.next||void 0),this.remove()),r}split(e,n){return e===0?this:this.next}update(e,n){}wrap(e,n){const r=typeof e=="string"?this.scroll.create(e,n):e;if(this.parent!=null&&this.parent.insertBefore(r,this.next||void 0),typeof r.appendChild!="function")throw new vi(`Cannot wrap ${e}`);return r.appendChild(this),r}};sP.blotName="abstract";let lP=sP;const uP=class extends lP{static value(e){return!0}index(e,n){return this.domNode===e||this.domNode.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_CONTAINED_BY?Math.min(n,1):-1}position(e,n){let r=Array.from(this.parent.domNode.childNodes).indexOf(this.domNode);return e>0&&(r+=1),[this.parent.domNode,r]}value(){return{[this.statics.blotName]:this.statics.value(this.domNode)||!0}}};uP.scope=ve.INLINE_BLOT;let wte=uP;const Wt=wte;class Cte{constructor(){this.head=null,this.tail=null,this.length=0}append(...e){if(this.insertBefore(e[0],null),e.length>1){const n=e.slice(1);this.append(...n)}}at(e){const n=this.iterator();let r=n();for(;r&&e>0;)e-=1,r=n();return r}contains(e){const n=this.iterator();let r=n();for(;r;){if(r===e)return!0;r=n()}return!1}indexOf(e){const n=this.iterator();let r=n(),o=0;for(;r;){if(r===e)return o;o+=1,r=n()}return-1}insertBefore(e,n){e!=null&&(this.remove(e),e.next=n,n!=null?(e.prev=n.prev,n.prev!=null&&(n.prev.next=e),n.prev=e,n===this.head&&(this.head=e)):this.tail!=null?(this.tail.next=e,e.prev=this.tail,this.tail=e):(e.prev=null,this.head=this.tail=e),this.length+=1)}offset(e){let n=0,r=this.head;for(;r!=null;){if(r===e)return n;n+=r.length(),r=r.next}return-1}remove(e){this.contains(e)&&(e.prev!=null&&(e.prev.next=e.next),e.next!=null&&(e.next.prev=e.prev),e===this.head&&(this.head=e.next),e===this.tail&&(this.tail=e.prev),this.length-=1)}iterator(e=this.head){return()=>{const n=e;return e!=null&&(e=e.next),n}}find(e,n=!1){const r=this.iterator();let o=r();for(;o;){const i=o.length();if(e<i||n&&e===i&&(o.next==null||o.next.length()!==0))return[o,e];e-=i,o=r()}return[null,0]}forEach(e){const n=this.iterator();let r=n();for(;r;)e(r),r=n()}forEachAt(e,n,r){if(n<=0)return;const[o,i]=this.find(e);let a=e-i;const s=this.iterator(o);let l=s();for(;l&&a<e+n;){const u=l.length();e>a?r(l,e-a,Math.min(n,a+u-e)):r(l,0,Math.min(u,e+n-a)),a+=u,l=s()}}map(e){return this.reduce((n,r)=>(n.push(e(r)),n),[])}reduce(e,n){const r=this.iterator();let o=r();for(;o;)n=e(n,o),o=r();return n}}function DC(t,e){const n=e.find(t);if(n)return n;try{return e.create(t)}catch{const r=e.create(ve.INLINE);return Array.from(t.childNodes).forEach(o=>{r.domNode.appendChild(o)}),t.parentNode&&t.parentNode.replaceChild(r.domNode,t),r.attach(),r}}const cP=class Vr extends lP{constructor(e,n){super(e,n),this.uiNode=null,this.build()}appendChild(e){this.insertBefore(e)}attach(){super.attach(),this.children.forEach(e=>{e.attach()})}attachUI(e){this.uiNode!=null&&this.uiNode.remove(),this.uiNode=e,Vr.uiClass&&this.uiNode.classList.add(Vr.uiClass),this.uiNode.setAttribute("contenteditable","false"),this.domNode.insertBefore(this.uiNode,this.domNode.firstChild)}build(){this.children=new Cte,Array.from(this.domNode.childNodes).filter(e=>e!==this.uiNode).reverse().forEach(e=>{try{const n=DC(e,this.scroll);this.insertBefore(n,this.children.head||void 0)}catch(n){if(n instanceof vi)return;throw n}})}deleteAt(e,n){if(e===0&&n===this.length())return this.remove();this.children.forEachAt(e,n,(r,o,i)=>{r.deleteAt(o,i)})}descendant(e,n=0){const[r,o]=this.children.find(n);return e.blotName==null&&e(r)||e.blotName!=null&&r instanceof e?[r,o]:r instanceof Vr?r.descendant(e,o):[null,-1]}descendants(e,n=0,r=Number.MAX_VALUE){let o=[],i=r;return this.children.forEachAt(n,r,(a,s,l)=>{(e.blotName==null&&e(a)||e.blotName!=null&&a instanceof e)&&o.push(a),a instanceof Vr&&(o=o.concat(a.descendants(e,s,i))),i-=l}),o}detach(){this.children.forEach(e=>{e.detach()}),super.detach()}enforceAllowedChildren(){let e=!1;this.children.forEach(n=>{e||this.statics.allowedChildren.some(r=>n instanceof r)||(n.statics.scope===ve.BLOCK_BLOT?(n.next!=null&&this.splitAfter(n),n.prev!=null&&this.splitAfter(n.prev),n.parent.unwrap(),e=!0):n instanceof Vr?n.unwrap():n.remove())})}formatAt(e,n,r,o){this.children.forEachAt(e,n,(i,a,s)=>{i.formatAt(a,s,r,o)})}insertAt(e,n,r){const[o,i]=this.children.find(e);if(o)o.insertAt(i,n,r);else{const a=r==null?this.scroll.create("text",n):this.scroll.create(n,r);this.appendChild(a)}}insertBefore(e,n){e.parent!=null&&e.parent.children.remove(e);let r=null;this.children.insertBefore(e,n||null),e.parent=this,n!=null&&(r=n.domNode),(this.domNode.parentNode!==e.domNode||this.domNode.nextSibling!==r)&&this.domNode.insertBefore(e.domNode,r),e.attach()}length(){return this.children.reduce((e,n)=>e+n.length(),0)}moveChildren(e,n){this.children.forEach(r=>{e.insertBefore(r,n)})}optimize(e){if(super.optimize(e),this.enforceAllowedChildren(),this.uiNode!=null&&this.uiNode!==this.domNode.firstChild&&this.domNode.insertBefore(this.uiNode,this.domNode.firstChild),this.children.length===0)if(this.statics.defaultChild!=null){const n=this.scroll.create(this.statics.defaultChild.blotName);this.appendChild(n)}else this.remove()}path(e,n=!1){const[r,o]=this.children.find(e,n),i=[[this,e]];return r instanceof Vr?i.concat(r.path(o,n)):(r!=null&&i.push([r,o]),i)}removeChild(e){this.children.remove(e)}replaceWith(e,n){const r=typeof e=="string"?this.scroll.create(e,n):e;return r instanceof Vr&&this.moveChildren(r),super.replaceWith(r)}split(e,n=!1){if(!n){if(e===0)return this;if(e===this.length())return this.next}const r=this.clone();return this.parent&&this.parent.insertBefore(r,this.next||void 0),this.children.forEachAt(e,this.length(),(o,i,a)=>{const s=o.split(i,n);s!=null&&r.appendChild(s)}),r}splitAfter(e){const n=this.clone();for(;e.next!=null;)n.appendChild(e.next);return this.parent&&this.parent.insertBefore(n,this.next||void 0),n}unwrap(){this.parent&&this.moveChildren(this.parent,this.next||void 0),this.remove()}update(e,n){const r=[],o=[];e.forEach(i=>{i.target===this.domNode&&i.type==="childList"&&(r.push(...i.addedNodes),o.push(...i.removedNodes))}),o.forEach(i=>{if(i.parentNode!=null&&i.tagName!=="IFRAME"&&document.body.compareDocumentPosition(i)&Node.DOCUMENT_POSITION_CONTAINED_BY)return;const a=this.scroll.find(i);a!=null&&(a.domNode.parentNode==null||a.domNode.parentNode===this.domNode)&&a.detach()}),r.filter(i=>i.parentNode===this.domNode&&i!==this.uiNode).sort((i,a)=>i===a?0:i.compareDocumentPosition(a)&Node.DOCUMENT_POSITION_FOLLOWING?1:-1).forEach(i=>{let a=null;i.nextSibling!=null&&(a=this.scroll.find(i.nextSibling));const s=DC(i,this.scroll);(s.next!==a||s.next==null)&&(s.parent!=null&&s.parent.removeChild(this),this.insertBefore(s,a||void 0))}),this.enforceAllowedChildren()}};cP.uiClass="";let Ste=cP;const Ln=Ste;function Ete(t,e){if(Object.keys(t).length!==Object.keys(e).length)return!1;for(const n in t)if(t[n]!==e[n])return!1;return!0}const li=class ui extends Ln{static create(e){return super.create(e)}static formats(e,n){const r=n.query(ui.blotName);if(!(r!=null&&e.tagName===r.tagName)){if(typeof this.tagName=="string")return!0;if(Array.isArray(this.tagName))return e.tagName.toLowerCase()}}constructor(e,n){super(e,n),this.attributes=new Oc(this.domNode)}format(e,n){if(e===this.statics.blotName&&!n)this.children.forEach(r=>{r instanceof ui||(r=r.wrap(ui.blotName,!0)),this.attributes.copy(r)}),this.unwrap();else{const r=this.scroll.query(e,ve.INLINE);if(r==null)return;r instanceof dr?this.attributes.attribute(r,n):n&&(e!==this.statics.blotName||this.formats()[e]!==n)&&this.replaceWith(e,n)}}formats(){const e=this.attributes.values(),n=this.statics.formats(this.domNode,this.scroll);return n!=null&&(e[this.statics.blotName]=n),e}formatAt(e,n,r,o){this.formats()[r]!=null||this.scroll.query(r,ve.ATTRIBUTE)?this.isolate(e,n).format(r,o):super.formatAt(e,n,r,o)}optimize(e){super.optimize(e);const n=this.formats();if(Object.keys(n).length===0)return this.unwrap();const r=this.next;r instanceof ui&&r.prev===this&&Ete(n,r.formats())&&(r.moveChildren(this),r.remove())}replaceWith(e,n){const r=super.replaceWith(e,n);return this.attributes.copy(r),r}update(e,n){super.update(e,n),e.some(r=>r.target===this.domNode&&r.type==="attributes")&&this.attributes.build()}wrap(e,n){const r=super.wrap(e,n);return r instanceof ui&&this.attributes.move(r),r}};li.allowedChildren=[li,Wt],li.blotName="inline",li.scope=ve.INLINE_BLOT,li.tagName="SPAN";let Ite=li;const Pv=Ite,ci=class Ag extends Ln{static create(e){return super.create(e)}static formats(e,n){const r=n.query(Ag.blotName);if(!(r!=null&&e.tagName===r.tagName)){if(typeof this.tagName=="string")return!0;if(Array.isArray(this.tagName))return e.tagName.toLowerCase()}}constructor(e,n){super(e,n),this.attributes=new Oc(this.domNode)}format(e,n){const r=this.scroll.query(e,ve.BLOCK);r!=null&&(r instanceof dr?this.attributes.attribute(r,n):e===this.statics.blotName&&!n?this.replaceWith(Ag.blotName):n&&(e!==this.statics.blotName||this.formats()[e]!==n)&&this.replaceWith(e,n))}formats(){const e=this.attributes.values(),n=this.statics.formats(this.domNode,this.scroll);return n!=null&&(e[this.statics.blotName]=n),e}formatAt(e,n,r,o){this.scroll.query(r,ve.BLOCK)!=null?this.format(r,o):super.formatAt(e,n,r,o)}insertAt(e,n,r){if(r==null||this.scroll.query(n,ve.INLINE)!=null)super.insertAt(e,n,r);else{const o=this.split(e);if(o!=null){const i=this.scroll.create(n,r);o.parent.insertBefore(i,o)}else throw new Error("Attempt to insertAt after block boundaries")}}replaceWith(e,n){const r=super.replaceWith(e,n);return this.attributes.copy(r),r}update(e,n){super.update(e,n),e.some(r=>r.target===this.domNode&&r.type==="attributes")&&this.attributes.build()}};ci.blotName="block",ci.scope=ve.BLOCK_BLOT,ci.tagName="P",ci.allowedChildren=[Pv,ci,Wt];let Ate=ci;const Ja=Ate,Tg=class extends Ln{checkMerge(){return this.next!==null&&this.next.statics.blotName===this.statics.blotName}deleteAt(e,n){super.deleteAt(e,n),this.enforceAllowedChildren()}formatAt(e,n,r,o){super.formatAt(e,n,r,o),this.enforceAllowedChildren()}insertAt(e,n,r){super.insertAt(e,n,r),this.enforceAllowedChildren()}optimize(e){super.optimize(e),this.children.length>0&&this.next!=null&&this.checkMerge()&&(this.next.moveChildren(this),this.next.remove())}};Tg.blotName="container",Tg.scope=ve.BLOCK_BLOT;let Tte=Tg;const Rc=Tte;class Nte extends Wt{static formats(e,n){}format(e,n){super.formatAt(0,this.length(),e,n)}formatAt(e,n,r,o){e===0&&n===this.length()?this.format(r,o):super.formatAt(e,n,r,o)}formats(){return this.statics.formats(this.domNode,this.scroll)}}const dn=Nte,_te={attributes:!0,characterData:!0,characterDataOldValue:!0,childList:!0,subtree:!0},Ote=100,di=class extends Ln{constructor(e,n){super(null,n),this.registry=e,this.scroll=this,this.build(),this.observer=new MutationObserver(r=>{this.update(r)}),this.observer.observe(this.domNode,_te),this.attach()}create(e,n){return this.registry.create(this,e,n)}find(e,n=!1){const r=this.registry.find(e,n);return r?r.scroll===this?r:n?this.find(r.scroll.domNode.parentNode,!0):null:null}query(e,n=ve.ANY){return this.registry.query(e,n)}register(...e){return this.registry.register(...e)}build(){this.scroll!=null&&super.build()}detach(){super.detach(),this.observer.disconnect()}deleteAt(e,n){this.update(),e===0&&n===this.length()?this.children.forEach(r=>{r.remove()}):super.deleteAt(e,n)}formatAt(e,n,r,o){this.update(),super.formatAt(e,n,r,o)}insertAt(e,n,r){this.update(),super.insertAt(e,n,r)}optimize(e=[],n={}){super.optimize(n);const r=n.mutationsMap||new WeakMap;let o=Array.from(this.observer.takeRecords());for(;o.length>0;)e.push(o.pop());const i=(l,u=!0)=>{l==null||l===this||l.domNode.parentNode!=null&&(r.has(l.domNode)||r.set(l.domNode,[]),u&&i(l.parent))},a=l=>{r.has(l.domNode)&&(l instanceof Ln&&l.children.forEach(a),r.delete(l.domNode),l.optimize(n))};let s=e;for(let l=0;s.length>0;l+=1){if(l>=Ote)throw new Error("[Parchment] Maximum optimize iterations reached");for(s.forEach(u=>{const d=this.find(u.target,!0);d!=null&&(d.domNode===u.target&&(u.type==="childList"?(i(this.find(u.previousSibling,!1)),Array.from(u.addedNodes).forEach(c=>{const f=this.find(c,!1);i(f,!1),f instanceof Ln&&f.children.forEach(p=>{i(p,!1)})})):u.type==="attributes"&&i(d.prev)),i(d))}),this.children.forEach(a),s=Array.from(this.observer.takeRecords()),o=s.slice();o.length>0;)e.push(o.pop())}}update(e,n={}){e=e||this.observer.takeRecords();const r=new WeakMap;e.map(o=>{const i=this.find(o.target,!0);return i==null?null:r.has(i.domNode)?(r.get(i.domNode).push(o),null):(r.set(i.domNode,[o]),i)}).forEach(o=>{o!=null&&o!==this&&r.has(o.domNode)&&o.update(r.get(o.domNode)||[],n)}),n.mutationsMap=r,r.has(this.domNode)&&super.update(r.get(this.domNode),n),this.optimize(e,n)}};di.blotName="scroll",di.defaultChild=Ja,di.allowedChildren=[Ja,Rc],di.scope=ve.BLOCK_BLOT,di.tagName="DIV";let Rte=di;const Mv=Rte,Ng=class dP extends Wt{static create(e){return document.createTextNode(e)}static value(e){return e.data}constructor(e,n){super(e,n),this.text=this.statics.value(this.domNode)}deleteAt(e,n){this.domNode.data=this.text=this.text.slice(0,e)+this.text.slice(e+n)}index(e,n){return this.domNode===e?n:-1}insertAt(e,n,r){r==null?(this.text=this.text.slice(0,e)+n+this.text.slice(e),this.domNode.data=this.text):super.insertAt(e,n,r)}length(){return this.text.length}optimize(e){super.optimize(e),this.text=this.statics.value(this.domNode),this.text.length===0?this.remove():this.next instanceof dP&&this.next.prev===this&&(this.insertAt(this.length(),this.next.value()),this.next.remove())}position(e,n=!1){return[this.domNode,e]}split(e,n=!1){if(!n){if(e===0)return this;if(e===this.length())return this.next}const r=this.scroll.create(this.domNode.splitText(e));return this.parent.insertBefore(r,this.next||void 0),this.text=this.statics.value(this.domNode),r}update(e,n){e.some(r=>r.type==="characterData"&&r.target===this.domNode)&&(this.text=this.statics.value(this.domNode))}value(){return this.text}};Ng.blotName="text",Ng.scope=ve.INLINE_BLOT;let Pte=Ng;const hu=Pte,Mte=Object.freeze(Object.defineProperty({__proto__:null,Attributor:dr,AttributorStore:Oc,BlockBlot:Ja,ClassAttributor:zn,ContainerBlot:Rc,EmbedBlot:dn,InlineBlot:Pv,LeafBlot:Wt,ParentBlot:Ln,Registry:Pi,Scope:ve,ScrollBlot:Mv,StyleAttributor:lo,TextBlot:hu},Symbol.toStringTag,{value:"Module"}));var hl={exports:{}},sm,jC;function kte(){if(jC)return sm;jC=1;var t=-1,e=1,n=0;function r(T,k,_,B,L){if(T===k)return T?[[n,T]]:[];if(_!=null){var P=M(T,k,_);if(P)return P}var G=s(T,k),D=T.substring(0,G);T=T.substring(G),k=k.substring(G),G=u(T,k);var H=T.substring(T.length-G);T=T.substring(0,T.length-G),k=k.substring(0,k.length-G);var U=o(T,k);return D&&U.unshift([n,D]),H&&U.push([n,H]),w(U,L),B&&c(U),U}function o(T,k){var _;if(!T)return[[e,k]];if(!k)return[[t,T]];var B=T.length>k.length?T:k,L=T.length>k.length?k:T,P=B.indexOf(L);if(P!==-1)return _=[[e,B.substring(0,P)],[n,L],[e,B.substring(P+L.length)]],T.length>k.length&&(_[0][0]=_[2][0]=t),_;if(L.length===1)return[[t,T],[e,k]];var G=d(T,k);if(G){var D=G[0],H=G[1],U=G[2],Q=G[3],$=G[4],q=r(D,U),Z=r(H,Q);return q.concat([[n,$]],Z)}return i(T,k)}function i(T,k){for(var _=T.length,B=k.length,L=Math.ceil((_+B)/2),P=L,G=2*L,D=new Array(G),H=new Array(G),U=0;U<G;U++)D[U]=-1,H[U]=-1;D[P+1]=0,H[P+1]=0;for(var Q=_-B,$=Q%2!==0,q=0,Z=0,X=0,te=0,Y=0;Y<L;Y++){for(var J=-Y+q;J<=Y-Z;J+=2){var ie=P+J,oe;J===-Y||J!==Y&&D[ie-1]<D[ie+1]?oe=D[ie+1]:oe=D[ie-1]+1;for(var re=oe-J;oe<_&&re<B&&T.charAt(oe)===k.charAt(re);)oe++,re++;if(D[ie]=oe,oe>_)Z+=2;else if(re>B)q+=2;else if($){var z=P+Q-J;if(z>=0&&z<G&&H[z]!==-1){var ue=_-H[z];if(oe>=ue)return a(T,k,oe,re)}}}for(var W=-Y+X;W<=Y-te;W+=2){var z=P+W,ue;W===-Y||W!==Y&&H[z-1]<H[z+1]?ue=H[z+1]:ue=H[z-1]+1;for(var le=ue-W;ue<_&&le<B&&T.charAt(_-ue-1)===k.charAt(B-le-1);)ue++,le++;if(H[z]=ue,ue>_)te+=2;else if(le>B)X+=2;else if(!$){var ie=P+Q-W;if(ie>=0&&ie<G&&D[ie]!==-1){var oe=D[ie],re=P+oe-ie;if(ue=_-ue,oe>=ue)return a(T,k,oe,re)}}}}return[[t,T],[e,k]]}function a(T,k,_,B){var L=T.substring(0,_),P=k.substring(0,B),G=T.substring(_),D=k.substring(B),H=r(L,P),U=r(G,D);return H.concat(U)}function s(T,k){if(!T||!k||T.charAt(0)!==k.charAt(0))return 0;for(var _=0,B=Math.min(T.length,k.length),L=B,P=0;_<L;)T.substring(P,L)==k.substring(P,L)?(_=L,P=_):B=L,L=Math.floor((B-_)/2+_);return C(T.charCodeAt(L-1))&&L--,L}function l(T,k){var _=T.length,B=k.length;if(_==0||B==0)return 0;_>B?T=T.substring(_-B):_<B&&(k=k.substring(0,_));var L=Math.min(_,B);if(T==k)return L;for(var P=0,G=1;;){var D=T.substring(L-G),H=k.indexOf(D);if(H==-1)return P;G+=H,(H==0||T.substring(L-G)==k.substring(0,G))&&(P=G,G++)}}function u(T,k){if(!T||!k||T.slice(-1)!==k.slice(-1))return 0;for(var _=0,B=Math.min(T.length,k.length),L=B,P=0;_<L;)T.substring(T.length-L,T.length-P)==k.substring(k.length-L,k.length-P)?(_=L,P=_):B=L,L=Math.floor((B-_)/2+_);return S(T.charCodeAt(T.length-L))&&L--,L}function d(T,k){var _=T.length>k.length?T:k,B=T.length>k.length?k:T;if(_.length<4||B.length*2<_.length)return null;function L(Z,X,te){for(var Y=Z.substring(te,te+Math.floor(Z.length/4)),J=-1,ie="",oe,re,z,ue;(J=X.indexOf(Y,J+1))!==-1;){var W=s(Z.substring(te),X.substring(J)),le=u(Z.substring(0,te),X.substring(0,J));ie.length<le+W&&(ie=X.substring(J-le,J)+X.substring(J,J+W),oe=Z.substring(0,te-le),re=Z.substring(te+W),z=X.substring(0,J-le),ue=X.substring(J+W))}return ie.length*2>=Z.length?[oe,re,z,ue,ie]:null}var P=L(_,B,Math.ceil(_.length/4)),G=L(_,B,Math.ceil(_.length/2)),D;if(!P&&!G)return null;G?P?D=P[4].length>G[4].length?P:G:D=G:D=P;var H,U,Q,$;T.length>k.length?(H=D[0],U=D[1],Q=D[2],$=D[3]):(Q=D[0],$=D[1],H=D[2],U=D[3]);var q=D[4];return[H,U,Q,$,q]}function c(T){for(var k=!1,_=[],B=0,L=null,P=0,G=0,D=0,H=0,U=0;P<T.length;)T[P][0]==n?(_[B++]=P,G=H,D=U,H=0,U=0,L=T[P][1]):(T[P][0]==e?H+=T[P][1].length:U+=T[P][1].length,L&&L.length<=Math.max(G,D)&&L.length<=Math.max(H,U)&&(T.splice(_[B-1],0,[t,L]),T[_[B-1]+1][0]=e,B--,B--,P=B>0?_[B-1]:-1,G=0,D=0,H=0,U=0,L=null,k=!0)),P++;for(k&&w(T),y(T),P=1;P<T.length;){if(T[P-1][0]==t&&T[P][0]==e){var Q=T[P-1][1],$=T[P][1],q=l(Q,$),Z=l($,Q);q>=Z?(q>=Q.length/2||q>=$.length/2)&&(T.splice(P,0,[n,$.substring(0,q)]),T[P-1][1]=Q.substring(0,Q.length-q),T[P+1][1]=$.substring(q),P++):(Z>=Q.length/2||Z>=$.length/2)&&(T.splice(P,0,[n,Q.substring(0,Z)]),T[P-1][0]=e,T[P-1][1]=$.substring(0,$.length-Z),T[P+1][0]=t,T[P+1][1]=Q.substring(Z),P++),P++}P++}}var f=/[^a-zA-Z0-9]/,p=/\s/,m=/[\r\n]/,g=/\n\r?\n$/,b=/^\r?\n\r?\n/;function y(T){function k(Z,X){if(!Z||!X)return 6;var te=Z.charAt(Z.length-1),Y=X.charAt(0),J=te.match(f),ie=Y.match(f),oe=J&&te.match(p),re=ie&&Y.match(p),z=oe&&te.match(m),ue=re&&Y.match(m),W=z&&Z.match(g),le=ue&&X.match(b);return W||le?5:z||ue?4:J&&!oe&&re?3:oe||re?2:J||ie?1:0}for(var _=1;_<T.length-1;){if(T[_-1][0]==n&&T[_+1][0]==n){var B=T[_-1][1],L=T[_][1],P=T[_+1][1],G=u(B,L);if(G){var D=L.substring(L.length-G);B=B.substring(0,B.length-G),L=D+L.substring(0,L.length-G),P=D+P}for(var H=B,U=L,Q=P,$=k(B,L)+k(L,P);L.charAt(0)===P.charAt(0);){B+=L.charAt(0),L=L.substring(1)+P.charAt(0),P=P.substring(1);var q=k(B,L)+k(L,P);q>=$&&($=q,H=B,U=L,Q=P)}T[_-1][1]!=H&&(H?T[_-1][1]=H:(T.splice(_-1,1),_--),T[_][1]=U,Q?T[_+1][1]=Q:(T.splice(_+1,1),_--))}_++}}function w(T,k){T.push([n,""]);for(var _=0,B=0,L=0,P="",G="",D;_<T.length;){if(_<T.length-1&&!T[_][1]){T.splice(_,1);continue}switch(T[_][0]){case e:L++,G+=T[_][1],_++;break;case t:B++,P+=T[_][1],_++;break;case n:var H=_-L-B-1;if(k){if(H>=0&&N(T[H][1])){var U=T[H][1].slice(-1);if(T[H][1]=T[H][1].slice(0,-1),P=U+P,G=U+G,!T[H][1]){T.splice(H,1),_--;var Q=H-1;T[Q]&&T[Q][0]===e&&(L++,G=T[Q][1]+G,Q--),T[Q]&&T[Q][0]===t&&(B++,P=T[Q][1]+P,Q--),H=Q}}if(E(T[_][1])){var U=T[_][1].charAt(0);T[_][1]=T[_][1].slice(1),P+=U,G+=U}}if(_<T.length-1&&!T[_][1]){T.splice(_,1);break}if(P.length>0||G.length>0){P.length>0&&G.length>0&&(D=s(G,P),D!==0&&(H>=0?T[H][1]+=G.substring(0,D):(T.splice(0,0,[n,G.substring(0,D)]),_++),G=G.substring(D),P=P.substring(D)),D=u(G,P),D!==0&&(T[_][1]=G.substring(G.length-D)+T[_][1],G=G.substring(0,G.length-D),P=P.substring(0,P.length-D)));var $=L+B;P.length===0&&G.length===0?(T.splice(_-$,$),_=_-$):P.length===0?(T.splice(_-$,$,[e,G]),_=_-$+1):G.length===0?(T.splice(_-$,$,[t,P]),_=_-$+1):(T.splice(_-$,$,[t,P],[e,G]),_=_-$+2)}_!==0&&T[_-1][0]===n?(T[_-1][1]+=T[_][1],T.splice(_,1)):_++,L=0,B=0,P="",G="";break}}T[T.length-1][1]===""&&T.pop();var q=!1;for(_=1;_<T.length-1;)T[_-1][0]===n&&T[_+1][0]===n&&(T[_][1].substring(T[_][1].length-T[_-1][1].length)===T[_-1][1]?(T[_][1]=T[_-1][1]+T[_][1].substring(0,T[_][1].length-T[_-1][1].length),T[_+1][1]=T[_-1][1]+T[_+1][1],T.splice(_-1,1),q=!0):T[_][1].substring(0,T[_+1][1].length)==T[_+1][1]&&(T[_-1][1]+=T[_+1][1],T[_][1]=T[_][1].substring(T[_+1][1].length)+T[_+1][1],T.splice(_+1,1),q=!0)),_++;q&&w(T,k)}function C(T){return T>=55296&&T<=56319}function S(T){return T>=56320&&T<=57343}function E(T){return S(T.charCodeAt(0))}function N(T){return C(T.charCodeAt(T.length-1))}function A(T){for(var k=[],_=0;_<T.length;_++)T[_][1].length>0&&k.push(T[_]);return k}function O(T,k,_,B){return N(T)||E(B)?null:A([[n,T],[t,k],[e,_],[n,B]])}function M(T,k,_){var B=typeof _=="number"?{index:_,length:0}:_.oldRange,L=typeof _=="number"?null:_.newRange,P=T.length,G=k.length;if(B.length===0&&(L===null||L.length===0)){var D=B.index,H=T.slice(0,D),U=T.slice(D),Q=L?L.index:null;e:{var $=D+G-P;if(Q!==null&&Q!==$||$<0||$>G)break e;var q=k.slice(0,$),Z=k.slice($);if(Z!==U)break e;var X=Math.min(D,$),te=H.slice(0,X),Y=q.slice(0,X);if(te!==Y)break e;var J=H.slice(X),ie=q.slice(X);return O(te,J,ie,U)}e:{if(Q!==null&&Q!==D)break e;var oe=D,q=k.slice(0,oe),Z=k.slice(oe);if(q!==H)break e;var re=Math.min(P-oe,G-oe),z=U.slice(U.length-re),ue=Z.slice(Z.length-re);if(z!==ue)break e;var J=U.slice(0,U.length-re),ie=Z.slice(0,Z.length-re);return O(H,J,ie,z)}}if(B.length>0&&L&&L.length===0)e:{var te=T.slice(0,B.index),z=T.slice(B.index+B.length),X=te.length,re=z.length;if(G<X+re)break e;var Y=k.slice(0,X),ue=k.slice(G-re);if(te!==Y||z!==ue)break e;var J=T.slice(X,P-re),ie=k.slice(X,G-re);return O(te,J,ie,z)}return null}function V(T,k,_,B){return r(T,k,_,B,!0)}return V.INSERT=e,V.DELETE=t,V.EQUAL=n,sm=V,sm}var Ca={exports:{}};Ca.exports;var LC;function fP(){return LC||(LC=1,(function(t,e){var n=200,r="__lodash_hash_undefined__",o=9007199254740991,i="[object Arguments]",a="[object Array]",s="[object Boolean]",l="[object Date]",u="[object Error]",d="[object Function]",c="[object GeneratorFunction]",f="[object Map]",p="[object Number]",m="[object Object]",g="[object Promise]",b="[object RegExp]",y="[object Set]",w="[object String]",C="[object Symbol]",S="[object WeakMap]",E="[object ArrayBuffer]",N="[object DataView]",A="[object Float32Array]",O="[object Float64Array]",M="[object Int8Array]",V="[object Int16Array]",T="[object Int32Array]",k="[object Uint8Array]",_="[object Uint8ClampedArray]",B="[object Uint16Array]",L="[object Uint32Array]",P=/[\\^$.*+?()[\]{}|]/g,G=/\w*$/,D=/^\[object .+?Constructor\]$/,H=/^(?:0|[1-9]\d*)$/,U={};U[i]=U[a]=U[E]=U[N]=U[s]=U[l]=U[A]=U[O]=U[M]=U[V]=U[T]=U[f]=U[p]=U[m]=U[b]=U[y]=U[w]=U[C]=U[k]=U[_]=U[B]=U[L]=!0,U[u]=U[d]=U[S]=!1;var Q=typeof yn=="object"&&yn&&yn.Object===Object&&yn,$=typeof self=="object"&&self&&self.Object===Object&&self,q=Q||$||Function("return this")(),Z=e&&!e.nodeType&&e,X=Z&&!0&&t&&!t.nodeType&&t,te=X&&X.exports===Z;function Y(x,R){return x.set(R[0],R[1]),x}function J(x,R){return x.add(R),x}function ie(x,R){for(var F=-1,K=x?x.length:0;++F<K&&R(x[F],F,x)!==!1;);return x}function oe(x,R){for(var F=-1,K=R.length,Oe=x.length;++F<K;)x[Oe+F]=R[F];return x}function re(x,R,F,K){for(var Oe=-1,ye=x?x.length:0;++Oe<ye;)F=R(F,x[Oe],Oe,x);return F}function z(x,R){for(var F=-1,K=Array(x);++F<x;)K[F]=R(F);return K}function ue(x,R){return x?.[R]}function W(x){var R=!1;if(x!=null&&typeof x.toString!="function")try{R=!!(x+"")}catch{}return R}function le(x){var R=-1,F=Array(x.size);return x.forEach(function(K,Oe){F[++R]=[Oe,K]}),F}function Ae(x,R){return function(F){return x(R(F))}}function Ne(x){var R=-1,F=Array(x.size);return x.forEach(function(K){F[++R]=K}),F}var We=Array.prototype,Ie=Function.prototype,Re=Object.prototype,at=q["__core-js_shared__"],Me=(function(){var x=/[^.]+$/.exec(at&&at.keys&&at.keys.IE_PROTO||"");return x?"Symbol(src)_1."+x:""})(),Ge=Ie.toString,Ve=Re.hasOwnProperty,Qe=Re.toString,st=RegExp("^"+Ge.call(Ve).replace(P,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),it=te?q.Buffer:void 0,mt=q.Symbol,bt=q.Uint8Array,Le=Ae(Object.getPrototypeOf,Object),_t=Object.create,tt=Re.propertyIsEnumerable,lt=We.splice,Ot=Object.getOwnPropertySymbols,Rt=it?it.isBuffer:void 0,tn=Ae(Object.keys,Object),Ht=An(q,"DataView"),Pt=An(q,"Map"),ne=An(q,"Promise"),fe=An(q,"Set"),ce=An(q,"WeakMap"),de=An(Object,"create"),Te=zt(Ht),ae=zt(Pt),_e=zt(ne),ke=zt(fe),De=zt(ce),nt=mt?mt.prototype:void 0,je=nt?nt.valueOf:void 0;function Be(x){var R=-1,F=x?x.length:0;for(this.clear();++R<F;){var K=x[R];this.set(K[0],K[1])}}function nn(){this.__data__=de?de(null):{}}function Tt(x){return this.has(x)&&delete this.__data__[x]}function qt(x){var R=this.__data__;if(de){var F=R[x];return F===r?void 0:F}return Ve.call(R,x)?R[x]:void 0}function uo(x){var R=this.__data__;return de?R[x]!==void 0:Ve.call(R,x)}function rn(x,R){var F=this.__data__;return F[x]=de&&R===void 0?r:R,this}Be.prototype.clear=nn,Be.prototype.delete=Tt,Be.prototype.get=qt,Be.prototype.has=uo,Be.prototype.set=rn;function Nt(x){var R=-1,F=x?x.length:0;for(this.clear();++R<F;){var K=x[R];this.set(K[0],K[1])}}function Dc(){this.__data__=[]}function jc(x){var R=this.__data__,F=Yo(R,x);if(F<0)return!1;var K=R.length-1;return F==K?R.pop():lt.call(R,F,1),!0}function Lc(x){var R=this.__data__,F=Yo(R,x);return F<0?void 0:R[F][1]}function Bc(x){return Yo(this.__data__,x)>-1}function Fc(x,R){var F=this.__data__,K=Yo(F,x);return K<0?F.push([x,R]):F[K][1]=R,this}Nt.prototype.clear=Dc,Nt.prototype.delete=jc,Nt.prototype.get=Lc,Nt.prototype.has=Bc,Nt.prototype.set=Fc;function Lt(x){var R=-1,F=x?x.length:0;for(this.clear();++R<F;){var K=x[R];this.set(K[0],K[1])}}function Gc(){this.__data__={hash:new Be,map:new(Pt||Nt),string:new Be}}function $c(x){return fo(this,x).delete(x)}function Wc(x){return fo(this,x).get(x)}function Vc(x){return fo(this,x).has(x)}function Hc(x,R){return fo(this,x).set(x,R),this}Lt.prototype.clear=Gc,Lt.prototype.delete=$c,Lt.prototype.get=Wc,Lt.prototype.has=Vc,Lt.prototype.set=Hc;function Ut(x){this.__data__=new Nt(x)}function qc(){this.__data__=new Nt}function zc(x){return this.__data__.delete(x)}function Xc(x){return this.__data__.get(x)}function Yc(x){return this.__data__.has(x)}function Uc(x,R){var F=this.__data__;if(F instanceof Nt){var K=F.__data__;if(!Pt||K.length<n-1)return K.push([x,R]),this;F=this.__data__=new Lt(K)}return F.set(x,R),this}Ut.prototype.clear=qc,Ut.prototype.delete=zc,Ut.prototype.get=Xc,Ut.prototype.has=Yc,Ut.prototype.set=Uc;function Xo(x,R){var F=Ji(x)||Zo(x)?z(x.length,String):[],K=F.length,Oe=!!K;for(var ye in x)Ve.call(x,ye)&&!(Oe&&(ye=="length"||ud(ye,K)))&&F.push(ye);return F}function Rs(x,R,F){var K=x[R];(!(Ve.call(x,R)&&js(K,F))||F===void 0&&!(R in x))&&(x[R]=F)}function Yo(x,R){for(var F=x.length;F--;)if(js(x[F][0],R))return F;return-1}function Yn(x,R){return x&&Zi(R,Qi(R),x)}function Yi(x,R,F,K,Oe,ye,$e){var Fe;if(K&&(Fe=ye?K(x,Oe,ye,$e):K(x)),Fe!==void 0)return Fe;if(!Zn(x))return x;var vt=Ji(x);if(vt){if(Fe=sd(x),!R)return od(x,Fe)}else{var ze=Cr(x),Bt=ze==d||ze==c;if(Ls(x))return Uo(x,R);if(ze==m||ze==i||Bt&&!ye){if(W(x))return ye?x:{};if(Fe=Un(Bt?{}:x),!R)return id(x,Yn(Fe,x))}else{if(!U[ze])return ye?x:{};Fe=ld(x,ze,Yi,R)}}$e||($e=new Ut);var Zt=$e.get(x);if(Zt)return Zt;if($e.set(x,Fe),!vt)var Ct=F?ad(x):Qi(x);return ie(Ct||x,function(Ft,Mt){Ct&&(Mt=Ft,Ft=x[Mt]),Rs(Fe,Mt,Yi(Ft,R,F,K,Mt,x,$e))}),Fe}function Zc(x){return Zn(x)?_t(x):{}}function Jc(x,R,F){var K=R(x);return Ji(x)?K:oe(K,F(x))}function Kc(x){return Qe.call(x)}function Qc(x){if(!Zn(x)||dd(x))return!1;var R=Ki(x)||W(x)?st:D;return R.test(zt(x))}function ed(x){if(!ks(x))return tn(x);var R=[];for(var F in Object(x))Ve.call(x,F)&&F!="constructor"&&R.push(F);return R}function Uo(x,R){if(R)return x.slice();var F=new x.constructor(x.length);return x.copy(F),F}function Ui(x){var R=new x.constructor(x.byteLength);return new bt(R).set(new bt(x)),R}function co(x,R){var F=R?Ui(x.buffer):x.buffer;return new x.constructor(F,x.byteOffset,x.byteLength)}function Ps(x,R,F){var K=R?F(le(x),!0):le(x);return re(K,Y,new x.constructor)}function Ms(x){var R=new x.constructor(x.source,G.exec(x));return R.lastIndex=x.lastIndex,R}function td(x,R,F){var K=R?F(Ne(x),!0):Ne(x);return re(K,J,new x.constructor)}function nd(x){return je?Object(je.call(x)):{}}function rd(x,R){var F=R?Ui(x.buffer):x.buffer;return new x.constructor(F,x.byteOffset,x.length)}function od(x,R){var F=-1,K=x.length;for(R||(R=Array(K));++F<K;)R[F]=x[F];return R}function Zi(x,R,F,K){F||(F={});for(var Oe=-1,ye=R.length;++Oe<ye;){var $e=R[Oe],Fe=void 0;Rs(F,$e,Fe===void 0?x[$e]:Fe)}return F}function id(x,R){return Zi(x,wr(x),R)}function ad(x){return Jc(x,Qi,wr)}function fo(x,R){var F=x.__data__;return cd(R)?F[typeof R=="string"?"string":"hash"]:F.map}function An(x,R){var F=ue(x,R);return Qc(F)?F:void 0}var wr=Ot?Ae(Ot,Object):hd,Cr=Kc;(Ht&&Cr(new Ht(new ArrayBuffer(1)))!=N||Pt&&Cr(new Pt)!=f||ne&&Cr(ne.resolve())!=g||fe&&Cr(new fe)!=y||ce&&Cr(new ce)!=S)&&(Cr=function(x){var R=Qe.call(x),F=R==m?x.constructor:void 0,K=F?zt(F):void 0;if(K)switch(K){case Te:return N;case ae:return f;case _e:return g;case ke:return y;case De:return S}return R});function sd(x){var R=x.length,F=x.constructor(R);return R&&typeof x[0]=="string"&&Ve.call(x,"index")&&(F.index=x.index,F.input=x.input),F}function Un(x){return typeof x.constructor=="function"&&!ks(x)?Zc(Le(x)):{}}function ld(x,R,F,K){var Oe=x.constructor;switch(R){case E:return Ui(x);case s:case l:return new Oe(+x);case N:return co(x,K);case A:case O:case M:case V:case T:case k:case _:case B:case L:return rd(x,K);case f:return Ps(x,K,F);case p:case w:return new Oe(x);case b:return Ms(x);case y:return td(x,K,F);case C:return nd(x)}}function ud(x,R){return R=R??o,!!R&&(typeof x=="number"||H.test(x))&&x>-1&&x%1==0&&x<R}function cd(x){var R=typeof x;return R=="string"||R=="number"||R=="symbol"||R=="boolean"?x!=="__proto__":x===null}function dd(x){return!!Me&&Me in x}function ks(x){var R=x&&x.constructor,F=typeof R=="function"&&R.prototype||Re;return x===F}function zt(x){if(x!=null){try{return Ge.call(x)}catch{}try{return x+""}catch{}}return""}function Ds(x){return Yi(x,!0,!0)}function js(x,R){return x===R||x!==x&&R!==R}function Zo(x){return fd(x)&&Ve.call(x,"callee")&&(!tt.call(x,"callee")||Qe.call(x)==i)}var Ji=Array.isArray;function Jo(x){return x!=null&&Bs(x.length)&&!Ki(x)}function fd(x){return Fs(x)&&Jo(x)}var Ls=Rt||pd;function Ki(x){var R=Zn(x)?Qe.call(x):"";return R==d||R==c}function Bs(x){return typeof x=="number"&&x>-1&&x%1==0&&x<=o}function Zn(x){var R=typeof x;return!!x&&(R=="object"||R=="function")}function Fs(x){return!!x&&typeof x=="object"}function Qi(x){return Jo(x)?Xo(x):ed(x)}function hd(){return[]}function pd(){return!1}t.exports=Ds})(Ca,Ca.exports)),Ca.exports}var Sa={exports:{}};Sa.exports;var BC;function hP(){return BC||(BC=1,(function(t,e){var n=200,r="__lodash_hash_undefined__",o=1,i=2,a=9007199254740991,s="[object Arguments]",l="[object Array]",u="[object AsyncFunction]",d="[object Boolean]",c="[object Date]",f="[object Error]",p="[object Function]",m="[object GeneratorFunction]",g="[object Map]",b="[object Number]",y="[object Null]",w="[object Object]",C="[object Promise]",S="[object Proxy]",E="[object RegExp]",N="[object Set]",A="[object String]",O="[object Symbol]",M="[object Undefined]",V="[object WeakMap]",T="[object ArrayBuffer]",k="[object DataView]",_="[object Float32Array]",B="[object Float64Array]",L="[object Int8Array]",P="[object Int16Array]",G="[object Int32Array]",D="[object Uint8Array]",H="[object Uint8ClampedArray]",U="[object Uint16Array]",Q="[object Uint32Array]",$=/[\\^$.*+?()[\]{}|]/g,q=/^\[object .+?Constructor\]$/,Z=/^(?:0|[1-9]\d*)$/,X={};X[_]=X[B]=X[L]=X[P]=X[G]=X[D]=X[H]=X[U]=X[Q]=!0,X[s]=X[l]=X[T]=X[d]=X[k]=X[c]=X[f]=X[p]=X[g]=X[b]=X[w]=X[E]=X[N]=X[A]=X[V]=!1;var te=typeof yn=="object"&&yn&&yn.Object===Object&&yn,Y=typeof self=="object"&&self&&self.Object===Object&&self,J=te||Y||Function("return this")(),ie=e&&!e.nodeType&&e,oe=ie&&!0&&t&&!t.nodeType&&t,re=oe&&oe.exports===ie,z=re&&te.process,ue=(function(){try{return z&&z.binding&&z.binding("util")}catch{}})(),W=ue&&ue.isTypedArray;function le(x,R){for(var F=-1,K=x==null?0:x.length,Oe=0,ye=[];++F<K;){var $e=x[F];R($e,F,x)&&(ye[Oe++]=$e)}return ye}function Ae(x,R){for(var F=-1,K=R.length,Oe=x.length;++F<K;)x[Oe+F]=R[F];return x}function Ne(x,R){for(var F=-1,K=x==null?0:x.length;++F<K;)if(R(x[F],F,x))return!0;return!1}function We(x,R){for(var F=-1,K=Array(x);++F<x;)K[F]=R(F);return K}function Ie(x){return function(R){return x(R)}}function Re(x,R){return x.has(R)}function at(x,R){return x?.[R]}function Me(x){var R=-1,F=Array(x.size);return x.forEach(function(K,Oe){F[++R]=[Oe,K]}),F}function Ge(x,R){return function(F){return x(R(F))}}function Ve(x){var R=-1,F=Array(x.size);return x.forEach(function(K){F[++R]=K}),F}var Qe=Array.prototype,st=Function.prototype,it=Object.prototype,mt=J["__core-js_shared__"],bt=st.toString,Le=it.hasOwnProperty,_t=(function(){var x=/[^.]+$/.exec(mt&&mt.keys&&mt.keys.IE_PROTO||"");return x?"Symbol(src)_1."+x:""})(),tt=it.toString,lt=RegExp("^"+bt.call(Le).replace($,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Ot=re?J.Buffer:void 0,Rt=J.Symbol,tn=J.Uint8Array,Ht=it.propertyIsEnumerable,Pt=Qe.splice,ne=Rt?Rt.toStringTag:void 0,fe=Object.getOwnPropertySymbols,ce=Ot?Ot.isBuffer:void 0,de=Ge(Object.keys,Object),Te=wr(J,"DataView"),ae=wr(J,"Map"),_e=wr(J,"Promise"),ke=wr(J,"Set"),De=wr(J,"WeakMap"),nt=wr(Object,"create"),je=zt(Te),Be=zt(ae),nn=zt(_e),Tt=zt(ke),qt=zt(De),uo=Rt?Rt.prototype:void 0,rn=uo?uo.valueOf:void 0;function Nt(x){var R=-1,F=x==null?0:x.length;for(this.clear();++R<F;){var K=x[R];this.set(K[0],K[1])}}function Dc(){this.__data__=nt?nt(null):{},this.size=0}function jc(x){var R=this.has(x)&&delete this.__data__[x];return this.size-=R?1:0,R}function Lc(x){var R=this.__data__;if(nt){var F=R[x];return F===r?void 0:F}return Le.call(R,x)?R[x]:void 0}function Bc(x){var R=this.__data__;return nt?R[x]!==void 0:Le.call(R,x)}function Fc(x,R){var F=this.__data__;return this.size+=this.has(x)?0:1,F[x]=nt&&R===void 0?r:R,this}Nt.prototype.clear=Dc,Nt.prototype.delete=jc,Nt.prototype.get=Lc,Nt.prototype.has=Bc,Nt.prototype.set=Fc;function Lt(x){var R=-1,F=x==null?0:x.length;for(this.clear();++R<F;){var K=x[R];this.set(K[0],K[1])}}function Gc(){this.__data__=[],this.size=0}function $c(x){var R=this.__data__,F=Uo(R,x);if(F<0)return!1;var K=R.length-1;return F==K?R.pop():Pt.call(R,F,1),--this.size,!0}function Wc(x){var R=this.__data__,F=Uo(R,x);return F<0?void 0:R[F][1]}function Vc(x){return Uo(this.__data__,x)>-1}function Hc(x,R){var F=this.__data__,K=Uo(F,x);return K<0?(++this.size,F.push([x,R])):F[K][1]=R,this}Lt.prototype.clear=Gc,Lt.prototype.delete=$c,Lt.prototype.get=Wc,Lt.prototype.has=Vc,Lt.prototype.set=Hc;function Ut(x){var R=-1,F=x==null?0:x.length;for(this.clear();++R<F;){var K=x[R];this.set(K[0],K[1])}}function qc(){this.size=0,this.__data__={hash:new Nt,map:new(ae||Lt),string:new Nt}}function zc(x){var R=An(this,x).delete(x);return this.size-=R?1:0,R}function Xc(x){return An(this,x).get(x)}function Yc(x){return An(this,x).has(x)}function Uc(x,R){var F=An(this,x),K=F.size;return F.set(x,R),this.size+=F.size==K?0:1,this}Ut.prototype.clear=qc,Ut.prototype.delete=zc,Ut.prototype.get=Xc,Ut.prototype.has=Yc,Ut.prototype.set=Uc;function Xo(x){var R=-1,F=x==null?0:x.length;for(this.__data__=new Ut;++R<F;)this.add(x[R])}function Rs(x){return this.__data__.set(x,r),this}function Yo(x){return this.__data__.has(x)}Xo.prototype.add=Xo.prototype.push=Rs,Xo.prototype.has=Yo;function Yn(x){var R=this.__data__=new Lt(x);this.size=R.size}function Yi(){this.__data__=new Lt,this.size=0}function Zc(x){var R=this.__data__,F=R.delete(x);return this.size=R.size,F}function Jc(x){return this.__data__.get(x)}function Kc(x){return this.__data__.has(x)}function Qc(x,R){var F=this.__data__;if(F instanceof Lt){var K=F.__data__;if(!ae||K.length<n-1)return K.push([x,R]),this.size=++F.size,this;F=this.__data__=new Ut(K)}return F.set(x,R),this.size=F.size,this}Yn.prototype.clear=Yi,Yn.prototype.delete=Zc,Yn.prototype.get=Jc,Yn.prototype.has=Kc,Yn.prototype.set=Qc;function ed(x,R){var F=Zo(x),K=!F&&js(x),Oe=!F&&!K&&Jo(x),ye=!F&&!K&&!Oe&&Fs(x),$e=F||K||Oe||ye,Fe=$e?We(x.length,String):[],vt=Fe.length;for(var ze in x)Le.call(x,ze)&&!($e&&(ze=="length"||Oe&&(ze=="offset"||ze=="parent")||ye&&(ze=="buffer"||ze=="byteLength"||ze=="byteOffset")||ld(ze,vt)))&&Fe.push(ze);return Fe}function Uo(x,R){for(var F=x.length;F--;)if(Ds(x[F][0],R))return F;return-1}function Ui(x,R,F){var K=R(x);return Zo(x)?K:Ae(K,F(x))}function co(x){return x==null?x===void 0?M:y:ne&&ne in Object(x)?Cr(x):ks(x)}function Ps(x){return Zn(x)&&co(x)==s}function Ms(x,R,F,K,Oe){return x===R?!0:x==null||R==null||!Zn(x)&&!Zn(R)?x!==x&&R!==R:td(x,R,F,K,Ms,Oe)}function td(x,R,F,K,Oe,ye){var $e=Zo(x),Fe=Zo(R),vt=$e?l:Un(x),ze=Fe?l:Un(R);vt=vt==s?w:vt,ze=ze==s?w:ze;var Bt=vt==w,Zt=ze==w,Ct=vt==ze;if(Ct&&Jo(x)){if(!Jo(R))return!1;$e=!0,Bt=!1}if(Ct&&!Bt)return ye||(ye=new Yn),$e||Fs(x)?Zi(x,R,F,K,Oe,ye):id(x,R,vt,F,K,Oe,ye);if(!(F&o)){var Ft=Bt&&Le.call(x,"__wrapped__"),Mt=Zt&&Le.call(R,"__wrapped__");if(Ft||Mt){var Fr=Ft?x.value():x,Sr=Mt?R.value():R;return ye||(ye=new Yn),Oe(Fr,Sr,F,K,ye)}}return Ct?(ye||(ye=new Yn),ad(x,R,F,K,Oe,ye)):!1}function nd(x){if(!Bs(x)||cd(x))return!1;var R=Ls(x)?lt:q;return R.test(zt(x))}function rd(x){return Zn(x)&&Ki(x.length)&&!!X[co(x)]}function od(x){if(!dd(x))return de(x);var R=[];for(var F in Object(x))Le.call(x,F)&&F!="constructor"&&R.push(F);return R}function Zi(x,R,F,K,Oe,ye){var $e=F&o,Fe=x.length,vt=R.length;if(Fe!=vt&&!($e&&vt>Fe))return!1;var ze=ye.get(x);if(ze&&ye.get(R))return ze==R;var Bt=-1,Zt=!0,Ct=F&i?new Xo:void 0;for(ye.set(x,R),ye.set(R,x);++Bt<Fe;){var Ft=x[Bt],Mt=R[Bt];if(K)var Fr=$e?K(Mt,Ft,Bt,R,x,ye):K(Ft,Mt,Bt,x,R,ye);if(Fr!==void 0){if(Fr)continue;Zt=!1;break}if(Ct){if(!Ne(R,function(Sr,ho){if(!Re(Ct,ho)&&(Ft===Sr||Oe(Ft,Sr,F,K,ye)))return Ct.push(ho)})){Zt=!1;break}}else if(!(Ft===Mt||Oe(Ft,Mt,F,K,ye))){Zt=!1;break}}return ye.delete(x),ye.delete(R),Zt}function id(x,R,F,K,Oe,ye,$e){switch(F){case k:if(x.byteLength!=R.byteLength||x.byteOffset!=R.byteOffset)return!1;x=x.buffer,R=R.buffer;case T:return!(x.byteLength!=R.byteLength||!ye(new tn(x),new tn(R)));case d:case c:case b:return Ds(+x,+R);case f:return x.name==R.name&&x.message==R.message;case E:case A:return x==R+"";case g:var Fe=Me;case N:var vt=K&o;if(Fe||(Fe=Ve),x.size!=R.size&&!vt)return!1;var ze=$e.get(x);if(ze)return ze==R;K|=i,$e.set(x,R);var Bt=Zi(Fe(x),Fe(R),K,Oe,ye,$e);return $e.delete(x),Bt;case O:if(rn)return rn.call(x)==rn.call(R)}return!1}function ad(x,R,F,K,Oe,ye){var $e=F&o,Fe=fo(x),vt=Fe.length,ze=fo(R),Bt=ze.length;if(vt!=Bt&&!$e)return!1;for(var Zt=vt;Zt--;){var Ct=Fe[Zt];if(!($e?Ct in R:Le.call(R,Ct)))return!1}var Ft=ye.get(x);if(Ft&&ye.get(R))return Ft==R;var Mt=!0;ye.set(x,R),ye.set(R,x);for(var Fr=$e;++Zt<vt;){Ct=Fe[Zt];var Sr=x[Ct],ho=R[Ct];if(K)var qv=$e?K(ho,Sr,Ct,R,x,ye):K(Sr,ho,Ct,x,R,ye);if(!(qv===void 0?Sr===ho||Oe(Sr,ho,F,K,ye):qv)){Mt=!1;break}Fr||(Fr=Ct=="constructor")}if(Mt&&!Fr){var Gs=x.constructor,$s=R.constructor;Gs!=$s&&"constructor"in x&&"constructor"in R&&!(typeof Gs=="function"&&Gs instanceof Gs&&typeof $s=="function"&&$s instanceof $s)&&(Mt=!1)}return ye.delete(x),ye.delete(R),Mt}function fo(x){return Ui(x,Qi,sd)}function An(x,R){var F=x.__data__;return ud(R)?F[typeof R=="string"?"string":"hash"]:F.map}function wr(x,R){var F=at(x,R);return nd(F)?F:void 0}function Cr(x){var R=Le.call(x,ne),F=x[ne];try{x[ne]=void 0;var K=!0}catch{}var Oe=tt.call(x);return K&&(R?x[ne]=F:delete x[ne]),Oe}var sd=fe?function(x){return x==null?[]:(x=Object(x),le(fe(x),function(R){return Ht.call(x,R)}))}:hd,Un=co;(Te&&Un(new Te(new ArrayBuffer(1)))!=k||ae&&Un(new ae)!=g||_e&&Un(_e.resolve())!=C||ke&&Un(new ke)!=N||De&&Un(new De)!=V)&&(Un=function(x){var R=co(x),F=R==w?x.constructor:void 0,K=F?zt(F):"";if(K)switch(K){case je:return k;case Be:return g;case nn:return C;case Tt:return N;case qt:return V}return R});function ld(x,R){return R=R??a,!!R&&(typeof x=="number"||Z.test(x))&&x>-1&&x%1==0&&x<R}function ud(x){var R=typeof x;return R=="string"||R=="number"||R=="symbol"||R=="boolean"?x!=="__proto__":x===null}function cd(x){return!!_t&&_t in x}function dd(x){var R=x&&x.constructor,F=typeof R=="function"&&R.prototype||it;return x===F}function ks(x){return tt.call(x)}function zt(x){if(x!=null){try{return bt.call(x)}catch{}try{return x+""}catch{}}return""}function Ds(x,R){return x===R||x!==x&&R!==R}var js=Ps((function(){return arguments})())?Ps:function(x){return Zn(x)&&Le.call(x,"callee")&&!Ht.call(x,"callee")},Zo=Array.isArray;function Ji(x){return x!=null&&Ki(x.length)&&!Ls(x)}var Jo=ce||pd;function fd(x,R){return Ms(x,R)}function Ls(x){if(!Bs(x))return!1;var R=co(x);return R==p||R==m||R==u||R==S}function Ki(x){return typeof x=="number"&&x>-1&&x%1==0&&x<=a}function Bs(x){var R=typeof x;return x!=null&&(R=="object"||R=="function")}function Zn(x){return x!=null&&typeof x=="object"}var Fs=W?Ie(W):rd;function Qi(x){return Ji(x)?ed(x):od(x)}function hd(){return[]}function pd(){return!1}t.exports=fd})(Sa,Sa.exports)),Sa.exports}var pl={},FC;function Dte(){if(FC)return pl;FC=1,Object.defineProperty(pl,"__esModule",{value:!0});const t=fP(),e=hP();var n;return(function(r){function o(l={},u={},d=!1){typeof l!="object"&&(l={}),typeof u!="object"&&(u={});let c=t(u);d||(c=Object.keys(c).reduce((f,p)=>(c[p]!=null&&(f[p]=c[p]),f),{}));for(const f in l)l[f]!==void 0&&u[f]===void 0&&(c[f]=l[f]);return Object.keys(c).length>0?c:void 0}r.compose=o;function i(l={},u={}){typeof l!="object"&&(l={}),typeof u!="object"&&(u={});const d=Object.keys(l).concat(Object.keys(u)).reduce((c,f)=>(e(l[f],u[f])||(c[f]=u[f]===void 0?null:u[f]),c),{});return Object.keys(d).length>0?d:void 0}r.diff=i;function a(l={},u={}){l=l||{};const d=Object.keys(u).reduce((c,f)=>(u[f]!==l[f]&&l[f]!==void 0&&(c[f]=u[f]),c),{});return Object.keys(l).reduce((c,f)=>(l[f]!==u[f]&&u[f]===void 0&&(c[f]=null),c),d)}r.invert=a;function s(l,u,d=!1){if(typeof l!="object")return u;if(typeof u!="object")return;if(!d)return u;const c=Object.keys(u).reduce((f,p)=>(l[p]===void 0&&(f[p]=u[p]),f),{});return Object.keys(c).length>0?c:void 0}r.transform=s})(n||(n={})),pl.default=n,pl}var ml={},GC;function pP(){if(GC)return ml;GC=1,Object.defineProperty(ml,"__esModule",{value:!0});var t;return(function(e){function n(r){return typeof r.delete=="number"?r.delete:typeof r.retain=="number"?r.retain:typeof r.retain=="object"&&r.retain!==null?1:typeof r.insert=="string"?r.insert.length:1}e.length=n})(t||(t={})),ml.default=t,ml}var gl={},$C;function jte(){if($C)return gl;$C=1,Object.defineProperty(gl,"__esModule",{value:!0});const t=pP();class e{constructor(r){this.ops=r,this.index=0,this.offset=0}hasNext(){return this.peekLength()<1/0}next(r){r||(r=1/0);const o=this.ops[this.index];if(o){const i=this.offset,a=t.default.length(o);if(r>=a-i?(r=a-i,this.index+=1,this.offset=0):this.offset+=r,typeof o.delete=="number")return{delete:r};{const s={};return o.attributes&&(s.attributes=o.attributes),typeof o.retain=="number"?s.retain=r:typeof o.retain=="object"&&o.retain!==null?s.retain=o.retain:typeof o.insert=="string"?s.insert=o.insert.substr(i,r):s.insert=o.insert,s}}else return{retain:1/0}}peek(){return this.ops[this.index]}peekLength(){return this.ops[this.index]?t.default.length(this.ops[this.index])-this.offset:1/0}peekType(){const r=this.ops[this.index];return r?typeof r.delete=="number"?"delete":typeof r.retain=="number"||typeof r.retain=="object"&&r.retain!==null?"retain":"insert":"retain"}rest(){if(this.hasNext()){if(this.offset===0)return this.ops.slice(this.index);{const r=this.offset,o=this.index,i=this.next(),a=this.ops.slice(this.index);return this.offset=r,this.index=o,[i].concat(a)}}else return[]}}return gl.default=e,gl}var WC;function Lte(){return WC||(WC=1,(function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.AttributeMap=e.OpIterator=e.Op=void 0;const n=kte(),r=fP(),o=hP(),i=Dte();e.AttributeMap=i.default;const a=pP();e.Op=a.default;const s=jte();e.OpIterator=s.default;const l="\0",u=(c,f)=>{if(typeof c!="object"||c===null)throw new Error(`cannot retain a ${typeof c}`);if(typeof f!="object"||f===null)throw new Error(`cannot retain a ${typeof f}`);const p=Object.keys(c)[0];if(!p||p!==Object.keys(f)[0])throw new Error(`embed types not matched: ${p} != ${Object.keys(f)[0]}`);return[p,c[p],f[p]]};class d{constructor(f){Array.isArray(f)?this.ops=f:f!=null&&Array.isArray(f.ops)?this.ops=f.ops:this.ops=[]}static registerEmbed(f,p){this.handlers[f]=p}static unregisterEmbed(f){delete this.handlers[f]}static getHandler(f){const p=this.handlers[f];if(!p)throw new Error(`no handlers for embed type "${f}"`);return p}insert(f,p){const m={};return typeof f=="string"&&f.length===0?this:(m.insert=f,p!=null&&typeof p=="object"&&Object.keys(p).length>0&&(m.attributes=p),this.push(m))}delete(f){return f<=0?this:this.push({delete:f})}retain(f,p){if(typeof f=="number"&&f<=0)return this;const m={retain:f};return p!=null&&typeof p=="object"&&Object.keys(p).length>0&&(m.attributes=p),this.push(m)}push(f){let p=this.ops.length,m=this.ops[p-1];if(f=r(f),typeof m=="object"){if(typeof f.delete=="number"&&typeof m.delete=="number")return this.ops[p-1]={delete:m.delete+f.delete},this;if(typeof m.delete=="number"&&f.insert!=null&&(p-=1,m=this.ops[p-1],typeof m!="object"))return this.ops.unshift(f),this;if(o(f.attributes,m.attributes)){if(typeof f.insert=="string"&&typeof m.insert=="string")return this.ops[p-1]={insert:m.insert+f.insert},typeof f.attributes=="object"&&(this.ops[p-1].attributes=f.attributes),this;if(typeof f.retain=="number"&&typeof m.retain=="number")return this.ops[p-1]={retain:m.retain+f.retain},typeof f.attributes=="object"&&(this.ops[p-1].attributes=f.attributes),this}}return p===this.ops.length?this.ops.push(f):this.ops.splice(p,0,f),this}chop(){const f=this.ops[this.ops.length-1];return f&&typeof f.retain=="number"&&!f.attributes&&this.ops.pop(),this}filter(f){return this.ops.filter(f)}forEach(f){this.ops.forEach(f)}map(f){return this.ops.map(f)}partition(f){const p=[],m=[];return this.forEach(g=>{(f(g)?p:m).push(g)}),[p,m]}reduce(f,p){return this.ops.reduce(f,p)}changeLength(){return this.reduce((f,p)=>p.insert?f+a.default.length(p):p.delete?f-p.delete:f,0)}length(){return this.reduce((f,p)=>f+a.default.length(p),0)}slice(f=0,p=1/0){const m=[],g=new s.default(this.ops);let b=0;for(;b<p&&g.hasNext();){let y;b<f?y=g.next(f-b):(y=g.next(p-b),m.push(y)),b+=a.default.length(y)}return new d(m)}compose(f){const p=new s.default(this.ops),m=new s.default(f.ops),g=[],b=m.peek();if(b!=null&&typeof b.retain=="number"&&b.attributes==null){let w=b.retain;for(;p.peekType()==="insert"&&p.peekLength()<=w;)w-=p.peekLength(),g.push(p.next());b.retain-w>0&&m.next(b.retain-w)}const y=new d(g);for(;p.hasNext()||m.hasNext();)if(m.peekType()==="insert")y.push(m.next());else if(p.peekType()==="delete")y.push(p.next());else{const w=Math.min(p.peekLength(),m.peekLength()),C=p.next(w),S=m.next(w);if(S.retain){const E={};if(typeof C.retain=="number")E.retain=typeof S.retain=="number"?w:S.retain;else if(typeof S.retain=="number")C.retain==null?E.insert=C.insert:E.retain=C.retain;else{const A=C.retain==null?"insert":"retain",[O,M,V]=u(C[A],S.retain),T=d.getHandler(O);E[A]={[O]:T.compose(M,V,A==="retain")}}const N=i.default.compose(C.attributes,S.attributes,typeof C.retain=="number");if(N&&(E.attributes=N),y.push(E),!m.hasNext()&&o(y.ops[y.ops.length-1],E)){const A=new d(p.rest());return y.concat(A).chop()}}else typeof S.delete=="number"&&(typeof C.retain=="number"||typeof C.retain=="object"&&C.retain!==null)&&y.push(S)}return y.chop()}concat(f){const p=new d(this.ops.slice());return f.ops.length>0&&(p.push(f.ops[0]),p.ops=p.ops.concat(f.ops.slice(1))),p}diff(f,p){if(this.ops===f.ops)return new d;const m=[this,f].map(C=>C.map(S=>{if(S.insert!=null)return typeof S.insert=="string"?S.insert:l;const E=C===f?"on":"with";throw new Error("diff() called "+E+" non-document")}).join("")),g=new d,b=n(m[0],m[1],p,!0),y=new s.default(this.ops),w=new s.default(f.ops);return b.forEach(C=>{let S=C[1].length;for(;S>0;){let E=0;switch(C[0]){case n.INSERT:E=Math.min(w.peekLength(),S),g.push(w.next(E));break;case n.DELETE:E=Math.min(S,y.peekLength()),y.next(E),g.delete(E);break;case n.EQUAL:E=Math.min(y.peekLength(),w.peekLength(),S);const N=y.next(E),A=w.next(E);o(N.insert,A.insert)?g.retain(E,i.default.diff(N.attributes,A.attributes)):g.push(A).delete(E);break}S-=E}}),g.chop()}eachLine(f,p=`
86
+ `]))),XX=function(e,n){var r=e.isFocused,o=e.size,i=e.theme,a=i.colors,s=i.spacing.baseUnit;return Ce({label:"loadingIndicator",display:"flex",transition:"color 150ms",alignSelf:"center",fontSize:o,lineHeight:1,marginRight:o,textAlign:"center",verticalAlign:"middle"},n?{}:{color:r?a.neutral60:a.neutral20,padding:s*2})},Up=function(e){var n=e.delay,r=e.offset;return we("span",{css:yv({animation:"".concat(zX," 1s ease-in-out ").concat(n,"ms infinite;"),backgroundColor:"currentColor",borderRadius:"1em",display:"inline-block",marginLeft:r?"1em":void 0,height:"1em",verticalAlign:"top",width:"1em"},process.env.NODE_ENV==="production"?"":";label:LoadingDot;",process.env.NODE_ENV==="production"?"":"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQW1RSSIsImZpbGUiOiJpbmRpY2F0b3JzLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgSlNYLCBSZWFjdE5vZGUgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBqc3gsIGtleWZyYW1lcyB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcblxuaW1wb3J0IHtcbiAgQ29tbW9uUHJvcHNBbmRDbGFzc05hbWUsXG4gIENTU09iamVjdFdpdGhMYWJlbCxcbiAgR3JvdXBCYXNlLFxufSBmcm9tICcuLi90eXBlcyc7XG5pbXBvcnQgeyBnZXRTdHlsZVByb3BzIH0gZnJvbSAnLi4vdXRpbHMnO1xuXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cbi8vIERyb3Bkb3duICYgQ2xlYXIgSWNvbnNcbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuXG5jb25zdCBTdmcgPSAoe1xuICBzaXplLFxuICAuLi5wcm9wc1xufTogSlNYLkludHJpbnNpY0VsZW1lbnRzWydzdmcnXSAmIHsgc2l6ZTogbnVtYmVyIH0pID0+IChcbiAgPHN2Z1xuICAgIGhlaWdodD17c2l6ZX1cbiAgICB3aWR0aD17c2l6ZX1cbiAgICB2aWV3Qm94PVwiMCAwIDIwIDIwXCJcbiAgICBhcmlhLWhpZGRlbj1cInRydWVcIlxuIC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vbiwgSXNNdWx0aSwgR3JvdXA+KSA9PiB7XG4gIHJldHVybiAoXG4gICAgPGRpdlxuICAgICAgey4uLmdldFN0eWxlUHJvcHMoXG4gICAgICAgIHsgLi4ucmVzdFByb3BzLCBpbm5lclByb3BzLCBpc1J0bCwgc2l6ZSB9LFxuICAgICAgICAnbG9hZGluZ0luZGljYXRvcicsXG4gICAgICAgIHtcbiAgICAgICAgICBpbmRpY2F0b3I6IHRydWUsXG4gICAgICAgICAgJ2xvYWRpbmctaW5kaWNhdG9yJzogdHJ1ZSxcbiAgICAgICAgfVxuICAgICAgKX1cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgID5cbiAgICAgIDxMb2FkaW5nRG90IGRlbGF5PXswfSBvZmZzZXQ9e2lzUnRsfSAvPlxuICAgICAgPExvYWRpbmdEb3QgZGVsYXk9ezE2MH0gb2Zmc2V0IC8+XG4gICAgICA8TG9hZGluZ0RvdCBkZWxheT17MzIwfSBvZmZzZXQ9eyFpc1J0bH0gLz5cbiAgICA8L2Rpdj5cbiAgKTtcbn07XG4iXX0= */")})},YX=function(e){var n=e.innerProps,r=e.isRtl,o=e.size,i=o===void 0?4:o,a=vr(e,LX);return we("div",Ee({},ht(Ce(Ce({},a),{},{innerProps:n,isRtl:r,size:i}),"loadingIndicator",{indicator:!0,"loading-indicator":!0}),n),we(Up,{delay:0,offset:r}),we(Up,{delay:160,offset:!0}),we(Up,{delay:320,offset:!r}))},UX=function(e,n){var r=e.isDisabled,o=e.isFocused,i=e.theme,a=i.colors,s=i.borderRadius,l=i.spacing;return Ce({label:"control",alignItems:"center",cursor:"default",display:"flex",flexWrap:"wrap",justifyContent:"space-between",minHeight:l.controlHeight,outline:"0 !important",position:"relative",transition:"all 100ms"},n?{}:{backgroundColor:r?a.neutral5:a.neutral0,borderColor:r?a.neutral10:o?a.primary:a.neutral20,borderRadius:s,borderStyle:"solid",borderWidth:1,boxShadow:o?"0 0 0 1px ".concat(a.primary):void 0,"&:hover":{borderColor:o?a.primary:a.neutral30}})},ZX=function(e){var n=e.children,r=e.isDisabled,o=e.isFocused,i=e.innerRef,a=e.innerProps,s=e.menuIsOpen;return we("div",Ee({ref:i},ht(e,"control",{control:!0,"control--is-disabled":r,"control--is-focused":o,"control--menu-is-open":s}),a,{"aria-disabled":r||void 0}),n)},JX=ZX,KX=["data"],QX=function(e,n){var r=e.theme.spacing;return n?{}:{paddingBottom:r.baseUnit*2,paddingTop:r.baseUnit*2}},eY=function(e){var n=e.children,r=e.cx,o=e.getStyles,i=e.getClassNames,a=e.Heading,s=e.headingProps,l=e.innerProps,u=e.label,d=e.theme,c=e.selectProps;return we("div",Ee({},ht(e,"group",{group:!0}),l),we(a,Ee({},s,{selectProps:c,theme:d,getStyles:o,getClassNames:i,cx:r}),u),we("div",null,n))},tY=function(e,n){var r=e.theme,o=r.colors,i=r.spacing;return Ce({label:"group",cursor:"default",display:"block"},n?{}:{color:o.neutral40,fontSize:"75%",fontWeight:500,marginBottom:"0.25em",paddingLeft:i.baseUnit*3,paddingRight:i.baseUnit*3,textTransform:"uppercase"})},nY=function(e){var n=LO(e);n.data;var r=vr(n,KX);return we("div",Ee({},ht(e,"groupHeading",{"group-heading":!0}),r))},rY=eY,oY=["innerRef","isDisabled","isHidden","inputClassName"],iY=function(e,n){var r=e.isDisabled,o=e.value,i=e.theme,a=i.spacing,s=i.colors;return Ce(Ce({visibility:r?"hidden":"visible",transform:o?"translateZ(0)":""},aY),n?{}:{margin:a.baseUnit/2,paddingBottom:a.baseUnit/2,paddingTop:a.baseUnit/2,color:s.neutral80})},zO={gridArea:"1 / 2",font:"inherit",minWidth:"2px",border:0,margin:0,outline:0,padding:0},aY={flex:"1 1 auto",display:"inline-grid",gridArea:"1 / 1 / 2 / 3",gridTemplateColumns:"0 min-content","&:after":Ce({content:'attr(data-value) " "',visibility:"hidden",whiteSpace:"pre"},zO)},sY=function(e){return Ce({label:"input",color:"inherit",background:0,opacity:e?0:1,width:"100%"},zO)},lY=function(e){var n=e.cx,r=e.value,o=LO(e),i=o.innerRef,a=o.isDisabled,s=o.isHidden,l=o.inputClassName,u=vr(o,oY);return we("div",Ee({},ht(e,"input",{"input-container":!0}),{"data-value":r||""}),we("input",Ee({className:n({input:!0},l),ref:i,style:sY(s),disabled:a},u)))},uY=lY,cY=function(e,n){var r=e.theme,o=r.spacing,i=r.borderRadius,a=r.colors;return Ce({label:"multiValue",display:"flex",minWidth:0},n?{}:{backgroundColor:a.neutral10,borderRadius:i/2,margin:o.baseUnit/2})},dY=function(e,n){var r=e.theme,o=r.borderRadius,i=r.colors,a=e.cropWithEllipsis;return Ce({overflow:"hidden",textOverflow:a||a===void 0?"ellipsis":void 0,whiteSpace:"nowrap"},n?{}:{borderRadius:o/2,color:i.neutral80,fontSize:"85%",padding:3,paddingLeft:6})},fY=function(e,n){var r=e.theme,o=r.spacing,i=r.borderRadius,a=r.colors,s=e.isFocused;return Ce({alignItems:"center",display:"flex"},n?{}:{borderRadius:i/2,backgroundColor:s?a.dangerLight:void 0,paddingLeft:o.baseUnit,paddingRight:o.baseUnit,":hover":{backgroundColor:a.dangerLight,color:a.danger}})},XO=function(e){var n=e.children,r=e.innerProps;return we("div",r,n)},hY=XO,pY=XO;function mY(t){var e=t.children,n=t.innerProps;return we("div",Ee({role:"button"},n),e||we(xv,{size:14}))}var gY=function(e){var n=e.children,r=e.components,o=e.data,i=e.innerProps,a=e.isDisabled,s=e.removeProps,l=e.selectProps,u=r.Container,d=r.Label,c=r.Remove;return we(u,{data:o,innerProps:Ce(Ce({},ht(e,"multiValue",{"multi-value":!0,"multi-value--is-disabled":a})),i),selectProps:l},we(d,{data:o,innerProps:Ce({},ht(e,"multiValueLabel",{"multi-value__label":!0})),selectProps:l},n),we(c,{data:o,innerProps:Ce(Ce({},ht(e,"multiValueRemove",{"multi-value__remove":!0})),{},{"aria-label":"Remove ".concat(n||"option")},s),selectProps:l}))},bY=gY,vY=function(e,n){var r=e.isDisabled,o=e.isFocused,i=e.isSelected,a=e.theme,s=a.spacing,l=a.colors;return Ce({label:"option",cursor:"default",display:"block",fontSize:"inherit",width:"100%",userSelect:"none",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)"},n?{}:{backgroundColor:i?l.primary:o?l.primary25:"transparent",color:r?l.neutral20:i?l.neutral0:"inherit",padding:"".concat(s.baseUnit*2,"px ").concat(s.baseUnit*3,"px"),":active":{backgroundColor:r?void 0:i?l.primary:l.primary50}})},yY=function(e){var n=e.children,r=e.isDisabled,o=e.isFocused,i=e.isSelected,a=e.innerRef,s=e.innerProps;return we("div",Ee({},ht(e,"option",{option:!0,"option--is-disabled":r,"option--is-focused":o,"option--is-selected":i}),{ref:a,"aria-disabled":r},s),n)},xY=yY,wY=function(e,n){var r=e.theme,o=r.spacing,i=r.colors;return Ce({label:"placeholder",gridArea:"1 / 1 / 2 / 3"},n?{}:{color:i.neutral50,marginLeft:o.baseUnit/2,marginRight:o.baseUnit/2})},CY=function(e){var n=e.children,r=e.innerProps;return we("div",Ee({},ht(e,"placeholder",{placeholder:!0}),r),n)},SY=CY,EY=function(e,n){var r=e.isDisabled,o=e.theme,i=o.spacing,a=o.colors;return Ce({label:"singleValue",gridArea:"1 / 1 / 2 / 3",maxWidth:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},n?{}:{color:r?a.neutral40:a.neutral80,marginLeft:i.baseUnit/2,marginRight:i.baseUnit/2})},IY=function(e){var n=e.children,r=e.isDisabled,o=e.innerProps;return we("div",Ee({},ht(e,"singleValue",{"single-value":!0,"single-value--is-disabled":r}),o),n)},AY=IY,TY={ClearIndicator:VX,Control:JX,DropdownIndicator:$X,DownChevron:HO,CrossIcon:xv,Group:rY,GroupHeading:nY,IndicatorsContainer:DX,IndicatorSeparator:qX,Input:uY,LoadingIndicator:YX,Menu:wX,MenuList:SX,MenuPortal:_X,LoadingMessage:TX,NoOptionsMessage:AX,MultiValue:bY,MultiValueContainer:hY,MultiValueLabel:pY,MultiValueRemove:mY,Option:xY,Placeholder:SY,SelectContainer:RX,SingleValue:AY,ValueContainer:MX},NY=function(e){return Ce(Ce({},TY),e.components)},Uw=Number.isNaN||function(e){return typeof e=="number"&&e!==e};function _Y(t,e){return!!(t===e||Uw(t)&&Uw(e))}function OY(t,e){if(t.length!==e.length)return!1;for(var n=0;n<t.length;n++)if(!_Y(t[n],e[n]))return!1;return!0}function RY(t,e){e===void 0&&(e=OY);var n=null;function r(){for(var o=[],i=0;i<arguments.length;i++)o[i]=arguments[i];if(n&&n.lastThis===this&&e(o,n.lastArgs))return n.lastResult;var a=t.apply(this,o);return n={lastResult:a,lastArgs:o,lastThis:this},a}return r.clear=function(){n=null},r}function PY(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}var MY=process.env.NODE_ENV==="production"?{name:"7pg0cj-a11yText",styles:"label:a11yText;z-index:9999;border:0;clip:rect(1px, 1px, 1px, 1px);height:1px;width:1px;position:absolute;overflow:hidden;padding:0;white-space:nowrap"}:{name:"1f43avz-a11yText-A11yText",styles:"label:a11yText;z-index:9999;border:0;clip:rect(1px, 1px, 1px, 1px);height:1px;width:1px;position:absolute;overflow:hidden;padding:0;white-space:nowrap;label:A11yText;",map:"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkExMXlUZXh0LnRzeCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFPSSIsImZpbGUiOiJBMTF5VGV4dC50c3giLCJzb3VyY2VzQ29udGVudCI6WyIvKiogQGpzeCBqc3ggKi9cbmltcG9ydCB7IEpTWCB9IGZyb20gJ3JlYWN0JztcbmltcG9ydCB7IGpzeCB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcblxuLy8gQXNzaXN0aXZlIHRleHQgdG8gZGVzY3JpYmUgdmlzdWFsIGVsZW1lbnRzLiBIaWRkZW4gZm9yIHNpZ2h0ZWQgdXNlcnMuXG5jb25zdCBBMTF5VGV4dCA9IChwcm9wczogSlNYLkludHJpbnNpY0VsZW1lbnRzWydzcGFuJ10pID0+IChcbiAgPHNwYW5cbiAgICBjc3M9e3tcbiAgICAgIGxhYmVsOiAnYTExeVRleHQnLFxuICAgICAgekluZGV4OiA5OTk5LFxuICAgICAgYm9yZGVyOiAwLFxuICAgICAgY2xpcDogJ3JlY3QoMXB4LCAxcHgsIDFweCwgMXB4KScsXG4gICAgICBoZWlnaHQ6IDEsXG4gICAgICB3aWR0aDogMSxcbiAgICAgIHBvc2l0aW9uOiAnYWJzb2x1dGUnLFxuICAgICAgb3ZlcmZsb3c6ICdoaWRkZW4nLFxuICAgICAgcGFkZGluZzogMCxcbiAgICAgIHdoaXRlU3BhY2U6ICdub3dyYXAnLFxuICAgIH19XG4gICAgey4uLnByb3BzfVxuICAvPlxuKTtcblxuZXhwb3J0IGRlZmF1bHQgQTExeVRleHQ7XG4iXX0= */",toString:PY},kY=function(e){return we("span",Ee({css:MY},e))},Zw=kY,DY={guidance:function(e){var n=e.isSearchable,r=e.isMulti,o=e.tabSelectsValue,i=e.context,a=e.isInitialFocus;switch(i){case"menu":return"Use Up and Down to choose options, press Enter to select the currently focused option, press Escape to exit the menu".concat(o?", press Tab to select the option and exit the menu":"",".");case"input":return a?"".concat(e["aria-label"]||"Select"," is focused ").concat(n?",type to refine list":"",", press Down to open the menu, ").concat(r?" press left to focus selected values":""):"";case"value":return"Use left and right to toggle between focused values, press Backspace to remove the currently focused value";default:return""}},onChange:function(e){var n=e.action,r=e.label,o=r===void 0?"":r,i=e.labels,a=e.isDisabled;switch(n){case"deselect-option":case"pop-value":case"remove-value":return"option ".concat(o,", deselected.");case"clear":return"All selected options have been cleared.";case"initial-input-focus":return"option".concat(i.length>1?"s":""," ").concat(i.join(","),", selected.");case"select-option":return a?"option ".concat(o," is disabled. Select another option."):"option ".concat(o,", selected.");default:return""}},onFocus:function(e){var n=e.context,r=e.focused,o=e.options,i=e.label,a=i===void 0?"":i,s=e.selectValue,l=e.isDisabled,u=e.isSelected,d=e.isAppleDevice,c=function(g,b){return g&&g.length?"".concat(g.indexOf(b)+1," of ").concat(g.length):""};if(n==="value"&&s)return"value ".concat(a," focused, ").concat(c(s,r),".");if(n==="menu"&&d){var f=l?" disabled":"",p="".concat(u?" selected":"").concat(f);return"".concat(a).concat(p,", ").concat(c(o,r),".")}return""},onFilter:function(e){var n=e.inputValue,r=e.resultsMessage;return"".concat(r).concat(n?" for search term "+n:"",".")}},jY=function(e){var n=e.ariaSelection,r=e.focusedOption,o=e.focusedValue,i=e.focusableOptions,a=e.isFocused,s=e.selectValue,l=e.selectProps,u=e.id,d=e.isAppleDevice,c=l.ariaLiveMessages,f=l.getOptionLabel,p=l.inputValue,m=l.isMulti,g=l.isOptionDisabled,b=l.isSearchable,y=l.menuIsOpen,w=l.options,C=l.screenReaderStatus,S=l.tabSelectsValue,E=l.isLoading,N=l["aria-label"],A=l["aria-live"],O=I.useMemo(function(){return Ce(Ce({},DY),c||{})},[c]),M=I.useMemo(function(){var L="";if(n&&O.onChange){var P=n.option,G=n.options,D=n.removedValue,H=n.removedValues,U=n.value,Q=function(J){return Array.isArray(J)?null:J},$=D||P||Q(U),q=$?f($):"",Z=G||H||void 0,X=Z?Z.map(f):[],te=Ce({isDisabled:$&&g($,s),label:q,labels:X},n);L=O.onChange(te)}return L},[n,O,g,s,f]),V=I.useMemo(function(){var L="",P=r||o,G=!!(r&&s&&s.includes(r));if(P&&O.onFocus){var D={focused:P,label:f(P),isDisabled:g(P,s),isSelected:G,options:i,context:P===r?"menu":"value",selectValue:s,isAppleDevice:d};L=O.onFocus(D)}return L},[r,o,f,g,O,i,s,d]),T=I.useMemo(function(){var L="";if(y&&w.length&&!E&&O.onFilter){var P=C({count:i.length});L=O.onFilter({inputValue:p,resultsMessage:P})}return L},[i,p,y,O,w,C,E]),k=n?.action==="initial-input-focus",_=I.useMemo(function(){var L="";if(O.guidance){var P=o?"value":y?"menu":"input";L=O.guidance({"aria-label":N,context:P,isDisabled:r&&g(r,s),isMulti:m,isSearchable:b,tabSelectsValue:S,isInitialFocus:k})}return L},[N,r,o,m,g,b,y,O,s,S,k]),B=we(I.Fragment,null,we("span",{id:"aria-selection"},M),we("span",{id:"aria-focused"},V),we("span",{id:"aria-results"},T),we("span",{id:"aria-guidance"},_));return we(I.Fragment,null,we(Zw,{id:u},k&&B),we(Zw,{"aria-live":A,"aria-atomic":"false","aria-relevant":"additions text",role:"log"},a&&!k&&B))},LY=jY,fg=[{base:"A",letters:"AⒶAÀÁÂẦẤẪẨÃĀĂẰẮẴẲȦǠÄǞẢÅǺǍȀȂẠẬẶḀĄȺⱯ"},{base:"AA",letters:"Ꜳ"},{base:"AE",letters:"ÆǼǢ"},{base:"AO",letters:"Ꜵ"},{base:"AU",letters:"Ꜷ"},{base:"AV",letters:"ꜸꜺ"},{base:"AY",letters:"Ꜽ"},{base:"B",letters:"BⒷBḂḄḆɃƂƁ"},{base:"C",letters:"CⒸCĆĈĊČÇḈƇȻꜾ"},{base:"D",letters:"DⒹDḊĎḌḐḒḎĐƋƊƉꝹ"},{base:"DZ",letters:"DZDŽ"},{base:"Dz",letters:"DzDž"},{base:"E",letters:"EⒺEÈÉÊỀẾỄỂẼĒḔḖĔĖËẺĚȄȆẸỆȨḜĘḘḚƐƎ"},{base:"F",letters:"FⒻFḞƑꝻ"},{base:"G",letters:"GⒼGǴĜḠĞĠǦĢǤƓꞠꝽꝾ"},{base:"H",letters:"HⒽHĤḢḦȞḤḨḪĦⱧⱵꞍ"},{base:"I",letters:"IⒾIÌÍÎĨĪĬİÏḮỈǏȈȊỊĮḬƗ"},{base:"J",letters:"JⒿJĴɈ"},{base:"K",letters:"KⓀKḰǨḲĶḴƘⱩꝀꝂꝄꞢ"},{base:"L",letters:"LⓁLĿĹĽḶḸĻḼḺŁȽⱢⱠꝈꝆꞀ"},{base:"LJ",letters:"LJ"},{base:"Lj",letters:"Lj"},{base:"M",letters:"MⓂMḾṀṂⱮƜ"},{base:"N",letters:"NⓃNǸŃÑṄŇṆŅṊṈȠƝꞐꞤ"},{base:"NJ",letters:"NJ"},{base:"Nj",letters:"Nj"},{base:"O",letters:"OⓄOÒÓÔỒỐỖỔÕṌȬṎŌṐṒŎȮȰÖȪỎŐǑȌȎƠỜỚỠỞỢỌỘǪǬØǾƆƟꝊꝌ"},{base:"OI",letters:"Ƣ"},{base:"OO",letters:"Ꝏ"},{base:"OU",letters:"Ȣ"},{base:"P",letters:"PⓅPṔṖƤⱣꝐꝒꝔ"},{base:"Q",letters:"QⓆQꝖꝘɊ"},{base:"R",letters:"RⓇRŔṘŘȐȒṚṜŖṞɌⱤꝚꞦꞂ"},{base:"S",letters:"SⓈSẞŚṤŜṠŠṦṢṨȘŞⱾꞨꞄ"},{base:"T",letters:"TⓉTṪŤṬȚŢṰṮŦƬƮȾꞆ"},{base:"TZ",letters:"Ꜩ"},{base:"U",letters:"UⓊUÙÚÛŨṸŪṺŬÜǛǗǕǙỦŮŰǓȔȖƯỪỨỮỬỰỤṲŲṶṴɄ"},{base:"V",letters:"VⓋVṼṾƲꝞɅ"},{base:"VY",letters:"Ꝡ"},{base:"W",letters:"WⓌWẀẂŴẆẄẈⱲ"},{base:"X",letters:"XⓍXẊẌ"},{base:"Y",letters:"YⓎYỲÝŶỸȲẎŸỶỴƳɎỾ"},{base:"Z",letters:"ZⓏZŹẐŻŽẒẔƵȤⱿⱫꝢ"},{base:"a",letters:"aⓐaẚàáâầấẫẩãāăằắẵẳȧǡäǟảåǻǎȁȃạậặḁąⱥɐ"},{base:"aa",letters:"ꜳ"},{base:"ae",letters:"æǽǣ"},{base:"ao",letters:"ꜵ"},{base:"au",letters:"ꜷ"},{base:"av",letters:"ꜹꜻ"},{base:"ay",letters:"ꜽ"},{base:"b",letters:"bⓑbḃḅḇƀƃɓ"},{base:"c",letters:"cⓒcćĉċčçḉƈȼꜿↄ"},{base:"d",letters:"dⓓdḋďḍḑḓḏđƌɖɗꝺ"},{base:"dz",letters:"dzdž"},{base:"e",letters:"eⓔeèéêềếễểẽēḕḗĕėëẻěȅȇẹệȩḝęḙḛɇɛǝ"},{base:"f",letters:"fⓕfḟƒꝼ"},{base:"g",letters:"gⓖgǵĝḡğġǧģǥɠꞡᵹꝿ"},{base:"h",letters:"hⓗhĥḣḧȟḥḩḫẖħⱨⱶɥ"},{base:"hv",letters:"ƕ"},{base:"i",letters:"iⓘiìíîĩīĭïḯỉǐȉȋịįḭɨı"},{base:"j",letters:"jⓙjĵǰɉ"},{base:"k",letters:"kⓚkḱǩḳķḵƙⱪꝁꝃꝅꞣ"},{base:"l",letters:"lⓛlŀĺľḷḹļḽḻſłƚɫⱡꝉꞁꝇ"},{base:"lj",letters:"lj"},{base:"m",letters:"mⓜmḿṁṃɱɯ"},{base:"n",letters:"nⓝnǹńñṅňṇņṋṉƞɲʼnꞑꞥ"},{base:"nj",letters:"nj"},{base:"o",letters:"oⓞoòóôồốỗổõṍȭṏōṑṓŏȯȱöȫỏőǒȍȏơờớỡởợọộǫǭøǿɔꝋꝍɵ"},{base:"oi",letters:"ƣ"},{base:"ou",letters:"ȣ"},{base:"oo",letters:"ꝏ"},{base:"p",letters:"pⓟpṕṗƥᵽꝑꝓꝕ"},{base:"q",letters:"qⓠqɋꝗꝙ"},{base:"r",letters:"rⓡrŕṙřȑȓṛṝŗṟɍɽꝛꞧꞃ"},{base:"s",letters:"sⓢsßśṥŝṡšṧṣṩșşȿꞩꞅẛ"},{base:"t",letters:"tⓣtṫẗťṭțţṱṯŧƭʈⱦꞇ"},{base:"tz",letters:"ꜩ"},{base:"u",letters:"uⓤuùúûũṹūṻŭüǜǘǖǚủůűǔȕȗưừứữửựụṳųṷṵʉ"},{base:"v",letters:"vⓥvṽṿʋꝟʌ"},{base:"vy",letters:"ꝡ"},{base:"w",letters:"wⓦwẁẃŵẇẅẘẉⱳ"},{base:"x",letters:"xⓧxẋẍ"},{base:"y",letters:"yⓨyỳýŷỹȳẏÿỷẙỵƴɏỿ"},{base:"z",letters:"zⓩzźẑżžẓẕƶȥɀⱬꝣ"}],BY=new RegExp("["+fg.map(function(t){return t.letters}).join("")+"]","g"),YO={};for(var Zp=0;Zp<fg.length;Zp++)for(var Jp=fg[Zp],Kp=0;Kp<Jp.letters.length;Kp++)YO[Jp.letters[Kp]]=Jp.base;var UO=function(e){return e.replace(BY,function(n){return YO[n]})},FY=RY(UO),Jw=function(e){return e.replace(/^\s+|\s+$/g,"")},GY=function(e){return"".concat(e.label," ").concat(e.value)},$Y=function(e){return function(n,r){if(n.data.__isNew__)return!0;var o=Ce({ignoreCase:!0,ignoreAccents:!0,stringify:GY,trim:!0,matchFrom:"any"},e),i=o.ignoreCase,a=o.ignoreAccents,s=o.stringify,l=o.trim,u=o.matchFrom,d=l?Jw(r):r,c=l?Jw(s(n)):s(n);return i&&(d=d.toLowerCase(),c=c.toLowerCase()),a&&(d=FY(d),c=UO(c)),u==="start"?c.substr(0,d.length)===d:c.indexOf(d)>-1}},WY=["innerRef"];function VY(t){var e=t.innerRef,n=vr(t,WY),r=hX(n,"onExited","in","enter","exit","appear");return we("input",Ee({ref:e},r,{css:yv({label:"dummyInput",background:0,border:0,caretColor:"transparent",fontSize:"inherit",gridArea:"1 / 1 / 2 / 3",outline:0,padding:0,width:1,color:"transparent",left:-100,opacity:0,position:"relative",transform:"scale(.01)"},process.env.NODE_ENV==="production"?"":";label:DummyInput;",process.env.NODE_ENV==="production"?"":"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkR1bW15SW5wdXQudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXlCTSIsImZpbGUiOiJEdW1teUlucHV0LnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgSlNYLCBSZWYgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBqc3ggfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5pb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IGFsbG93IGZvY3VzXG4gICAgICAgIHdpZHRoOiAxLFxuXG4gICAgICAgIC8vIHJlbW92ZSBjdXJzb3Igb24gZGVza3RvcFxuICAgICAgICBjb2xvcjogJ3RyYW5zcGFyZW50JyxcblxuICAgICAgICAvLyByZW1vdmUgY3Vyc29yIG9uIG1vYmlsZSB3aGlsc3QgbWFpbnRhaW5pbmcgXCJzY3JvbGwgaW50byB2aWV3XCIgYmVoYXZpb3VyXG4gICAgICAgIGxlZnQ6IC0xMDAsXG4gICAgICAgIG9wYWNpdHk6IDAsXG4gICAgICAgIHBvc2l0aW9uOiAncmVsYXRpdmUnLFxuICAgICAgICB0cmFuc2Zvcm06ICdzY2FsZSguMDEpJyxcbiAgICAgIH19XG4gICAgLz5cbiAgKTtcbn1cbiJdfQ== */")}))}var HY=function(e){e.cancelable&&e.preventDefault(),e.stopPropagation()};function qY(t){var e=t.isEnabled,n=t.onBottomArrive,r=t.onBottomLeave,o=t.onTopArrive,i=t.onTopLeave,a=I.useRef(!1),s=I.useRef(!1),l=I.useRef(0),u=I.useRef(null),d=I.useCallback(function(b,y){if(u.current!==null){var w=u.current,C=w.scrollTop,S=w.scrollHeight,E=w.clientHeight,N=u.current,A=y>0,O=S-E-C,M=!1;O>y&&a.current&&(r&&r(b),a.current=!1),A&&s.current&&(i&&i(b),s.current=!1),A&&y>O?(n&&!a.current&&n(b),N.scrollTop=S,M=!0,a.current=!0):!A&&-y>C&&(o&&!s.current&&o(b),N.scrollTop=0,M=!0,s.current=!0),M&&HY(b)}},[n,r,o,i]),c=I.useCallback(function(b){d(b,b.deltaY)},[d]),f=I.useCallback(function(b){l.current=b.changedTouches[0].clientY},[]),p=I.useCallback(function(b){var y=l.current-b.changedTouches[0].clientY;d(b,y)},[d]),m=I.useCallback(function(b){if(b){var y=cX?{passive:!1}:!1;b.addEventListener("wheel",c,y),b.addEventListener("touchstart",f,y),b.addEventListener("touchmove",p,y)}},[p,f,c]),g=I.useCallback(function(b){b&&(b.removeEventListener("wheel",c,!1),b.removeEventListener("touchstart",f,!1),b.removeEventListener("touchmove",p,!1))},[p,f,c]);return I.useEffect(function(){if(e){var b=u.current;return m(b),function(){g(b)}}},[e,m,g]),function(b){u.current=b}}var Kw=["boxSizing","height","overflow","paddingRight","position"],Qw={boxSizing:"border-box",overflow:"hidden",position:"relative",height:"100%"};function eC(t){t.cancelable&&t.preventDefault()}function tC(t){t.stopPropagation()}function nC(){var t=this.scrollTop,e=this.scrollHeight,n=t+this.offsetHeight;t===0?this.scrollTop=1:n===e&&(this.scrollTop=t-1)}function rC(){return"ontouchstart"in window||navigator.maxTouchPoints}var oC=!!(typeof window<"u"&&window.document&&window.document.createElement),ua=0,oi={capture:!1,passive:!1};function zY(t){var e=t.isEnabled,n=t.accountForScrollbars,r=n===void 0?!0:n,o=I.useRef({}),i=I.useRef(null),a=I.useCallback(function(l){if(oC){var u=document.body,d=u&&u.style;if(r&&Kw.forEach(function(m){var g=d&&d[m];o.current[m]=g}),r&&ua<1){var c=parseInt(o.current.paddingRight,10)||0,f=document.body?document.body.clientWidth:0,p=window.innerWidth-f+c||0;Object.keys(Qw).forEach(function(m){var g=Qw[m];d&&(d[m]=g)}),d&&(d.paddingRight="".concat(p,"px"))}u&&rC()&&(u.addEventListener("touchmove",eC,oi),l&&(l.addEventListener("touchstart",nC,oi),l.addEventListener("touchmove",tC,oi))),ua+=1}},[r]),s=I.useCallback(function(l){if(oC){var u=document.body,d=u&&u.style;ua=Math.max(ua-1,0),r&&ua<1&&Kw.forEach(function(c){var f=o.current[c];d&&(d[c]=f)}),u&&rC()&&(u.removeEventListener("touchmove",eC,oi),l&&(l.removeEventListener("touchstart",nC,oi),l.removeEventListener("touchmove",tC,oi)))}},[r]);return I.useEffect(function(){if(e){var l=i.current;return a(l),function(){s(l)}}},[e,a,s]),function(l){i.current=l}}function XY(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}var YY=function(e){var n=e.target;return n.ownerDocument.activeElement&&n.ownerDocument.activeElement.blur()},UY=process.env.NODE_ENV==="production"?{name:"1kfdb0e",styles:"position:fixed;left:0;bottom:0;right:0;top:0"}:{name:"bp8cua-ScrollManager",styles:"position:fixed;left:0;bottom:0;right:0;top:0;label:ScrollManager;",map:"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIlNjcm9sbE1hbmFnZXIudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQW9EVSIsImZpbGUiOiJTY3JvbGxNYW5hZ2VyLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsganN4IH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnO1xuaW1wb3J0IHsgRnJhZ21lbnQsIFJlYWN0RWxlbWVudCwgUmVmQ2FsbGJhY2ssIE1vdXNlRXZlbnQgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgdXNlU2Nyb2xsQ2FwdHVyZSBmcm9tICcuL3VzZVNjcm9sbENhcHR1cmUnO1xuaW1wb3J0IHVzZVNjcm9sbExvY2sgZnJvbSAnLi91c2VTY3JvbGxMb2NrJztcblxuaW50ZXJmYWNlIFByb3BzIHtcbiAgcmVhZG9ubHkgY2hpbGRyZW46IChyZWY6IFJlZkNhbGxiYWNrPEhUTUxFbGVtZW50PikgPT4gUmVhY3RFbGVtZW50O1xuICByZWFkb25seSBsb2NrRW5hYmxlZDogYm9vbGVhbjtcbiAgcmVhZG9ubHkgY2FwdHVyZUVuYWJsZWQ6IGJvb2xlYW47XG4gIHJlYWRvbmx5IG9uQm90dG9tQXJyaXZlPzogKGV2ZW50OiBXaGVlbEV2ZW50IHwgVG91Y2hFdmVudCkgPT4gdm9pZDtcbiAgcmVhZG9ubHkgb25Cb3R0b21MZWF2ZT86IChldmVudDogV2hlZWxFdmVudCB8IFRvdWNoRXZlbnQpID0+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hYmxlZCB9KTtcblxuICBjb25zdCB0YXJnZXRSZWY6IFJlZkNhbGxiYWNrPEhUTUxFbGVtZW50PiA9IChlbGVtZW50KSA9PiB7XG4gICAgc2V0U2Nyb2xsQ2FwdHVyZVRhcmdldChlbGVtZW50KTtcbiAgICBzZXRTY3JvbGxMb2NrVGFyZ2V0KGVsZW1lbnQpO1xuICB9O1xuXG4gIHJldHVybiAoXG4gICAgPEZyYWdtZW50PlxuICAgICAge2xvY2tFbmFibGVkICYmIChcbiAgICAgICAgPGRpdlxuICAgICAgICAgIG9uQ2xpY2s9e2JsdXJTZWxlY3RJbnB1dH1cbiAgICAgICAgICBjc3M9e3sgcG9zaXRpb246ICdmaXhlZCcsIGxlZnQ6IDAsIGJvdHRvbTogMCwgcmlnaHQ6IDAsIHRvcDogMCB9fVxuICAgICAgICAvPlxuICAgICAgKX1cbiAgICAgIHtjaGlsZHJlbih0YXJnZXRSZWYpfVxuICAgIDwvRnJhZ21lbnQ+XG4gICk7XG59XG4iXX0= */",toString:XY};function ZY(t){var e=t.children,n=t.lockEnabled,r=t.captureEnabled,o=r===void 0?!0:r,i=t.onBottomArrive,a=t.onBottomLeave,s=t.onTopArrive,l=t.onTopLeave,u=qY({isEnabled:o,onBottomArrive:i,onBottomLeave:a,onTopArrive:s,onTopLeave:l}),d=zY({isEnabled:n}),c=function(p){u(p),d(p)};return we(I.Fragment,null,n&&we("div",{onClick:YY,css:UY}),e(c))}function JY(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}var KY=process.env.NODE_ENV==="production"?{name:"1a0ro4n-requiredInput",styles:"label:requiredInput;opacity:0;pointer-events:none;position:absolute;bottom:0;left:0;right:0;width:100%"}:{name:"5kkxb2-requiredInput-RequiredInput",styles:"label:requiredInput;opacity:0;pointer-events:none;position:absolute;bottom:0;left:0;right:0;width:100%;label:RequiredInput;",map:"/*# sourceMappingURL=data:application/json;charset=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iB7fX1cbiAgLz5cbik7XG5cbmV4cG9ydCBkZWZhdWx0IFJlcXVpcmVkSW5wdXQ7XG4iXX0= */",toString:JY},QY=function(e){var n=e.name,r=e.onFocus;return we("input",{required:!0,name:n,tabIndex:-1,"aria-hidden":"true",onFocus:r,css:KY,value:"",onChange:function(){}})},eU=QY;function wv(t){var e;return typeof window<"u"&&window.navigator!=null?t.test(((e=window.navigator.userAgentData)===null||e===void 0?void 0:e.platform)||window.navigator.platform):!1}function tU(){return wv(/^iPhone/i)}function ZO(){return wv(/^Mac/i)}function nU(){return wv(/^iPad/i)||ZO()&&navigator.maxTouchPoints>1}function rU(){return tU()||nU()}function oU(){return ZO()||rU()}var iU=function(e){return e.label},JO=function(e){return e.label},KO=function(e){return e.value},aU=function(e){return!!e.isDisabled},sU={clearIndicator:WX,container:OX,control:UX,dropdownIndicator:GX,group:QX,groupHeading:tY,indicatorsContainer:kX,indicatorSeparator:HX,input:iY,loadingIndicator:XX,loadingMessage:IX,menu:vX,menuList:CX,menuPortal:NX,multiValue:cY,multiValueLabel:dY,multiValueRemove:fY,noOptionsMessage:EX,option:vY,placeholder:wY,singleValue:EY,valueContainer:PX},lU={primary:"#2684FF",primary75:"#4C9AFF",primary50:"#B2D4FF",primary25:"#DEEBFF",danger:"#DE350B",dangerLight:"#FFBDAD",neutral0:"hsl(0, 0%, 100%)",neutral5:"hsl(0, 0%, 95%)",neutral10:"hsl(0, 0%, 90%)",neutral20:"hsl(0, 0%, 80%)",neutral30:"hsl(0, 0%, 70%)",neutral40:"hsl(0, 0%, 60%)",neutral50:"hsl(0, 0%, 50%)",neutral60:"hsl(0, 0%, 40%)",neutral70:"hsl(0, 0%, 30%)",neutral80:"hsl(0, 0%, 20%)",neutral90:"hsl(0, 0%, 10%)"},uU=4,QO=4,cU=38,dU=QO*2,fU={baseUnit:QO,controlHeight:cU,menuGutter:dU},Qp={borderRadius:uU,colors:lU,spacing:fU},hU={"aria-live":"polite",backspaceRemovesValue:!0,blurInputOnSelect:Xw(),captureMenuScroll:!Xw(),classNames:{},closeMenuOnSelect:!0,closeMenuOnScroll:!1,components:{},controlShouldRenderValue:!0,escapeClearsValue:!1,filterOption:$Y(),formatGroupLabel:iU,getOptionLabel:JO,getOptionValue:KO,isDisabled:!1,isLoading:!1,isMulti:!1,isRtl:!1,isSearchable:!0,isOptionDisabled:aU,loadingMessage:function(){return"Loading..."},maxMenuHeight:300,minMenuHeight:140,menuIsOpen:!1,menuPlacement:"bottom",menuPosition:"absolute",menuShouldBlockScroll:!1,menuShouldScrollIntoView:!lX(),noOptionsMessage:function(){return"No options"},openMenuOnFocus:!1,openMenuOnClick:!0,options:[],pageSize:5,placeholder:"Select...",screenReaderStatus:function(e){var n=e.count;return"".concat(n," result").concat(n!==1?"s":""," available")},styles:{},tabIndex:0,tabSelectsValue:!0,unstyled:!1};function iC(t,e,n,r){var o=nR(t,e,n),i=rR(t,e,n),a=tR(t,e),s=uu(t,e);return{type:"option",data:e,isDisabled:o,isSelected:i,label:a,value:s,index:r}}function Ol(t,e){return t.options.map(function(n,r){if("options"in n){var o=n.options.map(function(a,s){return iC(t,a,e,s)}).filter(function(a){return sC(t,a)});return o.length>0?{type:"group",data:n,options:o,index:r}:void 0}var i=iC(t,n,e,r);return sC(t,i)?i:void 0}).filter(dX)}function eR(t){return t.reduce(function(e,n){return n.type==="group"?e.push.apply(e,mi(n.options.map(function(r){return r.data}))):e.push(n.data),e},[])}function aC(t,e){return t.reduce(function(n,r){return r.type==="group"?n.push.apply(n,mi(r.options.map(function(o){return{data:o.data,id:"".concat(e,"-").concat(r.index,"-").concat(o.index)}}))):n.push({data:r.data,id:"".concat(e,"-").concat(r.index)}),n},[])}function pU(t,e){return eR(Ol(t,e))}function sC(t,e){var n=t.inputValue,r=n===void 0?"":n,o=e.data,i=e.isSelected,a=e.label,s=e.value;return(!iR(t)||!i)&&oR(t,{label:a,value:s,data:o},r)}function mU(t,e){var n=t.focusedValue,r=t.selectValue,o=r.indexOf(n);if(o>-1){var i=e.indexOf(n);if(i>-1)return n;if(o<e.length)return e[o]}return null}function gU(t,e){var n=t.focusedOption;return n&&e.indexOf(n)>-1?n:e[0]}var em=function(e,n){var r,o=(r=e.find(function(i){return i.data===n}))===null||r===void 0?void 0:r.id;return o||null},tR=function(e,n){return e.getOptionLabel(n)},uu=function(e,n){return e.getOptionValue(n)};function nR(t,e,n){return typeof t.isOptionDisabled=="function"?t.isOptionDisabled(e,n):!1}function rR(t,e,n){if(n.indexOf(e)>-1)return!0;if(typeof t.isOptionSelected=="function")return t.isOptionSelected(e,n);var r=uu(t,e);return n.some(function(o){return uu(t,o)===r})}function oR(t,e,n){return t.filterOption?t.filterOption(e,n):!0}var iR=function(e){var n=e.hideSelectedOptions,r=e.isMulti;return n===void 0?r:n},bU=1,Cv=(function(t){Q8(n,t);var e=t7(n);function n(r){var o;if(J8(this,n),o=e.call(this,r),o.state={ariaSelection:null,focusedOption:null,focusedOptionId:null,focusableOptionsWithIds:[],focusedValue:null,inputIsHidden:!1,isFocused:!1,selectValue:[],clearFocusValueOnUpdate:!1,prevWasFocused:!1,inputIsHiddenAfterUpdate:void 0,prevProps:void 0,instancePrefix:"",isAppleDevice:!1},o.blockOptionHover=!1,o.isComposing=!1,o.commonProps=void 0,o.initialTouchX=0,o.initialTouchY=0,o.openAfterFocus=!1,o.scrollToFocusedOptionOnUpdate=!1,o.userIsDragging=void 0,o.controlRef=null,o.getControlRef=function(l){o.controlRef=l},o.focusedOptionRef=null,o.getFocusedOptionRef=function(l){o.focusedOptionRef=l},o.menuListRef=null,o.getMenuListRef=function(l){o.menuListRef=l},o.inputRef=null,o.getInputRef=function(l){o.inputRef=l},o.focus=o.focusInput,o.blur=o.blurInput,o.onChange=function(l,u){var d=o.props,c=d.onChange,f=d.name;u.name=f,o.ariaOnChange(l,u),c(l,u)},o.setValue=function(l,u,d){var c=o.props,f=c.closeMenuOnSelect,p=c.isMulti,m=c.inputValue;o.onInputChange("",{action:"set-value",prevInputValue:m}),f&&(o.setState({inputIsHiddenAfterUpdate:!p}),o.onMenuClose()),o.setState({clearFocusValueOnUpdate:!0}),o.onChange(l,{action:u,option:d})},o.selectOption=function(l){var u=o.props,d=u.blurInputOnSelect,c=u.isMulti,f=u.name,p=o.state.selectValue,m=c&&o.isOptionSelected(l,p),g=o.isOptionDisabled(l,p);if(m){var b=o.getOptionValue(l);o.setValue(p.filter(function(y){return o.getOptionValue(y)!==b}),"deselect-option",l)}else if(!g)c?o.setValue([].concat(mi(p),[l]),"select-option",l):o.setValue(l,"select-option");else{o.ariaOnChange(l,{action:"select-option",option:l,name:f});return}d&&o.blurInput()},o.removeValue=function(l){var u=o.props.isMulti,d=o.state.selectValue,c=o.getOptionValue(l),f=d.filter(function(m){return o.getOptionValue(m)!==c}),p=wa(u,f,f[0]||null);o.onChange(p,{action:"remove-value",removedValue:l}),o.focusInput()},o.clearValue=function(){var l=o.state.selectValue;o.onChange(wa(o.props.isMulti,[],null),{action:"clear",removedValues:l})},o.popValue=function(){var l=o.props.isMulti,u=o.state.selectValue,d=u[u.length-1],c=u.slice(0,u.length-1),f=wa(l,c,c[0]||null);d&&o.onChange(f,{action:"pop-value",removedValue:d})},o.getFocusedOptionId=function(l){return em(o.state.focusableOptionsWithIds,l)},o.getFocusableOptionsWithIds=function(){return aC(Ol(o.props,o.state.selectValue),o.getElementId("option"))},o.getValue=function(){return o.state.selectValue},o.cx=function(){for(var l=arguments.length,u=new Array(l),d=0;d<l;d++)u[d]=arguments[d];return rX.apply(void 0,[o.props.classNamePrefix].concat(u))},o.getOptionLabel=function(l){return tR(o.props,l)},o.getOptionValue=function(l){return uu(o.props,l)},o.getStyles=function(l,u){var d=o.props.unstyled,c=sU[l](u,d);c.boxSizing="border-box";var f=o.props.styles[l];return f?f(c,u):c},o.getClassNames=function(l,u){var d,c;return(d=(c=o.props.classNames)[l])===null||d===void 0?void 0:d.call(c,u)},o.getElementId=function(l){return"".concat(o.state.instancePrefix,"-").concat(l)},o.getComponents=function(){return NY(o.props)},o.buildCategorizedOptions=function(){return Ol(o.props,o.state.selectValue)},o.getCategorizedOptions=function(){return o.props.menuIsOpen?o.buildCategorizedOptions():[]},o.buildFocusableOptions=function(){return eR(o.buildCategorizedOptions())},o.getFocusableOptions=function(){return o.props.menuIsOpen?o.buildFocusableOptions():[]},o.ariaOnChange=function(l,u){o.setState({ariaSelection:Ce({value:l},u)})},o.onMenuMouseDown=function(l){l.button===0&&(l.stopPropagation(),l.preventDefault(),o.focusInput())},o.onMenuMouseMove=function(l){o.blockOptionHover=!1},o.onControlMouseDown=function(l){if(!l.defaultPrevented){var u=o.props.openMenuOnClick;o.state.isFocused?o.props.menuIsOpen?l.target.tagName!=="INPUT"&&l.target.tagName!=="TEXTAREA"&&o.onMenuClose():u&&o.openMenu("first"):(u&&(o.openAfterFocus=!0),o.focusInput()),l.target.tagName!=="INPUT"&&l.target.tagName!=="TEXTAREA"&&l.preventDefault()}},o.onDropdownIndicatorMouseDown=function(l){if(!(l&&l.type==="mousedown"&&l.button!==0)&&!o.props.isDisabled){var u=o.props,d=u.isMulti,c=u.menuIsOpen;o.focusInput(),c?(o.setState({inputIsHiddenAfterUpdate:!d}),o.onMenuClose()):o.openMenu("first"),l.preventDefault()}},o.onClearIndicatorMouseDown=function(l){l&&l.type==="mousedown"&&l.button!==0||(o.clearValue(),l.preventDefault(),o.openAfterFocus=!1,l.type==="touchend"?o.focusInput():setTimeout(function(){return o.focusInput()}))},o.onScroll=function(l){typeof o.props.closeMenuOnScroll=="boolean"?l.target instanceof HTMLElement&&Sc(l.target)&&o.props.onMenuClose():typeof o.props.closeMenuOnScroll=="function"&&o.props.closeMenuOnScroll(l)&&o.props.onMenuClose()},o.onCompositionStart=function(){o.isComposing=!0},o.onCompositionEnd=function(){o.isComposing=!1},o.onTouchStart=function(l){var u=l.touches,d=u&&u.item(0);d&&(o.initialTouchX=d.clientX,o.initialTouchY=d.clientY,o.userIsDragging=!1)},o.onTouchMove=function(l){var u=l.touches,d=u&&u.item(0);if(d){var c=Math.abs(d.clientX-o.initialTouchX),f=Math.abs(d.clientY-o.initialTouchY),p=5;o.userIsDragging=c>p||f>p}},o.onTouchEnd=function(l){o.userIsDragging||(o.controlRef&&!o.controlRef.contains(l.target)&&o.menuListRef&&!o.menuListRef.contains(l.target)&&o.blurInput(),o.initialTouchX=0,o.initialTouchY=0)},o.onControlTouchEnd=function(l){o.userIsDragging||o.onControlMouseDown(l)},o.onClearIndicatorTouchEnd=function(l){o.userIsDragging||o.onClearIndicatorMouseDown(l)},o.onDropdownIndicatorTouchEnd=function(l){o.userIsDragging||o.onDropdownIndicatorMouseDown(l)},o.handleInputChange=function(l){var u=o.props.inputValue,d=l.currentTarget.value;o.setState({inputIsHiddenAfterUpdate:!1}),o.onInputChange(d,{action:"input-change",prevInputValue:u}),o.props.menuIsOpen||o.onMenuOpen()},o.onInputFocus=function(l){o.props.onFocus&&o.props.onFocus(l),o.setState({inputIsHiddenAfterUpdate:!1,isFocused:!0}),(o.openAfterFocus||o.props.openMenuOnFocus)&&o.openMenu("first"),o.openAfterFocus=!1},o.onInputBlur=function(l){var u=o.props.inputValue;if(o.menuListRef&&o.menuListRef.contains(document.activeElement)){o.inputRef.focus();return}o.props.onBlur&&o.props.onBlur(l),o.onInputChange("",{action:"input-blur",prevInputValue:u}),o.onMenuClose(),o.setState({focusedValue:null,isFocused:!1})},o.onOptionHover=function(l){if(!(o.blockOptionHover||o.state.focusedOption===l)){var u=o.getFocusableOptions(),d=u.indexOf(l);o.setState({focusedOption:l,focusedOptionId:d>-1?o.getFocusedOptionId(l):null})}},o.shouldHideSelectedOptions=function(){return iR(o.props)},o.onValueInputFocus=function(l){l.preventDefault(),l.stopPropagation(),o.focus()},o.onKeyDown=function(l){var u=o.props,d=u.isMulti,c=u.backspaceRemovesValue,f=u.escapeClearsValue,p=u.inputValue,m=u.isClearable,g=u.isDisabled,b=u.menuIsOpen,y=u.onKeyDown,w=u.tabSelectsValue,C=u.openMenuOnFocus,S=o.state,E=S.focusedOption,N=S.focusedValue,A=S.selectValue;if(!g&&!(typeof y=="function"&&(y(l),l.defaultPrevented))){switch(o.blockOptionHover=!0,l.key){case"ArrowLeft":if(!d||p)return;o.focusValue("previous");break;case"ArrowRight":if(!d||p)return;o.focusValue("next");break;case"Delete":case"Backspace":if(p)return;if(N)o.removeValue(N);else{if(!c)return;d?o.popValue():m&&o.clearValue()}break;case"Tab":if(o.isComposing||l.shiftKey||!b||!w||!E||C&&o.isOptionSelected(E,A))return;o.selectOption(E);break;case"Enter":if(l.keyCode===229)break;if(b){if(!E||o.isComposing)return;o.selectOption(E);break}return;case"Escape":b?(o.setState({inputIsHiddenAfterUpdate:!1}),o.onInputChange("",{action:"menu-close",prevInputValue:p}),o.onMenuClose()):m&&f&&o.clearValue();break;case" ":if(p)return;if(!b){o.openMenu("first");break}if(!E)return;o.selectOption(E);break;case"ArrowUp":b?o.focusOption("up"):o.openMenu("last");break;case"ArrowDown":b?o.focusOption("down"):o.openMenu("first");break;case"PageUp":if(!b)return;o.focusOption("pageup");break;case"PageDown":if(!b)return;o.focusOption("pagedown");break;case"Home":if(!b)return;o.focusOption("first");break;case"End":if(!b)return;o.focusOption("last");break;default:return}l.preventDefault()}},o.state.instancePrefix="react-select-"+(o.props.instanceId||++bU),o.state.selectValue=su(r.value),r.menuIsOpen&&o.state.selectValue.length){var i=o.getFocusableOptionsWithIds(),a=o.buildFocusableOptions(),s=a.indexOf(o.state.selectValue[0]);o.state.focusableOptionsWithIds=i,o.state.focusedOption=a[s],o.state.focusedOptionId=em(i,a[s])}return o}return K8(n,[{key:"componentDidMount",value:function(){this.startListeningComposition(),this.startListeningToTouch(),this.props.closeMenuOnScroll&&document&&document.addEventListener&&document.addEventListener("scroll",this.onScroll,!0),this.props.autoFocus&&this.focusInput(),this.props.menuIsOpen&&this.state.focusedOption&&this.menuListRef&&this.focusedOptionRef&&zw(this.menuListRef,this.focusedOptionRef),oU()&&this.setState({isAppleDevice:!0})}},{key:"componentDidUpdate",value:function(o){var i=this.props,a=i.isDisabled,s=i.menuIsOpen,l=this.state.isFocused;(l&&!a&&o.isDisabled||l&&s&&!o.menuIsOpen)&&this.focusInput(),l&&a&&!o.isDisabled?this.setState({isFocused:!1},this.onMenuClose):!l&&!a&&o.isDisabled&&this.inputRef===document.activeElement&&this.setState({isFocused:!0}),this.menuListRef&&this.focusedOptionRef&&this.scrollToFocusedOptionOnUpdate&&(zw(this.menuListRef,this.focusedOptionRef),this.scrollToFocusedOptionOnUpdate=!1)}},{key:"componentWillUnmount",value:function(){this.stopListeningComposition(),this.stopListeningToTouch(),document.removeEventListener("scroll",this.onScroll,!0)}},{key:"onMenuOpen",value:function(){this.props.onMenuOpen()}},{key:"onMenuClose",value:function(){this.onInputChange("",{action:"menu-close",prevInputValue:this.props.inputValue}),this.props.onMenuClose()}},{key:"onInputChange",value:function(o,i){this.props.onInputChange(o,i)}},{key:"focusInput",value:function(){this.inputRef&&this.inputRef.focus()}},{key:"blurInput",value:function(){this.inputRef&&this.inputRef.blur()}},{key:"openMenu",value:function(o){var i=this,a=this.state,s=a.selectValue,l=a.isFocused,u=this.buildFocusableOptions(),d=o==="first"?0:u.length-1;if(!this.props.isMulti){var c=u.indexOf(s[0]);c>-1&&(d=c)}this.scrollToFocusedOptionOnUpdate=!(l&&this.menuListRef),this.setState({inputIsHiddenAfterUpdate:!1,focusedValue:null,focusedOption:u[d],focusedOptionId:this.getFocusedOptionId(u[d])},function(){return i.onMenuOpen()})}},{key:"focusValue",value:function(o){var i=this.state,a=i.selectValue,s=i.focusedValue;if(this.props.isMulti){this.setState({focusedOption:null});var l=a.indexOf(s);s||(l=-1);var u=a.length-1,d=-1;if(a.length){switch(o){case"previous":l===0?d=0:l===-1?d=u:d=l-1;break;case"next":l>-1&&l<u&&(d=l+1);break}this.setState({inputIsHidden:d!==-1,focusedValue:a[d]})}}}},{key:"focusOption",value:function(){var o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"first",i=this.props.pageSize,a=this.state.focusedOption,s=this.getFocusableOptions();if(s.length){var l=0,u=s.indexOf(a);a||(u=-1),o==="up"?l=u>0?u-1:s.length-1:o==="down"?l=(u+1)%s.length:o==="pageup"?(l=u-i,l<0&&(l=0)):o==="pagedown"?(l=u+i,l>s.length-1&&(l=s.length-1)):o==="last"&&(l=s.length-1),this.scrollToFocusedOptionOnUpdate=!0,this.setState({focusedOption:s[l],focusedValue:null,focusedOptionId:this.getFocusedOptionId(s[l])})}}},{key:"getTheme",value:function(){return this.props.theme?typeof this.props.theme=="function"?this.props.theme(Qp):Ce(Ce({},Qp),this.props.theme):Qp}},{key:"getCommonProps",value:function(){var o=this.clearValue,i=this.cx,a=this.getStyles,s=this.getClassNames,l=this.getValue,u=this.selectOption,d=this.setValue,c=this.props,f=c.isMulti,p=c.isRtl,m=c.options,g=this.hasValue();return{clearValue:o,cx:i,getStyles:a,getClassNames:s,getValue:l,hasValue:g,isMulti:f,isRtl:p,options:m,selectOption:u,selectProps:c,setValue:d,theme:this.getTheme()}}},{key:"hasValue",value:function(){var o=this.state.selectValue;return o.length>0}},{key:"hasOptions",value:function(){return!!this.getFocusableOptions().length}},{key:"isClearable",value:function(){var o=this.props,i=o.isClearable,a=o.isMulti;return i===void 0?a:i}},{key:"isOptionDisabled",value:function(o,i){return nR(this.props,o,i)}},{key:"isOptionSelected",value:function(o,i){return rR(this.props,o,i)}},{key:"filterOption",value:function(o,i){return oR(this.props,o,i)}},{key:"formatOptionLabel",value:function(o,i){if(typeof this.props.formatOptionLabel=="function"){var a=this.props.inputValue,s=this.state.selectValue;return this.props.formatOptionLabel(o,{context:i,inputValue:a,selectValue:s})}else return this.getOptionLabel(o)}},{key:"formatGroupLabel",value:function(o){return this.props.formatGroupLabel(o)}},{key:"startListeningComposition",value:function(){document&&document.addEventListener&&(document.addEventListener("compositionstart",this.onCompositionStart,!1),document.addEventListener("compositionend",this.onCompositionEnd,!1))}},{key:"stopListeningComposition",value:function(){document&&document.removeEventListener&&(document.removeEventListener("compositionstart",this.onCompositionStart),document.removeEventListener("compositionend",this.onCompositionEnd))}},{key:"startListeningToTouch",value:function(){document&&document.addEventListener&&(document.addEventListener("touchstart",this.onTouchStart,!1),document.addEventListener("touchmove",this.onTouchMove,!1),document.addEventListener("touchend",this.onTouchEnd,!1))}},{key:"stopListeningToTouch",value:function(){document&&document.removeEventListener&&(document.removeEventListener("touchstart",this.onTouchStart),document.removeEventListener("touchmove",this.onTouchMove),document.removeEventListener("touchend",this.onTouchEnd))}},{key:"renderInput",value:function(){var o=this.props,i=o.isDisabled,a=o.isSearchable,s=o.inputId,l=o.inputValue,u=o.tabIndex,d=o.form,c=o.menuIsOpen,f=o.required,p=this.getComponents(),m=p.Input,g=this.state,b=g.inputIsHidden,y=g.ariaSelection,w=this.commonProps,C=s||this.getElementId("input"),S=Ce(Ce(Ce({"aria-autocomplete":"list","aria-expanded":c,"aria-haspopup":!0,"aria-errormessage":this.props["aria-errormessage"],"aria-invalid":this.props["aria-invalid"],"aria-label":this.props["aria-label"],"aria-labelledby":this.props["aria-labelledby"],"aria-required":f,role:"combobox","aria-activedescendant":this.state.isAppleDevice?void 0:this.state.focusedOptionId||""},c&&{"aria-controls":this.getElementId("listbox")}),!a&&{"aria-readonly":!0}),this.hasValue()?y?.action==="initial-input-focus"&&{"aria-describedby":this.getElementId("live-region")}:{"aria-describedby":this.getElementId("placeholder")});return a?v.createElement(m,Ee({},w,{autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",id:C,innerRef:this.getInputRef,isDisabled:i,isHidden:b,onBlur:this.onInputBlur,onChange:this.handleInputChange,onFocus:this.onInputFocus,spellCheck:"false",tabIndex:u,form:d,type:"text",value:l},S)):v.createElement(VY,Ee({id:C,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:au,onFocus:this.onInputFocus,disabled:i,tabIndex:u,inputMode:"none",form:d,value:""},S))}},{key:"renderPlaceholderOrValue",value:function(){var o=this,i=this.getComponents(),a=i.MultiValue,s=i.MultiValueContainer,l=i.MultiValueLabel,u=i.MultiValueRemove,d=i.SingleValue,c=i.Placeholder,f=this.commonProps,p=this.props,m=p.controlShouldRenderValue,g=p.isDisabled,b=p.isMulti,y=p.inputValue,w=p.placeholder,C=this.state,S=C.selectValue,E=C.focusedValue,N=C.isFocused;if(!this.hasValue()||!m)return y?null:v.createElement(c,Ee({},f,{key:"placeholder",isDisabled:g,isFocused:N,innerProps:{id:this.getElementId("placeholder")}}),w);if(b)return S.map(function(O,M){var V=O===E,T="".concat(o.getOptionLabel(O),"-").concat(o.getOptionValue(O));return v.createElement(a,Ee({},f,{components:{Container:s,Label:l,Remove:u},isFocused:V,isDisabled:g,key:T,index:M,removeProps:{onClick:function(){return o.removeValue(O)},onTouchEnd:function(){return o.removeValue(O)},onMouseDown:function(_){_.preventDefault()}},data:O}),o.formatOptionLabel(O,"value"))});if(y)return null;var A=S[0];return v.createElement(d,Ee({},f,{data:A,isDisabled:g}),this.formatOptionLabel(A,"value"))}},{key:"renderClearIndicator",value:function(){var o=this.getComponents(),i=o.ClearIndicator,a=this.commonProps,s=this.props,l=s.isDisabled,u=s.isLoading,d=this.state.isFocused;if(!this.isClearable()||!i||l||!this.hasValue()||u)return null;var c={onMouseDown:this.onClearIndicatorMouseDown,onTouchEnd:this.onClearIndicatorTouchEnd,"aria-hidden":"true"};return v.createElement(i,Ee({},a,{innerProps:c,isFocused:d}))}},{key:"renderLoadingIndicator",value:function(){var o=this.getComponents(),i=o.LoadingIndicator,a=this.commonProps,s=this.props,l=s.isDisabled,u=s.isLoading,d=this.state.isFocused;if(!i||!u)return null;var c={"aria-hidden":"true"};return v.createElement(i,Ee({},a,{innerProps:c,isDisabled:l,isFocused:d}))}},{key:"renderIndicatorSeparator",value:function(){var o=this.getComponents(),i=o.DropdownIndicator,a=o.IndicatorSeparator;if(!i||!a)return null;var s=this.commonProps,l=this.props.isDisabled,u=this.state.isFocused;return v.createElement(a,Ee({},s,{isDisabled:l,isFocused:u}))}},{key:"renderDropdownIndicator",value:function(){var o=this.getComponents(),i=o.DropdownIndicator;if(!i)return null;var a=this.commonProps,s=this.props.isDisabled,l=this.state.isFocused,u={onMouseDown:this.onDropdownIndicatorMouseDown,onTouchEnd:this.onDropdownIndicatorTouchEnd,"aria-hidden":"true"};return v.createElement(i,Ee({},a,{innerProps:u,isDisabled:s,isFocused:l}))}},{key:"renderMenu",value:function(){var o=this,i=this.getComponents(),a=i.Group,s=i.GroupHeading,l=i.Menu,u=i.MenuList,d=i.MenuPortal,c=i.LoadingMessage,f=i.NoOptionsMessage,p=i.Option,m=this.commonProps,g=this.state.focusedOption,b=this.props,y=b.captureMenuScroll,w=b.inputValue,C=b.isLoading,S=b.loadingMessage,E=b.minMenuHeight,N=b.maxMenuHeight,A=b.menuIsOpen,O=b.menuPlacement,M=b.menuPosition,V=b.menuPortalTarget,T=b.menuShouldBlockScroll,k=b.menuShouldScrollIntoView,_=b.noOptionsMessage,B=b.onMenuScrollToTop,L=b.onMenuScrollToBottom;if(!A)return null;var P=function(q,Z){var X=q.type,te=q.data,Y=q.isDisabled,J=q.isSelected,ie=q.label,oe=q.value,re=g===te,z=Y?void 0:function(){return o.onOptionHover(te)},ue=Y?void 0:function(){return o.selectOption(te)},W="".concat(o.getElementId("option"),"-").concat(Z),le={id:W,onClick:ue,onMouseMove:z,onMouseOver:z,tabIndex:-1,role:"option","aria-selected":o.state.isAppleDevice?void 0:J};return v.createElement(p,Ee({},m,{innerProps:le,data:te,isDisabled:Y,isSelected:J,key:W,label:ie,type:X,value:oe,isFocused:re,innerRef:re?o.getFocusedOptionRef:void 0}),o.formatOptionLabel(q.data,"menu"))},G;if(this.hasOptions())G=this.getCategorizedOptions().map(function($){if($.type==="group"){var q=$.data,Z=$.options,X=$.index,te="".concat(o.getElementId("group"),"-").concat(X),Y="".concat(te,"-heading");return v.createElement(a,Ee({},m,{key:te,data:q,options:Z,Heading:s,headingProps:{id:Y,data:$.data},label:o.formatGroupLabel($.data)}),$.options.map(function(J){return P(J,"".concat(X,"-").concat(J.index))}))}else if($.type==="option")return P($,"".concat($.index))});else if(C){var D=S({inputValue:w});if(D===null)return null;G=v.createElement(c,m,D)}else{var H=_({inputValue:w});if(H===null)return null;G=v.createElement(f,m,H)}var U={minMenuHeight:E,maxMenuHeight:N,menuPlacement:O,menuPosition:M,menuShouldScrollIntoView:k},Q=v.createElement(yX,Ee({},m,U),function($){var q=$.ref,Z=$.placerProps,X=Z.placement,te=Z.maxHeight;return v.createElement(l,Ee({},m,U,{innerRef:q,innerProps:{onMouseDown:o.onMenuMouseDown,onMouseMove:o.onMenuMouseMove},isLoading:C,placement:X}),v.createElement(ZY,{captureEnabled:y,onTopArrive:B,onBottomArrive:L,lockEnabled:T},function(Y){return v.createElement(u,Ee({},m,{innerRef:function(ie){o.getMenuListRef(ie),Y(ie)},innerProps:{role:"listbox","aria-multiselectable":m.isMulti,id:o.getElementId("listbox")},isLoading:C,maxHeight:te,focusedOption:g}),G)}))});return V||M==="fixed"?v.createElement(d,Ee({},m,{appendTo:V,controlElement:this.controlRef,menuPlacement:O,menuPosition:M}),Q):Q}},{key:"renderFormField",value:function(){var o=this,i=this.props,a=i.delimiter,s=i.isDisabled,l=i.isMulti,u=i.name,d=i.required,c=this.state.selectValue;if(d&&!this.hasValue()&&!s)return v.createElement(eU,{name:u,onFocus:this.onValueInputFocus});if(!(!u||s))if(l)if(a){var f=c.map(function(g){return o.getOptionValue(g)}).join(a);return v.createElement("input",{name:u,type:"hidden",value:f})}else{var p=c.length>0?c.map(function(g,b){return v.createElement("input",{key:"i-".concat(b),name:u,type:"hidden",value:o.getOptionValue(g)})}):v.createElement("input",{name:u,type:"hidden",value:""});return v.createElement("div",null,p)}else{var m=c[0]?this.getOptionValue(c[0]):"";return v.createElement("input",{name:u,type:"hidden",value:m})}}},{key:"renderLiveRegion",value:function(){var o=this.commonProps,i=this.state,a=i.ariaSelection,s=i.focusedOption,l=i.focusedValue,u=i.isFocused,d=i.selectValue,c=this.getFocusableOptions();return v.createElement(LY,Ee({},o,{id:this.getElementId("live-region"),ariaSelection:a,focusedOption:s,focusedValue:l,isFocused:u,selectValue:d,focusableOptions:c,isAppleDevice:this.state.isAppleDevice}))}},{key:"render",value:function(){var o=this.getComponents(),i=o.Control,a=o.IndicatorsContainer,s=o.SelectContainer,l=o.ValueContainer,u=this.props,d=u.className,c=u.id,f=u.isDisabled,p=u.menuIsOpen,m=this.state.isFocused,g=this.commonProps=this.getCommonProps();return v.createElement(s,Ee({},g,{className:d,innerProps:{id:c,onKeyDown:this.onKeyDown},isDisabled:f,isFocused:m}),this.renderLiveRegion(),v.createElement(i,Ee({},g,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:f,isFocused:m,menuIsOpen:p}),v.createElement(l,Ee({},g,{isDisabled:f}),this.renderPlaceholderOrValue(),this.renderInput()),v.createElement(a,Ee({},g,{isDisabled:f}),this.renderClearIndicator(),this.renderLoadingIndicator(),this.renderIndicatorSeparator(),this.renderDropdownIndicator())),this.renderMenu(),this.renderFormField())}}],[{key:"getDerivedStateFromProps",value:function(o,i){var a=i.prevProps,s=i.clearFocusValueOnUpdate,l=i.inputIsHiddenAfterUpdate,u=i.ariaSelection,d=i.isFocused,c=i.prevWasFocused,f=i.instancePrefix,p=o.options,m=o.value,g=o.menuIsOpen,b=o.inputValue,y=o.isMulti,w=su(m),C={};if(a&&(m!==a.value||p!==a.options||g!==a.menuIsOpen||b!==a.inputValue)){var S=g?pU(o,w):[],E=g?aC(Ol(o,w),"".concat(f,"-option")):[],N=s?mU(i,w):null,A=gU(i,S),O=em(E,A);C={selectValue:w,focusedOption:A,focusedOptionId:O,focusableOptionsWithIds:E,focusedValue:N,clearFocusValueOnUpdate:!1}}var M=l!=null&&o!==a?{inputIsHidden:l,inputIsHiddenAfterUpdate:void 0}:{},V=u,T=d&&c;return d&&!T&&(V={value:wa(y,w,w[0]||null),options:w,action:"initial-input-focus"},T=!c),u?.action==="initial-input-focus"&&(V=null),Ce(Ce(Ce({},C),M),{},{prevProps:o,ariaSelection:V,prevWasFocused:T})}}]),n})(I.Component);Cv.defaultProps=hU;var vU=I.forwardRef(function(t,e){var n=EO(t);return v.createElement(Cv,Ee({ref:e},n))}),yU=vU,xU=["allowCreateWhileLoading","createOptionPosition","formatCreateLabel","isValidNewOption","getNewOptionData","onCreateOption","options","onChange"],lC=function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",n=arguments.length>1?arguments[1]:void 0,r=arguments.length>2?arguments[2]:void 0,o=String(e).toLowerCase(),i=String(r.getOptionValue(n)).toLowerCase(),a=String(r.getOptionLabel(n)).toLowerCase();return i===o||a===o},tm={formatCreateLabel:function(e){return'Create "'.concat(e,'"')},isValidNewOption:function(e,n,r,o){return!(!e||n.some(function(i){return lC(e,i,o)})||r.some(function(i){return lC(e,i,o)}))},getNewOptionData:function(e,n){return{label:n,value:e,__isNew__:!0}}};function wU(t){var e=t.allowCreateWhileLoading,n=e===void 0?!1:e,r=t.createOptionPosition,o=r===void 0?"last":r,i=t.formatCreateLabel,a=i===void 0?tm.formatCreateLabel:i,s=t.isValidNewOption,l=s===void 0?tm.isValidNewOption:s,u=t.getNewOptionData,d=u===void 0?tm.getNewOptionData:u,c=t.onCreateOption,f=t.options,p=f===void 0?[]:f,m=t.onChange,g=vr(t,xU),b=g.getOptionValue,y=b===void 0?KO:b,w=g.getOptionLabel,C=w===void 0?JO:w,S=g.inputValue,E=g.isLoading,N=g.isMulti,A=g.value,O=g.name,M=I.useMemo(function(){return l(S,su(A),p,{getOptionValue:y,getOptionLabel:C})?d(S,a(S)):void 0},[a,d,C,y,S,l,p,A]),V=I.useMemo(function(){return(n||!E)&&M?o==="first"?[M].concat(mi(p)):[].concat(mi(p),[M]):p},[n,o,E,M,p]),T=I.useCallback(function(k,_){if(_.action!=="select-option")return m(k,_);var B=Array.isArray(k)?k:[k];if(B[B.length-1]===M){if(c)c(S);else{var L=d(S,S),P={action:"create-option",name:O,option:L};m(wa(N,[].concat(mi(su(A)),[L]),L),P)}return}m(k,_)},[d,S,N,O,M,c,m,A]);return Ce(Ce({},g),{},{options:V,onChange:T})}var CU=I.forwardRef(function(t,e){var n=EO(t),r=wU(n);return v.createElement(Cv,Ee({ref:e},r))}),SU=CU;const EU={control:({isFocused:t,isDisabled:e})=>j("ui:min-h-10! ui:w-full ui:rounded-md! ui:bg-segmentify-200 ui:px-0! ui:text-sm ui:border ui:border-border!",t&&!e&&mo({variant:"isControlFocused"}),e&&mo({variant:"isDisabled"})),option:({isFocused:t,isSelected:e,isDisabled:n})=>j(mo({variant:"default"}),e&&mo({variant:"isSelected"}),!e&&t&&mo({variant:"isFocused"}),n&&mo({variant:"isDisabled"})),multiValue:()=>j(mo({variant:"multiSelected"})),multiValueLabel:()=>"ui:text-primary!",multiValueRemove:()=>"ui:text-primary!",placeholder:()=>"ui:text-segmentify-600"};function IU({label:t,name:e,options:n,value:r,onChange:o,onInputChange:i,placeholder:a,isClearable:s=!0,isSearchable:l=!0,isMulti:u=!0,isDisabled:d,description:c,className:f,isCreatable:p}){const m={"data-test-id":e,name:e,options:n,value:r,onChange:o,onInputChange:i,isClearable:s,isSearchable:l,isMulti:u,isDisabled:d,placeholder:a,classNames:EU};return h.jsxs("article",{children:[t&&h.jsx(Sn,{className:"ui:mb-2 ui:block",children:t}),h.jsx("div",{className:j("field-select ui:w-full select-wrapper ui:rounded-md! ui:text-sm",f),children:p?h.jsx(SU,{...m}):h.jsx(yU,{...m})}),c&&h.jsx(Ju,{description:c})]})}function aR({...t}){return h.jsx(Wu,{"data-slot":"sheet",...t})}function AU({...t}){return h.jsx(Eb,{"data-slot":"sheet-trigger",...t})}function TU({...t}){return h.jsx(fs,{"data-slot":"sheet-close",...t})}function NU({...t}){return h.jsx(Vu,{"data-slot":"sheet-portal",...t})}function _U({className:t,...e}){return h.jsx(Hu,{"data-slot":"sheet-overlay",className:j("ui:data-[state=open]:animate-in ui:data-[state=closed]:animate-out ui:data-[state=closed]:fade-out-0 ui:data-[state=open]:fade-in-0 ui:fixed ui:inset-0 ui:z-50 ui:bg-black/50",t),...e})}function sR({className:t,children:e,side:n="right",...r}){return h.jsxs(NU,{children:[h.jsx(_U,{}),h.jsxs(qu,{"data-slot":"sheet-content",className:j("ui:bg-background ui:data-[state=open]:animate-in ui:data-[state=closed]:animate-out ui:fixed ui:z-50 ui:flex ui:flex-col ui:gap-4 ui:shadow-lg ui:transition ui:ease-in-out ui:data-[state=closed]:duration-300 ui:data-[state=open]:duration-500",n==="right"&&"ui:data-[state=closed]:slide-out-to-right ui:data-[state=open]:slide-in-from-right ui:inset-y-0 ui:right-0 ui:h-full ui:w-3/4 ui:border-l ui:sm:max-w-sm",n==="left"&&"ui:data-[state=closed]:slide-out-to-left ui:data-[state=open]:slide-in-from-left ui:inset-y-0 ui:left-0 ui:h-full ui:w-3/4 ui:border-r ui:sm:max-w-sm",n==="top"&&"ui:data-[state=closed]:slide-out-to-top ui:data-[state=open]:slide-in-from-top ui:inset-x-0 ui:top-0 ui:h-auto ui:border-b",n==="bottom"&&"ui:data-[state=closed]:slide-out-to-bottom ui:data-[state=open]:slide-in-from-bottom ui:inset-x-0 ui:bottom-0 ui:h-auto ui:border-t",t),...r,children:[e,h.jsxs(fs,{"data-testid":"sheet-close-icon",className:"ui:ring-offset-background ui:focus:ring-ring ui:data-[state=open]:bg-secondary ui:absolute ui:top-4 ui:right-4 ui:rounded-xs ui:opacity-70 ui:transition-opacity ui:hover:opacity-100 ui:focus:ring-2 ui:focus:ring-offset-2 ui:focus:outline-hidden ui:disabled:pointer-events-none",children:[h.jsx(Su,{className:"ui:size-4"}),h.jsx("span",{className:"ui:sr-only",children:"Close"})]})]})]})}function lR({className:t,...e}){return h.jsx("div",{"data-slot":"sheet-header",className:j("ui:flex ui:flex-col ui:gap-1.5 ui:p-4",t),...e})}function OU({className:t,...e}){return h.jsx("div",{"data-slot":"sheet-footer",className:j("ui:mt-auto ui:flex ui:flex-col ui:gap-2 ui:p-4",t),...e})}function uR({className:t,...e}){return h.jsx(Ib,{"data-slot":"sheet-title",className:j("ui:text-foreground ui:font-semibold",t),...e})}function cR({className:t,...e}){return h.jsx(Ab,{"data-slot":"sheet-description",className:j("ui:text-muted-foreground ui:text-sm",t),...e})}const nm=768;function RU(){const[t,e]=v.useState();return v.useEffect(()=>{const n=window.matchMedia(`(max-width: ${nm-1}px)`),r=()=>{e(window.innerWidth<nm)};return n.addEventListener("change",r),e(window.innerWidth<nm),()=>n.removeEventListener("change",r)},[]),!!t}function hg({className:t,...e}){return h.jsx("div",{"data-slot":"skeleton",className:j("ui:bg-accent ui:animate-pulse ui:rounded-md ui:shrink-0",t),...e})}const dR=v.createContext(null);function Ec(){const t=v.useContext(dR);if(!t)throw new Error("useSidebar must be used within a SidebarProvider.");return t}const PU="sidebar_state",MU=3600*24*7,kU="16rem",DU="18rem",jU="3rem",LU="b";function BU({defaultOpen:t=!0,open:e,onOpenChange:n,className:r,style:o,children:i,...a}){const s=RU(),[l,u]=v.useState(!1),[d,c]=v.useState(t),f=e??d,p=v.useCallback(y=>{const w=typeof y=="function"?y(f):y;n?n(w):c(w),document.cookie=`${PU}=${w}; path=/; max-age=${MU}`},[n,f]),m=v.useCallback(()=>s?u(y=>!y):p(y=>!y),[s,p,u]);v.useEffect(()=>{const y=w=>{w.key===LU&&(w.metaKey||w.ctrlKey)&&(w.preventDefault(),m())};return window.addEventListener("keydown",y),()=>window.removeEventListener("keydown",y)},[m]);const g=f?"expanded":"collapsed",b=v.useMemo(()=>({state:g,open:f,setOpen:p,isMobile:s,openMobile:l,setOpenMobile:u,toggleSidebar:m}),[g,f,p,s,l,u,m]);return h.jsx(dR.Provider,{value:b,children:h.jsx(ov,{delayDuration:0,children:h.jsx("div",{"data-slot":"sidebar-wrapper",style:{"--sidebar-width":kU,"--sidebar-width-icon":jU,...o},className:j("ui:group/sidebar-wrapper ui:has-data-[variant=inset]:bg-sidebar ui:flex ui:min-h-svh ui:w-full",r),...a,children:i})})})}function FU({side:t="left",variant:e="sidebar",collapsible:n="offcanvas",className:r,children:o,...i}){const{isMobile:a,state:s,openMobile:l,setOpenMobile:u}=Ec();return n==="none"?h.jsx("div",{"data-slot":"sidebar",className:j("ui:bg-sidebar ui:text-sidebar-foreground ui:flex ui:h-full ui:w-(--sidebar-width) ui:flex-col",r),...i,children:o}):a?h.jsx(aR,{open:l,onOpenChange:u,...i,children:h.jsxs(sR,{"data-sidebar":"sidebar","data-slot":"sidebar","data-mobile":"true",className:"ui:bg-sidebar ui:text-sidebar-foreground ui:w-(--sidebar-width) ui:p-0 ui:[&>button]:hidden",style:{"--sidebar-width":DU},side:t,children:[h.jsxs(lR,{className:"ui:sr-only",children:[h.jsx(uR,{children:"Sidebar"}),h.jsx(cR,{children:"Displays the mobile sidebar."})]}),h.jsx("div",{className:"ui:flex ui:h-full ui:w-full ui:flex-col",children:o})]})}):h.jsxs("div",{className:"ui:group ui:peer ui:text-sidebar-foreground ui:hidden ui:md:block","data-state":s,"data-collapsible":s==="collapsed"?n:"","data-variant":e,"data-side":t,"data-slot":"sidebar",children:[h.jsx("div",{"data-slot":"sidebar-gap",className:j("ui:relative ui:w-(--sidebar-width) ui:bg-transparent ui:transition-[width] ui:duration-200 ui:ease-linear","ui:group-data-[collapsible=offcanvas]:w-0","ui:group-data-[side=right]:rotate-180",e==="floating"||e==="inset"?"ui:group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)+(--spacing(4)))]":"ui:group-data-[collapsible=icon]:w-(--sidebar-width-icon)")}),h.jsx("div",{"data-slot":"sidebar-container",className:j("ui:fixed ui:inset-y-0 ui:z-10 ui:hidden ui:h-svh ui:w-(--sidebar-width) ui:transition-[left,right,width] ui:duration-200 ui:ease-linear ui:md:flex",t==="left"?"ui:left-0 ui:group-data-[collapsible=offcanvas]:left-[calc(var(--sidebar-width)*-1)]":"ui:right-0 ui:group-data-[collapsible=offcanvas]:right-[calc(var(--sidebar-width)*-1)]",e==="floating"||e==="inset"?"ui:p-2 ui:group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)+(--spacing(4))+2px)]":"ui:group-data-[collapsible=icon]:w-(--sidebar-width-icon) ui:group-data-[side=left]:border-r ui:group-data-[side=right]:border-l",r),...i,children:h.jsx("div",{"data-sidebar":"sidebar","data-slot":"sidebar-inner",className:"ui:bg-sidebar ui:group-data-[variant=floating]:border-sidebar-border ui:flex ui:h-full ui:w-full ui:flex-col ui:group-data-[variant=floating]:rounded-lg ui:group-data-[variant=floating]:border ui:group-data-[variant=floating]:shadow-sm",children:o})})]})}function GU({className:t,onClick:e,...n}){const{toggleSidebar:r}=Ec();return h.jsxs(un,{"data-sidebar":"trigger","data-slot":"sidebar-trigger",variant:"ghost",size:"icon",className:j("ui:size-7",t),onClick:o=>{e?.(o),r()},...n,children:[h.jsx(oM,{}),h.jsx("span",{className:"ui:sr-only",children:"Toggle Sidebar"})]})}function $U({className:t,...e}){const{toggleSidebar:n}=Ec();return h.jsx("button",{"data-sidebar":"rail","data-slot":"sidebar-rail","aria-label":"Toggle Sidebar",tabIndex:-1,onClick:n,title:"Toggle Sidebar",className:j("ui:hover:after:bg-sidebar-border ui:absolute ui:inset-y-0 ui:z-20 ui:hidden ui:w-4 ui:-translate-x-1/2 ui:transition-all ui:ease-linear ui:group-data-[side=left]:-right-4 ui:group-data-[side=right]:left-0 ui:after:absolute ui:after:inset-y-0 ui:after:left-1/2 ui:after:w-[2px] ui:sm:flex","ui:in-data-[side=left]:cursor-w-resize ui:in-data-[side=right]:cursor-e-resize","ui:[[data-side=left][data-state=collapsed]_&]:cursor-e-resize ui:[[data-side=right][data-state=collapsed]_&]:cursor-w-resize","ui:hover:group-data-[collapsible=offcanvas]:bg-sidebar ui:group-data-[collapsible=offcanvas]:translate-x-0 ui:group-data-[collapsible=offcanvas]:after:left-full","ui:[[data-side=left][data-collapsible=offcanvas]_&]:-right-2","ui:[[data-side=right][data-collapsible=offcanvas]_&]:-left-2",t),...e})}function WU({className:t,...e}){return h.jsx("main",{"data-slot":"sidebar-inset",className:j("ui:bg-background ui:relative ui:flex ui:w-full ui:flex-1 ui:flex-col","ui:md:peer-data-[variant=inset]:m-2 ui:md:peer-data-[variant=inset]:ml-0 ui:md:peer-data-[variant=inset]:rounded-xl ui:md:peer-data-[variant=inset]:shadow-sm ui:md:peer-data-[variant=inset]:peer-data-[state=collapsed]:ml-2",t),...e})}function VU({className:t,...e}){return h.jsx(oc,{"data-slot":"sidebar-input","data-sidebar":"input",className:j("ui:bg-background ui:h-8 ui:w-full ui:shadow-none",t),...e})}function HU({className:t,...e}){return h.jsx("div",{"data-slot":"sidebar-header","data-sidebar":"header",className:j("ui:flex ui:flex-col ui:gap-2 ui:p-2",t),...e})}function qU({className:t,...e}){return h.jsx("div",{"data-slot":"sidebar-footer","data-sidebar":"footer",className:j("ui:flex ui:flex-col ui:gap-2 ui:p-2",t),...e})}function zU({className:t,...e}){return h.jsx(wO,{"data-slot":"sidebar-separator","data-sidebar":"separator",className:j("ui:bg-sidebar-border ui:mx-2 ui:w-auto",t),...e})}function XU({className:t,...e}){return h.jsx("div",{"data-slot":"sidebar-content","data-sidebar":"content",className:j("ui:flex ui:min-h-0 ui:flex-1 ui:flex-col ui:gap-2 ui:overflow-auto ui:group-data-[collapsible=icon]:overflow-hidden",t),...e})}function YU({className:t,...e}){return h.jsx("div",{"data-slot":"sidebar-group","data-sidebar":"group",className:j("ui:relative ui:flex ui:w-full ui:min-w-0 ui:flex-col ui:p-2",t),...e})}function UU({className:t,asChild:e=!1,...n}){const r=e?fr:"div";return h.jsx(r,{"data-slot":"sidebar-group-label","data-sidebar":"group-label",className:j("ui:text-sidebar-foreground/70 ui:ring-sidebar-ring ui:flex ui:h-8 ui:shrink-0 ui:items-center ui:rounded-md ui:px-2 ui:text-xs ui:font-medium ui:outline-hidden ui:transition-[margin,opacity] ui:duration-200 ui:ease-linear ui:focus-visible:ring-2 ui:[&>svg]:size-4 ui:[&>svg]:shrink-0","ui:group-data-[collapsible=icon]:-mt-8 ui:group-data-[collapsible=icon]:opacity-0",t),...n})}function ZU({className:t,asChild:e=!1,...n}){const r=e?fr:"button";return h.jsx(r,{"data-slot":"sidebar-group-action","data-sidebar":"group-action",className:j("ui:text-sidebar-foreground ui:ring-sidebar-ring ui:hover:bg-sidebar-accent ui:hover:text-sidebar-accent-foreground ui:absolute ui:top-3.5 ui:right-3 ui:flex ui:aspect-square ui:w-5 ui:items-center ui:justify-center ui:rounded-md ui:p-0 ui:outline-hidden ui:transition-transform ui:focus-visible:ring-2 ui:[&>svg]:size-4 ui:[&>svg]:shrink-0","ui:after:absolute ui:after:-inset-2 ui:md:after:hidden","ui:group-data-[collapsible=icon]:hidden",t),...n})}function JU({className:t,...e}){return h.jsx("div",{"data-slot":"sidebar-group-content","data-sidebar":"group-content",className:j("ui:w-full ui:text-sm",t),...e})}function KU({className:t,...e}){return h.jsx("ul",{"data-slot":"sidebar-menu","data-sidebar":"menu",className:j("ui:flex ui:w-full ui:min-w-0 ui:flex-col ui:gap-1",t),...e})}function QU({className:t,...e}){return h.jsx("li",{"data-slot":"sidebar-menu-item","data-sidebar":"menu-item",className:j("ui:group/menu-item ui:relative",t),...e})}const eZ=Li("ui:peer/menu-button ui:flex ui:w-full ui:items-center ui:gap-2 ui:overflow-hidden ui:rounded-md ui:p-2 ui:text-left ui:text-sm ui:outline-hidden ui:ring-sidebar-ring ui:transition-[width,height,padding] ui:hover:bg-sidebar-accent ui:hover:text-sidebar-accent-foreground ui:focus-visible:ring-2 ui:active:bg-sidebar-accent ui:active:text-sidebar-accent-foreground ui:disabled:pointer-events-none ui:disabled:opacity-50 ui:group-has-data-[sidebar=menu-action]/menu-item:pr-8 ui:aria-disabled:pointer-events-none ui:aria-disabled:opacity-50 ui:data-[active=true]:bg-sidebar-accent ui:data-[active=true]:font-medium ui:data-[active=true]:text-sidebar-accent-foreground ui:data-[state=open]:hover:bg-sidebar-accent ui:data-[state=open]:hover:text-sidebar-accent-foreground ui:group-data-[collapsible=icon]:size-8! ui:group-data-[collapsible=icon]:p-2! ui:[&>span:last-child]:truncate ui:[&>svg]:size-4 ui:[&>svg]:shrink-0",{variants:{variant:{default:"ui:hover:bg-sidebar-accent ui:hover:text-sidebar-accent-foreground",outline:"ui:bg-background ui:shadow-[0_0_0_1px_hsl(var(--sidebar-border))] ui:hover:bg-sidebar-accent ui:hover:text-sidebar-accent-foreground ui:hover:shadow-[0_0_0_1px_hsl(var(--sidebar-accent))]"},size:{default:"ui:h-8 ui:text-sm",sm:"ui:h-7 ui:text-xs",lg:"ui:h-12 ui:text-sm ui:group-data-[collapsible=icon]:p-0!"}},defaultVariants:{variant:"default",size:"default"}});function tZ({asChild:t=!1,isActive:e=!1,variant:n="default",size:r="default",tooltip:o,className:i,...a}){const s=t?fr:"button",{isMobile:l,state:u}=Ec(),d=h.jsx(s,{"data-slot":"sidebar-menu-button","data-sidebar":"menu-button","data-size":r,"data-active":e,className:j(eZ({variant:n,size:r}),i),...a});return o?(typeof o=="string"&&(o={children:o}),h.jsxs(iv,{children:[h.jsx(av,{asChild:!0,children:d}),h.jsx(uc,{side:"right",align:"center",hidden:u!=="collapsed"||l,...o})]})):d}function nZ({className:t,asChild:e=!1,showOnHover:n=!1,...r}){const o=e?fr:"button";return h.jsx(o,{"data-slot":"sidebar-menu-action","data-sidebar":"menu-action",className:j("ui:text-sidebar-foreground ui:ring-sidebar-ring ui:hover:bg-sidebar-accent ui:hover:text-sidebar-accent-foreground ui:peer-hover/menu-button:text-sidebar-accent-foreground ui:absolute ui:top-1.5 ui:right-1 ui:flex ui:aspect-square ui:w-5 ui:items-center ui:justify-center ui:rounded-md ui:p-0 ui:outline-hidden ui:transition-transform ui:focus-visible:ring-2 ui:[&>svg]:size-4 ui:[&>svg]:shrink-0","ui:after:absolute ui:after:-inset-2 ui:md:after:hidden","ui:peer-data-[size=sm]/menu-button:top-1","ui:peer-data-[size=default]/menu-button:top-1.5","ui:peer-data-[size=lg]/menu-button:top-2.5","ui:group-data-[collapsible=icon]:hidden",n&&"ui:peer-data-[active=true]/menu-button:text-sidebar-accent-foreground ui:group-focus-within/menu-item:opacity-100 ui:group-hover/menu-item:opacity-100 ui:data-[state=open]:opacity-100 ui:md:opacity-0",t),...r})}function rZ({className:t,...e}){return h.jsx("div",{"data-slot":"sidebar-menu-badge","data-sidebar":"menu-badge",className:j("ui:text-sidebar-foreground ui:pointer-events-none ui:absolute ui:right-1 ui:flex ui:h-5 ui:min-w-5 ui:items-center ui:justify-center ui:rounded-md ui:px-1 ui:text-xs ui:font-medium ui:tabular-nums ui:select-none","ui:peer-hover/menu-button:text-sidebar-accent-foreground ui:peer-data-[active=true]/menu-button:text-sidebar-accent-foreground","ui:peer-data-[size=sm]/menu-button:top-1","ui:peer-data-[size=default]/menu-button:top-1.5","ui:peer-data-[size=lg]/menu-button:top-2.5","ui:group-data-[collapsible=icon]:hidden",t),...e})}function oZ({className:t,showIcon:e=!1,...n}){const[r,o]=v.useState("80%");return v.useEffect(()=>{o(`${Math.floor(Math.random()*40)+50}%`)},[]),h.jsxs("div",{"data-slot":"sidebar-menu-skeleton","data-sidebar":"menu-skeleton",className:j("ui:flex ui:h-8 ui:items-center ui:gap-2 ui:rounded-md ui:px-2",t),...n,children:[e&&h.jsx(hg,{className:"ui:size-4 ui:rounded-md","data-sidebar":"menu-skeleton-icon"}),h.jsx(hg,{className:"ui:h-4 ui:max-w-(--skeleton-width) ui:flex-1","data-sidebar":"menu-skeleton-text",style:{"--skeleton-width":r}})]})}function iZ({className:t,...e}){return h.jsx("ul",{"data-slot":"sidebar-menu-sub","data-sidebar":"menu-sub",className:j("ui:border-sidebar-border ui:mx-3.5 ui:flex ui:min-w-0 ui:translate-x-px ui:flex-col ui:gap-1 ui:border-l ui:px-2.5 ui:py-0.5","ui:group-data-[collapsible=icon]:hidden",t),...e})}function aZ({className:t,...e}){return h.jsx("li",{"data-slot":"sidebar-menu-sub-item","data-sidebar":"menu-sub-item",className:j("ui:group/menu-sub-item ui:relative",t),...e})}function sZ({asChild:t=!1,size:e="md",isActive:n=!1,className:r,...o}){const i=t?fr:"a";return h.jsx(i,{"data-slot":"sidebar-menu-sub-button","data-sidebar":"menu-sub-button","data-size":e,"data-active":n,className:j("ui:text-sidebar-foreground ui:ring-sidebar-ring ui:hover:bg-sidebar-accent ui:hover:text-sidebar-accent-foreground ui:active:bg-sidebar-accent ui:active:text-sidebar-accent-foreground ui:[&>svg]:text-sidebar-accent-foreground ui:flex ui:h-7 ui:min-w-0 ui:-translate-x-px ui:items-center ui:gap-2 ui:overflow-hidden ui:rounded-md ui:px-2 ui:outline-hidden ui:focus-visible:ring-2 ui:disabled:pointer-events-none ui:disabled:opacity-50 ui:aria-disabled:pointer-events-none ui:aria-disabled:opacity-50 ui:[&>span:last-child]:truncate ui:[&>svg]:size-4 ui:[&>svg]:shrink-0","ui:data-[active=true]:bg-sidebar-accent ui:data-[active=true]:text-sidebar-accent-foreground",e==="sm"&&"ui:text-xs",e==="md"&&"ui:text-sm","ui:group-data-[collapsible=icon]:hidden",r),...o})}var fR=["PageUp","PageDown"],hR=["ArrowUp","ArrowDown","ArrowLeft","ArrowRight"],pR={"from-left":["Home","PageDown","ArrowDown","ArrowLeft"],"from-right":["Home","PageDown","ArrowDown","ArrowRight"],"from-bottom":["Home","PageDown","ArrowDown","ArrowLeft"],"from-top":["Home","PageDown","ArrowUp","ArrowLeft"]},qi="Slider",[pg,lZ,uZ]=es(qi),[mR]=At(qi,[uZ]),[cZ,Ic]=mR(qi),gR=v.forwardRef((t,e)=>{const{name:n,min:r=0,max:o=100,step:i=1,orientation:a="horizontal",disabled:s=!1,minStepsBetweenThumbs:l=0,defaultValue:u=[r],value:d,onValueChange:c=()=>{},onValueCommit:f=()=>{},inverted:p=!1,form:m,...g}=t,b=v.useRef(new Set),y=v.useRef(0),C=a==="horizontal"?dZ:fZ,[S=[],E]=jt({prop:d,defaultProp:u,onChange:T=>{[...b.current][y.current]?.focus(),c(T)}}),N=v.useRef(S);function A(T){const k=bZ(S,T);V(T,k)}function O(T){V(T,y.current)}function M(){const T=N.current[y.current];S[y.current]!==T&&f(S)}function V(T,k,{commit:_}={commit:!1}){const B=wZ(i),L=CZ(Math.round((T-r)/i)*i+r,B),P=Ha(L,[r,o]);E((G=[])=>{const D=mZ(G,P,k);if(xZ(D,l*i)){y.current=D.indexOf(P);const H=String(D)!==String(G);return H&&_&&f(D),H?D:G}else return G})}return h.jsx(cZ,{scope:t.__scopeSlider,name:n,disabled:s,min:r,max:o,valueIndexToChangeRef:y,thumbs:b.current,values:S,orientation:a,form:m,children:h.jsx(pg.Provider,{scope:t.__scopeSlider,children:h.jsx(pg.Slot,{scope:t.__scopeSlider,children:h.jsx(C,{"aria-disabled":s,"data-disabled":s?"":void 0,...g,ref:e,onPointerDown:se(g.onPointerDown,()=>{s||(N.current=S)}),min:r,max:o,inverted:p,onSlideStart:s?void 0:A,onSlideMove:s?void 0:O,onSlideEnd:s?void 0:M,onHomeKeyDown:()=>!s&&V(r,0,{commit:!0}),onEndKeyDown:()=>!s&&V(o,S.length-1,{commit:!0}),onStepKeyDown:({event:T,direction:k})=>{if(!s){const L=fR.includes(T.key)||T.shiftKey&&hR.includes(T.key)?10:1,P=y.current,G=S[P],D=i*L*k;V(G+D,P,{commit:!0})}}})})})})});gR.displayName=qi;var[bR,vR]=mR(qi,{startEdge:"left",endEdge:"right",size:"width",direction:1}),dZ=v.forwardRef((t,e)=>{const{min:n,max:r,dir:o,inverted:i,onSlideStart:a,onSlideMove:s,onSlideEnd:l,onStepKeyDown:u,...d}=t,[c,f]=v.useState(null),p=Se(e,C=>f(C)),m=v.useRef(void 0),g=Qr(o),b=g==="ltr",y=b&&!i||!b&&i;function w(C){const S=m.current||c.getBoundingClientRect(),E=[0,S.width],A=Sv(E,y?[n,r]:[r,n]);return m.current=S,A(C-S.left)}return h.jsx(bR,{scope:t.__scopeSlider,startEdge:y?"left":"right",endEdge:y?"right":"left",direction:y?1:-1,size:"width",children:h.jsx(yR,{dir:g,"data-orientation":"horizontal",...d,ref:p,style:{...d.style,"--radix-slider-thumb-transform":"translateX(-50%)"},onSlideStart:C=>{const S=w(C.clientX);a?.(S)},onSlideMove:C=>{const S=w(C.clientX);s?.(S)},onSlideEnd:()=>{m.current=void 0,l?.()},onStepKeyDown:C=>{const E=pR[y?"from-left":"from-right"].includes(C.key);u?.({event:C,direction:E?-1:1})}})})}),fZ=v.forwardRef((t,e)=>{const{min:n,max:r,inverted:o,onSlideStart:i,onSlideMove:a,onSlideEnd:s,onStepKeyDown:l,...u}=t,d=v.useRef(null),c=Se(e,d),f=v.useRef(void 0),p=!o;function m(g){const b=f.current||d.current.getBoundingClientRect(),y=[0,b.height],C=Sv(y,p?[r,n]:[n,r]);return f.current=b,C(g-b.top)}return h.jsx(bR,{scope:t.__scopeSlider,startEdge:p?"bottom":"top",endEdge:p?"top":"bottom",size:"height",direction:p?1:-1,children:h.jsx(yR,{"data-orientation":"vertical",...u,ref:c,style:{...u.style,"--radix-slider-thumb-transform":"translateY(50%)"},onSlideStart:g=>{const b=m(g.clientY);i?.(b)},onSlideMove:g=>{const b=m(g.clientY);a?.(b)},onSlideEnd:()=>{f.current=void 0,s?.()},onStepKeyDown:g=>{const y=pR[p?"from-bottom":"from-top"].includes(g.key);l?.({event:g,direction:y?-1:1})}})})}),yR=v.forwardRef((t,e)=>{const{__scopeSlider:n,onSlideStart:r,onSlideMove:o,onSlideEnd:i,onHomeKeyDown:a,onEndKeyDown:s,onStepKeyDown:l,...u}=t,d=Ic(qi,n);return h.jsx(he.span,{...u,ref:e,onKeyDown:se(t.onKeyDown,c=>{c.key==="Home"?(a(c),c.preventDefault()):c.key==="End"?(s(c),c.preventDefault()):fR.concat(hR).includes(c.key)&&(l(c),c.preventDefault())}),onPointerDown:se(t.onPointerDown,c=>{const f=c.target;f.setPointerCapture(c.pointerId),c.preventDefault(),d.thumbs.has(f)?f.focus():r(c)}),onPointerMove:se(t.onPointerMove,c=>{c.target.hasPointerCapture(c.pointerId)&&o(c)}),onPointerUp:se(t.onPointerUp,c=>{const f=c.target;f.hasPointerCapture(c.pointerId)&&(f.releasePointerCapture(c.pointerId),i(c))})})}),xR="SliderTrack",wR=v.forwardRef((t,e)=>{const{__scopeSlider:n,...r}=t,o=Ic(xR,n);return h.jsx(he.span,{"data-disabled":o.disabled?"":void 0,"data-orientation":o.orientation,...r,ref:e})});wR.displayName=xR;var mg="SliderRange",CR=v.forwardRef((t,e)=>{const{__scopeSlider:n,...r}=t,o=Ic(mg,n),i=vR(mg,n),a=v.useRef(null),s=Se(e,a),l=o.values.length,u=o.values.map(f=>IR(f,o.min,o.max)),d=l>1?Math.min(...u):0,c=100-Math.max(...u);return h.jsx(he.span,{"data-orientation":o.orientation,"data-disabled":o.disabled?"":void 0,...r,ref:s,style:{...t.style,[i.startEdge]:d+"%",[i.endEdge]:c+"%"}})});CR.displayName=mg;var gg="SliderThumb",SR=v.forwardRef((t,e)=>{const n=lZ(t.__scopeSlider),[r,o]=v.useState(null),i=Se(e,s=>o(s)),a=v.useMemo(()=>r?n().findIndex(s=>s.ref.current===r):-1,[n,r]);return h.jsx(hZ,{...t,ref:i,index:a})}),hZ=v.forwardRef((t,e)=>{const{__scopeSlider:n,index:r,name:o,...i}=t,a=Ic(gg,n),s=vR(gg,n),[l,u]=v.useState(null),d=Se(e,w=>u(w)),c=l?a.form||!!l.closest("form"):!0,f=us(l),p=a.values[r],m=p===void 0?0:IR(p,a.min,a.max),g=gZ(r,a.values.length),b=f?.[s.size],y=b?vZ(b,m,s.direction):0;return v.useEffect(()=>{if(l)return a.thumbs.add(l),()=>{a.thumbs.delete(l)}},[l,a.thumbs]),h.jsxs("span",{style:{transform:"var(--radix-slider-thumb-transform)",position:"absolute",[s.startEdge]:`calc(${m}% + ${y}px)`},children:[h.jsx(pg.ItemSlot,{scope:t.__scopeSlider,children:h.jsx(he.span,{role:"slider","aria-label":t["aria-label"]||g,"aria-valuemin":a.min,"aria-valuenow":p,"aria-valuemax":a.max,"aria-orientation":a.orientation,"data-orientation":a.orientation,"data-disabled":a.disabled?"":void 0,tabIndex:a.disabled?void 0:0,...i,ref:d,style:p===void 0?{display:"none"}:t.style,onFocus:se(t.onFocus,()=>{a.valueIndexToChangeRef.current=r})})}),c&&h.jsx(ER,{name:o??(a.name?a.name+(a.values.length>1?"[]":""):void 0),form:a.form,value:p},r)]})});SR.displayName=gg;var pZ="RadioBubbleInput",ER=v.forwardRef(({__scopeSlider:t,value:e,...n},r)=>{const o=v.useRef(null),i=Se(o,r),a=ls(e);return v.useEffect(()=>{const s=o.current;if(!s)return;const l=window.HTMLInputElement.prototype,d=Object.getOwnPropertyDescriptor(l,"value").set;if(a!==e&&d){const c=new Event("input",{bubbles:!0});d.call(s,e),s.dispatchEvent(c)}},[a,e]),h.jsx(he.input,{style:{display:"none"},...n,ref:i,defaultValue:e})});ER.displayName=pZ;function mZ(t=[],e,n){const r=[...t];return r[n]=e,r.sort((o,i)=>o-i)}function IR(t,e,n){const i=100/(n-e)*(t-e);return Ha(i,[0,100])}function gZ(t,e){return e>2?`Value ${t+1} of ${e}`:e===2?["Minimum","Maximum"][t]:void 0}function bZ(t,e){if(t.length===1)return 0;const n=t.map(o=>Math.abs(o-e)),r=Math.min(...n);return n.indexOf(r)}function vZ(t,e,n){const r=t/2,i=Sv([0,50],[0,r]);return(r-i(e)*n)*n}function yZ(t){return t.slice(0,-1).map((e,n)=>t[n+1]-e)}function xZ(t,e){if(e>0){const n=yZ(t);return Math.min(...n)>=e}return!0}function Sv(t,e){return n=>{if(t[0]===t[1]||e[0]===e[1])return e[0];const r=(e[1]-e[0])/(t[1]-t[0]);return e[0]+r*(n-t[0])}}function wZ(t){return(String(t).split(".")[1]||"").length}function CZ(t,e){const n=Math.pow(10,e);return Math.round(t*n)/n}var SZ=gR,EZ=wR,IZ=CR,AZ=SR;function TZ({className:t,defaultValue:e,value:n,min:r=0,max:o=100,...i}){const a=v.useMemo(()=>Array.isArray(n)?n:Array.isArray(e)?e:[r,o],[n,e,r,o]);return h.jsxs(SZ,{"data-slot":"slider",defaultValue:e,value:n,min:r,max:o,className:j("ui:relative ui:flex ui:w-full ui:touch-none ui:items-center ui:select-none ui:data-[disabled]:opacity-50 ui:data-[orientation=vertical]:h-full ui:data-[orientation=vertical]:min-h-44 ui:data-[orientation=vertical]:w-auto ui:data-[orientation=vertical]:flex-col",t),...i,children:[h.jsx(EZ,{"data-slot":"slider-track",className:j("ui:bg-muted ui:relative ui:grow ui:overflow-hidden ui:rounded-full ui:data-[orientation=horizontal]:h-1.5 ui:data-[orientation=horizontal]:w-full ui:data-[orientation=vertical]:h-full ui:data-[orientation=vertical]:w-1.5"),children:h.jsx(IZ,{"data-slot":"slider-range",className:j("ui:bg-primary ui:absolute ui:data-[orientation=horizontal]:h-full ui:data-[orientation=vertical]:w-full")})}),Array.from({length:a.length},(s,l)=>h.jsx(AZ,{"data-slot":"slider-thumb",className:"ui:border-primary ui:ring-ring/50 ui:block ui:size-4 ui:shrink-0 ui:rounded-full ui:border ui:bg-white ui:shadow-sm ui:transition-[color,box-shadow] ui:hover:ring-4 ui:focus-visible:ring-4 ui:focus-visible:outline-hidden ui:disabled:pointer-events-none ui:disabled:opacity-50"},l))]})}var NZ=(t,e,n,r,o,i,a,s)=>{let l=document.documentElement,u=["light","dark"];function d(p){(Array.isArray(t)?t:[t]).forEach(m=>{let g=m==="class",b=g&&i?o.map(y=>i[y]||y):o;g?(l.classList.remove(...b),l.classList.add(i&&i[p]?i[p]:p)):l.setAttribute(m,p)}),c(p)}function c(p){s&&u.includes(p)&&(l.style.colorScheme=p)}function f(){return window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}if(r)d(r);else try{let p=localStorage.getItem(e)||n,m=a&&p==="system"?f():p;d(m)}catch{}},_Z=v.createContext(void 0),OZ={setTheme:t=>{},themes:[]},RZ=()=>{var t;return(t=v.useContext(_Z))!=null?t:OZ};v.memo(({forcedTheme:t,storageKey:e,attribute:n,enableSystem:r,enableColorScheme:o,defaultTheme:i,value:a,themes:s,nonce:l,scriptProps:u})=>{let d=JSON.stringify([n,e,i,t,s,a,r,o]).slice(1,-1);return v.createElement("script",{...u,suppressHydrationWarning:!0,nonce:typeof window>"u"?l:"",dangerouslySetInnerHTML:{__html:`(${NZ.toString()})(${d})`}})});const PZ=({...t})=>{const{theme:e="system"}=RZ();return h.jsx(Az,{theme:e,className:"ui:toaster ui:group",icons:{success:h.jsx(G2,{className:"ui:size-4"}),info:h.jsx(ts,{className:"ui:size-4"}),warning:h.jsx(lM,{className:"ui:size-4"}),error:h.jsx(nM,{className:"ui:size-4"}),loading:h.jsx(Cu,{className:"ui:size-4 ui:animate-spin"})},style:{"--normal-bg":"var(--ui-popover)","--normal-text":"var(--ui-popover-foreground)","--normal-border":"var(--ui-border)","--border-radius":"var(--ui-radius)"},...t})};function MZ({title:t,containerClassName:e,className:n,...r}){return h.jsx("section",{className:j(e),children:h.jsxs("div",{className:"ui:flex ui:gap-1 ui:items-center",children:[h.jsx(Cu,{role:"status","aria-label":"Loading",className:j("ui:size-4 ui:animate-spin",n),...r}),t&&h.jsx("span",{children:t})]})})}var Ac="Tabs",[kZ]=At(Ac,[Wi]),AR=Wi(),[DZ,Ev]=kZ(Ac),TR=v.forwardRef((t,e)=>{const{__scopeTabs:n,value:r,onValueChange:o,defaultValue:i,orientation:a="horizontal",dir:s,activationMode:l="automatic",...u}=t,d=Qr(s),[c,f]=jt({prop:r,onChange:o,defaultProp:i??"",caller:Ac});return h.jsx(DZ,{scope:n,baseId:ft(),value:c,onValueChange:f,orientation:a,dir:d,activationMode:l,children:h.jsx(he.div,{dir:d,"data-orientation":a,...u,ref:e})})});TR.displayName=Ac;var NR="TabsList",_R=v.forwardRef((t,e)=>{const{__scopeTabs:n,loop:r=!0,...o}=t,i=Ev(NR,n),a=AR(n);return h.jsx(zb,{asChild:!0,...a,orientation:i.orientation,dir:i.dir,loop:r,children:h.jsx(he.div,{role:"tablist","aria-orientation":i.orientation,...o,ref:e})})});_R.displayName=NR;var OR="TabsTrigger",RR=v.forwardRef((t,e)=>{const{__scopeTabs:n,value:r,disabled:o=!1,...i}=t,a=Ev(OR,n),s=AR(n),l=kR(a.baseId,r),u=DR(a.baseId,r),d=r===a.value;return h.jsx(Xb,{asChild:!0,...s,focusable:!o,active:d,children:h.jsx(he.button,{type:"button",role:"tab","aria-selected":d,"aria-controls":u,"data-state":d?"active":"inactive","data-disabled":o?"":void 0,disabled:o,id:l,...i,ref:e,onMouseDown:se(t.onMouseDown,c=>{!o&&c.button===0&&c.ctrlKey===!1?a.onValueChange(r):c.preventDefault()}),onKeyDown:se(t.onKeyDown,c=>{[" ","Enter"].includes(c.key)&&a.onValueChange(r)}),onFocus:se(t.onFocus,()=>{const c=a.activationMode!=="manual";!d&&!o&&c&&a.onValueChange(r)})})})});RR.displayName=OR;var PR="TabsContent",MR=v.forwardRef((t,e)=>{const{__scopeTabs:n,value:r,forceMount:o,children:i,...a}=t,s=Ev(PR,n),l=kR(s.baseId,r),u=DR(s.baseId,r),d=r===s.value,c=v.useRef(d);return v.useEffect(()=>{const f=requestAnimationFrame(()=>c.current=!1);return()=>cancelAnimationFrame(f)},[]),h.jsx(pt,{present:o||d,children:({present:f})=>h.jsx(he.div,{"data-state":d?"active":"inactive","data-orientation":s.orientation,role:"tabpanel","aria-labelledby":l,hidden:!f,id:u,tabIndex:0,...a,ref:e,style:{...t.style,animationDuration:c.current?"0s":void 0},children:f&&i})})});MR.displayName=PR;function kR(t,e){return`${t}-trigger-${e}`}function DR(t,e){return`${t}-content-${e}`}var jZ=TR,LZ=_R,BZ=RR,FZ=MR;function GZ({className:t,...e}){return h.jsx(jZ,{"data-slot":"tabs",className:j("ui:flex ui:flex-col ui:gap-2",t),...e})}function $Z({className:t,...e}){return h.jsx(LZ,{"data-slot":"tabs-list",className:j("ui:bg-muted ui:text-muted-foreground ui:inline-flex ui:h-9 ui:w-fit ui:items-center ui:justify-center ui:rounded-lg ui:p-[3px]",t),...e})}function WZ({className:t,...e}){return h.jsx(BZ,{"data-slot":"tabs-trigger",className:j("ui:data-[state=active]:bg-background ui:dark:data-[state=active]:text-foreground ui:focus-visible:border-ring ui:focus-visible:ring-ring/50 ui:focus-visible:outline-ring ui:dark:data-[state=active]:border-input ui:dark:data-[state=active]:bg-input/30 ui:text-foreground ui:dark:text-muted-foreground ui:inline-flex ui:h-[calc(100%-1px)] ui:flex-1 ui:items-center ui:justify-center ui:gap-1.5 ui:rounded-md ui:border ui:border-transparent ui:px-2 ui:py-1 ui:text-sm ui:font-medium ui:whitespace-nowrap ui:transition-[color,box-shadow] ui:focus-visible:ring-[3px] ui:focus-visible:outline-1 ui:disabled:pointer-events-none ui:disabled:opacity-50 ui:data-[state=active]:shadow-sm ui:[&_svg]:pointer-events-none ui:[&_svg]:shrink-0 ui:[&_svg:not([class*='size-'])]:size-4",t),...e})}function VZ({className:t,...e}){return h.jsx(FZ,{"data-slot":"tabs-content",className:j("ui:flex-1 ui:outline-none",t),...e})}function HZ({className:t,...e}){return h.jsx("div",{"data-slot":"table-container",className:"ui:overflow-x-auto",children:h.jsx("table",{"data-slot":"table",className:j("ui:data-grid ui:min-w-full ui:text-left ui:text-sm ui:font-light ui:text-surface ui:dark:text-white",t),...e})})}function qZ({className:t,disableHover:e=!1,...n}){return h.jsx("thead",{"data-slot":"table-header",className:j("ui:border-b ui:border-neutral-200 ui:font-medium ui:bg-zinc-700 ui:text-white",!e&&"ui:hover:bg-zinc-700 ui:hover:text-white",t),...n})}function zZ({className:t,...e}){return h.jsx("th",{"data-slot":"table-head",className:j("ui:p-2 ui:whitespace-nowrap",t),...e})}function XZ({className:t,...e}){return h.jsx("tbody",{"data-slot":"table-body",className:j("ui:border-b ui:bg-white ui:[&_tr:last-child]:border-0",t),...e})}function YZ({className:t,...e}){return h.jsx("tr",{className:j("ui:border-b ui:border-neutral-200",t),...e})}function UZ({className:t,disableHover:e=!1,...n}){return h.jsx("tr",{"data-slot":"table-row",className:j("ui:border-b ui:border-neutral-200",!e&&"ui:hover:bg-neutral-300",t),...n})}function ZZ({className:t,...e}){return h.jsx("td",{"data-slot":"table-cell",className:j("ui:whitespace-nowrap ui:p-2",t),...e})}function JZ({className:t,...e}){return h.jsx("caption",{"data-slot":"table-caption",className:j("ui:mt-4 ui:text-sm ui:text-muted-foreground",t),...e})}function KZ({className:t,...e}){return h.jsx("tfoot",{"data-slot":"table-footer",className:j("ui:border-t ui:bg-muted/50 ui:font-medium ui:[&>tr]:last:border-b-0",t),...e})}var jR=typeof global=="object"&&global&&global.Object===Object&&global,QZ=typeof self=="object"&&self&&self.Object===Object&&self,yr=jR||QZ||Function("return this")(),Kr=yr.Symbol,LR=Object.prototype,eJ=LR.hasOwnProperty,tJ=LR.toString,ca=Kr?Kr.toStringTag:void 0;function nJ(t){var e=eJ.call(t,ca),n=t[ca];try{t[ca]=void 0;var r=!0}catch{}var o=tJ.call(t);return r&&(e?t[ca]=n:delete t[ca]),o}var rJ=Object.prototype,oJ=rJ.toString;function iJ(t){return oJ.call(t)}var aJ="[object Null]",sJ="[object Undefined]",uC=Kr?Kr.toStringTag:void 0;function zi(t){return t==null?t===void 0?sJ:aJ:uC&&uC in Object(t)?nJ(t):iJ(t)}function Mr(t){return t!=null&&typeof t=="object"}var Oo=Array.isArray;function so(t){var e=typeof t;return t!=null&&(e=="object"||e=="function")}function BR(t){return t}var lJ="[object AsyncFunction]",uJ="[object Function]",cJ="[object GeneratorFunction]",dJ="[object Proxy]";function Iv(t){if(!so(t))return!1;var e=zi(t);return e==uJ||e==cJ||e==lJ||e==dJ}var rm=yr["__core-js_shared__"],cC=(function(){var t=/[^.]+$/.exec(rm&&rm.keys&&rm.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""})();function fJ(t){return!!cC&&cC in t}var hJ=Function.prototype,pJ=hJ.toString;function $o(t){if(t!=null){try{return pJ.call(t)}catch{}try{return t+""}catch{}}return""}var mJ=/[\\^$.*+?()[\]{}|]/g,gJ=/^\[object .+?Constructor\]$/,bJ=Function.prototype,vJ=Object.prototype,yJ=bJ.toString,xJ=vJ.hasOwnProperty,wJ=RegExp("^"+yJ.call(xJ).replace(mJ,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function CJ(t){if(!so(t)||fJ(t))return!1;var e=Iv(t)?wJ:gJ;return e.test($o(t))}function SJ(t,e){return t?.[e]}function Wo(t,e){var n=SJ(t,e);return CJ(n)?n:void 0}var bg=Wo(yr,"WeakMap"),dC=Object.create,EJ=(function(){function t(){}return function(e){if(!so(e))return{};if(dC)return dC(e);t.prototype=e;var n=new t;return t.prototype=void 0,n}})();function IJ(t,e,n){switch(n.length){case 0:return t.call(e);case 1:return t.call(e,n[0]);case 2:return t.call(e,n[0],n[1]);case 3:return t.call(e,n[0],n[1],n[2])}return t.apply(e,n)}function AJ(t,e){var n=-1,r=t.length;for(e||(e=Array(r));++n<r;)e[n]=t[n];return e}var TJ=800,NJ=16,_J=Date.now;function OJ(t){var e=0,n=0;return function(){var r=_J(),o=NJ-(r-n);if(n=r,o>0){if(++e>=TJ)return arguments[0]}else e=0;return t.apply(void 0,arguments)}}function RJ(t){return function(){return t}}var cu=(function(){try{var t=Wo(Object,"defineProperty");return t({},"",{}),t}catch{}})(),PJ=cu?function(t,e){return cu(t,"toString",{configurable:!0,enumerable:!1,value:RJ(e),writable:!0})}:BR,MJ=OJ(PJ);function kJ(t,e){for(var n=-1,r=t==null?0:t.length;++n<r&&e(t[n],n,t)!==!1;);return t}var DJ=9007199254740991,jJ=/^(?:0|[1-9]\d*)$/;function FR(t,e){var n=typeof t;return e=e??DJ,!!e&&(n=="number"||n!="symbol"&&jJ.test(t))&&t>-1&&t%1==0&&t<e}function Av(t,e,n){e=="__proto__"&&cu?cu(t,e,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[e]=n}function As(t,e){return t===e||t!==t&&e!==e}var LJ=Object.prototype,BJ=LJ.hasOwnProperty;function GR(t,e,n){var r=t[e];(!(BJ.call(t,e)&&As(r,n))||n===void 0&&!(e in t))&&Av(t,e,n)}function FJ(t,e,n,r){var o=!n;n||(n={});for(var i=-1,a=e.length;++i<a;){var s=e[i],l=void 0;l===void 0&&(l=t[s]),o?Av(n,s,l):GR(n,s,l)}return n}var fC=Math.max;function GJ(t,e,n){return e=fC(e===void 0?t.length-1:e,0),function(){for(var r=arguments,o=-1,i=fC(r.length-e,0),a=Array(i);++o<i;)a[o]=r[e+o];o=-1;for(var s=Array(e+1);++o<e;)s[o]=r[o];return s[e]=n(a),IJ(t,this,s)}}function $J(t,e){return MJ(GJ(t,e,BR),t+"")}var WJ=9007199254740991;function $R(t){return typeof t=="number"&&t>-1&&t%1==0&&t<=WJ}function Tc(t){return t!=null&&$R(t.length)&&!Iv(t)}function VJ(t,e,n){if(!so(n))return!1;var r=typeof e;return(r=="number"?Tc(n)&&FR(e,n.length):r=="string"&&e in n)?As(n[e],t):!1}function HJ(t){return $J(function(e,n){var r=-1,o=n.length,i=o>1?n[o-1]:void 0,a=o>2?n[2]:void 0;for(i=t.length>3&&typeof i=="function"?(o--,i):void 0,a&&VJ(n[0],n[1],a)&&(i=o<3?void 0:i,o=1),e=Object(e);++r<o;){var s=n[r];s&&t(e,s,r,i)}return e})}var qJ=Object.prototype;function Tv(t){var e=t&&t.constructor,n=typeof e=="function"&&e.prototype||qJ;return t===n}function zJ(t,e){for(var n=-1,r=Array(t);++n<t;)r[n]=e(n);return r}var XJ="[object Arguments]";function hC(t){return Mr(t)&&zi(t)==XJ}var WR=Object.prototype,YJ=WR.hasOwnProperty,UJ=WR.propertyIsEnumerable,vg=hC((function(){return arguments})())?hC:function(t){return Mr(t)&&YJ.call(t,"callee")&&!UJ.call(t,"callee")};function ZJ(){return!1}var VR=typeof exports=="object"&&exports&&!exports.nodeType&&exports,pC=VR&&typeof module=="object"&&module&&!module.nodeType&&module,JJ=pC&&pC.exports===VR,mC=JJ?yr.Buffer:void 0,KJ=mC?mC.isBuffer:void 0,Ya=KJ||ZJ,QJ="[object Arguments]",eK="[object Array]",tK="[object Boolean]",nK="[object Date]",rK="[object Error]",oK="[object Function]",iK="[object Map]",aK="[object Number]",sK="[object Object]",lK="[object RegExp]",uK="[object Set]",cK="[object String]",dK="[object WeakMap]",fK="[object ArrayBuffer]",hK="[object DataView]",pK="[object Float32Array]",mK="[object Float64Array]",gK="[object Int8Array]",bK="[object Int16Array]",vK="[object Int32Array]",yK="[object Uint8Array]",xK="[object Uint8ClampedArray]",wK="[object Uint16Array]",CK="[object Uint32Array]",rt={};rt[pK]=rt[mK]=rt[gK]=rt[bK]=rt[vK]=rt[yK]=rt[xK]=rt[wK]=rt[CK]=!0;rt[QJ]=rt[eK]=rt[fK]=rt[tK]=rt[hK]=rt[nK]=rt[rK]=rt[oK]=rt[iK]=rt[aK]=rt[sK]=rt[lK]=rt[uK]=rt[cK]=rt[dK]=!1;function SK(t){return Mr(t)&&$R(t.length)&&!!rt[zi(t)]}function Nv(t){return function(e){return t(e)}}var HR=typeof exports=="object"&&exports&&!exports.nodeType&&exports,Aa=HR&&typeof module=="object"&&module&&!module.nodeType&&module,EK=Aa&&Aa.exports===HR,om=EK&&jR.process,Ri=(function(){try{var t=Aa&&Aa.require&&Aa.require("util").types;return t||om&&om.binding&&om.binding("util")}catch{}})(),gC=Ri&&Ri.isTypedArray,_v=gC?Nv(gC):SK,IK=Object.prototype,AK=IK.hasOwnProperty;function qR(t,e){var n=Oo(t),r=!n&&vg(t),o=!n&&!r&&Ya(t),i=!n&&!r&&!o&&_v(t),a=n||r||o||i,s=a?zJ(t.length,String):[],l=s.length;for(var u in t)(e||AK.call(t,u))&&!(a&&(u=="length"||o&&(u=="offset"||u=="parent")||i&&(u=="buffer"||u=="byteLength"||u=="byteOffset")||FR(u,l)))&&s.push(u);return s}function zR(t,e){return function(n){return t(e(n))}}var TK=zR(Object.keys,Object),NK=Object.prototype,_K=NK.hasOwnProperty;function OK(t){if(!Tv(t))return TK(t);var e=[];for(var n in Object(t))_K.call(t,n)&&n!="constructor"&&e.push(n);return e}function RK(t){return Tc(t)?qR(t):OK(t)}function PK(t){var e=[];if(t!=null)for(var n in Object(t))e.push(n);return e}var MK=Object.prototype,kK=MK.hasOwnProperty;function DK(t){if(!so(t))return PK(t);var e=Tv(t),n=[];for(var r in t)r=="constructor"&&(e||!kK.call(t,r))||n.push(r);return n}function XR(t){return Tc(t)?qR(t,!0):DK(t)}var Ua=Wo(Object,"create");function jK(){this.__data__=Ua?Ua(null):{},this.size=0}function LK(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}var BK="__lodash_hash_undefined__",FK=Object.prototype,GK=FK.hasOwnProperty;function $K(t){var e=this.__data__;if(Ua){var n=e[t];return n===BK?void 0:n}return GK.call(e,t)?e[t]:void 0}var WK=Object.prototype,VK=WK.hasOwnProperty;function HK(t){var e=this.__data__;return Ua?e[t]!==void 0:VK.call(e,t)}var qK="__lodash_hash_undefined__";function zK(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=Ua&&e===void 0?qK:e,this}function Ro(t){var e=-1,n=t==null?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}Ro.prototype.clear=jK;Ro.prototype.delete=LK;Ro.prototype.get=$K;Ro.prototype.has=HK;Ro.prototype.set=zK;function XK(){this.__data__=[],this.size=0}function Nc(t,e){for(var n=t.length;n--;)if(As(t[n][0],e))return n;return-1}var YK=Array.prototype,UK=YK.splice;function ZK(t){var e=this.__data__,n=Nc(e,t);if(n<0)return!1;var r=e.length-1;return n==r?e.pop():UK.call(e,n,1),--this.size,!0}function JK(t){var e=this.__data__,n=Nc(e,t);return n<0?void 0:e[n][1]}function KK(t){return Nc(this.__data__,t)>-1}function QK(t,e){var n=this.__data__,r=Nc(n,t);return r<0?(++this.size,n.push([t,e])):n[r][1]=e,this}function Lr(t){var e=-1,n=t==null?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}Lr.prototype.clear=XK;Lr.prototype.delete=ZK;Lr.prototype.get=JK;Lr.prototype.has=KK;Lr.prototype.set=QK;var Za=Wo(yr,"Map");function eQ(){this.size=0,this.__data__={hash:new Ro,map:new(Za||Lr),string:new Ro}}function tQ(t){var e=typeof t;return e=="string"||e=="number"||e=="symbol"||e=="boolean"?t!=="__proto__":t===null}function _c(t,e){var n=t.__data__;return tQ(e)?n[typeof e=="string"?"string":"hash"]:n.map}function nQ(t){var e=_c(this,t).delete(t);return this.size-=e?1:0,e}function rQ(t){return _c(this,t).get(t)}function oQ(t){return _c(this,t).has(t)}function iQ(t,e){var n=_c(this,t),r=n.size;return n.set(t,e),this.size+=n.size==r?0:1,this}function Vo(t){var e=-1,n=t==null?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}Vo.prototype.clear=eQ;Vo.prototype.delete=nQ;Vo.prototype.get=rQ;Vo.prototype.has=oQ;Vo.prototype.set=iQ;function aQ(t,e){for(var n=-1,r=e.length,o=t.length;++n<r;)t[o+n]=e[n];return t}var YR=zR(Object.getPrototypeOf,Object),sQ="[object Object]",lQ=Function.prototype,uQ=Object.prototype,UR=lQ.toString,cQ=uQ.hasOwnProperty,dQ=UR.call(Object);function fQ(t){if(!Mr(t)||zi(t)!=sQ)return!1;var e=YR(t);if(e===null)return!0;var n=cQ.call(e,"constructor")&&e.constructor;return typeof n=="function"&&n instanceof n&&UR.call(n)==dQ}function hQ(){this.__data__=new Lr,this.size=0}function pQ(t){var e=this.__data__,n=e.delete(t);return this.size=e.size,n}function mQ(t){return this.__data__.get(t)}function gQ(t){return this.__data__.has(t)}var bQ=200;function vQ(t,e){var n=this.__data__;if(n instanceof Lr){var r=n.__data__;if(!Za||r.length<bQ-1)return r.push([t,e]),this.size=++n.size,this;n=this.__data__=new Vo(r)}return n.set(t,e),this.size=n.size,this}function sr(t){var e=this.__data__=new Lr(t);this.size=e.size}sr.prototype.clear=hQ;sr.prototype.delete=pQ;sr.prototype.get=mQ;sr.prototype.has=gQ;sr.prototype.set=vQ;var ZR=typeof exports=="object"&&exports&&!exports.nodeType&&exports,bC=ZR&&typeof module=="object"&&module&&!module.nodeType&&module,yQ=bC&&bC.exports===ZR,vC=yQ?yr.Buffer:void 0,yC=vC?vC.allocUnsafe:void 0;function JR(t,e){if(e)return t.slice();var n=t.length,r=yC?yC(n):new t.constructor(n);return t.copy(r),r}function xQ(t,e){for(var n=-1,r=t==null?0:t.length,o=0,i=[];++n<r;){var a=t[n];e(a,n,t)&&(i[o++]=a)}return i}function wQ(){return[]}var CQ=Object.prototype,SQ=CQ.propertyIsEnumerable,xC=Object.getOwnPropertySymbols,EQ=xC?function(t){return t==null?[]:(t=Object(t),xQ(xC(t),function(e){return SQ.call(t,e)}))}:wQ;function IQ(t,e,n){var r=e(t);return Oo(t)?r:aQ(r,n(t))}function yg(t){return IQ(t,RK,EQ)}var xg=Wo(yr,"DataView"),wg=Wo(yr,"Promise"),Cg=Wo(yr,"Set"),wC="[object Map]",AQ="[object Object]",CC="[object Promise]",SC="[object Set]",EC="[object WeakMap]",IC="[object DataView]",TQ=$o(xg),NQ=$o(Za),_Q=$o(wg),OQ=$o(Cg),RQ=$o(bg),Rn=zi;(xg&&Rn(new xg(new ArrayBuffer(1)))!=IC||Za&&Rn(new Za)!=wC||wg&&Rn(wg.resolve())!=CC||Cg&&Rn(new Cg)!=SC||bg&&Rn(new bg)!=EC)&&(Rn=function(t){var e=zi(t),n=e==AQ?t.constructor:void 0,r=n?$o(n):"";if(r)switch(r){case TQ:return IC;case NQ:return wC;case _Q:return CC;case OQ:return SC;case RQ:return EC}return e});var PQ=Object.prototype,MQ=PQ.hasOwnProperty;function kQ(t){var e=t.length,n=new t.constructor(e);return e&&typeof t[0]=="string"&&MQ.call(t,"index")&&(n.index=t.index,n.input=t.input),n}var du=yr.Uint8Array;function Ov(t){var e=new t.constructor(t.byteLength);return new du(e).set(new du(t)),e}function DQ(t,e){var n=Ov(t.buffer);return new t.constructor(n,t.byteOffset,t.byteLength)}var jQ=/\w*$/;function LQ(t){var e=new t.constructor(t.source,jQ.exec(t));return e.lastIndex=t.lastIndex,e}var AC=Kr?Kr.prototype:void 0,TC=AC?AC.valueOf:void 0;function BQ(t){return TC?Object(TC.call(t)):{}}function KR(t,e){var n=e?Ov(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.length)}var FQ="[object Boolean]",GQ="[object Date]",$Q="[object Map]",WQ="[object Number]",VQ="[object RegExp]",HQ="[object Set]",qQ="[object String]",zQ="[object Symbol]",XQ="[object ArrayBuffer]",YQ="[object DataView]",UQ="[object Float32Array]",ZQ="[object Float64Array]",JQ="[object Int8Array]",KQ="[object Int16Array]",QQ="[object Int32Array]",eee="[object Uint8Array]",tee="[object Uint8ClampedArray]",nee="[object Uint16Array]",ree="[object Uint32Array]";function oee(t,e,n){var r=t.constructor;switch(e){case XQ:return Ov(t);case FQ:case GQ:return new r(+t);case YQ:return DQ(t);case UQ:case ZQ:case JQ:case KQ:case QQ:case eee:case tee:case nee:case ree:return KR(t,n);case $Q:return new r;case WQ:case qQ:return new r(t);case VQ:return LQ(t);case HQ:return new r;case zQ:return BQ(t)}}function QR(t){return typeof t.constructor=="function"&&!Tv(t)?EJ(YR(t)):{}}var iee="[object Map]";function aee(t){return Mr(t)&&Rn(t)==iee}var NC=Ri&&Ri.isMap,see=NC?Nv(NC):aee,lee="[object Set]";function uee(t){return Mr(t)&&Rn(t)==lee}var _C=Ri&&Ri.isSet,cee=_C?Nv(_C):uee,dee=1,eP="[object Arguments]",fee="[object Array]",hee="[object Boolean]",pee="[object Date]",mee="[object Error]",tP="[object Function]",gee="[object GeneratorFunction]",bee="[object Map]",vee="[object Number]",nP="[object Object]",yee="[object RegExp]",xee="[object Set]",wee="[object String]",Cee="[object Symbol]",See="[object WeakMap]",Eee="[object ArrayBuffer]",Iee="[object DataView]",Aee="[object Float32Array]",Tee="[object Float64Array]",Nee="[object Int8Array]",_ee="[object Int16Array]",Oee="[object Int32Array]",Ree="[object Uint8Array]",Pee="[object Uint8ClampedArray]",Mee="[object Uint16Array]",kee="[object Uint32Array]",et={};et[eP]=et[fee]=et[Eee]=et[Iee]=et[hee]=et[pee]=et[Aee]=et[Tee]=et[Nee]=et[_ee]=et[Oee]=et[bee]=et[vee]=et[nP]=et[yee]=et[xee]=et[wee]=et[Cee]=et[Ree]=et[Pee]=et[Mee]=et[kee]=!0;et[mee]=et[tP]=et[See]=!1;function Rl(t,e,n,r,o,i){var a,s=e&dee;if(a!==void 0)return a;if(!so(t))return t;var l=Oo(t);if(l)a=kQ(t);else{var u=Rn(t),d=u==tP||u==gee;if(Ya(t))return JR(t,s);if(u==nP||u==eP||d&&!o)a=d?{}:QR(t);else{if(!et[u])return o?t:{};a=oee(t,u,s)}}i||(i=new sr);var c=i.get(t);if(c)return c;i.set(t,a),cee(t)?t.forEach(function(m){a.add(Rl(m,e,n,m,t,i))}):see(t)&&t.forEach(function(m,g){a.set(g,Rl(m,e,n,g,t,i))});var f=yg,p=l?void 0:f(t);return kJ(p||t,function(m,g){p&&(g=m,m=t[g]),GR(a,g,Rl(m,e,n,g,t,i))}),a}var Dee=1,jee=4;function bi(t){return Rl(t,Dee|jee)}var Lee="__lodash_hash_undefined__";function Bee(t){return this.__data__.set(t,Lee),this}function Fee(t){return this.__data__.has(t)}function fu(t){var e=-1,n=t==null?0:t.length;for(this.__data__=new Vo;++e<n;)this.add(t[e])}fu.prototype.add=fu.prototype.push=Bee;fu.prototype.has=Fee;function Gee(t,e){for(var n=-1,r=t==null?0:t.length;++n<r;)if(e(t[n],n,t))return!0;return!1}function $ee(t,e){return t.has(e)}var Wee=1,Vee=2;function rP(t,e,n,r,o,i){var a=n&Wee,s=t.length,l=e.length;if(s!=l&&!(a&&l>s))return!1;var u=i.get(t),d=i.get(e);if(u&&d)return u==e&&d==t;var c=-1,f=!0,p=n&Vee?new fu:void 0;for(i.set(t,e),i.set(e,t);++c<s;){var m=t[c],g=e[c];if(r)var b=a?r(g,m,c,e,t,i):r(m,g,c,t,e,i);if(b!==void 0){if(b)continue;f=!1;break}if(p){if(!Gee(e,function(y,w){if(!$ee(p,w)&&(m===y||o(m,y,n,r,i)))return p.push(w)})){f=!1;break}}else if(!(m===g||o(m,g,n,r,i))){f=!1;break}}return i.delete(t),i.delete(e),f}function Hee(t){var e=-1,n=Array(t.size);return t.forEach(function(r,o){n[++e]=[o,r]}),n}function qee(t){var e=-1,n=Array(t.size);return t.forEach(function(r){n[++e]=r}),n}var zee=1,Xee=2,Yee="[object Boolean]",Uee="[object Date]",Zee="[object Error]",Jee="[object Map]",Kee="[object Number]",Qee="[object RegExp]",ete="[object Set]",tte="[object String]",nte="[object Symbol]",rte="[object ArrayBuffer]",ote="[object DataView]",OC=Kr?Kr.prototype:void 0,im=OC?OC.valueOf:void 0;function ite(t,e,n,r,o,i,a){switch(n){case ote:if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case rte:return!(t.byteLength!=e.byteLength||!i(new du(t),new du(e)));case Yee:case Uee:case Kee:return As(+t,+e);case Zee:return t.name==e.name&&t.message==e.message;case Qee:case tte:return t==e+"";case Jee:var s=Hee;case ete:var l=r&zee;if(s||(s=qee),t.size!=e.size&&!l)return!1;var u=a.get(t);if(u)return u==e;r|=Xee,a.set(t,e);var d=rP(s(t),s(e),r,o,i,a);return a.delete(t),d;case nte:if(im)return im.call(t)==im.call(e)}return!1}var ate=1,ste=Object.prototype,lte=ste.hasOwnProperty;function ute(t,e,n,r,o,i){var a=n&ate,s=yg(t),l=s.length,u=yg(e),d=u.length;if(l!=d&&!a)return!1;for(var c=l;c--;){var f=s[c];if(!(a?f in e:lte.call(e,f)))return!1}var p=i.get(t),m=i.get(e);if(p&&m)return p==e&&m==t;var g=!0;i.set(t,e),i.set(e,t);for(var b=a;++c<l;){f=s[c];var y=t[f],w=e[f];if(r)var C=a?r(w,y,f,e,t,i):r(y,w,f,t,e,i);if(!(C===void 0?y===w||o(y,w,n,r,i):C)){g=!1;break}b||(b=f=="constructor")}if(g&&!b){var S=t.constructor,E=e.constructor;S!=E&&"constructor"in t&&"constructor"in e&&!(typeof S=="function"&&S instanceof S&&typeof E=="function"&&E instanceof E)&&(g=!1)}return i.delete(t),i.delete(e),g}var cte=1,RC="[object Arguments]",PC="[object Array]",fl="[object Object]",dte=Object.prototype,MC=dte.hasOwnProperty;function fte(t,e,n,r,o,i){var a=Oo(t),s=Oo(e),l=a?PC:Rn(t),u=s?PC:Rn(e);l=l==RC?fl:l,u=u==RC?fl:u;var d=l==fl,c=u==fl,f=l==u;if(f&&Ya(t)){if(!Ya(e))return!1;a=!0,d=!1}if(f&&!d)return i||(i=new sr),a||_v(t)?rP(t,e,n,r,o,i):ite(t,e,l,n,r,o,i);if(!(n&cte)){var p=d&&MC.call(t,"__wrapped__"),m=c&&MC.call(e,"__wrapped__");if(p||m){var g=p?t.value():t,b=m?e.value():e;return i||(i=new sr),o(g,b,n,r,i)}}return f?(i||(i=new sr),ute(t,e,n,r,o,i)):!1}function oP(t,e,n,r,o){return t===e?!0:t==null||e==null||!Mr(t)&&!Mr(e)?t!==t&&e!==e:fte(t,e,n,r,oP,o)}function hte(t){return function(e,n,r){for(var o=-1,i=Object(e),a=r(e),s=a.length;s--;){var l=a[++o];if(n(i[l],l,i)===!1)break}return e}}var pte=hte();function Sg(t,e,n){(n!==void 0&&!As(t[e],n)||n===void 0&&!(e in t))&&Av(t,e,n)}function mte(t){return Mr(t)&&Tc(t)}function Eg(t,e){if(!(e==="constructor"&&typeof t[e]=="function")&&e!="__proto__")return t[e]}function gte(t){return FJ(t,XR(t))}function bte(t,e,n,r,o,i,a){var s=Eg(t,n),l=Eg(e,n),u=a.get(l);if(u){Sg(t,n,u);return}var d=i?i(s,l,n+"",t,e,a):void 0,c=d===void 0;if(c){var f=Oo(l),p=!f&&Ya(l),m=!f&&!p&&_v(l);d=l,f||p||m?Oo(s)?d=s:mte(s)?d=AJ(s):p?(c=!1,d=JR(l,!0)):m?(c=!1,d=KR(l,!0)):d=[]:fQ(l)||vg(l)?(d=s,vg(s)?d=gte(s):(!so(s)||Iv(s))&&(d=QR(l))):c=!1}c&&(a.set(l,d),o(d,l,r,i,a),a.delete(l)),Sg(t,n,d)}function iP(t,e,n,r,o){t!==e&&pte(e,function(i,a){if(o||(o=new sr),so(i))bte(t,e,a,n,iP,r,o);else{var s=r?r(Eg(t,a),i,a+"",t,e,o):void 0;s===void 0&&(s=i),Sg(t,a,s)}},XR)}function Rv(t,e){return oP(t,e)}var zr=HJ(function(t,e,n){iP(t,e,n)}),ve=(t=>(t[t.TYPE=3]="TYPE",t[t.LEVEL=12]="LEVEL",t[t.ATTRIBUTE=13]="ATTRIBUTE",t[t.BLOT=14]="BLOT",t[t.INLINE=7]="INLINE",t[t.BLOCK=11]="BLOCK",t[t.BLOCK_BLOT=10]="BLOCK_BLOT",t[t.INLINE_BLOT=6]="INLINE_BLOT",t[t.BLOCK_ATTRIBUTE=9]="BLOCK_ATTRIBUTE",t[t.INLINE_ATTRIBUTE=5]="INLINE_ATTRIBUTE",t[t.ANY=15]="ANY",t))(ve||{});class dr{constructor(e,n,r={}){this.attrName=e,this.keyName=n;const o=ve.TYPE&ve.ATTRIBUTE;this.scope=r.scope!=null?r.scope&ve.LEVEL|o:ve.ATTRIBUTE,r.whitelist!=null&&(this.whitelist=r.whitelist)}static keys(e){return Array.from(e.attributes).map(n=>n.name)}add(e,n){return this.canAdd(e,n)?(e.setAttribute(this.keyName,n),!0):!1}canAdd(e,n){return this.whitelist==null?!0:typeof n=="string"?this.whitelist.indexOf(n.replace(/["']/g,""))>-1:this.whitelist.indexOf(n)>-1}remove(e){e.removeAttribute(this.keyName)}value(e){const n=e.getAttribute(this.keyName);return this.canAdd(e,n)&&n?n:""}}class vi extends Error{constructor(e){e="[Parchment] "+e,super(e),this.message=e,this.name=this.constructor.name}}const aP=class Ig{constructor(){this.attributes={},this.classes={},this.tags={},this.types={}}static find(e,n=!1){if(e==null)return null;if(this.blots.has(e))return this.blots.get(e)||null;if(n){let r=null;try{r=e.parentNode}catch{return null}return this.find(r,n)}return null}create(e,n,r){const o=this.query(n);if(o==null)throw new vi(`Unable to create ${n} blot`);const i=o,a=n instanceof Node||n.nodeType===Node.TEXT_NODE?n:i.create(r),s=new i(e,a,r);return Ig.blots.set(s.domNode,s),s}find(e,n=!1){return Ig.find(e,n)}query(e,n=ve.ANY){let r;return typeof e=="string"?r=this.types[e]||this.attributes[e]:e instanceof Text||e.nodeType===Node.TEXT_NODE?r=this.types.text:typeof e=="number"?e&ve.LEVEL&ve.BLOCK?r=this.types.block:e&ve.LEVEL&ve.INLINE&&(r=this.types.inline):e instanceof Element&&((e.getAttribute("class")||"").split(/\s+/).some(o=>(r=this.classes[o],!!r)),r=r||this.tags[e.tagName]),r==null?null:"scope"in r&&n&ve.LEVEL&r.scope&&n&ve.TYPE&r.scope?r:null}register(...e){return e.map(n=>{const r="blotName"in n,o="attrName"in n;if(!r&&!o)throw new vi("Invalid definition");if(r&&n.blotName==="abstract")throw new vi("Cannot register abstract class");const i=r?n.blotName:o?n.attrName:void 0;return this.types[i]=n,o?typeof n.keyName=="string"&&(this.attributes[n.keyName]=n):r&&(n.className&&(this.classes[n.className]=n),n.tagName&&(Array.isArray(n.tagName)?n.tagName=n.tagName.map(a=>a.toUpperCase()):n.tagName=n.tagName.toUpperCase(),(Array.isArray(n.tagName)?n.tagName:[n.tagName]).forEach(a=>{(this.tags[a]==null||n.className==null)&&(this.tags[a]=n)}))),n})}};aP.blots=new WeakMap;let Pi=aP;function kC(t,e){return(t.getAttribute("class")||"").split(/\s+/).filter(n=>n.indexOf(`${e}-`)===0)}class vte extends dr{static keys(e){return(e.getAttribute("class")||"").split(/\s+/).map(n=>n.split("-").slice(0,-1).join("-"))}add(e,n){return this.canAdd(e,n)?(this.remove(e),e.classList.add(`${this.keyName}-${n}`),!0):!1}remove(e){kC(e,this.keyName).forEach(n=>{e.classList.remove(n)}),e.classList.length===0&&e.removeAttribute("class")}value(e){const n=(kC(e,this.keyName)[0]||"").slice(this.keyName.length+1);return this.canAdd(e,n)?n:""}}const zn=vte;function am(t){const e=t.split("-"),n=e.slice(1).map(r=>r[0].toUpperCase()+r.slice(1)).join("");return e[0]+n}class yte extends dr{static keys(e){return(e.getAttribute("style")||"").split(";").map(n=>n.split(":")[0].trim())}add(e,n){return this.canAdd(e,n)?(e.style[am(this.keyName)]=n,!0):!1}remove(e){e.style[am(this.keyName)]="",e.getAttribute("style")||e.removeAttribute("style")}value(e){const n=e.style[am(this.keyName)];return this.canAdd(e,n)?n:""}}const lo=yte;class xte{constructor(e){this.attributes={},this.domNode=e,this.build()}attribute(e,n){n?e.add(this.domNode,n)&&(e.value(this.domNode)!=null?this.attributes[e.attrName]=e:delete this.attributes[e.attrName]):(e.remove(this.domNode),delete this.attributes[e.attrName])}build(){this.attributes={};const e=Pi.find(this.domNode);if(e==null)return;const n=dr.keys(this.domNode),r=zn.keys(this.domNode),o=lo.keys(this.domNode);n.concat(r).concat(o).forEach(i=>{const a=e.scroll.query(i,ve.ATTRIBUTE);a instanceof dr&&(this.attributes[a.attrName]=a)})}copy(e){Object.keys(this.attributes).forEach(n=>{const r=this.attributes[n].value(this.domNode);e.format(n,r)})}move(e){this.copy(e),Object.keys(this.attributes).forEach(n=>{this.attributes[n].remove(this.domNode)}),this.attributes={}}values(){return Object.keys(this.attributes).reduce((e,n)=>(e[n]=this.attributes[n].value(this.domNode),e),{})}}const Oc=xte,sP=class{constructor(e,n){this.scroll=e,this.domNode=n,Pi.blots.set(n,this),this.prev=null,this.next=null}static create(e){if(this.tagName==null)throw new vi("Blot definition missing tagName");let n,r;return Array.isArray(this.tagName)?(typeof e=="string"?(r=e.toUpperCase(),parseInt(r,10).toString()===r&&(r=parseInt(r,10))):typeof e=="number"&&(r=e),typeof r=="number"?n=document.createElement(this.tagName[r-1]):r&&this.tagName.indexOf(r)>-1?n=document.createElement(r):n=document.createElement(this.tagName[0])):n=document.createElement(this.tagName),this.className&&n.classList.add(this.className),n}get statics(){return this.constructor}attach(){}clone(){const e=this.domNode.cloneNode(!1);return this.scroll.create(e)}detach(){this.parent!=null&&this.parent.removeChild(this),Pi.blots.delete(this.domNode)}deleteAt(e,n){this.isolate(e,n).remove()}formatAt(e,n,r,o){const i=this.isolate(e,n);if(this.scroll.query(r,ve.BLOT)!=null&&o)i.wrap(r,o);else if(this.scroll.query(r,ve.ATTRIBUTE)!=null){const a=this.scroll.create(this.statics.scope);i.wrap(a),a.format(r,o)}}insertAt(e,n,r){const o=r==null?this.scroll.create("text",n):this.scroll.create(n,r),i=this.split(e);this.parent.insertBefore(o,i||void 0)}isolate(e,n){const r=this.split(e);if(r==null)throw new Error("Attempt to isolate at end");return r.split(n),r}length(){return 1}offset(e=this.parent){return this.parent==null||this===e?0:this.parent.children.offset(this)+this.parent.offset(e)}optimize(e){this.statics.requiredContainer&&!(this.parent instanceof this.statics.requiredContainer)&&this.wrap(this.statics.requiredContainer.blotName)}remove(){this.domNode.parentNode!=null&&this.domNode.parentNode.removeChild(this.domNode),this.detach()}replaceWith(e,n){const r=typeof e=="string"?this.scroll.create(e,n):e;return this.parent!=null&&(this.parent.insertBefore(r,this.next||void 0),this.remove()),r}split(e,n){return e===0?this:this.next}update(e,n){}wrap(e,n){const r=typeof e=="string"?this.scroll.create(e,n):e;if(this.parent!=null&&this.parent.insertBefore(r,this.next||void 0),typeof r.appendChild!="function")throw new vi(`Cannot wrap ${e}`);return r.appendChild(this),r}};sP.blotName="abstract";let lP=sP;const uP=class extends lP{static value(e){return!0}index(e,n){return this.domNode===e||this.domNode.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_CONTAINED_BY?Math.min(n,1):-1}position(e,n){let r=Array.from(this.parent.domNode.childNodes).indexOf(this.domNode);return e>0&&(r+=1),[this.parent.domNode,r]}value(){return{[this.statics.blotName]:this.statics.value(this.domNode)||!0}}};uP.scope=ve.INLINE_BLOT;let wte=uP;const Wt=wte;class Cte{constructor(){this.head=null,this.tail=null,this.length=0}append(...e){if(this.insertBefore(e[0],null),e.length>1){const n=e.slice(1);this.append(...n)}}at(e){const n=this.iterator();let r=n();for(;r&&e>0;)e-=1,r=n();return r}contains(e){const n=this.iterator();let r=n();for(;r;){if(r===e)return!0;r=n()}return!1}indexOf(e){const n=this.iterator();let r=n(),o=0;for(;r;){if(r===e)return o;o+=1,r=n()}return-1}insertBefore(e,n){e!=null&&(this.remove(e),e.next=n,n!=null?(e.prev=n.prev,n.prev!=null&&(n.prev.next=e),n.prev=e,n===this.head&&(this.head=e)):this.tail!=null?(this.tail.next=e,e.prev=this.tail,this.tail=e):(e.prev=null,this.head=this.tail=e),this.length+=1)}offset(e){let n=0,r=this.head;for(;r!=null;){if(r===e)return n;n+=r.length(),r=r.next}return-1}remove(e){this.contains(e)&&(e.prev!=null&&(e.prev.next=e.next),e.next!=null&&(e.next.prev=e.prev),e===this.head&&(this.head=e.next),e===this.tail&&(this.tail=e.prev),this.length-=1)}iterator(e=this.head){return()=>{const n=e;return e!=null&&(e=e.next),n}}find(e,n=!1){const r=this.iterator();let o=r();for(;o;){const i=o.length();if(e<i||n&&e===i&&(o.next==null||o.next.length()!==0))return[o,e];e-=i,o=r()}return[null,0]}forEach(e){const n=this.iterator();let r=n();for(;r;)e(r),r=n()}forEachAt(e,n,r){if(n<=0)return;const[o,i]=this.find(e);let a=e-i;const s=this.iterator(o);let l=s();for(;l&&a<e+n;){const u=l.length();e>a?r(l,e-a,Math.min(n,a+u-e)):r(l,0,Math.min(u,e+n-a)),a+=u,l=s()}}map(e){return this.reduce((n,r)=>(n.push(e(r)),n),[])}reduce(e,n){const r=this.iterator();let o=r();for(;o;)n=e(n,o),o=r();return n}}function DC(t,e){const n=e.find(t);if(n)return n;try{return e.create(t)}catch{const r=e.create(ve.INLINE);return Array.from(t.childNodes).forEach(o=>{r.domNode.appendChild(o)}),t.parentNode&&t.parentNode.replaceChild(r.domNode,t),r.attach(),r}}const cP=class Vr extends lP{constructor(e,n){super(e,n),this.uiNode=null,this.build()}appendChild(e){this.insertBefore(e)}attach(){super.attach(),this.children.forEach(e=>{e.attach()})}attachUI(e){this.uiNode!=null&&this.uiNode.remove(),this.uiNode=e,Vr.uiClass&&this.uiNode.classList.add(Vr.uiClass),this.uiNode.setAttribute("contenteditable","false"),this.domNode.insertBefore(this.uiNode,this.domNode.firstChild)}build(){this.children=new Cte,Array.from(this.domNode.childNodes).filter(e=>e!==this.uiNode).reverse().forEach(e=>{try{const n=DC(e,this.scroll);this.insertBefore(n,this.children.head||void 0)}catch(n){if(n instanceof vi)return;throw n}})}deleteAt(e,n){if(e===0&&n===this.length())return this.remove();this.children.forEachAt(e,n,(r,o,i)=>{r.deleteAt(o,i)})}descendant(e,n=0){const[r,o]=this.children.find(n);return e.blotName==null&&e(r)||e.blotName!=null&&r instanceof e?[r,o]:r instanceof Vr?r.descendant(e,o):[null,-1]}descendants(e,n=0,r=Number.MAX_VALUE){let o=[],i=r;return this.children.forEachAt(n,r,(a,s,l)=>{(e.blotName==null&&e(a)||e.blotName!=null&&a instanceof e)&&o.push(a),a instanceof Vr&&(o=o.concat(a.descendants(e,s,i))),i-=l}),o}detach(){this.children.forEach(e=>{e.detach()}),super.detach()}enforceAllowedChildren(){let e=!1;this.children.forEach(n=>{e||this.statics.allowedChildren.some(r=>n instanceof r)||(n.statics.scope===ve.BLOCK_BLOT?(n.next!=null&&this.splitAfter(n),n.prev!=null&&this.splitAfter(n.prev),n.parent.unwrap(),e=!0):n instanceof Vr?n.unwrap():n.remove())})}formatAt(e,n,r,o){this.children.forEachAt(e,n,(i,a,s)=>{i.formatAt(a,s,r,o)})}insertAt(e,n,r){const[o,i]=this.children.find(e);if(o)o.insertAt(i,n,r);else{const a=r==null?this.scroll.create("text",n):this.scroll.create(n,r);this.appendChild(a)}}insertBefore(e,n){e.parent!=null&&e.parent.children.remove(e);let r=null;this.children.insertBefore(e,n||null),e.parent=this,n!=null&&(r=n.domNode),(this.domNode.parentNode!==e.domNode||this.domNode.nextSibling!==r)&&this.domNode.insertBefore(e.domNode,r),e.attach()}length(){return this.children.reduce((e,n)=>e+n.length(),0)}moveChildren(e,n){this.children.forEach(r=>{e.insertBefore(r,n)})}optimize(e){if(super.optimize(e),this.enforceAllowedChildren(),this.uiNode!=null&&this.uiNode!==this.domNode.firstChild&&this.domNode.insertBefore(this.uiNode,this.domNode.firstChild),this.children.length===0)if(this.statics.defaultChild!=null){const n=this.scroll.create(this.statics.defaultChild.blotName);this.appendChild(n)}else this.remove()}path(e,n=!1){const[r,o]=this.children.find(e,n),i=[[this,e]];return r instanceof Vr?i.concat(r.path(o,n)):(r!=null&&i.push([r,o]),i)}removeChild(e){this.children.remove(e)}replaceWith(e,n){const r=typeof e=="string"?this.scroll.create(e,n):e;return r instanceof Vr&&this.moveChildren(r),super.replaceWith(r)}split(e,n=!1){if(!n){if(e===0)return this;if(e===this.length())return this.next}const r=this.clone();return this.parent&&this.parent.insertBefore(r,this.next||void 0),this.children.forEachAt(e,this.length(),(o,i,a)=>{const s=o.split(i,n);s!=null&&r.appendChild(s)}),r}splitAfter(e){const n=this.clone();for(;e.next!=null;)n.appendChild(e.next);return this.parent&&this.parent.insertBefore(n,this.next||void 0),n}unwrap(){this.parent&&this.moveChildren(this.parent,this.next||void 0),this.remove()}update(e,n){const r=[],o=[];e.forEach(i=>{i.target===this.domNode&&i.type==="childList"&&(r.push(...i.addedNodes),o.push(...i.removedNodes))}),o.forEach(i=>{if(i.parentNode!=null&&i.tagName!=="IFRAME"&&document.body.compareDocumentPosition(i)&Node.DOCUMENT_POSITION_CONTAINED_BY)return;const a=this.scroll.find(i);a!=null&&(a.domNode.parentNode==null||a.domNode.parentNode===this.domNode)&&a.detach()}),r.filter(i=>i.parentNode===this.domNode&&i!==this.uiNode).sort((i,a)=>i===a?0:i.compareDocumentPosition(a)&Node.DOCUMENT_POSITION_FOLLOWING?1:-1).forEach(i=>{let a=null;i.nextSibling!=null&&(a=this.scroll.find(i.nextSibling));const s=DC(i,this.scroll);(s.next!==a||s.next==null)&&(s.parent!=null&&s.parent.removeChild(this),this.insertBefore(s,a||void 0))}),this.enforceAllowedChildren()}};cP.uiClass="";let Ste=cP;const Ln=Ste;function Ete(t,e){if(Object.keys(t).length!==Object.keys(e).length)return!1;for(const n in t)if(t[n]!==e[n])return!1;return!0}const li=class ui extends Ln{static create(e){return super.create(e)}static formats(e,n){const r=n.query(ui.blotName);if(!(r!=null&&e.tagName===r.tagName)){if(typeof this.tagName=="string")return!0;if(Array.isArray(this.tagName))return e.tagName.toLowerCase()}}constructor(e,n){super(e,n),this.attributes=new Oc(this.domNode)}format(e,n){if(e===this.statics.blotName&&!n)this.children.forEach(r=>{r instanceof ui||(r=r.wrap(ui.blotName,!0)),this.attributes.copy(r)}),this.unwrap();else{const r=this.scroll.query(e,ve.INLINE);if(r==null)return;r instanceof dr?this.attributes.attribute(r,n):n&&(e!==this.statics.blotName||this.formats()[e]!==n)&&this.replaceWith(e,n)}}formats(){const e=this.attributes.values(),n=this.statics.formats(this.domNode,this.scroll);return n!=null&&(e[this.statics.blotName]=n),e}formatAt(e,n,r,o){this.formats()[r]!=null||this.scroll.query(r,ve.ATTRIBUTE)?this.isolate(e,n).format(r,o):super.formatAt(e,n,r,o)}optimize(e){super.optimize(e);const n=this.formats();if(Object.keys(n).length===0)return this.unwrap();const r=this.next;r instanceof ui&&r.prev===this&&Ete(n,r.formats())&&(r.moveChildren(this),r.remove())}replaceWith(e,n){const r=super.replaceWith(e,n);return this.attributes.copy(r),r}update(e,n){super.update(e,n),e.some(r=>r.target===this.domNode&&r.type==="attributes")&&this.attributes.build()}wrap(e,n){const r=super.wrap(e,n);return r instanceof ui&&this.attributes.move(r),r}};li.allowedChildren=[li,Wt],li.blotName="inline",li.scope=ve.INLINE_BLOT,li.tagName="SPAN";let Ite=li;const Pv=Ite,ci=class Ag extends Ln{static create(e){return super.create(e)}static formats(e,n){const r=n.query(Ag.blotName);if(!(r!=null&&e.tagName===r.tagName)){if(typeof this.tagName=="string")return!0;if(Array.isArray(this.tagName))return e.tagName.toLowerCase()}}constructor(e,n){super(e,n),this.attributes=new Oc(this.domNode)}format(e,n){const r=this.scroll.query(e,ve.BLOCK);r!=null&&(r instanceof dr?this.attributes.attribute(r,n):e===this.statics.blotName&&!n?this.replaceWith(Ag.blotName):n&&(e!==this.statics.blotName||this.formats()[e]!==n)&&this.replaceWith(e,n))}formats(){const e=this.attributes.values(),n=this.statics.formats(this.domNode,this.scroll);return n!=null&&(e[this.statics.blotName]=n),e}formatAt(e,n,r,o){this.scroll.query(r,ve.BLOCK)!=null?this.format(r,o):super.formatAt(e,n,r,o)}insertAt(e,n,r){if(r==null||this.scroll.query(n,ve.INLINE)!=null)super.insertAt(e,n,r);else{const o=this.split(e);if(o!=null){const i=this.scroll.create(n,r);o.parent.insertBefore(i,o)}else throw new Error("Attempt to insertAt after block boundaries")}}replaceWith(e,n){const r=super.replaceWith(e,n);return this.attributes.copy(r),r}update(e,n){super.update(e,n),e.some(r=>r.target===this.domNode&&r.type==="attributes")&&this.attributes.build()}};ci.blotName="block",ci.scope=ve.BLOCK_BLOT,ci.tagName="P",ci.allowedChildren=[Pv,ci,Wt];let Ate=ci;const Ja=Ate,Tg=class extends Ln{checkMerge(){return this.next!==null&&this.next.statics.blotName===this.statics.blotName}deleteAt(e,n){super.deleteAt(e,n),this.enforceAllowedChildren()}formatAt(e,n,r,o){super.formatAt(e,n,r,o),this.enforceAllowedChildren()}insertAt(e,n,r){super.insertAt(e,n,r),this.enforceAllowedChildren()}optimize(e){super.optimize(e),this.children.length>0&&this.next!=null&&this.checkMerge()&&(this.next.moveChildren(this),this.next.remove())}};Tg.blotName="container",Tg.scope=ve.BLOCK_BLOT;let Tte=Tg;const Rc=Tte;class Nte extends Wt{static formats(e,n){}format(e,n){super.formatAt(0,this.length(),e,n)}formatAt(e,n,r,o){e===0&&n===this.length()?this.format(r,o):super.formatAt(e,n,r,o)}formats(){return this.statics.formats(this.domNode,this.scroll)}}const dn=Nte,_te={attributes:!0,characterData:!0,characterDataOldValue:!0,childList:!0,subtree:!0},Ote=100,di=class extends Ln{constructor(e,n){super(null,n),this.registry=e,this.scroll=this,this.build(),this.observer=new MutationObserver(r=>{this.update(r)}),this.observer.observe(this.domNode,_te),this.attach()}create(e,n){return this.registry.create(this,e,n)}find(e,n=!1){const r=this.registry.find(e,n);return r?r.scroll===this?r:n?this.find(r.scroll.domNode.parentNode,!0):null:null}query(e,n=ve.ANY){return this.registry.query(e,n)}register(...e){return this.registry.register(...e)}build(){this.scroll!=null&&super.build()}detach(){super.detach(),this.observer.disconnect()}deleteAt(e,n){this.update(),e===0&&n===this.length()?this.children.forEach(r=>{r.remove()}):super.deleteAt(e,n)}formatAt(e,n,r,o){this.update(),super.formatAt(e,n,r,o)}insertAt(e,n,r){this.update(),super.insertAt(e,n,r)}optimize(e=[],n={}){super.optimize(n);const r=n.mutationsMap||new WeakMap;let o=Array.from(this.observer.takeRecords());for(;o.length>0;)e.push(o.pop());const i=(l,u=!0)=>{l==null||l===this||l.domNode.parentNode!=null&&(r.has(l.domNode)||r.set(l.domNode,[]),u&&i(l.parent))},a=l=>{r.has(l.domNode)&&(l instanceof Ln&&l.children.forEach(a),r.delete(l.domNode),l.optimize(n))};let s=e;for(let l=0;s.length>0;l+=1){if(l>=Ote)throw new Error("[Parchment] Maximum optimize iterations reached");for(s.forEach(u=>{const d=this.find(u.target,!0);d!=null&&(d.domNode===u.target&&(u.type==="childList"?(i(this.find(u.previousSibling,!1)),Array.from(u.addedNodes).forEach(c=>{const f=this.find(c,!1);i(f,!1),f instanceof Ln&&f.children.forEach(p=>{i(p,!1)})})):u.type==="attributes"&&i(d.prev)),i(d))}),this.children.forEach(a),s=Array.from(this.observer.takeRecords()),o=s.slice();o.length>0;)e.push(o.pop())}}update(e,n={}){e=e||this.observer.takeRecords();const r=new WeakMap;e.map(o=>{const i=this.find(o.target,!0);return i==null?null:r.has(i.domNode)?(r.get(i.domNode).push(o),null):(r.set(i.domNode,[o]),i)}).forEach(o=>{o!=null&&o!==this&&r.has(o.domNode)&&o.update(r.get(o.domNode)||[],n)}),n.mutationsMap=r,r.has(this.domNode)&&super.update(r.get(this.domNode),n),this.optimize(e,n)}};di.blotName="scroll",di.defaultChild=Ja,di.allowedChildren=[Ja,Rc],di.scope=ve.BLOCK_BLOT,di.tagName="DIV";let Rte=di;const Mv=Rte,Ng=class dP extends Wt{static create(e){return document.createTextNode(e)}static value(e){return e.data}constructor(e,n){super(e,n),this.text=this.statics.value(this.domNode)}deleteAt(e,n){this.domNode.data=this.text=this.text.slice(0,e)+this.text.slice(e+n)}index(e,n){return this.domNode===e?n:-1}insertAt(e,n,r){r==null?(this.text=this.text.slice(0,e)+n+this.text.slice(e),this.domNode.data=this.text):super.insertAt(e,n,r)}length(){return this.text.length}optimize(e){super.optimize(e),this.text=this.statics.value(this.domNode),this.text.length===0?this.remove():this.next instanceof dP&&this.next.prev===this&&(this.insertAt(this.length(),this.next.value()),this.next.remove())}position(e,n=!1){return[this.domNode,e]}split(e,n=!1){if(!n){if(e===0)return this;if(e===this.length())return this.next}const r=this.scroll.create(this.domNode.splitText(e));return this.parent.insertBefore(r,this.next||void 0),this.text=this.statics.value(this.domNode),r}update(e,n){e.some(r=>r.type==="characterData"&&r.target===this.domNode)&&(this.text=this.statics.value(this.domNode))}value(){return this.text}};Ng.blotName="text",Ng.scope=ve.INLINE_BLOT;let Pte=Ng;const hu=Pte,Mte=Object.freeze(Object.defineProperty({__proto__:null,Attributor:dr,AttributorStore:Oc,BlockBlot:Ja,ClassAttributor:zn,ContainerBlot:Rc,EmbedBlot:dn,InlineBlot:Pv,LeafBlot:Wt,ParentBlot:Ln,Registry:Pi,Scope:ve,ScrollBlot:Mv,StyleAttributor:lo,TextBlot:hu},Symbol.toStringTag,{value:"Module"}));var hl={exports:{}},sm,jC;function kte(){if(jC)return sm;jC=1;var t=-1,e=1,n=0;function r(T,k,_,B,L){if(T===k)return T?[[n,T]]:[];if(_!=null){var P=M(T,k,_);if(P)return P}var G=s(T,k),D=T.substring(0,G);T=T.substring(G),k=k.substring(G),G=u(T,k);var H=T.substring(T.length-G);T=T.substring(0,T.length-G),k=k.substring(0,k.length-G);var U=o(T,k);return D&&U.unshift([n,D]),H&&U.push([n,H]),w(U,L),B&&c(U),U}function o(T,k){var _;if(!T)return[[e,k]];if(!k)return[[t,T]];var B=T.length>k.length?T:k,L=T.length>k.length?k:T,P=B.indexOf(L);if(P!==-1)return _=[[e,B.substring(0,P)],[n,L],[e,B.substring(P+L.length)]],T.length>k.length&&(_[0][0]=_[2][0]=t),_;if(L.length===1)return[[t,T],[e,k]];var G=d(T,k);if(G){var D=G[0],H=G[1],U=G[2],Q=G[3],$=G[4],q=r(D,U),Z=r(H,Q);return q.concat([[n,$]],Z)}return i(T,k)}function i(T,k){for(var _=T.length,B=k.length,L=Math.ceil((_+B)/2),P=L,G=2*L,D=new Array(G),H=new Array(G),U=0;U<G;U++)D[U]=-1,H[U]=-1;D[P+1]=0,H[P+1]=0;for(var Q=_-B,$=Q%2!==0,q=0,Z=0,X=0,te=0,Y=0;Y<L;Y++){for(var J=-Y+q;J<=Y-Z;J+=2){var ie=P+J,oe;J===-Y||J!==Y&&D[ie-1]<D[ie+1]?oe=D[ie+1]:oe=D[ie-1]+1;for(var re=oe-J;oe<_&&re<B&&T.charAt(oe)===k.charAt(re);)oe++,re++;if(D[ie]=oe,oe>_)Z+=2;else if(re>B)q+=2;else if($){var z=P+Q-J;if(z>=0&&z<G&&H[z]!==-1){var ue=_-H[z];if(oe>=ue)return a(T,k,oe,re)}}}for(var W=-Y+X;W<=Y-te;W+=2){var z=P+W,ue;W===-Y||W!==Y&&H[z-1]<H[z+1]?ue=H[z+1]:ue=H[z-1]+1;for(var le=ue-W;ue<_&&le<B&&T.charAt(_-ue-1)===k.charAt(B-le-1);)ue++,le++;if(H[z]=ue,ue>_)te+=2;else if(le>B)X+=2;else if(!$){var ie=P+Q-W;if(ie>=0&&ie<G&&D[ie]!==-1){var oe=D[ie],re=P+oe-ie;if(ue=_-ue,oe>=ue)return a(T,k,oe,re)}}}}return[[t,T],[e,k]]}function a(T,k,_,B){var L=T.substring(0,_),P=k.substring(0,B),G=T.substring(_),D=k.substring(B),H=r(L,P),U=r(G,D);return H.concat(U)}function s(T,k){if(!T||!k||T.charAt(0)!==k.charAt(0))return 0;for(var _=0,B=Math.min(T.length,k.length),L=B,P=0;_<L;)T.substring(P,L)==k.substring(P,L)?(_=L,P=_):B=L,L=Math.floor((B-_)/2+_);return C(T.charCodeAt(L-1))&&L--,L}function l(T,k){var _=T.length,B=k.length;if(_==0||B==0)return 0;_>B?T=T.substring(_-B):_<B&&(k=k.substring(0,_));var L=Math.min(_,B);if(T==k)return L;for(var P=0,G=1;;){var D=T.substring(L-G),H=k.indexOf(D);if(H==-1)return P;G+=H,(H==0||T.substring(L-G)==k.substring(0,G))&&(P=G,G++)}}function u(T,k){if(!T||!k||T.slice(-1)!==k.slice(-1))return 0;for(var _=0,B=Math.min(T.length,k.length),L=B,P=0;_<L;)T.substring(T.length-L,T.length-P)==k.substring(k.length-L,k.length-P)?(_=L,P=_):B=L,L=Math.floor((B-_)/2+_);return S(T.charCodeAt(T.length-L))&&L--,L}function d(T,k){var _=T.length>k.length?T:k,B=T.length>k.length?k:T;if(_.length<4||B.length*2<_.length)return null;function L(Z,X,te){for(var Y=Z.substring(te,te+Math.floor(Z.length/4)),J=-1,ie="",oe,re,z,ue;(J=X.indexOf(Y,J+1))!==-1;){var W=s(Z.substring(te),X.substring(J)),le=u(Z.substring(0,te),X.substring(0,J));ie.length<le+W&&(ie=X.substring(J-le,J)+X.substring(J,J+W),oe=Z.substring(0,te-le),re=Z.substring(te+W),z=X.substring(0,J-le),ue=X.substring(J+W))}return ie.length*2>=Z.length?[oe,re,z,ue,ie]:null}var P=L(_,B,Math.ceil(_.length/4)),G=L(_,B,Math.ceil(_.length/2)),D;if(!P&&!G)return null;G?P?D=P[4].length>G[4].length?P:G:D=G:D=P;var H,U,Q,$;T.length>k.length?(H=D[0],U=D[1],Q=D[2],$=D[3]):(Q=D[0],$=D[1],H=D[2],U=D[3]);var q=D[4];return[H,U,Q,$,q]}function c(T){for(var k=!1,_=[],B=0,L=null,P=0,G=0,D=0,H=0,U=0;P<T.length;)T[P][0]==n?(_[B++]=P,G=H,D=U,H=0,U=0,L=T[P][1]):(T[P][0]==e?H+=T[P][1].length:U+=T[P][1].length,L&&L.length<=Math.max(G,D)&&L.length<=Math.max(H,U)&&(T.splice(_[B-1],0,[t,L]),T[_[B-1]+1][0]=e,B--,B--,P=B>0?_[B-1]:-1,G=0,D=0,H=0,U=0,L=null,k=!0)),P++;for(k&&w(T),y(T),P=1;P<T.length;){if(T[P-1][0]==t&&T[P][0]==e){var Q=T[P-1][1],$=T[P][1],q=l(Q,$),Z=l($,Q);q>=Z?(q>=Q.length/2||q>=$.length/2)&&(T.splice(P,0,[n,$.substring(0,q)]),T[P-1][1]=Q.substring(0,Q.length-q),T[P+1][1]=$.substring(q),P++):(Z>=Q.length/2||Z>=$.length/2)&&(T.splice(P,0,[n,Q.substring(0,Z)]),T[P-1][0]=e,T[P-1][1]=$.substring(0,$.length-Z),T[P+1][0]=t,T[P+1][1]=Q.substring(Z),P++),P++}P++}}var f=/[^a-zA-Z0-9]/,p=/\s/,m=/[\r\n]/,g=/\n\r?\n$/,b=/^\r?\n\r?\n/;function y(T){function k(Z,X){if(!Z||!X)return 6;var te=Z.charAt(Z.length-1),Y=X.charAt(0),J=te.match(f),ie=Y.match(f),oe=J&&te.match(p),re=ie&&Y.match(p),z=oe&&te.match(m),ue=re&&Y.match(m),W=z&&Z.match(g),le=ue&&X.match(b);return W||le?5:z||ue?4:J&&!oe&&re?3:oe||re?2:J||ie?1:0}for(var _=1;_<T.length-1;){if(T[_-1][0]==n&&T[_+1][0]==n){var B=T[_-1][1],L=T[_][1],P=T[_+1][1],G=u(B,L);if(G){var D=L.substring(L.length-G);B=B.substring(0,B.length-G),L=D+L.substring(0,L.length-G),P=D+P}for(var H=B,U=L,Q=P,$=k(B,L)+k(L,P);L.charAt(0)===P.charAt(0);){B+=L.charAt(0),L=L.substring(1)+P.charAt(0),P=P.substring(1);var q=k(B,L)+k(L,P);q>=$&&($=q,H=B,U=L,Q=P)}T[_-1][1]!=H&&(H?T[_-1][1]=H:(T.splice(_-1,1),_--),T[_][1]=U,Q?T[_+1][1]=Q:(T.splice(_+1,1),_--))}_++}}function w(T,k){T.push([n,""]);for(var _=0,B=0,L=0,P="",G="",D;_<T.length;){if(_<T.length-1&&!T[_][1]){T.splice(_,1);continue}switch(T[_][0]){case e:L++,G+=T[_][1],_++;break;case t:B++,P+=T[_][1],_++;break;case n:var H=_-L-B-1;if(k){if(H>=0&&N(T[H][1])){var U=T[H][1].slice(-1);if(T[H][1]=T[H][1].slice(0,-1),P=U+P,G=U+G,!T[H][1]){T.splice(H,1),_--;var Q=H-1;T[Q]&&T[Q][0]===e&&(L++,G=T[Q][1]+G,Q--),T[Q]&&T[Q][0]===t&&(B++,P=T[Q][1]+P,Q--),H=Q}}if(E(T[_][1])){var U=T[_][1].charAt(0);T[_][1]=T[_][1].slice(1),P+=U,G+=U}}if(_<T.length-1&&!T[_][1]){T.splice(_,1);break}if(P.length>0||G.length>0){P.length>0&&G.length>0&&(D=s(G,P),D!==0&&(H>=0?T[H][1]+=G.substring(0,D):(T.splice(0,0,[n,G.substring(0,D)]),_++),G=G.substring(D),P=P.substring(D)),D=u(G,P),D!==0&&(T[_][1]=G.substring(G.length-D)+T[_][1],G=G.substring(0,G.length-D),P=P.substring(0,P.length-D)));var $=L+B;P.length===0&&G.length===0?(T.splice(_-$,$),_=_-$):P.length===0?(T.splice(_-$,$,[e,G]),_=_-$+1):G.length===0?(T.splice(_-$,$,[t,P]),_=_-$+1):(T.splice(_-$,$,[t,P],[e,G]),_=_-$+2)}_!==0&&T[_-1][0]===n?(T[_-1][1]+=T[_][1],T.splice(_,1)):_++,L=0,B=0,P="",G="";break}}T[T.length-1][1]===""&&T.pop();var q=!1;for(_=1;_<T.length-1;)T[_-1][0]===n&&T[_+1][0]===n&&(T[_][1].substring(T[_][1].length-T[_-1][1].length)===T[_-1][1]?(T[_][1]=T[_-1][1]+T[_][1].substring(0,T[_][1].length-T[_-1][1].length),T[_+1][1]=T[_-1][1]+T[_+1][1],T.splice(_-1,1),q=!0):T[_][1].substring(0,T[_+1][1].length)==T[_+1][1]&&(T[_-1][1]+=T[_+1][1],T[_][1]=T[_][1].substring(T[_+1][1].length)+T[_+1][1],T.splice(_+1,1),q=!0)),_++;q&&w(T,k)}function C(T){return T>=55296&&T<=56319}function S(T){return T>=56320&&T<=57343}function E(T){return S(T.charCodeAt(0))}function N(T){return C(T.charCodeAt(T.length-1))}function A(T){for(var k=[],_=0;_<T.length;_++)T[_][1].length>0&&k.push(T[_]);return k}function O(T,k,_,B){return N(T)||E(B)?null:A([[n,T],[t,k],[e,_],[n,B]])}function M(T,k,_){var B=typeof _=="number"?{index:_,length:0}:_.oldRange,L=typeof _=="number"?null:_.newRange,P=T.length,G=k.length;if(B.length===0&&(L===null||L.length===0)){var D=B.index,H=T.slice(0,D),U=T.slice(D),Q=L?L.index:null;e:{var $=D+G-P;if(Q!==null&&Q!==$||$<0||$>G)break e;var q=k.slice(0,$),Z=k.slice($);if(Z!==U)break e;var X=Math.min(D,$),te=H.slice(0,X),Y=q.slice(0,X);if(te!==Y)break e;var J=H.slice(X),ie=q.slice(X);return O(te,J,ie,U)}e:{if(Q!==null&&Q!==D)break e;var oe=D,q=k.slice(0,oe),Z=k.slice(oe);if(q!==H)break e;var re=Math.min(P-oe,G-oe),z=U.slice(U.length-re),ue=Z.slice(Z.length-re);if(z!==ue)break e;var J=U.slice(0,U.length-re),ie=Z.slice(0,Z.length-re);return O(H,J,ie,z)}}if(B.length>0&&L&&L.length===0)e:{var te=T.slice(0,B.index),z=T.slice(B.index+B.length),X=te.length,re=z.length;if(G<X+re)break e;var Y=k.slice(0,X),ue=k.slice(G-re);if(te!==Y||z!==ue)break e;var J=T.slice(X,P-re),ie=k.slice(X,G-re);return O(te,J,ie,z)}return null}function V(T,k,_,B){return r(T,k,_,B,!0)}return V.INSERT=e,V.DELETE=t,V.EQUAL=n,sm=V,sm}var Ca={exports:{}};Ca.exports;var LC;function fP(){return LC||(LC=1,(function(t,e){var n=200,r="__lodash_hash_undefined__",o=9007199254740991,i="[object Arguments]",a="[object Array]",s="[object Boolean]",l="[object Date]",u="[object Error]",d="[object Function]",c="[object GeneratorFunction]",f="[object Map]",p="[object Number]",m="[object Object]",g="[object Promise]",b="[object RegExp]",y="[object Set]",w="[object String]",C="[object Symbol]",S="[object WeakMap]",E="[object ArrayBuffer]",N="[object DataView]",A="[object Float32Array]",O="[object Float64Array]",M="[object Int8Array]",V="[object Int16Array]",T="[object Int32Array]",k="[object Uint8Array]",_="[object Uint8ClampedArray]",B="[object Uint16Array]",L="[object Uint32Array]",P=/[\\^$.*+?()[\]{}|]/g,G=/\w*$/,D=/^\[object .+?Constructor\]$/,H=/^(?:0|[1-9]\d*)$/,U={};U[i]=U[a]=U[E]=U[N]=U[s]=U[l]=U[A]=U[O]=U[M]=U[V]=U[T]=U[f]=U[p]=U[m]=U[b]=U[y]=U[w]=U[C]=U[k]=U[_]=U[B]=U[L]=!0,U[u]=U[d]=U[S]=!1;var Q=typeof yn=="object"&&yn&&yn.Object===Object&&yn,$=typeof self=="object"&&self&&self.Object===Object&&self,q=Q||$||Function("return this")(),Z=e&&!e.nodeType&&e,X=Z&&!0&&t&&!t.nodeType&&t,te=X&&X.exports===Z;function Y(x,R){return x.set(R[0],R[1]),x}function J(x,R){return x.add(R),x}function ie(x,R){for(var F=-1,K=x?x.length:0;++F<K&&R(x[F],F,x)!==!1;);return x}function oe(x,R){for(var F=-1,K=R.length,Oe=x.length;++F<K;)x[Oe+F]=R[F];return x}function re(x,R,F,K){for(var Oe=-1,ye=x?x.length:0;++Oe<ye;)F=R(F,x[Oe],Oe,x);return F}function z(x,R){for(var F=-1,K=Array(x);++F<x;)K[F]=R(F);return K}function ue(x,R){return x?.[R]}function W(x){var R=!1;if(x!=null&&typeof x.toString!="function")try{R=!!(x+"")}catch{}return R}function le(x){var R=-1,F=Array(x.size);return x.forEach(function(K,Oe){F[++R]=[Oe,K]}),F}function Ae(x,R){return function(F){return x(R(F))}}function Ne(x){var R=-1,F=Array(x.size);return x.forEach(function(K){F[++R]=K}),F}var We=Array.prototype,Ie=Function.prototype,Re=Object.prototype,at=q["__core-js_shared__"],Me=(function(){var x=/[^.]+$/.exec(at&&at.keys&&at.keys.IE_PROTO||"");return x?"Symbol(src)_1."+x:""})(),Ge=Ie.toString,Ve=Re.hasOwnProperty,Qe=Re.toString,st=RegExp("^"+Ge.call(Ve).replace(P,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),it=te?q.Buffer:void 0,mt=q.Symbol,bt=q.Uint8Array,Le=Ae(Object.getPrototypeOf,Object),_t=Object.create,tt=Re.propertyIsEnumerable,lt=We.splice,Ot=Object.getOwnPropertySymbols,Rt=it?it.isBuffer:void 0,tn=Ae(Object.keys,Object),Ht=An(q,"DataView"),Pt=An(q,"Map"),ne=An(q,"Promise"),fe=An(q,"Set"),ce=An(q,"WeakMap"),de=An(Object,"create"),Te=zt(Ht),ae=zt(Pt),_e=zt(ne),ke=zt(fe),De=zt(ce),nt=mt?mt.prototype:void 0,je=nt?nt.valueOf:void 0;function Be(x){var R=-1,F=x?x.length:0;for(this.clear();++R<F;){var K=x[R];this.set(K[0],K[1])}}function nn(){this.__data__=de?de(null):{}}function Tt(x){return this.has(x)&&delete this.__data__[x]}function qt(x){var R=this.__data__;if(de){var F=R[x];return F===r?void 0:F}return Ve.call(R,x)?R[x]:void 0}function uo(x){var R=this.__data__;return de?R[x]!==void 0:Ve.call(R,x)}function rn(x,R){var F=this.__data__;return F[x]=de&&R===void 0?r:R,this}Be.prototype.clear=nn,Be.prototype.delete=Tt,Be.prototype.get=qt,Be.prototype.has=uo,Be.prototype.set=rn;function Nt(x){var R=-1,F=x?x.length:0;for(this.clear();++R<F;){var K=x[R];this.set(K[0],K[1])}}function Dc(){this.__data__=[]}function jc(x){var R=this.__data__,F=Yo(R,x);if(F<0)return!1;var K=R.length-1;return F==K?R.pop():lt.call(R,F,1),!0}function Lc(x){var R=this.__data__,F=Yo(R,x);return F<0?void 0:R[F][1]}function Bc(x){return Yo(this.__data__,x)>-1}function Fc(x,R){var F=this.__data__,K=Yo(F,x);return K<0?F.push([x,R]):F[K][1]=R,this}Nt.prototype.clear=Dc,Nt.prototype.delete=jc,Nt.prototype.get=Lc,Nt.prototype.has=Bc,Nt.prototype.set=Fc;function Lt(x){var R=-1,F=x?x.length:0;for(this.clear();++R<F;){var K=x[R];this.set(K[0],K[1])}}function Gc(){this.__data__={hash:new Be,map:new(Pt||Nt),string:new Be}}function $c(x){return fo(this,x).delete(x)}function Wc(x){return fo(this,x).get(x)}function Vc(x){return fo(this,x).has(x)}function Hc(x,R){return fo(this,x).set(x,R),this}Lt.prototype.clear=Gc,Lt.prototype.delete=$c,Lt.prototype.get=Wc,Lt.prototype.has=Vc,Lt.prototype.set=Hc;function Ut(x){this.__data__=new Nt(x)}function qc(){this.__data__=new Nt}function zc(x){return this.__data__.delete(x)}function Xc(x){return this.__data__.get(x)}function Yc(x){return this.__data__.has(x)}function Uc(x,R){var F=this.__data__;if(F instanceof Nt){var K=F.__data__;if(!Pt||K.length<n-1)return K.push([x,R]),this;F=this.__data__=new Lt(K)}return F.set(x,R),this}Ut.prototype.clear=qc,Ut.prototype.delete=zc,Ut.prototype.get=Xc,Ut.prototype.has=Yc,Ut.prototype.set=Uc;function Xo(x,R){var F=Ji(x)||Zo(x)?z(x.length,String):[],K=F.length,Oe=!!K;for(var ye in x)Ve.call(x,ye)&&!(Oe&&(ye=="length"||ud(ye,K)))&&F.push(ye);return F}function Rs(x,R,F){var K=x[R];(!(Ve.call(x,R)&&js(K,F))||F===void 0&&!(R in x))&&(x[R]=F)}function Yo(x,R){for(var F=x.length;F--;)if(js(x[F][0],R))return F;return-1}function Yn(x,R){return x&&Zi(R,Qi(R),x)}function Yi(x,R,F,K,Oe,ye,$e){var Fe;if(K&&(Fe=ye?K(x,Oe,ye,$e):K(x)),Fe!==void 0)return Fe;if(!Zn(x))return x;var vt=Ji(x);if(vt){if(Fe=sd(x),!R)return od(x,Fe)}else{var ze=Cr(x),Bt=ze==d||ze==c;if(Ls(x))return Uo(x,R);if(ze==m||ze==i||Bt&&!ye){if(W(x))return ye?x:{};if(Fe=Un(Bt?{}:x),!R)return id(x,Yn(Fe,x))}else{if(!U[ze])return ye?x:{};Fe=ld(x,ze,Yi,R)}}$e||($e=new Ut);var Zt=$e.get(x);if(Zt)return Zt;if($e.set(x,Fe),!vt)var Ct=F?ad(x):Qi(x);return ie(Ct||x,function(Ft,Mt){Ct&&(Mt=Ft,Ft=x[Mt]),Rs(Fe,Mt,Yi(Ft,R,F,K,Mt,x,$e))}),Fe}function Zc(x){return Zn(x)?_t(x):{}}function Jc(x,R,F){var K=R(x);return Ji(x)?K:oe(K,F(x))}function Kc(x){return Qe.call(x)}function Qc(x){if(!Zn(x)||dd(x))return!1;var R=Ki(x)||W(x)?st:D;return R.test(zt(x))}function ed(x){if(!ks(x))return tn(x);var R=[];for(var F in Object(x))Ve.call(x,F)&&F!="constructor"&&R.push(F);return R}function Uo(x,R){if(R)return x.slice();var F=new x.constructor(x.length);return x.copy(F),F}function Ui(x){var R=new x.constructor(x.byteLength);return new bt(R).set(new bt(x)),R}function co(x,R){var F=R?Ui(x.buffer):x.buffer;return new x.constructor(F,x.byteOffset,x.byteLength)}function Ps(x,R,F){var K=R?F(le(x),!0):le(x);return re(K,Y,new x.constructor)}function Ms(x){var R=new x.constructor(x.source,G.exec(x));return R.lastIndex=x.lastIndex,R}function td(x,R,F){var K=R?F(Ne(x),!0):Ne(x);return re(K,J,new x.constructor)}function nd(x){return je?Object(je.call(x)):{}}function rd(x,R){var F=R?Ui(x.buffer):x.buffer;return new x.constructor(F,x.byteOffset,x.length)}function od(x,R){var F=-1,K=x.length;for(R||(R=Array(K));++F<K;)R[F]=x[F];return R}function Zi(x,R,F,K){F||(F={});for(var Oe=-1,ye=R.length;++Oe<ye;){var $e=R[Oe],Fe=void 0;Rs(F,$e,Fe===void 0?x[$e]:Fe)}return F}function id(x,R){return Zi(x,wr(x),R)}function ad(x){return Jc(x,Qi,wr)}function fo(x,R){var F=x.__data__;return cd(R)?F[typeof R=="string"?"string":"hash"]:F.map}function An(x,R){var F=ue(x,R);return Qc(F)?F:void 0}var wr=Ot?Ae(Ot,Object):hd,Cr=Kc;(Ht&&Cr(new Ht(new ArrayBuffer(1)))!=N||Pt&&Cr(new Pt)!=f||ne&&Cr(ne.resolve())!=g||fe&&Cr(new fe)!=y||ce&&Cr(new ce)!=S)&&(Cr=function(x){var R=Qe.call(x),F=R==m?x.constructor:void 0,K=F?zt(F):void 0;if(K)switch(K){case Te:return N;case ae:return f;case _e:return g;case ke:return y;case De:return S}return R});function sd(x){var R=x.length,F=x.constructor(R);return R&&typeof x[0]=="string"&&Ve.call(x,"index")&&(F.index=x.index,F.input=x.input),F}function Un(x){return typeof x.constructor=="function"&&!ks(x)?Zc(Le(x)):{}}function ld(x,R,F,K){var Oe=x.constructor;switch(R){case E:return Ui(x);case s:case l:return new Oe(+x);case N:return co(x,K);case A:case O:case M:case V:case T:case k:case _:case B:case L:return rd(x,K);case f:return Ps(x,K,F);case p:case w:return new Oe(x);case b:return Ms(x);case y:return td(x,K,F);case C:return nd(x)}}function ud(x,R){return R=R??o,!!R&&(typeof x=="number"||H.test(x))&&x>-1&&x%1==0&&x<R}function cd(x){var R=typeof x;return R=="string"||R=="number"||R=="symbol"||R=="boolean"?x!=="__proto__":x===null}function dd(x){return!!Me&&Me in x}function ks(x){var R=x&&x.constructor,F=typeof R=="function"&&R.prototype||Re;return x===F}function zt(x){if(x!=null){try{return Ge.call(x)}catch{}try{return x+""}catch{}}return""}function Ds(x){return Yi(x,!0,!0)}function js(x,R){return x===R||x!==x&&R!==R}function Zo(x){return fd(x)&&Ve.call(x,"callee")&&(!tt.call(x,"callee")||Qe.call(x)==i)}var Ji=Array.isArray;function Jo(x){return x!=null&&Bs(x.length)&&!Ki(x)}function fd(x){return Fs(x)&&Jo(x)}var Ls=Rt||pd;function Ki(x){var R=Zn(x)?Qe.call(x):"";return R==d||R==c}function Bs(x){return typeof x=="number"&&x>-1&&x%1==0&&x<=o}function Zn(x){var R=typeof x;return!!x&&(R=="object"||R=="function")}function Fs(x){return!!x&&typeof x=="object"}function Qi(x){return Jo(x)?Xo(x):ed(x)}function hd(){return[]}function pd(){return!1}t.exports=Ds})(Ca,Ca.exports)),Ca.exports}var Sa={exports:{}};Sa.exports;var BC;function hP(){return BC||(BC=1,(function(t,e){var n=200,r="__lodash_hash_undefined__",o=1,i=2,a=9007199254740991,s="[object Arguments]",l="[object Array]",u="[object AsyncFunction]",d="[object Boolean]",c="[object Date]",f="[object Error]",p="[object Function]",m="[object GeneratorFunction]",g="[object Map]",b="[object Number]",y="[object Null]",w="[object Object]",C="[object Promise]",S="[object Proxy]",E="[object RegExp]",N="[object Set]",A="[object String]",O="[object Symbol]",M="[object Undefined]",V="[object WeakMap]",T="[object ArrayBuffer]",k="[object DataView]",_="[object Float32Array]",B="[object Float64Array]",L="[object Int8Array]",P="[object Int16Array]",G="[object Int32Array]",D="[object Uint8Array]",H="[object Uint8ClampedArray]",U="[object Uint16Array]",Q="[object Uint32Array]",$=/[\\^$.*+?()[\]{}|]/g,q=/^\[object .+?Constructor\]$/,Z=/^(?:0|[1-9]\d*)$/,X={};X[_]=X[B]=X[L]=X[P]=X[G]=X[D]=X[H]=X[U]=X[Q]=!0,X[s]=X[l]=X[T]=X[d]=X[k]=X[c]=X[f]=X[p]=X[g]=X[b]=X[w]=X[E]=X[N]=X[A]=X[V]=!1;var te=typeof yn=="object"&&yn&&yn.Object===Object&&yn,Y=typeof self=="object"&&self&&self.Object===Object&&self,J=te||Y||Function("return this")(),ie=e&&!e.nodeType&&e,oe=ie&&!0&&t&&!t.nodeType&&t,re=oe&&oe.exports===ie,z=re&&te.process,ue=(function(){try{return z&&z.binding&&z.binding("util")}catch{}})(),W=ue&&ue.isTypedArray;function le(x,R){for(var F=-1,K=x==null?0:x.length,Oe=0,ye=[];++F<K;){var $e=x[F];R($e,F,x)&&(ye[Oe++]=$e)}return ye}function Ae(x,R){for(var F=-1,K=R.length,Oe=x.length;++F<K;)x[Oe+F]=R[F];return x}function Ne(x,R){for(var F=-1,K=x==null?0:x.length;++F<K;)if(R(x[F],F,x))return!0;return!1}function We(x,R){for(var F=-1,K=Array(x);++F<x;)K[F]=R(F);return K}function Ie(x){return function(R){return x(R)}}function Re(x,R){return x.has(R)}function at(x,R){return x?.[R]}function Me(x){var R=-1,F=Array(x.size);return x.forEach(function(K,Oe){F[++R]=[Oe,K]}),F}function Ge(x,R){return function(F){return x(R(F))}}function Ve(x){var R=-1,F=Array(x.size);return x.forEach(function(K){F[++R]=K}),F}var Qe=Array.prototype,st=Function.prototype,it=Object.prototype,mt=J["__core-js_shared__"],bt=st.toString,Le=it.hasOwnProperty,_t=(function(){var x=/[^.]+$/.exec(mt&&mt.keys&&mt.keys.IE_PROTO||"");return x?"Symbol(src)_1."+x:""})(),tt=it.toString,lt=RegExp("^"+bt.call(Le).replace($,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Ot=re?J.Buffer:void 0,Rt=J.Symbol,tn=J.Uint8Array,Ht=it.propertyIsEnumerable,Pt=Qe.splice,ne=Rt?Rt.toStringTag:void 0,fe=Object.getOwnPropertySymbols,ce=Ot?Ot.isBuffer:void 0,de=Ge(Object.keys,Object),Te=wr(J,"DataView"),ae=wr(J,"Map"),_e=wr(J,"Promise"),ke=wr(J,"Set"),De=wr(J,"WeakMap"),nt=wr(Object,"create"),je=zt(Te),Be=zt(ae),nn=zt(_e),Tt=zt(ke),qt=zt(De),uo=Rt?Rt.prototype:void 0,rn=uo?uo.valueOf:void 0;function Nt(x){var R=-1,F=x==null?0:x.length;for(this.clear();++R<F;){var K=x[R];this.set(K[0],K[1])}}function Dc(){this.__data__=nt?nt(null):{},this.size=0}function jc(x){var R=this.has(x)&&delete this.__data__[x];return this.size-=R?1:0,R}function Lc(x){var R=this.__data__;if(nt){var F=R[x];return F===r?void 0:F}return Le.call(R,x)?R[x]:void 0}function Bc(x){var R=this.__data__;return nt?R[x]!==void 0:Le.call(R,x)}function Fc(x,R){var F=this.__data__;return this.size+=this.has(x)?0:1,F[x]=nt&&R===void 0?r:R,this}Nt.prototype.clear=Dc,Nt.prototype.delete=jc,Nt.prototype.get=Lc,Nt.prototype.has=Bc,Nt.prototype.set=Fc;function Lt(x){var R=-1,F=x==null?0:x.length;for(this.clear();++R<F;){var K=x[R];this.set(K[0],K[1])}}function Gc(){this.__data__=[],this.size=0}function $c(x){var R=this.__data__,F=Uo(R,x);if(F<0)return!1;var K=R.length-1;return F==K?R.pop():Pt.call(R,F,1),--this.size,!0}function Wc(x){var R=this.__data__,F=Uo(R,x);return F<0?void 0:R[F][1]}function Vc(x){return Uo(this.__data__,x)>-1}function Hc(x,R){var F=this.__data__,K=Uo(F,x);return K<0?(++this.size,F.push([x,R])):F[K][1]=R,this}Lt.prototype.clear=Gc,Lt.prototype.delete=$c,Lt.prototype.get=Wc,Lt.prototype.has=Vc,Lt.prototype.set=Hc;function Ut(x){var R=-1,F=x==null?0:x.length;for(this.clear();++R<F;){var K=x[R];this.set(K[0],K[1])}}function qc(){this.size=0,this.__data__={hash:new Nt,map:new(ae||Lt),string:new Nt}}function zc(x){var R=An(this,x).delete(x);return this.size-=R?1:0,R}function Xc(x){return An(this,x).get(x)}function Yc(x){return An(this,x).has(x)}function Uc(x,R){var F=An(this,x),K=F.size;return F.set(x,R),this.size+=F.size==K?0:1,this}Ut.prototype.clear=qc,Ut.prototype.delete=zc,Ut.prototype.get=Xc,Ut.prototype.has=Yc,Ut.prototype.set=Uc;function Xo(x){var R=-1,F=x==null?0:x.length;for(this.__data__=new Ut;++R<F;)this.add(x[R])}function Rs(x){return this.__data__.set(x,r),this}function Yo(x){return this.__data__.has(x)}Xo.prototype.add=Xo.prototype.push=Rs,Xo.prototype.has=Yo;function Yn(x){var R=this.__data__=new Lt(x);this.size=R.size}function Yi(){this.__data__=new Lt,this.size=0}function Zc(x){var R=this.__data__,F=R.delete(x);return this.size=R.size,F}function Jc(x){return this.__data__.get(x)}function Kc(x){return this.__data__.has(x)}function Qc(x,R){var F=this.__data__;if(F instanceof Lt){var K=F.__data__;if(!ae||K.length<n-1)return K.push([x,R]),this.size=++F.size,this;F=this.__data__=new Ut(K)}return F.set(x,R),this.size=F.size,this}Yn.prototype.clear=Yi,Yn.prototype.delete=Zc,Yn.prototype.get=Jc,Yn.prototype.has=Kc,Yn.prototype.set=Qc;function ed(x,R){var F=Zo(x),K=!F&&js(x),Oe=!F&&!K&&Jo(x),ye=!F&&!K&&!Oe&&Fs(x),$e=F||K||Oe||ye,Fe=$e?We(x.length,String):[],vt=Fe.length;for(var ze in x)Le.call(x,ze)&&!($e&&(ze=="length"||Oe&&(ze=="offset"||ze=="parent")||ye&&(ze=="buffer"||ze=="byteLength"||ze=="byteOffset")||ld(ze,vt)))&&Fe.push(ze);return Fe}function Uo(x,R){for(var F=x.length;F--;)if(Ds(x[F][0],R))return F;return-1}function Ui(x,R,F){var K=R(x);return Zo(x)?K:Ae(K,F(x))}function co(x){return x==null?x===void 0?M:y:ne&&ne in Object(x)?Cr(x):ks(x)}function Ps(x){return Zn(x)&&co(x)==s}function Ms(x,R,F,K,Oe){return x===R?!0:x==null||R==null||!Zn(x)&&!Zn(R)?x!==x&&R!==R:td(x,R,F,K,Ms,Oe)}function td(x,R,F,K,Oe,ye){var $e=Zo(x),Fe=Zo(R),vt=$e?l:Un(x),ze=Fe?l:Un(R);vt=vt==s?w:vt,ze=ze==s?w:ze;var Bt=vt==w,Zt=ze==w,Ct=vt==ze;if(Ct&&Jo(x)){if(!Jo(R))return!1;$e=!0,Bt=!1}if(Ct&&!Bt)return ye||(ye=new Yn),$e||Fs(x)?Zi(x,R,F,K,Oe,ye):id(x,R,vt,F,K,Oe,ye);if(!(F&o)){var Ft=Bt&&Le.call(x,"__wrapped__"),Mt=Zt&&Le.call(R,"__wrapped__");if(Ft||Mt){var Fr=Ft?x.value():x,Sr=Mt?R.value():R;return ye||(ye=new Yn),Oe(Fr,Sr,F,K,ye)}}return Ct?(ye||(ye=new Yn),ad(x,R,F,K,Oe,ye)):!1}function nd(x){if(!Bs(x)||cd(x))return!1;var R=Ls(x)?lt:q;return R.test(zt(x))}function rd(x){return Zn(x)&&Ki(x.length)&&!!X[co(x)]}function od(x){if(!dd(x))return de(x);var R=[];for(var F in Object(x))Le.call(x,F)&&F!="constructor"&&R.push(F);return R}function Zi(x,R,F,K,Oe,ye){var $e=F&o,Fe=x.length,vt=R.length;if(Fe!=vt&&!($e&&vt>Fe))return!1;var ze=ye.get(x);if(ze&&ye.get(R))return ze==R;var Bt=-1,Zt=!0,Ct=F&i?new Xo:void 0;for(ye.set(x,R),ye.set(R,x);++Bt<Fe;){var Ft=x[Bt],Mt=R[Bt];if(K)var Fr=$e?K(Mt,Ft,Bt,R,x,ye):K(Ft,Mt,Bt,x,R,ye);if(Fr!==void 0){if(Fr)continue;Zt=!1;break}if(Ct){if(!Ne(R,function(Sr,ho){if(!Re(Ct,ho)&&(Ft===Sr||Oe(Ft,Sr,F,K,ye)))return Ct.push(ho)})){Zt=!1;break}}else if(!(Ft===Mt||Oe(Ft,Mt,F,K,ye))){Zt=!1;break}}return ye.delete(x),ye.delete(R),Zt}function id(x,R,F,K,Oe,ye,$e){switch(F){case k:if(x.byteLength!=R.byteLength||x.byteOffset!=R.byteOffset)return!1;x=x.buffer,R=R.buffer;case T:return!(x.byteLength!=R.byteLength||!ye(new tn(x),new tn(R)));case d:case c:case b:return Ds(+x,+R);case f:return x.name==R.name&&x.message==R.message;case E:case A:return x==R+"";case g:var Fe=Me;case N:var vt=K&o;if(Fe||(Fe=Ve),x.size!=R.size&&!vt)return!1;var ze=$e.get(x);if(ze)return ze==R;K|=i,$e.set(x,R);var Bt=Zi(Fe(x),Fe(R),K,Oe,ye,$e);return $e.delete(x),Bt;case O:if(rn)return rn.call(x)==rn.call(R)}return!1}function ad(x,R,F,K,Oe,ye){var $e=F&o,Fe=fo(x),vt=Fe.length,ze=fo(R),Bt=ze.length;if(vt!=Bt&&!$e)return!1;for(var Zt=vt;Zt--;){var Ct=Fe[Zt];if(!($e?Ct in R:Le.call(R,Ct)))return!1}var Ft=ye.get(x);if(Ft&&ye.get(R))return Ft==R;var Mt=!0;ye.set(x,R),ye.set(R,x);for(var Fr=$e;++Zt<vt;){Ct=Fe[Zt];var Sr=x[Ct],ho=R[Ct];if(K)var qv=$e?K(ho,Sr,Ct,R,x,ye):K(Sr,ho,Ct,x,R,ye);if(!(qv===void 0?Sr===ho||Oe(Sr,ho,F,K,ye):qv)){Mt=!1;break}Fr||(Fr=Ct=="constructor")}if(Mt&&!Fr){var Gs=x.constructor,$s=R.constructor;Gs!=$s&&"constructor"in x&&"constructor"in R&&!(typeof Gs=="function"&&Gs instanceof Gs&&typeof $s=="function"&&$s instanceof $s)&&(Mt=!1)}return ye.delete(x),ye.delete(R),Mt}function fo(x){return Ui(x,Qi,sd)}function An(x,R){var F=x.__data__;return ud(R)?F[typeof R=="string"?"string":"hash"]:F.map}function wr(x,R){var F=at(x,R);return nd(F)?F:void 0}function Cr(x){var R=Le.call(x,ne),F=x[ne];try{x[ne]=void 0;var K=!0}catch{}var Oe=tt.call(x);return K&&(R?x[ne]=F:delete x[ne]),Oe}var sd=fe?function(x){return x==null?[]:(x=Object(x),le(fe(x),function(R){return Ht.call(x,R)}))}:hd,Un=co;(Te&&Un(new Te(new ArrayBuffer(1)))!=k||ae&&Un(new ae)!=g||_e&&Un(_e.resolve())!=C||ke&&Un(new ke)!=N||De&&Un(new De)!=V)&&(Un=function(x){var R=co(x),F=R==w?x.constructor:void 0,K=F?zt(F):"";if(K)switch(K){case je:return k;case Be:return g;case nn:return C;case Tt:return N;case qt:return V}return R});function ld(x,R){return R=R??a,!!R&&(typeof x=="number"||Z.test(x))&&x>-1&&x%1==0&&x<R}function ud(x){var R=typeof x;return R=="string"||R=="number"||R=="symbol"||R=="boolean"?x!=="__proto__":x===null}function cd(x){return!!_t&&_t in x}function dd(x){var R=x&&x.constructor,F=typeof R=="function"&&R.prototype||it;return x===F}function ks(x){return tt.call(x)}function zt(x){if(x!=null){try{return bt.call(x)}catch{}try{return x+""}catch{}}return""}function Ds(x,R){return x===R||x!==x&&R!==R}var js=Ps((function(){return arguments})())?Ps:function(x){return Zn(x)&&Le.call(x,"callee")&&!Ht.call(x,"callee")},Zo=Array.isArray;function Ji(x){return x!=null&&Ki(x.length)&&!Ls(x)}var Jo=ce||pd;function fd(x,R){return Ms(x,R)}function Ls(x){if(!Bs(x))return!1;var R=co(x);return R==p||R==m||R==u||R==S}function Ki(x){return typeof x=="number"&&x>-1&&x%1==0&&x<=a}function Bs(x){var R=typeof x;return x!=null&&(R=="object"||R=="function")}function Zn(x){return x!=null&&typeof x=="object"}var Fs=W?Ie(W):rd;function Qi(x){return Ji(x)?ed(x):od(x)}function hd(){return[]}function pd(){return!1}t.exports=fd})(Sa,Sa.exports)),Sa.exports}var pl={},FC;function Dte(){if(FC)return pl;FC=1,Object.defineProperty(pl,"__esModule",{value:!0});const t=fP(),e=hP();var n;return(function(r){function o(l={},u={},d=!1){typeof l!="object"&&(l={}),typeof u!="object"&&(u={});let c=t(u);d||(c=Object.keys(c).reduce((f,p)=>(c[p]!=null&&(f[p]=c[p]),f),{}));for(const f in l)l[f]!==void 0&&u[f]===void 0&&(c[f]=l[f]);return Object.keys(c).length>0?c:void 0}r.compose=o;function i(l={},u={}){typeof l!="object"&&(l={}),typeof u!="object"&&(u={});const d=Object.keys(l).concat(Object.keys(u)).reduce((c,f)=>(e(l[f],u[f])||(c[f]=u[f]===void 0?null:u[f]),c),{});return Object.keys(d).length>0?d:void 0}r.diff=i;function a(l={},u={}){l=l||{};const d=Object.keys(u).reduce((c,f)=>(u[f]!==l[f]&&l[f]!==void 0&&(c[f]=u[f]),c),{});return Object.keys(l).reduce((c,f)=>(l[f]!==u[f]&&u[f]===void 0&&(c[f]=null),c),d)}r.invert=a;function s(l,u,d=!1){if(typeof l!="object")return u;if(typeof u!="object")return;if(!d)return u;const c=Object.keys(u).reduce((f,p)=>(l[p]===void 0&&(f[p]=u[p]),f),{});return Object.keys(c).length>0?c:void 0}r.transform=s})(n||(n={})),pl.default=n,pl}var ml={},GC;function pP(){if(GC)return ml;GC=1,Object.defineProperty(ml,"__esModule",{value:!0});var t;return(function(e){function n(r){return typeof r.delete=="number"?r.delete:typeof r.retain=="number"?r.retain:typeof r.retain=="object"&&r.retain!==null?1:typeof r.insert=="string"?r.insert.length:1}e.length=n})(t||(t={})),ml.default=t,ml}var gl={},$C;function jte(){if($C)return gl;$C=1,Object.defineProperty(gl,"__esModule",{value:!0});const t=pP();class e{constructor(r){this.ops=r,this.index=0,this.offset=0}hasNext(){return this.peekLength()<1/0}next(r){r||(r=1/0);const o=this.ops[this.index];if(o){const i=this.offset,a=t.default.length(o);if(r>=a-i?(r=a-i,this.index+=1,this.offset=0):this.offset+=r,typeof o.delete=="number")return{delete:r};{const s={};return o.attributes&&(s.attributes=o.attributes),typeof o.retain=="number"?s.retain=r:typeof o.retain=="object"&&o.retain!==null?s.retain=o.retain:typeof o.insert=="string"?s.insert=o.insert.substr(i,r):s.insert=o.insert,s}}else return{retain:1/0}}peek(){return this.ops[this.index]}peekLength(){return this.ops[this.index]?t.default.length(this.ops[this.index])-this.offset:1/0}peekType(){const r=this.ops[this.index];return r?typeof r.delete=="number"?"delete":typeof r.retain=="number"||typeof r.retain=="object"&&r.retain!==null?"retain":"insert":"retain"}rest(){if(this.hasNext()){if(this.offset===0)return this.ops.slice(this.index);{const r=this.offset,o=this.index,i=this.next(),a=this.ops.slice(this.index);return this.offset=r,this.index=o,[i].concat(a)}}else return[]}}return gl.default=e,gl}var WC;function Lte(){return WC||(WC=1,(function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.AttributeMap=e.OpIterator=e.Op=void 0;const n=kte(),r=fP(),o=hP(),i=Dte();e.AttributeMap=i.default;const a=pP();e.Op=a.default;const s=jte();e.OpIterator=s.default;const l="\0",u=(c,f)=>{if(typeof c!="object"||c===null)throw new Error(`cannot retain a ${typeof c}`);if(typeof f!="object"||f===null)throw new Error(`cannot retain a ${typeof f}`);const p=Object.keys(c)[0];if(!p||p!==Object.keys(f)[0])throw new Error(`embed types not matched: ${p} != ${Object.keys(f)[0]}`);return[p,c[p],f[p]]};class d{constructor(f){Array.isArray(f)?this.ops=f:f!=null&&Array.isArray(f.ops)?this.ops=f.ops:this.ops=[]}static registerEmbed(f,p){this.handlers[f]=p}static unregisterEmbed(f){delete this.handlers[f]}static getHandler(f){const p=this.handlers[f];if(!p)throw new Error(`no handlers for embed type "${f}"`);return p}insert(f,p){const m={};return typeof f=="string"&&f.length===0?this:(m.insert=f,p!=null&&typeof p=="object"&&Object.keys(p).length>0&&(m.attributes=p),this.push(m))}delete(f){return f<=0?this:this.push({delete:f})}retain(f,p){if(typeof f=="number"&&f<=0)return this;const m={retain:f};return p!=null&&typeof p=="object"&&Object.keys(p).length>0&&(m.attributes=p),this.push(m)}push(f){let p=this.ops.length,m=this.ops[p-1];if(f=r(f),typeof m=="object"){if(typeof f.delete=="number"&&typeof m.delete=="number")return this.ops[p-1]={delete:m.delete+f.delete},this;if(typeof m.delete=="number"&&f.insert!=null&&(p-=1,m=this.ops[p-1],typeof m!="object"))return this.ops.unshift(f),this;if(o(f.attributes,m.attributes)){if(typeof f.insert=="string"&&typeof m.insert=="string")return this.ops[p-1]={insert:m.insert+f.insert},typeof f.attributes=="object"&&(this.ops[p-1].attributes=f.attributes),this;if(typeof f.retain=="number"&&typeof m.retain=="number")return this.ops[p-1]={retain:m.retain+f.retain},typeof f.attributes=="object"&&(this.ops[p-1].attributes=f.attributes),this}}return p===this.ops.length?this.ops.push(f):this.ops.splice(p,0,f),this}chop(){const f=this.ops[this.ops.length-1];return f&&typeof f.retain=="number"&&!f.attributes&&this.ops.pop(),this}filter(f){return this.ops.filter(f)}forEach(f){this.ops.forEach(f)}map(f){return this.ops.map(f)}partition(f){const p=[],m=[];return this.forEach(g=>{(f(g)?p:m).push(g)}),[p,m]}reduce(f,p){return this.ops.reduce(f,p)}changeLength(){return this.reduce((f,p)=>p.insert?f+a.default.length(p):p.delete?f-p.delete:f,0)}length(){return this.reduce((f,p)=>f+a.default.length(p),0)}slice(f=0,p=1/0){const m=[],g=new s.default(this.ops);let b=0;for(;b<p&&g.hasNext();){let y;b<f?y=g.next(f-b):(y=g.next(p-b),m.push(y)),b+=a.default.length(y)}return new d(m)}compose(f){const p=new s.default(this.ops),m=new s.default(f.ops),g=[],b=m.peek();if(b!=null&&typeof b.retain=="number"&&b.attributes==null){let w=b.retain;for(;p.peekType()==="insert"&&p.peekLength()<=w;)w-=p.peekLength(),g.push(p.next());b.retain-w>0&&m.next(b.retain-w)}const y=new d(g);for(;p.hasNext()||m.hasNext();)if(m.peekType()==="insert")y.push(m.next());else if(p.peekType()==="delete")y.push(p.next());else{const w=Math.min(p.peekLength(),m.peekLength()),C=p.next(w),S=m.next(w);if(S.retain){const E={};if(typeof C.retain=="number")E.retain=typeof S.retain=="number"?w:S.retain;else if(typeof S.retain=="number")C.retain==null?E.insert=C.insert:E.retain=C.retain;else{const A=C.retain==null?"insert":"retain",[O,M,V]=u(C[A],S.retain),T=d.getHandler(O);E[A]={[O]:T.compose(M,V,A==="retain")}}const N=i.default.compose(C.attributes,S.attributes,typeof C.retain=="number");if(N&&(E.attributes=N),y.push(E),!m.hasNext()&&o(y.ops[y.ops.length-1],E)){const A=new d(p.rest());return y.concat(A).chop()}}else typeof S.delete=="number"&&(typeof C.retain=="number"||typeof C.retain=="object"&&C.retain!==null)&&y.push(S)}return y.chop()}concat(f){const p=new d(this.ops.slice());return f.ops.length>0&&(p.push(f.ops[0]),p.ops=p.ops.concat(f.ops.slice(1))),p}diff(f,p){if(this.ops===f.ops)return new d;const m=[this,f].map(C=>C.map(S=>{if(S.insert!=null)return typeof S.insert=="string"?S.insert:l;const E=C===f?"on":"with";throw new Error("diff() called "+E+" non-document")}).join("")),g=new d,b=n(m[0],m[1],p,!0),y=new s.default(this.ops),w=new s.default(f.ops);return b.forEach(C=>{let S=C[1].length;for(;S>0;){let E=0;switch(C[0]){case n.INSERT:E=Math.min(w.peekLength(),S),g.push(w.next(E));break;case n.DELETE:E=Math.min(S,y.peekLength()),y.next(E),g.delete(E);break;case n.EQUAL:E=Math.min(y.peekLength(),w.peekLength(),S);const N=y.next(E),A=w.next(E);o(N.insert,A.insert)?g.retain(E,i.default.diff(N.attributes,A.attributes)):g.push(A).delete(E);break}S-=E}}),g.chop()}eachLine(f,p=`
87
87
  `){const m=new s.default(this.ops);let g=new d,b=0;for(;m.hasNext();){if(m.peekType()!=="insert")return;const y=m.peek(),w=a.default.length(y)-m.peekLength(),C=typeof y.insert=="string"?y.insert.indexOf(p,w)-w:-1;if(C<0)g.push(m.next());else if(C>0)g.push(m.next(C));else{if(f(g,m.next(1).attributes||{},b)===!1)return;b+=1,g=new d}}g.length()>0&&f(g,{},b)}invert(f){const p=new d;return this.reduce((m,g)=>{if(g.insert)p.delete(a.default.length(g));else{if(typeof g.retain=="number"&&g.attributes==null)return p.retain(g.retain),m+g.retain;if(g.delete||typeof g.retain=="number"){const b=g.delete||g.retain;return f.slice(m,m+b).forEach(w=>{g.delete?p.push(w):g.retain&&g.attributes&&p.retain(a.default.length(w),i.default.invert(g.attributes,w.attributes))}),m+b}else if(typeof g.retain=="object"&&g.retain!==null){const b=f.slice(m,m+1),y=new s.default(b.ops).next(),[w,C,S]=u(g.retain,y.insert),E=d.getHandler(w);return p.retain({[w]:E.invert(C,S)},i.default.invert(g.attributes,y.attributes)),m+1}}return m},0),p.chop()}transform(f,p=!1){if(p=!!p,typeof f=="number")return this.transformPosition(f,p);const m=f,g=new s.default(this.ops),b=new s.default(m.ops),y=new d;for(;g.hasNext()||b.hasNext();)if(g.peekType()==="insert"&&(p||b.peekType()!=="insert"))y.retain(a.default.length(g.next()));else if(b.peekType()==="insert")y.push(b.next());else{const w=Math.min(g.peekLength(),b.peekLength()),C=g.next(w),S=b.next(w);if(C.delete)continue;if(S.delete)y.push(S);else{const E=C.retain,N=S.retain;let A=typeof N=="object"&&N!==null?N:w;if(typeof E=="object"&&E!==null&&typeof N=="object"&&N!==null){const O=Object.keys(E)[0];if(O===Object.keys(N)[0]){const M=d.getHandler(O);M&&(A={[O]:M.transform(E[O],N[O],p)})}}y.retain(A,i.default.transform(C.attributes,S.attributes,p))}}return y.chop()}transformPosition(f,p=!1){p=!!p;const m=new s.default(this.ops);let g=0;for(;m.hasNext()&&g<=f;){const b=m.peekLength(),y=m.peekType();if(m.next(),y==="delete"){f-=Math.min(b,f-g);continue}else y==="insert"&&(g<f||!p)&&(f+=b);g+=b}return f}}d.Op=a.default,d.OpIterator=s.default,d.AttributeMap=i.default,d.handlers={},e.default=d,t.exports=d,t.exports.default=d})(hl,hl.exports)),hl.exports}var xn=Lte();const be=Cn(xn);class Xn extends dn{static value(){}optimize(){(this.prev||this.next)&&this.remove()}length(){return 0}value(){return""}}Xn.blotName="break";Xn.tagName="BR";let $n=class extends hu{};const Bte={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"};function Pc(t){return t.replace(/[&<>"']/g,e=>Bte[e])}class Xt extends Pv{static allowedChildren=[Xt,Xn,dn,$n];static order=["cursor","inline","link","underline","strike","italic","bold","script","code"];static compare(e,n){const r=Xt.order.indexOf(e),o=Xt.order.indexOf(n);return r>=0||o>=0?r-o:e===n?0:e<n?-1:1}formatAt(e,n,r,o){if(Xt.compare(this.statics.blotName,r)<0&&this.scroll.query(r,ve.BLOT)){const i=this.isolate(e,n);o&&i.wrap(r,o)}else super.formatAt(e,n,r,o)}optimize(e){if(super.optimize(e),this.parent instanceof Xt&&Xt.compare(this.statics.blotName,this.parent.statics.blotName)>0){const n=this.parent.isolate(this.offset(),this.length());this.moveChildren(n),n.wrap(this)}}}const VC=1;class Dt extends Ja{cache={};delta(){return this.cache.delta==null&&(this.cache.delta=mP(this)),this.cache.delta}deleteAt(e,n){super.deleteAt(e,n),this.cache={}}formatAt(e,n,r,o){n<=0||(this.scroll.query(r,ve.BLOCK)?e+n===this.length()&&this.format(r,o):super.formatAt(e,Math.min(n,this.length()-e-1),r,o),this.cache={})}insertAt(e,n,r){if(r!=null){super.insertAt(e,n,r),this.cache={};return}if(n.length===0)return;const o=n.split(`
88
88
  `),i=o.shift();i.length>0&&(e<this.length()-1||this.children.tail==null?super.insertAt(Math.min(e,this.length()-1),i):this.children.tail.insertAt(this.children.tail.length(),i),this.cache={});let a=this;o.reduce((s,l)=>(a=a.split(s,!0),a.insertAt(0,l),l.length),e+i.length)}insertBefore(e,n){const{head:r}=this.children;super.insertBefore(e,n),r instanceof Xn&&r.remove(),this.cache={}}length(){return this.cache.length==null&&(this.cache.length=super.length()+VC),this.cache.length}moveChildren(e,n){super.moveChildren(e,n),this.cache={}}optimize(e){super.optimize(e),this.cache={}}path(e){return super.path(e,!0)}removeChild(e){super.removeChild(e),this.cache={}}split(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(n&&(e===0||e>=this.length()-VC)){const o=this.clone();return e===0?(this.parent.insertBefore(o,this),this):(this.parent.insertBefore(o,this.next),o)}const r=super.split(e,n);return this.cache={},r}}Dt.blotName="block";Dt.tagName="P";Dt.defaultChild=Xn;Dt.allowedChildren=[Xn,Xt,dn,$n];class vn extends dn{attach(){super.attach(),this.attributes=new Oc(this.domNode)}delta(){return new be().insert(this.value(),{...this.formats(),...this.attributes.values()})}format(e,n){const r=this.scroll.query(e,ve.BLOCK_ATTRIBUTE);r!=null&&this.attributes.attribute(r,n)}formatAt(e,n,r,o){this.format(r,o)}insertAt(e,n,r){if(r!=null){super.insertAt(e,n,r);return}const o=n.split(`
89
89
  `),i=o.pop(),a=o.map(l=>{const u=this.scroll.create(Dt.blotName);return u.insertAt(0,l),u}),s=this.split(e);a.forEach(l=>{this.parent.insertBefore(l,s)}),i&&this.parent.insertBefore(this.scroll.create("text",i),s)}}vn.scope=ve.BLOCK_BLOT;function mP(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return t.descendants(Wt).reduce((n,r)=>r.length()===0?n:n.insert(r.value(),gn(r,{},e)),new be).insert(`