7qa.eu
Open in
urlscan Pro
2606:4700:20::681a:ef
Public Scan
URL:
https://7qa.eu/inc.js/min/bundle/vendors.js?v=d4dbfc9482bf0e674b7b13354f5c8449
Submission: On December 06 via api from US — Scanned from DE
Submission: On December 06 via api from US — Scanned from DE
Form analysis
0 forms found in the DOMText Content
/*! For license information please see vendors.js.LICENSE.txt */ (self.webpackChunksurveylab=self.webpackChunksurveylab||[]).push([[8096],{84300:function(e,t,n){"use strict";n.d(t,{A:function(){return oe}});var r=function(){function e(e){var t=this;this._insertTag=function(e){var n;n=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,n),t.tags.push(e)},this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}(this));var t=this.tags[this.tags.length-1];if(this.isSpeedy){var n=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}(t);try{n.insertRule(e,n.cssRules.length)}catch(e){0}}else t.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEach((function(e){return e.parentNode&&e.parentNode.removeChild(e)})),this.tags=[],this.ctr=0},e}(),o=Math.abs,i=String.fromCharCode,a=Object.assign;function s(e){return e.trim()}function l(e,t,n){return e.replace(t,n)}function c(e,t){return e.indexOf(t)}function u(e,t){return 0|e.charCodeAt(t)}function d(e,t,n){return e.slice(t,n)}function p(e){return e.length}function f(e){return e.length}function h(e,t){return t.push(e),e}var m=1,g=1,v=0,y=0,b=0,x="";function w(e,t,n,r,o,i,a){return{value:e,root:t,parent:n,type:r,props:o,children:i,line:m,column:g,length:a,return:""}}function A(e,t){return a(w("",null,null,"",null,null,0),e,{length:-e.length},t)}function _(){return b=y>0?u(x,--y):0,g--,10===b&&(g=1,m--),b}function S(){return b=y<v?u(x,y++):0,g++,10===b&&(g=1,m++),b}function k(){return u(x,y)}function C(){return y}function T(e,t){return d(x,e,t)}function M(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function P(e){return m=g=1,v=p(x=e),y=0,[]}function O(e){return x="",e}function E(e){return s(T(y-1,I(91===e?e+2:40===e?e+1:e)))}function D(e){for(;(b=k())&&b<33;)S();return M(e)>2||M(b)>3?"":" "}function R(e,t){for(;--t&&S()&&!(b<48||b>102||b>57&&b<65||b>70&&b<97););return T(e,C()+(t<6&&32==k()&&32==S()))}function I(e){for(;S();)switch(b){case e:return y;case 34:case 39:34!==e&&39!==e&&I(b);break;case 40:41===e&&I(e);break;case 92:S()}return y}function N(e,t){for(;S()&&e+b!==57&&(e+b!==84||47!==k()););return"/*"+T(t,y-1)+"*"+i(47===e?e:S())}function L(e){for(;!M(k());)S();return T(e,y)}var j="-ms-",$="-moz-",z="-webkit-",F="comm",B="rule",H="decl",V="@keyframes";function W(e,t){for(var n="",r=f(e),o=0;o<r;o++)n+=t(e[o],o,e,t)||"";return n}function U(e,t,n,r){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case H:return e.return=e.return||e.value;case F:return"";case V:return e.return=e.value+"{"+W(e.children,r)+"}";case B:e.value=e.props.join(",")}return p(n=W(e.children,r))?e.return=e.value+"{"+n+"}":""}function q(e){return O(G("",null,null,null,[""],e=P(e),0,[0],e))}function G(e,t,n,r,o,a,s,d,f){for(var m=0,g=0,v=s,y=0,b=0,x=0,w=1,A=1,T=1,M=0,P="",O=o,I=a,j=r,$=P;A;)switch(x=M,M=S()){case 40:if(108!=x&&58==u($,v-1)){-1!=c($+=l(E(M),"&","&\f"),"&\f")&&(T=-1);break}case 34:case 39:case 91:$+=E(M);break;case 9:case 10:case 13:case 32:$+=D(x);break;case 92:$+=R(C()-1,7);continue;case 47:switch(k()){case 42:case 47:h(X(N(S(),C()),t,n),f);break;default:$+="/"}break;case 123*w:d[m++]=p($)*T;case 125*w:case 59:case 0:switch(M){case 0:case 125:A=0;case 59+g:-1==T&&($=l($,/\f/g,"")),b>0&&p($)-v&&h(b>32?K($+";",r,n,v-1):K(l($," ","")+";",r,n,v-2),f);break;case 59:$+=";";default:if(h(j=Y($,t,n,m,g,o,d,P,O=[],I=[],v),a),123===M)if(0===g)G($,t,j,j,O,a,v,d,I);else switch(99===y&&110===u($,3)?100:y){case 100:case 108:case 109:case 115:G(e,j,j,r&&h(Y(e,j,j,0,0,o,d,P,o,O=[],v),I),o,I,v,d,r?O:I);break;default:G($,j,j,j,[""],I,0,d,I)}}m=g=b=0,w=T=1,P=$="",v=s;break;case 58:v=1+p($),b=x;default:if(w<1)if(123==M)--w;else if(125==M&&0==w++&&125==_())continue;switch($+=i(M),M*w){case 38:T=g>0?1:($+="\f",-1);break;case 44:d[m++]=(p($)-1)*T,T=1;break;case 64:45===k()&&($+=E(S())),y=k(),g=v=p(P=$+=L(C())),M++;break;case 45:45===x&&2==p($)&&(w=0)}}return a}function Y(e,t,n,r,i,a,c,u,p,h,m){for(var g=i-1,v=0===i?a:[""],y=f(v),b=0,x=0,A=0;b<r;++b)for(var _=0,S=d(e,g+1,g=o(x=c[b])),k=e;_<y;++_)(k=s(x>0?v[_]+" "+S:l(S,/&\f/g,v[_])))&&(p[A++]=k);return w(e,t,n,0===i?B:u,p,h,m)}function X(e,t,n){return w(e,t,n,F,i(b),d(e,2,-2),0)}function K(e,t,n,r){return w(e,t,n,H,d(e,0,r),d(e,r+1,-1),r)}var Z=function(e,t,n){for(var r=0,o=0;r=o,o=k(),38===r&&12===o&&(t[n]=1),!M(o);)S();return T(e,y)},J=function(e,t){return O(function(e,t){var n=-1,r=44;do{switch(M(r)){case 0:38===r&&12===k()&&(t[n]=1),e[n]+=Z(y-1,t,n);break;case 2:e[n]+=E(r);break;case 4:if(44===r){e[++n]=58===k()?"&\f":"",t[n]=e[n].length;break}default:e[n]+=i(r)}}while(r=S());return e}(P(e),t))},Q=new WeakMap,ee=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,n=e.parent,r=e.column===n.column&&e.line===n.line;"rule"!==n.type;)if(!(n=n.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||Q.get(n))&&!r){Q.set(e,!0);for(var o=[],i=J(t,o),a=n.props,s=0,l=0;s<i.length;s++)for(var c=0;c<a.length;c++,l++)e.props[l]=o[s]?i[s].replace(/&\f/g,a[c]):a[c]+" "+i[s]}}},te=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}};function ne(e,t){switch(function(e,t){return 45^u(e,0)?(((t<<2^u(e,0))<<2^u(e,1))<<2^u(e,2))<<2^u(e,3):0}(e,t)){case 5103:return z+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return z+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return z+e+$+e+j+e+e;case 6828:case 4268:return z+e+j+e+e;case 6165:return z+e+j+"flex-"+e+e;case 5187:return z+e+l(e,/(\w+).+(:[^]+)/,z+"box-$1$2"+j+"flex-$1$2")+e;case 5443:return z+e+j+"flex-item-"+l(e,/flex-|-self/,"")+e;case 4675:return z+e+j+"flex-line-pack"+l(e,/align-content|flex-|-self/,"")+e;case 5548:return z+e+j+l(e,"shrink","negative")+e;case 5292:return z+e+j+l(e,"basis","preferred-size")+e;case 6060:return z+"box-"+l(e,"-grow","")+z+e+j+l(e,"grow","positive")+e;case 4554:return z+l(e,/([^-])(transform)/g,"$1"+z+"$2")+e;case 6187:return l(l(l(e,/(zoom-|grab)/,z+"$1"),/(image-set)/,z+"$1"),e,"")+e;case 5495:case 3959:return l(e,/(image-set\([^]*)/,z+"$1$`$1");case 4968:return l(l(e,/(.+:)(flex-)?(.*)/,z+"box-pack:$3"+j+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+z+e+e;case 4095:case 3583:case 4068:case 2532:return l(e,/(.+)-inline(.+)/,z+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(p(e)-1-t>6)switch(u(e,t+1)){case 109:if(45!==u(e,t+4))break;case 102:return l(e,/(.+:)(.+)-([^]+)/,"$1"+z+"$2-$3$1"+$+(108==u(e,t+3)?"$3":"$2-$3"))+e;case 115:return~c(e,"stretch")?ne(l(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==u(e,t+1))break;case 6444:switch(u(e,p(e)-3-(~c(e,"!important")&&10))){case 107:return l(e,":",":"+z)+e;case 101:return l(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+z+(45===u(e,14)?"inline-":"")+"box$3$1"+z+"$2$3$1"+j+"$2box$3")+e}break;case 5936:switch(u(e,t+11)){case 114:return z+e+j+l(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return z+e+j+l(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return z+e+j+l(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return z+e+j+e+e}return e}var re=[function(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case H:e.return=ne(e.value,e.length);break;case V:return W([A(e,{value:l(e.value,"@","@"+z)})],r);case B:if(e.length)return function(e,t){return e.map(t).join("")}(e.props,(function(t){switch(function(e,t){return(e=t.exec(e))?e[0]:e}(t,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return W([A(e,{props:[l(t,/:(read-\w+)/,":-moz-$1")]})],r);case"::placeholder":return W([A(e,{props:[l(t,/:(plac\w+)/,":"+z+"input-$1")]}),A(e,{props:[l(t,/:(plac\w+)/,":-moz-$1")]}),A(e,{props:[l(t,/:(plac\w+)/,j+"input-$1")]})],r)}return""}))}}],oe=function(e){var t=e.key;if("css"===t){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,(function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))}))}var o=e.stylisPlugins||re;var i,a,s={},l=[];i=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),(function(e){for(var t=e.getAttribute("data-emotion").split(" "),n=1;n<t.length;n++)s[t[n]]=!0;l.push(e)}));var c,u,d,p,h=[U,(p=function(e){c.insert(e)},function(e){e.root||(e=e.return)&&p(e)})],m=(u=[ee,te].concat(o,h),d=f(u),function(e,t,n,r){for(var o="",i=0;i<d;i++)o+=u[i](e,t,n,r)||"";return o});a=function(e,t,n,r){c=n,W(q(e?e+"{"+t.styles+"}":t.styles),m),r&&(g.inserted[t.name]=!0)};var g={key:t,sheet:new r({key:t,container:i,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:s,registered:{},insert:a};return g.sheet.hydrate(l),g}},36289:function(e,t,n){"use strict";function r(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}n.d(t,{A:function(){return r}})},40085:function(e,t,n){"use strict";n.d(t,{C:function(){return s},T:function(){return c},i:function(){return i},w:function(){return l}});var r=n(96540),o=n(84300),i=(n(13451),n(71287),!0),a=r.createContext("undefined"!=typeof HTMLElement?(0,o.A)({key:"css"}):null);var s=a.Provider,l=function(e){return(0,r.forwardRef)((function(t,n){var o=(0,r.useContext)(a);return e(t,o,n)}))};i||(l=function(e){return function(t){var n=(0,r.useContext)(a);return null===n?(n=(0,o.A)({key:"css"}),r.createElement(a.Provider,{value:n},e(t,n))):e(t,n)}});var c=r.createContext({})},17437:function(e,t,n){"use strict";n.d(t,{AH:function(){return c},i7:function(){return u},mL:function(){return l}});var r=n(40085),o=n(96540),i=n(30041),a=n(71287),s=n(13451),l=(n(84300),n(4146),(0,r.w)((function(e,t){var n=e.styles,l=(0,s.J)([n],void 0,o.useContext(r.T));if(!r.i){for(var c,u=l.name,d=l.styles,p=l.next;void 0!==p;)u+=" "+p.name,d+=p.styles,p=p.next;var f=!0===t.compat,h=t.insert("",{name:u,styles:d},t.sheet,f);return f?null:o.createElement("style",((c={})["data-emotion"]=t.key+"-global "+u,c.dangerouslySetInnerHTML={__html:h},c.nonce=t.sheet.nonce,c))}var m=o.useRef();return(0,a.i)((function(){var e=t.key+"-global",n=new t.sheet.constructor({key:e,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),r=!1,o=document.querySelector('style[data-emotion="'+e+" "+l.name+'"]');return t.sheet.tags.length&&(n.before=t.sheet.tags[0]),null!==o&&(r=!0,o.setAttribute("data-emotion",e),n.hydrate([o])),m.current=[n,r],function(){n.flush()}}),[t]),(0,a.i)((function(){var e=m.current,n=e[0];if(e[1])e[1]=!1;else{if(void 0!==l.next&&(0,i.sk)(t,l.next,!0),n.tags.length){var r=n.tags[n.tags.length-1].nextElementSibling;n.before=r,n.flush()}t.insert("",l,n,!1)}}),[t,l.name]),null})));function c(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return(0,s.J)(t)}var u=function(){var e=c.apply(void 0,arguments),t="animation-"+e.name;return{name:t,styles:"@keyframes "+t+"{"+e.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}}},13451:function(e,t,n){"use strict";n.d(t,{J:function(){return h}});var r={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},o=n(36289),i=/[A-Z]|^ms/g,a=/_EMO_([^_]+?)_([^]*?)_EMO_/g,s=function(e){return 45===e.charCodeAt(1)},l=function(e){return null!=e&&"boolean"!=typeof e},c=(0,o.A)((function(e){return s(e)?e:e.replace(i,"-$&").toLowerCase()})),u=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(a,(function(e,t,n){return p={name:t,styles:n,next:p},t}))}return 1===r[e]||s(e)||"number"!=typeof t||0===t?t:t+"px"};function d(e,t,n){if(null==n)return"";if(void 0!==n.__emotion_styles)return n;switch(typeof n){case"boolean":return"";case"object":if(1===n.anim)return p={name:n.name,styles:n.styles,next:p},n.name;if(void 0!==n.styles){var r=n.next;if(void 0!==r)for(;void 0!==r;)p={name:r.name,styles:r.styles,next:p},r=r.next;return n.styles+";"}return function(e,t,n){var r="";if(Array.isArray(n))for(var o=0;o<n.length;o++)r+=d(e,t,n[o])+";";else for(var i in n){var a=n[i];if("object"!=typeof a)null!=t&&void 0!==t[a]?r+=i+"{"+t[a]+"}":l(a)&&(r+=c(i)+":"+u(i,a)+";");else if(!Array.isArray(a)||"string"!=typeof a[0]||null!=t&&void 0!==t[a[0]]){var s=d(e,t,a);switch(i){case"animation":case"animationName":r+=c(i)+":"+s+";";break;default:r+=i+"{"+s+"}"}}else for(var p=0;p<a.length;p++)l(a[p])&&(r+=c(i)+":"+u(i,a[p])+";")}return r}(e,t,n);case"function":if(void 0!==e){var o=p,i=n(e);return p=o,d(e,t,i)}}if(null==t)return n;var a=t[n];return void 0!==a?a:n}var p,f=/label:\s*([^\s;\n{]+)\s*(;|$)/g;var h=function(e,t,n){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var r=!0,o="";p=void 0;var i=e[0];null==i||void 0===i.raw?(r=!1,o+=d(n,t,i)):o+=i[0];for(var a=1;a<e.length;a++)o+=d(n,t,e[a]),r&&(o+=i[a]);f.lastIndex=0;for(var s,l="";null!==(s=f.exec(o));)l+="-"+s[1];var c=function(e){for(var t,n=0,r=0,o=e.length;o>=4;++r,o-=4)t=1540483477*(65535&(t=255&e.charCodeAt(r)|(255&e.charCodeAt(++r))<<8|(255&e.charCodeAt(++r))<<16|(255&e.charCodeAt(++r))<<24))+(59797*(t>>>16)<<16),n=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(o){case 3:n^=(255&e.charCodeAt(r+2))<<16;case 2:n^=(255&e.charCodeAt(r+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(r)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)}(o)+l;return{name:c,styles:o,next:p}}},71287:function(e,t,n){"use strict";var r;n.d(t,{i:function(){return s},s:function(){return a}});var o=n(96540),i=!!(r||(r=n.t(o,2))).useInsertionEffect&&(r||(r=n.t(o,2))).useInsertionEffect,a=i||function(e){return e()},s=i||o.useLayoutEffect},30041:function(e,t,n){"use strict";n.d(t,{Rk:function(){return r},SF:function(){return o},sk:function(){return i}});function r(e,t,n){var r="";return n.split(" ").forEach((function(n){void 0!==e[n]?t.push(e[n]+";"):r+=n+" "})),r}var o=function(e,t,n){var r=e.key+"-"+t.name;!1===n&&void 0===e.registered[r]&&(e.registered[r]=t.styles)},i=function(e,t,n){o(e,t,n);var r=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var i=t;do{e.insert(t===i?"."+r:"",i,e.sheet,!0),i=i.next}while(void 0!==i)}}},32937:function(e,t,n){"use strict";n.r(t),n.d(t,{DragDropContext:function(){return $o},Draggable:function(){return ni},Droppable:function(){return Ti},resetServerContext:function(){return jo},useKeyboardSensor:function(){return fo},useMouseSensor:function(){return lo},useTouchSensor:function(){return vo}});var r=n(96540),o=n(40961),i=n(59526);function a(e,t,n){return(t=(0,i.A)(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function l(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?s(Object(n),!0).forEach((function(t){a(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function c(e){return"Minified Redux error #"+e+"; visit https://redux.js.org/Errors?code="+e+" for the full message or use the non-minified dev environment for full errors. "}var u="function"==typeof Symbol&&Symbol.observable||"@@observable",d=function(){return Math.random().toString(36).substring(7).split("").join(".")},p={INIT:"@@redux/INIT"+d(),REPLACE:"@@redux/REPLACE"+d(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+d()}};function f(e){if("object"!=typeof e||null===e)return!1;for(var t=e;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function h(e,t,n){var r;if("function"==typeof t&&"function"==typeof n||"function"==typeof n&&"function"==typeof arguments[3])throw new Error(c(0));if("function"==typeof t&&void 0===n&&(n=t,t=void 0),void 0!==n){if("function"!=typeof n)throw new Error(c(1));return n(h)(e,t)}if("function"!=typeof e)throw new Error(c(2));var o=e,i=t,a=[],s=a,l=!1;function d(){s===a&&(s=a.slice())}function m(){if(l)throw new Error(c(3));return i}function g(e){if("function"!=typeof e)throw new Error(c(4));if(l)throw new Error(c(5));var t=!0;return d(),s.push(e),function(){if(t){if(l)throw new Error(c(6));t=!1,d();var n=s.indexOf(e);s.splice(n,1),a=null}}}function v(e){if(!f(e))throw new Error(c(7));if(void 0===e.type)throw new Error(c(8));if(l)throw new Error(c(9));try{l=!0,i=o(i,e)}finally{l=!1}for(var t=a=s,n=0;n<t.length;n++){(0,t[n])()}return e}return v({type:p.INIT}),(r={dispatch:v,subscribe:g,getState:m,replaceReducer:function(e){if("function"!=typeof e)throw new Error(c(10));o=e,v({type:p.REPLACE})}})[u]=function(){var e,t=g;return(e={subscribe:function(e){if("object"!=typeof e||null===e)throw new Error(c(11));function n(){e.next&&e.next(m())}return n(),{unsubscribe:t(n)}}})[u]=function(){return this},e},r}function m(e,t){return function(){return t(e.apply(this,arguments))}}function g(e,t){if("function"==typeof e)return m(e,t);if("object"!=typeof e||null===e)throw new Error(c(16));var n={};for(var r in e){var o=e[r];"function"==typeof o&&(n[r]=m(o,t))}return n}function v(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return 0===t.length?function(e){return e}:1===t.length?t[0]:t.reduce((function(e,t){return function(){return e(t.apply(void 0,arguments))}}))}var y=n(19888),b=n(69242);let x=function(e){e()};const w=()=>x,A=Symbol.for("react-redux-context"),_="undefined"!=typeof globalThis?globalThis:{};function S(){var e;if(!r.createContext)return{};const t=null!=(e=_[A])?e:_[A]=new Map;let n=t.get(r.createContext);return n||(n=r.createContext(null),t.set(r.createContext,n)),n}const k=S();let C=null;var T=n(58168),M=n(98587),P=n(4146),O=n.n(P),E=n(44363);const D=["initMapStateToProps","initMapDispatchToProps","initMergeProps"];function R(e,t,n,r,{areStatesEqual:o,areOwnPropsEqual:i,areStatePropsEqual:a}){let s,l,c,u,d,p=!1;function f(p,f){const h=!i(f,l),m=!o(p,s,f,l);return s=p,l=f,h&&m?(c=e(s,l),t.dependsOnOwnProps&&(u=t(r,l)),d=n(c,u,l),d):h?(e.dependsOnOwnProps&&(c=e(s,l)),t.dependsOnOwnProps&&(u=t(r,l)),d=n(c,u,l),d):m?function(){const t=e(s,l),r=!a(t,c);return c=t,r&&(d=n(c,u,l)),d}():d}return function(o,i){return p?f(o,i):(s=o,l=i,c=e(s,l),u=t(r,l),d=n(c,u,l),p=!0,d)}}function I(e){return function(t){const n=e(t);function r(){return n}return r.dependsOnOwnProps=!1,r}}function N(e){return e.dependsOnOwnProps?Boolean(e.dependsOnOwnProps):1!==e.length}function L(e,t){return function(t,{displayName:n}){const r=function(e,t){return r.dependsOnOwnProps?r.mapToProps(e,t):r.mapToProps(e,void 0)};return r.dependsOnOwnProps=!0,r.mapToProps=function(t,n){r.mapToProps=e,r.dependsOnOwnProps=N(e);let o=r(t,n);return"function"==typeof o&&(r.mapToProps=o,r.dependsOnOwnProps=N(o),o=r(t,n)),o},r}}function j(e,t){return(n,r)=>{throw new Error(`Invalid value of type ${typeof e} for ${t} argument when connecting component ${r.wrappedComponentName}.`)}}function $(e,t,n){return(0,T.A)({},n,e,t)}const z={notify(){},get:()=>[]};function F(e,t){let n,r=z,o=0,i=!1;function a(){c.onStateChange&&c.onStateChange()}function s(){o++,n||(n=t?t.addNestedSub(a):e.subscribe(a),r=function(){const e=w();let t=null,n=null;return{clear(){t=null,n=null},notify(){e((()=>{let e=t;for(;e;)e.callback(),e=e.next}))},get(){let e=[],n=t;for(;n;)e.push(n),n=n.next;return e},subscribe(e){let r=!0,o=n={callback:e,next:null,prev:n};return o.prev?o.prev.next=o:t=o,function(){r&&null!==t&&(r=!1,o.next?o.next.prev=o.prev:n=o.prev,o.prev?o.prev.next=o.next:t=o.next)}}}}())}function l(){o--,n&&0===o&&(n(),n=void 0,r.clear(),r=z)}const c={addNestedSub:function(e){s();const t=r.subscribe(e);let n=!1;return()=>{n||(n=!0,t(),l())}},notifyNestedSubs:function(){r.notify()},handleChangeWrapper:a,isSubscribed:function(){return i},trySubscribe:function(){i||(i=!0,s())},tryUnsubscribe:function(){i&&(i=!1,l())},getListeners:()=>r};return c}const B=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement)?r.useLayoutEffect:r.useEffect;function H(e,t){return e===t?0!==e||0!==t||1/e==1/t:e!=e&&t!=t}function V(e,t){if(H(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;const n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(let r=0;r<n.length;r++)if(!Object.prototype.hasOwnProperty.call(t,n[r])||!H(e[n[r]],t[n[r]]))return!1;return!0}const W=["reactReduxForwardedRef"];let U=()=>{throw new Error("uSES not initialized!")};const q=[null,null];function G(e,t,n,r,o,i){e.current=r,n.current=!1,o.current&&(o.current=null,i())}function Y(e,t){return e===t}var X=function(e,t,n,{pure:o,areStatesEqual:i=Y,areOwnPropsEqual:a=V,areStatePropsEqual:s=V,areMergedPropsEqual:l=V,forwardRef:c=!1,context:u=k}={}){const d=u,p=function(e){return e?"function"==typeof e?L(e):j(e,"mapStateToProps"):I((()=>({})))}(e),f=function(e){return e&&"object"==typeof e?I((t=>function(e,t){const n={};for(const r in e){const o=e[r];"function"==typeof o&&(n[r]=(...e)=>t(o(...e)))}return n}(e,t))):e?"function"==typeof e?L(e):j(e,"mapDispatchToProps"):I((e=>({dispatch:e})))}(t),h=function(e){return e?"function"==typeof e?function(e){return function(t,{displayName:n,areMergedPropsEqual:r}){let o,i=!1;return function(t,n,a){const s=e(t,n,a);return i?r(s,o)||(o=s):(i=!0,o=s),o}}}(e):j(e,"mergeProps"):()=>$}(n),m=Boolean(e);return e=>{const t=e.displayName||e.name||"Component",n=`Connect(${t})`,o={shouldHandleStateChanges:m,displayName:n,wrappedComponentName:t,WrappedComponent:e,initMapStateToProps:p,initMapDispatchToProps:f,initMergeProps:h,areStatesEqual:i,areStatePropsEqual:s,areOwnPropsEqual:a,areMergedPropsEqual:l};function u(t){const[n,i,a]=r.useMemo((()=>{const{reactReduxForwardedRef:e}=t,n=(0,M.A)(t,W);return[t.context,e,n]}),[t]),s=r.useMemo((()=>n&&n.Consumer&&(0,E.isContextConsumer)(r.createElement(n.Consumer,null))?n:d),[n,d]),l=r.useContext(s),c=Boolean(t.store)&&Boolean(t.store.getState)&&Boolean(t.store.dispatch),u=Boolean(l)&&Boolean(l.store);const p=c?t.store:l.store,f=u?l.getServerState:p.getState,h=r.useMemo((()=>function(e,t){let{initMapStateToProps:n,initMapDispatchToProps:r,initMergeProps:o}=t,i=(0,M.A)(t,D);return R(n(e,i),r(e,i),o(e,i),e,i)}(p.dispatch,o)),[p]),[g,v]=r.useMemo((()=>{if(!m)return q;const e=F(p,c?void 0:l.subscription),t=e.notifyNestedSubs.bind(e);return[e,t]}),[p,c,l]),y=r.useMemo((()=>c?l:(0,T.A)({},l,{subscription:g})),[c,l,g]),b=r.useRef(),x=r.useRef(a),w=r.useRef(),A=r.useRef(!1),_=(r.useRef(!1),r.useRef(!1)),S=r.useRef();B((()=>(_.current=!0,()=>{_.current=!1})),[]);const k=r.useMemo((()=>()=>w.current&&a===x.current?w.current:h(p.getState(),a)),[p,a]),C=r.useMemo((()=>e=>g?function(e,t,n,r,o,i,a,s,l,c,u){if(!e)return()=>{};let d=!1,p=null;const f=()=>{if(d||!s.current)return;const e=t.getState();let n,f;try{n=r(e,o.current)}catch(e){f=e,p=e}f||(p=null),n===i.current?a.current||c():(i.current=n,l.current=n,a.current=!0,u())};return n.onStateChange=f,n.trySubscribe(),f(),()=>{if(d=!0,n.tryUnsubscribe(),n.onStateChange=null,p)throw p}}(m,p,g,h,x,b,A,_,w,v,e):()=>{}),[g]);var P,O,I;let N;P=G,O=[x,b,A,a,w,v],B((()=>P(...O)),I);try{N=U(C,k,f?()=>h(f(),a):k)}catch(e){throw S.current&&(e.message+=`\nThe error may be correlated with this previous error:\n${S.current.stack}\n\n`),e}B((()=>{S.current=void 0,w.current=void 0,b.current=N}));const L=r.useMemo((()=>r.createElement(e,(0,T.A)({},N,{ref:i}))),[i,e,N]);return r.useMemo((()=>m?r.createElement(s.Provider,{value:y},L):L),[s,L,y])}const g=r.memo(u);if(g.WrappedComponent=e,g.displayName=u.displayName=n,c){const t=r.forwardRef((function(e,t){return r.createElement(g,(0,T.A)({},e,{reactReduxForwardedRef:t}))}));return t.displayName=n,t.WrappedComponent=e,O()(t,e)}return O()(g,e)}};var K=function({store:e,context:t,children:n,serverState:o,stabilityCheck:i="once",noopCheck:a="once"}){const s=r.useMemo((()=>{const t=F(e);return{store:e,subscription:t,getServerState:o?()=>o:void 0,stabilityCheck:i,noopCheck:a}}),[e,o,i,a]),l=r.useMemo((()=>e.getState()),[e]);B((()=>{const{subscription:t}=s;return t.onStateChange=t.notifyNestedSubs,t.trySubscribe(),l!==e.getState()&&t.notifyNestedSubs(),()=>{t.tryUnsubscribe(),t.onStateChange=void 0}}),[s,l]);const c=t||k;return r.createElement(c.Provider,{value:s},n)};var Z,J;function Q(e,t){var n=(0,r.useState)((function(){return{inputs:t,result:e()}}))[0],o=(0,r.useRef)(!0),i=(0,r.useRef)(n),a=o.current||Boolean(t&&i.current.inputs&&function(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}(t,i.current.inputs))?i.current:{inputs:t,result:e()};return(0,r.useEffect)((function(){o.current=!1,i.current=a}),[a]),a.result}Z=b.useSyncExternalStoreWithSelector,C=Z,(e=>{U=e})(y.useSyncExternalStore),J=o.unstable_batchedUpdates,x=J;var ee=Q,te=function(e,t){return Q((function(){return e}),t)},ne="Invariant failed";var re=function(e){var t=e.top,n=e.right,r=e.bottom,o=e.left;return{top:t,right:n,bottom:r,left:o,width:n-o,height:r-t,x:o,y:t,center:{x:(n+o)/2,y:(r+t)/2}}},oe=function(e,t){return{top:e.top-t.top,left:e.left-t.left,bottom:e.bottom+t.bottom,right:e.right+t.right}},ie=function(e,t){return{top:e.top+t.top,left:e.left+t.left,bottom:e.bottom-t.bottom,right:e.right-t.right}},ae={top:0,right:0,bottom:0,left:0},se=function(e){var t=e.borderBox,n=e.margin,r=void 0===n?ae:n,o=e.border,i=void 0===o?ae:o,a=e.padding,s=void 0===a?ae:a,l=re(oe(t,r)),c=re(ie(t,i)),u=re(ie(c,s));return{marginBox:l,borderBox:re(t),paddingBox:c,contentBox:u,margin:r,border:i,padding:s}},le=function(e){var t=e.slice(0,-2);if("px"!==e.slice(-2))return 0;var n=Number(t);return isNaN(n)&&function(e){if(!e)throw new Error(ne)}(!1),n},ce=function(e,t){var n,r,o=e.borderBox,i=e.border,a=e.margin,s=e.padding,l=(r=t,{top:(n=o).top+r.y,left:n.left+r.x,bottom:n.bottom+r.y,right:n.right+r.x});return se({borderBox:l,border:i,margin:a,padding:s})},ue=function(e,t){return void 0===t&&(t={x:window.pageXOffset,y:window.pageYOffset}),ce(e,t)},de=function(e,t){var n={top:le(t.marginTop),right:le(t.marginRight),bottom:le(t.marginBottom),left:le(t.marginLeft)},r={top:le(t.paddingTop),right:le(t.paddingRight),bottom:le(t.paddingBottom),left:le(t.paddingLeft)},o={top:le(t.borderTopWidth),right:le(t.borderRightWidth),bottom:le(t.borderBottomWidth),left:le(t.borderLeftWidth)};return se({borderBox:e,margin:n,padding:r,border:o})},pe=function(e){var t=e.getBoundingClientRect(),n=window.getComputedStyle(e);return de(t,n)},fe=Number.isNaN||function(e){return"number"==typeof e&&e!=e};function he(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(r=e[n],o=t[n],!(r===o||fe(r)&&fe(o)))return!1;var r,o;return!0}function me(e,t){void 0===t&&(t=he);var n=null;function r(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];if(n&&n.lastThis===this&&t(r,n.lastArgs))return n.lastResult;var i=e.apply(this,r);return n={lastResult:i,lastArgs:r,lastThis:this},i}return r.clear=function(){n=null},r}var ge=function(e){var t=[],n=null,r=function(){for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];t=o,n||(n=requestAnimationFrame((function(){n=null,e.apply(void 0,t)})))};return r.cancel=function(){n&&(cancelAnimationFrame(n),n=null)},r};function ve(e,t){}ve.bind(null,"warn"),ve.bind(null,"error");function ye(){}function be(e,t,n){const r=t.map((t=>{const r=function(e,t){return{...e,...t}}(n,t.options);return e.addEventListener(t.eventName,t.fn,r),function(){e.removeEventListener(t.eventName,t.fn,r)}}));return function(){r.forEach((e=>{e()}))}}const xe=!0,we="Invariant failed";class Ae extends Error{}function _e(e,t){if(!e)throw new Ae(xe?we:`${we}: ${t||""}`)}Ae.prototype.toString=function(){return this.message};class Se extends r.Component{constructor(...e){super(...e),this.callbacks=null,this.unbind=ye,this.onWindowError=e=>{const t=this.getCallbacks();t.isDragging()&&t.tryAbort();e.error instanceof Ae&&e.preventDefault()},this.getCallbacks=()=>{if(!this.callbacks)throw new Error("Unable to find AppCallbacks in <ErrorBoundary/>");return this.callbacks},this.setCallbacks=e=>{this.callbacks=e}}componentDidMount(){this.unbind=be(window,[{eventName:"error",fn:this.onWindowError}])}componentDidCatch(e){if(!(e instanceof Ae))throw e;this.setState({})}componentWillUnmount(){this.unbind()}render(){return this.props.children(this.setCallbacks)}}const ke=e=>e+1,Ce=(e,t)=>{const n=e.droppableId===t.droppableId,r=ke(e.index),o=ke(t.index);return n?`\n You have moved the item from position ${r}\n to position ${o}\n `:`\n You have moved the item from position ${r}\n in list ${e.droppableId}\n to list ${t.droppableId}\n in position ${o}\n `},Te=(e,t,n)=>t.droppableId===n.droppableId?`\n The item ${e}\n has been combined with ${n.draggableId}`:`\n The item ${e}\n in list ${t.droppableId}\n has been combined with ${n.draggableId}\n in list ${n.droppableId}\n `,Me=e=>`\n The item has returned to its starting position\n of ${ke(e.index)}\n`,Pe={dragHandleUsageInstructions:"\n Press space bar to start a drag.\n When dragging you can use the arrow keys to move the item around and escape to cancel.\n Some screen readers may require you to be in focus mode or to use your pass through key\n",onDragStart:e=>`\n You have lifted an item in position ${ke(e.source.index)}\n`,onDragUpdate:e=>{const t=e.destination;if(t)return Ce(e.source,t);const n=e.combine;return n?Te(e.draggableId,e.source,n):"You are over an area that cannot be dropped on"},onDragEnd:e=>{if("CANCEL"===e.reason)return`\n Movement cancelled.\n ${Me(e.source)}\n `;const t=e.destination,n=e.combine;return t?`\n You have dropped the item.\n ${Ce(e.source,t)}\n `:n?`\n You have dropped the item.\n ${Te(e.draggableId,e.source,n)}\n `:`\n The item has been dropped while not over a drop area.\n ${Me(e.source)}\n `}};var Oe=Pe;const Ee={x:0,y:0},De=(e,t)=>({x:e.x+t.x,y:e.y+t.y}),Re=(e,t)=>({x:e.x-t.x,y:e.y-t.y}),Ie=(e,t)=>e.x===t.x&&e.y===t.y,Ne=e=>({x:0!==e.x?-e.x:0,y:0!==e.y?-e.y:0}),Le=(e,t,n=0)=>"x"===e?{x:t,y:n}:{x:n,y:t},je=(e,t)=>Math.sqrt((t.x-e.x)**2+(t.y-e.y)**2),$e=(e,t)=>Math.min(...t.map((t=>je(e,t)))),ze=e=>t=>({x:e(t.x),y:e(t.y)});const Fe=(e,t)=>({top:e.top+t.y,left:e.left+t.x,bottom:e.bottom+t.y,right:e.right+t.x}),Be=e=>[{x:e.left,y:e.top},{x:e.right,y:e.top},{x:e.left,y:e.bottom},{x:e.right,y:e.bottom}],He=(e,t)=>t&&t.shouldClipSubject?((e,t)=>{const n=re({top:Math.max(t.top,e.top),right:Math.min(t.right,e.right),bottom:Math.min(t.bottom,e.bottom),left:Math.max(t.left,e.left)});return n.width<=0||n.height<=0?null:n})(t.pageMarginBox,e):re(e);var Ve=({page:e,withPlaceholder:t,axis:n,frame:r})=>{const o=((e,t)=>t?Fe(e,t.scroll.diff.displacement):e)(e.marginBox,r),i=((e,t,n)=>n&&n.increasedBy?{...e,[t.end]:e[t.end]+n.increasedBy[t.line]}:e)(o,n,t);return{page:e,withPlaceholder:t,active:He(i,r)}},We=(e,t)=>{e.frame||_e(!1);const n=e.frame,r=Re(t,n.scroll.initial),o=Ne(r),i={...n,scroll:{initial:n.scroll.initial,current:t,diff:{value:r,displacement:o},max:n.scroll.max}},a=Ve({page:e.subject.page,withPlaceholder:e.subject.withPlaceholder,axis:e.axis,frame:i});return{...e,frame:i,subject:a}};const Ue=me((e=>e.reduce(((e,t)=>(e[t.descriptor.id]=t,e)),{}))),qe=me((e=>e.reduce(((e,t)=>(e[t.descriptor.id]=t,e)),{}))),Ge=me((e=>Object.values(e))),Ye=me((e=>Object.values(e)));var Xe=me(((e,t)=>{const n=Ye(t).filter((t=>e===t.descriptor.droppableId)).sort(((e,t)=>e.descriptor.index-t.descriptor.index));return n}));function Ke(e){return e.at&&"REORDER"===e.at.type?e.at.destination:null}function Ze(e){return e.at&&"COMBINE"===e.at.type?e.at.combine:null}var Je=me(((e,t)=>t.filter((t=>t.descriptor.id!==e.descriptor.id)))),Qe=(e,t)=>e.descriptor.droppableId===t.descriptor.id;const et={point:Ee,value:0},tt={invisible:{},visible:{},all:[]};var nt={displaced:tt,displacedBy:et,at:null},rt=(e,t)=>n=>e<=n&&n<=t,ot=e=>{const t=rt(e.top,e.bottom),n=rt(e.left,e.right);return r=>{if(t(r.top)&&t(r.bottom)&&n(r.left)&&n(r.right))return!0;const o=t(r.top)||t(r.bottom),i=n(r.left)||n(r.right);if(o&&i)return!0;const a=r.top<e.top&&r.bottom>e.bottom,s=r.left<e.left&&r.right>e.right;if(a&&s)return!0;return a&&i||s&&o}},it=e=>{const t=rt(e.top,e.bottom),n=rt(e.left,e.right);return e=>t(e.top)&&t(e.bottom)&&n(e.left)&&n(e.right)};const at={direction:"vertical",line:"y",crossAxisLine:"x",start:"top",end:"bottom",size:"height",crossAxisStart:"left",crossAxisEnd:"right",crossAxisSize:"width"},st={direction:"horizontal",line:"x",crossAxisLine:"y",start:"left",end:"right",size:"width",crossAxisStart:"top",crossAxisEnd:"bottom",crossAxisSize:"height"};const lt=({target:e,destination:t,viewport:n,withDroppableDisplacement:r,isVisibleThroughFrameFn:o})=>{const i=r?((e,t)=>{const n=t.frame?t.frame.scroll.diff.displacement:Ee;return Fe(e,n)})(e,t):e;return((e,t,n)=>!!t.subject.active&&n(t.subject.active)(e))(i,t,o)&&((e,t,n)=>n(t)(e))(i,n,o)},ct=e=>lt({...e,isVisibleThroughFrameFn:ot}),ut=e=>lt({...e,isVisibleThroughFrameFn:it}),dt=(e,t,n)=>{if("boolean"==typeof n)return n;if(!t)return!0;const{invisible:r,visible:o}=t;if(r[e])return!1;const i=o[e];return!i||i.shouldAnimate};function pt({afterDragging:e,destination:t,displacedBy:n,viewport:r,forceShouldAnimate:o,last:i}){return e.reduce((function(e,a){const s=function(e,t){const n=e.page.marginBox,r={top:t.point.y,right:0,bottom:0,left:t.point.x};return re(oe(n,r))}(a,n),l=a.descriptor.id;e.all.push(l);if(!ct({target:s,destination:t,viewport:r,withDroppableDisplacement:!0}))return e.invisible[a.descriptor.id]=!0,e;const c={draggableId:l,shouldAnimate:dt(l,i,o)};return e.visible[l]=c,e}),{all:[],visible:{},invisible:{}})}function ft({insideDestination:e,inHomeList:t,displacedBy:n,destination:r}){const o=function(e,t){if(!e.length)return 0;const n=e[e.length-1].descriptor.index;return t.inHomeList?n:n+1}(e,{inHomeList:t});return{displaced:tt,displacedBy:n,at:{type:"REORDER",destination:{droppableId:r.descriptor.id,index:o}}}}function ht({draggable:e,insideDestination:t,destination:n,viewport:r,displacedBy:o,last:i,index:a,forceShouldAnimate:s}){const l=Qe(e,n);if(null==a)return ft({insideDestination:t,inHomeList:l,displacedBy:o,destination:n});const c=t.find((e=>e.descriptor.index===a));if(!c)return ft({insideDestination:t,inHomeList:l,displacedBy:o,destination:n});const u=Je(e,t),d=t.indexOf(c);return{displaced:pt({afterDragging:u.slice(d),destination:n,displacedBy:o,last:i,viewport:r.frame,forceShouldAnimate:s}),displacedBy:o,at:{type:"REORDER",destination:{droppableId:n.descriptor.id,index:a}}}}function mt(e,t){return Boolean(t.effected[e])}var gt=({isMovingForward:e,isInHomeList:t,draggable:n,draggables:r,destination:o,insideDestination:i,previousImpact:a,viewport:s,afterCritical:l})=>{const c=a.at;if(c||_e(!1),"REORDER"===c.type){const r=(({isMovingForward:e,isInHomeList:t,insideDestination:n,location:r})=>{if(!n.length)return null;const o=r.index,i=e?o+1:o-1,a=n[0].descriptor.index,s=n[n.length-1].descriptor.index;return i<a||i>(t?s:s+1)?null:i})({isMovingForward:e,isInHomeList:t,location:c.destination,insideDestination:i});return null==r?null:ht({draggable:n,insideDestination:i,destination:o,viewport:s,last:a.displaced,displacedBy:a.displacedBy,index:r})}const u=(({isMovingForward:e,destination:t,draggables:n,combine:r,afterCritical:o})=>{if(!t.isCombineEnabled)return null;const i=r.draggableId,a=n[i].descriptor.index;return mt(i,o)?e?a:a-1:e?a+1:a})({isMovingForward:e,destination:o,displaced:a.displaced,draggables:r,combine:c.combine,afterCritical:l});return null==u?null:ht({draggable:n,insideDestination:i,destination:o,viewport:s,last:a.displaced,displacedBy:a.displacedBy,index:u})},vt=({afterCritical:e,impact:t,draggables:n})=>{const r=Ze(t);r||_e(!1);const o=r.draggableId,i=n[o].page.borderBox.center,a=(({displaced:e,afterCritical:t,combineWith:n,displacedBy:r})=>{const o=Boolean(e.visible[n]||e.invisible[n]);return mt(n,t)?o?Ee:Ne(r.point):o?r.point:Ee})({displaced:t.displaced,afterCritical:e,combineWith:o,displacedBy:t.displacedBy});return De(i,a)};const yt=(e,t)=>t.margin[e.start]+t.borderBox[e.size]/2,bt=(e,t,n)=>t[e.crossAxisStart]+n.margin[e.crossAxisStart]+n.borderBox[e.crossAxisSize]/2,xt=({axis:e,moveRelativeTo:t,isMoving:n})=>Le(e.line,t.marginBox[e.end]+yt(e,n),bt(e,t.marginBox,n)),wt=({axis:e,moveRelativeTo:t,isMoving:n})=>Le(e.line,t.marginBox[e.start]-((e,t)=>t.margin[e.end]+t.borderBox[e.size]/2)(e,n),bt(e,t.marginBox,n));var At=({impact:e,draggable:t,draggables:n,droppable:r,afterCritical:o})=>{const i=Xe(r.descriptor.id,n),a=t.page,s=r.axis;if(!i.length)return(({axis:e,moveInto:t,isMoving:n})=>Le(e.line,t.contentBox[e.start]+yt(e,n),bt(e,t.contentBox,n)))({axis:s,moveInto:r.page,isMoving:a});const{displaced:l,displacedBy:c}=e,u=l.all[0];if(u){const e=n[u];if(mt(u,o))return wt({axis:s,moveRelativeTo:e.page,isMoving:a});const t=ce(e.page,c.point);return wt({axis:s,moveRelativeTo:t,isMoving:a})}const d=i[i.length-1];if(d.descriptor.id===t.descriptor.id)return a.borderBox.center;if(mt(d.descriptor.id,o)){const e=ce(d.page,Ne(o.displacedBy.point));return xt({axis:s,moveRelativeTo:e,isMoving:a})}return xt({axis:s,moveRelativeTo:d.page,isMoving:a})},_t=(e,t)=>{const n=e.frame;return n?De(t,n.scroll.diff.displacement):t};var St=e=>{const t=(({impact:e,draggable:t,droppable:n,draggables:r,afterCritical:o})=>{const i=t.page.borderBox.center,a=e.at;return n&&a?"REORDER"===a.type?At({impact:e,draggable:t,draggables:r,droppable:n,afterCritical:o}):vt({impact:e,draggables:r,afterCritical:o}):i})(e),n=e.droppable;return n?_t(n,t):t},kt=(e,t)=>{const n=Re(t,e.scroll.initial),r=Ne(n);return{frame:re({top:t.y,bottom:t.y+e.frame.height,left:t.x,right:t.x+e.frame.width}),scroll:{initial:e.scroll.initial,max:e.scroll.max,current:t,diff:{value:n,displacement:r}}}};function Ct(e,t){return e.map((e=>t[e]))}var Tt=({pageBorderBoxCenter:e,draggable:t,viewport:n})=>{const r=((e,t)=>De(e.scroll.diff.displacement,t))(n,e),o=Re(r,t.page.borderBox.center);return De(t.client.borderBox.center,o)},Mt=({draggable:e,destination:t,newPageBorderBoxCenter:n,viewport:r,withDroppableDisplacement:o,onlyOnMainAxis:i=!1})=>{const a=Re(n,e.page.borderBox.center),s={target:Fe(e.page.borderBox,a),destination:t,withDroppableDisplacement:o,viewport:r};return i?(e=>{return lt({...e,isVisibleThroughFrameFn:(t=e.destination.axis,e=>{const n=rt(e.top,e.bottom),r=rt(e.left,e.right);return e=>t===at?n(e.top)&&n(e.bottom):r(e.left)&&r(e.right)})});var t})(s):ut(s)},Pt=({isMovingForward:e,draggable:t,destination:n,draggables:r,previousImpact:o,viewport:i,previousPageBorderBoxCenter:a,previousClientSelection:s,afterCritical:l})=>{if(!n.isEnabled)return null;const c=Xe(n.descriptor.id,r),u=Qe(t,n),d=(({isMovingForward:e,draggable:t,destination:n,insideDestination:r,previousImpact:o})=>{if(!n.isCombineEnabled)return null;if(!Ke(o))return null;function i(e){const t={type:"COMBINE",combine:{draggableId:e,droppableId:n.descriptor.id}};return{...o,at:t}}const a=o.displaced.all,s=a.length?a[0]:null;if(e)return s?i(s):null;const l=Je(t,r);if(!s)return l.length?i(l[l.length-1].descriptor.id):null;const c=l.findIndex((e=>e.descriptor.id===s));-1===c&&_e(!1);const u=c-1;return u<0?null:i(l[u].descriptor.id)})({isMovingForward:e,draggable:t,destination:n,insideDestination:c,previousImpact:o})||gt({isMovingForward:e,isInHomeList:u,draggable:t,draggables:r,destination:n,insideDestination:c,previousImpact:o,viewport:i,afterCritical:l});if(!d)return null;const p=St({impact:d,draggable:t,droppable:n,draggables:r,afterCritical:l});if(Mt({draggable:t,destination:n,newPageBorderBoxCenter:p,viewport:i.frame,withDroppableDisplacement:!1,onlyOnMainAxis:!0})){return{clientSelection:Tt({pageBorderBoxCenter:p,draggable:t,viewport:i}),impact:d,scrollJumpRequest:null}}const f=Re(p,a),h=(({impact:e,viewport:t,destination:n,draggables:r,maxScrollChange:o})=>{const i=kt(t,De(t.scroll.current,o)),a=n.frame?We(n,De(n.frame.scroll.current,o)):n,s=e.displaced,l=pt({afterDragging:Ct(s.all,r),destination:n,displacedBy:e.displacedBy,viewport:i.frame,last:s,forceShouldAnimate:!1}),c=pt({afterDragging:Ct(s.all,r),destination:a,displacedBy:e.displacedBy,viewport:t.frame,last:s,forceShouldAnimate:!1}),u={},d={},p=[s,l,c];return s.all.forEach((e=>{const t=function(e,t){for(let n=0;n<t.length;n++){const r=t[n].visible[e];if(r)return r}return null}(e,p);t?d[e]=t:u[e]=!0})),{...e,displaced:{all:s.all,invisible:u,visible:d}}})({impact:d,viewport:i,destination:n,draggables:r,maxScrollChange:f});return{clientSelection:s,impact:h,scrollJumpRequest:f}};const Ot=e=>{const t=e.subject.active;return t||_e(!1),t};const Et=(e,t)=>{const n=e.page.borderBox.center;return mt(e.descriptor.id,t)?Re(n,t.displacedBy.point):n},Dt=(e,t)=>{const n=e.page.borderBox;return mt(e.descriptor.id,t)?Fe(n,Ne(t.displacedBy.point)):n};var Rt=me((function(e,t){const n=t[e.line];return{value:n,point:Le(e.line,n)}}));const It=(e,t)=>({...e,scroll:{...e.scroll,max:t}}),Nt=(e,t,n)=>{const r=e.frame;Qe(t,e)&&_e(!1),e.subject.withPlaceholder&&_e(!1);const o=Rt(e.axis,t.displaceBy).point,i=((e,t,n)=>{const r=e.axis;if("virtual"===e.descriptor.mode)return Le(r.line,t[r.line]);const o=e.subject.page.contentBox[r.size],i=Xe(e.descriptor.id,n).reduce(((e,t)=>e+t.client.marginBox[r.size]),0)+t[r.line]-o;return i<=0?null:Le(r.line,i)})(e,o,n),a={placeholderSize:o,increasedBy:i,oldFrameMaxScroll:e.frame?e.frame.scroll.max:null};if(!r){const t=Ve({page:e.subject.page,withPlaceholder:a,axis:e.axis,frame:e.frame});return{...e,subject:t}}const s=i?De(r.scroll.max,i):r.scroll.max,l=It(r,s),c=Ve({page:e.subject.page,withPlaceholder:a,axis:e.axis,frame:l});return{...e,subject:c,frame:l}};var Lt=({isMovingForward:e,previousPageBorderBoxCenter:t,draggable:n,isOver:r,draggables:o,droppables:i,viewport:a,afterCritical:s})=>{const l=(({isMovingForward:e,pageBorderBoxCenter:t,source:n,droppables:r,viewport:o})=>{const i=n.subject.active;if(!i)return null;const a=n.axis,s=rt(i[a.start],i[a.end]),l=Ge(r).filter((e=>e!==n)).filter((e=>e.isEnabled)).filter((e=>Boolean(e.subject.active))).filter((e=>ot(o.frame)(Ot(e)))).filter((t=>{const n=Ot(t);return e?i[a.crossAxisEnd]<n[a.crossAxisEnd]:n[a.crossAxisStart]<i[a.crossAxisStart]})).filter((e=>{const t=Ot(e),n=rt(t[a.start],t[a.end]);return s(t[a.start])||s(t[a.end])||n(i[a.start])||n(i[a.end])})).sort(((t,n)=>{const r=Ot(t)[a.crossAxisStart],o=Ot(n)[a.crossAxisStart];return e?r-o:o-r})).filter(((e,t,n)=>Ot(e)[a.crossAxisStart]===Ot(n[0])[a.crossAxisStart]));if(!l.length)return null;if(1===l.length)return l[0];const c=l.filter((e=>rt(Ot(e)[a.start],Ot(e)[a.end])(t[a.line])));return 1===c.length?c[0]:c.length>1?c.sort(((e,t)=>Ot(e)[a.start]-Ot(t)[a.start]))[0]:l.sort(((e,n)=>{const r=$e(t,Be(Ot(e))),o=$e(t,Be(Ot(n)));return r!==o?r-o:Ot(e)[a.start]-Ot(n)[a.start]}))[0]})({isMovingForward:e,pageBorderBoxCenter:t,source:r,droppables:i,viewport:a});if(!l)return null;const c=Xe(l.descriptor.id,o),u=(({pageBorderBoxCenter:e,viewport:t,destination:n,insideDestination:r,afterCritical:o})=>{const i=r.filter((e=>ut({target:Dt(e,o),destination:n,viewport:t.frame,withDroppableDisplacement:!0}))).sort(((t,r)=>{const i=je(e,_t(n,Et(t,o))),a=je(e,_t(n,Et(r,o)));return i<a?-1:a<i?1:t.descriptor.index-r.descriptor.index}));return i[0]||null})({pageBorderBoxCenter:t,viewport:a,destination:l,insideDestination:c,afterCritical:s}),d=(({previousPageBorderBoxCenter:e,moveRelativeTo:t,insideDestination:n,draggable:r,draggables:o,destination:i,viewport:a,afterCritical:s})=>{if(!t){if(n.length)return null;const e={displaced:tt,displacedBy:et,at:{type:"REORDER",destination:{droppableId:i.descriptor.id,index:0}}},t=St({impact:e,draggable:r,droppable:i,draggables:o,afterCritical:s}),l=Qe(r,i)?i:Nt(i,r,o);return Mt({draggable:r,destination:l,newPageBorderBoxCenter:t,viewport:a.frame,withDroppableDisplacement:!1,onlyOnMainAxis:!0})?e:null}const l=Boolean(e[i.axis.line]<=t.page.borderBox.center[i.axis.line]),c=(()=>{const e=t.descriptor.index;return t.descriptor.id===r.descriptor.id||l?e:e+1})(),u=Rt(i.axis,r.displaceBy);return ht({draggable:r,insideDestination:n,destination:i,viewport:a,displacedBy:u,last:tt,index:c})})({previousPageBorderBoxCenter:t,destination:l,draggable:n,draggables:o,moveRelativeTo:u,insideDestination:c,viewport:a,afterCritical:s});if(!d)return null;const p=St({impact:d,draggable:n,droppable:l,draggables:o,afterCritical:s});return{clientSelection:Tt({pageBorderBoxCenter:p,draggable:n,viewport:a}),impact:d,scrollJumpRequest:null}},jt=e=>{const t=e.at;return t?"REORDER"===t.type?t.destination.droppableId:t.combine.droppableId:null};var $t=({state:e,type:t})=>{const n=((e,t)=>{const n=jt(e);return n?t[n]:null})(e.impact,e.dimensions.droppables),r=Boolean(n),o=e.dimensions.droppables[e.critical.droppable.id],i=n||o,a=i.axis.direction,s="vertical"===a&&("MOVE_UP"===t||"MOVE_DOWN"===t)||"horizontal"===a&&("MOVE_LEFT"===t||"MOVE_RIGHT"===t);if(s&&!r)return null;const l="MOVE_DOWN"===t||"MOVE_RIGHT"===t,c=e.dimensions.draggables[e.critical.draggable.id],u=e.current.page.borderBoxCenter,{draggables:d,droppables:p}=e.dimensions;return s?Pt({isMovingForward:l,previousPageBorderBoxCenter:u,draggable:c,destination:i,draggables:d,viewport:e.viewport,previousClientSelection:e.current.client.selection,previousImpact:e.impact,afterCritical:e.afterCritical}):Lt({isMovingForward:l,previousPageBorderBoxCenter:u,draggable:c,isOver:i,draggables:d,droppables:p,viewport:e.viewport,afterCritical:e.afterCritical})};function zt(e){return"DRAGGING"===e.phase||"COLLECTING"===e.phase}function Ft(e){const t=rt(e.top,e.bottom),n=rt(e.left,e.right);return function(e){return t(e.y)&&n(e.x)}}function Bt({pageBorderBox:e,draggable:t,droppables:n}){const r=Ge(n).filter((t=>{if(!t.isEnabled)return!1;const n=t.subject.active;if(!n)return!1;if(o=n,!((r=e).left<o.right&&r.right>o.left&&r.top<o.bottom&&r.bottom>o.top))return!1;var r,o;if(Ft(n)(e.center))return!0;const i=t.axis,a=n.center[i.crossAxisLine],s=e[i.crossAxisStart],l=e[i.crossAxisEnd],c=rt(n[i.crossAxisStart],n[i.crossAxisEnd]),u=c(s),d=c(l);return!u&&!d||(u?s<a:l>a)}));return r.length?1===r.length?r[0].descriptor.id:function({pageBorderBox:e,draggable:t,candidates:n}){const r=t.page.borderBox.center,o=n.map((t=>{const n=t.axis,o=Le(t.axis.line,e.center[n.line],t.page.borderBox.center[n.crossAxisLine]);return{id:t.descriptor.id,distance:je(r,o)}})).sort(((e,t)=>t.distance-e.distance));return o[0]?o[0].id:null}({pageBorderBox:e,draggable:t,candidates:r}):null}const Ht=(e,t)=>re(Fe(e,t));function Vt({displaced:e,id:t}){return Boolean(e.visible[t]||e.invisible[t])}var Wt=({pageOffset:e,draggable:t,draggables:n,droppables:r,previousImpact:o,viewport:i,afterCritical:a})=>{const s=Ht(t.page.borderBox,e),l=Bt({pageBorderBox:s,draggable:t,droppables:r});if(!l)return nt;const c=r[l],u=Xe(c.descriptor.id,n),d=((e,t)=>{const n=e.frame;return n?Ht(t,n.scroll.diff.value):t})(c,s);return(({draggable:e,pageBorderBoxWithDroppableScroll:t,previousImpact:n,destination:r,insideDestination:o,afterCritical:i})=>{if(!r.isCombineEnabled)return null;const a=r.axis,s=Rt(r.axis,e.displaceBy),l=s.value,c=t[a.start],u=t[a.end],d=Je(e,o).find((e=>{const t=e.descriptor.id,r=e.page.borderBox,o=r[a.size]/4,s=mt(t,i),d=Vt({displaced:n.displaced,id:t});return s?d?u>r[a.start]+o&&u<r[a.end]-o:c>r[a.start]-l+o&&c<r[a.end]-l-o:d?u>r[a.start]+l+o&&u<r[a.end]+l-o:c>r[a.start]+o&&c<r[a.end]-o}));return d?{displacedBy:s,displaced:n.displaced,at:{type:"COMBINE",combine:{draggableId:d.descriptor.id,droppableId:r.descriptor.id}}}:null})({pageBorderBoxWithDroppableScroll:d,draggable:t,previousImpact:o,destination:c,insideDestination:u,afterCritical:a})||(({pageBorderBoxWithDroppableScroll:e,draggable:t,destination:n,insideDestination:r,last:o,viewport:i,afterCritical:a})=>{const s=n.axis,l=Rt(n.axis,t.displaceBy),c=l.value,u=e[s.start],d=e[s.end],p=function({draggable:e,closest:t,inHomeList:n}){return t?n&&t.descriptor.index>e.descriptor.index?t.descriptor.index-1:t.descriptor.index:null}({draggable:t,closest:Je(t,r).find((e=>{const t=e.descriptor.id,n=e.page.borderBox.center[s.line],r=mt(t,a),i=Vt({displaced:o,id:t});return r?i?d<=n:u<n-c:i?d<=n+c:u<n}))||null,inHomeList:Qe(t,n)});return ht({draggable:t,insideDestination:r,destination:n,viewport:i,last:o,displacedBy:l,index:p})})({pageBorderBoxWithDroppableScroll:d,draggable:t,destination:c,insideDestination:u,last:o.displaced,viewport:i,afterCritical:a})},Ut=(e,t)=>({...e,[t.descriptor.id]:t});const qt=({previousImpact:e,impact:t,droppables:n})=>{const r=jt(e),o=jt(t);if(!r)return n;if(r===o)return n;const i=n[r];if(!i.subject.withPlaceholder)return n;const a=(e=>{const t=e.subject.withPlaceholder;t||_e(!1);const n=e.frame;if(!n){const t=Ve({page:e.subject.page,axis:e.axis,frame:null,withPlaceholder:null});return{...e,subject:t}}const r=t.oldFrameMaxScroll;r||_e(!1);const o=It(n,r),i=Ve({page:e.subject.page,axis:e.axis,frame:o,withPlaceholder:null});return{...e,subject:i,frame:o}})(i);return Ut(n,a)};var Gt=({state:e,clientSelection:t,dimensions:n,viewport:r,impact:o,scrollJumpRequest:i})=>{const a=r||e.viewport,s=n||e.dimensions,l=t||e.current.client.selection,c=Re(l,e.initial.client.selection),u={offset:c,selection:l,borderBoxCenter:De(e.initial.client.borderBoxCenter,c)},d={selection:De(u.selection,a.scroll.current),borderBoxCenter:De(u.borderBoxCenter,a.scroll.current),offset:De(u.offset,a.scroll.diff.value)},p={client:u,page:d};if("COLLECTING"===e.phase)return{...e,dimensions:s,viewport:a,current:p};const f=s.draggables[e.critical.draggable.id],h=o||Wt({pageOffset:d.offset,draggable:f,draggables:s.draggables,droppables:s.droppables,previousImpact:e.impact,viewport:a,afterCritical:e.afterCritical}),m=(({draggable:e,draggables:t,droppables:n,previousImpact:r,impact:o})=>{const i=qt({previousImpact:r,impact:o,droppables:n}),a=jt(o);if(!a)return i;const s=n[a];if(Qe(e,s))return i;if(s.subject.withPlaceholder)return i;const l=Nt(s,e,t);return Ut(i,l)})({draggable:f,impact:h,previousImpact:e.impact,draggables:s.draggables,droppables:s.droppables});return{...e,current:p,dimensions:{draggables:s.draggables,droppables:m},impact:h,viewport:a,scrollJumpRequest:i||null,forceShouldAnimate:!i&&null}};var Yt=({impact:e,viewport:t,draggables:n,destination:r,forceShouldAnimate:o})=>{const i=e.displaced,a=function(e,t){return e.map((e=>t[e]))}(i.all,n),s=pt({afterDragging:a,destination:r,displacedBy:e.displacedBy,viewport:t.frame,forceShouldAnimate:o,last:i});return{...e,displaced:s}},Xt=({impact:e,draggable:t,droppable:n,draggables:r,viewport:o,afterCritical:i})=>{const a=St({impact:e,draggable:t,draggables:r,droppable:n,afterCritical:i});return Tt({pageBorderBoxCenter:a,draggable:t,viewport:o})},Kt=({state:e,dimensions:t,viewport:n})=>{"SNAP"!==e.movementMode&&_e(!1);const r=e.impact,o=n||e.viewport,i=t||e.dimensions,{draggables:a,droppables:s}=i,l=a[e.critical.draggable.id],c=jt(r);c||_e(!1);const u=s[c],d=Yt({impact:r,viewport:o,destination:u,draggables:a}),p=Xt({impact:d,draggable:l,droppable:u,draggables:a,viewport:o,afterCritical:e.afterCritical});return Gt({impact:d,clientSelection:p,state:e,dimensions:i,viewport:o})},Zt=({draggable:e,home:t,draggables:n,viewport:r})=>{const o=Rt(t.axis,e.displaceBy),i=Xe(t.descriptor.id,n),a=i.indexOf(e);-1===a&&_e(!1);const s=i.slice(a+1),l=s.reduce(((e,t)=>(e[t.descriptor.id]=!0,e)),{}),c={inVirtualList:"virtual"===t.descriptor.mode,displacedBy:o,effected:l};var u;return{impact:{displaced:pt({afterDragging:s,destination:t,displacedBy:o,last:null,viewport:r.frame,forceShouldAnimate:!1}),displacedBy:o,at:{type:"REORDER",destination:(u=e.descriptor,{index:u.index,droppableId:u.droppableId})}},afterCritical:c}};const Jt=e=>{0},Qt=e=>{0};var en=({additions:e,updatedDroppables:t,viewport:n})=>{const r=n.scroll.diff.value;return e.map((e=>{const o=e.descriptor.droppableId,i=(e=>{const t=e.frame;return t||_e(!1),t})(t[o]),a=i.scroll.diff.value,s=(({draggable:e,offset:t,initialWindowScroll:n})=>{const r=ce(e.client,t),o=ue(r,n);return{...e,placeholder:{...e.placeholder,client:r},client:r,page:o}})({draggable:e,offset:De(r,a),initialWindowScroll:n.scroll.initial});return s}))};const tn=e=>"SNAP"===e.movementMode,nn=(e,t,n)=>{const r=((e,t)=>({draggables:e.draggables,droppables:Ut(e.droppables,t)}))(e.dimensions,t);return!tn(e)||n?Gt({state:e,dimensions:r}):Kt({state:e,dimensions:r})};function rn(e){return e.isDragging&&"SNAP"===e.movementMode?{...e,scrollJumpRequest:null}:e}const on={phase:"IDLE",completed:null,shouldFlush:!1};var an=(e=on,t)=>{if("FLUSH"===t.type)return{...on,shouldFlush:!0};if("INITIAL_PUBLISH"===t.type){"IDLE"!==e.phase&&_e(!1);const{critical:n,clientSelection:r,viewport:o,dimensions:i,movementMode:a}=t.payload,s=i.draggables[n.draggable.id],l=i.droppables[n.droppable.id],c={selection:r,borderBoxCenter:s.client.borderBox.center,offset:Ee},u={client:c,page:{selection:De(c.selection,o.scroll.initial),borderBoxCenter:De(c.selection,o.scroll.initial),offset:De(c.selection,o.scroll.diff.value)}},d=Ge(i.droppables).every((e=>!e.isFixedOnPage)),{impact:p,afterCritical:f}=Zt({draggable:s,home:l,draggables:i.draggables,viewport:o});return{phase:"DRAGGING",isDragging:!0,critical:n,movementMode:a,dimensions:i,initial:u,current:u,isWindowScrollAllowed:d,impact:p,afterCritical:f,onLiftImpact:p,viewport:o,scrollJumpRequest:null,forceShouldAnimate:null}}if("COLLECTION_STARTING"===t.type){if("COLLECTING"===e.phase||"DROP_PENDING"===e.phase)return e;"DRAGGING"!==e.phase&&_e(!1);return{...e,phase:"COLLECTING"}}if("PUBLISH_WHILE_DRAGGING"===t.type)return"COLLECTING"!==e.phase&&"DROP_PENDING"!==e.phase&&_e(!1),(({state:e,published:t})=>{Jt();const n=t.modified.map((t=>{const n=e.dimensions.droppables[t.droppableId];return We(n,t.scroll)})),r={...e.dimensions.droppables,...Ue(n)},o=qe(en({additions:t.additions,updatedDroppables:r,viewport:e.viewport})),i={...e.dimensions.draggables,...o};t.removals.forEach((e=>{delete i[e]}));const a={droppables:r,draggables:i},s=jt(e.impact),l=s?a.droppables[s]:null,c=a.draggables[e.critical.draggable.id],u=a.droppables[e.critical.droppable.id],{impact:d,afterCritical:p}=Zt({draggable:c,home:u,draggables:i,viewport:e.viewport}),f=l&&l.isCombineEnabled?e.impact:d,h=Wt({pageOffset:e.current.page.offset,draggable:a.draggables[e.critical.draggable.id],draggables:a.draggables,droppables:a.droppables,previousImpact:f,viewport:e.viewport,afterCritical:p});Qt();const m={...e,phase:"DRAGGING",impact:h,onLiftImpact:d,dimensions:a,afterCritical:p,forceShouldAnimate:!1};return"COLLECTING"===e.phase?m:{...m,phase:"DROP_PENDING",reason:e.reason,isWaiting:!1}})({state:e,published:t.payload});if("MOVE"===t.type){if("DROP_PENDING"===e.phase)return e;zt(e)||_e(!1);const{client:n}=t.payload;return Ie(n,e.current.client.selection)?e:Gt({state:e,clientSelection:n,impact:tn(e)?e.impact:null})}if("UPDATE_DROPPABLE_SCROLL"===t.type){if("DROP_PENDING"===e.phase)return rn(e);if("COLLECTING"===e.phase)return rn(e);zt(e)||_e(!1);const{id:n,newScroll:r}=t.payload,o=e.dimensions.droppables[n];if(!o)return e;const i=We(o,r);return nn(e,i,!1)}if("UPDATE_DROPPABLE_IS_ENABLED"===t.type){if("DROP_PENDING"===e.phase)return e;zt(e)||_e(!1);const{id:n,isEnabled:r}=t.payload,o=e.dimensions.droppables[n];o||_e(!1),o.isEnabled===r&&_e(!1);const i={...o,isEnabled:r};return nn(e,i,!0)}if("UPDATE_DROPPABLE_IS_COMBINE_ENABLED"===t.type){if("DROP_PENDING"===e.phase)return e;zt(e)||_e(!1);const{id:n,isCombineEnabled:r}=t.payload,o=e.dimensions.droppables[n];o||_e(!1),o.isCombineEnabled===r&&_e(!1);const i={...o,isCombineEnabled:r};return nn(e,i,!0)}if("MOVE_BY_WINDOW_SCROLL"===t.type){if("DROP_PENDING"===e.phase||"DROP_ANIMATING"===e.phase)return e;zt(e)||_e(!1),e.isWindowScrollAllowed||_e(!1);const n=t.payload.newScroll;if(Ie(e.viewport.scroll.current,n))return rn(e);const r=kt(e.viewport,n);return tn(e)?Kt({state:e,viewport:r}):Gt({state:e,viewport:r})}if("UPDATE_VIEWPORT_MAX_SCROLL"===t.type){if(!zt(e))return e;const n=t.payload.maxScroll;if(Ie(n,e.viewport.scroll.max))return e;const r={...e.viewport,scroll:{...e.viewport.scroll,max:n}};return{...e,viewport:r}}if("MOVE_UP"===t.type||"MOVE_DOWN"===t.type||"MOVE_LEFT"===t.type||"MOVE_RIGHT"===t.type){if("COLLECTING"===e.phase||"DROP_PENDING"===e.phase)return e;"DRAGGING"!==e.phase&&_e(!1);const n=$t({state:e,type:t.type});return n?Gt({state:e,impact:n.impact,clientSelection:n.clientSelection,scrollJumpRequest:n.scrollJumpRequest}):e}if("DROP_PENDING"===t.type){const n=t.payload.reason;"COLLECTING"!==e.phase&&_e(!1);return{...e,phase:"DROP_PENDING",isWaiting:!0,reason:n}}if("DROP_ANIMATE"===t.type){const{completed:n,dropDuration:r,newHomeClientOffset:o}=t.payload;"DRAGGING"!==e.phase&&"DROP_PENDING"!==e.phase&&_e(!1);return{phase:"DROP_ANIMATING",completed:n,dropDuration:r,newHomeClientOffset:o,dimensions:e.dimensions}}if("DROP_COMPLETE"===t.type){const{completed:e}=t.payload;return{phase:"IDLE",completed:e,shouldFlush:!1}}return e};const sn=e=>({type:"LIFT",payload:e}),ln=e=>({type:"PUBLISH_WHILE_DRAGGING",payload:e}),cn=()=>({type:"COLLECTION_STARTING",payload:null}),un=e=>({type:"UPDATE_DROPPABLE_SCROLL",payload:e}),dn=e=>({type:"UPDATE_DROPPABLE_IS_ENABLED",payload:e}),pn=e=>({type:"UPDATE_DROPPABLE_IS_COMBINE_ENABLED",payload:e}),fn=e=>({type:"MOVE",payload:e}),hn=()=>({type:"MOVE_UP",payload:null}),mn=()=>({type:"MOVE_DOWN",payload:null}),gn=()=>({type:"MOVE_RIGHT",payload:null}),vn=()=>({type:"MOVE_LEFT",payload:null}),yn=()=>({type:"FLUSH",payload:null}),bn=e=>({type:"DROP_COMPLETE",payload:e}),xn=e=>({type:"DROP",payload:e}),wn=()=>({type:"DROP_ANIMATION_FINISHED",payload:null});const An="cubic-bezier(.2,1,.1,1)",_n={drop:0,combining:.7},Sn={drop:.75},kn={outOfTheWay:.2,minDropTime:.33,maxDropTime:.55},Cn=`${kn.outOfTheWay}s ${"cubic-bezier(0.2, 0, 0, 1)"}`,Tn={fluid:`opacity ${Cn}`,snap:`transform ${Cn}, opacity ${Cn}`,drop:e=>{const t=`${e}s ${An}`;return`transform ${t}, opacity ${t}`},outOfTheWay:`transform ${Cn}`,placeholder:`height ${Cn}, width ${Cn}, margin ${Cn}`},Mn=e=>Ie(e,Ee)?void 0:`translate(${e.x}px, ${e.y}px)`,Pn={moveTo:Mn,drop:(e,t)=>{const n=Mn(e);if(n)return t?`${n} scale(${Sn.drop})`:n}},{minDropTime:On,maxDropTime:En}=kn,Dn=En-On;var Rn=({getState:e,dispatch:t})=>n=>r=>{if("DROP"!==r.type)return void n(r);const o=e(),i=r.payload.reason;if("COLLECTING"===o.phase)return void t((e=>({type:"DROP_PENDING",payload:e}))({reason:i}));if("IDLE"===o.phase)return;"DROP_PENDING"===o.phase&&o.isWaiting&&_e(!1),"DRAGGING"!==o.phase&&"DROP_PENDING"!==o.phase&&_e(!1);const a=o.critical,s=o.dimensions,l=s.draggables[o.critical.draggable.id],{impact:c,didDropInsideDroppable:u}=(({draggables:e,reason:t,lastImpact:n,home:r,viewport:o,onLiftImpact:i})=>{if(!n.at||"DROP"!==t)return{impact:Yt({draggables:e,impact:i,destination:r,viewport:o,forceShouldAnimate:!0}),didDropInsideDroppable:!1};return"REORDER"===n.at.type?{impact:n,didDropInsideDroppable:!0}:{impact:{...n,displaced:tt},didDropInsideDroppable:!0}})({reason:i,lastImpact:o.impact,afterCritical:o.afterCritical,onLiftImpact:o.onLiftImpact,home:o.dimensions.droppables[o.critical.droppable.id],viewport:o.viewport,draggables:o.dimensions.draggables}),d=u?Ke(c):null,p=u?Ze(c):null,f={index:a.draggable.index,droppableId:a.droppable.id},h={draggableId:l.descriptor.id,type:l.descriptor.type,source:f,reason:i,mode:o.movementMode,destination:d,combine:p},m=(({impact:e,draggable:t,dimensions:n,viewport:r,afterCritical:o})=>{const{draggables:i,droppables:a}=n,s=jt(e),l=s?a[s]:null,c=a[t.descriptor.droppableId],u=Xt({impact:e,draggable:t,draggables:i,afterCritical:o,droppable:l||c,viewport:r});return Re(u,t.client.borderBox.center)})({impact:c,draggable:l,dimensions:s,viewport:o.viewport,afterCritical:o.afterCritical}),g={critical:o.critical,afterCritical:o.afterCritical,result:h,impact:c};if(!(!Ie(o.current.client.offset,m)||Boolean(h.combine)))return void t(bn({completed:g}));const v=(({current:e,destination:t,reason:n})=>{const r=je(e,t);if(r<=0)return On;if(r>=1500)return En;const o=On+Dn*(r/1500);return Number(("CANCEL"===n?.6*o:o).toFixed(2))})({current:o.current.client.offset,destination:m,reason:i});t((e=>({type:"DROP_ANIMATE",payload:e}))({newHomeClientOffset:m,dropDuration:v,completed:g}))},In=()=>({x:window.pageXOffset,y:window.pageYOffset});function Nn({onWindowScroll:e}){const t=ge((function(){e(In())})),n=function(e){return{eventName:"scroll",options:{passive:!0,capture:!1},fn:t=>{t.target!==window&&t.target!==window.document||e()}}}(t);let r=ye;function o(){return r!==ye}return{start:function(){o()&&_e(!1),r=be(window,[n])},stop:function(){o()||_e(!1),t.cancel(),r(),r=ye},isActive:o}}var Ln=e=>{const t=Nn({onWindowScroll:t=>{e.dispatch({type:"MOVE_BY_WINDOW_SCROLL",payload:{newScroll:t}})}});return e=>n=>{t.isActive()||"INITIAL_PUBLISH"!==n.type||t.start(),t.isActive()&&(e=>"DROP_COMPLETE"===e.type||"DROP_ANIMATE"===e.type||"FLUSH"===e.type)(n)&&t.stop(),e(n)}},jn=()=>{const e=[];return{add:t=>{const n=setTimeout((()=>(t=>{const n=e.findIndex((e=>e.timerId===t));-1===n&&_e(!1);const[r]=e.splice(n,1);r.callback()})(n))),r={timerId:n,callback:t};e.push(r)},flush:()=>{if(!e.length)return;const t=[...e];e.length=0,t.forEach((e=>{clearTimeout(e.timerId),e.callback()}))}}};const $n=(e,t)=>{Jt(),t(),Qt()},zn=(e,t)=>({draggableId:e.draggable.id,type:e.droppable.type,source:{droppableId:e.droppable.id,index:e.draggable.index},mode:t});function Fn(e,t,n,r){if(!e)return void n(r(t));const o=(e=>{let t=!1,n=!1;const r=setTimeout((()=>{n=!0})),o=o=>{t||n||(t=!0,e(o),clearTimeout(r))};return o.wasCalled=()=>t,o})(n);e(t,{announce:o}),o.wasCalled()||n(r(t))}var Bn=(e,t)=>{const n=((e,t)=>{const n=jn();let r=null;const o=n=>{r||_e(!1),r=null,$n(0,(()=>Fn(e().onDragEnd,n,t,Oe.onDragEnd)))};return{beforeCapture:(t,n)=>{r&&_e(!1),$n(0,(()=>{const r=e().onBeforeCapture;r&&r({draggableId:t,mode:n})}))},beforeStart:(t,n)=>{r&&_e(!1),$n(0,(()=>{const r=e().onBeforeDragStart;r&&r(zn(t,n))}))},start:(o,i)=>{r&&_e(!1);const a=zn(o,i);r={mode:i,lastCritical:o,lastLocation:a.source,lastCombine:null},n.add((()=>{$n(0,(()=>Fn(e().onDragStart,a,t,Oe.onDragStart)))}))},update:(o,i)=>{const a=Ke(i),s=Ze(i);r||_e(!1);const l=!((e,t)=>{if(e===t)return!0;const n=e.draggable.id===t.draggable.id&&e.draggable.droppableId===t.draggable.droppableId&&e.draggable.type===t.draggable.type&&e.draggable.index===t.draggable.index,r=e.droppable.id===t.droppable.id&&e.droppable.type===t.droppable.type;return n&&r})(o,r.lastCritical);l&&(r.lastCritical=o);const c=(d=a,!(null==(u=r.lastLocation)&&null==d||null!=u&&null!=d&&u.droppableId===d.droppableId&&u.index===d.index));var u,d;c&&(r.lastLocation=a);const p=!((e,t)=>null==e&&null==t||null!=e&&null!=t&&e.draggableId===t.draggableId&&e.droppableId===t.droppableId)(r.lastCombine,s);if(p&&(r.lastCombine=s),!l&&!c&&!p)return;const f={...zn(o,r.mode),combine:s,destination:a};n.add((()=>{$n(0,(()=>Fn(e().onDragUpdate,f,t,Oe.onDragUpdate)))}))},flush:()=>{r||_e(!1),n.flush()},drop:o,abort:()=>{if(!r)return;const e={...zn(r.lastCritical,r.mode),combine:null,destination:null,reason:"CANCEL"};o(e)}}})(e,t);return e=>t=>r=>{if("BEFORE_INITIAL_CAPTURE"===r.type)return void n.beforeCapture(r.payload.draggableId,r.payload.movementMode);if("INITIAL_PUBLISH"===r.type){const e=r.payload.critical;return n.beforeStart(e,r.payload.movementMode),t(r),void n.start(e,r.payload.movementMode)}if("DROP_COMPLETE"===r.type){const e=r.payload.completed.result;return n.flush(),t(r),void n.drop(e)}if(t(r),"FLUSH"===r.type)return void n.abort();const o=e.getState();"DRAGGING"===o.phase&&n.update(o.critical,o.impact)}};var Hn=e=>t=>n=>{if("DROP_ANIMATION_FINISHED"!==n.type)return void t(n);const r=e.getState();"DROP_ANIMATING"!==r.phase&&_e(!1),e.dispatch(bn({completed:r.completed}))};var Vn=e=>{let t=null,n=null;return r=>o=>{if("FLUSH"!==o.type&&"DROP_COMPLETE"!==o.type&&"DROP_ANIMATION_FINISHED"!==o.type||(n&&(cancelAnimationFrame(n),n=null),t&&(t(),t=null)),r(o),"DROP_ANIMATE"!==o.type)return;const i={eventName:"scroll",options:{capture:!0,passive:!1,once:!0},fn:function(){"DROP_ANIMATING"===e.getState().phase&&e.dispatch({type:"DROP_ANIMATION_FINISHED",payload:null})}};n=requestAnimationFrame((()=>{n=null,t=be(window,[i])}))}};var Wn=e=>t=>n=>{if(t(n),"PUBLISH_WHILE_DRAGGING"!==n.type)return;const r=e.getState();"DROP_PENDING"===r.phase&&(r.isWaiting||e.dispatch(xn({reason:r.reason})))};const Un=v;var qn=({dimensionMarshal:e,focusMarshal:t,styleMarshal:n,getResponders:r,announce:o,autoScroller:i})=>{return h(an,Un(function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){return function(){var n=e.apply(void 0,arguments),r=function(){throw new Error(c(15))},o={getState:n.getState,dispatch:function(){return r.apply(void 0,arguments)}},i=t.map((function(e){return e(o)}));return r=v.apply(void 0,i)(n.dispatch),l(l({},n),{},{dispatch:r})}}}((a=n,()=>e=>t=>{"INITIAL_PUBLISH"===t.type&&a.dragging(),"DROP_ANIMATE"===t.type&&a.dropping(t.payload.completed.result.reason),"FLUSH"!==t.type&&"DROP_COMPLETE"!==t.type||a.resting(),e(t)}),(e=>()=>t=>n=>{"DROP_COMPLETE"!==n.type&&"FLUSH"!==n.type&&"DROP_ANIMATE"!==n.type||e.stopPublishing(),t(n)})(e),(e=>({getState:t,dispatch:n})=>r=>o=>{if("LIFT"!==o.type)return void r(o);const{id:i,clientSelection:a,movementMode:s}=o.payload,l=t();"DROP_ANIMATING"===l.phase&&n(bn({completed:l.completed})),"IDLE"!==t().phase&&_e(!1),n(yn()),n({type:"BEFORE_INITIAL_CAPTURE",payload:{draggableId:i,movementMode:s}});const c={draggableId:i,scrollOptions:{shouldPublishImmediately:"SNAP"===s}},{critical:u,dimensions:d,viewport:p}=e.startPublishing(c);n({type:"INITIAL_PUBLISH",payload:{critical:u,dimensions:d,clientSelection:a,movementMode:s,viewport:p}})})(e),Rn,Hn,Vn,Wn,(e=>t=>n=>r=>{if((e=>"DROP_COMPLETE"===e.type||"DROP_ANIMATE"===e.type||"FLUSH"===e.type)(r))return e.stop(),void n(r);if("INITIAL_PUBLISH"===r.type){n(r);const o=t.getState();return"DRAGGING"!==o.phase&&_e(!1),void e.start(o)}n(r),e.scroll(t.getState())})(i),Ln,(e=>{let t=!1;return()=>n=>r=>{if("INITIAL_PUBLISH"===r.type)return t=!0,e.tryRecordFocus(r.payload.critical.draggable.id),n(r),void e.tryRestoreFocusRecorded();if(n(r),t){if("FLUSH"===r.type)return t=!1,void e.tryRestoreFocusRecorded();if("DROP_COMPLETE"===r.type){t=!1;const n=r.payload.completed.result;n.combine&&e.tryShiftRecord(n.draggableId,n.combine.draggableId),e.tryRestoreFocusRecorded()}}}})(t),Bn(r,o))));var a};var Gn=({scrollHeight:e,scrollWidth:t,height:n,width:r})=>{const o=Re({x:t,y:e},{x:r,y:n});return{x:Math.max(0,o.x),y:Math.max(0,o.y)}},Yn=()=>{const e=document.documentElement;return e||_e(!1),e},Xn=()=>{const e=Yn();return Gn({scrollHeight:e.scrollHeight,scrollWidth:e.scrollWidth,width:e.clientWidth,height:e.clientHeight})},Kn=({critical:e,scrollOptions:t,registry:n})=>{Jt();const r=(()=>{const e=In(),t=Xn(),n=e.y,r=e.x,o=Yn(),i=o.clientWidth,a=o.clientHeight;return{frame:re({top:n,left:r,right:r+i,bottom:n+a}),scroll:{initial:e,current:e,max:t,diff:{value:Ee,displacement:Ee}}}})(),o=r.scroll.current,i=e.droppable,a=n.droppable.getAllByType(i.type).map((e=>e.callbacks.getDimensionAndWatchScroll(o,t))),s=n.draggable.getAllByType(e.draggable.type).map((e=>e.getDimension(o))),l={draggables:qe(s),droppables:Ue(a)};Qt();return{dimensions:l,critical:e,viewport:r}};function Zn(e,t,n){if(n.descriptor.id===t.id)return!1;if(n.descriptor.type!==t.type)return!1;return"virtual"===e.droppable.getById(n.descriptor.droppableId).descriptor.mode}var Jn=(e,t)=>{let n=null;const r=function({registry:e,callbacks:t}){let n={additions:{},removals:{},modified:{}},r=null;const o=()=>{r||(t.collectionStarting(),r=requestAnimationFrame((()=>{r=null,Jt();const{additions:o,removals:i,modified:a}=n,s=Object.keys(o).map((t=>e.draggable.getById(t).getDimension(Ee))).sort(((e,t)=>e.descriptor.index-t.descriptor.index)),l=Object.keys(a).map((t=>({droppableId:t,scroll:e.droppable.getById(t).callbacks.getScrollWhileDragging()}))),c={additions:s,removals:Object.keys(i),modified:l};n={additions:{},removals:{},modified:{}},Qt(),t.publish(c)})))};return{add:e=>{const t=e.descriptor.id;n.additions[t]=e,n.modified[e.descriptor.droppableId]=!0,n.removals[t]&&delete n.removals[t],o()},remove:e=>{const t=e.descriptor;n.removals[t.id]=!0,n.modified[t.droppableId]=!0,n.additions[t.id]&&delete n.additions[t.id],o()},stop:()=>{r&&(cancelAnimationFrame(r),r=null,n={additions:{},removals:{},modified:{}})}}}({callbacks:{publish:t.publishWhileDragging,collectionStarting:t.collectionStarting},registry:e}),o=t=>{n||_e(!1);const o=n.critical.draggable;"ADDITION"===t.type&&Zn(e,o,t.value)&&r.add(t.value),"REMOVAL"===t.type&&Zn(e,o,t.value)&&r.remove(t.value)},i={updateDroppableIsEnabled:(r,o)=>{e.droppable.exists(r)||_e(!1),n&&t.updateDroppableIsEnabled({id:r,isEnabled:o})},updateDroppableIsCombineEnabled:(r,o)=>{n&&(e.droppable.exists(r)||_e(!1),t.updateDroppableIsCombineEnabled({id:r,isCombineEnabled:o}))},scrollDroppable:(t,r)=>{n&&e.droppable.getById(t).callbacks.scroll(r)},updateDroppableScroll:(r,o)=>{n&&(e.droppable.exists(r)||_e(!1),t.updateDroppableScroll({id:r,newScroll:o}))},startPublishing:t=>{n&&_e(!1);const r=e.draggable.getById(t.draggableId),i=e.droppable.getById(r.descriptor.droppableId),a={draggable:r.descriptor,droppable:i.descriptor},s=e.subscribe(o);return n={critical:a,unsubscribe:s},Kn({critical:a,registry:e,scrollOptions:t.scrollOptions})},stopPublishing:()=>{if(!n)return;r.stop();const t=n.critical.droppable;e.droppable.getAllByType(t.type).forEach((e=>e.callbacks.dragStopped())),n.unsubscribe(),n=null}};return i},Qn=(e,t)=>"IDLE"===e.phase||"DROP_ANIMATING"===e.phase&&(e.completed.result.draggableId!==t&&"DROP"===e.completed.result.reason),er=e=>{window.scrollBy(e.x,e.y)};const tr=me((e=>Ge(e).filter((e=>!!e.isEnabled&&!!e.frame))));var nr=({center:e,destination:t,droppables:n})=>{if(t){const e=n[t];return e.frame?e:null}const r=((e,t)=>{const n=tr(t).find((t=>(t.frame||_e(!1),Ft(t.frame.pageMarginBox)(e))))||null;return n})(e,n);return r};const rr={startFromPercentage:.25,maxScrollAtPercentage:.05,maxPixelScroll:28,ease:e=>e**2,durationDampening:{stopDampeningAt:1200,accelerateAt:360},disabled:!1};var or=({startOfRange:e,endOfRange:t,current:n})=>{const r=t-e;if(0===r)return 0;return(n-e)/r},ir=({distanceToEdge:e,thresholds:t,dragStartTime:n,shouldUseTimeDampening:r,getAutoScrollerOptions:o})=>{const i=((e,t,n=()=>rr)=>{const r=n();if(e>t.startScrollingFrom)return 0;if(e<=t.maxScrollValueAt)return r.maxPixelScroll;if(e===t.startScrollingFrom)return 1;const o=1-or({startOfRange:t.maxScrollValueAt,endOfRange:t.startScrollingFrom,current:e}),i=r.maxPixelScroll*r.ease(o);return Math.ceil(i)})(e,t,o);return 0===i?0:r?Math.max(((e,t,n)=>{const r=n(),o=r.durationDampening.accelerateAt,i=r.durationDampening.stopDampeningAt,a=t,s=i,l=Date.now()-a;if(l>=i)return e;if(l<o)return 1;const c=or({startOfRange:o,endOfRange:s,current:l}),u=e*r.ease(c);return Math.ceil(u)})(i,n,o),1):i},ar=({container:e,distanceToEdges:t,dragStartTime:n,axis:r,shouldUseTimeDampening:o,getAutoScrollerOptions:i})=>{const a=((e,t,n=()=>rr)=>{const r=n();return{startScrollingFrom:e[t.size]*r.startFromPercentage,maxScrollValueAt:e[t.size]*r.maxScrollAtPercentage}})(e,r,i);return t[r.end]<t[r.start]?ir({distanceToEdge:t[r.end],thresholds:a,dragStartTime:n,shouldUseTimeDampening:o,getAutoScrollerOptions:i}):-1*ir({distanceToEdge:t[r.start],thresholds:a,dragStartTime:n,shouldUseTimeDampening:o,getAutoScrollerOptions:i})};const sr=ze((e=>0===e?0:e));var lr=({dragStartTime:e,container:t,subject:n,center:r,shouldUseTimeDampening:o,getAutoScrollerOptions:i})=>{const a={top:r.y-t.top,right:t.right-r.x,bottom:t.bottom-r.y,left:r.x-t.left},s=ar({container:t,distanceToEdges:a,dragStartTime:e,axis:at,shouldUseTimeDampening:o,getAutoScrollerOptions:i}),l=ar({container:t,distanceToEdges:a,dragStartTime:e,axis:st,shouldUseTimeDampening:o,getAutoScrollerOptions:i}),c=sr({x:l,y:s});if(Ie(c,Ee))return null;const u=(({container:e,subject:t,proposedScroll:n})=>{const r=t.height>e.height,o=t.width>e.width;return o||r?o&&r?null:{x:o?0:n.x,y:r?0:n.y}:n})({container:t,subject:n,proposedScroll:c});return u?Ie(u,Ee)?null:u:null};const cr=ze((e=>0===e?0:e>0?1:-1)),ur=(()=>{const e=(e,t)=>e<0?e:e>t?e-t:0;return({current:t,max:n,change:r})=>{const o=De(t,r),i={x:e(o.x,n.x),y:e(o.y,n.y)};return Ie(i,Ee)?null:i}})(),dr=({max:e,current:t,change:n})=>{const r={x:Math.max(t.x,e.x),y:Math.max(t.y,e.y)},o=cr(n),i=ur({max:r,current:t,change:o});return!i||(0!==o.x&&0===i.x||0!==o.y&&0===i.y)},pr=(e,t)=>dr({current:e.scroll.current,max:e.scroll.max,change:t}),fr=(e,t)=>{const n=e.frame;return!!n&&dr({current:n.scroll.current,max:n.scroll.max,change:t})};var hr=({state:e,dragStartTime:t,shouldUseTimeDampening:n,scrollWindow:r,scrollDroppable:o,getAutoScrollerOptions:i})=>{const a=e.current.page.borderBoxCenter,s=e.dimensions.draggables[e.critical.draggable.id].page.marginBox;if(e.isWindowScrollAllowed){const o=(({viewport:e,subject:t,center:n,dragStartTime:r,shouldUseTimeDampening:o,getAutoScrollerOptions:i})=>{const a=lr({dragStartTime:r,container:e.frame,subject:t,center:n,shouldUseTimeDampening:o,getAutoScrollerOptions:i});return a&&pr(e,a)?a:null})({dragStartTime:t,viewport:e.viewport,subject:s,center:a,shouldUseTimeDampening:n,getAutoScrollerOptions:i});if(o)return void r(o)}const l=nr({center:a,destination:jt(e.impact),droppables:e.dimensions.droppables});if(!l)return;const c=(({droppable:e,subject:t,center:n,dragStartTime:r,shouldUseTimeDampening:o,getAutoScrollerOptions:i})=>{const a=e.frame;if(!a)return null;const s=lr({dragStartTime:r,container:a.pageMarginBox,subject:t,center:n,shouldUseTimeDampening:o,getAutoScrollerOptions:i});return s&&fr(e,s)?s:null})({dragStartTime:t,droppable:l,subject:s,center:a,shouldUseTimeDampening:n,getAutoScrollerOptions:i});c&&o(l.descriptor.id,c)},mr=({move:e,scrollDroppable:t,scrollWindow:n})=>{const r=(e,n)=>{if(!fr(e,n))return n;const r=((e,t)=>{const n=e.frame;return n&&fr(e,t)?ur({current:n.scroll.current,max:n.scroll.max,change:t}):null})(e,n);if(!r)return t(e.descriptor.id,n),null;const o=Re(n,r);t(e.descriptor.id,o);return Re(n,o)},o=(e,t,r)=>{if(!e)return r;if(!pr(t,r))return r;const o=((e,t)=>{if(!pr(e,t))return null;const n=e.scroll.max,r=e.scroll.current;return ur({current:r,max:n,change:t})})(t,r);if(!o)return n(r),null;const i=Re(r,o);n(i);return Re(r,i)};return t=>{const n=t.scrollJumpRequest;if(!n)return;const i=jt(t.impact);i||_e(!1);const a=r(t.dimensions.droppables[i],n);if(!a)return;const s=t.viewport,l=o(t.isWindowScrollAllowed,s,a);l&&((t,n)=>{const r=De(t.current.client.selection,n);e({client:r})})(t,l)}},gr=({scrollDroppable:e,scrollWindow:t,move:n,getAutoScrollerOptions:r})=>{const o=(({scrollWindow:e,scrollDroppable:t,getAutoScrollerOptions:n=()=>rr})=>{const r=ge(e),o=ge(t);let i=null;const a=e=>{i||_e(!1);const{shouldUseTimeDampening:t,dragStartTime:a}=i;hr({state:e,scrollWindow:r,scrollDroppable:o,dragStartTime:a,shouldUseTimeDampening:t,getAutoScrollerOptions:n})};return{start:e=>{Jt(),i&&_e(!1);const t=Date.now();let r=!1;const o=()=>{r=!0};hr({state:e,dragStartTime:0,shouldUseTimeDampening:!1,scrollWindow:o,scrollDroppable:o,getAutoScrollerOptions:n}),i={dragStartTime:t,shouldUseTimeDampening:r},Qt(),r&&a(e)},stop:()=>{i&&(r.cancel(),o.cancel(),i=null)},scroll:a}})({scrollWindow:t,scrollDroppable:e,getAutoScrollerOptions:r}),i=mr({move:n,scrollWindow:t,scrollDroppable:e});return{scroll:e=>{r().disabled||"DRAGGING"!==e.phase||("FLUID"!==e.movementMode?e.scrollJumpRequest&&i(e):o.scroll(e))},start:o.start,stop:o.stop}};const vr="data-rfd",yr=(()=>{const e=`${vr}-drag-handle`;return{base:e,draggableId:`${e}-draggable-id`,contextId:`${e}-context-id`}})(),br=(()=>{const e=`${vr}-draggable`;return{base:e,contextId:`${e}-context-id`,id:`${e}-id`}})(),xr=(()=>{const e=`${vr}-droppable`;return{base:e,contextId:`${e}-context-id`,id:`${e}-id`}})(),wr={contextId:`${vr}-scroll-container-context-id`},Ar=(e,t)=>e.map((e=>{const n=e.styles[t];return n?`${e.selector} { ${n} }`:""})).join(" ");var _r=e=>{const t=(n=e,e=>`[${e}="${n}"]`);var n;const r=(()=>{const e="\n cursor: -webkit-grab;\n cursor: grab;\n ";return{selector:t(yr.contextId),styles:{always:"\n -webkit-touch-callout: none;\n -webkit-tap-highlight-color: rgba(0,0,0,0);\n touch-action: manipulation;\n ",resting:e,dragging:"pointer-events: none;",dropAnimating:e}}})(),o=[(()=>{const e=`\n transition: ${Tn.outOfTheWay};\n `;return{selector:t(br.contextId),styles:{dragging:e,dropAnimating:e,userCancel:e}}})(),r,{selector:t(xr.contextId),styles:{always:"overflow-anchor: none;"}},{selector:"body",styles:{dragging:"\n cursor: grabbing;\n cursor: -webkit-grabbing;\n user-select: none;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n overflow-anchor: none;\n "}}];return{always:Ar(o,"always"),resting:Ar(o,"resting"),dragging:Ar(o,"dragging"),dropAnimating:Ar(o,"dropAnimating"),userCancel:Ar(o,"userCancel")}};var Sr="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement?r.useLayoutEffect:r.useEffect;const kr=()=>{const e=document.querySelector("head");return e||_e(!1),e},Cr=e=>{const t=document.createElement("style");return e&&t.setAttribute("nonce",e),t.type="text/css",t};function Tr(e,t){return Array.from(e.querySelectorAll(t))}var Mr=e=>e&&e.ownerDocument&&e.ownerDocument.defaultView?e.ownerDocument.defaultView:window;function Pr(e){return e instanceof Mr(e).HTMLElement}function Or(e,t){const n=`[${yr.contextId}="${e}"]`,r=Tr(document,n);if(!r.length)return null;const o=r.find((e=>e.getAttribute(yr.draggableId)===t));return o&&Pr(o)?o:null}function Er(){const e={draggables:{},droppables:{}},t=[];function n(e){t.length&&t.forEach((t=>t(e)))}function r(t){return e.draggables[t]||null}function o(t){return e.droppables[t]||null}return{draggable:{register:t=>{e.draggables[t.descriptor.id]=t,n({type:"ADDITION",value:t})},update:(t,n)=>{const r=e.draggables[n.descriptor.id];r&&r.uniqueId===t.uniqueId&&(delete e.draggables[n.descriptor.id],e.draggables[t.descriptor.id]=t)},unregister:t=>{const o=t.descriptor.id,i=r(o);i&&t.uniqueId===i.uniqueId&&(delete e.draggables[o],e.droppables[t.descriptor.droppableId]&&n({type:"REMOVAL",value:t}))},getById:function(e){const t=r(e);return t||_e(!1),t},findById:r,exists:e=>Boolean(r(e)),getAllByType:t=>Object.values(e.draggables).filter((e=>e.descriptor.type===t))},droppable:{register:t=>{e.droppables[t.descriptor.id]=t},unregister:t=>{const n=o(t.descriptor.id);n&&t.uniqueId===n.uniqueId&&delete e.droppables[t.descriptor.id]},getById:function(e){const t=o(e);return t||_e(!1),t},findById:o,exists:e=>Boolean(o(e)),getAllByType:t=>Object.values(e.droppables).filter((e=>e.descriptor.type===t))},subscribe:function(e){return t.push(e),function(){const n=t.indexOf(e);-1!==n&&t.splice(n,1)}},clean:function(){e.draggables={},e.droppables={},t.length=0}}}var Dr=r.createContext(null),Rr=()=>{const e=document.body;return e||_e(!1),e};var Ir={position:"absolute",width:"1px",height:"1px",margin:"-1px",border:"0",padding:"0",overflow:"hidden",clip:"rect(0 0 0 0)","clip-path":"inset(100%)"};const Nr=e=>`rfd-announcement-${e}`;const Lr={separator:"::"};var jr=function(e,t=Lr){const n=r.useId();return ee((()=>`${e}${t.separator}${n}`),[t.separator,e,n])};var $r=r.createContext(null);function zr(e){0}function Fr(e,t){zr()}function Br(e){const t=(0,r.useRef)(e);return(0,r.useEffect)((()=>{t.current=e})),t}function Hr(e){return"IDLE"!==e.phase&&"DROP_ANIMATING"!==e.phase&&e.isDragging}const Vr=9,Wr=13,Ur=27,qr=32,Gr=33,Yr=34,Xr=35,Kr=36,Zr=37,Jr=38,Qr=39,eo=40,to={[Wr]:!0,[Vr]:!0};var no=e=>{to[e.keyCode]&&e.preventDefault()};var ro=(()=>{const e="visibilitychange";if("undefined"==typeof document)return e;return[e,`ms${e}`,`webkit${e}`,`moz${e}`,`o${e}`].find((e=>`on${e}`in document))||e})();const oo=0,io=5;const ao={type:"IDLE"};function so({cancel:e,completed:t,getPhase:n,setPhase:r}){return[{eventName:"mousemove",fn:e=>{const{button:t,clientX:o,clientY:i}=e;if(t!==oo)return;const a={x:o,y:i},s=n();if("DRAGGING"===s.type)return e.preventDefault(),void s.actions.move(a);"PENDING"!==s.type&&_e(!1);const l=s.point;if(c=l,u=a,!(Math.abs(u.x-c.x)>=io||Math.abs(u.y-c.y)>=io))return;var c,u;e.preventDefault();const d=s.actions.fluidLift(a);r({type:"DRAGGING",actions:d})}},{eventName:"mouseup",fn:r=>{const o=n();"DRAGGING"===o.type?(r.preventDefault(),o.actions.drop({shouldBlockNextClick:!0}),t()):e()}},{eventName:"mousedown",fn:t=>{"DRAGGING"===n().type&&t.preventDefault(),e()}},{eventName:"keydown",fn:t=>{if("PENDING"!==n().type)return t.keyCode===Ur?(t.preventDefault(),void e()):void no(t);e()}},{eventName:"resize",fn:e},{eventName:"scroll",options:{passive:!0,capture:!1},fn:()=>{"PENDING"===n().type&&e()}},{eventName:"webkitmouseforcedown",fn:t=>{const r=n();"IDLE"===r.type&&_e(!1),r.actions.shouldRespectForcePress()?e():t.preventDefault()}},{eventName:ro,fn:e}]}function lo(e){const t=(0,r.useRef)(ao),n=(0,r.useRef)(ye),o=ee((()=>({eventName:"mousedown",fn:function(t){if(t.defaultPrevented)return;if(t.button!==oo)return;if(t.ctrlKey||t.metaKey||t.shiftKey||t.altKey)return;const r=e.findClosestDraggableId(t);if(!r)return;const o=e.tryGetLock(r,s,{sourceEvent:t});if(!o)return;t.preventDefault();const i={x:t.clientX,y:t.clientY};n.current(),u(o,i)}})),[e]),i=ee((()=>({eventName:"webkitmouseforcewillbegin",fn:t=>{if(t.defaultPrevented)return;const n=e.findClosestDraggableId(t);if(!n)return;const r=e.findOptionsForDraggable(n);r&&(r.shouldRespectForcePress||e.canGetLock(n)&&t.preventDefault())}})),[e]),a=te((function(){n.current=be(window,[i,o],{passive:!1,capture:!0})}),[i,o]),s=te((()=>{"IDLE"!==t.current.type&&(t.current=ao,n.current(),a())}),[a]),l=te((()=>{const e=t.current;s(),"DRAGGING"===e.type&&e.actions.cancel({shouldBlockNextClick:!0}),"PENDING"===e.type&&e.actions.abort()}),[s]),c=te((function(){const e=so({cancel:l,completed:s,getPhase:()=>t.current,setPhase:e=>{t.current=e}});n.current=be(window,e,{capture:!0,passive:!1})}),[l,s]),u=te((function(e,n){"IDLE"!==t.current.type&&_e(!1),t.current={type:"PENDING",point:n,actions:e},c()}),[c]);Sr((function(){return a(),function(){n.current()}}),[a])}function co(){}const uo={[Yr]:!0,[Gr]:!0,[Kr]:!0,[Xr]:!0};function po(e,t){function n(){t(),e.cancel()}return[{eventName:"keydown",fn:r=>r.keyCode===Ur?(r.preventDefault(),void n()):r.keyCode===qr?(r.preventDefault(),t(),void e.drop()):r.keyCode===eo?(r.preventDefault(),void e.moveDown()):r.keyCode===Jr?(r.preventDefault(),void e.moveUp()):r.keyCode===Qr?(r.preventDefault(),void e.moveRight()):r.keyCode===Zr?(r.preventDefault(),void e.moveLeft()):void(uo[r.keyCode]?r.preventDefault():no(r))},{eventName:"mousedown",fn:n},{eventName:"mouseup",fn:n},{eventName:"click",fn:n},{eventName:"touchstart",fn:n},{eventName:"resize",fn:n},{eventName:"wheel",fn:n,options:{passive:!0}},{eventName:ro,fn:n}]}function fo(e){const t=(0,r.useRef)(co),n=ee((()=>({eventName:"keydown",fn:function(n){if(n.defaultPrevented)return;if(n.keyCode!==qr)return;const r=e.findClosestDraggableId(n);if(!r)return;const i=e.tryGetLock(r,l,{sourceEvent:n});if(!i)return;n.preventDefault();let a=!0;const s=i.snapLift();function l(){a||_e(!1),a=!1,t.current(),o()}t.current(),t.current=be(window,po(s,l),{capture:!0,passive:!1})}})),[e]),o=te((function(){t.current=be(window,[n],{passive:!1,capture:!0})}),[n]);Sr((function(){return o(),function(){t.current()}}),[o])}const ho={type:"IDLE"},mo=120,go=.15;function vo(e){const t=(0,r.useRef)(ho),n=(0,r.useRef)(ye),o=te((function(){return t.current}),[]),i=te((function(e){t.current=e}),[]),a=ee((()=>({eventName:"touchstart",fn:function(t){if(t.defaultPrevented)return;const r=e.findClosestDraggableId(t);if(!r)return;const o=e.tryGetLock(r,l,{sourceEvent:t});if(!o)return;const i=t.touches[0],{clientX:a,clientY:s}=i,c={x:a,y:s};n.current(),p(o,c)}})),[e]),s=te((function(){n.current=be(window,[a],{capture:!0,passive:!1})}),[a]),l=te((()=>{const e=t.current;"IDLE"!==e.type&&("PENDING"===e.type&&clearTimeout(e.longPressTimerId),i(ho),n.current(),s())}),[s,i]),c=te((()=>{const e=t.current;l(),"DRAGGING"===e.type&&e.actions.cancel({shouldBlockNextClick:!0}),"PENDING"===e.type&&e.actions.abort()}),[l]),u=te((function(){const e={capture:!0,passive:!1},t={cancel:c,completed:l,getPhase:o},r=be(window,function({cancel:e,completed:t,getPhase:n}){return[{eventName:"touchmove",options:{capture:!1},fn:t=>{const r=n();if("DRAGGING"!==r.type)return void e();r.hasMoved=!0;const{clientX:o,clientY:i}=t.touches[0],a={x:o,y:i};t.preventDefault(),r.actions.move(a)}},{eventName:"touchend",fn:r=>{const o=n();"DRAGGING"===o.type?(r.preventDefault(),o.actions.drop({shouldBlockNextClick:!0}),t()):e()}},{eventName:"touchcancel",fn:t=>{"DRAGGING"===n().type?(t.preventDefault(),e()):e()}},{eventName:"touchforcechange",fn:t=>{const r=n();"IDLE"===r.type&&_e(!1);const o=t.touches[0];if(!o)return;if(!(o.force>=go))return;const i=r.actions.shouldRespectForcePress();if("PENDING"!==r.type)return i?r.hasMoved?void t.preventDefault():void e():void t.preventDefault();i&&e()}},{eventName:ro,fn:e}]}(t),e),i=be(window,function({cancel:e,getPhase:t}){return[{eventName:"orientationchange",fn:e},{eventName:"resize",fn:e},{eventName:"contextmenu",fn:e=>{e.preventDefault()}},{eventName:"keydown",fn:n=>{"DRAGGING"===t().type?(n.keyCode===Ur&&n.preventDefault(),e()):e()}},{eventName:ro,fn:e}]}(t),e);n.current=function(){r(),i()}}),[c,o,l]),d=te((function(){const e=o();"PENDING"!==e.type&&_e(!1);const t=e.actions.fluidLift(e.point);i({type:"DRAGGING",actions:t,hasMoved:!1})}),[o,i]),p=te((function(e,t){"IDLE"!==o().type&&_e(!1);const n=setTimeout(d,mo);i({type:"PENDING",point:t,actions:e,longPressTimerId:n}),u()}),[u,o,i,d]);Sr((function(){return s(),function(){n.current();const e=o();"PENDING"===e.type&&(clearTimeout(e.longPressTimerId),i(ho))}}),[o,s,i]),Sr((function(){return be(window,[{eventName:"touchmove",fn:()=>{},options:{capture:!1,passive:!1}}])}),[])}const yo=["input","button","textarea","select","option","optgroup","video","audio"];function bo(e,t){if(null==t)return!1;if(yo.includes(t.tagName.toLowerCase()))return!0;const n=t.getAttribute("contenteditable");return"true"===n||""===n||t!==e&&bo(e,t.parentElement)}function xo(e,t){const n=t.target;return!!Pr(n)&&bo(e,n)}var wo=e=>re(e.getBoundingClientRect()).center;const Ao=(()=>{const e="matches";if("undefined"==typeof document)return e;return[e,"msMatchesSelector","webkitMatchesSelector"].find((e=>e in Element.prototype))||e})();function _o(e,t){return null==e?null:e[Ao](t)?e:_o(e.parentElement,t)}function So(e,t){return e.closest?e.closest(t):_o(e,t)}function ko(e,t){const n=t.target;if(!((r=n)instanceof Mr(r).Element))return null;var r;const o=function(e){return`[${yr.contextId}="${e}"]`}(e),i=So(n,o);return i&&Pr(i)?i:null}function Co(e){e.preventDefault()}function To({expected:e,phase:t,isLockActive:n,shouldWarn:r}){return!!n()&&e===t}function Mo({lockAPI:e,store:t,registry:n,draggableId:r}){if(e.isClaimed())return!1;const o=n.draggable.findById(r);return!!o&&(!!o.options.isEnabled&&!!Qn(t.getState(),r))}function Po({lockAPI:e,contextId:t,store:n,registry:r,draggableId:o,forceSensorStop:i,sourceEvent:a}){if(!Mo({lockAPI:e,store:n,registry:r,draggableId:o}))return null;const s=r.draggable.getById(o),l=function(e,t){const n=`[${br.contextId}="${e}"]`,r=Tr(document,n).find((e=>e.getAttribute(br.id)===t));return r&&Pr(r)?r:null}(t,s.descriptor.id);if(!l)return null;if(a&&!s.options.canDragInteractiveElements&&xo(l,a))return null;const c=e.claim(i||ye);let u="PRE_DRAG";function d(){return s.options.shouldRespectForcePress}function p(){return e.isActive(c)}const f=function(e,t){To({expected:e,phase:u,isLockActive:p,shouldWarn:!0})&&n.dispatch(t())}.bind(null,"DRAGGING");function h(t){function r(){e.release(),u="COMPLETED"}function o(e,o={shouldBlockNextClick:!1}){if(t.cleanup(),o.shouldBlockNextClick){const e=be(window,[{eventName:"click",fn:Co,options:{once:!0,passive:!1,capture:!0}}]);setTimeout(e)}r(),n.dispatch(xn({reason:e}))}return"PRE_DRAG"!==u&&(r(),_e(!1)),n.dispatch(sn(t.liftActionArgs)),u="DRAGGING",{isActive:()=>To({expected:"DRAGGING",phase:u,isLockActive:p,shouldWarn:!1}),shouldRespectForcePress:d,drop:e=>o("DROP",e),cancel:e=>o("CANCEL",e),...t.actions}}return{isActive:()=>To({expected:"PRE_DRAG",phase:u,isLockActive:p,shouldWarn:!1}),shouldRespectForcePress:d,fluidLift:function(e){const t=ge((e=>{f((()=>fn({client:e})))}));return{...h({liftActionArgs:{id:o,clientSelection:e,movementMode:"FLUID"},cleanup:()=>t.cancel(),actions:{move:t}}),move:t}},snapLift:function(){const e={moveUp:()=>f(hn),moveRight:()=>f(gn),moveDown:()=>f(mn),moveLeft:()=>f(vn)};return h({liftActionArgs:{id:o,clientSelection:wo(l),movementMode:"SNAP"},cleanup:ye,actions:e})},abort:function(){To({expected:"PRE_DRAG",phase:u,isLockActive:p,shouldWarn:!0})&&e.release()}}}const Oo=[lo,fo,vo];function Eo({contextId:e,store:t,registry:n,customSensors:o,enableDefaultSensors:i}){const a=[...i?Oo:[],...o||[]],s=(0,r.useState)((()=>function(){let e=null;function t(){e||_e(!1),e=null}return{isClaimed:function(){return Boolean(e)},isActive:function(t){return t===e},claim:function(t){e&&_e(!1);const n={abandon:t};return e=n,n},release:t,tryAbandon:function(){e&&(e.abandon(),t())}}}()))[0],l=te((function(e,t){Hr(e)&&!Hr(t)&&s.tryAbandon()}),[s]);Sr((function(){let e=t.getState();return t.subscribe((()=>{const n=t.getState();l(e,n),e=n}))}),[s,t,l]),Sr((()=>s.tryAbandon),[s.tryAbandon]);const c=te((e=>Mo({lockAPI:s,registry:n,store:t,draggableId:e})),[s,n,t]),u=te(((r,o,i)=>Po({lockAPI:s,registry:n,contextId:e,store:t,draggableId:r,forceSensorStop:o||null,sourceEvent:i&&i.sourceEvent?i.sourceEvent:null})),[e,s,n,t]),d=te((t=>function(e,t){const n=ko(e,t);return n?n.getAttribute(yr.draggableId):null}(e,t)),[e]),p=te((e=>{const t=n.draggable.findById(e);return t?t.options:null}),[n.draggable]),f=te((function(){s.isClaimed()&&(s.tryAbandon(),"IDLE"!==t.getState().phase&&t.dispatch(yn()))}),[s,t]),h=te((()=>s.isClaimed()),[s]),m=ee((()=>({canGetLock:c,tryGetLock:u,findClosestDraggableId:d,findOptionsForDraggable:p,tryReleaseLock:f,isLockClaimed:h})),[c,u,d,p,f,h]);zr();for(let e=0;e<a.length;e++)a[e](m)}const Do=e=>({onBeforeCapture:t=>{const n=()=>{e.onBeforeCapture&&e.onBeforeCapture(t)};r.version.startsWith("16")||r.version.startsWith("17")?n():(0,o.flushSync)(n)},onBeforeDragStart:e.onBeforeDragStart,onDragStart:e.onDragStart,onDragEnd:e.onDragEnd,onDragUpdate:e.onDragUpdate}),Ro=e=>({...rr,...e.autoScrollerOptions,durationDampening:{...rr.durationDampening,...e.autoScrollerOptions}});function Io(e){return e.current||_e(!1),e.current}function No(e){const{contextId:t,setCallbacks:n,sensors:o,nonce:i,dragHandleUsageInstructions:a}=e,s=(0,r.useRef)(null);Fr();const l=Br(e),c=te((()=>Do(l.current)),[l]),u=te((()=>Ro(l.current)),[l]),d=function(e){const t=ee((()=>Nr(e)),[e]),n=(0,r.useRef)(null);return(0,r.useEffect)((function(){const e=document.createElement("div");return n.current=e,e.id=t,e.setAttribute("aria-live","assertive"),e.setAttribute("aria-atomic","true"),(0,T.A)(e.style,Ir),Rr().appendChild(e),function(){setTimeout((function(){const t=Rr();t.contains(e)&&t.removeChild(e),e===n.current&&(n.current=null)}))}}),[t]),te((e=>{const t=n.current;t&&(t.textContent=e)}),[])}(t),p=function({contextId:e,text:t}){const n=jr("hidden-text",{separator:"-"}),o=ee((()=>function({contextId:e,uniqueId:t}){return`rfd-hidden-text-${e}-${t}`}({contextId:e,uniqueId:n})),[n,e]);return(0,r.useEffect)((function(){const e=document.createElement("div");return e.id=o,e.textContent=t,e.style.display="none",Rr().appendChild(e),function(){const t=Rr();t.contains(e)&&t.removeChild(e)}}),[o,t]),o}({contextId:t,text:a}),f=function(e,t){const n=ee((()=>_r(e)),[e]),o=(0,r.useRef)(null),i=(0,r.useRef)(null),a=te(me((e=>{const t=i.current;t||_e(!1),t.textContent=e})),[]),s=te((e=>{const t=o.current;t||_e(!1),t.textContent=e}),[]);Sr((()=>{(o.current||i.current)&&_e(!1);const r=Cr(t),l=Cr(t);return o.current=r,i.current=l,r.setAttribute(`${vr}-always`,e),l.setAttribute(`${vr}-dynamic`,e),kr().appendChild(r),kr().appendChild(l),s(n.always),a(n.resting),()=>{const e=e=>{const t=e.current;t||_e(!1),kr().removeChild(t),e.current=null};e(o),e(i)}}),[t,s,a,n.always,n.resting,e]);const l=te((()=>a(n.dragging)),[a,n.dragging]),c=te((e=>{a("DROP"!==e?n.userCancel:n.dropAnimating)}),[a,n.dropAnimating,n.userCancel]),u=te((()=>{i.current&&a(n.resting)}),[a,n.resting]);return ee((()=>({dragging:l,dropping:c,resting:u})),[l,c,u])}(t,i),h=te((e=>{Io(s).dispatch(e)}),[]),m=ee((()=>g({publishWhileDragging:ln,updateDroppableScroll:un,updateDroppableIsEnabled:dn,updateDroppableIsCombineEnabled:pn,collectionStarting:cn},h)),[h]),v=function(){const e=ee(Er,[]);return(0,r.useEffect)((()=>function(){r.version.startsWith("16")||r.version.startsWith("17")?requestAnimationFrame(e.clean):e.clean()}),[e]),e}(),y=ee((()=>Jn(v,m)),[v,m]),b=ee((()=>gr({scrollWindow:er,scrollDroppable:y.scrollDroppable,getAutoScrollerOptions:u,...g({move:fn},h)})),[y.scrollDroppable,h,u]),x=function(e){const t=(0,r.useRef)({}),n=(0,r.useRef)(null),o=(0,r.useRef)(null),i=(0,r.useRef)(!1),a=te((function(e,n){const r={id:e,focus:n};return t.current[e]=r,function(){const n=t.current;n[e]!==r&&delete n[e]}}),[]),s=te((function(t){const n=Or(e,t);n&&n!==document.activeElement&&n.focus()}),[e]),l=te((function(e,t){n.current===e&&(n.current=t)}),[]),c=te((function(){o.current||i.current&&(o.current=requestAnimationFrame((()=>{o.current=null;const e=n.current;e&&s(e)})))}),[s]),u=te((function(e){n.current=null;const t=document.activeElement;t&&t.getAttribute(yr.draggableId)===e&&(n.current=e)}),[]);return Sr((()=>(i.current=!0,function(){i.current=!1;const e=o.current;e&&cancelAnimationFrame(e)})),[]),ee((()=>({register:a,tryRecordFocus:u,tryRestoreFocusRecorded:c,tryShiftRecord:l})),[a,u,c,l])}(t),w=ee((()=>qn({announce:d,autoScroller:b,dimensionMarshal:y,focusMarshal:x,getResponders:c,styleMarshal:f})),[d,b,y,x,c,f]);s.current=w;const A=te((()=>{const e=Io(s);"IDLE"!==e.getState().phase&&e.dispatch(yn())}),[]),_=te((()=>{const e=Io(s).getState();return"DROP_ANIMATING"===e.phase||"IDLE"!==e.phase&&e.isDragging}),[]);n(ee((()=>({isDragging:_,tryAbort:A})),[_,A]));const S=te((e=>Qn(Io(s).getState(),e)),[]),k=te((()=>zt(Io(s).getState())),[]),C=ee((()=>({marshal:y,focus:x,contextId:t,canLift:S,isMovementAllowed:k,dragHandleUsageInstructionsId:p,registry:v})),[t,y,p,x,S,k,v]);return Eo({contextId:t,store:w,registry:v,customSensors:o||null,enableDefaultSensors:!1!==e.enableDefaultSensors}),(0,r.useEffect)((()=>A),[A]),r.createElement($r.Provider,{value:C},r.createElement(K,{context:Dr,store:w},e.children))}var Lo=function(){return r.useId()};function jo(){}function $o(e){const t=Lo(),n=e.dragHandleUsageInstructions||Oe.dragHandleUsageInstructions;return r.createElement(Se,null,(o=>r.createElement(No,{nonce:e.nonce,contextId:t,setCallbacks:o,dragHandleUsageInstructions:n,enableDefaultSensors:e.enableDefaultSensors,sensors:e.sensors,onBeforeCapture:e.onBeforeCapture,onBeforeDragStart:e.onBeforeDragStart,onDragStart:e.onDragStart,onDragUpdate:e.onDragUpdate,onDragEnd:e.onDragEnd,autoScrollerOptions:e.autoScrollerOptions},e.children)))}const zo={dragging:5e3,dropAnimating:4500},Fo=(e,t)=>t?Tn.drop(t.duration):e?Tn.snap:Tn.fluid,Bo=(e,t)=>{if(e)return t?_n.drop:_n.combining},Ho=e=>null!=e.forceShouldAnimate?e.forceShouldAnimate:"SNAP"===e.mode;function Vo(e){return"DRAGGING"===e.type?function(e){const t=e.dimension.client,{offset:n,combineWith:r,dropping:o}=e,i=Boolean(r),a=Ho(e),s=Boolean(o),l=s?Pn.drop(n,i):Pn.moveTo(n);return{position:"fixed",top:t.marginBox.top,left:t.marginBox.left,boxSizing:"border-box",width:t.borderBox.width,height:t.borderBox.height,transition:Fo(a,o),transform:l,opacity:Bo(i,s),zIndex:s?zo.dropAnimating:zo.dragging,pointerEvents:"none"}}(e):(t=e,{transform:Pn.moveTo(t.offset),transition:t.shouldAnimateDisplacement?void 0:"none"});var t}function Wo(e){const t=jr("draggable"),{descriptor:n,registry:o,getDraggableRef:i,canDragInteractiveElements:a,shouldRespectForcePress:s,isEnabled:l}=e,c=ee((()=>({canDragInteractiveElements:a,shouldRespectForcePress:s,isEnabled:l})),[a,l,s]),u=te((e=>{const t=i();return t||_e(!1),function(e,t,n=Ee){const r=window.getComputedStyle(t),o=t.getBoundingClientRect(),i=de(o,r),a=ue(i,n);return{descriptor:e,placeholder:{client:i,tagName:t.tagName.toLowerCase(),display:r.display},displaceBy:{x:i.marginBox.width,y:i.marginBox.height},client:i,page:a}}(n,t,e)}),[n,i]),d=ee((()=>({uniqueId:t,descriptor:n,options:c,getDimension:u})),[n,u,c,t]),p=(0,r.useRef)(d),f=(0,r.useRef)(!0);Sr((()=>(o.draggable.register(p.current),()=>o.draggable.unregister(p.current))),[o.draggable]),Sr((()=>{if(f.current)return void(f.current=!1);const e=p.current;p.current=d,o.draggable.update(d,e)}),[d,o.draggable])}var Uo=r.createContext(null);function qo(e){const t=(0,r.useContext)(e);return t||_e(!1),t}function Go(e){e.preventDefault()}var Yo=e=>{const t=(0,r.useRef)(null),n=te(((e=null)=>{t.current=e}),[]),i=te((()=>t.current),[]),{contextId:a,dragHandleUsageInstructionsId:s,registry:l}=qo($r),{type:c,droppableId:u}=qo(Uo),d=ee((()=>({id:e.draggableId,index:e.index,type:c,droppableId:u})),[e.draggableId,e.index,c,u]),{children:p,draggableId:f,isEnabled:h,shouldRespectForcePress:m,canDragInteractiveElements:g,isClone:v,mapped:y,dropAnimationFinished:b}=e;if(Fr(),zr(),!v){Wo(ee((()=>({descriptor:d,registry:l,getDraggableRef:i,canDragInteractiveElements:g,shouldRespectForcePress:m,isEnabled:h})),[d,l,i,g,m,h]))}const x=ee((()=>h?{tabIndex:0,role:"button","aria-describedby":s,"data-rfd-drag-handle-draggable-id":f,"data-rfd-drag-handle-context-id":a,draggable:!1,onDragStart:Go}:null),[a,s,f,h]),w=te((e=>{"DRAGGING"===y.type&&y.dropping&&"transform"===e.propertyName&&(r.version.startsWith("16")||r.version.startsWith("17")?b():(0,o.flushSync)(b))}),[b,y]),A=ee((()=>{const e=Vo(y),t="DRAGGING"===y.type&&y.dropping?w:void 0;return{innerRef:n,draggableProps:{"data-rfd-draggable-context-id":a,"data-rfd-draggable-id":f,style:e,onTransitionEnd:t},dragHandleProps:x}}),[a,x,f,y,w,n]),_=ee((()=>({draggableId:d.id,type:d.type,source:{index:d.index,droppableId:d.droppableId}})),[d.droppableId,d.id,d.index,d.type]);return r.createElement(r.Fragment,null,p(A,y.snapshot,_))},Xo=(e,t)=>e===t,Ko=e=>{const{combine:t,destination:n}=e;return n?n.droppableId:t?t.droppableId:null};function Zo(e=null){return{isDragging:!1,isDropAnimating:!1,isClone:!1,dropAnimation:null,mode:null,draggingOver:null,combineTargetFor:e,combineWith:null}}const Jo={mapped:{type:"SECONDARY",offset:Ee,combineTargetFor:null,shouldAnimateDisplacement:!0,snapshot:Zo(null)}};const Qo=X((()=>{const e=function(){const e=me(((e,t)=>({x:e,y:t}))),t=me(((e,t,n=null,r=null,o=null)=>({isDragging:!0,isClone:t,isDropAnimating:Boolean(o),dropAnimation:o,mode:e,draggingOver:n,combineWith:r,combineTargetFor:null}))),n=me(((e,n,r,o,i=null,a=null,s=null)=>({mapped:{type:"DRAGGING",dropping:null,draggingOver:i,combineWith:a,mode:n,offset:e,dimension:r,forceShouldAnimate:s,snapshot:t(n,o,i,a,null)}})));return(r,o)=>{if(Hr(r)){if(r.critical.draggable.id!==o.draggableId)return null;const t=r.current.client.offset,a=r.dimensions.draggables[o.draggableId],s=jt(r.impact),l=(i=r.impact).at&&"COMBINE"===i.at.type?i.at.combine.draggableId:null,c=r.forceShouldAnimate;return n(e(t.x,t.y),r.movementMode,a,o.isClone,s,l,c)}var i;if("DROP_ANIMATING"===r.phase){const e=r.completed;if(e.result.draggableId!==o.draggableId)return null;const n=o.isClone,i=r.dimensions.draggables[o.draggableId],a=e.result,s=a.mode,l=Ko(a),c=(e=>e.combine?e.combine.draggableId:null)(a),u={duration:r.dropDuration,curve:An,moveTo:r.newHomeClientOffset,opacity:c?_n.drop:null,scale:c?Sn.drop:null};return{mapped:{type:"DRAGGING",offset:r.newHomeClientOffset,dimension:i,dropping:u,draggingOver:l,combineWith:c,mode:s,forceShouldAnimate:null,snapshot:t(s,n,l,c,u)}}}return null}}(),t=function(){const e=me(((e,t)=>({x:e,y:t}))),t=me(Zo),n=me(((e,n=null,r)=>({mapped:{type:"SECONDARY",offset:e,combineTargetFor:n,shouldAnimateDisplacement:r,snapshot:t(n)}}))),r=e=>e?n(Ee,e,!0):null,o=(t,o,i,a)=>{const s=i.displaced.visible[t],l=Boolean(a.inVirtualList&&a.effected[t]),c=Ze(i),u=c&&c.draggableId===t?o:null;if(!s){if(!l)return r(u);if(i.displaced.invisible[t])return null;const o=Ne(a.displacedBy.point),s=e(o.x,o.y);return n(s,u,!0)}if(l)return r(u);const d=i.displacedBy.point,p=e(d.x,d.y);return n(p,u,s.shouldAnimate)};return(e,t)=>{if(Hr(e))return e.critical.draggable.id===t.draggableId?null:o(t.draggableId,e.critical.draggable.id,e.impact,e.afterCritical);if("DROP_ANIMATING"===e.phase){const n=e.completed;return n.result.draggableId===t.draggableId?null:o(t.draggableId,n.result.draggableId,n.impact,n.afterCritical)}return null}}();return(n,r)=>e(n,r)||t(n,r)||Jo}),{dropAnimationFinished:wn},null,{context:Dr,areStatePropsEqual:Xo})(Yo);var ei=Qo;function ti(e){return qo(Uo).isUsingCloneFor!==e.draggableId||e.isClone?r.createElement(ei,e):null}function ni(e){const t="boolean"!=typeof e.isDragDisabled||!e.isDragDisabled,n=Boolean(e.disableInteractiveElementBlocking),o=Boolean(e.shouldRespectForcePress);return r.createElement(ti,(0,T.A)({},e,{isClone:!1,isEnabled:t,canDragInteractiveElements:n,shouldRespectForcePress:o}))}const ri=e=>t=>e===t,oi=ri("scroll"),ii=ri("auto"),ai=(ri("visible"),(e,t)=>t(e.overflowX)||t(e.overflowY)),si=e=>{const t=window.getComputedStyle(e),n={overflowX:t.overflowX,overflowY:t.overflowY};return ai(n,oi)||ai(n,ii)},li=e=>null==e||e===document.body||e===document.documentElement?null:si(e)?e:li(e.parentElement);var ci=e=>({x:e.scrollLeft,y:e.scrollTop});const ui=e=>{if(!e)return!1;return"fixed"===window.getComputedStyle(e).position||ui(e.parentElement)};var di=({ref:e,descriptor:t,env:n,windowScroll:r,direction:o,isDropDisabled:i,isCombineEnabled:a,shouldClipSubject:s})=>{const l=n.closestScrollable,c=((e,t)=>{const n=pe(e);if(!t)return n;if(e!==t)return n;const r=n.paddingBox.top-t.scrollTop,o=n.paddingBox.left-t.scrollLeft,i=r+t.scrollHeight,a=o+t.scrollWidth,s=oe({top:r,right:a,bottom:i,left:o},n.border);return se({borderBox:s,margin:n.margin,border:n.border,padding:n.padding})})(e,l),u=ue(c,r),d=(()=>{if(!l)return null;const e=pe(l),t={scrollHeight:l.scrollHeight,scrollWidth:l.scrollWidth};return{client:e,page:ue(e,r),scroll:ci(l),scrollSize:t,shouldClipSubject:s}})(),p=(({descriptor:e,isEnabled:t,isCombineEnabled:n,isFixedOnPage:r,direction:o,client:i,page:a,closest:s})=>{const l=(()=>{if(!s)return null;const{scrollSize:e,client:t}=s,n=Gn({scrollHeight:e.scrollHeight,scrollWidth:e.scrollWidth,height:t.paddingBox.height,width:t.paddingBox.width});return{pageMarginBox:s.page.marginBox,frameClient:t,scrollSize:e,shouldClipSubject:s.shouldClipSubject,scroll:{initial:s.scroll,current:s.scroll,max:n,diff:{value:Ee,displacement:Ee}}}})(),c="vertical"===o?at:st;return{descriptor:e,isCombineEnabled:n,isFixedOnPage:r,axis:c,isEnabled:t,client:i,page:a,frame:l,subject:Ve({page:a,withPlaceholder:null,axis:c,frame:l})}})({descriptor:t,isEnabled:!i,isCombineEnabled:a,isFixedOnPage:n.isFixedOnPage,direction:o,client:c,page:u,closest:d});return p};const pi={passive:!1},fi={passive:!0};var hi=e=>e.shouldPublishImmediately?pi:fi;const mi=e=>e&&e.env.closestScrollable||null;function gi(e){const t=(0,r.useRef)(null),n=qo($r),o=jr("droppable"),{registry:i,marshal:a}=n,s=Br(e),l=ee((()=>({id:e.droppableId,type:e.type,mode:e.mode})),[e.droppableId,e.mode,e.type]),c=(0,r.useRef)(l),u=ee((()=>me(((e,n)=>{t.current||_e(!1);const r={x:e,y:n};a.updateDroppableScroll(l.id,r)}))),[l.id,a]),d=te((()=>{const e=t.current;return e&&e.env.closestScrollable?ci(e.env.closestScrollable):Ee}),[]),p=te((()=>{const e=d();u(e.x,e.y)}),[d,u]),f=ee((()=>ge(p)),[p]),h=te((()=>{const e=t.current,n=mi(e);e&&n||_e(!1);e.scrollOptions.shouldPublishImmediately?p():f()}),[f,p]),m=te(((e,r)=>{t.current&&_e(!1);const o=s.current,i=o.getDroppableRef();i||_e(!1);const a=(e=>({closestScrollable:li(e),isFixedOnPage:ui(e)}))(i),c={ref:i,descriptor:l,env:a,scrollOptions:r};t.current=c;const u=di({ref:i,descriptor:l,env:a,windowScroll:e,direction:o.direction,isDropDisabled:o.isDropDisabled,isCombineEnabled:o.isCombineEnabled,shouldClipSubject:!o.ignoreContainerClipping}),d=a.closestScrollable;return d&&(d.setAttribute(wr.contextId,n.contextId),d.addEventListener("scroll",h,hi(c.scrollOptions))),u}),[n.contextId,l,h,s]),g=te((()=>{const e=t.current,n=mi(e);return e&&n||_e(!1),ci(n)}),[]),v=te((()=>{const e=t.current;e||_e(!1);const n=mi(e);t.current=null,n&&(f.cancel(),n.removeAttribute(wr.contextId),n.removeEventListener("scroll",h,hi(e.scrollOptions)))}),[h,f]),y=te((e=>{const n=t.current;n||_e(!1);const r=mi(n);r||_e(!1),r.scrollTop+=e.y,r.scrollLeft+=e.x}),[]),b=ee((()=>({getDimensionAndWatchScroll:m,getScrollWhileDragging:g,dragStopped:v,scroll:y})),[v,m,g,y]),x=ee((()=>({uniqueId:o,descriptor:l,callbacks:b})),[b,l,o]);Sr((()=>(c.current=x.descriptor,i.droppable.register(x),()=>{t.current&&v(),i.droppable.unregister(x)})),[b,l,v,x,a,i.droppable]),Sr((()=>{t.current&&a.updateDroppableIsEnabled(c.current.id,!e.isDropDisabled)}),[e.isDropDisabled,a]),Sr((()=>{t.current&&a.updateDroppableIsCombineEnabled(c.current.id,e.isCombineEnabled)}),[e.isCombineEnabled,a])}function vi(){}const yi={width:0,height:0,margin:{top:0,right:0,bottom:0,left:0}},bi=({isAnimatingOpenOnMount:e,placeholder:t,animate:n})=>{const r=(({isAnimatingOpenOnMount:e,placeholder:t,animate:n})=>e||"close"===n?yi:{height:t.client.borderBox.height,width:t.client.borderBox.width,margin:t.client.margin})({isAnimatingOpenOnMount:e,placeholder:t,animate:n});return{display:t.display,boxSizing:"border-box",width:r.width,height:r.height,marginTop:r.margin.top,marginRight:r.margin.right,marginBottom:r.margin.bottom,marginLeft:r.margin.left,flexShrink:"0",flexGrow:"0",pointerEvents:"none",transition:"none"!==n?Tn.placeholder:null}};var xi=r.memo((e=>{const t=(0,r.useRef)(null),n=te((()=>{t.current&&(clearTimeout(t.current),t.current=null)}),[]),{animate:o,onTransitionEnd:i,onClose:a,contextId:s}=e,[l,c]=(0,r.useState)("open"===e.animate);(0,r.useEffect)((()=>l?"open"!==o?(n(),c(!1),vi):t.current?vi:(t.current=setTimeout((()=>{t.current=null,c(!1)})),n):vi),[o,l,n]);const u=te((e=>{"height"===e.propertyName&&(i(),"close"===o&&a())}),[o,a,i]),d=bi({isAnimatingOpenOnMount:l,animate:e.animate,placeholder:e.placeholder});return r.createElement(e.placeholder.tagName,{style:d,"data-rfd-placeholder-context-id":s,onTransitionEnd:u,ref:e.innerRef})}));class wi extends r.PureComponent{constructor(...e){super(...e),this.state={isVisible:Boolean(this.props.on),data:this.props.on,animate:this.props.shouldAnimate&&this.props.on?"open":"none"},this.onClose=()=>{"close"===this.state.animate&&this.setState({isVisible:!1})}}static getDerivedStateFromProps(e,t){return e.shouldAnimate?e.on?{isVisible:!0,data:e.on,animate:"open"}:t.isVisible?{isVisible:!0,data:t.data,animate:"close"}:{isVisible:!1,animate:"close",data:null}:{isVisible:Boolean(e.on),data:e.on,animate:"none"}}render(){if(!this.state.isVisible)return null;const e={onClose:this.onClose,data:this.state.data,animate:this.state.animate};return this.props.children(e)}}var Ai=e=>{const t=(0,r.useContext)($r);t||_e(!1);const{contextId:n,isMovementAllowed:i}=t,a=(0,r.useRef)(null),s=(0,r.useRef)(null),{children:l,droppableId:c,type:u,mode:d,direction:p,ignoreContainerClipping:f,isDropDisabled:h,isCombineEnabled:m,snapshot:g,useClone:v,updateViewportMaxScroll:y,getContainerForClone:b}=e,x=te((()=>a.current),[]),w=te(((e=null)=>{a.current=e}),[]),A=(te((()=>s.current),[]),te(((e=null)=>{s.current=e}),[]));Fr();const _=te((()=>{i()&&y({maxScroll:Xn()})}),[i,y]);gi({droppableId:c,type:u,mode:d,direction:p,isDropDisabled:h,isCombineEnabled:m,ignoreContainerClipping:f,getDroppableRef:x});const S=ee((()=>r.createElement(wi,{on:e.placeholder,shouldAnimate:e.shouldAnimatePlaceholder},(({onClose:e,data:t,animate:o})=>r.createElement(xi,{placeholder:t,onClose:e,innerRef:A,animate:o,contextId:n,onTransitionEnd:_})))),[n,_,e.placeholder,e.shouldAnimatePlaceholder,A]),k=ee((()=>({innerRef:w,placeholder:S,droppableProps:{"data-rfd-droppable-id":c,"data-rfd-droppable-context-id":n}})),[n,c,S,w]),C=v?v.dragging.draggableId:null,T=ee((()=>({droppableId:c,type:u,isUsingCloneFor:C})),[c,C,u]);return r.createElement(Uo.Provider,{value:T},l(k,g),function(){if(!v)return null;const{dragging:e,render:t}=v,n=r.createElement(ti,{draggableId:e.draggableId,index:e.source.index,isClone:!0,isEnabled:!0,shouldRespectForcePress:!1,canDragInteractiveElements:!0},((n,r)=>t(n,r,e)));return o.createPortal(n,b())}())};const _i={mode:"standard",type:"DEFAULT",direction:"vertical",isDropDisabled:!1,isCombineEnabled:!1,ignoreContainerClipping:!1,renderClone:null,getContainerForClone:function(){return document.body||_e(!1),document.body}},Si=e=>{let t,n={...e};for(t in _i)void 0===e[t]&&(n={...n,[t]:_i[t]});return n},ki=(e,t)=>e===t.droppable.type,Ci=(e,t)=>t.draggables[e.draggable.id];var Ti=X((()=>{const e={placeholder:null,shouldAnimatePlaceholder:!0,snapshot:{isDraggingOver:!1,draggingOverWith:null,draggingFromThisWith:null,isUsingPlaceholder:!1},useClone:null},t={...e,shouldAnimatePlaceholder:!1},n=me((e=>({draggableId:e.id,type:e.type,source:{index:e.index,droppableId:e.droppableId}}))),r=me(((r,o,i,a,s,l)=>{const c=s.descriptor.id;if(s.descriptor.droppableId===r){const e=l?{render:l,dragging:n(s.descriptor)}:null,t={isDraggingOver:i,draggingOverWith:i?c:null,draggingFromThisWith:c,isUsingPlaceholder:!0};return{placeholder:s.placeholder,shouldAnimatePlaceholder:!1,snapshot:t,useClone:e}}if(!o)return t;if(!a)return e;const u={isDraggingOver:i,draggingOverWith:c,draggingFromThisWith:null,isUsingPlaceholder:!0};return{placeholder:s.placeholder,shouldAnimatePlaceholder:!0,snapshot:u,useClone:null}}));return(n,o)=>{const i=Si(o),a=i.droppableId,s=i.type,l=!i.isDropDisabled,c=i.renderClone;if(Hr(n)){const e=n.critical;if(!ki(s,e))return t;const o=Ci(e,n.dimensions),i=jt(n.impact)===a;return r(a,l,i,i,o,c)}if("DROP_ANIMATING"===n.phase){const e=n.completed;if(!ki(s,e.critical))return t;const o=Ci(e.critical,n.dimensions);return r(a,l,Ko(e.result)===a,jt(e.impact)===a,o,c)}if("IDLE"===n.phase&&n.completed&&!n.shouldFlush){const r=n.completed;if(!ki(s,r.critical))return t;const o=jt(r.impact)===a,i=Boolean(r.impact.at&&"COMBINE"===r.impact.at.type),l=r.critical.droppable.id===a;return o?i?e:t:l?e:t}return t}}),{updateViewportMaxScroll:e=>({type:"UPDATE_VIEWPORT_MAX_SCROLL",payload:e})},((e,t,n)=>({...Si(n),...e,...t})),{context:Dr,areStatePropsEqual:Xo})(Ai)},45489:function(e,t,n){"use strict";function r(e,t,n){return"function"==typeof e?e(t,n):e}n.d(t,{Y:function(){return r}})},17315:function(e,t,n){"use strict";n.d(t,{Q:function(){return d}});var r=n(58168),o=n(98587),i=n(31523);var a=n(34164);function s(e){if(void 0===e)return{};const t={};return Object.keys(e).filter((t=>!(t.match(/^on[A-Z]/)&&"function"==typeof e[t]))).forEach((n=>{t[n]=e[n]})),t}function l(e){const{getSlotProps:t,additionalProps:n,externalSlotProps:o,externalForwardedProps:i,className:l}=e;if(!t){const e=(0,a.A)(null==n?void 0:n.className,l,null==i?void 0:i.className,null==o?void 0:o.className),t=(0,r.A)({},null==n?void 0:n.style,null==i?void 0:i.style,null==o?void 0:o.style),s=(0,r.A)({},n,i,o);return e.length>0&&(s.className=e),Object.keys(t).length>0&&(s.style=t),{props:s,internalRef:void 0}}const c=function(e,t=[]){if(void 0===e)return{};const n={};return Object.keys(e).filter((n=>n.match(/^on[A-Z]/)&&"function"==typeof e[n]&&!t.includes(n))).forEach((t=>{n[t]=e[t]})),n}((0,r.A)({},i,o)),u=s(o),d=s(i),p=t(c),f=(0,a.A)(null==p?void 0:p.className,null==n?void 0:n.className,l,null==i?void 0:i.className,null==o?void 0:o.className),h=(0,r.A)({},null==p?void 0:p.style,null==n?void 0:n.style,null==i?void 0:i.style,null==o?void 0:o.style),m=(0,r.A)({},p,n,d,u);return f.length>0&&(m.className=f),Object.keys(h).length>0&&(m.style=h),{props:m,internalRef:p.ref}}var c=n(45489);const u=["elementType","externalSlotProps","ownerState","skipResolvingSlotProps"];function d(e){var t;const{elementType:n,externalSlotProps:a,ownerState:s,skipResolvingSlotProps:d=!1}=e,p=(0,o.A)(e,u),f=d?{}:(0,c.Y)(a,s),{props:h,internalRef:m}=l((0,r.A)({},p,{externalSlotProps:f})),g=(0,i.A)(m,null==f?void 0:f.ref,null==(t=e.additionalProps)?void 0:t.ref),v=function(e,t,n){return void 0===e||"string"==typeof e?t:(0,r.A)({},t,{ownerState:(0,r.A)({},t.ownerState,n)})}(n,(0,r.A)({},h,{ref:g}),s);return v}},16718:function(e,t,n){"use strict";var r=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(42032)),i=n(74848);t.default=(0,o.default)((0,i.jsx)("path",{d:"M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6z"}),"Add")},31330:function(e,t,n){"use strict";var r=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(42032)),i=n(74848);t.default=(0,o.default)((0,i.jsx)("path",{d:"M13 7h-2v4H7v2h4v4h2v-4h4v-2h-4zm-1-5C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8"}),"AddCircleOutline")},10885:function(e,t,n){"use strict";var r=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(42032)),i=n(74848);t.default=(0,o.default)((0,i.jsx)("path",{d:"m7 10 5 5 5-5z"}),"ArrowDropDown")},45499:function(e,t,n){"use strict";var r=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(42032)),i=n(74848);t.default=(0,o.default)((0,i.jsx)("path",{d:"M17.94 14.04c-.34.34-.71.64-1.1.92L16 13.5V11h1v-1h-5.62L9.65 7H6l1 .76L5.5 9.5l.95 1L8 9.51v3.99l-.84 1.46c-.39-.27-.76-.58-1.1-.92L5 15.1c1.87 1.87 4.36 2.9 7 2.9s5.13-1.03 7-2.9zm-9.49 1.67.03-.06.81-1.41c1.74.65 3.66.65 5.4 0l.81 1.41.03.06c-1.1.51-2.3.79-3.55.79s-2.43-.27-3.53-.79M20 4v16H4V4zm0-2H4c-1.1 0-2 .9-2 2v16c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2"}),"BedroomBabyOutlined")},2255:function(e,t,n){"use strict";var r=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(42032)),i=n(74848);t.default=(0,o.default)((0,i.jsx)("path",{d:"M20 2H4c-1.1 0-2 .9-2 2v18l4-4h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2m0 14H6l-2 2V4h16z"}),"ChatBubbleOutline")},94017:function(e,t,n){"use strict";var r=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(42032)),i=n(74848);t.default=(0,o.default)((0,i.jsx)("path",{d:"M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"}),"Check")},12092:function(e,t,n){"use strict";var r=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(42032)),i=n(74848);t.default=(0,o.default)((0,i.jsx)("path",{d:"M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Clear")},39781:function(e,t,n){"use strict";var r=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(42032)),i=n(74848);t.default=(0,o.default)((0,i.jsx)("path",{d:"M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Close")},94868:function(e,t,n){"use strict";var r=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(42032)),i=n(74848);t.default=(0,o.default)((0,i.jsx)("path",{d:"M19.35 10.04C18.67 6.59 15.64 4 12 4 9.11 4 6.6 5.64 5.35 8.04 2.34 8.36 0 10.91 0 14c0 3.31 2.69 6 6 6h13c2.76 0 5-2.24 5-5 0-2.64-2.05-4.78-4.65-4.96M10 17l-3.5-3.5 1.41-1.41L10 14.17 15.18 9l1.41 1.41z"}),"CloudDone")},73684:function(e,t,n){"use strict";var r=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(42032)),i=n(74848);t.default=(0,o.default)((0,i.jsx)("path",{d:"M19.35 10.04C18.67 6.59 15.64 4 12 4 9.11 4 6.6 5.64 5.35 8.04 2.34 8.36 0 10.91 0 14c0 3.31 2.69 6 6 6h13c2.76 0 5-2.24 5-5 0-2.64-2.05-4.78-4.65-4.96M17 13l-5 5-5-5h3V9h4v4z"}),"CloudDownload")},61561:function(e,t,n){"use strict";var r=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(42032)),i=n(74848);t.default=(0,o.default)((0,i.jsx)("path",{d:"M19.35 10.04C18.67 6.59 15.64 4 12 4 9.11 4 6.6 5.64 5.35 8.04 2.34 8.36 0 10.91 0 14c0 3.31 2.69 6 6 6h13c2.76 0 5-2.24 5-5 0-2.64-2.05-4.78-4.65-4.96M14 13v4h-4v-4H7l5-5 5 5z"}),"CloudUpload")},11374:function(e,t,n){"use strict";var r=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(42032)),i=n(74848);t.default=(0,o.default)((0,i.jsx)("path",{d:"M10 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h5v2h2V1h-2zm0 15H5l5-6zm9-15h-5v2h5v13l-5-6v9h5c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2"}),"Compare")},54393:function(e,t,n){"use strict";var r=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(42032)),i=n(74848);t.default=(0,o.default)((0,i.jsx)("path",{d:"M18 2H9c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h9c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2m0 14H9V4h9zM3 15v-2h2v2zm0-5.5h2v2H3zM10 20h2v2h-2zm-7-1.5v-2h2v2zM5 22c-1.1 0-2-.9-2-2h2zm3.5 0h-2v-2h2zm5 0v-2h2c0 1.1-.9 2-2 2M5 6v2H3c0-1.1.9-2 2-2"}),"CopyAll")},63901:function(e,t,n){"use strict";var r=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(42032)),i=n(74848);t.default=(0,o.default)((0,i.jsx)("path",{d:"M3 17.25V21h3.75L17.81 9.94l-3.75-3.75zM20.71 7.04c.39-.39.39-1.02 0-1.41l-2.34-2.34a.9959.9959 0 0 0-1.41 0l-1.83 1.83 3.75 3.75z"}),"Create")},15985:function(e,t,n){"use strict";var r=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(42032)),i=n(74848);t.default=(0,o.default)((0,i.jsx)("path",{d:"M3 13h8V3H3zm0 8h8v-6H3zm10 0h8V11h-8zm0-18v6h8V3z"}),"Dashboard")},86043:function(e,t,n){"use strict";var r=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(42032)),i=n(74848);t.default=(0,o.default)((0,i.jsx)("path",{d:"M19 4h-1V3c0-.55-.45-1-1-1s-1 .45-1 1v1H8V3c0-.55-.45-1-1-1s-1 .45-1 1v1H5c-1.11 0-1.99.9-1.99 2L3 20c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2m0 15c0 .55-.45 1-1 1H6c-.55 0-1-.45-1-1V9h14zM7 11h2v2H7zm4 0h2v2h-2zm4 0h2v2h-2z"}),"DateRangeRounded")},67034:function(e,t,n){"use strict";var r=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(42032)),i=n(74848);t.default=(0,o.default)((0,i.jsx)("path",{d:"M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6zM19 4h-3.5l-1-1h-5l-1 1H5v2h14z"}),"Delete")},28048:function(e,t,n){"use strict";var r=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(42032)),i=n(74848);t.default=(0,o.default)((0,i.jsx)("path",{d:"M20 3H4c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h6v2H8v2h8v-2h-2v-2h6c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2"}),"DesktopWindows")},35273:function(e,t,n){"use strict";var r=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(42032)),i=n(74848);t.default=(0,o.default)((0,i.jsx)("path",{d:"M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z"}),"Done")},86141:function(e,t,n){"use strict";var r=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(42032)),i=n(74848);t.default=(0,o.default)((0,i.jsx)("path",{d:"M21.99 8c0-.72-.37-1.35-.94-1.7L12 1 2.95 6.3C2.38 6.65 2 7.28 2 8v10c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2zM12 13 3.74 7.84 12 3l8.26 4.84z"}),"Drafts")},52706:function(e,t,n){"use strict";var r=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(42032)),i=n(74848);t.default=(0,o.default)((0,i.jsx)("path",{d:"M11 18c0 1.1-.9 2-2 2s-2-.9-2-2 .9-2 2-2 2 .9 2 2m-2-8c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2m0-6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2m6 4c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2m0 2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2m0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2"}),"DragIndicator")},28597:function(e,t,n){"use strict";var r=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(42032)),i=n(74848);t.default=(0,o.default)((0,i.jsx)("path",{d:"M3 17.25V21h3.75L17.81 9.94l-3.75-3.75zM20.71 7.04c.39-.39.39-1.02 0-1.41l-2.34-2.34a.9959.9959 0 0 0-1.41 0l-1.83 1.83 3.75 3.75z"}),"Edit")},39535:function(e,t,n){"use strict";var r=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(42032)),i=n(74848);t.default=(0,o.default)((0,i.jsx)("path",{d:"m14.06 9.02.92.92L5.92 19H5v-.92zM17.66 3c-.25 0-.51.1-.7.29l-1.83 1.83 3.75 3.75 1.83-1.83c.39-.39.39-1.02 0-1.41l-2.34-2.34c-.2-.2-.45-.29-.71-.29m-3.6 3.19L3 17.25V21h3.75L17.81 9.94z"}),"EditOutlined")},15757:function(e,t,n){"use strict";var r=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(42032)),i=n(74848);t.default=(0,o.default)((0,i.jsx)("path",{d:"M10 20h4V4h-4zm-6 0h4v-8H4zM16 9v11h4V9z"}),"Equalizer")},21447:function(e,t,n){"use strict";var r=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(42032)),i=n(74848);t.default=(0,o.default)((0,i.jsx)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m1 15h-2v-2h2zm0-4h-2V7h2z"}),"Error")},83465:function(e,t,n){"use strict";var r=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(42032)),i=n(74848);t.default=(0,o.default)((0,i.jsx)("path",{d:"M10.09 15.59 11.5 17l5-5-5-5-1.41 1.41L12.67 11H3v2h9.67zM19 3H5c-1.11 0-2 .9-2 2v4h2V5h14v14H5v-4H3v4c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2"}),"ExitToApp")},72048:function(e,t,n){"use strict";var r=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(42032)),i=n(74848);t.default=(0,o.default)((0,i.jsx)("path",{d:"M16.59 8.59 12 13.17 7.41 8.59 6 10l6 6 6-6z"}),"ExpandMore")},75820:function(e,t,n){"use strict";var r=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(42032)),i=n(74848);t.default=(0,o.default)((0,i.jsx)("path",{d:"M9 11.75c-.69 0-1.25.56-1.25 1.25s.56 1.25 1.25 1.25 1.25-.56 1.25-1.25-.56-1.25-1.25-1.25m6 0c-.69 0-1.25.56-1.25 1.25s.56 1.25 1.25 1.25 1.25-.56 1.25-1.25-.56-1.25-1.25-1.25M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m0 18c-4.41 0-8-3.59-8-8 0-.29.02-.58.05-.86 2.36-1.05 4.23-2.98 5.21-5.37C11.07 8.33 14.05 10 17.42 10c.78 0 1.53-.09 2.25-.26.21.71.33 1.47.33 2.26 0 4.41-3.59 8-8 8"}),"Face")},16869:function(e,t,n){"use strict";var r=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(42032)),i=n(74848);t.default=(0,o.default)((0,i.jsx)("path",{d:"m12 21.35-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54z"}),"Favorite")},47599:function(e,t,n){"use strict";var r=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(42032)),i=n(74848);t.default=(0,o.default)((0,i.jsx)("path",{d:"M16.5 3c-1.74 0-3.41.81-4.5 2.09C10.91 3.81 9.24 3 7.5 3 4.42 3 2 5.42 2 8.5c0 3.78 3.4 6.86 8.55 11.54L12 21.35l1.45-1.32C18.6 15.36 22 12.28 22 8.5 22 5.42 19.58 3 16.5 3m-4.4 15.55-.1.1-.1-.1C7.14 14.24 4 11.39 4 8.5 4 6.5 5.5 5 7.5 5c1.54 0 3.04.99 3.57 2.36h1.87C13.46 5.99 14.96 5 16.5 5c2 0 3.5 1.5 3.5 3.5 0 2.89-3.14 5.74-7.9 10.05"}),"FavoriteBorder")},60766:function(e,t,n){"use strict";var r=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(42032)),i=n(74848);t.default=(0,o.default)((0,i.jsx)("path",{d:"M16 1H4c-1.1 0-2 .9-2 2v14h2V3h12zm-1 4 6 6v10c0 1.1-.9 2-2 2H7.99C6.89 23 6 22.1 6 21l.01-14c0-1.1.89-2 1.99-2zm-1 7h5.5L14 6.5z"}),"FileCopy")},2183:function(e,t,n){"use strict";var r=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(42032)),i=n(74848);t.default=(0,o.default)((0,i.jsx)("path",{d:"M10 18h4v-2h-4zM3 6v2h18V6zm3 7h12v-2H6z"}),"FilterList")},5e3:function(e,t,n){"use strict";var r=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(42032)),i=n(74848);t.default=(0,o.default)((0,i.jsx)("path",{d:"M7 15v2h10v-2zm-4 6h18v-2H3zm0-8h18v-2H3zm4-6v2h10V7zM3 3v2h18V3z"}),"FormatAlignCenter")},89552:function(e,t,n){"use strict";var r=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(42032)),i=n(74848);t.default=(0,o.default)((0,i.jsx)("path",{d:"M15 15H3v2h12zm0-8H3v2h12zM3 13h18v-2H3zm0 8h18v-2H3zM3 3v2h18V3z"}),"FormatAlignLeft")},65939:function(e,t,n){"use strict";var r=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(42032)),i=n(74848);t.default=(0,o.default)((0,i.jsx)("path",{d:"M3 21h18v-2H3zm6-4h12v-2H9zm-6-4h18v-2H3zm6-4h12V7H9zM3 3v2h18V3z"}),"FormatAlignRight")},86665:function(e,t,n){"use strict";var r=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(42032)),i=n(74848);t.default=(0,o.default)((0,i.jsx)("path",{d:"M15.6 10.79c.97-.67 1.65-1.77 1.65-2.79 0-2.26-1.75-4-4-4H7v14h7.04c2.09 0 3.71-1.7 3.71-3.79 0-1.52-.86-2.82-2.15-3.42M10 6.5h3c.83 0 1.5.67 1.5 1.5s-.67 1.5-1.5 1.5h-3zm3.5 9H10v-3h3.5c.83 0 1.5.67 1.5 1.5s-.67 1.5-1.5 1.5"}),"FormatBold")},57501:function(e,t,n){"use strict";var r=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(42032)),i=n(74848);t.default=(0,o.default)((0,i.jsx)("path",{d:"M3.27 5 2 6.27l6.97 6.97L6.5 19h3l1.57-3.66L16.73 21 18 19.73 3.55 5.27zM6 5v.18L8.82 8h2.4l-.72 1.68 2.1 2.1L14.21 8H20V5z"}),"FormatClear")},71812:function(e,t,n){"use strict";var r=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(42032)),i=n(74848);t.default=(0,o.default)((0,i.jsx)("path",{d:"M2 20h20v4H2zm3.49-3h2.42l1.27-3.58h5.65L16.09 17h2.42L13.25 3h-2.5zm4.42-5.61 2.03-5.79h.12l2.03 5.79z"}),"FormatColorText")},81998:function(e,t,n){"use strict";var r=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(42032)),i=n(74848);t.default=(0,o.default)((0,i.jsx)("path",{d:"M10 4v3h2.21l-3.42 8H6v3h8v-3h-2.21l3.42-8H18V4z"}),"FormatItalic")},60195:function(e,t,n){"use strict";var r=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(42032)),i=n(74848);t.default=(0,o.default)((0,i.jsx)("path",{d:"M4 10.5c-.83 0-1.5.67-1.5 1.5s.67 1.5 1.5 1.5 1.5-.67 1.5-1.5-.67-1.5-1.5-1.5m0-6c-.83 0-1.5.67-1.5 1.5S3.17 7.5 4 7.5 5.5 6.83 5.5 6 4.83 4.5 4 4.5m0 12c-.83 0-1.5.68-1.5 1.5s.68 1.5 1.5 1.5 1.5-.68 1.5-1.5-.67-1.5-1.5-1.5M7 19h14v-2H7zm0-6h14v-2H7zm0-8v2h14V5z"}),"FormatListBulleted")},41502:function(e,t,n){"use strict";var r=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(42032)),i=n(74848);t.default=(0,o.default)((0,i.jsx)("path",{d:"M2 17h2v.5H3v1h1v.5H2v1h3v-4H2zm1-9h1V4H2v1h1zm-1 3h1.8L2 13.1v.9h3v-1H3.2L5 10.9V10H2zm5-6v2h14V5zm0 14h14v-2H7zm0-6h14v-2H7z"}),"FormatListNumbered")},97128:function(e,t,n){"use strict";var r=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(42032)),i=n(74848);t.default=(0,o.default)((0,i.jsx)("path",{d:"M9 4v3h5v12h3V7h5V4zm-6 8h3v7h3v-7h3V9H3z"}),"FormatSize")},92931:function(e,t,n){"use strict";var r=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(42032)),i=n(74848);t.default=(0,o.default)((0,i.jsx)("path",{d:"M10 19h4v-3h-4zM5 4v3h5v3h4V7h5V4zM3 14h18v-2H3z"}),"FormatStrikethrough")},43882:function(e,t,n){"use strict";var r=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(42032)),i=n(74848);t.default=(0,o.default)((0,i.jsx)("path",{d:"M12 17c3.31 0 6-2.69 6-6V3h-2.5v8c0 1.93-1.57 3.5-3.5 3.5S8.5 12.93 8.5 11V3H6v8c0 3.31 2.69 6 6 6m-7 2v2h14v-2z"}),"FormatUnderlined")},59858:function(e,t,n){"use strict";var r=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(42032)),i=n(74848);t.default=(0,o.default)((0,i.jsx)("path",{d:"M16 11c1.66 0 2.99-1.34 2.99-3S17.66 5 16 5c-1.66 0-3 1.34-3 3s1.34 3 3 3m-8 0c1.66 0 2.99-1.34 2.99-3S9.66 5 8 5C6.34 5 5 6.34 5 8s1.34 3 3 3m0 2c-2.33 0-7 1.17-7 3.5V19h14v-2.5c0-2.33-4.67-3.5-7-3.5m8 0c-.29 0-.62.02-.97.05 1.16.84 1.97 1.97 1.97 3.45V19h6v-2.5c0-2.33-4.67-3.5-7-3.5"}),"Group")},77649:function(e,t,n){"use strict";var r=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(42032)),i=n(74848);t.default=(0,o.default)((0,i.jsx)("path",{d:"M12 12.75c1.63 0 3.07.39 4.24.9 1.08.48 1.76 1.56 1.76 2.73V18H6v-1.61c0-1.18.68-2.26 1.76-2.73 1.17-.52 2.61-.91 4.24-.91M4 13c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2m1.13 1.1c-.37-.06-.74-.1-1.13-.1-.99 0-1.93.21-2.78.58C.48 14.9 0 15.62 0 16.43V18h4.5v-1.61c0-.83.23-1.61.63-2.29M20 13c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2m4 3.43c0-.81-.48-1.53-1.22-1.85-.85-.37-1.79-.58-2.78-.58-.39 0-.76.04-1.13.1.4.68.63 1.46.63 2.29V18H24zM12 6c1.66 0 3 1.34 3 3s-1.34 3-3 3-3-1.34-3-3 1.34-3 3-3"}),"Groups")},27738:function(e,t,n){"use strict";var r=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(42032)),i=n(74848);t.default=(0,o.default)((0,i.jsx)("path",{d:"M11 18h2v-2h-2zm1-16C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8m0-14c-2.21 0-4 1.79-4 4h2c0-1.1.9-2 2-2s2 .9 2 2c0 2-3 1.75-3 5h2c0-2.25 3-2.5 3-5 0-2.21-1.79-4-4-4"}),"HelpOutline")},30337:function(e,t,n){"use strict";var r=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(42032)),i=n(74848);t.default=(0,o.default)((0,i.jsx)("path",{d:"M13 3c-4.97 0-9 4.03-9 9H1l3.89 3.89.07.14L9 12H6c0-3.87 3.13-7 7-7s7 3.13 7 7-3.13 7-7 7c-1.93 0-3.68-.79-4.94-2.06l-1.42 1.42C8.27 19.99 10.51 21 13 21c4.97 0 9-4.03 9-9s-4.03-9-9-9m-1 5v5l4.28 2.54.72-1.21-3.5-2.08V8z"}),"History")},55072:function(e,t,n){"use strict";var r=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(42032)),i=n(74848);t.default=(0,o.default)((0,i.jsx)("path",{d:"M21 19V5c0-1.1-.9-2-2-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2M8.5 13.5l2.5 3.01L14.5 12l4.5 6H5z"}),"Image")},47170:function(e,t,n){"use strict";var r=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(42032)),i=n(74848);t.default=(0,o.default)((0,i.jsx)("path",{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2M9 17H7v-7h2zm4 0h-2V7h2zm4 0h-2v-4h2z"}),"InsertChart")},46e3:function(e,t,n){"use strict";var r=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(42032)),i=n(74848);t.default=(0,o.default)((0,i.jsx)("path",{d:"M6 2c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8l-6-6zm7 7V3.5L18.5 9z"}),"InsertDriveFile")},84440:function(e,t,n){"use strict";var r=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(42032)),i=n(74848);t.default=(0,o.default)((0,i.jsx)("path",{d:"M3.9 12c0-1.71 1.39-3.1 3.1-3.1h4V7H7c-2.76 0-5 2.24-5 5s2.24 5 5 5h4v-1.9H7c-1.71 0-3.1-1.39-3.1-3.1M8 13h8v-2H8zm9-6h-4v1.9h4c1.71 0 3.1 1.39 3.1 3.1s-1.39 3.1-3.1 3.1h-4V17h4c2.76 0 5-2.24 5-5s-2.24-5-5-5"}),"InsertLink")},32390:function(e,t,n){"use strict";var r=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(42032)),i=n(74848);t.default=(0,o.default)((0,i.jsx)("path",{d:"M4 6H2v14c0 1.1.9 2 2 2h14v-2H4zm16-4H8c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2m-1 9H9V9h10zm-4 4H9v-2h6zm4-8H9V5h10z"}),"LibraryBooks")},69624:function(e,t,n){"use strict";var r=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(42032)),i=n(74848);t.default=(0,o.default)((0,i.jsx)("path",{d:"M4 6H2v14c0 1.1.9 2 2 2h14v-2H4zm16-4H8c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2m0 14H8V4h12zM10 9h8v2h-8zm0 3h4v2h-4zm0-6h8v2h-8z"}),"LibraryBooksOutlined")},3289:function(e,t,n){"use strict";var r=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(42032)),i=n(74848);t.default=(0,o.default)((0,i.jsx)("path",{d:"M3.9 12c0-1.71 1.39-3.1 3.1-3.1h4V7H7c-2.76 0-5 2.24-5 5s2.24 5 5 5h4v-1.9H7c-1.71 0-3.1-1.39-3.1-3.1M8 13h8v-2H8zm9-6h-4v1.9h4c1.71 0 3.1 1.39 3.1 3.1s-1.39 3.1-3.1 3.1h-4V17h4c2.76 0 5-2.24 5-5s-2.24-5-5-5"}),"Link")},60261:function(e,t,n){"use strict";var r=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(42032)),i=n(74848);t.default=(0,o.default)((0,i.jsx)("path",{d:"M3 13h2v-2H3zm0 4h2v-2H3zm0-8h2V7H3zm4 4h14v-2H7zm0 4h14v-2H7zM7 7v2h14V7z"}),"List")},1062:function(e,t,n){"use strict";var r=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(42032)),i=n(74848);t.default=(0,o.default)((0,i.jsx)("path",{d:"M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2m0 4-8 5-8-5V6l8 5 8-5z"}),"Mail")},63126:function(e,t,n){"use strict";var r=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(42032)),i=n(74848);t.default=(0,o.default)((0,i.jsx)("path",{d:"M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2m0 14H4V8l8 5 8-5zm-8-7L4 6h16z"}),"MailOutline")},1795:function(e,t,n){"use strict";var r=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(42032)),i=n(74848);t.default=(0,o.default)((0,i.jsx)("path",{d:"M12 8c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2m0 2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2m0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2"}),"MoreVert")},7697:function(e,t,n){"use strict";var r=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(42032)),i=n(74848);t.default=(0,o.default)((0,i.jsx)("path",{d:"M15.41 7.41 14 6l-6 6 6 6 1.41-1.41L10.83 12z"}),"NavigateBefore")},58727:function(e,t,n){"use strict";var r=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(42032)),i=n(74848);t.default=(0,o.default)((0,i.jsx)("path",{d:"M10 6 8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"}),"NavigateNext")},91616:function(e,t,n){"use strict";var r=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(42032)),i=n(74848);t.default=(0,o.default)((0,i.jsx)("path",{d:"M3 18h12v-2H3zM3 6v2h18V6zm0 7h18v-2H3z"}),"Notes")},84767:function(e,t,n){"use strict";var r=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(42032)),i=n(74848);t.default=(0,o.default)((0,i.jsx)("path",{d:"M12 22c1.1 0 2-.9 2-2h-4c0 1.1.9 2 2 2m6-6v-5c0-3.07-1.63-5.64-4.5-6.32V4c0-.83-.67-1.5-1.5-1.5s-1.5.67-1.5 1.5v.68C7.64 5.36 6 7.92 6 11v5l-2 2v1h16v-1zm-2 1H8v-6c0-2.48 1.51-4.5 4-4.5s4 2.02 4 4.5z"}),"NotificationsNone")},46954:function(e,t,n){"use strict";var r=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(42032)),i=n(74848);t.default=(0,o.default)((0,i.jsx)("path",{d:"M12 2C6.49 2 2 6.49 2 12s4.49 10 10 10c1.38 0 2.5-1.12 2.5-2.5 0-.61-.23-1.2-.64-1.67-.08-.1-.13-.21-.13-.33 0-.28.22-.5.5-.5H16c3.31 0 6-2.69 6-6 0-4.96-4.49-9-10-9m5.5 11c-.83 0-1.5-.67-1.5-1.5s.67-1.5 1.5-1.5 1.5.67 1.5 1.5-.67 1.5-1.5 1.5m-3-4c-.83 0-1.5-.67-1.5-1.5S13.67 6 14.5 6s1.5.67 1.5 1.5S15.33 9 14.5 9M5 11.5c0-.83.67-1.5 1.5-1.5s1.5.67 1.5 1.5S7.33 13 6.5 13 5 12.33 5 11.5m6-4c0 .83-.67 1.5-1.5 1.5S8 8.33 8 7.5 8.67 6 9.5 6s1.5.67 1.5 1.5"}),"Palette")},96327:function(e,t,n){"use strict";var r=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(42032)),i=n(74848);t.default=(0,o.default)((0,i.jsx)("path",{d:"M6 19h4V5H6zm8-14v14h4V5z"}),"Pause")},2710:function(e,t,n){"use strict";var r=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(42032)),i=n(74848);t.default=(0,o.default)((0,i.jsx)("path",{d:"M16 11c1.66 0 2.99-1.34 2.99-3S17.66 5 16 5c-1.66 0-3 1.34-3 3s1.34 3 3 3m-8 0c1.66 0 2.99-1.34 2.99-3S9.66 5 8 5C6.34 5 5 6.34 5 8s1.34 3 3 3m0 2c-2.33 0-7 1.17-7 3.5V19h14v-2.5c0-2.33-4.67-3.5-7-3.5m8 0c-.29 0-.62.02-.97.05 1.16.84 1.97 1.97 1.97 3.45V19h6v-2.5c0-2.33-4.67-3.5-7-3.5"}),"People")},71432:function(e,t,n){"use strict";var r=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(42032)),i=n(74848);t.default=(0,o.default)((0,i.jsx)("path",{d:"M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4m0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4"}),"Person")},69982:function(e,t,n){"use strict";var r=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(42032)),i=n(74848);t.default=(0,o.default)((0,i.jsx)("path",{d:"M16 1H8C6.34 1 5 2.34 5 4v16c0 1.66 1.34 3 3 3h8c1.66 0 3-1.34 3-3V4c0-1.66-1.34-3-3-3m-2 20h-4v-1h4zm3.25-3H6.75V4h10.5z"}),"PhoneAndroid")},8586:function(e,t,n){"use strict";var r=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(42032)),i=n(74848);t.default=(0,o.default)((0,i.jsx)("path",{d:"M8 5v14l11-7z"}),"PlayArrow")},45234:function(e,t,n){"use strict";var r=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(42032)),i=n(74848);t.default=(0,o.default)((0,i.jsx)("path",{d:"M19 8H5c-1.66 0-3 1.34-3 3v6h4v4h12v-4h4v-6c0-1.66-1.34-3-3-3m-3 11H8v-5h8zm3-7c-.55 0-1-.45-1-1s.45-1 1-1 1 .45 1 1-.45 1-1 1m-1-9H6v4h12z"}),"Print")},9561:function(e,t,n){"use strict";var r=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(42032)),i=n(74848);t.default=(0,o.default)((0,i.jsx)("path",{d:"M18.4 10.6C16.55 8.99 14.15 8 11.5 8c-4.65 0-8.58 3.03-9.96 7.22L3.9 16c1.05-3.19 4.05-5.5 7.6-5.5 1.95 0 3.73.72 5.12 1.88L13 16h9V7z"}),"Redo")},10507:function(e,t,n){"use strict";var r=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(42032)),i=n(74848);t.default=(0,o.default)((0,i.jsx)("path",{d:"M7 11v2h10v-2zm5-9C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8"}),"RemoveCircleOutline")},82138:function(e,t,n){"use strict";var r=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(42032)),i=n(74848);t.default=(0,o.default)((0,i.jsx)("path",{d:"M7 7h10v3l4-4-4-4v3H5v6h2zm10 10H7v-3l-4 4 4 4v-3h12v-6h-2z"}),"Repeat")},64745:function(e,t,n){"use strict";var r=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(42032)),i=n(74848);t.default=(0,o.default)((0,i.jsx)("path",{d:"M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14"}),"Search")},40443:function(e,t,n){"use strict";var r=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(42032)),i=n(74848);t.default=(0,o.default)((0,i.jsx)("path",{d:"M2.01 21 23 12 2.01 3 2 10l15 2-15 2z"}),"Send")},33599:function(e,t,n){"use strict";var r=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(42032)),i=n(74848);t.default=(0,o.default)([(0,i.jsx)("circle",{cx:"15.5",cy:"9.5",r:"1.5"},"0"),(0,i.jsx)("circle",{cx:"8.5",cy:"9.5",r:"1.5"},"1"),(0,i.jsx)("circle",{cx:"15.5",cy:"9.5",r:"1.5"},"2"),(0,i.jsx)("circle",{cx:"8.5",cy:"9.5",r:"1.5"},"3"),(0,i.jsx)("path",{d:"M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2M12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8m0-2.5c2.33 0 4.32-1.45 5.12-3.5h-1.67c-.69 1.19-1.97 2-3.45 2s-2.75-.81-3.45-2H6.88c.8 2.05 2.79 3.5 5.12 3.5"},"4")],"SentimentSatisfiedAlt")},78901:function(e,t,n){"use strict";var r=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(42032)),i=n(74848);t.default=(0,o.default)([(0,i.jsx)("path",{d:"M12 4c-4.42 0-8 3.58-8 8s3.58 8 8 8 8-3.58 8-8-3.58-8-8-8m3.5 4c.83 0 1.5.67 1.5 1.5s-.67 1.5-1.5 1.5-1.5-.67-1.5-1.5.67-1.5 1.5-1.5m-7 0c.83 0 1.5.67 1.5 1.5S9.33 11 8.5 11 7 10.33 7 9.5 7.67 8 8.5 8m3.5 9.5c-2.33 0-4.32-1.45-5.12-3.5h1.67c.7 1.19 1.97 2 3.45 2s2.76-.81 3.45-2h1.67c-.8 2.05-2.79 3.5-5.12 3.5",opacity:".3"},"0"),(0,i.jsx)("circle",{cx:"15.5",cy:"9.5",r:"1.5"},"1"),(0,i.jsx)("circle",{cx:"8.5",cy:"9.5",r:"1.5"},"2"),(0,i.jsx)("path",{d:"M12 16c-1.48 0-2.75-.81-3.45-2H6.88c.8 2.05 2.79 3.5 5.12 3.5s4.32-1.45 5.12-3.5h-1.67c-.69 1.19-1.97 2-3.45 2m-.01-14C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2M12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8"},"3")],"SentimentSatisfiedAltTwoTone")},25884:function(e,t,n){"use strict";var r=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(42032)),i=n(74848);t.default=(0,o.default)([(0,i.jsx)("circle",{cx:"15.5",cy:"9.5",r:"1.5"},"0"),(0,i.jsx)("circle",{cx:"8.5",cy:"9.5",r:"1.5"},"1"),(0,i.jsx)("path",{d:"M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2M12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8m0-6c-2.33 0-4.32 1.45-5.12 3.5h1.67c.69-1.19 1.97-2 3.45-2s2.75.81 3.45 2h1.67c-.8-2.05-2.79-3.5-5.12-3.5"},"2")],"SentimentVeryDissatisfied")},20448:function(e,t,n){"use strict";var r=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(42032)),i=n(74848);t.default=(0,o.default)((0,i.jsx)("path",{d:"M19.14 12.94c.04-.3.06-.61.06-.94 0-.32-.02-.64-.07-.94l2.03-1.58c.18-.14.23-.41.12-.61l-1.92-3.32c-.12-.22-.37-.29-.59-.22l-2.39.96c-.5-.38-1.03-.7-1.62-.94l-.36-2.54c-.04-.24-.24-.41-.48-.41h-3.84c-.24 0-.43.17-.47.41l-.36 2.54c-.59.24-1.13.57-1.62.94l-2.39-.96c-.22-.08-.47 0-.59.22L2.74 8.87c-.12.21-.08.47.12.61l2.03 1.58c-.05.3-.09.63-.09.94s.02.64.07.94l-2.03 1.58c-.18.14-.23.41-.12.61l1.92 3.32c.12.22.37.29.59.22l2.39-.96c.5.38 1.03.7 1.62.94l.36 2.54c.05.24.24.41.48.41h3.84c.24 0 .44-.17.47-.41l.36-2.54c.59-.24 1.13-.56 1.62-.94l2.39.96c.22.08.47 0 .59-.22l1.92-3.32c.12-.22.07-.47-.12-.61zM12 15.6c-1.98 0-3.6-1.62-3.6-3.6s1.62-3.6 3.6-3.6 3.6 1.62 3.6 3.6-1.62 3.6-3.6 3.6"}),"Settings")},29422:function(e,t,n){"use strict";var r=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(42032)),i=n(74848);t.default=(0,o.default)((0,i.jsx)("path",{d:"M18 16.08c-.76 0-1.44.3-1.96.77L8.91 12.7c.05-.23.09-.46.09-.7s-.04-.47-.09-.7l7.05-4.11c.54.5 1.25.81 2.04.81 1.66 0 3-1.34 3-3s-1.34-3-3-3-3 1.34-3 3c0 .24.04.47.09.7L8.04 9.81C7.5 9.31 6.79 9 6 9c-1.66 0-3 1.34-3 3s1.34 3 3 3c.79 0 1.5-.31 2.04-.81l7.12 4.16c-.05.21-.08.43-.08.65 0 1.61 1.31 2.92 2.92 2.92 1.61 0 2.92-1.31 2.92-2.92s-1.31-2.92-2.92-2.92"}),"Share")},68311:function(e,t,n){"use strict";var r=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(42032)),i=n(74848);t.default=(0,o.default)((0,i.jsx)("path",{d:"M7 18c-1.1 0-1.99.9-1.99 2S5.9 22 7 22s2-.9 2-2-.9-2-2-2M1 2v2h2l3.6 7.59-1.35 2.45c-.16.28-.25.61-.25.96 0 1.1.9 2 2 2h12v-2H7.42c-.14 0-.25-.11-.25-.25l.03-.12.9-1.63h7.45c.75 0 1.41-.41 1.75-1.03l3.58-6.49c.08-.14.12-.31.12-.48 0-.55-.45-1-1-1H5.21l-.94-2zm16 16c-1.1 0-1.99.9-1.99 2s.89 2 1.99 2 2-.9 2-2-.9-2-2-2"}),"ShoppingCart")},42961:function(e,t,n){"use strict";var r=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(42032)),i=n(74848);t.default=(0,o.default)((0,i.jsx)("path",{d:"M15.55 13c.75 0 1.41-.41 1.75-1.03l3.58-6.49c.37-.66-.11-1.48-.87-1.48H5.21l-.94-2H1v2h2l3.6 7.59-1.35 2.44C4.52 15.37 5.48 17 7 17h12v-2H7l1.1-2zM6.16 6h12.15l-2.76 5H8.53zM7 18c-1.1 0-1.99.9-1.99 2S5.9 22 7 22s2-.9 2-2-.9-2-2-2m10 0c-1.1 0-1.99.9-1.99 2s.89 2 1.99 2 2-.9 2-2-.9-2-2-2"}),"ShoppingCartOutlined")},9257:function(e,t,n){"use strict";var r=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(42032)),i=n(74848);t.default=(0,o.default)((0,i.jsx)("path",{d:"M12 17.27 18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z"}),"Star")},45979:function(e,t,n){"use strict";var r=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(42032)),i=n(74848);t.default=(0,o.default)((0,i.jsx)("path",{d:"m22 9.24-7.19-.62L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21 12 17.27 18.18 21l-1.63-7.03zM12 15.4l-3.76 2.27 1-4.28-3.32-2.88 4.38-.38L12 6.1l1.71 4.04 4.38.38-3.32 2.88 1 4.28z"}),"StarBorder")},37961:function(e,t,n){"use strict";var r=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(42032)),i=n(74848);t.default=(0,o.default)((0,i.jsx)("path",{d:"M10 10.02h5V21h-5zM17 21h3c1.1 0 2-.9 2-2v-9h-5zm3-18H5c-1.1 0-2 .9-2 2v3h19V5c0-1.1-.9-2-2-2M3 19c0 1.1.9 2 2 2h3V10H3z"}),"TableChart")},91163:function(e,t,n){"use strict";var r=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(42032)),i=n(74848);t.default=(0,o.default)((0,i.jsx)("path",{d:"M2.5 4v3h5v12h3V7h5V4zm19 5h-9v3h3v7h3v-7h3z"}),"TextFields")},86905:function(e,t,n){"use strict";var r=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(42032)),i=n(74848);t.default=(0,o.default)((0,i.jsx)("path",{d:"M15 3H6c-.83 0-1.54.5-1.84 1.22l-3.02 7.05c-.09.23-.14.47-.14.73v2c0 1.1.9 2 2 2h6.31l-.95 4.57-.03.32c0 .41.17.79.44 1.06L9.83 23l6.59-6.59c.36-.36.58-.86.58-1.41V5c0-1.1-.9-2-2-2m4 0v12h4V3z"}),"ThumbDown")},14552:function(e,t,n){"use strict";var r=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(42032)),i=n(74848);t.default=(0,o.default)((0,i.jsx)("path",{d:"M1 21h4V9H1zm22-11c0-1.1-.9-2-2-2h-6.31l.95-4.57.03-.32c0-.41-.17-.79-.44-1.06L14.17 1 7.59 7.59C7.22 7.95 7 8.45 7 9v10c0 1.1.9 2 2 2h9c.83 0 1.54-.5 1.84-1.22l3.02-7.05c.09-.23.14-.47.14-.73z"}),"ThumbUp")},35674:function(e,t,n){"use strict";var r=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(42032)),i=n(74848);t.default=(0,o.default)((0,i.jsx)("path",{d:"M9 21h9c.83 0 1.54-.5 1.84-1.22l3.02-7.05c.09-.23.14-.47.14-.73v-2c0-1.1-.9-2-2-2h-6.31l.95-4.57.03-.32c0-.41-.17-.79-.44-1.06L14.17 1 7.58 7.59C7.22 7.95 7 8.45 7 9v10c0 1.1.9 2 2 2M9 9l4.34-4.34L12 10h9v2l-3 7H9zM1 9h4v12H1z"}),"ThumbUpOutlined")},74747:function(e,t,n){"use strict";var r=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(42032)),i=n(74848);t.default=(0,o.default)((0,i.jsx)("path",{d:"M12.5 8c-2.65 0-5.05.99-6.9 2.6L2 7v9h9l-3.62-3.62c1.39-1.16 3.16-1.88 5.12-1.88 3.54 0 6.55 2.31 7.6 5.5l2.37-.78C21.08 11.03 17.15 8 12.5 8"}),"Undo")},26078:function(e,t,n){"use strict";var r=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(42032)),i=n(74848);t.default=(0,o.default)((0,i.jsx)("path",{d:"M14 2H6c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8zm4 18H6V4h7v5h5zM8 15.01l1.41 1.41L11 14.84V19h2v-4.16l1.59 1.59L16 15.01 12.01 11z"}),"UploadFile")},5673:function(e,t,n){"use strict";var r=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(42032)),i=n(74848);t.default=(0,o.default)((0,i.jsx)("path",{d:"M12 4.5C7 4.5 2.73 7.61 1 12c1.73 4.39 6 7.5 11 7.5s9.27-3.11 11-7.5c-1.73-4.39-6-7.5-11-7.5M12 17c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5m0-8c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3"}),"Visibility")},76768:function(e,t,n){"use strict";var r=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(42032)),i=n(74848);t.default=(0,o.default)((0,i.jsx)("path",{d:"M12 7c2.76 0 5 2.24 5 5 0 .65-.13 1.26-.36 1.83l2.92 2.92c1.51-1.26 2.7-2.89 3.43-4.75-1.73-4.39-6-7.5-11-7.5-1.4 0-2.74.25-3.98.7l2.16 2.16C10.74 7.13 11.35 7 12 7M2 4.27l2.28 2.28.46.46C3.08 8.3 1.78 10.02 1 12c1.73 4.39 6 7.5 11 7.5 1.55 0 3.03-.3 4.38-.84l.42.42L19.73 22 21 20.73 3.27 3zM7.53 9.8l1.55 1.55c-.05.21-.08.43-.08.65 0 1.66 1.34 3 3 3 .22 0 .44-.03.65-.08l1.55 1.55c-.67.33-1.41.53-2.2.53-2.76 0-5-2.24-5-5 0-.79.2-1.53.53-2.2m4.31-.78 3.15 3.15.02-.16c0-1.66-1.34-3-3-3z"}),"VisibilityOff")},6325:function(e,t,n){"use strict";var r=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(42032)),i=n(74848);t.default=(0,o.default)((0,i.jsx)("path",{d:"M1 21h22L12 2zm12-3h-2v-2h2zm0-4h-2v-4h2z"}),"Warning")},42032:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r.createSvgIcon}});var r=n(58928)},44473:function(e,t,n){"use strict";var r,o,i=n(98587),a=n(58168),s=n(96540),l=n(34164),c=n(75659),u=n(771),d=n(43247),p=n(6545),f=n(68463),h=n(34339),m=n(19455),g=n(69554),v=n(25571),y=n(51175),b=n(71023),x=n(6959),w=n(49350),A=n(602),_=n(11848),S=n(25669),k=n(1033),C=n(28466),T=n(96852),M=n(74848);const P=["autoComplete","autoHighlight","autoSelect","blurOnSelect","ChipProps","className","clearIcon","clearOnBlur","clearOnEscape","clearText","closeText","componentsProps","defaultValue","disableClearable","disableCloseOnSelect","disabled","disabledItemsFocusable","disableListWrap","disablePortal","filterOptions","filterSelectedOptions","forcePopupIcon","freeSolo","fullWidth","getLimitTagsText","getOptionDisabled","getOptionKey","getOptionLabel","isOptionEqualToValue","groupBy","handleHomeEndKeys","id","includeInputInList","inputValue","limitTags","ListboxComponent","ListboxProps","loading","loadingText","multiple","noOptionsText","onChange","onClose","onHighlightChange","onInputChange","onOpen","open","openOnFocus","openText","options","PaperComponent","PopperComponent","popupIcon","readOnly","renderGroup","renderInput","renderOption","renderTags","selectOnFocus","size","slotProps","value"],O=["ref"],E=["key"],D=["key"],R=(0,_.Ay)("div",{name:"MuiAutocomplete",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e,{fullWidth:r,hasClearIcon:o,hasPopupIcon:i,inputFocused:a,size:s}=n;return[{[`& .${k.A.tag}`]:t.tag},{[`& .${k.A.tag}`]:t[`tagSize${(0,C.A)(s)}`]},{[`& .${k.A.inputRoot}`]:t.inputRoot},{[`& .${k.A.input}`]:t.input},{[`& .${k.A.input}`]:a&&t.inputFocused},t.root,r&&t.fullWidth,i&&t.hasPopupIcon,o&&t.hasClearIcon]}})({[`&.${k.A.focused} .${k.A.clearIndicator}`]:{visibility:"visible"},"@media (pointer: fine)":{[`&:hover .${k.A.clearIndicator}`]:{visibility:"visible"}},[`& .${k.A.tag}`]:{margin:3,maxWidth:"calc(100% - 6px)"},[`& .${k.A.inputRoot}`]:{[`.${k.A.hasPopupIcon}&, .${k.A.hasClearIcon}&`]:{paddingRight:30},[`.${k.A.hasPopupIcon}.${k.A.hasClearIcon}&`]:{paddingRight:56},[`& .${k.A.input}`]:{width:0,minWidth:30}},[`& .${v.A.root}`]:{paddingBottom:1,"& .MuiInput-input":{padding:"4px 4px 4px 0px"}},[`& .${v.A.root}.${y.A.sizeSmall}`]:{[`& .${v.A.input}`]:{padding:"2px 4px 3px 0"}},[`& .${b.A.root}`]:{padding:9,[`.${k.A.hasPopupIcon}&, .${k.A.hasClearIcon}&`]:{paddingRight:39},[`.${k.A.hasPopupIcon}.${k.A.hasClearIcon}&`]:{paddingRight:65},[`& .${k.A.input}`]:{padding:"7.5px 4px 7.5px 5px"},[`& .${k.A.endAdornment}`]:{right:9}},[`& .${b.A.root}.${y.A.sizeSmall}`]:{paddingTop:6,paddingBottom:6,paddingLeft:6,[`& .${k.A.input}`]:{padding:"2.5px 4px 2.5px 8px"}},[`& .${x.A.root}`]:{paddingTop:19,paddingLeft:8,[`.${k.A.hasPopupIcon}&, .${k.A.hasClearIcon}&`]:{paddingRight:39},[`.${k.A.hasPopupIcon}.${k.A.hasClearIcon}&`]:{paddingRight:65},[`& .${x.A.input}`]:{padding:"7px 4px"},[`& .${k.A.endAdornment}`]:{right:9}},[`& .${x.A.root}.${y.A.sizeSmall}`]:{paddingBottom:1,[`& .${x.A.input}`]:{padding:"2.5px 4px"}},[`& .${y.A.hiddenLabel}`]:{paddingTop:8},[`& .${x.A.root}.${y.A.hiddenLabel}`]:{paddingTop:0,paddingBottom:0,[`& .${k.A.input}`]:{paddingTop:16,paddingBottom:17}},[`& .${x.A.root}.${y.A.hiddenLabel}.${y.A.sizeSmall}`]:{[`& .${k.A.input}`]:{paddingTop:8,paddingBottom:9}},[`& .${k.A.input}`]:{flexGrow:1,textOverflow:"ellipsis",opacity:0},variants:[{props:{fullWidth:!0},style:{width:"100%"}},{props:{size:"small"},style:{[`& .${k.A.tag}`]:{margin:2,maxWidth:"calc(100% - 4px)"}}},{props:{inputFocused:!0},style:{[`& .${k.A.input}`]:{opacity:1}}},{props:{multiple:!0},style:{[`& .${k.A.inputRoot}`]:{flexWrap:"wrap"}}}]}),I=(0,_.Ay)("div",{name:"MuiAutocomplete",slot:"EndAdornment",overridesResolver:(e,t)=>t.endAdornment})({position:"absolute",right:0,top:"50%",transform:"translate(0, -50%)"}),N=(0,_.Ay)(m.A,{name:"MuiAutocomplete",slot:"ClearIndicator",overridesResolver:(e,t)=>t.clearIndicator})({marginRight:-2,padding:4,visibility:"hidden"}),L=(0,_.Ay)(m.A,{name:"MuiAutocomplete",slot:"PopupIndicator",overridesResolver:({ownerState:e},t)=>(0,a.A)({},t.popupIndicator,e.popupOpen&&t.popupIndicatorOpen)})({padding:2,marginRight:-2,variants:[{props:{popupOpen:!0},style:{transform:"rotate(180deg)"}}]}),j=(0,_.Ay)(p.A,{name:"MuiAutocomplete",slot:"Popper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${k.A.option}`]:t.option},t.popper,n.disablePortal&&t.popperDisablePortal]}})((({theme:e})=>({zIndex:(e.vars||e).zIndex.modal,variants:[{props:{disablePortal:!0},style:{position:"absolute"}}]}))),$=(0,_.Ay)(h.A,{name:"MuiAutocomplete",slot:"Paper",overridesResolver:(e,t)=>t.paper})((({theme:e})=>(0,a.A)({},e.typography.body1,{overflow:"auto"}))),z=(0,_.Ay)("div",{name:"MuiAutocomplete",slot:"Loading",overridesResolver:(e,t)=>t.loading})((({theme:e})=>({color:(e.vars||e).palette.text.secondary,padding:"14px 16px"}))),F=(0,_.Ay)("div",{name:"MuiAutocomplete",slot:"NoOptions",overridesResolver:(e,t)=>t.noOptions})((({theme:e})=>({color:(e.vars||e).palette.text.secondary,padding:"14px 16px"}))),B=(0,_.Ay)("div",{name:"MuiAutocomplete",slot:"Listbox",overridesResolver:(e,t)=>t.listbox})((({theme:e})=>({listStyle:"none",margin:0,padding:"8px 0",maxHeight:"40vh",overflow:"auto",position:"relative",[`& .${k.A.option}`]:{minHeight:48,display:"flex",overflow:"hidden",justifyContent:"flex-start",alignItems:"center",cursor:"pointer",paddingTop:6,boxSizing:"border-box",outline:"0",WebkitTapHighlightColor:"transparent",paddingBottom:6,paddingLeft:16,paddingRight:16,[e.breakpoints.up("sm")]:{minHeight:"auto"},[`&.${k.A.focused}`]:{backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},'&[aria-disabled="true"]':{opacity:(e.vars||e).palette.action.disabledOpacity,pointerEvents:"none"},[`&.${k.A.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},'&[aria-selected="true"]':{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:(0,u.X4)(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${k.A.focused}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:(0,u.X4)(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:(e.vars||e).palette.action.selected}},[`&.${k.A.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:(0,u.X4)(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}}}}))),H=(0,_.Ay)(f.A,{name:"MuiAutocomplete",slot:"GroupLabel",overridesResolver:(e,t)=>t.groupLabel})((({theme:e})=>({backgroundColor:(e.vars||e).palette.background.paper,top:-8}))),V=(0,_.Ay)("ul",{name:"MuiAutocomplete",slot:"GroupUl",overridesResolver:(e,t)=>t.groupUl})({padding:0,[`& .${k.A.option}`]:{paddingLeft:24}}),W=s.forwardRef((function(e,t){var n,u,f,m;const v=(0,S.b)({props:e,name:"MuiAutocomplete"}),{autoComplete:y=!1,autoHighlight:b=!1,autoSelect:x=!1,blurOnSelect:_=!1,ChipProps:W,className:U,clearIcon:q=r||(r=(0,M.jsx)(w.A,{fontSize:"small"})),clearOnBlur:G=!v.freeSolo,clearOnEscape:Y=!1,clearText:X="Clear",closeText:K="Close",componentsProps:Z={},defaultValue:J=(v.multiple?[]:null),disableClearable:Q=!1,disableCloseOnSelect:ee=!1,disabled:te=!1,disabledItemsFocusable:ne=!1,disableListWrap:re=!1,disablePortal:oe=!1,filterSelectedOptions:ie=!1,forcePopupIcon:ae="auto",freeSolo:se=!1,fullWidth:le=!1,getLimitTagsText:ce=e=>`+${e}`,getOptionLabel:ue,groupBy:de,handleHomeEndKeys:pe=!v.freeSolo,includeInputInList:fe=!1,limitTags:he=-1,ListboxComponent:me="ul",ListboxProps:ge,loading:ve=!1,loadingText:ye="Loading…",multiple:be=!1,noOptionsText:xe="No options",openOnFocus:we=!1,openText:Ae="Open",PaperComponent:_e=h.A,PopperComponent:Se=p.A,popupIcon:ke=o||(o=(0,M.jsx)(A.A,{})),readOnly:Ce=!1,renderGroup:Te,renderInput:Me,renderOption:Pe,renderTags:Oe,selectOnFocus:Ee=!v.freeSolo,size:De="medium",slotProps:Re={}}=v,Ie=(0,i.A)(v,P),{getRootProps:Ne,getInputProps:Le,getInputLabelProps:je,getPopupIndicatorProps:$e,getClearProps:ze,getTagProps:Fe,getListboxProps:Be,getOptionProps:He,value:Ve,dirty:We,expanded:Ue,id:qe,popupOpen:Ge,focused:Ye,focusedTag:Xe,anchorEl:Ke,setAnchorEl:Ze,inputValue:Je,groupedOptions:Qe}=(0,d.A)((0,a.A)({},v,{componentName:"Autocomplete"})),et=!Q&&!te&&We&&!Ce,tt=(!se||!0===ae)&&!1!==ae,{onMouseDown:nt}=Le(),{ref:rt}=null!=ge?ge:{},ot=Be(),{ref:it}=ot,at=(0,i.A)(ot,O),st=(0,T.A)(it,rt),lt=ue||(e=>{var t;return null!=(t=e.label)?t:e}),ct=(0,a.A)({},v,{disablePortal:oe,expanded:Ue,focused:Ye,fullWidth:le,getOptionLabel:lt,hasClearIcon:et,hasPopupIcon:tt,inputFocused:-1===Xe,popupOpen:Ge,size:De}),ut=(e=>{const{classes:t,disablePortal:n,expanded:r,focused:o,fullWidth:i,hasClearIcon:a,hasPopupIcon:s,inputFocused:l,popupOpen:u,size:d}=e,p={root:["root",r&&"expanded",o&&"focused",i&&"fullWidth",a&&"hasClearIcon",s&&"hasPopupIcon"],inputRoot:["inputRoot"],input:["input",l&&"inputFocused"],tag:["tag",`tagSize${(0,C.A)(d)}`],endAdornment:["endAdornment"],clearIndicator:["clearIndicator"],popupIndicator:["popupIndicator",u&&"popupIndicatorOpen"],popper:["popper",n&&"popperDisablePortal"],paper:["paper"],listbox:["listbox"],loading:["loading"],noOptions:["noOptions"],option:["option"],groupLabel:["groupLabel"],groupUl:["groupUl"]};return(0,c.A)(p,k.r,t)})(ct);let dt;if(be&&Ve.length>0){const e=e=>(0,a.A)({className:ut.tag,disabled:te},Fe(e));dt=Oe?Oe(Ve,e,ct):Ve.map(((t,n)=>{const r=e({index:n}),{key:o}=r,s=(0,i.A)(r,E);return(0,M.jsx)(g.A,(0,a.A)({label:lt(t),size:De},s,W),o)}))}if(he>-1&&Array.isArray(dt)){const e=dt.length-he;!Ye&&e>0&&(dt=dt.splice(0,he),dt.push((0,M.jsx)("span",{className:ut.tag,children:ce(e)},dt.length)))}const pt=Te||(e=>(0,M.jsxs)("li",{children:[(0,M.jsx)(H,{className:ut.groupLabel,ownerState:ct,component:"div",children:e.group}),(0,M.jsx)(V,{className:ut.groupUl,ownerState:ct,children:e.children})]},e.key)),ft=Pe||((e,t)=>{const{key:n}=e,r=(0,i.A)(e,D);return(0,M.jsx)("li",(0,a.A)({},r,{children:lt(t)}),n)}),ht=(e,t)=>{const n=He({option:e,index:t});return ft((0,a.A)({},n,{className:ut.option}),e,{selected:n["aria-selected"],index:t,inputValue:Je},ct)},mt=null!=(n=Re.clearIndicator)?n:Z.clearIndicator,gt=null!=(u=Re.paper)?u:Z.paper,vt=null!=(f=Re.popper)?f:Z.popper,yt=null!=(m=Re.popupIndicator)?m:Z.popupIndicator,bt=e=>(0,M.jsx)(j,(0,a.A)({as:Se,disablePortal:oe,style:{width:Ke?Ke.clientWidth:null},ownerState:ct,role:"presentation",anchorEl:Ke,open:Ge},vt,{className:(0,l.A)(ut.popper,null==vt?void 0:vt.className),children:(0,M.jsx)($,(0,a.A)({ownerState:ct,as:_e},gt,{className:(0,l.A)(ut.paper,null==gt?void 0:gt.className),children:e}))}));let xt=null;return Qe.length>0?xt=bt((0,M.jsx)(B,(0,a.A)({as:me,className:ut.listbox,ownerState:ct},at,ge,{ref:st,children:Qe.map(((e,t)=>de?pt({key:e.key,group:e.group,children:e.options.map(((t,n)=>ht(t,e.index+n)))}):ht(e,t)))}))):ve&&0===Qe.length?xt=bt((0,M.jsx)(z,{className:ut.loading,ownerState:ct,children:ye})):0!==Qe.length||se||ve||(xt=bt((0,M.jsx)(F,{className:ut.noOptions,ownerState:ct,role:"presentation",onMouseDown:e=>{e.preventDefault()},children:xe}))),(0,M.jsxs)(s.Fragment,{children:[(0,M.jsx)(R,(0,a.A)({ref:t,className:(0,l.A)(ut.root,U),ownerState:ct},Ne(Ie),{children:Me({id:qe,disabled:te,fullWidth:!0,size:"small"===De?"small":void 0,InputLabelProps:je(),InputProps:(0,a.A)({ref:Ze,className:ut.inputRoot,startAdornment:dt,onClick:e=>{e.target===e.currentTarget&&nt(e)}},(et||tt)&&{endAdornment:(0,M.jsxs)(I,{className:ut.endAdornment,ownerState:ct,children:[et?(0,M.jsx)(N,(0,a.A)({},ze(),{"aria-label":X,title:X,ownerState:ct},mt,{className:(0,l.A)(ut.clearIndicator,null==mt?void 0:mt.className),children:q})):null,tt?(0,M.jsx)(L,(0,a.A)({},$e(),{disabled:te,"aria-label":Ge?K:Ae,title:Ge?K:Ae,ownerState:ct},yt,{className:(0,l.A)(ut.popupIndicator,null==yt?void 0:yt.className),children:ke})):null]})}),inputProps:(0,a.A)({className:ut.input,disabled:te,readOnly:Ce},Le())})})),Ke?xt:null]})}));t.A=W},1033:function(e,t,n){"use strict";n.d(t,{r:function(){return i}});var r=n(38413),o=n(31609);function i(e){return(0,o.Ay)("MuiAutocomplete",e)}const a=(0,r.A)("MuiAutocomplete",["root","expanded","fullWidth","focused","focusVisible","tag","tagSizeSmall","tagSizeMedium","hasPopupIcon","hasClearIcon","inputRoot","input","inputFocused","endAdornment","clearIndicator","popupIndicator","popupIndicatorOpen","popper","popperDisablePortal","paper","listbox","loading","noOptions","option","groupLabel","groupUl"]);t.A=a},81373:function(e,t,n){"use strict";n.r(t),n.d(t,{autocompleteClasses:function(){return i.A},createFilterOptions:function(){return o.Z},default:function(){return r.A},getAutocompleteUtilityClass:function(){return i.r}});var r=n(44473),o=n(43247),i=n(1033)},63813:function(e,t,n){"use strict";var r=n(98587),o=n(58168),i=n(96540),a=n(34164),s=n(75659),l=n(11848),c=n(25669),u=n(20973),d=n(51613),p=n(74848);const f=["children","className","component","components","componentsProps","invisible","open","slotProps","slots","TransitionComponent","transitionDuration"],h=(0,l.Ay)("div",{name:"MuiBackdrop",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.invisible&&t.invisible]}})((({ownerState:e})=>(0,o.A)({position:"fixed",display:"flex",alignItems:"center",justifyContent:"center",right:0,bottom:0,top:0,left:0,backgroundColor:"rgba(0, 0, 0, 0.5)",WebkitTapHighlightColor:"transparent"},e.invisible&&{backgroundColor:"transparent"}))),m=i.forwardRef((function(e,t){var n,i,l;const m=(0,c.b)({props:e,name:"MuiBackdrop"}),{children:g,className:v,component:y="div",components:b={},componentsProps:x={},invisible:w=!1,open:A,slotProps:_={},slots:S={},TransitionComponent:k=u.A,transitionDuration:C}=m,T=(0,r.A)(m,f),M=(0,o.A)({},m,{component:y,invisible:w}),P=(e=>{const{classes:t,invisible:n}=e,r={root:["root",n&&"invisible"]};return(0,s.A)(r,d.R,t)})(M),O=null!=(n=_.root)?n:x.root;return(0,p.jsx)(k,(0,o.A)({in:A,timeout:C},T,{children:(0,p.jsx)(h,(0,o.A)({"aria-hidden":!0},O,{as:null!=(i=null!=(l=S.root)?l:b.Root)?i:y,className:(0,a.A)(P.root,v,null==O?void 0:O.className),ownerState:(0,o.A)({},M,null==O?void 0:O.ownerState),classes:P,ref:t,children:g}))}))}));t.A=m},51613:function(e,t,n){"use strict";n.d(t,{R:function(){return i}});var r=n(38413),o=n(31609);function i(e){return(0,o.Ay)("MuiBackdrop",e)}const a=(0,r.A)("MuiBackdrop",["root","invisible"]);t.A=a},51629:function(e,t,n){"use strict";var r=n(98587),o=n(58168),i=n(96540),a=n(34164),s=n(47379),l=n(75659),c=n(771),u=n(11848),d=n(39770),p=n(25669),f=n(9934),h=n(28466),m=n(87845),g=n(41848),v=n(35132),y=n(74848);const b=["children","color","component","className","disabled","disableElevation","disableFocusRipple","endIcon","focusVisibleClassName","fullWidth","size","startIcon","type","variant"],x=e=>(0,o.A)({},"small"===e.size&&{"& > *:nth-of-type(1)":{fontSize:18}},"medium"===e.size&&{"& > *:nth-of-type(1)":{fontSize:20}},"large"===e.size&&{"& > *:nth-of-type(1)":{fontSize:22}}),w=(0,u.Ay)(f.A,{shouldForwardProp:e=>(0,d.A)(e)||"classes"===e,name:"MuiButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`${n.variant}${(0,h.A)(n.color)}`],t[`size${(0,h.A)(n.size)}`],t[`${n.variant}Size${(0,h.A)(n.size)}`],"inherit"===n.color&&t.colorInherit,n.disableElevation&&t.disableElevation,n.fullWidth&&t.fullWidth]}})((({theme:e,ownerState:t})=>{var n,r;const i="light"===e.palette.mode?e.palette.grey[300]:e.palette.grey[800],a="light"===e.palette.mode?e.palette.grey.A100:e.palette.grey[700];return(0,o.A)({},e.typography.button,{minWidth:64,padding:"6px 16px",borderRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create(["background-color","box-shadow","border-color","color"],{duration:e.transitions.duration.short}),"&:hover":(0,o.A)({textDecoration:"none",backgroundColor:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,c.X4)(e.palette.text.primary,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"text"===t.variant&&"inherit"!==t.color&&{backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,c.X4)(e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"outlined"===t.variant&&"inherit"!==t.color&&{border:`1px solid ${(e.vars||e).palette[t.color].main}`,backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,c.X4)(e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"contained"===t.variant&&{backgroundColor:e.vars?e.vars.palette.Button.inheritContainedHoverBg:a,boxShadow:(e.vars||e).shadows[4],"@media (hover: none)":{boxShadow:(e.vars||e).shadows[2],backgroundColor:(e.vars||e).palette.grey[300]}},"contained"===t.variant&&"inherit"!==t.color&&{backgroundColor:(e.vars||e).palette[t.color].dark,"@media (hover: none)":{backgroundColor:(e.vars||e).palette[t.color].main}}),"&:active":(0,o.A)({},"contained"===t.variant&&{boxShadow:(e.vars||e).shadows[8]}),[`&.${m.A.focusVisible}`]:(0,o.A)({},"contained"===t.variant&&{boxShadow:(e.vars||e).shadows[6]}),[`&.${m.A.disabled}`]:(0,o.A)({color:(e.vars||e).palette.action.disabled},"outlined"===t.variant&&{border:`1px solid ${(e.vars||e).palette.action.disabledBackground}`},"contained"===t.variant&&{color:(e.vars||e).palette.action.disabled,boxShadow:(e.vars||e).shadows[0],backgroundColor:(e.vars||e).palette.action.disabledBackground})},"text"===t.variant&&{padding:"6px 8px"},"text"===t.variant&&"inherit"!==t.color&&{color:(e.vars||e).palette[t.color].main},"outlined"===t.variant&&{padding:"5px 15px",border:"1px solid currentColor"},"outlined"===t.variant&&"inherit"!==t.color&&{color:(e.vars||e).palette[t.color].main,border:e.vars?`1px solid rgba(${e.vars.palette[t.color].mainChannel} / 0.5)`:`1px solid ${(0,c.X4)(e.palette[t.color].main,.5)}`},"contained"===t.variant&&{color:e.vars?e.vars.palette.text.primary:null==(n=(r=e.palette).getContrastText)?void 0:n.call(r,e.palette.grey[300]),backgroundColor:e.vars?e.vars.palette.Button.inheritContainedBg:i,boxShadow:(e.vars||e).shadows[2]},"contained"===t.variant&&"inherit"!==t.color&&{color:(e.vars||e).palette[t.color].contrastText,backgroundColor:(e.vars||e).palette[t.color].main},"inherit"===t.color&&{color:"inherit",borderColor:"currentColor"},"small"===t.size&&"text"===t.variant&&{padding:"4px 5px",fontSize:e.typography.pxToRem(13)},"large"===t.size&&"text"===t.variant&&{padding:"8px 11px",fontSize:e.typography.pxToRem(15)},"small"===t.size&&"outlined"===t.variant&&{padding:"3px 9px",fontSize:e.typography.pxToRem(13)},"large"===t.size&&"outlined"===t.variant&&{padding:"7px 21px",fontSize:e.typography.pxToRem(15)},"small"===t.size&&"contained"===t.variant&&{padding:"4px 10px",fontSize:e.typography.pxToRem(13)},"large"===t.size&&"contained"===t.variant&&{padding:"8px 22px",fontSize:e.typography.pxToRem(15)},t.fullWidth&&{width:"100%"})}),(({ownerState:e})=>e.disableElevation&&{boxShadow:"none","&:hover":{boxShadow:"none"},[`&.${m.A.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${m.A.disabled}`]:{boxShadow:"none"}})),A=(0,u.Ay)("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.startIcon,t[`iconSize${(0,h.A)(n.size)}`]]}})((({ownerState:e})=>(0,o.A)({display:"inherit",marginRight:8,marginLeft:-4},"small"===e.size&&{marginLeft:-2},x(e)))),_=(0,u.Ay)("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.endIcon,t[`iconSize${(0,h.A)(n.size)}`]]}})((({ownerState:e})=>(0,o.A)({display:"inherit",marginRight:-4,marginLeft:8},"small"===e.size&&{marginRight:-2},x(e)))),S=i.forwardRef((function(e,t){const n=i.useContext(g.A),c=i.useContext(v.A),u=(0,s.A)(n,e),d=(0,p.b)({props:u,name:"MuiButton"}),{children:f,color:x="primary",component:S="button",className:k,disabled:C=!1,disableElevation:T=!1,disableFocusRipple:M=!1,endIcon:P,focusVisibleClassName:O,fullWidth:E=!1,size:D="medium",startIcon:R,type:I,variant:N="text"}=d,L=(0,r.A)(d,b),j=(0,o.A)({},d,{color:x,component:S,disabled:C,disableElevation:T,disableFocusRipple:M,fullWidth:E,size:D,type:I,variant:N}),$=(e=>{const{color:t,disableElevation:n,fullWidth:r,size:i,variant:a,classes:s}=e,c={root:["root",a,`${a}${(0,h.A)(t)}`,`size${(0,h.A)(i)}`,`${a}Size${(0,h.A)(i)}`,`color${(0,h.A)(t)}`,n&&"disableElevation",r&&"fullWidth"],label:["label"],startIcon:["icon","startIcon",`iconSize${(0,h.A)(i)}`],endIcon:["icon","endIcon",`iconSize${(0,h.A)(i)}`]},u=(0,l.A)(c,m.B,s);return(0,o.A)({},s,u)})(j),z=R&&(0,y.jsx)(A,{className:$.startIcon,ownerState:j,children:R}),F=P&&(0,y.jsx)(_,{className:$.endIcon,ownerState:j,children:P}),B=c||"";return(0,y.jsxs)(w,(0,o.A)({ownerState:j,className:(0,a.A)(n.className,$.root,k,B),component:S,disabled:C,focusRipple:!M,focusVisibleClassName:(0,a.A)($.focusVisible,O),ref:t,type:I},L,{classes:$,children:[z,f,F]}))}));t.A=S},87845:function(e,t,n){"use strict";n.d(t,{B:function(){return i}});var r=n(38413),o=n(31609);function i(e){return(0,o.Ay)("MuiButton",e)}const a=(0,r.A)("MuiButton",["root","text","textInherit","textPrimary","textSecondary","textSuccess","textError","textInfo","textWarning","outlined","outlinedInherit","outlinedPrimary","outlinedSecondary","outlinedSuccess","outlinedError","outlinedInfo","outlinedWarning","contained","containedInherit","containedPrimary","containedSecondary","containedSuccess","containedError","containedInfo","containedWarning","disableElevation","focusVisible","disabled","colorInherit","colorPrimary","colorSecondary","colorSuccess","colorError","colorInfo","colorWarning","textSizeSmall","textSizeMedium","textSizeLarge","outlinedSizeSmall","outlinedSizeMedium","outlinedSizeLarge","containedSizeSmall","containedSizeMedium","containedSizeLarge","sizeMedium","sizeSmall","sizeLarge","fullWidth","startIcon","endIcon","icon","iconSizeSmall","iconSizeMedium","iconSizeLarge"]);t.A=a},78729:function(e,t,n){"use strict";if(n.r(t),n.d(t,{buttonClasses:function(){return o.A},default:function(){return r.A},getButtonUtilityClass:function(){return o.B}}),9279==n.j)var r=n(51629);var o=n(87845)},9934:function(e,t,n){"use strict";n.d(t,{A:function(){return I}});var r=n(58168),o=n(98587),i=n(96540),a=n(34164),s=n(75659),l=n(11848),c=n(25669),u=n(96852),d=n(83034),p=n(68851),f=n(22618),h=n(17437),m=n(33068),g=n(74848);var v=function(e){const{className:t,classes:n,pulsate:r=!1,rippleX:o,rippleY:s,rippleSize:l,in:c,onExited:u,timeout:d}=e,[p,f]=i.useState(!1),h=(0,a.A)(t,n.ripple,n.rippleVisible,r&&n.ripplePulsate),m={width:l,height:l,top:-l/2+s,left:-l/2+o},v=(0,a.A)(n.child,p&&n.childLeaving,r&&n.childPulsate);return c||p||f(!0),i.useEffect((()=>{if(!c&&null!=u){const e=setTimeout(u,d);return()=>{clearTimeout(e)}}}),[u,c,d]),(0,g.jsx)("span",{className:h,style:m,children:(0,g.jsx)("span",{className:v})})},y=n(89161);const b=["center","classes","className"];let x,w,A,_,S=e=>e;const k=(0,h.i7)(x||(x=S` 0% { transform: scale(0); opacity: 0.1; } 100% { transform: scale(1); opacity: 0.3; } `)),C=(0,h.i7)(w||(w=S` 0% { opacity: 1; } 100% { opacity: 0; } `)),T=(0,h.i7)(A||(A=S` 0% { transform: scale(1); } 50% { transform: scale(0.92); } 100% { transform: scale(1); } `)),M=(0,l.Ay)("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),P=(0,l.Ay)(v,{name:"MuiTouchRipple",slot:"Ripple"})(_||(_=S` opacity: 0; position: absolute; &.${0} { opacity: 0.3; transform: scale(1); animation-name: ${0}; animation-duration: ${0}ms; animation-timing-function: ${0}; } &.${0} { animation-duration: ${0}ms; } & .${0} { opacity: 1; display: block; width: 100%; height: 100%; border-radius: 50%; background-color: currentColor; } & .${0} { opacity: 0; animation-name: ${0}; animation-duration: ${0}ms; animation-timing-function: ${0}; } & .${0} { position: absolute; /* @noflip */ left: 0px; top: 0; animation-name: ${0}; animation-duration: 2500ms; animation-timing-function: ${0}; animation-iteration-count: infinite; animation-delay: 200ms; } `),y.A.rippleVisible,k,550,(({theme:e})=>e.transitions.easing.easeInOut),y.A.ripplePulsate,(({theme:e})=>e.transitions.duration.shorter),y.A.child,y.A.childLeaving,C,550,(({theme:e})=>e.transitions.easing.easeInOut),y.A.childPulsate,T,(({theme:e})=>e.transitions.easing.easeInOut));var O=i.forwardRef((function(e,t){const n=(0,c.b)({props:e,name:"MuiTouchRipple"}),{center:s=!1,classes:l={},className:u}=n,d=(0,o.A)(n,b),[p,h]=i.useState([]),v=i.useRef(0),x=i.useRef(null);i.useEffect((()=>{x.current&&(x.current(),x.current=null)}),[p]);const w=i.useRef(!1),A=(0,m.A)(),_=i.useRef(null),S=i.useRef(null),k=i.useCallback((e=>{const{pulsate:t,rippleX:n,rippleY:r,rippleSize:o,cb:i}=e;h((e=>[...e,(0,g.jsx)(P,{classes:{ripple:(0,a.A)(l.ripple,y.A.ripple),rippleVisible:(0,a.A)(l.rippleVisible,y.A.rippleVisible),ripplePulsate:(0,a.A)(l.ripplePulsate,y.A.ripplePulsate),child:(0,a.A)(l.child,y.A.child),childLeaving:(0,a.A)(l.childLeaving,y.A.childLeaving),childPulsate:(0,a.A)(l.childPulsate,y.A.childPulsate)},timeout:550,pulsate:t,rippleX:n,rippleY:r,rippleSize:o},v.current)])),v.current+=1,x.current=i}),[l]),C=i.useCallback(((e={},t={},n=()=>{})=>{const{pulsate:r=!1,center:o=s||t.pulsate,fakeElement:i=!1}=t;if("mousedown"===(null==e?void 0:e.type)&&w.current)return void(w.current=!1);"touchstart"===(null==e?void 0:e.type)&&(w.current=!0);const a=i?null:S.current,l=a?a.getBoundingClientRect():{width:0,height:0,left:0,top:0};let c,u,d;if(o||void 0===e||0===e.clientX&&0===e.clientY||!e.clientX&&!e.touches)c=Math.round(l.width/2),u=Math.round(l.height/2);else{const{clientX:t,clientY:n}=e.touches&&e.touches.length>0?e.touches[0]:e;c=Math.round(t-l.left),u=Math.round(n-l.top)}if(o)d=Math.sqrt((2*l.width**2+l.height**2)/3),d%2==0&&(d+=1);else{const e=2*Math.max(Math.abs((a?a.clientWidth:0)-c),c)+2,t=2*Math.max(Math.abs((a?a.clientHeight:0)-u),u)+2;d=Math.sqrt(e**2+t**2)}null!=e&&e.touches?null===_.current&&(_.current=()=>{k({pulsate:r,rippleX:c,rippleY:u,rippleSize:d,cb:n})},A.start(80,(()=>{_.current&&(_.current(),_.current=null)}))):k({pulsate:r,rippleX:c,rippleY:u,rippleSize:d,cb:n})}),[s,k,A]),T=i.useCallback((()=>{C({},{pulsate:!0})}),[C]),O=i.useCallback(((e,t)=>{if(A.clear(),"touchend"===(null==e?void 0:e.type)&&_.current)return _.current(),_.current=null,void A.start(0,(()=>{O(e,t)}));_.current=null,h((e=>e.length>0?e.slice(1):e)),x.current=t}),[A]);return i.useImperativeHandle(t,(()=>({pulsate:T,start:C,stop:O})),[T,C,O]),(0,g.jsx)(M,(0,r.A)({className:(0,a.A)(y.A.root,l.root,u),ref:S},d,{children:(0,g.jsx)(f.A,{component:null,exit:!0,children:p})}))})),E=n(89987);const D=["action","centerRipple","children","className","component","disabled","disableRipple","disableTouchRipple","focusRipple","focusVisibleClassName","LinkComponent","onBlur","onClick","onContextMenu","onDragLeave","onFocus","onFocusVisible","onKeyDown","onKeyUp","onMouseDown","onMouseLeave","onMouseUp","onTouchEnd","onTouchMove","onTouchStart","tabIndex","TouchRippleProps","touchRippleRef","type"],R=(0,l.Ay)("button",{name:"MuiButtonBase",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",boxSizing:"border-box",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none",textDecoration:"none",color:"inherit","&::-moz-focus-inner":{borderStyle:"none"},[`&.${E.A.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}});var I=i.forwardRef((function(e,t){const n=(0,c.b)({props:e,name:"MuiButtonBase"}),{action:l,centerRipple:f=!1,children:h,className:m,component:v="button",disabled:y=!1,disableRipple:b=!1,disableTouchRipple:x=!1,focusRipple:w=!1,LinkComponent:A="a",onBlur:_,onClick:S,onContextMenu:k,onDragLeave:C,onFocus:T,onFocusVisible:M,onKeyDown:P,onKeyUp:I,onMouseDown:N,onMouseLeave:L,onMouseUp:j,onTouchEnd:$,onTouchMove:z,onTouchStart:F,tabIndex:B=0,TouchRippleProps:H,touchRippleRef:V,type:W}=n,U=(0,o.A)(n,D),q=i.useRef(null),G=i.useRef(null),Y=(0,u.A)(G,V),{isFocusVisibleRef:X,onFocus:K,onBlur:Z,ref:J}=(0,p.A)(),[Q,ee]=i.useState(!1);y&&Q&&ee(!1),i.useImperativeHandle(l,(()=>({focusVisible:()=>{ee(!0),q.current.focus()}})),[]);const[te,ne]=i.useState(!1);i.useEffect((()=>{ne(!0)}),[]);const re=te&&!b&&!y;function oe(e,t,n=x){return(0,d.A)((r=>{t&&t(r);return!n&&G.current&&G.current[e](r),!0}))}i.useEffect((()=>{Q&&w&&!b&&te&&G.current.pulsate()}),[b,w,Q,te]);const ie=oe("start",N),ae=oe("stop",k),se=oe("stop",C),le=oe("stop",j),ce=oe("stop",(e=>{Q&&e.preventDefault(),L&&L(e)})),ue=oe("start",F),de=oe("stop",$),pe=oe("stop",z),fe=oe("stop",(e=>{Z(e),!1===X.current&&ee(!1),_&&_(e)}),!1),he=(0,d.A)((e=>{q.current||(q.current=e.currentTarget),K(e),!0===X.current&&(ee(!0),M&&M(e)),T&&T(e)})),me=()=>{const e=q.current;return v&&"button"!==v&&!("A"===e.tagName&&e.href)},ge=i.useRef(!1),ve=(0,d.A)((e=>{w&&!ge.current&&Q&&G.current&&" "===e.key&&(ge.current=!0,G.current.stop(e,(()=>{G.current.start(e)}))),e.target===e.currentTarget&&me()&&" "===e.key&&e.preventDefault(),P&&P(e),e.target===e.currentTarget&&me()&&"Enter"===e.key&&!y&&(e.preventDefault(),S&&S(e))})),ye=(0,d.A)((e=>{w&&" "===e.key&&G.current&&Q&&!e.defaultPrevented&&(ge.current=!1,G.current.stop(e,(()=>{G.current.pulsate(e)}))),I&&I(e),S&&e.target===e.currentTarget&&me()&&" "===e.key&&!e.defaultPrevented&&S(e)}));let be=v;"button"===be&&(U.href||U.to)&&(be=A);const xe={};"button"===be?(xe.type=void 0===W?"button":W,xe.disabled=y):(U.href||U.to||(xe.role="button"),y&&(xe["aria-disabled"]=y));const we=(0,u.A)(t,J,q);const Ae=(0,r.A)({},n,{centerRipple:f,component:v,disabled:y,disableRipple:b,disableTouchRipple:x,focusRipple:w,tabIndex:B,focusVisible:Q}),_e=(e=>{const{disabled:t,focusVisible:n,focusVisibleClassName:r,classes:o}=e,i={root:["root",t&&"disabled",n&&"focusVisible"]},a=(0,s.A)(i,E.W,o);return n&&r&&(a.root+=` ${r}`),a})(Ae);return(0,g.jsxs)(R,(0,r.A)({as:be,className:(0,a.A)(_e.root,m),ownerState:Ae,onBlur:fe,onClick:S,onContextMenu:ae,onFocus:he,onKeyDown:ve,onKeyUp:ye,onMouseDown:ie,onMouseLeave:ce,onMouseUp:le,onDragLeave:se,onTouchEnd:de,onTouchMove:pe,onTouchStart:ue,ref:we,tabIndex:y?-1:B,type:W},xe,U,{children:[h,re?(0,g.jsx)(O,(0,r.A)({ref:Y,center:f},H)):null]}))}))},89987:function(e,t,n){"use strict";n.d(t,{W:function(){return i}});var r=n(38413),o=n(31609);function i(e){return(0,o.Ay)("MuiButtonBase",e)}const a=(0,r.A)("MuiButtonBase",["root","disabled","focusVisible"]);t.A=a},89161:function(e,t,n){"use strict";n.d(t,{O:function(){return i}});var r=n(38413),o=n(31609);function i(e){return(0,o.Ay)("MuiTouchRipple",e)}const a=(0,r.A)("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]);t.A=a},35132:function(e,t,n){"use strict";const r=n(96540).createContext(void 0);t.A=r},41848:function(e,t,n){"use strict";const r=n(96540).createContext({});t.A=r},69554:function(e,t,n){"use strict";n.d(t,{A:function(){return A}});var r=n(98587),o=n(58168),i=n(96540),a=n(34164),s=n(75659),l=n(771),c=n(20561),u=n(74848),d=(0,c.A)((0,u.jsx)("path",{d:"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12 17 15.59z"}),"Cancel"),p=n(96852),f=n(28466),h=n(9934),m=n(25669),g=n(11848),v=n(83325);const y=["avatar","className","clickable","color","component","deleteIcon","disabled","icon","label","onClick","onDelete","onKeyDown","onKeyUp","size","variant","tabIndex","skipFocusWhenDisabled"],b=(0,g.Ay)("div",{name:"MuiChip",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e,{color:r,iconColor:o,clickable:i,onDelete:a,size:s,variant:l}=n;return[{[`& .${v.A.avatar}`]:t.avatar},{[`& .${v.A.avatar}`]:t[`avatar${(0,f.A)(s)}`]},{[`& .${v.A.avatar}`]:t[`avatarColor${(0,f.A)(r)}`]},{[`& .${v.A.icon}`]:t.icon},{[`& .${v.A.icon}`]:t[`icon${(0,f.A)(s)}`]},{[`& .${v.A.icon}`]:t[`iconColor${(0,f.A)(o)}`]},{[`& .${v.A.deleteIcon}`]:t.deleteIcon},{[`& .${v.A.deleteIcon}`]:t[`deleteIcon${(0,f.A)(s)}`]},{[`& .${v.A.deleteIcon}`]:t[`deleteIconColor${(0,f.A)(r)}`]},{[`& .${v.A.deleteIcon}`]:t[`deleteIcon${(0,f.A)(l)}Color${(0,f.A)(r)}`]},t.root,t[`size${(0,f.A)(s)}`],t[`color${(0,f.A)(r)}`],i&&t.clickable,i&&"default"!==r&&t[`clickableColor${(0,f.A)(r)})`],a&&t.deletable,a&&"default"!==r&&t[`deletableColor${(0,f.A)(r)}`],t[l],t[`${l}${(0,f.A)(r)}`]]}})((({theme:e,ownerState:t})=>{const n="light"===e.palette.mode?e.palette.grey[700]:e.palette.grey[300];return(0,o.A)({maxWidth:"100%",fontFamily:e.typography.fontFamily,fontSize:e.typography.pxToRem(13),display:"inline-flex",alignItems:"center",justifyContent:"center",height:32,color:(e.vars||e).palette.text.primary,backgroundColor:(e.vars||e).palette.action.selected,borderRadius:16,whiteSpace:"nowrap",transition:e.transitions.create(["background-color","box-shadow"]),cursor:"unset",outline:0,textDecoration:"none",border:0,padding:0,verticalAlign:"middle",boxSizing:"border-box",[`&.${v.A.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity,pointerEvents:"none"},[`& .${v.A.avatar}`]:{marginLeft:5,marginRight:-6,width:24,height:24,color:e.vars?e.vars.palette.Chip.defaultAvatarColor:n,fontSize:e.typography.pxToRem(12)},[`& .${v.A.avatarColorPrimary}`]:{color:(e.vars||e).palette.primary.contrastText,backgroundColor:(e.vars||e).palette.primary.dark},[`& .${v.A.avatarColorSecondary}`]:{color:(e.vars||e).palette.secondary.contrastText,backgroundColor:(e.vars||e).palette.secondary.dark},[`& .${v.A.avatarSmall}`]:{marginLeft:4,marginRight:-4,width:18,height:18,fontSize:e.typography.pxToRem(10)},[`& .${v.A.icon}`]:(0,o.A)({marginLeft:5,marginRight:-6},"small"===t.size&&{fontSize:18,marginLeft:4,marginRight:-4},t.iconColor===t.color&&(0,o.A)({color:e.vars?e.vars.palette.Chip.defaultIconColor:n},"default"!==t.color&&{color:"inherit"})),[`& .${v.A.deleteIcon}`]:(0,o.A)({WebkitTapHighlightColor:"transparent",color:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / 0.26)`:(0,l.X4)(e.palette.text.primary,.26),fontSize:22,cursor:"pointer",margin:"0 5px 0 -6px","&:hover":{color:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / 0.4)`:(0,l.X4)(e.palette.text.primary,.4)}},"small"===t.size&&{fontSize:16,marginRight:4,marginLeft:-4},"default"!==t.color&&{color:e.vars?`rgba(${e.vars.palette[t.color].contrastTextChannel} / 0.7)`:(0,l.X4)(e.palette[t.color].contrastText,.7),"&:hover, &:active":{color:(e.vars||e).palette[t.color].contrastText}})},"small"===t.size&&{height:24},"default"!==t.color&&{backgroundColor:(e.vars||e).palette[t.color].main,color:(e.vars||e).palette[t.color].contrastText},t.onDelete&&{[`&.${v.A.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:(0,l.X4)(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},t.onDelete&&"default"!==t.color&&{[`&.${v.A.focusVisible}`]:{backgroundColor:(e.vars||e).palette[t.color].dark}})}),(({theme:e,ownerState:t})=>(0,o.A)({},t.clickable&&{userSelect:"none",WebkitTapHighlightColor:"transparent",cursor:"pointer","&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:(0,l.X4)(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity)},[`&.${v.A.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:(0,l.X4)(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)},"&:active":{boxShadow:(e.vars||e).shadows[1]}},t.clickable&&"default"!==t.color&&{[`&:hover, &.${v.A.focusVisible}`]:{backgroundColor:(e.vars||e).palette[t.color].dark}})),(({theme:e,ownerState:t})=>(0,o.A)({},"outlined"===t.variant&&{backgroundColor:"transparent",border:e.vars?`1px solid ${e.vars.palette.Chip.defaultBorder}`:`1px solid ${"light"===e.palette.mode?e.palette.grey[400]:e.palette.grey[700]}`,[`&.${v.A.clickable}:hover`]:{backgroundColor:(e.vars||e).palette.action.hover},[`&.${v.A.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`& .${v.A.avatar}`]:{marginLeft:4},[`& .${v.A.avatarSmall}`]:{marginLeft:2},[`& .${v.A.icon}`]:{marginLeft:4},[`& .${v.A.iconSmall}`]:{marginLeft:2},[`& .${v.A.deleteIcon}`]:{marginRight:5},[`& .${v.A.deleteIconSmall}`]:{marginRight:3}},"outlined"===t.variant&&"default"!==t.color&&{color:(e.vars||e).palette[t.color].main,border:`1px solid ${e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / 0.7)`:(0,l.X4)(e.palette[t.color].main,.7)}`,[`&.${v.A.clickable}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,l.X4)(e.palette[t.color].main,e.palette.action.hoverOpacity)},[`&.${v.A.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.focusOpacity})`:(0,l.X4)(e.palette[t.color].main,e.palette.action.focusOpacity)},[`& .${v.A.deleteIcon}`]:{color:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / 0.7)`:(0,l.X4)(e.palette[t.color].main,.7),"&:hover, &:active":{color:(e.vars||e).palette[t.color].main}}}))),x=(0,g.Ay)("span",{name:"MuiChip",slot:"Label",overridesResolver:(e,t)=>{const{ownerState:n}=e,{size:r}=n;return[t.label,t[`label${(0,f.A)(r)}`]]}})((({ownerState:e})=>(0,o.A)({overflow:"hidden",textOverflow:"ellipsis",paddingLeft:12,paddingRight:12,whiteSpace:"nowrap"},"outlined"===e.variant&&{paddingLeft:11,paddingRight:11},"small"===e.size&&{paddingLeft:8,paddingRight:8},"small"===e.size&&"outlined"===e.variant&&{paddingLeft:7,paddingRight:7})));function w(e){return"Backspace"===e.key||"Delete"===e.key}var A=i.forwardRef((function(e,t){const n=(0,m.b)({props:e,name:"MuiChip"}),{avatar:l,className:c,clickable:g,color:A="default",component:_,deleteIcon:S,disabled:k=!1,icon:C,label:T,onClick:M,onDelete:P,onKeyDown:O,onKeyUp:E,size:D="medium",variant:R="filled",tabIndex:I,skipFocusWhenDisabled:N=!1}=n,L=(0,r.A)(n,y),j=i.useRef(null),$=(0,p.A)(j,t),z=e=>{e.stopPropagation(),P&&P(e)},F=!(!1===g||!M)||g,B=F||P?h.A:_||"div",H=(0,o.A)({},n,{component:B,disabled:k,size:D,color:A,iconColor:i.isValidElement(C)&&C.props.color||A,onDelete:!!P,clickable:F,variant:R}),V=(e=>{const{classes:t,disabled:n,size:r,color:o,iconColor:i,onDelete:a,clickable:l,variant:c}=e,u={root:["root",c,n&&"disabled",`size${(0,f.A)(r)}`,`color${(0,f.A)(o)}`,l&&"clickable",l&&`clickableColor${(0,f.A)(o)}`,a&&"deletable",a&&`deletableColor${(0,f.A)(o)}`,`${c}${(0,f.A)(o)}`],label:["label",`label${(0,f.A)(r)}`],avatar:["avatar",`avatar${(0,f.A)(r)}`,`avatarColor${(0,f.A)(o)}`],icon:["icon",`icon${(0,f.A)(r)}`,`iconColor${(0,f.A)(i)}`],deleteIcon:["deleteIcon",`deleteIcon${(0,f.A)(r)}`,`deleteIconColor${(0,f.A)(o)}`,`deleteIcon${(0,f.A)(c)}Color${(0,f.A)(o)}`]};return(0,s.A)(u,v.f,t)})(H),W=B===h.A?(0,o.A)({component:_||"div",focusVisibleClassName:V.focusVisible},P&&{disableRipple:!0}):{};let U=null;P&&(U=S&&i.isValidElement(S)?i.cloneElement(S,{className:(0,a.A)(S.props.className,V.deleteIcon),onClick:z}):(0,u.jsx)(d,{className:(0,a.A)(V.deleteIcon),onClick:z}));let q=null;l&&i.isValidElement(l)&&(q=i.cloneElement(l,{className:(0,a.A)(V.avatar,l.props.className)}));let G=null;return C&&i.isValidElement(C)&&(G=i.cloneElement(C,{className:(0,a.A)(V.icon,C.props.className)})),(0,u.jsxs)(b,(0,o.A)({as:B,className:(0,a.A)(V.root,c),disabled:!(!F||!k)||void 0,onClick:M,onKeyDown:e=>{e.currentTarget===e.target&&w(e)&&e.preventDefault(),O&&O(e)},onKeyUp:e=>{e.currentTarget===e.target&&(P&&w(e)?P(e):"Escape"===e.key&&j.current&&j.current.blur()),E&&E(e)},ref:$,tabIndex:N&&k?-1:I,ownerState:H},W,L,{children:[q||G,(0,u.jsx)(x,{className:(0,a.A)(V.label),ownerState:H,children:T}),U]}))}))},83325:function(e,t,n){"use strict";n.d(t,{f:function(){return i}});var r=n(38413),o=n(31609);function i(e){return(0,o.Ay)("MuiChip",e)}const a=(0,r.A)("MuiChip",["root","sizeSmall","sizeMedium","colorError","colorInfo","colorPrimary","colorSecondary","colorSuccess","colorWarning","disabled","clickable","clickableColorPrimary","clickableColorSecondary","deletable","deletableColorPrimary","deletableColorSecondary","outlined","filled","outlinedPrimary","outlinedSecondary","filledPrimary","filledSecondary","avatar","avatarSmall","avatarMedium","avatarColorPrimary","avatarColorSecondary","icon","iconSmall","iconMedium","iconColorPrimary","iconColorSecondary","label","labelSmall","labelMedium","deleteIcon","deleteIconSmall","deleteIconMedium","deleteIconColorPrimary","deleteIconColorSecondary","deleteIconOutlinedColorPrimary","deleteIconOutlinedColorSecondary","deleteIconFilledColorPrimary","deleteIconFilledColorSecondary","focusVisible"]);t.A=a},14519:function(e,t,n){"use strict";n.d(t,{qy:function(){return l},rf:function(){return c}});var r=n(58168),o=n(96540),i=n(25669),a=n(59839),s=n(74848);const l=(e,t)=>(0,r.A)({WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",boxSizing:"border-box",WebkitTextSizeAdjust:"100%"},t&&!e.vars&&{colorScheme:e.palette.mode}),c=e=>(0,r.A)({color:(e.vars||e).palette.text.primary},e.typography.body1,{backgroundColor:(e.vars||e).palette.background.default,"@media print":{backgroundColor:(e.vars||e).palette.common.white}});t.Ay=function(e){const t=(0,i.b)({props:e,name:"MuiCssBaseline"}),{children:n,enableColorScheme:u=!1}=t;return(0,s.jsxs)(o.Fragment,{children:[(0,s.jsx)(a.A,{styles:e=>((e,t=!1)=>{var n;const o={};t&&e.colorSchemes&&Object.entries(e.colorSchemes).forEach((([t,n])=>{var r;o[e.getColorSchemeSelector(t).replace(/\s*&/,"")]={colorScheme:null==(r=n.palette)?void 0:r.mode}}));let i=(0,r.A)({html:l(e,t),"*, *::before, *::after":{boxSizing:"inherit"},"strong, b":{fontWeight:e.typography.fontWeightBold},body:(0,r.A)({margin:0},c(e),{"&::backdrop":{backgroundColor:(e.vars||e).palette.background.default}})},o);const a=null==(n=e.components)||null==(n=n.MuiCssBaseline)?void 0:n.styleOverrides;return a&&(i=[i,a]),i})(e,u)}),n]})}},43931:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return r.Ay}});var r=n(14519)},25669:function(e,t,n){"use strict";n.d(t,{b:function(){return o}});n(96540);var r=n(72221);n(74848);function o(e){return(0,r.b)(e)}},77037:function(e,t,n){"use strict";var r=n(98587),o=n(58168),i=n(96540),a=n(34164),s=n(75659),l=n(34661),c=n(28466),u=n(79627),d=n(20973),p=n(34339),f=n(25669),h=n(11848),m=n(68997),g=n(28102),v=n(63813),y=n(44675),b=n(74848);const x=["aria-describedby","aria-labelledby","BackdropComponent","BackdropProps","children","className","disableEscapeKeyDown","fullScreen","fullWidth","maxWidth","onBackdropClick","onClick","onClose","open","PaperComponent","PaperProps","scroll","TransitionComponent","transitionDuration","TransitionProps"],w=(0,h.Ay)(v.A,{name:"MuiDialog",slot:"Backdrop",overrides:(e,t)=>t.backdrop})({zIndex:-1}),A=(0,h.Ay)(u.A,{name:"MuiDialog",slot:"Root",overridesResolver:(e,t)=>t.root})({"@media print":{position:"absolute !important"}}),_=(0,h.Ay)("div",{name:"MuiDialog",slot:"Container",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.container,t[`scroll${(0,c.A)(n.scroll)}`]]}})((({ownerState:e})=>(0,o.A)({height:"100%","@media print":{height:"auto"},outline:0},"paper"===e.scroll&&{display:"flex",justifyContent:"center",alignItems:"center"},"body"===e.scroll&&{overflowY:"auto",overflowX:"hidden",textAlign:"center","&::after":{content:'""',display:"inline-block",verticalAlign:"middle",height:"100%",width:"0"}}))),S=(0,h.Ay)(p.A,{name:"MuiDialog",slot:"Paper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.paper,t[`scrollPaper${(0,c.A)(n.scroll)}`],t[`paperWidth${(0,c.A)(String(n.maxWidth))}`],n.fullWidth&&t.paperFullWidth,n.fullScreen&&t.paperFullScreen]}})((({theme:e,ownerState:t})=>(0,o.A)({margin:32,position:"relative",overflowY:"auto","@media print":{overflowY:"visible",boxShadow:"none"}},"paper"===t.scroll&&{display:"flex",flexDirection:"column",maxHeight:"calc(100% - 64px)"},"body"===t.scroll&&{display:"inline-block",verticalAlign:"middle",textAlign:"left"},!t.maxWidth&&{maxWidth:"calc(100% - 64px)"},"xs"===t.maxWidth&&{maxWidth:"px"===e.breakpoints.unit?Math.max(e.breakpoints.values.xs,444):`max(${e.breakpoints.values.xs}${e.breakpoints.unit}, 444px)`,[`&.${m.A.paperScrollBody}`]:{[e.breakpoints.down(Math.max(e.breakpoints.values.xs,444)+64)]:{maxWidth:"calc(100% - 64px)"}}},t.maxWidth&&"xs"!==t.maxWidth&&{maxWidth:`${e.breakpoints.values[t.maxWidth]}${e.breakpoints.unit}`,[`&.${m.A.paperScrollBody}`]:{[e.breakpoints.down(e.breakpoints.values[t.maxWidth]+64)]:{maxWidth:"calc(100% - 64px)"}}},t.fullWidth&&{width:"calc(100% - 64px)"},t.fullScreen&&{margin:0,width:"100%",maxWidth:"100%",height:"100%",maxHeight:"none",borderRadius:0,[`&.${m.A.paperScrollBody}`]:{margin:0,maxWidth:"100%"}}))),k=i.forwardRef((function(e,t){const n=(0,f.b)({props:e,name:"MuiDialog"}),u=(0,y.A)(),h={enter:u.transitions.duration.enteringScreen,exit:u.transitions.duration.leavingScreen},{"aria-describedby":v,"aria-labelledby":k,BackdropComponent:C,BackdropProps:T,children:M,className:P,disableEscapeKeyDown:O=!1,fullScreen:E=!1,fullWidth:D=!1,maxWidth:R="sm",onBackdropClick:I,onClick:N,onClose:L,open:j,PaperComponent:$=p.A,PaperProps:z={},scroll:F="paper",TransitionComponent:B=d.A,transitionDuration:H=h,TransitionProps:V}=n,W=(0,r.A)(n,x),U=(0,o.A)({},n,{disableEscapeKeyDown:O,fullScreen:E,fullWidth:D,maxWidth:R,scroll:F}),q=(e=>{const{classes:t,scroll:n,maxWidth:r,fullWidth:o,fullScreen:i}=e,a={root:["root"],container:["container",`scroll${(0,c.A)(n)}`],paper:["paper",`paperScroll${(0,c.A)(n)}`,`paperWidth${(0,c.A)(String(r))}`,o&&"paperFullWidth",i&&"paperFullScreen"]};return(0,s.A)(a,m.f,t)})(U),G=i.useRef(),Y=(0,l.A)(k),X=i.useMemo((()=>({titleId:Y})),[Y]);return(0,b.jsx)(A,(0,o.A)({className:(0,a.A)(q.root,P),closeAfterTransition:!0,components:{Backdrop:w},componentsProps:{backdrop:(0,o.A)({transitionDuration:H,as:C},T)},disableEscapeKeyDown:O,onClose:L,open:j,ref:t,onClick:e=>{N&&N(e),G.current&&(G.current=null,I&&I(e),L&&L(e,"backdropClick"))},ownerState:U},W,{children:(0,b.jsx)(B,(0,o.A)({appear:!0,in:j,timeout:H,role:"presentation"},V,{children:(0,b.jsx)(_,{className:(0,a.A)(q.container),onMouseDown:e=>{G.current=e.target===e.currentTarget},ownerState:U,children:(0,b.jsx)(S,(0,o.A)({as:$,elevation:24,role:"dialog","aria-describedby":v,"aria-labelledby":Y},z,{className:(0,a.A)(q.paper,z.className),ownerState:U,children:(0,b.jsx)(g.A.Provider,{value:X,children:M})}))})}))}))}));t.A=k},28102:function(e,t,n){"use strict";const r=n(96540).createContext({});t.A=r},68997:function(e,t,n){"use strict";n.d(t,{f:function(){return i}});var r=n(38413),o=n(31609);function i(e){return(0,o.Ay)("MuiDialog",e)}const a=(0,r.A)("MuiDialog",["root","scrollPaper","scrollBody","container","paper","paperScrollPaper","paperScrollBody","paperWidthFalse","paperWidthXs","paperWidthSm","paperWidthMd","paperWidthLg","paperWidthXl","paperFullWidth","paperFullScreen"]);t.A=a},37071:function(e,t,n){"use strict";var r=n(98587),o=n(58168),i=n(96540),a=n(34164),s=n(75659),l=n(11848),c=n(25669),u=n(40923),d=n(74848);const p=["className","disableSpacing"],f=(0,l.Ay)("div",{name:"MuiDialogActions",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.disableSpacing&&t.spacing]}})((({ownerState:e})=>(0,o.A)({display:"flex",alignItems:"center",padding:8,justifyContent:"flex-end",flex:"0 0 auto"},!e.disableSpacing&&{"& > :not(style) ~ :not(style)":{marginLeft:8}}))),h=i.forwardRef((function(e,t){const n=(0,c.b)({props:e,name:"MuiDialogActions"}),{className:i,disableSpacing:l=!1}=n,h=(0,r.A)(n,p),m=(0,o.A)({},n,{disableSpacing:l}),g=(e=>{const{classes:t,disableSpacing:n}=e,r={root:["root",!n&&"spacing"]};return(0,s.A)(r,u.C,t)})(m);return(0,d.jsx)(f,(0,o.A)({className:(0,a.A)(g.root,i),ownerState:m,ref:t},h))}));t.A=h},40923:function(e,t,n){"use strict";n.d(t,{C:function(){return i}});var r=n(38413),o=n(31609);function i(e){return(0,o.Ay)("MuiDialogActions",e)}const a=(0,r.A)("MuiDialogActions",["root","spacing"]);t.A=a},30799:function(e,t,n){"use strict";var r=n(98587),o=n(58168),i=n(96540),a=n(34164),s=n(75659),l=n(11848),c=n(25669),u=n(69275),d=n(61435),p=n(74848);const f=["className","dividers"],h=(0,l.Ay)("div",{name:"MuiDialogContent",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.dividers&&t.dividers]}})((({theme:e,ownerState:t})=>(0,o.A)({flex:"1 1 auto",WebkitOverflowScrolling:"touch",overflowY:"auto",padding:"20px 24px"},t.dividers?{padding:"16px 24px",borderTop:`1px solid ${(e.vars||e).palette.divider}`,borderBottom:`1px solid ${(e.vars||e).palette.divider}`}:{[`.${d.A.root} + &`]:{paddingTop:0}}))),m=i.forwardRef((function(e,t){const n=(0,c.b)({props:e,name:"MuiDialogContent"}),{className:i,dividers:l=!1}=n,d=(0,r.A)(n,f),m=(0,o.A)({},n,{dividers:l}),g=(e=>{const{classes:t,dividers:n}=e,r={root:["root",n&&"dividers"]};return(0,s.A)(r,u.E,t)})(m);return(0,p.jsx)(h,(0,o.A)({className:(0,a.A)(g.root,i),ownerState:m,ref:t},d))}));t.A=m},69275:function(e,t,n){"use strict";n.d(t,{E:function(){return i}});var r=n(38413),o=n(31609);function i(e){return(0,o.Ay)("MuiDialogContent",e)}const a=(0,r.A)("MuiDialogContent",["root","dividers"]);t.A=a},61435:function(e,t,n){"use strict";n.d(t,{t:function(){return i}});var r=n(38413),o=n(31609);function i(e){return(0,o.Ay)("MuiDialogTitle",e)}const a=(0,r.A)("MuiDialogTitle",["root"]);t.A=a},71543:function(e,t,n){"use strict";var r=n(98587),o=n(58168),i=n(96540),a=n(34164),s=n(75659),l=n(771),c=n(11848),u=n(25669),d=n(61347),p=n(74848);const f=["absolute","children","className","component","flexItem","light","orientation","role","textAlign","variant"],h=(0,c.Ay)("div",{name:"MuiDivider",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.absolute&&t.absolute,t[n.variant],n.light&&t.light,"vertical"===n.orientation&&t.vertical,n.flexItem&&t.flexItem,n.children&&t.withChildren,n.children&&"vertical"===n.orientation&&t.withChildrenVertical,"right"===n.textAlign&&"vertical"!==n.orientation&&t.textAlignRight,"left"===n.textAlign&&"vertical"!==n.orientation&&t.textAlignLeft]}})((({theme:e,ownerState:t})=>(0,o.A)({margin:0,flexShrink:0,borderWidth:0,borderStyle:"solid",borderColor:(e.vars||e).palette.divider,borderBottomWidth:"thin"},t.absolute&&{position:"absolute",bottom:0,left:0,width:"100%"},t.light&&{borderColor:e.vars?`rgba(${e.vars.palette.dividerChannel} / 0.08)`:(0,l.X4)(e.palette.divider,.08)},"inset"===t.variant&&{marginLeft:72},"middle"===t.variant&&"horizontal"===t.orientation&&{marginLeft:e.spacing(2),marginRight:e.spacing(2)},"middle"===t.variant&&"vertical"===t.orientation&&{marginTop:e.spacing(1),marginBottom:e.spacing(1)},"vertical"===t.orientation&&{height:"100%",borderBottomWidth:0,borderRightWidth:"thin"},t.flexItem&&{alignSelf:"stretch",height:"auto"})),(({ownerState:e})=>(0,o.A)({},e.children&&{display:"flex",whiteSpace:"nowrap",textAlign:"center",border:0,"&::before, &::after":{content:'""',alignSelf:"center"}})),(({theme:e,ownerState:t})=>(0,o.A)({},t.children&&"vertical"!==t.orientation&&{"&::before, &::after":{width:"100%",borderTop:`thin solid ${(e.vars||e).palette.divider}`}})),(({theme:e,ownerState:t})=>(0,o.A)({},t.children&&"vertical"===t.orientation&&{flexDirection:"column","&::before, &::after":{height:"100%",borderLeft:`thin solid ${(e.vars||e).palette.divider}`}})),(({ownerState:e})=>(0,o.A)({},"right"===e.textAlign&&"vertical"!==e.orientation&&{"&::before":{width:"90%"},"&::after":{width:"10%"}},"left"===e.textAlign&&"vertical"!==e.orientation&&{"&::before":{width:"10%"},"&::after":{width:"90%"}}))),m=(0,c.Ay)("span",{name:"MuiDivider",slot:"Wrapper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.wrapper,"vertical"===n.orientation&&t.wrapperVertical]}})((({theme:e,ownerState:t})=>(0,o.A)({display:"inline-block",paddingLeft:`calc(${e.spacing(1)} * 1.2)`,paddingRight:`calc(${e.spacing(1)} * 1.2)`},"vertical"===t.orientation&&{paddingTop:`calc(${e.spacing(1)} * 1.2)`,paddingBottom:`calc(${e.spacing(1)} * 1.2)`}))),g=i.forwardRef((function(e,t){const n=(0,u.b)({props:e,name:"MuiDivider"}),{absolute:i=!1,children:l,className:c,component:g=(l?"div":"hr"),flexItem:v=!1,light:y=!1,orientation:b="horizontal",role:x=("hr"!==g?"separator":void 0),textAlign:w="center",variant:A="fullWidth"}=n,_=(0,r.A)(n,f),S=(0,o.A)({},n,{absolute:i,component:g,flexItem:v,light:y,orientation:b,role:x,textAlign:w,variant:A}),k=(e=>{const{absolute:t,children:n,classes:r,flexItem:o,light:i,orientation:a,textAlign:l,variant:c}=e,u={root:["root",t&&"absolute",c,i&&"light","vertical"===a&&"vertical",o&&"flexItem",n&&"withChildren",n&&"vertical"===a&&"withChildrenVertical","right"===l&&"vertical"!==a&&"textAlignRight","left"===l&&"vertical"!==a&&"textAlignLeft"],wrapper:["wrapper","vertical"===a&&"wrapperVertical"]};return(0,s.A)(u,d.K,r)})(S);return(0,p.jsx)(h,(0,o.A)({as:g,className:(0,a.A)(k.root,c),role:x,ref:t,ownerState:S},_,{children:l?(0,p.jsx)(m,{className:k.wrapper,ownerState:S,children:l}):null}))}));g.muiSkipListHighlight=!0,t.A=g},61347:function(e,t,n){"use strict";n.d(t,{K:function(){return i}});var r=n(38413),o=n(31609);function i(e){return(0,o.Ay)("MuiDivider",e)}const a=(0,r.A)("MuiDivider",["root","absolute","fullWidth","inset","middle","flexItem","light","vertical","withChildren","withChildrenVertical","textAlignRight","textAlignLeft","wrapper","wrapperVertical"]);t.A=a},11402:function(e,t,n){"use strict";if(n.r(t),n.d(t,{default:function(){return r.A},dividerClasses:function(){return o.A},getDividerUtilityClass:function(){return o.K}}),2927==n.j)var r=n(71543);var o=n(61347)},71791:function(e,t,n){"use strict";n.d(t,{$b:function(){return C},iB:function(){return T}});var r=n(98587),o=n(58168),i=n(96540),a=n(34164),s=n(75659),l=n(73788),c=n(79627),u=n(48875),d=n(34339),p=n(28466),f=n(44675),h=n(25669),m=n(11848),g=n(39770),v=n(59419),y=n(74848);const b=["BackdropProps"],x=["anchor","BackdropProps","children","className","elevation","hideBackdrop","ModalProps","onClose","open","PaperProps","SlideProps","TransitionComponent","transitionDuration","variant"],w=(e,t)=>{const{ownerState:n}=e;return[t.root,("permanent"===n.variant||"persistent"===n.variant)&&t.docked,t.modal]},A=(0,m.Ay)(c.A,{name:"MuiDrawer",slot:"Root",overridesResolver:w})((({theme:e})=>({zIndex:(e.vars||e).zIndex.drawer}))),_=(0,m.Ay)("div",{shouldForwardProp:g.A,name:"MuiDrawer",slot:"Docked",skipVariantsResolver:!1,overridesResolver:w})({flex:"0 0 auto"}),S=(0,m.Ay)(d.A,{name:"MuiDrawer",slot:"Paper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.paper,t[`paperAnchor${(0,p.A)(n.anchor)}`],"temporary"!==n.variant&&t[`paperAnchorDocked${(0,p.A)(n.anchor)}`]]}})((({theme:e,ownerState:t})=>(0,o.A)({overflowY:"auto",display:"flex",flexDirection:"column",height:"100%",flex:"1 0 auto",zIndex:(e.vars||e).zIndex.drawer,WebkitOverflowScrolling:"touch",position:"fixed",top:0,outline:0},"left"===t.anchor&&{left:0},"top"===t.anchor&&{top:0,left:0,right:0,height:"auto",maxHeight:"100%"},"right"===t.anchor&&{right:0},"bottom"===t.anchor&&{top:"auto",left:0,bottom:0,right:0,height:"auto",maxHeight:"100%"},"left"===t.anchor&&"temporary"!==t.variant&&{borderRight:`1px solid ${(e.vars||e).palette.divider}`},"top"===t.anchor&&"temporary"!==t.variant&&{borderBottom:`1px solid ${(e.vars||e).palette.divider}`},"right"===t.anchor&&"temporary"!==t.variant&&{borderLeft:`1px solid ${(e.vars||e).palette.divider}`},"bottom"===t.anchor&&"temporary"!==t.variant&&{borderTop:`1px solid ${(e.vars||e).palette.divider}`}))),k={left:"right",right:"left",top:"down",bottom:"up"};function C(e){return-1!==["left","right"].indexOf(e)}function T({direction:e},t){return"rtl"===e&&C(t)?k[t]:t}const M=i.forwardRef((function(e,t){const n=(0,h.b)({props:e,name:"MuiDrawer"}),c=(0,f.A)(),d=(0,l.I)(),m={enter:c.transitions.duration.enteringScreen,exit:c.transitions.duration.leavingScreen},{anchor:g="left",BackdropProps:w,children:C,className:M,elevation:P=16,hideBackdrop:O=!1,ModalProps:{BackdropProps:E}={},onClose:D,open:R=!1,PaperProps:I={},SlideProps:N,TransitionComponent:L=u.A,transitionDuration:j=m,variant:$="temporary"}=n,z=(0,r.A)(n.ModalProps,b),F=(0,r.A)(n,x),B=i.useRef(!1);i.useEffect((()=>{B.current=!0}),[]);const H=T({direction:d?"rtl":"ltr"},g),V=g,W=(0,o.A)({},n,{anchor:V,elevation:P,open:R,variant:$},F),U=(e=>{const{classes:t,anchor:n,variant:r}=e,o={root:["root"],docked:[("permanent"===r||"persistent"===r)&&"docked"],modal:["modal"],paper:["paper",`paperAnchor${(0,p.A)(n)}`,"temporary"!==r&&`paperAnchorDocked${(0,p.A)(n)}`]};return(0,s.A)(o,v.S,t)})(W),q=(0,y.jsx)(S,(0,o.A)({elevation:"temporary"===$?P:0,square:!0},I,{className:(0,a.A)(U.paper,I.className),ownerState:W,children:C}));if("permanent"===$)return(0,y.jsx)(_,(0,o.A)({className:(0,a.A)(U.root,U.docked,M),ownerState:W,ref:t},F,{children:q}));const G=(0,y.jsx)(L,(0,o.A)({in:R,direction:k[H],timeout:j,appear:B.current},N,{children:q}));return"persistent"===$?(0,y.jsx)(_,(0,o.A)({className:(0,a.A)(U.root,U.docked,M),ownerState:W,ref:t},F,{children:G})):(0,y.jsx)(A,(0,o.A)({BackdropProps:(0,o.A)({},w,E,{transitionDuration:j}),className:(0,a.A)(U.root,U.modal,M),open:R,ownerState:W,onClose:D,hideBackdrop:O,ref:t},F,z,{children:G}))}));t.Ay=M},59419:function(e,t,n){"use strict";n.d(t,{S:function(){return i}});var r=n(38413),o=n(31609);function i(e){return(0,o.Ay)("MuiDrawer",e)}const a=(0,r.A)("MuiDrawer",["root","docked","paper","paperAnchorLeft","paperAnchorRight","paperAnchorTop","paperAnchorBottom","paperAnchorDockedLeft","paperAnchorDockedRight","paperAnchorDockedTop","paperAnchorDockedBottom","modal"]);t.A=a},79960:function(e,t,n){"use strict";if(n.r(t),n.d(t,{default:function(){return r.Ay},drawerClasses:function(){return o.A},getDrawerUtilityClass:function(){return o.S}}),9279==n.j)var r=n(71791);var o=n(59419)},20973:function(e,t,n){"use strict";var r=n(58168),o=n(98587),i=n(96540),a=n(80851),s=n(44675),l=n(35186),c=n(96852),u=n(74848);const d=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"],p={entering:{opacity:1},entered:{opacity:1}},f=i.forwardRef((function(e,t){const n=(0,s.A)(),f={enter:n.transitions.duration.enteringScreen,exit:n.transitions.duration.leavingScreen},{addEndListener:h,appear:m=!0,children:g,easing:v,in:y,onEnter:b,onEntered:x,onEntering:w,onExit:A,onExited:_,onExiting:S,style:k,timeout:C=f,TransitionComponent:T=a.Ay}=e,M=(0,o.A)(e,d),P=i.useRef(null),O=(0,c.A)(P,g.ref,t),E=e=>t=>{if(e){const n=P.current;void 0===t?e(n):e(n,t)}},D=E(w),R=E(((e,t)=>{(0,l.q)(e);const r=(0,l.c)({style:k,timeout:C,easing:v},{mode:"enter"});e.style.webkitTransition=n.transitions.create("opacity",r),e.style.transition=n.transitions.create("opacity",r),b&&b(e,t)})),I=E(x),N=E(S),L=E((e=>{const t=(0,l.c)({style:k,timeout:C,easing:v},{mode:"exit"});e.style.webkitTransition=n.transitions.create("opacity",t),e.style.transition=n.transitions.create("opacity",t),A&&A(e)})),j=E(_);return(0,u.jsx)(T,(0,r.A)({appear:m,in:y,nodeRef:P,onEnter:R,onEntered:I,onEntering:D,onExit:L,onExited:j,onExiting:N,addEndListener:e=>{h&&h(P.current,e)},timeout:C},M,{children:(e,t)=>i.cloneElement(g,(0,r.A)({style:(0,r.A)({opacity:0,visibility:"exited"!==e||y?void 0:"hidden"},p[e],k,g.props.style),ref:O},t))}))}));t.A=f},21915:function(e,t,n){"use strict";var r=n(98587),o=n(58168),i=n(96540),a=n(11317),s=n(75659),l=n(63008),c=n(11848),u=n(39770),d=n(25669),p=n(6959),f=n(74848);const h=["disableUnderline","components","componentsProps","fullWidth","hiddenLabel","inputComponent","multiline","slotProps","slots","type"],m=(0,c.Ay)(l.Sh,{shouldForwardProp:e=>(0,u.A)(e)||"classes"===e,name:"MuiFilledInput",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[...(0,l.WC)(e,t),!n.disableUnderline&&t.underline]}})((({theme:e,ownerState:t})=>{var n;const r="light"===e.palette.mode,i=r?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)",a=r?"rgba(0, 0, 0, 0.06)":"rgba(255, 255, 255, 0.09)",s=r?"rgba(0, 0, 0, 0.09)":"rgba(255, 255, 255, 0.13)",l=r?"rgba(0, 0, 0, 0.12)":"rgba(255, 255, 255, 0.12)";return(0,o.A)({position:"relative",backgroundColor:e.vars?e.vars.palette.FilledInput.bg:a,borderTopLeftRadius:(e.vars||e).shape.borderRadius,borderTopRightRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),"&:hover":{backgroundColor:e.vars?e.vars.palette.FilledInput.hoverBg:s,"@media (hover: none)":{backgroundColor:e.vars?e.vars.palette.FilledInput.bg:a}},[`&.${p.A.focused}`]:{backgroundColor:e.vars?e.vars.palette.FilledInput.bg:a},[`&.${p.A.disabled}`]:{backgroundColor:e.vars?e.vars.palette.FilledInput.disabledBg:l}},!t.disableUnderline&&{"&::after":{borderBottom:`2px solid ${null==(n=(e.vars||e).palette[t.color||"primary"])?void 0:n.main}`,left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),pointerEvents:"none"},[`&.${p.A.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${p.A.error}`]:{"&::before, &::after":{borderBottomColor:(e.vars||e).palette.error.main}},"&::before":{borderBottom:`1px solid ${e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / ${e.vars.opacity.inputUnderline})`:i}`,left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:e.transitions.create("border-bottom-color",{duration:e.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${p.A.disabled}, .${p.A.error}):before`]:{borderBottom:`1px solid ${(e.vars||e).palette.text.primary}`},[`&.${p.A.disabled}:before`]:{borderBottomStyle:"dotted"}},t.startAdornment&&{paddingLeft:12},t.endAdornment&&{paddingRight:12},t.multiline&&(0,o.A)({padding:"25px 12px 8px"},"small"===t.size&&{paddingTop:21,paddingBottom:4},t.hiddenLabel&&{paddingTop:16,paddingBottom:17},t.hiddenLabel&&"small"===t.size&&{paddingTop:8,paddingBottom:9}))})),g=(0,c.Ay)(l.f3,{name:"MuiFilledInput",slot:"Input",overridesResolver:l.Oj})((({theme:e,ownerState:t})=>(0,o.A)({paddingTop:25,paddingRight:12,paddingBottom:8,paddingLeft:12},!e.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:"light"===e.palette.mode?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:"light"===e.palette.mode?null:"#fff",caretColor:"light"===e.palette.mode?null:"#fff",borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"}},e.vars&&{"&:-webkit-autofill":{borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"},[e.getColorSchemeSelector("dark")]:{"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #266798 inset",WebkitTextFillColor:"#fff",caretColor:"#fff"}}},"small"===t.size&&{paddingTop:21,paddingBottom:4},t.hiddenLabel&&{paddingTop:16,paddingBottom:17},t.startAdornment&&{paddingLeft:0},t.endAdornment&&{paddingRight:0},t.hiddenLabel&&"small"===t.size&&{paddingTop:8,paddingBottom:9},t.multiline&&{paddingTop:0,paddingBottom:0,paddingLeft:0,paddingRight:0}))),v=i.forwardRef((function(e,t){var n,i,c,u;const v=(0,d.b)({props:e,name:"MuiFilledInput"}),{components:y={},componentsProps:b,fullWidth:x=!1,inputComponent:w="input",multiline:A=!1,slotProps:_,slots:S={},type:k="text"}=v,C=(0,r.A)(v,h),T=(0,o.A)({},v,{fullWidth:x,inputComponent:w,multiline:A,type:k}),M=(e=>{const{classes:t,disableUnderline:n}=e,r={root:["root",!n&&"underline"],input:["input"]},i=(0,s.A)(r,p.N,t);return(0,o.A)({},t,i)})(v),P={root:{ownerState:T},input:{ownerState:T}},O=(null!=_?_:b)?(0,a.A)(P,null!=_?_:b):P,E=null!=(n=null!=(i=S.root)?i:y.Root)?n:m,D=null!=(c=null!=(u=S.input)?u:y.Input)?c:g;return(0,f.jsx)(l.Ay,(0,o.A)({slots:{root:E,input:D},componentsProps:O,fullWidth:x,inputComponent:w,multiline:A,ref:t,type:k},C,{classes:M}))}));v.muiName="Input",t.A=v},6959:function(e,t,n){"use strict";n.d(t,{N:function(){return s}});var r=n(58168),o=n(38413),i=n(31609),a=n(51175);function s(e){return(0,i.Ay)("MuiFilledInput",e)}const l=(0,r.A)({},a.A,(0,o.A)("MuiFilledInput",["root","underline","input"]));t.A=l},45359:function(e,t,n){"use strict";var r=n(98587),o=n(58168),i=n(96540),a=n(34164),s=n(75659),l=n(25669),c=n(11848),u=n(82891),d=n(28466),p=n(36767),f=n(33800),h=n(52187),m=n(74848);const g=["children","className","color","component","disabled","error","focused","fullWidth","hiddenLabel","margin","required","size","variant"],v=(0,c.Ay)("div",{name:"MuiFormControl",slot:"Root",overridesResolver:({ownerState:e},t)=>(0,o.A)({},t.root,t[`margin${(0,d.A)(e.margin)}`],e.fullWidth&&t.fullWidth)})((({ownerState:e})=>(0,o.A)({display:"inline-flex",flexDirection:"column",position:"relative",minWidth:0,padding:0,margin:0,border:0,verticalAlign:"top"},"normal"===e.margin&&{marginTop:16,marginBottom:8},"dense"===e.margin&&{marginTop:8,marginBottom:4},e.fullWidth&&{width:"100%"}))),y=i.forwardRef((function(e,t){const n=(0,l.b)({props:e,name:"MuiFormControl"}),{children:c,className:y,color:b="primary",component:x="div",disabled:w=!1,error:A=!1,focused:_,fullWidth:S=!1,hiddenLabel:k=!1,margin:C="none",required:T=!1,size:M="medium",variant:P="outlined"}=n,O=(0,r.A)(n,g),E=(0,o.A)({},n,{color:b,component:x,disabled:w,error:A,fullWidth:S,hiddenLabel:k,margin:C,required:T,size:M,variant:P}),D=(e=>{const{classes:t,margin:n,fullWidth:r}=e,o={root:["root","none"!==n&&`margin${(0,d.A)(n)}`,r&&"fullWidth"]};return(0,s.A)(o,h.c,t)})(E),[R,I]=i.useState((()=>{let e=!1;return c&&i.Children.forEach(c,(t=>{if(!(0,p.A)(t,["Input","Select"]))return;const n=(0,p.A)(t,["Select"])?t.props.input:t;n&&(0,u.gr)(n.props)&&(e=!0)})),e})),[N,L]=i.useState((()=>{let e=!1;return c&&i.Children.forEach(c,(t=>{(0,p.A)(t,["Input","Select"])&&((0,u.lq)(t.props,!0)||(0,u.lq)(t.props.inputProps,!0))&&(e=!0)})),e})),[j,$]=i.useState(!1);w&&j&&$(!1);const z=void 0===_||w?j:_;let F;const B=i.useMemo((()=>({adornedStart:R,setAdornedStart:I,color:b,disabled:w,error:A,filled:N,focused:z,fullWidth:S,hiddenLabel:k,size:M,onBlur:()=>{$(!1)},onEmpty:()=>{L(!1)},onFilled:()=>{L(!0)},onFocus:()=>{$(!0)},registerEffect:F,required:T,variant:P})),[R,b,w,A,N,z,S,k,F,T,M,P]);return(0,m.jsx)(f.A.Provider,{value:B,children:(0,m.jsx)(v,(0,o.A)({as:x,ownerState:E,className:(0,a.A)(D.root,y),ref:t},O,{children:c}))})}));t.A=y},33800:function(e,t,n){"use strict";const r=n(96540).createContext(void 0);t.A=r},52187:function(e,t,n){"use strict";n.d(t,{c:function(){return i}});var r=n(38413),o=n(31609);function i(e){return(0,o.Ay)("MuiFormControl",e)}const a=(0,r.A)("MuiFormControl",["root","marginNone","marginNormal","marginDense","fullWidth","disabled"]);t.A=a},38086:function(e,t,n){"use strict";function r({props:e,states:t,muiFormControl:n}){return t.reduce(((t,r)=>(t[r]=e[r],n&&void 0===e[r]&&(t[r]=n[r]),t)),{})}n.d(t,{A:function(){return r}})},79716:function(e,t,n){"use strict";n.d(t,{A:function(){return i}});var r=n(96540),o=n(33800);function i(){return r.useContext(o.A)}},1775:function(e,t,n){"use strict";var r=n(98587),o=n(58168),i=n(96540),a=n(34164),s=n(75659),l=n(79716),c=n(30995),u=n(33551),d=n(28466),p=n(11848),f=n(25669),h=n(86843),m=n(38086),g=n(74848);const v=["checked","className","componentsProps","control","disabled","disableTypography","inputRef","label","labelPlacement","name","onChange","required","slotProps","value"],y=(0,p.Ay)("label",{name:"MuiFormControlLabel",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${h.A.label}`]:t.label},t.root,t[`labelPlacement${(0,d.A)(n.labelPlacement)}`]]}})((({theme:e,ownerState:t})=>(0,o.A)({display:"inline-flex",alignItems:"center",cursor:"pointer",verticalAlign:"middle",WebkitTapHighlightColor:"transparent",marginLeft:-11,marginRight:16,[`&.${h.A.disabled}`]:{cursor:"default"}},"start"===t.labelPlacement&&{flexDirection:"row-reverse",marginLeft:16,marginRight:-11},"top"===t.labelPlacement&&{flexDirection:"column-reverse",marginLeft:16},"bottom"===t.labelPlacement&&{flexDirection:"column",marginLeft:16},{[`& .${h.A.label}`]:{[`&.${h.A.disabled}`]:{color:(e.vars||e).palette.text.disabled}}}))),b=(0,p.Ay)("span",{name:"MuiFormControlLabel",slot:"Asterisk",overridesResolver:(e,t)=>t.asterisk})((({theme:e})=>({[`&.${h.A.error}`]:{color:(e.vars||e).palette.error.main}}))),x=i.forwardRef((function(e,t){var n,p;const x=(0,f.b)({props:e,name:"MuiFormControlLabel"}),{className:w,componentsProps:A={},control:_,disabled:S,disableTypography:k,label:C,labelPlacement:T="end",required:M,slotProps:P={}}=x,O=(0,r.A)(x,v),E=(0,l.A)(),D=null!=(n=null!=S?S:_.props.disabled)?n:null==E?void 0:E.disabled,R=null!=M?M:_.props.required,I={disabled:D,required:R};["checked","name","onChange","value","inputRef"].forEach((e=>{void 0===_.props[e]&&void 0!==x[e]&&(I[e]=x[e])}));const N=(0,m.A)({props:x,muiFormControl:E,states:["error"]}),L=(0,o.A)({},x,{disabled:D,labelPlacement:T,required:R,error:N.error}),j=(e=>{const{classes:t,disabled:n,labelPlacement:r,error:o,required:i}=e,a={root:["root",n&&"disabled",`labelPlacement${(0,d.A)(r)}`,o&&"error",i&&"required"],label:["label",n&&"disabled"],asterisk:["asterisk",o&&"error"]};return(0,s.A)(a,h.u,t)})(L),$=null!=(p=P.typography)?p:A.typography;let z=C;return null==z||z.type===u.A||k||(z=(0,g.jsx)(u.A,(0,o.A)({component:"span"},$,{className:(0,a.A)(j.label,null==$?void 0:$.className),children:z}))),(0,g.jsxs)(y,(0,o.A)({className:(0,a.A)(j.root,w),ownerState:L,ref:t},O,{children:[i.cloneElement(_,I),R?(0,g.jsxs)(c.A,{display:"block",children:[z,(0,g.jsxs)(b,{ownerState:L,"aria-hidden":!0,className:j.asterisk,children:[" ","*"]})]}):z]}))}));t.A=x},86843:function(e,t,n){"use strict";n.d(t,{u:function(){return i}});var r=n(38413),o=n(31609);function i(e){return(0,o.Ay)("MuiFormControlLabel",e)}const a=(0,r.A)("MuiFormControlLabel",["root","labelPlacementStart","labelPlacementTop","labelPlacementBottom","disabled","label","error","required","asterisk"]);t.A=a},71802:function(e,t,n){"use strict";if(n.r(t),n.d(t,{default:function(){return r.A},formControlLabelClasses:function(){return o.A},getFormControlLabelUtilityClasses:function(){return o.u}}),9279==n.j)var r=n(1775);var o=n(86843)},22079:function(e,t,n){"use strict";var r=n(98587),o=n(58168),i=n(96540),a=n(34164),s=n(75659),l=n(11848),c=n(25669),u=n(27659),d=n(79716),p=n(38086),f=n(74848);const h=["className","row"],m=(0,l.Ay)("div",{name:"MuiFormGroup",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.row&&t.row]}})((({ownerState:e})=>(0,o.A)({display:"flex",flexDirection:"column",flexWrap:"wrap"},e.row&&{flexDirection:"row"}))),g=i.forwardRef((function(e,t){const n=(0,c.b)({props:e,name:"MuiFormGroup"}),{className:i,row:l=!1}=n,g=(0,r.A)(n,h),v=(0,d.A)(),y=(0,p.A)({props:n,muiFormControl:v,states:["error"]}),b=(0,o.A)({},n,{row:l,error:y.error}),x=(e=>{const{classes:t,row:n,error:r}=e,o={root:["root",n&&"row",r&&"error"]};return(0,s.A)(o,u.c,t)})(b);return(0,f.jsx)(m,(0,o.A)({className:(0,a.A)(x.root,i),ownerState:b,ref:t},g))}));t.A=g},27659:function(e,t,n){"use strict";n.d(t,{c:function(){return i}});var r=n(38413),o=n(31609);function i(e){return(0,o.Ay)("MuiFormGroup",e)}const a=(0,r.A)("MuiFormGroup",["root","row","error"]);t.A=a},29010:function(e,t,n){"use strict";if(n.r(t),n.d(t,{default:function(){return r.A},formGroupClasses:function(){return o.A},getFormGroupUtilityClass:function(){return o.c}}),9279==n.j)var r=n(22079);var o=n(27659)},80607:function(e,t,n){"use strict";var r,o=n(98587),i=n(58168),a=n(96540),s=n(34164),l=n(75659),c=n(38086),u=n(79716),d=n(11848),p=n(28466),f=n(92715),h=n(25669),m=n(74848);const g=["children","className","component","disabled","error","filled","focused","margin","required","variant"],v=(0,d.Ay)("p",{name:"MuiFormHelperText",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.size&&t[`size${(0,p.A)(n.size)}`],n.contained&&t.contained,n.filled&&t.filled]}})((({theme:e,ownerState:t})=>(0,i.A)({color:(e.vars||e).palette.text.secondary},e.typography.caption,{textAlign:"left",marginTop:3,marginRight:0,marginBottom:0,marginLeft:0,[`&.${f.A.disabled}`]:{color:(e.vars||e).palette.text.disabled},[`&.${f.A.error}`]:{color:(e.vars||e).palette.error.main}},"small"===t.size&&{marginTop:4},t.contained&&{marginLeft:14,marginRight:14}))),y=a.forwardRef((function(e,t){const n=(0,h.b)({props:e,name:"MuiFormHelperText"}),{children:a,className:d,component:y="p"}=n,b=(0,o.A)(n,g),x=(0,u.A)(),w=(0,c.A)({props:n,muiFormControl:x,states:["variant","size","disabled","error","filled","focused","required"]}),A=(0,i.A)({},n,{component:y,contained:"filled"===w.variant||"outlined"===w.variant,variant:w.variant,size:w.size,disabled:w.disabled,error:w.error,filled:w.filled,focused:w.focused,required:w.required}),_=(e=>{const{classes:t,contained:n,size:r,disabled:o,error:i,filled:a,focused:s,required:c}=e,u={root:["root",o&&"disabled",i&&"error",r&&`size${(0,p.A)(r)}`,n&&"contained",s&&"focused",a&&"filled",c&&"required"]};return(0,l.A)(u,f.h,t)})(A);return(0,m.jsx)(v,(0,i.A)({as:y,ownerState:A,className:(0,s.A)(_.root,d),ref:t},b,{children:" "===a?r||(r=(0,m.jsx)("span",{className:"notranslate",children:"​"})):a}))}));t.A=y},92715:function(e,t,n){"use strict";n.d(t,{h:function(){return i}});var r=n(38413),o=n(31609);function i(e){return(0,o.Ay)("MuiFormHelperText",e)}const a=(0,r.A)("MuiFormHelperText",["root","error","disabled","sizeSmall","sizeMedium","contained","focused","filled","required"]);t.A=a},69307:function(e,t,n){"use strict";n.d(t,{d:function(){return g}});var r=n(98587),o=n(58168),i=n(96540),a=n(34164),s=n(75659),l=n(38086),c=n(79716),u=n(28466),d=n(25669),p=n(11848),f=n(8892),h=n(74848);const m=["children","className","color","component","disabled","error","filled","focused","required"],g=(0,p.Ay)("label",{name:"MuiFormLabel",slot:"Root",overridesResolver:({ownerState:e},t)=>(0,o.A)({},t.root,"secondary"===e.color&&t.colorSecondary,e.filled&&t.filled)})((({theme:e,ownerState:t})=>(0,o.A)({color:(e.vars||e).palette.text.secondary},e.typography.body1,{lineHeight:"1.4375em",padding:0,position:"relative",[`&.${f.A.focused}`]:{color:(e.vars||e).palette[t.color].main},[`&.${f.A.disabled}`]:{color:(e.vars||e).palette.text.disabled},[`&.${f.A.error}`]:{color:(e.vars||e).palette.error.main}}))),v=(0,p.Ay)("span",{name:"MuiFormLabel",slot:"Asterisk",overridesResolver:(e,t)=>t.asterisk})((({theme:e})=>({[`&.${f.A.error}`]:{color:(e.vars||e).palette.error.main}}))),y=i.forwardRef((function(e,t){const n=(0,d.b)({props:e,name:"MuiFormLabel"}),{children:i,className:p,component:y="label"}=n,b=(0,r.A)(n,m),x=(0,c.A)(),w=(0,l.A)({props:n,muiFormControl:x,states:["color","required","focused","disabled","error","filled"]}),A=(0,o.A)({},n,{color:w.color||"primary",component:y,disabled:w.disabled,error:w.error,filled:w.filled,focused:w.focused,required:w.required}),_=(e=>{const{classes:t,color:n,focused:r,disabled:o,error:i,filled:a,required:l}=e,c={root:["root",`color${(0,u.A)(n)}`,o&&"disabled",i&&"error",a&&"filled",r&&"focused",l&&"required"],asterisk:["asterisk",i&&"error"]};return(0,s.A)(c,f.Z,t)})(A);return(0,h.jsxs)(g,(0,o.A)({as:y,ownerState:A,className:(0,a.A)(_.root,p),ref:t},b,{children:[i,w.required&&(0,h.jsxs)(v,{ownerState:A,"aria-hidden":!0,className:_.asterisk,children:[" ","*"]})]}))}));t.A=y},8892:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(38413),o=n(31609);function i(e){return(0,o.Ay)("MuiFormLabel",e)}const a=(0,r.A)("MuiFormLabel",["root","colorSecondary","focused","disabled","error","filled","required","asterisk"]);t.A=a},59839:function(e,t,n){"use strict";n.d(t,{A:function(){return u}});var r=n(58168),o=(n(96540),n(39940)),i=n(82858),a=n(74848);var s=function({styles:e,themeId:t,defaultTheme:n={}}){const r=(0,i.A)(n),s="function"==typeof e?e(t&&r[t]||r):e;return(0,a.jsx)(o.A,{styles:s})},l=n(22765),c=n(58312);var u=function(e){return(0,a.jsx)(s,(0,r.A)({},e,{defaultTheme:l.A,themeId:c.A}))}},87467:function(e,t,n){"use strict";var r=n(58168),o=n(98587),i=n(96540),a=n(33068),s=n(80851),l=n(44675),c=n(35186),u=n(96852),d=n(74848);const p=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"];function f(e){return`scale(${e}, ${e**2})`}const h={entering:{opacity:1,transform:f(1)},entered:{opacity:1,transform:"none"}},m="undefined"!=typeof navigator&&/^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent)&&/(os |version\/)15(.|_)4/i.test(navigator.userAgent),g=i.forwardRef((function(e,t){const{addEndListener:n,appear:g=!0,children:v,easing:y,in:b,onEnter:x,onEntered:w,onEntering:A,onExit:_,onExited:S,onExiting:k,style:C,timeout:T="auto",TransitionComponent:M=s.Ay}=e,P=(0,o.A)(e,p),O=(0,a.A)(),E=i.useRef(),D=(0,l.A)(),R=i.useRef(null),I=(0,u.A)(R,v.ref,t),N=e=>t=>{if(e){const n=R.current;void 0===t?e(n):e(n,t)}},L=N(A),j=N(((e,t)=>{(0,c.q)(e);const{duration:n,delay:r,easing:o}=(0,c.c)({style:C,timeout:T,easing:y},{mode:"enter"});let i;"auto"===T?(i=D.transitions.getAutoHeightDuration(e.clientHeight),E.current=i):i=n,e.style.transition=[D.transitions.create("opacity",{duration:i,delay:r}),D.transitions.create("transform",{duration:m?i:.666*i,delay:r,easing:o})].join(","),x&&x(e,t)})),$=N(w),z=N(k),F=N((e=>{const{duration:t,delay:n,easing:r}=(0,c.c)({style:C,timeout:T,easing:y},{mode:"exit"});let o;"auto"===T?(o=D.transitions.getAutoHeightDuration(e.clientHeight),E.current=o):o=t,e.style.transition=[D.transitions.create("opacity",{duration:o,delay:n}),D.transitions.create("transform",{duration:m?o:.666*o,delay:m?n:n||.333*o,easing:r})].join(","),e.style.opacity=0,e.style.transform=f(.75),_&&_(e)})),B=N(S);return(0,d.jsx)(M,(0,r.A)({appear:g,in:b,nodeRef:R,onEnter:j,onEntered:$,onEntering:L,onExit:F,onExited:B,onExiting:z,addEndListener:e=>{"auto"===T&&O.start(E.current||0,e),n&&n(R.current,e)},timeout:"auto"===T?null:T},P,{children:(e,t)=>i.cloneElement(v,(0,r.A)({style:(0,r.A)({opacity:0,transform:f(.75),visibility:"exited"!==e||b?void 0:"hidden"},h[e],C,v.props.style),ref:I},t))}))}));g.muiSupportAuto=!0,t.A=g},19455:function(e,t,n){"use strict";var r=n(98587),o=n(58168),i=n(96540),a=n(34164),s=n(75659),l=n(771),c=n(11848),u=n(25669),d=n(9934),p=n(28466),f=n(40267),h=n(74848);const m=["edge","children","className","color","disabled","disableFocusRipple","size"],g=(0,c.Ay)(d.A,{name:"MuiIconButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,"default"!==n.color&&t[`color${(0,p.A)(n.color)}`],n.edge&&t[`edge${(0,p.A)(n.edge)}`],t[`size${(0,p.A)(n.size)}`]]}})((({theme:e,ownerState:t})=>(0,o.A)({textAlign:"center",flex:"0 0 auto",fontSize:e.typography.pxToRem(24),padding:8,borderRadius:"50%",overflow:"visible",color:(e.vars||e).palette.action.active,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest})},!t.disableRipple&&{"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,l.X4)(e.palette.action.active,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"start"===t.edge&&{marginLeft:"small"===t.size?-3:-12},"end"===t.edge&&{marginRight:"small"===t.size?-3:-12})),(({theme:e,ownerState:t})=>{var n;const r=null==(n=(e.vars||e).palette)?void 0:n[t.color];return(0,o.A)({},"inherit"===t.color&&{color:"inherit"},"inherit"!==t.color&&"default"!==t.color&&(0,o.A)({color:null==r?void 0:r.main},!t.disableRipple&&{"&:hover":(0,o.A)({},r&&{backgroundColor:e.vars?`rgba(${r.mainChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,l.X4)(r.main,e.palette.action.hoverOpacity)},{"@media (hover: none)":{backgroundColor:"transparent"}})}),"small"===t.size&&{padding:5,fontSize:e.typography.pxToRem(18)},"large"===t.size&&{padding:12,fontSize:e.typography.pxToRem(28)},{[`&.${f.A.disabled}`]:{backgroundColor:"transparent",color:(e.vars||e).palette.action.disabled}})})),v=i.forwardRef((function(e,t){const n=(0,u.b)({props:e,name:"MuiIconButton"}),{edge:i=!1,children:l,className:c,color:d="default",disabled:v=!1,disableFocusRipple:y=!1,size:b="medium"}=n,x=(0,r.A)(n,m),w=(0,o.A)({},n,{edge:i,color:d,disabled:v,disableFocusRipple:y,size:b}),A=(e=>{const{classes:t,disabled:n,color:r,edge:o,size:i}=e,a={root:["root",n&&"disabled","default"!==r&&`color${(0,p.A)(r)}`,o&&`edge${(0,p.A)(o)}`,`size${(0,p.A)(i)}`]};return(0,s.A)(a,f.G,t)})(w);return(0,h.jsx)(g,(0,o.A)({className:(0,a.A)(A.root,c),centerRipple:!0,focusRipple:!y,disabled:v,ref:t},x,{ownerState:w,children:l}))}));t.A=v},40267:function(e,t,n){"use strict";n.d(t,{G:function(){return i}});var r=n(38413),o=n(31609);function i(e){return(0,o.Ay)("MuiIconButton",e)}const a=(0,r.A)("MuiIconButton",["root","disabled","colorInherit","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","edgeStart","edgeEnd","sizeSmall","sizeMedium","sizeLarge"]);t.A=a},77623:function(e,t,n){"use strict";var r=n(98587),o=n(58168),i=n(96540),a=n(75659),s=n(11317),l=n(63008),c=n(11848),u=n(39770),d=n(25669),p=n(25571),f=n(74848);const h=["disableUnderline","components","componentsProps","fullWidth","inputComponent","multiline","slotProps","slots","type"],m=(0,c.Ay)(l.Sh,{shouldForwardProp:e=>(0,u.A)(e)||"classes"===e,name:"MuiInput",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[...(0,l.WC)(e,t),!n.disableUnderline&&t.underline]}})((({theme:e,ownerState:t})=>{let n="light"===e.palette.mode?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)";return e.vars&&(n=`rgba(${e.vars.palette.common.onBackgroundChannel} / ${e.vars.opacity.inputUnderline})`),(0,o.A)({position:"relative"},t.formControl&&{"label + &":{marginTop:16}},!t.disableUnderline&&{"&::after":{borderBottom:`2px solid ${(e.vars||e).palette[t.color].main}`,left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),pointerEvents:"none"},[`&.${p.A.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${p.A.error}`]:{"&::before, &::after":{borderBottomColor:(e.vars||e).palette.error.main}},"&::before":{borderBottom:`1px solid ${n}`,left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:e.transitions.create("border-bottom-color",{duration:e.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${p.A.disabled}, .${p.A.error}):before`]:{borderBottom:`2px solid ${(e.vars||e).palette.text.primary}`,"@media (hover: none)":{borderBottom:`1px solid ${n}`}},[`&.${p.A.disabled}:before`]:{borderBottomStyle:"dotted"}})})),g=(0,c.Ay)(l.f3,{name:"MuiInput",slot:"Input",overridesResolver:l.Oj})({}),v=i.forwardRef((function(e,t){var n,i,c,u;const v=(0,d.b)({props:e,name:"MuiInput"}),{disableUnderline:y,components:b={},componentsProps:x,fullWidth:w=!1,inputComponent:A="input",multiline:_=!1,slotProps:S,slots:k={},type:C="text"}=v,T=(0,r.A)(v,h),M=(e=>{const{classes:t,disableUnderline:n}=e,r={root:["root",!n&&"underline"],input:["input"]},i=(0,a.A)(r,p.B,t);return(0,o.A)({},t,i)})(v),P={root:{ownerState:{disableUnderline:y}}},O=(null!=S?S:x)?(0,s.A)(null!=S?S:x,P):P,E=null!=(n=null!=(i=k.root)?i:b.Root)?n:m,D=null!=(c=null!=(u=k.input)?u:b.Input)?c:g;return(0,f.jsx)(l.Ay,(0,o.A)({slots:{root:E,input:D},slotProps:O,fullWidth:w,inputComponent:A,multiline:_,ref:t,type:C},T,{classes:M}))}));v.muiName="Input",t.A=v},25571:function(e,t,n){"use strict";n.d(t,{B:function(){return s}});var r=n(58168),o=n(38413),i=n(31609),a=n(51175);function s(e){return(0,i.Ay)("MuiInput",e)}const l=(0,r.A)({},a.A,(0,o.A)("MuiInput",["root","underline","input"]));t.A=l},29153:function(e,t,n){"use strict";var r,o=n(98587),i=n(58168),a=n(96540),s=n(34164),l=n(75659),c=n(28466),u=n(33551),d=n(33800),p=n(79716),f=n(11848),h=n(80977),m=n(25669),g=n(74848);const v=["children","className","component","disablePointerEvents","disableTypography","position","variant"],y=(0,f.Ay)("div",{name:"MuiInputAdornment",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`position${(0,c.A)(n.position)}`],!0===n.disablePointerEvents&&t.disablePointerEvents,t[n.variant]]}})((({theme:e,ownerState:t})=>(0,i.A)({display:"flex",height:"0.01em",maxHeight:"2em",alignItems:"center",whiteSpace:"nowrap",color:(e.vars||e).palette.action.active},"filled"===t.variant&&{[`&.${h.A.positionStart}&:not(.${h.A.hiddenLabel})`]:{marginTop:16}},"start"===t.position&&{marginRight:8},"end"===t.position&&{marginLeft:8},!0===t.disablePointerEvents&&{pointerEvents:"none"}))),b=a.forwardRef((function(e,t){const n=(0,m.b)({props:e,name:"MuiInputAdornment"}),{children:f,className:b,component:x="div",disablePointerEvents:w=!1,disableTypography:A=!1,position:_,variant:S}=n,k=(0,o.A)(n,v),C=(0,p.A)()||{};let T=S;S&&C.variant,C&&!T&&(T=C.variant);const M=(0,i.A)({},n,{hiddenLabel:C.hiddenLabel,size:C.size,disablePointerEvents:w,position:_,variant:T}),P=(e=>{const{classes:t,disablePointerEvents:n,hiddenLabel:r,position:o,size:i,variant:a}=e,s={root:["root",n&&"disablePointerEvents",o&&`position${(0,c.A)(o)}`,a,r&&"hiddenLabel",i&&`size${(0,c.A)(i)}`]};return(0,l.A)(s,h.P,t)})(M);return(0,g.jsx)(d.A.Provider,{value:null,children:(0,g.jsx)(y,(0,i.A)({as:x,ownerState:M,className:(0,s.A)(P.root,b),ref:t},k,{children:"string"!=typeof f||A?(0,g.jsxs)(a.Fragment,{children:["start"===_?r||(r=(0,g.jsx)("span",{className:"notranslate",children:"​"})):null,f]}):(0,g.jsx)(u.A,{color:"text.secondary",children:f})}))})}));t.A=b},80977:function(e,t,n){"use strict";n.d(t,{P:function(){return i}});var r=n(38413),o=n(31609);function i(e){return(0,o.Ay)("MuiInputAdornment",e)}const a=(0,r.A)("MuiInputAdornment",["root","filled","standard","outlined","positionStart","positionEnd","disablePointerEvents","hiddenLabel","sizeSmall"]);t.A=a},63008:function(e,t,n){"use strict";n.d(t,{Oj:function(){return k},Sh:function(){return C},WC:function(){return S},f3:function(){return T}});var r=n(98587),o=n(58168),i=n(89453),a=n(96540),s=n(34164),l=n(75659),c=n(52197),u=n(3561),d=n(38086),p=n(33800),f=n(79716),h=n(11848),m=n(25669),g=n(28466),v=n(96852),y=n(2778),b=n(59839),x=n(82891),w=n(51175),A=n(74848);const _=["aria-describedby","autoComplete","autoFocus","className","color","components","componentsProps","defaultValue","disabled","disableInjectingGlobalStyles","endAdornment","error","fullWidth","id","inputComponent","inputProps","inputRef","margin","maxRows","minRows","multiline","name","onBlur","onChange","onClick","onFocus","onKeyDown","onKeyUp","placeholder","readOnly","renderSuffix","rows","size","slotProps","slots","startAdornment","type","value"],S=(e,t)=>{const{ownerState:n}=e;return[t.root,n.formControl&&t.formControl,n.startAdornment&&t.adornedStart,n.endAdornment&&t.adornedEnd,n.error&&t.error,"small"===n.size&&t.sizeSmall,n.multiline&&t.multiline,n.color&&t[`color${(0,g.A)(n.color)}`],n.fullWidth&&t.fullWidth,n.hiddenLabel&&t.hiddenLabel]},k=(e,t)=>{const{ownerState:n}=e;return[t.input,"small"===n.size&&t.inputSizeSmall,n.multiline&&t.inputMultiline,"search"===n.type&&t.inputTypeSearch,n.startAdornment&&t.inputAdornedStart,n.endAdornment&&t.inputAdornedEnd,n.hiddenLabel&&t.inputHiddenLabel]},C=(0,h.Ay)("div",{name:"MuiInputBase",slot:"Root",overridesResolver:S})((({theme:e,ownerState:t})=>(0,o.A)({},e.typography.body1,{color:(e.vars||e).palette.text.primary,lineHeight:"1.4375em",boxSizing:"border-box",position:"relative",cursor:"text",display:"inline-flex",alignItems:"center",[`&.${w.A.disabled}`]:{color:(e.vars||e).palette.text.disabled,cursor:"default"}},t.multiline&&(0,o.A)({padding:"4px 0 5px"},"small"===t.size&&{paddingTop:1}),t.fullWidth&&{width:"100%"}))),T=(0,h.Ay)("input",{name:"MuiInputBase",slot:"Input",overridesResolver:k})((({theme:e,ownerState:t})=>{const n="light"===e.palette.mode,r=(0,o.A)({color:"currentColor"},e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:n?.42:.5},{transition:e.transitions.create("opacity",{duration:e.transitions.duration.shorter})}),i={opacity:"0 !important"},a=e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:n?.42:.5};return(0,o.A)({font:"inherit",letterSpacing:"inherit",color:"currentColor",padding:"4px 0 5px",border:0,boxSizing:"content-box",background:"none",height:"1.4375em",margin:0,WebkitTapHighlightColor:"transparent",display:"block",minWidth:0,width:"100%",animationName:"mui-auto-fill-cancel",animationDuration:"10ms","&::-webkit-input-placeholder":r,"&::-moz-placeholder":r,"&:-ms-input-placeholder":r,"&::-ms-input-placeholder":r,"&:focus":{outline:0},"&:invalid":{boxShadow:"none"},"&::-webkit-search-decoration":{WebkitAppearance:"none"},[`label[data-shrink=false] + .${w.A.formControl} &`]:{"&::-webkit-input-placeholder":i,"&::-moz-placeholder":i,"&:-ms-input-placeholder":i,"&::-ms-input-placeholder":i,"&:focus::-webkit-input-placeholder":a,"&:focus::-moz-placeholder":a,"&:focus:-ms-input-placeholder":a,"&:focus::-ms-input-placeholder":a},[`&.${w.A.disabled}`]:{opacity:1,WebkitTextFillColor:(e.vars||e).palette.text.disabled},"&:-webkit-autofill":{animationDuration:"5000s",animationName:"mui-auto-fill"}},"small"===t.size&&{paddingTop:1},t.multiline&&{height:"auto",resize:"none",padding:0,paddingTop:0},"search"===t.type&&{MozAppearance:"textfield"})})),M=(0,A.jsx)(b.A,{styles:{"@keyframes mui-auto-fill":{from:{display:"block"}},"@keyframes mui-auto-fill-cancel":{from:{display:"block"}}}}),P=a.forwardRef((function(e,t){var n;const h=(0,m.b)({props:e,name:"MuiInputBase"}),{"aria-describedby":b,autoComplete:S,autoFocus:k,className:P,components:O={},componentsProps:E={},defaultValue:D,disabled:R,disableInjectingGlobalStyles:I,endAdornment:N,fullWidth:L=!1,id:j,inputComponent:$="input",inputProps:z={},inputRef:F,maxRows:B,minRows:H,multiline:V=!1,name:W,onBlur:U,onChange:q,onClick:G,onFocus:Y,onKeyDown:X,onKeyUp:K,placeholder:Z,readOnly:J,renderSuffix:Q,rows:ee,slotProps:te={},slots:ne={},startAdornment:re,type:oe="text",value:ie}=h,ae=(0,r.A)(h,_),se=null!=z.value?z.value:ie,{current:le}=a.useRef(null!=se),ce=a.useRef(),ue=a.useCallback((e=>{0}),[]),de=(0,v.A)(ce,F,z.ref,ue),[pe,fe]=a.useState(!1),he=(0,f.A)();const me=(0,d.A)({props:h,muiFormControl:he,states:["color","disabled","error","hiddenLabel","size","required","filled"]});me.focused=he?he.focused:pe,a.useEffect((()=>{!he&&R&&pe&&(fe(!1),U&&U())}),[he,R,pe,U]);const ge=he&&he.onFilled,ve=he&&he.onEmpty,ye=a.useCallback((e=>{(0,x.lq)(e)?ge&&ge():ve&&ve()}),[ge,ve]);(0,y.A)((()=>{le&&ye({value:se})}),[se,ye,le]);a.useEffect((()=>{ye(ce.current)}),[]);let be=$,xe=z;V&&"input"===be&&(xe=ee?(0,o.A)({type:void 0,minRows:ee,maxRows:ee},xe):(0,o.A)({type:void 0,maxRows:B,minRows:H},xe),be=u.A);a.useEffect((()=>{he&&he.setAdornedStart(Boolean(re))}),[he,re]);const we=(0,o.A)({},h,{color:me.color||"primary",disabled:me.disabled,endAdornment:N,error:me.error,focused:me.focused,formControl:he,fullWidth:L,hiddenLabel:me.hiddenLabel,multiline:V,size:me.size,startAdornment:re,type:oe}),Ae=(e=>{const{classes:t,color:n,disabled:r,error:o,endAdornment:i,focused:a,formControl:s,fullWidth:c,hiddenLabel:u,multiline:d,readOnly:p,size:f,startAdornment:h,type:m}=e,v={root:["root",`color${(0,g.A)(n)}`,r&&"disabled",o&&"error",c&&"fullWidth",a&&"focused",s&&"formControl",f&&"medium"!==f&&`size${(0,g.A)(f)}`,d&&"multiline",h&&"adornedStart",i&&"adornedEnd",u&&"hiddenLabel",p&&"readOnly"],input:["input",r&&"disabled","search"===m&&"inputTypeSearch",d&&"inputMultiline","small"===f&&"inputSizeSmall",u&&"inputHiddenLabel",h&&"inputAdornedStart",i&&"inputAdornedEnd",p&&"readOnly"]};return(0,l.A)(v,w.g,t)})(we),_e=ne.root||O.Root||C,Se=te.root||E.root||{},ke=ne.input||O.Input||T;return xe=(0,o.A)({},xe,null!=(n=te.input)?n:E.input),(0,A.jsxs)(a.Fragment,{children:[!I&&M,(0,A.jsxs)(_e,(0,o.A)({},Se,!(0,c.A)(_e)&&{ownerState:(0,o.A)({},we,Se.ownerState)},{ref:t,onClick:e=>{ce.current&&e.currentTarget===e.target&&ce.current.focus(),G&&G(e)}},ae,{className:(0,s.A)(Ae.root,Se.className,P,J&&"MuiInputBase-readOnly"),children:[re,(0,A.jsx)(p.A.Provider,{value:null,children:(0,A.jsx)(ke,(0,o.A)({ownerState:we,"aria-invalid":me.error,"aria-describedby":b,autoComplete:S,autoFocus:k,defaultValue:D,disabled:me.disabled,id:j,onAnimationStart:e=>{ye("mui-auto-fill-cancel"===e.animationName?ce.current:{value:"x"})},name:W,placeholder:Z,readOnly:J,required:me.required,rows:ee,value:se,onKeyDown:X,onKeyUp:K,type:oe},xe,!(0,c.A)(ke)&&{as:be,ownerState:(0,o.A)({},we,xe.ownerState)},{ref:de,className:(0,s.A)(Ae.input,xe.className,J&&"MuiInputBase-readOnly"),onBlur:e=>{U&&U(e),z.onBlur&&z.onBlur(e),he&&he.onBlur?he.onBlur(e):fe(!1)},onChange:(e,...t)=>{if(!le){const t=e.target||ce.current;if(null==t)throw new Error((0,i.A)(1));ye({value:t.value})}z.onChange&&z.onChange(e,...t),q&&q(e,...t)},onFocus:e=>{me.disabled?e.stopPropagation():(Y&&Y(e),z.onFocus&&z.onFocus(e),he&&he.onFocus?he.onFocus(e):fe(!0))}}))}),N,Q?Q((0,o.A)({},me,{startAdornment:re})):null]}))]})}));t.Ay=P},51175:function(e,t,n){"use strict";n.d(t,{g:function(){return i}});var r=n(38413),o=n(31609);function i(e){return(0,o.Ay)("MuiInputBase",e)}const a=(0,r.A)("MuiInputBase",["root","formControl","focused","disabled","adornedStart","adornedEnd","error","sizeSmall","multiline","colorSecondary","fullWidth","hiddenLabel","readOnly","input","inputSizeSmall","inputMultiline","inputTypeSearch","inputAdornedStart","inputAdornedEnd","inputHiddenLabel"]);t.A=a},82891:function(e,t,n){"use strict";function r(e){return null!=e&&!(Array.isArray(e)&&0===e.length)}function o(e,t=!1){return e&&(r(e.value)&&""!==e.value||t&&r(e.defaultValue)&&""!==e.defaultValue)}function i(e){return e.startAdornment}n.d(t,{gr:function(){return i},lq:function(){return o}})},13945:function(e,t,n){"use strict";var r=n(98587),o=n(58168),i=n(96540),a=n(75659),s=n(34164),l=n(38086),c=n(79716),u=n(69307),d=n(8892),p=n(25669),f=n(28466),h=n(11848),m=n(39770),g=n(21673),v=n(74848);const y=["disableAnimation","margin","shrink","variant","className"],b=(0,h.Ay)(u.A,{shouldForwardProp:e=>(0,m.A)(e)||"classes"===e,name:"MuiInputLabel",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${d.A.asterisk}`]:t.asterisk},t.root,n.formControl&&t.formControl,"small"===n.size&&t.sizeSmall,n.shrink&&t.shrink,!n.disableAnimation&&t.animated,n.focused&&t.focused,t[n.variant]]}})((({theme:e,ownerState:t})=>(0,o.A)({display:"block",transformOrigin:"top left",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",maxWidth:"100%"},t.formControl&&{position:"absolute",left:0,top:0,transform:"translate(0, 20px) scale(1)"},"small"===t.size&&{transform:"translate(0, 17px) scale(1)"},t.shrink&&{transform:"translate(0, -1.5px) scale(0.75)",transformOrigin:"top left",maxWidth:"133%"},!t.disableAnimation&&{transition:e.transitions.create(["color","transform","max-width"],{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut})},"filled"===t.variant&&(0,o.A)({zIndex:1,pointerEvents:"none",transform:"translate(12px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"},"small"===t.size&&{transform:"translate(12px, 13px) scale(1)"},t.shrink&&(0,o.A)({userSelect:"none",pointerEvents:"auto",transform:"translate(12px, 7px) scale(0.75)",maxWidth:"calc(133% - 24px)"},"small"===t.size&&{transform:"translate(12px, 4px) scale(0.75)"})),"outlined"===t.variant&&(0,o.A)({zIndex:1,pointerEvents:"none",transform:"translate(14px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"},"small"===t.size&&{transform:"translate(14px, 9px) scale(1)"},t.shrink&&{userSelect:"none",pointerEvents:"auto",maxWidth:"calc(133% - 32px)",transform:"translate(14px, -9px) scale(0.75)"})))),x=i.forwardRef((function(e,t){const n=(0,p.b)({name:"MuiInputLabel",props:e}),{disableAnimation:i=!1,shrink:u,className:d}=n,h=(0,r.A)(n,y),m=(0,c.A)();let x=u;void 0===x&&m&&(x=m.filled||m.focused||m.adornedStart);const w=(0,l.A)({props:n,muiFormControl:m,states:["size","variant","required","focused"]}),A=(0,o.A)({},n,{disableAnimation:i,formControl:m,shrink:x,size:w.size,variant:w.variant,required:w.required,focused:w.focused}),_=(e=>{const{classes:t,formControl:n,size:r,shrink:i,disableAnimation:s,variant:l,required:c}=e,u={root:["root",n&&"formControl",!s&&"animated",i&&"shrink",r&&"normal"!==r&&`size${(0,f.A)(r)}`,l],asterisk:[c&&"asterisk"]},d=(0,a.A)(u,g.R,t);return(0,o.A)({},t,d)})(A);return(0,v.jsx)(b,(0,o.A)({"data-shrink":x,ownerState:A,ref:t,className:(0,s.A)(_.root,d)},h,{classes:_}))}));t.A=x},21673:function(e,t,n){"use strict";n.d(t,{R:function(){return i}});var r=n(38413),o=n(31609);function i(e){return(0,o.Ay)("MuiInputLabel",e)}const a=(0,r.A)("MuiInputLabel",["root","focused","disabled","error","required","asterisk","formControl","sizeSmall","shrink","animated","standard","filled","outlined"]);t.A=a},27465:function(e,t,n){"use strict";var r=n(98587),o=n(58168),i=n(96540),a=n(34164),s=n(75659),l=n(11848),c=n(25669),u=n(32850),d=n(52249),p=n(74848);const f=["children","className","component","dense","disablePadding","subheader"],h=(0,l.Ay)("ul",{name:"MuiList",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.disablePadding&&t.padding,n.dense&&t.dense,n.subheader&&t.subheader]}})((({ownerState:e})=>(0,o.A)({listStyle:"none",margin:0,padding:0,position:"relative"},!e.disablePadding&&{paddingTop:8,paddingBottom:8},e.subheader&&{paddingTop:0}))),m=i.forwardRef((function(e,t){const n=(0,c.b)({props:e,name:"MuiList"}),{children:l,className:m,component:g="ul",dense:v=!1,disablePadding:y=!1,subheader:b}=n,x=(0,r.A)(n,f),w=i.useMemo((()=>({dense:v})),[v]),A=(0,o.A)({},n,{component:g,dense:v,disablePadding:y}),_=(e=>{const{classes:t,disablePadding:n,dense:r,subheader:o}=e,i={root:["root",!n&&"padding",r&&"dense",o&&"subheader"]};return(0,s.A)(i,d.H,t)})(A);return(0,p.jsx)(u.A.Provider,{value:w,children:(0,p.jsxs)(h,(0,o.A)({as:g,className:(0,a.A)(_.root,m),ref:t,ownerState:A},x,{children:[b,l]}))})}));t.A=m},32850:function(e,t,n){"use strict";const r=n(96540).createContext({});t.A=r},52249:function(e,t,n){"use strict";n.d(t,{H:function(){return i}});var r=n(38413),o=n(31609);function i(e){return(0,o.Ay)("MuiList",e)}const a=(0,r.A)("MuiList",["root","padding","dense","subheader"]);t.A=a},3959:function(e,t,n){"use strict";var r=n(98587),o=n(58168),i=n(96540),a=n(34164),s=n(75659),l=n(771),c=n(52197),u=n(11848),d=n(25669),p=n(9934),f=n(36767),h=n(2778),m=n(96852),g=n(32850),v=n(38467),y=n(22927),b=n(92755),x=n(74848);const w=["className"],A=["alignItems","autoFocus","button","children","className","component","components","componentsProps","ContainerComponent","ContainerProps","dense","disabled","disableGutters","disablePadding","divider","focusVisibleClassName","secondaryAction","selected","slotProps","slots"],_=(0,u.Ay)("div",{name:"MuiListItem",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.dense&&t.dense,"flex-start"===n.alignItems&&t.alignItemsFlexStart,n.divider&&t.divider,!n.disableGutters&&t.gutters,!n.disablePadding&&t.padding,n.button&&t.button,n.hasSecondaryAction&&t.secondaryAction]}})((({theme:e,ownerState:t})=>(0,o.A)({display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",width:"100%",boxSizing:"border-box",textAlign:"left"},!t.disablePadding&&(0,o.A)({paddingTop:8,paddingBottom:8},t.dense&&{paddingTop:4,paddingBottom:4},!t.disableGutters&&{paddingLeft:16,paddingRight:16},!!t.secondaryAction&&{paddingRight:48}),!!t.secondaryAction&&{[`& > .${y.A.root}`]:{paddingRight:48}},{[`&.${v.A.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${v.A.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:(0,l.X4)(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${v.A.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:(0,l.X4)(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${v.A.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity}},"flex-start"===t.alignItems&&{alignItems:"flex-start"},t.divider&&{borderBottom:`1px solid ${(e.vars||e).palette.divider}`,backgroundClip:"padding-box"},t.button&&{transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest}),"&:hover":{textDecoration:"none",backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${v.A.selected}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:(0,l.X4)(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:(0,l.X4)(e.palette.primary.main,e.palette.action.selectedOpacity)}}},t.hasSecondaryAction&&{paddingRight:48}))),S=(0,u.Ay)("li",{name:"MuiListItem",slot:"Container",overridesResolver:(e,t)=>t.container})({position:"relative"}),k=i.forwardRef((function(e,t){const n=(0,d.b)({props:e,name:"MuiListItem"}),{alignItems:l="center",autoFocus:u=!1,button:y=!1,children:k,className:C,component:T,components:M={},componentsProps:P={},ContainerComponent:O="li",ContainerProps:{className:E}={},dense:D=!1,disabled:R=!1,disableGutters:I=!1,disablePadding:N=!1,divider:L=!1,focusVisibleClassName:j,secondaryAction:$,selected:z=!1,slotProps:F={},slots:B={}}=n,H=(0,r.A)(n.ContainerProps,w),V=(0,r.A)(n,A),W=i.useContext(g.A),U=i.useMemo((()=>({dense:D||W.dense||!1,alignItems:l,disableGutters:I})),[l,W.dense,D,I]),q=i.useRef(null);(0,h.A)((()=>{u&&q.current&&q.current.focus()}),[u]);const G=i.Children.toArray(k),Y=G.length&&(0,f.A)(G[G.length-1],["ListItemSecondaryAction"]),X=(0,o.A)({},n,{alignItems:l,autoFocus:u,button:y,dense:U.dense,disabled:R,disableGutters:I,disablePadding:N,divider:L,hasSecondaryAction:Y,selected:z}),K=(e=>{const{alignItems:t,button:n,classes:r,dense:o,disabled:i,disableGutters:a,disablePadding:l,divider:c,hasSecondaryAction:u,selected:d}=e,p={root:["root",o&&"dense",!a&&"gutters",!l&&"padding",c&&"divider",i&&"disabled",n&&"button","flex-start"===t&&"alignItemsFlexStart",u&&"secondaryAction",d&&"selected"],container:["container"]};return(0,s.A)(p,v._,r)})(X),Z=(0,m.A)(q,t),J=B.root||M.Root||_,Q=F.root||P.root||{},ee=(0,o.A)({className:(0,a.A)(K.root,Q.className,C),disabled:R},V);let te=T||"li";return y&&(ee.component=T||"div",ee.focusVisibleClassName=(0,a.A)(v.A.focusVisible,j),te=p.A),Y?(te=ee.component||T?te:"div","li"===O&&("li"===te?te="div":"li"===ee.component&&(ee.component="div")),(0,x.jsx)(g.A.Provider,{value:U,children:(0,x.jsxs)(S,(0,o.A)({as:O,className:(0,a.A)(K.container,E),ref:Z,ownerState:X},H,{children:[(0,x.jsx)(J,(0,o.A)({},Q,!(0,c.A)(J)&&{as:te,ownerState:(0,o.A)({},X,Q.ownerState)},ee,{children:G})),G.pop()]}))})):(0,x.jsx)(g.A.Provider,{value:U,children:(0,x.jsxs)(J,(0,o.A)({},Q,{as:te,ref:Z},!(0,c.A)(J)&&{ownerState:(0,o.A)({},X,Q.ownerState)},ee,{children:[G,$&&(0,x.jsx)(b.A,{children:$})]}))})}));t.Ay=k},38467:function(e,t,n){"use strict";n.d(t,{_:function(){return i}});var r=n(38413),o=n(31609);function i(e){return(0,o.Ay)("MuiListItem",e)}const a=(0,r.A)("MuiListItem",["root","container","focusVisible","dense","alignItemsFlexStart","disabled","divider","gutters","padding","button","secondaryAction","selected"]);t.A=a},22927:function(e,t,n){"use strict";n.d(t,{Y:function(){return i}});var r=n(38413),o=n(31609);function i(e){return(0,o.Ay)("MuiListItemButton",e)}const a=(0,r.A)("MuiListItemButton",["root","focusVisible","dense","alignItemsFlexStart","disabled","divider","gutters","selected"]);t.A=a},66721:function(e,t,n){"use strict";n.d(t,{f:function(){return i}});var r=n(38413),o=n(31609);function i(e){return(0,o.Ay)("MuiListItemIcon",e)}const a=(0,r.A)("MuiListItemIcon",["root","alignItemsFlexStart"]);t.A=a},92755:function(e,t,n){"use strict";var r=n(98587),o=n(58168),i=n(96540),a=n(34164),s=n(75659),l=n(11848),c=n(25669),u=n(32850),d=n(75847),p=n(74848);const f=["className"],h=(0,l.Ay)("div",{name:"MuiListItemSecondaryAction",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.disableGutters&&t.disableGutters]}})((({ownerState:e})=>(0,o.A)({position:"absolute",right:16,top:"50%",transform:"translateY(-50%)"},e.disableGutters&&{right:0}))),m=i.forwardRef((function(e,t){const n=(0,c.b)({props:e,name:"MuiListItemSecondaryAction"}),{className:l}=n,m=(0,r.A)(n,f),g=i.useContext(u.A),v=(0,o.A)({},n,{disableGutters:g.disableGutters}),y=(e=>{const{disableGutters:t,classes:n}=e,r={root:["root",t&&"disableGutters"]};return(0,s.A)(r,d.g,n)})(v);return(0,p.jsx)(h,(0,o.A)({className:(0,a.A)(y.root,l),ownerState:v,ref:t},m))}));m.muiName="ListItemSecondaryAction",t.A=m},75847:function(e,t,n){"use strict";n.d(t,{g:function(){return i}});var r=n(38413),o=n(31609);function i(e){return(0,o.Ay)("MuiListItemSecondaryAction",e)}const a=(0,r.A)("MuiListItemSecondaryAction",["root","disableGutters"]);t.A=a},68081:function(e,t,n){"use strict";n.d(t,{b:function(){return i}});var r=n(38413),o=n(31609);function i(e){return(0,o.Ay)("MuiListItemText",e)}const a=(0,r.A)("MuiListItemText",["root","multiline","dense","inset","primary","secondary"]);t.A=a},68463:function(e,t,n){"use strict";var r=n(98587),o=n(58168),i=n(96540),a=n(34164),s=n(75659),l=n(11848),c=n(25669),u=n(28466),d=n(32603),p=n(74848);const f=["className","color","component","disableGutters","disableSticky","inset"],h=(0,l.Ay)("li",{name:"MuiListSubheader",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,"default"!==n.color&&t[`color${(0,u.A)(n.color)}`],!n.disableGutters&&t.gutters,n.inset&&t.inset,!n.disableSticky&&t.sticky]}})((({theme:e,ownerState:t})=>(0,o.A)({boxSizing:"border-box",lineHeight:"48px",listStyle:"none",color:(e.vars||e).palette.text.secondary,fontFamily:e.typography.fontFamily,fontWeight:e.typography.fontWeightMedium,fontSize:e.typography.pxToRem(14)},"primary"===t.color&&{color:(e.vars||e).palette.primary.main},"inherit"===t.color&&{color:"inherit"},!t.disableGutters&&{paddingLeft:16,paddingRight:16},t.inset&&{paddingLeft:72},!t.disableSticky&&{position:"sticky",top:0,zIndex:1,backgroundColor:(e.vars||e).palette.background.paper}))),m=i.forwardRef((function(e,t){const n=(0,c.b)({props:e,name:"MuiListSubheader"}),{className:i,color:l="default",component:m="li",disableGutters:g=!1,disableSticky:v=!1,inset:y=!1}=n,b=(0,r.A)(n,f),x=(0,o.A)({},n,{color:l,component:m,disableGutters:g,disableSticky:v,inset:y}),w=(e=>{const{classes:t,color:n,disableGutters:r,inset:o,disableSticky:i}=e,a={root:["root","default"!==n&&`color${(0,u.A)(n)}`,!r&&"gutters",o&&"inset",!i&&"sticky"]};return(0,s.A)(a,d.g,t)})(x);return(0,p.jsx)(h,(0,o.A)({as:m,className:(0,a.A)(w.root,i),ref:t,ownerState:x},b))}));m.muiSkipListHighlight=!0,t.A=m},32603:function(e,t,n){"use strict";n.d(t,{g:function(){return i}});var r=n(38413),o=n(31609);function i(e){return(0,o.Ay)("MuiListSubheader",e)}const a=(0,r.A)("MuiListSubheader",["root","colorPrimary","colorInherit","gutters","inset","sticky"]);t.A=a},73639:function(e,t,n){"use strict";var r=n(58168),o=n(98587),i=n(96540),a=(n(44363),n(34164)),s=n(75659),l=n(73788),c=n(79329),u=n(88116),d=n(12055),p=n(11848),f=n(39770),h=n(25669),m=n(211),g=n(74848);const v=["onEntering"],y=["autoFocus","children","className","disableAutoFocusItem","MenuListProps","onClose","open","PaperProps","PopoverClasses","transitionDuration","TransitionProps","variant","slots","slotProps"],b={vertical:"top",horizontal:"right"},x={vertical:"top",horizontal:"left"},w=(0,p.Ay)(d.Ay,{shouldForwardProp:e=>(0,f.A)(e)||"classes"===e,name:"MuiMenu",slot:"Root",overridesResolver:(e,t)=>t.root})({}),A=(0,p.Ay)(d.IJ,{name:"MuiMenu",slot:"Paper",overridesResolver:(e,t)=>t.paper})({maxHeight:"calc(100% - 96px)",WebkitOverflowScrolling:"touch"}),_=(0,p.Ay)(u.A,{name:"MuiMenu",slot:"List",overridesResolver:(e,t)=>t.list})({outline:0}),S=i.forwardRef((function(e,t){var n,u;const d=(0,h.b)({props:e,name:"MuiMenu"}),{autoFocus:p=!0,children:f,className:S,disableAutoFocusItem:k=!1,MenuListProps:C={},onClose:T,open:M,PaperProps:P={},PopoverClasses:O,transitionDuration:E="auto",TransitionProps:{onEntering:D}={},variant:R="selectedMenu",slots:I={},slotProps:N={}}=d,L=(0,o.A)(d.TransitionProps,v),j=(0,o.A)(d,y),$=(0,l.I)(),z=(0,r.A)({},d,{autoFocus:p,disableAutoFocusItem:k,MenuListProps:C,onEntering:D,PaperProps:P,transitionDuration:E,TransitionProps:L,variant:R}),F=(e=>{const{classes:t}=e;return(0,s.A)({root:["root"],paper:["paper"],list:["list"]},m.e,t)})(z),B=p&&!k&&M,H=i.useRef(null);let V=-1;i.Children.map(f,((e,t)=>{i.isValidElement(e)&&(e.props.disabled||("selectedMenu"===R&&e.props.selected||-1===V)&&(V=t))}));const W=null!=(n=I.paper)?n:A,U=null!=(u=N.paper)?u:P,q=(0,c.A)({elementType:I.root,externalSlotProps:N.root,ownerState:z,className:[F.root,S]}),G=(0,c.A)({elementType:W,externalSlotProps:U,ownerState:z,className:F.paper});return(0,g.jsx)(w,(0,r.A)({onClose:T,anchorOrigin:{vertical:"bottom",horizontal:$?"right":"left"},transformOrigin:$?b:x,slots:{paper:W,root:I.root},slotProps:{root:q,paper:G},open:M,ref:t,transitionDuration:E,TransitionProps:(0,r.A)({onEntering:(e,t)=>{H.current&&H.current.adjustStyleForScrollbar(e,{direction:$?"rtl":"ltr"}),D&&D(e,t)}},L),ownerState:z},j,{classes:O,children:(0,g.jsx)(_,(0,r.A)({onKeyDown:e=>{"Tab"===e.key&&(e.preventDefault(),T&&T(e,"tabKeyDown"))},actions:H,autoFocus:p&&(-1===V||k),autoFocusItem:B,variant:R},C,{className:(0,a.A)(F.list,C.className),children:f}))}))}));t.A=S},211:function(e,t,n){"use strict";n.d(t,{e:function(){return i}});var r=n(38413),o=n(31609);function i(e){return(0,o.Ay)("MuiMenu",e)}const a=(0,r.A)("MuiMenu",["root","paper","list"]);t.A=a},17681:function(e,t,n){"use strict";var r=n(98587),o=n(58168),i=n(96540),a=n(34164),s=n(75659),l=n(771),c=n(11848),u=n(39770),d=n(25669),p=n(32850),f=n(9934),h=n(2778),m=n(96852),g=n(61347),v=n(66721),y=n(68081),b=n(25249),x=n(74848);const w=["autoFocus","component","dense","divider","disableGutters","focusVisibleClassName","role","tabIndex","className"],A=(0,c.Ay)(f.A,{shouldForwardProp:e=>(0,u.A)(e)||"classes"===e,name:"MuiMenuItem",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.dense&&t.dense,n.divider&&t.divider,!n.disableGutters&&t.gutters]}})((({theme:e,ownerState:t})=>(0,o.A)({},e.typography.body1,{display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",minHeight:48,paddingTop:6,paddingBottom:6,boxSizing:"border-box",whiteSpace:"nowrap"},!t.disableGutters&&{paddingLeft:16,paddingRight:16},t.divider&&{borderBottom:`1px solid ${(e.vars||e).palette.divider}`,backgroundClip:"padding-box"},{"&:hover":{textDecoration:"none",backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${b.A.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:(0,l.X4)(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${b.A.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:(0,l.X4)(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${b.A.selected}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:(0,l.X4)(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:(0,l.X4)(e.palette.primary.main,e.palette.action.selectedOpacity)}},[`&.${b.A.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${b.A.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity},[`& + .${g.A.root}`]:{marginTop:e.spacing(1),marginBottom:e.spacing(1)},[`& + .${g.A.inset}`]:{marginLeft:52},[`& .${y.A.root}`]:{marginTop:0,marginBottom:0},[`& .${y.A.inset}`]:{paddingLeft:36},[`& .${v.A.root}`]:{minWidth:36}},!t.dense&&{[e.breakpoints.up("sm")]:{minHeight:"auto"}},t.dense&&(0,o.A)({minHeight:32,paddingTop:4,paddingBottom:4},e.typography.body2,{[`& .${v.A.root} svg`]:{fontSize:"1.25rem"}})))),_=i.forwardRef((function(e,t){const n=(0,d.b)({props:e,name:"MuiMenuItem"}),{autoFocus:l=!1,component:c="li",dense:u=!1,divider:f=!1,disableGutters:g=!1,focusVisibleClassName:v,role:y="menuitem",tabIndex:_,className:S}=n,k=(0,r.A)(n,w),C=i.useContext(p.A),T=i.useMemo((()=>({dense:u||C.dense||!1,disableGutters:g})),[C.dense,u,g]),M=i.useRef(null);(0,h.A)((()=>{l&&M.current&&M.current.focus()}),[l]);const P=(0,o.A)({},n,{dense:T.dense,divider:f,disableGutters:g}),O=(e=>{const{disabled:t,dense:n,divider:r,disableGutters:i,selected:a,classes:l}=e,c={root:["root",n&&"dense",t&&"disabled",!i&&"gutters",r&&"divider",a&&"selected"]},u=(0,s.A)(c,b.Z,l);return(0,o.A)({},l,u)})(n),E=(0,m.A)(M,t);let D;return n.disabled||(D=void 0!==_?_:-1),(0,x.jsx)(p.A.Provider,{value:T,children:(0,x.jsx)(A,(0,o.A)({ref:E,role:y,tabIndex:D,component:c,focusVisibleClassName:(0,a.A)(O.focusVisible,v),className:(0,a.A)(O.root,S)},k,{ownerState:P,classes:O}))})}));t.A=_},60361:function(e,t,n){"use strict";if(n.r(t),n.d(t,{default:function(){return r.A},getMenuItemUtilityClass:function(){return o.Z},menuItemClasses:function(){return o.A}}),/^(2467|2927|3999|9279)$/.test(n.j))var r=n(17681);var o=n(25249)},25249:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(38413),o=n(31609);function i(e){return(0,o.Ay)("MuiMenuItem",e)}const a=(0,r.A)("MuiMenuItem",["root","focusVisible","dense","disabled","divider","gutters","selected"]);t.A=a},88116:function(e,t,n){"use strict";n.d(t,{A:function(){return v}});var r=n(58168),o=n(98587),i=n(96540),a=(n(44363),n(96248)),s=n(27465),l=n(93205).A,c=n(96852),u=n(2778),d=n(74848);const p=["actions","autoFocus","autoFocusItem","children","className","disabledItemsFocusable","disableListWrap","onKeyDown","variant"];function f(e,t,n){return e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:n?null:e.firstChild}function h(e,t,n){return e===t?n?e.firstChild:e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:n?null:e.lastChild}function m(e,t){if(void 0===t)return!0;let n=e.innerText;return void 0===n&&(n=e.textContent),n=n.trim().toLowerCase(),0!==n.length&&(t.repeating?n[0]===t.keys[0]:0===n.indexOf(t.keys.join("")))}function g(e,t,n,r,o,i){let a=!1,s=o(e,t,!!t&&n);for(;s;){if(s===e.firstChild){if(a)return!1;a=!0}const t=!r&&(s.disabled||"true"===s.getAttribute("aria-disabled"));if(s.hasAttribute("tabindex")&&m(s,i)&&!t)return s.focus(),!0;s=o(e,s,n)}return!1}var v=i.forwardRef((function(e,t){const{actions:n,autoFocus:v=!1,autoFocusItem:y=!1,children:b,className:x,disabledItemsFocusable:w=!1,disableListWrap:A=!1,onKeyDown:_,variant:S="selectedMenu"}=e,k=(0,o.A)(e,p),C=i.useRef(null),T=i.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});(0,u.A)((()=>{v&&C.current.focus()}),[v]),i.useImperativeHandle(n,(()=>({adjustStyleForScrollbar:(e,{direction:t})=>{const n=!C.current.style.width;if(e.clientHeight<C.current.clientHeight&&n){const n=`${l((0,a.A)(e))}px`;C.current.style["rtl"===t?"paddingLeft":"paddingRight"]=n,C.current.style.width=`calc(100% + ${n})`}return C.current}})),[]);const M=(0,c.A)(C,t);let P=-1;i.Children.forEach(b,((e,t)=>{i.isValidElement(e)?(e.props.disabled||("selectedMenu"===S&&e.props.selected||-1===P)&&(P=t),P===t&&(e.props.disabled||e.props.muiSkipListHighlight||e.type.muiSkipListHighlight)&&(P+=1,P>=b.length&&(P=-1))):P===t&&(P+=1,P>=b.length&&(P=-1))}));const O=i.Children.map(b,((e,t)=>{if(t===P){const t={};return y&&(t.autoFocus=!0),void 0===e.props.tabIndex&&"selectedMenu"===S&&(t.tabIndex=0),i.cloneElement(e,t)}return e}));return(0,d.jsx)(s.A,(0,r.A)({role:"menu",ref:M,className:x,onKeyDown:e=>{const t=C.current,n=e.key,r=(0,a.A)(t).activeElement;if("ArrowDown"===n)e.preventDefault(),g(t,r,A,w,f);else if("ArrowUp"===n)e.preventDefault(),g(t,r,A,w,h);else if("Home"===n)e.preventDefault(),g(t,null,A,w,f);else if("End"===n)e.preventDefault(),g(t,null,A,w,h);else if(1===n.length){const o=T.current,i=n.toLowerCase(),a=performance.now();o.keys.length>0&&(a-o.lastTime>500?(o.keys=[],o.repeating=!0,o.previousKeyMatched=!0):o.repeating&&i!==o.keys[0]&&(o.repeating=!1)),o.lastTime=a,o.keys.push(i);const s=r&&!o.repeating&&m(r,o);o.previousKeyMatched&&(s||g(t,r,!1,w,f,o))?e.preventDefault():o.previousKeyMatched=!1}_&&_(e)},tabIndex:v?0:-1},k,{children:O}))}))},79627:function(e,t,n){"use strict";n.d(t,{A:function(){return T}});var r=n(98587),o=n(58168),i=n(96540),a=n(34164),s=n(75659),l=n(79329),c=n(73524),u=n(45061),d=n(11848),p=n(25669),f=n(63813),h=n(31523),m=n(32325),g=n(93928),v=n(76673),y=n(74959),b=n(33536);const x=new b.P;var w=function(e){const{container:t,disableEscapeKeyDown:n=!1,disableScrollLock:r=!1,manager:a=x,closeAfterTransition:s=!1,onTransitionEnter:l,onTransitionExited:c,children:u,onClose:d,open:p,rootRef:f}=e,w=i.useRef({}),A=i.useRef(null),_=i.useRef(null),S=(0,h.A)(_,f),[k,C]=i.useState(!p),T=function(e){return!!e&&e.props.hasOwnProperty("in")}(u);let M=!0;"false"!==e["aria-hidden"]&&!1!==e["aria-hidden"]||(M=!1);const P=()=>(w.current.modalRef=_.current,w.current.mount=A.current,w.current),O=()=>{a.mount(P(),{disableScrollLock:r}),_.current&&(_.current.scrollTop=0)},E=(0,g.A)((()=>{const e=function(e){return"function"==typeof e?e():e}(t)||(0,m.A)(A.current).body;a.add(P(),e),_.current&&O()})),D=i.useCallback((()=>a.isTopModal(P())),[a]),R=(0,g.A)((e=>{A.current=e,e&&(p&&D()?O():_.current&&(0,b.M)(_.current,M))})),I=i.useCallback((()=>{a.remove(P(),M)}),[M,a]);i.useEffect((()=>()=>{I()}),[I]),i.useEffect((()=>{p?E():T&&s||I()}),[p,I,T,s,E]);const N=e=>t=>{var r;null==(r=e.onKeyDown)||r.call(e,t),"Escape"===t.key&&229!==t.which&&D()&&(n||(t.stopPropagation(),d&&d(t,"escapeKeyDown")))},L=e=>t=>{var n;null==(n=e.onClick)||n.call(e,t),t.target===t.currentTarget&&d&&d(t,"backdropClick")};return{getRootProps:(t={})=>{const n=(0,y.A)(e);delete n.onTransitionEnter,delete n.onTransitionExited;const r=(0,o.A)({},n,t);return(0,o.A)({role:"presentation"},r,{onKeyDown:N(r),ref:S})},getBackdropProps:(e={})=>{const t=e;return(0,o.A)({"aria-hidden":!0},t,{onClick:L(t),open:p})},getTransitionProps:()=>({onEnter:(0,v.A)((()=>{C(!1),l&&l()}),null==u?void 0:u.props.onEnter),onExited:(0,v.A)((()=>{C(!0),c&&c(),s&&I()}),null==u?void 0:u.props.onExited)}),rootRef:S,portalRef:R,isTopModal:D,exited:k,hasTransition:T}},A=n(74231),_=n(74848);const S=["BackdropComponent","BackdropProps","classes","className","closeAfterTransition","children","container","component","components","componentsProps","disableAutoFocus","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","keepMounted","onBackdropClick","onClose","onTransitionEnter","onTransitionExited","open","slotProps","slots","theme"],k=(0,d.Ay)("div",{name:"MuiModal",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.open&&n.exited&&t.hidden]}})((({theme:e,ownerState:t})=>(0,o.A)({position:"fixed",zIndex:(e.vars||e).zIndex.modal,right:0,bottom:0,top:0,left:0},!t.open&&t.exited&&{visibility:"hidden"}))),C=(0,d.Ay)(f.A,{name:"MuiModal",slot:"Backdrop",overridesResolver:(e,t)=>t.backdrop})({zIndex:-1});var T=i.forwardRef((function(e,t){var n,d,f,h,m,g;const v=(0,p.b)({name:"MuiModal",props:e}),{BackdropComponent:y=C,BackdropProps:b,className:x,closeAfterTransition:T=!1,children:M,container:P,component:O,components:E={},componentsProps:D={},disableAutoFocus:R=!1,disableEnforceFocus:I=!1,disableEscapeKeyDown:N=!1,disablePortal:L=!1,disableRestoreFocus:j=!1,disableScrollLock:$=!1,hideBackdrop:z=!1,keepMounted:F=!1,onBackdropClick:B,open:H,slotProps:V,slots:W}=v,U=(0,r.A)(v,S),q=(0,o.A)({},v,{closeAfterTransition:T,disableAutoFocus:R,disableEnforceFocus:I,disableEscapeKeyDown:N,disablePortal:L,disableRestoreFocus:j,disableScrollLock:$,hideBackdrop:z,keepMounted:F}),{getRootProps:G,getBackdropProps:Y,getTransitionProps:X,portalRef:K,isTopModal:Z,exited:J,hasTransition:Q}=w((0,o.A)({},q,{rootRef:t})),ee=(0,o.A)({},q,{exited:J}),te=(e=>{const{open:t,exited:n,classes:r}=e,o={root:["root",!t&&n&&"hidden"],backdrop:["backdrop"]};return(0,s.A)(o,A.M,r)})(ee),ne={};if(void 0===M.props.tabIndex&&(ne.tabIndex="-1"),Q){const{onEnter:e,onExited:t}=X();ne.onEnter=e,ne.onExited=t}const re=null!=(n=null!=(d=null==W?void 0:W.root)?d:E.Root)?n:k,oe=null!=(f=null!=(h=null==W?void 0:W.backdrop)?h:E.Backdrop)?f:y,ie=null!=(m=null==V?void 0:V.root)?m:D.root,ae=null!=(g=null==V?void 0:V.backdrop)?g:D.backdrop,se=(0,l.A)({elementType:re,externalSlotProps:ie,externalForwardedProps:U,getSlotProps:G,additionalProps:{ref:t,as:O},ownerState:ee,className:(0,a.A)(x,null==ie?void 0:ie.className,null==te?void 0:te.root,!ee.open&&ee.exited&&(null==te?void 0:te.hidden))}),le=(0,l.A)({elementType:oe,externalSlotProps:ae,additionalProps:b,getSlotProps:e=>Y((0,o.A)({},e,{onClick:t=>{B&&B(t),null!=e&&e.onClick&&e.onClick(t)}})),className:(0,a.A)(null==ae?void 0:ae.className,null==b?void 0:b.className,null==te?void 0:te.backdrop),ownerState:ee});return F||H||Q&&!J?(0,_.jsx)(u.A,{ref:K,container:P,disablePortal:L,children:(0,_.jsxs)(re,(0,o.A)({},se,{children:[!z&&y?(0,_.jsx)(oe,(0,o.A)({},le)):null,(0,_.jsx)(c.A,{disableEnforceFocus:I,disableAutoFocus:R,disableRestoreFocus:j,isEnabled:Z,open:H,children:i.cloneElement(M,ne)})]}))}):null}))},33536:function(e,t,n){"use strict";n.d(t,{M:function(){return a},P:function(){return d}});var r=n(32325),o=n(44877),i=n(93205);function a(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function s(e){return parseInt((0,o.A)(e).getComputedStyle(e).paddingRight,10)||0}function l(e,t,n,r,o){const i=[t,n,...r];[].forEach.call(e.children,(e=>{const t=-1===i.indexOf(e),n=!function(e){const t=-1!==["TEMPLATE","SCRIPT","STYLE","LINK","MAP","META","NOSCRIPT","PICTURE","COL","COLGROUP","PARAM","SLOT","SOURCE","TRACK"].indexOf(e.tagName),n="INPUT"===e.tagName&&"hidden"===e.getAttribute("type");return t||n}(e);t&&n&&a(e,o)}))}function c(e,t){let n=-1;return e.some(((e,r)=>!!t(e)&&(n=r,!0))),n}function u(e,t){const n=[],a=e.container;if(!t.disableScrollLock){if(function(e){const t=(0,r.A)(e);return t.body===e?(0,o.A)(e).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}(a)){const e=(0,i.A)((0,r.A)(a));n.push({value:a.style.paddingRight,property:"padding-right",el:a}),a.style.paddingRight=`${s(a)+e}px`;const t=(0,r.A)(a).querySelectorAll(".mui-fixed");[].forEach.call(t,(t=>{n.push({value:t.style.paddingRight,property:"padding-right",el:t}),t.style.paddingRight=`${s(t)+e}px`}))}let e;if(a.parentNode instanceof DocumentFragment)e=(0,r.A)(a).body;else{const t=a.parentElement,n=(0,o.A)(a);e="HTML"===(null==t?void 0:t.nodeName)&&"scroll"===n.getComputedStyle(t).overflowY?t:a}n.push({value:e.style.overflow,property:"overflow",el:e},{value:e.style.overflowX,property:"overflow-x",el:e},{value:e.style.overflowY,property:"overflow-y",el:e}),e.style.overflow="hidden"}return()=>{n.forEach((({value:e,el:t,property:n})=>{e?t.style.setProperty(n,e):t.style.removeProperty(n)}))}}class d{constructor(){this.containers=void 0,this.modals=void 0,this.modals=[],this.containers=[]}add(e,t){let n=this.modals.indexOf(e);if(-1!==n)return n;n=this.modals.length,this.modals.push(e),e.modalRef&&a(e.modalRef,!1);const r=function(e){const t=[];return[].forEach.call(e.children,(e=>{"true"===e.getAttribute("aria-hidden")&&t.push(e)})),t}(t);l(t,e.mount,e.modalRef,r,!0);const o=c(this.containers,(e=>e.container===t));return-1!==o?(this.containers[o].modals.push(e),n):(this.containers.push({modals:[e],container:t,restore:null,hiddenSiblings:r}),n)}mount(e,t){const n=c(this.containers,(t=>-1!==t.modals.indexOf(e))),r=this.containers[n];r.restore||(r.restore=u(r,t))}remove(e,t=!0){const n=this.modals.indexOf(e);if(-1===n)return n;const r=c(this.containers,(t=>-1!==t.modals.indexOf(e))),o=this.containers[r];if(o.modals.splice(o.modals.indexOf(e),1),this.modals.splice(n,1),0===o.modals.length)o.restore&&o.restore(),e.modalRef&&a(e.modalRef,t),l(o.container,e.mount,e.modalRef,o.hiddenSiblings,!1),this.containers.splice(r,1);else{const e=o.modals[o.modals.length-1];e.modalRef&&a(e.modalRef,!1)}return n}isTopModal(e){return this.modals.length>0&&this.modals[this.modals.length-1]===e}}},74231:function(e,t,n){"use strict";n.d(t,{M:function(){return i}});var r=n(38413),o=n(31609);function i(e){return(0,o.Ay)("MuiModal",e)}const a=(0,r.A)("MuiModal",["root","hidden","backdrop"]);t.A=a},263:function(e,t,n){"use strict";n.d(t,{Ku:function(){return h},XV:function(){return g}});var r=n(98587),o=n(58168),i=n(96540),a=n(34164),s=n(75659),l=n(28466),c=n(43391),u=n(11848),d=n(39770),p=n(74848);const f=["className","disabled","error","IconComponent","inputRef","variant"],h=({ownerState:e,theme:t})=>(0,o.A)({MozAppearance:"none",WebkitAppearance:"none",userSelect:"none",borderRadius:0,cursor:"pointer","&:focus":(0,o.A)({},t.vars?{backgroundColor:`rgba(${t.vars.palette.common.onBackgroundChannel} / 0.05)`}:{backgroundColor:"light"===t.palette.mode?"rgba(0, 0, 0, 0.05)":"rgba(255, 255, 255, 0.05)"},{borderRadius:0}),"&::-ms-expand":{display:"none"},[`&.${c.A.disabled}`]:{cursor:"default"},"&[multiple]":{height:"auto"},"&:not([multiple]) option, &:not([multiple]) optgroup":{backgroundColor:(t.vars||t).palette.background.paper},"&&&":{paddingRight:24,minWidth:16}},"filled"===e.variant&&{"&&&":{paddingRight:32}},"outlined"===e.variant&&{borderRadius:(t.vars||t).shape.borderRadius,"&:focus":{borderRadius:(t.vars||t).shape.borderRadius},"&&&":{paddingRight:32}}),m=(0,u.Ay)("select",{name:"MuiNativeSelect",slot:"Select",shouldForwardProp:d.A,overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.select,t[n.variant],n.error&&t.error,{[`&.${c.A.multiple}`]:t.multiple}]}})(h),g=({ownerState:e,theme:t})=>(0,o.A)({position:"absolute",right:0,top:"calc(50% - .5em)",pointerEvents:"none",color:(t.vars||t).palette.action.active,[`&.${c.A.disabled}`]:{color:(t.vars||t).palette.action.disabled}},e.open&&{transform:"rotate(180deg)"},"filled"===e.variant&&{right:7},"outlined"===e.variant&&{right:7}),v=(0,u.Ay)("svg",{name:"MuiNativeSelect",slot:"Icon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.icon,n.variant&&t[`icon${(0,l.A)(n.variant)}`],n.open&&t.iconOpen]}})(g),y=i.forwardRef((function(e,t){const{className:n,disabled:u,error:d,IconComponent:h,inputRef:g,variant:y="standard"}=e,b=(0,r.A)(e,f),x=(0,o.A)({},e,{disabled:u,variant:y,error:d}),w=(e=>{const{classes:t,variant:n,disabled:r,multiple:o,open:i,error:a}=e,u={select:["select",n,r&&"disabled",o&&"multiple",a&&"error"],icon:["icon",`icon${(0,l.A)(n)}`,i&&"iconOpen",r&&"disabled"]};return(0,s.A)(u,c.w,t)})(x);return(0,p.jsxs)(i.Fragment,{children:[(0,p.jsx)(m,(0,o.A)({ownerState:x,className:(0,a.A)(w.select,n),disabled:u,ref:g||t},b)),e.multiple?null:(0,p.jsx)(v,{as:h,ownerState:x,className:w.icon})]})}));t.Ay=y},43391:function(e,t,n){"use strict";n.d(t,{w:function(){return i}});var r=n(38413),o=n(31609);function i(e){return(0,o.Ay)("MuiNativeSelect",e)}const a=(0,r.A)("MuiNativeSelect",["root","select","multiple","filled","outlined","standard","disabled","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]);t.A=a},8641:function(e,t,n){"use strict";n.d(t,{A:function(){return S}});var r,o=n(98587),i=n(58168),a=n(96540),s=n(75659),l=n(11848),c=n(39770),u=n(74848);const d=["children","classes","className","label","notched"],p=(0,l.Ay)("fieldset",{shouldForwardProp:c.A})({textAlign:"left",position:"absolute",bottom:0,right:0,top:-5,left:0,margin:0,padding:"0 8px",pointerEvents:"none",borderRadius:"inherit",borderStyle:"solid",borderWidth:1,overflow:"hidden",minWidth:"0%"}),f=(0,l.Ay)("legend",{shouldForwardProp:c.A})((({ownerState:e,theme:t})=>(0,i.A)({float:"unset",width:"auto",overflow:"hidden"},!e.withLabel&&{padding:0,lineHeight:"11px",transition:t.transitions.create("width",{duration:150,easing:t.transitions.easing.easeOut})},e.withLabel&&(0,i.A)({display:"block",padding:0,height:11,fontSize:"0.75em",visibility:"hidden",maxWidth:.01,transition:t.transitions.create("max-width",{duration:50,easing:t.transitions.easing.easeOut}),whiteSpace:"nowrap","& > span":{paddingLeft:5,paddingRight:5,display:"inline-block",opacity:0,visibility:"visible"}},e.notched&&{maxWidth:"100%",transition:t.transitions.create("max-width",{duration:100,easing:t.transitions.easing.easeOut,delay:50})}))));var h=n(79716),m=n(38086),g=n(71023),v=n(63008),y=n(25669);const b=["components","fullWidth","inputComponent","label","multiline","notched","slots","type"],x=(0,l.Ay)(v.Sh,{shouldForwardProp:e=>(0,c.A)(e)||"classes"===e,name:"MuiOutlinedInput",slot:"Root",overridesResolver:v.WC})((({theme:e,ownerState:t})=>{const n="light"===e.palette.mode?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return(0,i.A)({position:"relative",borderRadius:(e.vars||e).shape.borderRadius,[`&:hover .${g.A.notchedOutline}`]:{borderColor:(e.vars||e).palette.text.primary},"@media (hover: none)":{[`&:hover .${g.A.notchedOutline}`]:{borderColor:e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / 0.23)`:n}},[`&.${g.A.focused} .${g.A.notchedOutline}`]:{borderColor:(e.vars||e).palette[t.color].main,borderWidth:2},[`&.${g.A.error} .${g.A.notchedOutline}`]:{borderColor:(e.vars||e).palette.error.main},[`&.${g.A.disabled} .${g.A.notchedOutline}`]:{borderColor:(e.vars||e).palette.action.disabled}},t.startAdornment&&{paddingLeft:14},t.endAdornment&&{paddingRight:14},t.multiline&&(0,i.A)({padding:"16.5px 14px"},"small"===t.size&&{padding:"8.5px 14px"}))})),w=(0,l.Ay)((function(e){const{className:t,label:n,notched:a}=e,s=(0,o.A)(e,d),l=null!=n&&""!==n,c=(0,i.A)({},e,{notched:a,withLabel:l});return(0,u.jsx)(p,(0,i.A)({"aria-hidden":!0,className:t,ownerState:c},s,{children:(0,u.jsx)(f,{ownerState:c,children:l?(0,u.jsx)("span",{children:n}):r||(r=(0,u.jsx)("span",{className:"notranslate",children:"​"}))})}))}),{name:"MuiOutlinedInput",slot:"NotchedOutline",overridesResolver:(e,t)=>t.notchedOutline})((({theme:e})=>{const t="light"===e.palette.mode?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return{borderColor:e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / 0.23)`:t}})),A=(0,l.Ay)(v.f3,{name:"MuiOutlinedInput",slot:"Input",overridesResolver:v.Oj})((({theme:e,ownerState:t})=>(0,i.A)({padding:"16.5px 14px"},!e.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:"light"===e.palette.mode?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:"light"===e.palette.mode?null:"#fff",caretColor:"light"===e.palette.mode?null:"#fff",borderRadius:"inherit"}},e.vars&&{"&:-webkit-autofill":{borderRadius:"inherit"},[e.getColorSchemeSelector("dark")]:{"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #266798 inset",WebkitTextFillColor:"#fff",caretColor:"#fff"}}},"small"===t.size&&{padding:"8.5px 14px"},t.multiline&&{padding:0},t.startAdornment&&{paddingLeft:0},t.endAdornment&&{paddingRight:0}))),_=a.forwardRef((function(e,t){var n,r,l,c,d;const p=(0,y.b)({props:e,name:"MuiOutlinedInput"}),{components:f={},fullWidth:_=!1,inputComponent:S="input",label:k,multiline:C=!1,notched:T,slots:M={},type:P="text"}=p,O=(0,o.A)(p,b),E=(e=>{const{classes:t}=e,n=(0,s.A)({root:["root"],notchedOutline:["notchedOutline"],input:["input"]},g.v,t);return(0,i.A)({},t,n)})(p),D=(0,h.A)(),R=(0,m.A)({props:p,muiFormControl:D,states:["color","disabled","error","focused","hiddenLabel","size","required"]}),I=(0,i.A)({},p,{color:R.color||"primary",disabled:R.disabled,error:R.error,focused:R.focused,formControl:D,fullWidth:_,hiddenLabel:R.hiddenLabel,multiline:C,size:R.size,type:P}),N=null!=(n=null!=(r=M.root)?r:f.Root)?n:x,L=null!=(l=null!=(c=M.input)?c:f.Input)?l:A;return(0,u.jsx)(v.Ay,(0,i.A)({slots:{root:N,input:L},renderSuffix:e=>(0,u.jsx)(w,{ownerState:I,className:E.notchedOutline,label:null!=k&&""!==k&&R.required?d||(d=(0,u.jsxs)(a.Fragment,{children:[k," ","*"]})):k,notched:void 0!==T?T:Boolean(e.startAdornment||e.filled||e.focused)}),fullWidth:_,inputComponent:S,multiline:C,ref:t,type:P},O,{classes:(0,i.A)({},E,{notchedOutline:null})}))}));_.muiName="Input";var S=_},71023:function(e,t,n){"use strict";n.d(t,{v:function(){return s}});var r=n(58168),o=n(38413),i=n(31609),a=n(51175);function s(e){return(0,i.Ay)("MuiOutlinedInput",e)}const l=(0,r.A)({},a.A,(0,o.A)("MuiOutlinedInput",["root","notchedOutline","input"]));t.A=l},96301:function(e,t,n){"use strict";var r=n(58168),o=n(98587),i=n(96540),a=n(34164),s=n(75659),l=n(25669),c=n(13573),u=n(74007),d=n(33040),p=n(11848),f=n(74848);const h=["boundaryCount","className","color","count","defaultPage","disabled","getItemAriaLabel","hideNextButton","hidePrevButton","onChange","page","renderItem","shape","showFirstButton","showLastButton","siblingCount","size","variant"],m=(0,p.Ay)("nav",{name:"MuiPagination",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant]]}})({}),g=(0,p.Ay)("ul",{name:"MuiPagination",slot:"Ul",overridesResolver:(e,t)=>t.ul})({display:"flex",flexWrap:"wrap",alignItems:"center",padding:0,margin:0,listStyle:"none"});function v(e,t,n){return"page"===e?`${n?"":"Go to "}page ${t}`:`Go to ${e} page`}const y=i.forwardRef((function(e,t){const n=(0,l.b)({props:e,name:"MuiPagination"}),{boundaryCount:i=1,className:p,color:y="standard",count:b=1,defaultPage:x=1,disabled:w=!1,getItemAriaLabel:A=v,hideNextButton:_=!1,hidePrevButton:S=!1,renderItem:k=e=>(0,f.jsx)(d.A,(0,r.A)({},e)),shape:C="circular",showFirstButton:T=!1,showLastButton:M=!1,siblingCount:P=1,size:O="medium",variant:E="text"}=n,D=(0,o.A)(n,h),{items:R}=(0,u.A)((0,r.A)({},n,{componentName:"Pagination"})),I=(0,r.A)({},n,{boundaryCount:i,color:y,count:b,defaultPage:x,disabled:w,getItemAriaLabel:A,hideNextButton:_,hidePrevButton:S,renderItem:k,shape:C,showFirstButton:T,showLastButton:M,siblingCount:P,size:O,variant:E}),N=(e=>{const{classes:t,variant:n}=e,r={root:["root",n],ul:["ul"]};return(0,s.A)(r,c.B,t)})(I);return(0,f.jsx)(m,(0,r.A)({"aria-label":"pagination navigation",className:(0,a.A)(N.root,p),ownerState:I,ref:t},D,{children:(0,f.jsx)(g,{className:N.ul,ownerState:I,children:R.map(((e,t)=>(0,f.jsx)("li",{children:k((0,r.A)({},e,{color:y,"aria-label":A(e.type,e.page,e.selected),shape:C,size:O,variant:E}))},t)))})}))}));t.A=y},86353:function(e,t,n){"use strict";if(n.r(t),n.d(t,{default:function(){return r.A},getPaginationUtilityClass:function(){return o.B},paginationClasses:function(){return o.A}}),/^(16(03|56)|2966|3999|400|5305|6876|8032|8887|9275)$/.test(n.j))var r=n(96301);var o=n(13573)},13573:function(e,t,n){"use strict";n.d(t,{B:function(){return i}});var r=n(38413),o=n(31609);function i(e){return(0,o.Ay)("MuiPagination",e)}const a=(0,r.A)("MuiPagination",["root","ul","outlined","text"]);t.A=a},33040:function(e,t,n){"use strict";n.d(t,{A:function(){return C}});var r=n(98587),o=n(58168),i=n(96540),a=n(34164),s=n(75659),l=n(771),c=n(73788),u=n(25669),d=n(73687),p=n(9934),f=n(28466),h=n(28775),m=n(35067),g=n(20561),v=n(74848),y=(0,g.A)((0,v.jsx)("path",{d:"M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"}),"NavigateBefore"),b=(0,g.A)((0,v.jsx)("path",{d:"M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"}),"NavigateNext"),x=n(11848);const w=["className","color","component","components","disabled","page","selected","shape","size","slots","type","variant"],A=(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`size${(0,f.A)(n.size)}`],"text"===n.variant&&t[`text${(0,f.A)(n.color)}`],"outlined"===n.variant&&t[`outlined${(0,f.A)(n.color)}`],"rounded"===n.shape&&t.rounded,"page"===n.type&&t.page,("start-ellipsis"===n.type||"end-ellipsis"===n.type)&&t.ellipsis,("previous"===n.type||"next"===n.type)&&t.previousNext,("first"===n.type||"last"===n.type)&&t.firstLast]},_=(0,x.Ay)("div",{name:"MuiPaginationItem",slot:"Root",overridesResolver:A})((({theme:e,ownerState:t})=>(0,o.A)({},e.typography.body2,{borderRadius:16,textAlign:"center",boxSizing:"border-box",minWidth:32,padding:"0 6px",margin:"0 3px",color:(e.vars||e).palette.text.primary,height:"auto",[`&.${d.A.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity}},"small"===t.size&&{minWidth:26,borderRadius:13,margin:"0 1px",padding:"0 4px"},"large"===t.size&&{minWidth:40,borderRadius:20,padding:"0 10px",fontSize:e.typography.pxToRem(15)}))),S=(0,x.Ay)(p.A,{name:"MuiPaginationItem",slot:"Root",overridesResolver:A})((({theme:e,ownerState:t})=>(0,o.A)({},e.typography.body2,{borderRadius:16,textAlign:"center",boxSizing:"border-box",minWidth:32,height:32,padding:"0 6px",margin:"0 3px",color:(e.vars||e).palette.text.primary,[`&.${d.A.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${d.A.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity},transition:e.transitions.create(["color","background-color"],{duration:e.transitions.duration.short}),"&:hover":{backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${d.A.selected}`]:{backgroundColor:(e.vars||e).palette.action.selected,"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:(0,l.X4)(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:(e.vars||e).palette.action.selected}},[`&.${d.A.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:(0,l.X4)(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)},[`&.${d.A.disabled}`]:{opacity:1,color:(e.vars||e).palette.action.disabled,backgroundColor:(e.vars||e).palette.action.selected}}},"small"===t.size&&{minWidth:26,height:26,borderRadius:13,margin:"0 1px",padding:"0 4px"},"large"===t.size&&{minWidth:40,height:40,borderRadius:20,padding:"0 10px",fontSize:e.typography.pxToRem(15)},"rounded"===t.shape&&{borderRadius:(e.vars||e).shape.borderRadius})),(({theme:e,ownerState:t})=>(0,o.A)({},"text"===t.variant&&{[`&.${d.A.selected}`]:(0,o.A)({},"standard"!==t.color&&{color:(e.vars||e).palette[t.color].contrastText,backgroundColor:(e.vars||e).palette[t.color].main,"&:hover":{backgroundColor:(e.vars||e).palette[t.color].dark,"@media (hover: none)":{backgroundColor:(e.vars||e).palette[t.color].main}},[`&.${d.A.focusVisible}`]:{backgroundColor:(e.vars||e).palette[t.color].dark}},{[`&.${d.A.disabled}`]:{color:(e.vars||e).palette.action.disabled}})},"outlined"===t.variant&&{border:e.vars?`1px solid rgba(${e.vars.palette.common.onBackgroundChannel} / 0.23)`:"1px solid "+("light"===e.palette.mode?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)"),[`&.${d.A.selected}`]:(0,o.A)({},"standard"!==t.color&&{color:(e.vars||e).palette[t.color].main,border:`1px solid ${e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / 0.5)`:(0,l.X4)(e.palette[t.color].main,.5)}`,backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.activatedOpacity})`:(0,l.X4)(e.palette[t.color].main,e.palette.action.activatedOpacity),"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / calc(${e.vars.palette.action.activatedOpacity} + ${e.vars.palette.action.focusOpacity}))`:(0,l.X4)(e.palette[t.color].main,e.palette.action.activatedOpacity+e.palette.action.focusOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${d.A.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / calc(${e.vars.palette.action.activatedOpacity} + ${e.vars.palette.action.focusOpacity}))`:(0,l.X4)(e.palette[t.color].main,e.palette.action.activatedOpacity+e.palette.action.focusOpacity)}},{[`&.${d.A.disabled}`]:{borderColor:(e.vars||e).palette.action.disabledBackground,color:(e.vars||e).palette.action.disabled}})}))),k=(0,x.Ay)("div",{name:"MuiPaginationItem",slot:"Icon",overridesResolver:(e,t)=>t.icon})((({theme:e,ownerState:t})=>(0,o.A)({fontSize:e.typography.pxToRem(20),margin:"0 -8px"},"small"===t.size&&{fontSize:e.typography.pxToRem(18)},"large"===t.size&&{fontSize:e.typography.pxToRem(22)})));var C=i.forwardRef((function(e,t){const n=(0,u.b)({props:e,name:"MuiPaginationItem"}),{className:i,color:l="standard",component:p,components:g={},disabled:x=!1,page:A,selected:C=!1,shape:T="circular",size:M="medium",slots:P={},type:O="page",variant:E="text"}=n,D=(0,r.A)(n,w),R=(0,o.A)({},n,{color:l,disabled:x,selected:C,shape:T,size:M,type:O,variant:E}),I=(0,c.I)(),N=(e=>{const{classes:t,color:n,disabled:r,selected:o,size:i,shape:a,type:l,variant:c}=e,u={root:["root",`size${(0,f.A)(i)}`,c,a,"standard"!==n&&`color${(0,f.A)(n)}`,"standard"!==n&&`${c}${(0,f.A)(n)}`,r&&"disabled",o&&"selected",{page:"page",first:"firstLast",last:"firstLast","start-ellipsis":"ellipsis","end-ellipsis":"ellipsis",previous:"previousNext",next:"previousNext"}[l]],icon:["icon"]};return(0,s.A)(u,d.q,t)})(R),L=(I?{previous:P.next||g.next||b,next:P.previous||g.previous||y,last:P.first||g.first||h.A,first:P.last||g.last||m.A}:{previous:P.previous||g.previous||y,next:P.next||g.next||b,first:P.first||g.first||h.A,last:P.last||g.last||m.A})[O];return"start-ellipsis"===O||"end-ellipsis"===O?(0,v.jsx)(_,{ref:t,ownerState:R,className:(0,a.A)(N.root,i),children:"…"}):(0,v.jsxs)(S,(0,o.A)({ref:t,ownerState:R,component:p,disabled:x,className:(0,a.A)(N.root,i)},D,{children:["page"===O&&A,L?(0,v.jsx)(k,{as:L,ownerState:R,className:N.icon}):null]}))}))},73687:function(e,t,n){"use strict";n.d(t,{q:function(){return i}});var r=n(38413),o=n(31609);function i(e){return(0,o.Ay)("MuiPaginationItem",e)}const a=(0,r.A)("MuiPaginationItem",["root","page","sizeSmall","sizeLarge","text","textPrimary","textSecondary","outlined","outlinedPrimary","outlinedSecondary","rounded","ellipsis","firstLast","previousNext","focusVisible","disabled","selected","icon","colorPrimary","colorSecondary"]);t.A=a},34339:function(e,t,n){"use strict";var r=n(98587),o=n(58168),i=n(96540),a=n(34164),s=n(75659),l=n(771),c=n(11848),u=n(98783),d=n(25669),p=n(21431),f=n(74848);const h=["className","component","elevation","square","variant"],m=(0,c.Ay)("div",{name:"MuiPaper",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],!n.square&&t.rounded,"elevation"===n.variant&&t[`elevation${n.elevation}`]]}})((({theme:e,ownerState:t})=>{var n;return(0,o.A)({backgroundColor:(e.vars||e).palette.background.paper,color:(e.vars||e).palette.text.primary,transition:e.transitions.create("box-shadow")},!t.square&&{borderRadius:e.shape.borderRadius},"outlined"===t.variant&&{border:`1px solid ${(e.vars||e).palette.divider}`},"elevation"===t.variant&&(0,o.A)({boxShadow:(e.vars||e).shadows[t.elevation]},!e.vars&&"dark"===e.palette.mode&&{backgroundImage:`linear-gradient(${(0,l.X4)("#fff",(0,u.A)(t.elevation))}, ${(0,l.X4)("#fff",(0,u.A)(t.elevation))})`},e.vars&&{backgroundImage:null==(n=e.vars.overlays)?void 0:n[t.elevation]}))})),g=i.forwardRef((function(e,t){const n=(0,d.b)({props:e,name:"MuiPaper"}),{className:i,component:l="div",elevation:c=1,square:u=!1,variant:g="elevation"}=n,v=(0,r.A)(n,h),y=(0,o.A)({},n,{component:l,elevation:c,square:u,variant:g}),b=(e=>{const{square:t,elevation:n,variant:r,classes:o}=e,i={root:["root",r,!t&&"rounded","elevation"===r&&`elevation${n}`]};return(0,s.A)(i,p.j,o)})(y);return(0,f.jsx)(m,(0,o.A)({as:l,ownerState:y,className:(0,a.A)(b.root,i),ref:t},v))}));t.A=g},4825:function(e,t,n){"use strict";if(n.r(t),n.d(t,{default:function(){return r.A},getPaperUtilityClass:function(){return o.j},paperClasses:function(){return o.A}}),9279==n.j)var r=n(34339);var o=n(21431)},21431:function(e,t,n){"use strict";n.d(t,{j:function(){return i}});var r=n(38413),o=n(31609);function i(e){return(0,o.Ay)("MuiPaper",e)}const a=(0,r.A)("MuiPaper",["root","rounded","outlined","elevation","elevation0","elevation1","elevation2","elevation3","elevation4","elevation5","elevation6","elevation7","elevation8","elevation9","elevation10","elevation11","elevation12","elevation13","elevation14","elevation15","elevation16","elevation17","elevation18","elevation19","elevation20","elevation21","elevation22","elevation23","elevation24"]);t.A=a},12055:function(e,t,n){"use strict";n.d(t,{Dy:function(){return S},IJ:function(){return P},fB:function(){return k},yt:function(){return M}});var r=n(58168),o=n(98587),i=n(96540),a=n(34164),s=n(75659),l=n(79329),c=n(52197),u=n(11848),d=n(25669),p=n(1935),f=n(96248),h=n(93749),m=n(96852),g=n(87467),v=n(79627),y=n(34339),b=n(90563),x=n(74848);const w=["onEntering"],A=["action","anchorEl","anchorOrigin","anchorPosition","anchorReference","children","className","container","elevation","marginThreshold","open","PaperProps","slots","slotProps","transformOrigin","TransitionComponent","transitionDuration","TransitionProps","disableScrollLock"],_=["slotProps"];function S(e,t){let n=0;return"number"==typeof t?n=t:"center"===t?n=e.height/2:"bottom"===t&&(n=e.height),n}function k(e,t){let n=0;return"number"==typeof t?n=t:"center"===t?n=e.width/2:"right"===t&&(n=e.width),n}function C(e){return[e.horizontal,e.vertical].map((e=>"number"==typeof e?`${e}px`:e)).join(" ")}function T(e){return"function"==typeof e?e():e}const M=(0,u.Ay)(v.A,{name:"MuiPopover",slot:"Root",overridesResolver:(e,t)=>t.root})({}),P=(0,u.Ay)(y.A,{name:"MuiPopover",slot:"Paper",overridesResolver:(e,t)=>t.paper})({position:"absolute",overflowY:"auto",overflowX:"hidden",minWidth:16,minHeight:16,maxWidth:"calc(100% - 32px)",maxHeight:"calc(100% - 32px)",outline:0}),O=i.forwardRef((function(e,t){var n,u,v;const y=(0,d.b)({props:e,name:"MuiPopover"}),{action:O,anchorEl:E,anchorOrigin:D={vertical:"top",horizontal:"left"},anchorPosition:R,anchorReference:I="anchorEl",children:N,className:L,container:j,elevation:$=8,marginThreshold:z=16,open:F,PaperProps:B={},slots:H,slotProps:V,transformOrigin:W={vertical:"top",horizontal:"left"},TransitionComponent:U=g.A,transitionDuration:q="auto",TransitionProps:{onEntering:G}={},disableScrollLock:Y=!1}=y,X=(0,o.A)(y.TransitionProps,w),K=(0,o.A)(y,A),Z=null!=(n=null==V?void 0:V.paper)?n:B,J=i.useRef(),Q=(0,m.A)(J,Z.ref),ee=(0,r.A)({},y,{anchorOrigin:D,anchorReference:I,elevation:$,marginThreshold:z,externalPaperSlotProps:Z,transformOrigin:W,TransitionComponent:U,transitionDuration:q,TransitionProps:X}),te=(e=>{const{classes:t}=e;return(0,s.A)({root:["root"],paper:["paper"]},b.K,t)})(ee),ne=i.useCallback((()=>{if("anchorPosition"===I)return R;const e=T(E),t=(e&&1===e.nodeType?e:(0,f.A)(J.current).body).getBoundingClientRect();return{top:t.top+S(t,D.vertical),left:t.left+k(t,D.horizontal)}}),[E,D.horizontal,D.vertical,R,I]),re=i.useCallback((e=>({vertical:S(e,W.vertical),horizontal:k(e,W.horizontal)})),[W.horizontal,W.vertical]),oe=i.useCallback((e=>{const t={width:e.offsetWidth,height:e.offsetHeight},n=re(t);if("none"===I)return{top:null,left:null,transformOrigin:C(n)};const r=ne();let o=r.top-n.vertical,i=r.left-n.horizontal;const a=o+t.height,s=i+t.width,l=(0,h.A)(T(E)),c=l.innerHeight-z,u=l.innerWidth-z;if(null!==z&&o<z){const e=o-z;o-=e,n.vertical+=e}else if(null!==z&&a>c){const e=a-c;o-=e,n.vertical+=e}if(null!==z&&i<z){const e=i-z;i-=e,n.horizontal+=e}else if(s>u){const e=s-u;i-=e,n.horizontal+=e}return{top:`${Math.round(o)}px`,left:`${Math.round(i)}px`,transformOrigin:C(n)}}),[E,I,ne,re,z]),[ie,ae]=i.useState(F),se=i.useCallback((()=>{const e=J.current;if(!e)return;const t=oe(e);null!==t.top&&(e.style.top=t.top),null!==t.left&&(e.style.left=t.left),e.style.transformOrigin=t.transformOrigin,ae(!0)}),[oe]);i.useEffect((()=>(Y&&window.addEventListener("scroll",se),()=>window.removeEventListener("scroll",se))),[E,Y,se]);i.useEffect((()=>{F&&se()})),i.useImperativeHandle(O,(()=>F?{updatePosition:()=>{se()}}:null),[F,se]),i.useEffect((()=>{if(!F)return;const e=(0,p.A)((()=>{se()})),t=(0,h.A)(E);return t.addEventListener("resize",e),()=>{e.clear(),t.removeEventListener("resize",e)}}),[E,F,se]);let le=q;"auto"!==q||U.muiSupportAuto||(le=void 0);const ce=j||(E?(0,f.A)(T(E)).body:void 0),ue=null!=(u=null==H?void 0:H.root)?u:M,de=null!=(v=null==H?void 0:H.paper)?v:P,pe=(0,l.A)({elementType:de,externalSlotProps:(0,r.A)({},Z,{style:ie?Z.style:(0,r.A)({},Z.style,{opacity:0})}),additionalProps:{elevation:$,ref:Q},ownerState:ee,className:(0,a.A)(te.paper,null==Z?void 0:Z.className)}),fe=(0,l.A)({elementType:ue,externalSlotProps:(null==V?void 0:V.root)||{},externalForwardedProps:K,additionalProps:{ref:t,slotProps:{backdrop:{invisible:!0}},container:ce,open:F},ownerState:ee,className:(0,a.A)(te.root,L)}),{slotProps:he}=fe,me=(0,o.A)(fe,_);return(0,x.jsx)(ue,(0,r.A)({},me,!(0,c.A)(ue)&&{slotProps:he,disableScrollLock:Y},{children:(0,x.jsx)(U,(0,r.A)({appear:!0,in:F,onEntering:(e,t)=>{G&&G(e,t),se()},onExited:()=>{ae(!1)},timeout:le},X,{children:(0,x.jsx)(de,(0,r.A)({},pe,{children:N}))}))}))}));t.Ay=O},90563:function(e,t,n){"use strict";n.d(t,{K:function(){return i}});var r=n(38413),o=n(31609);function i(e){return(0,o.Ay)("MuiPopover",e)}const a=(0,r.A)("MuiPopover",["root","paper"]);t.A=a},6545:function(e,t,n){"use strict";n.d(t,{A:function(){return T}});var r=n(58168),o=n(98587),i=n(72923),a=n(96540),s=n(31523),l=n(21529),c=n(32325),u=n(2784),d=n(75659),p=n(79329),f=n(45061),h=n(10273),m=n(74848);const g=["anchorEl","children","direction","disablePortal","modifiers","open","placement","popperOptions","popperRef","slotProps","slots","TransitionProps","ownerState"],v=["anchorEl","children","container","direction","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","style","transition","slotProps","slots"];function y(e){return"function"==typeof e?e():e}function b(e){return void 0!==e.nodeType}const x={},w=a.forwardRef((function(e,t){var n;const{anchorEl:i,children:c,direction:f,disablePortal:v,modifiers:b,open:x,placement:w,popperOptions:A,popperRef:_,slotProps:S={},slots:k={},TransitionProps:C}=e,T=(0,o.A)(e,g),M=a.useRef(null),P=(0,s.A)(M,t),O=a.useRef(null),E=(0,s.A)(O,_),D=a.useRef(E);(0,l.A)((()=>{D.current=E}),[E]),a.useImperativeHandle(_,(()=>O.current),[]);const R=function(e,t){if("ltr"===t)return e;switch(e){case"bottom-end":return"bottom-start";case"bottom-start":return"bottom-end";case"top-end":return"top-start";case"top-start":return"top-end";default:return e}}(w,f),[I,N]=a.useState(R),[L,j]=a.useState(y(i));a.useEffect((()=>{O.current&&O.current.forceUpdate()})),a.useEffect((()=>{i&&j(y(i))}),[i]),(0,l.A)((()=>{if(!L||!x)return;let e=[{name:"preventOverflow",options:{altBoundary:v}},{name:"flip",options:{altBoundary:v}},{name:"onUpdate",enabled:!0,phase:"afterWrite",fn:({state:e})=>{N(e.placement)}}];null!=b&&(e=e.concat(b)),A&&null!=A.modifiers&&(e=e.concat(A.modifiers));const t=(0,u.n4)(L,M.current,(0,r.A)({placement:R},A,{modifiers:e}));return D.current(t),()=>{t.destroy(),D.current(null)}}),[L,v,b,x,A,R]);const $={placement:I};null!==C&&($.TransitionProps=C);const z=(e=>{const{classes:t}=e;return(0,d.A)({root:["root"]},h.b,t)})(e),F=null!=(n=k.root)?n:"div",B=(0,p.A)({elementType:F,externalSlotProps:S.root,externalForwardedProps:T,additionalProps:{role:"tooltip",ref:P},ownerState:e,className:z.root});return(0,m.jsx)(F,(0,r.A)({},B,{children:"function"==typeof c?c($):c}))}));var A=a.forwardRef((function(e,t){const{anchorEl:n,children:i,container:s,direction:l="ltr",disablePortal:u=!1,keepMounted:d=!1,modifiers:p,open:h,placement:g="bottom",popperOptions:A=x,popperRef:_,style:S,transition:k=!1,slotProps:C={},slots:T={}}=e,M=(0,o.A)(e,v),[P,O]=a.useState(!0);if(!d&&!h&&(!k||P))return null;let E;if(s)E=s;else if(n){const e=y(n);E=e&&b(e)?(0,c.A)(e).body:(0,c.A)(null).body}const D=h||!d||k&&!P?void 0:"none",R=k?{in:h,onEnter:()=>{O(!1)},onExited:()=>{O(!0)}}:void 0;return(0,m.jsx)(f.A,{disablePortal:u,container:E,children:(0,m.jsx)(w,(0,r.A)({anchorEl:n,direction:l,disablePortal:u,modifiers:p,ref:t,open:k?!P:h,placement:g,popperOptions:A,popperRef:_,slotProps:C,slots:T},M,{style:(0,r.A)({position:"fixed",top:0,left:0,display:D},S),TransitionProps:R,children:i}))})})),_=n(11848),S=n(25669);const k=["anchorEl","component","components","componentsProps","container","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","transition","slots","slotProps"],C=(0,_.Ay)(A,{name:"MuiPopper",slot:"Root",overridesResolver:(e,t)=>t.root})({});var T=a.forwardRef((function(e,t){var n;const a=(0,i.A)(),s=(0,S.b)({props:e,name:"MuiPopper"}),{anchorEl:l,component:c,components:u,componentsProps:d,container:p,disablePortal:f,keepMounted:h,modifiers:g,open:v,placement:y,popperOptions:b,popperRef:x,transition:w,slots:A,slotProps:_}=s,T=(0,o.A)(s,k),M=null!=(n=null==A?void 0:A.root)?n:null==u?void 0:u.Root,P=(0,r.A)({anchorEl:l,container:p,disablePortal:f,keepMounted:h,modifiers:g,open:v,placement:y,popperOptions:b,popperRef:x,transition:w},T);return(0,m.jsx)(C,(0,r.A)({as:c,direction:null==a?void 0:a.direction,slots:{root:M},slotProps:null!=_?_:d},P,{ref:t}))}))},10273:function(e,t,n){"use strict";n.d(t,{b:function(){return i}});var r=n(38413),o=n(31609);function i(e){return(0,o.Ay)("MuiPopper",e)}(0,r.A)("MuiPopper",["root"])},45061:function(e,t,n){"use strict";var r=n(96540),o=n(40961),i=n(31523),a=n(21529),s=n(17365),l=n(74848);const c=r.forwardRef((function(e,t){const{children:n,container:c,disablePortal:u=!1}=e,[d,p]=r.useState(null),f=(0,i.A)(r.isValidElement(n)?n.ref:null,t);if((0,a.A)((()=>{u||p(function(e){return"function"==typeof e?e():e}(c)||document.body)}),[c,u]),(0,a.A)((()=>{if(d&&!u)return(0,s.A)(t,d),()=>{(0,s.A)(t,null)}}),[t,d,u]),u){if(r.isValidElement(n)){const e={ref:f};return r.cloneElement(n,e)}return(0,l.jsx)(r.Fragment,{children:n})}return(0,l.jsx)(r.Fragment,{children:d?o.createPortal(n,d):d})}));t.A=c},70057:function(e,t,n){"use strict";n.d(t,{A:function(){return U}});var r,o=n(58168),i=n(98587),a=n(96540),s=n(34164),l=n(11317),c=n(89453),u=(n(44363),n(75659)),d=n(34661),p=n(96248),f=n(28466),h=n(73639),m=n(263),g=n(82891),v=n(11848),y=n(64438),b=n(96852),x=n(41159),w=n(95265),A=n(74848);const _=["aria-describedby","aria-label","autoFocus","autoWidth","children","className","defaultOpen","defaultValue","disabled","displayEmpty","error","IconComponent","inputRef","labelId","MenuProps","multiple","name","onBlur","onChange","onClose","onFocus","onOpen","open","readOnly","renderValue","SelectDisplayProps","tabIndex","type","value","variant"],S=(0,v.Ay)("div",{name:"MuiSelect",slot:"Select",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`&.${w.A.select}`]:t.select},{[`&.${w.A.select}`]:t[n.variant]},{[`&.${w.A.error}`]:t.error},{[`&.${w.A.multiple}`]:t.multiple}]}})(m.Ku,{[`&.${w.A.select}`]:{height:"auto",minHeight:"1.4375em",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"}}),k=(0,v.Ay)("svg",{name:"MuiSelect",slot:"Icon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.icon,n.variant&&t[`icon${(0,f.A)(n.variant)}`],n.open&&t.iconOpen]}})(m.XV),C=(0,v.Ay)("input",{shouldForwardProp:e=>(0,y.A)(e)&&"classes"!==e,name:"MuiSelect",slot:"NativeInput",overridesResolver:(e,t)=>t.nativeInput})({bottom:0,left:0,position:"absolute",opacity:0,pointerEvents:"none",width:"100%",boxSizing:"border-box"});function T(e,t){return"object"==typeof t&&null!==t?e===t:String(e)===String(t)}function M(e){return null==e||"string"==typeof e&&!e.trim()}var P=a.forwardRef((function(e,t){var n;const{"aria-describedby":l,"aria-label":m,autoFocus:v,autoWidth:y,children:P,className:O,defaultOpen:E,defaultValue:D,disabled:R,displayEmpty:I,error:N=!1,IconComponent:L,inputRef:j,labelId:$,MenuProps:z={},multiple:F,name:B,onBlur:H,onChange:V,onClose:W,onFocus:U,onOpen:q,open:G,readOnly:Y,renderValue:X,SelectDisplayProps:K={},tabIndex:Z,value:J,variant:Q="standard"}=e,ee=(0,i.A)(e,_),[te,ne]=(0,x.A)({controlled:J,default:D,name:"Select"}),[re,oe]=(0,x.A)({controlled:G,default:E,name:"Select"}),ie=a.useRef(null),ae=a.useRef(null),[se,le]=a.useState(null),{current:ce}=a.useRef(null!=G),[ue,de]=a.useState(),pe=(0,b.A)(t,j),fe=a.useCallback((e=>{ae.current=e,e&&le(e)}),[]),he=null==se?void 0:se.parentNode;a.useImperativeHandle(pe,(()=>({focus:()=>{ae.current.focus()},node:ie.current,value:te})),[te]),a.useEffect((()=>{E&&re&&se&&!ce&&(de(y?null:he.clientWidth),ae.current.focus())}),[se,y]),a.useEffect((()=>{v&&ae.current.focus()}),[v]),a.useEffect((()=>{if(!$)return;const e=(0,p.A)(ae.current).getElementById($);if(e){const t=()=>{getSelection().isCollapsed&&ae.current.focus()};return e.addEventListener("click",t),()=>{e.removeEventListener("click",t)}}}),[$]);const me=(e,t)=>{e?q&&q(t):W&&W(t),ce||(de(y?null:he.clientWidth),oe(e))},ge=a.Children.toArray(P),ve=e=>t=>{let n;if(t.currentTarget.hasAttribute("tabindex")){if(F){n=Array.isArray(te)?te.slice():[];const t=te.indexOf(e.props.value);-1===t?n.push(e.props.value):n.splice(t,1)}else n=e.props.value;if(e.props.onClick&&e.props.onClick(t),te!==n&&(ne(n),V)){const r=t.nativeEvent||t,o=new r.constructor(r.type,r);Object.defineProperty(o,"target",{writable:!0,value:{value:n,name:B}}),V(o,e)}F||me(!1,t)}},ye=null!==se&&re;let be,xe;delete ee["aria-invalid"];const we=[];let Ae=!1,_e=!1;((0,g.lq)({value:te})||I)&&(X?be=X(te):Ae=!0);const Se=ge.map((e=>{if(!a.isValidElement(e))return null;let t;if(F){if(!Array.isArray(te))throw new Error((0,c.A)(2));t=te.some((t=>T(t,e.props.value))),t&&Ae&&we.push(e.props.children)}else t=T(te,e.props.value),t&&Ae&&(xe=e.props.children);return t&&(_e=!0),a.cloneElement(e,{"aria-selected":t?"true":"false",onClick:ve(e),onKeyUp:t=>{" "===t.key&&t.preventDefault(),e.props.onKeyUp&&e.props.onKeyUp(t)},role:"option",selected:t,value:void 0,"data-value":e.props.value})}));Ae&&(be=F?0===we.length?null:we.reduce(((e,t,n)=>(e.push(t),n<we.length-1&&e.push(", "),e)),[]):xe);let ke,Ce=ue;!y&&ce&&se&&(Ce=he.clientWidth),ke=void 0!==Z?Z:R?null:0;const Te=K.id||(B?`mui-component-select-${B}`:void 0),Me=(0,o.A)({},e,{variant:Q,value:te,open:ye,error:N}),Pe=(e=>{const{classes:t,variant:n,disabled:r,multiple:o,open:i,error:a}=e,s={select:["select",n,r&&"disabled",o&&"multiple",a&&"error"],icon:["icon",`icon${(0,f.A)(n)}`,i&&"iconOpen",r&&"disabled"],nativeInput:["nativeInput"]};return(0,u.A)(s,w.T,t)})(Me),Oe=(0,o.A)({},z.PaperProps,null==(n=z.slotProps)?void 0:n.paper),Ee=(0,d.A)();return(0,A.jsxs)(a.Fragment,{children:[(0,A.jsx)(S,(0,o.A)({ref:fe,tabIndex:ke,role:"combobox","aria-controls":Ee,"aria-disabled":R?"true":void 0,"aria-expanded":ye?"true":"false","aria-haspopup":"listbox","aria-label":m,"aria-labelledby":[$,Te].filter(Boolean).join(" ")||void 0,"aria-describedby":l,onKeyDown:e=>{if(!Y){-1!==[" ","ArrowUp","ArrowDown","Enter"].indexOf(e.key)&&(e.preventDefault(),me(!0,e))}},onMouseDown:R||Y?null:e=>{0===e.button&&(e.preventDefault(),ae.current.focus(),me(!0,e))},onBlur:e=>{!ye&&H&&(Object.defineProperty(e,"target",{writable:!0,value:{value:te,name:B}}),H(e))},onFocus:U},K,{ownerState:Me,className:(0,s.A)(K.className,Pe.select,O),id:Te,children:M(be)?r||(r=(0,A.jsx)("span",{className:"notranslate",children:"​"})):be})),(0,A.jsx)(C,(0,o.A)({"aria-invalid":N,value:Array.isArray(te)?te.join(","):te,name:B,ref:ie,"aria-hidden":!0,onChange:e=>{const t=ge.find((t=>t.props.value===e.target.value));void 0!==t&&(ne(t.props.value),V&&V(e,t))},tabIndex:-1,disabled:R,className:Pe.nativeInput,autoFocus:v,ownerState:Me},ee)),(0,A.jsx)(k,{as:L,className:Pe.icon,ownerState:Me}),(0,A.jsx)(h.A,(0,o.A)({id:`menu-${B||""}`,anchorEl:he,open:ye,onClose:e=>{me(!1,e)},anchorOrigin:{vertical:"bottom",horizontal:"center"},transformOrigin:{vertical:"top",horizontal:"center"}},z,{MenuListProps:(0,o.A)({"aria-labelledby":$,role:"listbox","aria-multiselectable":F?"true":void 0,disableListWrap:!0,id:Ee},z.MenuListProps),slotProps:(0,o.A)({},z.slotProps,{paper:(0,o.A)({},Oe,{style:(0,o.A)({minWidth:Ce},null!=Oe?Oe.style:null)})}),children:Se}))]})})),O=n(38086),E=n(79716),D=n(602),R=n(77623),I=n(21915),N=n(8641),L=n(25669),j=n(39770);const $=["autoWidth","children","classes","className","defaultOpen","displayEmpty","IconComponent","id","input","inputProps","label","labelId","MenuProps","multiple","native","onClose","onOpen","open","renderValue","SelectDisplayProps","variant"],z=["root"],F={name:"MuiSelect",overridesResolver:(e,t)=>t.root,shouldForwardProp:e=>(0,j.A)(e)&&"variant"!==e,slot:"Root"},B=(0,v.Ay)(R.A,F)(""),H=(0,v.Ay)(N.A,F)(""),V=(0,v.Ay)(I.A,F)(""),W=a.forwardRef((function(e,t){const n=(0,L.b)({name:"MuiSelect",props:e}),{autoWidth:r=!1,children:c,classes:u={},className:d,defaultOpen:p=!1,displayEmpty:f=!1,IconComponent:h=D.A,id:g,input:v,inputProps:y,label:x,labelId:w,MenuProps:_,multiple:S=!1,native:k=!1,onClose:C,onOpen:T,open:M,renderValue:R,SelectDisplayProps:I,variant:N="outlined"}=n,j=(0,i.A)(n,$),F=k?m.Ay:P,W=(0,E.A)(),U=(0,O.A)({props:n,muiFormControl:W,states:["variant","error"]}),q=U.variant||N,G=(0,o.A)({},n,{variant:q,classes:u}),Y=(e=>{const{classes:t}=e;return t})(G),X=(0,i.A)(Y,z),K=v||{standard:(0,A.jsx)(B,{ownerState:G}),outlined:(0,A.jsx)(H,{label:x,ownerState:G}),filled:(0,A.jsx)(V,{ownerState:G})}[q],Z=(0,b.A)(t,K.ref);return(0,A.jsx)(a.Fragment,{children:a.cloneElement(K,(0,o.A)({inputComponent:F,inputProps:(0,o.A)({children:c,error:U.error,IconComponent:h,variant:q,type:void 0,multiple:S},k?{id:g}:{autoWidth:r,defaultOpen:p,displayEmpty:f,labelId:w,MenuProps:_,onClose:C,onOpen:T,open:M,renderValue:R,SelectDisplayProps:(0,o.A)({id:g},I)},y,{classes:y?(0,l.A)(X,y.classes):X},v?v.props.inputProps:{})},(S&&k||f)&&"outlined"===q?{notched:!0}:{},{ref:Z,className:(0,s.A)(K.props.className,d,Y.root)},!v&&{variant:q},j))})}));W.muiName="Select";var U=W},95265:function(e,t,n){"use strict";n.d(t,{T:function(){return i}});var r=n(38413),o=n(31609);function i(e){return(0,o.Ay)("MuiSelect",e)}const a=(0,r.A)("MuiSelect",["root","select","multiple","filled","outlined","standard","disabled","focused","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]);t.A=a},47035:function(e,t,n){"use strict";var r=n(98587),o=n(58168),i=n(96540),a=n(34164),s=n(17437),l=n(75659),c=n(31127),u=n(24279),d=n(11848),p=n(25669),f=n(3663),h=n(74848);const m=["animation","className","component","height","style","variant","width"];let g,v,y,b,x=e=>e;const w=(0,s.i7)(g||(g=x` 0% { opacity: 1; } 50% { opacity: 0.4; } 100% { opacity: 1; } `)),A=(0,s.i7)(v||(v=x` 0% { transform: translateX(-100%); } 50% { /* +0.5s of delay between each loop */ transform: translateX(100%); } 100% { transform: translateX(100%); } `)),_=(0,d.Ay)("span",{name:"MuiSkeleton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],!1!==n.animation&&t[n.animation],n.hasChildren&&t.withChildren,n.hasChildren&&!n.width&&t.fitContent,n.hasChildren&&!n.height&&t.heightAuto]}})((({theme:e,ownerState:t})=>{const n=(0,c.l_)(e.shape.borderRadius)||"px",r=(0,c.db)(e.shape.borderRadius);return(0,o.A)({display:"block",backgroundColor:e.vars?e.vars.palette.Skeleton.bg:(0,u.X4)(e.palette.text.primary,"light"===e.palette.mode?.11:.13),height:"1.2em"},"text"===t.variant&&{marginTop:0,marginBottom:0,height:"auto",transformOrigin:"0 55%",transform:"scale(1, 0.60)",borderRadius:`${r}${n}/${Math.round(r/.6*10)/10}${n}`,"&:empty:before":{content:'"\\00a0"'}},"circular"===t.variant&&{borderRadius:"50%"},"rounded"===t.variant&&{borderRadius:(e.vars||e).shape.borderRadius},t.hasChildren&&{"& > *":{visibility:"hidden"}},t.hasChildren&&!t.width&&{maxWidth:"fit-content"},t.hasChildren&&!t.height&&{height:"auto"})}),(({ownerState:e})=>"pulse"===e.animation&&(0,s.AH)(y||(y=x` animation: ${0} 2s ease-in-out 0.5s infinite; `),w)),(({ownerState:e,theme:t})=>"wave"===e.animation&&(0,s.AH)(b||(b=x` position: relative; overflow: hidden; /* Fix bug in Safari https://bugs.webkit.org/show_bug.cgi?id=68196 */ -webkit-mask-image: -webkit-radial-gradient(white, black); &::after { animation: ${0} 2s linear 0.5s infinite; background: linear-gradient( 90deg, transparent, ${0}, transparent ); content: ''; position: absolute; transform: translateX(-100%); /* Avoid flash during server-side hydration */ bottom: 0; left: 0; right: 0; top: 0; } `),A,(t.vars||t).palette.action.hover))),S=i.forwardRef((function(e,t){const n=(0,p.b)({props:e,name:"MuiSkeleton"}),{animation:i="pulse",className:s,component:c="span",height:u,style:d,variant:g="text",width:v}=n,y=(0,r.A)(n,m),b=(0,o.A)({},n,{animation:i,component:c,variant:g,hasChildren:Boolean(y.children)}),x=(e=>{const{classes:t,variant:n,animation:r,hasChildren:o,width:i,height:a}=e,s={root:["root",n,r,o&&"withChildren",o&&!i&&"fitContent",o&&!a&&"heightAuto"]};return(0,l.A)(s,f.E,t)})(b);return(0,h.jsx)(_,(0,o.A)({as:c,ref:t,className:(0,a.A)(x.root,s),ownerState:b},y,{style:(0,o.A)({width:v,height:u},d)}))}));t.A=S},3663:function(e,t,n){"use strict";n.d(t,{E:function(){return i}});var r=n(38413),o=n(31609);function i(e){return(0,o.Ay)("MuiSkeleton",e)}const a=(0,r.A)("MuiSkeleton",["root","text","rectangular","rounded","circular","pulse","wave","withChildren","fitContent","heightAuto"]);t.A=a},48875:function(e,t,n){"use strict";var r=n(58168),o=n(98587),i=n(96540),a=n(80851),s=n(1935),l=n(96852),c=n(44675),u=n(35186),d=n(93749),p=n(74848);const f=["addEndListener","appear","children","container","direction","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"];function h(e,t,n){var r;const o=function(e,t,n){const r=t.getBoundingClientRect(),o=n&&n.getBoundingClientRect(),i=(0,d.A)(t);let a;if(t.fakeTransform)a=t.fakeTransform;else{const e=i.getComputedStyle(t);a=e.getPropertyValue("-webkit-transform")||e.getPropertyValue("transform")}let s=0,l=0;if(a&&"none"!==a&&"string"==typeof a){const e=a.split("(")[1].split(")")[0].split(",");s=parseInt(e[4],10),l=parseInt(e[5],10)}return"left"===e?o?`translateX(${o.right+s-r.left}px)`:`translateX(${i.innerWidth+s-r.left}px)`:"right"===e?o?`translateX(-${r.right-o.left-s}px)`:`translateX(-${r.left+r.width-s}px)`:"up"===e?o?`translateY(${o.bottom+l-r.top}px)`:`translateY(${i.innerHeight+l-r.top}px)`:o?`translateY(-${r.top-o.top+r.height-l}px)`:`translateY(-${r.top+r.height-l}px)`}(e,t,"function"==typeof(r=n)?r():r);o&&(t.style.webkitTransform=o,t.style.transform=o)}const m=i.forwardRef((function(e,t){const n=(0,c.A)(),m={enter:n.transitions.easing.easeOut,exit:n.transitions.easing.sharp},g={enter:n.transitions.duration.enteringScreen,exit:n.transitions.duration.leavingScreen},{addEndListener:v,appear:y=!0,children:b,container:x,direction:w="down",easing:A=m,in:_,onEnter:S,onEntered:k,onEntering:C,onExit:T,onExited:M,onExiting:P,style:O,timeout:E=g,TransitionComponent:D=a.Ay}=e,R=(0,o.A)(e,f),I=i.useRef(null),N=(0,l.A)(b.ref,I,t),L=e=>t=>{e&&(void 0===t?e(I.current):e(I.current,t))},j=L(((e,t)=>{h(w,e,x),(0,u.q)(e),S&&S(e,t)})),$=L(((e,t)=>{const o=(0,u.c)({timeout:E,style:O,easing:A},{mode:"enter"});e.style.webkitTransition=n.transitions.create("-webkit-transform",(0,r.A)({},o)),e.style.transition=n.transitions.create("transform",(0,r.A)({},o)),e.style.webkitTransform="none",e.style.transform="none",C&&C(e,t)})),z=L(k),F=L(P),B=L((e=>{const t=(0,u.c)({timeout:E,style:O,easing:A},{mode:"exit"});e.style.webkitTransition=n.transitions.create("-webkit-transform",t),e.style.transition=n.transitions.create("transform",t),h(w,e,x),T&&T(e)})),H=L((e=>{e.style.webkitTransition="",e.style.transition="",M&&M(e)})),V=i.useCallback((()=>{I.current&&h(w,I.current,x)}),[w,x]);return i.useEffect((()=>{if(_||"down"===w||"right"===w)return;const e=(0,s.A)((()=>{I.current&&h(w,I.current,x)})),t=(0,d.A)(I.current);return t.addEventListener("resize",e),()=>{e.clear(),t.removeEventListener("resize",e)}}),[w,_,x]),i.useEffect((()=>{_||V()}),[_,V]),(0,p.jsx)(D,(0,r.A)({nodeRef:I,onEnter:j,onEntered:z,onEntering:$,onExit:B,onExited:H,onExiting:F,addEndListener:e=>{v&&v(I.current,e)},appear:y,in:_,timeout:E},R,{children:(e,t)=>i.cloneElement(b,(0,r.A)({ref:N,style:(0,r.A)({visibility:"exited"!==e||_?void 0:"hidden"},O,b.props.style)},t))}))}));t.A=m},30995:function(e,t,n){"use strict";n.d(t,{A:function(){return C}});var r=n(98587),o=n(58168),i=n(96540),a=n(34164),s=n(11317),l=n(31609),c=n(75659),u=n(81825),d=n(44467),p=n(39599),f=n(83791),h=n(89452),m=n(68248),g=n(74848);const v=["component","direction","spacing","divider","children","className","useFlexGap"],y=(0,f.A)(),b=(0,u.A)("div",{name:"MuiStack",slot:"Root",overridesResolver:(e,t)=>t.root});function x(e){return(0,d.A)({props:e,name:"MuiStack",defaultTheme:y})}function w(e,t){const n=i.Children.toArray(e).filter(Boolean);return n.reduce(((e,r,o)=>(e.push(r),o<n.length-1&&e.push(i.cloneElement(t,{key:`separator-${o}`})),e)),[])}const A=({ownerState:e,theme:t})=>{let n=(0,o.A)({display:"flex",flexDirection:"column"},(0,h.NI)({theme:t},(0,h.kW)({values:e.direction,breakpoints:t.breakpoints.values}),(e=>({flexDirection:e}))));if(e.spacing){const r=(0,m.LX)(t),o=Object.keys(t.breakpoints.values).reduce(((t,n)=>(("object"==typeof e.spacing&&null!=e.spacing[n]||"object"==typeof e.direction&&null!=e.direction[n])&&(t[n]=!0),t)),{}),i=(0,h.kW)({values:e.direction,base:o}),a=(0,h.kW)({values:e.spacing,base:o});"object"==typeof i&&Object.keys(i).forEach(((e,t,n)=>{if(!i[e]){const r=t>0?i[n[t-1]]:"column";i[e]=r}}));const l=(t,n)=>{return e.useFlexGap?{gap:(0,m._W)(r,t)}:{"& > :not(style):not(style)":{margin:0},"& > :not(style) ~ :not(style)":{[`margin${o=n?i[n]:e.direction,{row:"Left","row-reverse":"Right",column:"Top","column-reverse":"Bottom"}[o]}`]:(0,m._W)(r,t)}};var o};n=(0,s.A)(n,(0,h.NI)({theme:t},a,l))}return n=(0,h.iZ)(t.breakpoints,n),n};var _=n(11848),S=n(25669);const k=function(e={}){const{createStyledComponent:t=b,useThemeProps:n=x,componentName:s="MuiStack"}=e,u=t(A),d=i.forwardRef((function(e,t){const i=n(e),d=(0,p.A)(i),{component:f="div",direction:h="column",spacing:m=0,divider:y,children:b,className:x,useFlexGap:A=!1}=d,_=(0,r.A)(d,v),S={direction:h,spacing:m,useFlexGap:A},k=(0,c.A)({root:["root"]},(e=>(0,l.Ay)(s,e)),{});return(0,g.jsx)(u,(0,o.A)({as:f,ownerState:S,ref:t,className:(0,a.A)(k.root,x)},_,{children:y?w(b,y):b}))}));return d}({createStyledComponent:(0,_.Ay)("div",{name:"MuiStack",slot:"Root",overridesResolver:(e,t)=>t.root}),useThemeProps:e=>(0,S.b)({props:e,name:"MuiStack"})});var C=k},64623:function(e,t,n){"use strict";var r=n(58168),o=n(98587),i=n(96540),a=n(34164),s=n(75659),l=n(28466),c=n(25669),u=n(11848),d=n(15099),p=n(74848);const f=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"],h=(0,u.Ay)("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,"inherit"!==n.color&&t[`color${(0,l.A)(n.color)}`],t[`fontSize${(0,l.A)(n.fontSize)}`]]}})((({theme:e,ownerState:t})=>{var n,r,o,i,a,s,l,c,u,d,p,f,h;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:t.hasSvgAsChild?void 0:"currentColor",flexShrink:0,transition:null==(n=e.transitions)||null==(r=n.create)?void 0:r.call(n,"fill",{duration:null==(o=e.transitions)||null==(o=o.duration)?void 0:o.shorter}),fontSize:{inherit:"inherit",small:(null==(i=e.typography)||null==(a=i.pxToRem)?void 0:a.call(i,20))||"1.25rem",medium:(null==(s=e.typography)||null==(l=s.pxToRem)?void 0:l.call(s,24))||"1.5rem",large:(null==(c=e.typography)||null==(u=c.pxToRem)?void 0:u.call(c,35))||"2.1875rem"}[t.fontSize],color:null!=(d=null==(p=(e.vars||e).palette)||null==(p=p[t.color])?void 0:p.main)?d:{action:null==(f=(e.vars||e).palette)||null==(f=f.action)?void 0:f.active,disabled:null==(h=(e.vars||e).palette)||null==(h=h.action)?void 0:h.disabled,inherit:void 0}[t.color]}})),m=i.forwardRef((function(e,t){const n=(0,c.b)({props:e,name:"MuiSvgIcon"}),{children:u,className:m,color:g="inherit",component:v="svg",fontSize:y="medium",htmlColor:b,inheritViewBox:x=!1,titleAccess:w,viewBox:A="0 0 24 24"}=n,_=(0,o.A)(n,f),S=i.isValidElement(u)&&"svg"===u.type,k=(0,r.A)({},n,{color:g,component:v,fontSize:y,instanceFontSize:e.fontSize,inheritViewBox:x,viewBox:A,hasSvgAsChild:S}),C={};x||(C.viewBox=A);const T=(e=>{const{color:t,fontSize:n,classes:r}=e,o={root:["root","inherit"!==t&&`color${(0,l.A)(t)}`,`fontSize${(0,l.A)(n)}`]};return(0,s.A)(o,d.E,r)})(k);return(0,p.jsxs)(h,(0,r.A)({as:v,className:(0,a.A)(T.root,m),focusable:"false",color:b,"aria-hidden":!w||void 0,role:w?"img":void 0,ref:t},C,_,S&&u.props,{ownerState:k,children:[S?u.props.children:u,w?(0,p.jsx)("title",{children:w}):null]}))}));m.muiName="SvgIcon",t.A=m},15099:function(e,t,n){"use strict";n.d(t,{E:function(){return i}});var r=n(38413),o=n(31609);function i(e){return(0,o.Ay)("MuiSvgIcon",e)}const a=(0,r.A)("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);t.A=a},72205:function(e,t,n){"use strict";var r=n(98587),o=n(58168),i=n(96540),a=n(34164),s=n(75659),l=n(771),c=n(28466),u=n(55860),d=n(11848),p=n(25669),f=n(96869),h=n(74848);const m=["className","color","edge","size","sx"],g=(0,d.Ay)("span",{name:"MuiSwitch",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.edge&&t[`edge${(0,c.A)(n.edge)}`],t[`size${(0,c.A)(n.size)}`]]}})({display:"inline-flex",width:58,height:38,overflow:"hidden",padding:12,boxSizing:"border-box",position:"relative",flexShrink:0,zIndex:0,verticalAlign:"middle","@media print":{colorAdjust:"exact"},variants:[{props:{edge:"start"},style:{marginLeft:-8}},{props:{edge:"end"},style:{marginRight:-8}},{props:{size:"small"},style:{width:40,height:24,padding:7,[`& .${f.A.thumb}`]:{width:16,height:16},[`& .${f.A.switchBase}`]:{padding:4,[`&.${f.A.checked}`]:{transform:"translateX(16px)"}}}}]}),v=(0,d.Ay)(u.A,{name:"MuiSwitch",slot:"SwitchBase",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.switchBase,{[`& .${f.A.input}`]:t.input},"default"!==n.color&&t[`color${(0,c.A)(n.color)}`]]}})((({theme:e})=>({position:"absolute",top:0,left:0,zIndex:1,color:e.vars?e.vars.palette.Switch.defaultColor:`${"light"===e.palette.mode?e.palette.common.white:e.palette.grey[300]}`,transition:e.transitions.create(["left","transform"],{duration:e.transitions.duration.shortest}),[`&.${f.A.checked}`]:{transform:"translateX(20px)"},[`&.${f.A.disabled}`]:{color:e.vars?e.vars.palette.Switch.defaultDisabledColor:`${"light"===e.palette.mode?e.palette.grey[100]:e.palette.grey[600]}`},[`&.${f.A.checked} + .${f.A.track}`]:{opacity:.5},[`&.${f.A.disabled} + .${f.A.track}`]:{opacity:e.vars?e.vars.opacity.switchTrackDisabled:""+("light"===e.palette.mode?.12:.2)},[`& .${f.A.input}`]:{left:"-100%",width:"300%"}})),(({theme:e})=>({"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,l.X4)(e.palette.action.active,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},variants:[...Object.entries(e.palette).filter((([,e])=>e.main&&e.light)).map((([t])=>({props:{color:t},style:{[`&.${f.A.checked}`]:{color:(e.vars||e).palette[t].main,"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette[t].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,l.X4)(e.palette[t].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${f.A.disabled}`]:{color:e.vars?e.vars.palette.Switch[`${t}DisabledColor`]:`${"light"===e.palette.mode?(0,l.a)(e.palette[t].main,.62):(0,l.e$)(e.palette[t].main,.55)}`}},[`&.${f.A.checked} + .${f.A.track}`]:{backgroundColor:(e.vars||e).palette[t].main}}})))]}))),y=(0,d.Ay)("span",{name:"MuiSwitch",slot:"Track",overridesResolver:(e,t)=>t.track})((({theme:e})=>({height:"100%",width:"100%",borderRadius:7,zIndex:-1,transition:e.transitions.create(["opacity","background-color"],{duration:e.transitions.duration.shortest}),backgroundColor:e.vars?e.vars.palette.common.onBackground:`${"light"===e.palette.mode?e.palette.common.black:e.palette.common.white}`,opacity:e.vars?e.vars.opacity.switchTrack:""+("light"===e.palette.mode?.38:.3)}))),b=(0,d.Ay)("span",{name:"MuiSwitch",slot:"Thumb",overridesResolver:(e,t)=>t.thumb})((({theme:e})=>({boxShadow:(e.vars||e).shadows[1],backgroundColor:"currentColor",width:20,height:20,borderRadius:"50%"}))),x=i.forwardRef((function(e,t){const n=(0,p.b)({props:e,name:"MuiSwitch"}),{className:i,color:l="primary",edge:u=!1,size:d="medium",sx:x}=n,w=(0,r.A)(n,m),A=(0,o.A)({},n,{color:l,edge:u,size:d}),_=(e=>{const{classes:t,edge:n,size:r,color:i,checked:a,disabled:l}=e,u={root:["root",n&&`edge${(0,c.A)(n)}`,`size${(0,c.A)(r)}`],switchBase:["switchBase",`color${(0,c.A)(i)}`,a&&"checked",l&&"disabled"],thumb:["thumb"],track:["track"],input:["input"]},d=(0,s.A)(u,f.n,t);return(0,o.A)({},t,d)})(A),S=(0,h.jsx)(b,{className:_.thumb,ownerState:A});return(0,h.jsxs)(g,{className:(0,a.A)(_.root,i),sx:x,ownerState:A,children:[(0,h.jsx)(v,(0,o.A)({type:"checkbox",icon:S,checkedIcon:S,ref:t,ownerState:A},w,{classes:(0,o.A)({},_,{root:_.switchBase})})),(0,h.jsx)(y,{className:_.track,ownerState:A})]})}));t.A=x},59489:function(e,t,n){"use strict";if(n.r(t),n.d(t,{default:function(){return r.A},getSwitchUtilityClass:function(){return o.n},switchClasses:function(){return o.A}}),/^(2927|5935|9279)$/.test(n.j))var r=n(72205);var o=n(96869)},96869:function(e,t,n){"use strict";n.d(t,{n:function(){return i}});var r=n(38413),o=n(31609);function i(e){return(0,o.Ay)("MuiSwitch",e)}const a=(0,r.A)("MuiSwitch",["root","edgeStart","edgeEnd","switchBase","colorPrimary","colorSecondary","sizeSmall","sizeMedium","checked","disabled","input","thumb","track"]);t.A=a},89367:function(e,t,n){"use strict";var r=n(98587),o=n(58168),i=n(96540),a=n(34164),s=n(75659),l=n(9934),c=n(28466),u=n(25669),d=n(11848),p=n(26915),f=n(74848);const h=["className","disabled","disableFocusRipple","fullWidth","icon","iconPosition","indicator","label","onChange","onClick","onFocus","selected","selectionFollowsFocus","textColor","value","wrapped"],m=(0,d.Ay)(l.A,{name:"MuiTab",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.label&&n.icon&&t.labelIcon,t[`textColor${(0,c.A)(n.textColor)}`],n.fullWidth&&t.fullWidth,n.wrapped&&t.wrapped,{[`& .${p.A.iconWrapper}`]:t.iconWrapper}]}})((({theme:e,ownerState:t})=>(0,o.A)({},e.typography.button,{maxWidth:360,minWidth:90,position:"relative",minHeight:48,flexShrink:0,padding:"12px 16px",overflow:"hidden",whiteSpace:"normal",textAlign:"center"},t.label&&{flexDirection:"top"===t.iconPosition||"bottom"===t.iconPosition?"column":"row"},{lineHeight:1.25},t.icon&&t.label&&{minHeight:72,paddingTop:9,paddingBottom:9,[`& > .${p.A.iconWrapper}`]:(0,o.A)({},"top"===t.iconPosition&&{marginBottom:6},"bottom"===t.iconPosition&&{marginTop:6},"start"===t.iconPosition&&{marginRight:e.spacing(1)},"end"===t.iconPosition&&{marginLeft:e.spacing(1)})},"inherit"===t.textColor&&{color:"inherit",opacity:.6,[`&.${p.A.selected}`]:{opacity:1},[`&.${p.A.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity}},"primary"===t.textColor&&{color:(e.vars||e).palette.text.secondary,[`&.${p.A.selected}`]:{color:(e.vars||e).palette.primary.main},[`&.${p.A.disabled}`]:{color:(e.vars||e).palette.text.disabled}},"secondary"===t.textColor&&{color:(e.vars||e).palette.text.secondary,[`&.${p.A.selected}`]:{color:(e.vars||e).palette.secondary.main},[`&.${p.A.disabled}`]:{color:(e.vars||e).palette.text.disabled}},t.fullWidth&&{flexShrink:1,flexGrow:1,flexBasis:0,maxWidth:"none"},t.wrapped&&{fontSize:e.typography.pxToRem(12)}))),g=i.forwardRef((function(e,t){const n=(0,u.b)({props:e,name:"MuiTab"}),{className:l,disabled:d=!1,disableFocusRipple:g=!1,fullWidth:v,icon:y,iconPosition:b="top",indicator:x,label:w,onChange:A,onClick:_,onFocus:S,selected:k,selectionFollowsFocus:C,textColor:T="inherit",value:M,wrapped:P=!1}=n,O=(0,r.A)(n,h),E=(0,o.A)({},n,{disabled:d,disableFocusRipple:g,selected:k,icon:!!y,iconPosition:b,label:!!w,fullWidth:v,textColor:T,wrapped:P}),D=(e=>{const{classes:t,textColor:n,fullWidth:r,wrapped:o,icon:i,label:a,selected:l,disabled:u}=e,d={root:["root",i&&a&&"labelIcon",`textColor${(0,c.A)(n)}`,r&&"fullWidth",o&&"wrapped",l&&"selected",u&&"disabled"],iconWrapper:["iconWrapper"]};return(0,s.A)(d,p.s,t)})(E),R=y&&w&&i.isValidElement(y)?i.cloneElement(y,{className:(0,a.A)(D.iconWrapper,y.props.className)}):y;return(0,f.jsxs)(m,(0,o.A)({focusRipple:!g,className:(0,a.A)(D.root,l),ref:t,role:"tab","aria-selected":k,disabled:d,onClick:e=>{!k&&A&&A(e,M),_&&_(e)},onFocus:e=>{C&&!k&&A&&A(e,M),S&&S(e)},ownerState:E,tabIndex:k?0:-1},O,{children:["top"===b||"start"===b?(0,f.jsxs)(i.Fragment,{children:[R,w]}):(0,f.jsxs)(i.Fragment,{children:[w,R]}),x]}))}));t.A=g},92148:function(e,t,n){"use strict";if(n.r(t),n.d(t,{default:function(){return r.A},getTabUtilityClass:function(){return o.s},tabClasses:function(){return o.A}}),9279==n.j)var r=n(89367);var o=n(26915)},26915:function(e,t,n){"use strict";n.d(t,{s:function(){return i}});var r=n(38413),o=n(31609);function i(e){return(0,o.Ay)("MuiTab",e)}const a=(0,r.A)("MuiTab",["root","labelIcon","textColorInherit","textColorPrimary","textColorSecondary","selected","disabled","fullWidth","wrapped","iconWrapper"]);t.A=a},6395:function(e,t,n){"use strict";var r=n(98587),o=n(58168),i=n(96540),a=n(34164),s=n(75659),l=n(73788),c=n(79329),u=n(16445),d=n(60124),p=n(9934),f=n(25669),h=n(11848),m=n(26671),g=n(74848);const v=["className","slots","slotProps","direction","orientation","disabled"],y=(0,h.Ay)(p.A,{name:"MuiTabScrollButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.orientation&&t[n.orientation]]}})((({ownerState:e})=>(0,o.A)({width:40,flexShrink:0,opacity:.8,[`&.${m.A.disabled}`]:{opacity:0}},"vertical"===e.orientation&&{width:"100%",height:40,"& svg":{transform:`rotate(${e.isRtl?-90:90}deg)`}}))),b=i.forwardRef((function(e,t){var n,i;const p=(0,f.b)({props:e,name:"MuiTabScrollButton"}),{className:h,slots:b={},slotProps:x={},direction:w}=p,A=(0,r.A)(p,v),_=(0,l.I)(),S=(0,o.A)({isRtl:_},p),k=(e=>{const{classes:t,orientation:n,disabled:r}=e,o={root:["root",n,r&&"disabled"]};return(0,s.A)(o,m.T,t)})(S),C=null!=(n=b.StartScrollButtonIcon)?n:u.A,T=null!=(i=b.EndScrollButtonIcon)?i:d.A,M=(0,c.A)({elementType:C,externalSlotProps:x.startScrollButtonIcon,additionalProps:{fontSize:"small"},ownerState:S}),P=(0,c.A)({elementType:T,externalSlotProps:x.endScrollButtonIcon,additionalProps:{fontSize:"small"},ownerState:S});return(0,g.jsx)(y,(0,o.A)({component:"div",className:(0,a.A)(k.root,h),ref:t,role:null,ownerState:S,tabIndex:null},A,{children:"left"===w?(0,g.jsx)(C,(0,o.A)({},M)):(0,g.jsx)(T,(0,o.A)({},P))}))}));t.A=b},26671:function(e,t,n){"use strict";n.d(t,{T:function(){return i}});var r=n(38413),o=n(31609);function i(e){return(0,o.Ay)("MuiTabScrollButton",e)}const a=(0,r.A)("MuiTabScrollButton",["root","vertical","horizontal","disabled"]);t.A=a},32604:function(e,t,n){"use strict";n.d(t,{A:function(){return j}});var r=n(98587),o=n(58168),i=n(96540),a=(n(44363),n(34164)),s=n(75659),l=n(73788),c=n(79329),u=n(11848),d=n(25669),p=n(44675),f=n(1935);let h;function m(){if(h)return h;const e=document.createElement("div"),t=document.createElement("div");return t.style.width="10px",t.style.height="1px",e.appendChild(t),e.dir="rtl",e.style.fontSize="14px",e.style.width="4px",e.style.height="1px",e.style.position="absolute",e.style.top="-1000px",e.style.overflow="scroll",document.body.appendChild(e),h="reverse",e.scrollLeft>0?h="default":(e.scrollLeft=1,0===e.scrollLeft&&(h="negative")),document.body.removeChild(e),h}function g(e,t){const n=e.scrollLeft;if("rtl"!==t)return n;switch(m()){case"negative":return e.scrollWidth-e.clientWidth+n;case"reverse":return e.scrollWidth-e.clientWidth-n;default:return n}}function v(e){return(1+Math.sin(Math.PI*e-Math.PI/2))/2}var y=n(2778),b=n(93749),x=n(74848);const w=["onChange"],A={width:99,height:99,position:"absolute",top:-9999,overflow:"scroll"};var _=n(6395),S=n(83034),k=n(6533),C=n(96248);const T=["aria-label","aria-labelledby","action","centered","children","className","component","allowScrollButtonsMobile","indicatorColor","onChange","orientation","ScrollButtonComponent","scrollButtons","selectionFollowsFocus","slots","slotProps","TabIndicatorProps","TabScrollButtonProps","textColor","value","variant","visibleScrollbar"],M=(e,t)=>e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:e.firstChild,P=(e,t)=>e===t?e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:e.lastChild,O=(e,t,n)=>{let r=!1,o=n(e,t);for(;o;){if(o===e.firstChild){if(r)return;r=!0}const t=o.disabled||"true"===o.getAttribute("aria-disabled");if(o.hasAttribute("tabindex")&&!t)return void o.focus();o=n(e,o)}},E=(0,u.Ay)("div",{name:"MuiTabs",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${k.A.scrollButtons}`]:t.scrollButtons},{[`& .${k.A.scrollButtons}`]:n.scrollButtonsHideMobile&&t.scrollButtonsHideMobile},t.root,n.vertical&&t.vertical]}})((({ownerState:e,theme:t})=>(0,o.A)({overflow:"hidden",minHeight:48,WebkitOverflowScrolling:"touch",display:"flex"},e.vertical&&{flexDirection:"column"},e.scrollButtonsHideMobile&&{[`& .${k.A.scrollButtons}`]:{[t.breakpoints.down("sm")]:{display:"none"}}}))),D=(0,u.Ay)("div",{name:"MuiTabs",slot:"Scroller",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.scroller,n.fixed&&t.fixed,n.hideScrollbar&&t.hideScrollbar,n.scrollableX&&t.scrollableX,n.scrollableY&&t.scrollableY]}})((({ownerState:e})=>(0,o.A)({position:"relative",display:"inline-block",flex:"1 1 auto",whiteSpace:"nowrap"},e.fixed&&{overflowX:"hidden",width:"100%"},e.hideScrollbar&&{scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"}},e.scrollableX&&{overflowX:"auto",overflowY:"hidden"},e.scrollableY&&{overflowY:"auto",overflowX:"hidden"}))),R=(0,u.Ay)("div",{name:"MuiTabs",slot:"FlexContainer",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.flexContainer,n.vertical&&t.flexContainerVertical,n.centered&&t.centered]}})((({ownerState:e})=>(0,o.A)({display:"flex"},e.vertical&&{flexDirection:"column"},e.centered&&{justifyContent:"center"}))),I=(0,u.Ay)("span",{name:"MuiTabs",slot:"Indicator",overridesResolver:(e,t)=>t.indicator})((({ownerState:e,theme:t})=>(0,o.A)({position:"absolute",height:2,bottom:0,width:"100%",transition:t.transitions.create()},"primary"===e.indicatorColor&&{backgroundColor:(t.vars||t).palette.primary.main},"secondary"===e.indicatorColor&&{backgroundColor:(t.vars||t).palette.secondary.main},e.vertical&&{height:"100%",width:2,right:0}))),N=(0,u.Ay)((function(e){const{onChange:t}=e,n=(0,r.A)(e,w),a=i.useRef(),s=i.useRef(null),l=()=>{a.current=s.current.offsetHeight-s.current.clientHeight};return(0,y.A)((()=>{const e=(0,f.A)((()=>{const e=a.current;l(),e!==a.current&&t(a.current)})),n=(0,b.A)(s.current);return n.addEventListener("resize",e),()=>{e.clear(),n.removeEventListener("resize",e)}}),[t]),i.useEffect((()=>{l(),t(a.current)}),[t]),(0,x.jsx)("div",(0,o.A)({style:A,ref:s},n))}))({overflowX:"auto",overflowY:"hidden",scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"}}),L={};var j=i.forwardRef((function(e,t){const n=(0,d.b)({props:e,name:"MuiTabs"}),u=(0,p.A)(),h=(0,l.I)(),{"aria-label":y,"aria-labelledby":w,action:A,centered:j=!1,children:$,className:z,component:F="div",allowScrollButtonsMobile:B=!1,indicatorColor:H="primary",onChange:V,orientation:W="horizontal",ScrollButtonComponent:U=_.A,scrollButtons:q="auto",selectionFollowsFocus:G,slots:Y={},slotProps:X={},TabIndicatorProps:K={},TabScrollButtonProps:Z={},textColor:J="primary",value:Q,variant:ee="standard",visibleScrollbar:te=!1}=n,ne=(0,r.A)(n,T),re="scrollable"===ee,oe="vertical"===W,ie=oe?"scrollTop":"scrollLeft",ae=oe?"top":"left",se=oe?"bottom":"right",le=oe?"clientHeight":"clientWidth",ce=oe?"height":"width",ue=(0,o.A)({},n,{component:F,allowScrollButtonsMobile:B,indicatorColor:H,orientation:W,vertical:oe,scrollButtons:q,textColor:J,variant:ee,visibleScrollbar:te,fixed:!re,hideScrollbar:re&&!te,scrollableX:re&&!oe,scrollableY:re&&oe,centered:j&&!re,scrollButtonsHideMobile:!B}),de=(e=>{const{vertical:t,fixed:n,hideScrollbar:r,scrollableX:o,scrollableY:i,centered:a,scrollButtonsHideMobile:l,classes:c}=e,u={root:["root",t&&"vertical"],scroller:["scroller",n&&"fixed",r&&"hideScrollbar",o&&"scrollableX",i&&"scrollableY"],flexContainer:["flexContainer",t&&"flexContainerVertical",a&&"centered"],indicator:["indicator"],scrollButtons:["scrollButtons",l&&"scrollButtonsHideMobile"],scrollableX:[o&&"scrollableX"],hideScrollbar:[r&&"hideScrollbar"]};return(0,s.A)(u,k.H,c)})(ue),pe=(0,c.A)({elementType:Y.StartScrollButtonIcon,externalSlotProps:X.startScrollButtonIcon,ownerState:ue}),fe=(0,c.A)({elementType:Y.EndScrollButtonIcon,externalSlotProps:X.endScrollButtonIcon,ownerState:ue});const[he,me]=i.useState(!1),[ge,ve]=i.useState(L),[ye,be]=i.useState(!1),[xe,we]=i.useState(!1),[Ae,_e]=i.useState(!1),[Se,ke]=i.useState({overflow:"hidden",scrollbarWidth:0}),Ce=new Map,Te=i.useRef(null),Me=i.useRef(null),Pe=()=>{const e=Te.current;let t,n;if(e){const n=e.getBoundingClientRect();t={clientWidth:e.clientWidth,scrollLeft:e.scrollLeft,scrollTop:e.scrollTop,scrollLeftNormalized:g(e,h?"rtl":"ltr"),scrollWidth:e.scrollWidth,top:n.top,bottom:n.bottom,left:n.left,right:n.right}}if(e&&!1!==Q){const e=Me.current.children;if(e.length>0){const t=e[Ce.get(Q)];0,n=t?t.getBoundingClientRect():null}}return{tabsMeta:t,tabMeta:n}},Oe=(0,S.A)((()=>{const{tabsMeta:e,tabMeta:t}=Pe();let n,r=0;if(oe)n="top",t&&e&&(r=t.top-e.top+e.scrollTop);else if(n=h?"right":"left",t&&e){const o=h?e.scrollLeftNormalized+e.clientWidth-e.scrollWidth:e.scrollLeft;r=(h?-1:1)*(t[n]-e[n]+o)}const o={[n]:r,[ce]:t?t[ce]:0};if(isNaN(ge[n])||isNaN(ge[ce]))ve(o);else{const e=Math.abs(ge[n]-o[n]),t=Math.abs(ge[ce]-o[ce]);(e>=1||t>=1)&&ve(o)}})),Ee=(e,{animation:t=!0}={})=>{t?function(e,t,n,r={},o=()=>{}){const{ease:i=v,duration:a=300}=r;let s=null;const l=t[e];let c=!1;const u=()=>{c=!0},d=r=>{if(c)return void o(new Error("Animation cancelled"));null===s&&(s=r);const u=Math.min(1,(r-s)/a);t[e]=i(u)*(n-l)+l,u>=1?requestAnimationFrame((()=>{o(null)})):requestAnimationFrame(d)};l===n?o(new Error("Element already at target position")):requestAnimationFrame(d)}(ie,Te.current,e,{duration:u.transitions.duration.standard}):Te.current[ie]=e},De=e=>{let t=Te.current[ie];oe?t+=e:(t+=e*(h?-1:1),t*=h&&"reverse"===m()?-1:1),Ee(t)},Re=()=>{const e=Te.current[le];let t=0;const n=Array.from(Me.current.children);for(let r=0;r<n.length;r+=1){const o=n[r];if(t+o[le]>e){0===r&&(t=e);break}t+=o[le]}return t},Ie=()=>{De(-1*Re())},Ne=()=>{De(Re())},Le=i.useCallback((e=>{ke({overflow:null,scrollbarWidth:e})}),[]),je=(0,S.A)((e=>{const{tabsMeta:t,tabMeta:n}=Pe();if(n&&t)if(n[ae]<t[ae]){const r=t[ie]+(n[ae]-t[ae]);Ee(r,{animation:e})}else if(n[se]>t[se]){const r=t[ie]+(n[se]-t[se]);Ee(r,{animation:e})}})),$e=(0,S.A)((()=>{re&&!1!==q&&_e(!Ae)}));i.useEffect((()=>{const e=(0,f.A)((()=>{Te.current&&Oe()}));let t;const n=n=>{n.forEach((e=>{e.removedNodes.forEach((e=>{var n;null==(n=t)||n.unobserve(e)})),e.addedNodes.forEach((e=>{var n;null==(n=t)||n.observe(e)}))})),e(),$e()},r=(0,b.A)(Te.current);let o;return r.addEventListener("resize",e),"undefined"!=typeof ResizeObserver&&(t=new ResizeObserver(e),Array.from(Me.current.children).forEach((e=>{t.observe(e)}))),"undefined"!=typeof MutationObserver&&(o=new MutationObserver(n),o.observe(Me.current,{childList:!0})),()=>{var n,i;e.clear(),r.removeEventListener("resize",e),null==(n=o)||n.disconnect(),null==(i=t)||i.disconnect()}}),[Oe,$e]),i.useEffect((()=>{const e=Array.from(Me.current.children),t=e.length;if("undefined"!=typeof IntersectionObserver&&t>0&&re&&!1!==q){const n=e[0],r=e[t-1],o={root:Te.current,threshold:.99},i=new IntersectionObserver((e=>{be(!e[0].isIntersecting)}),o);i.observe(n);const a=new IntersectionObserver((e=>{we(!e[0].isIntersecting)}),o);return a.observe(r),()=>{i.disconnect(),a.disconnect()}}}),[re,q,Ae,null==$?void 0:$.length]),i.useEffect((()=>{me(!0)}),[]),i.useEffect((()=>{Oe()})),i.useEffect((()=>{je(L!==ge)}),[je,ge]),i.useImperativeHandle(A,(()=>({updateIndicator:Oe,updateScrollButtons:$e})),[Oe,$e]);const ze=(0,x.jsx)(I,(0,o.A)({},K,{className:(0,a.A)(de.indicator,K.className),ownerState:ue,style:(0,o.A)({},ge,K.style)}));let Fe=0;const Be=i.Children.map($,(e=>{if(!i.isValidElement(e))return null;const t=void 0===e.props.value?Fe:e.props.value;Ce.set(t,Fe);const n=t===Q;return Fe+=1,i.cloneElement(e,(0,o.A)({fullWidth:"fullWidth"===ee,indicator:n&&!he&&ze,selected:n,selectionFollowsFocus:G,onChange:V,textColor:J,value:t},1!==Fe||!1!==Q||e.props.tabIndex?{}:{tabIndex:0}))})),He=(()=>{const e={};e.scrollbarSizeListener=re?(0,x.jsx)(N,{onChange:Le,className:(0,a.A)(de.scrollableX,de.hideScrollbar)}):null;const t=re&&("auto"===q&&(ye||xe)||!0===q);return e.scrollButtonStart=t?(0,x.jsx)(U,(0,o.A)({slots:{StartScrollButtonIcon:Y.StartScrollButtonIcon},slotProps:{startScrollButtonIcon:pe},orientation:W,direction:h?"right":"left",onClick:Ie,disabled:!ye},Z,{className:(0,a.A)(de.scrollButtons,Z.className)})):null,e.scrollButtonEnd=t?(0,x.jsx)(U,(0,o.A)({slots:{EndScrollButtonIcon:Y.EndScrollButtonIcon},slotProps:{endScrollButtonIcon:fe},orientation:W,direction:h?"left":"right",onClick:Ne,disabled:!xe},Z,{className:(0,a.A)(de.scrollButtons,Z.className)})):null,e})();return(0,x.jsxs)(E,(0,o.A)({className:(0,a.A)(de.root,z),ownerState:ue,ref:t,as:F},ne,{children:[He.scrollButtonStart,He.scrollbarSizeListener,(0,x.jsxs)(D,{className:de.scroller,ownerState:ue,style:{overflow:Se.overflow,[oe?"margin"+(h?"Left":"Right"):"marginBottom"]:te?void 0:-Se.scrollbarWidth},ref:Te,children:[(0,x.jsx)(R,{"aria-label":y,"aria-labelledby":w,"aria-orientation":"vertical"===W?"vertical":null,className:de.flexContainer,ownerState:ue,onKeyDown:e=>{const t=Me.current,n=(0,C.A)(t).activeElement;if("tab"!==n.getAttribute("role"))return;let r="horizontal"===W?"ArrowLeft":"ArrowUp",o="horizontal"===W?"ArrowRight":"ArrowDown";switch("horizontal"===W&&h&&(r="ArrowRight",o="ArrowLeft"),e.key){case r:e.preventDefault(),O(t,n,P);break;case o:e.preventDefault(),O(t,n,M);break;case"Home":e.preventDefault(),O(t,null,M);break;case"End":e.preventDefault(),O(t,null,P)}},ref:Me,role:"tablist",children:Be}),he&&ze]}),He.scrollButtonEnd]}))}))},77645:function(e,t,n){"use strict";if(n.r(t),n.d(t,{default:function(){return r.A},getTabsUtilityClass:function(){return o.H},tabsClasses:function(){return o.A}}),9279==n.j)var r=n(32604);var o=n(6533)},6533:function(e,t,n){"use strict";n.d(t,{H:function(){return i}});var r=n(38413),o=n(31609);function i(e){return(0,o.Ay)("MuiTabs",e)}const a=(0,r.A)("MuiTabs",["root","vertical","flexContainer","flexContainerVertical","centered","scroller","fixed","scrollableX","scrollableY","hideScrollbar","scrollButtons","scrollButtonsHideMobile","indicator"]);t.A=a},1043:function(e,t,n){"use strict";var r=n(58168),o=n(98587),i=n(96540),a=n(34164),s=n(75659),l=n(34661),c=n(11848),u=n(25669),d=n(77623),p=n(21915),f=n(8641),h=n(13945),m=n(45359),g=n(80607),v=n(70057),y=n(82759),b=n(74848);const x=["autoComplete","autoFocus","children","className","color","defaultValue","disabled","error","FormHelperTextProps","fullWidth","helperText","id","InputLabelProps","inputProps","InputProps","inputRef","label","maxRows","minRows","multiline","name","onBlur","onChange","onFocus","placeholder","required","rows","select","SelectProps","type","value","variant"],w={standard:d.A,filled:p.A,outlined:f.A},A=(0,c.Ay)(m.A,{name:"MuiTextField",slot:"Root",overridesResolver:(e,t)=>t.root})({}),_=i.forwardRef((function(e,t){const n=(0,u.b)({props:e,name:"MuiTextField"}),{autoComplete:i,autoFocus:c=!1,children:d,className:p,color:f="primary",defaultValue:m,disabled:_=!1,error:S=!1,FormHelperTextProps:k,fullWidth:C=!1,helperText:T,id:M,InputLabelProps:P,inputProps:O,InputProps:E,inputRef:D,label:R,maxRows:I,minRows:N,multiline:L=!1,name:j,onBlur:$,onChange:z,onFocus:F,placeholder:B,required:H=!1,rows:V,select:W=!1,SelectProps:U,type:q,value:G,variant:Y="outlined"}=n,X=(0,o.A)(n,x),K=(0,r.A)({},n,{autoFocus:c,color:f,disabled:_,error:S,fullWidth:C,multiline:L,required:H,select:W,variant:Y}),Z=(e=>{const{classes:t}=e;return(0,s.A)({root:["root"]},y._,t)})(K);const J={};"outlined"===Y&&(P&&void 0!==P.shrink&&(J.notched=P.shrink),J.label=R),W&&(U&&U.native||(J.id=void 0),J["aria-describedby"]=void 0);const Q=(0,l.A)(M),ee=T&&Q?`${Q}-helper-text`:void 0,te=R&&Q?`${Q}-label`:void 0,ne=w[Y],re=(0,b.jsx)(ne,(0,r.A)({"aria-describedby":ee,autoComplete:i,autoFocus:c,defaultValue:m,fullWidth:C,multiline:L,name:j,rows:V,maxRows:I,minRows:N,type:q,value:G,id:Q,inputRef:D,onBlur:$,onChange:z,onFocus:F,placeholder:B,inputProps:O},J,E));return(0,b.jsxs)(A,(0,r.A)({className:(0,a.A)(Z.root,p),disabled:_,error:S,fullWidth:C,ref:t,required:H,color:f,variant:Y,ownerState:K},X,{children:[null!=R&&""!==R&&(0,b.jsx)(h.A,(0,r.A)({htmlFor:Q,id:te},P,{children:R})),W?(0,b.jsx)(v.A,(0,r.A)({"aria-describedby":ee,id:Q,labelId:te,value:G,input:re},U,{children:d})):re,T&&(0,b.jsx)(g.A,(0,r.A)({id:ee},k,{children:T}))]}))}));t.A=_},29982:function(e,t,n){"use strict";if(n.r(t),n.d(t,{default:function(){return r.A},getTextFieldUtilityClass:function(){return o._},textFieldClasses:function(){return o.A}}),/^(2467|2927|3999|5935|9279)$/.test(n.j))var r=n(1043);var o=n(82759)},82759:function(e,t,n){"use strict";n.d(t,{_:function(){return i}});var r=n(38413),o=n(31609);function i(e){return(0,o.Ay)("MuiTextField",e)}const a=(0,r.A)("MuiTextField",["root"]);t.A=a},3561:function(e,t,n){"use strict";var r=n(58168),o=n(98587),i=n(96540),a=n(31523),s=n(44877),l=n(21529),c=n(74705),u=n(74848);const d=["onChange","maxRows","minRows","style","value"];function p(e){return parseInt(e,10)||0}const f={visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"};const h=i.forwardRef((function(e,t){const{onChange:n,maxRows:h,minRows:m=1,style:g,value:v}=e,y=(0,o.A)(e,d),{current:b}=i.useRef(null!=v),x=i.useRef(null),w=(0,a.A)(t,x),A=i.useRef(null),_=i.useRef(null),S=i.useCallback((()=>{const t=x.current,n=(0,s.A)(t).getComputedStyle(t);if("0px"===n.width)return{outerHeightStyle:0,overflowing:!1};const r=_.current;r.style.width=n.width,r.value=t.value||e.placeholder||"x","\n"===r.value.slice(-1)&&(r.value+=" ");const o=n.boxSizing,i=p(n.paddingBottom)+p(n.paddingTop),a=p(n.borderBottomWidth)+p(n.borderTopWidth),l=r.scrollHeight;r.value="x";const c=r.scrollHeight;let u=l;m&&(u=Math.max(Number(m)*c,u)),h&&(u=Math.min(Number(h)*c,u)),u=Math.max(u,c);return{outerHeightStyle:u+("border-box"===o?i+a:0),overflowing:Math.abs(u-l)<=1}}),[h,m,e.placeholder]),k=i.useCallback((()=>{const e=S();if(null==(t=e)||0===Object.keys(t).length||0===t.outerHeightStyle&&!t.overflowing)return;var t;const n=e.outerHeightStyle,r=x.current;A.current!==n&&(A.current=n,r.style.height=`${n}px`),r.style.overflow=e.overflowing?"hidden":""}),[S]);(0,l.A)((()=>{const e=()=>{k()};let t;const n=(0,c.A)(e),r=x.current,o=(0,s.A)(r);let i;return o.addEventListener("resize",n),"undefined"!=typeof ResizeObserver&&(i=new ResizeObserver(e),i.observe(r)),()=>{n.clear(),cancelAnimationFrame(t),o.removeEventListener("resize",n),i&&i.disconnect()}}),[S,k]),(0,l.A)((()=>{k()}));return(0,u.jsxs)(i.Fragment,{children:[(0,u.jsx)("textarea",(0,r.A)({value:v,onChange:e=>{b||k(),n&&n(e)},ref:w,rows:m,style:g},y)),(0,u.jsx)("textarea",{"aria-hidden":!0,className:e.className,readOnly:!0,ref:_,tabIndex:-1,style:(0,r.A)({},f,g,{paddingTop:0,paddingBottom:0})})]})}));t.A=h},54790:function(e,t,n){"use strict";n.d(t,{A:function(){return A}});var r=n(98587),o=n(58168),i=n(96540),a=n(34164),s=n(47379),l=n(75659),c=n(24279),u=n(9934),d=n(28466),p=n(25669),f=n(11848),h=n(75949),m=n(46232),g=n(40156);function v(e,t){return void 0!==t&&void 0!==e&&(Array.isArray(t)?t.indexOf(e)>=0:e===t)}var y=n(74848);const b=["value"],x=["children","className","color","disabled","disableFocusRipple","fullWidth","onChange","onClick","selected","size","value"],w=(0,f.Ay)(u.A,{name:"MuiToggleButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`size${(0,d.A)(n.size)}`]]}})((({theme:e,ownerState:t})=>{let n,r="standard"===t.color?e.palette.text.primary:e.palette[t.color].main;return e.vars&&(r="standard"===t.color?e.vars.palette.text.primary:e.vars.palette[t.color].main,n="standard"===t.color?e.vars.palette.text.primaryChannel:e.vars.palette[t.color].mainChannel),(0,o.A)({},e.typography.button,{borderRadius:(e.vars||e).shape.borderRadius,padding:11,border:`1px solid ${(e.vars||e).palette.divider}`,color:(e.vars||e).palette.action.active},t.fullWidth&&{width:"100%"},{[`&.${h.A.disabled}`]:{color:(e.vars||e).palette.action.disabled,border:`1px solid ${(e.vars||e).palette.action.disabledBackground}`},"&:hover":{textDecoration:"none",backgroundColor:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,c.X4)(e.palette.text.primary,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${h.A.selected}`]:{color:r,backgroundColor:e.vars?`rgba(${n} / ${e.vars.palette.action.selectedOpacity})`:(0,c.X4)(r,e.palette.action.selectedOpacity),"&:hover":{backgroundColor:e.vars?`rgba(${n} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:(0,c.X4)(r,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:e.vars?`rgba(${n} / ${e.vars.palette.action.selectedOpacity})`:(0,c.X4)(r,e.palette.action.selectedOpacity)}}}},"small"===t.size&&{padding:7,fontSize:e.typography.pxToRem(13)},"large"===t.size&&{padding:15,fontSize:e.typography.pxToRem(15)})}));var A=i.forwardRef((function(e,t){const n=i.useContext(m.A),{value:c}=n,u=(0,r.A)(n,b),f=i.useContext(g.A),A=(0,s.A)((0,o.A)({},u,{selected:v(e.value,c)}),e),_=(0,p.b)({props:A,name:"MuiToggleButton"}),{children:S,className:k,color:C="standard",disabled:T=!1,disableFocusRipple:M=!1,fullWidth:P=!1,onChange:O,onClick:E,selected:D,size:R="medium",value:I}=_,N=(0,r.A)(_,x),L=(0,o.A)({},_,{color:C,disabled:T,disableFocusRipple:M,fullWidth:P,size:R}),j=(e=>{const{classes:t,fullWidth:n,selected:r,disabled:o,size:i,color:a}=e,s={root:["root",r&&"selected",o&&"disabled",n&&"fullWidth",`size${(0,d.A)(i)}`,a]};return(0,l.A)(s,h.J,t)})(L),$=f||"";return(0,y.jsx)(w,(0,o.A)({className:(0,a.A)(u.className,j.root,k,$),disabled:T,focusRipple:!M,ref:t,onClick:e=>{E&&(E(e,I),e.defaultPrevented)||O&&O(e,I)},onChange:O,value:I,ownerState:L,"aria-pressed":D},N,{children:S}))}))},65033:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return r.A},getToggleButtonUtilityClass:function(){return o.J},toggleButtonClasses:function(){return o.A}});var r=n(54790),o=n(75949)},75949:function(e,t,n){"use strict";n.d(t,{J:function(){return i}});var r=n(38413),o=n(31609);function i(e){return(0,o.Ay)("MuiToggleButton",e)}const a=(0,r.A)("MuiToggleButton",["root","disabled","selected","standard","primary","secondary","sizeSmall","sizeMedium","sizeLarge","fullWidth"]);t.A=a},32511:function(e,t,n){"use strict";var r=n(98587),o=n(58168),i=n(96540),a=(n(44363),n(34164)),s=n(75659),l=n(30029),c=n(11848),u=n(25669),d=n(28466),p=n(58603),f=n(46232),h=n(40156),m=n(75949),g=n(74848);const v=["children","className","color","disabled","exclusive","fullWidth","onChange","orientation","size","value"],y=(0,c.Ay)("div",{name:"MuiToggleButtonGroup",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${p.A.grouped}`]:t.grouped},{[`& .${p.A.grouped}`]:t[`grouped${(0,d.A)(n.orientation)}`]},{[`& .${p.A.firstButton}`]:t.firstButton},{[`& .${p.A.lastButton}`]:t.lastButton},{[`& .${p.A.middleButton}`]:t.middleButton},t.root,"vertical"===n.orientation&&t.vertical,n.fullWidth&&t.fullWidth]}})((({ownerState:e,theme:t})=>(0,o.A)({display:"inline-flex",borderRadius:(t.vars||t).shape.borderRadius},"vertical"===e.orientation&&{flexDirection:"column"},e.fullWidth&&{width:"100%"},{[`& .${p.A.grouped}`]:(0,o.A)({},"horizontal"===e.orientation?{[`&.${p.A.selected} + .${p.A.grouped}.${p.A.selected}`]:{borderLeft:0,marginLeft:0}}:{[`&.${p.A.selected} + .${p.A.grouped}.${p.A.selected}`]:{borderTop:0,marginTop:0}})},"horizontal"===e.orientation?{[`& .${p.A.firstButton},& .${p.A.middleButton}`]:{borderTopRightRadius:0,borderBottomRightRadius:0},[`& .${p.A.lastButton},& .${p.A.middleButton}`]:{marginLeft:-1,borderLeft:"1px solid transparent",borderTopLeftRadius:0,borderBottomLeftRadius:0}}:{[`& .${p.A.firstButton},& .${p.A.middleButton}`]:{borderBottomLeftRadius:0,borderBottomRightRadius:0},[`& .${p.A.lastButton},& .${p.A.middleButton}`]:{marginTop:-1,borderTop:"1px solid transparent",borderTopLeftRadius:0,borderTopRightRadius:0}},"horizontal"===e.orientation?{[`& .${p.A.lastButton}.${m.A.disabled},& .${p.A.middleButton}.${m.A.disabled}`]:{borderLeft:"1px solid transparent"}}:{[`& .${p.A.lastButton}.${m.A.disabled},& .${p.A.middleButton}.${m.A.disabled}`]:{borderTop:"1px solid transparent"}}))),b=i.forwardRef((function(e,t){const n=(0,u.b)({props:e,name:"MuiToggleButtonGroup"}),{children:c,className:m,color:b="standard",disabled:x=!1,exclusive:w=!1,fullWidth:A=!1,onChange:_,orientation:S="horizontal",size:k="medium",value:C}=n,T=(0,r.A)(n,v),M=(0,o.A)({},n,{disabled:x,fullWidth:A,orientation:S,size:k}),P=(e=>{const{classes:t,orientation:n,fullWidth:r,disabled:o}=e,i={root:["root","vertical"===n&&"vertical",r&&"fullWidth"],grouped:["grouped",`grouped${(0,d.A)(n)}`,o&&"disabled"],firstButton:["firstButton"],lastButton:["lastButton"],middleButton:["middleButton"]};return(0,s.A)(i,p.y,t)})(M),O=i.useCallback(((e,t)=>{if(!_)return;const n=C&&C.indexOf(t);let r;C&&n>=0?(r=C.slice(),r.splice(n,1)):r=C?C.concat(t):[t],_(e,r)}),[_,C]),E=i.useCallback(((e,t)=>{_&&_(e,C===t?null:t)}),[_,C]),D=i.useMemo((()=>({className:P.grouped,onChange:w?E:O,value:C,size:k,fullWidth:A,color:b,disabled:x})),[P.grouped,w,E,O,C,k,A,b,x]),R=(0,l.A)(c),I=R.length,N=e=>{const t=0===e,n=e===I-1;return t&&n?"":t?P.firstButton:n?P.lastButton:P.middleButton};return(0,g.jsx)(y,(0,o.A)({role:"group",className:(0,a.A)(P.root,m),ref:t,ownerState:M},T,{children:(0,g.jsx)(f.A.Provider,{value:D,children:R.map(((e,t)=>(0,g.jsx)(h.A.Provider,{value:N(t),children:e},t)))})}))}));t.A=b},40156:function(e,t,n){"use strict";const r=n(96540).createContext(void 0);t.A=r},46232:function(e,t,n){"use strict";const r=n(96540).createContext({});t.A=r},6832:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return r.A},getToggleButtonGroupUtilityClass:function(){return o.y},toggleButtonGroupClasses:function(){return o.A}});var r=n(32511),o=n(58603)},58603:function(e,t,n){"use strict";n.d(t,{y:function(){return i}});var r=n(38413),o=n(31609);function i(e){return(0,o.Ay)("MuiToggleButtonGroup",e)}const a=(0,r.A)("MuiToggleButtonGroup",["root","selected","horizontal","vertical","disabled","grouped","groupedHorizontal","groupedVertical","fullWidth","firstButton","lastButton","middleButton"]);t.A=a},56655:function(e,t,n){"use strict";var r=n(98587),o=n(58168),i=n(96540),a=n(34164),s=n(33068),l=n(75659),c=n(771),u=n(73788),d=n(2879),p=n(11848),f=n(44675),h=n(25669),m=n(28466),g=n(87467),v=n(6545),y=n(83034),b=n(96852),x=n(1668),w=n(68851),A=n(41159),_=n(58331),S=n(74848);const k=["arrow","children","classes","components","componentsProps","describeChild","disableFocusListener","disableHoverListener","disableInteractive","disableTouchListener","enterDelay","enterNextDelay","enterTouchDelay","followCursor","id","leaveDelay","leaveTouchDelay","onClose","onOpen","open","placement","PopperComponent","PopperProps","slotProps","slots","title","TransitionComponent","TransitionProps"];const C=(0,p.Ay)(v.A,{name:"MuiTooltip",slot:"Popper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.popper,!n.disableInteractive&&t.popperInteractive,n.arrow&&t.popperArrow,!n.open&&t.popperClose]}})((({theme:e,ownerState:t,open:n})=>(0,o.A)({zIndex:(e.vars||e).zIndex.tooltip,pointerEvents:"none"},!t.disableInteractive&&{pointerEvents:"auto"},!n&&{pointerEvents:"none"},t.arrow&&{[`&[data-popper-placement*="bottom"] .${_.A.arrow}`]:{top:0,marginTop:"-0.71em","&::before":{transformOrigin:"0 100%"}},[`&[data-popper-placement*="top"] .${_.A.arrow}`]:{bottom:0,marginBottom:"-0.71em","&::before":{transformOrigin:"100% 0"}},[`&[data-popper-placement*="right"] .${_.A.arrow}`]:(0,o.A)({},t.isRtl?{right:0,marginRight:"-0.71em"}:{left:0,marginLeft:"-0.71em"},{height:"1em",width:"0.71em","&::before":{transformOrigin:"100% 100%"}}),[`&[data-popper-placement*="left"] .${_.A.arrow}`]:(0,o.A)({},t.isRtl?{left:0,marginLeft:"-0.71em"}:{right:0,marginRight:"-0.71em"},{height:"1em",width:"0.71em","&::before":{transformOrigin:"0 0"}})}))),T=(0,p.Ay)("div",{name:"MuiTooltip",slot:"Tooltip",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.tooltip,n.touch&&t.touch,n.arrow&&t.tooltipArrow,t[`tooltipPlacement${(0,m.A)(n.placement.split("-")[0])}`]]}})((({theme:e,ownerState:t})=>{return(0,o.A)({backgroundColor:e.vars?e.vars.palette.Tooltip.bg:(0,c.X4)(e.palette.grey[700],.92),borderRadius:(e.vars||e).shape.borderRadius,color:(e.vars||e).palette.common.white,fontFamily:e.typography.fontFamily,padding:"4px 8px",fontSize:e.typography.pxToRem(11),maxWidth:300,margin:2,wordWrap:"break-word",fontWeight:e.typography.fontWeightMedium},t.arrow&&{position:"relative",margin:0},t.touch&&{padding:"8px 16px",fontSize:e.typography.pxToRem(14),lineHeight:(n=16/14,Math.round(1e5*n)/1e5)+"em",fontWeight:e.typography.fontWeightRegular},{[`.${_.A.popper}[data-popper-placement*="left"] &`]:(0,o.A)({transformOrigin:"right center"},t.isRtl?(0,o.A)({marginLeft:"14px"},t.touch&&{marginLeft:"24px"}):(0,o.A)({marginRight:"14px"},t.touch&&{marginRight:"24px"})),[`.${_.A.popper}[data-popper-placement*="right"] &`]:(0,o.A)({transformOrigin:"left center"},t.isRtl?(0,o.A)({marginRight:"14px"},t.touch&&{marginRight:"24px"}):(0,o.A)({marginLeft:"14px"},t.touch&&{marginLeft:"24px"})),[`.${_.A.popper}[data-popper-placement*="top"] &`]:(0,o.A)({transformOrigin:"center bottom",marginBottom:"14px"},t.touch&&{marginBottom:"24px"}),[`.${_.A.popper}[data-popper-placement*="bottom"] &`]:(0,o.A)({transformOrigin:"center top",marginTop:"14px"},t.touch&&{marginTop:"24px"})});var n})),M=(0,p.Ay)("span",{name:"MuiTooltip",slot:"Arrow",overridesResolver:(e,t)=>t.arrow})((({theme:e})=>({overflow:"hidden",position:"absolute",width:"1em",height:"0.71em",boxSizing:"border-box",color:e.vars?e.vars.palette.Tooltip.bg:(0,c.X4)(e.palette.grey[700],.9),"&::before":{content:'""',margin:"auto",display:"block",width:"100%",height:"100%",backgroundColor:"currentColor",transform:"rotate(45deg)"}})));let P=!1;const O=new s.E;let E={x:0,y:0};function D(e,t){return(n,...r)=>{t&&t(n,...r),e(n,...r)}}const R=i.forwardRef((function(e,t){var n,c,p,R,I,N,L,j,$,z,F,B,H,V,W,U,q,G,Y;const X=(0,h.b)({props:e,name:"MuiTooltip"}),{arrow:K=!1,children:Z,components:J={},componentsProps:Q={},describeChild:ee=!1,disableFocusListener:te=!1,disableHoverListener:ne=!1,disableInteractive:re=!1,disableTouchListener:oe=!1,enterDelay:ie=100,enterNextDelay:ae=0,enterTouchDelay:se=700,followCursor:le=!1,id:ce,leaveDelay:ue=0,leaveTouchDelay:de=1500,onClose:pe,onOpen:fe,open:he,placement:me="bottom",PopperComponent:ge,PopperProps:ve={},slotProps:ye={},slots:be={},title:xe,TransitionComponent:we=g.A,TransitionProps:Ae}=X,_e=(0,r.A)(X,k),Se=i.isValidElement(Z)?Z:(0,S.jsx)("span",{children:Z}),ke=(0,f.A)(),Ce=(0,u.I)(),[Te,Me]=i.useState(),[Pe,Oe]=i.useState(null),Ee=i.useRef(!1),De=re||le,Re=(0,s.A)(),Ie=(0,s.A)(),Ne=(0,s.A)(),Le=(0,s.A)(),[je,$e]=(0,A.A)({controlled:he,default:!1,name:"Tooltip",state:"open"});let ze=je;const Fe=(0,x.A)(ce),Be=i.useRef(),He=(0,y.A)((()=>{void 0!==Be.current&&(document.body.style.WebkitUserSelect=Be.current,Be.current=void 0),Le.clear()}));i.useEffect((()=>He),[He]);const Ve=e=>{O.clear(),P=!0,$e(!0),fe&&!ze&&fe(e)},We=(0,y.A)((e=>{O.start(800+ue,(()=>{P=!1})),$e(!1),pe&&ze&&pe(e),Re.start(ke.transitions.duration.shortest,(()=>{Ee.current=!1}))})),Ue=e=>{Ee.current&&"touchstart"!==e.type||(Te&&Te.removeAttribute("title"),Ie.clear(),Ne.clear(),ie||P&&ae?Ie.start(P?ae:ie,(()=>{Ve(e)})):Ve(e))},qe=e=>{Ie.clear(),Ne.start(ue,(()=>{We(e)}))},{isFocusVisibleRef:Ge,onBlur:Ye,onFocus:Xe,ref:Ke}=(0,w.A)(),[,Ze]=i.useState(!1),Je=e=>{Ye(e),!1===Ge.current&&(Ze(!1),qe(e))},Qe=e=>{Te||Me(e.currentTarget),Xe(e),!0===Ge.current&&(Ze(!0),Ue(e))},et=e=>{Ee.current=!0;const t=Se.props;t.onTouchStart&&t.onTouchStart(e)},tt=e=>{et(e),Ne.clear(),Re.clear(),He(),Be.current=document.body.style.WebkitUserSelect,document.body.style.WebkitUserSelect="none",Le.start(se,(()=>{document.body.style.WebkitUserSelect=Be.current,Ue(e)}))},nt=e=>{Se.props.onTouchEnd&&Se.props.onTouchEnd(e),He(),Ne.start(de,(()=>{We(e)}))};i.useEffect((()=>{if(ze)return document.addEventListener("keydown",e),()=>{document.removeEventListener("keydown",e)};function e(e){"Escape"!==e.key&&"Esc"!==e.key||We(e)}}),[We,ze]);const rt=(0,b.A)(Se.ref,Ke,Me,t);xe||0===xe||(ze=!1);const ot=i.useRef(),it={},at="string"==typeof xe;ee?(it.title=ze||!at||ne?null:xe,it["aria-describedby"]=ze?Fe:null):(it["aria-label"]=at?xe:null,it["aria-labelledby"]=ze&&!at?Fe:null);const st=(0,o.A)({},it,_e,Se.props,{className:(0,a.A)(_e.className,Se.props.className),onTouchStart:et,ref:rt},le?{onMouseMove:e=>{const t=Se.props;t.onMouseMove&&t.onMouseMove(e),E={x:e.clientX,y:e.clientY},ot.current&&ot.current.update()}}:{});const lt={};oe||(st.onTouchStart=tt,st.onTouchEnd=nt),ne||(st.onMouseOver=D(Ue,st.onMouseOver),st.onMouseLeave=D(qe,st.onMouseLeave),De||(lt.onMouseOver=Ue,lt.onMouseLeave=qe)),te||(st.onFocus=D(Qe,st.onFocus),st.onBlur=D(Je,st.onBlur),De||(lt.onFocus=Qe,lt.onBlur=Je));const ct=i.useMemo((()=>{var e;let t=[{name:"arrow",enabled:Boolean(Pe),options:{element:Pe,padding:4}}];return null!=(e=ve.popperOptions)&&e.modifiers&&(t=t.concat(ve.popperOptions.modifiers)),(0,o.A)({},ve.popperOptions,{modifiers:t})}),[Pe,ve]),ut=(0,o.A)({},X,{isRtl:Ce,arrow:K,disableInteractive:De,placement:me,PopperComponentProp:ge,touch:Ee.current}),dt=(e=>{const{classes:t,disableInteractive:n,arrow:r,touch:o,placement:i}=e,a={popper:["popper",!n&&"popperInteractive",r&&"popperArrow"],tooltip:["tooltip",r&&"tooltipArrow",o&&"touch",`tooltipPlacement${(0,m.A)(i.split("-")[0])}`],arrow:["arrow"]};return(0,l.A)(a,_.E,t)})(ut),pt=null!=(n=null!=(c=be.popper)?c:J.Popper)?n:C,ft=null!=(p=null!=(R=null!=(I=be.transition)?I:J.Transition)?R:we)?p:g.A,ht=null!=(N=null!=(L=be.tooltip)?L:J.Tooltip)?N:T,mt=null!=(j=null!=($=be.arrow)?$:J.Arrow)?j:M,gt=(0,d.A)(pt,(0,o.A)({},ve,null!=(z=ye.popper)?z:Q.popper,{className:(0,a.A)(dt.popper,null==ve?void 0:ve.className,null==(F=null!=(B=ye.popper)?B:Q.popper)?void 0:F.className)}),ut),vt=(0,d.A)(ft,(0,o.A)({},Ae,null!=(H=ye.transition)?H:Q.transition),ut),yt=(0,d.A)(ht,(0,o.A)({},null!=(V=ye.tooltip)?V:Q.tooltip,{className:(0,a.A)(dt.tooltip,null==(W=null!=(U=ye.tooltip)?U:Q.tooltip)?void 0:W.className)}),ut),bt=(0,d.A)(mt,(0,o.A)({},null!=(q=ye.arrow)?q:Q.arrow,{className:(0,a.A)(dt.arrow,null==(G=null!=(Y=ye.arrow)?Y:Q.arrow)?void 0:G.className)}),ut);return(0,S.jsxs)(i.Fragment,{children:[i.cloneElement(Se,st),(0,S.jsx)(pt,(0,o.A)({as:null!=ge?ge:v.A,placement:me,anchorEl:le?{getBoundingClientRect:()=>({top:E.y,left:E.x,right:E.x,bottom:E.y,width:0,height:0})}:Te,popperRef:ot,open:!!Te&&ze,id:Fe,transition:!0},lt,gt,{popperOptions:ct,children:({TransitionProps:e})=>(0,S.jsx)(ft,(0,o.A)({timeout:ke.transitions.duration.shorter},e,vt,{children:(0,S.jsxs)(ht,(0,o.A)({},yt,{children:[xe,K?(0,S.jsx)(mt,(0,o.A)({},bt,{ref:Oe})):null]}))}))}))]})}));t.A=R},76144:function(e,t,n){"use strict";if(n.r(t),n.d(t,{default:function(){return r.A},getTooltipUtilityClass:function(){return o.E},tooltipClasses:function(){return o.A}}),2927==n.j)var r=n(56655);var o=n(58331)},58331:function(e,t,n){"use strict";n.d(t,{E:function(){return i}});var r=n(38413),o=n(31609);function i(e){return(0,o.Ay)("MuiTooltip",e)}const a=(0,r.A)("MuiTooltip",["popper","popperInteractive","popperArrow","popperClose","tooltip","tooltipArrow","touch","tooltipPlacementLeft","tooltipPlacementRight","tooltipPlacementTop","tooltipPlacementBottom","arrow"]);t.A=a},33551:function(e,t,n){"use strict";var r=n(98587),o=n(58168),i=n(96540),a=n(34164),s=n(39599),l=n(75659),c=n(11848),u=n(25669),d=n(28466),p=n(78651),f=n(74848);const h=["align","className","component","gutterBottom","noWrap","paragraph","variant","variantMapping"],m=(0,c.Ay)("span",{name:"MuiTypography",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.variant&&t[n.variant],"inherit"!==n.align&&t[`align${(0,d.A)(n.align)}`],n.noWrap&&t.noWrap,n.gutterBottom&&t.gutterBottom,n.paragraph&&t.paragraph]}})((({theme:e,ownerState:t})=>(0,o.A)({margin:0},"inherit"===t.variant&&{font:"inherit"},"inherit"!==t.variant&&e.typography[t.variant],"inherit"!==t.align&&{textAlign:t.align},t.noWrap&&{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},t.gutterBottom&&{marginBottom:"0.35em"},t.paragraph&&{marginBottom:16}))),g={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},v={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},y=i.forwardRef((function(e,t){const n=(0,u.b)({props:e,name:"MuiTypography"}),i=(e=>v[e]||e)(n.color),c=(0,s.A)((0,o.A)({},n,{color:i})),{align:y="inherit",className:b,component:x,gutterBottom:w=!1,noWrap:A=!1,paragraph:_=!1,variant:S="body1",variantMapping:k=g}=c,C=(0,r.A)(c,h),T=(0,o.A)({},c,{align:y,color:i,className:b,component:x,gutterBottom:w,noWrap:A,paragraph:_,variant:S,variantMapping:k}),M=x||(_?"p":k[S]||g[S])||"span",P=(e=>{const{align:t,gutterBottom:n,noWrap:r,paragraph:o,variant:i,classes:a}=e,s={root:["root",i,"inherit"!==e.align&&`align${(0,d.A)(t)}`,n&&"gutterBottom",r&&"noWrap",o&&"paragraph"]};return(0,l.A)(s,p.y,a)})(T);return(0,f.jsx)(m,(0,o.A)({as:M,ref:t,ownerState:T,className:(0,a.A)(P.root,b)},C))}));t.A=y},4604:function(e,t,n){"use strict";if(n.r(t),n.d(t,{default:function(){return r.A},getTypographyUtilityClass:function(){return o.y},typographyClasses:function(){return o.A}}),9279==n.j)var r=n(33551);var o=n(78651)},78651:function(e,t,n){"use strict";n.d(t,{y:function(){return i}});var r=n(38413),o=n(31609);function i(e){return(0,o.Ay)("MuiTypography",e)}const a=(0,r.A)("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]);t.A=a},73524:function(e,t,n){"use strict";var r=n(96540),o=n(31523),i=n(32325),a=n(74848);const s=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function l(e){const t=[],n=[];return Array.from(e.querySelectorAll(s)).forEach(((e,r)=>{const o=function(e){const t=parseInt(e.getAttribute("tabindex")||"",10);return Number.isNaN(t)?"true"===e.contentEditable||("AUDIO"===e.nodeName||"VIDEO"===e.nodeName||"DETAILS"===e.nodeName)&&null===e.getAttribute("tabindex")?0:e.tabIndex:t}(e);-1!==o&&function(e){return!(e.disabled||"INPUT"===e.tagName&&"hidden"===e.type||function(e){if("INPUT"!==e.tagName||"radio"!==e.type)return!1;if(!e.name)return!1;const t=t=>e.ownerDocument.querySelector(`input[type="radio"]${t}`);let n=t(`[name="${e.name}"]:checked`);return n||(n=t(`[name="${e.name}"]`)),n!==e}(e))}(e)&&(0===o?t.push(e):n.push({documentOrder:r,tabIndex:o,node:e}))})),n.sort(((e,t)=>e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex)).map((e=>e.node)).concat(t)}function c(){return!0}t.A=function(e){const{children:t,disableAutoFocus:n=!1,disableEnforceFocus:s=!1,disableRestoreFocus:u=!1,getTabbable:d=l,isEnabled:p=c,open:f}=e,h=r.useRef(!1),m=r.useRef(null),g=r.useRef(null),v=r.useRef(null),y=r.useRef(null),b=r.useRef(!1),x=r.useRef(null),w=(0,o.A)(t.ref,x),A=r.useRef(null);r.useEffect((()=>{f&&x.current&&(b.current=!n)}),[n,f]),r.useEffect((()=>{if(!f||!x.current)return;const e=(0,i.A)(x.current);return x.current.contains(e.activeElement)||(x.current.hasAttribute("tabIndex")||x.current.setAttribute("tabIndex","-1"),b.current&&x.current.focus()),()=>{u||(v.current&&v.current.focus&&(h.current=!0,v.current.focus()),v.current=null)}}),[f]),r.useEffect((()=>{if(!f||!x.current)return;const e=(0,i.A)(x.current),t=t=>{A.current=t,!s&&p()&&"Tab"===t.key&&e.activeElement===x.current&&t.shiftKey&&(h.current=!0,g.current&&g.current.focus())},n=()=>{const t=x.current;if(null===t)return;if(!e.hasFocus()||!p()||h.current)return void(h.current=!1);if(t.contains(e.activeElement))return;if(s&&e.activeElement!==m.current&&e.activeElement!==g.current)return;if(e.activeElement!==y.current)y.current=null;else if(null!==y.current)return;if(!b.current)return;let n=[];if(e.activeElement!==m.current&&e.activeElement!==g.current||(n=d(x.current)),n.length>0){var r,o;const e=Boolean((null==(r=A.current)?void 0:r.shiftKey)&&"Tab"===(null==(o=A.current)?void 0:o.key)),t=n[0],i=n[n.length-1];"string"!=typeof t&&"string"!=typeof i&&(e?i.focus():t.focus())}else t.focus()};e.addEventListener("focusin",n),e.addEventListener("keydown",t,!0);const r=setInterval((()=>{e.activeElement&&"BODY"===e.activeElement.tagName&&n()}),50);return()=>{clearInterval(r),e.removeEventListener("focusin",n),e.removeEventListener("keydown",t,!0)}}),[n,s,u,p,f,d]);const _=e=>{null===v.current&&(v.current=e.relatedTarget),b.current=!0};return(0,a.jsxs)(r.Fragment,{children:[(0,a.jsx)("div",{tabIndex:f?0:-1,onFocus:_,ref:m,"data-testid":"sentinelStart"}),r.cloneElement(t,{ref:w,onFocus:e=>{null===v.current&&(v.current=e.relatedTarget),b.current=!0,y.current=e.target;const n=t.props.onFocus;n&&n(e)}}),(0,a.jsx)("div",{tabIndex:f?0:-1,onFocus:_,ref:g,"data-testid":"sentinelEnd"})]})}},97621:function(e,t){"use strict";t.A={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",A100:"#82b1ff",A200:"#448aff",A400:"#2979ff",A700:"#2962ff"}},39008:function(e,t){"use strict";t.A={black:"#000",white:"#fff"}},3542:function(e,t){"use strict";t.A={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853"}},15878:function(e,t,n){"use strict";n.r(t);t.default={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"}},59381:function(e,t,n){"use strict";n.r(t),n.d(t,{amber:function(){return v},blue:function(){return c.A},blueGrey:function(){return A},brown:function(){return x},common:function(){return r.A},cyan:function(){return d},deepOrange:function(){return b},deepPurple:function(){return s},green:function(){return f.A},grey:function(){return w.default},indigo:function(){return l},lightBlue:function(){return u.A},lightGreen:function(){return h.default},lime:function(){return m},orange:function(){return y.A},pink:function(){return i},purple:function(){return a.A},red:function(){return o.default},teal:function(){return p},yellow:function(){return g.default}});var r=n(39008),o=n(41338);var i={50:"#fce4ec",100:"#f8bbd0",200:"#f48fb1",300:"#f06292",400:"#ec407a",500:"#e91e63",600:"#d81b60",700:"#c2185b",800:"#ad1457",900:"#880e4f",A100:"#ff80ab",A200:"#ff4081",A400:"#f50057",A700:"#c51162"},a=n(71495);var s={50:"#ede7f6",100:"#d1c4e9",200:"#b39ddb",300:"#9575cd",400:"#7e57c2",500:"#673ab7",600:"#5e35b1",700:"#512da8",800:"#4527a0",900:"#311b92",A100:"#b388ff",A200:"#7c4dff",A400:"#651fff",A700:"#6200ea"};var l={50:"#e8eaf6",100:"#c5cae9",200:"#9fa8da",300:"#7986cb",400:"#5c6bc0",500:"#3f51b5",600:"#3949ab",700:"#303f9f",800:"#283593",900:"#1a237e",A100:"#8c9eff",A200:"#536dfe",A400:"#3d5afe",A700:"#304ffe"},c=n(97621),u=n(19577);var d={50:"#e0f7fa",100:"#b2ebf2",200:"#80deea",300:"#4dd0e1",400:"#26c6da",500:"#00bcd4",600:"#00acc1",700:"#0097a7",800:"#00838f",900:"#006064",A100:"#84ffff",A200:"#18ffff",A400:"#00e5ff",A700:"#00b8d4"};var p={50:"#e0f2f1",100:"#b2dfdb",200:"#80cbc4",300:"#4db6ac",400:"#26a69a",500:"#009688",600:"#00897b",700:"#00796b",800:"#00695c",900:"#004d40",A100:"#a7ffeb",A200:"#64ffda",A400:"#1de9b6",A700:"#00bfa5"},f=n(3542),h=n(45146);var m={50:"#f9fbe7",100:"#f0f4c3",200:"#e6ee9c",300:"#dce775",400:"#d4e157",500:"#cddc39",600:"#c0ca33",700:"#afb42b",800:"#9e9d24",900:"#827717",A100:"#f4ff81",A200:"#eeff41",A400:"#c6ff00",A700:"#aeea00"},g=n(3557);var v={50:"#fff8e1",100:"#ffecb3",200:"#ffe082",300:"#ffd54f",400:"#ffca28",500:"#ffc107",600:"#ffb300",700:"#ffa000",800:"#ff8f00",900:"#ff6f00",A100:"#ffe57f",A200:"#ffd740",A400:"#ffc400",A700:"#ffab00"},y=n(33755);var b={50:"#fbe9e7",100:"#ffccbc",200:"#ffab91",300:"#ff8a65",400:"#ff7043",500:"#ff5722",600:"#f4511e",700:"#e64a19",800:"#d84315",900:"#bf360c",A100:"#ff9e80",A200:"#ff6e40",A400:"#ff3d00",A700:"#dd2c00"};var x={50:"#efebe9",100:"#d7ccc8",200:"#bcaaa4",300:"#a1887f",400:"#8d6e63",500:"#795548",600:"#6d4c41",700:"#5d4037",800:"#4e342e",900:"#3e2723",A100:"#d7ccc8",A200:"#bcaaa4",A400:"#8d6e63",A700:"#5d4037"},w=n(15878);var A={50:"#eceff1",100:"#cfd8dc",200:"#b0bec5",300:"#90a4ae",400:"#78909c",500:"#607d8b",600:"#546e7a",700:"#455a64",800:"#37474f",900:"#263238",A100:"#cfd8dc",A200:"#b0bec5",A400:"#78909c",A700:"#455a64"}},19577:function(e,t){"use strict";t.A={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",A100:"#80d8ff",A200:"#40c4ff",A400:"#00b0ff",A700:"#0091ea"}},45146:function(e,t,n){"use strict";n.r(t);t.default={50:"#f1f8e9",100:"#dcedc8",200:"#c5e1a5",300:"#aed581",400:"#9ccc65",500:"#8bc34a",600:"#7cb342",700:"#689f38",800:"#558b2f",900:"#33691e",A100:"#ccff90",A200:"#b2ff59",A400:"#76ff03",A700:"#64dd17"}},33755:function(e,t){"use strict";t.A={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00"}},71495:function(e,t){"use strict";t.A={50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",A100:"#ea80fc",A200:"#e040fb",A400:"#d500f9",A700:"#aa00ff"}},41338:function(e,t,n){"use strict";n.r(t);t.default={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"}},3557:function(e,t,n){"use strict";n.r(t);t.default={50:"#fffde7",100:"#fff9c4",200:"#fff59d",300:"#fff176",400:"#ffee58",500:"#ffeb3b",600:"#fdd835",700:"#fbc02d",800:"#f9a825",900:"#f57f17",A100:"#ffff8d",A200:"#ffff00",A400:"#ffea00",A700:"#ffd600"}},15902:function(e,t,n){"use strict";n.r(t),n.d(t,{Accordion:function(){return U},AccordionActions:function(){return K},AccordionDetails:function(){return te},AccordionSummary:function(){return ce},Alert:function(){return Te},AlertTitle:function(){return Re},AppBar:function(){return ze},Autocomplete:function(){return Fe.A},Avatar:function(){return Xe},AvatarGroup:function(){return tt},Backdrop:function(){return nt.A},Badge:function(){return pt},BottomNavigation:function(){return vt},BottomNavigationAction:function(){return _t},Box:function(){return Nt},Breadcrumbs:function(){return Yt},Button:function(){return Xt.A},ButtonBase:function(){return ne.A},ButtonGroup:function(){return sn},ButtonGroupButtonContext:function(){return rn.A},ButtonGroupContext:function(){return nn.A},Card:function(){return pn},CardActionArea:function(){return yn},CardActions:function(){return _n},CardContent:function(){return Mn},CardHeader:function(){return Ln},CardMedia:function(){return Wn},Checkbox:function(){return rr},Chip:function(){return or.A},CircularProgress:function(){return Ar},ClickAwayListener:function(){return Cr},Collapse:function(){return P},Container:function(){return Lr},CssBaseline:function(){return zr.Ay},Dialog:function(){return Hr.A},DialogActions:function(){return Wr.A},DialogContent:function(){return qr.A},DialogContentText:function(){return Jr},DialogTitle:function(){return ro},Divider:function(){return oo.A},Drawer:function(){return ao.Ay},Experimental_CssVarsProvider:function(){return o.Experimental_CssVarsProvider},Fab:function(){return fo},Fade:function(){return ho.A},FilledInput:function(){return mo.A},FormControl:function(){return vo.A},FormControlLabel:function(){return xo.A},FormGroup:function(){return Ao.A},FormHelperText:function(){return So.A},FormLabel:function(){return Co.A},FormLabelRoot:function(){return Co.d},GlobalStyles:function(){return Ef.A},Grid:function(){return zo},Grow:function(){return pi.A},Hidden:function(){return Ci},Icon:function(){return Di},IconButton:function(){return he.A},ImageList:function(){return Fi},ImageListItem:function(){return Gi},ImageListItemBar:function(){return na},Input:function(){return ra.A},InputAdornment:function(){return ia.A},InputBase:function(){return sa.Ay},InputLabel:function(){return ca.A},LinearProgress:function(){return Oa},Link:function(){return za},List:function(){return Fa.A},ListItem:function(){return Ha.Ay},ListItemAvatar:function(){return Xa},ListItemButton:function(){return Qa},ListItemIcon:function(){return rs},ListItemSecondaryAction:function(){return os.A},ListItemText:function(){return cs},ListSubheader:function(){return us.A},Menu:function(){return ps.A},MenuItem:function(){return hs.A},MenuList:function(){return gs.A},MobileStepper:function(){return ks},Modal:function(){return Cs.A},ModalManager:function(){return Ts.P},NativeSelect:function(){return js},NoSsr:function(){return zs},OutlinedInput:function(){return Fs.A},Pagination:function(){return Hs.A},PaginationItem:function(){return Ws.A},Paper:function(){return O.A},Popover:function(){return Gs.Ay},PopoverPaper:function(){return Gs.IJ},PopoverRoot:function(){return Gs.yt},Popper:function(){return Xs.A},Portal:function(){return Zs.A},Radio:function(){return fl},RadioGroup:function(){return yl},Rating:function(){return jl},ScopedCssBaseline:function(){return Hl},Select:function(){return Vl.A},Skeleton:function(){return Ul.A},Slide:function(){return Gl.A},Slider:function(){return Cc},SliderMark:function(){return Ac},SliderMarkLabel:function(){return _c},SliderRail:function(){return yc},SliderRoot:function(){return vc},SliderThumb:function(){return xc},SliderTrack:function(){return bc},SliderValueLabel:function(){return wc},Snackbar:function(){return Fc},SnackbarContent:function(){return Ic},SpeedDial:function(){return eu},SpeedDialAction:function(){return lu},SpeedDialIcon:function(){return mu},Stack:function(){return gu.A},Step:function(){return Mu},StepButton:function(){return Ju},StepConnector:function(){return od},StepContent:function(){return ud},StepContext:function(){return _u},StepIcon:function(){return $u},StepLabel:function(){return Gu},Stepper:function(){return gd},StepperContext:function(){return xu},StyledEngineProvider:function(){return o.StyledEngineProvider},SvgIcon:function(){return Eu.A},SwipeableDrawer:function(){return Nd},Switch:function(){return Ld.A},THEME_ID:function(){return o.THEME_ID},Tab:function(){return $d.A},TabScrollButton:function(){return hf.A},Table:function(){return qd},TableBody:function(){return ep},TableCell:function(){return ap},TableContainer:function(){return dp},TableFooter:function(){return yp},TableHead:function(){return kp},TablePagination:function(){return Kp},TableRow:function(){return rf},TableSortLabel:function(){return df},Tabs:function(){return pf.A},TextField:function(){return gf.A},TextareaAutosize:function(){return yf.A},ThemeProvider:function(){return o.ThemeProvider},ToggleButton:function(){return bf.A},ToggleButtonGroup:function(){return wf.A},Toolbar:function(){return Op},Tooltip:function(){return tu.A},Typography:function(){return Me.A},Unstable_Grid2:function(){return li},Unstable_TrapFocus:function(){return Df.A},Zoom:function(){return Wc},accordionActionsClasses:function(){return G},accordionClasses:function(){return H},accordionDetailsClasses:function(){return J},accordionSummaryClasses:function(){return oe},adaptV4Theme:function(){return o.adaptV4Theme},alertClasses:function(){return fe},alertTitleClasses:function(){return Oe},alpha:function(){return o.alpha},appBarClasses:function(){return Ne},autocompleteClasses:function(){return Be.autocompleteClasses},avatarClasses:function(){return We},avatarGroupClasses:function(){return Ze},backdropClasses:function(){return rt.A},badgeClasses:function(){return lt},bottomNavigationActionClasses:function(){return bt},bottomNavigationClasses:function(){return ht},boxClasses:function(){return Dt},breadcrumbsClasses:function(){return Ht},buttonBaseClasses:function(){return Zt.A},buttonClasses:function(){return Kt.buttonClasses},buttonGroupClasses:function(){return tn},capitalize:function(){return i.capitalize},cardActionAreaClasses:function(){return hn},cardActionsClasses:function(){return xn},cardClasses:function(){return cn},cardContentClasses:function(){return kn},cardHeaderClasses:function(){return On},cardMediaClasses:function(){return $n},checkboxClasses:function(){return Zn},chipClasses:function(){return ir.A},circularProgressClasses:function(){return lr},collapseClasses:function(){return A},colors:function(){return r},containerClasses:function(){return $r},createChainedFunction:function(){return i.createChainedFunction},createFilterOptions:function(){return Be.createFilterOptions},createMuiTheme:function(){return o.createMuiTheme},createStyles:function(){return o.createStyles},createSvgIcon:function(){return i.createSvgIcon},createTheme:function(){return o.createTheme},css:function(){return o.css},darkScrollbar:function(){return Br},darken:function(){return o.darken},debounce:function(){return i.debounce},decomposeColor:function(){return o.decomposeColor},deprecatedPropType:function(){return i.deprecatedPropType},dialogActionsClasses:function(){return Ur.A},dialogClasses:function(){return Vr.A},dialogContentClasses:function(){return Gr.A},dialogContentTextClasses:function(){return Xr},dialogTitleClasses:function(){return Qr.A},dividerClasses:function(){return io.dividerClasses},drawerClasses:function(){return so.drawerClasses},duration:function(){return o.duration},easing:function(){return o.easing},emphasize:function(){return o.emphasize},experimentalStyled:function(){return o.experimentalStyled},experimental_extendTheme:function(){return o.experimental_extendTheme},experimental_sx:function(){return o.experimental_sx},fabClasses:function(){return co},filledInputClasses:function(){return go.A},formControlClasses:function(){return bo.A},formControlLabelClasses:function(){return wo.formControlLabelClasses},formGroupClasses:function(){return _o.formGroupClasses},formHelperTextClasses:function(){return ko.A},formLabelClasses:function(){return To.A},generateUtilityClass:function(){return x.Ay},generateUtilityClasses:function(){return b.A},getAccordionActionsUtilityClass:function(){return q},getAccordionDetailsUtilityClass:function(){return Z},getAccordionSummaryUtilityClass:function(){return re},getAccordionUtilityClass:function(){return B},getAlertTitleUtilityClass:function(){return Pe},getAlertUtilityClass:function(){return pe},getAppBarUtilityClass:function(){return Ie},getAutocompleteUtilityClass:function(){return Be.getAutocompleteUtilityClass},getAvatarGroupUtilityClass:function(){return Ke},getAvatarUtilityClass:function(){return Ve},getBackdropUtilityClass:function(){return rt.R},getBadgeUtilityClass:function(){return st},getBottomNavigationActionUtilityClass:function(){return yt},getBottomNavigationUtilityClass:function(){return ft},getBreadcrumbsUtilityClass:function(){return Bt},getButtonBaseUtilityClass:function(){return Zt.W},getButtonGroupUtilityClass:function(){return en},getButtonUtilityClass:function(){return Kt.getButtonUtilityClass},getCardActionAreaUtilityClass:function(){return fn},getCardActionsUtilityClass:function(){return bn},getCardContentUtilityClass:function(){return Sn},getCardHeaderUtilityClass:function(){return Pn},getCardMediaUtilityClass:function(){return jn},getCardUtilityClass:function(){return ln},getCheckboxUtilityClass:function(){return Kn},getChipUtilityClass:function(){return ir.f},getCircularProgressUtilityClass:function(){return sr},getCollapseUtilityClass:function(){return w},getContainerUtilityClass:function(){return jr},getContrastRatio:function(){return o.getContrastRatio},getDialogActionsUtilityClass:function(){return Ur.C},getDialogContentTextUtilityClass:function(){return Yr},getDialogContentUtilityClass:function(){return Gr.E},getDialogTitleUtilityClass:function(){return Qr.t},getDialogUtilityClass:function(){return Vr.f},getDividerUtilityClass:function(){return io.getDividerUtilityClass},getDrawerUtilityClass:function(){return so.getDrawerUtilityClass},getFabUtilityClass:function(){return lo},getFilledInputUtilityClass:function(){return go.N},getFormControlLabelUtilityClasses:function(){return wo.getFormControlLabelUtilityClasses},getFormControlUtilityClasses:function(){return bo.c},getFormGroupUtilityClass:function(){return _o.getFormGroupUtilityClass},getFormHelperTextUtilityClasses:function(){return ko.h},getFormLabelUtilityClasses:function(){return To.Z},getGrid2UtilityClass:function(){return ci},getGridUtilityClass:function(){return Oo},getIconButtonUtilityClass:function(){return Ri.G},getIconUtilityClass:function(){return Ti},getImageListItemBarUtilityClass:function(){return Yi},getImageListItemUtilityClass:function(){return Hi},getImageListUtilityClass:function(){return Ii},getInitColorSchemeScript:function(){return o.getInitColorSchemeScript},getInputAdornmentUtilityClass:function(){return aa.P},getInputBaseUtilityClass:function(){return la.g},getInputLabelUtilityClasses:function(){return ua.R},getInputUtilityClass:function(){return oa.B},getLinearProgressUtilityClass:function(){return pa},getLinkUtilityClass:function(){return Da},getListItemAvatarUtilityClass:function(){return Ua},getListItemButtonUtilityClass:function(){return Ka.Y},getListItemIconUtilityClass:function(){return es.f},getListItemSecondaryActionClassesUtilityClass:function(){return is.g},getListItemTextUtilityClass:function(){return as.b},getListItemUtilityClass:function(){return Va._},getListSubheaderUtilityClass:function(){return ds.g},getListUtilityClass:function(){return Ba.H},getLuminance:function(){return o.getLuminance},getMenuItemUtilityClass:function(){return ms.getMenuItemUtilityClass},getMenuUtilityClass:function(){return fs.e},getMobileStepperUtilityClass:function(){return ys},getModalUtilityClass:function(){return Ms.M},getNativeSelectUtilityClasses:function(){return Ds.w},getOffsetLeft:function(){return Gs.fB},getOffsetTop:function(){return Gs.Dy},getOutlinedInputUtilityClass:function(){return Bs.v},getOverlayAlpha:function(){return o.getOverlayAlpha},getPaginationItemUtilityClass:function(){return Us.q},getPaginationUtilityClass:function(){return Vs.getPaginationUtilityClass},getPaperUtilityClass:function(){return qs.getPaperUtilityClass},getPopoverUtilityClass:function(){return Ys.K},getPopperUtilityClass:function(){return Ks.b},getRadioGroupUtilityClass:function(){return hl},getRadioUtilityClass:function(){return sl},getRatingUtilityClass:function(){return _l},getScopedCssBaselineUtilityClass:function(){return $l},getSelectUtilityClasses:function(){return Wl.T},getSkeletonUtilityClass:function(){return ql.E},getSliderUtilityClass:function(){return fc},getSnackbarContentUtilityClass:function(){return Mc},getSnackbarUtilityClass:function(){return Nc},getSpeedDialActionUtilityClass:function(){return nu},getSpeedDialIconUtilityClass:function(){return uu},getSpeedDialUtilityClass:function(){return Uc},getStepButtonUtilityClass:function(){return Yu},getStepConnectorUtilityClass:function(){return Qu},getStepContentUtilityClass:function(){return id},getStepIconUtilityClass:function(){return Du},getStepLabelUtilityClass:function(){return zu},getStepUtilityClass:function(){return Su},getStepperUtilityClass:function(){return dd},getSvgIconUtilityClass:function(){return vd.E},getSwitchUtilityClass:function(){return jd.getSwitchUtilityClass},getTabScrollButtonUtilityClass:function(){return mf.T},getTabUtilityClass:function(){return zd.getTabUtilityClass},getTableBodyUtilityClass:function(){return Yd},getTableCellUtilityClass:function(){return tp},getTableContainerUtilityClass:function(){return sp},getTableFooterUtilityClass:function(){return pp},getTableHeadUtilityClass:function(){return bp},getTablePaginationUtilityClass:function(){return jp},getTableRowUtilityClass:function(){return Zp},getTableSortLabelUtilityClass:function(){return af},getTableUtilityClass:function(){return Bd},getTabsUtilityClass:function(){return ff.getTabsUtilityClass},getTextFieldUtilityClass:function(){return vf.getTextFieldUtilityClass},getToggleButtonGroupUtilityClass:function(){return Af.getToggleButtonGroupUtilityClass},getToggleButtonUtilityClass:function(){return xf.getToggleButtonUtilityClass},getToolbarUtilityClass:function(){return Cp},getTooltipUtilityClass:function(){return _f.getTooltipUtilityClass},getTouchRippleUtilityClass:function(){return Jt.O},getTypographyUtilityClass:function(){return Sf.getTypographyUtilityClass},grid2Classes:function(){return di},gridClasses:function(){return Do},hexToRgb:function(){return o.hexToRgb},hslToRgb:function(){return o.hslToRgb},iconButtonClasses:function(){return Ri.A},iconClasses:function(){return Mi},imageListClasses:function(){return Ni},imageListItemBarClasses:function(){return Xi},imageListItemClasses:function(){return Vi},inputAdornmentClasses:function(){return aa.A},inputBaseClasses:function(){return la.A},inputClasses:function(){return oa.A},inputLabelClasses:function(){return ua.A},isMuiElement:function(){return i.isMuiElement},keyframes:function(){return o.keyframes},lighten:function(){return o.lighten},linearProgressClasses:function(){return fa},linkClasses:function(){return Ra},listClasses:function(){return Ba.A},listItemAvatarClasses:function(){return qa},listItemButtonClasses:function(){return Ka.A},listItemClasses:function(){return Va.A},listItemIconClasses:function(){return es.A},listItemSecondaryActionClasses:function(){return is.A},listItemTextClasses:function(){return as.A},listSubheaderClasses:function(){return ds.A},makeStyles:function(){return o.makeStyles},menuClasses:function(){return fs.A},menuItemClasses:function(){return ms.menuItemClasses},mobileStepperClasses:function(){return bs},modalClasses:function(){return Ms.A},nativeSelectClasses:function(){return Ds.A},outlinedInputClasses:function(){return Bs.A},ownerDocument:function(){return i.ownerDocument},ownerWindow:function(){return i.ownerWindow},paginationClasses:function(){return Vs.paginationClasses},paginationItemClasses:function(){return Us.A},paperClasses:function(){return qs.paperClasses},popoverClasses:function(){return Ys.A},private_createMixins:function(){return o.private_createMixins},private_createTypography:function(){return o.private_createTypography},private_excludeVariablesFromRoot:function(){return o.private_excludeVariablesFromRoot},radioClasses:function(){return ll},radioGroupClasses:function(){return ml},ratingClasses:function(){return Sl},recomposeColor:function(){return o.recomposeColor},requirePropFactory:function(){return i.requirePropFactory},responsiveFontSizes:function(){return o.responsiveFontSizes},rgbToHex:function(){return o.rgbToHex},scopedCssBaselineClasses:function(){return zl},selectClasses:function(){return Wl.A},setRef:function(){return i.setRef},shouldSkipGeneratingVar:function(){return o.shouldSkipGeneratingVar},skeletonClasses:function(){return ql.A},sliderClasses:function(){return hc},snackbarClasses:function(){return Lc},snackbarContentClasses:function(){return Pc},speedDialActionClasses:function(){return ru},speedDialClasses:function(){return qc},speedDialIconClasses:function(){return du},stackClasses:function(){return vu},stepButtonClasses:function(){return Xu},stepClasses:function(){return ku},stepConnectorClasses:function(){return ed},stepContentClasses:function(){return ad},stepIconClasses:function(){return Iu},stepLabelClasses:function(){return Fu},stepperClasses:function(){return pd},styled:function(){return o.styled},svgIconClasses:function(){return vd.A},switchClasses:function(){return jd.switchClasses},tabClasses:function(){return zd.tabClasses},tabScrollButtonClasses:function(){return mf.A},tableBodyClasses:function(){return Xd},tableCellClasses:function(){return np},tableClasses:function(){return Hd},tableContainerClasses:function(){return lp},tableFooterClasses:function(){return fp},tableHeadClasses:function(){return xp},tablePaginationClasses:function(){return zp},tableRowClasses:function(){return Jp},tableSortLabelClasses:function(){return sf},tabsClasses:function(){return ff.tabsClasses},textFieldClasses:function(){return vf.textFieldClasses},toggleButtonClasses:function(){return xf.toggleButtonClasses},toggleButtonGroupClasses:function(){return Af.toggleButtonGroupClasses},toolbarClasses:function(){return Tp},tooltipClasses:function(){return _f.tooltipClasses},touchRippleClasses:function(){return Jt.A},typographyClasses:function(){return Sf.typographyClasses},unstable_ClassNameGenerator:function(){return i.unstable_ClassNameGenerator},unstable_composeClasses:function(){return u.A},unstable_createMuiStrictModeTheme:function(){return o.unstable_createMuiStrictModeTheme},unstable_getUnit:function(){return o.unstable_getUnit},unstable_toUnitless:function(){return o.unstable_toUnitless},unstable_useEnhancedEffect:function(){return i.unstable_useEnhancedEffect},unstable_useId:function(){return i.unstable_useId},unsupportedProp:function(){return i.unsupportedProp},useAutocomplete:function(){return Of.A},useColorScheme:function(){return o.useColorScheme},useControlled:function(){return i.useControlled},useEventCallback:function(){return i.useEventCallback},useForkRef:function(){return i.useForkRef},useFormControl:function(){return yo.A},useIsFocusVisible:function(){return i.useIsFocusVisible},useMediaQuery:function(){return mi.A},usePagination:function(){return kf.A},useRadioGroup:function(){return al},useScrollTrigger:function(){return Pf},useStepContext:function(){return Au},useStepperContext:function(){return bu},useTheme:function(){return o.useTheme},useThemeProps:function(){return o.useThemeProps},withStyles:function(){return o.withStyles},withTheme:function(){return o.withTheme}});var r=n(59381),o=n(54936),i=n(58928),a=n(58168),s=n(98587),l=n(96540),c=(n(44363),n(34164)),u=n(75659),d=n(11848),p=n(25669),f=n(80851),h=n(33068),m=n(17091),g=n(35186),v=n(44675),y=n(96852),b=n(38413),x=n(31609);function w(e){return(0,x.Ay)("MuiCollapse",e)}var A=(0,b.A)("MuiCollapse",["root","horizontal","vertical","entered","hidden","wrapper","wrapperInner"]),_=n(74848);const S=["addEndListener","children","className","collapsedSize","component","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","orientation","style","timeout","TransitionComponent"],k=(0,d.Ay)("div",{name:"MuiCollapse",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.orientation],"entered"===n.state&&t.entered,"exited"===n.state&&!n.in&&"0px"===n.collapsedSize&&t.hidden]}})((({theme:e,ownerState:t})=>(0,a.A)({height:0,overflow:"hidden",transition:e.transitions.create("height")},"horizontal"===t.orientation&&{height:"auto",width:0,transition:e.transitions.create("width")},"entered"===t.state&&(0,a.A)({height:"auto",overflow:"visible"},"horizontal"===t.orientation&&{width:"auto"}),"exited"===t.state&&!t.in&&"0px"===t.collapsedSize&&{visibility:"hidden"}))),C=(0,d.Ay)("div",{name:"MuiCollapse",slot:"Wrapper",overridesResolver:(e,t)=>t.wrapper})((({ownerState:e})=>(0,a.A)({display:"flex",width:"100%"},"horizontal"===e.orientation&&{width:"auto",height:"100%"}))),T=(0,d.Ay)("div",{name:"MuiCollapse",slot:"WrapperInner",overridesResolver:(e,t)=>t.wrapperInner})((({ownerState:e})=>(0,a.A)({width:"100%"},"horizontal"===e.orientation&&{width:"auto",height:"100%"}))),M=l.forwardRef((function(e,t){const n=(0,p.b)({props:e,name:"MuiCollapse"}),{addEndListener:r,children:o,className:i,collapsedSize:d="0px",component:b,easing:x,in:A,onEnter:M,onEntered:P,onEntering:O,onExit:E,onExited:D,onExiting:R,orientation:I="vertical",style:N,timeout:L=m.p0.standard,TransitionComponent:j=f.Ay}=n,$=(0,s.A)(n,S),z=(0,a.A)({},n,{orientation:I,collapsedSize:d}),F=(e=>{const{orientation:t,classes:n}=e,r={root:["root",`${t}`],entered:["entered"],hidden:["hidden"],wrapper:["wrapper",`${t}`],wrapperInner:["wrapperInner",`${t}`]};return(0,u.A)(r,w,n)})(z),B=(0,v.A)(),H=(0,h.A)(),V=l.useRef(null),W=l.useRef(),U="number"==typeof d?`${d}px`:d,q="horizontal"===I,G=q?"width":"height",Y=l.useRef(null),X=(0,y.A)(t,Y),K=e=>t=>{if(e){const n=Y.current;void 0===t?e(n):e(n,t)}},Z=()=>V.current?V.current[q?"clientWidth":"clientHeight"]:0,J=K(((e,t)=>{V.current&&q&&(V.current.style.position="absolute"),e.style[G]=U,M&&M(e,t)})),Q=K(((e,t)=>{const n=Z();V.current&&q&&(V.current.style.position="");const{duration:r,easing:o}=(0,g.c)({style:N,timeout:L,easing:x},{mode:"enter"});if("auto"===L){const t=B.transitions.getAutoHeightDuration(n);e.style.transitionDuration=`${t}ms`,W.current=t}else e.style.transitionDuration="string"==typeof r?r:`${r}ms`;e.style[G]=`${n}px`,e.style.transitionTimingFunction=o,O&&O(e,t)})),ee=K(((e,t)=>{e.style[G]="auto",P&&P(e,t)})),te=K((e=>{e.style[G]=`${Z()}px`,E&&E(e)})),ne=K(D),re=K((e=>{const t=Z(),{duration:n,easing:r}=(0,g.c)({style:N,timeout:L,easing:x},{mode:"exit"});if("auto"===L){const n=B.transitions.getAutoHeightDuration(t);e.style.transitionDuration=`${n}ms`,W.current=n}else e.style.transitionDuration="string"==typeof n?n:`${n}ms`;e.style[G]=U,e.style.transitionTimingFunction=r,R&&R(e)}));return(0,_.jsx)(j,(0,a.A)({in:A,onEnter:J,onEntered:ee,onEntering:Q,onExit:te,onExited:ne,onExiting:re,addEndListener:e=>{"auto"===L&&H.start(W.current||0,e),r&&r(Y.current,e)},nodeRef:Y,timeout:"auto"===L?null:L},$,{children:(e,t)=>(0,_.jsx)(k,(0,a.A)({as:b,className:(0,c.A)(F.root,i,{entered:F.entered,exited:!A&&"0px"===U&&F.hidden}[e]),style:(0,a.A)({[q?"minWidth":"minHeight"]:U},N),ref:X},t,{ownerState:(0,a.A)({},z,{state:e}),children:(0,_.jsx)(C,{ownerState:(0,a.A)({},z,{state:e}),className:F.wrapper,ref:V,children:(0,_.jsx)(T,{ownerState:(0,a.A)({},z,{state:e}),className:F.wrapperInner,children:o})})}))}))}));M.muiSupportAuto=!0;var P=M,O=n(34339);var E=l.createContext({}),D=n(41159),R=n(31523),I=n(2879),N=n(56677),L=n(22505);const j=["className","elementType","ownerState","externalForwardedProps","getSlotOwnerState","internalForwardedProps"],$=["component","slots","slotProps"],z=["component"];function F(e,t){const{className:n,elementType:r,ownerState:o,externalForwardedProps:i,getSlotOwnerState:l,internalForwardedProps:c}=t,u=(0,s.A)(t,j),{component:d,slots:p={[e]:void 0},slotProps:f={[e]:void 0}}=i,h=(0,s.A)(i,$),m=p[e]||r,g=(0,N.A)(f[e],o),v=(0,L.A)((0,a.A)({className:n},u,{externalForwardedProps:"root"===e?h:void 0,externalSlotProps:g})),{props:{component:y},internalRef:b}=v,x=(0,s.A)(v.props,z),w=(0,R.A)(b,null==g?void 0:g.ref,t.ref),A=l?l(x):{},_=(0,a.A)({},o,A),S="root"===e?y||d:y,k=(0,I.A)(m,(0,a.A)({},"root"===e&&!d&&!p[e]&&c,"root"!==e&&!p[e]&&c,x,S&&{as:S},{ref:w}),_);return Object.keys(A).forEach((e=>{delete k[e]})),[m,k]}function B(e){return(0,x.Ay)("MuiAccordion",e)}var H=(0,b.A)("MuiAccordion",["root","rounded","expanded","disabled","gutters","region"]);const V=["children","className","defaultExpanded","disabled","disableGutters","expanded","onChange","square","slots","slotProps","TransitionComponent","TransitionProps"],W=(0,d.Ay)(O.A,{name:"MuiAccordion",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${H.region}`]:t.region},t.root,!n.square&&t.rounded,!n.disableGutters&&t.gutters]}})((({theme:e})=>{const t={duration:e.transitions.duration.shortest};return{position:"relative",transition:e.transitions.create(["margin"],t),overflowAnchor:"none","&::before":{position:"absolute",left:0,top:-1,right:0,height:1,content:'""',opacity:1,backgroundColor:(e.vars||e).palette.divider,transition:e.transitions.create(["opacity","background-color"],t)},"&:first-of-type":{"&::before":{display:"none"}},[`&.${H.expanded}`]:{"&::before":{opacity:0},"&:first-of-type":{marginTop:0},"&:last-of-type":{marginBottom:0},"& + &":{"&::before":{display:"none"}}},[`&.${H.disabled}`]:{backgroundColor:(e.vars||e).palette.action.disabledBackground}}}),(({theme:e})=>({variants:[{props:e=>!e.square,style:{borderRadius:0,"&:first-of-type":{borderTopLeftRadius:(e.vars||e).shape.borderRadius,borderTopRightRadius:(e.vars||e).shape.borderRadius},"&:last-of-type":{borderBottomLeftRadius:(e.vars||e).shape.borderRadius,borderBottomRightRadius:(e.vars||e).shape.borderRadius,"@supports (-ms-ime-align: auto)":{borderBottomLeftRadius:0,borderBottomRightRadius:0}}}},{props:e=>!e.disableGutters,style:{[`&.${H.expanded}`]:{margin:"16px 0"}}}]})));var U=l.forwardRef((function(e,t){const n=(0,p.b)({props:e,name:"MuiAccordion"}),{children:r,className:o,defaultExpanded:i=!1,disabled:d=!1,disableGutters:f=!1,expanded:h,onChange:m,square:g=!1,slots:v={},slotProps:y={},TransitionComponent:b,TransitionProps:x}=n,w=(0,s.A)(n,V),[A,S]=(0,D.A)({controlled:h,default:i,name:"Accordion",state:"expanded"}),k=l.useCallback((e=>{S(!A),m&&m(e,!A)}),[A,m,S]),[C,...T]=l.Children.toArray(r),M=l.useMemo((()=>({expanded:A,disabled:d,disableGutters:f,toggle:k})),[A,d,f,k]),O=(0,a.A)({},n,{square:g,disabled:d,disableGutters:f,expanded:A}),R=(e=>{const{classes:t,square:n,expanded:r,disabled:o,disableGutters:i}=e,a={root:["root",!n&&"rounded",r&&"expanded",o&&"disabled",!i&&"gutters"],region:["region"]};return(0,u.A)(a,B,t)})(O),I=(0,a.A)({transition:b},v),N=(0,a.A)({transition:x},y),[L,j]=F("transition",{elementType:P,externalForwardedProps:{slots:I,slotProps:N},ownerState:O});return(0,_.jsxs)(W,(0,a.A)({className:(0,c.A)(R.root,o),ref:t,ownerState:O,square:g},w,{children:[(0,_.jsx)(E.Provider,{value:M,children:C}),(0,_.jsx)(L,(0,a.A)({in:A,timeout:"auto"},j,{children:(0,_.jsx)("div",{"aria-labelledby":C.props.id,id:C.props["aria-controls"],role:"region",className:R.region,children:T})}))]}))}));function q(e){return(0,x.Ay)("MuiAccordionActions",e)}var G=(0,b.A)("MuiAccordionActions",["root","spacing"]);const Y=["className","disableSpacing"],X=(0,d.Ay)("div",{name:"MuiAccordionActions",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.disableSpacing&&t.spacing]}})({display:"flex",alignItems:"center",padding:8,justifyContent:"flex-end",variants:[{props:e=>!e.disableSpacing,style:{"& > :not(style) ~ :not(style)":{marginLeft:8}}}]});var K=l.forwardRef((function(e,t){const n=(0,p.b)({props:e,name:"MuiAccordionActions"}),{className:r,disableSpacing:o=!1}=n,i=(0,s.A)(n,Y),l=(0,a.A)({},n,{disableSpacing:o}),d=(e=>{const{classes:t,disableSpacing:n}=e,r={root:["root",!n&&"spacing"]};return(0,u.A)(r,q,t)})(l);return(0,_.jsx)(X,(0,a.A)({className:(0,c.A)(d.root,r),ref:t,ownerState:l},i))}));function Z(e){return(0,x.Ay)("MuiAccordionDetails",e)}var J=(0,b.A)("MuiAccordionDetails",["root"]);const Q=["className"],ee=(0,d.Ay)("div",{name:"MuiAccordionDetails",slot:"Root",overridesResolver:(e,t)=>t.root})((({theme:e})=>({padding:e.spacing(1,2,2)})));var te=l.forwardRef((function(e,t){const n=(0,p.b)({props:e,name:"MuiAccordionDetails"}),{className:r}=n,o=(0,s.A)(n,Q),i=n,l=(e=>{const{classes:t}=e;return(0,u.A)({root:["root"]},Z,t)})(i);return(0,_.jsx)(ee,(0,a.A)({className:(0,c.A)(l.root,r),ref:t,ownerState:i},o))})),ne=n(9934);function re(e){return(0,x.Ay)("MuiAccordionSummary",e)}var oe=(0,b.A)("MuiAccordionSummary",["root","expanded","focusVisible","disabled","gutters","contentGutters","content","expandIconWrapper"]);const ie=["children","className","expandIcon","focusVisibleClassName","onClick"],ae=(0,d.Ay)(ne.A,{name:"MuiAccordionSummary",slot:"Root",overridesResolver:(e,t)=>t.root})((({theme:e})=>{const t={duration:e.transitions.duration.shortest};return{display:"flex",minHeight:48,padding:e.spacing(0,2),transition:e.transitions.create(["min-height","background-color"],t),[`&.${oe.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${oe.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity},[`&:hover:not(.${oe.disabled})`]:{cursor:"pointer"},variants:[{props:e=>!e.disableGutters,style:{[`&.${oe.expanded}`]:{minHeight:64}}}]}})),se=(0,d.Ay)("div",{name:"MuiAccordionSummary",slot:"Content",overridesResolver:(e,t)=>t.content})((({theme:e})=>({display:"flex",flexGrow:1,margin:"12px 0",variants:[{props:e=>!e.disableGutters,style:{transition:e.transitions.create(["margin"],{duration:e.transitions.duration.shortest}),[`&.${oe.expanded}`]:{margin:"20px 0"}}}]}))),le=(0,d.Ay)("div",{name:"MuiAccordionSummary",slot:"ExpandIconWrapper",overridesResolver:(e,t)=>t.expandIconWrapper})((({theme:e})=>({display:"flex",color:(e.vars||e).palette.action.active,transform:"rotate(0deg)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shortest}),[`&.${oe.expanded}`]:{transform:"rotate(180deg)"}})));var ce=l.forwardRef((function(e,t){const n=(0,p.b)({props:e,name:"MuiAccordionSummary"}),{children:r,className:o,expandIcon:i,focusVisibleClassName:d,onClick:f}=n,h=(0,s.A)(n,ie),{disabled:m=!1,disableGutters:g,expanded:v,toggle:y}=l.useContext(E),b=(0,a.A)({},n,{expanded:v,disabled:m,disableGutters:g}),x=(e=>{const{classes:t,expanded:n,disabled:r,disableGutters:o}=e,i={root:["root",n&&"expanded",r&&"disabled",!o&&"gutters"],focusVisible:["focusVisible"],content:["content",n&&"expanded",!o&&"contentGutters"],expandIconWrapper:["expandIconWrapper",n&&"expanded"]};return(0,u.A)(i,re,t)})(b);return(0,_.jsxs)(ae,(0,a.A)({focusRipple:!1,disableRipple:!0,disabled:m,component:"div","aria-expanded":v,className:(0,c.A)(x.root,o),focusVisibleClassName:(0,c.A)(x.focusVisible,d),onClick:e=>{y&&y(e),f&&f(e)},ref:t,ownerState:b},h,{children:[(0,_.jsx)(se,{className:x.content,ownerState:b,children:r}),i&&(0,_.jsx)(le,{className:x.expandIconWrapper,ownerState:b,children:i})]}))})),ue=n(771),de=n(28466);function pe(e){return(0,x.Ay)("MuiAlert",e)}var fe=(0,b.A)("MuiAlert",["root","action","icon","message","filled","colorSuccess","colorInfo","colorWarning","colorError","filledSuccess","filledInfo","filledWarning","filledError","outlined","outlinedSuccess","outlinedInfo","outlinedWarning","outlinedError","standard","standardSuccess","standardInfo","standardWarning","standardError"]),he=n(19455),me=n(20561),ge=(0,me.A)((0,_.jsx)("path",{d:"M20,12A8,8 0 0,1 12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4C12.76,4 13.5,4.11 14.2, 4.31L15.77,2.74C14.61,2.26 13.34,2 12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0, 0 22,12M7.91,10.08L6.5,11.5L11,16L21,6L19.59,4.58L11,13.17L7.91,10.08Z"}),"SuccessOutlined"),ve=(0,me.A)((0,_.jsx)("path",{d:"M12 5.99L19.53 19H4.47L12 5.99M12 2L1 21h22L12 2zm1 14h-2v2h2v-2zm0-6h-2v4h2v-4z"}),"ReportProblemOutlined"),ye=(0,me.A)((0,_.jsx)("path",{d:"M11 15h2v2h-2zm0-8h2v6h-2zm.99-5C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),"ErrorOutline"),be=(0,me.A)((0,_.jsx)("path",{d:"M11,9H13V7H11M12,20C7.59,20 4,16.41 4,12C4,7.59 7.59,4 12,4C16.41,4 20,7.59 20, 12C20,16.41 16.41,20 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10, 10 0 0,0 12,2M11,17H13V11H11V17Z"}),"InfoOutlined"),xe=n(49350);const we=["action","children","className","closeText","color","components","componentsProps","icon","iconMapping","onClose","role","severity","slotProps","slots","variant"],Ae=(0,d.Ay)(O.A,{name:"MuiAlert",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`${n.variant}${(0,de.A)(n.color||n.severity)}`]]}})((({theme:e})=>{const t="light"===e.palette.mode?ue.e$:ue.a,n="light"===e.palette.mode?ue.a:ue.e$;return(0,a.A)({},e.typography.body2,{backgroundColor:"transparent",display:"flex",padding:"6px 16px",variants:[...Object.entries(e.palette).filter((([,e])=>e.main&&e.light)).map((([r])=>({props:{colorSeverity:r,variant:"standard"},style:{color:e.vars?e.vars.palette.Alert[`${r}Color`]:t(e.palette[r].light,.6),backgroundColor:e.vars?e.vars.palette.Alert[`${r}StandardBg`]:n(e.palette[r].light,.9),[`& .${fe.icon}`]:e.vars?{color:e.vars.palette.Alert[`${r}IconColor`]}:{color:e.palette[r].main}}}))),...Object.entries(e.palette).filter((([,e])=>e.main&&e.light)).map((([n])=>({props:{colorSeverity:n,variant:"outlined"},style:{color:e.vars?e.vars.palette.Alert[`${n}Color`]:t(e.palette[n].light,.6),border:`1px solid ${(e.vars||e).palette[n].light}`,[`& .${fe.icon}`]:e.vars?{color:e.vars.palette.Alert[`${n}IconColor`]}:{color:e.palette[n].main}}}))),...Object.entries(e.palette).filter((([,e])=>e.main&&e.dark)).map((([t])=>({props:{colorSeverity:t,variant:"filled"},style:(0,a.A)({fontWeight:e.typography.fontWeightMedium},e.vars?{color:e.vars.palette.Alert[`${t}FilledColor`],backgroundColor:e.vars.palette.Alert[`${t}FilledBg`]}:{backgroundColor:"dark"===e.palette.mode?e.palette[t].dark:e.palette[t].main,color:e.palette.getContrastText(e.palette[t].main)})})))]})})),_e=(0,d.Ay)("div",{name:"MuiAlert",slot:"Icon",overridesResolver:(e,t)=>t.icon})({marginRight:12,padding:"7px 0",display:"flex",fontSize:22,opacity:.9}),Se=(0,d.Ay)("div",{name:"MuiAlert",slot:"Message",overridesResolver:(e,t)=>t.message})({padding:"8px 0",minWidth:0,overflow:"auto"}),ke=(0,d.Ay)("div",{name:"MuiAlert",slot:"Action",overridesResolver:(e,t)=>t.action})({display:"flex",alignItems:"flex-start",padding:"4px 0 0 16px",marginLeft:"auto",marginRight:-8}),Ce={success:(0,_.jsx)(ge,{fontSize:"inherit"}),warning:(0,_.jsx)(ve,{fontSize:"inherit"}),error:(0,_.jsx)(ye,{fontSize:"inherit"}),info:(0,_.jsx)(be,{fontSize:"inherit"})};var Te=l.forwardRef((function(e,t){const n=(0,p.b)({props:e,name:"MuiAlert"}),{action:r,children:o,className:i,closeText:l="Close",color:d,components:f={},componentsProps:h={},icon:m,iconMapping:g=Ce,onClose:v,role:y="alert",severity:b="success",slotProps:x={},slots:w={},variant:A="standard"}=n,S=(0,s.A)(n,we),k=(0,a.A)({},n,{color:d,severity:b,variant:A,colorSeverity:d||b}),C=(e=>{const{variant:t,color:n,severity:r,classes:o}=e,i={root:["root",`color${(0,de.A)(n||r)}`,`${t}${(0,de.A)(n||r)}`,`${t}`],icon:["icon"],message:["message"],action:["action"]};return(0,u.A)(i,pe,o)})(k),T={slots:(0,a.A)({closeButton:f.CloseButton,closeIcon:f.CloseIcon},w),slotProps:(0,a.A)({},h,x)},[M,P]=F("closeButton",{elementType:he.A,externalForwardedProps:T,ownerState:k}),[O,E]=F("closeIcon",{elementType:xe.A,externalForwardedProps:T,ownerState:k});return(0,_.jsxs)(Ae,(0,a.A)({role:y,elevation:0,ownerState:k,className:(0,c.A)(C.root,i),ref:t},S,{children:[!1!==m?(0,_.jsx)(_e,{ownerState:k,className:C.icon,children:m||g[b]||Ce[b]}):null,(0,_.jsx)(Se,{ownerState:k,className:C.message,children:o}),null!=r?(0,_.jsx)(ke,{ownerState:k,className:C.action,children:r}):null,null==r&&v?(0,_.jsx)(ke,{ownerState:k,className:C.action,children:(0,_.jsx)(M,(0,a.A)({size:"small","aria-label":l,title:l,color:"inherit",onClick:v},P,{children:(0,_.jsx)(O,(0,a.A)({fontSize:"small"},E))}))}):null]}))})),Me=n(33551);function Pe(e){return(0,x.Ay)("MuiAlertTitle",e)}var Oe=(0,b.A)("MuiAlertTitle",["root"]);const Ee=["className"],De=(0,d.Ay)(Me.A,{name:"MuiAlertTitle",slot:"Root",overridesResolver:(e,t)=>t.root})((({theme:e})=>({fontWeight:e.typography.fontWeightMedium,marginTop:-2})));var Re=l.forwardRef((function(e,t){const n=(0,p.b)({props:e,name:"MuiAlertTitle"}),{className:r}=n,o=(0,s.A)(n,Ee),i=n,l=(e=>{const{classes:t}=e;return(0,u.A)({root:["root"]},Pe,t)})(i);return(0,_.jsx)(De,(0,a.A)({gutterBottom:!0,component:"div",ownerState:i,ref:t,className:(0,c.A)(l.root,r)},o))}));function Ie(e){return(0,x.Ay)("MuiAppBar",e)}var Ne=(0,b.A)("MuiAppBar",["root","positionFixed","positionAbsolute","positionSticky","positionStatic","positionRelative","colorDefault","colorPrimary","colorSecondary","colorInherit","colorTransparent","colorError","colorInfo","colorSuccess","colorWarning"]);const Le=["className","color","enableColorOnDark","position"],je=(e,t)=>e?`${null==e?void 0:e.replace(")","")}, ${t})`:t,$e=(0,d.Ay)(O.A,{name:"MuiAppBar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`position${(0,de.A)(n.position)}`],t[`color${(0,de.A)(n.color)}`]]}})((({theme:e,ownerState:t})=>{const n="light"===e.palette.mode?e.palette.grey[100]:e.palette.grey[900];return(0,a.A)({display:"flex",flexDirection:"column",width:"100%",boxSizing:"border-box",flexShrink:0},"fixed"===t.position&&{position:"fixed",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0,"@media print":{position:"absolute"}},"absolute"===t.position&&{position:"absolute",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0},"sticky"===t.position&&{position:"sticky",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0},"static"===t.position&&{position:"static"},"relative"===t.position&&{position:"relative"},!e.vars&&(0,a.A)({},"default"===t.color&&{backgroundColor:n,color:e.palette.getContrastText(n)},t.color&&"default"!==t.color&&"inherit"!==t.color&&"transparent"!==t.color&&{backgroundColor:e.palette[t.color].main,color:e.palette[t.color].contrastText},"inherit"===t.color&&{color:"inherit"},"dark"===e.palette.mode&&!t.enableColorOnDark&&{backgroundColor:null,color:null},"transparent"===t.color&&(0,a.A)({backgroundColor:"transparent",color:"inherit"},"dark"===e.palette.mode&&{backgroundImage:"none"})),e.vars&&(0,a.A)({},"default"===t.color&&{"--AppBar-background":t.enableColorOnDark?e.vars.palette.AppBar.defaultBg:je(e.vars.palette.AppBar.darkBg,e.vars.palette.AppBar.defaultBg),"--AppBar-color":t.enableColorOnDark?e.vars.palette.text.primary:je(e.vars.palette.AppBar.darkColor,e.vars.palette.text.primary)},t.color&&!t.color.match(/^(default|inherit|transparent)$/)&&{"--AppBar-background":t.enableColorOnDark?e.vars.palette[t.color].main:je(e.vars.palette.AppBar.darkBg,e.vars.palette[t.color].main),"--AppBar-color":t.enableColorOnDark?e.vars.palette[t.color].contrastText:je(e.vars.palette.AppBar.darkColor,e.vars.palette[t.color].contrastText)},!["inherit","transparent"].includes(t.color)&&{backgroundColor:"var(--AppBar-background)"},{color:"inherit"===t.color?"inherit":"var(--AppBar-color)"},"transparent"===t.color&&{backgroundImage:"none",backgroundColor:"transparent",color:"inherit"}))}));var ze=l.forwardRef((function(e,t){const n=(0,p.b)({props:e,name:"MuiAppBar"}),{className:r,color:o="primary",enableColorOnDark:i=!1,position:l="fixed"}=n,d=(0,s.A)(n,Le),f=(0,a.A)({},n,{color:o,position:l,enableColorOnDark:i}),h=(e=>{const{color:t,position:n,classes:r}=e,o={root:["root",`color${(0,de.A)(t)}`,`position${(0,de.A)(n)}`]};return(0,u.A)(o,Ie,r)})(f);return(0,_.jsx)($e,(0,a.A)({square:!0,component:"header",ownerState:f,elevation:4,className:(0,c.A)(h.root,r,"fixed"===l&&"mui-fixed"),ref:t},d))})),Fe=n(44473),Be=n(81373),He=(0,me.A)((0,_.jsx)("path",{d:"M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"}),"Person");function Ve(e){return(0,x.Ay)("MuiAvatar",e)}var We=(0,b.A)("MuiAvatar",["root","colorDefault","circular","rounded","square","img","fallback"]);const Ue=["alt","children","className","component","slots","slotProps","imgProps","sizes","src","srcSet","variant"],qe=(0,d.Ay)("div",{name:"MuiAvatar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],n.colorDefault&&t.colorDefault]}})((({theme:e})=>({position:"relative",display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0,width:40,height:40,fontFamily:e.typography.fontFamily,fontSize:e.typography.pxToRem(20),lineHeight:1,borderRadius:"50%",overflow:"hidden",userSelect:"none",variants:[{props:{variant:"rounded"},style:{borderRadius:(e.vars||e).shape.borderRadius}},{props:{variant:"square"},style:{borderRadius:0}},{props:{colorDefault:!0},style:(0,a.A)({color:(e.vars||e).palette.background.default},e.vars?{backgroundColor:e.vars.palette.Avatar.defaultBg}:(0,a.A)({backgroundColor:e.palette.grey[400]},e.applyStyles("dark",{backgroundColor:e.palette.grey[600]})))}]}))),Ge=(0,d.Ay)("img",{name:"MuiAvatar",slot:"Img",overridesResolver:(e,t)=>t.img})({width:"100%",height:"100%",textAlign:"center",objectFit:"cover",color:"transparent",textIndent:1e4}),Ye=(0,d.Ay)(He,{name:"MuiAvatar",slot:"Fallback",overridesResolver:(e,t)=>t.fallback})({width:"75%",height:"75%"});var Xe=l.forwardRef((function(e,t){const n=(0,p.b)({props:e,name:"MuiAvatar"}),{alt:r,children:o,className:i,component:d="div",slots:f={},slotProps:h={},imgProps:m,sizes:g,src:v,srcSet:y,variant:b="circular"}=n,x=(0,s.A)(n,Ue);let w=null;const A=function({crossOrigin:e,referrerPolicy:t,src:n,srcSet:r}){const[o,i]=l.useState(!1);return l.useEffect((()=>{if(!n&&!r)return;i(!1);let o=!0;const a=new Image;return a.onload=()=>{o&&i("loaded")},a.onerror=()=>{o&&i("error")},a.crossOrigin=e,a.referrerPolicy=t,a.src=n,r&&(a.srcset=r),()=>{o=!1}}),[e,t,n,r]),o}((0,a.A)({},m,{src:v,srcSet:y})),S=v||y,k=S&&"error"!==A,C=(0,a.A)({},n,{colorDefault:!k,component:d,variant:b}),T=(e=>{const{classes:t,variant:n,colorDefault:r}=e,o={root:["root",n,r&&"colorDefault"],img:["img"],fallback:["fallback"]};return(0,u.A)(o,Ve,t)})(C),[M,P]=F("img",{className:T.img,elementType:Ge,externalForwardedProps:{slots:f,slotProps:{img:(0,a.A)({},m,h.img)}},additionalProps:{alt:r,src:v,srcSet:y,sizes:g},ownerState:C});return w=k?(0,_.jsx)(M,(0,a.A)({},P)):o||0===o?o:S&&r?r[0]:(0,_.jsx)(Ye,{ownerState:C,className:T.fallback}),(0,_.jsx)(qe,(0,a.A)({as:d,ownerState:C,className:(0,c.A)(T.root,i),ref:t},x,{children:w}))}));function Ke(e){return(0,x.Ay)("MuiAvatarGroup",e)}var Ze=(0,b.A)("MuiAvatarGroup",["root","avatar"]);const Je=["children","className","component","componentsProps","max","renderSurplus","slotProps","spacing","total","variant"],Qe={small:-16,medium:null},et=(0,d.Ay)("div",{name:"MuiAvatarGroup",slot:"Root",overridesResolver:(e,t)=>(0,a.A)({[`& .${Ze.avatar}`]:t.avatar},t.root)})((({theme:e,ownerState:t})=>{const n=t.spacing&&void 0!==Qe[t.spacing]?Qe[t.spacing]:-t.spacing;return{[`& .${We.root}`]:{border:`2px solid ${(e.vars||e).palette.background.default}`,boxSizing:"content-box",marginLeft:null!=n?n:-8,"&:last-child":{marginLeft:0}},display:"flex",flexDirection:"row-reverse"}}));var tt=l.forwardRef((function(e,t){var n;const r=(0,p.b)({props:e,name:"MuiAvatarGroup"}),{children:o,className:i,component:d="div",componentsProps:f={},max:h=5,renderSurplus:m,slotProps:g={},spacing:v="medium",total:y,variant:b="circular"}=r,x=(0,s.A)(r,Je);let w=h<2?2:h;const A=(0,a.A)({},r,{max:h,spacing:v,component:d,variant:b}),S=(e=>{const{classes:t}=e;return(0,u.A)({root:["root"],avatar:["avatar"]},Ke,t)})(A),k=l.Children.toArray(o).filter((e=>l.isValidElement(e))),C=y||k.length;C===w&&(w+=1),w=Math.min(C+1,w);const T=Math.min(k.length,w-1),M=Math.max(C-w,C-T,0),P=m?m(M):`+${M}`,O=null!=(n=g.additionalAvatar)?n:f.additionalAvatar;return(0,_.jsxs)(et,(0,a.A)({as:d,ownerState:A,className:(0,c.A)(S.root,i),ref:t},x,{children:[M?(0,_.jsx)(Xe,(0,a.A)({variant:b},O,{className:(0,c.A)(S.avatar,null==O?void 0:O.className),children:P})):null,k.slice(0,T).reverse().map((e=>l.cloneElement(e,{className:(0,c.A)(e.props.className,S.avatar),variant:e.props.variant||b})))]}))})),nt=n(63813),rt=n(51613),ot=n(8299),it=n(79329);var at=function(e){const{badgeContent:t,invisible:n=!1,max:r=99,showZero:o=!1}=e,i=(0,ot.A)({badgeContent:t,max:r});let a=n;!1!==n||0!==t||o||(a=!0);const{badgeContent:s,max:l=r}=a?i:e;return{badgeContent:s,invisible:a,max:l,displayValue:s&&Number(s)>l?`${l}+`:s}};function st(e){return(0,x.Ay)("MuiBadge",e)}var lt=(0,b.A)("MuiBadge",["root","badge","dot","standard","anchorOriginTopRight","anchorOriginBottomRight","anchorOriginTopLeft","anchorOriginBottomLeft","invisible","colorError","colorInfo","colorPrimary","colorSecondary","colorSuccess","colorWarning","overlapRectangular","overlapCircular","anchorOriginTopLeftCircular","anchorOriginTopLeftRectangular","anchorOriginTopRightCircular","anchorOriginTopRightRectangular","anchorOriginBottomLeftCircular","anchorOriginBottomLeftRectangular","anchorOriginBottomRightCircular","anchorOriginBottomRightRectangular"]);const ct=["anchorOrigin","className","classes","component","components","componentsProps","children","overlap","color","invisible","max","badgeContent","slots","slotProps","showZero","variant"],ut=(0,d.Ay)("span",{name:"MuiBadge",slot:"Root",overridesResolver:(e,t)=>t.root})({position:"relative",display:"inline-flex",verticalAlign:"middle",flexShrink:0}),dt=(0,d.Ay)("span",{name:"MuiBadge",slot:"Badge",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.badge,t[n.variant],t[`anchorOrigin${(0,de.A)(n.anchorOrigin.vertical)}${(0,de.A)(n.anchorOrigin.horizontal)}${(0,de.A)(n.overlap)}`],"default"!==n.color&&t[`color${(0,de.A)(n.color)}`],n.invisible&&t.invisible]}})((({theme:e})=>{var t;return{display:"flex",flexDirection:"row",flexWrap:"wrap",justifyContent:"center",alignContent:"center",alignItems:"center",position:"absolute",boxSizing:"border-box",fontFamily:e.typography.fontFamily,fontWeight:e.typography.fontWeightMedium,fontSize:e.typography.pxToRem(12),minWidth:20,lineHeight:1,padding:"0 6px",height:20,borderRadius:10,zIndex:1,transition:e.transitions.create("transform",{easing:e.transitions.easing.easeInOut,duration:e.transitions.duration.enteringScreen}),variants:[...Object.keys((null!=(t=e.vars)?t:e).palette).filter((t=>{var n,r;return(null!=(n=e.vars)?n:e).palette[t].main&&(null!=(r=e.vars)?r:e).palette[t].contrastText})).map((t=>({props:{color:t},style:{backgroundColor:(e.vars||e).palette[t].main,color:(e.vars||e).palette[t].contrastText}}))),{props:{variant:"dot"},style:{borderRadius:4,height:8,minWidth:8,padding:0}},{props:({ownerState:e})=>"top"===e.anchorOrigin.vertical&&"right"===e.anchorOrigin.horizontal&&"rectangular"===e.overlap,style:{top:0,right:0,transform:"scale(1) translate(50%, -50%)",transformOrigin:"100% 0%",[`&.${lt.invisible}`]:{transform:"scale(0) translate(50%, -50%)"}}},{props:({ownerState:e})=>"bottom"===e.anchorOrigin.vertical&&"right"===e.anchorOrigin.horizontal&&"rectangular"===e.overlap,style:{bottom:0,right:0,transform:"scale(1) translate(50%, 50%)",transformOrigin:"100% 100%",[`&.${lt.invisible}`]:{transform:"scale(0) translate(50%, 50%)"}}},{props:({ownerState:e})=>"top"===e.anchorOrigin.vertical&&"left"===e.anchorOrigin.horizontal&&"rectangular"===e.overlap,style:{top:0,left:0,transform:"scale(1) translate(-50%, -50%)",transformOrigin:"0% 0%",[`&.${lt.invisible}`]:{transform:"scale(0) translate(-50%, -50%)"}}},{props:({ownerState:e})=>"bottom"===e.anchorOrigin.vertical&&"left"===e.anchorOrigin.horizontal&&"rectangular"===e.overlap,style:{bottom:0,left:0,transform:"scale(1) translate(-50%, 50%)",transformOrigin:"0% 100%",[`&.${lt.invisible}`]:{transform:"scale(0) translate(-50%, 50%)"}}},{props:({ownerState:e})=>"top"===e.anchorOrigin.vertical&&"right"===e.anchorOrigin.horizontal&&"circular"===e.overlap,style:{top:"14%",right:"14%",transform:"scale(1) translate(50%, -50%)",transformOrigin:"100% 0%",[`&.${lt.invisible}`]:{transform:"scale(0) translate(50%, -50%)"}}},{props:({ownerState:e})=>"bottom"===e.anchorOrigin.vertical&&"right"===e.anchorOrigin.horizontal&&"circular"===e.overlap,style:{bottom:"14%",right:"14%",transform:"scale(1) translate(50%, 50%)",transformOrigin:"100% 100%",[`&.${lt.invisible}`]:{transform:"scale(0) translate(50%, 50%)"}}},{props:({ownerState:e})=>"top"===e.anchorOrigin.vertical&&"left"===e.anchorOrigin.horizontal&&"circular"===e.overlap,style:{top:"14%",left:"14%",transform:"scale(1) translate(-50%, -50%)",transformOrigin:"0% 0%",[`&.${lt.invisible}`]:{transform:"scale(0) translate(-50%, -50%)"}}},{props:({ownerState:e})=>"bottom"===e.anchorOrigin.vertical&&"left"===e.anchorOrigin.horizontal&&"circular"===e.overlap,style:{bottom:"14%",left:"14%",transform:"scale(1) translate(-50%, 50%)",transformOrigin:"0% 100%",[`&.${lt.invisible}`]:{transform:"scale(0) translate(-50%, 50%)"}}},{props:{invisible:!0},style:{transition:e.transitions.create("transform",{easing:e.transitions.easing.easeInOut,duration:e.transitions.duration.leavingScreen})}}]}}));var pt=l.forwardRef((function(e,t){var n,r,o,i,l,d;const f=(0,p.b)({props:e,name:"MuiBadge"}),{anchorOrigin:h={vertical:"top",horizontal:"right"},className:m,component:g,components:v={},componentsProps:y={},children:b,overlap:x="rectangular",color:w="default",invisible:A=!1,max:S=99,badgeContent:k,slots:C,slotProps:T,showZero:M=!1,variant:P="standard"}=f,O=(0,s.A)(f,ct),{badgeContent:E,invisible:D,max:R,displayValue:I}=at({max:S,invisible:A,badgeContent:k,showZero:M}),N=(0,ot.A)({anchorOrigin:h,color:w,overlap:x,variant:P,badgeContent:k}),L=D||null==E&&"dot"!==P,{color:j=w,overlap:$=x,anchorOrigin:z=h,variant:F=P}=L?N:f,B="dot"!==F?I:void 0,H=(0,a.A)({},f,{badgeContent:E,invisible:L,max:R,displayValue:B,showZero:M,anchorOrigin:z,color:j,overlap:$,variant:F}),V=(e=>{const{color:t,anchorOrigin:n,invisible:r,overlap:o,variant:i,classes:a={}}=e,s={root:["root"],badge:["badge",i,r&&"invisible",`anchorOrigin${(0,de.A)(n.vertical)}${(0,de.A)(n.horizontal)}`,`anchorOrigin${(0,de.A)(n.vertical)}${(0,de.A)(n.horizontal)}${(0,de.A)(o)}`,`overlap${(0,de.A)(o)}`,"default"!==t&&`color${(0,de.A)(t)}`]};return(0,u.A)(s,st,a)})(H),W=null!=(n=null!=(r=null==C?void 0:C.root)?r:v.Root)?n:ut,U=null!=(o=null!=(i=null==C?void 0:C.badge)?i:v.Badge)?o:dt,q=null!=(l=null==T?void 0:T.root)?l:y.root,G=null!=(d=null==T?void 0:T.badge)?d:y.badge,Y=(0,it.A)({elementType:W,externalSlotProps:q,externalForwardedProps:O,additionalProps:{ref:t,as:g},ownerState:H,className:(0,c.A)(null==q?void 0:q.className,V.root,m)}),X=(0,it.A)({elementType:U,externalSlotProps:G,ownerState:H,className:(0,c.A)(V.badge,null==G?void 0:G.className)});return(0,_.jsxs)(W,(0,a.A)({},Y,{children:[b,(0,_.jsx)(U,(0,a.A)({},X,{children:B}))]}))}));function ft(e){return(0,x.Ay)("MuiBottomNavigation",e)}var ht=(0,b.A)("MuiBottomNavigation",["root"]);const mt=["children","className","component","onChange","showLabels","value"],gt=(0,d.Ay)("div",{name:"MuiBottomNavigation",slot:"Root",overridesResolver:(e,t)=>t.root})((({theme:e})=>({display:"flex",justifyContent:"center",height:56,backgroundColor:(e.vars||e).palette.background.paper})));var vt=l.forwardRef((function(e,t){const n=(0,p.b)({props:e,name:"MuiBottomNavigation"}),{children:r,className:o,component:i="div",onChange:d,showLabels:f=!1,value:h}=n,m=(0,s.A)(n,mt),g=(0,a.A)({},n,{component:i,showLabels:f}),v=(e=>{const{classes:t}=e;return(0,u.A)({root:["root"]},ft,t)})(g);return(0,_.jsx)(gt,(0,a.A)({as:i,className:(0,c.A)(v.root,o),ref:t,ownerState:g},m,{children:l.Children.map(r,((e,t)=>{if(!l.isValidElement(e))return null;const n=void 0===e.props.value?t:e.props.value;return l.cloneElement(e,{selected:n===h,showLabel:void 0!==e.props.showLabel?e.props.showLabel:f,value:n,onChange:d})}))}))}));function yt(e){return(0,x.Ay)("MuiBottomNavigationAction",e)}var bt=(0,b.A)("MuiBottomNavigationAction",["root","iconOnly","selected","label"]);const xt=["className","icon","label","onChange","onClick","selected","showLabel","value"],wt=(0,d.Ay)(ne.A,{name:"MuiBottomNavigationAction",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.showLabel&&!n.selected&&t.iconOnly]}})((({theme:e,ownerState:t})=>(0,a.A)({transition:e.transitions.create(["color","padding-top"],{duration:e.transitions.duration.short}),padding:"0px 12px",minWidth:80,maxWidth:168,color:(e.vars||e).palette.text.secondary,flexDirection:"column",flex:"1"},!t.showLabel&&!t.selected&&{paddingTop:14},!t.showLabel&&!t.selected&&!t.label&&{paddingTop:0},{[`&.${bt.selected}`]:{color:(e.vars||e).palette.primary.main}}))),At=(0,d.Ay)("span",{name:"MuiBottomNavigationAction",slot:"Label",overridesResolver:(e,t)=>t.label})((({theme:e,ownerState:t})=>(0,a.A)({fontFamily:e.typography.fontFamily,fontSize:e.typography.pxToRem(12),opacity:1,transition:"font-size 0.2s, opacity 0.2s",transitionDelay:"0.1s"},!t.showLabel&&!t.selected&&{opacity:0,transitionDelay:"0s"},{[`&.${bt.selected}`]:{fontSize:e.typography.pxToRem(14)}})));var _t=l.forwardRef((function(e,t){const n=(0,p.b)({props:e,name:"MuiBottomNavigationAction"}),{className:r,icon:o,label:i,onChange:l,onClick:d,value:f}=n,h=(0,s.A)(n,xt),m=n,g=(e=>{const{classes:t,showLabel:n,selected:r}=e,o={root:["root",!n&&!r&&"iconOnly",r&&"selected"],label:["label",!n&&!r&&"iconOnly",r&&"selected"]};return(0,u.A)(o,yt,t)})(m);return(0,_.jsxs)(wt,(0,a.A)({ref:t,className:(0,c.A)(g.root,r),focusRipple:!0,onClick:e=>{l&&l(e,f),d&&d(e)},ownerState:m},h,{children:[o,(0,_.jsx)(At,{className:g.label,ownerState:m,children:i})]}))})),St=n(9359),kt=n(33571),Ct=n(39599),Tt=n(82858);const Mt=["className","component"];var Pt=n(79071),Ot=n(32614),Et=n(58312);var Dt=(0,b.A)("MuiBox",["root"]);const Rt=(0,Ot.A)(),It=function(e={}){const{themeId:t,defaultTheme:n,defaultClassName:r="MuiBox-root",generateClassName:o}=e,i=(0,St.default)("div",{shouldForwardProp:e=>"theme"!==e&&"sx"!==e&&"as"!==e})(kt.A);return l.forwardRef((function(e,l){const u=(0,Tt.A)(n),d=(0,Ct.A)(e),{className:p,component:f="div"}=d,h=(0,s.A)(d,Mt);return(0,_.jsx)(i,(0,a.A)({as:f,ref:l,className:(0,c.A)(p,o?o(r):r),theme:t&&u[t]||u},h))}))}({themeId:Et.A,defaultTheme:Rt,defaultClassName:Dt.root,generateClassName:Pt.A.generate});var Nt=It,Lt=(0,me.A)((0,_.jsx)("path",{d:"M6 10c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm12 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm-6 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"}),"MoreHoriz");const jt=["slots","slotProps"],$t=(0,d.Ay)(ne.A)((({theme:e})=>(0,a.A)({display:"flex",marginLeft:`calc(${e.spacing(1)} * 0.5)`,marginRight:`calc(${e.spacing(1)} * 0.5)`},"light"===e.palette.mode?{backgroundColor:e.palette.grey[100],color:e.palette.grey[700]}:{backgroundColor:e.palette.grey[700],color:e.palette.grey[100]},{borderRadius:2,"&:hover, &:focus":(0,a.A)({},"light"===e.palette.mode?{backgroundColor:e.palette.grey[200]}:{backgroundColor:e.palette.grey[600]}),"&:active":(0,a.A)({boxShadow:e.shadows[0]},"light"===e.palette.mode?{backgroundColor:(0,ue.tL)(e.palette.grey[200],.12)}:{backgroundColor:(0,ue.tL)(e.palette.grey[600],.12)})}))),zt=(0,d.Ay)(Lt)({width:24,height:16});var Ft=function(e){const{slots:t={},slotProps:n={}}=e,r=(0,s.A)(e,jt),o=e;return(0,_.jsx)("li",{children:(0,_.jsx)($t,(0,a.A)({focusRipple:!0},r,{ownerState:o,children:(0,_.jsx)(zt,(0,a.A)({as:t.CollapsedIcon,ownerState:o},n.collapsedIcon))}))})};function Bt(e){return(0,x.Ay)("MuiBreadcrumbs",e)}var Ht=(0,b.A)("MuiBreadcrumbs",["root","ol","li","separator"]);const Vt=["children","className","component","slots","slotProps","expandText","itemsAfterCollapse","itemsBeforeCollapse","maxItems","separator"],Wt=(0,d.Ay)(Me.A,{name:"MuiBreadcrumbs",slot:"Root",overridesResolver:(e,t)=>[{[`& .${Ht.li}`]:t.li},t.root]})({}),Ut=(0,d.Ay)("ol",{name:"MuiBreadcrumbs",slot:"Ol",overridesResolver:(e,t)=>t.ol})({display:"flex",flexWrap:"wrap",alignItems:"center",padding:0,margin:0,listStyle:"none"}),qt=(0,d.Ay)("li",{name:"MuiBreadcrumbs",slot:"Separator",overridesResolver:(e,t)=>t.separator})({display:"flex",userSelect:"none",marginLeft:8,marginRight:8});function Gt(e,t,n,r){return e.reduce(((o,i,a)=>(a<e.length-1?o=o.concat(i,(0,_.jsx)(qt,{"aria-hidden":!0,className:t,ownerState:r,children:n},`separator-${a}`)):o.push(i),o)),[])}var Yt=l.forwardRef((function(e,t){const n=(0,p.b)({props:e,name:"MuiBreadcrumbs"}),{children:r,className:o,component:i="nav",slots:d={},slotProps:f={},expandText:h="Show path",itemsAfterCollapse:m=1,itemsBeforeCollapse:g=1,maxItems:v=8,separator:y="/"}=n,b=(0,s.A)(n,Vt),[x,w]=l.useState(!1),A=(0,a.A)({},n,{component:i,expanded:x,expandText:h,itemsAfterCollapse:m,itemsBeforeCollapse:g,maxItems:v,separator:y}),S=(e=>{const{classes:t}=e;return(0,u.A)({root:["root"],li:["li"],ol:["ol"],separator:["separator"]},Bt,t)})(A),k=(0,it.A)({elementType:d.CollapsedIcon,externalSlotProps:f.collapsedIcon,ownerState:A}),C=l.useRef(null),T=l.Children.toArray(r).filter((e=>l.isValidElement(e))).map(((e,t)=>(0,_.jsx)("li",{className:S.li,children:e},`child-${t}`)));return(0,_.jsx)(Wt,(0,a.A)({ref:t,component:i,color:"text.secondary",className:(0,c.A)(S.root,o),ownerState:A},b,{children:(0,_.jsx)(Ut,{className:S.ol,ref:C,ownerState:A,children:Gt(x||v&&T.length<=v?T:(e=>g+m>=e.length?e:[...e.slice(0,g),(0,_.jsx)(Ft,{"aria-label":h,slots:{CollapsedIcon:d.CollapsedIcon},slotProps:{collapsedIcon:k},onClick:()=>{w(!0);const e=C.current.querySelector("a[href],button,[tabindex]");e&&e.focus()}},"ellipsis"),...e.slice(e.length-m,e.length)])(T),S.separator,y,A)})}))})),Xt=n(51629),Kt=n(78729),Zt=n(89987),Jt=n(89161),Qt=n(30029);function en(e){return(0,x.Ay)("MuiButtonGroup",e)}var tn=(0,b.A)("MuiButtonGroup",["root","contained","outlined","text","disableElevation","disabled","firstButton","fullWidth","vertical","grouped","groupedHorizontal","groupedVertical","groupedText","groupedTextHorizontal","groupedTextVertical","groupedTextPrimary","groupedTextSecondary","groupedOutlined","groupedOutlinedHorizontal","groupedOutlinedVertical","groupedOutlinedPrimary","groupedOutlinedSecondary","groupedContained","groupedContainedHorizontal","groupedContainedVertical","groupedContainedPrimary","groupedContainedSecondary","lastButton","middleButton"]),nn=n(41848),rn=n(35132);const on=["children","className","color","component","disabled","disableElevation","disableFocusRipple","disableRipple","fullWidth","orientation","size","variant"],an=(0,d.Ay)("div",{name:"MuiButtonGroup",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${tn.grouped}`]:t.grouped},{[`& .${tn.grouped}`]:t[`grouped${(0,de.A)(n.orientation)}`]},{[`& .${tn.grouped}`]:t[`grouped${(0,de.A)(n.variant)}`]},{[`& .${tn.grouped}`]:t[`grouped${(0,de.A)(n.variant)}${(0,de.A)(n.orientation)}`]},{[`& .${tn.grouped}`]:t[`grouped${(0,de.A)(n.variant)}${(0,de.A)(n.color)}`]},{[`& .${tn.firstButton}`]:t.firstButton},{[`& .${tn.lastButton}`]:t.lastButton},{[`& .${tn.middleButton}`]:t.middleButton},t.root,t[n.variant],!0===n.disableElevation&&t.disableElevation,n.fullWidth&&t.fullWidth,"vertical"===n.orientation&&t.vertical]}})((({theme:e,ownerState:t})=>(0,a.A)({display:"inline-flex",borderRadius:(e.vars||e).shape.borderRadius},"contained"===t.variant&&{boxShadow:(e.vars||e).shadows[2]},t.disableElevation&&{boxShadow:"none"},t.fullWidth&&{width:"100%"},"vertical"===t.orientation&&{flexDirection:"column"},{[`& .${tn.grouped}`]:(0,a.A)({minWidth:40,"&:hover":(0,a.A)({},"contained"===t.variant&&{boxShadow:"none"})},"contained"===t.variant&&{boxShadow:"none"}),[`& .${tn.firstButton},& .${tn.middleButton}`]:(0,a.A)({},"horizontal"===t.orientation&&{borderTopRightRadius:0,borderBottomRightRadius:0},"vertical"===t.orientation&&{borderBottomRightRadius:0,borderBottomLeftRadius:0},"text"===t.variant&&"horizontal"===t.orientation&&{borderRight:e.vars?`1px solid rgba(${e.vars.palette.common.onBackgroundChannel} / 0.23)`:"1px solid "+("light"===e.palette.mode?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)"),[`&.${tn.disabled}`]:{borderRight:`1px solid ${(e.vars||e).palette.action.disabled}`}},"text"===t.variant&&"vertical"===t.orientation&&{borderBottom:e.vars?`1px solid rgba(${e.vars.palette.common.onBackgroundChannel} / 0.23)`:"1px solid "+("light"===e.palette.mode?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)"),[`&.${tn.disabled}`]:{borderBottom:`1px solid ${(e.vars||e).palette.action.disabled}`}},"text"===t.variant&&"inherit"!==t.color&&{borderColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / 0.5)`:(0,ue.X4)(e.palette[t.color].main,.5)},"outlined"===t.variant&&"horizontal"===t.orientation&&{borderRightColor:"transparent"},"outlined"===t.variant&&"vertical"===t.orientation&&{borderBottomColor:"transparent"},"contained"===t.variant&&"horizontal"===t.orientation&&{borderRight:`1px solid ${(e.vars||e).palette.grey[400]}`,[`&.${tn.disabled}`]:{borderRight:`1px solid ${(e.vars||e).palette.action.disabled}`}},"contained"===t.variant&&"vertical"===t.orientation&&{borderBottom:`1px solid ${(e.vars||e).palette.grey[400]}`,[`&.${tn.disabled}`]:{borderBottom:`1px solid ${(e.vars||e).palette.action.disabled}`}},"contained"===t.variant&&"inherit"!==t.color&&{borderColor:(e.vars||e).palette[t.color].dark},{"&:hover":(0,a.A)({},"outlined"===t.variant&&"horizontal"===t.orientation&&{borderRightColor:"currentColor"},"outlined"===t.variant&&"vertical"===t.orientation&&{borderBottomColor:"currentColor"})}),[`& .${tn.lastButton},& .${tn.middleButton}`]:(0,a.A)({},"horizontal"===t.orientation&&{borderTopLeftRadius:0,borderBottomLeftRadius:0},"vertical"===t.orientation&&{borderTopRightRadius:0,borderTopLeftRadius:0},"outlined"===t.variant&&"horizontal"===t.orientation&&{marginLeft:-1},"outlined"===t.variant&&"vertical"===t.orientation&&{marginTop:-1})})));var sn=l.forwardRef((function(e,t){const n=(0,p.b)({props:e,name:"MuiButtonGroup"}),{children:r,className:o,color:i="primary",component:d="div",disabled:f=!1,disableElevation:h=!1,disableFocusRipple:m=!1,disableRipple:g=!1,fullWidth:v=!1,orientation:y="horizontal",size:b="medium",variant:x="outlined"}=n,w=(0,s.A)(n,on),A=(0,a.A)({},n,{color:i,component:d,disabled:f,disableElevation:h,disableFocusRipple:m,disableRipple:g,fullWidth:v,orientation:y,size:b,variant:x}),S=(e=>{const{classes:t,color:n,disabled:r,disableElevation:o,fullWidth:i,orientation:a,variant:s}=e,l={root:["root",s,"vertical"===a&&"vertical",i&&"fullWidth",o&&"disableElevation"],grouped:["grouped",`grouped${(0,de.A)(a)}`,`grouped${(0,de.A)(s)}`,`grouped${(0,de.A)(s)}${(0,de.A)(a)}`,`grouped${(0,de.A)(s)}${(0,de.A)(n)}`,r&&"disabled"],firstButton:["firstButton"],lastButton:["lastButton"],middleButton:["middleButton"]};return(0,u.A)(l,en,t)})(A),k=l.useMemo((()=>({className:S.grouped,color:i,disabled:f,disableElevation:h,disableFocusRipple:m,disableRipple:g,fullWidth:v,size:b,variant:x})),[i,f,h,m,g,v,b,x,S.grouped]),C=(0,Qt.A)(r),T=C.length,M=e=>{const t=0===e,n=e===T-1;return t&&n?"":t?S.firstButton:n?S.lastButton:S.middleButton};return(0,_.jsx)(an,(0,a.A)({as:d,role:"group",className:(0,c.A)(S.root,o),ref:t,ownerState:A},w,{children:(0,_.jsx)(nn.A.Provider,{value:k,children:C.map(((e,t)=>(0,_.jsx)(rn.A.Provider,{value:M(t),children:e},t)))})}))}));function ln(e){return(0,x.Ay)("MuiCard",e)}var cn=(0,b.A)("MuiCard",["root"]);const un=["className","raised"],dn=(0,d.Ay)(O.A,{name:"MuiCard",slot:"Root",overridesResolver:(e,t)=>t.root})((()=>({overflow:"hidden"})));var pn=l.forwardRef((function(e,t){const n=(0,p.b)({props:e,name:"MuiCard"}),{className:r,raised:o=!1}=n,i=(0,s.A)(n,un),l=(0,a.A)({},n,{raised:o}),d=(e=>{const{classes:t}=e;return(0,u.A)({root:["root"]},ln,t)})(l);return(0,_.jsx)(dn,(0,a.A)({className:(0,c.A)(d.root,r),elevation:o?8:void 0,ref:t,ownerState:l},i))}));function fn(e){return(0,x.Ay)("MuiCardActionArea",e)}var hn=(0,b.A)("MuiCardActionArea",["root","focusVisible","focusHighlight"]);const mn=["children","className","focusVisibleClassName"],gn=(0,d.Ay)(ne.A,{name:"MuiCardActionArea",slot:"Root",overridesResolver:(e,t)=>t.root})((({theme:e})=>({display:"block",textAlign:"inherit",borderRadius:"inherit",width:"100%",[`&:hover .${hn.focusHighlight}`]:{opacity:(e.vars||e).palette.action.hoverOpacity,"@media (hover: none)":{opacity:0}},[`&.${hn.focusVisible} .${hn.focusHighlight}`]:{opacity:(e.vars||e).palette.action.focusOpacity}}))),vn=(0,d.Ay)("span",{name:"MuiCardActionArea",slot:"FocusHighlight",overridesResolver:(e,t)=>t.focusHighlight})((({theme:e})=>({overflow:"hidden",pointerEvents:"none",position:"absolute",top:0,right:0,bottom:0,left:0,borderRadius:"inherit",opacity:0,backgroundColor:"currentcolor",transition:e.transitions.create("opacity",{duration:e.transitions.duration.short})})));var yn=l.forwardRef((function(e,t){const n=(0,p.b)({props:e,name:"MuiCardActionArea"}),{children:r,className:o,focusVisibleClassName:i}=n,l=(0,s.A)(n,mn),d=n,f=(e=>{const{classes:t}=e;return(0,u.A)({root:["root"],focusHighlight:["focusHighlight"]},fn,t)})(d);return(0,_.jsxs)(gn,(0,a.A)({className:(0,c.A)(f.root,o),focusVisibleClassName:(0,c.A)(i,f.focusVisible),ref:t,ownerState:d},l,{children:[r,(0,_.jsx)(vn,{className:f.focusHighlight,ownerState:d})]}))}));function bn(e){return(0,x.Ay)("MuiCardActions",e)}var xn=(0,b.A)("MuiCardActions",["root","spacing"]);const wn=["disableSpacing","className"],An=(0,d.Ay)("div",{name:"MuiCardActions",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.disableSpacing&&t.spacing]}})((({ownerState:e})=>(0,a.A)({display:"flex",alignItems:"center",padding:8},!e.disableSpacing&&{"& > :not(style) ~ :not(style)":{marginLeft:8}})));var _n=l.forwardRef((function(e,t){const n=(0,p.b)({props:e,name:"MuiCardActions"}),{disableSpacing:r=!1,className:o}=n,i=(0,s.A)(n,wn),l=(0,a.A)({},n,{disableSpacing:r}),d=(e=>{const{classes:t,disableSpacing:n}=e,r={root:["root",!n&&"spacing"]};return(0,u.A)(r,bn,t)})(l);return(0,_.jsx)(An,(0,a.A)({className:(0,c.A)(d.root,o),ownerState:l,ref:t},i))}));function Sn(e){return(0,x.Ay)("MuiCardContent",e)}var kn=(0,b.A)("MuiCardContent",["root"]);const Cn=["className","component"],Tn=(0,d.Ay)("div",{name:"MuiCardContent",slot:"Root",overridesResolver:(e,t)=>t.root})((()=>({padding:16,"&:last-child":{paddingBottom:24}})));var Mn=l.forwardRef((function(e,t){const n=(0,p.b)({props:e,name:"MuiCardContent"}),{className:r,component:o="div"}=n,i=(0,s.A)(n,Cn),l=(0,a.A)({},n,{component:o}),d=(e=>{const{classes:t}=e;return(0,u.A)({root:["root"]},Sn,t)})(l);return(0,_.jsx)(Tn,(0,a.A)({as:o,className:(0,c.A)(d.root,r),ownerState:l,ref:t},i))}));function Pn(e){return(0,x.Ay)("MuiCardHeader",e)}var On=(0,b.A)("MuiCardHeader",["root","avatar","action","content","title","subheader"]);const En=["action","avatar","className","component","disableTypography","subheader","subheaderTypographyProps","title","titleTypographyProps"],Dn=(0,d.Ay)("div",{name:"MuiCardHeader",slot:"Root",overridesResolver:(e,t)=>(0,a.A)({[`& .${On.title}`]:t.title,[`& .${On.subheader}`]:t.subheader},t.root)})({display:"flex",alignItems:"center",padding:16}),Rn=(0,d.Ay)("div",{name:"MuiCardHeader",slot:"Avatar",overridesResolver:(e,t)=>t.avatar})({display:"flex",flex:"0 0 auto",marginRight:16}),In=(0,d.Ay)("div",{name:"MuiCardHeader",slot:"Action",overridesResolver:(e,t)=>t.action})({flex:"0 0 auto",alignSelf:"flex-start",marginTop:-4,marginRight:-8,marginBottom:-4}),Nn=(0,d.Ay)("div",{name:"MuiCardHeader",slot:"Content",overridesResolver:(e,t)=>t.content})({flex:"1 1 auto"});var Ln=l.forwardRef((function(e,t){const n=(0,p.b)({props:e,name:"MuiCardHeader"}),{action:r,avatar:o,className:i,component:l="div",disableTypography:d=!1,subheader:f,subheaderTypographyProps:h,title:m,titleTypographyProps:g}=n,v=(0,s.A)(n,En),y=(0,a.A)({},n,{component:l,disableTypography:d}),b=(e=>{const{classes:t}=e;return(0,u.A)({root:["root"],avatar:["avatar"],action:["action"],content:["content"],title:["title"],subheader:["subheader"]},Pn,t)})(y);let x=m;null==x||x.type===Me.A||d||(x=(0,_.jsx)(Me.A,(0,a.A)({variant:o?"body2":"h5",className:b.title,component:"span",display:"block"},g,{children:x})));let w=f;return null==w||w.type===Me.A||d||(w=(0,_.jsx)(Me.A,(0,a.A)({variant:o?"body2":"body1",className:b.subheader,color:"text.secondary",component:"span",display:"block"},h,{children:w}))),(0,_.jsxs)(Dn,(0,a.A)({className:(0,c.A)(b.root,i),as:l,ref:t,ownerState:y},v,{children:[o&&(0,_.jsx)(Rn,{className:b.avatar,ownerState:y,children:o}),(0,_.jsxs)(Nn,{className:b.content,ownerState:y,children:[x,w]}),r&&(0,_.jsx)(In,{className:b.action,ownerState:y,children:r})]}))}));function jn(e){return(0,x.Ay)("MuiCardMedia",e)}var $n=(0,b.A)("MuiCardMedia",["root","media","img"]);const zn=["children","className","component","image","src","style"],Fn=(0,d.Ay)("div",{name:"MuiCardMedia",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e,{isMediaComponent:r,isImageComponent:o}=n;return[t.root,r&&t.media,o&&t.img]}})((({ownerState:e})=>(0,a.A)({display:"block",backgroundSize:"cover",backgroundRepeat:"no-repeat",backgroundPosition:"center"},e.isMediaComponent&&{width:"100%"},e.isImageComponent&&{objectFit:"cover"}))),Bn=["video","audio","picture","iframe","img"],Hn=["picture","img"],Vn=l.forwardRef((function(e,t){const n=(0,p.b)({props:e,name:"MuiCardMedia"}),{children:r,className:o,component:i="div",image:l,src:d,style:f}=n,h=(0,s.A)(n,zn),m=-1!==Bn.indexOf(i),g=!m&&l?(0,a.A)({backgroundImage:`url("${l}")`},f):f,v=(0,a.A)({},n,{component:i,isMediaComponent:m,isImageComponent:-1!==Hn.indexOf(i)}),y=(e=>{const{classes:t,isMediaComponent:n,isImageComponent:r}=e,o={root:["root",n&&"media",r&&"img"]};return(0,u.A)(o,jn,t)})(v);return(0,_.jsx)(Fn,(0,a.A)({className:(0,c.A)(y.root,o),as:i,role:!m&&l?"img":void 0,ref:t,style:g,ownerState:v,src:m?l||d:void 0},h,{children:r}))}));var Wn=Vn,Un=n(55860),qn=(0,me.A)((0,_.jsx)("path",{d:"M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"}),"CheckBoxOutlineBlank"),Gn=(0,me.A)((0,_.jsx)("path",{d:"M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-9 14l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"}),"CheckBox"),Yn=(0,me.A)((0,_.jsx)("path",{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-2 10H7v-2h10v2z"}),"IndeterminateCheckBox"),Xn=n(39770);function Kn(e){return(0,x.Ay)("MuiCheckbox",e)}var Zn=(0,b.A)("MuiCheckbox",["root","checked","disabled","indeterminate","colorPrimary","colorSecondary","sizeSmall","sizeMedium"]);const Jn=["checkedIcon","color","icon","indeterminate","indeterminateIcon","inputProps","size","className"],Qn=(0,d.Ay)(Un.A,{shouldForwardProp:e=>(0,Xn.A)(e)||"classes"===e,name:"MuiCheckbox",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.indeterminate&&t.indeterminate,t[`size${(0,de.A)(n.size)}`],"default"!==n.color&&t[`color${(0,de.A)(n.color)}`]]}})((({theme:e,ownerState:t})=>(0,a.A)({color:(e.vars||e).palette.text.secondary},!t.disableRipple&&{"&:hover":{backgroundColor:e.vars?`rgba(${"default"===t.color?e.vars.palette.action.activeChannel:e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,ue.X4)("default"===t.color?e.palette.action.active:e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"default"!==t.color&&{[`&.${Zn.checked}, &.${Zn.indeterminate}`]:{color:(e.vars||e).palette[t.color].main},[`&.${Zn.disabled}`]:{color:(e.vars||e).palette.action.disabled}}))),er=(0,_.jsx)(Gn,{}),tr=(0,_.jsx)(qn,{}),nr=(0,_.jsx)(Yn,{});var rr=l.forwardRef((function(e,t){var n,r;const o=(0,p.b)({props:e,name:"MuiCheckbox"}),{checkedIcon:i=er,color:d="primary",icon:f=tr,indeterminate:h=!1,indeterminateIcon:m=nr,inputProps:g,size:v="medium",className:y}=o,b=(0,s.A)(o,Jn),x=h?m:f,w=h?m:i,A=(0,a.A)({},o,{color:d,indeterminate:h,size:v}),S=(e=>{const{classes:t,indeterminate:n,color:r,size:o}=e,i={root:["root",n&&"indeterminate",`color${(0,de.A)(r)}`,`size${(0,de.A)(o)}`]},s=(0,u.A)(i,Kn,t);return(0,a.A)({},t,s)})(A);return(0,_.jsx)(Qn,(0,a.A)({type:"checkbox",inputProps:(0,a.A)({"data-indeterminate":h},g),icon:l.cloneElement(x,{fontSize:null!=(n=x.props.fontSize)?n:v}),checkedIcon:l.cloneElement(w,{fontSize:null!=(r=w.props.fontSize)?r:v}),ownerState:A,ref:t,className:(0,c.A)(S.root,y)},b,{classes:S}))})),or=n(69554),ir=n(83325),ar=n(17437);function sr(e){return(0,x.Ay)("MuiCircularProgress",e)}var lr=(0,b.A)("MuiCircularProgress",["root","determinate","indeterminate","colorPrimary","colorSecondary","svg","circle","circleDeterminate","circleIndeterminate","circleDisableShrink"]);const cr=["className","color","disableShrink","size","style","thickness","value","variant"];let ur,dr,pr,fr,hr=e=>e;const mr=44,gr=(0,ar.i7)(ur||(ur=hr` 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } `)),vr=(0,ar.i7)(dr||(dr=hr` 0% { stroke-dasharray: 1px, 200px; stroke-dashoffset: 0; } 50% { stroke-dasharray: 100px, 200px; stroke-dashoffset: -15px; } 100% { stroke-dasharray: 100px, 200px; stroke-dashoffset: -125px; } `)),yr=(0,d.Ay)("span",{name:"MuiCircularProgress",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`color${(0,de.A)(n.color)}`]]}})((({ownerState:e,theme:t})=>(0,a.A)({display:"inline-block"},"determinate"===e.variant&&{transition:t.transitions.create("transform")},"inherit"!==e.color&&{color:(t.vars||t).palette[e.color].main})),(({ownerState:e})=>"indeterminate"===e.variant&&(0,ar.AH)(pr||(pr=hr` animation: ${0} 1.4s linear infinite; `),gr))),br=(0,d.Ay)("svg",{name:"MuiCircularProgress",slot:"Svg",overridesResolver:(e,t)=>t.svg})({display:"block"}),xr=(0,d.Ay)("circle",{name:"MuiCircularProgress",slot:"Circle",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.circle,t[`circle${(0,de.A)(n.variant)}`],n.disableShrink&&t.circleDisableShrink]}})((({ownerState:e,theme:t})=>(0,a.A)({stroke:"currentColor"},"determinate"===e.variant&&{transition:t.transitions.create("stroke-dashoffset")},"indeterminate"===e.variant&&{strokeDasharray:"80px, 200px",strokeDashoffset:0})),(({ownerState:e})=>"indeterminate"===e.variant&&!e.disableShrink&&(0,ar.AH)(fr||(fr=hr` animation: ${0} 1.4s ease-in-out infinite; `),vr))),wr=l.forwardRef((function(e,t){const n=(0,p.b)({props:e,name:"MuiCircularProgress"}),{className:r,color:o="primary",disableShrink:i=!1,size:l=40,style:d,thickness:f=3.6,value:h=0,variant:m="indeterminate"}=n,g=(0,s.A)(n,cr),v=(0,a.A)({},n,{color:o,disableShrink:i,size:l,thickness:f,value:h,variant:m}),y=(e=>{const{classes:t,variant:n,color:r,disableShrink:o}=e,i={root:["root",n,`color${(0,de.A)(r)}`],svg:["svg"],circle:["circle",`circle${(0,de.A)(n)}`,o&&"circleDisableShrink"]};return(0,u.A)(i,sr,t)})(v),b={},x={},w={};if("determinate"===m){const e=2*Math.PI*((mr-f)/2);b.strokeDasharray=e.toFixed(3),w["aria-valuenow"]=Math.round(h),b.strokeDashoffset=`${((100-h)/100*e).toFixed(3)}px`,x.transform="rotate(-90deg)"}return(0,_.jsx)(yr,(0,a.A)({className:(0,c.A)(y.root,r),style:(0,a.A)({width:l,height:l},x,d),ownerState:v,ref:t,role:"progressbar"},w,g,{children:(0,_.jsx)(br,{className:y.svg,ownerState:v,viewBox:"22 22 44 44",children:(0,_.jsx)(xr,{className:y.circle,style:b,ownerState:v,cx:mr,cy:mr,r:(mr-f)/2,fill:"none",strokeWidth:f})})}))}));var Ar=wr,_r=n(93928),Sr=n(32325);function kr(e){return e.substring(2).toLowerCase()}function Cr(e){const{children:t,disableReactTree:n=!1,mouseEvent:r="onClick",onClickAway:o,touchEvent:i="onTouchEnd"}=e,a=l.useRef(!1),s=l.useRef(null),c=l.useRef(!1),u=l.useRef(!1);l.useEffect((()=>(setTimeout((()=>{c.current=!0}),0),()=>{c.current=!1})),[]);const d=(0,R.A)(t.ref,s),p=(0,_r.A)((e=>{const t=u.current;u.current=!1;const r=(0,Sr.A)(s.current);if(!c.current||!s.current||"clientX"in e&&function(e,t){return t.documentElement.clientWidth<e.clientX||t.documentElement.clientHeight<e.clientY}(e,r))return;if(a.current)return void(a.current=!1);let i;i=e.composedPath?e.composedPath().indexOf(s.current)>-1:!r.documentElement.contains(e.target)||s.current.contains(e.target),i||!n&&t||o(e)})),f=e=>n=>{u.current=!0;const r=t.props[e];r&&r(n)},h={ref:d};return!1!==i&&(h[i]=f(i)),l.useEffect((()=>{if(!1!==i){const e=kr(i),t=(0,Sr.A)(s.current),n=()=>{a.current=!0};return t.addEventListener(e,p),t.addEventListener("touchmove",n),()=>{t.removeEventListener(e,p),t.removeEventListener("touchmove",n)}}}),[p,i]),!1!==r&&(h[r]=f(r)),l.useEffect((()=>{if(!1!==r){const e=kr(r),t=(0,Sr.A)(s.current);return t.addEventListener(e,p),()=>{t.removeEventListener(e,p)}}}),[p,r]),(0,_.jsx)(l.Fragment,{children:l.cloneElement(t,h)})}var Tr=n(13967),Mr=n(44467),Pr=n(81825),Or=n(83791);const Er=["className","component","disableGutters","fixed","maxWidth","classes"],Dr=(0,Or.A)(),Rr=(0,Pr.A)("div",{name:"MuiContainer",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`maxWidth${(0,Tr.A)(String(n.maxWidth))}`],n.fixed&&t.fixed,n.disableGutters&&t.disableGutters]}}),Ir=e=>(0,Mr.A)({props:e,name:"MuiContainer",defaultTheme:Dr});const Nr=function(e={}){const{createStyledComponent:t=Rr,useThemeProps:n=Ir,componentName:r="MuiContainer"}=e,o=t((({theme:e,ownerState:t})=>(0,a.A)({width:"100%",marginLeft:"auto",boxSizing:"border-box",marginRight:"auto",display:"block"},!t.disableGutters&&{paddingLeft:e.spacing(2),paddingRight:e.spacing(2),[e.breakpoints.up("sm")]:{paddingLeft:e.spacing(3),paddingRight:e.spacing(3)}})),(({theme:e,ownerState:t})=>t.fixed&&Object.keys(e.breakpoints.values).reduce(((t,n)=>{const r=n,o=e.breakpoints.values[r];return 0!==o&&(t[e.breakpoints.up(r)]={maxWidth:`${o}${e.breakpoints.unit}`}),t}),{})),(({theme:e,ownerState:t})=>(0,a.A)({},"xs"===t.maxWidth&&{[e.breakpoints.up("xs")]:{maxWidth:Math.max(e.breakpoints.values.xs,444)}},t.maxWidth&&"xs"!==t.maxWidth&&{[e.breakpoints.up(t.maxWidth)]:{maxWidth:`${e.breakpoints.values[t.maxWidth]}${e.breakpoints.unit}`}}))),i=l.forwardRef((function(e,t){const i=n(e),{className:l,component:d="div",disableGutters:p=!1,fixed:f=!1,maxWidth:h="lg"}=i,m=(0,s.A)(i,Er),g=(0,a.A)({},i,{component:d,disableGutters:p,fixed:f,maxWidth:h}),v=((e,t)=>{const{classes:n,fixed:r,disableGutters:o,maxWidth:i}=e,a={root:["root",i&&`maxWidth${(0,Tr.A)(String(i))}`,r&&"fixed",o&&"disableGutters"]};return(0,u.A)(a,(e=>(0,x.Ay)(t,e)),n)})(g,r);return(0,_.jsx)(o,(0,a.A)({as:d,ownerState:g,className:(0,c.A)(v.root,l),ref:t},m))}));return i}({createStyledComponent:(0,d.Ay)("div",{name:"MuiContainer",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`maxWidth${(0,de.A)(String(n.maxWidth))}`],n.fixed&&t.fixed,n.disableGutters&&t.disableGutters]}}),useThemeProps:e=>(0,p.b)({props:e,name:"MuiContainer"})});var Lr=Nr;function jr(e){return(0,x.Ay)("MuiContainer",e)}var $r=(0,b.A)("MuiContainer",["root","disableGutters","fixed","maxWidthXs","maxWidthSm","maxWidthMd","maxWidthLg","maxWidthXl"]),zr=n(14519);const Fr={track:"#2b2b2b",thumb:"#6b6b6b",active:"#959595"};function Br(e=Fr){return{scrollbarColor:`${e.thumb} ${e.track}`,"&::-webkit-scrollbar, & *::-webkit-scrollbar":{backgroundColor:e.track},"&::-webkit-scrollbar-thumb, & *::-webkit-scrollbar-thumb":{borderRadius:8,backgroundColor:e.thumb,minHeight:24,border:`3px solid ${e.track}`},"&::-webkit-scrollbar-thumb:focus, & *::-webkit-scrollbar-thumb:focus":{backgroundColor:e.active},"&::-webkit-scrollbar-thumb:active, & *::-webkit-scrollbar-thumb:active":{backgroundColor:e.active},"&::-webkit-scrollbar-thumb:hover, & *::-webkit-scrollbar-thumb:hover":{backgroundColor:e.active},"&::-webkit-scrollbar-corner, & *::-webkit-scrollbar-corner":{backgroundColor:e.track}}}var Hr=n(77037),Vr=n(68997),Wr=n(37071),Ur=n(40923),qr=n(30799),Gr=n(69275);function Yr(e){return(0,x.Ay)("MuiDialogContentText",e)}var Xr=(0,b.A)("MuiDialogContentText",["root"]);const Kr=["children","className"],Zr=(0,d.Ay)(Me.A,{shouldForwardProp:e=>(0,Xn.A)(e)||"classes"===e,name:"MuiDialogContentText",slot:"Root",overridesResolver:(e,t)=>t.root})({});var Jr=l.forwardRef((function(e,t){const n=(0,p.b)({props:e,name:"MuiDialogContentText"}),{className:r}=n,o=(0,s.A)(n,Kr),i=(e=>{const{classes:t}=e,n=(0,u.A)({root:["root"]},Yr,t);return(0,a.A)({},t,n)})(o);return(0,_.jsx)(Zr,(0,a.A)({component:"p",variant:"body1",color:"text.secondary",ref:t,ownerState:o,className:(0,c.A)(i.root,r)},n,{classes:i}))})),Qr=n(61435),eo=n(28102);const to=["className","id"],no=(0,d.Ay)(Me.A,{name:"MuiDialogTitle",slot:"Root",overridesResolver:(e,t)=>t.root})({padding:"16px 24px",flex:"0 0 auto"});var ro=l.forwardRef((function(e,t){const n=(0,p.b)({props:e,name:"MuiDialogTitle"}),{className:r,id:o}=n,i=(0,s.A)(n,to),d=n,f=(e=>{const{classes:t}=e;return(0,u.A)({root:["root"]},Qr.t,t)})(d),{titleId:h=o}=l.useContext(eo.A);return(0,_.jsx)(no,(0,a.A)({component:"h2",className:(0,c.A)(f.root,r),ownerState:d,ref:t,variant:"h6",id:null!=o?o:h},i))})),oo=n(71543),io=n(11402),ao=n(71791),so=n(79960);function lo(e){return(0,x.Ay)("MuiFab",e)}var co=(0,b.A)("MuiFab",["root","primary","secondary","extended","circular","focusVisible","disabled","colorInherit","sizeSmall","sizeMedium","sizeLarge","info","error","warning","success"]);const uo=["children","className","color","component","disabled","disableFocusRipple","focusVisibleClassName","size","variant"],po=(0,d.Ay)(ne.A,{name:"MuiFab",slot:"Root",shouldForwardProp:e=>(0,Xn.A)(e)||"classes"===e,overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`size${(0,de.A)(n.size)}`],"inherit"===n.color&&t.colorInherit,t[(0,de.A)(n.size)],t[n.color]]}})((({theme:e,ownerState:t})=>{var n,r;return(0,a.A)({},e.typography.button,{minHeight:36,transition:e.transitions.create(["background-color","box-shadow","border-color"],{duration:e.transitions.duration.short}),borderRadius:"50%",padding:0,minWidth:0,width:56,height:56,zIndex:(e.vars||e).zIndex.fab,boxShadow:(e.vars||e).shadows[6],"&:active":{boxShadow:(e.vars||e).shadows[12]},color:e.vars?e.vars.palette.text.primary:null==(n=(r=e.palette).getContrastText)?void 0:n.call(r,e.palette.grey[300]),backgroundColor:(e.vars||e).palette.grey[300],"&:hover":{backgroundColor:(e.vars||e).palette.grey.A100,"@media (hover: none)":{backgroundColor:(e.vars||e).palette.grey[300]},textDecoration:"none"},[`&.${co.focusVisible}`]:{boxShadow:(e.vars||e).shadows[6]}},"small"===t.size&&{width:40,height:40},"medium"===t.size&&{width:48,height:48},"extended"===t.variant&&{borderRadius:24,padding:"0 16px",width:"auto",minHeight:"auto",minWidth:48,height:48},"extended"===t.variant&&"small"===t.size&&{width:"auto",padding:"0 8px",borderRadius:17,minWidth:34,height:34},"extended"===t.variant&&"medium"===t.size&&{width:"auto",padding:"0 16px",borderRadius:20,minWidth:40,height:40},"inherit"===t.color&&{color:"inherit"})}),(({theme:e,ownerState:t})=>(0,a.A)({},"inherit"!==t.color&&"default"!==t.color&&null!=(e.vars||e).palette[t.color]&&{color:(e.vars||e).palette[t.color].contrastText,backgroundColor:(e.vars||e).palette[t.color].main,"&:hover":{backgroundColor:(e.vars||e).palette[t.color].dark,"@media (hover: none)":{backgroundColor:(e.vars||e).palette[t.color].main}}})),(({theme:e})=>({[`&.${co.disabled}`]:{color:(e.vars||e).palette.action.disabled,boxShadow:(e.vars||e).shadows[0],backgroundColor:(e.vars||e).palette.action.disabledBackground}})));var fo=l.forwardRef((function(e,t){const n=(0,p.b)({props:e,name:"MuiFab"}),{children:r,className:o,color:i="default",component:l="button",disabled:d=!1,disableFocusRipple:f=!1,focusVisibleClassName:h,size:m="large",variant:g="circular"}=n,v=(0,s.A)(n,uo),y=(0,a.A)({},n,{color:i,component:l,disabled:d,disableFocusRipple:f,size:m,variant:g}),b=(e=>{const{color:t,variant:n,classes:r,size:o}=e,i={root:["root",n,`size${(0,de.A)(o)}`,"inherit"===t?"colorInherit":t]},s=(0,u.A)(i,lo,r);return(0,a.A)({},r,s)})(y);return(0,_.jsx)(po,(0,a.A)({className:(0,c.A)(b.root,o),component:l,disabled:d,focusRipple:!f,focusVisibleClassName:(0,c.A)(b.focusVisible,h),ownerState:y,ref:t},v,{classes:b,children:r}))})),ho=n(20973),mo=n(21915),go=n(6959),vo=n(45359),yo=n(79716),bo=n(52187),xo=n(1775),wo=n(71802),Ao=n(22079),_o=n(29010),So=n(80607),ko=n(92715),Co=n(69307),To=n(8892),Mo=n(89452);var Po=l.createContext();function Oo(e){return(0,x.Ay)("MuiGrid",e)}const Eo=["auto",!0,1,2,3,4,5,6,7,8,9,10,11,12];var Do=(0,b.A)("MuiGrid",["root","container","item","zeroMinWidth",...[0,1,2,3,4,5,6,7,8,9,10].map((e=>`spacing-xs-${e}`)),...["column-reverse","column","row-reverse","row"].map((e=>`direction-xs-${e}`)),...["nowrap","wrap-reverse","wrap"].map((e=>`wrap-xs-${e}`)),...Eo.map((e=>`grid-xs-${e}`)),...Eo.map((e=>`grid-sm-${e}`)),...Eo.map((e=>`grid-md-${e}`)),...Eo.map((e=>`grid-lg-${e}`)),...Eo.map((e=>`grid-xl-${e}`))]);const Ro=["className","columns","columnSpacing","component","container","direction","item","rowSpacing","spacing","wrap","zeroMinWidth"];function Io(e){const t=parseFloat(e);return`${t}${String(e).replace(String(t),"")||"px"}`}function No({breakpoints:e,values:t}){let n="";Object.keys(t).forEach((e=>{""===n&&0!==t[e]&&(n=e)}));const r=Object.keys(e).sort(((t,n)=>e[t]-e[n]));return r.slice(0,r.indexOf(n))}const Lo=(0,d.Ay)("div",{name:"MuiGrid",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e,{container:r,direction:o,item:i,spacing:a,wrap:s,zeroMinWidth:l,breakpoints:c}=n;let u=[];r&&(u=function(e,t,n={}){if(!e||e<=0)return[];if("string"==typeof e&&!Number.isNaN(Number(e))||"number"==typeof e)return[n[`spacing-xs-${String(e)}`]];const r=[];return t.forEach((t=>{const o=e[t];Number(o)>0&&r.push(n[`spacing-${t}-${String(o)}`])})),r}(a,c,t));const d=[];return c.forEach((e=>{const r=n[e];r&&d.push(t[`grid-${e}-${String(r)}`])})),[t.root,r&&t.container,i&&t.item,l&&t.zeroMinWidth,...u,"row"!==o&&t[`direction-xs-${String(o)}`],"wrap"!==s&&t[`wrap-xs-${String(s)}`],...d]}})((({ownerState:e})=>(0,a.A)({boxSizing:"border-box"},e.container&&{display:"flex",flexWrap:"wrap",width:"100%"},e.item&&{margin:0},e.zeroMinWidth&&{minWidth:0},"wrap"!==e.wrap&&{flexWrap:e.wrap})),(function({theme:e,ownerState:t}){const n=(0,Mo.kW)({values:t.direction,breakpoints:e.breakpoints.values});return(0,Mo.NI)({theme:e},n,(e=>{const t={flexDirection:e};return 0===e.indexOf("column")&&(t[`& > .${Do.item}`]={maxWidth:"none"}),t}))}),(function({theme:e,ownerState:t}){const{container:n,rowSpacing:r}=t;let o={};if(n&&0!==r){const t=(0,Mo.kW)({values:r,breakpoints:e.breakpoints.values});let n;"object"==typeof t&&(n=No({breakpoints:e.breakpoints.values,values:t})),o=(0,Mo.NI)({theme:e},t,((t,r)=>{var o;const i=e.spacing(t);return"0px"!==i?{marginTop:`-${Io(i)}`,[`& > .${Do.item}`]:{paddingTop:Io(i)}}:null!=(o=n)&&o.includes(r)?{}:{marginTop:0,[`& > .${Do.item}`]:{paddingTop:0}}}))}return o}),(function({theme:e,ownerState:t}){const{container:n,columnSpacing:r}=t;let o={};if(n&&0!==r){const t=(0,Mo.kW)({values:r,breakpoints:e.breakpoints.values});let n;"object"==typeof t&&(n=No({breakpoints:e.breakpoints.values,values:t})),o=(0,Mo.NI)({theme:e},t,((t,r)=>{var o;const i=e.spacing(t);return"0px"!==i?{width:`calc(100% + ${Io(i)})`,marginLeft:`-${Io(i)}`,[`& > .${Do.item}`]:{paddingLeft:Io(i)}}:null!=(o=n)&&o.includes(r)?{}:{width:"100%",marginLeft:0,[`& > .${Do.item}`]:{paddingLeft:0}}}))}return o}),(function({theme:e,ownerState:t}){let n;return e.breakpoints.keys.reduce(((r,o)=>{let i={};if(t[o]&&(n=t[o]),!n)return r;if(!0===n)i={flexBasis:0,flexGrow:1,maxWidth:"100%"};else if("auto"===n)i={flexBasis:"auto",flexGrow:0,flexShrink:0,maxWidth:"none",width:"auto"};else{const s=(0,Mo.kW)({values:t.columns,breakpoints:e.breakpoints.values}),l="object"==typeof s?s[o]:s;if(null==l)return r;const c=Math.round(n/l*1e8)/1e6+"%";let u={};if(t.container&&t.item&&0!==t.columnSpacing){const n=e.spacing(t.columnSpacing);if("0px"!==n){const e=`calc(${c} + ${Io(n)})`;u={flexBasis:e,maxWidth:e}}}i=(0,a.A)({flexBasis:c,flexGrow:0,maxWidth:c},u)}return 0===e.breakpoints.values[o]?Object.assign(r,i):r[e.breakpoints.up(o)]=i,r}),{})}));const jo=e=>{const{classes:t,container:n,direction:r,item:o,spacing:i,wrap:a,zeroMinWidth:s,breakpoints:l}=e;let c=[];n&&(c=function(e,t){if(!e||e<=0)return[];if("string"==typeof e&&!Number.isNaN(Number(e))||"number"==typeof e)return[`spacing-xs-${String(e)}`];const n=[];return t.forEach((t=>{const r=e[t];if(Number(r)>0){const e=`spacing-${t}-${String(r)}`;n.push(e)}})),n}(i,l));const d=[];l.forEach((t=>{const n=e[t];n&&d.push(`grid-${t}-${String(n)}`)}));const p={root:["root",n&&"container",o&&"item",s&&"zeroMinWidth",...c,"row"!==r&&`direction-xs-${String(r)}`,"wrap"!==a&&`wrap-xs-${String(a)}`,...d]};return(0,u.A)(p,Oo,t)},$o=l.forwardRef((function(e,t){const n=(0,p.b)({props:e,name:"MuiGrid"}),{breakpoints:r}=(0,v.A)(),o=(0,Ct.A)(n),{className:i,columns:u,columnSpacing:d,component:f="div",container:h=!1,direction:m="row",item:g=!1,rowSpacing:y,spacing:b=0,wrap:x="wrap",zeroMinWidth:w=!1}=o,A=(0,s.A)(o,Ro),S=y||b,k=d||b,C=l.useContext(Po),T=h?u||12:C,M={},P=(0,a.A)({},A);r.keys.forEach((e=>{null!=A[e]&&(M[e]=A[e],delete P[e])}));const O=(0,a.A)({},o,{columns:T,container:h,direction:m,item:g,rowSpacing:S,columnSpacing:k,wrap:x,zeroMinWidth:w,spacing:b},M,{breakpoints:r.keys}),E=jo(O);return(0,_.jsx)(Po.Provider,{value:T,children:(0,_.jsx)(Lo,(0,a.A)({ownerState:O,className:(0,c.A)(E.root,i),as:f,ref:t},P))})}));var zo=$o,Fo=n(28473);const Bo=(e,t,n)=>{const r=e.keys[0];if(Array.isArray(t))t.forEach(((t,r)=>{n(((t,n)=>{r<=e.keys.length-1&&(0===r?Object.assign(t,n):t[e.up(e.keys[r])]=n)}),t)}));else if(t&&"object"==typeof t){(Object.keys(t).length>e.keys.length?e.keys:(o=e.keys,i=Object.keys(t),o.filter((e=>i.includes(e))))).forEach((o=>{if(-1!==e.keys.indexOf(o)){const i=t[o];void 0!==i&&n(((t,n)=>{r===o?Object.assign(t,n):t[e.up(o)]=n}),i)}}))}else"number"!=typeof t&&"string"!=typeof t||n(((e,t)=>{Object.assign(e,t)}),t);var o,i};function Ho(e){return e?`Level${e}`:""}function Vo(e){return e.unstable_level>0&&e.container}function Wo(e){return function(t){return`var(--Grid-${t}Spacing${Ho(e.unstable_level)})`}}function Uo(e){return function(t){return 0===e.unstable_level?`var(--Grid-${t}Spacing)`:`var(--Grid-${t}Spacing${Ho(e.unstable_level-1)})`}}function qo(e){return 0===e.unstable_level?"var(--Grid-columns)":`var(--Grid-columns${Ho(e.unstable_level-1)})`}const Go=({theme:e,ownerState:t})=>{const n=Wo(t),r={};return Bo(e.breakpoints,t.gridSize,((e,o)=>{let i={};!0===o&&(i={flexBasis:0,flexGrow:1,maxWidth:"100%"}),"auto"===o&&(i={flexBasis:"auto",flexGrow:0,flexShrink:0,maxWidth:"none",width:"auto"}),"number"==typeof o&&(i={flexGrow:0,flexBasis:"auto",width:`calc(100% * ${o} / ${qo(t)}${Vo(t)?` + ${n("column")}`:""})`}),e(r,i)})),r},Yo=({theme:e,ownerState:t})=>{const n={};return Bo(e.breakpoints,t.gridOffset,((e,r)=>{let o={};"auto"===r&&(o={marginLeft:"auto"}),"number"==typeof r&&(o={marginLeft:0===r?"0px":`calc(100% * ${r} / ${qo(t)})`}),e(n,o)})),n},Xo=({theme:e,ownerState:t})=>{if(!t.container)return{};const n=Vo(t)?{[`--Grid-columns${Ho(t.unstable_level)}`]:qo(t)}:{"--Grid-columns":12};return Bo(e.breakpoints,t.columns,((e,r)=>{e(n,{[`--Grid-columns${Ho(t.unstable_level)}`]:r})})),n},Ko=({theme:e,ownerState:t})=>{if(!t.container)return{};const n=Uo(t),r=Vo(t)?{[`--Grid-rowSpacing${Ho(t.unstable_level)}`]:n("row")}:{};return Bo(e.breakpoints,t.rowSpacing,((n,o)=>{var i;n(r,{[`--Grid-rowSpacing${Ho(t.unstable_level)}`]:"string"==typeof o?o:null==(i=e.spacing)?void 0:i.call(e,o)})})),r},Zo=({theme:e,ownerState:t})=>{if(!t.container)return{};const n=Uo(t),r=Vo(t)?{[`--Grid-columnSpacing${Ho(t.unstable_level)}`]:n("column")}:{};return Bo(e.breakpoints,t.columnSpacing,((n,o)=>{var i;n(r,{[`--Grid-columnSpacing${Ho(t.unstable_level)}`]:"string"==typeof o?o:null==(i=e.spacing)?void 0:i.call(e,o)})})),r},Jo=({theme:e,ownerState:t})=>{if(!t.container)return{};const n={};return Bo(e.breakpoints,t.direction,((e,t)=>{e(n,{flexDirection:t})})),n},Qo=({ownerState:e})=>{const t=Wo(e),n=Uo(e);return(0,a.A)({minWidth:0,boxSizing:"border-box"},e.container&&(0,a.A)({display:"flex",flexWrap:"wrap"},e.wrap&&"wrap"!==e.wrap&&{flexWrap:e.wrap},{margin:`calc(${t("row")} / -2) calc(${t("column")} / -2)`},e.disableEqualOverflow&&{margin:`calc(${t("row")} * -1) 0px 0px calc(${t("column")} * -1)`}),(!e.container||Vo(e))&&(0,a.A)({padding:`calc(${n("row")} / 2) calc(${n("column")} / 2)`},(e.disableEqualOverflow||e.parentDisableEqualOverflow)&&{padding:`${n("row")} 0px 0px ${n("column")}`}))},ei=e=>{const t=[];return Object.entries(e).forEach((([e,n])=>{!1!==n&&void 0!==n&&t.push(`grid-${e}-${String(n)}`)})),t},ti=(e,t="xs")=>{function n(e){return void 0!==e&&("string"==typeof e&&!Number.isNaN(Number(e))||"number"==typeof e&&e>0)}if(n(e))return[`spacing-${t}-${String(e)}`];if("object"==typeof e&&!Array.isArray(e)){const t=[];return Object.entries(e).forEach((([e,r])=>{n(r)&&t.push(`spacing-${e}-${String(r)}`)})),t}return[]},ni=e=>void 0===e?[]:"object"==typeof e?Object.entries(e).map((([e,t])=>`direction-${e}-${t}`)):[`direction-xs-${String(e)}`],ri=["className","children","columns","container","component","direction","wrap","spacing","rowSpacing","columnSpacing","disableEqualOverflow","unstable_level"],oi=(0,Or.A)(),ii=(0,Pr.A)("div",{name:"MuiGrid",slot:"Root",overridesResolver:(e,t)=>t.root});function ai(e){return(0,Mr.A)({props:e,name:"MuiGrid",defaultTheme:oi})}const si=function(e={}){const{createStyledComponent:t=ii,useThemeProps:n=ai,componentName:r="MuiGrid"}=e,o=l.createContext(void 0),i=t(Xo,Zo,Ko,Go,Jo,Qo,Yo),d=l.forwardRef((function(e,t){var d,p,f,h,m,g,v,y;const b=(0,Tt.A)(),w=n(e),A=(0,Ct.A)(w),S=l.useContext(o),{className:k,children:C,columns:T=12,container:M=!1,component:P="div",direction:O="row",wrap:E="wrap",spacing:D=0,rowSpacing:R=D,columnSpacing:I=D,disableEqualOverflow:N,unstable_level:L=0}=A,j=(0,s.A)(A,ri);let $=N;L&&void 0!==N&&($=e.disableEqualOverflow);const z={},F={},B={};Object.entries(j).forEach((([e,t])=>{void 0!==b.breakpoints.values[e]?z[e]=t:void 0!==b.breakpoints.values[e.replace("Offset","")]?F[e.replace("Offset","")]=t:B[e]=t}));const H=null!=(d=e.columns)?d:L?void 0:T,V=null!=(p=e.spacing)?p:L?void 0:D,W=null!=(f=null!=(h=e.rowSpacing)?h:e.spacing)?f:L?void 0:R,U=null!=(m=null!=(g=e.columnSpacing)?g:e.spacing)?m:L?void 0:I,q=(0,a.A)({},A,{level:L,columns:H,container:M,direction:O,wrap:E,spacing:V,rowSpacing:W,columnSpacing:U,gridSize:z,gridOffset:F,disableEqualOverflow:null!=(v=null!=(y=$)?y:S)&&v,parentDisableEqualOverflow:S}),G=((e,t)=>{const{container:n,direction:o,spacing:i,wrap:a,gridSize:s}=e,l={root:["root",n&&"container","wrap"!==a&&`wrap-xs-${String(a)}`,...ni(o),...ei(s),...n?ti(i,t.breakpoints.keys[0]):[]]};return(0,u.A)(l,(e=>(0,x.Ay)(r,e)),{})})(q,b);let Y=(0,_.jsx)(i,(0,a.A)({ref:t,as:P,ownerState:q,className:(0,c.A)(G.root,k)},B,{children:l.Children.map(C,(e=>{var t;return l.isValidElement(e)&&(0,Fo.A)(e,["Grid"])?l.cloneElement(e,{unstable_level:null!=(t=e.props.unstable_level)?t:L+1}):e}))}));return void 0!==$&&$!==(null!=S&&S)&&(Y=(0,_.jsx)(o.Provider,{value:$,children:Y})),Y}));return d.muiName="Grid",d}({createStyledComponent:(0,d.Ay)("div",{name:"MuiGrid2",slot:"Root",overridesResolver:(e,t)=>t.root}),componentName:"MuiGrid2",useThemeProps:e=>(0,p.b)({props:e,name:"MuiGrid2"})});var li=si;function ci(e){return(0,x.Ay)("MuiGrid2",e)}const ui=["auto",!0,1,2,3,4,5,6,7,8,9,10,11,12];var di=(0,b.A)("MuiGrid2",["root","container","item","zeroMinWidth",...[0,1,2,3,4,5,6,7,8,9,10].map((e=>`spacing-xs-${e}`)),...["column-reverse","column","row-reverse","row"].map((e=>`direction-xs-${e}`)),...["nowrap","wrap-reverse","wrap"].map((e=>`wrap-xs-${e}`)),...ui.map((e=>`grid-xs-${e}`)),...ui.map((e=>`grid-sm-${e}`)),...ui.map((e=>`grid-md-${e}`)),...ui.map((e=>`grid-lg-${e}`)),...ui.map((e=>`grid-xl-${e}`))]),pi=n(87467),fi=n(37340),hi=n(2778),mi=n(37708);const gi=["initialWidth","width"],vi=["xs","sm","md","lg","xl"],yi=(e,t,n=!0)=>n?vi.indexOf(e)<=vi.indexOf(t):vi.indexOf(e)<vi.indexOf(t),bi=(e,t,n=!1)=>n?vi.indexOf(t)<=vi.indexOf(e):vi.indexOf(t)<vi.indexOf(e);var xi=((e={})=>t=>{const{withTheme:n=!1,noSSR:r=!1,initialWidth:o}=e;return function(e){const i=(0,v.A)(),c=e.theme||i,u=(0,fi.A)({theme:c,name:"MuiWithWidth",props:e}),{initialWidth:d,width:p}=u,f=(0,s.A)(u,gi),[h,m]=l.useState(!1);(0,hi.A)((()=>{m(!0)}),[]);const g=c.breakpoints.keys.slice().reverse().reduce(((e,t)=>{const n=(0,mi.A)(c.breakpoints.up(t));return!e&&n?t:e}),null),y=(0,a.A)({width:p||(h||r?g:void 0)||d||o},n?{theme:c}:{},f);return void 0===y.width?null:(0,_.jsx)(t,(0,a.A)({},y))}})()((function(e){const{children:t,only:n,width:r}=e,o=(0,v.A)();let i=!0;if(n)if(Array.isArray(n))for(let e=0;e<n.length;e+=1){if(r===n[e]){i=!1;break}}else n&&r===n&&(i=!1);if(i)for(let t=0;t<o.breakpoints.keys.length;t+=1){const n=o.breakpoints.keys[t],a=e[`${n}Up`],s=e[`${n}Down`];if(a&&yi(n,r)||s&&bi(n,r)){i=!1;break}}return i?(0,_.jsx)(l.Fragment,{children:t}):null}));function wi(e){return(0,x.Ay)("PrivateHiddenCss",e)}(0,b.A)("PrivateHiddenCss",["root","xlDown","xlUp","onlyXl","lgDown","lgUp","onlyLg","mdDown","mdUp","onlyMd","smDown","smUp","onlySm","xsDown","xsUp","onlyXs"]);const Ai=["children","className","only"],_i=(0,d.Ay)("div",{name:"PrivateHiddenCss",slot:"Root"})((({theme:e,ownerState:t})=>{const n={display:"none"};return(0,a.A)({},t.breakpoints.map((({breakpoint:t,dir:r})=>"only"===r?{[e.breakpoints.only(t)]:n}:"up"===r?{[e.breakpoints.up(t)]:n}:{[e.breakpoints.down(t)]:n})).reduce(((e,t)=>(Object.keys(t).forEach((n=>{e[n]=t[n]})),e)),{}))}));var Si=function(e){const{children:t,className:n,only:r}=e,o=(0,s.A)(e,Ai),i=(0,v.A)(),l=[];for(let e=0;e<i.breakpoints.keys.length;e+=1){const t=i.breakpoints.keys[e],n=o[`${t}Up`],r=o[`${t}Down`];n&&l.push({breakpoint:t,dir:"up"}),r&&l.push({breakpoint:t,dir:"down"})}if(r){(Array.isArray(r)?r:[r]).forEach((e=>{l.push({breakpoint:e,dir:"only"})}))}const d=(0,a.A)({},e,{breakpoints:l}),p=(e=>{const{classes:t,breakpoints:n}=e,r={root:["root",...n.map((({breakpoint:e,dir:t})=>"only"===t?`${t}${(0,de.A)(e)}`:`${e}${(0,de.A)(t)}`))]};return(0,u.A)(r,wi,t)})(d);return(0,_.jsx)(_i,{className:(0,c.A)(p.root,n),ownerState:d,children:t})};const ki=["implementation","lgDown","lgUp","mdDown","mdUp","smDown","smUp","xlDown","xlUp","xsDown","xsUp"];var Ci=function(e){const{implementation:t="js",lgDown:n=!1,lgUp:r=!1,mdDown:o=!1,mdUp:i=!1,smDown:l=!1,smUp:c=!1,xlDown:u=!1,xlUp:d=!1,xsDown:p=!1,xsUp:f=!1}=e,h=(0,s.A)(e,ki);return"js"===t?(0,_.jsx)(xi,(0,a.A)({lgDown:n,lgUp:r,mdDown:o,mdUp:i,smDown:l,smUp:c,xlDown:u,xlUp:d,xsDown:p,xsUp:f},h)):(0,_.jsx)(Si,(0,a.A)({lgDown:n,lgUp:r,mdDown:o,mdUp:i,smDown:l,smUp:c,xlDown:u,xlUp:d,xsDown:p,xsUp:f},h))};function Ti(e){return(0,x.Ay)("MuiIcon",e)}var Mi=(0,b.A)("MuiIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const Pi=["baseClassName","className","color","component","fontSize"],Oi=(0,d.Ay)("span",{name:"MuiIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,"inherit"!==n.color&&t[`color${(0,de.A)(n.color)}`],t[`fontSize${(0,de.A)(n.fontSize)}`]]}})((({theme:e,ownerState:t})=>({userSelect:"none",width:"1em",height:"1em",overflow:"hidden",display:"inline-block",textAlign:"center",flexShrink:0,fontSize:{inherit:"inherit",small:e.typography.pxToRem(20),medium:e.typography.pxToRem(24),large:e.typography.pxToRem(36)}[t.fontSize],color:{primary:(e.vars||e).palette.primary.main,secondary:(e.vars||e).palette.secondary.main,info:(e.vars||e).palette.info.main,success:(e.vars||e).palette.success.main,warning:(e.vars||e).palette.warning.main,action:(e.vars||e).palette.action.active,error:(e.vars||e).palette.error.main,disabled:(e.vars||e).palette.action.disabled,inherit:void 0}[t.color]}))),Ei=l.forwardRef((function(e,t){const n=(0,p.b)({props:e,name:"MuiIcon"}),{baseClassName:r="material-icons",className:o,color:i="inherit",component:l="span",fontSize:d="medium"}=n,f=(0,s.A)(n,Pi),h=(0,a.A)({},n,{baseClassName:r,color:i,component:l,fontSize:d}),m=(e=>{const{color:t,fontSize:n,classes:r}=e,o={root:["root","inherit"!==t&&`color${(0,de.A)(t)}`,`fontSize${(0,de.A)(n)}`]};return(0,u.A)(o,Ti,r)})(h);return(0,_.jsx)(Oi,(0,a.A)({as:l,className:(0,c.A)(r,"notranslate",m.root,o),ownerState:h,"aria-hidden":!0,ref:t},f))}));Ei.muiName="Icon";var Di=Ei,Ri=n(40267);function Ii(e){return(0,x.Ay)("MuiImageList",e)}var Ni=(0,b.A)("MuiImageList",["root","masonry","quilted","standard","woven"]);var Li=l.createContext({});const ji=["children","className","cols","component","rowHeight","gap","style","variant"],$i=(0,d.Ay)("ul",{name:"MuiImageList",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant]]}})((({ownerState:e})=>(0,a.A)({display:"grid",overflowY:"auto",listStyle:"none",padding:0,WebkitOverflowScrolling:"touch"},"masonry"===e.variant&&{display:"block"}))),zi=l.forwardRef((function(e,t){const n=(0,p.b)({props:e,name:"MuiImageList"}),{children:r,className:o,cols:i=2,component:d="ul",rowHeight:f="auto",gap:h=4,style:m,variant:g="standard"}=n,v=(0,s.A)(n,ji),y=l.useMemo((()=>({rowHeight:f,gap:h,variant:g})),[f,h,g]);l.useEffect((()=>{0}),[]);const b="masonry"===g?(0,a.A)({columnCount:i,columnGap:h},m):(0,a.A)({gridTemplateColumns:`repeat(${i}, 1fr)`,gap:h},m),x=(0,a.A)({},n,{component:d,gap:h,rowHeight:f,variant:g}),w=(e=>{const{classes:t,variant:n}=e,r={root:["root",n]};return(0,u.A)(r,Ii,t)})(x);return(0,_.jsx)($i,(0,a.A)({as:d,className:(0,c.A)(w.root,w[g],o),ref:t,style:b,ownerState:x},v,{children:(0,_.jsx)(Li.Provider,{value:y,children:r})}))}));var Fi=zi,Bi=n(36767);function Hi(e){return(0,x.Ay)("MuiImageListItem",e)}var Vi=(0,b.A)("MuiImageListItem",["root","img","standard","woven","masonry","quilted"]);const Wi=["children","className","cols","component","rows","style"],Ui=(0,d.Ay)("li",{name:"MuiImageListItem",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${Vi.img}`]:t.img},t.root,t[n.variant]]}})((({ownerState:e})=>(0,a.A)({display:"block",position:"relative"},"standard"===e.variant&&{display:"flex",flexDirection:"column"},"woven"===e.variant&&{height:"100%",alignSelf:"center","&:nth-of-type(even)":{height:"70%"}},{[`& .${Vi.img}`]:(0,a.A)({objectFit:"cover",width:"100%",height:"100%",display:"block"},"standard"===e.variant&&{height:"auto",flexGrow:1})}))),qi=l.forwardRef((function(e,t){const n=(0,p.b)({props:e,name:"MuiImageListItem"}),{children:r,className:o,cols:i=1,component:d="li",rows:f=1,style:h}=n,m=(0,s.A)(n,Wi),{rowHeight:g="auto",gap:v,variant:y}=l.useContext(Li);let b="auto";"woven"===y?b=void 0:"auto"!==g&&(b=g*f+v*(f-1));const x=(0,a.A)({},n,{cols:i,component:d,gap:v,rowHeight:g,rows:f,variant:y}),w=(e=>{const{classes:t,variant:n}=e,r={root:["root",n],img:["img"]};return(0,u.A)(r,Hi,t)})(x);return(0,_.jsx)(Ui,(0,a.A)({as:d,className:(0,c.A)(w.root,w[y],o),ref:t,style:(0,a.A)({height:b,gridColumnEnd:"masonry"!==y?`span ${i}`:void 0,gridRowEnd:"masonry"!==y?`span ${f}`:void 0,marginBottom:"masonry"===y?v:void 0,breakInside:"masonry"===y?"avoid":void 0},h),ownerState:x},m,{children:l.Children.map(r,(e=>l.isValidElement(e)?"img"===e.type||(0,Bi.A)(e,["Image"])?l.cloneElement(e,{className:(0,c.A)(w.img,e.props.className)}):e:null))}))}));var Gi=qi;function Yi(e){return(0,x.Ay)("MuiImageListItemBar",e)}var Xi=(0,b.A)("MuiImageListItemBar",["root","positionBottom","positionTop","positionBelow","titleWrap","titleWrapBottom","titleWrapTop","titleWrapBelow","titleWrapActionPosLeft","titleWrapActionPosRight","title","subtitle","actionIcon","actionIconActionPosLeft","actionIconActionPosRight"]);const Ki=["actionIcon","actionPosition","className","subtitle","title","position"],Zi=(0,d.Ay)("div",{name:"MuiImageListItemBar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`position${(0,de.A)(n.position)}`]]}})((({theme:e,ownerState:t})=>(0,a.A)({position:"absolute",left:0,right:0,background:"rgba(0, 0, 0, 0.5)",display:"flex",alignItems:"center",fontFamily:e.typography.fontFamily},"bottom"===t.position&&{bottom:0},"top"===t.position&&{top:0},"below"===t.position&&{position:"relative",background:"transparent",alignItems:"normal"}))),Ji=(0,d.Ay)("div",{name:"MuiImageListItemBar",slot:"TitleWrap",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.titleWrap,t[`titleWrap${(0,de.A)(n.position)}`],n.actionIcon&&t[`titleWrapActionPos${(0,de.A)(n.actionPosition)}`]]}})((({theme:e,ownerState:t})=>(0,a.A)({flexGrow:1,padding:"12px 16px",color:(e.vars||e).palette.common.white,overflow:"hidden"},"below"===t.position&&{padding:"6px 0 12px",color:"inherit"},t.actionIcon&&"left"===t.actionPosition&&{paddingLeft:0},t.actionIcon&&"right"===t.actionPosition&&{paddingRight:0}))),Qi=(0,d.Ay)("div",{name:"MuiImageListItemBar",slot:"Title",overridesResolver:(e,t)=>t.title})((({theme:e})=>({fontSize:e.typography.pxToRem(16),lineHeight:"24px",textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap"}))),ea=(0,d.Ay)("div",{name:"MuiImageListItemBar",slot:"Subtitle",overridesResolver:(e,t)=>t.subtitle})((({theme:e})=>({fontSize:e.typography.pxToRem(12),lineHeight:1,textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap"}))),ta=(0,d.Ay)("div",{name:"MuiImageListItemBar",slot:"ActionIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.actionIcon,t[`actionIconActionPos${(0,de.A)(n.actionPosition)}`]]}})((({ownerState:e})=>(0,a.A)({},"left"===e.actionPosition&&{order:-1})));var na=l.forwardRef((function(e,t){const n=(0,p.b)({props:e,name:"MuiImageListItemBar"}),{actionIcon:r,actionPosition:o="right",className:i,subtitle:l,title:d,position:f="bottom"}=n,h=(0,s.A)(n,Ki),m=(0,a.A)({},n,{position:f,actionPosition:o}),g=(e=>{const{classes:t,position:n,actionIcon:r,actionPosition:o}=e,i={root:["root",`position${(0,de.A)(n)}`],titleWrap:["titleWrap",`titleWrap${(0,de.A)(n)}`,r&&`titleWrapActionPos${(0,de.A)(o)}`],title:["title"],subtitle:["subtitle"],actionIcon:["actionIcon",`actionIconActionPos${(0,de.A)(o)}`]};return(0,u.A)(i,Yi,t)})(m);return(0,_.jsxs)(Zi,(0,a.A)({ownerState:m,className:(0,c.A)(g.root,i),ref:t},h,{children:[(0,_.jsxs)(Ji,{ownerState:m,className:g.titleWrap,children:[(0,_.jsx)(Qi,{className:g.title,children:d}),l?(0,_.jsx)(ea,{className:g.subtitle,children:l}):null]}),r?(0,_.jsx)(ta,{ownerState:m,className:g.actionIcon,children:r}):null]}))})),ra=n(77623),oa=n(25571),ia=n(29153),aa=n(80977),sa=n(63008),la=n(51175),ca=n(13945),ua=n(21673),da=n(73788);function pa(e){return(0,x.Ay)("MuiLinearProgress",e)}var fa=(0,b.A)("MuiLinearProgress",["root","colorPrimary","colorSecondary","determinate","indeterminate","buffer","query","dashed","dashedColorPrimary","dashedColorSecondary","bar","barColorPrimary","barColorSecondary","bar1Indeterminate","bar1Determinate","bar1Buffer","bar2Indeterminate","bar2Buffer"]);const ha=["className","color","value","valueBuffer","variant"];let ma,ga,va,ya,ba,xa,wa=e=>e;const Aa=(0,ar.i7)(ma||(ma=wa` 0% { left: -35%; right: 100%; } 60% { left: 100%; right: -90%; } 100% { left: 100%; right: -90%; } `)),_a=(0,ar.i7)(ga||(ga=wa` 0% { left: -200%; right: 100%; } 60% { left: 107%; right: -8%; } 100% { left: 107%; right: -8%; } `)),Sa=(0,ar.i7)(va||(va=wa` 0% { opacity: 1; background-position: 0 -23px; } 60% { opacity: 0; background-position: 0 -23px; } 100% { opacity: 1; background-position: -200px -23px; } `)),ka=(e,t)=>"inherit"===t?"currentColor":e.vars?e.vars.palette.LinearProgress[`${t}Bg`]:"light"===e.palette.mode?(0,ue.a)(e.palette[t].main,.62):(0,ue.e$)(e.palette[t].main,.5),Ca=(0,d.Ay)("span",{name:"MuiLinearProgress",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`color${(0,de.A)(n.color)}`],t[n.variant]]}})((({ownerState:e,theme:t})=>(0,a.A)({position:"relative",overflow:"hidden",display:"block",height:4,zIndex:0,"@media print":{colorAdjust:"exact"},backgroundColor:ka(t,e.color)},"inherit"===e.color&&"buffer"!==e.variant&&{backgroundColor:"none","&::before":{content:'""',position:"absolute",left:0,top:0,right:0,bottom:0,backgroundColor:"currentColor",opacity:.3}},"buffer"===e.variant&&{backgroundColor:"transparent"},"query"===e.variant&&{transform:"rotate(180deg)"}))),Ta=(0,d.Ay)("span",{name:"MuiLinearProgress",slot:"Dashed",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.dashed,t[`dashedColor${(0,de.A)(n.color)}`]]}})((({ownerState:e,theme:t})=>{const n=ka(t,e.color);return(0,a.A)({position:"absolute",marginTop:0,height:"100%",width:"100%"},"inherit"===e.color&&{opacity:.3},{backgroundImage:`radial-gradient(${n} 0%, ${n} 16%, transparent 42%)`,backgroundSize:"10px 10px",backgroundPosition:"0 -23px"})}),(0,ar.AH)(ya||(ya=wa` animation: ${0} 3s infinite linear; `),Sa)),Ma=(0,d.Ay)("span",{name:"MuiLinearProgress",slot:"Bar1",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.bar,t[`barColor${(0,de.A)(n.color)}`],("indeterminate"===n.variant||"query"===n.variant)&&t.bar1Indeterminate,"determinate"===n.variant&&t.bar1Determinate,"buffer"===n.variant&&t.bar1Buffer]}})((({ownerState:e,theme:t})=>(0,a.A)({width:"100%",position:"absolute",left:0,bottom:0,top:0,transition:"transform 0.2s linear",transformOrigin:"left",backgroundColor:"inherit"===e.color?"currentColor":(t.vars||t).palette[e.color].main},"determinate"===e.variant&&{transition:"transform .4s linear"},"buffer"===e.variant&&{zIndex:1,transition:"transform .4s linear"})),(({ownerState:e})=>("indeterminate"===e.variant||"query"===e.variant)&&(0,ar.AH)(ba||(ba=wa` width: auto; animation: ${0} 2.1s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite; `),Aa))),Pa=(0,d.Ay)("span",{name:"MuiLinearProgress",slot:"Bar2",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.bar,t[`barColor${(0,de.A)(n.color)}`],("indeterminate"===n.variant||"query"===n.variant)&&t.bar2Indeterminate,"buffer"===n.variant&&t.bar2Buffer]}})((({ownerState:e,theme:t})=>(0,a.A)({width:"100%",position:"absolute",left:0,bottom:0,top:0,transition:"transform 0.2s linear",transformOrigin:"left"},"buffer"!==e.variant&&{backgroundColor:"inherit"===e.color?"currentColor":(t.vars||t).palette[e.color].main},"inherit"===e.color&&{opacity:.3},"buffer"===e.variant&&{backgroundColor:ka(t,e.color),transition:"transform .4s linear"})),(({ownerState:e})=>("indeterminate"===e.variant||"query"===e.variant)&&(0,ar.AH)(xa||(xa=wa` width: auto; animation: ${0} 2.1s cubic-bezier(0.165, 0.84, 0.44, 1) 1.15s infinite; `),_a)));var Oa=l.forwardRef((function(e,t){const n=(0,p.b)({props:e,name:"MuiLinearProgress"}),{className:r,color:o="primary",value:i,valueBuffer:l,variant:d="indeterminate"}=n,f=(0,s.A)(n,ha),h=(0,a.A)({},n,{color:o,variant:d}),m=(e=>{const{classes:t,variant:n,color:r}=e,o={root:["root",`color${(0,de.A)(r)}`,n],dashed:["dashed",`dashedColor${(0,de.A)(r)}`],bar1:["bar",`barColor${(0,de.A)(r)}`,("indeterminate"===n||"query"===n)&&"bar1Indeterminate","determinate"===n&&"bar1Determinate","buffer"===n&&"bar1Buffer"],bar2:["bar","buffer"!==n&&`barColor${(0,de.A)(r)}`,"buffer"===n&&`color${(0,de.A)(r)}`,("indeterminate"===n||"query"===n)&&"bar2Indeterminate","buffer"===n&&"bar2Buffer"]};return(0,u.A)(o,pa,t)})(h),g=(0,da.I)(),v={},y={bar1:{},bar2:{}};if("determinate"===d||"buffer"===d)if(void 0!==i){v["aria-valuenow"]=Math.round(i),v["aria-valuemin"]=0,v["aria-valuemax"]=100;let e=i-100;g&&(e=-e),y.bar1.transform=`translateX(${e}%)`}else 0;if("buffer"===d)if(void 0!==l){let e=(l||0)-100;g&&(e=-e),y.bar2.transform=`translateX(${e}%)`}else 0;return(0,_.jsxs)(Ca,(0,a.A)({className:(0,c.A)(m.root,r),ownerState:h,role:"progressbar"},v,{ref:t},f,{children:["buffer"===d?(0,_.jsx)(Ta,{className:m.dashed,ownerState:h}):null,(0,_.jsx)(Ma,{className:m.bar1,ownerState:h,style:y.bar1}),"determinate"===d?null:(0,_.jsx)(Pa,{className:m.bar2,ownerState:h,style:y.bar2})]}))})),Ea=n(68851);function Da(e){return(0,x.Ay)("MuiLink",e)}var Ra=(0,b.A)("MuiLink",["root","underlineNone","underlineHover","underlineAlways","button","focusVisible"]),Ia=n(86481);const Na={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"};var La=({theme:e,ownerState:t})=>{const n=(e=>Na[e]||e)(t.color),r=(0,Ia.Yn)(e,`palette.${n}`,!1)||t.color,o=(0,Ia.Yn)(e,`palette.${n}Channel`);return"vars"in e&&o?`rgba(${o} / 0.4)`:(0,ue.X4)(r,.4)};const ja=["className","color","component","onBlur","onFocus","TypographyClasses","underline","variant","sx"],$a=(0,d.Ay)(Me.A,{name:"MuiLink",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`underline${(0,de.A)(n.underline)}`],"button"===n.component&&t.button]}})((({theme:e,ownerState:t})=>(0,a.A)({},"none"===t.underline&&{textDecoration:"none"},"hover"===t.underline&&{textDecoration:"none","&:hover":{textDecoration:"underline"}},"always"===t.underline&&(0,a.A)({textDecoration:"underline"},"inherit"!==t.color&&{textDecorationColor:La({theme:e,ownerState:t})},{"&:hover":{textDecorationColor:"inherit"}}),"button"===t.component&&{position:"relative",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none","&::-moz-focus-inner":{borderStyle:"none"},[`&.${Ra.focusVisible}`]:{outline:"auto"}})));var za=l.forwardRef((function(e,t){const n=(0,p.b)({props:e,name:"MuiLink"}),{className:r,color:o="primary",component:i="a",onBlur:d,onFocus:f,TypographyClasses:h,underline:m="always",variant:g="inherit",sx:v}=n,b=(0,s.A)(n,ja),{isFocusVisibleRef:x,onBlur:w,onFocus:A,ref:S}=(0,Ea.A)(),[k,C]=l.useState(!1),T=(0,y.A)(t,S),M=(0,a.A)({},n,{color:o,component:i,focusVisible:k,underline:m,variant:g}),P=(e=>{const{classes:t,component:n,focusVisible:r,underline:o}=e,i={root:["root",`underline${(0,de.A)(o)}`,"button"===n&&"button",r&&"focusVisible"]};return(0,u.A)(i,Da,t)})(M);return(0,_.jsx)($a,(0,a.A)({color:o,className:(0,c.A)(P.root,r),classes:h,component:i,onBlur:e=>{w(e),!1===x.current&&C(!1),d&&d(e)},onFocus:e=>{A(e),!0===x.current&&C(!0),f&&f(e)},ref:T,ownerState:M,variant:g,sx:[...Object.keys(Na).includes(o)?[]:[{color:o}],...Array.isArray(v)?v:[v]]},b))})),Fa=n(27465),Ba=n(52249),Ha=n(3959),Va=n(38467),Wa=n(32850);function Ua(e){return(0,x.Ay)("MuiListItemAvatar",e)}var qa=(0,b.A)("MuiListItemAvatar",["root","alignItemsFlexStart"]);const Ga=["className"],Ya=(0,d.Ay)("div",{name:"MuiListItemAvatar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,"flex-start"===n.alignItems&&t.alignItemsFlexStart]}})((({ownerState:e})=>(0,a.A)({minWidth:56,flexShrink:0},"flex-start"===e.alignItems&&{marginTop:8})));var Xa=l.forwardRef((function(e,t){const n=(0,p.b)({props:e,name:"MuiListItemAvatar"}),{className:r}=n,o=(0,s.A)(n,Ga),i=l.useContext(Wa.A),d=(0,a.A)({},n,{alignItems:i.alignItems}),f=(e=>{const{alignItems:t,classes:n}=e,r={root:["root","flex-start"===t&&"alignItemsFlexStart"]};return(0,u.A)(r,Ua,n)})(d);return(0,_.jsx)(Ya,(0,a.A)({className:(0,c.A)(f.root,r),ownerState:d,ref:t},o))})),Ka=n(22927);const Za=["alignItems","autoFocus","component","children","dense","disableGutters","divider","focusVisibleClassName","selected","className"],Ja=(0,d.Ay)(ne.A,{shouldForwardProp:e=>(0,Xn.A)(e)||"classes"===e,name:"MuiListItemButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.dense&&t.dense,"flex-start"===n.alignItems&&t.alignItemsFlexStart,n.divider&&t.divider,!n.disableGutters&&t.gutters]}})((({theme:e,ownerState:t})=>(0,a.A)({display:"flex",flexGrow:1,justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",minWidth:0,boxSizing:"border-box",textAlign:"left",paddingTop:8,paddingBottom:8,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest}),"&:hover":{textDecoration:"none",backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${Ka.A.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:(0,ue.X4)(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${Ka.A.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:(0,ue.X4)(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${Ka.A.selected}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:(0,ue.X4)(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:(0,ue.X4)(e.palette.primary.main,e.palette.action.selectedOpacity)}},[`&.${Ka.A.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${Ka.A.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity}},t.divider&&{borderBottom:`1px solid ${(e.vars||e).palette.divider}`,backgroundClip:"padding-box"},"flex-start"===t.alignItems&&{alignItems:"flex-start"},!t.disableGutters&&{paddingLeft:16,paddingRight:16},t.dense&&{paddingTop:4,paddingBottom:4})));var Qa=l.forwardRef((function(e,t){const n=(0,p.b)({props:e,name:"MuiListItemButton"}),{alignItems:r="center",autoFocus:o=!1,component:i="div",children:d,dense:f=!1,disableGutters:h=!1,divider:m=!1,focusVisibleClassName:g,selected:v=!1,className:b}=n,x=(0,s.A)(n,Za),w=l.useContext(Wa.A),A=l.useMemo((()=>({dense:f||w.dense||!1,alignItems:r,disableGutters:h})),[r,w.dense,f,h]),S=l.useRef(null);(0,hi.A)((()=>{o&&S.current&&S.current.focus()}),[o]);const k=(0,a.A)({},n,{alignItems:r,dense:A.dense,disableGutters:h,divider:m,selected:v}),C=(e=>{const{alignItems:t,classes:n,dense:r,disabled:o,disableGutters:i,divider:s,selected:l}=e,c={root:["root",r&&"dense",!i&&"gutters",s&&"divider",o&&"disabled","flex-start"===t&&"alignItemsFlexStart",l&&"selected"]},d=(0,u.A)(c,Ka.Y,n);return(0,a.A)({},n,d)})(k),T=(0,y.A)(S,t);return(0,_.jsx)(Wa.A.Provider,{value:A,children:(0,_.jsx)(Ja,(0,a.A)({ref:T,href:x.href||x.to,component:(x.href||x.to)&&"div"===i?"button":i,focusVisibleClassName:(0,c.A)(C.focusVisible,g),ownerState:k,className:(0,c.A)(C.root,b)},x,{classes:C,children:d}))})})),es=n(66721);const ts=["className"],ns=(0,d.Ay)("div",{name:"MuiListItemIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,"flex-start"===n.alignItems&&t.alignItemsFlexStart]}})((({theme:e,ownerState:t})=>(0,a.A)({minWidth:56,color:(e.vars||e).palette.action.active,flexShrink:0,display:"inline-flex"},"flex-start"===t.alignItems&&{marginTop:8})));var rs=l.forwardRef((function(e,t){const n=(0,p.b)({props:e,name:"MuiListItemIcon"}),{className:r}=n,o=(0,s.A)(n,ts),i=l.useContext(Wa.A),d=(0,a.A)({},n,{alignItems:i.alignItems}),f=(e=>{const{alignItems:t,classes:n}=e,r={root:["root","flex-start"===t&&"alignItemsFlexStart"]};return(0,u.A)(r,es.f,n)})(d);return(0,_.jsx)(ns,(0,a.A)({className:(0,c.A)(f.root,r),ownerState:d,ref:t},o))})),os=n(92755),is=n(75847),as=n(68081);const ss=["children","className","disableTypography","inset","primary","primaryTypographyProps","secondary","secondaryTypographyProps"],ls=(0,d.Ay)("div",{name:"MuiListItemText",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${as.A.primary}`]:t.primary},{[`& .${as.A.secondary}`]:t.secondary},t.root,n.inset&&t.inset,n.primary&&n.secondary&&t.multiline,n.dense&&t.dense]}})((({ownerState:e})=>(0,a.A)({flex:"1 1 auto",minWidth:0,marginTop:4,marginBottom:4},e.primary&&e.secondary&&{marginTop:6,marginBottom:6},e.inset&&{paddingLeft:56})));var cs=l.forwardRef((function(e,t){const n=(0,p.b)({props:e,name:"MuiListItemText"}),{children:r,className:o,disableTypography:i=!1,inset:d=!1,primary:f,primaryTypographyProps:h,secondary:m,secondaryTypographyProps:g}=n,v=(0,s.A)(n,ss),{dense:y}=l.useContext(Wa.A);let b=null!=f?f:r,x=m;const w=(0,a.A)({},n,{disableTypography:i,inset:d,primary:!!b,secondary:!!x,dense:y}),A=(e=>{const{classes:t,inset:n,primary:r,secondary:o,dense:i}=e,a={root:["root",n&&"inset",i&&"dense",r&&o&&"multiline"],primary:["primary"],secondary:["secondary"]};return(0,u.A)(a,as.b,t)})(w);return null==b||b.type===Me.A||i||(b=(0,_.jsx)(Me.A,(0,a.A)({variant:y?"body2":"body1",className:A.primary,component:null!=h&&h.variant?void 0:"span",display:"block"},h,{children:b}))),null==x||x.type===Me.A||i||(x=(0,_.jsx)(Me.A,(0,a.A)({variant:"body2",className:A.secondary,color:"text.secondary",display:"block"},g,{children:x}))),(0,_.jsxs)(ls,(0,a.A)({className:(0,c.A)(A.root,o),ownerState:w,ref:t},v,{children:[b,x]}))})),us=n(68463),ds=n(32603),ps=n(73639),fs=n(211),hs=n(17681),ms=n(60361),gs=n(88116),vs=n(64438);function ys(e){return(0,x.Ay)("MuiMobileStepper",e)}var bs=(0,b.A)("MuiMobileStepper",["root","positionBottom","positionTop","positionStatic","dots","dot","dotActive","progress"]);const xs=["activeStep","backButton","className","LinearProgressProps","nextButton","position","steps","variant"],ws=(0,d.Ay)(O.A,{name:"MuiMobileStepper",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`position${(0,de.A)(n.position)}`]]}})((({theme:e,ownerState:t})=>(0,a.A)({display:"flex",flexDirection:"row",justifyContent:"space-between",alignItems:"center",background:(e.vars||e).palette.background.default,padding:8},"bottom"===t.position&&{position:"fixed",bottom:0,left:0,right:0,zIndex:(e.vars||e).zIndex.mobileStepper},"top"===t.position&&{position:"fixed",top:0,left:0,right:0,zIndex:(e.vars||e).zIndex.mobileStepper}))),As=(0,d.Ay)("div",{name:"MuiMobileStepper",slot:"Dots",overridesResolver:(e,t)=>t.dots})((({ownerState:e})=>(0,a.A)({},"dots"===e.variant&&{display:"flex",flexDirection:"row"}))),_s=(0,d.Ay)("div",{name:"MuiMobileStepper",slot:"Dot",shouldForwardProp:e=>(0,vs.A)(e)&&"dotActive"!==e,overridesResolver:(e,t)=>{const{dotActive:n}=e;return[t.dot,n&&t.dotActive]}})((({theme:e,ownerState:t,dotActive:n})=>(0,a.A)({},"dots"===t.variant&&(0,a.A)({transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest}),backgroundColor:(e.vars||e).palette.action.disabled,borderRadius:"50%",width:8,height:8,margin:"0 2px"},n&&{backgroundColor:(e.vars||e).palette.primary.main})))),Ss=(0,d.Ay)(Oa,{name:"MuiMobileStepper",slot:"Progress",overridesResolver:(e,t)=>t.progress})((({ownerState:e})=>(0,a.A)({},"progress"===e.variant&&{width:"50%"})));var ks=l.forwardRef((function(e,t){const n=(0,p.b)({props:e,name:"MuiMobileStepper"}),{activeStep:r=0,backButton:o,className:i,LinearProgressProps:d,nextButton:f,position:h="bottom",steps:m,variant:g="dots"}=n,v=(0,s.A)(n,xs),y=(0,a.A)({},n,{activeStep:r,position:h,variant:g});let b;"progress"===g&&(b=1===m?100:Math.ceil(r/(m-1)*100));const x=(e=>{const{classes:t,position:n}=e,r={root:["root",`position${(0,de.A)(n)}`],dots:["dots"],dot:["dot"],dotActive:["dotActive"],progress:["progress"]};return(0,u.A)(r,ys,t)})(y);return(0,_.jsxs)(ws,(0,a.A)({square:!0,elevation:0,className:(0,c.A)(x.root,i),ref:t,ownerState:y},v,{children:[o,"text"===g&&(0,_.jsxs)(l.Fragment,{children:[r+1," / ",m]}),"dots"===g&&(0,_.jsx)(As,{ownerState:y,className:x.dots,children:[...new Array(m)].map(((e,t)=>(0,_.jsx)(_s,{className:(0,c.A)(x.dot,t===r&&x.dotActive),ownerState:y,dotActive:t===r},t)))}),"progress"===g&&(0,_.jsx)(Ss,(0,a.A)({ownerState:y,className:x.progress,variant:"determinate",value:b},d)),f]}))})),Cs=n(79627),Ts=n(33536),Ms=n(74231),Ps=n(263),Os=n(38086),Es=n(602),Ds=n(43391);const Rs=["className","children","classes","IconComponent","input","inputProps","variant"],Is=["root"],Ns=(0,_.jsx)(ra.A,{}),Ls=l.forwardRef((function(e,t){const n=(0,p.b)({name:"MuiNativeSelect",props:e}),{className:r,children:o,classes:i={},IconComponent:d=Es.A,input:f=Ns,inputProps:h}=n,m=(0,s.A)(n,Rs),g=(0,yo.A)(),v=(0,Os.A)({props:n,muiFormControl:g,states:["variant"]}),y=(e=>{const{classes:t}=e;return(0,u.A)({root:["root"]},Ds.w,t)})((0,a.A)({},n,{classes:i})),b=(0,s.A)(i,Is);return(0,_.jsx)(l.Fragment,{children:l.cloneElement(f,(0,a.A)({inputComponent:Ps.Ay,inputProps:(0,a.A)({children:o,classes:b,IconComponent:d,variant:v.variant,type:void 0},h,f?f.props.inputProps:{}),ref:t},m,{className:(0,c.A)(y.root,f.props.className,r)}))})}));Ls.muiName="Select";var js=Ls,$s=n(21529);var zs=function(e){const{children:t,defer:n=!1,fallback:r=null}=e,[o,i]=l.useState(!1);return(0,$s.A)((()=>{n||i(!0)}),[n]),l.useEffect((()=>{n&&i(!0)}),[n]),(0,_.jsx)(l.Fragment,{children:o?t:r})},Fs=n(8641),Bs=n(71023),Hs=n(96301),Vs=n(86353),Ws=n(33040),Us=n(73687),qs=n(4825),Gs=n(12055),Ys=n(90563),Xs=n(6545),Ks=n(10273),Zs=n(45061),Js=(0,me.A)((0,_.jsx)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),"RadioButtonUnchecked"),Qs=(0,me.A)((0,_.jsx)("path",{d:"M8.465 8.465C9.37 7.56 10.62 7 12 7C14.76 7 17 9.24 17 12C17 13.38 16.44 14.63 15.535 15.535C14.63 16.44 13.38 17 12 17C9.24 17 7 14.76 7 12C7 10.62 7.56 9.37 8.465 8.465Z"}),"RadioButtonChecked");const el=(0,d.Ay)("span",{shouldForwardProp:Xn.A})({position:"relative",display:"flex"}),tl=(0,d.Ay)(Js)({transform:"scale(1)"}),nl=(0,d.Ay)(Qs)((({theme:e,ownerState:t})=>(0,a.A)({left:0,position:"absolute",transform:"scale(0)",transition:e.transitions.create("transform",{easing:e.transitions.easing.easeIn,duration:e.transitions.duration.shortest})},t.checked&&{transform:"scale(1)",transition:e.transitions.create("transform",{easing:e.transitions.easing.easeOut,duration:e.transitions.duration.shortest})})));var rl=function(e){const{checked:t=!1,classes:n={},fontSize:r}=e,o=(0,a.A)({},e,{checked:t});return(0,_.jsxs)(el,{className:n.root,ownerState:o,children:[(0,_.jsx)(tl,{fontSize:r,className:n.background,ownerState:o}),(0,_.jsx)(nl,{fontSize:r,className:n.dot,ownerState:o})]})},ol=n(50862);var il=l.createContext(void 0);function al(){return l.useContext(il)}function sl(e){return(0,x.Ay)("MuiRadio",e)}var ll=(0,b.A)("MuiRadio",["root","checked","disabled","colorPrimary","colorSecondary","sizeSmall"]);const cl=["checked","checkedIcon","color","icon","name","onChange","size","className"],ul=(0,d.Ay)(Un.A,{shouldForwardProp:e=>(0,Xn.A)(e)||"classes"===e,name:"MuiRadio",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,"medium"!==n.size&&t[`size${(0,de.A)(n.size)}`],t[`color${(0,de.A)(n.color)}`]]}})((({theme:e,ownerState:t})=>(0,a.A)({color:(e.vars||e).palette.text.secondary},!t.disableRipple&&{"&:hover":{backgroundColor:e.vars?`rgba(${"default"===t.color?e.vars.palette.action.activeChannel:e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,ue.X4)("default"===t.color?e.palette.action.active:e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"default"!==t.color&&{[`&.${ll.checked}`]:{color:(e.vars||e).palette[t.color].main}},{[`&.${ll.disabled}`]:{color:(e.vars||e).palette.action.disabled}})));const dl=(0,_.jsx)(rl,{checked:!0}),pl=(0,_.jsx)(rl,{});var fl=l.forwardRef((function(e,t){var n,r;const o=(0,p.b)({props:e,name:"MuiRadio"}),{checked:i,checkedIcon:d=dl,color:f="primary",icon:h=pl,name:m,onChange:g,size:v="medium",className:y}=o,b=(0,s.A)(o,cl),x=(0,a.A)({},o,{color:f,size:v}),w=(e=>{const{classes:t,color:n,size:r}=e,o={root:["root",`color${(0,de.A)(n)}`,"medium"!==r&&`size${(0,de.A)(r)}`]};return(0,a.A)({},t,(0,u.A)(o,sl,t))})(x),A=al();let S=i;const k=(0,ol.A)(g,A&&A.onChange);let C=m;var T,M;return A&&(void 0===S&&(T=A.value,S="object"==typeof(M=o.value)&&null!==M?T===M:String(T)===String(M)),void 0===C&&(C=A.name)),(0,_.jsx)(ul,(0,a.A)({type:"radio",icon:l.cloneElement(h,{fontSize:null!=(n=pl.props.fontSize)?n:v}),checkedIcon:l.cloneElement(d,{fontSize:null!=(r=dl.props.fontSize)?r:v}),ownerState:x,classes:w,name:C,checked:S,onChange:k,ref:t,className:(0,c.A)(w.root,y)},b))}));function hl(e){return(0,x.Ay)("MuiRadioGroup",e)}var ml=(0,b.A)("MuiRadioGroup",["root","row","error"]),gl=n(1668);const vl=["actions","children","className","defaultValue","name","onChange","value"];var yl=l.forwardRef((function(e,t){const{actions:n,children:r,className:o,defaultValue:i,name:d,onChange:p,value:f}=e,h=(0,s.A)(e,vl),m=l.useRef(null),g=(e=>{const{classes:t,row:n,error:r}=e,o={root:["root",n&&"row",r&&"error"]};return(0,u.A)(o,hl,t)})(e),[v,b]=(0,D.A)({controlled:f,default:i,name:"RadioGroup"});l.useImperativeHandle(n,(()=>({focus:()=>{let e=m.current.querySelector("input:not(:disabled):checked");e||(e=m.current.querySelector("input:not(:disabled)")),e&&e.focus()}})),[]);const x=(0,y.A)(t,m),w=(0,gl.A)(d),A=l.useMemo((()=>({name:w,onChange(e){b(e.target.value),p&&p(e,e.target.value)},value:v})),[w,p,b,v]);return(0,_.jsx)(il.Provider,{value:A,children:(0,_.jsx)(Ao.A,(0,a.A)({role:"radiogroup",ref:x,className:(0,c.A)(g.root,o)},h,{children:r}))})})),bl=n(90725),xl=n(90285),wl=(0,me.A)((0,_.jsx)("path",{d:"M12 17.27L18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z"}),"Star"),Al=(0,me.A)((0,_.jsx)("path",{d:"M22 9.24l-7.19-.62L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21 12 17.27 18.18 21l-1.63-7.03L22 9.24zM12 15.4l-3.76 2.27 1-4.28-3.32-2.88 4.38-.38L12 6.1l1.71 4.04 4.38.38-3.32 2.88 1 4.28L12 15.4z"}),"StarBorder");function _l(e){return(0,x.Ay)("MuiRating",e)}var Sl=(0,b.A)("MuiRating",["root","sizeSmall","sizeMedium","sizeLarge","readOnly","disabled","focusVisible","visuallyHidden","pristine","label","labelEmptyValueActive","icon","iconEmpty","iconFilled","iconHover","iconFocus","iconActive","decimal"]);const kl=["value"],Cl=["className","defaultValue","disabled","emptyIcon","emptyLabelText","getLabelText","highlightSelectedOnly","icon","IconContainerComponent","max","name","onChange","onChangeActive","onMouseLeave","onMouseMove","precision","readOnly","size","value"];function Tl(e,t){if(null==e)return e;const n=Math.round(e/t)*t;return Number(n.toFixed(function(e){const t=e.toString().split(".")[1];return t?t.length:0}(t)))}const Ml=(0,d.Ay)("span",{name:"MuiRating",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${Sl.visuallyHidden}`]:t.visuallyHidden},t.root,t[`size${(0,de.A)(n.size)}`],n.readOnly&&t.readOnly]}})((({theme:e,ownerState:t})=>(0,a.A)({display:"inline-flex",position:"relative",fontSize:e.typography.pxToRem(24),color:"#faaf00",cursor:"pointer",textAlign:"left",width:"min-content",WebkitTapHighlightColor:"transparent",[`&.${Sl.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity,pointerEvents:"none"},[`&.${Sl.focusVisible} .${Sl.iconActive}`]:{outline:"1px solid #999"},[`& .${Sl.visuallyHidden}`]:xl.A},"small"===t.size&&{fontSize:e.typography.pxToRem(18)},"large"===t.size&&{fontSize:e.typography.pxToRem(30)},t.readOnly&&{pointerEvents:"none"}))),Pl=(0,d.Ay)("label",{name:"MuiRating",slot:"Label",overridesResolver:({ownerState:e},t)=>[t.label,e.emptyValueFocused&&t.labelEmptyValueActive]})((({ownerState:e})=>(0,a.A)({cursor:"inherit"},e.emptyValueFocused&&{top:0,bottom:0,position:"absolute",outline:"1px solid #999",width:"100%"}))),Ol=(0,d.Ay)("span",{name:"MuiRating",slot:"Icon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.icon,n.iconEmpty&&t.iconEmpty,n.iconFilled&&t.iconFilled,n.iconHover&&t.iconHover,n.iconFocus&&t.iconFocus,n.iconActive&&t.iconActive]}})((({theme:e,ownerState:t})=>(0,a.A)({display:"flex",transition:e.transitions.create("transform",{duration:e.transitions.duration.shortest}),pointerEvents:"none"},t.iconActive&&{transform:"scale(1.2)"},t.iconEmpty&&{color:(e.vars||e).palette.action.disabled}))),El=(0,d.Ay)("span",{name:"MuiRating",slot:"Decimal",shouldForwardProp:e=>(0,vs.A)(e)&&"iconActive"!==e,overridesResolver:(e,t)=>{const{iconActive:n}=e;return[t.decimal,n&&t.iconActive]}})((({iconActive:e})=>(0,a.A)({position:"relative"},e&&{transform:"scale(1.2)"})));function Dl(e){const t=(0,s.A)(e,kl);return(0,_.jsx)("span",(0,a.A)({},t))}function Rl(e){const{classes:t,disabled:n,emptyIcon:r,focus:o,getLabelText:i,highlightSelectedOnly:s,hover:u,icon:d,IconContainerComponent:p,isActive:f,itemValue:h,labelProps:m,name:g,onBlur:v,onChange:y,onClick:b,onFocus:x,readOnly:w,ownerState:A,ratingValue:S,ratingValueRounded:k}=e,C=s?h===S:h<=S,T=h<=u,M=h<=o,P=h===k,O=(0,gl.A)(),E=(0,_.jsx)(Ol,{as:p,value:h,className:(0,c.A)(t.icon,C?t.iconFilled:t.iconEmpty,T&&t.iconHover,M&&t.iconFocus,f&&t.iconActive),ownerState:(0,a.A)({},A,{iconEmpty:!C,iconFilled:C,iconHover:T,iconFocus:M,iconActive:f}),children:r&&!C?r:d});return w?(0,_.jsx)("span",(0,a.A)({},m,{children:E})):(0,_.jsxs)(l.Fragment,{children:[(0,_.jsxs)(Pl,(0,a.A)({ownerState:(0,a.A)({},A,{emptyValueFocused:void 0}),htmlFor:O},m,{children:[E,(0,_.jsx)("span",{className:t.visuallyHidden,children:i(h)})]})),(0,_.jsx)("input",{className:t.visuallyHidden,onFocus:x,onBlur:v,onChange:y,onClick:b,disabled:n,value:h,id:O,type:"radio",name:g,checked:P})]})}const Il=(0,_.jsx)(wl,{fontSize:"inherit"}),Nl=(0,_.jsx)(Al,{fontSize:"inherit"});function Ll(e){return`${e} Star${1!==e?"s":""}`}var jl=l.forwardRef((function(e,t){const n=(0,p.b)({name:"MuiRating",props:e}),{className:r,defaultValue:o=null,disabled:i=!1,emptyIcon:d=Nl,emptyLabelText:f="Empty",getLabelText:h=Ll,highlightSelectedOnly:m=!1,icon:g=Il,IconContainerComponent:v=Dl,max:b=5,name:x,onChange:w,onChangeActive:A,onMouseLeave:S,onMouseMove:k,precision:C=1,readOnly:T=!1,size:M="medium",value:P}=n,O=(0,s.A)(n,Cl),E=(0,gl.A)(x),[R,I]=(0,D.A)({controlled:P,default:o,name:"Rating"}),N=Tl(R,C),L=(0,da.I)(),[{hover:j,focus:$},z]=l.useState({hover:-1,focus:-1});let F=N;-1!==j&&(F=j),-1!==$&&(F=$);const{isFocusVisibleRef:B,onBlur:H,onFocus:V,ref:W}=(0,Ea.A)(),[U,q]=l.useState(!1),G=l.useRef(),Y=(0,y.A)(W,G,t),X=e=>{let t=""===e.target.value?null:parseFloat(e.target.value);-1!==j&&(t=j),I(t),w&&w(e,t)},K=e=>{0===e.clientX&&0===e.clientY||(z({hover:-1,focus:-1}),I(null),w&&parseFloat(e.target.value)===N&&w(e,null))},Z=e=>{V(e),!0===B.current&&q(!0);const t=parseFloat(e.target.value);z((e=>({hover:e.hover,focus:t})))},J=e=>{if(-1!==j)return;H(e),!1===B.current&&q(!1);z((e=>({hover:e.hover,focus:-1})))},[Q,ee]=l.useState(!1),te=(0,a.A)({},n,{defaultValue:o,disabled:i,emptyIcon:d,emptyLabelText:f,emptyValueFocused:Q,focusVisible:U,getLabelText:h,icon:g,IconContainerComponent:v,max:b,precision:C,readOnly:T,size:M}),ne=(e=>{const{classes:t,size:n,readOnly:r,disabled:o,emptyValueFocused:i,focusVisible:a}=e,s={root:["root",`size${(0,de.A)(n)}`,o&&"disabled",a&&"focusVisible",r&&"readOnly"],label:["label","pristine"],labelEmptyValue:[i&&"labelEmptyValueActive"],icon:["icon"],iconEmpty:["iconEmpty"],iconFilled:["iconFilled"],iconHover:["iconHover"],iconFocus:["iconFocus"],iconActive:["iconActive"],decimal:["decimal"],visuallyHidden:["visuallyHidden"]};return(0,u.A)(s,_l,t)})(te);return(0,_.jsxs)(Ml,(0,a.A)({ref:Y,onMouseMove:e=>{k&&k(e);const t=G.current,{right:n,left:r,width:o}=t.getBoundingClientRect();let i;i=L?(n-e.clientX)/o:(e.clientX-r)/o;let a=Tl(b*i+C/2,C);a=(0,bl.A)(a,C,b),z((e=>e.hover===a&&e.focus===a?e:{hover:a,focus:a})),q(!1),A&&j!==a&&A(e,a)},onMouseLeave:e=>{S&&S(e);z({hover:-1,focus:-1}),A&&-1!==j&&A(e,-1)},className:(0,c.A)(ne.root,r,T&&"MuiRating-readOnly"),ownerState:te,role:T?"img":null,"aria-label":T?h(F):null},O,{children:[Array.from(new Array(b)).map(((e,t)=>{const n=t+1,r={classes:ne,disabled:i,emptyIcon:d,focus:$,getLabelText:h,highlightSelectedOnly:m,hover:j,icon:g,IconContainerComponent:v,name:E,onBlur:J,onChange:X,onClick:K,onFocus:Z,ratingValue:F,ratingValueRounded:N,readOnly:T,ownerState:te},o=n===Math.ceil(F)&&(-1!==j||-1!==$);if(C<1){const e=Array.from(new Array(1/C));return(0,_.jsx)(El,{className:(0,c.A)(ne.decimal,o&&ne.iconActive),ownerState:te,iconActive:o,children:e.map(((t,o)=>{const i=Tl(n-1+(o+1)*C,C);return(0,_.jsx)(Rl,(0,a.A)({},r,{isActive:!1,itemValue:i,labelProps:{style:e.length-1===o?{}:{width:i===F?(o+1)*C*100+"%":"0%",overflow:"hidden",position:"absolute"}}}),i)}))},n)}return(0,_.jsx)(Rl,(0,a.A)({},r,{isActive:o,itemValue:n}),n)})),!T&&!i&&(0,_.jsxs)(Pl,{className:(0,c.A)(ne.label,ne.labelEmptyValue),ownerState:te,children:[(0,_.jsx)("input",{className:ne.visuallyHidden,value:"",id:`${E}-empty`,type:"radio",name:E,checked:null==N,onFocus:()=>ee(!0),onBlur:()=>ee(!1),onChange:X}),(0,_.jsx)("span",{className:ne.visuallyHidden,children:f})]})]}))}));function $l(e){return(0,x.Ay)("MuiScopedCssBaseline",e)}var zl=(0,b.A)("MuiScopedCssBaseline",["root"]);const Fl=["className","component","enableColorScheme"],Bl=(0,d.Ay)("div",{name:"MuiScopedCssBaseline",slot:"Root",overridesResolver:(e,t)=>t.root})((({theme:e,ownerState:t})=>{const n={};return t.enableColorScheme&&e.colorSchemes&&Object.entries(e.colorSchemes).forEach((([t,r])=>{var o;n[`&${e.getColorSchemeSelector(t).replace(/\s*&/,"")}`]={colorScheme:null==(o=r.palette)?void 0:o.mode}})),(0,a.A)({},(0,zr.qy)(e,t.enableColorScheme),(0,zr.rf)(e),{"& *, & *::before, & *::after":{boxSizing:"inherit"},"& strong, & b":{fontWeight:e.typography.fontWeightBold}},n)}));var Hl=l.forwardRef((function(e,t){const n=(0,p.b)({props:e,name:"MuiScopedCssBaseline"}),{className:r,component:o="div"}=n,i=(0,s.A)(n,Fl),l=(0,a.A)({},n,{component:o}),d=(e=>{const{classes:t}=e;return(0,u.A)({root:["root"]},$l,t)})(l);return(0,_.jsx)(Bl,(0,a.A)({as:o,className:(0,c.A)(d.root,r),ref:t,ownerState:l},i))})),Vl=n(70057),Wl=n(95265),Ul=n(47035),ql=n(3663),Gl=n(48875),Yl=n(52197),Xl=n(2501),Kl=n(53313),Zl=n(74959);var Jl=function(e,t,n=(e,t)=>e===t){return e.length===t.length&&e.every(((e,r)=>n(e,t[r])))};function Ql(e,t){return e-t}function ec(e,t){var n;const{index:r}=null!=(n=e.reduce(((e,n,r)=>{const o=Math.abs(t-n);return null===e||o<e.distance||o===e.distance?{distance:o,index:r}:e}),null))?n:{};return r}function tc(e,t){if(void 0!==t.current&&e.changedTouches){const n=e;for(let e=0;e<n.changedTouches.length;e+=1){const r=n.changedTouches[e];if(r.identifier===t.current)return{x:r.clientX,y:r.clientY}}return!1}return{x:e.clientX,y:e.clientY}}function nc(e,t,n){return 100*(e-t)/(n-t)}function rc(e,t,n){const r=Math.round((e-n)/t)*t+n;return Number(r.toFixed(function(e){if(Math.abs(e)<1){const t=e.toExponential().split("e-"),n=t[0].split(".")[1];return(n?n.length:0)+parseInt(t[1],10)}const t=e.toString().split(".")[1];return t?t.length:0}(t)))}function oc({values:e,newValue:t,index:n}){const r=e.slice();return r[n]=t,r.sort(Ql)}function ic({sliderRef:e,activeIndex:t,setActive:n}){var r,o;const i=(0,Sr.A)(e.current);var a;null!=(r=e.current)&&r.contains(i.activeElement)&&Number(null==i||null==(o=i.activeElement)?void 0:o.getAttribute("data-index"))===t||(null==(a=e.current)||a.querySelector(`[type="range"][data-index="${t}"]`).focus());n&&n(t)}function ac(e,t){return"number"==typeof e&&"number"==typeof t?e===t:"object"==typeof e&&"object"==typeof t&&Jl(e,t)}const sc={horizontal:{offset:e=>({left:`${e}%`}),leap:e=>({width:`${e}%`})},"horizontal-reverse":{offset:e=>({right:`${e}%`}),leap:e=>({width:`${e}%`})},vertical:{offset:e=>({bottom:`${e}%`}),leap:e=>({height:`${e}%`})}},lc=e=>e;let cc;function uc(){return void 0===cc&&(cc="undefined"==typeof CSS||"function"!=typeof CSS.supports||CSS.supports("touch-action","none")),cc}function dc(e){const{"aria-labelledby":t,defaultValue:n,disabled:r=!1,disableSwap:o=!1,isRtl:i=!1,marks:s=!1,max:c=100,min:u=0,name:d,onChange:p,onChangeCommitted:f,orientation:h="horizontal",rootRef:m,scale:g=lc,step:v=1,shiftStep:y=10,tabIndex:b,value:x}=e,w=l.useRef(),[A,_]=l.useState(-1),[S,k]=l.useState(-1),[C,T]=l.useState(!1),M=l.useRef(0),[P,O]=(0,Xl.A)({controlled:x,default:null!=n?n:u,name:"Slider"}),E=p&&((e,t,n)=>{const r=e.nativeEvent||e,o=new r.constructor(r.type,r);Object.defineProperty(o,"target",{writable:!0,value:{value:t,name:d}}),p(o,t,n)}),D=Array.isArray(P);let I=D?P.slice().sort(Ql):[P];I=I.map((e=>null==e?u:(0,bl.A)(e,u,c)));const N=!0===s&&null!==v?[...Array(Math.floor((c-u)/v)+1)].map(((e,t)=>({value:u+v*t}))):s||[],L=N.map((e=>e.value)),{isFocusVisibleRef:j,onBlur:$,onFocus:z,ref:F}=(0,Kl.A)(),[B,H]=l.useState(-1),V=l.useRef(),W=(0,R.A)(F,V),U=(0,R.A)(m,W),q=e=>t=>{var n;const r=Number(t.currentTarget.getAttribute("data-index"));z(t),!0===j.current&&H(r),k(r),null==e||null==(n=e.onFocus)||n.call(e,t)},G=e=>t=>{var n;$(t),!1===j.current&&H(-1),k(-1),null==e||null==(n=e.onBlur)||n.call(e,t)},Y=(e,t)=>{const n=Number(e.currentTarget.getAttribute("data-index")),r=I[n],i=L.indexOf(r);let a=t;if(N&&null==v){const e=L[L.length-1];a=a>e?e:a<L[0]?L[0]:a<r?L[i-1]:L[i+1]}if(a=(0,bl.A)(a,u,c),D){o&&(a=(0,bl.A)(a,I[n-1]||-1/0,I[n+1]||1/0));const e=a;a=oc({values:I,newValue:a,index:n});let t=n;o||(t=a.indexOf(e)),ic({sliderRef:V,activeIndex:t})}O(a),H(n),E&&!ac(a,P)&&E(e,a,n),f&&f(e,a)},X=e=>t=>{var n;if(null!==v){const e=Number(t.currentTarget.getAttribute("data-index")),n=I[e];let r=null;("ArrowLeft"===t.key||"ArrowDown"===t.key)&&t.shiftKey||"PageDown"===t.key?r=Math.max(n-y,u):(("ArrowRight"===t.key||"ArrowUp"===t.key)&&t.shiftKey||"PageUp"===t.key)&&(r=Math.min(n+y,c)),null!==r&&(Y(t,r),t.preventDefault())}null==e||null==(n=e.onKeyDown)||n.call(e,t)};(0,$s.A)((()=>{var e;r&&V.current.contains(document.activeElement)&&(null==(e=document.activeElement)||e.blur())}),[r]),r&&-1!==A&&_(-1),r&&-1!==B&&H(-1);const K=l.useRef();let Z=h;i&&"horizontal"===h&&(Z+="-reverse");const J=({finger:e,move:t=!1})=>{const{current:n}=V,{width:r,height:i,bottom:a,left:s}=n.getBoundingClientRect();let l,d;if(l=0===Z.indexOf("vertical")?(a-e.y)/i:(e.x-s)/r,-1!==Z.indexOf("-reverse")&&(l=1-l),d=function(e,t,n){return(n-t)*e+t}(l,u,c),v)d=rc(d,v,u);else{const e=ec(L,d);d=L[e]}d=(0,bl.A)(d,u,c);let p=0;if(D){p=t?K.current:ec(I,d),o&&(d=(0,bl.A)(d,I[p-1]||-1/0,I[p+1]||1/0));const e=d;d=oc({values:I,newValue:d,index:p}),o&&t||(p=d.indexOf(e),K.current=p)}return{newValue:d,activeIndex:p}},Q=(0,_r.A)((e=>{const t=tc(e,w);if(!t)return;if(M.current+=1,"mousemove"===e.type&&0===e.buttons)return void ee(e);const{newValue:n,activeIndex:r}=J({finger:t,move:!0});ic({sliderRef:V,activeIndex:r,setActive:_}),O(n),!C&&M.current>2&&T(!0),E&&!ac(n,P)&&E(e,n,r)})),ee=(0,_r.A)((e=>{const t=tc(e,w);if(T(!1),!t)return;const{newValue:n}=J({finger:t,move:!0});_(-1),"touchend"===e.type&&k(-1),f&&f(e,n),w.current=void 0,ne()})),te=(0,_r.A)((e=>{if(r)return;uc()||e.preventDefault();const t=e.changedTouches[0];null!=t&&(w.current=t.identifier);const n=tc(e,w);if(!1!==n){const{newValue:t,activeIndex:r}=J({finger:n});ic({sliderRef:V,activeIndex:r,setActive:_}),O(t),E&&!ac(t,P)&&E(e,t,r)}M.current=0;const o=(0,Sr.A)(V.current);o.addEventListener("touchmove",Q,{passive:!0}),o.addEventListener("touchend",ee,{passive:!0})})),ne=l.useCallback((()=>{const e=(0,Sr.A)(V.current);e.removeEventListener("mousemove",Q),e.removeEventListener("mouseup",ee),e.removeEventListener("touchmove",Q),e.removeEventListener("touchend",ee)}),[ee,Q]);l.useEffect((()=>{const{current:e}=V;return e.addEventListener("touchstart",te,{passive:uc()}),()=>{e.removeEventListener("touchstart",te),ne()}}),[ne,te]),l.useEffect((()=>{r&&ne()}),[r,ne]);const re=nc(D?I[0]:u,u,c),oe=nc(I[I.length-1],u,c)-re,ie=e=>t=>{var n;null==(n=e.onMouseLeave)||n.call(e,t),k(-1)};return{active:A,axis:Z,axisProps:sc,dragging:C,focusedThumbIndex:B,getHiddenInputProps:(n={})=>{var o;const s=(0,Zl.A)(n),l={onChange:(p=s||{},e=>{var t;null==(t=p.onChange)||t.call(p,e),Y(e,e.target.valueAsNumber)}),onFocus:q(s||{}),onBlur:G(s||{}),onKeyDown:X(s||{})};var p;const f=(0,a.A)({},s,l);return(0,a.A)({tabIndex:b,"aria-labelledby":t,"aria-orientation":h,"aria-valuemax":g(c),"aria-valuemin":g(u),name:d,type:"range",min:e.min,max:e.max,step:null===e.step&&e.marks?"any":null!=(o=e.step)?o:void 0,disabled:r},n,f,{style:(0,a.A)({},xl.A,{direction:i?"rtl":"ltr",width:"100%",height:"100%"})})},getRootProps:(e={})=>{const t=(0,Zl.A)(e),n={onMouseDown:(o=t||{},e=>{var t;if(null==(t=o.onMouseDown)||t.call(o,e),r)return;if(e.defaultPrevented)return;if(0!==e.button)return;e.preventDefault();const n=tc(e,w);if(!1!==n){const{newValue:t,activeIndex:r}=J({finger:n});ic({sliderRef:V,activeIndex:r,setActive:_}),O(t),E&&!ac(t,P)&&E(e,t,r)}M.current=0;const i=(0,Sr.A)(V.current);i.addEventListener("mousemove",Q,{passive:!0}),i.addEventListener("mouseup",ee)})};var o;const i=(0,a.A)({},t,n);return(0,a.A)({},e,{ref:U},i)},getThumbProps:(e={})=>{const t=(0,Zl.A)(e),n={onMouseOver:(r=t||{},e=>{var t;null==(t=r.onMouseOver)||t.call(r,e);const n=Number(e.currentTarget.getAttribute("data-index"));k(n)}),onMouseLeave:ie(t||{})};var r;return(0,a.A)({},e,t,n)},marks:N,open:S,range:D,rootRef:U,trackLeap:oe,trackOffset:re,values:I,getThumbStyle:e=>({pointerEvents:-1!==A&&A!==e?"none":void 0})}}var pc=e=>!e||!(0,Yl.A)(e);function fc(e){return(0,x.Ay)("MuiSlider",e)}var hc=(0,b.A)("MuiSlider",["root","active","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","disabled","dragging","focusVisible","mark","markActive","marked","markLabel","markLabelActive","rail","sizeSmall","thumb","thumbColorPrimary","thumbColorSecondary","thumbColorError","thumbColorSuccess","thumbColorInfo","thumbColorWarning","track","trackInverted","trackFalse","thumbSizeSmall","valueLabel","valueLabelOpen","valueLabelCircle","valueLabelLabel","vertical"]);const mc=["aria-label","aria-valuetext","aria-labelledby","component","components","componentsProps","color","classes","className","disableSwap","disabled","getAriaLabel","getAriaValueText","marks","max","min","name","onChange","onChangeCommitted","orientation","shiftStep","size","step","scale","slotProps","slots","tabIndex","track","value","valueLabelDisplay","valueLabelFormat"];function gc(e){return e}const vc=(0,d.Ay)("span",{name:"MuiSlider",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`color${(0,de.A)(n.color)}`],"medium"!==n.size&&t[`size${(0,de.A)(n.size)}`],n.marked&&t.marked,"vertical"===n.orientation&&t.vertical,"inverted"===n.track&&t.trackInverted,!1===n.track&&t.trackFalse]}})((({theme:e})=>{var t;return{borderRadius:12,boxSizing:"content-box",display:"inline-block",position:"relative",cursor:"pointer",touchAction:"none",WebkitTapHighlightColor:"transparent","@media print":{colorAdjust:"exact"},[`&.${hc.disabled}`]:{pointerEvents:"none",cursor:"default",color:(e.vars||e).palette.grey[400]},[`&.${hc.dragging}`]:{[`& .${hc.thumb}, & .${hc.track}`]:{transition:"none"}},variants:[...Object.keys((null!=(t=e.vars)?t:e).palette).filter((t=>{var n;return(null!=(n=e.vars)?n:e).palette[t].main})).map((t=>({props:{color:t},style:{color:(e.vars||e).palette[t].main}}))),{props:{orientation:"horizontal"},style:{height:4,width:"100%",padding:"13px 0","@media (pointer: coarse)":{padding:"20px 0"}}},{props:{orientation:"horizontal",size:"small"},style:{height:2}},{props:{orientation:"horizontal",marked:!0},style:{marginBottom:20}},{props:{orientation:"vertical"},style:{height:"100%",width:4,padding:"0 13px","@media (pointer: coarse)":{padding:"0 20px"}}},{props:{orientation:"vertical",size:"small"},style:{width:2}},{props:{orientation:"vertical",marked:!0},style:{marginRight:44}}]}})),yc=(0,d.Ay)("span",{name:"MuiSlider",slot:"Rail",overridesResolver:(e,t)=>t.rail})({display:"block",position:"absolute",borderRadius:"inherit",backgroundColor:"currentColor",opacity:.38,variants:[{props:{orientation:"horizontal"},style:{width:"100%",height:"inherit",top:"50%",transform:"translateY(-50%)"}},{props:{orientation:"vertical"},style:{height:"100%",width:"inherit",left:"50%",transform:"translateX(-50%)"}},{props:{track:"inverted"},style:{opacity:1}}]}),bc=(0,d.Ay)("span",{name:"MuiSlider",slot:"Track",overridesResolver:(e,t)=>t.track})((({theme:e})=>{var t;return{display:"block",position:"absolute",borderRadius:"inherit",border:"1px solid currentColor",backgroundColor:"currentColor",transition:e.transitions.create(["left","width","bottom","height"],{duration:e.transitions.duration.shortest}),variants:[{props:{size:"small"},style:{border:"none"}},{props:{orientation:"horizontal"},style:{height:"inherit",top:"50%",transform:"translateY(-50%)"}},{props:{orientation:"vertical"},style:{width:"inherit",left:"50%",transform:"translateX(-50%)"}},{props:{track:!1},style:{display:"none"}},...Object.keys((null!=(t=e.vars)?t:e).palette).filter((t=>{var n;return(null!=(n=e.vars)?n:e).palette[t].main})).map((t=>({props:{color:t,track:"inverted"},style:(0,a.A)({},e.vars?{backgroundColor:e.vars.palette.Slider[`${t}Track`],borderColor:e.vars.palette.Slider[`${t}Track`]}:(0,a.A)({backgroundColor:(0,ue.a)(e.palette[t].main,.62),borderColor:(0,ue.a)(e.palette[t].main,.62)},e.applyStyles("dark",{backgroundColor:(0,ue.e$)(e.palette[t].main,.5)}),e.applyStyles("dark",{borderColor:(0,ue.e$)(e.palette[t].main,.5)})))})))]}})),xc=(0,d.Ay)("span",{name:"MuiSlider",slot:"Thumb",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.thumb,t[`thumbColor${(0,de.A)(n.color)}`],"medium"!==n.size&&t[`thumbSize${(0,de.A)(n.size)}`]]}})((({theme:e})=>{var t;return{position:"absolute",width:20,height:20,boxSizing:"border-box",borderRadius:"50%",outline:0,backgroundColor:"currentColor",display:"flex",alignItems:"center",justifyContent:"center",transition:e.transitions.create(["box-shadow","left","bottom"],{duration:e.transitions.duration.shortest}),"&::before":{position:"absolute",content:'""',borderRadius:"inherit",width:"100%",height:"100%",boxShadow:(e.vars||e).shadows[2]},"&::after":{position:"absolute",content:'""',borderRadius:"50%",width:42,height:42,top:"50%",left:"50%",transform:"translate(-50%, -50%)"},[`&.${hc.disabled}`]:{"&:hover":{boxShadow:"none"}},variants:[{props:{size:"small"},style:{width:12,height:12,"&::before":{boxShadow:"none"}}},{props:{orientation:"horizontal"},style:{top:"50%",transform:"translate(-50%, -50%)"}},{props:{orientation:"vertical"},style:{left:"50%",transform:"translate(-50%, 50%)"}},...Object.keys((null!=(t=e.vars)?t:e).palette).filter((t=>{var n;return(null!=(n=e.vars)?n:e).palette[t].main})).map((t=>({props:{color:t},style:{[`&:hover, &.${hc.focusVisible}`]:(0,a.A)({},e.vars?{boxShadow:`0px 0px 0px 8px rgba(${e.vars.palette[t].mainChannel} / 0.16)`}:{boxShadow:`0px 0px 0px 8px ${(0,ue.X4)(e.palette[t].main,.16)}`},{"@media (hover: none)":{boxShadow:"none"}}),[`&.${hc.active}`]:(0,a.A)({},e.vars?{boxShadow:`0px 0px 0px 14px rgba(${e.vars.palette[t].mainChannel} / 0.16)`}:{boxShadow:`0px 0px 0px 14px ${(0,ue.X4)(e.palette[t].main,.16)}`})}})))]}})),wc=(0,d.Ay)((function(e){const{children:t,className:n,value:r}=e,o=(e=>{const{open:t}=e;return{offset:(0,c.A)(t&&hc.valueLabelOpen),circle:hc.valueLabelCircle,label:hc.valueLabelLabel}})(e);return t?l.cloneElement(t,{className:(0,c.A)(t.props.className)},(0,_.jsxs)(l.Fragment,{children:[t.props.children,(0,_.jsx)("span",{className:(0,c.A)(o.offset,n),"aria-hidden":!0,children:(0,_.jsx)("span",{className:o.circle,children:(0,_.jsx)("span",{className:o.label,children:r})})})]})):null}),{name:"MuiSlider",slot:"ValueLabel",overridesResolver:(e,t)=>t.valueLabel})((({theme:e})=>(0,a.A)({zIndex:1,whiteSpace:"nowrap"},e.typography.body2,{fontWeight:500,transition:e.transitions.create(["transform"],{duration:e.transitions.duration.shortest}),position:"absolute",backgroundColor:(e.vars||e).palette.grey[600],borderRadius:2,color:(e.vars||e).palette.common.white,display:"flex",alignItems:"center",justifyContent:"center",padding:"0.25rem 0.75rem",variants:[{props:{orientation:"horizontal"},style:{transform:"translateY(-100%) scale(0)",top:"-10px",transformOrigin:"bottom center","&::before":{position:"absolute",content:'""',width:8,height:8,transform:"translate(-50%, 50%) rotate(45deg)",backgroundColor:"inherit",bottom:0,left:"50%"},[`&.${hc.valueLabelOpen}`]:{transform:"translateY(-100%) scale(1)"}}},{props:{orientation:"vertical"},style:{transform:"translateY(-50%) scale(0)",right:"30px",top:"50%",transformOrigin:"right center","&::before":{position:"absolute",content:'""',width:8,height:8,transform:"translate(-50%, -50%) rotate(45deg)",backgroundColor:"inherit",right:-8,top:"50%"},[`&.${hc.valueLabelOpen}`]:{transform:"translateY(-50%) scale(1)"}}},{props:{size:"small"},style:{fontSize:e.typography.pxToRem(12),padding:"0.25rem 0.5rem"}},{props:{orientation:"vertical",size:"small"},style:{right:"20px"}}]}))),Ac=(0,d.Ay)("span",{name:"MuiSlider",slot:"Mark",shouldForwardProp:e=>(0,vs.A)(e)&&"markActive"!==e,overridesResolver:(e,t)=>{const{markActive:n}=e;return[t.mark,n&&t.markActive]}})((({theme:e})=>({position:"absolute",width:2,height:2,borderRadius:1,backgroundColor:"currentColor",variants:[{props:{orientation:"horizontal"},style:{top:"50%",transform:"translate(-1px, -50%)"}},{props:{orientation:"vertical"},style:{left:"50%",transform:"translate(-50%, 1px)"}},{props:{markActive:!0},style:{backgroundColor:(e.vars||e).palette.background.paper,opacity:.8}}]}))),_c=(0,d.Ay)("span",{name:"MuiSlider",slot:"MarkLabel",shouldForwardProp:e=>(0,vs.A)(e)&&"markLabelActive"!==e,overridesResolver:(e,t)=>t.markLabel})((({theme:e})=>(0,a.A)({},e.typography.body2,{color:(e.vars||e).palette.text.secondary,position:"absolute",whiteSpace:"nowrap",variants:[{props:{orientation:"horizontal"},style:{top:30,transform:"translateX(-50%)","@media (pointer: coarse)":{top:40}}},{props:{orientation:"vertical"},style:{left:36,transform:"translateY(50%)","@media (pointer: coarse)":{left:44}}},{props:{markLabelActive:!0},style:{color:(e.vars||e).palette.text.primary}}]}))),Sc=({children:e})=>e,kc=l.forwardRef((function(e,t){var n,r,o,i,d,f,h,m,g,v,y,b,x,w,A,S,k,C,T,M,P,O,E,D;const R=(0,p.b)({props:e,name:"MuiSlider"}),I=(0,da.I)(),{"aria-label":N,"aria-valuetext":L,"aria-labelledby":j,component:$="span",components:z={},componentsProps:F={},color:B="primary",classes:H,className:V,disableSwap:W=!1,disabled:U=!1,getAriaLabel:q,getAriaValueText:G,marks:Y=!1,max:X=100,min:K=0,orientation:Z="horizontal",shiftStep:J=10,size:Q="medium",step:ee=1,scale:te=gc,slotProps:ne,slots:re,track:oe="normal",valueLabelDisplay:ie="off",valueLabelFormat:ae=gc}=R,se=(0,s.A)(R,mc),le=(0,a.A)({},R,{isRtl:I,max:X,min:K,classes:H,disabled:U,disableSwap:W,orientation:Z,marks:Y,color:B,size:Q,step:ee,shiftStep:J,scale:te,track:oe,valueLabelDisplay:ie,valueLabelFormat:ae}),{axisProps:ce,getRootProps:ue,getHiddenInputProps:pe,getThumbProps:fe,open:he,active:me,axis:ge,focusedThumbIndex:ve,range:ye,dragging:be,marks:xe,values:we,trackOffset:Ae,trackLeap:_e,getThumbStyle:Se}=dc((0,a.A)({},le,{rootRef:t}));le.marked=xe.length>0&&xe.some((e=>e.label)),le.dragging=be,le.focusedThumbIndex=ve;const ke=(e=>{const{disabled:t,dragging:n,marked:r,orientation:o,track:i,classes:a,color:s,size:l}=e,c={root:["root",t&&"disabled",n&&"dragging",r&&"marked","vertical"===o&&"vertical","inverted"===i&&"trackInverted",!1===i&&"trackFalse",s&&`color${(0,de.A)(s)}`,l&&`size${(0,de.A)(l)}`],rail:["rail"],track:["track"],mark:["mark"],markActive:["markActive"],markLabel:["markLabel"],markLabelActive:["markLabelActive"],valueLabel:["valueLabel"],thumb:["thumb",t&&"disabled",l&&`thumbSize${(0,de.A)(l)}`,s&&`thumbColor${(0,de.A)(s)}`],active:["active"],disabled:["disabled"],focusVisible:["focusVisible"]};return(0,u.A)(c,fc,a)})(le),Ce=null!=(n=null!=(r=null==re?void 0:re.root)?r:z.Root)?n:vc,Te=null!=(o=null!=(i=null==re?void 0:re.rail)?i:z.Rail)?o:yc,Me=null!=(d=null!=(f=null==re?void 0:re.track)?f:z.Track)?d:bc,Pe=null!=(h=null!=(m=null==re?void 0:re.thumb)?m:z.Thumb)?h:xc,Oe=null!=(g=null!=(v=null==re?void 0:re.valueLabel)?v:z.ValueLabel)?g:wc,Ee=null!=(y=null!=(b=null==re?void 0:re.mark)?b:z.Mark)?y:Ac,De=null!=(x=null!=(w=null==re?void 0:re.markLabel)?w:z.MarkLabel)?x:_c,Re=null!=(A=null!=(S=null==re?void 0:re.input)?S:z.Input)?A:"input",Ie=null!=(k=null==ne?void 0:ne.root)?k:F.root,Ne=null!=(C=null==ne?void 0:ne.rail)?C:F.rail,Le=null!=(T=null==ne?void 0:ne.track)?T:F.track,je=null!=(M=null==ne?void 0:ne.thumb)?M:F.thumb,$e=null!=(P=null==ne?void 0:ne.valueLabel)?P:F.valueLabel,ze=null!=(O=null==ne?void 0:ne.mark)?O:F.mark,Fe=null!=(E=null==ne?void 0:ne.markLabel)?E:F.markLabel,Be=null!=(D=null==ne?void 0:ne.input)?D:F.input,He=(0,it.A)({elementType:Ce,getSlotProps:ue,externalSlotProps:Ie,externalForwardedProps:se,additionalProps:(0,a.A)({},pc(Ce)&&{as:$}),ownerState:(0,a.A)({},le,null==Ie?void 0:Ie.ownerState),className:[ke.root,V]}),Ve=(0,it.A)({elementType:Te,externalSlotProps:Ne,ownerState:le,className:ke.rail}),We=(0,it.A)({elementType:Me,externalSlotProps:Le,additionalProps:{style:(0,a.A)({},ce[ge].offset(Ae),ce[ge].leap(_e))},ownerState:(0,a.A)({},le,null==Le?void 0:Le.ownerState),className:ke.track}),Ue=(0,it.A)({elementType:Pe,getSlotProps:fe,externalSlotProps:je,ownerState:(0,a.A)({},le,null==je?void 0:je.ownerState),className:ke.thumb}),qe=(0,it.A)({elementType:Oe,externalSlotProps:$e,ownerState:(0,a.A)({},le,null==$e?void 0:$e.ownerState),className:ke.valueLabel}),Ge=(0,it.A)({elementType:Ee,externalSlotProps:ze,ownerState:le,className:ke.mark}),Ye=(0,it.A)({elementType:De,externalSlotProps:Fe,ownerState:le,className:ke.markLabel}),Xe=(0,it.A)({elementType:Re,getSlotProps:pe,externalSlotProps:Be,ownerState:le});return(0,_.jsxs)(Ce,(0,a.A)({},He,{children:[(0,_.jsx)(Te,(0,a.A)({},Ve)),(0,_.jsx)(Me,(0,a.A)({},We)),xe.filter((e=>e.value>=K&&e.value<=X)).map(((e,t)=>{const n=nc(e.value,K,X),r=ce[ge].offset(n);let o;return o=!1===oe?-1!==we.indexOf(e.value):"normal"===oe&&(ye?e.value>=we[0]&&e.value<=we[we.length-1]:e.value<=we[0])||"inverted"===oe&&(ye?e.value<=we[0]||e.value>=we[we.length-1]:e.value>=we[0]),(0,_.jsxs)(l.Fragment,{children:[(0,_.jsx)(Ee,(0,a.A)({"data-index":t},Ge,!(0,Yl.A)(Ee)&&{markActive:o},{style:(0,a.A)({},r,Ge.style),className:(0,c.A)(Ge.className,o&&ke.markActive)})),null!=e.label?(0,_.jsx)(De,(0,a.A)({"aria-hidden":!0,"data-index":t},Ye,!(0,Yl.A)(De)&&{markLabelActive:o},{style:(0,a.A)({},r,Ye.style),className:(0,c.A)(ke.markLabel,Ye.className,o&&ke.markLabelActive),children:e.label})):null]},t)})),we.map(((e,t)=>{const n=nc(e,K,X),r=ce[ge].offset(n),o="off"===ie?Sc:Oe;return(0,_.jsx)(o,(0,a.A)({},!(0,Yl.A)(o)&&{valueLabelFormat:ae,valueLabelDisplay:ie,value:"function"==typeof ae?ae(te(e),t):ae,index:t,open:he===t||me===t||"on"===ie,disabled:U},qe,{children:(0,_.jsx)(Pe,(0,a.A)({"data-index":t},Ue,{className:(0,c.A)(ke.thumb,Ue.className,me===t&&ke.active,ve===t&&ke.focusVisible),style:(0,a.A)({},r,Se(t),Ue.style),children:(0,_.jsx)(Re,(0,a.A)({"data-index":t,"aria-label":q?q(t):N,"aria-valuenow":te(e),"aria-labelledby":j,"aria-valuetext":G?G(te(e),t):L,value:we[t]},Xe))}))}),t)}))]}))}));var Cc=kc;var Tc=function(e={}){const{autoHideDuration:t=null,disableWindowBlurListener:n=!1,onClose:r,open:o,resumeHideDuration:i}=e,s=(0,h.A)();l.useEffect((()=>{if(o)return document.addEventListener("keydown",e),()=>{document.removeEventListener("keydown",e)};function e(e){e.defaultPrevented||"Escape"!==e.key&&"Esc"!==e.key||null==r||r(e,"escapeKeyDown")}}),[o,r]);const c=(0,_r.A)(((e,t)=>{null==r||r(e,t)})),u=(0,_r.A)((e=>{r&&null!=e&&s.start(e,(()=>{c(null,"timeout")}))}));l.useEffect((()=>(o&&u(t),s.clear)),[o,t,u,s]);const d=s.clear,p=l.useCallback((()=>{null!=t&&u(null!=i?i:.5*t)}),[t,i,u]),f=e=>t=>{const n=e.onFocus;null==n||n(t),d()},m=e=>t=>{const n=e.onMouseEnter;null==n||n(t),d()},g=e=>t=>{const n=e.onMouseLeave;null==n||n(t),p()};return l.useEffect((()=>{if(!n&&o)return window.addEventListener("focus",p),window.addEventListener("blur",d),()=>{window.removeEventListener("focus",p),window.removeEventListener("blur",d)}}),[n,o,p,d]),{getRootProps:(t={})=>{const n=(0,a.A)({},(0,Zl.A)(e),(0,Zl.A)(t));return(0,a.A)({role:"presentation"},t,n,{onBlur:(r=n,e=>{const t=r.onBlur;null==t||t(e),p()}),onFocus:f(n),onMouseEnter:m(n),onMouseLeave:g(n)});var r},onClickAway:e=>{null==r||r(e,"clickaway")}}};function Mc(e){return(0,x.Ay)("MuiSnackbarContent",e)}var Pc=(0,b.A)("MuiSnackbarContent",["root","message","action"]);const Oc=["action","className","message","role"],Ec=(0,d.Ay)(O.A,{name:"MuiSnackbarContent",slot:"Root",overridesResolver:(e,t)=>t.root})((({theme:e})=>{const t="light"===e.palette.mode?.8:.98,n=(0,ue.tL)(e.palette.background.default,t);return(0,a.A)({},e.typography.body2,{color:e.vars?e.vars.palette.SnackbarContent.color:e.palette.getContrastText(n),backgroundColor:e.vars?e.vars.palette.SnackbarContent.bg:n,display:"flex",alignItems:"center",flexWrap:"wrap",padding:"6px 16px",borderRadius:(e.vars||e).shape.borderRadius,flexGrow:1,[e.breakpoints.up("sm")]:{flexGrow:"initial",minWidth:288}})})),Dc=(0,d.Ay)("div",{name:"MuiSnackbarContent",slot:"Message",overridesResolver:(e,t)=>t.message})({padding:"8px 0"}),Rc=(0,d.Ay)("div",{name:"MuiSnackbarContent",slot:"Action",overridesResolver:(e,t)=>t.action})({display:"flex",alignItems:"center",marginLeft:"auto",paddingLeft:16,marginRight:-8});var Ic=l.forwardRef((function(e,t){const n=(0,p.b)({props:e,name:"MuiSnackbarContent"}),{action:r,className:o,message:i,role:l="alert"}=n,d=(0,s.A)(n,Oc),f=n,h=(e=>{const{classes:t}=e;return(0,u.A)({root:["root"],action:["action"],message:["message"]},Mc,t)})(f);return(0,_.jsxs)(Ec,(0,a.A)({role:l,square:!0,elevation:6,className:(0,c.A)(h.root,o),ownerState:f,ref:t},d,{children:[(0,_.jsx)(Dc,{className:h.message,ownerState:f,children:i}),r?(0,_.jsx)(Rc,{className:h.action,ownerState:f,children:r}):null]}))}));function Nc(e){return(0,x.Ay)("MuiSnackbar",e)}var Lc=(0,b.A)("MuiSnackbar",["root","anchorOriginTopCenter","anchorOriginBottomCenter","anchorOriginTopRight","anchorOriginBottomRight","anchorOriginTopLeft","anchorOriginBottomLeft"]);const jc=["onEnter","onExited"],$c=["action","anchorOrigin","autoHideDuration","children","className","ClickAwayListenerProps","ContentProps","disableWindowBlurListener","message","onBlur","onClose","onFocus","onMouseEnter","onMouseLeave","open","resumeHideDuration","TransitionComponent","transitionDuration","TransitionProps"],zc=(0,d.Ay)("div",{name:"MuiSnackbar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`anchorOrigin${(0,de.A)(n.anchorOrigin.vertical)}${(0,de.A)(n.anchorOrigin.horizontal)}`]]}})((({theme:e,ownerState:t})=>(0,a.A)({zIndex:(e.vars||e).zIndex.snackbar,position:"fixed",display:"flex",left:8,right:8,justifyContent:"center",alignItems:"center"},"top"===t.anchorOrigin.vertical?{top:8}:{bottom:8},"left"===t.anchorOrigin.horizontal&&{justifyContent:"flex-start"},"right"===t.anchorOrigin.horizontal&&{justifyContent:"flex-end"},{[e.breakpoints.up("sm")]:(0,a.A)({},"top"===t.anchorOrigin.vertical?{top:24}:{bottom:24},"center"===t.anchorOrigin.horizontal&&{left:"50%",right:"auto",transform:"translateX(-50%)"},"left"===t.anchorOrigin.horizontal&&{left:24,right:"auto"},"right"===t.anchorOrigin.horizontal&&{right:24,left:"auto"})})));var Fc=l.forwardRef((function(e,t){const n=(0,p.b)({props:e,name:"MuiSnackbar"}),r=(0,v.A)(),o={enter:r.transitions.duration.enteringScreen,exit:r.transitions.duration.leavingScreen},{action:i,anchorOrigin:{vertical:c,horizontal:d}={vertical:"bottom",horizontal:"left"},autoHideDuration:f=null,children:h,className:m,ClickAwayListenerProps:g,ContentProps:y,disableWindowBlurListener:b=!1,message:x,open:w,TransitionComponent:A=pi.A,transitionDuration:S=o,TransitionProps:{onEnter:k,onExited:C}={}}=n,T=(0,s.A)(n.TransitionProps,jc),M=(0,s.A)(n,$c),P=(0,a.A)({},n,{anchorOrigin:{vertical:c,horizontal:d},autoHideDuration:f,disableWindowBlurListener:b,TransitionComponent:A,transitionDuration:S}),O=(e=>{const{classes:t,anchorOrigin:n}=e,r={root:["root",`anchorOrigin${(0,de.A)(n.vertical)}${(0,de.A)(n.horizontal)}`]};return(0,u.A)(r,Nc,t)})(P),{getRootProps:E,onClickAway:D}=Tc((0,a.A)({},P)),[R,I]=l.useState(!0),N=(0,it.A)({elementType:zc,getSlotProps:E,externalForwardedProps:M,ownerState:P,additionalProps:{ref:t},className:[O.root,m]});return!w&&R?null:(0,_.jsx)(Cr,(0,a.A)({onClickAway:D},g,{children:(0,_.jsx)(zc,(0,a.A)({},N,{children:(0,_.jsx)(A,(0,a.A)({appear:!0,in:w,timeout:S,direction:"top"===c?"down":"up",onEnter:(e,t)=>{I(!1),k&&k(e,t)},onExited:e=>{I(!0),C&&C(e)}},T,{children:h||(0,_.jsx)(Ic,(0,a.A)({message:x,action:i},y))}))}))}))}));const Bc=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"],Hc={entering:{transform:"none"},entered:{transform:"none"}},Vc=l.forwardRef((function(e,t){const n=(0,v.A)(),r={enter:n.transitions.duration.enteringScreen,exit:n.transitions.duration.leavingScreen},{addEndListener:o,appear:i=!0,children:c,easing:u,in:d,onEnter:p,onEntered:h,onEntering:m,onExit:b,onExited:x,onExiting:w,style:A,timeout:S=r,TransitionComponent:k=f.Ay}=e,C=(0,s.A)(e,Bc),T=l.useRef(null),M=(0,y.A)(T,c.ref,t),P=e=>t=>{if(e){const n=T.current;void 0===t?e(n):e(n,t)}},O=P(m),E=P(((e,t)=>{(0,g.q)(e);const r=(0,g.c)({style:A,timeout:S,easing:u},{mode:"enter"});e.style.webkitTransition=n.transitions.create("transform",r),e.style.transition=n.transitions.create("transform",r),p&&p(e,t)})),D=P(h),R=P(w),I=P((e=>{const t=(0,g.c)({style:A,timeout:S,easing:u},{mode:"exit"});e.style.webkitTransition=n.transitions.create("transform",t),e.style.transition=n.transitions.create("transform",t),b&&b(e)})),N=P(x);return(0,_.jsx)(k,(0,a.A)({appear:i,in:d,nodeRef:T,onEnter:E,onEntered:D,onEntering:O,onExit:I,onExited:N,onExiting:R,addEndListener:e=>{o&&o(T.current,e)},timeout:S},C,{children:(e,t)=>l.cloneElement(c,(0,a.A)({style:(0,a.A)({transform:"scale(0)",visibility:"exited"!==e||d?void 0:"hidden"},Hc[e],A,c.props.style),ref:M},t))}))}));var Wc=Vc;function Uc(e){return(0,x.Ay)("MuiSpeedDial",e)}var qc=(0,b.A)("MuiSpeedDial",["root","fab","directionUp","directionDown","directionLeft","directionRight","actions","actionsClosed"]);const Gc=["ref"],Yc=["ariaLabel","FabProps","children","className","direction","hidden","icon","onBlur","onClose","onFocus","onKeyDown","onMouseEnter","onMouseLeave","onOpen","open","openIcon","TransitionComponent","transitionDuration","TransitionProps"],Xc=["ref"];function Kc(e){return"up"===e||"down"===e?"vertical":"right"===e||"left"===e?"horizontal":void 0}const Zc=(0,d.Ay)("div",{name:"MuiSpeedDial",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`direction${(0,de.A)(n.direction)}`]]}})((({theme:e,ownerState:t})=>(0,a.A)({zIndex:(e.vars||e).zIndex.speedDial,display:"flex",alignItems:"center",pointerEvents:"none"},"up"===t.direction&&{flexDirection:"column-reverse",[`& .${qc.actions}`]:{flexDirection:"column-reverse",marginBottom:-32,paddingBottom:48}},"down"===t.direction&&{flexDirection:"column",[`& .${qc.actions}`]:{flexDirection:"column",marginTop:-32,paddingTop:48}},"left"===t.direction&&{flexDirection:"row-reverse",[`& .${qc.actions}`]:{flexDirection:"row-reverse",marginRight:-32,paddingRight:48}},"right"===t.direction&&{flexDirection:"row",[`& .${qc.actions}`]:{flexDirection:"row",marginLeft:-32,paddingLeft:48}}))),Jc=(0,d.Ay)(fo,{name:"MuiSpeedDial",slot:"Fab",overridesResolver:(e,t)=>t.fab})((()=>({pointerEvents:"auto"}))),Qc=(0,d.Ay)("div",{name:"MuiSpeedDial",slot:"Actions",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.actions,!n.open&&t.actionsClosed]}})((({ownerState:e})=>(0,a.A)({display:"flex",pointerEvents:"auto"},!e.open&&{transition:"top 0s linear 0.2s",pointerEvents:"none"})));var eu=l.forwardRef((function(e,t){const n=(0,p.b)({props:e,name:"MuiSpeedDial"}),r=(0,v.A)(),o={enter:r.transitions.duration.enteringScreen,exit:r.transitions.duration.leavingScreen},{ariaLabel:i,FabProps:{ref:d}={},children:f,className:m,direction:g="up",hidden:b=!1,icon:x,onBlur:w,onClose:A,onFocus:S,onKeyDown:k,onMouseEnter:C,onMouseLeave:T,onOpen:M,open:P,TransitionComponent:O=Wc,transitionDuration:E=o,TransitionProps:R}=n,I=(0,s.A)(n.FabProps,Gc),N=(0,s.A)(n,Yc),[L,j]=(0,D.A)({controlled:P,default:!1,name:"SpeedDial",state:"open"}),$=(0,a.A)({},n,{open:L,direction:g}),z=(e=>{const{classes:t,open:n,direction:r}=e,o={root:["root",`direction${(0,de.A)(r)}`],fab:["fab"],actions:["actions",!n&&"actionsClosed"]};return(0,u.A)(o,Uc,t)})($),F=(0,h.A)(),B=l.useRef(0),H=l.useRef(),V=l.useRef([]);V.current=[V.current[0]];const W=l.useCallback((e=>{V.current[0]=e}),[]),U=(0,y.A)(d,W),q=(e,t)=>n=>{V.current[e+1]=n,t&&t(n)};l.useEffect((()=>{L||(B.current=0,H.current=void 0)}),[L]);const G=e=>{"mouseleave"===e.type&&T&&T(e),"blur"===e.type&&w&&w(e),F.clear(),"blur"===e.type?F.start(0,(()=>{j(!1),A&&A(e,"blur")})):(j(!1),A&&A(e,"mouseLeave"))},Y=e=>{"mouseenter"===e.type&&C&&C(e),"focus"===e.type&&S&&S(e),F.clear(),L||F.start(0,(()=>{if(j(!0),M){M(e,{focus:"focus",mouseenter:"mouseEnter"}[e.type])}}))},X=i.replace(/^[^a-z]+|[^\w:.-]+/gi,""),K=l.Children.toArray(f).filter((e=>l.isValidElement(e))),Z=K.map(((e,t)=>{const n=e.props,{FabProps:{ref:r}={},tooltipPlacement:o}=n,i=(0,s.A)(n.FabProps,Xc),c=o||("vertical"===Kc(g)?"left":"top");return l.cloneElement(e,{FabProps:(0,a.A)({},i,{ref:q(t,r)}),delay:30*(L?t:K.length-t),open:L,tooltipPlacement:c,id:`${X}-action-${t}`})}));return(0,_.jsxs)(Zc,(0,a.A)({className:(0,c.A)(z.root,m),ref:t,role:"presentation",onKeyDown:e=>{k&&k(e);const t=e.key.replace("Arrow","").toLowerCase(),{current:n=t}=H;if("Escape"===e.key)return j(!1),V.current[0].focus(),void(A&&A(e,"escapeKeyDown"));if(Kc(t)===Kc(n)&&void 0!==Kc(t)){e.preventDefault();const r=t===n?1:-1,o=(0,bl.A)(B.current+r,0,V.current.length-1);V.current[o].focus(),B.current=o,H.current=n}},onBlur:G,onFocus:Y,onMouseEnter:Y,onMouseLeave:G,ownerState:$},N,{children:[(0,_.jsx)(O,(0,a.A)({in:!b,timeout:E,unmountOnExit:!0},R,{children:(0,_.jsx)(Jc,(0,a.A)({color:"primary","aria-label":i,"aria-haspopup":"true","aria-expanded":L,"aria-controls":`${X}-actions`},I,{onClick:e=>{I.onClick&&I.onClick(e),F.clear(),L?(j(!1),A&&A(e,"toggle")):(j(!0),M&&M(e,"toggle"))},className:(0,c.A)(z.fab,I.className),ref:U,ownerState:$,children:l.isValidElement(x)&&(0,Bi.A)(x,["SpeedDialIcon"])?l.cloneElement(x,{open:L}):x}))})),(0,_.jsx)(Qc,{id:`${X}-actions`,role:"menu","aria-orientation":Kc(g),className:(0,c.A)(z.actions,!L&&z.actionsClosed),ownerState:$,children:Z})]}))})),tu=n(56655);function nu(e){return(0,x.Ay)("MuiSpeedDialAction",e)}var ru=(0,b.A)("MuiSpeedDialAction",["fab","fabClosed","staticTooltip","staticTooltipClosed","staticTooltipLabel","tooltipPlacementLeft","tooltipPlacementRight"]);const ou=["className","delay","FabProps","icon","id","open","TooltipClasses","tooltipOpen","tooltipPlacement","tooltipTitle"],iu=(0,d.Ay)(fo,{name:"MuiSpeedDialAction",slot:"Fab",skipVariantsResolver:!1,overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.fab,!n.open&&t.fabClosed]}})((({theme:e,ownerState:t})=>(0,a.A)({margin:8,color:(e.vars||e).palette.text.secondary,backgroundColor:(e.vars||e).palette.background.paper,"&:hover":{backgroundColor:e.vars?e.vars.palette.SpeedDialAction.fabHoverBg:(0,ue.tL)(e.palette.background.paper,.15)},transition:`${e.transitions.create("transform",{duration:e.transitions.duration.shorter})}, opacity 0.8s`,opacity:1},!t.open&&{opacity:0,transform:"scale(0)"}))),au=(0,d.Ay)("span",{name:"MuiSpeedDialAction",slot:"StaticTooltip",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.staticTooltip,!n.open&&t.staticTooltipClosed,t[`tooltipPlacement${(0,de.A)(n.tooltipPlacement)}`]]}})((({theme:e,ownerState:t})=>({position:"relative",display:"flex",alignItems:"center",[`& .${ru.staticTooltipLabel}`]:(0,a.A)({transition:e.transitions.create(["transform","opacity"],{duration:e.transitions.duration.shorter}),opacity:1},!t.open&&{opacity:0,transform:"scale(0.5)"},"left"===t.tooltipPlacement&&{transformOrigin:"100% 50%",right:"100%",marginRight:8},"right"===t.tooltipPlacement&&{transformOrigin:"0% 50%",left:"100%",marginLeft:8})}))),su=(0,d.Ay)("span",{name:"MuiSpeedDialAction",slot:"StaticTooltipLabel",overridesResolver:(e,t)=>t.staticTooltipLabel})((({theme:e})=>(0,a.A)({position:"absolute"},e.typography.body1,{backgroundColor:(e.vars||e).palette.background.paper,borderRadius:(e.vars||e).shape.borderRadius,boxShadow:(e.vars||e).shadows[1],color:(e.vars||e).palette.text.secondary,padding:"4px 16px",wordBreak:"keep-all"})));var lu=l.forwardRef((function(e,t){const n=(0,p.b)({props:e,name:"MuiSpeedDialAction"}),{className:r,delay:o=0,FabProps:i={},icon:d,id:f,open:h,TooltipClasses:m,tooltipOpen:g=!1,tooltipPlacement:v="left",tooltipTitle:y}=n,b=(0,s.A)(n,ou),x=(0,a.A)({},n,{tooltipPlacement:v}),w=(e=>{const{open:t,tooltipPlacement:n,classes:r}=e,o={fab:["fab",!t&&"fabClosed"],staticTooltip:["staticTooltip",`tooltipPlacement${(0,de.A)(n)}`,!t&&"staticTooltipClosed"],staticTooltipLabel:["staticTooltipLabel"]};return(0,u.A)(o,nu,r)})(x),[A,S]=l.useState(g),k={transitionDelay:`${o}ms`},C=(0,_.jsx)(iu,(0,a.A)({size:"small",className:(0,c.A)(w.fab,r),tabIndex:-1,role:"menuitem",ownerState:x},i,{style:(0,a.A)({},k,i.style),children:d}));return g?(0,_.jsxs)(au,(0,a.A)({id:f,ref:t,className:w.staticTooltip,ownerState:x},b,{children:[(0,_.jsx)(su,{style:k,id:`${f}-label`,className:w.staticTooltipLabel,ownerState:x,children:y}),l.cloneElement(C,{"aria-labelledby":`${f}-label`})]})):(!h&&A&&S(!1),(0,_.jsx)(tu.A,(0,a.A)({id:f,ref:t,title:y,placement:v,onClose:()=>{S(!1)},onOpen:()=>{S(!0)},open:h&&A,classes:m},b,{children:C})))})),cu=(0,me.A)((0,_.jsx)("path",{d:"M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"}),"Add");function uu(e){return(0,x.Ay)("MuiSpeedDialIcon",e)}var du=(0,b.A)("MuiSpeedDialIcon",["root","icon","iconOpen","iconWithOpenIconOpen","openIcon","openIconOpen"]);const pu=["className","icon","open","openIcon"],fu=(0,d.Ay)("span",{name:"MuiSpeedDialIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${du.icon}`]:t.icon},{[`& .${du.icon}`]:n.open&&t.iconOpen},{[`& .${du.icon}`]:n.open&&n.openIcon&&t.iconWithOpenIconOpen},{[`& .${du.openIcon}`]:t.openIcon},{[`& .${du.openIcon}`]:n.open&&t.openIconOpen},t.root]}})((({theme:e,ownerState:t})=>({height:24,[`& .${du.icon}`]:(0,a.A)({transition:e.transitions.create(["transform","opacity"],{duration:e.transitions.duration.short})},t.open&&(0,a.A)({transform:"rotate(45deg)"},t.openIcon&&{opacity:0})),[`& .${du.openIcon}`]:(0,a.A)({position:"absolute",transition:e.transitions.create(["transform","opacity"],{duration:e.transitions.duration.short}),opacity:0,transform:"rotate(-45deg)"},t.open&&{transform:"rotate(0deg)",opacity:1})}))),hu=l.forwardRef((function(e,t){const n=(0,p.b)({props:e,name:"MuiSpeedDialIcon"}),{className:r,icon:o,openIcon:i}=n,d=(0,s.A)(n,pu),f=n,h=(e=>{const{classes:t,open:n,openIcon:r}=e,o={root:["root"],icon:["icon",n&&"iconOpen",r&&n&&"iconWithOpenIconOpen"],openIcon:["openIcon",n&&"openIconOpen"]};return(0,u.A)(o,uu,t)})(f);function m(e,t){return l.isValidElement(e)?l.cloneElement(e,{className:t}):e}return(0,_.jsxs)(fu,(0,a.A)({className:(0,c.A)(h.root,r),ref:t,ownerState:f},d,{children:[i?m(i,h.openIcon):null,o?m(o,h.icon):(0,_.jsx)(cu,{className:h.icon})]}))}));hu.muiName="SpeedDialIcon";var mu=hu,gu=n(30995);var vu=(0,b.A)("MuiStack",["root"]);const yu=l.createContext({});function bu(){return l.useContext(yu)}var xu=yu;const wu=l.createContext({});function Au(){return l.useContext(wu)}var _u=wu;function Su(e){return(0,x.Ay)("MuiStep",e)}var ku=(0,b.A)("MuiStep",["root","horizontal","vertical","alternativeLabel","completed"]);const Cu=["active","children","className","component","completed","disabled","expanded","index","last"],Tu=(0,d.Ay)("div",{name:"MuiStep",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.orientation],n.alternativeLabel&&t.alternativeLabel,n.completed&&t.completed]}})((({ownerState:e})=>(0,a.A)({},"horizontal"===e.orientation&&{paddingLeft:8,paddingRight:8},e.alternativeLabel&&{flex:1,position:"relative"})));var Mu=l.forwardRef((function(e,t){const n=(0,p.b)({props:e,name:"MuiStep"}),{active:r,children:o,className:i,component:d="div",completed:f,disabled:h,expanded:m=!1,index:g,last:v}=n,y=(0,s.A)(n,Cu),{activeStep:b,connector:x,alternativeLabel:w,orientation:A,nonLinear:S}=l.useContext(xu);let[k=!1,C=!1,T=!1]=[r,f,h];b===g?k=void 0===r||r:!S&&b>g?C=void 0===f||f:!S&&b<g&&(T=void 0===h||h);const M=l.useMemo((()=>({index:g,last:v,expanded:m,icon:g+1,active:k,completed:C,disabled:T})),[g,v,m,k,C,T]),P=(0,a.A)({},n,{active:k,orientation:A,alternativeLabel:w,completed:C,disabled:T,expanded:m,component:d}),O=(e=>{const{classes:t,orientation:n,alternativeLabel:r,completed:o}=e,i={root:["root",n,r&&"alternativeLabel",o&&"completed"]};return(0,u.A)(i,Su,t)})(P),E=(0,_.jsxs)(Tu,(0,a.A)({as:d,className:(0,c.A)(O.root,i),ref:t,ownerState:P},y,{children:[x&&w&&0!==g?x:null,o]}));return(0,_.jsx)(_u.Provider,{value:M,children:x&&!w&&0!==g?(0,_.jsxs)(l.Fragment,{children:[x,E]}):E})})),Pu=(0,me.A)((0,_.jsx)("path",{d:"M12 0a12 12 0 1 0 0 24 12 12 0 0 0 0-24zm-2 17l-5-5 1.4-1.4 3.6 3.6 7.6-7.6L19 8l-9 9z"}),"CheckCircle"),Ou=(0,me.A)((0,_.jsx)("path",{d:"M1 21h22L12 2 1 21zm12-3h-2v-2h2v2zm0-4h-2v-4h2v4z"}),"Warning"),Eu=n(64623);function Du(e){return(0,x.Ay)("MuiStepIcon",e)}var Ru,Iu=(0,b.A)("MuiStepIcon",["root","active","completed","error","text"]);const Nu=["active","className","completed","error","icon"],Lu=(0,d.Ay)(Eu.A,{name:"MuiStepIcon",slot:"Root",overridesResolver:(e,t)=>t.root})((({theme:e})=>({display:"block",transition:e.transitions.create("color",{duration:e.transitions.duration.shortest}),color:(e.vars||e).palette.text.disabled,[`&.${Iu.completed}`]:{color:(e.vars||e).palette.primary.main},[`&.${Iu.active}`]:{color:(e.vars||e).palette.primary.main},[`&.${Iu.error}`]:{color:(e.vars||e).palette.error.main}}))),ju=(0,d.Ay)("text",{name:"MuiStepIcon",slot:"Text",overridesResolver:(e,t)=>t.text})((({theme:e})=>({fill:(e.vars||e).palette.primary.contrastText,fontSize:e.typography.caption.fontSize,fontFamily:e.typography.fontFamily})));var $u=l.forwardRef((function(e,t){const n=(0,p.b)({props:e,name:"MuiStepIcon"}),{active:r=!1,className:o,completed:i=!1,error:l=!1,icon:d}=n,f=(0,s.A)(n,Nu),h=(0,a.A)({},n,{active:r,completed:i,error:l}),m=(e=>{const{classes:t,active:n,completed:r,error:o}=e,i={root:["root",n&&"active",r&&"completed",o&&"error"],text:["text"]};return(0,u.A)(i,Du,t)})(h);if("number"==typeof d||"string"==typeof d){const e=(0,c.A)(o,m.root);return l?(0,_.jsx)(Lu,(0,a.A)({as:Ou,className:e,ref:t,ownerState:h},f)):i?(0,_.jsx)(Lu,(0,a.A)({as:Pu,className:e,ref:t,ownerState:h},f)):(0,_.jsxs)(Lu,(0,a.A)({className:e,ref:t,ownerState:h},f,{children:[Ru||(Ru=(0,_.jsx)("circle",{cx:"12",cy:"12",r:"12"})),(0,_.jsx)(ju,{className:m.text,x:"12",y:"12",textAnchor:"middle",dominantBaseline:"central",ownerState:h,children:d})]}))}return d}));function zu(e){return(0,x.Ay)("MuiStepLabel",e)}var Fu=(0,b.A)("MuiStepLabel",["root","horizontal","vertical","label","active","completed","error","disabled","iconContainer","alternativeLabel","labelContainer"]);const Bu=["children","className","componentsProps","error","icon","optional","slotProps","StepIconComponent","StepIconProps"],Hu=(0,d.Ay)("span",{name:"MuiStepLabel",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.orientation]]}})((({ownerState:e})=>(0,a.A)({display:"flex",alignItems:"center",[`&.${Fu.alternativeLabel}`]:{flexDirection:"column"},[`&.${Fu.disabled}`]:{cursor:"default"}},"vertical"===e.orientation&&{textAlign:"left",padding:"8px 0"}))),Vu=(0,d.Ay)("span",{name:"MuiStepLabel",slot:"Label",overridesResolver:(e,t)=>t.label})((({theme:e})=>(0,a.A)({},e.typography.body2,{display:"block",transition:e.transitions.create("color",{duration:e.transitions.duration.shortest}),[`&.${Fu.active}`]:{color:(e.vars||e).palette.text.primary,fontWeight:500},[`&.${Fu.completed}`]:{color:(e.vars||e).palette.text.primary,fontWeight:500},[`&.${Fu.alternativeLabel}`]:{marginTop:16},[`&.${Fu.error}`]:{color:(e.vars||e).palette.error.main}}))),Wu=(0,d.Ay)("span",{name:"MuiStepLabel",slot:"IconContainer",overridesResolver:(e,t)=>t.iconContainer})((()=>({flexShrink:0,display:"flex",paddingRight:8,[`&.${Fu.alternativeLabel}`]:{paddingRight:0}}))),Uu=(0,d.Ay)("span",{name:"MuiStepLabel",slot:"LabelContainer",overridesResolver:(e,t)=>t.labelContainer})((({theme:e})=>({width:"100%",color:(e.vars||e).palette.text.secondary,[`&.${Fu.alternativeLabel}`]:{textAlign:"center"}}))),qu=l.forwardRef((function(e,t){var n;const r=(0,p.b)({props:e,name:"MuiStepLabel"}),{children:o,className:i,componentsProps:d={},error:f=!1,icon:h,optional:m,slotProps:g={},StepIconComponent:v,StepIconProps:y}=r,b=(0,s.A)(r,Bu),{alternativeLabel:x,orientation:w}=l.useContext(xu),{active:A,disabled:S,completed:k,icon:C}=l.useContext(_u),T=h||C;let M=v;T&&!M&&(M=$u);const P=(0,a.A)({},r,{active:A,alternativeLabel:x,completed:k,disabled:S,error:f,orientation:w}),O=(e=>{const{classes:t,orientation:n,active:r,completed:o,error:i,disabled:a,alternativeLabel:s}=e,l={root:["root",n,i&&"error",a&&"disabled",s&&"alternativeLabel"],label:["label",r&&"active",o&&"completed",i&&"error",a&&"disabled",s&&"alternativeLabel"],iconContainer:["iconContainer",r&&"active",o&&"completed",i&&"error",a&&"disabled",s&&"alternativeLabel"],labelContainer:["labelContainer",s&&"alternativeLabel"]};return(0,u.A)(l,zu,t)})(P),E=null!=(n=g.label)?n:d.label;return(0,_.jsxs)(Hu,(0,a.A)({className:(0,c.A)(O.root,i),ref:t,ownerState:P},b,{children:[T||M?(0,_.jsx)(Wu,{className:O.iconContainer,ownerState:P,children:(0,_.jsx)(M,(0,a.A)({completed:k,active:A,error:f,icon:T},y))}):null,(0,_.jsxs)(Uu,{className:O.labelContainer,ownerState:P,children:[o?(0,_.jsx)(Vu,(0,a.A)({ownerState:P},E,{className:(0,c.A)(O.label,null==E?void 0:E.className),children:o})):null,m]})]}))}));qu.muiName="StepLabel";var Gu=qu;function Yu(e){return(0,x.Ay)("MuiStepButton",e)}var Xu=(0,b.A)("MuiStepButton",["root","horizontal","vertical","touchRipple"]);const Ku=["children","className","icon","optional"],Zu=(0,d.Ay)(ne.A,{name:"MuiStepButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${Xu.touchRipple}`]:t.touchRipple},t.root,t[n.orientation]]}})((({ownerState:e})=>(0,a.A)({width:"100%",padding:"24px 16px",margin:"-24px -16px",boxSizing:"content-box"},"vertical"===e.orientation&&{justifyContent:"flex-start",padding:"8px",margin:"-8px"},{[`& .${Xu.touchRipple}`]:{color:"rgba(0, 0, 0, 0.3)"}})));var Ju=l.forwardRef((function(e,t){const n=(0,p.b)({props:e,name:"MuiStepButton"}),{children:r,className:o,icon:i,optional:d}=n,f=(0,s.A)(n,Ku),{disabled:h,active:m}=l.useContext(_u),{orientation:g}=l.useContext(xu),v=(0,a.A)({},n,{orientation:g}),y=(e=>{const{classes:t,orientation:n}=e,r={root:["root",n],touchRipple:["touchRipple"]};return(0,u.A)(r,Yu,t)})(v),b={icon:i,optional:d},x=(0,Bi.A)(r,["StepLabel"])?l.cloneElement(r,b):(0,_.jsx)(Gu,(0,a.A)({},b,{children:r}));return(0,_.jsx)(Zu,(0,a.A)({focusRipple:!0,disabled:h,TouchRippleProps:{className:y.touchRipple},className:(0,c.A)(y.root,o),ref:t,ownerState:v,"aria-current":m?"step":void 0},f,{children:x}))}));function Qu(e){return(0,x.Ay)("MuiStepConnector",e)}var ed=(0,b.A)("MuiStepConnector",["root","horizontal","vertical","alternativeLabel","active","completed","disabled","line","lineHorizontal","lineVertical"]);const td=["className"],nd=(0,d.Ay)("div",{name:"MuiStepConnector",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.orientation],n.alternativeLabel&&t.alternativeLabel,n.completed&&t.completed]}})((({ownerState:e})=>(0,a.A)({flex:"1 1 auto"},"vertical"===e.orientation&&{marginLeft:12},e.alternativeLabel&&{position:"absolute",top:12,left:"calc(-50% + 20px)",right:"calc(50% + 20px)"}))),rd=(0,d.Ay)("span",{name:"MuiStepConnector",slot:"Line",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.line,t[`line${(0,de.A)(n.orientation)}`]]}})((({ownerState:e,theme:t})=>{const n="light"===t.palette.mode?t.palette.grey[400]:t.palette.grey[600];return(0,a.A)({display:"block",borderColor:t.vars?t.vars.palette.StepConnector.border:n},"horizontal"===e.orientation&&{borderTopStyle:"solid",borderTopWidth:1},"vertical"===e.orientation&&{borderLeftStyle:"solid",borderLeftWidth:1,minHeight:24})}));var od=l.forwardRef((function(e,t){const n=(0,p.b)({props:e,name:"MuiStepConnector"}),{className:r}=n,o=(0,s.A)(n,td),{alternativeLabel:i,orientation:d="horizontal"}=l.useContext(xu),{active:f,disabled:h,completed:m}=l.useContext(_u),g=(0,a.A)({},n,{alternativeLabel:i,orientation:d,active:f,completed:m,disabled:h}),v=(e=>{const{classes:t,orientation:n,alternativeLabel:r,active:o,completed:i,disabled:a}=e,s={root:["root",n,r&&"alternativeLabel",o&&"active",i&&"completed",a&&"disabled"],line:["line",`line${(0,de.A)(n)}`]};return(0,u.A)(s,Qu,t)})(g);return(0,_.jsx)(nd,(0,a.A)({className:(0,c.A)(v.root,r),ref:t,ownerState:g},o,{children:(0,_.jsx)(rd,{className:v.line,ownerState:g})}))}));function id(e){return(0,x.Ay)("MuiStepContent",e)}var ad=(0,b.A)("MuiStepContent",["root","last","transition"]);const sd=["children","className","TransitionComponent","transitionDuration","TransitionProps"],ld=(0,d.Ay)("div",{name:"MuiStepContent",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.last&&t.last]}})((({ownerState:e,theme:t})=>(0,a.A)({marginLeft:12,paddingLeft:20,paddingRight:8,borderLeft:t.vars?`1px solid ${t.vars.palette.StepContent.border}`:`1px solid ${"light"===t.palette.mode?t.palette.grey[400]:t.palette.grey[600]}`},e.last&&{borderLeft:"none"}))),cd=(0,d.Ay)(P,{name:"MuiStepContent",slot:"Transition",overridesResolver:(e,t)=>t.transition})({});var ud=l.forwardRef((function(e,t){const n=(0,p.b)({props:e,name:"MuiStepContent"}),{children:r,className:o,TransitionComponent:i=P,transitionDuration:d="auto",TransitionProps:f}=n,h=(0,s.A)(n,sd),{orientation:m}=l.useContext(xu),{active:g,last:v,expanded:y}=l.useContext(_u),b=(0,a.A)({},n,{last:v}),x=(e=>{const{classes:t,last:n}=e,r={root:["root",n&&"last"],transition:["transition"]};return(0,u.A)(r,id,t)})(b);let w=d;return"auto"!==d||i.muiSupportAuto||(w=void 0),(0,_.jsx)(ld,(0,a.A)({className:(0,c.A)(x.root,o),ref:t,ownerState:b},h,{children:(0,_.jsx)(cd,(0,a.A)({as:i,in:g||y,className:x.transition,ownerState:b,timeout:w,unmountOnExit:!0},f,{children:r}))}))}));function dd(e){return(0,x.Ay)("MuiStepper",e)}var pd=(0,b.A)("MuiStepper",["root","horizontal","vertical","nonLinear","alternativeLabel"]);const fd=["activeStep","alternativeLabel","children","className","component","connector","nonLinear","orientation"],hd=(0,d.Ay)("div",{name:"MuiStepper",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.orientation],n.alternativeLabel&&t.alternativeLabel,n.nonLinear&&t.nonLinear]}})((({ownerState:e})=>(0,a.A)({display:"flex"},"horizontal"===e.orientation&&{flexDirection:"row",alignItems:"center"},"vertical"===e.orientation&&{flexDirection:"column"},e.alternativeLabel&&{alignItems:"flex-start"}))),md=(0,_.jsx)(od,{});var gd=l.forwardRef((function(e,t){const n=(0,p.b)({props:e,name:"MuiStepper"}),{activeStep:r=0,alternativeLabel:o=!1,children:i,className:d,component:f="div",connector:h=md,nonLinear:m=!1,orientation:g="horizontal"}=n,v=(0,s.A)(n,fd),y=(0,a.A)({},n,{nonLinear:m,alternativeLabel:o,orientation:g,component:f}),b=(e=>{const{orientation:t,nonLinear:n,alternativeLabel:r,classes:o}=e,i={root:["root",t,n&&"nonLinear",r&&"alternativeLabel"]};return(0,u.A)(i,dd,o)})(y),x=l.Children.toArray(i).filter(Boolean),w=x.map(((e,t)=>l.cloneElement(e,(0,a.A)({index:t,last:t+1===x.length},e.props)))),A=l.useMemo((()=>({activeStep:r,alternativeLabel:o,connector:h,nonLinear:m,orientation:g})),[r,o,h,m,g]);return(0,_.jsx)(xu.Provider,{value:A,children:(0,_.jsx)(hd,(0,a.A)({as:f,ownerState:y,className:(0,c.A)(b.root,d),ref:t},v,{children:w}))})})),vd=n(15099),yd=n(40961),bd=n(96248),xd=n(93749),wd=n(83034);const Ad=["anchor","classes","className","width","style"],_d=(0,d.Ay)("div",{shouldForwardProp:Xn.A})((({theme:e,ownerState:t})=>(0,a.A)({position:"fixed",top:0,left:0,bottom:0,zIndex:e.zIndex.drawer-1},"left"===t.anchor&&{right:"auto"},"right"===t.anchor&&{left:"auto",right:0},"top"===t.anchor&&{bottom:"auto",right:0},"bottom"===t.anchor&&{top:"auto",bottom:0,right:0}))),Sd=l.forwardRef((function(e,t){const{anchor:n,classes:r={},className:o,width:i,style:l}=e,u=(0,s.A)(e,Ad),d=e;return(0,_.jsx)(_d,(0,a.A)({className:(0,c.A)("PrivateSwipeArea-root",r.root,r[`anchor${(0,de.A)(n)}`],o),ref:t,style:(0,a.A)({[(0,ao.$b)(n)?"width":"height"]:i},l),ownerState:d},u))}));var kd=Sd;const Cd=["BackdropProps"],Td=["anchor","disableBackdropTransition","disableDiscovery","disableSwipeToOpen","hideBackdrop","hysteresis","allowSwipeInChildren","minFlingVelocity","ModalProps","onClose","onOpen","open","PaperProps","SwipeAreaProps","swipeAreaWidth","transitionDuration","variant"];let Md=null;function Pd(e,t,n){return"right"===e?n.body.offsetWidth-t[0].pageX:t[0].pageX}function Od(e,t,n){return"bottom"===e?n.innerHeight-t[0].clientY:t[0].clientY}function Ed(e,t){return e?t.clientWidth:t.clientHeight}function Dd(e,t,n,r){return Math.min(Math.max(n?t-e:r+t-e,0),r)}const Rd="undefined"!=typeof navigator&&/iPad|iPhone|iPod/.test(navigator.userAgent),Id=l.forwardRef((function(e,t){const n=(0,p.b)({name:"MuiSwipeableDrawer",props:e}),r=(0,v.A)(),o={enter:r.transitions.duration.enteringScreen,exit:r.transitions.duration.leavingScreen},{anchor:i="left",disableBackdropTransition:c=!1,disableDiscovery:u=!1,disableSwipeToOpen:d=Rd,hideBackdrop:f,hysteresis:h=.52,allowSwipeInChildren:m=!1,minFlingVelocity:b=450,ModalProps:{BackdropProps:x}={},onClose:w,onOpen:A,open:S=!1,PaperProps:k={},SwipeAreaProps:C,swipeAreaWidth:T=20,transitionDuration:M=o,variant:P="temporary"}=n,O=(0,s.A)(n.ModalProps,Cd),E=(0,s.A)(n,Td),[D,R]=l.useState(!1),I=l.useRef({isSwiping:null}),N=l.useRef(),L=l.useRef(),j=l.useRef(),$=(0,y.A)(k.ref,j),z=l.useRef(!1),F=l.useRef();(0,hi.A)((()=>{F.current=null}),[S]);const B=l.useCallback(((e,t={})=>{const{mode:n=null,changeTransition:o=!0}=t,a=(0,ao.iB)(r,i),s=-1!==["right","bottom"].indexOf(a)?1:-1,l=(0,ao.$b)(i),u=l?`translate(${s*e}px, 0)`:`translate(0, ${s*e}px)`,d=j.current.style;d.webkitTransform=u,d.transform=u;let p="";if(n&&(p=r.transitions.create("all",(0,g.c)({easing:void 0,style:void 0,timeout:M},{mode:n}))),o&&(d.webkitTransition=p,d.transition=p),!c&&!f){const t=L.current.style;t.opacity=1-e/Ed(l,j.current),o&&(t.webkitTransition=p,t.transition=p)}}),[i,c,f,r,M]),H=(0,wd.A)((e=>{if(!z.current)return;if(Md=null,z.current=!1,yd.flushSync((()=>{R(!1)})),!I.current.isSwiping)return void(I.current.isSwiping=null);I.current.isSwiping=null;const t=(0,ao.iB)(r,i),n=(0,ao.$b)(i);let o;o=n?Pd(t,e.changedTouches,(0,bd.A)(e.currentTarget)):Od(t,e.changedTouches,(0,xd.A)(e.currentTarget));const a=n?I.current.startX:I.current.startY,s=Ed(n,j.current),l=Dd(o,a,S,s),c=l/s;Math.abs(I.current.velocity)>b&&(F.current=1e3*Math.abs((s-l)/I.current.velocity)),S?I.current.velocity>b||c>h?w():B(0,{mode:"exit"}):I.current.velocity<-b||1-c>h?A():B(Ed(n,j.current),{mode:"enter"})})),V=(e=!1)=>{if(!D){!e&&u&&m||yd.flushSync((()=>{R(!0)}));const t=(0,ao.$b)(i);!S&&j.current&&B(Ed(t,j.current)+(u?15:-20),{changeTransition:!1}),I.current.velocity=0,I.current.lastTime=null,I.current.lastTranslate=null,I.current.paperHit=!1,z.current=!0}},W=(0,wd.A)((e=>{if(!j.current||!z.current)return;if(null!==Md&&Md!==I.current)return;V(!0);const t=(0,ao.iB)(r,i),n=(0,ao.$b)(i),o=Pd(t,e.touches,(0,bd.A)(e.currentTarget)),a=Od(t,e.touches,(0,xd.A)(e.currentTarget));if(S&&j.current.contains(e.target)&&null===Md){const t=function(e,t){const n=[];for(;e&&e!==t.parentElement;){const r=(0,xd.A)(t).getComputedStyle(e);"absolute"===r.getPropertyValue("position")||"hidden"===r.getPropertyValue("overflow-x")||(e.clientWidth>0&&e.scrollWidth>e.clientWidth||e.clientHeight>0&&e.scrollHeight>e.clientHeight)&&n.push(e),e=e.parentElement}return n}(e.target,j.current),r=function({domTreeShapes:e,start:t,current:n,anchor:r}){const o={x:"scrollLeft",y:"scrollTop"},i={x:"scrollWidth",y:"scrollHeight"},a={x:"clientWidth",y:"clientHeight"};return e.some((e=>{let s=n>=t;"top"!==r&&"left"!==r||(s=!s);const l="left"===r||"right"===r?"x":"y",c=Math.round(e[o[l]]),u=c>0,d=c+e[a[l]]<e[i[l]];return!!(s&&d||!s&&u)}))}({domTreeShapes:t,start:n?I.current.startX:I.current.startY,current:n?o:a,anchor:i});if(r)return void(Md=!0);Md=I.current}if(null==I.current.isSwiping){const t=Math.abs(o-I.current.startX),r=Math.abs(a-I.current.startY),i=n?t>r&&t>3:r>t&&r>3;if(i&&e.cancelable&&e.preventDefault(),!0===i||(n?r>3:t>3)){if(I.current.isSwiping=i,!i)return void H(e);I.current.startX=o,I.current.startY=a,u||S||(n?I.current.startX-=20:I.current.startY-=20)}}if(!I.current.isSwiping)return;const s=Ed(n,j.current);let l=n?I.current.startX:I.current.startY;S&&!I.current.paperHit&&(l=Math.min(l,s));const c=Dd(n?o:a,l,S,s);if(S)if(I.current.paperHit)0===c&&(I.current.startX=o,I.current.startY=a);else{if(!(n?o<s:a<s))return;I.current.paperHit=!0,I.current.startX=o,I.current.startY=a}null===I.current.lastTranslate&&(I.current.lastTranslate=c,I.current.lastTime=performance.now()+1);const d=(c-I.current.lastTranslate)/(performance.now()-I.current.lastTime)*1e3;I.current.velocity=.4*I.current.velocity+.6*d,I.current.lastTranslate=c,I.current.lastTime=performance.now(),e.cancelable&&e.preventDefault(),B(c)})),U=(0,wd.A)((e=>{if(e.defaultPrevented)return;if(e.defaultMuiPrevented)return;if(S&&(f||!L.current.contains(e.target))&&!j.current.contains(e.target))return;const t=(0,ao.iB)(r,i),n=(0,ao.$b)(i),o=Pd(t,e.touches,(0,bd.A)(e.currentTarget)),a=Od(t,e.touches,(0,xd.A)(e.currentTarget));if(!S){var s;if(d||!(e.target===N.current||null!=(s=j.current)&&s.contains(e.target)&&("function"==typeof m?m(e,N.current,j.current):m)))return;if(n){if(o>T)return}else if(a>T)return}e.defaultMuiPrevented=!0,Md=null,I.current.startX=o,I.current.startY=a,V()}));return l.useEffect((()=>{if("temporary"===P){const e=(0,bd.A)(j.current);return e.addEventListener("touchstart",U),e.addEventListener("touchmove",W,{passive:!S}),e.addEventListener("touchend",H),()=>{e.removeEventListener("touchstart",U),e.removeEventListener("touchmove",W,{passive:!S}),e.removeEventListener("touchend",H)}}}),[P,S,U,W,H]),l.useEffect((()=>()=>{Md===I.current&&(Md=null)}),[]),l.useEffect((()=>{S||R(!1)}),[S]),(0,_.jsxs)(l.Fragment,{children:[(0,_.jsx)(ao.Ay,(0,a.A)({open:!("temporary"!==P||!D)||S,variant:P,ModalProps:(0,a.A)({BackdropProps:(0,a.A)({},x,{ref:L})},"temporary"===P&&{keepMounted:!0},O),hideBackdrop:f,PaperProps:(0,a.A)({},k,{style:(0,a.A)({pointerEvents:"temporary"!==P||S||m?"":"none"},k.style),ref:$}),anchor:i,transitionDuration:F.current||M,onClose:w,ref:t},E)),!d&&"temporary"===P&&(0,_.jsx)(zs,{children:(0,_.jsx)(kd,(0,a.A)({anchor:i,ref:N,width:T},C))})]})}));var Nd=Id,Ld=n(72205),jd=n(59489),$d=n(89367),zd=n(92148);var Fd=l.createContext();function Bd(e){return(0,x.Ay)("MuiTable",e)}var Hd=(0,b.A)("MuiTable",["root","stickyHeader"]);const Vd=["className","component","padding","size","stickyHeader"],Wd=(0,d.Ay)("table",{name:"MuiTable",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.stickyHeader&&t.stickyHeader]}})((({theme:e,ownerState:t})=>(0,a.A)({display:"table",width:"100%",borderCollapse:"collapse",borderSpacing:0,"& caption":(0,a.A)({},e.typography.body2,{padding:e.spacing(2),color:(e.vars||e).palette.text.secondary,textAlign:"left",captionSide:"bottom"})},t.stickyHeader&&{borderCollapse:"separate"}))),Ud="table";var qd=l.forwardRef((function(e,t){const n=(0,p.b)({props:e,name:"MuiTable"}),{className:r,component:o=Ud,padding:i="normal",size:d="medium",stickyHeader:f=!1}=n,h=(0,s.A)(n,Vd),m=(0,a.A)({},n,{component:o,padding:i,size:d,stickyHeader:f}),g=(e=>{const{classes:t,stickyHeader:n}=e,r={root:["root",n&&"stickyHeader"]};return(0,u.A)(r,Bd,t)})(m),v=l.useMemo((()=>({padding:i,size:d,stickyHeader:f})),[i,d,f]);return(0,_.jsx)(Fd.Provider,{value:v,children:(0,_.jsx)(Wd,(0,a.A)({as:o,role:o===Ud?null:"table",ref:t,className:(0,c.A)(g.root,r),ownerState:m},h))})}));var Gd=l.createContext();function Yd(e){return(0,x.Ay)("MuiTableBody",e)}var Xd=(0,b.A)("MuiTableBody",["root"]);const Kd=["className","component"],Zd=(0,d.Ay)("tbody",{name:"MuiTableBody",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"table-row-group"}),Jd={variant:"body"},Qd="tbody";var ep=l.forwardRef((function(e,t){const n=(0,p.b)({props:e,name:"MuiTableBody"}),{className:r,component:o=Qd}=n,i=(0,s.A)(n,Kd),l=(0,a.A)({},n,{component:o}),d=(e=>{const{classes:t}=e;return(0,u.A)({root:["root"]},Yd,t)})(l);return(0,_.jsx)(Gd.Provider,{value:Jd,children:(0,_.jsx)(Zd,(0,a.A)({className:(0,c.A)(d.root,r),as:o,ref:t,role:o===Qd?null:"rowgroup",ownerState:l},i))})}));function tp(e){return(0,x.Ay)("MuiTableCell",e)}var np=(0,b.A)("MuiTableCell",["root","head","body","footer","sizeSmall","sizeMedium","paddingCheckbox","paddingNone","alignLeft","alignCenter","alignRight","alignJustify","stickyHeader"]);const rp=["align","className","component","padding","scope","size","sortDirection","variant"],op=(0,d.Ay)("td",{name:"MuiTableCell",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`size${(0,de.A)(n.size)}`],"normal"!==n.padding&&t[`padding${(0,de.A)(n.padding)}`],"inherit"!==n.align&&t[`align${(0,de.A)(n.align)}`],n.stickyHeader&&t.stickyHeader]}})((({theme:e,ownerState:t})=>(0,a.A)({},e.typography.body2,{display:"table-cell",verticalAlign:"inherit",borderBottom:e.vars?`1px solid ${e.vars.palette.TableCell.border}`:`1px solid\n ${"light"===e.palette.mode?(0,ue.a)((0,ue.X4)(e.palette.divider,1),.88):(0,ue.e$)((0,ue.X4)(e.palette.divider,1),.68)}`,textAlign:"left",padding:16},"head"===t.variant&&{color:(e.vars||e).palette.text.primary,lineHeight:e.typography.pxToRem(24),fontWeight:e.typography.fontWeightMedium},"body"===t.variant&&{color:(e.vars||e).palette.text.primary},"footer"===t.variant&&{color:(e.vars||e).palette.text.secondary,lineHeight:e.typography.pxToRem(21),fontSize:e.typography.pxToRem(12)},"small"===t.size&&{padding:"6px 16px",[`&.${np.paddingCheckbox}`]:{width:24,padding:"0 12px 0 16px","& > *":{padding:0}}},"checkbox"===t.padding&&{width:48,padding:"0 0 0 4px"},"none"===t.padding&&{padding:0},"left"===t.align&&{textAlign:"left"},"center"===t.align&&{textAlign:"center"},"right"===t.align&&{textAlign:"right",flexDirection:"row-reverse"},"justify"===t.align&&{textAlign:"justify"},t.stickyHeader&&{position:"sticky",top:0,zIndex:2,backgroundColor:(e.vars||e).palette.background.default}))),ip=l.forwardRef((function(e,t){const n=(0,p.b)({props:e,name:"MuiTableCell"}),{align:r="inherit",className:o,component:i,padding:d,scope:f,size:h,sortDirection:m,variant:g}=n,v=(0,s.A)(n,rp),y=l.useContext(Fd),b=l.useContext(Gd),x=b&&"head"===b.variant;let w;w=i||(x?"th":"td");let A=f;"td"===w?A=void 0:!A&&x&&(A="col");const S=g||b&&b.variant,k=(0,a.A)({},n,{align:r,component:w,padding:d||(y&&y.padding?y.padding:"normal"),size:h||(y&&y.size?y.size:"medium"),sortDirection:m,stickyHeader:"head"===S&&y&&y.stickyHeader,variant:S}),C=(e=>{const{classes:t,variant:n,align:r,padding:o,size:i,stickyHeader:a}=e,s={root:["root",n,a&&"stickyHeader","inherit"!==r&&`align${(0,de.A)(r)}`,"normal"!==o&&`padding${(0,de.A)(o)}`,`size${(0,de.A)(i)}`]};return(0,u.A)(s,tp,t)})(k);let T=null;return m&&(T="asc"===m?"ascending":"descending"),(0,_.jsx)(op,(0,a.A)({as:w,ref:t,className:(0,c.A)(C.root,o),"aria-sort":T,scope:A,ownerState:k},v))}));var ap=ip;function sp(e){return(0,x.Ay)("MuiTableContainer",e)}var lp=(0,b.A)("MuiTableContainer",["root"]);const cp=["className","component"],up=(0,d.Ay)("div",{name:"MuiTableContainer",slot:"Root",overridesResolver:(e,t)=>t.root})({width:"100%",overflowX:"auto"});var dp=l.forwardRef((function(e,t){const n=(0,p.b)({props:e,name:"MuiTableContainer"}),{className:r,component:o="div"}=n,i=(0,s.A)(n,cp),l=(0,a.A)({},n,{component:o}),d=(e=>{const{classes:t}=e;return(0,u.A)({root:["root"]},sp,t)})(l);return(0,_.jsx)(up,(0,a.A)({ref:t,as:o,className:(0,c.A)(d.root,r),ownerState:l},i))}));function pp(e){return(0,x.Ay)("MuiTableFooter",e)}var fp=(0,b.A)("MuiTableFooter",["root"]);const hp=["className","component"],mp=(0,d.Ay)("tfoot",{name:"MuiTableFooter",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"table-footer-group"}),gp={variant:"footer"},vp="tfoot";var yp=l.forwardRef((function(e,t){const n=(0,p.b)({props:e,name:"MuiTableFooter"}),{className:r,component:o=vp}=n,i=(0,s.A)(n,hp),l=(0,a.A)({},n,{component:o}),d=(e=>{const{classes:t}=e;return(0,u.A)({root:["root"]},pp,t)})(l);return(0,_.jsx)(Gd.Provider,{value:gp,children:(0,_.jsx)(mp,(0,a.A)({as:o,className:(0,c.A)(d.root,r),ref:t,role:o===vp?null:"rowgroup",ownerState:l},i))})}));function bp(e){return(0,x.Ay)("MuiTableHead",e)}var xp=(0,b.A)("MuiTableHead",["root"]);const wp=["className","component"],Ap=(0,d.Ay)("thead",{name:"MuiTableHead",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"table-header-group"}),_p={variant:"head"},Sp="thead";var kp=l.forwardRef((function(e,t){const n=(0,p.b)({props:e,name:"MuiTableHead"}),{className:r,component:o=Sp}=n,i=(0,s.A)(n,wp),l=(0,a.A)({},n,{component:o}),d=(e=>{const{classes:t}=e;return(0,u.A)({root:["root"]},bp,t)})(l);return(0,_.jsx)(Gd.Provider,{value:_p,children:(0,_.jsx)(Ap,(0,a.A)({as:o,className:(0,c.A)(d.root,r),ref:t,role:o===Sp?null:"rowgroup",ownerState:l},i))})}));function Cp(e){return(0,x.Ay)("MuiToolbar",e)}var Tp=(0,b.A)("MuiToolbar",["root","gutters","regular","dense"]);const Mp=["className","component","disableGutters","variant"],Pp=(0,d.Ay)("div",{name:"MuiToolbar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.disableGutters&&t.gutters,t[n.variant]]}})((({theme:e,ownerState:t})=>(0,a.A)({position:"relative",display:"flex",alignItems:"center"},!t.disableGutters&&{paddingLeft:e.spacing(2),paddingRight:e.spacing(2),[e.breakpoints.up("sm")]:{paddingLeft:e.spacing(3),paddingRight:e.spacing(3)}},"dense"===t.variant&&{minHeight:48})),(({theme:e,ownerState:t})=>"regular"===t.variant&&e.mixins.toolbar));var Op=l.forwardRef((function(e,t){const n=(0,p.b)({props:e,name:"MuiToolbar"}),{className:r,component:o="div",disableGutters:i=!1,variant:l="regular"}=n,d=(0,s.A)(n,Mp),f=(0,a.A)({},n,{component:o,disableGutters:i,variant:l}),h=(e=>{const{classes:t,disableGutters:n,variant:r}=e,o={root:["root",!n&&"gutters",r]};return(0,u.A)(o,Cp,t)})(f);return(0,_.jsx)(Pp,(0,a.A)({as:o,className:(0,c.A)(h.root,r),ref:t,ownerState:f},d))})),Ep=n(16445),Dp=n(60124),Rp=n(35067),Ip=n(28775);const Np=["backIconButtonProps","count","disabled","getItemAriaLabel","nextIconButtonProps","onPageChange","page","rowsPerPage","showFirstButton","showLastButton","slots","slotProps"];var Lp=l.forwardRef((function(e,t){var n,r,o,i,l,c,u,d;const{backIconButtonProps:p,count:f,disabled:h=!1,getItemAriaLabel:m,nextIconButtonProps:g,onPageChange:v,page:y,rowsPerPage:b,showFirstButton:x,showLastButton:w,slots:A={},slotProps:S={}}=e,k=(0,s.A)(e,Np),C=(0,da.I)(),T=null!=(n=A.firstButton)?n:he.A,M=null!=(r=A.lastButton)?r:he.A,P=null!=(o=A.nextButton)?o:he.A,O=null!=(i=A.previousButton)?i:he.A,E=null!=(l=A.firstButtonIcon)?l:Ip.A,D=null!=(c=A.lastButtonIcon)?c:Rp.A,R=null!=(u=A.nextButtonIcon)?u:Dp.A,I=null!=(d=A.previousButtonIcon)?d:Ep.A,N=C?M:T,L=C?P:O,j=C?O:P,$=C?T:M,z=C?S.lastButton:S.firstButton,F=C?S.nextButton:S.previousButton,B=C?S.previousButton:S.nextButton,H=C?S.firstButton:S.lastButton;return(0,_.jsxs)("div",(0,a.A)({ref:t},k,{children:[x&&(0,_.jsx)(N,(0,a.A)({onClick:e=>{v(e,0)},disabled:h||0===y,"aria-label":m("first",y),title:m("first",y)},z,{children:C?(0,_.jsx)(D,(0,a.A)({},S.lastButtonIcon)):(0,_.jsx)(E,(0,a.A)({},S.firstButtonIcon))})),(0,_.jsx)(L,(0,a.A)({onClick:e=>{v(e,y-1)},disabled:h||0===y,color:"inherit","aria-label":m("previous",y),title:m("previous",y)},null!=F?F:p,{children:C?(0,_.jsx)(R,(0,a.A)({},S.nextButtonIcon)):(0,_.jsx)(I,(0,a.A)({},S.previousButtonIcon))})),(0,_.jsx)(j,(0,a.A)({onClick:e=>{v(e,y+1)},disabled:h||-1!==f&&y>=Math.ceil(f/b)-1,color:"inherit","aria-label":m("next",y),title:m("next",y)},null!=B?B:g,{children:C?(0,_.jsx)(I,(0,a.A)({},S.previousButtonIcon)):(0,_.jsx)(R,(0,a.A)({},S.nextButtonIcon))})),w&&(0,_.jsx)($,(0,a.A)({onClick:e=>{v(e,Math.max(0,Math.ceil(f/b)-1))},disabled:h||y>=Math.ceil(f/b)-1,"aria-label":m("last",y),title:m("last",y)},H,{children:C?(0,_.jsx)(E,(0,a.A)({},S.firstButtonIcon)):(0,_.jsx)(D,(0,a.A)({},S.lastButtonIcon))}))]}))}));function jp(e){return(0,x.Ay)("MuiTablePagination",e)}var $p,zp=(0,b.A)("MuiTablePagination",["root","toolbar","spacer","selectLabel","selectRoot","select","selectIcon","input","menuItem","displayedRows","actions"]);const Fp=["ActionsComponent","backIconButtonProps","className","colSpan","component","count","disabled","getItemAriaLabel","labelDisplayedRows","labelRowsPerPage","nextIconButtonProps","onPageChange","onRowsPerPageChange","page","rowsPerPage","rowsPerPageOptions","SelectProps","showFirstButton","showLastButton","slotProps","slots"],Bp=(0,d.Ay)(ap,{name:"MuiTablePagination",slot:"Root",overridesResolver:(e,t)=>t.root})((({theme:e})=>({overflow:"auto",color:(e.vars||e).palette.text.primary,fontSize:e.typography.pxToRem(14),"&:last-child":{padding:0}}))),Hp=(0,d.Ay)(Op,{name:"MuiTablePagination",slot:"Toolbar",overridesResolver:(e,t)=>(0,a.A)({[`& .${zp.actions}`]:t.actions},t.toolbar)})((({theme:e})=>({minHeight:52,paddingRight:2,[`${e.breakpoints.up("xs")} and (orientation: landscape)`]:{minHeight:52},[e.breakpoints.up("sm")]:{minHeight:52,paddingRight:2},[`& .${zp.actions}`]:{flexShrink:0,marginLeft:20}}))),Vp=(0,d.Ay)("div",{name:"MuiTablePagination",slot:"Spacer",overridesResolver:(e,t)=>t.spacer})({flex:"1 1 100%"}),Wp=(0,d.Ay)("p",{name:"MuiTablePagination",slot:"SelectLabel",overridesResolver:(e,t)=>t.selectLabel})((({theme:e})=>(0,a.A)({},e.typography.body2,{flexShrink:0}))),Up=(0,d.Ay)(Vl.A,{name:"MuiTablePagination",slot:"Select",overridesResolver:(e,t)=>(0,a.A)({[`& .${zp.selectIcon}`]:t.selectIcon,[`& .${zp.select}`]:t.select},t.input,t.selectRoot)})({color:"inherit",fontSize:"inherit",flexShrink:0,marginRight:32,marginLeft:8,[`& .${zp.select}`]:{paddingLeft:8,paddingRight:24,textAlign:"right",textAlignLast:"right"}}),qp=(0,d.Ay)(hs.A,{name:"MuiTablePagination",slot:"MenuItem",overridesResolver:(e,t)=>t.menuItem})({}),Gp=(0,d.Ay)("p",{name:"MuiTablePagination",slot:"DisplayedRows",overridesResolver:(e,t)=>t.displayedRows})((({theme:e})=>(0,a.A)({},e.typography.body2,{flexShrink:0})));function Yp({from:e,to:t,count:n}){return`${e}–${t} of ${-1!==n?n:`more than ${t}`}`}function Xp(e){return`Go to ${e} page`}var Kp=l.forwardRef((function(e,t){var n;const r=(0,p.b)({props:e,name:"MuiTablePagination"}),{ActionsComponent:o=Lp,backIconButtonProps:i,className:d,colSpan:f,component:h=ap,count:m,disabled:g=!1,getItemAriaLabel:v=Xp,labelDisplayedRows:y=Yp,labelRowsPerPage:b="Rows per page:",nextIconButtonProps:x,onPageChange:w,onRowsPerPageChange:A,page:S,rowsPerPage:k,rowsPerPageOptions:C=[10,25,50,100],SelectProps:T={},showFirstButton:M=!1,showLastButton:P=!1,slotProps:O={},slots:E={}}=r,D=(0,s.A)(r,Fp),R=r,I=(e=>{const{classes:t}=e;return(0,u.A)({root:["root"],toolbar:["toolbar"],spacer:["spacer"],selectLabel:["selectLabel"],select:["select"],input:["input"],selectIcon:["selectIcon"],menuItem:["menuItem"],displayedRows:["displayedRows"],actions:["actions"]},jp,t)})(R),N=null!=(n=null==O?void 0:O.select)?n:T,L=N.native?"option":qp;let j;h!==ap&&"td"!==h||(j=f||1e3);const $=(0,gl.A)(N.id),z=(0,gl.A)(N.labelId);return(0,_.jsx)(Bp,(0,a.A)({colSpan:j,ref:t,as:h,ownerState:R,className:(0,c.A)(I.root,d)},D,{children:(0,_.jsxs)(Hp,{className:I.toolbar,children:[(0,_.jsx)(Vp,{className:I.spacer}),C.length>1&&(0,_.jsx)(Wp,{className:I.selectLabel,id:z,children:b}),C.length>1&&(0,_.jsx)(Up,(0,a.A)({variant:"standard"},!N.variant&&{input:$p||($p=(0,_.jsx)(sa.Ay,{}))},{value:k,onChange:A,id:$,labelId:z},N,{classes:(0,a.A)({},N.classes,{root:(0,c.A)(I.input,I.selectRoot,(N.classes||{}).root),select:(0,c.A)(I.select,(N.classes||{}).select),icon:(0,c.A)(I.selectIcon,(N.classes||{}).icon)}),disabled:g,children:C.map((e=>(0,l.createElement)(L,(0,a.A)({},!(0,Yl.A)(L)&&{ownerState:R},{className:I.menuItem,key:e.label?e.label:e,value:e.value?e.value:e}),e.label?e.label:e)))})),(0,_.jsx)(Gp,{className:I.displayedRows,children:y({from:0===m?0:S*k+1,to:-1===m?(S+1)*k:-1===k?m:Math.min(m,(S+1)*k),count:-1===m?-1:m,page:S})}),(0,_.jsx)(o,{className:I.actions,backIconButtonProps:i,count:m,nextIconButtonProps:x,onPageChange:w,page:S,rowsPerPage:k,showFirstButton:M,showLastButton:P,slotProps:O.actions,slots:E.actions,getItemAriaLabel:v,disabled:g})]})}))}));function Zp(e){return(0,x.Ay)("MuiTableRow",e)}var Jp=(0,b.A)("MuiTableRow",["root","selected","hover","head","footer"]);const Qp=["className","component","hover","selected"],ef=(0,d.Ay)("tr",{name:"MuiTableRow",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.head&&t.head,n.footer&&t.footer]}})((({theme:e})=>({color:"inherit",display:"table-row",verticalAlign:"middle",outline:0,[`&.${Jp.hover}:hover`]:{backgroundColor:(e.vars||e).palette.action.hover},[`&.${Jp.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:(0,ue.X4)(e.palette.primary.main,e.palette.action.selectedOpacity),"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:(0,ue.X4)(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity)}}}))),tf="tr",nf=l.forwardRef((function(e,t){const n=(0,p.b)({props:e,name:"MuiTableRow"}),{className:r,component:o=tf,hover:i=!1,selected:d=!1}=n,f=(0,s.A)(n,Qp),h=l.useContext(Gd),m=(0,a.A)({},n,{component:o,hover:i,selected:d,head:h&&"head"===h.variant,footer:h&&"footer"===h.variant}),g=(e=>{const{classes:t,selected:n,hover:r,head:o,footer:i}=e,a={root:["root",n&&"selected",r&&"hover",o&&"head",i&&"footer"]};return(0,u.A)(a,Zp,t)})(m);return(0,_.jsx)(ef,(0,a.A)({as:o,ref:t,className:(0,c.A)(g.root,r),role:o===tf?null:"row",ownerState:m},f))}));var rf=nf,of=(0,me.A)((0,_.jsx)("path",{d:"M20 12l-1.41-1.41L13 16.17V4h-2v12.17l-5.58-5.59L4 12l8 8 8-8z"}),"ArrowDownward");function af(e){return(0,x.Ay)("MuiTableSortLabel",e)}var sf=(0,b.A)("MuiTableSortLabel",["root","active","icon","iconDirectionDesc","iconDirectionAsc"]);const lf=["active","children","className","direction","hideSortIcon","IconComponent"],cf=(0,d.Ay)(ne.A,{name:"MuiTableSortLabel",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.active&&t.active]}})((({theme:e})=>({cursor:"pointer",display:"inline-flex",justifyContent:"flex-start",flexDirection:"inherit",alignItems:"center","&:focus":{color:(e.vars||e).palette.text.secondary},"&:hover":{color:(e.vars||e).palette.text.secondary,[`& .${sf.icon}`]:{opacity:.5}},[`&.${sf.active}`]:{color:(e.vars||e).palette.text.primary,[`& .${sf.icon}`]:{opacity:1,color:(e.vars||e).palette.text.secondary}}}))),uf=(0,d.Ay)("span",{name:"MuiTableSortLabel",slot:"Icon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.icon,t[`iconDirection${(0,de.A)(n.direction)}`]]}})((({theme:e,ownerState:t})=>(0,a.A)({fontSize:18,marginRight:4,marginLeft:4,opacity:0,transition:e.transitions.create(["opacity","transform"],{duration:e.transitions.duration.shorter}),userSelect:"none"},"desc"===t.direction&&{transform:"rotate(0deg)"},"asc"===t.direction&&{transform:"rotate(180deg)"})));var df=l.forwardRef((function(e,t){const n=(0,p.b)({props:e,name:"MuiTableSortLabel"}),{active:r=!1,children:o,className:i,direction:l="asc",hideSortIcon:d=!1,IconComponent:f=of}=n,h=(0,s.A)(n,lf),m=(0,a.A)({},n,{active:r,direction:l,hideSortIcon:d,IconComponent:f}),g=(e=>{const{classes:t,direction:n,active:r}=e,o={root:["root",r&&"active"],icon:["icon",`iconDirection${(0,de.A)(n)}`]};return(0,u.A)(o,af,t)})(m);return(0,_.jsxs)(cf,(0,a.A)({className:(0,c.A)(g.root,i),component:"span",disableRipple:!0,ownerState:m,ref:t},h,{children:[o,d&&!r?null:(0,_.jsx)(uf,{as:f,className:(0,c.A)(g.icon),ownerState:m})]}))})),pf=n(32604),ff=n(77645),hf=n(6395),mf=n(26671),gf=n(1043),vf=n(29982),yf=n(3561),bf=n(54790),xf=n(65033),wf=n(32511),Af=n(6832),_f=n(76144),Sf=n(4604),kf=n(74007);const Cf=["getTrigger","target"];function Tf(e,t){const{disableHysteresis:n=!1,threshold:r=100,target:o}=t,i=e.current;return o&&(e.current=void 0!==o.pageYOffset?o.pageYOffset:o.scrollTop),!(!n&&void 0!==i&&e.current<i)&&e.current>r}const Mf="undefined"!=typeof window?window:null;function Pf(e={}){const{getTrigger:t=Tf,target:n=Mf}=e,r=(0,s.A)(e,Cf),o=l.useRef(),[i,c]=l.useState((()=>t(o,r)));return l.useEffect((()=>{const e=()=>{c(t(o,(0,a.A)({target:n},r)))};return e(),n.addEventListener("scroll",e,{passive:!0}),()=>{n.removeEventListener("scroll",e,{passive:!0})}}),[n,t,JSON.stringify(r)]),i}var Of=n(43247),Ef=n(59839),Df=n(73524)},55860:function(e,t,n){"use strict";n.d(t,{A:function(){return w}});var r=n(98587),o=n(58168),i=n(96540),a=n(34164),s=n(75659),l=n(28466),c=n(11848),u=n(39770),d=n(41159),p=n(79716),f=n(9934),h=n(38413),m=n(31609);function g(e){return(0,m.Ay)("PrivateSwitchBase",e)}(0,h.A)("PrivateSwitchBase",["root","checked","disabled","input","edgeStart","edgeEnd"]);var v=n(74848);const y=["autoFocus","checked","checkedIcon","className","defaultChecked","disabled","disableFocusRipple","edge","icon","id","inputProps","inputRef","name","onBlur","onChange","onFocus","readOnly","required","tabIndex","type","value"],b=(0,c.Ay)(f.A)((({ownerState:e})=>(0,o.A)({padding:9,borderRadius:"50%"},"start"===e.edge&&{marginLeft:"small"===e.size?-3:-12},"end"===e.edge&&{marginRight:"small"===e.size?-3:-12}))),x=(0,c.Ay)("input",{shouldForwardProp:u.A})({cursor:"inherit",position:"absolute",opacity:0,width:"100%",height:"100%",top:0,left:0,margin:0,padding:0,zIndex:1});var w=i.forwardRef((function(e,t){const{autoFocus:n,checked:i,checkedIcon:c,className:u,defaultChecked:f,disabled:h,disableFocusRipple:m=!1,edge:w=!1,icon:A,id:_,inputProps:S,inputRef:k,name:C,onBlur:T,onChange:M,onFocus:P,readOnly:O,required:E=!1,tabIndex:D,type:R,value:I}=e,N=(0,r.A)(e,y),[L,j]=(0,d.A)({controlled:i,default:Boolean(f),name:"SwitchBase",state:"checked"}),$=(0,p.A)();let z=h;$&&void 0===z&&(z=$.disabled);const F="checkbox"===R||"radio"===R,B=(0,o.A)({},e,{checked:L,disabled:z,disableFocusRipple:m,edge:w}),H=(e=>{const{classes:t,checked:n,disabled:r,edge:o}=e,i={root:["root",n&&"checked",r&&"disabled",o&&`edge${(0,l.A)(o)}`],input:["input"]};return(0,s.A)(i,g,t)})(B);return(0,v.jsxs)(b,(0,o.A)({component:"span",className:(0,a.A)(H.root,u),centerRipple:!0,focusRipple:!m,disabled:z,tabIndex:null,role:void 0,onFocus:e=>{P&&P(e),$&&$.onFocus&&$.onFocus(e)},onBlur:e=>{T&&T(e),$&&$.onBlur&&$.onBlur(e)},ownerState:B,ref:t},N,{children:[(0,v.jsx)(x,(0,o.A)({autoFocus:n,checked:i,defaultChecked:f,className:H.input,disabled:z,id:F?_:void 0,name:C,onChange:e=>{if(e.nativeEvent.defaultPrevented)return;const t=e.target.checked;j(t),M&&M(e,t)},readOnly:O,ref:k,required:E,ownerState:B,tabIndex:D,type:R},"checkbox"===R&&void 0===I?{}:{value:I},S)),L?c:A]}))}))},602:function(e,t,n){"use strict";n(96540);var r=n(20561),o=n(74848);t.A=(0,r.A)((0,o.jsx)("path",{d:"M7 10l5 5 5-5z"}),"ArrowDropDown")},49350:function(e,t,n){"use strict";n(96540);var r=n(20561),o=n(74848);t.A=(0,r.A)((0,o.jsx)("path",{d:"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Close")},28775:function(e,t,n){"use strict";n(96540);var r=n(20561),o=n(74848);t.A=(0,r.A)((0,o.jsx)("path",{d:"M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"}),"FirstPage")},16445:function(e,t,n){"use strict";n(96540);var r=n(20561),o=n(74848);t.A=(0,r.A)((0,o.jsx)("path",{d:"M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"}),"KeyboardArrowLeft")},60124:function(e,t,n){"use strict";n(96540);var r=n(20561),o=n(74848);t.A=(0,r.A)((0,o.jsx)("path",{d:"M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"}),"KeyboardArrowRight")},35067:function(e,t,n){"use strict";n(96540);var r=n(20561),o=n(74848);t.A=(0,r.A)((0,o.jsx)("path",{d:"M5.59 7.41L10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"}),"LastPage")},56877:function(e,t,n){"use strict";n.d(t,{A:function(){return o}});var r=n(58168);function o(e,t){return(0,r.A)({toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}}},t)}},32614:function(e,t,n){"use strict";n.d(t,{D:function(){return E},A:function(){return D}});var r=n(58168),o=n(98587),i=n(89453),a=n(11317),s=n(94188),l=n(33571),c=n(83791),u=n(56877),d=n(771),p=n(39008),f=n(15878),h=n(71495),m=n(41338),g=n(33755),v=n(97621),y=n(19577),b=n(3542);const x=["mode","contrastThreshold","tonalOffset"],w={text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:p.A.white,default:p.A.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}},A={text:{primary:p.A.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:p.A.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}};function _(e,t,n,r){const o=r.light||r,i=r.dark||1.5*r;e[t]||(e.hasOwnProperty(n)?e[t]=e[n]:"light"===t?e.light=(0,d.a)(e.main,o):"dark"===t&&(e.dark=(0,d.e$)(e.main,i)))}function S(e){const{mode:t="light",contrastThreshold:n=3,tonalOffset:s=.2}=e,l=(0,o.A)(e,x),c=e.primary||function(e="light"){return"dark"===e?{main:v.A[200],light:v.A[50],dark:v.A[400]}:{main:v.A[700],light:v.A[400],dark:v.A[800]}}(t),u=e.secondary||function(e="light"){return"dark"===e?{main:h.A[200],light:h.A[50],dark:h.A[400]}:{main:h.A[500],light:h.A[300],dark:h.A[700]}}(t),S=e.error||function(e="light"){return"dark"===e?{main:m.default[500],light:m.default[300],dark:m.default[700]}:{main:m.default[700],light:m.default[400],dark:m.default[800]}}(t),k=e.info||function(e="light"){return"dark"===e?{main:y.A[400],light:y.A[300],dark:y.A[700]}:{main:y.A[700],light:y.A[500],dark:y.A[900]}}(t),C=e.success||function(e="light"){return"dark"===e?{main:b.A[400],light:b.A[300],dark:b.A[700]}:{main:b.A[800],light:b.A[500],dark:b.A[900]}}(t),T=e.warning||function(e="light"){return"dark"===e?{main:g.A[400],light:g.A[300],dark:g.A[700]}:{main:"#ed6c02",light:g.A[500],dark:g.A[900]}}(t);function M(e){return(0,d.eM)(e,A.text.primary)>=n?A.text.primary:w.text.primary}const P=({color:e,name:t,mainShade:n=500,lightShade:o=300,darkShade:a=700})=>{if(!(e=(0,r.A)({},e)).main&&e[n]&&(e.main=e[n]),!e.hasOwnProperty("main"))throw new Error((0,i.A)(11,t?` (${t})`:"",n));if("string"!=typeof e.main)throw new Error((0,i.A)(12,t?` (${t})`:"",JSON.stringify(e.main)));return _(e,"light",o,s),_(e,"dark",a,s),e.contrastText||(e.contrastText=M(e.main)),e},O={dark:A,light:w};return(0,a.A)((0,r.A)({common:(0,r.A)({},p.A),mode:t,primary:P({color:c,name:"primary"}),secondary:P({color:u,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:P({color:S,name:"error"}),warning:P({color:T,name:"warning"}),info:P({color:k,name:"info"}),success:P({color:C,name:"success"}),grey:f.default,contrastThreshold:n,getContrastText:M,augmentColor:P,tonalOffset:s},O[t]),l)}var k=n(44778),C=n(42086),T=n(17091);var M={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};const P=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];function O(e={},...t){const{mixins:n={},palette:d={},transitions:p={},typography:f={}}=e,h=(0,o.A)(e,P);if(e.vars)throw new Error((0,i.A)(18));const m=S(d),g=(0,c.A)(e);let v=(0,a.A)(g,{mixins:(0,u.A)(g.breakpoints,n),palette:m,shadows:C.default.slice(),typography:(0,k.A)(m,f),transitions:(0,T.Ay)(p),zIndex:(0,r.A)({},M)});return v=(0,a.A)(v,h),v=t.reduce(((e,t)=>(0,a.A)(e,t)),v),v.unstable_sxConfig=(0,r.A)({},s.A,null==h?void 0:h.unstable_sxConfig),v.unstable_sx=function(e){return(0,l.A)({sx:e,theme:this})},v}function E(...e){return O(...e)}var D=O},17091:function(e,t,n){"use strict";n.d(t,{Ay:function(){return u},cz:function(){return a},p0:function(){return s}});var r=n(98587),o=n(58168);const i=["duration","easing","delay"],a={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},s={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function l(e){return`${Math.round(e)}ms`}function c(e){if(!e)return 0;const t=e/36;return Math.round(10*(4+15*t**.25+t/5))}function u(e){const t=(0,o.A)({},a,e.easing),n=(0,o.A)({},s,e.duration);return(0,o.A)({getAutoHeightDuration:c,create:(e=["all"],o={})=>{const{duration:a=n.standard,easing:s=t.easeInOut,delay:c=0}=o;(0,r.A)(o,i);return(Array.isArray(e)?e:[e]).map((e=>`${e} ${"string"==typeof a?a:l(a)} ${s} ${"string"==typeof c?c:l(c)}`)).join(",")}},e,{easing:t,duration:n})}},44778:function(e,t,n){"use strict";n.d(t,{A:function(){return c}});var r=n(58168),o=n(98587),i=n(11317);const a=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];const s={textTransform:"uppercase"},l='"Roboto", "Helvetica", "Arial", sans-serif';function c(e,t){const n="function"==typeof t?t(e):t,{fontFamily:c=l,fontSize:u=14,fontWeightLight:d=300,fontWeightRegular:p=400,fontWeightMedium:f=500,fontWeightBold:h=700,htmlFontSize:m=16,allVariants:g,pxToRem:v}=n,y=(0,o.A)(n,a);const b=u/14,x=v||(e=>e/m*b+"rem"),w=(e,t,n,o,i)=>{return(0,r.A)({fontFamily:c,fontWeight:e,fontSize:x(t),lineHeight:n},c===l?{letterSpacing:(a=o/t,Math.round(1e5*a)/1e5)+"em"}:{},i,g);var a},A={h1:w(d,96,1.167,-1.5),h2:w(d,60,1.2,-.5),h3:w(p,48,1.167,0),h4:w(p,34,1.235,.25),h5:w(p,24,1.334,0),h6:w(f,20,1.6,.15),subtitle1:w(p,16,1.75,.15),subtitle2:w(f,14,1.57,.1),body1:w(p,16,1.5,.15),body2:w(p,14,1.43,.15),button:w(f,14,1.75,.4,s),caption:w(p,12,1.66,.4),overline:w(p,12,2.66,1,s),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return(0,i.A)((0,r.A)({htmlFontSize:m,pxToRem:x,fontFamily:c,fontSize:u,fontWeightLight:d,fontWeightRegular:p,fontWeightMedium:f,fontWeightBold:h},A),y,{clone:!1})}},31127:function(e,t,n){"use strict";function r(e){return String(parseFloat(e)).length===String(e).length}function o(e){return String(e).match(/[\d.\-+]*\s*(.*)/)[1]||""}function i(e){return parseFloat(e)}function a(e){return(t,n)=>{const r=o(t);if(r===n)return t;let a=i(t);"px"!==r&&("em"===r||"rem"===r)&&(a=i(t)*i(e));let s=a;if("px"!==n)if("em"===n)s=a/i(e);else{if("rem"!==n)return t;s=a/i(e)}return parseFloat(s.toFixed(5))+n}}function s({size:e,grid:t}){const n=e-e%t,r=n+t;return e-n<r-e?n:r}function l({lineHeight:e,pixels:t,htmlFontSize:n}){return t/(e*n)}function c({cssProperty:e,min:t,max:n,unit:r="rem",breakpoints:o=[600,900,1200],transform:i=null}){const a={[e]:`${t}${r}`},s=(n-t)/o[o.length-1];return o.forEach((n=>{let o=t+s*n;null!==i&&(o=i(o)),a[`@media (min-width:${n}px)`]={[e]:`${Math.round(1e4*o)/1e4}${r}`}})),a}n.d(t,{I3:function(){return a},VR:function(){return s},a9:function(){return r},db:function(){return i},l_:function(){return o},qW:function(){return l},yL:function(){return c}})},22765:function(e,t,n){"use strict";const r=(0,n(32614).A)();t.A=r},98783:function(e,t){"use strict";t.A=e=>{let t;return t=e<1?5.11916*e**2:4.5*Math.log(e+1)+2,(t/100).toFixed(2)}},58312:function(e,t){"use strict";t.A="$$material"},54936:function(e,t,n){"use strict";n.r(t),n.d(t,{Experimental_CssVarsProvider:function(){return _e},StyledEngineProvider:function(){return $.A},THEME_ID:function(){return o.A},ThemeProvider:function(){return j},adaptV4Theme:function(){return d},alpha:function(){return p.X4},createMuiTheme:function(){return h.D},createStyles:function(){return y},createTheme:function(){return h.A},css:function(){return f.AH},darken:function(){return p.e$},decomposeColor:function(){return p.rP},duration:function(){return w.p0},easing:function(){return w.cz},emphasize:function(){return p.tL},experimentalStyled:function(){return S.Ay},experimental_extendTheme:function(){return ye},experimental_sx:function(){return Me},getContrastRatio:function(){return p.eM},getInitColorSchemeScript:function(){return Ce},getLuminance:function(){return p.J1},getOverlayAlpha:function(){return ce.A},hexToRgb:function(){return p.E2},hslToRgb:function(){return p.YL},keyframes:function(){return f.i7},lighten:function(){return p.a},makeStyles:function(){return z},private_createMixins:function(){return Te.A},private_createTypography:function(){return be.A},private_excludeVariablesFromRoot:function(){return xe},recomposeColor:function(){return p.X0},responsiveFontSizes:function(){return x},rgbToHex:function(){return p.Ob},shouldSkipGeneratingVar:function(){return le},styled:function(){return S.Ay},unstable_createMuiStrictModeTheme:function(){return g},unstable_getUnit:function(){return b.l_},unstable_toUnitless:function(){return b.db},useColorScheme:function(){return Se},useTheme:function(){return A.A},useThemeProps:function(){return _.A},withStyles:function(){return F},withTheme:function(){return B}});var r=n(89453),o=n(58312),i=n(58168),a=n(98587),s=n(16955),l=n(58094);const c=["defaultProps","mixins","overrides","palette","props","styleOverrides"],u=["type","mode"];function d(e){const{defaultProps:t={},mixins:n={},overrides:r={},palette:o={},props:d={},styleOverrides:p={}}=e,f=(0,a.A)(e,c),h=(0,i.A)({},f,{components:{}});Object.keys(t).forEach((e=>{const n=h.components[e]||{};n.defaultProps=t[e],h.components[e]=n})),Object.keys(d).forEach((e=>{const t=h.components[e]||{};t.defaultProps=d[e],h.components[e]=t})),Object.keys(p).forEach((e=>{const t=h.components[e]||{};t.styleOverrides=p[e],h.components[e]=t})),Object.keys(r).forEach((e=>{const t=h.components[e]||{};t.styleOverrides=r[e],h.components[e]=t})),h.spacing=(0,s.A)(e.spacing);const m=(0,l.A)(e.breakpoints||{}),g=h.spacing;h.mixins=(0,i.A)({gutters:(e={})=>(0,i.A)({paddingLeft:g(2),paddingRight:g(2)},e,{[m.up("sm")]:(0,i.A)({paddingLeft:g(3),paddingRight:g(3)},e[m.up("sm")])})},n);const{type:v,mode:y}=o,b=(0,a.A)(o,u),x=y||v||"light";return h.palette=(0,i.A)({text:{hint:"dark"===x?"rgba(255, 255, 255, 0.5)":"rgba(0, 0, 0, 0.38)"},mode:x,type:x},b),h}var p=n(24279),f=n(17437),h=n(32614),m=n(11317);function g(e,...t){return(0,h.A)((0,m.A)({unstable_strictMode:!0},e),...t)}let v=!1;function y(e){return v||(console.warn(["MUI: createStyles from @mui/material/styles is deprecated.","Please use @mui/styles/createStyles"].join("\n")),v=!0),e}var b=n(31127);function x(e,t={}){const{breakpoints:n=["sm","md","lg"],disableAlign:o=!1,factor:a=2,variants:s=["h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","caption","button","overline"]}=t,l=(0,i.A)({},e);l.typography=(0,i.A)({},l.typography);const c=l.typography,u=(0,b.I3)(c.htmlFontSize),d=n.map((e=>l.breakpoints.values[e]));return s.forEach((e=>{const t=c[e];if(!t)return;const n=parseFloat(u(t.fontSize,"rem"));if(n<=1)return;const s=n,l=1+(s-1)/a;let{lineHeight:p}=t;if(!(0,b.a9)(p)&&!o)throw new Error((0,r.A)(6));(0,b.a9)(p)||(p=parseFloat(u(p,"rem"))/parseFloat(n));let f=null;o||(f=e=>(0,b.VR)({size:e,grid:(0,b.qW)({pixels:4,lineHeight:p,htmlFontSize:c.htmlFontSize})})),c[e]=(0,i.A)({},t,(0,b.yL)({cssProperty:"fontSize",min:l,max:s,unit:"rem",breakpoints:d,transform:f}))})),l}var w=n(17091),A=n(44675),_=n(3541),S=n(11848),k=n(96540),C=n(84022),T=n(54816),M=n(40085),P=n(53951),O=n(73788),E=n(72221),D=n(74848);const R={};function I(e,t,n,r=!1){return k.useMemo((()=>{const o=e&&t[e]||t;if("function"==typeof n){const a=n(o),s=e?(0,i.A)({},t,{[e]:a}):a;return r?()=>s:s}return e?(0,i.A)({},t,{[e]:n}):(0,i.A)({},t,n)}),[e,t,n,r])}var N=function(e){const{children:t,theme:n,themeId:r}=e,o=(0,P.A)(R),i=(0,C.A)()||R,a=I(r,o,n),s=I(r,i,n,!0),l="rtl"===a.direction;return(0,D.jsx)(T.A,{theme:s,children:(0,D.jsx)(M.T.Provider,{value:a,children:(0,D.jsx)(O.A,{value:l,children:(0,D.jsx)(E.A,{value:null==a?void 0:a.components,children:t})})})})};const L=["theme"];function j(e){let{theme:t}=e,n=(0,a.A)(e,L);const r=t[o.A];return(0,D.jsx)(N,(0,i.A)({},n,{themeId:r?o.A:void 0,theme:r||t}))}var $=n(48750);function z(){throw new Error((0,r.A)(14))}function F(){throw new Error((0,r.A)(15))}function B(){throw new Error((0,r.A)(16))}var H=n(39940);const V="mode",W="color-scheme",U="data-color-scheme";function q(e){if("undefined"!=typeof window&&"system"===e){return window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}}function G(e,t){return"light"===e.mode||"system"===e.mode&&"light"===e.systemMode?t("light"):"dark"===e.mode||"system"===e.mode&&"dark"===e.systemMode?t("dark"):void 0}function Y(e,t){if("undefined"==typeof window)return;let n;try{n=localStorage.getItem(e)||void 0,n||localStorage.setItem(e,t)}catch(e){}return n||t}function X(e){const{defaultMode:t="light",defaultLightColorScheme:n,defaultDarkColorScheme:r,supportedColorSchemes:o=[],modeStorageKey:a=V,colorSchemeStorageKey:s=W,storageWindow:l=("undefined"==typeof window?void 0:window)}=e,c=o.join(","),[u,d]=k.useState((()=>{const e=Y(a,t),o=Y(`${s}-light`,n),i=Y(`${s}-dark`,r);return{mode:e,systemMode:q(e),lightColorScheme:o,darkColorScheme:i}})),p=function(e){return G(e,(t=>"light"===t?e.lightColorScheme:"dark"===t?e.darkColorScheme:void 0))}(u),f=k.useCallback((e=>{d((n=>{if(e===n.mode)return n;const r=null!=e?e:t;try{localStorage.setItem(a,r)}catch(e){}return(0,i.A)({},n,{mode:r,systemMode:q(r)})}))}),[a,t]),h=k.useCallback((e=>{e?"string"==typeof e?e&&!c.includes(e)?console.error(`\`${e}\` does not exist in \`theme.colorSchemes\`.`):d((t=>{const n=(0,i.A)({},t);return G(t,(t=>{try{localStorage.setItem(`${s}-${t}`,e)}catch(e){}"light"===t&&(n.lightColorScheme=e),"dark"===t&&(n.darkColorScheme=e)})),n})):d((t=>{const o=(0,i.A)({},t),a=null===e.light?n:e.light,l=null===e.dark?r:e.dark;if(a)if(c.includes(a)){o.lightColorScheme=a;try{localStorage.setItem(`${s}-light`,a)}catch(e){}}else console.error(`\`${a}\` does not exist in \`theme.colorSchemes\`.`);if(l)if(c.includes(l)){o.darkColorScheme=l;try{localStorage.setItem(`${s}-dark`,l)}catch(e){}}else console.error(`\`${l}\` does not exist in \`theme.colorSchemes\`.`);return o})):d((e=>{try{localStorage.setItem(`${s}-light`,n),localStorage.setItem(`${s}-dark`,r)}catch(e){}return(0,i.A)({},e,{lightColorScheme:n,darkColorScheme:r})}))}),[c,s,n,r]),m=k.useCallback((e=>{"system"===u.mode&&d((t=>{const n=null!=e&&e.matches?"dark":"light";return t.systemMode===n?t:(0,i.A)({},t,{systemMode:n})}))}),[u.mode]),g=k.useRef(m);return g.current=m,k.useEffect((()=>{const e=(...e)=>g.current(...e),t=window.matchMedia("(prefers-color-scheme: dark)");return t.addListener(e),e(t),()=>{t.removeListener(e)}}),[]),k.useEffect((()=>{if(l){const e=e=>{const n=e.newValue;"string"!=typeof e.key||!e.key.startsWith(s)||n&&!c.match(n)||(e.key.endsWith("light")&&h({light:n}),e.key.endsWith("dark")&&h({dark:n})),e.key!==a||n&&!["light","dark","system"].includes(n)||f(n||t)};return l.addEventListener("storage",e),()=>{l.removeEventListener("storage",e)}}}),[h,f,a,s,c,t,l]),(0,i.A)({},u,{colorScheme:p,setMode:f,setColorScheme:h})}const K=["colorSchemes","components","generateCssVars","cssVarPrefix"];var Z=n(33571);function J(e=""){function t(...n){if(!n.length)return"";const r=n[0];return"string"!=typeof r||r.match(/(#|\(|\)|(-?(\d*\.)?\d+)(px|em|%|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc))|^(-?(\d*\.)?\d+)$|(\d+ \d+ \d+)/)?`, ${r}`:`, var(--${e?`${e}-`:""}${r}${t(...n.slice(1))})`}return(n,...r)=>`var(--${e?`${e}-`:""}${n}${t(...r)})`}var Q=n(59526);const ee=(e,t,n,r=[])=>{let o=e;t.forEach(((e,i)=>{i===t.length-1?Array.isArray(o)?o[Number(e)]=n:o&&"object"==typeof o&&(o[e]=n):o&&"object"==typeof o&&(o[e]||(o[e]=r.includes(e)?[]:{}),o=o[e])}))},te=(e,t,n)=>{!function e(r,o=[],i=[]){Object.entries(r).forEach((([r,a])=>{(!n||n&&!n([...o,r]))&&null!=a&&("object"==typeof a&&Object.keys(a).length>0?e(a,[...o,r],Array.isArray(a)?[...i,r]:i):t([...o,r],a,i))}))}(e)},ne=(e,t)=>{if("number"==typeof t){if(["lineHeight","fontWeight","opacity","zIndex"].some((t=>e.includes(t))))return t;return e[e.length-1].toLowerCase().indexOf("opacity")>=0?t:`${t}px`}return t};function re(e,t){const{prefix:n,shouldSkipGeneratingVar:r}=t||{},o={},i={},a={};return te(e,((e,t,s)=>{if(!("string"!=typeof t&&"number"!=typeof t||r&&r(e,t))){const r=`--${n?`${n}-`:""}${e.join("-")}`;Object.assign(o,{[r]:ne(e,t)}),ee(i,e,`var(${r})`,s),ee(a,e,`var(${r}, ${t})`,s)}}),(e=>"vars"===e[0])),{css:o,vars:i,varsWithDefaults:a}}const oe=["colorSchemes","components","defaultColorScheme"];var ie=function(e,t){const{colorSchemes:n={},defaultColorScheme:r="light"}=e,o=(0,a.A)(e,oe),{vars:s,css:l,varsWithDefaults:c}=re(o,t);let u=c;const d={},{[r]:p}=n,f=(0,a.A)(n,[r].map(Q.A));if(Object.entries(f||{}).forEach((([e,n])=>{const{vars:r,css:o,varsWithDefaults:i}=re(n,t);u=(0,m.A)(u,i),d[e]={css:o,vars:r}})),p){const{css:e,vars:n,varsWithDefaults:o}=re(p,t);u=(0,m.A)(u,o),d[r]={css:e,vars:n}}return{vars:u,generateCssVars:e=>{var n;if(!e){var r;const n=(0,i.A)({},l);return{css:n,vars:s,selector:(null==t||null==(r=t.getSelector)?void 0:r.call(t,e,n))||":root"}}const o=(0,i.A)({},d[e].css);return{css:o,vars:d[e].vars,selector:(null==t||null==(n=t.getSelector)?void 0:n.call(t,e,o))||":root"}}}},ae=n(94188),se=n(771);function le(e){var t;return!!e[0].match(/(cssVarPrefix|typography|mixins|breakpoints|direction|transitions)/)||!!e[0].match(/sxConfig$/)||"palette"===e[0]&&!(null==(t=e[1])||!t.match(/(mode|contrastThreshold|tonalOffset)/))}var ce=n(98783);const ue=["colorSchemes","cssVarPrefix","shouldSkipGeneratingVar"],de=["palette"],pe=[...Array(25)].map(((e,t)=>{if(0===t)return;const n=(0,ce.A)(t);return`linear-gradient(rgba(255 255 255 / ${n}), rgba(255 255 255 / ${n}))`}));function fe(e,t,n){!e[t]&&n&&(e[t]=n)}function he(e){return e&&e.startsWith("hsl")?(0,se.YL)(e):e}function me(e,t){`${t}Channel`in e||(e[`${t}Channel`]=(0,se.Me)(he(e[t]),`MUI: Can't create \`palette.${t}Channel\` because \`palette.${t}\` is not one of these formats: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().\nTo suppress this warning, you need to explicitly provide the \`palette.${t}Channel\` as a string (in rgb format, for example "12 12 12") or undefined if you want to remove the channel token.`))}const ge=e=>{try{return e()}catch(e){}},ve=(e="mui")=>J(e);function ye(e={},...t){var n,r,o,s,l,c;const{colorSchemes:u={},cssVarPrefix:d="mui",shouldSkipGeneratingVar:p=le}=e,f=(0,a.A)(e,ue),g=ve(d),v=(0,h.A)((0,i.A)({},f,u.light&&{palette:null==(n=u.light)?void 0:n.palette})),{palette:y}=v,b=(0,a.A)(v,de),{palette:x}=(0,h.A)({palette:(0,i.A)({mode:"dark"},null==(r=u.dark)?void 0:r.palette)});let w=(0,i.A)({},b,{cssVarPrefix:d,getCssVar:g,colorSchemes:(0,i.A)({},u,{light:(0,i.A)({},u.light,{palette:y,opacity:(0,i.A)({inputPlaceholder:.42,inputUnderline:.42,switchTrackDisabled:.12,switchTrack:.38},null==(o=u.light)?void 0:o.opacity),overlays:(null==(s=u.light)?void 0:s.overlays)||[]}),dark:(0,i.A)({},u.dark,{palette:x,opacity:(0,i.A)({inputPlaceholder:.5,inputUnderline:.7,switchTrackDisabled:.2,switchTrack:.3},null==(l=u.dark)?void 0:l.opacity),overlays:(null==(c=u.dark)?void 0:c.overlays)||pe})})});Object.keys(w.colorSchemes).forEach((e=>{const t=w.colorSchemes[e].palette,n=e=>{const n=e.split("-"),r=n[1],o=n[2];return g(e,t[r][o])};var r;if("light"===e?(fe(t.common,"background","#fff"),fe(t.common,"onBackground","#000")):(fe(t.common,"background","#000"),fe(t.common,"onBackground","#fff")),r=t,["Alert","AppBar","Avatar","Button","Chip","FilledInput","LinearProgress","Skeleton","Slider","SnackbarContent","SpeedDialAction","StepConnector","StepContent","Switch","TableCell","Tooltip"].forEach((e=>{r[e]||(r[e]={})})),"light"===e){fe(t.Alert,"errorColor",(0,se.Nd)(t.error.light,.6)),fe(t.Alert,"infoColor",(0,se.Nd)(t.info.light,.6)),fe(t.Alert,"successColor",(0,se.Nd)(t.success.light,.6)),fe(t.Alert,"warningColor",(0,se.Nd)(t.warning.light,.6)),fe(t.Alert,"errorFilledBg",n("palette-error-main")),fe(t.Alert,"infoFilledBg",n("palette-info-main")),fe(t.Alert,"successFilledBg",n("palette-success-main")),fe(t.Alert,"warningFilledBg",n("palette-warning-main")),fe(t.Alert,"errorFilledColor",ge((()=>y.getContrastText(t.error.main)))),fe(t.Alert,"infoFilledColor",ge((()=>y.getContrastText(t.info.main)))),fe(t.Alert,"successFilledColor",ge((()=>y.getContrastText(t.success.main)))),fe(t.Alert,"warningFilledColor",ge((()=>y.getContrastText(t.warning.main)))),fe(t.Alert,"errorStandardBg",(0,se.j4)(t.error.light,.9)),fe(t.Alert,"infoStandardBg",(0,se.j4)(t.info.light,.9)),fe(t.Alert,"successStandardBg",(0,se.j4)(t.success.light,.9)),fe(t.Alert,"warningStandardBg",(0,se.j4)(t.warning.light,.9)),fe(t.Alert,"errorIconColor",n("palette-error-main")),fe(t.Alert,"infoIconColor",n("palette-info-main")),fe(t.Alert,"successIconColor",n("palette-success-main")),fe(t.Alert,"warningIconColor",n("palette-warning-main")),fe(t.AppBar,"defaultBg",n("palette-grey-100")),fe(t.Avatar,"defaultBg",n("palette-grey-400")),fe(t.Button,"inheritContainedBg",n("palette-grey-300")),fe(t.Button,"inheritContainedHoverBg",n("palette-grey-A100")),fe(t.Chip,"defaultBorder",n("palette-grey-400")),fe(t.Chip,"defaultAvatarColor",n("palette-grey-700")),fe(t.Chip,"defaultIconColor",n("palette-grey-700")),fe(t.FilledInput,"bg","rgba(0, 0, 0, 0.06)"),fe(t.FilledInput,"hoverBg","rgba(0, 0, 0, 0.09)"),fe(t.FilledInput,"disabledBg","rgba(0, 0, 0, 0.12)"),fe(t.LinearProgress,"primaryBg",(0,se.j4)(t.primary.main,.62)),fe(t.LinearProgress,"secondaryBg",(0,se.j4)(t.secondary.main,.62)),fe(t.LinearProgress,"errorBg",(0,se.j4)(t.error.main,.62)),fe(t.LinearProgress,"infoBg",(0,se.j4)(t.info.main,.62)),fe(t.LinearProgress,"successBg",(0,se.j4)(t.success.main,.62)),fe(t.LinearProgress,"warningBg",(0,se.j4)(t.warning.main,.62)),fe(t.Skeleton,"bg",`rgba(${n("palette-text-primaryChannel")} / 0.11)`),fe(t.Slider,"primaryTrack",(0,se.j4)(t.primary.main,.62)),fe(t.Slider,"secondaryTrack",(0,se.j4)(t.secondary.main,.62)),fe(t.Slider,"errorTrack",(0,se.j4)(t.error.main,.62)),fe(t.Slider,"infoTrack",(0,se.j4)(t.info.main,.62)),fe(t.Slider,"successTrack",(0,se.j4)(t.success.main,.62)),fe(t.Slider,"warningTrack",(0,se.j4)(t.warning.main,.62));const e=(0,se.Y9)(t.background.default,.8);fe(t.SnackbarContent,"bg",e),fe(t.SnackbarContent,"color",ge((()=>y.getContrastText(e)))),fe(t.SpeedDialAction,"fabHoverBg",(0,se.Y9)(t.background.paper,.15)),fe(t.StepConnector,"border",n("palette-grey-400")),fe(t.StepContent,"border",n("palette-grey-400")),fe(t.Switch,"defaultColor",n("palette-common-white")),fe(t.Switch,"defaultDisabledColor",n("palette-grey-100")),fe(t.Switch,"primaryDisabledColor",(0,se.j4)(t.primary.main,.62)),fe(t.Switch,"secondaryDisabledColor",(0,se.j4)(t.secondary.main,.62)),fe(t.Switch,"errorDisabledColor",(0,se.j4)(t.error.main,.62)),fe(t.Switch,"infoDisabledColor",(0,se.j4)(t.info.main,.62)),fe(t.Switch,"successDisabledColor",(0,se.j4)(t.success.main,.62)),fe(t.Switch,"warningDisabledColor",(0,se.j4)(t.warning.main,.62)),fe(t.TableCell,"border",(0,se.j4)((0,se.Cg)(t.divider,1),.88)),fe(t.Tooltip,"bg",(0,se.Cg)(t.grey[700],.92))}else{fe(t.Alert,"errorColor",(0,se.j4)(t.error.light,.6)),fe(t.Alert,"infoColor",(0,se.j4)(t.info.light,.6)),fe(t.Alert,"successColor",(0,se.j4)(t.success.light,.6)),fe(t.Alert,"warningColor",(0,se.j4)(t.warning.light,.6)),fe(t.Alert,"errorFilledBg",n("palette-error-dark")),fe(t.Alert,"infoFilledBg",n("palette-info-dark")),fe(t.Alert,"successFilledBg",n("palette-success-dark")),fe(t.Alert,"warningFilledBg",n("palette-warning-dark")),fe(t.Alert,"errorFilledColor",ge((()=>x.getContrastText(t.error.dark)))),fe(t.Alert,"infoFilledColor",ge((()=>x.getContrastText(t.info.dark)))),fe(t.Alert,"successFilledColor",ge((()=>x.getContrastText(t.success.dark)))),fe(t.Alert,"warningFilledColor",ge((()=>x.getContrastText(t.warning.dark)))),fe(t.Alert,"errorStandardBg",(0,se.Nd)(t.error.light,.9)),fe(t.Alert,"infoStandardBg",(0,se.Nd)(t.info.light,.9)),fe(t.Alert,"successStandardBg",(0,se.Nd)(t.success.light,.9)),fe(t.Alert,"warningStandardBg",(0,se.Nd)(t.warning.light,.9)),fe(t.Alert,"errorIconColor",n("palette-error-main")),fe(t.Alert,"infoIconColor",n("palette-info-main")),fe(t.Alert,"successIconColor",n("palette-success-main")),fe(t.Alert,"warningIconColor",n("palette-warning-main")),fe(t.AppBar,"defaultBg",n("palette-grey-900")),fe(t.AppBar,"darkBg",n("palette-background-paper")),fe(t.AppBar,"darkColor",n("palette-text-primary")),fe(t.Avatar,"defaultBg",n("palette-grey-600")),fe(t.Button,"inheritContainedBg",n("palette-grey-800")),fe(t.Button,"inheritContainedHoverBg",n("palette-grey-700")),fe(t.Chip,"defaultBorder",n("palette-grey-700")),fe(t.Chip,"defaultAvatarColor",n("palette-grey-300")),fe(t.Chip,"defaultIconColor",n("palette-grey-300")),fe(t.FilledInput,"bg","rgba(255, 255, 255, 0.09)"),fe(t.FilledInput,"hoverBg","rgba(255, 255, 255, 0.13)"),fe(t.FilledInput,"disabledBg","rgba(255, 255, 255, 0.12)"),fe(t.LinearProgress,"primaryBg",(0,se.Nd)(t.primary.main,.5)),fe(t.LinearProgress,"secondaryBg",(0,se.Nd)(t.secondary.main,.5)),fe(t.LinearProgress,"errorBg",(0,se.Nd)(t.error.main,.5)),fe(t.LinearProgress,"infoBg",(0,se.Nd)(t.info.main,.5)),fe(t.LinearProgress,"successBg",(0,se.Nd)(t.success.main,.5)),fe(t.LinearProgress,"warningBg",(0,se.Nd)(t.warning.main,.5)),fe(t.Skeleton,"bg",`rgba(${n("palette-text-primaryChannel")} / 0.13)`),fe(t.Slider,"primaryTrack",(0,se.Nd)(t.primary.main,.5)),fe(t.Slider,"secondaryTrack",(0,se.Nd)(t.secondary.main,.5)),fe(t.Slider,"errorTrack",(0,se.Nd)(t.error.main,.5)),fe(t.Slider,"infoTrack",(0,se.Nd)(t.info.main,.5)),fe(t.Slider,"successTrack",(0,se.Nd)(t.success.main,.5)),fe(t.Slider,"warningTrack",(0,se.Nd)(t.warning.main,.5));const e=(0,se.Y9)(t.background.default,.98);fe(t.SnackbarContent,"bg",e),fe(t.SnackbarContent,"color",ge((()=>x.getContrastText(e)))),fe(t.SpeedDialAction,"fabHoverBg",(0,se.Y9)(t.background.paper,.15)),fe(t.StepConnector,"border",n("palette-grey-600")),fe(t.StepContent,"border",n("palette-grey-600")),fe(t.Switch,"defaultColor",n("palette-grey-300")),fe(t.Switch,"defaultDisabledColor",n("palette-grey-600")),fe(t.Switch,"primaryDisabledColor",(0,se.Nd)(t.primary.main,.55)),fe(t.Switch,"secondaryDisabledColor",(0,se.Nd)(t.secondary.main,.55)),fe(t.Switch,"errorDisabledColor",(0,se.Nd)(t.error.main,.55)),fe(t.Switch,"infoDisabledColor",(0,se.Nd)(t.info.main,.55)),fe(t.Switch,"successDisabledColor",(0,se.Nd)(t.success.main,.55)),fe(t.Switch,"warningDisabledColor",(0,se.Nd)(t.warning.main,.55)),fe(t.TableCell,"border",(0,se.Nd)((0,se.Cg)(t.divider,1),.68)),fe(t.Tooltip,"bg",(0,se.Cg)(t.grey[700],.92))}me(t.background,"default"),me(t.background,"paper"),me(t.common,"background"),me(t.common,"onBackground"),me(t,"divider"),Object.keys(t).forEach((e=>{const n=t[e];n&&"object"==typeof n&&(n.main&&fe(t[e],"mainChannel",(0,se.Me)(he(n.main))),n.light&&fe(t[e],"lightChannel",(0,se.Me)(he(n.light))),n.dark&&fe(t[e],"darkChannel",(0,se.Me)(he(n.dark))),n.contrastText&&fe(t[e],"contrastTextChannel",(0,se.Me)(he(n.contrastText))),"text"===e&&(me(t[e],"primary"),me(t[e],"secondary")),"action"===e&&(n.active&&me(t[e],"active"),n.selected&&me(t[e],"selected")))}))})),w=t.reduce(((e,t)=>(0,m.A)(e,t)),w);const A={prefix:d,shouldSkipGeneratingVar:p},{vars:_,generateCssVars:S}=ie(w,A);return w.vars=_,w.generateCssVars=S,w.shouldSkipGeneratingVar=p,w.unstable_sxConfig=(0,i.A)({},ae.A,null==f?void 0:f.unstable_sxConfig),w.unstable_sx=function(e){return(0,Z.A)({sx:e,theme:this})},w}var be=n(44778);var xe=e=>[...[...Array(24)].map(((t,n)=>`--${e?`${e}-`:""}overlays-${n+1}`)),`--${e?`${e}-`:""}palette-AppBar-darkBg`,`--${e?`${e}-`:""}palette-AppBar-darkColor`];const we={attribute:"data-mui-color-scheme",colorSchemeStorageKey:"mui-color-scheme",defaultLightColorScheme:"light",defaultDarkColorScheme:"dark",modeStorageKey:"mui-mode"};const Ae=ye(),{CssVarsProvider:_e,useColorScheme:Se,getInitColorSchemeScript:ke}=function(e){const{themeId:t,theme:n={},attribute:o=U,modeStorageKey:s=V,colorSchemeStorageKey:l=W,defaultMode:c="light",defaultColorScheme:u,disableTransitionOnChange:d=!1,resolveTheme:p,excludeVariablesFromRoot:f}=e;(!n.colorSchemes||"string"==typeof u&&!n.colorSchemes[u]||"object"==typeof u&&!n.colorSchemes[null==u?void 0:u.light]||"object"==typeof u&&!n.colorSchemes[null==u?void 0:u.dark])&&console.error(`MUI: \`${u}\` does not exist in \`theme.colorSchemes\`.`);const h=k.createContext(void 0),g="string"==typeof u?u:u.light,v="string"==typeof u?u:u.dark;return{CssVarsProvider:function(e){const{children:r,theme:g=n,modeStorageKey:v=s,colorSchemeStorageKey:y=l,attribute:b=o,defaultMode:x=c,defaultColorScheme:w=u,disableTransitionOnChange:A=d,storageWindow:_=("undefined"==typeof window?void 0:window),documentNode:S=("undefined"==typeof document?void 0:document),colorSchemeNode:T=("undefined"==typeof document?void 0:document.documentElement),colorSchemeSelector:M=":root",disableNestedContext:P=!1,disableStyleSheetGeneration:O=!1}=e,E=k.useRef(!1),R=(0,C.A)(),I=k.useContext(h),L=!!I&&!P,j=g[t],$=j||g,{colorSchemes:z={},components:F={},generateCssVars:B=()=>({vars:{},css:{}}),cssVarPrefix:V}=$,W=(0,a.A)($,K),U=Object.keys(z),q="string"==typeof w?w:w.light,G="string"==typeof w?w:w.dark,{mode:Y,setMode:Z,systemMode:J,lightColorScheme:Q,darkColorScheme:ee,colorScheme:te,setColorScheme:ne}=X({supportedColorSchemes:U,defaultLightColorScheme:q,defaultDarkColorScheme:G,modeStorageKey:v,colorSchemeStorageKey:y,defaultMode:x,storageWindow:_});let re=Y,oe=te;L&&(re=I.mode,oe=I.colorScheme);const ie=oe||("dark"===(re||("system"===x?c:x))?G:q),{css:ae,vars:se}=B(),le=(0,i.A)({},W,{components:F,colorSchemes:z,cssVarPrefix:V,vars:se,getColorSchemeSelector:e=>`[${b}="${e}"] &`}),ce={},ue={};Object.entries(z).forEach((([e,t])=>{const{css:n,vars:r}=B(e);le.vars=(0,m.A)(le.vars,r),e===ie&&(Object.keys(t).forEach((e=>{t[e]&&"object"==typeof t[e]?le[e]=(0,i.A)({},le[e],t[e]):le[e]=t[e]})),le.palette&&(le.palette.colorScheme=e));if(e===("string"==typeof w?w:"dark"===x?w.dark:w.light)){if(f){const t={};f(V).forEach((e=>{t[e]=n[e],delete n[e]})),ce[`[${b}="${e}"]`]=t}ce[`${M}, [${b}="${e}"]`]=n}else ue[`${":root"===M?"":M}[${b}="${e}"]`]=n})),le.vars=(0,m.A)(le.vars,se),k.useEffect((()=>{oe&&T&&T.setAttribute(b,oe)}),[oe,b,T]),k.useEffect((()=>{let e;if(A&&E.current&&S){const t=S.createElement("style");t.appendChild(S.createTextNode("*{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}")),S.head.appendChild(t),window.getComputedStyle(S.body),e=setTimeout((()=>{S.head.removeChild(t)}),1)}return()=>{clearTimeout(e)}}),[oe,A,S]),k.useEffect((()=>(E.current=!0,()=>{E.current=!1})),[]);const de=k.useMemo((()=>({allColorSchemes:U,colorScheme:oe,darkColorScheme:ee,lightColorScheme:Q,mode:re,setColorScheme:ne,setMode:Z,systemMode:J})),[U,oe,ee,Q,re,ne,Z,J]);let pe=!0;(O||L&&(null==R?void 0:R.cssVarPrefix)===V)&&(pe=!1);const fe=(0,D.jsxs)(k.Fragment,{children:[pe&&(0,D.jsxs)(k.Fragment,{children:[(0,D.jsx)(H.A,{styles:{[M]:ae}}),(0,D.jsx)(H.A,{styles:ce}),(0,D.jsx)(H.A,{styles:ue})]}),(0,D.jsx)(N,{themeId:j?t:void 0,theme:p?p(le):le,children:r})]});return L?fe:(0,D.jsx)(h.Provider,{value:de,children:fe})},useColorScheme:()=>{const e=k.useContext(h);if(!e)throw new Error((0,r.A)(19));return e},getInitColorSchemeScript:e=>function(e){const{defaultMode:t="light",defaultLightColorScheme:n="light",defaultDarkColorScheme:r="dark",modeStorageKey:o=V,colorSchemeStorageKey:i=W,attribute:a=U,colorSchemeNode:s="document.documentElement",nonce:l}=e||{};return(0,D.jsx)("script",{suppressHydrationWarning:!0,nonce:"undefined"==typeof window?l:"",dangerouslySetInnerHTML:{__html:`(function() {\ntry {\n var mode = localStorage.getItem('${o}') || '${t}';\n var colorScheme = '';\n if (mode === 'system') {\n // handle system mode\n var mql = window.matchMedia('(prefers-color-scheme: dark)');\n if (mql.matches) {\n colorScheme = localStorage.getItem('${i}-dark') || '${r}';\n } else {\n colorScheme = localStorage.getItem('${i}-light') || '${n}';\n }\n }\n if (mode === 'light') {\n colorScheme = localStorage.getItem('${i}-light') || '${n}';\n }\n if (mode === 'dark') {\n colorScheme = localStorage.getItem('${i}-dark') || '${r}';\n }\n if (colorScheme) {\n ${s}.setAttribute('${a}', colorScheme);\n }\n} catch(e){}})();`}},"mui-color-scheme-init")}((0,i.A)({attribute:o,colorSchemeStorageKey:l,defaultMode:c,defaultLightColorScheme:g,defaultDarkColorScheme:v,modeStorageKey:s},e))}}({themeId:o.A,theme:Ae,attribute:we.attribute,colorSchemeStorageKey:we.colorSchemeStorageKey,modeStorageKey:we.modeStorageKey,defaultColorScheme:{light:we.defaultLightColorScheme,dark:we.defaultDarkColorScheme},resolveTheme:e=>{const t=(0,i.A)({},e,{typography:(0,be.A)(e.palette,e.typography)});return t.unstable_sx=function(e){return(0,Z.A)({sx:e,theme:this})},t},excludeVariablesFromRoot:xe}),Ce=ke;var Te=n(56877);function Me(){throw new Error((0,r.A)(20))}},39770:function(e,t,n){"use strict";var r=n(64438);t.A=e=>(0,r.A)(e)&&"classes"!==e},42086:function(e,t,n){"use strict";n.r(t);function r(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,0.2)`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,0.14)`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,0.12)`].join(",")}const o=["none",r(0,2,1,-1,0,1,1,0,0,1,3,0),r(0,3,1,-2,0,2,2,0,0,1,5,0),r(0,3,3,-2,0,3,4,0,0,1,8,0),r(0,2,4,-1,0,4,5,0,0,1,10,0),r(0,3,5,-1,0,5,8,0,0,1,14,0),r(0,3,5,-1,0,6,10,0,0,1,18,0),r(0,4,5,-2,0,7,10,1,0,2,16,1),r(0,5,5,-3,0,8,10,1,0,3,14,2),r(0,5,6,-3,0,9,12,1,0,3,16,2),r(0,6,6,-3,0,10,14,1,0,4,18,3),r(0,6,7,-4,0,11,15,1,0,4,20,3),r(0,7,8,-4,0,12,17,2,0,5,22,4),r(0,7,8,-4,0,13,19,2,0,5,24,4),r(0,7,9,-4,0,14,21,2,0,5,26,4),r(0,8,9,-5,0,15,22,2,0,6,28,5),r(0,8,10,-5,0,16,24,2,0,6,30,5),r(0,8,11,-5,0,17,26,2,0,6,32,5),r(0,9,11,-5,0,18,28,2,0,7,34,6),r(0,9,12,-6,0,19,29,2,0,7,36,6),r(0,10,13,-6,0,20,31,3,0,8,38,7),r(0,10,13,-6,0,21,33,3,0,8,40,7),r(0,10,14,-6,0,22,35,3,0,8,42,7),r(0,11,14,-7,0,23,36,3,0,9,44,8),r(0,11,15,-7,0,24,38,3,0,9,46,8)];t.default=o},64438:function(e,t){"use strict";t.A=function(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}},11848:function(e,t,n){"use strict";var r=n(56461),o=n(22765),i=n(58312),a=n(39770);const s=(0,r.Ay)({themeId:i.A,defaultTheme:o.A,rootShouldForwardProp:a.A});t.Ay=s},44675:function(e,t,n){"use strict";n.d(t,{A:function(){return a}});n(96540);var r=n(82858),o=n(22765),i=n(58312);function a(){const e=(0,r.A)(o.A);return e[i.A]||e}},3541:function(e,t,n){"use strict";n.d(t,{A:function(){return a}});var r=n(44467),o=n(22765),i=n(58312);function a({props:e,name:t}){return(0,r.A)({props:e,name:t,defaultTheme:o.A,themeId:i.A})}},35186:function(e,t,n){"use strict";n.d(t,{c:function(){return o},q:function(){return r}});const r=e=>e.scrollTop;function o(e,t){var n,r;const{timeout:o,easing:i,style:a={}}=e;return{duration:null!=(n=a.transitionDuration)?n:"number"==typeof o?o:o[t.mode]||0,easing:null!=(r=a.transitionTimingFunction)?r:"object"==typeof i?i[t.mode]:i,delay:a.transitionDelay}}},43247:function(e,t,n){"use strict";n.d(t,{Z:function(){return d}});var r=n(58168),o=n(96540),i=n(34661),a=n(2501),s=n(8299),l=n(93928),c=n(17365);function u(e){return void 0!==e.normalize?e.normalize("NFD").replace(/[\u0300-\u036f]/g,""):e}function d(e={}){const{ignoreAccents:t=!0,ignoreCase:n=!0,limit:r,matchFrom:o="any",stringify:i,trim:a=!1}=e;return(e,{inputValue:s,getOptionLabel:l})=>{let c=a?s.trim():s;n&&(c=c.toLowerCase()),t&&(c=u(c));const d=c?e.filter((e=>{let r=(i||l)(e);return n&&(r=r.toLowerCase()),t&&(r=u(r)),"start"===o?0===r.indexOf(c):r.indexOf(c)>-1})):e;return"number"==typeof r?d.slice(0,r):d}}function p(e,t){for(let n=0;n<e.length;n+=1)if(t(e[n]))return n;return-1}const f=d(),h=e=>{var t;return null!==e.current&&(null==(t=e.current.parentElement)?void 0:t.contains(document.activeElement))};t.A=function(e){const{unstable_isActiveElementInListbox:t=h,unstable_classNamePrefix:n="Mui",autoComplete:u=!1,autoHighlight:d=!1,autoSelect:m=!1,blurOnSelect:g=!1,clearOnBlur:v=!e.freeSolo,clearOnEscape:y=!1,componentName:b="useAutocomplete",defaultValue:x=(e.multiple?[]:null),disableClearable:w=!1,disableCloseOnSelect:A=!1,disabled:_,disabledItemsFocusable:S=!1,disableListWrap:k=!1,filterOptions:C=f,filterSelectedOptions:T=!1,freeSolo:M=!1,getOptionDisabled:P,getOptionKey:O,getOptionLabel:E=e=>{var t;return null!=(t=e.label)?t:e},groupBy:D,handleHomeEndKeys:R=!e.freeSolo,id:I,includeInputInList:N=!1,inputValue:L,isOptionEqualToValue:j=(e,t)=>e===t,multiple:$=!1,onChange:z,onClose:F,onHighlightChange:B,onInputChange:H,onOpen:V,open:W,openOnFocus:U=!1,options:q,readOnly:G=!1,selectOnFocus:Y=!e.freeSolo,value:X}=e,K=(0,i.A)(I);let Z=E;Z=e=>{const t=E(e);return"string"!=typeof t?String(t):t};const J=o.useRef(!1),Q=o.useRef(!0),ee=o.useRef(null),te=o.useRef(null),[ne,re]=o.useState(null),[oe,ie]=o.useState(-1),ae=d?0:-1,se=o.useRef(ae),[le,ce]=(0,a.A)({controlled:X,default:x,name:b}),[ue,de]=(0,a.A)({controlled:L,default:"",name:b,state:"inputValue"}),[pe,fe]=o.useState(!1),he=o.useCallback(((e,t)=>{if(!($?le.length<t.length:null!==t)&&!v)return;let n;if($)n="";else if(null==t)n="";else{const e=Z(t);n="string"==typeof e?e:""}ue!==n&&(de(n),H&&H(e,n,"reset"))}),[Z,ue,$,H,de,v,le]),[me,ge]=(0,a.A)({controlled:W,default:!1,name:b,state:"open"}),[ve,ye]=o.useState(!0),be=!$&&null!=le&&ue===Z(le),xe=me&&!G,we=xe?C(q.filter((e=>!T||!($?le:[le]).some((t=>null!==t&&j(e,t))))),{inputValue:be&&ve?"":ue,getOptionLabel:Z}):[],Ae=(0,s.A)({filteredOptions:we,value:le,inputValue:ue});o.useEffect((()=>{const e=le!==Ae.value;pe&&!e||M&&!e||he(null,le)}),[le,he,pe,Ae.value,M]);const _e=me&&we.length>0&&!G,Se=(0,l.A)((e=>{-1===e?ee.current.focus():ne.querySelector(`[data-tag-index="${e}"]`).focus()}));o.useEffect((()=>{$&&oe>le.length-1&&(ie(-1),Se(-1))}),[le,$,oe,Se]);const ke=(0,l.A)((({event:e,index:t,reason:r="auto"})=>{if(se.current=t,-1===t?ee.current.removeAttribute("aria-activedescendant"):ee.current.setAttribute("aria-activedescendant",`${K}-option-${t}`),B&&B(e,-1===t?null:we[t],r),!te.current)return;const o=te.current.querySelector(`[role="option"].${n}-focused`);o&&(o.classList.remove(`${n}-focused`),o.classList.remove(`${n}-focusVisible`));let i=te.current;if("listbox"!==te.current.getAttribute("role")&&(i=te.current.parentElement.querySelector('[role="listbox"]')),!i)return;if(-1===t)return void(i.scrollTop=0);const a=te.current.querySelector(`[data-option-index="${t}"]`);if(a&&(a.classList.add(`${n}-focused`),"keyboard"===r&&a.classList.add(`${n}-focusVisible`),i.scrollHeight>i.clientHeight&&"mouse"!==r&&"touch"!==r)){const e=a,t=i.clientHeight+i.scrollTop,n=e.offsetTop+e.offsetHeight;n>t?i.scrollTop=n-i.clientHeight:e.offsetTop-e.offsetHeight*(D?1.3:0)<i.scrollTop&&(i.scrollTop=e.offsetTop-e.offsetHeight*(D?1.3:0))}})),Ce=(0,l.A)((({event:e,diff:t,direction:n="next",reason:r="auto"})=>{if(!xe)return;const o=function(e,t){if(!te.current||e<0||e>=we.length)return-1;let n=e;for(;;){const r=te.current.querySelector(`[data-option-index="${n}"]`),o=!S&&(!r||r.disabled||"true"===r.getAttribute("aria-disabled"));if(r&&r.hasAttribute("tabindex")&&!o)return n;if(n="next"===t?(n+1)%we.length:(n-1+we.length)%we.length,n===e)return-1}}((()=>{const e=we.length-1;if("reset"===t)return ae;if("start"===t)return 0;if("end"===t)return e;const n=se.current+t;return n<0?-1===n&&N?-1:k&&-1!==se.current||Math.abs(t)>1?0:e:n>e?n===e+1&&N?-1:k||Math.abs(t)>1?e:0:n})(),n);if(ke({index:o,reason:r,event:e}),u&&"reset"!==t)if(-1===o)ee.current.value=ue;else{const e=Z(we[o]);ee.current.value=e;0===e.toLowerCase().indexOf(ue.toLowerCase())&&ue.length>0&&ee.current.setSelectionRange(ue.length,e.length)}})),Te=o.useCallback((()=>{if(!xe)return;const e=(()=>{if(-1!==se.current&&Ae.filteredOptions&&Ae.filteredOptions.length!==we.length&&Ae.inputValue===ue&&($?le.length===Ae.value.length&&Ae.value.every(((e,t)=>Z(le[t])===Z(e))):(e=Ae.value,t=le,(e?Z(e):"")===(t?Z(t):"")))){const e=Ae.filteredOptions[se.current];if(e)return p(we,(t=>Z(t)===Z(e)))}var e,t;return-1})();if(-1!==e)return void(se.current=e);const t=$?le[0]:le;if(0!==we.length&&null!=t){if(te.current)if(null==t)se.current>=we.length-1?ke({index:we.length-1}):ke({index:se.current});else{const e=we[se.current];if($&&e&&-1!==p(le,(t=>j(e,t))))return;const n=p(we,(e=>j(e,t)));-1===n?Ce({diff:"reset"}):ke({index:n})}}else Ce({diff:"reset"})}),[we.length,!$&&le,T,Ce,ke,xe,ue,$]),Me=(0,l.A)((e=>{(0,c.A)(te,e),e&&Te()}));o.useEffect((()=>{Te()}),[Te]);const Pe=e=>{me||(ge(!0),ye(!0),V&&V(e))},Oe=(e,t)=>{me&&(ge(!1),F&&F(e,t))},Ee=(e,t,n,r)=>{if($){if(le.length===t.length&&le.every(((e,n)=>e===t[n])))return}else if(le===t)return;z&&z(e,t,n,r),ce(t)},De=o.useRef(!1),Re=(e,t,n="selectOption",r="options")=>{let o=n,i=t;if($){i=Array.isArray(le)?le.slice():[];const e=p(i,(e=>j(t,e)));-1===e?i.push(t):"freeSolo"!==r&&(i.splice(e,1),o="removeOption")}he(e,i),Ee(e,i,o,{option:t}),A||e&&(e.ctrlKey||e.metaKey)||Oe(e,o),(!0===g||"touch"===g&&De.current||"mouse"===g&&!De.current)&&ee.current.blur()},Ie=(e,t)=>{if(!$)return;""===ue&&Oe(e,"toggleInput");let n=oe;-1===oe?""===ue&&"previous"===t&&(n=le.length-1):(n+="next"===t?1:-1,n<0&&(n=0),n===le.length&&(n=-1)),n=function(e,t){if(-1===e)return-1;let n=e;for(;;){if("next"===t&&n===le.length||"previous"===t&&-1===n)return-1;const e=ne.querySelector(`[data-tag-index="${n}"]`);if(e&&e.hasAttribute("tabindex")&&!e.disabled&&"true"!==e.getAttribute("aria-disabled"))return n;n+="next"===t?1:-1}}(n,t),ie(n),Se(n)},Ne=e=>{J.current=!0,de(""),H&&H(e,"","clear"),Ee(e,$?[]:null,"clear")},Le=e=>t=>{if(e.onKeyDown&&e.onKeyDown(t),!t.defaultMuiPrevented&&(-1!==oe&&-1===["ArrowLeft","ArrowRight"].indexOf(t.key)&&(ie(-1),Se(-1)),229!==t.which))switch(t.key){case"Home":xe&&R&&(t.preventDefault(),Ce({diff:"start",direction:"next",reason:"keyboard",event:t}));break;case"End":xe&&R&&(t.preventDefault(),Ce({diff:"end",direction:"previous",reason:"keyboard",event:t}));break;case"PageUp":t.preventDefault(),Ce({diff:-5,direction:"previous",reason:"keyboard",event:t}),Pe(t);break;case"PageDown":t.preventDefault(),Ce({diff:5,direction:"next",reason:"keyboard",event:t}),Pe(t);break;case"ArrowDown":t.preventDefault(),Ce({diff:1,direction:"next",reason:"keyboard",event:t}),Pe(t);break;case"ArrowUp":t.preventDefault(),Ce({diff:-1,direction:"previous",reason:"keyboard",event:t}),Pe(t);break;case"ArrowLeft":Ie(t,"previous");break;case"ArrowRight":Ie(t,"next");break;case"Enter":if(-1!==se.current&&xe){const e=we[se.current],n=!!P&&P(e);if(t.preventDefault(),n)return;Re(t,e,"selectOption"),u&&ee.current.setSelectionRange(ee.current.value.length,ee.current.value.length)}else M&&""!==ue&&!1===be&&($&&t.preventDefault(),Re(t,ue,"createOption","freeSolo"));break;case"Escape":xe?(t.preventDefault(),t.stopPropagation(),Oe(t,"escape")):y&&(""!==ue||$&&le.length>0)&&(t.preventDefault(),t.stopPropagation(),Ne(t));break;case"Backspace":if($&&!G&&""===ue&&le.length>0){const e=-1===oe?le.length-1:oe,n=le.slice();n.splice(e,1),Ee(t,n,"removeOption",{option:le[e]})}break;case"Delete":if($&&!G&&""===ue&&le.length>0&&-1!==oe){const e=oe,n=le.slice();n.splice(e,1),Ee(t,n,"removeOption",{option:le[e]})}}},je=e=>{fe(!0),U&&!J.current&&Pe(e)},$e=e=>{t(te)?ee.current.focus():(fe(!1),Q.current=!0,J.current=!1,m&&-1!==se.current&&xe?Re(e,we[se.current],"blur"):m&&M&&""!==ue?Re(e,ue,"blur","freeSolo"):v&&he(e,le),Oe(e,"blur"))},ze=e=>{const t=e.target.value;ue!==t&&(de(t),ye(!1),H&&H(e,t,"input")),""===t?w||$||Ee(e,null,"clear"):Pe(e)},Fe=e=>{const t=Number(e.currentTarget.getAttribute("data-option-index"));se.current!==t&&ke({event:e,index:t,reason:"mouse"})},Be=e=>{ke({event:e,index:Number(e.currentTarget.getAttribute("data-option-index")),reason:"touch"}),De.current=!0},He=e=>{const t=Number(e.currentTarget.getAttribute("data-option-index"));Re(e,we[t],"selectOption"),De.current=!1},Ve=e=>t=>{const n=le.slice();n.splice(e,1),Ee(t,n,"removeOption",{option:le[e]})},We=e=>{me?Oe(e,"toggleInput"):Pe(e)},Ue=e=>{e.currentTarget.contains(e.target)&&e.target.getAttribute("id")!==K&&e.preventDefault()},qe=e=>{e.currentTarget.contains(e.target)&&(ee.current.focus(),Y&&Q.current&&ee.current.selectionEnd-ee.current.selectionStart==0&&ee.current.select(),Q.current=!1)},Ge=e=>{_||""!==ue&&me||We(e)};let Ye=M&&ue.length>0;Ye=Ye||($?le.length>0:null!==le);let Xe=we;if(D){new Map;Xe=we.reduce(((e,t,n)=>{const r=D(t);return e.length>0&&e[e.length-1].group===r?e[e.length-1].options.push(t):e.push({key:n,index:n,group:r,options:[t]}),e}),[])}return _&&pe&&$e(),{getRootProps:(e={})=>(0,r.A)({"aria-owns":_e?`${K}-listbox`:null},e,{onKeyDown:Le(e),onMouseDown:Ue,onClick:qe}),getInputLabelProps:()=>({id:`${K}-label`,htmlFor:K}),getInputProps:()=>({id:K,value:ue,onBlur:$e,onFocus:je,onChange:ze,onMouseDown:Ge,"aria-activedescendant":xe?"":null,"aria-autocomplete":u?"both":"list","aria-controls":_e?`${K}-listbox`:void 0,"aria-expanded":_e,autoComplete:"off",ref:ee,autoCapitalize:"none",spellCheck:"false",role:"combobox",disabled:_}),getClearProps:()=>({tabIndex:-1,type:"button",onClick:Ne}),getPopupIndicatorProps:()=>({tabIndex:-1,type:"button",onClick:We}),getTagProps:({index:e})=>(0,r.A)({key:e,"data-tag-index":e,tabIndex:-1},!G&&{onDelete:Ve(e)}),getListboxProps:()=>({role:"listbox",id:`${K}-listbox`,"aria-labelledby":`${K}-label`,ref:Me,onMouseDown:e=>{e.preventDefault()}}),getOptionProps:({index:e,option:t})=>{var n;const r=($?le:[le]).some((e=>null!=e&&j(t,e))),o=!!P&&P(t);return{key:null!=(n=null==O?void 0:O(t))?n:Z(t),tabIndex:-1,role:"option",id:`${K}-option-${e}`,onMouseMove:Fe,onClick:He,onTouchStart:Be,"data-option-index":e,"aria-disabled":o,"aria-selected":r}},id:K,inputValue:ue,value:le,dirty:Ye,expanded:xe&&ne,popupOpen:xe,focused:pe||-1!==oe,anchorEl:ne,setAnchorEl:re,focusedTag:oe,groupedOptions:Xe}}},74007:function(e,t,n){"use strict";n.d(t,{A:function(){return s}});var r=n(58168),o=n(98587),i=n(2501);const a=["boundaryCount","componentName","count","defaultPage","disabled","hideNextButton","hidePrevButton","onChange","page","showFirstButton","showLastButton","siblingCount"];function s(e={}){const{boundaryCount:t=1,componentName:n="usePagination",count:s=1,defaultPage:l=1,disabled:c=!1,hideNextButton:u=!1,hidePrevButton:d=!1,onChange:p,page:f,showFirstButton:h=!1,showLastButton:m=!1,siblingCount:g=1}=e,v=(0,o.A)(e,a),[y,b]=(0,i.A)({controlled:f,default:l,name:n,state:"page"}),x=(e,t)=>{f||b(t),p&&p(e,t)},w=(e,t)=>{const n=t-e+1;return Array.from({length:n},((t,n)=>e+n))},A=w(1,Math.min(t,s)),_=w(Math.max(s-t+1,t+1),s),S=Math.max(Math.min(y-g,s-t-2*g-1),t+2),k=Math.min(Math.max(y+g,t+2*g+2),_.length>0?_[0]-2:s-1),C=[...h?["first"]:[],...d?[]:["previous"],...A,...S>t+2?["start-ellipsis"]:t+1<s-t?[t+1]:[],...w(S,k),...k<s-t-1?["end-ellipsis"]:s-t>t?[s-t]:[],..._,...u?[]:["next"],...m?["last"]:[]],T=e=>{switch(e){case"first":return 1;case"previous":return y-1;case"next":return y+1;case"last":return s;default:return null}},M=C.map((e=>"number"==typeof e?{onClick:t=>{x(t,e)},type:"page",page:e,selected:e===y,disabled:c,"aria-current":e===y?"true":void 0}:{onClick:t=>{x(t,T(e))},type:e,page:T(e),selected:!1,disabled:c||-1===e.indexOf("ellipsis")&&("next"===e||"last"===e?y>=s:y<=1)}));return(0,r.A)({items:M},v)}},28466:function(e,t,n){"use strict";var r=n(13967);t.A=r.A},50862:function(e,t,n){"use strict";var r=n(76673);t.A=r.A},20561:function(e,t,n){"use strict";n.d(t,{A:function(){return s}});var r=n(58168),o=n(96540),i=n(64623),a=n(74848);function s(e,t){function n(n,o){return(0,a.jsx)(i.A,(0,r.A)({"data-testid":`${t}Icon`,ref:o},n,{children:e}))}return n.muiName=i.A.muiName,o.memo(o.forwardRef(n))}},1935:function(e,t,n){"use strict";var r=n(74705);t.A=r.A},58928:function(e,t,n){"use strict";n.r(t),n.d(t,{capitalize:function(){return o.A},createChainedFunction:function(){return i.A},createSvgIcon:function(){return a.A},debounce:function(){return s.A},deprecatedPropType:function(){return l},isMuiElement:function(){return c.A},ownerDocument:function(){return u.A},ownerWindow:function(){return d.A},requirePropFactory:function(){return p},setRef:function(){return f},unstable_ClassNameGenerator:function(){return w},unstable_useEnhancedEffect:function(){return h.A},unstable_useId:function(){return m.A},unsupportedProp:function(){return g},useControlled:function(){return v.A},useEventCallback:function(){return y.A},useForkRef:function(){return b.A},useIsFocusVisible:function(){return x.A}});var r=n(79071),o=n(28466),i=n(50862),a=n(20561),s=n(1935);var l=function(e,t){return()=>null},c=n(36767),u=n(96248),d=n(93749);n(58168);var p=function(e,t){return()=>null},f=n(17365).A,h=n(2778),m=n(1668);var g=function(e,t,n,r,o){return null},v=n(41159),y=n(83034),b=n(96852),x=n(68851);const w={configure:e=>{r.A.configure(e)}}},36767:function(e,t,n){"use strict";var r=n(28473);t.A=r.A},96248:function(e,t,n){"use strict";var r=n(32325);t.A=r.A},93749:function(e,t,n){"use strict";var r=n(44877);t.A=r.A},41159:function(e,t,n){"use strict";var r=n(2501);t.A=r.A},2778:function(e,t,n){"use strict";var r=n(21529);t.A=r.A},83034:function(e,t,n){"use strict";var r=n(93928);t.A=r.A},96852:function(e,t,n){"use strict";var r=n(31523);t.A=r.A},1668:function(e,t,n){"use strict";var r=n(34661);t.A=r.A},68851:function(e,t,n){"use strict";var r=n(53313);t.A=r.A},54816:function(e,t,n){"use strict";var r=n(58168),o=n(96540),i=n(83738),a=n(84022),s=n(64673),l=n(74848);t.A=function(e){const{children:t,theme:n}=e,c=(0,a.A)(),u=o.useMemo((()=>{const e=null===c?n:function(e,t){if("function"==typeof t)return t(e);return(0,r.A)({},e,t)}(c,n);return null!=e&&(e[s.A]=null!==c),e}),[n,c]);return(0,l.jsx)(i.A.Provider,{value:u,children:t})}},64673:function(e,t){"use strict";const n="function"==typeof Symbol&&Symbol.for;t.A=n?Symbol.for("mui.nested"):"__THEME_NESTED__"},83738:function(e,t,n){"use strict";const r=n(96540).createContext(null);t.A=r},84022:function(e,t,n){"use strict";n.d(t,{A:function(){return i}});var r=n(96540),o=n(83738);function i(){return r.useContext(o.A)}},39940:function(e,t,n){"use strict";n.d(t,{A:function(){return i}});n(96540);var r=n(17437),o=n(74848);function i(e){const{styles:t,defaultTheme:n={}}=e,i="function"==typeof t?e=>{return t(null==(r=e)||0===Object.keys(r).length?n:e);var r}:t;return(0,o.jsx)(r.mL,{styles:i})}},48750:function(e,t,n){"use strict";n.d(t,{A:function(){return s}});n(96540);var r=n(40085),o=n(84300),i=n(74848);let a;function s(e){const{injectFirst:t,children:n}=e;return t&&a?(0,i.jsx)(r.C,{value:a,children:n}):n}"object"==typeof document&&(a=(0,o.A)({key:"css",prepend:!0}))},9359:function(e,t,n){"use strict";n.r(t),n.d(t,{GlobalStyles:function(){return x.A},StyledEngineProvider:function(){return b.A},ThemeContext:function(){return l.T},css:function(){return y.AH},default:function(){return w},internal_processStyles:function(){return A},keyframes:function(){return y.i7}});var r=n(58168),o=n(96540),i=n(36289),a=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,s=(0,i.A)((function(e){return a.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91})),l=n(40085),c=n(30041),u=n(13451),d=n(71287),p=s,f=function(e){return"theme"!==e},h=function(e){return"string"==typeof e&&e.charCodeAt(0)>96?p:f},m=function(e,t,n){var r;if(t){var o=t.shouldForwardProp;r=e.__emotion_forwardProp&&o?function(t){return e.__emotion_forwardProp(t)&&o(t)}:o}return"function"!=typeof r&&n&&(r=e.__emotion_forwardProp),r},g=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;return(0,c.SF)(t,n,r),(0,d.s)((function(){return(0,c.sk)(t,n,r)})),null},v=function e(t,n){var i,a,s=t.__emotion_real===t,d=s&&t.__emotion_base||t;void 0!==n&&(i=n.label,a=n.target);var p=m(t,n,s),f=p||h(d),v=!f("as");return function(){var y=arguments,b=s&&void 0!==t.__emotion_styles?t.__emotion_styles.slice(0):[];if(void 0!==i&&b.push("label:"+i+";"),null==y[0]||void 0===y[0].raw)b.push.apply(b,y);else{0,b.push(y[0][0]);for(var x=y.length,w=1;w<x;w++)b.push(y[w],y[0][w])}var A=(0,l.w)((function(e,t,n){var r=v&&e.as||d,i="",s=[],m=e;if(null==e.theme){for(var y in m={},e)m[y]=e[y];m.theme=o.useContext(l.T)}"string"==typeof e.className?i=(0,c.Rk)(t.registered,s,e.className):null!=e.className&&(i=e.className+" ");var x=(0,u.J)(b.concat(s),t.registered,m);i+=t.key+"-"+x.name,void 0!==a&&(i+=" "+a);var w=v&&void 0===p?h(r):f,A={};for(var _ in e)v&&"as"===_||w(_)&&(A[_]=e[_]);return A.className=i,A.ref=n,o.createElement(o.Fragment,null,o.createElement(g,{cache:t,serialized:x,isStringTag:"string"==typeof r}),o.createElement(r,A))}));return A.displayName=void 0!==i?i:"Styled("+("string"==typeof d?d:d.displayName||d.name||"Component")+")",A.defaultProps=t.defaultProps,A.__emotion_real=A,A.__emotion_base=d,A.__emotion_styles=b,A.__emotion_forwardProp=p,Object.defineProperty(A,"toString",{value:function(){return"."+a}}),A.withComponent=function(t,o){return e(t,(0,r.A)({},n,o,{shouldForwardProp:m(A,o,!0)})).apply(void 0,b)},A}}.bind();["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"].forEach((function(e){v[e]=v(e)}));var y=n(17437),b=n(48750),x=n(39940);function w(e,t){return v(e,t)}const A=(e,t)=>{Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))}},12342:function(e,t,n){"use strict";n.r(t),n.d(t,{ServerStyleSheets:function(){return ct},StylesContext:function(){return Ze},StylesProvider:function(){return Qe},ThemeProvider:function(){return gt.A},createGenerateClassName:function(){return i},createStyles:function(){return a},getThemeProps:function(){return l},jssPreset:function(){return je},makeStyles:function(){return lt},mergeClasses:function(){return Fe},propsToClassKey:function(){return it},sheetsManager:function(){return Xe},styled:function(){return mt},useTheme:function(){return We},useThemeVariants:function(){return vt},withStyles:function(){return xt},withTheme:function(){return At},withThemeCreator:function(){return wt}});var r=n(64673);const o=["checked","disabled","error","focused","focusVisible","required","expanded","selected"];function i(e={}){const{disableGlobal:t=!1,productionPrefix:n="jss",seed:i=""}=e,a=""===i?"":`${i}-`;let s=0;const l=()=>(s+=1,s);return(e,s)=>{const c=s.options.name;if(c&&0===c.indexOf("Mui")&&!s.options.link&&!t){if(-1!==o.indexOf(e.key))return`Mui-${e.key}`;const t=`${a}${c}-${e.key}`;return s.options.theme[r.A]&&""===i?`${t}-${l()}`:t}return`${a}${n}${l()}`}}function a(e){return e}var s=n(58168);function l(e){const{theme:t,name:n,props:r}=e;if(!(t&&t.components&&t.components[n]&&t.components[n].defaultProps))return r;const o=(0,s.A)({},r),i=t.components[n].defaultProps;let a;for(a in i)void 0===o[a]&&(o[a]=i[a]);return o}var c=n(49691),u=Date.now(),d="fnValues"+u,p="fnStyle"+ ++u,f=function(){return{onCreateRule:function(e,t,n){if("function"!=typeof t)return null;var r=(0,c.createRule)(e,{},n);return r[p]=t,r},onProcessStyle:function(e,t){if(d in t||p in t)return e;var n={};for(var r in e){var o=e[r];"function"==typeof o&&(delete e[r],n[r]=o)}return t[d]=n,e},onUpdate:function(e,t,n,r){var o=t,i=o[p];i&&(o.style=i(e)||{});var a=o[d];if(a)for(var s in a)o.prop(s,a[s](e),r)}}},h="@global",m="@global ",g=function(){function e(e,t,n){for(var r in this.type="global",this.at=h,this.isProcessed=!1,this.key=e,this.options=n,this.rules=new c.RuleList((0,s.A)({},n,{parent:this})),t)this.rules.add(r,t[r]);this.rules.process()}var t=e.prototype;return t.getRule=function(e){return this.rules.get(e)},t.addRule=function(e,t,n){var r=this.rules.add(e,t,n);return r&&this.options.jss.plugins.onProcessRule(r),r},t.replaceRule=function(e,t,n){var r=this.rules.replace(e,t,n);return r&&this.options.jss.plugins.onProcessRule(r),r},t.indexOf=function(e){return this.rules.indexOf(e)},t.toString=function(e){return this.rules.toString(e)},e}(),v=function(){function e(e,t,n){this.type="global",this.at=h,this.isProcessed=!1,this.key=e,this.options=n;var r=e.substr(8);this.rule=n.jss.createRule(r,t,(0,s.A)({},n,{parent:this}))}return e.prototype.toString=function(e){return this.rule?this.rule.toString(e):""},e}(),y=/\s*,\s*/g;function b(e,t){for(var n=e.split(y),r="",o=0;o<n.length;o++)r+=t+" "+n[o].trim(),n[o+1]&&(r+=", ");return r}var x=function(){return{onCreateRule:function(e,t,n){if(!e)return null;if(e===h)return new g(e,t,n);if("@"===e[0]&&e.substr(0,8)===m)return new v(e,t,n);var r=n.parent;return r&&("global"===r.type||r.options.parent&&"global"===r.options.parent.type)&&(n.scoped=!1),n.selector||!1!==n.scoped||(n.selector=e),null},onProcessRule:function(e,t){"style"===e.type&&t&&(function(e,t){var n=e.options,r=e.style,o=r?r[h]:null;if(o){for(var i in o)t.addRule(i,o[i],(0,s.A)({},n,{selector:b(i,e.selector)}));delete r[h]}}(e,t),function(e,t){var n=e.options,r=e.style;for(var o in r)if("@"===o[0]&&o.substr(0,h.length)===h){var i=b(o.substr(h.length),e.selector);t.addRule(i,r[o],(0,s.A)({},n,{selector:i})),delete r[o]}}(e,t))}}},w=/\s*,\s*/g,A=/&/g,_=/\$([\w-]+)/g;var S=function(){function e(e,t){return function(n,r){var o=e.getRule(r)||t&&t.getRule(r);return o?o.selector:r}}function t(e,t){for(var n=t.split(w),r=e.split(w),o="",i=0;i<n.length;i++)for(var a=n[i],s=0;s<r.length;s++){var l=r[s];o&&(o+=", "),o+=-1!==l.indexOf("&")?l.replace(A,a):a+" "+l}return o}function n(e,t,n){if(n)return(0,s.A)({},n,{index:n.index+1});var r=e.options.nestingLevel;r=void 0===r?1:r+1;var o=(0,s.A)({},e.options,{nestingLevel:r,index:t.indexOf(e)+1});return delete o.name,o}return{onProcessStyle:function(r,o,i){if("style"!==o.type)return r;var a,l,c=o,u=c.options.parent;for(var d in r){var p=-1!==d.indexOf("&"),f="@"===d[0];if(p||f){if(a=n(c,u,a),p){var h=t(d,c.selector);l||(l=e(u,i)),h=h.replace(_,l);var m=c.key+"-"+d;"replaceRule"in u?u.replaceRule(m,r[d],(0,s.A)({},a,{selector:h})):u.addRule(m,r[d],(0,s.A)({},a,{selector:h}))}else f&&u.addRule(d,{},a).addRule(c.key,r[d],{selector:c.selector});delete r[d]}}return r}}},k=/[A-Z]/g,C=/^ms-/,T={};function M(e){return"-"+e.toLowerCase()}var P=function(e){if(T.hasOwnProperty(e))return T[e];var t=e.replace(k,M);return T[e]=C.test(t)?"-"+t:t};function O(e){var t={};for(var n in e){t[0===n.indexOf("--")?n:P(n)]=e[n]}return e.fallbacks&&(Array.isArray(e.fallbacks)?t.fallbacks=e.fallbacks.map(O):t.fallbacks=O(e.fallbacks)),t}var E=function(){return{onProcessStyle:function(e){if(Array.isArray(e)){for(var t=0;t<e.length;t++)e[t]=O(e[t]);return e}return O(e)},onChangeValue:function(e,t,n){if(0===t.indexOf("--"))return e;var r=P(t);return t===r?e:(n.prop(r,e),null)}}},D=c.hasCSSTOMSupport&&CSS?CSS.px:"px",R=c.hasCSSTOMSupport&&CSS?CSS.ms:"ms",I=c.hasCSSTOMSupport&&CSS?CSS.percent:"%";function N(e){var t=/(-[a-z])/g,n=function(e){return e[1].toUpperCase()},r={};for(var o in e)r[o]=e[o],r[o.replace(t,n)]=e[o];return r}var L=N({"animation-delay":R,"animation-duration":R,"background-position":D,"background-position-x":D,"background-position-y":D,"background-size":D,border:D,"border-bottom":D,"border-bottom-left-radius":D,"border-bottom-right-radius":D,"border-bottom-width":D,"border-left":D,"border-left-width":D,"border-radius":D,"border-right":D,"border-right-width":D,"border-top":D,"border-top-left-radius":D,"border-top-right-radius":D,"border-top-width":D,"border-width":D,"border-block":D,"border-block-end":D,"border-block-end-width":D,"border-block-start":D,"border-block-start-width":D,"border-block-width":D,"border-inline":D,"border-inline-end":D,"border-inline-end-width":D,"border-inline-start":D,"border-inline-start-width":D,"border-inline-width":D,"border-start-start-radius":D,"border-start-end-radius":D,"border-end-start-radius":D,"border-end-end-radius":D,margin:D,"margin-bottom":D,"margin-left":D,"margin-right":D,"margin-top":D,"margin-block":D,"margin-block-end":D,"margin-block-start":D,"margin-inline":D,"margin-inline-end":D,"margin-inline-start":D,padding:D,"padding-bottom":D,"padding-left":D,"padding-right":D,"padding-top":D,"padding-block":D,"padding-block-end":D,"padding-block-start":D,"padding-inline":D,"padding-inline-end":D,"padding-inline-start":D,"mask-position-x":D,"mask-position-y":D,"mask-size":D,height:D,width:D,"min-height":D,"max-height":D,"min-width":D,"max-width":D,bottom:D,left:D,top:D,right:D,inset:D,"inset-block":D,"inset-block-end":D,"inset-block-start":D,"inset-inline":D,"inset-inline-end":D,"inset-inline-start":D,"box-shadow":D,"text-shadow":D,"column-gap":D,"column-rule":D,"column-rule-width":D,"column-width":D,"font-size":D,"font-size-delta":D,"letter-spacing":D,"text-decoration-thickness":D,"text-indent":D,"text-stroke":D,"text-stroke-width":D,"word-spacing":D,motion:D,"motion-offset":D,outline:D,"outline-offset":D,"outline-width":D,perspective:D,"perspective-origin-x":I,"perspective-origin-y":I,"transform-origin":I,"transform-origin-x":I,"transform-origin-y":I,"transform-origin-z":I,"transition-delay":R,"transition-duration":R,"vertical-align":D,"flex-basis":D,"shape-margin":D,size:D,gap:D,grid:D,"grid-gap":D,"row-gap":D,"grid-row-gap":D,"grid-column-gap":D,"grid-template-rows":D,"grid-template-columns":D,"grid-auto-rows":D,"grid-auto-columns":D,"box-shadow-x":D,"box-shadow-y":D,"box-shadow-blur":D,"box-shadow-spread":D,"font-line-height":D,"text-shadow-x":D,"text-shadow-y":D,"text-shadow-blur":D});function j(e,t,n){if(null==t)return t;if(Array.isArray(t))for(var r=0;r<t.length;r++)t[r]=j(e,t[r],n);else if("object"==typeof t)if("fallbacks"===e)for(var o in t)t[o]=j(o,t[o],n);else for(var i in t)t[i]=j(e+"-"+i,t[i],n);else if("number"==typeof t&&!1===isNaN(t)){var a=n[e]||L[e];return!a||0===t&&a===D?t.toString():"function"==typeof a?a(t).toString():""+t+a}return t}var $=function(e){void 0===e&&(e={});var t=N(e);return{onProcessStyle:function(e,n){if("style"!==n.type)return e;for(var r in e)e[r]=j(r,e[r],t);return e},onChangeValue:function(e,n){return j(n,e,t)}}},z=n(94175);function F(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function B(e){return function(e){if(Array.isArray(e))return F(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return F(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?F(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var H="",V="",W="",U="",q=z.A&&"ontouchstart"in document.documentElement;if(z.A){var G={Moz:"-moz-",ms:"-ms-",O:"-o-",Webkit:"-webkit-"},Y=document.createElement("p").style;for(var X in G)if(X+"Transform"in Y){H=X,V=G[X];break}"Webkit"===H&&"msHyphens"in Y&&(H="ms",V=G.ms,U="edge"),"Webkit"===H&&"-apple-trailing-word"in Y&&(W="apple")}var K={js:H,css:V,vendor:W,browser:U,isTouch:q};var Z={noPrefill:["appearance"],supportedProperty:function(e){return"appearance"===e&&("ms"===K.js?"-webkit-"+e:K.css+e)}},J={noPrefill:["color-adjust"],supportedProperty:function(e){return"color-adjust"===e&&("Webkit"===K.js?K.css+"print-"+e:e)}},Q=/[-\s]+(.)?/g;function ee(e,t){return t?t.toUpperCase():""}function te(e){return e.replace(Q,ee)}function ne(e){return te("-"+e)}var re,oe={noPrefill:["mask"],supportedProperty:function(e,t){if(!/^mask/.test(e))return!1;if("Webkit"===K.js){var n="mask-image";if(te(n)in t)return e;if(K.js+ne(n)in t)return K.css+e}return e}},ie={noPrefill:["text-orientation"],supportedProperty:function(e){return"text-orientation"===e&&("apple"!==K.vendor||K.isTouch?e:K.css+e)}},ae={noPrefill:["transform"],supportedProperty:function(e,t,n){return"transform"===e&&(n.transform?e:K.css+e)}},se={noPrefill:["transition"],supportedProperty:function(e,t,n){return"transition"===e&&(n.transition?e:K.css+e)}},le={noPrefill:["writing-mode"],supportedProperty:function(e){return"writing-mode"===e&&("Webkit"===K.js||"ms"===K.js&&"edge"!==K.browser?K.css+e:e)}},ce={noPrefill:["user-select"],supportedProperty:function(e){return"user-select"===e&&("Moz"===K.js||"ms"===K.js||"apple"===K.vendor?K.css+e:e)}},ue={supportedProperty:function(e,t){return!!/^break-/.test(e)&&("Webkit"===K.js?"WebkitColumn"+ne(e)in t&&K.css+"column-"+e:"Moz"===K.js&&("page"+ne(e)in t&&"page-"+e))}},de={supportedProperty:function(e,t){if(!/^(border|margin|padding)-inline/.test(e))return!1;if("Moz"===K.js)return e;var n=e.replace("-inline","");return K.js+ne(n)in t&&K.css+n}},pe={supportedProperty:function(e,t){return te(e)in t&&e}},fe={supportedProperty:function(e,t){var n=ne(e);return"-"===e[0]||"-"===e[0]&&"-"===e[1]?e:K.js+n in t?K.css+e:"Webkit"!==K.js&&"Webkit"+n in t&&"-webkit-"+e}},he={supportedProperty:function(e){return"scroll-snap"===e.substring(0,11)&&("ms"===K.js?""+K.css+e:e)}},me={supportedProperty:function(e){return"overscroll-behavior"===e&&("ms"===K.js?K.css+"scroll-chaining":e)}},ge={"flex-grow":"flex-positive","flex-shrink":"flex-negative","flex-basis":"flex-preferred-size","justify-content":"flex-pack",order:"flex-order","align-items":"flex-align","align-content":"flex-line-pack"},ve={supportedProperty:function(e,t){var n=ge[e];return!!n&&(K.js+ne(n)in t&&K.css+n)}},ye={flex:"box-flex","flex-grow":"box-flex","flex-direction":["box-orient","box-direction"],order:"box-ordinal-group","align-items":"box-align","flex-flow":["box-orient","box-direction"],"justify-content":"box-pack"},be=Object.keys(ye),xe=function(e){return K.css+e},we={supportedProperty:function(e,t,n){var r=n.multiple;if(be.indexOf(e)>-1){var o=ye[e];if(!Array.isArray(o))return K.js+ne(o)in t&&K.css+o;if(!r)return!1;for(var i=0;i<o.length;i++)if(!(K.js+ne(o[0])in t))return!1;return o.map(xe)}return!1}},Ae=[Z,J,oe,ie,ae,se,le,ce,ue,de,pe,fe,he,me,ve,we],_e=Ae.filter((function(e){return e.supportedProperty})).map((function(e){return e.supportedProperty})),Se=Ae.filter((function(e){return e.noPrefill})).reduce((function(e,t){return e.push.apply(e,B(t.noPrefill)),e}),[]),ke={};if(z.A){re=document.createElement("p");var Ce=window.getComputedStyle(document.documentElement,"");for(var Te in Ce)isNaN(Te)||(ke[Ce[Te]]=Ce[Te]);Se.forEach((function(e){return delete ke[e]}))}function Me(e,t){if(void 0===t&&(t={}),!re)return e;if(null!=ke[e])return ke[e];"transition"!==e&&"transform"!==e||(t[e]=e in re.style);for(var n=0;n<_e.length&&(ke[e]=_e[n](e,re.style,t),!ke[e]);n++);try{re.style[e]=""}catch(e){return!1}return ke[e]}var Pe,Oe={},Ee={transition:1,"transition-property":1,"-webkit-transition":1,"-webkit-transition-property":1},De=/(^\s*[\w-]+)|, (\s*[\w-]+)(?![^()]*\))/g;function Re(e,t,n){if("var"===t)return"var";if("all"===t)return"all";if("all"===n)return", all";var r=t?Me(t):", "+Me(n);return r||(t||n)}function Ie(e,t){var n=t;if(!Pe||"content"===e)return t;if("string"!=typeof n||!isNaN(parseInt(n,10)))return n;var r=e+n;if(null!=Oe[r])return Oe[r];try{Pe.style[e]=n}catch(e){return Oe[r]=!1,!1}if(Ee[e])n=n.replace(De,Re);else if(""===Pe.style[e]&&("-ms-flex"===(n=K.css+n)&&(Pe.style[e]="-ms-flexbox"),Pe.style[e]=n,""===Pe.style[e]))return Oe[r]=!1,!1;return Pe.style[e]="",Oe[r]=n,Oe[r]}z.A&&(Pe=document.createElement("p"));var Ne=function(){function e(t){for(var n in t){var r=t[n];if("fallbacks"===n&&Array.isArray(r))t[n]=r.map(e);else{var o=!1,i=Me(n);i&&i!==n&&(o=!0);var a=!1,s=Ie(i,(0,c.toCssValue)(r));s&&s!==r&&(a=!0),(o||a)&&(o&&delete t[n],t[i||n]=s||r)}}return t}return{onProcessRule:function(e){if("keyframes"===e.type){var t=e;t.at=function(e){return"-"===e[1]||"ms"===K.js?e:"@"+K.css+"keyframes"+e.substr(10)}(t.at)}},onProcessStyle:function(t,n){return"style"!==n.type?t:e(t)},onChangeValue:function(e,t){return Ie(t,(0,c.toCssValue)(e))||e}}};var Le=function(){var e=function(e,t){return e.length===t.length?e>t?1:-1:e.length-t.length};return{onProcessStyle:function(t,n){if("style"!==n.type)return t;for(var r={},o=Object.keys(t).sort(e),i=0;i<o.length;i++)r[o[i]]=t[o[i]];return r}}};function je(){return{plugins:[f(),x(),S(),E(),$(),"undefined"==typeof window?null:Ne(),Le()]}}var $e=n(98587),ze=n(96540);function Fe(e={}){const{baseClasses:t,newClasses:n,Component:r}=e;if(!n)return t;const o=(0,s.A)({},t);return Object.keys(n).forEach((e=>{n[e]&&(o[e]=`${t[e]} ${n[e]}`)})),o}const Be={set:(e,t,n,r)=>{let o=e.get(t);o||(o=new Map,e.set(t,o)),o.set(n,r)},get:(e,t,n)=>{const r=e.get(t);return r?r.get(n):void 0},delete:(e,t,n)=>{e.get(t).delete(n)}};var He=Be,Ve=n(84022);function We(){var e;const t=(0,Ve.A)();return null!=(e=null==t?void 0:t.$$material)?e:t}var Ue=n(74848);const qe=["children","injectFirst","disableGeneration"],Ge=(0,c.create)(je()),Ye=i(),Xe=new Map,Ke={disableGeneration:!1,generateClassName:Ye,jss:Ge,sheetsCache:null,sheetsManager:Xe,sheetsRegistry:null},Ze=ze.createContext(Ke);let Je;function Qe(e){const{children:t,injectFirst:n=!1,disableGeneration:r=!1}=e,o=(0,$e.A)(e,qe),i=ze.useContext(Ze),{generateClassName:a,jss:l,serverGenerateClassName:u,sheetsCache:d,sheetsManager:p,sheetsRegistry:f}=(0,s.A)({},i,o);const h=ze.useMemo((()=>{const e={disableGeneration:r,generateClassName:a,jss:l,serverGenerateClassName:u,sheetsCache:d,sheetsManager:p,sheetsRegistry:f};if(!e.jss.options.insertionPoint&&n&&"undefined"!=typeof window){if(!Je){const e=document.head;Je=document.createComment("mui-inject-first"),e.insertBefore(Je,e.firstChild)}e.jss=(0,c.create)({plugins:je().plugins,insertionPoint:Je})}return e}),[n,r,a,l,u,d,p,f]);return(0,Ue.jsx)(Ze.Provider,{value:h,children:t})}let et=-1e9;var tt=n(11317),nt=n(13967);const rt=["variant"];function ot(e){return 0===e.length}function it(e){const{variant:t}=e,n=(0,$e.A)(e,rt);let r=t||"";return Object.keys(n).sort().forEach((t=>{r+="color"===t?ot(r)?e[t]:(0,nt.A)(e[t]):`${ot(r)?t:(0,nt.A)(t)}${(0,nt.A)(e[t].toString())}`})),r}var at={};const st=["name","classNamePrefix","Component","defaultTheme"];function lt(e,t={}){const{name:n,classNamePrefix:r,Component:o,defaultTheme:i=at}=t,a=(0,$e.A)(t,st),l=function(e){const t="function"==typeof e;return{create:(n,r)=>{let o;try{o=t?e(n):e}catch(e){throw e}if(!r||!n.components||!n.components[r]||!n.components[r].styleOverrides&&!n.components[r].variants)return o;const i=n.components[r].styleOverrides||{},a=n.components[r].variants||[],l=(0,s.A)({},o);return Object.keys(i).forEach((e=>{l[e]=(0,tt.A)(l[e]||{},i[e])})),a.forEach((e=>{const t=it(e.props);l[t]=(0,tt.A)(l[t]||{},e.style)})),l},options:{}}}(e),u=n||r||"makeStyles";l.options={index:(et+=1,et),name:n,meta:u,classNamePrefix:u};return(e={})=>{const t=We()||i,r=(0,s.A)({},ze.useContext(Ze),a),u=ze.useRef(),d=ze.useRef();!function(e,t){const n=ze.useRef([]);let r;const o=ze.useMemo((()=>({})),t);n.current!==o&&(n.current=o,r=e()),ze.useEffect((()=>()=>{r&&r()}),[o])}((()=>{const o={name:n,state:{},stylesCreator:l,stylesOptions:r,theme:t};return function({state:e,theme:t,stylesOptions:n,stylesCreator:r,name:o},i){if(n.disableGeneration)return;let a=He.get(n.sheetsManager,r,t);a||(a={refs:0,staticSheet:null,dynamicStyles:null},He.set(n.sheetsManager,r,t,a));const l=(0,s.A)({},r.options,n,{theme:t,flip:"boolean"==typeof n.flip?n.flip:"rtl"===t.direction});l.generateId=l.serverGenerateClassName||l.generateClassName;const u=n.sheetsRegistry;if(0===a.refs){let e;n.sheetsCache&&(e=He.get(n.sheetsCache,r,t));const i=r.create(t,o);e||(e=n.jss.createStyleSheet(i,(0,s.A)({link:!1},l)),e.attach(),n.sheetsCache&&He.set(n.sheetsCache,r,t,e)),u&&u.add(e),a.staticSheet=e,a.dynamicStyles=(0,c.getDynamicStyles)(i)}if(a.dynamicStyles){const t=n.jss.createStyleSheet(a.dynamicStyles,(0,s.A)({link:!0},l));t.update(i),t.attach(),e.dynamicSheet=t,e.classes=Fe({baseClasses:a.staticSheet.classes,newClasses:t.classes}),u&&u.add(t)}else e.classes=a.staticSheet.classes;a.refs+=1}(o,e),d.current=!1,u.current=o,()=>{!function({state:e,theme:t,stylesOptions:n,stylesCreator:r}){if(n.disableGeneration)return;const o=He.get(n.sheetsManager,r,t);o.refs-=1;const i=n.sheetsRegistry;0===o.refs&&(He.delete(n.sheetsManager,r,t),n.jss.removeStyleSheet(o.staticSheet),i&&i.remove(o.staticSheet)),e.dynamicSheet&&(n.jss.removeStyleSheet(e.dynamicSheet),i&&i.remove(e.dynamicSheet))}(o)}}),[t,l]),ze.useEffect((()=>{d.current&&function({state:e},t){e.dynamicSheet&&e.dynamicSheet.update(t)}(u.current,e),d.current=!0}));const p=function({state:e,stylesOptions:t},n,r){if(t.disableGeneration)return n||{};e.cacheClasses||(e.cacheClasses={value:null,lastProp:null,lastJSS:{}});let o=!1;return e.classes!==e.cacheClasses.lastJSS&&(e.cacheClasses.lastJSS=e.classes,o=!0),n!==e.cacheClasses.lastProp&&(e.cacheClasses.lastProp=n,o=!0),o&&(e.cacheClasses.value=Fe({baseClasses:e.cacheClasses.lastJSS,newClasses:n,Component:r})),e.cacheClasses.value}(u.current,e.classes,o);return p}}class ct{constructor(e={}){this.options=e}collect(e){const t=new Map;this.sheetsRegistry=new c.SheetsRegistry;const n=i();return(0,Ue.jsx)(Qe,(0,s.A)({sheetsManager:t,serverGenerateClassName:n,sheetsRegistry:this.sheetsRegistry},this.options,{children:e}))}toString(){return this.sheetsRegistry?this.sheetsRegistry.toString():""}getStyleElement(e){return ze.createElement("style",(0,s.A)({id:"jss-server-side",key:"jss-server-side",dangerouslySetInnerHTML:{__html:this.toString()}},e))}}var ut=n(34164),dt=n(4146),pt=n.n(dt);const ft=["name"],ht=["children","className","clone","component"];function mt(e){return(t,n={})=>{const{name:r}=n,o=(0,$e.A)(n,ft);let i=r;const a=lt("function"==typeof t?e=>({root:n=>t((0,s.A)({theme:e},n))}):{root:t},(0,s.A)({Component:e,name:r||e.displayName,classNamePrefix:i},o));let l,c={};t.filterProps&&(l=t.filterProps,delete t.filterProps),t.propTypes&&(c=t.propTypes,delete t.propTypes);const u=ze.forwardRef((function(t,n){const{children:r,className:o,clone:i,component:c}=t,u=(0,$e.A)(t,ht),d=a(t),p=(0,ut.A)(d.root,o);let f=u;if(l&&(f=function(e,t){const n={};return Object.keys(e).forEach((r=>{-1===t.indexOf(r)&&(n[r]=e[r])})),n}(f,l)),i)return ze.cloneElement(r,(0,s.A)({className:(0,ut.A)(r.props.className,p)},f));if("function"==typeof r)return r((0,s.A)({className:p},f));const h=c||e;return(0,Ue.jsx)(h,(0,s.A)({ref:n,className:p},f,{children:r}))}));return pt()(u,e),u}}var gt=n(54816);var vt=(e,t)=>{const{classes:n={}}=e,r=We();let o="";if(r&&r.components&&r.components[t]&&r.components[t].variants){r.components[t].variants.forEach((t=>{let r=!0;Object.keys(t.props).forEach((n=>{e[n]!==t.props[n]&&(r=!1)})),r&&(o=`${o}${n[it(t.props)]} `)}))}return o};const yt=["defaultTheme","withTheme","name"],bt=["classes"];var xt=(e,t={})=>n=>{const{defaultTheme:r,withTheme:o=!1,name:i}=t,a=(0,$e.A)(t,yt);let c=i;const u=lt(e,(0,s.A)({defaultTheme:r,Component:n,name:i||n.displayName,classNamePrefix:c},a)),d=ze.forwardRef((function(e,t){const a=(0,$e.A)(e,bt),c=u((0,s.A)({},n.defaultProps,e));let d,p=a;return("string"==typeof i||o)&&(d=We()||r,i&&(p=l({theme:d,name:i,props:a})),o&&!p.theme&&(p.theme=d)),(0,Ue.jsx)(n,(0,s.A)({ref:t,classes:c},p))}));return pt()(d,n),d};function wt(e={}){const{defaultTheme:t}=e;return e=>{const n=ze.forwardRef((function(n,r){const o=We()||t;return(0,Ue.jsx)(e,(0,s.A)({theme:o,ref:r},n))}));return pt()(n,e),n}}var At=wt()},771:function(e,t,n){"use strict";var r=n(24994);t.X4=f,t.e$=h,t.tL=g,t.eM=function(e,t){const n=p(e),r=p(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)},t.YL=d,t.a=m,t.Cg=function(e,t,n){try{return f(e,t)}catch(t){return e}},t.Me=void 0,t.Nd=function(e,t,n){try{return h(e,t)}catch(t){return e}},t.Y9=function(e,t,n){try{return g(e,t)}catch(t){return e}},t.j4=function(e,t,n){try{return m(e,t)}catch(t){return e}};var o=r(n(78944)),i=r(n(68586));function a(e,t=0,n=1){return(0,i.default)(e,t,n)}function s(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let n=e.match(t);return n&&1===n[0].length&&(n=n.map((e=>e+e))),n?`rgb${4===n.length?"a":""}(${n.map(((e,t)=>t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3)).join(", ")})`:""}function l(e){if(e.type)return e;if("#"===e.charAt(0))return l(s(e));const t=e.indexOf("("),n=e.substring(0,t);if(-1===["rgb","rgba","hsl","hsla","color"].indexOf(n))throw new Error((0,o.default)(9,e));let r,i=e.substring(t+1,e.length-1);if("color"===n){if(i=i.split(" "),r=i.shift(),4===i.length&&"/"===i[3].charAt(0)&&(i[3]=i[3].slice(1)),-1===["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(r))throw new Error((0,o.default)(10,r))}else i=i.split(",");return i=i.map((e=>parseFloat(e))),{type:n,values:i,colorSpace:r}}const c=e=>{const t=l(e);return t.values.slice(0,3).map(((e,n)=>-1!==t.type.indexOf("hsl")&&0!==n?`${e}%`:e)).join(" ")};function u(e){const{type:t,colorSpace:n}=e;let{values:r}=e;return-1!==t.indexOf("rgb")?r=r.map(((e,t)=>t<3?parseInt(e,10):e)):-1!==t.indexOf("hsl")&&(r[1]=`${r[1]}%`,r[2]=`${r[2]}%`),r=-1!==t.indexOf("color")?`${n} ${r.join(" ")}`:`${r.join(", ")}`,`${t}(${r})`}function d(e){e=l(e);const{values:t}=e,n=t[0],r=t[1]/100,o=t[2]/100,i=r*Math.min(o,1-o),a=(e,t=(e+n/30)%12)=>o-i*Math.max(Math.min(t-3,9-t,1),-1);let s="rgb";const c=[Math.round(255*a(0)),Math.round(255*a(8)),Math.round(255*a(4))];return"hsla"===e.type&&(s+="a",c.push(t[3])),u({type:s,values:c})}function p(e){let t="hsl"===(e=l(e)).type||"hsla"===e.type?l(d(e)).values:e.values;return t=t.map((t=>("color"!==e.type&&(t/=255),t<=.03928?t/12.92:((t+.055)/1.055)**2.4))),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function f(e,t){return e=l(e),t=a(t),"rgb"!==e.type&&"hsl"!==e.type||(e.type+="a"),"color"===e.type?e.values[3]=`/${t}`:e.values[3]=t,u(e)}function h(e,t){if(e=l(e),t=a(t),-1!==e.type.indexOf("hsl"))e.values[2]*=1-t;else if(-1!==e.type.indexOf("rgb")||-1!==e.type.indexOf("color"))for(let n=0;n<3;n+=1)e.values[n]*=1-t;return u(e)}function m(e,t){if(e=l(e),t=a(t),-1!==e.type.indexOf("hsl"))e.values[2]+=(100-e.values[2])*t;else if(-1!==e.type.indexOf("rgb"))for(let n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;else if(-1!==e.type.indexOf("color"))for(let n=0;n<3;n+=1)e.values[n]+=(1-e.values[n])*t;return u(e)}function g(e,t=.15){return p(e)>.5?h(e,t):m(e,t)}t.Me=(e,t)=>{try{return c(e)}catch(t){return e}}},56461:function(e,t,n){"use strict";var r=n(24994);t.Ay=function(e={}){const{themeId:t,defaultTheme:n=m,rootShouldForwardProp:r=h,slotShouldForwardProp:l=h}=e,u=e=>(0,c.default)((0,o.default)({},e,{theme:v((0,o.default)({},e,{defaultTheme:n,themeId:t}))}));return u.__mui_systemSx=!0,(e,c={})=>{(0,a.internal_processStyles)(e,(e=>e.filter((e=>!(null!=e&&e.__mui_systemSx)))));const{name:d,slot:f,skipVariantsResolver:m,skipSx:x,overridesResolver:w=y(g(f))}=c,A=(0,i.default)(c,p),_=void 0!==m?m:f&&"Root"!==f&&"root"!==f||!1,S=x||!1;let k=h;"Root"===f||"root"===f?k=r:f?k=l:function(e){return"string"==typeof e&&e.charCodeAt(0)>96}(e)&&(k=void 0);const C=(0,a.default)(e,(0,o.default)({shouldForwardProp:k,label:undefined},A)),T=e=>"function"==typeof e&&e.__emotion_real!==e||(0,s.isPlainObject)(e)?r=>b(e,(0,o.default)({},r,{theme:v({theme:r.theme,defaultTheme:n,themeId:t})})):e,M=(r,...i)=>{let a=T(r);const s=i?i.map(T):[];d&&w&&s.push((e=>{const r=v((0,o.default)({},e,{defaultTheme:n,themeId:t}));if(!r.components||!r.components[d]||!r.components[d].styleOverrides)return null;const i=r.components[d].styleOverrides,a={};return Object.entries(i).forEach((([t,n])=>{a[t]=b(n,(0,o.default)({},e,{theme:r}))})),w(e,a)})),d&&!_&&s.push((e=>{var r;const i=v((0,o.default)({},e,{defaultTheme:n,themeId:t}));return b({variants:null==i||null==(r=i.components)||null==(r=r[d])?void 0:r.variants},(0,o.default)({},e,{theme:i}))})),S||s.push(u);const l=s.length-i.length;if(Array.isArray(r)&&l>0){const e=new Array(l).fill("");a=[...r,...e],a.raw=[...r.raw,...e]}const c=C(a,...s);return e.muiName&&(c.muiName=e.muiName),c};return C.withConfig&&(M.withConfig=C.withConfig),M}};var o=r(n(94634)),i=r(n(54893)),a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=f(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=o?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,n&&n.set(e,r),r}(n(9359)),s=n(44239),l=(r(n(57149)),r(n(27320)),r(n(3142))),c=r(n(83857));const u=["ownerState"],d=["variants"],p=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function f(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(f=function(e){return e?n:t})(e)}function h(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}const m=(0,l.default)(),g=e=>e?e.charAt(0).toLowerCase()+e.slice(1):e;function v({defaultTheme:e,theme:t,themeId:n}){return r=t,0===Object.keys(r).length?e:t[n]||t;var r}function y(e){return e?(t,n)=>n[e]:null}function b(e,t){let{ownerState:n}=t,r=(0,i.default)(t,u);const a="function"==typeof e?e((0,o.default)({ownerState:n},r)):e;if(Array.isArray(a))return a.flatMap((e=>b(e,(0,o.default)({ownerState:n},r))));if(a&&"object"==typeof a&&Array.isArray(a.variants)){const{variants:e=[]}=a;let t=(0,i.default)(a,d);return e.forEach((e=>{let i=!0;"function"==typeof e.props?i=e.props((0,o.default)({ownerState:n},r,n)):Object.keys(e.props).forEach((t=>{(null==n?void 0:n[t])!==e.props[t]&&r[t]!==e.props[t]&&(i=!1)})),i&&(Array.isArray(t)||(t=[t]),t.push("function"==typeof e.style?e.style((0,o.default)({ownerState:n},r,n)):e.style))})),t}return a}},72221:function(e,t,n){"use strict";n.d(t,{b:function(){return s}});var r=n(96540),o=n(47379),i=n(74848);const a=r.createContext(void 0);function s({props:e,name:t}){return function(e){const{theme:t,name:n,props:r}=e;if(!t||!t.components||!t.components[n])return r;const i=t.components[n];return i.defaultProps?(0,o.A)(i.defaultProps,r):i.styleOverrides||i.variants?r:(0,o.A)(i,r)}({props:e,name:t,theme:{components:r.useContext(a)}})}t.A=function({value:e,children:t}){return(0,i.jsx)(a.Provider,{value:e,children:t})}},73788:function(e,t,n){"use strict";n.d(t,{I:function(){return c}});var r=n(58168),o=n(98587),i=n(96540),a=n(74848);const s=["value"],l=i.createContext();const c=()=>{const e=i.useContext(l);return null!=e&&e};t.A=function(e){let{value:t}=e,n=(0,o.A)(e,s);return(0,a.jsx)(l.Provider,(0,r.A)({value:null==t||t},n))}},89452:function(e,t,n){"use strict";n.d(t,{EU:function(){return s},NI:function(){return a},iZ:function(){return c},kW:function(){return u},vf:function(){return l},zu:function(){return o}});var r=n(11317);const o={xs:0,sm:600,md:900,lg:1200,xl:1536},i={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${o[e]}px)`};function a(e,t,n){const r=e.theme||{};if(Array.isArray(t)){const e=r.breakpoints||i;return t.reduce(((r,o,i)=>(r[e.up(e.keys[i])]=n(t[i]),r)),{})}if("object"==typeof t){const e=r.breakpoints||i;return Object.keys(t).reduce(((r,i)=>{if(-1!==Object.keys(e.values||o).indexOf(i)){r[e.up(i)]=n(t[i],i)}else{const e=i;r[e]=t[e]}return r}),{})}return n(t)}function s(e={}){var t;return(null==(t=e.keys)?void 0:t.reduce(((t,n)=>(t[e.up(n)]={},t)),{}))||{}}function l(e,t){return e.reduce(((e,t)=>{const n=e[t];return(!n||0===Object.keys(n).length)&&delete e[t],e}),t)}function c(e,...t){const n=s(e),o=[n,...t].reduce(((e,t)=>(0,r.A)(e,t)),{});return l(Object.keys(n),o)}function u({values:e,breakpoints:t,base:n}){const r=n||function(e,t){if("object"!=typeof e)return{};const n={},r=Object.keys(t);return Array.isArray(e)?r.forEach(((t,r)=>{r<e.length&&(n[t]=!0)})):r.forEach((t=>{null!=e[t]&&(n[t]=!0)})),n}(e,t),o=Object.keys(r);if(0===o.length)return e;let i;return o.reduce(((t,n,r)=>(Array.isArray(e)?(t[n]=null!=e[r]?e[r]:e[i],i=r):"object"==typeof e?(t[n]=null!=e[n]?e[n]:e[i],i=n):t[n]=e,t)),{})}},24279:function(e,t,n){"use strict";n.d(t,{E2:function(){return a},J1:function(){return d},Ob:function(){return c},X0:function(){return l},X4:function(){return f},YL:function(){return u},a:function(){return m},e$:function(){return h},eM:function(){return p},rP:function(){return s},tL:function(){return g}});var r=n(89453),o=n(90725);function i(e,t=0,n=1){return(0,o.A)(e,t,n)}function a(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let n=e.match(t);return n&&1===n[0].length&&(n=n.map((e=>e+e))),n?`rgb${4===n.length?"a":""}(${n.map(((e,t)=>t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3)).join(", ")})`:""}function s(e){if(e.type)return e;if("#"===e.charAt(0))return s(a(e));const t=e.indexOf("("),n=e.substring(0,t);if(-1===["rgb","rgba","hsl","hsla","color"].indexOf(n))throw new Error((0,r.A)(9,e));let o,i=e.substring(t+1,e.length-1);if("color"===n){if(i=i.split(" "),o=i.shift(),4===i.length&&"/"===i[3].charAt(0)&&(i[3]=i[3].slice(1)),-1===["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(o))throw new Error((0,r.A)(10,o))}else i=i.split(",");return i=i.map((e=>parseFloat(e))),{type:n,values:i,colorSpace:o}}function l(e){const{type:t,colorSpace:n}=e;let{values:r}=e;return-1!==t.indexOf("rgb")?r=r.map(((e,t)=>t<3?parseInt(e,10):e)):-1!==t.indexOf("hsl")&&(r[1]=`${r[1]}%`,r[2]=`${r[2]}%`),r=-1!==t.indexOf("color")?`${n} ${r.join(" ")}`:`${r.join(", ")}`,`${t}(${r})`}function c(e){if(0===e.indexOf("#"))return e;const{values:t}=s(e);return`#${t.map(((e,t)=>function(e){const t=e.toString(16);return 1===t.length?`0${t}`:t}(3===t?Math.round(255*e):e))).join("")}`}function u(e){e=s(e);const{values:t}=e,n=t[0],r=t[1]/100,o=t[2]/100,i=r*Math.min(o,1-o),a=(e,t=(e+n/30)%12)=>o-i*Math.max(Math.min(t-3,9-t,1),-1);let c="rgb";const u=[Math.round(255*a(0)),Math.round(255*a(8)),Math.round(255*a(4))];return"hsla"===e.type&&(c+="a",u.push(t[3])),l({type:c,values:u})}function d(e){let t="hsl"===(e=s(e)).type||"hsla"===e.type?s(u(e)).values:e.values;return t=t.map((t=>("color"!==e.type&&(t/=255),t<=.03928?t/12.92:((t+.055)/1.055)**2.4))),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function p(e,t){const n=d(e),r=d(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}function f(e,t){return e=s(e),t=i(t),"rgb"!==e.type&&"hsl"!==e.type||(e.type+="a"),"color"===e.type?e.values[3]=`/${t}`:e.values[3]=t,l(e)}function h(e,t){if(e=s(e),t=i(t),-1!==e.type.indexOf("hsl"))e.values[2]*=1-t;else if(-1!==e.type.indexOf("rgb")||-1!==e.type.indexOf("color"))for(let n=0;n<3;n+=1)e.values[n]*=1-t;return l(e)}function m(e,t){if(e=s(e),t=i(t),-1!==e.type.indexOf("hsl"))e.values[2]+=(100-e.values[2])*t;else if(-1!==e.type.indexOf("rgb"))for(let n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;else if(-1!==e.type.indexOf("color"))for(let n=0;n<3;n+=1)e.values[n]+=(1-e.values[n])*t;return l(e)}function g(e,t=.15){return d(e)>.5?h(e,t):m(e,t)}},85329:function(e,t,n){"use strict";n.d(t,{Ay:function(){return y},MC:function(){return p}});var r=n(58168),o=n(98587),i=n(9359),a=n(11317),s=n(83791),l=n(33571);const c=["ownerState"],u=["variants"],d=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function p(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}const f=(0,s.A)(),h=e=>e?e.charAt(0).toLowerCase()+e.slice(1):e;function m({defaultTheme:e,theme:t,themeId:n}){return r=t,0===Object.keys(r).length?e:t[n]||t;var r}function g(e){return e?(t,n)=>n[e]:null}function v(e,t){let{ownerState:n}=t,i=(0,o.A)(t,c);const a="function"==typeof e?e((0,r.A)({ownerState:n},i)):e;if(Array.isArray(a))return a.flatMap((e=>v(e,(0,r.A)({ownerState:n},i))));if(a&&"object"==typeof a&&Array.isArray(a.variants)){const{variants:e=[]}=a;let t=(0,o.A)(a,u);return e.forEach((e=>{let o=!0;"function"==typeof e.props?o=e.props((0,r.A)({ownerState:n},i,n)):Object.keys(e.props).forEach((t=>{(null==n?void 0:n[t])!==e.props[t]&&i[t]!==e.props[t]&&(o=!1)})),o&&(Array.isArray(t)||(t=[t]),t.push("function"==typeof e.style?e.style((0,r.A)({ownerState:n},i,n)):e.style))})),t}return a}function y(e={}){const{themeId:t,defaultTheme:n=f,rootShouldForwardProp:s=p,slotShouldForwardProp:c=p}=e,u=e=>(0,l.A)((0,r.A)({},e,{theme:m((0,r.A)({},e,{defaultTheme:n,themeId:t}))}));return u.__mui_systemSx=!0,(e,l={})=>{(0,i.internal_processStyles)(e,(e=>e.filter((e=>!(null!=e&&e.__mui_systemSx)))));const{name:f,slot:y,skipVariantsResolver:b,skipSx:x,overridesResolver:w=g(h(y))}=l,A=(0,o.A)(l,d),_=void 0!==b?b:y&&"Root"!==y&&"root"!==y||!1,S=x||!1;let k=p;"Root"===y||"root"===y?k=s:y?k=c:function(e){return"string"==typeof e&&e.charCodeAt(0)>96}(e)&&(k=void 0);const C=(0,i.default)(e,(0,r.A)({shouldForwardProp:k,label:undefined},A)),T=e=>"function"==typeof e&&e.__emotion_real!==e||(0,a.Q)(e)?o=>v(e,(0,r.A)({},o,{theme:m({theme:o.theme,defaultTheme:n,themeId:t})})):e,M=(o,...i)=>{let a=T(o);const s=i?i.map(T):[];f&&w&&s.push((e=>{const o=m((0,r.A)({},e,{defaultTheme:n,themeId:t}));if(!o.components||!o.components[f]||!o.components[f].styleOverrides)return null;const i=o.components[f].styleOverrides,a={};return Object.entries(i).forEach((([t,n])=>{a[t]=v(n,(0,r.A)({},e,{theme:o}))})),w(e,a)})),f&&!_&&s.push((e=>{var o;const i=m((0,r.A)({},e,{defaultTheme:n,themeId:t}));return v({variants:null==i||null==(o=i.components)||null==(o=o[f])?void 0:o.variants},(0,r.A)({},e,{theme:i}))})),S||s.push(u);const l=s.length-i.length;if(Array.isArray(o)&&l>0){const e=new Array(l).fill("");a=[...o,...e],a.raw=[...o.raw,...e]}const c=C(a,...s);return e.muiName&&(c.muiName=e.muiName),c};return C.withConfig&&(M.withConfig=C.withConfig),M}}},28336:function(e,t,n){"use strict";function r(e,t){const n=this;if(n.vars&&"function"==typeof n.getColorSchemeSelector){const r=n.getColorSchemeSelector(e).replace(/(\[[^\]]+\])/,"*:where($1)");return{[r]:t}}return n.palette.mode===e?t:{}}n.d(t,{A:function(){return r}})},58094:function(e,t,n){"use strict";n.d(t,{A:function(){return s}});var r=n(98587),o=n(58168);const i=["values","unit","step"],a=e=>{const t=Object.keys(e).map((t=>({key:t,val:e[t]})))||[];return t.sort(((e,t)=>e.val-t.val)),t.reduce(((e,t)=>(0,o.A)({},e,{[t.key]:t.val})),{})};function s(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n="px",step:s=5}=e,l=(0,r.A)(e,i),c=a(t),u=Object.keys(c);function d(e){return`@media (min-width:${"number"==typeof t[e]?t[e]:e}${n})`}function p(e){return`@media (max-width:${("number"==typeof t[e]?t[e]:e)-s/100}${n})`}function f(e,r){const o=u.indexOf(r);return`@media (min-width:${"number"==typeof t[e]?t[e]:e}${n}) and (max-width:${(-1!==o&&"number"==typeof t[u[o]]?t[u[o]]:r)-s/100}${n})`}return(0,o.A)({keys:u,values:c,up:d,down:p,between:f,only:function(e){return u.indexOf(e)+1<u.length?f(e,u[u.indexOf(e)+1]):d(e)},not:function(e){const t=u.indexOf(e);return 0===t?d(u[1]):t===u.length-1?p(u[t]):f(e,u[u.indexOf(e)+1]).replace("@media","@media not all and")},unit:n},l)}},16955:function(e,t,n){"use strict";n.d(t,{A:function(){return o}});var r=n(68248);function o(e=8){if(e.mui)return e;const t=(0,r.LX)({spacing:e}),n=(...e)=>{return(0===e.length?[1]:e).map((e=>{const n=t(e);return"number"==typeof n?`${n}px`:n})).join(" ")};return n.mui=!0,n}},83791:function(e,t,n){"use strict";n.d(t,{A:function(){return f}});var r=n(58168),o=n(98587),i=n(11317),a=n(58094);var s={borderRadius:4},l=n(16955),c=n(33571),u=n(94188),d=n(28336);const p=["breakpoints","palette","spacing","shape"];var f=function(e={},...t){const{breakpoints:n={},palette:f={},spacing:h,shape:m={}}=e,g=(0,o.A)(e,p),v=(0,a.A)(n),y=(0,l.A)(h);let b=(0,i.A)({breakpoints:v,direction:"ltr",components:{},palette:(0,r.A)({mode:"light"},f),spacing:y,shape:(0,r.A)({},s,m)},g);return b.applyStyles=d.A,b=t.reduce(((e,t)=>(0,i.A)(e,t)),b),b.unstable_sxConfig=(0,r.A)({},u.A,null==g?void 0:g.unstable_sxConfig),b.unstable_sx=function(e){return(0,c.A)({sx:e,theme:this})},b}},3142:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return r.A},private_createBreakpoints:function(){return o.A},unstable_applyStyles:function(){return i.A}});var r=n(83791),o=n(58094),i=n(28336)},14620:function(e,t,n){"use strict";var r=n(11317);t.A=function(e,t){return t?(0,r.A)(e,t,{clone:!1}):e}},68248:function(e,t,n){"use strict";n.d(t,{LX:function(){return h},MA:function(){return f},_W:function(){return m},Lc:function(){return y},Ms:function(){return b}});var r=n(89452),o=n(86481),i=n(14620);const a={m:"margin",p:"padding"},s={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},l={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},c=function(e){const t={};return n=>(void 0===t[n]&&(t[n]=e(n)),t[n])}((e=>{if(e.length>2){if(!l[e])return[e];e=l[e]}const[t,n]=e.split(""),r=a[t],o=s[n]||"";return Array.isArray(o)?o.map((e=>r+e)):[r+o]})),u=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],d=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],p=[...u,...d];function f(e,t,n,r){var i;const a=null!=(i=(0,o.Yn)(e,t,!1))?i:n;return"number"==typeof a?e=>"string"==typeof e?e:a*e:Array.isArray(a)?e=>"string"==typeof e?e:a[e]:"function"==typeof a?a:()=>{}}function h(e){return f(e,"spacing",8)}function m(e,t){if("string"==typeof t||null==t)return t;const n=e(Math.abs(t));return t>=0?n:"number"==typeof n?-n:`-${n}`}function g(e,t,n,o){if(-1===t.indexOf(n))return null;const i=function(e,t){return n=>e.reduce(((e,r)=>(e[r]=m(t,n),e)),{})}(c(n),o),a=e[n];return(0,r.NI)(e,a,i)}function v(e,t){const n=h(e.theme);return Object.keys(e).map((r=>g(e,t,r,n))).reduce(i.A,{})}function y(e){return v(e,u)}function b(e){return v(e,d)}function x(e){return v(e,p)}y.propTypes={},y.filterProps=u,b.propTypes={},b.filterProps=d,x.propTypes={},x.filterProps=p},86481:function(e,t,n){"use strict";n.d(t,{BO:function(){return a},Yn:function(){return i}});var r=n(13967),o=n(89452);function i(e,t,n=!0){if(!t||"string"!=typeof t)return null;if(e&&e.vars&&n){const n=`vars.${t}`.split(".").reduce(((e,t)=>e&&e[t]?e[t]:null),e);if(null!=n)return n}return t.split(".").reduce(((e,t)=>e&&null!=e[t]?e[t]:null),e)}function a(e,t,n,r=n){let o;return o="function"==typeof e?e(n):Array.isArray(e)?e[n]||r:i(e,n)||r,t&&(o=t(o,r,e)),o}t.Ay=function(e){const{prop:t,cssProperty:n=e.prop,themeKey:s,transform:l}=e,c=e=>{if(null==e[t])return null;const c=e[t],u=i(e.theme,s)||{};return(0,o.NI)(e,c,(e=>{let o=a(u,l,e);return e===o&&"string"==typeof e&&(o=a(u,l,`${t}${"default"===e?"":(0,r.A)(e)}`,e)),!1===n?o:{[n]:o}}))};return c.propTypes={},c.filterProps=[t],c}},94188:function(e,t,n){"use strict";n.d(t,{A:function(){return I}});var r=n(68248),o=n(86481),i=n(14620);var a=function(...e){const t=e.reduce(((e,t)=>(t.filterProps.forEach((n=>{e[n]=t})),e)),{}),n=e=>Object.keys(e).reduce(((n,r)=>t[r]?(0,i.A)(n,t[r](e)):n),{});return n.propTypes={},n.filterProps=e.reduce(((e,t)=>e.concat(t.filterProps)),[]),n},s=n(89452);function l(e){return"number"!=typeof e?e:`${e}px solid`}function c(e,t){return(0,o.Ay)({prop:e,themeKey:"borders",transform:t})}const u=c("border",l),d=c("borderTop",l),p=c("borderRight",l),f=c("borderBottom",l),h=c("borderLeft",l),m=c("borderColor"),g=c("borderTopColor"),v=c("borderRightColor"),y=c("borderBottomColor"),b=c("borderLeftColor"),x=c("outline",l),w=c("outlineColor"),A=e=>{if(void 0!==e.borderRadius&&null!==e.borderRadius){const t=(0,r.MA)(e.theme,"shape.borderRadius",4,"borderRadius"),n=e=>({borderRadius:(0,r._W)(t,e)});return(0,s.NI)(e,e.borderRadius,n)}return null};A.propTypes={},A.filterProps=["borderRadius"];a(u,d,p,f,h,m,g,v,y,b,A,x,w);const _=e=>{if(void 0!==e.gap&&null!==e.gap){const t=(0,r.MA)(e.theme,"spacing",8,"gap"),n=e=>({gap:(0,r._W)(t,e)});return(0,s.NI)(e,e.gap,n)}return null};_.propTypes={},_.filterProps=["gap"];const S=e=>{if(void 0!==e.columnGap&&null!==e.columnGap){const t=(0,r.MA)(e.theme,"spacing",8,"columnGap"),n=e=>({columnGap:(0,r._W)(t,e)});return(0,s.NI)(e,e.columnGap,n)}return null};S.propTypes={},S.filterProps=["columnGap"];const k=e=>{if(void 0!==e.rowGap&&null!==e.rowGap){const t=(0,r.MA)(e.theme,"spacing",8,"rowGap"),n=e=>({rowGap:(0,r._W)(t,e)});return(0,s.NI)(e,e.rowGap,n)}return null};k.propTypes={},k.filterProps=["rowGap"];a(_,S,k,(0,o.Ay)({prop:"gridColumn"}),(0,o.Ay)({prop:"gridRow"}),(0,o.Ay)({prop:"gridAutoFlow"}),(0,o.Ay)({prop:"gridAutoColumns"}),(0,o.Ay)({prop:"gridAutoRows"}),(0,o.Ay)({prop:"gridTemplateColumns"}),(0,o.Ay)({prop:"gridTemplateRows"}),(0,o.Ay)({prop:"gridTemplateAreas"}),(0,o.Ay)({prop:"gridArea"}));function C(e,t){return"grey"===t?t:e}a((0,o.Ay)({prop:"color",themeKey:"palette",transform:C}),(0,o.Ay)({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:C}),(0,o.Ay)({prop:"backgroundColor",themeKey:"palette",transform:C}));function T(e){return e<=1&&0!==e?100*e+"%":e}const M=(0,o.Ay)({prop:"width",transform:T}),P=e=>{if(void 0!==e.maxWidth&&null!==e.maxWidth){const t=t=>{var n,r;const o=(null==(n=e.theme)||null==(n=n.breakpoints)||null==(n=n.values)?void 0:n[t])||s.zu[t];return o?"px"!==(null==(r=e.theme)||null==(r=r.breakpoints)?void 0:r.unit)?{maxWidth:`${o}${e.theme.breakpoints.unit}`}:{maxWidth:o}:{maxWidth:T(t)}};return(0,s.NI)(e,e.maxWidth,t)}return null};P.filterProps=["maxWidth"];const O=(0,o.Ay)({prop:"minWidth",transform:T}),E=(0,o.Ay)({prop:"height",transform:T}),D=(0,o.Ay)({prop:"maxHeight",transform:T}),R=(0,o.Ay)({prop:"minHeight",transform:T});(0,o.Ay)({prop:"size",cssProperty:"width",transform:T}),(0,o.Ay)({prop:"size",cssProperty:"height",transform:T}),a(M,P,O,E,D,R,(0,o.Ay)({prop:"boxSizing"}));var I={border:{themeKey:"borders",transform:l},borderTop:{themeKey:"borders",transform:l},borderRight:{themeKey:"borders",transform:l},borderBottom:{themeKey:"borders",transform:l},borderLeft:{themeKey:"borders",transform:l},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:l},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:A},color:{themeKey:"palette",transform:C},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:C},backgroundColor:{themeKey:"palette",transform:C},p:{style:r.Ms},pt:{style:r.Ms},pr:{style:r.Ms},pb:{style:r.Ms},pl:{style:r.Ms},px:{style:r.Ms},py:{style:r.Ms},padding:{style:r.Ms},paddingTop:{style:r.Ms},paddingRight:{style:r.Ms},paddingBottom:{style:r.Ms},paddingLeft:{style:r.Ms},paddingX:{style:r.Ms},paddingY:{style:r.Ms},paddingInline:{style:r.Ms},paddingInlineStart:{style:r.Ms},paddingInlineEnd:{style:r.Ms},paddingBlock:{style:r.Ms},paddingBlockStart:{style:r.Ms},paddingBlockEnd:{style:r.Ms},m:{style:r.Lc},mt:{style:r.Lc},mr:{style:r.Lc},mb:{style:r.Lc},ml:{style:r.Lc},mx:{style:r.Lc},my:{style:r.Lc},margin:{style:r.Lc},marginTop:{style:r.Lc},marginRight:{style:r.Lc},marginBottom:{style:r.Lc},marginLeft:{style:r.Lc},marginX:{style:r.Lc},marginY:{style:r.Lc},marginInline:{style:r.Lc},marginInlineStart:{style:r.Lc},marginInlineEnd:{style:r.Lc},marginBlock:{style:r.Lc},marginBlockStart:{style:r.Lc},marginBlockEnd:{style:r.Lc},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:_},rowGap:{style:k},columnGap:{style:S},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:T},maxWidth:{style:P},minWidth:{transform:T},height:{transform:T},maxHeight:{transform:T},minHeight:{transform:T},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}}},39599:function(e,t,n){"use strict";n.d(t,{A:function(){return c}});var r=n(58168),o=n(98587),i=n(11317),a=n(94188);const s=["sx"],l=e=>{var t,n;const r={systemProps:{},otherProps:{}},o=null!=(t=null==e||null==(n=e.theme)?void 0:n.unstable_sxConfig)?t:a.A;return Object.keys(e).forEach((t=>{o[t]?r.systemProps[t]=e[t]:r.otherProps[t]=e[t]})),r};function c(e){const{sx:t}=e,n=(0,o.A)(e,s),{systemProps:a,otherProps:c}=l(n);let u;return u=Array.isArray(t)?[a,...t]:"function"==typeof t?(...e)=>{const n=t(...e);return(0,i.Q)(n)?(0,r.A)({},a,n):a}:(0,r.A)({},a,t),(0,r.A)({},c,{sx:u})}},83857:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return r.A},extendSxProp:function(){return o.A},unstable_createStyleFunctionSx:function(){return r.k},unstable_defaultSxConfig:function(){return i.A}});var r=n(33571),o=n(39599),i=n(94188)},33571:function(e,t,n){"use strict";n.d(t,{k:function(){return l}});var r=n(13967),o=n(14620),i=n(86481),a=n(89452),s=n(94188);function l(){function e(e,t,n,o){const s={[e]:t,theme:n},l=o[e];if(!l)return{[e]:t};const{cssProperty:c=e,themeKey:u,transform:d,style:p}=l;if(null==t)return null;if("typography"===u&&"inherit"===t)return{[e]:t};const f=(0,i.Yn)(n,u)||{};if(p)return p(s);return(0,a.NI)(s,t,(t=>{let n=(0,i.BO)(f,d,t);return t===n&&"string"==typeof t&&(n=(0,i.BO)(f,d,`${e}${"default"===t?"":(0,r.A)(t)}`,t)),!1===c?n:{[c]:n}}))}return function t(n){var r;const{sx:i,theme:l={}}=n||{};if(!i)return null;const c=null!=(r=l.unstable_sxConfig)?r:s.A;function u(n){let r=n;if("function"==typeof n)r=n(l);else if("object"!=typeof n)return n;if(!r)return null;const i=(0,a.EU)(l.breakpoints),s=Object.keys(i);let u=i;return Object.keys(r).forEach((n=>{const i=(s=r[n],d=l,"function"==typeof s?s(d):s);var s,d;if(null!=i)if("object"==typeof i)if(c[n])u=(0,o.A)(u,e(n,i,l,c));else{const e=(0,a.NI)({theme:l},i,(e=>({[n]:e})));!function(...e){const t=e.reduce(((e,t)=>e.concat(Object.keys(t))),[]),n=new Set(t);return e.every((e=>n.size===Object.keys(e).length))}(e,i)?u=(0,o.A)(u,e):u[n]=t({sx:i,theme:l})}else u=(0,o.A)(u,e(n,i,l,c))})),(0,a.vf)(s,u)}return Array.isArray(i)?i.map(u):u(i)}}const c=l();c.filterProps=["sx"],t.A=c},81825:function(e,t,n){"use strict";const r=(0,n(85329).Ay)();t.A=r},37708:function(e,t,n){"use strict";var r;n.d(t,{A:function(){return d}});var o=n(96540),i=n(21529),a=n(37340),s=n(53951);function l(e,t,n,r,a){const[s,l]=o.useState((()=>a&&n?n(e).matches:r?r(e).matches:t));return(0,i.A)((()=>{let t=!0;if(!n)return;const r=n(e),o=()=>{t&&l(r.matches)};return o(),r.addListener(o),()=>{t=!1,r.removeListener(o)}}),[e,n]),s}const c=(r||(r=n.t(o,2))).useSyncExternalStore;function u(e,t,n,r,i){const a=o.useCallback((()=>t),[t]),s=o.useMemo((()=>{if(i&&n)return()=>n(e).matches;if(null!==r){const{matches:t}=r(e);return()=>t}return a}),[a,e,r,i,n]),[l,u]=o.useMemo((()=>{if(null===n)return[a,()=>()=>{}];const t=n(e);return[()=>t.matches,e=>(t.addListener(e),()=>{t.removeListener(e)})]}),[a,n,e]);return c(u,l,s)}function d(e,t={}){const n=(0,s.A)(),r="undefined"!=typeof window&&void 0!==window.matchMedia,{defaultMatches:o=!1,matchMedia:i=(r?window.matchMedia:null),ssrMatchMedia:d=null,noSsr:p=!1}=(0,a.A)({name:"MuiUseMediaQuery",props:t,theme:n});let f="function"==typeof e?e(n):e;f=f.replace(/^@media( ?)/m,"");return(void 0!==c?u:l)(f,o,i,d,p)}},82858:function(e,t,n){"use strict";var r=n(83791),o=n(53951);const i=(0,r.A)();t.A=function(e=i){return(0,o.A)(e)}},37340:function(e,t,n){"use strict";n.d(t,{A:function(){return o}});var r=n(47379);function o(e){const{theme:t,name:n,props:o}=e;return t&&t.components&&t.components[n]&&t.components[n].defaultProps?(0,r.A)(t.components[n].defaultProps,o):o}},44467:function(e,t,n){"use strict";n.d(t,{A:function(){return i}});var r=n(37340),o=n(82858);function i({props:e,name:t,defaultTheme:n,themeId:i}){let a=(0,o.A)(n);i&&(a=a[i]||a);return(0,r.A)({theme:a,name:t,props:e})}},53951:function(e,t,n){"use strict";var r=n(96540),o=n(40085);t.A=function(e=null){const t=r.useContext(o.T);return t&&(n=t,0!==Object.keys(n).length)?t:e;var n}},72923:function(e,t,n){"use strict";t.A=void 0;var r=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=i(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var s=o?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(r,a,s):r[a]=e[a]}return r.default=e,n&&n.set(e,r),r}(n(96540)),o=n(9359);function i(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(i=function(e){return e?n:t})(e)}t.A=function(e=null){const t=r.useContext(o.ThemeContext);return t&&(n=t,0!==Object.keys(n).length)?t:e;var n}},79071:function(e,t){"use strict";const n=e=>e,r=(()=>{let e=n;return{configure(t){e=t},generate(t){return e(t)},reset(){e=n}}})();t.A=r},2879:function(e,t,n){"use strict";var r=n(58168),o=n(52197);t.A=function(e,t,n){return void 0===e||(0,o.A)(e)?t:(0,r.A)({},t,{ownerState:(0,r.A)({},t.ownerState,n)})}},13967:function(e,t,n){"use strict";n.d(t,{A:function(){return o}});var r=n(89453);function o(e){if("string"!=typeof e)throw new Error((0,r.A)(7));return e.charAt(0).toUpperCase()+e.slice(1)}},57149:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return r.A}});var r=n(13967)},90725:function(e,t){"use strict";t.A=function(e,t=Number.MIN_SAFE_INTEGER,n=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,n))}},68586:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return r.A}});var r=n(90725)},75659:function(e,t,n){"use strict";function r(e,t,n=void 0){const r={};return Object.keys(e).forEach((o=>{r[o]=e[o].reduce(((e,r)=>{if(r){const o=t(r);""!==o&&e.push(o),n&&n[r]&&e.push(n[r])}return e}),[]).join(" ")})),r}n.d(t,{A:function(){return r}})},76673:function(e,t,n){"use strict";function r(...e){return e.reduce(((e,t)=>null==t?e:function(...n){e.apply(this,n),t.apply(this,n)}),(()=>{}))}n.d(t,{A:function(){return r}})},74705:function(e,t,n){"use strict";function r(e,t=166){let n;function r(...r){clearTimeout(n),n=setTimeout((()=>{e.apply(this,r)}),t)}return r.clear=()=>{clearTimeout(n)},r}n.d(t,{A:function(){return r}})},11317:function(e,t,n){"use strict";n.d(t,{A:function(){return a},Q:function(){return o}});var r=n(58168);function o(e){if("object"!=typeof e||null===e)return!1;const t=Object.getPrototypeOf(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||Symbol.toStringTag in e||Symbol.iterator in e)}function i(e){if(!o(e))return e;const t={};return Object.keys(e).forEach((n=>{t[n]=i(e[n])})),t}function a(e,t,n={clone:!0}){const s=n.clone?(0,r.A)({},e):e;return o(e)&&o(t)&&Object.keys(t).forEach((r=>{o(t[r])&&Object.prototype.hasOwnProperty.call(e,r)&&o(e[r])?s[r]=a(e[r],t[r],n):n.clone?s[r]=o(t[r])?i(t[r]):t[r]:s[r]=t[r]})),s}},44239:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return r.A},isPlainObject:function(){return r.Q}});var r=n(11317)},74959:function(e,t){"use strict";t.A=function(e,t=[]){if(void 0===e)return{};const n={};return Object.keys(e).filter((n=>n.match(/^on[A-Z]/)&&"function"==typeof e[n]&&!t.includes(n))).forEach((t=>{n[t]=e[t]})),n}},89453:function(e,t,n){"use strict";function r(e){let t="https://mui.com/production-error/?code="+e;for(let e=1;e<arguments.length;e+=1)t+="&args[]="+encodeURIComponent(arguments[e]);return"Minified MUI error #"+e+"; visit "+t+" for the full message."}n.d(t,{A:function(){return r}})},78944:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return r.A}});var r=n(89453)},31609:function(e,t,n){"use strict";n.d(t,{Ay:function(){return i}});var r=n(79071);const o={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",open:"open",readOnly:"readOnly",required:"required",selected:"selected"};function i(e,t,n="Mui"){const i=o[t];return i?`${n}-${i}`:`${r.A.generate(e)}-${t}`}},38413:function(e,t,n){"use strict";n.d(t,{A:function(){return o}});var r=n(31609);function o(e,t,n="Mui"){const o={};return t.forEach((t=>{o[t]=(0,r.Ay)(e,t,n)})),o}},27320:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return l},getFunctionName:function(){return i}});var r=n(44363);const o=/^\s*function(?:\s|\s*\/\*.*\*\/\s*)+([^(\s/]*)\s*/;function i(e){const t=`${e}`.match(o);return t&&t[1]||""}function a(e,t=""){return e.displayName||e.name||i(e)||t}function s(e,t,n){const r=a(t);return e.displayName||(""!==r?`${n}(${r})`:n)}function l(e){if(null!=e){if("string"==typeof e)return e;if("function"==typeof e)return a(e,"Component");if("object"==typeof e)switch(e.$$typeof){case r.ForwardRef:return s(e,e.render,"ForwardRef");case r.Memo:return s(e,e.type,"memo");default:return}}}},93205:function(e,t,n){"use strict";function r(e){const t=e.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}n.d(t,{A:function(){return r}})},30029:function(e,t,n){"use strict";n.d(t,{A:function(){return o}});var r=n(96540);function o(e){return r.Children.toArray(e).filter((e=>r.isValidElement(e)))}},52197:function(e,t){"use strict";t.A=function(e){return"string"==typeof e}},28473:function(e,t,n){"use strict";n.d(t,{A:function(){return o}});var r=n(96540);function o(e,t){var n,o;return r.isValidElement(e)&&-1!==t.indexOf(null!=(n=e.type.muiName)?n:null==(o=e.type)||null==(o=o._payload)||null==(o=o.value)?void 0:o.muiName)}},22505:function(e,t,n){"use strict";n.d(t,{A:function(){return s}});var r=n(58168),o=n(34164),i=n(74959);var a=function(e){if(void 0===e)return{};const t={};return Object.keys(e).filter((t=>!(t.match(/^on[A-Z]/)&&"function"==typeof e[t]))).forEach((n=>{t[n]=e[n]})),t};var s=function(e){const{getSlotProps:t,additionalProps:n,externalSlotProps:s,externalForwardedProps:l,className:c}=e;if(!t){const e=(0,o.A)(null==n?void 0:n.className,c,null==l?void 0:l.className,null==s?void 0:s.className),t=(0,r.A)({},null==n?void 0:n.style,null==l?void 0:l.style,null==s?void 0:s.style),i=(0,r.A)({},n,l,s);return e.length>0&&(i.className=e),Object.keys(t).length>0&&(i.style=t),{props:i,internalRef:void 0}}const u=(0,i.A)((0,r.A)({},l,s)),d=a(s),p=a(l),f=t(u),h=(0,o.A)(null==f?void 0:f.className,null==n?void 0:n.className,c,null==l?void 0:l.className,null==s?void 0:s.className),m=(0,r.A)({},null==f?void 0:f.style,null==n?void 0:n.style,null==l?void 0:l.style,null==s?void 0:s.style),g=(0,r.A)({},f,n,p,d);return h.length>0&&(g.className=h),Object.keys(m).length>0&&(g.style=m),{props:g,internalRef:f.ref}}},32325:function(e,t,n){"use strict";function r(e){return e&&e.ownerDocument||document}n.d(t,{A:function(){return r}})},44877:function(e,t,n){"use strict";n.d(t,{A:function(){return o}});var r=n(32325);function o(e){return(0,r.A)(e).defaultView||window}},37021:function(e,t,n){"use strict";var r=n(5556),o=n.n(r);const i=o().oneOfType([o().func,o().object]);t.A=i},56677:function(e,t){"use strict";t.A=function(e,t,n){return"function"==typeof e?e(t,n):e}},47379:function(e,t,n){"use strict";n.d(t,{A:function(){return o}});var r=n(58168);function o(e,t){const n=(0,r.A)({},t);return Object.keys(e).forEach((i=>{if(i.toString().match(/^(components|slots)$/))n[i]=(0,r.A)({},e[i],n[i]);else if(i.toString().match(/^(componentsProps|slotProps)$/)){const a=e[i]||{},s=t[i];n[i]={},s&&Object.keys(s)?a&&Object.keys(a)?(n[i]=(0,r.A)({},s),Object.keys(a).forEach((e=>{n[i][e]=o(a[e],s[e])}))):n[i]=s:n[i]=a}else void 0===n[i]&&(n[i]=e[i])})),n}},17365:function(e,t,n){"use strict";function r(e,t){"function"==typeof e?e(t):e&&(e.current=t)}n.d(t,{A:function(){return r}})},2501:function(e,t,n){"use strict";n.d(t,{A:function(){return o}});var r=n(96540);function o({controlled:e,default:t,name:n,state:o="value"}){const{current:i}=r.useRef(void 0!==e),[a,s]=r.useState(t);return[i?e:a,r.useCallback((e=>{i||s(e)}),[])]}},21529:function(e,t,n){"use strict";var r=n(96540);const o="undefined"!=typeof window?r.useLayoutEffect:r.useEffect;t.A=o},93928:function(e,t,n){"use strict";var r=n(96540),o=n(21529);t.A=function(e){const t=r.useRef(e);return(0,o.A)((()=>{t.current=e})),r.useRef(((...e)=>(0,t.current)(...e))).current}},31523:function(e,t,n){"use strict";n.d(t,{A:function(){return i}});var r=n(96540),o=n(17365);function i(...e){return r.useMemo((()=>e.every((e=>null==e))?null:t=>{e.forEach((e=>{(0,o.A)(e,t)}))}),e)}},34661:function(e,t,n){"use strict";var r;n.d(t,{A:function(){return s}});var o=n(96540);let i=0;const a=(r||(r=n.t(o,2)))["useId".toString()];function s(e){if(void 0!==a){const t=a();return null!=e?e:t}return function(e){const[t,n]=o.useState(e),r=e||t;return o.useEffect((()=>{null==t&&(i+=1,n(`mui-${i}`))}),[t]),r}(e)}},53313:function(e,t,n){"use strict";n.d(t,{A:function(){return f}});var r=n(96540),o=n(33068);let i=!0,a=!1;const s=new o.E,l={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function c(e){e.metaKey||e.altKey||e.ctrlKey||(i=!0)}function u(){i=!1}function d(){"hidden"===this.visibilityState&&a&&(i=!0)}function p(e){const{target:t}=e;try{return t.matches(":focus-visible")}catch(e){}return i||function(e){const{type:t,tagName:n}=e;return!("INPUT"!==n||!l[t]||e.readOnly)||"TEXTAREA"===n&&!e.readOnly||!!e.isContentEditable}(t)}function f(){const e=r.useCallback((e=>{var t;null!=e&&((t=e.ownerDocument).addEventListener("keydown",c,!0),t.addEventListener("mousedown",u,!0),t.addEventListener("pointerdown",u,!0),t.addEventListener("touchstart",u,!0),t.addEventListener("visibilitychange",d,!0))}),[]),t=r.useRef(!1);return{isFocusVisibleRef:t,onFocus:function(e){return!!p(e)&&(t.current=!0,!0)},onBlur:function(){return!!t.current&&(a=!0,s.start(100,(()=>{a=!1})),t.current=!1,!0)},ref:e}}},8299:function(e,t,n){"use strict";var r=n(96540);t.A=e=>{const t=r.useRef({});return r.useEffect((()=>{t.current=e})),t.current}},79329:function(e,t,n){"use strict";var r=n(58168),o=n(98587),i=n(31523),a=n(2879),s=n(22505),l=n(56677);const c=["elementType","externalSlotProps","ownerState","skipResolvingSlotProps"];t.A=function(e){var t;const{elementType:n,externalSlotProps:u,ownerState:d,skipResolvingSlotProps:p=!1}=e,f=(0,o.A)(e,c),h=p?{}:(0,l.A)(u,d),{props:m,internalRef:g}=(0,s.A)((0,r.A)({},f,{externalSlotProps:h})),v=(0,i.A)(g,null==h?void 0:h.ref,null==(t=e.additionalProps)?void 0:t.ref);return(0,a.A)(n,(0,r.A)({},m,{ref:v}),d)}},33068:function(e,t,n){"use strict";n.d(t,{E:function(){return a},A:function(){return s}});var r=n(96540);const o={};const i=[];class a{constructor(){this.currentId=null,this.clear=()=>{null!==this.currentId&&(clearTimeout(this.currentId),this.currentId=null)},this.disposeEffect=()=>this.clear}static create(){return new a}start(e,t){this.clear(),this.currentId=setTimeout((()=>{this.currentId=null,t()}),e)}}function s(){const e=function(e,t){const n=r.useRef(o);return n.current===o&&(n.current=e(t)),n}(a.create).current;var t;return t=e.disposeEffect,r.useEffect(t,i),e}},90285:function(e,t){"use strict";t.A={border:0,clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",whiteSpace:"nowrap",width:"1px"}},92278:function(e,t,n){"use strict";n.r(t),n.d(t,{AdapterDayjs:function(){return A}});var r=n(58168),o=n(74353),i=n.n(o),a=n(8134),s=n.n(a),l=n(90445),c=n.n(l),u=n(15750),d=n.n(u),p=n(37872),f=n.n(p),h=n(97375),m=n.n(h),g=n(75079);i().extend(d()),i().extend(s()),i().extend(f()),i().extend(m());const v=(0,g.f)(["Your locale has not been found.","Either the locale key is not a supported one. Locales supported by dayjs are available here: https://github.com/iamkun/dayjs/tree/dev/src/locale","Or you forget to import the locale from 'dayjs/locale/{localeUsed}'","fallback on English locale"]),y={YY:"year",YYYY:{sectionType:"year",contentType:"digit",maxLength:4},M:{sectionType:"month",contentType:"digit",maxLength:2},MM:"month",MMM:{sectionType:"month",contentType:"letter"},MMMM:{sectionType:"month",contentType:"letter"},D:{sectionType:"day",contentType:"digit",maxLength:2},DD:"day",Do:{sectionType:"day",contentType:"digit-with-letter"},d:{sectionType:"weekDay",contentType:"digit",maxLength:2},dd:{sectionType:"weekDay",contentType:"letter"},ddd:{sectionType:"weekDay",contentType:"letter"},dddd:{sectionType:"weekDay",contentType:"letter"},A:"meridiem",a:"meridiem",H:{sectionType:"hours",contentType:"digit",maxLength:2},HH:"hours",h:{sectionType:"hours",contentType:"digit",maxLength:2},hh:"hours",m:{sectionType:"minutes",contentType:"digit",maxLength:2},mm:"minutes",s:{sectionType:"seconds",contentType:"digit",maxLength:2},ss:"seconds"},b={year:"YYYY",month:"MMMM",monthShort:"MMM",dayOfMonth:"D",dayOfMonthFull:"Do",weekday:"dddd",weekdayShort:"dd",hours24h:"HH",hours12h:"hh",meridiem:"A",minutes:"mm",seconds:"ss",fullDate:"ll",keyboardDate:"L",shortDate:"MMM D",normalDate:"D MMMM",normalDateWithWeekday:"ddd, MMM D",fullTime:"LT",fullTime12h:"hh:mm A",fullTime24h:"HH:mm",keyboardDateTime:"L LT",keyboardDateTime12h:"L hh:mm A",keyboardDateTime24h:"L HH:mm"},x=["Missing UTC plugin","To be able to use UTC or timezones, you have to enable the `utc` plugin","Find more information on https://mui.com/x/react-date-pickers/timezone/#day-js-and-utc"].join("\n"),w=["Missing timezone plugin","To be able to use timezones, you have to enable both the `utc` and the `timezone` plugin","Find more information on https://mui.com/x/react-date-pickers/timezone/#day-js-and-timezone"].join("\n");class A{constructor({locale:e,formats:t}={}){var n,o;this.isMUIAdapter=!0,this.isTimezoneCompatible=!0,this.lib="dayjs",this.dayjs=void 0,this.locale=void 0,this.formats=void 0,this.escapedCharacters={start:"[",end:"]"},this.formatTokenMap=y,this.setLocaleToValue=e=>{const t=this.getCurrentLocaleCode();return t===e.locale()?e:e.locale(t)},this.hasUTCPlugin=()=>void 0!==i().utc,this.hasTimezonePlugin=()=>void 0!==i().tz,this.isSame=(e,t,n)=>{const r=this.setTimezone(t,this.getTimezone(e));return e.format(n)===r.format(n)},this.cleanTimezone=e=>{switch(e){case"default":return;case"system":return i().tz.guess();default:return e}},this.createSystemDate=e=>{if(this.hasUTCPlugin()&&this.hasTimezonePlugin()){const t=i().tz.guess();return"UTC"!==t?i().tz(e,t):i()(e)}return i()(e)},this.createUTCDate=e=>{if(!this.hasUTCPlugin())throw new Error(x);return i().utc(e)},this.createTZDate=(e,t)=>{if(!this.hasUTCPlugin())throw new Error(x);if(!this.hasTimezonePlugin())throw new Error(w);const n=void 0!==e&&!e.endsWith("Z");return i()(e).tz(this.cleanTimezone(t),n)},this.getLocaleFormats=()=>{const e=i().Ls;let t=e[this.locale||"en"];return void 0===t&&(v(),t=e.en),t.formats},this.adjustOffset=e=>{if(!this.hasTimezonePlugin())return e;const t=this.getTimezone(e);if("UTC"!==t){const n=e.tz(this.cleanTimezone(t),!0);if((n.$offset??0)===(e.$offset??0))return e;e.$offset=n.$offset}return e},this.date=(e,t="default")=>{if(null===e)return null;let n;return n="UTC"===t?this.createUTCDate(e):"system"===t||"default"===t&&!this.hasTimezonePlugin()?this.createSystemDate(e):this.createTZDate(e,t),void 0===this.locale?n:n.locale(this.locale)},this.getInvalidDate=()=>i()(new Date("Invalid date")),this.getTimezone=e=>{if(this.hasTimezonePlugin()){const t=e.$x?.$timezone;if(t)return t}return this.hasUTCPlugin()&&e.isUTC()?"UTC":"system"},this.setTimezone=(e,t)=>{if(this.getTimezone(e)===t)return e;if("UTC"===t){if(!this.hasUTCPlugin())throw new Error(x);return e.utc()}if("system"===t)return e.local();if(!this.hasTimezonePlugin()){if("default"===t)return e;throw new Error(w)}return i().tz(e,this.cleanTimezone(t))},this.toJsDate=e=>e.toDate(),this.parse=(e,t)=>""===e?null:this.dayjs(e,t,this.locale,!0),this.getCurrentLocaleCode=()=>this.locale||"en",this.is12HourCycleInCurrentLocale=()=>/A|a/.test(this.getLocaleFormats().LT||""),this.expandFormat=e=>{const t=this.getLocaleFormats();return e.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,((e,n,r)=>{const o=r&&r.toUpperCase();return n||t[r]||t[o].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,((e,t,n)=>t||n.slice(1)))}))},this.isValid=e=>null!=e&&e.isValid(),this.format=(e,t)=>this.formatByString(e,this.formats[t]),this.formatByString=(e,t)=>this.dayjs(e).format(t),this.formatNumber=e=>e,this.isEqual=(e,t)=>null===e&&null===t||null!==e&&null!==t&&e.toDate().getTime()===t.toDate().getTime(),this.isSameYear=(e,t)=>this.isSame(e,t,"YYYY"),this.isSameMonth=(e,t)=>this.isSame(e,t,"YYYY-MM"),this.isSameDay=(e,t)=>this.isSame(e,t,"YYYY-MM-DD"),this.isSameHour=(e,t)=>e.isSame(t,"hour"),this.isAfter=(e,t)=>e>t,this.isAfterYear=(e,t)=>this.hasUTCPlugin()?!this.isSameYear(e,t)&&e.utc()>t.utc():e.isAfter(t,"year"),this.isAfterDay=(e,t)=>this.hasUTCPlugin()?!this.isSameDay(e,t)&&e.utc()>t.utc():e.isAfter(t,"day"),this.isBefore=(e,t)=>e<t,this.isBeforeYear=(e,t)=>this.hasUTCPlugin()?!this.isSameYear(e,t)&&e.utc()<t.utc():e.isBefore(t,"year"),this.isBeforeDay=(e,t)=>this.hasUTCPlugin()?!this.isSameDay(e,t)&&e.utc()<t.utc():e.isBefore(t,"day"),this.isWithinRange=(e,[t,n])=>e>=t&&e<=n,this.startOfYear=e=>this.adjustOffset(e.startOf("year")),this.startOfMonth=e=>this.adjustOffset(e.startOf("month")),this.startOfWeek=e=>this.adjustOffset(e.startOf("week")),this.startOfDay=e=>this.adjustOffset(e.startOf("day")),this.endOfYear=e=>this.adjustOffset(e.endOf("year")),this.endOfMonth=e=>this.adjustOffset(e.endOf("month")),this.endOfWeek=e=>this.adjustOffset(e.endOf("week")),this.endOfDay=e=>this.adjustOffset(e.endOf("day")),this.addYears=(e,t)=>this.adjustOffset(t<0?e.subtract(Math.abs(t),"year"):e.add(t,"year")),this.addMonths=(e,t)=>this.adjustOffset(t<0?e.subtract(Math.abs(t),"month"):e.add(t,"month")),this.addWeeks=(e,t)=>this.adjustOffset(t<0?e.subtract(Math.abs(t),"week"):e.add(t,"week")),this.addDays=(e,t)=>this.adjustOffset(t<0?e.subtract(Math.abs(t),"day"):e.add(t,"day")),this.addHours=(e,t)=>this.adjustOffset(t<0?e.subtract(Math.abs(t),"hour"):e.add(t,"hour")),this.addMinutes=(e,t)=>this.adjustOffset(t<0?e.subtract(Math.abs(t),"minute"):e.add(t,"minute")),this.addSeconds=(e,t)=>this.adjustOffset(t<0?e.subtract(Math.abs(t),"second"):e.add(t,"second")),this.getYear=e=>e.year(),this.getMonth=e=>e.month(),this.getDate=e=>e.date(),this.getHours=e=>e.hour(),this.getMinutes=e=>e.minute(),this.getSeconds=e=>e.second(),this.getMilliseconds=e=>e.millisecond(),this.setYear=(e,t)=>this.adjustOffset(e.set("year",t)),this.setMonth=(e,t)=>this.adjustOffset(e.set("month",t)),this.setDate=(e,t)=>this.adjustOffset(e.set("date",t)),this.setHours=(e,t)=>this.adjustOffset(e.set("hour",t)),this.setMinutes=(e,t)=>this.adjustOffset(e.set("minute",t)),this.setSeconds=(e,t)=>this.adjustOffset(e.set("second",t)),this.setMilliseconds=(e,t)=>this.adjustOffset(e.set("millisecond",t)),this.getDaysInMonth=e=>e.daysInMonth(),this.getWeekArray=e=>{const t=this.setLocaleToValue(e),n=this.startOfWeek(this.startOfMonth(t)),r=this.endOfWeek(this.endOfMonth(t));let o=0,i=n;const a=[];for(;i<r;){const e=Math.floor(o/7);a[e]=a[e]||[],a[e].push(i),i=this.addDays(i,1),o+=1}return a},this.getWeekNumber=e=>e.week(),this.getYearRange=([e,t])=>{const n=this.startOfYear(e),r=this.endOfYear(t),o=[];let i=n;for(;this.isBefore(i,r);)o.push(i),i=this.addYears(i,1);return o},this.dayjs=(n=i(),(o=e)?(...e)=>n(...e).locale(o):n),this.locale=e,this.formats=(0,r.A)({},b,t),i().extend(c())}getDayOfWeek(e){return e.day()+1}}},49204:function(e,t,n){"use strict";n.d(t,{x:function(){return pe}});var r=n(98587),o=n(58168),i=n(96540),a=n(34164),s=n(17315),l=n(3541),c=n(11848),u=n(75659),d=n(34661),p=n(93928),f=n(64741),h=n(69490);const m=({shouldDisableDate:e,shouldDisableMonth:t,shouldDisableYear:n,minDate:r,maxDate:o,disableFuture:a,disablePast:s,timezone:l})=>{const c=(0,h.u)();return i.useCallback((i=>null!==(0,f.Z)({adapter:c,value:i,props:{shouldDisableDate:e,shouldDisableMonth:t,shouldDisableYear:n,minDate:r,maxDate:o,disableFuture:a,disablePast:s,timezone:l}})),[c,e,t,n,r,o,a,s,l])};var g=n(16566),v=n(78401);const y=e=>{const{value:t,referenceDate:n,disableFuture:r,disablePast:a,disableSwitchToMonthOnDayFocus:s=!1,maxDate:l,minDate:c,onMonthChange:u,reduceAnimations:d,shouldDisableDate:f,timezone:y}=e,b=(0,h.hc)(),x=i.useRef(((e,t,n)=>(r,i)=>{switch(i.type){case"changeMonth":return(0,o.A)({},r,{slideDirection:i.direction,currentMonth:i.newMonth,isMonthSwitchingAnimating:!e});case"finishMonthSwitchingAnimation":return(0,o.A)({},r,{isMonthSwitchingAnimating:!1});case"changeFocusedDay":{if(null!=r.focusedDay&&null!=i.focusedDay&&n.isSameDay(i.focusedDay,r.focusedDay))return r;const a=null!=i.focusedDay&&!t&&!n.isSameMonth(r.currentMonth,i.focusedDay);return(0,o.A)({},r,{focusedDay:i.focusedDay,isMonthSwitchingAnimating:a&&!e&&!i.withoutMonthSwitchingAnimation,currentMonth:a?n.startOfMonth(i.focusedDay):r.currentMonth,slideDirection:null!=i.focusedDay&&n.isAfterDay(i.focusedDay,r.currentMonth)?"left":"right"})}default:throw new Error("missing support")}})(Boolean(d),s,b)).current,w=i.useMemo((()=>g.W.getInitialReferenceValue({value:t,utils:b,timezone:y,props:e,referenceDate:n,granularity:v.yX.day})),[]),[A,_]=i.useReducer(x,{isMonthSwitchingAnimating:!1,focusedDay:w,currentMonth:b.startOfMonth(w),slideDirection:"left"}),S=i.useCallback((e=>{_((0,o.A)({type:"changeMonth"},e)),u&&u(e.newMonth)}),[u]),k=i.useCallback((e=>{const t=e;b.isSameMonth(t,A.currentMonth)||S({newMonth:b.startOfMonth(t),direction:b.isAfterDay(t,A.currentMonth)?"left":"right"})}),[A.currentMonth,S,b]),C=m({shouldDisableDate:f,minDate:c,maxDate:l,disableFuture:r,disablePast:a,timezone:y}),T=i.useCallback((()=>{_({type:"finishMonthSwitchingAnimation"})}),[]),M=(0,p.A)(((e,t)=>{C(e)||_({type:"changeFocusedDay",focusedDay:e,withoutMonthSwitchingAnimation:t})}));return{referenceDate:w,calendarState:A,changeMonth:k,changeFocusedDay:M,isDateDisabled:C,onMonthSwitchingAnimationEnd:T,handleChangeMonth:S}};var b=n(50238),x=n(33551),w=n(73788),A=n(2501),_=n(63967),S=n(29881),k=n(31886),C=n(44675),T=n(22618),M=n(25540);function P(e,t){return e.replace(new RegExp("(^|\\s)"+t+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}var O=n(80851),E=n(92403),D=function(e,t){return e&&t&&t.split(" ").forEach((function(t){return r=t,void((n=e).classList?n.classList.remove(r):"string"==typeof n.className?n.className=P(n.className,r):n.setAttribute("class",P(n.className&&n.className.baseVal||"",r)));var n,r}))},R=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).appliedClasses={appear:{},enter:{},exit:{}},t.onEnter=function(e,n){var r=t.resolveArguments(e,n),o=r[0],i=r[1];t.removeClasses(o,"exit"),t.addClass(o,i?"appear":"enter","base"),t.props.onEnter&&t.props.onEnter(e,n)},t.onEntering=function(e,n){var r=t.resolveArguments(e,n),o=r[0],i=r[1]?"appear":"enter";t.addClass(o,i,"active"),t.props.onEntering&&t.props.onEntering(e,n)},t.onEntered=function(e,n){var r=t.resolveArguments(e,n),o=r[0],i=r[1]?"appear":"enter";t.removeClasses(o,i),t.addClass(o,i,"done"),t.props.onEntered&&t.props.onEntered(e,n)},t.onExit=function(e){var n=t.resolveArguments(e)[0];t.removeClasses(n,"appear"),t.removeClasses(n,"enter"),t.addClass(n,"exit","base"),t.props.onExit&&t.props.onExit(e)},t.onExiting=function(e){var n=t.resolveArguments(e)[0];t.addClass(n,"exit","active"),t.props.onExiting&&t.props.onExiting(e)},t.onExited=function(e){var n=t.resolveArguments(e)[0];t.removeClasses(n,"exit"),t.addClass(n,"exit","done"),t.props.onExited&&t.props.onExited(e)},t.resolveArguments=function(e,n){return t.props.nodeRef?[t.props.nodeRef.current,e]:[e,n]},t.getClassNames=function(e){var n=t.props.classNames,r="string"==typeof n,o=r?""+(r&&n?n+"-":"")+e:n[e];return{baseClassName:o,activeClassName:r?o+"-active":n[e+"Active"],doneClassName:r?o+"-done":n[e+"Done"]}},t}(0,M.A)(t,e);var n=t.prototype;return n.addClass=function(e,t,n){var r=this.getClassNames(t)[n+"ClassName"],o=this.getClassNames("enter").doneClassName;"appear"===t&&"done"===n&&o&&(r+=" "+o),"active"===n&&e&&(0,E.F)(e),r&&(this.appliedClasses[t][n]=r,function(e,t){e&&t&&t.split(" ").forEach((function(t){return r=t,void((n=e).classList?n.classList.add(r):function(e,t){return e.classList?!!t&&e.classList.contains(t):-1!==(" "+(e.className.baseVal||e.className)+" ").indexOf(" "+t+" ")}(n,r)||("string"==typeof n.className?n.className=n.className+" "+r:n.setAttribute("class",(n.className&&n.className.baseVal||"")+" "+r)));var n,r}))}(e,r))},n.removeClasses=function(e,t){var n=this.appliedClasses[t],r=n.base,o=n.active,i=n.done;this.appliedClasses[t]={},r&&D(e,r),o&&D(e,o),i&&D(e,i)},n.render=function(){var e=this.props,t=(e.classNames,(0,r.A)(e,["classNames"]));return i.createElement(O.Ay,(0,o.A)({},t,{onEnter:this.onEnter,onEntered:this.onEntered,onEntering:this.onEntering,onExit:this.onExit,onExiting:this.onExiting,onExited:this.onExited}))},t}(i.Component);R.defaultProps={classNames:""},R.propTypes={};var I=R,N=n(35790),L=n(74848);const j=["children","className","reduceAnimations","slideDirection","transKey","classes"],$=(0,c.Ay)(T.A,{name:"MuiPickersSlideTransition",slot:"Root",overridesResolver:(e,t)=>[t.root,{[`.${N.U["slideEnter-left"]}`]:t["slideEnter-left"]},{[`.${N.U["slideEnter-right"]}`]:t["slideEnter-right"]},{[`.${N.U.slideEnterActive}`]:t.slideEnterActive},{[`.${N.U.slideExit}`]:t.slideExit},{[`.${N.U["slideExitActiveLeft-left"]}`]:t["slideExitActiveLeft-left"]},{[`.${N.U["slideExitActiveLeft-right"]}`]:t["slideExitActiveLeft-right"]}]})((({theme:e})=>{const t=e.transitions.create("transform",{duration:e.transitions.duration.complex,easing:"cubic-bezier(0.35, 0.8, 0.4, 1)"});return{display:"block",position:"relative",overflowX:"hidden","& > *":{position:"absolute",top:0,right:0,left:0},[`& .${N.U["slideEnter-left"]}`]:{willChange:"transform",transform:"translate(100%)",zIndex:1},[`& .${N.U["slideEnter-right"]}`]:{willChange:"transform",transform:"translate(-100%)",zIndex:1},[`& .${N.U.slideEnterActive}`]:{transform:"translate(0%)",transition:t},[`& .${N.U.slideExit}`]:{transform:"translate(0%)"},[`& .${N.U["slideExitActiveLeft-left"]}`]:{willChange:"transform",transform:"translate(-100%)",transition:t,zIndex:0},[`& .${N.U["slideExitActiveLeft-right"]}`]:{willChange:"transform",transform:"translate(100%)",transition:t,zIndex:0}}}));var z=n(23887),F=n(18247);const B=["parentProps","day","focusableDay","selectedDays","isDateDisabled","currentMonthNumber","isViewFocused"],H=["ownerState"],V=6*(k.B3+2*k.y0),W=(0,c.Ay)("div",{name:"MuiDayCalendar",slot:"Root",overridesResolver:(e,t)=>t.root})({}),U=(0,c.Ay)("div",{name:"MuiDayCalendar",slot:"Header",overridesResolver:(e,t)=>t.header})({display:"flex",justifyContent:"center",alignItems:"center"}),q=(0,c.Ay)(x.A,{name:"MuiDayCalendar",slot:"WeekDayLabel",overridesResolver:(e,t)=>t.weekDayLabel})((({theme:e})=>({width:36,height:40,margin:"0 2px",textAlign:"center",display:"flex",justifyContent:"center",alignItems:"center",color:(e.vars||e).palette.text.secondary}))),G=(0,c.Ay)(x.A,{name:"MuiDayCalendar",slot:"WeekNumberLabel",overridesResolver:(e,t)=>t.weekNumberLabel})((({theme:e})=>({width:36,height:40,margin:"0 2px",textAlign:"center",display:"flex",justifyContent:"center",alignItems:"center",color:e.palette.text.disabled}))),Y=(0,c.Ay)(x.A,{name:"MuiDayCalendar",slot:"WeekNumber",overridesResolver:(e,t)=>t.weekNumber})((({theme:e})=>(0,o.A)({},e.typography.caption,{width:k.B3,height:k.B3,padding:0,margin:`0 ${k.y0}px`,color:e.palette.text.disabled,fontSize:"0.75rem",alignItems:"center",justifyContent:"center",display:"inline-flex"}))),X=(0,c.Ay)("div",{name:"MuiDayCalendar",slot:"LoadingContainer",overridesResolver:(e,t)=>t.loadingContainer})({display:"flex",justifyContent:"center",alignItems:"center",minHeight:V}),K=(0,c.Ay)((function(e){const t=(0,l.A)({props:e,name:"MuiPickersSlideTransition"}),{children:n,className:s,reduceAnimations:c,transKey:d}=t,p=(0,r.A)(t,j),f=(e=>{const{classes:t,slideDirection:n}=e,r={root:["root"],exit:["slideExit"],enterActive:["slideEnterActive"],enter:[`slideEnter-${n}`],exitActive:[`slideExitActiveLeft-${n}`]};return(0,u.A)(r,N.E,t)})(t),h=(0,C.A)();if(c)return(0,L.jsx)("div",{className:(0,a.A)(f.root,s),children:n});const m={exit:f.exit,enterActive:f.enterActive,enter:f.enter,exitActive:f.exitActive};return(0,L.jsx)($,{className:(0,a.A)(f.root,s),childFactory:e=>i.cloneElement(e,{classNames:m}),role:"presentation",children:(0,L.jsx)(I,(0,o.A)({mountOnEnter:!0,unmountOnExit:!0,timeout:h.transitions.duration.complex,classNames:m},p,{children:n}),d)})}),{name:"MuiDayCalendar",slot:"SlideTransition",overridesResolver:(e,t)=>t.slideTransition})({minHeight:V}),Z=(0,c.Ay)("div",{name:"MuiDayCalendar",slot:"MonthContainer",overridesResolver:(e,t)=>t.monthContainer})({overflow:"hidden"}),J=(0,c.Ay)("div",{name:"MuiDayCalendar",slot:"WeekContainer",overridesResolver:(e,t)=>t.weekContainer})({margin:`${k.y0}px 0`,display:"flex",justifyContent:"center"});function Q(e){let{parentProps:t,day:n,focusableDay:a,selectedDays:l,isDateDisabled:c,currentMonthNumber:u,isViewFocused:d}=e,p=(0,r.A)(e,B);const{disabled:f,disableHighlightToday:m,isMonthSwitchingAnimating:g,showDaysOutsideCurrentMonth:v,slots:y,slotProps:b,timezone:x}=t,w=(0,h.hc)(),A=(0,h.cB)(x),S=null!==a&&w.isSameDay(n,a),k=l.some((e=>w.isSameDay(e,n))),C=w.isSameDay(n,A),T=y?.day??_.a,M=(0,s.Q)({elementType:T,externalSlotProps:b?.day,additionalProps:(0,o.A)({disableHighlightToday:m,showDaysOutsideCurrentMonth:v,role:"gridcell",isAnimating:g,"data-timestamp":w.toJsDate(n).valueOf()},p),ownerState:(0,o.A)({},t,{day:n,selected:k})}),P=(0,r.A)(M,H),O=i.useMemo((()=>f||c(n)),[f,c,n]),E=i.useMemo((()=>w.getMonth(n)!==u),[w,n,u]),D=i.useMemo((()=>{const e=w.startOfMonth(w.setMonth(n,u));return v?w.isSameDay(n,w.startOfWeek(e)):w.isSameDay(n,e)}),[u,n,v,w]),R=i.useMemo((()=>{const e=w.endOfMonth(w.setMonth(n,u));return v?w.isSameDay(n,w.endOfWeek(e)):w.isSameDay(n,e)}),[u,n,v,w]);return(0,L.jsx)(T,(0,o.A)({},P,{day:n,disabled:O,autoFocus:d&&S,today:C,outsideCurrentMonth:E,isFirstVisibleCell:D,isLastVisibleCell:R,selected:k,tabIndex:S?0:-1,"aria-selected":k,"aria-current":C?"date":void 0}))}function ee(e){const t=(0,l.A)({props:e,name:"MuiDayCalendar"}),n=(0,h.hc)(),{onFocusedDayChange:r,className:s,currentMonth:c,selectedDays:d,focusedDay:f,loading:g,onSelectedDaysChange:v,onMonthSwitchingAnimationEnd:y,readOnly:b,reduceAnimations:x,renderLoading:_=()=>(0,L.jsx)("span",{children:"..."}),slideDirection:k,TransitionProps:C,disablePast:T,disableFuture:M,minDate:P,maxDate:O,shouldDisableDate:E,shouldDisableMonth:D,shouldDisableYear:R,dayOfWeekFormatter:I=e=>n.format(e,"weekdayShort").charAt(0).toUpperCase(),hasFocus:N,onFocusedViewChange:j,gridLabelId:$,displayWeekNumber:B,fixedWeekNumber:H,autoFocus:V,timezone:ee}=t,te=(0,h.cB)(ee),ne=(e=>{const{classes:t}=e;return(0,u.A)({root:["root"],header:["header"],weekDayLabel:["weekDayLabel"],loadingContainer:["loadingContainer"],slideTransition:["slideTransition"],monthContainer:["monthContainer"],weekContainer:["weekContainer"],weekNumberLabel:["weekNumberLabel"],weekNumber:["weekNumber"]},F.X,t)})(t),re=(0,w.I)(),oe=m({shouldDisableDate:E,shouldDisableMonth:D,shouldDisableYear:R,minDate:P,maxDate:O,disablePast:T,disableFuture:M,timezone:ee}),ie=(0,S.b)(),[ae,se]=(0,A.A)({name:"DayCalendar",state:"hasFocus",controlled:N,default:V??!1}),[le,ce]=i.useState((()=>f||te)),ue=(0,p.A)((e=>{b||v(e)})),de=e=>{oe(e)||(r(e),ce(e),j?.(!0),se(!0))},pe=(0,p.A)(((e,t)=>{switch(e.key){case"ArrowUp":de(n.addDays(t,-7)),e.preventDefault();break;case"ArrowDown":de(n.addDays(t,7)),e.preventDefault();break;case"ArrowLeft":{const r=n.addDays(t,re?1:-1),o=n.addMonths(t,re?1:-1),i=(0,z.il)({utils:n,date:r,minDate:re?r:n.startOfMonth(o),maxDate:re?n.endOfMonth(o):r,isDateDisabled:oe,timezone:ee});de(i||r),e.preventDefault();break}case"ArrowRight":{const r=n.addDays(t,re?-1:1),o=n.addMonths(t,re?-1:1),i=(0,z.il)({utils:n,date:r,minDate:re?n.startOfMonth(o):r,maxDate:re?r:n.endOfMonth(o),isDateDisabled:oe,timezone:ee});de(i||r),e.preventDefault();break}case"Home":de(n.startOfWeek(t)),e.preventDefault();break;case"End":de(n.endOfWeek(t)),e.preventDefault();break;case"PageUp":de(n.addMonths(t,1)),e.preventDefault();break;case"PageDown":de(n.addMonths(t,-1)),e.preventDefault()}})),fe=(0,p.A)(((e,t)=>de(t))),he=(0,p.A)(((e,t)=>{ae&&n.isSameDay(le,t)&&j?.(!1)})),me=n.getMonth(c),ge=n.getYear(c),ve=i.useMemo((()=>d.filter((e=>!!e)).map((e=>n.startOfDay(e)))),[n,d]),ye=`${ge}-${me}`,be=i.useMemo((()=>i.createRef()),[ye]),xe=n.startOfWeek(te),we=i.useMemo((()=>{const e=n.startOfMonth(c),t=n.endOfMonth(c);return oe(le)||n.isAfterDay(le,t)||n.isBeforeDay(le,e)?(0,z.il)({utils:n,date:le,minDate:e,maxDate:t,disablePast:T,disableFuture:M,isDateDisabled:oe,timezone:ee}):le}),[c,M,T,le,oe,n,ee]),Ae=i.useMemo((()=>{const e=n.setTimezone(c,ee),t=n.getWeekArray(e);let r=n.addMonths(e,1);for(;H&&t.length<H;){const e=n.getWeekArray(r),o=n.isSameDay(t[t.length-1][0],e[0][0]);e.slice(o?1:0).forEach((e=>{t.length<H&&t.push(e)})),r=n.addMonths(r,1)}return t}),[c,H,n,ee]);return(0,L.jsxs)(W,{role:"grid","aria-labelledby":$,className:ne.root,children:[(0,L.jsxs)(U,{role:"row",className:ne.header,children:[B&&(0,L.jsx)(G,{variant:"caption",role:"columnheader","aria-label":ie.calendarWeekNumberHeaderLabel,className:ne.weekNumberLabel,children:ie.calendarWeekNumberHeaderText}),(0,z.cH)(n,te).map(((e,t)=>(0,L.jsx)(q,{variant:"caption",role:"columnheader","aria-label":n.format(n.addDays(xe,t),"weekday"),className:ne.weekDayLabel,children:I(e)},t.toString())))]}),g?(0,L.jsx)(X,{className:ne.loadingContainer,children:_()}):(0,L.jsx)(K,(0,o.A)({transKey:ye,onExited:y,reduceAnimations:x,slideDirection:k,className:(0,a.A)(s,ne.slideTransition)},C,{nodeRef:be,children:(0,L.jsx)(Z,{ref:be,role:"rowgroup",className:ne.monthContainer,children:Ae.map(((e,r)=>(0,L.jsxs)(J,{role:"row",className:ne.weekContainer,"aria-rowindex":r+1,children:[B&&(0,L.jsx)(Y,{className:ne.weekNumber,role:"rowheader","aria-label":ie.calendarWeekNumberAriaLabelText(n.getWeekNumber(e[0])),children:ie.calendarWeekNumberText(n.getWeekNumber(e[0]))}),e.map(((e,n)=>(0,L.jsx)(Q,{parentProps:t,day:e,selectedDays:ve,focusableDay:we,onKeyDown:pe,onFocus:fe,onBlur:he,onDaySelect:ue,isDateDisabled:oe,currentMonthNumber:me,isViewFocused:ae,"aria-colindex":n+1},e.toString())))]},`week-${e[0]}`)))})}))]})}var te=n(40648),ne=n(82452),re=n(93703),oe=n(43059),ie=n(81593),ae=n(58313),se=n(91645),le=n(33059);const ce=["autoFocus","onViewChange","value","defaultValue","referenceDate","disableFuture","disablePast","onChange","onYearChange","onMonthChange","reduceAnimations","shouldDisableDate","shouldDisableMonth","shouldDisableYear","view","views","openTo","className","disabled","readOnly","minDate","maxDate","disableHighlightToday","focusedView","onFocusedViewChange","showDaysOutsideCurrentMonth","fixedWeekNumber","dayOfWeekFormatter","slots","slotProps","loading","renderLoading","displayWeekNumber","yearsPerRow","monthsPerRow","timezone"];const ue=(0,c.Ay)(ie.I,{name:"MuiDateCalendar",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"flex",flexDirection:"column",height:k.Y2}),de=(0,c.Ay)(b.g,{name:"MuiDateCalendar",slot:"ViewTransitionContainer",overridesResolver:(e,t)=>t.viewTransitionContainer})({}),pe=i.forwardRef((function(e,t){const n=(0,h.hc)(),c=(0,d.A)(),f=function(e,t){const n=(0,h.hc)(),r=(0,h.Yg)(),i=(0,ae.q)(),a=(0,l.A)({props:e,name:t});return(0,o.A)({},a,{loading:a.loading??!1,disablePast:a.disablePast??!1,disableFuture:a.disableFuture??!1,openTo:a.openTo??"day",views:a.views??["year","day"],reduceAnimations:a.reduceAnimations??i,renderLoading:a.renderLoading??(()=>(0,L.jsx)("span",{children:"..."})),minDate:(0,z.IP)(n,a.minDate,r.minDate),maxDate:(0,z.IP)(n,a.maxDate,r.maxDate)})}(e,"MuiDateCalendar"),{autoFocus:m,onViewChange:v,value:b,defaultValue:x,referenceDate:w,disableFuture:A,disablePast:_,onChange:S,onYearChange:k,onMonthChange:C,reduceAnimations:T,shouldDisableDate:M,shouldDisableMonth:P,shouldDisableYear:O,view:E,views:D,openTo:R,className:I,disabled:N,readOnly:j,minDate:$,maxDate:F,disableHighlightToday:B,focusedView:H,onFocusedViewChange:V,showDaysOutsideCurrentMonth:W,fixedWeekNumber:U,dayOfWeekFormatter:q,slots:G,slotProps:Y,loading:X,renderLoading:K,displayWeekNumber:Z,yearsPerRow:J,monthsPerRow:Q,timezone:ie}=f,pe=(0,r.A)(f,ce),{value:fe,handleValueChange:he,timezone:me}=(0,le.Y)({name:"DateCalendar",timezone:ie,value:b,defaultValue:x,onChange:S,valueManager:g.W}),{view:ge,setView:ve,focusedView:ye,setFocusedView:be,goToNextView:xe,setValueAndGoToNextView:we}=(0,re.o)({view:E,views:D,openTo:R,onChange:he,onViewChange:v,autoFocus:m,focusedView:H,onFocusedViewChange:V}),{referenceDate:Ae,calendarState:_e,changeFocusedDay:Se,changeMonth:ke,handleChangeMonth:Ce,isDateDisabled:Te,onMonthSwitchingAnimationEnd:Me}=y({value:fe,referenceDate:w,reduceAnimations:T,onMonthChange:C,minDate:$,maxDate:F,shouldDisableDate:M,disablePast:_,disableFuture:A,timezone:me}),Pe=N&&fe||$,Oe=N&&fe||F,Ee=`${c}-grid-label`,De=null!==ye,Re=G?.calendarHeader??oe.V,Ie=(0,s.Q)({elementType:Re,externalSlotProps:Y?.calendarHeader,additionalProps:{views:D,view:ge,currentMonth:_e.currentMonth,onViewChange:ve,onMonthChange:(e,t)=>Ce({newMonth:e,direction:t}),minDate:Pe,maxDate:Oe,disabled:N,disablePast:_,disableFuture:A,reduceAnimations:T,timezone:me,labelId:Ee},ownerState:f}),Ne=(0,p.A)((e=>{const t=n.startOfMonth(e),r=n.endOfMonth(e),o=Te(e)?(0,z.il)({utils:n,date:e,minDate:n.isBefore($,t)?t:$,maxDate:n.isAfter(F,r)?r:F,disablePast:_,disableFuture:A,isDateDisabled:Te,timezone:me}):e;o?(we(o,"finish"),C?.(t)):(xe(),ke(t)),Se(o,!0)})),Le=(0,p.A)((e=>{const t=n.startOfYear(e),r=n.endOfYear(e),o=Te(e)?(0,z.il)({utils:n,date:e,minDate:n.isBefore($,t)?t:$,maxDate:n.isAfter(F,r)?r:F,disablePast:_,disableFuture:A,isDateDisabled:Te,timezone:me}):e;o?(we(o,"finish"),k?.(o)):(xe(),ke(t)),Se(o,!0)})),je=(0,p.A)((e=>he(e?(0,z.jH)(n,e,fe??Ae):e,"finish",ge)));i.useEffect((()=>{null!=fe&&n.isValid(fe)&&ke(fe)}),[fe]);const $e=f,ze=(e=>{const{classes:t}=e;return(0,u.A)({root:["root"],viewTransitionContainer:["viewTransitionContainer"]},se.$,t)})($e),Fe={disablePast:_,disableFuture:A,maxDate:F,minDate:$},Be={disableHighlightToday:B,readOnly:j,disabled:N,timezone:me,gridLabelId:Ee,slots:G,slotProps:Y},He=i.useRef(ge);i.useEffect((()=>{He.current!==ge&&(ye===He.current&&be(ge,!0),He.current=ge)}),[ye,be,ge]);const Ve=i.useMemo((()=>[fe]),[fe]);return(0,L.jsxs)(ue,(0,o.A)({ref:t,className:(0,a.A)(ze.root,I),ownerState:$e},pe,{children:[(0,L.jsx)(Re,(0,o.A)({},Ie,{slots:G,slotProps:Y})),(0,L.jsx)(de,{reduceAnimations:T,className:ze.viewTransitionContainer,transKey:ge,ownerState:$e,children:(0,L.jsxs)("div",{children:["year"===ge&&(0,L.jsx)(ne.i,(0,o.A)({},Fe,Be,{value:fe,onChange:Le,shouldDisableYear:O,hasFocus:De,onFocusedViewChange:e=>be("year",e),yearsPerRow:J,referenceDate:Ae})),"month"===ge&&(0,L.jsx)(te.T,(0,o.A)({},Fe,Be,{hasFocus:De,className:I,value:fe,onChange:Ne,shouldDisableMonth:P,onFocusedViewChange:e=>be("month",e),monthsPerRow:Q,referenceDate:Ae})),"day"===ge&&(0,L.jsx)(ee,(0,o.A)({},_e,Fe,Be,{onMonthSwitchingAnimationEnd:Me,onFocusedDayChange:Se,reduceAnimations:T,selectedDays:Ve,onSelectedDaysChange:je,shouldDisableDate:M,shouldDisableMonth:P,shouldDisableYear:O,hasFocus:De,onFocusedViewChange:e=>be("day",e),showDaysOutsideCurrentMonth:W,fixedWeekNumber:U,dayOfWeekFormatter:q,displayWeekNumber:Z,loading:X,renderLoading:K}))]})})]}))}))},50238:function(e,t,n){"use strict";n.d(t,{g:function(){return h}});n(96540);var r=n(34164),o=n(22618),i=n(20973),a=n(11848),s=n(3541),l=n(44675),c=n(75659),u=n(45908),d=n(74848);const p=e=>{const{classes:t}=e;return(0,c.A)({root:["root"]},u.K,t)},f=(0,a.Ay)(o.A,{name:"MuiPickersFadeTransitionGroup",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"block",position:"relative"});function h(e){const t=(0,s.A)({props:e,name:"MuiPickersFadeTransitionGroup"}),{children:n,className:o,reduceAnimations:a,transKey:c}=t,u=p(t),h=(0,l.A)();return a?n:(0,d.jsx)(f,{className:(0,r.A)(u.root,o),children:(0,d.jsx)(i.A,{appear:!1,mountOnEnter:!0,unmountOnExit:!0,timeout:{appear:h.transitions.duration.enteringScreen,enter:h.transitions.duration.enteringScreen,exit:0},children:n},c)})}},91645:function(e,t,n){"use strict";n.d(t,{$:function(){return i},r:function(){return a}});var r=n(31609),o=n(38413);const i=e=>(0,r.Ay)("MuiDateCalendar",e),a=(0,o.A)("MuiDateCalendar",["root","viewTransitionContainer"])},18247:function(e,t,n){"use strict";n.d(t,{X:function(){return i},f:function(){return a}});var r=n(31609),o=n(38413);const i=e=>(0,r.Ay)("MuiDayCalendar",e),a=(0,o.A)("MuiDayCalendar",["root","header","weekDayLabel","loadingContainer","slideTransition","monthContainer","weekContainer","weekNumberLabel","weekNumber"])},45908:function(e,t,n){"use strict";n.d(t,{K:function(){return i},r:function(){return a}});var r=n(31609),o=n(38413);const i=e=>(0,r.Ay)("MuiPickersFadeTransitionGroup",e),a=(0,o.A)("MuiPickersFadeTransitionGroup",["root"])},35790:function(e,t,n){"use strict";n.d(t,{E:function(){return i},U:function(){return a}});var r=n(31609),o=n(38413);const i=e=>(0,r.Ay)("MuiPickersSlideTransition",e),a=(0,o.A)("MuiPickersSlideTransition",["root","slideEnter-left","slideEnter-right","slideEnterActive","slideExit","slideExitActiveLeft-left","slideExitActiveLeft-right"])},52199:function(e,t,n){"use strict";n.d(t,{v:function(){return m}});var r=n(58168),o=n(98587),i=n(96540),a=n(1043),s=n(3541),l=n(17315),c=n(7962),u=n(57655),d=n(8473),p=n(76879),f=n(74848);const h=["slots","slotProps","InputProps","inputProps"],m=i.forwardRef((function(e,t){const n=(0,s.A)({props:e,name:"MuiDateField"}),{slots:i,slotProps:m,InputProps:g,inputProps:v}=n,y=(0,o.A)(n,h),b=n,x=i?.textField??(e.enableAccessibleFieldDOMStructure?d.X:a.A),w=(0,l.Q)({elementType:x,externalSlotProps:m?.textField,externalForwardedProps:y,additionalProps:{ref:t},ownerState:b});w.inputProps=(0,r.A)({},v,w.inputProps),w.InputProps=(0,r.A)({},g,w.InputProps);const A=(0,c.c)(w),_=(0,p.h)(A),S=(0,u.Z)((0,r.A)({},_,{slots:i,slotProps:m}));return(0,f.jsx)(x,(0,r.A)({},S))}))},7962:function(e,t,n){"use strict";n.d(t,{c:function(){return l}});var r=n(16566),o=n(82579),i=n(64741),a=n(54274),s=n(9599);const l=e=>{const t=(0,s.LN)(e),{forwardedProps:n,internalProps:l}=(0,a.D)(t,"date");return(0,o.M)({forwardedProps:n,internalProps:l,valueManager:r.W,fieldValueManager:r.o,validator:i.Z,valueType:"date"})}},43310:function(e,t,n){"use strict";n.d(t,{S:function(){return x}});var r=n(58168),o=n(98587),i=n(96540),a=n(34164),s=n(33551),l=n(11848),c=n(3541),u=n(75659),d=n(6498),p=n(29881),f=n(69490),h=n(36356),m=n(23887),g=n(74848);const v=["value","isLandscape","onChange","toolbarFormat","toolbarPlaceholder","views","className","onViewChange","view"],y=(0,l.Ay)(d.Z,{name:"MuiDatePickerToolbar",slot:"Root",overridesResolver:(e,t)=>t.root})({}),b=(0,l.Ay)(s.A,{name:"MuiDatePickerToolbar",slot:"Title",overridesResolver:(e,t)=>t.title})({variants:[{props:{isLandscape:!0},style:{margin:"auto 16px auto auto"}}]}),x=i.forwardRef((function(e,t){const n=(0,c.A)({props:e,name:"MuiDatePickerToolbar"}),{value:s,isLandscape:l,toolbarFormat:d,toolbarPlaceholder:x="––",views:w,className:A}=n,_=(0,o.A)(n,v),S=(0,f.hc)(),k=(0,p.b)(),C=(e=>{const{classes:t}=e;return(0,u.A)({root:["root"],title:["title"]},h.y,t)})(n),T=i.useMemo((()=>{if(!s)return x;const e=(0,m.Wq)(S,{format:d,views:w},!0);return S.formatByString(s,e)}),[s,d,x,S,w]),M=n;return(0,g.jsx)(y,(0,r.A)({ref:t,toolbarTitle:k.datePickerToolbarTitle,isLandscape:l,className:(0,a.A)(C.root,A)},_,{children:(0,g.jsx)(b,{variant:"h4",align:l?"left":"center",ownerState:M,className:C.title,children:T})}))}))},36356:function(e,t,n){"use strict";n.d(t,{Y:function(){return i},y:function(){return o}});var r=n(31609);function o(e){return(0,r.Ay)("MuiDatePickerToolbar",e)}const i=(0,n(38413).A)("MuiDatePickerToolbar",["root","title"])},91178:function(e,t,n){"use strict";n.r(t),n.d(t,{DatePicker:function(){return f},DatePickerToolbar:function(){return h.S},datePickerToolbarClasses:function(){return m.Y}});var r=n(58168),o=n(98587),i=n(96540),a=n(37708),s=n(3541),l=n(37243),c=n(50081),u=n(24034),d=n(74848);const p=["desktopModeMediaQuery"],f=i.forwardRef((function(e,t){const n=(0,s.A)({props:e,name:"MuiDatePicker"}),{desktopModeMediaQuery:i=u.jX}=n,f=(0,o.A)(n,p);return(0,a.A)(i,{defaultMatches:!0})?(0,d.jsx)(l.T,(0,r.A)({ref:t},f)):(0,d.jsx)(c.$,(0,r.A)({ref:t},f))}));var h=n(43310),m=n(36356)},20742:function(e,t,n){"use strict";n.d(t,{D:function(){return u}});var r=n(58168),o=n(96540),i=n(3541),a=n(69490),s=n(34469),l=n(23887),c=n(43310);function u(e,t){const n=(0,a.hc)(),u=(0,a.Yg)(),d=(0,i.A)({props:e,name:t}),p=o.useMemo((()=>null==d.localeText?.toolbarTitle?d.localeText:(0,r.A)({},d.localeText,{datePickerToolbarTitle:d.localeText.toolbarTitle})),[d.localeText]);return(0,r.A)({},d,{localeText:p},(0,s.R)({views:d.views,openTo:d.openTo,defaultViews:["year","day"],defaultOpenTo:"day"}),{disableFuture:d.disableFuture??!1,disablePast:d.disablePast??!1,minDate:(0,l.IP)(n,d.minDate,u.minDate),maxDate:(0,l.IP)(n,d.maxDate,u.maxDate),slots:(0,r.A)({toolbar:c.S},d.slots)})}},62251:function(e,t,n){"use strict";n.d(t,{I:function(){return m}});var r=n(58168),o=n(98587),i=n(96540),a=n(1043),s=n(3541),l=n(17315),c=n(27176),u=n(57655),d=n(8473),p=n(76879),f=n(74848);const h=["slots","slotProps","InputProps","inputProps"],m=i.forwardRef((function(e,t){const n=(0,s.A)({props:e,name:"MuiDateTimeField"}),{slots:i,slotProps:m,InputProps:g,inputProps:v}=n,y=(0,o.A)(n,h),b=n,x=i?.textField??(e.enableAccessibleFieldDOMStructure?d.X:a.A),w=(0,l.Q)({elementType:x,externalSlotProps:m?.textField,externalForwardedProps:y,ownerState:b,additionalProps:{ref:t}});w.inputProps=(0,r.A)({},v,w.inputProps),w.InputProps=(0,r.A)({},g,w.InputProps);const A=(0,c.p)(w),_=(0,p.h)(A),S=(0,u.Z)((0,r.A)({},_,{slots:i,slotProps:m}));return(0,f.jsx)(x,(0,r.A)({},S))}))},27176:function(e,t,n){"use strict";n.d(t,{p:function(){return l}});var r=n(16566),o=n(82579),i=n(79696),a=n(54274),s=n(9599);const l=e=>{const t=(0,s.o_)(e),{forwardedProps:n,internalProps:l}=(0,a.D)(t,"date-time");return(0,o.M)({forwardedProps:n,internalProps:l,valueManager:r.W,fieldValueManager:r.o,validator:i.q,valueType:"date-time"})}},70407:function(e,t,n){"use strict";n.d(t,{U:function(){return y}});var r=n(96540),o=n(34164),i=n(89367),a=n(32604),s=n(6533),l=n(11848),c=n(3541),u=n(75659),d=n(40293),p=n(29881),f=n(58099),h=n(23887),m=n(74848);const g=e=>(0,h.sC)(e)?"date":"time",v=(0,l.Ay)(a.A,{name:"MuiDateTimePickerTabs",slot:"Root",overridesResolver:(e,t)=>t.root})((({theme:e})=>({boxShadow:`0 -1px 0 0 inset ${(e.vars||e).palette.divider}`,"&:last-child":{boxShadow:`0 1px 0 0 inset ${(e.vars||e).palette.divider}`,[`& .${s.A.indicator}`]:{bottom:"auto",top:0}}}))),y=function(e){const t=(0,c.A)({props:e,name:"MuiDateTimePickerTabs"}),{dateIcon:n=(0,m.jsx)(d.Z5,{}),onViewChange:a,timeIcon:s=(0,m.jsx)(d.b1,{}),view:l,hidden:h="undefined"==typeof window||window.innerHeight<667,className:y,sx:b}=t,x=(0,p.b)(),w=(e=>{const{classes:t}=e;return(0,u.A)({root:["root"]},f.w,t)})(t);return h?null:(0,m.jsxs)(v,{ownerState:t,variant:"fullWidth",value:g(l),onChange:(e,t)=>{a("date"===t?"day":"hours")},className:(0,o.A)(y,w.root),sx:b,children:[(0,m.jsx)(i.A,{value:"date","aria-label":x.dateTableLabel,icon:(0,m.jsx)(r.Fragment,{children:n})}),(0,m.jsx)(i.A,{value:"time","aria-label":x.timeTableLabel,icon:(0,m.jsx)(r.Fragment,{children:s})})]})}},6476:function(e,t,n){"use strict";n.d(t,{l:function(){return E}});var r=n(58168),o=n(98587),i=n(96540),a=n(73788),s=n(11848),l=n(3541),c=n(75659),u=n(34164),d=n(28997),p=n(6498),f=n(8934),h=n(29881),m=n(69490),g=n(26438),v=n(50117),y=n(31886),b=n(23887),x=n(57949),w=n(2880),A=n(74848);const _=["ampm","ampmInClock","value","onChange","view","isLandscape","onViewChange","toolbarFormat","toolbarPlaceholder","views","disabled","readOnly","toolbarVariant","toolbarTitle","className"],S=e=>{const{classes:t,isLandscape:n,isRtl:r}=e,o={root:["root"],dateContainer:["dateContainer"],timeContainer:["timeContainer",r&&"timeLabelReverse"],timeDigitsContainer:["timeDigitsContainer",r&&"timeLabelReverse"],separator:["separator"],ampmSelection:["ampmSelection",n&&"ampmLandscape"],ampmLabel:["ampmLabel"]};return(0,c.A)(o,g.$,t)},k=(0,s.Ay)(p.Z,{name:"MuiDateTimePickerToolbar",slot:"Root",overridesResolver:(e,t)=>t.root})((({theme:e})=>({paddingLeft:16,paddingRight:16,justifyContent:"space-around",position:"relative",variants:[{props:{toolbarVariant:"desktop"},style:{borderBottom:`1px solid ${(e.vars||e).palette.divider}`,[`& .${w.N.content} .${x.S.selected}`]:{color:(e.vars||e).palette.primary.main,fontWeight:e.typography.fontWeightBold}}},{props:{toolbarVariant:"desktop",isLandscape:!0},style:{borderRight:`1px solid ${(e.vars||e).palette.divider}`}},{props:{toolbarVariant:"desktop",isLandscape:!1},style:{paddingLeft:24,paddingRight:0}}]}))),C=(0,s.Ay)("div",{name:"MuiDateTimePickerToolbar",slot:"DateContainer",overridesResolver:(e,t)=>t.dateContainer})({display:"flex",flexDirection:"column",alignItems:"flex-start"}),T=(0,s.Ay)("div",{name:"MuiDateTimePickerToolbar",slot:"TimeContainer",overridesResolver:(e,t)=>t.timeContainer})({display:"flex",flexDirection:"row",variants:[{props:{isRtl:!0},style:{flexDirection:"row-reverse"}},{props:{toolbarVariant:"desktop",isLandscape:!1},style:{gap:9,marginRight:4,alignSelf:"flex-end"}},{props:({isLandscape:e,toolbarVariant:t})=>e&&"desktop"!==t,style:{flexDirection:"column"}},{props:({isLandscape:e,toolbarVariant:t,isRtl:n})=>e&&"desktop"!==t&&n,style:{flexDirection:"column-reverse"}}]}),M=(0,s.Ay)("div",{name:"MuiDateTimePickerToolbar",slot:"TimeDigitsContainer",overridesResolver:(e,t)=>t.timeDigitsContainer})({display:"flex",variants:[{props:{isRtl:!0},style:{flexDirection:"row-reverse"}},{props:{toolbarVariant:"desktop"},style:{gap:1.5}}]}),P=(0,s.Ay)(d.k,{name:"MuiDateTimePickerToolbar",slot:"Separator",overridesResolver:(e,t)=>t.separator})({margin:"0 4px 0 2px",cursor:"default",variants:[{props:{toolbarVariant:"desktop"},style:{margin:0}}]}),O=(0,s.Ay)("div",{name:"MuiDateTimePickerToolbar",slot:"AmPmSelection",overridesResolver:(e,t)=>[{[`.${g.d.ampmLabel}`]:t.ampmLabel},{[`&.${g.d.ampmLandscape}`]:t.ampmLandscape},t.ampmSelection]})({display:"flex",flexDirection:"column",marginRight:"auto",marginLeft:12,[`& .${g.d.ampmLabel}`]:{fontSize:17},variants:[{props:{isLandscape:!0},style:{margin:"4px 0 auto",flexDirection:"row",justifyContent:"space-around",width:"100%"}}]});function E(e){const t=(0,l.A)({props:e,name:"MuiDateTimePickerToolbar"}),{ampm:n,ampmInClock:s,value:c,onChange:d,view:p,isLandscape:g,onViewChange:x,toolbarFormat:w,toolbarPlaceholder:E="––",views:D,disabled:R,readOnly:I,toolbarVariant:N="mobile",toolbarTitle:L,className:j}=t,$=(0,o.A)(t,_),z=(0,a.I)(),F=(0,r.A)({},t,{isRtl:z}),B=(0,m.hc)(),{meridiemMode:H,handleMeridiemChange:V}=(0,v.r7)(c,n,d),W=Boolean(n&&!s),U="desktop"===N,q=(0,h.b)(),G=S(F),Y=L??q.dateTimePickerToolbarTitle,X=i.useMemo((()=>c?w?B.formatByString(c,w):B.format(c,"shortDate"):E),[c,w,E,B]);return(0,A.jsxs)(k,(0,r.A)({isLandscape:g,className:(0,u.A)(G.root,j),toolbarTitle:Y},$,{ownerState:F,children:[(0,A.jsxs)(C,{className:G.dateContainer,ownerState:F,children:[D.includes("year")&&(0,A.jsx)(f.R,{tabIndex:-1,variant:"subtitle1",onClick:()=>x("year"),selected:"year"===p,value:c?B.format(c,"year"):"–"}),D.includes("day")&&(0,A.jsx)(f.R,{tabIndex:-1,variant:U?"h5":"h4",onClick:()=>x("day"),selected:"day"===p,value:X})]}),(0,A.jsxs)(T,{className:G.timeContainer,ownerState:F,children:[(0,A.jsxs)(M,{className:G.timeDigitsContainer,ownerState:F,children:[D.includes("hours")&&(0,A.jsxs)(i.Fragment,{children:[(0,A.jsx)(f.R,{variant:U?"h5":"h3",width:U&&!g?y.aG:void 0,onClick:()=>x("hours"),selected:"hours"===p,value:c?(K=c,n?B.format(K,"hours12h"):B.format(K,"hours24h")):"--"}),(0,A.jsx)(P,{variant:U?"h5":"h3",value:":",className:G.separator,ownerState:F}),(0,A.jsx)(f.R,{variant:U?"h5":"h3",width:U&&!g?y.aG:void 0,onClick:()=>x("minutes"),selected:"minutes"===p||!D.includes("minutes")&&"hours"===p,value:c?B.format(c,"minutes"):"--",disabled:!D.includes("minutes")})]}),D.includes("seconds")&&(0,A.jsxs)(i.Fragment,{children:[(0,A.jsx)(P,{variant:U?"h5":"h3",value:":",className:G.separator,ownerState:F}),(0,A.jsx)(f.R,{variant:U?"h5":"h3",width:U&&!g?y.aG:void 0,onClick:()=>x("seconds"),selected:"seconds"===p,value:c?B.format(c,"seconds"):"--"})]})]}),W&&!U&&(0,A.jsxs)(O,{className:G.ampmSelection,ownerState:F,children:[(0,A.jsx)(f.R,{variant:"subtitle2",selected:"am"===H,typographyClassName:G.ampmLabel,value:(0,b._S)(B,"am"),onClick:I?void 0:()=>V("am"),disabled:R}),(0,A.jsx)(f.R,{variant:"subtitle2",selected:"pm"===H,typographyClassName:G.ampmLabel,value:(0,b._S)(B,"pm"),onClick:I?void 0:()=>V("pm"),disabled:R})]}),n&&U&&(0,A.jsx)(f.R,{variant:"h5",onClick:()=>x("meridiem"),selected:"meridiem"===p,value:c&&H?(0,b._S)(B,H):"--",width:y.aG})]})]}));var K}},58099:function(e,t,n){"use strict";n.d(t,{g:function(){return i},w:function(){return o}});var r=n(31609);function o(e){return(0,r.Ay)("MuiDateTimePickerTabs",e)}const i=(0,n(38413).A)("MuiDateTimePickerTabs",["root"])},26438:function(e,t,n){"use strict";n.d(t,{$:function(){return o},d:function(){return i}});var r=n(31609);function o(e){return(0,r.Ay)("MuiDateTimePickerToolbar",e)}const i=(0,n(38413).A)("MuiDateTimePickerToolbar",["root","dateContainer","timeContainer","timeDigitsContainer","separator","timeLabelReverse","ampmSelection","ampmLandscape","ampmLabel"])},33935:function(e,t,n){"use strict";n.r(t),n.d(t,{DateTimePicker:function(){return f},DateTimePickerTabs:function(){return h.U},DateTimePickerToolbar:function(){return g.l},dateTimePickerTabsClasses:function(){return m.g},dateTimePickerToolbarClasses:function(){return v.d}});var r=n(58168),o=n(98587),i=n(96540),a=n(37708),s=n(3541),l=n(82723),c=n(47963),u=n(24034),d=n(74848);const p=["desktopModeMediaQuery"],f=i.forwardRef((function(e,t){const n=(0,s.A)({props:e,name:"MuiDateTimePicker"}),{desktopModeMediaQuery:i=u.jX}=n,f=(0,o.A)(n,p);return(0,a.A)(i,{defaultMatches:!0})?(0,d.jsx)(l.U,(0,r.A)({ref:t},f)):(0,d.jsx)(c.E,(0,r.A)({ref:t},f))}));var h=n(70407),m=n(58099),g=n(6476),v=n(26438)},70333:function(e,t,n){"use strict";n.d(t,{u:function(){return d}});var r=n(58168),o=n(96540),i=n(3541),a=n(69490),s=n(23887),l=n(70407),c=n(6476),u=n(34469);function d(e,t){const n=(0,a.hc)(),d=(0,a.Yg)(),p=(0,i.A)({props:e,name:t}),f=p.ampm??n.is12HourCycleInCurrentLocale(),h=o.useMemo((()=>null==p.localeText?.toolbarTitle?p.localeText:(0,r.A)({},p.localeText,{dateTimePickerToolbarTitle:p.localeText.toolbarTitle})),[p.localeText]);return(0,r.A)({},p,(0,u.R)({views:p.views,openTo:p.openTo,defaultViews:["year","day","hours","minutes"],defaultOpenTo:"day"}),{ampm:f,localeText:h,orientation:p.orientation??"portrait",disableIgnoringDatePartForTimeValidation:p.disableIgnoringDatePartForTimeValidation??Boolean(p.minDateTime||p.maxDateTime||p.disablePast||p.disableFuture),disableFuture:p.disableFuture??!1,disablePast:p.disablePast??!1,minDate:(0,s.IP)(n,p.minDateTime??p.minDate,d.minDate),maxDate:(0,s.IP)(n,p.maxDateTime??p.maxDate,d.maxDate),minTime:p.minDateTime??p.minTime,maxTime:p.maxDateTime??p.maxTime,slots:(0,r.A)({toolbar:c.l,tabs:l.U},p.slots),slotProps:(0,r.A)({},p.slotProps,{toolbar:(0,r.A)({ampm:f},p.slotProps?.toolbar)})})}},37243:function(e,t,n){"use strict";n.d(t,{T:function(){return x}});var r=n(58168),o=n(96540),i=n(5556),a=n.n(i),s=n(45489),l=n(37021),c=n(16566),u=n(20742),d=n(29881),p=n(69490),f=n(64741),h=n(86224),m=n(40293),g=n(52199),v=n(62067),y=n(37755),b=n(23887);const x=o.forwardRef((function(e,t){const n=(0,d.b)(),o=(0,p.hc)(),i=(0,u.D)(e,"MuiDesktopDatePicker"),a=(0,r.A)({day:y.W,month:y.W,year:y.W},i.viewRenderers),l=(0,r.A)({},i,{viewRenderers:a,format:(0,b.Wq)(o,i,!1),yearsPerRow:i.yearsPerRow??4,slots:(0,r.A)({openPickerIcon:m.CT,field:g.v},i.slots),slotProps:(0,r.A)({},i.slotProps,{field:e=>(0,r.A)({},(0,s.Y)(i.slotProps?.field,e),(0,v.zd)(i),{ref:t}),toolbar:(0,r.A)({hidden:!0},i.slotProps?.toolbar)})}),{renderPicker:x}=(0,h.U)({props:l,valueManager:c.W,valueType:"date",getOpenDialogAriaText:l.localeText?.openDatePickerDialogue??n.openDatePickerDialogue,validator:f.Z});return x()}));x.propTypes={autoFocus:a().bool,className:a().string,closeOnSelect:a().bool,dayOfWeekFormatter:a().func,defaultValue:a().object,disabled:a().bool,disableFuture:a().bool,disableHighlightToday:a().bool,disableOpenPicker:a().bool,disablePast:a().bool,displayWeekNumber:a().bool,enableAccessibleFieldDOMStructure:a().any,fixedWeekNumber:a().number,format:a().string,formatDensity:a().oneOf(["dense","spacious"]),inputRef:l.A,label:a().node,loading:a().bool,localeText:a().object,maxDate:a().object,minDate:a().object,monthsPerRow:a().oneOf([3,4]),name:a().string,onAccept:a().func,onChange:a().func,onClose:a().func,onError:a().func,onMonthChange:a().func,onOpen:a().func,onSelectedSectionsChange:a().func,onViewChange:a().func,onYearChange:a().func,open:a().bool,openTo:a().oneOf(["day","month","year"]),orientation:a().oneOf(["landscape","portrait"]),readOnly:a().bool,reduceAnimations:a().bool,referenceDate:a().object,renderLoading:a().func,selectedSections:a().oneOfType([a().oneOf(["all","day","empty","hours","meridiem","minutes","month","seconds","weekDay","year"]),a().number]),shouldDisableDate:a().func,shouldDisableMonth:a().func,shouldDisableYear:a().func,showDaysOutsideCurrentMonth:a().bool,slotProps:a().object,slots:a().object,sx:a().oneOfType([a().arrayOf(a().oneOfType([a().func,a().object,a().bool])),a().func,a().object]),timezone:a().string,value:a().object,view:a().oneOf(["day","month","year"]),viewRenderers:a().shape({day:a().func,month:a().func,year:a().func}),views:a().arrayOf(a().oneOf(["day","month","year"]).isRequired),yearsPerRow:a().oneOf([3,4])}},82723:function(e,t,n){"use strict";n.d(t,{U:function(){return R}});var r=n(58168),o=n(98587),i=n(96540),a=n(5556),s=n.n(a),l=n(45489),c=n(37021),u=n(71543),d=n(16566),p=n(62251),f=n(70333),h=n(37755),m=n(29881),g=n(69490),v=n(79696),y=n(40293),b=n(86224),x=n(62067),w=n(81589),A=n(50771),_=n(81937),S=n(15160),k=n(91181),C=n(67893),T=n(31886),M=n(95878),P=n(23887),O=n(74848);const E=["openTo","focusedView","timeViewsCount"],D=function(e,t,n){const{openTo:a,focusedView:s,timeViewsCount:l}=n,c=(0,o.A)(n,E),d=(0,r.A)({},c,{focusedView:null,sx:[{[`&.${_.L.root}`]:{borderBottom:0},[`&.${_.L.root}, .${S.w.root}, &.${k.X.root}`]:{maxHeight:T.Y2}}]}),p=(0,M.Sq)(t);return(0,O.jsxs)(i.Fragment,{children:[e[p?"day":t]?.((0,r.A)({},n,{view:p?"day":t,focusedView:s&&(0,P.sC)(s)?s:null,views:n.views.filter(P.sC),sx:[{gridColumn:1},...d.sx]})),l>0&&(0,O.jsxs)(i.Fragment,{children:[(0,O.jsx)(u.A,{orientation:"vertical",sx:{gridColumn:2}}),e[p?t:"hours"]?.((0,r.A)({},d,{view:p?t:"hours",focusedView:s&&(0,M.Sq)(s)?s:null,openTo:(0,M.Sq)(a)?a:"hours",views:n.views.filter(M.Sq),sx:[{gridColumn:3},...d.sx]}))]})]})},R=i.forwardRef((function(e,t){const n=(0,m.b)(),o=(0,g.hc)(),i=(0,f.u)(e,"MuiDesktopDateTimePicker"),{shouldRenderTimeInASingleColumn:a,thresholdToRenderTimeInASingleColumn:s,views:c,timeSteps:u}=(0,w.H)(i),_=a?A.$W:A.$8,S=(0,r.A)({day:h.W,month:h.W,year:h.W,hours:_,minutes:_,seconds:_,meridiem:_},i.viewRenderers),k=i.ampmInClock??!0,T=S.hours?.name===A.$8.name?c:c.filter((e=>"meridiem"!==e)),M=a?[]:["accept"],P=(0,r.A)({},i,{viewRenderers:S,format:(0,w.J)(o,i),views:T,yearsPerRow:i.yearsPerRow??4,ampmInClock:k,timeSteps:u,thresholdToRenderTimeInASingleColumn:s,shouldRenderTimeInASingleColumn:a,slots:(0,r.A)({field:p.I,layout:C.U,openPickerIcon:y.CT},i.slots),slotProps:(0,r.A)({},i.slotProps,{field:e=>(0,r.A)({},(0,l.Y)(i.slotProps?.field,e),(0,x.zd)(i),{ref:t}),toolbar:(0,r.A)({hidden:!0,ampmInClock:k,toolbarVariant:"desktop"},i.slotProps?.toolbar),tabs:(0,r.A)({hidden:!0},i.slotProps?.tabs),actionBar:e=>(0,r.A)({actions:M},(0,l.Y)(i.slotProps?.actionBar,e))})}),{renderPicker:O}=(0,b.U)({props:P,valueManager:d.W,valueType:"date-time",getOpenDialogAriaText:P.localeText?.openDatePickerDialogue??n.openDatePickerDialogue,validator:v.q,rendererInterceptor:D});return O()}));R.propTypes={ampm:s().bool,ampmInClock:s().bool,autoFocus:s().bool,className:s().string,closeOnSelect:s().bool,dayOfWeekFormatter:s().func,defaultValue:s().object,disabled:s().bool,disableFuture:s().bool,disableHighlightToday:s().bool,disableIgnoringDatePartForTimeValidation:s().bool,disableOpenPicker:s().bool,disablePast:s().bool,displayWeekNumber:s().bool,enableAccessibleFieldDOMStructure:s().any,fixedWeekNumber:s().number,format:s().string,formatDensity:s().oneOf(["dense","spacious"]),inputRef:c.A,label:s().node,loading:s().bool,localeText:s().object,maxDate:s().object,maxDateTime:s().object,maxTime:s().object,minDate:s().object,minDateTime:s().object,minTime:s().object,minutesStep:s().number,monthsPerRow:s().oneOf([3,4]),name:s().string,onAccept:s().func,onChange:s().func,onClose:s().func,onError:s().func,onMonthChange:s().func,onOpen:s().func,onSelectedSectionsChange:s().func,onViewChange:s().func,onYearChange:s().func,open:s().bool,openTo:s().oneOf(["day","hours","meridiem","minutes","month","seconds","year"]),orientation:s().oneOf(["landscape","portrait"]),readOnly:s().bool,reduceAnimations:s().bool,referenceDate:s().object,renderLoading:s().func,selectedSections:s().oneOfType([s().oneOf(["all","day","empty","hours","meridiem","minutes","month","seconds","weekDay","year"]),s().number]),shouldDisableDate:s().func,shouldDisableMonth:s().func,shouldDisableTime:s().func,shouldDisableYear:s().func,showDaysOutsideCurrentMonth:s().bool,skipDisabled:s().bool,slotProps:s().object,slots:s().object,sx:s().oneOfType([s().arrayOf(s().oneOfType([s().func,s().object,s().bool])),s().func,s().object]),thresholdToRenderTimeInASingleColumn:s().number,timeSteps:s().shape({hours:s().number,minutes:s().number,seconds:s().number}),timezone:s().string,value:s().object,view:s().oneOf(["day","hours","meridiem","minutes","month","seconds","year"]),viewRenderers:s().shape({day:s().func,hours:s().func,meridiem:s().func,minutes:s().func,month:s().func,seconds:s().func,year:s().func}),views:s().arrayOf(s().oneOf(["day","hours","minutes","month","seconds","year"]).isRequired),yearsPerRow:s().oneOf([3,4])}},67893:function(e,t,n){"use strict";n.d(t,{U:function(){return d}});var r=n(58168),o=(n(96540),n(34164)),i=n(73788),a=n(71543),s=n(73721),l=n(631),c=n(89827),u=n(74848);function d(e){const t=(0,i.I)(),{toolbar:n,tabs:d,content:p,actionBar:f,shortcuts:h}=(0,s.A)(e),{sx:m,className:g,isLandscape:v,ref:y,classes:b}=e,x=f&&(f.props.actions?.length??0)>0,w=(0,r.A)({},e,{isRtl:t});return(0,u.jsxs)(l.Kr,{ref:y,className:(0,o.A)(g,c.k.root,b?.root),sx:[{[`& .${c.k.tabs}`]:{gridRow:4,gridColumn:"1 / 4"},[`& .${c.k.actionBar}`]:{gridRow:5}},...Array.isArray(m)?m:[m]],ownerState:w,children:[v?h:n,v?n:h,(0,u.jsxs)(l.IU,{className:(0,o.A)(c.k.contentWrapper,b?.contentWrapper),sx:{display:"grid"},children:[p,d,x&&(0,u.jsx)(a.A,{sx:{gridRow:3,gridColumn:"1 / 4"}})]}),f]})}},31131:function(e,t,n){"use strict";n.d(t,{U:function(){return w}});var r=n(58168),o=n(96540),i=n(5556),a=n.n(i),s=n(45489),l=n(37021),c=n(16566),u=n(88731),d=n(23297),p=n(29881),f=n(69490),h=n(71724),m=n(40293),g=n(86224),v=n(62067),y=n(50771),b=n(95878),x=n(81589);const w=o.forwardRef((function(e,t){const n=(0,p.b)(),o=(0,f.hc)(),i=(0,d.k)(e,"MuiDesktopTimePicker"),{shouldRenderTimeInASingleColumn:a,views:l,timeSteps:w}=(0,x.H)(i),A=a?y.$W:y.$8,_=(0,r.A)({hours:A,minutes:A,seconds:A,meridiem:A},i.viewRenderers),S=i.ampmInClock??!0,k=a?[]:["accept"],C=_.hours?.name===y.$8.name?l:l.filter((e=>"meridiem"!==e)),T=(0,r.A)({},i,{ampmInClock:S,timeSteps:w,viewRenderers:_,format:(0,b.b$)(o,i),views:a?["hours"]:C,slots:(0,r.A)({field:u.Q,openPickerIcon:m.O4},i.slots),slotProps:(0,r.A)({},i.slotProps,{field:e=>(0,r.A)({},(0,s.Y)(i.slotProps?.field,e),(0,v.zd)(i),{ref:t}),toolbar:(0,r.A)({hidden:!0,ampmInClock:S},i.slotProps?.toolbar),actionBar:(0,r.A)({actions:k},i.slotProps?.actionBar)})}),{renderPicker:M}=(0,g.U)({props:T,valueManager:c.W,valueType:"time",getOpenDialogAriaText:T.localeText?.openTimePickerDialogue??n.openTimePickerDialogue,validator:h.i});return M()}));w.propTypes={ampm:a().bool,ampmInClock:a().bool,autoFocus:a().bool,className:a().string,closeOnSelect:a().bool,defaultValue:a().object,disabled:a().bool,disableFuture:a().bool,disableIgnoringDatePartForTimeValidation:a().bool,disableOpenPicker:a().bool,disablePast:a().bool,enableAccessibleFieldDOMStructure:a().any,format:a().string,formatDensity:a().oneOf(["dense","spacious"]),inputRef:l.A,label:a().node,localeText:a().object,maxTime:a().object,minTime:a().object,minutesStep:a().number,name:a().string,onAccept:a().func,onChange:a().func,onClose:a().func,onError:a().func,onOpen:a().func,onSelectedSectionsChange:a().func,onViewChange:a().func,open:a().bool,openTo:a().oneOf(["hours","meridiem","minutes","seconds"]),orientation:a().oneOf(["landscape","portrait"]),readOnly:a().bool,reduceAnimations:a().bool,referenceDate:a().object,selectedSections:a().oneOfType([a().oneOf(["all","day","empty","hours","meridiem","minutes","month","seconds","weekDay","year"]),a().number]),shouldDisableTime:a().func,skipDisabled:a().bool,slotProps:a().object,slots:a().object,sx:a().oneOfType([a().arrayOf(a().oneOfType([a().func,a().object,a().bool])),a().func,a().object]),thresholdToRenderTimeInASingleColumn:a().number,timeSteps:a().shape({hours:a().number,minutes:a().number,seconds:a().number}),timezone:a().string,value:a().object,view:a().oneOf(["hours","meridiem","minutes","seconds"]),viewRenderers:a().shape({hours:a().func,meridiem:a().func,minutes:a().func,seconds:a().func}),views:a().arrayOf(a().oneOf(["hours","minutes","seconds"]).isRequired)}},44149:function(e,t,n){"use strict";n.d(t,{N:function(){return E}});var r=n(58168),o=n(98587),i=n(96540),a=n(34164),s=n(17315),l=n(11848),c=n(24279),u=n(3541),d=n(93928),p=n(75659),f=n(17681),h=n(88116),m=n(31523),g=n(29881),v=n(69490),y=n(95878),b=n(81593),x=n(91181),w=n(93703),A=n(31886),_=n(33059),S=n(16566),k=n(65654),C=n(74848);const T=["ampm","timeStep","autoFocus","slots","slotProps","value","defaultValue","referenceDate","disableIgnoringDatePartForTimeValidation","maxTime","minTime","disableFuture","disablePast","minutesStep","shouldDisableTime","onChange","view","openTo","onViewChange","focusedView","onFocusedViewChange","className","disabled","readOnly","views","skipDisabled","timezone"],M=(0,l.Ay)(b.I,{name:"MuiDigitalClock",slot:"Root",overridesResolver:(e,t)=>t.root})({overflowY:"auto",width:"100%","@media (prefers-reduced-motion: no-preference)":{scrollBehavior:"auto"},maxHeight:A.kP,variants:[{props:{alreadyRendered:!0},style:{"@media (prefers-reduced-motion: no-preference)":{scrollBehavior:"smooth"}}}]}),P=(0,l.Ay)(h.A,{name:"MuiDigitalClock",slot:"List",overridesResolver:(e,t)=>t.list})({padding:0}),O=(0,l.Ay)(f.A,{name:"MuiDigitalClock",slot:"Item",overridesResolver:(e,t)=>t.item})((({theme:e})=>({padding:"8px 16px",margin:"2px 4px","&:first-of-type":{marginTop:4},"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,c.X4)(e.palette.primary.main,e.palette.action.hoverOpacity)},"&.Mui-selected":{backgroundColor:(e.vars||e).palette.primary.main,color:(e.vars||e).palette.primary.contrastText,"&:focus-visible, &:hover":{backgroundColor:(e.vars||e).palette.primary.dark}},"&.Mui-focusVisible":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.focusOpacity})`:(0,c.X4)(e.palette.primary.main,e.palette.action.focusOpacity)}}))),E=i.forwardRef((function(e,t){const n=(0,v.hc)(),l=i.useRef(null),c=(0,m.A)(t,l),f=(0,u.A)({props:e,name:"MuiDigitalClock"}),{ampm:h=n.is12HourCycleInCurrentLocale(),timeStep:b=30,autoFocus:A,slots:E,slotProps:D,value:R,defaultValue:I,referenceDate:N,disableIgnoringDatePartForTimeValidation:L=!1,maxTime:j,minTime:$,disableFuture:z,disablePast:F,minutesStep:B=1,shouldDisableTime:H,onChange:V,view:W,openTo:U,onViewChange:q,focusedView:G,onFocusedViewChange:Y,className:X,disabled:K,readOnly:Z,views:J=["hours"],skipDisabled:Q=!1,timezone:ee}=f,te=(0,o.A)(f,T),{value:ne,handleValueChange:re,timezone:oe}=(0,_.Y)({name:"DigitalClock",timezone:ee,value:R,defaultValue:I,onChange:V,valueManager:S.W}),ie=(0,g.b)(),ae=(0,v.cB)(oe),se=i.useMemo((()=>(0,r.A)({},f,{alreadyRendered:!!l.current})),[f]),le=(e=>{const{classes:t}=e;return(0,p.A)({root:["root"],list:["list"],item:["item"]},x.L,t)})(se),ce=E?.digitalClockItem??O,ue=(0,s.Q)({elementType:ce,externalSlotProps:D?.digitalClockItem,ownerState:{},className:le.item}),de=(0,k.T)({value:ne,referenceDate:N,utils:n,props:f,timezone:oe}),pe=(0,d.A)((e=>re(e,"finish","hours"))),{setValueAndGoToNextView:fe}=(0,w.o)({view:W,views:J,openTo:U,onViewChange:q,onChange:pe,focusedView:G,onFocusedViewChange:Y}),he=(0,d.A)((e=>{fe(e,"finish")}));i.useEffect((()=>{if(null===l.current)return;const e=l.current.querySelector('[role="listbox"] [role="option"][tabindex="0"], [role="listbox"] [role="option"][aria-selected="true"]');if(!e)return;const t=e.offsetTop;(A||G)&&e.focus(),l.current.scrollTop=t-4}));const me=i.useCallback((e=>{const t=(0,y.iF)(L,n);return!!($&&t($,e)||j&&t(e,j)||z&&t(e,ae)||F&&t(ae,e))||!!(n.getMinutes(e)%B!=0||H&&H(e,"hours"))}),[L,n,$,j,z,ae,F,B,H]),ge=i.useMemo((()=>{const e=n.startOfDay(de);return[e,...Array.from({length:Math.ceil(1440/b)-1},((t,r)=>n.addMinutes(e,b*(r+1))))]}),[de,b,n]),ve=ge.findIndex((e=>n.isEqual(e,de)));return(0,C.jsx)(M,(0,r.A)({ref:c,className:(0,a.A)(le.root,X),ownerState:se},te,{children:(0,C.jsx)(P,{role:"listbox","aria-label":ie.timePickerToolbarTitle,className:le.list,children:ge.map(((e,t)=>{if(Q&&me(e))return null;const o=n.isEqual(e,ne),i=n.format(e,h?"fullTime12h":"fullTime24h"),a=ve===t||-1===ve&&0===t?0:-1;return(0,C.jsx)(ce,(0,r.A)({onClick:()=>!Z&&he(e),selected:o,disabled:K||me(e),disableRipple:Z,role:"option","aria-disabled":Z,"aria-selected":o,tabIndex:a},ue,{children:i}),i)}))})}))}))},91181:function(e,t,n){"use strict";n.d(t,{L:function(){return o},X:function(){return i}});var r=n(31609);function o(e){return(0,r.Ay)("MuiDigitalClock",e)}const i=(0,n(38413).A)("MuiDigitalClock",["root","list","item"])},75737:function(e,t,n){"use strict";n.d(t,{$:function(){return u},F:function(){return c}});var r=n(58168),o=n(98587),i=n(96540),a=n(3541),s=n(74848);const l=["localeText"],c=i.createContext(null);const u=function(e){const{localeText:t}=e,n=(0,o.A)(e,l),{utils:u,localeText:d}=i.useContext(c)??{utils:void 0,localeText:void 0},p=(0,a.A)({props:n,name:"MuiLocalizationProvider"}),{children:f,dateAdapter:h,dateFormats:m,dateLibInstance:g,adapterLocale:v,localeText:y}=p,b=i.useMemo((()=>(0,r.A)({},y,d,t)),[y,d,t]),x=i.useMemo((()=>{if(!h)return u||null;const e=new h({locale:v,formats:m,instance:g});if(!e.isMUIAdapter)throw new Error(["MUI X: The date adapter should be imported from `@mui/x-date-pickers` or `@mui/x-date-pickers-pro`, not from `@date-io`","For example, `import { AdapterDayjs } from '@mui/x-date-pickers/AdapterDayjs'` instead of `import AdapterDayjs from '@date-io/dayjs'`","More information on the installation documentation: https://mui.com/x/react-date-pickers/getting-started/#installation"].join("\n"));return e}),[h,v,m,g,u]),w=i.useMemo((()=>x?{minDate:x.date("1900-01-01T00:00:00.000"),maxDate:x.date("2099-12-31T00:00:00.000")}:null),[x]),A=i.useMemo((()=>({utils:x,defaultDates:w,localeText:b})),[w,x,b]);return(0,s.jsx)(c.Provider,{value:A,children:f})}},50081:function(e,t,n){"use strict";n.d(t,{$:function(){return b}});var r=n(58168),o=n(96540),i=n(5556),a=n.n(i),s=n(45489),l=n(37021),c=n(63119),u=n(20742),d=n(29881),p=n(69490),f=n(64741),h=n(52199),m=n(62067),g=n(16566),v=n(37755),y=n(23887);const b=o.forwardRef((function(e,t){const n=(0,d.b)(),o=(0,p.hc)(),i=(0,u.D)(e,"MuiMobileDatePicker"),a=(0,r.A)({day:v.W,month:v.W,year:v.W},i.viewRenderers),l=(0,r.A)({},i,{viewRenderers:a,format:(0,y.Wq)(o,i,!1),slots:(0,r.A)({field:h.v},i.slots),slotProps:(0,r.A)({},i.slotProps,{field:e=>(0,r.A)({},(0,s.Y)(i.slotProps?.field,e),(0,m.zd)(i),{ref:t}),toolbar:(0,r.A)({hidden:!1},i.slotProps?.toolbar)})}),{renderPicker:b}=(0,c.C)({props:l,valueManager:g.W,valueType:"date",getOpenDialogAriaText:l.localeText?.openDatePickerDialogue??n.openDatePickerDialogue,validator:f.Z});return b()}));b.propTypes={autoFocus:a().bool,className:a().string,closeOnSelect:a().bool,dayOfWeekFormatter:a().func,defaultValue:a().object,disabled:a().bool,disableFuture:a().bool,disableHighlightToday:a().bool,disableOpenPicker:a().bool,disablePast:a().bool,displayWeekNumber:a().bool,enableAccessibleFieldDOMStructure:a().any,fixedWeekNumber:a().number,format:a().string,formatDensity:a().oneOf(["dense","spacious"]),inputRef:l.A,label:a().node,loading:a().bool,localeText:a().object,maxDate:a().object,minDate:a().object,monthsPerRow:a().oneOf([3,4]),name:a().string,onAccept:a().func,onChange:a().func,onClose:a().func,onError:a().func,onMonthChange:a().func,onOpen:a().func,onSelectedSectionsChange:a().func,onViewChange:a().func,onYearChange:a().func,open:a().bool,openTo:a().oneOf(["day","month","year"]),orientation:a().oneOf(["landscape","portrait"]),readOnly:a().bool,reduceAnimations:a().bool,referenceDate:a().object,renderLoading:a().func,selectedSections:a().oneOfType([a().oneOf(["all","day","empty","hours","meridiem","minutes","month","seconds","weekDay","year"]),a().number]),shouldDisableDate:a().func,shouldDisableMonth:a().func,shouldDisableYear:a().func,showDaysOutsideCurrentMonth:a().bool,slotProps:a().object,slots:a().object,sx:a().oneOfType([a().arrayOf(a().oneOfType([a().func,a().object,a().bool])),a().func,a().object]),timezone:a().string,value:a().object,view:a().oneOf(["day","month","year"]),viewRenderers:a().shape({day:a().func,month:a().func,year:a().func}),views:a().arrayOf(a().oneOf(["day","month","year"]).isRequired),yearsPerRow:a().oneOf([3,4])}},47963:function(e,t,n){"use strict";n.d(t,{E:function(){return x}});var r=n(58168),o=n(96540),i=n(5556),a=n.n(i),s=n(45489),l=n(37021),c=n(16566),u=n(62251),d=n(70333),p=n(29881),f=n(69490),h=n(79696),m=n(63119),g=n(62067),v=n(37755),y=n(50771),b=n(81589);const x=o.forwardRef((function(e,t){const n=(0,p.b)(),o=(0,f.hc)(),i=(0,d.u)(e,"MuiMobileDateTimePicker"),a=(0,r.A)({day:v.W,month:v.W,year:v.W,hours:y.Zo,minutes:y.Zo,seconds:y.Zo},i.viewRenderers),l=i.ampmInClock??!1,x=(0,r.A)({},i,{viewRenderers:a,format:(0,b.J)(o,i),ampmInClock:l,slots:(0,r.A)({field:u.I},i.slots),slotProps:(0,r.A)({},i.slotProps,{field:e=>(0,r.A)({},(0,s.Y)(i.slotProps?.field,e),(0,g.zd)(i),{ref:t}),toolbar:(0,r.A)({hidden:!1,ampmInClock:l},i.slotProps?.toolbar),tabs:(0,r.A)({hidden:!1},i.slotProps?.tabs)})}),{renderPicker:w}=(0,m.C)({props:x,valueManager:c.W,valueType:"date-time",getOpenDialogAriaText:x.localeText?.openDatePickerDialogue??n.openDatePickerDialogue,validator:h.q});return w()}));x.propTypes={ampm:a().bool,ampmInClock:a().bool,autoFocus:a().bool,className:a().string,closeOnSelect:a().bool,dayOfWeekFormatter:a().func,defaultValue:a().object,disabled:a().bool,disableFuture:a().bool,disableHighlightToday:a().bool,disableIgnoringDatePartForTimeValidation:a().bool,disableOpenPicker:a().bool,disablePast:a().bool,displayWeekNumber:a().bool,enableAccessibleFieldDOMStructure:a().any,fixedWeekNumber:a().number,format:a().string,formatDensity:a().oneOf(["dense","spacious"]),inputRef:l.A,label:a().node,loading:a().bool,localeText:a().object,maxDate:a().object,maxDateTime:a().object,maxTime:a().object,minDate:a().object,minDateTime:a().object,minTime:a().object,minutesStep:a().number,monthsPerRow:a().oneOf([3,4]),name:a().string,onAccept:a().func,onChange:a().func,onClose:a().func,onError:a().func,onMonthChange:a().func,onOpen:a().func,onSelectedSectionsChange:a().func,onViewChange:a().func,onYearChange:a().func,open:a().bool,openTo:a().oneOf(["day","hours","minutes","month","seconds","year"]),orientation:a().oneOf(["landscape","portrait"]),readOnly:a().bool,reduceAnimations:a().bool,referenceDate:a().object,renderLoading:a().func,selectedSections:a().oneOfType([a().oneOf(["all","day","empty","hours","meridiem","minutes","month","seconds","weekDay","year"]),a().number]),shouldDisableDate:a().func,shouldDisableMonth:a().func,shouldDisableTime:a().func,shouldDisableYear:a().func,showDaysOutsideCurrentMonth:a().bool,slotProps:a().object,slots:a().object,sx:a().oneOfType([a().arrayOf(a().oneOfType([a().func,a().object,a().bool])),a().func,a().object]),timezone:a().string,value:a().object,view:a().oneOf(["day","hours","minutes","month","seconds","year"]),viewRenderers:a().shape({day:a().func,hours:a().func,minutes:a().func,month:a().func,seconds:a().func,year:a().func}),views:a().arrayOf(a().oneOf(["day","hours","minutes","month","seconds","year"]).isRequired),yearsPerRow:a().oneOf([3,4])}},81491:function(e,t,n){"use strict";n.d(t,{o:function(){return b}});var r=n(58168),o=n(96540),i=n(5556),a=n.n(i),s=n(45489),l=n(37021),c=n(16566),u=n(88731),d=n(23297),p=n(29881),f=n(69490),h=n(71724),m=n(63119),g=n(62067),v=n(50771),y=n(95878);const b=o.forwardRef((function(e,t){const n=(0,p.b)(),o=(0,f.hc)(),i=(0,d.k)(e,"MuiMobileTimePicker"),a=(0,r.A)({hours:v.Zo,minutes:v.Zo,seconds:v.Zo},i.viewRenderers),l=i.ampmInClock??!1,b=(0,r.A)({},i,{ampmInClock:l,viewRenderers:a,format:(0,y.b$)(o,i),slots:(0,r.A)({field:u.Q},i.slots),slotProps:(0,r.A)({},i.slotProps,{field:e=>(0,r.A)({},(0,s.Y)(i.slotProps?.field,e),(0,g.zd)(i),{ref:t}),toolbar:(0,r.A)({hidden:!1,ampmInClock:l},i.slotProps?.toolbar)})}),{renderPicker:x}=(0,m.C)({props:b,valueManager:c.W,valueType:"time",getOpenDialogAriaText:b.localeText?.openTimePickerDialogue??n.openTimePickerDialogue,validator:h.i});return x()}));b.propTypes={ampm:a().bool,ampmInClock:a().bool,autoFocus:a().bool,className:a().string,closeOnSelect:a().bool,defaultValue:a().object,disabled:a().bool,disableFuture:a().bool,disableIgnoringDatePartForTimeValidation:a().bool,disableOpenPicker:a().bool,disablePast:a().bool,enableAccessibleFieldDOMStructure:a().any,format:a().string,formatDensity:a().oneOf(["dense","spacious"]),inputRef:l.A,label:a().node,localeText:a().object,maxTime:a().object,minTime:a().object,minutesStep:a().number,name:a().string,onAccept:a().func,onChange:a().func,onClose:a().func,onError:a().func,onOpen:a().func,onSelectedSectionsChange:a().func,onViewChange:a().func,open:a().bool,openTo:a().oneOf(["hours","minutes","seconds"]),orientation:a().oneOf(["landscape","portrait"]),readOnly:a().bool,reduceAnimations:a().bool,referenceDate:a().object,selectedSections:a().oneOfType([a().oneOf(["all","day","empty","hours","meridiem","minutes","month","seconds","weekDay","year"]),a().number]),shouldDisableTime:a().func,slotProps:a().object,slots:a().object,sx:a().oneOfType([a().arrayOf(a().oneOfType([a().func,a().object,a().bool])),a().func,a().object]),timezone:a().string,value:a().object,view:a().oneOf(["hours","minutes","seconds"]),viewRenderers:a().shape({hours:a().func,minutes:a().func,seconds:a().func}),views:a().arrayOf(a().oneOf(["hours","minutes","seconds"]).isRequired)}},40648:function(e,t,n){"use strict";n.d(t,{T:function(){return E}});var r=n(98587),o=n(58168),i=n(96540),a=n(34164),s=n(73788),l=n(3541),c=n(11848),u=n(75659),d=n(2501),p=n(93928),f=n(24279),h=n(17315),m=n(21529),g=n(51914),v=n(74848);const y=["autoFocus","className","children","disabled","selected","value","tabIndex","onClick","onKeyDown","onFocus","onBlur","aria-current","aria-label","monthsPerRow","slots","slotProps"],b=(0,c.Ay)("div",{name:"MuiPickersMonth",slot:"Root",overridesResolver:(e,t)=>[t.root]})({display:"flex",alignItems:"center",justifyContent:"center",flexBasis:"33.3%",variants:[{props:{monthsPerRow:4},style:{flexBasis:"25%"}}]}),x=(0,c.Ay)("button",{name:"MuiPickersMonth",slot:"MonthButton",overridesResolver:(e,t)=>[t.monthButton,{[`&.${g.m.disabled}`]:t.disabled},{[`&.${g.m.selected}`]:t.selected}]})((({theme:e})=>(0,o.A)({color:"unset",backgroundColor:"transparent",border:0,outline:0},e.typography.subtitle1,{margin:"8px 0",height:36,width:72,borderRadius:18,cursor:"pointer","&:focus":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,f.X4)(e.palette.action.active,e.palette.action.hoverOpacity)},"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,f.X4)(e.palette.action.active,e.palette.action.hoverOpacity)},"&:disabled":{cursor:"auto",pointerEvents:"none"},[`&.${g.m.disabled}`]:{color:(e.vars||e).palette.text.secondary},[`&.${g.m.selected}`]:{color:(e.vars||e).palette.primary.contrastText,backgroundColor:(e.vars||e).palette.primary.main,"&:focus, &:hover":{backgroundColor:(e.vars||e).palette.primary.dark}}}))),w=i.memo((function(e){const t=(0,l.A)({props:e,name:"MuiPickersMonth"}),{autoFocus:n,className:s,children:c,disabled:d,selected:p,value:f,tabIndex:w,onClick:A,onKeyDown:_,onFocus:S,onBlur:k,"aria-current":C,"aria-label":T,slots:M,slotProps:P}=t,O=(0,r.A)(t,y),E=i.useRef(null),D=(e=>{const{disabled:t,selected:n,classes:r}=e,o={root:["root"],monthButton:["monthButton",t&&"disabled",n&&"selected"]};return(0,u.A)(o,g.k,r)})(t);(0,m.A)((()=>{n&&E.current?.focus()}),[n]);const R=M?.monthButton??x,I=(0,h.Q)({elementType:R,externalSlotProps:P?.monthButton,additionalProps:{children:c,disabled:d,tabIndex:w,ref:E,type:"button",role:"radio","aria-current":C,"aria-checked":p,"aria-label":T,onClick:e=>A(e,f),onKeyDown:e=>_(e,f),onFocus:e=>S(e,f),onBlur:e=>k(e,f)},ownerState:t,className:D.monthButton});return(0,v.jsx)(b,(0,o.A)({className:(0,a.A)(D.root,s),ownerState:t},O,{children:(0,v.jsx)(R,(0,o.A)({},I))}))}));var A=n(69490),_=n(60839),S=n(23887),k=n(16566),C=n(78401),T=n(33059),M=n(31886);const P=["className","value","defaultValue","referenceDate","disabled","disableFuture","disablePast","maxDate","minDate","onChange","shouldDisableMonth","readOnly","disableHighlightToday","autoFocus","onMonthFocus","hasFocus","onFocusedViewChange","monthsPerRow","timezone","gridLabelId","slots","slotProps"];const O=(0,c.Ay)("div",{name:"MuiMonthCalendar",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"flex",flexWrap:"wrap",alignContent:"stretch",padding:"0 4px",width:M.eX,boxSizing:"border-box"}),E=i.forwardRef((function(e,t){const n=function(e,t){const n=(0,A.hc)(),r=(0,A.Yg)(),i=(0,l.A)({props:e,name:t});return(0,o.A)({disableFuture:!1,disablePast:!1},i,{minDate:(0,S.IP)(n,i.minDate,r.minDate),maxDate:(0,S.IP)(n,i.maxDate,r.maxDate)})}(e,"MuiMonthCalendar"),{className:c,value:f,defaultValue:h,referenceDate:m,disabled:g,disableFuture:y,disablePast:b,maxDate:x,minDate:M,onChange:E,shouldDisableMonth:D,readOnly:R,autoFocus:I=!1,onMonthFocus:N,hasFocus:L,onFocusedViewChange:j,monthsPerRow:$=3,timezone:z,gridLabelId:F,slots:B,slotProps:H}=n,V=(0,r.A)(n,P),{value:W,handleValueChange:U,timezone:q}=(0,T.Y)({name:"MonthCalendar",timezone:z,value:f,defaultValue:h,onChange:E,valueManager:k.W}),G=(0,A.cB)(q),Y=(0,s.I)(),X=(0,A.hc)(),K=i.useMemo((()=>k.W.getInitialReferenceValue({value:W,utils:X,props:n,timezone:q,referenceDate:m,granularity:C.yX.month})),[]),Z=n,J=(e=>{const{classes:t}=e;return(0,u.A)({root:["root"]},_.x,t)})(Z),Q=i.useMemo((()=>X.getMonth(G)),[X,G]),ee=i.useMemo((()=>null!=W?X.getMonth(W):null),[W,X]),[te,ne]=i.useState((()=>ee||X.getMonth(K))),[re,oe]=(0,d.A)({name:"MonthCalendar",state:"hasFocus",controlled:L,default:I??!1}),ie=(0,p.A)((e=>{oe(e),j&&j(e)})),ae=i.useCallback((e=>{const t=X.startOfMonth(b&&X.isAfter(G,M)?G:M),n=X.startOfMonth(y&&X.isBefore(G,x)?G:x),r=X.startOfMonth(e);return!!X.isBefore(r,t)||(!!X.isAfter(r,n)||!!D&&D(r))}),[y,b,x,M,G,D,X]),se=(0,p.A)(((e,t)=>{if(R)return;const n=X.setMonth(W??K,t);U(n)})),le=(0,p.A)((e=>{ae(X.setMonth(W??K,e))||(ne(e),ie(!0),N&&N(e))}));i.useEffect((()=>{ne((e=>null!==ee&&e!==ee?ee:e))}),[ee]);const ce=(0,p.A)(((e,t)=>{const n=12;switch(e.key){case"ArrowUp":le((n+t-3)%n),e.preventDefault();break;case"ArrowDown":le((n+t+3)%n),e.preventDefault();break;case"ArrowLeft":le((n+t+(Y?1:-1))%n),e.preventDefault();break;case"ArrowRight":le((n+t+(Y?-1:1))%n),e.preventDefault()}})),ue=(0,p.A)(((e,t)=>{le(t)})),de=(0,p.A)(((e,t)=>{te===t&&ie(!1)}));return(0,v.jsx)(O,(0,o.A)({ref:t,className:(0,a.A)(J.root,c),ownerState:Z,role:"radiogroup","aria-labelledby":F},V,{children:(0,S.YQ)(X,W??K).map((e=>{const t=X.getMonth(e),n=X.format(e,"monthShort"),r=X.format(e,"month"),o=t===ee,i=g||ae(e);return(0,v.jsx)(w,{selected:o,value:t,onClick:se,onKeyDown:ce,autoFocus:re&&t===te,disabled:i,tabIndex:t!==te||i?-1:0,onFocus:ue,onBlur:de,"aria-current":Q===t?"date":void 0,"aria-label":r,monthsPerRow:$,slots:B,slotProps:H,children:n},n)}))}))}))},60839:function(e,t,n){"use strict";n.d(t,{b:function(){return i},x:function(){return o}});var r=n(31609);function o(e){return(0,r.Ay)("MuiMonthCalendar",e)}const i=(0,n(38413).A)("MuiMonthCalendar",["root"])},51914:function(e,t,n){"use strict";n.d(t,{k:function(){return o},m:function(){return i}});var r=n(31609);function o(e){return(0,r.Ay)("MuiPickersMonth",e)}const i=(0,n(38413).A)("MuiPickersMonth",["root","monthButton","disabled","selected"])},37807:function(e,t,n){"use strict";n.d(t,{z:function(){return $}});var r=n(58168),o=n(98587),i=n(96540),a=n(34164),s=n(73788),l=n(11848),c=n(3541),u=n(93928),d=n(75659),p=n(29881),f=n(69490),h=n(95878),m=n(93703),g=n(50117),v=n(81593),y=n(81937),b=n(24279),x=n(88116),w=n(17681),A=n(31523),_=n(15160),S=n(31886),k=n(74848);const C=["autoFocus","onChange","className","disabled","readOnly","items","active","slots","slotProps","skipDisabled"],T=(0,l.Ay)(x.A,{name:"MuiMultiSectionDigitalClockSection",slot:"Root",overridesResolver:(e,t)=>t.root})((({theme:e})=>({maxHeight:S.kP,width:56,padding:0,overflow:"hidden","@media (prefers-reduced-motion: no-preference)":{scrollBehavior:"auto"},"@media (pointer: fine)":{"&:hover":{overflowY:"auto"}},"@media (pointer: none), (pointer: coarse)":{overflowY:"auto"},"&:not(:first-of-type)":{borderLeft:`1px solid ${(e.vars||e).palette.divider}`},"&::after":{display:"block",content:'""',height:"calc(100% - 40px - 6px)"},variants:[{props:{alreadyRendered:!0},style:{"@media (prefers-reduced-motion: no-preference)":{scrollBehavior:"smooth"}}}]}))),M=(0,l.Ay)(w.A,{name:"MuiMultiSectionDigitalClockSection",slot:"Item",overridesResolver:(e,t)=>t.item})((({theme:e})=>({padding:8,margin:"2px 4px",width:S.aG,justifyContent:"center","&:first-of-type":{marginTop:4},"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,b.X4)(e.palette.primary.main,e.palette.action.hoverOpacity)},"&.Mui-selected":{backgroundColor:(e.vars||e).palette.primary.main,color:(e.vars||e).palette.primary.contrastText,"&:focus-visible, &:hover":{backgroundColor:(e.vars||e).palette.primary.dark}},"&.Mui-focusVisible":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.focusOpacity})`:(0,b.X4)(e.palette.primary.main,e.palette.action.focusOpacity)}}))),P=i.forwardRef((function(e,t){const n=i.useRef(null),s=(0,A.A)(t,n),l=i.useRef(null),u=(0,c.A)({props:e,name:"MuiMultiSectionDigitalClockSection"}),{autoFocus:p,onChange:f,className:h,disabled:m,readOnly:g,items:v,active:y,slots:b,slotProps:x,skipDisabled:w}=u,S=(0,o.A)(u,C),P=i.useMemo((()=>(0,r.A)({},u,{alreadyRendered:!!n.current})),[u]),O=(e=>{const{classes:t}=e;return(0,d.A)({root:["root"],item:["item"]},_.K,t)})(P),E=b?.digitalClockSectionItem??M;i.useEffect((()=>{if(null===n.current)return;const e=n.current.querySelector('[role="option"][tabindex="0"], [role="option"][aria-selected="true"]');if(y&&p&&e&&e.focus(),!e||l.current===e)return;l.current=e;const t=e.offsetTop;n.current.scrollTop=t-4}));const D=v.findIndex((e=>e.isFocused(e.value)));return(0,k.jsx)(T,(0,r.A)({ref:s,className:(0,a.A)(O.root,h),ownerState:P,autoFocusItem:p&&y,role:"listbox"},S,{children:v.map(((e,t)=>{const n=e.isDisabled?.(e.value),o=m||n;if(w&&o)return null;const i=e.isSelected(e.value),a=D===t||-1===D&&0===t?0:-1;return(0,k.jsx)(E,(0,r.A)({onClick:()=>!g&&f(e.value),selected:i,disabled:o,disableRipple:g,role:"option","aria-disabled":g||o||void 0,"aria-label":e.ariaLabel,"aria-selected":i,tabIndex:a,className:O.item},x?.digitalClockSectionItem,{children:e.label}),e.label)}))}))})),O=({now:e,value:t,utils:n,ampm:r,isDisabled:o,resolveAriaLabel:i,timeStep:a,valueOrReferenceDate:s})=>{const l=t?n.getHours(t):null,c=[],u=(e,t)=>{const n=t??l;return null!==n&&(r?12===e?12===n||0===n:n===e||n-12===e:n===e)},d=e=>u(e,n.getHours(s)),p=r?11:23;for(let t=0;t<=p;t+=a){let a=n.format(n.setHours(e,t),r?"hours12h":"hours24h");const s=i(parseInt(a,10).toString());a=n.formatNumber(a),c.push({value:t,label:a,isSelected:u,isDisabled:o,isFocused:d,ariaLabel:s})}return c},E=({value:e,utils:t,isDisabled:n,timeStep:r,resolveLabel:o,resolveAriaLabel:i,hasValue:a=!0})=>{const s=t=>null!==e&&(a&&e===t),l=t=>e===t;return[...Array.from({length:Math.ceil(60/r)},((e,a)=>{const c=r*a;return{value:c,label:t.formatNumber(o(c)),isDisabled:n,isSelected:s,isFocused:l,ariaLabel:i(c.toString())}}))]};var D=n(33059),R=n(16566),I=n(65654),N=n(23887);const L=["ampm","timeSteps","autoFocus","slots","slotProps","value","defaultValue","referenceDate","disableIgnoringDatePartForTimeValidation","maxTime","minTime","disableFuture","disablePast","minutesStep","shouldDisableTime","onChange","view","views","openTo","onViewChange","focusedView","onFocusedViewChange","className","disabled","readOnly","skipDisabled","timezone"],j=(0,l.Ay)(v.I,{name:"MuiMultiSectionDigitalClock",slot:"Root",overridesResolver:(e,t)=>t.root})((({theme:e})=>({display:"flex",flexDirection:"row",width:"100%",borderBottom:`1px solid ${(e.vars||e).palette.divider}`}))),$=i.forwardRef((function(e,t){const n=(0,f.hc)(),l=(0,s.I)(),v=(0,c.A)({props:e,name:"MuiMultiSectionDigitalClock"}),{ampm:b=n.is12HourCycleInCurrentLocale(),timeSteps:x,autoFocus:w,slots:A,slotProps:_,value:S,defaultValue:C,referenceDate:T,disableIgnoringDatePartForTimeValidation:M=!1,maxTime:$,minTime:z,disableFuture:F,disablePast:B,minutesStep:H=1,shouldDisableTime:V,onChange:W,view:U,views:q=["hours","minutes"],openTo:G,onViewChange:Y,focusedView:X,onFocusedViewChange:K,className:Z,disabled:J,readOnly:Q,skipDisabled:ee=!1,timezone:te}=v,ne=(0,o.A)(v,L),{value:re,handleValueChange:oe,timezone:ie}=(0,D.Y)({name:"MultiSectionDigitalClock",timezone:te,value:S,defaultValue:C,onChange:W,valueManager:R.W}),ae=(0,p.b)(),se=(0,f.cB)(ie),le=i.useMemo((()=>(0,r.A)({hours:1,minutes:5,seconds:5},x)),[x]),ce=(0,I.T)({value:re,referenceDate:T,utils:n,props:v,timezone:ie}),ue=(0,u.A)(((e,t,n)=>oe(e,t,n))),de=i.useMemo((()=>b&&q.includes("hours")?q.includes("meridiem")?q:[...q,"meridiem"]:q),[b,q]),{view:pe,setValueAndGoToNextView:fe,focusedView:he}=(0,m.o)({view:U,views:de,openTo:G,onViewChange:Y,onChange:ue,focusedView:X,onFocusedViewChange:K}),me=(0,u.A)((e=>{fe(e,"finish","meridiem")})),{meridiemMode:ge,handleMeridiemChange:ve}=(0,g.r7)(ce,b,me,"finish"),ye=i.useCallback(((e,t)=>{const r=(0,h.iF)(M,n),o="hours"===t||"minutes"===t&&de.includes("seconds"),i=({start:e,end:t})=>(!z||!r(z,t))&&((!$||!r(e,$))&&((!F||!r(e,se))&&(!B||!r(se,o?t:e)))),a=(e,r=1)=>{if(e%r!=0)return!1;if(V)switch(t){case"hours":return!V(n.setHours(ce,e),"hours");case"minutes":return!V(n.setMinutes(ce,e),"minutes");case"seconds":return!V(n.setSeconds(ce,e),"seconds");default:return!1}return!0};switch(t){case"hours":{const t=(0,h.gY)(e,ge,b),r=n.setHours(ce,t);return!i({start:n.setSeconds(n.setMinutes(r,0),0),end:n.setSeconds(n.setMinutes(r,59),59)})||!a(t)}case"minutes":{const t=n.setMinutes(ce,e);return!i({start:n.setSeconds(t,0),end:n.setSeconds(t,59)})||!a(e,H)}case"seconds":{const t=n.setSeconds(ce,e);return!i({start:t,end:t})||!a(e)}default:throw new Error("not supported")}}),[b,ce,M,$,ge,z,H,V,n,F,B,se,de]),be=i.useCallback((e=>{switch(e){case"hours":return{onChange:e=>{const t=(0,h.gY)(e,ge,b);fe(n.setHours(ce,t),"finish","hours")},items:O({now:se,value:re,ampm:b,utils:n,isDisabled:e=>ye(e,"hours"),timeStep:le.hours,resolveAriaLabel:ae.hoursClockNumberText,valueOrReferenceDate:ce})};case"minutes":return{onChange:e=>{fe(n.setMinutes(ce,e),"finish","minutes")},items:E({value:n.getMinutes(ce),utils:n,isDisabled:e=>ye(e,"minutes"),resolveLabel:e=>n.format(n.setMinutes(se,e),"minutes"),timeStep:le.minutes,hasValue:!!re,resolveAriaLabel:ae.minutesClockNumberText})};case"seconds":return{onChange:e=>{fe(n.setSeconds(ce,e),"finish","seconds")},items:E({value:n.getSeconds(ce),utils:n,isDisabled:e=>ye(e,"seconds"),resolveLabel:e=>n.format(n.setSeconds(se,e),"seconds"),timeStep:le.seconds,hasValue:!!re,resolveAriaLabel:ae.secondsClockNumberText})};case"meridiem":{const e=(0,N._S)(n,"am"),t=(0,N._S)(n,"pm");return{onChange:ve,items:[{value:"am",label:e,isSelected:()=>!!re&&"am"===ge,isFocused:()=>!!ce&&"am"===ge,ariaLabel:e},{value:"pm",label:t,isSelected:()=>!!re&&"pm"===ge,isFocused:()=>!!ce&&"pm"===ge,ariaLabel:t}]}}default:throw new Error(`Unknown view: ${e} found.`)}}),[se,re,b,n,le.hours,le.minutes,le.seconds,ae.hoursClockNumberText,ae.minutesClockNumberText,ae.secondsClockNumberText,ge,fe,ce,ye,ve]),xe=i.useMemo((()=>{if(!l)return de;const e=de.filter((e=>"meridiem"!==e)).toReversed();return de.includes("meridiem")&&e.push("meridiem"),e}),[l,de]),we=i.useMemo((()=>de.reduce(((e,t)=>(0,r.A)({},e,{[t]:be(t)})),{})),[de,be]),Ae=v,_e=(e=>{const{classes:t}=e;return(0,d.A)({root:["root"]},y.h,t)})(Ae);return(0,k.jsx)(j,(0,r.A)({ref:t,className:(0,a.A)(_e.root,Z),ownerState:Ae,role:"group"},ne,{children:xe.map((e=>(0,k.jsx)(P,{items:we[e].items,onChange:we[e].onChange,active:pe===e,autoFocus:w??he===e,disabled:J,readOnly:Q,slots:A,slotProps:_,skipDisabled:ee,"aria-label":ae.selectViewText(e)},e)))}))}))},81937:function(e,t,n){"use strict";n.d(t,{L:function(){return i},h:function(){return o}});var r=n(31609);function o(e){return(0,r.Ay)("MuiMultiSectionDigitalClock",e)}const i=(0,n(38413).A)("MuiMultiSectionDigitalClock",["root"])},15160:function(e,t,n){"use strict";n.d(t,{K:function(){return o},w:function(){return i}});var r=n(31609);function o(e){return(0,r.Ay)("MuiMultiSectionDigitalClockSection",e)}const i=(0,n(38413).A)("MuiMultiSectionDigitalClockSection",["root","item"])},29885:function(e,t,n){"use strict";n.d(t,{L:function(){return u}});var r=n(58168),o=n(98587),i=(n(96540),n(51629)),a=n(37071),s=n(29881),l=n(74848);const c=["onAccept","onClear","onCancel","onSetToday","actions"];function u(e){const{onAccept:t,onClear:n,onCancel:u,onSetToday:d,actions:p}=e,f=(0,o.A)(e,c),h=(0,s.b)();if(null==p||0===p.length)return null;const m=p?.map((e=>{switch(e){case"clear":return(0,l.jsx)(i.A,{onClick:n,children:h.clearButtonLabel},e);case"cancel":return(0,l.jsx)(i.A,{onClick:u,children:h.cancelButtonLabel},e);case"accept":return(0,l.jsx)(i.A,{onClick:t,children:h.okButtonLabel},e);case"today":return(0,l.jsx)(i.A,{onClick:d,children:h.todayButtonLabel},e);default:return null}}));return(0,l.jsx)(a.A,(0,r.A)({},f,{children:m}))}},43059:function(e,t,n){"use strict";n.d(t,{V:function(){return M}});var r=n(98587),o=n(58168),i=n(96540),a=n(34164),s=n(20973),l=n(11848),c=n(3541),u=n(17315),d=n(75659),p=n(19455),f=n(29881),h=n(69490),m=n(50238),g=n(40293),v=n(92821),y=n(50117),b=n(80199),x=n(74848);const w=["slots","slotProps","currentMonth","disabled","disableFuture","disablePast","maxDate","minDate","onMonthChange","onViewChange","view","reduceAnimations","views","labelId","className","timezone","format"],A=["ownerState"],_=(0,l.Ay)("div",{name:"MuiPickersCalendarHeader",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"flex",alignItems:"center",marginTop:12,marginBottom:4,paddingLeft:24,paddingRight:12,maxHeight:40,minHeight:40}),S=(0,l.Ay)("div",{name:"MuiPickersCalendarHeader",slot:"LabelContainer",overridesResolver:(e,t)=>t.labelContainer})((({theme:e})=>(0,o.A)({display:"flex",overflow:"hidden",alignItems:"center",cursor:"pointer",marginRight:"auto"},e.typography.body1,{fontWeight:e.typography.fontWeightMedium}))),k=(0,l.Ay)("div",{name:"MuiPickersCalendarHeader",slot:"Label",overridesResolver:(e,t)=>t.label})({marginRight:6}),C=(0,l.Ay)(p.A,{name:"MuiPickersCalendarHeader",slot:"SwitchViewButton",overridesResolver:(e,t)=>t.switchViewButton})({marginRight:"auto",variants:[{props:{view:"year"},style:{[`.${b.H.switchViewIcon}`]:{transform:"rotate(180deg)"}}}]}),T=(0,l.Ay)(g.iV,{name:"MuiPickersCalendarHeader",slot:"SwitchViewIcon",overridesResolver:(e,t)=>t.switchViewIcon})((({theme:e})=>({willChange:"transform",transition:e.transitions.create("transform"),transform:"rotate(0deg)"}))),M=i.forwardRef((function(e,t){const n=(0,f.b)(),i=(0,h.hc)(),l=(0,c.A)({props:e,name:"MuiPickersCalendarHeader"}),{slots:p,slotProps:g,currentMonth:M,disabled:P,disableFuture:O,disablePast:E,maxDate:D,minDate:R,onMonthChange:I,onViewChange:N,view:L,reduceAnimations:j,views:$,labelId:z,className:F,timezone:B,format:H=`${i.formats.month} ${i.formats.year}`}=l,V=(0,r.A)(l,w),W=l,U=(e=>{const{classes:t}=e;return(0,d.A)({root:["root"],labelContainer:["labelContainer"],label:["label"],switchViewButton:["switchViewButton"],switchViewIcon:["switchViewIcon"]},b.T,t)})(l),q=p?.switchViewButton??C,G=(0,u.Q)({elementType:q,externalSlotProps:g?.switchViewButton,additionalProps:{size:"small","aria-label":n.calendarViewSwitchingButtonAriaLabel(L)},ownerState:W,className:U.switchViewButton}),Y=p?.switchViewIcon??T,X=(0,u.Q)({elementType:Y,externalSlotProps:g?.switchViewIcon,ownerState:void 0,className:U.switchViewIcon}),K=(0,r.A)(X,A),Z=(0,y.bH)(M,{disableFuture:O,maxDate:D,timezone:B}),J=(0,y.p_)(M,{disablePast:E,minDate:R,timezone:B});if(1===$.length&&"year"===$[0])return null;const Q=i.formatByString(M,H);return(0,x.jsxs)(_,(0,o.A)({},V,{ownerState:W,className:(0,a.A)(F,U.root),ref:t,children:[(0,x.jsxs)(S,{role:"presentation",onClick:()=>{if(1!==$.length&&N&&!P)if(2===$.length)N($.find((e=>e!==L))||$[0]);else{const e=0!==$.indexOf(L)?0:1;N($[e])}},ownerState:W,"aria-live":"polite",className:U.labelContainer,children:[(0,x.jsx)(m.g,{reduceAnimations:j,transKey:Q,children:(0,x.jsx)(k,{id:z,ownerState:W,className:U.label,children:Q})}),$.length>1&&!P&&(0,x.jsx)(q,(0,o.A)({},G,{children:(0,x.jsx)(Y,(0,o.A)({},K))}))]}),(0,x.jsx)(s.A,{in:"day"===L,children:(0,x.jsx)(v.Y,{slots:p,slotProps:g,onGoToPrevious:()=>I(i.addMonths(M,-1),"right"),isPreviousDisabled:J,previousLabel:n.previousMonth,onGoToNext:()=>I(i.addMonths(M,1),"left"),isNextDisabled:Z,nextLabel:n.nextMonth})})]}))}))},80199:function(e,t,n){"use strict";n.d(t,{H:function(){return a},T:function(){return i}});var r=n(31609),o=n(38413);const i=e=>(0,r.Ay)("MuiPickersCalendarHeader",e),a=(0,o.A)("MuiPickersCalendarHeader",["root","labelContainer","label","switchViewButton","switchViewIcon"])},63967:function(e,t,n){"use strict";n.d(t,{a:function(){return k}});var r=n(98587),o=n(58168),i=n(96540),a=n(34164),s=n(9934),l=n(75659),c=n(31523),u=n(21529),d=n(24279),p=n(11848),f=n(3541),h=n(69490),m=n(31886),g=n(61099),v=n(74848);const y=["autoFocus","className","day","disabled","disableHighlightToday","disableMargin","hidden","isAnimating","onClick","onDaySelect","onFocus","onBlur","onKeyDown","onMouseDown","onMouseEnter","outsideCurrentMonth","selected","showDaysOutsideCurrentMonth","children","today","isFirstVisibleCell","isLastVisibleCell"],b=({theme:e})=>(0,o.A)({},e.typography.caption,{width:m.B3,height:m.B3,borderRadius:"50%",padding:0,backgroundColor:"transparent",transition:e.transitions.create("background-color",{duration:e.transitions.duration.short}),color:(e.vars||e).palette.text.primary,"@media (pointer: fine)":{"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,d.X4)(e.palette.primary.main,e.palette.action.hoverOpacity)}},"&:focus":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.focusOpacity})`:(0,d.X4)(e.palette.primary.main,e.palette.action.focusOpacity),[`&.${g.Q.selected}`]:{willChange:"background-color",backgroundColor:(e.vars||e).palette.primary.dark}},[`&.${g.Q.selected}`]:{color:(e.vars||e).palette.primary.contrastText,backgroundColor:(e.vars||e).palette.primary.main,fontWeight:e.typography.fontWeightMedium,"&:hover":{willChange:"background-color",backgroundColor:(e.vars||e).palette.primary.dark}},[`&.${g.Q.disabled}:not(.${g.Q.selected})`]:{color:(e.vars||e).palette.text.disabled},[`&.${g.Q.disabled}&.${g.Q.selected}`]:{opacity:.6},variants:[{props:{disableMargin:!1},style:{margin:`0 ${m.y0}px`}},{props:{outsideCurrentMonth:!0,showDaysOutsideCurrentMonth:!0},style:{color:(e.vars||e).palette.text.secondary}},{props:{disableHighlightToday:!1,today:!0},style:{[`&:not(.${g.Q.selected})`]:{border:`1px solid ${(e.vars||e).palette.text.secondary}`}}}]}),x=(e,t)=>{const{ownerState:n}=e;return[t.root,!n.disableMargin&&t.dayWithMargin,!n.disableHighlightToday&&n.today&&t.today,!n.outsideCurrentMonth&&n.showDaysOutsideCurrentMonth&&t.dayOutsideMonth,n.outsideCurrentMonth&&!n.showDaysOutsideCurrentMonth&&t.hiddenDaySpacingFiller]},w=(0,p.Ay)(s.A,{name:"MuiPickersDay",slot:"Root",overridesResolver:x})(b),A=(0,p.Ay)("div",{name:"MuiPickersDay",slot:"Root",overridesResolver:x})((({theme:e})=>(0,o.A)({},b({theme:e}),{opacity:0,pointerEvents:"none"}))),_=()=>{},S=i.forwardRef((function(e,t){const n=(0,f.A)({props:e,name:"MuiPickersDay"}),{autoFocus:s=!1,className:d,day:p,disabled:m=!1,disableHighlightToday:b=!1,disableMargin:x=!1,isAnimating:S,onClick:k,onDaySelect:C,onFocus:T=_,onBlur:M=_,onKeyDown:P=_,onMouseDown:O=_,onMouseEnter:E=_,outsideCurrentMonth:D,selected:R=!1,showDaysOutsideCurrentMonth:I=!1,children:N,today:L=!1}=n,j=(0,r.A)(n,y),$=(0,o.A)({},n,{autoFocus:s,disabled:m,disableHighlightToday:b,disableMargin:x,selected:R,showDaysOutsideCurrentMonth:I,today:L}),z=(e=>{const{selected:t,disableMargin:n,disableHighlightToday:r,today:o,disabled:i,outsideCurrentMonth:a,showDaysOutsideCurrentMonth:s,classes:c}=e,u=a&&!s,d={root:["root",t&&!u&&"selected",i&&"disabled",!n&&"dayWithMargin",!r&&o&&"today",a&&s&&"dayOutsideMonth",u&&"hiddenDaySpacingFiller"],hiddenDaySpacingFiller:["hiddenDaySpacingFiller"]};return(0,l.A)(d,g.m,c)})($),F=(0,h.hc)(),B=i.useRef(null),H=(0,c.A)(B,t);(0,u.A)((()=>{!s||m||S||D||B.current.focus()}),[s,m,S,D]);return D&&!I?(0,v.jsx)(A,{className:(0,a.A)(z.root,z.hiddenDaySpacingFiller,d),ownerState:$,role:j.role}):(0,v.jsx)(w,(0,o.A)({className:(0,a.A)(z.root,d),ref:H,centerRipple:!0,disabled:m,tabIndex:R?0:-1,onKeyDown:e=>P(e,p),onFocus:e=>T(e,p),onBlur:e=>M(e,p),onMouseEnter:e=>E(e,p),onClick:e=>{m||C(p),D&&e.currentTarget.focus(),k&&k(e)},onMouseDown:e=>{O(e),D&&e.preventDefault()}},j,{ownerState:$,children:N||F.format(p,"dayOfMonth")}))})),k=i.memo(S)},61099:function(e,t,n){"use strict";n.d(t,{Q:function(){return i},m:function(){return o}});var r=n(31609);function o(e){return(0,r.Ay)("MuiPickersDay",e)}const i=(0,n(38413).A)("MuiPickersDay",["root","dayWithMargin","dayOutsideMonth","hiddenDaySpacingFiller","today","selected","disabled"])},631:function(e,t,n){"use strict";n.d(t,{CJ:function(){return f},IU:function(){return p},Kr:function(){return d}});var r=n(96540),o=n(34164),i=n(11848),a=n(3541),s=n(75659),l=n(89827),c=n(73721),u=n(74848);const d=(0,i.Ay)("div",{name:"MuiPickersLayout",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"grid",gridAutoColumns:"max-content auto max-content",gridAutoRows:"max-content auto max-content",[`& .${l.k.actionBar}`]:{gridColumn:"1 / 4",gridRow:3},variants:[{props:{isLandscape:!0},style:{[`& .${l.k.toolbar}`]:{gridColumn:1,gridRow:"2 / 3"},[`.${l.k.shortcuts}`]:{gridColumn:"2 / 4",gridRow:1}}},{props:{isLandscape:!0,isRtl:!0},style:{[`& .${l.k.toolbar}`]:{gridColumn:3}}},{props:{isLandscape:!1},style:{[`& .${l.k.toolbar}`]:{gridColumn:"2 / 4",gridRow:1},[`& .${l.k.shortcuts}`]:{gridColumn:1,gridRow:"2 / 3"}}},{props:{isLandscape:!1,isRtl:!0},style:{[`& .${l.k.shortcuts}`]:{gridColumn:3}}}]}),p=(0,i.Ay)("div",{name:"MuiPickersLayout",slot:"ContentWrapper",overridesResolver:(e,t)=>t.contentWrapper})({gridColumn:2,gridRow:2,display:"flex",flexDirection:"column"}),f=function(e){const t=(0,a.A)({props:e,name:"MuiPickersLayout"}),{toolbar:n,content:i,tabs:f,actionBar:h,shortcuts:m}=(0,c.A)(t),{sx:g,className:v,isLandscape:y,ref:b,wrapperVariant:x}=t,w=(e=>{const{isLandscape:t,classes:n}=e,r={root:["root",t&&"landscape"],contentWrapper:["contentWrapper"]};return(0,s.A)(r,l.s,n)})(t);return(0,u.jsxs)(d,{ref:b,sx:g,className:(0,o.A)(v,w.root),ownerState:t,children:[y?m:n,y?n:m,(0,u.jsx)(p,{className:w.contentWrapper,children:"desktop"===x?(0,u.jsxs)(r.Fragment,{children:[i,f]}):(0,u.jsxs)(r.Fragment,{children:[f,i]})}),h]})}},89827:function(e,t,n){"use strict";n.d(t,{k:function(){return i},s:function(){return o}});var r=n(31609);function o(e){return(0,r.Ay)("MuiPickersLayout",e)}const i=(0,n(38413).A)("MuiPickersLayout",["root","landscape","contentWrapper","toolbar","actionBar","tabs","shortcuts"])},73721:function(e,t,n){"use strict";var r=n(58168),o=(n(96540),n(17315)),i=n(75659),a=n(29885),s=n(89827),l=n(1909),c=n(74848);t.A=e=>{const{wrapperVariant:t,onAccept:n,onClear:u,onCancel:d,onSetToday:p,view:f,views:h,onViewChange:m,value:g,onChange:v,onSelectShortcut:y,isValid:b,isLandscape:x,disabled:w,readOnly:A,children:_,slots:S,slotProps:k}=e,C=(e=>{const{classes:t,isLandscape:n}=e,r={root:["root",n&&"landscape"],contentWrapper:["contentWrapper"],toolbar:["toolbar"],actionBar:["actionBar"],tabs:["tabs"],landscape:["landscape"],shortcuts:["shortcuts"]};return(0,i.A)(r,s.s,t)})(e),T=S?.actionBar??a.L,M=(0,o.Q)({elementType:T,externalSlotProps:k?.actionBar,additionalProps:{onAccept:n,onClear:u,onCancel:d,onSetToday:p,actions:"desktop"===t?[]:["cancel","accept"]},className:C.actionBar,ownerState:(0,r.A)({},e,{wrapperVariant:t})}),P=(0,c.jsx)(T,(0,r.A)({},M)),O=S?.toolbar,E=(0,o.Q)({elementType:O,externalSlotProps:k?.toolbar,additionalProps:{isLandscape:x,onChange:v,value:g,view:f,onViewChange:m,views:h,disabled:w,readOnly:A},className:C.toolbar,ownerState:(0,r.A)({},e,{wrapperVariant:t})}),D=function(e){return null!==e.view}(E)&&O?(0,c.jsx)(O,(0,r.A)({},E)):null,R=_,I=S?.tabs,N=f&&I?(0,c.jsx)(I,(0,r.A)({view:f,onViewChange:m,className:C.tabs},k?.tabs)):null,L=S?.shortcuts??l.f,j=(0,o.Q)({elementType:L,externalSlotProps:k?.shortcuts,additionalProps:{isValid:b,isLandscape:x,onChange:y},className:C.shortcuts,ownerState:{isValid:b,isLandscape:x,onChange:y,wrapperVariant:t}});return{toolbar:D,content:R,tabs:N,actionBar:P,shortcuts:f&&L?(0,c.jsx)(L,(0,r.A)({},j)):null}}},53013:function(e,t,n){"use strict";n.d(t,{er:function(){return m},fI:function(){return b},jp:function(){return g},tl:function(){return h},vK:function(){return v}});var r=n(98587),o=n(58168),i=n(96540),a=n(17315),s=n(75659),l=n(31523),c=n(11848),u=n(3541),d=n(39117),p=n(74848);const f=["slots","slotProps","elements","sectionListRef"],h=(0,c.Ay)("div",{name:"MuiPickersSectionList",slot:"Root",overridesResolver:(e,t)=>t.root})({direction:"ltr /*! @noflip */",outline:"none"}),m=(0,c.Ay)("span",{name:"MuiPickersSectionList",slot:"Section",overridesResolver:(e,t)=>t.section})({}),g=(0,c.Ay)("span",{name:"MuiPickersSectionList",slot:"SectionSeparator",overridesResolver:(e,t)=>t.sectionSeparator})({whiteSpace:"pre"}),v=(0,c.Ay)("span",{name:"MuiPickersSectionList",slot:"SectionContent",overridesResolver:(e,t)=>t.sectionContent})({outline:"none"});function y(e){const{slots:t,slotProps:n,element:r,classes:i}=e,s=t?.section??m,l=(0,a.Q)({elementType:s,externalSlotProps:n?.section,externalForwardedProps:r.container,className:i.section,ownerState:{}}),c=t?.sectionContent??v,u=(0,a.Q)({elementType:c,externalSlotProps:n?.sectionContent,externalForwardedProps:r.content,additionalProps:{suppressContentEditableWarning:!0},className:i.sectionContent,ownerState:{}}),d=t?.sectionSeparator??g,f=(0,a.Q)({elementType:d,externalSlotProps:n?.sectionSeparator,externalForwardedProps:r.before,ownerState:{position:"before"}}),h=(0,a.Q)({elementType:d,externalSlotProps:n?.sectionSeparator,externalForwardedProps:r.after,ownerState:{position:"after"}});return(0,p.jsxs)(s,(0,o.A)({},l,{children:[(0,p.jsx)(d,(0,o.A)({},f)),(0,p.jsx)(c,(0,o.A)({},u)),(0,p.jsx)(d,(0,o.A)({},h))]}))}const b=i.forwardRef((function(e,t){const n=(0,u.A)({props:e,name:"MuiPickersSectionList"}),{slots:c,slotProps:m,elements:g,sectionListRef:v}=n,b=(0,r.A)(n,f),x=(e=>{const{classes:t}=e;return(0,s.A)({root:["root"],section:["section"],sectionContent:["sectionContent"]},d.b,t)})(n),w=i.useRef(null),A=(0,l.A)(t,w),_=e=>{if(!w.current)throw new Error(`MUI X: Cannot call sectionListRef.${e} before the mount of the component.`);return w.current};i.useImperativeHandle(v,(()=>({getRoot(){return _("getRoot")},getSectionContainer(e){return _("getSectionContainer").querySelector(`.${d.T.section}[data-sectionindex="${e}"]`)},getSectionContent(e){return _("getSectionContent").querySelector(`.${d.T.section}[data-sectionindex="${e}"] .${d.T.sectionContent}`)},getSectionIndexFromDOMElement(e){const t=_("getSectionIndexFromDOMElement");if(null==e||!t.contains(e))return null;let n=null;return e.classList.contains(d.T.section)?n=e:e.classList.contains(d.T.sectionContent)&&(n=e.parentElement),null==n?null:Number(n.dataset.sectionindex)}})));const S=c?.root??h,k=(0,a.Q)({elementType:S,externalSlotProps:m?.root,externalForwardedProps:b,additionalProps:{ref:A,suppressContentEditableWarning:!0},className:x.root,ownerState:{}});return(0,p.jsx)(S,(0,o.A)({},k,{children:k.contentEditable?g.map((({content:e,before:t,after:n})=>`${t.children}${e.children}${n.children}`)).join(""):(0,p.jsx)(i.Fragment,{children:g.map(((e,t)=>(0,p.jsx)(y,{slots:c,slotProps:m,element:e,classes:x},t)))})}))}))},39117:function(e,t,n){"use strict";n.d(t,{T:function(){return i},b:function(){return o}});var r=n(31609);function o(e){return(0,r.Ay)("MuiPickersSectionList",e)}const i=(0,n(38413).A)("MuiPickersSectionList",["root","section","sectionContent"])},1909:function(e,t,n){"use strict";n.d(t,{f:function(){return p}});var r=n(58168),o=n(98587),i=(n(96540),n(27465)),a=n(3959),s=n(69554),l=n(31886),c=n(74848);const u=["items","changeImportance","isLandscape","onChange","isValid"],d=["getValue"];function p(e){const{items:t,changeImportance:n="accept",onChange:p,isValid:f}=e,h=(0,o.A)(e,u);if(null==t||0===t.length)return null;const m=t.map((e=>{let{getValue:t}=e,i=(0,o.A)(e,d);const a=t({isValid:f});return(0,r.A)({},i,{label:i.label,onClick:()=>{p(a,n,i)},disabled:!f(a)})}));return(0,c.jsx)(i.A,(0,r.A)({dense:!0,sx:[{maxHeight:l.Y2,maxWidth:200,overflow:"auto"},...Array.isArray(h.sx)?h.sx:[h.sx]]},h,{children:m.map((e=>(0,c.jsx)(a.Ay,{children:(0,c.jsx)(s.A,(0,r.A)({},e))},e.id??e.label)))}))}},49622:function(e,t,n){"use strict";n.d(t,{W:function(){return v}});var r=n(98587),o=n(58168),i=n(96540),a=n(79716),s=n(11848),l=n(3541),c=n(85329),u=n(75659),d=n(69708),p=n(15672),f=n(74848);const h=["label","autoFocus","disableUnderline","ownerState"],m=(0,s.Ay)(p.XP,{name:"MuiPickersFilledInput",slot:"Root",overridesResolver:(e,t)=>t.root,shouldForwardProp:e=>(0,c.MC)(e)&&"disableUnderline"!==e})((({theme:e})=>{const t="light"===e.palette.mode,n=t?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)",r=t?"rgba(0, 0, 0, 0.06)":"rgba(255, 255, 255, 0.09)",o=t?"rgba(0, 0, 0, 0.09)":"rgba(255, 255, 255, 0.13)",i=t?"rgba(0, 0, 0, 0.12)":"rgba(255, 255, 255, 0.12)";return{backgroundColor:e.vars?e.vars.palette.FilledInput.bg:r,borderTopLeftRadius:(e.vars||e).shape.borderRadius,borderTopRightRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),"&:hover":{backgroundColor:e.vars?e.vars.palette.FilledInput.hoverBg:o,"@media (hover: none)":{backgroundColor:e.vars?e.vars.palette.FilledInput.bg:r}},[`&.${d.C.focused}`]:{backgroundColor:e.vars?e.vars.palette.FilledInput.bg:r},[`&.${d.C.disabled}`]:{backgroundColor:e.vars?e.vars.palette.FilledInput.disabledBg:i},variants:[...Object.keys((e.vars??e).palette).filter((t=>(e.vars??e).palette[t].main)).map((t=>({props:{color:t,disableUnderline:!1},style:{"&::after":{borderBottom:`2px solid ${(e.vars||e).palette[t]?.main}`}}}))),{props:{disableUnderline:!1},style:{"&::after":{left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),pointerEvents:"none"},[`&.${d.C.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${d.C.error}`]:{"&:before, &:after":{borderBottomColor:(e.vars||e).palette.error.main}},"&::before":{borderBottom:`1px solid ${e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / ${e.vars.opacity.inputUnderline})`:n}`,left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:e.transitions.create("border-bottom-color",{duration:e.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${d.C.disabled}, .${d.C.error}):before`]:{borderBottom:`1px solid ${(e.vars||e).palette.text.primary}`},[`&.${d.C.disabled}:before`]:{borderBottomStyle:"dotted"}}},{props:({startAdornment:e})=>!!e,style:{paddingLeft:12}},{props:({endAdornment:e})=>!!e,style:{paddingRight:12}}]}})),g=(0,s.Ay)(p.wB,{name:"MuiPickersFilledInput",slot:"sectionsContainer",overridesResolver:(e,t)=>t.sectionsContainer})({paddingTop:25,paddingRight:12,paddingBottom:8,paddingLeft:12,variants:[{props:{size:"small"},style:{paddingTop:21,paddingBottom:4}},{props:({startAdornment:e})=>!!e,style:{paddingLeft:0}},{props:({endAdornment:e})=>!!e,style:{paddingRight:0}},{props:{hiddenLabel:!0},style:{paddingTop:16,paddingBottom:17}},{props:{hiddenLabel:!0,size:"small"},style:{paddingTop:8,paddingBottom:9}}]}),v=i.forwardRef((function(e,t){const n=(0,l.A)({props:e,name:"MuiPickersFilledInput"}),{label:i,disableUnderline:s=!1,ownerState:c}=n,v=(0,r.A)(n,h),y=(0,a.A)(),b=(e=>{const{classes:t,disableUnderline:n}=e,r={root:["root",!n&&"underline"],input:["input"]},i=(0,u.A)(r,d.u,t);return(0,o.A)({},t,i)})((0,o.A)({},n,c,y,{color:y?.color||"primary"}));return(0,f.jsx)(p.jv,(0,o.A)({slots:{root:m,input:g},slotProps:{root:{disableUnderline:s}}},v,{label:i,classes:b,ref:t}))}));v.muiName="Input"},69708:function(e,t,n){"use strict";n.d(t,{C:function(){return l},u:function(){return s}});var r=n(58168),o=n(38413),i=n(31609),a=n(9642);function s(e){return(0,i.Ay)("MuiPickersFilledInput",e)}const l=(0,r.A)({},a.R,(0,o.A)("MuiPickersFilledInput",["root","underline","input"]))},15402:function(e,t,n){"use strict";n.d(t,{a:function(){return m}});var r=n(98587),o=n(58168),i=n(96540),a=n(79716),s=n(11848),l=n(3541),c=n(75659),u=n(84424),d=n(15672),p=n(74848);const f=["label","autoFocus","disableUnderline","ownerState"],h=(0,s.Ay)(d.XP,{name:"MuiPickersInput",slot:"Root",overridesResolver:(e,t)=>t.root})((({theme:e})=>{let t="light"===e.palette.mode?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)";return e.vars&&(t=`rgba(${e.vars.palette.common.onBackgroundChannel} / ${e.vars.opacity.inputUnderline})`),{"label + &":{marginTop:16},variants:[...Object.keys((e.vars??e).palette).filter((t=>(e.vars??e).palette[t].main)).map((t=>({props:{color:t},style:{"&::after":{borderBottom:`2px solid ${(e.vars||e).palette[t].main}`}}}))),{props:{disableUnderline:!1},style:{"&::after":{background:"red",left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),pointerEvents:"none"},[`&.${u.a.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${u.a.error}`]:{"&:before, &:after":{borderBottomColor:(e.vars||e).palette.error.main}},"&::before":{borderBottom:`1px solid ${t}`,left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:e.transitions.create("border-bottom-color",{duration:e.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${u.a.disabled}, .${u.a.error}):before`]:{borderBottom:`2px solid ${(e.vars||e).palette.text.primary}`,"@media (hover: none)":{borderBottom:`1px solid ${t}`}},[`&.${u.a.disabled}:before`]:{borderBottomStyle:"dotted"}}}]}})),m=i.forwardRef((function(e,t){const n=(0,l.A)({props:e,name:"MuiPickersInput"}),{label:i,disableUnderline:s=!1,ownerState:m}=n,g=(0,r.A)(n,f),v=(0,a.A)(),y=(e=>{const{classes:t,disableUnderline:n}=e,r={root:["root",!n&&"underline"],input:["input"]},i=(0,c.A)(r,u.e,t);return(0,o.A)({},t,i)})((0,o.A)({},n,m,v,{disableUnderline:s,color:v?.color||"primary"}));return(0,p.jsx)(d.jv,(0,o.A)({slots:{root:h}},g,{label:i,classes:y,ref:t}))}));m.muiName="Input"},84424:function(e,t,n){"use strict";n.d(t,{a:function(){return l},e:function(){return s}});var r=n(58168),o=n(38413),i=n(31609),a=n(9642);function s(e){return(0,i.Ay)("MuiPickersFilledInput",e)}const l=(0,r.A)({},a.R,(0,o.A)("MuiPickersInput",["root","input"]))},15672:function(e,t,n){"use strict";n.d(t,{XP:function(){return b},jv:function(){return k},wB:function(){return x}});var r=n(98587),o=n(58168),i=n(96540),a=n(79716),s=n(11848),l=n(3541),c=n(31523),u=n(75659),d=n(13967),p=n(17315),f=n(90285),h=n(73788),m=n(9642),g=n(53013),v=n(74848);const y=["elements","areAllSectionsEmpty","defaultValue","label","value","onChange","id","autoFocus","endAdornment","startAdornment","renderSuffix","slots","slotProps","contentEditable","tabIndex","onInput","onPaste","onKeyDown","fullWidth","name","readOnly","inputProps","inputRef","sectionListRef"],b=(0,s.Ay)("div",{name:"MuiPickersInputBase",slot:"Root",overridesResolver:(e,t)=>t.root})((({theme:e})=>{return(0,o.A)({},e.typography.body1,{color:(e.vars||e).palette.text.primary,cursor:"text",padding:0,display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",boxSizing:"border-box",letterSpacing:(t=.15/16,Math.round(1e5*t)/1e5)+"em",variants:[{props:{fullWidth:!0},style:{width:"100%"}}]});var t})),x=(0,s.Ay)(g.tl,{name:"MuiPickersInputBase",slot:"SectionsContainer",overridesResolver:(e,t)=>t.sectionsContainer})((({theme:e})=>({padding:"4px 0 5px",fontFamily:e.typography.fontFamily,fontSize:"inherit",lineHeight:"1.4375em",flexGrow:1,outline:"none",display:"flex",flexWrap:"nowrap",overflow:"hidden",letterSpacing:"inherit",width:"182px",variants:[{props:{isRtl:!0},style:{textAlign:"right /*! @noflip */"}},{props:{size:"small"},style:{paddingTop:1}},{props:{adornedStart:!1,focused:!1,filled:!1},style:{color:"currentColor",opacity:0}},{props:({adornedStart:e,focused:t,filled:n,label:r})=>!e&&!t&&!n&&null==r,style:e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:"light"===e.palette.mode?.42:.5}}]}))),w=(0,s.Ay)(g.er,{name:"MuiPickersInputBase",slot:"Section",overridesResolver:(e,t)=>t.section})((({theme:e})=>({fontFamily:e.typography.fontFamily,fontSize:"inherit",letterSpacing:"inherit",lineHeight:"1.4375em",display:"flex"}))),A=(0,s.Ay)(g.vK,{name:"MuiPickersInputBase",slot:"SectionContent",overridesResolver:(e,t)=>t.content})((({theme:e})=>({fontFamily:e.typography.fontFamily,lineHeight:"1.4375em",letterSpacing:"inherit",width:"fit-content",outline:"none"}))),_=(0,s.Ay)(g.jp,{name:"MuiPickersInputBase",slot:"Separator",overridesResolver:(e,t)=>t.separator})((()=>({whiteSpace:"pre",letterSpacing:"inherit"}))),S=(0,s.Ay)("input",{name:"MuiPickersInputBase",slot:"Input",overridesResolver:(e,t)=>t.hiddenInput})((0,o.A)({},f.A)),k=i.forwardRef((function(e,t){const n=(0,l.A)({props:e,name:"MuiPickersInputBase"}),{elements:s,areAllSectionsEmpty:f,value:k,onChange:C,id:T,endAdornment:M,startAdornment:P,renderSuffix:O,slots:E,slotProps:D,contentEditable:R,tabIndex:I,onInput:N,onPaste:L,onKeyDown:j,name:$,readOnly:z,inputProps:F,inputRef:B,sectionListRef:H}=n,V=(0,r.A)(n,y),W=i.useRef(null),U=(0,c.A)(t,W),q=(0,c.A)(F?.ref,B),G=(0,h.I)(),Y=(0,a.A)();if(!Y)throw new Error("MUI X: PickersInputBase should always be used inside a PickersTextField component");i.useEffect((()=>{Y&&Y.setAdornedStart(Boolean(P))}),[Y,P]),i.useEffect((()=>{Y&&(f?Y.onEmpty():Y.onFilled())}),[Y,f]);const X=(0,o.A)({},n,Y,{isRtl:G}),K=(e=>{const{focused:t,disabled:n,error:r,classes:o,fullWidth:i,readOnly:a,color:s,size:l,endAdornment:c,startAdornment:p}=e,f={root:["root",t&&!n&&"focused",n&&"disabled",a&&"readOnly",r&&"error",i&&"fullWidth",`color${(0,d.A)(s)}`,"small"===l&&"inputSizeSmall",Boolean(p)&&"adornedStart",Boolean(c)&&"adornedEnd"],notchedOutline:["notchedOutline"],input:["input"],sectionsContainer:["sectionsContainer"],sectionContent:["sectionContent"],sectionBefore:["sectionBefore"],sectionAfter:["sectionAfter"]};return(0,u.A)(f,m.l,o)})(X),Z=E?.root||b,J=(0,p.Q)({elementType:Z,externalSlotProps:D?.root,externalForwardedProps:V,additionalProps:{"aria-invalid":Y.error,ref:U},className:K.root,ownerState:X}),Q=E?.input||x;return(0,v.jsxs)(Z,(0,o.A)({},J,{children:[P,(0,v.jsx)(g.fI,{sectionListRef:H,elements:s,contentEditable:R,tabIndex:I,className:K.sectionsContainer,onFocus:e=>{Y.disabled?e.stopPropagation():Y.onFocus?.(e)},onBlur:Y.onBlur,onInput:N,onPaste:L,onKeyDown:j,slots:{root:Q,section:w,sectionContent:A,sectionSeparator:_},slotProps:{root:{ownerState:X},sectionContent:{className:m.R.sectionContent},sectionSeparator:({position:e})=>({className:"before"===e?m.R.sectionBefore:m.R.sectionAfter})}}),M,O?O((0,o.A)({},Y)):null,(0,v.jsx)(S,(0,o.A)({name:$,className:K.input,value:k,onChange:C,id:T,"aria-hidden":"true",tabIndex:-1,readOnly:z,required:Y.required,disabled:Y.disabled},F,{ref:q}))]}))}))},9642:function(e,t,n){"use strict";n.d(t,{R:function(){return i},l:function(){return o}});var r=n(31609);function o(e){return(0,r.Ay)("MuiPickersInputBase",e)}const i=(0,n(38413).A)("MuiPickersInputBase",["root","focused","disabled","error","notchedOutline","sectionContent","sectionBefore","sectionAfter","adornedStart","adornedEnd","input"])},70443:function(e,t,n){"use strict";n.d(t,{w:function(){return w}});var r=n(98587),o=n(58168),i=n(96540),a=n(79716),s=n(11848),l=n(3541),c=n(75659),u=n(98336),d=n(74848);const p=["children","className","label","notched","shrink"],f=(0,s.Ay)("fieldset",{name:"MuiPickersOutlinedInput",slot:"NotchedOutline",overridesResolver:(e,t)=>t.notchedOutline})((({theme:e})=>{const t="light"===e.palette.mode?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return{textAlign:"left",position:"absolute",bottom:0,right:0,top:-5,left:0,margin:0,padding:"0 8px",pointerEvents:"none",borderRadius:"inherit",borderStyle:"solid",borderWidth:1,overflow:"hidden",minWidth:"0%",borderColor:e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / 0.23)`:t}})),h=(0,s.Ay)("span")((({theme:e})=>({fontFamily:e.typography.fontFamily,fontSize:"inherit"}))),m=(0,s.Ay)("legend")((({theme:e})=>({float:"unset",width:"auto",overflow:"hidden",variants:[{props:{withLabel:!1},style:{padding:0,lineHeight:"11px",transition:e.transitions.create("width",{duration:150,easing:e.transitions.easing.easeOut})}},{props:{withLabel:!0},style:{display:"block",padding:0,height:11,fontSize:"0.75em",visibility:"hidden",maxWidth:.01,transition:e.transitions.create("max-width",{duration:50,easing:e.transitions.easing.easeOut}),whiteSpace:"nowrap","& > span":{paddingLeft:5,paddingRight:5,display:"inline-block",opacity:0,visibility:"visible"}}},{props:{withLabel:!0,notched:!0},style:{maxWidth:"100%",transition:e.transitions.create("max-width",{duration:100,easing:e.transitions.easing.easeOut,delay:50})}}]})));function g(e){const{className:t,label:n}=e,i=(0,r.A)(e,p),a=null!=n&&""!==n,s=(0,o.A)({},e,{withLabel:a});return(0,d.jsx)(f,(0,o.A)({"aria-hidden":!0,className:t},i,{ownerState:s,children:(0,d.jsx)(m,{ownerState:s,children:a?(0,d.jsx)(h,{children:n}):(0,d.jsx)(h,{className:"notranslate",children:"​"})})}))}var v=n(15672);const y=["label","autoFocus","ownerState","notched"],b=(0,s.Ay)(v.XP,{name:"MuiPickersOutlinedInput",slot:"Root",overridesResolver:(e,t)=>t.root})((({theme:e})=>{const t="light"===e.palette.mode?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return{padding:"0 14px",borderRadius:(e.vars||e).shape.borderRadius,[`&:hover .${u.q.notchedOutline}`]:{borderColor:(e.vars||e).palette.text.primary},"@media (hover: none)":{[`&:hover .${u.q.notchedOutline}`]:{borderColor:e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / 0.23)`:t}},[`&.${u.q.focused} .${u.q.notchedOutline}`]:{borderStyle:"solid",borderWidth:2},[`&.${u.q.disabled}`]:{[`& .${u.q.notchedOutline}`]:{borderColor:(e.vars||e).palette.action.disabled},"*":{color:(e.vars||e).palette.action.disabled}},[`&.${u.q.error} .${u.q.notchedOutline}`]:{borderColor:(e.vars||e).palette.error.main},variants:Object.keys((e.vars??e).palette).filter((t=>(e.vars??e).palette[t]?.main??!1)).map((t=>({props:{color:t},style:{[`&.${u.q.focused}:not(.${u.q.error}) .${u.q.notchedOutline}`]:{borderColor:(e.vars||e).palette[t].main}}})))}})),x=(0,s.Ay)(v.wB,{name:"MuiPickersOutlinedInput",slot:"SectionsContainer",overridesResolver:(e,t)=>t.sectionsContainer})({padding:"16.5px 0",variants:[{props:{size:"small"},style:{padding:"8.5px 0"}}]}),w=i.forwardRef((function(e,t){const n=(0,l.A)({props:e,name:"MuiPickersOutlinedInput"}),{label:s,ownerState:p,notched:f}=n,h=(0,r.A)(n,y),m=(0,a.A)(),w=(0,o.A)({},n,p,m,{color:m?.color||"primary"}),A=(e=>{const{classes:t}=e,n=(0,c.A)({root:["root"],notchedOutline:["notchedOutline"],input:["input"]},u.G,t);return(0,o.A)({},t,n)})(w);return(0,d.jsx)(v.jv,(0,o.A)({slots:{root:b,input:x},renderSuffix:e=>(0,d.jsx)(g,{shrink:Boolean(f||e.adornedStart||e.focused||e.filled),notched:Boolean(f||e.adornedStart||e.focused||e.filled),className:A.notchedOutline,label:null!=s&&""!==s&&m?.required?(0,d.jsxs)(i.Fragment,{children:[s," ","*"]}):s,ownerState:w})},h,{label:s,classes:A,ref:t}))}));w.muiName="Input"},98336:function(e,t,n){"use strict";n.d(t,{G:function(){return s},q:function(){return l}});var r=n(58168),o=n(38413),i=n(31609),a=n(9642);function s(e){return(0,i.Ay)("MuiPickersOutlinedInput",e)}const l=(0,r.A)({},a.R,(0,o.A)("MuiPickersOutlinedInput",["root","notchedOutline","input"]))},8473:function(e,t,n){"use strict";n.d(t,{X:function(){return _}});var r=n(58168),o=n(98587),i=n(96540),a=n(34164),s=n(11848),l=n(3541),c=n(31523),u=n(75659),d=n(34661),p=n(13945),f=n(80607),h=n(45359),m=n(69193),g=n(70443),v=n(49622),y=n(15402),b=n(74848);const x=["onFocus","onBlur","className","color","disabled","error","variant","required","InputProps","inputProps","inputRef","sectionListRef","elements","areAllSectionsEmpty","onClick","onKeyDown","onKeyUp","onPaste","onInput","endAdornment","startAdornment","tabIndex","contentEditable","focused","value","onChange","fullWidth","id","name","helperText","FormHelperTextProps","label","InputLabelProps"],w={standard:y.a,filled:v.W,outlined:g.w},A=(0,s.Ay)(h.A,{name:"MuiPickersTextField",slot:"Root",overridesResolver:(e,t)=>t.root})({}),_=i.forwardRef((function(e,t){const n=(0,l.A)({props:e,name:"MuiPickersTextField"}),{onFocus:s,onBlur:h,className:g,color:v="primary",disabled:y=!1,error:_=!1,variant:S="outlined",required:k=!1,InputProps:C,inputProps:T,inputRef:M,sectionListRef:P,elements:O,areAllSectionsEmpty:E,onClick:D,onKeyDown:R,onPaste:I,onInput:N,endAdornment:L,startAdornment:j,tabIndex:$,contentEditable:z,focused:F,value:B,onChange:H,fullWidth:V,id:W,name:U,helperText:q,FormHelperTextProps:G,label:Y,InputLabelProps:X}=n,K=(0,o.A)(n,x),Z=i.useRef(null),J=(0,c.A)(t,Z),Q=(0,d.A)(W),ee=q&&Q?`${Q}-helper-text`:void 0,te=Y&&Q?`${Q}-label`:void 0,ne=(0,r.A)({},n,{color:v,disabled:y,error:_,focused:F,required:k,variant:S}),re=(e=>{const{focused:t,disabled:n,classes:r,required:o}=e,i={root:["root",t&&!n&&"focused",n&&"disabled",o&&"required"]};return(0,u.A)(i,m.d,r)})(ne),oe=w[S];return(0,b.jsxs)(A,(0,r.A)({className:(0,a.A)(re.root,g),ref:J,focused:F,onFocus:s,onBlur:h,disabled:y,variant:S,error:_,color:v,fullWidth:V,required:k,ownerState:ne},K,{children:[(0,b.jsx)(p.A,(0,r.A)({htmlFor:Q,id:te},X,{children:Y})),(0,b.jsx)(oe,(0,r.A)({elements:O,areAllSectionsEmpty:E,onClick:D,onKeyDown:R,onInput:N,onPaste:I,endAdornment:L,startAdornment:j,tabIndex:$,contentEditable:z,value:B,onChange:H,id:Q,fullWidth:V,inputProps:T,inputRef:M,sectionListRef:P,label:Y,name:U,role:"group","aria-labelledby":te},C)),q&&(0,b.jsx)(f.A,(0,r.A)({id:ee},G,{children:q}))]}))}))},69193:function(e,t,n){"use strict";n.d(t,{d:function(){return o},f:function(){return i}});var r=n(31609);function o(e){return(0,r.Ay)("MuiPickersTextField",e)}const i=(0,n(38413).A)("MuiPickersTextField",["root","focused","disabled","error","required"])},50690:function(e,t,n){"use strict";n.d(t,{a:function(){return ie}});var r=n(58168),o=n(98587),i=n(96540),a=n(34164),s=n(11848),l=n(3541),c=n(75659),u=n(34661),d=n(29881),p=n(69490),f=n(92821),h=n(95878),m=n(93703),g=n(50117),v=n(81593),y=n(84895),b=n(19455),x=n(33551),w=n(21529);const A=220,_=36,S={x:A/2,y:A/2},k=S.x-S.x,C=0-S.y,T=(e,t,n)=>{const r=t-S.x,o=n-S.y,i=Math.atan2(k,C)-Math.atan2(r,o);let a=i*(180/Math.PI);a=Math.round(a/e)*e,a%=360;const s=r**2+o**2;return{value:Math.floor(a/e)||0,distance:Math.sqrt(s)}};var M=n(32127),P=n(74848);const O=["className","hasSelected","isInner","type","viewValue"],E=e=>{const{classes:t}=e;return(0,c.A)({root:["root"],thumb:["thumb"]},M.w,t)},D=(0,s.Ay)("div",{name:"MuiClockPointer",slot:"Root",overridesResolver:(e,t)=>t.root})((({theme:e})=>({width:2,backgroundColor:(e.vars||e).palette.primary.main,position:"absolute",left:"calc(50% - 1px)",bottom:"50%",transformOrigin:"center bottom 0px",variants:[{props:{shouldAnimate:!0},style:{transition:e.transitions.create(["transform","height"])}}]}))),R=(0,s.Ay)("div",{name:"MuiClockPointer",slot:"Thumb",overridesResolver:(e,t)=>t.thumb})((({theme:e})=>({width:4,height:4,backgroundColor:(e.vars||e).palette.primary.contrastText,borderRadius:"50%",position:"absolute",top:-21,left:"calc(50% - 18px)",border:`16px solid ${(e.vars||e).palette.primary.main}`,boxSizing:"content-box",variants:[{props:{hasSelected:!0},style:{backgroundColor:(e.vars||e).palette.primary.main}}]})));function I(e){const t=(0,l.A)({props:e,name:"MuiClockPointer"}),{className:n,isInner:s,type:c,viewValue:u}=t,d=(0,o.A)(t,O),p=i.useRef(c);i.useEffect((()=>{p.current=c}),[c]);const f=(0,r.A)({},t,{shouldAnimate:p.current!==c}),h=E(f);return(0,P.jsx)(D,(0,r.A)({style:(()=>{let e=360/("hours"===c?12:60)*u;return"hours"===c&&u>12&&(e-=360),{height:Math.round((s?.26:.4)*A),transform:`rotateZ(${e}deg)`}})(),className:(0,a.A)(n,h.root),ownerState:f},d,{children:(0,P.jsx)(R,{ownerState:f,className:h.thumb})}))}var N=n(12454),L=n(23887);const j=(0,s.Ay)("div",{name:"MuiClock",slot:"Root",overridesResolver:(e,t)=>t.root})((({theme:e})=>({display:"flex",justifyContent:"center",alignItems:"center",margin:e.spacing(2)}))),$=(0,s.Ay)("div",{name:"MuiClock",slot:"Clock",overridesResolver:(e,t)=>t.clock})({backgroundColor:"rgba(0,0,0,.07)",borderRadius:"50%",height:220,width:220,flexShrink:0,position:"relative",pointerEvents:"none"}),z=(0,s.Ay)("div",{name:"MuiClock",slot:"Wrapper",overridesResolver:(e,t)=>t.wrapper})({"&:focus":{outline:"none"}}),F=(0,s.Ay)("div",{name:"MuiClock",slot:"SquareMask",overridesResolver:(e,t)=>t.squareMask})({width:"100%",height:"100%",position:"absolute",pointerEvents:"auto",outline:0,touchAction:"none",userSelect:"none",variants:[{props:{disabled:!1},style:{"@media (pointer: fine)":{cursor:"pointer",borderRadius:"50%"},"&:active":{cursor:"move"}}}]}),B=(0,s.Ay)("div",{name:"MuiClock",slot:"Pin",overridesResolver:(e,t)=>t.pin})((({theme:e})=>({width:6,height:6,borderRadius:"50%",backgroundColor:(e.vars||e).palette.primary.main,position:"absolute",top:"50%",left:"50%",transform:"translate(-50%, -50%)"}))),H=(0,s.Ay)(b.A,{name:"MuiClock",slot:"AmButton",overridesResolver:(e,t)=>t.amButton})((({theme:e})=>({zIndex:1,position:"absolute",bottom:8,left:8,paddingLeft:4,paddingRight:4,width:_,variants:[{props:{meridiemMode:"am"},style:{backgroundColor:(e.vars||e).palette.primary.main,color:(e.vars||e).palette.primary.contrastText,"&:hover":{backgroundColor:(e.vars||e).palette.primary.light}}}]}))),V=(0,s.Ay)(b.A,{name:"MuiClock",slot:"PmButton",overridesResolver:(e,t)=>t.pmButton})((({theme:e})=>({zIndex:1,position:"absolute",bottom:8,right:8,paddingLeft:4,paddingRight:4,width:_,variants:[{props:{meridiemMode:"pm"},style:{backgroundColor:(e.vars||e).palette.primary.main,color:(e.vars||e).palette.primary.contrastText,"&:hover":{backgroundColor:(e.vars||e).palette.primary.light}}}]}))),W=(0,s.Ay)(x.A,{name:"MuiClock",slot:"meridiemText",overridesResolver:(e,t)=>t.meridiemText})({overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"});function U(e){const t=(0,l.A)({props:e,name:"MuiClock"}),{ampm:n,ampmInClock:r,autoFocus:o,children:s,value:u,handleMeridiemChange:f,isTimeDisabled:h,meridiemMode:m,minutesStep:g=1,onChange:v,selectedId:y,type:b,viewValue:x,disabled:S=!1,readOnly:k,className:C}=t,M=t,O=(0,p.hc)(),E=(0,d.b)(),D=i.useRef(!1),R=(e=>{const{classes:t}=e;return(0,c.A)({root:["root"],clock:["clock"],wrapper:["wrapper"],squareMask:["squareMask"],pin:["pin"],amButton:["amButton"],pmButton:["pmButton"],meridiemText:["meridiemText"]},N.D,t)})(M),U=h(x,b),q=!n&&"hours"===b&&(x<1||x>12),G=(e,t)=>{S||k||h(e,b)||v(e,t)},Y=(e,t)=>{let{offsetX:r,offsetY:o}=e;if(void 0===r){const t=e.target.getBoundingClientRect();r=e.changedTouches[0].clientX-t.left,o=e.changedTouches[0].clientY-t.top}const i="seconds"===b||"minutes"===b?((e,t,n=1)=>{const r=6*n;let{value:o}=T(r,e,t);return o=o*n%60,o})(r,o,g):((e,t,n)=>{const{value:r,distance:o}=T(30,e,t);let i=r||12;return n?i%=12:o<A/2-_&&(i+=12,i%=24),i})(r,o,Boolean(n));G(i,t)},X=i.useMemo((()=>"hours"===b||x%5==0),[b,x]),K="minutes"===b?g:1,Z=i.useRef(null);(0,w.A)((()=>{o&&Z.current.focus()}),[o]);return(0,P.jsxs)(j,{className:(0,a.A)(C,R.root),children:[(0,P.jsxs)($,{className:R.clock,children:[(0,P.jsx)(F,{onTouchMove:e=>{D.current=!0,Y(e,"shallow")},onTouchEnd:e=>{D.current&&(Y(e,"finish"),D.current=!1)},onMouseUp:e=>{D.current&&(D.current=!1),Y(e.nativeEvent,"finish")},onMouseMove:e=>{e.buttons>0&&Y(e.nativeEvent,"shallow")},ownerState:{disabled:S},className:R.squareMask}),!U&&(0,P.jsxs)(i.Fragment,{children:[(0,P.jsx)(B,{className:R.pin}),null!=u&&(0,P.jsx)(I,{type:b,viewValue:x,isInner:q,hasSelected:X})]}),(0,P.jsx)(z,{"aria-activedescendant":y,"aria-label":E.clockLabelText(b,u,O),ref:Z,role:"listbox",onKeyDown:e=>{if(!D.current)switch(e.key){case"Home":G(0,"partial"),e.preventDefault();break;case"End":G("minutes"===b?59:23,"partial"),e.preventDefault();break;case"ArrowUp":G(x+K,"partial"),e.preventDefault();break;case"ArrowDown":G(x-K,"partial"),e.preventDefault()}},tabIndex:0,className:R.wrapper,children:s})]}),n&&r&&(0,P.jsxs)(i.Fragment,{children:[(0,P.jsx)(H,{onClick:k?void 0:()=>f("am"),disabled:S||null===m,ownerState:M,className:R.amButton,title:(0,L._S)(O,"am"),children:(0,P.jsx)(W,{variant:"caption",className:R.meridiemText,children:(0,L._S)(O,"am")})}),(0,P.jsx)(V,{disabled:S||null===m,onClick:k?void 0:()=>f("pm"),ownerState:M,className:R.pmButton,title:(0,L._S)(O,"pm"),children:(0,P.jsx)(W,{variant:"caption",className:R.meridiemText,children:(0,L._S)(O,"pm")})})]})]})}var q=n(72713);const G=["className","disabled","index","inner","label","selected"],Y=(0,s.Ay)("span",{name:"MuiClockNumber",slot:"Root",overridesResolver:(e,t)=>[t.root,{[`&.${q.q.disabled}`]:t.disabled},{[`&.${q.q.selected}`]:t.selected}]})((({theme:e})=>({height:_,width:_,position:"absolute",left:"calc((100% - 36px) / 2)",display:"inline-flex",justifyContent:"center",alignItems:"center",borderRadius:"50%",color:(e.vars||e).palette.text.primary,fontFamily:e.typography.fontFamily,"&:focused":{backgroundColor:(e.vars||e).palette.background.paper},[`&.${q.q.selected}`]:{color:(e.vars||e).palette.primary.contrastText},[`&.${q.q.disabled}`]:{pointerEvents:"none",color:(e.vars||e).palette.text.disabled},variants:[{props:{inner:!0},style:(0,r.A)({},e.typography.body2,{color:(e.vars||e).palette.text.secondary})}]})));function X(e){const t=(0,l.A)({props:e,name:"MuiClockNumber"}),{className:n,disabled:i,index:s,inner:u,label:d,selected:p}=t,f=(0,o.A)(t,G),h=t,m=(e=>{const{classes:t,selected:n,disabled:r}=e,o={root:["root",n&&"selected",r&&"disabled"]};return(0,c.A)(o,q.E,t)})(h),g=s%12/12*Math.PI*2-Math.PI/2,v=(A-_-2)/2*(u?.65:1),y=Math.round(Math.cos(g)*v),b=Math.round(Math.sin(g)*v);return(0,P.jsx)(Y,(0,r.A)({className:(0,a.A)(n,m.root),"aria-disabled":!!i||void 0,"aria-selected":!!p||void 0,role:"option",style:{transform:`translate(${y}px, ${b+(A-_)/2}px`},ownerState:h},f,{children:d}))}const K=({ampm:e,value:t,getClockNumberText:n,isDisabled:r,selectedId:o,utils:i})=>{const a=t?i.getHours(t):null,s=[],l=e?12:23,c=t=>null!==a&&(e?12===t?12===a||0===a:a===t||a-12===t:a===t);for(let t=e?1:0;t<=l;t+=1){let a=t.toString();0===t&&(a="00");const l=!e&&(0===t||t>12);a=i.formatNumber(a);const u=c(t);s.push((0,P.jsx)(X,{id:u?o:void 0,index:t,inner:l,selected:u,disabled:r(t),label:a,"aria-label":n(a)},t))}return s},Z=({utils:e,value:t,isDisabled:n,getClockNumberText:r,selectedId:o})=>{const i=e.formatNumber;return[[5,i("05")],[10,i("10")],[15,i("15")],[20,i("20")],[25,i("25")],[30,i("30")],[35,i("35")],[40,i("40")],[45,i("45")],[50,i("50")],[55,i("55")],[0,i("00")]].map((([e,i],a)=>{const s=e===t;return(0,P.jsx)(X,{label:i,id:s?o:void 0,index:a+1,inner:!1,disabled:n(e),selected:s,"aria-label":r(i)},e)}))};var J=n(33059),Q=n(16566),ee=n(65654);const te=["ampm","ampmInClock","autoFocus","slots","slotProps","value","defaultValue","referenceDate","disableIgnoringDatePartForTimeValidation","maxTime","minTime","disableFuture","disablePast","minutesStep","shouldDisableTime","showViewSwitcher","onChange","view","views","openTo","onViewChange","focusedView","onFocusedViewChange","className","disabled","readOnly","timezone"],ne=(0,s.Ay)(v.I,{name:"MuiTimeClock",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"flex",flexDirection:"column",position:"relative"}),re=(0,s.Ay)(f.Y,{name:"MuiTimeClock",slot:"ArrowSwitcher",overridesResolver:(e,t)=>t.arrowSwitcher})({position:"absolute",right:12,top:15}),oe=["hours","minutes"],ie=i.forwardRef((function(e,t){const n=(0,p.hc)(),s=(0,l.A)({props:e,name:"MuiTimeClock"}),{ampm:f=n.is12HourCycleInCurrentLocale(),ampmInClock:v=!1,autoFocus:b,slots:x,slotProps:w,value:A,defaultValue:_,referenceDate:S,disableIgnoringDatePartForTimeValidation:k=!1,maxTime:C,minTime:T,disableFuture:M,disablePast:O,minutesStep:E=1,shouldDisableTime:D,showViewSwitcher:R,onChange:I,view:N,views:L=oe,openTo:j,onViewChange:$,focusedView:z,onFocusedViewChange:F,className:B,disabled:H,readOnly:V,timezone:W}=s,q=(0,o.A)(s,te),{value:G,handleValueChange:Y,timezone:X}=(0,J.Y)({name:"TimeClock",timezone:W,value:A,defaultValue:_,onChange:I,valueManager:Q.W}),ie=(0,ee.T)({value:G,referenceDate:S,utils:n,props:s,timezone:X}),ae=(0,d.b)(),se=(0,p.cB)(X),{view:le,setView:ce,previousView:ue,nextView:de,setValueAndGoToNextView:pe}=(0,m.o)({view:N,views:L,openTo:j,onViewChange:$,onChange:Y,focusedView:z,onFocusedViewChange:F}),{meridiemMode:fe,handleMeridiemChange:he}=(0,g.r7)(ie,f,pe),me=i.useCallback(((e,t)=>{const r=(0,h.iF)(k,n),o="hours"===t||"minutes"===t&&L.includes("seconds"),i=({start:e,end:t})=>(!T||!r(T,t))&&((!C||!r(e,C))&&((!M||!r(e,se))&&(!O||!r(se,o?t:e)))),a=(e,r=1)=>{if(e%r!=0)return!1;if(D)switch(t){case"hours":return!D(n.setHours(ie,e),"hours");case"minutes":return!D(n.setMinutes(ie,e),"minutes");case"seconds":return!D(n.setSeconds(ie,e),"seconds");default:return!1}return!0};switch(t){case"hours":{const t=(0,h.gY)(e,fe,f),r=n.setHours(ie,t);return!i({start:n.setSeconds(n.setMinutes(r,0),0),end:n.setSeconds(n.setMinutes(r,59),59)})||!a(t)}case"minutes":{const t=n.setMinutes(ie,e);return!i({start:n.setSeconds(t,0),end:n.setSeconds(t,59)})||!a(e,E)}case"seconds":{const t=n.setSeconds(ie,e);return!i({start:t,end:t})||!a(e)}default:throw new Error("not supported")}}),[f,ie,k,C,fe,T,E,D,n,M,O,se,L]),ge=(0,u.A)(),ve=i.useMemo((()=>{switch(le){case"hours":{const e=(e,t)=>{const r=(0,h.gY)(e,fe,f);pe(n.setHours(ie,r),t,"hours")};return{onChange:e,viewValue:n.getHours(ie),children:K({value:G,utils:n,ampm:f,onChange:e,getClockNumberText:ae.hoursClockNumberText,isDisabled:e=>H||me(e,"hours"),selectedId:ge})}}case"minutes":{const e=n.getMinutes(ie),t=(e,t)=>{pe(n.setMinutes(ie,e),t,"minutes")};return{viewValue:e,onChange:t,children:Z({utils:n,value:e,onChange:t,getClockNumberText:ae.minutesClockNumberText,isDisabled:e=>H||me(e,"minutes"),selectedId:ge})}}case"seconds":{const e=n.getSeconds(ie),t=(e,t)=>{pe(n.setSeconds(ie,e),t,"seconds")};return{viewValue:e,onChange:t,children:Z({utils:n,value:e,onChange:t,getClockNumberText:ae.secondsClockNumberText,isDisabled:e=>H||me(e,"seconds"),selectedId:ge})}}default:throw new Error("You must provide the type for ClockView")}}),[le,n,G,f,ae.hoursClockNumberText,ae.minutesClockNumberText,ae.secondsClockNumberText,fe,pe,ie,me,ge,H]),ye=s,be=(e=>{const{classes:t}=e;return(0,c.A)({root:["root"],arrowSwitcher:["arrowSwitcher"]},y.Y,t)})(ye);return(0,P.jsxs)(ne,(0,r.A)({ref:t,className:(0,a.A)(be.root,B),ownerState:ye},q,{children:[(0,P.jsx)(U,(0,r.A)({autoFocus:b??!!z,ampmInClock:v&&L.includes("hours"),value:G,type:le,ampm:f,minutesStep:E,isTimeDisabled:me,meridiemMode:fe,handleMeridiemChange:he,selectedId:ge,disabled:H,readOnly:V},ve)),R&&(0,P.jsx)(re,{className:be.arrowSwitcher,slots:x,slotProps:w,onGoToPrevious:()=>ce(ue),isPreviousDisabled:!ue,previousLabel:ae.openPreviousView,onGoToNext:()=>ce(de),isNextDisabled:!de,nextLabel:ae.openNextView,ownerState:ye})]}))}))},12454:function(e,t,n){"use strict";n.d(t,{D:function(){return o},N:function(){return i}});var r=n(31609);function o(e){return(0,r.Ay)("MuiClock",e)}const i=(0,n(38413).A)("MuiClock",["root","clock","wrapper","squareMask","pin","amButton","pmButton","meridiemText"])},72713:function(e,t,n){"use strict";n.d(t,{E:function(){return o},q:function(){return i}});var r=n(31609);function o(e){return(0,r.Ay)("MuiClockNumber",e)}const i=(0,n(38413).A)("MuiClockNumber",["root","selected","disabled"])},32127:function(e,t,n){"use strict";n.d(t,{S:function(){return i},w:function(){return o}});var r=n(31609);function o(e){return(0,r.Ay)("MuiClockPointer",e)}const i=(0,n(38413).A)("MuiClockPointer",["root","thumb"])},84895:function(e,t,n){"use strict";n.d(t,{G:function(){return i},Y:function(){return o}});var r=n(31609);function o(e){return(0,r.Ay)("MuiTimeClock",e)}const i=(0,n(38413).A)("MuiTimeClock",["root","arrowSwitcher"])},88731:function(e,t,n){"use strict";n.d(t,{Q:function(){return m}});var r=n(58168),o=n(98587),i=n(96540),a=n(1043),s=n(3541),l=n(17315),c=n(72312),u=n(57655),d=n(8473),p=n(76879),f=n(74848);const h=["slots","slotProps","InputProps","inputProps"],m=i.forwardRef((function(e,t){const n=(0,s.A)({props:e,name:"MuiTimeField"}),{slots:i,slotProps:m,InputProps:g,inputProps:v}=n,y=(0,o.A)(n,h),b=n,x=i?.textField??(e.enableAccessibleFieldDOMStructure?d.X:a.A),w=(0,l.Q)({elementType:x,externalSlotProps:m?.textField,externalForwardedProps:y,ownerState:b,additionalProps:{ref:t}});w.inputProps=(0,r.A)({},v,w.inputProps),w.InputProps=(0,r.A)({},g,w.InputProps);const A=(0,c.p)(w),_=(0,p.h)(A),S=(0,u.Z)((0,r.A)({},_,{slots:i,slotProps:m}));return(0,f.jsx)(x,(0,r.A)({},S))}))},72312:function(e,t,n){"use strict";n.d(t,{p:function(){return l}});var r=n(16566),o=n(82579),i=n(71724),a=n(54274),s=n(9599);const l=e=>{const t=(0,s.EO)(e),{forwardedProps:n,internalProps:l}=(0,a.D)(t,"time");return(0,o.M)({forwardedProps:n,internalProps:l,valueManager:r.W,fieldValueManager:r.o,validator:i.i,valueType:"time"})}},5004:function(e,t,n){"use strict";n.d(t,{b:function(){return C}});var r=n(58168),o=n(98587),i=(n(96540),n(34164)),a=n(73788),s=n(11848),l=n(3541),c=n(75659),u=n(28997),d=n(8934),p=n(6498),f=n(24034),h=n(29881),m=n(69490),g=n(50117),v=n(80614),y=n(23887),b=n(74848);const x=["ampm","ampmInClock","value","isLandscape","onChange","view","onViewChange","views","disabled","readOnly","className"],w=e=>{const{isLandscape:t,classes:n,isRtl:r}=e,o={root:["root"],separator:["separator"],hourMinuteLabel:["hourMinuteLabel",t&&"hourMinuteLabelLandscape",r&&"hourMinuteLabelReverse"],ampmSelection:["ampmSelection",t&&"ampmLandscape"],ampmLabel:["ampmLabel"]};return(0,c.A)(o,v.j,n)},A=(0,s.Ay)(p.Z,{name:"MuiTimePickerToolbar",slot:"Root",overridesResolver:(e,t)=>t.root})({}),_=(0,s.Ay)(u.k,{name:"MuiTimePickerToolbar",slot:"Separator",overridesResolver:(e,t)=>t.separator})({outline:0,margin:"0 4px 0 2px",cursor:"default"}),S=(0,s.Ay)("div",{name:"MuiTimePickerToolbar",slot:"HourMinuteLabel",overridesResolver:(e,t)=>[{[`&.${v.n.hourMinuteLabelLandscape}`]:t.hourMinuteLabelLandscape,[`&.${v.n.hourMinuteLabelReverse}`]:t.hourMinuteLabelReverse},t.hourMinuteLabel]})({display:"flex",justifyContent:"flex-end",alignItems:"flex-end",variants:[{props:{isRtl:!0},style:{flexDirection:"row-reverse"}},{props:{isLandscape:!0},style:{marginTop:"auto"}}]}),k=(0,s.Ay)("div",{name:"MuiTimePickerToolbar",slot:"AmPmSelection",overridesResolver:(e,t)=>[{[`.${v.n.ampmLabel}`]:t.ampmLabel},{[`&.${v.n.ampmLandscape}`]:t.ampmLandscape},t.ampmSelection]})({display:"flex",flexDirection:"column",marginRight:"auto",marginLeft:12,[`& .${v.n.ampmLabel}`]:{fontSize:17},variants:[{props:{isLandscape:!0},style:{margin:"4px 0 auto",flexDirection:"row",justifyContent:"space-around",flexBasis:"100%"}}]});function C(e){const t=(0,l.A)({props:e,name:"MuiTimePickerToolbar"}),{ampm:n,ampmInClock:s,value:c,isLandscape:u,onChange:p,view:v,onViewChange:C,views:T,disabled:M,readOnly:P,className:O}=t,E=(0,o.A)(t,x),D=(0,m.hc)(),R=(0,h.b)(),I=(0,a.I)(),N=Boolean(n&&!s&&T.includes("hours")),{meridiemMode:L,handleMeridiemChange:j}=(0,g.r7)(c,n,p),$=(0,r.A)({},t,{isRtl:I}),z=w($),F=(0,b.jsx)(_,{tabIndex:-1,value:":",variant:"h3",selected:!1,className:z.separator});return(0,b.jsxs)(A,(0,r.A)({landscapeDirection:"row",toolbarTitle:R.timePickerToolbarTitle,isLandscape:u,ownerState:$,className:(0,i.A)(z.root,O)},E,{children:[(0,b.jsxs)(S,{className:z.hourMinuteLabel,ownerState:$,children:[(0,f.Xk)(T,"hours")&&(0,b.jsx)(d.R,{tabIndex:-1,variant:"h3",onClick:()=>C("hours"),selected:"hours"===v,value:c?(B=c,n?D.format(B,"hours12h"):D.format(B,"hours24h")):"--"}),(0,f.Xk)(T,["hours","minutes"])&&F,(0,f.Xk)(T,"minutes")&&(0,b.jsx)(d.R,{tabIndex:-1,variant:"h3",onClick:()=>C("minutes"),selected:"minutes"===v,value:c?D.format(c,"minutes"):"--"}),(0,f.Xk)(T,["minutes","seconds"])&&F,(0,f.Xk)(T,"seconds")&&(0,b.jsx)(d.R,{variant:"h3",onClick:()=>C("seconds"),selected:"seconds"===v,value:c?D.format(c,"seconds"):"--"})]}),N&&(0,b.jsxs)(k,{className:z.ampmSelection,ownerState:$,children:[(0,b.jsx)(d.R,{disableRipple:!0,variant:"subtitle2",selected:"am"===L,typographyClassName:z.ampmLabel,value:(0,y._S)(D,"am"),onClick:P?void 0:()=>j("am"),disabled:M}),(0,b.jsx)(d.R,{disableRipple:!0,variant:"subtitle2",selected:"pm"===L,typographyClassName:z.ampmLabel,value:(0,y._S)(D,"pm"),onClick:P?void 0:()=>j("pm"),disabled:M})]})]}));var B}},773:function(e,t,n){"use strict";n.r(t),n.d(t,{TimePicker:function(){return f},TimePickerToolbar:function(){return h.b},timePickerToolbarClasses:function(){return m.n}});var r=n(58168),o=n(98587),i=n(96540),a=n(37708),s=n(3541),l=n(31131),c=n(81491),u=n(24034),d=n(74848);const p=["desktopModeMediaQuery"],f=i.forwardRef((function(e,t){const n=(0,s.A)({props:e,name:"MuiTimePicker"}),{desktopModeMediaQuery:i=u.jX}=n,f=(0,o.A)(n,p);return(0,a.A)(i,{defaultMatches:!0})?(0,d.jsx)(l.U,(0,r.A)({ref:t},f)):(0,d.jsx)(c.o,(0,r.A)({ref:t},f))}));var h=n(5004),m=n(80614)},23297:function(e,t,n){"use strict";n.d(t,{k:function(){return c}});var r=n(58168),o=n(96540),i=n(3541),a=n(69490),s=n(5004),l=n(34469);function c(e,t){const n=(0,a.hc)(),c=(0,i.A)({props:e,name:t}),u=c.ampm??n.is12HourCycleInCurrentLocale(),d=o.useMemo((()=>null==c.localeText?.toolbarTitle?c.localeText:(0,r.A)({},c.localeText,{timePickerToolbarTitle:c.localeText.toolbarTitle})),[c.localeText]);return(0,r.A)({},c,{ampm:u,localeText:d},(0,l.R)({views:c.views,openTo:c.openTo,defaultViews:["hours","minutes"],defaultOpenTo:"hours"}),{disableFuture:c.disableFuture??!1,disablePast:c.disablePast??!1,slots:(0,r.A)({toolbar:s.b},c.slots),slotProps:(0,r.A)({},c.slotProps,{toolbar:(0,r.A)({ampm:u,ampmInClock:c.ampmInClock},c.slotProps?.toolbar)})})}},80614:function(e,t,n){"use strict";n.d(t,{j:function(){return o},n:function(){return i}});var r=n(31609);function o(e){return(0,r.Ay)("MuiTimePickerToolbar",e)}const i=(0,n(38413).A)("MuiTimePickerToolbar",["root","separator","hourMinuteLabel","hourMinuteLabelLandscape","hourMinuteLabelReverse","ampmSelection","ampmLandscape","ampmLabel"])},82452:function(e,t,n){"use strict";n.d(t,{i:function(){return D}});var r=n(98587),o=n(58168),i=n(96540),a=n(34164),s=n(73788),l=n(3541),c=n(11848),u=n(75659),d=n(2501),p=n(93928),f=n(31523),h=n(24279),m=n(17315),g=n(21529),v=n(66986),y=n(74848);const b=["autoFocus","className","children","disabled","selected","value","tabIndex","onClick","onKeyDown","onFocus","onBlur","aria-current","yearsPerRow","slots","slotProps"],x=(0,c.Ay)("div",{name:"MuiPickersYear",slot:"Root",overridesResolver:(e,t)=>[t.root]})({display:"flex",alignItems:"center",justifyContent:"center",flexBasis:"33.3%",variants:[{props:{yearsPerRow:4},style:{flexBasis:"25%"}}]}),w=(0,c.Ay)("button",{name:"MuiPickersYear",slot:"YearButton",overridesResolver:(e,t)=>[t.yearButton,{[`&.${v.z.disabled}`]:t.disabled},{[`&.${v.z.selected}`]:t.selected}]})((({theme:e})=>(0,o.A)({color:"unset",backgroundColor:"transparent",border:0,outline:0},e.typography.subtitle1,{margin:"6px 0",height:36,width:72,borderRadius:18,cursor:"pointer","&:focus":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.focusOpacity})`:(0,h.X4)(e.palette.action.active,e.palette.action.focusOpacity)},"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,h.X4)(e.palette.action.active,e.palette.action.hoverOpacity)},"&:disabled":{cursor:"auto",pointerEvents:"none"},[`&.${v.z.disabled}`]:{color:(e.vars||e).palette.text.secondary},[`&.${v.z.selected}`]:{color:(e.vars||e).palette.primary.contrastText,backgroundColor:(e.vars||e).palette.primary.main,"&:focus, &:hover":{backgroundColor:(e.vars||e).palette.primary.dark}}}))),A=i.memo((function(e){const t=(0,l.A)({props:e,name:"MuiPickersYear"}),{autoFocus:n,className:s,children:c,disabled:d,selected:p,value:f,tabIndex:h,onClick:A,onKeyDown:_,onFocus:S,onBlur:k,"aria-current":C,slots:T,slotProps:M}=t,P=(0,r.A)(t,b),O=i.useRef(null),E=(e=>{const{disabled:t,selected:n,classes:r}=e,o={root:["root"],yearButton:["yearButton",t&&"disabled",n&&"selected"]};return(0,u.A)(o,v.X,r)})(t);(0,g.A)((()=>{n&&O.current?.focus()}),[n]);const D=T?.yearButton??w,R=(0,m.Q)({elementType:D,externalSlotProps:M?.yearButton,additionalProps:{children:c,disabled:d,tabIndex:h,ref:O,type:"button",role:"radio","aria-current":C,"aria-checked":p,onClick:e=>A(e,f),onKeyDown:e=>_(e,f),onFocus:e=>S(e,f),onBlur:e=>k(e,f)},ownerState:t,className:E.yearButton});return(0,y.jsx)(x,(0,o.A)({className:(0,a.A)(E.root,s),ownerState:t},P,{children:(0,y.jsx)(D,(0,o.A)({},R))}))}));var _=n(69490),S=n(48443),k=n(23887),C=n(16566),T=n(78401),M=n(33059),P=n(31886);const O=["autoFocus","className","value","defaultValue","referenceDate","disabled","disableFuture","disablePast","maxDate","minDate","onChange","readOnly","shouldDisableYear","disableHighlightToday","onYearFocus","hasFocus","onFocusedViewChange","yearsPerRow","timezone","gridLabelId","slots","slotProps"];const E=(0,c.Ay)("div",{name:"MuiYearCalendar",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"flex",flexDirection:"row",flexWrap:"wrap",overflowY:"auto",height:"100%",padding:"0 4px",width:P.eX,maxHeight:P.Yq,boxSizing:"border-box",position:"relative"}),D=i.forwardRef((function(e,t){const n=function(e,t){const n=(0,_.hc)(),r=(0,_.Yg)(),i=(0,l.A)({props:e,name:t});return(0,o.A)({disablePast:!1,disableFuture:!1},i,{yearsPerRow:i.yearsPerRow??3,minDate:(0,k.IP)(n,i.minDate,r.minDate),maxDate:(0,k.IP)(n,i.maxDate,r.maxDate)})}(e,"MuiYearCalendar"),{autoFocus:c,className:h,value:m,defaultValue:g,referenceDate:v,disabled:b,disableFuture:x,disablePast:w,maxDate:P,minDate:D,onChange:R,readOnly:I,shouldDisableYear:N,onYearFocus:L,hasFocus:j,onFocusedViewChange:$,yearsPerRow:z,timezone:F,gridLabelId:B,slots:H,slotProps:V}=n,W=(0,r.A)(n,O),{value:U,handleValueChange:q,timezone:G}=(0,M.Y)({name:"YearCalendar",timezone:F,value:m,defaultValue:g,onChange:R,valueManager:C.W}),Y=(0,_.cB)(G),X=(0,s.I)(),K=(0,_.hc)(),Z=i.useMemo((()=>C.W.getInitialReferenceValue({value:U,utils:K,props:n,timezone:G,referenceDate:v,granularity:T.yX.year})),[]),J=n,Q=(e=>{const{classes:t}=e;return(0,u.A)({root:["root"]},S.o,t)})(J),ee=i.useMemo((()=>K.getYear(Y)),[K,Y]),te=i.useMemo((()=>null!=U?K.getYear(U):null),[U,K]),[ne,re]=i.useState((()=>te||K.getYear(Z))),[oe,ie]=(0,d.A)({name:"YearCalendar",state:"hasFocus",controlled:j,default:c??!1}),ae=(0,p.A)((e=>{ie(e),$&&$(e)})),se=i.useCallback((e=>{if(w&&K.isBeforeYear(e,Y))return!0;if(x&&K.isAfterYear(e,Y))return!0;if(D&&K.isBeforeYear(e,D))return!0;if(P&&K.isAfterYear(e,P))return!0;if(!N)return!1;const t=K.startOfYear(e);return N(t)}),[x,w,P,D,Y,N,K]),le=(0,p.A)(((e,t)=>{if(I)return;const n=K.setYear(U??Z,t);q(n)})),ce=(0,p.A)((e=>{se(K.setYear(U??Z,e))||(re(e),ae(!0),L?.(e))}));i.useEffect((()=>{re((e=>null!==te&&e!==te?te:e))}),[te]);const ue=(0,p.A)(((e,t)=>{switch(e.key){case"ArrowUp":ce(t-z),e.preventDefault();break;case"ArrowDown":ce(t+z),e.preventDefault();break;case"ArrowLeft":ce(t+(X?1:-1)),e.preventDefault();break;case"ArrowRight":ce(t+(X?-1:1)),e.preventDefault()}})),de=(0,p.A)(((e,t)=>{ce(t)})),pe=(0,p.A)(((e,t)=>{ne===t&&ae(!1)})),fe=i.useRef(null),he=(0,f.A)(t,fe);return i.useEffect((()=>{if(c||null===fe.current)return;const e=fe.current.querySelector('[tabindex="0"]');if(!e)return;const t=e.offsetHeight,n=e.offsetTop,r=fe.current.clientHeight,o=fe.current.scrollTop,i=n+t;t>r||n<o||(fe.current.scrollTop=i-r/2-t/2)}),[c]),(0,y.jsx)(E,(0,o.A)({ref:he,className:(0,a.A)(Q.root,h),ownerState:J,role:"radiogroup","aria-labelledby":B},W,{children:K.getYearRange([D,P]).map((e=>{const t=K.getYear(e),n=t===te,r=b||se(e);return(0,y.jsx)(A,{selected:n,value:t,onClick:le,onKeyDown:ue,autoFocus:oe&&t===ne,disabled:r,tabIndex:t!==ne||r?-1:0,onFocus:de,onBlur:pe,"aria-current":ee===t?"date":void 0,yearsPerRow:z,slots:H,slotProps:V,children:K.format(e,"year")},K.format(e,"year"))}))}))}))},66986:function(e,t,n){"use strict";n.d(t,{X:function(){return o},z:function(){return i}});var r=n(31609);function o(e){return(0,r.Ay)("MuiPickersYear",e)}const i=(0,n(38413).A)("MuiPickersYear",["root","yearButton","selected","disabled"])},48443:function(e,t,n){"use strict";n.d(t,{E:function(){return i},o:function(){return o}});var r=n(31609);function o(e){return(0,r.Ay)("MuiYearCalendar",e)}const i=(0,n(38413).A)("MuiYearCalendar",["root"])},37755:function(e,t,n){"use strict";n.d(t,{W:function(){return a}});n(96540);var r=n(49204),o=n(23887),i=n(74848);const a=({view:e,onViewChange:t,views:n,focusedView:a,onFocusedViewChange:s,value:l,defaultValue:c,referenceDate:u,onChange:d,className:p,classes:f,disableFuture:h,disablePast:m,minDate:g,maxDate:v,shouldDisableDate:y,shouldDisableMonth:b,shouldDisableYear:x,reduceAnimations:w,onMonthChange:A,monthsPerRow:_,onYearChange:S,yearsPerRow:k,slots:C,slotProps:T,loading:M,renderLoading:P,disableHighlightToday:O,readOnly:E,disabled:D,showDaysOutsideCurrentMonth:R,dayOfWeekFormatter:I,sx:N,autoFocus:L,fixedWeekNumber:j,displayWeekNumber:$,timezone:z})=>(0,i.jsx)(r.x,{view:e,onViewChange:t,views:n.filter(o.sC),focusedView:a&&(0,o.sC)(a)?a:null,onFocusedViewChange:s,value:l,defaultValue:c,referenceDate:u,onChange:d,className:p,classes:f,disableFuture:h,disablePast:m,minDate:g,maxDate:v,shouldDisableDate:y,shouldDisableMonth:b,shouldDisableYear:x,reduceAnimations:w,onMonthChange:A,monthsPerRow:_,onYearChange:S,yearsPerRow:k,slots:C,slotProps:T,loading:M,renderLoading:P,disableHighlightToday:O,readOnly:E,disabled:D,showDaysOutsideCurrentMonth:R,dayOfWeekFormatter:I,sx:N,autoFocus:L,fixedWeekNumber:j,displayWeekNumber:$,timezone:z})},57655:function(e,t,n){"use strict";n.d(t,{Z:function(){return h}});var r=n(58168),o=n(98587),i=n(96540),a=n(17315),s=n(19455),l=n(29153),c=n(40293),u=n(29881),d=n(74848);const p=["clearable","onClear","InputProps","sx","slots","slotProps"],f=["ownerState"],h=e=>{const t=(0,u.b)(),{clearable:n,onClear:h,InputProps:m,sx:g,slots:v,slotProps:y}=e,b=(0,o.A)(e,p),x=v?.clearButton??s.A,w=(0,a.Q)({elementType:x,externalSlotProps:y?.clearButton,ownerState:{},className:"clearButton",additionalProps:{title:t.fieldClearLabel}}),A=(0,o.A)(w,f),_=v?.clearIcon??c.vu,S=(0,a.Q)({elementType:_,externalSlotProps:y?.clearIcon,ownerState:{}});return(0,r.A)({},b,{InputProps:(0,r.A)({},m,{endAdornment:(0,d.jsxs)(i.Fragment,{children:[n&&(0,d.jsx)(l.A,{position:"end",sx:{marginRight:m?.endAdornment?-1:-1.5},children:(0,d.jsx)(x,(0,r.A)({},A,{onClick:h,children:(0,d.jsx)(_,(0,r.A)({fontSize:"small"},S))}))}),m?.endAdornment]})}),sx:[{"& .clearButton":{opacity:1},"@media (pointer: fine)":{"& .clearButton":{opacity:0},"&:hover, &:focus-within":{".clearButton":{opacity:1}}}},...Array.isArray(g)?g:[g]]})}},29881:function(e,t,n){"use strict";n.d(t,{b:function(){return o}});var r=n(69490);const o=()=>(0,r.u)().localeText},40293:function(e,t,n){"use strict";n.d(t,{A6:function(){return s},CT:function(){return c},O4:function(){return u},Z5:function(){return d},b1:function(){return p},fl:function(){return l},iV:function(){return a},vu:function(){return f}});var r=n(20561),o=n(96540),i=n(74848);const a=(0,r.A)((0,i.jsx)("path",{d:"M7 10l5 5 5-5z"}),"ArrowDropDown"),s=(0,r.A)((0,i.jsx)("path",{d:"M15.41 16.59L10.83 12l4.58-4.59L14 6l-6 6 6 6 1.41-1.41z"}),"ArrowLeft"),l=(0,r.A)((0,i.jsx)("path",{d:"M8.59 16.59L13.17 12 8.59 7.41 10 6l6 6-6 6-1.41-1.41z"}),"ArrowRight"),c=(0,r.A)((0,i.jsx)("path",{d:"M17 12h-5v5h5v-5zM16 1v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2h-1V1h-2zm3 18H5V8h14v11z"}),"Calendar"),u=(0,r.A)((0,i.jsxs)(o.Fragment,{children:[(0,i.jsx)("path",{d:"M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),(0,i.jsx)("path",{d:"M12.5 7H11v6l5.25 3.15.75-1.23-4.5-2.67z"})]}),"Clock"),d=(0,r.A)((0,i.jsx)("path",{d:"M9 11H7v2h2v-2zm4 0h-2v2h2v-2zm4 0h-2v2h2v-2zm2-7h-1V2h-2v2H8V2H6v2H5c-1.11 0-1.99.9-1.99 2L3 20c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 16H5V9h14v11z"}),"DateRange"),p=(0,r.A)((0,i.jsxs)(o.Fragment,{children:[(0,i.jsx)("path",{d:"M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),(0,i.jsx)("path",{d:"M12.5 7H11v6l5.25 3.15.75-1.23-4.5-2.67z"})]}),"Time"),f=(0,r.A)((0,i.jsx)("path",{d:"M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Clear")},5320:function(e,t,n){"use strict";n.r(t),n.d(t,{ArrowDropDownIcon:function(){return Ye.iV},ArrowLeftIcon:function(){return Ye.A6},ArrowRightIcon:function(){return Ye.fl},CalendarIcon:function(){return Ye.CT},ClearIcon:function(){return Ye.vu},ClockIcon:function(){return Ye.O4},DEFAULT_DESKTOP_MODE_MEDIA_QUERY:function(){return Ge.jX},DateCalendar:function(){return A.x},DateField:function(){return g.v},DatePicker:function(){return ee.DatePicker},DatePickerToolbar:function(){return ee.DatePickerToolbar},DateRangeIcon:function(){return Ye.Z5},DateTimeField:function(){return x.I},DateTimePicker:function(){return Ae.DateTimePicker},DateTimePickerTabs:function(){return Ae.DateTimePickerTabs},DateTimePickerToolbar:function(){return Ae.DateTimePickerToolbar},DayCalendarSkeleton:function(){return Q},DesktopDatePicker:function(){return te.T},DesktopDateTimePicker:function(){return _e.U},DesktopDateTimePickerLayout:function(){return Se.U},DesktopTimePicker:function(){return ge.U},DigitalClock:function(){return l.N},LocalizationProvider:function(){return f.$},MobileDatePicker:function(){return ne.$},MobileDateTimePicker:function(){return ke.E},MobileTimePicker:function(){return ve.o},MonthCalendar:function(){return T.T},MuiPickersAdapterContext:function(){return f.F},MultiSectionDigitalClock:function(){return u.z},PickersActionBar:function(){return Ee.L},PickersCalendarHeader:function(){return Ie.V},PickersDay:function(){return h.a},PickersFilledInput:function(){return ze.W},PickersInput:function(){return je.a},PickersInputBase:function(){return Ve.jv},PickersLayout:function(){return le.CJ},PickersLayoutContentWrapper:function(){return le.IU},PickersLayoutRoot:function(){return le.Kr},PickersOutlinedInput:function(){return Be.w},PickersShortcuts:function(){return De.f},PickersTextField:function(){return Ne.X},StaticDatePicker:function(){return he},StaticDateTimePicker:function(){return Me},StaticTimePicker:function(){return we},TimeClock:function(){return r.a},TimeField:function(){return y.Q},TimeIcon:function(){return Ye.b1},TimePicker:function(){return me.TimePicker},TimePickerToolbar:function(){return me.TimePickerToolbar},Unstable_PickersSectionList:function(){return Ue.fI},Unstable_PickersSectionListRoot:function(){return Ue.tl},Unstable_PickersSectionListSection:function(){return Ue.er},Unstable_PickersSectionListSectionContent:function(){return Ue.vK},Unstable_PickersSectionListSectionSeparator:function(){return Ue.jp},YearCalendar:function(){return O.i},clockClasses:function(){return o.N},clockNumberClasses:function(){return i.q},clockPointerClasses:function(){return s.S},dateCalendarClasses:function(){return _.r},datePickerToolbarClasses:function(){return ee.datePickerToolbarClasses},dateTimePickerTabsClasses:function(){return Ae.dateTimePickerTabsClasses},dateTimePickerToolbarClasses:function(){return Ae.dateTimePickerToolbarClasses},dayCalendarClasses:function(){return S.f},dayCalendarSkeletonClasses:function(){return U},digitalClockClasses:function(){return c.X},getDateCalendarUtilityClass:function(){return _.$},getDayCalendarSkeletonUtilityClass:function(){return W},getDigitalClockUtilityClass:function(){return c.L},getMonthCalendarUtilityClass:function(){return M.x},getMultiSectionDigitalClockUtilityClass:function(){return p.h},getPickersDayUtilityClass:function(){return m.m},getPickersFilledInputUtilityClass:function(){return Fe.u},getPickersInputBaseUtilityClass:function(){return We.l},getPickersInputUtilityClass:function(){return $e.e},getPickersOutlinedInputUtilityClass:function(){return He.G},getPickersSectionListUtilityClass:function(){return qe.b},getPickersTextFieldUtilityClass:function(){return Le.d},getTimeClockUtilityClass:function(){return a.Y},getYearCalendarUtilityClass:function(){return E.o},monthCalendarClasses:function(){return M.b},multiSectionDigitalClockClasses:function(){return p.L},multiSectionDigitalClockSectionClasses:function(){return d.w},pickersCalendarHeaderClasses:function(){return Re.H},pickersDayClasses:function(){return m.Q},pickersFadeTransitionGroupClasses:function(){return k.r},pickersFilledInputClasses:function(){return Fe.C},pickersInputBaseClasses:function(){return We.R},pickersInputClasses:function(){return $e.a},pickersLayoutClasses:function(){return Oe.k},pickersMonthClasses:function(){return P.m},pickersOutlinedInputClasses:function(){return He.q},pickersSectionListClasses:function(){return qe.T},pickersSlideTransitionClasses:function(){return C.U},pickersTextFieldClasses:function(){return Le.f},pickersYearClasses:function(){return D.z},renderDateViewCalendar:function(){return ae.W},renderDigitalClockTimeView:function(){return be.$W},renderMultiSectionDigitalClockTimeView:function(){return be.$8},renderTimeViewClock:function(){return be.Zo},timeClockClasses:function(){return a.G},timePickerToolbarClasses:function(){return me.timePickerToolbarClasses},unstable_useDateField:function(){return v.c},unstable_useDateTimeField:function(){return w.p},unstable_useTimeField:function(){return b.p},useClearableField:function(){return Xe.Z},usePickerLayout:function(){return Pe.A},usePickersTranslations:function(){return Ke.b},yearCalendarClasses:function(){return E.E}});var r=n(50690),o=n(12454),i=n(72713),a=n(84895),s=n(32127),l=n(44149),c=n(91181),u=n(37807),d=n(15160),p=n(81937),f=n(75737),h=n(63967),m=n(61099),g=n(52199),v=n(7962),y=n(88731),b=n(72312),x=n(62251),w=n(27176),A=n(49204),_=n(91645),S=n(18247),k=n(45908),C=n(35790),T=n(40648),M=n(60839),P=n(51914),O=n(82452),E=n(48443),D=n(66986),R=n(58168),I=n(98587),N=n(96540),L=n(34164),j=n(47035),$=n(11848),z=n(3541),F=n(75659),B=n(31886),H=n(31609),V=n(38413);const W=e=>(0,H.Ay)("MuiDayCalendarSkeleton",e),U=(0,V.A)("MuiDayCalendarSkeleton",["root","week","daySkeleton"]);var q=n(74848);const G=["className"],Y=e=>{const{classes:t}=e;return(0,F.A)({root:["root"],week:["week"],daySkeleton:["daySkeleton"]},W,t)},X=(0,$.Ay)("div",{name:"MuiDayCalendarSkeleton",slot:"Root",overridesResolver:(e,t)=>t.root})({alignSelf:"start"}),K=(0,$.Ay)("div",{name:"MuiDayCalendarSkeleton",slot:"Week",overridesResolver:(e,t)=>t.week})({margin:`${B.y0}px 0`,display:"flex",justifyContent:"center"}),Z=(0,$.Ay)(j.A,{name:"MuiDayCalendarSkeleton",slot:"DaySkeleton",overridesResolver:(e,t)=>t.daySkeleton})({margin:`0 ${B.y0}px`,variants:[{props:{day:0},style:{visibility:"hidden"}}]}),J=[[0,1,1,1,1,1,1],[1,1,1,1,1,1,1],[1,1,1,1,1,1,1],[1,1,1,1,1,1,1],[1,1,1,1,0,0,0]];function Q(e){const t=(0,z.A)({props:e,name:"MuiDayCalendarSkeleton"}),{className:n}=t,r=(0,I.A)(t,G),o=Y(r);return(0,q.jsx)(X,(0,R.A)({className:(0,L.A)(o.root,n)},r,{children:J.map(((e,t)=>(0,q.jsx)(K,{className:o.week,children:e.map(((e,t)=>(0,q.jsx)(Z,{variant:"circular",width:B.B3,height:B.B3,className:o.daySkeleton,ownerState:{day:e}},t)))},t)))}))}var ee=n(91178),te=n(37243),ne=n(50081),re=n(5556),oe=n.n(re),ie=n(20742),ae=n(37755),se=n(84488),le=n(631);const ce=["props","ref"],ue=(0,$.Ay)(le.CJ)((({theme:e})=>({overflow:"hidden",minWidth:B.eX,backgroundColor:(e.vars||e).palette.background.paper}))),de=e=>{let{props:t,ref:n}=e,r=(0,I.A)(e,ce);const{localeText:o,slots:i,slotProps:a,className:s,sx:l,displayStaticWrapperAs:c,autoFocus:u}=t,{layoutProps:d,renderCurrentView:p}=(0,se.k)((0,R.A)({},r,{props:t,autoFocusView:u??!1,fieldRef:void 0,additionalViewProps:{},wrapperVariant:c})),h=i?.layout??ue;return{renderPicker:()=>(0,q.jsx)(f.$,{localeText:o,children:(0,q.jsx)(h,(0,R.A)({},d,a?.layout,{slots:i,slotProps:a,sx:[...Array.isArray(l)?l:[l],...Array.isArray(a?.layout?.sx)?a.layout.sx:[a?.layout?.sx]],className:(0,L.A)(s,a?.layout?.className),ref:n,children:p()}))})}};var pe=n(64741),fe=n(16566);const he=N.forwardRef((function(e,t){const n=(0,ie.D)(e,"MuiStaticDatePicker"),r=n.displayStaticWrapperAs??"mobile",o=(0,R.A)({day:ae.W,month:ae.W,year:ae.W},n.viewRenderers),i=(0,R.A)({},n,{viewRenderers:o,displayStaticWrapperAs:r,yearsPerRow:n.yearsPerRow??("mobile"===r?3:4),slotProps:(0,R.A)({},n.slotProps,{toolbar:(0,R.A)({hidden:"desktop"===r},n.slotProps?.toolbar)})}),{renderPicker:a}=de({props:i,valueManager:fe.W,valueType:"date",validator:pe.Z,ref:t});return a()}));he.propTypes={autoFocus:oe().bool,className:oe().string,dayOfWeekFormatter:oe().func,defaultValue:oe().object,disabled:oe().bool,disableFuture:oe().bool,disableHighlightToday:oe().bool,disablePast:oe().bool,displayStaticWrapperAs:oe().oneOf(["desktop","mobile"]),displayWeekNumber:oe().bool,fixedWeekNumber:oe().number,loading:oe().bool,localeText:oe().object,maxDate:oe().object,minDate:oe().object,monthsPerRow:oe().oneOf([3,4]),onAccept:oe().func,onChange:oe().func,onClose:oe().func,onError:oe().func,onMonthChange:oe().func,onViewChange:oe().func,onYearChange:oe().func,openTo:oe().oneOf(["day","month","year"]),orientation:oe().oneOf(["landscape","portrait"]),readOnly:oe().bool,reduceAnimations:oe().bool,referenceDate:oe().object,renderLoading:oe().func,shouldDisableDate:oe().func,shouldDisableMonth:oe().func,shouldDisableYear:oe().func,showDaysOutsideCurrentMonth:oe().bool,slotProps:oe().object,slots:oe().object,sx:oe().oneOfType([oe().arrayOf(oe().oneOfType([oe().func,oe().object,oe().bool])),oe().func,oe().object]),timezone:oe().string,value:oe().object,view:oe().oneOf(["day","month","year"]),viewRenderers:oe().shape({day:oe().func,month:oe().func,year:oe().func}),views:oe().arrayOf(oe().oneOf(["day","month","year"]).isRequired),yearsPerRow:oe().oneOf([3,4])};var me=n(773),ge=n(31131),ve=n(81491),ye=n(23297),be=n(50771),xe=n(71724);const we=N.forwardRef((function(e,t){const n=(0,ye.k)(e,"MuiStaticTimePicker"),r=n.displayStaticWrapperAs??"mobile",o=n.ampmInClock??"desktop"===r,i=(0,R.A)({hours:be.Zo,minutes:be.Zo,seconds:be.Zo},n.viewRenderers),a=(0,R.A)({},n,{viewRenderers:i,displayStaticWrapperAs:r,ampmInClock:o,slotProps:(0,R.A)({},n.slotProps,{toolbar:(0,R.A)({hidden:"desktop"===r,ampmInClock:o},n.slotProps?.toolbar)})}),{renderPicker:s}=de({props:a,valueManager:fe.W,valueType:"time",validator:xe.i,ref:t});return s()}));we.propTypes={ampm:oe().bool,ampmInClock:oe().bool,autoFocus:oe().bool,className:oe().string,defaultValue:oe().object,disabled:oe().bool,disableFuture:oe().bool,disableIgnoringDatePartForTimeValidation:oe().bool,disablePast:oe().bool,displayStaticWrapperAs:oe().oneOf(["desktop","mobile"]),localeText:oe().object,maxTime:oe().object,minTime:oe().object,minutesStep:oe().number,onAccept:oe().func,onChange:oe().func,onClose:oe().func,onError:oe().func,onViewChange:oe().func,openTo:oe().oneOf(["hours","minutes","seconds"]),orientation:oe().oneOf(["landscape","portrait"]),readOnly:oe().bool,reduceAnimations:oe().bool,referenceDate:oe().object,shouldDisableTime:oe().func,slotProps:oe().object,slots:oe().object,sx:oe().oneOfType([oe().arrayOf(oe().oneOfType([oe().func,oe().object,oe().bool])),oe().func,oe().object]),timezone:oe().string,value:oe().object,view:oe().oneOf(["hours","minutes","seconds"]),viewRenderers:oe().shape({hours:oe().func,minutes:oe().func,seconds:oe().func}),views:oe().arrayOf(oe().oneOf(["hours","minutes","seconds"]).isRequired)};var Ae=n(33935),_e=n(82723),Se=n(67893),ke=n(47963),Ce=n(70333),Te=n(79696);const Me=N.forwardRef((function(e,t){const n=(0,Ce.u)(e,"MuiStaticDateTimePicker"),r=n.displayStaticWrapperAs??"mobile",o=n.ampmInClock??"desktop"===r,i=(0,R.A)({day:ae.W,month:ae.W,year:ae.W,hours:be.Zo,minutes:be.Zo,seconds:be.Zo},n.viewRenderers),a=(0,R.A)({},n,{viewRenderers:i,displayStaticWrapperAs:r,ampmInClock:o,yearsPerRow:n.yearsPerRow??("mobile"===r?3:4),slotProps:(0,R.A)({},n.slotProps,{tabs:(0,R.A)({hidden:"desktop"===r},n.slotProps?.tabs),toolbar:(0,R.A)({hidden:"desktop"===r,ampmInClock:o},n.slotProps?.toolbar)})}),{renderPicker:s}=de({props:a,valueManager:fe.W,valueType:"date-time",validator:Te.q,ref:t});return s()}));Me.propTypes={ampm:oe().bool,ampmInClock:oe().bool,autoFocus:oe().bool,className:oe().string,dayOfWeekFormatter:oe().func,defaultValue:oe().object,disabled:oe().bool,disableFuture:oe().bool,disableHighlightToday:oe().bool,disableIgnoringDatePartForTimeValidation:oe().bool,disablePast:oe().bool,displayStaticWrapperAs:oe().oneOf(["desktop","mobile"]),displayWeekNumber:oe().bool,fixedWeekNumber:oe().number,loading:oe().bool,localeText:oe().object,maxDate:oe().object,maxDateTime:oe().object,maxTime:oe().object,minDate:oe().object,minDateTime:oe().object,minTime:oe().object,minutesStep:oe().number,monthsPerRow:oe().oneOf([3,4]),onAccept:oe().func,onChange:oe().func,onClose:oe().func,onError:oe().func,onMonthChange:oe().func,onViewChange:oe().func,onYearChange:oe().func,openTo:oe().oneOf(["day","hours","minutes","month","seconds","year"]),orientation:oe().oneOf(["landscape","portrait"]),readOnly:oe().bool,reduceAnimations:oe().bool,referenceDate:oe().object,renderLoading:oe().func,shouldDisableDate:oe().func,shouldDisableMonth:oe().func,shouldDisableTime:oe().func,shouldDisableYear:oe().func,showDaysOutsideCurrentMonth:oe().bool,slotProps:oe().object,slots:oe().object,sx:oe().oneOfType([oe().arrayOf(oe().oneOfType([oe().func,oe().object,oe().bool])),oe().func,oe().object]),timezone:oe().string,value:oe().object,view:oe().oneOf(["day","hours","minutes","month","seconds","year"]),viewRenderers:oe().shape({day:oe().func,hours:oe().func,minutes:oe().func,month:oe().func,seconds:oe().func,year:oe().func}),views:oe().arrayOf(oe().oneOf(["day","hours","minutes","month","seconds","year"]).isRequired),yearsPerRow:oe().oneOf([3,4])};var Pe=n(73721),Oe=n(89827),Ee=n(29885),De=n(1909),Re=n(80199),Ie=n(43059),Ne=n(8473),Le=n(69193),je=n(15402),$e=n(84424),ze=n(49622),Fe=n(69708),Be=n(70443),He=n(98336),Ve=n(15672),We=n(9642),Ue=n(53013),qe=n(39117),Ge=n(24034),Ye=n(40293),Xe=n(57655),Ke=n(29881)},81593:function(e,t,n){"use strict";n.d(t,{I:function(){return i}});var r=n(11848),o=n(31886);const i=(0,r.Ay)("div")({overflow:"hidden",width:o.eX,maxHeight:o.Y2,display:"flex",flexDirection:"column",margin:"0 auto"})},92821:function(e,t,n){"use strict";n.d(t,{Y:function(){return S}});var r=n(58168),o=n(98587),i=n(96540),a=n(34164),s=n(33551),l=n(73788),c=n(11848),u=n(3541),d=n(75659),p=n(17315),f=n(19455),h=n(40293),m=n(31609);function g(e){return(0,m.Ay)("MuiPickersArrowSwitcher",e)}(0,n(38413).A)("MuiPickersArrowSwitcher",["root","spacer","button"]);var v=n(74848);const y=["children","className","slots","slotProps","isNextDisabled","isNextHidden","onGoToNext","nextLabel","isPreviousDisabled","isPreviousHidden","onGoToPrevious","previousLabel","labelId"],b=["ownerState"],x=["ownerState"],w=(0,c.Ay)("div",{name:"MuiPickersArrowSwitcher",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"flex"}),A=(0,c.Ay)("div",{name:"MuiPickersArrowSwitcher",slot:"Spacer",overridesResolver:(e,t)=>t.spacer})((({theme:e})=>({width:e.spacing(3)}))),_=(0,c.Ay)(f.A,{name:"MuiPickersArrowSwitcher",slot:"Button",overridesResolver:(e,t)=>t.button})({variants:[{props:{hidden:!0},style:{visibility:"hidden"}}]}),S=i.forwardRef((function(e,t){const n=(0,l.I)(),i=(0,u.A)({props:e,name:"MuiPickersArrowSwitcher"}),{children:c,className:f,slots:m,slotProps:S,isNextDisabled:k,isNextHidden:C,onGoToNext:T,nextLabel:M,isPreviousDisabled:P,isPreviousHidden:O,onGoToPrevious:E,previousLabel:D,labelId:R}=i,I=(0,o.A)(i,y),N=i,L=(e=>{const{classes:t}=e;return(0,d.A)({root:["root"],spacer:["spacer"],button:["button"]},g,t)})(N),j={isDisabled:k,isHidden:C,goTo:T,label:M},$={isDisabled:P,isHidden:O,goTo:E,label:D},z=m?.previousIconButton??_,F=(0,p.Q)({elementType:z,externalSlotProps:S?.previousIconButton,additionalProps:{size:"medium",title:$.label,"aria-label":$.label,disabled:$.isDisabled,edge:"end",onClick:$.goTo},ownerState:(0,r.A)({},N,{hidden:$.isHidden}),className:L.button}),B=m?.nextIconButton??_,H=(0,p.Q)({elementType:B,externalSlotProps:S?.nextIconButton,additionalProps:{size:"medium",title:j.label,"aria-label":j.label,disabled:j.isDisabled,edge:"start",onClick:j.goTo},ownerState:(0,r.A)({},N,{hidden:j.isHidden}),className:L.button}),V=m?.leftArrowIcon??h.A6,W=(0,p.Q)({elementType:V,externalSlotProps:S?.leftArrowIcon,additionalProps:{fontSize:"inherit"},ownerState:void 0}),U=(0,o.A)(W,b),q=m?.rightArrowIcon??h.fl,G=(0,p.Q)({elementType:q,externalSlotProps:S?.rightArrowIcon,additionalProps:{fontSize:"inherit"},ownerState:void 0}),Y=(0,o.A)(G,x);return(0,v.jsxs)(w,(0,r.A)({ref:t,className:(0,a.A)(L.root,f),ownerState:N},I,{children:[(0,v.jsx)(z,(0,r.A)({},F,{children:n?(0,v.jsx)(q,(0,r.A)({},Y)):(0,v.jsx)(V,(0,r.A)({},U))})),c?(0,v.jsx)(s.A,{variant:"subtitle1",component:"span",id:R,children:c}):(0,v.jsx)(A,{className:L.spacer,ownerState:N}),(0,v.jsx)(B,(0,r.A)({},H,{children:n?(0,v.jsx)(V,(0,r.A)({},U)):(0,v.jsx)(q,(0,r.A)({},Y))}))]}))}))},6498:function(e,t,n){"use strict";n.d(t,{Z:function(){return g}});var r=n(58168),o=n(98587),i=n(96540),a=n(34164),s=n(33551),l=n(11848),c=n(3541),u=n(75659),d=n(2880),p=n(74848);const f=["children","className","toolbarTitle","hidden","titleId","isLandscape","classes","landscapeDirection"],h=(0,l.Ay)("div",{name:"MuiPickersToolbar",slot:"Root",overridesResolver:(e,t)=>t.root})((({theme:e})=>({display:"flex",flexDirection:"column",alignItems:"flex-start",justifyContent:"space-between",padding:e.spacing(2,3),variants:[{props:{isLandscape:!0},style:{height:"auto",maxWidth:160,padding:16,justifyContent:"flex-start",flexWrap:"wrap"}}]}))),m=(0,l.Ay)("div",{name:"MuiPickersToolbar",slot:"Content",overridesResolver:(e,t)=>t.content})({display:"flex",flexWrap:"wrap",width:"100%",flex:1,justifyContent:"space-between",alignItems:"center",flexDirection:"row",variants:[{props:{isLandscape:!0},style:{justifyContent:"flex-start",alignItems:"flex-start",flexDirection:"column"}},{props:{isLandscape:!0,landscapeDirection:"row"},style:{flexDirection:"row"}}]}),g=i.forwardRef((function(e,t){const n=(0,c.A)({props:e,name:"MuiPickersToolbar"}),{children:i,className:l,toolbarTitle:g,hidden:v,titleId:y}=n,b=(0,o.A)(n,f),x=n,w=(e=>{const{classes:t,isLandscape:n}=e,r={root:["root"],content:["content"],penIconButton:["penIconButton",n&&"penIconButtonLandscape"]};return(0,u.A)(r,d.B,t)})(x);return v?null:(0,p.jsxs)(h,(0,r.A)({ref:t,className:(0,a.A)(w.root,l),ownerState:x},b,{children:[(0,p.jsx)(s.A,{color:"text.secondary",variant:"overline",id:y,children:g}),(0,p.jsx)(m,{className:w.content,ownerState:x,children:i})]}))}))},8934:function(e,t,n){"use strict";n.d(t,{R:function(){return g}});var r=n(58168),o=n(98587),i=n(96540),a=n(34164),s=n(51629),l=n(11848),c=n(3541),u=n(75659),d=n(28997),p=n(2880),f=n(74848);const h=["align","className","selected","typographyClassName","value","variant","width"],m=(0,l.Ay)(s.A,{name:"MuiPickersToolbarButton",slot:"Root",overridesResolver:(e,t)=>t.root})({padding:0,minWidth:16,textTransform:"none"}),g=i.forwardRef((function(e,t){const n=(0,c.A)({props:e,name:"MuiPickersToolbarButton"}),{align:i,className:s,selected:l,typographyClassName:g,value:v,variant:y,width:b}=n,x=(0,o.A)(n,h),w=(e=>{const{classes:t}=e;return(0,u.A)({root:["root"]},p.B,t)})(n);return(0,f.jsx)(m,(0,r.A)({variant:"text",ref:t,className:(0,a.A)(s,w.root)},b?{sx:{width:b}}:{},x,{children:(0,f.jsx)(d.k,{align:i,className:g,variant:y,value:v,selected:l})}))}))},28997:function(e,t,n){"use strict";n.d(t,{k:function(){return m}});var r=n(58168),o=n(98587),i=n(96540),a=n(34164),s=n(33551),l=n(11848),c=n(3541),u=n(75659),d=n(57949),p=n(74848);const f=["className","selected","value"],h=(0,l.Ay)(s.A,{name:"MuiPickersToolbarText",slot:"Root",overridesResolver:(e,t)=>[t.root,{[`&.${d.S.selected}`]:t.selected}]})((({theme:e})=>({transition:e.transitions.create("color"),color:(e.vars||e).palette.text.secondary,[`&.${d.S.selected}`]:{color:(e.vars||e).palette.text.primary}}))),m=i.forwardRef((function(e,t){const n=(0,c.A)({props:e,name:"MuiPickersToolbarText"}),{className:i,value:s}=n,l=(0,o.A)(n,f),m=(e=>{const{classes:t,selected:n}=e,r={root:["root",n&&"selected"]};return(0,u.A)(r,d.Q,t)})(n);return(0,p.jsx)(h,(0,r.A)({ref:t,className:(0,a.A)(i,m.root),component:"span"},l,{children:s}))}))},2880:function(e,t,n){"use strict";n.d(t,{B:function(){return o},N:function(){return i}});var r=n(31609);function o(e){return(0,r.Ay)("MuiPickersToolbar",e)}const i=(0,n(38413).A)("MuiPickersToolbar",["root","content"])},57949:function(e,t,n){"use strict";n.d(t,{Q:function(){return o},S:function(){return i}});var r=n(31609);function o(e){return(0,r.Ay)("MuiPickersToolbarText",e)}const i=(0,n(38413).A)("MuiPickersToolbarText",["root","selected"])},31886:function(e,t,n){"use strict";n.d(t,{B3:function(){return r},Y2:function(){return s},Yq:function(){return a},aG:function(){return c},eX:function(){return i},kP:function(){return l},y0:function(){return o}});const r=36,o=2,i=320,a=280,s=336,l=232,c=48},50117:function(e,t,n){"use strict";n.d(t,{bH:function(){return a},p_:function(){return s},r7:function(){return l}});var r=n(96540),o=n(69490),i=n(95878);function a(e,{disableFuture:t,maxDate:n,timezone:i}){const a=(0,o.hc)();return r.useMemo((()=>{const r=a.date(void 0,i),o=a.startOfMonth(t&&a.isBefore(r,n)?r:n);return!a.isAfter(o,e)}),[t,n,e,a,i])}function s(e,{disablePast:t,minDate:n,timezone:i}){const a=(0,o.hc)();return r.useMemo((()=>{const r=a.date(void 0,i),o=a.startOfMonth(t&&a.isAfter(r,n)?r:n);return!a.isBefore(o,e)}),[t,n,e,a,i])}function l(e,t,n,a){const s=(0,o.hc)();return{meridiemMode:(0,i.fX)(e,s),handleMeridiemChange:r.useCallback((r=>{const o=null==e?null:(0,i.tB)(e,r,Boolean(t),s);n(o,a??"partial")}),[t,e,n,a,s])}}},9599:function(e,t,n){"use strict";n.d(t,{EO:function(){return s},LN:function(){return a},o_:function(){return l}});var r=n(58168),o=n(23887),i=n(69490);const a=e=>{const t=(0,i.hc)(),n=(0,i.Yg)();return(0,r.A)({},e,{disablePast:e.disablePast??!1,disableFuture:e.disableFuture??!1,format:e.format??t.formats.keyboardDate,minDate:(0,o.IP)(t,e.minDate,n.minDate),maxDate:(0,o.IP)(t,e.maxDate,n.maxDate)})},s=e=>{const t=(0,i.hc)(),n=e.ampm??t.is12HourCycleInCurrentLocale()?t.formats.fullTime12h:t.formats.fullTime24h;return(0,r.A)({},e,{disablePast:e.disablePast??!1,disableFuture:e.disableFuture??!1,format:e.format??n})},l=e=>{const t=(0,i.hc)(),n=(0,i.Yg)(),a=e.ampm??t.is12HourCycleInCurrentLocale()?t.formats.keyboardDateTime12h:t.formats.keyboardDateTime24h;return(0,r.A)({},e,{disablePast:e.disablePast??!1,disableFuture:e.disableFuture??!1,format:e.format??a,disableIgnoringDatePartForTimeValidation:Boolean(e.minDateTime||e.maxDateTime),minDate:(0,o.IP)(t,e.minDateTime??e.minDate,n.minDate),maxDate:(0,o.IP)(t,e.maxDateTime??e.maxDate,n.maxDate),minTime:e.minDateTime??e.minTime,maxTime:e.maxDateTime??e.maxTime})}},65654:function(e,t,n){"use strict";n.d(t,{T:function(){return s}});var r=n(96540),o=n(16566),i=n(23887),a=n(78401);const s=({value:e,referenceDate:t,utils:n,props:s,timezone:l})=>{const c=r.useMemo((()=>o.W.getInitialReferenceValue({value:e,utils:n,props:s,referenceDate:t,granularity:a.yX.day,timezone:l,getTodayDate:()=>(0,i.ak)(n,l,"date")})),[]);return e??c}},58313:function(e,t,n){"use strict";n.d(t,{q:function(){return l}});var r=n(37708);const o="undefined"!=typeof navigator&&navigator.userAgent.match(/android\s(\d+)|OS\s(\d+)/i),i=o&&o[1]?parseInt(o[1],10):null,a=o&&o[2]?parseInt(o[2],10):null,s=i&&i<10||a&&a<13||!1,l=()=>(0,r.A)("@media (prefers-reduced-motion: reduce)",{defaultMatches:!1})||s},86224:function(e,t,n){"use strict";n.d(t,{U:function(){return $}});var r=n(58168),o=n(98587),i=n(96540),a=n(17315),s=n(29153),l=n(19455),c=n(31523),u=n(34661),d=n(87467),p=n(20973),f=n(34339),h=n(6545),m=n(73524),g=n(75659),v=n(93928),y=n(32325),b=n(11848),x=n(3541),w=n(31609);function A(e){return(0,w.Ay)("MuiPickersPopper",e)}(0,n(38413).A)("MuiPickersPopper",["root","paper"]);var _=n(24034),S=n(58313),k=n(74848);const C=["PaperComponent","popperPlacement","ownerState","children","paperSlotProps","paperClasses","onPaperClick","onPaperTouchStart"],T=(0,b.Ay)(h.A,{name:"MuiPickersPopper",slot:"Root",overridesResolver:(e,t)=>t.root})((({theme:e})=>({zIndex:e.zIndex.modal}))),M=(0,b.Ay)(f.A,{name:"MuiPickersPopper",slot:"Paper",overridesResolver:(e,t)=>t.paper})({outline:0,transformOrigin:"top center",variants:[{props:({placement:e})=>["top","top-start","top-end"].includes(e),style:{transformOrigin:"bottom center"}}]});const P=i.forwardRef(((e,t)=>{const{PaperComponent:n,popperPlacement:i,ownerState:s,children:l,paperSlotProps:c,paperClasses:u,onPaperClick:d,onPaperTouchStart:p}=e,f=(0,o.A)(e,C),h=(0,r.A)({},s,{placement:i}),m=(0,a.Q)({elementType:n,externalSlotProps:c,additionalProps:{tabIndex:-1,elevation:8,ref:t},className:u,ownerState:h});return(0,k.jsx)(n,(0,r.A)({},f,m,{onClick:e=>{d(e),m.onClick?.(e)},onTouchStart:e=>{p(e),m.onTouchStart?.(e)},ownerState:h,children:l}))}));function O(e){const t=(0,x.A)({props:e,name:"MuiPickersPopper"}),{anchorEl:n,children:o,containerRef:s=null,shouldRestoreFocus:l,onBlur:u,onDismiss:f,open:h,role:b,placement:w,slots:C,slotProps:O,reduceAnimations:E}=t;i.useEffect((()=>{function e(e){h&&"Escape"===e.key&&f()}return document.addEventListener("keydown",e),()=>{document.removeEventListener("keydown",e)}}),[f,h]);const D=i.useRef(null);i.useEffect((()=>{"tooltip"===b||l&&!l()||(h?D.current=(0,_.bq)(document):D.current&&D.current instanceof HTMLElement&&setTimeout((()=>{D.current instanceof HTMLElement&&D.current.focus()})))}),[h,b,l]);const[R,I,N]=function(e,t){const n=i.useRef(!1),r=i.useRef(!1),o=i.useRef(null),a=i.useRef(!1);i.useEffect((()=>{if(e)return document.addEventListener("mousedown",t,!0),document.addEventListener("touchstart",t,!0),()=>{document.removeEventListener("mousedown",t,!0),document.removeEventListener("touchstart",t,!0),a.current=!1};function t(){a.current=!0}}),[e]);const s=(0,v.A)((e=>{if(!a.current)return;const i=r.current;r.current=!1;const s=(0,y.A)(o.current);if(!o.current||"clientX"in e&&function(e,t){return t.documentElement.clientWidth<e.clientX||t.documentElement.clientHeight<e.clientY}(e,s))return;if(n.current)return void(n.current=!1);let l;l=e.composedPath?e.composedPath().indexOf(o.current)>-1:!s.documentElement.contains(e.target)||o.current.contains(e.target),l||i||t(e)})),l=()=>{r.current=!0};return i.useEffect((()=>{if(e){const e=(0,y.A)(o.current),t=()=>{n.current=!0};return e.addEventListener("touchstart",s),e.addEventListener("touchmove",t),()=>{e.removeEventListener("touchstart",s),e.removeEventListener("touchmove",t)}}}),[e,s]),i.useEffect((()=>{if(e){const e=(0,y.A)(o.current);return e.addEventListener("click",s),()=>{e.removeEventListener("click",s),r.current=!1}}}),[e,s]),[o,l,l]}(h,u??f),L=i.useRef(null),j=(0,c.A)(L,s),$=(0,c.A)(j,R),z=t,F=(e=>{const{classes:t}=e;return(0,g.A)({root:["root"],paper:["paper"]},A,t)})(z),B=(0,S.q)(),H=E??B,V=C?.desktopTransition??H?p.A:d.A,W=C?.desktopTrapFocus??m.A,U=C?.desktopPaper??M,q=C?.popper??T,G=(0,a.Q)({elementType:q,externalSlotProps:O?.popper,additionalProps:{transition:!0,role:b,open:h,anchorEl:n,placement:w,onKeyDown:e=>{"Escape"===e.key&&(e.stopPropagation(),f())}},className:F.root,ownerState:t});return(0,k.jsx)(q,(0,r.A)({},G,{children:({TransitionProps:e,placement:t})=>(0,k.jsx)(W,(0,r.A)({open:h,disableAutoFocus:!0,disableRestoreFocus:!0,disableEnforceFocus:"tooltip"===b,isEnabled:()=>!0},O?.desktopTrapFocus,{children:(0,k.jsx)(V,(0,r.A)({},e,O?.desktopTransition,{children:(0,k.jsx)(P,{PaperComponent:U,ownerState:z,popperPlacement:t,ref:$,onPaperClick:I,onPaperTouchStart:N,paperClasses:F.paper,paperSlotProps:O?.desktopPaper,children:o})}))}))}))}var E=n(69490),D=n(84488),R=n(75737),I=n(631);const N=["props","getOpenDialogAriaText"],L=["ownerState"],j=["ownerState"],$=e=>{let{props:t,getOpenDialogAriaText:n}=e,d=(0,o.A)(e,N);const{slots:p,slotProps:f,className:h,sx:m,format:g,formatDensity:v,enableAccessibleFieldDOMStructure:y,selectedSections:b,onSelectedSectionsChange:x,timezone:w,name:A,label:_,inputRef:S,readOnly:C,disabled:T,autoFocus:M,localeText:P,reduceAnimations:$}=t,z=(0,E.hc)(),F=i.useRef(null),B=i.useRef(null),H=(0,u.A)(),V=f?.toolbar?.hidden??!1,{open:W,actions:U,hasUIView:q,layoutProps:G,renderCurrentView:Y,shouldRestoreFocus:X,fieldProps:K}=(0,D.k)((0,r.A)({},d,{props:t,fieldRef:B,autoFocusView:!0,additionalViewProps:{},wrapperVariant:"desktop"})),Z=p.inputAdornment??s.A,J=(0,a.Q)({elementType:Z,externalSlotProps:f?.inputAdornment,additionalProps:{position:"end"},ownerState:t}),Q=(0,o.A)(J,L),ee=p.openPickerButton??l.A,te=(0,a.Q)({elementType:ee,externalSlotProps:f?.openPickerButton,additionalProps:{disabled:T||C,onClick:W?U.onClose:U.onOpen,"aria-label":n(K.value,z),edge:Q.position},ownerState:t}),ne=(0,o.A)(te,j),re=p.openPickerIcon,oe=p.field,ie=(0,a.Q)({elementType:oe,externalSlotProps:f?.field,additionalProps:(0,r.A)({},K,V&&{id:H},{readOnly:C,disabled:T,className:h,sx:m,format:g,formatDensity:v,enableAccessibleFieldDOMStructure:y,selectedSections:b,onSelectedSectionsChange:x,timezone:w,label:_,name:A,autoFocus:M&&!t.open,focused:!!W||void 0},S?{inputRef:S}:{}),ownerState:t});q&&(ie.InputProps=(0,r.A)({},ie.InputProps,{ref:F},!t.disableOpenPicker&&{[`${Q.position}Adornment`]:(0,k.jsx)(Z,(0,r.A)({},Q,{children:(0,k.jsx)(ee,(0,r.A)({},ne,{children:(0,k.jsx)(re,(0,r.A)({},f?.openPickerIcon))}))}))}));const ae=(0,r.A)({textField:p.textField,clearIcon:p.clearIcon,clearButton:p.clearButton},ie.slots),se=p.layout??I.CJ;let le=H;V&&(le=_?`${H}-label`:void 0);const ce=(0,r.A)({},f,{toolbar:(0,r.A)({},f?.toolbar,{titleId:H}),popper:(0,r.A)({"aria-labelledby":le},f?.popper)}),ue=(0,c.A)(B,ie.unstableFieldRef);return{renderPicker:()=>(0,k.jsxs)(R.$,{localeText:P,children:[(0,k.jsx)(oe,(0,r.A)({},ie,{slots:ae,slotProps:ce,unstableFieldRef:ue})),(0,k.jsx)(O,(0,r.A)({role:"dialog",placement:"bottom-start",anchorEl:F.current},U,{open:W,slots:p,slotProps:ce,shouldRestoreFocus:X,reduceAnimations:$,children:(0,k.jsx)(se,(0,r.A)({},G,ce?.layout,{slots:p,slotProps:ce,children:Y()}))}))]})}}},82579:function(e,t,n){"use strict";n.d(t,{M:function(){return C}});var r=n(58168),o=n(96540),i=n(21529),a=n(93928),s=n(73788),l=n(29242),c=n(69490),u=n(91494),d=n(2501),p=n(29881);const f=(e,t,n,r,o)=>{switch(r.type){case"year":return n.fieldYearPlaceholder({digitAmount:e.formatByString(e.date(void 0,t),o).length,format:o});case"month":return n.fieldMonthPlaceholder({contentType:r.contentType,format:o});case"day":return n.fieldDayPlaceholder({format:o});case"weekDay":return n.fieldWeekDayPlaceholder({contentType:r.contentType,format:o});case"hours":return n.fieldHoursPlaceholder({format:o});case"minutes":return n.fieldMinutesPlaceholder({format:o});case"seconds":return n.fieldSecondsPlaceholder({format:o});case"meridiem":return n.fieldMeridiemPlaceholder({format:o});default:return o}},h=({utils:e,timezone:t,date:n,shouldRespectLeadingZeros:o,localeText:i,localizedDigits:a,now:s,token:l,startSeparator:c})=>{if(""===l)throw new Error("MUI X: Should not call `commitToken` with an empty token");const d=(0,u.wp)(e,l),p=(0,u.Xw)(e,t,d.contentType,d.type,l),h=o?p:"digit"===d.contentType,m=null!=n&&e.isValid(n);let g=m?e.formatByString(n,l):"",v=null;if(h)if(p)v=""===g?e.formatByString(s,l).length:g.length;else{if(null==d.maxLength)throw new Error(`MUI X: The token ${l} should have a 'maxDigitNumber' property on it's adapter`);v=d.maxLength,m&&(g=(0,u.et)((0,u.Fv)((0,u.S)(g,a),v),a))}return(0,r.A)({},d,{format:l,maxLength:v,value:g,placeholder:f(e,t,i,d,l),hasLeadingZerosInFormat:p,hasLeadingZerosInInput:h,startSeparator:c,endSeparator:"",modified:!1})},m=e=>{let t=(({utils:e,format:t})=>{let n=10,r=t,o=e.expandFormat(t);for(;o!==r;)if(r=o,o=e.expandFormat(r),n-=1,n<0)throw new Error("MUI X: The format expansion seems to be in an infinite loop. Please open an issue with the format passed to the picker component.");return o})(e);e.isRtl&&e.enableAccessibleFieldDOMStructure&&(t=t.split(" ").reverse().join(" "));const n=(({utils:e,expandedFormat:t})=>{const n=[],{start:r,end:o}=e.escapedCharacters,i=new RegExp(`(\\${r}[^\\${o}]*\\${o})+`,"g");let a=null;for(;a=i.exec(t);)n.push({start:a.index,end:i.lastIndex-1});return n})((0,r.A)({},e,{expandedFormat:t})),o=(e=>{const{utils:t,expandedFormat:n,escapedParts:o}=e,i=t.date(void 0),a=[];let s="";const l=Object.keys(t.formatTokenMap).sort(((e,t)=>t.length-e.length)),c=/^([a-zA-Z]+)/,u=new RegExp(`^(${l.join("|")})*$`),d=new RegExp(`^(${l.join("|")})`),p=e=>o.find((t=>t.start<=e&&t.end>=e));let f=0;for(;f<n.length;){const t=p(f),o=null!=t,l=c.exec(n.slice(f))?.[1];if(!o&&null!=l&&u.test(l)){let t=l;for(;t.length>0;){const n=d.exec(t)[1];t=t.slice(n.length),a.push(h((0,r.A)({},e,{now:i,token:n,startSeparator:s}))),s=""}f+=l.length}else{const e=n[f];o&&t?.start===f||t?.end===f||(0===a.length?s+=e:a[a.length-1].endSeparator+=e),f+=1}}return 0===a.length&&s.length>0&&a.push({type:"empty",contentType:"letter",maxLength:null,format:"",value:"",placeholder:"",hasLeadingZerosInFormat:!1,hasLeadingZerosInInput:!1,startSeparator:s,endSeparator:"",modified:!1}),a})((0,r.A)({},e,{expandedFormat:t,escapedParts:n}));return(({isRtl:e,formatDensity:t,sections:n})=>n.map((n=>{const r=n=>{let r=n;return e&&null!==r&&r.includes(" ")&&(r=`â©${r}â¦`),"spacious"===t&&["/",".","-"].includes(r)&&(r=` ${r} `),r};return n.startSeparator=r(n.startSeparator),n.endSeparator=r(n.endSeparator),n})))((0,r.A)({},e,{sections:o}))};var g=n(33059),v=n(78401);const y=e=>null!=e.saveQuery,b=({sections:e,updateSectionValue:t,sectionsValueBoundaries:n,localizedDigits:i,setTempAndroidValueStr:s,timezone:l})=>{const d=(0,c.hc)(),[p,f]=o.useState(null),h=(0,a.A)((()=>f(null)));o.useEffect((()=>{null!=p&&e[p.sectionIndex]?.type!==p.sectionType&&h()}),[e,p,h]),o.useEffect((()=>{if(null!=p){const e=setTimeout((()=>h()),5e3);return()=>{clearTimeout(e)}}return()=>{}}),[p,h]);const m=({keyPressed:t,sectionIndex:n},r,o)=>{const i=t.toLowerCase(),a=e[n];if(null!=p&&(!o||o(p.value))&&p.sectionIndex===n){const e=`${p.value}${i}`,t=r(e,a);if(!y(t))return f({sectionIndex:n,value:e,sectionType:a.type}),t}const s=r(i,a);return y(s)&&!s.saveQuery?(h(),null):(f({sectionIndex:n,value:i,sectionType:a.type}),y(s)?null:s)};return{applyCharacterEditing:(0,a.A)((o=>{const a=e[o.sectionIndex],c=(0,u.Hp)(o.keyPressed,i)?(e=>{const t=(e,t)=>{const r=(0,u.S)(e,i),o=Number(r),a=n[t.type]({currentDate:null,format:t.format,contentType:t.contentType});if(o>a.maximum)return{saveQuery:!1};if(o<a.minimum)return{saveQuery:!0};const s=10*o>a.maximum||r.length===a.maximum.toString().length;return{sectionValue:(0,u.bQ)(d,o,a,i,t),shouldGoToNextSection:s}};return m(e,((e,n)=>{if("digit"===n.contentType||"digit-with-letter"===n.contentType)return t(e,n);if("month"===n.type){const o=(0,u.Xw)(d,l,"digit","month","MM"),i=t(e,{type:n.type,format:"MM",hasLeadingZerosInFormat:o,hasLeadingZerosInInput:!0,contentType:"digit",maxLength:2});if(y(i))return i;const a=(0,u.C7)(d,i.sectionValue,"MM",n.format);return(0,r.A)({},i,{sectionValue:a})}if("weekDay"===n.type){const o=t(e,n);if(y(o))return o;const i=(0,u.s8)(d,l,n.format)[Number(o.sectionValue)-1];return(0,r.A)({},o,{sectionValue:i})}return{saveQuery:!1}}),(e=>(0,u.Hp)(e,i)))})((0,r.A)({},o,{keyPressed:(0,u.et)(o.keyPressed,i)})):(e=>{const t=(e,t,n)=>{const r=t.filter((e=>e.toLowerCase().startsWith(n)));return 0===r.length?{saveQuery:!1}:{sectionValue:r[0],shouldGoToNextSection:1===r.length}},n=(e,n,o,i)=>{const a=e=>(0,u.hk)(d,l,n.type,e);if("letter"===n.contentType)return t(n.format,a(n.format),e);if(o&&null!=i&&"letter"===(0,u.wp)(d,o).contentType){const n=a(o),s=t(0,n,e);return y(s)?{saveQuery:!1}:(0,r.A)({},s,{sectionValue:i(s.sectionValue,n)})}return{saveQuery:!1}};return m(e,((e,t)=>{switch(t.type){case"month":{const r=e=>(0,u.C7)(d,e,d.formats.month,t.format);return n(e,t,d.formats.month,r)}case"weekDay":{const r=(e,t)=>t.indexOf(e).toString();return n(e,t,d.formats.weekday,r)}case"meridiem":return n(e,t);default:return{saveQuery:!1}}}))})(o);null!=c?t({activeSection:a,newSectionValue:c.sectionValue,shouldGoToNextSection:c.shouldGoToNextSection}):s(null)})),resetCharacterQuery:h}};var x=n(31523),w=n(34661),A=n(24034);const _=e=>{const{internalProps:{disabled:t,readOnly:n=!1},forwardedProps:{sectionListRef:r,onBlur:s,onClick:l,onFocus:d,onInput:f,onPaste:h,focused:m,autoFocus:g=!1},fieldValueManager:v,applyCharacterEditing:y,resetCharacterQuery:b,setSelectedSections:_,parsedSelectedSections:S,state:k,clearActiveSection:C,clearValue:T,updateSectionValue:M,updateValueFromValueStr:P,sectionOrder:O,areAllSectionsEmpty:E,sectionsValueBoundaries:D}=e,R=o.useRef(null),I=(0,x.A)(r,R),N=(0,p.b)(),L=(0,c.hc)(),j=(0,w.A)(),[$,z]=o.useState(!1),F=o.useMemo((()=>({syncSelectionToDOM:()=>{if(!R.current)return;const e=document.getSelection();if(!e)return;if(null==S)return e.rangeCount>0&&R.current.getRoot().contains(e.getRangeAt(0).startContainer)&&e.removeAllRanges(),void($&&R.current.getRoot().blur());if(!R.current.getRoot().contains((0,A.bq)(document)))return;const t=new window.Range;let n;if("all"===S)n=R.current.getRoot();else{n="empty"===k.sections[S].type?R.current.getSectionContainer(S):R.current.getSectionContent(S)}t.selectNodeContents(n),n.focus(),e.removeAllRanges(),e.addRange(t)},getActiveSectionIndexFromDOM:()=>{const e=(0,A.bq)(document);return e&&R.current&&R.current.getRoot().contains(e)?R.current.getSectionIndexFromDOMElement(e):null},focusField:(e=0)=>{if(!R.current)return;const t=(0,u.FS)(e,k.sections);z(!0),R.current.getSectionContent(t).focus()},setSelectedSections:e=>{if(!R.current)return;const t=(0,u.FS)(e,k.sections);z(null!==("all"===t?0:t)),_(e)},isFieldFocused:()=>{const e=(0,A.bq)(document);return!!R.current&&R.current.getRoot().contains(e)}})),[S,_,k.sections,$]),B=(0,a.A)((e=>{if(!R.current)return;const t=k.sections[e];R.current.getSectionContent(e).innerHTML=t.value||t.placeholder,F.syncSelectionToDOM()})),H=(0,a.A)(((e,...t)=>{if(!e.isDefaultPrevented()&&R.current)if(z(!0),l?.(e,...t),"all"===S)setTimeout((()=>{const e=document.getSelection().getRangeAt(0).startOffset;if(0===e)return void _(O.startIndex);let t=0,n=0;for(;n<e&&t<k.sections.length;){const e=k.sections[t];t+=1,n+=`${e.startSeparator}${e.value||e.placeholder}${e.endSeparator}`.length}_(t-1)}));else if($){R.current.getRoot().contains(e.target)||_(O.startIndex)}else z(!0),_(O.startIndex)})),V=(0,a.A)((e=>{if(f?.(e),!R.current||"all"!==S)return;const t=e.target.textContent??"";R.current.getRoot().innerHTML=k.sections.map((e=>`${e.startSeparator}${e.value||e.placeholder}${e.endSeparator}`)).join(""),F.syncSelectionToDOM(),0===t.length||10===t.charCodeAt(0)?(b(),T(),_("all")):t.length>1?P(t):y({keyPressed:t,sectionIndex:0})})),W=(0,a.A)((e=>{if(h?.(e),n||"all"!==S)return void e.preventDefault();const t=e.clipboardData.getData("text");e.preventDefault(),b(),P(t)})),U=(0,a.A)(((...e)=>{if(d?.(...e),$||!R.current)return;z(!0);null!=R.current.getSectionIndexFromDOMElement((0,A.bq)(document))||_(O.startIndex)})),q=(0,a.A)(((...e)=>{s?.(...e),setTimeout((()=>{if(!R.current)return;const e=(0,A.bq)(document);!R.current.getRoot().contains(e)&&(z(!1),_(null))}))})),G=(0,a.A)((e=>t=>{t.isDefaultPrevented()||_(e)})),Y=(0,a.A)((e=>{e.preventDefault()})),X=(0,a.A)((e=>()=>{_(e)})),K=(0,a.A)((e=>{if(e.preventDefault(),n||"number"!=typeof S)return;const t=k.sections[S],r=e.clipboardData.getData("text"),o=/^[a-zA-Z]+$/.test(r),i=/^[0-9]+$/.test(r),a=/^(([a-zA-Z]+)|)([0-9]+)(([a-zA-Z]+)|)$/.test(r);"letter"===t.contentType&&o||"digit"===t.contentType&&i||"digit-with-letter"===t.contentType&&a?(b(),M({activeSection:t,newSectionValue:r,shouldGoToNextSection:!0})):o||i||(b(),P(r))})),Z=(0,a.A)((e=>{e.preventDefault(),e.dataTransfer.dropEffect="none"})),J=(0,a.A)((e=>{if(!R.current)return;const t=e.target,r=t.textContent??"",o=R.current.getSectionIndexFromDOMElement(t),i=k.sections[o];if(!n&&R.current){if(0===r.length){if(""===i.value)return void B(o);const t=e.nativeEvent.inputType;return"insertParagraph"===t||"insertLineBreak"===t?void B(o):(b(),void C())}y({keyPressed:r,sectionIndex:o}),B(o)}else B(o)}));(0,i.A)((()=>{if($&&R.current)if("all"===S)R.current.getRoot().focus();else if("number"==typeof S){const e=R.current.getSectionContent(S);e&&e.focus()}}),[S,$]);const Q=o.useMemo((()=>k.sections.reduce(((e,t)=>(e[t.type]=D[t.type]({currentDate:null,contentType:t.contentType,format:t.format}),e)),{})),[D,k.sections]),ee="all"===S,te=o.useMemo((()=>k.sections.map(((e,r)=>{const i=!ee&&!t&&!n;return{container:{"data-sectionindex":r,onClick:G(r)},content:{tabIndex:ee||r>0?-1:0,contentEditable:!ee&&!t&&!n,role:"spinbutton",id:`${j}-${e.type}`,"aria-labelledby":`${j}-${e.type}`,"aria-readonly":n,"aria-valuenow":(0,u.Nu)(e,L),"aria-valuemin":Q[e.type].minimum,"aria-valuemax":Q[e.type].maximum,"aria-valuetext":e.value?(0,u.QF)(e,L):N.empty,"aria-label":N[e.type],"aria-disabled":t,spellCheck:!i&&void 0,autoCapitalize:i?"off":void 0,autoCorrect:i?"off":void 0,[parseInt(o.version,10)>=17?"enterKeyHint":"enterkeyhint"]:i?"next":void 0,children:e.value||e.placeholder,onInput:J,onPaste:K,onFocus:X(r),onDragOver:Z,onMouseUp:Y,inputMode:"letter"===e.contentType?"text":"numeric"},before:{children:e.startSeparator},after:{children:e.endSeparator}}}))),[k.sections,X,K,Z,J,G,Y,t,n,ee,N,L,Q,j]),ne=(0,a.A)((e=>{P(e.target.value)})),re=o.useMemo((()=>E?"":v.getV7HiddenInputValueFromSections(k.sections)),[E,k.sections,v]);return o.useEffect((()=>{if(null==R.current)throw new Error(["MUI X: The `sectionListRef` prop has not been initialized by `PickersSectionList`","You probably tried to pass a component to the `textField` slot that contains an `<input />` element instead of a `PickersSectionList`.","","If you want to keep using an `<input />` HTML element for the editing, please remove the `enableAccessibleFieldDOMStructure` prop from your picker or field component:","","<DatePicker slots={{ textField: MyCustomTextField }} />","","Learn more about the field accessible DOM structure on the MUI documentation: https://mui.com/x/react-date-pickers/fields/#fields-to-edit-a-single-element"].join("\n"));g&&R.current&&R.current.getSectionContent(O.startIndex).focus()}),[]),{interactions:F,returnedValue:{autoFocus:g,readOnly:n,focused:m??$,sectionListRef:I,onBlur:q,onClick:H,onFocus:U,onInput:V,onPaste:W,enableAccessibleFieldDOMStructure:!0,elements:te,tabIndex:0===S?-1:0,contentEditable:ee,value:re,onChange:ne,areAllSectionsEmpty:E}}},S=e=>e.replace(/[\u2066\u2067\u2068\u2069]/g,""),k=e=>{const t=(0,s.I)(),n=o.useRef(),i=o.useRef(),{forwardedProps:{onFocus:l,onClick:c,onPaste:d,onBlur:p,inputRef:f,placeholder:h},internalProps:{readOnly:m=!1},parsedSelectedSections:g,activeSectionIndex:v,state:y,fieldValueManager:b,valueManager:w,applyCharacterEditing:_,resetCharacterQuery:k,updateSectionValue:C,updateValueFromValueStr:T,clearActiveSection:M,clearValue:P,setTempAndroidValueStr:O,setSelectedSections:E,getSectionsFromValue:D,areAllSectionsEmpty:R,localizedDigits:I}=e,N=o.useRef(null),L=(0,x.A)(f,N),j=o.useMemo((()=>((e,t,n)=>{let o=0,i=n?1:0;const a=[];for(let s=0;s<e.length;s+=1){const l=e[s],c=(0,u.Nq)(l,n?"input-rtl":"input-ltr",t),d=`${l.startSeparator}${c}${l.endSeparator}`,p=S(d).length,f=d.length,h=S(c),m=i+(""===h?0:c.indexOf(h[0]))+l.startSeparator.length,g=m+h.length;a.push((0,r.A)({},l,{start:o,end:o+p,startInInput:m,endInInput:g})),o+=p,i+=f}return a})(y.sections,I,t)),[y.sections,I,t]),$=o.useMemo((()=>({syncSelectionToDOM:()=>{if(!N.current)return;if(null==g)return void(N.current.scrollLeft&&(N.current.scrollLeft=0));if(N.current!==(0,A.bq)(document))return;const e=N.current.scrollTop;if("all"===g)N.current.select();else{const e=j[g],t="empty"===e.type?e.startInInput-e.startSeparator.length:e.startInInput,n="empty"===e.type?e.endInInput+e.endSeparator.length:e.endInInput;t===N.current.selectionStart&&n===N.current.selectionEnd||N.current===(0,A.bq)(document)&&N.current.setSelectionRange(t,n),clearTimeout(i.current),i.current=setTimeout((()=>{!N.current||N.current!==(0,A.bq)(document)||N.current.selectionStart!==N.current.selectionEnd||N.current.selectionStart===t&&N.current.selectionEnd===n||$.syncSelectionToDOM()}))}N.current.scrollTop=e},getActiveSectionIndexFromDOM:()=>{const e=N.current.selectionStart??0,t=N.current.selectionEnd??0;if(0===e&&0===t)return null;const n=e<=j[0].startInInput?1:j.findIndex((t=>t.startInInput-t.startSeparator.length>e));return-1===n?j.length-1:n-1},focusField:(e=0)=>{N.current?.focus(),E(e)},setSelectedSections:e=>E(e),isFieldFocused:()=>N.current===(0,A.bq)(document)})),[N,g,j,E]),z=()=>{const e=N.current.selectionStart??0;let t;t=e<=j[0].startInInput||e>=j[j.length-1].endInInput?1:j.findIndex((t=>t.startInInput-t.startSeparator.length>e));const n=-1===t?j.length-1:t-1;E(n)},F=(0,a.A)(((...e)=>{l?.(...e);const t=N.current;clearTimeout(n.current),n.current=setTimeout((()=>{t&&t===N.current&&null==v&&(t.value.length&&Number(t.selectionEnd)-Number(t.selectionStart)===t.value.length?E("all"):z())}))})),B=(0,a.A)(((e,...t)=>{e.isDefaultPrevented()||(c?.(e,...t),z())})),H=(0,a.A)((e=>{if(d?.(e),e.preventDefault(),m)return;const t=e.clipboardData.getData("text");if("number"==typeof g){const e=y.sections[g],n=/^[a-zA-Z]+$/.test(t),r=/^[0-9]+$/.test(t),o=/^(([a-zA-Z]+)|)([0-9]+)(([a-zA-Z]+)|)$/.test(t);if("letter"===e.contentType&&n||"digit"===e.contentType&&r||"digit-with-letter"===e.contentType&&o)return k(),void C({activeSection:e,newSectionValue:t,shouldGoToNextSection:!0});if(n||r)return}k(),T(t)})),V=(0,a.A)(((...e)=>{p?.(...e),E(null)})),W=(0,a.A)((e=>{if(m)return;const n=e.target.value;if(""===n)return k(),void P();const r=e.nativeEvent.data,o=r&&r.length>1,i=o?r:n,a=S(i);if(null==v||o)return void T(o?r:a);let s;if("all"===g&&1===a.length)s=a;else{const e=S(b.getV6InputValueFromSections(j,I,t));let n=-1,r=-1;for(let t=0;t<e.length;t+=1)-1===n&&e[t]!==a[t]&&(n=t),-1===r&&e[e.length-t-1]!==a[a.length-t-1]&&(r=t);const o=j[v];if(n<o.start||e.length-r-1>o.end)return;const i=a.length-e.length+o.end-S(o.endSeparator||"").length;s=a.slice(o.start+S(o.startSeparator||"").length,i)}if(0===s.length)return(0,u.m0)()&&O(i),k(),void M();_({keyPressed:s,sectionIndex:v})})),U=o.useMemo((()=>void 0!==h?h:b.getV6InputValueFromSections(D(w.emptyValue),I,t)),[h,b,D,w.emptyValue,I,t]),q=o.useMemo((()=>y.tempValueStrAndroid??b.getV6InputValueFromSections(y.sections,I,t)),[y.sections,b,y.tempValueStrAndroid,I,t]);o.useEffect((()=>(N.current&&N.current===(0,A.bq)(document)&&E("all"),()=>{clearTimeout(n.current),clearTimeout(i.current)})),[]);const G=o.useMemo((()=>null==v||"letter"===y.sections[v].contentType?"text":"numeric"),[v,y.sections]),Y=N.current&&N.current===(0,A.bq)(document);return{interactions:$,returnedValue:{readOnly:m,onBlur:V,onClick:B,onFocus:F,onPaste:H,inputRef:L,enableAccessibleFieldDOMStructure:!1,placeholder:U,inputMode:G,autoComplete:"off",value:!Y&&R?"":q,onChange:W}}},C=e=>{const t=(0,c.hc)(),{internalProps:n,internalProps:{unstableFieldRef:f,minutesStep:h,enableAccessibleFieldDOMStructure:y=!1,disabled:x=!1,readOnly:w=!1},forwardedProps:{onKeyDown:A,error:S,clearable:C,onClear:T},fieldValueManager:M,valueManager:P,validator:O}=e,E=(0,s.I)(),D=(e=>{const t=(0,c.hc)(),n=(0,p.b)(),i=(0,c.u)(),a=(0,s.I)(),{valueManager:l,fieldValueManager:f,valueType:h,validator:y,internalProps:b,internalProps:{value:x,defaultValue:w,referenceDate:A,onChange:_,format:S,formatDensity:k="dense",selectedSections:C,onSelectedSectionsChange:T,shouldRespectLeadingZeros:M=!1,timezone:P,enableAccessibleFieldDOMStructure:O=!1}}=e,{timezone:E,value:D,handleValueChange:R}=(0,g.M)({timezone:P,value:x,defaultValue:w,onChange:_,valueManager:l}),I=o.useMemo((()=>(0,u.wk)(t)),[t]),N=o.useMemo((()=>(0,u.Lz)(t,I,E)),[t,I,E]),L=o.useCallback(((e,r=null)=>f.getSectionsFromValue(t,e,r,(e=>m({utils:t,timezone:E,localeText:n,localizedDigits:I,format:S,date:e,formatDensity:k,shouldRespectLeadingZeros:M,enableAccessibleFieldDOMStructure:O,isRtl:a})))),[f,S,n,I,a,M,t,k,E,O]),[j,$]=o.useState((()=>{const e=L(D);(0,u.xL)(e,h);const n={sections:e,value:D,referenceValue:l.emptyValue,tempValueStrAndroid:null},o=(0,v.kI)(e),i=l.getInitialReferenceValue({referenceDate:A,value:D,utils:t,props:b,granularity:o,timezone:E});return(0,r.A)({},n,{referenceValue:i})})),[z,F]=(0,d.A)({controlled:C,default:null,name:"useField",state:"selectedSections"}),B=e=>{F(e),T?.(e)},H=o.useMemo((()=>(0,u.FS)(z,j.sections)),[z,j.sections]),V="all"===H?0:H,W=({value:e,referenceValue:n,sections:o})=>{if($((t=>(0,r.A)({},t,{sections:o,value:e,referenceValue:n,tempValueStrAndroid:null}))),l.areValuesEqual(t,j.value,e))return;const a={validationError:y({adapter:i,value:e,props:(0,r.A)({},b,{value:e,timezone:E})})};R(e,a)},U=(e,t)=>{const n=[...j.sections];return n[e]=(0,r.A)({},n[e],{value:t,modified:!0}),n};return o.useEffect((()=>{const e=L(j.value);(0,u.xL)(e,h),$((t=>(0,r.A)({},t,{sections:e})))}),[S,t.locale,a]),o.useEffect((()=>{let e;e=!l.areValuesEqual(t,j.value,D)||l.getTimezone(t,j.value)!==l.getTimezone(t,D),e&&$((e=>(0,r.A)({},e,{value:D,referenceValue:f.updateReferenceValue(t,D,e.referenceValue),sections:L(D)})))}),[D]),{state:j,activeSectionIndex:V,parsedSelectedSections:H,setSelectedSections:B,clearValue:()=>{W({value:l.emptyValue,referenceValue:j.referenceValue,sections:L(l.emptyValue)})},clearActiveSection:()=>{if(null==V)return;const e=j.sections[V],n=f.getActiveDateManager(t,j,e),o=n.getSections(j.sections).filter((e=>""!==e.value)).length===(""===e.value?0:1),i=U(V,""),a=o?null:t.getInvalidDate(),s=n.getNewValuesFromNewActiveDate(a);W((0,r.A)({},s,{sections:i}))},updateSectionValue:({activeSection:e,newSectionValue:n,shouldGoToNextSection:o})=>{o&&V<j.sections.length-1&&B(V+1);const i=f.getActiveDateManager(t,j,e),a=U(V,n),s=i.getSections(a),l=(0,u.$i)(t,s,I);let c,d;if(null!=l&&t.isValid(l)){const e=(0,u.Sp)(t,E,l,s,i.referenceDate,!0);c=i.getNewValuesFromNewActiveDate(e),d=!0}else c=i.getNewValuesFromNewActiveDate(l),d=(null!=l&&!t.isValid(l))!=(null!=i.date&&!t.isValid(i.date));return d?W((0,r.A)({},c,{sections:a})):$((e=>(0,r.A)({},e,c,{sections:a,tempValueStrAndroid:null})))},updateValueFromValueStr:e=>{const r=f.parseValueStr(e,j.referenceValue,((e,r)=>{const o=t.parse(e,S);if(null==o||!t.isValid(o))return null;const i=m({utils:t,timezone:E,localeText:n,localizedDigits:I,format:S,date:o,formatDensity:k,shouldRespectLeadingZeros:M,enableAccessibleFieldDOMStructure:O,isRtl:a});return(0,u.Sp)(t,E,o,i,r,!1)})),o=f.updateReferenceValue(t,r,j.referenceValue);W({value:r,referenceValue:o,sections:L(r,j.sections)})},setTempAndroidValueStr:e=>$((t=>(0,r.A)({},t,{tempValueStrAndroid:e}))),getSectionsFromValue:L,sectionsValueBoundaries:N,localizedDigits:I,timezone:E}})(e),{state:R,activeSectionIndex:I,parsedSelectedSections:N,setSelectedSections:L,clearValue:j,clearActiveSection:$,updateSectionValue:z,setTempAndroidValueStr:F,sectionsValueBoundaries:B,localizedDigits:H,timezone:V}=D,W=b({sections:R.sections,updateSectionValue:z,sectionsValueBoundaries:B,localizedDigits:H,setTempAndroidValueStr:F,timezone:V}),{resetCharacterQuery:U}=W,q=P.areValuesEqual(t,R.value,P.emptyValue),G=y?_:k,Y=o.useMemo((()=>(0,u.gS)(R.sections,E&&!y)),[R.sections,E,y]),{returnedValue:X,interactions:K}=G((0,r.A)({},e,D,W,{areAllSectionsEmpty:q,sectionOrder:Y})),Z=(0,a.A)((e=>{switch(A?.(e),!0){case(e.ctrlKey||e.metaKey)&&"a"===e.key.toLowerCase()&&!e.shiftKey&&!e.altKey:e.preventDefault(),L("all");break;case"ArrowRight"===e.key:if(e.preventDefault(),null==N)L(Y.startIndex);else if("all"===N)L(Y.endIndex);else{const e=Y.neighbors[N].rightIndex;null!==e&&L(e)}break;case"ArrowLeft"===e.key:if(e.preventDefault(),null==N)L(Y.endIndex);else if("all"===N)L(Y.startIndex);else{const e=Y.neighbors[N].leftIndex;null!==e&&L(e)}break;case"Delete"===e.key:if(e.preventDefault(),w)break;null==N||"all"===N?j():$(),U();break;case["ArrowUp","ArrowDown","Home","End","PageUp","PageDown"].includes(e.key):{if(e.preventDefault(),w||null==I)break;const n=R.sections[I],r=M.getActiveDateManager(t,R,n),o=(0,u.UY)(t,V,n,e.key,B,H,r.date,{minutesStep:h});z({activeSection:n,newSectionValue:o,shouldGoToNextSection:!1});break}}}));(0,i.A)((()=>{K.syncSelectionToDOM()}));const J=(0,l.$)((0,r.A)({},n,{value:R.value,timezone:V}),O,P.isSameError,P.defaultErrorState),Q=o.useMemo((()=>void 0!==S?S:P.hasError(J)),[P,J,S]);o.useEffect((()=>{Q||null!=I||U()}),[R.referenceValue,I,Q]),o.useEffect((()=>{null!=R.tempValueStrAndroid&&null!=I&&(U(),$())}),[R.sections]),o.useImperativeHandle(f,(()=>({getSections:()=>R.sections,getActiveSectionIndex:K.getActiveSectionIndexFromDOM,setSelectedSections:K.setSelectedSections,focusField:K.focusField,isFieldFocused:K.isFieldFocused})));const ee={onKeyDown:Z,onClear:(0,a.A)(((e,...t)=>{e.preventDefault(),T?.(e,...t),j(),K.isFieldFocused()?L(Y.startIndex):K.focusField(0)})),error:Q,clearable:Boolean(C&&!q&&!w&&!x)},te={disabled:x,readOnly:w};return(0,r.A)({},e.forwardedProps,ee,te,X)}},91494:function(e,t,n){"use strict";n.d(t,{$i:function(){return b},C7:function(){return g},FS:function(){return M},Fv:function(){return p},Hp:function(){return d},Lz:function(){return A},Nq:function(){return m},Nu:function(){return O},QF:function(){return P},S:function(){return c},Sp:function(){return k},UY:function(){return h},Xw:function(){return y},ZS:function(){return w},bQ:function(){return f},et:function(){return u},gS:function(){return T},hk:function(){return a},m0:function(){return C},s8:function(){return i},sZ:function(){return x},wk:function(){return l},wp:function(){return o},xL:function(){return _}});var r=n(23887);const o=(e,t)=>{const n=e.formatTokenMap[t];if(null==n)throw new Error([`MUI X: The token "${t}" is not supported by the Date and Time Pickers.`,"Please try using another token or open an issue on https://github.com/mui/mui-x/issues/new/choose if you think it should be supported."].join("\n"));return"string"==typeof n?{type:n,contentType:"meridiem"===n?"letter":"digit",maxLength:void 0}:{type:n.sectionType,contentType:n.contentType,maxLength:n.maxLength}},i=(e,t,n)=>{const r=[],o=e.date(void 0,t),i=e.startOfWeek(o),a=e.endOfWeek(o);let s=i;for(;e.isBefore(s,a);)r.push(s),s=e.addDays(s,1);return r.map((t=>e.formatByString(t,n)))},a=(e,t,n,o)=>{switch(n){case"month":return(0,r.YQ)(e,e.date(void 0,t)).map((t=>e.formatByString(t,o)));case"weekDay":return i(e,t,o);case"meridiem":{const n=e.date(void 0,t);return[e.startOfDay(n),e.endOfDay(n)].map((t=>e.formatByString(t,o)))}default:return[]}},s=["0","1","2","3","4","5","6","7","8","9"],l=e=>{const t=e.date(void 0);return"0"===e.formatByString(e.setSeconds(t,0),"s")?s:Array.from({length:10}).map(((n,r)=>e.formatByString(e.setSeconds(t,r),"s")))},c=(e,t)=>{if("0"===t[0])return e;const n=[];let r="";for(let o=0;o<e.length;o+=1){r+=e[o];const i=t.indexOf(r);i>-1&&(n.push(i.toString()),r="")}return n.join("")},u=(e,t)=>"0"===t[0]?e:e.split("").map((e=>t[Number(e)])).join(""),d=(e,t)=>{const n=c(e,t);return" "!==n&&!Number.isNaN(Number(n))},p=(e,t)=>{let n=e;for(n=Number(n).toString();n.length<t;)n=`0${n}`;return n},f=(e,t,n,r,o)=>{if("day"===o.type&&"digit-with-letter"===o.contentType){const r=e.setDate(n.longestMonth,t);return e.formatByString(r,o.format)}let i=t.toString();return o.hasLeadingZerosInInput&&(i=p(i,o.maxLength)),u(i,r)},h=(e,t,n,r,o,i,s,l)=>{const u=(e=>{switch(e){case"ArrowUp":return 1;case"ArrowDown":return-1;case"PageUp":return 5;case"PageDown":return-5;default:return 0}})(r),d="Home"===r,p="End"===r,h=""===n.value||d||p;return"digit"===n.contentType||"digit-with-letter"===n.contentType?(()=>{const r=o[n.type]({currentDate:s,format:n.format,contentType:n.contentType}),a=t=>f(e,t,r,i,n),m="minutes"===n.type&&l?.minutesStep?l.minutesStep:1;let g=parseInt(c(n.value,i),10)+u*m;if(h){if("year"===n.type&&!p&&!d)return e.formatByString(e.date(void 0,t),n.format);g=u>0||d?r.minimum:r.maximum}return g%m!=0&&((u<0||d)&&(g+=m-(m+g)%m),(u>0||p)&&(g-=g%m)),g>r.maximum?a(r.minimum+(g-r.maximum-1)%(r.maximum-r.minimum+1)):g<r.minimum?a(r.maximum-(r.minimum-g-1)%(r.maximum-r.minimum+1)):a(g)})():(()=>{const r=a(e,t,n.type,n.format);if(0===r.length)return n.value;if(h)return u>0||d?r[0]:r[r.length-1];const o=r.indexOf(n.value);return r[((o+u)%r.length+r.length)%r.length]})()},m=(e,t,n)=>{let r=e.value||e.placeholder;const o="non-input"===t?e.hasLeadingZerosInFormat:e.hasLeadingZerosInInput;"non-input"===t&&e.hasLeadingZerosInInput&&!e.hasLeadingZerosInFormat&&(r=Number(c(r,n)).toString());return["input-rtl","input-ltr"].includes(t)&&"digit"===e.contentType&&!o&&1===r.length&&(r=`${r}‎`),"input-rtl"===t&&(r=`â¨${r}â©`),r},g=(e,t,n,r)=>e.formatByString(e.parse(t,n),r),v=(e,t,n)=>4===e.formatByString(e.date(void 0,t),n).length,y=(e,t,n,r,o)=>{if("digit"!==n)return!1;const i=e.date(void 0,t);switch(r){case"year":if(v(e,t,o)){return"0001"===e.formatByString(e.setYear(i,1),o)}return"01"===e.formatByString(e.setYear(i,2001),o);case"month":return e.formatByString(e.startOfYear(i),o).length>1;case"day":return e.formatByString(e.startOfMonth(i),o).length>1;case"weekDay":return e.formatByString(e.startOfWeek(i),o).length>1;case"hours":return e.formatByString(e.setHours(i,1),o).length>1;case"minutes":return e.formatByString(e.setMinutes(i,1),o).length>1;case"seconds":return e.formatByString(e.setSeconds(i,1),o).length>1;default:throw new Error("Invalid section type")}},b=(e,t,n)=>{const r=t.some((e=>"day"===e.type)),o=[],i=[];for(let e=0;e<t.length;e+=1){const a=t[e];r&&"weekDay"===a.type||(o.push(a.format),i.push(m(a,"non-input",n)))}const a=o.join(" "),s=i.join(" ");return e.parse(s,a)},x=e=>e.map((e=>`${e.startSeparator}${e.value||e.placeholder}${e.endSeparator}`)).join(""),w=(e,t,n)=>{const r=e.map((e=>{const r=m(e,n?"input-rtl":"input-ltr",t);return`${e.startSeparator}${r}${e.endSeparator}`})).join("");return n?`â¦${r}â©`:r},A=(e,t,n)=>{const o=e.date(void 0,n),a=e.endOfYear(o),s=e.endOfDay(o),{maxDaysInMonth:l,longestMonth:u}=(0,r.YQ)(e,o).reduce(((t,n)=>{const r=e.getDaysInMonth(n);return r>t.maxDaysInMonth?{maxDaysInMonth:r,longestMonth:n}:t}),{maxDaysInMonth:0,longestMonth:null});return{year:({format:t})=>({minimum:0,maximum:v(e,n,t)?9999:99}),month:()=>({minimum:1,maximum:e.getMonth(a)+1}),day:({currentDate:t})=>({minimum:1,maximum:null!=t&&e.isValid(t)?e.getDaysInMonth(t):l,longestMonth:u}),weekDay:({format:t,contentType:r})=>{if("digit"===r){const r=i(e,n,t).map(Number);return{minimum:Math.min(...r),maximum:Math.max(...r)}}return{minimum:1,maximum:7}},hours:({format:n})=>{const r=e.getHours(s);return c(e.formatByString(e.endOfDay(o),n),t)!==r.toString()?{minimum:1,maximum:Number(c(e.formatByString(e.startOfDay(o),n),t))}:{minimum:0,maximum:r}},minutes:()=>({minimum:0,maximum:e.getMinutes(s)}),seconds:()=>({minimum:0,maximum:e.getSeconds(s)}),meridiem:()=>({minimum:0,maximum:1}),empty:()=>({minimum:0,maximum:0})}};const _=(e,t)=>{0},S={year:1,month:2,day:3,weekDay:4,hours:5,minutes:6,seconds:7,meridiem:8,empty:9},k=(e,t,n,r,o,a)=>[...r].sort(((e,t)=>S[e.type]-S[t.type])).reduce(((r,o)=>!a||o.modified?((e,t,n,r,o)=>{switch(n.type){case"year":return e.setYear(o,e.getYear(r));case"month":return e.setMonth(o,e.getMonth(r));case"weekDay":{const o=i(e,t,n.format),a=e.formatByString(r,n.format),s=o.indexOf(a),l=o.indexOf(n.value)-s;return e.addDays(r,l)}case"day":return e.setDate(o,e.getDate(r));case"meridiem":{const t=e.getHours(r)<12,n=e.getHours(o);return t&&n>=12?e.addHours(o,-12):!t&&n<12?e.addHours(o,12):o}case"hours":return e.setHours(o,e.getHours(r));case"minutes":return e.setMinutes(o,e.getMinutes(r));case"seconds":return e.setSeconds(o,e.getSeconds(r));default:return o}})(e,t,o,n,r):r),o),C=()=>navigator.userAgent.toLowerCase().indexOf("android")>-1,T=(e,t)=>{const n={};if(!t)return e.forEach(((t,r)=>{const o=0===r?null:r-1,i=r===e.length-1?null:r+1;n[r]={leftIndex:o,rightIndex:i}})),{neighbors:n,startIndex:0,endIndex:e.length-1};const r={},o={};let i=0,a=0,s=e.length-1;for(;s>=0;){a=e.findIndex(((e,t)=>t>=i&&e.endSeparator?.includes(" ")&&" / "!==e.endSeparator)),-1===a&&(a=e.length-1);for(let e=a;e>=i;e-=1)o[e]=s,r[s]=e,s-=1;i=a+1}return e.forEach(((t,i)=>{const a=o[i],s=0===a?null:r[a-1],l=a===e.length-1?null:r[a+1];n[i]={leftIndex:s,rightIndex:l}})),{neighbors:n,startIndex:r[0],endIndex:r[e.length-1]}},M=(e,t)=>null==e?null:"all"===e?"all":"string"==typeof e?t.findIndex((t=>t.type===e)):e,P=(e,t)=>{if(e.value)switch(e.type){case"month":{if("digit"===e.contentType)return t.format(t.setMonth(t.date(),Number(e.value)-1),"month");const n=t.parse(e.value,e.format);return n?t.format(n,"month"):void 0}case"day":return"digit"===e.contentType?t.format(t.setDate(t.startOfYear(t.date()),Number(e.value)),"dayOfMonthFull"):e.value;default:return}},O=(e,t)=>{if(e.value)switch(e.type){case"weekDay":if("letter"===e.contentType)return;return Number(e.value);case"meridiem":{const n=t.parse(`01:00 ${e.value}`,`${t.formats.hours12h}:${t.formats.minutes} ${e.format}`);return n?t.getHours(n)>=12?1:0:void 0}case"day":return"digit-with-letter"===e.contentType?parseInt(e.value,10):Number(e.value);case"month":{if("digit"===e.contentType)return Number(e.value);const n=t.parse(e.value,e.format);return n?t.getMonth(n)+1:void 0}default:return"letter"!==e.contentType?Number(e.value):void 0}}},63119:function(e,t,n){"use strict";n.d(t,{C:function(){return k}});var r=n(58168),o=n(98587),i=n(96540),a=n(17315),s=n(31523),l=n(34661),c=n(30799),u=n(20973),d=n(77037),p=n(68997),f=n(11848),h=n(31886),m=n(74848);const g=(0,f.Ay)(d.A)({[`& .${p.A.container}`]:{outline:0},[`& .${p.A.paper}`]:{outline:0,minWidth:h.eX}}),v=(0,f.Ay)(c.A)({"&:first-of-type":{padding:0}});function y(e){const{children:t,onDismiss:n,open:o,slots:i,slotProps:a}=e,s=i?.dialog??g,l=i?.mobileTransition??u.A;return(0,m.jsx)(s,(0,r.A)({open:o,onClose:n},a?.dialog,{TransitionComponent:l,TransitionProps:a?.mobileTransition,PaperComponent:i?.mobilePaper,PaperProps:a?.mobilePaper,children:(0,m.jsx)(v,{children:t})}))}var b=n(84488),x=n(24034),w=n(69490),A=n(75737),_=n(631);const S=["props","getOpenDialogAriaText"],k=e=>{let{props:t,getOpenDialogAriaText:n}=e,c=(0,o.A)(e,S);const{slots:u,slotProps:d,className:p,sx:f,format:h,formatDensity:g,enableAccessibleFieldDOMStructure:v,selectedSections:k,onSelectedSectionsChange:C,timezone:T,name:M,label:P,inputRef:O,readOnly:E,disabled:D,localeText:R}=t,I=(0,w.hc)(),N=i.useRef(null),L=(0,l.A)(),j=d?.toolbar?.hidden??!1,{open:$,actions:z,layoutProps:F,renderCurrentView:B,fieldProps:H}=(0,b.k)((0,r.A)({},c,{props:t,fieldRef:N,autoFocusView:!0,additionalViewProps:{},wrapperVariant:"mobile"})),V=u.field,W=(0,a.Q)({elementType:V,externalSlotProps:d?.field,additionalProps:(0,r.A)({},H,j&&{id:L},!(D||E)&&{onClick:z.onOpen,onKeyDown:(0,x.rQ)(z.onOpen)},{readOnly:E??!0,disabled:D,className:p,sx:f,format:h,formatDensity:g,enableAccessibleFieldDOMStructure:v,selectedSections:k,onSelectedSectionsChange:C,timezone:T,label:P,name:M},O?{inputRef:O}:{}),ownerState:t});W.inputProps=(0,r.A)({},W.inputProps,{"aria-label":n(H.value,I)});const U=(0,r.A)({textField:u.textField},W.slots),q=u.layout??_.CJ;let G=L;j&&(G=P?`${L}-label`:void 0);const Y=(0,r.A)({},d,{toolbar:(0,r.A)({},d?.toolbar,{titleId:L}),mobilePaper:(0,r.A)({"aria-labelledby":G},d?.mobilePaper)}),X=(0,s.A)(N,W.unstableFieldRef);return{renderPicker:()=>(0,m.jsxs)(A.$,{localeText:R,children:[(0,m.jsx)(V,(0,r.A)({},W,{slots:U,slotProps:Y,unstableFieldRef:X})),(0,m.jsx)(y,(0,r.A)({},z,{open:$,slots:u,slotProps:Y,children:(0,m.jsx)(q,(0,r.A)({},F,Y?.layout,{slots:u,slotProps:Y,children:B()}))}))]})}}},84488:function(e,t,n){"use strict";n.d(t,{k:function(){return b}});var r=n(58168),o=n(96540),i=n(93928);var a=n(69490),s=n(29242),l=n(33059);const c=({props:e,valueManager:t,valueType:n,wrapperVariant:c,validator:u})=>{const{onAccept:d,onChange:p,value:f,defaultValue:h,closeOnSelect:m="desktop"===c,timezone:g}=e,{current:v}=o.useRef(h),{current:y}=o.useRef(void 0!==f);const b=(0,a.hc)(),x=(0,a.u)(),{isOpen:w,setIsOpen:A}=(({open:e,onOpen:t,onClose:n})=>{const r=o.useRef("boolean"==typeof e).current,[i,a]=o.useState(!1);return o.useEffect((()=>{if(r){if("boolean"!=typeof e)throw new Error("You must not mix controlling and uncontrolled mode for `open` prop");a(e)}}),[r,e]),{isOpen:i,setIsOpen:o.useCallback((e=>{r||a(e),e&&t&&t(),!e&&n&&n()}),[r,t,n])}})(e),{timezone:_,value:S,handleValueChange:k}=(0,l.M)({timezone:g,value:f,defaultValue:v,onChange:p,valueManager:t}),[C,T]=o.useState((()=>{let e;return e=void 0!==S?S:void 0!==v?v:t.emptyValue,{draft:e,lastPublishedValue:e,lastCommittedValue:e,lastControlledValue:S,hasBeenModifiedSinceMount:!1}}));(0,s.$)((0,r.A)({},e,{value:C.draft,timezone:_}),u,t.isSameError,t.defaultErrorState);const M=(0,i.A)((n=>{const o={action:n,dateState:C,hasChanged:e=>!t.areValuesEqual(b,n.value,e),isControlled:y,closeOnSelect:m},i=(e=>{const{action:t,hasChanged:n,dateState:r,isControlled:o}=e,i=!o&&!r.hasBeenModifiedSinceMount;return"setValueFromField"===t.name||("setValueFromAction"===t.name?!(!i||!["accept","today","clear"].includes(t.pickerAction))||n(r.lastPublishedValue):("setValueFromView"===t.name&&"shallow"!==t.selectionState||"setValueFromShortcut"===t.name)&&(!!i||n(r.lastPublishedValue)))})(o),a=(e=>{const{action:t,hasChanged:n,dateState:r,isControlled:o,closeOnSelect:i}=e,a=!o&&!r.hasBeenModifiedSinceMount;return"setValueFromAction"===t.name?!(!a||!["accept","today","clear"].includes(t.pickerAction))||n(r.lastCommittedValue):"setValueFromView"===t.name&&"finish"===t.selectionState&&i?!!a||n(r.lastCommittedValue):"setValueFromShortcut"===t.name&&"accept"===t.changeImportance&&n(r.lastCommittedValue)})(o),s=(e=>{const{action:t,closeOnSelect:n}=e;return"setValueFromAction"===t.name||("setValueFromView"===t.name?"finish"===t.selectionState&&n:"setValueFromShortcut"===t.name&&"accept"===t.changeImportance)})(o);T((e=>(0,r.A)({},e,{draft:n.value,lastPublishedValue:i?n.value:e.lastPublishedValue,lastCommittedValue:a?n.value:e.lastCommittedValue,hasBeenModifiedSinceMount:!0})));let l=null;const c=()=>{if(!l){const t="setValueFromField"===n.name?n.context.validationError:u({adapter:x,value:n.value,props:(0,r.A)({},e,{value:n.value,timezone:_})});l={validationError:t},"setValueFromShortcut"===n.name&&(l.shortcut=n.shortcut)}return l};i&&k(n.value,c()),a&&d&&d(n.value,c()),s&&A(!1)}));if(void 0!==S&&(void 0===C.lastControlledValue||!t.areValuesEqual(b,C.lastControlledValue,S))){const e=t.areValuesEqual(b,C.draft,S);T((t=>(0,r.A)({},t,{lastControlledValue:S},e?{}:{lastCommittedValue:S,lastPublishedValue:S,draft:S,hasBeenModifiedSinceMount:!0})))}const P=(0,i.A)((()=>{M({value:t.emptyValue,name:"setValueFromAction",pickerAction:"clear"})})),O=(0,i.A)((()=>{M({value:C.lastPublishedValue,name:"setValueFromAction",pickerAction:"accept"})})),E=(0,i.A)((()=>{M({value:C.lastPublishedValue,name:"setValueFromAction",pickerAction:"dismiss"})})),D=(0,i.A)((()=>{M({value:C.lastCommittedValue,name:"setValueFromAction",pickerAction:"cancel"})})),R=(0,i.A)((()=>{M({value:t.getTodayValue(b,_,n),name:"setValueFromAction",pickerAction:"today"})})),I=(0,i.A)((e=>{e.preventDefault(),A(!0)})),N=(0,i.A)((e=>{e?.preventDefault(),A(!1)})),L=(0,i.A)(((e,t="partial")=>M({name:"setValueFromView",value:e,selectionState:t}))),j=(0,i.A)(((e,t,n)=>M({name:"setValueFromShortcut",value:e,changeImportance:t,shortcut:n}))),$=(0,i.A)(((e,t)=>M({name:"setValueFromField",value:e,context:t}))),z={onClear:P,onAccept:O,onDismiss:E,onCancel:D,onSetToday:R,onOpen:I,onClose:N},F={value:C.draft,onChange:$},B=o.useMemo((()=>t.cleanValue(b,C.draft)),[b,t,C.draft]);return{open:w,fieldProps:F,viewProps:{value:B,onChange:L,onClose:N,open:w},layoutProps:(0,r.A)({},z,{value:B,onChange:L,onSelectShortcut:j,isValid:n=>{const o=u({adapter:x,value:n,props:(0,r.A)({},e,{value:n,timezone:_})});return!t.hasError(o)}}),actions:z}};var u=n(98587),d=n(21529),p=n(93703),f=n(95878);const h=["className","sx"];var m=n(73788),g=n(24034);function v(){return"undefined"==typeof window?"portrait":window.screen&&window.screen.orientation&&window.screen.orientation.angle?90===Math.abs(window.screen.orientation.angle)?"landscape":"portrait":window.orientation&&90===Math.abs(Number(window.orientation))?"landscape":"portrait"}const y=({props:e,propsFromPickerValue:t,propsFromPickerViews:n,wrapperVariant:i})=>{const{orientation:a}=e,s=((e,t)=>{const[n,r]=o.useState(v);return(0,d.A)((()=>{const e=()=>{r(v())};return window.addEventListener("orientationchange",e),()=>{window.removeEventListener("orientationchange",e)}}),[]),!(0,g.Xk)(e,["hours","minutes","seconds"])&&"landscape"===(t||n)})(n.views,a),l=(0,m.I)();return{layoutProps:(0,r.A)({},n,t,{isLandscape:s,isRtl:l,wrapperVariant:i,disabled:e.disabled,readOnly:e.readOnly})}};(0,n(75079).f)(["The `renderInput` prop has been removed in version 6.0 of the Date and Time Pickers.","You can replace it with the `textField` component slot in most cases.","For more information, please have a look at the migration guide (https://mui.com/x/migration/migration-pickers-v5/#input-renderer-required-in-v5)."]);const b=({props:e,valueManager:t,valueType:n,wrapperVariant:a,additionalViewProps:s,validator:l,autoFocusView:m,rendererInterceptor:g,fieldRef:v})=>{const b=c({props:e,valueManager:t,valueType:n,wrapperVariant:a,validator:l}),x=(({props:e,propsFromPickerValue:t,additionalViewProps:n,autoFocusView:a,rendererInterceptor:s,fieldRef:l})=>{const{onChange:c,open:m,onClose:g}=t,{view:v,views:y,openTo:b,onViewChange:x,viewRenderers:w,timezone:A}=e,_=(0,u.A)(e,h),{view:S,setView:k,defaultView:C,focusedView:T,setFocusedView:M,setValueAndGoToNextView:P}=(0,p.o)({view:v,views:y,openTo:b,onChange:c,onViewChange:x,autoFocus:a}),{hasUIView:O,viewModeLookup:E}=o.useMemo((()=>y.reduce(((e,t)=>{let n;return n=null!=w[t]?"UI":"field",e.viewModeLookup[t]=n,"UI"===n&&(e.hasUIView=!0),e}),{hasUIView:!1,viewModeLookup:{}})),[w,y]),D=o.useMemo((()=>y.reduce(((e,t)=>null!=w[t]&&(0,f.hW)(t)?e+1:e),0)),[w,y]),R=E[S],I=(0,i.A)((()=>"UI"===R)),[N,L]=o.useState("UI"===R?S:null);return N!==S&&"UI"===E[S]&&L(S),(0,d.A)((()=>{"field"===R&&m&&(g(),setTimeout((()=>{l?.current?.setSelectedSections(S),l?.current?.focusField(S)})))}),[S]),(0,d.A)((()=>{if(!m)return;let e=S;"field"===R&&null!=N&&(e=N),e!==C&&"UI"===E[e]&&"UI"===E[C]&&(e=C),e!==S&&k(e),M(e,!0)}),[m]),{hasUIView:O,shouldRestoreFocus:I,layoutProps:{views:y,view:N,onViewChange:k},renderCurrentView:()=>{if(null==N)return null;const e=w[N];if(null==e)return null;const o=(0,r.A)({},_,n,t,{views:y,timezone:A,onChange:P,view:N,onViewChange:k,focusedView:T,onFocusedViewChange:M,showViewSwitcher:D>1,timeViewsCount:D});return s?s(w,N,o):e(o)}}})({props:e,additionalViewProps:s,autoFocusView:m,fieldRef:v,propsFromPickerValue:b.viewProps,rendererInterceptor:g}),w=y({props:e,wrapperVariant:a,propsFromPickerValue:b.layoutProps,propsFromPickerViews:x.layoutProps});return{open:b.open,actions:b.actions,fieldProps:b.fieldProps,renderCurrentView:x.renderCurrentView,hasUIView:x.hasUIView,shouldRestoreFocus:x.shouldRestoreFocus,layoutProps:w.layoutProps}}},69490:function(e,t,n){"use strict";n.d(t,{Yg:function(){return d},u:function(){return c},cB:function(){return p},hc:function(){return u}});var r=n(58168),o=n(96540),i=n(75737);const a={previousMonth:"Previous month",nextMonth:"Next month",openPreviousView:"Open previous view",openNextView:"Open next view",calendarViewSwitchingButtonAriaLabel:e=>"year"===e?"year view is open, switch to calendar view":"calendar view is open, switch to year view",start:"Start",end:"End",startDate:"Start date",startTime:"Start time",endDate:"End date",endTime:"End time",cancelButtonLabel:"Cancel",clearButtonLabel:"Clear",okButtonLabel:"OK",todayButtonLabel:"Today",datePickerToolbarTitle:"Select date",dateTimePickerToolbarTitle:"Select date & time",timePickerToolbarTitle:"Select time",dateRangePickerToolbarTitle:"Select date range",clockLabelText:(e,t,n)=>`Select ${e}. ${null===t?"No time selected":`Selected time is ${n.format(t,"fullTime")}`}`,hoursClockNumberText:e=>`${e} hours`,minutesClockNumberText:e=>`${e} minutes`,secondsClockNumberText:e=>`${e} seconds`,selectViewText:e=>`Select ${e}`,calendarWeekNumberHeaderLabel:"Week number",calendarWeekNumberHeaderText:"#",calendarWeekNumberAriaLabelText:e=>`Week ${e}`,calendarWeekNumberText:e=>`${e}`,openDatePickerDialogue:(e,t)=>null!==e&&t.isValid(e)?`Choose date, selected date is ${t.format(e,"fullDate")}`:"Choose date",openTimePickerDialogue:(e,t)=>null!==e&&t.isValid(e)?`Choose time, selected time is ${t.format(e,"fullTime")}`:"Choose time",fieldClearLabel:"Clear value",timeTableLabel:"pick time",dateTableLabel:"pick date",fieldYearPlaceholder:e=>"Y".repeat(e.digitAmount),fieldMonthPlaceholder:e=>"letter"===e.contentType?"MMMM":"MM",fieldDayPlaceholder:()=>"DD",fieldWeekDayPlaceholder:e=>"letter"===e.contentType?"EEEE":"EE",fieldHoursPlaceholder:()=>"hh",fieldMinutesPlaceholder:()=>"mm",fieldSecondsPlaceholder:()=>"ss",fieldMeridiemPlaceholder:()=>"aa",year:"Year",month:"Month",day:"Day",weekDay:"Week day",hours:"Hours",minutes:"Minutes",seconds:"Seconds",meridiem:"Meridiem",empty:"Empty"},s=a;l=a,(0,r.A)({},l);var l;const c=()=>{const e=o.useContext(i.F);if(null===e)throw new Error(["MUI X: Can not find the date and time pickers localization context.","It looks like you forgot to wrap your component in LocalizationProvider.","This can also happen if you are bundling multiple versions of the `@mui/x-date-pickers` package"].join("\n"));if(null===e.utils)throw new Error(["MUI X: Can not find the date and time pickers adapter from its localization context.","It looks like you forgot to pass a `dateAdapter` to your LocalizationProvider."].join("\n"));const t=o.useMemo((()=>(0,r.A)({},s,e.localeText)),[e.localeText]);return o.useMemo((()=>(0,r.A)({},e,{localeText:t})),[e,t])},u=()=>c().utils,d=()=>c().defaultDates,p=e=>{const t=u(),n=o.useRef();return void 0===n.current&&(n.current=t.date(void 0,e)),n.current}},29242:function(e,t,n){"use strict";n.d(t,{$:function(){return i}});var r=n(96540),o=n(69490);function i(e,t,n,i){const{value:a,onError:s}=e,l=(0,o.u)(),c=r.useRef(i),u=t({adapter:l,value:a,props:e});return r.useEffect((()=>{s&&!n(u,c.current)&&s(u,a),c.current=u}),[n,s,c,u,a]),u}},33059:function(e,t,n){"use strict";n.d(t,{M:function(){return s},Y:function(){return l}});var r=n(96540),o=n(93928),i=n(2501),a=n(69490);const s=({timezone:e,value:t,defaultValue:n,onChange:i,valueManager:s})=>{const l=(0,a.hc)(),c=r.useRef(n),u=t??c.current??s.emptyValue,d=r.useMemo((()=>s.getTimezone(l,u)),[l,s,u]),p=(0,o.A)((e=>null==d?e:s.setTimezone(l,d,e))),f=e??d??"default";return{value:r.useMemo((()=>s.setTimezone(l,f,u)),[s,l,f,u]),handleValueChange:(0,o.A)(((e,...t)=>{const n=p(e);i?.(n,...t)})),timezone:f}},l=({name:e,timezone:t,value:n,defaultValue:r,onChange:a,valueManager:l})=>{const[c,u]=(0,i.A)({name:e,state:"value",controlled:n,default:r??l.emptyValue}),d=(0,o.A)(((e,...t)=>{u(e),a?.(e,...t)}));return s({timezone:t,value:c,defaultValue:void 0,onChange:d,valueManager:l})}},93703:function(e,t,n){"use strict";n.d(t,{o:function(){return a}});var r=n(96540),o=n(93928),i=n(2501);function a({onChange:e,onViewChange:t,openTo:n,view:a,views:s,autoFocus:l,focusedView:c,onFocusedViewChange:u}){const d=r.useRef(n),p=r.useRef(s),f=r.useRef(s.includes(n)?n:s[0]),[h,m]=(0,i.A)({name:"useViews",state:"view",controlled:a,default:f.current}),g=r.useRef(l?h:null),[v,y]=(0,i.A)({name:"useViews",state:"focusedView",controlled:c,default:g.current});r.useEffect((()=>{(d.current&&d.current!==n||p.current&&p.current.some((e=>!s.includes(e))))&&(m(s.includes(n)?n:s[0]),p.current=s,d.current=n)}),[n,m,h,s]);const b=s.indexOf(h),x=s[b-1]??null,w=s[b+1]??null,A=(0,o.A)(((e,t)=>{y(t?e:t=>e===t?null:t),u?.(e,t)})),_=(0,o.A)((e=>{A(e,!0),e!==h&&(m(e),t&&t(e))})),S=(0,o.A)((()=>{w&&_(w)})),k=(0,o.A)(((t,n,r)=>{const o="finish"===n,i=r?s.indexOf(r)<s.length-1:Boolean(w);if(e(t,o&&i?"partial":n,r),r&&r!==h){const e=s[s.indexOf(r)+1];e&&_(e)}else o&&S()}));return{view:h,setView:_,focusedView:v,setFocusedView:A,nextView:w,previousView:x,defaultView:s.includes(n)?n:s[0],goToNextView:S,setValueAndGoToNextView:k}}},76879:function(e,t,n){"use strict";n.d(t,{h:function(){return l}});var r=n(58168),o=n(98587);const i=["enableAccessibleFieldDOMStructure"],a=["InputProps","readOnly"],s=["onPaste","onKeyDown","inputMode","readOnly","InputProps","inputProps","inputRef"],l=e=>{let{enableAccessibleFieldDOMStructure:t}=e,n=(0,o.A)(e,i);if(t){const{InputProps:e,readOnly:t}=n,i=(0,o.A)(n,a);return(0,r.A)({},i,{InputProps:(0,r.A)({},e??{},{readOnly:t})})}const{onPaste:l,onKeyDown:c,inputMode:u,readOnly:d,InputProps:p,inputProps:f,inputRef:h}=n,m=(0,o.A)(n,s);return(0,r.A)({},m,{InputProps:(0,r.A)({},p??{},{readOnly:d}),inputProps:(0,r.A)({},f??{},{inputMode:u,onPaste:l,onKeyDown:c,ref:h})})}},81589:function(e,t,n){"use strict";n.d(t,{H:function(){return d},J:function(){return l}});var r=n(58168),o=n(98587),i=n(95878),a=n(23887);const s=["views","format"],l=(e,t)=>{let{views:n,format:l}=t,c=(0,o.A)(t,s);if(l)return l;const u=[],d=[];if(n.forEach((e=>{(0,i.hW)(e)?d.push(e):u.push(e)})),0===d.length)return(0,a.Wq)(e,(0,r.A)({views:u},c),!1);if(0===u.length)return(0,i.b$)(e,(0,r.A)({views:d},c));const p=(0,i.b$)(e,(0,r.A)({views:d},c));return`${(0,a.Wq)(e,(0,r.A)({views:u},c),!1)} ${p}`},c=(e,t,n)=>n?t.filter((e=>!(0,i.Sq)(e)||"hours"===e)):e?[...t,"meridiem"]:t,u=(e,t)=>1440/((e.hours??1)*(e.minutes??5))<=t;function d({thresholdToRenderTimeInASingleColumn:e,ampm:t,timeSteps:n,views:o}){const i=e??24,a=(0,r.A)({hours:1,minutes:5,seconds:5},n),s=u(a,i);return{thresholdToRenderTimeInASingleColumn:i,timeSteps:a,shouldRenderTimeInASingleColumn:s,views:c(t,o,s)}}},23887:function(e,t,n){"use strict";n.d(t,{IP:function(){return s},Q6:function(){return a},Wq:function(){return h},YQ:function(){return c},_S:function(){return d},ak:function(){return u},cH:function(){return m},iH:function(){return l},il:function(){return i},jH:function(){return o},sC:function(){return f}});var r=n(34469);const o=(e,t,n)=>{let r=t;return r=e.setHours(r,e.getHours(n)),r=e.setMinutes(r,e.getMinutes(n)),r=e.setSeconds(r,e.getSeconds(n)),r},i=({date:e,disableFuture:t,disablePast:n,maxDate:r,minDate:i,isDateDisabled:a,utils:s,timezone:l})=>{const c=o(s,s.date(void 0,l),e);n&&s.isBefore(i,c)&&(i=c),t&&s.isAfter(r,c)&&(r=c);let u=e,d=e;for(s.isBefore(e,i)&&(u=i,d=null),s.isAfter(e,r)&&(d&&(d=r),u=null);u||d;){if(u&&s.isAfter(u,r)&&(u=null),d&&s.isBefore(d,i)&&(d=null),u){if(!a(u))return u;u=s.addDays(u,1)}if(d){if(!a(d))return d;d=s.addDays(d,-1)}}return null},a=(e,t)=>null!=t&&e.isValid(t)?t:null,s=(e,t,n)=>null!=t&&e.isValid(t)?t:n,l=(e,t,n)=>!e.isValid(t)&&null!=t&&!e.isValid(n)&&null!=n||e.isEqual(t,n),c=(e,t)=>{const n=[e.startOfYear(t)];for(;n.length<12;){const t=n[n.length-1];n.push(e.addMonths(t,1))}return n},u=(e,t,n)=>"date"===n?e.startOfDay(e.date(void 0,t)):e.date(void 0,t),d=(e,t)=>{const n=e.setHours(e.date(),"am"===t?2:14);return e.format(n,"meridiem")},p=["year","month","day"],f=e=>p.includes(e),h=(e,{format:t,views:n},o)=>{if(null!=t)return t;const i=e.formats;return(0,r.f)(n,["year"])?i.year:(0,r.f)(n,["month"])?i.month:(0,r.f)(n,["day"])?i.dayOfMonth:(0,r.f)(n,["month","year"])?`${i.month} ${i.year}`:(0,r.f)(n,["day","month"])?`${i.month} ${i.dayOfMonth}`:o?/en/.test(e.getCurrentLocaleCode())?i.normalDateWithWeekday:i.normalDate:i.keyboardDate},m=(e,t)=>{const n=e.startOfWeek(t);return[0,1,2,3,4,5,6].map((t=>e.addDays(n,t)))}},54274:function(e,t,n){"use strict";n.d(t,{D:function(){return a}});var r=n(58168),o=n(62067);const i=["value","defaultValue","referenceDate","format","formatDensity","onChange","timezone","onError","shouldRespectLeadingZeros","selectedSections","onSelectedSectionsChange","unstableFieldRef","enableAccessibleFieldDOMStructure","disabled","readOnly","dateSeparator"],a=(e,t)=>{const n=(0,r.A)({},e),a={},s=e=>{n.hasOwnProperty(e)&&(a[e]=n[e],delete n[e])};return i.forEach(s),"date"===t?o.eu.forEach(s):"time"===t?o.$5.forEach(s):"date-time"===t&&(o.eu.forEach(s),o.$5.forEach(s),o.QG.forEach(s)),{forwardedProps:n,internalProps:a}}},78401:function(e,t,n){"use strict";n.d(t,{$9:function(){return l},kI:function(){return a},yX:function(){return i}});var r=n(95878),o=n(23887);const i={year:1,month:2,day:3,hours:4,minutes:5,seconds:6,milliseconds:7},a=e=>Math.max(...e.map((e=>i[e.type]??1))),s=(e,t,n)=>{if(t===i.year)return e.startOfYear(n);if(t===i.month)return e.startOfMonth(n);if(t===i.day)return e.startOfDay(n);let r=n;return t<i.minutes&&(r=e.setMinutes(r,0)),t<i.seconds&&(r=e.setSeconds(r,0)),t<i.milliseconds&&(r=e.setMilliseconds(r,0)),r},l=({props:e,utils:t,granularity:n,timezone:i,getTodayDate:a})=>{let l=a?a():s(t,n,(0,o.ak)(t,i));null!=e.minDate&&t.isAfterDay(e.minDate,l)&&(l=s(t,n,e.minDate)),null!=e.maxDate&&t.isBeforeDay(e.maxDate,l)&&(l=s(t,n,e.maxDate));const c=(0,r.iF)(e.disableIgnoringDatePartForTimeValidation??!1,t);return null!=e.minTime&&c(e.minTime,l)&&(l=s(t,n,e.disableIgnoringDatePartForTimeValidation?e.minTime:(0,o.jH)(t,l,e.minTime))),null!=e.maxTime&&c(l,e.maxTime)&&(l=s(t,n,e.disableIgnoringDatePartForTimeValidation?e.maxTime:(0,o.jH)(t,l,e.maxTime))),l}},95878:function(e,t,n){"use strict";n.d(t,{Sq:function(){return a},b$:function(){return p},fX:function(){return s},gY:function(){return l},hW:function(){return i},iF:function(){return d},tB:function(){return c}});var r=n(34469);const o=["hours","minutes","seconds"],i=e=>o.includes(e),a=e=>o.includes(e)||"meridiem"===e,s=(e,t)=>e?t.getHours(e)>=12?"pm":"am":null,l=(e,t,n)=>{if(n){if((e>=12?"pm":"am")!==t)return"am"===t?e-12:e+12}return e},c=(e,t,n,r)=>{const o=l(r.getHours(e),t,n);return r.setHours(e,o)},u=(e,t)=>3600*t.getHours(e)+60*t.getMinutes(e)+t.getSeconds(e),d=(e,t)=>(n,r)=>e?t.isAfter(n,r):u(n,t)>u(r,t),p=(e,{format:t,views:n,ampm:o})=>{if(null!=t)return t;const i=e.formats;return(0,r.f)(n,["hours"])?o?`${i.hours12h} ${i.meridiem}`:i.hours24h:(0,r.f)(n,["minutes"])?i.minutes:(0,r.f)(n,["seconds"])?i.seconds:(0,r.f)(n,["minutes","seconds"])?`${i.minutes}:${i.seconds}`:(0,r.f)(n,["hours","minutes","seconds"])?o?`${i.hours12h}:${i.minutes}:${i.seconds} ${i.meridiem}`:`${i.hours24h}:${i.minutes}:${i.seconds}`:o?`${i.hours12h}:${i.minutes} ${i.meridiem}`:`${i.hours24h}:${i.minutes}`}},24034:function(e,t,n){"use strict";function r(e,t){return Array.isArray(t)?t.every((t=>-1!==e.indexOf(t))):-1!==e.indexOf(t)}n.d(t,{Xk:function(){return r},bq:function(){return i},jX:function(){return a},rQ:function(){return o}});const o=(e,t)=>n=>{"Enter"!==n.key&&" "!==n.key||(e(n),n.preventDefault(),n.stopPropagation()),t&&t(n)},i=(e=document)=>{const t=e.activeElement;return t?t.shadowRoot?i(t.shadowRoot):t:null},a="@media (pointer: fine)"},62067:function(e,t,n){"use strict";n.d(t,{$5:function(){return o},QG:function(){return i},eu:function(){return r},zd:function(){return s}});const r=["disablePast","disableFuture","minDate","maxDate","shouldDisableDate","shouldDisableMonth","shouldDisableYear"],o=["disablePast","disableFuture","minTime","maxTime","shouldDisableTime","minutesStep","ampm","disableIgnoringDatePartForTimeValidation"],i=["minDateTime","maxDateTime"],a=[...r,...o,...i],s=e=>a.reduce(((t,n)=>(e.hasOwnProperty(n)&&(t[n]=e[n]),t)),{})},64741:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(23887);const o=({props:e,value:t,adapter:n})=>{if(null===t)return null;const{shouldDisableDate:o,shouldDisableMonth:i,shouldDisableYear:a,disablePast:s,disableFuture:l,timezone:c}=e,u=n.utils.date(void 0,c),d=(0,r.IP)(n.utils,e.minDate,n.defaultDates.minDate),p=(0,r.IP)(n.utils,e.maxDate,n.defaultDates.maxDate);switch(!0){case!n.utils.isValid(t):return"invalidDate";case Boolean(o&&o(t)):return"shouldDisableDate";case Boolean(i&&i(t)):return"shouldDisableMonth";case Boolean(a&&a(t)):return"shouldDisableYear";case Boolean(l&&n.utils.isAfterDay(t,u)):return"disableFuture";case Boolean(s&&n.utils.isBeforeDay(t,u)):return"disablePast";case Boolean(d&&n.utils.isBeforeDay(t,d)):return"minDate";case Boolean(p&&n.utils.isAfterDay(t,p)):return"maxDate";default:return null}}},79696:function(e,t,n){"use strict";n.d(t,{q:function(){return i}});var r=n(64741),o=n(71724);const i=({props:e,value:t,adapter:n})=>{const i=(0,r.Z)({adapter:n,value:t,props:e});return null!==i?i:(0,o.i)({adapter:n,value:t,props:e})}},71724:function(e,t,n){"use strict";n.d(t,{i:function(){return o}});var r=n(95878);const o=({adapter:e,value:t,props:n})=>{if(null===t)return null;const{minTime:o,maxTime:i,minutesStep:a,shouldDisableTime:s,disableIgnoringDatePartForTimeValidation:l=!1,disablePast:c,disableFuture:u,timezone:d}=n,p=e.utils.date(void 0,d),f=(0,r.iF)(l,e.utils);switch(!0){case!e.utils.isValid(t):return"invalidDate";case Boolean(o&&f(o,t)):return"minTime";case Boolean(i&&f(t,i)):return"maxTime";case Boolean(u&&e.utils.isAfter(t,p)):return"disableFuture";case Boolean(c&&e.utils.isBefore(t,p)):return"disablePast";case Boolean(s&&s(t,"hours")):return"shouldDisableTime-hours";case Boolean(s&&s(t,"minutes")):return"shouldDisableTime-minutes";case Boolean(s&&s(t,"seconds")):return"shouldDisableTime-seconds";case Boolean(a&&e.utils.getMinutes(t)%a!=0):return"minutesStep";default:return null}}},16566:function(e,t,n){"use strict";n.d(t,{W:function(){return l},o:function(){return c}});var r=n(98587),o=n(23887),i=n(78401),a=n(91494);const s=["value","referenceDate"],l={emptyValue:null,getTodayValue:o.ak,getInitialReferenceValue:e=>{let{value:t,referenceDate:n}=e,o=(0,r.A)(e,s);return null!=t&&o.utils.isValid(t)?t:null!=n?n:(0,i.$9)(o)},cleanValue:o.Q6,areValuesEqual:o.iH,isSameError:(e,t)=>e===t,hasError:e=>null!=e,defaultErrorState:null,getTimezone:(e,t)=>null!=t&&e.isValid(t)?e.getTimezone(t):null,setTimezone:(e,t,n)=>null==n?null:e.setTimezone(n,t)},c={updateReferenceValue:(e,t,n)=>null!=t&&e.isValid(t)?t:n,getSectionsFromValue:(e,t,n,r)=>!e.isValid(t)&&!!n?n:r(t),getV7HiddenInputValueFromSections:a.sZ,getV6InputValueFromSections:a.ZS,getActiveDateManager:(e,t)=>({date:t.value,referenceDate:t.referenceValue,getSections:e=>e,getNewValuesFromNewActiveDate:n=>({value:n,referenceValue:null!=n&&e.isValid(n)?n:t.referenceValue})}),parseValueStr:(e,t,n)=>n(e.trim(),t)}},34469:function(e,t,n){"use strict";n.d(t,{R:function(){return o},f:function(){return r}});const r=(e,t)=>e.length===t.length&&t.every((t=>e.includes(t))),o=({openTo:e,defaultOpenTo:t,views:n,defaultViews:r})=>{const o=n??r;let i;if(null!=e)i=e;else if(o.includes(t))i=t;else{if(!(o.length>0))throw new Error("MUI X: The `views` prop must contain at least one view.");i=o[0]}return{views:o,openTo:i}}},75079:function(e,t,n){"use strict";n.d(t,{f:function(){return r}});const r=(e,t="warning")=>{let n=!1;const r=Array.isArray(e)?e.join("\n"):e;return()=>{n||(n=!0,"error"===t?console.error(r):console.warn(r))}}},50771:function(e,t,n){"use strict";n.d(t,{$8:function(){return u},$W:function(){return c},Zo:function(){return l}});n(96540);var r=n(50690),o=n(44149),i=n(37807),a=n(95878),s=n(74848);const l=({view:e,onViewChange:t,focusedView:n,onFocusedViewChange:o,views:i,value:l,defaultValue:c,referenceDate:u,onChange:d,className:p,classes:f,disableFuture:h,disablePast:m,minTime:g,maxTime:v,shouldDisableTime:y,minutesStep:b,ampm:x,ampmInClock:w,slots:A,slotProps:_,readOnly:S,disabled:k,sx:C,autoFocus:T,showViewSwitcher:M,disableIgnoringDatePartForTimeValidation:P,timezone:O})=>(0,s.jsx)(r.a,{view:e,onViewChange:t,focusedView:n&&(0,a.hW)(n)?n:null,onFocusedViewChange:o,views:i.filter(a.hW),value:l,defaultValue:c,referenceDate:u,onChange:d,className:p,classes:f,disableFuture:h,disablePast:m,minTime:g,maxTime:v,shouldDisableTime:y,minutesStep:b,ampm:x,ampmInClock:w,slots:A,slotProps:_,readOnly:S,disabled:k,sx:C,autoFocus:T,showViewSwitcher:M,disableIgnoringDatePartForTimeValidation:P,timezone:O}),c=({view:e,onViewChange:t,focusedView:n,onFocusedViewChange:r,views:i,value:l,defaultValue:c,referenceDate:u,onChange:d,className:p,classes:f,disableFuture:h,disablePast:m,minTime:g,maxTime:v,shouldDisableTime:y,minutesStep:b,ampm:x,slots:w,slotProps:A,readOnly:_,disabled:S,sx:k,autoFocus:C,disableIgnoringDatePartForTimeValidation:T,timeSteps:M,skipDisabled:P,timezone:O})=>(0,s.jsx)(o.N,{view:e,onViewChange:t,focusedView:n,onFocusedViewChange:r,views:i.filter(a.hW),value:l,defaultValue:c,referenceDate:u,onChange:d,className:p,classes:f,disableFuture:h,disablePast:m,minTime:g,maxTime:v,shouldDisableTime:y,minutesStep:b,ampm:x,slots:w,slotProps:A,readOnly:_,disabled:S,sx:k,autoFocus:C,disableIgnoringDatePartForTimeValidation:T,timeStep:M?.minutes,skipDisabled:P,timezone:O}),u=({view:e,onViewChange:t,focusedView:n,onFocusedViewChange:r,views:o,value:l,defaultValue:c,referenceDate:u,onChange:d,className:p,classes:f,disableFuture:h,disablePast:m,minTime:g,maxTime:v,shouldDisableTime:y,minutesStep:b,ampm:x,slots:w,slotProps:A,readOnly:_,disabled:S,sx:k,autoFocus:C,disableIgnoringDatePartForTimeValidation:T,timeSteps:M,skipDisabled:P,timezone:O})=>(0,s.jsx)(i.z,{view:e,onViewChange:t,focusedView:n,onFocusedViewChange:r,views:o.filter(a.hW),value:l,defaultValue:c,referenceDate:u,onChange:d,className:p,classes:f,disableFuture:h,disablePast:m,minTime:g,maxTime:v,shouldDisableTime:y,minutesStep:b,ampm:x,slots:w,slotProps:A,readOnly:_,disabled:S,sx:k,autoFocus:C,disableIgnoringDatePartForTimeValidation:T,timeSteps:M,skipDisabled:P,timezone:O})},67604:function(e,t,n){"use strict";function r(e){return e?(e.nodeName||"").toLowerCase():null}n.d(t,{A:function(){return r}})},58979:function(e,t,n){"use strict";function r(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}n.d(t,{A:function(){return r}})},5581:function(e,t,n){"use strict";n.d(t,{Ng:function(){return a},sb:function(){return i},vq:function(){return o}});var r=n(58979);function o(e){return e instanceof(0,r.A)(e).Element||e instanceof Element}function i(e){return e instanceof(0,r.A)(e).HTMLElement||e instanceof HTMLElement}function a(e){return"undefined"!=typeof ShadowRoot&&(e instanceof(0,r.A)(e).ShadowRoot||e instanceof ShadowRoot)}},16607:function(e,t,n){"use strict";var r=n(67604),o=n(5581);t.A={name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var n=t.styles[e]||{},i=t.attributes[e]||{},a=t.elements[e];(0,o.sb)(a)&&(0,r.A)(a)&&(Object.assign(a.style,n),Object.keys(i).forEach((function(e){var t=i[e];!1===t?a.removeAttribute(e):a.setAttribute(e,!0===t?"":t)})))}))},effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach((function(e){var i=t.elements[e],a=t.attributes[e]||{},s=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce((function(e,t){return e[t]="",e}),{});(0,o.sb)(i)&&(0,r.A)(i)&&(Object.assign(i.style,s),Object.keys(a).forEach((function(e){i.removeAttribute(e)})))}))}},requires:["computeStyles"]}},2784:function(e,t,n){"use strict";n.d(t,{n4:function(){return xe}});var r=n(5581),o=Math.max,i=Math.min,a=Math.round,s=n(58979);function l(){var e=navigator.userAgentData;return null!=e&&e.brands&&Array.isArray(e.brands)?e.brands.map((function(e){return e.brand+"/"+e.version})).join(" "):navigator.userAgent}function c(){return!/^((?!chrome|android).)*safari/i.test(l())}function u(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1);var o=e.getBoundingClientRect(),i=1,l=1;t&&(0,r.sb)(e)&&(i=e.offsetWidth>0&&a(o.width)/e.offsetWidth||1,l=e.offsetHeight>0&&a(o.height)/e.offsetHeight||1);var u=((0,r.vq)(e)?(0,s.A)(e):window).visualViewport,d=!c()&&n,p=(o.left+(d&&u?u.offsetLeft:0))/i,f=(o.top+(d&&u?u.offsetTop:0))/l,h=o.width/i,m=o.height/l;return{width:h,height:m,top:f,right:p+h,bottom:f+m,left:p,x:p,y:f}}function d(e){var t=(0,s.A)(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}var p=n(67604);function f(e){return(((0,r.vq)(e)?e.ownerDocument:e.document)||window.document).documentElement}function h(e){return u(f(e)).left+d(e).scrollLeft}function m(e){return(0,s.A)(e).getComputedStyle(e)}function g(e){var t=m(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function v(e,t,n){void 0===n&&(n=!1);var o,i,l=(0,r.sb)(t),c=(0,r.sb)(t)&&function(e){var t=e.getBoundingClientRect(),n=a(t.width)/e.offsetWidth||1,r=a(t.height)/e.offsetHeight||1;return 1!==n||1!==r}(t),m=f(t),v=u(e,c,n),y={scrollLeft:0,scrollTop:0},b={x:0,y:0};return(l||!l&&!n)&&(("body"!==(0,p.A)(t)||g(m))&&(y=(o=t)!==(0,s.A)(o)&&(0,r.sb)(o)?{scrollLeft:(i=o).scrollLeft,scrollTop:i.scrollTop}:d(o)),(0,r.sb)(t)?((b=u(t,!0)).x+=t.clientLeft,b.y+=t.clientTop):m&&(b.x=h(m))),{x:v.left+y.scrollLeft-b.x,y:v.top+y.scrollTop-b.y,width:v.width,height:v.height}}function y(e){var t=u(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function b(e){return"html"===(0,p.A)(e)?e:e.assignedSlot||e.parentNode||((0,r.Ng)(e)?e.host:null)||f(e)}function x(e){return["html","body","#document"].indexOf((0,p.A)(e))>=0?e.ownerDocument.body:(0,r.sb)(e)&&g(e)?e:x(b(e))}function w(e,t){var n;void 0===t&&(t=[]);var r=x(e),o=r===(null==(n=e.ownerDocument)?void 0:n.body),i=(0,s.A)(r),a=o?[i].concat(i.visualViewport||[],g(r)?r:[]):r,l=t.concat(a);return o?l:l.concat(w(b(a)))}function A(e){return["table","td","th"].indexOf((0,p.A)(e))>=0}function _(e){return(0,r.sb)(e)&&"fixed"!==m(e).position?e.offsetParent:null}function S(e){for(var t=(0,s.A)(e),n=_(e);n&&A(n)&&"static"===m(n).position;)n=_(n);return n&&("html"===(0,p.A)(n)||"body"===(0,p.A)(n)&&"static"===m(n).position)?t:n||function(e){var t=/firefox/i.test(l());if(/Trident/i.test(l())&&(0,r.sb)(e)&&"fixed"===m(e).position)return null;var n=b(e);for((0,r.Ng)(n)&&(n=n.host);(0,r.sb)(n)&&["html","body"].indexOf((0,p.A)(n))<0;){var o=m(n);if("none"!==o.transform||"none"!==o.perspective||"paint"===o.contain||-1!==["transform","perspective"].indexOf(o.willChange)||t&&"filter"===o.willChange||t&&o.filter&&"none"!==o.filter)return n;n=n.parentNode}return null}(e)||t}var k="top",C="bottom",T="right",M="left",P="auto",O=[k,C,T,M],E="start",D="end",R="clippingParents",I="viewport",N="popper",L="reference",j=O.reduce((function(e,t){return e.concat([t+"-"+E,t+"-"+D])}),[]),$=[].concat(O,[P]).reduce((function(e,t){return e.concat([t,t+"-"+E,t+"-"+D])}),[]),z=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function F(e){var t=new Map,n=new Set,r=[];function o(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach((function(e){if(!n.has(e)){var r=t.get(e);r&&o(r)}})),r.push(e)}return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){n.has(e.name)||o(e)})),r}var B={placement:"bottom",modifiers:[],strategy:"absolute"};function H(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some((function(e){return!(e&&"function"==typeof e.getBoundingClientRect)}))}function V(e){void 0===e&&(e={});var t=e,n=t.defaultModifiers,o=void 0===n?[]:n,i=t.defaultOptions,a=void 0===i?B:i;return function(e,t,n){void 0===n&&(n=a);var i,s,l={placement:"bottom",orderedModifiers:[],options:Object.assign({},B,a),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},c=[],u=!1,d={state:l,setOptions:function(n){var i="function"==typeof n?n(l.options):n;p(),l.options=Object.assign({},a,l.options,i),l.scrollParents={reference:(0,r.vq)(e)?w(e):e.contextElement?w(e.contextElement):[],popper:w(t)};var s,u,f=function(e){var t=F(e);return z.reduce((function(e,n){return e.concat(t.filter((function(e){return e.phase===n})))}),[])}((s=[].concat(o,l.options.modifiers),u=s.reduce((function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign({},n,t,{options:Object.assign({},n.options,t.options),data:Object.assign({},n.data,t.data)}):t,e}),{}),Object.keys(u).map((function(e){return u[e]}))));return l.orderedModifiers=f.filter((function(e){return e.enabled})),l.orderedModifiers.forEach((function(e){var t=e.name,n=e.options,r=void 0===n?{}:n,o=e.effect;if("function"==typeof o){var i=o({state:l,name:t,instance:d,options:r}),a=function(){};c.push(i||a)}})),d.update()},forceUpdate:function(){if(!u){var e=l.elements,t=e.reference,n=e.popper;if(H(t,n)){l.rects={reference:v(t,S(n),"fixed"===l.options.strategy),popper:y(n)},l.reset=!1,l.placement=l.options.placement,l.orderedModifiers.forEach((function(e){return l.modifiersData[e.name]=Object.assign({},e.data)}));for(var r=0;r<l.orderedModifiers.length;r++)if(!0!==l.reset){var o=l.orderedModifiers[r],i=o.fn,a=o.options,s=void 0===a?{}:a,c=o.name;"function"==typeof i&&(l=i({state:l,options:s,name:c,instance:d})||l)}else l.reset=!1,r=-1}}},update:(i=function(){return new Promise((function(e){d.forceUpdate(),e(l)}))},function(){return s||(s=new Promise((function(e){Promise.resolve().then((function(){s=void 0,e(i())}))}))),s}),destroy:function(){p(),u=!0}};if(!H(e,t))return d;function p(){c.forEach((function(e){return e()})),c=[]}return d.setOptions(n).then((function(e){!u&&n.onFirstUpdate&&n.onFirstUpdate(e)})),d}}var W={passive:!0};var U={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,r=e.options,o=r.scroll,i=void 0===o||o,a=r.resize,l=void 0===a||a,c=(0,s.A)(t.elements.popper),u=[].concat(t.scrollParents.reference,t.scrollParents.popper);return i&&u.forEach((function(e){e.addEventListener("scroll",n.update,W)})),l&&c.addEventListener("resize",n.update,W),function(){i&&u.forEach((function(e){e.removeEventListener("scroll",n.update,W)})),l&&c.removeEventListener("resize",n.update,W)}},data:{}};function q(e){return e.split("-")[0]}function G(e){return e.split("-")[1]}function Y(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function X(e){var t,n=e.reference,r=e.element,o=e.placement,i=o?q(o):null,a=o?G(o):null,s=n.x+n.width/2-r.width/2,l=n.y+n.height/2-r.height/2;switch(i){case k:t={x:s,y:n.y-r.height};break;case C:t={x:s,y:n.y+n.height};break;case T:t={x:n.x+n.width,y:l};break;case M:t={x:n.x-r.width,y:l};break;default:t={x:n.x,y:n.y}}var c=i?Y(i):null;if(null!=c){var u="y"===c?"height":"width";switch(a){case E:t[c]=t[c]-(n[u]/2-r[u]/2);break;case D:t[c]=t[c]+(n[u]/2-r[u]/2)}}return t}var K={name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=X({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},Z={top:"auto",right:"auto",bottom:"auto",left:"auto"};function J(e){var t,n=e.popper,r=e.popperRect,o=e.placement,i=e.variation,l=e.offsets,c=e.position,u=e.gpuAcceleration,d=e.adaptive,p=e.roundOffsets,h=e.isFixed,g=l.x,v=void 0===g?0:g,y=l.y,b=void 0===y?0:y,x="function"==typeof p?p({x:v,y:b}):{x:v,y:b};v=x.x,b=x.y;var w=l.hasOwnProperty("x"),A=l.hasOwnProperty("y"),_=M,P=k,O=window;if(d){var E=S(n),R="clientHeight",I="clientWidth";if(E===(0,s.A)(n)&&"static"!==m(E=f(n)).position&&"absolute"===c&&(R="scrollHeight",I="scrollWidth"),o===k||(o===M||o===T)&&i===D)P=C,b-=(h&&E===O&&O.visualViewport?O.visualViewport.height:E[R])-r.height,b*=u?1:-1;if(o===M||(o===k||o===C)&&i===D)_=T,v-=(h&&E===O&&O.visualViewport?O.visualViewport.width:E[I])-r.width,v*=u?1:-1}var N,L=Object.assign({position:c},d&&Z),j=!0===p?function(e,t){var n=e.x,r=e.y,o=t.devicePixelRatio||1;return{x:a(n*o)/o||0,y:a(r*o)/o||0}}({x:v,y:b},(0,s.A)(n)):{x:v,y:b};return v=j.x,b=j.y,u?Object.assign({},L,((N={})[P]=A?"0":"",N[_]=w?"0":"",N.transform=(O.devicePixelRatio||1)<=1?"translate("+v+"px, "+b+"px)":"translate3d("+v+"px, "+b+"px, 0)",N)):Object.assign({},L,((t={})[P]=A?b+"px":"",t[_]=w?v+"px":"",t.transform="",t))}var Q={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,r=n.gpuAcceleration,o=void 0===r||r,i=n.adaptive,a=void 0===i||i,s=n.roundOffsets,l=void 0===s||s,c={placement:q(t.placement),variation:G(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,J(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:l})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,J(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},ee=n(16607);var te={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.offset,i=void 0===o?[0,0]:o,a=$.reduce((function(e,n){return e[n]=function(e,t,n){var r=q(e),o=[M,k].indexOf(r)>=0?-1:1,i="function"==typeof n?n(Object.assign({},t,{placement:e})):n,a=i[0],s=i[1];return a=a||0,s=(s||0)*o,[M,T].indexOf(r)>=0?{x:s,y:a}:{x:a,y:s}}(n,t.rects,i),e}),{}),s=a[t.placement],l=s.x,c=s.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=c),t.modifiersData[r]=a}},ne={left:"right",right:"left",bottom:"top",top:"bottom"};function re(e){return e.replace(/left|right|bottom|top/g,(function(e){return ne[e]}))}var oe={start:"end",end:"start"};function ie(e){return e.replace(/start|end/g,(function(e){return oe[e]}))}function ae(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&(0,r.Ng)(n)){var o=t;do{if(o&&e.isSameNode(o))return!0;o=o.parentNode||o.host}while(o)}return!1}function se(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function le(e,t,n){return t===I?se(function(e,t){var n=(0,s.A)(e),r=f(e),o=n.visualViewport,i=r.clientWidth,a=r.clientHeight,l=0,u=0;if(o){i=o.width,a=o.height;var d=c();(d||!d&&"fixed"===t)&&(l=o.offsetLeft,u=o.offsetTop)}return{width:i,height:a,x:l+h(e),y:u}}(e,n)):(0,r.vq)(t)?function(e,t){var n=u(e,!1,"fixed"===t);return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}(t,n):se(function(e){var t,n=f(e),r=d(e),i=null==(t=e.ownerDocument)?void 0:t.body,a=o(n.scrollWidth,n.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0),s=o(n.scrollHeight,n.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0),l=-r.scrollLeft+h(e),c=-r.scrollTop;return"rtl"===m(i||n).direction&&(l+=o(n.clientWidth,i?i.clientWidth:0)-a),{width:a,height:s,x:l,y:c}}(f(e)))}function ce(e,t,n,a){var s="clippingParents"===t?function(e){var t=w(b(e)),n=["absolute","fixed"].indexOf(m(e).position)>=0&&(0,r.sb)(e)?S(e):e;return(0,r.vq)(n)?t.filter((function(e){return(0,r.vq)(e)&&ae(e,n)&&"body"!==(0,p.A)(e)})):[]}(e):[].concat(t),l=[].concat(s,[n]),c=l[0],u=l.reduce((function(t,n){var r=le(e,n,a);return t.top=o(r.top,t.top),t.right=i(r.right,t.right),t.bottom=i(r.bottom,t.bottom),t.left=o(r.left,t.left),t}),le(e,c,a));return u.width=u.right-u.left,u.height=u.bottom-u.top,u.x=u.left,u.y=u.top,u}function ue(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function de(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}function pe(e,t){void 0===t&&(t={});var n=t,o=n.placement,i=void 0===o?e.placement:o,a=n.strategy,s=void 0===a?e.strategy:a,l=n.boundary,c=void 0===l?R:l,d=n.rootBoundary,p=void 0===d?I:d,h=n.elementContext,m=void 0===h?N:h,g=n.altBoundary,v=void 0!==g&&g,y=n.padding,b=void 0===y?0:y,x=ue("number"!=typeof b?b:de(b,O)),w=m===N?L:N,A=e.rects.popper,_=e.elements[v?w:m],S=ce((0,r.vq)(_)?_:_.contextElement||f(e.elements.popper),c,p,s),M=u(e.elements.reference),P=X({reference:M,element:A,strategy:"absolute",placement:i}),E=se(Object.assign({},A,P)),D=m===N?E:M,j={top:S.top-D.top+x.top,bottom:D.bottom-S.bottom+x.bottom,left:S.left-D.left+x.left,right:D.right-S.right+x.right},$=e.modifiersData.offset;if(m===N&&$){var z=$[i];Object.keys(j).forEach((function(e){var t=[T,C].indexOf(e)>=0?1:-1,n=[k,C].indexOf(e)>=0?"y":"x";j[e]+=z[n]*t}))}return j}var fe={name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var o=n.mainAxis,i=void 0===o||o,a=n.altAxis,s=void 0===a||a,l=n.fallbackPlacements,c=n.padding,u=n.boundary,d=n.rootBoundary,p=n.altBoundary,f=n.flipVariations,h=void 0===f||f,m=n.allowedAutoPlacements,g=t.options.placement,v=q(g),y=l||(v===g||!h?[re(g)]:function(e){if(q(e)===P)return[];var t=re(e);return[ie(e),t,ie(t)]}(g)),b=[g].concat(y).reduce((function(e,n){return e.concat(q(n)===P?function(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=n.boundary,i=n.rootBoundary,a=n.padding,s=n.flipVariations,l=n.allowedAutoPlacements,c=void 0===l?$:l,u=G(r),d=u?s?j:j.filter((function(e){return G(e)===u})):O,p=d.filter((function(e){return c.indexOf(e)>=0}));0===p.length&&(p=d);var f=p.reduce((function(t,n){return t[n]=pe(e,{placement:n,boundary:o,rootBoundary:i,padding:a})[q(n)],t}),{});return Object.keys(f).sort((function(e,t){return f[e]-f[t]}))}(t,{placement:n,boundary:u,rootBoundary:d,padding:c,flipVariations:h,allowedAutoPlacements:m}):n)}),[]),x=t.rects.reference,w=t.rects.popper,A=new Map,_=!0,S=b[0],D=0;D<b.length;D++){var R=b[D],I=q(R),N=G(R)===E,L=[k,C].indexOf(I)>=0,z=L?"width":"height",F=pe(t,{placement:R,boundary:u,rootBoundary:d,altBoundary:p,padding:c}),B=L?N?T:M:N?C:k;x[z]>w[z]&&(B=re(B));var H=re(B),V=[];if(i&&V.push(F[I]<=0),s&&V.push(F[B]<=0,F[H]<=0),V.every((function(e){return e}))){S=R,_=!1;break}A.set(R,V)}if(_)for(var W=function(e){var t=b.find((function(t){var n=A.get(t);if(n)return n.slice(0,e).every((function(e){return e}))}));if(t)return S=t,"break"},U=h?3:1;U>0;U--){if("break"===W(U))break}t.placement!==S&&(t.modifiersData[r]._skip=!0,t.placement=S,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function he(e,t,n){return o(e,i(t,n))}var me={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name,a=n.mainAxis,s=void 0===a||a,l=n.altAxis,c=void 0!==l&&l,u=n.boundary,d=n.rootBoundary,p=n.altBoundary,f=n.padding,h=n.tether,m=void 0===h||h,g=n.tetherOffset,v=void 0===g?0:g,b=pe(t,{boundary:u,rootBoundary:d,padding:f,altBoundary:p}),x=q(t.placement),w=G(t.placement),A=!w,_=Y(x),P="x"===_?"y":"x",O=t.modifiersData.popperOffsets,D=t.rects.reference,R=t.rects.popper,I="function"==typeof v?v(Object.assign({},t.rects,{placement:t.placement})):v,N="number"==typeof I?{mainAxis:I,altAxis:I}:Object.assign({mainAxis:0,altAxis:0},I),L=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,j={x:0,y:0};if(O){if(s){var $,z="y"===_?k:M,F="y"===_?C:T,B="y"===_?"height":"width",H=O[_],V=H+b[z],W=H-b[F],U=m?-R[B]/2:0,X=w===E?D[B]:R[B],K=w===E?-R[B]:-D[B],Z=t.elements.arrow,J=m&&Z?y(Z):{width:0,height:0},Q=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},ee=Q[z],te=Q[F],ne=he(0,D[B],J[B]),re=A?D[B]/2-U-ne-ee-N.mainAxis:X-ne-ee-N.mainAxis,oe=A?-D[B]/2+U+ne+te+N.mainAxis:K+ne+te+N.mainAxis,ie=t.elements.arrow&&S(t.elements.arrow),ae=ie?"y"===_?ie.clientTop||0:ie.clientLeft||0:0,se=null!=($=null==L?void 0:L[_])?$:0,le=H+oe-se,ce=he(m?i(V,H+re-se-ae):V,H,m?o(W,le):W);O[_]=ce,j[_]=ce-H}if(c){var ue,de="x"===_?k:M,fe="x"===_?C:T,me=O[P],ge="y"===P?"height":"width",ve=me+b[de],ye=me-b[fe],be=-1!==[k,M].indexOf(x),xe=null!=(ue=null==L?void 0:L[P])?ue:0,we=be?ve:me-D[ge]-R[ge]-xe+N.altAxis,Ae=be?me+D[ge]+R[ge]-xe-N.altAxis:ye,_e=m&&be?function(e,t,n){var r=he(e,t,n);return r>n?n:r}(we,me,Ae):he(m?we:ve,me,m?Ae:ye);O[P]=_e,j[P]=_e-me}t.modifiersData[r]=j}},requiresIfExists:["offset"]};var ge={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,r=e.name,o=e.options,i=n.elements.arrow,a=n.modifiersData.popperOffsets,s=q(n.placement),l=Y(s),c=[M,T].indexOf(s)>=0?"height":"width";if(i&&a){var u=function(e,t){return ue("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:de(e,O))}(o.padding,n),d=y(i),p="y"===l?k:M,f="y"===l?C:T,h=n.rects.reference[c]+n.rects.reference[l]-a[l]-n.rects.popper[c],m=a[l]-n.rects.reference[l],g=S(i),v=g?"y"===l?g.clientHeight||0:g.clientWidth||0:0,b=h/2-m/2,x=u[p],w=v-d[c]-u[f],A=v/2-d[c]/2+b,_=he(x,A,w),P=l;n.modifiersData[r]=((t={})[P]=_,t.centerOffset=_-A,t)}},effect:function(e){var t=e.state,n=e.options.element,r=void 0===n?"[data-popper-arrow]":n;null!=r&&("string"!=typeof r||(r=t.elements.popper.querySelector(r)))&&ae(t.elements.popper,r)&&(t.elements.arrow=r)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function ve(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function ye(e){return[k,T,C,M].some((function(t){return e[t]>=0}))}var be={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,r=t.rects.reference,o=t.rects.popper,i=t.modifiersData.preventOverflow,a=pe(t,{elementContext:"reference"}),s=pe(t,{altBoundary:!0}),l=ve(a,r),c=ve(s,o,i),u=ye(l),d=ye(c);t.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:u,hasPopperEscaped:d},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":d})}},xe=V({defaultModifiers:[U,K,Q,ee.A,te,fe,me,ge,be]})},94603:function(e,t,n){"use strict";e.exports=n(63853)},9455:function(e,t){"use strict";t.A=function(e,t){if(e&&t){var n=Array.isArray(t)?t:t.split(","),r=e.name||"",o=(e.type||"").toLowerCase(),i=o.replace(/\/.*$/,"");return n.some((function(e){var t=e.trim().toLowerCase();return"."===t.charAt(0)?r.toLowerCase().endsWith(t):t.endsWith("/*")?i===t.replace(/\/.*$/,""):o===t}))}return!0}},71508:function(e){function t(e){var n,r,o="";if("string"==typeof e||"number"==typeof e)o+=e;else if("object"==typeof e)if(Array.isArray(e)){var i=e.length;for(n=0;n<i;n++)e[n]&&(r=t(e[n]))&&(o&&(o+=" "),o+=r)}else for(r in e)e[r]&&(o&&(o+=" "),o+=r);return o}function n(){for(var e,n,r=0,o="",i=arguments.length;r<i;r++)(e=arguments[r])&&(n=t(e))&&(o&&(o+=" "),o+=n);return o}e.exports=n,e.exports.clsx=n},17965:function(e,t,n){"use strict";var r=n(16426),o={"text/plain":"Text","text/html":"Url",default:"Text"};e.exports=function(e,t){var n,i,a,s,l,c,u=!1;t||(t={}),n=t.debug||!1;try{if(a=r(),s=document.createRange(),l=document.getSelection(),(c=document.createElement("span")).textContent=e,c.ariaHidden="true",c.style.all="unset",c.style.position="fixed",c.style.top=0,c.style.clip="rect(0, 0, 0, 0)",c.style.whiteSpace="pre",c.style.webkitUserSelect="text",c.style.MozUserSelect="text",c.style.msUserSelect="text",c.style.userSelect="text",c.addEventListener("copy",(function(r){if(r.stopPropagation(),t.format)if(r.preventDefault(),void 0===r.clipboardData){n&&console.warn("unable to use e.clipboardData"),n&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var i=o[t.format]||o.default;window.clipboardData.setData(i,e)}else r.clipboardData.clearData(),r.clipboardData.setData(t.format,e);t.onCopy&&(r.preventDefault(),t.onCopy(r.clipboardData))})),document.body.appendChild(c),s.selectNodeContents(c),l.addRange(s),!document.execCommand("copy"))throw new Error("copy command was unsuccessful");u=!0}catch(r){n&&console.error("unable to copy using execCommand: ",r),n&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(t.format||"text",e),t.onCopy&&t.onCopy(window.clipboardData),u=!0}catch(r){n&&console.error("unable to copy using clipboardData: ",r),n&&console.error("falling back to prompt"),i=function(e){var t=(/mac os x/i.test(navigator.userAgent)?"⌘":"Ctrl")+"+C";return e.replace(/#{\s*key\s*}/g,t)}("message"in t?t.message:"Copy to clipboard: #{key}, Enter"),window.prompt(i,e)}}finally{l&&("function"==typeof l.removeRange?l.removeRange(s):l.removeAllRanges()),c&&document.body.removeChild(c),a()}return u}},24143:function(e,t,n){var r,o;!function(){var i={version:"3.5.17"},a=[].slice,s=function(e){return a.call(e)},l=this.document;function c(e){return e&&(e.ownerDocument||e.document||e).documentElement}function u(e){return e&&(e.ownerDocument&&e.ownerDocument.defaultView||e.document&&e||e.defaultView)}if(l)try{s(l.documentElement.childNodes)[0].nodeType}catch(e){s=function(e){for(var t=e.length,n=new Array(t);t--;)n[t]=e[t];return n}}if(Date.now||(Date.now=function(){return+new Date}),l)try{l.createElement("DIV").style.setProperty("opacity",0,"")}catch(e){var d=this.Element.prototype,p=d.setAttribute,f=d.setAttributeNS,h=this.CSSStyleDeclaration.prototype,m=h.setProperty;d.setAttribute=function(e,t){p.call(this,e,t+"")},d.setAttributeNS=function(e,t,n){f.call(this,e,t,n+"")},h.setProperty=function(e,t,n){m.call(this,e,t+"",n)}}function g(e,t){return e<t?-1:e>t?1:e>=t?0:NaN}function v(e){return null===e?NaN:+e}function y(e){return!isNaN(e)}function b(e){return{left:function(t,n,r,o){for(arguments.length<3&&(r=0),arguments.length<4&&(o=t.length);r<o;){var i=r+o>>>1;e(t[i],n)<0?r=i+1:o=i}return r},right:function(t,n,r,o){for(arguments.length<3&&(r=0),arguments.length<4&&(o=t.length);r<o;){var i=r+o>>>1;e(t[i],n)>0?o=i:r=i+1}return r}}}i.ascending=g,i.descending=function(e,t){return t<e?-1:t>e?1:t>=e?0:NaN},i.min=function(e,t){var n,r,o=-1,i=e.length;if(1===arguments.length){for(;++o<i;)if(null!=(r=e[o])&&r>=r){n=r;break}for(;++o<i;)null!=(r=e[o])&&n>r&&(n=r)}else{for(;++o<i;)if(null!=(r=t.call(e,e[o],o))&&r>=r){n=r;break}for(;++o<i;)null!=(r=t.call(e,e[o],o))&&n>r&&(n=r)}return n},i.max=function(e,t){var n,r,o=-1,i=e.length;if(1===arguments.length){for(;++o<i;)if(null!=(r=e[o])&&r>=r){n=r;break}for(;++o<i;)null!=(r=e[o])&&r>n&&(n=r)}else{for(;++o<i;)if(null!=(r=t.call(e,e[o],o))&&r>=r){n=r;break}for(;++o<i;)null!=(r=t.call(e,e[o],o))&&r>n&&(n=r)}return n},i.extent=function(e,t){var n,r,o,i=-1,a=e.length;if(1===arguments.length){for(;++i<a;)if(null!=(r=e[i])&&r>=r){n=o=r;break}for(;++i<a;)null!=(r=e[i])&&(n>r&&(n=r),o<r&&(o=r))}else{for(;++i<a;)if(null!=(r=t.call(e,e[i],i))&&r>=r){n=o=r;break}for(;++i<a;)null!=(r=t.call(e,e[i],i))&&(n>r&&(n=r),o<r&&(o=r))}return[n,o]},i.sum=function(e,t){var n,r=0,o=e.length,i=-1;if(1===arguments.length)for(;++i<o;)y(n=+e[i])&&(r+=n);else for(;++i<o;)y(n=+t.call(e,e[i],i))&&(r+=n);return r},i.mean=function(e,t){var n,r=0,o=e.length,i=-1,a=o;if(1===arguments.length)for(;++i<o;)y(n=v(e[i]))?r+=n:--a;else for(;++i<o;)y(n=v(t.call(e,e[i],i)))?r+=n:--a;if(a)return r/a},i.quantile=function(e,t){var n=(e.length-1)*t+1,r=Math.floor(n),o=+e[r-1],i=n-r;return i?o+i*(e[r]-o):o},i.median=function(e,t){var n,r=[],o=e.length,a=-1;if(1===arguments.length)for(;++a<o;)y(n=v(e[a]))&&r.push(n);else for(;++a<o;)y(n=v(t.call(e,e[a],a)))&&r.push(n);if(r.length)return i.quantile(r.sort(g),.5)},i.variance=function(e,t){var n,r,o=e.length,i=0,a=0,s=-1,l=0;if(1===arguments.length)for(;++s<o;)y(n=v(e[s]))&&(a+=(r=n-i)*(n-(i+=r/++l)));else for(;++s<o;)y(n=v(t.call(e,e[s],s)))&&(a+=(r=n-i)*(n-(i+=r/++l)));if(l>1)return a/(l-1)},i.deviation=function(){var e=i.variance.apply(this,arguments);return e?Math.sqrt(e):e};var x=b(g);function w(e){return e.length}i.bisectLeft=x.left,i.bisect=i.bisectRight=x.right,i.bisector=function(e){return b(1===e.length?function(t,n){return g(e(t),n)}:e)},i.shuffle=function(e,t,n){(i=arguments.length)<3&&(n=e.length,i<2&&(t=0));for(var r,o,i=n-t;i;)o=Math.random()*i--|0,r=e[i+t],e[i+t]=e[o+t],e[o+t]=r;return e},i.permute=function(e,t){for(var n=t.length,r=new Array(n);n--;)r[n]=e[t[n]];return r},i.pairs=function(e){for(var t=0,n=e.length-1,r=e[0],o=new Array(n<0?0:n);t<n;)o[t]=[r,r=e[++t]];return o},i.transpose=function(e){if(!(o=e.length))return[];for(var t=-1,n=i.min(e,w),r=new Array(n);++t<n;)for(var o,a=-1,s=r[t]=new Array(o);++a<o;)s[a]=e[a][t];return r},i.zip=function(){return i.transpose(arguments)},i.keys=function(e){var t=[];for(var n in e)t.push(n);return t},i.values=function(e){var t=[];for(var n in e)t.push(e[n]);return t},i.entries=function(e){var t=[];for(var n in e)t.push({key:n,value:e[n]});return t},i.merge=function(e){for(var t,n,r,o=e.length,i=-1,a=0;++i<o;)a+=e[i].length;for(n=new Array(a);--o>=0;)for(t=(r=e[o]).length;--t>=0;)n[--a]=r[t];return n};var A=Math.abs;function _(e,t){for(var n in t)Object.defineProperty(e.prototype,n,{value:t[n],enumerable:!1})}function S(){this._=Object.create(null)}i.range=function(e,t,n){if(arguments.length<3&&(n=1,arguments.length<2&&(t=e,e=0)),(t-e)/n==1/0)throw new Error("infinite range");var r,o=[],i=function(e){var t=1;for(;e*t%1;)t*=10;return t}(A(n)),a=-1;if(e*=i,t*=i,(n*=i)<0)for(;(r=e+n*++a)>t;)o.push(r/i);else for(;(r=e+n*++a)<t;)o.push(r/i);return o},i.map=function(e,t){var n=new S;if(e instanceof S)e.forEach((function(e,t){n.set(e,t)}));else if(Array.isArray(e)){var r,o=-1,i=e.length;if(1===arguments.length)for(;++o<i;)n.set(o,e[o]);else for(;++o<i;)n.set(t.call(e,r=e[o],o),r)}else for(var a in e)n.set(a,e[a]);return n};var k="__proto__",C="\0";function T(e){return(e+="")===k||e[0]===C?C+e:e}function M(e){return(e+="")[0]===C?e.slice(1):e}function P(e){return T(e)in this._}function O(e){return(e=T(e))in this._&&delete this._[e]}function E(){var e=[];for(var t in this._)e.push(M(t));return e}function D(){var e=0;for(var t in this._)++e;return e}function R(){for(var e in this._)return!1;return!0}function I(){this._=Object.create(null)}function N(e){return e}function L(e,t,n){return function(){var r=n.apply(t,arguments);return r===t?e:r}}function j(e,t){if(t in e)return t;t=t.charAt(0).toUpperCase()+t.slice(1);for(var n=0,r=$.length;n<r;++n){var o=$[n]+t;if(o in e)return o}}_(S,{has:P,get:function(e){return this._[T(e)]},set:function(e,t){return this._[T(e)]=t},remove:O,keys:E,values:function(){var e=[];for(var t in this._)e.push(this._[t]);return e},entries:function(){var e=[];for(var t in this._)e.push({key:M(t),value:this._[t]});return e},size:D,empty:R,forEach:function(e){for(var t in this._)e.call(this,M(t),this._[t])}}),i.nest=function(){var e,t,n={},r=[],o=[];function a(o,i,s){if(s>=r.length)return t?t.call(n,i):e?i.sort(e):i;for(var l,c,u,d,p=-1,f=i.length,h=r[s++],m=new S;++p<f;)(d=m.get(l=h(c=i[p])))?d.push(c):m.set(l,[c]);return o?(c=o(),u=function(e,t){c.set(e,a(o,t,s))}):(c={},u=function(e,t){c[e]=a(o,t,s)}),m.forEach(u),c}function s(e,t){if(t>=r.length)return e;var n=[],i=o[t++];return e.forEach((function(e,r){n.push({key:e,values:s(r,t)})})),i?n.sort((function(e,t){return i(e.key,t.key)})):n}return n.map=function(e,t){return a(t,e,0)},n.entries=function(e){return s(a(i.map,e,0),0)},n.key=function(e){return r.push(e),n},n.sortKeys=function(e){return o[r.length-1]=e,n},n.sortValues=function(t){return e=t,n},n.rollup=function(e){return t=e,n},n},i.set=function(e){var t=new I;if(e)for(var n=0,r=e.length;n<r;++n)t.add(e[n]);return t},_(I,{has:P,add:function(e){return this._[T(e+="")]=!0,e},remove:O,values:E,size:D,empty:R,forEach:function(e){for(var t in this._)e.call(this,M(t))}}),i.behavior={},i.rebind=function(e,t){for(var n,r=1,o=arguments.length;++r<o;)e[n=arguments[r]]=L(e,t,t[n]);return e};var $=["webkit","ms","moz","Moz","o","O"];function z(){}function F(){}function B(e){var t=[],n=new S;function r(){for(var n,r=t,o=-1,i=r.length;++o<i;)(n=r[o].on)&&n.apply(this,arguments);return e}return r.on=function(r,o){var i,a=n.get(r);return arguments.length<2?a&&a.on:(a&&(a.on=null,t=t.slice(0,i=t.indexOf(a)).concat(t.slice(i+1)),n.remove(r)),o&&t.push(n.set(r,{on:o})),e)},r}function H(){i.event.preventDefault()}function V(){for(var e,t=i.event;e=t.sourceEvent;)t=e;return t}function W(e){for(var t=new F,n=0,r=arguments.length;++n<r;)t[arguments[n]]=B(t);return t.of=function(n,r){return function(o){try{var a=o.sourceEvent=i.event;o.target=e,i.event=o,t[o.type].apply(n,r)}finally{i.event=a}}},t}i.dispatch=function(){for(var e=new F,t=-1,n=arguments.length;++t<n;)e[arguments[t]]=B(e);return e},F.prototype.on=function(e,t){var n=e.indexOf("."),r="";if(n>=0&&(r=e.slice(n+1),e=e.slice(0,n)),e)return arguments.length<2?this[e].on(r):this[e].on(r,t);if(2===arguments.length){if(null==t)for(e in this)this.hasOwnProperty(e)&&this[e].on(r,null);return this}},i.event=null,i.requote=function(e){return e.replace(U,"\\$&")};var U=/[\\\^\$\*\+\?\|\[\]\(\)\.\{\}]/g,q={}.__proto__?function(e,t){e.__proto__=t}:function(e,t){for(var n in t)e[n]=t[n]};function G(e){return q(e,Z),e}var Y=function(e,t){return t.querySelector(e)},X=function(e,t){return t.querySelectorAll(e)},K=function(e,t){var n=e.matches||e[j(e,"matchesSelector")];return K=function(e,t){return n.call(e,t)},K(e,t)};"function"==typeof Sizzle&&(Y=function(e,t){return Sizzle(e,t)[0]||null},X=Sizzle,K=Sizzle.matchesSelector),i.selection=function(){return i.select(l.documentElement)};var Z=i.selection.prototype=[];function J(e){return"function"==typeof e?e:function(){return Y(e,this)}}function Q(e){return"function"==typeof e?e:function(){return X(e,this)}}Z.select=function(e){var t,n,r,o,i=[];e=J(e);for(var a=-1,s=this.length;++a<s;){i.push(t=[]),t.parentNode=(r=this[a]).parentNode;for(var l=-1,c=r.length;++l<c;)(o=r[l])?(t.push(n=e.call(o,o.__data__,l,a)),n&&"__data__"in o&&(n.__data__=o.__data__)):t.push(null)}return G(i)},Z.selectAll=function(e){var t,n,r=[];e=Q(e);for(var o=-1,i=this.length;++o<i;)for(var a=this[o],l=-1,c=a.length;++l<c;)(n=a[l])&&(r.push(t=s(e.call(n,n.__data__,l,o))),t.parentNode=n);return G(r)};var ee="http://www.w3.org/1999/xhtml",te={svg:"http://www.w3.org/2000/svg",xhtml:ee,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};function ne(e,t){return e=i.ns.qualify(e),null==t?e.local?function(){this.removeAttributeNS(e.space,e.local)}:function(){this.removeAttribute(e)}:"function"==typeof t?e.local?function(){var n=t.apply(this,arguments);null==n?this.removeAttributeNS(e.space,e.local):this.setAttributeNS(e.space,e.local,n)}:function(){var n=t.apply(this,arguments);null==n?this.removeAttribute(e):this.setAttribute(e,n)}:e.local?function(){this.setAttributeNS(e.space,e.local,t)}:function(){this.setAttribute(e,t)}}function re(e){return e.trim().replace(/\s+/g," ")}function oe(e){return new RegExp("(?:^|\\s+)"+i.requote(e)+"(?:\\s+|$)","g")}function ie(e){return(e+"").trim().split(/^|\s+/)}function ae(e,t){var n=(e=ie(e).map(se)).length;return"function"==typeof t?function(){for(var r=-1,o=t.apply(this,arguments);++r<n;)e[r](this,o)}:function(){for(var r=-1;++r<n;)e[r](this,t)}}function se(e){var t=oe(e);return function(n,r){if(o=n.classList)return r?o.add(e):o.remove(e);var o=n.getAttribute("class")||"";r?(t.lastIndex=0,t.test(o)||n.setAttribute("class",re(o+" "+e))):n.setAttribute("class",re(o.replace(t," ")))}}function le(e,t,n){return null==t?function(){this.style.removeProperty(e)}:"function"==typeof t?function(){var r=t.apply(this,arguments);null==r?this.style.removeProperty(e):this.style.setProperty(e,r,n)}:function(){this.style.setProperty(e,t,n)}}function ce(e,t){return null==t?function(){delete this[e]}:"function"==typeof t?function(){var n=t.apply(this,arguments);null==n?delete this[e]:this[e]=n}:function(){this[e]=t}}function ue(e){return"function"==typeof e?e:(e=i.ns.qualify(e)).local?function(){return this.ownerDocument.createElementNS(e.space,e.local)}:function(){var t=this.ownerDocument,n=this.namespaceURI;return n===ee&&t.documentElement.namespaceURI===ee?t.createElement(e):t.createElementNS(n,e)}}function de(){var e=this.parentNode;e&&e.removeChild(this)}function pe(e){return{__data__:e}}function fe(e){return function(){return K(this,e)}}function he(e){return arguments.length||(e=g),function(t,n){return t&&n?e(t.__data__,n.__data__):!t-!n}}function me(e,t){for(var n=0,r=e.length;n<r;n++)for(var o,i=e[n],a=0,s=i.length;a<s;a++)(o=i[a])&&t(o,a,n);return e}function ge(e){return q(e,ve),e}i.ns={prefix:te,qualify:function(e){var t=e.indexOf(":"),n=e;return t>=0&&"xmlns"!==(n=e.slice(0,t))&&(e=e.slice(t+1)),te.hasOwnProperty(n)?{space:te[n],local:e}:e}},Z.attr=function(e,t){if(arguments.length<2){if("string"==typeof e){var n=this.node();return(e=i.ns.qualify(e)).local?n.getAttributeNS(e.space,e.local):n.getAttribute(e)}for(t in e)this.each(ne(t,e[t]));return this}return this.each(ne(e,t))},Z.classed=function(e,t){if(arguments.length<2){if("string"==typeof e){var n=this.node(),r=(e=ie(e)).length,o=-1;if(t=n.classList){for(;++o<r;)if(!t.contains(e[o]))return!1}else for(t=n.getAttribute("class");++o<r;)if(!oe(e[o]).test(t))return!1;return!0}for(t in e)this.each(ae(t,e[t]));return this}return this.each(ae(e,t))},Z.style=function(e,t,n){var r=arguments.length;if(r<3){if("string"!=typeof e){for(n in r<2&&(t=""),e)this.each(le(n,e[n],t));return this}if(r<2){var o=this.node();return u(o).getComputedStyle(o,null).getPropertyValue(e)}n=""}return this.each(le(e,t,n))},Z.property=function(e,t){if(arguments.length<2){if("string"==typeof e)return this.node()[e];for(t in e)this.each(ce(t,e[t]));return this}return this.each(ce(e,t))},Z.text=function(e){return arguments.length?this.each("function"==typeof e?function(){var t=e.apply(this,arguments);this.textContent=null==t?"":t}:null==e?function(){this.textContent=""}:function(){this.textContent=e}):this.node().textContent},Z.html=function(e){return arguments.length?this.each("function"==typeof e?function(){var t=e.apply(this,arguments);this.innerHTML=null==t?"":t}:null==e?function(){this.innerHTML=""}:function(){this.innerHTML=e}):this.node().innerHTML},Z.append=function(e){return e=ue(e),this.select((function(){return this.appendChild(e.apply(this,arguments))}))},Z.insert=function(e,t){return e=ue(e),t=J(t),this.select((function(){return this.insertBefore(e.apply(this,arguments),t.apply(this,arguments)||null)}))},Z.remove=function(){return this.each(de)},Z.data=function(e,t){var n,r,o=-1,i=this.length;if(!arguments.length){for(e=new Array(i=(n=this[0]).length);++o<i;)(r=n[o])&&(e[o]=r.__data__);return e}function a(e,n){var r,o,i,a=e.length,u=n.length,d=Math.min(a,u),p=new Array(u),f=new Array(u),h=new Array(a);if(t){var m,g=new S,v=new Array(a);for(r=-1;++r<a;)(o=e[r])&&(g.has(m=t.call(o,o.__data__,r))?h[r]=o:g.set(m,o),v[r]=m);for(r=-1;++r<u;)(o=g.get(m=t.call(n,i=n[r],r)))?!0!==o&&(p[r]=o,o.__data__=i):f[r]=pe(i),g.set(m,!0);for(r=-1;++r<a;)r in v&&!0!==g.get(v[r])&&(h[r]=e[r])}else{for(r=-1;++r<d;)o=e[r],i=n[r],o?(o.__data__=i,p[r]=o):f[r]=pe(i);for(;r<u;++r)f[r]=pe(n[r]);for(;r<a;++r)h[r]=e[r]}f.update=p,f.parentNode=p.parentNode=h.parentNode=e.parentNode,s.push(f),l.push(p),c.push(h)}var s=ge([]),l=G([]),c=G([]);if("function"==typeof e)for(;++o<i;)a(n=this[o],e.call(n,n.parentNode.__data__,o));else for(;++o<i;)a(n=this[o],e);return l.enter=function(){return s},l.exit=function(){return c},l},Z.datum=function(e){return arguments.length?this.property("__data__",e):this.property("__data__")},Z.filter=function(e){var t,n,r,o=[];"function"!=typeof e&&(e=fe(e));for(var i=0,a=this.length;i<a;i++){o.push(t=[]),t.parentNode=(n=this[i]).parentNode;for(var s=0,l=n.length;s<l;s++)(r=n[s])&&e.call(r,r.__data__,s,i)&&t.push(r)}return G(o)},Z.order=function(){for(var e=-1,t=this.length;++e<t;)for(var n,r=this[e],o=r.length-1,i=r[o];--o>=0;)(n=r[o])&&(i&&i!==n.nextSibling&&i.parentNode.insertBefore(n,i),i=n);return this},Z.sort=function(e){e=he.apply(this,arguments);for(var t=-1,n=this.length;++t<n;)this[t].sort(e);return this.order()},Z.each=function(e){return me(this,(function(t,n,r){e.call(t,t.__data__,n,r)}))},Z.call=function(e){var t=s(arguments);return e.apply(t[0]=this,t),this},Z.empty=function(){return!this.node()},Z.node=function(){for(var e=0,t=this.length;e<t;e++)for(var n=this[e],r=0,o=n.length;r<o;r++){var i=n[r];if(i)return i}return null},Z.size=function(){var e=0;return me(this,(function(){++e})),e};var ve=[];function ye(e,t,n){var r="__on"+e,o=e.indexOf("."),a=xe;o>0&&(e=e.slice(0,o));var l=be.get(e);function c(){var t=this[r];t&&(this.removeEventListener(e,t,t.$),delete this[r])}return l&&(e=l,a=we),o?t?function(){var o=a(t,s(arguments));c.call(this),this.addEventListener(e,this[r]=o,o.$=n),o._=t}:c:t?z:function(){var t,n=new RegExp("^__on([^.]+)"+i.requote(e)+"$");for(var r in this)if(t=r.match(n)){var o=this[r];this.removeEventListener(t[1],o,o.$),delete this[r]}}}i.selection.enter=ge,i.selection.enter.prototype=ve,ve.append=Z.append,ve.empty=Z.empty,ve.node=Z.node,ve.call=Z.call,ve.size=Z.size,ve.select=function(e){for(var t,n,r,o,i,a=[],s=-1,l=this.length;++s<l;){r=(o=this[s]).update,a.push(t=[]),t.parentNode=o.parentNode;for(var c=-1,u=o.length;++c<u;)(i=o[c])?(t.push(r[c]=n=e.call(o.parentNode,i.__data__,c,s)),n.__data__=i.__data__):t.push(null)}return G(a)},ve.insert=function(e,t){var n,r,o;return arguments.length<2&&(n=this,t=function(e,t,i){var a,s=n[i].update,l=s.length;for(i!=o&&(o=i,r=0),t>=r&&(r=t+1);!(a=s[r])&&++r<l;);return a}),Z.insert.call(this,e,t)},i.select=function(e){var t;return"string"==typeof e?(t=[Y(e,l)]).parentNode=l.documentElement:(t=[e]).parentNode=c(e),G([t])},i.selectAll=function(e){var t;return"string"==typeof e?(t=s(X(e,l))).parentNode=l.documentElement:(t=s(e)).parentNode=null,G([t])},Z.on=function(e,t,n){var r=arguments.length;if(r<3){if("string"!=typeof e){for(n in r<2&&(t=!1),e)this.each(ye(n,e[n],t));return this}if(r<2)return(r=this.node()["__on"+e])&&r._;n=!1}return this.each(ye(e,t,n))};var be=i.map({mouseenter:"mouseover",mouseleave:"mouseout"});function xe(e,t){return function(n){var r=i.event;i.event=n,t[0]=this.__data__;try{e.apply(this,t)}finally{i.event=r}}}function we(e,t){var n=xe(e,t);return function(e){var t=this,r=e.relatedTarget;r&&(r===t||8&r.compareDocumentPosition(t))||n.call(t,e)}}l&&be.forEach((function(e){"on"+e in l&&be.remove(e)}));var Ae,_e=0;function Se(e){var t=".dragsuppress-"+ ++_e,n="click"+t,r=i.select(u(e)).on("touchmove"+t,H).on("dragstart"+t,H).on("selectstart"+t,H);if(null==Ae&&(Ae=!("onselectstart"in e)&&j(e.style,"userSelect")),Ae){var o=c(e).style,a=o[Ae];o[Ae]="none"}return function(e){if(r.on(t,null),Ae&&(o[Ae]=a),e){var i=function(){r.on(n,null)};r.on(n,(function(){H(),i()}),!0),setTimeout(i,0)}}}i.mouse=function(e){return Ce(e,V())};var ke=this.navigator&&/WebKit/.test(this.navigator.userAgent)?-1:0;function Ce(e,t){t.changedTouches&&(t=t.changedTouches[0]);var n=e.ownerSVGElement||e;if(n.createSVGPoint){var r=n.createSVGPoint();if(ke<0){var o=u(e);if(o.scrollX||o.scrollY){var a=(n=i.select("body").append("svg").style({position:"absolute",top:0,left:0,margin:0,padding:0,border:"none"},"important"))[0][0].getScreenCTM();ke=!(a.f||a.e),n.remove()}}return ke?(r.x=t.pageX,r.y=t.pageY):(r.x=t.clientX,r.y=t.clientY),[(r=r.matrixTransform(e.getScreenCTM().inverse())).x,r.y]}var s=e.getBoundingClientRect();return[t.clientX-s.left-e.clientLeft,t.clientY-s.top-e.clientTop]}function Te(){return i.event.changedTouches[0].identifier}i.touch=function(e,t,n){if(arguments.length<3&&(n=t,t=V().changedTouches),t)for(var r,o=0,i=t.length;o<i;++o)if((r=t[o]).identifier===n)return Ce(e,r)},i.behavior.drag=function(){var e=W(o,"drag","dragstart","dragend"),t=null,n=a(z,i.mouse,u,"mousemove","mouseup"),r=a(Te,i.touch,N,"touchmove","touchend");function o(){this.on("mousedown.drag",n).on("touchstart.drag",r)}function a(n,r,o,a,s){return function(){var l,c=this,u=i.event.target.correspondingElement||i.event.target,d=c.parentNode,p=e.of(c,arguments),f=0,h=n(),m=".drag"+(null==h?"":"-"+h),g=i.select(o(u)).on(a+m,(function(){var e,t,n=r(d,h);if(!n)return;e=n[0]-y[0],t=n[1]-y[1],f|=e|t,y=n,p({type:"drag",x:n[0]+l[0],y:n[1]+l[1],dx:e,dy:t})})).on(s+m,(function(){if(!r(d,h))return;g.on(a+m,null).on(s+m,null),v(f),p({type:"dragend"})})),v=Se(u),y=r(d,h);l=t?[(l=t.apply(c,arguments)).x-y[0],l.y-y[1]]:[0,0],p({type:"dragstart"})}}return o.origin=function(e){return arguments.length?(t=e,o):t},i.rebind(o,e,"on")},i.touches=function(e,t){return arguments.length<2&&(t=V().touches),t?s(t).map((function(t){var n=Ce(e,t);return n.identifier=t.identifier,n})):[]};var Me=1e-6,Pe=Me*Me,Oe=Math.PI,Ee=2*Oe,De=Ee-Me,Re=Oe/2,Ie=Oe/180,Ne=180/Oe;function Le(e){return e>0?1:e<0?-1:0}function je(e,t,n){return(t[0]-e[0])*(n[1]-e[1])-(t[1]-e[1])*(n[0]-e[0])}function $e(e){return e>1?0:e<-1?Oe:Math.acos(e)}function ze(e){return e>1?Re:e<-1?-Re:Math.asin(e)}function Fe(e){return((e=Math.exp(e))+1/e)/2}function Be(e){return(e=Math.sin(e/2))*e}var He=Math.SQRT2;i.interpolateZoom=function(e,t){var n,r,o=e[0],i=e[1],a=e[2],s=t[0],l=t[1],c=t[2],u=s-o,d=l-i,p=u*u+d*d;if(p<Pe)r=Math.log(c/a)/He,n=function(e){return[o+e*u,i+e*d,a*Math.exp(He*e*r)]};else{var f=Math.sqrt(p),h=(c*c-a*a+4*p)/(2*a*2*f),m=(c*c-a*a-4*p)/(2*c*2*f),g=Math.log(Math.sqrt(h*h+1)-h),v=Math.log(Math.sqrt(m*m+1)-m);r=(v-g)/He,n=function(e){var t,n=e*r,s=Fe(g),l=a/(2*f)*(s*(t=He*n+g,((t=Math.exp(2*t))-1)/(t+1))-function(e){return((e=Math.exp(e))-1/e)/2}(g));return[o+l*u,i+l*d,a*s/Fe(He*n+g)]}}return n.duration=1e3*r,n},i.behavior.zoom=function(){var e,t,n,r,o,a,s,c,d,p={x:0,y:0,k:1},f=[960,500],h=Ue,m=250,g=0,v="mousedown.zoom",y="mousemove.zoom",b="mouseup.zoom",x="touchstart.zoom",w=W(A,"zoomstart","zoom","zoomend");function A(e){e.on(v,E).on(We+".zoom",R).on("dblclick.zoom",I).on(x,D)}function _(e){return[(e[0]-p.x)/p.k,(e[1]-p.y)/p.k]}function S(e){p.k=Math.max(h[0],Math.min(h[1],e))}function k(e,t){t=function(e){return[e[0]*p.k+p.x,e[1]*p.k+p.y]}(t),p.x+=e[0]-t[0],p.y+=e[1]-t[1]}function C(e,n,r,o){e.__chart__={x:p.x,y:p.y,k:p.k},S(Math.pow(2,o)),k(t=n,r),e=i.select(e),m>0&&(e=e.transition().duration(m)),e.call(A.event)}function T(){s&&s.domain(a.range().map((function(e){return(e-p.x)/p.k})).map(a.invert)),d&&d.domain(c.range().map((function(e){return(e-p.y)/p.k})).map(c.invert))}function M(e){g++||e({type:"zoomstart"})}function P(e){T(),e({type:"zoom",scale:p.k,translate:[p.x,p.y]})}function O(e){--g||(e({type:"zoomend"}),t=null)}function E(){var e=this,t=w.of(e,arguments),n=0,r=i.select(u(e)).on(y,(function(){n=1,k(i.mouse(e),o),P(t)})).on(b,(function(){r.on(y,null).on(b,null),a(n),O(t)})),o=_(i.mouse(e)),a=Se(e);Ds.call(e),M(t)}function D(){var e,t=this,n=w.of(t,arguments),r={},a=0,s=".zoom-"+i.event.changedTouches[0].identifier,l="touchmove"+s,c="touchend"+s,u=[],d=i.select(t),f=Se(t);function h(){var n=i.touches(t);return e=p.k,n.forEach((function(e){e.identifier in r&&(r[e.identifier]=_(e))})),n}function m(){var e=i.event.target;i.select(e).on(l,g).on(c,y),u.push(e);for(var n=i.event.changedTouches,s=0,d=n.length;s<d;++s)r[n[s].identifier]=null;var f=h(),m=Date.now();if(1===f.length){if(m-o<500){var v=f[0];C(t,v,r[v.identifier],Math.floor(Math.log(p.k)/Math.LN2)+1),H()}o=m}else if(f.length>1){v=f[0];var b=f[1],x=v[0]-b[0],w=v[1]-b[1];a=x*x+w*w}}function g(){var s,l,c,u,d=i.touches(t);Ds.call(t);for(var p=0,f=d.length;p<f;++p,u=null)if(c=d[p],u=r[c.identifier]){if(l)break;s=c,l=u}if(u){var h=(h=c[0]-s[0])*h+(h=c[1]-s[1])*h,m=a&&Math.sqrt(h/a);s=[(s[0]+c[0])/2,(s[1]+c[1])/2],l=[(l[0]+u[0])/2,(l[1]+u[1])/2],S(m*e)}o=null,k(s,l),P(n)}function y(){if(i.event.touches.length){for(var e=i.event.changedTouches,t=0,o=e.length;t<o;++t)delete r[e[t].identifier];for(var a in r)return void h()}i.selectAll(u).on(s,null),d.on(v,E).on(x,D),f(),O(n)}m(),M(n),d.on(v,null).on(x,m)}function R(){var o=w.of(this,arguments);r?clearTimeout(r):(Ds.call(this),e=_(t=n||i.mouse(this)),M(o)),r=setTimeout((function(){r=null,O(o)}),50),H(),S(Math.pow(2,.002*Ve())*p.k),k(t,e),P(o)}function I(){var e=i.mouse(this),t=Math.log(p.k)/Math.LN2;C(this,e,_(e),i.event.shiftKey?Math.ceil(t)-1:Math.floor(t)+1)}return We||(We="onwheel"in l?(Ve=function(){return-i.event.deltaY*(i.event.deltaMode?120:1)},"wheel"):"onmousewheel"in l?(Ve=function(){return i.event.wheelDelta},"mousewheel"):(Ve=function(){return-i.event.detail},"MozMousePixelScroll")),A.event=function(e){e.each((function(){var e=w.of(this,arguments),n=p;Ns?i.select(this).transition().each("start.zoom",(function(){p=this.__chart__||{x:0,y:0,k:1},M(e)})).tween("zoom:zoom",(function(){var r=f[0],o=f[1],a=t?t[0]:r/2,s=t?t[1]:o/2,l=i.interpolateZoom([(a-p.x)/p.k,(s-p.y)/p.k,r/p.k],[(a-n.x)/n.k,(s-n.y)/n.k,r/n.k]);return function(t){var n=l(t),o=r/n[2];this.__chart__=p={x:a-n[0]*o,y:s-n[1]*o,k:o},P(e)}})).each("interrupt.zoom",(function(){O(e)})).each("end.zoom",(function(){O(e)})):(this.__chart__=p,M(e),P(e),O(e))}))},A.translate=function(e){return arguments.length?(p={x:+e[0],y:+e[1],k:p.k},T(),A):[p.x,p.y]},A.scale=function(e){return arguments.length?(p={x:p.x,y:p.y,k:null},S(+e),T(),A):p.k},A.scaleExtent=function(e){return arguments.length?(h=null==e?Ue:[+e[0],+e[1]],A):h},A.center=function(e){return arguments.length?(n=e&&[+e[0],+e[1]],A):n},A.size=function(e){return arguments.length?(f=e&&[+e[0],+e[1]],A):f},A.duration=function(e){return arguments.length?(m=+e,A):m},A.x=function(e){return arguments.length?(s=e,a=e.copy(),p={x:0,y:0,k:1},A):s},A.y=function(e){return arguments.length?(d=e,c=e.copy(),p={x:0,y:0,k:1},A):d},i.rebind(A,w,"on")};var Ve,We,Ue=[0,1/0];function qe(){}function Ge(e,t,n){return this instanceof Ge?(this.h=+e,this.s=+t,void(this.l=+n)):arguments.length<2?e instanceof Ge?new Ge(e.h,e.s,e.l):mt(""+e,gt,Ge):new Ge(e,t,n)}i.color=qe,qe.prototype.toString=function(){return this.rgb()+""},i.hsl=Ge;var Ye=Ge.prototype=new qe;function Xe(e,t,n){var r,o;function i(e){return Math.round(255*function(e){return e>360?e-=360:e<0&&(e+=360),e<60?r+(o-r)*e/60:e<180?o:e<240?r+(o-r)*(240-e)/60:r}(e))}return e=isNaN(e)?0:(e%=360)<0?e+360:e,t=isNaN(t)||t<0?0:t>1?1:t,r=2*(n=n<0?0:n>1?1:n)-(o=n<=.5?n*(1+t):n+t-n*t),new ut(i(e+120),i(e),i(e-120))}function Ke(e,t,n){return this instanceof Ke?(this.h=+e,this.c=+t,void(this.l=+n)):arguments.length<2?e instanceof Ke?new Ke(e.h,e.c,e.l):at(e instanceof Qe?e.l:(e=vt((e=i.rgb(e)).r,e.g,e.b)).l,e.a,e.b):new Ke(e,t,n)}Ye.brighter=function(e){return e=Math.pow(.7,arguments.length?e:1),new Ge(this.h,this.s,this.l/e)},Ye.darker=function(e){return e=Math.pow(.7,arguments.length?e:1),new Ge(this.h,this.s,e*this.l)},Ye.rgb=function(){return Xe(this.h,this.s,this.l)},i.hcl=Ke;var Ze=Ke.prototype=new qe;function Je(e,t,n){return isNaN(e)&&(e=0),isNaN(t)&&(t=0),new Qe(n,Math.cos(e*=Ie)*t,Math.sin(e)*t)}function Qe(e,t,n){return this instanceof Qe?(this.l=+e,this.a=+t,void(this.b=+n)):arguments.length<2?e instanceof Qe?new Qe(e.l,e.a,e.b):e instanceof Ke?Je(e.h,e.c,e.l):vt((e=ut(e)).r,e.g,e.b):new Qe(e,t,n)}Ze.brighter=function(e){return new Ke(this.h,this.c,Math.min(100,this.l+et*(arguments.length?e:1)))},Ze.darker=function(e){return new Ke(this.h,this.c,Math.max(0,this.l-et*(arguments.length?e:1)))},Ze.rgb=function(){return Je(this.h,this.c,this.l).rgb()},i.lab=Qe;var et=18,tt=.95047,nt=1,rt=1.08883,ot=Qe.prototype=new qe;function it(e,t,n){var r=(e+16)/116,o=r+t/500,i=r-n/200;return new ut(ct(3.2404542*(o=st(o)*tt)-1.5371385*(r=st(r)*nt)-.4985314*(i=st(i)*rt)),ct(-.969266*o+1.8760108*r+.041556*i),ct(.0556434*o-.2040259*r+1.0572252*i))}function at(e,t,n){return e>0?new Ke(Math.atan2(n,t)*Ne,Math.sqrt(t*t+n*n),e):new Ke(NaN,NaN,e)}function st(e){return e>.206893034?e*e*e:(e-4/29)/7.787037}function lt(e){return e>.008856?Math.pow(e,1/3):7.787037*e+4/29}function ct(e){return Math.round(255*(e<=.00304?12.92*e:1.055*Math.pow(e,1/2.4)-.055))}function ut(e,t,n){return this instanceof ut?(this.r=~~e,this.g=~~t,void(this.b=~~n)):arguments.length<2?e instanceof ut?new ut(e.r,e.g,e.b):mt(""+e,ut,Xe):new ut(e,t,n)}function dt(e){return new ut(e>>16,e>>8&255,255&e)}function pt(e){return dt(e)+""}ot.brighter=function(e){return new Qe(Math.min(100,this.l+et*(arguments.length?e:1)),this.a,this.b)},ot.darker=function(e){return new Qe(Math.max(0,this.l-et*(arguments.length?e:1)),this.a,this.b)},ot.rgb=function(){return it(this.l,this.a,this.b)},i.rgb=ut;var ft=ut.prototype=new qe;function ht(e){return e<16?"0"+Math.max(0,e).toString(16):Math.min(255,e).toString(16)}function mt(e,t,n){var r,o,i,a=0,s=0,l=0;if(r=/([a-z]+)\((.*)\)/.exec(e=e.toLowerCase()))switch(o=r[2].split(","),r[1]){case"hsl":return n(parseFloat(o[0]),parseFloat(o[1])/100,parseFloat(o[2])/100);case"rgb":return t(bt(o[0]),bt(o[1]),bt(o[2]))}return(i=xt.get(e))?t(i.r,i.g,i.b):(null==e||"#"!==e.charAt(0)||isNaN(i=parseInt(e.slice(1),16))||(4===e.length?(a=(3840&i)>>4,a|=a>>4,s=240&i,s|=s>>4,l=15&i,l|=l<<4):7===e.length&&(a=(16711680&i)>>16,s=(65280&i)>>8,l=255&i)),t(a,s,l))}function gt(e,t,n){var r,o,i=Math.min(e/=255,t/=255,n/=255),a=Math.max(e,t,n),s=a-i,l=(a+i)/2;return s?(o=l<.5?s/(a+i):s/(2-a-i),r=e==a?(t-n)/s+(t<n?6:0):t==a?(n-e)/s+2:(e-t)/s+4,r*=60):(r=NaN,o=l>0&&l<1?0:r),new Ge(r,o,l)}function vt(e,t,n){var r=lt((.4124564*(e=yt(e))+.3575761*(t=yt(t))+.1804375*(n=yt(n)))/tt),o=lt((.2126729*e+.7151522*t+.072175*n)/nt);return Qe(116*o-16,500*(r-o),200*(o-lt((.0193339*e+.119192*t+.9503041*n)/rt)))}function yt(e){return(e/=255)<=.04045?e/12.92:Math.pow((e+.055)/1.055,2.4)}function bt(e){var t=parseFloat(e);return"%"===e.charAt(e.length-1)?Math.round(2.55*t):t}ft.brighter=function(e){e=Math.pow(.7,arguments.length?e:1);var t=this.r,n=this.g,r=this.b,o=30;return t||n||r?(t&&t<o&&(t=o),n&&n<o&&(n=o),r&&r<o&&(r=o),new ut(Math.min(255,t/e),Math.min(255,n/e),Math.min(255,r/e))):new ut(o,o,o)},ft.darker=function(e){return new ut((e=Math.pow(.7,arguments.length?e:1))*this.r,e*this.g,e*this.b)},ft.hsl=function(){return gt(this.r,this.g,this.b)},ft.toString=function(){return"#"+ht(this.r)+ht(this.g)+ht(this.b)};var xt=i.map({aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074});function wt(e){return"function"==typeof e?e:function(){return e}}function At(e){return function(t,n,r){return 2===arguments.length&&"function"==typeof n&&(r=n,n=null),_t(t,n,e,r)}}function _t(e,t,n,r){var o={},a=i.dispatch("beforesend","progress","load","error"),l={},c=new XMLHttpRequest,u=null;function d(){var e,t=c.status;if(!t&&function(e){var t=e.responseType;return t&&"text"!==t?e.response:e.responseText}(c)||t>=200&&t<300||304===t){try{e=n.call(o,c)}catch(e){return void a.error.call(o,e)}a.load.call(o,e)}else a.error.call(o,c)}return this.XDomainRequest&&!("withCredentials"in c)&&/^(http(s)?:)?\/\//.test(e)&&(c=new XDomainRequest),"onload"in c?c.onload=c.onerror=d:c.onreadystatechange=function(){c.readyState>3&&d()},c.onprogress=function(e){var t=i.event;i.event=e;try{a.progress.call(o,c)}finally{i.event=t}},o.header=function(e,t){return e=(e+"").toLowerCase(),arguments.length<2?l[e]:(null==t?delete l[e]:l[e]=t+"",o)},o.mimeType=function(e){return arguments.length?(t=null==e?null:e+"",o):t},o.responseType=function(e){return arguments.length?(u=e,o):u},o.response=function(e){return n=e,o},["get","post"].forEach((function(e){o[e]=function(){return o.send.apply(o,[e].concat(s(arguments)))}})),o.send=function(n,r,i){if(2===arguments.length&&"function"==typeof r&&(i=r,r=null),c.open(n,e,!0),null==t||"accept"in l||(l.accept=t+",*/*"),c.setRequestHeader)for(var s in l)c.setRequestHeader(s,l[s]);return null!=t&&c.overrideMimeType&&c.overrideMimeType(t),null!=u&&(c.responseType=u),null!=i&&o.on("error",i).on("load",(function(e){i(null,e)})),a.beforesend.call(o,c),c.send(null==r?null:r),o},o.abort=function(){return c.abort(),o},i.rebind(o,a,"on"),null==r?o:o.get(function(e){return 1===e.length?function(t,n){e(null==t?n:null)}:e}(r))}xt.forEach((function(e,t){xt.set(e,dt(t))})),i.functor=wt,i.xhr=At(N),i.dsv=function(e,t){var n=new RegExp('["'+e+"\n]"),r=e.charCodeAt(0);function o(e,n,r){arguments.length<3&&(r=n,n=null);var o=_t(e,t,null==n?i:a(n),r);return o.row=function(e){return arguments.length?o.response(null==(n=e)?i:a(e)):n},o}function i(e){return o.parse(e.responseText)}function a(e){return function(t){return o.parse(t.responseText,e)}}function s(t){return t.map(l).join(e)}function l(e){return n.test(e)?'"'+e.replace(/\"/g,'""')+'"':e}return o.parse=function(e,t){var n;return o.parseRows(e,(function(e,r){if(n)return n(e,r-1);var o=new Function("d","return {"+e.map((function(e,t){return JSON.stringify(e)+": d["+t+"]"})).join(",")+"}");n=t?function(e,n){return t(o(e),n)}:o}))},o.parseRows=function(e,t){var n,o,i={},a={},s=[],l=e.length,c=0,u=0;function d(){if(c>=l)return a;if(o)return o=!1,i;var t=c;if(34===e.charCodeAt(t)){for(var n=t;n++<l;)if(34===e.charCodeAt(n)){if(34!==e.charCodeAt(n+1))break;++n}return c=n+2,13===(s=e.charCodeAt(n+1))?(o=!0,10===e.charCodeAt(n+2)&&++c):10===s&&(o=!0),e.slice(t+1,n).replace(/""/g,'"')}for(;c<l;){var s,u=1;if(10===(s=e.charCodeAt(c++)))o=!0;else if(13===s)o=!0,10===e.charCodeAt(c)&&(++c,++u);else if(s!==r)continue;return e.slice(t,c-u)}return e.slice(t)}for(;(n=d())!==a;){for(var p=[];n!==i&&n!==a;)p.push(n),n=d();t&&null==(p=t(p,u++))||s.push(p)}return s},o.format=function(t){if(Array.isArray(t[0]))return o.formatRows(t);var n=new I,r=[];return t.forEach((function(e){for(var t in e)n.has(t)||r.push(n.add(t))})),[r.map(l).join(e)].concat(t.map((function(t){return r.map((function(e){return l(t[e])})).join(e)}))).join("\n")},o.formatRows=function(e){return e.map(s).join("\n")},o},i.csv=i.dsv(",","text/csv"),i.tsv=i.dsv("\t","text/tab-separated-values");var St,kt,Ct,Tt,Mt=this[j(this,"requestAnimationFrame")]||function(e){setTimeout(e,17)};function Pt(e,t,n){var r=arguments.length;r<2&&(t=0),r<3&&(n=Date.now());var o={c:e,t:n+t,n:null};return kt?kt.n=o:St=o,kt=o,Ct||(Tt=clearTimeout(Tt),Ct=1,Mt(Ot)),o}function Ot(){var e=Et(),t=Dt()-e;t>24?(isFinite(t)&&(clearTimeout(Tt),Tt=setTimeout(Ot,t)),Ct=0):(Ct=1,Mt(Ot))}function Et(){for(var e=Date.now(),t=St;t;)e>=t.t&&t.c(e-t.t)&&(t.c=null),t=t.n;return e}function Dt(){for(var e,t=St,n=1/0;t;)t.c?(t.t<n&&(n=t.t),t=(e=t).n):t=e?e.n=t.n:St=t.n;return kt=e,n}function Rt(e,t){return t-(e?Math.ceil(Math.log(e)/Math.LN10):1)}i.timer=function(){Pt.apply(this,arguments)},i.timer.flush=function(){Et(),Dt()},i.round=function(e,t){return t?Math.round(e*(t=Math.pow(10,t)))/t:Math.round(e)};var It=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"].map((function(e,t){var n=Math.pow(10,3*A(8-t));return{scale:t>8?function(e){return e/n}:function(e){return e*n},symbol:e}}));function Nt(e){var t=e.decimal,n=e.thousands,r=e.grouping,o=e.currency,a=r&&n?function(e,t){for(var o=e.length,i=[],a=0,s=r[0],l=0;o>0&&s>0&&(l+s+1>t&&(s=Math.max(1,t-l)),i.push(e.substring(o-=s,o+s)),!((l+=s+1)>t));)s=r[a=(a+1)%r.length];return i.reverse().join(n)}:N;return function(e){var n=Lt.exec(e),r=n[1]||" ",s=n[2]||">",l=n[3]||"-",c=n[4]||"",u=n[5],d=+n[6],p=n[7],f=n[8],h=n[9],m=1,g="",v="",y=!1,b=!0;switch(f&&(f=+f.substring(1)),(u||"0"===r&&"="===s)&&(u=r="0",s="="),h){case"n":p=!0,h="g";break;case"%":m=100,v="%",h="f";break;case"p":m=100,v="%",h="r";break;case"b":case"o":case"x":case"X":"#"===c&&(g="0"+h.toLowerCase());case"c":b=!1;case"d":y=!0,f=0;break;case"s":m=-1,h="r"}"$"===c&&(g=o[0],v=o[1]),"r"!=h||f||(h="g"),null!=f&&("g"==h?f=Math.max(1,Math.min(21,f)):"e"!=h&&"f"!=h||(f=Math.max(0,Math.min(20,f)))),h=jt.get(h)||$t;var x=u&&p;return function(e){var n=v;if(y&&e%1)return"";var o=e<0||0===e&&1/e<0?(e=-e,"-"):"-"===l?"":l;if(m<0){var c=i.formatPrefix(e,f);e=c.scale(e),n=c.symbol+v}else e*=m;var w,A,_=(e=h(e,f)).lastIndexOf(".");if(_<0){var S=b?e.lastIndexOf("e"):-1;S<0?(w=e,A=""):(w=e.substring(0,S),A=e.substring(S))}else w=e.substring(0,_),A=t+e.substring(_+1);!u&&p&&(w=a(w,1/0));var k=g.length+w.length+A.length+(x?0:o.length),C=k<d?new Array(k=d-k+1).join(r):"";return x&&(w=a(C+w,C.length?d-A.length:1/0)),o+=g,e=w+A,("<"===s?o+e+C:">"===s?C+o+e:"^"===s?C.substring(0,k>>=1)+o+e+C.substring(k):o+(x?e:C+e))+n}}}i.formatPrefix=function(e,t){var n=0;return(e=+e)&&(e<0&&(e*=-1),t&&(e=i.round(e,Rt(e,t))),n=1+Math.floor(1e-12+Math.log(e)/Math.LN10),n=Math.max(-24,Math.min(24,3*Math.floor((n-1)/3)))),It[8+n/3]};var Lt=/(?:([^{])?([<>=^]))?([+\- ])?([$#])?(0)?(\d+)?(,)?(\.-?\d+)?([a-z%])?/i,jt=i.map({b:function(e){return e.toString(2)},c:function(e){return String.fromCharCode(e)},o:function(e){return e.toString(8)},x:function(e){return e.toString(16)},X:function(e){return e.toString(16).toUpperCase()},g:function(e,t){return e.toPrecision(t)},e:function(e,t){return e.toExponential(t)},f:function(e,t){return e.toFixed(t)},r:function(e,t){return(e=i.round(e,Rt(e,t))).toFixed(Math.max(0,Math.min(20,Rt(e*(1+1e-15),t))))}});function $t(e){return e+""}var zt=i.time={},Ft=Date;function Bt(){this._=new Date(arguments.length>1?Date.UTC.apply(this,arguments):arguments[0])}Bt.prototype={getDate:function(){return this._.getUTCDate()},getDay:function(){return this._.getUTCDay()},getFullYear:function(){return this._.getUTCFullYear()},getHours:function(){return this._.getUTCHours()},getMilliseconds:function(){return this._.getUTCMilliseconds()},getMinutes:function(){return this._.getUTCMinutes()},getMonth:function(){return this._.getUTCMonth()},getSeconds:function(){return this._.getUTCSeconds()},getTime:function(){return this._.getTime()},getTimezoneOffset:function(){return 0},valueOf:function(){return this._.valueOf()},setDate:function(){Ht.setUTCDate.apply(this._,arguments)},setDay:function(){Ht.setUTCDay.apply(this._,arguments)},setFullYear:function(){Ht.setUTCFullYear.apply(this._,arguments)},setHours:function(){Ht.setUTCHours.apply(this._,arguments)},setMilliseconds:function(){Ht.setUTCMilliseconds.apply(this._,arguments)},setMinutes:function(){Ht.setUTCMinutes.apply(this._,arguments)},setMonth:function(){Ht.setUTCMonth.apply(this._,arguments)},setSeconds:function(){Ht.setUTCSeconds.apply(this._,arguments)},setTime:function(){Ht.setTime.apply(this._,arguments)}};var Ht=Date.prototype;function Vt(e,t,n){function r(t){var n=e(t),r=i(n,1);return t-n<r-t?n:r}function o(n){return t(n=e(new Ft(n-1)),1),n}function i(e,n){return t(e=new Ft(+e),n),e}function a(e,r,i){var a=o(e),s=[];if(i>1)for(;a<r;)n(a)%i||s.push(new Date(+a)),t(a,1);else for(;a<r;)s.push(new Date(+a)),t(a,1);return s}e.floor=e,e.round=r,e.ceil=o,e.offset=i,e.range=a;var s=e.utc=Wt(e);return s.floor=s,s.round=Wt(r),s.ceil=Wt(o),s.offset=Wt(i),s.range=function(e,t,n){try{Ft=Bt;var r=new Bt;return r._=e,a(r,t,n)}finally{Ft=Date}},e}function Wt(e){return function(t,n){try{Ft=Bt;var r=new Bt;return r._=t,e(r,n)._}finally{Ft=Date}}}function Ut(e){var t=e.dateTime,n=e.date,r=e.time,o=e.periods,a=e.days,s=e.shortDays,l=e.months,c=e.shortMonths;function u(e){var t=e.length;function n(n){for(var r,o,i,a=[],s=-1,l=0;++s<t;)37===e.charCodeAt(s)&&(a.push(e.slice(l,s)),null!=(o=qt[r=e.charAt(++s)])&&(r=e.charAt(++s)),(i=w[r])&&(r=i(n,null==o?"e"===r?" ":"0":o)),a.push(r),l=s+1);return a.push(e.slice(l,s)),a.join("")}return n.parse=function(t){var n={y:1900,m:0,d:1,H:0,M:0,S:0,L:0,Z:null};if(d(n,e,t,0)!=t.length)return null;"p"in n&&(n.H=n.H%12+12*n.p);var r=null!=n.Z&&Ft!==Bt,o=new(r?Bt:Ft);return"j"in n?o.setFullYear(n.y,0,n.j):"W"in n||"U"in n?("w"in n||(n.w="W"in n?1:0),o.setFullYear(n.y,0,1),o.setFullYear(n.y,0,"W"in n?(n.w+6)%7+7*n.W-(o.getDay()+5)%7:n.w+7*n.U-(o.getDay()+6)%7)):o.setFullYear(n.y,n.m,n.d),o.setHours(n.H+(n.Z/100|0),n.M+n.Z%100,n.S,n.L),r?o._:o},n.toString=function(){return e},n}function d(e,t,n,r){for(var o,i,a,s=0,l=t.length,c=n.length;s<l;){if(r>=c)return-1;if(37===(o=t.charCodeAt(s++))){if(a=t.charAt(s++),!(i=A[a in qt?t.charAt(s++):a])||(r=i(e,n,r))<0)return-1}else if(o!=n.charCodeAt(r++))return-1}return r}u.utc=function(e){var t=u(e);function n(e){try{var n=new(Ft=Bt);return n._=e,t(n)}finally{Ft=Date}}return n.parse=function(e){try{Ft=Bt;var n=t.parse(e);return n&&n._}finally{Ft=Date}},n.toString=t.toString,n},u.multi=u.utc.multi=hn;var p=i.map(),f=Kt(a),h=Zt(a),m=Kt(s),g=Zt(s),v=Kt(l),y=Zt(l),b=Kt(c),x=Zt(c);o.forEach((function(e,t){p.set(e.toLowerCase(),t)}));var w={a:function(e){return s[e.getDay()]},A:function(e){return a[e.getDay()]},b:function(e){return c[e.getMonth()]},B:function(e){return l[e.getMonth()]},c:u(t),d:function(e,t){return Xt(e.getDate(),t,2)},e:function(e,t){return Xt(e.getDate(),t,2)},H:function(e,t){return Xt(e.getHours(),t,2)},I:function(e,t){return Xt(e.getHours()%12||12,t,2)},j:function(e,t){return Xt(1+zt.dayOfYear(e),t,3)},L:function(e,t){return Xt(e.getMilliseconds(),t,3)},m:function(e,t){return Xt(e.getMonth()+1,t,2)},M:function(e,t){return Xt(e.getMinutes(),t,2)},p:function(e){return o[+(e.getHours()>=12)]},S:function(e,t){return Xt(e.getSeconds(),t,2)},U:function(e,t){return Xt(zt.sundayOfYear(e),t,2)},w:function(e){return e.getDay()},W:function(e,t){return Xt(zt.mondayOfYear(e),t,2)},x:u(n),X:u(r),y:function(e,t){return Xt(e.getFullYear()%100,t,2)},Y:function(e,t){return Xt(e.getFullYear()%1e4,t,4)},Z:pn,"%":function(){return"%"}},A={a:function(e,t,n){m.lastIndex=0;var r=m.exec(t.slice(n));return r?(e.w=g.get(r[0].toLowerCase()),n+r[0].length):-1},A:function(e,t,n){f.lastIndex=0;var r=f.exec(t.slice(n));return r?(e.w=h.get(r[0].toLowerCase()),n+r[0].length):-1},b:function(e,t,n){b.lastIndex=0;var r=b.exec(t.slice(n));return r?(e.m=x.get(r[0].toLowerCase()),n+r[0].length):-1},B:function(e,t,n){v.lastIndex=0;var r=v.exec(t.slice(n));return r?(e.m=y.get(r[0].toLowerCase()),n+r[0].length):-1},c:function(e,t,n){return d(e,w.c.toString(),t,n)},d:an,e:an,H:ln,I:ln,j:sn,L:dn,m:on,M:cn,p:function(e,t,n){var r=p.get(t.slice(n,n+=2).toLowerCase());return null==r?-1:(e.p=r,n)},S:un,U:Qt,w:Jt,W:en,x:function(e,t,n){return d(e,w.x.toString(),t,n)},X:function(e,t,n){return d(e,w.X.toString(),t,n)},y:nn,Y:tn,Z:rn,"%":fn};return u}zt.year=Vt((function(e){return(e=zt.day(e)).setMonth(0,1),e}),(function(e,t){e.setFullYear(e.getFullYear()+t)}),(function(e){return e.getFullYear()})),zt.years=zt.year.range,zt.years.utc=zt.year.utc.range,zt.day=Vt((function(e){var t=new Ft(2e3,0);return t.setFullYear(e.getFullYear(),e.getMonth(),e.getDate()),t}),(function(e,t){e.setDate(e.getDate()+t)}),(function(e){return e.getDate()-1})),zt.days=zt.day.range,zt.days.utc=zt.day.utc.range,zt.dayOfYear=function(e){var t=zt.year(e);return Math.floor((e-t-6e4*(e.getTimezoneOffset()-t.getTimezoneOffset()))/864e5)},["sunday","monday","tuesday","wednesday","thursday","friday","saturday"].forEach((function(e,t){t=7-t;var n=zt[e]=Vt((function(e){return(e=zt.day(e)).setDate(e.getDate()-(e.getDay()+t)%7),e}),(function(e,t){e.setDate(e.getDate()+7*Math.floor(t))}),(function(e){var n=zt.year(e).getDay();return Math.floor((zt.dayOfYear(e)+(n+t)%7)/7)-(n!==t)}));zt[e+"s"]=n.range,zt[e+"s"].utc=n.utc.range,zt[e+"OfYear"]=function(e){var n=zt.year(e).getDay();return Math.floor((zt.dayOfYear(e)+(n+t)%7)/7)}})),zt.week=zt.sunday,zt.weeks=zt.sunday.range,zt.weeks.utc=zt.sunday.utc.range,zt.weekOfYear=zt.sundayOfYear;var qt={"-":"",_:" ",0:"0"},Gt=/^\s*\d+/,Yt=/^%/;function Xt(e,t,n){var r=e<0?"-":"",o=(r?-e:e)+"",i=o.length;return r+(i<n?new Array(n-i+1).join(t)+o:o)}function Kt(e){return new RegExp("^(?:"+e.map(i.requote).join("|")+")","i")}function Zt(e){for(var t=new S,n=-1,r=e.length;++n<r;)t.set(e[n].toLowerCase(),n);return t}function Jt(e,t,n){Gt.lastIndex=0;var r=Gt.exec(t.slice(n,n+1));return r?(e.w=+r[0],n+r[0].length):-1}function Qt(e,t,n){Gt.lastIndex=0;var r=Gt.exec(t.slice(n));return r?(e.U=+r[0],n+r[0].length):-1}function en(e,t,n){Gt.lastIndex=0;var r=Gt.exec(t.slice(n));return r?(e.W=+r[0],n+r[0].length):-1}function tn(e,t,n){Gt.lastIndex=0;var r=Gt.exec(t.slice(n,n+4));return r?(e.y=+r[0],n+r[0].length):-1}function nn(e,t,n){Gt.lastIndex=0;var r,o=Gt.exec(t.slice(n,n+2));return o?(e.y=(r=+o[0])+(r>68?1900:2e3),n+o[0].length):-1}function rn(e,t,n){return/^[+-]\d{4}$/.test(t=t.slice(n,n+5))?(e.Z=-t,n+5):-1}function on(e,t,n){Gt.lastIndex=0;var r=Gt.exec(t.slice(n,n+2));return r?(e.m=r[0]-1,n+r[0].length):-1}function an(e,t,n){Gt.lastIndex=0;var r=Gt.exec(t.slice(n,n+2));return r?(e.d=+r[0],n+r[0].length):-1}function sn(e,t,n){Gt.lastIndex=0;var r=Gt.exec(t.slice(n,n+3));return r?(e.j=+r[0],n+r[0].length):-1}function ln(e,t,n){Gt.lastIndex=0;var r=Gt.exec(t.slice(n,n+2));return r?(e.H=+r[0],n+r[0].length):-1}function cn(e,t,n){Gt.lastIndex=0;var r=Gt.exec(t.slice(n,n+2));return r?(e.M=+r[0],n+r[0].length):-1}function un(e,t,n){Gt.lastIndex=0;var r=Gt.exec(t.slice(n,n+2));return r?(e.S=+r[0],n+r[0].length):-1}function dn(e,t,n){Gt.lastIndex=0;var r=Gt.exec(t.slice(n,n+3));return r?(e.L=+r[0],n+r[0].length):-1}function pn(e){var t=e.getTimezoneOffset(),n=t>0?"-":"+",r=A(t)/60|0,o=A(t)%60;return n+Xt(r,"0",2)+Xt(o,"0",2)}function fn(e,t,n){Yt.lastIndex=0;var r=Yt.exec(t.slice(n,n+1));return r?n+r[0].length:-1}function hn(e){for(var t=e.length,n=-1;++n<t;)e[n][0]=this(e[n][0]);return function(t){for(var n=0,r=e[n];!r[1](t);)r=e[++n];return r[0](t)}}i.locale=function(e){return{numberFormat:Nt(e),timeFormat:Ut(e)}};var mn=i.locale({decimal:".",thousands:",",grouping:[3],currency:["$",""],dateTime:"%a %b %e %X %Y",date:"%m/%d/%Y",time:"%H:%M:%S",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]});function gn(){}i.format=mn.numberFormat,i.geo={},gn.prototype={s:0,t:0,add:function(e){yn(e,this.t,vn),yn(vn.s,this.s,this),this.s?this.t+=vn.t:this.s=vn.t},reset:function(){this.s=this.t=0},valueOf:function(){return this.s}};var vn=new gn;function yn(e,t,n){var r=n.s=e+t,o=r-e,i=r-o;n.t=e-i+(t-o)}function bn(e,t){e&&wn.hasOwnProperty(e.type)&&wn[e.type](e,t)}i.geo.stream=function(e,t){e&&xn.hasOwnProperty(e.type)?xn[e.type](e,t):bn(e,t)};var xn={Feature:function(e,t){bn(e.geometry,t)},FeatureCollection:function(e,t){for(var n=e.features,r=-1,o=n.length;++r<o;)bn(n[r].geometry,t)}},wn={Sphere:function(e,t){t.sphere()},Point:function(e,t){e=e.coordinates,t.point(e[0],e[1],e[2])},MultiPoint:function(e,t){for(var n=e.coordinates,r=-1,o=n.length;++r<o;)e=n[r],t.point(e[0],e[1],e[2])},LineString:function(e,t){An(e.coordinates,t,0)},MultiLineString:function(e,t){for(var n=e.coordinates,r=-1,o=n.length;++r<o;)An(n[r],t,0)},Polygon:function(e,t){_n(e.coordinates,t)},MultiPolygon:function(e,t){for(var n=e.coordinates,r=-1,o=n.length;++r<o;)_n(n[r],t)},GeometryCollection:function(e,t){for(var n=e.geometries,r=-1,o=n.length;++r<o;)bn(n[r],t)}};function An(e,t,n){var r,o=-1,i=e.length-n;for(t.lineStart();++o<i;)r=e[o],t.point(r[0],r[1],r[2]);t.lineEnd()}function _n(e,t){var n=-1,r=e.length;for(t.polygonStart();++n<r;)An(e[n],t,1);t.polygonEnd()}i.geo.area=function(e){return Sn=0,i.geo.stream(e,jn),Sn};var Sn,kn,Cn,Tn,Mn,Pn,On,En,Dn,Rn,In,Nn,Ln=new gn,jn={sphere:function(){Sn+=4*Oe},point:z,lineStart:z,lineEnd:z,polygonStart:function(){Ln.reset(),jn.lineStart=$n},polygonEnd:function(){var e=2*Ln;Sn+=e<0?4*Oe+e:e,jn.lineStart=jn.lineEnd=jn.point=z}};function $n(){var e,t,n,r,o;function i(e,t){t=t*Ie/2+Oe/4;var i=(e*=Ie)-n,a=i>=0?1:-1,s=a*i,l=Math.cos(t),c=Math.sin(t),u=o*c,d=r*l+u*Math.cos(s),p=u*a*Math.sin(s);Ln.add(Math.atan2(p,d)),n=e,r=l,o=c}jn.point=function(a,s){jn.point=i,n=(e=a)*Ie,r=Math.cos(s=(t=s)*Ie/2+Oe/4),o=Math.sin(s)},jn.lineEnd=function(){i(e,t)}}function zn(e){var t=e[0],n=e[1],r=Math.cos(n);return[r*Math.cos(t),r*Math.sin(t),Math.sin(n)]}function Fn(e,t){return e[0]*t[0]+e[1]*t[1]+e[2]*t[2]}function Bn(e,t){return[e[1]*t[2]-e[2]*t[1],e[2]*t[0]-e[0]*t[2],e[0]*t[1]-e[1]*t[0]]}function Hn(e,t){e[0]+=t[0],e[1]+=t[1],e[2]+=t[2]}function Vn(e,t){return[e[0]*t,e[1]*t,e[2]*t]}function Wn(e){var t=Math.sqrt(e[0]*e[0]+e[1]*e[1]+e[2]*e[2]);e[0]/=t,e[1]/=t,e[2]/=t}function Un(e){return[Math.atan2(e[1],e[0]),ze(e[2])]}function qn(e,t){return A(e[0]-t[0])<Me&&A(e[1]-t[1])<Me}i.geo.bounds=function(){var e,t,n,r,o,a,s,l,c,u,d,p={point:f,lineStart:m,lineEnd:g,polygonStart:function(){p.point=v,p.lineStart=y,p.lineEnd=b,c=0,jn.polygonStart()},polygonEnd:function(){jn.polygonEnd(),p.point=f,p.lineStart=m,p.lineEnd=g,Ln<0?(e=-(n=180),t=-(r=90)):c>Me?r=90:c<-Me&&(t=-90),d[0]=e,d[1]=n}};function f(o,i){u.push(d=[e=o,n=o]),i<t&&(t=i),i>r&&(r=i)}function h(i,a){var s=zn([i*Ie,a*Ie]);if(l){var c=Bn(l,s),u=Bn([c[1],-c[0],0],c);Wn(u),u=Un(u);var d=i-o,p=d>0?1:-1,h=u[0]*Ne*p,m=A(d)>180;if(m^(p*o<h&&h<p*i))(g=u[1]*Ne)>r&&(r=g);else if(m^(p*o<(h=(h+360)%360-180)&&h<p*i)){var g;(g=-u[1]*Ne)<t&&(t=g)}else a<t&&(t=a),a>r&&(r=a);m?i<o?x(e,i)>x(e,n)&&(n=i):x(i,n)>x(e,n)&&(e=i):n>=e?(i<e&&(e=i),i>n&&(n=i)):i>o?x(e,i)>x(e,n)&&(n=i):x(i,n)>x(e,n)&&(e=i)}else f(i,a);l=s,o=i}function m(){p.point=h}function g(){d[0]=e,d[1]=n,p.point=f,l=null}function v(e,t){if(l){var n=e-o;c+=A(n)>180?n+(n>0?360:-360):n}else a=e,s=t;jn.point(e,t),h(e,t)}function y(){jn.lineStart()}function b(){v(a,s),jn.lineEnd(),A(c)>Me&&(e=-(n=180)),d[0]=e,d[1]=n,l=null}function x(e,t){return(t-=e)<0?t+360:t}function w(e,t){return e[0]-t[0]}function _(e,t){return t[0]<=t[1]?t[0]<=e&&e<=t[1]:e<t[0]||t[1]<e}return function(o){if(r=n=-(e=t=1/0),u=[],i.geo.stream(o,p),c=u.length){u.sort(w);for(var a=1,s=[m=u[0]];a<c;++a)_((f=u[a])[0],m)||_(f[1],m)?(x(m[0],f[1])>x(m[0],m[1])&&(m[1]=f[1]),x(f[0],m[1])>x(m[0],m[1])&&(m[0]=f[0])):s.push(m=f);for(var l,c,f,h=-1/0,m=(a=0,s[c=s.length-1]);a<=c;m=f,++a)f=s[a],(l=x(m[1],f[0]))>h&&(h=l,e=f[0],n=m[1])}return u=d=null,e===1/0||t===1/0?[[NaN,NaN],[NaN,NaN]]:[[e,t],[n,r]]}}(),i.geo.centroid=function(e){kn=Cn=Tn=Mn=Pn=On=En=Dn=Rn=In=Nn=0,i.geo.stream(e,Gn);var t=Rn,n=In,r=Nn,o=t*t+n*n+r*r;return o<Pe&&(t=On,n=En,r=Dn,Cn<Me&&(t=Tn,n=Mn,r=Pn),(o=t*t+n*n+r*r)<Pe)?[NaN,NaN]:[Math.atan2(n,t)*Ne,ze(r/Math.sqrt(o))*Ne]};var Gn={sphere:z,point:Yn,lineStart:Kn,lineEnd:Zn,polygonStart:function(){Gn.lineStart=Jn},polygonEnd:function(){Gn.lineStart=Kn}};function Yn(e,t){e*=Ie;var n=Math.cos(t*=Ie);Xn(n*Math.cos(e),n*Math.sin(e),Math.sin(t))}function Xn(e,t,n){++kn,Tn+=(e-Tn)/kn,Mn+=(t-Mn)/kn,Pn+=(n-Pn)/kn}function Kn(){var e,t,n;function r(r,o){r*=Ie;var i=Math.cos(o*=Ie),a=i*Math.cos(r),s=i*Math.sin(r),l=Math.sin(o),c=Math.atan2(Math.sqrt((c=t*l-n*s)*c+(c=n*a-e*l)*c+(c=e*s-t*a)*c),e*a+t*s+n*l);Cn+=c,On+=c*(e+(e=a)),En+=c*(t+(t=s)),Dn+=c*(n+(n=l)),Xn(e,t,n)}Gn.point=function(o,i){o*=Ie;var a=Math.cos(i*=Ie);e=a*Math.cos(o),t=a*Math.sin(o),n=Math.sin(i),Gn.point=r,Xn(e,t,n)}}function Zn(){Gn.point=Yn}function Jn(){var e,t,n,r,o;function i(e,t){e*=Ie;var i=Math.cos(t*=Ie),a=i*Math.cos(e),s=i*Math.sin(e),l=Math.sin(t),c=r*l-o*s,u=o*a-n*l,d=n*s-r*a,p=Math.sqrt(c*c+u*u+d*d),f=n*a+r*s+o*l,h=p&&-$e(f)/p,m=Math.atan2(p,f);Rn+=h*c,In+=h*u,Nn+=h*d,Cn+=m,On+=m*(n+(n=a)),En+=m*(r+(r=s)),Dn+=m*(o+(o=l)),Xn(n,r,o)}Gn.point=function(a,s){e=a,t=s,Gn.point=i,a*=Ie;var l=Math.cos(s*=Ie);n=l*Math.cos(a),r=l*Math.sin(a),o=Math.sin(s),Xn(n,r,o)},Gn.lineEnd=function(){i(e,t),Gn.lineEnd=Zn,Gn.point=Yn}}function Qn(e,t){function n(n,r){return n=e(n,r),t(n[0],n[1])}return e.invert&&t.invert&&(n.invert=function(n,r){return(n=t.invert(n,r))&&e.invert(n[0],n[1])}),n}function er(){return!0}function tr(e,t,n,r,o){var i=[],a=[];if(e.forEach((function(e){if(!((t=e.length-1)<=0)){var t,n=e[0],r=e[t];if(qn(n,r)){o.lineStart();for(var s=0;s<t;++s)o.point((n=e[s])[0],n[1]);o.lineEnd()}else{var l=new rr(n,e,null,!0),c=new rr(n,null,l,!1);l.o=c,i.push(l),a.push(c),l=new rr(r,e,null,!1),c=new rr(r,null,l,!0),l.o=c,i.push(l),a.push(c)}}})),a.sort(t),nr(i),nr(a),i.length){for(var s=0,l=n,c=a.length;s<c;++s)a[s].e=l=!l;for(var u,d,p=i[0];;){for(var f=p,h=!0;f.v;)if((f=f.n)===p)return;u=f.z,o.lineStart();do{if(f.v=f.o.v=!0,f.e){if(h)for(s=0,c=u.length;s<c;++s)o.point((d=u[s])[0],d[1]);else r(f.x,f.n.x,1,o);f=f.n}else{if(h)for(s=(u=f.p.z).length-1;s>=0;--s)o.point((d=u[s])[0],d[1]);else r(f.x,f.p.x,-1,o);f=f.p}u=(f=f.o).z,h=!h}while(!f.v);o.lineEnd()}}}function nr(e){if(t=e.length){for(var t,n,r=0,o=e[0];++r<t;)o.n=n=e[r],n.p=o,o=n;o.n=n=e[0],n.p=o}}function rr(e,t,n,r){this.x=e,this.z=t,this.o=n,this.e=r,this.v=!1,this.n=this.p=null}function or(e,t,n,r){return function(o,a){var s,l=t(a),c=o.invert(r[0],r[1]),u={point:d,lineStart:f,lineEnd:h,polygonStart:function(){u.point=x,u.lineStart=w,u.lineEnd=A,s=[],m=[]},polygonEnd:function(){u.point=d,u.lineStart=f,u.lineEnd=h,s=i.merge(s);var e=function(e,t){var n=e[0],r=e[1],o=[Math.sin(n),-Math.cos(n),0],i=0,a=0;Ln.reset();for(var s=0,l=t.length;s<l;++s){var c=t[s],u=c.length;if(u)for(var d=c[0],p=d[0],f=d[1]/2+Oe/4,h=Math.sin(f),m=Math.cos(f),g=1;;){g===u&&(g=0);var v=(e=c[g])[0],y=e[1]/2+Oe/4,b=Math.sin(y),x=Math.cos(y),w=v-p,A=w>=0?1:-1,_=A*w,S=_>Oe,k=h*b;if(Ln.add(Math.atan2(k*A*Math.sin(_),m*x+k*Math.cos(_))),i+=S?w+A*Ee:w,S^p>=n^v>=n){var C=Bn(zn(d),zn(e));Wn(C);var T=Bn(o,C);Wn(T);var M=(S^w>=0?-1:1)*ze(T[2]);(r>M||r===M&&(C[0]||C[1]))&&(a+=S^w>=0?1:-1)}if(!g++)break;p=v,h=b,m=x,d=e}}return(i<-Me||i<Me&&Ln<-Me)^1&a}(c,m);s.length?(b||(a.polygonStart(),b=!0),tr(s,sr,e,n,a)):e&&(b||(a.polygonStart(),b=!0),a.lineStart(),n(null,null,1,a),a.lineEnd()),b&&(a.polygonEnd(),b=!1),s=m=null},sphere:function(){a.polygonStart(),a.lineStart(),n(null,null,1,a),a.lineEnd(),a.polygonEnd()}};function d(t,n){var r=o(t,n);e(t=r[0],n=r[1])&&a.point(t,n)}function p(e,t){var n=o(e,t);l.point(n[0],n[1])}function f(){u.point=p,l.lineStart()}function h(){u.point=d,l.lineEnd()}var m,g,v=ar(),y=t(v),b=!1;function x(e,t){g.push([e,t]);var n=o(e,t);y.point(n[0],n[1])}function w(){y.lineStart(),g=[]}function A(){x(g[0][0],g[0][1]),y.lineEnd();var e,t=y.clean(),n=v.buffer(),r=n.length;if(g.pop(),m.push(g),g=null,r)if(1&t){var o,i=-1;if((r=(e=n[0]).length-1)>0){for(b||(a.polygonStart(),b=!0),a.lineStart();++i<r;)a.point((o=e[i])[0],o[1]);a.lineEnd()}}else r>1&&2&t&&n.push(n.pop().concat(n.shift())),s.push(n.filter(ir))}return u}}function ir(e){return e.length>1}function ar(){var e,t=[];return{lineStart:function(){t.push(e=[])},point:function(t,n){e.push([t,n])},lineEnd:z,buffer:function(){var n=t;return t=[],e=null,n},rejoin:function(){t.length>1&&t.push(t.pop().concat(t.shift()))}}}function sr(e,t){return((e=e.x)[0]<0?e[1]-Re-Me:Re-e[1])-((t=t.x)[0]<0?t[1]-Re-Me:Re-t[1])}var lr=or(er,(function(e){var t,n=NaN,r=NaN,o=NaN;return{lineStart:function(){e.lineStart(),t=1},point:function(i,a){var s=i>0?Oe:-Oe,l=A(i-n);A(l-Oe)<Me?(e.point(n,r=(r+a)/2>0?Re:-Re),e.point(o,r),e.lineEnd(),e.lineStart(),e.point(s,r),e.point(i,r),t=0):o!==s&&l>=Oe&&(A(n-o)<Me&&(n-=o*Me),A(i-s)<Me&&(i-=s*Me),r=function(e,t,n,r){var o,i,a=Math.sin(e-n);return A(a)>Me?Math.atan((Math.sin(t)*(i=Math.cos(r))*Math.sin(n)-Math.sin(r)*(o=Math.cos(t))*Math.sin(e))/(o*i*a)):(t+r)/2}(n,r,i,a),e.point(o,r),e.lineEnd(),e.lineStart(),e.point(s,r),t=0),e.point(n=i,r=a),o=s},lineEnd:function(){e.lineEnd(),n=r=NaN},clean:function(){return 2-t}}}),(function(e,t,n,r){var o;if(null==e)o=n*Re,r.point(-Oe,o),r.point(0,o),r.point(Oe,o),r.point(Oe,0),r.point(Oe,-o),r.point(0,-o),r.point(-Oe,-o),r.point(-Oe,0),r.point(-Oe,o);else if(A(e[0]-t[0])>Me){var i=e[0]<t[0]?Oe:-Oe;o=n*i/2,r.point(-i,o),r.point(0,o),r.point(i,o)}else r.point(t[0],t[1])}),[-Oe,-Oe/2]);function cr(e,t,n,r){return function(o){var i,a=o.a,s=o.b,l=a.x,c=a.y,u=0,d=1,p=s.x-l,f=s.y-c;if(i=e-l,p||!(i>0)){if(i/=p,p<0){if(i<u)return;i<d&&(d=i)}else if(p>0){if(i>d)return;i>u&&(u=i)}if(i=n-l,p||!(i<0)){if(i/=p,p<0){if(i>d)return;i>u&&(u=i)}else if(p>0){if(i<u)return;i<d&&(d=i)}if(i=t-c,f||!(i>0)){if(i/=f,f<0){if(i<u)return;i<d&&(d=i)}else if(f>0){if(i>d)return;i>u&&(u=i)}if(i=r-c,f||!(i<0)){if(i/=f,f<0){if(i>d)return;i>u&&(u=i)}else if(f>0){if(i<u)return;i<d&&(d=i)}return u>0&&(o.a={x:l+u*p,y:c+u*f}),d<1&&(o.b={x:l+d*p,y:c+d*f}),o}}}}}}var ur=1e9;function dr(e,t,n,r){return function(l){var c,u,d,p,f,h,m,g,v,y,b,x=l,w=ar(),A=cr(e,t,n,r),_={point:C,lineStart:function(){_.point=T,u&&u.push(d=[]);y=!0,v=!1,m=g=NaN},lineEnd:function(){c&&(T(p,f),h&&v&&w.rejoin(),c.push(w.buffer()));_.point=C,v&&l.lineEnd()},polygonStart:function(){l=w,c=[],u=[],b=!0},polygonEnd:function(){l=x,c=i.merge(c);var t=function(e){for(var t=0,n=u.length,r=e[1],o=0;o<n;++o)for(var i,a=1,s=u[o],l=s.length,c=s[0];a<l;++a)i=s[a],c[1]<=r?i[1]>r&&je(c,i,e)>0&&++t:i[1]<=r&&je(c,i,e)<0&&--t,c=i;return 0!==t}([e,r]),n=b&&t,o=c.length;(n||o)&&(l.polygonStart(),n&&(l.lineStart(),S(null,null,1,l),l.lineEnd()),o&&tr(c,a,t,S,l),l.polygonEnd()),c=u=d=null}};function S(i,a,l,c){var u=0,d=0;if(null==i||(u=o(i,l))!==(d=o(a,l))||s(i,a)<0^l>0)do{c.point(0===u||3===u?e:n,u>1?r:t)}while((u=(u+l+4)%4)!==d);else c.point(a[0],a[1])}function k(o,i){return e<=o&&o<=n&&t<=i&&i<=r}function C(e,t){k(e,t)&&l.point(e,t)}function T(e,t){var n=k(e=Math.max(-ur,Math.min(ur,e)),t=Math.max(-ur,Math.min(ur,t)));if(u&&d.push([e,t]),y)p=e,f=t,h=n,y=!1,n&&(l.lineStart(),l.point(e,t));else if(n&&v)l.point(e,t);else{var r={a:{x:m,y:g},b:{x:e,y:t}};A(r)?(v||(l.lineStart(),l.point(r.a.x,r.a.y)),l.point(r.b.x,r.b.y),n||l.lineEnd(),b=!1):n&&(l.lineStart(),l.point(e,t),b=!1)}m=e,g=t,v=n}return _};function o(r,o){return A(r[0]-e)<Me?o>0?0:3:A(r[0]-n)<Me?o>0?2:1:A(r[1]-t)<Me?o>0?1:0:o>0?3:2}function a(e,t){return s(e.x,t.x)}function s(e,t){var n=o(e,1),r=o(t,1);return n!==r?n-r:0===n?t[1]-e[1]:1===n?e[0]-t[0]:2===n?e[1]-t[1]:t[0]-e[0]}}function pr(e){var t=0,n=Oe/3,r=Lr(e),o=r(t,n);return o.parallels=function(e){return arguments.length?r(t=e[0]*Oe/180,n=e[1]*Oe/180):[t/Oe*180,n/Oe*180]},o}function fr(e,t){var n=Math.sin(e),r=(n+Math.sin(t))/2,o=1+n*(2*r-n),i=Math.sqrt(o)/r;function a(e,t){var n=Math.sqrt(o-2*r*Math.sin(t))/r;return[n*Math.sin(e*=r),i-n*Math.cos(e)]}return a.invert=function(e,t){var n=i-t;return[Math.atan2(e,n)/r,ze((o-(e*e+n*n)*r*r)/(2*r))]},a}i.geo.clipExtent=function(){var e,t,n,r,o,i,a={stream:function(e){return o&&(o.valid=!1),(o=i(e)).valid=!0,o},extent:function(s){return arguments.length?(i=dr(e=+s[0][0],t=+s[0][1],n=+s[1][0],r=+s[1][1]),o&&(o.valid=!1,o=null),a):[[e,t],[n,r]]}};return a.extent([[0,0],[960,500]])},(i.geo.conicEqualArea=function(){return pr(fr)}).raw=fr,i.geo.albers=function(){return i.geo.conicEqualArea().rotate([96,0]).center([-.6,38.7]).parallels([29.5,45.5]).scale(1070)},i.geo.albersUsa=function(){var e,t,n,r,o=i.geo.albers(),a=i.geo.conicEqualArea().rotate([154,0]).center([-2,58.5]).parallels([55,65]),s=i.geo.conicEqualArea().rotate([157,0]).center([-3,19.9]).parallels([8,18]),l={point:function(t,n){e=[t,n]}};function c(o){var i=o[0],a=o[1];return e=null,t(i,a),e||(n(i,a),e)||r(i,a),e}return c.invert=function(e){var t=o.scale(),n=o.translate(),r=(e[0]-n[0])/t,i=(e[1]-n[1])/t;return(i>=.12&&i<.234&&r>=-.425&&r<-.214?a:i>=.166&&i<.234&&r>=-.214&&r<-.115?s:o).invert(e)},c.stream=function(e){var t=o.stream(e),n=a.stream(e),r=s.stream(e);return{point:function(e,o){t.point(e,o),n.point(e,o),r.point(e,o)},sphere:function(){t.sphere(),n.sphere(),r.sphere()},lineStart:function(){t.lineStart(),n.lineStart(),r.lineStart()},lineEnd:function(){t.lineEnd(),n.lineEnd(),r.lineEnd()},polygonStart:function(){t.polygonStart(),n.polygonStart(),r.polygonStart()},polygonEnd:function(){t.polygonEnd(),n.polygonEnd(),r.polygonEnd()}}},c.precision=function(e){return arguments.length?(o.precision(e),a.precision(e),s.precision(e),c):o.precision()},c.scale=function(e){return arguments.length?(o.scale(e),a.scale(.35*e),s.scale(e),c.translate(o.translate())):o.scale()},c.translate=function(e){if(!arguments.length)return o.translate();var i=o.scale(),u=+e[0],d=+e[1];return t=o.translate(e).clipExtent([[u-.455*i,d-.238*i],[u+.455*i,d+.238*i]]).stream(l).point,n=a.translate([u-.307*i,d+.201*i]).clipExtent([[u-.425*i+Me,d+.12*i+Me],[u-.214*i-Me,d+.234*i-Me]]).stream(l).point,r=s.translate([u-.205*i,d+.212*i]).clipExtent([[u-.214*i+Me,d+.166*i+Me],[u-.115*i-Me,d+.234*i-Me]]).stream(l).point,c},c.scale(1070)};var hr,mr,gr,vr,yr,br,xr={point:z,lineStart:z,lineEnd:z,polygonStart:function(){mr=0,xr.lineStart=wr},polygonEnd:function(){xr.lineStart=xr.lineEnd=xr.point=z,hr+=A(mr/2)}};function wr(){var e,t,n,r;function o(e,t){mr+=r*e-n*t,n=e,r=t}xr.point=function(i,a){xr.point=o,e=n=i,t=r=a},xr.lineEnd=function(){o(e,t)}}var Ar={point:function(e,t){e<gr&&(gr=e);e>yr&&(yr=e);t<vr&&(vr=t);t>br&&(br=t)},lineStart:z,lineEnd:z,polygonStart:z,polygonEnd:z};function _r(){var e=Sr(4.5),t=[],n={point:r,lineStart:function(){n.point=o},lineEnd:a,polygonStart:function(){n.lineEnd=s},polygonEnd:function(){n.lineEnd=a,n.point=r},pointRadius:function(t){return e=Sr(t),n},result:function(){if(t.length){var e=t.join("");return t=[],e}}};function r(n,r){t.push("M",n,",",r,e)}function o(e,r){t.push("M",e,",",r),n.point=i}function i(e,n){t.push("L",e,",",n)}function a(){n.point=r}function s(){t.push("Z")}return n}function Sr(e){return"m0,"+e+"a"+e+","+e+" 0 1,1 0,"+-2*e+"a"+e+","+e+" 0 1,1 0,"+2*e+"z"}var kr,Cr={point:Tr,lineStart:Mr,lineEnd:Pr,polygonStart:function(){Cr.lineStart=Or},polygonEnd:function(){Cr.point=Tr,Cr.lineStart=Mr,Cr.lineEnd=Pr}};function Tr(e,t){Tn+=e,Mn+=t,++Pn}function Mr(){var e,t;function n(n,r){var o=n-e,i=r-t,a=Math.sqrt(o*o+i*i);On+=a*(e+n)/2,En+=a*(t+r)/2,Dn+=a,Tr(e=n,t=r)}Cr.point=function(r,o){Cr.point=n,Tr(e=r,t=o)}}function Pr(){Cr.point=Tr}function Or(){var e,t,n,r;function o(e,t){var o=e-n,i=t-r,a=Math.sqrt(o*o+i*i);On+=a*(n+e)/2,En+=a*(r+t)/2,Dn+=a,Rn+=(a=r*e-n*t)*(n+e),In+=a*(r+t),Nn+=3*a,Tr(n=e,r=t)}Cr.point=function(i,a){Cr.point=o,Tr(e=n=i,t=r=a)},Cr.lineEnd=function(){o(e,t)}}function Er(e){var t=4.5,n={point:r,lineStart:function(){n.point=o},lineEnd:a,polygonStart:function(){n.lineEnd=s},polygonEnd:function(){n.lineEnd=a,n.point=r},pointRadius:function(e){return t=e,n},result:z};function r(n,r){e.moveTo(n+t,r),e.arc(n,r,t,0,Ee)}function o(t,r){e.moveTo(t,r),n.point=i}function i(t,n){e.lineTo(t,n)}function a(){n.point=r}function s(){e.closePath()}return n}function Dr(e){var t=.5,n=Math.cos(30*Ie),r=16;function o(e){return(r?a:i)(e)}function i(t){return Ir(t,(function(n,r){n=e(n,r),t.point(n[0],n[1])}))}function a(t){var n,o,i,a,l,c,u,d,p,f,h,m,g={point:v,lineStart:y,lineEnd:x,polygonStart:function(){t.polygonStart(),g.lineStart=w},polygonEnd:function(){t.polygonEnd(),g.lineStart=y}};function v(n,r){n=e(n,r),t.point(n[0],n[1])}function y(){d=NaN,g.point=b,t.lineStart()}function b(n,o){var i=zn([n,o]),a=e(n,o);s(d,p,u,f,h,m,d=a[0],p=a[1],u=n,f=i[0],h=i[1],m=i[2],r,t),t.point(d,p)}function x(){g.point=v,t.lineEnd()}function w(){y(),g.point=A,g.lineEnd=_}function A(e,t){b(n=e,t),o=d,i=p,a=f,l=h,c=m,g.point=b}function _(){s(d,p,u,f,h,m,o,i,n,a,l,c,r,t),g.lineEnd=x,x()}return g}function s(r,o,i,a,l,c,u,d,p,f,h,m,g,v){var y=u-r,b=d-o,x=y*y+b*b;if(x>4*t&&g--){var w=a+f,_=l+h,S=c+m,k=Math.sqrt(w*w+_*_+S*S),C=Math.asin(S/=k),T=A(A(S)-1)<Me||A(i-p)<Me?(i+p)/2:Math.atan2(_,w),M=e(T,C),P=M[0],O=M[1],E=P-r,D=O-o,R=b*E-y*D;(R*R/x>t||A((y*E+b*D)/x-.5)>.3||a*f+l*h+c*m<n)&&(s(r,o,i,a,l,c,P,O,T,w/=k,_/=k,S,g,v),v.point(P,O),s(P,O,T,w,_,S,u,d,p,f,h,m,g,v))}}return o.precision=function(e){return arguments.length?(r=(t=e*e)>0&&16,o):Math.sqrt(t)},o}function Rr(e){this.stream=e}function Ir(e,t){return{point:t,sphere:function(){e.sphere()},lineStart:function(){e.lineStart()},lineEnd:function(){e.lineEnd()},polygonStart:function(){e.polygonStart()},polygonEnd:function(){e.polygonEnd()}}}function Nr(e){return Lr((function(){return e}))()}function Lr(e){var t,n,r,o,a,s,l=Dr((function(e,n){return[(e=t(e,n))[0]*c+o,a-e[1]*c]})),c=150,u=480,d=250,p=0,f=0,h=0,m=0,g=0,v=lr,y=N,b=null,x=null;function w(e){return[(e=r(e[0]*Ie,e[1]*Ie))[0]*c+o,a-e[1]*c]}function _(e){return(e=r.invert((e[0]-o)/c,(a-e[1])/c))&&[e[0]*Ne,e[1]*Ne]}function S(){r=Qn(n=Fr(h,m,g),t);var e=t(p,f);return o=u-e[0]*c,a=d+e[1]*c,k()}function k(){return s&&(s.valid=!1,s=null),w}return w.stream=function(e){return s&&(s.valid=!1),(s=jr(v(n,l(y(e))))).valid=!0,s},w.clipAngle=function(e){return arguments.length?(v=null==e?(b=e,lr):function(e){var t=Math.cos(e),n=t>0,r=A(t)>Me;return or(o,(function(e){var t,s,l,c,u;return{lineStart:function(){c=l=!1,u=1},point:function(d,p){var f,h=[d,p],m=o(d,p),g=n?m?0:a(d,p):m?a(d+(d<0?Oe:-Oe),p):0;if(!t&&(c=l=m)&&e.lineStart(),m!==l&&(f=i(t,h),(qn(t,f)||qn(h,f))&&(h[0]+=Me,h[1]+=Me,m=o(h[0],h[1]))),m!==l)u=0,m?(e.lineStart(),f=i(h,t),e.point(f[0],f[1])):(f=i(t,h),e.point(f[0],f[1]),e.lineEnd()),t=f;else if(r&&t&&n^m){var v;g&s||!(v=i(h,t,!0))||(u=0,n?(e.lineStart(),e.point(v[0][0],v[0][1]),e.point(v[1][0],v[1][1]),e.lineEnd()):(e.point(v[1][0],v[1][1]),e.lineEnd(),e.lineStart(),e.point(v[0][0],v[0][1])))}!m||t&&qn(t,h)||e.point(h[0],h[1]),t=h,l=m,s=g},lineEnd:function(){l&&e.lineEnd(),t=null},clean:function(){return u|(c&&l)<<1}}}),Wr(e,6*Ie),n?[0,-e]:[-Oe,e-Oe]);function o(e,n){return Math.cos(e)*Math.cos(n)>t}function i(e,n,r){var o=[1,0,0],i=Bn(zn(e),zn(n)),a=Fn(i,i),s=i[0],l=a-s*s;if(!l)return!r&&e;var c=t*a/l,u=-t*s/l,d=Bn(o,i),p=Vn(o,c);Hn(p,Vn(i,u));var f=d,h=Fn(p,f),m=Fn(f,f),g=h*h-m*(Fn(p,p)-1);if(!(g<0)){var v=Math.sqrt(g),y=Vn(f,(-h-v)/m);if(Hn(y,p),y=Un(y),!r)return y;var b,x=e[0],w=n[0],_=e[1],S=n[1];w<x&&(b=x,x=w,w=b);var k=w-x,C=A(k-Oe)<Me;if(!C&&S<_&&(b=_,_=S,S=b),C||k<Me?C?_+S>0^y[1]<(A(y[0]-x)<Me?_:S):_<=y[1]&&y[1]<=S:k>Oe^(x<=y[0]&&y[0]<=w)){var T=Vn(f,(-h+v)/m);return Hn(T,p),[y,Un(T)]}}}function a(t,r){var o=n?e:Oe-e,i=0;return t<-o?i|=1:t>o&&(i|=2),r<-o?i|=4:r>o&&(i|=8),i}}((b=+e)*Ie),k()):b},w.clipExtent=function(e){return arguments.length?(x=e,y=e?dr(e[0][0],e[0][1],e[1][0],e[1][1]):N,k()):x},w.scale=function(e){return arguments.length?(c=+e,S()):c},w.translate=function(e){return arguments.length?(u=+e[0],d=+e[1],S()):[u,d]},w.center=function(e){return arguments.length?(p=e[0]%360*Ie,f=e[1]%360*Ie,S()):[p*Ne,f*Ne]},w.rotate=function(e){return arguments.length?(h=e[0]%360*Ie,m=e[1]%360*Ie,g=e.length>2?e[2]%360*Ie:0,S()):[h*Ne,m*Ne,g*Ne]},i.rebind(w,l,"precision"),function(){return t=e.apply(this,arguments),w.invert=t.invert&&_,S()}}function jr(e){return Ir(e,(function(t,n){e.point(t*Ie,n*Ie)}))}function $r(e,t){return[e,t]}function zr(e,t){return[e>Oe?e-Ee:e<-Oe?e+Ee:e,t]}function Fr(e,t,n){return e?t||n?Qn(Hr(e),Vr(t,n)):Hr(e):t||n?Vr(t,n):zr}function Br(e){return function(t,n){return[(t+=e)>Oe?t-Ee:t<-Oe?t+Ee:t,n]}}function Hr(e){var t=Br(e);return t.invert=Br(-e),t}function Vr(e,t){var n=Math.cos(e),r=Math.sin(e),o=Math.cos(t),i=Math.sin(t);function a(e,t){var a=Math.cos(t),s=Math.cos(e)*a,l=Math.sin(e)*a,c=Math.sin(t),u=c*n+s*r;return[Math.atan2(l*o-u*i,s*n-c*r),ze(u*o+l*i)]}return a.invert=function(e,t){var a=Math.cos(t),s=Math.cos(e)*a,l=Math.sin(e)*a,c=Math.sin(t),u=c*o-l*i;return[Math.atan2(l*o+c*i,s*n+u*r),ze(u*n-s*r)]},a}function Wr(e,t){var n=Math.cos(e),r=Math.sin(e);return function(o,i,a,s){var l=a*t;null!=o?(o=Ur(n,o),i=Ur(n,i),(a>0?o<i:o>i)&&(o+=a*Ee)):(o=e+a*Ee,i=e-.5*l);for(var c,u=o;a>0?u>i:u<i;u-=l)s.point((c=Un([n,-r*Math.cos(u),-r*Math.sin(u)]))[0],c[1])}}function Ur(e,t){var n=zn(t);n[0]-=e,Wn(n);var r=$e(-n[1]);return((-n[2]<0?-r:r)+2*Math.PI-Me)%(2*Math.PI)}function qr(e,t,n){var r=i.range(e,t-Me,n).concat(t);return function(e){return r.map((function(t){return[e,t]}))}}function Gr(e,t,n){var r=i.range(e,t-Me,n).concat(t);return function(e){return r.map((function(t){return[t,e]}))}}function Yr(e){return e.source}function Xr(e){return e.target}i.geo.path=function(){var e,t,n,r,o,a=4.5;function s(e){return e&&("function"==typeof a&&r.pointRadius(+a.apply(this,arguments)),o&&o.valid||(o=n(r)),i.geo.stream(e,o)),r.result()}function l(){return o=null,s}return s.area=function(e){return hr=0,i.geo.stream(e,n(xr)),hr},s.centroid=function(e){return Tn=Mn=Pn=On=En=Dn=Rn=In=Nn=0,i.geo.stream(e,n(Cr)),Nn?[Rn/Nn,In/Nn]:Dn?[On/Dn,En/Dn]:Pn?[Tn/Pn,Mn/Pn]:[NaN,NaN]},s.bounds=function(e){return yr=br=-(gr=vr=1/0),i.geo.stream(e,n(Ar)),[[gr,vr],[yr,br]]},s.projection=function(t){return arguments.length?(n=(e=t)?t.stream||(r=t,o=Dr((function(e,t){return r([e*Ne,t*Ne])})),function(e){return jr(o(e))}):N,l()):e;var r,o},s.context=function(e){return arguments.length?(r=null==(t=e)?new _r:new Er(e),"function"!=typeof a&&r.pointRadius(a),l()):t},s.pointRadius=function(e){return arguments.length?(a="function"==typeof e?e:(r.pointRadius(+e),+e),s):a},s.projection(i.geo.albersUsa()).context(null)},i.geo.transform=function(e){return{stream:function(t){var n=new Rr(t);for(var r in e)n[r]=e[r];return n}}},Rr.prototype={point:function(e,t){this.stream.point(e,t)},sphere:function(){this.stream.sphere()},lineStart:function(){this.stream.lineStart()},lineEnd:function(){this.stream.lineEnd()},polygonStart:function(){this.stream.polygonStart()},polygonEnd:function(){this.stream.polygonEnd()}},i.geo.projection=Nr,i.geo.projectionMutator=Lr,(i.geo.equirectangular=function(){return Nr($r)}).raw=$r.invert=$r,i.geo.rotation=function(e){function t(t){return(t=e(t[0]*Ie,t[1]*Ie))[0]*=Ne,t[1]*=Ne,t}return e=Fr(e[0]%360*Ie,e[1]*Ie,e.length>2?e[2]*Ie:0),t.invert=function(t){return(t=e.invert(t[0]*Ie,t[1]*Ie))[0]*=Ne,t[1]*=Ne,t},t},zr.invert=$r,i.geo.circle=function(){var e,t,n=[0,0],r=6;function o(){var e="function"==typeof n?n.apply(this,arguments):n,r=Fr(-e[0]*Ie,-e[1]*Ie,0).invert,o=[];return t(null,null,1,{point:function(e,t){o.push(e=r(e,t)),e[0]*=Ne,e[1]*=Ne}}),{type:"Polygon",coordinates:[o]}}return o.origin=function(e){return arguments.length?(n=e,o):n},o.angle=function(n){return arguments.length?(t=Wr((e=+n)*Ie,r*Ie),o):e},o.precision=function(n){return arguments.length?(t=Wr(e*Ie,(r=+n)*Ie),o):r},o.angle(90)},i.geo.distance=function(e,t){var n,r=(t[0]-e[0])*Ie,o=e[1]*Ie,i=t[1]*Ie,a=Math.sin(r),s=Math.cos(r),l=Math.sin(o),c=Math.cos(o),u=Math.sin(i),d=Math.cos(i);return Math.atan2(Math.sqrt((n=d*a)*n+(n=c*u-l*d*s)*n),l*u+c*d*s)},i.geo.graticule=function(){var e,t,n,r,o,a,s,l,c,u,d,p,f=10,h=f,m=90,g=360,v=2.5;function y(){return{type:"MultiLineString",coordinates:b()}}function b(){return i.range(Math.ceil(r/m)*m,n,m).map(d).concat(i.range(Math.ceil(l/g)*g,s,g).map(p)).concat(i.range(Math.ceil(t/f)*f,e,f).filter((function(e){return A(e%m)>Me})).map(c)).concat(i.range(Math.ceil(a/h)*h,o,h).filter((function(e){return A(e%g)>Me})).map(u))}return y.lines=function(){return b().map((function(e){return{type:"LineString",coordinates:e}}))},y.outline=function(){return{type:"Polygon",coordinates:[d(r).concat(p(s).slice(1),d(n).reverse().slice(1),p(l).reverse().slice(1))]}},y.extent=function(e){return arguments.length?y.majorExtent(e).minorExtent(e):y.minorExtent()},y.majorExtent=function(e){return arguments.length?(r=+e[0][0],n=+e[1][0],l=+e[0][1],s=+e[1][1],r>n&&(e=r,r=n,n=e),l>s&&(e=l,l=s,s=e),y.precision(v)):[[r,l],[n,s]]},y.minorExtent=function(n){return arguments.length?(t=+n[0][0],e=+n[1][0],a=+n[0][1],o=+n[1][1],t>e&&(n=t,t=e,e=n),a>o&&(n=a,a=o,o=n),y.precision(v)):[[t,a],[e,o]]},y.step=function(e){return arguments.length?y.majorStep(e).minorStep(e):y.minorStep()},y.majorStep=function(e){return arguments.length?(m=+e[0],g=+e[1],y):[m,g]},y.minorStep=function(e){return arguments.length?(f=+e[0],h=+e[1],y):[f,h]},y.precision=function(i){return arguments.length?(v=+i,c=qr(a,o,90),u=Gr(t,e,v),d=qr(l,s,90),p=Gr(r,n,v),y):v},y.majorExtent([[-180,-90+Me],[180,90-Me]]).minorExtent([[-180,-80-Me],[180,80+Me]])},i.geo.greatArc=function(){var e,t,n=Yr,r=Xr;function o(){return{type:"LineString",coordinates:[e||n.apply(this,arguments),t||r.apply(this,arguments)]}}return o.distance=function(){return i.geo.distance(e||n.apply(this,arguments),t||r.apply(this,arguments))},o.source=function(t){return arguments.length?(n=t,e="function"==typeof t?null:t,o):n},o.target=function(e){return arguments.length?(r=e,t="function"==typeof e?null:e,o):r},o.precision=function(){return arguments.length?o:0},o},i.geo.interpolate=function(e,t){return n=e[0]*Ie,r=e[1]*Ie,o=t[0]*Ie,i=t[1]*Ie,a=Math.cos(r),s=Math.sin(r),l=Math.cos(i),c=Math.sin(i),u=a*Math.cos(n),d=a*Math.sin(n),p=l*Math.cos(o),f=l*Math.sin(o),h=2*Math.asin(Math.sqrt(Be(i-r)+a*l*Be(o-n))),m=1/Math.sin(h),(g=h?function(e){var t=Math.sin(e*=h)*m,n=Math.sin(h-e)*m,r=n*u+t*p,o=n*d+t*f,i=n*s+t*c;return[Math.atan2(o,r)*Ne,Math.atan2(i,Math.sqrt(r*r+o*o))*Ne]}:function(){return[n*Ne,r*Ne]}).distance=h,g;var n,r,o,i,a,s,l,c,u,d,p,f,h,m,g},i.geo.length=function(e){return kr=0,i.geo.stream(e,Kr),kr};var Kr={sphere:z,point:z,lineStart:function(){var e,t,n;function r(r,o){var i=Math.sin(o*=Ie),a=Math.cos(o),s=A((r*=Ie)-e),l=Math.cos(s);kr+=Math.atan2(Math.sqrt((s=a*Math.sin(s))*s+(s=n*i-t*a*l)*s),t*i+n*a*l),e=r,t=i,n=a}Kr.point=function(o,i){e=o*Ie,t=Math.sin(i*=Ie),n=Math.cos(i),Kr.point=r},Kr.lineEnd=function(){Kr.point=Kr.lineEnd=z}},lineEnd:z,polygonStart:z,polygonEnd:z};function Zr(e,t){function n(t,n){var r=Math.cos(t),o=Math.cos(n),i=e(r*o);return[i*o*Math.sin(t),i*Math.sin(n)]}return n.invert=function(e,n){var r=Math.sqrt(e*e+n*n),o=t(r),i=Math.sin(o),a=Math.cos(o);return[Math.atan2(e*i,r*a),Math.asin(r&&n*i/r)]},n}var Jr=Zr((function(e){return Math.sqrt(2/(1+e))}),(function(e){return 2*Math.asin(e/2)}));(i.geo.azimuthalEqualArea=function(){return Nr(Jr)}).raw=Jr;var Qr=Zr((function(e){var t=Math.acos(e);return t&&t/Math.sin(t)}),N);function eo(e,t){var n=Math.cos(e),r=function(e){return Math.tan(Oe/4+e/2)},o=e===t?Math.sin(e):Math.log(n/Math.cos(t))/Math.log(r(t)/r(e)),i=n*Math.pow(r(e),o)/o;if(!o)return ro;function a(e,t){i>0?t<-Re+Me&&(t=-Re+Me):t>Re-Me&&(t=Re-Me);var n=i/Math.pow(r(t),o);return[n*Math.sin(o*e),i-n*Math.cos(o*e)]}return a.invert=function(e,t){var n=i-t,r=Le(o)*Math.sqrt(e*e+n*n);return[Math.atan2(e,n)/o,2*Math.atan(Math.pow(i/r,1/o))-Re]},a}function to(e,t){var n=Math.cos(e),r=e===t?Math.sin(e):(n-Math.cos(t))/(t-e),o=n/r+e;if(A(r)<Me)return $r;function i(e,t){var n=o-t;return[n*Math.sin(r*e),o-n*Math.cos(r*e)]}return i.invert=function(e,t){var n=o-t;return[Math.atan2(e,n)/r,o-Le(r)*Math.sqrt(e*e+n*n)]},i}(i.geo.azimuthalEquidistant=function(){return Nr(Qr)}).raw=Qr,(i.geo.conicConformal=function(){return pr(eo)}).raw=eo,(i.geo.conicEquidistant=function(){return pr(to)}).raw=to;var no=Zr((function(e){return 1/e}),Math.atan);function ro(e,t){return[e,Math.log(Math.tan(Oe/4+t/2))]}function oo(e){var t,n=Nr(e),r=n.scale,o=n.translate,i=n.clipExtent;return n.scale=function(){var e=r.apply(n,arguments);return e===n?t?n.clipExtent(null):n:e},n.translate=function(){var e=o.apply(n,arguments);return e===n?t?n.clipExtent(null):n:e},n.clipExtent=function(e){var a=i.apply(n,arguments);if(a===n){if(t=null==e){var s=Oe*r(),l=o();i([[l[0]-s,l[1]-s],[l[0]+s,l[1]+s]])}}else t&&(a=null);return a},n.clipExtent(null)}(i.geo.gnomonic=function(){return Nr(no)}).raw=no,ro.invert=function(e,t){return[e,2*Math.atan(Math.exp(t))-Re]},(i.geo.mercator=function(){return oo(ro)}).raw=ro;var io=Zr((function(){return 1}),Math.asin);(i.geo.orthographic=function(){return Nr(io)}).raw=io;var ao=Zr((function(e){return 1/(1+e)}),(function(e){return 2*Math.atan(e)}));function so(e,t){return[Math.log(Math.tan(Oe/4+t/2)),-e]}function lo(e){return e[0]}function co(e){return e[1]}function uo(e){for(var t=e.length,n=[0,1],r=2,o=2;o<t;o++){for(;r>1&&je(e[n[r-2]],e[n[r-1]],e[o])<=0;)--r;n[r++]=o}return n.slice(0,r)}function po(e,t){return e[0]-t[0]||e[1]-t[1]}(i.geo.stereographic=function(){return Nr(ao)}).raw=ao,so.invert=function(e,t){return[-t,2*Math.atan(Math.exp(e))-Re]},(i.geo.transverseMercator=function(){var e=oo(so),t=e.center,n=e.rotate;return e.center=function(e){return e?t([-e[1],e[0]]):[(e=t())[1],-e[0]]},e.rotate=function(e){return e?n([e[0],e[1],e.length>2?e[2]+90:90]):[(e=n())[0],e[1],e[2]-90]},n([0,0,90])}).raw=so,i.geom={},i.geom.hull=function(e){var t=lo,n=co;if(arguments.length)return r(e);function r(e){if(e.length<3)return[];var r,o=wt(t),i=wt(n),a=e.length,s=[],l=[];for(r=0;r<a;r++)s.push([+o.call(this,e[r],r),+i.call(this,e[r],r),r]);for(s.sort(po),r=0;r<a;r++)l.push([s[r][0],-s[r][1]]);var c=uo(s),u=uo(l),d=u[0]===c[0],p=u[u.length-1]===c[c.length-1],f=[];for(r=c.length-1;r>=0;--r)f.push(e[s[c[r]][2]]);for(r=+d;r<u.length-p;++r)f.push(e[s[u[r]][2]]);return f}return r.x=function(e){return arguments.length?(t=e,r):t},r.y=function(e){return arguments.length?(n=e,r):n},r},i.geom.polygon=function(e){return q(e,fo),e};var fo=i.geom.polygon.prototype=[];function ho(e,t,n){return(n[0]-t[0])*(e[1]-t[1])<(n[1]-t[1])*(e[0]-t[0])}function mo(e,t,n,r){var o=e[0],i=n[0],a=t[0]-o,s=r[0]-i,l=e[1],c=n[1],u=t[1]-l,d=r[1]-c,p=(s*(l-c)-d*(o-i))/(d*a-s*u);return[o+p*a,l+p*u]}function go(e){var t=e[0],n=e[e.length-1];return!(t[0]-n[0]||t[1]-n[1])}fo.area=function(){for(var e,t=-1,n=this.length,r=this[n-1],o=0;++t<n;)e=r,r=this[t],o+=e[1]*r[0]-e[0]*r[1];return.5*o},fo.centroid=function(e){var t,n,r=-1,o=this.length,i=0,a=0,s=this[o-1];for(arguments.length||(e=-1/(6*this.area()));++r<o;)t=s,s=this[r],n=t[0]*s[1]-s[0]*t[1],i+=(t[0]+s[0])*n,a+=(t[1]+s[1])*n;return[i*e,a*e]},fo.clip=function(e){for(var t,n,r,o,i,a,s=go(e),l=-1,c=this.length-go(this),u=this[c-1];++l<c;){for(t=e.slice(),e.length=0,o=this[l],i=t[(r=t.length-s)-1],n=-1;++n<r;)ho(a=t[n],u,o)?(ho(i,u,o)||e.push(mo(i,a,u,o)),e.push(a)):ho(i,u,o)&&e.push(mo(i,a,u,o)),i=a;s&&e.push(e[0]),u=o}return e};var vo,yo,bo,xo,wo,Ao=[],_o=[];function So(){Vo(this),this.edge=this.site=this.circle=null}function ko(e){var t=Ao.pop()||new So;return t.site=e,t}function Co(e){No(e),bo.remove(e),Ao.push(e),Vo(e)}function To(e){var t=e.circle,n=t.x,r=t.cy,o={x:n,y:r},i=e.P,a=e.N,s=[e];Co(e);for(var l=i;l.circle&&A(n-l.circle.x)<Me&&A(r-l.circle.cy)<Me;)i=l.P,s.unshift(l),Co(l),l=i;s.unshift(l),No(l);for(var c=a;c.circle&&A(n-c.circle.x)<Me&&A(r-c.circle.cy)<Me;)a=c.N,s.push(c),Co(c),c=a;s.push(c),No(c);var u,d=s.length;for(u=1;u<d;++u)c=s[u],l=s[u-1],Fo(c.edge,l.site,c.site,o);l=s[0],(c=s[d-1]).edge=$o(l.site,c.site,null,o),Io(l),Io(c)}function Mo(e){for(var t,n,r,o,i=e.x,a=e.y,s=bo._;s;)if((r=Po(s,a)-i)>Me)s=s.L;else{if(!((o=i-Oo(s,a))>Me)){r>-Me?(t=s.P,n=s):o>-Me?(t=s,n=s.N):t=n=s;break}if(!s.R){t=s;break}s=s.R}var l=ko(e);if(bo.insert(t,l),t||n){if(t===n)return No(t),n=ko(t.site),bo.insert(l,n),l.edge=n.edge=$o(t.site,l.site),Io(t),void Io(n);if(n){No(t),No(n);var c=t.site,u=c.x,d=c.y,p=e.x-u,f=e.y-d,h=n.site,m=h.x-u,g=h.y-d,v=2*(p*g-f*m),y=p*p+f*f,b=m*m+g*g,x={x:(g*y-f*b)/v+u,y:(p*b-m*y)/v+d};Fo(n.edge,c,h,x),l.edge=$o(c,e,null,x),n.edge=$o(e,h,null,x),Io(t),Io(n)}else l.edge=$o(t.site,l.site)}}function Po(e,t){var n=e.site,r=n.x,o=n.y,i=o-t;if(!i)return r;var a=e.P;if(!a)return-1/0;var s=(n=a.site).x,l=n.y,c=l-t;if(!c)return s;var u=s-r,d=1/i-1/c,p=u/c;return d?(-p+Math.sqrt(p*p-2*d*(u*u/(-2*c)-l+c/2+o-i/2)))/d+r:(r+s)/2}function Oo(e,t){var n=e.N;if(n)return Po(n,t);var r=e.site;return r.y===t?r.x:1/0}function Eo(e){this.site=e,this.edges=[]}function Do(e,t){return t.angle-e.angle}function Ro(){Vo(this),this.x=this.y=this.arc=this.site=this.cy=null}function Io(e){var t=e.P,n=e.N;if(t&&n){var r=t.site,o=e.site,i=n.site;if(r!==i){var a=o.x,s=o.y,l=r.x-a,c=r.y-s,u=i.x-a,d=2*(l*(g=i.y-s)-c*u);if(!(d>=-Pe)){var p=l*l+c*c,f=u*u+g*g,h=(g*p-c*f)/d,m=(l*f-u*p)/d,g=m+s,v=_o.pop()||new Ro;v.arc=e,v.site=o,v.x=h+a,v.y=g+Math.sqrt(h*h+m*m),v.cy=g,e.circle=v;for(var y=null,b=wo._;b;)if(v.y<b.y||v.y===b.y&&v.x<=b.x){if(!b.L){y=b.P;break}b=b.L}else{if(!b.R){y=b;break}b=b.R}wo.insert(y,v),y||(xo=v)}}}}function No(e){var t=e.circle;t&&(t.P||(xo=t.N),wo.remove(t),_o.push(t),Vo(t),e.circle=null)}function Lo(e,t){var n=e.b;if(n)return!0;var r,o,i=e.a,a=t[0][0],s=t[1][0],l=t[0][1],c=t[1][1],u=e.l,d=e.r,p=u.x,f=u.y,h=d.x,m=d.y,g=(p+h)/2,v=(f+m)/2;if(m===f){if(g<a||g>=s)return;if(p>h){if(i){if(i.y>=c)return}else i={x:g,y:l};n={x:g,y:c}}else{if(i){if(i.y<l)return}else i={x:g,y:c};n={x:g,y:l}}}else if(o=v-(r=(p-h)/(m-f))*g,r<-1||r>1)if(p>h){if(i){if(i.y>=c)return}else i={x:(l-o)/r,y:l};n={x:(c-o)/r,y:c}}else{if(i){if(i.y<l)return}else i={x:(c-o)/r,y:c};n={x:(l-o)/r,y:l}}else if(f<m){if(i){if(i.x>=s)return}else i={x:a,y:r*a+o};n={x:s,y:r*s+o}}else{if(i){if(i.x<a)return}else i={x:s,y:r*s+o};n={x:a,y:r*a+o}}return e.a=i,e.b=n,!0}function jo(e,t){this.l=e,this.r=t,this.a=this.b=null}function $o(e,t,n,r){var o=new jo(e,t);return vo.push(o),n&&Fo(o,e,t,n),r&&Fo(o,t,e,r),yo[e.i].edges.push(new Bo(o,e,t)),yo[t.i].edges.push(new Bo(o,t,e)),o}function zo(e,t,n){var r=new jo(e,null);return r.a=t,r.b=n,vo.push(r),r}function Fo(e,t,n,r){e.a||e.b?e.l===n?e.b=r:e.a=r:(e.a=r,e.l=t,e.r=n)}function Bo(e,t,n){var r=e.a,o=e.b;this.edge=e,this.site=t,this.angle=n?Math.atan2(n.y-t.y,n.x-t.x):e.l===t?Math.atan2(o.x-r.x,r.y-o.y):Math.atan2(r.x-o.x,o.y-r.y)}function Ho(){this._=null}function Vo(e){e.U=e.C=e.L=e.R=e.P=e.N=null}function Wo(e,t){var n=t,r=t.R,o=n.U;o?o.L===n?o.L=r:o.R=r:e._=r,r.U=o,n.U=r,n.R=r.L,n.R&&(n.R.U=n),r.L=n}function Uo(e,t){var n=t,r=t.L,o=n.U;o?o.L===n?o.L=r:o.R=r:e._=r,r.U=o,n.U=r,n.L=r.R,n.L&&(n.L.U=n),r.R=n}function qo(e){for(;e.L;)e=e.L;return e}function Go(e,t){var n,r,o,i=e.sort(Yo).pop();for(vo=[],yo=new Array(e.length),bo=new Ho,wo=new Ho;;)if(o=xo,i&&(!o||i.y<o.y||i.y===o.y&&i.x<o.x))i.x===n&&i.y===r||(yo[i.i]=new Eo(i),Mo(i),n=i.x,r=i.y),i=e.pop();else{if(!o)break;To(o.arc)}t&&(function(e){for(var t,n=vo,r=cr(e[0][0],e[0][1],e[1][0],e[1][1]),o=n.length;o--;)(!Lo(t=n[o],e)||!r(t)||A(t.a.x-t.b.x)<Me&&A(t.a.y-t.b.y)<Me)&&(t.a=t.b=null,n.splice(o,1))}(t),function(e){for(var t,n,r,o,i,a,s,l,c,u,d=e[0][0],p=e[1][0],f=e[0][1],h=e[1][1],m=yo,g=m.length;g--;)if((i=m[g])&&i.prepare())for(l=(s=i.edges).length,a=0;a<l;)r=(u=s[a].end()).x,o=u.y,t=(c=s[++a%l].start()).x,n=c.y,(A(r-t)>Me||A(o-n)>Me)&&(s.splice(a,0,new Bo(zo(i.site,u,A(r-d)<Me&&h-o>Me?{x:d,y:A(t-d)<Me?n:h}:A(o-h)<Me&&p-r>Me?{x:A(n-h)<Me?t:p,y:h}:A(r-p)<Me&&o-f>Me?{x:p,y:A(t-p)<Me?n:f}:A(o-f)<Me&&r-d>Me?{x:A(n-f)<Me?t:d,y:f}:null),i.site,null)),++l)}(t));var a={cells:yo,edges:vo};return bo=wo=vo=yo=null,a}function Yo(e,t){return t.y-e.y||t.x-e.x}Eo.prototype.prepare=function(){for(var e,t=this.edges,n=t.length;n--;)(e=t[n].edge).b&&e.a||t.splice(n,1);return t.sort(Do),t.length},Bo.prototype={start:function(){return this.edge.l===this.site?this.edge.a:this.edge.b},end:function(){return this.edge.l===this.site?this.edge.b:this.edge.a}},Ho.prototype={insert:function(e,t){var n,r,o;if(e){if(t.P=e,t.N=e.N,e.N&&(e.N.P=t),e.N=t,e.R){for(e=e.R;e.L;)e=e.L;e.L=t}else e.R=t;n=e}else this._?(e=qo(this._),t.P=null,t.N=e,e.P=e.L=t,n=e):(t.P=t.N=null,this._=t,n=null);for(t.L=t.R=null,t.U=n,t.C=!0,e=t;n&&n.C;)n===(r=n.U).L?(o=r.R)&&o.C?(n.C=o.C=!1,r.C=!0,e=r):(e===n.R&&(Wo(this,n),n=(e=n).U),n.C=!1,r.C=!0,Uo(this,r)):(o=r.L)&&o.C?(n.C=o.C=!1,r.C=!0,e=r):(e===n.L&&(Uo(this,n),n=(e=n).U),n.C=!1,r.C=!0,Wo(this,r)),n=e.U;this._.C=!1},remove:function(e){e.N&&(e.N.P=e.P),e.P&&(e.P.N=e.N),e.N=e.P=null;var t,n,r,o=e.U,i=e.L,a=e.R;if(n=i?a?qo(a):i:a,o?o.L===e?o.L=n:o.R=n:this._=n,i&&a?(r=n.C,n.C=e.C,n.L=i,i.U=n,n!==a?(o=n.U,n.U=e.U,e=n.R,o.L=e,n.R=a,a.U=n):(n.U=o,o=n,e=n.R)):(r=e.C,e=n),e&&(e.U=o),!r)if(e&&e.C)e.C=!1;else{do{if(e===this._)break;if(e===o.L){if((t=o.R).C&&(t.C=!1,o.C=!0,Wo(this,o),t=o.R),t.L&&t.L.C||t.R&&t.R.C){t.R&&t.R.C||(t.L.C=!1,t.C=!0,Uo(this,t),t=o.R),t.C=o.C,o.C=t.R.C=!1,Wo(this,o),e=this._;break}}else if((t=o.L).C&&(t.C=!1,o.C=!0,Uo(this,o),t=o.L),t.L&&t.L.C||t.R&&t.R.C){t.L&&t.L.C||(t.R.C=!1,t.C=!0,Wo(this,t),t=o.L),t.C=o.C,o.C=t.L.C=!1,Uo(this,o),e=this._;break}t.C=!0,e=o,o=o.U}while(!e.C);e&&(e.C=!1)}}},i.geom.voronoi=function(e){var t=lo,n=co,r=t,o=n,i=Xo;if(e)return a(e);function a(e){var t=new Array(e.length),n=i[0][0],r=i[0][1],o=i[1][0],a=i[1][1];return Go(s(e),i).cells.forEach((function(i,s){var l=i.edges,c=i.site;(t[s]=l.length?l.map((function(e){var t=e.start();return[t.x,t.y]})):c.x>=n&&c.x<=o&&c.y>=r&&c.y<=a?[[n,a],[o,a],[o,r],[n,r]]:[]).point=e[s]})),t}function s(e){return e.map((function(e,t){return{x:Math.round(r(e,t)/Me)*Me,y:Math.round(o(e,t)/Me)*Me,i:t}}))}return a.links=function(e){return Go(s(e)).edges.filter((function(e){return e.l&&e.r})).map((function(t){return{source:e[t.l.i],target:e[t.r.i]}}))},a.triangles=function(e){var t=[];return Go(s(e)).cells.forEach((function(n,r){for(var o,i,a,s,l=n.site,c=n.edges.sort(Do),u=-1,d=c.length,p=c[d-1].edge,f=p.l===l?p.r:p.l;++u<d;)o=f,f=(p=c[u].edge).l===l?p.r:p.l,r<o.i&&r<f.i&&(a=o,s=f,((i=l).x-s.x)*(a.y-i.y)-(i.x-a.x)*(s.y-i.y)<0)&&t.push([e[r],e[o.i],e[f.i]])})),t},a.x=function(e){return arguments.length?(r=wt(t=e),a):t},a.y=function(e){return arguments.length?(o=wt(n=e),a):n},a.clipExtent=function(e){return arguments.length?(i=null==e?Xo:e,a):i===Xo?null:i},a.size=function(e){return arguments.length?a.clipExtent(e&&[[0,0],e]):i===Xo?null:i&&i[1]},a};var Xo=[[-1e6,-1e6],[1e6,1e6]];function Ko(e){return e.x}function Zo(e){return e.y}function Jo(e,t,n,r,o,i){if(!e(t,n,r,o,i)){var a=.5*(n+o),s=.5*(r+i),l=t.nodes;l[0]&&Jo(e,l[0],n,r,a,s),l[1]&&Jo(e,l[1],a,r,o,s),l[2]&&Jo(e,l[2],n,s,a,i),l[3]&&Jo(e,l[3],a,s,o,i)}}function Qo(e,t){e=i.rgb(e),t=i.rgb(t);var n=e.r,r=e.g,o=e.b,a=t.r-n,s=t.g-r,l=t.b-o;return function(e){return"#"+ht(Math.round(n+a*e))+ht(Math.round(r+s*e))+ht(Math.round(o+l*e))}}function ei(e,t){var n,r={},o={};for(n in e)n in t?r[n]=ii(e[n],t[n]):o[n]=e[n];for(n in t)n in e||(o[n]=t[n]);return function(e){for(n in r)o[n]=r[n](e);return o}}function ti(e,t){return e=+e,t=+t,function(n){return e*(1-n)+t*n}}function ni(e,t){var n,r,o,i=ri.lastIndex=oi.lastIndex=0,a=-1,s=[],l=[];for(e+="",t+="";(n=ri.exec(e))&&(r=oi.exec(t));)(o=r.index)>i&&(o=t.slice(i,o),s[a]?s[a]+=o:s[++a]=o),(n=n[0])===(r=r[0])?s[a]?s[a]+=r:s[++a]=r:(s[++a]=null,l.push({i:a,x:ti(n,r)})),i=oi.lastIndex;return i<t.length&&(o=t.slice(i),s[a]?s[a]+=o:s[++a]=o),s.length<2?l[0]?(t=l[0].x,function(e){return t(e)+""}):function(){return t}:(t=l.length,function(e){for(var n,r=0;r<t;++r)s[(n=l[r]).i]=n.x(e);return s.join("")})}i.geom.delaunay=function(e){return i.geom.voronoi().triangles(e)},i.geom.quadtree=function(e,t,n,r,o){var i,a=lo,s=co;if(i=arguments.length)return a=Ko,s=Zo,3===i&&(o=n,r=t,n=t=0),l(e);function l(e){var l,c,u,d,p,f,h,m,g,v=wt(a),y=wt(s);if(null!=t)f=t,h=n,m=r,g=o;else if(m=g=-(f=h=1/0),c=[],u=[],p=e.length,i)for(d=0;d<p;++d)(l=e[d]).x<f&&(f=l.x),l.y<h&&(h=l.y),l.x>m&&(m=l.x),l.y>g&&(g=l.y),c.push(l.x),u.push(l.y);else for(d=0;d<p;++d){var b=+v(l=e[d],d),x=+y(l,d);b<f&&(f=b),x<h&&(h=x),b>m&&(m=b),x>g&&(g=x),c.push(b),u.push(x)}var w=m-f,_=g-h;function S(e,t,n,r,o,i,a,s){if(!isNaN(n)&&!isNaN(r))if(e.leaf){var l=e.x,c=e.y;if(null!=l)if(A(l-n)+A(c-r)<.01)k(e,t,n,r,o,i,a,s);else{var u=e.point;e.x=e.y=e.point=null,k(e,u,l,c,o,i,a,s),k(e,t,n,r,o,i,a,s)}else e.x=n,e.y=r,e.point=t}else k(e,t,n,r,o,i,a,s)}function k(e,t,n,r,o,i,a,s){var l=.5*(o+a),c=.5*(i+s),u=n>=l,d=r>=c,p=d<<1|u;e.leaf=!1,u?o=l:a=l,d?i=c:s=c,S(e=e.nodes[p]||(e.nodes[p]={leaf:!0,nodes:[],point:null,x:null,y:null}),t,n,r,o,i,a,s)}w>_?g=h+w:m=f+_;var C={leaf:!0,nodes:[],point:null,x:null,y:null,add:function(e){S(C,e,+v(e,++d),+y(e,d),f,h,m,g)}};if(C.visit=function(e){Jo(e,C,f,h,m,g)},C.find=function(e){return function(e,t,n,r,o,i,a){var s,l=1/0;return function e(c,u,d,p,f){if(!(u>i||d>a||p<r||f<o)){if(h=c.point){var h,m=t-c.x,g=n-c.y,v=m*m+g*g;if(v<l){var y=Math.sqrt(l=v);r=t-y,o=n-y,i=t+y,a=n+y,s=h}}for(var b=c.nodes,x=.5*(u+p),w=.5*(d+f),A=(n>=w)<<1|t>=x,_=A+4;A<_;++A)if(c=b[3&A])switch(3&A){case 0:e(c,u,d,x,w);break;case 1:e(c,x,d,p,w);break;case 2:e(c,u,w,x,f);break;case 3:e(c,x,w,p,f)}}}(e,r,o,i,a),s}(C,e[0],e[1],f,h,m,g)},d=-1,null==t){for(;++d<p;)S(C,e[d],c[d],u[d],f,h,m,g);--d}else e.forEach(C.add);return c=u=e=l=null,C}return l.x=function(e){return arguments.length?(a=e,l):a},l.y=function(e){return arguments.length?(s=e,l):s},l.extent=function(e){return arguments.length?(null==e?t=n=r=o=null:(t=+e[0][0],n=+e[0][1],r=+e[1][0],o=+e[1][1]),l):null==t?null:[[t,n],[r,o]]},l.size=function(e){return arguments.length?(null==e?t=n=r=o=null:(t=n=0,r=+e[0],o=+e[1]),l):null==t?null:[r-t,o-n]},l},i.interpolateRgb=Qo,i.interpolateObject=ei,i.interpolateNumber=ti,i.interpolateString=ni;var ri=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,oi=new RegExp(ri.source,"g");function ii(e,t){for(var n,r=i.interpolators.length;--r>=0&&!(n=i.interpolators[r](e,t)););return n}function ai(e,t){var n,r=[],o=[],i=e.length,a=t.length,s=Math.min(e.length,t.length);for(n=0;n<s;++n)r.push(ii(e[n],t[n]));for(;n<i;++n)o[n]=e[n];for(;n<a;++n)o[n]=t[n];return function(e){for(n=0;n<s;++n)o[n]=r[n](e);return o}}i.interpolate=ii,i.interpolators=[function(e,t){var n=typeof t;return("string"===n?xt.has(t.toLowerCase())||/^(#|rgb\(|hsl\()/i.test(t)?Qo:ni:t instanceof qe?Qo:Array.isArray(t)?ai:"object"===n&&isNaN(t)?ei:ti)(e,t)}],i.interpolateArray=ai;var si=function(){return N},li=i.map({linear:si,poly:function(e){return function(t){return Math.pow(t,e)}},quad:function(){return pi},cubic:function(){return fi},sin:function(){return mi},exp:function(){return gi},circle:function(){return vi},elastic:function(e,t){var n;arguments.length<2&&(t=.45);arguments.length?n=t/Ee*Math.asin(1/e):(e=1,n=t/4);return function(r){return 1+e*Math.pow(2,-10*r)*Math.sin((r-n)*Ee/t)}},back:function(e){e||(e=1.70158);return function(t){return t*t*((e+1)*t-e)}},bounce:function(){return yi}}),ci=i.map({in:N,out:ui,"in-out":di,"out-in":function(e){return di(ui(e))}});function ui(e){return function(t){return 1-e(1-t)}}function di(e){return function(t){return.5*(t<.5?e(2*t):2-e(2-2*t))}}function pi(e){return e*e}function fi(e){return e*e*e}function hi(e){if(e<=0)return 0;if(e>=1)return 1;var t=e*e,n=t*e;return 4*(e<.5?n:3*(e-t)+n-.75)}function mi(e){return 1-Math.cos(e*Re)}function gi(e){return Math.pow(2,10*(e-1))}function vi(e){return 1-Math.sqrt(1-e*e)}function yi(e){return e<1/2.75?7.5625*e*e:e<2/2.75?7.5625*(e-=1.5/2.75)*e+.75:e<2.5/2.75?7.5625*(e-=2.25/2.75)*e+.9375:7.5625*(e-=2.625/2.75)*e+.984375}function bi(e,t){return t-=e,function(n){return Math.round(e+t*n)}}function xi(e){var t,n,r,o=[e.a,e.b],i=[e.c,e.d],a=Ai(o),s=wi(o,i),l=Ai(((t=i)[0]+=(r=-s)*(n=o)[0],t[1]+=r*n[1],t))||0;o[0]*i[1]<i[0]*o[1]&&(o[0]*=-1,o[1]*=-1,a*=-1,s*=-1),this.rotate=(a?Math.atan2(o[1],o[0]):Math.atan2(-i[0],i[1]))*Ne,this.translate=[e.e,e.f],this.scale=[a,l],this.skew=l?Math.atan2(s,l)*Ne:0}function wi(e,t){return e[0]*t[0]+e[1]*t[1]}function Ai(e){var t=Math.sqrt(wi(e,e));return t&&(e[0]/=t,e[1]/=t),t}i.ease=function(e){var t,n=e.indexOf("-"),r=n>=0?e.slice(0,n):e,o=n>=0?e.slice(n+1):"in";return r=li.get(r)||si,o=ci.get(o)||N,t=o(r.apply(null,a.call(arguments,1))),function(e){return e<=0?0:e>=1?1:t(e)}},i.interpolateHcl=function(e,t){e=i.hcl(e),t=i.hcl(t);var n=e.h,r=e.c,o=e.l,a=t.h-n,s=t.c-r,l=t.l-o;isNaN(s)&&(s=0,r=isNaN(r)?t.c:r);isNaN(a)?(a=0,n=isNaN(n)?t.h:n):a>180?a-=360:a<-180&&(a+=360);return function(e){return Je(n+a*e,r+s*e,o+l*e)+""}},i.interpolateHsl=function(e,t){e=i.hsl(e),t=i.hsl(t);var n=e.h,r=e.s,o=e.l,a=t.h-n,s=t.s-r,l=t.l-o;isNaN(s)&&(s=0,r=isNaN(r)?t.s:r);isNaN(a)?(a=0,n=isNaN(n)?t.h:n):a>180?a-=360:a<-180&&(a+=360);return function(e){return Xe(n+a*e,r+s*e,o+l*e)+""}},i.interpolateLab=function(e,t){e=i.lab(e),t=i.lab(t);var n=e.l,r=e.a,o=e.b,a=t.l-n,s=t.a-r,l=t.b-o;return function(e){return it(n+a*e,r+s*e,o+l*e)+""}},i.interpolateRound=bi,i.transform=function(e){var t=l.createElementNS(i.ns.prefix.svg,"g");return(i.transform=function(e){if(null!=e){t.setAttribute("transform",e);var n=t.transform.baseVal.consolidate()}return new xi(n?n.matrix:_i)})(e)},xi.prototype.toString=function(){return"translate("+this.translate+")rotate("+this.rotate+")skewX("+this.skew+")scale("+this.scale+")"};var _i={a:1,b:0,c:0,d:1,e:0,f:0};function Si(e){return e.length?e.pop()+",":""}function ki(e,t){var n=[],r=[];return e=i.transform(e),t=i.transform(t),function(e,t,n,r){if(e[0]!==t[0]||e[1]!==t[1]){var o=n.push("translate(",null,",",null,")");r.push({i:o-4,x:ti(e[0],t[0])},{i:o-2,x:ti(e[1],t[1])})}else(t[0]||t[1])&&n.push("translate("+t+")")}(e.translate,t.translate,n,r),function(e,t,n,r){e!==t?(e-t>180?t+=360:t-e>180&&(e+=360),r.push({i:n.push(Si(n)+"rotate(",null,")")-2,x:ti(e,t)})):t&&n.push(Si(n)+"rotate("+t+")")}(e.rotate,t.rotate,n,r),function(e,t,n,r){e!==t?r.push({i:n.push(Si(n)+"skewX(",null,")")-2,x:ti(e,t)}):t&&n.push(Si(n)+"skewX("+t+")")}(e.skew,t.skew,n,r),function(e,t,n,r){if(e[0]!==t[0]||e[1]!==t[1]){var o=n.push(Si(n)+"scale(",null,",",null,")");r.push({i:o-4,x:ti(e[0],t[0])},{i:o-2,x:ti(e[1],t[1])})}else 1===t[0]&&1===t[1]||n.push(Si(n)+"scale("+t+")")}(e.scale,t.scale,n,r),e=t=null,function(e){for(var t,o=-1,i=r.length;++o<i;)n[(t=r[o]).i]=t.x(e);return n.join("")}}function Ci(e,t){return t=(t-=e=+e)||1/t,function(n){return(n-e)/t}}function Ti(e,t){return t=(t-=e=+e)||1/t,function(n){return Math.max(0,Math.min(1,(n-e)/t))}}function Mi(e){for(var t=e.source,n=e.target,r=function(e,t){if(e===t)return e;var n=Pi(e),r=Pi(t),o=n.pop(),i=r.pop(),a=null;for(;o===i;)a=o,o=n.pop(),i=r.pop();return a}(t,n),o=[t];t!==r;)t=t.parent,o.push(t);for(var i=o.length;n!==r;)o.splice(i,0,n),n=n.parent;return o}function Pi(e){for(var t=[],n=e.parent;null!=n;)t.push(e),e=n,n=n.parent;return t.push(e),t}function Oi(e){e.fixed|=2}function Ei(e){e.fixed&=-7}function Di(e){e.fixed|=4,e.px=e.x,e.py=e.y}function Ri(e){e.fixed&=-5}function Ii(e,t,n){var r=0,o=0;if(e.charge=0,!e.leaf)for(var i,a=e.nodes,s=a.length,l=-1;++l<s;)null!=(i=a[l])&&(Ii(i,t,n),e.charge+=i.charge,r+=i.charge*i.cx,o+=i.charge*i.cy);if(e.point){e.leaf||(e.point.x+=Math.random()-.5,e.point.y+=Math.random()-.5);var c=t*n[e.point.index];e.charge+=e.pointCharge=c,r+=c*e.point.x,o+=c*e.point.y}e.cx=r/e.charge,e.cy=o/e.charge}i.interpolateTransform=ki,i.layout={},i.layout.bundle=function(){return function(e){for(var t=[],n=-1,r=e.length;++n<r;)t.push(Mi(e[n]));return t}},i.layout.chord=function(){var e,t,n,r,o,a,s,l={},c=0;function u(){var l,u,p,f,h,m={},g=[],v=i.range(r),y=[];for(e=[],t=[],l=0,f=-1;++f<r;){for(u=0,h=-1;++h<r;)u+=n[f][h];g.push(u),y.push(i.range(r)),l+=u}for(o&&v.sort((function(e,t){return o(g[e],g[t])})),a&&y.forEach((function(e,t){e.sort((function(e,r){return a(n[t][e],n[t][r])}))})),l=(Ee-c*r)/l,u=0,f=-1;++f<r;){for(p=u,h=-1;++h<r;){var b=v[f],x=y[b][h],w=n[b][x],A=u,_=u+=w*l;m[b+"-"+x]={index:b,subindex:x,startAngle:A,endAngle:_,value:w}}t[b]={index:b,startAngle:p,endAngle:u,value:g[b]},u+=c}for(f=-1;++f<r;)for(h=f-1;++h<r;){var S=m[f+"-"+h],k=m[h+"-"+f];(S.value||k.value)&&e.push(S.value<k.value?{source:k,target:S}:{source:S,target:k})}s&&d()}function d(){e.sort((function(e,t){return s((e.source.value+e.target.value)/2,(t.source.value+t.target.value)/2)}))}return l.matrix=function(o){return arguments.length?(r=(n=o)&&n.length,e=t=null,l):n},l.padding=function(n){return arguments.length?(c=n,e=t=null,l):c},l.sortGroups=function(n){return arguments.length?(o=n,e=t=null,l):o},l.sortSubgroups=function(t){return arguments.length?(a=t,e=null,l):a},l.sortChords=function(t){return arguments.length?(s=t,e&&d(),l):s},l.chords=function(){return e||u(),e},l.groups=function(){return t||u(),t},l},i.layout.force=function(){var e,t,n,r,o,a,s={},l=i.dispatch("start","tick","end"),c=[1,1],u=.9,d=Ni,p=Li,f=-30,h=ji,m=.1,g=.64,v=[],y=[];function b(e){return function(t,n,r,o){if(t.point!==e){var i=t.cx-e.x,a=t.cy-e.y,s=o-n,l=i*i+a*a;if(s*s/g<l){if(l<h){var c=t.charge/l;e.px-=i*c,e.py-=a*c}return!0}if(t.point&&l&&l<h){c=t.pointCharge/l;e.px-=i*c,e.py-=a*c}}return!t.charge}}function x(e){e.px=i.event.x,e.py=i.event.y,s.resume()}return s.tick=function(){if((n*=.99)<.005)return e=null,l.end({type:"end",alpha:n=0}),!0;var t,s,d,p,h,g,x,w,A,_=v.length,S=y.length;for(s=0;s<S;++s)p=(d=y[s]).source,(g=(w=(h=d.target).x-p.x)*w+(A=h.y-p.y)*A)&&(w*=g=n*o[s]*((g=Math.sqrt(g))-r[s])/g,A*=g,h.x-=w*(x=p.weight+h.weight?p.weight/(p.weight+h.weight):.5),h.y-=A*x,p.x+=w*(x=1-x),p.y+=A*x);if((x=n*m)&&(w=c[0]/2,A=c[1]/2,s=-1,x))for(;++s<_;)(d=v[s]).x+=(w-d.x)*x,d.y+=(A-d.y)*x;if(f)for(Ii(t=i.geom.quadtree(v),n,a),s=-1;++s<_;)(d=v[s]).fixed||t.visit(b(d));for(s=-1;++s<_;)(d=v[s]).fixed?(d.x=d.px,d.y=d.py):(d.x-=(d.px-(d.px=d.x))*u,d.y-=(d.py-(d.py=d.y))*u);l.tick({type:"tick",alpha:n})},s.nodes=function(e){return arguments.length?(v=e,s):v},s.links=function(e){return arguments.length?(y=e,s):y},s.size=function(e){return arguments.length?(c=e,s):c},s.linkDistance=function(e){return arguments.length?(d="function"==typeof e?e:+e,s):d},s.distance=s.linkDistance,s.linkStrength=function(e){return arguments.length?(p="function"==typeof e?e:+e,s):p},s.friction=function(e){return arguments.length?(u=+e,s):u},s.charge=function(e){return arguments.length?(f="function"==typeof e?e:+e,s):f},s.chargeDistance=function(e){return arguments.length?(h=e*e,s):Math.sqrt(h)},s.gravity=function(e){return arguments.length?(m=+e,s):m},s.theta=function(e){return arguments.length?(g=e*e,s):Math.sqrt(g)},s.alpha=function(t){return arguments.length?(t=+t,n?t>0?n=t:(e.c=null,e.t=NaN,e=null,l.end({type:"end",alpha:n=0})):t>0&&(l.start({type:"start",alpha:n=t}),e=Pt(s.tick)),s):n},s.start=function(){var e,t,n,i=v.length,l=y.length,u=c[0],h=c[1];for(e=0;e<i;++e)(n=v[e]).index=e,n.weight=0;for(e=0;e<l;++e)"number"==typeof(n=y[e]).source&&(n.source=v[n.source]),"number"==typeof n.target&&(n.target=v[n.target]),++n.source.weight,++n.target.weight;for(e=0;e<i;++e)n=v[e],isNaN(n.x)&&(n.x=m("x",u)),isNaN(n.y)&&(n.y=m("y",h)),isNaN(n.px)&&(n.px=n.x),isNaN(n.py)&&(n.py=n.y);if(r=[],"function"==typeof d)for(e=0;e<l;++e)r[e]=+d.call(this,y[e],e);else for(e=0;e<l;++e)r[e]=d;if(o=[],"function"==typeof p)for(e=0;e<l;++e)o[e]=+p.call(this,y[e],e);else for(e=0;e<l;++e)o[e]=p;if(a=[],"function"==typeof f)for(e=0;e<i;++e)a[e]=+f.call(this,v[e],e);else for(e=0;e<i;++e)a[e]=f;function m(n,r){if(!t){for(t=new Array(i),c=0;c<i;++c)t[c]=[];for(c=0;c<l;++c){var o=y[c];t[o.source.index].push(o.target),t[o.target.index].push(o.source)}}for(var a,s=t[e],c=-1,u=s.length;++c<u;)if(!isNaN(a=s[c][n]))return a;return Math.random()*r}return s.resume()},s.resume=function(){return s.alpha(.1)},s.stop=function(){return s.alpha(0)},s.drag=function(){if(t||(t=i.behavior.drag().origin(N).on("dragstart.force",Oi).on("drag.force",x).on("dragend.force",Ei)),!arguments.length)return t;this.on("mouseover.force",Di).on("mouseout.force",Ri).call(t)},i.rebind(s,l,"on")};var Ni=20,Li=1,ji=1/0;function $i(e,t){return i.rebind(e,t,"sort","children","value"),e.nodes=e,e.links=Wi,e}function zi(e,t){for(var n=[e];null!=(e=n.pop());)if(t(e),(o=e.children)&&(r=o.length))for(var r,o;--r>=0;)n.push(o[r])}function Fi(e,t){for(var n=[e],r=[];null!=(e=n.pop());)if(r.push(e),(i=e.children)&&(o=i.length))for(var o,i,a=-1;++a<o;)n.push(i[a]);for(;null!=(e=r.pop());)t(e)}function Bi(e){return e.children}function Hi(e){return e.value}function Vi(e,t){return t.value-e.value}function Wi(e){return i.merge(e.map((function(e){return(e.children||[]).map((function(t){return{source:e,target:t}}))})))}i.layout.hierarchy=function(){var e=Vi,t=Bi,n=Hi;function r(o){var i,a=[o],s=[];for(o.depth=0;null!=(i=a.pop());)if(s.push(i),(c=t.call(r,i,i.depth))&&(l=c.length)){for(var l,c,u;--l>=0;)a.push(u=c[l]),u.parent=i,u.depth=i.depth+1;n&&(i.value=0),i.children=c}else n&&(i.value=+n.call(r,i,i.depth)||0),delete i.children;return Fi(o,(function(t){var r,o;e&&(r=t.children)&&r.sort(e),n&&(o=t.parent)&&(o.value+=t.value)})),s}return r.sort=function(t){return arguments.length?(e=t,r):e},r.children=function(e){return arguments.length?(t=e,r):t},r.value=function(e){return arguments.length?(n=e,r):n},r.revalue=function(e){return n&&(zi(e,(function(e){e.children&&(e.value=0)})),Fi(e,(function(e){var t;e.children||(e.value=+n.call(r,e,e.depth)||0),(t=e.parent)&&(t.value+=e.value)}))),e},r},i.layout.partition=function(){var e=i.layout.hierarchy(),t=[1,1];function n(e,t,r,o){var i=e.children;if(e.x=t,e.y=e.depth*o,e.dx=r,e.dy=o,i&&(a=i.length)){var a,s,l,c=-1;for(r=e.value?r/e.value:0;++c<a;)n(s=i[c],t,l=s.value*r,o),t+=l}}function r(e){var t=e.children,n=0;if(t&&(o=t.length))for(var o,i=-1;++i<o;)n=Math.max(n,r(t[i]));return 1+n}function o(o,i){var a=e.call(this,o,i);return n(a[0],0,t[0],t[1]/r(a[0])),a}return o.size=function(e){return arguments.length?(t=e,o):t},$i(o,e)},i.layout.pie=function(){var e=Number,t=Ui,n=0,r=Ee,o=0;function a(s){var l,c=s.length,u=s.map((function(t,n){return+e.call(a,t,n)})),d=+("function"==typeof n?n.apply(this,arguments):n),p=("function"==typeof r?r.apply(this,arguments):r)-d,f=Math.min(Math.abs(p)/c,+("function"==typeof o?o.apply(this,arguments):o)),h=f*(p<0?-1:1),m=i.sum(u),g=m?(p-c*h)/m:0,v=i.range(c),y=[];return null!=t&&v.sort(t===Ui?function(e,t){return u[t]-u[e]}:function(e,n){return t(s[e],s[n])}),v.forEach((function(e){y[e]={data:s[e],value:l=u[e],startAngle:d,endAngle:d+=l*g+h,padAngle:f}})),y}return a.value=function(t){return arguments.length?(e=t,a):e},a.sort=function(e){return arguments.length?(t=e,a):t},a.startAngle=function(e){return arguments.length?(n=e,a):n},a.endAngle=function(e){return arguments.length?(r=e,a):r},a.padAngle=function(e){return arguments.length?(o=e,a):o},a};var Ui={};function qi(e){return e.x}function Gi(e){return e.y}function Yi(e,t,n){e.y0=t,e.y=n}i.layout.stack=function(){var e=N,t=Zi,n=Ji,r=Yi,o=qi,a=Gi;function s(l,c){if(!(f=l.length))return l;var u=l.map((function(t,n){return e.call(s,t,n)})),d=u.map((function(e){return e.map((function(e,t){return[o.call(s,e,t),a.call(s,e,t)]}))})),p=t.call(s,d,c);u=i.permute(u,p),d=i.permute(d,p);var f,h,m,g,v=n.call(s,d,c),y=u[0].length;for(m=0;m<y;++m)for(r.call(s,u[0][m],g=v[m],d[0][m][1]),h=1;h<f;++h)r.call(s,u[h][m],g+=d[h-1][m][1],d[h][m][1]);return l}return s.values=function(t){return arguments.length?(e=t,s):e},s.order=function(e){return arguments.length?(t="function"==typeof e?e:Xi.get(e)||Zi,s):t},s.offset=function(e){return arguments.length?(n="function"==typeof e?e:Ki.get(e)||Ji,s):n},s.x=function(e){return arguments.length?(o=e,s):o},s.y=function(e){return arguments.length?(a=e,s):a},s.out=function(e){return arguments.length?(r=e,s):r},s};var Xi=i.map({"inside-out":function(e){var t,n,r=e.length,o=e.map(Qi),a=e.map(ea),s=i.range(r).sort((function(e,t){return o[e]-o[t]})),l=0,c=0,u=[],d=[];for(t=0;t<r;++t)n=s[t],l<c?(l+=a[n],u.push(n)):(c+=a[n],d.push(n));return d.reverse().concat(u)},reverse:function(e){return i.range(e.length).reverse()},default:Zi}),Ki=i.map({silhouette:function(e){var t,n,r,o=e.length,i=e[0].length,a=[],s=0,l=[];for(n=0;n<i;++n){for(t=0,r=0;t<o;t++)r+=e[t][n][1];r>s&&(s=r),a.push(r)}for(n=0;n<i;++n)l[n]=(s-a[n])/2;return l},wiggle:function(e){var t,n,r,o,i,a,s,l,c,u=e.length,d=e[0],p=d.length,f=[];for(f[0]=l=c=0,n=1;n<p;++n){for(t=0,o=0;t<u;++t)o+=e[t][n][1];for(t=0,i=0,s=d[n][0]-d[n-1][0];t<u;++t){for(r=0,a=(e[t][n][1]-e[t][n-1][1])/(2*s);r<t;++r)a+=(e[r][n][1]-e[r][n-1][1])/s;i+=a*e[t][n][1]}f[n]=l-=o?i/o*s:0,l<c&&(c=l)}for(n=0;n<p;++n)f[n]-=c;return f},expand:function(e){var t,n,r,o=e.length,i=e[0].length,a=1/o,s=[];for(n=0;n<i;++n){for(t=0,r=0;t<o;t++)r+=e[t][n][1];if(r)for(t=0;t<o;t++)e[t][n][1]/=r;else for(t=0;t<o;t++)e[t][n][1]=a}for(n=0;n<i;++n)s[n]=0;return s},zero:Ji});function Zi(e){return i.range(e.length)}function Ji(e){for(var t=-1,n=e[0].length,r=[];++t<n;)r[t]=0;return r}function Qi(e){for(var t,n=1,r=0,o=e[0][1],i=e.length;n<i;++n)(t=e[n][1])>o&&(r=n,o=t);return r}function ea(e){return e.reduce(ta,0)}function ta(e,t){return e+t[1]}function na(e,t){return ra(e,Math.ceil(Math.log(t.length)/Math.LN2+1))}function ra(e,t){for(var n=-1,r=+e[0],o=(e[1]-r)/t,i=[];++n<=t;)i[n]=o*n+r;return i}function oa(e){return[i.min(e),i.max(e)]}function ia(e,t){return e.value-t.value}function aa(e,t){var n=e._pack_next;e._pack_next=t,t._pack_prev=e,t._pack_next=n,n._pack_prev=t}function sa(e,t){e._pack_next=t,t._pack_prev=e}function la(e,t){var n=t.x-e.x,r=t.y-e.y,o=e.r+t.r;return.999*o*o>n*n+r*r}function ca(e){if((t=e.children)&&(l=t.length)){var t,n,r,o,i,a,s,l,c=1/0,u=-1/0,d=1/0,p=-1/0;if(t.forEach(ua),(n=t[0]).x=-n.r,n.y=0,b(n),l>1&&((r=t[1]).x=r.r,r.y=0,b(r),l>2))for(fa(n,r,o=t[2]),b(o),aa(n,o),n._pack_prev=o,aa(o,r),r=n._pack_next,i=3;i<l;i++){fa(n,r,o=t[i]);var f=0,h=1,m=1;for(a=r._pack_next;a!==r;a=a._pack_next,h++)if(la(a,o)){f=1;break}if(1==f)for(s=n._pack_prev;s!==a._pack_prev&&!la(s,o);s=s._pack_prev,m++);f?(h<m||h==m&&r.r<n.r?sa(n,r=a):sa(n=s,r),i--):(aa(n,o),r=o,b(o))}var g=(c+u)/2,v=(d+p)/2,y=0;for(i=0;i<l;i++)(o=t[i]).x-=g,o.y-=v,y=Math.max(y,o.r+Math.sqrt(o.x*o.x+o.y*o.y));e.r=y,t.forEach(da)}function b(e){c=Math.min(e.x-e.r,c),u=Math.max(e.x+e.r,u),d=Math.min(e.y-e.r,d),p=Math.max(e.y+e.r,p)}}function ua(e){e._pack_next=e._pack_prev=e}function da(e){delete e._pack_next,delete e._pack_prev}function pa(e,t,n,r){var o=e.children;if(e.x=t+=r*e.x,e.y=n+=r*e.y,e.r*=r,o)for(var i=-1,a=o.length;++i<a;)pa(o[i],t,n,r)}function fa(e,t,n){var r=e.r+n.r,o=t.x-e.x,i=t.y-e.y;if(r&&(o||i)){var a=t.r+n.r,s=o*o+i*i,l=.5+((r*=r)-(a*=a))/(2*s),c=Math.sqrt(Math.max(0,2*a*(r+s)-(r-=s)*r-a*a))/(2*s);n.x=e.x+l*o+c*i,n.y=e.y+l*i-c*o}else n.x=e.x+r,n.y=e.y}function ha(e,t){return e.parent==t.parent?1:2}function ma(e){var t=e.children;return t.length?t[0]:e.t}function ga(e){var t,n=e.children;return(t=n.length)?n[t-1]:e.t}function va(e,t,n){var r=n/(t.i-e.i);t.c-=r,t.s+=n,e.c+=r,t.z+=n,t.m+=n}function ya(e,t,n){return e.a.parent===t.parent?e.a:n}function ba(e){var t=e.children;return t&&t.length?ba(t[0]):e}function xa(e){var t,n=e.children;return n&&(t=n.length)?xa(n[t-1]):e}function wa(e){return{x:e.x,y:e.y,dx:e.dx,dy:e.dy}}function Aa(e,t){var n=e.x+t[3],r=e.y+t[0],o=e.dx-t[1]-t[3],i=e.dy-t[0]-t[2];return o<0&&(n+=o/2,o=0),i<0&&(r+=i/2,i=0),{x:n,y:r,dx:o,dy:i}}function _a(e){var t=e[0],n=e[e.length-1];return t<n?[t,n]:[n,t]}function Sa(e){return e.rangeExtent?e.rangeExtent():_a(e.range())}function ka(e,t,n,r){var o=n(e[0],e[1]),i=r(t[0],t[1]);return function(e){return i(o(e))}}function Ca(e,t){var n,r=0,o=e.length-1,i=e[r],a=e[o];return a<i&&(n=r,r=o,o=n,n=i,i=a,a=n),e[r]=t.floor(i),e[o]=t.ceil(a),e}function Ta(e){return e?{floor:function(t){return Math.floor(t/e)*e},ceil:function(t){return Math.ceil(t/e)*e}}:Ma}i.layout.histogram=function(){var e=!0,t=Number,n=oa,r=na;function o(o,a){for(var s,l,c=[],u=o.map(t,this),d=n.call(this,u,a),p=r.call(this,d,u,a),f=(a=-1,u.length),h=p.length-1,m=e?1:1/f;++a<h;)(s=c[a]=[]).dx=p[a+1]-(s.x=p[a]),s.y=0;if(h>0)for(a=-1;++a<f;)(l=u[a])>=d[0]&&l<=d[1]&&((s=c[i.bisect(p,l,1,h)-1]).y+=m,s.push(o[a]));return c}return o.value=function(e){return arguments.length?(t=e,o):t},o.range=function(e){return arguments.length?(n=wt(e),o):n},o.bins=function(e){return arguments.length?(r="number"==typeof e?function(t){return ra(t,e)}:wt(e),o):r},o.frequency=function(t){return arguments.length?(e=!!t,o):e},o},i.layout.pack=function(){var e,t=i.layout.hierarchy().sort(ia),n=0,r=[1,1];function o(o,i){var a=t.call(this,o,i),s=a[0],l=r[0],c=r[1],u=null==e?Math.sqrt:"function"==typeof e?e:function(){return e};if(s.x=s.y=0,Fi(s,(function(e){e.r=+u(e.value)})),Fi(s,ca),n){var d=n*(e?1:Math.max(2*s.r/l,2*s.r/c))/2;Fi(s,(function(e){e.r+=d})),Fi(s,ca),Fi(s,(function(e){e.r-=d}))}return pa(s,l/2,c/2,e?1:1/Math.max(2*s.r/l,2*s.r/c)),a}return o.size=function(e){return arguments.length?(r=e,o):r},o.radius=function(t){return arguments.length?(e=null==t||"function"==typeof t?t:+t,o):e},o.padding=function(e){return arguments.length?(n=+e,o):n},$i(o,t)},i.layout.tree=function(){var e=i.layout.hierarchy().sort(null).value(null),t=ha,n=[1,1],r=null;function o(o,i){var c=e.call(this,o,i),u=c[0],d=function(e){var t,n={A:null,children:[e]},r=[n];for(;null!=(t=r.pop());)for(var o,i=t.children,a=0,s=i.length;a<s;++a)r.push((i[a]=o={_:i[a],parent:t,children:(o=i[a].children)&&o.slice()||[],A:null,a:null,z:0,m:0,c:0,s:0,t:null,i:a}).a=o);return n.children[0]}(u);if(Fi(d,a),d.parent.m=-d.z,zi(d,s),r)zi(u,l);else{var p=u,f=u,h=u;zi(u,(function(e){e.x<p.x&&(p=e),e.x>f.x&&(f=e),e.depth>h.depth&&(h=e)}));var m=t(p,f)/2-p.x,g=n[0]/(f.x+t(f,p)/2+m),v=n[1]/(h.depth||1);zi(u,(function(e){e.x=(e.x+m)*g,e.y=e.depth*v}))}return c}function a(e){var n=e.children,r=e.parent.children,o=e.i?r[e.i-1]:null;if(n.length){!function(e){var t,n=0,r=0,o=e.children,i=o.length;for(;--i>=0;)(t=o[i]).z+=n,t.m+=n,n+=t.s+(r+=t.c)}(e);var i=(n[0].z+n[n.length-1].z)/2;o?(e.z=o.z+t(e._,o._),e.m=e.z-i):e.z=i}else o&&(e.z=o.z+t(e._,o._));e.parent.A=function(e,n,r){if(n){for(var o,i=e,a=e,s=n,l=i.parent.children[0],c=i.m,u=a.m,d=s.m,p=l.m;s=ga(s),i=ma(i),s&&i;)l=ma(l),(a=ga(a)).a=e,(o=s.z+d-i.z-c+t(s._,i._))>0&&(va(ya(s,e,r),e,o),c+=o,u+=o),d+=s.m,c+=i.m,p+=l.m,u+=a.m;s&&!ga(a)&&(a.t=s,a.m+=d-u),i&&!ma(l)&&(l.t=i,l.m+=c-p,r=e)}return r}(e,o,e.parent.A||r[0])}function s(e){e._.x=e.z+e.parent.m,e.m+=e.parent.m}function l(e){e.x*=n[0],e.y=e.depth*n[1]}return o.separation=function(e){return arguments.length?(t=e,o):t},o.size=function(e){return arguments.length?(r=null==(n=e)?l:null,o):r?null:n},o.nodeSize=function(e){return arguments.length?(r=null==(n=e)?null:l,o):r?n:null},$i(o,e)},i.layout.cluster=function(){var e=i.layout.hierarchy().sort(null).value(null),t=ha,n=[1,1],r=!1;function o(o,a){var s,l=e.call(this,o,a),c=l[0],u=0;Fi(c,(function(e){var n=e.children;n&&n.length?(e.x=function(e){return e.reduce((function(e,t){return e+t.x}),0)/e.length}(n),e.y=function(e){return 1+i.max(e,(function(e){return e.y}))}(n)):(e.x=s?u+=t(e,s):0,e.y=0,s=e)}));var d=ba(c),p=xa(c),f=d.x-t(d,p)/2,h=p.x+t(p,d)/2;return Fi(c,r?function(e){e.x=(e.x-c.x)*n[0],e.y=(c.y-e.y)*n[1]}:function(e){e.x=(e.x-f)/(h-f)*n[0],e.y=(1-(c.y?e.y/c.y:1))*n[1]}),l}return o.separation=function(e){return arguments.length?(t=e,o):t},o.size=function(e){return arguments.length?(r=null==(n=e),o):r?null:n},o.nodeSize=function(e){return arguments.length?(r=null!=(n=e),o):r?n:null},$i(o,e)},i.layout.treemap=function(){var e,t=i.layout.hierarchy(),n=Math.round,r=[1,1],o=null,a=wa,s=!1,l="squarify",c=.5*(1+Math.sqrt(5));function u(e,t){for(var n,r,o=-1,i=e.length;++o<i;)r=(n=e[o]).value*(t<0?0:t),n.area=isNaN(r)||r<=0?0:r}function d(e){var t=e.children;if(t&&t.length){var n,r,o,i=a(e),s=[],c=t.slice(),p=1/0,m="slice"===l?i.dx:"dice"===l?i.dy:"slice-dice"===l?1&e.depth?i.dy:i.dx:Math.min(i.dx,i.dy);for(u(c,i.dx*i.dy/e.value),s.area=0;(o=c.length)>0;)s.push(n=c[o-1]),s.area+=n.area,"squarify"!==l||(r=f(s,m))<=p?(c.pop(),p=r):(s.area-=s.pop().area,h(s,m,i,!1),m=Math.min(i.dx,i.dy),s.length=s.area=0,p=1/0);s.length&&(h(s,m,i,!0),s.length=s.area=0),t.forEach(d)}}function p(e){var t=e.children;if(t&&t.length){var n,r=a(e),o=t.slice(),i=[];for(u(o,r.dx*r.dy/e.value),i.area=0;n=o.pop();)i.push(n),i.area+=n.area,null!=n.z&&(h(i,n.z?r.dx:r.dy,r,!o.length),i.length=i.area=0);t.forEach(p)}}function f(e,t){for(var n,r=e.area,o=0,i=1/0,a=-1,s=e.length;++a<s;)(n=e[a].area)&&(n<i&&(i=n),n>o&&(o=n));return t*=t,(r*=r)?Math.max(t*o*c/r,r/(t*i*c)):1/0}function h(e,t,r,o){var i,a=-1,s=e.length,l=r.x,c=r.y,u=t?n(e.area/t):0;if(t==r.dx){for((o||u>r.dy)&&(u=r.dy);++a<s;)(i=e[a]).x=l,i.y=c,i.dy=u,l+=i.dx=Math.min(r.x+r.dx-l,u?n(i.area/u):0);i.z=!0,i.dx+=r.x+r.dx-l,r.y+=u,r.dy-=u}else{for((o||u>r.dx)&&(u=r.dx);++a<s;)(i=e[a]).x=l,i.y=c,i.dx=u,c+=i.dy=Math.min(r.y+r.dy-c,u?n(i.area/u):0);i.z=!1,i.dy+=r.y+r.dy-c,r.x+=u,r.dx-=u}}function m(n){var o=e||t(n),i=o[0];return i.x=i.y=0,i.value?(i.dx=r[0],i.dy=r[1]):i.dx=i.dy=0,e&&t.revalue(i),u([i],i.dx*i.dy/i.value),(e?p:d)(i),s&&(e=o),o}return m.size=function(e){return arguments.length?(r=e,m):r},m.padding=function(e){if(!arguments.length)return o;function t(t){return Aa(t,e)}var n;return a=null==(o=e)?wa:"function"==(n=typeof e)?function(t){var n=e.call(m,t,t.depth);return null==n?wa(t):Aa(t,"number"==typeof n?[n,n,n,n]:n)}:"number"===n?(e=[e,e,e,e],t):t,m},m.round=function(e){return arguments.length?(n=e?Math.round:Number,m):n!=Number},m.sticky=function(t){return arguments.length?(s=t,e=null,m):s},m.ratio=function(e){return arguments.length?(c=e,m):c},m.mode=function(e){return arguments.length?(l=e+"",m):l},$i(m,t)},i.random={normal:function(e,t){var n=arguments.length;return n<2&&(t=1),n<1&&(e=0),function(){var n,r,o;do{o=(n=2*Math.random()-1)*n+(r=2*Math.random()-1)*r}while(!o||o>1);return e+t*n*Math.sqrt(-2*Math.log(o)/o)}},logNormal:function(){var e=i.random.normal.apply(i,arguments);return function(){return Math.exp(e())}},bates:function(e){var t=i.random.irwinHall(e);return function(){return t()/e}},irwinHall:function(e){return function(){for(var t=0,n=0;n<e;n++)t+=Math.random();return t}}},i.scale={};var Ma={floor:N,ceil:N};function Pa(e,t,n,r){var o=[],a=[],s=0,l=Math.min(e.length,t.length)-1;for(e[l]<e[0]&&(e=e.slice().reverse(),t=t.slice().reverse());++s<=l;)o.push(n(e[s-1],e[s])),a.push(r(t[s-1],t[s]));return function(t){var n=i.bisect(e,t,1,l)-1;return a[n](o[n](t))}}function Oa(e,t,n,r){var o,i;function a(){var a=Math.min(e.length,t.length)>2?Pa:ka,l=r?Ti:Ci;return o=a(e,t,l,n),i=a(t,e,l,ii),s}function s(e){return o(e)}return s.invert=function(e){return i(e)},s.domain=function(t){return arguments.length?(e=t.map(Number),a()):e},s.range=function(e){return arguments.length?(t=e,a()):t},s.rangeRound=function(e){return s.range(e).interpolate(bi)},s.clamp=function(e){return arguments.length?(r=e,a()):r},s.interpolate=function(e){return arguments.length?(n=e,a()):n},s.ticks=function(t){return Ia(e,t)},s.tickFormat=function(t,n){return Na(e,t,n)},s.nice=function(t){return Da(e,t),a()},s.copy=function(){return Oa(e,t,n,r)},a()}function Ea(e,t){return i.rebind(e,t,"range","rangeRound","interpolate","clamp")}function Da(e,t){return Ca(e,Ta(Ra(e,t)[2])),Ca(e,Ta(Ra(e,t)[2])),e}function Ra(e,t){null==t&&(t=10);var n=_a(e),r=n[1]-n[0],o=Math.pow(10,Math.floor(Math.log(r/t)/Math.LN10)),i=t/r*o;return i<=.15?o*=10:i<=.35?o*=5:i<=.75&&(o*=2),n[0]=Math.ceil(n[0]/o)*o,n[1]=Math.floor(n[1]/o)*o+.5*o,n[2]=o,n}function Ia(e,t){return i.range.apply(i,Ra(e,t))}function Na(e,t,n){var r=Ra(e,t);if(n){var o=Lt.exec(n);if(o.shift(),"s"===o[8]){var a=i.formatPrefix(Math.max(A(r[0]),A(r[1])));return o[7]||(o[7]="."+ja(a.scale(r[2]))),o[8]="f",n=i.format(o.join("")),function(e){return n(a.scale(e))+a.symbol}}o[7]||(o[7]="."+function(e,t){var n=ja(t[2]);return e in La?Math.abs(n-ja(Math.max(A(t[0]),A(t[1]))))+ +("e"!==e):n-2*("%"===e)}(o[8],r)),n=o.join("")}else n=",."+ja(r[2])+"f";return i.format(n)}i.scale.linear=function(){return Oa([0,1],[0,1],ii,!1)};var La={s:1,g:1,p:1,r:1,e:1};function ja(e){return-Math.floor(Math.log(e)/Math.LN10+.01)}function $a(e,t,n,r){function o(e){return(n?Math.log(e<0?0:e):-Math.log(e>0?0:-e))/Math.log(t)}function a(e){return n?Math.pow(t,e):-Math.pow(t,-e)}function s(t){return e(o(t))}return s.invert=function(t){return a(e.invert(t))},s.domain=function(t){return arguments.length?(n=t[0]>=0,e.domain((r=t.map(Number)).map(o)),s):r},s.base=function(n){return arguments.length?(t=+n,e.domain(r.map(o)),s):t},s.nice=function(){var t=Ca(r.map(o),n?Math:Fa);return e.domain(t),r=t.map(a),s},s.ticks=function(){var e=_a(r),i=[],s=e[0],l=e[1],c=Math.floor(o(s)),u=Math.ceil(o(l)),d=t%1?2:t;if(isFinite(u-c)){if(n){for(;c<u;c++)for(var p=1;p<d;p++)i.push(a(c)*p);i.push(a(c))}else for(i.push(a(c));c++<u;)for(p=d-1;p>0;p--)i.push(a(c)*p);for(c=0;i[c]<s;c++);for(u=i.length;i[u-1]>l;u--);i=i.slice(c,u)}return i},s.tickFormat=function(e,n){if(!arguments.length)return za;arguments.length<2?n=za:"function"!=typeof n&&(n=i.format(n));var r=Math.max(1,t*e/s.ticks().length);return function(e){var i=e/a(Math.round(o(e)));return i*t<t-.5&&(i*=t),i<=r?n(e):""}},s.copy=function(){return $a(e.copy(),t,n,r)},Ea(s,e)}i.scale.log=function(){return $a(i.scale.linear().domain([0,1]),10,!0,[1,10])};var za=i.format(".0e"),Fa={floor:function(e){return-Math.ceil(-e)},ceil:function(e){return-Math.floor(-e)}};function Ba(e,t,n){var r=Ha(t),o=Ha(1/t);function i(t){return e(r(t))}return i.invert=function(t){return o(e.invert(t))},i.domain=function(t){return arguments.length?(e.domain((n=t.map(Number)).map(r)),i):n},i.ticks=function(e){return Ia(n,e)},i.tickFormat=function(e,t){return Na(n,e,t)},i.nice=function(e){return i.domain(Da(n,e))},i.exponent=function(a){return arguments.length?(r=Ha(t=a),o=Ha(1/t),e.domain(n.map(r)),i):t},i.copy=function(){return Ba(e.copy(),t,n)},Ea(i,e)}function Ha(e){return function(t){return t<0?-Math.pow(-t,e):Math.pow(t,e)}}function Va(e,t){var n,r,o;function a(o){return r[((n.get(o)||("range"===t.t?n.set(o,e.push(o)):NaN))-1)%r.length]}function s(t,n){return i.range(e.length).map((function(e){return t+n*e}))}return a.domain=function(r){if(!arguments.length)return e;e=[],n=new S;for(var o,i=-1,s=r.length;++i<s;)n.has(o=r[i])||n.set(o,e.push(o));return a[t.t].apply(a,t.a)},a.range=function(e){return arguments.length?(r=e,o=0,t={t:"range",a:arguments},a):r},a.rangePoints=function(n,i){arguments.length<2&&(i=0);var l=n[0],c=n[1],u=e.length<2?(l=(l+c)/2,0):(c-l)/(e.length-1+i);return r=s(l+u*i/2,u),o=0,t={t:"rangePoints",a:arguments},a},a.rangeRoundPoints=function(n,i){arguments.length<2&&(i=0);var l=n[0],c=n[1],u=e.length<2?(l=c=Math.round((l+c)/2),0):(c-l)/(e.length-1+i)|0;return r=s(l+Math.round(u*i/2+(c-l-(e.length-1+i)*u)/2),u),o=0,t={t:"rangeRoundPoints",a:arguments},a},a.rangeBands=function(n,i,l){arguments.length<2&&(i=0),arguments.length<3&&(l=i);var c=n[1]<n[0],u=n[c-0],d=(n[1-c]-u)/(e.length-i+2*l);return r=s(u+d*l,d),c&&r.reverse(),o=d*(1-i),t={t:"rangeBands",a:arguments},a},a.rangeRoundBands=function(n,i,l){arguments.length<2&&(i=0),arguments.length<3&&(l=i);var c=n[1]<n[0],u=n[c-0],d=n[1-c],p=Math.floor((d-u)/(e.length-i+2*l));return r=s(u+Math.round((d-u-(e.length-i)*p)/2),p),c&&r.reverse(),o=Math.round(p*(1-i)),t={t:"rangeRoundBands",a:arguments},a},a.rangeBand=function(){return o},a.rangeExtent=function(){return _a(t.a[0])},a.copy=function(){return Va(e,t)},a.domain(e)}i.scale.pow=function(){return Ba(i.scale.linear(),1,[0,1])},i.scale.sqrt=function(){return i.scale.pow().exponent(.5)},i.scale.ordinal=function(){return Va([],{t:"range",a:[[]]})},i.scale.category10=function(){return i.scale.ordinal().range(Wa)},i.scale.category20=function(){return i.scale.ordinal().range(Ua)},i.scale.category20b=function(){return i.scale.ordinal().range(qa)},i.scale.category20c=function(){return i.scale.ordinal().range(Ga)};var Wa=[2062260,16744206,2924588,14034728,9725885,9197131,14907330,8355711,12369186,1556175].map(pt),Ua=[2062260,11454440,16744206,16759672,2924588,10018698,14034728,16750742,9725885,12955861,9197131,12885140,14907330,16234194,8355711,13092807,12369186,14408589,1556175,10410725].map(pt),qa=[3750777,5395619,7040719,10264286,6519097,9216594,11915115,13556636,9202993,12426809,15186514,15190932,8666169,11356490,14049643,15177372,8077683,10834324,13528509,14589654].map(pt),Ga=[3244733,7057110,10406625,13032431,15095053,16616764,16625259,16634018,3253076,7652470,10607003,13101504,7695281,10394312,12369372,14342891,6513507,9868950,12434877,14277081].map(pt);function Ya(e,t){var n;function r(){var r=0,a=t.length;for(n=[];++r<a;)n[r-1]=i.quantile(e,r/a);return o}function o(e){if(!isNaN(e=+e))return t[i.bisect(n,e)]}return o.domain=function(t){return arguments.length?(e=t.map(v).filter(y).sort(g),r()):e},o.range=function(e){return arguments.length?(t=e,r()):t},o.quantiles=function(){return n},o.invertExtent=function(r){return(r=t.indexOf(r))<0?[NaN,NaN]:[r>0?n[r-1]:e[0],r<n.length?n[r]:e[e.length-1]]},o.copy=function(){return Ya(e,t)},r()}function Xa(e,t,n){var r,o;function i(t){return n[Math.max(0,Math.min(o,Math.floor(r*(t-e))))]}function a(){return r=n.length/(t-e),o=n.length-1,i}return i.domain=function(n){return arguments.length?(e=+n[0],t=+n[n.length-1],a()):[e,t]},i.range=function(e){return arguments.length?(n=e,a()):n},i.invertExtent=function(t){return[t=(t=n.indexOf(t))<0?NaN:t/r+e,t+1/r]},i.copy=function(){return Xa(e,t,n)},a()}function Ka(e,t){function n(n){if(n<=n)return t[i.bisect(e,n)]}return n.domain=function(t){return arguments.length?(e=t,n):e},n.range=function(e){return arguments.length?(t=e,n):t},n.invertExtent=function(n){return n=t.indexOf(n),[e[n-1],e[n]]},n.copy=function(){return Ka(e,t)},n}function Za(e){function t(e){return+e}return t.invert=t,t.domain=t.range=function(n){return arguments.length?(e=n.map(t),t):e},t.ticks=function(t){return Ia(e,t)},t.tickFormat=function(t,n){return Na(e,t,n)},t.copy=function(){return Za(e)},t}function Ja(){return 0}i.scale.quantile=function(){return Ya([],[])},i.scale.quantize=function(){return Xa(0,1,[0,1])},i.scale.threshold=function(){return Ka([.5],[0,1])},i.scale.identity=function(){return Za([0,1])},i.svg={},i.svg.arc=function(){var e=es,t=ts,n=Ja,r=Qa,o=ns,i=rs,a=os;function s(){var s=Math.max(0,+e.apply(this,arguments)),c=Math.max(0,+t.apply(this,arguments)),u=o.apply(this,arguments)-Re,d=i.apply(this,arguments)-Re,p=Math.abs(d-u),f=u>d?0:1;if(c<s&&(h=c,c=s,s=h),p>=De)return l(c,f)+(s?l(s,1-f):"")+"Z";var h,m,g,v,y,b,x,w,A,_,S,k,C=0,T=0,M=[];if((v=(+a.apply(this,arguments)||0)/2)&&(g=r===Qa?Math.sqrt(s*s+c*c):+r.apply(this,arguments),f||(T*=-1),c&&(T=ze(g/c*Math.sin(v))),s&&(C=ze(g/s*Math.sin(v)))),c){y=c*Math.cos(u+T),b=c*Math.sin(u+T),x=c*Math.cos(d-T),w=c*Math.sin(d-T);var P=Math.abs(d-u-2*T)<=Oe?0:1;if(T&&is(y,b,x,w)===f^P){var O=(u+d)/2;y=c*Math.cos(O),b=c*Math.sin(O),x=w=null}}else y=b=0;if(s){A=s*Math.cos(d-C),_=s*Math.sin(d-C),S=s*Math.cos(u+C),k=s*Math.sin(u+C);var E=Math.abs(u-d+2*C)<=Oe?0:1;if(C&&is(A,_,S,k)===1-f^E){var D=(u+d)/2;A=s*Math.cos(D),_=s*Math.sin(D),S=k=null}}else A=_=0;if(p>Me&&(h=Math.min(Math.abs(c-s)/2,+n.apply(this,arguments)))>.001){m=s<c^f?0:1;var R=h,I=h;if(p<Oe){var N=null==S?[A,_]:null==x?[y,b]:mo([y,b],[S,k],[x,w],[A,_]),L=y-N[0],j=b-N[1],$=x-N[0],z=w-N[1],F=1/Math.sin(Math.acos((L*$+j*z)/(Math.sqrt(L*L+j*j)*Math.sqrt($*$+z*z)))/2),B=Math.sqrt(N[0]*N[0]+N[1]*N[1]);I=Math.min(h,(s-B)/(F-1)),R=Math.min(h,(c-B)/(F+1))}if(null!=x){var H=as(null==S?[A,_]:[S,k],[y,b],c,R,f),V=as([x,w],[A,_],c,R,f);h===R?M.push("M",H[0],"A",R,",",R," 0 0,",m," ",H[1],"A",c,",",c," 0 ",1-f^is(H[1][0],H[1][1],V[1][0],V[1][1]),",",f," ",V[1],"A",R,",",R," 0 0,",m," ",V[0]):M.push("M",H[0],"A",R,",",R," 0 1,",m," ",V[0])}else M.push("M",y,",",b);if(null!=S){var W=as([y,b],[S,k],s,-I,f),U=as([A,_],null==x?[y,b]:[x,w],s,-I,f);h===I?M.push("L",U[0],"A",I,",",I," 0 0,",m," ",U[1],"A",s,",",s," 0 ",f^is(U[1][0],U[1][1],W[1][0],W[1][1]),",",1-f," ",W[1],"A",I,",",I," 0 0,",m," ",W[0]):M.push("L",U[0],"A",I,",",I," 0 0,",m," ",W[0])}else M.push("L",A,",",_)}else M.push("M",y,",",b),null!=x&&M.push("A",c,",",c," 0 ",P,",",f," ",x,",",w),M.push("L",A,",",_),null!=S&&M.push("A",s,",",s," 0 ",E,",",1-f," ",S,",",k);return M.push("Z"),M.join("")}function l(e,t){return"M0,"+e+"A"+e+","+e+" 0 1,"+t+" 0,"+-e+"A"+e+","+e+" 0 1,"+t+" 0,"+e}return s.innerRadius=function(t){return arguments.length?(e=wt(t),s):e},s.outerRadius=function(e){return arguments.length?(t=wt(e),s):t},s.cornerRadius=function(e){return arguments.length?(n=wt(e),s):n},s.padRadius=function(e){return arguments.length?(r=e==Qa?Qa:wt(e),s):r},s.startAngle=function(e){return arguments.length?(o=wt(e),s):o},s.endAngle=function(e){return arguments.length?(i=wt(e),s):i},s.padAngle=function(e){return arguments.length?(a=wt(e),s):a},s.centroid=function(){var n=(+e.apply(this,arguments)+ +t.apply(this,arguments))/2,r=(+o.apply(this,arguments)+ +i.apply(this,arguments))/2-Re;return[Math.cos(r)*n,Math.sin(r)*n]},s};var Qa="auto";function es(e){return e.innerRadius}function ts(e){return e.outerRadius}function ns(e){return e.startAngle}function rs(e){return e.endAngle}function os(e){return e&&e.padAngle}function is(e,t,n,r){return(e-n)*t-(t-r)*e>0?0:1}function as(e,t,n,r,o){var i=e[0]-t[0],a=e[1]-t[1],s=(o?r:-r)/Math.sqrt(i*i+a*a),l=s*a,c=-s*i,u=e[0]+l,d=e[1]+c,p=t[0]+l,f=t[1]+c,h=(u+p)/2,m=(d+f)/2,g=p-u,v=f-d,y=g*g+v*v,b=n-r,x=u*f-p*d,w=(v<0?-1:1)*Math.sqrt(Math.max(0,b*b*y-x*x)),A=(x*v-g*w)/y,_=(-x*g-v*w)/y,S=(x*v+g*w)/y,k=(-x*g+v*w)/y,C=A-h,T=_-m,M=S-h,P=k-m;return C*C+T*T>M*M+P*P&&(A=S,_=k),[[A-l,_-c],[A*n/b,_*n/b]]}function ss(e){var t=lo,n=co,r=er,o=cs,i=o.key,a=.7;function s(i){var s,l=[],c=[],u=-1,d=i.length,p=wt(t),f=wt(n);function h(){l.push("M",o(e(c),a))}for(;++u<d;)r.call(this,s=i[u],u)?c.push([+p.call(this,s,u),+f.call(this,s,u)]):c.length&&(h(),c=[]);return c.length&&h(),l.length?l.join(""):null}return s.x=function(e){return arguments.length?(t=e,s):t},s.y=function(e){return arguments.length?(n=e,s):n},s.defined=function(e){return arguments.length?(r=e,s):r},s.interpolate=function(e){return arguments.length?(i="function"==typeof e?o=e:(o=ls.get(e)||cs).key,s):i},s.tension=function(e){return arguments.length?(a=e,s):a},s}i.svg.line=function(){return ss(N)};var ls=i.map({linear:cs,"linear-closed":us,step:function(e){var t=0,n=e.length,r=e[0],o=[r[0],",",r[1]];for(;++t<n;)o.push("H",(r[0]+(r=e[t])[0])/2,"V",r[1]);n>1&&o.push("H",r[0]);return o.join("")},"step-before":ds,"step-after":ps,basis:ms,"basis-open":function(e){if(e.length<4)return cs(e);var t,n=[],r=-1,o=e.length,i=[0],a=[0];for(;++r<3;)t=e[r],i.push(t[0]),a.push(t[1]);n.push(gs(bs,i)+","+gs(bs,a)),--r;for(;++r<o;)t=e[r],i.shift(),i.push(t[0]),a.shift(),a.push(t[1]),xs(n,i,a);return n.join("")},"basis-closed":function(e){var t,n,r=-1,o=e.length,i=o+4,a=[],s=[];for(;++r<4;)n=e[r%o],a.push(n[0]),s.push(n[1]);t=[gs(bs,a),",",gs(bs,s)],--r;for(;++r<i;)n=e[r%o],a.shift(),a.push(n[0]),s.shift(),s.push(n[1]),xs(t,a,s);return t.join("")},bundle:function(e,t){var n=e.length-1;if(n)for(var r,o,i=e[0][0],a=e[0][1],s=e[n][0]-i,l=e[n][1]-a,c=-1;++c<=n;)o=c/n,(r=e[c])[0]=t*r[0]+(1-t)*(i+o*s),r[1]=t*r[1]+(1-t)*(a+o*l);return ms(e)},cardinal:function(e,t){return e.length<3?cs(e):e[0]+fs(e,hs(e,t))},"cardinal-open":function(e,t){return e.length<4?cs(e):e[1]+fs(e.slice(1,-1),hs(e,t))},"cardinal-closed":function(e,t){return e.length<3?us(e):e[0]+fs((e.push(e[0]),e),hs([e[e.length-2]].concat(e,[e[1]]),t))},monotone:function(e){return e.length<3?cs(e):e[0]+fs(e,function(e){var t,n,r,o,i=[],a=function(e){var t=0,n=e.length-1,r=[],o=e[0],i=e[1],a=r[0]=ws(o,i);for(;++t<n;)r[t]=(a+(a=ws(o=i,i=e[t+1])))/2;return r[t]=a,r}(e),s=-1,l=e.length-1;for(;++s<l;)t=ws(e[s],e[s+1]),A(t)<Me?a[s]=a[s+1]=0:(o=(n=a[s]/t)*n+(r=a[s+1]/t)*r)>9&&(o=3*t/Math.sqrt(o),a[s]=o*n,a[s+1]=o*r);s=-1;for(;++s<=l;)o=(e[Math.min(l,s+1)][0]-e[Math.max(0,s-1)][0])/(6*(1+a[s]*a[s])),i.push([o||0,a[s]*o||0]);return i}(e))}});function cs(e){return e.length>1?e.join("L"):e+"Z"}function us(e){return e.join("L")+"Z"}function ds(e){for(var t=0,n=e.length,r=e[0],o=[r[0],",",r[1]];++t<n;)o.push("V",(r=e[t])[1],"H",r[0]);return o.join("")}function ps(e){for(var t=0,n=e.length,r=e[0],o=[r[0],",",r[1]];++t<n;)o.push("H",(r=e[t])[0],"V",r[1]);return o.join("")}function fs(e,t){if(t.length<1||e.length!=t.length&&e.length!=t.length+2)return cs(e);var n=e.length!=t.length,r="",o=e[0],i=e[1],a=t[0],s=a,l=1;if(n&&(r+="Q"+(i[0]-2*a[0]/3)+","+(i[1]-2*a[1]/3)+","+i[0]+","+i[1],o=e[1],l=2),t.length>1){s=t[1],i=e[l],l++,r+="C"+(o[0]+a[0])+","+(o[1]+a[1])+","+(i[0]-s[0])+","+(i[1]-s[1])+","+i[0]+","+i[1];for(var c=2;c<t.length;c++,l++)i=e[l],s=t[c],r+="S"+(i[0]-s[0])+","+(i[1]-s[1])+","+i[0]+","+i[1]}if(n){var u=e[l];r+="Q"+(i[0]+2*s[0]/3)+","+(i[1]+2*s[1]/3)+","+u[0]+","+u[1]}return r}function hs(e,t){for(var n,r=[],o=(1-t)/2,i=e[0],a=e[1],s=1,l=e.length;++s<l;)n=i,i=a,a=e[s],r.push([o*(a[0]-n[0]),o*(a[1]-n[1])]);return r}function ms(e){if(e.length<3)return cs(e);var t=1,n=e.length,r=e[0],o=r[0],i=r[1],a=[o,o,o,(r=e[1])[0]],s=[i,i,i,r[1]],l=[o,",",i,"L",gs(bs,a),",",gs(bs,s)];for(e.push(e[n-1]);++t<=n;)r=e[t],a.shift(),a.push(r[0]),s.shift(),s.push(r[1]),xs(l,a,s);return e.pop(),l.push("L",r),l.join("")}function gs(e,t){return e[0]*t[0]+e[1]*t[1]+e[2]*t[2]+e[3]*t[3]}ls.forEach((function(e,t){t.key=e,t.closed=/-closed$/.test(e)}));var vs=[0,2/3,1/3,0],ys=[0,1/3,2/3,0],bs=[0,1/6,2/3,1/6];function xs(e,t,n){e.push("C",gs(vs,t),",",gs(vs,n),",",gs(ys,t),",",gs(ys,n),",",gs(bs,t),",",gs(bs,n))}function ws(e,t){return(t[1]-e[1])/(t[0]-e[0])}function As(e){for(var t,n,r,o=-1,i=e.length;++o<i;)n=(t=e[o])[0],r=t[1]-Re,t[0]=n*Math.cos(r),t[1]=n*Math.sin(r);return e}function _s(e){var t=lo,n=lo,r=0,o=co,i=er,a=cs,s=a.key,l=a,c="L",u=.7;function d(s){var d,p,f,h=[],m=[],g=[],v=-1,y=s.length,b=wt(t),x=wt(r),w=t===n?function(){return p}:wt(n),A=r===o?function(){return f}:wt(o);function _(){h.push("M",a(e(g),u),c,l(e(m.reverse()),u),"Z")}for(;++v<y;)i.call(this,d=s[v],v)?(m.push([p=+b.call(this,d,v),f=+x.call(this,d,v)]),g.push([+w.call(this,d,v),+A.call(this,d,v)])):m.length&&(_(),m=[],g=[]);return m.length&&_(),h.length?h.join(""):null}return d.x=function(e){return arguments.length?(t=n=e,d):n},d.x0=function(e){return arguments.length?(t=e,d):t},d.x1=function(e){return arguments.length?(n=e,d):n},d.y=function(e){return arguments.length?(r=o=e,d):o},d.y0=function(e){return arguments.length?(r=e,d):r},d.y1=function(e){return arguments.length?(o=e,d):o},d.defined=function(e){return arguments.length?(i=e,d):i},d.interpolate=function(e){return arguments.length?(s="function"==typeof e?a=e:(a=ls.get(e)||cs).key,l=a.reverse||a,c=a.closed?"M":"L",d):s},d.tension=function(e){return arguments.length?(u=e,d):u},d}function Ss(e){return e.radius}function ks(e){return[e.x,e.y]}function Cs(){return 64}function Ts(){return"circle"}function Ms(e){var t=Math.sqrt(e/Oe);return"M0,"+t+"A"+t+","+t+" 0 1,1 0,"+-t+"A"+t+","+t+" 0 1,1 0,"+t+"Z"}i.svg.line.radial=function(){var e=ss(As);return e.radius=e.x,delete e.x,e.angle=e.y,delete e.y,e},ds.reverse=ps,ps.reverse=ds,i.svg.area=function(){return _s(N)},i.svg.area.radial=function(){var e=_s(As);return e.radius=e.x,delete e.x,e.innerRadius=e.x0,delete e.x0,e.outerRadius=e.x1,delete e.x1,e.angle=e.y,delete e.y,e.startAngle=e.y0,delete e.y0,e.endAngle=e.y1,delete e.y1,e},i.svg.chord=function(){var e=Yr,t=Xr,n=Ss,r=ns,o=rs;function i(n,r){var o,i,c=a(this,e,n,r),u=a(this,t,n,r);return"M"+c.p0+s(c.r,c.p1,c.a1-c.a0)+(i=u,((o=c).a0==i.a0&&o.a1==i.a1?l(c.r,c.p1,c.r,c.p0):l(c.r,c.p1,u.r,u.p0)+s(u.r,u.p1,u.a1-u.a0)+l(u.r,u.p1,c.r,c.p0))+"Z")}function a(e,t,i,a){var s=t.call(e,i,a),l=n.call(e,s,a),c=r.call(e,s,a)-Re,u=o.call(e,s,a)-Re;return{r:l,a0:c,a1:u,p0:[l*Math.cos(c),l*Math.sin(c)],p1:[l*Math.cos(u),l*Math.sin(u)]}}function s(e,t,n){return"A"+e+","+e+" 0 "+ +(n>Oe)+",1 "+t}function l(e,t,n,r){return"Q 0,0 "+r}return i.radius=function(e){return arguments.length?(n=wt(e),i):n},i.source=function(t){return arguments.length?(e=wt(t),i):e},i.target=function(e){return arguments.length?(t=wt(e),i):t},i.startAngle=function(e){return arguments.length?(r=wt(e),i):r},i.endAngle=function(e){return arguments.length?(o=wt(e),i):o},i},i.svg.diagonal=function(){var e=Yr,t=Xr,n=ks;function r(r,o){var i=e.call(this,r,o),a=t.call(this,r,o),s=(i.y+a.y)/2,l=[i,{x:i.x,y:s},{x:a.x,y:s},a];return"M"+(l=l.map(n))[0]+"C"+l[1]+" "+l[2]+" "+l[3]}return r.source=function(t){return arguments.length?(e=wt(t),r):e},r.target=function(e){return arguments.length?(t=wt(e),r):t},r.projection=function(e){return arguments.length?(n=e,r):n},r},i.svg.diagonal.radial=function(){var e=i.svg.diagonal(),t=ks,n=e.projection;return e.projection=function(e){return arguments.length?n(function(e){return function(){var t=e.apply(this,arguments),n=t[0],r=t[1]-Re;return[n*Math.cos(r),n*Math.sin(r)]}}(t=e)):t},e},i.svg.symbol=function(){var e=Ts,t=Cs;function n(n,r){return(Ps.get(e.call(this,n,r))||Ms)(t.call(this,n,r))}return n.type=function(t){return arguments.length?(e=wt(t),n):e},n.size=function(e){return arguments.length?(t=wt(e),n):t},n};var Ps=i.map({circle:Ms,cross:function(e){var t=Math.sqrt(e/5)/2;return"M"+-3*t+","+-t+"H"+-t+"V"+-3*t+"H"+t+"V"+-t+"H"+3*t+"V"+t+"H"+t+"V"+3*t+"H"+-t+"V"+t+"H"+-3*t+"Z"},diamond:function(e){var t=Math.sqrt(e/(2*Es)),n=t*Es;return"M0,"+-t+"L"+n+",0 0,"+t+" "+-n+",0Z"},square:function(e){var t=Math.sqrt(e)/2;return"M"+-t+","+-t+"L"+t+","+-t+" "+t+","+t+" "+-t+","+t+"Z"},"triangle-down":function(e){var t=Math.sqrt(e/Os),n=t*Os/2;return"M0,"+n+"L"+t+","+-n+" "+-t+","+-n+"Z"},"triangle-up":function(e){var t=Math.sqrt(e/Os),n=t*Os/2;return"M0,"+-n+"L"+t+","+n+" "+-t+","+n+"Z"}});i.svg.symbolTypes=Ps.keys();var Os=Math.sqrt(3),Es=Math.tan(30*Ie);Z.transition=function(e){for(var t,n,r=Ns||++$s,o=Bs(e),i=[],a=Ls||{time:Date.now(),ease:hi,delay:0,duration:250},s=-1,l=this.length;++s<l;){i.push(t=[]);for(var c=this[s],u=-1,d=c.length;++u<d;)(n=c[u])&&Hs(n,u,o,r,a),t.push(n)}return Is(i,o,r)},Z.interrupt=function(e){return this.each(null==e?Ds:Rs(Bs(e)))};var Ds=Rs(Bs());function Rs(e){return function(){var t,n,r;(t=this[e])&&(r=t[n=t.active])&&(r.timer.c=null,r.timer.t=NaN,--t.count?delete t[n]:delete this[e],t.active+=.5,r.event&&r.event.interrupt.call(this,this.__data__,r.index))}}function Is(e,t,n){return q(e,js),e.namespace=t,e.id=n,e}var Ns,Ls,js=[],$s=0;function zs(e,t,n,r){var o=e.id,i=e.namespace;return me(e,"function"==typeof n?function(e,a,s){e[i][o].tween.set(t,r(n.call(e,e.__data__,a,s)))}:(n=r(n),function(e){e[i][o].tween.set(t,n)}))}function Fs(e){return null==e&&(e=""),function(){this.textContent=e}}function Bs(e){return null==e?"__transition__":"__transition_"+e+"__"}function Hs(e,t,n,r,o){var i,a,s,l,c,u=e[n]||(e[n]={active:0,count:0}),d=u[r];function p(n){var o=u.active,p=u[o];for(var h in p&&(p.timer.c=null,p.timer.t=NaN,--u.count,delete u[o],p.event&&p.event.interrupt.call(e,e.__data__,p.index)),u)if(+h<r){var m=u[h];m.timer.c=null,m.timer.t=NaN,--u.count,delete u[h]}a.c=f,Pt((function(){return a.c&&f(n||1)&&(a.c=null,a.t=NaN),1}),0,i),u.active=r,d.event&&d.event.start.call(e,e.__data__,t),c=[],d.tween.forEach((function(n,r){(r=r.call(e,e.__data__,t))&&c.push(r)})),l=d.ease,s=d.duration}function f(o){for(var i=o/s,a=l(i),p=c.length;p>0;)c[--p].call(e,a);if(i>=1)return d.event&&d.event.end.call(e,e.__data__,t),--u.count?delete u[r]:delete e[n],1}d||(i=o.time,a=Pt((function(e){var t=d.delay;if(a.t=t+i,t<=e)return p(e-t);a.c=p}),0,i),d=u[r]={tween:new S,time:i,timer:a,delay:o.delay,duration:o.duration,ease:o.ease,index:t},o=null,++u.count)}js.call=Z.call,js.empty=Z.empty,js.node=Z.node,js.size=Z.size,i.transition=function(e,t){return e&&e.transition?Ns?e.transition(t):e:i.selection().transition(e)},i.transition.prototype=js,js.select=function(e){var t,n,r,o=this.id,i=this.namespace,a=[];e=J(e);for(var s=-1,l=this.length;++s<l;){a.push(t=[]);for(var c=this[s],u=-1,d=c.length;++u<d;)(r=c[u])&&(n=e.call(r,r.__data__,u,s))?("__data__"in r&&(n.__data__=r.__data__),Hs(n,u,i,o,r[i][o]),t.push(n)):t.push(null)}return Is(a,i,o)},js.selectAll=function(e){var t,n,r,o,i,a=this.id,s=this.namespace,l=[];e=Q(e);for(var c=-1,u=this.length;++c<u;)for(var d=this[c],p=-1,f=d.length;++p<f;)if(r=d[p]){i=r[s][a],n=e.call(r,r.__data__,p,c),l.push(t=[]);for(var h=-1,m=n.length;++h<m;)(o=n[h])&&Hs(o,h,s,a,i),t.push(o)}return Is(l,s,a)},js.filter=function(e){var t,n,r=[];"function"!=typeof e&&(e=fe(e));for(var o=0,i=this.length;o<i;o++){r.push(t=[]);for(var a,s=0,l=(a=this[o]).length;s<l;s++)(n=a[s])&&e.call(n,n.__data__,s,o)&&t.push(n)}return Is(r,this.namespace,this.id)},js.tween=function(e,t){var n=this.id,r=this.namespace;return arguments.length<2?this.node()[r][n].tween.get(e):me(this,null==t?function(t){t[r][n].tween.remove(e)}:function(o){o[r][n].tween.set(e,t)})},js.attr=function(e,t){if(arguments.length<2){for(t in e)this.attr(t,e[t]);return this}var n="transform"==e?ki:ii,r=i.ns.qualify(e);function o(){this.removeAttribute(r)}function a(){this.removeAttributeNS(r.space,r.local)}return zs(this,"attr."+e,t,r.local?function(e){return null==e?a:(e+="",function(){var t,o=this.getAttributeNS(r.space,r.local);return o!==e&&(t=n(o,e),function(e){this.setAttributeNS(r.space,r.local,t(e))})})}:function(e){return null==e?o:(e+="",function(){var t,o=this.getAttribute(r);return o!==e&&(t=n(o,e),function(e){this.setAttribute(r,t(e))})})})},js.attrTween=function(e,t){var n=i.ns.qualify(e);return this.tween("attr."+e,n.local?function(e,r){var o=t.call(this,e,r,this.getAttributeNS(n.space,n.local));return o&&function(e){this.setAttributeNS(n.space,n.local,o(e))}}:function(e,r){var o=t.call(this,e,r,this.getAttribute(n));return o&&function(e){this.setAttribute(n,o(e))}})},js.style=function(e,t,n){var r=arguments.length;if(r<3){if("string"!=typeof e){for(n in r<2&&(t=""),e)this.style(n,e[n],t);return this}n=""}function o(){this.style.removeProperty(e)}return zs(this,"style."+e,t,(function(t){return null==t?o:(t+="",function(){var r,o=u(this).getComputedStyle(this,null).getPropertyValue(e);return o!==t&&(r=ii(o,t),function(t){this.style.setProperty(e,r(t),n)})})}))},js.styleTween=function(e,t,n){return arguments.length<3&&(n=""),this.tween("style."+e,(function(r,o){var i=t.call(this,r,o,u(this).getComputedStyle(this,null).getPropertyValue(e));return i&&function(t){this.style.setProperty(e,i(t),n)}}))},js.text=function(e){return zs(this,"text",e,Fs)},js.remove=function(){var e=this.namespace;return this.each("end.transition",(function(){var t;this[e].count<2&&(t=this.parentNode)&&t.removeChild(this)}))},js.ease=function(e){var t=this.id,n=this.namespace;return arguments.length<1?this.node()[n][t].ease:("function"!=typeof e&&(e=i.ease.apply(i,arguments)),me(this,(function(r){r[n][t].ease=e})))},js.delay=function(e){var t=this.id,n=this.namespace;return arguments.length<1?this.node()[n][t].delay:me(this,"function"==typeof e?function(r,o,i){r[n][t].delay=+e.call(r,r.__data__,o,i)}:(e=+e,function(r){r[n][t].delay=e}))},js.duration=function(e){var t=this.id,n=this.namespace;return arguments.length<1?this.node()[n][t].duration:me(this,"function"==typeof e?function(r,o,i){r[n][t].duration=Math.max(1,e.call(r,r.__data__,o,i))}:(e=Math.max(1,e),function(r){r[n][t].duration=e}))},js.each=function(e,t){var n=this.id,r=this.namespace;if(arguments.length<2){var o=Ls,a=Ns;try{Ns=n,me(this,(function(t,o,i){Ls=t[r][n],e.call(t,t.__data__,o,i)}))}finally{Ls=o,Ns=a}}else me(this,(function(o){var a=o[r][n];(a.event||(a.event=i.dispatch("start","end","interrupt"))).on(e,t)}));return this},js.transition=function(){for(var e,t,n,r=this.id,o=++$s,i=this.namespace,a=[],s=0,l=this.length;s<l;s++){a.push(e=[]);for(var c,u=0,d=(c=this[s]).length;u<d;u++)(t=c[u])&&Hs(t,u,i,o,{time:(n=t[i][r]).time,ease:n.ease,delay:n.delay+n.duration,duration:n.duration}),e.push(t)}return Is(a,i,o)},i.svg.axis=function(){var e,t=i.scale.linear(),n=Vs,r=6,o=6,a=3,l=[10],c=null;function u(s){s.each((function(){var s,u=i.select(this),d=this.__chart__||t,p=this.__chart__=t.copy(),f=null==c?p.ticks?p.ticks.apply(p,l):p.domain():c,h=null==e?p.tickFormat?p.tickFormat.apply(p,l):N:e,m=u.selectAll(".tick").data(f,p),g=m.enter().insert("g",".domain").attr("class","tick").style("opacity",Me),v=i.transition(m.exit()).style("opacity",Me).remove(),y=i.transition(m.order()).style("opacity",1),b=Math.max(r,0)+a,x=Sa(p),w=u.selectAll(".domain").data([0]),A=(w.enter().append("path").attr("class","domain"),i.transition(w));g.append("line"),g.append("text");var _,S,k,C,T=g.select("line"),M=y.select("line"),P=m.select("text").text(h),O=g.select("text"),E=y.select("text"),D="top"===n||"left"===n?-1:1;if("bottom"===n||"top"===n?(s=Us,_="x",k="y",S="x2",C="y2",P.attr("dy",D<0?"0em":".71em").style("text-anchor","middle"),A.attr("d","M"+x[0]+","+D*o+"V0H"+x[1]+"V"+D*o)):(s=qs,_="y",k="x",S="y2",C="x2",P.attr("dy",".32em").style("text-anchor",D<0?"end":"start"),A.attr("d","M"+D*o+","+x[0]+"H0V"+x[1]+"H"+D*o)),T.attr(C,D*r),O.attr(k,D*b),M.attr(S,0).attr(C,D*r),E.attr(_,0).attr(k,D*b),p.rangeBand){var R=p,I=R.rangeBand()/2;d=p=function(e){return R(e)+I}}else d.rangeBand?d=p:v.call(s,p,d);g.call(s,d,p),y.call(s,p,p)}))}return u.scale=function(e){return arguments.length?(t=e,u):t},u.orient=function(e){return arguments.length?(n=e in Ws?e+"":Vs,u):n},u.ticks=function(){return arguments.length?(l=s(arguments),u):l},u.tickValues=function(e){return arguments.length?(c=e,u):c},u.tickFormat=function(t){return arguments.length?(e=t,u):e},u.tickSize=function(e){var t=arguments.length;return t?(r=+e,o=+arguments[t-1],u):r},u.innerTickSize=function(e){return arguments.length?(r=+e,u):r},u.outerTickSize=function(e){return arguments.length?(o=+e,u):o},u.tickPadding=function(e){return arguments.length?(a=+e,u):a},u.tickSubdivide=function(){return arguments.length&&u},u};var Vs="bottom",Ws={top:1,right:1,bottom:1,left:1};function Us(e,t,n){e.attr("transform",(function(e){var r=t(e);return"translate("+(isFinite(r)?r:n(e))+",0)"}))}function qs(e,t,n){e.attr("transform",(function(e){var r=t(e);return"translate(0,"+(isFinite(r)?r:n(e))+")"}))}i.svg.brush=function(){var e,t,n=W(p,"brushstart","brush","brushend"),r=null,o=null,a=[0,0],s=[0,0],l=!0,c=!0,d=Ys[0];function p(e){e.each((function(){var e=i.select(this).style("pointer-events","all").style("-webkit-tap-highlight-color","rgba(0,0,0,0)").on("mousedown.brush",g).on("touchstart.brush",g),t=e.selectAll(".background").data([0]);t.enter().append("rect").attr("class","background").style("visibility","hidden").style("cursor","crosshair"),e.selectAll(".extent").data([0]).enter().append("rect").attr("class","extent").style("cursor","move");var n=e.selectAll(".resize").data(d,N);n.exit().remove(),n.enter().append("g").attr("class",(function(e){return"resize "+e})).style("cursor",(function(e){return Gs[e]})).append("rect").attr("x",(function(e){return/[ew]$/.test(e)?-3:null})).attr("y",(function(e){return/^[ns]/.test(e)?-3:null})).attr("width",6).attr("height",6).style("visibility","hidden"),n.style("display",p.empty()?"none":null);var a,s=i.transition(e),l=i.transition(t);r&&(a=Sa(r),l.attr("x",a[0]).attr("width",a[1]-a[0]),h(s)),o&&(a=Sa(o),l.attr("y",a[0]).attr("height",a[1]-a[0]),m(s)),f(s)}))}function f(e){e.selectAll(".resize").attr("transform",(function(e){return"translate("+a[+/e$/.test(e)]+","+s[+/^s/.test(e)]+")"}))}function h(e){e.select(".extent").attr("x",a[0]),e.selectAll(".extent,.n>rect,.s>rect").attr("width",a[1]-a[0])}function m(e){e.select(".extent").attr("y",s[0]),e.selectAll(".extent,.e>rect,.w>rect").attr("height",s[1]-s[0])}function g(){var d,g,v=this,y=i.select(i.event.target),b=n.of(v,arguments),x=i.select(v),w=y.datum(),A=!/^(n|s)$/.test(w)&&r,_=!/^(e|w)$/.test(w)&&o,S=y.classed("extent"),k=Se(v),C=i.mouse(v),T=i.select(u(v)).on("keydown.brush",(function(){32==i.event.keyCode&&(S||(d=null,C[0]-=a[1],C[1]-=s[1],S=2),H())})).on("keyup.brush",(function(){32==i.event.keyCode&&2==S&&(C[0]+=a[1],C[1]+=s[1],S=0,H())}));if(i.event.changedTouches?T.on("touchmove.brush",O).on("touchend.brush",D):T.on("mousemove.brush",O).on("mouseup.brush",D),x.interrupt().selectAll("*").interrupt(),S)C[0]=a[0]-C[0],C[1]=s[0]-C[1];else if(w){var M=+/w$/.test(w),P=+/^n/.test(w);g=[a[1-M]-C[0],s[1-P]-C[1]],C[0]=a[M],C[1]=s[P]}else i.event.altKey&&(d=C.slice());function O(){var e=i.mouse(v),t=!1;g&&(e[0]+=g[0],e[1]+=g[1]),S||(i.event.altKey?(d||(d=[(a[0]+a[1])/2,(s[0]+s[1])/2]),C[0]=a[+(e[0]<d[0])],C[1]=s[+(e[1]<d[1])]):d=null),A&&E(e,r,0)&&(h(x),t=!0),_&&E(e,o,1)&&(m(x),t=!0),t&&(f(x),b({type:"brush",mode:S?"move":"resize"}))}function E(n,r,o){var i,u,p=Sa(r),f=p[0],h=p[1],m=C[o],g=o?s:a,v=g[1]-g[0];if(S&&(f-=m,h-=v+m),i=(o?c:l)?Math.max(f,Math.min(h,n[o])):n[o],S?u=(i+=m)+v:(d&&(m=Math.max(f,Math.min(h,2*d[o]-i))),m<i?(u=i,i=m):u=m),g[0]!=i||g[1]!=u)return o?t=null:e=null,g[0]=i,g[1]=u,!0}function D(){O(),x.style("pointer-events","all").selectAll(".resize").style("display",p.empty()?"none":null),i.select("body").style("cursor",null),T.on("mousemove.brush",null).on("mouseup.brush",null).on("touchmove.brush",null).on("touchend.brush",null).on("keydown.brush",null).on("keyup.brush",null),k(),b({type:"brushend"})}x.style("pointer-events","none").selectAll(".resize").style("display",null),i.select("body").style("cursor",y.style("cursor")),b({type:"brushstart"}),O()}return p.event=function(r){r.each((function(){var r=n.of(this,arguments),o={x:a,y:s,i:e,j:t},l=this.__chart__||o;this.__chart__=o,Ns?i.select(this).transition().each("start.brush",(function(){e=l.i,t=l.j,a=l.x,s=l.y,r({type:"brushstart"})})).tween("brush:brush",(function(){var n=ai(a,o.x),i=ai(s,o.y);return e=t=null,function(e){a=o.x=n(e),s=o.y=i(e),r({type:"brush",mode:"resize"})}})).each("end.brush",(function(){e=o.i,t=o.j,r({type:"brush",mode:"resize"}),r({type:"brushend"})})):(r({type:"brushstart"}),r({type:"brush",mode:"resize"}),r({type:"brushend"}))}))},p.x=function(e){return arguments.length?(d=Ys[!(r=e)<<1|!o],p):r},p.y=function(e){return arguments.length?(d=Ys[!r<<1|!(o=e)],p):o},p.clamp=function(e){return arguments.length?(r&&o?(l=!!e[0],c=!!e[1]):r?l=!!e:o&&(c=!!e),p):r&&o?[l,c]:r?l:o?c:null},p.extent=function(n){var i,l,c,u,d;return arguments.length?(r&&(i=n[0],l=n[1],o&&(i=i[0],l=l[0]),e=[i,l],r.invert&&(i=r(i),l=r(l)),l<i&&(d=i,i=l,l=d),i==a[0]&&l==a[1]||(a=[i,l])),o&&(c=n[0],u=n[1],r&&(c=c[1],u=u[1]),t=[c,u],o.invert&&(c=o(c),u=o(u)),u<c&&(d=c,c=u,u=d),c==s[0]&&u==s[1]||(s=[c,u])),p):(r&&(e?(i=e[0],l=e[1]):(i=a[0],l=a[1],r.invert&&(i=r.invert(i),l=r.invert(l)),l<i&&(d=i,i=l,l=d))),o&&(t?(c=t[0],u=t[1]):(c=s[0],u=s[1],o.invert&&(c=o.invert(c),u=o.invert(u)),u<c&&(d=c,c=u,u=d))),r&&o?[[i,c],[l,u]]:r?[i,l]:o&&[c,u])},p.clear=function(){return p.empty()||(a=[0,0],s=[0,0],e=t=null),p},p.empty=function(){return!!r&&a[0]==a[1]||!!o&&s[0]==s[1]},i.rebind(p,n,"on")};var Gs={n:"ns-resize",e:"ew-resize",s:"ns-resize",w:"ew-resize",nw:"nwse-resize",ne:"nesw-resize",se:"nwse-resize",sw:"nesw-resize"},Ys=[["n","e","s","w","nw","ne","se","sw"],["e","w"],["n","s"],[]],Xs=zt.format=mn.timeFormat,Ks=Xs.utc,Zs=Ks("%Y-%m-%dT%H:%M:%S.%LZ");function Js(e){return e.toISOString()}function Qs(e,t,n){function r(t){return e(t)}function o(e,n){var r=(e[1]-e[0])/n,o=i.bisect(tl,r);return o==tl.length?[t.year,Ra(e.map((function(e){return e/31536e6})),n)[2]]:o?t[r/tl[o-1]<tl[o]/r?o-1:o]:[ol,Ra(e,n)[2]]}return r.invert=function(t){return el(e.invert(t))},r.domain=function(t){return arguments.length?(e.domain(t),r):e.domain().map(el)},r.nice=function(e,t){var n=r.domain(),i=_a(n),a=null==e?o(i,10):"number"==typeof e&&o(i,e);function s(n){return!isNaN(n)&&!e.range(n,el(+n+1),t).length}return a&&(e=a[0],t=a[1]),r.domain(Ca(n,t>1?{floor:function(t){for(;s(t=e.floor(t));)t=el(t-1);return t},ceil:function(t){for(;s(t=e.ceil(t));)t=el(+t+1);return t}}:e))},r.ticks=function(e,t){var n=_a(r.domain()),i=null==e?o(n,10):"number"==typeof e?o(n,e):!e.range&&[{range:e},t];return i&&(e=i[0],t=i[1]),e.range(n[0],el(+n[1]+1),t<1?1:t)},r.tickFormat=function(){return n},r.copy=function(){return Qs(e.copy(),t,n)},Ea(r,e)}function el(e){return new Date(e)}Xs.iso=Date.prototype.toISOString&&+new Date("2000-01-01T00:00:00.000Z")?Js:Zs,Js.parse=function(e){var t=new Date(e);return isNaN(t)?null:t},Js.toString=Zs.toString,zt.second=Vt((function(e){return new Ft(1e3*Math.floor(e/1e3))}),(function(e,t){e.setTime(e.getTime()+1e3*Math.floor(t))}),(function(e){return e.getSeconds()})),zt.seconds=zt.second.range,zt.seconds.utc=zt.second.utc.range,zt.minute=Vt((function(e){return new Ft(6e4*Math.floor(e/6e4))}),(function(e,t){e.setTime(e.getTime()+6e4*Math.floor(t))}),(function(e){return e.getMinutes()})),zt.minutes=zt.minute.range,zt.minutes.utc=zt.minute.utc.range,zt.hour=Vt((function(e){var t=e.getTimezoneOffset()/60;return new Ft(36e5*(Math.floor(e/36e5-t)+t))}),(function(e,t){e.setTime(e.getTime()+36e5*Math.floor(t))}),(function(e){return e.getHours()})),zt.hours=zt.hour.range,zt.hours.utc=zt.hour.utc.range,zt.month=Vt((function(e){return(e=zt.day(e)).setDate(1),e}),(function(e,t){e.setMonth(e.getMonth()+t)}),(function(e){return e.getMonth()})),zt.months=zt.month.range,zt.months.utc=zt.month.utc.range;var tl=[1e3,5e3,15e3,3e4,6e4,3e5,9e5,18e5,36e5,108e5,216e5,432e5,864e5,1728e5,6048e5,2592e6,7776e6,31536e6],nl=[[zt.second,1],[zt.second,5],[zt.second,15],[zt.second,30],[zt.minute,1],[zt.minute,5],[zt.minute,15],[zt.minute,30],[zt.hour,1],[zt.hour,3],[zt.hour,6],[zt.hour,12],[zt.day,1],[zt.day,2],[zt.week,1],[zt.month,1],[zt.month,3],[zt.year,1]],rl=Xs.multi([[".%L",function(e){return e.getMilliseconds()}],[":%S",function(e){return e.getSeconds()}],["%I:%M",function(e){return e.getMinutes()}],["%I %p",function(e){return e.getHours()}],["%a %d",function(e){return e.getDay()&&1!=e.getDate()}],["%b %d",function(e){return 1!=e.getDate()}],["%B",function(e){return e.getMonth()}],["%Y",er]]),ol={range:function(e,t,n){return i.range(Math.ceil(e/n)*n,+t,n).map(el)},floor:N,ceil:N};nl.year=zt.year,zt.scale=function(){return Qs(i.scale.linear(),nl,rl)};var il=nl.map((function(e){return[e[0].utc,e[1]]})),al=Ks.multi([[".%L",function(e){return e.getUTCMilliseconds()}],[":%S",function(e){return e.getUTCSeconds()}],["%I:%M",function(e){return e.getUTCMinutes()}],["%I %p",function(e){return e.getUTCHours()}],["%a %d",function(e){return e.getUTCDay()&&1!=e.getUTCDate()}],["%b %d",function(e){return 1!=e.getUTCDate()}],["%B",function(e){return e.getUTCMonth()}],["%Y",er]]);function sl(e){return JSON.parse(e.responseText)}function ll(e){var t=l.createRange();return t.selectNode(l.body),t.createContextualFragment(e.responseText)}il.year=zt.year.utc,zt.scale.utc=function(){return Qs(i.scale.linear(),il,al)},i.text=At((function(e){return e.responseText})),i.json=function(e,t){return _t(e,"application/json",sl,t)},i.html=function(e,t){return _t(e,"text/html",ll,t)},i.xml=At((function(e){return e.responseXML})),this.d3=i,void 0===(o="function"==typeof(r=i)?r.call(t,n,t,e):r)||(e.exports=o)}()},32481:function(e,t,n){!function(){function t(e,t,n){void 0===n&&(n=t,optionsValues=void 0);var r=void 0!==e?e:t;if(void 0===r)return null;if("function"==typeof r){var o=[n];return n.geography&&(o=[n.geography,n.data]),r.apply(null,o)}return r}function r(e,t,n){return this.svg=f.select(e).append("svg").attr("width",n||e.offsetWidth).attr("data-width",n||e.offsetWidth).attr("class","datamap").attr("height",t||e.offsetHeight).style("overflow","hidden"),this.options.responsive&&(f.select(this.options.element).style({position:"relative","padding-bottom":100*this.options.aspectRatio+"%"}),f.select(this.options.element).select("svg").style({position:"absolute",width:"100%",height:"100%"}),f.select(this.options.element).select("svg").select("g").selectAll("path").style("vector-effect","non-scaling-stroke")),this.svg}function o(e){var n=this.options.fills,r=this.options.data||{},o=this.options.geographyConfig,i=this.svg.select("g.datamaps-subunits");i.empty()&&(i=this.addLayer("datamaps-subunits",null,!0));var a=h.feature(e,e.objects[this.options.scope]).features;o.hideAntarctica&&(a=a.filter((function(e){return"ATA"!==e.id}))),o.hideHawaiiAndAlaska&&(a=a.filter((function(e){return"HI"!==e.id&&"AK"!==e.id}))),i.selectAll("path.datamaps-subunit").data(a).enter().append("path").attr("d",this.path).attr("class",(function(e){return"datamaps-subunit "+e.id})).attr("data-info",(function(e){return JSON.stringify(r[e.id])})).style("fill",(function(e){var o,i=r[e.id];return i&&i.fillKey&&(o=n[t(i.fillKey,{data:r[e.id],geography:e})]),void 0===o&&(o=t(i&&i.fillColor,n.defaultFill,{data:r[e.id],geography:e})),o})).style("stroke-width",o.borderWidth).style("stroke-opacity",o.borderOpacity).style("stroke",o.borderColor)}function i(){function e(){this.parentNode.appendChild(this)}var n=this.svg,r=this,o=this.options.geographyConfig;(o.highlightOnHover||o.popupOnHover)&&n.selectAll(".datamaps-subunit").on("mouseover",(function(i){var a=f.select(this),s=r.options.data[i.id]||{};if(o.highlightOnHover){var l={fill:a.style("fill"),stroke:a.style("stroke"),"stroke-width":a.style("stroke-width"),"fill-opacity":a.style("fill-opacity")};a.style("fill",t(s.highlightFillColor,o.highlightFillColor,s)).style("stroke",t(s.highlightBorderColor,o.highlightBorderColor,s)).style("stroke-width",t(s.highlightBorderWidth,o.highlightBorderWidth,s)).style("stroke-opacity",t(s.highlightBorderOpacity,o.highlightBorderOpacity,s)).style("fill-opacity",t(s.highlightFillOpacity,o.highlightFillOpacity,s)).attr("data-previousAttributes",JSON.stringify(l)),/((MSIE)|(Trident))/.test(navigator.userAgent)||e.call(this)}o.popupOnHover&&r.updatePopup(a,i,o,n)})).on("mouseout",(function(){var e=f.select(this);if(o.highlightOnHover){var t=JSON.parse(e.attr("data-previousAttributes"));for(var n in t)e.style(n,t[n])}e.on("mousemove",null),f.selectAll(".datamaps-hoverover").style("display","none")}))}function a(e,t,n){if(t=t||{},this.options.fills){var r="<dl>",o="";for(var i in t.legendTitle&&(r="<h2>"+t.legendTitle+"</h2>"+r),this.options.fills){if("defaultFill"===i){if(!t.defaultFillName)continue;o=t.defaultFillName}else o=t.labels&&t.labels[i]?t.labels[i]:i+": ";r+="<dt>"+o+"</dt>",r+='<dd style="background-color:'+this.options.fills[i]+'"> </dd>'}r+="</dl>",f.select(this.options.element).append("div").attr("class","datamaps-legend").html(r)}}function s(e,t){var n=f.geo.graticule();this.svg.insert("path",".datamaps-subunits").datum(n).attr("class","datamaps-graticule").attr("d",this.path)}function l(e,n,r){var o=this,i=this.svg;if(!n||n&&!n.slice)throw"Datamaps Error - arcs must be an array";for(var a=0;a<n.length;a++)n[a]=d(n[a],n[a].options),delete n[a].options;void 0===r&&(r=m.arcConfig);var s=e.selectAll("path.datamaps-arc").data(n,JSON.stringify),l=f.geo.path().projection(o.projection);s.enter().append("svg:path").attr("class","datamaps-arc").style("stroke-linecap","round").style("stroke",(function(e){return t(e.strokeColor,r.strokeColor,e)})).style("fill","none").style("stroke-width",(function(e){return t(e.strokeWidth,r.strokeWidth,e)})).attr("d",(function(e){var n,a;if("string"==typeof e.origin)switch(e.origin){case"CAN":n=o.latLngToXY(56.624472,-114.665293);break;case"CHL":n=o.latLngToXY(-33.44889,-70.669265);break;case"IDN":n=o.latLngToXY(-6.208763,106.845599);break;case"JPN":n=o.latLngToXY(35.689487,139.691706);break;case"MYS":n=o.latLngToXY(3.139003,101.686855);break;case"NOR":n=o.latLngToXY(59.913869,10.752245);break;case"USA":n=o.latLngToXY(41.140276,-100.760145);break;case"VNM":n=o.latLngToXY(21.027764,105.83416);break;default:n=o.path.centroid(i.select("path."+e.origin).data()[0])}else n=o.latLngToXY(t(e.origin.latitude,e),t(e.origin.longitude,e));if("string"==typeof e.destination)switch(e.destination){case"CAN":a=o.latLngToXY(56.624472,-114.665293);break;case"CHL":a=o.latLngToXY(-33.44889,-70.669265);break;case"IDN":a=o.latLngToXY(-6.208763,106.845599);break;case"JPN":a=o.latLngToXY(35.689487,139.691706);break;case"MYS":a=o.latLngToXY(3.139003,101.686855);break;case"NOR":a=o.latLngToXY(59.913869,10.752245);break;case"USA":a=o.latLngToXY(41.140276,-100.760145);break;case"VNM":a=o.latLngToXY(21.027764,105.83416);break;default:a=o.path.centroid(i.select("path."+e.destination).data()[0])}else a=o.latLngToXY(t(e.destination.latitude,e),t(e.destination.longitude,e));var s=[(n[0]+a[0])/2,(n[1]+a[1])/2];if(r.greatArc){var c=f.geo.greatArc().source((function(e){return[t(e.origin.longitude,e),t(e.origin.latitude,e)]})).target((function(e){return[t(e.destination.longitude,e),t(e.destination.latitude,e)]}));return l(c(e))}var u=t(e.arcSharpness,r.arcSharpness,e);return"M"+n[0]+","+n[1]+"S"+(s[0]+50*u)+","+(s[1]-75*u)+","+a[0]+","+a[1]})).attr("data-info",(function(e){return JSON.stringify(e)})).on("mouseover",(function(e){var t=f.select(this);r.popupOnHover&&o.updatePopup(t,e,r,i)})).on("mouseout",(function(e){f.select(this),f.selectAll(".datamaps-hoverover").style("display","none")})).transition().delay(100).style("fill",(function(e){var n=this.getTotalLength();return this.style.transition=this.style.WebkitTransition="none",this.style.strokeDasharray=n+" "+n,this.style.strokeDashoffset=n,this.getBoundingClientRect(),this.style.transition=this.style.WebkitTransition="stroke-dashoffset "+t(e.animationSpeed,r.animationSpeed,e)+"ms ease-out",this.style.strokeDashoffset="0","none"})),s.exit().transition().style("opacity",0).remove()}function c(e,t){var n=this;t=t||{};var r=this.projection([-67.707617,42.722131]);this.svg.selectAll(".datamaps-subunit").attr("data-foo",(function(o){var i,a,s=n.path.centroid(o),l=7.5,c=5;["FL","KY","MI"].indexOf(o.id)>-1&&(l=-2.5),"NY"===o.id&&(l=-1),"MI"===o.id&&(c=18),"LA"===o.id&&(l=13),i=s[0]-l,a=s[1]+c;var u=["VT","NH","MA","RI","CT","NJ","DE","MD","DC"].indexOf(o.id);if(u>-1){var d=r[1];i=r[0],a=d+u*(2+(t.fontSize||12)),e.append("line").attr("x1",i-3).attr("y1",a-5).attr("x2",s[0]).attr("y2",s[1]).style("stroke",t.labelColor||"#000").style("stroke-width",t.lineWidth||1)}return e.append("text").attr("x",i).attr("y",a).style("font-size",(t.fontSize||10)+"px").style("font-family",t.fontFamily||"Verdana").style("fill",t.labelColor||"#000").text((function(){return t.customLabelText&&t.customLabelText[o.id]?t.customLabelText[o.id]:o.id})),"bar"}))}function u(e,n,r){function o(e){return void 0!==e&&void 0!==e.latitude&&void 0!==e.longitude}var i=this,a=this.options.fills,s=this.options.filters,l=this.svg;if(!n||n&&!n.slice)throw"Datamaps Error - bubbles must be an array";var c=e.selectAll("circle.datamaps-bubble").data(n,r.key);c.enter().append("svg:circle").attr("class","datamaps-bubble").attr("cx",(function(e){var t;if(o(e)?t=i.latLngToXY(e.latitude,e.longitude):e.centered&&(t="USA"===e.centered?i.projection([-98.58333,39.83333]):i.path.centroid(l.select("path."+e.centered).data()[0])),t)return t[0]})).attr("cy",(function(e){var t;if(o(e)?t=i.latLngToXY(e.latitude,e.longitude):e.centered&&(t="USA"===e.centered?i.projection([-98.58333,39.83333]):i.path.centroid(l.select("path."+e.centered).data()[0])),t)return t[1]})).attr("r",(function(e){return r.animate?0:t(e.radius,r.radius,e)})).attr("data-info",(function(e){return JSON.stringify(e)})).attr("filter",(function(e){var n=s[t(e.filterKey,r.filterKey,e)];if(n)return n})).style("stroke",(function(e){return t(e.borderColor,r.borderColor,e)})).style("stroke-width",(function(e){return t(e.borderWidth,r.borderWidth,e)})).style("stroke-opacity",(function(e){return t(e.borderOpacity,r.borderOpacity,e)})).style("fill-opacity",(function(e){return t(e.fillOpacity,r.fillOpacity,e)})).style("fill",(function(e){return a[t(e.fillKey,r.fillKey,e)]||a.defaultFill})).on("mouseover",(function(e){var n=f.select(this);if(r.highlightOnHover){var o={fill:n.style("fill"),stroke:n.style("stroke"),"stroke-width":n.style("stroke-width"),"fill-opacity":n.style("fill-opacity")};n.style("fill",t(e.highlightFillColor,r.highlightFillColor,e)).style("stroke",t(e.highlightBorderColor,r.highlightBorderColor,e)).style("stroke-width",t(e.highlightBorderWidth,r.highlightBorderWidth,e)).style("stroke-opacity",t(e.highlightBorderOpacity,r.highlightBorderOpacity,e)).style("fill-opacity",t(e.highlightFillOpacity,r.highlightFillOpacity,e)).attr("data-previousAttributes",JSON.stringify(o))}r.popupOnHover&&i.updatePopup(n,e,r,l)})).on("mouseout",(function(e){var t=f.select(this);if(r.highlightOnHover){var n=JSON.parse(t.attr("data-previousAttributes"));for(var o in n)t.style(o,n[o])}f.selectAll(".datamaps-hoverover").style("display","none")})),c.transition().duration(400).attr("r",(function(e){return t(e.radius,r.radius,e)})).transition().duration(0).attr("data-info",(function(e){return JSON.stringify(e)})),c.exit().transition().delay(r.exitDelay).attr("r",0).remove()}function d(e){return Array.prototype.slice.call(arguments,1).forEach((function(t){if(t)for(var n in t)null==e[n]&&("function"==typeof t[n]?e[n]=t[n]:e[n]=JSON.parse(JSON.stringify(t[n])))})),e}function p(e){if(void 0===f||void 0===h)throw new Error("Include d3.js (v3.0.3 or greater) and topojson on this page before creating a new map");return this.options=d(e,m),this.options.geographyConfig=d(e.geographyConfig,m.geographyConfig),this.options.projectionConfig=d(e.projectionConfig,m.projectionConfig),this.options.bubblesConfig=d(e.bubblesConfig,m.bubblesConfig),this.options.arcConfig=d(e.arcConfig,m.arcConfig),f.select(this.options.element).select("svg").length>0&&r.call(this,this.options.element,this.options.height,this.options.width),this.addPlugin("bubbles",u),this.addPlugin("legend",a),this.addPlugin("arc",l),this.addPlugin("labels",c),this.addPlugin("graticule",s),this.options.disableDefaultStyles||f.select(".datamaps-style-block").empty()&&f.select("head").append("style").attr("class","datamaps-style-block").html('.datamap path.datamaps-graticule { fill: none; stroke: #777; stroke-width: 0.5px; stroke-opacity: .5; pointer-events: none; } .datamap .labels {pointer-events: none;} .datamap path:not(.datamaps-arc), .datamap circle, .datamap line {stroke: #FFFFFF; vector-effect: non-scaling-stroke; stroke-width: 1px;} .datamaps-legend dt, .datamaps-legend dd { float: left; margin: 0 3px 0 0;} .datamaps-legend dd {width: 20px; margin-right: 6px; border-radius: 3px;} .datamaps-legend {padding-bottom: 20px; z-index: 1001; position: absolute; left: 4px; font-size: 12px; font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;} .datamaps-hoverover {display: none; font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; } .hoverinfo {padding: 4px; border-radius: 1px; background-color: #FFF; box-shadow: 1px 1px 5px #CCC; font-size: 12px; border: 1px solid #CCC; } .hoverinfo hr {border:1px dotted #CCC; }'),this.draw()}var f=window.d3,h=window.topojson,m={scope:"world",responsive:!1,aspectRatio:.5625,setProjection:function(e,t){var n,r,o=t.width||e.offsetWidth,i=t.height||e.offsetHeight,a=this.svg;return t&&void 0===t.scope&&(t.scope="world"),"usa"===t.scope?n=f.geo.albersUsa().scale(o).translate([o/2,i/2]):"world"===t.scope&&(n=f.geo[t.projection]().scale((o+1)/2/Math.PI).translate([o/2,i/("mercator"===t.projection?1.45:1.8)])),"orthographic"===t.projection&&(a.append("defs").append("path").datum({type:"Sphere"}).attr("id","sphere").attr("d",r),a.append("use").attr("class","stroke").attr("xlink:href","#sphere"),a.append("use").attr("class","fill").attr("xlink:href","#sphere"),n.scale(250).clipAngle(90).rotate(t.projectionConfig.rotation)),{path:r=f.geo.path().projection(n),projection:n}},projection:"equirectangular",dataType:"json",data:{},done:function(){},fills:{defaultFill:"#ABDDA4"},filters:{},geographyConfig:{dataUrl:null,hideAntarctica:!0,hideHawaiiAndAlaska:!1,borderWidth:1,borderOpacity:1,borderColor:"#FDFDFD",popupTemplate:function(e,t){return'<div class="hoverinfo"><strong>'+e.properties.name+"</strong></div>"},popupOnHover:!0,highlightOnHover:!0,highlightFillColor:"#FC8D59",highlightBorderColor:"rgba(250, 15, 160, 0.2)",highlightBorderWidth:2,highlightBorderOpacity:1},projectionConfig:{rotation:[97,0]},bubblesConfig:{borderWidth:2,borderOpacity:1,borderColor:"#FFFFFF",popupOnHover:!0,radius:null,popupTemplate:function(e,t){return'<div class="hoverinfo"><strong>'+t.name+"</strong></div>"},fillOpacity:.75,animate:!0,highlightOnHover:!0,highlightFillColor:"#FC8D59",highlightBorderColor:"rgba(250, 15, 160, 0.2)",highlightBorderWidth:2,highlightBorderOpacity:1,highlightFillOpacity:.85,exitDelay:100,key:JSON.stringify},arcConfig:{strokeColor:"#DD1C77",strokeWidth:1,arcSharpness:1,animationSpeed:600,popupOnHover:!1,popupTemplate:function(e,t){return t.origin&&t.destination&&t.origin.latitude&&t.origin.longitude&&t.destination.latitude&&t.destination.longitude?'<div class="hoverinfo"><strong>Arc</strong><br>Origin: '+JSON.stringify(t.origin)+"<br>Destination: "+JSON.stringify(t.destination)+"</div>":t.origin&&t.destination?'<div class="hoverinfo"><strong>Arc</strong><br>'+t.origin+" -> "+t.destination+"</div>":""}}};p.prototype.resize=function(){var e=this.options;if(e.responsive){var t=e.element.clientWidth,n=f.select(e.element).select("svg").attr("data-width");f.select(e.element).select("svg").selectAll("g").attr("transform","scale("+t/n+")")}},p.prototype.draw=function(){function e(e){t.options.dataUrl&&f[t.options.dataType](t.options.dataUrl,(function(e){if("csv"===t.options.dataType&&e&&e.slice){for(var n={},r=0;r<e.length;r++)n[e[r].id]=e[r];e=n}Datamaps.prototype.updateChoropleth.call(t,e)})),o.call(t,e),i.call(t),(t.options.geographyConfig.popupOnHover||t.options.bubblesConfig.popupOnHover)&&(hoverover=f.select(t.options.element).append("div").attr("class","datamaps-hoverover").style("z-index",10001).style("position","absolute")),t.options.done(t)}var t=this,n=t.options,r=n.setProjection.apply(this,[n.element,n]);return this.path=r.path,this.projection=r.projection,n.geographyConfig.dataUrl?f.json(n.geographyConfig.dataUrl,(function(n,r){if(n)throw new Error(n);t.customTopo=r,e(r)})):e(this[n.scope+"Topo"]||n.geographyConfig.dataJson),this},p.prototype.worldTopo={type:"Topology",objects:{world:{type:"GeometryCollection",geometries:[{type:"Polygon",id:"ABW",properties:{name:"Aruba",iso:"ABW"},arcs:[[0]]},{type:"Polygon",id:"AFG",properties:{name:"Afghanistan",iso:"AFG"},arcs:[[1,2,3,4,5,6]]},{type:"MultiPolygon",id:"AGO",properties:{name:"Angola",iso:"AGO"},arcs:[[[7,8,9,10]],[[11,12,13]]]},{type:"Polygon",id:"AIA",properties:{name:"Anguilla",iso:"AIA"},arcs:[[14]]},{type:"Polygon",id:"ALB",properties:{name:"Albania",iso:"ALB"},arcs:[[15,16,17,18,19]]},{type:"MultiPolygon",id:"ALA",properties:{name:"Ã…land Islands",iso:"ALA"},arcs:[[[20]],[[21]],[[22]]]},{type:"Polygon",id:"AND",properties:{name:"Andorra",iso:"AND"},arcs:[[23,24]]},{type:"MultiPolygon",id:"ARE",properties:{name:"United Arab Emirates",iso:"ARE"},arcs:[[[25]],[[26]],[[27]],[[28]],[[29,30,31,32,33],[34]]]},{type:"MultiPolygon",id:"ARG",properties:{name:"Argentina",iso:"ARG"},arcs:[[[35]],[[36,37]],[[38]],[[39,40,41,42,43,44]]]},{type:"MultiPolygon",id:"ARM",properties:{name:"Armenia",iso:"ARM"},arcs:[[[45]],[[46,47,48,49,50],[51]]]},{type:"Polygon",id:"ASM",properties:{name:"American Samoa",iso:"ASM"},arcs:[[52]]},{type:"MultiPolygon",id:"ATA",properties:{name:"Antarctica",iso:"ATA"},arcs:[[[53]],[[54]],[[55]],[[56]],[[57]],[[58]],[[59]],[[60]],[[61]],[[62]],[[63]],[[64]],[[65]],[[66]],[[67]],[[68]],[[69]],[[70]],[[71]],[[72]],[[73]],[[74]],[[75]],[[76]],[[77]],[[78]],[[79]],[[80]],[[81]],[[82]],[[83]],[[84]],[[85]],[[86]],[[87]],[[88]],[[89]],[[90]],[[91]],[[92]],[[93]],[[94]],[[95]],[[96]],[[97]],[[98]],[[99]],[[100]],[[101]],[[102]],[[103]],[[104]],[[105]],[[106]],[[107]],[[108]],[[109]],[[110]],[[111]],[[112]],[[113]],[[114]],[[115]],[[116]],[[117]],[[118]],[[119]],[[120]],[[121]],[[122]],[[123]],[[124]],[[125]],[[126]],[[127]],[[128]],[[129]],[[130]],[[131]],[[132]],[[133]],[[134]],[[135]],[[136]],[[137]],[[138]],[[139]],[[140]],[[141]],[[142]],[[143]],[[144]],[[145]],[[146]],[[147]],[[148]],[[149]],[[150]],[[151]],[[152]],[[153]],[[154]],[[155]],[[156]],[[157]],[[158]]]},{type:"MultiPolygon",id:"ATF",properties:{name:"French Southern Territories",iso:"ATF"},arcs:[[[159]],[[160]],[[161]]]},{type:"MultiPolygon",id:"ATG",properties:{name:"Antigua and Barbuda",iso:"ATG"},arcs:[[[162]],[[163]]]},{type:"MultiPolygon",id:"AUS",properties:{name:"Australia",iso:"AUS"},arcs:[[[164]],[[165]],[[166]],[[167]],[[168]],[[169]],[[170]],[[171]],[[172]],[[173]],[[174]],[[175]],[[176]],[[177]],[[178]],[[179]],[[180]],[[181]],[[182]],[[183]],[[184]],[[185]],[[186]],[[187]],[[188]],[[189]],[[190]],[[191]],[[192]],[[193]],[[194]],[[195]],[[196]],[[197]],[[198]],[[199]],[[200]],[[201]],[[202]]]},{type:"Polygon",id:"AUT",properties:{name:"Austria",iso:"AUT"},arcs:[[203,204,205,206,207,208,209,210,211]]},{type:"MultiPolygon",id:"AZE",properties:{name:"Azerbaijan",iso:"AZE"},arcs:[[[212,213,-48]],[[-52]],[[214,-51,215,216,217],[-46]]]},{type:"Polygon",id:"BDI",properties:{name:"Burundi",iso:"BDI"},arcs:[[218,219,220]]},{type:"Polygon",id:"BEL",properties:{name:"Belgium",iso:"BEL"},arcs:[[221,222,223,224,225,226,227]]},{type:"Polygon",id:"BEN",properties:{name:"Benin",iso:"BEN"},arcs:[[228,229,230,231,232]]},{type:"Polygon",id:"BFA",properties:{name:"Burkina Faso",iso:"BFA"},arcs:[[-230,233,234,235,236,237]]},{type:"MultiPolygon",id:"BGD",properties:{name:"Bangladesh",iso:"BGD"},arcs:[[[238]],[[239]],[[240]],[[241]],[[242]],[[243]],[[244,245,246]]]},{type:"Polygon",id:"BGR",properties:{name:"Bulgaria",iso:"BGR"},arcs:[[247,248,249,250,251,252]]},{type:"Polygon",id:"BHR",properties:{name:"Bahrain",iso:"BHR"},arcs:[[253]]},{type:"MultiPolygon",id:"BHS",properties:{name:"Bahamas",iso:"BHS"},arcs:[[[254]],[[255]],[[256]],[[257]],[[258]],[[259]],[[260]],[[261]],[[262]],[[263]],[[264]],[[265]],[[266]],[[267]],[[268]]]},{type:"Polygon",id:"BIH",properties:{name:"Bosnia and Herzegovina",iso:"BIH"},arcs:[[269,270,271,272,273]]},{type:"Polygon",id:"BLM",properties:{name:"Saint Barthélemy",iso:"BLM"},arcs:[[274]]},{type:"Polygon",id:"BLR",properties:{name:"Belarus",iso:"BLR"},arcs:[[275,276,277,278,279]]},{type:"MultiPolygon",id:"BLZ",properties:{name:"Belize",iso:"BLZ"},arcs:[[[280]],[[281]],[[282,283,284]]]},{type:"Polygon",id:"BMU",properties:{name:"Bermuda",iso:"BMU"},arcs:[[285]]},{type:"Polygon",id:"BOL",properties:{name:"Bolivia, Plurinational State of",iso:"BOL"},arcs:[[-45,286,287,288,289]]},{type:"MultiPolygon",id:"BRA",properties:{name:"Brazil",iso:"BRA"},arcs:[[[290]],[[291]],[[292]],[[293]],[[294]],[[295]],[[296]],[[297]],[[298]],[[299]],[[300]],[[301]],[[302]],[[303]],[[304]],[[305]],[[306,307,308,309,-41,310,-289,311,312,313,314]]]},{type:"Polygon",id:"BRB",properties:{name:"Barbados",iso:"BRB"},arcs:[[315]]},{type:"MultiPolygon",id:"BRN",properties:{name:"Brunei Darussalam",iso:"BRN"},arcs:[[[316,317]],[[318,319]]]},{type:"Polygon",id:"BTN",properties:{name:"Bhutan",iso:"BTN"},arcs:[[320,321]]},{type:"Polygon",id:"BWA",properties:{name:"Botswana",iso:"BWA"},arcs:[[322,323,324]]},{type:"Polygon",id:"CAF",properties:{name:"Central African Republic",iso:"CAF"},arcs:[[325,326,327,328,329,330]]},{type:"MultiPolygon",id:"CAN",properties:{name:"Canada",iso:"CAN"},arcs:[[[331]],[[332]],[[333]],[[334]],[[335]],[[336]],[[337]],[[338]],[[339]],[[340]],[[341]],[[342]],[[343,344]],[[345]],[[346]],[[347]],[[348]],[[349]],[[350]],[[351]],[[352]],[[353]],[[354]],[[355]],[[356]],[[357]],[[358]],[[359]],[[360]],[[361]],[[362]],[[363]],[[364]],[[365]],[[366]],[[367]],[[368]],[[369]],[[370]],[[371,372]],[[373]],[[374]],[[375]],[[376]],[[377]],[[378]],[[379]],[[380]],[[381]],[[382]],[[383]],[[384]],[[385]],[[386]],[[387]],[[388]],[[389]],[[390]],[[391]],[[392]],[[393]],[[394]],[[395]],[[396]],[[397]],[[398]],[[399]],[[400]],[[401]],[[402]],[[403]],[[404]],[[405]],[[406]],[[407]],[[408]],[[409]],[[410]],[[411]],[[412]],[[413]],[[414]],[[415]],[[416]],[[417]],[[418]],[[419]],[[420]],[[421]],[[422]],[[423]],[[424]],[[425]],[[426,427,428,429]],[[430]],[[431]],[[432]],[[433]],[[434]],[[435]],[[436]],[[437]],[[438]],[[439]],[[440]],[[441]],[[442]],[[443]],[[444]],[[445]],[[446]],[[447]],[[448]],[[449]],[[450]],[[451]],[[452]],[[453]],[[454]],[[455]],[[456]],[[457]],[[458]],[[459]],[[460]],[[461]],[[462]],[[463]],[[464]],[[465]],[[466]],[[467]],[[468]],[[469]]]},{type:"Polygon",id:"CHE",properties:{name:"Switzerland",iso:"CHE"},arcs:[[470,-207,471,472,473,-209]]},{type:"MultiPolygon",id:"CHL",properties:{name:"Chile",iso:"CHL"},arcs:[[[474]],[[475]],[[476]],[[477]],[[478]],[[479]],[[480]],[[481]],[[482]],[[-37,483]],[[484]],[[485]],[[486]],[[487]],[[488]],[[489]],[[490]],[[491]],[[492]],[[493]],[[494]],[[495]],[[496]],[[497]],[[498]],[[499]],[[500]],[[501]],[[502]],[[503]],[[-44,504,505,-287]]]},{type:"MultiPolygon",id:"CHN",properties:{name:"China",iso:"CHN"},arcs:[[[506]],[[507]],[[508]],[[509]],[[510]],[[511]],[[512]],[[513]],[[514]],[[515]],[[516]],[[517]],[[518,519,520,521,522,523,524,525,526,527,-321,528,529,530,531,532,533,534,-7,535,536,537,538,539,540]]]},{type:"MultiPolygon",id:"CIV",properties:{name:"Côte d'Ivoire",iso:"CIV"},arcs:[[[541,542]],[[-236,543,544,545,546,547]]]},{type:"Polygon",id:"CMR",properties:{name:"Cameroon",iso:"CMR"},arcs:[[548,549,550,551,552,553,-329]]},{type:"Polygon",id:"COD",properties:{name:"Congo, the Democratic Republic of the",iso:"COD"},arcs:[[554,555,-219,556,557,-11,558,-13,559,-327,560]]},{type:"Polygon",id:"COG",properties:{name:"Congo",iso:"COG"},arcs:[[-12,561,562,-549,-328,-560]]},{type:"Polygon",id:"COK",properties:{name:"Cook Islands",iso:"COK"},arcs:[[563]]},{type:"MultiPolygon",id:"COL",properties:{name:"Colombia",iso:"COL"},arcs:[[[564]],[[565,-313,566,567,568,569,570]]]},{type:"MultiPolygon",id:"COM",properties:{name:"Comoros",iso:"COM"},arcs:[[[571]],[[572]],[[573]]]},{type:"MultiPolygon",id:"CPV",properties:{name:"Cape Verde",iso:"CPV"},arcs:[[[574]],[[575]],[[576]],[[577]],[[578]],[[579]],[[580]],[[581]]]},{type:"Polygon",id:"CRI",properties:{name:"Costa Rica",iso:"CRI"},arcs:[[582,583,584,585]]},{type:"MultiPolygon",id:"CUB",properties:{name:"Cuba",iso:"CUB"},arcs:[[[586]],[[587]],[[588]],[[589]],[[590]],[[591]],[[592]]]},{type:"Polygon",id:"CUW",properties:{name:"Curaçao",iso:"CUW"},arcs:[[593]]},{type:"MultiPolygon",id:"CYM",properties:{name:"Cayman Islands",iso:"CYM"},arcs:[[[594]],[[595]]]},{type:"Polygon",id:"northern_cyprus",properties:{name:"Northern Cyprus",iso:null},arcs:[[596,597]]},{type:"Polygon",id:"CYP",properties:{name:"Cyprus",iso:"CYP"},arcs:[[-597,598]]},{type:"Polygon",id:"CZE",properties:{name:"Czech Republic",iso:"CZE"},arcs:[[599,-211,600,601]]},{type:"MultiPolygon",id:"DEU",properties:{name:"Germany",iso:"DEU"},arcs:[[[602,603]],[[604]],[[605]],[[606]],[[607,-601,-210,-474,608,609,-222,610,611,612,613]],[[614]]]},{type:"Polygon",id:"DJI",properties:{name:"Djibouti",iso:"DJI"},arcs:[[615,616,617,618]]},{type:"Polygon",id:"DMA",properties:{name:"Dominica",iso:"DMA"},arcs:[[619]]},{type:"MultiPolygon",id:"DNK",properties:{name:"Denmark",iso:"DNK"},arcs:[[[620]],[[621]],[[622]],[[623]],[[624]],[[625]],[[626]],[[627]],[[628]],[[629]],[[630]],[[-613,631]]]},{type:"Polygon",id:"DOM",properties:{name:"Dominican Republic",iso:"DOM"},arcs:[[632,633]]},{type:"Polygon",id:"DZA",properties:{name:"Algeria",iso:"DZA"},arcs:[[634,635,636,637,638,639,640,641]]},{type:"MultiPolygon",id:"ECU",properties:{name:"Ecuador",iso:"ECU"},arcs:[[[642]],[[643]],[[644]],[[645]],[[646]],[[647]],[[648]],[[649]],[[650,651,-568]]]},{type:"Polygon",id:"EGY",properties:{name:"Egypt",iso:"EGY"},arcs:[[652,653,654,655,656,657]]},{type:"MultiPolygon",id:"ERI",properties:{name:"Eritrea",iso:"ERI"},arcs:[[[658]],[[659]],[[-617,660,661,662]]]},{type:"MultiPolygon",id:"ESP",properties:{name:"Spain",iso:"ESP"},arcs:[[[663]],[[664]],[[665]],[[666]],[[667]],[[668]],[[669]],[[670]],[[671]],[[672]],[[673]],[[674,-25,675,676,677,678,679]]]},{type:"MultiPolygon",id:"EST",properties:{name:"Estonia",iso:"EST"},arcs:[[[680]],[[681]],[[682]],[[683,684,685]]]},{type:"Polygon",id:"ETH",properties:{name:"Ethiopia",iso:"ETH"},arcs:[[-616,686,687,688,689,690,-661]]},{type:"MultiPolygon",id:"FIN",properties:{name:"Finland",iso:"FIN"},arcs:[[[691]],[[692]],[[693]],[[694]],[[695]],[[696]],[[697]],[[698,699,700,701]]]},{type:"MultiPolygon",id:"FJI",properties:{name:"Fiji",iso:"FJI"},arcs:[[[702]],[[703]],[[704]],[[705]],[[706]],[[707]],[[708]],[[709]],[[710]],[[711]],[[712]],[[713]],[[714]],[[715]],[[716]]]},{type:"MultiPolygon",id:"FLK",properties:{name:"Falkland Islands (Malvinas)",iso:"FLK"},arcs:[[[717]],[[718]],[[719]],[[720]],[[721]],[[722]]]},{type:"MultiPolygon",id:"FRA",properties:{name:"France",iso:"FRA"},arcs:[[[723]],[[724]],[[725,-609,-473,726,727,728,729,-676,-24,-675,730,-224]]]},{type:"Polygon",id:"GUF",properties:{name:"French Guiana",iso:"GUF"},arcs:[[-308,731,732]]},{type:"MultiPolygon",id:"FRO",properties:{name:"Faroe Islands",iso:"FRO"},arcs:[[[733]],[[734]],[[735]],[[736]],[[737]]]},{type:"MultiPolygon",id:"FSM",properties:{name:"Micronesia, Federated States of",iso:"FSM"},arcs:[[[738]],[[739]],[[740]],[[741]],[[742]]]},{type:"Polygon",id:"GAB",properties:{name:"Gabon",iso:"GAB"},arcs:[[743,-550,-563,744]]},{type:"MultiPolygon",id:"GBR",properties:{name:"United Kingdom",iso:"GBR"},arcs:[[[745]],[[746]],[[747,748]],[[749]],[[750]],[[751]],[[752]],[[753]],[[754]],[[755]],[[756]],[[757]],[[758]],[[759]],[[760]],[[761]],[[762]],[[763]],[[764]],[[765]],[[766]]]},{type:"Polygon",id:"GEO",properties:{name:"Georgia",iso:"GEO"},arcs:[[-50,767,768,769,-216]]},{type:"Polygon",id:"GGY",properties:{name:"Guernsey",iso:"GGY"},arcs:[[770]]},{type:"Polygon",id:"GHA",properties:{name:"Ghana",iso:"GHA"},arcs:[[-542,771,-544,-235,772,773]]},{type:"Polygon",id:"GIN",properties:{name:"Guinea",iso:"GIN"},arcs:[[-547,774,775,776,777,778,779]]},{type:"Polygon",id:"GMB",properties:{name:"Gambia",iso:"GMB"},arcs:[[780,781]]},{type:"MultiPolygon",id:"GNB",properties:{name:"Guinea-Bissau",iso:"GNB"},arcs:[[[782]],[[783]],[[784]],[[785]],[[786]],[[787]],[[788,-778,789]]]},{type:"MultiPolygon",id:"GNQ",properties:{name:"Equatorial Guinea",iso:"GNQ"},arcs:[[[-551,-744,790]],[[791]]]},{type:"MultiPolygon",id:"GRC",properties:{name:"Greece",iso:"GRC"},arcs:[[[792]],[[793]],[[794]],[[795]],[[796]],[[797]],[[798]],[[799]],[[800]],[[801]],[[802]],[[803]],[[804]],[[805]],[[806]],[[807]],[[808]],[[809]],[[810]],[[811]],[[812]],[[813]],[[814]],[[815]],[[816]],[[817]],[[818]],[[819]],[[820]],[[821]],[[822]],[[823]],[[824]],[[825]],[[826]],[[827]],[[828]],[[829]],[[-17,830,-249,831,832]]]},{type:"Polygon",id:"GRD",properties:{name:"Grenada",iso:"GRD"},arcs:[[833]]},{type:"MultiPolygon",id:"GRL",properties:{name:"Greenland",iso:"GRL"},arcs:[[[834]],[[835]],[[836]],[[837]],[[838]],[[839]],[[840]],[[841]],[[842]],[[843]],[[844]],[[845]],[[846]],[[847]],[[848]],[[849]],[[850]]]},{type:"Polygon",id:"GTM",properties:{name:"Guatemala",iso:"GTM"},arcs:[[851,852,853,854,-283,855]]},{type:"Polygon",id:"GUM",properties:{name:"Guam",iso:"GUM"},arcs:[[856]]},{type:"Polygon",id:"GUY",properties:{name:"Guyana",iso:"GUY"},arcs:[[-315,857,858,859]]},{type:"MultiPolygon",id:"HKG",properties:{name:"Hong Kong",iso:"HKG"},arcs:[[[860]],[[861]],[[-521,862]]]},{type:"Polygon",id:"HMD",properties:{name:"Heard Island and McDonald Islands",iso:"HMD"},arcs:[[863]]},{type:"MultiPolygon",id:"HND",properties:{name:"Honduras",iso:"HND"},arcs:[[[864,865,866,-852,867]],[[868]],[[869]]]},{type:"MultiPolygon",id:"HRV",properties:{name:"Croatia",iso:"HRV"},arcs:[[[870]],[[-272,871,872]],[[873]],[[874]],[[875]],[[876]],[[877]],[[878]],[[879,-274,880,881,882]]]},{type:"MultiPolygon",id:"HTI",properties:{name:"Haiti",iso:"HTI"},arcs:[[[883]],[[-633,884]],[[885]]]},{type:"Polygon",id:"HUN",properties:{name:"Hungary",iso:"HUN"},arcs:[[886,887,-883,888,-204,889,890]]},{type:"MultiPolygon",id:"IDN",properties:{name:"Indonesia",iso:"IDN"},arcs:[[[891]],[[892]],[[893]],[[894]],[[895,896,897,898]],[[899]],[[900]],[[901]],[[902]],[[903]],[[904]],[[905]],[[906]],[[907]],[[908]],[[909]],[[910]],[[911]],[[912]],[[913]],[[914]],[[915]],[[916]],[[917]],[[918]],[[919]],[[920]],[[921]],[[922]],[[923]],[[924]],[[925]],[[926]],[[927]],[[928]],[[929]],[[930]],[[931]],[[932]],[[933]],[[934]],[[935]],[[936]],[[937]],[[938]],[[939]],[[940]],[[941]],[[942]],[[943]],[[944]],[[945]],[[946]],[[947]],[[948]],[[949]],[[950]],[[951]],[[952]],[[953]],[[954]],[[955]],[[956]],[[957]],[[958]],[[959]],[[960]],[[961]],[[962]],[[963]],[[964]],[[965]],[[966]],[[967]],[[968]],[[969]],[[970]],[[971]],[[972]],[[973]],[[974]],[[975]],[[976]],[[977]],[[978]],[[979]],[[980]],[[981,982,983]],[[984]],[[985]],[[986]],[[987]],[[988]],[[989]],[[990]],[[991]],[[992]],[[993]],[[994]],[[995]],[[996]],[[997]],[[998]],[[999]],[[1e3]],[[1001]],[[1002]],[[1003]],[[1004]],[[1005]],[[1006]],[[1007]],[[1008]],[[1009]],[[1010]],[[1011]],[[1012]],[[1013]],[[1014]],[[1015]],[[1016]],[[1017]],[[1018]],[[1019]],[[1020]],[[1021]],[[1022,1023]],[[1024]],[[1025,1026]],[[1027]],[[1028]],[[1029]]]},{type:"Polygon",id:"IMN",properties:{name:"Isle of Man",iso:"IMN"},arcs:[[1030]]},{type:"MultiPolygon",id:"IND",properties:{name:"India",iso:"IND"},arcs:[[[1031]],[[1032]],[[1033]],[[1034]],[[1035]],[[1036]],[[1037]],[[1038]],[[1039]],[[1040]],[[1041,-531,1042,-529,-322,-528,1043,-247,1044,1045,1046,-533]]]},{type:"Polygon",id:"CCK",properties:{name:"Cocos (Keeling) Islands",iso:"CCK"},arcs:[[1047]]},{type:"Polygon",id:"CXR",properties:{name:"Christmas Island",iso:"CXR"},arcs:[[1048]]},{type:"Polygon",id:"IOT",properties:{name:"British Indian Ocean Territory",iso:"IOT"},arcs:[[1049]]},{type:"MultiPolygon",id:"IRL",properties:{name:"Ireland",iso:"IRL"},arcs:[[[1050]],[[-748,1051]]]},{type:"MultiPolygon",id:"IRN",properties:{name:"Iran, Islamic Republic of",iso:"IRN"},arcs:[[[1052]],[[-47,-215,1053,1054,-3,1055,1056,1057,1058,-213]]]},{type:"Polygon",id:"IRQ",properties:{name:"Iraq",iso:"IRQ"},arcs:[[1059,1060,1061,1062,1063,-1058,1064]]},{type:"Polygon",id:"ISL",properties:{name:"Iceland",iso:"ISL"},arcs:[[1065]]},{type:"Polygon",id:"ISR",properties:{name:"Israel",iso:"ISR"},arcs:[[1066,1067,1068,-653,1069,1070,1071,1072,1073]]},{type:"MultiPolygon",id:"ITA",properties:{name:"Italy",iso:"ITA"},arcs:[[[1074]],[[1075]],[[1076]],[[1077]],[[1078]],[[1079]],[[1080]],[[1081,1082,-727,-472,-206],[1083]]]},{type:"Polygon",id:"JAM",properties:{name:"Jamaica",iso:"JAM"},arcs:[[1084]]},{type:"Polygon",id:"JEY",properties:{name:"Jersey",iso:"JEY"},arcs:[[1085]]},{type:"Polygon",id:"JOR",properties:{name:"Jordan",iso:"JOR"},arcs:[[-1068,1086,-1074,1087,-1062,1088,1089]]},{type:"MultiPolygon",id:"JPN",properties:{name:"Japan",iso:"JPN"},arcs:[[[1090]],[[1091]],[[1092]],[[1093]],[[1094]],[[1095]],[[1096]],[[1097]],[[1098]],[[1099]],[[1100]],[[1101]],[[1102]],[[1103]],[[1104]],[[1105]],[[1106]],[[1107]],[[1108]],[[1109]],[[1110]],[[1111]],[[1112]],[[1113]],[[1114]],[[1115]],[[1116]],[[1117]],[[1118]],[[1119]],[[1120]],[[1121]],[[1122]]]},{type:"MultiPolygon",id:"KAZ",properties:{name:"Kazakhstan",iso:"KAZ"},arcs:[[[1123]],[[1124]],[[1125]],[[-538,1126,1127,1128,1129,1130]]]},{type:"MultiPolygon",id:"KEN",properties:{name:"Kenya",iso:"KEN"},arcs:[[[1131]],[[1132,1133,1134,1135,1136,-689]]]},{type:"Polygon",id:"KGZ",properties:{name:"Kyrgyzstan",iso:"KGZ"},arcs:[[1137,1138,-1127,-537],[1139],[1140],[1141]]},{type:"MultiPolygon",id:"KHM",properties:{name:"Cambodia",iso:"KHM"},arcs:[[[1142]],[[1143,1144,1145,1146]]]},{type:"MultiPolygon",id:"KIR",properties:{name:"Kiribati",iso:"KIR"},arcs:[[[1147]],[[1148]],[[1149]],[[1150]],[[1151]],[[1152]],[[1153]]]},{type:"MultiPolygon",id:"KNA",properties:{name:"Saint Kitts and Nevis",iso:"KNA"},arcs:[[[1154]],[[1155]]]},{type:"MultiPolygon",id:"KOR",properties:{name:"Korea, Republic of",iso:"KOR"},arcs:[[[1156]],[[1157]],[[1158]],[[1159]],[[1160]],[[1161]],[[1162]],[[1163]],[[1164]],[[1165]],[[1166,1167]]]},{type:"Polygon",id:"kosovo",properties:{name:"Kosovo",iso:null},arcs:[[-20,1168,1169,1170]]},{type:"MultiPolygon",id:"KWT",properties:{name:"Kuwait",iso:"KWT"},arcs:[[[1171]],[[1172,-1060,1173]]]},{type:"Polygon",id:"LAO",properties:{name:"Lao People's Democratic Republic",iso:"LAO"},arcs:[[-1145,1174,1175,-526,1176]]},{type:"Polygon",id:"LBN",properties:{name:"Lebanon",iso:"LBN"},arcs:[[1177,-1072,1178]]},{type:"Polygon",id:"LBR",properties:{name:"Liberia",iso:"LBR"},arcs:[[1179,-775,-546,1180]]},{type:"Polygon",id:"LBY",properties:{name:"Libya",iso:"LBY"},arcs:[[1181,1182,1183,-635,1184,1185,-656]]},{type:"Polygon",id:"LCA",properties:{name:"Saint Lucia",iso:"LCA"},arcs:[[1186]]},{type:"Polygon",id:"LIE",properties:{name:"Liechtenstein",iso:"LIE"},arcs:[[-208,-471]]},{type:"MultiPolygon",id:"LKA",properties:{name:"Sri Lanka",iso:"LKA"},arcs:[[[1187]],[[1188]],[[1189]]]},{type:"Polygon",id:"LSO",properties:{name:"Lesotho",iso:"LSO"},arcs:[[1190,1191]]},{type:"MultiPolygon",id:"LTU",properties:{name:"Lithuania",iso:"LTU"},arcs:[[[1192,1193]],[[-278,1194,1195,1196,1197]]]},{type:"Polygon",id:"LUX",properties:{name:"Luxembourg",iso:"LUX"},arcs:[[-726,-223,-610]]},{type:"Polygon",id:"LVA",properties:{name:"Latvia",iso:"LVA"},arcs:[[-279,-1198,1198,-685,1199]]},{type:"Polygon",id:"MAC",properties:{name:"Macao",iso:"MAC"},arcs:[[-523,1200]]},{type:"Polygon",id:"MAF",properties:{name:"Saint Martin (French part)",iso:"MAF"},arcs:[[1201,1202]]},{type:"Polygon",id:"MAR",properties:{name:"Morocco",iso:"MAR"},arcs:[[-640,1203,1204]]},{type:"Polygon",id:"MCO",properties:{name:"Monaco",iso:"MCO"},arcs:[[1205,-729]]},{type:"Polygon",id:"MDA",properties:{name:"Moldova, Republic of",iso:"MDA"},arcs:[[1206,1207]]},{type:"MultiPolygon",id:"MDG",properties:{name:"Madagascar",iso:"MDG"},arcs:[[[1208]],[[1209]],[[1210]]]},{type:"MultiPolygon",id:"MDV",properties:{name:"Maldives",iso:"MDV"},arcs:[[[1211]],[[1212]]]},{type:"MultiPolygon",id:"MEX",properties:{name:"Mexico",iso:"MEX"},arcs:[[[1213]],[[1214]],[[1215]],[[1216]],[[1217]],[[1218]],[[1219]],[[1220]],[[1221]],[[1222]],[[1223]],[[1224]],[[1225]],[[-284,-855,1226,1227,1228]]]},{type:"MultiPolygon",id:"MHL",properties:{name:"Marshall Islands",iso:"MHL"},arcs:[[[1229]],[[1230]]]},{type:"Polygon",id:"MKD",properties:{name:"Macedonia",iso:"MKD"},arcs:[[-831,-16,-1171,1231,-250]]},{type:"Polygon",id:"MLI",properties:{name:"Mali",iso:"MLI"},arcs:[[-237,-548,-780,1232,1233,-637,1234]]},{type:"Polygon",id:"MLT",properties:{name:"Malta",iso:"MLT"},arcs:[[1235]]},{type:"MultiPolygon",id:"MMR",properties:{name:"Myanmar",iso:"MMR"},arcs:[[[1236]],[[1237]],[[1238]],[[1239]],[[1240]],[[1241]],[[1242]],[[1243]],[[1244]],[[1245]],[[1246]],[[1247]],[[1248]],[[1249]],[[1250]],[[1251]],[[-1176,1252,1253,-245,-1044,-527]]]},{type:"Polygon",id:"MNE",properties:{name:"Montenegro",iso:"MNE"},arcs:[[-1169,-19,1254,-872,-271,1255]]},{type:"Polygon",id:"MNG",properties:{name:"Mongolia",iso:"MNG"},arcs:[[1256,-540]]},{type:"MultiPolygon",id:"MNP",properties:{name:"Northern Mariana Islands",iso:"MNP"},arcs:[[[1257]],[[1258]],[[1259]],[[1260]],[[1261]],[[1262]]]},{type:"Polygon",id:"MOZ",properties:{name:"Mozambique",iso:"MOZ"},arcs:[[1263,1264,1265,1266,1267,1268,1269,1270],[1271],[1272]]},{type:"MultiPolygon",id:"MRT",properties:{name:"Mauritania",iso:"MRT"},arcs:[[[1273]],[[1274,1275,1276,-638,-1234]]]},{type:"Polygon",id:"MSR",properties:{name:"Montserrat",iso:"MSR"},arcs:[[1277]]},{type:"Polygon",id:"MUS",properties:{name:"Mauritius",iso:"MUS"},arcs:[[1278]]},{type:"MultiPolygon",id:"MWI",properties:{name:"Malawi",iso:"MWI"},arcs:[[[-1273]],[[-1272]],[[-1268,1279,1280]]]},{type:"MultiPolygon",id:"MYS",properties:{name:"Malaysia",iso:"MYS"},arcs:[[[1281]],[[1282]],[[-1023,1283]],[[1284]],[[1285]],[[1286,1287]],[[-1026,1288,-319,-318,1289]],[[1290]]]},{type:"Polygon",id:"NAM",properties:{name:"Namibia",iso:"NAM"},arcs:[[-324,1291,1292,-9,1293]]},{type:"MultiPolygon",id:"NCL",properties:{name:"New Caledonia",iso:"NCL"},arcs:[[[1294]],[[1295]],[[1296]],[[1297]],[[1298]]]},{type:"Polygon",id:"NER",properties:{name:"Niger",iso:"NER"},arcs:[[1299,-231,-238,-1235,-636,-1184,1300]]},{type:"Polygon",id:"NFK",properties:{name:"Norfolk Island",iso:"NFK"},arcs:[[1301]]},{type:"MultiPolygon",id:"NGA",properties:{name:"Nigeria",iso:"NGA"},arcs:[[[1302]],[[1303,-553,1304,-232,-1300]]]},{type:"Polygon",id:"NIC",properties:{name:"Nicaragua",iso:"NIC"},arcs:[[-585,1305,-865,1306]]},{type:"Polygon",id:"NIU",properties:{name:"Niue",iso:"NIU"},arcs:[[1307]]},{type:"MultiPolygon",id:"NLD",properties:{name:"Netherlands",iso:"NLD"},arcs:[[[-226,1308]],[[1309]],[[1310]],[[-611,1311,-227,1312]],[[1313]],[[1314]]]},{type:"MultiPolygon",id:"NOR",properties:{name:"Norway",iso:"NOR"},arcs:[[[1315]],[[1316]],[[1317]],[[1318]],[[1319]],[[1320]],[[1321]],[[1322]],[[1323]],[[1324]],[[1325]],[[1326]],[[1327]],[[1328]],[[1329]],[[1330]],[[1331]],[[1332]],[[1333]],[[1334]],[[1335,-702,1336,1337]],[[1338]]]},{type:"Polygon",id:"NPL",properties:{name:"Nepal",iso:"NPL"},arcs:[[-530,-1043]]},{type:"Polygon",id:"NRU",properties:{name:"Nauru",iso:"NRU"},arcs:[[1339]]},{type:"MultiPolygon",id:"NZL",properties:{name:"New Zealand",iso:"NZL"},arcs:[[[1340]],[[1341]],[[1342]],[[1343]],[[1344]],[[1345]],[[1346]],[[1347]],[[1348]],[[1349]],[[1350]]]},{type:"MultiPolygon",id:"OMN",properties:{name:"Oman",iso:"OMN"},arcs:[[[1351]],[[1352,1353,-30,1354]],[[-35]],[[-33,1355]]]},{type:"Polygon",id:"PAK",properties:{name:"Pakistan",iso:"PAK"},arcs:[[-1046,1356,-1056,-2,-535,1357]]},{type:"MultiPolygon",id:"PAN",properties:{name:"Panama",iso:"PAN"},arcs:[[[1358]],[[1359]],[[1360]],[[-570,1361,-583,1362]]]},{type:"Polygon",id:"PCN",properties:{name:"Pitcairn",iso:"PCN"},arcs:[[1363]]},{type:"Polygon",id:"PER",properties:{name:"Peru",iso:"PER"},arcs:[[-288,-506,1364,-651,-567,-312]]},{type:"MultiPolygon",id:"PHL",properties:{name:"Philippines",iso:"PHL"},arcs:[[[1365]],[[1366]],[[1367]],[[1368]],[[1369]],[[1370]],[[1371]],[[1372]],[[1373]],[[1374]],[[1375]],[[1376]],[[1377]],[[1378]],[[1379]],[[1380]],[[1381]],[[1382]],[[1383]],[[1384]],[[1385]],[[1386]],[[1387]],[[1388]],[[1389]],[[1390]],[[1391]],[[1392]],[[1393]],[[1394]],[[1395]],[[1396]],[[1397]],[[1398]],[[1399]],[[1400]],[[1401]],[[1402]],[[1403]],[[1404]],[[1405]],[[1406]],[[1407]],[[1408]],[[1409]],[[1410]],[[1411]],[[1412]]]},{type:"Polygon",id:"PLW",properties:{name:"Palau",iso:"PLW"},arcs:[[1413]]},{type:"MultiPolygon",id:"PNG",properties:{name:"Papua New Guinea",iso:"PNG"},arcs:[[[1414]],[[1415]],[[1416]],[[1417]],[[1418]],[[1419]],[[1420]],[[1421]],[[1422]],[[1423]],[[1424]],[[1425]],[[1426]],[[1427]],[[1428]],[[1429]],[[1430]],[[1431]],[[1432]],[[1433]],[[-983,1434,1435]],[[1436]],[[1437]],[[1438]],[[1439]],[[1440]]]},{type:"Polygon",id:"POL",properties:{name:"Poland",iso:"POL"},arcs:[[-1195,-277,1441,1442,-602,-608,1443,-603,1444,1445]]},{type:"MultiPolygon",id:"PRI",properties:{name:"Puerto Rico",iso:"PRI"},arcs:[[[1446]],[[1447]],[[1448]]]},{type:"Polygon",id:"PRK",properties:{name:"Korea, Democratic People's Republic of",iso:"PRK"},arcs:[[1449,1450,-1167,1451,-519]]},{type:"MultiPolygon",id:"PRT",properties:{name:"Portugal",iso:"PRT"},arcs:[[[1452]],[[1453]],[[1454]],[[1455]],[[1456]],[[1457]],[[1458]],[[-679,1459]]]},{type:"Polygon",id:"PRY",properties:{name:"Paraguay",iso:"PRY"},arcs:[[-40,-290,-311]]},{type:"MultiPolygon",id:"PSE",properties:{name:"Palestinian Territories",iso:"PSE"},arcs:[[[-658,1460,-1070]],[[-1067,-1087]]]},{type:"MultiPolygon",id:"PYF",properties:{name:"French Polynesia",iso:"PYF"},arcs:[[[1461]],[[1462]],[[1463]],[[1464]],[[1465]],[[1466]],[[1467]],[[1468]],[[1469]],[[1470]],[[1471]]]},{type:"Polygon",id:"QAT",properties:{name:"Qatar",iso:"QAT"},arcs:[[1472,1473]]},{type:"Polygon",id:"ROU",properties:{name:"Romania",iso:"ROU"},arcs:[[-252,1474,-887,1475,-1208,1476,1477]]},{type:"MultiPolygon",id:"RUS",properties:{name:"Russian Federation",iso:"RUS"},arcs:[[[1478]],[[1479]],[[1480]],[[1481]],[[1482]],[[1483]],[[1484]],[[1485]],[[1486]],[[1487]],[[1488]],[[1489]],[[1490]],[[1491]],[[1492]],[[1493]],[[-1196,-1446,1494,-1193,1495]],[[1496]],[[1497]],[[1498]],[[1499]],[[1500]],[[1501]],[],[[1502]],[[1503]],[[1504]],[[1505]],[[1506]],[[1507]],[[1508]],[],[[1509]],[[1510]],[[1511]],[[1512]],[[1513]],[[1514]],[[1515]],[[1516]],[[1517]],[[1518]],[[1519]],[[1520]],[[1521]],[[1522]],[[1523]],[[1524]],[[1525]],[[1526]],[[1527]],[[1528]],[[1529]],[[1530]],[[1531]],[[1532]],[[1533]],[[1534]],[[1535]],[[1536]],[[1537]],[[1538]],[[1539]],[[1540]],[[1541]],[[-1450,-541,-1257,-539,-1131,1542,-217,-770,1543,1544,-280,-1200,-684,1545,-699,-1336,1546]],[[1547]],[[1548]],[[1549]],[[1550]],[[1551]],[[1552]],[[1553]],[[1554]],[[1555]],[[1556]],[[1557]],[[1558]],[[1559]],[[1560]],[[1561]],[[1562]],[[1563]],[[1564]],[[1565]],[[1566]],[[1567]],[[1568]],[[1569]],[[1570]],[[1571]],[[1572]],[[1573]],[[1574]],[[1575]],[[1576]]]},{type:"Polygon",id:"RWA",properties:{name:"Rwanda",iso:"RWA"},arcs:[[-220,-556,1577,1578]]},{type:"Polygon",id:"ESH",properties:{name:"Western Sahara",iso:"ESH"},arcs:[[-1204,-639,-1277,1579]]},{type:"MultiPolygon",id:"SAU",properties:{name:"Saudi Arabia",iso:"SAU"},arcs:[[[1580]],[[1581]],[[-1173,1582,-1473,1583,-31,-1354,1584,1585,-1089,-1061]]]},{type:"Polygon",id:"SDN",properties:{name:"Sudan",iso:"SDN"},arcs:[[-662,-691,1586,-331,1587,-1182,-655,1588]]},{type:"Polygon",id:"SSD",properties:{name:"South Sudan",iso:"SSD"},arcs:[[-690,-1137,1589,-561,-326,-1587]]},{type:"Polygon",id:"SEN",properties:{name:"Senegal",iso:"SEN"},arcs:[[-779,-789,1590,-781,1591,-1275,-1233]]},{type:"Polygon",id:"SGP",properties:{name:"Singapore",iso:"SGP"},arcs:[[1592]]},{type:"MultiPolygon",id:"SGS",properties:{name:"South Georgia and the South Sandwich Islands",iso:"SGS"},arcs:[[[1593]],[[1594]]]},{type:"MultiPolygon",id:"SHN",properties:{name:"Saint Helena, Ascension and Tristan da Cunha",iso:"SHN"},arcs:[[[1595]],[[1596]]]},{type:"MultiPolygon",id:"SLB",properties:{name:"Solomon Islands",iso:"SLB"},arcs:[[[1597]],[[1598]],[[1599]],[[1600]],[[1601]],[[1602]],[[1603]],[[1604]],[[1605]],[[1606]],[[1607]],[[1608]],[[1609]],[[1610]],[[1611]],[[1612]],[[1613]],[[1614]],[[1615]],[[1616]],[[1617]]]},{type:"MultiPolygon",id:"SLE",properties:{name:"Sierra Leone",iso:"SLE"},arcs:[[[1618]],[[-1180,1619,-776]]]},{type:"Polygon",id:"SLV",properties:{name:"El Salvador",iso:"SLV"},arcs:[[-853,-867,1620]]},{type:"Polygon",id:"SMR",properties:{name:"San Marino",iso:"SMR"},arcs:[[-1084]]},{type:"Polygon",id:"somaliland",properties:{name:"Somaliland",iso:null},arcs:[[-687,-619,1621,1622]]},{type:"Polygon",id:"SOM",properties:{name:"Somalia",iso:"SOM"},arcs:[[-688,-1623,1623,-1133]]},{type:"Polygon",id:"SPM",properties:{name:"Saint Pierre and Miquelon",iso:"SPM"},arcs:[[1624]]},{type:"Polygon",id:"SRB",properties:{name:"Serbia",iso:"SRB"},arcs:[[-1475,-251,-1232,-1170,-1256,-270,-880,-888]]},{type:"MultiPolygon",id:"STP",properties:{name:"Sao Tome and Principe",iso:"STP"},arcs:[[[1625]],[[1626]]]},{type:"Polygon",id:"SUR",properties:{name:"Suriname",iso:"SUR"},arcs:[[-307,-860,1627,-732]]},{type:"Polygon",id:"SVK",properties:{name:"Slovakia",iso:"SVK"},arcs:[[-890,-212,-600,-1443,1628]]},{type:"Polygon",id:"SVN",properties:{name:"Slovenia",iso:"SVN"},arcs:[[-1082,-205,-889,-882,1629]]},{type:"MultiPolygon",id:"SWE",properties:{name:"Sweden",iso:"SWE"},arcs:[[[1630]],[[1631]],[[1632]],[[1633]],[[1634]],[[-1337,-701,1635]]]},{type:"Polygon",id:"SWZ",properties:{name:"Swaziland",iso:"SWZ"},arcs:[[1636,-1264]]},{type:"Polygon",id:"SXM",properties:{name:"Sint Maarten (Dutch part)",iso:"SXM"},arcs:[[-1202,1637]]},{type:"Polygon",id:"SYC",properties:{name:"Seychelles",iso:"SYC"},arcs:[[1638]]},{type:"Polygon",id:"SYR",properties:{name:"Syrian Arab Republic",iso:"SYR"},arcs:[[-1088,-1073,-1178,1639,1640,-1063]]},{type:"MultiPolygon",id:"TCA",properties:{name:"Turks and Caicos Islands",iso:"TCA"},arcs:[[[1641]],[[1642]],[[1643]]]},{type:"Polygon",id:"TCD",properties:{name:"Chad",iso:"TCD"},arcs:[[-330,-554,-1304,-1301,-1183,-1588]]},{type:"Polygon",id:"TGO",properties:{name:"Togo",iso:"TGO"},arcs:[[-773,-234,-229,1644]]},{type:"MultiPolygon",id:"THA",properties:{name:"Thailand",iso:"THA"},arcs:[[[1645]],[[1646]],[[1647]],[[1648]],[[1649]],[[1650]],[[1651]],[[1652]],[[1653]],[[-1175,-1144,1654,-1287,1655,-1253]]]},{type:"MultiPolygon",id:"TJK",properties:{name:"Tajikistan",iso:"TJK"},arcs:[[[-1140]],[[1656]],[[-1138,-536,-6,1657]]]},{type:"MultiPolygon",id:"TKM",properties:{name:"Turkmenistan",iso:"TKM"},arcs:[[[1658]],[[-4,-1055,1659,-1129,1660]]]},{type:"MultiPolygon",id:"TLS",properties:{name:"Timor-Leste",iso:"TLS"},arcs:[[[-896,1661]],[[-898,1662]],[[1663]]]},{type:"MultiPolygon",id:"TON",properties:{name:"Tonga",iso:"TON"},arcs:[[[1664]],[[1665]],[[1666]]]},{type:"MultiPolygon",id:"TTO",properties:{name:"Trinidad and Tobago",iso:"TTO"},arcs:[[[1667]],[[1668]]]},{type:"MultiPolygon",id:"TUN",properties:{name:"Tunisia",iso:"TUN"},arcs:[[[1669]],[[1670]],[[-1185,-642,1671]]]},{type:"MultiPolygon",id:"TUR",properties:{name:"Turkey",iso:"TUR"},arcs:[[[1672]],[[-768,-49,-214,-1059,-1064,-1641,1673]],[[-832,-248,1674]]]},{type:"MultiPolygon",id:"TWN",properties:{name:"Taiwan",iso:"TWN"},arcs:[[[1675]],[[1676]]]},{type:"MultiPolygon",id:"TZA",properties:{name:"Tanzania, United Republic of",iso:"TZA"},arcs:[[[1677]],[[1678]],[[1679]],[[-1135,1680,-1269,-1281,1681,-557,-221,-1579,1682]]]},{type:"Polygon",id:"UGA",properties:{name:"Uganda",iso:"UGA"},arcs:[[-1578,-555,-1590,-1136,-1683]]},{type:"MultiPolygon",id:"UKR",properties:{name:"Ukraine",iso:"UKR"},arcs:[[[1683]],[[-1477,-1207,-1476,-891,-1629,-1442,-276,-1545,1684]]]},{type:"Polygon",id:"URY",properties:{name:"Uruguay",iso:"URY"},arcs:[[-42,-310,1685]]},{type:"MultiPolygon",id:"USA",properties:{name:"United States",iso:"USA"},arcs:[[[1686]],[[1687]],[[1688]],[[1689]],[[1690]],[[1691]],[[1692]],[[1693]],[[1694]],[[1695]],[[1696]],[[1697]],[[1698]],[[1699]],[[1700]],[[1701]],[[1702]],[[1703]],[[1704]],[[1705]],[[1706]],[[1707]],[[1708]],[[1709]],[[1710]],[[1711]],[[1712]],[[1713]],[[1714]],[[1715]],[[1716]],[[1717]],[[1718]],[[1719]],[[-344,1720,-1228,1721,-429]],[[1722]],[[1723]],[[1724]],[[1725]],[[1726]],[[1727]],[[1728]],[[1729]],[[1730]],[[1731]],[[1732]],[[1733]],[[1734]],[[1735]],[[1736]],[[1737]],[[1738]],[[1739]],[[1740]],[[1741]],[[1742]],[[1743]],[[1744]],[[1745]],[[1746]],[[1747]],[[1748]],[[1749]],[[1750]],[[1751]],[[1752]],[[1753]],[[1754]],[[1755]],[[1756]],[[1757]],[[1758]],[[1759]],[[1760]],[[1761]],[[1762]],[[1763]],[[1764]],[[1765]],[[1766]],[[1767]],[[1768]],[[1769]],[[1770]],[[1771]],[[1772]],[[1773]],[[1774]],[[1775]],[[1776]],[[1777]],[[1778]],[[1779]],[[1780]],[[1781]],[[1782]],[[1783]],[[1784]],[[1785]],[[1786]],[[-427,1787,-372,1788]]]},{type:"MultiPolygon",id:"UZB",properties:{name:"Uzbekistan",iso:"UZB"},arcs:[[[-1141]],[[-1142]],[[-1139,-1658,-5,-1661,-1128]]]},{type:"Polygon",id:"VCT",properties:{name:"Saint Vincent and the Grenadines",iso:"VCT"},arcs:[[1789]]},{type:"MultiPolygon",id:"VEN",properties:{name:"Venezuela, Bolivarian Republic of",iso:"VEN"},arcs:[[[1790]],[[1791]],[[1792]],[[1793]],[[-858,-314,-566,1794]]]},{type:"Polygon",id:"VGB",properties:{name:"Virgin Islands, British",iso:"VGB"},arcs:[[1795]]},{type:"MultiPolygon",id:"VIR",properties:{name:"Virgin Islands, U.S.",iso:"VIR"},arcs:[[[1796]],[[1797]],[[1798]]]},{type:"MultiPolygon",id:"VNM",properties:{name:"Viet Nam",iso:"VNM"},arcs:[[[1799]],[[1800]],[[1801]],[[1802]],[[1803]],[[1804]],[[1805]],[[-1146,-1177,-525,1806]]]},{type:"MultiPolygon",id:"VUT",properties:{name:"Vanuatu",iso:"VUT"},arcs:[[[1807]],[[1808]],[[1809]],[[1810]],[[1811]],[[1812]],[[1813]],[[1814]],[[1815]],[[1816]],[[1817]],[[1818]],[[1819]],[[1820]]]},{type:"MultiPolygon",id:"WLF",properties:{name:"Wallis and Futuna",iso:"WLF"},arcs:[[[1821]],[[1822]]]},{type:"MultiPolygon",id:"WSM",properties:{name:"Samoa",iso:"WSM"},arcs:[[[1823]],[[1824]]]},{type:"MultiPolygon",id:"YEM",properties:{name:"Yemen",iso:"YEM"},arcs:[[[1825]],[[1826]],[[1827]],[[-1585,-1353,1828]]]},{type:"MultiPolygon",id:"ZAF",properties:{name:"South Africa",iso:"ZAF"},arcs:[[[1829]],[[-1265,-1637,-1271,1830,-1292,-323,1831],[-1192,1832]]]},{type:"Polygon",id:"ZMB",properties:{name:"Zambia",iso:"ZMB"},arcs:[[-1267,1833,-1294,-8,-558,-1682,-1280]]},{type:"Polygon",id:"ZWE",properties:{name:"Zimbabwe",iso:"ZWE"},arcs:[[-325,-1834,-1266,-1832]]},{type:"MultiPolygon",id:"SJM",properties:{name:"Svalbard and Jan Mayen",iso:"SJM"},arcs:[[[1834]],[[1835]],[[1836]],[[1837]],[[1838]],[[1839]],[[1840]],[[1841]],[[1842]],[[1843]]]},{type:"MultiPolygon",id:"BES",properties:{name:"Bonaire, Sint Eustatius and Saba",iso:"BES"},arcs:[[[1844]],[[1845]],[[1846]]]},{type:"Polygon",id:"MYT",properties:{name:"Mayotte",iso:"MYT"},arcs:[[1847]]},{type:"Polygon",id:"MTQ",properties:{name:"Martinique",iso:"MTQ"},arcs:[[1848]]},{type:"Polygon",id:"REU",properties:{name:"Réunion",iso:"REU"},arcs:[[1849]]},{type:"Polygon",id:"VAT",properties:{name:"Holy See (Vatican City State)",iso:"VAT"},arcs:[[1850]]},{type:"MultiPolygon",id:"TKL",properties:{name:"Tokelau",iso:"TKL"},arcs:[[[1851]],[[1852]],[[1853]]]},{type:"MultiPolygon",id:"TUV",properties:{name:"Tuvalu",iso:"TUV"},arcs:[[[1854]],[[1855]],[[1856]],[[1857]],[[1858]],[[1859]],[[1860]],[[1861]],[[1862]]]},{type:"Polygon",id:"BVT",properties:{name:"Bouvet Island",iso:"BVT"},arcs:[[1863]]},{type:"Polygon",id:"GIB",properties:{name:"Gibraltar",iso:"GIB"},arcs:[[1864]]},{type:"MultiPolygon",id:"GLP",properties:{name:"Guadeloupe",iso:"GLP"},arcs:[[[1865]],[[1866]],[[1867]]]},{type:"Polygon",id:"UMI",properties:{name:"United States Minor Outlying Islands",iso:"UMI"},arcs:[[1868]]}]}},arcs:[[[3058,5901],[0,-2],[-2,1],[-1,3],[-2,3],[0,3],[1,1],[3,-8],[1,-1]],[[7069,7316],[-3,-3],[-11,-9],[-7,4],[-10,0],[-8,-1],[-10,-2],[-4,0],[-5,-4],[-3,-1],[-5,-3],[-2,-4],[-4,-5],[-3,-3],[-3,-4],[-3,1],[-2,-3],[-2,-5],[-4,-7],[-3,-3],[-1,-5],[1,-2],[4,-4],[2,-6],[2,-13],[2,-3],[0,-5],[1,-3],[-2,-5],[0,-2],[2,-5],[0,-3],[-2,-3],[-2,-8],[-5,-5],[-2,-5],[-3,-6],[-1,-5],[-3,-4],[0,-2],[4,-7],[0,-6],[-1,-4],[1,-4],[-2,-4],[-5,-4],[-6,-2],[-9,0],[-2,1],[-7,5],[-3,-3],[0,-6],[5,-10],[2,-6],[2,-10],[2,-5],[0,-4],[-5,-6],[-5,-4],[-10,-3],[-2,-3],[-1,-11],[-1,-4],[0,-4],[-5,-15],[1,-10],[0,-18],[-2,-6],[-3,-6],[-3,-4],[-3,-2],[-3,1],[-1,4],[-4,5],[-2,0],[-2,-3],[-3,1],[-3,2],[-2,0],[-4,-7],[-8,-8],[-3,0],[-1,-2],[2,-6],[2,-1],[0,-2],[-7,-7],[-5,-1],[-5,2],[-2,3],[-3,0],[-3,-2],[-3,-4],[-3,-9],[0,-1],[-6,-6],[-1,-7],[-2,-11],[1,-6],[0,-10],[-1,-8],[-1,-4],[0,-4],[2,-5],[-2,-5],[-2,-2],[-6,-3],[-8,-5],[-16,-8],[-5,-1],[-2,1],[-9,0],[-7,-3],[-3,-3],[-2,-4],[-3,2],[-11,4],[-31,-5],[-3,1],[-10,6],[-13,8],[-8,5],[-11,6]],[[6689,6903],[7,16],[6,13],[7,14],[6,13],[1,5],[0,9],[-2,12],[-2,6],[-9,2],[-14,4],[-1,0],[-1,10],[1,4],[-1,8],[0,7],[1,10],[1,5],[-4,20],[-2,11],[-1,12],[-1,3],[0,5],[4,11],[2,2],[2,5],[2,3],[0,2],[-3,1],[-4,0],[-3,2],[-2,7],[1,8],[-1,14],[2,7],[2,5],[7,1],[-3,9],[-1,1],[0,3],[3,2],[3,4],[0,4],[3,8],[0,4],[2,7],[0,6],[-1,3],[0,4],[3,2],[0,3],[1,4],[0,3],[1,2],[0,6]],[[6701,7235],[2,0],[5,-9],[5,-3],[8,2],[3,-4],[4,-7],[1,-4],[1,-1],[2,4],[2,1],[2,-1],[4,1],[5,5],[5,6],[1,7],[1,4],[2,2],[-2,5],[0,5],[2,1],[3,0],[6,3],[10,6],[5,0],[0,3],[1,2],[3,2],[5,5],[4,6],[1,5],[1,8],[2,11],[3,12],[0,6],[1,4],[4,4],[4,2],[6,1],[7,0],[2,12],[1,3],[2,3],[1,0],[9,-9],[7,-2],[3,-2],[2,1]],[[6847,7335],[8,1],[7,-2],[3,-6],[4,-1],[5,3],[1,-2],[2,-1],[2,1],[2,-2],[0,-2]],[[6881,7324],[2,-6],[4,-5],[3,-1],[4,4],[1,-1],[1,2],[0,3],[2,2],[5,3],[3,4],[2,1],[1,-1],[2,1],[0,3],[2,1],[4,-4],[3,-6],[3,-3],[1,0],[3,5],[0,16],[2,4],[4,3],[5,1],[4,-1],[2,-3],[3,0],[3,7],[0,6],[-1,6],[0,3],[3,3],[3,5],[3,7],[2,8],[4,5],[4,2],[4,-2],[6,-6],[2,-8],[-1,-10],[0,-5],[1,-1],[5,2],[2,-1],[0,-3],[-1,-4],[-2,-20],[0,-10],[-1,-8],[1,-7],[2,-9],[2,-7],[3,-3],[2,1],[4,4],[6,8],[6,4],[8,3],[3,8],[4,6],[8,8],[5,3],[3,1],[5,-3],[2,0],[0,-3],[-1,-3],[-2,-3],[1,-2],[2,0],[10,5],[2,0],[1,3],[4,3],[5,-3],[4,1],[2,-2],[4,-7]],[[7079,7328],[-1,-1],[-3,4],[-5,-3],[-5,-4],[0,-2],[4,-6]],[[5665,4557],[0,-7],[1,-11],[0,-7],[1,-4],[0,-2],[-1,-2],[0,-4],[-1,-4],[0,-23],[-1,-8],[2,-13],[-1,-4],[-1,-7],[-2,-12],[0,-3],[3,-9],[0,-2],[-2,0],[-2,-1],[-14,0],[-16,0],[-22,0],[0,-45],[0,-37],[0,-37],[0,-19],[0,-32],[2,-17],[3,-20],[5,-5],[4,-7],[2,-6],[5,-9],[7,-12],[6,-11],[5,-10]],[[5648,4167],[-8,-3],[-21,-8],[-10,-4],[-7,-2],[-8,-4],[-4,3],[-5,0],[-5,-3],[-5,-1],[-6,4],[-4,4],[-5,1],[-8,-1],[-8,1],[-7,3],[-5,1],[-3,-1],[-4,1],[-3,2],[-3,4],[-4,7],[-3,8],[-1,2],[-17,0],[-4,1],[-21,0],[-21,0],[-11,0],[-21,0],[-17,0],[-5,-1],[-6,0],[-3,2],[-3,5],[-3,3],[-3,5],[-3,6],[-2,2],[-6,2],[-2,0],[-7,-5],[-2,-3],[-6,-6],[-10,0],[-3,3],[-2,-1],[-3,-3],[-5,-1]],[[5325,4190],[1,22],[1,9],[0,42],[-2,8],[5,7],[1,5],[2,7],[1,15],[6,35],[3,35],[3,16],[2,18],[9,24],[3,14],[5,8],[7,7],[5,14],[2,9],[3,18],[0,19],[2,25],[-1,7],[-2,10],[-1,7],[-2,7],[-3,5],[-1,10],[-5,14],[-1,10],[-2,7],[0,9],[-2,9],[-4,20],[0,3],[1,1],[1,-1],[8,18],[1,4],[-1,4],[0,4],[1,6],[-8,34],[-7,32],[-1,16],[-8,21],[-4,13],[-1,10],[-2,4],[3,2],[5,2],[6,2],[8,8]],[[5362,4845],[3,1],[3,-1],[2,1],[17,0],[4,-1],[2,0],[6,-1],[7,0],[3,1],[18,0],[9,1],[9,-1],[7,0],[3,-2],[3,-3],[2,-4],[1,-5],[2,-3],[0,-17],[1,-9],[2,-9],[3,-9],[1,-7],[0,-6],[1,-6],[2,-6],[2,-3],[0,-2],[3,-10],[5,-15],[3,-11],[1,-1],[2,0],[8,2],[2,-3],[5,5],[4,1],[4,2],[3,2],[2,0],[7,-3],[1,-1],[6,0],[5,2],[1,15],[0,3],[1,6],[2,5],[0,11],[1,8],[4,6],[6,3],[3,0],[6,2],[8,2],[3,0],[0,-1],[-2,-11],[0,-3],[1,-4],[1,-2],[17,0],[8,-1],[7,0],[2,-2],[1,-5],[-1,-11],[-1,-15],[1,-14],[2,-13],[0,-20],[-1,-13],[-1,-15],[0,-17],[1,-7],[3,-8],[4,-8],[3,-10],[2,-13],[0,-16],[1,-9],[-1,-5],[-2,-2],[-1,-4],[1,-7],[0,-6],[1,-3],[2,-2],[5,7],[2,1],[3,0],[4,-1],[9,0],[7,6],[4,0],[4,-2],[4,0],[2,2],[0,2],[1,3],[1,1]],[[5333,4895],[1,3],[3,7],[1,3],[3,1],[1,2],[1,4],[0,2],[7,5],[2,4],[2,2],[2,0],[1,-1],[2,-6],[2,-4],[1,-1]],[[5362,4916],[0,-1],[-7,-5],[-4,-9],[-2,-4],[-3,-4],[-1,-2],[2,-4],[0,-16],[-1,-17],[-7,-2],[-1,0]],[[5338,4852],[-1,7],[0,5],[1,4],[-1,9],[-2,7],[-2,9],[0,2]],[[3249,6233],[-4,-3],[0,2],[3,4],[2,-1],[-1,-2]],[[5570,7595],[-1,-9],[0,-8],[-2,-3],[1,-8],[0,-6],[2,-9],[3,-4],[1,-7],[1,-2],[4,1],[2,-4]],[[5581,7536],[0,-4],[2,-7],[0,-2],[-2,-7],[-4,-3],[-3,-9],[0,-3],[-1,-7],[-2,-2],[-4,-1],[-4,-5],[0,-2],[2,-6],[0,-3],[-2,1],[-1,-6],[-2,-3],[-5,3]],[[5555,7470],[-1,6],[0,4],[-4,10],[-10,9],[-2,5],[-2,7],[3,-2],[0,5],[-3,9],[1,10],[3,8],[-1,10],[1,7],[-1,5],[0,6],[2,8],[2,5],[0,8],[-3,4],[-4,1]],[[5536,7595],[0,3],[1,4],[0,4],[-2,6],[1,5],[6,14],[1,4],[3,5],[1,-1],[0,-6],[2,-3],[2,0],[5,4]],[[5556,7634],[1,-1],[3,-6],[1,-5],[5,-4],[2,-3],[1,-3],[1,-9],[1,-5],[-1,-3]],[[5571,8642],[0,-2],[-5,1],[0,2],[2,1],[3,-2]],[[5545,8650],[-3,-2],[-1,2],[1,3],[2,0],[1,-3]],[[5554,8659],[3,1],[5,-6],[-2,-4],[-2,1],[-3,-3],[0,-3],[-6,-1],[-2,1],[-2,8],[4,5],[0,2],[2,3],[3,-4]],[[5039,7637],[2,2],[2,0],[4,-3],[0,-3],[-1,-2]],[[5046,7631],[-6,-4],[-1,1],[0,3],[-1,2],[1,4]],[[6497,6576],[0,-2],[-3,0],[-1,-1],[-4,2],[1,3],[4,3],[3,-5]],[[6460,6582],[-1,3],[2,2],[1,-2],[-2,-3]],[[6480,6581],[-2,-1],[-2,2],[4,3],[3,4],[-1,-7],[-2,-1]],[[6512,6591],[-1,-1],[-2,1],[-1,2],[2,2],[2,-4]],[[6565,6622],[-1,0],[-2,-6],[-2,-2],[-1,-3],[-3,-3],[-2,7],[1,1],[-1,5],[-2,1],[-3,-4],[0,-16],[-1,-3],[0,-9],[1,-4],[-1,-6],[1,-2],[3,0],[2,-7],[0,-2],[-6,-2],[-2,0],[-4,-2],[-2,-3],[1,-3],[0,-9],[-1,-5],[-4,-15],[-2,-11],[-2,-9],[0,-19]],[[6532,6491],[-2,-5],[-6,2],[-3,0],[-4,1],[-5,2],[-6,1],[-6,2],[-6,1],[-6,2],[-6,1],[-6,2],[-5,1],[-7,2],[-5,1],[-2,3],[-1,4],[-2,4],[-1,4],[-2,3],[-1,4],[-2,4],[-1,4],[-2,3],[-1,4],[-2,4],[-1,4],[-5,11],[-1,4],[-3,6],[-1,3],[0,9]],[[6431,6582],[1,3],[2,-5],[2,1],[1,-1],[1,-10],[1,-4],[2,-1],[6,-1],[3,1],[8,7],[3,3],[11,-1],[8,-3],[13,-1],[3,0],[7,6],[4,4],[3,2],[2,4],[2,10],[2,5],[1,6],[3,5],[9,14],[6,11],[1,4],[3,5],[2,6],[12,17],[2,7],[1,8],[1,0]],[[6557,6684],[2,0],[0,-18],[-1,-3],[1,-3],[3,-1],[1,2]],[[6563,6661],[1,-5],[1,-34]],[[6560,6636],[1,-1],[1,2],[0,4],[-2,-2],[0,-3]],[[3206,2032],[3,-2],[6,1],[5,0],[0,-1],[5,1],[1,-2],[-4,-3],[-1,1],[-9,0],[-3,-2],[-2,0],[-3,-4],[-3,2],[-1,2],[2,3],[2,0],[2,4]],[[3092,2024],[0,13],[1,17],[0,47],[0,32],[0,18]],[[3093,2151],[1,-3],[7,-12],[2,-4],[1,-6],[-3,3],[-3,-2],[-2,-7],[0,-2],[3,-4],[7,-1],[0,-1],[4,-14],[9,-13],[5,-8],[6,-7],[6,-6],[6,-4],[5,-5],[6,-7],[6,-6],[7,-4],[7,-3],[10,2],[4,-1],[2,-2],[-2,-6],[-3,-6],[-3,-2],[-7,0],[-4,1],[-9,-4],[-3,0],[-6,-3],[-4,1],[-8,5],[-5,1],[-19,2],[-6,1],[-6,2],[-7,-1],[-4,0],[-1,-1]],[[3280,2927],[1,-4],[-2,1],[-3,3],[-1,4],[5,-2],[0,-2]],[[3259,3903],[1,-4],[2,-3],[5,-5],[4,-10],[4,-15],[4,-11],[7,-12],[3,-3],[2,-4],[8,-10],[3,-5],[2,-6],[5,-6],[9,-6],[7,-3],[4,0],[6,-4],[8,-10],[5,-7],[2,-4],[5,-6],[13,-13],[6,-4],[5,-7],[2,1],[3,-1],[5,-4],[4,-6],[7,-15],[0,-7],[-5,-10],[0,-1],[-4,-14],[0,-3],[-1,-2],[-4,-5],[-1,-5],[-2,-5],[-1,-4],[0,-6],[1,-6],[0,-3],[-2,-2],[0,-6],[-2,-1],[0,-4],[-1,-2],[-2,-1],[-3,-10],[-2,-2],[-1,-4],[1,-7],[12,2],[10,-2],[12,-7],[8,-2],[4,2],[2,0],[2,-3],[3,0],[3,1],[2,-1],[2,-4],[2,1],[2,6],[4,7],[3,0],[3,-1],[3,-2],[1,-3],[3,0],[2,4],[1,4],[0,4],[1,3],[2,2],[2,7],[2,2],[4,0],[2,2],[0,3],[3,4],[3,8],[2,1],[2,7],[2,13],[2,17],[0,25]],[[3482,3710],[2,0],[1,-2],[2,-1],[3,3],[2,0],[1,3],[2,0],[2,-3],[2,0],[1,-4],[2,-1],[1,-5],[1,-12],[4,-15],[0,-4],[-1,-4],[0,-5],[-1,-13],[0,-4],[1,-4],[0,-4],[-1,-6],[-2,-8],[-3,-2],[-3,-5],[-2,-2],[-1,2],[-2,-3],[-1,-5],[-5,-4],[-3,0],[-2,-1],[-1,-3],[-5,-2],[-2,-5],[0,-4],[-1,-2],[-3,-1],[-1,-2],[1,-2],[-1,-2],[-4,-2],[-3,-3],[-2,-5],[-2,-3],[-3,-1],[-4,-5],[0,-3],[2,-5],[-2,-3],[-2,2],[-3,-2],[0,-5],[-2,-1],[-1,-2],[0,-3],[-2,-4],[-4,-5],[-4,-15],[-5,-8],[-2,-4],[-1,-5],[-7,-17],[-11,-15],[0,-5],[-2,-6],[-5,-6],[-1,-2]],[[3399,3445],[-1,-3],[0,-4],[-2,-5],[-3,-6],[-1,-6],[1,-7],[0,-12],[-2,-1],[1,-5],[0,-4],[-1,-6],[-4,-12],[0,-5],[1,-2],[0,-9],[-1,-5],[-4,-6],[1,-6],[0,-4],[-1,-4],[0,-4],[2,-3],[0,-4],[-3,-9]],[[3382,3313],[0,-5],[1,-23],[-2,-7],[-3,0],[-2,-2],[-3,-32],[0,-5],[2,-8],[2,-10],[0,-7],[-1,-4],[-3,-2],[3,-14],[4,-8],[15,-13],[6,-7],[6,-10],[4,-10],[0,-8],[-5,-12],[-1,-11],[2,-7],[1,-7],[6,-8],[4,-4],[5,1],[1,-3],[1,-20],[0,-6],[-12,-35],[-8,-17],[-3,-9],[-1,-10],[-3,-5],[-15,-16],[-23,-13],[-19,-7],[-4,-3],[-30,-8],[-5,-1],[-8,1],[-6,-1],[-7,2],[-6,3],[-3,6],[-4,0],[-1,-3],[2,-7],[-1,-10],[1,-5],[2,-1],[4,-7],[-3,0],[1,-3],[2,-2],[0,-6],[-2,-15],[-4,-4],[-1,-3],[-2,-14],[-1,-9],[1,-6],[4,-12],[-1,-9],[-3,-4],[-16,-13],[-7,-2],[-15,0],[-10,8],[-7,5],[-7,4],[-6,2],[1,4],[-3,1],[-4,-4],[-2,-4],[-1,-4],[0,-9],[1,-8],[3,-19],[0,-10],[-1,-13],[2,-8],[2,-3],[6,-4],[2,-2],[3,0],[0,-2],[-2,-3],[1,-4],[4,-1],[9,2],[1,3],[0,5],[-6,1],[1,2],[9,5],[3,1],[3,-5],[2,-5],[1,-7],[0,-9],[-1,-8],[-2,-6],[-10,-5],[-2,2],[-3,6],[0,6],[-3,4],[-4,4],[-5,-1],[-4,-6],[-5,-2],[-1,-6],[11,-8],[5,-3],[4,-1],[-4,-5],[-7,-4],[-4,-3],[-4,-6],[-7,-16],[-1,-4],[-1,-9],[2,-15],[-2,-6],[1,-7],[0,-5],[-2,-7],[-8,-10],[-2,-8],[3,-4],[0,-4],[-1,-4],[-3,0],[-12,2],[-5,-4],[-4,-4],[-2,-4],[-9,-3],[-1,-1],[-9,-19],[-4,-11],[-4,-12],[-2,-4],[0,-7],[1,-6],[0,-4],[2,-6],[3,-6],[17,-26],[4,-2],[18,-3],[4,-4],[2,-6],[1,-5],[-1,-13],[-1,-4],[-6,-8],[-5,-2],[1,-2],[2,0],[5,2],[2,-2],[1,-5],[-3,-2],[-1,-3],[-12,-18],[-6,-5],[-5,-6],[-7,-6],[-3,-3],[-3,-7],[-6,-8],[-6,-17],[0,-4],[1,-2],[-4,-29],[-1,-4],[-2,-4],[-7,-6],[-3,-1],[-4,4],[-6,10],[-1,-4],[-3,-3],[5,-1],[2,-2],[3,-7],[-2,-2],[-8,-5],[-5,-6],[-3,-6],[-1,-5],[-1,-10],[-1,-6],[-2,-5],[3,-9],[2,-12],[1,-8],[-1,-6],[-5,-1],[-3,1],[-2,-3],[3,0],[4,-3],[4,1],[3,-4],[6,-18],[6,-10],[2,-7],[-1,-2]],[[3098,2168],[-1,3],[-7,2],[-5,3],[-8,4],[-8,0],[-6,4],[-7,4],[-27,0],[-14,1],[-14,0],[-1,1],[0,5],[-2,4],[-3,4],[-3,3],[-4,9],[3,14],[0,4],[-2,3],[0,6],[2,2],[1,7],[-2,13],[-2,3],[-3,1],[-3,-2],[-5,1],[-2,-1],[-2,-3],[-4,-3],[-2,1],[0,4],[-2,3],[-1,3],[0,5],[-1,7],[-2,7],[-3,6],[-1,6],[0,7],[1,6],[-1,6],[-2,6],[1,7],[2,4],[1,5],[9,1],[-1,6],[2,5],[1,5],[2,2],[7,5],[2,3],[2,7],[0,3],[-1,9],[3,6],[4,3],[2,7],[-1,7],[-2,6],[-3,2],[0,6],[1,5],[4,12],[0,5],[1,2],[5,6],[2,6],[4,3],[0,3],[-2,3],[0,9],[1,6],[6,7],[1,3],[0,4],[-1,9],[-1,6],[-3,10],[1,3],[4,3],[1,5],[-1,5],[-2,2],[0,15],[2,3],[5,1],[0,4],[4,6],[0,6],[-5,9],[-2,6],[-12,4],[-1,5],[0,3],[3,-2],[14,3],[3,-2],[3,1],[1,8],[2,4],[0,4],[-2,3],[-3,0],[-14,3],[0,16],[2,2],[2,8],[-3,10],[2,6],[-1,4],[-2,3],[-2,5],[0,6],[4,3],[0,3],[-1,4],[-3,1],[-6,5],[-1,4],[1,12],[0,8],[-1,4],[1,3],[2,3],[-1,7],[-1,3],[0,3],[2,6],[3,-1],[5,3],[0,8],[-2,11],[-2,7],[0,3],[1,2],[-1,10],[0,6],[1,17],[0,6],[-2,6],[0,6],[1,4],[2,5],[1,5],[2,3],[1,3],[-3,5],[-1,4],[2,5],[1,0],[2,4],[0,8],[-1,3],[0,7],[-1,4],[2,3],[3,-1],[0,5],[1,1],[3,17],[-1,13],[2,5],[4,5],[4,3],[3,1],[2,3],[1,5],[0,3],[-1,3],[-2,3],[-2,14],[0,9],[-4,16],[0,12],[1,7],[-2,8],[3,11],[0,3],[-1,8],[-1,4],[1,5],[2,7],[0,7],[3,2],[2,4],[3,0],[1,1],[0,3],[3,8],[2,3],[3,1],[2,4],[0,5],[-1,6],[1,6],[-1,9],[0,5],[-1,4],[0,8],[-2,1],[-1,3],[1,2],[2,1],[2,3],[1,13],[2,8],[0,3],[2,8],[3,9],[1,5],[0,3],[5,2],[1,2],[0,8],[-1,9],[0,19],[2,12],[0,6],[-2,2],[-2,-2],[-2,1],[-2,4],[0,10],[2,4],[0,4],[-2,5],[-2,10],[0,9],[-2,2],[0,7],[-2,3],[-1,5],[0,8],[2,0],[1,5],[-2,4],[-2,0],[-2,2],[-2,10],[-2,6],[1,8],[0,6],[1,6],[0,4],[2,2],[2,0],[2,5],[-1,4],[0,3],[1,4],[1,9],[3,14],[0,5],[2,-2],[4,2],[2,8],[1,2],[0,3],[-2,1],[-1,2],[0,3],[1,9],[0,6],[-2,13],[-1,12],[1,5],[5,8],[0,3],[2,15],[0,9],[1,4],[1,9],[4,7],[1,5],[1,0],[3,7],[3,6],[2,3],[0,4],[3,16],[3,10],[3,14],[4,3],[1,-2],[2,0],[1,3],[4,2],[2,2],[0,8],[-1,4],[-3,8],[-3,9],[0,9],[5,12],[-1,5],[-2,19],[-1,5],[-1,9],[0,4],[1,11],[2,4],[3,4],[-2,2],[0,3],[-1,5],[-1,1],[-1,4],[0,5],[1,7],[2,2],[2,5],[2,2],[1,4],[6,5],[4,4],[9,7],[6,5],[1,3],[0,3],[3,17],[4,22],[2,14],[-5,11]],[[3133,3869],[4,10],[0,5],[1,3],[6,6],[1,3],[0,5],[1,3],[2,0],[8,6],[1,3],[2,13],[1,2],[3,-2],[1,-3],[6,-8],[2,-5],[3,0],[4,1],[1,-1],[14,0],[4,-2],[2,-2],[5,-3],[2,-8],[2,-13],[3,-14],[1,2],[1,11],[4,14],[4,17],[3,4],[4,-1],[1,1],[12,0],[12,0],[0,-3],[2,-6],[3,-4]],[[6264,7523],[-2,-1],[0,3],[2,0],[0,-2]],[[6290,7424],[-5,1],[-4,-3],[-1,1]],[[6280,7423],[-2,8],[-3,9],[1,4],[-1,2],[-5,5],[1,3],[0,7],[-3,1],[-6,-4],[-3,2],[-3,4],[-2,-2],[-1,1],[0,4],[-3,7],[-5,-3],[-3,-1]],[[6242,7470],[-1,3],[-4,8],[-5,6],[-3,3],[-8,-2],[-6,3],[-3,4],[1,2],[-3,11],[0,5],[-1,2],[3,5],[1,5],[0,8],[-2,8],[-3,4],[-2,4],[0,2]],[[6206,7551],[5,1],[4,0],[4,2],[4,1],[2,2],[9,-1],[3,1],[7,0],[1,1],[-1,2],[4,1],[1,1]],[[6249,7562],[2,-6],[2,-1],[1,-3],[-3,-1],[1,-2],[4,-4],[3,0],[2,-1],[0,-2],[4,-6],[0,-2],[-5,-6],[-1,-4],[2,-6],[4,-7],[4,-5],[7,-5],[0,-4],[-1,-4],[-2,-5],[-7,0],[-1,-2],[2,-1],[4,-5],[2,-4],[2,-2],[7,-10],[4,1],[4,-3],[0,-5],[-3,-2],[0,-3],[2,-2],[4,-7],[-1,-2],[-4,1],[0,-3],[2,-3],[0,-12]],[[6248,7546],[2,0],[0,2],[-2,1],[0,-3]],[[257,4357],[-1,-1],[-2,3],[4,3],[1,-1],[-2,-4]],[[500,396],[-9,-2],[-21,3],[-14,6],[-1,4],[-5,5],[27,-2],[13,-3],[20,-6],[-6,-1],[-4,-4]],[[611,454],[-22,13],[12,-1],[2,-3],[12,-5],[-4,-4]],[[542,484],[-3,-1],[-74,7],[-15,2],[-5,3],[3,4],[18,3],[21,-2],[25,-5],[17,-4],[9,-3],[4,-4]],[[724,574],[-6,-1],[-23,4],[-2,4],[-20,4],[2,4],[14,-5],[18,-5],[14,-3],[3,-2]],[[3340,556],[-1,-18],[-2,-5],[-8,-6],[-13,-6],[-40,3],[-18,3],[-7,4],[-6,10],[-16,-1],[-11,-3],[-4,-5],[-26,8],[-39,15],[-5,3],[6,4],[5,1],[5,-2],[1,-6],[5,-2],[97,1],[8,0],[16,2],[9,2],[3,3],[-8,0],[-6,7],[1,6],[10,2],[-1,6],[7,1],[2,3],[12,4],[20,-2],[5,-5],[-3,-8],[0,-5],[8,-1],[5,-5],[-8,-3],[-3,-5]],[[4135,587],[3,-1],[4,5],[5,0],[22,-5],[7,-5],[-11,-2],[-11,-4],[-12,4],[-21,3],[-6,2],[-5,7],[11,5],[14,-9]],[[4101,594],[-7,1],[6,7],[6,1],[6,-3],[-11,-6]],[[3161,571],[-4,0],[-3,6],[-13,4],[-5,8],[-18,8],[-2,5],[3,1],[7,-2],[13,-1],[5,-2],[14,0],[7,-1],[4,-6],[9,-2],[2,-11],[-11,-5],[-8,-2]],[[3131,607],[-5,-3],[-20,1],[-11,3],[6,8],[8,4],[9,1],[18,-3],[-5,-4],[0,-7]],[[4056,615],[-3,-3],[-67,4],[-4,1],[1,4],[22,3],[7,4],[32,-8],[11,-3],[1,-2]],[[581,587],[-34,-3],[-14,2],[-30,6],[-40,12],[-18,7],[-7,4],[-2,4],[2,11],[2,3],[9,4],[4,4],[9,5],[3,3],[10,0],[14,-2],[20,-8],[25,-14],[14,-8],[16,-7],[12,-11],[3,-5],[4,-3],[-2,-4]],[[3045,594],[-18,0],[-12,2],[-7,4],[-3,7],[3,12],[6,7],[6,4],[17,9],[25,7],[9,5],[54,19],[12,2],[9,-3],[-2,-3],[-11,-8],[-8,-7],[-19,-11],[-13,-8],[-17,-11],[-13,-14],[2,-4],[-3,-6],[-17,-3]],[[9655,682],[-3,-4],[-4,-2],[-12,2],[-9,-4],[-9,-1],[-5,2],[-2,3],[-1,7],[15,-3],[9,-3],[7,4],[10,8],[3,-2],[1,-7]],[[3743,644],[33,0],[9,-1],[5,-4],[7,-15],[2,-8],[7,-10],[-1,-19],[-2,-5],[-6,-5],[-9,0],[-4,-3],[7,-4],[-1,-6],[-157,-26],[-6,-1],[-6,-3],[-4,-4],[-122,-5],[-6,7],[1,11],[8,4],[10,12],[6,6],[2,4],[9,-4],[7,1],[10,6],[3,-1],[1,-4],[17,9],[29,21],[10,11],[-2,6],[-10,3],[6,10],[0,9],[4,1],[4,6],[-4,3],[6,13],[22,19],[8,10],[38,12],[19,3],[21,-1],[8,-1],[38,-12],[14,-8],[7,-5],[2,-5],[0,-5],[-2,-6],[-3,-4],[-31,-3],[-4,-2],[-4,-6],[4,-1]],[[854,729],[-6,-2],[-6,4],[8,1],[4,-3]],[[822,727],[-27,4],[-4,1],[13,4],[15,-7],[3,-2]],[[9640,730],[10,-4],[28,0],[23,-4],[2,-4],[-7,-2],[-10,-5],[-6,-2],[-6,0],[-11,2],[-15,0],[-3,-3],[-7,-3],[-8,-6],[-2,5],[-12,13],[11,10],[0,2],[-6,5],[3,3],[6,2],[7,-2],[3,-4],[0,-3]],[[872,748],[-12,-1],[-6,2],[-2,4],[2,1],[15,-2],[7,-2],[-4,-2]],[[854,741],[-2,-1],[-12,1],[-3,1],[-17,2],[-9,5],[3,2],[6,1],[2,2],[17,1],[1,-3],[6,-4],[3,-4],[5,-3]],[[927,750],[-10,-2],[-3,1],[1,3],[-2,3],[1,3],[6,0],[17,-3],[2,-4],[-12,-1]],[[851,764],[19,0],[8,-1],[0,-3],[-8,0],[-4,-3],[-5,0],[-7,2],[-6,3],[3,2]],[[826,761],[-11,-1],[-7,3],[1,2],[19,1],[2,-3],[-4,-2]],[[900,768],[-4,0],[-8,5],[7,0],[5,-5]],[[922,769],[-3,-4],[-9,2],[-4,3],[2,4],[4,1],[6,-1],[4,-5]],[[925,792],[-6,-1],[-13,6],[-2,5],[13,-2],[8,-8]],[[9525,831],[-5,-8],[-5,2],[7,6],[3,0]],[[965,822],[-22,6],[-3,2],[2,3],[8,1],[10,-4],[5,-6],[0,-2]],[[9553,873],[-5,2],[-1,5],[7,5],[6,1],[-3,-7],[-4,-6]],[[1322,896],[-4,-4],[-9,2],[1,3],[7,2],[6,-2],[-1,-1]],[[1359,887],[-3,-1],[-22,5],[-6,5],[6,5],[10,1],[1,-2],[9,-3],[7,0],[1,-2],[-3,-8]],[[1461,885],[-4,-1],[-11,6],[-5,4],[-1,8],[3,1],[5,-1],[10,-4],[7,-1],[3,-4],[-3,-5],[-4,-3]],[[1757,912],[-14,-2],[-4,2],[0,4],[28,13],[6,-3],[-13,-9],[3,-1],[-6,-4]],[[1679,915],[-8,-1],[-2,2],[6,6],[-4,10],[4,0],[4,2],[9,0],[7,-2],[2,-4],[-5,-7],[-11,-4],[-2,-2]],[[1651,935],[6,-9],[1,-4],[-19,-10],[-3,-10],[-34,-4],[-15,3],[-3,3],[0,3],[5,1],[-3,7],[7,8],[-10,7],[-10,0],[3,6],[6,4],[3,-1],[13,0],[13,-1],[13,-2],[27,-1]],[[4427,928],[-2,-13],[2,-5],[5,-7],[0,-8],[-2,-2],[-7,0],[-3,3],[-4,12],[-5,5],[-12,3],[-12,-1],[3,3],[18,4],[4,2],[3,4],[1,5],[3,7],[5,3],[3,0],[2,-5],[0,-5],[-2,-5]],[[9716,944],[-3,-1],[-6,3],[-1,2],[5,7],[1,4],[3,1],[3,-8],[2,-3],[-4,-5]],[[1490,962],[8,-2],[5,-4],[7,-3],[3,-7],[5,-3],[1,-4],[-12,-1],[-3,-1],[-1,-3],[2,-2],[7,-1],[6,2],[9,-2],[11,5],[2,0],[11,-5],[3,-3],[-3,-5],[6,-2],[3,-4],[-1,-9],[-2,-2],[-8,2],[-18,1],[-6,2],[-10,6],[-7,2],[-6,5],[-9,3],[-7,5],[0,6],[-6,3],[-4,0],[-5,-4],[-3,-1],[-3,2],[0,7],[-3,1],[-2,3],[1,8],[3,4],[4,1],[4,-1],[11,2],[7,-1]],[[2947,958],[-3,-1],[-4,3],[2,6],[6,6],[5,1],[3,-2],[-4,-5],[-1,-4],[-4,-4]],[[2095,969],[-3,-3],[-6,1],[-5,4],[-2,6],[1,4],[3,1],[12,-13]],[[2934,973],[-4,-8],[-5,-2],[3,-3],[0,-3],[5,-5],[-2,-6],[-3,-3],[-37,16],[-3,3],[-3,8],[3,4],[6,1],[8,-3],[2,4],[4,0],[1,2],[-10,3],[-3,5],[9,3],[25,-4],[4,-2],[3,-4],[-3,-6]],[[2394,983],[-5,0],[-4,4],[3,2],[6,-4],[0,-2]],[[2467,968],[-10,-1],[2,13],[3,4],[-6,9],[-3,7],[1,2],[9,3],[10,-1],[4,-3],[1,-7],[-4,-5],[4,-2],[0,-8],[-6,-8],[-5,-3]],[[2360,998],[-6,0],[0,4],[13,4],[5,3],[2,-1],[2,-7],[-16,-3]],[[4552,997],[-6,-1],[-4,3],[-2,7],[2,3],[3,1],[5,-8],[2,-5]],[[6901,1019],[-2,0],[7,11],[2,1],[3,-4],[-1,-4],[-4,-3],[-5,-1]],[[4652,1026],[-6,-1],[-5,3],[-2,3],[1,4],[4,1],[4,-4],[4,-6]],[[6941,1041],[-4,-7],[-2,4],[1,3],[5,0]],[[2275,1041],[-3,-6],[0,-6],[7,0],[3,12],[7,2],[3,-7],[-3,-5],[3,-6],[3,0],[6,9],[1,5],[6,6],[14,1],[7,-4],[-5,-8],[-11,-5],[-8,-6],[8,-2],[6,3],[16,5],[6,4],[2,-1],[0,-6],[3,-4],[-2,-9],[-7,-2],[-7,-1],[2,-4],[-1,-3],[-18,2],[-9,-2],[-6,3],[-16,-2],[-9,0],[-7,1],[-7,3],[-6,1],[-8,0],[-8,4],[-6,1],[-10,4],[-5,3],[-4,-1],[-35,6],[-8,-1],[-10,3],[-2,4],[2,4],[3,1],[48,7],[5,2],[4,0],[7,-12],[3,0],[5,5],[8,-1],[5,2],[3,5],[10,5],[6,-1],[6,-2],[3,-6]],[[4917,1081],[-3,-1],[-7,2],[-3,5],[1,3],[3,1],[2,-3],[7,-7]],[[3317,1091],[-3,-1],[-7,3],[-1,3],[5,3],[7,-3],[-1,-5]],[[4929,1107],[3,-2],[4,1],[5,-2],[-8,-13],[-6,-5],[-5,-2],[-1,3],[0,8],[-4,2],[-2,5],[-13,7],[-1,3],[14,1],[8,-2],[6,-4]],[[2952,1115],[4,-5],[-4,-4],[-14,-8],[-8,-3],[-9,-2],[-38,-7],[-5,1],[-2,2],[-2,5],[0,3],[7,5],[29,5],[2,1],[5,9],[5,-2],[5,-9],[4,4],[0,8],[2,0],[7,-4],[1,4],[2,2],[9,-5]],[[3312,1110],[-2,0],[-5,7],[1,4],[2,1],[9,0],[3,-2],[-1,-6],[-7,-4]],[[4835,1120],[-7,-4],[-1,2],[-7,7],[6,1],[4,2],[4,-1],[1,-7]],[[5083,1117],[-9,-2],[-2,2],[-1,4],[1,2],[12,6],[4,0],[2,-3],[-3,-6],[-4,-3]],[[4908,1121],[-5,0],[-1,2],[6,9],[3,2],[10,1],[3,-2],[0,-8],[-1,-3],[-15,-1]],[[3008,1136],[1,-2],[6,2],[3,-3],[-6,-7],[-4,0],[-3,7],[0,2],[3,1]],[[6999,1115],[-5,1],[-5,7],[0,9],[4,4],[2,-8],[4,-3],[3,-7],[-3,-3]],[[5125,1124],[-5,-2],[-5,3],[-3,8],[1,3],[4,2],[7,-1],[3,-7],[-2,-6]],[[5745,1129],[-2,-2],[-5,1],[-4,-2],[-3,0],[-10,4],[-1,6],[1,4],[9,7],[3,1],[5,-1],[4,-6],[3,-9],[0,-3]],[[5035,1137],[-2,-8],[-2,1],[-1,4],[-5,8],[0,4],[3,3],[8,1],[2,-1],[2,-5],[-5,-7]],[[3300,1153],[-4,0],[-3,2],[3,5],[5,-2],[1,-4],[-2,-1]],[[2916,1167],[5,-1],[10,-10],[0,-3],[-3,-1],[-3,-8],[-5,-3],[-12,2],[-12,3],[-3,6],[4,6],[9,3],[3,5],[7,1]],[[5450,1151],[-2,-4],[-9,5],[-5,2],[-3,4],[1,3],[3,3],[6,3],[9,1],[9,-1],[2,-1],[-9,-6],[-2,-9]],[[3e3,1169],[-6,-3],[-4,2],[-12,4],[-5,7],[0,3],[2,2],[4,1],[7,-2],[4,-2],[10,-12]],[[3277,1167],[-2,0],[-3,5],[-1,8],[-8,12],[-2,7],[4,2],[9,-4],[8,-10],[1,-3],[-1,-5],[-3,-1],[1,-3],[-3,-8]],[[3053,1198],[0,-7],[4,3],[6,-3],[10,-20],[3,-14],[4,-11],[10,-18],[8,-16],[0,-8],[3,-2],[1,-3],[1,-11],[0,-12],[1,-24],[0,-6],[-5,-8],[-1,-7],[-5,-7],[-15,-12],[-1,-7],[-24,-5],[-13,-2],[-11,3],[-6,-1],[-36,-2],[-1,3],[-8,2],[-7,5],[-2,5],[6,6],[7,1],[7,-1],[6,-2],[36,-2],[12,3],[6,5],[-6,4],[-3,0],[-18,-6],[-6,-1],[-7,2],[-7,5],[0,2],[22,4],[6,4],[2,5],[-15,4],[-6,-1],[-7,1],[-12,11],[-4,-1],[-15,-15],[-6,1],[-7,3],[-6,1],[-6,-2],[8,-7],[1,-2],[-13,-9],[-5,1],[-4,5],[-3,1],[-7,-1],[-7,2],[-12,9],[-1,3],[2,6],[-1,3],[2,3],[5,4],[7,1],[6,-5],[7,-1],[-1,10],[1,3],[5,2],[7,-3],[6,-5],[7,-4],[3,3],[-6,5],[-1,3],[1,3],[5,1],[22,-4],[11,4],[-6,3],[-13,3],[-4,5],[9,4],[10,-1],[18,-4],[6,2],[5,6],[4,2],[12,-1],[10,3],[2,0],[11,-11],[2,2],[1,7],[-2,6],[-3,-1],[-9,3],[-10,1],[-7,2],[-7,4],[0,3],[3,7],[14,8],[7,3],[9,0],[3,3],[-7,4],[-5,4],[-11,1],[-6,-3],[-5,0],[-16,8],[-5,5],[0,10],[3,9],[1,7],[-1,6],[-2,3],[-4,2],[-3,4],[-2,5],[1,7],[3,5],[17,5],[27,5],[3,-2],[6,-8],[1,-13]],[[3314,1222],[-1,-1],[-5,2],[-4,3],[6,1],[3,-2],[1,-3]],[[3128,1280],[-5,-1],[-4,1],[0,5],[-2,1],[9,4],[5,0],[3,-3],[-6,-7]],[[9577,1293],[-2,-2],[-2,1],[-1,3],[1,6],[0,8],[4,-4],[3,-7],[-3,-5]],[[3128,1330],[-6,1],[2,7],[2,1],[3,-1],[2,-5],[-3,-3]],[[7383,1327],[-5,-2],[-1,2],[-7,6],[-1,7],[6,0],[7,-3],[4,-7],[-3,-3]],[[6347,1337],[-4,-2],[-3,2],[2,4],[8,0],[4,-1],[0,-3],[-7,0]],[[9535,1335],[-4,0],[-2,6],[4,0],[2,-6]],[[7403,1338],[-3,-2],[-3,0],[-3,4],[1,2],[3,1],[8,-3],[-3,-2]],[[3111,1297],[-3,-4],[-3,-1],[-4,2],[-3,-8],[-4,-4],[-2,1],[-2,-2],[-5,0],[-6,10],[0,7],[1,3],[8,10],[6,14],[7,11],[14,10],[3,-1],[1,-4],[-7,-8],[-1,-11],[3,-1],[1,-2],[4,-3],[-7,-7],[-8,-6],[6,-3],[1,-3]],[[7369,1347],[-5,-2],[-2,2],[1,5],[6,-5]],[[7744,1355],[-2,-1],[-3,2],[-1,4],[4,1],[5,-3],[-3,-3]],[[9516,1354],[-3,-2],[-6,7],[1,3],[8,-8]],[[7784,1369],[-4,0],[-1,2],[2,3],[4,1],[-1,-6]],[[3149,1370],[-6,-6],[-1,2],[2,2],[0,7],[4,3],[2,-1],[-1,-7]],[[7682,1380],[4,-2],[5,0],[2,-2],[1,-4],[-3,-2],[-15,-1],[-2,2],[2,6],[6,3]],[[7571,1393],[-4,-1],[-3,1],[-3,4],[2,2],[5,0],[4,-2],[1,-2],[-2,-2]],[[3170,1391],[-6,-2],[-3,0],[1,6],[2,2],[0,4],[2,2],[1,4],[3,2],[6,-1],[-1,-6],[-3,-1],[-2,-4],[0,-6]],[[7804,1400],[-12,-1],[-6,2],[-2,4],[4,8],[5,4],[8,1],[5,-2],[4,-4],[1,-5],[-7,-7]],[[7871,1414],[-2,-2],[-5,2],[-1,7],[-2,2],[-7,3],[-1,4],[1,2],[3,0],[7,-4],[1,-2],[0,-6],[6,-6]],[[3240,1447],[-6,-2],[2,6],[3,0],[4,4],[1,-1],[-4,-7]],[[3409,1464],[-5,2],[-1,5],[4,1],[8,5],[2,-2],[-1,-5],[-7,-6]],[[3244,1470],[-3,-6],[5,0],[5,3],[3,-3],[-6,-2],[-6,-6],[-3,-1],[-5,0],[-5,-6],[-2,2],[-6,2],[-2,2],[-5,2],[3,6],[8,5],[-1,3],[6,2],[0,4],[4,4],[6,1],[3,-4],[-1,-3],[2,-5]],[[3268,1473],[-2,-3],[-3,1],[-2,-4],[-6,2],[4,5],[5,11],[-4,5],[1,3],[3,3],[6,-1],[-1,-3],[6,-3],[-1,-6],[-2,-3],[0,-4],[-4,-3]],[[3392,1494],[2,-1],[5,6],[4,0],[-2,-3],[8,-5],[-1,-4],[2,-3],[-3,-1],[-3,-3],[4,-4],[-3,-1],[-5,2],[-3,-1],[-1,4],[-3,0],[-1,-6],[-3,0],[1,4],[-1,1],[-7,-3],[-2,3],[7,4],[-3,2],[0,6],[-3,0],[-3,-2],[-2,1],[0,3],[3,4],[1,5],[10,6],[3,0],[1,-3],[-2,-11]],[[3405,1508],[1,-1],[5,1],[2,-2],[-3,-2],[-11,1],[-2,3],[7,1],[1,-1]],[[3314,1505],[-5,-2],[1,3],[0,7],[3,3],[4,-1],[-3,-4],[-1,-3],[1,-3]],[[3447,1524],[-2,-3],[-6,4],[-2,3],[1,1],[10,2],[2,-1],[1,-4],[-4,-2]],[[0,325],[44,1],[19,-4],[20,0],[20,-1],[11,-5],[34,2],[82,-4],[84,-8],[17,-3],[16,-6],[16,1],[96,-5],[15,0],[58,-5],[112,-12],[9,1],[-5,6],[-9,5],[-13,4],[8,2],[19,0],[-4,3],[-47,3],[-146,15],[-15,4],[-23,1],[-5,3],[34,2],[4,2],[-26,9],[5,5],[14,3],[-2,4],[-25,8],[-16,3],[-10,-2],[-21,0],[-25,-1],[-14,4],[-8,6],[-23,11],[-56,11],[-10,3],[-70,17],[-4,7],[32,-8],[26,4],[9,0],[66,-14],[23,-6],[5,-2],[6,1],[55,1],[17,-1],[19,-4],[8,-7],[6,-3],[19,5],[18,3],[15,-5],[10,-6],[44,1],[19,0],[13,-3],[49,10],[7,2],[12,6],[-16,3],[-3,3],[19,3],[27,3],[16,3],[9,7],[37,11],[11,4],[11,8],[-24,16],[-23,14],[14,7],[7,6],[-15,8],[-12,3],[-59,11],[6,6],[8,3],[17,2],[108,6],[109,8],[3,3],[-15,5],[-17,2],[-1,7],[-26,5],[-11,6],[-1,3],[4,8],[6,4],[10,2],[30,0],[12,2],[0,4],[-3,4],[9,2],[1,3],[-3,4],[-6,3],[-18,4],[-40,7],[-24,8],[-8,5],[-12,4],[1,3],[-6,5],[-12,-2],[-23,1],[-28,4],[-19,5],[-25,13],[-10,6],[7,4],[8,3],[34,7],[5,2],[7,6],[-12,2],[-9,0],[-9,2],[-34,0],[-19,-1],[-16,7],[-12,7],[-4,4],[-2,6],[7,17],[1,19],[5,4],[5,1],[10,-9],[9,-1],[14,2],[12,6],[8,1],[16,-2],[15,0],[25,-6],[9,-5],[4,-6],[10,-1],[30,1],[8,0],[21,-9],[18,-9],[6,-2],[11,-2],[6,5],[10,4],[22,5],[5,6],[-11,5],[-5,1],[-3,4],[0,5],[2,4],[5,1],[11,-6],[13,-6],[4,-1],[10,3],[8,1],[15,-12],[9,-1],[11,0],[2,2],[-3,7],[-3,3],[8,5],[-6,5],[-6,2],[1,3],[8,4],[-1,9],[-2,3],[-12,5],[-17,9],[-15,4],[-35,-4],[-13,2],[-17,6],[11,3],[10,2],[8,6],[8,4],[13,-2],[29,-11],[6,-1],[20,-5],[12,1],[-5,5],[-6,3],[-15,10],[2,5],[9,7],[25,1],[10,2],[14,6],[18,10],[16,1],[19,3],[6,-2],[17,-9],[10,-4],[7,0],[-9,12],[14,3],[11,5],[17,11],[15,3],[43,5],[14,-4],[13,-1],[2,1],[9,18],[6,4],[18,4],[15,0],[10,-5],[10,-3],[9,-1],[9,0],[13,3],[18,1],[8,1],[10,-3],[23,-1],[19,-3],[11,0],[15,3],[9,1],[30,6],[23,1],[18,-3],[28,2],[29,-1],[12,-3],[65,2],[52,5],[7,2],[11,6],[6,6],[13,2],[15,-1],[20,-4],[18,1],[34,-2],[3,2],[3,10],[6,17],[4,5],[8,-2],[23,-9],[1,-4],[-6,-4],[-1,-8],[3,-2],[5,0],[3,-3],[-12,-10],[-4,-1],[-2,-12],[-3,-3],[0,-5],[5,0],[5,2],[18,4],[25,3],[9,2],[5,0],[3,3],[-5,5],[-1,5],[3,4],[-1,7],[-2,6],[4,6],[5,-2],[8,1],[4,-2],[14,-4],[6,-4],[2,-10],[-2,-10],[-6,-7],[-12,-7],[-14,-10],[3,-5],[7,1],[31,0],[20,1],[12,-1],[16,-3],[13,-4],[15,-1],[9,2],[9,-2],[34,8],[13,5],[8,-3],[13,2],[7,-1],[13,3],[9,0],[10,-1],[29,-1],[2,-5],[9,-9],[8,-3],[9,1],[7,3],[10,-1],[16,4],[21,-1],[3,2],[3,5],[-5,3],[-14,4],[-12,7],[-5,2],[-9,-1],[-9,4],[6,3],[7,9],[-3,8],[-3,2],[-8,0],[-10,-3],[-4,2],[-6,1],[-3,8],[-7,14],[-3,5],[-20,5],[-9,3],[-3,5],[2,8],[11,2],[10,-1],[20,-3],[5,-3],[4,-1],[8,0],[26,2],[6,4],[18,2],[-17,7],[-14,5],[-12,3],[-21,2],[-10,0],[-7,1],[-24,-1],[-6,2],[-5,6],[-6,14],[-2,7],[7,6],[7,0],[10,-1],[4,-2],[2,-4],[-5,-7],[2,-2],[10,0],[5,-2],[5,0],[10,2],[14,1],[15,-4],[13,3],[44,-2],[6,0],[10,-7],[5,1],[14,-4],[8,-4],[8,-2],[14,1],[10,3],[8,1],[18,-2],[9,-3],[8,1],[7,4],[25,3],[16,-1],[30,-7],[7,-1],[13,5],[5,7],[-1,8],[4,2],[3,-1],[6,6],[14,-2],[3,4],[2,7],[10,1],[7,-1],[9,-5],[0,-4],[-10,-15],[4,-7],[6,1],[8,-1],[14,3],[11,-10],[12,0],[17,9],[5,1],[6,-4],[9,-9],[8,-5],[11,-3],[10,-1],[18,-8],[15,0],[6,-2],[17,-7],[16,4],[9,3],[4,6],[-2,9],[-1,9],[2,4],[5,1],[19,-10],[-3,11],[-5,8],[1,6],[4,2],[8,-3],[9,-2],[8,-4],[16,-12],[5,-12],[10,-2],[8,0],[19,4],[9,-1],[7,2],[3,-6],[-8,-9],[-2,-5],[2,-2],[8,3],[13,-1],[10,4],[9,2],[9,4],[12,-1],[7,-4],[7,2],[10,-1],[29,15],[16,0],[10,4],[15,1],[12,5],[20,0],[10,3],[19,3],[12,4],[23,9],[10,6],[10,13],[6,13],[7,17],[-4,11],[-6,10],[-8,11],[-2,14],[1,13],[-5,22],[-6,15],[-14,23],[0,12],[-2,10],[-4,7],[-2,5],[6,3],[9,2],[22,-4],[2,6],[5,4],[4,5],[-2,7],[-4,3],[-6,7],[3,5],[4,0],[3,6],[-2,5],[2,8],[4,8],[3,4],[-5,5],[-5,7],[1,6],[5,13],[4,6],[3,2],[-1,2],[-6,2],[-5,0],[-10,-3],[-3,2],[0,4],[2,19],[6,2],[4,7],[3,0],[2,-2],[1,-9],[1,-2],[0,-5],[2,-1],[2,3],[4,1],[4,-2],[-1,11],[-1,4],[2,6],[-2,8],[1,3],[5,6],[4,0],[9,-4],[4,5],[1,10],[-3,3],[0,3],[2,2],[2,7],[9,0],[4,1],[-2,3],[-1,4],[8,3],[10,-4],[3,3],[-1,4],[-3,1],[0,7],[5,-2],[3,5],[-2,3],[6,1],[3,4],[2,1],[5,-1],[2,5],[-3,0],[-4,3],[-1,8],[1,6],[4,5],[4,3],[8,-2],[6,0],[2,-3],[4,-1],[0,4],[-2,8],[9,6],[3,-1],[4,1],[-1,4],[2,6],[3,1],[2,-5],[2,-1],[3,1],[7,6],[7,1],[4,4],[1,4],[8,6],[8,12],[-1,3],[1,2],[17,8],[8,1],[13,5],[8,6],[5,3],[5,7],[5,1],[13,5],[10,7],[13,6],[6,-1],[3,-2],[1,-6],[3,-8],[4,-3],[-2,-4],[-3,1],[-4,-1],[-1,4],[1,2],[-1,3],[-9,-2],[-11,-8],[-11,-6],[-8,-9],[-5,-9],[-3,-7],[-5,0],[-1,-3],[3,-2],[4,-1],[-3,-5],[3,-4],[0,-4],[-3,-1],[-4,5],[-5,0],[-7,6],[-2,-1],[-2,-4],[1,-6],[-2,-3],[-2,2],[-1,6],[-5,1],[-8,-7],[-3,0],[-1,-3],[-8,-7],[-7,-10],[-4,-5],[-7,-2],[-3,0],[-5,2],[-3,0],[-1,-3],[5,-8],[-3,-3],[-5,0],[-3,2],[-2,-2],[-3,-6],[2,-7],[8,-4],[1,-2],[-7,-2],[-9,-14],[1,-4],[3,-7],[5,-5],[10,1],[2,2],[6,0],[2,5],[7,-1],[1,3],[2,1],[8,0],[2,-3],[-5,-7],[-3,2],[-3,0],[-2,-3],[3,-4],[-3,-9],[-3,3],[0,5],[-8,3],[-3,-4],[-4,-2],[-2,-10],[-3,2],[-1,6],[-6,5],[-13,-1],[-3,-1],[-2,-4],[3,-3],[1,-4],[-1,-7],[3,-4],[0,-5],[-3,0],[-2,2],[-8,13],[-5,5],[-2,6],[-9,1],[-5,-2],[3,-6],[-3,-2],[-6,-10],[-3,-4],[8,-6],[1,-6],[-2,-3],[-6,-1],[-10,5],[-4,0],[-1,3],[-3,-1],[-1,-5],[-4,-7],[1,-5],[2,-1],[-7,-5],[5,-2],[1,-3],[-8,-2],[-7,1],[-3,-1],[-2,-6],[3,-13],[-5,-9],[0,-3],[4,-8],[-3,-2],[-2,-5],[2,-1],[10,1],[7,4],[3,-1],[-1,-5],[-14,-7],[-2,-3],[10,-2],[3,-2],[-2,-2],[-5,-8],[2,-2],[7,-3],[13,-4],[10,-2],[-2,5],[0,6],[6,5],[4,2],[16,2],[8,-1],[-1,-2],[-10,-1],[-10,-6],[-2,-2],[0,-4],[9,-3],[3,-3],[-4,-8],[1,-5],[4,-6],[6,-7],[2,-4],[5,-2],[7,-6],[3,-7],[2,-14],[5,-11],[7,-6],[1,-4],[-2,-5],[-6,3],[-3,-3],[-2,-5],[11,-7],[14,0],[0,-4],[-6,-7],[-8,-3],[-1,-4],[2,-5],[7,2],[11,-1],[2,-7],[8,-14],[-1,-5],[-4,-1],[-7,-6],[-4,-2],[-7,-8],[-5,-2],[11,-1],[10,6],[3,-1],[3,-4],[1,-5],[-2,-4],[-17,-3],[-8,-2],[-9,-7],[10,-3],[7,1],[9,-3],[6,1],[4,2],[7,-1],[0,-11],[1,-6],[-2,-3],[-9,-3],[-6,0],[0,-7],[9,-6],[6,3],[6,-2],[0,-9],[4,-10],[3,0],[3,4],[4,0],[2,-5],[-2,-9],[-3,-5],[-12,3],[-9,-6],[-6,0],[-9,8],[-16,2],[2,-4],[4,-2],[1,-7],[3,-7],[6,2],[10,-4],[5,-5],[3,-5],[-4,-10],[-8,-4],[-5,3],[-4,0],[-4,-2],[-2,-4],[-3,-2],[15,0],[4,-1],[4,-4],[-6,-5],[-9,1],[-4,-2],[-4,-4],[15,-2],[5,1],[10,4],[2,-4],[-4,-3],[-5,-7],[-17,-2],[-17,5],[1,-4],[9,-12],[1,-4],[-2,-5],[-12,-5],[-6,3],[-4,10],[-5,2],[-8,1],[2,-10],[-2,-3],[-5,1],[-5,-1],[-11,-6],[17,-2],[4,-4],[-1,-2],[-9,-1],[-9,-2],[-11,-5],[8,-3],[8,1],[11,-2],[1,-3],[-3,-3],[-19,-7],[-20,-9],[-15,-5],[-29,-11],[-32,-6],[-50,-13],[-17,-10],[-5,-8],[-13,-4],[-9,-1],[-25,-1],[-26,4],[-21,1],[-11,-1],[-39,6],[-15,-1],[-12,1],[-26,-2],[-3,-5],[4,-7],[9,-9],[16,-17],[9,-3],[5,-4],[10,-4],[23,0],[30,-4],[18,-3],[-1,-6],[-11,-11],[-6,-5],[-16,-8],[-21,-4],[-16,2],[-29,6],[-36,6],[-54,6],[-26,5],[-14,-5],[-13,-1],[4,-2],[54,-15],[45,-12],[6,-3],[6,-1],[0,-8],[-3,-5],[-9,-5],[-23,-1],[-30,-4],[-14,0],[-15,4],[-31,11],[-18,9],[-14,9],[-9,8],[-9,3],[2,-5],[5,-6],[7,-6],[-8,0],[-7,-6],[5,-9],[9,-9],[8,-2],[11,-6],[26,-11],[12,-11],[2,-6],[7,-6],[10,-1],[2,5],[-1,7],[10,3],[19,-3],[82,-1],[8,-3],[3,-5],[2,-9],[-8,-11],[-6,-5],[-19,-5],[-13,-1],[-28,1],[-27,0],[21,-6],[21,-4],[28,1],[11,1],[10,2],[11,-12],[8,-5],[6,-13],[7,-11],[12,-5],[8,3],[16,1],[16,-4],[10,-1],[13,3],[10,5],[22,5],[10,4],[13,-2],[5,-5],[4,-7],[13,-6],[16,-2],[17,2],[7,-2],[5,-8],[5,-1],[67,-18],[23,-3],[35,-2],[27,0],[9,-5],[-21,-3],[-36,2],[-13,0],[-9,-2],[-17,-2],[4,-3],[19,-1],[17,0],[2,-4],[-16,-1],[-34,-1],[-6,-3],[8,-2],[2,-3],[-4,-8],[6,-6],[8,0],[14,-5],[14,0],[18,4],[8,0],[23,2],[21,0],[29,4],[9,0],[-8,-5],[-36,-11],[-17,-3],[2,-6],[14,-11],[6,-9],[6,-2],[14,1],[0,-6],[-11,-14],[5,-3],[12,-2],[32,-1],[9,-1],[54,33],[6,3],[36,15],[7,6],[14,0],[19,9],[18,7],[11,1],[7,2],[15,-1],[10,1],[19,5],[15,2],[15,3],[17,0],[47,4],[13,-1],[15,-5],[22,1],[8,2],[4,-5],[2,-7],[-4,-6],[-7,-4],[-2,-7],[9,-3],[32,4],[16,4],[5,3],[6,-1],[11,4],[14,14],[17,15],[14,9],[9,11],[8,7],[15,7],[13,0],[19,8],[27,9],[21,-5],[23,-6],[11,5],[8,1],[15,4],[5,5],[7,3],[6,6],[55,6],[4,2],[4,-1],[10,1],[12,3],[17,1],[9,-1],[9,9],[16,1],[30,7],[142,6],[6,3],[12,2],[5,7],[-19,2],[-6,3],[-10,-1],[-147,11],[-3,0],[-4,6],[1,10],[-4,9],[-9,2],[-10,0],[-11,-1],[-32,-5],[-12,0],[-34,7],[-22,7],[-14,3],[-21,9],[0,9],[2,9],[19,24],[11,12],[8,1],[7,5],[8,12],[6,6],[13,6],[27,10],[15,-1],[11,7],[33,16],[8,6],[9,3],[26,13],[24,7],[12,2],[14,4],[30,11],[50,11],[30,3],[20,3],[14,-2],[15,1],[18,5],[8,6],[28,-3],[17,4],[8,1],[8,2],[-6,2],[-7,8],[4,8],[3,3],[8,5],[4,6],[4,10],[14,18],[4,3],[8,1],[7,-1],[9,0],[21,-4],[4,1],[12,13],[12,10],[2,3],[-1,5],[-18,-3],[-13,-3],[-14,2],[-1,3],[3,2],[5,1],[1,3],[-4,3],[-8,1],[-4,3],[3,12],[4,2],[13,14],[6,3],[16,3],[19,-4],[5,1],[4,6],[-5,9],[-3,3],[0,3],[10,-1],[9,-2],[11,0],[13,9],[18,8],[9,3],[8,1],[4,8],[6,14],[5,8],[0,4],[-2,4],[-9,-1],[-10,3],[-12,6],[-4,7],[-2,6],[4,4],[4,2],[4,0],[7,-2],[9,-7],[5,-2],[5,-4],[4,0],[5,6],[4,9],[8,5],[5,4],[-2,4],[-6,2],[-1,3],[3,3],[5,0],[5,-6],[8,-4],[6,-1],[5,-3],[7,-11],[9,-18],[4,0],[8,2],[8,0],[6,5],[1,13],[2,6],[-1,6],[-3,6],[-4,4],[1,3],[3,3],[10,3],[10,-3],[13,1],[9,4],[8,2],[7,-2],[3,-6],[-4,-6],[-10,-11],[-1,-10],[5,-1],[41,1],[6,-1],[7,0],[8,-2],[13,1],[12,2],[6,0],[9,-2],[7,-4],[14,1],[4,2],[4,5],[4,2],[5,-5],[2,-11],[2,-5],[6,-5],[6,4],[4,5],[9,9],[11,7],[8,4],[20,7],[10,5],[19,6],[25,3],[45,11],[15,1],[24,3],[12,3],[13,2],[7,8],[18,-6],[6,-1],[8,5],[9,12],[13,-5],[8,-8],[9,-6],[27,-13],[14,-2],[4,2],[6,7],[7,10],[4,4],[13,9],[-2,3],[-7,3],[1,3],[12,0],[6,-10],[15,-6],[19,2],[15,0],[14,-2],[7,1],[6,7],[10,3],[6,-3],[3,-11],[13,-4],[26,-5],[3,2],[4,5],[2,8],[5,1],[7,4],[4,-1],[5,-4],[-2,-12],[-3,-10],[4,-9],[3,-5],[11,-1],[13,1],[26,4],[3,9],[5,11],[10,14],[7,-3],[7,-7],[4,-3],[1,-5],[-4,-5],[1,-3],[4,-2],[15,-4],[5,1],[7,4],[7,8],[4,10],[6,0],[6,-2],[4,-6],[0,-9],[6,-7],[5,-4],[12,-5],[12,-1],[9,-2],[15,1],[7,3],[5,0],[8,3],[8,6],[5,2],[19,5],[15,6],[15,10],[15,6],[30,4],[9,0],[21,8],[8,4],[5,1],[5,6],[5,16],[0,6],[-2,8],[-5,7],[-4,11],[2,12],[3,4],[10,6],[10,1],[20,-2],[0,-5],[-9,-11],[-3,-2],[1,-5],[7,0],[15,1],[4,-5],[11,-18],[2,-9],[4,-2],[6,1],[12,0],[9,1],[7,0],[4,-1],[4,-4],[7,-5],[7,4],[5,2],[7,-1],[9,-5],[10,-14],[11,-6],[1,4],[-2,5],[5,5],[5,8],[8,10],[6,10],[1,15],[3,12],[5,6],[12,7],[10,1],[8,8],[7,4],[13,5],[16,4],[11,14],[10,3],[11,1],[22,5],[10,3],[8,8],[5,2],[11,0],[9,4],[7,0],[7,3],[1,4],[-3,4],[-1,4],[4,6],[3,2],[9,-1],[8,-4],[5,-1],[2,-2],[-5,-4],[-3,-6],[10,-9],[6,1],[7,3],[7,-2],[3,-5],[0,-8],[2,-4],[5,4],[2,7],[-1,10],[1,6],[11,10],[5,7],[-8,2],[-6,-1],[-3,2],[-4,8],[10,6],[12,0],[7,-6],[14,-8],[8,0],[7,-1],[2,3],[-3,12],[0,7],[-6,3],[-1,9],[2,9],[7,5],[10,3],[21,14],[5,3],[14,3],[16,1],[20,5],[35,-3],[16,-5],[13,-12],[10,-10],[14,-3],[4,-3],[5,-8],[-5,-5],[-5,0],[-8,3],[-6,3],[-5,-1],[5,-6],[4,-3],[1,-5],[-3,-6],[-16,-13],[10,-4],[6,3],[5,6],[9,3],[13,0],[8,2],[5,-1],[6,-4],[19,-7],[15,-15],[11,2],[6,3],[17,1],[15,-7],[8,-2],[24,-2],[14,-4],[9,5],[6,2],[13,1],[7,-1],[18,-6],[31,-5],[22,-3],[19,0],[25,-5],[7,-2],[16,2],[7,2],[7,4],[4,-1],[3,-6],[-2,-10],[5,-13],[4,-6],[2,-5],[-2,-4],[-11,-12],[1,-7],[2,-4],[-3,-5],[3,-8],[0,-4],[-2,-4],[-5,-2],[-9,0],[-4,-2],[-1,-6],[2,-4],[5,-2],[2,-5],[-1,-6],[-2,-6],[-5,-3],[-14,1],[-6,4],[-5,-4],[-12,-11],[-9,-10],[11,-3],[8,-6],[17,1],[13,5],[4,-1],[2,-5],[-1,-9],[0,-7],[-9,-19],[-3,-3],[-4,-6],[-5,-4],[-4,-2],[-7,-6],[-5,-11],[-5,-9],[-7,-15],[-6,-26],[-3,-11],[-6,-17],[-4,-3],[-7,-8],[2,-4],[12,-2],[9,-4],[12,8],[6,5],[1,9],[-1,10],[4,6],[8,8],[25,6],[7,2],[6,7],[5,7],[9,4],[8,7],[1,5],[4,1],[9,5],[6,7],[2,6],[1,12],[2,9],[8,20],[4,6],[10,3],[4,3],[10,12],[-1,9],[3,8],[6,5],[8,9],[9,1],[8,5],[8,-3],[9,-5],[16,2],[8,-2],[6,2],[5,7],[2,9],[6,5],[7,0],[11,8],[12,8],[10,2],[7,6],[6,10],[6,8],[7,8],[2,13],[5,7],[8,6],[7,3],[30,10],[23,6],[23,8],[7,0],[9,5],[20,0],[5,10],[11,8],[8,3],[9,8],[7,0],[10,-1],[9,-2],[8,0],[11,6],[17,1],[6,3],[4,3],[25,8],[9,-1],[13,1],[8,0],[17,-2],[17,3],[7,3],[13,7],[15,2],[14,4],[15,-7],[4,0],[9,3],[8,-1],[10,-3],[7,-3],[3,0],[7,3],[7,5],[7,3],[12,-4],[8,-4],[24,2],[19,6],[8,-5],[9,-1],[15,8],[13,-5],[4,-7],[14,1],[23,11],[11,2],[8,4],[12,15],[0,5],[4,4],[20,-1],[6,2],[8,4],[13,-3],[14,-5],[8,0],[10,-2],[10,-6],[9,-2],[39,-14],[22,-3],[11,-5],[6,-6],[5,-1],[5,2],[6,-7],[15,-6],[15,-3],[10,5],[17,12],[6,6],[-1,12],[8,13],[16,7],[30,7],[15,2],[8,-2],[4,-3],[5,-2],[7,-8],[11,-17],[8,-6],[12,-2],[7,-4],[9,-12],[-6,-10],[-4,-4],[-20,-5],[-8,-4],[-8,-2],[-2,-9],[3,-4],[8,2],[10,1],[14,4],[6,4],[14,3],[9,3],[8,2],[6,3],[6,0],[5,-3],[5,0],[12,-1],[6,2],[5,0],[5,-1],[6,-3],[5,-1],[7,2],[23,9],[11,1],[5,-1],[-11,-5],[-19,-7],[-10,-7],[6,-3],[35,8],[16,5],[14,3],[4,2],[11,9],[5,2],[28,7],[13,4],[8,4],[7,0],[4,-3],[7,-3],[6,1],[8,3],[8,12],[13,4],[6,-2],[9,-4],[7,-2],[6,-15],[14,-13],[4,-4],[12,2],[13,-6],[6,1],[5,2],[4,-1],[8,3],[14,33],[6,7],[4,3],[5,1],[8,4],[10,1],[8,-2],[17,-1],[13,4],[16,0],[7,4],[8,1],[11,-4],[10,-7],[3,-12],[3,0],[10,7],[6,2],[10,11],[6,-3],[13,-5],[5,-1],[10,-8],[5,1],[4,4],[13,0],[11,-4],[5,-3],[6,-5],[3,-1],[3,2],[24,-2],[11,-4],[8,-4],[28,-3],[10,-4],[7,2],[12,-1],[10,-8],[10,-4],[6,1],[8,3],[7,4],[8,0],[4,-3],[1,-9],[6,0],[6,4],[6,-1],[2,-6],[-3,-8],[-7,-11],[-3,-10],[-6,-9],[1,-4],[6,-2],[6,6],[13,5],[7,5],[12,2],[11,-2],[9,-7],[15,-12],[2,-9],[0,-4],[-3,-5],[9,-6],[7,-1],[6,1],[24,-5],[12,2],[11,0],[12,1],[10,-1],[8,0],[9,1],[7,3],[4,-2],[2,-21],[4,-3],[8,7],[19,-2],[8,0],[7,-3],[8,-5],[7,2],[4,4],[6,2],[2,5],[1,8],[-1,8],[4,2],[8,-5],[10,-13],[12,-12],[5,-3],[10,-7],[13,-3],[13,-7],[16,1],[12,-8],[8,6],[5,2],[6,-2],[7,-5],[6,-1],[21,-9],[11,-3],[4,-6],[5,-6],[0,-6],[3,-8],[12,-6],[11,-14],[11,-29],[5,-5],[8,0],[8,-7],[3,4],[-7,19],[-1,11],[6,6],[12,2],[10,-11],[9,-7],[6,-2],[12,1],[11,7],[9,-3],[14,0],[18,-5],[7,1],[14,-2],[17,-6],[9,-2],[2,-3],[5,-4],[4,-10],[6,-5],[6,-1],[11,-4],[24,-14],[9,-4],[5,-3],[3,4],[0,7],[5,2],[9,-19],[3,-7],[-5,-6],[-13,1],[-5,-9],[-3,-17],[5,0],[4,2],[1,-6],[-3,-5],[-4,-2],[-17,6],[-10,1],[-10,5],[-8,0],[11,-10],[12,-4],[16,-6],[0,-4],[-3,-4],[-5,-10],[-14,-9],[-8,6],[-10,2],[-5,-4],[-10,1],[-19,-2],[-8,8],[-12,4],[1,-3],[10,-13],[11,-3],[11,-4],[2,-3],[-5,-3],[-6,0],[-9,-6],[-15,1],[-8,0],[-4,-3],[-4,-1],[3,-2],[4,-6],[-6,-5],[-5,-2],[-5,1],[-5,-2],[-3,6],[0,12],[-4,11],[-8,-1],[-2,-10],[4,-16],[2,-5],[-2,-4],[-3,-2],[13,-23],[4,-3],[0,-4],[-3,-2],[-8,2],[-9,-1],[-7,2],[-7,1],[-7,-3],[-5,1],[-5,8],[-5,2],[-3,-3],[-3,-10],[-12,-7],[-4,-5],[-2,-20],[-3,-4],[-5,0],[-4,-2],[-11,3],[-22,-7],[4,-3],[24,-1],[8,-3],[1,-9],[3,-4],[11,-6],[2,-3],[-4,-12],[-6,-6],[1,-3],[7,-1],[2,-14],[-4,-6],[3,-10],[-8,-7],[-1,-5],[6,-3],[12,-2],[10,-13],[4,-7],[1,-11],[4,-7],[7,-4],[0,-5],[11,-2],[2,-4],[-2,-5],[-9,-6],[-4,-4],[9,-1],[10,-5],[11,6],[6,5],[4,5],[3,-1],[4,-14],[15,-8],[9,-3],[15,-1],[2,-5],[-2,-5],[-15,0],[-11,7],[-41,-2],[-10,-2],[-11,-5],[-11,-2],[-17,-5],[-7,-3],[-18,12],[-6,8],[-3,1],[-4,-2],[0,-6],[8,-14],[4,-3],[0,-4],[-6,-1],[-5,2],[-10,2],[-9,-4],[-11,-9],[6,-9],[-1,-4],[-12,-7],[-7,-2],[3,-2],[7,-1],[1,-3],[-3,-2],[-11,-3],[1,-4],[6,-2],[8,0],[4,-3],[1,-4],[-11,-5],[-39,-11],[-6,-4],[0,-4],[14,-1],[41,1],[3,-1],[-4,-8],[3,-3],[6,-2],[0,-4],[-16,-3],[1,-3],[12,-4],[0,-17],[-7,-4],[0,-4],[12,-3],[19,-12],[4,0],[19,-9],[5,-4],[6,-2],[5,-6],[17,-9],[2,-4],[-35,-7],[-35,-5],[4,-5],[37,0],[11,-3],[7,5],[41,6],[6,-2],[28,-14],[13,-5],[14,-3],[9,-6],[-1,-5],[10,-5],[14,4],[14,-5],[-10,-10],[-16,0],[5,-5],[7,-2],[48,-2],[14,-5],[13,3],[12,-3],[2,-4],[17,-5],[15,-2],[12,0],[14,-5],[7,0],[5,-3],[33,-2],[9,-6],[16,-1],[46,-6],[51,-8],[-9982,-8]],[[3457,1545],[1,-2],[9,0],[2,-7],[-2,-2],[-12,1],[-4,3],[-8,-3],[-2,-2],[-8,-4],[-2,2],[-1,5],[3,5],[9,5],[13,1],[2,-2]],[[3442,1550],[-6,-5],[-2,0],[-6,4],[-1,3],[3,4],[12,-2],[0,-4]],[[3318,1556],[-5,-1],[-1,3],[3,3],[3,-5]],[[3260,1551],[-1,2],[3,6],[6,3],[-2,-6],[-6,-5]],[[3315,1580],[1,-1],[13,2],[3,-4],[5,0],[-11,-8],[-3,4],[-1,4],[-9,-1],[-3,-2],[-7,-1],[-3,5],[5,0],[4,3],[1,4],[2,-1],[3,-4]],[[3349,1587],[-3,-1],[-3,3],[-1,3],[5,0],[2,-1],[0,-4]],[[3365,1595],[-6,-3],[-4,4],[4,2],[5,-1],[1,-2]],[[3389,1617],[3,-1],[3,1],[2,-1],[1,-5],[-5,1],[-4,-4],[-5,1],[-1,-7],[-4,3],[-4,-1],[-1,-5],[-2,-1],[-5,2],[-5,3],[6,7],[1,2],[8,4],[4,-1],[8,2]],[[3497,1653],[-1,-1],[-2,2],[0,2],[2,2],[2,-3],[-1,-2]],[[3467,1657],[-4,-2],[-2,6],[-2,3],[2,2],[20,-3],[-2,-1],[-9,-2],[-3,-3]],[[3729,1697],[6,-1],[3,-2],[1,-3],[4,0],[1,-2],[0,-4],[-6,5],[-9,0],[-2,4],[-4,-2],[0,5],[3,-1],[3,1]],[[6923,2358],[-1,-1],[-2,6],[0,5],[3,0],[3,-1],[0,-3],[-2,-5],[-1,-1]],[[6921,2355],[2,-1],[7,8],[2,1],[0,-6],[1,-3],[-5,0],[-1,-3],[4,-5],[3,0],[5,2],[4,4],[2,1],[4,0],[3,5],[5,-2],[2,-7],[-2,-7],[-3,-2],[1,-3],[-2,-1],[-3,4],[-2,1],[-7,0],[0,-2],[-3,-3],[-2,-1],[3,-5],[4,-3],[2,0],[0,4],[3,1],[4,-5],[-3,-2],[0,-2],[-2,-3],[-6,1],[-3,3],[0,2],[-2,0],[-4,-3],[-3,2],[-4,4],[-2,1],[-3,0],[-2,-7],[-3,-3],[-3,0],[-2,1],[-1,2],[1,3],[0,3],[2,6],[0,3],[-2,3],[1,4],[-1,5],[2,1],[-3,6],[2,8],[0,5],[2,4],[1,5],[3,2],[1,-2],[-1,-4],[2,-1],[0,-5],[-1,-4],[-2,-5],[1,-4],[4,-1]],[[6439,2508],[-4,1],[-1,3],[2,3],[3,-7]],[[3285,6165],[-1,-3],[-3,1],[-1,3],[0,2],[2,4],[4,-4],[0,-2],[-1,-1]],[[3284,6196],[0,-2],[-3,3],[0,7],[3,-3],[0,-5]],[[9412,2032],[-1,0],[1,12],[2,2],[0,-6],[-2,-8]],[[9092,2684],[-1,-6],[-3,1],[-2,-1],[-1,4],[2,1],[1,2],[0,3],[3,2],[0,-3],[1,-3]],[[9094,2693],[-2,0],[-1,3],[0,4],[1,2],[1,-2],[1,-7]],[[9113,2723],[-2,0],[0,3],[-1,1],[2,3],[2,-1],[0,-2],[-2,-2],[1,-2]],[[9028,2834],[3,0],[3,1],[4,-5],[3,0],[1,-3],[5,-3],[2,-4],[8,-5],[6,-3],[7,2],[4,3],[3,-2],[1,3],[2,3],[2,1],[3,0],[4,2],[2,0],[4,-2],[4,9],[7,-2],[3,5],[2,0],[5,-4],[2,-5],[0,-30],[0,-33],[1,-2],[0,-11],[-1,0],[-1,3],[1,2],[-1,4],[-2,2],[-2,-2],[-1,-4],[-2,-5],[0,-10],[-3,-13],[0,-9],[2,-8],[0,-11],[-1,-2],[-4,-2],[-3,6],[-1,5],[1,3],[2,-2],[1,2],[0,3],[-3,3],[-3,1],[-1,-1],[0,-7],[-3,-2],[-1,8],[-2,-4],[0,-3],[-2,-4],[0,-8],[-2,-2],[-5,6],[0,-4],[2,-3],[-2,-6],[-1,-7],[-3,-7],[-4,1],[-5,5],[-10,0],[-4,-2],[0,6],[-1,4],[3,1],[3,0],[0,2],[-7,3],[-2,-1],[-2,3],[-6,14],[-3,4],[-6,22],[-1,5],[-1,13],[5,-6],[2,-9],[2,6],[0,2],[-5,7],[-1,2],[-2,0],[1,5],[-1,5],[-5,11],[-4,11],[-4,13],[0,4],[-2,9],[-1,6],[0,6],[1,11],[1,7],[2,-3],[7,-4]],[[9116,2850],[-1,-5],[-2,4],[3,1]],[[9020,2850],[-2,1],[2,3],[1,0],[-1,-4]],[[9119,2862],[4,-8],[-2,-3],[-2,0],[0,3],[-3,-1],[-3,0],[-3,3],[1,3],[4,0],[4,3]],[[9110,2893],[5,-10],[3,-3],[0,-4],[-1,-2],[2,-3],[-3,-5],[-3,-2],[-3,5],[-3,10],[-1,6],[-2,0],[-1,2],[2,2],[3,6],[2,-2]],[[8997,2873],[-1,-1],[-1,4],[0,4],[-1,5],[1,4],[0,8],[2,2],[0,4],[2,1],[2,-4],[1,-8],[0,-5],[1,-5],[-1,-4],[-2,-3],[-3,-2]],[[9035,2966],[-1,-1],[-4,-1],[2,4],[3,-2]],[[9040,2974],[-4,-4],[-2,2],[0,3],[1,1],[3,0],[2,-2]],[[8821,3125],[6,-2],[3,3],[3,-2],[2,-6],[-1,-3],[-2,0],[-5,2],[-4,-1],[-2,-3],[0,-5],[-4,-3],[-2,4],[-5,2],[-2,-3],[-3,0],[-3,-1],[-5,1],[-6,8],[1,5],[2,3],[13,5],[6,4],[7,-1],[2,-2],[-1,-5]],[[9264,3603],[-3,-16],[-1,0],[0,12],[1,6],[3,-2]],[[9261,3610],[-1,-1],[-1,6],[0,10],[3,1],[-2,-9],[1,-7]],[[8143,3683],[-1,-3],[-5,18],[-2,13],[2,2],[3,-17],[1,-4],[0,-3],[2,-6]],[[9251,3700],[-1,-1],[-1,2],[-1,11],[2,11],[0,9],[4,7],[1,4],[0,5],[-1,5],[-1,1],[1,3],[2,2],[1,-11],[2,-3],[-8,-41],[0,-4]],[[9197,3830],[3,-2],[-1,-4],[2,-4],[0,-3],[-1,-3],[-2,2],[-4,12],[1,4],[2,-2]],[[9180,3898],[-2,0],[2,5],[0,-5]],[[9163,3905],[-1,-2],[0,9],[1,1],[0,-8]],[[8206,3986],[-2,-5],[-2,1],[0,3],[3,8],[1,-3],[0,-4]],[[9139,4015],[-2,-1],[-1,1],[1,7],[2,-7]],[[9062,4133],[0,-5],[2,-5],[-2,-4],[-3,7],[-2,4],[0,2],[2,0],[3,1]],[[8872,4198],[-1,1],[1,2],[1,4],[2,-3],[1,-3],[-4,-1]],[[8874,4229],[-2,-5],[-1,0],[-1,-2],[-2,-2],[-2,0],[-2,-1],[0,7],[2,5],[2,4],[4,1],[4,3],[1,-1],[2,-6],[-4,-1],[-1,-2]],[[8807,4275],[-1,-3],[-2,3],[0,3],[-1,0],[0,3],[1,1],[2,-1],[0,-4],[1,-2]],[[8793,4283],[-2,0],[-1,3],[1,2],[2,1],[0,-6]],[[8460,4296],[-2,-1],[0,2],[-1,3],[0,2],[1,2],[2,-5],[0,-3]],[[8476,4344],[-1,-4],[-2,3],[1,6],[1,2],[1,-1],[0,-6]],[[8796,4388],[1,-2],[2,0],[1,5],[1,0],[0,-2],[1,-2],[-2,-4],[-2,-3],[-1,-7],[0,-3],[1,-2],[3,-2],[1,1],[1,-1],[-2,-6],[-3,1],[-4,0],[-8,3],[0,1],[2,5],[0,15],[3,4],[2,4],[2,3],[1,-1],[0,-7]],[[8783,4387],[-1,-1],[-2,1],[0,4],[1,1],[1,4],[2,-2],[0,-5],[-1,-2]],[[8623,4511],[2,-2],[1,-2],[0,-2],[1,-2],[-3,-1],[-5,3],[-6,-3],[-1,0],[-1,2],[1,7],[2,-1],[1,2],[0,7],[-1,3],[3,7],[2,1],[1,-4],[0,-6],[2,-4],[1,-5]],[[8627,4528],[4,0],[4,4],[2,-2],[1,0],[3,5],[3,1],[1,3],[1,-4],[4,-3],[2,-7],[-2,-9],[-2,0],[-2,-7],[-10,-13],[-8,11],[-4,7],[-3,10],[0,8],[-1,5],[0,2],[2,0],[2,-5],[3,-6]],[[8793,4528],[-1,1],[2,9],[2,1],[0,2],[1,3],[0,4],[1,1],[-1,-10],[-4,-11]],[[8682,4532],[-1,-1],[-2,9],[1,3],[-1,5],[1,0],[1,4],[1,-2],[0,-6],[1,-4],[-1,-8]],[[8976,4495],[-2,-13],[0,-7],[2,-4],[2,-2],[1,-6],[3,-8],[0,-5],[2,-7],[1,-14],[1,-12],[1,-8],[-1,-17],[1,-7],[2,-6],[1,-12],[2,-10],[2,-3],[4,-4],[4,4],[2,6],[4,1],[4,3],[3,-8],[2,-7],[7,-11],[4,-7],[3,-3],[3,-5],[0,-5],[-1,-4],[1,-6],[1,-8],[-1,-8],[2,-13],[1,-10],[2,-11],[0,-10],[-1,-4],[0,-6],[2,-7],[2,-5],[5,-15],[3,-2],[2,0],[-1,-9],[5,-18],[2,-14],[-2,-20],[-1,-12],[0,-5],[5,-14],[3,-2],[0,-7],[-1,-10],[3,-8],[3,-6],[2,-3],[3,-3],[4,-3],[5,-1],[3,-4],[1,-4],[4,-1],[1,1],[3,1],[2,-5],[2,-9],[5,-8],[3,-2],[1,-4],[5,-2],[3,-3],[5,-8],[4,-1],[2,-2],[5,-8],[2,-5],[1,-6],[-2,-1],[-2,1],[-1,-6],[3,-9],[3,-6],[4,-7],[4,-9],[1,-8],[1,-3],[2,-10],[3,-6],[0,-10],[4,-29],[3,-10],[2,1],[1,2],[3,-7],[2,-1],[-1,12],[1,8],[2,1],[2,-6],[3,-6],[5,-6],[3,-5],[1,0],[0,10],[2,1],[1,-3],[2,-9],[1,-19],[0,-16],[2,-16],[4,-8],[4,-11],[3,-2],[7,-11],[2,-1],[3,0],[4,-5],[2,-5],[4,-17],[2,-5],[7,-8],[2,-4],[3,-16],[3,-7],[4,-4],[3,-10],[0,-14],[3,-11],[3,-3],[1,-2],[-2,-20],[2,-39],[-1,-12],[2,-12],[5,-21],[2,-16],[4,-11],[-1,-17],[2,-8],[-1,-11],[-4,-11],[-3,-14],[0,-12],[-2,-22],[-2,-16],[-5,-23],[0,-9],[1,-11],[-1,-10],[-1,-7],[-1,-13],[-4,-21],[-7,-14],[0,-12],[-2,-11],[-6,-10],[-1,-4],[-2,-4],[-5,-4],[-4,-5],[-4,-11],[-4,-12],[-2,-2],[0,-3],[-1,-7],[-4,-4],[1,-7],[-1,-8],[0,-5],[-1,-3],[-2,0],[1,-3],[-3,-7],[-4,-8],[-1,-5],[-2,-7],[-1,-14],[-1,-8],[1,-6],[-1,-2],[-1,1],[-2,-4],[1,-5],[-4,-3],[-5,-21],[-3,-6],[-2,-9],[-2,-16],[-1,-15],[-1,-10],[-2,-10],[-1,-7],[0,-13],[1,-11],[-1,-5],[0,-5],[-1,-5],[-3,-1],[-3,-4],[-4,-7],[-2,-2],[-5,-2],[-10,1],[-19,-3],[-4,-1],[-7,-5],[-7,-7],[-6,-9],[-15,-26],[-12,-2],[-4,0],[-2,-1],[0,-4],[2,-3],[1,-3],[3,4],[1,-1],[1,-8],[0,-5],[-1,-3],[-2,-1],[-1,1],[-5,15],[-3,2],[-1,-2],[-3,-2],[-4,13],[-2,1],[-3,0],[-6,7],[2,7],[2,1],[0,5],[-1,4],[-3,1],[-2,-1],[-2,-3],[-1,-6],[-7,-6],[-3,3],[-3,6],[5,0],[3,5],[3,9],[-2,5],[-2,3],[-3,3],[-9,-10],[-4,-3],[3,-2],[2,0],[2,-3],[-3,-4],[-3,-1],[-3,-3],[-7,-6],[-8,-14],[-3,-4],[-4,-3],[-6,4],[-3,1],[-4,5],[-7,4],[-6,8],[-4,3],[-3,1],[-5,-1],[-7,6],[-6,1],[-3,-7],[-5,2],[-6,11],[-5,5],[-11,3],[-7,8],[-5,14],[-9,17],[-4,12],[0,5],[1,9],[3,14],[-4,16],[-5,16],[-2,5],[-6,11],[-6,8],[-2,4],[0,2],[3,-1],[1,3],[2,1],[1,-4],[2,-1],[0,7],[1,4],[-1,3],[-3,1],[-3,-2],[-2,-3],[-3,-3],[-1,-3],[-4,0],[-6,-6],[-3,0],[-6,2],[2,7],[4,10],[3,17],[0,15],[-2,6],[-5,13],[-2,7],[-3,8],[-2,-9],[-2,-7],[-2,-16],[-5,-24],[-3,0],[-3,1],[-5,-3],[-4,-3],[-3,0],[-2,-1],[-2,1],[4,18],[10,0],[2,9],[1,10],[-1,6],[0,6],[1,7],[0,6],[4,17],[4,9],[4,7],[0,7],[-2,8],[0,7],[2,2],[2,4],[-2,19],[-4,11],[0,-14],[-3,-9],[-4,-7],[-3,-6],[-2,-13],[-3,-12],[-3,-4],[-3,-1],[-3,-2],[-8,-8],[-3,-5],[-3,-3],[-8,-23],[-4,-7],[-1,-4],[-2,-2],[2,-6],[1,-10],[0,-3],[-2,2],[-3,5],[-3,-2],[-1,-2],[-5,10],[-4,7],[-3,4],[-3,-1],[0,3],[3,3],[5,-7],[1,1],[-4,23],[0,3],[-2,10],[-1,3],[-8,16],[-2,11],[-1,7],[-2,4],[-3,4],[-9,1],[-3,11],[-2,13],[3,1],[1,4],[-1,7],[-8,7],[-4,9],[-3,3],[-4,2],[-4,-1],[-5,1],[-13,13],[-3,0],[-9,-4],[-3,1],[-13,18],[-10,8],[-3,2],[-3,1],[-4,-2],[-2,-2],[-5,-2],[-18,1],[-15,-2],[-11,-2],[-7,-3],[-11,-10],[-13,-11],[-11,-5],[-10,-6],[-6,-2],[-9,-1],[-18,3],[-6,-2],[-9,-12],[-3,-3],[-6,-3],[-14,-16],[-6,-3],[-5,-1],[-3,-3],[-3,-7],[-5,-18],[-3,-9],[-6,-14],[-4,-4],[-4,0],[-4,-4],[-4,5],[-3,1],[-5,-1],[-17,-6],[-3,7],[-3,1],[-6,0],[-9,2],[-16,-3],[-8,-2],[-3,-3],[-6,2],[-10,-3],[-4,-3],[-2,-4],[-5,-15],[-6,-5],[-10,-2],[-10,-15],[-11,-14],[-3,-1],[-4,-3],[-6,-1],[-2,-1],[-12,3],[-8,1],[-10,2],[-8,7],[-6,4],[-8,16],[-4,5],[-8,7],[-2,0],[-2,-2],[-4,5],[0,7],[-1,5],[0,14],[1,17],[3,-4],[2,-4],[5,1],[4,6],[3,9],[2,10],[0,11],[-2,20],[1,4],[2,1],[0,10],[1,30],[-1,11],[-7,22],[-5,20],[-3,9],[-3,14],[-3,30],[0,35],[-3,17],[-6,15],[-1,6],[0,6],[-2,7],[-5,15],[-5,12],[-1,6],[-1,25],[-2,11],[-9,29],[-10,25],[-3,10],[1,2],[2,-2],[0,9],[1,-1],[1,-6],[4,-13],[1,-7],[4,-3],[3,6],[0,10],[-2,4],[-2,2],[-3,7],[-2,12],[-3,10],[0,4],[1,3],[3,-2],[4,-12],[0,-15],[2,-3],[1,2],[1,6],[1,-1],[2,-13],[1,-4],[3,-4],[2,3],[1,3],[0,9],[1,10],[-1,6],[-6,18],[-5,22],[-4,11],[-4,22],[-3,9],[0,17],[2,15],[2,8],[6,18],[0,14],[1,9],[0,6],[-3,16],[3,18],[4,23],[2,3],[3,3],[0,-5],[-1,-15],[2,-8],[-1,-10],[5,4],[2,4],[1,5],[5,18],[3,7],[4,5],[9,6],[8,8],[4,8],[5,7],[3,7],[3,5],[17,18],[3,4],[3,0],[5,-1],[4,1],[4,-4],[3,0],[8,4],[4,4],[7,9],[3,3],[7,3],[8,3],[10,16],[7,-1],[6,-2],[6,5],[11,3],[7,3],[12,11],[4,3],[5,7],[4,9],[4,13],[3,11],[1,5],[5,17],[1,3],[5,5],[7,13],[2,3],[1,4],[-2,3],[-2,1],[-1,15],[-1,9],[0,14],[3,10],[2,5],[3,5],[2,1],[2,5],[4,4],[3,14],[2,7],[2,0],[2,-16],[2,-9],[4,-10],[3,-15],[3,-6],[1,-5],[1,4],[1,11],[0,13],[2,-1],[2,-5],[2,-1],[0,7],[2,5],[-1,3],[-2,0],[-1,4],[-2,4],[-2,3],[-2,8],[-1,2],[1,2],[1,0],[2,3],[0,4],[-1,7],[1,2],[3,0],[3,-11],[2,1],[1,4],[2,1],[3,0],[1,-3],[3,-4],[5,1],[2,-1],[7,0],[-3,3],[-3,1],[-3,-1],[-2,3],[0,5],[1,4],[0,2],[2,-1],[2,0],[0,6],[2,8],[0,4],[-1,-1],[-3,-9],[-1,7],[-2,6],[0,7],[1,8],[2,1],[2,-1],[2,4],[1,4],[0,5],[2,-1],[6,-7],[1,-4],[2,2],[0,8],[-1,-1],[-4,0],[0,4],[-2,5],[2,3],[2,0],[2,2],[1,2],[3,0],[3,-4],[2,-1],[0,2],[1,4],[-4,5],[0,4],[-2,4],[0,5],[2,4],[2,5],[3,0],[2,3],[2,1],[0,12],[1,1],[2,-2],[0,-11],[1,2],[3,-1],[0,-7],[2,-2],[1,6],[2,1],[0,8],[1,5],[0,3],[1,2],[1,4],[-1,3],[-1,5],[2,1],[2,-2],[1,-7],[1,-3],[1,2],[1,4],[2,3],[4,-8],[4,4],[2,7],[0,10],[4,3],[3,-2],[2,-5],[6,-4],[4,-6],[2,-4],[4,-5],[3,-6],[3,-11],[8,-13],[1,-2],[-4,-20],[0,-14],[1,1],[2,5],[1,-1],[1,2],[-2,6],[0,4],[1,3],[2,3],[2,2],[2,4],[1,3],[5,0],[12,-6],[3,-6],[0,-7],[1,-3],[1,5],[-1,10],[1,2],[4,-2],[2,-2],[3,-6],[0,-4],[2,-2],[0,3],[-1,5],[0,5],[1,4],[3,0],[0,3],[-3,4],[-1,5],[2,4],[0,1],[-2,0],[-4,4],[-3,5],[3,11],[4,10],[3,3],[0,3],[1,7],[1,5],[0,4],[1,5],[3,4],[4,1],[2,2],[3,8],[-4,9],[1,5],[0,6],[5,4],[2,11],[1,2],[4,0],[1,1],[0,12],[1,2],[2,-2],[1,-3],[3,-4],[1,2],[-1,4],[0,5],[2,1],[2,0],[0,8],[1,1],[5,1],[2,5],[1,-7],[3,-4],[8,0],[4,3],[2,-2],[3,-1],[5,5],[4,-3],[1,-3],[1,7],[1,2],[3,2],[3,-1],[-2,5],[0,18],[1,4],[-6,9],[-5,2],[-4,-2],[-2,1],[-3,8],[-4,2],[0,2],[4,5],[2,-1],[2,-4],[2,-2],[1,0],[1,4],[1,2],[2,-1],[6,-8],[3,-8],[2,2],[3,4],[3,-1],[2,-2],[2,-10],[2,-5],[5,-1],[5,-5],[3,0],[7,-1],[7,-6],[2,-4],[4,-1],[1,-2],[4,0],[5,4],[3,-4],[1,-3],[4,-5],[6,-2],[3,6],[6,4],[4,6],[4,3],[0,-3],[1,-2],[-5,-10],[0,-3],[1,-2],[2,1],[1,3],[3,1],[2,-2],[0,-8],[2,-5],[3,-1],[2,0],[2,8],[-1,6],[-2,1],[1,3],[5,10],[2,0],[2,-11],[3,-5],[4,0],[1,-1],[2,-6],[-12,-25],[0,-3],[1,-4],[1,-6],[-4,-12],[-1,-1],[-1,3],[-2,3],[-2,-2],[-2,-1],[-7,-7],[0,-18],[2,-11],[-3,-20],[-2,-5],[-2,-3],[-5,-17],[-2,-4],[-2,-6],[1,-5],[0,-4],[2,-5],[9,-9],[4,-6],[6,-8],[2,-5],[0,-5],[9,-7],[1,1],[2,0],[0,-4],[-1,-2],[1,-3],[2,-3],[4,0],[2,1],[3,-4],[2,-2],[3,-5],[12,-10],[6,-14],[4,-8],[5,-6],[7,-4],[3,1],[6,-5],[5,-2],[3,-7],[1,-5],[0,-4],[3,-9],[5,-3],[7,-9],[6,-4],[1,-3],[2,-2],[5,0],[9,4],[4,5],[5,7],[2,13],[1,10],[7,22],[2,10],[2,14],[2,9],[-1,9],[2,17],[3,24],[2,8],[-1,12],[-2,22],[1,7],[1,11],[-2,8],[-1,5],[-1,8],[2,14],[2,7],[1,10],[-1,18],[4,6],[1,3],[3,0],[1,-1],[0,4],[-1,3],[0,4],[-1,2],[-2,0],[-1,3],[-2,2],[0,8],[4,16],[1,6],[3,-5],[0,9],[2,15],[3,21],[1,19],[4,3],[2,5],[2,6],[2,0],[2,-3],[-2,-7],[5,-8],[2,-6],[0,-6],[1,-5],[1,-7],[0,-23],[2,-3],[2,-2],[5,-2]],[[8951,4567],[-3,-4],[-1,2],[0,5],[2,3],[2,-6]],[[8952,4596],[-1,-3],[-2,1],[-1,2],[1,3],[2,0],[1,-3]],[[8948,4598],[-1,-1],[-1,3],[1,4],[1,-2],[0,-4]],[[5475,7948],[-2,-6],[-1,-1],[0,-7],[1,-3],[-3,-1],[-3,1],[-3,-1],[-4,4],[-5,-5],[0,-1],[6,-3],[1,-4],[-1,-5],[-6,-4],[1,-7],[-1,-2],[1,-4],[1,0],[0,-5],[-2,-4],[-2,1],[-3,-2],[-4,-6]],[[5446,7883],[-3,-4],[0,-6],[-1,-1],[-5,2],[-4,-1],[-5,-4],[-6,1],[-6,-1],[-3,-1],[-2,-2],[-2,-4],[-5,-4],[-1,-2],[-3,1],[-9,2],[-5,3],[-5,0],[-1,1]],[[5380,7863],[-6,2],[-4,0],[-5,1],[-13,4],[-3,0],[-3,2],[-3,1],[-2,4],[-1,4],[-3,6],[-1,3],[2,4],[-1,1],[-6,-2],[-5,-3],[-7,0],[-2,-1],[-6,0],[-3,-2],[-3,-8],[-2,-2],[-3,0],[-4,5],[-6,0],[-1,1]],[[5289,7883],[-1,5],[-2,2],[-4,-8],[-2,0],[-7,5],[0,2],[-3,4],[-5,1]],[[5265,7894],[1,1],[0,3],[-2,3],[0,5]],[[5264,7906],[2,7],[0,4],[-2,4]],[[5264,7921],[3,0],[2,1],[1,2],[2,-2],[4,-2],[2,-2],[1,-3],[0,-3],[3,-1],[0,-5],[3,2],[3,6],[1,8],[6,0],[6,-2],[3,-7],[2,0],[4,2],[3,0],[2,3],[5,4],[4,2],[13,2],[1,2],[0,4],[6,-3],[3,-2],[4,2],[3,-2],[0,-4],[5,-5],[2,2],[0,4],[1,4],[-1,3],[-3,0],[1,6],[0,5],[-6,10],[0,2],[4,6],[5,4],[4,1],[3,2],[2,4],[2,10],[1,1],[5,-4],[3,4],[0,9],[1,1]],[[5383,7992],[5,-4],[1,-5],[4,-2],[5,0],[2,3],[3,-1],[4,0],[0,4],[4,6],[2,-1],[1,4],[1,10],[5,-2],[1,-1],[2,1],[4,-1],[5,-4],[3,-1],[4,0],[6,-7],[9,0],[3,3],[3,-1],[3,-3],[5,-1],[1,-5],[1,-1]],[[5470,7983],[0,-3],[-3,-7],[0,-3],[3,-11],[3,-6],[2,-5]],[[6280,7423],[-6,1],[-9,4],[-3,2],[-2,5],[-4,6],[-2,1],[-1,2],[-2,7],[-2,3],[-5,12],[0,1]],[[6244,7467],[-2,3]],[[6356,7397],[-6,-2],[-1,1],[-5,10],[-3,1],[-2,2],[-1,5],[-5,5],[-1,4],[2,3],[5,2],[1,1],[0,6],[-5,6],[0,5],[1,2],[3,2],[2,3],[-9,16],[-3,0],[-3,-2],[-5,-6],[-7,-7],[-8,-10],[-2,-4],[-4,-2],[-2,-3],[-6,-11],[-2,0]],[[6249,7562],[8,9],[4,-2],[8,-5],[-1,-3],[3,-3],[7,-4],[3,2],[3,-2],[5,-5],[2,1],[3,4],[1,5],[-1,6],[-3,3],[-4,3],[-2,3],[-1,6],[-2,0],[0,7],[3,1],[4,8]],[[6289,7596],[3,-1],[0,-3],[2,-1],[2,2],[4,-5],[3,-5],[3,-6],[2,-2],[2,-4],[2,-8],[1,-2],[8,-4],[5,-1],[2,1],[6,14],[6,5],[3,3],[1,4],[4,10]],[[6348,7593],[3,-3],[4,-9],[6,-15],[2,-4],[3,-16],[7,-13],[2,-5],[5,-6],[4,-2],[3,0],[4,-2],[4,-4],[3,-11],[-6,3],[-7,-1],[-3,-1],[-3,-2],[-4,-4],[-2,-6],[-1,-14],[-3,-13],[0,-6],[1,-6],[0,-3],[-3,-4],[-1,-12],[-1,-3],[-2,-1],[0,5],[-3,2],[-1,-3],[-1,-7],[-2,-7],[0,-23]],[[5816,4927],[-1,9],[-1,11],[-4,15],[0,9],[1,12],[-1,7],[0,4],[1,9],[0,4],[-2,6],[-3,6],[-1,3],[0,5]],[[5805,5027],[0,3],[1,3],[1,1],[3,-2],[3,-3],[1,-6],[1,-1],[9,0],[5,5],[0,3],[1,6],[0,13],[2,0],[3,-5],[1,0],[1,2],[2,2],[1,0],[4,2],[2,-4],[2,-1]],[[5848,5045],[-1,-1],[-2,-11],[-1,-2],[1,-3],[0,-4],[-1,-3],[0,-3],[3,-3],[7,-4],[0,-4],[1,-3],[0,-5],[-1,-4],[-3,-2],[-1,-3],[0,-4],[-3,-4],[-3,-5],[-1,-4],[0,-5],[-3,-6],[-3,-9],[-1,-5],[-5,-13],[-5,-6],[-2,-2],[-8,0]],[[5165,8106],[4,-4],[3,-4],[-2,-3],[1,-3],[3,-1],[1,-2],[0,-3],[1,-5],[-5,-4],[-2,-7]],[[5169,8070],[-1,2],[-3,1],[-3,-5],[-2,-7],[-2,-5],[0,-4],[4,-9],[-1,-5],[-1,-1]],[[5160,8037],[-2,0],[-6,-2],[-4,6],[-2,2],[0,2],[-2,0],[-3,2],[-1,2],[-4,2],[-2,0],[0,3],[-2,7],[2,10],[-1,1],[-3,-3],[-2,-6],[-3,-2],[-5,-1],[-5,1],[-1,1],[0,3],[1,1],[0,3],[-1,2],[1,6],[-4,5],[-2,1],[-6,0],[-2,-1],[-1,8],[-4,2],[-5,0],[-2,5],[0,4],[-4,7],[-7,-4],[-5,6],[-2,4],[0,6],[-2,4],[0,2]],[[5069,8126],[12,10],[11,7]],[[5092,8143],[2,-8],[4,2],[3,0],[4,-4],[2,0],[4,2],[4,4],[1,4]],[[5116,8143],[4,-2],[1,4],[3,3],[2,-3],[2,0],[3,4],[2,-2],[1,-3],[2,0],[3,4],[2,-7],[3,-4],[3,-1],[5,1],[3,-5],[4,-1],[2,-3],[0,-2],[-3,-9],[-2,-4],[0,-3],[1,-2]],[[5157,8108],[4,2],[2,-3],[2,-1]],[[5044,5541],[0,2],[4,3],[-1,7],[-2,9],[-2,2],[0,4],[1,3],[-1,2],[0,6],[-1,7],[2,0],[0,42],[0,32],[0,28],[-1,17],[0,5],[-4,8],[-2,5],[0,5],[-1,6],[0,25],[-4,6],[-6,8],[-5,7],[-1,2],[1,18],[1,3],[2,13]],[[5024,5816],[1,0],[1,2],[0,3],[3,-1],[0,6],[2,1],[0,4],[4,2],[1,1],[1,5],[1,1],[0,2],[1,1],[3,0],[1,-3],[8,2],[3,-1],[7,12],[2,4],[2,8],[0,4]],[[5065,5869],[1,5],[-1,11],[0,2],[3,3],[5,2],[2,3],[2,2],[2,-1],[7,-15],[4,-7],[1,-4],[1,-2],[3,-2],[2,-4],[2,-5]],[[5099,5857],[-3,-11],[0,-6],[4,-13],[2,-3],[0,-3],[1,-6],[0,-11],[3,-10],[-2,-10],[-1,-1],[-2,1],[-1,-1],[-2,-8],[2,-6],[-1,-9],[-1,-6],[-2,-3],[-2,-1],[-3,-3],[0,-7],[-2,-6],[-3,-6],[0,-8],[-2,-13],[-8,-3],[-1,-15],[0,-19],[-1,-5],[0,-31],[1,-6],[0,-10],[1,-4],[0,-3],[-1,-2],[0,-14],[1,-5],[-1,-2],[0,-15],[1,-3],[-1,-3],[0,-4],[-1,-9],[0,-4]],[[5074,5550],[-11,-2],[-14,-4],[-5,-3]],[[5024,5816],[-7,0],[-3,-2],[-1,0],[0,2],[-1,0],[-9,5],[-6,3]],[[4997,5824],[-6,2],[-2,-4],[-2,0],[-2,-5],[-4,-4],[-1,3],[-2,1],[-4,-1],[-2,1],[-7,0],[-9,1],[-1,-1],[-9,0],[-9,-1],[-14,0],[0,1],[-3,0],[0,-1],[-2,-15],[0,-8],[2,-8],[2,-3],[-1,-2],[0,-2],[1,-3],[0,-11],[1,-10],[0,-6],[-1,-3],[0,-5],[2,-8],[0,-3]],[[4924,5729],[0,-1],[-2,-2],[-1,0],[-2,5],[-1,1],[-2,9],[-2,2],[-1,2],[-2,6],[-2,2],[-1,-1],[-3,2],[-5,1],[-6,0],[-3,-2],[-2,-2],[-6,-4],[-3,-3],[-1,-5],[-2,0],[-4,4],[-2,0],[-3,2],[-3,5],[-2,2],[-2,3],[-1,7],[-1,5],[-2,6],[-2,3],[-2,2],[-3,-1],[-3,3],[-1,4]],[[4846,5784],[0,3],[1,5],[0,27],[1,3],[2,2],[2,5],[1,10],[1,8],[-1,3],[0,3],[-1,3],[0,9],[4,6],[1,2],[4,1],[5,2],[2,3],[4,4],[1,5],[2,3],[1,3],[0,14],[-1,3],[0,2],[7,7],[0,5],[-1,6],[-2,4],[0,4],[2,4],[1,4],[2,3],[2,4],[3,1],[3,-1],[8,-11],[3,0],[2,3],[2,2],[1,7],[0,10],[1,5],[1,1],[5,-2],[2,0],[1,2],[0,6],[1,10],[3,7],[5,9],[2,2],[2,0],[9,-6],[2,2],[2,15],[6,2],[3,2],[5,6],[8,8],[5,4],[3,6],[4,6],[2,1],[4,1],[2,-1],[2,-3],[4,3],[7,-5],[6,-4]],[[5005,6042],[0,-7],[-1,-8],[0,-9],[2,-5],[4,-9],[-1,-6],[0,-4],[2,-6],[3,-8],[2,-7],[4,-2],[2,-3],[3,-2],[1,-2],[1,-5],[3,-3],[2,-3],[0,-2],[-6,2],[0,-19],[1,0],[2,-2],[6,-9],[6,-10],[1,-2],[3,-1],[4,0],[4,5],[2,1],[2,0],[0,-1],[2,-4],[1,-6],[1,-4],[0,-2],[-1,-1],[-4,-2],[1,-4],[0,-2],[7,-19],[1,-2]],[[7553,6422],[-2,0],[-1,2],[1,2],[-1,8],[2,1],[1,-3],[0,-10]],[[7551,6441],[-1,-5],[-1,4],[1,4],[1,0],[0,-3]],[[7531,6461],[-3,-4],[1,23],[2,-8],[0,-11]],[[7542,6472],[-1,-1],[-2,1],[-1,6],[1,7],[1,-1],[2,-9],[0,-3]],[[7520,6456],[-4,-2],[-3,0],[5,15],[-1,7],[0,6],[-3,4],[0,3],[-1,5],[0,5],[2,1],[3,-4],[0,-4],[1,-5],[4,-9],[0,-5],[-1,-13],[-2,-4]],[[7517,6506],[-1,-1],[-2,2],[1,3],[2,-4]],[[7570,6449],[1,-21],[0,-8],[1,-7],[0,-3],[-2,-2],[-1,3],[-2,3],[-4,4],[-1,-1],[-3,-7],[1,-5],[0,-6],[2,-3],[0,-7],[1,-4],[0,-4]],[[7563,6381],[-2,5],[-1,6],[-4,11],[-1,20],[0,9],[-3,12],[-2,16],[-1,4],[0,4],[-2,6],[-1,6],[-5,11],[-1,5],[0,5],[-2,-5],[-3,-3],[-2,-6],[-2,-1],[-6,-1],[-3,7],[-5,18],[-1,3],[1,11],[-1,10],[0,8],[-2,-3],[1,-4],[-1,-3],[-8,2],[4,-5],[3,-1],[2,-5],[0,-7],[-3,-5],[0,-4],[2,-4],[-2,-2],[-1,-3],[0,-4],[2,-7],[-1,-3],[2,-2],[2,-11],[-1,-6],[-3,-4],[-3,-8],[-2,-8],[-2,-4],[-2,-1],[-2,4],[0,7],[2,7],[-6,-6],[-1,5],[0,11],[2,9],[-3,-4],[0,-17],[-1,-6],[-2,-4],[-4,-6],[-1,2],[-1,8],[-2,-10],[-3,-6],[-4,0],[-1,4],[-2,5],[-1,8],[-1,5]],[[7472,6456],[1,5],[-1,5],[-3,21],[0,3],[-1,9],[-1,6],[0,5],[2,9],[-6,4],[1,10],[-3,7],[-1,1],[-1,6],[1,9],[3,10],[0,10],[1,3],[-3,5],[-7,4],[-1,4],[-2,1],[-2,-1],[-4,5],[-1,5],[0,5],[3,11],[1,1],[3,-3],[1,0],[2,5],[2,13],[6,0],[4,-1],[2,1],[2,4],[-4,6],[-1,8],[-5,0],[-3,2],[-4,9],[-3,6],[-3,1],[-1,2],[0,6],[1,4],[0,4],[3,5],[2,5],[2,3],[2,5],[-3,5],[0,4],[2,1],[3,-3],[4,-10],[0,-3],[4,-3],[2,1],[2,-1],[0,5],[-1,2],[1,3],[3,-2],[1,-4],[0,-6],[2,-6],[5,-6],[3,-1],[2,1],[1,4],[0,7],[3,1],[1,-2],[3,-14],[-1,-5],[1,-16],[-1,-13],[1,-3],[1,0],[7,-4],[9,-4],[3,1],[5,-1],[9,1],[7,1],[5,-3],[8,2],[8,0],[4,-3],[5,-6],[3,-6],[-1,-3],[-2,0],[-4,2],[0,-7],[-4,-22],[-4,-2],[-2,-5],[0,-4],[-1,-1],[-2,2],[-3,-1],[-4,-6],[-4,0],[-1,-4],[-3,-6],[-1,-9],[-1,-6],[0,-4],[3,-12],[1,-16],[2,-2],[0,7],[2,1],[2,-10],[1,-2],[2,-1],[2,1],[2,6],[0,6],[-1,5],[1,4],[5,8],[-1,6],[0,5],[4,-1],[2,3],[1,0],[0,-3],[2,0],[1,-11],[2,-9],[0,-23],[1,-2],[2,-9],[1,-3],[0,-9],[1,-7],[1,-21],[0,-4]],[[5777,7601],[-4,1],[-2,-2],[-4,0],[-3,-2],[-2,1],[-5,8],[-1,1],[-2,-1],[-5,-1],[-3,-4],[-9,-3],[-1,-5],[-1,-2],[-4,-1],[-1,-2],[0,-3]],[[5730,7586],[-3,2],[-3,-1],[-1,-5],[1,-2],[1,-5],[0,-8],[-2,-2],[-4,-2],[-4,1],[-4,-1],[-7,-3],[-4,-1],[-3,4],[-4,3],[-4,2],[-2,-3],[-3,4],[-2,1],[-1,2],[-1,5],[-4,-2],[-9,0],[0,-3],[-1,-1],[-4,0],[-7,-4],[-5,1],[-2,-1],[-4,0],[-2,-4],[-3,1],[-4,0]],[[5635,7564],[1,1],[0,15],[2,6],[0,2],[-2,1],[-3,13],[-1,2],[-6,4],[-6,13]],[[5620,7621],[2,0],[0,2],[3,5],[0,3],[-2,3],[-1,5],[1,4],[0,3],[-1,2],[1,3],[2,2],[5,0],[2,6],[2,2],[3,7],[0,3],[-3,4],[-5,8],[-4,3],[-2,9],[-3,10],[0,5],[1,6],[1,2],[5,4],[0,7],[3,2]],[[5630,7731],[9,-9],[0,-2],[-4,-3],[-1,-2],[0,-5],[2,-2],[8,2],[9,-1],[11,-4],[8,-1],[6,2],[20,-6],[9,-1],[5,2],[4,3],[3,6],[8,8],[8,4],[10,4],[6,1],[10,-8],[4,0],[4,-3],[0,-1],[4,2],[5,-10],[9,-4],[6,0]],[[5793,7703],[-1,-14],[-2,-7],[-4,3],[-6,-2],[-2,-8],[-3,-4],[-1,-10],[0,-15],[-4,-3],[-8,-14],[5,-3],[2,-3],[3,-9],[4,-9],[1,-4]],[[6405,6674],[-1,-4],[-1,1],[-2,8],[0,5],[-1,8],[1,2],[3,1],[-1,-3],[2,-4],[0,-14]],[[2971,6404],[-1,-4],[-3,-8],[-7,-2],[-7,-1],[-1,4],[1,3],[0,3],[2,1],[2,4],[3,0],[3,-2],[2,0],[3,3],[2,6],[1,-1],[0,-6]],[[2974,6422],[-4,-3],[0,4],[2,2],[2,-3]],[[2970,6475],[6,-2],[2,-3],[-1,-3],[-2,4],[-3,1],[-5,0],[1,5],[2,-2]],[[2938,6463],[-2,-2],[0,3],[4,5],[2,5],[2,2],[2,5],[0,2],[-2,4],[0,3],[1,2],[3,1],[-1,-3],[1,-9],[-4,-10],[-3,-3],[-3,-5]],[[2942,6492],[-1,-3],[-4,3],[-1,-1],[-1,3],[0,5],[4,-5],[3,-2]],[[2920,6502],[-3,10],[-5,3],[-2,3],[2,2],[0,3],[-3,12],[-1,6],[-1,1],[0,5],[3,-7],[1,-7],[2,-6],[1,-10],[4,-4],[2,-5],[0,-6]],[[2897,6534],[-3,1],[-5,7],[-2,1],[1,4],[2,-2],[3,-6],[4,-5]],[[2932,6570],[-2,-7],[-2,1],[1,8],[2,1],[1,-3]],[[2842,6580],[0,-1],[-3,-4],[2,-3],[2,6],[2,-4],[1,-9],[-1,-2],[1,-1],[0,-4],[-2,-7],[-5,0],[0,7],[-1,1],[-1,9],[-2,3],[-2,7],[1,2],[3,0],[4,2],[1,-2]],[[2907,6577],[-1,-2],[-4,-1],[3,7],[-3,4],[-3,9],[-1,2],[0,4],[-3,3],[1,3],[2,-1],[3,-13],[0,-2],[6,-13]],[[2851,6624],[-3,-1],[-3,1],[1,3],[2,1],[3,0],[2,-2],[-2,-2]],[[2840,6606],[0,-14],[-3,-3],[-1,-2],[-3,-2],[-2,-3],[-1,5],[-1,2],[0,5],[-4,-1],[-3,4],[-2,5],[3,1],[1,-3],[2,3],[-2,6],[3,9],[1,7],[-1,9],[1,1],[4,-4],[1,-3],[0,-4],[2,-4],[2,-9],[3,-5]],[[2870,6651],[5,-6],[4,-3],[4,-8],[2,-3],[-1,-14],[-1,-8],[-1,-4],[-1,4],[-2,4],[3,0],[0,7],[2,5],[0,5],[-4,6],[-2,5],[-4,2],[-3,5],[-2,1],[-3,-1],[2,7],[2,-4]],[[2819,6723],[3,-2],[3,1],[5,0],[4,2],[1,-5],[-9,-1],[-8,-5],[-4,-3],[-4,1],[-5,10],[2,-1],[3,-6],[3,1],[2,4],[0,4],[1,4],[3,-4]],[[2854,6675],[-1,0],[-2,6],[-2,1],[3,4],[1,4],[0,8],[1,4],[0,3],[1,4],[-1,4],[-3,3],[-5,14],[-8,3],[0,2],[4,-2],[3,0],[3,-4],[2,-5],[3,-3],[0,-3],[3,-3],[2,-4],[1,-11],[-3,-5],[-1,-17],[-1,-3]],[[5527,7768],[6,2],[4,-3],[-2,-9],[-5,-13],[0,-8],[1,-2],[2,-1],[3,-3],[3,-4],[4,-7],[-1,-3],[-3,-1],[-5,1],[0,-3],[3,-5],[3,-8],[0,-7],[-1,-2],[-2,2],[-3,0],[-2,-3]],[[5532,7691],[-2,-1],[-4,1],[-1,-2],[3,-8],[-1,-4],[-1,-1],[-1,4],[-2,0],[-5,-7],[-2,-4],[0,-7],[-3,-1],[-2,-3],[1,-7],[0,-4],[2,-6],[0,-3],[-3,-3]],[[5511,7635],[-4,2],[-5,5],[-5,7],[-5,6],[-2,-1]],[[5490,7654],[-3,2]],[[5487,7656],[2,2],[0,4],[-7,9],[-3,7],[0,8],[-5,4],[-6,7],[-5,8],[0,2],[-3,6],[-3,5],[-3,3],[-5,9],[-2,15],[-2,4],[-5,8],[-4,5],[0,5],[2,20],[2,1],[4,-2],[4,-7],[4,-3],[2,3],[2,6],[2,3],[7,-1],[4,4],[6,-6],[2,-1],[3,1],[6,-3],[3,3],[5,-5],[1,0],[4,3],[4,-1],[4,1],[6,-3],[4,0],[3,-3],[1,-3],[0,-4],[1,-2],[3,-1],[2,1]],[[3252,6219],[3,-2],[0,-1],[1,-1],[-1,-2],[-1,0],[-1,2],[-1,4]],[[5881,8184],[-5,1],[-6,-1],[-4,-3],[-4,2],[-3,-2],[-3,-5],[-3,-4],[-2,-4],[-3,-8],[-1,-5],[2,-7],[0,-4],[1,-3],[-2,-2],[-1,-3],[-2,1],[-3,3],[-1,4],[-4,4],[-3,1],[-4,-2],[-6,-1],[-4,0],[-2,-2],[-4,-1],[-3,6],[-3,7],[-2,1],[-2,-3],[-4,-2],[-3,-6],[-2,1],[-2,5],[-8,2],[-3,2],[-3,-3],[-2,0],[-4,2],[-3,-6],[-2,-1],[0,6],[-7,2],[-2,-1],[-3,1],[-3,8],[-2,1],[-3,-1],[-5,1],[-9,3],[-2,1],[-17,5],[-6,0],[-8,1],[-6,-1],[-2,-1],[-8,-1],[-6,0],[-3,-1],[-3,-6],[-4,-6],[-4,-4],[-5,3],[-3,0],[-2,-2],[0,-5]],[[5655,8151],[-2,5],[0,6],[2,5],[0,4],[1,6],[0,4],[-5,7],[-4,2],[-4,3],[0,5],[6,10],[2,2],[10,7],[2,2],[0,12],[-1,7],[0,4],[-2,10],[-6,19],[-3,19]],[[5651,8290],[2,-1],[5,0],[4,1],[6,0],[3,1],[3,-4],[9,5],[4,0],[1,2],[1,6],[1,2],[5,-1],[3,5],[3,2],[3,0],[2,2],[2,-4],[-1,-2],[2,-2],[3,0],[3,2],[-1,5],[-5,3],[0,3],[3,9],[2,2],[-1,4],[0,5],[2,7],[2,5],[7,2],[2,2],[3,8],[9,0],[1,4],[3,2],[1,2],[-3,2],[-5,1],[-1,3],[2,4],[2,10],[0,3]],[[5738,8390],[5,1],[5,7],[2,1],[15,-2],[2,7],[7,9],[4,3],[3,1]],[[5781,8417],[4,-5],[3,2],[4,0],[4,-5],[1,-3],[2,-1],[4,4],[4,1],[8,-5],[1,-3],[-2,-6],[4,-5],[4,3],[1,2],[4,1],[4,3],[2,-1],[6,1],[6,-3],[0,-2],[4,-3],[3,-5],[5,-1],[0,-12],[-2,-4],[0,-3],[2,-3],[2,-5],[0,-5],[-4,-8],[-1,-7],[6,-5],[4,-4],[-2,-8],[3,-2],[2,-4],[1,-6],[3,-5],[6,-5],[5,-3],[1,-2],[0,-5],[-2,-7],[2,-1],[5,0],[5,-1],[7,-5],[0,-7],[7,-7],[1,-5],[-2,-2],[-5,-3],[-1,-4],[-5,-5],[-3,-2],[-8,1],[-2,2],[-1,3],[-2,1],[-8,-1],[-4,-10],[5,-9],[3,-4],[1,-3],[-2,-2],[3,-9],[-1,-1],[0,-13],[2,-2],[3,-8],[0,-2]],[[2559,6187],[0,4],[1,3],[1,-1],[-2,-6]],[[2556,6216],[0,4],[2,9],[1,-1],[-3,-12]],[[2530,6099],[-6,0],[-3,-1],[-1,1],[1,14],[0,38],[1,16],[0,28],[1,14]],[[2523,6209],[0,9],[3,2],[3,-3],[1,-2],[2,3],[2,6],[5,13],[1,9],[2,2],[2,0],[3,-1]],[[2547,6247],[-2,-6],[2,-1],[4,0],[1,-7],[0,-6],[-3,-16],[0,-5],[-2,-8],[2,-6],[-2,-7],[0,-11],[1,-14],[-2,-19],[-2,-8],[-2,-3],[-3,-8],[-4,-3],[-5,-13],[-1,-4],[1,-3]],[[3201,7043],[-1,1],[2,5],[1,-1],[-2,-5]],[[3133,3869],[-11,-4],[-6,0],[-3,6],[0,3],[1,6],[0,8],[-2,9],[0,7],[-1,9],[-3,4],[-1,7],[0,6],[-2,8],[0,18],[-3,10],[-4,11],[-3,1],[-1,4],[0,5],[3,7],[-1,2],[-5,7],[-2,4],[0,3],[2,2],[-1,6],[0,5],[-1,3],[1,1],[4,2],[1,4],[0,4],[-1,3],[-3,6],[0,1],[3,10],[3,6],[0,4],[-2,2],[-4,6],[-2,5],[-5,7],[-1,4],[0,9],[-1,9],[-1,6],[0,7],[-1,4],[0,4],[-1,5],[-1,3],[1,3],[1,1],[0,2],[-6,6],[-1,10],[-4,8],[-1,7]],[[3068,4175],[0,7],[-1,3],[-2,2],[0,6],[5,6],[7,18],[2,4],[2,2],[1,2],[-1,5],[1,4],[0,3],[3,2],[2,3],[0,2],[-2,3],[-4,2],[-2,0],[-2,2],[-1,2],[-4,24],[-1,5],[0,3],[4,15],[3,6],[-5,11],[-1,4],[0,5],[1,5],[2,3],[1,4],[0,5],[2,3],[1,4],[3,5],[0,7],[4,3],[0,6],[-3,7],[-1,12],[-2,5],[2,5],[1,6],[0,35],[1,4],[2,4],[2,1],[1,3],[0,4],[2,6],[-3,14],[-4,11],[-3,11],[-3,13],[-3,8],[-3,11],[-2,9],[-4,12]],[[3066,4552],[4,1],[6,-1],[6,-2],[5,-1],[2,-2],[0,-3],[1,-1],[3,0],[3,4],[6,4],[4,11],[2,5],[7,2],[1,-1],[2,0],[4,10],[4,7],[3,2],[1,2],[3,0],[13,20],[4,4],[3,1],[6,3],[9,3],[6,1],[2,-3],[2,1],[2,4],[1,1],[2,0],[2,-9],[0,-22],[-2,-8],[-2,-4],[0,-7],[1,-8],[2,-10],[1,-8],[-2,-5],[0,-10],[1,-1],[1,-3],[0,-5],[1,-4],[2,-4],[1,-4],[-1,-3],[0,-2],[2,-1],[1,1],[2,-5],[1,-5],[0,-3],[4,-4],[2,-1],[2,-5],[2,-4],[3,-2],[1,-5],[2,-6],[4,-3],[6,-1],[3,-1],[4,3],[3,0],[4,-4],[2,-4],[6,-6],[2,3],[2,1],[1,-1],[1,-5],[2,-6],[4,-6],[2,-2],[2,0],[4,-4],[5,-4],[3,-1],[2,1],[2,-2],[0,-4],[4,-10],[2,-4],[3,-3],[6,0],[2,-1],[2,1],[8,2],[2,0],[4,-4],[5,-6],[4,-4],[2,-3],[2,-4],[1,-5],[0,-9],[-2,-5],[2,-8],[1,-5],[1,-9],[1,-3],[1,-27],[-9,0],[2,-3],[4,-10],[4,-9],[0,-15],[1,-10],[0,-13],[1,-8],[9,-1],[11,0],[13,-1],[13,-1],[4,2],[1,-3],[-1,-4],[0,-5],[-3,-9],[0,-15],[1,-10],[1,-8],[1,-3],[4,-5],[6,-8],[3,-2],[2,2],[1,-4],[0,-6],[3,-15],[3,-11],[0,-3],[2,-2],[0,-1],[-2,-1],[0,-2],[-2,-11],[-2,-15],[-2,-10],[2,0],[0,-8],[-2,0],[0,-2],[-5,-20],[-5,-18],[8,-13],[-1,-3],[-4,-2],[-2,-5],[-1,-1]],[[3384,4022],[0,18],[-1,2],[-8,10],[-8,9],[-9,11],[-13,0],[-13,0],[-12,-5],[-12,-6],[-6,-2],[-11,-5],[-7,-2],[-5,-24],[-2,-8],[-3,-9],[-5,-12],[0,-29],[-3,-20],[-2,-17],[-5,-27],[0,-3]],[[3652,3584],[-2,-3],[1,14],[1,5],[2,5],[1,-3],[-1,-6],[-2,-9],[0,-3]],[[3650,3663],[-1,-1],[-2,7],[4,7],[1,-3],[-2,-10]],[[3742,3807],[-4,-2],[-1,2],[4,10],[2,-6],[-1,-4]],[[3773,3850],[0,-1],[-5,-3],[-1,3],[3,5],[1,0],[2,-4]],[[3918,4407],[0,-3],[-2,0],[0,3],[-1,2],[1,3],[2,-1],[0,-4]],[[3923,4429],[-1,2],[3,5],[1,3],[1,-4],[-4,-6]],[[3763,5014],[-3,-6],[1,7],[0,8],[2,3],[0,-12]],[[3752,5107],[-2,-4],[-1,1],[0,2],[1,4],[2,0],[0,-3]],[[3559,5101],[-3,-1],[4,14],[4,7],[0,13],[3,12],[4,5],[4,1],[3,-7],[-3,-21],[-1,0],[-4,-10],[-5,-8],[-6,-5]],[[3621,5170],[2,0],[4,1],[2,3],[6,0],[9,-3],[5,-1],[4,-2],[2,-2],[0,-3],[-2,-11],[-1,-7],[-1,-2],[-1,1],[1,-7],[0,-3],[-1,-2],[-4,-12],[0,-2],[-2,-2],[-2,-3],[1,-3],[0,-7],[-3,-5],[-3,-2],[-1,1],[-3,5],[0,-4],[-1,-4],[0,-3],[-4,0],[-1,3],[-3,2],[-1,-7],[-1,-4],[-2,-2],[-3,-1],[-1,-2],[-3,2],[-3,3],[-2,0],[-1,-2],[-6,-1],[-3,-2],[-2,0],[-3,9],[-1,7],[-2,8],[-1,8],[1,6],[2,0],[2,-1],[0,4],[-3,0],[-3,4],[0,6],[1,13],[0,2],[2,7],[-1,3],[2,12],[5,6],[6,3],[18,-7]],[[3592,5176],[-7,-12],[-3,4],[-1,2],[2,7],[4,3],[2,1],[3,-1],[0,-4]],[[3626,5177],[-8,-2],[-3,3],[3,6],[3,3],[3,1],[3,-1],[1,-4],[-2,-6]],[[3618,5199],[1,-3],[-4,-12],[-2,-2],[-3,0],[-3,3],[-5,0],[-1,1],[0,5],[2,6],[4,-1],[7,5],[4,-2]],[[3598,5191],[0,-8],[-5,3],[0,9],[3,3],[2,4],[0,13],[1,2],[2,0],[0,-19],[-3,-7]],[[3606,5206],[-3,-2],[-1,2],[0,7],[1,4],[4,1],[2,2],[0,-7],[-3,-7]],[[3602,5295],[-3,-3],[-1,1],[-2,7],[1,6],[2,2],[2,-1],[1,-10],[0,-2]],[[3430,5295],[1,0],[12,-6],[2,1],[1,2],[0,9],[-1,3],[-2,4],[-1,4],[-2,1],[0,3],[3,5],[1,7],[3,-1],[4,-5],[2,1],[8,1],[1,3],[1,0],[3,3],[3,0],[2,3],[1,0],[0,-3],[1,-3],[2,-3],[3,1],[1,-1],[1,-3],[0,-2],[1,-2],[1,0]],[[3482,5317],[1,0],[2,-4],[2,-3],[4,-3],[2,0],[3,-2],[1,2],[4,5],[3,5],[2,2],[1,-3],[1,-1],[5,-2],[5,5],[2,-6],[1,-2],[1,1],[5,-2],[1,0],[2,2],[1,3],[2,3],[2,2],[2,4],[2,6],[0,7],[3,12],[2,6],[1,5],[0,4],[2,7],[3,7],[1,5],[4,11],[0,4],[1,1],[2,6],[1,2],[2,7],[3,4]],[[3564,5417],[3,10],[0,5],[3,0],[3,-5],[3,-8],[4,-24],[1,-23],[2,-11],[4,-25],[1,-5],[0,-5],[2,-6],[1,-9],[0,-2],[-1,-3],[2,0],[1,-2],[1,-6],[1,-4],[3,-5],[4,-2],[3,-1],[4,-3],[2,-4],[3,-14],[-1,-9],[0,-6],[-1,-2],[-3,-4],[-7,-13],[-1,-4],[-4,-7],[-3,-12],[-5,-12],[-1,-3],[-3,0],[-2,-2],[-3,-10],[-5,-3],[-1,-5],[-3,-12],[-2,-7],[-2,-2],[-4,-13],[-1,-5],[0,-9],[-2,-6],[-3,-4],[0,-8],[-2,-2],[-1,-2],[-6,2],[-9,-9],[7,-3],[3,-4],[7,3],[9,11],[3,2],[6,8],[3,5],[5,6],[3,5],[2,-3],[0,-3],[-2,-4],[0,-3],[2,-3],[0,-5],[1,-4],[0,-7],[3,-8],[0,-7],[2,-3],[6,-12],[4,6],[2,1],[2,2],[3,2],[3,-2],[5,-4],[4,4],[7,8],[-2,-14],[-2,-13],[-1,-5],[-1,-14],[-2,-4],[1,-2],[3,7],[2,9],[5,25],[2,2],[4,3],[8,20],[3,0],[2,-5],[2,-3],[0,6],[3,2],[-3,3],[0,6],[1,5],[-1,5],[4,6],[0,5],[1,4],[2,4],[2,1],[1,4],[2,2],[2,-4],[2,4],[2,2],[2,-3],[2,0],[3,3],[3,-5],[1,2],[-1,2],[0,2],[2,1],[3,-1],[2,-2],[2,-4],[5,0],[2,-2],[2,0],[1,-3],[3,-4],[1,-4],[3,-1],[5,-3],[3,1],[0,-4],[2,-1],[3,1],[2,-5],[5,-4],[4,-5],[3,1],[2,-2],[3,-12],[1,-9],[1,2],[3,10],[3,3],[1,-3],[3,-4],[3,-5],[1,-3],[2,-1],[0,-3],[2,3],[1,-6],[2,-6],[0,-6],[-2,-6],[-1,-4],[-3,-2],[1,-3],[2,-3],[2,8],[1,2],[3,1],[1,-5],[0,-6],[-4,-2],[0,-5],[-1,-2],[0,-3],[-2,-11],[-2,-22],[0,-3],[3,4],[5,11],[1,12],[2,11],[3,4],[3,-1],[0,-6],[-3,-9],[1,-4],[5,10],[2,3],[2,0],[3,4],[8,1],[1,5],[1,2],[4,0],[8,-5],[3,-3],[5,-4],[2,-4],[10,-8],[6,0],[4,3],[4,-3],[2,-5],[5,-2],[4,-1],[4,3],[9,1],[11,4],[6,-1],[8,-3],[5,-7],[5,-4],[3,-4],[4,-4],[9,-11],[4,-6],[5,-9],[6,-4],[3,-9],[3,-4],[6,-16],[7,-10],[5,-11],[9,-7],[3,-12],[7,-1],[2,-2],[3,-5],[5,-2],[12,0],[5,2],[12,-4],[4,-7],[4,-18],[3,-21],[1,-15],[3,-12],[2,-23],[1,-7],[0,-5],[1,-1],[1,-16],[0,-6],[-1,-8],[0,-5],[-1,-4],[0,-3],[1,-7],[0,-6],[-1,-7],[-2,-18],[-6,-30],[-5,-17],[-7,-18],[-4,-10],[-2,-1],[-2,2],[1,-5],[-1,-4],[-4,-13],[-5,-9],[-5,-15],[-7,-6],[-3,-4],[-5,-9],[-4,-13],[-1,-2],[-2,1],[0,-7],[-3,-11],[-2,-2],[0,4],[1,2],[-1,3],[-2,-8],[1,-6],[-2,-9],[-6,-26],[-7,-21],[-2,-7],[-6,-15],[-5,-7],[-2,1],[-1,11],[-4,7],[-1,1],[-1,-7],[-1,-2],[-2,0],[2,-4],[0,-3],[-2,-7],[0,-7],[-3,-7],[-2,-6],[-2,-12],[2,1],[1,-1],[0,-5],[-1,-5],[0,-14],[-1,-3],[2,-3],[-2,-32],[1,-16],[2,-36],[2,-16],[0,-1],[-2,-19],[-3,-18],[-2,-15],[-1,-16],[-1,-8],[0,-8],[1,-19],[0,-3],[-3,-9],[-4,-4],[-2,-4],[-4,-15],[-3,-22],[0,-12],[1,-25],[-1,-10],[-1,-7],[-2,-4],[-4,-6],[-4,-13],[-2,-14],[-2,-5],[-1,-7],[-2,-8],[-6,-13],[-3,-3],[-2,-4],[-1,-7],[-4,-12],[-2,-15],[1,-6],[1,-18],[-1,-5],[-3,-5],[-13,-9],[-3,-4],[-8,-15],[0,-9],[1,-3],[-1,-4],[-2,-5],[-15,0],[-7,-2],[-3,0],[-4,4],[0,3],[1,5],[-1,2],[-4,-1],[0,-5],[1,-2],[0,-4],[-1,-3],[-4,0],[-4,-3],[-6,-1],[-4,-2],[-2,2],[2,2],[3,-1],[3,2],[-1,2],[-4,4],[-5,-2],[-3,-4],[-6,0],[-8,-3],[-1,-3],[0,-5],[3,-4],[-1,-3],[-2,-1],[-8,-2],[-7,-12],[-3,-1],[-3,-5],[0,-4],[-1,-3],[-2,0],[-3,2],[-5,1],[-4,-2],[-18,-18],[-7,-8],[-7,-14],[-13,-17],[-7,-10],[-1,-3],[-3,-2],[2,-2],[0,-5],[-3,-4],[-5,-11],[-1,1],[2,5],[-3,1],[-3,2],[-2,-3],[1,-5],[-1,-2],[-5,0],[-1,-3],[7,-3],[1,-3],[-4,-13],[-4,-1],[0,-2],[2,0],[1,-4],[-1,-14],[-3,-2],[-1,-3],[1,-4],[2,-4],[0,-6],[-1,-6],[0,-5],[2,-10],[0,-10],[1,-4],[0,-4],[-1,-4],[1,-6],[-2,-11],[1,-15],[0,-15],[-2,-13],[-3,-8],[0,-8],[-7,-7],[-7,-10],[-6,-11],[-7,-17],[-8,-25],[-7,-36],[-9,-27],[-4,-10],[-4,-11],[-7,-13],[-8,-13],[-10,-11],[-3,-5],[-3,-7],[-1,3],[1,4],[-1,4],[0,5],[2,1],[3,-3],[2,4],[4,1],[6,13],[5,4],[3,8],[0,13],[2,2],[3,-1],[1,3],[-1,2],[1,6],[5,5],[2,7],[-1,16],[1,1],[2,-3],[1,1],[1,7],[0,4],[-3,1],[-8,-8],[-2,0],[-1,6],[-4,3],[-1,5],[0,4],[-2,1],[0,-6],[1,-6],[3,-7],[-1,-2],[-3,-11],[0,-6],[-1,1],[-1,-9],[-2,-4],[-1,-4],[1,-4],[-7,-11],[-8,-8],[0,-6],[-1,-7],[-3,-5],[-2,-11],[0,-5],[2,-12],[-2,-3],[-4,-12],[-4,-25],[-4,-15],[-3,-8],[-17,-27]],[[3517,3240],[-1,0],[-4,5],[0,28],[2,6],[2,3],[2,5],[3,6],[2,5],[0,3],[-2,3],[-4,3],[-4,4],[-3,6],[-1,6],[-2,6],[-1,8],[-3,3],[-3,4],[-7,4],[-4,7],[-5,12],[-1,3],[-9,5],[-4,7],[-1,-2],[-5,5],[-1,5],[-4,10],[-3,5],[-2,1],[-1,-4],[-4,-6],[-4,-3],[-2,0],[0,5],[1,9],[-2,4],[-3,8],[-7,11],[-8,15],[-4,4],[-2,1],[-3,-1],[-3,-2],[-1,-7],[-1,-1],[-5,0],[-5,1],[-1,5]],[[3482,3710],[0,8],[4,13],[1,5],[0,4],[1,11],[2,20],[1,12],[-1,6],[0,5],[2,4],[-5,9],[-3,2],[-2,3],[-2,-1],[-1,-2],[-3,-2],[-3,-3],[-1,-2],[-6,-2],[-5,1],[-2,8],[0,10],[-2,3],[-1,3],[0,3],[1,4],[0,6],[-1,2],[0,10],[-2,7],[0,4],[-1,4],[0,4],[1,4],[0,4],[-2,5],[-2,11],[-2,5],[-2,0],[-2,2],[-6,0],[-4,6],[-1,5],[-2,1],[-2,-2],[-3,-7],[-2,0],[-2,-2],[-4,0],[-3,1],[-3,2],[-3,1],[-2,-1],[-2,1],[-5,1],[-2,3],[-3,1],[-2,-2],[-2,0],[-2,2],[-1,3],[2,8],[-1,4],[1,3],[0,17],[2,8],[-1,5],[2,8],[0,8],[-2,6],[0,8],[-1,4],[-1,1],[-1,4],[0,8],[-2,4],[0,3],[-2,6],[0,4]],[[3066,4552],[-2,0],[-5,2],[-3,0],[-7,-7],[-2,-1],[-3,0],[-2,2],[-2,5],[-2,-2],[-1,-2],[0,25],[0,43],[2,7],[-1,5],[0,5],[-1,3],[-1,-2],[-6,-9],[-2,-5],[-2,-3],[-2,-2],[-4,-7],[-2,-1],[-8,-1],[-16,0],[0,9],[-2,4],[0,5],[-2,8],[-1,3],[-3,1],[-4,2],[-5,2],[-11,0],[3,9],[3,8],[0,7],[-3,7],[-1,4],[-2,5],[-3,4],[-1,5],[0,3],[-2,3],[-2,4],[-2,3],[0,5],[-2,3],[0,7],[-3,5],[-1,3],[0,3],[2,3],[-1,3],[-2,3],[-2,4],[-3,4],[0,3],[1,2],[0,7],[3,2],[3,1],[0,4],[-1,5],[-1,2],[0,4],[1,6],[0,4],[2,4],[10,15],[3,0],[3,6],[0,7],[-2,11],[-1,3],[1,4],[1,6],[3,8],[2,9],[0,2],[1,6],[1,11],[0,8],[2,4],[4,1],[2,4],[4,6],[3,7],[3,2],[5,6],[3,4],[4,4],[8,2],[3,2],[3,0],[2,3],[3,0],[5,2],[1,3],[2,4],[2,3],[2,1],[2,-1],[3,0],[4,1],[2,-5],[2,-3],[3,0],[2,-2],[2,0],[1,2],[0,3]],[[3056,4939],[0,2],[1,12],[2,19],[1,18],[2,20],[4,40],[1,17],[1,14],[1,9],[2,22],[0,5],[-1,3],[0,6],[-1,2],[-2,2],[0,5],[-1,2],[0,2],[-1,3],[1,2],[0,7],[-2,5],[-2,1],[-2,4],[-3,4],[-3,7],[-1,3],[0,42],[4,0],[5,2],[2,3],[1,-1],[3,4],[3,-1],[1,-2],[2,-1],[1,-2],[3,1],[0,13],[-1,2],[-2,7],[-1,2],[-2,1],[-1,-2],[-3,1],[-1,1],[-2,0],[-2,-1],[-1,1],[-2,0],[-1,-1],[0,38],[3,1],[2,0],[2,2],[3,0],[5,-3],[11,0],[20,0],[-2,8],[1,3],[0,3],[1,2],[2,-2],[1,-6],[1,-4],[2,-2],[3,1],[1,1],[3,8],[3,7],[2,2],[1,2],[3,0],[1,-2],[4,-13],[3,-9],[1,-5],[0,-12],[-1,-11],[1,-2],[6,3]],[[3142,5254],[7,-14],[5,-9],[2,-4],[5,0],[5,3],[5,7],[3,3],[1,0],[3,-3],[1,-5],[-1,-6],[0,-3],[2,0],[2,6],[4,8],[3,5],[2,5],[5,7],[3,2],[2,-1],[2,3],[4,8],[1,1],[5,0],[3,4],[2,6],[2,8],[0,8],[1,2],[2,2],[3,0],[4,4],[3,4],[3,1],[1,1],[1,4],[1,7],[-1,4],[-5,1],[-4,0],[-8,3],[-1,1],[0,2],[1,3],[0,5],[-1,8],[-3,11],[-2,12],[0,22],[-1,4],[-8,14],[-3,6],[-1,5],[-3,8],[0,3],[2,-1],[2,-2],[1,-4],[1,-1],[9,0],[2,-1],[2,-3],[1,-6],[2,-2],[10,0],[4,-2],[4,2],[2,-1],[4,-9],[3,-4],[2,-6],[3,0],[3,5],[0,15],[1,5],[1,1],[2,0],[4,6],[2,1],[7,-4],[2,2],[7,4],[7,5],[2,7],[4,2],[2,4],[5,0],[2,1],[2,3],[1,6],[2,3],[3,2],[2,3],[2,7],[0,3],[-2,10],[-2,2]],[[3312,5483],[2,1],[2,-2],[4,0],[1,1],[2,0],[3,3],[1,-1],[2,0],[1,-3],[0,-2],[3,-4],[0,-5],[-1,-5],[0,-10],[-1,-4],[-2,-4],[0,-2],[-1,-2],[1,-1],[5,0],[1,-2],[2,0],[3,-3],[1,-2],[0,-2],[-1,-4],[0,-5],[1,-2],[2,-8],[2,-5],[-1,-3],[-2,-8],[-2,-5],[-3,-4],[0,-14],[-1,-4],[-3,-16],[0,-18],[3,-19],[3,-5],[1,-9],[-1,-9],[0,-3],[1,-2],[1,0],[1,-2],[0,-5],[3,-3],[5,-10],[1,-1],[0,-2],[3,-5],[7,-5],[3,-5],[1,-1],[3,3],[1,2],[5,0],[0,2],[1,2],[-1,5],[1,2],[2,1],[0,2],[2,4],[3,-2],[2,-2],[3,0],[1,1],[0,2],[1,4],[3,1],[2,2],[5,0],[2,2],[1,2],[2,8],[3,3],[4,1],[2,2],[2,-4],[5,-3],[2,0],[2,2],[2,0],[2,-1],[2,2]],[[3347,5937],[-1,-1],[-3,2],[-1,3],[0,9],[2,0],[4,-9],[-1,-4]],[[8194,5466],[3,0]],[[8197,5466],[1,-2],[1,-7],[2,-7],[0,-10],[1,-5],[-2,-1],[-4,2],[-1,11],[-1,7],[0,12]],[[8194,5466],[-2,-3],[-3,-3],[-3,-5],[0,-3],[1,-6],[0,-6],[2,-4],[-1,-2],[-1,-4],[1,-1],[-1,-6],[-2,-4],[-1,-3],[-2,-1],[-1,2],[-4,11],[-3,1],[-1,2],[0,7],[-1,3],[-2,3],[-2,2],[-1,2]],[[8167,5448],[3,0],[4,1],[6,6],[3,5],[6,8],[4,5],[1,-1],[0,-6]],[[7468,6757],[2,8],[2,3],[2,5],[1,6],[4,7],[5,14],[5,5],[3,2],[2,4],[4,3],[7,-2],[4,-3],[0,-3],[-1,-5],[4,-1],[4,1],[8,-3],[3,-4],[2,1],[2,3],[3,3],[3,-4],[7,-5],[0,-10]],[[7544,6782],[-1,-5],[0,-6],[4,-7],[3,0],[3,1],[1,-1],[2,-5],[1,-4],[-2,-4],[-1,-4],[0,-4],[2,-6],[0,-6],[-2,-1],[-4,0],[-3,-1],[-2,-2],[-4,0],[-2,4],[-1,0],[-4,-5],[-4,1],[-7,-1],[-4,-1],[-5,2],[-3,3],[-3,2],[-4,-2],[-2,-6],[-5,-1],[-5,-2],[-1,1],[-3,0],[0,3],[-2,2],[-4,1],[-2,2],[-5,-2],[-3,3],[-3,4],[-2,1],[-1,8],[-2,2],[0,5],[4,5],[0,1]],[[5815,3905],[-7,-1],[-3,-4],[-2,-7],[-3,-5],[-4,-3],[-4,-2],[-5,-1],[-4,-6],[-6,-10],[-2,-7],[-1,-5],[-3,-2],[-1,-2],[0,-3],[-3,-1],[-2,-2],[0,-4],[-2,-3],[-3,-1],[-2,-2],[-2,-4],[-3,-2],[-2,-3],[-3,-10],[-4,-28],[-6,-9],[-3,-7],[-1,-4],[-9,-5],[-6,-4],[-1,-2],[-1,-9],[-2,-12],[-2,-9],[-1,-8],[-2,-10],[-4,-6],[-7,-2],[-6,0],[-3,-4],[-4,0],[-5,2],[-6,3],[-4,6],[-6,0],[-13,16],[-3,4],[-4,1],[-7,-3],[-2,-3],[-2,-5],[-1,-8],[-3,-15],[-2,-12],[-1,-4],[-4,-5],[-7,-10],[-3,-11],[-3,-3],[-5,-2],[-1,-2],[-1,-6],[-1,-2],[-6,0],[-1,1],[-11,-1],[-5,2],[-4,-2],[-1,1],[-2,5],[0,17],[4,11],[1,5],[0,15],[-3,10],[-3,14],[-3,16],[-2,4],[-2,7],[-9,12],[-1,2]],[[5554,3756],[0,31],[0,33],[0,33],[0,33],[0,30],[14,0],[13,0],[1,2],[0,34],[0,24],[0,23],[0,24],[0,23],[0,24],[0,23],[0,35],[7,1],[8,2],[13,4],[13,5],[8,3],[13,4],[2,-2],[5,-12],[3,-13],[3,2],[6,11],[3,5],[3,4],[3,3],[4,3],[3,-3],[1,-2],[8,11],[3,3],[8,2],[2,-1]],[[5701,4158],[-1,-2],[0,-8],[1,-4],[2,-3],[3,-8],[1,-7],[2,-5],[6,-12],[0,-4],[1,-4],[3,-9],[1,-2],[0,-6],[3,-16],[3,-10],[2,-2],[6,-10],[6,-8],[7,-6],[4,-4],[3,-2],[1,-3],[1,-5],[1,-9],[0,-5],[5,0],[4,-1],[2,-1],[0,-35],[4,-8],[2,-6],[3,-11],[1,-1],[4,-1],[9,-4],[6,-3],[7,-4],[2,-2],[-1,-7],[0,-3],[2,-5],[4,0],[2,-5],[2,-2]],[[5670,5682],[1,0],[1,-3],[-1,-8],[0,-6],[3,-4],[2,-2],[2,-1],[8,-3],[3,-3],[5,-10],[5,-9],[1,-5],[0,-4],[-2,-5],[3,-8],[3,-5],[5,-6],[9,-10],[4,-6],[4,-10],[3,-5],[2,-4],[-1,-10],[0,-3],[1,-3],[2,-4],[2,-12],[3,-3],[3,-1],[2,-3],[8,-10],[2,-3],[2,-6],[0,-10],[1,-9],[2,-6],[2,-4]],[[5760,5478],[-8,5],[-3,-1],[-4,-6],[-1,-1],[-2,0],[-3,1],[-13,5],[-10,5],[-3,2],[-5,1],[-4,-3],[-3,-11],[-1,-2],[-5,-4],[-2,1],[-6,-3],[-9,5],[-4,-1],[-2,-2],[-7,-5],[-8,-6],[-5,-4],[-3,-2],[-2,0],[-6,4],[-3,1],[-4,-2],[-3,-4],[-4,-12],[-3,-13],[-2,-5],[-14,7],[-7,2],[-4,-2],[-5,4],[-2,0],[-1,-1],[-3,2],[-5,4],[-4,2],[-5,0],[-2,1],[-5,13],[-4,8],[-6,7],[-4,5],[-2,3],[-3,2],[-5,1],[-5,-4],[-7,-10],[-7,-21],[-4,-8],[-3,-2],[0,-5],[2,-18],[-1,-16],[0,-11]],[[5516,5384],[-2,1],[-1,6],[-1,1],[-4,-2],[-2,-3],[-2,-2],[-1,0],[-1,3],[-6,0],[-2,2],[-8,4],[-1,2],[-2,0],[-4,-4],[-8,-4],[-6,-1],[-3,0],[-2,-2],[-1,-2],[-1,-6],[-1,-9],[0,-6],[-1,-6],[0,-10],[-1,-7],[-3,-9],[-4,-16]],[[5448,5314],[-1,5],[-1,7],[0,12],[-1,5],[1,4],[-2,8],[-3,5],[0,2],[-2,0],[-2,1],[-3,6],[-2,6],[-4,7],[-2,7],[-4,8],[-3,7],[-2,7],[0,4],[2,0],[0,3],[-1,5],[-1,7],[-1,4],[-3,7],[-4,5],[-1,2],[0,4],[-2,23],[0,7],[-2,4],[-1,1],[1,5],[0,5],[1,3],[0,21],[-1,1],[0,2],[-2,0],[-2,7],[0,3],[3,6],[4,3],[2,4],[1,3],[2,11],[3,11],[2,2],[1,7],[3,13],[0,4],[1,4],[4,5],[3,10]],[[5429,5617],[6,-2],[4,-1],[3,2],[2,3],[5,3],[5,4],[1,5],[1,3],[2,2],[1,-1],[1,-6],[2,-5],[3,-6],[1,1],[2,4],[5,3],[1,1],[4,6],[5,5],[2,1],[4,4],[8,0],[9,2],[6,1],[3,1],[0,1],[2,6],[0,1],[3,3],[4,9],[3,8],[1,4],[2,3],[-1,3],[-5,7],[0,3],[4,6],[3,2],[7,-1],[7,1],[8,3],[4,3],[7,0],[6,9],[3,2],[0,2],[3,3],[3,7],[3,6],[1,5],[7,15],[2,0],[1,1],[3,10],[1,2],[3,2],[2,7],[0,12],[2,4],[5,6],[2,5],[3,0],[3,4],[3,3],[4,3],[3,-1],[3,-2],[3,-1],[1,-1]],[[5634,5812],[2,-7],[9,-19],[1,-4],[5,-13],[5,-20],[0,-12],[-1,-16],[-1,-4],[-3,-9],[0,-7],[2,-3],[0,-7],[1,-3],[3,-2],[6,-1],[4,-1],[3,-2]],[[3338,7714],[-3,-2],[-4,0],[-2,3],[5,-1],[2,1],[2,-1]],[[3145,7757],[-4,-3],[1,8],[2,2],[1,-1],[0,-6]],[[3306,7803],[-2,1],[-2,3],[2,1],[3,0],[-1,-5]],[[2952,7809],[-4,-1],[3,6],[5,1],[-4,-6]],[[2956,7802],[-2,-1],[-4,1],[-5,-1],[3,4],[4,3],[5,8],[1,0],[-2,-9],[0,-5]],[[3026,7883],[-2,0],[0,2],[6,5],[-1,-4],[-3,-3]],[[3302,7830],[1,-1],[3,3],[2,0],[0,-2],[-3,-2],[-1,-2],[2,-1],[0,-2],[-3,-2],[-1,-3],[1,-2],[4,2],[3,0],[3,2],[6,10],[-6,-1],[-1,1],[5,6],[-1,4],[2,5],[6,6],[2,-3],[0,-4],[4,1],[4,-1],[3,-3],[-1,-5],[-2,-2],[3,-3],[0,-2],[-5,-3],[-3,-4],[-2,-4],[-5,-5],[-8,-4],[-3,0],[-3,1],[-3,0],[-8,-2],[-5,8],[-1,13],[0,7],[2,7],[5,7],[7,20],[2,5],[1,4],[7,10],[4,2],[2,0],[0,-5],[2,-9],[-1,-9],[-3,-11],[-1,-7],[1,-2],[-1,-3],[-6,-7],[-3,-1],[-7,-7]],[[3227,7860],[2,0],[1,5],[4,-1],[2,-2],[3,0],[2,-3],[5,-2],[4,0],[8,2],[14,2],[3,-1],[1,-3],[-8,-8],[-6,-4],[0,-13],[-7,-1],[-2,2],[-1,4],[0,3],[-2,4],[-4,3],[-2,-1],[1,-2],[-2,-2],[-2,0],[-10,4],[-2,3],[-2,5],[1,2],[-7,0],[-3,1],[0,10],[-3,2],[-4,1],[-1,3],[4,8],[1,4],[2,3],[5,6],[-1,-5],[1,-4],[-3,-8],[5,-7],[1,-2],[0,-4],[-1,-2],[3,-2]],[[3279,7907],[4,-2],[-1,-2],[-4,0],[-1,1],[2,11],[3,2],[5,8],[5,3],[2,-1],[-2,-4],[-3,0],[-3,-4],[-2,-4],[-4,-5],[-1,-3]],[[3493,7916],[-2,-2],[-1,2],[2,3],[2,6],[1,-2],[-2,-7]],[[3207,7941],[0,-4],[-4,-4],[-1,1],[1,2],[0,4],[4,1]],[[1571,7991],[-2,-1],[-1,1],[-1,10],[3,-3],[-1,-1],[2,-3],[0,-3]],[[3135,7785],[-4,1],[-2,-2],[-1,1],[-3,6],[1,4],[-2,8],[3,5],[-2,3],[-3,0],[-2,1],[-2,3],[-2,1],[0,5],[1,1],[-1,3],[1,4],[-1,1],[0,22],[0,43],[-4,5],[-4,6],[-4,4],[-2,1],[-5,-4],[-5,-2],[-5,-3],[-5,2],[-1,2],[0,9],[-5,2],[-2,-3],[-1,-3],[-4,-7],[-6,-14],[-5,-9],[-3,-7],[-2,-16],[-3,-5],[-2,-6],[-2,-11],[0,-4],[1,-5],[-2,-2],[-2,-4],[0,-3],[-1,-2],[-4,-4],[-3,-5],[0,-3],[1,-4],[-3,-1],[-2,-3],[1,-3],[-2,-3],[-3,5],[-4,-5],[-2,0],[-3,2],[-3,-5],[-2,-11],[-12,0],[-23,0],[-23,0],[-12,-1],[-19,0]],[[2924,7775],[4,3],[8,8],[6,3],[8,9],[6,2],[1,2],[1,7],[3,10],[3,6],[3,8],[5,6],[7,4],[6,10],[4,3],[4,2],[1,4],[2,3],[6,4],[6,1],[7,4],[5,2],[3,4],[4,2],[13,10],[4,5],[5,10],[4,5],[1,6],[6,8],[6,12],[3,8],[5,5],[9,13],[5,5],[2,1],[5,4],[3,5],[6,5],[9,6],[9,7],[13,7],[14,9],[12,5],[8,1],[10,2],[4,0],[15,-4],[8,-5],[8,-11],[2,-7],[-5,2],[-1,-2],[5,-6],[-1,-8],[-2,-8],[-8,-3],[-2,-3],[-3,-7],[-4,-2],[-2,-3],[-7,-5],[-6,1],[-7,4],[-5,5],[-4,-5],[-5,1],[-2,-1],[-4,1],[1,-3],[2,0],[4,-5],[10,-4],[3,-3],[2,-9],[2,-2],[3,1],[4,5],[3,2],[7,2],[-2,-3],[5,0],[5,-4],[-2,-3],[-2,-6],[-2,-11],[-5,-8],[-6,-8],[1,-2],[2,-1],[4,3],[6,-2],[-2,-10],[3,-11],[2,-2],[1,-9],[2,-5],[-1,-4],[3,-2],[0,-4],[10,-1],[1,-2],[7,-2],[2,-3],[-6,-5],[5,-4],[5,-5],[5,1],[4,-4],[2,-3],[5,1],[6,0],[5,-2],[0,-3],[-1,-2],[5,0],[3,-2],[1,3],[6,3],[7,8],[1,-1],[0,-3],[1,-5],[3,-3],[3,-1],[5,3],[2,-2],[4,-10],[0,-2],[-3,-2],[-2,-3],[10,-1],[2,-3],[-2,-3],[-2,1],[-3,-1],[-3,-3],[-3,-2],[-2,0],[-13,-9],[-6,-3],[-7,-6],[-7,-3],[-8,-4],[-1,-1],[-2,1],[-4,-4],[-5,-1],[-2,1],[0,-6],[-2,-4],[-4,1],[-4,3],[0,3],[-3,3],[-1,-6],[-1,-3],[-2,5],[-4,-2],[-1,-6],[1,-1],[1,-5],[-2,-3],[-1,1],[-3,-7],[-3,-2],[-3,-7],[-4,-5],[-1,-4],[-6,-8],[-4,0],[-3,-3],[0,-7],[-1,1],[-2,-3],[-3,2],[-3,-1],[-2,1],[-4,14],[-3,1],[-1,-4],[-3,4],[-1,15],[-1,4],[3,13],[7,11],[-3,1],[-5,-8],[0,2],[3,5],[3,3],[4,2],[3,0],[4,5],[-5,0],[22,22],[5,4],[8,4],[1,3],[2,0],[-1,-4],[0,-3],[1,-3],[3,-1],[4,6],[9,5],[8,1],[3,2],[-7,2],[-8,-1],[-5,2],[-7,-1],[-7,1],[-3,-2],[-1,-3],[-3,1],[-2,2],[2,6],[8,8],[4,8],[2,1],[1,3],[-3,0],[-2,-1],[-1,3],[-3,3],[1,-6],[-5,-10],[-4,-1],[-4,-4],[-14,-12],[-9,-7],[-2,0],[-4,2],[-1,-2],[-3,-2],[-5,-5],[-2,2],[-6,-3],[-4,-1],[-2,5],[-4,0],[-1,1]],[[1497,8026],[1,-5],[-4,1],[-1,1],[1,4],[3,-1]],[[3484,8040],[-7,-6],[-1,1],[-1,5],[2,0],[2,-2],[3,3],[2,-1]],[[3497,8048],[3,-4],[-7,-4],[-2,0],[0,7],[3,-2],[1,4],[2,-1]],[[1551,8036],[0,-1],[-6,4],[-3,3],[-1,3],[-4,3],[1,2],[2,0],[3,-2],[3,-4],[5,-8]],[[1482,8041],[-2,-1],[-7,7],[1,3],[0,4],[2,2],[3,-2],[1,-2],[2,-7],[0,-4]],[[3282,8011],[-11,-1],[-9,4],[-7,1],[-7,4],[-15,10],[-1,3],[-4,8],[-3,4],[-16,9],[-1,4],[3,2],[4,1],[3,0],[10,-4],[13,-3],[6,-3],[12,-8],[14,-13],[3,-1],[6,-6],[3,-8],[-1,-2],[-2,-1]],[[1528,8065],[-1,-1],[-1,7],[1,2],[2,0],[1,-6],[-2,-2]],[[1522,8069],[-2,2],[-3,10],[2,6],[3,-1],[3,-7],[0,-3],[-3,-7]],[[1466,8100],[14,-7],[14,-4],[10,-4],[6,-1],[4,-3],[4,-12],[3,-5],[4,-10],[4,-6],[1,-3],[-1,-2],[3,-7],[5,-6],[13,-7],[5,-4],[5,-9],[2,-7],[3,-8],[4,-13],[1,1],[0,5],[2,-1],[3,-13],[-2,-3],[-3,2],[-2,-5],[-2,-1],[-9,3],[-13,8],[-8,4],[-9,7],[-3,3],[-1,3],[6,8],[2,4],[2,7],[-1,0],[-2,-7],[-1,-1],[-7,-1],[-5,1],[-3,-4],[-2,1],[-3,4],[-5,4],[4,3],[1,3],[-2,0],[-3,5],[-2,-2],[-2,2],[1,5],[-3,0],[-1,3],[-4,1],[-1,-3],[-1,0],[-4,4],[-2,-3],[-1,1],[0,10],[3,1],[3,3],[-6,4],[-5,10],[-5,2],[-2,-4],[-4,0],[-2,4],[0,3],[1,3],[-1,4],[-2,1],[0,-4],[-2,-1],[-3,7],[-6,0],[-3,-3],[-3,2],[2,3],[-1,6],[-3,1],[1,7],[2,1],[6,1],[2,-1],[1,4],[2,3],[-2,1],[-6,0],[0,-4],[-3,-2],[-6,0],[-2,1],[-4,5],[-2,5],[0,3],[1,3],[2,2],[4,2],[5,0],[6,-3],[14,-10]],[[3459,8152],[-2,-6],[-3,-4],[-3,-1],[-6,0],[-2,-1],[-1,-4],[2,-4],[4,1],[2,-5],[0,-2],[-3,-11],[-2,-4],[-4,-3],[-1,-3],[0,-4],[-7,-14],[-2,-2],[0,-2],[-2,-8],[-5,-8],[-1,-3],[0,-8],[-3,-5],[1,-4],[0,-6],[2,2],[4,8],[3,5],[2,1],[5,11],[2,1],[1,-2],[0,-3],[-1,-4],[7,4],[1,0],[3,-3],[3,0],[4,2],[0,-3],[-2,-3],[-4,-4],[-9,-7],[0,-2],[4,1],[1,-1],[0,-5],[-5,-7],[7,3],[4,-4],[5,1],[3,2],[1,-3],[0,-4],[2,2],[0,7],[2,-3],[0,-4],[-2,-8],[-2,-6],[0,-5],[3,4],[-1,2],[2,4],[4,3],[2,-2],[4,5],[3,2],[4,6],[3,2],[0,-11],[1,0],[2,5],[3,0],[8,1],[3,-1],[3,-2],[4,-4],[1,-3],[0,-7],[-7,-9],[0,-2],[-2,-4],[-1,-5],[1,-2],[-2,-1],[0,-2],[2,-2],[3,1],[2,-2],[-2,-5],[0,-3],[-3,-2],[-6,-5],[0,-1],[7,4],[2,0],[1,3],[3,0],[3,-1],[5,5],[2,-1],[2,1],[4,5],[1,0],[0,-8],[-3,-7],[-2,-2],[-3,0],[-2,-4],[-4,-4],[-2,-1],[2,-6],[-1,-1],[-4,-1],[2,-2],[0,-4],[-1,-3],[-5,-7],[1,-4],[2,-4],[4,1],[3,4],[6,15],[6,4],[4,4],[2,-1],[-3,-5],[-4,-13],[-2,-9],[0,-8],[2,-3],[4,5],[2,4],[3,9],[2,-2],[0,-3],[2,-8],[-1,-7],[-7,-19],[1,-3],[0,-4],[-2,-9],[-2,-6],[-2,-3],[-2,-1],[-3,4],[-3,0],[-4,-5],[-1,0],[-1,3],[0,12],[1,4],[-1,3],[1,5],[-1,3],[-5,-8],[-2,-4],[-4,-6],[-2,-1],[-2,1],[-1,5],[3,9],[3,11],[3,7],[0,4],[-1,3],[-1,8],[-3,9],[-4,3],[-1,-1],[0,-4],[-5,-13],[-2,-8],[-2,1],[-1,2],[-2,-3],[-3,-1],[-3,0],[-6,-13],[0,-4],[-2,-3],[-4,-8],[-3,0],[-2,1],[-1,-1],[-9,-2],[-3,3],[0,3],[3,6],[6,2],[4,3],[3,5],[5,11],[6,4],[3,3],[2,4],[0,2],[-4,-3],[-4,2],[-8,0],[-2,-10],[-4,-1],[-5,2],[-3,2],[-6,-2],[0,2],[6,4],[1,11],[-2,0],[-3,-2],[-3,2],[-1,-1],[-2,-6],[-6,-3],[-7,-1],[-2,-2],[-19,4],[-6,-1],[-6,2],[-1,1],[-11,0],[0,4],[-5,-5],[-3,-2],[-14,-3],[-3,2],[-3,8],[-1,9],[3,6],[8,9],[7,10],[3,5],[3,1],[5,5],[-5,0],[-3,1],[-3,0],[-6,-1],[-6,0],[0,2],[3,4],[4,4],[0,-3],[2,-2],[3,-1],[1,2],[1,7],[3,9],[1,6],[4,5],[1,-1],[4,-1],[2,1],[3,8],[-3,1],[-3,4],[0,5],[1,3],[2,3],[3,3],[4,-4],[2,2],[-3,5],[-1,6],[6,19],[3,10],[4,15],[3,7],[5,2],[-3,2],[0,4],[4,4],[4,8],[-1,4],[6,7],[2,9],[3,5],[12,7],[5,5],[3,-1],[1,-3],[5,-2],[1,2],[-1,3],[1,1],[5,1],[1,-3]],[[1446,8148],[-2,-1],[-3,3],[-1,9],[3,3],[3,-6],[0,-8]],[[3461,8172],[-1,3],[4,3],[-1,-4],[-2,-2]],[[2794,8176],[-1,-1],[-5,2],[-1,2],[8,5],[2,-1],[-1,-5],[-2,-2]],[[1360,8176],[-2,1],[-1,7],[1,3],[2,-3],[0,-8]],[[1434,8202],[-3,-1],[1,3],[0,15],[2,4],[3,1],[-1,-14],[-2,-8]],[[1418,8208],[-1,-3],[-4,6],[-4,9],[0,5],[2,-1],[5,-7],[2,-4],[0,-5]],[[1407,8236],[-2,1],[-3,6],[0,4],[2,-1],[3,-10]],[[2757,8221],[-8,1],[-10,5],[-13,7],[-5,3],[-1,2],[4,7],[2,1],[14,2],[5,-1],[11,-16],[1,-6],[0,-5]],[[1340,8247],[2,-5],[1,-5],[0,-5],[-5,-3],[-3,2],[-2,-2],[5,-3],[2,-4],[4,-1],[4,-2],[-4,-7],[5,-9],[1,-1],[3,1],[0,-2],[-2,-4],[2,-2],[4,0],[0,-4],[-3,-4],[-5,5],[-3,5],[-1,4],[-7,9],[-8,12],[-2,2],[-3,7],[1,2],[3,1],[0,2],[-9,4],[-2,4],[5,0],[9,2],[1,2],[4,1],[3,-2]],[[1428,8233],[2,-19],[0,-6],[-2,-4],[-3,-9],[-2,4],[0,23],[-1,0],[-1,-4],[-2,-1],[-4,5],[-2,8],[-2,4],[0,3],[3,7],[0,6],[1,2],[2,0],[6,-6],[3,-4],[2,-9]],[[1411,8243],[-3,-1],[-1,2],[0,4],[2,4],[2,1],[0,-10]],[[2779,8254],[0,-2],[-2,0],[-2,3],[1,2],[3,-3]],[[1392,8246],[-2,0],[-6,10],[-4,3],[-3,5],[-3,3],[2,5],[1,0],[6,-4],[7,-7],[5,-11],[-3,-4]],[[1382,8291],[-3,-5],[-2,-1],[-2,1],[-3,4],[-2,-1],[1,-3],[-2,0],[0,5],[1,2],[6,6],[4,-3],[2,-5]],[[1314,8301],[3,-3],[6,2],[4,-5],[1,-4],[0,-6],[-1,-2],[-10,-7],[0,-2],[11,1],[0,7],[2,4],[-1,10],[5,0],[4,2],[3,4],[1,0],[-1,-9],[-5,-16],[-1,-7],[0,-12],[-1,-4],[-2,-3],[-9,-4],[-5,0],[-4,4],[-2,3],[1,3],[5,0],[2,-2],[1,1],[-7,6],[-5,3],[-2,7],[-4,9],[-1,8],[0,5],[1,8],[1,1],[10,-2]],[[1362,8321],[0,4],[1,5],[4,-1],[-1,-4],[-4,-4]],[[1372,8338],[8,10],[2,5]],[[1382,8353],[1,-5],[-4,-7],[-6,-4],[-1,1]],[[3305,8411],[0,-1],[-6,2],[1,4],[2,1],[4,-3],[-1,-3]],[[2810,8417],[-3,-1],[0,2],[2,4],[1,4],[0,5],[2,3],[2,0],[0,-10],[-1,-3],[-3,-4]],[[2778,8421],[-3,0],[0,4],[6,5],[3,0],[2,2],[1,-1],[-1,-3],[-8,-7]],[[2807,8424],[-5,-11],[-2,-11],[-2,0],[-1,2],[4,13],[-1,4],[-7,-16],[-3,-4],[-2,1],[3,12],[-2,2],[-6,-11],[-3,-4],[-3,2],[0,2],[11,18],[2,5],[2,-1],[-1,-4],[-2,-3],[1,-1],[2,2],[2,4],[2,10],[1,8],[2,-3],[2,-1],[1,-3],[4,-3],[0,-4],[1,-1],[0,-4]],[[2781,8453],[-2,1],[1,5],[2,-3],[-1,-3]],[[3284,8498],[2,-1],[1,-7],[-4,1],[-5,4],[1,3],[2,2],[3,-2]],[[2785,8496],[-3,0],[1,5],[2,0],[0,-5]],[[3078,8584],[-2,-4],[-2,0],[0,6],[-1,3],[4,1],[1,-6]],[[2775,8626],[-3,0],[4,6],[4,-1],[-2,-3],[-3,-2]],[[3210,8660],[-1,-4],[-8,5],[-3,4],[0,3],[5,1],[5,-5],[2,-4]],[[3104,8653],[-4,1],[1,6],[3,5],[2,7],[2,1],[3,-1],[4,-5],[0,-5],[-5,-5],[-6,-4]],[[2818,8681],[-4,-1],[2,4],[5,2],[5,0],[-1,-2],[-7,-3]],[[3198,8718],[-1,-1],[-2,3],[-12,9],[-1,5],[2,1],[6,1],[5,0],[4,-1],[4,-4],[-1,-3],[0,-4],[-4,-6]],[[2415,8745],[-4,3],[-1,2],[4,1],[2,-3],[-1,-3]],[[3193,8747],[2,0],[0,-2],[3,-3],[-2,-3],[-7,4],[-2,4],[0,2],[2,2],[3,-1],[1,-3]],[[2790,8778],[2,-1],[3,-6],[2,-2],[-1,-13],[-2,-3],[-6,-15],[-3,-6],[-3,-1],[-8,9],[-3,2],[-2,4],[0,12],[1,5],[6,11],[5,4],[4,-1],[5,1]],[[3199,8787],[8,-1],[3,-4],[-2,-4],[-5,-2],[-7,3],[-1,2],[3,2],[1,4]],[[2944,8790],[-7,0],[-11,5],[2,2],[5,-3],[8,0],[2,-1],[1,-3]],[[3045,8786],[-5,0],[-4,1],[-3,2],[-2,3],[0,3],[-4,5],[-4,1],[-2,4],[11,-2],[10,-6],[5,-7],[0,-3],[-2,-1]],[[2721,8809],[2,-1],[-1,-9],[-1,-3],[-3,-4],[-12,-14],[-13,-12],[-3,0],[-3,2],[-4,0],[-9,-4],[-1,8],[-5,7],[0,2],[5,6],[10,20],[3,0],[5,-2],[4,0],[7,4],[7,-1],[6,3],[3,0],[3,-2]],[[2836,8839],[2,-2],[3,0],[5,-10],[0,-2],[-4,-4],[-4,-2],[-6,1],[-7,6],[-7,10],[0,2],[8,2],[8,0],[2,-1]],[[2869,8835],[-3,-1],[-4,1],[-12,11],[7,5],[10,-6],[3,-4],[-1,-6]],[[2842,8869],[-2,-3],[-5,1],[-1,3],[7,2],[1,-3]],[[2640,8942],[3,0],[1,3],[5,8],[3,1],[7,-6],[2,-3],[1,-4],[7,-3],[11,-3],[8,-10],[6,-3],[11,-9],[9,-2],[6,-4],[7,-13],[4,-15],[-2,-3],[-5,-5],[5,0],[11,3],[9,-3],[2,4],[3,0],[4,-4],[3,-5],[0,-2],[9,-6],[-1,-2],[-12,-10],[-6,-6],[-3,-1],[-4,1],[-5,3],[-22,9],[-6,1],[-1,1],[-2,11],[-2,2],[-13,4],[0,6],[-1,2],[-7,-1],[-8,-5],[0,-3],[-2,-8],[-2,-3],[-11,-12],[-5,-1],[-5,-12],[-8,-8],[-5,-3],[-7,-3],[-5,-1],[-3,1],[-2,8],[-4,22],[-2,3],[-14,-3],[-8,0],[-7,-5],[-6,0],[-3,1],[-1,5],[7,13],[18,11],[1,2],[0,6],[-2,8],[-1,8],[1,9],[3,13],[1,7],[2,23],[1,7],[3,10],[5,7],[3,3],[4,2],[3,-4],[5,-3],[4,-6],[0,-6],[-4,-4],[6,-5],[3,-10]],[[2647,8960],[-3,0],[-2,5],[-7,6],[-1,3],[-1,8],[1,4],[6,-1],[7,-12],[2,-8],[0,-3],[-2,-2]],[[2674,8973],[3,-2],[9,-2],[1,-2],[-4,-4],[-6,4],[-1,-2],[-5,1],[3,5],[-3,2],[-5,-3],[-3,2],[-1,8],[-2,3],[-4,2],[-3,4],[2,3],[8,-3],[9,-6],[2,-3],[0,-3],[-2,-2],[2,-2]],[[2690,9001],[6,-1],[-4,-4],[-2,5]],[[1997,9043],[3,-1],[5,0],[-1,-4],[-3,-4],[-3,5],[-1,4]],[[3258,9046],[-3,-2],[-2,2],[7,7],[6,0],[-8,-7]],[[2002,9066],[-1,-5],[-6,6],[0,6],[1,6],[2,2],[2,-3],[0,-6],[2,-3],[0,-3]],[[1967,9099],[5,0],[3,-5],[-1,-1],[-7,4],[0,2]],[[2954,9088],[-13,-1],[-8,1],[-5,2],[-5,9],[1,5],[9,1],[14,-4],[8,0],[3,-1],[2,-7],[0,-5],[-6,0]],[[2594,9085],[-8,4],[-1,3],[2,9],[-3,3],[0,3],[3,6],[4,5],[4,-1],[4,-6],[-1,-3],[2,-9],[0,-3],[-2,-7],[-4,-4]],[[2897,9119],[15,-6],[2,-3],[0,-7],[-2,-4],[1,-13],[0,-7],[-1,-6],[-5,-8],[-13,-6],[-7,-2],[-8,0],[-10,-1],[-5,0],[-4,2],[-2,3],[-4,11],[-2,10],[2,9],[3,6],[5,8],[7,10],[9,3],[8,0],[3,1],[8,0]],[[2805,9111],[-2,-1],[-3,4],[1,5],[5,1],[4,-5],[-5,-4]],[[2095,9123],[-4,1],[-7,4],[-3,3],[2,2],[8,0],[3,-1],[3,-3],[1,-4],[-3,-2]],[[2919,9120],[-2,0],[-3,3],[-7,4],[-2,3],[0,4],[3,6],[6,-1],[2,-2],[5,-9],[0,-5],[-2,-3]],[[2170,9134],[-13,5],[1,2],[4,2],[4,5],[7,-3],[1,-3],[-1,-4],[-3,-4]],[[2215,9146],[-4,-4],[-7,3],[1,13],[2,2],[3,-1],[3,-4],[4,-3],[-2,-6]],[[2222,9158],[-1,-3],[-5,2],[-1,5],[2,3],[4,-2],[1,-5]],[[2486,9170],[-3,0],[-3,4],[-2,0],[0,3],[5,2],[3,-7],[0,-2]],[[2799,9149],[-4,0],[-1,5],[4,6],[3,3],[7,2],[2,6],[4,2],[0,5],[6,2],[3,0],[3,-5],[-1,-2],[-5,-4],[-4,-7],[-7,-9],[-10,-4]],[[2494,9182],[0,-4],[-2,-5],[-2,-1],[-4,5],[0,2],[3,3],[5,0]],[[2860,9166],[-3,-1],[-3,1],[-3,3],[-1,4],[1,9],[6,1],[3,-2],[7,0],[2,-2],[0,-3],[-5,-5],[-1,-3],[-3,-2]],[[2189,9180],[-3,0],[0,3],[2,2],[-3,2],[0,4],[6,-2],[3,-5],[-2,0],[-3,-4]],[[2346,9191],[4,-4],[-2,-8],[-4,-2],[-4,1],[2,3],[-1,8],[-3,1],[0,-7],[-2,-5],[-3,2],[0,7],[1,3],[4,4],[3,0],[5,-3]],[[1137,9191],[-2,-2],[-5,3],[4,3],[2,0],[6,-3],[-5,-1]],[[3113,9189],[-1,-1],[-7,3],[-1,2],[7,4],[2,0],[4,-3],[-4,-5]],[[2832,9199],[1,-5],[-9,-5],[-7,-3],[-6,2],[5,6],[8,2],[3,4],[5,-1]],[[2793,9203],[2,-4],[-1,-2],[-5,-3],[-9,-1],[-2,-3],[0,-3],[-5,1],[-3,4],[-2,-1],[-3,4],[-10,2],[0,2],[4,2],[5,-1],[1,4],[4,-1],[2,1],[7,-4],[10,4],[5,-1]],[[2293,9195],[2,-1],[2,3],[5,-4],[3,-4],[8,-4],[11,-8],[7,-12],[3,-6],[3,-4],[7,-7],[4,3],[4,-1],[0,-4],[-5,-3],[-4,0],[-5,-3],[-2,-4],[-4,-1],[-7,-6],[-4,-2],[-5,0],[-11,4],[-7,-1],[-6,1],[-12,8],[-11,5],[-1,5],[-6,-3],[-4,0],[-4,2],[-1,5],[-3,1],[-3,-2],[0,-2],[-7,0],[-3,3],[-3,7],[3,5],[15,2],[5,3],[6,5],[2,3],[-3,4],[0,9],[4,-1],[5,-5],[2,2],[-4,7],[0,3],[2,6],[4,3],[8,1],[3,-1],[8,-7],[-2,-2],[1,-2]],[[2585,9222],[3,-1],[3,1],[4,-2],[0,-5],[-8,-1],[-4,2],[-2,-1],[-4,1],[-3,5],[6,3],[5,-2]],[[2213,9244],[-6,1],[-3,2],[-1,3],[1,4],[3,0],[7,-5],[-1,-5]],[[1388,8402],[0,8],[-2,5],[-4,-1],[-5,2],[-2,6],[-5,2],[-2,4],[-6,3],[-4,1],[-3,3],[-8,6],[-2,2],[-7,0],[-2,9],[0,2],[-2,2],[-4,2],[2,10],[-9,3],[3,7],[-6,12],[-3,5],[-7,16],[-5,10],[-3,7],[-5,9],[-4,6],[1,5],[-8,10],[-4,7],[-11,8],[-5,9],[-1,5],[-5,4],[-5,5],[-4,2],[-4,9],[1,3],[0,5],[-6,7],[-6,5],[-17,-9],[-6,-2],[2,-4],[-1,-3],[-5,-1],[0,-10],[-3,-8],[-7,0],[-13,-9],[-4,-5],[-3,1],[1,4],[-1,7],[-2,7],[-7,8],[-4,4],[-5,6],[-13,13],[-2,8],[-9,5],[-4,5],[1,5],[2,6],[0,4],[-4,0],[-7,-1],[-6,0],[-8,-8],[-13,6],[-2,-4],[-13,4],[0,34],[0,34],[0,17],[0,33],[0,34],[0,34],[0,33],[0,17],[0,34],[0,17],[0,33],[0,17],[0,34],[0,33],[0,34],[0,34],[0,33],[0,34]],[[1083,9195],[16,-3],[12,1],[22,-6],[14,-11],[11,-6],[4,-4],[25,-10],[5,-1],[10,-4],[6,1],[10,-1],[7,-3],[14,-8],[4,0],[-5,8],[-6,3],[-7,2],[-2,3],[2,2],[6,1],[-7,5],[6,12],[2,-2],[3,3],[6,-2],[2,7],[2,3],[8,1],[11,-1],[-1,6],[3,6],[4,-1],[3,-5],[7,-3],[-1,-6],[-2,-2],[-5,-8],[7,3],[7,4],[6,2],[5,0],[6,4],[4,9],[2,1],[11,0],[1,1],[-4,2],[2,2],[4,1],[3,-3],[2,0],[7,3],[9,7],[8,3],[2,-2],[3,1],[6,8],[7,5],[7,0],[6,-3],[4,1],[3,-1],[6,6],[3,-1],[2,-6],[-3,-4],[-22,-12],[-7,-6],[-7,-3],[-25,-5],[-3,-1],[-5,-7],[-5,-6],[-5,-2],[-5,0],[-4,-4],[-4,-6],[-12,-12],[2,-2],[17,-2],[4,2],[1,2],[-5,1],[-2,6],[2,4],[5,4],[5,1],[6,4],[6,3],[4,5],[-1,2],[5,3],[8,-1],[1,-2],[4,3],[3,0],[2,-6],[3,-2],[6,9],[8,10],[7,4],[15,6],[13,3],[3,3],[2,-3],[-6,-2],[0,-5],[3,-3],[9,6],[10,10],[2,7],[5,3],[9,4],[3,2],[-10,3],[1,3],[-5,3],[0,4],[4,5],[5,-1],[3,-2],[10,-9],[7,-7],[6,-10],[6,-17],[12,-13],[6,-5],[9,-5],[9,-1],[6,4],[0,3],[-2,5],[-3,4],[4,6],[1,5],[3,0],[9,10],[-6,1],[0,2],[6,2],[1,2],[4,2],[4,-2],[-1,-12],[3,-10],[6,-3],[0,-2],[-9,-11],[1,-5],[9,-1],[2,1],[12,0],[4,3],[3,4],[4,3],[2,5],[2,9],[3,2],[5,-1],[2,1],[9,-1],[9,1],[9,-1],[21,-8],[19,-14],[12,-5],[27,-5],[4,-1],[7,-5],[11,-6],[22,-6],[5,-2],[3,1],[13,-2],[3,0],[10,-3],[-5,8],[9,-1],[1,2],[7,-1],[6,-2],[5,-3],[7,-2],[10,-6],[6,-5],[6,-6],[4,-8],[3,-1],[-4,-8],[-5,-1],[-14,2],[-2,-5],[-8,-3],[-1,-7],[-7,-5],[0,-2],[4,-1],[4,-3],[8,-1],[16,-4],[3,0],[8,-2],[18,0],[4,-1],[18,0],[3,2],[6,1],[15,1],[11,4],[1,-2],[4,0],[5,2],[12,7],[5,0],[3,3],[2,-1],[3,-6],[4,-3],[2,-4],[2,-1],[11,-1],[4,-1],[3,-4],[0,-6],[4,-6],[1,1],[2,8],[3,1],[4,-7],[14,-13],[2,-5],[-2,-4],[-3,-2],[-4,-1],[-6,1],[6,-7],[3,-5],[10,-10],[1,-3],[4,-1],[-4,7],[0,5],[-1,8],[4,3],[3,-4],[3,0],[7,-3],[-6,10],[2,2],[-8,10],[-2,7],[0,7],[-6,7],[-3,6],[0,5],[6,5],[1,3],[-1,4],[9,1],[9,3],[8,1],[3,5],[8,0],[0,5],[4,5],[7,1],[5,4],[3,7],[-5,3],[-3,-1],[-12,-6],[-2,-3],[-2,-6],[-9,1],[-6,-4],[-4,-1],[-6,2],[-3,0],[-4,-3],[2,-4],[-1,-2],[-8,-1],[-3,1],[-4,-1],[-3,1],[-10,7],[2,5],[10,13],[15,2],[9,3],[17,7],[3,0],[11,5],[4,1],[10,-3],[4,-2],[4,-7],[4,-17],[8,-7],[4,1],[1,-4],[4,0],[4,-2],[0,-5],[8,-5],[12,0],[7,2],[5,3],[13,-10],[5,-5],[4,-3],[10,-4],[7,1],[5,-1],[9,-3],[13,4],[2,0],[8,3],[3,0],[5,2],[7,0],[20,-3],[5,-3],[4,-1],[6,0],[4,1],[3,2],[8,2],[-2,3],[-4,3],[-3,5],[1,4],[4,-1],[4,-4],[9,-12],[4,-4],[9,-4],[4,-1],[9,6],[0,4],[-2,4],[-4,2],[-5,4],[-6,1],[-10,-5],[-9,10],[1,3],[-1,5],[-2,1],[-4,6],[0,2],[5,1],[7,-4],[4,2],[8,2],[-3,4],[-1,4],[3,1],[8,-4],[1,2],[4,-1],[6,-6],[4,-7],[10,-1],[6,3],[-9,-13],[1,-2],[6,3],[1,4],[11,5],[2,0],[-5,-24],[-1,-6],[-5,-10],[0,-2],[5,-6],[1,-7],[4,-1],[8,3],[1,-1],[-2,-6],[6,1],[4,-4],[0,-8],[-3,-2],[-7,-1],[-5,3],[-7,-1],[-4,4],[-2,-2],[17,-19],[0,-5],[1,0],[1,5],[-1,2],[-7,8],[-1,3],[2,2],[10,-2],[4,0],[4,3],[0,10],[2,7],[-3,14],[-2,6],[-5,5],[-1,2],[7,18],[5,0],[3,2],[7,-3],[3,2],[8,7],[6,6],[4,6],[5,4],[13,7],[0,2],[-5,0],[-1,3],[1,9],[-3,8],[-4,1],[-1,-6],[-4,-6],[-11,-2],[-4,3],[2,6],[2,3],[7,5],[4,5],[-5,1],[-1,6],[1,4],[18,5],[-6,-9],[2,-1],[9,8],[-3,1],[0,5],[-3,2],[-4,-1],[-6,-3],[-4,0],[-5,2],[-8,10],[-3,0],[-3,-4],[-13,5],[-8,5],[-13,4],[-3,6],[-9,11],[-2,5],[0,7],[6,8],[1,3],[5,3],[4,1],[2,6],[-8,-3],[-4,2],[-6,8],[0,4],[3,11],[-2,3],[3,3],[-1,4],[1,2],[10,8],[9,-5],[5,0],[4,9],[-1,1],[-9,0],[-3,4],[7,6],[3,6],[9,7],[16,5],[4,-4],[0,-4],[5,-5],[3,-1],[3,1],[7,0],[2,-1],[-1,-4],[1,-2],[10,-7],[10,-11],[2,-4],[2,-8],[0,-12],[-3,-4],[6,-3],[6,-6],[6,-3],[4,-8],[5,-8],[-1,-3],[4,-1],[3,3],[3,-3],[4,-8],[-12,-1],[-4,2],[-4,4],[-7,-8],[2,-1],[9,0],[4,-3],[-2,-3],[-6,-5],[-17,-13],[2,-1],[9,2],[7,-2],[1,-3],[8,-4],[5,1],[10,6],[5,0],[1,-2],[-4,-2],[0,-2],[10,-2],[11,0],[4,-3],[-6,-1],[-4,-3],[-2,-6],[-2,-1],[-9,1],[14,-10],[4,-9],[3,-4],[-2,-4],[1,-12],[-2,-8],[7,-8],[2,-4],[2,1],[5,7],[4,7],[-1,6],[3,6],[2,12],[5,8],[5,9],[5,2],[3,0],[7,-8],[5,-4],[12,-8],[5,-6],[2,-6],[1,-8],[3,-7],[0,-9],[-2,-3],[-6,0],[-4,6],[-3,-3],[1,-7],[0,-13],[3,-11],[6,-8],[14,-15],[0,-2],[3,-8],[2,-1],[14,14],[2,0],[5,4],[1,10],[4,10],[12,14],[6,22],[-1,7],[2,6],[4,3],[1,3],[6,-2],[12,2],[0,1],[-7,3],[3,6],[2,0],[2,7],[-7,5],[-4,0],[-4,4],[-1,5],[1,5],[-1,5],[1,3],[-3,6],[2,6],[-2,5],[3,1],[6,-3],[5,0],[10,3],[11,-1],[9,-5],[7,-3],[19,-1],[7,1],[10,-3],[0,-3],[-3,-4],[-8,-2],[4,-2],[9,-3],[3,-6],[-1,-3],[8,1],[6,-1],[9,-3],[2,-5],[-17,-13],[7,0],[9,-2],[3,-4],[-1,-7],[-6,-6],[-9,-4],[-2,-2],[-6,3],[-8,-2],[-2,1],[-2,-2],[5,-7],[-2,-1],[2,-2],[4,-8],[6,2],[-2,-7],[0,-4],[3,-7],[8,-8],[8,-7],[4,-8],[-1,-6],[-5,-17],[-4,-3],[-7,-1],[-4,-4],[-3,-6],[-4,-5],[-3,-1],[-7,-7],[-9,-2],[-10,-10],[-3,-1],[-5,1],[-1,6],[-3,3],[-7,11],[-6,0],[-4,5],[2,1],[-7,7],[-4,3],[-5,1],[-5,-4],[-2,-4],[3,-1],[4,4],[3,0],[12,-13],[3,-2],[3,-9],[4,-6],[5,-10],[-2,-2],[-4,1],[-8,4],[-3,-2],[-2,-5],[-12,5],[-6,4],[-5,6],[-4,6],[-5,2],[-5,-3],[-25,0],[-1,-1],[1,-8],[3,-3],[13,-5],[3,-2],[1,-4],[-2,-6],[-25,-28],[-7,-9],[-7,-2],[-14,0],[-5,3],[-7,7],[-5,4],[-3,1],[-2,4],[-9,4],[-14,10],[-5,1],[-5,0],[2,-4],[-7,1],[-6,3],[-5,-1],[-14,3],[-8,0],[-3,-1],[9,-4],[3,2],[11,-2],[12,-4],[3,0],[7,-4],[5,-5],[10,-12],[8,-6],[21,-4],[8,0],[15,-1],[10,-3],[1,-6],[-6,-10],[-2,-6],[-17,-24],[-3,-9],[-3,-4],[-8,-5],[-7,-5],[-5,-1],[-4,1],[-3,2],[-2,-4],[-7,4],[-3,-2],[-3,1],[-4,4],[-2,5],[-7,-3],[4,-3],[2,-7],[-2,-1],[-6,3],[3,-6],[1,-5],[-4,-6],[-3,-3],[-3,-1],[-6,2],[-3,-4],[-3,-1],[-9,3],[-11,6],[-12,2],[1,3],[-3,0],[-2,-2],[-7,0],[-17,9],[-13,5],[-5,1],[-2,-6],[3,-4],[4,-2],[5,1],[-4,3],[0,3],[6,-3],[18,-8],[10,-4],[-1,-2],[-7,-5],[0,-1],[5,0],[9,7],[3,1],[4,-2],[6,-6],[4,-3],[7,-2],[10,-7],[1,-16],[-2,-6],[-7,-1],[-9,-7],[-3,-1],[-12,1],[-6,2],[-3,-2],[-4,0],[-1,-3],[2,-4],[5,-2],[5,-1],[0,-4],[-4,-2],[-3,2],[-5,-2],[-3,1],[-2,-1],[-1,-5],[-5,-5],[7,-10],[-3,0],[-6,6],[-8,4],[-1,-1],[7,-6],[1,-2],[-5,-4],[1,-3],[-1,-2],[-3,-2],[-5,0],[2,-4],[-2,-2],[-6,1],[1,-4],[6,-5],[-1,-3],[-2,-2],[-8,-5],[-5,-7],[-1,-3],[1,-5],[-1,-2],[-4,0],[1,-6],[-3,-11],[-4,-9],[-4,-8],[-2,-7],[-2,-4],[-3,0],[-2,-2],[3,-3],[0,-8],[-2,-12],[-2,-8],[1,-28],[-1,-12],[-1,-7],[-1,-3],[3,-4],[0,-3],[2,-6],[3,0],[5,-7],[3,-2],[-1,-21],[2,2],[1,14],[3,6],[2,2],[7,1],[8,-2],[4,0],[2,1],[3,-2],[1,-2],[0,-7],[1,-5],[5,-15],[6,-26],[6,-18],[2,-8],[-5,-16],[-2,-3],[1,-2],[5,5],[4,0],[2,-2],[6,3],[25,10],[6,1],[9,-2],[7,-4],[7,-6],[8,-4],[13,-3],[3,-2],[7,-2],[4,-2],[10,-12],[5,-4],[6,-4],[5,-8],[9,-16],[2,-2],[6,-3],[10,-3],[15,-8],[15,-7],[4,-3],[4,-4],[4,-6],[5,-5],[0,-7],[4,4],[4,0],[6,-2],[6,0],[8,2],[5,0],[3,1],[7,-3],[3,0],[10,-2],[6,1],[3,-5],[5,1],[3,-1],[6,-5],[2,-4],[2,-8],[0,-3],[-4,-19],[-1,-7],[0,-6],[1,-4],[4,-8],[3,-13],[-1,-4],[-1,-8],[0,-5],[1,-9],[0,-6],[-2,-3],[-2,-8],[1,-6],[7,-9],[4,-9],[4,-5],[4,-8],[0,-3],[-2,-5],[0,-3],[3,0],[4,-5],[3,-3],[5,-3],[4,-4],[9,-13],[2,-5],[2,-8],[2,-5],[0,-3],[-7,-7],[-5,-8],[2,0],[9,11],[3,1],[7,-3],[8,-6],[2,1],[1,3],[2,10],[3,4],[1,5],[4,3],[2,0],[0,-4],[4,-2],[3,-3],[1,-5],[2,-7],[1,0],[1,7],[3,6],[0,2],[-7,12],[0,2],[3,4],[0,4],[5,7],[3,6],[3,7],[-1,2],[0,6],[-1,6],[-5,8],[-1,7],[2,6],[-4,7],[-3,13],[-1,12],[-1,8],[-2,6],[0,3],[2,6],[2,1],[-2,3],[-1,4],[2,3],[-5,6],[1,3],[-4,3],[-4,7],[-5,15],[-2,3],[0,3],[21,10],[2,2],[15,9],[5,5],[7,5],[20,24],[2,6],[9,14],[3,6],[3,14],[0,9],[1,12],[0,10],[-2,17],[-2,11],[-4,13],[0,3],[-10,21],[-9,10],[-2,3],[-13,9],[-9,10],[-5,4],[1,7],[0,4],[2,4],[5,8],[3,6],[4,6],[4,3],[2,4],[0,2],[-3,4],[4,5],[0,7],[4,0],[5,-7],[2,1],[-2,2],[-2,4],[0,2],[4,4],[-1,8],[2,5],[0,2],[-7,1],[-1,2],[4,2],[0,1],[-6,12],[-1,4],[5,6],[0,2],[-6,0],[-2,4],[2,3],[2,6],[-6,-1],[-3,2],[-5,0],[0,2],[9,14],[3,7],[0,13],[6,7],[-5,4],[-7,8],[-4,9],[-1,11],[-1,5],[1,5],[2,4],[4,4],[9,6],[6,2],[5,-1],[9,-1],[7,-4],[22,-8],[4,-4],[-4,-3],[1,-1],[8,6],[4,1],[12,-4],[8,-7],[1,1],[-3,3],[2,2],[12,6],[4,3],[10,6],[8,-6],[10,-10],[5,-4],[5,0],[2,-6],[-1,-4],[-3,-7],[1,0],[6,5],[8,-5],[4,-6],[2,-7],[2,4],[2,0],[6,-4],[1,-2],[-4,-3],[-3,-5],[2,-1],[4,0],[-3,-5],[6,-7],[5,-4],[5,0],[4,-1],[9,-4],[5,-1],[7,2],[3,-2],[1,-3],[0,-4],[1,-2],[5,-1],[6,3],[1,2],[0,4],[1,2],[4,-1],[0,-2],[2,-5],[0,-4],[-2,-4],[-4,-5],[-3,-7],[0,-5],[-1,-2],[1,-3],[0,-4],[3,-6],[0,-6],[-1,-2],[-4,-3],[-4,-1],[-15,0],[-4,1],[1,-3],[8,0],[14,-2],[4,-4],[2,-9],[0,-6],[-2,-3],[-1,-4],[0,-6],[1,-3],[7,0],[2,-3],[-3,-6],[1,-6],[-2,-4],[0,-5],[-1,-3],[-3,-3],[-1,1],[-2,6],[-4,-5],[-3,-2],[-5,-2],[0,-1],[4,-1],[4,-3],[3,0],[3,2],[8,7],[6,3],[6,-1],[7,1],[4,-2],[5,-7],[1,-9],[3,-4],[0,-7],[-2,-10],[-5,-9],[0,-3],[4,4],[4,18],[2,4],[3,1],[1,-1],[2,-8],[2,-1],[2,5],[1,-1],[1,-8],[3,-2],[5,5],[7,4],[4,4],[3,2],[5,1],[3,4],[1,5],[6,9],[2,0],[3,-4],[4,-7],[0,-10],[1,0],[2,6],[0,4],[-4,10],[1,2],[5,2],[-2,3],[2,4],[4,0],[0,3],[5,-1],[0,2],[4,0],[0,1],[-6,3],[-2,2],[-1,5],[3,-1],[1,2],[0,4],[1,2],[3,-1],[-2,6],[0,2],[4,0],[2,-1],[6,-5],[1,1],[-4,4],[-5,3],[-2,2],[-2,4],[0,4],[2,6],[4,2],[6,-4],[1,1],[-4,3],[0,5],[7,20],[3,4],[3,1],[6,-4],[2,-6],[-3,-4],[-1,-3],[4,1],[4,0],[2,-5],[1,-11],[3,2],[2,-4],[1,-6],[3,-4],[2,-4],[-2,-4],[-4,-2],[1,-2],[4,-1],[1,-2],[6,1],[4,-8],[-3,-5],[-7,-3],[-6,0],[1,-2],[4,0],[6,1],[5,2],[4,0],[-1,-4],[2,-6],[-2,-2],[3,-1],[4,2],[5,-12],[-7,-8],[-3,-1],[0,-3],[2,0],[2,-3],[7,4],[6,1],[0,-2],[-2,-9],[-4,-6],[-7,-5],[-5,-6],[1,-1],[7,5],[4,2],[7,2],[2,0],[5,-11],[3,-1],[3,1],[4,-3],[2,-3],[-3,-5],[2,-6],[-1,-3],[-6,-5],[-2,0],[-2,-3],[-2,0],[0,-2],[6,1],[7,-2],[2,-3],[-3,-8],[5,-3],[2,1],[2,-1],[8,-10],[0,-5],[-1,-4],[0,-10],[-4,-1],[-15,2],[-8,4],[-1,-2],[8,-4],[3,-4],[5,-1],[2,-4],[-4,0],[-3,-3],[2,-2],[11,-2],[3,-1],[-2,-2],[-6,-3],[0,-3],[4,-1],[4,1],[2,-1],[1,-9],[-4,-2],[3,-3],[5,-1],[2,-5],[3,0],[4,5],[3,-1],[0,-3],[4,-4],[3,0],[4,-2],[-2,-7],[3,-6],[3,-4],[-5,-7],[-2,-7],[0,-2],[3,-1],[4,3],[7,1],[2,2],[3,1],[2,-2],[0,-4],[2,-2],[3,2],[2,-2],[-1,-2],[1,-5],[5,9],[5,-1],[2,-2],[2,-6],[1,-6],[3,-6],[11,-4],[5,2],[1,3],[6,1],[1,-6],[6,-6],[6,-2],[3,-2],[0,-2],[-3,-3],[-2,-4],[-4,-3],[-5,0],[-7,-2],[0,-2],[-2,-2],[-6,-3],[-3,-7],[-3,-4],[-8,0],[-2,-4],[-5,-2],[-9,-6],[-4,0],[-3,1],[-7,-5],[-2,-4],[0,-3],[-2,-3],[-3,1],[-3,3],[0,-3],[6,-4],[2,-3],[-6,-5],[0,-2],[2,-1],[-3,-3],[0,-2],[5,3],[5,5],[4,6],[6,2],[8,6],[6,6],[6,7],[7,6],[9,5],[7,2],[4,0],[0,1],[-4,1],[-7,-1],[-1,3],[1,2],[4,2],[16,-2],[5,-2],[6,-14],[2,-4],[0,-3],[-3,-5],[-7,-5],[2,-2],[3,-7],[3,3],[5,9],[5,4],[4,1],[7,0],[0,-3],[3,-5],[7,-2],[4,-7],[1,-4],[2,-3],[-1,-2],[2,-4],[0,-6],[-2,-8],[1,-10],[-1,-5],[2,-4],[-1,-3],[-13,-3],[2,-2],[5,0],[6,-1],[3,-2],[1,-3],[-2,-4],[-7,2],[0,-1],[7,-5],[3,-6],[-1,-3],[-9,-12],[-7,-7],[-8,-7],[-12,-13],[-3,-1],[-5,2],[-5,0],[-11,-4],[-5,-5],[-6,-1],[-7,0],[-2,-2],[-2,-5],[-11,-17],[-3,-6],[-6,-6],[-7,-10],[-5,-5],[-2,-6],[-6,-3],[-10,-1],[-4,-1],[-6,2],[-4,-3],[-6,-1],[-3,1],[-12,-6],[-3,6],[-3,2],[-7,0],[-5,2],[-10,2],[-3,0],[-3,-1],[-6,0],[-2,-3],[-10,1],[-4,3],[-8,0],[-4,-2],[-10,2],[-10,-2],[-8,1],[-3,2],[-14,-4],[-5,2],[-5,-5],[-3,1],[-3,-1],[-2,1],[-2,-1],[-1,-3],[-2,0],[-4,-5],[-5,-4],[-8,-23],[-1,-8],[-3,-6],[-5,-1],[-14,-5],[-7,-3],[2,-3],[-2,-2],[-7,-3],[-2,-3],[-1,-4],[-8,-6],[-8,-15],[-4,-11],[-5,-8],[-3,-3],[-3,0],[-2,1],[-4,4],[-3,0],[-8,5],[-15,3],[2,-3],[5,-1],[5,0],[10,-6],[5,-2],[5,-6],[-2,-9],[-2,-7],[-2,-5],[-9,-14],[-4,-4],[-7,-17],[-7,-7],[-4,-5],[-4,-7],[-10,-6],[-4,-1],[-3,0],[-9,-7],[-2,-4],[-12,-12],[-4,-1],[-4,-3],[-1,-5],[-4,-3],[-3,-10],[-6,-9],[-6,-2],[-3,-3],[-3,-5],[-3,-4],[1,-4],[0,-5],[-3,-1],[-7,-7],[-10,-12]],[[2924,7775],[-4,0],[-4,-1],[-5,-5],[-6,-7],[-11,-16],[-2,-4],[-4,-3],[-4,-4],[-1,-3],[-2,-2],[-6,-9],[-6,-16],[-4,-9],[-12,0],[-17,0],[-23,0],[-4,-2],[-4,-4],[-5,-3],[3,-11],[0,-11],[1,-1],[0,-4],[2,-2],[1,-3],[-1,-3],[-2,-3],[-12,-9],[-8,-7],[-14,-9],[-12,-4],[-10,-3],[-6,-3],[-14,-12],[-12,-12],[-7,-6],[-7,0],[-5,4],[-4,5],[-3,8],[0,10],[1,6],[1,3],[5,5],[9,13],[2,7],[2,16],[0,3],[3,11],[3,12],[2,6],[-2,14],[-2,22],[-2,11],[-4,40],[-2,15],[-17,17],[-12,10],[4,11],[-1,1],[-3,6],[-2,0],[-7,-3],[-3,4],[-2,5],[0,8],[-1,4],[0,6],[-7,-1],[-3,-4],[-2,0],[-3,5],[-3,6],[-2,15],[-6,4],[-5,5],[-6,4],[-10,10],[-6,4],[-5,5],[-12,10],[-7,6],[-8,6],[-15,13],[-5,4],[-2,1],[-5,4],[-6,4],[-6,-2],[-13,-10],[-6,-4],[-7,-1],[-7,1],[-3,-1],[-3,1],[-2,6],[-7,-1],[-8,1],[-3,-1],[-2,2],[-1,4],[-6,-1],[-5,-5],[-4,-3],[-4,0],[-4,3],[-5,5],[-4,6],[-5,3],[-4,-1],[-1,-3],[-2,0],[-2,9],[-2,2],[-8,6],[-6,3],[-9,0],[-2,-4],[-7,-2],[-4,5],[-5,3],[-16,5],[-2,2],[-3,13],[-1,6],[-1,9],[0,3],[-2,2],[-6,1],[0,-22],[-19,0],[-23,0],[-24,0],[-24,0],[-23,0],[-12,0],[-24,0],[-23,0],[-12,0],[-24,0],[-24,0],[-23,0],[-24,0],[-24,0],[-23,0],[-12,0],[-24,0],[-12,0],[-23,0],[-24,0],[-12,0],[-24,0],[-23,0],[-24,0],[-24,0],[-12,0],[-23,0],[-12,0],[-24,0],[-24,0],[-23,0],[-24,0],[-24,0],[-23,0],[-12,0],[-24,0],[-14,0]],[[1589,8005],[-4,5],[-3,-2],[-1,-3],[-1,0],[-1,4],[2,3],[-4,2],[0,4],[-1,3],[2,1],[3,0],[1,2],[-4,2],[-3,-1],[0,3],[1,3],[0,9],[-3,-3],[1,-2],[-1,-3],[-2,0],[-2,-3],[-1,0],[-9,4],[-3,3],[-2,4],[-1,4],[2,4],[2,-1],[3,-8],[6,4],[0,2],[-3,-2],[-3,2],[-2,3],[0,16],[-2,-1],[0,-6],[-3,-2],[-2,-4],[-4,-1],[-4,0],[-2,2],[-8,12],[0,3],[-4,11],[-1,6],[-2,0],[0,3],[3,7],[2,6],[0,13],[-2,-3],[0,-8],[-1,-5],[-3,-4],[-4,-2],[-8,1],[-5,-2],[-4,3],[-4,-2],[-12,3],[-1,1],[1,3],[5,1],[9,4],[-2,1],[-11,-2],[-4,0],[0,3],[3,5],[0,2],[-3,1],[1,6],[-2,0],[-2,-3],[-9,-1],[-3,-2],[-6,3],[-5,4],[-7,10],[0,11],[8,15],[2,2],[10,1],[-1,3],[-9,0],[-3,-2],[-5,-12],[-3,2],[0,2],[-2,4],[-2,9],[4,13],[-3,0],[0,5],[1,6],[10,10],[6,2],[2,-4],[4,-2],[2,-2],[1,-4],[5,-7],[1,0],[-6,9],[-1,5],[-6,5],[-1,4],[0,4],[6,7],[1,4],[0,4],[-2,3],[0,-9],[-2,-3],[-12,-16],[-5,-2],[-4,-4],[-1,-6],[-3,-11],[-3,-10],[-3,12],[-4,10],[9,9],[-1,8],[-6,-6],[0,4],[4,22],[2,6],[-1,0],[-7,-5],[-3,3],[-2,15],[-3,6],[-6,5],[-6,2],[-2,4],[-1,6],[2,6],[2,3],[5,1],[-1,-9],[2,0],[8,-8],[2,0],[3,2],[2,0],[4,-2],[1,2],[-3,2],[-4,0],[-4,-1],[-3,2],[-2,3],[-3,9],[2,6],[4,2],[-2,4],[-2,0],[-6,-6],[-4,-2],[-4,-8],[0,-4],[-1,-5],[0,-4],[-6,-4],[-3,-6],[-3,5],[-4,5],[-2,8],[-5,1],[-5,5],[-2,4],[3,8],[4,6],[0,8],[1,1],[7,2],[5,4],[-8,0],[-5,-3],[-6,5],[-3,5],[-1,4],[1,3],[0,4],[3,9],[2,2],[3,9],[5,11],[1,5],[7,15],[-1,0],[-3,7],[-1,-1],[0,-12],[-1,-4],[-3,-8],[-2,-3],[-1,2],[3,15],[-2,6],[-1,6],[0,11],[2,7]],[[2311,9384],[-5,0],[-4,4],[0,6],[2,3],[5,2],[3,-4],[3,-1],[1,-4],[-2,-4],[-3,-2]],[[1818,9365],[5,-1],[11,4],[7,1],[3,-1],[3,2],[0,8],[5,7],[6,3],[9,-1],[9,-3],[11,-2],[16,-8],[5,-3],[1,-2],[-3,-6],[-7,-8],[-6,-2],[-2,-2],[6,-3],[4,3],[6,6],[1,-5],[4,-1],[5,4],[5,6],[8,4],[2,2],[6,1],[0,6],[-2,2],[-8,4],[-3,5],[0,3],[16,0],[3,-1],[11,-6],[3,-4],[10,-5],[4,-3],[0,-4],[5,-2],[3,-4],[4,-10],[2,-11],[6,-13],[1,-9],[2,-3],[4,-1],[2,-2],[4,-1],[3,5],[10,7],[-2,2],[3,1],[-7,8],[-4,7],[-3,9],[-1,8],[-3,4],[0,4],[-2,4],[-6,26],[0,3],[3,3],[5,0],[-4,4],[1,4],[9,-1],[6,-2],[11,-6],[4,5],[4,-1],[9,-4],[12,-7],[7,-3],[5,-5],[6,-8],[0,-5],[3,-4],[0,-4],[2,-9],[10,-25],[3,-6],[7,-10],[4,-7],[1,-11],[-3,-5],[-3,-10],[1,-4],[10,-7],[6,-10],[2,-2],[8,-5],[11,-5],[3,-3],[2,1],[-2,6],[1,2],[8,-8],[11,-6],[12,-8],[5,1],[3,-2],[2,-7],[12,1],[3,-2],[3,-14],[0,-9],[-3,-3],[-9,2],[-3,8],[-1,0],[-4,-8],[-3,0],[-10,7],[-4,1],[-8,-5],[-2,-2],[2,-3],[0,-4],[-2,-3],[-9,1],[-12,7],[-3,-2],[10,-10],[2,0],[0,-6],[-2,-8],[1,-1],[5,7],[13,8],[8,1],[5,-4],[-3,-4],[0,-4],[2,-3],[5,-1],[1,-5],[-2,-6],[-18,-8],[-7,-1],[-4,-3],[-7,1],[-9,-1],[-16,3],[-8,3],[-3,0],[-3,-3],[-15,3],[-2,2],[4,7],[-7,1],[-7,2],[-13,1],[-4,1],[-6,4],[0,9],[-5,3],[-3,0],[-6,-5],[-5,-10],[-9,-9],[-2,-1],[-12,-3],[-14,-1],[-5,-2],[-11,-8],[-15,-5],[-13,-3],[-14,-1],[-11,-2],[-8,1],[-5,-3],[-27,-1],[-16,-3],[-7,1],[-6,6],[-8,14],[1,11],[-2,9],[-1,1],[-10,3],[-7,1],[-24,0],[-12,1],[-7,1],[-7,2],[-11,5],[-6,9],[-11,13],[-2,11],[0,3],[2,3],[16,4],[28,5],[26,3],[12,0],[7,-2],[7,0],[13,-1],[15,-2],[4,0],[9,3],[11,0],[4,2],[-2,2],[-11,6],[-29,10],[-7,2],[-10,2],[-16,-1],[-7,-2],[-7,-1],[-13,-1],[-21,-1],[-4,2],[-21,-1],[-17,1],[-19,15],[-3,5],[3,4],[9,6],[18,4],[24,7],[15,3],[-4,2],[0,2],[8,2],[11,-1],[0,2],[-6,2],[-34,-6],[-15,0],[-11,-3],[-6,0],[-7,3],[-1,2],[2,3],[8,2],[4,6],[-18,-1],[-6,0],[-8,2],[-3,5],[0,8],[1,5],[10,10],[6,2],[5,5],[-8,8],[3,6],[7,6],[24,16],[8,3],[11,5],[29,9],[25,9],[9,-2],[4,-3],[3,-12],[0,-9],[-1,-3],[-5,-7],[-7,-8]],[[2075,9383],[-4,1],[-4,3],[-14,12],[-1,4],[-12,9],[-11,4],[-1,1],[8,10],[2,1],[30,4],[11,-1],[8,-6],[3,0],[5,-6],[-1,-11],[-6,-10],[-5,-5],[0,-3],[-8,-7]],[[2790,9426],[5,-1],[30,1],[6,-1],[19,-6],[5,-2],[5,-9],[7,-2],[3,-3],[2,-6],[8,-4],[1,-7],[5,-5],[-3,-2],[-6,-1],[-17,1],[-23,3],[-20,-2],[-16,-5],[-10,-1],[-12,6],[-5,12],[-2,9],[-12,3],[-5,3],[-1,3],[1,6],[-2,6],[0,8],[3,2],[10,0],[8,-3],[16,-3]],[[2594,9273],[1,-1],[12,4],[13,6],[15,0],[3,-1],[-2,-4],[6,-4],[2,5],[2,15],[2,9],[0,5],[-5,4],[-6,-1],[-6,2],[-4,3],[-5,8],[-9,7],[1,2],[9,4],[4,7],[2,1],[9,-1],[11,-5],[-1,3],[-4,4],[-1,4],[6,3],[-10,2],[-5,-2],[-7,4],[-7,11],[0,8],[2,5],[3,4],[6,1],[28,-9],[-1,3],[-22,9],[-9,3],[-2,3],[13,13],[11,3],[5,4],[9,0],[9,-2],[-4,5],[5,4],[9,3],[21,6],[20,0],[9,-2],[6,-3],[5,-9],[2,-10],[4,-4],[9,-4],[3,-6],[-1,-4],[1,-4],[4,-7],[4,-2],[0,-2],[-4,-4],[-16,-14],[7,2],[4,-2],[-6,-10],[-3,-4],[7,-5],[-7,-1],[0,-10],[4,1],[2,4],[9,9],[8,4],[5,-3],[1,1],[-6,7],[1,4],[4,3],[4,1],[4,-6],[6,0],[3,3],[9,-7],[-1,-10],[1,-3],[6,-7],[4,1],[-4,5],[-2,4],[1,10],[3,5],[8,-5],[8,1],[11,-6],[6,0],[-1,2],[-4,1],[-16,7],[-5,4],[-1,5],[4,5],[10,5],[12,3],[8,0],[10,-1],[6,-2],[14,-7],[10,1],[15,-6],[5,-6],[2,-6],[-1,-3],[-9,-10],[-4,-2],[-3,-4],[1,-1],[13,8],[7,2],[5,0],[12,-3],[2,-4],[-1,-5],[-2,-3],[-16,-6],[-9,-1],[7,-3],[7,1],[0,-2],[-3,-4],[-1,-4],[0,-6],[-5,-10],[1,-1],[7,7],[1,8],[3,6],[5,6],[8,0],[4,4],[5,1],[3,-3],[-5,-7],[-9,-11],[4,1],[2,3],[8,7],[2,-4],[4,-3],[2,-6],[4,-3],[2,2],[-3,8],[3,4],[8,7],[9,-4],[13,-1],[13,-4],[11,-9],[2,-5],[-6,-8],[-5,-3],[-8,1],[-4,-2],[-8,-8],[-9,-6],[9,0],[8,11],[7,1],[11,-4],[5,1],[4,4],[7,3],[3,-3],[1,-3],[0,-8],[-3,-4],[-12,-10],[-6,-1],[-5,-2],[-4,-5],[-5,-3],[4,-2],[2,1],[3,5],[3,3],[3,0],[2,-3],[9,5],[3,3],[8,6],[6,3],[11,3],[4,-1],[3,-3],[9,1],[6,-2],[3,-2],[16,-7],[2,-2],[1,-5],[-3,-4],[-2,0],[-8,-6],[-17,-3],[-7,-4],[-10,-7],[4,-2],[3,1],[5,5],[11,3],[13,1],[1,-3],[-8,-10],[3,-2],[7,1],[2,4],[3,2],[5,1],[2,3],[-3,1],[1,4],[5,5],[7,-2],[4,-3],[10,-11],[5,-10],[0,-6],[-4,-2],[-13,3],[-6,0],[-5,-2],[-5,-5],[-8,0],[-5,-1],[-8,-3],[-3,-2],[0,-2],[4,0],[8,3],[8,1],[13,-6],[4,-1],[2,1],[13,0],[9,-3],[7,-5],[3,-3],[0,-5],[-3,-3],[-12,1],[-3,1],[-4,-1],[-8,2],[-5,3],[-7,-3],[-6,2],[-6,-2],[-12,-6],[2,-1],[16,5],[3,0],[15,-7],[0,-6],[-3,-9],[-13,4],[-6,0],[-5,-2],[-14,3],[-2,-1],[12,-5],[15,-2],[5,-3],[0,-4],[6,-5],[8,2],[5,-3],[7,-2],[10,0],[4,-1],[-1,-2],[-7,-2],[-1,-3],[6,-7],[0,-2],[-3,-6],[6,3],[3,-1],[-1,6],[3,2],[9,2],[-2,-9],[0,-5],[-4,-8],[-3,-3],[4,-1],[5,8],[6,6],[1,0],[0,-6],[3,-2],[4,3],[4,0],[4,-6],[3,4],[9,5],[2,0],[2,-3],[-5,-5],[-1,-4],[1,-2],[5,0],[6,3],[3,-2],[3,-4],[7,-7],[4,2],[5,-5],[-7,-4],[2,-9],[-8,1],[-2,-3],[0,-3],[5,0],[4,1],[6,0],[0,3],[4,1],[3,2],[7,-2],[8,-6],[-3,-4],[-4,-10],[-11,-10],[2,0],[13,6],[9,1],[3,1],[3,-2],[6,-1],[8,8],[4,-2],[4,-5],[8,-8],[5,-6],[1,-4],[-4,-3],[-2,0],[-5,5],[-5,2],[-3,0],[-3,-3],[13,-7],[2,-5],[0,-3],[-8,-3],[-8,1],[-6,4],[-4,1],[-1,-1],[4,-5],[-4,-5],[14,-9],[1,-2],[-4,-2],[-13,1],[6,-7],[0,-4],[-3,-1],[-3,-5],[-1,-5],[-5,0],[-4,-1],[-6,2],[-6,6],[-1,-3],[-6,-2],[0,-1],[9,-2],[-1,-5],[0,-18],[-1,-6],[-2,-6],[-4,-5],[-6,9],[-6,2],[-3,-3],[-5,6],[1,9],[-1,2],[-4,-6],[-2,-8],[-3,3],[-9,12],[-3,5],[-6,14],[-3,3],[1,4],[5,6],[5,3],[5,2],[2,3],[3,7],[6,7],[-2,1],[-7,-6],[-6,-9],[-9,-4],[-6,-1],[-8,1],[-2,1],[1,4],[-2,2],[-4,0],[-4,5],[-6,2],[-8,12],[-2,6],[-6,4],[1,-5],[-6,-1],[-3,3],[-1,-3],[4,-5],[0,-7],[-4,-1],[-6,6],[-9,5],[2,-7],[3,-6],[14,-13],[-2,-5],[-4,-2],[-4,0],[-8,3],[-4,3],[-5,6],[-8,7],[-2,0],[-2,-3],[3,-1],[7,-6],[1,-2],[-2,-3],[0,-3],[4,-6],[7,-3],[-2,-9],[-1,-2],[2,-1],[7,4],[2,0],[5,-3],[3,-6],[5,-2],[-1,-2],[-5,-3],[4,-3],[5,-8],[0,-4],[5,-2],[1,-3],[3,-2],[4,0],[9,-7],[0,-2],[-3,-3],[3,-3],[2,1],[1,3],[5,6],[4,-2],[7,-9],[3,1],[4,-5],[-2,-3],[-5,-3],[0,-1],[10,0],[2,-1],[1,-3],[-4,-8],[-4,1],[-7,0],[7,-5],[5,-8],[0,-4],[4,-1],[3,1],[7,0],[-1,-4],[-3,-2],[1,-1],[4,1],[1,-1],[5,-11],[-4,-2],[0,-6],[2,-6],[0,-6],[-1,-6],[-2,-1],[-3,1],[-5,17],[-3,5],[-4,3],[3,-15],[0,-8],[-1,-3],[5,-7],[4,-10],[2,-1],[-2,-3],[-4,0],[-7,4],[-1,-1],[3,-13],[-1,-5],[-2,2],[-6,8],[-10,8],[-3,-1],[-2,3],[-8,8],[0,-6],[-6,2],[-5,11],[-1,-8],[-2,-1],[-3,8],[-3,1],[-2,5],[-5,0],[-9,10],[-6,9],[-3,0],[3,-13],[-1,0],[-13,13],[-7,5],[-4,1],[-7,0],[-1,-3],[3,-6],[4,-4],[8,-10],[6,-10],[14,-6],[-2,-3],[10,-6],[11,-12],[1,-2],[6,-2],[2,-2],[5,-8],[5,-9],[7,-4],[1,-4],[-4,-4],[2,-7],[0,-4],[-5,-2],[-5,1],[-10,7],[-11,4],[-4,1],[-3,3],[-31,6],[-5,4],[-10,5],[-8,9],[-6,12],[-6,1],[-7,-2],[-5,0],[-9,6],[-7,3],[-5,4],[-3,1],[3,7],[-7,-5],[-7,5],[-10,13],[-4,4],[1,1],[8,0],[2,1],[6,6],[-4,2],[-2,4],[-3,3],[-3,1],[-11,-1],[-2,3],[3,6],[-1,1],[-6,-4],[-2,0],[-5,12],[-1,0],[-5,5],[-7,10],[-6,5],[-2,3],[5,8],[-10,2],[-3,-2],[-5,1],[-1,-7],[-2,-2],[-2,1],[-1,10],[-2,1],[-6,0],[-3,2],[-3,9],[-2,0],[-6,-3],[3,-3],[5,-9],[-2,-4],[-5,-2],[-5,0],[-7,2],[-5,3],[-6,-1],[-1,-8],[-8,0],[-10,-5],[-4,0],[-5,-3],[-4,-1],[-8,3],[-7,1],[-6,4],[-4,-1],[-8,8],[-4,10],[0,5],[2,3],[1,8],[1,2],[5,5],[12,5],[2,3],[-2,7],[0,3],[3,4],[2,1],[8,-3],[5,0],[20,-7],[7,-4],[5,-5],[4,-7],[-2,-4],[0,-4],[3,-2],[1,1],[0,5],[2,1],[-1,6],[-3,4],[-8,7],[2,3],[11,-2],[4,1],[5,5],[4,1],[5,-2],[3,0],[5,2],[4,5],[7,2],[3,0],[6,-2],[3,0],[0,3],[-2,7],[-3,6],[-8,7],[-10,12],[-1,3],[1,4],[12,8],[10,9],[9,10],[7,3],[1,6],[5,11],[9,4],[3,2],[4,7],[0,2],[-4,3],[-6,18],[-4,9],[-5,8],[-4,9],[-8,9],[1,6],[-8,-4],[-6,4],[-2,6],[3,6],[0,3],[-2,4],[-6,1],[-2,-1],[5,-7],[-1,-1],[-8,-1],[-4,2],[-8,11],[1,2],[-7,1],[5,4],[0,2],[-5,1],[0,3],[6,3],[-4,1],[-3,-2],[-4,-5],[-3,-2],[-4,3],[-5,0],[-2,-4],[-7,-3],[-10,-6],[-5,-2],[-5,0],[-1,2],[1,5],[0,9],[2,3],[4,2],[8,-2],[3,0],[6,5],[3,6],[-4,6],[-7,4],[-10,3],[-3,4],[0,5],[8,3],[0,1],[-8,1],[-7,-6],[-4,2],[-3,0],[-3,3],[3,1],[4,4],[-4,5],[-6,1],[-10,-1],[-2,7],[0,5],[-3,11],[-14,-1],[-10,8],[-4,5],[-2,1],[-4,7],[-2,1],[-8,-7],[-1,-5],[1,-1],[9,-3],[5,-5],[2,-8],[0,-3],[-3,-4],[-6,-3],[-6,-2],[-8,0],[-16,6],[-2,0],[-12,3],[-4,0],[-8,2],[-12,2],[-3,-1],[4,-3],[5,-1],[4,-3],[7,-7],[3,-5],[-3,-2],[-17,12],[-16,-6],[-10,1],[-18,9],[-11,-3],[-9,0],[-19,2],[-6,2],[-4,3],[-4,0],[-11,2],[-10,-5],[-11,4],[-5,4],[-4,10],[1,4],[-9,-1],[-9,1],[-1,-2],[3,-3],[-5,-1],[-11,1],[-6,-5],[-15,12],[-8,1],[-5,3],[-10,14],[-4,14],[0,4],[9,-2],[14,0],[6,-3],[8,-2],[14,0],[10,2],[1,1],[-7,3],[-14,9],[-5,1],[-15,1],[-13,2],[-10,4],[-10,6],[-3,8],[-1,9],[-2,11],[2,6],[8,6],[-5,3],[-1,3],[0,9],[1,3],[14,22],[0,6],[3,9],[7,9],[6,3],[1,5],[22,16],[12,5],[20,4],[10,1],[13,0],[23,-2],[4,-3],[0,-4],[-7,-5],[-13,-8],[-9,-9],[-13,-20],[-4,-5],[-1,-9],[2,-4],[6,-7],[1,-4],[0,-20],[3,-12],[5,-8],[14,-12],[13,-9],[1,-3],[-3,-3],[-7,-4],[-10,-2],[-5,-2],[-7,-4],[-8,-3],[-3,-2]],[[2221,9442],[24,-12],[18,4],[10,1],[9,4],[7,0],[10,-2],[6,-8],[0,-3],[-3,-3],[-15,-6],[2,-2],[6,1],[3,-4],[-1,-2],[-6,-2],[-8,-4],[-18,-15],[0,-4],[2,-1],[5,4],[7,2],[8,0],[5,-2],[5,-5],[-3,-3],[4,-1],[5,-5],[-3,-7],[3,0],[5,3],[10,1],[2,-9],[0,-4],[-2,-5],[-3,-3],[-5,-2],[6,-4],[0,-4],[-5,-7],[4,-4],[1,-8],[-12,-4],[-5,-5],[-7,-3],[-3,0],[-17,2],[-3,3],[-1,5],[-4,-2],[1,-3],[6,-9],[1,-7],[-6,-5],[-7,-3],[-4,1],[-5,3],[-7,1],[-5,10],[-5,5],[-4,6],[-11,9],[-6,6],[-7,8],[-6,3],[-5,0],[-6,7],[-8,-3],[-8,4],[-1,4],[-3,1],[-1,3],[-12,7],[-9,9],[2,9],[3,4],[6,5],[8,0],[6,-3],[2,-4],[4,-2],[5,-5],[2,-5],[7,-2],[6,1],[11,3],[3,12],[4,-5],[3,1],[1,3],[-5,9],[-5,0],[-3,2],[3,6],[6,0],[5,-3],[1,2],[-7,6],[-3,1],[-3,-3],[-7,-2],[-4,0],[-16,9],[-2,4],[6,4],[9,2],[4,-2],[5,-5],[4,1],[-2,4],[-5,2],[-5,5],[-1,4],[2,2],[12,3],[8,-3],[6,0],[2,3],[-7,0],[-2,2],[6,3]],[[2270,9438],[-12,-1],[-4,-2],[-4,0],[-9,3],[-3,2],[9,3],[7,4],[7,1],[14,4],[10,0],[2,-2],[-3,-4],[-11,-7],[-3,-1]],[[2411,9455],[11,-3],[8,-3],[5,-4],[3,-1],[16,3],[15,-1],[13,-3],[7,-5],[0,-3],[-5,-7],[-6,-7],[-6,-4],[-2,-5],[-5,-7],[-9,-3],[4,-3],[-1,-3],[-9,-13],[-4,-4],[-9,-7],[-4,0],[-27,5],[-6,-1],[-18,-2],[13,-5],[6,-8],[0,-6],[-9,-10],[-5,-13],[-3,-2],[-10,3],[-14,-2],[-5,1],[1,9],[-1,9],[-2,9],[-8,16],[-2,10],[1,10],[0,12],[-2,13],[0,7],[3,3],[5,1],[10,-4],[3,2],[-4,5],[-3,6],[0,3],[3,4],[9,4],[7,1],[15,1],[4,-1],[11,4],[6,-1]],[[1673,9452],[8,5],[7,0],[2,-2],[3,-7],[8,9],[5,3],[16,1],[13,-2],[9,-4],[13,-8],[21,-16],[13,-7],[3,-5],[-2,-6],[-15,-6],[-13,-4],[-16,-9],[-12,-4],[-14,-8],[-27,-12],[-5,-5],[-10,-17],[-8,-4],[-8,0],[-3,-1],[0,-5],[-4,-9],[-3,-20],[-2,-4],[-3,-3],[-9,-4],[-15,-3],[-4,4],[-4,-1],[-11,-10],[-11,-4],[-8,-6],[-7,0],[-8,7],[-8,16],[-8,9],[-1,2],[-21,9],[-15,8],[-15,-1],[2,6],[0,4],[4,3],[-1,3],[4,4],[3,7],[3,1],[3,4],[6,5],[-2,3],[1,9],[2,3],[10,4],[0,4],[-5,1],[-2,2],[1,4],[4,5],[6,12],[9,6],[2,7],[7,7],[-3,4],[-6,1],[-4,6],[-9,17],[-4,4],[1,2],[34,5],[23,1],[24,5],[7,0],[11,-3],[7,-4],[9,-4],[17,-6],[10,-1],[-5,-7]],[[2295,9476],[-8,-4],[-3,3],[9,7],[4,-3],[-2,-3]],[[2352,9475],[-1,-1],[-12,3],[-2,2],[5,3],[4,0],[7,-5],[-1,-2]],[[2107,9505],[-5,0],[-9,2],[-6,3],[-1,2],[5,10],[6,5],[11,1],[7,-3],[2,-7],[3,-3],[0,-4],[-4,-3],[-9,-3]],[[2401,9505],[2,-5],[0,-5],[-2,-10],[-1,-1],[-27,-2],[-7,2],[-14,7],[-4,1],[-12,1],[-6,6],[-5,0],[-3,4],[-6,0],[0,4],[6,8],[6,2],[1,7],[5,5],[8,5],[17,5],[11,0],[11,-4],[10,-7],[6,-9],[3,-3],[2,-5],[-1,-6]],[[2330,9533],[-2,-2],[-8,1],[-7,-7],[-6,0],[-3,5],[1,3],[16,5],[1,3],[7,-2],[5,-4],[-4,-2]],[[1636,9546],[-4,0],[0,2],[6,5],[2,-3],[-4,-4]],[[2374,9546],[-3,0],[-5,3],[-3,7],[10,5],[2,-2],[5,-10],[-1,-2],[-5,-1]],[[1712,9537],[-8,-4],[-5,0],[-8,3],[-6,1],[-2,2],[4,4],[17,12],[14,5],[10,7],[7,0],[-3,-8],[-7,-9],[-10,-12],[-3,-1]],[[2803,9557],[0,-4],[-8,-2],[-5,0],[-5,3],[4,4],[16,11],[4,-2],[-3,-5],[-3,-2],[0,-3]],[[2160,9562],[5,-5],[-8,-2],[-7,-7],[-10,-1],[-11,0],[2,4],[6,5],[-4,2],[-16,-3],[-6,2],[5,6],[-12,0],[-5,4],[2,4],[9,3],[12,2],[13,3],[15,-2],[2,-11],[2,0],[6,-4]],[[2110,9594],[8,1],[4,-3],[15,-5],[-4,-5],[-8,-2],[-25,0],[-6,12],[0,4],[11,3],[7,-1],[-2,-4]],[[2285,9588],[1,-3],[-2,-3],[1,-4],[4,-4],[1,-7],[-2,-3],[-1,-7],[1,-5],[-2,-3],[-6,-2],[1,-1],[12,-3],[1,-1],[-2,-12],[-5,2],[-7,-5],[1,-9],[4,-4],[1,-3],[-9,-1],[1,-3],[-4,-2],[-13,-1],[-16,0],[-7,2],[-6,-4],[-17,2],[-2,1],[-5,9],[1,2],[8,1],[-6,3],[-10,3],[1,4],[12,3],[8,6],[6,2],[0,2],[15,2],[1,1],[-20,-1],[-28,-3],[-8,-2],[-7,1],[-30,-5],[-5,1],[-2,4],[2,2],[9,4],[4,4],[-1,2],[4,4],[6,0],[9,-3],[5,-3],[5,0],[-5,4],[-2,4],[2,4],[-8,1],[-3,2],[-1,4],[9,6],[-1,1],[-10,0],[-6,3],[1,3],[9,7],[10,-2],[8,-4],[1,-5],[24,-15],[4,-3],[6,-2],[5,2],[-8,4],[-4,6],[3,1],[6,-1],[0,2],[-5,2],[-6,0],[-6,3],[12,4],[-5,2],[-14,3],[-6,3],[1,4],[13,5],[9,1],[11,0],[14,-10],[7,1],[-3,8],[8,5],[5,-2],[8,-5],[8,-3],[4,0],[3,-3]],[[2187,9594],[-7,0],[-3,2],[12,3],[8,5],[12,0],[5,-1],[-13,-5],[-14,-4]],[[1991,9564],[8,1],[6,-2],[2,-5],[-7,-6],[2,-3],[6,5],[4,1],[9,0],[5,-3],[2,-4],[8,2],[-4,3],[-1,5],[9,6],[4,0],[13,-3],[9,-4],[3,-11],[-1,-6],[-4,-8],[-5,-18],[-7,-6],[-13,-4],[-13,-5],[-12,1],[-10,3],[-11,-3],[-7,0],[-8,3],[3,2],[-5,2],[-18,-11],[-19,-2],[-10,-3],[-6,-6],[-5,-3],[-10,-3],[-12,-5],[-22,-4],[-14,-1],[-14,1],[-21,10],[-3,4],[2,3],[5,3],[22,6],[14,6],[5,1],[13,1],[6,-1],[8,1],[5,2],[12,8],[1,2],[-4,2],[-8,-4],[-9,-1],[-6,-2],[-7,0],[-6,4],[-5,0],[-4,-4],[-4,-2],[-11,0],[-10,-2],[-3,1],[-2,7],[3,7],[7,4],[-2,1],[-8,-2],[-5,1],[-3,-9],[-10,2],[5,-6],[-3,-5],[-11,-5],[-6,-1],[-6,7],[-4,1],[-3,-2],[-5,-7],[-12,5],[-9,7],[-15,-1],[-14,3],[-2,4],[2,5],[5,5],[12,2],[19,0],[4,1],[21,7],[6,4],[-1,1],[-25,-6],[-11,-1],[-16,1],[-4,1],[3,6],[7,3],[11,2],[16,2],[10,0],[-4,3],[-23,-1],[-6,3],[3,5],[-2,3],[4,4],[7,3],[13,-1],[23,-1],[-3,3],[-18,2],[-4,1],[1,6],[6,4],[22,4],[7,0],[9,-3],[2,-2],[2,-7],[4,-4],[3,-1],[18,3],[13,-4],[10,-7],[13,-8],[-6,-5],[1,-1],[14,0],[7,-13],[7,-3],[16,0],[38,-3],[4,2],[1,3],[-1,6],[-24,10],[-2,4],[12,5],[1,5],[-8,6],[-6,1],[-8,3],[-3,5],[1,3],[12,6],[9,10],[5,4],[7,3],[7,0],[8,-4],[1,-4],[-3,-3],[3,-11],[9,-6],[2,-6],[-8,-8],[3,-2]],[[2507,9590],[-9,-1],[-7,5],[-7,9],[1,3],[10,3],[6,0],[5,-3],[2,-4],[-3,-3],[-1,-4],[3,-5]],[[1845,9604],[-4,-2],[-29,2],[-3,3],[6,3],[6,1],[15,1],[8,-2],[3,-4],[-2,-2]],[[2380,9613],[10,1],[9,-3],[11,-6],[1,-5],[-4,-6],[-5,-5],[2,-1],[12,9],[8,-1],[11,0],[15,4],[13,0],[5,-1],[11,-5],[5,-4],[-2,-2],[-22,2],[2,-4],[14,0],[43,-8],[2,-2],[-5,-4],[-25,-2],[-15,1],[-12,3],[-4,-1],[4,-3],[7,-1],[6,-2],[2,-2],[13,-1],[6,-5],[4,0],[6,-7],[5,1],[8,-6],[-1,-4],[-3,-3],[-8,-4],[10,0],[10,-7],[3,3],[-1,7],[4,2],[4,-1],[10,-7],[13,3],[3,-1],[3,-4],[4,6],[3,2],[13,-8],[7,-1],[3,-2],[14,-2],[1,3],[-5,3],[3,2],[11,3],[6,-1],[10,4],[11,1],[19,9],[5,0],[14,-4],[25,5],[5,0],[14,-2],[14,-3],[-1,-4],[5,-2],[13,0],[11,-3],[1,-3],[-5,-3],[5,-1],[10,0],[5,-5],[2,-7],[-13,-8],[-12,-5],[7,-3],[13,2],[4,-1],[4,-5],[-3,-2],[-12,-2],[-8,3],[-3,-1],[4,-3],[-2,-14],[-27,-1],[-16,-5],[-7,0],[-10,3],[-9,0],[-7,3],[-4,7],[1,7],[-3,0],[-6,4],[-2,-3],[4,-2],[-1,-8],[-4,-5],[-9,-1],[-11,-3],[-12,1],[-7,2],[-8,-3],[-6,5],[-3,-4],[-7,-2],[-4,0],[-5,3],[-6,-2],[-9,3],[0,-4],[-9,-1],[-11,2],[-6,-2],[-11,1],[-12,0],[-4,3],[6,14],[-4,2],[-5,-1],[-3,-5],[-3,0],[-1,4],[-5,-3],[-3,0],[1,-6],[-7,-4],[-11,-1],[-15,4],[-5,0],[-7,5],[-9,2],[0,-5],[-6,1],[-6,-1],[-3,3],[-6,2],[-6,12],[-2,7],[3,3],[-4,4],[-4,2],[-2,4],[0,7],[9,11],[1,3],[-3,11],[-15,15],[-11,14],[-2,1],[-11,-3],[-2,-2],[-6,-1],[-24,2],[-8,-2],[-7,0],[-5,6],[-14,4],[-3,3],[5,4],[-21,8],[-7,2],[0,4],[6,-2],[6,0],[1,2],[-7,3],[-4,3],[2,4],[25,5],[6,0],[28,-6],[9,-3]],[[1790,9639],[1,-4],[-20,-6],[-3,-3],[1,-2],[12,-7],[-1,-4],[-8,1],[-1,-3],[8,-8],[-1,-3],[-7,-4],[-7,-2],[-15,-3],[0,-7],[-3,-5],[-6,-3],[-4,0],[-7,3],[-7,5],[-1,5],[3,9],[4,8],[-3,1],[-9,-2],[-5,-4],[-2,-9],[-8,-1],[-2,-4],[5,-2],[0,-5],[-6,-4],[-3,-6],[-6,-2],[-8,9],[-5,0],[0,-7],[-3,-2],[6,-4],[0,-4],[-2,0],[-4,-4],[-5,-3],[-12,-2],[-3,2],[-1,5],[-4,5],[-3,7],[-4,0],[-3,-8],[-9,-3],[-10,3],[-6,1],[-4,-1],[-7,-4],[-6,0],[-3,3],[2,4],[-1,5],[-9,-1],[11,12],[4,3],[21,2],[2,1],[12,12],[3,2],[15,5],[3,6],[4,2],[11,9],[20,13],[8,2],[22,2],[21,-4],[3,3],[10,-1],[3,2],[-10,3],[0,2],[6,4],[13,1],[23,-11]],[[2504,9634],[-7,-4],[-25,7],[-5,4],[-1,9],[2,4],[8,2],[12,-1],[6,-2],[10,-6],[3,-3],[1,-6],[-4,-4]],[[2095,9627],[-4,-1],[-14,3],[-5,4],[-9,12],[-1,4],[-9,11],[6,2],[7,-1],[4,-2],[11,-9],[3,-8],[5,0],[6,-4],[3,-5],[-1,-5],[-2,-1]],[[2347,9664],[7,-2],[7,1],[27,-1],[12,1],[8,-2],[4,-5],[-5,-1],[-6,-10],[-8,-1],[-16,2],[-44,0],[-8,7],[2,6],[2,1],[18,4]],[[2174,9658],[-10,0],[-9,2],[-2,3],[0,6],[6,1],[17,0],[9,-2],[9,-7],[-17,-1],[-3,-2]],[[1837,9662],[-7,-2],[-5,0],[-9,3],[-11,8],[-1,3],[19,6],[2,-4],[3,0],[7,-5],[5,-1],[3,-5],[-6,-3]],[[1931,9682],[22,-1],[0,-5],[-3,-2],[-12,-4],[-15,-2],[-3,-2],[4,-3],[12,1],[4,-2],[1,-8],[-3,-5],[-13,-5],[-6,-1],[-9,0],[-20,-5],[-12,1],[-8,5],[-8,2],[-6,3],[-1,4],[2,1],[-4,9],[0,5],[2,3],[5,0],[6,2],[14,3],[30,5],[9,0],[12,1]],[[2138,9684],[-7,0],[0,3],[4,3],[6,2],[3,-3],[-6,-5]],[[1949,9713],[5,-3],[4,0],[4,-8],[-1,-7],[-9,-2],[-9,2],[-7,-2],[-13,1],[-13,4],[-2,-3],[-6,-3],[-7,0],[-10,5],[-12,-1],[-17,-4],[-4,3],[4,4],[8,4],[18,5],[14,1],[6,2],[12,6],[13,3],[5,0],[17,-7]],[[2327,9707],[6,-2],[12,1],[15,-5],[4,-5],[-11,-5],[-2,-2],[10,-5],[1,-4],[-7,-6],[-7,0],[-16,-5],[-13,0],[-3,-2],[-11,-2],[-2,3],[1,3],[-11,4],[-6,6],[12,1],[7,2],[-10,4],[-14,1],[-6,6],[-1,3],[-7,5],[0,3],[7,2],[-6,8],[-1,5],[3,1],[17,0],[12,-2],[7,-3],[9,-1],[9,-6],[2,-3]],[[2126,9752],[7,-1],[8,-4],[7,-8],[-2,-7],[3,-4],[3,0],[3,6],[14,5],[5,-1],[11,-5],[5,-1],[3,-3],[-3,-7],[6,-1],[13,2],[12,-5],[12,-10],[-7,-7],[2,-2],[0,-6],[6,-1],[12,-9],[3,-7],[-3,-7],[-6,-2],[-9,-1],[-8,-2],[-9,2],[-9,4],[-5,5],[-1,6],[-4,2],[-3,4],[-7,0],[-14,4],[-13,1],[-9,-2],[-5,5],[2,2],[-27,-3],[-7,-3],[-11,0],[-12,5],[-6,7],[2,5],[5,1],[14,-2],[13,-1],[5,1],[3,3],[-3,2],[-12,1],[13,3],[5,2],[-4,2],[-14,0],[-5,1],[1,2],[8,5],[-7,5],[-8,-2],[-11,-9],[-5,2],[7,9],[0,2],[-5,2],[-11,-2],[-6,0],[-1,2],[1,11],[4,4],[15,-1],[24,3],[8,0],[7,-2]],[[2255,9790],[1,-7],[-2,-7],[-3,-1],[-8,2],[-3,5],[-5,3],[-13,-1],[-3,2],[-1,7],[2,4],[7,2],[10,-1],[12,0],[3,-2],[3,-6]],[[2447,9856],[17,-16],[18,-11],[-1,-4],[12,-2],[10,-3],[5,2],[10,0],[5,-4],[-2,-3],[2,-3],[-2,-4],[5,-5],[14,-4],[6,0],[2,2],[-10,5],[-2,5],[7,5],[8,0],[13,-3],[1,-11],[-7,-3],[1,-3],[18,-2],[6,-9],[-4,-13],[-5,-5],[2,-1],[10,2],[6,3],[12,-2],[8,-7],[5,6],[3,1],[4,-5],[9,-8],[4,-6],[-4,-3],[-35,-11],[-8,-4],[-5,1],[-3,-5],[-13,-11],[-4,-2],[-8,4],[-1,10],[4,7],[-2,0],[-8,-6],[0,-14],[-2,-2],[6,-2],[2,-4],[-2,-4],[-3,-1],[-12,8],[-5,-1],[4,-11],[-5,-12],[-9,1],[-15,13],[-10,10],[-2,-3],[16,-20],[-2,-2],[-11,5],[-1,2],[-8,2],[-10,-1],[8,-5],[0,-4],[-15,0],[-14,2],[-13,3],[-13,4],[-9,4],[-5,4],[4,2],[11,2],[12,1],[-1,1],[-22,3],[-15,0],[-4,2],[-7,6],[2,2],[10,-1],[-3,3],[-16,3],[-6,3],[-2,3],[7,4],[18,6],[17,2],[4,6],[33,4],[1,1],[-26,0],[-11,5],[-11,-2],[-14,-4],[-11,-4],[-5,2],[5,4],[-10,1],[-15,-4],[-7,-3],[-6,4],[-10,2],[-2,2],[2,6],[10,2],[22,6],[3,4],[-25,-5],[-15,1],[-17,10],[-4,4],[-1,7],[-4,6],[28,-4],[10,-1],[22,0],[1,5],[8,3],[-8,1],[-17,-4],[-6,0],[-7,5],[-10,0],[-10,4],[1,3],[6,2],[16,-1],[-17,11],[1,8],[6,2],[6,0],[5,-2],[8,0],[6,-3],[3,-4],[12,-1],[15,0],[-3,2],[-15,3],[-6,6],[-11,4],[-9,1],[0,2],[7,8],[8,3],[13,-1],[8,1],[11,3],[13,-1],[3,4],[-4,3],[-14,0],[-9,3],[0,4],[4,1],[13,0],[8,1],[8,-1],[23,-6],[9,-7]],[[3069,9965],[30,-1],[13,-3],[37,0],[5,-2],[-11,-6],[-43,-8],[18,-1],[9,1],[11,3],[11,1],[24,6],[10,-2],[7,5],[10,-1],[7,-6],[11,3],[13,-1],[5,-2],[-5,-4],[16,-8],[-5,-7],[22,4],[21,-1],[9,-3],[5,-6],[-2,-4],[-9,-5],[-10,-4],[-6,-4],[-9,-2],[-30,-10],[-28,-6],[-18,1],[-7,-5],[-14,-2],[-18,-1],[-6,-7],[-2,0],[-49,-11],[4,-3],[78,14],[14,1],[13,-1],[-2,-3],[-18,-9],[-23,-8],[-11,-6],[-29,-10],[-24,-11],[-9,-5],[-17,-12],[-5,-1],[-11,2],[-4,-9],[-23,-3],[-15,-3],[-8,0],[-4,-2],[13,-2],[20,3],[9,-1],[-5,-6],[-15,-5],[5,-4],[-8,-5],[-23,-4],[-6,1],[-28,7],[-10,1],[-9,2],[-7,0],[-8,-2],[17,-4],[12,0],[6,-2],[5,-5],[0,-6],[-7,-3],[-15,0],[-5,-2],[-17,0],[-19,-3],[-8,1],[-8,3],[-8,1],[-9,-1],[11,-4],[5,-5],[5,0],[9,-5],[7,0],[7,-2],[10,2],[7,0],[-1,-10],[-3,-1],[-17,0],[-7,1],[-4,2],[-7,1],[-7,-1],[-6,1],[-29,-3],[-16,1],[-17,0],[16,-7],[4,-1],[29,5],[9,0],[12,-2],[8,-6],[11,0],[8,-2],[19,-7],[-4,-6],[-9,-5],[-14,-1],[-27,0],[24,-7],[9,-4],[-10,-6],[-9,-12],[-6,-2],[-8,0],[-10,-3],[-20,1],[-16,0],[-2,-6],[1,-13],[-1,-6],[-5,-6],[-12,-4],[-12,-1],[-21,-1],[-11,0],[-16,3],[-18,9],[-4,-1],[4,-4],[7,-4],[-7,-3],[-15,-1],[8,-5],[18,4],[9,-1],[14,-6],[10,3],[12,0],[4,-3],[2,-4],[-1,-6],[9,-5],[6,0],[11,5],[3,0],[8,-7],[0,-6],[-4,-6],[-4,-4],[-18,-7],[-10,-6],[-19,-6],[-6,0],[-14,-4],[-8,0],[0,5],[4,6],[-4,6],[-6,2],[-15,-1],[-3,2],[-5,6],[-6,1],[-3,-1],[4,-7],[-1,-2],[-32,-2],[-14,1],[-3,2],[-8,-8],[-24,-3],[-15,3],[-12,5],[-5,3],[-3,5],[-4,-3],[-4,-9],[-8,3],[-10,2],[-4,-4],[-17,2],[-8,-1],[-12,3],[-15,1],[-6,1],[2,19],[20,10],[6,5],[12,3],[22,0],[8,2],[6,0],[-9,10],[-7,0],[-5,3],[-5,6],[-9,13],[2,4],[15,5],[13,1],[18,-5],[6,-4],[12,-13],[4,-3],[17,-5],[6,-1],[22,2],[7,1],[6,6],[7,4],[15,15],[2,5],[-2,2],[-20,-20],[-10,-5],[-11,-1],[-9,3],[-10,-4],[-6,1],[-6,3],[0,11],[-7,10],[26,15],[6,1],[-4,2],[-10,0],[-4,4],[-6,-7],[-9,-5],[-18,-1],[5,6],[-1,5],[-10,-5],[-13,-4],[-12,1],[-6,2],[2,6],[0,8],[15,14],[4,7],[31,4],[19,4],[6,-2],[24,-3],[18,-4],[8,5],[15,-1],[8,2],[11,5],[-3,1],[-10,-3],[-11,-1],[-12,2],[-20,0],[-10,1],[-8,2],[-4,5],[9,3],[12,-4],[7,0],[-18,10],[-17,15],[-7,7],[-5,3],[-22,3],[-3,1],[-7,6],[-2,10],[-4,6],[4,8],[5,4],[32,-3],[13,0],[17,-1],[10,-2],[10,-4],[10,-6],[9,-3],[8,-5],[14,-11],[11,-4],[12,-2],[16,-1],[10,4],[-5,1],[-12,-1],[-8,1],[-10,6],[-14,10],[-13,6],[-17,12],[-1,3],[13,3],[43,4],[26,5],[11,6],[35,8],[42,5],[-7,2],[-25,0],[-15,1],[-4,2],[2,5],[10,7],[20,9],[-12,1],[-10,-4],[-11,-7],[-13,-1],[-3,-2],[-8,-12],[-15,-7],[-32,-8],[-7,0],[-23,-4],[-14,1],[3,3],[12,6],[3,3],[-32,-4],[-7,-2],[-12,-7],[-4,-1],[-30,-1],[-12,4],[-15,-1],[-10,3],[10,10],[28,11],[16,3],[37,4],[2,2],[-70,-6],[-12,-5],[-24,-13],[-7,-3],[-10,-1],[-8,1],[-18,6],[-12,3],[-5,5],[2,1],[21,4],[29,-1],[13,1],[12,2],[19,5],[20,7],[4,2],[-8,1],[-18,-3],[-21,-7],[-18,-3],[-45,-1],[-14,-2],[-6,1],[-10,5],[1,3],[10,3],[9,1],[-11,3],[-1,2],[22,8],[8,2],[13,1],[14,-1],[1,1],[-14,2],[-24,-1],[-37,-8],[-9,2],[2,2],[20,8],[0,1],[-14,0],[-8,2],[-13,-4],[-9,-1],[-8,3],[1,3],[12,6],[21,5],[9,1],[14,0],[14,4],[16,6],[14,2],[12,-1],[17,-7],[5,4],[6,1],[13,-1],[14,-4],[17,1],[-4,3],[-39,9],[-1,2],[23,4],[14,7],[15,2],[11,-4],[15,-1],[6,-2],[12,-8],[11,-5],[3,3],[-2,3],[6,3],[26,-8],[40,-8],[0,3],[-37,9],[-14,5],[-13,7],[0,2],[12,4],[9,1],[-12,5],[0,2],[9,1],[26,-5],[2,1],[-11,9],[5,2],[10,0],[16,-4],[29,-2],[7,1],[-29,7],[-9,6],[7,1],[20,0],[18,-2],[15,1],[10,-1],[11,-3],[22,-10],[8,-7],[4,-1],[12,4],[-23,12],[-14,6],[-6,5],[38,3],[37,-2],[10,-4],[10,-6],[12,-4],[14,-1],[-19,8],[3,6],[15,5],[23,1],[15,-5],[16,5],[25,1],[13,-6]],[[5264,7906],[-2,-6],[0,-4],[1,-2],[2,0]],[[5289,7883],[-1,-8],[0,-4],[1,-3],[0,-3],[-2,-1],[-3,1],[-2,4],[-3,-2],[-1,-3],[0,-5],[2,-5],[0,-7],[-2,0],[-3,7],[-4,-1],[-4,-3],[-3,0],[-2,3],[-1,5],[0,3],[-4,0],[-1,-1],[0,-11],[-1,-4],[-4,-6],[-2,-5],[1,-5],[0,-5],[-2,-1],[-2,2],[0,3],[-3,5],[1,4],[-5,2],[-6,10],[1,7],[-1,3],[-4,-3],[-1,-4],[-4,-4],[1,-6],[-4,-8],[-6,-6],[-7,4],[-5,-4],[-6,-2],[-2,1],[-1,2]],[[5194,7829],[0,1],[-3,6],[-2,2],[-2,4],[1,7],[-1,2],[0,6],[-5,1],[-4,0],[-6,-6],[1,-5],[-2,-3],[-3,-3],[-3,1],[0,3],[2,2],[2,5],[0,3],[-2,2],[1,2],[2,9],[4,4],[3,4],[1,5],[0,6],[6,5],[4,8],[5,8],[0,3],[-2,0],[0,2],[2,4],[2,2],[2,0],[2,-4],[4,0],[2,2],[2,5],[4,3]],[[5211,7925],[2,-2],[6,0],[8,2],[3,0],[3,-1],[1,2],[3,0],[0,2],[-3,0],[-2,2],[1,3],[2,2],[3,0],[3,-4],[3,0],[2,-3],[8,1],[10,-8]],[[3122,1964],[-7,2],[0,2],[8,0],[1,-1],[-2,-3]],[[3130,1971],[-1,-1],[-2,2],[-5,3],[4,3],[2,3],[1,-5],[2,-3],[-1,-2]],[[3153,2002],[-2,-2],[-3,1],[0,2],[3,3],[3,-2],[-1,-2]],[[3136,2007],[-1,-3],[-4,-5],[-4,1],[-1,4],[-3,1],[-4,-4],[-2,-1],[-9,3],[-3,8],[-3,5],[5,3],[7,0],[12,-2],[5,0],[4,-5],[1,-5]],[[3063,2020],[22,-6],[7,4],[6,0],[1,-5],[-5,-5],[0,-3],[6,-1],[2,-3],[-1,-5],[7,-8],[1,-2],[0,-8],[-3,1],[-2,2],[-3,5],[-4,1],[-3,2],[-6,1],[-2,-1],[-2,6],[2,5],[-1,2],[-4,-1],[-3,4],[-4,1],[-1,-6],[1,-6],[4,-6],[-2,0],[-5,2],[-3,4],[-4,4],[0,5],[-4,-1],[-2,3],[-3,2],[2,5],[1,10],[5,-2]],[[3027,2023],[1,-4],[4,-2],[11,4],[4,-9],[-3,-6],[-2,-1],[-2,1],[0,2],[-2,3],[-4,-2],[-2,2],[-4,2],[0,2],[-7,7],[-2,0],[-3,-3],[-1,3],[1,3],[11,-2]],[[3016,2071],[6,-5],[4,1],[1,-8],[-4,-8],[-9,9],[-3,-1],[-5,1],[-2,-3],[-3,-1],[-1,5],[-3,5],[-4,4],[2,7],[4,3],[8,-3],[5,-1],[4,-5]],[[2974,2103],[0,-5],[6,0],[6,-1],[3,-6],[2,-2],[2,-5],[-2,-3],[-2,-5],[0,-2],[-5,-5],[-10,-3],[-1,3],[2,2],[2,5],[1,5],[-3,1],[-3,-1],[-2,2],[-1,-3],[0,-7],[-1,-1],[-5,4],[0,13],[-5,-1],[-3,5],[-1,5],[-6,1],[4,7],[7,1],[2,-4],[8,-2],[-1,5],[2,2],[4,-5]],[[2933,2135],[9,-2],[5,-3],[3,-3],[3,0],[3,-4],[3,-1],[4,-6],[4,-5],[-2,-1],[-5,2],[-5,1],[0,3],[-6,8],[-5,2],[-4,-1],[-4,1],[-4,5],[-4,4],[-4,9],[1,2],[3,-2],[2,-4],[2,-1],[1,-4]],[[3092,2024],[-4,0],[-1,-2],[-7,-1],[-11,3],[-3,2],[-4,6],[-1,-2],[-7,-4],[-3,0],[-3,2],[-1,2],[-6,-4],[-7,4],[-5,2],[-8,1],[-6,4],[-11,0],[-2,1],[-1,5],[4,5],[6,-4],[2,3],[4,3],[6,-3],[2,0],[3,2],[2,5],[5,-1],[1,-4],[-1,-4],[4,-1],[4,0],[3,-1],[0,2],[-4,6],[-2,5],[-6,3],[-3,8],[0,13],[6,3],[-2,6],[3,4],[2,1],[2,-15],[2,-5],[-2,-1],[-5,0],[3,-8],[4,-2],[4,-6],[0,-4],[2,-2],[5,0],[3,1],[2,3],[2,0],[3,-3],[6,-2],[3,-8],[1,-1],[4,6],[2,1],[0,2],[-4,3],[-22,14],[-3,5],[-1,7],[0,8],[1,2],[4,3],[7,4],[10,7],[0,4],[-1,2],[-4,2],[-6,0],[-4,-1],[-6,-4],[-6,3],[-3,4],[-1,6],[0,7],[4,5],[2,-1],[2,2],[1,3],[-5,6],[-2,4],[1,1],[4,0],[6,-5],[2,0],[4,5],[6,11],[2,3],[2,0],[7,-10],[2,-1],[8,6],[1,0],[4,-4]],[[2940,2192],[-6,2],[-2,3],[0,3],[-2,4],[4,-1],[2,-4],[4,-3],[0,-4]],[[2921,2209],[1,-11],[4,-2],[3,-7],[-4,-10],[-1,-7],[-4,1],[-2,6],[-3,7],[-2,14],[3,4],[2,-1],[0,5],[3,1]],[[2928,2230],[0,-5],[-1,-2],[-4,2],[-1,-3],[-4,-1],[-3,2],[-4,-10],[-3,-3],[0,4],[2,10],[2,6],[3,-3],[4,3],[4,4],[4,0],[1,-4]],[[2907,2264],[0,-5],[-3,0],[-1,7],[1,3],[0,7],[3,-1],[5,0],[1,-1],[-3,-4],[-2,-1],[-1,-5]],[[2914,2286],[-5,-4],[-2,2],[-4,0],[2,10],[1,3],[1,6],[3,-2],[6,-3],[3,-1],[1,-5],[-3,-2],[-3,-4]],[[2913,2370],[0,-4],[-4,-9],[-7,-9],[-2,0],[-2,2],[4,6],[0,4],[-1,2],[-3,2],[1,4],[2,2],[7,2],[1,2],[4,0],[0,-4]],[[2930,2352],[1,-8],[-1,-8],[-1,-13],[2,-1],[0,-6],[-1,-5],[-2,-7],[-4,-2],[-2,1],[-1,4],[0,7],[-2,5],[0,2],[2,5],[0,5],[-4,-1],[-1,-2],[0,-10],[-1,-5],[-1,-1],[-6,0],[-5,5],[-2,-2],[-1,6],[1,4],[6,0],[0,8],[-3,4],[-1,3],[1,2],[4,4],[2,-2],[3,1],[0,5],[-3,2],[1,4],[4,4],[2,3],[0,4],[-1,4],[3,5],[4,2],[3,-3],[2,0],[1,-3],[1,-20]],[[2902,2375],[-3,0],[-1,10],[4,20],[-2,9],[5,3],[3,-11],[4,-12],[-1,-11],[-1,-3],[-6,-3],[-2,-2]],[[2928,2384],[-1,-1],[-3,1],[-6,-2],[-2,6],[-2,8],[0,2],[-2,4],[-3,13],[1,5],[7,3],[2,5],[2,-1],[-1,-10],[1,-3],[3,-4],[0,-3],[1,-6],[2,-2],[0,-3],[-1,-2],[2,-10]],[[2913,2428],[-2,-1],[-2,5],[1,2],[3,2],[3,0],[2,-1],[0,-2],[-4,-3],[-1,-2]],[[2935,2552],[-2,-3],[-2,-1],[-3,2],[-3,-1],[-1,4],[4,8],[2,6],[0,8],[2,5],[3,1],[1,-6],[-1,-10],[2,-7],[0,-4],[-2,-2]],[[2915,2598],[-2,-1],[-1,2],[0,3],[2,1],[1,-1],[0,-4]],[[2954,2602],[-2,-1],[-1,2],[0,3],[-2,4],[0,4],[2,4],[3,-4],[0,-12]],[[2972,2604],[-7,-5],[-3,2],[-2,3],[0,3],[-1,5],[1,3],[3,3],[1,3],[0,8],[2,1],[5,-3],[5,-4],[2,-3],[0,-3],[-2,-5],[-4,-8]],[[2951,2626],[-1,-2],[-3,-1],[-3,-3],[0,-5],[2,-4],[2,-10],[1,-8],[2,-8],[0,-9],[-3,-1],[0,-3],[-5,-1],[-2,2],[0,7],[-3,3],[-2,5],[-2,9],[-2,2],[-2,7],[-4,6],[4,3],[0,7],[5,4],[3,-2],[2,1],[1,2],[0,11],[3,3],[2,0],[1,-3],[2,-3],[3,-2],[0,-3],[-1,-4]],[[2949,2659],[0,-3],[-3,0],[-1,-3],[-5,2],[0,4],[8,2],[1,-2]],[[2925,2672],[-4,-1],[-1,3],[3,2],[2,-4]],[[2950,2687],[-2,-2],[-4,1],[-4,0],[-3,2],[-3,3],[-1,2],[0,3],[3,6],[2,12],[1,16],[-1,6],[0,3],[1,3],[0,10],[3,6],[0,6],[1,6],[0,3],[-1,1],[1,2],[8,-5],[6,-1],[0,-5],[2,-10],[1,-2],[-1,-5],[-2,-2],[0,-4],[1,-5],[-4,-2],[-4,-5],[0,-2],[6,-8],[1,-5],[2,-5],[-3,-8],[-5,-5],[0,-7],[-1,-3]],[[2810,3245],[-5,-1],[1,3],[2,2],[3,-2],[-1,-2]],[[1964,3620],[-5,-2],[2,6],[4,-2],[-1,-2]],[[3098,2168],[-16,5],[-3,3],[-3,0],[-6,-3],[-3,-9],[-2,-3],[-4,-2],[-4,0],[-13,-9],[-5,-1],[-6,-5],[-2,-7],[1,-4],[-4,-15],[-1,-9],[0,-4],[1,-7],[-1,-12],[-2,-3],[-6,-3],[-4,2],[-7,2],[-5,5],[-7,3],[-2,2],[-5,9],[-1,7],[3,6],[6,0],[4,1],[2,-3],[1,-6],[-2,-6],[3,1],[1,14],[10,7],[6,11],[1,4],[-2,2],[-5,3],[-14,-14],[-6,-3],[-5,-4],[-5,-7],[0,-2],[-2,-5],[0,-5],[-5,2],[-8,8],[-1,3],[1,3],[3,4],[0,10],[2,7],[4,4],[2,-1],[0,-3],[5,0],[9,10],[4,0],[5,-2],[6,1],[2,3],[-4,3],[-5,1],[-11,1],[-3,-1],[-3,-5],[-2,4],[-4,2],[-3,-3],[0,-4],[-1,-4],[-4,-4],[-2,-6],[0,-8],[-3,-3],[-6,1],[-3,6],[-5,7],[11,7],[2,7],[2,3],[-1,3],[-2,0],[0,-4],[-1,-4],[-4,2],[-6,-5],[-3,1],[-6,-1],[-3,2],[0,4],[1,4],[-1,6],[-2,2],[-2,-1],[0,4],[-2,7],[-2,4],[1,1],[4,-3],[3,0],[5,-4],[4,2],[0,7],[1,0],[4,-5],[2,1],[5,-1],[4,2],[5,4],[4,6],[3,-2],[1,-7],[2,-2],[0,-6],[-4,-6],[1,-2],[2,1],[3,6],[0,5],[-3,8],[0,5],[3,3],[1,8],[-8,11],[-10,7],[0,-3],[9,-7],[4,-4],[2,-3],[0,-3],[-10,-4],[-12,-12],[-4,2],[-2,4],[-2,6],[-2,4],[-3,0],[-1,2],[-3,-1],[-6,6],[4,5],[4,-2],[1,17],[-2,3],[-5,5],[-2,-1],[-4,1],[-7,3],[-3,3],[-3,1],[-7,16],[-1,6],[7,0],[5,1],[1,3],[-2,5],[-2,3],[4,7],[7,-8],[1,-4],[4,-12],[1,-2],[9,-8],[1,0],[0,6],[2,8],[3,4],[-3,5],[-4,-14],[-3,-2],[-5,11],[-1,1],[0,7],[5,1],[-8,4],[-3,3],[-3,5],[-3,4],[6,8],[2,5],[9,-3],[2,2],[-2,3],[-1,-1],[-3,3],[-4,7],[0,3],[1,7],[1,2],[4,1],[4,-2],[2,-2],[1,1],[-1,5],[-3,2],[-3,3],[0,4],[2,7],[-1,3],[-2,-3],[-1,-4],[0,-5],[-1,-6],[-3,2],[-2,4],[1,3],[-1,17],[0,15],[1,11],[3,5],[2,1],[3,0],[1,1],[-4,3],[-5,-4],[-4,2],[0,6],[-2,5],[-1,6],[0,10],[6,-1],[4,-2],[11,0],[9,-9],[4,1],[0,2],[-3,2],[-2,5],[-2,2],[0,6],[-2,13],[-1,0],[-3,-12],[-3,-3],[-4,-2],[-4,-1],[-3,2],[-1,3],[0,3],[-1,2],[-4,2],[-3,4],[2,5],[2,2],[2,0],[4,-5],[2,-1],[3,5],[-2,1],[-8,8],[2,6],[6,7],[1,2],[-1,5],[1,7],[-1,5],[-3,5],[-4,2],[-1,-2],[1,-4],[-1,-1],[-6,1],[-3,4],[-5,3],[-2,7],[2,6],[-1,0],[-3,-5],[-5,-3],[-4,0],[-3,-4],[3,-1],[2,-7],[-1,-4],[-2,0],[-4,4],[-2,5],[0,4],[2,6],[6,7],[1,3],[4,3],[5,8],[4,5],[-2,3],[-2,6],[0,7],[8,3],[4,-1],[5,0],[2,2],[2,0],[4,2],[2,3],[0,7],[-1,6],[3,4],[3,1],[3,-2],[-2,-7],[-2,-16],[-1,-3],[-2,-3],[1,-6],[-2,-5],[-7,-4],[-1,-2],[5,0],[3,1],[4,4],[1,6],[1,12],[4,2],[1,-3],[0,-12],[-3,-18],[-4,-7],[0,-4],[3,0],[4,9],[1,7],[0,8],[1,10],[1,5],[0,7],[-5,4],[0,4],[1,9],[5,0],[5,5],[3,2],[2,0],[6,-6],[1,2],[-1,2],[-7,8],[-6,1],[2,15],[8,3],[10,11],[2,17],[-5,2],[-5,6],[-7,7],[1,6],[0,10],[5,2],[2,13],[-3,10],[0,8],[4,6],[2,10],[3,0],[0,8],[-2,6],[0,8],[2,9],[3,-1],[1,1],[-3,6],[-2,6],[1,2],[4,4],[2,-4],[3,-10],[1,3],[-2,10],[-1,13],[-3,-1],[-3,0],[-3,5],[1,4],[4,6],[5,1],[3,4],[1,9],[-1,-1],[-2,-7],[-3,-3],[-3,2],[-4,6],[-2,2],[-2,0],[-2,-2],[-4,-11],[-2,-2],[-8,-1],[-3,1],[-3,2],[0,3],[1,3],[2,3],[-2,1],[-3,3],[-1,4],[-3,19],[-1,8],[2,6],[4,23],[1,12],[2,11],[0,6],[5,7],[2,4],[4,21],[1,11],[-7,35],[-1,6],[0,8],[1,14],[1,5],[-2,8],[-4,12],[0,6],[2,7],[-2,8],[2,8],[6,-2],[3,1],[3,9],[0,10],[1,5],[0,6],[3,3],[1,6],[3,8],[3,24],[2,6],[3,7],[-1,10],[2,4],[3,10],[1,6],[5,8],[1,10],[4,17],[0,12],[1,7],[0,7],[2,9],[3,11],[5,10],[0,8],[-1,5],[0,8],[-2,11],[5,7],[3,18],[0,7],[1,9],[-2,10],[-1,23],[-1,18],[-2,19],[0,11],[-2,13],[0,7],[1,17],[8,11],[1,12],[1,17],[0,11],[-1,6],[-4,9],[0,19],[3,5],[2,6],[4,17],[1,18],[2,14],[1,5],[2,7],[1,1],[0,16],[3,21],[0,6],[3,14],[1,10],[1,6],[-1,6],[1,13],[-2,8],[0,4],[2,14],[2,3],[2,7],[1,7],[0,4],[-3,23],[0,8],[1,18],[1,11],[-1,10],[1,5],[0,6],[2,7],[1,5],[-3,5],[-3,6],[0,7],[1,5],[0,6],[3,2],[2,3],[2,7],[2,17],[0,21],[2,13],[0,6],[1,13],[2,16],[-1,6],[-3,31],[0,11],[2,17],[0,25],[-2,11],[0,7],[-2,13],[-2,25],[0,25],[-2,3]],[[3043,4127],[4,1],[3,0],[3,2],[4,5],[2,6],[1,6],[0,5],[-1,7],[0,5],[1,2],[4,1],[4,8]],[[8079,6335],[2,-6],[1,-7],[0,-7],[-2,-4],[-3,-1],[-5,-16],[-1,-4],[-1,-2],[0,-5],[-1,-7],[-1,-9],[-1,-4],[-3,-4],[-2,0],[-1,-1],[-2,-5],[-3,-4],[0,-3],[-1,-2],[-2,0],[-4,-1],[-3,-8],[-3,-2],[-2,0],[-3,3],[-6,3],[-5,2],[-3,3],[-6,7],[-1,12],[-1,7],[0,2],[1,21],[0,2],[4,7],[3,3],[4,8],[3,3],[2,5],[-2,1],[2,4],[1,3],[1,1],[3,-1],[3,1],[2,4],[9,-1],[5,2],[2,3],[5,-1],[1,2],[6,-5],[0,7],[2,2],[2,-4],[2,-3],[2,-1]],[[8065,6398],[1,-2],[3,2],[0,-4],[-1,-3],[-2,2],[-4,0],[1,4],[2,1]],[[8128,6430],[-3,-2],[-1,1],[1,3],[3,2],[0,-4]],[[8132,6428],[-1,-2],[-1,2],[0,5],[2,4],[0,-9]],[[8153,6497],[-3,1],[-1,2],[1,3],[2,-3],[1,-3]],[[8282,6594],[-1,-3],[-2,0],[0,6],[2,-1],[1,-2]],[[8327,6650],[-2,-3],[-1,1],[0,12],[2,1],[0,-2],[2,-2],[-1,-4],[0,-3]],[[8367,6801],[-4,-1],[0,4],[2,4],[2,-4],[0,-3]],[[8392,6893],[-3,3],[0,2],[2,1],[1,-6]],[[8399,6905],[-1,-2],[-1,6],[2,-1],[0,-3]],[[8396,6909],[-1,-1],[-3,3],[-4,1],[-1,3],[0,4],[4,0],[6,-6],[-1,-4]],[[8384,6997],[-3,-1],[-7,5],[-5,5],[-3,7],[0,2],[3,0],[4,-3],[0,-3],[2,-1],[1,-2],[6,-5],[2,-4]],[[8624,7633],[0,2],[-2,1],[-4,6],[-1,3],[0,8],[-3,2],[-2,4],[-2,-1],[-3,2],[-2,-6],[-1,-7],[-1,-4],[0,-6],[-1,-7],[-1,-2],[-2,0],[-1,-3],[-3,1],[-1,2],[-2,0],[-3,-5],[-1,-5],[-2,-6],[-2,-1],[-4,-6],[-5,0],[-3,-1],[-6,-1],[-3,1],[-8,-2],[0,-5],[2,-4],[2,-8],[2,-2],[1,-3],[0,-3],[-2,-7],[-2,-3],[-1,0],[-2,4],[-3,0],[-6,-1],[-4,1],[-1,2],[-3,0],[-4,2],[-3,0],[-1,2],[0,3],[-2,4],[-1,4],[-3,2],[-3,-4],[-2,0],[-4,-4],[0,-3],[-2,-11],[-1,-3],[-1,0],[-5,-12],[-5,-7],[0,-3],[-3,-4],[-3,0],[-2,-2],[-3,-1],[-1,-4],[-2,0],[-1,-2],[-4,-5],[-2,-1],[-7,-5],[-2,-3],[0,-2],[-3,0],[-5,-8],[-7,-8],[-2,-5],[-1,-6]],[[8453,7487],[-2,-4],[-5,-5],[-10,-1],[-3,3],[-2,-5],[-2,-1],[-4,0],[-2,-2],[-1,-3],[-6,-1],[-2,-3],[-3,-1],[-14,-13],[-3,-6],[-3,-7],[-2,-3],[-4,-3],[-1,-3],[-5,1],[-2,-3],[1,-5],[-4,-2],[-5,-1],[-5,-5],[-1,5],[0,6],[2,2],[2,0],[12,9],[-2,6],[1,3],[3,5],[1,3],[-8,-2],[-4,0],[-3,1],[1,4],[0,4],[-1,1],[6,6],[1,2],[-1,4],[1,5],[8,6],[2,6],[3,5],[6,13],[0,2],[2,6],[0,2],[-4,9],[-7,9],[-1,7],[-1,0],[-1,-5],[-1,-2],[-4,0],[-1,2],[-10,1],[-3,-3],[-2,-6],[-2,-3],[-3,-2],[-2,-4],[-8,-20],[-3,-2],[-14,-12],[-7,-5],[-6,-9],[-4,-11],[-1,-9],[-6,-13],[-2,-1],[-3,1],[-2,-1],[-3,1],[-4,-4],[-5,-3],[-4,8],[-3,2],[-5,-2],[-3,-4],[-4,-16],[-2,-9],[0,-4],[3,-12],[3,-6],[7,-7],[15,-5],[3,1],[4,0],[4,-5],[2,-7],[0,-8],[2,-4],[-3,-4],[-1,-8],[0,-9],[1,-4],[3,-4],[5,-4],[5,0],[8,1],[4,6],[0,6],[7,8],[5,7],[-2,4],[3,1],[11,7],[8,-6],[5,-7],[5,-1],[3,-4],[4,-3],[4,0],[5,-1],[2,5],[2,0],[1,-4],[5,-3],[4,0],[3,1],[2,-1],[-3,-5],[1,-8],[-4,-7],[2,-3],[0,-4],[-2,-1],[-3,-5],[-2,0],[-3,7],[-3,1],[-3,-1],[-15,-13],[-7,-4],[-3,-3],[-2,-1],[-3,2],[-2,-1],[3,-4],[0,-6],[-1,-1],[-2,2],[-2,-2],[-1,-5],[0,-9],[-1,-3],[-4,-1],[-3,-3],[-2,3],[1,5],[-1,2],[-4,-2],[-2,-4],[2,-6],[3,-2],[-2,-3],[-4,-4],[-1,-4],[-2,-3],[-1,-3],[-3,-4],[-3,-2],[-3,-7],[-2,-6],[-3,-3],[-2,-11],[-4,-6],[-1,-9],[1,-6],[4,0],[2,-2],[4,-8],[6,-5],[5,-3],[7,-7],[3,-9],[3,-17],[2,-9],[0,-4],[3,-9],[3,-14],[4,-13],[1,-10],[-1,-5],[0,-5],[3,-6],[9,-6],[3,-5],[0,-10],[2,-5],[6,-4],[2,-3],[2,-5],[1,-5],[0,-7],[-3,0],[-2,1],[-9,8],[-3,1],[-3,-2],[-5,2],[-5,9],[-4,3],[-4,2],[-9,-9],[-2,1],[-2,-2],[4,-2],[5,3],[4,4],[6,-2],[2,-10],[4,-4],[3,-2],[4,-5],[5,-8],[8,-10],[4,-9],[2,-14],[-3,-3],[-7,-1],[-3,-3],[-3,-5],[-8,-9],[-2,-5],[-1,-4],[-2,-2],[-6,2],[-5,0],[-5,-6],[0,-2],[3,-1],[4,4],[4,-10],[7,2],[7,8],[3,0],[2,-1],[3,-4],[7,-14],[7,-5],[4,-1],[-5,-5],[-6,-12],[-3,-2],[3,-2],[4,5],[1,2],[2,-1],[1,-7],[-2,-21],[-2,0],[-1,6],[-2,1],[-2,-1],[-3,0],[-2,-2],[-1,-4],[2,-1],[4,-6],[1,-3],[-1,-2],[0,-4],[-1,-5],[-1,-2],[-2,-1],[-1,-4],[2,-7],[1,-9],[1,-4],[-3,2],[-4,-6],[-3,0],[-1,7],[-2,-1],[-1,-2],[-4,-15],[-2,-2],[-4,1],[0,-2],[2,-3],[0,-2],[-4,-9],[-1,-3],[0,-3],[-2,-3],[1,-6],[0,-4],[-4,-9],[-2,-6],[-3,-3],[-4,-12],[-2,-12],[-1,-3],[-2,-2],[-2,1],[0,4],[-2,3],[0,7],[-1,-1],[0,-4],[-2,-2],[-2,1],[-1,-1],[1,-3],[0,-3],[2,-1],[2,-4],[1,-5],[2,-5],[0,-2],[-3,-2],[-3,-4],[-3,-6],[-3,-4],[-4,0],[-2,3],[-3,1],[4,-9],[1,-1],[3,0],[2,3],[3,0],[1,-5],[-1,-5],[-2,-14],[2,-9],[1,-2],[-1,-2],[-3,3],[-2,3],[-2,-1],[-2,1],[-3,-1],[-1,-2],[1,-3],[2,-3],[1,-4],[-1,-2],[-6,1],[-3,-5],[1,-7],[-1,-5],[-3,-1],[-3,-3],[-2,-1],[0,-2],[2,-1],[-1,-10],[-3,-2],[-4,1],[-3,-1],[-3,3],[-3,0],[-2,-4],[0,-5],[-5,0],[1,-5],[4,0],[1,-3],[0,-5],[-4,-8],[-2,-6],[-3,1],[-2,-5],[-1,-6],[-1,1],[-3,-1],[-1,-4],[1,-2],[-3,-8],[-1,3],[0,4],[-1,0],[-2,-4],[-4,-4],[-1,3],[-4,1],[-1,-11],[-5,-7],[0,-3],[-1,-3],[-2,0],[-1,-3],[-1,-10],[-1,-3],[-4,0],[-2,2],[-1,-4],[-4,-2],[-6,-4],[-3,1],[-3,2],[-2,-2],[-2,-6],[-3,0],[-3,3],[-2,3],[-3,-3],[-3,-4],[-2,-1],[-2,-4],[-3,1],[-1,6],[-2,1],[-3,-8],[1,-5],[-2,0],[-2,3],[-2,1],[-2,-3]],[[8173,6482],[-2,1],[-4,-1],[-1,-2]],[[8166,6480],[-3,1],[-2,4],[-2,8],[-3,4],[-1,3],[-1,6],[0,6],[1,3],[-3,-1],[-2,-3],[0,-6],[-3,-2],[0,-3],[3,-4],[0,-4],[3,-7],[0,-11],[1,-3],[0,-3],[-1,-5]],[[8153,6463],[-1,2],[-1,-3]],[[8151,6462],[-2,-1],[-4,-5],[-3,-1],[-2,7],[-2,-5],[-1,-10],[-2,-3],[-3,3],[-2,-2],[-4,-7],[-2,2],[-2,4],[0,4],[-2,1],[0,-3],[1,-7],[-1,-2],[-2,-1],[-3,1],[-2,2],[-5,3],[0,-4],[-2,-4],[-2,0],[-2,-3],[-1,-3],[-2,-3],[-6,-1],[-2,-3],[-6,0],[-3,1],[0,-4],[-3,-2],[-3,-1],[-4,-6],[-2,-4],[-3,1],[-1,6],[-1,-5],[0,-4],[-5,-8],[-1,-5],[0,-5],[5,-1],[1,-5],[-2,-2],[0,-3],[5,-9],[1,-3],[-2,-6],[-3,-4],[-6,-2],[-5,2],[-2,4],[1,2],[2,0],[-1,5],[-3,2],[-2,6],[1,5],[-2,8],[-2,2],[1,10],[-1,4],[3,6],[0,6],[4,3],[0,6],[-2,0],[-2,4],[-2,-2],[-3,9],[-2,1],[1,-9],[-3,-4],[-8,-3],[-2,1],[0,3],[1,3],[-1,3],[-2,2],[-7,0],[-1,1],[-4,10],[1,3],[-1,2],[-3,0],[0,-10],[1,-3],[0,-3],[-2,-1],[-3,5],[-2,-8],[-3,0],[-2,-2],[-3,-1]],[[7998,6422],[-5,8],[-1,1],[-3,-3],[-5,-1],[-1,3],[-2,-2],[-3,6],[-2,0],[-3,5],[-2,2],[0,3],[-4,4],[-4,2],[-1,-1],[-1,3],[0,15],[-2,3],[-1,3],[0,6],[1,4],[2,1],[2,3],[2,8],[-7,8],[-5,-3],[-3,1],[-2,4],[-3,2],[-2,0],[-1,-3],[-3,0],[-2,2],[-2,4],[-4,2],[-3,10],[-5,6],[-2,-4],[-6,-5],[-3,-3],[-1,-2],[-1,-5],[0,-6],[-3,-5],[-3,0],[-2,-1],[-4,-6],[-2,0],[-2,4],[0,2],[-2,0],[-3,-3],[-2,-10],[0,-2],[-2,-1],[-7,14],[-1,1],[-3,-10],[-1,-1],[-3,9],[-2,0],[-4,-9],[0,-3],[-2,-3],[-3,-3],[-3,5],[-1,3],[-3,4],[-3,3],[-4,3],[-2,-3],[-3,-9],[-1,-5],[-3,-5]],[[7836,6472],[-3,4],[-2,0],[-3,-3],[-3,6],[-2,-2],[-2,-8],[-2,-6],[1,-3],[0,-6],[1,-4],[3,-6],[1,-4],[0,-16],[-1,-8],[0,-5],[3,-5],[-3,-4],[-2,1],[-3,3],[-2,0],[-5,-3],[-1,1],[-1,5],[0,6],[-1,1],[1,7],[-2,3]],[[7808,6426],[0,10],[-2,0],[-6,-5],[-5,-9],[-4,-3],[-2,2],[-3,1],[-4,-2],[-2,2],[-1,3],[0,6],[-3,2],[-2,7],[1,5],[0,5],[-1,2],[-9,4],[-5,1],[-3,-1],[-3,2],[0,9],[1,5],[3,7],[0,11],[1,8],[4,8],[-1,5],[-4,3],[-3,0],[-5,2],[-5,3],[1,7],[-1,4],[0,3],[-2,5],[1,6],[-1,7],[-2,2],[-1,4],[0,7],[4,7],[0,2],[-7,-3],[0,1],[-6,2],[-4,-1],[-6,-3],[-5,-4],[-2,-3],[-3,-3],[-2,2],[0,4],[3,8],[1,6],[-1,5],[0,4],[-3,3],[-1,3],[0,8],[1,8],[4,4],[1,2],[-1,6],[0,3],[1,7],[2,6],[3,-1],[4,6],[1,4],[1,9],[1,1],[3,-1],[1,1],[2,5],[2,7],[2,2],[2,0],[1,2],[0,3],[-2,5],[0,6],[2,2],[1,3],[0,6],[1,8],[0,35],[-1,8],[0,14],[-1,8],[-1,2],[-3,3],[-3,-1],[0,-3],[-1,-3],[-2,1],[0,3],[-1,4],[-4,22],[0,5],[-5,10],[-1,3],[-3,0],[-2,3],[-2,5],[-1,1],[-2,-1],[-2,-4],[-1,-5],[-3,-7]],[[7702,6809],[-5,7],[-2,1],[-2,-1],[-6,1],[-3,5],[-2,1],[-5,-4],[-1,-2],[-2,1],[-1,3],[2,4],[-1,1],[2,5],[6,9],[-4,15],[0,2],[-3,-2],[-5,-7],[-1,1],[0,9],[1,2],[3,3],[2,3],[0,3],[-3,-1],[-1,1],[-2,7],[-1,2],[-2,1],[-9,-7],[-5,-6],[0,-4],[-1,0],[-2,-5],[-2,-1],[-2,1],[-3,3],[-11,4],[-2,7],[-2,1],[-4,-6],[-5,-4],[-3,-5],[-2,-5],[-3,-1],[0,-3],[-3,-6],[-6,-6],[-9,-2],[-3,-2],[-3,-8],[-1,-5],[-2,-4],[-4,-6],[-5,-4],[-2,-4],[1,-2],[0,-6],[-4,-4],[-1,-2],[-2,-1],[-4,0],[-1,1],[-2,-2],[-2,0],[-3,-4],[-2,-1],[-6,2],[-2,0]],[[7468,6757],[-2,2],[-2,4],[0,6],[2,14],[1,5],[-1,3],[0,5],[-6,5],[-1,0],[-2,-3],[-6,-4],[-4,-1],[-1,-1],[0,-3]],[[7446,6789],[-5,1],[-7,-4],[-1,-1],[-2,1],[-8,0],[-4,1],[-3,5],[-5,4],[-3,1],[0,3],[-1,2],[-4,-1],[-1,-7],[-3,-2],[-5,5],[-3,6],[-1,-2],[0,-5],[-1,-4],[-2,-1],[-2,4],[-2,9],[-2,5],[-2,3],[-8,0],[-8,2],[-1,3],[2,13],[-2,1],[-6,-3],[-2,0],[-2,2],[-2,4],[-5,5],[-1,3],[-3,4],[-3,3],[-2,14],[-1,3],[-5,4],[-4,-3],[-3,-3],[-2,0],[-4,7],[-3,8],[-3,7],[-2,3],[-4,0],[-5,4],[-10,15],[-7,7],[-3,5],[-2,10],[-11,4],[-7,-3],[-4,-14],[-2,-3],[-2,-1],[-2,4],[-1,4]],[[7249,6921],[-1,4],[-3,3],[-5,7],[-12,9],[-2,0],[1,7],[-2,6],[-2,-1],[-4,6],[0,1],[-4,4],[-3,0],[-3,-1],[-2,2]],[[7207,6968],[-4,7]],[[7203,6975],[-3,8],[-4,9],[-2,1],[-1,-5],[-3,0],[-1,-2],[-3,0],[1,8],[-1,2],[0,5],[2,3],[-2,3],[-1,4],[0,9],[1,6],[-2,2],[-5,11],[-1,5],[0,5],[-2,7],[1,3],[3,0],[5,2],[1,-2],[0,-4],[5,-8],[2,0],[2,2],[2,5],[2,1],[0,4],[1,8],[0,3],[-1,3],[0,8],[-3,4],[1,5],[0,4],[-3,7],[-5,8],[-1,4],[-1,9],[0,13],[-1,7],[0,5],[5,6],[2,4],[-2,5],[-2,2],[-2,4],[-3,3],[-4,3],[-5,3],[-2,2],[-1,7],[-4,21],[-2,7],[0,3],[1,10],[-4,-2],[-2,1],[-1,2]],[[7160,7228],[-6,-2],[-4,1],[-4,2],[-6,2],[-9,6]],[[7131,7237],[-4,4],[-1,3],[-1,6],[-1,0],[-3,-3],[-4,-1],[-3,1],[-1,7],[-1,2],[-4,2],[-1,4],[2,5],[0,16],[-2,8],[-2,3],[-1,3],[-3,3],[-3,1],[-4,-2],[-1,9],[-1,1],[-8,5],[-5,-2],[-3,3],[-5,2],[-2,-1]],[[7079,7328],[3,3],[2,3],[1,3],[0,3],[-3,5],[-3,4],[1,5],[0,7],[-1,1],[0,6],[-1,6],[-2,4],[0,10],[2,7],[-1,4],[-8,8],[-7,3],[-4,0],[-2,-3],[-1,-4],[-4,1],[-2,3],[-1,5],[-2,7],[0,4],[1,2],[2,1],[0,4],[-2,2],[-1,4],[-3,7],[1,4],[0,8]],[[7044,7455],[5,3],[2,2],[1,3],[-1,8],[-1,3],[0,3],[3,9],[1,4],[3,2],[4,1],[5,2],[5,8],[2,2],[4,1],[1,1],[-1,5],[1,4],[4,-3],[3,0],[4,2],[8,8],[1,-1],[1,-5],[1,-11],[1,-1],[5,0],[4,4],[2,1],[2,-1],[3,3],[2,-4],[4,5],[1,4],[2,4],[2,9],[0,2],[2,2],[3,10],[4,3],[6,-2],[3,1],[8,-2],[4,2],[2,2],[4,0],[5,1],[6,12],[0,3],[3,5],[3,2],[5,6],[11,9],[4,4],[2,0],[4,2],[8,5],[2,5],[1,1],[9,1],[1,1],[-1,5],[0,3]],[[7227,7613],[1,5],[-3,20],[3,10],[5,4],[3,1],[0,2],[-2,1],[-3,4],[1,3],[6,4],[4,-1],[1,3],[-2,7],[-2,4],[2,5],[-2,8],[-2,6],[-2,12],[-2,4],[-2,8],[0,13],[-1,7],[2,11],[0,3],[2,0],[0,4],[-3,1],[-3,2],[-7,0],[-2,1],[-2,4],[3,3],[3,4],[4,1],[12,6],[6,0],[5,2],[8,4],[10,6],[2,-2],[1,-5],[4,-4],[1,1],[4,1],[4,2],[2,-1],[4,-5],[2,2],[2,8],[0,8],[-1,1],[-4,1],[-3,3],[-1,3],[1,6],[5,19],[1,9],[4,13],[3,14],[5,19],[0,4],[1,9],[2,1],[3,-1],[7,-4],[5,-4],[5,-3],[6,-1],[5,1],[4,0],[5,-1],[4,0],[3,-8],[2,0],[7,7],[3,5],[4,0],[3,1],[2,2],[1,5],[2,4],[0,8],[-2,6],[0,4],[-2,20],[1,8],[2,9],[2,6],[2,4],[2,2],[6,0],[6,2],[3,2],[5,2],[3,7],[2,3],[1,10],[-1,4],[1,4],[3,5],[5,1],[5,0],[2,-1]],[[7424,8011],[3,-1],[4,3],[7,2]],[[7438,8015],[0,-5],[2,-4],[-2,-4],[-2,-1],[0,-2],[3,-5],[3,-2],[3,-3],[0,-2],[-3,-4],[1,-3],[9,-5],[3,-4],[3,-1],[1,-4],[0,-5],[7,-7],[3,-1],[3,-5],[4,-1],[4,2],[4,1],[3,-2],[3,-7],[3,-3],[3,1],[2,2],[2,0],[0,-2],[2,-6],[6,-5],[0,-3],[1,-3],[2,-3],[1,-5],[0,-5],[2,-6],[5,-12],[4,-3],[3,-12],[0,-5],[1,-4],[0,-4],[-1,-8],[-2,-4],[0,-3],[3,-13],[-2,-3],[-4,-8],[-3,-7],[-1,-7],[0,-5],[3,-6],[0,-2],[3,-10],[1,-1],[1,2],[3,0],[7,-6],[4,0],[4,-2],[4,-1],[8,0],[4,-2],[7,-1],[4,0],[6,1],[14,-3],[6,-2],[4,-2],[3,-4],[3,-7],[3,-2],[6,-2],[5,-7],[4,-3],[6,-7],[4,-3],[5,-2],[8,1],[1,-1],[-1,-4],[0,-9],[1,-2],[3,-1],[3,-8],[3,-11],[4,-16],[0,-6],[2,-4],[5,-6],[2,-5],[4,-5],[1,-5],[0,-6],[1,-1],[13,2],[10,2],[14,-3],[15,-3],[13,-3],[21,-4],[8,4],[6,2],[3,0],[19,-5],[9,-2],[6,-1],[7,0],[3,-2],[8,-16],[5,-3],[12,-4],[6,-3],[8,-2],[5,-4],[5,-5],[8,-6],[16,6],[5,1],[0,-12],[10,-1],[4,-3],[2,1],[4,7],[3,2],[6,5],[9,8],[19,13],[4,3],[6,2],[5,1],[6,2],[13,3],[8,1],[3,1],[5,0],[10,-2],[12,2],[6,0],[3,1],[11,8],[6,3],[9,7],[2,4],[5,8],[2,5],[4,7],[4,9],[5,3],[8,4],[5,5],[3,6],[3,1],[2,2],[0,6],[-3,7],[-4,6],[-5,9],[0,4],[-2,3],[-1,3],[0,3],[3,5],[0,3],[1,6],[2,9],[4,8],[4,6],[4,1],[2,-1],[8,0],[3,-3],[2,-6],[3,-1],[10,-5],[4,-1],[3,0],[8,-2],[2,1],[2,3],[5,5],[5,4],[2,4],[7,9],[2,4],[0,2],[2,5],[2,1],[3,0],[5,-2],[14,2],[3,2],[4,1],[7,9],[3,3],[2,1],[4,6],[-1,3],[1,7],[5,11],[2,3],[2,5],[3,1],[3,4],[10,-2],[3,0],[3,2],[0,3],[1,6],[1,3],[3,0],[3,-4],[4,1],[3,4],[4,3],[7,3],[3,-1],[9,0],[1,3],[2,1],[9,-7],[4,-2],[4,1],[4,-1],[3,0],[4,4],[1,3],[0,7],[-4,10],[0,4],[-1,3],[-5,6],[-4,7],[-2,2],[-1,4],[-3,3],[-2,5],[0,2],[-2,2],[-7,4],[-6,11],[-2,2],[-7,1],[-2,2],[-5,-2],[-4,0],[-2,-1],[-3,-4],[-3,-6],[-3,-4],[-2,-4],[-2,0],[-6,8],[-5,3],[-4,1],[-7,-2],[-4,0],[-1,1],[-3,0],[-4,-4],[-2,-5],[-3,-1],[-2,3],[-3,3],[-3,5],[-1,4],[-1,11],[3,3],[4,3],[0,12],[1,7],[4,7],[2,5],[0,3],[2,6],[1,6],[3,7],[4,14],[5,16],[3,8]],[[8240,8053],[6,-5],[9,-6],[7,-1],[6,-5],[5,-1],[9,11],[7,8],[8,7],[7,1],[4,2],[3,3],[2,5],[1,7],[-1,5],[-3,1],[-1,2],[2,4],[1,5],[2,4],[3,4],[1,4],[0,5],[2,5],[5,9],[0,4],[6,14],[3,10],[5,7],[7,8],[5,7],[2,7],[0,6],[-3,6],[0,5],[1,6],[-1,4],[-4,3],[-4,1],[-5,-2],[-3,2],[-1,5],[2,4],[3,3],[6,7],[8,12],[7,6],[12,2],[9,4],[10,4],[7,2],[5,-2],[6,1],[12,4],[4,1],[7,-2],[1,1],[4,-2],[7,-6],[4,-2],[4,-1],[2,-4],[3,-3],[5,-1],[7,-5],[0,3],[5,2],[4,-2],[6,-5],[6,-3],[1,-2],[0,-4],[1,-2],[4,-1],[2,-4],[3,-4],[0,-4],[-1,-3],[1,-3],[3,-1],[1,-4],[4,-7],[0,-3],[2,-5],[3,-17],[4,-8],[1,-5],[0,-8],[3,-3],[1,-5],[0,-9],[2,-5],[0,-4],[3,-7],[5,-9],[3,-7],[1,-5],[0,-4],[-1,-3],[0,-3],[1,-1],[0,-5],[1,-3],[6,-5],[-3,-13],[0,-6],[2,-4],[4,-5],[0,-3],[3,-3],[5,-3],[7,0],[8,2],[5,0],[2,-1],[0,-5],[1,-2],[6,-2],[2,-4],[2,2],[4,-2],[2,2],[3,0],[2,-6],[3,0],[3,-5],[7,-13],[4,-5],[5,-1],[5,0],[2,-5],[-2,-6],[0,-4],[3,-7],[2,-3],[2,-5],[0,-5],[-2,-8],[0,-6],[3,-5],[2,-5],[1,-5],[0,-3],[2,-1],[8,2],[4,0],[3,-2],[6,0],[10,2],[10,0],[2,3],[2,7],[2,3],[2,0],[3,2],[4,5],[3,2],[9,0],[3,2],[3,4],[4,4],[13,6],[1,-1],[7,-2],[3,-7],[-1,-5],[-2,-6],[0,-2],[3,-10],[2,-5],[-2,-6],[-3,-5],[-1,-3],[-2,-2],[-3,0],[-4,-5],[-2,-6],[1,-3],[0,-4],[-1,-4],[-2,-5],[-2,-15],[-1,-6],[-3,-6],[1,-4],[0,-6],[-1,-1],[0,-4],[-3,-3],[-1,-3],[0,-4],[-1,-4],[-2,-5],[-3,-2],[0,-4],[-1,-3],[0,-6],[-1,-3],[-3,-3],[-2,0],[-2,-3],[-2,-10],[0,-11],[-3,-3],[-2,-3],[-2,2],[-4,1],[-1,1],[-9,3],[-5,3],[-5,2],[-4,5],[-3,-5],[-2,-2],[-2,-7],[-4,-6],[-5,-2],[-1,-1],[-6,-2],[-1,-5],[1,-3],[2,-9],[1,-7],[4,-23],[-2,-4],[-1,-17],[1,-3],[0,-10],[2,-3],[0,-3],[-2,-7],[-1,-7],[-2,-6],[0,-4],[-1,-4],[-3,-3],[-4,1],[-6,-3],[-4,-3],[-1,-3],[3,-2],[2,-3],[0,-3],[-2,-2]],[[4913,5479],[0,-3]],[[4913,5476],[-4,2],[1,2],[3,-1]],[[4924,5729],[0,-10],[1,-1],[-1,-4],[-1,-6],[0,-4],[1,-1],[1,-4],[1,-7],[1,-3],[2,-33],[-1,-2],[-2,-1],[0,-2],[1,-2],[-2,-4],[-4,-7],[-1,-4],[0,-3],[-1,-5],[-2,-13],[-1,-11],[0,-4],[-1,-2],[0,-3],[-4,-10],[-2,-8],[0,-21],[4,-20],[2,-17],[1,-5],[0,-2],[1,-2],[4,-1],[1,-11],[0,-10],[-1,-4],[0,-2],[-2,0],[-2,-2],[-2,1]],[[4915,5479],[-4,4],[0,8],[-1,1],[-1,-1],[-2,-10],[-1,-2],[-15,5],[-3,4],[-3,1],[-7,0],[-5,-2],[-2,-2],[15,1],[1,-1],[-17,-4],[-7,-2],[-2,1],[-2,3],[-7,0],[1,-3],[4,1],[1,-2],[-14,-3],[-9,-4],[-4,-3],[-14,-11],[-8,-6],[-2,-2],[-4,-5],[-5,-3],[-5,-7],[-4,-1]],[[4789,5434],[0,13],[-1,14],[0,5],[1,6],[0,4],[2,3],[0,6],[2,5],[0,19],[-1,11],[-2,0],[-3,4],[-3,0],[-2,3],[0,4],[-1,2],[0,5],[-1,4],[-3,3],[-2,1],[-2,-1],[-4,2],[-2,2],[-1,4],[-2,3],[-1,-1],[-3,2],[0,1],[6,11],[2,6],[0,10],[1,6],[-4,19],[0,6],[-2,3]],[[4763,5619],[2,2],[2,0],[3,-2],[1,1],[3,10],[0,4],[-1,2],[2,7],[2,6],[-2,5],[-1,0],[-3,3],[-1,2],[0,11],[1,2],[4,1],[5,-2],[2,0],[2,-5],[1,0],[1,2],[-1,8],[0,5],[-2,5],[-5,3],[0,6],[1,6],[1,2],[3,3],[-2,4],[-2,3],[1,6],[0,7],[-2,-1],[-2,0],[-2,1],[-1,4],[0,22],[-1,6],[1,3],[2,2],[2,6]],[[4777,5769],[3,1],[2,3],[2,6],[2,5],[4,0],[1,1],[1,-4],[1,-2],[1,0],[0,-5],[6,-2],[2,-1],[1,-3],[2,0],[1,3],[-1,3],[0,3],[1,2],[3,1],[2,0],[2,-1],[1,3],[-1,7],[0,4],[1,4],[3,-4],[4,-2],[-1,6],[2,2],[3,2],[1,-7],[0,-7],[1,-6],[-1,-3],[0,-4],[3,-3],[2,0],[2,2],[2,4],[0,3],[2,2],[4,2],[4,1],[1,-1]],[[5448,5314],[0,-4],[-2,-5],[-1,-5],[2,-13],[0,-5],[-2,-2],[-2,5],[-3,3],[-4,6],[-4,2],[-5,0],[-2,-1],[-2,2],[-3,4],[-2,-2],[-5,0],[0,3],[-1,1],[-3,0],[-1,2],[-2,1],[-2,4],[-3,-3],[-5,1],[-14,0],[-14,0]],[[5368,5308],[0,3],[-2,2],[-15,0],[-4,2],[-5,1],[-5,-1],[-6,0],[-11,1],[-6,0],[0,-8]],[[5314,5308],[-15,0],[-14,0],[-9,0],[-4,4],[0,4],[-1,0]],[[5271,5316],[1,14],[1,11],[2,20],[-1,9],[-1,4],[-5,13],[2,5],[-3,-1],[-1,5],[-2,6],[1,1],[1,3],[4,-1],[-3,7],[0,2],[-1,1],[-2,0],[-1,-1],[-1,-4],[-1,-1],[-2,0],[-1,1],[-2,4],[-4,2],[-3,3],[-1,8],[-1,3],[0,4],[-1,5],[1,7],[-1,1],[-4,0],[-1,4],[-1,1],[0,-7],[-1,-2],[-2,1],[-1,3],[0,2],[1,8]],[[5237,5457],[0,5],[2,5],[2,7],[2,9],[2,15],[1,10],[1,8],[2,8],[2,5],[5,11],[3,7],[6,9],[2,4],[2,6],[2,7],[2,2],[8,11],[0,-2],[1,-4],[3,-1],[3,0],[2,1],[1,2],[1,7],[2,1],[3,-4],[6,-12],[2,-3],[0,-2],[2,-11],[0,-3],[2,-1],[5,3],[4,6],[1,4],[1,2],[0,9],[6,12],[2,3],[0,1],[-2,8],[2,8],[5,10],[0,8],[4,13],[2,16],[0,3],[2,8],[3,10],[4,2],[5,7],[2,8],[0,8],[1,9],[2,14],[3,4],[5,4],[0,5],[1,10],[0,8],[1,4],[4,8],[1,12],[2,13],[5,16],[5,15],[2,4],[2,2],[3,0],[1,1],[6,8],[3,3],[2,5],[0,3],[-1,8],[1,6],[1,9],[0,9],[-1,4],[-2,5],[-3,2],[-4,1],[-2,2],[0,8],[-1,5],[-2,27]],[[5390,5937],[5,0],[6,-4],[1,-2],[1,-9],[2,-5],[4,-5],[2,-9],[1,-13],[2,-8],[1,-1],[2,-12],[1,-3],[0,-12],[1,-6],[-2,-10],[0,-6],[-1,-9],[2,-15],[1,-11],[2,-10],[2,-7],[4,-8],[3,-8],[4,-4],[-3,-3],[-6,0],[-4,1],[-2,0],[-1,-1],[-7,-1],[-13,2],[-3,0],[-3,-4],[-5,-12],[1,-6],[2,-4],[6,-14],[1,-5],[6,-10],[6,-11],[3,-2],[3,-5],[4,-9],[4,-13],[2,-14],[3,-13],[1,-3],[2,-1],[0,-7],[-2,-8]],[[5856,5384],[1,-1],[0,-3],[-2,-8],[-1,-6],[-1,-8],[3,-6],[0,-5],[-2,-9],[-1,-9],[-1,-4],[3,-3],[4,0],[3,-7],[2,0],[1,-1],[0,-2],[2,-2],[1,-3],[-1,-3],[0,-3],[-9,-21],[-12,-25],[-5,-3],[-2,-5],[-2,-8],[-3,-6],[-4,-4],[0,-17],[-4,-19],[-1,-1],[-1,-3],[0,-9],[-1,-3],[-1,-19],[0,-6],[-1,-9],[0,-11],[-1,-5],[0,-8],[1,-14],[-1,-2]],[[5820,5103],[-3,-4],[-1,-3],[-2,0],[-4,-12],[-2,-5],[0,-10],[1,-8],[-1,-4],[-1,-2],[-5,-8],[-1,-2],[0,-9],[1,-4],[0,-3],[3,-2]],[[5816,4927],[0,-3],[-2,-19],[-1,-4],[3,-16],[2,-8],[0,-5],[2,-5],[1,-9],[0,-7],[-3,-11],[0,-4],[1,-8],[0,-8],[2,-5],[3,-13],[3,-4],[4,-7],[6,-9],[1,-4],[5,-17],[1,-7],[2,-10],[2,-9],[2,-11],[2,-8],[1,-5]],[[5853,4711],[-5,-1],[-7,-2],[-7,-3],[-8,-2],[-8,-3],[-8,-2],[-6,-2],[-2,-1],[1,-6],[-1,-7],[-1,-5],[-2,-6],[-3,-7],[-8,-12],[0,-3],[4,-13],[2,-19],[0,-33],[1,-8],[-1,-7],[-2,-8],[-1,-7],[-1,-11],[-3,-21],[0,-5],[1,-3],[2,-11],[3,-6],[5,-8],[6,-12],[2,-5],[4,-1],[4,-2],[2,-2],[2,1],[0,9],[2,3],[4,1],[1,2],[2,0],[0,-39],[0,-32],[-1,-3],[-1,-1],[-3,5],[0,4],[-1,3],[-3,-1],[-6,-6],[-2,-1],[-2,0],[-3,1],[-2,4],[-2,11],[-4,11],[-2,4],[-3,1],[-1,5],[-1,7],[-2,6],[-1,2],[-4,3],[-4,4],[-6,5],[-3,0],[-3,1],[-2,2],[-1,2],[-2,7],[-1,7],[-5,10],[-2,10],[-2,1],[-2,-2],[0,-3],[-2,-9],[0,-4],[-2,-3],[-5,-2],[-3,1],[-5,1],[-2,1],[-7,2],[-2,0],[-3,2],[-2,2],[-6,5],[-3,-1],[-5,8],[-1,4],[-1,8],[0,5],[1,5],[-1,1],[-2,-1],[-4,-1],[-5,-3],[-6,-3],[-4,-5],[-1,0],[-3,2],[-1,2],[2,7],[-1,7],[-2,4],[-3,2],[-2,0],[0,4],[-1,4],[-3,1]],[[5362,4845],[-2,2],[-4,-1],[-2,-1],[-3,-5],[-4,-3],[-3,1],[-3,6],[-3,8]],[[5362,4916],[1,2],[1,0],[2,-6],[5,-7],[1,0],[1,2],[2,2],[3,2],[1,2],[1,4],[0,10],[2,1],[3,-3],[1,0],[3,4],[3,1],[6,6],[2,-7],[0,-2],[-1,-3],[-1,-5],[1,-5],[0,-9],[2,-2],[2,1],[2,-2],[3,0],[5,10],[6,14],[4,9],[4,4],[2,4],[1,5],[2,3],[5,3],[3,3],[3,9],[4,18],[2,15],[0,42],[0,17],[6,12],[3,7],[3,8],[4,19],[3,9],[2,5],[4,4],[5,4],[7,13],[6,13],[-1,15],[2,13],[3,17],[1,17],[-1,19],[0,15],[3,17],[2,7],[0,27],[4,23],[3,14],[5,16],[1,9],[2,13],[0,10]],[[5760,5478],[1,-4],[2,-5],[4,-7],[2,-3],[1,-5],[2,-6],[4,-4],[1,-3],[5,-7],[2,0],[3,-2],[2,0],[5,8],[3,3],[6,-1],[6,-6],[2,0],[4,6],[3,7],[2,1],[3,-3],[3,-6],[3,-8],[1,-4],[3,-5],[5,-11],[6,-6],[2,-3],[2,-6],[0,-4],[1,-2],[1,1],[2,0],[1,-1],[3,-8]],[[5333,4895],[-1,1],[-3,7],[-2,6],[0,3],[-1,2],[0,6],[-3,8],[-8,13],[0,4],[-7,13]],[[5308,4958],[3,13],[2,3],[6,7],[0,-1],[5,-9],[1,-1],[1,1],[2,-1],[1,2],[0,2],[-1,3],[0,3],[1,3],[0,3],[1,4],[0,2],[-1,2],[-3,3],[-2,3],[0,7],[2,3],[0,1],[-2,3],[-2,5],[-3,1],[2,9],[0,19],[2,-1],[2,-2],[4,3],[2,0],[1,-2],[2,-2],[11,5],[0,5],[1,4],[0,4],[-2,7],[0,3],[1,2],[4,4],[1,0],[2,-2],[2,-4],[2,-8],[2,-6],[2,-8],[4,-3],[6,-2],[3,0],[7,12],[0,3],[2,-1],[1,-7],[2,-5],[-1,-4],[1,-2],[3,-1],[2,1],[1,3],[2,4],[0,3],[-1,2],[0,3],[1,2],[2,6],[0,4],[1,3],[3,3],[1,11],[-1,3],[0,4],[1,3],[1,7],[-1,10],[0,8],[-1,7],[2,21],[0,2],[-1,3],[-2,3],[-4,3],[-2,3],[-1,4],[-1,2],[-5,1],[-1,3],[0,6],[1,10],[0,12],[1,4],[3,4],[1,6],[4,1],[2,2],[1,2],[0,3],[3,8],[0,5],[-1,6],[-3,7],[-1,11],[-2,3],[-3,2],[-6,1],[-4,-2],[-5,-4],[-7,-4],[-2,0],[-1,2],[1,1],[1,4],[-2,10],[0,14],[1,8],[2,10],[0,4]],[[562,3959],[-3,2],[1,2],[2,-1],[0,-3]],[[2829,5330],[-2,1],[0,3],[1,2],[1,-1],[0,-5]],[[3018,5867],[-2,-3],[-4,-3],[-5,-2],[-7,-4],[-1,-3],[-7,-24],[-5,-5],[-2,-3],[-2,-4],[-3,-9],[-1,-6],[-4,-13],[-2,-17],[-1,-10],[-1,-14],[-1,-7],[-2,-6],[-3,-7],[-2,-7],[-1,-5],[-1,-2],[1,-2],[4,2],[4,4],[1,-1],[2,-7],[3,0],[1,-1],[2,-15],[2,-13],[7,-14],[0,-5],[1,-8],[0,-4],[-1,-2],[-1,-5],[-1,-9],[0,-16],[2,-7],[5,-2],[2,-7],[2,-9],[2,-4],[3,-2],[2,1],[6,1],[4,0],[7,-2],[6,0],[5,5],[2,1],[3,-1],[3,-2],[4,-4],[3,-2],[4,1],[1,-1],[5,-14],[5,-12],[8,-20],[1,-1],[3,1],[1,-2],[2,1],[3,4],[4,0],[6,-2],[7,0],[9,2],[6,3],[2,3],[4,-1],[4,-2],[3,-4],[0,-3],[1,-6],[-1,-5],[-3,-6],[-1,-7],[-1,-9],[-1,-6],[-3,-4],[-1,-6],[1,-8],[-1,-12],[-1,-15],[0,-9],[2,-7],[0,-11],[2,-6],[3,-19],[2,-2],[1,-2],[5,-16],[0,-4],[-1,-1],[-4,-8],[-10,-19],[0,-4],[3,2],[3,-1],[2,-2],[0,-5],[3,-2],[4,-10],[3,-5],[1,-3],[-1,-4],[1,-7],[2,-6],[-1,-3],[2,-3],[2,-15],[1,-5],[0,-2],[2,-11],[0,-4],[1,-4]],[[3056,4939],[-2,5],[-2,4],[-2,2],[-1,3],[-1,7],[-2,2],[-1,2],[-4,-4],[-6,5],[-1,0],[3,11],[6,18],[4,11],[4,13],[2,7],[0,3],[-1,2],[-2,1],[-2,2],[-1,3],[-4,4],[-3,2],[-1,2],[-2,1],[-2,3],[-6,8],[-1,0],[-4,-2],[-2,-4],[-3,-1],[-3,0],[-1,2],[-2,1],[-2,3],[-3,3],[-3,1],[-5,-10],[-2,0],[-3,-3],[-2,-1],[-2,0],[-3,-2],[-3,2],[-3,3],[-1,-1],[-4,-2],[-4,0],[-1,4],[-5,3],[0,7],[1,4],[-1,5],[-1,7],[0,3],[-2,3],[-2,0],[-3,2],[-2,6],[1,6],[-1,5],[-2,3],[-2,8],[-2,2],[-2,0],[-2,1],[-1,4],[-2,2],[-2,4],[-5,3],[-1,3],[-2,4],[1,3],[-1,2],[-1,4],[-1,7],[-1,3],[-2,3],[-2,6],[-3,2],[-1,2],[-2,6],[-4,0],[-1,2],[-4,6],[-2,1],[-2,-4]],[[2908,5177],[-5,4],[-4,6],[-5,1],[-3,4],[-2,6],[-3,5],[-5,6],[-2,0],[-2,-2],[0,-2],[-1,-4],[0,-3],[-2,-1],[-3,0],[-2,2],[-2,-2],[-4,2],[-3,1],[-3,4],[-1,-1],[-4,1],[-3,2],[0,2],[-2,12],[-5,5],[0,3],[-1,4],[-4,-1],[-5,4],[-4,4],[-4,5],[-6,8],[-2,3],[-2,2],[-2,5],[-2,4],[-1,1]],[[2809,5267],[-1,4],[-4,6],[2,7],[5,6],[6,-5],[0,9],[-2,8],[0,14],[1,3],[2,4],[2,3],[3,-1],[1,3],[5,-1],[2,1],[2,3],[2,8],[1,1],[2,0],[1,4],[3,5],[0,2],[-1,7],[4,2],[2,10],[2,6],[1,0],[1,7],[3,7],[4,19],[-2,-3],[-2,0],[-1,2],[0,9],[-3,-6],[-2,6],[0,4],[1,4],[0,3],[-3,-2],[0,2],[2,3],[1,3],[2,3],[0,4],[1,7],[0,11],[-1,3],[-1,14],[0,14],[-1,5],[-4,7],[6,8],[2,6],[-2,13],[-4,10],[0,6],[2,0],[1,13],[0,4],[-2,7],[-2,0],[-2,8],[-2,2],[-1,5],[-3,10],[-3,6]],[[2835,5600],[2,12],[2,2],[1,3],[-1,8],[0,2],[2,-1],[2,-7],[1,-1],[1,1],[6,8],[-1,3],[2,9],[2,1],[1,2],[-1,4],[-4,18],[-1,5],[-2,4],[2,8],[1,1]],[[2850,5682],[1,-1],[2,-8],[4,-6],[4,-8],[1,-6],[2,-4],[0,-1],[-2,-5],[2,-4],[2,1],[1,4],[0,18],[-2,9],[-2,6],[0,3],[3,1],[3,3],[11,17],[4,16],[3,6],[4,4],[4,-1],[3,2],[1,5],[-1,7],[-1,4],[1,6],[1,9],[0,8],[2,4],[-1,2],[-2,-4],[-1,2],[3,7],[2,12],[1,4],[5,7],[1,3],[3,5],[6,11],[2,3],[11,-7],[3,1],[0,-2],[-2,0],[-2,-2],[-1,-4],[2,-4],[2,-2],[1,3],[1,8],[3,9],[0,9],[2,3],[2,1],[4,-1],[3,-2],[4,0],[10,1],[16,24],[8,5],[5,5],[3,10],[0,7],[3,3],[2,0],[1,2],[0,2],[6,7],[6,0],[7,-5],[3,-10],[0,-7],[-4,-7],[-1,-3]],[[6215,4474],[-3,-2],[-1,4],[0,2],[2,-1],[2,-3]],[[6234,4487],[2,-8],[0,-6],[-1,-1],[-1,1],[-2,5],[-5,4],[2,1],[1,-1],[2,1],[0,2],[1,2],[1,0]],[[6206,4498],[0,-1],[-4,4],[-2,5],[0,19],[1,2],[2,1],[1,-2],[0,-12],[2,-8],[1,-6],[-1,-2]],[[4324,6039],[-2,-2],[-2,1],[-2,5],[1,3],[3,3],[1,-1],[1,-5],[0,-4]],[[4355,6055],[-1,0],[-1,3],[0,4],[1,4],[2,0],[1,-3],[0,-6],[-2,-2]],[[4348,6048],[-2,-6],[-4,1],[-4,9],[0,5],[1,4],[0,5],[2,0],[0,-3],[4,-8],[3,-7]],[[4362,6119],[3,-2],[2,1],[2,-3],[0,-4],[-1,-4],[-3,-3],[-2,0],[-2,3],[2,6],[-1,6]],[[4330,6141],[1,-3],[-1,-1],[-4,2],[-1,-1],[-2,-5],[-2,7],[0,3],[1,1],[3,-2],[5,-1]],[[4363,6143],[-1,-3],[-1,4],[-1,7],[2,2],[1,0],[0,-10]],[[4308,6152],[-4,-1],[-2,2],[1,2],[3,3],[2,-4],[0,-2]],[[4300,6159],[-3,-1],[-1,1],[0,4],[-1,3],[0,2],[6,6],[3,-1],[1,-5],[-1,-3],[-4,-6]],[[2706,5735],[0,-1],[-2,-2],[0,-1],[-3,2],[-2,3],[-1,-1],[0,-4],[-1,-2],[-2,-1],[0,-23],[2,0],[3,-4],[1,-2],[0,-3],[-4,-6],[-1,-3],[2,-6],[0,-11],[-5,-6],[0,-2],[2,-3],[2,-7],[0,-4]],[[2697,5648],[-2,7],[-2,6],[-3,3],[0,9],[-1,5],[-3,4],[-3,3],[-2,0],[1,-5],[4,-9],[0,-4],[-3,1],[-4,2],[-2,2],[-4,7],[3,7],[1,4],[0,9],[-1,5],[-7,14],[-6,6],[-3,4],[-8,4],[-2,2],[-3,8],[1,5],[-2,6],[-9,13],[-4,5],[-2,3],[1,-9],[2,-5],[7,-7],[0,-4],[-3,-7],[-2,-2],[0,-4],[-1,-1],[-6,13],[-8,6],[-2,3],[-3,10],[-1,9],[0,6],[4,10],[1,4],[-1,2],[1,4],[-2,3],[-3,3],[-2,3],[0,1],[4,4],[0,4]],[[2617,5820],[2,2],[1,4],[1,2],[1,0],[1,-2],[5,-3],[5,-4],[8,-5],[3,3],[2,3],[2,0],[4,-4],[3,-1],[1,1],[3,-5],[1,-3],[0,-3],[1,-1],[2,0],[5,-2],[3,0],[3,3],[1,2],[1,5]],[[2676,5812],[1,-2],[0,-4],[1,-4],[3,-16],[3,-9],[6,-15],[3,-3],[4,-13],[2,-2],[1,-4],[5,-3],[1,-2]],[[2706,6426],[-8,-8],[-3,0],[-3,2],[-2,3],[-1,4],[4,-2],[1,2],[-3,11],[3,9],[8,-3],[4,-15],[0,-3]],[[2842,6448],[-1,-2],[-4,4],[-2,3],[0,3],[8,-2],[-1,-6]],[[2836,6458],[-4,2],[-1,2],[2,2],[3,-1],[1,-4],[-1,-1]],[[2832,6467],[-1,-1],[-1,2],[-2,1],[-2,3],[-1,3],[2,1],[3,-3],[1,-5],[1,-1]],[[2815,6482],[4,-1],[1,1],[3,-1],[2,-4],[-2,-1],[-2,1],[-4,0],[-4,4],[2,1]],[[2795,6489],[0,-2],[-5,4],[-2,5],[1,1],[6,-8]],[[2726,6517],[7,-2],[6,1],[3,1],[0,-2],[2,-4],[5,2],[10,1],[3,-5],[5,-4],[3,-1],[2,1],[3,0],[3,-4],[4,1],[-1,-4],[5,-5],[4,-9],[2,-4],[5,-6],[3,-1],[9,0],[4,-2],[0,1],[16,-15],[4,-8],[3,-4],[9,-8],[2,1],[-3,5],[0,1],[3,-1],[5,-9],[4,-4],[-1,-3],[-5,1],[3,-4],[0,-3],[2,-1],[1,4],[2,3],[4,-8],[3,-3],[-1,-4],[4,2],[2,-5],[5,0],[6,-3],[5,-5],[5,-2],[5,0],[2,-3],[1,-3],[-2,-6],[2,-3],[-4,-2],[0,-4],[1,-2],[2,2],[3,-1],[5,-1],[4,0],[7,-2],[2,-1],[6,-8],[4,-8],[4,-3],[4,0],[2,-2],[1,-3],[-1,-4],[-2,-5],[-5,0],[-6,-1],[-9,-6],[-1,-2],[-3,-1],[-2,3],[-1,-2],[-2,-2],[-7,0],[-6,4],[-11,2],[-3,0],[-7,-2],[-8,-1],[-3,-1],[-3,-2],[-6,0],[-7,-2],[-7,0],[5,13],[9,13],[2,2],[2,6],[-3,7],[-1,4],[-3,2],[-4,1],[-3,0],[-7,1],[-4,0],[-4,3],[-5,10],[-3,2],[-2,5],[-1,14],[-1,7],[-2,6],[-5,6],[-10,-4],[-3,0],[-2,2],[-16,9],[-6,5],[-5,6],[-2,5],[-2,3],[-1,-1],[-13,0],[-3,2],[-3,6],[-1,-3],[-4,-3],[-2,5],[-10,1],[-5,5],[-3,6],[3,2],[6,2],[2,4],[0,4],[-1,2],[-5,3],[-23,0],[-3,-5],[-5,-5],[-3,-7],[-2,-2],[-5,-8],[-3,-2],[-3,1],[-1,-1],[-7,-1],[-2,-4],[-1,-7],[-1,-2],[-6,-2],[-6,-7],[-1,0],[0,8],[-2,1],[-2,-1],[-4,-5],[-3,1],[1,2],[10,9],[2,-1],[2,1],[1,2],[-2,10],[1,7],[2,6],[7,11],[22,17],[2,1],[14,4],[2,1],[7,5],[7,2],[7,-2]],[[3089,5878],[-1,-1],[-5,6],[-5,9],[0,4],[1,0],[1,-2],[2,-6],[5,-4],[2,-6]],[[2739,6298],[2,-1],[0,2],[5,-1],[0,-3],[-3,0],[-2,-2],[-3,1],[1,4]],[[2778,6318],[-2,0],[-2,-2],[0,2],[1,1],[3,0],[0,-1]],[[5943,7203],[-3,2],[-2,-3],[-4,-2],[-1,1],[-3,0],[-1,-2],[-1,1],[0,5],[-2,4],[-1,-1],[-3,0],[-1,1],[-3,-1],[-5,-4],[-1,0],[-4,4],[0,1]],[[5908,7209],[1,-1],[3,2],[2,5],[0,7],[5,-2],[5,-1],[4,0],[4,1],[13,7],[4,4],[6,4],[1,-2],[-14,-17],[-1,-5],[0,-4],[2,-4]],[[5943,7203],[2,-4],[-7,-2],[-3,1],[-5,-10],[-3,-3],[-3,-2],[-7,-2],[-1,-3],[0,-4],[-2,1],[-2,5],[-5,-1],[-5,3],[-3,4],[-2,11],[-1,7],[3,-2],[2,2],[2,4],[3,2],[2,-1]],[[5522,8035],[-2,-1],[-4,0],[-6,-6],[-1,-3],[-6,-5],[-1,-4],[0,-4],[-1,-3],[-4,-3],[-1,-2],[-4,-5],[-3,-2],[-4,-1],[-6,1],[-3,1],[-3,-5],[-3,-10]],[[5383,7992],[-4,7],[-4,4],[-3,0],[-1,3],[-3,5],[-2,1],[-2,3],[-3,6],[-3,4],[-3,0],[-4,4],[-3,10],[-2,3],[-2,5],[-1,1],[4,8],[-2,5],[-5,5],[-2,3],[-3,10],[1,2],[3,-4],[1,-3],[1,1],[1,4],[3,4],[3,3],[2,0],[4,2],[5,-1],[2,4],[4,2],[2,3],[3,2],[3,1],[3,5],[4,0],[11,7],[2,2],[5,2],[0,1],[-3,3],[1,4],[6,-2],[2,-5],[1,0],[0,-4],[4,-2],[1,3]],[[5410,8113],[3,0],[2,1],[0,8],[8,-4],[0,-4],[2,-4],[4,-1],[5,-3],[2,0],[4,-4],[2,0],[2,-4],[1,1],[6,2],[4,-4],[-1,-4],[-3,-2],[-2,-3],[2,-3],[6,-7],[3,-8],[2,-1],[2,1],[1,2],[3,3],[3,2],[-2,6],[-1,5],[7,-3],[8,-7],[4,0],[4,3],[1,-4],[-1,-3],[-3,-2],[6,-10],[4,1],[2,2],[5,-4],[2,-3],[2,1],[4,-1],[2,-2],[0,-7],[6,-8],[1,-6]],[[5394,8291],[-1,-2],[1,-3]],[[5394,8286],[-5,0],[-3,1],[-1,3],[1,3],[-3,4],[0,4],[6,-5],[5,-5]],[[5312,8318],[-4,0],[-2,2],[1,4],[4,-2],[1,-4]],[[5380,8316],[0,-6],[-3,3],[-4,0],[-1,-5],[-2,0],[-5,4],[-1,4],[1,9],[2,2],[0,3],[2,4],[3,0],[2,-5],[4,-2],[1,-3],[-3,-4],[1,-2],[3,-2]],[[5238,8335],[-2,-2],[-2,0],[-2,2],[2,2],[3,0],[1,-2]],[[5395,8278],[1,-6],[0,-4],[3,-16],[0,-5],[-1,-5],[-2,-4],[-3,-3],[-2,-6],[4,-6],[7,-7],[3,-7],[-2,-10],[2,-5],[2,-1],[0,-8],[2,-2],[-2,-7],[0,-3],[-2,-4],[0,-4],[3,-6],[0,-8],[5,-3],[3,-13],[-1,-9],[-5,-13]],[[5211,7925],[-2,0],[-1,4],[0,6],[2,8],[0,9],[1,5],[4,15],[1,8],[1,5],[8,13],[0,6],[-9,4],[-6,1],[-4,5],[-7,-2],[-2,1],[-3,0],[-1,3],[-3,2],[-3,-4],[-1,1],[-3,7],[-3,6],[-2,3],[-3,1]],[[5175,8032],[0,3],[1,5],[2,5],[1,1],[0,6],[-4,2],[-4,4],[-2,4],[0,8]],[[5165,8106],[2,9],[-1,3],[-4,3],[0,2],[2,0],[5,6],[-1,2],[0,3],[3,10],[0,5],[-3,6],[-1,4],[-3,6],[0,2],[6,5],[6,-3],[4,1],[6,3],[2,4],[-3,5],[8,8],[1,4],[0,6],[-1,4],[-4,0],[-3,1],[-1,2],[0,6],[1,2],[8,0],[0,1],[4,18],[1,2],[0,16]],[[5199,8252],[-1,3],[-3,3],[0,6],[1,4],[3,6],[2,1],[10,1],[10,0],[5,-9],[-2,-4],[3,-2],[2,4],[1,6],[4,-3],[2,0],[-1,7],[1,6],[2,5],[8,-2],[9,1],[3,-2],[7,-12],[2,0],[-9,14],[-3,2],[-7,2],[-2,5],[0,15],[-3,3],[-4,-1],[0,6],[5,1],[4,3],[0,4],[-2,3],[-6,11],[0,7]],[[5240,8346],[5,0],[1,-1],[8,-3],[2,-2],[2,0],[8,3],[4,-2]],[[5270,8341],[0,-1],[4,-1],[3,-7],[1,-5],[-5,-6],[8,1],[0,-2],[2,-3],[4,2],[10,-7],[6,3],[2,0],[1,-5],[-1,-6],[-6,-6],[1,-4],[2,-1],[5,1],[9,-4],[1,2],[7,8],[3,2],[8,1],[2,4],[4,3],[2,4],[5,7],[13,-4],[3,-7],[9,-8],[7,0],[3,-7],[1,-10],[2,-3],[3,-2],[6,-2]],[[5230,8339],[-1,7],[3,-1],[7,0],[-1,-2],[-7,-1],[-1,-3]],[[6191,5817],[-4,0],[-1,2],[-2,2],[-3,1],[-7,-5],[-7,-2],[-3,-2],[-2,1],[-2,2],[-1,12],[0,23],[1,5],[0,3],[4,7],[1,3],[5,13],[3,11],[3,8]],[[6176,5901],[2,4],[1,-1],[5,-8],[1,0],[2,3],[1,8],[2,3],[3,3],[4,2]],[[6197,5915],[0,-2],[5,-12],[3,-16],[-2,-9],[-2,-3],[-6,-8],[-7,-6],[-5,-10],[-3,1],[1,-4],[1,-1],[2,1],[3,3],[4,2],[4,0],[3,-2],[2,-3]],[[6200,5846],[-2,-8],[-3,-10],[-4,-11]],[[3297,6062],[-3,-2],[-1,10],[-2,8],[1,4],[0,2],[4,-3],[1,-3],[1,-9],[-1,-7]],[[5315,8345],[4,-4],[4,1],[3,-4],[0,-5],[-3,-2],[-2,1],[-4,-2],[-11,8],[0,10],[6,0],[3,-3]],[[5290,8342],[-4,1],[0,3],[5,-3],[-1,-1]],[[5348,8349],[-2,-1],[-4,1],[-5,-4],[-1,4],[3,3],[1,3],[7,-4],[1,-2]],[[5278,8345],[-2,-1],[-5,2],[-1,9],[2,0],[5,-5],[1,-5]],[[5297,8337],[-1,0],[-2,4],[0,2],[3,6],[4,5],[1,6],[1,0],[-1,-5],[-5,-18]],[[5418,8352],[-1,-1],[-5,2],[-5,4],[1,8],[1,3],[10,-8],[0,-4],[-1,-4]],[[5295,8386],[2,-9],[3,-7],[-1,-3],[0,-8],[-5,-5],[-5,0],[-5,2],[-8,5],[-3,11],[0,9],[4,1],[8,4],[2,0],[2,-3],[2,0],[3,4],[1,-1]],[[5351,8386],[-3,-3],[-1,4],[2,3],[2,-4]],[[5294,8396],[-3,0],[0,4],[1,3],[-1,3],[1,2],[3,-6],[-1,-6]],[[5348,8396],[0,-5],[-2,-3],[-5,-3],[-2,-3],[-1,-4],[2,-3],[3,-2],[1,-5],[-3,-3],[-6,-3],[-1,-7],[0,-14],[-6,-3],[-3,8],[0,4],[-1,3],[0,4],[-1,5],[-7,2],[-4,-1],[-3,7],[1,8],[-2,4],[0,4],[-3,2],[-1,5],[2,1],[5,-1],[2,2],[4,7],[1,4],[4,0],[2,-2],[-1,-5],[1,-6],[3,-2],[1,5],[2,3],[0,6],[-1,2],[4,5],[5,4],[3,0],[6,-2],[2,-3],[-2,-5],[1,-10]],[[5306,8481],[-1,-1],[-4,2],[2,2],[6,1],[-3,-4]],[[5240,8346],[0,4],[-3,9],[3,1],[-1,10],[-1,5],[-13,11],[1,17],[1,5],[-2,9],[0,10],[1,17],[3,0],[5,-3],[3,0],[1,-3],[2,-1],[2,8],[4,6],[5,4],[2,-3],[2,3],[1,12],[-4,2],[-3,-2],[-3,-7],[-3,-9],[-5,-1],[-4,-3],[-5,5],[0,6],[4,8],[5,7],[6,0],[4,2],[9,0],[4,1],[3,4],[8,14],[4,6],[8,2],[6,2],[-1,-5],[3,-7],[-1,-4],[0,-8],[-2,-4],[-4,-10],[0,-21],[2,-4],[3,-2],[10,0],[2,-5],[0,-5],[-1,-3],[-7,-6],[-2,0],[-3,5],[-3,-4],[-3,-12],[-1,-8],[-5,1],[-3,-2],[2,-2],[1,-4],[-6,-5],[-1,-3],[-5,-6],[3,-13],[-1,-4],[-4,-5],[-1,-5],[3,1],[2,-1],[2,-4],[1,-8]],[[3006,6222],[0,18],[-3,4],[-2,6],[-2,5],[4,0],[3,7],[1,4],[0,3],[-2,4],[0,4],[1,3],[3,5],[0,4],[-3,5],[0,2],[1,6],[0,4],[-1,11],[-1,2]],[[3005,6319],[2,1],[0,3],[1,4],[3,2],[4,0],[4,-3],[1,1],[8,3],[4,-1],[1,-2],[4,-5],[6,0],[3,-5],[3,-3],[2,0],[3,2],[2,0],[2,-4],[0,-7],[2,-6],[2,-4],[11,2],[3,-4],[-2,-4],[-8,1],[-1,-3],[0,-3],[3,0],[4,-1],[6,-4],[7,-2],[6,-5],[7,-11],[2,-2],[1,-4],[-3,-11],[-1,-2],[-2,-1],[-2,-3],[-1,-5],[-1,-1],[-2,3],[-1,5],[-4,4],[-3,-1],[-6,2],[-4,-1],[-3,0],[-7,2],[-3,-2],[-4,-2],[-3,-6],[-1,-1],[-9,-2],[-2,2],[-2,4],[-3,1],[-5,-3],[-3,-1],[-1,-2],[0,-7],[-5,-16],[-3,-9],[-2,-3],[-2,5],[-2,2],[-2,1],[0,7],[-2,6],[-1,2]],[[5263,6924],[-5,-6],[2,-7],[7,-21],[1,-4],[2,-11],[1,-11],[1,-4],[0,-32],[1,-29],[1,-15],[-2,-14],[-2,-12],[0,-7],[1,-10],[1,-7],[2,-4],[0,-13],[-1,-4],[-5,-7],[-5,-6],[-2,-5],[0,-10],[4,-10],[6,-16],[6,-17],[0,-4],[1,-12],[2,-15],[3,-6],[1,-5],[2,-4],[3,-3],[7,4],[12,-6],[11,-7],[0,-2],[3,-8],[7,-26],[2,-10]],[[5331,6538],[-14,-18],[-14,-17],[-15,-18],[-14,-17],[-15,-18],[-14,-18],[-14,-17],[-15,-18],[-9,-11],[-6,-11],[-8,-13],[-7,-12],[-13,-24],[-4,-6],[-8,-15],[-2,-2],[-11,-5],[-10,-4],[-9,-3],[-7,-3],[-6,-2]],[[5116,6286],[-8,-4],[-7,-2],[-6,-3],[-4,0],[-2,1],[-4,8],[1,4],[2,6],[0,2],[1,1],[0,6],[-1,5],[0,13],[-2,4],[-4,3],[-3,3],[-6,2],[-5,2],[-2,2],[-4,8],[-1,3],[-8,1],[-3,1],[-2,2],[-2,3],[-2,8],[0,2],[-9,9],[-4,6],[0,5],[1,5],[-1,4],[0,3],[-4,5],[-9,13],[-9,12],[-10,12],[-9,13],[-18,24],[-9,13],[-18,24],[-9,13],[-18,24],[-9,13],[-10,12],[-9,12],[-16,23],[-9,11]],[[4865,6623],[-6,8],[-7,8],[-6,9],[-5,5],[-5,6],[-5,7],[-5,6],[-6,6],[-5,7],[-5,6],[-5,7],[-5,6],[-6,6],[-5,7],[-10,12],[-11,13],[-5,7],[-5,6]],[[4758,6755],[0,21]],[[4758,6776],[0,27],[0,34],[3,3],[5,7],[1,3],[2,3],[8,8],[1,3],[9,11],[4,1],[2,2],[5,9],[4,3],[13,-4],[2,2],[1,4],[0,8],[1,1],[3,-1],[4,0],[2,1],[11,3],[9,5],[4,6],[3,6],[3,9],[3,8],[5,5],[7,4],[6,5],[5,6],[4,6],[8,2],[2,3],[0,4],[-1,2],[-3,3],[-1,0],[0,9],[1,3],[0,4],[-2,4],[0,7],[2,4],[5,-1],[4,1],[12,8],[1,2],[2,10],[1,2],[10,3],[8,-1],[4,0],[8,-1],[15,0],[1,1],[0,3],[-1,6],[1,4],[4,7],[-1,5],[-5,7],[-2,2],[-4,10],[-1,11],[-4,14],[2,15],[-3,12],[0,4],[1,8],[0,11],[-3,11],[2,7],[-3,7],[1,8],[-3,5],[-8,11],[-1,4]],[[4937,7205],[6,-1],[3,1],[7,5],[5,7],[4,3],[4,8],[3,5],[5,5],[13,11],[2,0],[5,-3],[4,1],[2,4],[3,9],[10,12],[8,5],[5,5],[8,5],[20,3],[10,2],[7,-1],[7,8],[4,3],[15,1],[7,5],[27,0],[3,-1],[4,-4],[5,-7],[3,-2],[4,2],[8,7],[9,4],[6,4],[2,6],[4,2],[3,-4],[9,-5],[6,1],[3,2],[-1,7],[6,-2],[5,-4],[5,-6],[4,-2],[6,3],[12,2]],[[5237,7311],[1,-3],[0,-3],[-4,-4],[-3,-8],[-3,-5],[-1,-3],[3,-2],[1,-5],[-2,-18],[-1,-11],[0,-4],[2,-8],[0,-15],[2,-11],[-2,-7],[-1,-6],[-1,-9],[0,-5],[-1,-5],[-2,-5],[-5,-5],[-3,-4],[-3,-9],[-5,-7],[-1,-3],[-1,-6],[0,-8],[1,-7],[3,-9],[3,-16],[1,-3],[8,-8],[4,-9],[3,-13],[0,-9],[6,-7],[4,-7],[5,-5],[5,-6],[0,-2],[2,-13],[1,-13],[2,-15],[2,-14],[3,-26],[2,-12],[1,-14]],[[2773,5012],[0,-2],[-3,0],[-1,1],[0,2],[1,8],[1,4],[2,3],[2,2],[2,-1],[3,-3],[-3,-5],[-3,-2],[-1,-7]],[[2487,5106],[-1,0],[-1,2],[1,5],[2,-2],[1,-2],[-2,-3]],[[2515,5131],[-3,-3],[-2,4],[2,4],[2,2],[1,4],[3,2],[2,-1],[0,-2],[-1,-3],[-2,-2],[-2,-5]],[[2490,5139],[-2,0],[-4,5],[0,6],[2,3],[6,2],[2,-3],[0,-7],[-2,-4],[-2,-1],[0,-1]],[[2460,5157],[-3,-1],[-2,2],[-2,7],[1,2],[5,2],[1,-4],[0,-8]],[[2483,5164],[-1,-2],[-5,2],[-2,4],[1,4],[2,2],[3,-2],[3,-5],[-1,-3]],[[2464,5185],[2,-4],[1,-11],[5,-11],[1,-6],[-1,-3],[1,-1],[2,-4],[2,-5],[-3,-11],[-6,-4],[-7,0],[-1,1],[-2,4],[0,4],[1,3],[3,6],[5,4],[1,4],[-2,4],[-1,7],[-4,5],[-1,15],[-2,1],[-2,-2],[-1,2],[3,6],[3,2],[2,-2],[1,-4]],[[2807,5255],[-1,0],[-1,3],[3,4],[-1,-7]],[[2908,5177],[-2,-2],[-3,-1],[-3,2],[-2,0],[0,-2],[2,-2],[2,-3],[2,-9],[3,-6],[2,-3],[0,-2],[-1,-3],[0,-3],[1,-15],[-3,0],[-1,1],[-1,-1],[-1,-6],[-1,-15],[-2,-12],[-2,-4],[-3,-7],[-4,-10],[-5,-14],[-5,-6],[-3,-5],[-4,-6],[-5,-7],[-5,-5],[-8,-5],[-6,-5],[-4,-2],[-4,-3],[-6,-4],[-2,-4],[-3,-9],[-2,-5],[-2,-4],[0,-3],[1,-1],[0,-2],[-2,-2],[0,3],[-1,3],[-2,0],[0,-2],[-2,-10],[0,-10],[-2,-4],[0,-3],[-2,-5],[0,-3],[-1,-7],[-2,-10],[0,-11],[-2,-4],[-5,-7],[0,-9],[-2,0],[0,-2],[-1,-4],[-1,-1],[-3,2],[-3,0],[-1,1],[-2,6],[-2,4],[-1,5],[-1,8],[-3,5],[-4,-2],[-5,5],[-3,4],[-2,2],[-1,-1],[-3,-6],[-3,-3],[-1,0],[-2,4],[2,4],[2,7],[-3,0],[-1,2],[0,9],[2,2],[2,-1],[2,0],[1,3],[2,2],[0,2],[-1,5],[0,10],[-1,2],[0,5],[-1,2],[0,3],[-1,1]],[[2768,4988],[5,4],[1,3],[2,2],[2,4],[1,4],[3,18],[3,12],[-1,5],[-2,8],[-1,10],[1,4],[-1,2],[-1,-4],[0,-16],[-1,-7],[-2,-2],[-1,1],[1,12],[-1,-2],[-3,-8],[-3,-6],[0,-2],[-1,-3],[-5,5],[-6,13],[-4,3],[-3,5],[0,2],[-1,2],[3,3],[3,4],[0,14],[-2,11],[1,15],[-1,5],[-2,12],[2,6],[6,5],[2,2],[1,10],[1,6],[2,0],[-2,8],[0,4],[4,12],[2,3],[3,6],[3,9],[0,15],[-1,10],[0,11],[1,3],[4,2],[3,3],[1,4],[4,-1],[4,5],[6,3],[10,6],[2,5],[-1,9]],[[5950,6981],[2,-12],[2,-10],[3,-13],[1,-6],[0,-3],[4,-15],[2,-12],[1,-10],[3,-14],[0,-5]],[[5968,6881],[-1,-2],[-3,-10],[-4,-29],[-4,-23],[-1,-15],[-1,-5],[-2,-7],[-3,-8],[-4,4],[-8,13],[-5,12],[-5,8],[-5,10],[-1,7],[0,5],[-3,17],[-6,12],[-4,14],[-2,16],[-2,10],[-3,-3],[0,-4],[-2,-6],[-1,-7],[1,-6],[4,-8],[3,-12],[-1,-11],[1,-4],[4,-8],[2,-9],[4,-10],[5,-14],[5,-9],[3,-4],[2,-5],[0,-17],[3,-10],[1,-5],[3,-4],[1,-5],[1,-8],[2,-23],[3,-5],[7,-31],[7,-19],[3,-14],[5,-18],[10,-38],[5,-12],[2,-6],[4,-6],[5,-7],[-4,1],[-3,-2],[-1,-4],[0,-4],[1,-19],[1,-10],[4,-19],[2,-6],[2,-3],[1,-3],[9,-6],[5,-14],[12,-17],[1,-6]],[[6023,6450],[-9,0],[-18,0],[-18,0],[-19,0],[-18,0],[-18,0],[-18,0],[-19,0],[-14,0],[2,9],[-1,2],[-2,1],[-1,-1],[-3,-10],[-1,-1],[-14,0],[-11,0],[-21,0],[-21,0],[-21,0],[-22,0],[-21,0],[-21,0],[-21,0]],[[5693,6450],[0,26],[0,26],[0,26],[0,26],[0,26],[0,25],[0,39],[0,26],[0,26],[0,39],[0,26],[0,38],[0,39],[0,29],[-2,8],[-1,11],[-2,14],[0,5],[-3,14],[0,4],[5,15],[1,5],[2,13],[-2,9],[-2,15],[0,8],[2,5],[3,5],[2,7],[2,2]],[[5698,7007],[2,-7],[4,-2],[14,7],[16,-7],[8,-2],[14,-5],[8,-10],[2,-1],[6,0],[4,-6],[15,-2],[8,-6],[7,-7],[3,0],[3,2],[9,9],[9,12],[4,2],[4,0],[3,5],[2,6],[5,1],[10,5],[-1,-2],[-9,-6],[4,-1],[8,4],[1,2],[0,5],[1,1],[3,-1],[10,-8],[2,0],[8,5],[2,-2],[5,-10],[-2,1],[-5,8],[-1,-4],[-3,-7],[4,-3],[3,-1],[2,-4],[1,-4],[3,2],[2,4],[-2,6],[3,-2],[6,-9],[2,-2],[2,0],[5,3],[1,-1],[6,4],[2,-5],[5,2],[8,0],[7,3],[8,8]],[[5949,6987],[1,-6]],[[6114,6087],[1,-3],[2,2],[0,2],[4,-4],[0,-3],[-3,0],[-3,1],[-2,-1],[-4,2],[0,4],[2,-2],[1,1],[-2,4],[-2,0],[0,3],[2,2],[-1,3],[2,0],[2,-2],[1,-3],[0,-6]],[[6112,6110],[1,-6],[-3,2],[1,4],[1,0]],[[6176,5901],[-4,12],[-3,6],[-2,3],[-3,3],[-2,9],[-3,9],[-4,7],[-7,11],[-7,13],[-5,15],[-3,7],[-2,2],[-6,5],[-5,6],[-4,6],[-2,1],[-2,0],[-5,-1],[-4,3],[-4,1],[-2,2],[-2,-2],[-5,-2],[-2,0],[-1,4],[-3,5],[-1,0],[-1,-3],[-5,-6],[-9,-3],[-2,0],[-1,3],[-4,10],[-2,2],[-3,1],[-3,6],[-2,3],[-5,-23],[-1,-8],[-2,-10],[-2,1],[-7,17],[-2,-1],[-2,-2],[-2,-7],[-1,-1],[-6,3],[-3,-1],[-4,-2],[-1,-1]],[[6013,6004],[0,17],[-2,23],[0,11],[2,7],[2,6],[3,21],[1,4],[2,12],[1,3],[2,14],[0,19],[2,10],[0,4],[1,9],[0,2],[4,-1],[3,1],[4,0],[1,3],[2,10],[1,2],[3,3],[3,5],[3,1],[2,2],[2,1],[2,0],[2,1],[0,1],[2,0],[0,1],[2,3],[2,5],[0,3],[1,3],[3,7],[2,3]],[[6071,6220],[9,-33],[6,-40],[2,-31],[3,-16],[3,-7],[2,-15],[2,-1],[2,-4],[2,-13],[2,-6],[1,5],[0,2],[-1,5],[1,5],[1,3],[5,-7],[1,-7],[0,-4],[4,-8],[2,-2],[4,-1],[6,-4],[4,-9],[11,-7],[8,-21],[5,-15],[16,-23],[3,-11],[2,-11],[3,1],[6,-12],[2,-9],[4,-3],[1,5],[3,-4],[1,-7]],[[4502,6785],[-3,-9],[-4,4],[0,2],[3,1],[3,4],[1,-2]],[[4571,6805],[0,-5],[1,-4],[0,-7],[-2,-4],[-3,-4],[-3,1],[-4,8],[0,6],[2,4],[1,5],[7,-1],[1,1]],[[4522,6797],[-3,1],[-1,5],[2,5],[1,0],[2,-3],[1,-4],[-2,-4]],[[4545,6818],[-2,-13],[-3,-7],[-4,-2],[-3,9],[-2,8],[-2,3],[2,2],[3,-1],[5,2],[7,9],[5,1],[0,-3],[-6,-8]],[[4605,6806],[-4,-7],[-4,2],[7,7],[2,11],[4,18],[1,2],[3,0],[1,-3],[0,-6],[-1,-10],[-2,-9],[-7,-5]],[[4504,6824],[-1,0],[-1,5],[-3,11],[2,5],[4,0],[2,-7],[-1,-2],[0,-7],[-2,-5]],[[4618,6849],[-2,-4],[-2,1],[1,8],[1,3],[4,4],[3,1],[1,4],[1,1],[1,-2],[-1,-3],[0,-8],[-2,-3],[-5,-2]],[[5043,7411],[-5,0],[0,4],[1,1],[4,-5]],[[5039,7425],[-1,-4],[-5,3],[1,4],[1,1],[1,5],[6,3],[2,-2],[0,-3],[-3,-6],[-2,-1]],[[5086,7475],[3,-2],[3,2],[3,-2],[0,-3],[-1,-4],[-4,-9],[-1,-5],[-2,-3],[-3,-2],[-4,4],[-4,2],[-1,6],[-1,2],[-2,1],[-1,-2],[-3,-3],[-1,3],[-2,3],[0,2],[11,14],[4,3],[7,4],[1,-1],[-1,-3],[1,-3],[-2,-4]],[[5118,7478],[0,-1],[-9,7],[-3,1],[0,6],[6,1],[4,-3],[3,-7],[-1,-4]],[[4949,7683],[0,-2],[2,-3],[3,-2],[2,0],[4,-2],[0,-3],[-2,-5],[0,-3],[3,-1],[0,2],[2,2],[0,-3],[10,-6],[5,0],[0,-2],[5,-7],[1,1],[2,-1],[5,2],[4,-4],[3,-4],[7,2],[1,-2],[3,1],[4,-1],[4,0],[0,7],[1,2],[2,0],[10,-6],[5,-2],[4,-6]],[[5046,7631],[5,-2],[2,-2],[1,-4],[1,0],[5,4],[5,-2],[5,-3],[3,0],[0,3],[4,2],[2,2],[2,0],[7,-2]],[[5088,7627],[3,-8],[-4,-2],[0,-7],[2,-1],[0,-10],[-3,-5],[-4,-5],[-19,-17],[-4,-9],[-2,-2],[-14,-5],[-15,-8],[-6,-9],[-3,-4],[2,-1],[3,-5],[-1,-2],[-4,-3],[-3,-1],[-7,-17],[-6,-13],[-3,-5],[-3,-8],[-7,-20],[0,-6],[3,-21],[2,-5],[3,-5],[5,-3],[2,-4],[-2,-4],[-5,-6],[-10,-9],[-3,-7],[-1,-6],[-3,-3],[-1,-9],[-2,-7],[0,-2],[-2,-4],[0,-4],[3,-4],[-1,-2],[-5,-2],[-11,0],[-9,-10],[-4,-9],[-4,-17],[-5,-9],[-2,-2],[-3,4],[-4,1],[-4,-2],[-2,-3],[-3,-2],[-4,2],[-6,1],[-4,-1],[-4,-2],[-4,1],[-7,1],[-15,-2],[-2,-1],[-2,-4],[-5,-7],[-7,0],[-7,-5],[-4,-11],[-1,-5]],[[4850,7265],[-2,1],[-1,-5],[-4,-3],[-5,4],[-5,5],[-2,1],[-5,13],[-1,6],[0,4],[-3,3],[-1,5],[2,7],[-2,-1],[-2,7],[-11,14],[-1,1],[-2,-1],[-5,0],[-7,-1]],[[4793,7325],[-1,14],[-1,6],[0,3],[1,8],[2,4],[2,7],[3,5],[5,3],[2,8],[-4,-1],[-7,16],[0,3],[2,8],[0,4],[1,3],[3,4],[2,4],[2,9],[-2,3],[-3,1],[-4,12],[-1,8],[-3,4],[-2,6],[2,2],[9,0],[3,2],[3,13],[0,7],[-3,4],[0,4],[4,6],[2,2],[-1,4],[0,12],[1,2],[-1,7],[0,6],[-2,7],[0,2],[4,4],[2,6],[4,5],[4,4],[5,9],[0,4],[-2,3],[-5,1],[-2,1],[0,11],[-2,4],[-6,1],[-1,-1],[-6,1],[-2,1],[-1,-1],[0,-4],[-6,-3],[-3,0],[-5,3],[-5,-1],[-1,1],[-5,-4],[-2,0],[-1,6],[2,5],[-2,7],[-3,-1],[-8,-4],[-5,-6]],[[4755,7599],[-2,-1],[-1,1],[0,9],[3,7],[3,3],[-1,1],[-3,0],[0,3],[3,4],[-2,1],[-1,3],[0,5],[1,2],[-1,2],[-5,-3],[-1,1],[0,4],[3,6],[0,1],[-3,1],[-3,3],[-3,7],[0,3],[2,8],[9,9],[5,-1],[4,1],[3,3],[5,3],[0,4],[-1,2],[1,2],[7,7],[4,1],[4,3],[3,-2],[3,1],[6,-9],[6,-2],[4,2],[8,0],[4,-1],[7,2],[4,-1],[7,3],[5,-3],[9,-2],[6,-3],[16,-5],[6,0],[8,3],[4,2],[3,-1],[5,2],[2,-1],[3,-3],[10,-5],[3,4],[2,1],[8,-2],[7,-5],[4,0],[6,1],[4,3],[1,0]],[[5627,8560],[2,-2],[4,2],[4,-1],[9,-7],[1,-2],[-6,-1],[-2,-4],[-2,0],[-2,-3],[-4,-3],[-1,-2],[-6,1],[-4,-1],[-2,-4],[-4,-11],[-2,-2],[-2,0],[-1,2],[6,11],[-2,1],[-6,5],[-1,2],[2,1],[2,4],[-4,7],[2,1],[4,-2],[3,2],[2,-1],[2,4],[6,3],[2,0]],[[5647,8556],[-2,-1],[-5,4],[2,4],[5,-2],[1,-4],[-1,-1]],[[5636,8572],[-3,-3],[-2,2],[-3,-6],[-3,-1],[-2,1],[0,2],[-2,7],[-2,2],[-4,0],[-3,2],[11,2],[3,6],[2,1],[2,-1],[0,-4],[5,-1],[2,-4],[1,-5],[-2,0]],[[5777,8609],[2,-1],[2,-5],[-3,-2],[-1,-2],[-3,-1],[-1,-5],[-3,-8],[-4,-7],[-3,-3],[-2,-6],[0,-3],[3,-17],[0,-3],[-2,-6],[3,-8],[3,-12],[3,-4],[-7,-4],[-1,-4],[-3,-3],[-1,-3],[0,-5]],[[5759,8497],[-5,0],[-6,4],[-4,-1],[-8,-3],[-7,4],[-2,4],[-5,7],[-1,3],[-6,1],[-2,3],[-4,2],[-6,5],[-2,1],[-1,-3],[-4,4],[-5,-4],[-4,-1],[-9,-4],[-2,-3],[-1,1]],[[5675,8517],[0,2],[3,11],[1,9],[2,3],[-1,2],[-5,2],[-1,-3],[-5,-4],[-3,3],[-7,3],[-2,4],[0,4],[-4,4],[-1,5],[1,3],[3,2],[1,2],[-5,0],[0,2],[-2,6],[2,5],[-1,1],[1,5],[0,5],[4,3],[4,1],[8,1],[-1,5],[3,0],[6,6],[6,-1],[8,4],[16,0],[2,2],[-1,2],[1,2],[7,0],[19,-4],[5,0],[6,-5],[3,-1],[10,0],[16,-3],[3,4]],[[6191,5817],[0,-2],[-1,-4],[-2,-3],[-4,-13],[0,-3],[2,-4],[2,-14],[1,-3],[2,-4],[3,-7],[1,-5],[3,-3],[1,-6],[3,-9],[2,-8],[5,-8],[2,0],[5,-11],[5,-8],[1,-1],[8,-5],[9,-7],[7,-5],[18,-12],[21,-14],[17,-12],[2,-2],[18,0],[10,0]],[[6332,5644],[-7,-14],[-8,-15],[-8,-17],[-5,-10],[-9,-17],[-7,-13],[-7,-16],[-6,-13],[-9,-19],[-5,-12],[-8,-20],[-6,-12],[-8,0],[-8,1],[-10,1],[-3,-1],[-10,-5],[-11,-11],[-3,-5],[-3,-7],[-1,-5],[-2,-3],[-13,-5],[-3,-1],[-6,-3],[-3,-7],[-1,-3]],[[6162,5412],[-11,0],[-3,-1],[-1,-1],[-3,0],[-2,2],[-2,1],[-6,12],[-3,4],[-6,-5],[-6,-6],[-9,-7],[-4,-6],[-2,-5],[-4,-11],[-3,-6],[-1,-1],[-8,2],[-2,1],[-5,1],[-6,2],[-4,3],[-4,0],[-6,1],[-4,1],[-4,6],[-10,14],[-6,7],[-6,8],[-7,9],[-2,1],[-8,1],[-8,0],[-5,1],[-3,3],[-1,6],[-2,5],[-3,6],[0,8],[1,9],[0,10],[-1,4],[-8,4],[-1,0],[-1,-2],[-2,-1],[-2,3],[0,3],[1,2]],[[5979,5500],[-1,1],[-2,4],[-3,5],[-2,11],[-1,10],[-2,7],[-1,8],[-4,21],[-2,3],[-2,4],[-2,7],[-6,6],[-6,12],[-1,5],[0,4],[-1,4],[-2,4],[-7,9],[-4,2],[-4,1],[-4,2],[-4,4],[-2,3],[0,4],[1,5],[3,13],[2,8],[1,2],[4,1],[4,0],[2,-1],[4,0],[5,1],[2,2],[2,6],[0,36],[-1,12],[1,2]],[[5946,5728],[0,3],[1,13],[1,7],[0,4],[4,15],[0,4],[-1,16],[2,7],[2,8],[2,3],[2,2],[6,-8],[3,4],[1,3],[0,6],[1,11],[0,7],[1,8],[2,12],[0,7],[1,4],[4,8],[3,11],[3,9],[4,13],[3,8],[3,1],[5,1],[3,1],[0,2],[1,3],[0,16],[2,11],[1,7],[1,4],[2,3],[1,6],[1,13],[0,8],[2,15]],[[5600,8645],[-3,0],[-1,3],[4,1],[0,-4]],[[5605,8647],[-2,-2],[-1,4],[2,2],[2,0],[-1,-4]],[[5615,8661],[3,-2],[2,1],[2,-3],[-3,-2],[1,-6],[-3,0],[-2,4],[-3,3],[3,5]],[[5610,8659],[-2,-1],[-3,3],[1,2],[4,-4]],[[5595,8670],[-1,-3],[-3,0],[-2,2],[-1,5],[2,2],[1,-2],[4,-4]],[[5588,8826],[2,-1],[2,2],[2,-1],[-3,-5],[-5,2],[-1,5],[4,0],[-1,-2]],[[5689,8927],[-4,-2],[-3,1],[0,4],[5,2],[3,-3],[-1,-2]],[[5804,9159],[-12,-6],[-4,-1],[1,-2],[7,0],[2,-2],[0,-4],[-8,-13],[0,-3],[2,-8],[4,-9],[18,-7],[5,-8],[8,-10],[5,-4],[-1,-8],[-11,-13],[-9,-13],[-4,-7],[-1,-5],[7,-11],[4,-10],[3,-5],[1,-5],[3,-7],[3,-3],[3,-5],[0,-4],[5,-14],[0,-6],[-10,-2],[-1,-1],[3,-3],[-2,-6],[-1,-7],[-2,-7],[5,-1],[0,-6],[-3,-1],[-3,-5],[1,-5],[4,-6],[8,-2],[2,-7],[-4,-5],[1,-7],[2,-4],[8,-5],[4,-5],[0,-7],[-3,-7],[-6,-9],[-6,-3],[0,-1],[12,-13],[6,-5],[15,-12],[4,-8],[5,-7],[1,-4],[-3,-6],[-1,-5],[-3,-7],[-3,-5],[-7,-9],[-10,-11],[-2,-4],[-5,-6],[-8,-12],[-3,-2],[-6,-10],[-6,-6],[-7,-9],[-7,-6],[-7,-7],[-2,-3],[-3,-2],[-4,-4],[-7,-9],[-10,-12]],[[5771,8670],[-3,-2],[-6,-2],[-7,5],[-4,-2],[-3,-3],[-7,-1],[-5,-2],[0,8],[2,3],[-1,1],[-2,-4],[-1,-5],[-2,-2],[-5,-1],[-5,4],[-2,0],[2,-6],[0,-2],[-2,0],[-6,-4],[-2,3],[-3,-1],[-3,-3],[-5,0],[-3,-4],[-6,-2],[-3,0],[-7,-2],[-2,-4],[-2,-2],[-3,2],[-9,-2],[-8,-3],[-4,0],[-3,1],[-4,-3],[-4,-5],[-6,-1],[1,3],[3,2],[2,4],[-1,4],[-2,0],[-5,9],[-1,-1],[-1,-5],[-2,-3],[-2,-1],[-6,0],[-1,2],[1,8],[3,0],[0,3],[-2,0],[2,6],[-1,1],[-8,1],[-9,6],[-2,0],[-1,5],[-3,0],[-3,-3],[-5,4],[0,5],[-1,4],[0,5],[-1,7],[1,5],[3,7],[1,6],[0,7],[-1,5],[2,0],[-2,4],[3,1],[-4,14],[-2,5],[-4,5],[2,7],[1,6],[-1,7],[-4,4],[-2,12],[1,7],[9,12],[0,5],[5,0],[-2,5],[-1,5],[8,2],[2,-2],[6,2],[6,4],[-2,7],[4,3],[4,5],[0,4],[6,2],[7,8],[7,5],[7,8],[2,0],[2,5],[6,7],[2,1],[2,7],[7,7],[5,10],[2,3],[1,4],[3,0],[2,3],[6,2],[9,-2],[-1,5],[4,4],[-1,5],[-3,2],[2,6],[0,7],[1,7],[-3,4],[-11,6],[-5,1],[-2,5],[1,4],[-1,2],[-5,-5],[-7,2]],[[5670,8974],[-3,10],[-4,9],[-4,3],[-2,3],[0,13],[5,6],[1,8],[2,7],[-3,6],[-5,7],[-2,7],[1,5],[3,2],[-1,7],[-2,1],[-5,0],[-1,1],[3,7],[-2,12],[1,5],[4,4],[-5,4],[-4,6],[-4,1],[-2,7],[-4,3],[-5,5],[-22,7],[-8,5],[-7,5],[-1,2],[-5,3],[-2,3],[-7,4],[-1,4],[-7,4]],[[5572,9160],[1,2],[6,0],[5,-2],[2,2],[-2,6],[2,4],[9,2],[5,-1],[5,-7],[16,-21],[0,-4],[3,0],[16,-2],[2,-2],[5,0],[10,4],[5,5],[4,0],[9,-5],[10,-3],[3,-3],[4,-1],[4,3],[2,7],[5,6],[6,1],[5,6],[1,5],[-1,9],[3,8],[4,16],[9,8],[7,8],[10,0],[5,-1],[7,3],[6,5],[9,1],[4,-5],[6,-6],[4,-3],[20,-9],[6,-11],[-3,-5],[-6,-6],[-5,-6],[1,-7],[3,-2]],[[9957,4090],[-1,-2],[-3,-2],[-2,3],[-2,-4],[-1,-1],[0,-2],[-1,0],[-3,-2],[-2,2],[2,3],[2,0],[3,6],[2,0],[1,2],[3,-1],[2,-2]],[[5,4092],[-1,-1],[0,-2],[-1,0],[0,3],[1,1],[1,-1]],[[9980,4141],[-2,4],[0,3],[1,2],[2,-7],[-1,-2]],[[28,4148],[-2,-1],[-1,3],[1,1],[2,-3]],[[48,4149],[-1,0],[-2,2],[1,3],[2,-3],[0,-2]],[[9966,4162],[-1,-1],[-1,4],[1,3],[1,0],[1,-3],[-1,-3]],[[9951,4183],[0,-3],[1,-1],[2,-5],[5,-7],[0,-6],[1,-5],[0,-6],[1,-8],[-1,-2],[-4,0],[0,-1],[-4,0],[-5,-7],[-2,0],[-3,-1],[-3,1],[-2,2],[-4,2],[-5,2],[-4,4],[-2,6],[0,3],[1,3],[2,3],[0,2],[2,2],[-1,4],[0,3],[6,10],[6,4],[3,-1],[5,4],[2,1],[2,-1],[1,-2]],[[9982,4183],[-1,6],[2,-1],[0,-2],[-1,-3]],[[28,4188],[0,4],[-1,2],[0,2],[2,-2],[0,-4],[-1,-2]],[[9922,4196],[-2,-1],[1,4],[1,2],[1,0],[0,-3],[-1,-2]],[[9999,4206],[-3,-2],[0,2],[1,5],[2,5],[-1,-4],[1,-6]],[[0,4216],[2,5],[1,1],[1,-4],[-1,-5],[-3,-5],[0,8]],[[0,4234],[2,3],[0,-3],[-1,-1],[-1,-2],[0,3]],[[9998,4252],[-4,-8],[-2,-8],[-4,-5],[-2,-6],[1,-6],[3,6],[4,6],[1,1],[1,-2],[0,-2],[-1,-5],[1,-4],[-5,0],[-4,-3],[-3,-1],[-2,0],[-2,2],[0,3],[-1,1],[-3,0],[-4,-6],[-1,-5],[-2,0],[-2,1],[-2,-4],[-2,-2],[-2,4],[0,4],[-1,3],[-3,0],[0,4],[2,3],[0,3],[3,-3],[2,2],[1,0],[2,6],[6,6],[4,1],[4,2],[3,5],[4,4],[3,1],[3,-1],[5,4],[-1,-1]],[[9919,4463],[-2,-1],[-1,2],[1,1],[2,-1],[0,-1]],[[3341,2175],[-2,-1],[-1,2],[0,4],[3,-2],[0,-3]],[[3376,2188],[0,-6],[-2,2],[-1,3],[3,1]],[[3304,2201],[4,-1],[-2,-9],[-2,0],[-3,6],[3,4]],[[3325,2219],[4,-1],[3,4],[5,1],[1,-3],[3,0],[9,5],[3,-4],[-1,-3],[-2,-2],[-2,-4],[-4,-5],[-4,-8],[-5,-9],[-2,-1],[-7,0],[-3,-9],[-3,-1],[-2,-2],[-5,0],[-7,8],[5,6],[5,0],[4,4],[3,2],[1,3],[2,1],[-1,4],[-6,-3],[-3,3],[9,3],[1,1],[-2,3],[-3,2],[-3,4],[0,7],[7,-6]],[[3329,2223],[-3,0],[-1,2],[0,5],[3,0],[3,-2],[-2,-5]],[[3364,2230],[5,-3],[5,1],[2,-1],[2,-3],[-1,-2],[-3,-1],[1,-5],[6,-3],[-1,6],[1,3],[8,2],[1,-1],[3,-7],[-3,-1],[-1,-3],[3,-1],[2,-2],[-1,-4],[-9,-3],[-2,-4],[-3,-2],[-10,-4],[1,-4],[0,-6],[-13,6],[-2,-1],[3,-9],[-2,-1],[-3,1],[-2,-1],[-2,-7],[-4,5],[-3,5],[0,4],[3,6],[-1,2],[8,9],[3,4],[4,1],[-1,2],[0,9],[5,8],[0,5],[1,0]],[[5262,7649],[0,-11],[2,-4],[0,-24],[-4,-12],[0,-11],[-2,-6],[-2,-10],[-2,-4],[-8,8],[-2,4],[0,2],[2,2],[0,2],[-5,4],[1,6],[0,3],[-4,0],[0,2],[3,5],[0,3],[-2,1],[-2,6],[3,4],[-1,3],[-2,1],[2,4],[2,7],[3,3],[5,3],[4,5],[4,-3],[1,2],[0,13],[1,4],[2,0],[1,-2],[0,-10]],[[4966,7827],[-1,-5],[-4,9],[2,2],[3,-6]],[[5160,8037],[1,-2],[2,-1],[3,-3],[2,1],[1,2],[3,0],[3,-2]],[[5194,7829],[-2,-4],[-4,-3],[0,-6],[2,-2],[4,-10],[4,-6],[-1,-3],[-1,-6],[-3,-1],[-4,-5],[-4,1],[-2,-2],[0,-3],[2,-2],[1,-3],[0,-3],[2,-3],[4,-1],[1,-2],[1,-8],[-2,0],[0,-3],[-3,-7],[1,-3],[0,-4],[1,-3],[2,-3],[5,-5],[6,-4],[7,2],[1,-3],[0,-4],[-4,-7],[-1,-3],[0,-6]],[[5207,7704],[-1,-1]],[[5206,7703],[-2,1],[0,-2]],[[5204,7702],[-6,-4],[-8,-13],[-4,-3],[-2,-7],[-3,-4],[-7,-3],[-5,-4],[-3,2],[-6,0],[-3,4],[-8,3],[-2,7],[-6,0],[-1,1],[0,5],[-5,-1],[-1,-2],[-2,-1],[-4,0],[-7,4],[-5,2],[-4,6],[-4,-2],[-4,-5],[-14,-16],[-3,-6],[-3,-10],[0,-4],[1,-15],[3,-7],[0,-2]],[[4949,7683],[5,2],[4,7],[4,27],[2,31],[2,6],[3,1],[-2,5],[-1,-3],[-2,-3],[2,29],[1,10],[2,11],[4,-4],[5,-9],[2,-12],[1,-1],[-2,17],[-4,9],[-9,10],[-1,4],[5,-2],[-1,4],[-1,7],[-1,16],[1,2],[-1,4],[-7,2],[-11,9],[-3,10],[-4,7],[-1,4],[0,3],[2,7],[-2,4],[-2,1],[-1,2],[2,6],[3,0],[1,2],[-10,-2],[-5,2],[0,4],[3,6],[-4,3],[-3,0],[-3,-1],[-1,1],[2,4],[-1,1],[-5,-1],[-3,1],[-3,4],[-3,0],[-1,2],[-4,-1],[-1,3],[-11,5],[-5,0],[-4,-2],[-3,1],[-2,3],[-1,5],[-7,4],[1,3],[7,2],[2,3],[-3,3],[-3,1],[-1,3],[5,0],[4,1],[-1,2],[-2,1],[-10,0],[-1,3],[1,7],[5,5],[13,5],[6,-1],[4,1],[5,3],[2,3],[6,1],[7,-2],[5,-11],[3,-4],[7,6],[10,0],[2,-3],[1,3],[2,3],[2,-1],[0,-3],[11,1],[-3,9],[-1,23],[-3,7],[-5,16],[0,5],[5,0],[3,-1],[6,2],[3,-1],[0,-5],[1,-6],[2,-6],[5,0],[6,-2],[7,0],[9,-3],[5,2],[4,4],[8,2],[0,2],[-4,-1],[-4,3],[-1,3],[1,2],[1,6],[12,9],[9,3],[9,5],[4,5],[4,9],[1,1],[-1,2],[1,26],[2,8],[7,6],[15,5],[2,1]],[[3482,5317],[0,1],[2,0],[2,4],[2,3],[4,15],[2,6],[0,20],[3,10],[2,6],[0,10],[-1,0],[-1,5],[-1,3],[-4,8],[-3,9],[1,5],[-2,3],[0,8],[-1,5],[0,16],[-1,3],[0,9],[1,3],[0,3],[3,10],[2,6],[3,4]],[[3495,5492],[2,3],[2,15],[2,6],[2,0],[11,-12],[5,-1],[11,-7],[3,-9],[9,-14],[5,-5],[0,-4],[-1,-6],[3,5],[4,-8],[3,-12],[-1,-5],[1,-1],[1,2],[0,5],[1,6],[1,0],[2,-3],[2,-17],[1,-3],[0,-10]],[[4813,8722],[-2,1],[-3,5],[-1,4],[4,-2],[2,-5],[0,-3]],[[4815,8743],[-1,-2],[-6,5],[0,3],[6,-3],[1,-3]],[[4799,8762],[4,-3],[-2,-2],[-4,0],[-3,2],[-1,3],[5,1],[1,-1]],[[4815,8768],[-1,-8],[-5,2],[4,-10],[-3,1],[-6,7],[-4,11],[6,2],[4,-3],[5,-2]],[[4821,8769],[-1,-4],[-3,1],[2,5],[2,-2]],[[9526,5490],[0,-3],[-2,2],[1,2],[1,-1]],[[9396,5576],[-1,-2],[-2,1],[-1,5],[-1,1],[0,2],[2,2],[3,-1],[1,-4],[-1,-2],[0,-2]],[[9211,5606],[-1,1],[0,2],[1,0],[0,-3]],[[9218,5611],[-1,0],[0,2],[1,0],[0,-2]],[[8836,5731],[0,4],[1,1],[1,-3],[-1,-2],[-1,0]],[[5265,5243],[2,1],[2,2],[1,-1],[1,-4],[3,-2],[1,0],[1,2],[10,0],[15,0],[13,0],[0,43],[0,24]],[[5308,4958],[-3,5],[-2,9],[-8,16],[-2,6],[-7,16],[-9,15],[-7,13],[0,3],[7,-7],[1,2],[-2,4],[-3,3],[-3,1],[-2,0],[-2,3],[-1,4],[0,4],[-1,4],[-4,8],[-2,7],[4,-4],[1,2],[-1,2],[-4,4],[-2,0],[0,6],[-3,11],[-3,9],[0,4],[8,-19],[2,0],[4,2],[-1,3],[-2,2],[-1,-1],[-2,0],[-1,1],[0,2],[2,9],[-1,0],[-2,-3],[-1,0],[-4,5],[-4,13],[-1,2],[0,5],[-1,2],[-4,18],[1,-1],[2,-6],[3,2],[2,3],[2,0],[2,3],[4,13],[1,17],[0,10],[-1,10],[2,1],[1,-4],[0,-2],[2,-3],[3,0],[6,-6],[1,5],[5,4],[-2,1],[-4,-2],[-7,6],[-2,4],[-2,7],[-2,4],[0,3],[5,4],[1,-1],[0,-3],[2,-2],[0,12],[-1,12],[0,3]],[[4969,8103],[-2,-2],[-1,-3],[-3,-1],[-6,5],[0,2],[4,1],[2,3],[4,-2],[2,-3]],[[4882,8255],[4,-4],[-4,-2],[-4,-5],[-3,2],[-2,5],[-1,7],[3,2],[4,0],[3,-5]],[[4826,8299],[-2,0],[-3,-2],[-7,0],[0,7],[-4,2],[-2,5],[0,2],[-4,4],[-1,0],[-4,-6],[1,-4],[-4,-4],[0,-2],[-3,1],[-4,-1],[-3,3],[-5,2],[-1,4],[-6,7],[-1,4],[10,6],[1,2],[-5,4],[1,2],[4,0],[4,2],[3,4],[1,3],[1,7],[1,2],[5,4]],[[4799,8357],[1,-3],[2,0],[2,2],[2,6],[7,0],[6,3],[10,-1],[2,-4],[2,-7],[3,-7],[4,-5],[0,-4],[-2,-5],[6,0],[3,-6],[0,-7],[-4,6],[-2,0],[1,-4],[0,-5],[3,-1],[-2,-6],[-6,-2],[-1,-4],[-2,-4],[-2,-2],[-3,0],[-3,2]],[[4857,8377],[-3,0],[-3,2],[-2,8],[2,5],[2,1],[3,-3],[1,-6],[0,-7]],[[4829,8405],[2,-14],[-1,-2],[-5,-3],[0,4],[-2,6],[-4,-5],[0,7],[4,4],[1,-1],[5,4]],[[4833,8398],[-2,0],[-1,5],[3,5],[1,3],[5,5],[1,0],[-2,-7],[-5,-11]],[[4839,8429],[-12,-4],[-3,1],[0,2],[3,1],[1,8],[-5,5],[1,2],[3,2],[2,0],[3,-2],[2,-4],[3,-1],[2,-2],[0,-8]],[[4793,8464],[-3,0],[0,3],[3,-1],[0,-2]],[[4825,8464],[-2,0],[-3,3],[3,2],[2,-1],[0,-4]],[[4798,8473],[-3,0],[-2,4],[0,11],[3,1],[1,-1],[1,-15]],[[4828,8495],[0,-8],[2,-4],[6,-1],[5,0],[1,-3],[-4,-4],[-3,-5],[-3,-1],[-1,9],[-3,-1],[-5,1],[-3,7],[-6,2],[-3,6],[2,2],[3,0],[-1,4],[7,2],[0,4],[2,0],[4,-5],[0,-5]],[[4799,8506],[3,-4],[-2,-5],[-4,0],[-6,4],[2,3],[4,1],[1,-1],[2,2]],[[4827,8545],[-4,-10],[-1,0],[-2,-6],[1,-4],[-8,-6],[-3,-5],[-1,0],[-3,-4],[-2,0],[-2,3],[4,3],[0,2],[2,2],[-5,4],[1,4],[-2,1],[0,5],[2,3],[2,0],[2,-2],[4,0],[-2,5],[2,3],[5,3],[7,6],[2,1],[1,-4],[0,-4]],[[4913,8554],[0,-6],[-3,-5],[-6,-5],[-10,-11],[-6,-5],[-1,-3],[0,-4],[5,-1],[-6,-9],[-2,-5],[4,0],[4,1],[6,4],[6,2],[3,0],[6,-2],[4,1],[20,0],[4,1],[4,-2],[2,-3],[3,-8],[-5,-7],[-3,-9],[0,-3],[-6,-16],[-4,-8],[-2,-6],[-5,-7],[-11,-3],[-1,-4],[6,1],[6,-5],[0,-4],[-3,-3],[-6,0],[-5,-7],[-5,-3],[8,-4],[1,0],[5,4],[7,0],[12,-7],[4,-5],[5,-8],[5,-6],[4,-18],[2,-13],[4,-15],[4,-7],[11,-6],[2,-2],[9,-13],[8,-10],[-4,-5],[1,-5],[5,-11],[1,-6],[-3,0],[-3,2],[-2,3],[-6,-1],[0,-1],[5,0],[12,-13],[4,-8],[2,-10],[-2,-4],[-7,-10],[7,-6],[3,1],[3,6],[2,2],[4,1],[6,-2],[3,1],[6,-2],[3,-2],[8,-8],[2,-5],[0,-5],[1,-7],[-2,-5],[-2,-12],[-2,-5],[-6,-7],[-3,1],[1,-7],[-2,-3],[-2,-1],[-4,1],[-6,-4],[4,-2],[1,-3],[-1,-4],[-3,-2],[-6,-1],[2,-7],[1,-1],[6,-1],[14,0],[0,-11],[-1,-1],[-9,-6],[-2,-5],[0,-2],[-6,0],[-2,-3],[-7,-4],[-6,-3],[-12,3],[-7,0],[-9,-3],[-6,3],[-3,2],[-5,1],[-1,-3],[-5,-4],[-2,-1],[-3,1],[-5,-2],[-4,1],[0,-3],[2,-3],[-3,-1],[-8,2],[-2,0],[-1,-2],[-3,1],[-3,3],[-3,2],[-4,1],[-2,-1],[-12,-4],[-2,-5],[-1,-7],[-4,-11],[-3,-1],[-3,4],[-6,3],[-2,3],[-3,-2],[-3,0],[-3,-1],[-9,-5],[-6,-7],[-2,-6],[-3,-1],[-3,4],[-3,1],[-3,-1],[-2,-2],[-1,2],[0,3],[2,4],[7,2],[5,8],[3,4],[1,3],[3,2],[1,3],[8,11],[0,3],[1,4],[0,5],[7,2],[3,10],[9,2],[7,0],[6,-2],[4,0],[3,1],[3,2],[6,13],[2,6],[-7,-2],[-8,-8],[0,-1],[-8,2],[-9,10],[-6,-2],[-4,1],[4,5],[-5,1],[-3,3],[-4,1],[-5,-4],[-5,-3],[-6,4],[-2,2],[0,7],[-2,2],[2,4],[8,5],[14,9],[5,4],[2,3],[2,9],[2,4],[-2,3],[1,6],[-2,7],[0,5],[-7,-1],[-6,-5],[-3,0],[1,5],[3,4],[4,3],[3,7],[5,5],[8,4],[1,1],[4,-1],[6,3],[3,0],[6,-5],[-2,8],[3,2],[0,9],[4,8],[-2,1],[-2,6],[1,3],[3,3],[2,10],[-1,3],[-8,-3],[-7,10],[-4,10],[-1,5],[4,12],[5,8],[-4,3],[-4,-1],[-4,-4],[-2,0],[-3,-4],[-7,-2],[-2,4],[-3,0],[-2,-3],[-3,-2],[-9,5],[-2,-4],[0,-5],[-4,4],[-4,9],[0,4],[2,2],[2,-1],[2,9],[5,12],[2,3],[1,5],[-1,6],[-5,5],[0,5],[2,9],[4,2],[-5,5],[-2,-2],[-4,-2],[-1,-2],[-4,-1],[0,4],[2,7],[-3,-2],[-3,-4],[-1,-3],[1,-1],[1,-7],[-1,-3],[-4,-22],[-2,-4],[-3,0],[-1,2],[0,5],[2,10],[2,6],[3,4],[-3,0],[0,15],[2,5],[0,6],[2,6],[2,9],[2,3],[0,3],[4,8],[-1,0],[-12,-13],[-6,2],[-2,3],[-1,5],[-4,1],[2,3],[5,1],[4,4],[-4,3],[4,3],[4,8],[1,8],[-3,6],[-4,2],[-1,4],[4,5],[-2,8],[4,12],[7,0],[2,2],[3,0],[-6,8],[1,5],[0,4],[1,2],[7,0],[2,1],[-2,5],[0,10],[2,3],[2,1],[5,-2],[1,-3],[6,4],[2,-3],[7,2],[9,1],[5,2],[11,2],[6,0],[-1,-7]],[[4911,8570],[-3,-1],[-3,3],[0,4],[3,0],[3,-6]],[[4914,8583],[0,-1],[7,-1],[1,-2],[-1,-4],[-2,0],[-3,3],[-5,-1],[-2,1],[0,4],[-3,-2],[0,5],[1,4],[2,1],[5,-3],[1,-2],[-1,-2]],[[4928,8595],[-3,0],[2,3],[5,1],[0,-2],[-4,-2]],[[4923,8592],[-3,0],[0,4],[-5,2],[-1,2],[2,2],[4,-4],[1,-3],[2,0],[0,-3]],[[4963,8670],[0,-4],[2,1],[2,-4],[2,-2],[-1,-10],[-1,-5],[-1,0],[0,-6],[-2,-2],[-1,-5],[-2,1],[3,12],[-2,4],[-4,-1],[-1,4],[-3,-1],[-1,3],[4,1],[4,2],[-2,8],[-4,2],[5,6],[3,0],[0,-4]],[[4970,8669],[-1,-1],[-2,6],[2,7],[2,-1],[-1,-3],[0,-8]],[[4977,8686],[-1,-7],[-3,0],[0,6],[4,1]],[[6206,7551],[-1,4],[-2,1],[-2,-1],[-2,1],[-2,4],[1,1],[-3,4],[-4,7],[-3,1],[-1,4],[-2,2],[-4,-2],[-1,-5],[-1,-2],[-8,3],[-8,0],[-2,-3],[-2,0],[-2,2],[-3,1],[-2,2]],[[6152,7575],[5,10],[2,7],[0,9],[-3,10],[-2,14],[-3,15],[-2,5],[-8,5],[-2,6],[-6,8],[-10,4],[-8,10],[-6,6]],[[6109,7684],[2,4],[1,4],[2,1],[10,-3],[4,1],[4,-3],[4,-4],[4,-2],[8,-3],[6,-6],[13,-2],[6,2],[4,0],[4,-4],[3,0],[3,1],[3,-2],[3,-3],[0,-2],[3,-4],[7,-5],[6,-3],[7,-7],[-2,-4],[0,-3],[2,-2],[4,0],[1,2],[3,1],[3,2],[3,3],[5,3],[4,-1],[4,-7],[2,7],[10,-5],[3,-7],[7,0],[4,-3],[-1,-7],[-2,-7],[1,-2],[7,-7],[1,-3],[6,-2],[2,0],[1,-2],[5,-4]],[[4929,8034],[-1,-4],[-2,2],[2,3],[1,-1]],[[4913,5479],[2,0]],[[4997,5824],[2,-4],[0,-9],[-2,-6],[-1,-5],[1,-2],[0,-2],[3,-4],[1,-3],[2,-4],[5,-8],[2,-1],[-1,-3],[0,-23],[-1,-2],[0,-8],[-2,0],[1,-5],[-1,-2],[0,-3],[-1,-2],[2,-1],[2,3],[1,0],[4,-5],[0,-3],[-1,-8],[-1,-6],[0,-8],[1,-4],[0,-3],[-1,-2],[-3,-3],[1,-2],[2,-9],[4,-5],[2,-7],[0,-3],[-2,-6],[-1,-4],[1,-24],[-3,-10],[0,-6],[1,-3],[1,0],[2,-2],[-1,-7],[0,-8],[-1,-5],[-1,-2],[0,-10],[2,-3],[2,-9],[1,-1],[0,-7],[5,-7],[2,-1],[2,-6],[1,-2],[3,-2],[0,-3]],[[5032,5534],[-2,-2],[-2,-3],[-1,-6],[-2,-5],[-5,-3],[-14,0],[-11,-11],[-6,-4],[-3,-6],[-6,-4],[-3,-6],[-8,-2],[-16,-12],[-3,-6],[-7,-6],[-2,0],[-5,6],[-4,3],[-9,5],[-6,2],[-4,2]],[[4763,5619],[-2,3],[0,3],[-1,1],[-2,0],[-1,-2],[0,-3],[-1,-3],[0,-3],[-1,-2],[-2,-8],[-1,-3],[-2,0],[0,-1],[-2,-2],[-2,0],[-2,4],[-2,5],[-3,2],[-1,-1],[-2,1],[0,2],[2,4],[0,3],[1,4],[0,4],[-2,9],[0,6],[-1,3],[0,8],[-1,1],[0,10],[-1,2],[-2,1],[-1,2],[0,2],[-1,1],[-1,-1],[-1,4],[-1,-1],[-8,-5],[0,4],[-2,1],[-2,-2],[-2,0]],[[4713,5672],[-2,1],[-1,-1],[-3,-7],[-1,-3],[-2,0],[-2,3],[0,2],[2,8],[3,7],[0,2],[-1,4],[-2,6],[0,11],[-3,1],[-1,3],[2,8],[0,3],[-2,4],[-3,7],[-2,9],[-3,7],[-2,3],[-2,5],[0,3],[-2,1],[-18,0],[0,-4],[-6,-3],[-4,3],[-4,-2],[-2,-2],[-2,-9],[-1,-2],[0,-2],[-1,-2],[0,-2],[-3,-11],[-2,-4],[-4,-2],[-1,-7],[-2,-4],[-2,-2],[-3,2],[-1,-1]],[[4630,5705],[0,9],[-3,6],[0,2],[-1,4],[-4,7],[-3,0],[1,5],[0,8],[-2,5],[1,4],[-1,0],[-1,-3],[-2,1],[-4,4],[-2,9],[0,1],[-4,0],[-7,7],[-5,17],[0,4],[1,8],[-3,-4],[0,3],[-2,7],[0,4],[-2,2],[-3,-1],[-1,-8],[-2,1],[0,6]],[[4581,5813],[3,8],[5,19],[1,5],[1,1],[2,0],[5,3],[3,4],[2,2],[4,-1],[4,1],[7,4],[0,13],[-1,3],[-3,5],[-2,5],[0,2],[2,3],[3,0],[1,1],[1,6],[0,5],[-1,7],[0,4]],[[4618,5913],[9,0],[1,-1],[4,-1],[4,0],[0,-8],[2,0],[2,2],[8,-8],[3,-1],[2,0],[2,-2],[3,-1],[3,3],[8,2],[2,-1],[7,2],[3,0],[2,-1]],[[4683,5898],[-1,-2],[-2,-7],[0,-5],[2,-4],[3,-5],[3,1],[5,10],[2,0],[2,-3],[2,-7],[2,-6],[1,-1],[2,2],[4,11],[3,3],[1,0],[2,2],[3,-2],[4,-4],[5,-4],[2,-1],[1,1],[2,6],[5,5],[3,1],[1,2],[0,5],[-2,4],[0,1],[3,2],[5,-3],[2,-2],[1,-4],[2,-13],[3,-11],[0,-14],[1,-2],[1,0],[1,-2],[1,-5],[6,-6],[2,-3],[0,-2],[-1,-2],[-3,-4],[-4,-11],[0,-2],[2,-1],[4,4],[2,-1],[2,-5],[0,-19],[1,-8],[1,-2],[7,-7],[0,-3],[1,-2],[-1,-4]],[[4539,5966],[16,0],[13,0],[3,8],[4,4],[4,1],[5,-2],[5,-6],[5,-3],[2,-4],[3,-3],[2,-1],[1,1],[3,1],[1,1],[5,0],[3,-3],[1,-4],[-1,-5],[-4,-2],[-7,-3],[-5,2],[-7,4],[-3,4],[-2,1],[-2,2],[-2,3],[-4,2],[-1,-1],[-1,-3],[0,-3],[-2,-2],[-10,-2],[-4,-2],[-1,-10],[-22,0],[-2,-2],[-2,-3]],[[4533,5936],[0,5],[-1,11],[2,5],[2,2],[2,-2],[0,-4],[1,-3],[4,-2],[4,1],[2,-1],[0,3],[1,3],[5,2],[5,1],[5,2],[4,-1],[1,2],[-3,1],[-8,-2],[-8,-1],[-6,-6],[-3,0],[-2,6],[-1,8]],[[4557,5822],[0,-2],[-1,0],[0,8],[1,-2],[0,-4]],[[4551,5820],[-2,-1],[-1,4],[2,1],[2,4],[1,0],[0,-6],[-2,-2]],[[4562,5829],[0,-2],[-1,0],[0,5],[1,2],[2,0],[0,-2],[-2,-3]],[[4557,5844],[-1,-2],[-2,2],[0,3],[2,4],[1,0],[0,-7]],[[4567,5848],[0,-2],[-2,2],[2,4],[2,1],[0,-3],[-2,-2]],[[4555,5868],[-1,-7],[-2,0],[-1,5],[3,2],[1,0]],[[4535,5895],[5,0],[5,2],[3,3],[3,1],[8,-1],[7,3],[6,5],[5,6],[13,0],[10,-1],[18,0]],[[4581,5813],[-1,5],[1,7],[-1,0],[-3,-6],[-1,0],[0,7],[-2,0],[-3,3],[0,7],[2,3],[0,1],[-2,0],[-1,-1],[-1,2],[1,5],[5,4],[3,0],[2,1],[-1,4],[-3,1],[-2,-1],[-3,-3],[-3,7],[0,3],[1,3],[2,2],[6,0],[3,3],[0,3],[-1,0],[-2,-3],[-7,1],[-2,-1],[-4,-6],[-4,-3],[-4,1],[1,8],[-1,2],[-5,-2],[-4,3],[-2,4],[1,6],[2,3],[0,2],[-2,0],[-4,-2],[-7,9]],[[5265,5243],[1,1],[-3,4],[-2,0],[-1,1],[1,9],[2,8],[2,6],[2,1],[0,3],[2,10],[2,8],[0,22]],[[5242,5400],[4,0],[2,-3],[-1,-5],[-4,-13],[-2,-10],[-2,0],[-5,2],[0,2],[-1,2],[1,5],[0,2],[3,2],[2,11],[1,3],[2,2]],[[5661,7230],[6,0],[1,3],[2,1],[1,-4],[-2,-1],[0,-2],[4,-1],[0,-5],[1,-1],[4,0],[5,3],[3,1],[7,-1],[3,-4],[6,0],[5,-2],[2,1],[5,1],[0,-12],[1,-1],[2,1],[1,3],[4,2],[4,0],[3,5],[0,-9],[-1,-3],[0,-3],[-2,-2],[-4,0],[-6,1],[-6,-1],[-11,-3],[-11,-2],[-2,1],[0,7],[-4,3],[-4,2],[-16,5],[-6,0],[-2,1],[-1,2],[0,7],[1,7],[3,-1],[1,2],[0,6],[1,-1],[1,-5],[1,-1]],[[5754,7226],[-1,-3],[-1,3],[0,3],[-1,5],[2,7],[0,4],[2,1],[0,-6],[-2,-5],[2,-4],[0,-4],[-1,-1]],[[5639,7268],[0,-3],[-3,2],[-1,3],[0,5],[1,3],[2,-2],[3,-5],[-2,-3]],[[5772,7253],[-2,-1],[-1,2],[1,7],[-1,6],[5,10],[9,5],[0,-4],[-2,-9],[-2,-5],[0,-3],[-3,-1],[-4,-7]],[[5707,7279],[-2,-3],[-1,2],[2,4],[1,-3]],[[5734,7291],[-4,-5],[-1,2],[0,3],[2,-1],[2,3],[1,-2]],[[5773,7289],[-1,-1],[-1,4],[2,2],[0,-5]],[[5680,7301],[1,-4],[-1,-1],[-5,-1],[0,3],[1,2],[1,-2],[1,2],[2,1]],[[5704,7296],[-1,-1],[-2,3],[0,3],[1,1],[3,-4],[-1,-2]],[[5748,7299],[0,2],[3,4],[4,4],[4,-2],[-6,-5],[-3,-1],[-2,-2]],[[5686,7310],[-2,2],[1,4],[2,-4],[-1,-2]],[[5749,7312],[-2,-1],[0,5],[1,1],[2,-4],[-1,-1]],[[5701,7318],[-2,-4],[-2,0],[-1,2],[1,5],[3,2],[1,-1],[0,-4]],[[5709,7313],[-3,-3],[-2,4],[-1,4],[5,8],[2,-3],[0,-6],[-1,-4]],[[5680,7322],[-1,-1],[-2,1],[2,5],[1,-1],[0,-4]],[[5678,7334],[-2,-1],[1,4],[-1,2],[2,1],[1,-2],[-1,-4]],[[5692,7343],[0,-6],[-2,1],[1,6],[1,-1]],[[5705,7339],[-3,-1],[0,5],[1,1],[3,-2],[-1,-3]],[[5722,7345],[-1,2],[3,4],[3,0],[0,-4],[-5,-2]],[[5700,7349],[-1,-4],[-6,8],[1,1],[2,-2],[4,-1],[0,-2]],[[5675,7348],[-1,-3],[-1,4],[1,4],[2,1],[1,-2],[-2,-4]],[[5744,7361],[3,-2],[3,0],[0,-4],[-2,0],[-3,-3],[-2,0],[-2,3],[-3,0],[-1,1],[2,3],[3,2],[2,0]],[[5579,7361],[1,-4],[-3,-4],[-3,4],[-2,5],[0,2],[2,4],[2,-4],[2,-1],[1,-2]],[[5693,7358],[-1,-4],[-2,5],[-2,3],[-1,3],[-2,1],[0,4],[3,1],[1,-4],[3,0],[0,-3],[1,-6]],[[5653,7368],[-2,-2],[-2,2],[2,3],[2,-1],[0,-2]],[[5572,7394],[0,-7],[2,-1],[2,-6],[0,-4],[-5,3],[-2,-1],[-1,3],[0,4],[-1,1],[-3,-4],[0,3],[3,8],[1,-3],[1,1],[1,4],[2,-1]],[[5576,7391],[-2,-1],[-2,6],[0,4],[2,-2],[0,-3],[2,-4]],[[5724,7385],[-3,-4],[-3,5],[0,2],[2,1],[1,3],[-1,4],[-3,5],[0,4],[4,2],[3,-4],[2,0],[-1,-4],[1,-10],[-2,-1],[0,-3]],[[5574,7407],[-3,0],[-1,3],[1,6],[1,3],[2,2],[0,-14]],[[5684,7419],[-3,-2],[0,3],[-3,3],[1,4],[2,-1],[3,-7]],[[5649,7427],[3,-8],[3,-3],[2,0],[5,-4],[6,-1],[3,-8],[0,-4],[2,-14],[3,-4],[2,-1],[3,1],[1,-2],[0,-6],[-2,-3],[-3,3],[-1,0],[-2,3],[-3,3],[0,5],[-3,6],[-1,1],[0,3],[-5,1],[-3,0],[-3,3],[-1,6],[-3,3],[-1,3],[-6,8],[-3,3],[-3,1],[-3,-2],[-2,2],[8,8],[5,2],[2,-5]],[[5659,7436],[-1,-2],[-2,1],[-2,7],[5,-6]],[[5662,7439],[0,4],[3,2],[-1,-4],[-2,-2]],[[5733,7449],[-1,-4],[4,-5],[2,-8],[-2,-3],[-4,-1],[-6,3],[-2,3],[4,5],[-2,2],[-3,-6],[-6,5],[2,6],[3,0],[4,3],[0,2],[5,1],[2,-3]],[[5557,7455],[0,-4],[-3,2],[-3,3],[-2,7],[-4,8],[0,3],[1,2],[4,1],[3,-4],[-3,-5],[2,-3],[0,-6],[3,-4],[2,0]],[[5706,7486],[-2,-2],[0,-3],[-1,-5],[-6,1],[-2,2],[0,8],[5,1],[1,-3],[2,1],[1,2],[2,1],[0,-3]],[[5712,7512],[-3,-2],[-3,5],[3,2],[2,-1],[1,-4]],[[5687,7523],[-3,-2],[-4,3],[0,3],[2,5],[1,1],[3,0],[1,-4],[0,-6]],[[5581,7536],[4,1],[6,0],[2,2],[2,0],[3,-2],[6,5],[4,9],[9,3],[4,-2],[3,0],[3,1],[3,2],[1,8],[1,1],[3,0]],[[5730,7586],[3,-1],[2,-4],[2,-2],[2,-11],[-1,-3],[-2,0],[-6,-6],[0,-10],[1,-4],[-3,-7],[-2,-3],[-2,-5],[-2,-1]],[[5722,7529],[-1,3],[-4,4],[-10,2],[-5,4],[-2,-1],[-4,4],[-8,-8],[-4,0],[-3,4],[-2,1],[-3,-2],[-4,-7],[-4,-4],[-4,1],[-5,0],[-1,-4],[1,-3],[3,-4],[-1,-4],[1,-4],[4,0],[6,-5],[2,-5],[1,-5],[-5,7],[-7,5],[-2,0],[-3,-2],[0,-2],[5,-8],[2,-2],[1,-5],[-2,-4],[-3,4],[-5,11],[-6,2],[-1,-2],[1,-6],[1,-3],[6,-6],[-2,-2],[-6,4],[-2,5],[-1,8],[-5,5],[-6,5],[-1,5],[2,6],[-3,0],[-2,-3],[-3,-2],[-1,-4],[1,-4],[-1,-5],[-1,-9],[0,-5],[7,-13],[4,-14],[4,-4],[3,-8],[2,-4],[1,-6],[-3,-4],[-2,-1],[-1,2],[2,5],[-1,2],[-4,5],[-5,-4],[3,-9],[1,-5],[-1,-4],[-4,-3],[-3,0],[0,-3],[3,-3],[6,-3],[4,-4],[3,-1],[3,-8],[6,-2],[3,-8],[4,-1],[4,-3],[1,-3],[0,-5],[1,-11],[0,-14],[-2,-2],[-3,6],[-4,6],[-4,8],[-2,1],[-3,-2],[-6,-2],[-4,-4],[3,-6],[0,-4],[1,-6],[6,-2],[0,-2],[2,-3],[0,-3],[-9,-6],[-1,1],[0,5],[-7,5],[-2,3],[-2,-2],[1,-9],[3,-6],[4,-16],[2,-9],[0,-5],[-1,-7],[2,-6],[-1,-3],[-3,2],[-4,9],[-1,6],[-2,1],[-3,-1],[-3,-12],[0,-7],[-4,3],[1,8],[-5,14],[-1,1],[-3,7],[-3,-2],[-1,-6],[0,-5],[-1,-4],[-4,8],[-5,12],[0,7],[4,6],[-1,5],[-3,9],[-4,5],[-3,2],[-1,6],[-4,5],[0,3],[5,7],[2,9],[2,1],[3,-2],[3,0],[2,6],[2,3],[4,0],[8,-8],[8,-4],[5,-4],[2,-4],[4,-1],[-1,5],[2,1],[4,0],[2,4],[-1,2],[-3,2],[-3,0],[-3,2],[-2,3],[-5,3],[-4,5],[-1,-3],[-5,-2],[-7,4],[-4,-3],[-7,-2],[-3,0],[-3,8],[-1,1],[0,-6],[-4,-2],[-2,2],[-1,7],[-2,9],[-3,7],[-3,2],[0,6],[3,1],[5,-3],[3,2],[-1,3],[0,3],[-3,0],[-3,1],[-4,-2],[-2,2],[0,2],[-4,4],[-2,6],[-5,4],[-3,13],[-3,6],[-2,3]],[[3285,5875],[-1,2],[0,4],[2,7],[2,-1],[-1,-9],[-2,-3]],[[3714,8684],[-3,-7],[-3,2],[-2,3],[-3,1],[-4,0],[0,1],[11,8],[6,2],[-2,-6],[0,-4]],[[3970,8958],[-4,0],[-1,4],[0,5],[5,2],[3,-4],[-1,-5],[-2,-2]],[[3582,9189],[-4,-2],[-2,2],[-3,11],[1,4],[-1,3],[7,4],[4,-1],[7,-4],[0,-1],[-6,-4],[-2,-5],[-1,-7]],[[3534,9212],[10,-5],[9,-3],[2,-4],[-1,-3],[3,-3],[0,-2],[-5,-6],[-19,-7],[-22,-7],[-6,1],[-7,4],[-4,4],[4,2],[11,1],[-5,5],[-3,-1],[-6,2],[-10,1],[-6,2],[-4,3],[-1,3],[2,11],[1,2],[4,1],[8,-2],[1,1],[-9,4],[-3,2],[-2,5],[1,5],[3,2],[9,3],[10,-1],[18,-4],[7,-5],[10,-11]],[[3564,9264],[-13,1],[1,6],[4,0],[9,-4],[-1,-3]],[[4293,9268],[1,-5],[-2,-3],[3,-5],[-2,-2],[-11,-3],[-7,-5],[-4,-4],[-2,0],[-2,4],[-7,2],[-14,-1],[-16,-3],[-6,-2],[-3,1],[-1,3],[3,6],[4,1],[2,4],[-1,5],[1,6],[3,1],[10,-3],[8,0],[10,1],[7,2],[15,7],[2,0],[4,-4],[5,-3]],[[3512,9275],[-3,0],[-7,3],[-2,2],[3,5],[4,4],[4,1],[4,-7],[0,-4],[-3,-4]],[[3471,9376],[-14,-13],[-7,3],[-3,3],[-5,-1],[-4,4],[6,3],[9,1],[4,-1],[8,3],[5,0],[1,-2]],[[4499,9527],[3,-12],[4,-4],[7,1],[3,-7],[-5,-2],[-22,1],[-9,-1],[-6,4],[1,7],[0,8],[6,4],[6,-4],[12,5]],[[4483,9563],[-3,-1],[-11,24],[1,15],[5,0],[4,-3],[2,-14],[2,-21]],[[3008,9637],[-9,0],[-10,2],[-4,2],[2,3],[13,1],[15,-4],[-1,-2],[-6,-2]],[[4500,9655],[-5,0],[-1,5],[8,8],[6,0],[1,-5],[-2,-4],[-7,-4]],[[4471,9674],[-6,5],[-2,8],[0,9],[5,4],[5,0],[0,-12],[2,-5],[-4,-9]],[[4510,9781],[-12,-6],[-17,0],[-11,3],[-3,5],[4,5],[13,4],[16,2],[14,-1],[2,-5],[-6,-7]],[[4481,9898],[-3,-2],[-8,0],[-15,10],[-1,5],[9,2],[6,-4],[12,-11]],[[3753,9911],[-6,-1],[-12,6],[-18,6],[-17,4],[-15,11],[1,7],[24,2],[28,-6],[13,-6],[5,-5],[-3,-18]],[[4167,9996],[27,-3],[14,-4],[22,-1],[18,-2],[30,-5],[5,-2],[-11,-2],[-39,-2],[-70,-2],[-40,-4],[-13,0],[-1,-6],[15,0],[31,6],[12,1],[22,0],[28,-2],[32,0],[24,2],[28,3],[8,-8],[10,-8],[9,1],[13,-4],[8,0],[24,-2],[24,-6],[4,-5],[-2,-3],[-11,-5],[-13,-4],[-18,-4],[-21,-2],[-159,-7],[-5,-2],[-3,-4],[2,-6],[7,-1],[18,3],[30,3],[22,0],[52,-3],[16,-6],[8,-11],[18,2],[4,2],[6,7],[3,6],[7,2],[38,3],[6,-1],[6,-7],[0,-14],[-3,-6],[-7,-9],[-6,-5],[-20,-12],[-18,-12],[-3,-5],[6,-1],[4,5],[20,6],[18,9],[9,3],[11,5],[20,14],[11,5],[11,0],[2,-8],[29,-2],[4,-2],[14,-2],[7,2],[26,18],[20,5],[9,-1],[27,0],[15,-2],[21,-4],[15,-2],[16,-6],[12,-6],[-3,-3],[-20,-6],[-6,-5],[-19,-8],[-9,-3],[-20,-1],[-8,-3],[5,-3],[1,-5],[-7,-4],[-19,-2],[-10,-4],[-12,-1],[-9,1],[-13,-5],[10,-5],[13,-3],[0,-2],[-6,-4],[-9,-4],[-14,-4],[-10,1],[-10,-2],[-10,0],[-17,2],[-14,3],[-7,0],[-12,-6],[-8,-8],[-1,-9],[6,-6],[16,0],[3,-4],[-4,-16],[1,-3],[7,-2],[5,-6],[-3,-4],[-18,-5],[-4,-9],[-5,-4],[-9,0],[-7,-2],[-14,-8],[5,-4],[0,-2],[-7,-10],[-2,-5],[-3,-13],[-4,-4],[-6,-12],[0,-5],[5,-3],[5,3],[7,8],[8,4],[8,-1],[23,-7],[7,-3],[5,-6],[0,-2],[-6,-1],[-12,6],[-6,1],[-14,-4],[6,-10],[6,-4],[12,-2],[14,-7],[5,1],[6,3],[9,0],[7,-4],[1,-12],[-1,-5],[-5,-8],[-7,-1],[-6,3],[-15,2],[-15,4],[-12,0],[-13,-2],[0,-3],[-18,-9],[-4,1],[-12,6],[-10,-4],[-2,-3],[9,-5],[11,-1],[4,-10],[7,-8],[9,0],[8,2],[12,-4],[10,-1],[6,-5],[-2,-7],[4,-6],[7,-6],[2,-6],[0,-5],[2,-6],[1,-12],[-4,-6],[-8,-2],[-6,6],[-5,3],[-8,0],[-12,-9],[-9,-1],[-5,-4],[-6,-2],[-6,0],[-1,-2],[5,-2],[7,2],[11,5],[4,-2],[4,-9],[-3,-9],[-4,-5],[5,-1],[7,6],[5,14],[6,2],[6,-2],[5,-7],[7,-13],[7,-5],[2,-4],[0,-4],[-2,-6],[-10,-3],[-11,2],[-6,0],[1,-5],[-12,-4],[-13,-1],[-12,3],[-11,5],[4,6],[2,7],[-5,5],[-2,0],[2,-7],[-1,-3],[-10,-5],[4,-6],[-4,-6],[1,-4],[8,-3],[19,-1],[8,-1],[18,-5],[1,-2],[-3,-9],[-2,-10],[-3,-1],[-19,-1],[-6,-1],[-10,-4],[-8,-5],[-5,-1],[-17,5],[-7,3],[-15,8],[-11,13],[-8,-8],[-6,-1],[-7,3],[0,-5],[4,-2],[-1,-2],[-6,-1],[-8,-3],[-12,-9],[-12,-1],[-6,3],[-10,2],[-14,5],[2,-3],[16,-6],[2,-2],[-5,-4],[-15,0],[-9,-2],[1,-2],[5,-2],[5,4],[12,-1],[9,3],[11,1],[18,5],[3,5],[6,2],[13,1],[13,0],[6,-1],[5,-5],[8,-3],[5,-4],[7,-1],[4,-5],[11,-6],[8,-1],[4,-3],[0,-11],[1,-5],[-2,-14],[-6,-3],[1,-7],[-1,-6],[-6,2],[-6,4],[-14,6],[-13,4],[-11,6],[-8,11],[-5,13],[-2,7],[-5,1],[-10,-4],[-2,-3],[-17,-5],[-6,-3],[-4,0],[-12,-4],[5,-3],[7,1],[3,2],[12,4],[9,1],[10,5],[5,0],[1,-2],[3,-16],[-1,-4],[-12,-5],[-2,-2],[2,-3],[8,3],[5,3],[3,-1],[4,-5],[17,-8],[6,-4],[8,-3],[9,-5],[13,-5],[4,-8],[3,-1],[8,0],[-1,-4],[-9,-7],[-5,-3],[1,-7],[3,-1],[3,5],[2,0],[6,3],[6,-2],[2,-15],[0,-20],[1,-3],[3,-17],[-3,-3],[-8,-1],[-4,1],[-9,0],[0,8],[-1,3],[0,12],[-3,-3],[0,-5],[-2,-13],[-2,-4],[-7,1],[-11,0],[-13,6],[-5,6],[-7,15],[-1,7],[-3,6],[-5,5],[-13,6],[-12,8],[-12,6],[-9,1],[-13,-1],[-9,3],[-4,-2],[1,-4],[18,-2],[11,0],[6,-1],[3,-2],[2,-10],[-2,-5],[-8,-5],[-15,-7],[-4,-1],[-17,0],[-16,3],[-11,0],[-3,-1],[3,-2],[9,-3],[-1,-8],[-4,-6],[-7,-5],[-17,-6],[2,-1],[11,2],[15,-5],[12,1],[23,4],[4,-1],[3,-4],[-2,-2],[-14,-5],[-4,-1],[-10,-8],[-1,-5],[6,-2],[3,2],[7,10],[8,2],[9,-1],[8,1],[17,7],[22,-4],[19,-6],[11,-3],[13,-1],[25,0],[2,-1],[-2,-4],[-4,-3],[-5,-1],[-12,-4],[-1,-1],[2,-4],[-6,-1],[-9,-3],[-9,0],[3,-3],[1,-6],[-6,-1],[-8,2],[-2,-1],[2,-3],[0,-3],[-2,-2],[-16,-9],[-9,-1],[3,-4],[0,-2],[-5,-4],[-9,-4],[0,-4],[-3,-4],[-7,-4],[-5,-2],[-6,-5],[-13,-2],[-7,-3],[-5,-1],[-17,-6],[-7,0],[-7,-2],[-13,-5],[-7,-2],[-4,-2],[-5,0],[-13,1],[-5,-2],[-4,-5],[-3,0],[-11,3],[3,-5],[0,-2],[-7,-3],[-9,1],[-7,2],[-9,6],[-11,9],[-5,3],[0,-3],[4,-5],[0,-2],[-5,-3],[6,-8],[0,-5],[-6,-6],[-2,0],[-13,-10],[-4,-1],[-2,-2],[-6,-12],[-5,-4],[1,-3],[-3,-9],[-8,-13],[-6,-12],[-5,-6],[-4,0],[-2,-2],[-2,-7],[-2,-2],[-15,-11],[-7,1],[-7,5],[-2,-2],[3,-10],[-5,-5],[-6,-4],[-9,-9],[-1,7],[-3,1],[-4,-10],[-8,-1],[-3,5],[-5,-4],[-2,0],[-3,-8],[-3,-2],[-4,1],[-3,-3],[-5,3],[-1,4],[4,6],[1,3],[-1,3],[1,4],[9,12],[6,6],[-1,1],[-14,4],[-7,1],[-3,-1],[5,-4],[6,-3],[-6,-7],[-2,-10],[-2,-4],[-8,5],[-1,-4],[7,-5],[0,-7],[-12,-5],[-13,-1],[-24,-3],[-6,0],[0,-2],[17,-10],[-2,-3],[-3,-2],[-5,-7],[-9,-5],[-12,3],[-5,-1],[-6,1],[0,-4],[3,-9],[4,0],[5,2],[4,-5],[2,-9],[4,-4],[3,-7],[-8,-8],[-6,0],[0,-4],[-3,-3],[-5,1],[-6,3],[-11,1],[11,-7],[4,-3],[6,2],[6,-2],[-1,-12],[2,-9],[1,-2],[-6,-6],[-1,-5],[-3,-2],[-4,1],[0,-6],[-3,-4],[1,-4],[-4,-8],[-4,-4],[-12,0],[-7,7],[-2,-2],[6,-6],[9,-5],[-1,-3],[-2,-1],[-5,-9],[-2,0],[-2,-3],[-10,2],[-9,-1],[-3,1],[0,-3],[10,-4],[9,-2],[0,-3],[-2,-3],[1,-4],[-1,-6],[-2,-8],[2,-5],[2,-3],[1,-9],[-3,-5],[-8,-1],[-2,-2],[7,-2],[0,-4],[-2,-4],[-2,-10],[-4,-18],[-2,-17],[-10,-14],[-4,-1],[-4,1],[-7,3],[-5,1],[-4,0],[3,-4],[4,-1],[4,-2],[6,-1],[3,-3],[1,-4],[0,-4],[1,-11],[-3,-4],[-2,-4],[-8,1],[-4,-2],[2,-3],[-7,-2],[-5,1],[1,5],[-6,-2],[-3,0],[-2,7],[8,13],[-1,2],[-4,-4],[-5,-10],[-2,-1],[-6,2],[-15,9],[0,10],[5,0],[6,5],[-3,2],[-6,-3],[-4,1],[-4,3],[-10,4],[-3,2],[-3,9],[4,11],[4,7],[1,5],[-1,2],[-2,0],[-2,-7],[-8,-4],[-8,-3],[-6,-6],[-2,-3],[-7,0],[-3,-2],[-4,1],[-2,3],[-4,0],[-6,-1],[2,-6],[-8,0],[-2,1],[-4,4],[1,2],[12,9],[-2,1],[-8,-1],[-2,1],[-5,-1],[0,8],[-1,3],[-2,2],[-12,3],[-2,8],[-1,6],[-5,1],[-2,3],[2,2],[1,3],[-4,4],[1,1],[-3,7],[2,3],[7,4],[1,2],[6,2],[-5,2],[-6,-1],[-4,-5],[-7,-1],[-1,1],[-1,8],[4,5],[-7,3],[-8,4],[-7,7],[2,6],[0,6],[-1,2],[6,10],[0,5],[-7,-9],[-2,1],[-3,6],[-8,8],[-2,5],[-4,5],[-5,10],[-8,12],[-1,7],[2,8],[-3,6],[8,3],[19,6],[7,0],[-4,3],[1,3],[-1,2],[-7,-5],[-23,-7],[-4,6],[5,7],[3,8],[5,6],[3,1],[8,-1],[-1,3],[1,2],[4,2],[6,1],[3,-1],[3,-4],[3,-7],[4,-3],[0,4],[-2,4],[-1,7],[-5,4],[-6,0],[-4,5],[-1,4],[-3,7],[-3,9],[-1,0],[1,-6],[2,-4],[3,-13],[-1,-3],[-6,-5],[-7,-2],[2,4],[1,5],[-4,-2],[-3,-3],[-1,-5],[-7,-14],[-5,-8],[-2,-1],[-2,2],[-3,10],[0,15],[-4,22],[0,5],[-6,3],[-2,7],[2,2],[8,5],[6,5],[6,8],[3,2],[10,2],[5,0],[0,2],[-8,0],[-10,-3],[-8,-9],[-9,-6],[-6,0],[-5,7],[-7,-1],[-6,1],[-1,11],[4,11],[-5,1],[-3,4],[10,7],[15,11],[12,8],[5,7],[6,3],[11,9],[-4,1],[-35,-29],[-4,-3],[-6,-6],[-3,-1],[-8,-1],[-3,-1],[-2,1],[-1,7],[1,4],[-1,4],[2,5],[3,4],[1,4],[9,6],[2,4],[12,2],[5,0],[1,2],[-5,1],[-9,0],[-9,1],[-6,0],[-4,1],[-3,3],[-6,8],[3,11],[0,5],[10,7],[6,3],[7,6],[8,4],[8,0],[13,-5],[7,-1],[6,1],[7,-2],[14,-7],[2,1],[-1,2],[-14,7],[0,3],[4,0],[4,3],[-3,1],[-9,-1],[-3,-2],[-10,-1],[-9,2],[-7,4],[-5,-2],[-13,-3],[-12,-11],[-5,-2],[-3,1],[3,10],[1,7],[6,7],[6,14],[3,1],[17,-5],[10,-4],[8,-1],[5,0],[4,4],[2,6],[5,6],[0,5],[-7,-1],[-5,-7],[-5,-2],[-11,-1],[-5,0],[-9,2],[-2,3],[-11,-1],[-6,0],[5,7],[5,11],[4,3],[8,3],[8,-1],[15,-8],[4,-1],[14,3],[5,5],[4,7],[-6,-2],[-6,-1],[2,11],[1,9],[1,2],[8,-1],[11,1],[3,3],[-5,1],[-2,3],[-8,-3],[-7,1],[5,11],[3,11],[0,4],[2,3],[11,4],[0,2],[-5,6],[1,2],[4,2],[0,2],[-3,0],[-10,-2],[-8,3],[-3,0],[-8,-4],[-3,1],[-18,4],[-3,1],[-6,5],[-13,8],[-9,3],[-18,3],[-4,3],[-10,11],[-1,2],[6,6],[5,1],[8,0],[10,-3],[11,0],[13,-2],[6,-2],[18,-11],[7,-4],[3,0],[13,-4],[7,2],[-1,2],[-6,1],[-10,8],[-1,6],[2,4],[0,5],[-4,3],[-9,5],[2,2],[4,0],[7,-3],[4,0],[3,2],[-4,2],[-6,5],[-19,0],[-5,1],[-5,3],[-10,-1],[-6,0],[-3,8],[0,2],[3,1],[3,5],[4,3],[22,5],[1,4],[-5,-2],[-3,0],[-13,3],[-7,-5],[-7,-3],[-3,0],[-4,2],[-1,4],[4,2],[5,5],[0,2],[-5,-1],[-1,2],[0,7],[-6,9],[-4,-1],[6,-6],[1,-7],[-7,-6],[-2,-4],[-3,-2],[-3,1],[3,-8],[-2,-4],[-10,-4],[-14,-1],[-6,2],[-8,1],[-7,8],[-2,4],[0,4],[3,4],[3,11],[4,9],[12,12],[1,3],[-2,1],[-12,-11],[-7,-1],[-2,2],[2,6],[6,-1],[2,3],[-4,4],[-4,1],[4,3],[9,0],[9,8],[2,4],[-1,5],[1,5],[-4,5],[-6,3],[-3,-5],[-3,0],[-10,4],[-1,6],[7,3],[4,6],[-1,8],[-3,4],[-8,-5],[-1,5],[-9,5],[0,4],[2,3],[1,5],[4,0],[-2,8],[-3,3],[-6,10],[-4,3],[-3,0],[-19,-4],[-2,1],[9,4],[6,1],[2,4],[-2,8],[1,2],[9,2],[3,2],[-8,5],[-8,3],[-7,10],[-8,6],[-13,5],[-4,4],[-4,6],[-4,4],[-9,4],[-1,2],[9,5],[1,2],[-7,11],[-10,2],[-6,2],[-10,6],[-8,2],[-12,5],[-20,6],[-9,4],[-12,1],[-13,4],[-11,1],[-7,-1],[-7,4],[-8,2],[-4,-1],[-11,-7],[-3,0],[-10,6],[-11,-6],[-6,-2],[-15,-3],[-3,1],[-9,6],[-2,0],[-11,-5],[-6,-1],[-8,4],[-6,-1],[6,-8],[5,-5],[-4,0],[-37,6],[-5,1],[-21,11],[-8,3],[-3,4],[2,2],[15,7],[6,2],[11,1],[4,2],[-3,2],[-15,-1],[-13,1],[-12,3],[-6,5],[0,3],[-9,-1],[-7,-3],[-8,2],[-1,5],[-10,6],[0,3],[5,4],[10,3],[26,2],[19,-2],[7,6],[4,2],[13,2],[19,1],[20,-3],[9,-3],[-2,6],[4,4],[0,6],[-10,7],[-4,0],[-9,-3],[-10,-5],[-13,-2],[-9,2],[-7,3],[-5,-1],[-3,-3],[-10,-4],[-4,0],[-18,5],[-4,2],[0,3],[-5,3],[-7,2],[13,6],[0,1],[-9,0],[-5,-3],[-11,0],[-11,2],[-3,3],[-16,3],[-20,13],[-1,2],[7,5],[-4,5],[1,2],[8,6],[11,3],[14,5],[17,0],[13,5],[12,3],[28,4],[2,2],[-3,3],[18,6],[14,1],[14,4],[22,1],[9,-2],[8,1],[11,8],[8,10],[8,17],[5,15],[5,3],[12,3],[-4,2],[-6,0],[-12,-3],[-11,0],[-5,-2],[-12,-1],[-13,3],[-14,0],[-7,8],[6,11],[11,7],[18,7],[9,2],[16,8],[10,8],[5,2],[17,3],[13,-2],[6,4],[0,3],[6,4],[9,0],[18,-2],[11,-4],[6,1],[7,9],[2,7],[-3,20],[10,6],[11,4],[15,1],[17,-3],[24,-11],[10,-4],[16,-5],[18,-9],[5,0],[-5,4],[-28,12],[-10,5],[-17,10],[-12,3],[0,2],[15,5],[28,4],[31,3],[11,0],[18,2],[2,2],[21,4],[5,0],[16,-5],[8,-6],[3,-6],[-1,-19],[5,-3],[11,11],[3,10],[-5,4],[0,8],[2,4],[7,0],[29,-14],[11,-3],[12,-8],[15,1],[20,-1],[3,2],[-4,3],[-20,8],[-9,7],[-6,8],[-1,5],[4,1],[22,0],[33,-4],[42,-14],[20,-4],[37,-15],[11,-3],[5,0],[5,4],[-3,10],[3,13],[6,3],[2,4],[-2,6],[-7,4],[-27,10],[5,3],[8,1],[67,-3],[12,-1],[7,-2],[17,1],[-2,4],[-78,5],[-22,1],[-7,-1],[-23,0],[-10,5],[9,7],[21,-3],[21,6],[12,1],[28,7],[12,0],[20,-3],[6,-4],[15,-2],[17,10],[9,3],[13,-2],[16,-5],[11,-2],[18,-10],[7,3],[1,8],[-18,5],[-3,5],[6,3],[9,-1],[13,6],[17,-2],[9,0],[5,4],[40,0],[14,2],[15,-3],[8,0],[24,5],[63,-1],[21,-2]],[[2548,6089],[-3,-6],[-5,-8],[-4,-7],[-8,-12],[0,-1],[-6,-5],[-1,-8],[0,-2],[1,-5],[1,-7],[-1,-3],[-3,-5],[-1,-4],[-1,-2]],[[2517,6014],[-2,1],[-2,-1],[-2,-2],[0,-2],[1,-4],[0,-2],[-4,-4],[-1,-2],[-1,-4],[-2,-1],[-3,-3],[-5,-10],[0,-3],[1,-3]],[[2497,5974],[-11,10],[-4,2],[-15,-1],[-6,4],[-7,7],[-5,7],[-12,18]],[[2437,6021],[2,5],[0,19],[2,4],[1,3],[-4,9],[0,2],[1,3],[2,10],[4,12],[4,13],[2,8],[21,0],[15,0],[-1,5],[2,11],[0,2],[-2,3],[-3,2],[-1,2],[0,3],[-2,9],[-3,4],[-5,5],[-4,6],[-5,13],[-3,3],[12,0],[0,32],[22,0],[13,0],[16,0]],[[2530,6099],[1,-2],[2,0],[2,-3],[3,-3],[2,5],[-2,5],[0,1],[10,-13]],[[9019,5947],[-1,0],[-1,2],[0,8],[4,5],[1,6],[2,-1],[1,-2],[-5,-9],[-1,-9]],[[3312,5483],[-6,13],[-12,28],[0,1],[2,7],[2,4],[3,5],[-1,10],[1,4],[-1,3],[-1,5],[2,6],[1,1],[4,1],[2,3],[2,0],[3,-1],[3,5],[6,5],[2,9],[-2,4],[-2,0],[-2,-1],[-2,0],[-1,4],[0,2],[1,4],[-1,2],[-2,8],[0,2],[1,4],[2,3],[1,7],[1,2],[4,1],[6,10],[4,3],[1,6],[0,2],[4,3],[0,4],[-5,14]],[[3332,5676],[1,-1],[4,-9],[2,-2],[1,0],[0,2],[2,-1],[5,-6],[8,-11],[11,-19],[3,-8],[2,-3],[3,-9],[1,-4],[0,-16],[-3,-12],[-1,-8],[1,-4],[2,6],[3,7],[3,2],[3,-3],[3,-1],[3,-2],[5,-11],[5,-8],[2,-7],[5,-3],[4,-6],[1,-5],[0,-12],[-1,-19]],[[3410,5503],[-1,-4],[0,-2],[-1,-4],[-1,-2],[1,-5],[2,-1],[0,-3],[-2,-2],[-1,-3],[0,-5],[-7,0],[-2,-1],[-2,0],[-1,-2],[-2,-2],[-1,0],[-2,-6],[1,-2],[1,-4],[0,-8],[-2,-7],[-2,-13],[-1,-3],[0,-10],[4,-9],[1,-4],[1,-6],[3,-5],[2,-4],[0,-7],[1,-2],[3,-1],[2,1],[0,1],[3,0],[1,-2],[0,-10],[1,-2],[0,-3],[1,-5],[0,-8],[2,-5],[1,-1],[1,-5],[1,-3],[1,-6],[1,-3],[2,-8],[2,-5],[1,-7],[2,-4],[2,-2],[2,0],[2,-4]],[[8172,6463],[-1,-1],[-2,4],[2,2],[1,-2],[0,-3]],[[8165,6463],[-4,0],[1,4],[3,-1],[0,-3]],[[8173,6482],[0,-5],[2,-4],[-2,-1],[0,-5],[-4,4],[-3,1],[-2,-1],[-2,4],[4,3],[0,2]],[[7046,2123],[-3,-3],[-4,0],[-3,9],[-2,3],[1,1],[2,-2],[6,-2],[6,-6],[-3,0]],[[2689,6047],[-7,1],[-3,-2],[-3,-6],[-1,1],[-2,-2],[-3,-4],[-3,-1],[-3,1],[-1,-1],[0,-2],[-2,-1],[-2,2],[-1,-4],[-3,1],[-2,-3],[-2,-1],[-3,2],[-2,3],[-2,4],[-2,1],[-3,-3],[-2,-4],[0,-4],[-1,-2],[-1,0],[-1,-3],[-1,-5],[0,-6],[-3,-3],[-2,-3],[-3,-7],[-3,-5],[-3,-2],[-1,-3],[0,-4],[-2,-1],[-5,7],[-2,5],[-3,-4],[-5,-13],[-8,1],[-3,-1],[-1,-1],[0,-6],[1,-13],[1,-6],[-1,-2],[-2,0],[-2,-1],[-1,-2],[0,-3],[-1,-3],[0,-4],[-3,-3],[-8,-1]],[[2573,5931],[0,6],[-2,2],[-2,9],[0,4],[-3,2],[-3,-1],[-3,2]],[[2560,5955],[2,3],[0,3],[-1,1],[0,4],[1,4],[1,9],[-1,2],[-2,2],[-2,1],[-3,-1],[-1,1],[-1,3],[-2,2],[-4,-3],[-5,-5],[-1,0],[0,7],[-2,2],[-3,1],[-2,3],[-3,3],[0,2],[-4,5],[-1,3],[-2,4],[-2,-1],[-5,4]],[[2548,6089],[3,-1],[2,3],[2,2],[2,4],[1,1],[5,2],[2,0],[2,-5],[2,-2],[3,2],[3,0],[10,-4],[4,2],[8,0],[3,-1],[5,6],[3,1],[4,3],[0,3],[4,0],[9,-6],[9,1],[3,3],[2,1],[9,-6],[2,-5],[2,0],[2,1],[0,1],[-2,1],[-1,2],[8,-3],[13,-23],[0,-1],[-5,6],[-3,0],[-1,-1],[0,-6],[2,0],[1,1],[2,-1],[5,-10],[1,0],[1,2],[2,1],[2,-3],[4,1],[3,-9],[3,-5]],[[2599,6127],[-5,-5],[1,4],[3,3],[1,-2]],[[2614,6131],[-2,-3],[-1,2],[1,3],[3,1],[-1,-3]],[[5461,7660],[6,-2],[3,1],[4,-1],[0,-3],[-3,1],[-4,-2],[-3,1],[-3,5]],[[5511,7635],[0,-2],[2,-6]],[[5513,7627],[-10,12],[-9,9],[-7,3],[-9,7],[-1,4],[14,-11],[-1,3]],[[5477,7667],[-15,0],[-3,1],[-5,4],[4,1],[4,-1],[1,-2],[14,-3]],[[5465,7676],[-4,-1],[-6,3],[1,4],[4,0],[7,-2],[1,-3],[-3,-1]],[[5421,7737],[-1,-2],[-2,3],[-2,5],[-3,3],[-1,3],[0,4],[1,0],[9,-15],[-1,-1]],[[5411,7761],[-4,1],[-1,2],[1,2],[2,-1],[2,-4]],[[5401,7756],[-1,0],[-3,13],[-1,3],[1,2],[-1,10],[2,1],[0,-5],[1,-3],[2,-3],[-1,-6],[1,-9],[0,-3]],[[5410,7774],[-3,-1],[-2,2],[0,2],[-3,0],[-2,3],[4,8],[3,-8],[1,-1],[2,-5]],[[5524,7829],[0,-4],[-2,-2],[2,-4],[1,-6],[-1,-3],[1,-3],[4,-2],[-2,-3],[0,-4],[2,-3],[5,-4],[2,0],[2,-4],[0,-2],[-6,0],[-4,-2],[2,-9],[-1,-3],[-2,-3]],[[5487,7656],[-1,2],[-6,9],[-5,5],[-7,11],[-8,4],[-6,4],[-3,0],[-4,-2],[-4,1],[-1,3],[0,5],[-4,4],[-4,5],[-5,5],[-10,20],[5,2],[2,0],[0,3],[-3,3],[-8,12],[-2,6],[-1,7],[1,9],[-1,6],[-7,8],[-2,4],[-4,3],[-2,0],[-2,-4],[-1,-7],[-4,-9],[-1,-4],[-2,-5],[-2,-1],[-1,1],[-3,9],[-3,6],[-1,4],[0,4],[-3,14],[2,2]],[[5376,7805],[1,-2],[7,-3],[2,1],[2,4],[2,-2],[8,0],[2,1],[2,6],[2,3],[2,-5],[2,-3],[3,-3],[3,2],[5,-3],[3,0],[3,1],[-1,4],[0,5],[1,2],[-2,4],[5,4],[5,2],[1,2],[0,11],[-2,3],[1,5],[4,2],[2,2],[4,2],[3,5],[4,-1],[0,7],[2,3],[6,-2]],[[5458,7862],[6,-5],[4,-5],[2,-5],[2,-3],[3,-3],[3,-4],[4,-7],[6,-2],[1,-3],[5,-4],[4,-1],[8,-1],[5,0],[4,3],[2,5],[2,0],[5,2]],[[2977,6265],[-1,-4],[-7,5],[-5,6],[0,3],[3,1],[3,-2],[4,-4],[3,-5]],[[3006,6222],[-3,5],[-2,4],[-3,2],[-13,0],[-3,-3],[-4,-1],[-3,0],[-8,3],[-3,2],[-3,1],[-7,-2],[-3,-2],[-2,-4],[-1,-4],[-1,-1],[-3,6],[-6,8],[-6,4],[-2,6],[3,10],[3,2],[5,-1],[6,-4],[5,0],[3,-3],[19,-4],[3,-1],[3,2],[2,5],[6,0],[1,1],[1,3],[0,3],[-4,4],[-5,9],[-4,10],[2,3],[-1,7],[2,11],[-10,10],[-7,1],[-3,2],[-1,3],[1,5],[5,5],[3,1],[7,1],[7,-1],[5,-5],[6,-4],[11,-3],[1,1]],[[2981,6337],[1,-1],[-1,-2],[-5,3],[-2,0],[-1,2],[4,2],[4,-4]],[[5634,7945],[0,-1],[-5,-8],[-3,-2],[-2,1],[-6,-3],[-1,-1],[-4,-8],[-3,-3],[0,-7],[-1,-2],[-2,-1],[-1,-2],[-2,-10],[-4,-7],[0,-3],[-1,-5],[-3,-5],[0,-5],[-2,-3],[-3,-2],[-1,-2],[-1,-5],[1,-4],[-2,-2],[-2,-6],[-3,-2],[-5,1],[-2,-1],[-1,-3],[-2,-3],[-4,1],[-7,-2],[-1,-1]],[[5561,7839],[-2,2],[-6,1],[-3,-1],[-6,2],[-3,-1],[-3,-6],[-5,-4],[-4,1],[-4,-4],[-1,0]],[[5458,7862],[-1,1],[-3,7],[0,3],[-1,1],[-1,4],[0,3],[-1,1],[-5,1]],[[5475,7948],[1,1],[3,-1],[6,-6],[4,-5],[3,-2],[6,0],[5,-1],[16,2],[2,4],[-1,2],[0,3],[1,3],[3,3],[10,1],[6,2],[2,6],[2,1],[2,-1],[3,-3],[4,-1],[5,5],[6,4],[4,12],[0,1],[4,2],[7,-1],[5,-2],[4,0],[5,3],[2,0],[1,-2],[2,-1],[2,-6],[2,-3],[2,-1],[9,4],[1,0]],[[5614,7971],[2,1],[2,-3],[0,-2],[2,-4],[4,-3],[2,-4],[3,-2],[3,0],[2,-4],[0,-5]],[[8414,4555],[-3,0],[-1,1],[0,5],[1,2],[6,4],[2,3],[4,7],[3,3],[0,-5],[1,-5],[-3,-3],[-3,-6],[-6,-4],[-1,-2]],[[8384,4573],[-4,1],[-1,1],[3,3],[2,4],[4,0],[-1,-5],[-3,-4]],[[8427,4590],[-3,-2],[0,4],[2,5],[2,2],[1,-3],[-2,-2],[0,-4]],[[8332,4643],[2,-2],[4,-5],[1,-2],[0,-4],[1,-2],[2,-1],[2,1],[2,-2],[1,-3],[3,-5],[1,-5],[3,-3],[1,-5],[-1,-4],[-3,-6],[-1,-1],[-2,0],[-4,-4],[-1,2],[-4,1],[-3,3],[-3,4],[-1,5],[-2,4],[-3,3],[-6,8],[-4,1],[-1,-1],[-2,0],[-7,4],[-2,2],[-1,3],[0,3],[-1,3],[2,5],[4,3],[3,1],[4,0],[5,1],[5,-2],[2,1],[2,4],[2,-5]],[[8444,4645],[2,-4],[5,-1],[1,1],[3,6],[0,7]],[[8455,4654],[4,2],[2,2],[2,3],[6,7]],[[8469,4668],[0,-6],[1,-1],[4,4],[1,-3],[0,-4],[-1,-4],[-4,0],[0,-6],[2,-5],[1,-8]],[[8473,4635],[-2,-3],[-1,-5],[-4,-6],[-3,-9],[-3,-4],[-3,-6],[-2,-3],[-7,-2],[-6,-7],[-3,-2],[-3,-1],[-3,2],[-1,3],[0,3],[3,8],[-3,3],[0,3],[2,15],[1,5],[7,14],[2,2]],[[8210,4678],[-1,-2],[-2,4],[-1,1],[2,3],[1,0],[1,-3],[0,-3]],[[8415,4691],[-1,-3],[-2,1],[1,3],[0,2],[3,3],[0,-3],[-1,-3]],[[8317,4680],[-1,-1],[-1,1],[0,9],[1,2],[0,5],[3,-1],[1,-2],[0,-2],[-3,-7],[0,-4]],[[8424,4702],[0,-2],[-8,0],[0,3],[2,4],[3,2],[4,-2],[-1,-5]],[[8239,4687],[-4,-12],[2,-4],[-6,-2],[-9,3],[-5,3],[0,5],[5,-2],[1,2],[0,17],[4,9],[2,3],[3,2],[7,-5],[2,-3],[0,-3],[-2,-13]],[[8451,4704],[-2,-4],[-1,-6],[-1,-2],[-2,-1],[-1,6],[-3,0],[1,5],[1,2],[2,0],[1,-2],[4,9],[2,-2],[-1,-5]],[[8441,4707],[-4,-2],[-2,-7],[-2,0],[-1,-3],[0,-3],[-1,-2],[-2,2],[-2,-3],[-3,3],[-2,0],[2,5],[4,5],[-2,4],[2,1],[2,0],[2,-1],[5,6],[3,-3],[1,-2]],[[8857,4700],[-2,-1],[-7,2],[0,4],[3,6],[2,2],[1,0],[3,-10],[0,-3]],[[8264,4701],[-2,1],[1,3],[-1,4],[0,3],[2,2],[3,0],[0,-2],[-3,-11]],[[8306,4709],[-1,0],[0,4],[2,1],[1,-3],[-2,-2]],[[8459,4714],[1,-3],[2,2],[7,0],[5,-2],[1,-7],[-1,-2],[-19,-5],[-2,3],[2,5],[-1,3],[1,4],[2,3],[2,-1]],[[8549,4717],[5,-3],[3,1],[1,-2],[-3,-5],[-6,4],[-1,4],[1,1]],[[8409,4687],[-4,-2],[-4,-4],[-2,-1],[-9,0],[-7,-7],[-5,-2],[-2,4],[-2,1],[-3,0],[-2,-6],[-4,1],[-3,-2],[-3,0],[-5,5],[-7,2],[-6,-1],[-6,3],[-3,-2],[-3,-3],[0,3],[-2,6],[0,8],[1,2],[0,3],[1,3],[2,-1],[4,4],[3,5],[4,2],[2,0],[1,-1],[4,2],[4,-5],[4,0],[6,-6],[4,-3],[3,-4],[2,-2],[3,0],[2,3],[2,1],[2,0],[3,1],[3,2],[2,-2],[6,-7],[2,-1],[3,2],[1,2],[0,3],[2,5],[5,4],[3,3],[2,5],[-4,2],[2,5],[2,-1],[2,-2],[0,-10],[-2,-3],[0,-2],[-3,-4],[1,-5],[-2,-3]],[[8634,4704],[-1,3],[5,10],[2,-2],[2,0],[-3,-5],[-4,-2],[-1,-4]],[[8283,4704],[2,-2],[1,0],[2,4],[2,1],[2,0],[3,-3],[1,-4],[1,3],[3,3],[2,-1],[2,-2],[1,-7],[0,-6],[3,-6],[-2,-4],[-2,-1],[-2,3],[-5,-2],[0,-2],[3,-2],[-1,-2],[-2,2],[-2,0],[-5,-3],[-2,0],[0,9],[-1,2],[-5,-10],[-2,-1],[-2,1],[-5,-5],[-2,1],[-2,0],[-6,-6],[-4,-1],[-4,0],[-2,-2],[-3,-2],[-2,2],[-3,1],[-3,5],[0,4],[1,5],[0,12],[1,4],[2,1],[4,4],[3,4],[2,0],[4,-3],[2,-1],[3,1],[2,-2],[1,-4],[0,-2],[1,-1],[3,-7],[2,0],[3,-1],[3,4],[3,0],[1,3],[-2,4],[-3,4],[-2,0],[-5,7],[-1,3],[-1,5],[1,3],[3,3],[1,0],[6,-2],[1,-1],[1,-7],[1,-3]],[[8206,4714],[2,-3],[4,-9],[1,-3],[-2,-2],[-2,-4],[-7,-6],[-1,-3],[-1,-5],[0,-2],[-1,-3],[-2,0],[-1,1],[1,3],[0,4],[-2,8],[-6,8],[-3,2],[-4,1],[-3,6],[0,3],[-1,3],[1,3],[4,-1],[5,-3],[5,0],[4,7],[1,0],[8,-5]],[[8605,4725],[-1,-5],[-2,0],[-4,7],[1,5],[0,2],[6,-1],[0,-8]],[[8521,4742],[0,-4],[-3,-1],[-3,-3],[-2,-4],[-1,-5],[-5,2],[-4,1],[-1,1],[-2,0],[-3,-1],[-4,-5],[0,6],[1,4],[4,9],[3,-2],[4,-1],[4,2],[3,4],[4,2],[3,-5],[2,0]],[[8538,4744],[-2,-1],[1,4],[0,4],[3,-1],[0,-3],[-2,-3]],[[8847,4707],[-7,-8],[-9,2],[-3,0],[-5,-2],[-1,1],[1,7],[4,19],[5,17],[2,4],[3,5],[3,3],[7,3],[6,0],[4,-7],[2,-5],[0,-6],[-2,-11],[-3,-10],[-5,-8],[-2,-4]],[[8647,4723],[-1,-1],[-3,1],[-2,0],[0,4],[-1,3],[1,5],[0,6],[2,0],[0,4],[2,8],[2,3],[2,5],[1,1],[1,4],[1,1],[0,4],[3,3],[2,-2],[1,-3],[-3,-4],[2,-10],[-2,-11],[-1,-3],[-3,-3],[0,-3],[-3,-5],[-1,-4],[0,-3]],[[8665,4768],[-1,-2],[-1,1],[-1,3],[-2,1],[3,3],[2,-6]],[[8177,4772],[-1,-2],[-1,1],[-1,4],[1,1],[1,-1],[1,-3]],[[8573,4770],[-1,-2],[-3,3],[1,4],[2,1],[1,-2],[0,-4]],[[8354,4773],[-4,0],[0,6],[4,-3],[0,-3]],[[8161,4774],[0,-1],[-5,1],[-3,-5],[-2,-1],[-9,0],[-1,-1],[-10,5],[-1,4],[1,4],[3,6],[5,1],[26,0],[2,-5],[1,-1],[-6,-4],[-1,-3]],[[8204,4782],[-3,-1],[-2,2],[0,3],[1,2],[3,1],[2,0],[3,-3],[0,-2],[-3,0],[-1,-2]],[[8740,4795],[-1,-1],[-1,1],[0,2],[2,5],[1,0],[0,-3],[-1,-4]],[[7922,4801],[-1,-1],[-2,1],[0,1],[2,4],[2,2],[0,-3],[-1,-4]],[[8741,4806],[-2,0],[-1,4],[2,1],[1,-2],[0,-3]],[[8736,4812],[-1,-4],[0,-4],[-3,-5],[-1,-8],[-1,-2],[-4,-4],[-3,5],[-1,3],[2,18],[0,16],[2,1],[1,-3],[5,-10],[4,-3]],[[7981,4837],[3,-6],[3,-4],[2,-2],[3,0],[3,-1],[4,-2],[5,-1],[2,1],[2,-1],[2,-5],[3,-5],[1,-3],[1,-12],[3,-4],[2,-1],[7,0],[8,-3],[3,0],[2,3],[3,-2],[6,-3],[3,-1],[4,1],[4,0],[1,-1],[4,-2],[1,0],[3,3],[1,5],[2,7],[1,7],[1,3],[2,4],[1,1],[4,0],[1,-2],[4,-12],[1,-1],[5,-1],[3,3],[2,0],[3,-3],[1,-2],[2,-2],[7,-2],[2,-5],[10,0],[3,-2],[2,-14],[1,-3],[3,-2],[1,-2],[0,-15],[6,-6],[6,-3],[7,-1],[11,3],[4,3],[1,0],[9,-8],[1,-2],[1,-5],[0,-7],[-2,-15],[0,-8],[2,-9],[4,-7],[0,-5],[-4,2],[-2,2],[-1,3],[-2,2],[-3,-1],[-6,4],[-7,5],[-12,11],[-4,0],[-6,-4],[-6,-3],[-3,0],[-6,3],[-7,2],[-17,1],[-5,2],[-14,4],[-6,3],[-16,15],[-5,3],[-16,8],[-8,0],[-4,2],[-3,0],[-4,-3],[-2,-1],[-2,-4],[-3,0],[-12,4],[-3,2],[-3,3],[-2,4],[-2,2],[-7,4],[-18,3],[-3,1],[-2,2],[-1,3],[0,4],[2,8],[1,3],[-9,7],[-7,4],[-3,1],[-3,0],[-4,-1],[-5,2],[-2,0],[-1,-1],[-2,1],[0,3],[1,3],[2,3],[1,0],[0,-5],[2,-2],[1,1],[3,6],[0,3],[2,9],[1,-2],[2,2],[2,20],[2,6],[3,4],[1,2],[3,-3],[5,-1],[3,-2],[6,-2],[4,-3],[2,0],[1,1],[2,4],[1,6],[3,-3],[5,-1],[1,-2]],[[8445,4839],[-1,-3],[-1,4],[-1,1],[0,4],[2,-2],[1,-4]],[[8347,4821],[-1,-10],[-1,3],[0,9],[-1,4],[1,5],[-1,13],[1,6],[2,-8],[0,-22]],[[8130,4849],[-1,-2],[-2,0],[-1,2],[2,4],[2,-1],[0,-3]],[[8688,4846],[-2,-5],[-1,2],[-1,0],[0,10],[-1,7],[2,0],[0,-2],[1,-1],[2,-7],[0,-4]],[[8742,4855],[-1,-3],[0,-4],[1,-4],[-1,-3],[1,-6],[0,-9],[-1,-5],[-2,-3],[0,-1],[-6,1],[-5,10],[-2,5],[-1,1],[0,3],[4,0],[0,2],[1,8],[-3,5],[0,3],[1,1],[2,-2],[4,9],[0,2],[1,5],[2,1],[1,-1],[1,-3],[0,-5],[1,-1],[2,-6]],[[8691,4843],[0,13],[2,4],[3,17],[1,0],[1,-2],[-2,-13],[-4,-9],[-1,-10]],[[7842,4868],[-2,-1],[-5,10],[1,2],[2,0],[4,-5],[1,-2],[-1,-4]],[[8433,4880],[0,-6],[-1,0],[-2,4],[0,2],[1,1],[2,-1]],[[8389,4870],[-2,-1],[-3,6],[-2,6],[2,5],[0,4],[1,1],[2,0],[1,-4],[1,-1],[0,-16]],[[8405,4880],[0,-4],[-2,-3],[-2,0],[-3,3],[0,-3],[-2,0],[-1,4],[2,10],[2,4],[-1,4],[-1,9],[1,5],[4,3],[5,5],[1,-3],[1,-15],[-4,-12],[0,-7]],[[8420,4921],[1,-12],[-2,1],[-2,0],[-1,-5],[0,-5],[-1,-3],[0,-12],[2,1],[2,-4],[2,-2],[0,-4],[-2,-3],[-2,-2],[-2,2],[-1,-1],[0,-2],[-1,-2],[0,-3],[-2,-6],[-1,-2],[-2,2],[-1,-2],[-2,0],[-1,7],[0,3],[1,4],[0,2],[1,3],[2,4],[1,3],[0,2],[1,7],[0,7],[1,6],[0,12],[3,10],[3,4],[0,-3],[3,-7]],[[8709,4939],[-2,-1],[-5,5],[0,4],[4,-6],[3,-2]],[[8422,4946],[-3,-7],[-2,1],[-2,4],[0,5],[-1,2],[2,3],[5,-1],[1,-2],[0,-5]],[[8570,4977],[-5,-3],[1,5],[1,2],[2,-2],[1,-2]],[[8562,4972],[-2,-4],[-1,2],[-2,1],[-3,-5],[-2,2],[0,3],[3,5],[3,1],[4,4],[1,0],[0,-3],[-1,-2],[0,-4]],[[8574,4979],[0,-3],[-3,1],[-1,4],[1,1],[2,-1],[1,-2]],[[8233,4984],[-1,-10],[-2,5],[2,7],[1,-2]],[[8543,4992],[-2,-1],[-1,3],[2,2],[1,-4]],[[8229,4960],[-6,-10],[0,13],[-2,7],[1,5],[1,9],[1,7],[4,5],[0,-8],[1,-3],[0,-16],[1,-2],[-1,-4],[0,-3]],[[8523,5005],[4,-4],[2,-6],[2,-4],[2,-3],[0,-14],[-4,-2],[-4,-6],[-2,-1],[-2,0],[-3,-2],[-4,3],[-4,4],[-6,7],[-1,3],[-3,6],[0,4],[-1,11],[2,3],[4,-2],[2,3],[7,2],[7,0],[2,-2]],[[8554,5014],[-2,-5],[-2,1],[2,3],[2,1]],[[7968,5010],[-1,-1],[-2,2],[-1,3],[1,2],[3,-2],[0,-4]],[[7984,5016],[-1,-1],[-1,1],[0,2],[1,2],[2,-1],[-1,-3]],[[8603,5018],[6,-6],[4,-1],[5,1],[2,-1],[6,-8],[1,-6],[1,-4],[0,-5],[3,-2],[2,-6],[1,-2],[-2,-17],[-6,6],[-6,7],[-3,3],[-7,6],[-2,5],[-3,4],[-9,0],[0,-6],[-1,-2],[-4,3],[-3,1],[-3,2],[-4,2],[0,5],[-3,0],[-2,-2],[-4,-9],[-3,-1],[-2,0],[-1,2],[-4,10],[-1,2],[-2,2],[-3,-1],[0,-3],[-1,-4],[0,-2],[-2,-6],[-1,-4],[-1,1],[1,6],[0,3],[-1,3],[0,4],[6,16],[3,4],[10,2],[6,-1],[3,0],[3,1],[2,0],[0,-3],[1,-3],[2,0],[3,3],[2,4],[2,2],[3,0],[2,-1],[4,-4]],[[7788,5e3],[1,-8],[-3,5],[0,7],[-2,3],[-2,4],[-1,10],[1,2],[1,0],[7,-15],[-1,-4],[0,-2],[-1,-2]],[[8004,5011],[0,-6],[-1,-3],[-3,-5],[-2,1],[0,3],[-3,5],[-1,-1],[0,-4],[-5,-2],[0,4],[-2,4],[0,8],[1,3],[0,4],[1,4],[0,9],[5,3],[1,-2],[6,-2],[4,-6],[2,-8],[-3,-9]],[[7782,5025],[-2,-4],[-3,0],[-1,3],[0,14],[1,1],[5,-10],[0,-4]],[[8731,5061],[-1,2],[1,3],[1,0],[-1,-5]],[[7772,5048],[0,-1],[-4,5],[-2,1],[-2,6],[0,6],[1,2],[1,0],[2,-3],[1,-6],[2,-6],[1,-4]],[[8500,5042],[-2,2],[-1,9],[-1,2],[-1,9],[0,2],[2,4],[1,-1],[0,-11],[2,-11],[0,-5]],[[8439,5071],[0,-3],[-1,0],[-1,5],[2,-2]],[[8499,5080],[9,-2],[-1,-2],[-10,-3],[-3,1],[-10,-2],[-1,0],[0,3],[-1,2],[1,2],[2,1],[6,-1],[8,1]],[[8420,5079],[-2,-5],[-1,2],[1,4],[1,1],[1,-2]],[[8620,5086],[0,-3],[2,-4],[-1,-5],[-1,0],[1,-4],[-3,-2],[-1,-3],[-4,-1],[-1,2],[-5,3],[-4,5],[-1,2],[8,6],[3,2],[2,0],[4,2],[1,0]],[[8470,5085],[3,-2],[1,0],[0,2],[1,1],[1,-1],[0,-4],[2,0],[2,-2],[0,-4],[-5,-1],[-4,-3],[-5,3],[-5,-5],[-3,-1],[-3,0],[-3,8],[2,10],[1,2],[2,1],[5,0],[8,-4]],[[8762,5092],[11,-3],[3,0],[6,-1],[5,-4],[9,-1],[3,-1],[2,-2],[-5,-3],[-2,-2],[-5,-1],[-4,1],[-2,-1],[-1,2],[-4,2],[-5,4],[-11,5],[0,5]],[[8025,5090],[-3,-2],[-1,5],[2,2],[2,-2],[0,-3]],[[7944,5087],[1,-4],[2,-3],[1,-4],[1,-19],[4,-16],[13,-6],[-2,-2],[-2,-5],[-2,-11],[0,-3],[2,-8],[-2,0],[-2,1],[-2,4],[-2,1],[-4,5],[-3,2],[-4,2],[-2,4],[0,17],[-2,2],[-1,6],[-1,8],[-2,2],[-3,2],[-1,2],[-6,-3],[-3,3],[-3,2],[0,4],[2,3],[3,3],[2,3],[0,3],[-1,3],[2,6],[1,2],[4,2],[2,-8],[1,-3],[1,4],[-1,7],[3,2],[3,0],[2,-2],[1,-3],[0,-5]],[[8432,5085],[-2,0],[-1,1],[0,9],[1,2],[1,-1],[0,-4],[1,-2],[0,-5]],[[8558,5088],[-1,-3],[-5,1],[-5,0],[-5,-2],[-3,2],[-2,3],[0,3],[2,8],[4,5],[1,2],[3,-2],[5,-5],[3,-5],[3,-4],[0,-3]],[[8421,5116],[1,-4],[-1,-3],[1,-6],[3,8],[2,1],[2,-1],[2,-5],[-1,-6],[-2,-3],[-2,-1],[-2,4],[-1,1],[-1,-9],[-2,-2],[-1,2],[0,2],[1,3],[0,11],[-2,-2],[-3,-10],[-3,-4],[-1,2],[-1,7],[1,8],[2,6],[2,0],[5,2],[1,-1]],[[8046,5115],[-5,-6],[-2,1],[-1,2],[1,11],[1,4],[4,0],[2,-2],[2,-5],[-2,-5]],[[8748,5119],[-2,-1],[-1,1],[-2,5],[1,3],[2,2],[1,-2],[0,-3],[2,0],[-1,-5]],[[7753,5081],[-2,0],[-6,6],[-1,4],[0,4],[-6,16],[0,3],[2,13],[5,4],[2,-3],[0,-6],[4,-10],[1,-6],[0,-2],[1,-2],[-1,-2],[3,-7],[1,-3],[0,-7],[-3,-2]],[[8638,5108],[-1,-2],[-4,1],[-2,4],[-1,5],[0,4],[-2,7],[0,1],[7,4],[3,-2],[2,-2],[-1,-13],[-1,-7]],[[8635,5139],[-2,-5],[-12,-4],[1,2],[0,2],[1,1],[4,2],[3,-1],[2,0],[0,3],[3,0]],[[8759,5146],[6,-2],[2,0],[2,-3],[3,1],[1,-1],[5,-8],[3,-6],[3,-5],[3,-2],[-2,-4],[-4,-3],[-2,0],[-3,3],[-2,-1],[-2,4],[0,5],[-3,12],[-2,-4],[-4,6],[-1,0],[-3,5],[0,3]],[[8535,5138],[-1,-1],[-2,2],[-1,0],[1,9],[2,-1],[1,-7],[0,-2]],[[8627,5153],[-1,0],[-3,2],[1,2],[2,2],[2,-1],[1,-2],[-2,-3]],[[8384,5160],[1,-3],[-1,-3],[-1,1],[-3,0],[-1,-2],[-1,0],[0,3],[3,4],[1,-1],[2,1]],[[8915,5033],[0,-46]],[[8915,4987],[0,-24],[0,-23],[0,-24],[0,-23],[0,-35],[0,-40],[-1,-6],[-2,-10],[-1,-7],[2,-6],[2,-3],[0,-45],[0,-24],[0,-23],[0,-36]],[[8915,4658],[-2,2],[-4,6],[-3,8],[-2,7],[-3,6],[-11,18],[-4,12],[-8,-2],[-4,-2],[-4,-1],[-3,4],[0,8],[-2,-6],[-3,-4],[-4,-7],[-2,4],[0,3],[1,3],[0,3],[1,8],[2,4],[1,8],[1,3],[0,3],[-1,4],[-2,1],[-1,2],[-1,6],[-1,2],[-2,2],[-1,3],[1,2],[2,1],[-1,3],[-3,4],[-3,8],[0,1],[2,2],[5,1],[-4,8],[-1,6],[-1,3],[-4,7],[-2,6],[-2,13],[-2,10],[2,6],[-2,0],[-3,2],[2,5],[0,2],[-2,-2],[-3,0],[0,15],[-2,2],[-2,3],[-2,1],[-2,2],[-1,4],[-12,13],[-1,4],[-2,-2],[-2,2],[-1,2],[-2,-1],[-2,2],[-3,0],[-6,5],[-7,7],[-5,2],[-3,4],[-3,3],[-7,3],[-8,2],[-7,0],[-12,15],[-2,6],[0,8],[-2,-2],[-2,0],[-4,4],[-4,-2],[-2,3],[0,4],[-1,2],[-3,-2],[-2,0],[-2,6],[-2,4],[-3,4],[-1,6],[0,13],[3,6],[1,5],[-2,1],[-3,-8],[0,-10],[-1,-3],[-3,0],[1,-6],[-1,-6],[-3,-10],[1,-3],[-1,-3],[-4,-10],[-5,0],[-3,-2],[-1,3],[-2,2],[0,4],[-2,7],[-1,7],[3,9],[-1,8],[-2,7],[-5,9],[-6,9],[-3,2],[-5,1],[-2,4],[-1,4],[3,1],[5,5],[2,0],[7,-3],[2,-2],[2,-1],[5,7],[4,10],[2,2],[2,1],[2,-1],[5,-4],[3,-1],[2,0],[1,-3],[2,-2],[0,5],[1,5],[2,2],[1,0],[1,2],[0,5],[-3,0],[2,4],[2,5],[0,2],[-6,-5],[-6,-2],[-4,1],[-4,0],[-7,-4],[-3,1],[-6,1],[-4,2],[-2,-2],[-3,0],[-3,4],[-3,8],[-2,3],[-1,3],[-1,13],[-1,8],[-5,2],[-12,8],[-3,-3],[-2,-1],[-4,2],[1,3],[1,5],[1,2],[2,2],[1,3],[2,9],[0,9],[5,4],[10,5],[2,2],[2,5],[3,2],[2,5],[7,6],[7,0],[6,-4],[6,-5],[11,-13],[11,0],[5,-2],[2,-4],[-1,-3],[0,-6],[1,-6],[4,-12],[0,-3],[-1,-7],[0,-3],[-2,-5],[-1,-6],[0,-7],[1,-7],[0,-13],[1,-7],[5,-18],[3,-12],[0,15],[1,2],[2,2],[2,-5],[0,-7],[1,-13],[2,0],[2,2],[1,-4],[0,-14],[1,-2],[5,-6],[5,-1],[3,0],[3,2],[2,4],[2,5],[6,11],[2,5],[2,8],[1,2],[6,9],[1,3],[2,11],[1,3],[6,3],[7,2],[6,5],[3,5],[0,3],[-1,5],[0,2],[1,2],[12,14],[6,5],[2,0],[6,-8],[15,-10],[2,-3],[2,-4],[3,-3],[4,-1],[3,-3],[3,-4],[6,-6],[9,-8],[10,0],[2,-4],[2,0],[9,-2],[3,-3],[0,-6],[7,0]],[[7901,5164],[2,-6],[1,-2],[-2,-7],[-1,-1],[-2,2],[-1,-5],[-1,7],[-2,5],[1,4],[2,-1],[3,4]],[[8542,5165],[3,-9],[-2,-8],[2,-4],[4,-1],[1,-1],[0,-2],[1,-3],[-1,-3],[-2,-2],[-3,3],[-1,4],[-4,-2],[-1,0],[0,9],[-2,3],[-2,5],[0,3],[1,4],[-1,3],[2,0],[2,-4],[1,4],[1,2],[1,-1]],[[8533,5155],[-1,-2],[-2,0],[-1,6],[1,8],[2,2],[2,-2],[-1,-2],[1,-4],[-1,-6]],[[7880,5163],[-3,-2],[-4,2],[0,3],[2,4],[2,0],[3,-3],[1,-2],[-1,-2]],[[8632,5183],[5,-2],[1,0],[7,-6],[1,-3],[0,-3],[1,-2],[-2,-5],[-1,0],[-4,2],[-2,-1],[-2,1],[-1,4],[-3,2],[-3,9],[-2,-1],[0,-3],[2,-2],[2,-6],[2,-1],[2,-3],[0,-4],[-4,-1],[-2,3],[0,5],[-2,-2],[-1,-2],[-1,0],[-1,6],[-5,0],[-3,3],[2,3],[0,3],[2,2],[2,-1],[2,2],[1,-1],[1,2],[4,1],[2,1]],[[7734,5153],[-2,-3],[-2,3],[0,3],[3,14],[-3,13],[1,1],[1,-2],[2,-8],[2,-6],[-2,-15]],[[7909,5173],[1,-1],[1,3],[3,-6],[0,-2],[-1,-2],[-6,6],[-4,-2],[-3,3],[3,12],[2,-2],[1,-3],[3,-6]],[[8597,5173],[-1,-1],[-1,4],[-3,3],[-1,7],[6,-11],[0,-2]],[[8539,5183],[-2,1],[1,6],[1,-3],[0,-4]],[[7907,5187],[-1,0],[-2,2],[-3,8],[2,-1],[4,-9]],[[7868,5215],[-3,-1],[-1,1],[0,5],[1,4],[1,0],[2,-5],[0,-4]],[[8538,5220],[-1,0],[0,6],[2,0],[0,-3],[-1,-3]],[[8537,5229],[-1,-2],[-2,3],[1,2],[1,0],[1,-3]],[[7872,5222],[-3,6],[1,4],[1,1],[1,-2],[2,-6],[-2,-3]],[[7883,5229],[-3,2],[0,3],[1,1],[2,-6]],[[7894,5231],[-1,-1],[-3,5],[1,2],[1,-2],[2,-1],[0,-3]],[[7861,5226],[-1,-2],[-1,2],[-5,2],[-2,0],[-5,3],[-2,4],[0,3],[1,2],[0,6],[1,2],[3,-4],[2,-4],[2,-1],[6,-6],[1,-7]],[[7872,5244],[0,-3],[-2,0],[-1,4],[1,3],[1,-3],[1,-1]],[[7864,5233],[0,-1],[-2,0],[-3,6],[-2,3],[-3,2],[-2,0],[0,7],[2,0],[6,-5],[2,-3],[2,-9]],[[7888,5251],[2,-2],[1,1],[0,-4],[-2,-6],[-2,2],[-1,2],[0,5],[2,0],[0,2]],[[7904,5253],[0,-4],[2,-2],[0,-8],[-2,-6],[0,-2],[-2,1],[-1,2],[0,3],[-1,1],[0,6],[-4,-2],[-1,0],[-1,3],[1,2],[4,5],[2,-1],[3,2]],[[7844,5240],[-1,-1],[-2,2],[-2,8],[0,7],[-1,5],[1,3],[1,0],[2,-3],[2,-5],[0,-2],[1,-4],[-1,-5],[0,-5]],[[7707,5268],[6,-17],[2,-2],[3,-7],[1,-3],[-1,-5],[0,-15],[-2,-3],[-4,2],[0,2],[-2,11],[-4,7],[-2,0],[-1,6],[-2,8],[-6,13],[5,0],[3,6],[0,1],[4,-4]],[[7846,5267],[0,-7],[-2,2],[-2,3],[-2,2],[-3,1],[-3,2],[-1,3],[0,4],[12,-7],[1,-3]],[[8468,5241],[-6,-10],[-1,-5],[-2,-5],[-2,-6],[-2,-5],[-4,-4],[-2,-1],[-3,0],[-10,-4],[-3,-1],[-3,1],[-7,1],[-3,5],[-2,4],[-3,1],[-2,-1],[-18,0],[-6,-1],[-6,-2],[-3,1],[-3,2],[-3,1],[-2,0],[-12,-3],[-3,0],[-6,4],[-3,1],[-3,-1],[-3,-4],[-5,-10],[-1,-6],[-2,-7],[-1,-8],[-1,-6],[0,-6],[2,-15],[1,-5],[4,-13],[0,-1],[5,-4],[2,-5],[3,-12],[2,-7],[3,1],[3,-1],[4,-2],[3,4],[2,7],[1,6],[5,10],[2,5],[2,2],[3,-4],[1,-2],[3,-1],[4,1],[3,3],[2,5],[3,2],[7,0],[4,-1],[6,1],[0,2],[-1,3],[5,4],[4,1],[3,-1],[3,-3],[1,-3],[0,-5],[-1,-10],[0,-3],[-2,-1],[-2,2],[-2,5],[-3,2],[-6,-3],[-1,-2],[-4,-12],[-4,-10],[-5,-9],[-2,-3],[-3,-3],[-8,-5],[-3,-4],[-1,-6],[-2,-2],[-2,0],[-2,1],[-3,3],[-2,-7],[2,-1],[3,-4],[2,-7],[4,-3],[3,-7],[4,-12],[1,-7],[2,-5],[6,-9],[0,-8],[3,-9],[-3,-4],[0,-7],[-1,-8],[0,-5],[1,-3],[4,-4],[2,-7],[2,-1],[0,-6],[2,-2],[1,-4],[1,-1],[2,3],[2,-3],[0,-4],[1,-3],[-1,-7],[0,-3],[-2,0],[-2,3],[-1,-2],[1,-2],[-7,0],[-8,-5],[-2,-2],[-2,-5],[0,-3],[1,-7],[-1,-2],[-4,-1],[-4,2],[-5,3],[-2,5],[-1,5],[2,18],[0,2],[2,5],[0,4],[-2,4],[-4,2],[-3,4],[-11,20],[0,9],[4,12],[0,2],[1,9],[0,7],[-1,8],[-1,4],[-4,2],[-3,0],[-3,-1],[-9,-12],[-2,-5],[0,-6],[1,-5],[2,-6],[1,-6],[1,-20],[0,-3],[-1,-6],[-1,-13],[1,-19],[1,-12],[-1,-6],[-3,-21],[0,-3],[3,-14],[1,-6],[0,-6],[-3,3],[-2,0],[-1,-1],[-4,-1],[-3,0],[-2,-1],[-2,-4],[-3,-2],[-4,5],[-3,5],[-2,6],[-1,6],[2,14],[3,11],[0,15],[2,6],[0,6],[1,22],[-1,2],[-3,13],[0,13],[-2,4],[-2,1],[-3,-1],[-7,-3],[-2,3],[-2,11],[-1,7],[0,7],[1,7],[-2,9],[0,3],[2,4],[2,1],[1,2],[4,6],[1,6],[0,7],[1,7],[4,12],[1,6],[-1,10],[0,14],[1,10],[4,19],[4,10],[2,3],[4,-10],[0,5],[-1,5],[-3,34],[1,2],[1,0],[2,2],[0,4],[-1,8],[0,3],[3,12],[2,4],[1,3],[1,7],[4,10],[1,6],[2,1],[1,-6],[4,-4],[3,3],[0,2],[1,3],[2,2],[1,3],[1,6],[3,9],[3,2],[2,0],[4,-4],[2,-1],[2,1],[2,-3],[2,-6],[1,-2],[9,1],[7,-3],[9,-1],[3,-2],[3,-3],[3,-4],[3,-1],[2,4],[3,2],[6,-1],[16,-5],[2,0],[10,10],[4,10],[3,2],[2,9],[1,2],[3,1],[1,2],[4,12],[2,1],[3,-1],[1,-2],[2,-8],[0,-2],[-2,-4],[-1,-1],[-2,-12],[-4,-10]],[[7824,5303],[1,-5],[1,-3],[-1,-3],[-1,-6],[-3,-4],[-3,1],[-1,2],[-2,8],[1,7],[1,2],[2,0],[3,4],[2,-3]],[[8547,5232],[2,-1],[2,0],[1,3],[0,3],[1,6],[3,5],[1,0],[2,2],[-1,5],[2,9],[6,7],[3,2],[4,1],[1,-3],[-1,-3],[1,-6],[0,-15],[-1,-2],[-11,-11],[-1,-4],[0,-4],[4,-6],[6,-5],[1,-2],[1,-4],[0,-5],[2,-2],[2,-1],[2,-5],[-10,7],[-2,3],[-4,0],[-3,1],[-3,3],[-3,0],[-2,-1],[-1,-4],[0,-5],[1,-5],[0,-3],[-1,-6],[3,-17],[3,-14],[4,-14],[2,-5],[-1,-3],[-1,5],[-6,5],[0,2],[-4,14],[-4,7],[-1,3],[-1,5],[1,5],[-1,6],[0,7],[1,8],[-2,5],[-2,6],[-1,7],[0,5],[2,6],[0,3],[-2,5],[-3,12],[0,6],[3,13],[0,6],[1,3],[0,4],[2,8],[3,8],[4,9],[2,3],[2,1],[0,-5],[-3,-10],[-1,-2],[0,-4],[2,-3],[2,-5],[0,-21],[-1,-2],[-3,-8],[-6,-8],[-1,-2],[0,-3],[1,-3],[2,-2]],[[7702,5303],[-3,5],[-3,3],[2,1],[3,-2],[1,-3],[0,-4]],[[8567,5301],[-5,-1],[-1,3],[-1,13],[3,10],[4,5],[3,2],[1,0],[2,-7],[-1,-15],[-3,-7],[-2,-3]],[[8482,5336],[-1,6],[1,3],[1,-1],[0,-2],[-1,-3],[0,-3]],[[7678,5319],[-3,1],[-9,13],[-2,0],[-2,2],[-2,1],[-2,7],[0,3],[2,5],[3,-1],[2,-7],[4,-3],[1,-3],[7,-9],[1,-3],[0,-6]],[[8023,5351],[-1,-3],[-1,2],[2,1]],[[7936,5348],[-1,0],[0,12],[1,-3],[2,-2],[1,0],[-1,-4],[-2,-3]],[[7951,5365],[0,-4],[-2,2],[0,6],[2,0],[0,-4]],[[8267,5372],[0,-2],[-3,5],[0,6],[2,0],[2,-1],[-1,-8]],[[8489,5381],[-1,-2],[-3,4],[0,7],[-1,3],[0,5],[2,-3],[1,-6],[2,-5],[0,-3]],[[8522,5400],[-2,3],[0,2],[1,1],[1,-3],[0,-3]],[[8519,5406],[-2,4],[-1,6],[2,-2],[1,-5],[0,-3]],[[8267,5423],[2,0],[4,1]],[[8273,5424],[1,-5],[0,-2],[-5,-3],[-3,7],[1,2]],[[8007,5396],[-3,-2],[-3,3],[4,4],[0,2],[-4,2],[-1,2],[-1,6],[0,3],[5,9],[2,1],[0,-4],[4,-9],[0,-9],[-3,-8]],[[8044,5300],[-3,-7],[1,-3],[0,-3],[2,-1],[1,-10],[4,-10],[2,-2],[2,-4],[2,-6],[2,-2],[6,-11],[2,-4],[3,-4],[3,1],[9,8],[2,0],[3,2],[5,-1],[5,-2],[2,0],[2,1],[2,0],[2,-1],[5,6],[4,2],[3,17],[2,3],[2,2],[4,2],[13,1],[2,-5],[-1,-2],[2,-1],[2,-2],[7,-4],[2,-2],[2,1],[3,-5],[2,2],[2,3],[2,4],[2,3],[2,1],[4,0],[4,1],[3,2],[4,-3],[1,1],[0,3],[2,5],[1,4],[0,8],[1,2],[3,2],[0,8],[-1,1],[-1,7],[1,3],[0,2],[2,1],[3,5],[4,5],[2,5],[0,2],[-1,3],[-2,1],[0,5],[1,2],[0,8],[2,5],[2,3],[2,-2],[4,2],[1,5],[0,13],[1,1],[1,5],[0,3],[-1,8],[1,5],[0,12],[1,2],[2,13],[3,3],[1,5],[2,1],[3,-4],[4,4],[2,1],[3,-1],[2,-3],[3,4],[2,-2],[2,0],[1,1],[4,-1],[7,0],[5,-2],[5,-6],[4,-1]],[[8265,5424],[-3,-3],[0,-3],[2,-5],[0,-3],[5,-8],[0,-2],[1,-2],[0,-2],[-1,-3],[-3,0],[-2,2],[-1,3],[-1,-4],[-1,-2],[-4,1],[-4,0],[-1,-2],[1,-1],[5,-9],[1,-4],[-1,-7],[0,-3],[2,-1],[3,-4],[1,0],[2,-2],[0,-7],[2,-3],[-2,-4],[3,-3],[2,-1],[0,-5],[2,-7],[4,-10],[1,-3],[0,-6],[-3,-3],[-2,-4],[0,-2],[-2,-2],[2,-3],[1,-6],[5,-10],[11,-16],[4,-6],[6,-13],[3,-3],[1,-3],[-3,-6],[-4,-2],[-6,-2],[-6,2],[-3,2],[-3,3],[-2,6],[-3,4],[2,-8],[-2,-8],[-4,-4],[-1,-2],[-5,-22],[-1,-6],[-1,-25],[0,-7],[2,-14],[0,-7],[1,-3],[-2,-4],[-4,-4],[-4,-3],[-2,-5],[-2,-6],[-2,-4],[-3,-2],[-2,0],[-1,2],[-1,-1],[0,-7],[-1,-3],[-3,-3],[-2,-3],[0,-4],[-2,-5],[-4,-4],[-1,-2],[0,-3],[2,1],[2,-1],[0,-15],[-3,-5],[3,-3],[3,-1],[1,-5],[-1,-7],[0,-5],[-3,-2],[-2,1],[-1,-2],[1,-1],[0,-15],[-2,-7],[-2,-1],[-1,2],[-1,-3],[1,-2],[2,-6],[-2,-3],[-1,-3],[-3,-7],[-1,-4],[0,-6],[-1,-4],[-20,-18],[-15,-15],[-2,1],[0,2],[-1,24],[-2,12],[0,7],[-2,-6],[-2,0],[-2,4],[0,2],[-1,4],[-1,-3],[-2,0],[-2,4],[-4,-6],[-4,-4],[-3,0],[-2,2],[0,13],[-3,1],[-3,-3],[-1,1],[-1,-2],[-8,18],[-2,-14],[-6,-8],[-5,-5],[-4,2],[-4,3],[-5,-3],[-4,-9],[-3,-1],[-1,1],[0,30],[-2,4],[-2,3],[-2,-5],[-3,0],[-4,2],[-3,-1],[-6,-6],[-3,-1],[-2,2],[-1,3],[0,3],[-3,-5],[-1,1],[-3,7],[-5,-3],[-1,0],[-1,-3],[-2,1],[0,3],[-3,40],[-1,13],[-1,3],[-3,5],[0,7],[2,6],[0,14],[-1,7],[-1,5],[-2,5],[-3,5],[-3,4],[-6,4],[-3,0],[-2,2],[0,6],[1,3],[2,1],[0,2],[-3,3],[-3,5],[-1,3],[0,10],[1,5],[0,2],[1,8],[2,2],[-1,3],[-2,2],[0,3],[-2,5],[-4,6],[-1,10],[0,22],[1,13],[2,4],[2,1],[0,2],[-2,-1],[1,11],[3,10],[3,6],[1,6],[2,6],[7,6]],[[8521,5416],[-1,-2],[-2,1],[0,3],[2,5],[1,6],[-1,1],[-1,4],[0,4],[1,7],[1,0],[2,-4],[0,-6],[1,-5],[-2,-6],[-1,-8]],[[7679,5484],[3,0],[7,3],[3,0],[4,-2],[2,-2],[8,2],[2,-2],[5,-9],[5,-10],[2,-6],[1,-6],[7,-14],[1,-6],[-1,-7],[1,-6],[7,-5],[3,-4],[2,-6],[2,-4],[2,-3],[8,-7],[10,-16],[6,-7],[7,-17],[1,-6],[3,-8],[5,-11],[1,-3],[2,-4],[1,-5],[2,-4],[2,-3],[3,-1],[3,-7],[2,-2],[0,5],[-2,6],[0,3],[2,5],[1,0],[4,-2],[5,-9],[2,-5],[1,-7],[2,-7],[2,-4],[5,-2],[3,-2],[7,-11],[2,-4],[1,-6],[2,-7],[0,-7],[7,-14],[3,-2],[8,-1],[5,-8],[1,-5],[-2,-5],[-6,-7],[0,-3],[3,2],[3,3],[3,4],[6,7],[4,-2],[3,-5],[3,-6],[1,-7],[2,-7],[-3,-4],[-3,-3],[-4,-7],[-1,-3],[1,-1],[-1,-6],[3,-3],[0,-3],[-2,-3],[0,-3],[4,-13],[4,-5],[6,-5],[3,-3],[4,-1],[5,0],[0,-2],[1,-10],[1,-6],[1,-14],[1,-6],[0,-7],[1,-5],[3,-4],[4,-3],[1,-3],[0,-8],[-2,-3],[-3,-6],[0,-3],[-1,-6],[1,-3],[2,1],[5,11],[3,2],[7,0],[3,-2],[6,-6],[8,-23],[5,-16],[0,-3],[-1,-3],[-4,-8],[0,-2],[-1,-10],[0,-7],[2,-5],[0,-3],[-2,-14],[-1,-2],[2,-23],[0,-26],[-2,-39],[0,-2],[-2,-6],[-2,0],[-3,3],[0,3],[-1,3],[-5,7],[-1,-2],[-5,-8],[-1,-2],[-2,1],[-3,3],[-8,9],[0,-7],[1,-10],[1,-4],[-3,-1],[-3,6],[-3,7],[-6,12],[-3,5],[-6,18],[-2,2],[-10,13],[-5,8],[-2,5],[-6,7],[-11,18],[-5,11],[-5,17],[-1,4],[-9,13],[-5,7],[-2,5],[-4,15],[-2,6],[-1,4],[-3,4],[-2,4],[-5,14],[-2,6],[-1,6],[0,12],[-10,36],[-3,12],[-2,16],[0,1],[-6,14],[-2,5],[-2,4],[-2,5],[-4,16],[-2,5],[-2,3],[-7,6],[-3,4],[-2,5],[-3,19],[-3,20],[-4,26],[-3,12],[-3,10],[0,2],[-14,17],[-4,4],[-4,1],[-2,4],[-1,8],[-1,10],[-1,7],[0,3],[-6,8],[-4,12],[-2,5],[-6,17],[-2,5],[-2,3],[-8,3],[-2,3],[-6,15],[-7,11],[-11,23],[-3,6],[-1,6],[-2,6],[-5,18],[1,3],[0,13],[5,4],[9,-3],[3,-4],[5,-9],[3,-4],[3,-1],[7,-3]],[[7648,5518],[-1,-2],[-2,1],[-1,6],[4,-1],[0,-4]],[[4876,8304],[-5,-7],[-4,3],[1,7],[3,2],[3,6],[2,2],[1,-1],[2,-7],[-2,-2],[-1,-3]],[[7607,5577],[-2,-5],[-3,15],[-2,0],[0,7],[1,3],[4,3],[1,-2],[2,-13],[-1,-8]],[[7602,5607],[-2,-5],[-1,3],[0,2],[2,3],[1,-3]],[[7594,5637],[-2,0],[0,2],[-1,3],[0,2],[2,1],[2,-7],[-1,-1]],[[7597,5647],[-1,-2],[-1,0],[0,9],[1,3],[1,-1],[-1,-3],[1,-6]],[[7586,5658],[-1,-1],[-1,3],[0,3],[1,1],[1,-6]],[[7576,5710],[-1,-1],[-1,2],[0,2],[2,3],[1,-4],[-1,-2]],[[7568,5791],[-1,-2],[-2,2],[0,6],[-1,6],[4,8],[2,-6],[0,-5],[-2,-9]],[[7583,5877],[1,-8],[-2,3],[-1,3],[2,2]],[[7574,5924],[-1,5],[1,1],[1,-1],[-1,-5]],[[7574,5848],[-1,0],[-3,10],[0,7],[-1,2],[3,8],[0,6],[1,5],[1,1],[2,0],[0,5],[-2,3],[0,11],[1,4],[0,12],[2,3],[0,9],[1,11],[0,8],[2,7],[3,3],[1,0],[0,-8],[-1,-4],[1,-4],[0,-2],[-2,-8],[-1,-1],[-1,-5],[-1,-2],[2,-6],[1,-18],[-2,-4],[-2,-1],[1,-12],[-3,-9],[0,-3],[-1,-2],[1,-3],[0,-17],[-2,-6]],[[7203,6975],[0,-2],[1,0],[3,-5]],[[7249,6921],[-1,1],[-2,-1],[-6,-10],[-2,-2],[-6,-13],[-4,-18],[0,-6],[-1,-7],[-1,-4],[-3,-8],[-1,-7],[5,-8],[3,-4],[3,-3],[1,0],[1,3],[2,-1],[3,-3],[1,-2],[8,-8],[6,-7],[0,-3],[2,-4],[9,-11],[4,-4],[2,-3],[4,3],[4,-3],[9,-11],[5,1],[1,-1],[2,-9],[5,-3],[4,-1],[4,-2],[2,-2],[3,2],[0,2],[2,1],[3,0],[5,-4],[2,-1],[2,4],[4,1],[2,2],[3,-4],[7,-4],[4,-3],[1,-3],[0,-9],[1,-3],[7,-7],[2,-3],[4,-1],[1,-5],[3,-1],[8,5],[2,0],[2,-7],[0,-4],[4,-3],[4,3],[3,-2],[7,-2],[5,-5],[4,-3],[2,0],[7,7],[2,-7],[5,-4],[4,3],[3,-1],[3,0],[3,2],[3,0],[4,-3],[2,3],[1,9],[2,8],[0,4],[-2,7],[-3,9],[0,3],[1,16],[1,9],[1,4],[1,7],[0,5],[-1,2]],[[7702,6809],[0,-8],[1,-3],[0,-3],[-1,-4],[-3,-1],[-1,-3],[-3,-5],[-3,-3],[-2,-3],[0,-12],[6,-16],[0,-3],[-2,-1],[-4,5],[-2,7],[-2,2],[-2,0],[-11,-4],[-2,0],[-4,-3],[-4,-10],[-5,-5],[-7,-12],[-8,-6],[-2,-3],[-2,-7],[0,-7],[1,-9],[1,-6],[0,-3],[-2,-6],[-1,-1],[-1,-8],[-3,-10],[-2,-5],[-4,-3],[-1,-3],[-2,-10],[1,-3],[3,-3],[1,-5],[-2,-7],[-4,-17],[-4,-9],[-2,-9],[-2,-12],[-1,-8],[-2,-5],[-1,-1],[-2,2],[-4,2],[-5,4],[-5,-2],[-4,6],[-1,-3],[1,-14],[2,-6],[-1,-9],[0,-10],[-1,-12],[0,-3],[-1,-3],[-2,-1],[-2,1],[-1,-2],[1,-5],[-2,-6],[-1,-5],[1,-5],[0,-5],[2,-11],[0,-4],[-2,-5],[-1,1],[-3,-12],[-1,-1],[-2,1],[-2,5],[-2,2],[-1,-1],[-1,-6],[-2,-2]],[[7472,6456],[0,-9],[-2,0],[2,-6],[0,-10],[-4,-1],[-1,6],[-1,-5],[-2,-4],[-2,4],[0,4],[2,16],[-2,3],[-1,3],[-2,-16],[1,-7],[-1,-3],[-3,-3],[-5,9],[0,-4],[-1,-4],[-3,0],[-2,4],[4,25],[-3,5],[-3,3],[-1,-1],[1,-2],[3,-2],[2,-4],[-3,-6],[-3,-11],[-4,-5],[-4,-4],[-13,-7],[-3,-2],[-4,-8],[-2,-8],[-1,-7],[2,-8],[1,-13],[1,-2],[-4,-10],[-2,-7],[0,-3],[-1,-3],[-6,-8],[-2,-5],[-2,-4],[-2,2],[0,-6],[-2,-3],[-18,-11],[-2,0],[0,2],[1,1],[0,7],[-2,1],[-6,-8],[-3,-8],[2,-1],[4,5],[2,-1],[0,-2],[-6,-7],[-12,-22],[-1,-4],[-4,-10],[-4,-11],[-8,-17],[-2,-6],[-13,-13],[-2,-4],[-5,-12],[-5,-10],[-6,-9],[-11,-11],[-6,-10],[-2,-7],[-1,-2],[1,-4],[2,-5],[-1,-4],[0,-3],[-2,-6],[-4,-4],[-10,-9],[-1,0],[-9,2],[-3,-2],[-2,-4],[-3,-17],[-2,-5],[-2,-7],[-2,0],[-1,1],[-1,-1],[-1,6],[-4,2],[-7,-6],[-3,-5],[-5,-22],[-2,-14],[2,-16],[2,-13],[0,-13],[-2,-8],[1,-9],[3,-16],[0,-5],[2,-12],[-2,2],[-1,5],[-2,6],[-2,-6],[1,-4],[5,-6],[2,-4],[-4,-39],[-2,-13],[-3,-9],[-2,-4],[-3,-14],[-2,-17],[-1,-7],[1,-7],[-1,-5],[1,-2],[2,-8],[0,-24],[0,-26],[-3,-1],[-4,0],[-2,1],[-4,-1],[-2,-3],[-2,-5],[0,-8],[-7,-20],[-2,-13],[1,-4],[2,-3],[-1,-4],[-16,-9],[-4,-7],[-2,-6],[-2,-13],[0,-8],[-2,-8],[-8,-11],[-5,-3],[-2,-3],[-6,3],[-6,10],[-3,6],[-10,25],[-2,3],[-2,11],[0,4],[-2,4],[-2,13],[-2,27],[1,-1],[1,-5],[1,-7],[0,-9],[2,-1],[1,1],[-3,22],[-3,5],[-1,1],[-1,3],[0,7],[-2,7],[0,4],[-5,22],[-2,16],[-4,18],[-2,6],[-3,13],[-3,7],[-3,8],[-3,6],[-7,29],[-3,16],[-1,8],[-1,6],[-3,24],[0,10],[-2,10],[-3,11],[-1,7],[0,3],[-2,11],[0,5],[-1,5],[-2,4],[-1,4],[-4,11],[-2,2],[-2,8],[-2,13],[-2,5],[3,0],[-4,10],[2,5],[-3,0],[-2,3],[-2,9],[-3,11],[-4,23],[-3,43],[-2,19],[0,5],[-5,28],[0,9],[-1,6],[-1,12],[-1,4],[0,2],[1,6],[2,8],[1,6],[-1,7],[-2,-7],[-2,-3],[-1,6],[0,17],[-1,2],[0,3],[1,4],[-2,3],[-1,10],[0,3],[-1,2],[1,14],[5,28],[1,6],[-2,16],[0,8],[-4,5],[-2,11],[3,6],[-3,-1],[5,10],[1,3],[-8,1],[1,10],[1,5],[-3,1],[1,11],[2,2],[2,0],[3,2],[-3,2],[-3,0],[-4,-1],[-3,1],[-2,-1],[1,-4],[-1,-5],[0,-4],[-3,-2],[-2,-4],[0,-3],[-1,-3],[4,-3],[2,-6],[0,-8],[-5,-17],[-2,-4],[-12,-11],[-5,-6],[-10,-7],[-4,-2],[-5,2],[-6,6],[-10,14],[-3,5],[-8,19],[-5,10],[-10,18],[-5,12],[-1,5],[0,6],[2,3],[2,-2],[3,-6],[1,-1],[8,7],[3,0],[2,3],[2,-1],[5,6],[3,0],[2,1],[4,14],[3,9],[3,2],[-1,2],[0,3],[-2,-1],[-2,-5],[0,-2],[-4,1],[-10,-6],[-3,-5],[-2,-1],[-12,5],[-12,12],[-5,8],[-3,10],[-3,12],[1,3],[5,7],[1,4],[-6,-6],[-3,-5],[-3,-2],[-2,15]],[[6892,6557],[4,5],[5,2],[7,0],[0,18],[2,1],[1,-2],[2,2],[2,-2],[2,1],[2,-1],[3,0],[6,1],[3,-1],[4,-5],[3,-1],[6,2],[2,5],[5,4],[6,3],[1,1],[1,-2],[0,-6],[4,-3],[3,2],[3,6],[2,-1],[1,3],[-2,5],[0,7],[2,4],[0,4],[-2,8],[-2,10],[-3,8],[-4,13],[1,11],[-1,3],[-2,2],[-2,-1],[-5,0],[-1,1],[-5,12],[-1,4],[0,5],[2,8],[0,8],[1,7],[-3,6],[-4,1],[-5,2],[-4,4],[-3,4],[0,11],[1,10],[1,3],[3,5],[2,2],[9,22],[2,9],[5,8],[2,2],[3,0],[4,-5],[0,-5],[1,-4],[3,-4],[3,1],[11,8],[7,1],[5,2],[4,3],[2,12],[7,14],[1,9],[3,10],[8,9],[8,7],[1,4],[5,16],[4,14],[1,9],[2,9],[3,3],[5,3],[4,4],[4,7],[-1,3],[-1,7],[4,7],[5,15],[4,7],[1,0],[4,4],[3,4],[-1,4],[-2,1],[0,8],[2,12],[0,3],[-2,11],[0,3],[3,7],[12,12],[2,0],[3,3],[2,4],[0,6],[-2,3],[-7,5],[-6,0],[-3,2],[-1,6],[1,9],[-5,1],[-4,0],[-1,2],[1,3],[-1,4],[0,4],[-1,0],[-4,4],[-4,7],[0,3],[2,3],[2,5],[0,4],[1,3],[-3,5],[-2,2],[0,9],[6,6],[1,4],[-1,3],[-3,0],[-4,1],[-1,1],[0,4],[2,5],[0,2],[-2,3],[-3,2],[0,6],[4,13],[10,7],[18,-7],[6,-1],[2,-2],[10,-5],[3,0],[4,3],[2,3],[3,3],[4,0],[8,5],[3,-1],[3,3],[2,3],[0,2],[7,7],[1,4],[0,3]],[[7139,7206],[7,7],[3,4],[5,4],[3,4],[3,3]],[[7689,4482],[-1,1],[0,2],[1,0],[0,-3]],[[7936,4579],[-1,-4],[-3,3],[0,3],[2,0],[1,2],[1,-4]],[[7012,4758],[0,-2],[-1,-1],[-1,6],[2,3],[1,-1],[-1,-5]],[[4723,8289],[-2,0],[-1,2],[-6,1],[2,3],[1,-1],[4,0],[2,-5]],[[4826,8299],[2,-4],[-5,-2],[0,-6],[2,-3],[2,-11],[2,-8],[-1,-2],[1,-4],[-1,-2],[1,-4],[2,-12],[1,-9],[-2,-4],[-3,-11],[-1,-7],[-3,-8],[-4,-4],[4,-5],[-3,-3],[-3,-1],[-4,2],[-2,0],[-4,-3],[-1,5],[-2,-5],[-2,-2],[-3,1],[-9,-3],[-2,-5],[-2,-2],[-6,-2],[-2,-4],[-3,-3],[-2,0],[-4,4],[-2,-2],[0,-7],[-3,-1],[-4,-4],[-4,-1],[-2,-2],[-13,-5],[-1,-1],[-2,2],[-4,0],[-5,-3],[-3,1],[3,7],[5,3],[-1,2],[-9,-3],[-6,-3],[1,4],[9,9],[-9,-3],[-4,1],[0,2],[-3,-1],[-1,4],[6,9],[6,3],[1,2],[-2,1],[-12,0],[1,4],[4,4],[3,1],[5,-3],[5,1],[-2,2],[-2,7],[4,3],[3,5],[2,1],[7,1],[7,2],[8,4],[-4,1],[-2,3],[-3,-5],[-2,-2],[-6,-1],[-5,2],[-1,-2],[-4,-2],[0,4],[7,7],[3,7],[-2,3],[5,9],[4,1],[2,2],[2,0],[2,3],[-3,2],[-13,0],[-2,2],[-1,3],[-6,-1],[-1,2],[2,3],[-6,0],[-2,1],[1,4],[-2,1],[0,3],[3,0],[4,2],[-1,4],[0,4],[4,3],[5,1],[0,5],[-5,0],[-4,-1],[0,4],[1,4],[0,5],[-2,-1],[0,4],[-1,2],[-3,-1],[0,3],[2,4],[5,-1],[3,2],[11,0],[5,-5],[3,4],[8,-1],[4,-2],[2,1],[-3,6],[2,3],[9,6],[1,4],[2,4],[-9,-2],[-8,4],[1,3],[5,3],[4,6],[-1,4],[1,3],[2,2],[1,6],[4,0],[4,2],[5,1],[1,3],[3,0],[3,-5],[0,-3],[-2,-4],[1,-3],[3,3],[0,6],[-1,5],[2,2],[4,1],[-2,4],[4,0],[2,-3],[6,-4],[-3,-4],[-3,-2],[-1,-2]],[[6560,6734],[-3,-7],[-4,-6],[-3,2],[-5,-3],[-3,-4],[-4,-2],[-3,1],[1,3],[5,4],[7,6],[-1,6],[1,1],[4,-2],[4,4],[4,2],[2,-3],[-2,-2]],[[6356,7397],[1,-17],[3,-21],[2,-6],[3,-4],[5,-5],[3,-1],[7,-1],[7,-2],[4,-2],[3,-4],[3,-11],[6,-8],[11,-11],[5,-4],[18,-8],[12,1],[32,14],[11,3],[2,-2],[-4,-2],[2,-2],[6,0],[2,5],[-1,3],[-1,13],[-2,9]],[[6496,7334],[8,0],[3,1],[8,5],[2,0],[1,2],[2,1],[2,13],[7,10],[4,5],[4,4],[6,3],[7,-1],[9,0],[2,-1],[2,1],[0,6],[4,3],[3,0],[3,1],[7,-3],[8,0],[3,-4],[0,-3],[1,-3],[0,-4],[5,-2],[5,-1],[5,-3],[2,-2],[4,-2],[4,-7],[5,-2],[3,3],[4,-2],[4,2],[3,-2],[8,-8],[1,1],[2,-3],[1,-8],[2,-5],[3,-4],[11,-8],[3,-5],[3,-7],[4,-11],[23,0],[1,-4],[0,-16],[1,-6],[0,-5],[-1,-3],[0,-5],[1,-1],[1,-5],[0,-12],[1,-2]],[[6689,6903],[5,-11],[4,-7],[5,-12],[0,-4],[6,-23],[5,-11],[4,-7],[4,-4],[3,0],[6,-4],[6,-10],[5,1],[0,-15],[1,-11],[1,-18],[-2,-8],[0,-6],[4,-2],[8,2],[2,-3],[1,-4],[-2,-8],[1,-7],[-2,-2],[-1,-11],[-2,-1],[-9,1],[-3,-3],[-6,-2],[-3,-4],[-2,-4],[0,-4],[-3,1],[-1,-3],[-7,-4],[-1,-5],[-2,-19],[-2,-3],[0,-5],[-1,-6],[-1,-17],[0,-5]],[[6710,6635],[-2,0],[-1,-3],[-2,-3],[-5,2],[-4,3],[-12,6],[-1,2],[-1,5],[-2,1],[-3,-7],[-11,4],[-3,-1],[-3,2],[-5,0],[-5,5],[-6,-3],[-5,-1],[-7,8],[-7,2],[-9,0],[-5,3],[-3,3],[-4,-2],[-1,4],[-12,4],[-2,7],[-1,7],[0,7],[-3,12],[-1,18],[-2,13],[-2,5],[-3,6],[-2,2],[-11,4],[-6,-3],[-5,-6],[-8,-4],[-2,-2],[-2,-6],[-3,-4],[-3,1],[-4,-3],[-7,-10],[-4,-3],[-3,0],[-4,5],[-7,6],[-5,2],[-7,-1],[-3,1],[-6,7],[-1,5],[-3,4],[-10,8],[-8,10],[-2,4],[-1,6],[-3,7],[-8,6],[-5,6],[-5,1],[-5,0],[-2,1],[-2,3],[-7,13],[0,5],[-4,12],[-1,5],[-1,12],[-1,3],[-4,5],[-1,3],[1,5],[0,3],[-2,3],[-3,2],[-1,4],[0,12],[-3,7],[-5,8],[-4,11],[-2,3],[-2,16],[-3,0],[-12,-10],[-3,6],[-11,10],[-1,4],[3,2],[2,-2],[2,2],[-1,3],[-2,3],[-4,-1],[1,-3],[-3,-3],[-1,-4],[0,-5],[1,-7],[-3,-5],[-4,0],[-2,-3],[-2,-1]],[[6347,6909],[-3,4],[-1,5],[0,7],[-3,4],[-2,1],[-2,5],[-2,3],[-1,0],[0,21],[-1,9],[-4,1],[-5,0],[0,23],[4,23],[-3,8],[-3,9],[-2,3],[-3,11],[-1,5],[-1,2],[-2,1],[-4,-1],[-9,13],[-7,8],[-5,6],[-2,1],[-5,1],[-1,1],[0,6],[2,5],[0,3],[-5,14],[-3,1],[1,3],[0,3],[-1,2],[-4,-1],[-1,5],[-6,13],[-2,2],[1,5],[3,6],[0,8],[-3,8],[2,6],[0,3],[4,0],[0,10],[1,3],[6,13],[4,3],[2,3],[1,4],[-1,2],[0,5],[-3,6],[-1,5],[2,9],[4,2],[2,2],[0,2],[-3,3],[-12,0],[-2,6],[-3,3],[-4,1],[-1,3],[-3,17],[-1,3],[-3,0],[-2,4],[0,11],[-4,8],[-4,20]],[[6242,7323],[0,4],[1,4],[-2,4],[-4,5],[0,9],[-1,2],[1,6],[-5,5],[-2,3],[-3,0],[0,5],[2,4],[2,6],[0,4],[1,3],[2,3],[-1,3],[-4,1],[0,15],[-1,3],[1,8],[-3,6],[-1,3],[1,2],[0,7],[-3,4],[0,6],[-1,4],[3,1],[5,-1],[2,2],[2,14],[1,4],[2,2],[4,-5],[3,-2]],[[6332,6910],[-7,6],[-2,1],[-4,0],[-5,-1],[-3,-2],[-4,-6],[-1,-7],[-2,-9],[-2,-7],[-6,-16],[-5,-10]],[[6291,6859],[-4,-2],[-24,4],[-13,2],[-10,2],[-9,14],[-7,10],[-9,14],[-9,13],[-10,14],[-7,10],[-8,13],[-7,11],[-6,9],[-8,9],[-22,22],[-6,7],[-12,12],[-18,6],[-10,3],[-6,2]],[[6086,7034],[4,6],[-1,7],[-3,-1],[-3,-2],[-1,10],[2,1],[-2,12],[-4,26],[-2,12]],[[6076,7105],[8,9],[14,14],[8,9],[16,16],[7,8],[7,3],[1,2],[4,11],[2,9],[0,15],[1,15],[2,15],[2,5],[0,10],[-2,7],[-1,8],[0,12],[1,6],[3,7],[11,5],[5,9],[3,4],[8,16],[0,1]],[[6176,7321],[2,1],[5,7],[3,6],[1,1],[5,-3],[4,3],[2,-2],[4,-1],[7,-5],[3,0],[5,-1],[4,5],[3,0],[1,-1],[2,-5],[0,-11],[2,-2],[3,5],[3,3],[3,4],[4,-2]],[[6347,6909],[-2,-1],[-3,1],[-6,5],[-2,0],[-2,-2],[0,-2]],[[4567,8998],[3,0],[8,3],[5,5],[3,1],[5,-1],[-6,-5],[-3,-6],[-3,-4],[3,-3],[3,-1],[5,1],[2,-6],[-5,-11],[11,2],[2,-1],[0,-4],[2,-5],[4,1],[6,-1],[3,-2],[1,-3],[3,1],[2,-4],[-2,-5],[-3,-2],[2,-4],[2,0],[0,-3],[-3,-3],[5,-3],[0,-4],[-2,-3],[-6,-1],[1,-5],[-1,-3],[-5,-7],[-7,-1],[-5,-5],[2,-3],[-4,-8],[-13,-8],[-7,0],[-6,-3],[-10,-4],[-11,-8],[-6,-7],[-8,-4],[-10,-2],[-15,-4],[-5,-2],[0,-2],[-3,-2],[1,-3],[-1,-3],[-4,-2],[-5,1],[1,-3],[-12,-4],[-17,2],[-6,3],[-8,3],[-5,1],[-7,0],[-6,5],[-2,3],[0,3],[-5,-1],[-2,4],[-4,0],[-4,2],[-6,6],[-6,-5],[-25,0],[-8,-1],[-1,2],[-2,9],[1,3],[2,0],[2,-4],[2,-1],[9,3],[5,3],[5,6],[1,5],[3,4],[2,1],[-1,2],[-9,-5],[-2,0],[2,4],[-1,1],[1,6],[7,5],[3,1],[-2,2],[-7,-5],[-5,-2],[-5,3],[-1,4],[2,4],[-6,4],[-7,0],[-17,2],[-4,-1],[-6,-3],[-4,-1],[-3,2],[-2,7],[4,2],[5,-1],[6,2],[3,0],[4,3],[3,-2],[8,3],[1,2],[3,-1],[5,0],[5,1],[12,0],[2,2],[2,5],[-1,1],[-7,-4],[-10,2],[-3,3],[5,5],[5,3],[7,3],[1,3],[-4,3],[-9,-1],[-2,3],[-7,2],[-5,-1],[-2,2],[-6,-3],[-14,-4],[-8,-3],[-3,2],[-6,2],[-6,1],[-1,1],[4,5],[2,1],[8,-4],[-1,8],[-3,4],[1,1],[5,-1],[8,-5],[4,1],[4,4],[-7,0],[-3,1],[-4,4],[3,2],[6,0],[-7,7],[1,4],[7,-3],[0,2],[-3,2],[1,3],[5,2],[8,-5],[2,-3],[0,-3],[5,0],[3,3],[3,-2],[2,-6],[3,1],[0,9],[-12,6],[-2,3],[8,4],[-1,2],[-4,-1],[-8,1],[1,3],[4,3],[14,0],[7,-8],[6,-2],[0,-1],[9,-9],[7,-5],[-4,-2],[4,-2],[2,-3],[-2,-8],[-2,-3],[0,-3],[3,-4],[-2,-6],[3,0],[2,-3],[2,-6],[2,-1],[1,8],[2,1],[1,7],[4,4],[4,1],[3,-4],[3,-1],[3,9],[0,6],[-1,7],[2,8],[3,1],[5,-3],[4,-7],[6,-8],[5,-2],[1,2],[0,14],[2,2],[5,1],[5,4],[6,1],[6,-6],[3,-6],[5,-5],[3,-7],[2,-1],[0,5],[-1,4],[-5,11],[1,4],[11,-1],[9,-10],[4,3],[9,11],[5,-4],[5,-1],[3,3],[4,1],[2,5],[-3,10],[1,2],[7,2],[6,0],[5,-5],[4,-5],[0,-4],[4,-3]],[[5986,7049],[-4,3],[0,3],[-6,2],[-3,-4],[-2,-7],[0,-3],[-1,-7],[0,-5],[1,-5],[0,-7],[-1,-3],[3,1],[4,-3],[0,-2],[-2,-1],[-3,-3],[-2,-4],[-1,-4],[-1,-10],[1,-1],[5,1],[5,3],[3,4],[2,-1]],[[5984,6996],[-2,-14],[1,-1],[0,-5],[-1,-8],[-3,-11],[-1,-7],[-2,-9],[-1,-6],[0,-16],[-2,-9],[0,-5],[-3,-19]],[[5970,6886],[-2,-5]],[[5950,6981],[3,5],[0,4],[5,9],[-1,4]],[[5957,7003],[5,17],[4,18],[3,24],[2,12],[2,8],[1,7]],[[5974,7089],[6,0],[3,-1],[2,3],[1,7],[1,2],[1,-2],[1,2],[3,3],[2,5],[1,1]],[[5995,7109],[0,-4],[-1,-2],[0,-3],[2,-5],[0,-3],[-1,-3],[0,-3],[1,-2],[0,-3],[-1,-5],[-2,-4],[0,-3]],[[5993,7069],[-5,-3],[-1,-4],[-1,-13]],[[5334,7300],[-2,0],[-1,2],[0,3],[2,-1],[1,-4]],[[5432,7385],[-2,-7],[-8,-18],[-1,-4],[0,-4],[-3,-11],[1,-7],[3,-5],[-2,-3],[2,-4],[2,-2],[0,-5],[-3,-4],[-2,-6],[0,-9],[-3,1],[-3,2],[-4,-1],[-7,5],[-4,10],[-3,4],[-3,3],[-3,1],[-4,-1],[-3,2],[-6,7],[-9,9],[-2,4],[-4,2],[-3,3],[-2,1],[-4,-1],[-5,6],[-3,9],[4,13],[1,2],[2,1],[2,5],[4,-9],[2,0],[2,3],[1,3],[3,3],[3,0],[2,-1],[2,-4],[2,0],[6,-7],[2,0],[7,3],[7,-1],[6,2],[4,2],[2,4],[2,1],[5,0],[4,-1],[2,1],[2,3],[2,0],[4,4],[2,0],[2,-2],[-1,-2]],[[5235,7434],[-2,-6],[-2,4],[0,4],[4,-2]],[[5386,7528],[-2,0],[0,3],[3,-1],[-1,-2]],[[5229,7547],[-1,-3],[-1,3],[3,5],[1,-1],[-2,-4]],[[5267,7538],[1,-4],[3,-15],[0,-6],[-4,-10],[0,-7],[2,-8],[-1,-5],[-2,-33],[-1,-6],[0,-5],[-3,-1],[-6,4],[-3,-1],[-2,2],[-1,-11],[-4,-7],[-3,-1],[-4,1],[-2,6],[-4,10],[0,5],[-1,11],[2,5],[1,9],[1,1],[0,6],[-1,3],[-2,1],[-1,4],[2,6],[0,12],[-2,9],[-1,3],[-2,3],[-1,3],[-2,3],[0,7],[1,5],[0,3],[4,-4],[3,-1],[3,1],[4,3],[3,3],[5,9],[5,4],[0,4],[1,1],[2,-4],[2,0],[3,-3],[2,-5],[2,-2],[-2,-5],[3,-3]],[[5288,7652],[1,-4],[-1,-1],[0,-3],[-2,2],[-3,-1],[-3,0],[0,4],[4,0],[3,1],[1,2]],[[5380,7863],[-1,-4],[-1,0],[-5,-5],[-2,-3],[0,-5],[2,0],[2,-2],[3,-1],[-1,-3],[-2,-2],[-2,-5],[1,-2],[3,1],[-1,-10],[3,-1],[4,-7],[1,-5],[-4,0]],[[5380,7809],[2,2],[-4,9],[-2,0],[-3,-4],[-7,4],[-2,-2],[-1,-3],[-2,-3],[-4,-2],[-11,-8],[-2,0],[-2,2],[-2,-3],[-1,-5],[0,-7],[1,-2],[3,-9],[4,-5],[-2,-7],[-2,-2],[-3,2],[-1,-7],[2,-17],[2,-11],[3,-6],[5,-8],[6,-4],[11,-13],[8,-7],[3,-11],[3,-12],[6,-28],[5,-10],[10,-16],[9,-11],[8,-6],[7,-2],[15,2],[3,-1],[3,-2],[1,-4],[-1,-3],[-4,-4],[-3,-4],[0,-7],[3,-4],[15,-12],[15,-10],[5,-5],[5,-7],[14,-11],[2,-5],[8,-11],[4,-9],[0,-7],[-1,-7],[-1,-4],[-2,-5],[-3,2],[-4,5],[-6,19],[-11,2],[-6,5],[0,2],[-2,4],[-4,1],[-3,-3],[-7,-19],[-4,-16],[0,-6],[2,-7],[6,-3],[5,-6],[3,-5],[1,-15],[1,-7],[-2,-5],[-4,1],[-6,-3],[-3,-5],[-2,-5],[0,-17],[-8,-10],[-4,-9],[-2,-8],[-9,0],[-2,5],[-1,8],[2,5],[3,2],[3,11],[-1,7],[1,4],[2,2],[6,3],[0,10],[-3,5],[-1,7],[-1,12],[-5,16],[-2,14],[-2,7],[-3,3],[-6,0],[-2,1],[-10,10],[0,4],[1,4],[-2,10],[-2,5],[-2,2],[-6,-3],[-2,1],[-4,-2],[4,7],[-1,2],[-4,3],[-5,1],[-1,-2],[-1,1],[0,3],[-5,15],[-5,7],[-4,-1],[-5,3],[-5,0],[-2,-2],[-2,1],[0,2],[-5,6],[-6,4],[-12,20],[-4,7],[-7,8],[-5,12],[-4,4],[-5,4],[-3,-2],[-3,1],[1,2],[2,1],[-1,4],[-6,12],[-4,4],[-4,9],[-2,-1],[-2,1],[0,6],[1,4],[-3,13],[-3,9],[-2,19],[-2,6],[-4,4],[-9,4],[-12,13],[-3,0],[-7,5],[-5,1],[-5,-4],[-8,-13],[-6,-12],[-2,-2],[-7,-5],[-7,-2]],[[5343,7714],[1,-2],[2,0],[1,3],[-2,2],[-2,-3]],[[2853,6246],[3,-2],[4,-1],[3,0],[3,-5],[3,-3],[9,-6],[4,-11],[0,-3],[-2,-2],[-3,-1],[-3,0],[-3,2],[-1,2],[-3,1],[-1,2],[-2,0],[-2,-8],[-3,1],[-1,2],[-2,-3],[-1,-7],[-2,3],[-3,3],[-3,2],[-5,0],[-3,1],[-2,6],[-1,2],[-2,2],[-3,7],[0,1],[-7,2],[-1,4],[0,3],[3,5],[1,1],[3,0],[3,1],[3,3],[12,-3],[2,0],[3,-1]],[[4943,8019],[0,-3],[-6,0],[0,5],[6,-2]],[[5984,6996],[0,5],[1,7],[2,5],[-1,13],[0,6],[1,8],[-1,9]],[[5993,7069],[3,-1],[2,-3],[3,-8],[4,-2],[2,-2],[2,-4],[3,-2],[10,-2],[13,15],[8,9],[5,5],[8,10],[6,6],[7,8],[7,7]],[[6086,7034],[-4,-7],[-6,-4],[-11,-5],[-7,-4],[-18,-9],[-14,-8],[10,-20],[9,-18],[4,-9],[5,-10],[-9,-9],[-1,-2],[-4,-18],[-8,-3],[-7,-3],[-5,-1],[-2,-2],[-6,-20],[-5,-8],[-6,-9],[-2,0],[-11,3],[-7,3],[-5,1],[-6,2]],[[5970,6874],[1,8],[-1,4]],[[8440,6582],[-2,-1],[-4,1],[0,2],[2,2],[1,4],[4,-3],[0,-3],[-1,-2]],[[8451,6595],[-1,-9],[-2,-1],[-1,1],[-2,5],[1,2],[3,-1],[2,7],[1,-1],[-1,-3]],[[8483,6608],[-2,-1],[-3,1],[1,8],[1,-1],[0,-3],[3,-4]],[[8948,6716],[-2,6],[2,0],[1,-4],[-1,-2]],[[8561,6718],[-2,-2],[-1,-3],[-3,-1],[-2,-5],[-2,-1],[0,-3],[1,-3],[-2,-1],[-2,-3],[0,-3],[1,-3],[-2,-4],[-2,0],[-1,4],[1,2],[2,7],[0,7],[2,2],[4,7],[-2,2],[0,3],[1,1],[2,-1],[1,-2],[2,1],[3,8],[1,5],[2,-4],[0,-6],[-2,-4]],[[8582,6780],[-1,-1],[-2,1],[0,10],[2,1],[1,-6],[0,-5]],[[8591,6802],[0,-1],[-3,1],[-1,5],[2,-1],[2,-4]],[[8595,6808],[-3,-5],[-2,5],[-3,2],[2,2],[0,2],[2,3],[5,2],[2,2],[3,5],[1,-5],[-2,-1],[-4,-7],[-2,-2],[1,-3]],[[8627,6926],[-3,-1],[-2,1],[-1,8],[3,4],[4,-4],[-1,-8]],[[8636,6934],[-2,-1],[0,4],[2,7],[0,6],[2,7],[2,0],[-1,-9],[-2,-6],[-1,-8]],[[8620,7051],[-3,0],[-1,2],[4,4],[3,-1],[-3,-5]],[[8612,7040],[-2,-2],[0,7],[-1,1],[1,7],[0,3],[4,2],[1,-3],[0,-9],[-3,-6]],[[8573,7072],[1,-2],[3,1],[2,-5],[0,-2],[-3,-1],[-1,-3],[-2,1],[-1,2],[1,9]],[[8883,7087],[-2,2],[0,2],[3,-2],[-1,-2]],[[8584,7075],[-1,-1],[0,5],[-1,2],[1,1],[2,6],[1,-4],[0,-3],[-1,-1],[-1,-5]],[[8596,7097],[-2,-3],[0,5],[1,4],[1,-3],[0,-3]],[[8604,7127],[-2,-2],[-1,2],[0,5],[1,1],[2,-1],[0,-5]],[[8642,7119],[4,-2],[2,0],[3,3],[3,2],[3,-3],[1,-3],[-3,-9],[-3,-7],[5,-1],[5,0],[-1,-4],[0,-4],[3,-4],[-1,-4],[3,-4],[-1,-4],[-7,-14],[-4,-16],[-2,-12],[0,-6],[-2,-7],[1,-6],[-1,-7],[-3,-15],[-3,0],[-3,2],[-2,0],[0,-3],[1,-7],[-5,-9],[-6,-5],[0,4],[2,4],[1,6],[-1,7],[-2,8],[0,3],[2,1],[1,2],[0,3],[-1,2],[-3,0],[-3,-9],[-1,-6],[1,-3],[0,-3],[3,-5],[-2,-5],[-11,7],[-1,6],[4,3],[1,8],[-2,6],[-2,4],[1,5],[-1,6],[0,8],[4,3],[4,9],[2,9],[3,9],[-4,2],[2,5],[-1,5],[-3,7],[-2,8],[-2,4],[-2,1],[-3,-4],[2,-5],[-1,-5],[1,-5],[4,1],[1,-3],[0,-3],[-2,-5],[-3,2],[-1,3],[-3,1],[-3,-3],[-2,-6],[-3,-3],[2,9],[-1,3],[-3,6],[0,3],[-1,4],[1,3],[3,-4],[1,-5],[2,-2],[3,-1],[-2,8],[-10,15],[1,6],[2,1],[4,-2],[1,3],[-1,3],[3,3],[5,3],[1,4],[3,-1],[3,3],[2,5],[0,3],[1,3],[5,5],[5,0],[3,-3],[2,-5],[1,-6],[3,-4]],[[8673,7138],[1,-2],[3,1],[0,-2],[-2,-2],[-4,1],[0,5],[2,-1]],[[8681,7148],[0,-2],[-3,1],[2,4],[1,-3]],[[8590,7149],[-2,-3],[-1,4],[1,10],[3,-2],[0,-3],[-1,-6]],[[8731,7156],[4,-2],[4,1],[-1,-11],[2,-7],[0,-4],[1,-2],[-5,-5],[-5,-7],[-2,-5],[-3,-16],[-2,3],[-4,9],[-3,2],[-5,2],[-11,-9],[-1,-7],[-4,-12],[-2,-1],[0,-2],[-2,-8],[-3,-5],[-4,1],[-2,-1],[2,8],[-3,1],[-3,0],[0,5],[-2,3],[2,4],[0,5],[1,5],[-3,2],[0,6],[-4,-1],[-5,-4],[0,3],[5,4],[2,3],[8,10],[2,6],[0,3],[2,8],[2,2],[2,4],[2,0],[1,-6],[3,-4],[4,3],[5,0],[3,3],[2,6],[0,6],[2,0],[3,4],[3,3],[4,0],[4,-2],[4,-4]],[[8731,7169],[-1,0],[-2,-3],[-2,4],[0,2],[5,0],[0,-3]],[[8747,7158],[-3,-5],[-3,1],[-2,5],[3,4],[2,6],[2,3],[3,1],[-3,-8],[1,-7]],[[8593,7162],[-1,-3],[-3,4],[2,9],[0,5],[4,4],[0,-8],[-2,-7],[0,-4]],[[8872,7183],[-1,-2],[-1,2],[0,3],[2,0],[0,-3]],[[8703,7269],[-1,-3],[-2,1],[-2,3],[1,4],[2,2],[3,-5],[-1,-2]],[[8842,7362],[-2,2],[1,8],[-2,0],[0,5],[1,4],[5,8],[1,-2],[-1,-8],[0,-3],[3,0],[-2,-9],[-4,-5]],[[8922,7566],[1,-1],[5,3],[-2,-18],[1,-14],[0,-7],[1,-7],[2,-4],[3,-3],[4,-11],[3,-13],[2,-13],[1,-3],[0,-3],[-1,-4],[1,-3],[-2,-23],[-1,-6],[-2,-4],[-4,-4],[-1,-3],[0,-3],[-2,-3],[-1,-3],[0,-8],[-2,-13],[-2,-1],[-4,0],[-5,-4],[-3,-9],[-1,-6],[0,-6],[2,-14],[1,-14],[-1,-20],[-1,-6],[-3,-7],[-2,-2],[-1,-7],[-3,-13],[0,-7],[-2,-9],[2,-10],[4,-12],[1,-4],[2,-3],[-7,-4],[-1,-1],[-4,-7],[-1,-7],[0,-7],[-3,-7],[-4,-3],[-3,-4],[-3,-5],[-1,-3],[-2,1],[-1,3],[1,3],[0,16],[2,3],[1,5],[4,6],[0,3],[-1,3],[-2,2],[-4,-1],[-2,-6],[0,-3],[-3,-5],[0,-5],[2,-6],[-3,-5],[-2,6],[-2,3],[-3,0],[-3,-1],[-3,-4],[-1,-3],[0,-11],[-1,-7],[-2,-6],[-3,-6],[-2,-1],[-2,5],[1,10],[0,6],[3,3],[-2,4],[-3,1],[-4,-2],[-2,-6],[-7,-14],[-2,-8],[-6,3],[-6,0],[-6,1],[-6,-2],[-7,-3],[0,2],[6,5],[0,4],[-5,-1],[-2,1],[-2,4],[-1,-1],[1,-6],[-1,-1],[-1,2],[0,4],[-1,6],[0,4],[1,3],[-1,2],[-3,-2],[-5,-14],[-1,-6],[3,-5],[7,-9],[0,-3],[-1,-4],[-8,-4],[-6,-4],[-2,-5],[-6,-18],[-4,-13],[-6,-4],[-7,4],[-3,10],[-5,10],[-1,6],[0,10],[-1,6],[1,2],[4,4],[3,6],[1,3],[0,4],[-2,2],[-4,0],[-4,-1],[-3,2],[-4,5],[-2,1],[-4,0],[-3,-1],[-3,-2],[-3,0],[-8,-11],[-3,-2],[-5,0],[-6,-4],[-1,1],[-8,-8],[-3,2],[-7,-5],[-3,0],[-4,2],[-3,4],[-3,-2],[-2,-5],[-1,-12],[-2,-11],[-11,13],[-7,-2],[-7,-4],[-2,1],[-2,3],[-3,-1],[-2,-2],[-1,17],[2,5],[2,2],[3,1],[4,-1],[2,1],[3,4],[4,8],[4,3],[3,3],[6,10],[6,8],[9,16],[4,8],[5,4],[6,2],[3,0],[4,-5],[3,2],[3,1],[4,-1],[6,0],[7,2],[3,3],[4,2],[11,2],[8,5],[3,-1],[0,-4],[-1,-4],[1,-2],[2,-1],[7,-1],[3,-1],[6,6],[5,9],[-2,7],[0,6],[1,8],[3,6],[3,3],[2,5],[6,12],[4,10],[1,12],[-1,14],[4,10],[13,9],[1,-5],[-6,-9],[-3,-4],[-3,-3],[-1,-3],[3,-5],[1,-4],[0,-7],[3,-4],[3,-1],[3,1],[4,9],[0,2],[12,6],[5,5],[3,1],[3,3],[9,15],[2,5],[1,6],[2,6],[2,4],[10,10],[4,7],[2,15],[1,6],[4,11],[3,5],[4,26],[4,10],[0,20],[-3,8],[-4,-1],[-2,3],[1,2],[2,0],[2,3],[2,7],[1,7],[0,3],[-1,6],[-2,7],[0,4],[3,7],[4,2],[3,3],[0,2],[2,6],[0,3],[-1,9],[2,4],[2,-1],[3,0],[2,-1],[1,-17],[2,-4],[2,0],[2,6],[1,0],[6,-3],[3,6],[1,7],[-1,6],[-1,2],[-4,-3],[-7,-3],[0,6],[1,10],[1,3],[2,2],[3,-2],[5,-6]],[[8873,7607],[-1,0],[-1,5],[2,4],[2,0],[-1,-8],[-1,-1]],[[8923,7782],[-4,2],[0,3],[3,2],[2,-3],[-1,-4]],[[8917,7794],[-1,-3],[-2,11],[3,-1],[0,-7]],[[8994,7724],[5,0],[2,-1],[11,-8],[6,-2],[3,1],[8,13],[7,10],[1,-3],[-4,-12],[-3,-12],[-1,-6],[1,-6],[4,-11],[2,-10],[4,-1],[3,3],[2,3],[2,1],[0,-3],[-3,-3],[-3,-6],[-1,-1],[-4,0],[-3,-2],[-6,-6],[-3,-2],[-3,0],[-5,-3],[-3,0],[-6,2],[-3,0],[-6,-6],[-6,-7],[-5,-9],[-4,-10],[-2,-6],[-1,-6],[0,-8],[-3,-5],[-3,2],[-6,5],[-11,8],[-12,13],[-6,6],[-12,-2],[-12,-12],[-1,1],[-7,11],[-2,1],[-4,0],[-3,-5],[-2,-6],[0,-2],[3,-8],[3,-4],[2,-1],[3,1],[1,-1],[5,-8],[5,-7],[1,-3],[-4,-4],[-5,2],[-4,3],[-5,-8],[-3,-9],[-3,-4],[-3,-2],[-2,1],[-3,8],[1,7],[2,6],[1,6],[-2,9],[-4,7],[-2,5],[0,10],[1,8],[0,4],[4,2],[6,6],[3,4],[3,5],[1,6],[-3,11],[0,3],[3,3],[3,-2],[5,-6],[5,0],[5,-2],[5,2],[2,4],[1,6],[-1,8],[0,7],[2,6],[4,10],[1,6],[1,14],[2,12],[1,14],[-2,13],[-4,12],[2,11],[0,2],[4,2],[4,6],[2,-2],[1,-3],[4,-6],[7,-12],[8,-17],[5,-9],[5,-8],[6,-8],[10,-10],[3,-5],[2,-1]],[[6393,7767],[-1,-2],[-2,0],[-2,7],[1,0],[1,-4],[3,-1]],[[6396,7774],[-1,3],[1,3],[1,0],[0,-5],[-1,-1]],[[6462,7799],[-2,1],[-1,3],[1,3],[2,-1],[1,-3],[-1,-3]],[[7227,7613],[-4,7],[-4,6],[-3,2],[-6,1],[-3,0],[-2,1],[-6,11],[-1,5],[-1,1],[-2,-1],[-5,1],[-7,3],[-3,2],[-4,1],[-2,-1],[-8,0],[-6,2],[-8,0],[-2,1],[-6,0],[-7,4],[-1,-1],[-12,-3],[-8,1],[-12,0],[-3,-6],[-1,-1],[-8,2],[-9,4],[-6,4],[-5,4],[-8,7],[-4,4],[0,-2],[-2,-1],[-5,0],[-2,-3],[-7,-5],[-2,-3],[-4,-23],[2,-11],[-5,3],[-3,4],[-9,2],[-3,4],[-6,2],[-8,5],[-3,0],[-9,4],[-3,0],[-3,-3],[-3,0],[-2,1],[-5,-3],[-4,-9],[-2,-3],[-1,-4],[-3,-7],[0,-3],[2,-2]],[[6970,7617],[-3,-3],[-3,0],[-2,-5],[-2,-3],[-2,-1],[-1,2],[-2,0],[-3,-3],[-2,-5],[-4,-7],[-4,-4],[-5,-3],[-3,-1],[-3,-3],[-4,-5],[-1,-3],[-4,-2],[-5,-5],[0,-6],[-6,-8],[-5,-9],[-3,-8],[0,-4],[1,-3],[0,-5],[-3,-1],[-5,3],[-4,4],[-3,5],[0,3],[1,6],[1,3],[-2,2],[-2,4],[-1,4],[-4,-2],[-2,2],[-5,-1],[-5,0],[-4,-1],[-5,0],[-6,-1],[-3,2],[-2,10],[-4,31],[0,6],[-8,0],[-6,1],[0,5],[1,6],[0,7],[1,9],[0,17],[1,6],[0,6],[-6,-4],[-2,-2],[-2,5],[-7,20],[-6,6],[-3,4],[-2,5],[-3,4],[-2,4],[-3,-1],[-3,-2],[-3,-3],[-4,-3],[-4,0],[-3,1],[-5,0],[-9,2],[-7,0],[-6,1],[-10,-2],[-6,-2],[-5,-1],[-6,-2],[-7,-1],[-8,13],[-2,5],[-7,11],[-6,10],[-2,5],[-1,6],[-5,6],[-4,4],[-4,3],[-4,4],[-3,4],[-8,8],[-4,3],[-8,8],[-3,4],[-4,4],[-4,3],[-15,15],[-4,3],[-7,-2],[-5,-2],[-12,-6],[-6,-2],[-14,-7],[-5,-2],[-5,-3],[-14,-6],[-3,-2],[0,-27],[0,-26],[0,-26],[0,-27],[0,-26],[0,-27],[0,-26],[0,-27]],[[6554,7563],[-4,0],[-8,-3],[-3,2],[-2,3],[-1,3],[-2,3],[-3,6],[-6,14],[0,4],[-2,5],[-5,7],[-13,13],[-3,2],[-3,0],[-2,-1],[-7,-1],[-5,-3],[-7,-3],[-7,-4],[-4,-4],[-4,-7],[-6,-9]],[[6457,7590],[-1,6],[0,12],[2,8],[2,11],[1,7],[-1,12],[-1,3],[-2,1],[-5,-1],[-1,-1],[-3,4],[-3,1],[-3,-2],[-2,2],[-2,4],[-3,9],[-2,3],[-3,1],[-6,0],[0,18],[-2,5],[-3,4],[-2,6],[-3,12],[-3,14],[-4,4],[-10,3],[-2,2],[0,10],[1,3],[3,3],[13,0],[5,-6],[3,-1],[6,2],[5,-1],[-2,3],[-5,2],[-2,5],[-5,6],[-1,3],[0,4],[1,3],[3,4],[2,4],[3,9],[2,5],[4,-1],[5,3],[9,0],[10,1],[10,-4],[8,-2],[4,1],[-4,5],[-6,5],[-2,4],[3,12],[4,11],[3,13],[-1,13],[-1,3],[0,4],[3,7],[-1,5],[-2,6],[-4,6],[-7,0],[-5,2],[-2,-2],[-2,-4],[-4,-3],[-3,0],[-2,4],[-2,-1],[-6,3],[-3,5],[-9,4],[-4,1],[-7,-4],[-9,-9],[-2,-1],[-1,1],[-2,-1],[-11,-14],[-3,-2],[-4,-1],[-3,0],[-2,-2],[-4,0],[-2,-1],[0,-7],[-2,2],[-2,-3],[0,-3]],[[6366,7852],[-12,10],[-5,3],[-3,5],[0,3],[3,4],[2,-2],[6,-2],[2,2],[0,2],[-7,19],[-4,13],[-4,8],[-4,7],[-3,7],[-2,2],[-14,3],[-3,1],[-5,-4],[-3,3],[-2,5],[-1,4],[1,4],[0,6],[-3,9],[-5,3],[-5,5],[-1,9],[2,13],[4,10],[5,7],[0,6],[-2,3],[-3,3],[-1,4],[1,8],[1,11],[3,9],[4,5],[3,3],[2,4],[0,12],[3,5],[2,2],[3,1],[3,-2],[4,-6],[6,-10],[4,-10],[6,-6],[5,3],[6,5],[1,3],[-1,5],[-2,7],[-1,8],[-1,11],[-1,4],[5,-1],[3,2],[4,5],[7,7],[2,5],[1,5],[2,4],[9,2],[3,4],[9,5],[3,5],[4,8],[4,5],[3,5],[1,3],[10,-5],[3,-3],[1,-6],[3,-1],[5,1],[5,4],[6,7],[6,2],[3,-2],[3,-5],[2,-5],[4,-2],[5,1],[2,-1],[4,0],[8,1],[6,-5],[4,-9],[8,-5],[5,-7],[4,-7],[4,-8],[0,-6],[2,-8],[1,0],[3,3],[0,11],[-1,6],[-2,4],[1,2],[4,1],[8,-8],[5,-7],[10,-8],[4,-1],[3,1],[7,6],[2,8],[10,10],[4,-2],[4,3],[2,0],[5,2],[4,-2],[7,-9],[4,1],[4,5],[1,4],[2,2],[6,-1],[4,0],[0,1],[5,-2],[5,-5],[3,-6],[5,-7],[1,-3],[3,-1],[3,0],[2,-1],[8,-2],[2,-2],[0,-5],[7,3],[1,2],[4,12],[2,3],[3,-1],[5,-7],[3,-2],[3,0],[3,-1],[9,2],[8,5],[4,5],[2,7],[2,9],[2,5],[-1,6],[-4,5],[-11,4],[-1,3],[-15,6],[-2,7],[-3,4],[-6,3],[-1,3],[1,2],[5,3],[5,6],[2,1],[5,0],[8,8],[1,6],[-5,10],[-1,6],[3,9],[2,2],[1,4],[2,2],[9,2],[14,-3],[4,1],[1,5],[-2,3],[-6,4],[-3,3],[-7,1],[-6,3],[-1,2],[0,4],[2,3],[2,1],[2,-1],[4,3],[0,3],[-3,2],[-5,-2],[-7,4],[0,2],[3,5],[0,8],[1,5],[3,3],[3,1],[7,-3],[9,-2],[2,0],[1,3],[13,0],[4,4],[12,2],[1,2],[5,1],[8,3],[3,2],[4,-1],[5,2],[1,2],[4,3],[7,2],[2,-2],[4,0],[7,2],[5,-3],[2,2],[2,8],[4,3],[3,4],[6,-1],[6,5],[1,-2],[7,0],[10,3],[5,1],[10,3],[4,2],[6,2],[6,1],[4,4],[3,1],[4,0],[4,2],[0,7],[-1,2],[3,2],[4,0],[2,1],[9,9],[4,2],[14,-2],[7,-3],[4,-4],[6,-4],[2,0],[6,2],[1,3],[9,3],[1,-3],[4,-7],[2,-11],[4,-13],[1,-7],[-1,-3],[0,-10],[-3,-6],[2,-3],[6,-3],[10,1],[6,2],[3,-1],[2,2],[1,4],[2,1],[2,-3],[2,-5],[2,-3],[-1,-4],[2,-7],[4,3],[0,4],[-1,2],[1,2],[4,0],[5,-1],[6,-7],[3,-2],[4,0],[7,6],[2,-1],[-1,-6],[-3,-4],[-4,-3],[-3,-6],[0,-7],[2,-5],[0,-3],[3,1],[4,6],[6,3],[6,-1],[4,-2],[4,-5],[2,1],[0,6],[1,2],[11,11],[4,-1],[6,4],[5,5],[0,6],[1,1],[7,1],[6,3],[10,9],[7,1],[7,6],[2,0],[-1,-7],[-4,-10],[-6,0],[1,-7],[3,-5],[15,-15],[10,-10],[11,-13],[4,-11],[5,-9],[8,-17],[6,-16],[8,-18],[4,-10],[9,-22],[3,-6],[4,-13],[4,-12],[4,-10],[2,-1],[0,5],[2,1],[2,3],[4,0],[2,2],[1,3],[-1,5],[0,5],[5,3],[1,3],[2,1],[4,-1],[2,-2],[1,-3],[4,0],[1,-3],[-2,-7],[0,-3],[1,-1],[6,1],[2,-1],[1,-5],[0,-5],[1,-2],[4,0],[4,1],[5,0],[4,-3],[7,2],[4,-1],[4,3],[4,7],[7,0],[2,4],[5,2],[2,0],[10,-7],[4,-4],[3,-2],[1,-6],[3,-4],[2,-5],[1,-5],[1,-8],[2,-3],[2,0],[6,-2],[6,-7],[3,0],[2,-1],[0,-3],[-1,-4],[1,-3],[4,-8],[2,-5],[0,-3],[2,-1],[2,2],[4,-2],[10,-2],[2,-1],[1,-3],[1,1],[5,-1],[1,3],[5,5],[6,8],[3,-1],[0,-3],[-3,-5],[0,-3],[2,0],[3,-4],[4,-10],[3,-4],[5,-2],[2,-4],[0,-3]],[[6138,5059],[-1,-1],[0,4],[3,4],[2,-2],[0,-1],[-4,-4]],[[6162,5412],[-3,-10],[-4,-12],[-8,-22],[-5,-12],[-5,-9],[0,-36],[0,-48],[0,-49],[0,-48],[0,-33],[8,-20],[5,-13],[3,-10],[0,-4]],[[6153,5086],[-4,-10],[-4,-5],[-4,-2],[-3,2],[-1,-2],[-1,-4],[-1,1],[0,-6],[1,-3],[-1,-4],[-2,-4],[0,-4],[-5,-8],[-7,-1],[-3,-4],[-2,-4],[-1,-7],[0,-12],[-1,-8],[-1,-5],[-3,-6],[-2,-5],[-1,-5],[-1,-3],[-1,-12],[-2,-7],[0,-5],[-2,-4],[0,-3],[-1,-2],[-4,-19],[-3,-8],[-3,1],[-2,-5]],[[6088,4913],[0,1],[-3,3],[-4,6],[-4,7],[-4,6],[-5,6],[-4,7],[-4,6],[-4,7],[-5,6],[-3,6],[-1,4],[-2,3],[-1,0],[0,6],[2,6],[0,3],[-1,4],[0,8],[-3,3],[-12,14],[-12,14],[-6,6],[-12,14],[-12,14],[-5,7],[-6,7],[-6,6],[-12,14],[-12,14],[-2,2],[-2,3],[-2,0]],[[5941,5126],[0,34],[0,22],[1,11],[2,7],[2,5],[0,7],[2,6],[3,5],[0,2],[4,8],[2,10],[1,4],[3,5],[3,1],[2,2],[0,2],[-1,6],[1,2],[2,8],[2,5],[0,4],[1,3],[0,6],[-3,32],[1,3],[-2,6],[-1,2],[-2,12],[-1,1],[-3,5],[-2,11],[-2,3],[-1,11],[-1,3],[2,11],[0,3],[-2,2],[-3,2],[-3,5],[0,2],[-1,2],[-4,19]],[[5943,5426],[5,12],[6,11],[7,15],[7,14],[5,11],[6,11]],[[7044,7455],[-1,1],[-3,0],[-3,-1],[-1,-2],[-3,-2],[-3,-1],[-7,0],[-6,2],[-8,-3],[-3,-7],[-1,0],[-4,6],[-2,2],[-6,-4],[-2,1],[0,7],[-1,1],[-4,1],[-1,1],[0,6],[-3,1],[-3,-4],[-5,-1],[-1,-1],[-2,-5],[-6,-1],[-3,5],[-2,5],[-1,1],[-5,0],[-4,-2],[-1,2],[-2,-1],[-5,-1],[-10,2],[-4,-3],[-4,0],[-1,8],[-1,5],[0,4],[2,8],[2,-1],[1,-2],[2,1],[0,4],[-1,1],[2,5],[7,3],[5,3],[12,-8],[2,-1],[2,-6],[3,3],[0,5],[3,3],[6,3],[0,3]],[[6970,7501],[1,1],[8,2],[5,-3],[1,-2],[4,1],[1,-4],[5,5],[3,1],[1,5],[3,5],[3,1],[4,-3],[1,2],[-1,5],[0,3],[1,1],[5,-4],[3,2],[2,3],[0,3],[10,8],[0,2],[-4,2],[-3,-1],[-1,1],[-5,0],[-1,1],[-3,6],[-4,3],[-5,-1],[0,6],[-2,4],[-2,-2],[-2,2],[-3,0],[0,7],[-2,6],[-3,2],[0,5],[-2,-2],[0,-8],[-1,-2],[-2,-1],[-2,2],[-1,-13],[-3,2],[-2,-1],[-3,1],[-2,2],[-2,0],[-5,4],[-1,8],[-2,3],[-6,-2],[-1,2],[-6,3],[-1,4],[8,9],[3,6],[4,4],[3,1],[1,6],[5,3],[5,5],[0,2],[-2,3],[-3,2],[-2,-2]],[[6963,7477],[-1,2],[-5,1],[2,-5],[4,2]],[[6993,7484],[0,3],[-3,-2],[1,-3],[2,2]],[[6977,7481],[-1,5],[1,4],[-4,2],[-1,4],[-2,-1],[0,-6],[2,-2],[-1,-6],[6,0]],[[7861,5833],[-1,0],[0,6],[1,0],[0,-6]],[[7858,5858],[0,1],[-5,21],[-1,9],[1,8],[0,2],[-1,4],[-2,4],[-4,6],[0,9],[-1,11],[-1,4],[-2,6],[-1,6],[0,15],[6,2],[1,2],[-1,2],[2,3],[3,8],[3,7],[2,10],[4,6],[4,5],[7,2],[3,3],[2,0],[3,-3],[5,0],[2,-1],[2,1],[5,1],[5,-1],[5,1],[5,2],[3,-1],[3,-2],[0,-7],[2,-1],[2,3],[1,4]],[[7920,6010],[1,-2],[0,-3],[1,-4],[3,-5],[1,0],[4,3],[6,-4],[2,-7],[2,-3],[5,0],[2,8],[-1,4],[-3,8],[0,5],[5,1],[1,6],[2,0],[2,-1],[3,3],[1,4],[3,-6],[2,-2],[2,-3],[1,-3],[1,-1],[3,1],[3,5],[2,0],[3,4],[1,5],[1,1],[2,-2],[1,0],[2,6],[1,2]],[[7985,6030],[1,-3],[-1,-6],[-4,-10],[0,-4],[-1,-10],[0,-3],[2,-5],[2,-10],[2,-9],[1,-8],[1,-5],[-2,-12],[-2,-11],[0,-6],[1,-5],[1,-8],[0,-16],[-1,-4],[-2,-3],[-1,-3],[-2,4],[-3,-1],[-2,-2],[-3,-5],[-3,-6],[-5,-2],[-1,-4],[-2,0],[-4,-1],[-2,0],[0,-15],[-2,-1],[-3,2],[-4,2],[-3,1],[-1,-5],[-1,-2],[-2,-1],[0,-19],[1,-3],[6,-10],[2,-2],[-1,-7],[1,-7],[-2,0],[-5,5],[-2,-1],[-1,4],[-3,4],[-4,-2],[-5,-2],[-2,-5],[-4,3],[-3,1],[-1,-2],[0,-4],[1,-4],[0,-2],[-2,-3],[-2,-4],[-3,-4],[-7,0],[-2,-5],[-2,-1]],[[7899,5783],[-4,7],[-9,3],[-1,3],[-1,1],[-1,-4],[-5,-4],[-2,2],[-1,3],[0,4],[1,3],[3,2],[1,8],[-2,9],[-3,5],[-2,-3],[-2,-6],[-1,-4],[-6,0],[-2,17],[1,9],[0,5],[-3,8],[0,7],[-2,3],[0,-3]],[[783,4524],[-1,1],[0,2],[1,0],[0,-3]],[[670,4859],[-2,0],[0,1],[2,0],[0,-1]],[[9846,5137],[-1,2],[-1,7],[1,0],[1,-5],[0,-4]],[[9805,5242],[1,-3],[0,-3],[-2,-5],[-1,1],[2,4],[1,3],[-1,3]],[[9805,5261],[0,1],[4,1],[0,-2],[-4,0]],[[629,5290],[4,-6],[-2,-1],[-4,3],[-5,7],[2,1],[0,-2],[2,-2],[1,4],[2,3],[0,-7]],[[573,5409],[3,-5],[-1,-2],[-1,0],[0,4],[-2,1],[1,2]],[[3262,6169],[-1,-1],[-1,2],[0,4],[1,0],[1,-2],[0,-3]],[[3259,6176],[-2,3],[-2,1],[-1,2],[0,3],[1,1],[2,-3],[1,-4],[1,-1],[0,-2]],[[8508,7097],[-2,-1],[-1,1],[-2,5],[1,3],[4,6],[10,5],[2,0],[4,-2],[1,-4],[-2,-6],[-8,-6],[-7,-1]],[[8520,7161],[0,-2],[-2,0],[-1,3],[1,2],[2,-3]],[[8505,7163],[-2,-1],[-1,2],[0,3],[4,7],[2,-1],[1,-3],[-1,-4],[-3,-3]],[[8549,7177],[-1,-2],[-1,3],[1,3],[1,-4]],[[8503,7184],[-1,-1],[-2,7],[-1,2],[2,2],[2,-5],[0,-5]],[[8556,7188],[0,-6],[-2,0],[-1,4],[-2,-2],[-1,4],[0,4],[2,3],[1,-2],[2,-1],[1,-4]],[[8575,7188],[-3,-4],[-4,7],[5,9],[1,0],[1,-12]],[[8510,7285],[0,-4],[-2,3],[-1,8],[2,-2],[1,-5]],[[8635,7342],[-1,-2],[-2,2],[0,2],[3,2],[1,-1],[-1,-3]],[[8513,7357],[0,-8],[-3,1],[-1,9],[1,3],[2,-2],[1,-3]],[[8516,7359],[1,2],[0,6],[3,4],[3,7],[4,8],[4,4],[17,0],[4,-1],[5,2],[2,2],[3,9],[2,5],[1,1]],[[8565,7408],[6,-26],[7,-16],[5,-13],[8,-23],[3,-12],[0,-8],[1,-10],[-1,-6],[0,-15],[-1,-4],[0,-15],[2,-3],[1,2],[2,1],[0,-6],[-3,-15],[-1,-11],[-3,-10],[-3,-8],[-4,-4],[-3,-1],[-5,0],[-4,1],[-4,-1],[-2,-5],[1,-5],[0,-3],[-2,0],[-3,2],[-4,0],[-1,1],[-2,6],[-4,-4],[-5,0],[-2,-4],[1,-3],[2,-3],[-1,-4],[-2,-2],[-2,5],[-1,4],[-3,-1],[-1,-5],[1,-3],[2,-3],[-3,-8],[-2,-2],[-4,5],[3,7],[0,3],[-1,2],[-6,-8],[-3,-10],[-2,1],[-2,3],[-4,-6],[-1,-5],[-2,0],[0,6],[-1,4],[-4,6],[-2,4],[1,3],[3,-1],[3,0],[0,2],[2,5],[-1,1],[-2,-2],[-2,1],[0,6],[-2,7],[-1,6],[2,4],[1,5],[1,8],[1,3],[3,2],[1,2],[-4,2],[0,3],[2,1],[1,2],[4,4],[1,5],[-1,2],[-2,1],[0,3],[1,4],[-3,4],[-1,3],[0,18],[-2,13],[-3,-3],[-4,3],[-1,0],[-1,4],[2,6],[3,5],[3,1],[1,2],[3,1],[3,-4],[2,-1],[2,-5],[1,0],[3,5],[-3,2],[-3,11],[-1,2],[2,5],[-4,9],[0,6],[-3,10],[2,3]],[[5556,7634],[1,5],[-2,6],[1,1],[4,0],[0,2],[4,2]],[[5564,7650],[4,2],[-1,4],[5,6],[1,4],[-2,4],[5,5],[1,0],[0,-3],[1,-2],[3,-3],[5,-4],[3,-8],[4,-5],[0,-4],[10,-5],[0,-4],[-4,-10],[0,-2],[-2,-2],[0,-4],[1,-2]],[[5598,7617],[-5,-2],[-2,-2],[0,-3],[-2,-2],[-3,5],[-10,-6],[-1,-4],[0,-8],[-1,-1],[-4,1]],[[6340,6890],[-2,-2],[-2,4],[-2,8],[2,5],[1,5],[2,-2],[3,-9],[0,-5],[-2,-4]],[[6344,6827],[-21,0],[-2,5],[-2,12],[-3,9],[-12,3],[-7,2],[-6,1]],[[6332,6910],[-1,-2],[1,-6],[4,-13],[0,-2],[-5,2],[-4,-7],[-3,-6],[4,-1],[4,1],[2,-2],[1,-4],[0,-4],[2,-14],[2,-4],[3,-8],[1,-4],[0,-4],[1,-5]],[[7920,6010],[2,1],[3,3],[4,6],[0,8],[1,10],[1,5],[-1,7],[-1,5],[0,11],[2,5],[1,4],[1,6],[0,7],[-2,2],[-3,2],[-2,3],[0,7],[1,2],[-2,3],[-5,3],[-3,4],[-1,5],[-2,5],[-4,8],[-2,10],[0,14],[1,11],[1,13],[-2,9],[-2,5],[-7,9],[-2,6],[-4,10],[-4,14],[-3,5],[-1,-1],[-3,1],[-5,4],[-4,2],[-5,0],[-1,-2],[0,-2],[1,-2],[-1,-2],[-2,-1],[-3,-7],[-1,-6],[-1,-3],[-3,0],[-3,-2],[-3,-5],[0,-2],[-2,0],[0,6],[-2,2],[-2,1],[-3,4],[-6,9],[-1,0],[-2,-2],[-2,-5],[-2,-2],[-2,1],[-1,-2],[-1,-5],[-5,-7],[0,-1],[-4,-5],[-3,-6],[-4,-7],[-2,-1],[-1,2],[-3,2],[-1,2],[2,12],[3,14],[1,6],[0,9],[-2,7],[0,4],[3,8],[1,10],[2,10],[0,7],[-2,14],[0,12],[-1,2],[-7,2],[-2,-2],[-1,-2],[-2,-2],[-3,-1],[-3,4],[-3,5],[0,6],[1,8],[2,6],[1,5],[-1,3],[0,3],[-1,0],[-2,3],[-1,6],[-3,2],[-4,-8],[0,5]],[[7780,6354],[0,3],[2,12],[1,8],[5,6],[2,-1],[2,1],[0,3],[-1,2],[0,4],[1,3],[2,1],[1,4],[1,7],[2,4],[1,0],[3,3],[5,6],[1,6]],[[7836,6472],[1,-5],[3,-6],[4,-9],[4,-7],[2,-8],[0,-5],[1,-1],[2,1],[1,7],[1,0],[1,-5],[2,0],[1,-5],[-2,-7],[0,-4],[-1,-6],[0,-4],[7,-21],[3,-3],[7,-4],[4,-5],[3,2],[2,5],[2,3],[6,5],[3,-2],[4,-5],[5,-8],[2,-2],[0,-3],[-3,-4],[-3,-5],[0,-1],[7,-3],[1,-3],[0,-6],[1,-1],[3,1],[2,-3],[1,-5],[0,-4],[-3,-6],[0,-4],[-2,-5],[-4,-8],[-1,0],[-8,4],[-7,0],[0,-2],[1,-5],[0,-5],[-1,-3],[-3,-5],[0,-4],[6,-4],[9,-12],[2,-3],[6,-8],[7,-4],[4,-3],[0,-6],[-1,-4],[0,-3],[2,-6],[3,-6],[2,-3],[3,-2],[2,-4],[2,-6],[0,-4],[1,-4],[2,-6],[7,-17],[1,-2],[8,-11],[1,-4],[3,-8],[2,-3],[1,-5],[0,-13],[2,-3],[1,-3],[0,-3],[1,-2],[2,0],[2,4],[1,0],[1,-7],[1,-3],[4,-4],[4,-8],[2,-3],[2,-1],[1,-2],[0,-5],[-1,-2],[-5,-4],[0,-6],[1,-4],[2,-3],[1,-3],[4,-6],[3,-4],[1,-5],[1,-3],[0,-4],[-2,-4],[-3,-8],[1,-4],[0,-12]],[[5998,7178],[8,0],[1,3],[3,-1],[1,-3],[-1,-3],[-2,-3],[5,-4],[2,-13],[-1,-5],[-2,-4],[-1,0],[-4,-6],[0,-3],[2,-4],[-8,0],[-2,-3],[-2,-7],[3,-4],[0,-2],[-2,-1],[-1,-4],[-2,-2]],[[5974,7089],[3,10],[1,8],[2,6],[5,22],[3,8],[1,13],[4,11],[4,3],[1,3],[0,5]],[[4679,5581],[2,3],[2,8],[3,8],[3,5],[4,8],[4,4],[5,12],[1,1],[1,8],[1,10],[2,3],[3,2],[1,2],[2,7],[0,10]],[[4789,5434],[-3,1],[-9,8],[-7,5],[-25,26],[-6,11],[-8,16],[-17,32],[-4,6],[-5,2],[-6,6],[-1,9],[-13,13],[-6,12]],[[5693,6450],[0,-28],[0,-29],[0,-29],[0,-29],[-14,0],[-14,0],[0,-29]],[[5665,6306],[-13,14],[-14,14],[-13,13],[-13,14],[-13,13],[-14,14],[-13,14],[-13,13],[-14,14],[-13,14],[-13,13],[-14,14],[-13,13],[-13,14],[-14,14],[-13,13],[-9,10],[-10,-9],[-8,-8],[-10,-9]],[[5415,6508],[-12,-12],[-9,-10],[-1,0],[-9,16],[-7,13],[-4,3],[-13,7],[-14,6],[-15,7]],[[5263,6924],[4,4],[4,3],[3,3],[1,2],[3,9],[2,5],[3,6],[1,5],[0,10],[-4,25],[1,4],[3,8],[1,1],[5,2],[2,4],[1,5],[1,2],[6,9],[5,5],[4,5],[5,5],[5,4],[0,7],[-2,6],[0,15],[1,4],[0,11],[1,2]],[[5319,7095],[4,-4],[4,-2],[13,-13],[4,-2],[9,-1],[11,5],[4,1],[10,-7],[5,0],[11,-6],[6,-8],[2,-2],[19,-7],[5,-13],[0,-11],[1,-8],[2,-10],[3,-8],[3,-6],[12,-9],[9,-2],[9,-1],[16,-7],[13,-9],[4,-5],[6,-4],[14,-21],[7,-7],[5,-1],[5,1],[8,7],[4,4],[8,18],[3,10],[1,6],[-2,13],[-2,6],[-2,9],[-1,15],[2,10],[1,7],[3,6],[7,12],[7,9],[12,11],[7,0],[3,1],[6,8],[2,1],[4,-2],[9,0],[5,-2],[5,-5],[6,-3],[5,-3],[4,-4],[1,-10],[0,-6],[5,-7],[14,-3],[3,-2],[6,-7],[10,-1],[6,1],[5,-1],[2,-2],[2,-4],[4,-13]],[[3308,5979],[-2,-6],[-3,4],[0,8],[2,5],[1,4],[1,1],[1,-5],[0,-11]],[[7218,5705],[0,-5],[-2,3],[-1,3],[3,-1]],[[7220,5738],[-2,-1],[-1,4],[0,4],[1,-1],[2,-6]],[[7221,5748],[7,0],[3,-9],[10,-16],[5,-16],[0,-4],[1,-3],[2,-2],[6,-19],[0,-6],[3,-2],[1,-2],[2,-13],[0,-5],[7,-22],[0,-3],[3,-13],[1,-2],[1,-8],[0,-22],[-1,-9],[-2,-8],[-1,-6],[-3,-5],[-7,-10],[-2,-2],[-9,-7],[-7,-6],[-6,-2],[-7,3],[-4,9],[-3,12],[-1,13],[-3,14],[-2,43],[-1,12],[-1,16],[2,-3],[1,2],[0,15],[1,6],[2,16],[0,12],[4,11],[1,7],[0,14],[-1,7],[3,-2],[2,-3],[2,-2],[1,1],[2,0],[-1,4],[-4,4],[-6,2],[-2,3],[0,5],[1,1]],[[5769,3516],[7,4]],[[5776,3520],[3,6],[4,4],[7,5],[4,2],[5,-10],[1,-1],[3,-6],[3,-4],[3,-5],[3,-3],[1,0],[2,-8],[0,-5],[-2,-15],[-3,-5],[-2,-2],[0,-6],[-1,-7],[-3,-5],[-7,-6],[-2,-1],[-4,0],[-3,-1],[-3,-4],[-5,-18],[-2,-6],[-1,-1],[-7,3],[-3,3],[-2,4],[-2,6],[-3,3],[-1,2],[0,7],[-5,13],[-1,6],[-2,5],[-1,5],[1,2],[6,6],[4,9],[1,4],[2,3],[1,6],[4,11]],[[5581,8367],[-2,1]],[[5579,8368],[4,6],[1,5],[1,0],[-2,-8],[-2,-4]],[[5651,8290],[0,8],[-1,4],[-2,3],[-5,5],[-4,1],[-1,3],[-3,2],[-2,0],[-2,-2]],[[5631,8314],[-2,8],[0,4],[4,16],[0,2],[-2,3],[-4,3],[-1,5],[-14,0],[-5,2],[-9,5],[-5,5],[-4,-1]],[[5589,8366],[-1,5],[1,6],[-2,10],[-3,11],[0,15]],[[5584,8413],[7,7],[9,7],[3,1],[8,4],[15,-2],[6,1],[2,1],[3,-1],[2,-4],[4,3],[12,-2],[5,0],[6,-2],[3,-2],[10,1],[6,6],[2,1],[4,0],[1,-4],[3,-8],[15,-4],[2,-1],[6,-7],[6,-5],[5,-9],[7,-4],[2,0]],[[5584,8413],[-1,11],[0,21],[1,11],[8,11],[2,7],[0,6],[1,5],[8,14],[5,2],[8,4],[9,3],[3,-7],[11,-12],[3,-4],[4,-13],[10,-7],[8,2],[9,9],[3,5],[1,4],[-1,19],[-2,8],[1,5]],[[5759,8497],[4,-1],[1,-5],[7,-6],[1,-2],[0,-7],[-2,-2],[-1,-4],[0,-5],[-2,-8],[4,2],[2,-3],[1,-5],[3,-8],[3,-3],[1,-9],[1,-4],[0,-7],[-1,-3]],[[8153,6463],[-2,-1]],[[3249,6224],[-3,0]],[[3246,6224],[1,3],[2,-1],[0,-2]],[[4758,6776],[-4,0],[1,-7],[0,-16],[1,-6],[-1,-2],[-3,-1],[-14,0],[-3,-3],[-5,-8],[-1,-3],[-5,0],[-2,2],[-3,1],[-3,-3],[-2,0],[-8,8],[-3,0],[-3,2],[-4,-1],[-4,-2],[-6,-4],[-3,-1],[0,-5],[2,-3],[0,-4],[-1,-3],[-4,-6],[-2,-7],[-4,-11],[0,-6],[-1,-1],[-4,-1],[-4,-2],[-2,-7],[0,-5],[-2,-11],[-2,-13],[-1,-9],[-2,-16],[-1,-6],[-3,-6],[-2,-2],[-4,-6],[-6,-6],[-4,-7],[-1,-6],[-2,-5],[-1,-7],[-3,-6],[-2,-3],[-2,-1],[-5,-5],[-3,-2],[-4,-6],[-1,-4],[-2,-12],[-1,-4],[-2,-14],[0,-8],[-2,-12],[0,-18],[-1,-4],[0,-4],[-2,-7],[-2,-4],[-2,-2],[-5,-13],[0,-6],[-1,-4],[0,-5],[-5,-8],[-4,-1],[-5,0],[-4,1],[-4,0],[-5,1],[-8,2],[-4,0],[-4,-1],[-11,0],[-10,-3],[-1,-1]],[[4527,6417],[2,28],[4,15],[3,6],[4,4],[5,15],[1,14],[3,6],[1,5],[-1,4],[2,7],[4,12],[1,7],[4,11],[-1,3],[-2,-4],[-1,1],[1,6],[9,13],[11,23],[4,4],[4,10],[1,9],[1,20],[1,11],[3,8],[2,15],[3,7],[1,13],[2,5],[6,10],[6,4],[8,9],[3,5],[2,8],[3,16],[4,16],[2,13],[4,7],[2,8],[5,4],[9,2],[13,6],[12,11],[4,4],[3,8],[6,11],[12,13],[5,7],[8,19],[5,15],[4,9],[3,9],[2,9],[2,14],[-1,5],[-3,9],[-3,2],[0,5],[1,7],[0,13],[1,20],[3,17],[9,21],[2,9],[1,14],[0,5],[12,20],[6,16],[8,11],[21,15],[12,11],[6,8],[4,9],[12,37],[11,52],[0,6],[5,2],[4,1],[3,2],[3,4],[3,-2],[-1,-2],[0,-7],[2,-7],[4,-9],[8,-11],[5,-4],[9,-2],[9,4],[6,0],[2,2],[3,-3],[6,-1],[5,2],[4,5],[2,5],[1,-3],[0,-3],[1,-1],[1,-7],[1,-2],[3,0],[3,-1],[6,0],[5,-1]],[[5206,7703],[-2,-1]],[[5738,7963],[1,2],[6,5],[1,-1],[9,0],[3,4],[2,-1],[4,4],[1,-1],[4,-1],[3,-2],[4,-5],[2,0],[1,-4],[2,-1],[4,0],[2,-5],[3,-4],[1,4],[2,-1],[5,-1],[4,-10],[2,-1],[2,1],[1,2],[1,-1],[2,-5],[0,-13],[-2,-7],[1,-4],[5,-5],[1,-3],[2,-2],[2,0],[1,-2],[0,-4],[-1,-5],[1,-3],[0,-5],[4,-4],[5,-3],[2,-6],[-1,-6],[0,-5],[6,-7],[-2,-2],[-5,-1],[-1,-1],[-4,6],[-2,-3],[-2,0],[-3,3],[-3,-1],[-2,-3],[-2,0],[0,8],[-1,0],[-6,-4],[-1,-2],[1,-3],[0,-5],[2,-6],[-2,-7],[-3,-4],[-3,-3],[0,-5],[-2,-3],[-3,-3],[-2,-4],[1,-3],[0,-6],[-1,-1],[-5,0],[-2,-3]],[[5783,7801],[-4,9],[2,2],[0,4],[-1,5],[0,5],[-1,5],[1,10],[3,18],[0,11],[-2,8],[-2,11],[-8,11],[-1,4],[-4,6],[-4,11],[-4,6],[-5,19],[-2,5],[-2,3],[-1,3],[-2,3],[-3,3],[-5,0]],[[6386,4210],[-2,-2],[3,13],[1,1],[-2,-12]],[[6342,4414],[0,-3],[-4,1],[0,8],[1,0],[1,3],[1,0],[1,-6],[0,-3]],[[6375,4467],[1,-6],[2,-6],[4,-14],[2,-5],[2,-6],[1,-11],[3,-18],[3,-26],[0,-28],[1,-12],[2,-12],[4,-12],[1,-14],[-2,-14],[-3,-13],[-2,-6],[-1,0],[-3,4],[-2,5],[-3,20],[-1,1],[-3,-1],[-3,-4],[0,-2],[1,-8],[0,-6],[1,-7],[0,-9],[2,-4],[1,-6],[0,-20],[-3,-6],[0,-3],[1,-3],[0,-2],[-3,-3],[-1,-2],[-2,-6],[-3,-12],[0,-6],[2,-18],[-1,-14],[-3,-25],[-2,-12],[-2,-14],[-4,-19],[-4,-24],[-4,-24],[-2,-15],[-3,-14],[-4,-26],[-3,-25],[-5,-29],[-7,-32],[0,-4],[-2,-16],[-1,-14],[-2,-14],[-4,-23],[0,-7],[-1,-7],[-4,-14],[-2,-11],[-2,-15],[-3,-12],[-4,-11],[-2,-4],[-6,-6],[-3,-1],[-7,-1],[-6,-3],[-7,-6],[-8,-11],[-3,-2],[-8,-1],[-3,2],[-8,12],[-4,2],[-6,2],[-3,2],[-3,7],[-5,5],[-2,5],[0,4],[-1,5],[-1,8],[-2,6],[-5,10],[0,22],[-1,14],[2,12],[0,6],[-2,7],[-2,13],[-5,11],[-2,11],[-1,18],[-1,6],[1,13],[0,7],[2,5],[0,3],[2,6],[0,2],[2,17],[3,4],[3,2],[3,4],[3,18],[4,13],[1,6],[4,9],[3,14],[1,6],[0,7],[1,14],[1,7],[0,7],[-6,21],[0,19],[-4,14],[-2,12],[-1,20],[0,14],[-1,7],[1,11],[12,39],[0,27],[3,2],[10,2],[2,1],[2,3],[5,9],[1,-1],[1,-3],[1,-1],[4,3],[2,0],[1,-1],[2,6],[0,3],[1,1],[9,2],[4,3],[1,-1],[3,-9],[1,-1],[2,0],[1,2],[-3,4],[0,6],[1,7],[3,5],[5,7],[6,9],[2,1],[1,-2],[1,-10],[0,-2],[2,1],[1,4],[0,4],[-1,3],[0,6],[3,6],[2,6],[1,7],[1,3],[3,3],[1,-3],[0,-6],[-2,-7],[2,-1],[1,1],[4,14],[1,4],[2,2],[3,0],[-2,6],[-1,10],[5,17],[0,4],[1,2],[-3,6],[0,7],[2,4],[1,3],[1,1],[2,-1],[2,-5],[2,-1],[3,5],[1,6],[3,4],[3,2],[5,9],[4,25],[-2,13],[-2,8],[1,2],[2,-1],[1,1],[3,7],[5,14],[3,-3],[0,-4],[4,-9],[2,-5]],[[7038,5369],[-1,1],[0,2],[1,1],[1,-1],[0,-2],[-1,-1]],[[7041,5423],[-1,0],[0,3],[1,1],[0,-4]],[[2452,6259],[-3,-1],[0,1],[3,0]],[[1918,6263],[-1,-1],[-3,3],[2,5],[2,-4],[0,-3]],[[2584,6353],[-1,-2],[-1,6],[1,6],[2,4],[2,0],[2,2],[-1,-7],[-4,-9]],[[2041,6428],[-1,-5],[-2,2],[-1,3],[0,5],[1,1],[2,-2],[1,-4]],[[1897,6588],[-1,-2],[-8,10],[4,1],[5,-9]],[[1928,6623],[1,-6],[-2,1],[-2,3],[-1,7],[3,-2],[1,-3]],[[1887,6597],[-1,-1],[-2,7],[-1,5],[-1,2],[-2,1],[2,9],[2,20],[1,-4],[-2,-19],[0,-3],[2,-6],[0,-5],[2,-6]],[[1913,6682],[1,-2],[-1,-1],[-2,4],[2,2],[0,-3]],[[1800,6800],[0,-2],[-5,4],[3,7],[-1,7],[1,1],[1,-2],[2,-9],[-1,-6]],[[1715,6850],[-1,-2],[-4,12],[0,3],[3,1],[0,-3],[2,-5],[0,-6]],[[1883,6854],[-3,-14],[-2,1],[-4,4],[-1,3],[2,15],[1,2],[4,2],[1,-1],[0,-5],[2,-7]],[[1856,6857],[-3,2],[-9,18],[0,10],[2,-1],[3,-4],[1,-4],[0,-5],[5,-2],[0,-10],[1,-4]],[[1813,7009],[-1,0],[-1,3],[0,3],[3,-4],[-1,-2]],[[2437,6021],[-1,1],[-7,16],[-8,17],[-3,6],[-3,4],[-4,8],[-10,17],[-5,8],[-6,10],[-4,5],[-5,4],[-1,2],[-2,2],[-1,0],[-2,-5],[-5,0],[-1,2],[3,5],[-1,2],[-1,0],[-4,-4],[0,5],[-2,3],[-1,0],[-3,-6],[0,-2],[5,-2],[1,-2],[-4,0],[-5,-2],[-10,-12],[-8,-5],[-12,-11],[-6,0],[-3,-2],[-8,4],[-10,11],[-16,3],[-11,14],[-10,5],[-7,14],[-4,0],[-3,2],[-9,5],[-10,3],[-9,12],[-6,4],[-5,4],[-12,8],[-4,4],[-4,7],[-7,7],[-3,6],[-3,2],[-4,11],[-3,5],[-2,2],[-8,0],[-9,4],[-4,2],[-9,7],[-12,8],[-4,9],[-3,9],[-6,11],[-4,5],[-6,5],[-4,5],[-5,3],[-10,9],[-3,8],[-1,7],[-5,8],[-6,16],[-1,6],[-1,8],[-1,5],[-2,4],[1,3],[3,4],[4,1],[3,4],[1,5],[-2,5],[-5,1],[-1,2],[2,2],[4,10],[2,6],[0,15],[1,6],[-6,7],[-3,12],[-3,10],[0,19],[-4,18],[-7,11],[-6,14],[-4,7],[-5,15],[-4,9],[-6,16],[-4,8],[-19,26],[1,0],[5,-7],[1,1],[0,7],[-1,1],[-2,-1],[-3,2],[-3,1],[-3,4],[-2,5],[0,5],[-5,11],[1,2],[3,1],[-1,4],[-8,5],[-3,5],[-6,6],[-2,3],[-1,6],[-1,1],[-5,-4],[-1,4],[2,2],[3,6],[0,3],[-4,-6],[-5,-3],[-2,1],[-3,7],[-1,18],[4,12],[2,3],[-1,6],[0,3],[-1,5],[-6,10],[-7,-1],[-2,4],[-2,7],[-1,5],[0,3],[-1,3],[-9,5],[-3,4],[-3,5],[-2,7],[-1,6],[0,6],[1,8],[1,4],[-6,3],[-3,0],[-2,-1],[-5,4],[-5,9],[-5,15],[-6,5],[-2,6],[-2,4],[-3,9],[0,1],[-3,5],[-3,7],[-1,5],[-1,9],[-4,5],[-1,4],[0,7],[-5,10],[-2,9],[-2,6],[-1,8],[-2,11],[-3,12],[-3,8],[-2,8],[1,8],[0,7],[1,2],[0,5],[-1,2],[-3,1],[-1,2],[-7,2],[-4,3],[0,7],[-2,3],[-7,6],[-1,-2],[0,-4],[-4,-1],[-4,3],[-8,10],[-1,2],[-3,1],[-6,7],[2,-6],[2,-9],[-2,-6],[-1,-22],[1,-5],[3,-7],[1,-11],[2,-15],[0,-20],[2,-7],[4,-8],[1,-4],[6,-5],[3,-7],[6,-10],[2,-4],[6,-15],[0,-5],[2,-6],[3,2],[1,-7],[4,-2],[3,-16],[1,-3],[3,-1],[2,-2],[0,-7],[2,-5],[0,-7],[1,-5],[0,-6],[1,-4],[5,-10],[6,-7],[1,-11],[3,-9],[5,-6],[0,-6],[3,-8],[1,-9],[3,-6],[2,0],[-3,6],[-1,4],[0,7],[1,1],[6,-10],[1,-8],[2,-4],[0,-6],[4,-16],[0,-11],[1,-8],[4,-13],[3,-2],[1,-7],[3,-15],[4,-9],[2,-7],[0,-5],[-1,-7],[-1,-4],[2,-15],[4,-7],[4,-3],[-1,-2],[2,-2],[2,6],[-1,4],[0,4],[1,1],[7,-10],[1,-4],[3,-4],[3,-10],[2,-4],[1,-8],[4,-4],[3,-6],[0,-5],[-1,-11],[-1,-3],[-4,-4],[-3,-6],[-2,-3],[-3,-3],[-2,1],[-3,6],[-2,20],[-2,4],[-1,6],[-2,5],[-8,8],[-3,8],[-4,5],[-4,8],[-11,13],[-4,6],[-3,7],[-3,-1],[-1,2],[0,3],[-7,12],[-1,5],[0,7],[1,16],[1,9],[-2,9],[0,7],[-2,9],[-5,17],[-4,4],[-4,2],[-10,15],[-3,8],[-2,8],[-2,-4],[-4,1],[-5,-5],[-3,4],[-4,11],[-4,1],[-3,7],[-3,2],[-4,1],[-3,3],[-1,4],[0,5],[-1,3],[-9,13],[-4,5],[-1,3],[0,3],[6,-1],[7,-2],[3,0],[4,5],[1,-2],[-1,-4],[2,-3],[3,-3],[0,3],[-1,6],[0,5],[-3,1],[3,5],[2,12],[1,12],[-2,10],[-5,7],[-10,21],[-6,11],[-1,4],[-2,2],[-5,2],[-4,6],[-10,13],[-2,11],[-2,1],[1,7],[-1,13],[-1,3],[-4,3],[-1,9],[0,8],[-1,6],[-6,9],[0,5],[-1,4],[0,5],[-4,9],[-4,8],[-1,3],[0,10],[1,2],[0,5],[-6,8],[-2,12],[-4,6],[0,2],[-2,11]],[[1746,7057],[8,1],[8,2],[24,3],[7,2],[16,2],[4,1],[-2,-9],[-2,-3],[14,-9],[13,-8],[13,-9],[13,-8],[13,-9],[13,-8],[14,-9],[13,-8],[10,0],[19,0],[20,0],[10,0],[19,0],[0,26],[19,0],[6,-1],[25,0],[5,-13],[3,-5],[3,-3],[6,-9],[8,-15],[7,-10],[5,-5],[5,-8],[2,-8],[4,-18],[0,-8],[2,-8],[3,-10],[3,-6],[3,-2],[5,-9],[4,-4],[9,-6],[6,-8],[5,-4],[3,0],[2,2],[2,5],[1,4],[2,1],[1,3],[0,3],[1,7],[3,12],[3,6],[4,1],[2,2],[1,3],[2,1],[3,-3],[5,-2],[11,0],[2,1],[1,-2],[3,-2],[2,-6],[8,-10],[0,-3],[8,-13],[2,-6],[1,-6],[2,-9],[6,-18],[0,-4],[1,-6],[2,-5],[3,-4],[3,-7],[7,-19],[5,-5],[2,-5],[1,-5],[0,-4],[-1,-3],[0,-3],[2,-3],[0,-11],[4,-9],[2,-7],[1,-12],[2,-6],[3,-3],[4,-1],[3,-3],[4,-5],[4,-1],[3,-3],[2,-4],[6,-2],[8,-2],[6,-3],[6,-7],[0,3],[6,3]],[[2301,6679],[-2,-22],[-6,-20],[-2,-13],[-5,-36],[-1,-23],[0,-12],[-1,-1],[1,-2],[-1,-24],[0,-25],[-2,-6],[-1,-9],[0,-6],[2,-13],[1,-10],[5,-18],[2,-6],[4,-5],[1,-3],[-1,-7],[-1,-4],[-1,6],[1,3],[0,3],[-2,2],[-4,9],[-1,-9],[2,-6],[2,-2],[0,-4],[4,-17],[4,-18],[2,-10],[12,-25],[7,-18],[2,-18],[2,-5],[1,-8],[4,-8],[2,-5],[2,-3],[2,-9],[0,-5],[3,-3],[2,0],[1,1],[4,-4],[10,-1],[5,-7],[6,-3],[3,-10],[4,-10],[4,0],[6,1],[9,7],[3,3],[6,4],[9,1],[2,-2],[7,3],[3,3],[2,5],[6,3],[1,1],[7,1],[3,1],[3,0],[3,-4],[0,-2],[-2,-2],[1,-2],[3,-4],[6,-1],[2,0],[2,5],[5,5],[0,6],[-1,3],[-2,1],[1,6],[-3,-4],[0,3],[9,9],[2,3],[3,3],[6,12],[1,22],[1,4],[4,6],[1,2],[0,35],[1,9],[0,3],[2,14],[5,7],[8,7],[2,2],[26,8],[4,2],[5,5],[3,2],[8,0],[0,2],[5,0],[8,-4],[6,-4],[8,-1],[1,3],[-1,2],[-3,-1],[-2,3],[5,0],[2,3],[3,-2],[3,-7],[2,-3],[1,-13],[1,-2],[-1,-9],[-2,-7],[-1,-5],[-4,-9],[-5,-8],[-5,-15],[-1,-8],[0,-6],[1,-6],[-1,-2],[0,-2],[-2,0],[-2,-2],[-3,-9],[0,-2],[2,-2],[1,1],[5,0],[0,-4],[-2,-4],[-2,-1],[-2,-2],[-1,-2],[0,-5],[1,-1],[2,4],[1,0],[1,-2],[-3,-14],[-2,-14],[-2,-8],[-1,-12],[-2,-10],[-1,0],[-2,9],[-3,5],[1,12],[0,6],[-1,0],[-4,-6],[0,-5],[-2,-7],[0,-3]],[[9711,5519],[-1,2],[1,5],[1,-1],[-1,-6]],[[9751,5594],[4,-3],[4,2],[0,-1],[-3,-2],[-1,0],[-4,3],[0,1]],[[5598,7617],[1,-1],[4,2],[4,3],[4,-1],[7,3],[2,-2]],[[4683,5898],[0,4],[-2,3],[0,6],[1,8],[0,3],[1,7],[-2,3],[0,2],[-3,8],[0,4],[-2,7],[-1,1],[-3,1],[0,-2],[-2,-3],[-1,3],[0,5],[-2,4],[-3,7],[0,5],[2,3],[1,3],[0,2],[-1,4],[-1,2],[0,14],[-2,6],[-2,3],[-2,5],[1,7],[1,4],[-3,9]],[[4658,6036],[5,-3],[0,1],[2,2],[2,5],[2,6],[1,8],[0,6],[2,11],[5,8],[3,4],[1,-1],[2,-5],[6,-10],[6,-12],[1,0],[3,7],[2,7],[1,2],[3,0],[3,1],[2,-1],[4,-1],[4,-2],[5,0],[5,1],[5,2],[4,2],[0,9],[1,3],[1,0],[1,-8],[1,-2],[20,0],[17,0],[17,0],[17,0],[22,0],[12,0],[1,17],[2,15],[1,13],[-4,9],[-3,8],[-1,13],[-2,29],[0,14],[-1,15],[-2,28],[-1,15],[0,14],[-2,29],[-2,28],[0,15],[-2,28],[-2,29],[0,14],[-1,15],[-2,28],[-1,15],[0,14],[-3,43],[0,14],[-1,15],[-2,28],[-1,15],[0,14],[-1,13],[17,0],[22,0],[10,0]],[[5116,6286],[0,-42],[1,-16],[0,-18],[0,-48],[-1,-2],[-1,-9],[0,-13],[-2,-13],[-4,-18],[0,-5],[-2,-6],[0,-5],[-2,-5],[-3,-2],[-5,-9],[-1,-7],[-12,4],[-1,-1],[-1,-4],[-8,-1],[-8,0],[-9,-1],[-6,0],[-16,-2],[-5,-8],[-4,-8],[-1,-1],[-6,-1],[-8,1],[-4,0],[-2,-1],[0,-3]],[[5404,7248],[-1,-2],[-3,1],[-2,2],[0,7],[5,-6],[1,-2]],[[7726,5755],[-1,-3],[-1,0],[1,6],[2,4],[2,0],[0,-2],[-3,-5]],[[7727,5814],[2,-10],[-1,-2],[-1,6],[-2,3],[0,4],[1,1],[1,-2]],[[7736,5815],[-2,1],[2,6],[0,-7]],[[7727,5844],[-1,0],[1,6],[1,4],[1,-3],[-2,-7]],[[7736,5860],[0,-12],[-2,2],[-1,0],[-1,6],[0,2],[-1,4],[4,1],[1,-3]],[[7735,5869],[-1,0],[0,10],[2,-4],[2,-3],[-1,-2],[-2,-1]],[[7725,5883],[-2,1],[-1,4],[1,3],[2,-1],[-1,-3],[0,-2],[1,-2]],[[7723,5897],[0,-2],[-2,-4],[-2,3],[2,3],[2,0]],[[7732,5909],[1,-2],[1,0],[0,-5],[-2,-7],[-2,-1],[0,10],[-1,6],[1,4],[2,-2],[0,-3]],[[7730,5938],[0,-10],[-2,5],[0,10],[2,-5]],[[7623,6102],[-2,-6],[0,9],[3,4],[1,5],[2,3],[0,-4],[-1,-7],[-3,-4]],[[7709,6119],[-1,0],[-1,3],[-1,9],[2,2],[1,0],[1,-2],[0,-3],[-1,-9]],[[7601,6259],[-3,5],[-2,6],[3,1],[4,-1],[0,-3],[-1,-6],[-1,-2]],[[7602,6310],[3,-5],[1,0],[2,-3],[0,-3],[-1,-2],[-2,-2],[-2,1],[-1,6],[-2,2],[0,2],[1,3],[1,1]],[[7596,6329],[0,-8],[-2,3],[0,8],[2,-3]],[[7582,6331],[-1,-3],[-1,7],[1,3],[1,-7]],[[7780,6354],[-5,5],[-2,1],[-1,-3],[-3,-3],[-3,0],[-5,2],[1,-6],[1,-4],[-2,-4],[-1,-1],[-3,-1],[-3,2],[-2,0],[-3,-4],[-1,-11],[0,-3],[-2,-2],[-2,1],[-9,-5],[-4,-1],[-3,0],[-4,5],[-2,0],[-1,-1],[0,-6],[-2,-3],[-3,-8],[-1,-11],[1,-8],[-3,-8],[0,-3],[1,-18],[0,-2],[-2,-2],[-3,-1],[-2,-2],[-3,1],[0,-1],[2,-8],[2,-4],[2,1],[1,-1],[-1,-2],[1,-5],[2,-8],[1,-6],[-1,-6],[0,-3],[2,-5],[8,-18],[5,-13],[5,-10],[1,-5],[0,-9],[1,-5],[2,-4],[0,-3],[2,-11],[1,-2],[4,7],[1,-1],[1,-3],[0,-3],[-2,-7],[-7,-7],[0,-7],[-1,-9],[0,-12],[1,-9],[-1,-4],[-2,1],[-4,-5],[-1,0],[-2,-2],[-1,-2],[0,-3],[2,-19],[2,-7],[2,-6],[3,-7],[2,-7],[4,-7],[6,-10],[2,-6],[2,-8],[2,-6],[0,-12],[1,-16],[-2,-7],[0,-4],[2,-4],[0,-5],[1,-8],[2,-5],[2,-3],[1,-3],[0,-9],[1,-5],[1,-7],[1,-5],[3,-18],[0,-2],[-1,-4],[-3,-4],[-1,-3],[-2,-10],[-5,-16],[-5,-11],[-3,-7],[-3,-5],[-1,-3],[0,-18],[-2,-9]],[[7740,5770],[-1,0],[-2,-9],[-2,4],[0,15],[-1,18],[1,3],[1,1],[4,14],[0,9],[2,6],[-1,5],[0,6],[1,5],[0,4],[1,4],[2,3],[-1,1],[-1,3],[-3,-4],[-1,1],[-1,4],[1,4],[0,2],[1,3],[0,5],[-1,5],[1,5],[-2,0],[0,5],[2,3],[-2,5],[1,6],[0,17],[-2,8],[0,10],[-3,8],[-1,11],[-5,14],[0,12],[-1,3],[-2,-20],[-1,4],[0,11],[-1,5],[1,10],[-3,10],[-1,7],[-2,11],[1,3],[0,4],[-2,-2],[-1,7],[-1,19],[-1,7],[1,7],[-2,26],[-4,8],[2,13],[0,12],[1,4],[0,2],[-5,-2],[-3,0],[-2,9],[-3,12],[-1,10],[1,2],[-3,4],[-4,9],[-1,-1],[-2,-6],[2,-10],[-2,-6],[-1,-8],[-1,-4],[-4,-9],[-4,-3],[-2,0],[-4,5],[0,4],[-1,6],[-1,0],[1,-8],[0,-3],[2,-8],[0,-2],[-7,-4],[-1,-3],[0,-2],[-7,-4],[-2,-6],[-1,-5],[-3,-8],[-5,-7],[-1,0],[-1,2],[0,7],[2,6],[-1,3],[-4,-12],[-3,1],[-4,-2],[-1,10],[0,3],[-1,3],[-2,-7],[-4,-4],[0,10],[1,4],[0,6],[1,9],[-1,1],[-1,-6],[-2,-1],[-4,-12],[-4,-5],[-2,1],[0,6],[1,23],[2,3],[1,4],[1,13],[1,5],[1,10],[1,2],[2,8],[0,15],[-2,15],[-2,22],[-5,17],[0,6],[-2,7],[2,1],[-5,6],[0,3],[-1,14],[0,8],[-1,-1],[0,-5],[-2,-2],[1,-9],[0,-2],[-1,-3],[-4,3],[-2,4],[-6,20],[1,2],[1,0],[4,-8],[3,-2],[2,2],[2,4],[1,6],[-1,2],[-2,2],[-2,1],[-2,5],[0,5],[-4,4],[1,5],[2,3],[-4,0],[-6,9],[-3,0],[-3,-1],[2,-9],[-1,-2],[-1,0],[-4,13],[1,3],[-1,3],[1,9],[-4,-11],[-2,1],[-1,2],[2,5],[1,1],[-1,6],[-2,3],[-1,6],[-1,0],[1,-7],[-1,-9],[-3,10],[-6,15],[-2,4]],[[5536,7595],[-4,4],[-2,7],[-6,11],[-8,8],[1,3],[-4,-1]],[[5532,7691],[0,-3],[1,-2],[5,-6],[4,-8],[6,-6],[3,0],[2,-1],[6,-7],[5,-4],[0,-4]],[[7438,8015],[3,0],[2,1],[3,4],[1,3],[0,5],[2,4],[4,1],[5,0],[3,1],[1,-2],[4,-1],[1,2],[0,3],[1,1],[2,-4],[4,1],[2,2],[2,6],[1,-1],[3,0],[2,3],[5,3],[1,2],[-1,4],[0,5],[3,2],[6,2],[1,5],[1,2],[5,1],[8,6],[4,0],[2,2],[1,3],[2,1],[6,6],[5,1],[2,1],[3,0],[1,3],[2,3],[2,0],[1,3],[2,3],[3,1],[8,0],[3,1],[2,4],[0,2],[2,3],[2,-4],[6,-6],[3,1],[1,4],[2,1],[2,-1],[2,-7],[3,-3],[3,0],[2,1],[3,-1],[3,0],[8,-2],[8,0],[5,-1],[1,-2],[1,-6],[0,-6],[1,-5],[1,-2],[2,-1],[3,-5],[1,-3],[3,1],[6,0],[2,-2],[1,-3],[2,-2],[1,1],[6,0],[2,-2],[2,0],[1,2],[4,1],[3,3],[3,-1],[1,-2],[2,2],[6,-2],[2,-3],[2,-1],[3,2],[1,-2],[2,-1],[3,2],[8,-2],[3,-4],[1,-3],[2,-1],[4,0],[5,6],[2,4],[3,2],[4,0],[2,3],[2,1],[3,4],[0,1],[3,7],[2,12],[0,6],[-4,2],[-3,4],[-2,8],[0,4],[-4,8],[0,4],[3,9],[0,8],[2,2],[1,4],[2,2],[3,1],[2,7],[0,3],[2,2],[8,5],[3,6],[4,12],[2,-1],[2,-4],[1,0],[9,-6],[9,-3],[5,-7],[3,-1],[13,0],[6,-4],[11,-6],[3,-3],[5,-3],[5,1],[7,-3],[8,-4],[1,-2],[0,-12],[2,-8],[0,-8],[3,-6],[-1,-3],[0,-5],[1,-2],[4,-2],[2,-3],[6,-6],[3,-2],[8,-2],[4,-5],[4,-1],[5,-3],[5,2],[4,-1],[4,0],[3,1],[4,6],[4,2],[3,0],[3,2],[11,3],[5,4],[3,1],[9,-4],[5,0],[5,-5],[4,-1],[4,1],[6,0],[4,-1],[4,-3],[2,-3],[3,-7],[5,-5],[4,-1],[7,0],[8,-2],[1,-1],[0,-14],[2,-2],[2,-5],[4,-2],[5,-8],[3,-3],[3,-1],[3,1],[14,0],[6,-2],[2,-2],[19,-6],[3,3],[3,0],[6,-4],[5,1],[11,8],[3,3],[3,-1],[8,4],[3,0],[3,1],[4,0],[8,5],[4,1],[5,-1],[3,1],[7,5],[1,5],[2,6],[12,12],[4,3],[4,2],[5,6],[7,4],[2,-1],[5,-1],[5,0],[4,-3],[3,-3],[8,-11],[4,-3],[4,0],[4,-1],[2,2],[4,2],[6,4],[2,0],[9,-5],[4,-6]],[[9034,5999],[-2,-3],[-1,1],[0,2],[2,2],[1,-2]],[[9045,6046],[-1,-3],[-1,4],[0,2],[1,2],[1,-5]],[[9047,6055],[0,-2],[-2,1],[1,6],[2,0],[0,-3],[-1,-2]],[[9046,6124],[-2,1],[0,2],[2,0],[0,-3]],[[9048,6225],[0,4],[1,1],[1,-2],[-2,-3]],[[9046,6264],[-1,-2],[-1,1],[0,4],[2,-1],[0,-2]],[[5891,3637],[0,19],[-2,10],[0,7],[1,6],[-1,6],[-3,3]],[[5886,3688],[0,11],[1,8],[0,32],[0,40],[-2,8],[-1,12],[-2,8],[-3,9],[0,4],[-2,7],[-2,4],[0,11],[-2,16],[-1,11],[-2,12],[-2,8],[0,4]],[[5868,3893],[4,6],[9,18],[4,9],[3,8],[11,22],[1,1],[-2,9],[3,11],[0,16],[2,3],[3,6],[3,9],[3,8],[3,13],[1,3],[0,4],[-1,4],[-4,14],[-2,10],[2,8],[0,11],[-3,3],[-1,3],[0,5],[1,2],[4,4],[0,2],[1,2],[0,3],[2,16],[0,9],[-1,7],[0,18],[1,19],[0,11],[-3,12],[0,9],[2,6],[0,4],[-1,0],[-5,2],[-3,5],[-10,8],[-9,1],[-7,12],[-5,2],[-2,2],[-5,7],[-17,2],[-6,0],[-1,11],[0,9]],[[5843,4282],[0,8],[-1,9],[-1,4],[-2,6],[-1,6],[0,4],[7,6],[2,2],[4,3],[7,4],[6,3],[5,3],[6,4],[2,2],[10,7],[2,2],[6,3],[8,6],[18,12]],[[5921,4376],[1,-2],[4,-14],[4,-8],[3,-8],[2,2],[2,1],[6,2],[2,0],[1,2],[3,2],[4,0],[1,-1],[3,-10],[1,-7],[1,-11],[0,-13],[-1,-9],[-3,-10],[0,-5],[-2,-8],[-2,-4],[-1,-3],[0,-4],[1,-3],[3,-5],[1,-3],[-1,-3],[0,-4],[2,-4],[2,-3],[2,-6],[4,-8],[5,-11],[4,-4],[1,-4],[0,-4],[-2,-3],[2,-5],[1,-1],[4,0],[0,18],[-1,10],[-2,4],[0,4],[2,7],[1,7],[1,4],[1,1],[7,2],[3,2],[1,2],[1,6],[1,16],[0,15],[-1,9],[1,13],[2,9],[-1,1],[0,11],[-5,12],[-8,24],[-4,9],[-6,14],[-3,6],[-2,2],[-5,1],[-2,3],[-1,5],[0,8],[-1,6],[0,11],[-1,15],[-1,4],[-1,11],[-2,11],[0,3],[1,2],[2,8],[3,9],[1,8],[1,4],[1,2],[4,1],[4,-1]],[[5970,4516],[6,1],[8,-1],[1,-1],[2,0],[2,1],[2,3],[2,5],[3,0],[5,-5],[3,-4],[0,-4],[3,-2],[6,-1],[5,2],[2,5],[3,2],[3,0],[2,-1],[2,-4],[3,-2],[4,-1],[5,2],[5,5],[3,6],[0,6],[2,5],[3,0],[4,1],[4,-2],[5,-6],[3,4],[6,7],[5,3],[5,0],[4,3],[3,5],[4,3],[4,1],[8,8],[10,16],[3,5]],[[6123,4581],[1,-6],[3,-6],[-2,-3],[-1,-3],[3,-4],[-3,-5],[0,-4],[1,-2],[0,-2],[-1,-7],[-3,-8],[2,-7],[-1,-12],[2,-11],[0,-5],[1,-4],[-1,-7],[0,-11],[1,-5],[-1,-5],[1,-2],[1,-6],[0,-8],[-1,-3],[-3,-5],[0,-5],[4,0],[0,-13],[-1,-4],[1,-5],[-1,-5],[1,-4],[0,-18],[1,-16],[0,-3],[1,-2],[2,0],[0,-5],[-2,-6],[0,-8],[2,7],[2,0],[1,-3],[0,-19],[-1,-3],[-3,-5],[0,-7],[-2,-3],[1,-5],[0,-4],[-2,-12],[-7,-17],[-6,-12],[0,-5],[-3,-9],[-4,-2],[-2,-2],[2,-8],[-3,-2],[-3,-7],[-11,-12],[-2,-3],[-2,-7],[-4,-2],[-2,-2],[-4,-1],[-2,0],[-8,-7],[-7,-4],[-2,-4],[-6,-5],[-17,-19],[-6,-12],[-2,-3],[-1,-5],[0,-3],[-4,-10],[-6,-12],[-1,-4],[-3,-6],[0,-5],[-2,-1],[-2,4],[-1,-8],[-1,-1],[-2,2],[-4,-4],[-9,-15],[-8,-19],[-11,-18],[-3,0],[-4,6],[0,-3],[1,-3],[0,-16],[-1,-18],[0,-4],[2,-5],[3,-6],[3,-8],[3,-23],[1,-11],[4,-15],[0,-6],[1,-16],[0,-21],[2,-3],[0,8],[1,8],[1,3],[1,0],[0,-4],[1,-3],[0,-8],[-1,-16],[0,-6],[2,-11],[-2,-13],[-3,-30],[-1,-5],[1,-3],[2,0],[1,3],[1,0],[-1,-16],[-7,-21],[-3,-6],[-4,-7],[-11,-9],[-21,-15],[-14,-11],[-11,-13],[-4,-9],[-2,-10],[-4,-10],[3,-9],[4,-7],[2,8],[0,3],[1,0],[0,-10],[-2,-34]],[[5912,3637],[-3,0],[-5,-1],[-6,0],[-5,2],[-2,-1]],[[5961,4491],[0,2],[-1,1],[-2,-3],[1,-3],[2,0],[0,3]],[[5963,4486],[1,1],[0,4],[-2,1],[0,-7],[1,1]],[[4544,6318],[-2,-3],[-1,4],[3,8],[1,1],[-1,-10]],[[4658,6036],[-4,5],[-1,5],[-2,4],[-4,2],[-2,3],[-2,5],[-1,1],[0,6],[-2,6],[-2,3],[-1,0],[-2,2],[0,2],[-1,2],[-2,1],[-1,5],[-1,8],[-2,7],[-1,5],[-2,2],[-1,0],[0,3],[-2,0],[-1,-1],[-2,0],[-1,3],[-1,0],[-2,-2],[-1,0],[-2,4],[-1,3],[0,3],[-3,6],[-6,9],[-7,5],[-7,-1],[-4,1],[-1,1],[-1,-2],[-2,1],[-1,-1],[0,-2],[-2,-2],[-5,0],[-4,-1],[-3,-3],[-4,-1],[-5,0],[-3,1],[-2,2],[-3,-1],[-2,-4],[-1,-8],[-2,-5],[-1,-1],[-1,-7],[0,-10],[-1,-4]],[[4540,6096],[0,25],[2,19],[3,18],[4,16],[3,20],[2,20],[-1,19],[-1,17],[-2,11],[-1,17],[-3,9],[-5,7],[-1,5],[1,1],[3,1],[2,6],[-4,-2],[5,18],[1,12],[0,8],[1,5],[-4,11],[-2,14],[-3,3],[0,-3],[-1,-3],[-2,2],[-3,10],[-4,16],[-1,1],[-2,-4],[-2,-13]],[[4525,6382],[0,5],[2,14],[1,11],[22,0],[20,0],[19,0],[12,0],[13,0],[23,0],[0,30],[-1,8],[0,23],[-1,6],[0,4],[-1,7],[-1,4],[4,14],[4,5],[4,6],[3,5],[2,1],[5,1],[4,4],[6,5],[0,37],[0,31],[0,24],[0,23],[0,31],[10,0],[15,0],[16,0],[10,0],[16,0],[10,0],[16,0],[0,29],[0,45]],[[3273,6148],[0,-4],[-2,1],[0,3],[1,3],[1,-3]],[[6600,4003],[-3,-1],[-4,0],[-2,3],[1,3],[0,4],[1,6],[1,3],[2,2],[0,5],[2,3],[2,1],[3,-6],[1,-7],[0,-7],[-2,-2],[0,-4],[-2,-3]],[[5921,4376],[-1,4],[-2,-1],[-1,-3],[-2,0],[0,2],[-3,9],[-2,2],[-1,2],[1,1],[0,3],[-1,2],[-3,2],[0,2],[3,2],[2,5],[2,6],[1,6],[1,2],[0,13],[1,5],[-1,2],[-1,4],[1,6],[1,4],[6,4],[5,4],[1,2],[2,6],[-1,1],[-3,0],[-1,1],[-2,12],[1,13],[0,16],[-1,1],[-1,3],[0,7],[1,0],[2,9],[1,6],[-1,4],[-2,11],[2,5],[2,0],[1,1],[6,11],[0,2],[-1,4],[-2,6],[0,2],[-1,7],[-3,6],[-3,5],[1,5],[0,5],[-2,6],[-2,5],[0,3],[-1,1],[-2,0],[0,-2],[-3,1],[0,6],[-2,5],[0,1]],[[5913,4641],[2,1],[4,-6],[3,0],[3,-1],[2,-5],[2,-1],[1,1],[7,0],[3,-4],[2,0],[0,8],[1,2],[3,-2],[6,-11],[0,-2],[5,-11],[1,-4],[0,-3],[1,-10],[0,-10],[1,-4],[0,-2],[2,-11],[0,-4],[-1,-5],[-1,-7],[0,-5],[2,-6],[2,-3],[0,-4],[1,-2],[2,-1],[1,-2],[2,-9],[0,-2]],[[8093,5322],[-1,0],[-1,2],[-1,17],[1,2],[1,0],[1,-4],[-1,-7],[1,-7],[0,-3]],[[7894,5341],[-2,-1],[-1,3],[1,5],[1,1],[1,-6],[0,-2]],[[8267,5423],[0,5],[1,1],[2,-1],[3,-4]],[[7785,5488],[-1,-1],[-2,1],[0,9],[1,1],[2,-1],[1,-2],[-1,-7]],[[7772,5556],[2,-6],[-1,-3],[-1,0],[-3,-3],[-1,4],[-1,2],[0,3],[1,1],[2,-2],[2,3],[0,1]],[[7780,5554],[0,3],[1,9],[0,2],[3,0],[2,-7],[6,-5],[2,-1],[2,2],[1,-2],[2,-2],[0,-5],[2,-5],[3,1],[2,-1],[0,-5],[1,-7],[-1,-5],[-2,-6],[0,-4],[1,-3],[2,-3],[0,-2],[1,0],[2,2],[1,4],[0,3],[5,3],[4,4],[1,-2],[1,-5],[1,-1],[3,0],[3,3],[1,5],[0,4],[4,6],[0,6],[1,3]],[[7835,5543],[5,-2],[1,-2],[6,-18],[7,-13],[3,-4],[2,-2],[4,-7],[2,-9],[6,-23],[1,-11],[1,-16],[-1,-24],[-2,-12],[0,-5],[2,-9],[0,-34],[1,-5],[2,-4],[7,-11],[1,-4],[4,-14],[7,-31],[2,-14],[-1,-4],[0,-2],[-3,-1],[-2,5],[0,4],[-2,3],[-1,-7],[-2,0],[-2,1],[-4,-1],[-4,-7],[-2,0],[-1,6],[-1,4],[-1,2],[-13,15],[-5,3],[-5,11],[-11,12],[-7,11],[-3,8],[-7,6],[-3,7],[-4,4],[2,8],[-1,7],[0,7],[-6,12],[-2,9],[-5,9],[-2,5],[-2,6],[3,3],[-1,4],[-3,8],[-1,8],[0,16],[-4,23],[-4,31],[1,11],[-1,12],[-2,11],[-3,9],[-1,6]],[[8044,5300],[2,-8],[0,-2],[4,-5],[4,-3],[3,-1],[6,0],[1,1],[9,-10],[3,-1],[3,1],[1,-1],[5,-7],[1,-1],[2,1],[-3,3],[-1,2],[-1,4],[0,4],[2,3],[1,3],[1,10],[2,9],[0,5],[-1,3],[-1,6],[2,8],[1,-3],[2,-2],[2,1],[1,3],[-1,4],[0,8],[2,6],[3,5],[3,2],[11,3],[17,9],[5,4],[2,1],[2,3],[2,8],[5,12],[4,11],[7,15],[6,14],[1,2],[1,8],[0,7],[2,3]],[[8197,5466],[7,1],[1,3],[3,4],[1,3],[0,5],[-3,4],[-1,4],[0,5],[4,9],[3,-2],[3,0],[2,5],[2,6],[4,9],[2,14],[10,23],[1,3],[6,23],[2,-1],[1,-7],[-2,-8],[0,-5],[3,3],[3,8],[3,10],[4,-3],[-1,-5],[1,-3],[1,-6],[2,-4],[4,-2],[3,-4],[1,-2],[0,-3],[1,-4],[0,-4],[-2,-5],[1,-7],[0,-4],[-1,-4],[5,0],[3,2],[3,5],[3,-11],[-2,-2],[-4,-3],[2,-4],[1,0],[3,3],[3,4],[2,0],[6,-6],[1,-2],[1,-6],[3,-2],[8,-8],[2,0],[3,1],[1,-1],[2,-6],[0,-4],[-2,-5],[-2,-3],[-6,-4],[-7,-4],[-3,0],[-5,3],[-2,0],[-1,-1],[-2,-10],[3,-9],[7,-9],[1,-3],[0,-3],[-1,-1],[-5,-3],[-4,-1],[-6,-4],[-3,1],[-5,4],[-1,0],[-1,-2],[-2,-6],[0,-1]],[[8253,5596],[-2,-3],[-1,4],[0,4],[3,5],[3,1],[0,-8],[-1,-2],[-2,-1]],[[5554,3756],[0,-24],[0,-26],[0,-25],[0,-26],[0,-25],[0,-26],[0,-26],[0,-33],[-3,0],[-6,-3],[-3,-5],[-2,-5],[-2,-3],[-3,-1],[-1,-2],[1,-4],[-1,-3],[-3,-3],[-4,1],[-5,3],[-6,1],[-8,-2],[-6,1],[-4,4],[-3,2],[-4,0],[-7,4],[-1,5],[-2,7],[0,3],[1,2],[0,3],[-1,5],[-1,2],[-2,0],[-1,2],[-2,7],[-2,3],[-4,-2],[-2,-9],[-2,-7],[0,-3],[-1,-4],[-1,0],[-6,-6],[-1,-3]],[[5456,3535],[-3,5],[-9,17],[-4,5],[-4,11],[-11,33],[-1,6],[-2,16],[-3,12],[0,7],[1,4],[-2,10],[-3,6],[-1,21],[-3,14],[1,11],[-1,10],[0,18],[-2,15],[-4,13],[-3,20],[-1,9],[1,24],[-1,9],[0,11],[-1,12],[-1,6],[1,5],[2,-2],[0,13],[-1,14],[-4,15],[-10,25],[-2,9],[-2,7],[-10,33],[-5,22],[-3,20],[-4,9],[-16,63],[-4,10],[-8,16],[-2,12],[-5,15],[-1,15],[0,29]],[[5648,4167],[6,3],[6,2],[7,2],[5,2],[1,0],[13,-2],[5,-1],[5,-5],[5,-10]],[[9653,3880],[-2,-2],[-2,3],[1,4],[2,-2],[1,-3]],[[9666,3949],[3,-1],[0,-10],[-5,-1],[0,2],[-2,1],[0,4],[-2,7],[3,1],[2,2],[0,-4],[1,-1]],[[9649,3964],[-2,0],[-2,4],[-4,2],[-2,4],[-1,4],[3,1],[2,6],[-4,3],[0,2],[4,3],[3,-4],[0,-9],[3,-9],[0,-7]],[[9625,3991],[-2,0],[2,5],[0,3],[1,6],[0,3],[2,-3],[-2,-4],[0,-3],[1,-1],[-2,-6]],[[9560,4017],[3,-3],[3,1],[4,-6],[11,-17],[4,-4],[2,-1],[2,-3],[1,-4],[3,-5],[1,-6],[4,-6],[2,-5],[3,-2],[5,-8],[3,-2],[7,-9],[5,-8],[3,-6],[6,-8],[4,-4],[2,-10],[-1,-3],[-2,-2],[-2,0],[-2,-2],[-7,8],[-1,-1],[-2,4],[-3,2],[-3,4],[-3,8],[-4,2],[-3,4],[-2,4],[-4,3],[-5,6],[-3,2],[-2,3],[-7,12],[-2,2],[-2,5],[-6,12],[-2,5],[-3,5],[-4,11],[-4,9],[-1,3],[0,7],[-2,1],[-1,3],[0,3],[1,2],[4,-6]],[[5377,5973],[-5,-1],[-3,-1],[-4,-6],[-4,-2],[-4,-5],[-7,-7],[-4,-8],[-1,-6],[-4,-1],[-5,1],[-4,6],[-8,6],[-6,3],[-2,0],[-13,1],[-13,-2],[-7,-3],[-1,0],[-4,-4],[-3,-4],[-9,-19],[-11,1],[-7,2],[-6,3],[-8,9],[-10,13],[-4,2],[-5,1],[-12,-14],[-2,1],[-3,-2],[-3,-5],[-3,1],[-2,2],[-2,3],[-6,18],[-2,4],[-4,7],[-3,4],[-2,-1],[-10,6],[-9,6],[-3,0],[-1,-2],[-3,-4],[-4,-1],[-5,0],[-3,1],[-4,-2],[-7,-5],[-5,-8],[-2,-1],[-1,-2],[-1,-23],[-2,-7],[-2,-9],[-5,-9],[-4,-5],[0,-35],[-1,-2],[1,-3],[0,-2],[1,-2],[-2,-4]],[[5415,6508],[3,-33],[2,-29],[1,-18],[0,-5],[1,-3],[2,-3],[8,-27],[-1,-4],[1,-8],[2,-4],[7,-16],[1,-5],[-6,-23],[-1,-24],[-1,-16],[-1,-23],[-1,-28],[-1,-23],[-1,-30],[-1,-29],[-7,-16],[-13,-28],[-11,-23],[-5,-15],[-11,-30],[-4,-19],[-4,-10],[-1,-4],[1,-15],[3,-24]],[[9664,3512],[1,-3],[-2,0],[0,3],[1,0]],[[5202,5438],[-3,-2],[-2,0],[3,8],[1,-2],[2,0],[-1,-4]],[[5377,5973],[4,-13],[5,-13],[4,-10]],[[5237,5457],[-1,0],[-1,-2],[-2,2],[-1,4],[-1,0],[-3,5],[2,-15],[-1,-5],[-7,0],[-6,-2],[-5,0],[-2,2],[-1,2],[-2,-2],[-5,-1],[-5,10],[0,-2],[2,-4],[0,-6],[-4,-6],[-3,-1],[-1,3],[-1,5],[0,7],[-1,4],[-1,0],[0,-4],[1,-3],[0,-7],[2,-6],[-3,-2],[-4,0],[0,2],[-1,5],[-1,-7],[-3,0],[-4,-2],[-1,1],[-1,4],[-1,-5],[-1,-1],[-2,0],[-3,3],[-5,7],[-6,11],[-2,11],[-2,6],[-1,11],[0,2],[-1,2],[0,8],[4,2],[1,3],[0,3],[-4,-5],[-5,5],[-1,3],[1,2],[2,1],[3,-1],[-1,3],[-2,1],[-3,-2],[-2,2],[0,5],[-2,4],[-5,13],[-6,11],[-6,8],[-8,4],[-18,-1],[-1,1],[2,3],[-1,3],[-2,0],[-2,-7],[-16,-1],[-2,-1]],[[2617,5820],[0,2],[-2,6],[-4,8],[-14,23],[-5,14],[-3,10],[-2,6],[-8,10],[-2,5],[-7,14],[-6,9],[0,3],[2,5],[1,-1],[4,-6],[2,1],[0,2]],[[2689,6047],[0,-2],[-1,-2],[-2,-7],[-1,0],[0,5],[-1,1],[-2,-5],[1,-3],[2,-1],[3,-24],[0,-4],[-4,-12],[-2,-4],[-2,-14],[-2,-24],[1,-22],[0,-31],[-2,-1],[-1,4],[0,3],[2,9],[-1,3],[-1,-6],[-1,-3],[-1,-1],[-1,-3],[1,-5],[2,-7],[-1,-3],[0,-12],[-1,0],[0,2],[-2,0],[0,-7],[-1,-2],[0,-3],[2,-2],[1,0],[2,-10],[-3,-4],[-2,-8],[-1,-5],[0,-3],[1,-10],[1,-7],[2,-4],[2,-1]],[[283,4084],[-3,-3],[-1,4],[1,4],[1,2],[1,0],[1,-5],[0,-2]],[[5092,8143],[7,1],[3,-2],[5,-1],[3,3],[3,-2],[3,1]],[[5109,8163],[3,-5],[-3,-1],[-4,4],[-2,-1],[-1,3],[2,1],[5,-1]],[[5135,8240],[-3,-4],[-2,1],[1,4],[4,6],[0,-7]],[[5165,8106],[-6,1],[-2,1]],[[5116,8143],[-6,3],[-5,-2],[-3,3],[-3,0],[-4,5],[3,3],[5,0],[4,-1],[7,-7],[4,1],[-1,2],[-5,3],[-2,2],[4,2],[0,3],[-5,8],[1,2],[2,8],[2,1],[7,11],[3,6],[2,8],[3,21],[2,8],[4,-2],[5,3],[8,8],[2,6],[3,3],[9,7],[5,1],[14,2],[7,0],[7,-8],[4,-1]],[[5147,8258],[6,4],[1,-1],[-7,-3]],[[5164,8262],[-8,0],[0,1],[8,0],[0,-1]],[[5140,8657],[0,-7],[-2,1],[-2,4],[1,4],[-1,4],[2,2],[2,-8]],[[5137,8702],[-3,-1],[-2,1],[1,5],[3,1],[1,-6]],[[5224,8831],[-6,1],[-2,4],[3,2],[4,1],[2,-2],[-1,-6]],[[5234,8850],[-3,0],[-2,2],[12,5],[3,-1],[-1,-3],[-9,-3]],[[5311,8919],[-2,-1],[-3,1],[-6,-1],[-3,2],[2,3],[6,3],[3,0],[3,-4],[0,-3]],[[5331,8963],[-5,-1],[1,5],[5,1],[-1,-5]],[[5346,8979],[-2,2],[4,4],[5,0],[1,-1],[-8,-5]],[[5344,8987],[-3,0],[6,10],[3,-2],[0,-3],[-2,-3],[-4,-2]],[[5359,9093],[-2,2],[2,6],[4,2],[0,-6],[-4,-4]],[[5384,9115],[2,-1],[4,1],[1,-2],[-2,-2],[-4,-1],[-3,-4],[-4,0],[-7,-5],[-5,-1],[0,5],[2,4],[4,0],[3,5],[4,2],[5,-1]],[[5421,9154],[4,-5],[2,-4],[-2,-6],[-3,-4],[-9,0],[-5,4],[-6,-3],[-3,2],[-1,3],[4,3],[1,3],[7,-1],[2,7],[5,-2],[0,7],[4,-1],[0,-3]],[[5437,9132],[4,5],[4,2],[2,4],[1,6],[5,1],[4,-4],[2,-5],[-1,-5],[-9,-5],[-4,-4],[-2,-4],[-2,-1],[-4,2],[-2,-4],[-7,-2],[-3,1],[0,3],[-2,0],[-2,-4],[-4,-2],[-3,2],[-9,-7],[-7,-1],[-3,1],[0,4],[9,8],[14,2],[9,10],[2,11],[2,4],[-1,3],[-2,0],[1,7],[7,7],[4,7],[5,1],[2,-2],[0,-3],[-4,-6],[-5,-5],[3,-7],[0,-10],[-3,-6],[-1,-4]],[[5485,9192],[3,-3],[5,1],[4,-3],[2,0],[2,-7],[-4,-3],[1,-8],[-5,-2],[-6,0],[-2,2],[-5,-4],[-4,-6],[-6,3],[-4,0],[4,4],[1,3],[-1,5],[3,7],[8,-1],[1,3],[-4,2],[0,2],[6,1],[1,4]],[[5831,9203],[-5,-1],[-1,1],[3,7],[2,0],[4,-4],[-3,-3]],[[5576,9220],[-4,-2],[-5,2],[-1,4],[2,3],[8,1],[1,-1],[-1,-7]],[[5534,9219],[2,-3],[5,2],[3,-2],[-1,-3],[-4,-3],[-3,-5],[-6,-1],[-6,-6],[-3,-4],[0,-3],[-14,-3],[-4,2],[-2,4],[4,0],[0,3],[3,2],[2,4],[3,-1],[2,2],[3,-1],[0,6],[4,4],[1,3],[6,4],[-1,5],[2,4],[3,0],[1,-4],[0,-6]],[[5548,9228],[4,-1],[2,-3],[3,-1],[0,-2],[-5,-2],[-4,1],[-5,11],[3,0],[2,-3]],[[5655,9247],[1,-5],[-9,-8],[-5,-3],[-1,5],[-5,1],[0,4],[6,4],[3,-1],[8,7],[2,-4]],[[5666,9248],[-5,-2],[-5,4],[1,7],[2,1],[2,-2],[7,-3],[-2,-5]],[[5650,9262],[0,-2],[-4,-3],[-6,-8],[-7,-3],[-5,1],[-2,-2],[-6,0],[-5,3],[-5,5],[10,0],[2,3],[4,-1],[8,2],[3,-1],[7,6],[5,2],[1,-2]],[[5856,9203],[2,-8],[0,-3],[-4,-4],[-5,0],[-6,3],[-4,3],[-3,-10],[-4,-4],[-4,-2],[-13,-3],[-5,-12],[-2,-3],[-4,-1]],[[5572,9160],[-14,-1],[6,-7],[-1,-9],[-4,-8],[-5,-4],[7,-4],[-5,-5],[-5,-1],[-17,6],[-11,2],[-3,0],[-11,3],[-6,-2],[0,-12],[1,-6],[-3,-7],[-4,-7],[-17,8],[-4,-4],[-11,-8],[-5,-15],[-4,-5],[-7,-3],[-2,-4],[6,-10],[2,-6],[0,-5],[-5,-5],[-10,-12],[-9,-12],[-4,-4],[2,-11],[-3,-3],[-9,-5],[-4,0],[-10,-2],[2,-11],[0,-8],[-2,-9],[-2,-19],[-3,-8],[-12,-22],[-8,-12],[6,-4],[6,-3],[2,-11],[0,-5],[-2,-5],[-3,-5],[-8,2],[-11,2],[-8,-1],[-6,-3],[-7,-9],[-6,-10],[-4,-5],[1,-6],[-6,-11],[4,-12],[2,-5],[-3,-5],[1,-5],[0,-10],[-1,-4],[6,-17],[-2,-18],[-2,-15],[3,-4],[9,-6],[4,-6],[4,-5],[-4,-14],[-2,-4],[-6,0],[-5,-2],[1,-6],[4,-12],[3,-8],[1,-6],[-2,-8],[0,-4],[-1,-8],[-3,-3],[-3,-5],[-3,-3],[-5,-1],[-2,-2],[-2,-9],[-5,-6],[1,-2],[1,-8],[2,-8],[-2,-7],[-1,-8],[-2,-6],[-2,-2],[-2,1],[-3,8]],[[5315,8584],[0,4],[-15,4],[-6,14],[0,15],[-2,1],[1,-7],[-5,-3],[0,-4],[1,-1],[0,-9],[-5,-13],[-2,-1],[0,-2],[-3,1],[-3,-3],[-4,-1],[-1,4],[-4,5],[-1,-2],[2,-4],[-2,-4],[-2,0],[-6,-5],[2,-3],[-2,-3],[-2,0],[-2,-2],[0,-2],[-7,-6],[-11,-16],[-6,-4],[-4,-5],[-4,0],[-4,-3],[-12,-4],[-7,2],[-5,-2],[-3,3],[-1,5],[-3,-1],[-1,-4],[-5,3],[3,6],[0,2],[-8,0],[-9,7],[-2,3],[-7,5],[-4,6],[-2,6],[0,5],[1,9],[2,2],[7,-3],[6,-5],[1,0],[3,4],[4,4],[-1,1],[-7,-4],[-5,6],[0,2],[2,5],[-1,3],[0,4],[3,4],[4,4],[-1,3],[-4,-5],[-5,-3],[-3,-1],[-4,-3],[-3,-5],[-3,-2],[-5,0],[-1,4],[1,13],[2,6],[1,5],[3,0],[2,4],[2,0],[1,-2],[5,-1],[3,4],[3,0],[7,5],[0,1],[-5,-1],[-6,-2],[-2,1],[-1,3],[2,3],[6,7],[2,3],[2,9],[5,7],[5,3],[2,-3],[2,0],[4,5],[0,3],[-13,-5],[-5,-4],[-7,-11],[-1,-5],[-2,-2],[-3,-1],[-4,-6],[-1,-5],[-8,-8],[-2,-3],[-1,2],[0,10],[2,4],[1,4],[-1,4],[1,2],[4,-1],[4,0],[5,3],[-1,2],[-7,0],[-3,3],[-3,6],[-1,8],[1,2],[10,8],[-3,0],[-5,-3],[-4,4],[-2,4],[-1,9],[1,4],[-1,6],[3,2],[2,-1],[9,0],[13,4],[9,-3],[9,4],[4,0],[4,-2],[2,-3],[0,-4],[1,-2],[2,1],[-1,3],[0,4],[14,5],[1,2],[-5,1],[-2,4],[-2,-1],[1,-4],[-1,-2],[-3,-1],[-6,0],[-4,2],[-4,1],[-2,4],[-3,-7],[-3,-1],[-8,1],[-12,-1],[-6,-2],[-3,0],[-9,8],[0,11],[7,1],[2,2],[-4,3],[-2,5],[-3,1],[-2,4],[-1,5],[2,6],[4,-1],[10,0],[9,-4],[6,-2],[13,1],[7,4],[-1,1],[-8,-2],[-8,0],[-13,4],[-5,1],[-6,0],[-3,1],[-1,4],[1,8],[3,1],[3,-2],[5,9],[5,4],[7,2],[3,-3],[3,0],[11,3],[-4,2],[-5,-2],[-4,0],[0,2],[3,4],[1,4],[2,2],[8,0],[3,1],[15,-2],[6,-3],[6,2],[-5,2],[0,3],[8,3],[8,1],[-2,2],[-17,-4],[-5,3],[-3,0],[-3,-2],[-7,-1],[-1,1],[1,4],[7,10],[10,3],[5,5],[8,0],[7,-1],[3,-5],[4,2],[-3,3],[-2,4],[0,5],[3,3],[8,1],[2,2],[-1,5],[-3,-1],[-3,2],[-1,3],[1,2],[5,4],[8,2],[8,-3],[-2,-7],[2,-1],[5,7],[5,1],[5,2],[4,-6],[3,-2],[1,-5],[3,2],[7,2],[7,-1],[5,1],[-3,5],[3,6],[5,2],[5,1],[3,3],[4,2],[-2,4],[-4,2],[8,6],[-4,2],[-3,-1],[-8,-6],[4,-4],[-3,-5],[-17,-11],[-8,-3],[-3,0],[-1,3],[-4,7],[-5,-1],[1,7],[3,4],[4,3],[4,9],[6,6],[9,14],[8,4],[3,5],[4,2],[4,4],[3,0],[5,3],[3,4],[-2,1],[-7,-4],[1,9],[4,4],[19,11],[2,-1],[2,-4],[5,1],[7,7],[-1,3],[-5,-5],[-5,0],[0,3],[-4,0],[-2,2],[0,5],[4,12],[10,14],[1,5],[4,3],[5,-1],[1,1],[-2,4],[-5,3],[0,2],[17,4],[8,0],[2,3],[5,1],[3,3],[-2,1],[-8,-2],[-9,-3],[-7,0],[-1,12],[1,6],[2,0],[1,6],[3,3],[4,1],[4,5],[5,-1],[4,2],[-6,2],[-2,3],[2,2],[5,1],[3,7],[3,2],[3,0],[3,3],[4,-1],[8,3],[18,0],[1,3],[-17,1],[-7,0],[-3,-1],[-1,3],[3,2],[1,3],[5,6],[6,4],[4,-1],[5,-4],[3,0],[2,-2],[3,0],[3,4],[-1,2],[-5,-2],[-4,2],[-3,6],[3,5],[-1,1],[-7,-4],[-7,-1],[1,5],[-1,3],[7,8],[6,1],[4,-3],[6,2],[-1,2],[-6,1],[-2,4],[5,2],[5,3],[5,1],[5,3],[1,-1],[2,-10],[4,-9],[1,0],[-1,7],[3,4],[-3,4],[-3,8],[1,2],[5,4],[7,1],[6,-3],[7,1],[13,5],[-4,2],[-6,-2],[-17,1],[-2,1],[0,3],[4,5],[6,3],[7,1],[7,6],[3,5],[1,7],[5,5],[11,4],[-1,9],[3,7],[3,2],[5,-6],[5,-3],[6,0],[1,1],[-4,2],[-4,4],[0,3],[2,2],[5,0],[4,3],[0,3],[5,7],[14,3],[1,-1],[-1,-10],[-2,-6],[3,0],[6,18],[3,3],[8,4],[1,-4],[-1,-15],[-2,-5],[-6,-10],[4,1],[8,10],[7,-1],[-5,6],[-1,3],[1,10],[2,3],[9,0],[6,-1],[2,6],[5,1],[15,-10],[-2,9],[-2,4],[-6,2],[-6,4],[-1,4],[5,1],[7,-2],[6,4],[2,-1],[4,2],[3,-3],[2,1],[1,4],[7,2],[5,-2],[2,-2],[3,-12],[6,-6],[3,-1],[1,2],[-3,3],[1,8],[1,2],[8,9],[7,5],[4,0],[7,10],[3,3],[0,2],[-4,2],[0,3],[5,4],[6,6],[3,0],[8,-4],[3,-4],[4,-1],[3,4],[4,-1],[2,-2],[4,-1],[0,-2],[-3,-2],[-6,-6],[-5,-7],[-2,-4],[-2,-9],[-4,-6],[0,-5],[2,-2],[4,2],[6,6],[1,6],[15,16],[7,9],[7,8],[5,1],[2,-5],[-2,-6],[-3,-4],[2,-2],[0,-5],[-2,-8],[3,0],[9,6],[4,9],[1,4],[4,3],[6,0],[0,2],[-8,5],[-1,2],[3,3],[8,5],[6,-2],[9,-1],[7,-4],[-1,-6],[-3,-4],[-9,-4],[-1,-3],[3,-1],[6,3],[1,-2],[-2,-6],[0,-7],[3,0],[4,3],[1,7],[4,8],[4,5],[2,1],[7,0],[4,-2],[2,-4],[3,-2],[6,-1],[5,-4],[7,4],[5,-5],[-1,-5],[6,1],[5,-2],[9,-7],[1,-3],[-1,-4],[-13,-4],[-5,-5],[-10,-1],[-32,3],[1,-3],[22,-7],[1,-2],[0,-9],[2,-3],[8,0],[3,-1],[2,2],[0,5],[5,0],[1,-6],[3,3],[10,0]],[[5710,9281],[7,-2],[3,0],[5,-6],[-4,-2],[-11,0],[-3,3],[-5,2],[8,5]],[[9635,5154],[1,1],[1,-1],[0,-2],[-1,0],[-1,0],[0,1],[0,1]],[[9698,2160],[1,-3],[-2,-2],[-3,3],[4,2]],[[9616,2260],[0,-5],[-4,1],[-2,3],[-1,-3],[-2,0],[0,3],[5,5],[1,6],[-1,2],[4,1],[1,-3],[-2,-2],[1,-5],[-1,-1],[1,-2]],[[9669,2484],[0,-2],[-3,1],[0,-3],[3,-1],[1,-2],[2,0],[0,-5],[-2,-2],[-4,-1],[-3,-3],[-4,0],[-3,-4],[-4,-1],[0,4],[3,3],[0,3],[1,3],[2,1],[0,4],[2,3],[-1,6],[0,5],[5,1],[5,-10]],[[9630,2554],[0,-5],[-4,2],[-2,0],[1,3],[4,2],[1,-2]],[[9637,2581],[1,-7],[-2,1],[-2,3],[2,3],[1,0]],[[106,2630],[-2,0],[1,3],[-1,2],[2,1],[1,-2],[-1,-4]],[[106,2664],[-1,-2],[-2,1],[-3,-2],[-1,2],[-2,-6],[1,-5],[2,0],[1,-6],[-3,-1],[-2,-3],[-2,1],[-1,6],[2,3],[1,3],[-3,4],[-5,-1],[-1,1],[2,4],[3,-1],[3,3],[11,-1]],[[9829,2830],[-3,-4],[0,3],[1,5],[1,2],[3,2],[0,-4],[-2,-4]],[[9807,2806],[3,-1],[3,5],[3,3],[4,3],[5,6],[5,4],[2,0],[-1,-3],[-2,-2],[0,-3],[-1,-3],[0,-4],[1,-3],[1,3],[-1,2],[4,5],[-1,4],[3,-1],[3,2],[0,-3],[2,1],[-2,-6],[-3,-6],[1,-2],[4,5],[2,-1],[-4,-7],[-3,-3],[-1,-4],[0,-4],[2,-4],[-2,-6],[3,1],[3,-5],[-1,-4],[-10,-18],[0,-5],[-2,-3],[-7,-12],[-1,-3],[-5,-18],[-4,-8],[-2,-3],[-7,-6],[-2,-4],[-3,-3],[-2,-1],[0,-2],[3,-3],[-3,-4],[3,-2],[0,-3],[2,-6],[7,-3],[1,-2],[0,-8],[-1,-2],[-4,-1],[-3,1],[-2,4],[-5,-1],[1,3],[-3,3],[-2,-1],[-1,-2],[0,-3],[-1,-2],[-4,2],[-2,0],[1,-4],[-2,-3],[-3,-2],[-3,-1],[-6,-7],[-4,0],[-2,-1],[-2,-7],[-2,-2],[-2,-13],[-1,-5],[0,-9],[-1,-9],[-1,-3],[0,-4],[-4,-6],[-5,-22],[-3,-9],[0,-2],[3,-4],[0,-3],[-2,-2],[-9,-4],[-2,-3],[-4,-9],[-8,-10],[-6,-13],[-10,-4],[-6,-1],[-4,1],[-6,3],[-5,-2],[-3,1],[-2,-1],[-2,3],[1,4],[-3,6],[-2,1],[-9,0],[-5,10],[-5,2],[-3,-5],[-8,-1],[-10,3],[-1,4],[1,5],[-2,0],[2,5],[0,4],[-3,-4],[-4,0],[0,7],[1,2],[9,2],[3,1],[2,2],[-6,1],[0,3],[2,6],[-4,0],[0,4],[1,4],[4,0],[-1,2],[0,3],[1,1],[4,-5],[3,-1],[-1,3],[0,5],[-3,3],[0,5],[3,4],[2,1],[-1,3],[7,9],[1,-7],[1,2],[0,3],[-1,4],[1,2],[2,1],[6,9],[2,0],[0,5],[10,16],[4,8],[3,3],[5,4],[5,-2],[7,8],[3,-3],[-1,5],[1,3],[9,9],[4,2],[3,3],[2,0],[0,4],[1,2],[4,4],[4,6],[2,5],[4,6],[2,1],[3,-1],[-1,3],[6,5],[3,4],[4,8],[1,1],[6,13],[2,1],[-1,3],[1,6],[0,6],[2,7],[3,16],[1,2],[6,2],[3,4],[5,12],[2,14],[1,15],[4,11],[5,8],[5,6],[2,1],[3,0],[-2,-3],[-1,-4],[0,-3],[2,-6],[2,-3],[4,-1],[2,-14],[0,-6],[1,-5]],[[9875,3094],[0,-3],[-2,1],[-1,2],[-3,3],[0,5],[2,4],[1,-3],[2,-3],[1,-6]],[[9812,3171],[0,-3],[2,2],[1,3],[2,-3],[6,-3],[3,-4],[2,3],[7,-7],[0,-7],[2,-2],[3,3],[1,0],[2,-7],[0,-2],[2,-3],[2,-7],[0,-3],[-1,-2],[2,-7],[-5,1],[0,-2],[2,-5],[2,-7],[2,-4],[5,-13],[-1,-5],[0,-6],[2,-7],[-2,-2],[0,-7],[-1,-1],[0,-3],[2,0],[3,-4],[0,3],[1,1],[3,-4],[7,-4],[1,-3],[0,-7],[1,-3],[5,1],[0,8],[-2,11],[0,3],[1,4],[-3,9],[-1,2],[2,4],[2,-6],[5,-9],[2,0],[0,-4],[2,-4],[1,-4],[1,-15],[2,-13],[4,-6],[0,-3],[-2,2],[-1,-2],[2,-3],[6,-2],[8,-9],[5,-3],[11,-6],[5,0],[3,2],[3,3],[4,12],[3,2],[2,3],[3,3],[8,0],[2,-3],[5,-5],[-3,-9],[-1,-6],[-2,-28],[-4,-11],[-3,-3],[-3,-2],[-2,-17],[2,-4],[0,-3],[-2,-6],[-1,1],[-1,5],[-1,2],[-7,2],[-4,-1],[-3,-2],[-6,-6],[-3,-8],[-1,-7],[0,-4],[1,-3],[4,-4],[-4,-14],[-3,-14],[-4,-8],[-3,-8],[-3,-7],[-3,-6],[-9,-27],[-2,-5],[-4,-6],[-4,-5],[-7,-7],[-2,-3],[-2,-1],[-3,4],[0,5],[-1,2],[-3,1],[-5,-2],[0,9],[-3,-3],[-3,0],[-1,2],[6,13],[5,13],[4,13],[3,19],[-2,5],[-1,5],[-4,9],[-6,5],[-3,1],[-3,2],[-4,5],[-2,5],[-12,8],[-3,4],[-2,7],[0,3],[1,5],[8,8],[7,4],[2,0],[2,2],[3,5],[0,3],[2,21],[2,12],[3,11],[-1,8],[2,4],[2,1],[-3,7],[-2,10],[-1,3],[1,3],[0,4],[-2,0],[0,3],[-3,11],[2,0],[2,-7],[2,6],[4,1],[-4,8],[-2,0],[-3,-2],[-4,3],[-1,3],[-1,7],[-1,2],[-5,13],[2,1],[4,-7],[1,2],[0,7],[-2,4],[0,3],[1,5],[-3,4],[-1,0],[1,-4],[-1,-1],[-6,8],[-1,-2],[4,-8],[0,-5],[-1,-1],[-2,2],[-1,7],[-2,4],[-14,36],[1,5],[4,6],[0,2],[-2,-1],[-4,-8],[-3,4],[0,4],[-2,0],[-1,5],[-2,3],[2,4],[0,6],[-4,13],[-5,10],[-4,10],[5,1],[4,0],[-2,-6],[1,-3],[2,-3],[3,-10],[0,-2],[3,-5]],[[6630,6348],[-2,-1],[0,8],[4,9],[3,10],[1,-9],[-3,-5],[-2,-9],[-1,-3]],[[6473,6142],[-1,8],[-2,7],[-2,8],[-1,8],[-1,5],[-2,2],[-2,5],[-3,18],[-2,5],[-3,18],[-1,5],[-2,6],[-2,12],[-1,5],[-2,6],[-3,17]],[[6443,6277],[8,6],[5,4],[10,6],[4,4],[10,6],[5,4],[5,3],[4,3],[5,3],[5,4],[5,3],[9,7],[8,5],[1,8],[2,12],[3,20],[2,12],[3,19],[3,20],[2,12],[2,13],[-1,5],[-3,8],[-4,15],[-2,5],[-2,7]],[[6565,6622],[3,-15],[4,-14],[4,-8],[4,-11],[6,-9],[2,-4],[11,-7],[14,-5],[6,-5],[7,1],[5,-7],[2,-7],[2,-4],[4,-11],[4,-10],[3,-10],[7,-12],[8,-4],[0,-12],[-1,-5],[-3,-9],[-1,-6],[-4,-10],[-4,-16],[-2,-4],[-6,-8],[-5,-11],[-6,-17],[-4,-18],[-2,-5],[-3,-1],[-3,0],[-1,2],[0,4],[1,6],[-4,-2],[-5,-13],[-2,-6],[0,-7],[-2,-9],[-1,-9],[-1,-7],[0,-4],[1,-10],[0,-11],[2,-13],[-2,-3],[-2,-1],[-7,-1],[-7,-2],[-6,-4],[-4,-5],[-4,-9],[-3,-24],[-5,-11],[-3,-2],[-8,-1],[-10,-2],[-4,-3],[-6,-15],[-1,-4],[2,-8],[-4,-12],[-3,-7],[-8,-5],[-3,3],[-2,1],[-6,0],[-8,-1],[-3,-5],[-5,-4],[-5,-5],[-9,-2],[-6,-5]],[[6557,6684],[2,9],[1,1],[3,0],[1,5],[2,2],[0,-14],[-1,-17],[-2,-6],[0,-3]],[[6892,6557],[0,-3],[-1,-3],[-2,6],[-3,-1],[-2,4],[-1,-4],[-5,-1],[0,6],[-2,-2],[-2,3],[-1,6],[-3,3],[-2,10],[0,6],[-3,22],[-2,2],[-11,4],[-1,4],[1,11],[0,6],[-4,9],[-1,6],[-3,5],[-3,2],[-3,-1],[-2,-5],[6,0],[-1,-2],[-2,0],[-10,-3],[-6,-3],[-7,1],[-10,-4],[-8,0],[-3,-7],[-2,1],[-1,2],[-11,5],[-1,3],[-2,1],[-2,-3],[-7,2],[-5,-1],[-2,-9],[-5,1],[-3,2],[-5,-2],[-9,3],[-3,-1],[-4,-3],[-1,-3],[-2,-1],[-3,5],[-2,-1],[-1,-3],[-6,-1],[-4,0],[-5,3],[1,1]],[[7131,7237],[3,-13],[2,-5],[1,-6],[1,-2],[1,-5]],[[2732,5606],[-1,-1],[-3,3],[-2,5],[-1,1],[0,2],[2,5],[2,1],[2,-5],[-2,-3],[1,-3],[2,-3],[0,-2]],[[2803,5659],[-1,-3],[-1,3],[1,2],[1,-2]],[[2808,5660],[-1,-3],[-1,6],[0,6],[2,2],[1,-1],[0,-8],[-1,-2]],[[2835,5600],[0,1],[-7,17],[-6,20],[-1,10],[3,0],[1,1],[0,9],[3,5],[1,3],[2,-6],[3,-3],[3,-4],[0,4],[-5,6],[-1,4],[-1,6],[-3,-5],[-1,0],[-1,2],[-2,1],[-1,-1],[0,-5],[-1,0],[-1,2],[0,3],[-2,10],[-4,7],[-1,0],[-2,4],[-2,2],[-3,5],[-4,4],[-4,1],[-5,-1],[-2,-2],[-2,-3],[0,-1],[-3,-3],[-2,-4],[0,-4],[-2,-4],[2,-3],[-10,-14],[-3,-2],[-4,-1],[-3,-5],[0,-7],[3,-5],[3,-8],[5,-11],[1,-4],[1,-6],[-2,-2],[-1,-2],[-5,0],[-2,-2],[0,-4],[-2,-3],[-7,-3],[-4,0],[-2,3],[0,10],[-4,15],[-1,10],[-2,-1],[-1,-3],[0,-8],[-1,-3],[-8,6],[-5,17],[0,3],[-1,4],[-4,2],[-3,2],[-3,1],[-2,-2],[-2,2],[0,5],[-4,-2],[-4,1],[-4,2],[-3,-1],[-3,-4],[1,-8],[-1,-2]],[[2706,5735],[2,-3],[3,-6],[0,-5],[1,-7],[2,-1],[2,1],[0,-3],[-1,-1],[0,-7],[3,-2],[1,-3],[5,1],[2,-1],[2,1],[-2,5],[-2,4],[0,2],[2,-1],[1,-3],[2,-3],[5,-11],[5,-3],[5,0],[3,2],[7,4],[4,8],[15,11],[5,7],[3,2],[4,6],[2,5],[2,2],[6,-2],[4,-2],[3,1],[2,-2],[1,-3],[2,-2],[6,1],[6,-2],[11,-10],[7,-9],[4,-11],[9,-13]],[[1436,3778],[-1,0],[-1,3],[1,1],[1,-4]],[[3043,4127],[-2,4],[-9,12],[-3,7],[-4,4],[-7,11],[-1,3],[-1,12],[-1,3],[-3,4],[-7,6],[-2,2],[-3,5],[-4,4],[-4,7],[-3,6],[-3,4],[-9,5],[-4,6],[-9,7],[-4,5],[-9,6],[-11,17],[-7,4],[-5,8],[-15,17],[-5,13],[-3,5],[-4,11],[-6,7],[-5,8],[-2,8],[-4,10],[-1,6],[-3,5],[0,11],[-2,5],[1,2],[2,1],[2,17],[-1,8],[-6,15],[-2,7],[-1,10],[-3,5],[-3,12],[-2,10],[-5,7],[-1,3],[0,4],[-3,3],[0,8],[-2,15],[-2,7],[-9,14],[0,6],[-1,9],[-2,11],[-13,43],[-2,16],[-2,9],[-3,17],[-4,12],[-2,11],[-3,20],[-4,12],[-3,11],[-4,10],[-4,7],[-2,5],[-6,24],[0,7],[-4,13],[-4,10],[-6,14],[-20,21],[-6,9],[-3,4],[-1,7],[1,4],[2,4],[2,-3],[2,1],[1,5],[1,7],[-2,9],[-6,18],[0,3],[1,5],[-2,8],[-3,7],[-1,5],[1,20],[2,5],[9,21],[3,8],[4,6],[4,8],[5,6]],[[8339,5486],[-2,-5],[-1,1],[-1,-1],[-3,-1],[-1,-4],[-2,-1],[-2,0],[0,4],[7,7],[4,5],[0,-3],[1,-2]],[[8364,5533],[2,-4],[2,1],[3,-1],[0,-4],[-3,-4],[-2,5],[-4,-3],[-2,1],[-2,-1],[-2,3],[1,3],[4,5],[3,-1]],[[8390,5554],[-4,-1],[-2,6],[0,2],[-2,3],[1,3],[2,1],[4,4],[7,-6],[1,-2],[-2,-2],[-2,-5],[-3,-3]],[[8493,5584],[-1,-3],[-1,8],[-1,2],[1,6],[2,-3],[0,-10]],[[8414,5610],[0,-3],[-3,-2],[-1,0],[0,6],[2,-2],[1,2],[1,-1]],[[8251,5637],[-2,-4],[-1,5],[0,9],[3,1],[0,-11]],[[8259,5656],[-2,-1],[-1,4],[0,3],[2,0],[1,-6]],[[8466,5710],[-1,-4],[-3,3],[-1,3],[0,3],[3,1],[2,-6]],[[8435,5715],[0,-6],[-3,-1],[-2,1],[-1,4],[5,5],[1,-3]],[[8498,5736],[-1,-2],[-1,3],[1,7],[1,1],[0,-9]],[[8499,5720],[2,-3],[3,1],[0,-12],[3,-7],[1,-6],[-3,-9],[-2,-4],[0,-4],[3,-1],[3,-3],[0,-9],[2,-7],[0,-3],[-1,-13],[1,-6],[1,-4],[2,-2],[0,-3],[1,-7],[0,-17],[-1,-4],[-3,-10],[-4,-7],[-2,0],[-1,-2],[1,-7],[0,-14],[-1,-10],[-2,10],[-1,14],[-1,6],[-2,6],[0,5],[-2,5],[-2,13],[-2,-1],[-2,-3],[-1,-3],[0,-6],[-3,-6],[-4,-12],[-1,-6],[3,-7],[3,-4],[0,-2],[3,-14],[-1,-14],[-1,-7],[-4,-11],[-4,-4],[-1,2],[-1,7],[-1,3],[1,7],[0,6],[-1,2],[-1,-1],[-3,-9],[-1,-2],[-2,0],[-9,8],[-7,7],[-5,6],[-4,10],[-1,8],[0,7],[-1,12],[0,7],[1,7],[3,6],[2,7],[0,3],[-4,11],[-3,5],[-5,4],[-3,5],[-3,0],[-2,-1],[0,-8],[-3,-15],[-3,3],[-3,4],[0,3],[-1,3],[0,2],[-1,2],[-1,-5],[-2,-4],[-2,-1],[-2,0],[-1,2],[0,9],[-3,3],[-2,-1],[-4,-5],[0,-2],[-1,-4],[-4,-13],[-1,-10],[-3,-9],[0,-3],[-2,-2],[-2,0],[-3,9],[0,7],[2,5],[2,4],[2,17],[0,9],[3,8],[3,5],[1,1],[6,2],[2,3],[4,0],[3,1],[2,4],[0,8],[2,4],[2,5],[4,1],[2,2],[1,3],[1,5],[4,-4],[3,-1],[3,-4],[2,-7],[0,-3],[1,-11],[-1,-3],[-3,-5],[2,0],[3,4],[2,2],[5,3],[1,1],[0,3],[2,6],[1,7],[2,6],[2,0],[4,-5],[3,3],[1,7],[1,10],[0,3],[2,3],[2,-1],[3,-4],[3,-1],[1,3],[1,6],[1,0],[3,-2],[4,2],[1,7],[-1,8],[-3,22],[2,5],[1,0],[4,-6],[6,-8],[2,-5],[2,-6]],[[8500,5746],[-2,4],[1,5],[2,8],[1,-7],[0,-4],[1,-4],[-1,-2],[-2,0]],[[8479,5758],[0,-3],[-4,8],[0,5],[1,0],[1,-2],[2,-8]],[[8460,5747],[-1,-2],[-3,0],[-2,-6],[-1,-1],[-6,-2],[-6,2],[-3,8],[0,3],[1,3],[2,3],[4,4],[1,4],[2,4],[4,1],[2,-1],[3,-4],[2,-2],[0,-12],[1,-2]],[[8490,5754],[-3,5],[-1,5],[-1,2],[0,11],[3,4],[1,3],[1,-2],[-1,-9],[1,-10],[0,-9]],[[8330,5787],[-4,-1],[-1,5],[3,5],[3,-2],[1,-2],[-2,-5]],[[8452,5794],[-1,0],[1,6],[2,-2],[0,-2],[-2,-2]],[[8406,5787],[-2,-1],[-1,-2],[-1,4],[0,6],[5,8],[1,-2],[0,-3],[-2,-9],[0,-1]],[[8419,5705],[-4,0],[-1,3],[-2,12],[-3,3],[-3,2],[-1,2],[-2,2],[-4,13],[0,11],[2,4],[1,1],[4,0],[5,6],[1,2],[0,10],[-2,12],[1,3],[2,3],[1,6],[0,7],[2,5],[6,5],[8,-5],[1,-6],[0,-2],[-1,-7],[-3,-11],[-2,-8],[-1,-12],[-1,-3],[-3,-12],[0,-8],[-1,-3],[0,-3],[5,-15],[0,-5],[-1,-3],[-1,-5],[-1,-2],[-2,-2]],[[8426,5728],[-1,-2],[-1,4],[0,5],[3,18],[-1,4],[4,10],[2,10],[3,10],[6,28],[0,4],[1,2],[0,7],[2,5],[1,-4],[-1,-6],[0,-3],[1,-1],[0,-6],[-1,-9],[1,-11],[-2,-11],[-1,-4],[-2,-4],[-3,-2],[-2,-5],[-2,-7],[0,-5],[-4,-19],[-3,-8]],[[8436,5833],[2,-7],[-2,0],[-1,5],[1,2]],[[8257,5669],[-2,-4],[0,5],[3,15],[2,3],[3,8],[2,4],[4,7],[4,9],[3,0],[1,1],[3,5],[6,14],[5,11],[6,14],[3,6],[5,13],[1,2],[2,1],[2,4],[2,5],[1,7],[-2,9],[3,11],[3,15],[1,3],[2,-2],[0,-3],[-1,-6],[0,-3],[1,-4],[-1,-5],[2,-14],[2,-9],[0,-3],[-2,-5],[-2,-2],[-3,-1],[-2,-2],[-2,-4],[-1,-6],[-1,-3],[0,-2],[-7,-4],[-5,-5],[-1,-3],[1,-5],[-6,-20],[-2,-5],[-1,-5],[-3,-3],[-3,-2],[-3,-3],[-2,-7],[-2,-6],[-3,-5],[-5,-7],[-3,-2],[-2,-6],[-3,-2],[-3,-4]],[[8328,5847],[1,-3],[-1,-4],[-1,-1],[-1,1],[-1,4],[2,3],[1,0]],[[8459,5837],[2,-2],[2,0],[3,5],[3,-2],[3,-9],[0,-15],[-1,-9],[3,-6],[2,-6],[0,-7],[2,-7],[0,-5],[-3,1],[-1,-3],[-2,6],[-1,2],[0,-9],[1,-5],[0,-5],[-3,4],[-3,2],[-1,2],[0,9],[-1,7],[1,14],[0,5],[-1,6],[-2,5],[-2,0],[-3,-4],[-2,1],[0,14],[-2,12],[-1,3],[0,7],[1,-1],[2,-4],[3,-3],[1,-3]],[[8460,5845],[-3,0],[-2,3],[-2,7],[2,2],[2,-1],[2,-2],[1,-5],[0,-4]],[[8467,5851],[-1,-2],[-1,1],[-1,5],[1,1],[2,-5]],[[8401,5852],[4,-3],[3,3],[3,-1],[2,-4],[0,-2],[5,3],[2,0],[0,-6],[-1,-4],[0,-5],[-2,-5],[-1,-4],[-2,-4],[-3,-2],[-2,-5],[1,-3],[-1,-3],[-3,-2],[-4,-6],[-9,-4],[-6,-9],[-1,2],[1,8],[0,4],[-1,3],[3,19],[0,14],[1,18],[0,2],[-1,3],[-4,3],[0,4],[2,3],[3,-3],[6,-5],[3,-4],[2,-5]],[[8333,5857],[-2,-2],[-1,2],[0,4],[-2,11],[2,1],[3,-3],[1,-4],[0,-4],[-1,-5]],[[8335,5884],[1,-1],[1,1],[1,3],[1,-4],[2,-4],[0,-4],[-2,0],[-2,1],[-2,-2],[-3,1],[-3,10],[-1,1],[0,3],[1,1],[0,3],[1,0],[1,-3],[3,-4],[1,-2]],[[8406,5892],[-2,-1],[-5,10],[2,2],[3,0],[2,-4],[1,-3],[-1,-4]],[[8478,5905],[1,-5],[1,-3],[0,-4],[1,-2],[1,0],[2,-2],[2,-3],[-1,-4],[0,-4],[-1,-6],[0,-11],[1,-3],[0,-10],[3,-13],[-1,-2],[0,-2],[1,-1],[2,-4],[2,-5],[-1,-1],[-1,4],[-2,0],[-5,-1],[-3,2],[-3,0],[-2,7],[-2,1],[-1,4],[-3,7],[0,5],[1,5],[1,3],[0,4],[-2,-1],[-3,6],[-4,10],[-4,3],[-3,4],[-1,6],[-2,9],[-1,9],[8,-2],[7,0],[9,2],[3,-2]],[[8435,5891],[6,-7],[3,-11],[1,-9],[-1,-4],[-1,4],[-4,5],[-4,3],[1,3],[-2,2],[0,1],[-2,2],[-2,6],[-2,1],[-1,-1],[-7,-16],[0,3],[1,8],[1,12],[1,4],[-1,6],[0,5],[3,-2],[6,-6],[0,-2],[4,-7]],[[8396,5905],[-1,-2],[-1,4],[1,2],[1,-1],[0,-3]],[[8390,5895],[-2,-14],[-2,5],[1,3],[-2,5],[2,6],[1,9],[2,3],[1,-2],[0,-5],[-1,-10]],[[8437,5901],[0,-5],[-1,1],[-3,10],[-1,4],[1,2],[2,-3],[2,-9]],[[8423,5924],[0,-3],[-3,4],[-3,7],[-3,3],[0,3],[3,1],[4,-12],[2,-3]],[[8352,5960],[1,-1],[4,2],[2,-1],[1,-3],[2,-1],[1,-2],[2,3],[3,-3],[2,-7],[2,-4],[2,-3],[1,-3],[-2,-4],[0,-10],[2,-12],[-1,-3],[-2,-4],[-1,-5],[0,-7],[-1,1],[-4,-6],[-3,2],[0,3],[-2,3],[-2,5],[-1,4],[0,4],[-2,7],[-2,3],[0,2],[-1,3],[0,7],[-2,10],[-1,2],[-2,2],[-2,3],[-1,3],[0,5],[-2,0],[-2,1],[2,6],[2,0],[5,-1],[2,-1]],[[8385,5963],[2,0],[4,-4],[0,-6],[-2,-5],[0,-2],[-1,-2],[-4,4],[-1,3],[-1,6],[2,8],[1,-2]],[[8340,5975],[0,-4],[-5,6],[0,4],[3,-2],[2,-4]],[[8453,5968],[-1,-3],[-2,1],[-2,-3],[-3,4],[-1,3],[3,8],[0,13],[2,3],[3,-7],[0,-1],[3,-4],[-1,-7],[0,-4],[-1,-3]],[[8392,5992],[0,-2],[-6,9],[0,4],[6,-11]],[[8388,6048],[0,-3],[-1,-4],[1,-8],[-1,-5],[-1,-1],[-1,1],[0,3],[1,1],[-1,4],[-1,2],[0,5],[-1,2],[0,4],[4,1],[1,-2]],[[8363,6256],[4,-3],[9,-11],[7,-5],[3,-1],[3,3],[1,2],[2,7],[2,1],[2,-6],[0,-9],[-2,-5],[-1,-5],[-1,-18],[0,-10],[2,-8],[1,-3],[3,-3],[0,-6],[1,-3],[3,-3],[-1,-4],[0,-4],[-2,-10],[-5,-22],[-3,-14],[-4,-2],[-8,-8],[-3,-5],[-1,-6],[2,-6],[0,-3],[-1,-3],[-3,-6],[-1,-6],[-1,-2],[0,-6],[1,-3],[3,-13],[3,-12],[1,-1],[0,-2],[-2,-3],[0,-6],[1,-6],[3,-14],[0,-4],[2,-6],[2,-2],[5,-4],[3,-1],[1,2],[2,1],[-1,3],[-2,4],[0,2],[5,7],[3,3],[4,0],[4,-2],[2,-2],[2,-3],[3,-7],[1,-7],[0,-9],[1,-3],[4,0],[2,5],[0,6],[-1,2],[0,3],[1,2],[2,-2],[1,-3],[6,-4],[1,0],[4,-4],[1,-2],[-1,-4],[-6,-1],[-1,-4],[1,-7],[3,-5],[2,-5],[1,-4],[0,-5],[-1,-5],[3,1],[2,-1],[3,-4],[2,0],[0,-14],[-2,-13],[-3,2],[-2,5],[0,7],[2,6],[-1,2],[-5,-3],[-3,1],[-6,7],[-3,1],[-1,3],[1,6],[-3,8],[0,3],[-1,3],[-8,8],[0,2],[-3,7],[-5,9],[-3,2],[0,-7],[1,-3],[-1,-3],[3,-9],[0,-2],[2,-7],[0,-8],[-2,-4],[-2,4],[0,3],[-3,10],[-1,2],[-5,7],[-3,8],[-10,10],[-6,-6],[-2,-3],[0,-5],[-3,-4],[-4,0],[-3,2],[-2,5],[-2,0],[-3,7],[-3,1],[-2,-6],[-1,11],[0,12],[2,5],[7,12],[0,9],[-1,4],[-5,3],[-4,6],[-1,-6],[1,-10],[0,-7],[-1,-2],[-3,1],[-1,2],[-1,7],[-2,4],[-1,6],[-1,1],[-2,0],[-2,3],[-1,7],[0,8],[-2,13],[-1,5],[-1,24],[0,2],[-1,1],[-3,9],[1,12],[0,2],[1,2],[3,-5],[3,-3],[2,-7],[1,-1],[4,0],[2,3],[1,3],[0,4],[-2,10],[-1,7],[0,7],[1,7],[2,11],[1,8],[-1,10],[1,6],[0,4],[-2,5],[0,6],[4,30],[2,12],[1,8],[6,6],[3,-1],[5,2]],[[8385,6272],[-1,-5],[-1,2],[1,4],[0,4],[2,1],[1,-3],[-2,-3]],[[8367,6282],[0,-3],[-2,2],[0,5],[1,2],[1,-2],[0,-4]],[[8374,6299],[1,-6],[-2,0],[-3,4],[0,3],[1,1],[3,-2]],[[8386,6356],[-1,0],[1,5],[1,2],[1,-1],[-2,-6]],[[8384,6380],[-1,-4],[-1,0],[1,8],[1,0],[0,-4]],[[8737,5608],[-1,-1],[-1,5],[0,5],[1,4],[2,1],[0,-7],[-1,-3],[0,-4]],[[9263,4522],[5,-3],[2,-3],[-2,-2],[-4,-1],[-1,2],[-4,2],[-1,4],[0,2],[-3,3],[-1,3],[0,2],[3,-2],[6,-7]],[[9284,4529],[-1,-2],[-3,-2],[-2,1],[-1,2],[0,2],[3,-1],[-1,3],[4,-2],[1,-1]],[[9190,4575],[0,-5],[-3,3],[0,2],[2,1],[1,-1]],[[9195,4606],[1,0],[2,4],[2,2],[1,-2],[-2,-14],[-1,2],[-6,4],[0,5],[-2,2],[-1,5],[-2,6],[0,4],[1,-1],[1,-4],[5,-8],[0,-3],[1,-2]],[[9180,4645],[4,-5],[2,2],[1,-1],[3,-6],[0,-9],[-1,1],[-5,0],[-3,2],[-4,0],[2,4],[0,1],[-2,6],[0,4],[3,1]],[[9175,4636],[-1,-1],[-1,1],[-5,8],[1,6],[2,3],[3,-3],[1,-5],[0,-9]],[[9238,4667],[2,-1],[3,1],[1,-4],[2,-1],[2,-3],[0,-3],[-3,-4],[-3,3],[-1,0],[-2,7],[-4,2],[2,3],[1,0]],[[8987,4686],[-3,1],[-4,6],[3,0],[4,-7]],[[9196,4680],[-2,1],[1,5],[0,4],[-2,2],[1,5],[2,1],[0,-6],[1,-2],[-1,-10]],[[8987,4695],[-1,0],[-5,3],[-1,3],[5,0],[2,-1],[0,-5]],[[9110,4848],[-1,2],[-3,2],[-2,7],[0,8],[1,0],[6,-7],[1,-2],[-1,-7],[-1,-3]],[[9331,4798],[-1,-5],[-1,1],[-3,-2],[-2,-4],[-3,0],[-5,5],[-2,3],[-3,6],[-1,5],[1,7],[-1,6],[-5,4],[-1,2],[-2,6],[-4,7],[-1,3],[-1,6],[0,4],[1,12],[0,6],[2,-3],[2,-2],[3,-1],[3,-4],[2,-9],[1,-3],[0,-3],[3,-3],[4,-13],[3,-3],[2,-1],[3,-4],[4,-10],[2,-13]],[[9087,4870],[-2,0],[-2,6],[-1,2],[0,2],[4,4],[2,-3],[0,-8],[-1,-3]],[[9294,4870],[-2,13],[0,4],[-1,2],[3,6],[1,-3],[0,-5],[2,-4],[-1,-10],[-2,-3]],[[9055,4911],[-2,-2],[-2,2],[0,7],[3,4],[1,-2],[1,-4],[-1,-5]],[[9218,4936],[2,-1],[4,6],[2,-5],[3,-2],[3,-1],[-1,-8],[0,-4],[1,-4],[0,-6],[-1,-5],[-3,-8],[-3,-2],[-4,-1],[-1,-4],[1,-4],[4,-12],[-2,-6],[-3,-4],[-3,-2],[-5,1],[-5,-1],[-1,-2],[0,-6],[-1,-3],[-6,-10],[-3,-4],[-5,-2],[-3,-2],[-3,-5],[-3,-2],[-5,-5],[-6,-1],[-10,0],[-3,-1],[-2,1],[-2,2],[-3,8],[-3,2],[-3,0],[-4,-3],[-1,1],[-8,12],[-2,2],[-9,6],[-2,6],[0,7],[3,4],[3,-2],[2,0],[1,1],[2,0],[1,-1],[6,1],[4,-2],[3,-3],[7,0],[4,4],[1,-1],[5,0],[3,5],[2,17],[1,6],[1,2],[1,-1],[1,-3],[-2,-4],[0,-2],[-1,-8],[1,-6],[2,-6],[4,-1],[2,4],[4,1],[3,-4],[3,1],[1,2],[5,3],[2,6],[1,7],[2,5],[5,9],[2,1],[5,0],[3,3],[0,7],[-1,7],[-3,17],[0,3],[1,3],[0,2],[4,0],[3,-1],[2,-4]],[[9267,4947],[-2,0],[1,3],[1,1],[0,-4]],[[9239,5003],[0,-5],[-2,3],[-1,4],[1,2],[2,1],[0,-5]],[[9224,5014],[-1,-3],[-1,0],[-2,5],[0,3],[4,-5]],[[9220,5020],[-1,0],[0,7],[2,-1],[0,-5],[-1,-1]],[[8915,4987],[0,35],[0,11]],[[8915,5033],[3,0],[2,-1],[14,-13],[6,-6],[3,0],[6,-7],[9,-7],[10,-7],[6,-2],[7,-2],[4,-2],[5,-9],[3,-2],[2,-5],[5,-6],[2,0],[3,-1],[4,1],[3,-1],[1,-2],[3,-8],[3,-2],[3,-4],[3,-5],[2,-5],[2,-4],[3,-2],[4,0],[12,-26],[0,-20],[-1,-13],[3,-4],[4,-1],[6,-3],[5,-4],[18,-18],[2,-1],[4,-1],[3,1],[2,-1],[2,-4],[2,-2],[2,-5],[2,-6],[2,-3],[1,-4],[1,-10],[-1,-6],[-1,-3],[-2,-1],[-10,-1],[-7,1],[-4,-6],[0,-6],[4,-14],[2,-12],[2,-5],[6,-8],[2,-6],[5,-9],[3,-4],[3,-2],[5,-7],[1,-4],[1,-10],[1,-7],[0,-3],[5,-9],[1,-1],[2,-15],[2,-6],[3,-2],[3,0],[8,4],[3,-1],[1,-2],[1,-7],[-2,-6],[0,-7],[2,-5],[4,-4],[2,-1],[7,-1],[4,-1],[3,-2],[1,-2],[-1,-3],[-2,-1],[-2,0],[-2,-3],[0,-3],[1,-4],[3,-6],[1,-1],[4,-2],[3,-2],[4,-4],[5,-1],[4,-2],[-1,-5],[-5,2],[-1,-2],[2,-5],[3,-4],[1,-2],[-1,-2],[-3,-4],[-2,-1],[-3,0],[-5,2],[-3,2],[-2,6],[-3,4],[-3,3],[-2,1],[-3,0],[-6,3],[-11,2],[-3,1],[-3,4],[-2,0],[-2,-1],[-4,-1],[-2,1],[-3,3],[-3,1],[-1,-1],[-2,0],[-4,2],[-4,1],[-2,4],[-2,3],[-2,2],[-1,7],[-3,7],[-3,6],[-6,8],[-2,3],[-2,8],[0,9],[-2,0],[-5,3],[-1,5],[-3,11],[-2,6],[-5,11],[-1,7],[-3,7],[-2,6],[-1,2],[-6,5],[-2,2],[-5,1],[-3,1],[-5,3],[-2,2],[-3,0],[-5,3],[-1,3],[0,6],[-3,-1],[-7,4],[-2,-1],[0,-5],[-3,1],[0,-1],[-2,-2],[-1,-3],[-2,0],[-5,3],[-2,2],[-2,4],[-2,3],[-1,0],[6,-22],[-1,-1],[-2,1],[1,-5],[-3,0],[-3,2],[-3,0],[0,-2],[2,-10],[-5,-2],[-4,-2],[-6,-2],[-5,-1],[-2,2],[-3,1],[-3,-1],[-2,-2],[-3,0],[-1,4],[0,3],[-1,2],[-1,-2],[2,-7],[2,-3],[3,2],[6,0],[6,-6],[3,-2],[3,-5],[2,-6],[3,-8],[0,-6],[-1,-3],[-4,-4],[-4,-3],[-12,-14],[-3,1],[-3,4],[-4,3],[-2,1],[-7,-2],[-9,0],[-3,1],[-3,2],[-4,-1],[-2,-2],[-2,-1],[-4,6]],[[9248,4909],[-2,-4],[-2,4],[-1,4],[-2,3],[-1,8],[0,13],[-1,8],[-2,8],[-6,19],[-2,5],[-4,5],[-4,2],[-1,0],[-3,3],[-2,4],[-6,11],[-3,3],[-2,3],[-9,12],[-3,3],[-3,0],[-3,3],[2,1],[1,4],[4,-3],[5,-5],[1,-5],[3,0],[4,-4],[6,-8],[3,-5],[7,-5],[4,-9],[4,-7],[1,-3],[18,-30],[3,-9],[0,-8],[-2,-5],[0,-5],[-2,-11]],[[9177,5030],[-5,-1],[-2,1],[-2,3],[-2,6],[-2,2],[4,4],[4,1],[5,-5],[1,-2],[0,-7],[-1,-2]],[[9106,5052],[-1,-3],[-1,1],[0,3],[1,1],[1,-2]],[[9084,5070],[9,-3],[1,0],[0,-2],[-1,-1],[-2,0],[-1,-1],[-2,-5],[-2,1],[-2,-2],[-4,0],[-5,3],[-1,-2],[-2,0],[-2,-2],[-1,0],[0,5],[2,1],[0,5],[1,3],[3,-1],[3,2],[6,-1]],[[9159,5094],[0,-2],[-3,1],[-3,6],[0,3],[1,3],[1,0],[3,-4],[1,-7]],[[5655,8151],[2,-7],[-1,-5],[2,-3],[4,-8],[3,-11],[4,-5],[-4,-4],[2,-3],[1,-6],[0,-5],[-1,-1],[-2,-6],[-7,-2],[-6,-9],[-3,-3],[-4,-6],[-6,-10],[-3,-4],[-1,-3],[-7,-13],[0,-4],[2,-7],[0,-11],[1,-2],[3,-3],[-1,-3],[-8,3]],[[5625,8010],[-2,0],[-7,4],[-5,4],[-2,5],[-2,2],[-7,4],[-8,1],[-8,0],[-2,-5],[-3,-1],[-4,3],[-3,1],[-7,0],[-6,-4],[-2,-3],[-1,-5],[-4,2],[-1,-1],[-3,0],[1,4],[0,3],[-2,4],[-2,0],[-2,3],[-1,4],[-3,5],[-5,-5],[-3,-6],[-5,-1],[0,3],[-1,3],[-3,1]],[[5395,8278],[6,-3],[3,4],[-1,4],[-9,3]],[[5394,8291],[5,-2],[9,6],[16,7],[17,6],[8,2],[1,3],[2,1],[2,5],[5,7],[9,2],[3,3],[7,5],[17,5],[6,1],[7,0],[6,-4],[6,-5],[-2,-1],[-7,5],[4,-14],[3,-5],[4,-3],[4,-1],[12,2],[6,4]],[[5544,8320],[1,-1],[7,0],[8,-1],[26,-2],[29,-2],[16,0]],[[3114,6224],[-2,1],[0,2],[2,0],[0,-3]],[[3182,6226],[-4,0],[0,2],[2,2],[5,-2],[-3,-2]],[[3162,6246],[2,-1],[0,2],[5,-1],[4,-3],[3,-1],[0,-8],[-2,-3],[-4,-8],[-3,-4],[-5,-2],[-4,0],[-1,1],[-2,-1],[-3,2],[-8,0],[-1,-2],[-4,0],[-1,1],[-4,0],[-1,2],[0,13],[-2,6],[0,2],[2,4],[1,4],[2,1],[7,-2],[18,-1],[1,-1]],[[8624,7633],[1,-3],[3,-6],[0,-3],[1,-1]],[[8629,7620],[-2,-2],[-1,1],[-4,1],[-6,-7],[-1,-5],[-3,-3],[-2,-3],[-4,-11],[-3,-5],[-2,-7],[0,-6],[2,-6],[0,-5],[-1,-10],[1,-11],[-1,-4],[-11,-8],[-6,-13],[-5,-4],[-2,-4],[-4,-2],[-3,-7],[-3,-4],[-3,-3],[-2,-3],[-6,0],[-4,-2],[-2,-6],[-9,-6],[-1,-5],[1,-8],[0,-6],[-1,-5],[-2,2],[-2,-6],[0,-5],[6,-4],[3,-1],[2,-3],[5,-10],[5,-5],[3,-4],[4,-7]],[[8516,7359],[-7,6],[-5,-3],[-1,-4],[-1,-1],[-2,8],[-3,0],[-5,6],[-2,-1],[0,-3],[-3,-6],[-4,-5],[-2,0],[-1,7],[-6,2],[-2,3],[4,6],[2,1],[-1,2],[-6,0],[-3,2],[-3,-1],[-3,1],[5,6],[1,4],[0,3],[2,8],[3,4],[6,6],[3,1],[3,0],[1,1],[-3,3],[-4,0],[-3,3],[-1,4],[7,24],[-1,8],[0,6],[-7,4],[-7,6],[-2,3],[-1,-1],[-1,-6],[-2,-1],[-2,10],[-5,4],[-1,3],[1,5],[-1,0]],[[4522,7076],[3,-3],[4,2],[4,-4],[2,-1],[-4,-6],[-5,1],[-4,3],[-2,5],[2,3]],[[4304,7312],[0,-1],[-4,0],[-1,3],[1,2],[2,0],[2,-4]],[[4287,7363],[1,-1],[9,1],[3,0],[-1,-5],[-1,-1],[-6,-1],[-8,2],[-3,4],[0,4],[2,1],[4,-4]],[[4217,7398],[-2,-4],[-3,2],[-3,0],[-2,3],[-1,3],[1,2],[3,0],[7,-6]],[[4203,7402],[-2,0],[-3,5],[4,2],[2,-3],[-1,-4]],[[4247,7409],[-6,1],[-2,2],[-1,4],[4,2],[4,0],[2,-3],[0,-4],[-1,-2]],[[4134,7453],[-1,-3],[-3,2],[1,6],[1,2],[2,-3],[0,-4]],[[4793,7325],[-2,-1],[-10,-9],[-3,0],[-5,4],[-10,1],[-3,1],[-4,-2],[-3,0],[-2,-4],[-2,1],[2,8],[3,15],[0,10],[1,8],[-1,8],[-2,5],[3,13],[-1,6],[-2,9],[6,-2],[-3,6],[-2,-1],[-2,1],[-5,-4],[-2,-1],[-1,1],[0,5],[-1,7],[2,2],[2,0],[4,6],[-1,6],[2,6],[-1,1],[-4,-11],[-1,-5],[-3,-2],[-3,-1],[-3,2],[0,7],[1,6],[2,17],[0,5],[1,3],[2,2],[3,7],[4,16],[5,17],[-2,4],[1,4],[2,20],[3,9],[0,9],[1,7],[-1,3],[0,4],[-2,7],[-2,16],[0,5],[2,3],[-3,0],[-1,4],[0,4],[3,6]],[[5949,6987],[8,16]],[[1213,4115],[-2,2],[-2,1],[0,2],[3,-3],[1,-2]],[[852,4164],[4,-2],[0,-5],[-1,-3],[-2,1],[-1,2],[-1,5],[-4,-1],[-3,1],[-1,7],[0,3],[1,2],[2,2],[4,-2],[1,-4],[1,-6]],[[838,4173],[-1,-2],[-2,3],[0,3],[3,0],[1,-1],[-1,-3]],[[794,4211],[-2,0],[-1,1],[1,7],[2,-2],[1,-5],[-1,-1]],[[792,4224],[-1,0],[0,5],[2,-3],[-1,-2]],[[1148,4578],[-1,-1],[0,6],[2,-2],[-1,-3]],[[1137,4611],[-2,-4],[0,5],[2,-1]],[[1138,4625],[4,-3],[0,-3],[-4,-1],[-2,-2],[-1,1],[-1,4],[4,4]],[[1108,4640],[-1,3],[2,3],[1,-1],[-2,-5]],[[1123,4668],[-2,0],[0,4],[1,1],[2,-2],[-1,-3]],[[1108,4670],[-2,-1],[-2,0],[-1,5],[1,3],[5,-1],[0,-4],[-1,-2]],[[6423,6601],[-5,-3],[-2,0],[-2,2],[-4,11]],[[6410,6611],[1,6],[-2,16],[0,16],[3,10],[1,6],[3,15],[3,5],[4,5],[3,-9],[5,-6],[0,-7],[-1,-5],[-1,-10],[1,-4],[0,-3],[2,-14],[0,-11],[-2,-4],[-3,-13],[0,-1],[-4,-2]],[[5630,7731],[-1,1],[-1,4],[-2,1],[-2,6],[0,3],[1,3],[2,1],[3,0],[0,3],[-6,5],[-4,-1],[-4,-7],[-3,-1],[-2,4],[-3,3],[-5,1],[-3,2],[-3,4],[-5,2],[1,3],[4,0],[0,3],[-2,1],[-3,3],[2,2],[0,3],[2,2],[0,2],[-3,3],[-4,2],[-3,3],[-1,0],[-4,4],[-2,4],[-3,3],[0,16],[-2,-1],[-3,7],[-4,4],[-3,2],[-1,5],[-2,3]],[[5634,7945],[5,3],[1,3],[3,2],[6,-6],[7,1],[10,-4],[1,1],[4,-2],[2,0],[6,2],[3,-1],[7,-10],[1,-2],[3,0],[2,1],[3,5],[8,5],[7,1],[13,4],[2,4],[2,8],[7,2],[1,1]],[[5783,7801],[3,-6],[3,-3],[9,-3],[0,4],[4,-1],[9,6],[5,1],[4,-2],[3,-4],[1,-3]],[[5824,7790],[0,-4],[-1,-2],[-1,-10],[-2,-8],[-14,-5],[1,3],[-1,4],[0,3],[1,3],[-3,1],[-3,-4],[1,-7],[-2,-5],[0,-5],[1,-3],[-1,-4],[-4,-8],[-1,-4],[0,-18],[-2,-11],[0,-3]],[[9074,7703],[-1,-2],[-2,2],[0,4],[6,3],[2,-2],[0,-2],[-5,-3]],[[9060,7746],[4,-4],[6,1],[-2,-4],[-2,0],[-4,-5],[-5,-2],[-5,-8],[-1,-4],[-3,-6],[-5,-5],[-1,-11],[-3,4],[-1,5],[1,3],[6,8],[7,15],[5,13],[3,0]],[[9126,7794],[-5,-5],[-4,-1],[-10,-13],[-3,-2],[-4,1],[-1,-2],[0,-3],[-1,-3],[-7,-9],[-3,-7],[-3,-2],[-6,-7],[1,6],[1,3],[5,6],[0,6],[3,5],[5,5],[3,7],[3,2],[3,5],[4,2],[-1,5],[2,4],[1,0],[2,-7],[8,1],[8,12],[4,3],[2,-3],[-1,-4],[1,-3],[-1,-2],[-6,0]],[[6332,7803],[-1,-1],[-1,6],[0,3],[1,1],[1,-5],[0,-4]],[[9157,7812],[-5,-3],[-2,0],[6,15],[4,2],[4,8],[11,11],[6,0],[-9,-11],[-1,-5],[-4,-5],[-3,-1],[-7,-11]],[[9221,7884],[-5,-6],[-2,0],[-1,4],[4,1],[5,8],[3,6],[2,2],[2,0],[-8,-15]],[[9251,7934],[-1,-3],[-2,1],[2,4],[1,-2]],[[9279,7994],[-1,-3],[-2,2],[3,3],[1,4],[3,-1],[-1,-2],[-3,-3]],[[9299,8024],[-3,-3],[-3,2],[0,5],[6,15],[2,-1],[0,-4],[-2,-5],[0,-9]],[[9330,8081],[-4,-6],[-8,-3],[-1,-4],[-2,-2],[-3,1],[-1,2],[0,6],[-1,5],[3,0],[3,4],[7,2],[3,5],[3,12],[3,4],[3,1],[0,-13],[-5,-14]],[[9343,8101],[-2,-1],[-4,4],[1,4],[4,5],[3,0],[0,-7],[-2,-5]],[[9322,8111],[-3,-1],[-1,1],[-1,5],[3,1],[2,-1],[0,-5]],[[8964,8316],[6,-14],[0,-7],[-2,-8],[5,-23],[4,-11],[2,-9],[1,-10],[0,-20],[-2,-8],[-2,-2],[0,-5],[-1,-16],[1,-8],[2,-5],[1,-6],[0,-7],[3,-6],[2,-7],[0,-7],[2,-2],[5,-43],[2,-13],[7,-22],[3,-13],[3,-20],[2,-8],[3,-7],[4,-7],[3,-4],[-2,-3],[-3,4],[-3,6],[-4,5],[-4,8],[-4,4],[-7,2],[-14,-3],[-3,-4],[-2,-5],[-2,-11],[-9,-39],[-2,-10],[-1,-11],[1,-8],[0,-3],[3,-9],[3,-7],[2,-1],[2,-4],[2,-6],[2,-13],[3,-9],[1,-2],[5,0],[2,-3],[2,-10],[1,-12],[-3,-11],[-2,3],[-1,7],[0,7],[-2,5],[-7,2],[-6,1],[-4,6],[-3,-1],[-3,-3],[-2,-5],[-1,-6],[-2,-6],[-2,-15],[-4,-10],[-2,3],[-2,7],[0,5],[-3,16],[1,14],[4,19],[1,7],[0,6],[-1,5],[-1,12],[1,9],[4,11],[1,7],[-1,16],[-3,10],[-4,11],[-1,5],[3,13],[2,6],[1,14],[2,14],[0,43],[-2,12],[0,7],[2,14],[2,7],[0,13],[-3,12],[-3,5],[-3,6],[-5,6],[3,3],[-3,4],[-1,5],[0,24],[4,11],[2,28],[-1,6],[-1,12],[4,6],[5,3],[5,-6],[6,3],[1,5],[-2,3],[1,4],[4,1],[-1,3],[2,10],[-1,4],[-6,10],[-4,8],[6,0],[2,1],[4,5]],[[9666,8326],[1,-3],[-16,16],[-1,4],[2,0],[2,-3],[3,-2],[5,-5],[4,-7]],[[8809,8357],[-3,-10],[-3,0],[-2,2],[-3,-1],[-2,1],[2,3],[6,5],[2,-1],[3,1]],[[8830,8357],[3,-3],[4,1],[1,-2],[-3,-2],[-3,-6],[0,-4],[-1,-2],[-3,-2],[-5,-6],[-4,10],[-2,3],[-5,-5],[-1,0],[1,6],[4,7],[4,11],[9,-5],[1,-1]],[[5544,8320],[4,5],[3,5],[2,7],[0,4],[1,6],[3,2],[9,-1],[3,3],[9,14],[1,3]],[[5581,8367],[-10,-17],[5,-2],[3,-2],[9,1],[0,10],[1,9]],[[9628,8342],[0,-8],[-4,4],[-1,3],[-4,2],[-6,10],[-2,6],[-2,3],[-6,6],[5,3],[8,-1],[1,-1],[-1,-4],[1,-4],[6,-13],[3,-2],[2,-4]],[[9182,8583],[-3,-1],[-1,3],[4,2],[3,0],[-3,-4]],[[9544,8559],[-5,-6],[-1,4],[4,4],[5,9],[1,8],[-1,4],[13,5],[8,8],[2,-1],[2,-6],[0,-8],[-1,-5],[-9,-3],[-9,-5],[-9,-8]],[[5994,8938],[1,-6],[-1,-3],[1,-2],[-2,-1],[-3,5],[-2,0],[-2,5],[2,0],[3,3],[3,-1]],[[6944,9014],[-5,-1],[-5,4],[-5,9],[0,2],[4,-1],[5,0],[7,-2],[0,-6],[1,-1],[-2,-4]],[[6185,9025],[-1,-1],[-5,3],[-1,2],[3,2],[4,-4],[0,-2]],[[6395,9168],[1,-5],[-2,-3],[-2,0],[0,3],[-2,2],[-4,-4],[-3,-5],[-6,-6],[-12,-5],[-14,-3],[-7,4],[-4,11],[0,11],[1,5],[3,4],[6,6],[9,4],[7,0],[22,-12],[4,-3],[3,-4]],[[6870,9188],[-3,-5],[-4,0],[-2,2],[5,6],[3,0],[1,-3]],[[9484,9152],[0,5],[-3,3],[-5,2],[-2,7],[1,8],[-2,4],[1,4],[6,4],[5,5],[3,-2],[0,-6],[-2,-3],[-5,-2],[0,-12],[1,-5],[3,-5],[0,-6],[-1,-1]],[[9699,9191],[-8,-1],[-16,6],[-6,3],[-10,7],[1,2],[7,6],[4,2],[4,0],[28,-8],[2,-1],[0,-5],[-3,0],[-1,-2],[-1,-8],[-1,-1]],[[6678,9211],[1,-2],[0,-6],[-1,-4],[-3,0],[-4,-2],[-5,2],[-8,-1],[-4,2],[0,3],[-2,4],[-4,2],[-3,0],[-3,2],[-4,-3],[-2,1],[-7,9],[-6,13],[1,3],[5,2],[3,4],[7,2],[1,-2],[10,-7],[5,-6],[21,-14],[2,-2]],[[9463,9263],[-6,-1],[-2,2],[0,5],[4,-1],[4,-5]],[[6468,9294],[5,-8],[2,1],[2,-5],[-5,-7],[2,-3],[-2,-1],[-2,5],[-5,3],[-1,4],[-6,4],[-7,1],[-1,4],[8,3],[7,1],[3,-2]],[[8831,9302],[-7,-5],[-7,4],[-5,-2],[-6,3],[0,2],[6,2],[15,1],[4,-5]],[[0,9304],[8,2],[8,-1],[8,2],[7,-1],[12,-2],[8,-4],[9,-8],[7,-3],[2,-4],[-1,-3],[-8,-5],[-7,-2],[-13,-1],[-17,-5],[-10,-1],[-6,3],[-7,1],[9995,-1],[-6,-4],[-14,-1],[-8,-3],[-2,0],[-5,13],[8,10],[9,5],[9,8],[5,1],[4,3],[-9995,1]],[[7155,9347],[-13,0],[-7,1],[0,3],[10,7],[3,5],[6,4],[4,0],[15,-5],[3,-4],[-6,-4],[-4,-1],[-7,-5],[-4,-1]],[[7207,9372],[-2,-1],[-15,3],[-7,5],[1,3],[14,11],[5,-3],[5,-7],[0,-8],[-1,-3]],[[7073,9381],[-7,2],[-9,6],[3,5],[11,1],[10,-3],[-6,-2],[-3,-4],[2,-3],[-1,-2]],[[8339,9393],[-7,-2],[-6,0],[-4,4],[3,2],[6,1],[8,-4],[0,-1]],[[6536,9406],[12,-3],[10,0],[8,-3],[-1,-4],[-5,-6],[-1,-3],[1,-4],[-3,-7],[-8,0],[-5,-11],[-5,-1],[-2,-7],[1,-9],[3,-5],[-3,-6],[-1,-6],[-2,-4],[5,-4],[4,-10],[5,-11],[18,-23],[12,-10],[5,-3],[12,-5],[4,-4],[-5,-4],[-6,-1],[0,-2],[-3,-1],[-14,3],[-3,5],[-7,-1],[8,-7],[-4,-1],[-8,5],[-1,-2],[-4,2],[-1,-2],[-6,1],[0,3],[-13,-1],[-10,0],[-6,4],[-1,-4],[-8,4],[-17,4],[-9,3],[2,2],[4,1],[-1,8],[3,2],[5,-1],[-1,3],[3,1],[4,-2],[2,1],[-7,4],[-9,6],[1,2],[-3,1],[-3,-1],[-2,4],[0,4],[3,3],[-2,1],[-12,-3],[-7,1],[-7,2],[-7,-3],[-6,-1],[-4,1],[-6,5],[-2,4],[-3,10],[1,7],[4,7],[6,5],[7,-1],[8,1],[3,6],[4,2],[2,3],[1,6],[4,6],[-1,2],[3,5],[-7,1],[-4,3],[1,3],[7,5],[6,2],[6,-1],[3,1],[-3,3],[-2,8],[2,5],[3,2],[8,2],[3,2],[9,-1],[7,1],[13,5],[9,-1],[6,-3]],[[6962,9393],[-8,-2],[-7,0],[-3,-1],[-3,3],[3,8],[-1,8],[4,5],[22,4],[6,-2],[6,-7],[2,-1],[6,-7],[-1,-3],[-20,-3],[-6,-2]],[[7131,9414],[-3,-1],[-12,2],[-4,3],[5,2],[14,-6]],[[7096,9414],[-3,1],[5,4],[10,2],[3,-1],[-6,-6],[-9,0]],[[8948,9440],[13,-6],[19,-13],[4,-7],[0,-12],[-1,-1],[-7,0],[-17,2],[-6,0],[-21,3],[-24,8],[-10,-1],[-13,-5],[-3,0],[-3,5],[6,1],[7,0],[6,2],[6,4],[3,4],[5,9],[6,5],[6,0],[17,3],[7,-1]],[[8458,9437],[-5,1],[-1,3],[6,1],[3,-3],[-3,-2]],[[7320,9450],[-4,-2],[-7,2],[-10,1],[3,2],[6,1],[11,-1],[1,-3]],[[7296,9451],[-2,-2],[-7,2],[-1,2],[5,2],[3,-1],[2,-3]],[[8782,9441],[-2,-2],[-12,10],[-2,4],[-5,3],[-2,4],[7,-2],[11,-7],[7,-6],[-2,-4]],[[8916,9446],[-14,-5],[-3,0],[-6,5],[-3,10],[3,3],[6,2],[15,0],[2,-1],[2,-5],[-2,-9]],[[7353,9472],[-1,-3],[-8,1],[-1,2],[8,3],[5,0],[-3,-3]],[[8148,9469],[-3,-8],[-2,-2],[-6,-2],[-5,-6],[-17,3],[-15,7],[-4,5],[2,1],[8,0],[2,1],[4,9],[34,-6],[2,-2]],[[7406,9502],[2,-1],[7,2],[4,-3],[-3,-5],[-3,-2],[-15,2],[-3,2],[2,3],[9,2]],[[7281,9527],[2,-4],[-5,0],[-10,-4],[-5,5],[6,5],[6,-2],[-1,5],[7,1],[0,-6]],[[9076,9525],[8,-1],[12,5],[26,-2],[2,-2],[-1,-6],[3,-2],[8,-1],[6,2],[28,-2],[12,-7],[6,4],[2,-1],[-5,-12],[-9,-4],[-13,-5],[-7,-1],[-15,0],[-21,2],[-6,1],[-13,8],[-13,2],[-12,7],[-16,5],[3,11],[5,9],[3,2],[6,-4],[1,-8]],[[8775,9527],[-6,-2],[-8,1],[4,10],[-1,4],[4,12],[3,-3],[1,-4],[9,-7],[-6,-7],[2,-3],[-2,-1]],[[9245,9568],[-2,-2],[-7,3],[7,3],[2,-4]],[[8889,9551],[6,0],[3,-2],[3,-6],[3,-3],[6,0],[4,4],[-1,5],[1,8],[2,3],[8,4],[5,5],[7,-2],[20,-12],[13,-4],[7,-1],[10,3],[4,0],[43,-16],[3,-3],[-9,-3],[-6,-4],[-2,-3],[4,-5],[-13,-10],[-11,-3],[-11,2],[-6,0],[-6,2],[-7,6],[-6,7],[-1,6],[1,6],[4,1],[4,5],[-2,3],[-11,1],[-13,-4],[2,-11],[3,-7],[12,-14],[7,-2],[5,-6],[-9,-5],[-11,-3],[-6,4],[-5,6],[-7,-1],[-6,-2],[-35,-6],[-7,3],[-7,4],[-6,-3],[-3,-9],[-3,-4],[-7,-2],[-6,3],[-24,7],[-9,11],[-6,2],[-7,4],[-7,9],[1,5],[8,-1],[-2,12],[2,11],[2,2],[10,-1],[-6,9],[4,4],[4,2],[5,0],[7,5],[6,1],[11,4],[2,0],[9,-7],[8,-3],[15,-11]],[[7680,9577],[2,-3],[-7,-1],[-1,-5],[-6,2],[-7,0],[-5,2],[-10,1],[2,4],[6,-2],[5,3],[11,-2],[3,2],[7,-1]],[[7689,9572],[-3,0],[0,4],[3,5],[4,0],[2,-3],[-6,-6]],[[8123,9597],[5,-7],[-3,-3],[-7,5],[-4,0],[-5,5],[9,-1],[5,1]],[[7710,9595],[-5,0],[-3,5],[2,1],[6,-6]],[[9142,9599],[-21,-1],[1,2],[8,4],[15,0],[-3,-5]],[[6881,9574],[-24,-9],[-35,-10],[-25,-6],[-13,-4],[-14,-3],[-3,0],[-9,-4],[-8,-2],[-27,-8],[-13,-6],[-7,-1],[-6,-5],[-6,-3],[-7,-7],[-4,1],[-7,-3],[-1,-3],[6,-1],[0,-4],[-4,-2],[-2,-3],[-7,-3],[-7,1],[1,-7],[-5,-1],[-10,4],[-2,-4],[-1,-6],[-5,-3],[-11,2],[3,-10],[-1,-5],[-5,-6],[-19,-7],[3,-6],[0,-6],[-6,-2],[-5,4],[-5,-1],[5,-4],[2,-5],[-2,-3],[-9,-6],[-5,-8],[-9,-3],[-6,-1],[-11,3],[-13,1],[-8,2],[-7,3],[-7,0],[-13,-6],[-4,8],[2,3],[-11,9],[-2,4],[18,10],[7,1],[2,5],[8,8],[9,14],[2,1],[19,2],[1,1],[-5,3],[-8,1],[-2,4],[2,1],[7,8],[8,6],[8,4],[-4,3],[-10,-1],[-5,7],[6,4],[7,-1],[6,-4],[2,0],[9,8],[-2,5],[5,3],[9,0],[8,-2],[5,9],[9,5],[-1,4],[10,4],[12,7],[33,8],[2,5],[4,1],[13,1],[2,-2],[4,0],[3,3],[-1,6],[4,3],[17,1],[19,-4],[9,1],[5,-1],[15,5],[26,4],[7,2],[7,4],[7,1],[18,6],[6,8],[21,10],[12,2],[8,3],[13,-1],[13,-3],[6,-4],[6,-6],[1,-3],[-2,-3],[1,-5],[-10,-7],[-11,-10],[-11,-3]],[[7673,9620],[-12,-3],[-4,3],[-12,-1],[4,3],[12,2],[19,6],[1,-4],[-8,-6]],[[7485,9629],[-6,0],[-4,2],[4,5],[9,0],[2,-1],[-5,-6]],[[7982,9632],[-3,0],[-1,3],[3,3],[7,-1],[2,-3],[-8,-2]],[[6366,7852],[1,-2],[-4,-1],[0,-3],[-1,-2],[-7,-5],[-4,-1],[0,-4],[2,-6],[-2,-2],[-2,3],[-3,0],[-7,-9],[-2,-2],[-3,-1],[-7,-4],[-3,2],[-2,-2],[0,-4],[-4,6],[-1,-1],[2,-4],[0,-7],[-3,-4],[-1,-7],[-4,-15],[-3,-7],[-1,-5],[-2,3],[-2,-5],[-3,-4],[-2,-4],[-2,-8],[2,-5],[4,-2],[3,-3],[6,-8],[2,-5],[3,-19],[1,-13],[3,16],[2,3],[0,-5],[-2,-7],[-1,-10],[-1,-7],[1,-6],[0,-3],[-2,-11],[2,-4],[3,-4],[2,-5],[1,-7],[9,-19],[5,-10],[4,-13],[1,-2],[4,-5]],[[6109,7684],[-3,3],[-15,25],[-17,22],[-2,2],[-9,3],[-4,3],[-9,16],[-4,-2],[-3,0],[-3,2],[-4,5],[-1,7],[-3,4],[-7,5],[-8,4],[-1,3],[7,4],[2,2],[-6,5],[4,3],[7,-7],[3,-2],[1,2],[11,4],[0,6],[-1,0],[0,5],[1,5],[5,8],[3,12],[2,3],[3,-3],[2,5],[3,0],[3,-1],[2,1],[-5,9],[-6,9],[-3,-1],[-2,1],[-3,7],[-1,6],[3,0],[3,-1],[5,5],[2,0],[7,-2],[0,4],[-1,5],[5,3],[5,2],[9,7],[4,1],[0,4],[-2,9],[-5,0],[-3,-5],[-7,-2],[-3,0],[2,4],[-2,1],[-2,-3],[-8,-5]],[[6060,7896],[0,5],[2,3],[0,2],[-2,2],[0,2],[2,4],[0,9],[3,3],[4,0],[3,3],[2,3],[3,7],[2,1],[5,-1],[3,0],[6,-1],[10,1],[1,3],[0,4],[3,12],[2,4],[0,2],[-3,1],[1,4],[0,3],[-2,7],[-2,2],[-3,1],[2,9],[2,4],[3,-1],[3,1],[0,2],[-7,4],[-2,5],[2,2],[4,1],[2,4],[3,4],[2,6],[0,4],[-2,3],[0,4],[1,3],[-2,3],[-2,0],[-2,-2],[-3,1],[-9,9],[-4,0],[-4,7],[-4,-2],[-3,0],[-8,8],[-5,0],[-5,5],[-3,-1],[0,-5],[-3,-1],[-3,2],[-7,8],[-3,7],[0,4],[-5,7],[-2,0],[-6,-4],[-4,0],[-6,-3],[-4,-5],[-3,4],[-4,1],[-2,-1],[-5,8],[-3,0],[-3,1],[-3,-1],[-3,-4],[-2,1],[-2,5],[-3,5],[-1,4],[1,2],[0,7],[-1,2],[-1,6],[-1,3],[0,5],[-1,1],[-2,-1],[-3,5],[0,3],[-1,2],[-2,-1],[-4,0],[-4,-1],[-6,3],[-7,1],[-1,1],[2,3],[-2,6],[0,8],[-2,3],[0,4],[7,2],[1,2],[-1,2],[-8,11],[-2,10],[-3,6],[-3,4],[-2,1],[-8,0],[-4,1],[-4,-1],[-7,-5],[-7,1],[-4,2],[-2,0],[-2,-2],[-2,-9],[-5,-4],[-4,0],[-6,3]],[[5777,8609],[1,5],[0,5],[-1,4],[1,4],[2,0],[3,-4],[3,-2],[2,3],[1,5],[2,2],[2,-2],[4,-1],[4,0],[2,1],[2,5],[4,5],[14,-2],[13,-5],[1,5],[-5,4],[-3,5],[-4,4],[-5,1],[-5,-2],[-9,1],[-7,8],[-4,3],[-4,6],[3,1],[1,6],[-2,3],[-2,1],[-9,-6],[-11,-2]],[[5856,9203],[5,-1],[12,-5],[6,2],[3,6],[2,1],[4,-2],[1,2],[-2,4],[0,3],[12,-5],[5,-4],[10,-3],[2,-2],[0,-3],[-3,-4],[-4,0],[-16,4],[-3,-2],[2,-2],[5,-2],[1,-5],[7,1],[7,-2],[4,1],[-2,-5],[1,-1],[11,4],[2,-1],[-1,-9],[-2,-7],[3,-1],[5,9],[2,1],[15,1],[21,-6],[5,1],[3,2],[16,-4],[21,-11],[31,-18],[17,-16],[2,-4],[7,-1],[5,0],[20,-15],[7,-1],[-2,6],[2,0],[6,-8],[5,-4],[5,-7],[10,-5],[6,-2],[2,-15],[2,-3],[0,-7],[4,-3],[3,-1],[0,-5],[-3,-12],[-2,-5],[-19,-21],[-11,-9],[-23,-10],[-17,-3],[-8,0],[-13,1],[-8,2],[-9,6],[-9,2],[-6,2],[-11,0],[-28,7],[-15,11],[-9,-4],[-3,4],[2,2],[-9,3],[-7,0],[-3,3],[-5,2],[-3,-1],[-9,4],[-4,4],[-5,7],[3,3],[-15,4],[-14,1],[2,-2],[6,-1],[9,-6],[-1,-5],[11,-10],[2,-3],[7,-1],[1,-4],[-1,-2],[1,-3],[12,-5],[-2,-3],[-1,-4],[15,-5],[8,-6],[9,-10],[2,-5],[0,-6],[-5,-14],[-2,-4],[-3,-3],[3,-7],[4,-6],[4,-11],[0,-10],[4,-3],[-3,-3],[1,-8],[4,-7],[7,-5],[10,1],[4,-2],[10,-9],[4,-8],[2,-2],[10,-4],[7,-2],[11,-5],[2,0],[5,4],[10,4],[2,4],[0,4],[-2,7],[-1,6],[-3,3],[-3,1],[-12,-1],[-3,2],[-4,5],[-8,11],[-4,4],[-2,5],[0,6],[3,-1],[4,3],[2,11],[8,1],[10,-5],[14,-13],[3,-1],[8,0],[3,-4],[2,0],[13,-4],[14,-9],[5,1],[3,6],[6,5],[4,1],[5,-2],[1,1],[-4,13],[-4,4],[-10,16],[-1,6],[2,9],[14,8],[5,6],[5,7],[11,3],[11,6],[8,8],[9,12],[3,3],[7,-2],[4,-4],[6,-1],[5,1],[7,0],[9,-6],[2,-4],[-3,-7],[6,2],[3,-1],[5,-5],[3,1],[-1,9],[3,10],[3,5],[5,10],[-2,8],[0,8],[-1,4],[-3,5],[-6,4],[-6,1],[-2,4],[0,4],[2,7],[5,13],[6,23],[-1,2],[0,9],[-1,4],[-21,16],[-2,4],[3,0],[16,-7],[4,-1],[25,2],[12,-2],[11,-3],[7,-11],[15,-19],[0,-7],[-7,-1],[-8,0],[-17,-4],[-5,-4],[-12,-12],[-1,-4],[1,-3],[6,-4],[11,-6],[9,-17],[6,-3],[6,0],[5,-2],[6,1],[22,6],[5,3],[1,4],[2,13],[4,11],[-1,7],[11,4],[10,2],[5,0],[2,3],[-4,5],[3,2],[8,1],[22,11],[8,6],[13,8],[4,2],[7,1],[7,2],[8,4],[10,4],[4,0],[4,-5],[-3,-4],[2,-2],[4,0],[2,2],[6,3],[1,3],[-2,1],[-2,5],[-6,1],[9,7],[21,11],[10,4],[11,1],[5,-2],[-14,-3],[-2,-2],[5,-2],[-2,-3],[-4,-9],[5,-6],[0,-6],[-3,-3],[-4,1],[-3,-2],[-6,-1],[-3,-5],[7,0],[11,-2],[6,2],[3,0],[7,2],[7,-6],[4,1],[1,10],[7,6],[7,5],[7,0],[7,4],[10,-1],[10,0],[8,-3],[6,-1],[9,5],[20,14],[2,-3],[3,5],[15,5],[4,0],[2,-6],[3,-3],[4,-6],[-4,-3],[-3,-5],[-1,-9],[6,-3],[9,-3],[3,0],[5,4],[1,5],[-2,6],[1,6],[7,-1],[9,2],[4,3],[8,12],[-2,9],[-5,-2],[-9,20],[-5,8],[3,3],[8,2],[7,8],[6,2],[21,-5],[24,-2],[20,-4],[23,-8],[11,-5],[9,-7],[-1,-4],[4,1],[8,-4],[6,-1],[6,-3],[2,-3],[8,-2],[7,-5],[2,0],[9,-4],[7,-1],[4,-7],[14,-10],[2,-3],[12,-7],[6,-5],[4,2],[9,13],[8,22],[-6,0],[-4,-2],[-3,0],[-8,8],[-7,10],[-1,11],[-2,3],[-7,3],[-4,3],[-15,7],[-3,-3],[-5,1],[1,10],[3,10],[6,1],[3,4],[-3,7],[0,4],[3,12],[1,14],[-4,5],[-9,-2],[-3,1],[-1,5],[5,9],[-5,-1],[-1,2],[8,12],[10,4],[19,11],[8,8],[6,10],[4,9],[6,22],[6,16],[9,16],[9,2],[-2,-5],[7,-1],[8,1],[13,0],[24,1],[12,-5],[5,0],[9,-2],[10,-6],[0,-12],[-1,-8],[-5,-19],[-6,-11],[-2,-7],[-5,-5],[-6,-4],[-1,-5],[6,-9],[14,-9],[3,-10],[1,-8],[-1,-21],[-1,-4],[-3,-3],[-2,-4],[2,-6],[1,-22],[1,-18],[-2,-6],[-1,-17],[2,-6],[3,-6],[3,-3],[11,-6],[10,-8],[1,-5],[-4,-3],[-9,-15],[1,-12],[0,-6],[-6,-10],[-10,-6],[-20,-33],[-5,-4],[-9,1],[5,-11],[0,-5],[-5,0],[-8,-4],[-4,-4],[-6,-1],[-4,1],[-5,3],[1,3],[7,6],[-3,0],[-3,-3],[-5,-1],[-5,4],[-4,5],[-6,-1],[-14,1],[-4,-1],[-1,-3],[2,-7],[2,-4],[6,-4],[8,-1],[8,-5],[10,-3],[22,1],[12,-2],[9,-5],[5,0],[7,5],[1,10],[1,3],[26,14],[5,3],[8,8],[2,5],[3,14],[2,5],[17,16],[3,5],[0,12],[-1,5],[-3,9],[-3,4],[-4,7],[3,14],[2,5],[16,7],[12,2],[15,4],[6,1],[4,-1],[4,-4],[3,-7],[11,-11],[3,-7],[1,-9],[0,-21],[-2,-10],[4,-2],[7,-6],[2,-3],[3,-1],[6,0],[17,1],[9,0],[-2,3],[-8,0],[-11,2],[-16,5],[-2,9],[4,16],[3,2],[6,2],[-2,13],[-4,8],[-3,16],[-5,0],[-4,3],[-19,9],[-18,7],[-12,1],[-4,-1],[-10,-7],[-7,-1],[-13,3],[-10,-2],[-4,2],[-2,3],[3,13],[-1,5],[-5,6],[-3,5],[1,6],[7,21],[3,6],[7,10],[4,8],[-1,4],[-16,24],[-6,11],[-10,7],[-2,3],[16,23],[8,4],[15,5],[9,5],[5,4],[3,7],[0,9],[-1,7],[-8,15],[5,3],[5,-1],[6,-3],[7,-12],[0,-7],[1,-5],[3,-5],[-6,-7],[-4,-11],[-3,-1],[-1,-8],[7,-10],[-2,-9],[-4,-3],[1,-6],[22,-7],[18,-1],[5,-4],[2,3],[16,-1],[13,-10],[7,-3],[6,-1],[12,1],[4,4],[-6,0],[-2,-2],[-6,1],[-3,2],[-3,4],[-5,10],[-8,3],[-6,-1],[-6,1],[-17,8],[-12,6],[-3,2],[-3,5],[-5,13],[11,6],[12,1],[5,-1],[14,-10],[6,0],[12,4],[1,3],[-6,8],[-7,1],[-8,-2],[-2,2],[2,4],[4,1],[10,7],[7,3],[7,1],[26,-1],[15,-9],[14,-4],[10,-5],[1,-5],[18,-13],[4,-2],[12,-1],[19,4],[6,-1],[7,-5],[-7,-12],[-2,-2],[-16,-9],[-3,-15],[3,-11],[-2,-6],[-3,-6],[1,-5],[2,1],[5,9],[4,11],[4,3],[4,1],[4,-3],[1,-5],[0,-7],[-1,-6],[-3,-10],[-5,-7],[-1,-4],[4,-7],[3,-1],[4,1],[1,3],[-2,7],[6,3],[6,1],[5,4],[2,8],[-11,25],[-5,7],[3,10],[5,11],[3,4],[0,6],[-6,10],[-4,3],[-16,3],[-10,10],[-2,8],[-3,2],[-14,5],[-8,0],[-5,2],[-9,7],[-2,8],[-2,3],[5,14],[-2,4],[-7,4],[-2,8],[-1,8],[6,6],[-1,6],[25,4],[9,1],[48,0],[4,2],[21,2],[9,2],[9,-3],[3,1],[7,0],[5,5],[10,2],[17,2],[8,0],[4,-4],[-9,-6],[-9,-5],[-8,-3],[-7,-5],[-1,-7],[1,-2],[7,-3],[6,-5],[10,-5],[2,1],[-23,15],[1,4],[4,4],[8,3],[21,2],[7,9],[5,3],[-10,4],[-14,18],[-3,3],[-11,2],[-5,2],[5,6],[6,2],[4,-1],[10,-7],[9,3],[-10,4],[-5,5],[-16,6],[-9,1],[2,5],[7,1],[2,4],[13,-8],[6,2],[5,3],[10,10],[1,4],[-9,3],[-5,0],[-1,3],[3,3],[4,1],[14,-3],[23,9],[7,4],[16,6],[8,0],[16,7],[23,4],[13,0],[10,4],[16,1],[5,2],[26,4],[4,4],[-3,2],[-5,-3],[-8,3],[-3,-3],[-3,1],[-1,4],[3,5],[4,-3],[4,4],[3,1],[8,-3],[5,3],[8,1],[11,-1],[2,3],[13,-3],[9,2],[6,0],[9,-2],[4,-2],[-2,-4],[-9,-6],[2,-2],[6,4],[16,4],[2,-1],[-3,-5],[11,2],[9,5],[4,1],[4,-3],[4,2],[1,3],[7,1],[7,4],[13,5],[9,-2],[18,-7],[6,3],[-6,6],[-15,8],[-3,3],[-5,2],[2,2],[20,-2],[10,1],[10,-1],[15,3],[6,-3],[7,0],[8,-2],[2,3],[-13,3],[-6,-1],[-2,2],[5,8],[-2,5],[-3,2],[0,5],[2,5],[5,2],[3,4],[7,6],[30,18],[14,6],[12,1],[13,5],[5,0],[17,-4],[4,-3],[10,-3],[11,-1],[5,-2],[5,-6],[-9,-2],[-10,-7],[-13,-4],[-16,-2],[-4,-2],[40,0],[2,-6],[3,0],[9,3],[6,0],[10,-2],[6,1],[10,-2],[4,-4],[-14,-11],[-8,-9],[-7,1],[1,-5],[7,0],[4,-2],[9,3],[13,-1],[8,4],[3,8],[5,1],[12,-1],[21,2],[17,-2],[13,2],[18,-2],[8,-2],[6,-3],[5,-1],[8,-8],[-2,-3],[8,1],[3,-2],[6,-1],[2,-10],[3,-5],[-2,-3],[3,-1],[6,3],[3,4],[-5,4],[3,1],[5,-1],[3,-4],[5,-16],[8,1],[1,-4],[-7,-15],[-4,4],[-10,2],[-14,8],[-5,0],[8,-5],[6,-10],[6,3],[5,-5],[6,-2],[5,-3],[-3,-9],[-20,-16],[-20,-9],[-9,-7],[-16,-4],[-11,-7],[-14,-5],[-4,-5],[-11,-3],[2,-3],[-3,-6],[-8,-4],[-12,-4],[-25,-19],[-12,-4],[-14,0],[-16,-17],[-14,-1],[-14,-20],[-8,-7],[1,-3],[8,3],[10,6],[4,6],[7,5],[18,2],[7,-1],[11,1],[7,4],[8,1],[1,3],[7,0],[14,4],[7,6],[8,-2],[6,1],[16,9],[10,4],[2,2],[-4,3],[-9,-3],[-8,-1],[-10,1],[-2,4],[6,8],[11,5],[22,-5],[2,7],[11,-2],[-9,-3],[2,-5],[3,-3],[11,-5],[10,-2],[7,0],[11,2],[4,5],[-3,7],[5,-2],[5,-5],[6,-11],[-1,-3],[-6,-8],[3,-3],[6,-3],[0,-17],[-3,-6],[-4,-3],[-3,-4],[2,-6],[3,-4],[10,-1],[1,1],[-9,3],[-4,6],[5,7],[4,7],[1,5],[-1,5],[2,3],[7,4],[-5,2],[-4,3],[-1,4],[9,2],[6,3],[21,1],[15,5],[32,-1],[22,-5],[32,0],[12,-3],[1,-3],[-5,-1],[-8,0],[-2,-6],[1,-7],[15,-7],[13,-3],[9,-5],[5,-1],[19,1],[11,-3],[10,2],[14,0],[4,-4],[7,-1],[7,0],[5,1],[1,2],[-7,2],[1,3],[3,1],[10,-4],[5,-1],[4,3],[4,8],[5,3],[-4,4],[-5,10],[0,6],[3,6],[2,1],[8,-2],[4,4],[13,3],[4,0],[7,-2],[23,-11],[-1,-4],[6,1],[3,2],[6,1],[4,2],[2,-3],[-2,-5],[8,-5],[8,6],[5,7],[20,-4],[6,-2],[2,-4],[7,-3],[-1,-4],[10,0],[8,-4],[-1,-3],[2,-2],[5,0],[-7,-8],[-7,-4],[2,-1],[9,0],[6,-6],[1,-4],[-12,-7],[-5,-2],[-6,-1],[3,-2],[16,-1],[5,-2],[3,-7],[0,-9],[-3,-4],[-10,-1],[-13,10],[-7,3],[-11,7],[-2,-1],[3,-6],[5,-3],[9,-10],[16,-19],[5,4],[5,2],[5,-7],[-7,1],[-7,-2],[-3,-3],[2,-4],[6,0],[2,-5],[5,-6],[10,-16],[7,-3],[8,-7],[10,-4],[3,5],[2,-2],[2,-8],[3,-3],[7,1],[5,4],[3,4],[6,12],[7,8],[-1,6],[9,22],[9,11],[5,-9],[9,-9],[8,-7],[7,-3],[12,-3],[16,0],[3,4],[6,3],[10,2],[5,4],[9,1],[15,-3],[19,-9],[19,-15],[4,-2],[2,1],[-4,5],[4,2],[3,5],[-5,2],[0,3],[2,1],[1,4],[5,4],[3,1],[6,-3],[4,4],[3,0],[6,-4],[6,-7],[3,0],[8,3],[10,0],[-1,4],[-7,8],[1,11],[-10,4],[8,2],[5,9],[8,3],[-14,1],[-5,-3],[-7,0],[-1,9],[12,10],[24,0],[7,1],[10,4],[-2,3],[0,5],[-9,7],[1,3],[17,-2],[6,-4],[15,-4],[40,-1],[5,-2],[17,-2],[25,-4],[8,-1],[6,-3],[10,-1],[5,-2],[0,-5],[-22,0],[-7,2],[-8,0],[-4,-1],[-5,-4],[-12,-3],[4,-4],[5,-1],[15,5],[44,3],[6,-1],[0,-3],[-6,-7],[-6,-5],[-8,-5],[-3,0],[7,11],[-5,1],[-7,4],[-3,-2],[-1,-7],[2,-2],[0,-5],[-9,-3],[-4,0],[-6,2],[1,-4],[-3,-6],[2,-2],[4,-1],[17,3],[7,3],[8,7],[15,16],[6,5],[9,3],[27,-2],[15,-3],[15,-5],[8,-4],[5,-6],[2,-6],[-4,-3],[-17,-1],[-6,-1],[-4,-5],[2,-1],[14,-2],[12,-5],[4,-4],[15,1],[2,-4],[-12,-11],[16,6],[4,1],[5,-1],[12,-5],[5,-4],[9,-11],[-9,-2],[21,-9],[8,0],[18,3],[10,0],[17,5],[17,4],[16,0],[8,3],[22,0],[21,-1],[16,-2],[19,-6],[18,-8],[13,-11],[3,-6],[2,-11],[0,-5],[-5,-8],[1,-5],[-4,-7],[3,-5],[8,-3],[18,-5],[4,-2],[1,-9],[3,-21],[7,-6],[1,-5],[-6,-14],[-7,-7],[7,1],[7,15],[4,2],[1,3],[0,9],[-2,8],[0,6],[2,4],[11,10],[6,4],[6,2],[16,2],[7,2],[8,-1],[6,0],[7,2],[6,-1],[9,-6],[35,-2],[6,-2],[23,-3],[2,0],[5,4],[16,10],[6,0],[3,-2],[5,-7],[3,-8],[2,-10],[3,-2],[5,0],[20,-9],[2,-9],[6,-8],[13,1],[13,2],[12,12],[0,5],[-3,8],[-4,7],[-4,11],[-12,3],[1,3],[5,4],[4,6],[-1,14],[11,0],[10,-1],[20,-5],[17,-2],[8,-2],[6,-4],[6,-2],[2,6],[2,1],[8,-3],[6,-1],[11,0],[13,-1],[14,0],[12,3],[10,-3],[9,-5],[14,-7],[13,-2],[15,-7],[14,-2],[12,-4],[2,-5],[9,-2],[17,-15],[-9995,-1],[5,-3],[6,-2],[3,1],[3,-4],[14,-6],[5,-4],[-2,-1],[2,-7],[12,-4],[6,-5],[1,-3],[-2,-4],[4,1],[4,3],[-2,3],[-12,8],[1,1],[16,-10],[4,-4],[-3,-3],[7,0],[3,-1],[3,-3],[7,-3],[44,-26],[3,-9],[0,-4],[-4,-5],[6,0],[4,5],[3,-2],[2,-4],[-3,-8],[0,-6],[4,-10],[1,-8],[-3,-3],[-2,-6],[2,-1],[5,0],[5,-4],[3,-11],[1,0],[4,6],[4,1],[2,-5],[-2,-9],[2,1],[5,7],[1,4],[-1,3],[-3,2],[-5,1],[-3,5],[4,4],[2,5],[-2,9],[-2,2],[-4,1],[-1,3],[-5,0],[-1,3],[18,1],[6,2],[5,-3],[10,-2],[-5,-6],[-1,-6],[3,-1],[2,2],[-1,6],[2,1],[5,-3],[11,-1],[0,3],[-12,3],[0,2],[10,-2],[10,-4],[7,1],[6,-3],[7,-6],[5,-8],[6,-5],[7,-4],[12,-12],[0,-2],[5,1],[3,-6],[11,-3],[2,-5],[-3,-3],[-5,2],[-11,-6],[-4,-4],[0,-12],[-3,-2],[-7,1],[-6,3],[-8,7],[0,-4],[8,-7],[2,-4],[-1,-2],[-4,-1],[-4,2],[-11,-1],[-5,-1],[0,2],[-5,2],[-3,0],[-5,6],[-8,1],[-2,-1],[6,-4],[6,-6],[-2,-3],[5,0],[1,-1],[-3,-9],[-10,-1],[3,-2],[5,0],[3,-1],[2,-9],[-5,-5],[-11,-5],[-3,1],[-3,-1],[0,-2],[5,-3],[0,-2],[-3,-3],[2,-5],[7,-2],[5,-4],[1,-6],[-10,0],[-1,5],[-3,2],[-2,-1],[1,-8],[-2,-4],[-8,-1],[-3,4],[0,3],[2,2],[-2,2],[-2,-3],[-6,-4],[-9,5],[-6,8],[-3,3],[-7,5],[-13,5],[-6,-1],[-4,1],[-3,4],[-6,4],[-3,4],[0,13],[-2,6],[-5,7],[-13,5],[-14,4],[-3,-1],[-9,-6],[-6,-1],[-17,0],[-5,3],[-1,3],[1,9],[-5,3],[-3,4],[-4,10],[5,-1],[2,6],[3,4],[1,7],[-2,2],[-4,-7],[-4,-3],[-6,3],[-2,5],[-4,-2],[0,-7],[-8,-2],[-2,3],[-2,-9],[-1,-7],[2,-6],[8,-6],[2,-3],[1,-4],[-5,-11],[-3,-8],[-2,-3],[-8,-7],[9994,-2],[-5,-6],[-6,-6],[-8,-2],[-13,-9],[-5,-2],[-6,4],[-15,3],[-5,3],[-6,9],[-3,2],[-2,3],[-8,4],[-7,-3],[0,-1],[9,0],[5,-4],[2,-5],[-4,-4],[-7,4],[-7,-1],[-4,1],[-10,6],[-8,-7],[-10,-3],[-9,-1],[0,-1],[7,0],[9,2],[5,2],[6,5],[3,-1],[4,-6],[1,-5],[4,-1],[7,-3],[3,0],[6,5],[9,3],[2,-2],[-1,-9],[0,-8],[7,-8],[8,-5],[5,1],[2,8],[5,-6],[2,-8],[-1,-7],[3,-2],[3,0],[2,-18],[-8,-3],[1,-2],[5,-1],[2,-2],[-1,-7],[3,2],[-1,4],[1,2],[4,-11],[3,-4],[8,-5],[2,-3],[0,-4],[-4,-4],[3,-7],[4,-1],[2,-5],[0,-5],[-8,-10],[-3,-3],[-2,-4],[0,-4],[-4,2],[-27,11],[-9,2],[-9,0],[-2,1],[0,3],[2,5],[-5,1],[-2,2],[-2,-1],[-2,-5],[1,-4],[5,-2],[0,-1],[-7,-2],[-6,-1],[-7,-6],[-3,-4],[-20,-9],[-5,-3],[-5,-2],[-2,-4],[-11,-5],[-2,0],[-6,-7],[-6,0],[-4,-1],[-9,-7],[-6,2],[-6,-9],[-7,-9],[-2,0],[-6,4],[-1,-2],[1,-4],[2,-3],[-2,-1],[-3,1],[-2,-1],[1,-3],[-3,-3],[-3,0],[-3,-2],[-1,-2],[1,-4],[-5,-3],[-4,-5],[-2,-1],[-4,-4],[-3,1],[-7,-7],[-15,-12],[-4,-1],[-5,-4],[-1,-5],[-2,-5],[-2,-12],[-3,-5],[-5,1],[-5,5],[-2,5],[0,4],[-2,2],[-6,10],[-9,7],[-2,3],[-12,-2],[-9,1],[-9,-1],[-11,-3],[-3,-3],[-11,-3],[-8,-6],[-14,-21],[-3,-4],[-4,-1],[-2,7],[1,6],[2,5],[2,10],[0,4],[1,4],[-4,0],[-7,-7],[-10,-7],[-5,-2],[-3,-4],[-6,-2],[0,-9],[-2,-5],[-4,-1],[-2,2],[-3,7],[-4,4],[-4,0],[-7,-5],[-3,2],[-7,2],[-6,-8],[-2,-1],[-4,-6],[-1,-5],[-1,-10],[0,-13],[-5,-10],[-2,1],[-2,-2],[1,-5],[-1,-3],[-3,-2],[-6,-8],[-5,-5],[-9,-15],[-2,-10],[-3,-12],[4,-11],[3,-3],[6,-3],[2,0],[1,7],[4,3],[2,0],[11,-6],[3,-3],[-1,-9],[-7,-9],[-5,-7],[0,-7],[1,-8],[0,-16],[1,-4],[2,-2],[4,2],[3,-1],[2,-3],[0,-7],[3,-19],[-4,-5],[-4,-6],[-2,0],[-4,2],[-6,9],[2,6],[8,7],[-9,2],[-5,-5],[1,-8],[-2,-2],[-8,-6],[-2,-2],[-9,-25],[-1,-9],[0,-8],[3,-13],[7,-14],[0,-8],[-10,-13],[-3,-1],[-9,1],[-5,4],[-5,-1],[-5,-2],[-7,-7],[-6,-8],[-6,-5],[-2,-4],[-2,-7],[-2,-13],[0,-6],[2,-3],[1,-4],[-2,-6],[0,-4],[3,-6],[1,-9],[-2,0],[-5,6],[-6,1],[-12,-7],[-5,-4],[-6,-8],[-2,1],[-1,5],[-2,2],[-2,-1],[-2,-4],[4,-2],[1,-3],[-2,-11],[-1,-3],[0,-15],[-4,-16],[-7,-17],[-7,-11],[-6,-4],[-3,-4],[-1,-4],[-8,-11],[-10,-12],[-2,-2],[-1,5],[0,4],[-1,6],[-4,5],[-1,4],[0,30],[-4,27],[0,8],[-4,6],[-2,7],[-1,7],[0,8],[-4,43],[-2,10],[-5,35],[-3,19],[-1,20],[0,8],[2,26],[2,16],[7,36],[3,5],[13,14],[5,7],[7,18],[0,6],[-2,6],[-3,4],[2,4],[3,1],[7,-3],[6,1],[6,13],[9,-2],[6,2],[2,0],[1,4],[11,11],[9,8],[5,6],[3,5],[4,5],[4,6],[7,19],[14,15],[5,9],[9,5],[10,12],[6,11],[9,7],[2,5],[5,10],[1,3],[6,4],[12,7],[8,7],[10,1],[3,3],[7,4],[-4,6],[1,4],[8,9],[3,6],[-1,4],[-4,2],[2,11],[4,4],[1,9],[0,10],[4,14],[2,3],[9,8],[2,0],[6,-3],[6,-1],[3,-2],[0,4],[2,1],[3,-1],[0,3],[-10,1],[-7,3],[-6,6],[-4,2],[-5,0],[-25,-9],[-3,-5],[2,-5],[-2,-2],[-2,-5],[-1,-6],[0,-6],[-3,-9],[0,-6],[5,-3],[1,-2],[-1,-3],[-4,-5],[-2,-1],[-2,3],[-2,6],[-3,1],[-1,-4],[-9,1],[-5,-7],[-32,-33],[-4,-4],[-4,-8],[-8,-1],[-8,-6],[1,5],[0,6],[5,11],[-6,2],[-5,-3],[-3,-3],[-3,0],[1,4],[4,6],[-2,10],[1,1],[7,13],[2,6],[2,8],[0,6],[-4,1],[-13,-9],[-4,-2],[-2,4],[-2,1],[-4,6],[-6,1],[-7,-4],[-7,-2],[-6,0],[-5,-3],[-3,-1],[-7,3],[-9,0],[-3,-3],[-8,-4],[-5,-7],[-6,-5],[-2,-12],[-8,-6],[-8,-9],[-5,-13],[-4,-5],[-8,-8],[-13,-10],[-11,-16],[-3,-12],[-5,-3],[0,-10],[-2,-4],[-1,-4],[1,-3],[4,0],[7,4],[10,-6],[6,-5],[-1,-5],[1,-4],[-4,0],[-6,-1],[-3,-2],[-7,4],[-6,-6],[-6,-2],[-4,2],[-5,7],[-9,-1],[-3,-7],[-5,-1],[-7,-9],[-7,2],[-5,4],[-2,0],[-5,-2],[-2,-5],[-10,-2],[-11,0],[-6,12],[11,5],[6,-1],[8,1],[7,3],[-2,4],[-7,0],[-4,2],[-8,12],[-4,2],[-5,1],[-5,0],[-5,-7],[-8,4],[4,2],[-6,2],[-23,10],[-9,-2],[-7,-6],[4,-8],[-2,-1],[-6,0],[-3,3],[-3,-5],[1,-4],[4,2],[2,-2],[-1,-5],[-5,-2],[-7,1],[-6,8],[-11,-1],[-5,-6],[-5,-1],[-13,6],[-7,0],[-7,5],[-3,-2],[-4,-12],[-6,-3],[-4,2],[-3,8],[-2,2],[-5,2],[-30,-2],[-10,2],[-7,0],[-10,-4],[-9,2],[-17,-8],[-7,-5],[-8,-8],[-8,-15],[-4,-6],[-7,-7],[-10,-6],[-6,-7],[-2,-5],[-7,-23],[-12,-7],[-4,-8],[-2,-2],[-5,-3],[-3,-6],[-2,-2],[-7,-4],[-6,-10],[-9,-7],[-12,-19],[-2,-7],[-2,-4],[-11,-17],[-3,-2],[-5,-8],[-6,-4],[-4,-6],[-7,-6],[-9,-7],[-3,-3],[-5,-10],[-12,-11],[-5,-2],[-8,-10],[-1,-2],[0,-4],[1,-6],[2,-2],[3,-1],[11,-6],[11,2],[10,0],[3,1],[3,-1],[0,-9],[-1,-6],[-1,-17],[-2,-7],[1,-8],[3,-1],[2,3],[4,1],[3,-2],[3,12],[-2,2],[-2,4],[1,3],[7,6],[8,0],[-6,-9],[-2,0],[-1,-2],[3,-4],[4,-3],[6,-1],[-1,-3],[-4,-2],[-3,-9],[-9,-8],[1,-2],[14,1],[6,3],[8,7],[3,10],[4,3],[2,0],[0,-8],[-8,-13],[-1,-4],[5,1],[2,2],[4,10],[2,17],[0,10],[-2,5],[1,1],[12,-6],[6,-1],[10,5],[3,-2],[2,-3],[8,-8],[2,-3],[3,-11],[10,-13],[8,-6],[6,-9],[5,-2],[0,-6],[-2,-5],[-4,-5],[-8,4],[0,-3],[6,-8],[4,-3],[1,-11],[-1,-6],[-3,-6],[1,-4],[4,-6],[3,-2],[2,-3],[-3,-7],[-1,-8],[-3,-4],[-3,-7],[-6,-6],[-2,-12],[-4,-11],[-1,-10],[-4,-15],[-1,-14],[1,-24],[1,-2],[2,-1],[-1,-3],[-4,-7],[0,-5],[2,-4],[0,-9],[-3,-15],[0,-3],[-2,-7],[-1,-6],[1,-4],[1,-1],[-4,-11],[-2,-15],[-1,-6],[-4,-5],[-6,-9],[-2,-5],[-9,-11],[-6,-15],[-4,-15],[-12,-18],[-2,-10],[-3,-8],[-2,-12],[-3,-5],[-3,-12],[-9,-18],[-3,-7],[-7,-10],[-8,-14],[-9,-13],[-2,-5],[-4,-6],[-4,-9],[-6,-9],[-1,-6],[-2,-4],[-4,-3],[-3,-4],[-10,-23],[-1,-4],[0,-4],[-6,-9],[-4,-9],[-6,-5],[-6,-8],[-15,-15],[-4,-5],[-8,-7],[-4,0],[-7,-4],[-4,-3],[-3,1],[-2,5],[-4,-1],[-4,5],[-4,0],[-2,2],[-5,-2],[1,21],[-1,4],[-2,-4],[-6,-7],[-4,-1],[0,4],[4,6],[-2,1],[-4,-2],[-2,-3],[-6,-12],[-4,-10],[-2,-3],[-4,-9],[-4,2],[-2,-1],[-5,2],[-2,-1],[4,-7],[-3,-12],[-1,-1]],[[7990,9684],[-6,-5],[-4,3],[-9,-1],[-16,3],[4,2],[28,1],[3,-3]],[[7951,9688],[-4,-1],[-2,4],[8,1],[3,4],[5,-1],[2,-4],[-6,0],[-6,-3]],[[7857,9748],[-4,-8],[-9,-14],[4,0],[10,11],[4,0],[10,4],[10,1],[4,-1],[4,-7],[9,-2],[1,-5],[5,-3],[11,1],[5,-4],[4,-11],[-1,-5],[-13,-9],[-9,0],[-22,-5],[-20,0],[-6,-4],[-5,2],[-25,-2],[-14,0],[-5,-3],[-13,-5],[-20,-6],[-9,2],[-6,3],[4,3],[3,5],[13,9],[5,12],[2,2],[0,6],[4,4],[6,3],[7,1],[-1,5],[5,7],[1,6],[7,6],[6,1],[2,6],[6,1],[5,-6],[7,-1],[-2,4],[1,5],[5,2],[11,-3],[9,-5],[-6,-3]],[[7117,9771],[6,0],[25,-5],[6,-4],[-26,0],[0,3],[-14,2],[-3,4],[6,0]],[[7780,9769],[-6,-1],[1,5],[3,1],[7,-2],[-5,-3]],[[7573,9773],[-6,-1],[-8,1],[-13,6],[-9,3],[-7,4],[-2,4],[10,4],[21,0],[12,-3],[24,-3],[9,-2],[-5,-5],[-19,-7],[-7,-1]],[[6427,9788],[1,-1],[-28,0],[-10,3],[17,4],[7,3],[9,-3],[-1,-3],[5,-3]],[[6657,9789],[-10,-2],[-12,3],[3,4],[15,4],[7,-2],[3,-5],[-6,-2]],[[7712,9800],[6,-3],[3,-5],[-3,-1],[-4,-6],[3,-2],[6,2],[6,-1],[6,4],[1,6],[9,0],[12,-2],[2,-2],[10,-3],[9,-9],[-4,-2],[-4,-6],[0,-7],[-2,-3],[0,-8],[-4,-3],[-11,2],[-3,-1],[8,-3],[5,-6],[7,-1],[5,-9],[-14,-7],[-17,-1],[-12,-2],[-3,1],[-20,2],[-9,2],[-9,4],[-3,3],[-11,1],[-20,0],[-5,5],[-11,-3],[-9,3],[-5,3],[0,3],[-4,1],[-7,11],[-13,3],[-13,0],[-6,2],[9,8],[13,4],[11,7],[2,7],[11,4],[7,5],[8,-4],[6,4],[10,1],[16,-1],[20,3],[12,1],[3,-1]],[[6389,9795],[-14,5],[10,4],[10,0],[2,-3],[-8,-6]],[[6540,9807],[-8,-3],[-6,2],[7,4],[7,-3]],[[6584,9811],[2,-2],[-2,-12],[-2,-2],[-33,1],[-2,1],[8,6],[0,8],[18,-1],[1,2],[10,-1]],[[6486,9802],[-25,-1],[-2,2],[-6,0],[-4,3],[10,2],[8,6],[9,1],[9,-5],[10,-3],[-2,-3],[-7,-2]],[[6609,9798],[-5,-1],[-11,2],[-3,3],[-3,12],[-5,4],[2,2],[13,-1],[26,-1],[18,-4],[4,-3],[-24,-1],[-3,-2],[-1,-5],[-8,-5]],[[6510,9818],[-3,-3],[-13,4],[2,2],[-1,5],[15,-4],[0,-4]],[[6317,9840],[12,-2],[10,1],[6,-1],[6,-5],[-1,-6],[-17,3],[-7,5],[-5,-1],[-5,-4],[-11,-6],[-10,-1],[-8,-6],[-6,0],[-5,7],[-9,-2],[-7,1],[-7,3],[-1,3],[34,5],[13,1],[6,3],[12,2]],[[6726,9839],[0,-6],[-3,-6],[-11,-2],[-2,-3],[-9,-2],[-6,-5],[-9,1],[-13,4],[-17,-4],[-10,5],[0,6],[2,5],[6,6],[14,2],[5,-3],[6,0],[23,4],[8,2],[14,-2],[2,-2]],[[6395,9845],[15,-1],[18,-10],[4,0],[3,-3],[-15,-5],[-6,-4],[-18,0],[-13,-2],[-1,-4],[-6,-3],[-21,-1],[-4,-4],[7,-1],[1,-6],[-5,-1],[-6,2],[-5,-5],[-6,2],[-6,-3],[-6,0],[-3,2],[10,5],[-3,2],[-12,-1],[-3,-2],[-10,0],[-9,6],[28,12],[6,2],[9,0],[5,2],[7,-4],[12,1],[3,2],[-1,9],[3,6],[7,3],[21,4]],[[7222,9840],[-26,-2],[-3,1],[6,7],[17,1],[17,-2],[-2,-4],[-9,-1]],[[6697,9846],[-9,-1],[-14,1],[-7,2],[15,6],[24,1],[3,-3],[-3,-3],[-9,-3]],[[6519,9855],[21,-5],[19,0],[9,-1],[12,-5],[21,-7],[-3,-2],[-21,-6],[-26,-2],[-5,1],[-4,4],[-12,2],[-13,0],[-16,4],[-1,3],[9,2],[1,5],[6,7],[3,0]],[[6627,9851],[8,-8],[-1,-7],[-16,-1],[-10,2],[-5,5],[-10,2],[-5,6],[12,1],[11,5],[4,-2],[12,-3]],[[6409,9851],[-7,0],[-4,4],[6,4],[4,0],[6,-4],[-5,-4]],[[6759,9831],[-10,1],[-13,7],[16,8],[21,1],[6,1],[6,10],[14,1],[6,-1],[10,-7],[-1,-3],[3,-4],[-13,-7],[-12,-3],[-33,-4]],[[7542,9857],[-9,-5],[-35,3],[-2,4],[5,2],[29,-1],[10,-1],[2,-2]],[[7680,9853],[6,-7],[19,-6],[8,-1],[4,-4],[0,-4],[-18,-2],[-5,-7],[6,-10],[5,-2],[-7,-5],[-37,-4],[-24,-1],[-11,-2],[-20,-6],[-6,0],[-18,5],[-22,4],[-3,3],[-13,3],[-3,5],[10,7],[19,3],[7,5],[12,10],[-13,-2],[-5,1],[5,7],[4,1],[4,4],[8,3],[15,1],[13,3],[7,0],[12,5],[3,4],[18,1],[5,-4],[6,-2],[9,-6]],[[6646,9866],[-16,1],[-2,3],[12,2],[6,-2],[0,-4]],[[6605,9880],[5,-3],[12,-1],[4,-3],[-6,-2],[-14,-1],[4,-7],[-2,-3],[-13,-3],[-18,5],[-12,-3],[-5,3],[-13,-2],[-4,2],[-3,5],[8,1],[11,-2],[7,5],[8,2],[11,7],[20,0]],[[6767,9884],[-3,-1],[-27,2],[-8,4],[14,1],[26,-2],[-2,-4]],[[6618,9890],[-11,0],[3,5],[4,1],[31,2],[4,-2],[-1,-4],[-30,-2]],[[5820,5103],[1,0],[6,3],[1,-1],[1,-6],[3,1],[3,4],[1,3],[4,8],[1,4],[1,2],[2,1],[2,0]],[[5846,5122],[-1,-4],[1,-4],[4,-9],[2,-2],[1,-4],[2,-6],[0,-23],[1,-4],[1,-6],[-1,-7],[-1,-4],[-1,-2],[-4,0],[-1,-2],[-1,0]],[[4525,6382],[-1,3],[3,30],[0,2]],[[6165,6146],[2,5],[3,-5],[0,-8],[-1,1],[-1,3],[0,2],[-3,-1],[-2,1],[-3,6],[-1,4],[1,0],[2,2],[0,7],[1,-1],[1,-3],[0,-8],[1,-1],[-1,-2],[1,-2]],[[6024,6645],[-1,0],[-4,9],[-5,4],[0,2],[6,-5],[5,-7],[-1,-3]],[[6344,6827],[2,-5],[1,-6],[3,-12],[4,-10],[1,-4],[0,-7],[-1,-3],[3,-5],[5,-5],[5,-3],[-2,-3],[3,-8],[3,-7],[4,-2],[5,-11],[7,-7],[5,-10],[-4,2],[0,-5],[1,-5],[4,-7],[1,-5],[-2,-12],[-3,1],[2,-16],[2,-5],[1,-8],[2,-3],[4,-8],[2,-7],[1,-13],[7,-17]],[[6423,6601],[2,-3],[2,1],[0,-3],[-3,-11],[7,-3]],[[6443,6277],[-7,-1],[-6,-2],[-7,-2],[-9,-3],[-7,-1],[-18,-6],[-8,-2],[-9,-2],[-7,-2],[-4,-2],[-5,-5],[-7,-8],[-12,-12],[-4,-10],[-2,-6],[-7,-16],[-3,-9],[-2,-7],[-2,-12],[-2,-3],[-7,-7],[-4,1],[-3,7],[-4,11],[-12,-2],[-6,1],[-8,2],[-7,1],[-4,1],[-6,6],[-12,0],[-6,-1],[-5,0],[-6,-1],[-2,-1],[-2,0],[-2,-3],[-2,2],[-1,-1],[-3,2],[-2,3],[-1,3],[-4,2],[-1,0],[-3,-3],[-3,-6],[0,-2],[1,-3],[-2,-4],[-1,-5],[0,-15],[2,-5],[-1,-4],[-2,-2],[-1,-4],[-2,-5],[-5,-8]],[[6188,6126],[-1,5],[-1,7],[0,5],[-2,8],[-3,4],[0,5],[-2,5],[-3,5],[-1,7],[-1,11],[-7,13],[-8,12],[-3,8],[-4,14],[-2,11],[-6,13],[0,5],[-2,13],[-1,5],[-7,28],[-2,5],[0,4],[-1,2],[-4,4],[-4,10],[-11,16],[-5,1],[-5,6],[-3,7],[-3,13],[-6,13],[-5,20],[1,7],[0,5],[-1,8],[-2,7],[-1,6],[1,8],[0,10],[2,11],[-1,12],[-2,6],[0,4],[-3,6],[2,0],[-3,6],[-3,12],[-1,7],[-4,14],[-3,9],[-5,12],[-5,8],[-5,7],[-3,0],[-3,5],[-4,1],[-3,10],[-7,21],[2,8],[-1,6],[0,5],[-2,8],[-8,23],[-3,4],[-2,8],[0,8],[-5,4],[-7,28],[-4,10],[-2,7],[-5,11],[-3,10],[-5,10],[-4,18],[-7,17],[-3,3],[-7,1],[-3,2],[-2,-4],[-1,5],[2,6],[3,14],[1,13],[4,36]],[[5946,5728],[-6,0],[0,15],[2,7],[0,13],[-1,7],[-1,1],[-12,20],[-2,5],[0,1],[-7,5],[0,2],[1,2],[0,2],[-2,43],[0,3],[1,1],[0,16],[2,11],[0,5],[-13,0],[0,-12],[-18,0],[7,-17],[0,-2],[1,-6],[-1,-9],[0,-6],[3,-12],[-1,-1],[0,-2],[-13,-23],[0,-1],[-2,-9],[-2,-6],[-1,-1],[-3,-8],[-12,-24],[-2,-2],[-6,-1],[-4,0],[-1,-1],[-8,14],[-13,17],[-8,-9],[-3,-3],[0,-8],[-1,-4],[-2,-5],[-7,-3],[-3,-2],[-4,-4],[-1,-4],[-3,-5],[0,-8],[-22,1],[-1,2],[-3,13],[-3,0],[-20,1],[-3,-1],[-6,-6],[-3,0],[-3,2],[-10,25],[-2,3],[-3,6],[-3,5],[0,8],[-1,4],[-1,0],[-15,-5],[-2,0],[-3,-1],[-1,-1],[-1,-3],[0,-7],[-2,-7],[-4,-9],[-1,-4],[1,-9],[-1,-5],[0,-2],[-3,-6],[0,-12],[-3,-7],[0,-8],[-1,-2],[-6,-4],[-2,-3],[-2,-4],[0,-2]],[[5634,5812],[1,7],[1,9],[0,9],[-2,3],[-2,0],[-6,10],[0,26],[-3,2],[0,4],[-2,19],[1,5],[-2,7],[-3,2],[-7,-2],[-2,1],[-2,3],[-1,3],[1,4],[1,8],[3,7],[4,5],[2,4],[0,3],[1,4],[-1,4],[0,4],[-2,5],[-1,6],[0,4],[2,7],[3,4],[1,2],[2,2],[3,4],[1,2],[0,2],[-1,2],[-2,6],[0,6],[-1,4],[0,2],[2,5],[2,2],[3,1],[1,2],[0,8],[1,2],[1,6],[1,3],[2,3],[2,4],[1,4],[0,4],[-1,13],[2,5],[3,5],[4,-1],[6,1],[4,2],[2,0],[7,-2],[1,0],[0,38],[0,26],[0,26],[0,26],[0,25],[0,26],[0,26],[0,25]],[[6023,6450],[0,-13],[2,-10],[4,-15],[4,-8],[1,-5],[-1,-2],[-2,2],[0,-22],[2,-10],[-1,-9],[0,-16],[2,-19],[0,-12],[3,-28],[3,-16],[1,-4],[2,-2],[4,-1],[10,-16],[1,-5],[2,-5],[2,3],[2,-4],[6,-9],[1,-4]],[[5943,5426],[-7,-13],[-5,-10],[0,-2],[-2,-1],[-4,0],[-5,1],[-5,6],[-4,-5],[-3,-1],[-1,-1],[-4,-1],[-6,-2],[-4,-6],[-1,-4],[-3,1],[-3,3],[-1,6],[-3,5],[-5,-6],[-2,-1],[-2,0],[-3,4],[-4,2],[-2,0],[-3,-3],[-3,-5],[-2,-6],[0,-3]],[[4535,5895],[-1,2],[-1,5],[0,3],[6,4],[3,-1],[0,2],[-3,3],[-1,3],[-1,-2],[-1,-4],[-2,-2],[-1,3],[0,2],[1,2],[-1,10],[1,6],[-1,5]],[[4539,5966],[-1,6],[-1,4],[-3,4],[-1,4],[1,3],[3,3],[0,2],[-1,0],[-2,-2],[-1,0],[-1,5],[-2,7],[-2,11],[-3,4],[-3,10],[-2,3],[-3,2],[-2,-1],[-1,-4],[-2,6],[3,2],[8,8],[8,21],[8,26],[1,6]],[[7887,5260],[-4,-4],[-5,4],[1,5],[4,2],[4,-4],[0,-3]],[[4270,1818],[0,-4],[-5,3],[-1,2],[2,2],[2,0],[2,-3]],[[3968,2069],[3,-3],[2,2],[7,-1],[2,-5],[-1,-4],[3,1],[3,-4],[3,4],[3,-7],[3,-5],[1,-6],[1,-1],[4,1],[-1,-5],[1,-4],[3,-3],[-4,-4],[-4,-2],[-5,5],[-5,12],[-2,4],[-3,0],[-3,2],[-5,7],[-3,0],[-4,4],[-9,7],[-4,-1],[-2,2],[0,4],[4,4],[5,1],[0,-2],[4,-3],[3,0]],[[4841,4262],[-3,-1],[2,6],[2,0],[0,-4],[-1,-1]],[[4600,4724],[-1,0],[0,5],[2,-1],[1,-2],[-2,-2]],[[9635,4511],[-2,-1],[-1,1],[-2,5],[2,1],[1,-1],[2,-5]],[[9459,4504],[-2,-2],[-3,2],[-1,5],[-2,2],[-4,2],[-1,2],[-3,1],[-1,3],[1,2],[0,2],[2,-2],[10,-11],[3,-4],[1,-2]],[[9613,4564],[-3,-1],[-1,-1],[-2,-4],[-2,1],[-1,3],[1,1],[1,4],[1,1],[3,1],[3,-1],[1,-1],[-1,-3]],[[9491,4585],[3,-3],[2,0],[3,-2],[2,1],[2,-3],[4,-12],[0,-3],[2,-3],[-2,-1],[-3,2],[-2,-1],[-2,2],[-4,1],[-3,3],[-7,9],[0,4],[-1,2],[-1,5],[-2,2],[-3,1],[0,7],[5,-2],[5,-7],[2,-2]],[[9486,4629],[0,-8],[-2,4],[-1,-2],[-1,3],[0,18],[4,-15]],[[9436,4649],[6,-9],[3,1],[8,0],[7,-10],[2,-6],[2,-1],[1,-3],[1,-6],[-3,-3],[-2,-1],[-5,2],[-4,5],[-9,0],[-4,1],[-1,2],[-2,2],[-2,5],[-2,6],[0,11],[2,4],[2,0]],[[9448,4665],[2,-1],[2,-3],[2,-4],[-1,-3],[-2,2],[-1,0],[0,2],[-2,2],[-2,0],[0,3],[2,2]],[[9420,4658],[-3,1],[-1,2],[1,2],[2,2],[3,-2],[0,-3],[-2,-2]],[[9378,4679],[0,-2],[-2,0],[-4,3],[0,2],[4,0],[2,-3]],[[9393,4675],[-1,0],[0,2],[1,6],[1,-5],[-1,-3]],[[9390,4683],[-2,-4],[-2,1],[-2,4],[1,6],[2,1],[0,2],[3,-1],[1,-2],[-1,-3],[0,-4]],[[9370,4681],[-1,1],[-3,8],[0,3],[3,5],[1,0],[1,-3],[-1,-4],[-1,-2],[0,-4],[1,-4]],[[9434,4693],[-1,-1],[-3,5],[1,3],[1,1],[1,-2],[0,-2],[1,-4]],[[9464,4704],[7,-17],[-1,-3],[0,-2],[-1,-6],[1,-2],[2,-1],[3,-6],[1,-7],[2,-6],[0,-7],[3,-10],[0,-7],[-1,1],[-4,11],[-4,5],[-5,9],[-3,11],[-3,20],[2,4],[-4,10],[1,3],[2,-1],[2,1]],[[9381,4709],[2,-5],[2,-11],[-1,-3],[-1,0],[-1,-3],[-2,5],[-2,2],[-2,3],[-1,6],[0,4],[-1,1],[-5,-1],[-1,-4],[-2,1],[0,6],[3,3],[0,4],[3,6],[1,1],[3,-2],[1,-9],[1,-3],[3,-1]],[[9349,4713],[-1,-2],[-1,7],[0,6],[1,1],[1,-8],[0,-4]],[[9364,4716],[0,-1],[-3,1],[-2,6],[0,4],[1,4],[3,1],[2,-5],[0,-8],[-1,-2]],[[9351,4727],[-2,3],[0,4],[-3,5],[0,4],[1,4],[3,-2],[2,-5],[2,-2],[0,-3],[-3,-8]],[[9440,4692],[0,-2],[-4,5],[-3,6],[-8,7],[-2,3],[-1,0],[-4,6],[-4,3],[-3,5],[0,2],[-2,1],[-2,5],[-3,3],[-1,7],[-3,6],[8,-4],[3,-7],[3,-3],[2,-3],[2,-4],[3,0],[2,-4],[2,-1],[2,-2],[12,-17],[-2,-5],[2,-3],[1,-4]],[[9327,4775],[-2,-2],[-2,2],[2,7],[3,-4],[-1,-3]],[[9373,4761],[1,-2],[-2,-3],[-3,1],[-1,3],[-2,0],[-4,1],[-5,9],[-6,15],[-5,9],[-2,7],[1,2],[4,-2],[4,-7],[8,-8],[2,-3],[1,-9],[1,-3],[4,-7],[2,-2],[2,-1]],[[4651,5612],[-2,2],[-10,5],[3,3],[7,1],[2,-2],[1,-4],[-1,-5]],[[4679,5581],[-6,11],[-5,5],[-16,12],[0,3],[2,6],[-2,7],[0,5],[-2,-3],[-4,1],[-2,4],[-2,2],[-1,2],[-1,11],[-1,5],[-2,4],[-3,0],[-2,7],[-2,6],[1,3],[1,0],[2,-2],[2,-1],[2,5],[3,6],[0,2],[-2,-2],[-4,0],[0,-2],[-2,-1],[-1,7],[0,9],[4,0],[0,2],[-2,1],[-4,5],[0,4]],[[2560,5955],[-1,-1],[1,-6],[-2,-3],[-1,-3],[-7,0],[-7,2],[-2,-1],[-10,5],[-12,12],[-7,1],[-7,3],[-5,7],[-3,3]],[[6200,5846],[6,-9],[5,-18],[6,-15],[8,-13],[4,-5],[3,-2],[15,0],[11,13],[10,9],[4,1],[5,-2],[7,-1],[5,-2],[3,0],[12,11],[7,10],[5,4],[2,0],[6,-4],[9,2],[11,9],[4,1],[3,0],[6,-3],[1,0]],[[6358,5832],[0,-32],[0,-42],[0,-30],[-4,-13],[-5,-15],[-5,-17],[-12,-39]],[[6358,5832],[4,0],[9,5],[7,6],[13,4],[10,12],[1,5],[3,7],[5,3],[11,-9],[2,0],[-1,-5],[0,-5],[-3,-9],[-1,-10],[1,-15],[0,-27],[-1,-4],[0,-3],[3,0],[0,4],[3,-3],[2,-1],[0,-5],[-3,0],[-2,2],[-7,-5],[-1,-5],[-1,-19],[-1,-12],[0,-17],[-4,-10],[-2,-8],[-5,-15],[-3,-13],[-1,-7],[-5,-17],[-7,-14],[-3,-18],[-2,-10],[-3,-10],[-6,-18],[-3,-12],[-4,-22],[-2,-13],[-11,-39],[-11,-31],[-7,-27],[-13,-30],[-18,-39],[-23,-47],[-6,-10],[-25,-28],[-17,-25],[-8,-16],[-9,-14],[-7,-14],[-21,-46],[-4,-8],[-4,-11],[-5,-13],[-3,-7],[-4,-7],[-1,-5],[-3,-8],[-3,-13],[-5,-15]],[[3436,7881],[-2,-2],[-1,1],[1,6],[-1,10],[3,-1],[0,-3],[-1,-4],[2,-6],[-1,-1]],[[5184,5190],[-3,-4],[-1,1],[-1,3],[0,9],[1,4],[3,3],[2,1],[1,-5],[0,-5],[-2,-7]],[[5205,5274],[-1,-2],[-1,1],[0,3],[1,4],[1,1],[1,-1],[0,-3],[-1,-3]],[[3410,5503],[1,-1],[1,6],[0,6],[2,11],[3,3],[14,-3],[6,-3],[8,-5],[1,-5],[1,5],[-1,6],[2,4],[5,1],[8,-2],[6,3],[9,-1],[13,-4],[6,-3],[3,-3],[0,-12],[-1,-6],[-2,-8]],[[5625,8010],[0,-3],[-2,-2],[-5,-17],[-4,-7],[0,-10]],[[5376,7805],[2,1],[2,3]],[[5458,8426],[-1,-3],[-2,0],[0,4],[-1,10],[1,5],[6,17],[3,2],[4,15],[3,9],[2,-2],[0,-5],[-5,-12],[-1,-9],[-2,-2],[-7,-29]],[[5529,8515],[-2,-2],[-2,-4],[-3,-2],[-1,-13],[3,-5],[-2,0],[-4,-9],[-4,-2],[-2,-2],[-4,-11],[-2,-3],[-3,0],[4,9],[-2,3],[-1,5],[-2,3],[1,4],[0,12],[2,4],[2,2],[3,6],[4,4],[5,2],[2,-2],[1,4],[2,1],[5,-4]],[[5531,8520],[0,-4],[-2,0],[-1,3],[2,4],[5,0],[1,-1],[-5,-2]],[[5511,8583],[-2,0],[0,3],[3,2],[-1,-5]],[[5515,8609],[-1,1],[2,3],[2,-1],[-3,-3]],[[5670,8974],[-7,-2],[-6,3],[-3,-1],[-5,0],[-8,-4],[-5,2],[-5,5],[-6,-4],[-2,3],[-3,0],[-2,-6],[-1,-8],[-5,0],[2,-3],[-6,-1],[-1,-2],[2,-2],[-1,-2],[-7,-2],[-3,1],[-1,-5],[-2,0],[-1,-3],[2,-2],[2,-7],[-4,-6],[-4,-4],[-4,-8],[4,-5],[1,-5],[2,-5],[4,-5],[-2,-5],[-6,-4],[-6,-7],[-7,-18],[-9,-5],[-2,-3],[-5,-4],[-8,-3],[-4,-4],[-1,-4],[-2,-1],[-4,3],[-1,-2],[-3,0],[-2,-2],[-2,-5],[-5,-6],[-6,1],[0,-4],[-6,-1],[-2,-6],[-6,-4],[4,-2],[0,-4],[-6,-3],[-2,-3],[-3,0],[1,3],[-6,-1],[2,-6],[-2,-4],[4,-3],[-3,-1],[-3,-5],[-3,0],[-2,-3],[-2,0],[-4,4],[-1,-5],[1,-5],[3,-4],[1,-3],[-2,-3],[-1,-8],[-2,-9],[0,-5],[2,-6],[-4,1],[-3,2],[0,-4],[-2,-5],[0,-4],[1,-3],[-1,-4],[2,-4],[-1,-2],[0,-8],[1,-11],[2,-8],[-1,-6],[3,-4],[6,0],[3,-6],[2,0],[3,3],[3,0],[1,-4],[4,-6],[3,-3],[4,-1],[4,-5],[0,-6],[2,-2],[5,-2],[2,-3],[2,-5],[1,-7],[0,-4],[-2,-1],[-5,-5],[-4,-5],[-8,-7],[-4,-1],[-5,-4],[0,-1],[5,-1],[3,3],[4,0],[3,2],[2,-1],[1,-4],[-3,-2],[-3,0],[-1,-6],[-2,-4],[-5,-3],[-8,-6],[-2,1],[-2,-3],[-6,-4],[-3,-4],[-7,-4],[-3,-3],[-19,0],[2,-3],[8,0],[3,-1],[4,-6],[-3,-2],[-4,-1],[1,-8],[2,-5],[-2,-3],[0,-14],[-3,0],[-1,-6],[1,-3],[0,-11],[2,-4],[-1,-4],[-4,-9],[0,-7],[1,-5],[-2,-8],[-1,-7],[-2,-5],[-4,-7],[-1,-5],[-5,-16],[-2,-4],[-2,-2],[-6,3],[-3,0],[-5,-2],[-8,2],[-7,-1],[-2,-1],[1,-6],[-3,-1],[-3,2],[-8,-10],[-2,-9],[3,-5],[1,-6],[-4,-8],[-3,0],[-8,2],[-13,-5],[-12,4],[2,11],[0,8],[-1,4],[-3,4],[-6,15],[-3,9],[6,-4],[3,2],[-2,5],[-2,2],[0,3],[5,1],[2,4],[-1,5],[-5,3],[-4,9],[-4,5],[-7,18],[-3,13],[-3,-1],[-2,11],[0,4],[-4,2],[-1,14],[-4,2],[-3,7],[0,13],[-3,2],[-3,-1],[1,6],[-2,23],[-1,3],[0,7],[1,2],[3,1],[2,-3]],[[5891,3637],[-3,2],[-1,-9],[-1,-12],[1,-7],[-6,-1],[-8,1],[-5,3],[-6,8],[-4,11],[-1,7],[-3,2],[0,18],[1,2],[4,11],[2,7],[1,7],[4,8],[3,5],[2,1],[7,-8],[6,-6],[2,1]],[[3249,6224],[0,-3],[-2,1],[-1,2]],[[6542,4913],[0,-5],[-2,1],[0,4],[-2,2],[-1,3],[2,3],[3,-8]],[[5998,7178],[-2,13],[0,12],[1,9],[0,7],[-1,4],[-4,9],[2,16],[2,4]],[[5996,7252],[2,0],[4,-5],[1,0],[3,8],[3,2],[0,10],[3,3],[5,0],[0,2],[-3,11],[0,3],[1,11],[1,5],[1,1],[8,-2],[1,-4],[3,-3],[3,1],[4,-1],[3,0],[2,2],[11,7],[8,6],[5,-2],[2,0],[7,-9],[2,-1],[4,0],[5,-1],[7,0],[4,1],[5,2],[9,5],[13,11],[7,5],[3,1],[4,0],[4,-2],[4,-1],[2,1],[5,1],[10,3],[5,3],[4,6],[3,-4],[2,-7]],[[2990,6442],[4,-4],[0,-1],[-3,-1],[-1,1],[0,5]],[[3003,6441],[2,1],[3,-1],[1,-4],[-1,-1],[-1,2],[-3,0],[-1,3]],[[3003,6441],[-3,2],[-1,5],[2,0],[1,-5],[1,-2]],[[5044,5541],[-9,-4],[-3,-3]],[[7767,5559],[-1,4],[1,7],[1,-8],[-1,-3]],[[7751,5621],[1,-7],[-1,1],[-1,3],[1,3]],[[7737,5640],[-1,10],[2,-3],[-1,-7]],[[7732,5638],[0,-4],[-1,0],[-2,-3],[-1,9],[1,12],[1,2],[1,-4],[2,-1],[-1,-7],[0,-4]],[[7729,5705],[-1,2],[1,2],[1,-3],[-1,-1]],[[7778,5735],[1,-3],[-1,-4],[-3,-2],[0,9],[3,0]],[[7779,5742],[-1,-1],[-2,4],[0,2],[2,0],[1,-2],[0,-3]],[[7849,5856],[-1,-6],[-1,2],[0,3],[1,2],[1,-1]],[[7844,5874],[-1,-1],[-3,0],[0,10],[1,0],[2,-4],[0,-3],[1,-2]],[[7858,5858],[-1,-1],[0,4],[-3,7],[-1,7],[-4,11],[-2,-5],[-3,4],[-5,10],[-1,-1],[-2,6],[-3,5],[-9,9],[-7,-4],[-10,3],[-4,-3],[-2,2],[-1,4],[1,6],[1,12],[1,9],[-1,7],[1,3],[0,4],[-1,2],[-7,3],[-2,3],[-2,-3],[-8,-2],[-3,-3],[-3,-5],[-1,-6],[2,-4],[1,-7],[-4,-21],[2,-19],[-1,-11],[-1,-7],[-3,-6],[-1,-11],[-2,-5],[-3,-11],[-2,-15],[-1,-6],[-1,-12],[-5,-19],[-2,-10],[-2,-4],[1,-3],[0,-6],[-1,-14],[0,-11],[1,-6],[3,-12],[-1,-4],[0,-5],[2,-2],[2,-1],[9,6],[3,-2],[2,-10],[1,-25],[1,-5],[2,-4],[2,-5],[1,1],[2,-1],[1,-9],[5,-48],[1,-6],[-1,-3],[-1,10],[-1,5],[-3,0],[0,2],[2,4],[-2,7],[-3,-3],[0,-7],[1,-6],[5,-12],[1,-6],[2,-1],[3,1],[3,-6],[3,-5],[6,-8],[4,1],[4,2],[2,0],[3,-2],[3,-7],[5,-16],[9,-13]],[[7780,5554],[-7,18],[-5,7],[1,14],[-2,2],[-2,0],[-1,4],[1,8],[-2,-2],[-2,1],[-2,2],[-2,11],[-3,9],[-3,0],[-1,3],[0,7],[-2,4],[-3,3],[-2,3],[-3,11],[-1,3],[-2,2],[-2,-2],[-2,-8],[-2,1],[-2,2],[-1,11],[-1,7],[1,13],[2,12],[1,18],[2,12],[2,4],[2,16],[3,20]],[[6961,7541],[-2,3],[1,1],[1,-4]],[[6881,7324],[1,5],[1,13],[1,5],[4,9],[2,7],[3,5],[3,6],[2,8],[-1,4],[-5,8],[-2,5],[-1,7],[0,5],[3,12],[-1,4],[-2,2],[-10,0],[-1,7],[-1,2],[-6,3],[-1,3],[2,12],[1,1],[2,5],[5,3],[5,-1],[5,-2],[9,-2],[3,2],[2,4],[1,6],[0,6],[3,0],[1,1],[0,3],[2,-1],[1,1],[-2,6],[0,2],[4,1],[1,3],[-2,1],[-8,0],[1,3],[8,2],[8,-2],[1,1],[-1,5],[2,0],[0,2],[-3,14],[2,1],[1,3],[0,5],[3,4],[6,-7],[2,-1],[8,7],[4,2],[5,6],[2,6],[2,0],[3,-6],[3,-4],[-1,-4],[3,-2],[-1,-5],[-5,-5],[-4,-7],[0,-5],[4,-2],[2,-6],[1,-1],[7,2],[2,0]],[[6474,7418],[-2,6],[0,9],[1,-1],[1,-14]],[[6496,7334],[0,4],[-2,30],[0,7],[1,13],[0,7],[-1,7],[1,6],[0,7],[1,7],[-2,9],[-3,5],[0,6],[-3,0],[-4,5],[-4,2],[-2,0],[-3,-4],[0,10],[3,10],[2,-3],[5,-2],[3,1],[-2,6],[-2,1],[0,10],[1,4],[-1,2],[-2,1],[-3,0],[-8,2],[-1,-6],[-2,1],[-2,8],[-2,10],[0,10],[1,9],[2,8],[1,10],[2,10],[1,-4],[2,-5],[3,-4],[4,-2],[3,1],[3,2],[2,-1],[4,-8],[3,-1],[6,3],[3,1],[3,-2],[2,0],[-1,4],[0,4],[1,2],[5,-2],[5,4],[0,7],[-1,3],[0,3],[-14,18],[-3,5],[-3,20],[-3,13],[-3,2],[-4,0],[-9,-3],[-3,1],[-6,-7],[-2,-5],[-2,-10],[2,-4],[0,-2],[-2,-15],[-2,1],[-4,9],[-3,15]],[[6554,7563],[7,0],[22,-3],[2,4],[-2,7],[-2,23],[2,4],[2,2],[4,7],[1,3],[3,1],[8,1],[4,1],[3,9],[0,5],[3,4],[7,-4],[3,-8],[2,0],[0,3],[-1,4],[-6,10],[-2,1],[0,2],[3,3],[3,-1],[3,0],[2,1],[1,5],[8,-12],[5,-2],[2,0],[2,-3],[2,-7],[5,-3],[9,0],[3,-1],[4,-6],[-1,-3],[0,-6],[-1,-4],[4,-3],[3,-4],[0,-2],[-3,-2],[0,-4],[1,-3],[0,-3],[-2,-7],[0,-3],[11,-11],[2,-1],[6,2],[4,0],[1,-1],[6,-1],[1,-1],[4,0],[4,5],[5,-2],[7,-9],[2,-3],[2,-8],[2,-12],[2,-9],[3,-4],[2,-8],[2,-17],[1,-3],[2,-2],[3,-5],[7,-8],[4,-5],[13,-15],[6,-11],[6,-7],[6,-6],[4,1],[6,-9],[3,-3],[1,-2],[4,-3],[8,-8],[8,-11],[6,-6],[4,-1],[3,3],[7,-4],[2,-2],[4,-6],[7,-3],[2,-3],[0,-2],[-3,-8],[-1,-11],[0,-8],[1,-6]],[[8444,4645],[5,5],[6,4]],[[8469,4668],[3,5],[2,9],[2,3],[5,4],[12,5],[10,0],[10,1],[3,1],[3,2],[6,6],[3,-2],[4,-1],[2,-1],[1,-2],[-5,-9],[-6,-8],[-3,-2],[-4,-2],[-3,-2],[-2,-5],[-3,-3],[-6,-2],[-2,-3],[-5,-5],[-2,0],[-3,-1],[-9,-7],[-5,-7],[-4,-7]],[[8489,4714],[-2,-9],[-2,2],[3,7],[1,0]],[[141,3956],[0,-8],[-2,4],[0,2],[2,2]],[[134,3964],[1,2],[1,-2],[-2,-5],[-1,2],[-4,4],[1,2],[2,0],[2,-3]],[[167,4110],[-1,-4],[-2,4],[2,4],[2,-1],[0,-2],[-1,-1]],[[3304,5767],[-4,-3],[-12,-1],[-5,1],[3,6],[1,3],[3,1],[1,1],[1,15],[-1,4],[0,2],[-1,2],[-3,2],[1,2],[4,1],[2,2],[6,1],[7,2],[-3,-10],[0,-16],[2,-4],[-1,-4],[0,-5],[-1,-2]],[[3311,5827],[-1,0],[0,2],[3,4],[4,3],[1,0],[-1,-4],[-6,-5]],[[5303,7126],[-2,-2],[-3,1],[-1,2],[0,8],[5,0],[4,-6],[-3,-3]],[[5312,7185],[-4,-4],[1,4],[3,4],[0,-4]],[[5237,7311],[7,3],[7,9],[2,3],[15,8],[4,-2],[0,-3],[-1,-2],[1,-5],[2,3],[-1,4],[6,0],[3,-3],[0,-10],[4,-9],[-1,-5],[3,-3],[3,3],[2,5],[5,3],[5,8],[3,1],[2,-12],[-2,-2],[-2,-5],[-5,-15],[-4,-4],[-4,-6],[-1,-3],[0,-5],[1,-8],[2,-9],[3,-5],[3,-1],[6,-8],[0,-11],[1,-6],[2,-6],[-5,-12],[-2,-8],[-5,-12],[-4,-8],[-10,-11],[-2,-4],[-2,-8],[0,-5],[3,-12],[4,-7],[4,-4],[8,2],[-1,-5],[1,-5],[3,0],[2,1],[1,5],[4,-4],[2,-11],[3,-3],[-2,-4],[4,-2],[2,1],[3,-2]],[[5720,7495],[-6,-2],[-2,2],[2,4],[5,2],[2,-4],[-1,-2]],[[5996,7252],[2,5],[-4,18],[2,5],[4,7],[4,8],[0,8],[-1,3],[-3,3],[-4,-3],[-3,-4],[-4,-3],[0,-5],[-3,-3],[-4,-1],[-6,3],[-10,10],[-3,1],[-3,-2],[-8,-10],[-8,-16],[-9,-9],[-5,-2],[-2,1],[-14,-4],[-4,-3],[-7,4],[-5,4],[-2,5],[-5,11],[-3,5],[-6,4],[-12,11],[-11,3],[-9,1],[-2,-4],[0,-16],[-2,-4],[0,-8],[-1,-3],[-2,-1],[-3,2],[-1,2],[-4,-4],[-11,-5],[-10,6],[-6,8],[0,7],[-2,4],[0,6],[-2,1],[-2,-2],[-3,0],[-2,1],[-7,6],[-5,1],[-3,-8],[-2,-2],[-3,-1],[0,2],[2,5],[-8,-1],[-4,-3],[-3,0],[-2,2],[0,2],[4,2],[9,1],[2,2],[2,5],[4,4],[0,2],[-3,0],[-13,-1],[-8,1],[-1,-3],[-2,0],[0,6],[1,3],[2,-1],[5,3],[-1,5],[-3,3],[-1,2],[-4,3],[0,6],[-2,6],[-2,3],[0,2],[4,2],[1,9],[-1,6],[-2,0],[-6,5],[-1,-1],[-2,5],[-4,3],[-4,-2],[-3,3],[-3,2],[-1,2],[2,5],[2,0],[0,4],[-2,7],[1,4],[1,1],[2,-1],[2,-4],[1,-4],[0,-4],[1,-4],[2,4],[2,-2],[2,0],[7,2],[1,2],[-5,0],[-2,2],[-2,4],[-2,9],[4,4],[3,6],[-2,3],[-2,-1],[-1,2],[0,3],[1,3],[0,3],[-4,9],[-1,1],[1,3],[3,5],[2,5],[0,2],[-2,1],[-9,-2],[-4,-2],[-7,-1],[0,5],[1,5],[0,13],[1,7],[4,2],[4,10],[8,11],[7,0],[3,3],[5,0],[1,-4],[4,-3],[7,0],[2,1],[1,2],[-3,6],[1,2],[3,0],[4,-3],[-2,-5],[10,1],[9,-1],[3,1],[8,0],[1,2],[-2,2],[-4,2],[-1,2],[4,6],[3,1],[22,5],[-1,1],[-12,3],[-3,2],[-4,5],[-2,4],[0,6],[1,4],[2,3],[4,0],[17,-4],[12,2],[13,-6],[12,1],[3,3],[3,9],[17,16],[6,8],[7,4],[11,5],[9,7],[3,0],[23,-3],[15,0],[7,6],[4,-2],[-1,-4],[1,-4],[4,-9],[8,-6],[10,5],[3,-2],[4,-15],[3,-5],[3,-3],[3,-1],[2,4],[6,2],[5,-5],[3,-6],[10,-4],[9,-2],[4,-4],[13,-5],[5,1],[8,5],[16,5],[11,-7],[3,-1],[2,1],[4,-2],[3,1],[12,8],[4,5],[4,1],[12,12],[3,6]],[[5777,7601],[-1,-7],[2,-7],[4,-10],[4,-5],[17,-13],[3,-1],[-2,-10],[-1,-3],[-5,-2],[-13,6],[-4,0],[-2,-1],[-4,-4],[-5,2],[-7,-3],[-2,-7],[-5,-9],[-8,-7],[-5,-4],[-9,-14],[-4,-8],[-3,-2],[0,3],[1,4],[0,6],[3,5],[3,3],[7,6],[2,4],[-6,0],[-6,-1],[-4,1],[-3,-1],[-1,5],[-1,2]],[[8288,6596],[1,-4],[-1,-2],[-3,1],[3,5]],[[8360,6486],[-2,-7],[-2,-13],[0,-14],[-1,-6],[-2,2],[-2,4],[0,8],[-3,11],[-3,5],[-2,2],[-2,4],[-1,5],[-2,5],[-2,15],[-2,6],[0,7],[2,11],[-1,7],[1,8],[0,3],[13,44],[4,10],[2,4],[6,18],[1,2],[8,5],[2,6],[4,1],[2,-2],[2,-5],[5,-5],[1,-5],[-2,-5],[-2,-8],[1,-6],[0,-7],[-3,-14],[-3,-13],[-1,-11],[-2,-11],[-1,-15],[-3,-20],[-2,-6],[-4,-11],[-4,-9]],[[6102,4724],[-2,-1],[-1,3],[2,2],[1,4],[4,6],[1,0],[-2,-10],[-2,0],[-1,-4]],[[6096,4828],[2,-13],[0,-2],[-2,-1],[-1,2],[-1,4],[-1,-1],[-2,5],[-2,0],[-2,6],[1,5],[0,9],[2,4],[1,8],[1,-5],[0,-8],[2,-10],[2,-3]],[[6106,4901],[0,-20],[-2,-8],[-1,-3],[-2,2],[-1,2],[2,15],[-1,11],[3,-2],[2,3]],[[6088,4913],[0,-5],[-2,-12],[0,-4],[-1,-6],[-1,-4],[-2,-17],[-2,-6],[-3,-14],[0,-11],[2,-15],[3,-8],[2,-2],[2,-3],[3,-8],[1,-7],[5,-4],[2,-8],[0,-6],[-3,-5],[-2,-8],[-2,-10],[0,-15],[1,2],[3,-4],[0,-11],[-3,-20],[0,-5],[2,-16],[3,-8],[0,-3],[-1,-2],[5,-14],[0,-13],[2,-9],[0,-9],[2,-6],[0,-5],[-2,-5],[4,-1],[4,-8],[2,0],[2,-2],[2,-3],[5,-6],[2,-5],[0,-1]],[[5913,4641],[-1,2],[-3,3],[-4,3],[-4,4],[-1,3],[-6,2],[-3,3],[-2,0],[-3,1],[0,6],[-3,3],[-2,-1],[-2,0],[-4,6],[0,5],[-2,4],[-3,3],[-8,-1],[-3,4],[-2,4],[-2,5],[-1,7],[-1,4]],[[5846,5122],[3,0],[2,1],[2,2],[2,1],[18,0],[10,0],[15,0],[10,0],[15,0],[18,0]],[[5888,7845],[0,-3],[-9,3],[-3,3],[0,2],[12,-5]],[[6060,7896],[-1,-1],[-9,1],[-8,-1],[-6,-9],[-3,0],[-5,-3],[-3,-3],[-4,-6],[-3,3],[-4,0],[-3,-2],[-4,-4],[-3,-1],[-4,1],[-6,-2],[-12,-14],[-4,-10],[-3,-5],[-3,-1],[7,10],[0,5],[-1,4],[-5,-10],[-3,-1],[-3,-3],[0,-12],[5,-16],[6,-15],[6,-8],[3,0],[5,5],[7,-1],[2,3],[6,2],[8,-4],[-4,-9],[0,-5],[-1,-5],[-5,-2],[-5,0],[-5,-1],[-5,5],[-3,1],[-3,-1],[-3,-7],[-6,-5],[-1,-5],[-6,1],[-5,-1],[-7,-5],[-5,-10],[-6,-7],[-4,-2],[-4,1],[-3,2],[-6,7],[1,3],[4,17],[-1,4],[-1,7],[-5,5],[-3,-1],[-2,1],[-8,9],[-4,1],[-4,-2],[-2,1],[-1,3],[9,11],[9,9],[3,1],[6,4],[5,7],[-2,8],[-4,-2],[-5,4],[-2,3],[-7,-3],[-4,0],[-9,-2],[-4,2],[-8,8],[-3,1],[-3,0],[-1,3],[6,2],[0,4],[-8,2],[-3,2],[-2,3],[5,0],[4,-2],[7,-1],[7,-2],[1,3],[-1,2],[-7,2],[-4,7],[-1,4],[1,4],[-2,4],[0,-12],[-1,-4],[-2,-1],[-7,2],[-1,4],[-3,-6],[-2,-1],[-5,1],[-10,-4],[0,-5],[-3,-10],[-5,-11],[0,-1],[-8,-13],[-6,-4],[-5,-4],[-3,2],[-3,-4],[0,-5],[2,-4],[2,-11],[-1,-5]],[[3517,3240],[-2,-2],[-3,-14],[-6,-13],[-1,-8],[-6,-8],[-5,-9],[-2,1],[-3,-4],[-15,-12],[-5,2],[-4,0],[-4,5],[-8,2],[-6,-2],[-7,-5],[-3,0],[-4,2],[-2,5],[-11,6],[-9,13],[-10,0],[-8,-2],[-4,10],[-7,12],[-5,11],[-1,11],[1,12],[1,15],[0,4],[2,3],[2,0],[2,4],[2,10],[-2,8],[0,11],[-2,5]],[[678,6278],[-2,-2],[-1,0],[-6,6],[0,18],[-2,12],[-2,9],[1,5],[3,3],[2,7],[-2,9],[1,5],[1,1],[6,-6],[11,-10],[3,-7],[1,-7],[2,-1],[1,-5],[4,-7],[-1,-4],[-6,-8],[-7,-3],[-6,-9],[-1,-6]],[[643,6380],[-2,-2],[-2,1],[0,4],[-2,5],[3,1],[3,-3],[1,-3],[-1,-3]],[[653,6389],[0,-1],[5,2],[4,-4],[1,-2],[3,-3],[0,-5],[-3,-4],[-6,-2],[-3,1],[0,5],[-1,5],[-2,0],[-2,2],[-2,4],[0,3],[1,4],[2,1],[1,-3],[2,-3]],[[632,6405],[6,-1],[3,-1],[5,-1],[-1,-3],[-3,-3],[-4,2],[-8,1],[1,3],[0,4],[1,-1]],[[616,6419],[2,0],[2,-7],[-1,-3],[-3,-1],[-3,4],[-2,-1],[-4,0],[0,4],[-3,6],[0,3],[-1,3],[4,0],[3,6],[2,0],[3,-8],[0,-5],[1,-1]],[[550,6441],[-2,-2],[1,6],[3,6],[2,0],[-1,-3],[0,-3],[-3,-4]],[[572,6447],[-2,-4],[-1,2],[-3,0],[-1,3],[-3,2],[-1,3],[2,6],[4,4],[6,0],[1,-4],[0,-6],[-2,-6]],[[2766,6631],[-5,-10],[0,2],[3,6],[0,3],[2,2],[1,3],[0,3],[2,3],[1,0],[-4,-12]],[[2300,6690],[-3,10],[-3,28],[1,-1],[4,-29],[1,-8]],[[2295,6756],[-1,1],[3,12],[1,1],[-3,-14]],[[2304,6790],[1,7],[3,6],[1,-2],[-5,-11]],[[2359,6862],[5,8],[1,3],[2,0],[-3,-5],[-5,-6]],[[2449,6882],[-1,0],[-4,5],[0,2],[3,2],[2,-3],[1,-3],[-1,-3]],[[2521,6916],[-3,-1],[1,3],[2,1],[0,-3]],[[1712,7074],[-4,1],[-1,5],[-2,5],[1,1],[1,-4],[4,-7],[1,-1]],[[1682,7097],[-2,-1],[-2,4],[2,0],[1,-3],[1,0]],[[1712,7106],[1,-4],[-2,1],[-2,-1],[0,3],[-1,3],[-2,1],[0,3],[5,-4],[1,-2]],[[1665,7137],[-2,-1],[-2,1],[-2,5],[5,1],[2,-2],[-1,-4]],[[1669,7146],[6,-3],[3,2],[1,-2],[-1,-1],[-7,-2],[-2,1],[0,5]],[[2901,7213],[-4,-2],[0,1],[4,3],[1,12],[1,5],[-1,10],[1,-1],[0,-16],[-1,-10],[-1,-2]],[[2938,7517],[-1,0],[1,6],[4,2],[0,-2],[-2,-5],[-2,-1]],[[2985,7544],[-2,-4],[2,0],[6,6],[4,2],[1,-2],[-6,-7],[-3,-1],[-3,-3],[-6,-3],[-12,-7],[-2,0],[-10,-3],[-5,1],[0,2],[-2,0],[-1,-3],[-3,-1],[0,3],[1,3],[3,6],[5,4],[1,-1],[2,4],[3,0],[3,2],[3,-2],[6,3],[6,0],[6,1],[2,2],[1,-2]],[[3055,7560],[-2,-1],[-5,2],[4,2],[2,3],[1,-6]],[[3041,7567],[-8,-3],[3,7],[2,0],[3,-4]],[[3017,7573],[-1,-1],[0,6],[1,0],[0,-5]],[[3020,7573],[-1,-1],[-1,2],[0,3],[1,4],[2,2],[-1,-10]],[[3093,7729],[-2,-1],[0,4],[1,0],[1,-3]],[[3105,7737],[-3,-1],[0,-4],[-3,3],[0,4],[3,5],[2,-1],[1,-6]],[[1600,7913],[-3,0],[-1,2],[2,1],[2,-3]],[[1597,7925],[-1,-1],[-2,2],[2,4],[1,-5]],[[1595,7957],[1,-4],[4,-6],[0,-3],[-2,0],[0,2],[-3,2],[-1,2],[0,5],[-1,2],[-2,1],[-1,3],[0,3],[3,6],[1,0],[2,-3],[-1,-2],[-4,-3],[0,-1],[3,-1],[1,-3]],[[1588,7973],[-1,-1],[-2,2],[0,5],[1,1],[2,-7]],[[1582,7977],[-2,-1],[-2,2],[0,5],[2,0],[2,-4],[0,-2]],[[1589,7987],[-1,-3],[-2,-2],[-3,2],[0,3],[2,2],[4,-2]],[[3135,7785],[-1,-2],[2,-8],[-1,-3],[0,-3],[3,-1],[0,-3],[-5,-8],[-5,1],[-3,-3],[-2,0],[-2,-4],[-3,-1],[-3,1],[-2,-7],[-2,0],[0,-2],[-2,-2],[-2,6],[-1,1],[-3,0],[-3,-4],[-2,4],[-2,-7],[0,-7],[-2,0],[-1,3],[-5,1],[0,3],[1,3],[-1,1],[1,3],[-1,2],[-1,-3],[-3,-3],[0,-5],[-3,-10],[0,-5],[-2,-3],[-3,-3],[-3,1],[-3,-3],[-1,-3],[-4,-1],[0,4],[-1,2],[-1,-2],[-1,-6],[-2,-4],[-2,2],[-3,-2],[0,2],[-2,1],[-3,-4],[-3,-5],[2,-3],[-4,-8],[-5,-8],[-3,-12],[-3,-4],[-2,-14],[1,-3],[0,-3],[1,-3],[3,0],[1,-3],[-2,0],[-2,-3],[-2,-1],[-1,-3],[-5,-10],[1,-1],[5,-2],[2,-2],[4,-11],[-1,-3],[3,-3],[0,-8],[3,-3],[4,-1],[4,2],[4,3],[0,3],[-3,6],[0,3],[-2,2],[-1,-2],[-1,4],[4,-1],[3,-7],[1,-9],[1,-5],[-1,-2],[-3,0],[-9,-3],[-3,-3],[-5,-2],[1,4],[-1,6],[-1,0],[-7,-10],[-3,0],[-3,-3],[-1,9],[2,6],[-1,0],[-3,-4],[-1,2],[0,3],[-2,2],[1,-6],[-2,-4],[0,-10],[-3,-4],[-6,-3],[-9,0],[-5,-2],[-3,1],[-3,-2],[-10,-1],[-2,1],[-3,-4],[-5,-2],[-11,-9],[-7,-11],[-2,-1],[-1,2],[-3,-7],[-4,-4],[-2,-7],[1,-4],[5,-2],[2,1],[0,-3],[1,-4],[-1,-4],[0,-5],[-2,-10],[-2,-3],[-1,-13],[-2,-6],[-5,-9],[0,-4],[-2,-3],[-1,1],[-2,-4],[-1,-4],[-4,-12],[-4,-4],[-1,1],[2,11],[-5,4],[-2,0],[-3,4],[-3,3],[-5,9],[0,6],[3,11],[2,2],[6,3],[-1,1],[-6,-3],[-2,-3],[-1,-4],[-2,-4],[0,-10],[1,-4],[3,-7],[1,-11],[2,-7],[4,-9],[2,-2],[1,-3],[-2,-6],[2,-3],[1,-4],[0,-4],[-3,-3],[0,-5],[-2,-3],[-2,-7],[-2,-3],[-7,-25],[1,-4],[-4,-3],[-3,-5],[-1,-7],[-2,-9],[-2,7],[3,20],[3,8],[2,4],[2,7],[-3,2],[-3,-1],[2,7],[-4,5],[2,5],[0,6],[-1,0],[-1,-3],[-3,-2],[-5,5],[-2,8],[1,6],[2,1],[2,-1],[2,1],[-4,5],[-1,3],[-2,1],[3,4],[0,4],[-2,1],[-2,-2],[0,6],[4,-1],[1,5],[-2,-1],[0,8],[2,7],[4,5],[1,3],[0,3],[-1,3],[-2,0],[0,-5],[-2,-4],[-2,-1],[-2,-4],[-1,3],[-2,-4],[0,-3],[-1,-1],[-4,2],[0,-1],[4,-7],[0,-3],[-2,-4],[0,-13],[-1,-2],[1,-12],[1,-4],[2,-3],[0,-3],[-1,0],[1,-6],[2,-7],[0,-3],[-4,5],[-3,3],[-5,2],[-3,4],[-1,-2],[-3,9],[-4,-3],[-2,1],[0,7],[5,10],[1,4],[-1,0],[-1,-4],[-5,-6],[-1,-4],[0,-8],[1,-3],[6,1],[4,-10],[7,-3],[3,-3],[2,-4],[3,-3],[3,-4],[0,-3],[-1,-3],[0,-4],[-1,-3],[-3,0],[-2,1],[-8,14],[-4,10],[-4,4],[-1,0],[8,-13],[3,-8],[3,-3],[2,-5],[7,-6],[-2,-2],[3,-2],[0,-8],[-4,2],[0,-5],[-2,-2],[-2,2],[-6,12],[0,-2],[4,-9],[3,-4],[3,-2],[3,-6],[0,-4],[-1,-2],[-2,-1],[-2,2],[-1,3],[-3,4],[0,4],[-2,0],[-9,6],[0,-3],[2,-3],[7,-3],[1,-7],[4,-5],[1,-3],[2,-1],[4,4],[3,-2],[4,-1],[2,-8],[5,-31],[-2,2],[-2,17],[-1,4],[-1,-3],[-1,-6],[1,-2],[3,-10],[-1,-5],[-4,3],[-3,3],[0,-8],[-2,1],[0,-2],[-5,1],[-2,-7],[-2,0],[-4,3],[-1,-7],[10,0],[4,2],[4,-1],[0,-16],[2,2],[1,10],[3,4],[1,-1],[2,-6],[0,-5],[-1,-6],[-5,-8],[-4,-8],[-2,-1],[-3,0],[-4,3],[-1,-1],[-1,2],[-1,5],[-2,1],[-1,-5],[-2,-1],[6,-9],[-2,-3],[-1,-4],[0,-5],[-5,-4],[-2,1],[-1,-2],[4,-2],[8,3],[3,-3],[-2,-6],[-2,-4],[-3,0],[-3,-1],[0,-3],[-11,0],[-5,-6],[-2,1],[0,5],[-1,2],[0,-10],[1,-2],[-4,-4],[-7,-10],[-3,-8],[0,-5],[-1,-7],[-1,3],[-1,0],[-1,-4],[-11,0],[-4,-3],[-8,-8],[-2,-4],[-6,-15],[-2,-9],[-1,4],[-1,0],[1,-7],[-1,-3],[-4,-6],[-2,0],[-3,-2],[0,-5],[-6,-7],[-3,1],[1,-5],[-1,-3],[-5,-5],[-2,1],[-2,-4],[-3,-2],[-6,2],[1,-3],[2,-3],[0,-4],[-1,-2],[-3,-2],[-1,6],[-3,-5],[2,-3],[0,-2],[-2,-4],[-3,-2],[0,-5],[-2,-5],[-3,-3],[-2,-1],[1,-2],[0,-3],[-2,-2],[-1,-5],[1,-3],[-3,-2],[0,-2],[2,-1],[-2,-5],[-1,-4],[-2,-1],[2,-5],[-2,-5],[-2,1],[-1,-4],[1,-2],[-2,-10],[0,-11],[2,-5],[2,-21],[1,-8],[2,-20],[4,-19],[6,-23],[9,-29],[1,-4],[-1,-3],[0,-15],[-1,0],[0,20],[-1,0],[0,-8],[-1,-2],[-1,7],[0,3],[1,5],[-2,1],[-1,3],[1,3],[-2,2],[0,-7],[1,-5],[1,-10],[2,-6],[1,-6],[12,-56],[3,-7],[1,-5],[1,-11],[0,-13],[-2,-26],[-1,-14],[-4,-15],[-1,-11],[-1,-6],[-3,-6],[-2,1],[-5,-5],[-4,1],[-4,-2],[-3,0],[-1,5],[0,5],[2,1],[3,-6],[1,2],[-1,3],[-4,3],[-3,13],[-3,8],[-1,6],[-6,4],[-4,5],[-2,9],[-2,17],[-2,2],[1,7],[-3,-3],[-1,1],[-1,8],[1,11],[1,4],[-5,-1],[1,-4],[-1,-2],[-3,2],[-1,4],[-3,7],[-5,20],[-2,6],[2,1],[3,9],[2,5],[1,4],[-1,3],[-1,-2],[-1,1],[-2,5],[-2,0],[1,-4],[1,-1],[-1,-8],[-2,0],[-1,-2],[-2,4],[-1,4],[3,23],[2,14],[0,16],[1,3],[-4,14],[-14,23],[-12,27],[-9,10],[-8,-2],[-2,-5],[1,-3],[-1,-1],[-4,-1],[-7,-7],[-3,0],[-4,-3],[-8,-2],[-1,1],[2,6],[-2,4],[-9,14],[2,0],[-1,4],[0,3],[-1,2],[-3,-6],[-2,3],[-9,6],[-7,4],[6,2],[3,-1],[0,2],[-4,3],[-3,-1],[-2,1],[-4,-4],[-3,-2],[-8,-1],[0,3],[1,4],[-1,4],[-2,-4],[-3,2],[-1,-5],[-2,-6],[-6,-3],[1,6],[-2,-2],[-3,-6],[-4,2],[-2,7],[-2,2],[0,7],[-1,3],[-2,3],[-1,-6],[-1,-9],[-1,-3],[-3,0],[-3,1],[-9,-1],[-4,3],[-2,0],[-4,-3],[-5,-2],[-3,1],[-3,-7],[-4,-3],[-10,6],[-5,6],[-3,0],[-3,-6],[-2,-8],[3,-4],[3,-2],[5,2],[3,3],[4,1],[1,2],[2,-3],[-4,-4],[-1,-2],[2,-5],[5,-1],[0,5],[2,4],[3,-1],[0,-4],[1,-3],[0,-6],[-5,-3],[-2,-6],[-2,1],[-1,-4],[1,-4],[3,-3],[2,-4],[7,-5],[2,0],[3,-7],[2,-1],[-1,-3],[-2,-3],[-1,-3],[-3,2],[-3,-5],[0,5],[-1,2],[-1,5],[-2,3],[-2,1],[-1,2],[-5,2],[0,3],[-2,4],[-8,5],[0,-4],[3,-3],[0,-5],[-1,-2],[0,-4],[-2,-6],[-2,-1],[-1,1],[-1,7],[-2,3],[-4,0],[-2,-2],[-3,-7],[-2,-1],[-7,4],[-8,5],[2,3],[2,-1],[0,2],[-3,9],[0,3],[-2,-3],[-5,3],[-4,11],[-4,0],[-2,5],[-4,-2],[-2,-3],[-1,-3],[2,-5],[-1,-1],[-5,-2],[-11,2],[-3,2],[-5,5],[-6,4],[-3,0],[-3,-1],[-8,0],[-4,-3],[-2,5],[2,3],[2,5],[-2,2],[-3,-9],[1,-8],[-6,-1],[-13,-10],[-5,-6],[0,2],[7,7],[-3,1],[-3,-2],[-1,1],[1,6],[0,6],[-3,0],[-2,-4],[-2,2],[-1,-1],[1,-10],[2,-9],[-6,-12],[-1,-5],[-3,-6],[-3,-4],[-8,-9],[-5,-6],[-5,-3],[0,2],[-3,0],[-4,2],[-3,0],[0,-2],[-2,-2],[-3,5],[0,2],[-2,0],[3,-13],[3,-2],[-4,-5],[-3,-1],[-3,4],[0,-5],[-1,-6],[-2,-4],[-1,2],[-3,-2],[-4,-1],[1,-4],[3,1],[-1,-6],[-3,-6],[-2,-1],[-4,1],[-1,-2],[4,-10],[-3,-14],[-1,-6],[-3,0],[-4,4],[0,-6],[5,-3],[1,-4],[0,-3],[-2,-3],[-1,-5],[1,-4],[1,-8],[1,-4],[1,-12],[1,-5],[5,-19],[2,0],[0,-6]],[[1746,7057],[0,7],[-2,2],[-1,-1],[-1,8],[0,8],[-2,9],[-4,11],[-9,14],[-4,5],[-4,6],[-5,2],[-1,-3],[-3,2],[1,6],[-4,10],[-2,1],[-7,-1],[-8,5],[-3,3],[-1,5],[-4,5],[-5,5],[-3,-1],[-4,0],[-5,4],[-4,0],[-6,-1],[-2,1],[-5,6],[1,5],[-1,5],[1,3],[-1,8],[0,10],[-6,5],[-1,4],[1,5],[-1,4],[-3,3],[-4,7],[-4,4],[-1,7],[-3,4],[-1,4],[-5,13],[-6,10],[-1,6],[0,8],[2,5],[1,4],[0,7],[-2,5],[-8,3],[-7,12],[0,10],[-2,10],[0,6],[-1,7],[4,1],[0,-8],[4,-5],[2,-4],[2,-1],[-2,9],[-2,6],[-2,3],[-1,6],[-1,1],[0,3],[4,4],[4,1],[10,-1],[1,2],[-2,1],[-3,-1],[-4,3],[-4,-3],[-1,0],[-4,4],[-4,-2],[0,-15],[-1,-1],[-2,3],[-2,1],[-3,3],[-4,6],[-1,3],[-1,7],[0,3],[-2,2],[-2,8],[-4,5],[-4,8],[-8,13],[0,12],[-3,15],[1,8],[0,6],[-1,9],[-8,19],[-6,9],[-1,7],[0,7],[2,12],[2,-1],[0,8],[2,8],[0,11],[2,13],[0,4],[-1,10],[-4,9],[1,6],[0,6],[-4,8],[-1,10],[-1,4],[1,12],[-1,5],[-3,8],[5,31],[2,1],[2,3],[-1,1],[0,6],[2,7],[1,2],[0,21],[1,16],[2,5],[-1,6],[1,7],[-1,7],[3,36],[0,5],[1,5],[-1,16],[0,19],[-1,2],[1,1],[1,-3],[7,0],[4,3],[2,-1],[2,-3],[2,1],[-3,3],[-1,2],[-5,0],[-1,2],[-6,-2],[-2,2],[-3,-1],[1,5],[2,4],[2,13],[-2,3],[-3,2],[-1,7],[7,5],[-4,2],[-1,2],[-4,-1],[0,4],[-1,7],[-3,12],[-2,14],[-2,8],[-4,6],[-2,5],[-1,10],[1,7],[-1,6],[2,0],[6,-5],[7,-3],[2,-2],[4,-2],[18,-3],[2,0],[3,2],[4,-5],[4,1],[2,-1],[3,-8],[0,-3],[-3,-8],[-1,0],[0,3],[-7,-14],[-2,-6],[0,-5],[1,-1],[2,1],[-1,2],[0,5],[2,5],[5,5],[1,3],[5,8],[0,5],[2,-1],[0,-8],[-3,-4],[0,-6],[2,-8],[0,-3],[-1,-8],[-2,1],[-1,2],[-1,-1],[-3,2],[-3,-5],[-1,-5],[2,-2],[3,1],[3,-2],[3,3],[1,6],[4,2],[2,4],[-1,9],[0,6],[-1,1],[1,4],[-1,4],[2,6],[3,7],[-1,1],[-3,8],[-1,0],[1,-5],[-1,0],[-3,4],[0,4],[1,2],[2,1],[-2,6],[-3,3],[-2,1],[1,3],[2,-1],[2,1],[-1,3],[0,7],[-1,5],[-3,0],[-2,5],[-1,8]],[[9983,8142],[-5,0],[-9,10],[-5,3],[-3,3],[1,1],[6,-3],[11,-11],[3,-1],[1,-2]],[[103,8166],[-2,-3],[-2,6],[1,1],[3,-4]],[[110,8168],[-2,-2],[-3,3],[0,3],[5,-4]],[[58,8158],[-1,-2],[-4,4],[3,3],[-2,4],[-3,3],[-1,3],[2,1],[4,0],[3,-4],[2,-1],[-1,-9],[-2,-2]],[[79,8162],[-1,-1],[-11,0],[-2,-1],[-1,2],[12,5],[2,6],[3,0],[0,-2],[-2,-2],[0,-7]],[[94,8171],[0,-2],[4,-1],[0,-5],[-2,1],[-1,-2],[-6,-5],[-2,3],[-1,6],[4,3],[1,9],[3,-1],[1,-3],[-1,-3]],[[9959,8174],[-2,-1],[-1,2],[1,3],[3,-2],[-1,-2]],[[9991,8173],[-5,-1],[-1,5],[3,3],[4,-3],[-1,-4]],[[110,8179],[-1,-2],[-4,5],[1,2],[4,-1],[1,-3],[-1,-1]],[[9927,8172],[-3,-3],[-2,4],[4,4],[4,2],[1,6],[3,-1],[-2,-6],[0,-3],[-5,-3]],[[179,8186],[5,-2],[9,0],[0,-1],[-9,-2],[-9,1],[-4,-1],[-5,3],[0,2],[6,-1],[4,2],[3,-1]],[[209,8194],[-2,-1],[-3,1],[3,5],[2,2],[2,-1],[2,-3],[-4,-3]],[[147,8180],[-15,-2],[0,3],[3,0],[6,3],[7,2],[5,3],[5,2],[1,3],[-4,1],[-1,2],[2,1],[5,5],[4,-3],[1,-2],[-1,-5],[-4,-3],[2,-4],[-6,-3],[-10,-3]],[[9824,8199],[-2,0],[-1,2],[-6,1],[1,2],[2,0],[4,3],[4,0],[-2,-8]],[[257,8212],[-2,-1],[-1,2],[4,6],[3,-2],[0,-2],[-4,-3]],[[286,8227],[-1,-3],[-7,1],[0,2],[4,2],[2,0],[2,-2]],[[9799,8237],[5,-2],[3,1],[4,-3],[5,-6],[-1,-1],[-9,-1],[-4,-3],[-4,2],[-2,5],[-6,3],[5,4],[4,1]],[[334,8256],[-9,-6],[-2,-5],[-3,-4],[-1,-3],[-3,-1],[-4,-3],[-9,-8],[0,2],[5,5],[3,6],[0,6],[4,6],[6,0],[2,2],[-1,2],[0,5],[3,5],[2,2],[6,1],[5,-3],[-1,-7],[-3,-2]],[[383,8278],[-2,1],[2,4],[1,-2],[-1,-3]],[[371,8288],[1,-3],[3,2],[3,7],[1,-2],[3,-2],[-9,-12],[0,-2],[5,2],[2,-2],[-4,-2],[-2,-3],[-5,-4],[-2,-4],[-5,-1],[-6,-2],[-4,-4],[-2,0],[-4,-4],[-4,-1],[-3,2],[-1,2],[5,3],[3,1],[11,7],[1,7],[2,3],[4,0],[1,-3],[3,4],[-4,3],[-4,0],[-3,5],[1,3],[3,3],[4,1],[3,2],[3,-1],[0,-5]],[[393,8298],[-2,-2],[-1,1],[-3,-1],[-2,4],[0,2],[2,3],[4,1],[4,-4],[2,-1],[-1,-3],[-3,0]],[[401,8301],[-2,0],[-1,7],[2,2],[3,-4],[0,-2],[-2,-3]],[[484,8317],[-2,-2],[-5,4],[0,3],[5,-2],[2,-3]],[[491,8342],[-4,5],[4,3],[2,-1],[0,-2],[-2,-5]],[[458,8350],[4,-11],[4,-2],[2,-2],[1,-3],[-7,4],[-5,-6],[-15,-1],[-5,-2],[-4,-8],[-6,-2],[-4,0],[-3,3],[-1,5],[0,4],[5,4],[5,11],[2,2],[5,-1],[4,4],[8,4],[1,1],[6,0],[3,-4]],[[573,8350],[-2,0],[-1,5],[2,-1],[1,-4]],[[1351,8356],[3,-8],[0,-2],[-3,-1],[-3,1],[0,5],[-4,5],[1,3],[-1,7],[2,0],[3,-3],[2,-7]],[[559,8359],[-5,-5],[-4,-6],[0,4],[1,1],[-1,5],[2,1],[2,3],[2,1],[1,4],[2,-1],[-1,-2],[1,-5]],[[1309,8345],[2,2],[2,0],[3,-2],[-1,-3],[0,-5],[-2,-4],[-3,1],[-5,9],[-6,13],[-1,5],[-5,2],[-1,3],[1,3],[4,1],[5,-6],[3,-6],[0,-5],[4,-8]],[[546,8371],[-1,-5],[-4,4],[0,2],[4,0],[1,-1]],[[536,8369],[3,4],[1,-1],[-1,-3],[1,-4],[2,-2],[-4,-3],[-6,1],[-1,8],[2,4],[2,2],[1,-1],[0,-5]],[[1296,8383],[1,-3],[-4,-4],[-3,-7],[-3,-2],[0,8],[-3,5],[3,2],[5,-1],[4,2]],[[678,8399],[-1,-2],[-3,0],[-1,2],[4,5],[1,0],[0,-5]],[[1361,8379],[-1,-6],[-2,-6],[-3,-4],[-2,1],[-1,3],[-3,0],[-1,2],[1,3],[-1,3],[-2,-4],[-6,-7],[-2,0],[-1,11],[2,5],[3,5],[1,14],[10,7],[1,0],[3,-5],[4,-8],[0,-14]],[[1289,8428],[5,-1],[5,0],[2,-2],[2,-5],[0,-4],[-1,-2],[10,-5],[6,-9],[3,-9],[4,-8],[2,-2],[0,-2],[-3,1],[-6,5],[-2,-7],[5,1],[4,-5],[2,-1],[1,-5],[-1,-4],[6,0],[0,-24],[-1,-5],[-5,1],[-2,4],[-2,6],[-3,2],[-3,0],[-1,6],[-2,6],[-1,-1],[1,-4],[-1,-2],[-2,1],[-4,8],[-4,7],[-1,3],[4,1],[-3,7],[1,5],[-2,1],[-5,0],[-2,3],[0,2],[-5,0],[-3,3],[-1,4],[4,1],[3,-2],[3,3],[0,2],[2,2],[-1,6],[-2,1],[-5,-2],[-4,-3],[-2,1],[0,2],[6,8],[0,2],[-2,2],[0,6],[1,1]],[[1311,8423],[-3,1],[-4,4],[0,3],[4,4],[5,0],[2,-1],[0,-7],[-1,-2],[-3,-2]],[[1330,8415],[-1,-9],[-4,-1],[-4,1],[0,4],[-1,2],[-6,1],[-1,3],[0,4],[3,3],[3,5],[3,10],[2,-1],[7,-14],[-1,-8]],[[703,8434],[-3,-1],[1,5],[6,5],[2,-1],[-6,-8]],[[716,8438],[-2,0],[-2,2],[1,2],[3,2],[3,0],[0,-3],[-3,-3]],[[284,8445],[4,-1],[2,1],[2,-2],[-3,-3],[-2,0],[-3,5]],[[1312,8439],[0,-1],[-4,0],[-2,3],[3,8],[0,6],[7,-10],[1,-3],[-5,-3]],[[1277,8457],[2,-4],[3,1],[2,-8],[0,-3],[-2,1],[-2,-7],[1,-6],[-2,-11],[0,-4],[-2,-1],[-2,1],[-1,-3],[-2,0],[-2,8],[2,12],[3,2],[-2,3],[-4,4],[0,2],[-3,7],[1,6],[3,5],[3,1],[3,-2],[1,-4]],[[1295,8467],[2,-2],[1,2],[5,-2],[3,-5],[0,-14],[-2,-1],[-3,3],[-3,7],[-2,-1],[3,-5],[2,-5],[0,-7],[-1,-1],[-6,0],[-3,-1],[-4,2],[0,6],[-1,7],[0,5],[-4,7],[-3,3],[-1,4],[3,1],[4,0],[10,-3]],[[749,8474],[-4,-2],[-2,-4],[-2,-2],[-2,3],[1,5],[2,3],[9,-1],[-2,-2]],[[273,8477],[-3,-3],[-3,1],[0,3],[7,2],[-1,-3]],[[1250,8487],[3,-7],[1,-5],[2,-5],[2,-13],[2,-4],[0,-11],[-1,-3],[1,-5],[0,-8],[-2,-5],[-2,2],[-2,4],[-3,8],[-1,4],[0,4],[3,4],[-4,0],[-4,4],[0,5],[-4,-1],[-1,1],[0,4],[4,8],[-4,3],[-1,6],[-2,4],[-2,-1],[-4,-12],[-4,-1],[1,3],[-1,10],[1,5],[4,2],[4,9],[4,1],[6,-6],[2,-1],[2,-3]],[[743,8515],[-2,-1],[-1,2],[-5,5],[1,1],[4,-2],[3,-5]],[[752,8514],[0,-3],[2,0],[6,4],[3,0],[3,-2],[0,-2],[-2,-2],[0,-2],[2,-3],[5,-2],[0,-2],[-3,-6],[-2,-1],[-12,2],[-2,1],[-3,-3],[6,0],[3,-5],[-1,-3],[-4,0],[-3,-2],[-2,-3],[-6,-1],[-5,-3],[-2,-2],[0,-2],[-6,-3],[3,-2],[0,-3],[-4,-6],[-6,-5],[-2,1],[0,2],[7,10],[-5,3],[-3,-1],[0,2],[2,3],[-3,2],[-3,0],[-1,-3],[2,-2],[1,-3],[-3,-6],[-2,1],[-4,7],[-2,9],[-4,8],[1,6],[4,7],[4,1],[3,3],[4,1],[3,-1],[1,-3],[-1,-2],[2,-1],[4,-10],[1,1],[-1,4],[0,12],[3,-1],[0,2],[-5,5],[-1,4],[3,3],[3,0],[4,-7],[3,-1],[3,4],[3,-1],[2,5],[0,5],[6,-2],[3,-2],[-2,-4]],[[1229,8538],[4,-6],[-1,-5],[1,-3],[6,7],[6,-1],[6,-5],[0,-4],[-1,-8],[-3,-1],[-4,1],[-3,-2],[2,-2],[8,-1],[2,-4],[1,-4],[-2,-6],[-4,2],[-11,9],[-4,-1],[0,-10],[-2,-3],[-6,1],[-5,13],[-8,10],[-2,2],[-3,5],[1,8],[2,0],[2,2],[2,5],[2,-4],[3,0],[1,2],[3,0],[3,3],[3,1],[1,-1]],[[1268,8537],[0,-1],[-4,0],[-3,2],[-2,4],[4,1],[3,-2],[2,-4]],[[1258,8533],[7,-1],[5,0],[5,-8],[5,-12],[2,-9],[-3,2],[-3,9],[-2,3],[-2,6],[0,2],[-3,2],[0,-5],[1,-5],[5,-10],[4,-7],[0,-5],[-1,-3],[2,-4],[-1,-2],[-5,-2],[-4,-9],[-5,-5],[-2,-1],[-3,5],[0,4],[1,2],[3,11],[0,3],[-5,9],[-3,21],[-5,19],[1,1],[2,-2],[3,-5],[1,-4]],[[766,8545],[2,3],[4,-3],[2,1],[1,-4],[3,0],[0,-4],[-4,-5],[-4,5],[-2,-2],[1,-4],[-7,-2],[-1,3],[-3,-5],[-3,-3],[-5,-1],[-11,5],[7,9],[4,3],[6,-1],[0,4],[-2,4],[4,2],[4,-1],[4,-4]],[[764,8552],[-3,1],[-1,4],[4,3],[3,-1],[0,-2],[-3,-5]],[[529,8557],[-2,-1],[-2,1],[-1,5],[4,4],[6,3],[-5,-12]],[[984,8629],[0,3],[6,7],[2,-1],[-4,-3],[-4,-6]],[[888,8643],[-2,-2],[-5,1],[1,4],[4,2],[5,-3],[-3,-2]],[[896,8628],[-4,1],[1,5],[6,7],[4,4],[4,5],[4,10],[2,0],[3,-2],[1,-2],[-1,-2],[-9,-10],[-1,-5],[-2,-2],[-2,-4],[-4,-2],[0,-2],[-2,-1]],[[385,8661],[2,-3],[7,1],[3,-4],[-1,-6],[0,-6],[3,-2],[1,-7],[-5,-1],[-5,0],[-4,-2],[-1,-5],[-2,0],[-2,3],[-2,1],[-8,1],[-10,7],[-4,2],[-5,5],[-4,6],[6,2],[11,-1],[2,4],[8,5],[3,-1],[3,2],[4,-1]],[[968,8659],[-1,-2],[-3,2],[4,3],[0,-3]],[[933,8665],[1,-1],[6,0],[1,-1],[-3,-3],[-6,-2],[-5,-3],[-1,4],[-2,4],[4,4],[5,-2]],[[898,8665],[-1,-3],[1,-2],[-2,-5],[0,-3],[-2,-3],[-2,3],[-1,4],[2,3],[1,7],[4,-1]],[[777,8660],[1,8],[2,-2],[-3,-6]],[[201,8666],[6,-4],[4,0],[3,-3],[-3,-1],[-7,0],[-9,8],[-3,2],[1,4],[3,2],[2,-6],[3,-2]],[[890,8687],[-3,-1],[-2,1],[2,5],[3,-2],[0,-3]],[[237,8849],[12,-3],[4,0],[6,5],[3,1],[7,-1],[5,-3],[3,-8],[11,-3],[2,-3],[3,-2],[4,1],[2,-1],[6,0],[8,-2],[-1,-6],[-3,-2],[-7,1],[-7,-1],[-6,-7],[-1,-5],[-2,-1],[-4,10],[-4,3],[-6,1],[-2,2],[0,3],[-7,6],[-9,4],[-6,0],[-7,-5],[-6,-2],[-3,1],[-4,4],[-1,3],[0,6],[2,7],[3,2],[5,-5]],[[1388,8402],[-2,-3],[-2,-6],[0,-8],[3,-10],[0,-7],[-4,-9],[-1,-6]],[[1372,8338],[-1,1],[-6,1],[-3,8],[-1,7],[-2,5],[0,2],[2,3],[6,3],[0,2],[-2,0],[-1,2],[0,14],[-1,8],[-6,13],[0,2],[3,5],[-8,-4],[-9,-5],[-4,-3],[-1,-2],[0,-5],[-1,-1],[-1,-6],[-3,-6],[-4,2],[-3,9],[7,12],[4,13],[3,0],[5,3],[-8,1],[-1,1],[-4,8],[-4,2],[-2,4],[-3,4],[0,4],[-4,1],[0,7],[-6,3],[-3,4],[-1,4],[1,6],[-3,-1],[-15,7],[1,10],[-3,12],[-3,5],[1,3],[2,0],[5,-3],[6,-5],[1,1],[-9,9],[-3,6],[1,3],[8,-1],[1,1],[-9,3],[-2,0],[-1,-4],[-3,-1],[-1,1],[-4,8],[-4,4],[-1,8],[1,5],[-5,-4],[-3,4],[-4,4],[-5,1],[-3,4],[-5,11],[-1,7],[-3,2],[-1,3],[-3,13],[-3,9],[-1,5],[-3,-1],[2,-3],[0,-2],[-3,-1],[4,-6],[1,-11],[4,-13],[0,-5],[4,-14],[0,-4],[-3,-3],[-4,2],[-2,2],[-2,5],[-4,2],[-9,-1],[0,4],[1,9],[-5,9],[1,5],[-1,1],[-1,7],[-2,-3],[1,-4],[0,-6],[-3,-1],[-2,1],[-2,3],[-3,2],[-2,4],[-7,3],[-5,3],[1,-4],[0,-5],[2,0],[8,-4],[1,-4],[4,-3],[-2,-4],[5,0],[2,-1],[4,-6],[1,-3],[0,-4],[-2,-2],[-9,-1],[-4,-5],[-3,1],[-4,4],[-6,4],[-13,10],[-1,3],[-3,2],[-5,7],[-5,9],[-9,9],[-5,1],[1,3],[-6,1],[-5,3],[-12,8],[-11,8],[-2,2],[4,2],[4,7],[-2,8],[0,4],[2,3],[2,0],[4,-7],[-1,-6],[1,-7],[1,0],[0,10],[2,3],[4,-1],[2,1],[-7,3],[-6,7],[-2,0],[-3,-2],[-6,-9],[-11,-6],[-12,0],[-5,2],[-13,7],[-3,2],[4,4],[-1,6],[-3,2],[0,-4],[-1,-2],[-6,-3],[-12,4],[-12,3],[-11,1],[-16,-3],[-8,-2],[-10,0],[0,2],[2,2],[-3,4],[-4,2],[-8,2],[-1,2],[-5,2],[-2,3],[1,7],[2,4],[2,7],[-4,-3],[-6,-9],[-4,-4],[-4,1],[-5,3],[-4,1],[-4,0],[-1,1],[4,5],[2,5],[-13,0],[-1,5],[-5,0],[-4,-2],[-2,1],[5,5],[-6,3],[-1,2],[0,5],[1,4],[9,3],[-3,2],[-5,-1],[-4,-3],[-4,-4],[-3,-1],[-2,1],[-4,0],[-2,-1],[-3,-4],[-2,2],[-4,2],[-2,-4],[-4,-2],[-3,0],[-3,5],[1,8],[-5,-2],[-3,1],[-3,-3],[5,0],[-3,-6],[-1,-5],[-2,-1],[-4,0],[0,-2],[4,-4],[4,-1],[-1,-10],[5,2],[2,0],[2,-3],[0,-4],[-6,-3],[-1,-7],[1,-6],[-3,-1],[-4,-9],[-2,0],[-2,-2],[-7,-1],[-5,2],[-3,3],[-4,-2],[-3,6],[-1,0],[0,-6],[-4,-6],[-3,0],[-1,2],[-3,-4],[1,-6],[-1,-1],[-4,3],[-2,-1],[2,-3],[0,-2],[-7,-7],[-4,1],[-4,-3],[-3,2],[-2,-8],[-5,-5],[-2,-5],[-7,3],[-1,-1],[1,-3],[-5,1],[-3,-1],[-4,-3],[-4,0],[-4,5],[-2,1],[2,6],[6,4],[5,1],[3,2],[4,4],[2,3],[4,8],[-2,1],[-8,-7],[-3,-1],[-9,4],[-1,4],[2,8],[5,10],[4,6],[2,4],[2,11],[0,5],[-1,6],[0,4],[1,1],[10,6],[5,4],[9,6],[3,0],[4,-4],[6,-1],[4,2],[6,-1],[13,-4],[3,0],[-2,3],[-13,3],[-10,8],[-3,3],[5,3],[1,5],[7,6],[7,4],[-3,1],[-7,-2],[-3,-3],[-4,-7],[-4,-2],[-10,0],[-2,2],[-2,0],[-10,-6],[-5,-6],[-4,-3],[-5,-1],[-4,-2],[-5,-7],[1,-6],[-7,-5],[-7,-8],[-1,-5],[1,-2],[-1,-2],[-7,-7],[-3,-1],[-4,0],[-3,3],[-3,0],[10,-10],[1,-4],[-1,-3],[-3,-4],[-3,-2],[-7,-1],[-2,-2],[5,-3],[-2,-5],[-4,-2],[-4,0],[0,4],[-3,-1],[-5,-4],[1,-3],[-3,-5],[-2,-2],[-8,-6],[1,-2],[-3,-10],[1,-2],[6,-3],[4,0],[10,-7],[2,-3],[0,-3],[-3,-6],[-7,-7],[-5,-2],[-4,-6],[-2,-7],[-5,-3],[2,-1],[-1,-3],[0,-5],[-1,-1],[-4,0],[-5,-2],[0,-3],[-11,-2],[-4,-8],[-8,-6],[-5,-2],[-1,-4],[-4,-6],[-6,-1],[-1,-1],[0,-5],[-3,1],[-3,-1],[-5,-5],[-1,-3],[2,-4],[0,-2],[-2,-6],[-3,-2],[-1,-3],[-5,0],[-2,-4],[-2,0],[-1,-2],[-5,-5],[-3,-1],[-2,1],[-4,-3],[-1,-5],[-2,-3],[-8,1],[-6,-5],[3,-1],[0,-2],[-4,0],[-2,-2],[-6,-2],[-3,-6],[4,-2],[3,-6],[-4,-5],[-3,-2],[-1,6],[-2,-1],[-2,-7],[-2,-3],[-18,-8],[-3,-2],[0,-4],[-2,-5],[-2,-2],[0,12],[-3,1],[-3,-3],[-2,0],[-8,-8],[-3,-1],[-3,-5],[-2,-1],[-2,1],[-2,-1],[-2,-3],[-4,2],[-3,-4],[-5,-3],[-8,-1],[0,5],[1,3],[2,2],[4,0],[-1,2],[-7,2],[-4,-3],[-1,-2],[-1,-8],[-7,-11],[-3,-4],[-2,0],[-3,-4],[-3,-1],[-2,2],[1,4],[-4,5],[-2,0],[0,-12],[-1,-2],[-4,-3],[-2,1],[-3,5],[-4,1],[1,-5],[-1,-4],[-2,-3],[-4,-1],[0,2],[2,8],[-1,5],[5,5],[6,0],[2,4],[5,5],[4,6],[10,16],[6,6],[20,11],[1,-4],[9,1],[-1,-2],[-3,-1],[0,-2],[4,-6],[3,-1],[0,5],[4,2],[3,-3],[4,-2],[2,1],[-1,3],[-6,6],[2,10],[5,10],[4,5],[3,2],[7,7],[14,7],[3,5],[7,7],[1,-4],[5,-2],[1,1],[0,14],[5,9],[7,8],[5,4],[4,6],[5,2],[2,-3],[3,-1],[2,2],[-3,2],[-1,3],[-2,2],[0,6],[2,9],[0,9],[2,5],[3,2],[7,1],[-4,3],[-4,1],[-1,5],[0,4],[2,5],[6,8],[7,5],[-2,3],[3,11],[-1,1],[-5,-6],[-24,-14],[-5,-2],[-3,2],[-2,6],[-2,2],[-1,4],[0,5],[2,4],[3,0],[2,2],[-5,3],[-3,-1],[-2,-5],[-2,-3],[-3,1],[0,-3],[-2,-6],[0,-5],[2,-11],[0,-5],[-5,-2],[-4,4],[-7,15],[-3,4],[-6,6],[-2,0],[-2,-4],[-3,-1],[-6,5],[-6,9],[-8,-6],[-5,-5],[-3,0],[-8,-4],[-3,-3],[-1,-4],[-11,-4],[-11,2],[8,4],[4,5],[-2,9],[0,4],[4,5],[-4,0],[-3,-2],[-2,4],[-1,8],[3,5],[2,8],[0,5],[-2,7],[-6,15],[-3,11],[-5,7],[3,10],[5,9],[5,4],[-5,0],[-4,-6],[-9,-17],[2,-5],[1,-5],[-2,-7],[-5,0],[-4,-4],[-9,-5],[-13,-2],[-7,0],[-6,5],[0,6],[-9,9],[-5,9],[-4,0],[-4,2],[-4,4],[1,5],[-2,2],[-3,-1],[-4,1],[10,12],[3,7],[3,2],[8,-5],[4,-1],[3,-4],[-3,-8],[10,10],[3,-1],[4,-9],[6,4],[3,6],[-6,4],[-8,1],[2,2],[5,0],[2,1],[-4,4],[-7,-6],[-12,0],[-9,4],[-9,-1],[-3,3],[9,7],[0,1],[-6,-1],[-4,4],[-4,1],[0,-4],[-3,-1],[-3,1],[-3,11],[-5,2],[-1,4],[3,5],[-1,3],[-4,1],[-3,-3],[-2,2],[0,6],[2,0],[7,2],[1,1],[-6,3],[-2,3],[3,2],[4,0],[6,2],[-2,3],[-2,5],[1,5],[15,22],[5,3],[6,-1],[-2,4],[2,2],[-1,3],[-1,8],[3,9],[2,3],[8,1],[-4,5],[2,4],[10,4],[4,-1],[6,-3],[4,-4],[3,-1],[4,-3],[8,2],[3,2],[4,5],[5,3],[7,11],[3,4],[4,1],[2,-4],[2,-1],[13,1],[7,2],[4,3],[8,10],[1,5],[-1,7],[-2,5],[-2,13],[-7,8],[-4,3],[-3,0],[2,5],[6,-1],[4,1],[3,3],[3,6],[-2,6],[-6,8],[-2,0],[-8,-8],[-4,0],[-4,2],[-3,-5],[-8,-3],[-5,-4],[-8,-9],[-2,-5],[-3,0],[-2,8],[-9,8],[-3,-3],[4,-4],[3,0],[-2,-6],[-10,7],[-6,2],[-17,0],[-10,-4],[-4,0],[-2,-3],[-7,0],[-8,3],[-20,4],[-5,3],[-4,6],[0,4],[2,1],[0,6],[-4,1],[-8,9],[2,2],[7,1],[2,5],[5,2],[2,2],[-12,3],[-1,-1],[-21,5],[-16,8],[-3,5],[3,4],[2,-3],[9,5],[5,6],[10,1],[5,4],[4,6],[9,5],[5,2],[5,-3],[9,-1],[5,3],[-8,5],[2,4],[9,5],[7,2],[3,0],[11,7],[6,2],[11,1],[5,-2],[3,-3],[0,-2],[-3,-6],[0,-6],[-4,-4],[9,-7],[15,-1],[8,2],[4,-3],[14,1],[8,-2],[4,1],[7,11],[3,2],[7,-4],[3,5],[-1,2],[-12,4],[-8,-2],[-2,3],[1,4],[-9,12],[-3,2],[-5,0],[-2,4],[-1,5],[6,3],[3,-1],[4,-7],[3,-1],[-1,-7],[4,-6],[9,-6],[7,2],[5,0],[3,-1],[7,-5],[4,-1],[12,3],[0,5],[-1,4],[-3,2],[-8,0],[-6,3],[-5,-1],[-10,-5],[-5,2],[-3,3],[-5,3],[0,6],[4,7],[3,3],[-3,3],[-7,1],[-11,-1],[-1,4],[-5,-5],[-5,1],[-6,0],[-15,4],[-8,10],[-4,12],[-5,7],[-35,26],[-16,6],[-7,7],[-5,2],[-5,0],[-5,3],[3,1],[3,-1],[5,3],[5,22],[0,5],[19,-1],[13,1],[4,1],[17,2],[4,1],[8,5],[9,7],[10,13],[2,13],[4,8],[17,20],[7,7],[3,4],[3,2],[6,-5],[18,4],[10,6],[0,2],[15,8],[4,-1],[-4,-6],[3,-1],[-3,-7],[6,0],[2,10],[2,2],[-6,6],[-3,0],[11,9],[10,5],[2,0],[2,-3],[-5,-3],[3,-2],[7,3],[10,0],[4,3],[14,0],[11,5],[11,9],[6,8],[5,5],[6,1],[3,-2],[18,-6],[5,-1],[2,-3],[-2,-4],[-4,-3],[-10,-4],[5,-5],[3,-1],[8,4],[7,7],[2,4],[8,0],[4,-2],[4,-4],[-3,-5],[5,-3],[6,-1],[5,-2],[8,5],[6,1],[6,0],[7,2],[12,-3],[9,0],[5,-2],[2,-2],[-6,-5],[-1,-4],[2,-2],[4,0],[0,-3],[2,-1],[12,0],[-5,-6],[20,-2],[2,2],[5,1],[8,3],[11,-5],[4,1],[7,4],[9,0],[4,-2],[4,1],[16,-5],[6,-6],[3,0],[3,3],[3,0],[3,-3],[5,0],[2,-4],[2,-1],[18,-3],[9,1],[13,0],[6,-2],[7,0],[10,-6],[7,-2],[16,-2],[6,3],[10,1],[8,3],[11,-1],[4,2],[14,-5],[8,-5],[4,-4],[16,-6],[5,-3],[3,-4],[9,1],[3,-1]],[[3300,5941],[-1,-1],[-2,4],[0,5],[2,2],[1,2],[1,0],[0,-9],[-1,-3]],[[3305,5694],[-2,-1],[0,7],[3,5],[1,1],[2,-5],[0,-2],[-2,-3],[-2,-2]],[[3310,5710],[-4,-2],[1,4],[4,2],[0,-2],[-1,-2]],[[3188,5811],[-2,-1],[-3,1],[-1,2],[1,2],[2,0],[2,-2],[1,-2]],[[3226,5824],[0,-9],[-2,-5],[-4,0],[-1,1],[-2,4],[-2,-1],[-4,1],[-1,1],[2,4],[2,2],[1,0],[1,-3],[2,-2],[3,0],[0,4],[3,6],[2,-3]],[[3018,5867],[-1,-3],[-2,-4],[-2,-2],[-10,-5],[-3,-3],[0,-5],[4,-17],[1,-3],[4,-7],[-2,-1],[1,-10],[2,-6],[0,-4],[-1,-12],[-4,-8],[-3,-8],[-2,-3],[-4,-17],[3,-10],[1,-5],[3,-8],[2,-2],[1,-3],[-1,-5],[1,-7],[2,-3],[2,-2],[2,0],[7,5],[2,5],[4,8],[0,9],[1,11],[-1,8],[-4,10],[-1,8],[-4,6],[-2,12],[-1,4],[0,5],[-1,9],[2,3],[0,8],[6,2],[12,12],[8,3],[8,6],[2,4],[2,5],[1,0],[5,-5],[2,2],[1,4],[-1,8],[-3,0],[-8,-3],[0,6],[-2,9],[1,7],[1,5],[2,2],[4,3],[2,-4],[2,-3],[0,-4],[2,-18],[2,-7],[2,-4],[2,0],[1,1],[8,1],[5,-4],[6,-1],[6,-7],[6,-9],[2,-6],[0,-6],[2,-4],[-2,-4],[1,-7],[2,-7],[2,-4],[8,-2],[8,3],[12,3],[4,2],[21,2],[4,-4],[0,-5],[7,-13],[5,-2],[5,-4],[5,-2],[5,-3],[5,2],[3,0],[18,21],[10,-1],[2,1],[1,2],[-4,3],[-8,2],[-2,-2],[-2,5],[3,0],[9,2],[10,-2],[9,4],[4,1],[3,-1],[6,2],[13,-2],[10,2],[-1,-3],[-3,-3],[-6,0],[-4,-5],[-8,1],[-6,-2],[2,-2],[0,-6],[1,0],[3,-6],[1,-5],[-1,-6],[1,-2],[1,3],[0,6],[2,-1],[1,-2],[3,-14],[2,-8],[1,0],[1,2],[1,4],[1,-1],[1,6],[2,0],[1,-1],[3,-5],[3,-8],[0,-2],[2,-1],[0,4],[-1,4],[4,0],[1,4],[2,-3],[6,-12],[2,-2],[6,-2],[4,-6],[2,-6],[-1,-5],[-3,-3],[-2,-3],[-1,-4],[0,-3],[-1,-4],[0,-2],[-1,-5],[-1,-7],[-2,-7],[-10,-1],[2,-2],[2,-3],[4,-5],[3,4],[5,0],[4,5],[2,1],[9,-2],[2,3],[2,1],[5,0],[4,-4]],[[3205,6243],[-2,0],[-1,1],[1,2],[3,0],[-1,-3]],[[3200,6208],[2,-2],[0,-3],[-5,0],[0,4],[3,1]],[[3203,6240],[-2,-1],[0,2],[2,-1]],[[3198,6239],[-2,0],[-1,3],[2,0],[1,-3]],[[7960,5683],[-1,1],[2,4],[0,-4],[-1,-1]],[[7889,5782],[1,-3],[0,-7],[-1,-6],[0,-3],[-1,-2],[-2,12],[-2,6],[3,5],[1,0],[1,-2]],[[7976,5782],[-3,-3],[0,3],[2,1],[1,-1]],[[7972,6378],[-1,0],[-3,5],[2,2],[3,-3],[-1,-4]],[[7967,6382],[-2,2],[0,5],[2,-4],[0,-3]],[[7985,6389],[-1,1],[1,4],[1,-2],[-1,-3]],[[7988,6405],[-4,-7],[-2,0],[1,8],[1,2],[4,-3]],[[7998,6422],[-5,-1],[-2,-5],[-2,-2],[-7,-5],[-1,-5],[0,-8],[-5,-6],[-2,1],[-1,2],[-5,-3],[-2,0],[-3,3],[-1,-2],[2,-9],[0,-4],[-6,-12],[1,-8],[-1,-6],[-4,-5],[-6,-12],[-3,0],[-2,-3],[-5,-20],[0,-7],[-1,-6],[0,-4],[-2,-10],[-2,-4],[0,-5],[3,-11],[0,-2],[2,-6],[2,-8],[5,-11],[2,-3],[3,-2],[5,-10],[2,-6],[-1,-4],[0,-9],[-3,3],[0,-2],[5,-4],[6,-17],[10,-18],[2,-9],[5,-6],[5,-9],[0,-2],[1,-2],[4,-5],[2,-5],[1,-5],[3,1],[3,0],[1,-5],[2,-5],[2,-4],[1,0],[0,-3],[1,-3],[3,-6],[1,-7],[4,-10],[2,-6],[2,-3],[3,-3],[2,-11],[1,-11],[2,-11],[2,-5],[0,-9],[1,-10],[2,-7],[0,-6],[1,-4],[0,-2],[2,-12],[-1,-5],[-1,-10],[1,-8],[0,-10],[1,-3],[2,-11],[1,-4],[0,-14],[-1,-3],[-1,5],[-2,-3],[-1,-3],[2,-15],[-3,1],[0,-19],[2,-5],[0,-2],[-2,1],[-1,-4],[0,-4],[1,-4],[0,-2],[-2,-8],[-2,0],[-2,-15],[-5,-1],[-3,-7],[-4,-2],[-4,-7],[-4,-6],[-5,-2],[-2,-10],[-5,-1],[-10,-13],[-2,-1],[-4,-4],[-1,1],[-1,3],[-3,2],[-1,3],[0,5],[-1,1],[-1,-2],[0,-10],[-1,-3],[-1,-1],[-2,3],[-3,6],[-3,-4],[3,0],[1,-1],[1,-4],[0,-2],[-1,-3],[-3,0],[-4,1],[-1,-1],[4,-3],[5,-5],[0,-2],[-2,-3],[-2,-4],[0,-5],[-1,-3],[-4,5],[-9,16],[1,-5],[9,-18],[2,-6],[0,-4],[-2,-5],[-3,0],[-5,7],[-8,16],[-3,2],[8,-19],[2,-4],[1,-5],[-1,-4],[0,-2],[-19,-18],[-5,-17],[-3,-5],[-2,-5],[-7,-2],[-3,1],[3,8],[-2,3],[0,22],[1,25],[2,12],[2,3],[3,2],[0,5],[-2,4],[-2,2],[-2,1],[-2,5],[-2,0],[-2,-2],[-1,2],[-1,4],[-2,4],[-3,4]],[[9718,4021],[-1,-4],[-2,0],[-2,3],[1,2],[3,1],[1,-2]],[[9707,4058],[-2,-6],[-2,1],[-3,5],[-1,3],[1,8],[2,1],[1,-7],[4,-5]],[[9702,4092],[-1,-2],[-1,0],[-7,6],[0,13],[2,2],[2,-1],[1,-5],[2,-2],[-1,-2],[2,-4],[1,-5]],[[9678,4173],[2,-8],[1,-1],[-1,-6],[-4,0],[-4,6],[-2,-1],[1,4],[2,5],[1,1],[1,-1],[3,1]],[[9678,4217],[0,-3],[-4,2],[-4,-1],[-1,3],[0,7],[2,3],[2,-5],[0,-1],[2,-4],[3,-1]],[[9673,4242],[-3,0],[-4,2],[-2,2],[-1,3],[4,2],[3,6],[1,-2],[1,-7],[1,-2],[0,-4]],[[9649,4256],[2,-1],[0,-3],[4,-5],[1,0],[1,-3],[2,-2],[0,-3],[2,-3],[-2,-4],[-5,1],[-2,-4],[-2,1],[0,3],[-1,6],[-1,9],[-1,5],[-1,2],[-2,-2],[-1,0],[-1,4],[1,9],[0,2],[1,1],[3,-2],[2,-11]],[[9644,4278],[-1,-2],[-3,4],[1,3],[3,-1],[0,-4]],[[9671,4263],[-1,3],[-1,14],[1,10],[3,-22],[-1,-4],[-1,-1]],[[9663,4294],[-2,-2],[-4,0],[-1,1],[4,8],[5,2],[-2,-9]],[[9670,4300],[-1,1],[-1,17],[0,2],[1,0],[1,-12],[0,-8]],[[9630,4329],[2,-19],[2,0],[1,1],[2,5],[0,7],[1,1],[2,-1],[-1,-2],[0,-6],[1,-3],[1,0],[1,-15],[1,-3],[0,-3],[-3,-5],[-4,0],[-3,-3],[-2,0],[0,4],[-2,3],[-2,6],[1,11],[-4,21],[0,5],[1,7],[2,0],[1,-5],[2,-6]],[[9654,4362],[-1,-3],[-4,1],[0,6],[2,3],[3,-3],[0,-4]],[[9651,4382],[-1,0],[-2,7],[3,5],[2,-4],[0,-6],[-2,0],[0,-2]],[[54,4359],[-2,-1],[-1,1],[1,2],[2,-2]],[[106,4415],[-1,2],[1,4],[1,-2],[-1,-4]],[[237,4374],[-8,0],[-4,3],[-1,0],[-3,5],[-1,3],[2,2],[4,1],[7,-4],[1,-4],[1,0],[2,-2],[0,-4]],[[212,4408],[4,-6],[1,-7],[-2,-7],[-2,2],[-5,-2],[-1,1],[-6,12],[-1,4],[3,-1],[5,3],[4,1]],[[6492,5911],[2,-1],[3,2],[7,1],[9,-7],[-2,-1],[-1,-3],[-4,-2],[-4,-5],[-11,-2],[-3,1],[-3,5],[-5,6],[2,4],[0,2],[1,2],[3,3],[3,-1],[3,-4]],[[6187,5988],[-2,2],[2,4],[1,-4],[-1,-2]],[[6182,6065],[-1,-2],[0,8],[1,1],[1,-4],[0,-2],[-1,-1]],[[6473,6142],[-14,-10],[-3,-5],[-4,-5],[-2,-7],[-2,-13],[1,-11],[0,-6],[-3,-4],[-4,-3],[-3,-4],[-3,-1],[-2,-4],[-2,-2],[-8,-7],[-8,-5],[-14,-6],[-5,-6],[-5,-4],[-7,-2],[-10,-6],[-5,-5],[-7,-8],[-2,-2],[-1,-6],[-2,-5],[-4,-8],[-3,-4],[-6,-3],[-5,0],[-8,2],[-2,-2],[-2,-3],[-6,-5],[-6,-12],[-5,-3],[-7,-3],[-5,-5],[-4,-2],[-4,-1],[-9,0],[-8,-1],[-7,-3],[-3,-6],[-4,-10],[-7,-4],[-1,-3],[-2,-8],[-4,-1],[-4,-2],[-4,4],[-7,-9],[-7,-2],[-3,-2],[-2,1],[-2,3],[-6,4],[-4,-2],[0,8],[-7,24],[1,22],[0,3],[-1,10],[-4,8],[0,11],[-1,8],[-2,8],[1,3],[0,2],[-2,12],[-1,3],[0,2],[1,2],[0,3],[-2,4],[-1,7],[-5,6],[1,5],[2,-3],[1,3],[0,3],[-3,16],[4,22],[-1,19]],[[6050,2479],[-1,-1],[-5,1],[-1,2],[3,5],[3,0],[2,-3],[-1,-4]],[[5912,3637],[-1,-13],[-4,-21],[-1,-10],[-3,-34],[-7,-24],[-7,-13],[-4,-4],[-3,-1],[-13,-26],[-4,-12],[-4,-18],[-4,-10],[-6,-21],[-6,-16],[-5,-15],[-9,-20],[-3,-6],[-3,-2],[-7,-12],[-10,-19],[-8,-17],[-11,-19],[-6,-8],[-10,-17],[-3,-2],[-11,-15],[-8,-9],[-13,-11],[-5,-3],[-12,3],[-5,-2],[-5,-6],[0,-10],[-4,-1],[-9,4],[-5,-1],[-2,-4],[-2,-7],[-7,0],[-11,6],[-17,5],[-6,-5],[-3,-1],[-9,1],[-6,3],[-5,0],[-3,-2],[-5,-1],[-13,-18],[-6,0],[-6,-2],[-8,3],[-5,-1],[-3,-3],[-7,-2],[-2,-2],[-12,-16],[-3,0],[-2,1],[-6,1],[-6,8],[-2,2],[0,5],[-2,4],[-3,0],[-2,4],[-4,0],[-3,-1],[0,10],[-1,5],[-2,2],[-5,-1],[-1,-1],[-1,-4],[0,-10],[-2,3],[-2,13],[1,7],[3,3],[0,6],[-4,16],[-2,5],[-3,4],[-2,9],[-2,3],[-1,6],[-2,5],[-1,7],[1,5],[2,2],[2,-3],[2,1],[4,6],[2,8],[0,22],[-3,22],[-8,21],[-7,21],[-9,33],[-5,20],[-6,40],[-6,22],[-7,22],[-1,1]],[[5815,3905],[8,3],[7,-2],[8,-7],[7,-2],[7,2],[6,0],[4,-1],[4,-2],[2,-3]],[[5776,3520],[-4,-2],[-3,-2]],[[5843,4282],[-18,0],[-7,-3],[-6,-4],[-6,-8],[-2,-2],[-3,-5],[-1,-6],[0,-17],[-2,-6],[-10,-7],[-7,-7],[-6,-7],[-5,-9],[-3,-12],[-6,-14],[-6,-13],[-5,-13],[-7,-5],[-6,1],[-7,6],[-5,1],[-4,-4],[-4,1],[-3,6],[-3,2],[-2,-2],[-3,0],[-5,3]],[[4750,9264],[-4,0],[4,4],[12,7],[5,6],[10,2],[0,-8],[-18,-6],[-9,-5]],[[5533,9468],[-4,-2],[-5,3],[-3,5],[2,1],[9,0],[2,-2],[-1,-5]],[[5599,9710],[12,-1],[5,-10],[2,-10],[5,-1],[7,2],[11,0],[9,-5],[-8,-4],[-1,-6],[6,-1],[10,-5],[5,-1],[10,2],[19,-8],[-22,-6],[-2,-1],[-6,-8],[-9,-6],[-4,-1],[-7,1],[-9,-7],[-7,0],[-3,9],[7,4],[1,2],[-9,2],[-9,-4],[-6,0],[-22,-3],[-4,1],[-1,6],[9,3],[1,5],[11,13],[-12,4],[-5,3],[-7,11],[-7,5],[1,5],[-5,0],[-4,3],[4,3],[34,4]],[[5745,9713],[-4,0],[-7,4],[-2,4],[5,2],[6,-5],[6,-2],[-4,-3]],[[5311,9711],[1,-4],[4,1],[6,-5],[7,-3],[5,-6],[2,-5],[-5,0],[-5,6],[-11,6],[-5,0],[-10,12],[-1,3],[-5,3],[-2,9],[11,-3],[6,-7],[-2,-3],[4,-4]],[[5806,9729],[8,-1],[8,1],[2,-1],[-11,-3],[-12,2],[-11,0],[-12,-3],[-4,1],[6,3],[7,1],[4,3],[9,0],[6,-3]],[[5465,9786],[5,3],[7,-1],[10,-3],[7,-5],[4,-6],[-8,-10],[5,-5],[13,10],[7,-3],[5,-4],[2,-9],[-2,-4],[9,-6],[11,1],[8,-2],[4,-5],[6,1],[1,4],[12,-2],[5,-3],[-8,-5],[7,-4],[10,-3],[6,-3],[2,-3],[-8,-4],[-10,0],[-10,-2],[-17,-1],[-4,-4],[-7,-4],[-9,-10],[-2,-5],[1,-8],[-5,-3],[-7,1],[-4,-2],[-2,-19],[-4,-10],[-10,-1],[-7,-6],[-7,-14],[-6,-6],[3,-4],[-7,-9],[2,-9],[-4,-3],[-6,-2],[-7,2],[-12,9],[-13,7],[-12,11],[-11,5],[-7,2],[-9,8],[-4,6],[2,7],[8,1],[6,-3],[3,0],[6,9],[36,5],[12,1],[11,0],[-5,7],[-22,-4],[-20,1],[-14,-5],[-21,0],[-8,5],[-2,3],[-1,7],[4,3],[12,-1],[20,5],[10,4],[10,0],[-1,4],[6,3],[25,0],[6,1],[0,2],[-7,0],[-6,3],[-2,3],[9,9],[-7,0],[-10,-7],[-6,-3],[-15,-1],[-4,5],[0,3],[-12,3],[-1,3],[-6,0],[-3,-2],[1,-6],[-2,-5],[6,-4],[-8,-3],[-7,-5],[-13,-2],[-14,0],[-6,3],[-14,11],[-5,6],[-8,3],[-5,4],[-1,3],[3,4],[-7,3],[-6,4],[5,2],[20,-5],[3,4],[-8,0],[-5,6],[-1,4],[6,7],[-3,1],[-11,0],[1,-5],[-8,-5],[-4,1],[-2,6],[-6,7],[-5,10],[2,6],[-3,6],[3,4],[11,-5],[1,4],[13,2],[11,-5],[5,5],[9,-3],[4,0],[10,3],[16,2],[6,-2],[1,-4],[-4,-2],[-21,-2],[-13,-7],[21,1],[2,-6],[6,-1],[6,-5],[6,-2],[-1,8],[1,6],[4,2],[11,11],[7,-2],[12,-13],[11,-18],[16,-7],[-6,13],[-4,10],[-2,10],[4,9],[4,3],[0,7],[4,2],[8,-2],[7,-6]],[[5902,9798],[-26,-2],[-3,1],[43,7],[10,1],[5,-2],[-29,-5]],[[5520,9809],[-6,-4],[-11,3],[4,4],[13,-3]],[[5579,9806],[3,-1],[16,0],[4,-5],[5,-1],[11,-5],[3,2],[1,16],[3,3],[4,0],[6,3],[12,-2],[-6,-14],[7,-1],[9,2],[7,6],[6,-1],[4,4],[3,0],[4,-4],[5,1],[5,-2],[15,-2],[11,-4],[16,0],[12,-1],[8,-5],[1,-9],[-3,-3],[-24,-10],[-9,-7],[-4,-7],[-3,-2],[-11,-4],[-14,2],[-10,-4],[-7,-5],[-10,-1],[-24,2],[-6,6],[5,4],[-26,-1],[-30,0],[-2,3],[-10,1],[-14,4],[-7,4],[5,2],[18,0],[8,7],[-18,1],[-6,-2],[-14,-1],[-19,2],[-11,6],[-2,4],[9,2],[8,4],[-14,2],[-12,4],[4,2],[20,1],[15,-4],[6,3],[-5,1],[-5,4],[2,5],[14,-7],[1,6],[-5,8],[3,1],[21,-6],[6,-5],[5,-2]],[[3105,5883],[-2,-7],[-1,3],[0,7],[-2,3],[0,3],[4,-4],[1,-5]],[[3251,6191],[-1,-1],[-1,1],[0,2],[2,-2]],[[3243,6198],[-1,0],[0,2],[1,0],[0,-2]],[[null,null,[45.05776636713733,-12.965686400215588],[45.05776636713733,-12.791192985990051],[45.02288856056384,-12.70474670738291],[45.05776636713733,-12.653519283023115],[45.13042846416545,-12.722356134506583],[45.20309056119359,-12.75757498875393],[45.20309056119359,-12.86163069448476],[45.16530627073897,-12.930467545968227],[45.16530627073897,-12.983295827339262]],[null,null],[null,null],[null,null],[null,null],[null,null]],[[null,null,[-60.9010100031487,14.46499848744078],[-61.08121200377843,14.46499848744078],[-61.11608981035194,14.517826768811815],[-61.04342771332382,14.586663620295283],[-61.11608981035194,14.604273047418957],[-61.15096761692543,14.639491901666318],[-61.22362971395356,14.796375888768168],[-61.22362971395356,14.847603313127962],[-61.15096761692543,14.86521274025165],[-61.04342771332382,14.812384458880615],[-60.970765616295694,14.743547607397147],[-60.9358878097222,14.743547607397147],[-60.9358878097222,14.67471075591368],[-60.9010100031487,14.639491901666318],[-60.9010100031487,14.604273047418957],[-60.828347906120584,14.482607914564454]],[null,null],[null,null],[null,null],[null,null],[null,null]],[[6549,3954],[-4,-2],[-3,1],[-5,5],[-2,3],[-2,9],[2,9],[4,2],[4,0],[2,-2],[2,-7],[3,-6],[-1,-8],[0,-4]],[[5345,7597],[0,1],[1,0],[0,-1],[-1,0]],[[226,4659],[2,1],[0,-3],[1,-4],[-1,-1],[-1,1],[-1,2],[0,4]],[[244,4647],[1,-2],[-1,-5],[-2,4],[2,3]],[[208,4692],[1,-1],[0,-1],[-1,-1],[0,3]],[[9952,4721],[2,6],[2,-2],[-2,-7],[-2,3]],[[9962,4754],[1,-1],[-1,-1],[0,2]],[[9975,4699],[1,-1],[1,-5],[-3,-4],[0,-2],[-1,-1],[0,3],[-1,4],[2,5],[1,1]],[[9995,4645],[0,-1],[1,-1],[-1,-3],[0,1],[-1,3],[0,1],[1,0]],[[9915,4466],[5,-1],[0,-3],[-4,1],[-1,3]],[[9920,4766],[-1,4],[1,-1],[0,-3]],[[9925,4832],[1,0],[-1,0],[0,0]],[[9897,4823],[0,-1],[0,-1],[0,1],[0,1]],[[9890,4859],[1,-1],[1,-3],[-1,2],[-2,2],[1,0]],[[5091,2051],[2,0],[2,-1],[0,-2],[-4,-1],[-1,1],[1,3]],[[4850,7265],[0,1],[1,0],[0,-2],[-1,1]],[[3298,6099],[-1,-1],[-1,1],[0,3],[1,3],[1,0],[1,-2],[0,-3],[-1,-1]],[[3288,6105],[-2,-2],[-1,0],[-1,5],[-1,14],[0,2],[1,1],[3,-1],[2,-4],[0,-12],[-1,-3]],[[3296,6118],[-6,0],[0,4],[1,4],[-1,4],[2,4],[1,-2],[2,-6],[5,-6],[-4,-2]],[[9627,6297],[1,-1],[0,-2],[-1,0],[0,1],[0,2]]],transform:{scale:[.036003600360036005,.01736158967459246],translate:[-180,-89.99892578124998]},bbox:[-180,-89.99892578124998,180,83.59960937500004]},p.prototype.abwTopo="__ABW__",p.prototype.afgTopo="__AFG__",p.prototype.agoTopo="__AGO__",p.prototype.aiaTopo="__AIA__",p.prototype.albTopo="__ALB__",p.prototype.aldTopo="__ALD__",p.prototype.andTopo="__AND__",p.prototype.areTopo="__ARE__",p.prototype.argTopo="__ARG__",p.prototype.armTopo="__ARM__",p.prototype.asmTopo="__ASM__",p.prototype.ataTopo="__ATA__",p.prototype.atcTopo="__ATC__",p.prototype.atfTopo="__ATF__",p.prototype.atgTopo="__ATG__",p.prototype.ausTopo="__AUS__",p.prototype.autTopo="__AUT__",p.prototype.azeTopo="__AZE__",p.prototype.bdiTopo="__BDI__",p.prototype.belTopo="__BEL__",p.prototype.benTopo="__BEN__",p.prototype.bfaTopo="__BFA__",p.prototype.bgdTopo="__BGD__",p.prototype.bgrTopo="__BGR__",p.prototype.bhrTopo="__BHR__",p.prototype.bhsTopo="__BHS__",p.prototype.bihTopo="__BIH__",p.prototype.bjnTopo="__BJN__",p.prototype.blmTopo="__BLM__",p.prototype.blrTopo="__BLR__",p.prototype.blzTopo="__BLZ__",p.prototype.bmuTopo="__BMU__",p.prototype.bolTopo="__BOL__",p.prototype.braTopo="__BRA__",p.prototype.brbTopo="__BRB__",p.prototype.brnTopo="__BRN__",p.prototype.btnTopo="__BTN__",p.prototype.norTopo="__NOR__",p.prototype.bwaTopo="__BWA__",p.prototype.cafTopo="__CAF__",p.prototype.canTopo="__CAN__",p.prototype.cheTopo="__CHE__",p.prototype.chlTopo="__CHL__",p.prototype.chnTopo="__CHN__",p.prototype.civTopo="__CIV__",p.prototype.clpTopo="__CLP__",p.prototype.cmrTopo="__CMR__",p.prototype.codTopo="__COD__",p.prototype.cogTopo="__COG__",p.prototype.cokTopo="__COK__",p.prototype.colTopo="__COL__",p.prototype.comTopo="__COM__",p.prototype.cpvTopo="__CPV__",p.prototype.criTopo="__CRI__",p.prototype.csiTopo="__CSI__",p.prototype.cubTopo="__CUB__",p.prototype.cuwTopo="__CUW__",p.prototype.cymTopo="__CYM__",p.prototype.cynTopo="__CYN__",p.prototype.cypTopo="__CYP__",p.prototype.czeTopo="__CZE__",p.prototype.deuTopo="__DEU__",p.prototype.djiTopo="__DJI__",p.prototype.dmaTopo="__DMA__",p.prototype.dnkTopo="__DNK__",p.prototype.domTopo="__DOM__",p.prototype.dzaTopo="__DZA__",p.prototype.ecuTopo="__ECU__",p.prototype.egyTopo="__EGY__",p.prototype.eriTopo="__ERI__",p.prototype.esbTopo="__ESB__",p.prototype.espTopo="__ESP__",p.prototype.estTopo="__EST__",p.prototype.ethTopo="__ETH__",p.prototype.finTopo="__FIN__",p.prototype.fjiTopo="__FJI__",p.prototype.flkTopo="__FLK__",p.prototype.fraTopo="__FRA__",p.prototype.froTopo="__FRO__",p.prototype.fsmTopo="__FSM__",p.prototype.gabTopo="__GAB__",p.prototype.psxTopo="__PSX__",p.prototype.gbrTopo="__GBR__",p.prototype.geoTopo="__GEO__",p.prototype.ggyTopo="__GGY__",p.prototype.ghaTopo="__GHA__",p.prototype.gibTopo="__GIB__",p.prototype.ginTopo="__GIN__",p.prototype.gmbTopo="__GMB__",p.prototype.gnbTopo="__GNB__",p.prototype.gnqTopo="__GNQ__",p.prototype.grcTopo="__GRC__",p.prototype.grdTopo="__GRD__",p.prototype.grlTopo="__GRL__",p.prototype.gtmTopo="__GTM__",p.prototype.gumTopo="__GUM__",p.prototype.guyTopo="__GUY__",p.prototype.hkgTopo="__HKG__",p.prototype.hmdTopo="__HMD__",p.prototype.hndTopo="__HND__",p.prototype.hrvTopo="__HRV__",p.prototype.htiTopo="__HTI__",p.prototype.hunTopo="__HUN__",p.prototype.idnTopo="__IDN__",p.prototype.imnTopo="__IMN__",p.prototype.indTopo="__IND__",p.prototype.ioaTopo="__IOA__",p.prototype.iotTopo="__IOT__",p.prototype.irlTopo="__IRL__",p.prototype.irnTopo="__IRN__",p.prototype.irqTopo="__IRQ__",p.prototype.islTopo="__ISL__",p.prototype.isrTopo="__ISR__",p.prototype.itaTopo="__ITA__",p.prototype.jamTopo="__JAM__",p.prototype.jeyTopo="__JEY__",p.prototype.jorTopo="__JOR__",p.prototype.jpnTopo="__JPN__",p.prototype.kabTopo="__KAB__",p.prototype.kasTopo="__KAS__",p.prototype.kazTopo="__KAZ__",p.prototype.kenTopo="__KEN__",p.prototype.kgzTopo="__KGZ__",p.prototype.khmTopo="__KHM__",p.prototype.kirTopo="__KIR__",p.prototype.knaTopo="__KNA__",p.prototype.korTopo="__KOR__",p.prototype.kosTopo="__KOS__",p.prototype.kwtTopo="__KWT__",p.prototype.laoTopo="__LAO__",p.prototype.lbnTopo="__LBN__",p.prototype.lbrTopo="__LBR__",p.prototype.lbyTopo="__LBY__",p.prototype.lcaTopo="__LCA__",p.prototype.lieTopo="__LIE__",p.prototype.lkaTopo="__LKA__",p.prototype.lsoTopo="__LSO__",p.prototype.ltuTopo="__LTU__",p.prototype.luxTopo="__LUX__",p.prototype.lvaTopo="__LVA__",p.prototype.macTopo="__MAC__",p.prototype.mafTopo="__MAF__",p.prototype.marTopo="__MAR__",p.prototype.mcoTopo="__MCO__",p.prototype.mdaTopo="__MDA__",p.prototype.mdgTopo="__MDG__",p.prototype.mdvTopo="__MDV__",p.prototype.mexTopo="__MEX__",p.prototype.mhlTopo="__MHL__",p.prototype.mkdTopo="__MKD__",p.prototype.mliTopo="__MLI__",p.prototype.mltTopo="__MLT__",p.prototype.mmrTopo="__MMR__",p.prototype.mneTopo="__MNE__",p.prototype.mngTopo="__MNG__",p.prototype.mnpTopo="__MNP__",p.prototype.mozTopo="__MOZ__",p.prototype.mrtTopo="__MRT__",p.prototype.msrTopo="__MSR__",p.prototype.musTopo="__MUS__",p.prototype.mwiTopo="__MWI__",p.prototype.mysTopo="__MYS__",p.prototype.namTopo="__NAM__",p.prototype.nclTopo="__NCL__",p.prototype.nerTopo="__NER__",p.prototype.nfkTopo="__NFK__",p.prototype.ngaTopo="__NGA__",p.prototype.nicTopo="__NIC__",p.prototype.niuTopo="__NIU__",p.prototype.nldTopo="__NLD__",p.prototype.nplTopo="__NPL__",p.prototype.nruTopo="__NRU__",p.prototype.nulTopo="__NUL__",p.prototype.nzlTopo="__NZL__",p.prototype.omnTopo="__OMN__",p.prototype.pakTopo="__PAK__",p.prototype.panTopo="__PAN__",p.prototype.pcnTopo="__PCN__",p.prototype.perTopo="__PER__",p.prototype.pgaTopo="__PGA__",p.prototype.phlTopo="__PHL__",p.prototype.plwTopo="__PLW__",p.prototype.pngTopo="__PNG__",p.prototype.polTopo="__POL__",p.prototype.priTopo="__PRI__",p.prototype.prkTopo="__PRK__",p.prototype.prtTopo="__PRT__",p.prototype.pryTopo="__PRY__",p.prototype.pyfTopo="__PYF__",p.prototype.qatTopo="__QAT__",p.prototype.rouTopo="__ROU__",p.prototype.rusTopo="__RUS__",p.prototype.rwaTopo="__RWA__",p.prototype.sahTopo="__SAH__",p.prototype.sauTopo="__SAU__",p.prototype.scrTopo="__SCR__",p.prototype.sdnTopo="__SDN__",p.prototype.sdsTopo="__SDS__",p.prototype.senTopo="__SEN__",p.prototype.serTopo="__SER__",p.prototype.sgpTopo="__SGP__",p.prototype.sgsTopo="__SGS__",p.prototype.shnTopo="__SHN__",p.prototype.slbTopo="__SLB__",p.prototype.sleTopo="__SLE__",p.prototype.slvTopo="__SLV__",p.prototype.smrTopo="__SMR__",p.prototype.solTopo="__SOL__",p.prototype.somTopo="__SOM__",p.prototype.spmTopo="__SPM__",p.prototype.srbTopo="__SRB__",p.prototype.stpTopo="__STP__",p.prototype.surTopo="__SUR__",p.prototype.svkTopo="__SVK__",p.prototype.svnTopo="__SVN__",p.prototype.sweTopo="__SWE__",p.prototype.swzTopo="__SWZ__",p.prototype.sxmTopo="__SXM__",p.prototype.sycTopo="__SYC__",p.prototype.syrTopo="__SYR__",p.prototype.tcaTopo="__TCA__",p.prototype.tcdTopo="__TCD__",p.prototype.tgoTopo="__TGO__",p.prototype.thaTopo="__THA__",p.prototype.tjkTopo="__TJK__",p.prototype.tkmTopo="__TKM__",p.prototype.tlsTopo="__TLS__",p.prototype.tonTopo="__TON__",p.prototype.ttoTopo="__TTO__",p.prototype.tunTopo="__TUN__",p.prototype.turTopo="__TUR__",p.prototype.tuvTopo="__TUV__",p.prototype.twnTopo="__TWN__",p.prototype.tzaTopo="__TZA__",p.prototype.ugaTopo="__UGA__",p.prototype.ukrTopo="__UKR__",p.prototype.umiTopo="__UMI__",p.prototype.uryTopo="__URY__",p.prototype.usaTopo="__USA__",p.prototype.usgTopo="__USG__",p.prototype.uzbTopo="__UZB__",p.prototype.vatTopo="__VAT__",p.prototype.vctTopo="__VCT__",p.prototype.venTopo="__VEN__",p.prototype.vgbTopo="__VGB__",p.prototype.virTopo="__VIR__",p.prototype.vnmTopo="__VNM__",p.prototype.vutTopo="__VUT__",p.prototype.wlfTopo="__WLF__",p.prototype.wsbTopo="__WSB__",p.prototype.wsmTopo="__WSM__",p.prototype.yemTopo="__YEM__",p.prototype.zafTopo="__ZAF__",p.prototype.zmbTopo="__ZMB__",p.prototype.zweTopo="__ZWE__",p.prototype.latLngToXY=function(e,t){return this.projection([t,e])},p.prototype.addLayer=function(e,t,n){return(n?this.svg.insert("g",":first-child"):this.svg.append("g")).attr("id",t||"").attr("class",e||"")},p.prototype.updateChoropleth=function(e,t){var n=this.svg;for(var r in t&&!0===t.reset&&n.selectAll(".datamaps-subunit").attr("data-info",(function(){return"{}"})).transition().style("fill",this.options.fills.defaultFill),e)if(e.hasOwnProperty(r)){var o,i=e[r];if(!r)continue;o="string"==typeof i?i:"string"==typeof i.color?i.color:"string"==typeof i.fillColor?i.fillColor:this.options.fills[i.fillKey],i===Object(i)&&(this.options.data[r]=d(i,this.options.data[r]||{}),this.svg.select("."+r).attr("data-info",JSON.stringify(this.options.data[r]))),n.selectAll("."+r).transition().style("fill",o)}},p.prototype.updatePopup=function(e,t,n){var r=this;e.on("mousemove",null),e.on("mousemove",(function(){var o=f.mouse(r.options.element);f.select(r.svg[0][0].parentNode).select(".datamaps-hoverover").style("top",o[1]+30+"px").html((function(){var r=JSON.parse(e.attr("data-info"));try{return n.popupTemplate(t,r)}catch(e){return""}})).style("left",o[0]+"px")})),f.select(r.svg[0][0].parentNode).select(".datamaps-hoverover").style("display","block")},p.prototype.addPlugin=function(e,t){var n=this;void 0===p.prototype[e]&&(p.prototype[e]=function(r,o,i,a){var s;void 0===a&&(a=!1),"function"==typeof o&&(i=o,o=void 0),o=d(o||{},n.options[e+"Config"]),!a&&this.options[e+"Layer"]?(s=this.options[e+"Layer"],o=o||this.options[e+"Options"]):(s=this.addLayer(e),this.options[e+"Layer"]=s,this.options[e+"Options"]=o),t.apply(this,[s,r,o]),i&&i(s)})},f=n(24143),h=n(81324),e.exports=p,window.jQuery&&(window.jQuery.fn.datamaps=function(e,t){(e=e||{}).element=this[0];var n=new p(e);return"function"==typeof t&&t(n,e),this})}()},74353:function(e){e.exports=function(){"use strict";var e=1e3,t=6e4,n=36e5,r="millisecond",o="second",i="minute",a="hour",s="day",l="week",c="month",u="quarter",d="year",p="date",f="Invalid Date",h=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,m=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,g={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(e){var t=["th","st","nd","rd"],n=e%100;return"["+e+(t[(n-20)%10]||t[n]||t[0])+"]"}},v=function(e,t,n){var r=String(e);return!r||r.length>=t?e:""+Array(t+1-r.length).join(n)+e},y={s:v,z:function(e){var t=-e.utcOffset(),n=Math.abs(t),r=Math.floor(n/60),o=n%60;return(t<=0?"+":"-")+v(r,2,"0")+":"+v(o,2,"0")},m:function e(t,n){if(t.date()<n.date())return-e(n,t);var r=12*(n.year()-t.year())+(n.month()-t.month()),o=t.clone().add(r,c),i=n-o<0,a=t.clone().add(r+(i?-1:1),c);return+(-(r+(n-o)/(i?o-a:a-o))||0)},a:function(e){return e<0?Math.ceil(e)||0:Math.floor(e)},p:function(e){return{M:c,y:d,w:l,d:s,D:p,h:a,m:i,s:o,ms:r,Q:u}[e]||String(e||"").toLowerCase().replace(/s$/,"")},u:function(e){return void 0===e}},b="en",x={};x[b]=g;var w="$isDayjsObject",A=function(e){return e instanceof C||!(!e||!e[w])},_=function e(t,n,r){var o;if(!t)return b;if("string"==typeof t){var i=t.toLowerCase();x[i]&&(o=i),n&&(x[i]=n,o=i);var a=t.split("-");if(!o&&a.length>1)return e(a[0])}else{var s=t.name;x[s]=t,o=s}return!r&&o&&(b=o),o||!r&&b},S=function(e,t){if(A(e))return e.clone();var n="object"==typeof t?t:{};return n.date=e,n.args=arguments,new C(n)},k=y;k.l=_,k.i=A,k.w=function(e,t){return S(e,{locale:t.$L,utc:t.$u,x:t.$x,$offset:t.$offset})};var C=function(){function g(e){this.$L=_(e.locale,null,!0),this.parse(e),this.$x=this.$x||e.x||{},this[w]=!0}var v=g.prototype;return v.parse=function(e){this.$d=function(e){var t=e.date,n=e.utc;if(null===t)return new Date(NaN);if(k.u(t))return new Date;if(t instanceof Date)return new Date(t);if("string"==typeof t&&!/Z$/i.test(t)){var r=t.match(h);if(r){var o=r[2]-1||0,i=(r[7]||"0").substring(0,3);return n?new Date(Date.UTC(r[1],o,r[3]||1,r[4]||0,r[5]||0,r[6]||0,i)):new Date(r[1],o,r[3]||1,r[4]||0,r[5]||0,r[6]||0,i)}}return new Date(t)}(e),this.init()},v.init=function(){var e=this.$d;this.$y=e.getFullYear(),this.$M=e.getMonth(),this.$D=e.getDate(),this.$W=e.getDay(),this.$H=e.getHours(),this.$m=e.getMinutes(),this.$s=e.getSeconds(),this.$ms=e.getMilliseconds()},v.$utils=function(){return k},v.isValid=function(){return!(this.$d.toString()===f)},v.isSame=function(e,t){var n=S(e);return this.startOf(t)<=n&&n<=this.endOf(t)},v.isAfter=function(e,t){return S(e)<this.startOf(t)},v.isBefore=function(e,t){return this.endOf(t)<S(e)},v.$g=function(e,t,n){return k.u(e)?this[t]:this.set(n,e)},v.unix=function(){return Math.floor(this.valueOf()/1e3)},v.valueOf=function(){return this.$d.getTime()},v.startOf=function(e,t){var n=this,r=!!k.u(t)||t,u=k.p(e),f=function(e,t){var o=k.w(n.$u?Date.UTC(n.$y,t,e):new Date(n.$y,t,e),n);return r?o:o.endOf(s)},h=function(e,t){return k.w(n.toDate()[e].apply(n.toDate("s"),(r?[0,0,0,0]:[23,59,59,999]).slice(t)),n)},m=this.$W,g=this.$M,v=this.$D,y="set"+(this.$u?"UTC":"");switch(u){case d:return r?f(1,0):f(31,11);case c:return r?f(1,g):f(0,g+1);case l:var b=this.$locale().weekStart||0,x=(m<b?m+7:m)-b;return f(r?v-x:v+(6-x),g);case s:case p:return h(y+"Hours",0);case a:return h(y+"Minutes",1);case i:return h(y+"Seconds",2);case o:return h(y+"Milliseconds",3);default:return this.clone()}},v.endOf=function(e){return this.startOf(e,!1)},v.$set=function(e,t){var n,l=k.p(e),u="set"+(this.$u?"UTC":""),f=(n={},n[s]=u+"Date",n[p]=u+"Date",n[c]=u+"Month",n[d]=u+"FullYear",n[a]=u+"Hours",n[i]=u+"Minutes",n[o]=u+"Seconds",n[r]=u+"Milliseconds",n)[l],h=l===s?this.$D+(t-this.$W):t;if(l===c||l===d){var m=this.clone().set(p,1);m.$d[f](h),m.init(),this.$d=m.set(p,Math.min(this.$D,m.daysInMonth())).$d}else f&&this.$d[f](h);return this.init(),this},v.set=function(e,t){return this.clone().$set(e,t)},v.get=function(e){return this[k.p(e)]()},v.add=function(r,u){var p,f=this;r=Number(r);var h=k.p(u),m=function(e){var t=S(f);return k.w(t.date(t.date()+Math.round(e*r)),f)};if(h===c)return this.set(c,this.$M+r);if(h===d)return this.set(d,this.$y+r);if(h===s)return m(1);if(h===l)return m(7);var g=(p={},p[i]=t,p[a]=n,p[o]=e,p)[h]||1,v=this.$d.getTime()+r*g;return k.w(v,this)},v.subtract=function(e,t){return this.add(-1*e,t)},v.format=function(e){var t=this,n=this.$locale();if(!this.isValid())return n.invalidDate||f;var r=e||"YYYY-MM-DDTHH:mm:ssZ",o=k.z(this),i=this.$H,a=this.$m,s=this.$M,l=n.weekdays,c=n.months,u=n.meridiem,d=function(e,n,o,i){return e&&(e[n]||e(t,r))||o[n].slice(0,i)},p=function(e){return k.s(i%12||12,e,"0")},h=u||function(e,t,n){var r=e<12?"AM":"PM";return n?r.toLowerCase():r};return r.replace(m,(function(e,r){return r||function(e){switch(e){case"YY":return String(t.$y).slice(-2);case"YYYY":return k.s(t.$y,4,"0");case"M":return s+1;case"MM":return k.s(s+1,2,"0");case"MMM":return d(n.monthsShort,s,c,3);case"MMMM":return d(c,s);case"D":return t.$D;case"DD":return k.s(t.$D,2,"0");case"d":return String(t.$W);case"dd":return d(n.weekdaysMin,t.$W,l,2);case"ddd":return d(n.weekdaysShort,t.$W,l,3);case"dddd":return l[t.$W];case"H":return String(i);case"HH":return k.s(i,2,"0");case"h":return p(1);case"hh":return p(2);case"a":return h(i,a,!0);case"A":return h(i,a,!1);case"m":return String(a);case"mm":return k.s(a,2,"0");case"s":return String(t.$s);case"ss":return k.s(t.$s,2,"0");case"SSS":return k.s(t.$ms,3,"0");case"Z":return o}return null}(e)||o.replace(":","")}))},v.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},v.diff=function(r,p,f){var h,m=this,g=k.p(p),v=S(r),y=(v.utcOffset()-this.utcOffset())*t,b=this-v,x=function(){return k.m(m,v)};switch(g){case d:h=x()/12;break;case c:h=x();break;case u:h=x()/3;break;case l:h=(b-y)/6048e5;break;case s:h=(b-y)/864e5;break;case a:h=b/n;break;case i:h=b/t;break;case o:h=b/e;break;default:h=b}return f?h:k.a(h)},v.daysInMonth=function(){return this.endOf(c).$D},v.$locale=function(){return x[this.$L]},v.locale=function(e,t){if(!e)return this.$L;var n=this.clone(),r=_(e,t,!0);return r&&(n.$L=r),n},v.clone=function(){return k.w(this.$d,this)},v.toDate=function(){return new Date(this.valueOf())},v.toJSON=function(){return this.isValid()?this.toISOString():null},v.toISOString=function(){return this.$d.toISOString()},v.toString=function(){return this.$d.toUTCString()},g}(),T=C.prototype;return S.prototype=T,[["$ms",r],["$s",o],["$m",i],["$H",a],["$W",s],["$M",c],["$y",d],["$D",p]].forEach((function(e){T[e[1]]=function(t){return this.$g(t,e[0],e[1])}})),S.extend=function(e,t){return e.$i||(e(t,C,S),e.$i=!0),S},S.locale=_,S.isDayjs=A,S.unix=function(e){return S(1e3*e)},S.en=x[b],S.Ls=x,S.p={},S}()},65826:function(e){e.exports=function(){"use strict";return{name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(e){var t=["th","st","nd","rd"],n=e%100;return"["+e+(t[(n-20)%10]||t[n]||t[0])+"]"}}}()},63225:function(e,t,n){e.exports=function(e){"use strict";function t(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var n=t(e);function r(e){return e%10<5&&e%10>1&&~~(e/10)%10!=1}function o(e,t,n){var o=e+" ";switch(n){case"m":return t?"minuta":"minutÄ™";case"mm":return o+(r(e)?"minuty":"minut");case"h":return t?"godzina":"godzinÄ™";case"hh":return o+(r(e)?"godziny":"godzin");case"MM":return o+(r(e)?"miesiÄ…ce":"miesiÄ™cy");case"yy":return o+(r(e)?"lata":"lat")}}var i="stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_wrzeÅ›nia_października_listopada_grudnia".split("_"),a="styczeÅ„_luty_marzec_kwiecieÅ„_maj_czerwiec_lipiec_sierpieÅ„_wrzesieÅ„_październik_listopad_grudzieÅ„".split("_"),s=/D MMMM/,l=function(e,t){return s.test(t)?i[e.month()]:a[e.month()]};l.s=a,l.f=i;var c={name:"pl",weekdays:"niedziela_poniedziaÅ‚ek_wtorek_Å›roda_czwartek_piÄ…tek_sobota".split("_"),weekdaysShort:"ndz_pon_wt_Å›r_czw_pt_sob".split("_"),weekdaysMin:"Nd_Pn_Wt_Åšr_Cz_Pt_So".split("_"),months:l,monthsShort:"sty_lut_mar_kwi_maj_cze_lip_sie_wrz_paź_lis_gru".split("_"),ordinal:function(e){return e+"."},weekStart:1,yearStart:4,relativeTime:{future:"za %s",past:"%s temu",s:"kilka sekund",m:o,mm:o,h:o,hh:o,d:"1 dzieÅ„",dd:"%d dni",M:"miesiÄ…c",MM:o,y:"rok",yy:o},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"}};return n.default.locale(c,null,!0),c}(n(74353))},97375:function(e){e.exports=function(){"use strict";return function(e,t){var n=t.prototype,r=n.format;n.format=function(e){var t=this,n=this.$locale();if(!this.isValid())return r.bind(this)(e);var o=this.$utils(),i=(e||"YYYY-MM-DDTHH:mm:ssZ").replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g,(function(e){switch(e){case"Q":return Math.ceil((t.$M+1)/3);case"Do":return n.ordinal(t.$D);case"gggg":return t.weekYear();case"GGGG":return t.isoWeekYear();case"wo":return n.ordinal(t.week(),"W");case"w":case"ww":return o.s(t.week(),"w"===e?1:2,"0");case"W":case"WW":return o.s(t.isoWeek(),"W"===e?1:2,"0");case"k":case"kk":return o.s(String(0===t.$H?24:t.$H),"k"===e?1:2,"0");case"X":return Math.floor(t.$d.getTime()/1e3);case"x":return t.$d.getTime();case"z":return"["+t.offsetName()+"]";case"zzz":return"["+t.offsetName("long")+"]";default:return e}}));return r.bind(this)(i)}}}()},90445:function(e){e.exports=function(){"use strict";var e={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},t=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|YYYY|YY?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,n=/\d\d/,r=/\d\d?/,o=/\d*[^-_:/,()\s\d]+/,i={},a=function(e){return(e=+e)+(e>68?1900:2e3)},s=function(e){return function(t){this[e]=+t}},l=[/[+-]\d\d:?(\d\d)?|Z/,function(e){(this.zone||(this.zone={})).offset=function(e){if(!e)return 0;if("Z"===e)return 0;var t=e.match(/([+-]|\d\d)/g),n=60*t[1]+(+t[2]||0);return 0===n?0:"+"===t[0]?-n:n}(e)}],c=function(e){var t=i[e];return t&&(t.indexOf?t:t.s.concat(t.f))},u=function(e,t){var n,r=i.meridiem;if(r){for(var o=1;o<=24;o+=1)if(e.indexOf(r(o,0,t))>-1){n=o>12;break}}else n=e===(t?"pm":"PM");return n},d={A:[o,function(e){this.afternoon=u(e,!1)}],a:[o,function(e){this.afternoon=u(e,!0)}],S:[/\d/,function(e){this.milliseconds=100*+e}],SS:[n,function(e){this.milliseconds=10*+e}],SSS:[/\d{3}/,function(e){this.milliseconds=+e}],s:[r,s("seconds")],ss:[r,s("seconds")],m:[r,s("minutes")],mm:[r,s("minutes")],H:[r,s("hours")],h:[r,s("hours")],HH:[r,s("hours")],hh:[r,s("hours")],D:[r,s("day")],DD:[n,s("day")],Do:[o,function(e){var t=i.ordinal,n=e.match(/\d+/);if(this.day=n[0],t)for(var r=1;r<=31;r+=1)t(r).replace(/\[|\]/g,"")===e&&(this.day=r)}],M:[r,s("month")],MM:[n,s("month")],MMM:[o,function(e){var t=c("months"),n=(c("monthsShort")||t.map((function(e){return e.slice(0,3)}))).indexOf(e)+1;if(n<1)throw new Error;this.month=n%12||n}],MMMM:[o,function(e){var t=c("months").indexOf(e)+1;if(t<1)throw new Error;this.month=t%12||t}],Y:[/[+-]?\d+/,s("year")],YY:[n,function(e){this.year=a(e)}],YYYY:[/\d{4}/,s("year")],Z:l,ZZ:l};function p(n){var r,o;r=n,o=i&&i.formats;for(var a=(n=r.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,(function(t,n,r){var i=r&&r.toUpperCase();return n||o[r]||e[r]||o[i].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(e,t,n){return t||n.slice(1)}))}))).match(t),s=a.length,l=0;l<s;l+=1){var c=a[l],u=d[c],p=u&&u[0],f=u&&u[1];a[l]=f?{regex:p,parser:f}:c.replace(/^\[|\]$/g,"")}return function(e){for(var t={},n=0,r=0;n<s;n+=1){var o=a[n];if("string"==typeof o)r+=o.length;else{var i=o.regex,l=o.parser,c=e.slice(r),u=i.exec(c)[0];l.call(t,u),e=e.replace(u,"")}}return function(e){var t=e.afternoon;if(void 0!==t){var n=e.hours;t?n<12&&(e.hours+=12):12===n&&(e.hours=0),delete e.afternoon}}(t),t}}return function(e,t,n){n.p.customParseFormat=!0,e&&e.parseTwoDigitYear&&(a=e.parseTwoDigitYear);var r=t.prototype,o=r.parse;r.parse=function(e){var t=e.date,r=e.utc,a=e.args;this.$u=r;var s=a[1];if("string"==typeof s){var l=!0===a[2],c=!0===a[3],u=l||c,d=a[2];c&&(d=a[2]),i=this.$locale(),!l&&d&&(i=n.Ls[d]),this.$d=function(e,t,n){try{if(["x","X"].indexOf(t)>-1)return new Date(("X"===t?1e3:1)*e);var r=p(t)(e),o=r.year,i=r.month,a=r.day,s=r.hours,l=r.minutes,c=r.seconds,u=r.milliseconds,d=r.zone,f=new Date,h=a||(o||i?1:f.getDate()),m=o||f.getFullYear(),g=0;o&&!i||(g=i>0?i-1:f.getMonth());var v=s||0,y=l||0,b=c||0,x=u||0;return d?new Date(Date.UTC(m,g,h,v,y,b,x+60*d.offset*1e3)):n?new Date(Date.UTC(m,g,h,v,y,b,x)):new Date(m,g,h,v,y,b,x)}catch(e){return new Date("")}}(t,s,r),this.init(),d&&!0!==d&&(this.$L=this.locale(d).$L),u&&t!=this.format(s)&&(this.$d=new Date("")),i={}}else if(s instanceof Array)for(var f=s.length,h=1;h<=f;h+=1){a[1]=s[h-1];var m=n.apply(this,a);if(m.isValid()){this.$d=m.$d,this.$L=m.$L,this.init();break}h===f&&(this.$d=new Date(""))}else o.call(this,e)}}}()},37872:function(e){e.exports=function(){"use strict";return function(e,t,n){t.prototype.isBetween=function(e,t,r,o){var i=n(e),a=n(t),s="("===(o=o||"()")[0],l=")"===o[1];return(s?this.isAfter(i,r):!this.isBefore(i,r))&&(l?this.isBefore(a,r):!this.isAfter(a,r))||(s?this.isBefore(i,r):!this.isAfter(i,r))&&(l?this.isAfter(a,r):!this.isBefore(a,r))}}}()},15750:function(e){e.exports=function(){"use strict";var e={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};return function(t,n,r){var o=n.prototype,i=o.format;r.en.formats=e,o.format=function(t){void 0===t&&(t="YYYY-MM-DDTHH:mm:ssZ");var n=this.$locale().formats,r=function(t,n){return t.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,(function(t,r,o){var i=o&&o.toUpperCase();return r||n[o]||e[o]||n[i].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(e,t,n){return t||n.slice(1)}))}))}(t,void 0===n?{}:n);return i.call(this,r)}}}()},8134:function(e){e.exports=function(){"use strict";var e="week",t="year";return function(n,r,o){var i=r.prototype;i.week=function(n){if(void 0===n&&(n=null),null!==n)return this.add(7*(n-this.week()),"day");var r=this.$locale().yearStart||1;if(11===this.month()&&this.date()>25){var i=o(this).startOf(t).add(1,t).date(r),a=o(this).endOf(e);if(i.isBefore(a))return 1}var s=o(this).startOf(t).date(r).startOf(e).subtract(1,"millisecond"),l=this.diff(s,e,!0);return l<0?o(this).startOf("week").week():Math.ceil(l)},i.weeks=function(e){return void 0===e&&(e=null),this.week(e)}}}()},51548:function(e,t){!function(e){"use strict";function t(e){return function(t,n,r,o,i,a,s){return e(t,n,s)}}function n(e){return function(t,n,r,o){if(!t||!n||"object"!=typeof t||"object"!=typeof n)return e(t,n,r,o);var i=o.get(t),a=o.get(n);if(i&&a)return i===n&&a===t;o.set(t,n),o.set(n,t);var s=e(t,n,r,o);return o.delete(t),o.delete(n),s}}function r(e,t){var n={};for(var r in e)n[r]=e[r];for(var r in t)n[r]=t[r];return n}function o(e){return e.constructor===Object||null==e.constructor}function i(e){return"function"==typeof e.then}function a(e,t){return e===t||e!=e&&t!=t}var s="[object Arguments]",l="[object Boolean]",c="[object Date]",u="[object RegExp]",d="[object Map]",p="[object Number]",f="[object Object]",h="[object Set]",m="[object String]",g=Object.prototype.toString;function v(e){var t=e.areArraysEqual,n=e.areDatesEqual,r=e.areMapsEqual,v=e.areObjectsEqual,y=e.areRegExpsEqual,b=e.areSetsEqual,x=(0,e.createIsNestedEqual)(w);function w(e,w,A){if(e===w)return!0;if(!e||!w||"object"!=typeof e||"object"!=typeof w)return e!=e&&w!=w;if(o(e)&&o(w))return v(e,w,x,A);var _=Array.isArray(e),S=Array.isArray(w);if(_||S)return _===S&&t(e,w,x,A);var k=g.call(e);return k===g.call(w)&&(k===c?n(e,w,x,A):k===u?y(e,w,x,A):k===d?r(e,w,x,A):k===h?b(e,w,x,A):k===f||k===s?!i(e)&&!i(w)&&v(e,w,x,A):(k===l||k===p||k===m)&&a(e.valueOf(),w.valueOf()))}return w}function y(e,t,n,r){var o=e.length;if(t.length!==o)return!1;for(;o-- >0;)if(!n(e[o],t[o],o,o,e,t,r))return!1;return!0}var b=n(y);function x(e,t){return a(e.valueOf(),t.valueOf())}function w(e,t,n,r){var o=e.size===t.size;if(!o)return!1;if(!e.size)return!0;var i={},a=0;return e.forEach((function(s,l){if(o){var c=!1,u=0;t.forEach((function(o,d){c||i[u]||!(c=n(l,d,a,u,e,t,r)&&n(s,o,l,d,e,t,r))||(i[u]=!0),u++})),a++,o=c}})),o}var A=n(w),_="_owner",S=Object.prototype.hasOwnProperty;function k(e,t,n,r){var o,i=Object.keys(e),a=i.length;if(Object.keys(t).length!==a)return!1;for(;a-- >0;){if((o=i[a])===_){var s=!!e.$$typeof,l=!!t.$$typeof;if((s||l)&&s!==l)return!1}if(!S.call(t,o)||!n(e[o],t[o],o,o,e,t,r))return!1}return!0}var C=n(k);function T(e,t){return e.source===t.source&&e.flags===t.flags}function M(e,t,n,r){var o=e.size===t.size;if(!o)return!1;if(!e.size)return!0;var i={};return e.forEach((function(a,s){if(o){var l=!1,c=0;t.forEach((function(o,u){l||i[c]||!(l=n(a,o,s,u,e,t,r))||(i[c]=!0),c++})),o=l}})),o}var P=n(M),O=Object.freeze({areArraysEqual:y,areDatesEqual:x,areMapsEqual:w,areObjectsEqual:k,areRegExpsEqual:T,areSetsEqual:M,createIsNestedEqual:t}),E=Object.freeze({areArraysEqual:b,areDatesEqual:x,areMapsEqual:A,areObjectsEqual:C,areRegExpsEqual:T,areSetsEqual:P,createIsNestedEqual:t}),D=v(O);function R(e,t){return D(e,t,void 0)}var I=v(r(O,{createIsNestedEqual:function(){return a}}));function N(e,t){return I(e,t,void 0)}var L=v(E);function j(e,t){return L(e,t,new WeakMap)}var $=v(r(E,{createIsNestedEqual:function(){return a}}));function z(e,t){return $(e,t,new WeakMap)}function F(e){return v(r(O,e(O)))}function B(e){var t=v(r(E,e(E)));return function(e,n,r){return void 0===r&&(r=new WeakMap),t(e,n,r)}}e.circularDeepEqual=j,e.circularShallowEqual=z,e.createCustomCircularEqual=B,e.createCustomEqual=F,e.deepEqual=R,e.sameValueZeroEqual=a,e.shallowEqual=N,Object.defineProperty(e,"__esModule",{value:!0})}(t)},47331:function(e,t,n){var r,o,i;i=function(){var e,t={defaultRadius:40,defaultRenderer:"canvas2d",defaultGradient:{.25:"rgb(0,0,255)",.55:"rgb(0,255,0)",.85:"yellow",1:"rgb(255,0,0)"},defaultMaxOpacity:1,defaultMinOpacity:0,defaultBlur:.85,defaultXField:"x",defaultYField:"y",defaultValueField:"value",plugins:{}},n=function(){var e=function(e){this._coordinator={},this._data=[],this._radi=[],this._min=10,this._max=1,this._xField=e.xField||e.defaultXField,this._yField=e.yField||e.defaultYField,this._valueField=e.valueField||e.defaultValueField,e.radius&&(this._cfgRadius=e.radius)},n=t.defaultRadius;return e.prototype={_organiseData:function(e,t){var r=e[this._xField],o=e[this._yField],i=this._radi,a=this._data,s=this._max,l=this._min,c=e[this._valueField]||1,u=e.radius||this._cfgRadius||n;a[r]||(a[r]=[],i[r]=[]),a[r][o]?a[r][o]+=c:(a[r][o]=c,i[r][o]=u);var d=a[r][o];return d>s?(t?this.setDataMax(d):this._max=d,!1):d<l?(t?this.setDataMin(d):this._min=d,!1):{x:r,y:o,value:c,radius:u,min:l,max:s}},_unOrganizeData:function(){var e=[],t=this._data,n=this._radi;for(var r in t)for(var o in t[r])e.push({x:r,y:o,radius:n[r][o],value:t[r][o]});return{min:this._min,max:this._max,data:e}},_onExtremaChange:function(){this._coordinator.emit("extremachange",{min:this._min,max:this._max})},addData:function(){if(arguments[0].length>0)for(var e=arguments[0],t=e.length;t--;)this.addData.call(this,e[t]);else{var n=this._organiseData(arguments[0],!0);n&&(0===this._data.length&&(this._min=this._max=n.value),this._coordinator.emit("renderpartial",{min:this._min,max:this._max,data:[n]}))}return this},setData:function(e){var t=e.data,n=t.length;this._data=[],this._radi=[];for(var r=0;r<n;r++)this._organiseData(t[r],!1);return this._max=e.max,this._min=e.min||0,this._onExtremaChange(),this._coordinator.emit("renderall",this._getInternalData()),this},removeData:function(){},setDataMax:function(e){return this._max=e,this._onExtremaChange(),this._coordinator.emit("renderall",this._getInternalData()),this},setDataMin:function(e){return this._min=e,this._onExtremaChange(),this._coordinator.emit("renderall",this._getInternalData()),this},setCoordinator:function(e){this._coordinator=e},_getInternalData:function(){return{max:this._max,min:this._min,data:this._data,radi:this._radi}},getData:function(){return this._unOrganizeData()}},e}(),r=function(){var e=function(e){var t=e.gradient||e.defaultGradient,n=document.createElement("canvas"),r=n.getContext("2d");n.width=256,n.height=1;var o=r.createLinearGradient(0,0,256,1);for(var i in t)o.addColorStop(i,t[i]);return r.fillStyle=o,r.fillRect(0,0,256,1),r.getImageData(0,0,256,1).data},t=function(e,t){var n=document.createElement("canvas"),r=n.getContext("2d"),o=e,i=e;if(n.width=n.height=2*e,1==t)r.beginPath(),r.arc(o,i,e,0,2*Math.PI,!1),r.fillStyle="rgba(0,0,0,1)",r.fill();else{var a=r.createRadialGradient(o,i,e*t,o,i,e);a.addColorStop(0,"rgba(0,0,0,1)"),a.addColorStop(1,"rgba(0,0,0,0)"),r.fillStyle=a,r.fillRect(0,0,2*e,2*e)}return n};function n(t){var n=t.container,r=this.shadowCanvas=document.createElement("canvas"),o=this.canvas=t.canvas||document.createElement("canvas"),i=(this._renderBoundaries=[1e4,1e4,0,0],getComputedStyle(t.container)||{});o.className="heatmap-canvas",this._width=o.width=r.width=t.width||+i.width.replace(/px/,""),this._height=o.height=r.height=t.height||+i.height.replace(/px/,""),this.shadowCtx=r.getContext("2d"),this.ctx=o.getContext("2d"),o.style.cssText=r.style.cssText="position:absolute;left:0;top:0;",n.style.position="relative",n.appendChild(o),this._palette=e(t),this._templates={},this._setStyles(t)}return n.prototype={renderPartial:function(e){e.data.length>0&&(this._drawAlpha(e),this._colorize())},renderAll:function(e){this._clear(),e.data.length>0&&(this._drawAlpha(function(e){for(var t=[],n=e.min,r=e.max,o=e.radi,i=(e=e.data,Object.keys(e)),a=i.length;a--;)for(var s=i[a],l=Object.keys(e[s]),c=l.length;c--;){var u=l[c],d=e[s][u],p=o[s][u];t.push({x:s,y:u,value:d,radius:p})}return{min:n,max:r,data:t}}(e)),this._colorize())},_updateGradient:function(t){this._palette=e(t)},updateConfig:function(e){e.gradient&&this._updateGradient(e),this._setStyles(e)},setDimensions:function(e,t){this._width=e,this._height=t,this.canvas.width=this.shadowCanvas.width=e,this.canvas.height=this.shadowCanvas.height=t},_clear:function(){this.shadowCtx.clearRect(0,0,this._width,this._height),this.ctx.clearRect(0,0,this._width,this._height)},_setStyles:function(e){this._blur=0==e.blur?0:e.blur||e.defaultBlur,e.backgroundColor&&(this.canvas.style.backgroundColor=e.backgroundColor),this._width=this.canvas.width=this.shadowCanvas.width=e.width||this._width,this._height=this.canvas.height=this.shadowCanvas.height=e.height||this._height,this._opacity=255*(e.opacity||0),this._maxOpacity=255*(e.maxOpacity||e.defaultMaxOpacity),this._minOpacity=255*(e.minOpacity||e.defaultMinOpacity),this._useGradientOpacity=!!e.useGradientOpacity},_drawAlpha:function(e){for(var n=this._min=e.min,r=this._max=e.max,o=(e=e.data||[]).length,i=1-this._blur;o--;){var a,s=e[o],l=s.x,c=s.y,u=s.radius,d=Math.min(s.value,r),p=l-u,f=c-u,h=this.shadowCtx;this._templates[u]?a=this._templates[u]:this._templates[u]=a=t(u,i);var m=(d-n)/(r-n);h.globalAlpha=m<.01?.01:m,h.drawImage(a,p,f),p<this._renderBoundaries[0]&&(this._renderBoundaries[0]=p),f<this._renderBoundaries[1]&&(this._renderBoundaries[1]=f),p+2*u>this._renderBoundaries[2]&&(this._renderBoundaries[2]=p+2*u),f+2*u>this._renderBoundaries[3]&&(this._renderBoundaries[3]=f+2*u)}},_colorize:function(){var e=this._renderBoundaries[0],t=this._renderBoundaries[1],n=this._renderBoundaries[2]-e,r=this._renderBoundaries[3]-t,o=this._width,i=this._height,a=this._opacity,s=this._maxOpacity,l=this._minOpacity,c=this._useGradientOpacity;e<0&&(e=0),t<0&&(t=0),e+n>o&&(n=o-e),t+r>i&&(r=i-t);for(var u=this.shadowCtx.getImageData(e,t,n,r),d=u.data,p=d.length,f=this._palette,h=3;h<p;h+=4){var m,g=d[h],v=4*g;v&&(m=a>0?a:g<s?g<l?l:g:s,d[h-3]=f[v],d[h-2]=f[v+1],d[h-1]=f[v+2],d[h]=c?f[v+3]:m)}u.data=d,this.ctx.putImageData(u,e,t),this._renderBoundaries=[1e3,1e3,0,0]},getValueAt:function(e){var t=this.shadowCtx.getImageData(e.x,e.y,1,1).data[3],n=this._max,r=this._min;return Math.abs(n-r)*(t/255)|0},getDataURL:function(){return this.canvas.toDataURL()}},n}(),o=(e=!1,"canvas2d"===t.defaultRenderer&&(e=r),e),i=function(){for(var e={},t=arguments.length,n=0;n<t;n++){var r=arguments[n];for(var o in r)e[o]=r[o]}return e},a=function(){var e=function(){function e(){this.cStore={}}return e.prototype={on:function(e,t,n){var r=this.cStore;r[e]||(r[e]=[]),r[e].push((function(e){return t.call(n,e)}))},emit:function(e,t){var n=this.cStore;if(n[e])for(var r=n[e].length,o=0;o<r;o++)(0,n[e][o])(t)}},e}();function r(){var r,a,s,l,c=this._config=i(t,arguments[0]||{});if(this._coordinator=new e,c.plugin){var u=c.plugin;if(!t.plugins[u])throw new Error("Plugin '"+u+"' not found. Maybe it was not registered.");var d=t.plugins[u];this._renderer=new d.renderer(c),this._store=new d.store(c)}else this._renderer=new o(c),this._store=new n(c);a=(r=this)._renderer,s=r._coordinator,l=r._store,s.on("renderpartial",a.renderPartial,a),s.on("renderall",a.renderAll,a),s.on("extremachange",(function(e){r._config.onExtremaChange&&r._config.onExtremaChange({min:e.min,max:e.max,gradient:r._config.gradient||r._config.defaultGradient})})),l.setCoordinator(s)}return r.prototype={addData:function(){return this._store.addData.apply(this._store,arguments),this},removeData:function(){return this._store.removeData&&this._store.removeData.apply(this._store,arguments),this},setData:function(){return this._store.setData.apply(this._store,arguments),this},setDataMax:function(){return this._store.setDataMax.apply(this._store,arguments),this},setDataMin:function(){return this._store.setDataMin.apply(this._store,arguments),this},configure:function(e){return this._config=i(this._config,e),this._renderer.updateConfig(this._config),this._coordinator.emit("renderall",this._store._getInternalData()),this},repaint:function(){return this._coordinator.emit("renderall",this._store._getInternalData()),this},getData:function(){return this._store.getData()},getDataURL:function(){return this._renderer.getDataURL()},getValueAt:function(e){return this._store.getValueAt?this._store.getValueAt(e):this._renderer.getValueAt?this._renderer.getValueAt(e):null}},r}();return{create:function(e){return new a(e)},register:function(e,n){t.plugins[e]=n}}},e.exports?e.exports=i():void 0===(o="function"==typeof(r=i)?r.call(t,n,t,e):r)||(e.exports=o)},4146:function(e,t,n){"use strict";var r=n(73404),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function l(e){return r.isMemo(e)?a:s[e.$$typeof]||o}s[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[r.Memo]=a;var c=Object.defineProperty,u=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,p=Object.getOwnPropertyDescriptor,f=Object.getPrototypeOf,h=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(h){var o=f(n);o&&o!==h&&e(t,o,r)}var a=u(n);d&&(a=a.concat(d(n)));for(var s=l(t),m=l(n),g=0;g<a.length;++g){var v=a[g];if(!(i[v]||r&&r[v]||m&&m[v]||s&&s[v])){var y=p(n,v);try{c(t,v,y)}catch(e){}}}}return t}},3072:function(e,t){"use strict";var n="function"==typeof Symbol&&Symbol.for,r=n?Symbol.for("react.element"):60103,o=n?Symbol.for("react.portal"):60106,i=n?Symbol.for("react.fragment"):60107,a=n?Symbol.for("react.strict_mode"):60108,s=n?Symbol.for("react.profiler"):60114,l=n?Symbol.for("react.provider"):60109,c=n?Symbol.for("react.context"):60110,u=n?Symbol.for("react.async_mode"):60111,d=n?Symbol.for("react.concurrent_mode"):60111,p=n?Symbol.for("react.forward_ref"):60112,f=n?Symbol.for("react.suspense"):60113,h=n?Symbol.for("react.suspense_list"):60120,m=n?Symbol.for("react.memo"):60115,g=n?Symbol.for("react.lazy"):60116,v=n?Symbol.for("react.block"):60121,y=n?Symbol.for("react.fundamental"):60117,b=n?Symbol.for("react.responder"):60118,x=n?Symbol.for("react.scope"):60119;function w(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case u:case d:case i:case s:case a:case f:return e;default:switch(e=e&&e.$$typeof){case c:case p:case g:case m:case l:return e;default:return t}}case o:return t}}}function A(e){return w(e)===d}t.AsyncMode=u,t.ConcurrentMode=d,t.ContextConsumer=c,t.ContextProvider=l,t.Element=r,t.ForwardRef=p,t.Fragment=i,t.Lazy=g,t.Memo=m,t.Portal=o,t.Profiler=s,t.StrictMode=a,t.Suspense=f,t.isAsyncMode=function(e){return A(e)||w(e)===u},t.isConcurrentMode=A,t.isContextConsumer=function(e){return w(e)===c},t.isContextProvider=function(e){return w(e)===l},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return w(e)===p},t.isFragment=function(e){return w(e)===i},t.isLazy=function(e){return w(e)===g},t.isMemo=function(e){return w(e)===m},t.isPortal=function(e){return w(e)===o},t.isProfiler=function(e){return w(e)===s},t.isStrictMode=function(e){return w(e)===a},t.isSuspense=function(e){return w(e)===f},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===i||e===d||e===s||e===a||e===f||e===h||"object"==typeof e&&null!==e&&(e.$$typeof===g||e.$$typeof===m||e.$$typeof===l||e.$$typeof===c||e.$$typeof===p||e.$$typeof===y||e.$$typeof===b||e.$$typeof===x||e.$$typeof===v)},t.typeOf=w},73404:function(e,t,n){"use strict";e.exports=n(3072)},70124:function(e){"use strict";var t,n=Object.defineProperty,r=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyNames,i=Object.prototype.hasOwnProperty,a={};((e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:!0})})(a,{Immer:()=>X,applyPatches:()=>ae,castDraft:()=>ce,castImmutable:()=>ue,createDraft:()=>se,current:()=>Z,enableMapSet:()=>ee,enablePatches:()=>Q,finishDraft:()=>le,freeze:()=>C,immerable:()=>l,isDraft:()=>p,isDraftable:()=>f,nothing:()=>s,original:()=>g,produce:()=>ne,produceWithPatches:()=>re,setAutoFreeze:()=>oe,setUseStrictShallowCopy:()=>ie}),e.exports=(t=a,((e,t,a,s)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let l of o(t))!i.call(e,l)&&l!==a&&n(e,l,{get:()=>t[l],enumerable:!(s=r(t,l))||s.enumerable});return e})(n({},"__esModule",{value:!0}),t));var s=Symbol.for("immer-nothing"),l=Symbol.for("immer-draftable"),c=Symbol.for("immer-state");function u(e,...t){throw new Error(`[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`)}var d=Object.getPrototypeOf;function p(e){return!!e&&!!e[c]}function f(e){return!!e&&(m(e)||Array.isArray(e)||!!e[l]||!!e.constructor?.[l]||A(e)||_(e))}var h=Object.prototype.constructor.toString();function m(e){if(!e||"object"!=typeof e)return!1;let t=d(e);if(null===t)return!0;let n=Object.hasOwnProperty.call(t,"constructor")&&t.constructor;return n===Object||"function"==typeof n&&Function.toString.call(n)===h}function g(e){return p(e)||u(15),e[c].t}function v(e,t){0===y(e)?Reflect.ownKeys(e).forEach((n=>{t(n,e[n],e)})):e.forEach(((n,r)=>t(r,n,e)))}function y(e){let t=e[c];return t?t.o:Array.isArray(e)?1:A(e)?2:_(e)?3:0}function b(e,t){return 2===y(e)?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function x(e,t){return 2===y(e)?e.get(t):e[t]}function w(e,t,n){let r=y(e);2===r?e.set(t,n):3===r?e.add(n):e[t]=n}function A(e){return e instanceof Map}function _(e){return e instanceof Set}function S(e){return e.e||e.t}function k(e,t){if(A(e))return new Map(e);if(_(e))return new Set(e);if(Array.isArray(e))return Array.prototype.slice.call(e);let n=m(e);if(!0===t||"class_only"===t&&!n){let t=Object.getOwnPropertyDescriptors(e);delete t[c];let n=Reflect.ownKeys(t);for(let r=0;r<n.length;r++){let o=n[r],i=t[o];!1===i.writable&&(i.writable=!0,i.configurable=!0),(i.get||i.set)&&(t[o]={configurable:!0,writable:!0,enumerable:i.enumerable,value:e[o]})}return Object.create(d(e),t)}{let t=d(e);if(null!==t&&n)return{...e};let r=Object.create(t);return Object.assign(r,e)}}function C(e,t=!1){return M(e)||p(e)||!f(e)||(y(e)>1&&(e.set=e.add=e.clear=e.delete=T),Object.freeze(e),t&&Object.entries(e).forEach((([e,t])=>C(t,!0)))),e}function T(){u(2)}function M(e){return Object.isFrozen(e)}var P,O={};function E(e){let t=O[e];return t||u(0),t}function D(e,t){O[e]||(O[e]=t)}function R(){return P}function I(e,t){t&&(E("Patches"),e.f=[],e.h=[],e.b=t)}function N(e){L(e),e.a.forEach($),e.a=null}function L(e){e===P&&(P=e.i)}function j(e){return P=function(e,t){return{a:[],i:e,p:t,P:!0,d:0}}(P,e)}function $(e){let t=e[c];0===t.o||1===t.o?t.x():t.m=!0}function z(e,t){t.d=t.a.length;let n=t.a[0];return void 0!==e&&e!==n?(n[c].s&&(N(t),u(4)),f(e)&&(e=F(t,e),t.i||H(t,e)),t.f&&E("Patches").T(n[c].t,e,t.f,t.h)):e=F(t,n,[]),N(t),t.f&&t.b(t.f,t.h),e!==s?e:void 0}function F(e,t,n){if(M(t))return t;let r=t[c];if(!r)return v(t,((o,i)=>B(e,r,t,o,i,n))),t;if(r.n!==e)return t;if(!r.s)return H(e,r.t,!0),r.t;if(!r.c){r.c=!0,r.n.d--;let t=r.e,o=t,i=!1;3===r.o&&(o=new Set(t),t.clear(),i=!0),v(o,((o,a)=>B(e,r,t,o,a,n,i))),H(e,t,!1),n&&e.f&&E("Patches").g(r,n,e.f,e.h)}return r.e}function B(e,t,n,r,o,i,a){if(p(o)){let a=F(e,o,i&&t&&3!==t.o&&!b(t.r,r)?i.concat(r):void 0);if(w(n,r,a),!p(a))return;e.P=!1}else a&&n.add(o);if(f(o)&&!M(o)){if(!e.p.y&&e.d<1)return;F(e,o),(!t||!t.n.i)&&"symbol"!=typeof r&&Object.prototype.propertyIsEnumerable.call(n,r)&&H(e,o)}}function H(e,t,n=!1){!e.i&&e.p.y&&e.P&&C(t,n)}var V={get(e,t){if(t===c)return e;let n=S(e);if(!b(n,t))return function(e,t,n){let r=q(t,n);return r?"value"in r?r.value:r.get?.call(e.u):void 0}(e,n,t);let r=n[t];return e.c||!f(r)?r:r===U(e.t,t)?(Y(e),e.e[t]=K(r,e)):r},has(e,t){return t in S(e)},ownKeys(e){return Reflect.ownKeys(S(e))},set(e,t,n){let r=q(S(e),t);if(r?.set)return r.set.call(e.u,n),!0;if(!e.s){let r=U(S(e),t),o=r?.[c];if(o&&o.t===n)return e.e[t]=n,e.r[t]=!1,!0;if(function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}(n,r)&&(void 0!==n||b(e.t,t)))return!0;Y(e),G(e)}return e.e[t]===n&&(void 0!==n||t in e.e)||Number.isNaN(n)&&Number.isNaN(e.e[t])||(e.e[t]=n,e.r[t]=!0),!0},deleteProperty(e,t){return void 0!==U(e.t,t)||t in e.t?(e.r[t]=!1,Y(e),G(e)):delete e.r[t],e.e&&delete e.e[t],!0},getOwnPropertyDescriptor(e,t){let n=S(e),r=Reflect.getOwnPropertyDescriptor(n,t);return r&&{writable:!0,configurable:1!==e.o||"length"!==t,enumerable:r.enumerable,value:n[t]}},defineProperty(){u(11)},getPrototypeOf(e){return d(e.t)},setPrototypeOf(){u(12)}},W={};function U(e,t){let n=e[c];return(n?S(n):e)[t]}function q(e,t){if(!(t in e))return;let n=d(e);for(;n;){let e=Object.getOwnPropertyDescriptor(n,t);if(e)return e;n=d(n)}}function G(e){e.s||(e.s=!0,e.i&&G(e.i))}function Y(e){e.e||(e.e=k(e.t,e.n.p.S))}v(V,((e,t)=>{W[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}})),W.deleteProperty=function(e,t){return W.set.call(this,e,t,void 0)},W.set=function(e,t,n){return V.set.call(this,e[0],t,n,e[0])};var X=class{constructor(e){this.y=!0,this.S=!1,this.produce=(e,t,n)=>{if("function"==typeof e&&"function"!=typeof t){let n=t;t=e;let r=this;return function(e=n,...o){return r.produce(e,(e=>t.call(this,e,...o)))}}let r;if("function"!=typeof t&&u(6),void 0!==n&&"function"!=typeof n&&u(7),f(e)){let o=j(this),i=K(e,void 0),a=!0;try{r=t(i),a=!1}finally{a?N(o):L(o)}return I(o,n),z(r,o)}if(!e||"object"!=typeof e){if(r=t(e),void 0===r&&(r=e),r===s&&(r=void 0),this.y&&C(r,!0),n){let t=[],o=[];E("Patches").T(e,r,t,o),n(t,o)}return r}u(1)},this.produceWithPatches=(e,t)=>{if("function"==typeof e)return(t,...n)=>this.produceWithPatches(t,(t=>e(t,...n)));let n,r;return[this.produce(e,t,((e,t)=>{n=e,r=t})),n,r]},"boolean"==typeof e?.autoFreeze&&this.setAutoFreeze(e.autoFreeze),"boolean"==typeof e?.useStrictShallowCopy&&this.setUseStrictShallowCopy(e.useStrictShallowCopy)}createDraft(e){f(e)||u(8),p(e)&&(e=Z(e));let t=j(this),n=K(e,void 0);return n[c].l=!0,L(t),n}finishDraft(e,t){let n=e&&e[c];(!n||!n.l)&&u(9);let{n:r}=n;return I(r,t),z(void 0,r)}setAutoFreeze(e){this.y=e}setUseStrictShallowCopy(e){this.S=e}applyPatches(e,t){let n;for(n=t.length-1;n>=0;n--){let r=t[n];if(0===r.path.length&&"replace"===r.op){e=r.value;break}}n>-1&&(t=t.slice(n+1));let r=E("Patches").A;return p(e)?r(e,t):this.produce(e,(e=>r(e,t)))}};function K(e,t){let n=A(e)?E("MapSet").I(e,t):_(e)?E("MapSet").D(e,t):function(e,t){let n=Array.isArray(e),r={o:n?1:0,n:t?t.n:R(),s:!1,c:!1,r:{},i:t,t:e,u:null,e:null,x:null,l:!1},o=r,i=V;n&&(o=[r],i=W);let{revoke:a,proxy:s}=Proxy.revocable(o,i);return r.u=s,r.x=a,s}(e,t);return(t?t.n:R()).a.push(n),n}function Z(e){return p(e)||u(10),J(e)}function J(e){if(!f(e)||M(e))return e;let t,n=e[c];if(n){if(!n.s)return n.t;n.c=!0,t=k(e,n.n.p.S)}else t=k(e,!0);return v(t,((e,n)=>{w(t,e,J(n))})),n&&(n.c=!1),t}function Q(){let e="replace",t="add",n="remove";function r(e){if(!f(e))return e;if(Array.isArray(e))return e.map(r);if(A(e))return new Map(Array.from(e.entries()).map((([e,t])=>[e,r(t)])));if(_(e))return new Set(Array.from(e).map(r));let t=Object.create(d(e));for(let n in e)t[n]=r(e[n]);return b(e,l)&&(t[l]=e[l]),t}function o(e){return p(e)?r(e):e}D("Patches",{A:function(o,i){return i.forEach((i=>{let{path:a,op:s}=i,l=o;for(let e=0;e<a.length-1;e++){let t=y(l),n=a[e];"string"!=typeof n&&"number"!=typeof n&&(n=""+n),(0===t||1===t)&&("__proto__"===n||"constructor"===n)&&u(19),"function"==typeof l&&"prototype"===n&&u(19),l=x(l,n),"object"!=typeof l&&u(18,a.join("/"))}let c=y(l),d=r(i.value),p=a[a.length-1];switch(s){case e:switch(c){case 2:return l.set(p,d);case 3:u(16);default:return l[p]=d}case t:switch(c){case 1:return"-"===p?l.push(d):l.splice(p,0,d);case 2:return l.set(p,d);case 3:return l.add(d);default:return l[p]=d}case n:switch(c){case 1:return l.splice(p,1);case 2:return l.delete(p);case 3:return l.delete(i.value);default:return delete l[p]}default:u(17)}})),o},g:function(r,i,a,s){switch(r.o){case 0:case 2:return function(r,i,a,s){let{t:l,e:c}=r;v(r.r,((r,u)=>{let d=x(l,r),p=x(c,r),f=u?b(l,r)?e:t:n;if(d===p&&f===e)return;let h=i.concat(r);a.push(f===n?{op:f,path:h}:{op:f,path:h,value:p}),s.push(f===t?{op:n,path:h}:f===n?{op:t,path:h,value:o(d)}:{op:e,path:h,value:o(d)})}))}(r,i,a,s);case 1:return function(r,i,a,s){let{t:l,r:c}=r,u=r.e;u.length<l.length&&([l,u]=[u,l],[a,s]=[s,a]);for(let t=0;t<l.length;t++)if(c[t]&&u[t]!==l[t]){let n=i.concat([t]);a.push({op:e,path:n,value:o(u[t])}),s.push({op:e,path:n,value:o(l[t])})}for(let e=l.length;e<u.length;e++){let n=i.concat([e]);a.push({op:t,path:n,value:o(u[e])})}for(let e=u.length-1;l.length<=e;--e){let t=i.concat([e]);s.push({op:n,path:t})}}(r,i,a,s);case 3:return function(e,r,o,i){let{t:a,e:s}=e,l=0;a.forEach((e=>{if(!s.has(e)){let a=r.concat([l]);o.push({op:n,path:a,value:e}),i.unshift({op:t,path:a,value:e})}l++})),l=0,s.forEach((e=>{if(!a.has(e)){let a=r.concat([l]);o.push({op:t,path:a,value:e}),i.unshift({op:n,path:a,value:e})}l++}))}(r,i,a,s)}},T:function(t,n,r,o){r.push({op:e,path:[],value:n===s?void 0:n}),o.push({op:e,path:[],value:t})}})}function ee(){class e extends Map{constructor(e,t){super(),this[c]={o:2,i:t,n:t?t.n:R(),s:!1,c:!1,e:void 0,r:void 0,t:e,u:this,l:!1,m:!1}}get size(){return S(this[c]).size}has(e){return S(this[c]).has(e)}set(e,n){let r=this[c];return o(r),(!S(r).has(e)||S(r).get(e)!==n)&&(t(r),G(r),r.r.set(e,!0),r.e.set(e,n),r.r.set(e,!0)),this}delete(e){if(!this.has(e))return!1;let n=this[c];return o(n),t(n),G(n),n.t.has(e)?n.r.set(e,!1):n.r.delete(e),n.e.delete(e),!0}clear(){let e=this[c];o(e),S(e).size&&(t(e),G(e),e.r=new Map,v(e.t,(t=>{e.r.set(t,!1)})),e.e.clear())}forEach(e,t){S(this[c]).forEach(((n,r,o)=>{e.call(t,this.get(r),r,this)}))}get(e){let n=this[c];o(n);let r=S(n).get(e);if(n.c||!f(r)||r!==n.t.get(e))return r;let i=K(r,n);return t(n),n.e.set(e,i),i}keys(){return S(this[c]).keys()}values(){let e=this.keys();return{[Symbol.iterator]:()=>this.values(),next:()=>{let t=e.next();return t.done?t:{done:!1,value:this.get(t.value)}}}}entries(){let e=this.keys();return{[Symbol.iterator]:()=>this.entries(),next:()=>{let t=e.next();if(t.done)return t;let n=this.get(t.value);return{done:!1,value:[t.value,n]}}}}[Symbol.iterator](){return this.entries()}}function t(e){e.e||(e.r=new Map,e.e=new Map(e.t))}class n extends Set{constructor(e,t){super(),this[c]={o:3,i:t,n:t?t.n:R(),s:!1,c:!1,e:void 0,t:e,u:this,a:new Map,m:!1,l:!1}}get size(){return S(this[c]).size}has(e){let t=this[c];return o(t),t.e?!!(t.e.has(e)||t.a.has(e)&&t.e.has(t.a.get(e))):t.t.has(e)}add(e){let t=this[c];return o(t),this.has(e)||(r(t),G(t),t.e.add(e)),this}delete(e){if(!this.has(e))return!1;let t=this[c];return o(t),r(t),G(t),t.e.delete(e)||!!t.a.has(e)&&t.e.delete(t.a.get(e))}clear(){let e=this[c];o(e),S(e).size&&(r(e),G(e),e.e.clear())}values(){let e=this[c];return o(e),r(e),e.e.values()}entries(){let e=this[c];return o(e),r(e),e.e.entries()}keys(){return this.values()}[Symbol.iterator](){return this.values()}forEach(e,t){let n=this.values(),r=n.next();for(;!r.done;)e.call(t,r.value,r.value,this),r=n.next()}}function r(e){e.e||(e.e=new Set,e.t.forEach((t=>{if(f(t)){let n=K(t,e);e.a.set(t,n),e.e.add(n)}else e.e.add(t)})))}function o(e){e.m&&u(3,JSON.stringify(S(e)))}D("MapSet",{I:function(t,n){return new e(t,n)},D:function(e,t){return new n(e,t)}})}var te=new X,ne=te.produce,re=te.produceWithPatches.bind(te),oe=te.setAutoFreeze.bind(te),ie=te.setUseStrictShallowCopy.bind(te),ae=te.applyPatches.bind(te),se=te.createDraft.bind(te),le=te.finishDraft.bind(te);function ce(e){return e}function ue(e){return e}},89407:function(e,t,n){"use strict";e.exports=n(70124)},94175:function(e,t,n){"use strict";var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o="object"===("undefined"==typeof window?"undefined":r(window))&&"object"===("undefined"==typeof document?"undefined":r(document))&&9===document.nodeType;t.A=o},99660:function(e,t,n){var r,o,i;!function(){"use strict";o=[n(74692)],r=function(e){e.ui=e.ui||{};e.ui.version="1.13.3";var t=0,n=Array.prototype.hasOwnProperty,r=Array.prototype.slice;e.cleanData=(o=e.cleanData,function(t){var n,r,i;for(i=0;null!=(r=t[i]);i++)(n=e._data(r,"events"))&&n.remove&&e(r).triggerHandler("remove");o(t)}),e.widget=function(t,n,r){var o,i,a,s={},l=t.split(".")[0],c=l+"-"+(t=t.split(".")[1]);return r||(r=n,n=e.Widget),Array.isArray(r)&&(r=e.extend.apply(null,[{}].concat(r))),e.expr.pseudos[c.toLowerCase()]=function(t){return!!e.data(t,c)},e[l]=e[l]||{},o=e[l][t],i=e[l][t]=function(e,t){if(!this||!this._createWidget)return new i(e,t);arguments.length&&this._createWidget(e,t)},e.extend(i,o,{version:r.version,_proto:e.extend({},r),_childConstructors:[]}),(a=new n).options=e.widget.extend({},a.options),e.each(r,(function(e,t){s[e]="function"==typeof t?function(){function r(){return n.prototype[e].apply(this,arguments)}function o(t){return n.prototype[e].apply(this,t)}return function(){var e,n=this._super,i=this._superApply;return this._super=r,this._superApply=o,e=t.apply(this,arguments),this._super=n,this._superApply=i,e}}():t})),i.prototype=e.widget.extend(a,{widgetEventPrefix:o&&a.widgetEventPrefix||t},s,{constructor:i,namespace:l,widgetName:t,widgetFullName:c}),o?(e.each(o._childConstructors,(function(t,n){var r=n.prototype;e.widget(r.namespace+"."+r.widgetName,i,n._proto)})),delete o._childConstructors):n._childConstructors.push(i),e.widget.bridge(t,i),i},e.widget.extend=function(t){for(var o,i,a=r.call(arguments,1),s=0,l=a.length;s<l;s++)for(o in a[s])i=a[s][o],n.call(a[s],o)&&void 0!==i&&(e.isPlainObject(i)?t[o]=e.isPlainObject(t[o])?e.widget.extend({},t[o],i):e.widget.extend({},i):t[o]=i);return t},e.widget.bridge=function(t,n){var o=n.prototype.widgetFullName||t;e.fn[t]=function(i){var a="string"==typeof i,s=r.call(arguments,1),l=this;return a?this.length||"instance"!==i?this.each((function(){var n,r=e.data(this,o);return"instance"===i?(l=r,!1):r?"function"!=typeof r[i]||"_"===i.charAt(0)?e.error("no such method '"+i+"' for "+t+" widget instance"):(n=r[i].apply(r,s))!==r&&void 0!==n?(l=n&&n.jquery?l.pushStack(n.get()):n,!1):void 0:e.error("cannot call methods on "+t+" prior to initialization; attempted to call method '"+i+"'")})):l=void 0:(s.length&&(i=e.widget.extend.apply(null,[i].concat(s))),this.each((function(){var t=e.data(this,o);t?(t.option(i||{}),t._init&&t._init()):e.data(this,o,new n(i,this))}))),l}},e.Widget=function(){},e.Widget._childConstructors=[],e.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",defaultElement:"<div>",options:{classes:{},disabled:!1,create:null},_createWidget:function(n,r){r=e(r||this.defaultElement||this)[0],this.element=e(r),this.uuid=t++,this.eventNamespace="."+this.widgetName+this.uuid,this.bindings=e(),this.hoverable=e(),this.focusable=e(),this.classesElementLookup={},r!==this&&(e.data(r,this.widgetFullName,this),this._on(!0,this.element,{remove:function(e){e.target===r&&this.destroy()}}),this.document=e(r.style?r.ownerDocument:r.document||r),this.window=e(this.document[0].defaultView||this.document[0].parentWindow)),this.options=e.widget.extend({},this.options,this._getCreateOptions(),n),this._create(),this.options.disabled&&this._setOptionDisabled(this.options.disabled),this._trigger("create",null,this._getCreateEventData()),this._init()},_getCreateOptions:function(){return{}},_getCreateEventData:e.noop,_create:e.noop,_init:e.noop,destroy:function(){var t=this;this._destroy(),e.each(this.classesElementLookup,(function(e,n){t._removeClass(n,e)})),this.element.off(this.eventNamespace).removeData(this.widgetFullName),this.widget().off(this.eventNamespace).removeAttr("aria-disabled"),this.bindings.off(this.eventNamespace)},_destroy:e.noop,widget:function(){return this.element},option:function(t,n){var r,o,i,a=t;if(0===arguments.length)return e.widget.extend({},this.options);if("string"==typeof t)if(a={},r=t.split("."),t=r.shift(),r.length){for(o=a[t]=e.widget.extend({},this.options[t]),i=0;i<r.length-1;i++)o[r[i]]=o[r[i]]||{},o=o[r[i]];if(t=r.pop(),1===arguments.length)return void 0===o[t]?null:o[t];o[t]=n}else{if(1===arguments.length)return void 0===this.options[t]?null:this.options[t];a[t]=n}return this._setOptions(a),this},_setOptions:function(e){var t;for(t in e)this._setOption(t,e[t]);return this},_setOption:function(e,t){return"classes"===e&&this._setOptionClasses(t),this.options[e]=t,"disabled"===e&&this._setOptionDisabled(t),this},_setOptionClasses:function(t){var n,r,o;for(n in t)o=this.classesElementLookup[n],t[n]!==this.options.classes[n]&&o&&o.length&&(r=e(o.get()),this._removeClass(o,n),r.addClass(this._classes({element:r,keys:n,classes:t,add:!0})))},_setOptionDisabled:function(e){this._toggleClass(this.widget(),this.widgetFullName+"-disabled",null,!!e),e&&(this._removeClass(this.hoverable,null,"ui-state-hover"),this._removeClass(this.focusable,null,"ui-state-focus"))},enable:function(){return this._setOptions({disabled:!1})},disable:function(){return this._setOptions({disabled:!0})},_classes:function(t){var n=[],r=this;function o(){var n=[];t.element.each((function(t,o){e.map(r.classesElementLookup,(function(e){return e})).some((function(e){return e.is(o)}))||n.push(o)})),r._on(e(n),{remove:"_untrackClassesElement"})}function i(i,a){var s,l;for(l=0;l<i.length;l++)s=r.classesElementLookup[i[l]]||e(),t.add?(o(),s=e(e.uniqueSort(s.get().concat(t.element.get())))):s=e(s.not(t.element).get()),r.classesElementLookup[i[l]]=s,n.push(i[l]),a&&t.classes[i[l]]&&n.push(t.classes[i[l]])}return(t=e.extend({element:this.element,classes:this.options.classes||{}},t)).keys&&i(t.keys.match(/\S+/g)||[],!0),t.extra&&i(t.extra.match(/\S+/g)||[]),n.join(" ")},_untrackClassesElement:function(t){var n=this;e.each(n.classesElementLookup,(function(r,o){-1!==e.inArray(t.target,o)&&(n.classesElementLookup[r]=e(o.not(t.target).get()))})),this._off(e(t.target))},_removeClass:function(e,t,n){return this._toggleClass(e,t,n,!1)},_addClass:function(e,t,n){return this._toggleClass(e,t,n,!0)},_toggleClass:function(e,t,n,r){r="boolean"==typeof r?r:n;var o="string"==typeof e||null===e,i={extra:o?t:n,keys:o?e:t,element:o?this.element:e,add:r};return i.element.toggleClass(this._classes(i),r),this},_on:function(t,n,r){var o,i=this;"boolean"!=typeof t&&(r=n,n=t,t=!1),r?(n=o=e(n),this.bindings=this.bindings.add(n)):(r=n,n=this.element,o=this.widget()),e.each(r,(function(r,a){function s(){if(t||!0!==i.options.disabled&&!e(this).hasClass("ui-state-disabled"))return("string"==typeof a?i[a]:a).apply(i,arguments)}"string"!=typeof a&&(s.guid=a.guid=a.guid||s.guid||e.guid++);var l=r.match(/^([\w:-]*)\s*(.*)$/),c=l[1]+i.eventNamespace,u=l[2];u?o.on(c,u,s):n.on(c,s)}))},_off:function(t,n){n=(n||"").split(" ").join(this.eventNamespace+" ")+this.eventNamespace,t.off(n),this.bindings=e(this.bindings.not(t).get()),this.focusable=e(this.focusable.not(t).get()),this.hoverable=e(this.hoverable.not(t).get())},_delay:function(e,t){function n(){return("string"==typeof e?r[e]:e).apply(r,arguments)}var r=this;return setTimeout(n,t||0)},_hoverable:function(t){this.hoverable=this.hoverable.add(t),this._on(t,{mouseenter:function(t){this._addClass(e(t.currentTarget),null,"ui-state-hover")},mouseleave:function(t){this._removeClass(e(t.currentTarget),null,"ui-state-hover")}})},_focusable:function(t){this.focusable=this.focusable.add(t),this._on(t,{focusin:function(t){this._addClass(e(t.currentTarget),null,"ui-state-focus")},focusout:function(t){this._removeClass(e(t.currentTarget),null,"ui-state-focus")}})},_trigger:function(t,n,r){var o,i,a=this.options[t];if(r=r||{},(n=e.Event(n)).type=(t===this.widgetEventPrefix?t:this.widgetEventPrefix+t).toLowerCase(),n.target=this.element[0],i=n.originalEvent)for(o in i)o in n||(n[o]=i[o]);return this.element.trigger(n,r),!("function"==typeof a&&!1===a.apply(this.element[0],[n].concat(r))||n.isDefaultPrevented())}},e.each({show:"fadeIn",hide:"fadeOut"},(function(t,n){e.Widget.prototype["_"+t]=function(r,o,i){var a;"string"==typeof o&&(o={effect:o});var s=o?!0===o||"number"==typeof o?n:o.effect||n:t;"number"==typeof(o=o||{})?o={duration:o}:!0===o&&(o={}),a=!e.isEmptyObject(o),o.complete=i,o.delay&&r.delay(o.delay),a&&e.effects&&e.effects.effect[s]?r[t](o):s!==t&&r[s]?r[s](o.duration,o.easing,i):r.queue((function(n){e(this)[t](),i&&i.call(r[0]),n()}))}}));var o;e.widget;!function(){var t,n=Math.max,r=Math.abs,o=/left|center|right/,i=/top|center|bottom/,a=/[\+\-]\d+(\.[\d]+)?%?/,s=/^\w+/,l=/%$/,c=e.fn.position;function u(e,t,n){return[parseFloat(e[0])*(l.test(e[0])?t/100:1),parseFloat(e[1])*(l.test(e[1])?n/100:1)]}function d(t,n){return parseInt(e.css(t,n),10)||0}function p(e){return null!=e&&e===e.window}function f(e){var t=e[0];return 9===t.nodeType?{width:e.width(),height:e.height(),offset:{top:0,left:0}}:p(t)?{width:e.width(),height:e.height(),offset:{top:e.scrollTop(),left:e.scrollLeft()}}:t.preventDefault?{width:0,height:0,offset:{top:t.pageY,left:t.pageX}}:{width:e.outerWidth(),height:e.outerHeight(),offset:e.offset()}}e.position={scrollbarWidth:function(){if(void 0!==t)return t;var n,r,o=e("<div style='display:block;position:absolute;width:200px;height:200px;overflow:hidden;'><div style='height:300px;width:auto;'></div></div>"),i=o.children()[0];return e("body").append(o),n=i.offsetWidth,o.css("overflow","scroll"),n===(r=i.offsetWidth)&&(r=o[0].clientWidth),o.remove(),t=n-r},getScrollInfo:function(t){var n=t.isWindow||t.isDocument?"":t.element.css("overflow-x"),r=t.isWindow||t.isDocument?"":t.element.css("overflow-y"),o="scroll"===n||"auto"===n&&t.width<t.element[0].scrollWidth;return{width:"scroll"===r||"auto"===r&&t.height<t.element[0].scrollHeight?e.position.scrollbarWidth():0,height:o?e.position.scrollbarWidth():0}},getWithinInfo:function(t){var n=e(t||window),r=p(n[0]),o=!!n[0]&&9===n[0].nodeType;return{element:n,isWindow:r,isDocument:o,offset:!r&&!o?e(t).offset():{left:0,top:0},scrollLeft:n.scrollLeft(),scrollTop:n.scrollTop(),width:n.outerWidth(),height:n.outerHeight()}}},e.fn.position=function(t){if(!t||!t.of)return c.apply(this,arguments);var l,p,h,m,g,v,y="string"==typeof(t=e.extend({},t)).of?e(document).find(t.of):e(t.of),b=e.position.getWithinInfo(t.within),x=e.position.getScrollInfo(b),w=(t.collision||"flip").split(" "),A={};return v=f(y),y[0].preventDefault&&(t.at="left top"),p=v.width,h=v.height,m=v.offset,g=e.extend({},m),e.each(["my","at"],(function(){var e,n,r=(t[this]||"").split(" ");1===r.length&&(r=o.test(r[0])?r.concat(["center"]):i.test(r[0])?["center"].concat(r):["center","center"]),r[0]=o.test(r[0])?r[0]:"center",r[1]=i.test(r[1])?r[1]:"center",e=a.exec(r[0]),n=a.exec(r[1]),A[this]=[e?e[0]:0,n?n[0]:0],t[this]=[s.exec(r[0])[0],s.exec(r[1])[0]]})),1===w.length&&(w[1]=w[0]),"right"===t.at[0]?g.left+=p:"center"===t.at[0]&&(g.left+=p/2),"bottom"===t.at[1]?g.top+=h:"center"===t.at[1]&&(g.top+=h/2),l=u(A.at,p,h),g.left+=l[0],g.top+=l[1],this.each((function(){var o,i,a=e(this),s=a.outerWidth(),c=a.outerHeight(),f=d(this,"marginLeft"),v=d(this,"marginTop"),_=s+f+d(this,"marginRight")+x.width,S=c+v+d(this,"marginBottom")+x.height,k=e.extend({},g),C=u(A.my,a.outerWidth(),a.outerHeight());"right"===t.my[0]?k.left-=s:"center"===t.my[0]&&(k.left-=s/2),"bottom"===t.my[1]?k.top-=c:"center"===t.my[1]&&(k.top-=c/2),k.left+=C[0],k.top+=C[1],o={marginLeft:f,marginTop:v},e.each(["left","top"],(function(n,r){e.ui.position[w[n]]&&e.ui.position[w[n]][r](k,{targetWidth:p,targetHeight:h,elemWidth:s,elemHeight:c,collisionPosition:o,collisionWidth:_,collisionHeight:S,offset:[l[0]+C[0],l[1]+C[1]],my:t.my,at:t.at,within:b,elem:a})})),t.using&&(i=function(e){var o=m.left-k.left,i=o+p-s,l=m.top-k.top,u=l+h-c,d={target:{element:y,left:m.left,top:m.top,width:p,height:h},element:{element:a,left:k.left,top:k.top,width:s,height:c},horizontal:i<0?"left":o>0?"right":"center",vertical:u<0?"top":l>0?"bottom":"middle"};p<s&&r(o+i)<p&&(d.horizontal="center"),h<c&&r(l+u)<h&&(d.vertical="middle"),n(r(o),r(i))>n(r(l),r(u))?d.important="horizontal":d.important="vertical",t.using.call(this,e,d)}),a.offset(e.extend(k,{using:i}))}))},e.ui.position={fit:{left:function(e,t){var r,o=t.within,i=o.isWindow?o.scrollLeft:o.offset.left,a=o.width,s=e.left-t.collisionPosition.marginLeft,l=i-s,c=s+t.collisionWidth-a-i;t.collisionWidth>a?l>0&&c<=0?(r=e.left+l+t.collisionWidth-a-i,e.left+=l-r):e.left=c>0&&l<=0?i:l>c?i+a-t.collisionWidth:i:l>0?e.left+=l:c>0?e.left-=c:e.left=n(e.left-s,e.left)},top:function(e,t){var r,o=t.within,i=o.isWindow?o.scrollTop:o.offset.top,a=t.within.height,s=e.top-t.collisionPosition.marginTop,l=i-s,c=s+t.collisionHeight-a-i;t.collisionHeight>a?l>0&&c<=0?(r=e.top+l+t.collisionHeight-a-i,e.top+=l-r):e.top=c>0&&l<=0?i:l>c?i+a-t.collisionHeight:i:l>0?e.top+=l:c>0?e.top-=c:e.top=n(e.top-s,e.top)}},flip:{left:function(e,t){var n,o,i=t.within,a=i.offset.left+i.scrollLeft,s=i.width,l=i.isWindow?i.scrollLeft:i.offset.left,c=e.left-t.collisionPosition.marginLeft,u=c-l,d=c+t.collisionWidth-s-l,p="left"===t.my[0]?-t.elemWidth:"right"===t.my[0]?t.elemWidth:0,f="left"===t.at[0]?t.targetWidth:"right"===t.at[0]?-t.targetWidth:0,h=-2*t.offset[0];u<0?((n=e.left+p+f+h+t.collisionWidth-s-a)<0||n<r(u))&&(e.left+=p+f+h):d>0&&((o=e.left-t.collisionPosition.marginLeft+p+f+h-l)>0||r(o)<d)&&(e.left+=p+f+h)},top:function(e,t){var n,o,i=t.within,a=i.offset.top+i.scrollTop,s=i.height,l=i.isWindow?i.scrollTop:i.offset.top,c=e.top-t.collisionPosition.marginTop,u=c-l,d=c+t.collisionHeight-s-l,p="top"===t.my[1]?-t.elemHeight:"bottom"===t.my[1]?t.elemHeight:0,f="top"===t.at[1]?t.targetHeight:"bottom"===t.at[1]?-t.targetHeight:0,h=-2*t.offset[1];u<0?((o=e.top+p+f+h+t.collisionHeight-s-a)<0||o<r(u))&&(e.top+=p+f+h):d>0&&((n=e.top-t.collisionPosition.marginTop+p+f+h-l)>0||r(n)<d)&&(e.top+=p+f+h)}},flipfit:{left:function(){e.ui.position.flip.left.apply(this,arguments),e.ui.position.fit.left.apply(this,arguments)},top:function(){e.ui.position.flip.top.apply(this,arguments),e.ui.position.fit.top.apply(this,arguments)}}}}();e.ui.position,e.extend(e.expr.pseudos,{data:e.expr.createPseudo?e.expr.createPseudo((function(t){return function(n){return!!e.data(n,t)}})):function(t,n,r){return!!e.data(t,r[3])}}),e.fn.extend({disableSelection:(y="onselectstart"in document.createElement("div")?"selectstart":"mousedown",function(){return this.on(y+".ui-disableSelection",(function(e){e.preventDefault()}))}),enableSelection:function(){return this.off(".ui-disableSelection")}});var i,a=e,s="backgroundColor borderBottomColor borderLeftColor borderRightColor borderTopColor color columnRuleColor outlineColor textDecorationColor textEmphasisColor",l={},c=l.toString,u=/^([\-+])=\s*(\d+\.?\d*)/,d=[{re:/rgba?\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,parse:function(e){return[e[1],e[2],e[3],e[4]]}},{re:/rgba?\(\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,parse:function(e){return[2.55*e[1],2.55*e[2],2.55*e[3],e[4]]}},{re:/#([a-f0-9]{2})([a-f0-9]{2})([a-f0-9]{2})([a-f0-9]{2})?/,parse:function(e){return[parseInt(e[1],16),parseInt(e[2],16),parseInt(e[3],16),e[4]?(parseInt(e[4],16)/255).toFixed(2):1]}},{re:/#([a-f0-9])([a-f0-9])([a-f0-9])([a-f0-9])?/,parse:function(e){return[parseInt(e[1]+e[1],16),parseInt(e[2]+e[2],16),parseInt(e[3]+e[3],16),e[4]?(parseInt(e[4]+e[4],16)/255).toFixed(2):1]}},{re:/hsla?\(\s*(\d+(?:\.\d+)?)\s*,\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,space:"hsla",parse:function(e){return[e[1],e[2]/100,e[3]/100,e[4]]}}],p=a.Color=function(e,t,n,r){return new a.Color.fn.parse(e,t,n,r)},f={rgba:{props:{red:{idx:0,type:"byte"},green:{idx:1,type:"byte"},blue:{idx:2,type:"byte"}}},hsla:{props:{hue:{idx:0,type:"degrees"},saturation:{idx:1,type:"percent"},lightness:{idx:2,type:"percent"}}}},h={byte:{floor:!0,max:255},percent:{max:1},degrees:{mod:360,floor:!0}},m=p.support={},g=a("<p>")[0],v=a.each;var y;function b(e){return null==e?e+"":"object"==typeof e?l[c.call(e)]||"object":typeof e}function x(e,t,n){var r=h[t.type]||{};return null==e?n||!t.def?null:t.def:(e=r.floor?~~e:parseFloat(e),isNaN(e)?t.def:r.mod?(e+r.mod)%r.mod:Math.min(r.max,Math.max(0,e)))}function w(e){var t=p(),n=t._rgba=[];return e=e.toLowerCase(),v(d,(function(r,o){var i,a=o.re.exec(e),s=a&&o.parse(a),l=o.space||"rgba";if(s)return i=t[l](s),t[f[l].cache]=i[f[l].cache],n=t._rgba=i._rgba,!1})),n.length?("0,0,0,0"===n.join()&&a.extend(n,i.transparent),t):i[e]}function A(e,t,n){return 6*(n=(n+1)%1)<1?e+(t-e)*n*6:2*n<1?t:3*n<2?e+(t-e)*(2/3-n)*6:e}g.style.cssText="background-color:rgba(1,1,1,.5)",m.rgba=g.style.backgroundColor.indexOf("rgba")>-1,v(f,(function(e,t){t.cache="_"+e,t.props.alpha={idx:3,type:"percent",def:1}})),a.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),(function(e,t){l["[object "+t+"]"]=t.toLowerCase()})),p.fn=a.extend(p.prototype,{parse:function(e,t,n,r){if(void 0===e)return this._rgba=[null,null,null,null],this;(e.jquery||e.nodeType)&&(e=a(e).css(t),t=void 0);var o=this,s=b(e),l=this._rgba=[];return void 0!==t&&(e=[e,t,n,r],s="array"),"string"===s?this.parse(w(e)||i._default):"array"===s?(v(f.rgba.props,(function(t,n){l[n.idx]=x(e[n.idx],n)})),this):"object"===s?(v(f,e instanceof p?function(t,n){e[n.cache]&&(o[n.cache]=e[n.cache].slice())}:function(t,n){var r=n.cache;v(n.props,(function(t,i){if(!o[r]&&n.to){if("alpha"===t||null==e[t])return;o[r]=n.to(o._rgba)}o[r][i.idx]=x(e[t],i,!0)})),o[r]&&a.inArray(null,o[r].slice(0,3))<0&&(null==o[r][3]&&(o[r][3]=1),n.from&&(o._rgba=n.from(o[r])))}),this):void 0},is:function(e){var t=p(e),n=!0,r=this;return v(f,(function(e,o){var i,a=t[o.cache];return a&&(i=r[o.cache]||o.to&&o.to(r._rgba)||[],v(o.props,(function(e,t){if(null!=a[t.idx])return n=a[t.idx]===i[t.idx]}))),n})),n},_space:function(){var e=[],t=this;return v(f,(function(n,r){t[r.cache]&&e.push(n)})),e.pop()},transition:function(e,t){var n=p(e),r=n._space(),o=f[r],i=0===this.alpha()?p("transparent"):this,a=i[o.cache]||o.to(i._rgba),s=a.slice();return n=n[o.cache],v(o.props,(function(e,r){var o=r.idx,i=a[o],l=n[o],c=h[r.type]||{};null!==l&&(null===i?s[o]=l:(c.mod&&(l-i>c.mod/2?i+=c.mod:i-l>c.mod/2&&(i-=c.mod)),s[o]=x((l-i)*t+i,r)))})),this[r](s)},blend:function(e){if(1===this._rgba[3])return this;var t=this._rgba.slice(),n=t.pop(),r=p(e)._rgba;return p(a.map(t,(function(e,t){return(1-n)*r[t]+n*e})))},toRgbaString:function(){var e="rgba(",t=a.map(this._rgba,(function(e,t){return null!=e?e:t>2?1:0}));return 1===t[3]&&(t.pop(),e="rgb("),e+t.join()+")"},toHslaString:function(){var e="hsla(",t=a.map(this.hsla(),(function(e,t){return null==e&&(e=t>2?1:0),t&&t<3&&(e=Math.round(100*e)+"%"),e}));return 1===t[3]&&(t.pop(),e="hsl("),e+t.join()+")"},toHexString:function(e){var t=this._rgba.slice(),n=t.pop();return e&&t.push(~~(255*n)),"#"+a.map(t,(function(e){return 1===(e=(e||0).toString(16)).length?"0"+e:e})).join("")},toString:function(){return 0===this._rgba[3]?"transparent":this.toRgbaString()}}),p.fn.parse.prototype=p.fn,f.hsla.to=function(e){if(null==e[0]||null==e[1]||null==e[2])return[null,null,null,e[3]];var t,n,r=e[0]/255,o=e[1]/255,i=e[2]/255,a=e[3],s=Math.max(r,o,i),l=Math.min(r,o,i),c=s-l,u=s+l,d=.5*u;return t=l===s?0:r===s?60*(o-i)/c+360:o===s?60*(i-r)/c+120:60*(r-o)/c+240,n=0===c?0:d<=.5?c/u:c/(2-u),[Math.round(t)%360,n,d,null==a?1:a]},f.hsla.from=function(e){if(null==e[0]||null==e[1]||null==e[2])return[null,null,null,e[3]];var t=e[0]/360,n=e[1],r=e[2],o=e[3],i=r<=.5?r*(1+n):r+n-r*n,a=2*r-i;return[Math.round(255*A(a,i,t+1/3)),Math.round(255*A(a,i,t)),Math.round(255*A(a,i,t-1/3)),o]},v(f,(function(e,t){var n=t.props,r=t.cache,o=t.to,i=t.from;p.fn[e]=function(e){if(o&&!this[r]&&(this[r]=o(this._rgba)),void 0===e)return this[r].slice();var t,a=b(e),s="array"===a||"object"===a?e:arguments,l=this[r].slice();return v(n,(function(e,t){var n=s["object"===a?e:t.idx];null==n&&(n=l[t.idx]),l[t.idx]=x(n,t)})),i?((t=p(i(l)))[r]=l,t):p(l)},v(n,(function(t,n){p.fn[t]||(p.fn[t]=function(r){var o,i,a,s,l=b(r);return i=(o=this[s="alpha"===t?this._hsla?"hsla":"rgba":e]())[n.idx],"undefined"===l?i:("function"===l&&(l=b(r=r.call(this,i))),null==r&&n.empty?this:("string"===l&&(a=u.exec(r))&&(r=i+parseFloat(a[2])*("+"===a[1]?1:-1)),o[n.idx]=r,this[s](o)))})}))})),p.hook=function(e){var t=e.split(" ");v(t,(function(e,t){a.cssHooks[t]={set:function(e,n){var r,o,i="";if("transparent"!==n&&("string"!==b(n)||(r=w(n)))){if(n=p(r||n),!m.rgba&&1!==n._rgba[3]){for(o="backgroundColor"===t?e.parentNode:e;(""===i||"transparent"===i)&&o&&o.style;)try{i=a.css(o,"backgroundColor"),o=o.parentNode}catch(e){}n=n.blend(i&&"transparent"!==i?i:"_default")}n=n.toRgbaString()}try{e.style[t]=n}catch(e){}}},a.fx.step[t]=function(e){e.colorInit||(e.start=p(e.elem,t),e.end=p(e.end),e.colorInit=!0),a.cssHooks[t].set(e.elem,e.start.transition(e.end,e.pos))}}))},p.hook(s),a.cssHooks.borderColor={expand:function(e){var t={};return v(["Top","Right","Bottom","Left"],(function(n,r){t["border"+r+"Color"]=e})),t}},i=a.Color.names={aqua:"#00ffff",black:"#000000",blue:"#0000ff",fuchsia:"#ff00ff",gray:"#808080",green:"#008000",lime:"#00ff00",maroon:"#800000",navy:"#000080",olive:"#808000",purple:"#800080",red:"#ff0000",silver:"#c0c0c0",teal:"#008080",white:"#ffffff",yellow:"#ffff00",transparent:[null,null,null,0],_default:"#ffffff"};var _="ui-effects-",S="ui-effects-style",k="ui-effects-animated";e.effects={effect:{}},function(){var t=["add","remove","toggle"],n={border:1,borderBottom:1,borderColor:1,borderLeft:1,borderRight:1,borderTop:1,borderWidth:1,margin:1,padding:1};function r(e){return e.replace(/-([\da-z])/gi,(function(e,t){return t.toUpperCase()}))}function o(e){var t,n,o=e.ownerDocument.defaultView?e.ownerDocument.defaultView.getComputedStyle(e,null):e.currentStyle,i={};if(o&&o.length&&o[0]&&o[o[0]])for(n=o.length;n--;)"string"==typeof o[t=o[n]]&&(i[r(t)]=o[t]);else for(t in o)"string"==typeof o[t]&&(i[t]=o[t]);return i}function i(t,r){var o,i,a={};for(o in r)i=r[o],t[o]!==i&&(n[o]||!e.fx.step[o]&&isNaN(parseFloat(i))||(a[o]=i));return a}e.each(["borderLeftStyle","borderRightStyle","borderBottomStyle","borderTopStyle"],(function(t,n){e.fx.step[n]=function(e){("none"!==e.end&&!e.setAttr||1===e.pos&&!e.setAttr)&&(a.style(e.elem,n,e.end),e.setAttr=!0)}})),e.fn.addBack||(e.fn.addBack=function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}),e.effects.animateClass=function(n,r,a,s){var l=e.speed(r,a,s);return this.queue((function(){var r,a=e(this),s=a.attr("class")||"",c=l.children?a.find("*").addBack():a;c=c.map((function(){return{el:e(this),start:o(this)}})),(r=function(){e.each(t,(function(e,t){n[t]&&a[t+"Class"](n[t])}))})(),c=c.map((function(){return this.end=o(this.el[0]),this.diff=i(this.start,this.end),this})),a.attr("class",s),c=c.map((function(){var t=this,n=e.Deferred(),r=e.extend({},l,{queue:!1,complete:function(){n.resolve(t)}});return this.el.animate(this.diff,r),n.promise()})),e.when.apply(e,c.get()).done((function(){r(),e.each(arguments,(function(){var t=this.el;e.each(this.diff,(function(e){t.css(e,"")}))})),l.complete.call(a[0])}))}))},e.fn.extend({addClass:function(t){return function(n,r,o,i){return r?e.effects.animateClass.call(this,{add:n},r,o,i):t.apply(this,arguments)}}(e.fn.addClass),removeClass:function(t){return function(n,r,o,i){return arguments.length>1?e.effects.animateClass.call(this,{remove:n},r,o,i):t.apply(this,arguments)}}(e.fn.removeClass),toggleClass:function(t){return function(n,r,o,i,a){return"boolean"==typeof r||void 0===r?o?e.effects.animateClass.call(this,r?{add:n}:{remove:n},o,i,a):t.apply(this,arguments):e.effects.animateClass.call(this,{toggle:n},r,o,i)}}(e.fn.toggleClass),switchClass:function(t,n,r,o,i){return e.effects.animateClass.call(this,{add:n,remove:t},r,o,i)}})}(),function(){function t(t,n,r,o){return e.isPlainObject(t)&&(n=t,t=t.effect),t={effect:t},null==n&&(n={}),"function"==typeof n&&(o=n,r=null,n={}),("number"==typeof n||e.fx.speeds[n])&&(o=r,r=n,n={}),"function"==typeof r&&(o=r,r=null),n&&e.extend(t,n),r=r||n.duration,t.duration=e.fx.off?0:"number"==typeof r?r:r in e.fx.speeds?e.fx.speeds[r]:e.fx.speeds._default,t.complete=o||n.complete,t}function n(t){return!(t&&"number"!=typeof t&&!e.fx.speeds[t])||("string"==typeof t&&!e.effects.effect[t]||("function"==typeof t||"object"==typeof t&&!t.effect))}function r(e,t){var n=t.outerWidth(),r=t.outerHeight(),o=/^rect\((-?\d*\.?\d*px|-?\d+%|auto),?\s*(-?\d*\.?\d*px|-?\d+%|auto),?\s*(-?\d*\.?\d*px|-?\d+%|auto),?\s*(-?\d*\.?\d*px|-?\d+%|auto)\)$/.exec(e)||["",0,n,r,0];return{top:parseFloat(o[1])||0,right:"auto"===o[2]?n:parseFloat(o[2]),bottom:"auto"===o[3]?r:parseFloat(o[3]),left:parseFloat(o[4])||0}}e.expr&&e.expr.pseudos&&e.expr.pseudos.animated&&(e.expr.pseudos.animated=function(t){return function(n){return!!e(n).data(k)||t(n)}}(e.expr.pseudos.animated)),!1!==e.uiBackCompat&&e.extend(e.effects,{save:function(e,t){for(var n=0,r=t.length;n<r;n++)null!==t[n]&&e.data(_+t[n],e[0].style[t[n]])},restore:function(e,t){for(var n,r=0,o=t.length;r<o;r++)null!==t[r]&&(n=e.data(_+t[r]),e.css(t[r],n))},setMode:function(e,t){return"toggle"===t&&(t=e.is(":hidden")?"show":"hide"),t},createWrapper:function(t){if(t.parent().is(".ui-effects-wrapper"))return t.parent();var n={width:t.outerWidth(!0),height:t.outerHeight(!0),float:t.css("float")},r=e("<div></div>").addClass("ui-effects-wrapper").css({fontSize:"100%",background:"transparent",border:"none",margin:0,padding:0}),o={width:t.width(),height:t.height()},i=document.activeElement;try{i.id}catch(e){i=document.body}return t.wrap(r),(t[0]===i||e.contains(t[0],i))&&e(i).trigger("focus"),r=t.parent(),"static"===t.css("position")?(r.css({position:"relative"}),t.css({position:"relative"})):(e.extend(n,{position:t.css("position"),zIndex:t.css("z-index")}),e.each(["top","left","bottom","right"],(function(e,r){n[r]=t.css(r),isNaN(parseInt(n[r],10))&&(n[r]="auto")})),t.css({position:"relative",top:0,left:0,right:"auto",bottom:"auto"})),t.css(o),r.css(n).show()},removeWrapper:function(t){var n=document.activeElement;return t.parent().is(".ui-effects-wrapper")&&(t.parent().replaceWith(t),(t[0]===n||e.contains(t[0],n))&&e(n).trigger("focus")),t}}),e.extend(e.effects,{version:"1.13.3",define:function(t,n,r){return r||(r=n,n="effect"),e.effects.effect[t]=r,e.effects.effect[t].mode=n,r},scaledDimensions:function(e,t,n){if(0===t)return{height:0,width:0,outerHeight:0,outerWidth:0};var r="horizontal"!==n?(t||100)/100:1,o="vertical"!==n?(t||100)/100:1;return{height:e.height()*o,width:e.width()*r,outerHeight:e.outerHeight()*o,outerWidth:e.outerWidth()*r}},clipToBox:function(e){return{width:e.clip.right-e.clip.left,height:e.clip.bottom-e.clip.top,left:e.clip.left,top:e.clip.top}},unshift:function(e,t,n){var r=e.queue();t>1&&r.splice.apply(r,[1,0].concat(r.splice(t,n))),e.dequeue()},saveStyle:function(e){e.data(S,e[0].style.cssText)},restoreStyle:function(e){e[0].style.cssText=e.data(S)||"",e.removeData(S)},mode:function(e,t){var n=e.is(":hidden");return"toggle"===t&&(t=n?"show":"hide"),(n?"hide"===t:"show"===t)&&(t="none"),t},getBaseline:function(e,t){var n,r;switch(e[0]){case"top":n=0;break;case"middle":n=.5;break;case"bottom":n=1;break;default:n=e[0]/t.height}switch(e[1]){case"left":r=0;break;case"center":r=.5;break;case"right":r=1;break;default:r=e[1]/t.width}return{x:r,y:n}},createPlaceholder:function(t){var n,r=t.css("position"),o=t.position();return t.css({marginTop:t.css("marginTop"),marginBottom:t.css("marginBottom"),marginLeft:t.css("marginLeft"),marginRight:t.css("marginRight")}).outerWidth(t.outerWidth()).outerHeight(t.outerHeight()),/^(static|relative)/.test(r)&&(r="absolute",n=e("<"+t[0].nodeName+">").insertAfter(t).css({display:/^(inline|ruby)/.test(t.css("display"))?"inline-block":"block",visibility:"hidden",marginTop:t.css("marginTop"),marginBottom:t.css("marginBottom"),marginLeft:t.css("marginLeft"),marginRight:t.css("marginRight"),float:t.css("float")}).outerWidth(t.outerWidth()).outerHeight(t.outerHeight()).addClass("ui-effects-placeholder"),t.data(_+"placeholder",n)),t.css({position:r,left:o.left,top:o.top}),n},removePlaceholder:function(e){var t=_+"placeholder",n=e.data(t);n&&(n.remove(),e.removeData(t))},cleanUp:function(t){e.effects.restoreStyle(t),e.effects.removePlaceholder(t)},setTransition:function(t,n,r,o){return o=o||{},e.each(n,(function(e,n){var i=t.cssUnit(n);i[0]>0&&(o[n]=i[0]*r+i[1])})),o}}),e.fn.extend({effect:function(){var n=t.apply(this,arguments),r=e.effects.effect[n.effect],o=r.mode,i=n.queue,a=i||"fx",s=n.complete,l=n.mode,c=[],u=function(t){var n=e(this),r=e.effects.mode(n,l)||o;n.data(k,!0),c.push(r),o&&("show"===r||r===o&&"hide"===r)&&n.show(),o&&"none"===r||e.effects.saveStyle(n),"function"==typeof t&&t()};if(e.fx.off||!r)return l?this[l](n.duration,s):this.each((function(){s&&s.call(this)}));function d(t){var i=e(this);function a(){i.removeData(k),e.effects.cleanUp(i),"hide"===n.mode&&i.hide(),u()}function u(){"function"==typeof s&&s.call(i[0]),"function"==typeof t&&t()}n.mode=c.shift(),!1===e.uiBackCompat||o?"none"===n.mode?(i[l](),u()):r.call(i[0],n,a):(i.is(":hidden")?"hide"===l:"show"===l)?(i[l](),u()):r.call(i[0],n,u)}return!1===i?this.each(u).each(d):this.queue(a,u).queue(a,d)},show:function(e){return function(r){if(n(r))return e.apply(this,arguments);var o=t.apply(this,arguments);return o.mode="show",this.effect.call(this,o)}}(e.fn.show),hide:function(e){return function(r){if(n(r))return e.apply(this,arguments);var o=t.apply(this,arguments);return o.mode="hide",this.effect.call(this,o)}}(e.fn.hide),toggle:function(e){return function(r){if(n(r)||"boolean"==typeof r)return e.apply(this,arguments);var o=t.apply(this,arguments);return o.mode="toggle",this.effect.call(this,o)}}(e.fn.toggle),cssUnit:function(t){var n=this.css(t),r=[];return e.each(["em","px","%","pt"],(function(e,t){n.indexOf(t)>0&&(r=[parseFloat(n),t])})),r},cssClip:function(e){return e?this.css("clip","rect("+e.top+"px "+e.right+"px "+e.bottom+"px "+e.left+"px)"):r(this.css("clip"),this)},transfer:function(t,n){var r=e(this),o=e(t.to),i="fixed"===o.css("position"),a=e("body"),s=i?a.scrollTop():0,l=i?a.scrollLeft():0,c=o.offset(),u={top:c.top-s,left:c.left-l,height:o.innerHeight(),width:o.innerWidth()},d=r.offset(),p=e("<div class='ui-effects-transfer'></div>");p.appendTo("body").addClass(t.className).css({top:d.top-s,left:d.left-l,height:r.innerHeight(),width:r.innerWidth(),position:i?"fixed":"absolute"}).animate(u,t.duration,t.easing,(function(){p.remove(),"function"==typeof n&&n()}))}}),e.fx.step.clip=function(t){t.clipInit||(t.start=e(t.elem).cssClip(),"string"==typeof t.end&&(t.end=r(t.end,t.elem)),t.clipInit=!0),e(t.elem).cssClip({top:t.pos*(t.end.top-t.start.top)+t.start.top,right:t.pos*(t.end.right-t.start.right)+t.start.right,bottom:t.pos*(t.end.bottom-t.start.bottom)+t.start.bottom,left:t.pos*(t.end.left-t.start.left)+t.start.left})}}(),C={},e.each(["Quad","Cubic","Quart","Quint","Expo"],(function(e,t){C[t]=function(t){return Math.pow(t,e+2)}})),e.extend(C,{Sine:function(e){return 1-Math.cos(e*Math.PI/2)},Circ:function(e){return 1-Math.sqrt(1-e*e)},Elastic:function(e){return 0===e||1===e?e:-Math.pow(2,8*(e-1))*Math.sin((80*(e-1)-7.5)*Math.PI/15)},Back:function(e){return e*e*(3*e-2)},Bounce:function(e){for(var t,n=4;e<((t=Math.pow(2,--n))-1)/11;);return 1/Math.pow(4,3-n)-7.5625*Math.pow((3*t-2)/22-e,2)}}),e.each(C,(function(t,n){e.easing["easeIn"+t]=n,e.easing["easeOut"+t]=function(e){return 1-n(1-e)},e.easing["easeInOut"+t]=function(e){return e<.5?n(2*e)/2:1-n(-2*e+2)/2}}));var C;e.effects,e.effects.define("blind","hide",(function(t,n){var r={up:["bottom","top"],vertical:["bottom","top"],down:["top","bottom"],left:["right","left"],horizontal:["right","left"],right:["left","right"]},o=e(this),i=t.direction||"up",a=o.cssClip(),s={clip:e.extend({},a)},l=e.effects.createPlaceholder(o);s.clip[r[i][0]]=s.clip[r[i][1]],"show"===t.mode&&(o.cssClip(s.clip),l&&l.css(e.effects.clipToBox(s)),s.clip=a),l&&l.animate(e.effects.clipToBox(s),t.duration,t.easing),o.animate(s,{queue:!1,duration:t.duration,easing:t.easing,complete:n})})),e.effects.define("bounce",(function(t,n){var r,o,i,a=e(this),s=t.mode,l="hide"===s,c="show"===s,u=t.direction||"up",d=t.distance,p=t.times||5,f=2*p+(c||l?1:0),h=t.duration/f,m=t.easing,g="up"===u||"down"===u?"top":"left",v="up"===u||"left"===u,y=0,b=a.queue().length;for(e.effects.createPlaceholder(a),i=a.css(g),d||(d=a["top"===g?"outerHeight":"outerWidth"]()/3),c&&((o={opacity:1})[g]=i,a.css("opacity",0).css(g,v?2*-d:2*d).animate(o,h,m)),l&&(d/=Math.pow(2,p-1)),(o={})[g]=i;y<p;y++)(r={})[g]=(v?"-=":"+=")+d,a.animate(r,h,m).animate(o,h,m),d=l?2*d:d/2;l&&((r={opacity:0})[g]=(v?"-=":"+=")+d,a.animate(r,h,m)),a.queue(n),e.effects.unshift(a,b,f+1)})),e.effects.define("clip","hide",(function(t,n){var r,o={},i=e(this),a=t.direction||"vertical",s="both"===a,l=s||"horizontal"===a,c=s||"vertical"===a;r=i.cssClip(),o.clip={top:c?(r.bottom-r.top)/2:r.top,right:l?(r.right-r.left)/2:r.right,bottom:c?(r.bottom-r.top)/2:r.bottom,left:l?(r.right-r.left)/2:r.left},e.effects.createPlaceholder(i),"show"===t.mode&&(i.cssClip(o.clip),o.clip=r),i.animate(o,{queue:!1,duration:t.duration,easing:t.easing,complete:n})})),e.effects.define("drop","hide",(function(t,n){var r,o=e(this),i="show"===t.mode,a=t.direction||"left",s="up"===a||"down"===a?"top":"left",l="up"===a||"left"===a?"-=":"+=",c="+="===l?"-=":"+=",u={opacity:0};e.effects.createPlaceholder(o),r=t.distance||o["top"===s?"outerHeight":"outerWidth"](!0)/2,u[s]=l+r,i&&(o.css(u),u[s]=c+r,u.opacity=1),o.animate(u,{queue:!1,duration:t.duration,easing:t.easing,complete:n})})),e.effects.define("explode","hide",(function(t,n){var r,o,i,a,s,l,c=t.pieces?Math.round(Math.sqrt(t.pieces)):3,u=c,d=e(this),p="show"===t.mode,f=d.show().css("visibility","hidden").offset(),h=Math.ceil(d.outerWidth()/u),m=Math.ceil(d.outerHeight()/c),g=[];function v(){g.push(this),g.length===c*u&&y()}for(r=0;r<c;r++)for(a=f.top+r*m,l=r-(c-1)/2,o=0;o<u;o++)i=f.left+o*h,s=o-(u-1)/2,d.clone().appendTo("body").wrap("<div></div>").css({position:"absolute",visibility:"visible",left:-o*h,top:-r*m}).parent().addClass("ui-effects-explode").css({position:"absolute",overflow:"hidden",width:h,height:m,left:i+(p?s*h:0),top:a+(p?l*m:0),opacity:p?0:1}).animate({left:i+(p?0:s*h),top:a+(p?0:l*m),opacity:p?1:0},t.duration||500,t.easing,v);function y(){d.css({visibility:"visible"}),e(g).remove(),n()}})),e.effects.define("fade","toggle",(function(t,n){var r="show"===t.mode;e(this).css("opacity",r?0:1).animate({opacity:r?1:0},{queue:!1,duration:t.duration,easing:t.easing,complete:n})})),e.effects.define("fold","hide",(function(t,n){var r=e(this),o=t.mode,i="show"===o,a="hide"===o,s=t.size||15,l=/([0-9]+)%/.exec(s),c=!!t.horizFirst?["right","bottom"]:["bottom","right"],u=t.duration/2,d=e.effects.createPlaceholder(r),p=r.cssClip(),f={clip:e.extend({},p)},h={clip:e.extend({},p)},m=[p[c[0]],p[c[1]]],g=r.queue().length;l&&(s=parseInt(l[1],10)/100*m[a?0:1]),f.clip[c[0]]=s,h.clip[c[0]]=s,h.clip[c[1]]=0,i&&(r.cssClip(h.clip),d&&d.css(e.effects.clipToBox(h)),h.clip=p),r.queue((function(n){d&&d.animate(e.effects.clipToBox(f),u,t.easing).animate(e.effects.clipToBox(h),u,t.easing),n()})).animate(f,u,t.easing).animate(h,u,t.easing).queue(n),e.effects.unshift(r,g,4)})),e.effects.define("highlight","show",(function(t,n){var r=e(this),o={backgroundColor:r.css("backgroundColor")};"hide"===t.mode&&(o.opacity=0),e.effects.saveStyle(r),r.css({backgroundImage:"none",backgroundColor:t.color||"#ffff99"}).animate(o,{queue:!1,duration:t.duration,easing:t.easing,complete:n})})),e.effects.define("size",(function(t,n){var r,o,i,a=e(this),s=["fontSize"],l=["borderTopWidth","borderBottomWidth","paddingTop","paddingBottom"],c=["borderLeftWidth","borderRightWidth","paddingLeft","paddingRight"],u=t.mode,d="effect"!==u,p=t.scale||"both",f=t.origin||["middle","center"],h=a.css("position"),m=a.position(),g=e.effects.scaledDimensions(a),v=t.from||g,y=t.to||e.effects.scaledDimensions(a,0);e.effects.createPlaceholder(a),"show"===u&&(i=v,v=y,y=i),o={from:{y:v.height/g.height,x:v.width/g.width},to:{y:y.height/g.height,x:y.width/g.width}},"box"!==p&&"both"!==p||(o.from.y!==o.to.y&&(v=e.effects.setTransition(a,l,o.from.y,v),y=e.effects.setTransition(a,l,o.to.y,y)),o.from.x!==o.to.x&&(v=e.effects.setTransition(a,c,o.from.x,v),y=e.effects.setTransition(a,c,o.to.x,y))),"content"!==p&&"both"!==p||o.from.y!==o.to.y&&(v=e.effects.setTransition(a,s,o.from.y,v),y=e.effects.setTransition(a,s,o.to.y,y)),f&&(r=e.effects.getBaseline(f,g),v.top=(g.outerHeight-v.outerHeight)*r.y+m.top,v.left=(g.outerWidth-v.outerWidth)*r.x+m.left,y.top=(g.outerHeight-y.outerHeight)*r.y+m.top,y.left=(g.outerWidth-y.outerWidth)*r.x+m.left),delete v.outerHeight,delete v.outerWidth,a.css(v),"content"!==p&&"both"!==p||(l=l.concat(["marginTop","marginBottom"]).concat(s),c=c.concat(["marginLeft","marginRight"]),a.find("*[width]").each((function(){var n=e(this),r=e.effects.scaledDimensions(n),i={height:r.height*o.from.y,width:r.width*o.from.x,outerHeight:r.outerHeight*o.from.y,outerWidth:r.outerWidth*o.from.x},a={height:r.height*o.to.y,width:r.width*o.to.x,outerHeight:r.height*o.to.y,outerWidth:r.width*o.to.x};o.from.y!==o.to.y&&(i=e.effects.setTransition(n,l,o.from.y,i),a=e.effects.setTransition(n,l,o.to.y,a)),o.from.x!==o.to.x&&(i=e.effects.setTransition(n,c,o.from.x,i),a=e.effects.setTransition(n,c,o.to.x,a)),d&&e.effects.saveStyle(n),n.css(i),n.animate(a,t.duration,t.easing,(function(){d&&e.effects.restoreStyle(n)}))}))),a.animate(y,{queue:!1,duration:t.duration,easing:t.easing,complete:function(){var t=a.offset();0===y.opacity&&a.css("opacity",v.opacity),d||(a.css("position","static"===h?"relative":h).offset(t),e.effects.saveStyle(a)),n()}})})),e.effects.define("scale",(function(t,n){var r=e(this),o=t.mode,i=parseInt(t.percent,10)||(0===parseInt(t.percent,10)||"effect"!==o?0:100),a=e.extend(!0,{from:e.effects.scaledDimensions(r),to:e.effects.scaledDimensions(r,i,t.direction||"both"),origin:t.origin||["middle","center"]},t);t.fade&&(a.from.opacity=1,a.to.opacity=0),e.effects.effect.size.call(this,a,n)})),e.effects.define("puff","hide",(function(t,n){var r=e.extend(!0,{},t,{fade:!0,percent:parseInt(t.percent,10)||150});e.effects.effect.scale.call(this,r,n)})),e.effects.define("pulsate","show",(function(t,n){var r=e(this),o=t.mode,i="show"===o,a=i||"hide"===o,s=2*(t.times||5)+(a?1:0),l=t.duration/s,c=0,u=1,d=r.queue().length;for(!i&&r.is(":visible")||(r.css("opacity",0).show(),c=1);u<s;u++)r.animate({opacity:c},l,t.easing),c=1-c;r.animate({opacity:c},l,t.easing),r.queue(n),e.effects.unshift(r,d,s+1)})),e.effects.define("shake",(function(t,n){var r=1,o=e(this),i=t.direction||"left",a=t.distance||20,s=t.times||3,l=2*s+1,c=Math.round(t.duration/l),u="up"===i||"down"===i?"top":"left",d="up"===i||"left"===i,p={},f={},h={},m=o.queue().length;for(e.effects.createPlaceholder(o),p[u]=(d?"-=":"+=")+a,f[u]=(d?"+=":"-=")+2*a,h[u]=(d?"-=":"+=")+2*a,o.animate(p,c,t.easing);r<s;r++)o.animate(f,c,t.easing).animate(h,c,t.easing);o.animate(f,c,t.easing).animate(p,c/2,t.easing).queue(n),e.effects.unshift(o,m,l+1)})),e.effects.define("slide","show",(function(t,n){var r,o,i=e(this),a={up:["bottom","top"],down:["top","bottom"],left:["right","left"],right:["left","right"]},s=t.mode,l=t.direction||"left",c="up"===l||"down"===l?"top":"left",u="up"===l||"left"===l,d=t.distance||i["top"===c?"outerHeight":"outerWidth"](!0),p={};e.effects.createPlaceholder(i),r=i.cssClip(),o=i.position()[c],p[c]=(u?-1:1)*d+o,p.clip=i.cssClip(),p.clip[a[l][1]]=p.clip[a[l][0]],"show"===s&&(i.cssClip(p.clip),i.css(c,p[c]),p.clip=r,p[c]=o),i.animate(p,{queue:!1,duration:t.duration,easing:t.easing,complete:n})}));!1!==e.uiBackCompat&&e.effects.define("transfer",(function(t,n){e(this).transfer(t,n)}));function T(e){for(var t=e.css("visibility");"inherit"===t;)t=(e=e.parent()).css("visibility");return"visible"===t}e.ui.focusable=function(t,n){var r,o,i,a,s,l=t.nodeName.toLowerCase();return"area"===l?(o=(r=t.parentNode).name,!(!t.href||!o||"map"!==r.nodeName.toLowerCase())&&((i=e("img[usemap='#"+o+"']")).length>0&&i.is(":visible"))):(/^(input|select|textarea|button|object)$/.test(l)?(a=!t.disabled)&&(s=e(t).closest("fieldset")[0])&&(a=!s.disabled):a="a"===l&&t.href||n,a&&e(t).is(":visible")&&T(e(t)))},e.extend(e.expr.pseudos,{focusable:function(t){return e.ui.focusable(t,null!=e.attr(t,"tabindex"))}});e.ui.focusable,e.fn._form=function(){return"string"==typeof this[0].form?this.closest("form"):e(this[0].form)},e.ui.formResetMixin={_formResetHandler:function(){var t=e(this);setTimeout((function(){var n=t.data("ui-form-reset-instances");e.each(n,(function(){this.refresh()}))}))},_bindFormResetHandler:function(){if(this.form=this.element._form(),this.form.length){var e=this.form.data("ui-form-reset-instances")||[];e.length||this.form.on("reset.ui-form-reset",this._formResetHandler),e.push(this),this.form.data("ui-form-reset-instances",e)}},_unbindFormResetHandler:function(){if(this.form.length){var t=this.form.data("ui-form-reset-instances");t.splice(e.inArray(this,t),1),t.length?this.form.data("ui-form-reset-instances",t):this.form.removeData("ui-form-reset-instances").off("reset.ui-form-reset")}}};e.expr.pseudos||(e.expr.pseudos=e.expr[":"]);e.uniqueSort||(e.uniqueSort=e.unique);if(!e.escapeSelector){var M=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g,P=function(e,t){return t?"\0"===e?"�":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e};e.escapeSelector=function(e){return(e+"").replace(M,P)}}e.fn.even&&e.fn.odd||e.fn.extend({even:function(){return this.filter((function(e){return e%2==0}))},odd:function(){return this.filter((function(e){return e%2==1}))}});e.ui.keyCode={BACKSPACE:8,COMMA:188,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,LEFT:37,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SPACE:32,TAB:9,UP:38},e.fn.labels=function(){var t,n,r,o,i;return this.length?this[0].labels&&this[0].labels.length?this.pushStack(this[0].labels):(o=this.eq(0).parents("label"),(r=this.attr("id"))&&(i=(t=this.eq(0).parents().last()).add(t.length?t.siblings():this.siblings()),n="label[for='"+e.escapeSelector(r)+"']",o=o.add(i.find(n).addBack(n))),this.pushStack(o)):this.pushStack([])},e.fn.scrollParent=function(t){var n=this.css("position"),r="absolute"===n,o=t?/(auto|scroll|hidden)/:/(auto|scroll)/,i=this.parents().filter((function(){var t=e(this);return(!r||"static"!==t.css("position"))&&o.test(t.css("overflow")+t.css("overflow-y")+t.css("overflow-x"))})).eq(0);return"fixed"!==n&&i.length?i:e(this[0].ownerDocument||document)},e.extend(e.expr.pseudos,{tabbable:function(t){var n=e.attr(t,"tabindex"),r=null!=n;return(!r||n>=0)&&e.ui.focusable(t,r)}}),e.fn.extend({uniqueId:(O=0,function(){return this.each((function(){this.id||(this.id="ui-id-"+ ++O)}))}),removeUniqueId:function(){return this.each((function(){/^ui-id-\d+$/.test(this.id)&&e(this).removeAttr("id")}))}}),e.widget("ui.accordion",{version:"1.13.3",options:{active:0,animate:{},classes:{"ui-accordion-header":"ui-corner-top","ui-accordion-header-collapsed":"ui-corner-all","ui-accordion-content":"ui-corner-bottom"},collapsible:!1,event:"click",header:function(e){return e.find("> li > :first-child").add(e.find("> :not(li)").even())},heightStyle:"auto",icons:{activeHeader:"ui-icon-triangle-1-s",header:"ui-icon-triangle-1-e"},activate:null,beforeActivate:null},hideProps:{borderTopWidth:"hide",borderBottomWidth:"hide",paddingTop:"hide",paddingBottom:"hide",height:"hide"},showProps:{borderTopWidth:"show",borderBottomWidth:"show",paddingTop:"show",paddingBottom:"show",height:"show"},_create:function(){var t=this.options;this.prevShow=this.prevHide=e(),this._addClass("ui-accordion","ui-widget ui-helper-reset"),this.element.attr("role","tablist"),t.collapsible||!1!==t.active&&null!=t.active||(t.active=0),this._processPanels(),t.active<0&&(t.active+=this.headers.length),this._refresh()},_getCreateEventData:function(){return{header:this.active,panel:this.active.length?this.active.next():e()}},_createIcons:function(){var t,n,r=this.options.icons;r&&(t=e("<span>"),this._addClass(t,"ui-accordion-header-icon","ui-icon "+r.header),t.prependTo(this.headers),n=this.active.children(".ui-accordion-header-icon"),this._removeClass(n,r.header)._addClass(n,null,r.activeHeader)._addClass(this.headers,"ui-accordion-icons"))},_destroyIcons:function(){this._removeClass(this.headers,"ui-accordion-icons"),this.headers.children(".ui-accordion-header-icon").remove()},_destroy:function(){var e;this.element.removeAttr("role"),this.headers.removeAttr("role aria-expanded aria-selected aria-controls tabIndex").removeUniqueId(),this._destroyIcons(),e=this.headers.next().css("display","").removeAttr("role aria-hidden aria-labelledby").removeUniqueId(),"content"!==this.options.heightStyle&&e.css("height","")},_setOption:function(e,t){"active"!==e?("event"===e&&(this.options.event&&this._off(this.headers,this.options.event),this._setupEvents(t)),this._super(e,t),"collapsible"!==e||t||!1!==this.options.active||this._activate(0),"icons"===e&&(this._destroyIcons(),t&&this._createIcons())):this._activate(t)},_setOptionDisabled:function(e){this._super(e),this.element.attr("aria-disabled",e),this._toggleClass(null,"ui-state-disabled",!!e),this._toggleClass(this.headers.add(this.headers.next()),null,"ui-state-disabled",!!e)},_keydown:function(t){if(!t.altKey&&!t.ctrlKey){var n=e.ui.keyCode,r=this.headers.length,o=this.headers.index(t.target),i=!1;switch(t.keyCode){case n.RIGHT:case n.DOWN:i=this.headers[(o+1)%r];break;case n.LEFT:case n.UP:i=this.headers[(o-1+r)%r];break;case n.SPACE:case n.ENTER:this._eventHandler(t);break;case n.HOME:i=this.headers[0];break;case n.END:i=this.headers[r-1]}i&&(e(t.target).attr("tabIndex",-1),e(i).attr("tabIndex",0),e(i).trigger("focus"),t.preventDefault())}},_panelKeyDown:function(t){t.keyCode===e.ui.keyCode.UP&&t.ctrlKey&&e(t.currentTarget).prev().trigger("focus")},refresh:function(){var t=this.options;this._processPanels(),!1===t.active&&!0===t.collapsible||!this.headers.length?(t.active=!1,this.active=e()):!1===t.active?this._activate(0):this.active.length&&!e.contains(this.element[0],this.active[0])?this.headers.length===this.headers.find(".ui-state-disabled").length?(t.active=!1,this.active=e()):this._activate(Math.max(0,t.active-1)):t.active=this.headers.index(this.active),this._destroyIcons(),this._refresh()},_processPanels:function(){var e=this.headers,t=this.panels;"function"==typeof this.options.header?this.headers=this.options.header(this.element):this.headers=this.element.find(this.options.header),this._addClass(this.headers,"ui-accordion-header ui-accordion-header-collapsed","ui-state-default"),this.panels=this.headers.next().filter(":not(.ui-accordion-content-active)").hide(),this._addClass(this.panels,"ui-accordion-content","ui-helper-reset ui-widget-content"),t&&(this._off(e.not(this.headers)),this._off(t.not(this.panels)))},_refresh:function(){var t,n=this.options,r=n.heightStyle,o=this.element.parent();this.active=this._findActive(n.active),this._addClass(this.active,"ui-accordion-header-active","ui-state-active")._removeClass(this.active,"ui-accordion-header-collapsed"),this._addClass(this.active.next(),"ui-accordion-content-active"),this.active.next().show(),this.headers.attr("role","tab").each((function(){var t=e(this),n=t.uniqueId().attr("id"),r=t.next(),o=r.uniqueId().attr("id");t.attr("aria-controls",o),r.attr("aria-labelledby",n)})).next().attr("role","tabpanel"),this.headers.not(this.active).attr({"aria-selected":"false","aria-expanded":"false",tabIndex:-1}).next().attr({"aria-hidden":"true"}).hide(),this.active.length?this.active.attr({"aria-selected":"true","aria-expanded":"true",tabIndex:0}).next().attr({"aria-hidden":"false"}):this.headers.eq(0).attr("tabIndex",0),this._createIcons(),this._setupEvents(n.event),"fill"===r?(t=o.height(),this.element.siblings(":visible").each((function(){var n=e(this),r=n.css("position");"absolute"!==r&&"fixed"!==r&&(t-=n.outerHeight(!0))})),this.headers.each((function(){t-=e(this).outerHeight(!0)})),this.headers.next().each((function(){e(this).height(Math.max(0,t-e(this).innerHeight()+e(this).height()))})).css("overflow","auto")):"auto"===r&&(t=0,this.headers.next().each((function(){var n=e(this).is(":visible");n||e(this).show(),t=Math.max(t,e(this).css("height","").height()),n||e(this).hide()})).height(t))},_activate:function(t){var n=this._findActive(t)[0];n!==this.active[0]&&(n=n||this.active[0],this._eventHandler({target:n,currentTarget:n,preventDefault:e.noop}))},_findActive:function(t){return"number"==typeof t?this.headers.eq(t):e()},_setupEvents:function(t){var n={keydown:"_keydown"};t&&e.each(t.split(" "),(function(e,t){n[t]="_eventHandler"})),this._off(this.headers.add(this.headers.next())),this._on(this.headers,n),this._on(this.headers.next(),{keydown:"_panelKeyDown"}),this._hoverable(this.headers),this._focusable(this.headers)},_eventHandler:function(t){var n,r,o=this.options,i=this.active,a=e(t.currentTarget),s=a[0]===i[0],l=s&&o.collapsible,c=l?e():a.next(),u=i.next(),d={oldHeader:i,oldPanel:u,newHeader:l?e():a,newPanel:c};t.preventDefault(),s&&!o.collapsible||!1===this._trigger("beforeActivate",t,d)||(o.active=!l&&this.headers.index(a),this.active=s?e():a,this._toggle(d),this._removeClass(i,"ui-accordion-header-active","ui-state-active"),o.icons&&(n=i.children(".ui-accordion-header-icon"),this._removeClass(n,null,o.icons.activeHeader)._addClass(n,null,o.icons.header)),s||(this._removeClass(a,"ui-accordion-header-collapsed")._addClass(a,"ui-accordion-header-active","ui-state-active"),o.icons&&(r=a.children(".ui-accordion-header-icon"),this._removeClass(r,null,o.icons.header)._addClass(r,null,o.icons.activeHeader)),this._addClass(a.next(),"ui-accordion-content-active")))},_toggle:function(t){var n=t.newPanel,r=this.prevShow.length?this.prevShow:t.oldPanel;this.prevShow.add(this.prevHide).stop(!0,!0),this.prevShow=n,this.prevHide=r,this.options.animate?this._animate(n,r,t):(r.hide(),n.show(),this._toggleComplete(t)),r.attr({"aria-hidden":"true"}),r.prev().attr({"aria-selected":"false","aria-expanded":"false"}),n.length&&r.length?r.prev().attr({tabIndex:-1,"aria-expanded":"false"}):n.length&&this.headers.filter((function(){return 0===parseInt(e(this).attr("tabIndex"),10)})).attr("tabIndex",-1),n.attr("aria-hidden","false").prev().attr({"aria-selected":"true","aria-expanded":"true",tabIndex:0})},_animate:function(e,t,n){var r,o,i,a=this,s=0,l=e.css("box-sizing"),c=e.length&&(!t.length||e.index()<t.index()),u=this.options.animate||{},d=c&&u.down||u,p=function(){a._toggleComplete(n)};return"number"==typeof d&&(i=d),"string"==typeof d&&(o=d),o=o||d.easing||u.easing,i=i||d.duration||u.duration,t.length?e.length?(r=e.show().outerHeight(),t.animate(this.hideProps,{duration:i,easing:o,step:function(e,t){t.now=Math.round(e)}}),void e.hide().animate(this.showProps,{duration:i,easing:o,complete:p,step:function(e,n){n.now=Math.round(e),"height"!==n.prop?"content-box"===l&&(s+=n.now):"content"!==a.options.heightStyle&&(n.now=Math.round(r-t.outerHeight()-s),s=0)}})):t.animate(this.hideProps,i,o,p):e.animate(this.showProps,i,o,p)},_toggleComplete:function(e){var t=e.oldPanel,n=t.prev();this._removeClass(t,"ui-accordion-content-active"),this._removeClass(n,"ui-accordion-header-active")._addClass(n,"ui-accordion-header-collapsed"),t.length&&(t.parent()[0].className=t.parent()[0].className),this._trigger("activate",null,e)}}),e.ui.safeActiveElement=function(e){var t;try{t=e.activeElement}catch(n){t=e.body}return t||(t=e.body),t.nodeName||(t=e.body),t},e.widget("ui.menu",{version:"1.13.3",defaultElement:"<ul>",delay:300,options:{icons:{submenu:"ui-icon-caret-1-e"},items:"> *",menus:"ul",position:{my:"left top",at:"right top"},role:"menu",blur:null,focus:null,select:null},_create:function(){this.activeMenu=this.element,this.mouseHandled=!1,this.lastMousePosition={x:null,y:null},this.element.uniqueId().attr({role:this.options.role,tabIndex:0}),this._addClass("ui-menu","ui-widget ui-widget-content"),this._on({"mousedown .ui-menu-item":function(e){e.preventDefault(),this._activateItem(e)},"click .ui-menu-item":function(t){var n=e(t.target),r=e(e.ui.safeActiveElement(this.document[0]));!this.mouseHandled&&n.not(".ui-state-disabled").length&&(this.select(t),t.isPropagationStopped()||(this.mouseHandled=!0),n.has(".ui-menu").length?this.expand(t):!this.element.is(":focus")&&r.closest(".ui-menu").length&&(this.element.trigger("focus",[!0]),this.active&&1===this.active.parents(".ui-menu").length&&clearTimeout(this.timer)))},"mouseenter .ui-menu-item":"_activateItem","mousemove .ui-menu-item":"_activateItem",mouseleave:"collapseAll","mouseleave .ui-menu":"collapseAll",focus:function(e,t){var n=this.active||this._menuItems().first();t||this.focus(e,n)},blur:function(t){this._delay((function(){!e.contains(this.element[0],e.ui.safeActiveElement(this.document[0]))&&this.collapseAll(t)}))},keydown:"_keydown"}),this.refresh(),this._on(this.document,{click:function(e){this._closeOnDocumentClick(e)&&this.collapseAll(e,!0),this.mouseHandled=!1}})},_activateItem:function(t){if(!this.previousFilter&&(t.clientX!==this.lastMousePosition.x||t.clientY!==this.lastMousePosition.y)){this.lastMousePosition={x:t.clientX,y:t.clientY};var n=e(t.target).closest(".ui-menu-item"),r=e(t.currentTarget);n[0]===r[0]&&(r.is(".ui-state-active")||(this._removeClass(r.siblings().children(".ui-state-active"),null,"ui-state-active"),this.focus(t,r)))}},_destroy:function(){var t=this.element.find(".ui-menu-item").removeAttr("role aria-disabled").children(".ui-menu-item-wrapper").removeUniqueId().removeAttr("tabIndex role aria-haspopup");this.element.removeAttr("aria-activedescendant").find(".ui-menu").addBack().removeAttr("role aria-labelledby aria-expanded aria-hidden aria-disabled tabIndex").removeUniqueId().show(),t.children().each((function(){var t=e(this);t.data("ui-menu-submenu-caret")&&t.remove()}))},_keydown:function(t){var n,r,o,i,a=!0;switch(t.keyCode){case e.ui.keyCode.PAGE_UP:this.previousPage(t);break;case e.ui.keyCode.PAGE_DOWN:this.nextPage(t);break;case e.ui.keyCode.HOME:this._move("first","first",t);break;case e.ui.keyCode.END:this._move("last","last",t);break;case e.ui.keyCode.UP:this.previous(t);break;case e.ui.keyCode.DOWN:this.next(t);break;case e.ui.keyCode.LEFT:this.collapse(t);break;case e.ui.keyCode.RIGHT:this.active&&!this.active.is(".ui-state-disabled")&&this.expand(t);break;case e.ui.keyCode.ENTER:case e.ui.keyCode.SPACE:this._activate(t);break;case e.ui.keyCode.ESCAPE:this.collapse(t);break;default:a=!1,r=this.previousFilter||"",i=!1,o=t.keyCode>=96&&t.keyCode<=105?(t.keyCode-96).toString():String.fromCharCode(t.keyCode),clearTimeout(this.filterTimer),o===r?i=!0:o=r+o,n=this._filterMenuItems(o),(n=i&&-1!==n.index(this.active.next())?this.active.nextAll(".ui-menu-item"):n).length||(o=String.fromCharCode(t.keyCode),n=this._filterMenuItems(o)),n.length?(this.focus(t,n),this.previousFilter=o,this.filterTimer=this._delay((function(){delete this.previousFilter}),1e3)):delete this.previousFilter}a&&t.preventDefault()},_activate:function(e){this.active&&!this.active.is(".ui-state-disabled")&&(this.active.children("[aria-haspopup='true']").length?this.expand(e):this.select(e))},refresh:function(){var t,n,r,o,i=this,a=this.options.icons.submenu,s=this.element.find(this.options.menus);this._toggleClass("ui-menu-icons",null,!!this.element.find(".ui-icon").length),n=s.filter(":not(.ui-menu)").hide().attr({role:this.options.role,"aria-hidden":"true","aria-expanded":"false"}).each((function(){var t=e(this),n=t.prev(),r=e("<span>").data("ui-menu-submenu-caret",!0);i._addClass(r,"ui-menu-icon","ui-icon "+a),n.attr("aria-haspopup","true").prepend(r),t.attr("aria-labelledby",n.attr("id"))})),this._addClass(n,"ui-menu","ui-widget ui-widget-content ui-front"),(t=s.add(this.element).find(this.options.items)).not(".ui-menu-item").each((function(){var t=e(this);i._isDivider(t)&&i._addClass(t,"ui-menu-divider","ui-widget-content")})),o=(r=t.not(".ui-menu-item, .ui-menu-divider")).children().not(".ui-menu").uniqueId().attr({tabIndex:-1,role:this._itemRole()}),this._addClass(r,"ui-menu-item")._addClass(o,"ui-menu-item-wrapper"),t.filter(".ui-state-disabled").attr("aria-disabled","true"),this.active&&!e.contains(this.element[0],this.active[0])&&this.blur()},_itemRole:function(){return{menu:"menuitem",listbox:"option"}[this.options.role]},_setOption:function(e,t){if("icons"===e){var n=this.element.find(".ui-menu-icon");this._removeClass(n,null,this.options.icons.submenu)._addClass(n,null,t.submenu)}this._super(e,t)},_setOptionDisabled:function(e){this._super(e),this.element.attr("aria-disabled",String(e)),this._toggleClass(null,"ui-state-disabled",!!e)},focus:function(e,t){var n,r,o;this.blur(e,e&&"focus"===e.type),this._scrollIntoView(t),this.active=t.first(),r=this.active.children(".ui-menu-item-wrapper"),this._addClass(r,null,"ui-state-active"),this.options.role&&this.element.attr("aria-activedescendant",r.attr("id")),o=this.active.parent().closest(".ui-menu-item").children(".ui-menu-item-wrapper"),this._addClass(o,null,"ui-state-active"),e&&"keydown"===e.type?this._close():this.timer=this._delay((function(){this._close()}),this.delay),(n=t.children(".ui-menu")).length&&e&&/^mouse/.test(e.type)&&this._startOpening(n),this.activeMenu=t.parent(),this._trigger("focus",e,{item:t})},_scrollIntoView:function(t){var n,r,o,i,a,s;this._hasScroll()&&(n=parseFloat(e.css(this.activeMenu[0],"borderTopWidth"))||0,r=parseFloat(e.css(this.activeMenu[0],"paddingTop"))||0,o=t.offset().top-this.activeMenu.offset().top-n-r,i=this.activeMenu.scrollTop(),a=this.activeMenu.height(),s=t.outerHeight(),o<0?this.activeMenu.scrollTop(i+o):o+s>a&&this.activeMenu.scrollTop(i+o-a+s))},blur:function(e,t){t||clearTimeout(this.timer),this.active&&(this._removeClass(this.active.children(".ui-menu-item-wrapper"),null,"ui-state-active"),this._trigger("blur",e,{item:this.active}),this.active=null)},_startOpening:function(e){clearTimeout(this.timer),"true"===e.attr("aria-hidden")&&(this.timer=this._delay((function(){this._close(),this._open(e)}),this.delay))},_open:function(t){var n=e.extend({of:this.active},this.options.position);clearTimeout(this.timer),this.element.find(".ui-menu").not(t.parents(".ui-menu")).hide().attr("aria-hidden","true"),t.show().removeAttr("aria-hidden").attr("aria-expanded","true").position(n)},collapseAll:function(t,n){clearTimeout(this.timer),this.timer=this._delay((function(){var r=n?this.element:e(t&&t.target).closest(this.element.find(".ui-menu"));r.length||(r=this.element),this._close(r),this.blur(t),this._removeClass(r.find(".ui-state-active"),null,"ui-state-active"),this.activeMenu=r}),n?0:this.delay)},_close:function(e){e||(e=this.active?this.active.parent():this.element),e.find(".ui-menu").hide().attr("aria-hidden","true").attr("aria-expanded","false")},_closeOnDocumentClick:function(t){return!e(t.target).closest(".ui-menu").length},_isDivider:function(e){return!/[^\-\u2014\u2013\s]/.test(e.text())},collapse:function(e){var t=this.active&&this.active.parent().closest(".ui-menu-item",this.element);t&&t.length&&(this._close(),this.focus(e,t))},expand:function(e){var t=this.active&&this._menuItems(this.active.children(".ui-menu")).first();t&&t.length&&(this._open(t.parent()),this._delay((function(){this.focus(e,t)})))},next:function(e){this._move("next","first",e)},previous:function(e){this._move("prev","last",e)},isFirstItem:function(){return this.active&&!this.active.prevAll(".ui-menu-item").length},isLastItem:function(){return this.active&&!this.active.nextAll(".ui-menu-item").length},_menuItems:function(e){return(e||this.element).find(this.options.items).filter(".ui-menu-item")},_move:function(e,t,n){var r;this.active&&(r="first"===e||"last"===e?this.active["first"===e?"prevAll":"nextAll"](".ui-menu-item").last():this.active[e+"All"](".ui-menu-item").first()),r&&r.length&&this.active||(r=this._menuItems(this.activeMenu)[t]()),this.focus(n,r)},nextPage:function(t){var n,r,o;this.active?this.isLastItem()||(this._hasScroll()?(r=this.active.offset().top,o=this.element.innerHeight(),0===e.fn.jquery.indexOf("3.2.")&&(o+=this.element[0].offsetHeight-this.element.outerHeight()),this.active.nextAll(".ui-menu-item").each((function(){return(n=e(this)).offset().top-r-o<0})),this.focus(t,n)):this.focus(t,this._menuItems(this.activeMenu)[this.active?"last":"first"]())):this.next(t)},previousPage:function(t){var n,r,o;this.active?this.isFirstItem()||(this._hasScroll()?(r=this.active.offset().top,o=this.element.innerHeight(),0===e.fn.jquery.indexOf("3.2.")&&(o+=this.element[0].offsetHeight-this.element.outerHeight()),this.active.prevAll(".ui-menu-item").each((function(){return(n=e(this)).offset().top-r+o>0})),this.focus(t,n)):this.focus(t,this._menuItems(this.activeMenu).first())):this.next(t)},_hasScroll:function(){return this.element.outerHeight()<this.element.prop("scrollHeight")},select:function(t){this.active=this.active||e(t.target).closest(".ui-menu-item");var n={item:this.active};this.active.has(".ui-menu").length||this.collapseAll(t,!0),this._trigger("select",t,n)},_filterMenuItems:function(t){var n=t.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&"),r=new RegExp("^"+n,"i");return this.activeMenu.find(this.options.items).filter(".ui-menu-item").filter((function(){return r.test(String.prototype.trim.call(e(this).children(".ui-menu-item-wrapper").text()))}))}});var O;e.widget("ui.autocomplete",{version:"1.13.3",defaultElement:"<input>",options:{appendTo:null,autoFocus:!1,delay:300,minLength:1,position:{my:"left top",at:"left bottom",collision:"none"},source:null,change:null,close:null,focus:null,open:null,response:null,search:null,select:null},requestIndex:0,pending:0,liveRegionTimer:null,_create:function(){var t,n,r,o=this.element[0].nodeName.toLowerCase(),i="textarea"===o,a="input"===o;this.isMultiLine=i||!a&&this._isContentEditable(this.element),this.valueMethod=this.element[i||a?"val":"text"],this.isNewMenu=!0,this._addClass("ui-autocomplete-input"),this.element.attr("autocomplete","off"),this._on(this.element,{keydown:function(o){if(this.element.prop("readOnly"))return t=!0,r=!0,void(n=!0);t=!1,r=!1,n=!1;var i=e.ui.keyCode;switch(o.keyCode){case i.PAGE_UP:t=!0,this._move("previousPage",o);break;case i.PAGE_DOWN:t=!0,this._move("nextPage",o);break;case i.UP:t=!0,this._keyEvent("previous",o);break;case i.DOWN:t=!0,this._keyEvent("next",o);break;case i.ENTER:this.menu.active&&(t=!0,o.preventDefault(),this.menu.select(o));break;case i.TAB:this.menu.active&&this.menu.select(o);break;case i.ESCAPE:this.menu.element.is(":visible")&&(this.isMultiLine||this._value(this.term),this.close(o),o.preventDefault());break;default:n=!0,this._searchTimeout(o)}},keypress:function(r){if(t)return t=!1,void(this.isMultiLine&&!this.menu.element.is(":visible")||r.preventDefault());if(!n){var o=e.ui.keyCode;switch(r.keyCode){case o.PAGE_UP:this._move("previousPage",r);break;case o.PAGE_DOWN:this._move("nextPage",r);break;case o.UP:this._keyEvent("previous",r);break;case o.DOWN:this._keyEvent("next",r)}}},input:function(e){if(r)return r=!1,void e.preventDefault();this._searchTimeout(e)},focus:function(){this.selectedItem=null,this.previous=this._value()},blur:function(e){clearTimeout(this.searching),this.close(e),this._change(e)}}),this._initSource(),this.menu=e("<ul>").appendTo(this._appendTo()).menu({role:null}).hide().attr({unselectable:"on"}).menu("instance"),this._addClass(this.menu.element,"ui-autocomplete","ui-front"),this._on(this.menu.element,{mousedown:function(e){e.preventDefault()},menufocus:function(t,n){var r,o;if(this.isNewMenu&&(this.isNewMenu=!1,t.originalEvent&&/^mouse/.test(t.originalEvent.type)))return this.menu.blur(),void this.document.one("mousemove",(function(){e(t.target).trigger(t.originalEvent)}));o=n.item.data("ui-autocomplete-item"),!1!==this._trigger("focus",t,{item:o})&&t.originalEvent&&/^key/.test(t.originalEvent.type)&&this._value(o.value),(r=n.item.attr("aria-label")||o.value)&&String.prototype.trim.call(r).length&&(clearTimeout(this.liveRegionTimer),this.liveRegionTimer=this._delay((function(){this.liveRegion.html(e("<div>").text(r))}),100))},menuselect:function(t,n){var r=n.item.data("ui-autocomplete-item"),o=this.previous;this.element[0]!==e.ui.safeActiveElement(this.document[0])&&(this.element.trigger("focus"),this.previous=o,this._delay((function(){this.previous=o,this.selectedItem=r}))),!1!==this._trigger("select",t,{item:r})&&this._value(r.value),this.term=this._value(),this.close(t),this.selectedItem=r}}),this.liveRegion=e("<div>",{role:"status","aria-live":"assertive","aria-relevant":"additions"}).appendTo(this.document[0].body),this._addClass(this.liveRegion,null,"ui-helper-hidden-accessible"),this._on(this.window,{beforeunload:function(){this.element.removeAttr("autocomplete")}})},_destroy:function(){clearTimeout(this.searching),this.element.removeAttr("autocomplete"),this.menu.element.remove(),this.liveRegion.remove()},_setOption:function(e,t){this._super(e,t),"source"===e&&this._initSource(),"appendTo"===e&&this.menu.element.appendTo(this._appendTo()),"disabled"===e&&t&&this.xhr&&this.xhr.abort()},_isEventTargetInWidget:function(t){var n=this.menu.element[0];return t.target===this.element[0]||t.target===n||e.contains(n,t.target)},_closeOnClickOutside:function(e){this._isEventTargetInWidget(e)||this.close()},_appendTo:function(){var t=this.options.appendTo;return t&&(t=t.jquery||t.nodeType?e(t):this.document.find(t).eq(0)),t&&t[0]||(t=this.element.closest(".ui-front, dialog")),t.length||(t=this.document[0].body),t},_initSource:function(){var t,n,r=this;Array.isArray(this.options.source)?(t=this.options.source,this.source=function(n,r){r(e.ui.autocomplete.filter(t,n.term))}):"string"==typeof this.options.source?(n=this.options.source,this.source=function(t,o){r.xhr&&r.xhr.abort(),r.xhr=e.ajax({url:n,data:t,dataType:"json",success:function(e){o(e)},error:function(){o([])}})}):this.source=this.options.source},_searchTimeout:function(e){clearTimeout(this.searching),this.searching=this._delay((function(){var t=this.term===this._value(),n=this.menu.element.is(":visible"),r=e.altKey||e.ctrlKey||e.metaKey||e.shiftKey;t&&(!t||n||r)||(this.selectedItem=null,this.search(null,e))}),this.options.delay)},search:function(e,t){return e=null!=e?e:this._value(),this.term=this._value(),e.length<this.options.minLength?this.close(t):!1!==this._trigger("search",t)?this._search(e):void 0},_search:function(e){this.pending++,this._addClass("ui-autocomplete-loading"),this.cancelSearch=!1,this.source({term:e},this._response())},_response:function(){var e=++this.requestIndex;return function(t){e===this.requestIndex&&this.__response(t),this.pending--,this.pending||this._removeClass("ui-autocomplete-loading")}.bind(this)},__response:function(e){e&&(e=this._normalize(e)),this._trigger("response",null,{content:e}),!this.options.disabled&&e&&e.length&&!this.cancelSearch?(this._suggest(e),this._trigger("open")):this._close()},close:function(e){this.cancelSearch=!0,this._close(e)},_close:function(e){this._off(this.document,"mousedown"),this.menu.element.is(":visible")&&(this.menu.element.hide(),this.menu.blur(),this.isNewMenu=!0,this._trigger("close",e))},_change:function(e){this.previous!==this._value()&&this._trigger("change",e,{item:this.selectedItem})},_normalize:function(t){return t.length&&t[0].label&&t[0].value?t:e.map(t,(function(t){return"string"==typeof t?{label:t,value:t}:e.extend({},t,{label:t.label||t.value,value:t.value||t.label})}))},_suggest:function(t){var n=this.menu.element.empty();this._renderMenu(n,t),this.isNewMenu=!0,this.menu.refresh(),n.show(),this._resizeMenu(),n.position(e.extend({of:this.element},this.options.position)),this.options.autoFocus&&this.menu.next(),this._on(this.document,{mousedown:"_closeOnClickOutside"})},_resizeMenu:function(){var e=this.menu.element;e.outerWidth(Math.max(e.width("").outerWidth()+1,this.element.outerWidth()))},_renderMenu:function(t,n){var r=this;e.each(n,(function(e,n){r._renderItemData(t,n)}))},_renderItemData:function(e,t){return this._renderItem(e,t).data("ui-autocomplete-item",t)},_renderItem:function(t,n){return e("<li>").append(e("<div>").text(n.label)).appendTo(t)},_move:function(e,t){if(this.menu.element.is(":visible"))return this.menu.isFirstItem()&&/^previous/.test(e)||this.menu.isLastItem()&&/^next/.test(e)?(this.isMultiLine||this._value(this.term),void this.menu.blur()):void this.menu[e](t);this.search(null,t)},widget:function(){return this.menu.element},_value:function(){return this.valueMethod.apply(this.element,arguments)},_keyEvent:function(e,t){this.isMultiLine&&!this.menu.element.is(":visible")||(this._move(e,t),t.preventDefault())},_isContentEditable:function(e){if(!e.length)return!1;var t=e.prop("contentEditable");return"inherit"===t?this._isContentEditable(e.parent()):"true"===t}}),e.extend(e.ui.autocomplete,{escapeRegex:function(e){return e.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")},filter:function(t,n){var r=new RegExp(e.ui.autocomplete.escapeRegex(n),"i");return e.grep(t,(function(e){return r.test(e.label||e.value||e)}))}}),e.widget("ui.autocomplete",e.ui.autocomplete,{options:{messages:{noResults:"No search results.",results:function(e){return e+(e>1?" results are":" result is")+" available, use up and down arrow keys to navigate."}}},__response:function(t){var n;this._superApply(arguments),this.options.disabled||this.cancelSearch||(n=t&&t.length?this.options.messages.results(t.length):this.options.messages.noResults,clearTimeout(this.liveRegionTimer),this.liveRegionTimer=this._delay((function(){this.liveRegion.html(e("<div>").text(n))}),100))}});e.ui.autocomplete;var E=/ui-corner-([a-z]){2,6}/g;e.widget("ui.controlgroup",{version:"1.13.3",defaultElement:"<div>",options:{direction:"horizontal",disabled:null,onlyVisible:!0,items:{button:"input[type=button], input[type=submit], input[type=reset], button, a",controlgroupLabel:".ui-controlgroup-label",checkboxradio:"input[type='checkbox'], input[type='radio']",selectmenu:"select",spinner:".ui-spinner-input"}},_create:function(){this._enhance()},_enhance:function(){this.element.attr("role","toolbar"),this.refresh()},_destroy:function(){this._callChildMethod("destroy"),this.childWidgets.removeData("ui-controlgroup-data"),this.element.removeAttr("role"),this.options.items.controlgroupLabel&&this.element.find(this.options.items.controlgroupLabel).find(".ui-controlgroup-label-contents").contents().unwrap()},_initWidgets:function(){var t=this,n=[];e.each(this.options.items,(function(r,o){var i,a={};if(o)return"controlgroupLabel"===r?((i=t.element.find(o)).each((function(){var t=e(this);t.children(".ui-controlgroup-label-contents").length||t.contents().wrapAll("<span class='ui-controlgroup-label-contents'></span>")})),t._addClass(i,null,"ui-widget ui-widget-content ui-state-default"),void(n=n.concat(i.get()))):void(e.fn[r]&&(a=t["_"+r+"Options"]?t["_"+r+"Options"]("middle"):{classes:{}},t.element.find(o).each((function(){var o=e(this),i=o[r]("instance"),s=e.widget.extend({},a);if("button"!==r||!o.parent(".ui-spinner").length){i||(i=o[r]()[r]("instance")),i&&(s.classes=t._resolveClassesValues(s.classes,i)),o[r](s);var l=o[r]("widget");e.data(l[0],"ui-controlgroup-data",i||o[r]("instance")),n.push(l[0])}}))))})),this.childWidgets=e(e.uniqueSort(n)),this._addClass(this.childWidgets,"ui-controlgroup-item")},_callChildMethod:function(t){this.childWidgets.each((function(){var n=e(this).data("ui-controlgroup-data");n&&n[t]&&n[t]()}))},_updateCornerClass:function(e,t){var n="ui-corner-top ui-corner-bottom ui-corner-left ui-corner-right ui-corner-all",r=this._buildSimpleOptions(t,"label").classes.label;this._removeClass(e,null,n),this._addClass(e,null,r)},_buildSimpleOptions:function(e,t){var n="vertical"===this.options.direction,r={classes:{}};return r.classes[t]={middle:"",first:"ui-corner-"+(n?"top":"left"),last:"ui-corner-"+(n?"bottom":"right"),only:"ui-corner-all"}[e],r},_spinnerOptions:function(e){var t=this._buildSimpleOptions(e,"ui-spinner");return t.classes["ui-spinner-up"]="",t.classes["ui-spinner-down"]="",t},_buttonOptions:function(e){return this._buildSimpleOptions(e,"ui-button")},_checkboxradioOptions:function(e){return this._buildSimpleOptions(e,"ui-checkboxradio-label")},_selectmenuOptions:function(e){var t="vertical"===this.options.direction;return{width:!!t&&"auto",classes:{middle:{"ui-selectmenu-button-open":"","ui-selectmenu-button-closed":""},first:{"ui-selectmenu-button-open":"ui-corner-"+(t?"top":"tl"),"ui-selectmenu-button-closed":"ui-corner-"+(t?"top":"left")},last:{"ui-selectmenu-button-open":t?"":"ui-corner-tr","ui-selectmenu-button-closed":"ui-corner-"+(t?"bottom":"right")},only:{"ui-selectmenu-button-open":"ui-corner-top","ui-selectmenu-button-closed":"ui-corner-all"}}[e]}},_resolveClassesValues:function(t,n){var r={};return e.each(t,(function(e){var o=n.options.classes[e]||"";o=String.prototype.trim.call(o.replace(E,"")),r[e]=(o+" "+t[e]).replace(/\s+/g," ")})),r},_setOption:function(e,t){"direction"===e&&this._removeClass("ui-controlgroup-"+this.options.direction),this._super(e,t),"disabled"!==e?this.refresh():this._callChildMethod(t?"disable":"enable")},refresh:function(){var t,n=this;this._addClass("ui-controlgroup ui-controlgroup-"+this.options.direction),"horizontal"===this.options.direction&&this._addClass(null,"ui-helper-clearfix"),this._initWidgets(),t=this.childWidgets,this.options.onlyVisible&&(t=t.filter(":visible")),t.length&&(e.each(["first","last"],(function(e,r){var o=t[r]().data("ui-controlgroup-data");if(o&&n["_"+o.widgetName+"Options"]){var i=n["_"+o.widgetName+"Options"](1===t.length?"only":r);i.classes=n._resolveClassesValues(i.classes,o),o.element[o.widgetName](i)}else n._updateCornerClass(t[r](),r)})),this._callChildMethod("refresh"))}});e.widget("ui.checkboxradio",[e.ui.formResetMixin,{version:"1.13.3",options:{disabled:null,label:null,icon:!0,classes:{"ui-checkboxradio-label":"ui-corner-all","ui-checkboxradio-icon":"ui-corner-all"}},_getCreateOptions:function(){var t,n,r,o=this._super()||{};return this._readType(),n=this.element.labels(),this.label=e(n[n.length-1]),this.label.length||e.error("No label found for checkboxradio widget"),this.originalLabel="",(r=this.label.contents().not(this.element[0])).length&&(this.originalLabel+=r.clone().wrapAll("<div></div>").parent().html()),this.originalLabel&&(o.label=this.originalLabel),null!=(t=this.element[0].disabled)&&(o.disabled=t),o},_create:function(){var e=this.element[0].checked;this._bindFormResetHandler(),null==this.options.disabled&&(this.options.disabled=this.element[0].disabled),this._setOption("disabled",this.options.disabled),this._addClass("ui-checkboxradio","ui-helper-hidden-accessible"),this._addClass(this.label,"ui-checkboxradio-label","ui-button ui-widget"),"radio"===this.type&&this._addClass(this.label,"ui-checkboxradio-radio-label"),this.options.label&&this.options.label!==this.originalLabel?this._updateLabel():this.originalLabel&&(this.options.label=this.originalLabel),this._enhance(),e&&this._addClass(this.label,"ui-checkboxradio-checked","ui-state-active"),this._on({change:"_toggleClasses",focus:function(){this._addClass(this.label,null,"ui-state-focus ui-visual-focus")},blur:function(){this._removeClass(this.label,null,"ui-state-focus ui-visual-focus")}})},_readType:function(){var t=this.element[0].nodeName.toLowerCase();this.type=this.element[0].type,"input"===t&&/radio|checkbox/.test(this.type)||e.error("Can't create checkboxradio on element.nodeName="+t+" and element.type="+this.type)},_enhance:function(){this._updateIcon(this.element[0].checked)},widget:function(){return this.label},_getRadioGroup:function(){var t=this.element[0].name,n="input[name='"+e.escapeSelector(t)+"']";return t?(this.form.length?e(this.form[0].elements).filter(n):e(n).filter((function(){return 0===e(this)._form().length}))).not(this.element):e([])},_toggleClasses:function(){var t=this.element[0].checked;this._toggleClass(this.label,"ui-checkboxradio-checked","ui-state-active",t),this.options.icon&&"checkbox"===this.type&&this._toggleClass(this.icon,null,"ui-icon-check ui-state-checked",t)._toggleClass(this.icon,null,"ui-icon-blank",!t),"radio"===this.type&&this._getRadioGroup().each((function(){var t=e(this).checkboxradio("instance");t&&t._removeClass(t.label,"ui-checkboxradio-checked","ui-state-active")}))},_destroy:function(){this._unbindFormResetHandler(),this.icon&&(this.icon.remove(),this.iconSpace.remove())},_setOption:function(e,t){if("label"!==e||t){if(this._super(e,t),"disabled"===e)return this._toggleClass(this.label,null,"ui-state-disabled",t),void(this.element[0].disabled=t);this.refresh()}},_updateIcon:function(t){var n="ui-icon ui-icon-background ";this.options.icon?(this.icon||(this.icon=e("<span>"),this.iconSpace=e("<span> </span>"),this._addClass(this.iconSpace,"ui-checkboxradio-icon-space")),"checkbox"===this.type?(n+=t?"ui-icon-check ui-state-checked":"ui-icon-blank",this._removeClass(this.icon,null,t?"ui-icon-blank":"ui-icon-check")):n+="ui-icon-blank",this._addClass(this.icon,"ui-checkboxradio-icon",n),t||this._removeClass(this.icon,null,"ui-icon-check ui-state-checked"),this.icon.prependTo(this.label).after(this.iconSpace)):void 0!==this.icon&&(this.icon.remove(),this.iconSpace.remove(),delete this.icon)},_updateLabel:function(){var e=this.label.contents().not(this.element[0]);this.icon&&(e=e.not(this.icon[0])),this.iconSpace&&(e=e.not(this.iconSpace[0])),e.remove(),this.label.append(this.options.label)},refresh:function(){var e=this.element[0].checked,t=this.element[0].disabled;this._updateIcon(e),this._toggleClass(this.label,"ui-checkboxradio-checked","ui-state-active",e),null!==this.options.label&&this._updateLabel(),t!==this.options.disabled&&this._setOptions({disabled:t})}}]);e.ui.checkboxradio;e.widget("ui.button",{version:"1.13.3",defaultElement:"<button>",options:{classes:{"ui-button":"ui-corner-all"},disabled:null,icon:null,iconPosition:"beginning",label:null,showLabel:!0},_getCreateOptions:function(){var e,t=this._super()||{};return this.isInput=this.element.is("input"),null!=(e=this.element[0].disabled)&&(t.disabled=e),this.originalLabel=this.isInput?this.element.val():this.element.html(),this.originalLabel&&(t.label=this.originalLabel),t},_create:function(){!this.option.showLabel&!this.options.icon&&(this.options.showLabel=!0),null==this.options.disabled&&(this.options.disabled=this.element[0].disabled||!1),this.hasTitle=!!this.element.attr("title"),this.options.label&&this.options.label!==this.originalLabel&&(this.isInput?this.element.val(this.options.label):this.element.html(this.options.label)),this._addClass("ui-button","ui-widget"),this._setOption("disabled",this.options.disabled),this._enhance(),this.element.is("a")&&this._on({keyup:function(t){t.keyCode===e.ui.keyCode.SPACE&&(t.preventDefault(),this.element[0].click?this.element[0].click():this.element.trigger("click"))}})},_enhance:function(){this.element.is("button")||this.element.attr("role","button"),this.options.icon&&(this._updateIcon("icon",this.options.icon),this._updateTooltip())},_updateTooltip:function(){this.title=this.element.attr("title"),this.options.showLabel||this.title||this.element.attr("title",this.options.label)},_updateIcon:function(t,n){var r="iconPosition"!==t,o=r?this.options.iconPosition:n,i="top"===o||"bottom"===o;this.icon?r&&this._removeClass(this.icon,null,this.options.icon):(this.icon=e("<span>"),this._addClass(this.icon,"ui-button-icon","ui-icon"),this.options.showLabel||this._addClass("ui-button-icon-only")),r&&this._addClass(this.icon,null,n),this._attachIcon(o),i?(this._addClass(this.icon,null,"ui-widget-icon-block"),this.iconSpace&&this.iconSpace.remove()):(this.iconSpace||(this.iconSpace=e("<span> </span>"),this._addClass(this.iconSpace,"ui-button-icon-space")),this._removeClass(this.icon,null,"ui-wiget-icon-block"),this._attachIconSpace(o))},_destroy:function(){this.element.removeAttr("role"),this.icon&&this.icon.remove(),this.iconSpace&&this.iconSpace.remove(),this.hasTitle||this.element.removeAttr("title")},_attachIconSpace:function(e){this.icon[/^(?:end|bottom)/.test(e)?"before":"after"](this.iconSpace)},_attachIcon:function(e){this.element[/^(?:end|bottom)/.test(e)?"append":"prepend"](this.icon)},_setOptions:function(e){var t=void 0===e.showLabel?this.options.showLabel:e.showLabel,n=void 0===e.icon?this.options.icon:e.icon;t||n||(e.showLabel=!0),this._super(e)},_setOption:function(e,t){"icon"===e&&(t?this._updateIcon(e,t):this.icon&&(this.icon.remove(),this.iconSpace&&this.iconSpace.remove())),"iconPosition"===e&&this._updateIcon(e,t),"showLabel"===e&&(this._toggleClass("ui-button-icon-only",null,!t),this._updateTooltip()),"label"===e&&(this.isInput?this.element.val(t):(this.element.html(t),this.icon&&(this._attachIcon(this.options.iconPosition),this._attachIconSpace(this.options.iconPosition)))),this._super(e,t),"disabled"===e&&(this._toggleClass(null,"ui-state-disabled",t),this.element[0].disabled=t,t&&this.element.trigger("blur"))},refresh:function(){var e=this.element.is("input, button")?this.element[0].disabled:this.element.hasClass("ui-button-disabled");e!==this.options.disabled&&this._setOptions({disabled:e}),this._updateTooltip()}}),!1!==e.uiBackCompat&&(e.widget("ui.button",e.ui.button,{options:{text:!0,icons:{primary:null,secondary:null}},_create:function(){this.options.showLabel&&!this.options.text&&(this.options.showLabel=this.options.text),!this.options.showLabel&&this.options.text&&(this.options.text=this.options.showLabel),this.options.icon||!this.options.icons.primary&&!this.options.icons.secondary?this.options.icon&&(this.options.icons.primary=this.options.icon):this.options.icons.primary?this.options.icon=this.options.icons.primary:(this.options.icon=this.options.icons.secondary,this.options.iconPosition="end"),this._super()},_setOption:function(e,t){"text"!==e?("showLabel"===e&&(this.options.text=t),"icon"===e&&(this.options.icons.primary=t),"icons"===e&&(t.primary?(this._super("icon",t.primary),this._super("iconPosition","beginning")):t.secondary&&(this._super("icon",t.secondary),this._super("iconPosition","end"))),this._superApply(arguments)):this._super("showLabel",t)}}),e.fn.button=function(t){return function(n){var r="string"==typeof n,o=Array.prototype.slice.call(arguments,1),i=this;return r?this.length||"instance"!==n?this.each((function(){var t,r=e(this).attr("type"),a="checkbox"!==r&&"radio"!==r?"button":"checkboxradio",s=e.data(this,"ui-"+a);return"instance"===n?(i=s,!1):s?"function"!=typeof s[n]||"_"===n.charAt(0)?e.error("no such method '"+n+"' for button widget instance"):(t=s[n].apply(s,o))!==s&&void 0!==t?(i=t&&t.jquery?i.pushStack(t.get()):t,!1):void 0:e.error("cannot call methods on button prior to initialization; attempted to call method '"+n+"'")})):i=void 0:(o.length&&(n=e.widget.extend.apply(null,[n].concat(o))),this.each((function(){var r=e(this).attr("type"),o="checkbox"!==r&&"radio"!==r?"button":"checkboxradio",i=e.data(this,"ui-"+o);if(i)i.option(n||{}),i._init&&i._init();else{if("button"===o)return void t.call(e(this),n);e(this).checkboxradio(e.extend({icon:!1},n))}}))),i}}(e.fn.button),e.fn.buttonset=function(){return e.ui.controlgroup||e.error("Controlgroup widget missing"),"option"===arguments[0]&&"items"===arguments[1]&&arguments[2]?this.controlgroup.apply(this,[arguments[0],"items.button",arguments[2]]):"option"===arguments[0]&&"items"===arguments[1]?this.controlgroup.apply(this,[arguments[0],"items.button"]):("object"==typeof arguments[0]&&arguments[0].items&&(arguments[0].items={button:arguments[0].items}),this.controlgroup.apply(this,arguments))});var D;e.ui.button;function R(e){for(var t,n;e.length&&e[0]!==document;){if(("absolute"===(t=e.css("position"))||"relative"===t||"fixed"===t)&&(n=parseInt(e.css("zIndex"),10),!isNaN(n)&&0!==n))return n;e=e.parent()}return 0}function I(){this._curInst=null,this._keyEvent=!1,this._disabledInputs=[],this._datepickerShowing=!1,this._inDialog=!1,this._mainDivId="ui-datepicker-div",this._inlineClass="ui-datepicker-inline",this._appendClass="ui-datepicker-append",this._triggerClass="ui-datepicker-trigger",this._dialogClass="ui-datepicker-dialog",this._disableClass="ui-datepicker-disabled",this._unselectableClass="ui-datepicker-unselectable",this._currentClass="ui-datepicker-current-day",this._dayOverClass="ui-datepicker-days-cell-over",this.regional=[],this.regional[""]={closeText:"Done",prevText:"Prev",nextText:"Next",currentText:"Today",monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su","Mo","Tu","We","Th","Fr","Sa"],weekHeader:"Wk",dateFormat:"mm/dd/yy",firstDay:0,isRTL:!1,showMonthAfterYear:!1,yearSuffix:"",selectMonthLabel:"Select month",selectYearLabel:"Select year"},this._defaults={showOn:"focus",showAnim:"fadeIn",showOptions:{},defaultDate:null,appendText:"",buttonText:"...",buttonImage:"",buttonImageOnly:!1,hideIfNoPrevNext:!1,navigationAsDateFormat:!1,gotoCurrent:!1,changeMonth:!1,changeYear:!1,yearRange:"c-10:c+10",showOtherMonths:!1,selectOtherMonths:!1,showWeek:!1,calculateWeek:this.iso8601Week,shortYearCutoff:"+10",minDate:null,maxDate:null,duration:"fast",beforeShowDay:null,beforeShow:null,onSelect:null,onChangeMonthYear:null,onClose:null,onUpdateDatepicker:null,numberOfMonths:1,showCurrentAtPos:0,stepMonths:1,stepBigMonths:12,altField:"",altFormat:"",constrainInput:!0,showButtonPanel:!1,autoSize:!1,disabled:!1},e.extend(this._defaults,this.regional[""]),this.regional.en=e.extend(!0,{},this.regional[""]),this.regional["en-US"]=e.extend(!0,{},this.regional.en),this.dpDiv=N(e("<div id='"+this._mainDivId+"' class='ui-datepicker ui-widget ui-widget-content ui-helper-clearfix ui-corner-all'></div>"))}function N(t){var n="button, .ui-datepicker-prev, .ui-datepicker-next, .ui-datepicker-calendar td a";return t.on("mouseout",n,(function(){e(this).removeClass("ui-state-hover"),-1!==this.className.indexOf("ui-datepicker-prev")&&e(this).removeClass("ui-datepicker-prev-hover"),-1!==this.className.indexOf("ui-datepicker-next")&&e(this).removeClass("ui-datepicker-next-hover")})).on("mouseover",n,L)}function L(){e.datepicker._isDisabledDatepicker(D.inline?D.dpDiv.parent()[0]:D.input[0])||(e(this).parents(".ui-datepicker-calendar").find("a").removeClass("ui-state-hover"),e(this).addClass("ui-state-hover"),-1!==this.className.indexOf("ui-datepicker-prev")&&e(this).addClass("ui-datepicker-prev-hover"),-1!==this.className.indexOf("ui-datepicker-next")&&e(this).addClass("ui-datepicker-next-hover"))}function j(t,n){for(var r in e.extend(t,n),n)null==n[r]&&(t[r]=n[r]);return t}e.extend(e.ui,{datepicker:{version:"1.13.3"}}),e.extend(I.prototype,{markerClassName:"hasDatepicker",maxRows:4,_widgetDatepicker:function(){return this.dpDiv},setDefaults:function(e){return j(this._defaults,e||{}),this},_attachDatepicker:function(t,n){var r,o,i;o="div"===(r=t.nodeName.toLowerCase())||"span"===r,t.id||(this.uuid+=1,t.id="dp"+this.uuid),(i=this._newInst(e(t),o)).settings=e.extend({},n||{}),"input"===r?this._connectDatepicker(t,i):o&&this._inlineDatepicker(t,i)},_newInst:function(t,n){return{id:t[0].id.replace(/([^A-Za-z0-9_\-])/g,"\\\\$1"),input:t,selectedDay:0,selectedMonth:0,selectedYear:0,drawMonth:0,drawYear:0,inline:n,dpDiv:n?N(e("<div class='"+this._inlineClass+" ui-datepicker ui-widget ui-widget-content ui-helper-clearfix ui-corner-all'></div>")):this.dpDiv}},_connectDatepicker:function(t,n){var r=e(t);n.append=e([]),n.trigger=e([]),r.hasClass(this.markerClassName)||(this._attachments(r,n),r.addClass(this.markerClassName).on("keydown",this._doKeyDown).on("keypress",this._doKeyPress).on("keyup",this._doKeyUp),this._autoSize(n),e.data(t,"datepicker",n),n.settings.disabled&&this._disableDatepicker(t))},_attachments:function(t,n){var r,o,i,a=this._get(n,"appendText"),s=this._get(n,"isRTL");n.append&&n.append.remove(),a&&(n.append=e("<span>").addClass(this._appendClass).text(a),t[s?"before":"after"](n.append)),t.off("focus",this._showDatepicker),n.trigger&&n.trigger.remove(),"focus"!==(r=this._get(n,"showOn"))&&"both"!==r||t.on("focus",this._showDatepicker),"button"!==r&&"both"!==r||(o=this._get(n,"buttonText"),i=this._get(n,"buttonImage"),this._get(n,"buttonImageOnly")?n.trigger=e("<img>").addClass(this._triggerClass).attr({src:i,alt:o,title:o}):(n.trigger=e("<button type='button'>").addClass(this._triggerClass),i?n.trigger.html(e("<img>").attr({src:i,alt:o,title:o})):n.trigger.text(o)),t[s?"before":"after"](n.trigger),n.trigger.on("click",(function(){return e.datepicker._datepickerShowing&&e.datepicker._lastInput===t[0]?e.datepicker._hideDatepicker():e.datepicker._datepickerShowing&&e.datepicker._lastInput!==t[0]?(e.datepicker._hideDatepicker(),e.datepicker._showDatepicker(t[0])):e.datepicker._showDatepicker(t[0]),!1})))},_autoSize:function(e){if(this._get(e,"autoSize")&&!e.inline){var t,n,r,o,i=new Date(2009,11,20),a=this._get(e,"dateFormat");a.match(/[DM]/)&&(t=function(e){for(n=0,r=0,o=0;o<e.length;o++)e[o].length>n&&(n=e[o].length,r=o);return r},i.setMonth(t(this._get(e,a.match(/MM/)?"monthNames":"monthNamesShort"))),i.setDate(t(this._get(e,a.match(/DD/)?"dayNames":"dayNamesShort"))+20-i.getDay())),e.input.attr("size",this._formatDate(e,i).length)}},_inlineDatepicker:function(t,n){var r=e(t);r.hasClass(this.markerClassName)||(r.addClass(this.markerClassName).append(n.dpDiv),e.data(t,"datepicker",n),this._setDate(n,this._getDefaultDate(n),!0),this._updateDatepicker(n),this._updateAlternate(n),n.settings.disabled&&this._disableDatepicker(t),n.dpDiv.css("display","block"))},_dialogDatepicker:function(t,n,r,o,i){var a,s,l,c,u,d=this._dialogInst;return d||(this.uuid+=1,a="dp"+this.uuid,this._dialogInput=e("<input type='text' id='"+a+"' style='position: absolute; top: -100px; width: 0px;'/>"),this._dialogInput.on("keydown",this._doKeyDown),e("body").append(this._dialogInput),(d=this._dialogInst=this._newInst(this._dialogInput,!1)).settings={},e.data(this._dialogInput[0],"datepicker",d)),j(d.settings,o||{}),n=n&&n.constructor===Date?this._formatDate(d,n):n,this._dialogInput.val(n),this._pos=i?i.length?i:[i.pageX,i.pageY]:null,this._pos||(s=document.documentElement.clientWidth,l=document.documentElement.clientHeight,c=document.documentElement.scrollLeft||document.body.scrollLeft,u=document.documentElement.scrollTop||document.body.scrollTop,this._pos=[s/2-100+c,l/2-150+u]),this._dialogInput.css("left",this._pos[0]+20+"px").css("top",this._pos[1]+"px"),d.settings.onSelect=r,this._inDialog=!0,this.dpDiv.addClass(this._dialogClass),this._showDatepicker(this._dialogInput[0]),e.blockUI&&e.blockUI(this.dpDiv),e.data(this._dialogInput[0],"datepicker",d),this},_destroyDatepicker:function(t){var n,r=e(t),o=e.data(t,"datepicker");r.hasClass(this.markerClassName)&&(n=t.nodeName.toLowerCase(),e.removeData(t,"datepicker"),"input"===n?(o.append.remove(),o.trigger.remove(),r.removeClass(this.markerClassName).off("focus",this._showDatepicker).off("keydown",this._doKeyDown).off("keypress",this._doKeyPress).off("keyup",this._doKeyUp)):"div"!==n&&"span"!==n||r.removeClass(this.markerClassName).empty(),D===o&&(D=null,this._curInst=null))},_enableDatepicker:function(t){var n,r,o=e(t),i=e.data(t,"datepicker");o.hasClass(this.markerClassName)&&("input"===(n=t.nodeName.toLowerCase())?(t.disabled=!1,i.trigger.filter("button").each((function(){this.disabled=!1})).end().filter("img").css({opacity:"1.0",cursor:""})):"div"!==n&&"span"!==n||((r=o.children("."+this._inlineClass)).children().removeClass("ui-state-disabled"),r.find("select.ui-datepicker-month, select.ui-datepicker-year").prop("disabled",!1)),this._disabledInputs=e.map(this._disabledInputs,(function(e){return e===t?null:e})))},_disableDatepicker:function(t){var n,r,o=e(t),i=e.data(t,"datepicker");o.hasClass(this.markerClassName)&&("input"===(n=t.nodeName.toLowerCase())?(t.disabled=!0,i.trigger.filter("button").each((function(){this.disabled=!0})).end().filter("img").css({opacity:"0.5",cursor:"default"})):"div"!==n&&"span"!==n||((r=o.children("."+this._inlineClass)).children().addClass("ui-state-disabled"),r.find("select.ui-datepicker-month, select.ui-datepicker-year").prop("disabled",!0)),this._disabledInputs=e.map(this._disabledInputs,(function(e){return e===t?null:e})),this._disabledInputs[this._disabledInputs.length]=t)},_isDisabledDatepicker:function(e){if(!e)return!1;for(var t=0;t<this._disabledInputs.length;t++)if(this._disabledInputs[t]===e)return!0;return!1},_getInst:function(t){try{return e.data(t,"datepicker")}catch(e){throw"Missing instance data for this datepicker"}},_optionDatepicker:function(t,n,r){var o,i,a,s,l=this._getInst(t);if(2===arguments.length&&"string"==typeof n)return"defaults"===n?e.extend({},e.datepicker._defaults):l?"all"===n?e.extend({},l.settings):this._get(l,n):null;o=n||{},"string"==typeof n&&((o={})[n]=r),l&&(this._curInst===l&&this._hideDatepicker(),i=this._getDateDatepicker(t,!0),a=this._getMinMaxDate(l,"min"),s=this._getMinMaxDate(l,"max"),j(l.settings,o),null!==a&&void 0!==o.dateFormat&&void 0===o.minDate&&(l.settings.minDate=this._formatDate(l,a)),null!==s&&void 0!==o.dateFormat&&void 0===o.maxDate&&(l.settings.maxDate=this._formatDate(l,s)),"disabled"in o&&(o.disabled?this._disableDatepicker(t):this._enableDatepicker(t)),this._attachments(e(t),l),this._autoSize(l),this._setDate(l,i),this._updateAlternate(l),this._updateDatepicker(l))},_changeDatepicker:function(e,t,n){this._optionDatepicker(e,t,n)},_refreshDatepicker:function(e){var t=this._getInst(e);t&&this._updateDatepicker(t)},_setDateDatepicker:function(e,t){var n=this._getInst(e);n&&(this._setDate(n,t),this._updateDatepicker(n),this._updateAlternate(n))},_getDateDatepicker:function(e,t){var n=this._getInst(e);return n&&!n.inline&&this._setDateFromField(n,t),n?this._getDate(n):null},_doKeyDown:function(t){var n,r,o,i=e.datepicker._getInst(t.target),a=!0,s=i.dpDiv.is(".ui-datepicker-rtl");if(i._keyEvent=!0,e.datepicker._datepickerShowing)switch(t.keyCode){case 9:e.datepicker._hideDatepicker(),a=!1;break;case 13:return(o=e("td."+e.datepicker._dayOverClass+":not(."+e.datepicker._currentClass+")",i.dpDiv))[0]&&e.datepicker._selectDay(t.target,i.selectedMonth,i.selectedYear,o[0]),(n=e.datepicker._get(i,"onSelect"))?(r=e.datepicker._formatDate(i),n.apply(i.input?i.input[0]:null,[r,i])):e.datepicker._hideDatepicker(),!1;case 27:e.datepicker._hideDatepicker();break;case 33:e.datepicker._adjustDate(t.target,t.ctrlKey?-e.datepicker._get(i,"stepBigMonths"):-e.datepicker._get(i,"stepMonths"),"M");break;case 34:e.datepicker._adjustDate(t.target,t.ctrlKey?+e.datepicker._get(i,"stepBigMonths"):+e.datepicker._get(i,"stepMonths"),"M");break;case 35:(t.ctrlKey||t.metaKey)&&e.datepicker._clearDate(t.target),a=t.ctrlKey||t.metaKey;break;case 36:(t.ctrlKey||t.metaKey)&&e.datepicker._gotoToday(t.target),a=t.ctrlKey||t.metaKey;break;case 37:(t.ctrlKey||t.metaKey)&&e.datepicker._adjustDate(t.target,s?1:-1,"D"),a=t.ctrlKey||t.metaKey,t.originalEvent.altKey&&e.datepicker._adjustDate(t.target,t.ctrlKey?-e.datepicker._get(i,"stepBigMonths"):-e.datepicker._get(i,"stepMonths"),"M");break;case 38:(t.ctrlKey||t.metaKey)&&e.datepicker._adjustDate(t.target,-7,"D"),a=t.ctrlKey||t.metaKey;break;case 39:(t.ctrlKey||t.metaKey)&&e.datepicker._adjustDate(t.target,s?-1:1,"D"),a=t.ctrlKey||t.metaKey,t.originalEvent.altKey&&e.datepicker._adjustDate(t.target,t.ctrlKey?+e.datepicker._get(i,"stepBigMonths"):+e.datepicker._get(i,"stepMonths"),"M");break;case 40:(t.ctrlKey||t.metaKey)&&e.datepicker._adjustDate(t.target,7,"D"),a=t.ctrlKey||t.metaKey;break;default:a=!1}else 36===t.keyCode&&t.ctrlKey?e.datepicker._showDatepicker(this):a=!1;a&&(t.preventDefault(),t.stopPropagation())},_doKeyPress:function(t){var n,r,o=e.datepicker._getInst(t.target);if(e.datepicker._get(o,"constrainInput"))return n=e.datepicker._possibleChars(e.datepicker._get(o,"dateFormat")),r=String.fromCharCode(null==t.charCode?t.keyCode:t.charCode),t.ctrlKey||t.metaKey||r<" "||!n||n.indexOf(r)>-1},_doKeyUp:function(t){var n=e.datepicker._getInst(t.target);if(n.input.val()!==n.lastVal)try{e.datepicker.parseDate(e.datepicker._get(n,"dateFormat"),n.input?n.input.val():null,e.datepicker._getFormatConfig(n))&&(e.datepicker._setDateFromField(n),e.datepicker._updateAlternate(n),e.datepicker._updateDatepicker(n))}catch(e){}return!0},_showDatepicker:function(t){var n,r,o,i,a,s,l;("input"!==(t=t.target||t).nodeName.toLowerCase()&&(t=e("input",t.parentNode)[0]),e.datepicker._isDisabledDatepicker(t)||e.datepicker._lastInput===t)||(n=e.datepicker._getInst(t),e.datepicker._curInst&&e.datepicker._curInst!==n&&(e.datepicker._curInst.dpDiv.stop(!0,!0),n&&e.datepicker._datepickerShowing&&e.datepicker._hideDatepicker(e.datepicker._curInst.input[0])),!1!==(o=(r=e.datepicker._get(n,"beforeShow"))?r.apply(t,[t,n]):{})&&(j(n.settings,o),n.lastVal=null,e.datepicker._lastInput=t,e.datepicker._setDateFromField(n),e.datepicker._inDialog&&(t.value=""),e.datepicker._pos||(e.datepicker._pos=e.datepicker._findPos(t),e.datepicker._pos[1]+=t.offsetHeight),i=!1,e(t).parents().each((function(){return!(i|="fixed"===e(this).css("position"))})),a={left:e.datepicker._pos[0],top:e.datepicker._pos[1]},e.datepicker._pos=null,n.dpDiv.empty(),n.dpDiv.css({position:"absolute",display:"block",top:"-1000px"}),e.datepicker._updateDatepicker(n),a=e.datepicker._checkOffset(n,a,i),n.dpDiv.css({position:e.datepicker._inDialog&&e.blockUI?"static":i?"fixed":"absolute",display:"none",left:a.left+"px",top:a.top+"px"}),n.inline||(s=e.datepicker._get(n,"showAnim"),l=e.datepicker._get(n,"duration"),n.dpDiv.css("z-index",R(e(t))+1),e.datepicker._datepickerShowing=!0,e.effects&&e.effects.effect[s]?n.dpDiv.show(s,e.datepicker._get(n,"showOptions"),l):n.dpDiv[s||"show"](s?l:null),e.datepicker._shouldFocusInput(n)&&n.input.trigger("focus"),e.datepicker._curInst=n)))},_updateDatepicker:function(t){this.maxRows=4,D=t,t.dpDiv.empty().append(this._generateHTML(t)),this._attachHandlers(t);var n,r=this._getNumberOfMonths(t),o=r[1],i=17,a=t.dpDiv.find("."+this._dayOverClass+" a"),s=e.datepicker._get(t,"onUpdateDatepicker");a.length>0&&L.apply(a.get(0)),t.dpDiv.removeClass("ui-datepicker-multi-2 ui-datepicker-multi-3 ui-datepicker-multi-4").width(""),o>1&&t.dpDiv.addClass("ui-datepicker-multi-"+o).css("width",i*o+"em"),t.dpDiv[(1!==r[0]||1!==r[1]?"add":"remove")+"Class"]("ui-datepicker-multi"),t.dpDiv[(this._get(t,"isRTL")?"add":"remove")+"Class"]("ui-datepicker-rtl"),t===e.datepicker._curInst&&e.datepicker._datepickerShowing&&e.datepicker._shouldFocusInput(t)&&t.input.trigger("focus"),t.yearshtml&&(n=t.yearshtml,setTimeout((function(){n===t.yearshtml&&t.yearshtml&&t.dpDiv.find("select.ui-datepicker-year").first().replaceWith(t.yearshtml),n=t.yearshtml=null}),0)),s&&s.apply(t.input?t.input[0]:null,[t])},_shouldFocusInput:function(e){return e.input&&e.input.is(":visible")&&!e.input.is(":disabled")&&!e.input.is(":focus")},_checkOffset:function(t,n,r){var o=t.dpDiv.outerWidth(),i=t.dpDiv.outerHeight(),a=t.input?t.input.outerWidth():0,s=t.input?t.input.outerHeight():0,l=document.documentElement.clientWidth+(r?0:e(document).scrollLeft()),c=document.documentElement.clientHeight+(r?0:e(document).scrollTop());return n.left-=this._get(t,"isRTL")?o-a:0,n.left-=r&&n.left===t.input.offset().left?e(document).scrollLeft():0,n.top-=r&&n.top===t.input.offset().top+s?e(document).scrollTop():0,n.left-=Math.min(n.left,n.left+o>l&&l>o?Math.abs(n.left+o-l):0),n.top-=Math.min(n.top,n.top+i>c&&c>i?Math.abs(i+s):0),n},_findPos:function(t){for(var n,r=this._getInst(t),o=this._get(r,"isRTL");t&&("hidden"===t.type||1!==t.nodeType||e.expr.pseudos.hidden(t));)t=t[o?"previousSibling":"nextSibling"];return[(n=e(t).offset()).left,n.top]},_hideDatepicker:function(t){var n,r,o,i,a=this._curInst;!a||t&&a!==e.data(t,"datepicker")||this._datepickerShowing&&(n=this._get(a,"showAnim"),r=this._get(a,"duration"),o=function(){e.datepicker._tidyDialog(a)},e.effects&&(e.effects.effect[n]||e.effects[n])?a.dpDiv.hide(n,e.datepicker._get(a,"showOptions"),r,o):a.dpDiv["slideDown"===n?"slideUp":"fadeIn"===n?"fadeOut":"hide"](n?r:null,o),n||o(),this._datepickerShowing=!1,(i=this._get(a,"onClose"))&&i.apply(a.input?a.input[0]:null,[a.input?a.input.val():"",a]),this._lastInput=null,this._inDialog&&(this._dialogInput.css({position:"absolute",left:"0",top:"-100px"}),e.blockUI&&(e.unblockUI(),e("body").append(this.dpDiv))),this._inDialog=!1)},_tidyDialog:function(e){e.dpDiv.removeClass(this._dialogClass).off(".ui-datepicker-calendar")},_checkExternalClick:function(t){if(e.datepicker._curInst){var n=e(t.target),r=e.datepicker._getInst(n[0]);(n[0].id===e.datepicker._mainDivId||0!==n.parents("#"+e.datepicker._mainDivId).length||n.hasClass(e.datepicker.markerClassName)||n.closest("."+e.datepicker._triggerClass).length||!e.datepicker._datepickerShowing||e.datepicker._inDialog&&e.blockUI)&&(!n.hasClass(e.datepicker.markerClassName)||e.datepicker._curInst===r)||e.datepicker._hideDatepicker()}},_adjustDate:function(t,n,r){var o=e(t),i=this._getInst(o[0]);this._isDisabledDatepicker(o[0])||(this._adjustInstDate(i,n,r),this._updateDatepicker(i))},_gotoToday:function(t){var n,r=e(t),o=this._getInst(r[0]);this._get(o,"gotoCurrent")&&o.currentDay?(o.selectedDay=o.currentDay,o.drawMonth=o.selectedMonth=o.currentMonth,o.drawYear=o.selectedYear=o.currentYear):(n=new Date,o.selectedDay=n.getDate(),o.drawMonth=o.selectedMonth=n.getMonth(),o.drawYear=o.selectedYear=n.getFullYear()),this._notifyChange(o),this._adjustDate(r)},_selectMonthYear:function(t,n,r){var o=e(t),i=this._getInst(o[0]);i["selected"+("M"===r?"Month":"Year")]=i["draw"+("M"===r?"Month":"Year")]=parseInt(n.options[n.selectedIndex].value,10),this._notifyChange(i),this._adjustDate(o)},_selectDay:function(t,n,r,o){var i,a=e(t);e(o).hasClass(this._unselectableClass)||this._isDisabledDatepicker(a[0])||((i=this._getInst(a[0])).selectedDay=i.currentDay=parseInt(e("a",o).attr("data-date")),i.selectedMonth=i.currentMonth=n,i.selectedYear=i.currentYear=r,this._selectDate(t,this._formatDate(i,i.currentDay,i.currentMonth,i.currentYear)))},_clearDate:function(t){var n=e(t);this._selectDate(n,"")},_selectDate:function(t,n){var r,o=e(t),i=this._getInst(o[0]);n=null!=n?n:this._formatDate(i),i.input&&i.input.val(n),this._updateAlternate(i),(r=this._get(i,"onSelect"))?r.apply(i.input?i.input[0]:null,[n,i]):i.input&&i.input.trigger("change"),i.inline?this._updateDatepicker(i):(this._hideDatepicker(),this._lastInput=i.input[0],"object"!=typeof i.input[0]&&i.input.trigger("focus"),this._lastInput=null)},_updateAlternate:function(t){var n,r,o,i=this._get(t,"altField");i&&(n=this._get(t,"altFormat")||this._get(t,"dateFormat"),r=this._getDate(t),o=this.formatDate(n,r,this._getFormatConfig(t)),e(document).find(i).val(o))},noWeekends:function(e){var t=e.getDay();return[t>0&&t<6,""]},iso8601Week:function(e){var t,n=new Date(e.getTime());return n.setDate(n.getDate()+4-(n.getDay()||7)),t=n.getTime(),n.setMonth(0),n.setDate(1),Math.floor(Math.round((t-n)/864e5)/7)+1},parseDate:function(t,n,r){if(null==t||null==n)throw"Invalid arguments";if(""===(n="object"==typeof n?n.toString():n+""))return null;var o,i,a,s,l=0,c=(r?r.shortYearCutoff:null)||this._defaults.shortYearCutoff,u="string"!=typeof c?c:(new Date).getFullYear()%100+parseInt(c,10),d=(r?r.dayNamesShort:null)||this._defaults.dayNamesShort,p=(r?r.dayNames:null)||this._defaults.dayNames,f=(r?r.monthNamesShort:null)||this._defaults.monthNamesShort,h=(r?r.monthNames:null)||this._defaults.monthNames,m=-1,g=-1,v=-1,y=-1,b=!1,x=function(e){var n=o+1<t.length&&t.charAt(o+1)===e;return n&&o++,n},w=function(e){var t=x(e),r="@"===e?14:"!"===e?20:"y"===e&&t?4:"o"===e?3:2,o=new RegExp("^\\d{"+("y"===e?r:1)+","+r+"}"),i=n.substring(l).match(o);if(!i)throw"Missing number at position "+l;return l+=i[0].length,parseInt(i[0],10)},A=function(t,r,o){var i=-1,a=e.map(x(t)?o:r,(function(e,t){return[[t,e]]})).sort((function(e,t){return-(e[1].length-t[1].length)}));if(e.each(a,(function(e,t){var r=t[1];if(n.substr(l,r.length).toLowerCase()===r.toLowerCase())return i=t[0],l+=r.length,!1})),-1!==i)return i+1;throw"Unknown name at position "+l},_=function(){if(n.charAt(l)!==t.charAt(o))throw"Unexpected literal at position "+l;l++};for(o=0;o<t.length;o++)if(b)"'"!==t.charAt(o)||x("'")?_():b=!1;else switch(t.charAt(o)){case"d":v=w("d");break;case"D":A("D",d,p);break;case"o":y=w("o");break;case"m":g=w("m");break;case"M":g=A("M",f,h);break;case"y":m=w("y");break;case"@":m=(s=new Date(w("@"))).getFullYear(),g=s.getMonth()+1,v=s.getDate();break;case"!":m=(s=new Date((w("!")-this._ticksTo1970)/1e4)).getFullYear(),g=s.getMonth()+1,v=s.getDate();break;case"'":x("'")?_():b=!0;break;default:_()}if(l<n.length&&(a=n.substr(l),!/^\s+/.test(a)))throw"Extra/unparsed characters found in date: "+a;if(-1===m?m=(new Date).getFullYear():m<100&&(m+=(new Date).getFullYear()-(new Date).getFullYear()%100+(m<=u?0:-100)),y>-1)for(g=1,v=y;;){if(v<=(i=this._getDaysInMonth(m,g-1)))break;g++,v-=i}if((s=this._daylightSavingAdjust(new Date(m,g-1,v))).getFullYear()!==m||s.getMonth()+1!==g||s.getDate()!==v)throw"Invalid date";return s},ATOM:"yy-mm-dd",COOKIE:"D, dd M yy",ISO_8601:"yy-mm-dd",RFC_822:"D, d M y",RFC_850:"DD, dd-M-y",RFC_1036:"D, d M y",RFC_1123:"D, d M yy",RFC_2822:"D, d M yy",RSS:"D, d M y",TICKS:"!",TIMESTAMP:"@",W3C:"yy-mm-dd",_ticksTo1970:24*(718685+Math.floor(492.5)-Math.floor(19.7)+Math.floor(4.925))*60*60*1e7,formatDate:function(e,t,n){if(!t)return"";var r,o=(n?n.dayNamesShort:null)||this._defaults.dayNamesShort,i=(n?n.dayNames:null)||this._defaults.dayNames,a=(n?n.monthNamesShort:null)||this._defaults.monthNamesShort,s=(n?n.monthNames:null)||this._defaults.monthNames,l=function(t){var n=r+1<e.length&&e.charAt(r+1)===t;return n&&r++,n},c=function(e,t,n){var r=""+t;if(l(e))for(;r.length<n;)r="0"+r;return r},u=function(e,t,n,r){return l(e)?r[t]:n[t]},d="",p=!1;if(t)for(r=0;r<e.length;r++)if(p)"'"!==e.charAt(r)||l("'")?d+=e.charAt(r):p=!1;else switch(e.charAt(r)){case"d":d+=c("d",t.getDate(),2);break;case"D":d+=u("D",t.getDay(),o,i);break;case"o":d+=c("o",Math.round((new Date(t.getFullYear(),t.getMonth(),t.getDate()).getTime()-new Date(t.getFullYear(),0,0).getTime())/864e5),3);break;case"m":d+=c("m",t.getMonth()+1,2);break;case"M":d+=u("M",t.getMonth(),a,s);break;case"y":d+=l("y")?t.getFullYear():(t.getFullYear()%100<10?"0":"")+t.getFullYear()%100;break;case"@":d+=t.getTime();break;case"!":d+=1e4*t.getTime()+this._ticksTo1970;break;case"'":l("'")?d+="'":p=!0;break;default:d+=e.charAt(r)}return d},_possibleChars:function(e){var t,n="",r=!1,o=function(n){var r=t+1<e.length&&e.charAt(t+1)===n;return r&&t++,r};for(t=0;t<e.length;t++)if(r)"'"!==e.charAt(t)||o("'")?n+=e.charAt(t):r=!1;else switch(e.charAt(t)){case"d":case"m":case"y":case"@":n+="0123456789";break;case"D":case"M":return null;case"'":o("'")?n+="'":r=!0;break;default:n+=e.charAt(t)}return n},_get:function(e,t){return void 0!==e.settings[t]?e.settings[t]:this._defaults[t]},_setDateFromField:function(e,t){if(e.input.val()!==e.lastVal){var n=this._get(e,"dateFormat"),r=e.lastVal=e.input?e.input.val():null,o=this._getDefaultDate(e),i=o,a=this._getFormatConfig(e);try{i=this.parseDate(n,r,a)||o}catch(e){r=t?"":r}e.selectedDay=i.getDate(),e.drawMonth=e.selectedMonth=i.getMonth(),e.drawYear=e.selectedYear=i.getFullYear(),e.currentDay=r?i.getDate():0,e.currentMonth=r?i.getMonth():0,e.currentYear=r?i.getFullYear():0,this._adjustInstDate(e)}},_getDefaultDate:function(e){return this._restrictMinMax(e,this._determineDate(e,this._get(e,"defaultDate"),new Date))},_determineDate:function(t,n,r){var o=function(e){var t=new Date;return t.setDate(t.getDate()+e),t},i=function(n){try{return e.datepicker.parseDate(e.datepicker._get(t,"dateFormat"),n,e.datepicker._getFormatConfig(t))}catch(e){}for(var r=(n.toLowerCase().match(/^c/)?e.datepicker._getDate(t):null)||new Date,o=r.getFullYear(),i=r.getMonth(),a=r.getDate(),s=/([+\-]?[0-9]+)\s*(d|D|w|W|m|M|y|Y)?/g,l=s.exec(n);l;){switch(l[2]||"d"){case"d":case"D":a+=parseInt(l[1],10);break;case"w":case"W":a+=7*parseInt(l[1],10);break;case"m":case"M":i+=parseInt(l[1],10),a=Math.min(a,e.datepicker._getDaysInMonth(o,i));break;case"y":case"Y":o+=parseInt(l[1],10),a=Math.min(a,e.datepicker._getDaysInMonth(o,i))}l=s.exec(n)}return new Date(o,i,a)},a=null==n||""===n?r:"string"==typeof n?i(n):"number"==typeof n?isNaN(n)?r:o(n):new Date(n.getTime());return(a=a&&"Invalid Date"===a.toString()?r:a)&&(a.setHours(0),a.setMinutes(0),a.setSeconds(0),a.setMilliseconds(0)),this._daylightSavingAdjust(a)},_daylightSavingAdjust:function(e){return e?(e.setHours(e.getHours()>12?e.getHours()+2:0),e):null},_setDate:function(e,t,n){var r=!t,o=e.selectedMonth,i=e.selectedYear,a=this._restrictMinMax(e,this._determineDate(e,t,new Date));e.selectedDay=e.currentDay=a.getDate(),e.drawMonth=e.selectedMonth=e.currentMonth=a.getMonth(),e.drawYear=e.selectedYear=e.currentYear=a.getFullYear(),o===e.selectedMonth&&i===e.selectedYear||n||this._notifyChange(e),this._adjustInstDate(e),e.input&&e.input.val(r?"":this._formatDate(e))},_getDate:function(e){return!e.currentYear||e.input&&""===e.input.val()?null:this._daylightSavingAdjust(new Date(e.currentYear,e.currentMonth,e.currentDay))},_attachHandlers:function(t){var n=this._get(t,"stepMonths"),r="#"+t.id.replace(/\\\\/g,"\\");t.dpDiv.find("[data-handler]").map((function(){var t={prev:function(){e.datepicker._adjustDate(r,-n,"M")},next:function(){e.datepicker._adjustDate(r,+n,"M")},hide:function(){e.datepicker._hideDatepicker()},today:function(){e.datepicker._gotoToday(r)},selectDay:function(){return e.datepicker._selectDay(r,+this.getAttribute("data-month"),+this.getAttribute("data-year"),this),!1},selectMonth:function(){return e.datepicker._selectMonthYear(r,this,"M"),!1},selectYear:function(){return e.datepicker._selectMonthYear(r,this,"Y"),!1}};e(this).on(this.getAttribute("data-event"),t[this.getAttribute("data-handler")])}))},_generateHTML:function(t){var n,r,o,i,a,s,l,c,u,d,p,f,h,m,g,v,y,b,x,w,A,_,S,k,C,T,M,P,O,E,D,R,I,N,L,j,$,z,F,B=new Date,H=this._daylightSavingAdjust(new Date(B.getFullYear(),B.getMonth(),B.getDate())),V=this._get(t,"isRTL"),W=this._get(t,"showButtonPanel"),U=this._get(t,"hideIfNoPrevNext"),q=this._get(t,"navigationAsDateFormat"),G=this._getNumberOfMonths(t),Y=this._get(t,"showCurrentAtPos"),X=this._get(t,"stepMonths"),K=1!==G[0]||1!==G[1],Z=this._daylightSavingAdjust(t.currentDay?new Date(t.currentYear,t.currentMonth,t.currentDay):new Date(9999,9,9)),J=this._getMinMaxDate(t,"min"),Q=this._getMinMaxDate(t,"max"),ee=t.drawMonth-Y,te=t.drawYear;if(ee<0&&(ee+=12,te--),Q)for(n=this._daylightSavingAdjust(new Date(Q.getFullYear(),Q.getMonth()-G[0]*G[1]+1,Q.getDate())),n=J&&n<J?J:n;this._daylightSavingAdjust(new Date(te,ee,1))>n;)--ee<0&&(ee=11,te--);for(t.drawMonth=ee,t.drawYear=te,r=this._get(t,"prevText"),r=q?this.formatDate(r,this._daylightSavingAdjust(new Date(te,ee-X,1)),this._getFormatConfig(t)):r,o=this._canAdjustMonth(t,-1,te,ee)?e("<a>").attr({class:"ui-datepicker-prev ui-corner-all","data-handler":"prev","data-event":"click",title:r}).append(e("<span>").addClass("ui-icon ui-icon-circle-triangle-"+(V?"e":"w")).text(r))[0].outerHTML:U?"":e("<a>").attr({class:"ui-datepicker-prev ui-corner-all ui-state-disabled",title:r}).append(e("<span>").addClass("ui-icon ui-icon-circle-triangle-"+(V?"e":"w")).text(r))[0].outerHTML,i=this._get(t,"nextText"),i=q?this.formatDate(i,this._daylightSavingAdjust(new Date(te,ee+X,1)),this._getFormatConfig(t)):i,a=this._canAdjustMonth(t,1,te,ee)?e("<a>").attr({class:"ui-datepicker-next ui-corner-all","data-handler":"next","data-event":"click",title:i}).append(e("<span>").addClass("ui-icon ui-icon-circle-triangle-"+(V?"w":"e")).text(i))[0].outerHTML:U?"":e("<a>").attr({class:"ui-datepicker-next ui-corner-all ui-state-disabled",title:i}).append(e("<span>").attr("class","ui-icon ui-icon-circle-triangle-"+(V?"w":"e")).text(i))[0].outerHTML,s=this._get(t,"currentText"),l=this._get(t,"gotoCurrent")&&t.currentDay?Z:H,s=q?this.formatDate(s,l,this._getFormatConfig(t)):s,c="",t.inline||(c=e("<button>").attr({type:"button",class:"ui-datepicker-close ui-state-default ui-priority-primary ui-corner-all","data-handler":"hide","data-event":"click"}).text(this._get(t,"closeText"))[0].outerHTML),u="",W&&(u=e("<div class='ui-datepicker-buttonpane ui-widget-content'>").append(V?c:"").append(this._isInRange(t,l)?e("<button>").attr({type:"button",class:"ui-datepicker-current ui-state-default ui-priority-secondary ui-corner-all","data-handler":"today","data-event":"click"}).text(s):"").append(V?"":c)[0].outerHTML),d=parseInt(this._get(t,"firstDay"),10),d=isNaN(d)?0:d,p=this._get(t,"showWeek"),f=this._get(t,"dayNames"),h=this._get(t,"dayNamesMin"),m=this._get(t,"monthNames"),g=this._get(t,"monthNamesShort"),v=this._get(t,"beforeShowDay"),y=this._get(t,"showOtherMonths"),b=this._get(t,"selectOtherMonths"),x=this._getDefaultDate(t),w="",_=0;_<G[0];_++){for(S="",this.maxRows=4,k=0;k<G[1];k++){if(C=this._daylightSavingAdjust(new Date(te,ee,t.selectedDay)),T=" ui-corner-all",M="",K){if(M+="<div class='ui-datepicker-group",G[1]>1)switch(k){case 0:M+=" ui-datepicker-group-first",T=" ui-corner-"+(V?"right":"left");break;case G[1]-1:M+=" ui-datepicker-group-last",T=" ui-corner-"+(V?"left":"right");break;default:M+=" ui-datepicker-group-middle",T=""}M+="'>"}for(M+="<div class='ui-datepicker-header ui-widget-header ui-helper-clearfix"+T+"'>"+(/all|left/.test(T)&&0===_?V?a:o:"")+(/all|right/.test(T)&&0===_?V?o:a:"")+this._generateMonthYearHeader(t,ee,te,J,Q,_>0||k>0,m,g)+"</div><table class='ui-datepicker-calendar'><thead><tr>",P=p?"<th class='ui-datepicker-week-col'>"+this._get(t,"weekHeader")+"</th>":"",A=0;A<7;A++)P+="<th scope='col'"+((A+d+6)%7>=5?" class='ui-datepicker-week-end'":"")+"><span title='"+f[O=(A+d)%7]+"'>"+h[O]+"</span></th>";for(M+=P+"</tr></thead><tbody>",E=this._getDaysInMonth(te,ee),te===t.selectedYear&&ee===t.selectedMonth&&(t.selectedDay=Math.min(t.selectedDay,E)),D=(this._getFirstDayOfMonth(te,ee)-d+7)%7,R=Math.ceil((D+E)/7),I=K&&this.maxRows>R?this.maxRows:R,this.maxRows=I,N=this._daylightSavingAdjust(new Date(te,ee,1-D)),L=0;L<I;L++){for(M+="<tr>",j=p?"<td class='ui-datepicker-week-col'>"+this._get(t,"calculateWeek")(N)+"</td>":"",A=0;A<7;A++)$=v?v.apply(t.input?t.input[0]:null,[N]):[!0,""],F=(z=N.getMonth()!==ee)&&!b||!$[0]||J&&N<J||Q&&N>Q,j+="<td class='"+((A+d+6)%7>=5?" ui-datepicker-week-end":"")+(z?" ui-datepicker-other-month":"")+(N.getTime()===C.getTime()&&ee===t.selectedMonth&&t._keyEvent||x.getTime()===N.getTime()&&x.getTime()===C.getTime()?" "+this._dayOverClass:"")+(F?" "+this._unselectableClass+" ui-state-disabled":"")+(z&&!y?"":" "+$[1]+(N.getTime()===Z.getTime()?" "+this._currentClass:"")+(N.getTime()===H.getTime()?" ui-datepicker-today":""))+"'"+(z&&!y||!$[2]?"":" title='"+$[2].replace(/'/g,"'")+"'")+(F?"":" data-handler='selectDay' data-event='click' data-month='"+N.getMonth()+"' data-year='"+N.getFullYear()+"'")+">"+(z&&!y?" ":F?"<span class='ui-state-default'>"+N.getDate()+"</span>":"<a class='ui-state-default"+(N.getTime()===H.getTime()?" ui-state-highlight":"")+(N.getTime()===Z.getTime()?" ui-state-active":"")+(z?" ui-priority-secondary":"")+"' href='#' aria-current='"+(N.getTime()===Z.getTime()?"true":"false")+"' data-date='"+N.getDate()+"'>"+N.getDate()+"</a>")+"</td>",N.setDate(N.getDate()+1),N=this._daylightSavingAdjust(N);M+=j+"</tr>"}++ee>11&&(ee=0,te++),S+=M+="</tbody></table>"+(K?"</div>"+(G[0]>0&&k===G[1]-1?"<div class='ui-datepicker-row-break'></div>":""):"")}w+=S}return w+=u,t._keyEvent=!1,w},_generateMonthYearHeader:function(e,t,n,r,o,i,a,s){var l,c,u,d,p,f,h,m,g=this._get(e,"changeMonth"),v=this._get(e,"changeYear"),y=this._get(e,"showMonthAfterYear"),b=this._get(e,"selectMonthLabel"),x=this._get(e,"selectYearLabel"),w="<div class='ui-datepicker-title'>",A="";if(i||!g)A+="<span class='ui-datepicker-month'>"+a[t]+"</span>";else{for(l=r&&r.getFullYear()===n,c=o&&o.getFullYear()===n,A+="<select class='ui-datepicker-month' aria-label='"+b+"' data-handler='selectMonth' data-event='change'>",u=0;u<12;u++)(!l||u>=r.getMonth())&&(!c||u<=o.getMonth())&&(A+="<option value='"+u+"'"+(u===t?" selected='selected'":"")+">"+s[u]+"</option>");A+="</select>"}if(y||(w+=A+(!i&&g&&v?"":" ")),!e.yearshtml)if(e.yearshtml="",i||!v)w+="<span class='ui-datepicker-year'>"+n+"</span>";else{for(d=this._get(e,"yearRange").split(":"),p=(new Date).getFullYear(),f=function(e){var t=e.match(/c[+\-].*/)?n+parseInt(e.substring(1),10):e.match(/[+\-].*/)?p+parseInt(e,10):parseInt(e,10);return isNaN(t)?p:t},h=f(d[0]),m=Math.max(h,f(d[1]||"")),h=r?Math.max(h,r.getFullYear()):h,m=o?Math.min(m,o.getFullYear()):m,e.yearshtml+="<select class='ui-datepicker-year' aria-label='"+x+"' data-handler='selectYear' data-event='change'>";h<=m;h++)e.yearshtml+="<option value='"+h+"'"+(h===n?" selected='selected'":"")+">"+h+"</option>";e.yearshtml+="</select>",w+=e.yearshtml,e.yearshtml=null}return w+=this._get(e,"yearSuffix"),y&&(w+=(!i&&g&&v?"":" ")+A),w+="</div>"},_adjustInstDate:function(e,t,n){var r=e.selectedYear+("Y"===n?t:0),o=e.selectedMonth+("M"===n?t:0),i=Math.min(e.selectedDay,this._getDaysInMonth(r,o))+("D"===n?t:0),a=this._restrictMinMax(e,this._daylightSavingAdjust(new Date(r,o,i)));e.selectedDay=a.getDate(),e.drawMonth=e.selectedMonth=a.getMonth(),e.drawYear=e.selectedYear=a.getFullYear(),"M"!==n&&"Y"!==n||this._notifyChange(e)},_restrictMinMax:function(e,t){var n=this._getMinMaxDate(e,"min"),r=this._getMinMaxDate(e,"max"),o=n&&t<n?n:t;return r&&o>r?r:o},_notifyChange:function(e){var t=this._get(e,"onChangeMonthYear");t&&t.apply(e.input?e.input[0]:null,[e.selectedYear,e.selectedMonth+1,e])},_getNumberOfMonths:function(e){var t=this._get(e,"numberOfMonths");return null==t?[1,1]:"number"==typeof t?[1,t]:t},_getMinMaxDate:function(e,t){return this._determineDate(e,this._get(e,t+"Date"),null)},_getDaysInMonth:function(e,t){return 32-this._daylightSavingAdjust(new Date(e,t,32)).getDate()},_getFirstDayOfMonth:function(e,t){return new Date(e,t,1).getDay()},_canAdjustMonth:function(e,t,n,r){var o=this._getNumberOfMonths(e),i=this._daylightSavingAdjust(new Date(n,r+(t<0?t:o[0]*o[1]),1));return t<0&&i.setDate(this._getDaysInMonth(i.getFullYear(),i.getMonth())),this._isInRange(e,i)},_isInRange:function(e,t){var n,r,o=this._getMinMaxDate(e,"min"),i=this._getMinMaxDate(e,"max"),a=null,s=null,l=this._get(e,"yearRange");return l&&(n=l.split(":"),r=(new Date).getFullYear(),a=parseInt(n[0],10),s=parseInt(n[1],10),n[0].match(/[+\-].*/)&&(a+=r),n[1].match(/[+\-].*/)&&(s+=r)),(!o||t.getTime()>=o.getTime())&&(!i||t.getTime()<=i.getTime())&&(!a||t.getFullYear()>=a)&&(!s||t.getFullYear()<=s)},_getFormatConfig:function(e){var t=this._get(e,"shortYearCutoff");return{shortYearCutoff:t="string"!=typeof t?t:(new Date).getFullYear()%100+parseInt(t,10),dayNamesShort:this._get(e,"dayNamesShort"),dayNames:this._get(e,"dayNames"),monthNamesShort:this._get(e,"monthNamesShort"),monthNames:this._get(e,"monthNames")}},_formatDate:function(e,t,n,r){t||(e.currentDay=e.selectedDay,e.currentMonth=e.selectedMonth,e.currentYear=e.selectedYear);var o=t?"object"==typeof t?t:this._daylightSavingAdjust(new Date(r,n,t)):this._daylightSavingAdjust(new Date(e.currentYear,e.currentMonth,e.currentDay));return this.formatDate(this._get(e,"dateFormat"),o,this._getFormatConfig(e))}}),e.fn.datepicker=function(t){if(!this.length)return this;e.datepicker.initialized||(e(document).on("mousedown",e.datepicker._checkExternalClick),e.datepicker.initialized=!0),0===e("#"+e.datepicker._mainDivId).length&&e("body").append(e.datepicker.dpDiv);var n=Array.prototype.slice.call(arguments,1);return"string"!=typeof t||"isDisabled"!==t&&"getDate"!==t&&"widget"!==t?"option"===t&&2===arguments.length&&"string"==typeof arguments[1]?e.datepicker["_"+t+"Datepicker"].apply(e.datepicker,[this[0]].concat(n)):this.each((function(){"string"==typeof t?e.datepicker["_"+t+"Datepicker"].apply(e.datepicker,[this].concat(n)):e.datepicker._attachDatepicker(this,t)})):e.datepicker["_"+t+"Datepicker"].apply(e.datepicker,[this[0]].concat(n))},e.datepicker=new I,e.datepicker.initialized=!1,e.datepicker.uuid=(new Date).getTime(),e.datepicker.version="1.13.3";e.datepicker,e.ui.ie=!!/msie [\w.]+/.exec(navigator.userAgent.toLowerCase());var $=!1;e(document).on("mouseup",(function(){$=!1}));e.widget("ui.mouse",{version:"1.13.3",options:{cancel:"input, textarea, button, select, option",distance:1,delay:0},_mouseInit:function(){var t=this;this.element.on("mousedown."+this.widgetName,(function(e){return t._mouseDown(e)})).on("click."+this.widgetName,(function(n){if(!0===e.data(n.target,t.widgetName+".preventClickEvent"))return e.removeData(n.target,t.widgetName+".preventClickEvent"),n.stopImmediatePropagation(),!1})),this.started=!1},_mouseDestroy:function(){this.element.off("."+this.widgetName),this._mouseMoveDelegate&&this.document.off("mousemove."+this.widgetName,this._mouseMoveDelegate).off("mouseup."+this.widgetName,this._mouseUpDelegate)},_mouseDown:function(t){if(!$){this._mouseMoved=!1,this._mouseStarted&&this._mouseUp(t),this._mouseDownEvent=t;var n=this,r=1===t.which,o=!("string"!=typeof this.options.cancel||!t.target.nodeName)&&e(t.target).closest(this.options.cancel).length;return!(r&&!o&&this._mouseCapture(t))||(this.mouseDelayMet=!this.options.delay,this.mouseDelayMet||(this._mouseDelayTimer=setTimeout((function(){n.mouseDelayMet=!0}),this.options.delay)),this._mouseDistanceMet(t)&&this._mouseDelayMet(t)&&(this._mouseStarted=!1!==this._mouseStart(t),!this._mouseStarted)?(t.preventDefault(),!0):(!0===e.data(t.target,this.widgetName+".preventClickEvent")&&e.removeData(t.target,this.widgetName+".preventClickEvent"),this._mouseMoveDelegate=function(e){return n._mouseMove(e)},this._mouseUpDelegate=function(e){return n._mouseUp(e)},this.document.on("mousemove."+this.widgetName,this._mouseMoveDelegate).on("mouseup."+this.widgetName,this._mouseUpDelegate),t.preventDefault(),$=!0,!0))}},_mouseMove:function(t){if(this._mouseMoved){if(e.ui.ie&&(!document.documentMode||document.documentMode<9)&&!t.button)return this._mouseUp(t);if(!t.which)if(t.originalEvent.altKey||t.originalEvent.ctrlKey||t.originalEvent.metaKey||t.originalEvent.shiftKey)this.ignoreMissingWhich=!0;else if(!this.ignoreMissingWhich)return this._mouseUp(t)}return(t.which||t.button)&&(this._mouseMoved=!0),this._mouseStarted?(this._mouseDrag(t),t.preventDefault()):(this._mouseDistanceMet(t)&&this._mouseDelayMet(t)&&(this._mouseStarted=!1!==this._mouseStart(this._mouseDownEvent,t),this._mouseStarted?this._mouseDrag(t):this._mouseUp(t)),!this._mouseStarted)},_mouseUp:function(t){this.document.off("mousemove."+this.widgetName,this._mouseMoveDelegate).off("mouseup."+this.widgetName,this._mouseUpDelegate),this._mouseStarted&&(this._mouseStarted=!1,t.target===this._mouseDownEvent.target&&e.data(t.target,this.widgetName+".preventClickEvent",!0),this._mouseStop(t)),this._mouseDelayTimer&&(clearTimeout(this._mouseDelayTimer),delete this._mouseDelayTimer),this.ignoreMissingWhich=!1,$=!1,t.preventDefault()},_mouseDistanceMet:function(e){return Math.max(Math.abs(this._mouseDownEvent.pageX-e.pageX),Math.abs(this._mouseDownEvent.pageY-e.pageY))>=this.options.distance},_mouseDelayMet:function(){return this.mouseDelayMet},_mouseStart:function(){},_mouseDrag:function(){},_mouseStop:function(){},_mouseCapture:function(){return!0}}),e.ui.plugin={add:function(t,n,r){var o,i=e.ui[t].prototype;for(o in r)i.plugins[o]=i.plugins[o]||[],i.plugins[o].push([n,r[o]])},call:function(e,t,n,r){var o,i=e.plugins[t];if(i&&(r||e.element[0].parentNode&&11!==e.element[0].parentNode.nodeType))for(o=0;o<i.length;o++)e.options[i[o][0]]&&i[o][1].apply(e.element,n)}},e.ui.safeBlur=function(t){t&&"body"!==t.nodeName.toLowerCase()&&e(t).trigger("blur")};e.widget("ui.draggable",e.ui.mouse,{version:"1.13.3",widgetEventPrefix:"drag",options:{addClasses:!0,appendTo:"parent",axis:!1,connectToSortable:!1,containment:!1,cursor:"auto",cursorAt:!1,grid:!1,handle:!1,helper:"original",iframeFix:!1,opacity:!1,refreshPositions:!1,revert:!1,revertDuration:500,scope:"default",scroll:!0,scrollSensitivity:20,scrollSpeed:20,snap:!1,snapMode:"both",snapTolerance:20,stack:!1,zIndex:!1,drag:null,start:null,stop:null},_create:function(){"original"===this.options.helper&&this._setPositionRelative(),this.options.addClasses&&this._addClass("ui-draggable"),this._setHandleClassName(),this._mouseInit()},_setOption:function(e,t){this._super(e,t),"handle"===e&&(this._removeHandleClassName(),this._setHandleClassName())},_destroy:function(){(this.helper||this.element).is(".ui-draggable-dragging")?this.destroyOnClear=!0:(this._removeHandleClassName(),this._mouseDestroy())},_mouseCapture:function(t){var n=this.options;return!(this.helper||n.disabled||e(t.target).closest(".ui-resizable-handle").length>0)&&(this.handle=this._getHandle(t),!!this.handle&&(this._blurActiveElement(t),this._blockFrames(!0===n.iframeFix?"iframe":n.iframeFix),!0))},_blockFrames:function(t){this.iframeBlocks=this.document.find(t).map((function(){var t=e(this);return e("<div>").css("position","absolute").appendTo(t.parent()).outerWidth(t.outerWidth()).outerHeight(t.outerHeight()).offset(t.offset())[0]}))},_unblockFrames:function(){this.iframeBlocks&&(this.iframeBlocks.remove(),delete this.iframeBlocks)},_blurActiveElement:function(t){var n=e.ui.safeActiveElement(this.document[0]);e(t.target).closest(n).length||e.ui.safeBlur(n)},_mouseStart:function(t){var n=this.options;return this.helper=this._createHelper(t),this._addClass(this.helper,"ui-draggable-dragging"),this._cacheHelperProportions(),e.ui.ddmanager&&(e.ui.ddmanager.current=this),this._cacheMargins(),this.cssPosition=this.helper.css("position"),this.scrollParent=this.helper.scrollParent(!0),this.offsetParent=this.helper.offsetParent(),this.hasFixedAncestor=this.helper.parents().filter((function(){return"fixed"===e(this).css("position")})).length>0,this.positionAbs=this.element.offset(),this._refreshOffsets(t),this.originalPosition=this.position=this._generatePosition(t,!1),this.originalPageX=t.pageX,this.originalPageY=t.pageY,n.cursorAt&&this._adjustOffsetFromHelper(n.cursorAt),this._setContainment(),!1===this._trigger("start",t)?(this._clear(),!1):(this._cacheHelperProportions(),e.ui.ddmanager&&!n.dropBehaviour&&e.ui.ddmanager.prepareOffsets(this,t),this._mouseDrag(t,!0),e.ui.ddmanager&&e.ui.ddmanager.dragStart(this,t),!0)},_refreshOffsets:function(e){this.offset={top:this.positionAbs.top-this.margins.top,left:this.positionAbs.left-this.margins.left,scroll:!1,parent:this._getParentOffset(),relative:this._getRelativeOffset()},this.offset.click={left:e.pageX-this.offset.left,top:e.pageY-this.offset.top}},_mouseDrag:function(t,n){if(this.hasFixedAncestor&&(this.offset.parent=this._getParentOffset()),this.position=this._generatePosition(t,!0),this.positionAbs=this._convertPositionTo("absolute"),!n){var r=this._uiHash();if(!1===this._trigger("drag",t,r))return this._mouseUp(new e.Event("mouseup",t)),!1;this.position=r.position}return this.helper[0].style.left=this.position.left+"px",this.helper[0].style.top=this.position.top+"px",e.ui.ddmanager&&e.ui.ddmanager.drag(this,t),!1},_mouseStop:function(t){var n=this,r=!1;return e.ui.ddmanager&&!this.options.dropBehaviour&&(r=e.ui.ddmanager.drop(this,t)),this.dropped&&(r=this.dropped,this.dropped=!1),"invalid"===this.options.revert&&!r||"valid"===this.options.revert&&r||!0===this.options.revert||"function"==typeof this.options.revert&&this.options.revert.call(this.element,r)?e(this.helper).animate(this.originalPosition,parseInt(this.options.revertDuration,10),(function(){!1!==n._trigger("stop",t)&&n._clear()})):!1!==this._trigger("stop",t)&&this._clear(),!1},_mouseUp:function(t){return this._unblockFrames(),e.ui.ddmanager&&e.ui.ddmanager.dragStop(this,t),this.handleElement.is(t.target)&&this.element.trigger("focus"),e.ui.mouse.prototype._mouseUp.call(this,t)},cancel:function(){return this.helper.is(".ui-draggable-dragging")?this._mouseUp(new e.Event("mouseup",{target:this.element[0]})):this._clear(),this},_getHandle:function(t){return!this.options.handle||!!e(t.target).closest(this.element.find(this.options.handle)).length},_setHandleClassName:function(){this.handleElement=this.options.handle?this.element.find(this.options.handle):this.element,this._addClass(this.handleElement,"ui-draggable-handle")},_removeHandleClassName:function(){this._removeClass(this.handleElement,"ui-draggable-handle")},_createHelper:function(t){var n=this.options,r="function"==typeof n.helper,o=r?e(n.helper.apply(this.element[0],[t])):"clone"===n.helper?this.element.clone().removeAttr("id"):this.element;return o.parents("body").length||o.appendTo("parent"===n.appendTo?this.element[0].parentNode:n.appendTo),r&&o[0]===this.element[0]&&this._setPositionRelative(),o[0]===this.element[0]||/(fixed|absolute)/.test(o.css("position"))||o.css("position","absolute"),o},_setPositionRelative:function(){/^(?:r|a|f)/.test(this.element.css("position"))||(this.element[0].style.position="relative")},_adjustOffsetFromHelper:function(e){"string"==typeof e&&(e=e.split(" ")),Array.isArray(e)&&(e={left:+e[0],top:+e[1]||0}),"left"in e&&(this.offset.click.left=e.left+this.margins.left),"right"in e&&(this.offset.click.left=this.helperProportions.width-e.right+this.margins.left),"top"in e&&(this.offset.click.top=e.top+this.margins.top),"bottom"in e&&(this.offset.click.top=this.helperProportions.height-e.bottom+this.margins.top)},_isRootNode:function(e){return/(html|body)/i.test(e.tagName)||e===this.document[0]},_getParentOffset:function(){var t=this.offsetParent.offset(),n=this.document[0];return"absolute"===this.cssPosition&&this.scrollParent[0]!==n&&e.contains(this.scrollParent[0],this.offsetParent[0])&&(t.left+=this.scrollParent.scrollLeft(),t.top+=this.scrollParent.scrollTop()),this._isRootNode(this.offsetParent[0])&&(t={top:0,left:0}),{top:t.top+(parseInt(this.offsetParent.css("borderTopWidth"),10)||0),left:t.left+(parseInt(this.offsetParent.css("borderLeftWidth"),10)||0)}},_getRelativeOffset:function(){if("relative"!==this.cssPosition)return{top:0,left:0};var e=this.element.position(),t=this._isRootNode(this.scrollParent[0]);return{top:e.top-(parseInt(this.helper.css("top"),10)||0)+(t?0:this.scrollParent.scrollTop()),left:e.left-(parseInt(this.helper.css("left"),10)||0)+(t?0:this.scrollParent.scrollLeft())}},_cacheMargins:function(){this.margins={left:parseInt(this.element.css("marginLeft"),10)||0,top:parseInt(this.element.css("marginTop"),10)||0,right:parseInt(this.element.css("marginRight"),10)||0,bottom:parseInt(this.element.css("marginBottom"),10)||0}},_cacheHelperProportions:function(){this.helperProportions={width:this.helper.outerWidth(),height:this.helper.outerHeight()}},_setContainment:function(){var t,n,r,o=this.options,i=this.document[0];this.relativeContainer=null,o.containment?"window"!==o.containment?"document"!==o.containment?o.containment.constructor!==Array?("parent"===o.containment&&(o.containment=this.helper[0].parentNode),(r=(n=e(o.containment))[0])&&(t=/(scroll|auto)/.test(n.css("overflow")),this.containment=[(parseInt(n.css("borderLeftWidth"),10)||0)+(parseInt(n.css("paddingLeft"),10)||0),(parseInt(n.css("borderTopWidth"),10)||0)+(parseInt(n.css("paddingTop"),10)||0),(t?Math.max(r.scrollWidth,r.offsetWidth):r.offsetWidth)-(parseInt(n.css("borderRightWidth"),10)||0)-(parseInt(n.css("paddingRight"),10)||0)-this.helperProportions.width-this.margins.left-this.margins.right,(t?Math.max(r.scrollHeight,r.offsetHeight):r.offsetHeight)-(parseInt(n.css("borderBottomWidth"),10)||0)-(parseInt(n.css("paddingBottom"),10)||0)-this.helperProportions.height-this.margins.top-this.margins.bottom],this.relativeContainer=n)):this.containment=o.containment:this.containment=[0,0,e(i).width()-this.helperProportions.width-this.margins.left,(e(i).height()||i.body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top]:this.containment=[e(window).scrollLeft()-this.offset.relative.left-this.offset.parent.left,e(window).scrollTop()-this.offset.relative.top-this.offset.parent.top,e(window).scrollLeft()+e(window).width()-this.helperProportions.width-this.margins.left,e(window).scrollTop()+(e(window).height()||i.body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top]:this.containment=null},_convertPositionTo:function(e,t){t||(t=this.position);var n="absolute"===e?1:-1,r=this._isRootNode(this.scrollParent[0]);return{top:t.top+this.offset.relative.top*n+this.offset.parent.top*n-("fixed"===this.cssPosition?-this.offset.scroll.top:r?0:this.offset.scroll.top)*n,left:t.left+this.offset.relative.left*n+this.offset.parent.left*n-("fixed"===this.cssPosition?-this.offset.scroll.left:r?0:this.offset.scroll.left)*n}},_generatePosition:function(e,t){var n,r,o,i,a=this.options,s=this._isRootNode(this.scrollParent[0]),l=e.pageX,c=e.pageY;return s&&this.offset.scroll||(this.offset.scroll={top:this.scrollParent.scrollTop(),left:this.scrollParent.scrollLeft()}),t&&(this.containment&&(this.relativeContainer?(r=this.relativeContainer.offset(),n=[this.containment[0]+r.left,this.containment[1]+r.top,this.containment[2]+r.left,this.containment[3]+r.top]):n=this.containment,e.pageX-this.offset.click.left<n[0]&&(l=n[0]+this.offset.click.left),e.pageY-this.offset.click.top<n[1]&&(c=n[1]+this.offset.click.top),e.pageX-this.offset.click.left>n[2]&&(l=n[2]+this.offset.click.left),e.pageY-this.offset.click.top>n[3]&&(c=n[3]+this.offset.click.top)),a.grid&&(o=a.grid[1]?this.originalPageY+Math.round((c-this.originalPageY)/a.grid[1])*a.grid[1]:this.originalPageY,c=n?o-this.offset.click.top>=n[1]||o-this.offset.click.top>n[3]?o:o-this.offset.click.top>=n[1]?o-a.grid[1]:o+a.grid[1]:o,i=a.grid[0]?this.originalPageX+Math.round((l-this.originalPageX)/a.grid[0])*a.grid[0]:this.originalPageX,l=n?i-this.offset.click.left>=n[0]||i-this.offset.click.left>n[2]?i:i-this.offset.click.left>=n[0]?i-a.grid[0]:i+a.grid[0]:i),"y"===a.axis&&(l=this.originalPageX),"x"===a.axis&&(c=this.originalPageY)),{top:c-this.offset.click.top-this.offset.relative.top-this.offset.parent.top+("fixed"===this.cssPosition?-this.offset.scroll.top:s?0:this.offset.scroll.top),left:l-this.offset.click.left-this.offset.relative.left-this.offset.parent.left+("fixed"===this.cssPosition?-this.offset.scroll.left:s?0:this.offset.scroll.left)}},_clear:function(){this._removeClass(this.helper,"ui-draggable-dragging"),this.helper[0]===this.element[0]||this.cancelHelperRemoval||this.helper.remove(),this.helper=null,this.cancelHelperRemoval=!1,this.destroyOnClear&&this.destroy()},_trigger:function(t,n,r){return r=r||this._uiHash(),e.ui.plugin.call(this,t,[n,r,this],!0),/^(drag|start|stop)/.test(t)&&(this.positionAbs=this._convertPositionTo("absolute"),r.offset=this.positionAbs),e.Widget.prototype._trigger.call(this,t,n,r)},plugins:{},_uiHash:function(){return{helper:this.helper,position:this.position,originalPosition:this.originalPosition,offset:this.positionAbs}}}),e.ui.plugin.add("draggable","connectToSortable",{start:function(t,n,r){var o=e.extend({},n,{item:r.element});r.sortables=[],e(r.options.connectToSortable).each((function(){var n=e(this).sortable("instance");n&&!n.options.disabled&&(r.sortables.push(n),n.refreshPositions(),n._trigger("activate",t,o))}))},stop:function(t,n,r){var o=e.extend({},n,{item:r.element});r.cancelHelperRemoval=!1,e.each(r.sortables,(function(){var e=this;e.isOver?(e.isOver=0,r.cancelHelperRemoval=!0,e.cancelHelperRemoval=!1,e._storedCSS={position:e.placeholder.css("position"),top:e.placeholder.css("top"),left:e.placeholder.css("left")},e._mouseStop(t),e.options.helper=e.options._helper):(e.cancelHelperRemoval=!0,e._trigger("deactivate",t,o))}))},drag:function(t,n,r){e.each(r.sortables,(function(){var o=!1,i=this;i.positionAbs=r.positionAbs,i.helperProportions=r.helperProportions,i.offset.click=r.offset.click,i._intersectsWith(i.containerCache)&&(o=!0,e.each(r.sortables,(function(){return this.positionAbs=r.positionAbs,this.helperProportions=r.helperProportions,this.offset.click=r.offset.click,this!==i&&this._intersectsWith(this.containerCache)&&e.contains(i.element[0],this.element[0])&&(o=!1),o}))),o?(i.isOver||(i.isOver=1,r._parent=n.helper.parent(),i.currentItem=n.helper.appendTo(i.element).data("ui-sortable-item",!0),i.options._helper=i.options.helper,i.options.helper=function(){return n.helper[0]},t.target=i.currentItem[0],i._mouseCapture(t,!0),i._mouseStart(t,!0,!0),i.offset.click.top=r.offset.click.top,i.offset.click.left=r.offset.click.left,i.offset.parent.left-=r.offset.parent.left-i.offset.parent.left,i.offset.parent.top-=r.offset.parent.top-i.offset.parent.top,r._trigger("toSortable",t),r.dropped=i.element,e.each(r.sortables,(function(){this.refreshPositions()})),r.currentItem=r.element,i.fromOutside=r),i.currentItem&&(i._mouseDrag(t),n.position=i.position)):i.isOver&&(i.isOver=0,i.cancelHelperRemoval=!0,i.options._revert=i.options.revert,i.options.revert=!1,i._trigger("out",t,i._uiHash(i)),i._mouseStop(t,!0),i.options.revert=i.options._revert,i.options.helper=i.options._helper,i.placeholder&&i.placeholder.remove(),n.helper.appendTo(r._parent),r._refreshOffsets(t),n.position=r._generatePosition(t,!0),r._trigger("fromSortable",t),r.dropped=!1,e.each(r.sortables,(function(){this.refreshPositions()})))}))}}),e.ui.plugin.add("draggable","cursor",{start:function(t,n,r){var o=e("body"),i=r.options;o.css("cursor")&&(i._cursor=o.css("cursor")),o.css("cursor",i.cursor)},stop:function(t,n,r){var o=r.options;o._cursor&&e("body").css("cursor",o._cursor)}}),e.ui.plugin.add("draggable","opacity",{start:function(t,n,r){var o=e(n.helper),i=r.options;o.css("opacity")&&(i._opacity=o.css("opacity")),o.css("opacity",i.opacity)},stop:function(t,n,r){var o=r.options;o._opacity&&e(n.helper).css("opacity",o._opacity)}}),e.ui.plugin.add("draggable","scroll",{start:function(e,t,n){n.scrollParentNotHidden||(n.scrollParentNotHidden=n.helper.scrollParent(!1)),n.scrollParentNotHidden[0]!==n.document[0]&&"HTML"!==n.scrollParentNotHidden[0].tagName&&(n.overflowOffset=n.scrollParentNotHidden.offset())},drag:function(t,n,r){var o=r.options,i=!1,a=r.scrollParentNotHidden[0],s=r.document[0];a!==s&&"HTML"!==a.tagName?(o.axis&&"x"===o.axis||(r.overflowOffset.top+a.offsetHeight-t.pageY<o.scrollSensitivity?a.scrollTop=i=a.scrollTop+o.scrollSpeed:t.pageY-r.overflowOffset.top<o.scrollSensitivity&&(a.scrollTop=i=a.scrollTop-o.scrollSpeed)),o.axis&&"y"===o.axis||(r.overflowOffset.left+a.offsetWidth-t.pageX<o.scrollSensitivity?a.scrollLeft=i=a.scrollLeft+o.scrollSpeed:t.pageX-r.overflowOffset.left<o.scrollSensitivity&&(a.scrollLeft=i=a.scrollLeft-o.scrollSpeed))):(o.axis&&"x"===o.axis||(t.pageY-e(s).scrollTop()<o.scrollSensitivity?i=e(s).scrollTop(e(s).scrollTop()-o.scrollSpeed):e(window).height()-(t.pageY-e(s).scrollTop())<o.scrollSensitivity&&(i=e(s).scrollTop(e(s).scrollTop()+o.scrollSpeed))),o.axis&&"y"===o.axis||(t.pageX-e(s).scrollLeft()<o.scrollSensitivity?i=e(s).scrollLeft(e(s).scrollLeft()-o.scrollSpeed):e(window).width()-(t.pageX-e(s).scrollLeft())<o.scrollSensitivity&&(i=e(s).scrollLeft(e(s).scrollLeft()+o.scrollSpeed)))),!1!==i&&e.ui.ddmanager&&!o.dropBehaviour&&e.ui.ddmanager.prepareOffsets(r,t)}}),e.ui.plugin.add("draggable","snap",{start:function(t,n,r){var o=r.options;r.snapElements=[],e(o.snap.constructor!==String?o.snap.items||":data(ui-draggable)":o.snap).each((function(){var t=e(this),n=t.offset();this!==r.element[0]&&r.snapElements.push({item:this,width:t.outerWidth(),height:t.outerHeight(),top:n.top,left:n.left})}))},drag:function(t,n,r){var o,i,a,s,l,c,u,d,p,f,h=r.options,m=h.snapTolerance,g=n.offset.left,v=g+r.helperProportions.width,y=n.offset.top,b=y+r.helperProportions.height;for(p=r.snapElements.length-1;p>=0;p--)c=(l=r.snapElements[p].left-r.margins.left)+r.snapElements[p].width,d=(u=r.snapElements[p].top-r.margins.top)+r.snapElements[p].height,v<l-m||g>c+m||b<u-m||y>d+m||!e.contains(r.snapElements[p].item.ownerDocument,r.snapElements[p].item)?(r.snapElements[p].snapping&&r.options.snap.release&&r.options.snap.release.call(r.element,t,e.extend(r._uiHash(),{snapItem:r.snapElements[p].item})),r.snapElements[p].snapping=!1):("inner"!==h.snapMode&&(o=Math.abs(u-b)<=m,i=Math.abs(d-y)<=m,a=Math.abs(l-v)<=m,s=Math.abs(c-g)<=m,o&&(n.position.top=r._convertPositionTo("relative",{top:u-r.helperProportions.height,left:0}).top),i&&(n.position.top=r._convertPositionTo("relative",{top:d,left:0}).top),a&&(n.position.left=r._convertPositionTo("relative",{top:0,left:l-r.helperProportions.width}).left),s&&(n.position.left=r._convertPositionTo("relative",{top:0,left:c}).left)),f=o||i||a||s,"outer"!==h.snapMode&&(o=Math.abs(u-y)<=m,i=Math.abs(d-b)<=m,a=Math.abs(l-g)<=m,s=Math.abs(c-v)<=m,o&&(n.position.top=r._convertPositionTo("relative",{top:u,left:0}).top),i&&(n.position.top=r._convertPositionTo("relative",{top:d-r.helperProportions.height,left:0}).top),a&&(n.position.left=r._convertPositionTo("relative",{top:0,left:l}).left),s&&(n.position.left=r._convertPositionTo("relative",{top:0,left:c-r.helperProportions.width}).left)),!r.snapElements[p].snapping&&(o||i||a||s||f)&&r.options.snap.snap&&r.options.snap.snap.call(r.element,t,e.extend(r._uiHash(),{snapItem:r.snapElements[p].item})),r.snapElements[p].snapping=o||i||a||s||f)}}),e.ui.plugin.add("draggable","stack",{start:function(t,n,r){var o,i=r.options,a=e.makeArray(e(i.stack)).sort((function(t,n){return(parseInt(e(t).css("zIndex"),10)||0)-(parseInt(e(n).css("zIndex"),10)||0)}));a.length&&(o=parseInt(e(a[0]).css("zIndex"),10)||0,e(a).each((function(t){e(this).css("zIndex",o+t)})),this.css("zIndex",o+a.length))}}),e.ui.plugin.add("draggable","zIndex",{start:function(t,n,r){var o=e(n.helper),i=r.options;o.css("zIndex")&&(i._zIndex=o.css("zIndex")),o.css("zIndex",i.zIndex)},stop:function(t,n,r){var o=r.options;o._zIndex&&e(n.helper).css("zIndex",o._zIndex)}});e.ui.draggable;e.widget("ui.resizable",e.ui.mouse,{version:"1.13.3",widgetEventPrefix:"resize",options:{alsoResize:!1,animate:!1,animateDuration:"slow",animateEasing:"swing",aspectRatio:!1,autoHide:!1,classes:{"ui-resizable-se":"ui-icon ui-icon-gripsmall-diagonal-se"},containment:!1,ghost:!1,grid:!1,handles:"e,s,se",helper:!1,maxHeight:null,maxWidth:null,minHeight:10,minWidth:10,zIndex:90,resize:null,start:null,stop:null},_num:function(e){return parseFloat(e)||0},_isNumber:function(e){return!isNaN(parseFloat(e))},_hasScroll:function(t,n){if("hidden"===e(t).css("overflow"))return!1;var r=n&&"left"===n?"scrollLeft":"scrollTop",o=!1;if(t[r]>0)return!0;try{t[r]=1,o=t[r]>0,t[r]=0}catch(e){}return o},_create:function(){var t,n=this.options,r=this;this._addClass("ui-resizable"),e.extend(this,{_aspectRatio:!!n.aspectRatio,aspectRatio:n.aspectRatio,originalElement:this.element,_proportionallyResizeElements:[],_helper:n.helper||n.ghost||n.animate?n.helper||"ui-resizable-helper":null}),this.element[0].nodeName.match(/^(canvas|textarea|input|select|button|img)$/i)&&(this.element.wrap(e("<div class='ui-wrapper'></div>").css({overflow:"hidden",position:this.element.css("position"),width:this.element.outerWidth(),height:this.element.outerHeight(),top:this.element.css("top"),left:this.element.css("left")})),this.element=this.element.parent().data("ui-resizable",this.element.resizable("instance")),this.elementIsWrapper=!0,t={marginTop:this.originalElement.css("marginTop"),marginRight:this.originalElement.css("marginRight"),marginBottom:this.originalElement.css("marginBottom"),marginLeft:this.originalElement.css("marginLeft")},this.element.css(t),this.originalElement.css("margin",0),this.originalResizeStyle=this.originalElement.css("resize"),this.originalElement.css("resize","none"),this._proportionallyResizeElements.push(this.originalElement.css({position:"static",zoom:1,display:"block"})),this.originalElement.css(t),this._proportionallyResize()),this._setupHandles(),n.autoHide&&e(this.element).on("mouseenter",(function(){n.disabled||(r._removeClass("ui-resizable-autohide"),r._handles.show())})).on("mouseleave",(function(){n.disabled||r.resizing||(r._addClass("ui-resizable-autohide"),r._handles.hide())})),this._mouseInit()},_destroy:function(){this._mouseDestroy(),this._addedHandles.remove();var t,n=function(t){e(t).removeData("resizable").removeData("ui-resizable").off(".resizable")};return this.elementIsWrapper&&(n(this.element),t=this.element,this.originalElement.css({position:t.css("position"),width:t.outerWidth(),height:t.outerHeight(),top:t.css("top"),left:t.css("left")}).insertAfter(t),t.remove()),this.originalElement.css("resize",this.originalResizeStyle),n(this.originalElement),this},_setOption:function(e,t){switch(this._super(e,t),e){case"handles":this._removeHandles(),this._setupHandles();break;case"aspectRatio":this._aspectRatio=!!t}},_setupHandles:function(){var t,n,r,o,i,a=this.options,s=this;if(this.handles=a.handles||(e(".ui-resizable-handle",this.element).length?{n:".ui-resizable-n",e:".ui-resizable-e",s:".ui-resizable-s",w:".ui-resizable-w",se:".ui-resizable-se",sw:".ui-resizable-sw",ne:".ui-resizable-ne",nw:".ui-resizable-nw"}:"e,s,se"),this._handles=e(),this._addedHandles=e(),this.handles.constructor===String)for("all"===this.handles&&(this.handles="n,e,s,w,se,sw,ne,nw"),r=this.handles.split(","),this.handles={},n=0;n<r.length;n++)o="ui-resizable-"+(t=String.prototype.trim.call(r[n])),i=e("<div>"),this._addClass(i,"ui-resizable-handle "+o),i.css({zIndex:a.zIndex}),this.handles[t]=".ui-resizable-"+t,this.element.children(this.handles[t]).length||(this.element.append(i),this._addedHandles=this._addedHandles.add(i));this._renderAxis=function(t){var n,r,o,i;for(n in t=t||this.element,this.handles)this.handles[n].constructor===String?this.handles[n]=this.element.children(this.handles[n]).first().show():(this.handles[n].jquery||this.handles[n].nodeType)&&(this.handles[n]=e(this.handles[n]),this._on(this.handles[n],{mousedown:s._mouseDown})),this.elementIsWrapper&&this.originalElement[0].nodeName.match(/^(textarea|input|select|button)$/i)&&(r=e(this.handles[n],this.element),i=/sw|ne|nw|se|n|s/.test(n)?r.outerHeight():r.outerWidth(),o=["padding",/ne|nw|n/.test(n)?"Top":/se|sw|s/.test(n)?"Bottom":/^e$/.test(n)?"Right":"Left"].join(""),t.css(o,i),this._proportionallyResize()),this._handles=this._handles.add(this.handles[n])},this._renderAxis(this.element),this._handles=this._handles.add(this.element.find(".ui-resizable-handle")),this._handles.disableSelection(),this._handles.on("mouseover",(function(){s.resizing||(this.className&&(i=this.className.match(/ui-resizable-(se|sw|ne|nw|n|e|s|w)/i)),s.axis=i&&i[1]?i[1]:"se")})),a.autoHide&&(this._handles.hide(),this._addClass("ui-resizable-autohide"))},_removeHandles:function(){this._addedHandles.remove()},_mouseCapture:function(t){var n,r,o=!1;for(n in this.handles)((r=e(this.handles[n])[0])===t.target||e.contains(r,t.target))&&(o=!0);return!this.options.disabled&&o},_mouseStart:function(t){var n,r,o,i=this.options,a=this.element;return this.resizing=!0,this._renderProxy(),n=this._num(this.helper.css("left")),r=this._num(this.helper.css("top")),i.containment&&(n+=e(i.containment).scrollLeft()||0,r+=e(i.containment).scrollTop()||0),this.offset=this.helper.offset(),this.position={left:n,top:r},this.size=this._helper?{width:this.helper.width(),height:this.helper.height()}:{width:a.width(),height:a.height()},this.originalSize=this._helper?{width:a.outerWidth(),height:a.outerHeight()}:{width:a.width(),height:a.height()},this.sizeDiff={width:a.outerWidth()-a.width(),height:a.outerHeight()-a.height()},this.originalPosition={left:n,top:r},this.originalMousePosition={left:t.pageX,top:t.pageY},this.aspectRatio="number"==typeof i.aspectRatio?i.aspectRatio:this.originalSize.width/this.originalSize.height||1,o=e(".ui-resizable-"+this.axis).css("cursor"),e("body").css("cursor","auto"===o?this.axis+"-resize":o),this._addClass("ui-resizable-resizing"),this._propagate("start",t),!0},_mouseDrag:function(t){var n,r,o=this.originalMousePosition,i=this.axis,a=t.pageX-o.left||0,s=t.pageY-o.top||0,l=this._change[i];return this._updatePrevProperties(),!!l&&(n=l.apply(this,[t,a,s]),this._updateVirtualBoundaries(t.shiftKey),(this._aspectRatio||t.shiftKey)&&(n=this._updateRatio(n,t)),n=this._respectSize(n,t),this._updateCache(n),this._propagate("resize",t),r=this._applyChanges(),!this._helper&&this._proportionallyResizeElements.length&&this._proportionallyResize(),e.isEmptyObject(r)||(this._updatePrevProperties(),this._trigger("resize",t,this.ui()),this._applyChanges()),!1)},_mouseStop:function(t){this.resizing=!1;var n,r,o,i,a,s,l,c=this.options,u=this;return this._helper&&(o=(r=(n=this._proportionallyResizeElements).length&&/textarea/i.test(n[0].nodeName))&&this._hasScroll(n[0],"left")?0:u.sizeDiff.height,i=r?0:u.sizeDiff.width,a={width:u.helper.width()-i,height:u.helper.height()-o},s=parseFloat(u.element.css("left"))+(u.position.left-u.originalPosition.left)||null,l=parseFloat(u.element.css("top"))+(u.position.top-u.originalPosition.top)||null,c.animate||this.element.css(e.extend(a,{top:l,left:s})),u.helper.height(u.size.height),u.helper.width(u.size.width),this._helper&&!c.animate&&this._proportionallyResize()),e("body").css("cursor","auto"),this._removeClass("ui-resizable-resizing"),this._propagate("stop",t),this._helper&&this.helper.remove(),!1},_updatePrevProperties:function(){this.prevPosition={top:this.position.top,left:this.position.left},this.prevSize={width:this.size.width,height:this.size.height}},_applyChanges:function(){var e={};return this.position.top!==this.prevPosition.top&&(e.top=this.position.top+"px"),this.position.left!==this.prevPosition.left&&(e.left=this.position.left+"px"),this.helper.css(e),this.size.width!==this.prevSize.width&&(e.width=this.size.width+"px",this.helper.width(e.width)),this.size.height!==this.prevSize.height&&(e.height=this.size.height+"px",this.helper.height(e.height)),e},_updateVirtualBoundaries:function(e){var t,n,r,o,i,a=this.options;i={minWidth:this._isNumber(a.minWidth)?a.minWidth:0,maxWidth:this._isNumber(a.maxWidth)?a.maxWidth:1/0,minHeight:this._isNumber(a.minHeight)?a.minHeight:0,maxHeight:this._isNumber(a.maxHeight)?a.maxHeight:1/0},(this._aspectRatio||e)&&(t=i.minHeight*this.aspectRatio,r=i.minWidth/this.aspectRatio,n=i.maxHeight*this.aspectRatio,o=i.maxWidth/this.aspectRatio,t>i.minWidth&&(i.minWidth=t),r>i.minHeight&&(i.minHeight=r),n<i.maxWidth&&(i.maxWidth=n),o<i.maxHeight&&(i.maxHeight=o)),this._vBoundaries=i},_updateCache:function(e){this.offset=this.helper.offset(),this._isNumber(e.left)&&(this.position.left=e.left),this._isNumber(e.top)&&(this.position.top=e.top),this._isNumber(e.height)&&(this.size.height=e.height),this._isNumber(e.width)&&(this.size.width=e.width)},_updateRatio:function(e){var t=this.position,n=this.size,r=this.axis;return this._isNumber(e.height)?e.width=e.height*this.aspectRatio:this._isNumber(e.width)&&(e.height=e.width/this.aspectRatio),"sw"===r&&(e.left=t.left+(n.width-e.width),e.top=null),"nw"===r&&(e.top=t.top+(n.height-e.height),e.left=t.left+(n.width-e.width)),e},_respectSize:function(e){var t=this._vBoundaries,n=this.axis,r=this._isNumber(e.width)&&t.maxWidth&&t.maxWidth<e.width,o=this._isNumber(e.height)&&t.maxHeight&&t.maxHeight<e.height,i=this._isNumber(e.width)&&t.minWidth&&t.minWidth>e.width,a=this._isNumber(e.height)&&t.minHeight&&t.minHeight>e.height,s=this.originalPosition.left+this.originalSize.width,l=this.originalPosition.top+this.originalSize.height,c=/sw|nw|w/.test(n),u=/nw|ne|n/.test(n);return i&&(e.width=t.minWidth),a&&(e.height=t.minHeight),r&&(e.width=t.maxWidth),o&&(e.height=t.maxHeight),i&&c&&(e.left=s-t.minWidth),r&&c&&(e.left=s-t.maxWidth),a&&u&&(e.top=l-t.minHeight),o&&u&&(e.top=l-t.maxHeight),e.width||e.height||e.left||!e.top?e.width||e.height||e.top||!e.left||(e.left=null):e.top=null,e},_getPaddingPlusBorderDimensions:function(e){for(var t=0,n=[],r=[e.css("borderTopWidth"),e.css("borderRightWidth"),e.css("borderBottomWidth"),e.css("borderLeftWidth")],o=[e.css("paddingTop"),e.css("paddingRight"),e.css("paddingBottom"),e.css("paddingLeft")];t<4;t++)n[t]=parseFloat(r[t])||0,n[t]+=parseFloat(o[t])||0;return{height:n[0]+n[2],width:n[1]+n[3]}},_proportionallyResize:function(){if(this._proportionallyResizeElements.length)for(var e,t=0,n=this.helper||this.element;t<this._proportionallyResizeElements.length;t++)e=this._proportionallyResizeElements[t],this.outerDimensions||(this.outerDimensions=this._getPaddingPlusBorderDimensions(e)),e.css({height:n.height()-this.outerDimensions.height||0,width:n.width()-this.outerDimensions.width||0})},_renderProxy:function(){var t=this.element,n=this.options;this.elementOffset=t.offset(),this._helper?(this.helper=this.helper||e("<div></div>").css({overflow:"hidden"}),this._addClass(this.helper,this._helper),this.helper.css({width:this.element.outerWidth(),height:this.element.outerHeight(),position:"absolute",left:this.elementOffset.left+"px",top:this.elementOffset.top+"px",zIndex:++n.zIndex}),this.helper.appendTo("body").disableSelection()):this.helper=this.element},_change:{e:function(e,t){return{width:this.originalSize.width+t}},w:function(e,t){var n=this.originalSize;return{left:this.originalPosition.left+t,width:n.width-t}},n:function(e,t,n){var r=this.originalSize;return{top:this.originalPosition.top+n,height:r.height-n}},s:function(e,t,n){return{height:this.originalSize.height+n}},se:function(t,n,r){return e.extend(this._change.s.apply(this,arguments),this._change.e.apply(this,[t,n,r]))},sw:function(t,n,r){return e.extend(this._change.s.apply(this,arguments),this._change.w.apply(this,[t,n,r]))},ne:function(t,n,r){return e.extend(this._change.n.apply(this,arguments),this._change.e.apply(this,[t,n,r]))},nw:function(t,n,r){return e.extend(this._change.n.apply(this,arguments),this._change.w.apply(this,[t,n,r]))}},_propagate:function(t,n){e.ui.plugin.call(this,t,[n,this.ui()]),"resize"!==t&&this._trigger(t,n,this.ui())},plugins:{},ui:function(){return{originalElement:this.originalElement,element:this.element,helper:this.helper,position:this.position,size:this.size,originalSize:this.originalSize,originalPosition:this.originalPosition}}}),e.ui.plugin.add("resizable","animate",{stop:function(t){var n=e(this).resizable("instance"),r=n.options,o=n._proportionallyResizeElements,i=o.length&&/textarea/i.test(o[0].nodeName),a=i&&n._hasScroll(o[0],"left")?0:n.sizeDiff.height,s=i?0:n.sizeDiff.width,l={width:n.size.width-s,height:n.size.height-a},c=parseFloat(n.element.css("left"))+(n.position.left-n.originalPosition.left)||null,u=parseFloat(n.element.css("top"))+(n.position.top-n.originalPosition.top)||null;n.element.animate(e.extend(l,u&&c?{top:u,left:c}:{}),{duration:r.animateDuration,easing:r.animateEasing,step:function(){var r={width:parseFloat(n.element.css("width")),height:parseFloat(n.element.css("height")),top:parseFloat(n.element.css("top")),left:parseFloat(n.element.css("left"))};o&&o.length&&e(o[0]).css({width:r.width,height:r.height}),n._updateCache(r),n._propagate("resize",t)}})}}),e.ui.plugin.add("resizable","containment",{start:function(){var t,n,r,o,i,a,s,l=e(this).resizable("instance"),c=l.options,u=l.element,d=c.containment,p=d instanceof e?d.get(0):/parent/.test(d)?u.parent().get(0):d;p&&(l.containerElement=e(p),/document/.test(d)||d===document?(l.containerOffset={left:0,top:0},l.containerPosition={left:0,top:0},l.parentData={element:e(document),left:0,top:0,width:e(document).width(),height:e(document).height()||document.body.parentNode.scrollHeight}):(t=e(p),n=[],e(["Top","Right","Left","Bottom"]).each((function(e,r){n[e]=l._num(t.css("padding"+r))})),l.containerOffset=t.offset(),l.containerPosition=t.position(),l.containerSize={height:t.innerHeight()-n[3],width:t.innerWidth()-n[1]},r=l.containerOffset,o=l.containerSize.height,i=l.containerSize.width,a=l._hasScroll(p,"left")?p.scrollWidth:i,s=l._hasScroll(p)?p.scrollHeight:o,l.parentData={element:p,left:r.left,top:r.top,width:a,height:s}))},resize:function(t){var n,r,o,i,a=e(this).resizable("instance"),s=a.options,l=a.containerOffset,c=a.position,u=a._aspectRatio||t.shiftKey,d={top:0,left:0},p=a.containerElement,f=!0;p[0]!==document&&/static/.test(p.css("position"))&&(d=l),c.left<(a._helper?l.left:0)&&(a.size.width=a.size.width+(a._helper?a.position.left-l.left:a.position.left-d.left),u&&(a.size.height=a.size.width/a.aspectRatio,f=!1),a.position.left=s.helper?l.left:0),c.top<(a._helper?l.top:0)&&(a.size.height=a.size.height+(a._helper?a.position.top-l.top:a.position.top),u&&(a.size.width=a.size.height*a.aspectRatio,f=!1),a.position.top=a._helper?l.top:0),o=a.containerElement.get(0)===a.element.parent().get(0),i=/relative|absolute/.test(a.containerElement.css("position")),o&&i?(a.offset.left=a.parentData.left+a.position.left,a.offset.top=a.parentData.top+a.position.top):(a.offset.left=a.element.offset().left,a.offset.top=a.element.offset().top),n=Math.abs(a.sizeDiff.width+(a._helper?a.offset.left-d.left:a.offset.left-l.left)),r=Math.abs(a.sizeDiff.height+(a._helper?a.offset.top-d.top:a.offset.top-l.top)),n+a.size.width>=a.parentData.width&&(a.size.width=a.parentData.width-n,u&&(a.size.height=a.size.width/a.aspectRatio,f=!1)),r+a.size.height>=a.parentData.height&&(a.size.height=a.parentData.height-r,u&&(a.size.width=a.size.height*a.aspectRatio,f=!1)),f||(a.position.left=a.prevPosition.left,a.position.top=a.prevPosition.top,a.size.width=a.prevSize.width,a.size.height=a.prevSize.height)},stop:function(){var t=e(this).resizable("instance"),n=t.options,r=t.containerOffset,o=t.containerPosition,i=t.containerElement,a=e(t.helper),s=a.offset(),l=a.outerWidth()-t.sizeDiff.width,c=a.outerHeight()-t.sizeDiff.height;t._helper&&!n.animate&&/relative/.test(i.css("position"))&&e(this).css({left:s.left-o.left-r.left,width:l,height:c}),t._helper&&!n.animate&&/static/.test(i.css("position"))&&e(this).css({left:s.left-o.left-r.left,width:l,height:c})}}),e.ui.plugin.add("resizable","alsoResize",{start:function(){var t=e(this).resizable("instance").options;e(t.alsoResize).each((function(){var t=e(this);t.data("ui-resizable-alsoresize",{width:parseFloat(t.css("width")),height:parseFloat(t.css("height")),left:parseFloat(t.css("left")),top:parseFloat(t.css("top"))})}))},resize:function(t,n){var r=e(this).resizable("instance"),o=r.options,i=r.originalSize,a=r.originalPosition,s={height:r.size.height-i.height||0,width:r.size.width-i.width||0,top:r.position.top-a.top||0,left:r.position.left-a.left||0};e(o.alsoResize).each((function(){var t=e(this),r=e(this).data("ui-resizable-alsoresize"),o={},i=t.parents(n.originalElement[0]).length?["width","height"]:["width","height","top","left"];e.each(i,(function(e,t){var n=(r[t]||0)+(s[t]||0);n&&n>=0&&(o[t]=n||null)})),t.css(o)}))},stop:function(){e(this).removeData("ui-resizable-alsoresize")}}),e.ui.plugin.add("resizable","ghost",{start:function(){var t=e(this).resizable("instance"),n=t.size;t.ghost=t.originalElement.clone(),t.ghost.css({opacity:.25,display:"block",position:"relative",height:n.height,width:n.width,margin:0,left:0,top:0}),t._addClass(t.ghost,"ui-resizable-ghost"),!1!==e.uiBackCompat&&"string"==typeof t.options.ghost&&t.ghost.addClass(this.options.ghost),t.ghost.appendTo(t.helper)},resize:function(){var t=e(this).resizable("instance");t.ghost&&t.ghost.css({position:"relative",height:t.size.height,width:t.size.width})},stop:function(){var t=e(this).resizable("instance");t.ghost&&t.helper&&t.helper.get(0).removeChild(t.ghost.get(0))}}),e.ui.plugin.add("resizable","grid",{resize:function(){var t,n=e(this).resizable("instance"),r=n.options,o=n.size,i=n.originalSize,a=n.originalPosition,s=n.axis,l="number"==typeof r.grid?[r.grid,r.grid]:r.grid,c=l[0]||1,u=l[1]||1,d=Math.round((o.width-i.width)/c)*c,p=Math.round((o.height-i.height)/u)*u,f=i.width+d,h=i.height+p,m=r.maxWidth&&r.maxWidth<f,g=r.maxHeight&&r.maxHeight<h,v=r.minWidth&&r.minWidth>f,y=r.minHeight&&r.minHeight>h;r.grid=l,v&&(f+=c),y&&(h+=u),m&&(f-=c),g&&(h-=u),/^(se|s|e)$/.test(s)?(n.size.width=f,n.size.height=h):/^(ne)$/.test(s)?(n.size.width=f,n.size.height=h,n.position.top=a.top-p):/^(sw)$/.test(s)?(n.size.width=f,n.size.height=h,n.position.left=a.left-d):((h-u<=0||f-c<=0)&&(t=n._getPaddingPlusBorderDimensions(this)),h-u>0?(n.size.height=h,n.position.top=a.top-p):(h=u-t.height,n.size.height=h,n.position.top=a.top+i.height-h),f-c>0?(n.size.width=f,n.position.left=a.left-d):(f=c-t.width,n.size.width=f,n.position.left=a.left+i.width-f))}});e.ui.resizable;e.widget("ui.dialog",{version:"1.13.3",options:{appendTo:"body",autoOpen:!0,buttons:[],classes:{"ui-dialog":"ui-corner-all","ui-dialog-titlebar":"ui-corner-all"},closeOnEscape:!0,closeText:"Close",draggable:!0,hide:null,height:"auto",maxHeight:null,maxWidth:null,minHeight:150,minWidth:150,modal:!1,position:{my:"center",at:"center",of:window,collision:"fit",using:function(t){var n=e(this).css(t).offset().top;n<0&&e(this).css("top",t.top-n)}},resizable:!0,show:null,title:null,width:300,beforeClose:null,close:null,drag:null,dragStart:null,dragStop:null,focus:null,open:null,resize:null,resizeStart:null,resizeStop:null},sizeRelatedOptions:{buttons:!0,height:!0,maxHeight:!0,maxWidth:!0,minHeight:!0,minWidth:!0,width:!0},resizableRelatedOptions:{maxHeight:!0,maxWidth:!0,minHeight:!0,minWidth:!0},_create:function(){this.originalCss={display:this.element[0].style.display,width:this.element[0].style.width,minHeight:this.element[0].style.minHeight,maxHeight:this.element[0].style.maxHeight,height:this.element[0].style.height},this.originalPosition={parent:this.element.parent(),index:this.element.parent().children().index(this.element)},this.originalTitle=this.element.attr("title"),null==this.options.title&&null!=this.originalTitle&&(this.options.title=this.originalTitle),this.options.disabled&&(this.options.disabled=!1),this._createWrapper(),this.element.show().removeAttr("title").appendTo(this.uiDialog),this._addClass("ui-dialog-content","ui-widget-content"),this._createTitlebar(),this._createButtonPane(),this.options.draggable&&e.fn.draggable&&this._makeDraggable(),this.options.resizable&&e.fn.resizable&&this._makeResizable(),this._isOpen=!1,this._trackFocus()},_init:function(){this.options.autoOpen&&this.open()},_appendTo:function(){var t=this.options.appendTo;return t&&(t.jquery||t.nodeType)?e(t):this.document.find(t||"body").eq(0)},_destroy:function(){var e,t=this.originalPosition;this._untrackInstance(),this._destroyOverlay(),this.element.removeUniqueId().css(this.originalCss).detach(),this.uiDialog.remove(),this.originalTitle&&this.element.attr("title",this.originalTitle),(e=t.parent.children().eq(t.index)).length&&e[0]!==this.element[0]?e.before(this.element):t.parent.append(this.element)},widget:function(){return this.uiDialog},disable:e.noop,enable:e.noop,close:function(t){var n=this;this._isOpen&&!1!==this._trigger("beforeClose",t)&&(this._isOpen=!1,this._focusedElement=null,this._destroyOverlay(),this._untrackInstance(),this.opener.filter(":focusable").trigger("focus").length||e.ui.safeBlur(e.ui.safeActiveElement(this.document[0])),this._hide(this.uiDialog,this.options.hide,(function(){n._trigger("close",t)})))},isOpen:function(){return this._isOpen},moveToTop:function(){this._moveToTop()},_moveToTop:function(t,n){var r=!1,o=this.uiDialog.siblings(".ui-front:visible").map((function(){return+e(this).css("z-index")})).get(),i=Math.max.apply(null,o);return i>=+this.uiDialog.css("z-index")&&(this.uiDialog.css("z-index",i+1),r=!0),r&&!n&&this._trigger("focus",t),r},open:function(){var t=this;this._isOpen?this._moveToTop()&&this._focusTabbable():(this._isOpen=!0,this.opener=e(e.ui.safeActiveElement(this.document[0])),this._size(),this._position(),this._createOverlay(),this._moveToTop(null,!0),this.overlay&&this.overlay.css("z-index",this.uiDialog.css("z-index")-1),this._show(this.uiDialog,this.options.show,(function(){t._focusTabbable(),t._trigger("focus")})),this._makeFocusTarget(),this._trigger("open"))},_focusTabbable:function(){var e=this._focusedElement;e||(e=this.element.find("[autofocus]")),e.length||(e=this.element.find(":tabbable")),e.length||(e=this.uiDialogButtonPane.find(":tabbable")),e.length||(e=this.uiDialogTitlebarClose.filter(":tabbable")),e.length||(e=this.uiDialog),e.eq(0).trigger("focus")},_restoreTabbableFocus:function(){var t=e.ui.safeActiveElement(this.document[0]);this.uiDialog[0]===t||e.contains(this.uiDialog[0],t)||this._focusTabbable()},_keepFocus:function(e){e.preventDefault(),this._restoreTabbableFocus(),this._delay(this._restoreTabbableFocus)},_createWrapper:function(){this.uiDialog=e("<div>").hide().attr({tabIndex:-1,role:"dialog"}).appendTo(this._appendTo()),this._addClass(this.uiDialog,"ui-dialog","ui-widget ui-widget-content ui-front"),this._on(this.uiDialog,{keydown:function(t){if(this.options.closeOnEscape&&!t.isDefaultPrevented()&&t.keyCode&&t.keyCode===e.ui.keyCode.ESCAPE)return t.preventDefault(),void this.close(t);if(t.keyCode===e.ui.keyCode.TAB&&!t.isDefaultPrevented()){var n=this.uiDialog.find(":tabbable"),r=n.first(),o=n.last();t.target!==o[0]&&t.target!==this.uiDialog[0]||t.shiftKey?t.target!==r[0]&&t.target!==this.uiDialog[0]||!t.shiftKey||(this._delay((function(){o.trigger("focus")})),t.preventDefault()):(this._delay((function(){r.trigger("focus")})),t.preventDefault())}},mousedown:function(e){this._moveToTop(e)&&this._focusTabbable()}}),this.element.find("[aria-describedby]").length||this.uiDialog.attr({"aria-describedby":this.element.uniqueId().attr("id")})},_createTitlebar:function(){var t;this.uiDialogTitlebar=e("<div>"),this._addClass(this.uiDialogTitlebar,"ui-dialog-titlebar","ui-widget-header ui-helper-clearfix"),this._on(this.uiDialogTitlebar,{mousedown:function(t){e(t.target).closest(".ui-dialog-titlebar-close")||this.uiDialog.trigger("focus")}}),this.uiDialogTitlebarClose=e("<button type='button'></button>").button({label:e("<a>").text(this.options.closeText).html(),icon:"ui-icon-closethick",showLabel:!1}).appendTo(this.uiDialogTitlebar),this._addClass(this.uiDialogTitlebarClose,"ui-dialog-titlebar-close"),this._on(this.uiDialogTitlebarClose,{click:function(e){e.preventDefault(),this.close(e)}}),t=e("<span>").uniqueId().prependTo(this.uiDialogTitlebar),this._addClass(t,"ui-dialog-title"),this._title(t),this.uiDialogTitlebar.prependTo(this.uiDialog),this.uiDialog.attr({"aria-labelledby":t.attr("id")})},_title:function(e){this.options.title?e.text(this.options.title):e.html(" ")},_createButtonPane:function(){this.uiDialogButtonPane=e("<div>"),this._addClass(this.uiDialogButtonPane,"ui-dialog-buttonpane","ui-widget-content ui-helper-clearfix"),this.uiButtonSet=e("<div>").appendTo(this.uiDialogButtonPane),this._addClass(this.uiButtonSet,"ui-dialog-buttonset"),this._createButtons()},_createButtons:function(){var t=this,n=this.options.buttons;this.uiDialogButtonPane.remove(),this.uiButtonSet.empty(),e.isEmptyObject(n)||Array.isArray(n)&&!n.length?this._removeClass(this.uiDialog,"ui-dialog-buttons"):(e.each(n,(function(n,r){var o,i;r="function"==typeof r?{click:r,text:n}:r,r=e.extend({type:"button"},r),o=r.click,i={icon:r.icon,iconPosition:r.iconPosition,showLabel:r.showLabel,icons:r.icons,text:r.text},delete r.click,delete r.icon,delete r.iconPosition,delete r.showLabel,delete r.icons,"boolean"==typeof r.text&&delete r.text,e("<button></button>",r).button(i).appendTo(t.uiButtonSet).on("click",(function(){o.apply(t.element[0],arguments)}))})),this._addClass(this.uiDialog,"ui-dialog-buttons"),this.uiDialogButtonPane.appendTo(this.uiDialog))},_makeDraggable:function(){var t=this,n=this.options;function r(e){return{position:e.position,offset:e.offset}}this.uiDialog.draggable({cancel:".ui-dialog-content, .ui-dialog-titlebar-close",handle:".ui-dialog-titlebar",containment:"document",start:function(n,o){t._addClass(e(this),"ui-dialog-dragging"),t._blockFrames(),t._trigger("dragStart",n,r(o))},drag:function(e,n){t._trigger("drag",e,r(n))},stop:function(o,i){var a=i.offset.left-t.document.scrollLeft(),s=i.offset.top-t.document.scrollTop();n.position={my:"left top",at:"left"+(a>=0?"+":"")+a+" top"+(s>=0?"+":"")+s,of:t.window},t._removeClass(e(this),"ui-dialog-dragging"),t._unblockFrames(),t._trigger("dragStop",o,r(i))}})},_makeResizable:function(){var t=this,n=this.options,r=n.resizable,o=this.uiDialog.css("position"),i="string"==typeof r?r:"n,e,s,w,se,sw,ne,nw";function a(e){return{originalPosition:e.originalPosition,originalSize:e.originalSize,position:e.position,size:e.size}}this.uiDialog.resizable({cancel:".ui-dialog-content",containment:"document",alsoResize:this.element,maxWidth:n.maxWidth,maxHeight:n.maxHeight,minWidth:n.minWidth,minHeight:this._minHeight(),handles:i,start:function(n,r){t._addClass(e(this),"ui-dialog-resizing"),t._blockFrames(),t._trigger("resizeStart",n,a(r))},resize:function(e,n){t._trigger("resize",e,a(n))},stop:function(r,o){var i=t.uiDialog.offset(),s=i.left-t.document.scrollLeft(),l=i.top-t.document.scrollTop();n.height=t.uiDialog.height(),n.width=t.uiDialog.width(),n.position={my:"left top",at:"left"+(s>=0?"+":"")+s+" top"+(l>=0?"+":"")+l,of:t.window},t._removeClass(e(this),"ui-dialog-resizing"),t._unblockFrames(),t._trigger("resizeStop",r,a(o))}}).css("position",o)},_trackFocus:function(){this._on(this.widget(),{focusin:function(t){this._makeFocusTarget(),this._focusedElement=e(t.target)}})},_makeFocusTarget:function(){this._untrackInstance(),this._trackingInstances().unshift(this)},_untrackInstance:function(){var t=this._trackingInstances(),n=e.inArray(this,t);-1!==n&&t.splice(n,1)},_trackingInstances:function(){var e=this.document.data("ui-dialog-instances");return e||(e=[],this.document.data("ui-dialog-instances",e)),e},_minHeight:function(){var e=this.options;return"auto"===e.height?e.minHeight:Math.min(e.minHeight,e.height)},_position:function(){var e=this.uiDialog.is(":visible");e||this.uiDialog.show(),this.uiDialog.position(this.options.position),e||this.uiDialog.hide()},_setOptions:function(t){var n=this,r=!1,o={};e.each(t,(function(e,t){n._setOption(e,t),e in n.sizeRelatedOptions&&(r=!0),e in n.resizableRelatedOptions&&(o[e]=t)})),r&&(this._size(),this._position()),this.uiDialog.is(":data(ui-resizable)")&&this.uiDialog.resizable("option",o)},_setOption:function(t,n){var r,o,i=this.uiDialog;"disabled"!==t&&(this._super(t,n),"appendTo"===t&&this.uiDialog.appendTo(this._appendTo()),"buttons"===t&&this._createButtons(),"closeText"===t&&this.uiDialogTitlebarClose.button({label:e("<a>").text(""+this.options.closeText).html()}),"draggable"===t&&((r=i.is(":data(ui-draggable)"))&&!n&&i.draggable("destroy"),!r&&n&&this._makeDraggable()),"position"===t&&this._position(),"resizable"===t&&((o=i.is(":data(ui-resizable)"))&&!n&&i.resizable("destroy"),o&&"string"==typeof n&&i.resizable("option","handles",n),o||!1===n||this._makeResizable()),"title"===t&&this._title(this.uiDialogTitlebar.find(".ui-dialog-title")))},_size:function(){var e,t,n,r=this.options;this.element.show().css({width:"auto",minHeight:0,maxHeight:"none",height:0}),r.minWidth>r.width&&(r.width=r.minWidth),e=this.uiDialog.css({height:"auto",width:r.width}).outerHeight(),t=Math.max(0,r.minHeight-e),n="number"==typeof r.maxHeight?Math.max(0,r.maxHeight-e):"none","auto"===r.height?this.element.css({minHeight:t,maxHeight:n,height:"auto"}):this.element.height(Math.max(0,r.height-e)),this.uiDialog.is(":data(ui-resizable)")&&this.uiDialog.resizable("option","minHeight",this._minHeight())},_blockFrames:function(){this.iframeBlocks=this.document.find("iframe").map((function(){var t=e(this);return e("<div>").css({position:"absolute",width:t.outerWidth(),height:t.outerHeight()}).appendTo(t.parent()).offset(t.offset())[0]}))},_unblockFrames:function(){this.iframeBlocks&&(this.iframeBlocks.remove(),delete this.iframeBlocks)},_allowInteraction:function(t){return!!e(t.target).closest(".ui-dialog").length||!!e(t.target).closest(".ui-datepicker").length},_createOverlay:function(){if(this.options.modal){var t=e.fn.jquery.substring(0,4),n=!0;this._delay((function(){n=!1})),this.document.data("ui-dialog-overlays")||this.document.on("focusin.ui-dialog",function(e){if(!n){var r=this._trackingInstances()[0];r._allowInteraction(e)||(e.preventDefault(),r._focusTabbable(),"3.4."!==t&&"3.5."!==t&&"3.6."!==t||r._delay(r._restoreTabbableFocus))}}.bind(this)),this.overlay=e("<div>").appendTo(this._appendTo()),this._addClass(this.overlay,null,"ui-widget-overlay ui-front"),this._on(this.overlay,{mousedown:"_keepFocus"}),this.document.data("ui-dialog-overlays",(this.document.data("ui-dialog-overlays")||0)+1)}},_destroyOverlay:function(){if(this.options.modal&&this.overlay){var e=this.document.data("ui-dialog-overlays")-1;e?this.document.data("ui-dialog-overlays",e):(this.document.off("focusin.ui-dialog"),this.document.removeData("ui-dialog-overlays")),this.overlay.remove(),this.overlay=null}}}),!1!==e.uiBackCompat&&e.widget("ui.dialog",e.ui.dialog,{options:{dialogClass:""},_createWrapper:function(){this._super(),this.uiDialog.addClass(this.options.dialogClass)},_setOption:function(e,t){"dialogClass"===e&&this.uiDialog.removeClass(this.options.dialogClass).addClass(t),this._superApply(arguments)}});e.ui.dialog;e.widget("ui.droppable",{version:"1.13.3",widgetEventPrefix:"drop",options:{accept:"*",addClasses:!0,greedy:!1,scope:"default",tolerance:"intersect",activate:null,deactivate:null,drop:null,out:null,over:null},_create:function(){var e,t=this.options,n=t.accept;this.isover=!1,this.isout=!0,this.accept="function"==typeof n?n:function(e){return e.is(n)},this.proportions=function(){if(!arguments.length)return e||(e={width:this.element[0].offsetWidth,height:this.element[0].offsetHeight});e=arguments[0]},this._addToManager(t.scope),t.addClasses&&this._addClass("ui-droppable")},_addToManager:function(t){e.ui.ddmanager.droppables[t]=e.ui.ddmanager.droppables[t]||[],e.ui.ddmanager.droppables[t].push(this)},_splice:function(e){for(var t=0;t<e.length;t++)e[t]===this&&e.splice(t,1)},_destroy:function(){var t=e.ui.ddmanager.droppables[this.options.scope];this._splice(t)},_setOption:function(t,n){if("accept"===t)this.accept="function"==typeof n?n:function(e){return e.is(n)};else if("scope"===t){var r=e.ui.ddmanager.droppables[this.options.scope];this._splice(r),this._addToManager(n)}this._super(t,n)},_activate:function(t){var n=e.ui.ddmanager.current;this._addActiveClass(),n&&this._trigger("activate",t,this.ui(n))},_deactivate:function(t){var n=e.ui.ddmanager.current;this._removeActiveClass(),n&&this._trigger("deactivate",t,this.ui(n))},_over:function(t){var n=e.ui.ddmanager.current;n&&(n.currentItem||n.element)[0]!==this.element[0]&&this.accept.call(this.element[0],n.currentItem||n.element)&&(this._addHoverClass(),this._trigger("over",t,this.ui(n)))},_out:function(t){var n=e.ui.ddmanager.current;n&&(n.currentItem||n.element)[0]!==this.element[0]&&this.accept.call(this.element[0],n.currentItem||n.element)&&(this._removeHoverClass(),this._trigger("out",t,this.ui(n)))},_drop:function(t,n){var r=n||e.ui.ddmanager.current,o=!1;return!(!r||(r.currentItem||r.element)[0]===this.element[0])&&(this.element.find(":data(ui-droppable)").not(".ui-draggable-dragging").each((function(){var n=e(this).droppable("instance");if(n.options.greedy&&!n.options.disabled&&n.options.scope===r.options.scope&&n.accept.call(n.element[0],r.currentItem||r.element)&&e.ui.intersect(r,e.extend(n,{offset:n.element.offset()}),n.options.tolerance,t))return o=!0,!1})),!o&&(!!this.accept.call(this.element[0],r.currentItem||r.element)&&(this._removeActiveClass(),this._removeHoverClass(),this._trigger("drop",t,this.ui(r)),this.element)))},ui:function(e){return{draggable:e.currentItem||e.element,helper:e.helper,position:e.position,offset:e.positionAbs}},_addHoverClass:function(){this._addClass("ui-droppable-hover")},_removeHoverClass:function(){this._removeClass("ui-droppable-hover")},_addActiveClass:function(){this._addClass("ui-droppable-active")},_removeActiveClass:function(){this._removeClass("ui-droppable-active")}}),e.ui.intersect=function(){function e(e,t,n){return e>=t&&e<t+n}return function(t,n,r,o){if(!n.offset)return!1;var i=(t.positionAbs||t.position.absolute).left+t.margins.left,a=(t.positionAbs||t.position.absolute).top+t.margins.top,s=i+t.helperProportions.width,l=a+t.helperProportions.height,c=n.offset.left,u=n.offset.top,d=c+n.proportions().width,p=u+n.proportions().height;switch(r){case"fit":return c<=i&&s<=d&&u<=a&&l<=p;case"intersect":return c<i+t.helperProportions.width/2&&s-t.helperProportions.width/2<d&&u<a+t.helperProportions.height/2&&l-t.helperProportions.height/2<p;case"pointer":return e(o.pageY,u,n.proportions().height)&&e(o.pageX,c,n.proportions().width);case"touch":return(a>=u&&a<=p||l>=u&&l<=p||a<u&&l>p)&&(i>=c&&i<=d||s>=c&&s<=d||i<c&&s>d);default:return!1}}}(),e.ui.ddmanager={current:null,droppables:{default:[]},prepareOffsets:function(t,n){var r,o,i=e.ui.ddmanager.droppables[t.options.scope]||[],a=n?n.type:null,s=(t.currentItem||t.element).find(":data(ui-droppable)").addBack();e:for(r=0;r<i.length;r++)if(!(i[r].options.disabled||t&&!i[r].accept.call(i[r].element[0],t.currentItem||t.element))){for(o=0;o<s.length;o++)if(s[o]===i[r].element[0]){i[r].proportions().height=0;continue e}i[r].visible="none"!==i[r].element.css("display"),i[r].visible&&("mousedown"===a&&i[r]._activate.call(i[r],n),i[r].offset=i[r].element.offset(),i[r].proportions({width:i[r].element[0].offsetWidth,height:i[r].element[0].offsetHeight}))}},drop:function(t,n){var r=!1;return e.each((e.ui.ddmanager.droppables[t.options.scope]||[]).slice(),(function(){this.options&&(!this.options.disabled&&this.visible&&e.ui.intersect(t,this,this.options.tolerance,n)&&(r=this._drop.call(this,n)||r),!this.options.disabled&&this.visible&&this.accept.call(this.element[0],t.currentItem||t.element)&&(this.isout=!0,this.isover=!1,this._deactivate.call(this,n)))})),r},dragStart:function(t,n){t.element.parentsUntil("body").on("scroll.droppable",(function(){t.options.refreshPositions||e.ui.ddmanager.prepareOffsets(t,n)}))},drag:function(t,n){t.options.refreshPositions&&e.ui.ddmanager.prepareOffsets(t,n),e.each(e.ui.ddmanager.droppables[t.options.scope]||[],(function(){if(!this.options.disabled&&!this.greedyChild&&this.visible){var r,o,i,a=e.ui.intersect(t,this,this.options.tolerance,n),s=!a&&this.isover?"isout":a&&!this.isover?"isover":null;s&&(this.options.greedy&&(o=this.options.scope,(i=this.element.parents(":data(ui-droppable)").filter((function(){return e(this).droppable("instance").options.scope===o}))).length&&((r=e(i[0]).droppable("instance")).greedyChild="isover"===s)),r&&"isover"===s&&(r.isover=!1,r.isout=!0,r._out.call(r,n)),this[s]=!0,this["isout"===s?"isover":"isout"]=!1,this["isover"===s?"_over":"_out"].call(this,n),r&&"isout"===s&&(r.isout=!1,r.isover=!0,r._over.call(r,n)))}}))},dragStop:function(t,n){t.element.parentsUntil("body").off("scroll.droppable"),t.options.refreshPositions||e.ui.ddmanager.prepareOffsets(t,n)}},!1!==e.uiBackCompat&&e.widget("ui.droppable",e.ui.droppable,{options:{hoverClass:!1,activeClass:!1},_addActiveClass:function(){this._super(),this.options.activeClass&&this.element.addClass(this.options.activeClass)},_removeActiveClass:function(){this._super(),this.options.activeClass&&this.element.removeClass(this.options.activeClass)},_addHoverClass:function(){this._super(),this.options.hoverClass&&this.element.addClass(this.options.hoverClass)},_removeHoverClass:function(){this._super(),this.options.hoverClass&&this.element.removeClass(this.options.hoverClass)}});e.ui.droppable,e.widget("ui.progressbar",{version:"1.13.3",options:{classes:{"ui-progressbar":"ui-corner-all","ui-progressbar-value":"ui-corner-left","ui-progressbar-complete":"ui-corner-right"},max:100,value:0,change:null,complete:null},min:0,_create:function(){this.oldValue=this.options.value=this._constrainedValue(),this.element.attr({role:"progressbar","aria-valuemin":this.min}),this._addClass("ui-progressbar","ui-widget ui-widget-content"),this.valueDiv=e("<div>").appendTo(this.element),this._addClass(this.valueDiv,"ui-progressbar-value","ui-widget-header"),this._refreshValue()},_destroy:function(){this.element.removeAttr("role aria-valuemin aria-valuemax aria-valuenow"),this.valueDiv.remove()},value:function(e){if(void 0===e)return this.options.value;this.options.value=this._constrainedValue(e),this._refreshValue()},_constrainedValue:function(e){return void 0===e&&(e=this.options.value),this.indeterminate=!1===e,"number"!=typeof e&&(e=0),!this.indeterminate&&Math.min(this.options.max,Math.max(this.min,e))},_setOptions:function(e){var t=e.value;delete e.value,this._super(e),this.options.value=this._constrainedValue(t),this._refreshValue()},_setOption:function(e,t){"max"===e&&(t=Math.max(this.min,t)),this._super(e,t)},_setOptionDisabled:function(e){this._super(e),this.element.attr("aria-disabled",e),this._toggleClass(null,"ui-state-disabled",!!e)},_percentage:function(){return this.indeterminate?100:100*(this.options.value-this.min)/(this.options.max-this.min)},_refreshValue:function(){var t=this.options.value,n=this._percentage();this.valueDiv.toggle(this.indeterminate||t>this.min).width(n.toFixed(0)+"%"),this._toggleClass(this.valueDiv,"ui-progressbar-complete",null,t===this.options.max)._toggleClass("ui-progressbar-indeterminate",null,this.indeterminate),this.indeterminate?(this.element.removeAttr("aria-valuenow"),this.overlayDiv||(this.overlayDiv=e("<div>").appendTo(this.valueDiv),this._addClass(this.overlayDiv,"ui-progressbar-overlay"))):(this.element.attr({"aria-valuemax":this.options.max,"aria-valuenow":t}),this.overlayDiv&&(this.overlayDiv.remove(),this.overlayDiv=null)),this.oldValue!==t&&(this.oldValue=t,this._trigger("change")),t===this.options.max&&this._trigger("complete")}}),e.widget("ui.selectable",e.ui.mouse,{version:"1.13.3",options:{appendTo:"body",autoRefresh:!0,distance:0,filter:"*",tolerance:"touch",selected:null,selecting:null,start:null,stop:null,unselected:null,unselecting:null},_create:function(){var t=this;this._addClass("ui-selectable"),this.dragged=!1,this.refresh=function(){t.elementPos=e(t.element[0]).offset(),t.selectees=e(t.options.filter,t.element[0]),t._addClass(t.selectees,"ui-selectee"),t.selectees.each((function(){var n=e(this),r=n.offset(),o={left:r.left-t.elementPos.left,top:r.top-t.elementPos.top};e.data(this,"selectable-item",{element:this,$element:n,left:o.left,top:o.top,right:o.left+n.outerWidth(),bottom:o.top+n.outerHeight(),startselected:!1,selected:n.hasClass("ui-selected"),selecting:n.hasClass("ui-selecting"),unselecting:n.hasClass("ui-unselecting")})}))},this.refresh(),this._mouseInit(),this.helper=e("<div>"),this._addClass(this.helper,"ui-selectable-helper")},_destroy:function(){this.selectees.removeData("selectable-item"),this._mouseDestroy()},_mouseStart:function(t){var n=this,r=this.options;this.opos=[t.pageX,t.pageY],this.elementPos=e(this.element[0]).offset(),this.options.disabled||(this.selectees=e(r.filter,this.element[0]),this._trigger("start",t),e(r.appendTo).append(this.helper),this.helper.css({left:t.pageX,top:t.pageY,width:0,height:0}),r.autoRefresh&&this.refresh(),this.selectees.filter(".ui-selected").each((function(){var r=e.data(this,"selectable-item");r.startselected=!0,t.metaKey||t.ctrlKey||(n._removeClass(r.$element,"ui-selected"),r.selected=!1,n._addClass(r.$element,"ui-unselecting"),r.unselecting=!0,n._trigger("unselecting",t,{unselecting:r.element}))})),e(t.target).parents().addBack().each((function(){var r,o=e.data(this,"selectable-item");if(o)return r=!t.metaKey&&!t.ctrlKey||!o.$element.hasClass("ui-selected"),n._removeClass(o.$element,r?"ui-unselecting":"ui-selected")._addClass(o.$element,r?"ui-selecting":"ui-unselecting"),o.unselecting=!r,o.selecting=r,o.selected=r,r?n._trigger("selecting",t,{selecting:o.element}):n._trigger("unselecting",t,{unselecting:o.element}),!1})))},_mouseDrag:function(t){if(this.dragged=!0,!this.options.disabled){var n,r=this,o=this.options,i=this.opos[0],a=this.opos[1],s=t.pageX,l=t.pageY;return i>s&&(n=s,s=i,i=n),a>l&&(n=l,l=a,a=n),this.helper.css({left:i,top:a,width:s-i,height:l-a}),this.selectees.each((function(){var n=e.data(this,"selectable-item"),c=!1,u={};n&&n.element!==r.element[0]&&(u.left=n.left+r.elementPos.left,u.right=n.right+r.elementPos.left,u.top=n.top+r.elementPos.top,u.bottom=n.bottom+r.elementPos.top,"touch"===o.tolerance?c=!(u.left>s||u.right<i||u.top>l||u.bottom<a):"fit"===o.tolerance&&(c=u.left>i&&u.right<s&&u.top>a&&u.bottom<l),c?(n.selected&&(r._removeClass(n.$element,"ui-selected"),n.selected=!1),n.unselecting&&(r._removeClass(n.$element,"ui-unselecting"),n.unselecting=!1),n.selecting||(r._addClass(n.$element,"ui-selecting"),n.selecting=!0,r._trigger("selecting",t,{selecting:n.element}))):(n.selecting&&((t.metaKey||t.ctrlKey)&&n.startselected?(r._removeClass(n.$element,"ui-selecting"),n.selecting=!1,r._addClass(n.$element,"ui-selected"),n.selected=!0):(r._removeClass(n.$element,"ui-selecting"),n.selecting=!1,n.startselected&&(r._addClass(n.$element,"ui-unselecting"),n.unselecting=!0),r._trigger("unselecting",t,{unselecting:n.element}))),n.selected&&(t.metaKey||t.ctrlKey||n.startselected||(r._removeClass(n.$element,"ui-selected"),n.selected=!1,r._addClass(n.$element,"ui-unselecting"),n.unselecting=!0,r._trigger("unselecting",t,{unselecting:n.element})))))})),!1}},_mouseStop:function(t){var n=this;return this.dragged=!1,e(".ui-unselecting",this.element[0]).each((function(){var r=e.data(this,"selectable-item");n._removeClass(r.$element,"ui-unselecting"),r.unselecting=!1,r.startselected=!1,n._trigger("unselected",t,{unselected:r.element})})),e(".ui-selecting",this.element[0]).each((function(){var r=e.data(this,"selectable-item");n._removeClass(r.$element,"ui-selecting")._addClass(r.$element,"ui-selected"),r.selecting=!1,r.selected=!0,r.startselected=!0,n._trigger("selected",t,{selected:r.element})})),this._trigger("stop",t),this.helper.remove(),!1}}),e.widget("ui.selectmenu",[e.ui.formResetMixin,{version:"1.13.3",defaultElement:"<select>",options:{appendTo:null,classes:{"ui-selectmenu-button-open":"ui-corner-top","ui-selectmenu-button-closed":"ui-corner-all"},disabled:null,icons:{button:"ui-icon-triangle-1-s"},position:{my:"left top",at:"left bottom",collision:"none"},width:!1,change:null,close:null,focus:null,open:null,select:null},_create:function(){var t=this.element.uniqueId().attr("id");this.ids={element:t,button:t+"-button",menu:t+"-menu"},this._drawButton(),this._drawMenu(),this._bindFormResetHandler(),this._rendered=!1,this.menuItems=e()},_drawButton:function(){var t,n=this,r=this._parseOption(this.element.find("option:selected"),this.element[0].selectedIndex);this.labels=this.element.labels().attr("for",this.ids.button),this._on(this.labels,{click:function(e){this.button.trigger("focus"),e.preventDefault()}}),this.element.hide(),this.button=e("<span>",{tabindex:this.options.disabled?-1:0,id:this.ids.button,role:"combobox","aria-expanded":"false","aria-autocomplete":"list","aria-owns":this.ids.menu,"aria-haspopup":"true",title:this.element.attr("title")}).insertAfter(this.element),this._addClass(this.button,"ui-selectmenu-button ui-selectmenu-button-closed","ui-button ui-widget"),t=e("<span>").appendTo(this.button),this._addClass(t,"ui-selectmenu-icon","ui-icon "+this.options.icons.button),this.buttonItem=this._renderButtonItem(r).appendTo(this.button),!1!==this.options.width&&this._resizeButton(),this._on(this.button,this._buttonEvents),this.button.one("focusin",(function(){n._rendered||n._refreshMenu()}))},_drawMenu:function(){var t=this;this.menu=e("<ul>",{"aria-hidden":"true","aria-labelledby":this.ids.button,id:this.ids.menu}),this.menuWrap=e("<div>").append(this.menu),this._addClass(this.menuWrap,"ui-selectmenu-menu","ui-front"),this.menuWrap.appendTo(this._appendTo()),this.menuInstance=this.menu.menu({classes:{"ui-menu":"ui-corner-bottom"},role:"listbox",select:function(e,n){e.preventDefault(),t._setSelection(),t._select(n.item.data("ui-selectmenu-item"),e)},focus:function(e,n){var r=n.item.data("ui-selectmenu-item");null!=t.focusIndex&&r.index!==t.focusIndex&&(t._trigger("focus",e,{item:r}),t.isOpen||t._select(r,e)),t.focusIndex=r.index,t.button.attr("aria-activedescendant",t.menuItems.eq(r.index).attr("id"))}}).menu("instance"),this.menuInstance._off(this.menu,"mouseleave"),this.menuInstance._closeOnDocumentClick=function(){return!1},this.menuInstance._isDivider=function(){return!1}},refresh:function(){this._refreshMenu(),this.buttonItem.replaceWith(this.buttonItem=this._renderButtonItem(this._getSelectedItem().data("ui-selectmenu-item")||{})),null===this.options.width&&this._resizeButton()},_refreshMenu:function(){var e,t=this.element.find("option");this.menu.empty(),this._parseOptions(t),this._renderMenu(this.menu,this.items),this.menuInstance.refresh(),this.menuItems=this.menu.find("li").not(".ui-selectmenu-optgroup").find(".ui-menu-item-wrapper"),this._rendered=!0,t.length&&(e=this._getSelectedItem(),this.menuInstance.focus(null,e),this._setAria(e.data("ui-selectmenu-item")),this._setOption("disabled",this.element.prop("disabled")))},open:function(e){this.options.disabled||(this._rendered?(this._removeClass(this.menu.find(".ui-state-active"),null,"ui-state-active"),this.menuInstance.focus(null,this._getSelectedItem())):this._refreshMenu(),this.menuItems.length&&(this.isOpen=!0,this._toggleAttr(),this._resizeMenu(),this._position(),this._on(this.document,this._documentClick),this._trigger("open",e)))},_position:function(){this.menuWrap.position(e.extend({of:this.button},this.options.position))},close:function(e){this.isOpen&&(this.isOpen=!1,this._toggleAttr(),this.range=null,this._off(this.document),this._trigger("close",e))},widget:function(){return this.button},menuWidget:function(){return this.menu},_renderButtonItem:function(t){var n=e("<span>");return this._setText(n,t.label),this._addClass(n,"ui-selectmenu-text"),n},_renderMenu:function(t,n){var r=this,o="";e.each(n,(function(n,i){var a;i.optgroup!==o&&(a=e("<li>",{text:i.optgroup}),r._addClass(a,"ui-selectmenu-optgroup","ui-menu-divider"+(i.element.parent("optgroup").prop("disabled")?" ui-state-disabled":"")),a.appendTo(t),o=i.optgroup),r._renderItemData(t,i)}))},_renderItemData:function(e,t){return this._renderItem(e,t).data("ui-selectmenu-item",t)},_renderItem:function(t,n){var r=e("<li>"),o=e("<div>",{title:n.element.attr("title")});return n.disabled&&this._addClass(r,null,"ui-state-disabled"),n.hidden?r.prop("hidden",!0):this._setText(o,n.label),r.append(o).appendTo(t)},_setText:function(e,t){t?e.text(t):e.html(" ")},_move:function(e,t){var n,r,o=".ui-menu-item";this.isOpen?n=this.menuItems.eq(this.focusIndex).parent("li"):(n=this.menuItems.eq(this.element[0].selectedIndex).parent("li"),o+=":not(.ui-state-disabled)"),(r="first"===e||"last"===e?n["first"===e?"prevAll":"nextAll"](o).eq(-1):n[e+"All"](o).eq(0)).length&&this.menuInstance.focus(t,r)},_getSelectedItem:function(){return this.menuItems.eq(this.element[0].selectedIndex).parent("li")},_toggle:function(e){this[this.isOpen?"close":"open"](e)},_setSelection:function(){var e;this.range&&(window.getSelection?((e=window.getSelection()).removeAllRanges(),e.addRange(this.range)):this.range.select(),this.button.trigger("focus"))},_documentClick:{mousedown:function(t){this.isOpen&&(e(t.target).closest(".ui-selectmenu-menu, #"+e.escapeSelector(this.ids.button)).length||this.close(t))}},_buttonEvents:{mousedown:function(){var e;window.getSelection?(e=window.getSelection()).rangeCount&&(this.range=e.getRangeAt(0)):this.range=document.selection.createRange()},click:function(e){this._setSelection(),this._toggle(e)},keydown:function(t){var n=!0;switch(t.keyCode){case e.ui.keyCode.TAB:case e.ui.keyCode.ESCAPE:this.close(t),n=!1;break;case e.ui.keyCode.ENTER:this.isOpen&&this._selectFocusedItem(t);break;case e.ui.keyCode.UP:t.altKey?this._toggle(t):this._move("prev",t);break;case e.ui.keyCode.DOWN:t.altKey?this._toggle(t):this._move("next",t);break;case e.ui.keyCode.SPACE:this.isOpen?this._selectFocusedItem(t):this._toggle(t);break;case e.ui.keyCode.LEFT:this._move("prev",t);break;case e.ui.keyCode.RIGHT:this._move("next",t);break;case e.ui.keyCode.HOME:case e.ui.keyCode.PAGE_UP:this._move("first",t);break;case e.ui.keyCode.END:case e.ui.keyCode.PAGE_DOWN:this._move("last",t);break;default:this.menu.trigger(t),n=!1}n&&t.preventDefault()}},_selectFocusedItem:function(e){var t=this.menuItems.eq(this.focusIndex).parent("li");t.hasClass("ui-state-disabled")||this._select(t.data("ui-selectmenu-item"),e)},_select:function(e,t){var n=this.element[0].selectedIndex;this.element[0].selectedIndex=e.index,this.buttonItem.replaceWith(this.buttonItem=this._renderButtonItem(e)),this._setAria(e),this._trigger("select",t,{item:e}),e.index!==n&&this._trigger("change",t,{item:e}),this.close(t)},_setAria:function(e){var t=this.menuItems.eq(e.index).attr("id");this.button.attr({"aria-labelledby":t,"aria-activedescendant":t}),this.menu.attr("aria-activedescendant",t)},_setOption:function(e,t){if("icons"===e){var n=this.button.find("span.ui-icon");this._removeClass(n,null,this.options.icons.button)._addClass(n,null,t.button)}this._super(e,t),"appendTo"===e&&this.menuWrap.appendTo(this._appendTo()),"width"===e&&this._resizeButton()},_setOptionDisabled:function(e){this._super(e),this.menuInstance.option("disabled",e),this.button.attr("aria-disabled",e),this._toggleClass(this.button,null,"ui-state-disabled",e),this.element.prop("disabled",e),e?(this.button.attr("tabindex",-1),this.close()):this.button.attr("tabindex",0)},_appendTo:function(){var t=this.options.appendTo;return t&&(t=t.jquery||t.nodeType?e(t):this.document.find(t).eq(0)),t&&t[0]||(t=this.element.closest(".ui-front, dialog")),t.length||(t=this.document[0].body),t},_toggleAttr:function(){this.button.attr("aria-expanded",this.isOpen),this._removeClass(this.button,"ui-selectmenu-button-"+(this.isOpen?"closed":"open"))._addClass(this.button,"ui-selectmenu-button-"+(this.isOpen?"open":"closed"))._toggleClass(this.menuWrap,"ui-selectmenu-open",null,this.isOpen),this.menu.attr("aria-hidden",!this.isOpen)},_resizeButton:function(){var e=this.options.width;!1!==e?(null===e&&(e=this.element.show().outerWidth(),this.element.hide()),this.button.outerWidth(e)):this.button.css("width","")},_resizeMenu:function(){this.menu.outerWidth(Math.max(this.button.outerWidth(),this.menu.width("").outerWidth()+1))},_getCreateOptions:function(){var e=this._super();return e.disabled=this.element.prop("disabled"),e},_parseOptions:function(t){var n=this,r=[];t.each((function(t,o){r.push(n._parseOption(e(o),t))})),this.items=r},_parseOption:function(e,t){var n=e.parent("optgroup");return{element:e,index:t,value:e.val(),label:e.text(),hidden:n.prop("hidden")||e.prop("hidden"),optgroup:n.attr("label")||"",disabled:n.prop("disabled")||e.prop("disabled")}},_destroy:function(){this._unbindFormResetHandler(),this.menuWrap.remove(),this.button.remove(),this.element.show(),this.element.removeUniqueId(),this.labels.attr("for",this.ids.element)}}]),e.widget("ui.slider",e.ui.mouse,{version:"1.13.3",widgetEventPrefix:"slide",options:{animate:!1,classes:{"ui-slider":"ui-corner-all","ui-slider-handle":"ui-corner-all","ui-slider-range":"ui-corner-all ui-widget-header"},distance:0,max:100,min:0,orientation:"horizontal",range:!1,step:1,value:0,values:null,change:null,slide:null,start:null,stop:null},numPages:5,_create:function(){this._keySliding=!1,this._mouseSliding=!1,this._animateOff=!0,this._handleIndex=null,this._detectOrientation(),this._mouseInit(),this._calculateNewMax(),this._addClass("ui-slider ui-slider-"+this.orientation,"ui-widget ui-widget-content"),this._refresh(),this._animateOff=!1},_refresh:function(){this._createRange(),this._createHandles(),this._setupEvents(),this._refreshValue()},_createHandles:function(){var t,n,r=this.options,o=this.element.find(".ui-slider-handle"),i="<span tabindex='0'></span>",a=[];for(n=r.values&&r.values.length||1,o.length>n&&(o.slice(n).remove(),o=o.slice(0,n)),t=o.length;t<n;t++)a.push(i);this.handles=o.add(e(a.join("")).appendTo(this.element)),this._addClass(this.handles,"ui-slider-handle","ui-state-default"),this.handle=this.handles.eq(0),this.handles.each((function(t){e(this).data("ui-slider-handle-index",t).attr("tabIndex",0)}))},_createRange:function(){var t=this.options;t.range?(!0===t.range&&(t.values?t.values.length&&2!==t.values.length?t.values=[t.values[0],t.values[0]]:Array.isArray(t.values)&&(t.values=t.values.slice(0)):t.values=[this._valueMin(),this._valueMin()]),this.range&&this.range.length?(this._removeClass(this.range,"ui-slider-range-min ui-slider-range-max"),this.range.css({left:"",bottom:""})):(this.range=e("<div>").appendTo(this.element),this._addClass(this.range,"ui-slider-range")),"min"!==t.range&&"max"!==t.range||this._addClass(this.range,"ui-slider-range-"+t.range)):(this.range&&this.range.remove(),this.range=null)},_setupEvents:function(){this._off(this.handles),this._on(this.handles,this._handleEvents),this._hoverable(this.handles),this._focusable(this.handles)},_destroy:function(){this.handles.remove(),this.range&&this.range.remove(),this._mouseDestroy()},_mouseCapture:function(t){var n,r,o,i,a,s,l,c=this,u=this.options;return!u.disabled&&(this.elementSize={width:this.element.outerWidth(),height:this.element.outerHeight()},this.elementOffset=this.element.offset(),n={x:t.pageX,y:t.pageY},r=this._normValueFromMouse(n),o=this._valueMax()-this._valueMin()+1,this.handles.each((function(t){var n=Math.abs(r-c.values(t));(o>n||o===n&&(t===c._lastChangedValue||c.values(t)===u.min))&&(o=n,i=e(this),a=t)})),!1!==this._start(t,a)&&(this._mouseSliding=!0,this._handleIndex=a,this._addClass(i,null,"ui-state-active"),i.trigger("focus"),s=i.offset(),l=!e(t.target).parents().addBack().is(".ui-slider-handle"),this._clickOffset=l?{left:0,top:0}:{left:t.pageX-s.left-i.width()/2,top:t.pageY-s.top-i.height()/2-(parseInt(i.css("borderTopWidth"),10)||0)-(parseInt(i.css("borderBottomWidth"),10)||0)+(parseInt(i.css("marginTop"),10)||0)},this.handles.hasClass("ui-state-hover")||this._slide(t,a,r),this._animateOff=!0,!0))},_mouseStart:function(){return!0},_mouseDrag:function(e){var t={x:e.pageX,y:e.pageY},n=this._normValueFromMouse(t);return this._slide(e,this._handleIndex,n),!1},_mouseStop:function(e){return this._removeClass(this.handles,null,"ui-state-active"),this._mouseSliding=!1,this._stop(e,this._handleIndex),this._change(e,this._handleIndex),this._handleIndex=null,this._clickOffset=null,this._animateOff=!1,!1},_detectOrientation:function(){this.orientation="vertical"===this.options.orientation?"vertical":"horizontal"},_normValueFromMouse:function(e){var t,n,r,o,i;return"horizontal"===this.orientation?(t=this.elementSize.width,n=e.x-this.elementOffset.left-(this._clickOffset?this._clickOffset.left:0)):(t=this.elementSize.height,n=e.y-this.elementOffset.top-(this._clickOffset?this._clickOffset.top:0)),(r=n/t)>1&&(r=1),r<0&&(r=0),"vertical"===this.orientation&&(r=1-r),o=this._valueMax()-this._valueMin(),i=this._valueMin()+r*o,this._trimAlignValue(i)},_uiHash:function(e,t,n){var r={handle:this.handles[e],handleIndex:e,value:void 0!==t?t:this.value()};return this._hasMultipleValues()&&(r.value=void 0!==t?t:this.values(e),r.values=n||this.values()),r},_hasMultipleValues:function(){return this.options.values&&this.options.values.length},_start:function(e,t){return this._trigger("start",e,this._uiHash(t))},_slide:function(e,t,n){var r,o=this.value(),i=this.values();this._hasMultipleValues()&&(r=this.values(t?0:1),o=this.values(t),2===this.options.values.length&&!0===this.options.range&&(n=0===t?Math.min(r,n):Math.max(r,n)),i[t]=n),n!==o&&!1!==this._trigger("slide",e,this._uiHash(t,n,i))&&(this._hasMultipleValues()?this.values(t,n):this.value(n))},_stop:function(e,t){this._trigger("stop",e,this._uiHash(t))},_change:function(e,t){this._keySliding||this._mouseSliding||(this._lastChangedValue=t,this._trigger("change",e,this._uiHash(t)))},value:function(e){return arguments.length?(this.options.value=this._trimAlignValue(e),this._refreshValue(),void this._change(null,0)):this._value()},values:function(e,t){var n,r,o;if(arguments.length>1)return this.options.values[e]=this._trimAlignValue(t),this._refreshValue(),void this._change(null,e);if(!arguments.length)return this._values();if(!Array.isArray(arguments[0]))return this._hasMultipleValues()?this._values(e):this.value();for(n=this.options.values,r=arguments[0],o=0;o<n.length;o+=1)n[o]=this._trimAlignValue(r[o]),this._change(null,o);this._refreshValue()},_setOption:function(e,t){var n,r=0;switch("range"===e&&!0===this.options.range&&("min"===t?(this.options.value=this._values(0),this.options.values=null):"max"===t&&(this.options.value=this._values(this.options.values.length-1),this.options.values=null)),Array.isArray(this.options.values)&&(r=this.options.values.length),this._super(e,t),e){case"orientation":this._detectOrientation(),this._removeClass("ui-slider-horizontal ui-slider-vertical")._addClass("ui-slider-"+this.orientation),this._refreshValue(),this.options.range&&this._refreshRange(t),this.handles.css("horizontal"===t?"bottom":"left","");break;case"value":this._animateOff=!0,this._refreshValue(),this._change(null,0),this._animateOff=!1;break;case"values":for(this._animateOff=!0,this._refreshValue(),n=r-1;n>=0;n--)this._change(null,n);this._animateOff=!1;break;case"step":case"min":case"max":this._animateOff=!0,this._calculateNewMax(),this._refreshValue(),this._animateOff=!1;break;case"range":this._animateOff=!0,this._refresh(),this._animateOff=!1}},_setOptionDisabled:function(e){this._super(e),this._toggleClass(null,"ui-state-disabled",!!e)},_value:function(){var e=this.options.value;return e=this._trimAlignValue(e)},_values:function(e){var t,n,r;if(arguments.length)return t=this.options.values[e],t=this._trimAlignValue(t);if(this._hasMultipleValues()){for(n=this.options.values.slice(),r=0;r<n.length;r+=1)n[r]=this._trimAlignValue(n[r]);return n}return[]},_trimAlignValue:function(e){if(e<=this._valueMin())return this._valueMin();if(e>=this._valueMax())return this._valueMax();var t=this.options.step>0?this.options.step:1,n=(e-this._valueMin())%t,r=e-n;return 2*Math.abs(n)>=t&&(r+=n>0?t:-t),parseFloat(r.toFixed(5))},_calculateNewMax:function(){var e=this.options.max,t=this._valueMin(),n=this.options.step;(e=Math.round((e-t)/n)*n+t)>this.options.max&&(e-=n),this.max=parseFloat(e.toFixed(this._precision()))},_precision:function(){var e=this._precisionOf(this.options.step);return null!==this.options.min&&(e=Math.max(e,this._precisionOf(this.options.min))),e},_precisionOf:function(e){var t=e.toString(),n=t.indexOf(".");return-1===n?0:t.length-n-1},_valueMin:function(){return this.options.min},_valueMax:function(){return this.max},_refreshRange:function(e){"vertical"===e&&this.range.css({width:"",left:""}),"horizontal"===e&&this.range.css({height:"",bottom:""})},_refreshValue:function(){var t,n,r,o,i,a=this.options.range,s=this.options,l=this,c=!this._animateOff&&s.animate,u={};this._hasMultipleValues()?this.handles.each((function(r){n=(l.values(r)-l._valueMin())/(l._valueMax()-l._valueMin())*100,u["horizontal"===l.orientation?"left":"bottom"]=n+"%",e(this).stop(1,1)[c?"animate":"css"](u,s.animate),!0===l.options.range&&("horizontal"===l.orientation?(0===r&&l.range.stop(1,1)[c?"animate":"css"]({left:n+"%"},s.animate),1===r&&l.range[c?"animate":"css"]({width:n-t+"%"},{queue:!1,duration:s.animate})):(0===r&&l.range.stop(1,1)[c?"animate":"css"]({bottom:n+"%"},s.animate),1===r&&l.range[c?"animate":"css"]({height:n-t+"%"},{queue:!1,duration:s.animate}))),t=n})):(r=this.value(),o=this._valueMin(),i=this._valueMax(),n=i!==o?(r-o)/(i-o)*100:0,u["horizontal"===this.orientation?"left":"bottom"]=n+"%",this.handle.stop(1,1)[c?"animate":"css"](u,s.animate),"min"===a&&"horizontal"===this.orientation&&this.range.stop(1,1)[c?"animate":"css"]({width:n+"%"},s.animate),"max"===a&&"horizontal"===this.orientation&&this.range.stop(1,1)[c?"animate":"css"]({width:100-n+"%"},s.animate),"min"===a&&"vertical"===this.orientation&&this.range.stop(1,1)[c?"animate":"css"]({height:n+"%"},s.animate),"max"===a&&"vertical"===this.orientation&&this.range.stop(1,1)[c?"animate":"css"]({height:100-n+"%"},s.animate))},_handleEvents:{keydown:function(t){var n,r,o,i=e(t.target).data("ui-slider-handle-index");switch(t.keyCode){case e.ui.keyCode.HOME:case e.ui.keyCode.END:case e.ui.keyCode.PAGE_UP:case e.ui.keyCode.PAGE_DOWN:case e.ui.keyCode.UP:case e.ui.keyCode.RIGHT:case e.ui.keyCode.DOWN:case e.ui.keyCode.LEFT:if(t.preventDefault(),!this._keySliding&&(this._keySliding=!0,this._addClass(e(t.target),null,"ui-state-active"),!1===this._start(t,i)))return}switch(o=this.options.step,n=r=this._hasMultipleValues()?this.values(i):this.value(),t.keyCode){case e.ui.keyCode.HOME:r=this._valueMin();break;case e.ui.keyCode.END:r=this._valueMax();break;case e.ui.keyCode.PAGE_UP:r=this._trimAlignValue(n+(this._valueMax()-this._valueMin())/this.numPages);break;case e.ui.keyCode.PAGE_DOWN:r=this._trimAlignValue(n-(this._valueMax()-this._valueMin())/this.numPages);break;case e.ui.keyCode.UP:case e.ui.keyCode.RIGHT:if(n===this._valueMax())return;r=this._trimAlignValue(n+o);break;case e.ui.keyCode.DOWN:case e.ui.keyCode.LEFT:if(n===this._valueMin())return;r=this._trimAlignValue(n-o)}this._slide(t,i,r)},keyup:function(t){var n=e(t.target).data("ui-slider-handle-index");this._keySliding&&(this._keySliding=!1,this._stop(t,n),this._change(t,n),this._removeClass(e(t.target),null,"ui-state-active"))}}}),e.widget("ui.sortable",e.ui.mouse,{version:"1.13.3",widgetEventPrefix:"sort",ready:!1,options:{appendTo:"parent",axis:!1,connectWith:!1,containment:!1,cursor:"auto",cursorAt:!1,dropOnEmpty:!0,forcePlaceholderSize:!1,forceHelperSize:!1,grid:!1,handle:!1,helper:"original",items:"> *",opacity:!1,placeholder:!1,revert:!1,scroll:!0,scrollSensitivity:20,scrollSpeed:20,scope:"default",tolerance:"intersect",zIndex:1e3,activate:null,beforeStop:null,change:null,deactivate:null,out:null,over:null,receive:null,remove:null,sort:null,start:null,stop:null,update:null},_isOverAxis:function(e,t,n){return e>=t&&e<t+n},_isFloating:function(e){return/left|right/.test(e.css("float"))||/inline|table-cell/.test(e.css("display"))},_create:function(){this.containerCache={},this._addClass("ui-sortable"),this.refresh(),this.offset=this.element.offset(),this._mouseInit(),this._setHandleClassName(),this.ready=!0},_setOption:function(e,t){this._super(e,t),"handle"===e&&this._setHandleClassName()},_setHandleClassName:function(){var t=this;this._removeClass(this.element.find(".ui-sortable-handle"),"ui-sortable-handle"),e.each(this.items,(function(){t._addClass(this.instance.options.handle?this.item.find(this.instance.options.handle):this.item,"ui-sortable-handle")}))},_destroy:function(){this._mouseDestroy();for(var e=this.items.length-1;e>=0;e--)this.items[e].item.removeData(this.widgetName+"-item");return this},_mouseCapture:function(t,n){var r=null,o=!1,i=this;return!this.reverting&&(!this.options.disabled&&"static"!==this.options.type&&(this._refreshItems(t),e(t.target).parents().each((function(){if(e.data(this,i.widgetName+"-item")===i)return r=e(this),!1})),e.data(t.target,i.widgetName+"-item")===i&&(r=e(t.target)),!!r&&(!(this.options.handle&&!n&&(e(this.options.handle,r).find("*").addBack().each((function(){this===t.target&&(o=!0)})),!o))&&(this.currentItem=r,this._removeCurrentsFromItems(),!0))))},_mouseStart:function(t,n,r){var o,i,a=this.options;if(this.currentContainer=this,this.refreshPositions(),this.appendTo=e("parent"!==a.appendTo?a.appendTo:this.currentItem.parent()),this.helper=this._createHelper(t),this._cacheHelperProportions(),this._cacheMargins(),this.offset=this.currentItem.offset(),this.offset={top:this.offset.top-this.margins.top,left:this.offset.left-this.margins.left},e.extend(this.offset,{click:{left:t.pageX-this.offset.left,top:t.pageY-this.offset.top},relative:this._getRelativeOffset()}),this.helper.css("position","absolute"),this.cssPosition=this.helper.css("position"),a.cursorAt&&this._adjustOffsetFromHelper(a.cursorAt),this.domPosition={prev:this.currentItem.prev()[0],parent:this.currentItem.parent()[0]},this.helper[0]!==this.currentItem[0]&&this.currentItem.hide(),this._createPlaceholder(),this.scrollParent=this.placeholder.scrollParent(),e.extend(this.offset,{parent:this._getParentOffset()}),a.containment&&this._setContainment(),a.cursor&&"auto"!==a.cursor&&(i=this.document.find("body"),this.storedCursor=i.css("cursor"),i.css("cursor",a.cursor),this.storedStylesheet=e("<style>*{ cursor: "+a.cursor+" !important; }</style>").appendTo(i)),a.zIndex&&(this.helper.css("zIndex")&&(this._storedZIndex=this.helper.css("zIndex")),this.helper.css("zIndex",a.zIndex)),a.opacity&&(this.helper.css("opacity")&&(this._storedOpacity=this.helper.css("opacity")),this.helper.css("opacity",a.opacity)),this.scrollParent[0]!==this.document[0]&&"HTML"!==this.scrollParent[0].tagName&&(this.overflowOffset=this.scrollParent.offset()),this._trigger("start",t,this._uiHash()),this._preserveHelperProportions||this._cacheHelperProportions(),!r)for(o=this.containers.length-1;o>=0;o--)this.containers[o]._trigger("activate",t,this._uiHash(this));return e.ui.ddmanager&&(e.ui.ddmanager.current=this),e.ui.ddmanager&&!a.dropBehaviour&&e.ui.ddmanager.prepareOffsets(this,t),this.dragging=!0,this._addClass(this.helper,"ui-sortable-helper"),this.helper.parent().is(this.appendTo)||(this.helper.detach().appendTo(this.appendTo),this.offset.parent=this._getParentOffset()),this.position=this.originalPosition=this._generatePosition(t),this.originalPageX=t.pageX,this.originalPageY=t.pageY,this.lastPositionAbs=this.positionAbs=this._convertPositionTo("absolute"),this._mouseDrag(t),!0},_scroll:function(e){var t=this.options,n=!1;return this.scrollParent[0]!==this.document[0]&&"HTML"!==this.scrollParent[0].tagName?(this.overflowOffset.top+this.scrollParent[0].offsetHeight-e.pageY<t.scrollSensitivity?this.scrollParent[0].scrollTop=n=this.scrollParent[0].scrollTop+t.scrollSpeed:e.pageY-this.overflowOffset.top<t.scrollSensitivity&&(this.scrollParent[0].scrollTop=n=this.scrollParent[0].scrollTop-t.scrollSpeed),this.overflowOffset.left+this.scrollParent[0].offsetWidth-e.pageX<t.scrollSensitivity?this.scrollParent[0].scrollLeft=n=this.scrollParent[0].scrollLeft+t.scrollSpeed:e.pageX-this.overflowOffset.left<t.scrollSensitivity&&(this.scrollParent[0].scrollLeft=n=this.scrollParent[0].scrollLeft-t.scrollSpeed)):(e.pageY-this.document.scrollTop()<t.scrollSensitivity?n=this.document.scrollTop(this.document.scrollTop()-t.scrollSpeed):this.window.height()-(e.pageY-this.document.scrollTop())<t.scrollSensitivity&&(n=this.document.scrollTop(this.document.scrollTop()+t.scrollSpeed)),e.pageX-this.document.scrollLeft()<t.scrollSensitivity?n=this.document.scrollLeft(this.document.scrollLeft()-t.scrollSpeed):this.window.width()-(e.pageX-this.document.scrollLeft())<t.scrollSensitivity&&(n=this.document.scrollLeft(this.document.scrollLeft()+t.scrollSpeed))),n},_mouseDrag:function(t){var n,r,o,i,a=this.options;for(this.position=this._generatePosition(t),this.positionAbs=this._convertPositionTo("absolute"),this.options.axis&&"y"===this.options.axis||(this.helper[0].style.left=this.position.left+"px"),this.options.axis&&"x"===this.options.axis||(this.helper[0].style.top=this.position.top+"px"),a.scroll&&!1!==this._scroll(t)&&(this._refreshItemPositions(!0),e.ui.ddmanager&&!a.dropBehaviour&&e.ui.ddmanager.prepareOffsets(this,t)),this.dragDirection={vertical:this._getDragVerticalDirection(),horizontal:this._getDragHorizontalDirection()},n=this.items.length-1;n>=0;n--)if(o=(r=this.items[n]).item[0],(i=this._intersectsWithPointer(r))&&r.instance===this.currentContainer&&!(o===this.currentItem[0]||this.placeholder[1===i?"next":"prev"]()[0]===o||e.contains(this.placeholder[0],o)||"semi-dynamic"===this.options.type&&e.contains(this.element[0],o))){if(this.direction=1===i?"down":"up","pointer"!==this.options.tolerance&&!this._intersectsWithSides(r))break;this._rearrange(t,r),this._trigger("change",t,this._uiHash());break}return this._contactContainers(t),e.ui.ddmanager&&e.ui.ddmanager.drag(this,t),this._trigger("sort",t,this._uiHash()),this.lastPositionAbs=this.positionAbs,!1},_mouseStop:function(t,n){if(t){if(e.ui.ddmanager&&!this.options.dropBehaviour&&e.ui.ddmanager.drop(this,t),this.options.revert){var r=this,o=this.placeholder.offset(),i=this.options.axis,a={};i&&"x"!==i||(a.left=o.left-this.offset.parent.left-this.margins.left+(this.offsetParent[0]===this.document[0].body?0:this.offsetParent[0].scrollLeft)),i&&"y"!==i||(a.top=o.top-this.offset.parent.top-this.margins.top+(this.offsetParent[0]===this.document[0].body?0:this.offsetParent[0].scrollTop)),this.reverting=!0,e(this.helper).animate(a,parseInt(this.options.revert,10)||500,(function(){r._clear(t)}))}else this._clear(t,n);return!1}},cancel:function(){if(this.dragging){this._mouseUp(new e.Event("mouseup",{target:null})),"original"===this.options.helper?(this.currentItem.css(this._storedCSS),this._removeClass(this.currentItem,"ui-sortable-helper")):this.currentItem.show();for(var t=this.containers.length-1;t>=0;t--)this.containers[t]._trigger("deactivate",null,this._uiHash(this)),this.containers[t].containerCache.over&&(this.containers[t]._trigger("out",null,this._uiHash(this)),this.containers[t].containerCache.over=0)}return this.placeholder&&(this.placeholder[0].parentNode&&this.placeholder[0].parentNode.removeChild(this.placeholder[0]),"original"!==this.options.helper&&this.helper&&this.helper[0].parentNode&&this.helper.remove(),e.extend(this,{helper:null,dragging:!1,reverting:!1,_noFinalSort:null}),this.domPosition.prev?e(this.domPosition.prev).after(this.currentItem):e(this.domPosition.parent).prepend(this.currentItem)),this},serialize:function(t){var n=this._getItemsAsjQuery(t&&t.connected),r=[];return t=t||{},e(n).each((function(){var n=(e(t.item||this).attr(t.attribute||"id")||"").match(t.expression||/(.+)[\-=_](.+)/);n&&r.push((t.key||n[1]+"[]")+"="+(t.key&&t.expression?n[1]:n[2]))})),!r.length&&t.key&&r.push(t.key+"="),r.join("&")},toArray:function(t){var n=this._getItemsAsjQuery(t&&t.connected),r=[];return t=t||{},n.each((function(){r.push(e(t.item||this).attr(t.attribute||"id")||"")})),r},_intersectsWith:function(e){var t=this.positionAbs.left,n=t+this.helperProportions.width,r=this.positionAbs.top,o=r+this.helperProportions.height,i=e.left,a=i+e.width,s=e.top,l=s+e.height,c=this.offset.click.top,u=this.offset.click.left,d="x"===this.options.axis||r+c>s&&r+c<l,p="y"===this.options.axis||t+u>i&&t+u<a,f=d&&p;return"pointer"===this.options.tolerance||this.options.forcePointerForContainers||"pointer"!==this.options.tolerance&&this.helperProportions[this.floating?"width":"height"]>e[this.floating?"width":"height"]?f:i<t+this.helperProportions.width/2&&n-this.helperProportions.width/2<a&&s<r+this.helperProportions.height/2&&o-this.helperProportions.height/2<l},_intersectsWithPointer:function(e){var t,n,r="x"===this.options.axis||this._isOverAxis(this.positionAbs.top+this.offset.click.top,e.top,e.height),o="y"===this.options.axis||this._isOverAxis(this.positionAbs.left+this.offset.click.left,e.left,e.width);return!(!r||!o)&&(t=this.dragDirection.vertical,n=this.dragDirection.horizontal,this.floating?"right"===n||"down"===t?2:1:t&&("down"===t?2:1))},_intersectsWithSides:function(e){var t=this._isOverAxis(this.positionAbs.top+this.offset.click.top,e.top+e.height/2,e.height),n=this._isOverAxis(this.positionAbs.left+this.offset.click.left,e.left+e.width/2,e.width),r=this.dragDirection.vertical,o=this.dragDirection.horizontal;return this.floating&&o?"right"===o&&n||"left"===o&&!n:r&&("down"===r&&t||"up"===r&&!t)},_getDragVerticalDirection:function(){var e=this.positionAbs.top-this.lastPositionAbs.top;return 0!==e&&(e>0?"down":"up")},_getDragHorizontalDirection:function(){var e=this.positionAbs.left-this.lastPositionAbs.left;return 0!==e&&(e>0?"right":"left")},refresh:function(e){return this._refreshItems(e),this._setHandleClassName(),this.refreshPositions(),this},_connectWith:function(){var e=this.options;return e.connectWith.constructor===String?[e.connectWith]:e.connectWith},_getItemsAsjQuery:function(t){var n,r,o,i,a=[],s=[],l=this._connectWith();if(l&&t)for(n=l.length-1;n>=0;n--)for(r=(o=e(l[n],this.document[0])).length-1;r>=0;r--)(i=e.data(o[r],this.widgetFullName))&&i!==this&&!i.options.disabled&&s.push(["function"==typeof i.options.items?i.options.items.call(i.element):e(i.options.items,i.element).not(".ui-sortable-helper").not(".ui-sortable-placeholder"),i]);function c(){a.push(this)}for(s.push(["function"==typeof this.options.items?this.options.items.call(this.element,null,{options:this.options,item:this.currentItem}):e(this.options.items,this.element).not(".ui-sortable-helper").not(".ui-sortable-placeholder"),this]),n=s.length-1;n>=0;n--)s[n][0].each(c);return e(a)},_removeCurrentsFromItems:function(){var t=this.currentItem.find(":data("+this.widgetName+"-item)");this.items=e.grep(this.items,(function(e){for(var n=0;n<t.length;n++)if(t[n]===e.item[0])return!1;return!0}))},_refreshItems:function(t){this.items=[],this.containers=[this];var n,r,o,i,a,s,l,c,u=this.items,d=[["function"==typeof this.options.items?this.options.items.call(this.element[0],t,{item:this.currentItem}):e(this.options.items,this.element),this]],p=this._connectWith();if(p&&this.ready)for(n=p.length-1;n>=0;n--)for(r=(o=e(p[n],this.document[0])).length-1;r>=0;r--)(i=e.data(o[r],this.widgetFullName))&&i!==this&&!i.options.disabled&&(d.push(["function"==typeof i.options.items?i.options.items.call(i.element[0],t,{item:this.currentItem}):e(i.options.items,i.element),i]),this.containers.push(i));for(n=d.length-1;n>=0;n--)for(a=d[n][1],r=0,c=(s=d[n][0]).length;r<c;r++)(l=e(s[r])).data(this.widgetName+"-item",a),u.push({item:l,instance:a,width:0,height:0,left:0,top:0})},_refreshItemPositions:function(t){var n,r,o,i;for(n=this.items.length-1;n>=0;n--)r=this.items[n],this.currentContainer&&r.instance!==this.currentContainer&&r.item[0]!==this.currentItem[0]||(o=this.options.toleranceElement?e(this.options.toleranceElement,r.item):r.item,t||(r.width=o.outerWidth(),r.height=o.outerHeight()),i=o.offset(),r.left=i.left,r.top=i.top)},refreshPositions:function(e){var t,n;if(this.floating=!!this.items.length&&("x"===this.options.axis||this._isFloating(this.items[0].item)),this.offsetParent&&this.helper&&(this.offset.parent=this._getParentOffset()),this._refreshItemPositions(e),this.options.custom&&this.options.custom.refreshContainers)this.options.custom.refreshContainers.call(this);else for(t=this.containers.length-1;t>=0;t--)n=this.containers[t].element.offset(),this.containers[t].containerCache.left=n.left,this.containers[t].containerCache.top=n.top,this.containers[t].containerCache.width=this.containers[t].element.outerWidth(),this.containers[t].containerCache.height=this.containers[t].element.outerHeight();return this},_createPlaceholder:function(t){var n,r,o=(t=t||this).options;o.placeholder&&o.placeholder.constructor!==String||(n=o.placeholder,r=t.currentItem[0].nodeName.toLowerCase(),o.placeholder={element:function(){var o=e("<"+r+">",t.document[0]);return t._addClass(o,"ui-sortable-placeholder",n||t.currentItem[0].className)._removeClass(o,"ui-sortable-helper"),"tbody"===r?t._createTrPlaceholder(t.currentItem.find("tr").eq(0),e("<tr>",t.document[0]).appendTo(o)):"tr"===r?t._createTrPlaceholder(t.currentItem,o):"img"===r&&o.attr("src",t.currentItem.attr("src")),n||o.css("visibility","hidden"),o},update:function(e,i){n&&!o.forcePlaceholderSize||(i.height()&&(!o.forcePlaceholderSize||"tbody"!==r&&"tr"!==r)||i.height(t.currentItem.innerHeight()-parseInt(t.currentItem.css("paddingTop")||0,10)-parseInt(t.currentItem.css("paddingBottom")||0,10)),i.width()||i.width(t.currentItem.innerWidth()-parseInt(t.currentItem.css("paddingLeft")||0,10)-parseInt(t.currentItem.css("paddingRight")||0,10)))}}),t.placeholder=e(o.placeholder.element.call(t.element,t.currentItem)),t.currentItem.after(t.placeholder),o.placeholder.update(t,t.placeholder)},_createTrPlaceholder:function(t,n){var r=this;t.children().each((function(){e("<td> </td>",r.document[0]).attr("colspan",e(this).attr("colspan")||1).appendTo(n)}))},_contactContainers:function(t){var n,r,o,i,a,s,l,c,u,d,p=null,f=null;for(n=this.containers.length-1;n>=0;n--)if(!e.contains(this.currentItem[0],this.containers[n].element[0]))if(this._intersectsWith(this.containers[n].containerCache)){if(p&&e.contains(this.containers[n].element[0],p.element[0]))continue;p=this.containers[n],f=n}else this.containers[n].containerCache.over&&(this.containers[n]._trigger("out",t,this._uiHash(this)),this.containers[n].containerCache.over=0);if(p)if(1===this.containers.length)this.containers[f].containerCache.over||(this.containers[f]._trigger("over",t,this._uiHash(this)),this.containers[f].containerCache.over=1);else{for(o=1e4,i=null,a=(u=p.floating||this._isFloating(this.currentItem))?"left":"top",s=u?"width":"height",d=u?"pageX":"pageY",r=this.items.length-1;r>=0;r--)e.contains(this.containers[f].element[0],this.items[r].item[0])&&this.items[r].item[0]!==this.currentItem[0]&&(l=this.items[r].item.offset()[a],c=!1,t[d]-l>this.items[r][s]/2&&(c=!0),Math.abs(t[d]-l)<o&&(o=Math.abs(t[d]-l),i=this.items[r],this.direction=c?"up":"down"));if(!i&&!this.options.dropOnEmpty)return;if(this.currentContainer===this.containers[f])return void(this.currentContainer.containerCache.over||(this.containers[f]._trigger("over",t,this._uiHash()),this.currentContainer.containerCache.over=1));i?this._rearrange(t,i,null,!0):this._rearrange(t,null,this.containers[f].element,!0),this._trigger("change",t,this._uiHash()),this.containers[f]._trigger("change",t,this._uiHash(this)),this.currentContainer=this.containers[f],this.options.placeholder.update(this.currentContainer,this.placeholder),this.scrollParent=this.placeholder.scrollParent(),this.scrollParent[0]!==this.document[0]&&"HTML"!==this.scrollParent[0].tagName&&(this.overflowOffset=this.scrollParent.offset()),this.containers[f]._trigger("over",t,this._uiHash(this)),this.containers[f].containerCache.over=1}},_createHelper:function(t){var n=this.options,r="function"==typeof n.helper?e(n.helper.apply(this.element[0],[t,this.currentItem])):"clone"===n.helper?this.currentItem.clone():this.currentItem;return r.parents("body").length||this.appendTo[0].appendChild(r[0]),r[0]===this.currentItem[0]&&(this._storedCSS={width:this.currentItem[0].style.width,height:this.currentItem[0].style.height,position:this.currentItem.css("position"),top:this.currentItem.css("top"),left:this.currentItem.css("left")}),r[0].style.width&&!n.forceHelperSize||r.width(this.currentItem.width()),r[0].style.height&&!n.forceHelperSize||r.height(this.currentItem.height()),r},_adjustOffsetFromHelper:function(e){"string"==typeof e&&(e=e.split(" ")),Array.isArray(e)&&(e={left:+e[0],top:+e[1]||0}),"left"in e&&(this.offset.click.left=e.left+this.margins.left),"right"in e&&(this.offset.click.left=this.helperProportions.width-e.right+this.margins.left),"top"in e&&(this.offset.click.top=e.top+this.margins.top),"bottom"in e&&(this.offset.click.top=this.helperProportions.height-e.bottom+this.margins.top)},_getParentOffset:function(){this.offsetParent=this.helper.offsetParent();var t=this.offsetParent.offset();return"absolute"===this.cssPosition&&this.scrollParent[0]!==this.document[0]&&e.contains(this.scrollParent[0],this.offsetParent[0])&&(t.left+=this.scrollParent.scrollLeft(),t.top+=this.scrollParent.scrollTop()),(this.offsetParent[0]===this.document[0].body||this.offsetParent[0].tagName&&"html"===this.offsetParent[0].tagName.toLowerCase()&&e.ui.ie)&&(t={top:0,left:0}),{top:t.top+(parseInt(this.offsetParent.css("borderTopWidth"),10)||0),left:t.left+(parseInt(this.offsetParent.css("borderLeftWidth"),10)||0)}},_getRelativeOffset:function(){if("relative"===this.cssPosition){var e=this.currentItem.position();return{top:e.top-(parseInt(this.helper.css("top"),10)||0)+this.scrollParent.scrollTop(),left:e.left-(parseInt(this.helper.css("left"),10)||0)+this.scrollParent.scrollLeft()}}return{top:0,left:0}},_cacheMargins:function(){this.margins={left:parseInt(this.currentItem.css("marginLeft"),10)||0,top:parseInt(this.currentItem.css("marginTop"),10)||0}},_cacheHelperProportions:function(){this.helperProportions={width:this.helper.outerWidth(),height:this.helper.outerHeight()}},_setContainment:function(){var t,n,r,o=this.options;"parent"===o.containment&&(o.containment=this.helper[0].parentNode),"document"!==o.containment&&"window"!==o.containment||(this.containment=[0-this.offset.relative.left-this.offset.parent.left,0-this.offset.relative.top-this.offset.parent.top,"document"===o.containment?this.document.width():this.window.width()-this.helperProportions.width-this.margins.left,("document"===o.containment?this.document.height()||document.body.parentNode.scrollHeight:this.window.height()||this.document[0].body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top]),/^(document|window|parent)$/.test(o.containment)||(t=e(o.containment)[0],n=e(o.containment).offset(),r="hidden"!==e(t).css("overflow"),this.containment=[n.left+(parseInt(e(t).css("borderLeftWidth"),10)||0)+(parseInt(e(t).css("paddingLeft"),10)||0)-this.margins.left,n.top+(parseInt(e(t).css("borderTopWidth"),10)||0)+(parseInt(e(t).css("paddingTop"),10)||0)-this.margins.top,n.left+(r?Math.max(t.scrollWidth,t.offsetWidth):t.offsetWidth)-(parseInt(e(t).css("borderLeftWidth"),10)||0)-(parseInt(e(t).css("paddingRight"),10)||0)-this.helperProportions.width-this.margins.left,n.top+(r?Math.max(t.scrollHeight,t.offsetHeight):t.offsetHeight)-(parseInt(e(t).css("borderTopWidth"),10)||0)-(parseInt(e(t).css("paddingBottom"),10)||0)-this.helperProportions.height-this.margins.top])},_convertPositionTo:function(t,n){n||(n=this.position);var r="absolute"===t?1:-1,o="absolute"!==this.cssPosition||this.scrollParent[0]!==this.document[0]&&e.contains(this.scrollParent[0],this.offsetParent[0])?this.scrollParent:this.offsetParent,i=/(html|body)/i.test(o[0].tagName);return{top:n.top+this.offset.relative.top*r+this.offset.parent.top*r-("fixed"===this.cssPosition?-this.scrollParent.scrollTop():i?0:o.scrollTop())*r,left:n.left+this.offset.relative.left*r+this.offset.parent.left*r-("fixed"===this.cssPosition?-this.scrollParent.scrollLeft():i?0:o.scrollLeft())*r}},_generatePosition:function(t){var n,r,o=this.options,i=t.pageX,a=t.pageY,s="absolute"!==this.cssPosition||this.scrollParent[0]!==this.document[0]&&e.contains(this.scrollParent[0],this.offsetParent[0])?this.scrollParent:this.offsetParent,l=/(html|body)/i.test(s[0].tagName);return"relative"!==this.cssPosition||this.scrollParent[0]!==this.document[0]&&this.scrollParent[0]!==this.offsetParent[0]||(this.offset.relative=this._getRelativeOffset()),this.originalPosition&&(this.containment&&(t.pageX-this.offset.click.left<this.containment[0]&&(i=this.containment[0]+this.offset.click.left),t.pageY-this.offset.click.top<this.containment[1]&&(a=this.containment[1]+this.offset.click.top),t.pageX-this.offset.click.left>this.containment[2]&&(i=this.containment[2]+this.offset.click.left),t.pageY-this.offset.click.top>this.containment[3]&&(a=this.containment[3]+this.offset.click.top)),o.grid&&(n=this.originalPageY+Math.round((a-this.originalPageY)/o.grid[1])*o.grid[1],a=this.containment?n-this.offset.click.top>=this.containment[1]&&n-this.offset.click.top<=this.containment[3]?n:n-this.offset.click.top>=this.containment[1]?n-o.grid[1]:n+o.grid[1]:n,r=this.originalPageX+Math.round((i-this.originalPageX)/o.grid[0])*o.grid[0],i=this.containment?r-this.offset.click.left>=this.containment[0]&&r-this.offset.click.left<=this.containment[2]?r:r-this.offset.click.left>=this.containment[0]?r-o.grid[0]:r+o.grid[0]:r)),{top:a-this.offset.click.top-this.offset.relative.top-this.offset.parent.top+("fixed"===this.cssPosition?-this.scrollParent.scrollTop():l?0:s.scrollTop()),left:i-this.offset.click.left-this.offset.relative.left-this.offset.parent.left+("fixed"===this.cssPosition?-this.scrollParent.scrollLeft():l?0:s.scrollLeft())}},_rearrange:function(e,t,n,r){n?n[0].appendChild(this.placeholder[0]):t.item[0].parentNode.insertBefore(this.placeholder[0],"down"===this.direction?t.item[0]:t.item[0].nextSibling),this.counter=this.counter?++this.counter:1;var o=this.counter;this._delay((function(){o===this.counter&&this.refreshPositions(!r)}))},_clear:function(e,t){this.reverting=!1;var n,r=[];if(!this._noFinalSort&&this.currentItem.parent().length&&this.placeholder.before(this.currentItem),this._noFinalSort=null,this.helper[0]===this.currentItem[0]){for(n in this._storedCSS)"auto"!==this._storedCSS[n]&&"static"!==this._storedCSS[n]||(this._storedCSS[n]="");this.currentItem.css(this._storedCSS),this._removeClass(this.currentItem,"ui-sortable-helper")}else this.currentItem.show();function o(e,t,n){return function(r){n._trigger(e,r,t._uiHash(t))}}for(this.fromOutside&&!t&&r.push((function(e){this._trigger("receive",e,this._uiHash(this.fromOutside))})),!this.fromOutside&&this.domPosition.prev===this.currentItem.prev().not(".ui-sortable-helper")[0]&&this.domPosition.parent===this.currentItem.parent()[0]||t||r.push((function(e){this._trigger("update",e,this._uiHash())})),this!==this.currentContainer&&(t||(r.push((function(e){this._trigger("remove",e,this._uiHash())})),r.push(function(e){return function(t){e._trigger("receive",t,this._uiHash(this))}}.call(this,this.currentContainer)),r.push(function(e){return function(t){e._trigger("update",t,this._uiHash(this))}}.call(this,this.currentContainer)))),n=this.containers.length-1;n>=0;n--)t||r.push(o("deactivate",this,this.containers[n])),this.containers[n].containerCache.over&&(r.push(o("out",this,this.containers[n])),this.containers[n].containerCache.over=0);if(this.storedCursor&&(this.document.find("body").css("cursor",this.storedCursor),this.storedStylesheet.remove()),this._storedOpacity&&this.helper.css("opacity",this._storedOpacity),this._storedZIndex&&this.helper.css("zIndex","auto"===this._storedZIndex?"":this._storedZIndex),this.dragging=!1,t||this._trigger("beforeStop",e,this._uiHash()),this.placeholder[0].parentNode.removeChild(this.placeholder[0]),this.cancelHelperRemoval||(this.helper[0]!==this.currentItem[0]&&this.helper.remove(),this.helper=null),!t){for(n=0;n<r.length;n++)r[n].call(this,e);this._trigger("stop",e,this._uiHash())}return this.fromOutside=!1,!this.cancelHelperRemoval},_trigger:function(){!1===e.Widget.prototype._trigger.apply(this,arguments)&&this.cancel()},_uiHash:function(t){var n=t||this;return{helper:n.helper,placeholder:n.placeholder||e([]),position:n.position,originalPosition:n.originalPosition,offset:n.positionAbs,item:n.currentItem,sender:t?t.element:null}}});function z(e){return function(){var t=this.element.val();e.apply(this,arguments),this._refresh(),t!==this.element.val()&&this._trigger("change")}}e.widget("ui.spinner",{version:"1.13.3",defaultElement:"<input>",widgetEventPrefix:"spin",options:{classes:{"ui-spinner":"ui-corner-all","ui-spinner-down":"ui-corner-br","ui-spinner-up":"ui-corner-tr"},culture:null,icons:{down:"ui-icon-triangle-1-s",up:"ui-icon-triangle-1-n"},incremental:!0,max:null,min:null,numberFormat:null,page:10,step:1,change:null,spin:null,start:null,stop:null},_create:function(){this._setOption("max",this.options.max),this._setOption("min",this.options.min),this._setOption("step",this.options.step),""!==this.value()&&this._value(this.element.val(),!0),this._draw(),this._on(this._events),this._refresh(),this._on(this.window,{beforeunload:function(){this.element.removeAttr("autocomplete")}})},_getCreateOptions:function(){var t=this._super(),n=this.element;return e.each(["min","max","step"],(function(e,r){var o=n.attr(r);null!=o&&o.length&&(t[r]=o)})),t},_events:{keydown:function(e){this._start(e)&&this._keydown(e)&&e.preventDefault()},keyup:"_stop",focus:function(){this.previous=this.element.val()},blur:function(e){this.cancelBlur?delete this.cancelBlur:(this._stop(),this._refresh(),this.previous!==this.element.val()&&this._trigger("change",e))},mousewheel:function(t,n){var r=e.ui.safeActiveElement(this.document[0]);if(this.element[0]===r&&n){if(!this.spinning&&!this._start(t))return!1;this._spin((n>0?1:-1)*this.options.step,t),clearTimeout(this.mousewheelTimer),this.mousewheelTimer=this._delay((function(){this.spinning&&this._stop(t)}),100),t.preventDefault()}},"mousedown .ui-spinner-button":function(t){var n;function r(){this.element[0]===e.ui.safeActiveElement(this.document[0])||(this.element.trigger("focus"),this.previous=n,this._delay((function(){this.previous=n})))}n=this.element[0]===e.ui.safeActiveElement(this.document[0])?this.previous:this.element.val(),t.preventDefault(),r.call(this),this.cancelBlur=!0,this._delay((function(){delete this.cancelBlur,r.call(this)})),!1!==this._start(t)&&this._repeat(null,e(t.currentTarget).hasClass("ui-spinner-up")?1:-1,t)},"mouseup .ui-spinner-button":"_stop","mouseenter .ui-spinner-button":function(t){if(e(t.currentTarget).hasClass("ui-state-active"))return!1!==this._start(t)&&void this._repeat(null,e(t.currentTarget).hasClass("ui-spinner-up")?1:-1,t)},"mouseleave .ui-spinner-button":"_stop"},_enhance:function(){this.uiSpinner=this.element.attr("autocomplete","off").wrap("<span>").parent().append("<a></a><a></a>")},_draw:function(){this._enhance(),this._addClass(this.uiSpinner,"ui-spinner","ui-widget ui-widget-content"),this._addClass("ui-spinner-input"),this.element.attr("role","spinbutton"),this.buttons=this.uiSpinner.children("a").attr("tabIndex",-1).attr("aria-hidden",!0).button({classes:{"ui-button":""}}),this._removeClass(this.buttons,"ui-corner-all"),this._addClass(this.buttons.first(),"ui-spinner-button ui-spinner-up"),this._addClass(this.buttons.last(),"ui-spinner-button ui-spinner-down"),this.buttons.first().button({icon:this.options.icons.up,showLabel:!1}),this.buttons.last().button({icon:this.options.icons.down,showLabel:!1}),this.buttons.height()>Math.ceil(.5*this.uiSpinner.height())&&this.uiSpinner.height()>0&&this.uiSpinner.height(this.uiSpinner.height())},_keydown:function(t){var n=this.options,r=e.ui.keyCode;switch(t.keyCode){case r.UP:return this._repeat(null,1,t),!0;case r.DOWN:return this._repeat(null,-1,t),!0;case r.PAGE_UP:return this._repeat(null,n.page,t),!0;case r.PAGE_DOWN:return this._repeat(null,-n.page,t),!0}return!1},_start:function(e){return!(!this.spinning&&!1===this._trigger("start",e))&&(this.counter||(this.counter=1),this.spinning=!0,!0)},_repeat:function(e,t,n){e=e||500,clearTimeout(this.timer),this.timer=this._delay((function(){this._repeat(40,t,n)}),e),this._spin(t*this.options.step,n)},_spin:function(e,t){var n=this.value()||0;this.counter||(this.counter=1),n=this._adjustValue(n+e*this._increment(this.counter)),this.spinning&&!1===this._trigger("spin",t,{value:n})||(this._value(n),this.counter++)},_increment:function(e){var t=this.options.incremental;return t?"function"==typeof t?t(e):Math.floor(e*e*e/5e4-e*e/500+17*e/200+1):1},_precision:function(){var e=this._precisionOf(this.options.step);return null!==this.options.min&&(e=Math.max(e,this._precisionOf(this.options.min))),e},_precisionOf:function(e){var t=e.toString(),n=t.indexOf(".");return-1===n?0:t.length-n-1},_adjustValue:function(e){var t,n,r=this.options;return n=e-(t=null!==r.min?r.min:0),e=t+(n=Math.round(n/r.step)*r.step),e=parseFloat(e.toFixed(this._precision())),null!==r.max&&e>r.max?r.max:null!==r.min&&e<r.min?r.min:e},_stop:function(e){this.spinning&&(clearTimeout(this.timer),clearTimeout(this.mousewheelTimer),this.counter=0,this.spinning=!1,this._trigger("stop",e))},_setOption:function(e,t){var n,r,o;if("culture"===e||"numberFormat"===e)return n=this._parse(this.element.val()),this.options[e]=t,void this.element.val(this._format(n));"max"!==e&&"min"!==e&&"step"!==e||"string"==typeof t&&(t=this._parse(t)),"icons"===e&&(r=this.buttons.first().find(".ui-icon"),this._removeClass(r,null,this.options.icons.up),this._addClass(r,null,t.up),o=this.buttons.last().find(".ui-icon"),this._removeClass(o,null,this.options.icons.down),this._addClass(o,null,t.down)),this._super(e,t)},_setOptionDisabled:function(e){this._super(e),this._toggleClass(this.uiSpinner,null,"ui-state-disabled",!!e),this.element.prop("disabled",!!e),this.buttons.button(e?"disable":"enable")},_setOptions:z((function(e){this._super(e)})),_parse:function(e){return"string"==typeof e&&""!==e&&(e=window.Globalize&&this.options.numberFormat?Globalize.parseFloat(e,10,this.options.culture):+e),""===e||isNaN(e)?null:e},_format:function(e){return""===e?"":window.Globalize&&this.options.numberFormat?Globalize.format(e,this.options.numberFormat,this.options.culture):e},_refresh:function(){this.element.attr({"aria-valuemin":this.options.min,"aria-valuemax":this.options.max,"aria-valuenow":this._parse(this.element.val())})},isValid:function(){var e=this.value();return null!==e&&e===this._adjustValue(e)},_value:function(e,t){var n;""!==e&&null!==(n=this._parse(e))&&(t||(n=this._adjustValue(n)),e=this._format(n)),this.element.val(e),this._refresh()},_destroy:function(){this.element.prop("disabled",!1).removeAttr("autocomplete role aria-valuemin aria-valuemax aria-valuenow"),this.uiSpinner.replaceWith(this.element)},stepUp:z((function(e){this._stepUp(e)})),_stepUp:function(e){this._start()&&(this._spin((e||1)*this.options.step),this._stop())},stepDown:z((function(e){this._stepDown(e)})),_stepDown:function(e){this._start()&&(this._spin((e||1)*-this.options.step),this._stop())},pageUp:z((function(e){this._stepUp((e||1)*this.options.page)})),pageDown:z((function(e){this._stepDown((e||1)*this.options.page)})),value:function(e){if(!arguments.length)return this._parse(this.element.val());z(this._value).call(this,e)},widget:function(){return this.uiSpinner}}),!1!==e.uiBackCompat&&e.widget("ui.spinner",e.ui.spinner,{_enhance:function(){this.uiSpinner=this.element.attr("autocomplete","off").wrap(this._uiSpinnerHtml()).parent().append(this._buttonHtml())},_uiSpinnerHtml:function(){return"<span>"},_buttonHtml:function(){return"<a></a><a></a>"}});e.ui.spinner;e.widget("ui.tabs",{version:"1.13.3",delay:300,options:{active:null,classes:{"ui-tabs":"ui-corner-all","ui-tabs-nav":"ui-corner-all","ui-tabs-panel":"ui-corner-bottom","ui-tabs-tab":"ui-corner-top"},collapsible:!1,event:"click",heightStyle:"content",hide:null,show:null,activate:null,beforeActivate:null,beforeLoad:null,load:null},_isLocal:function(){var e=/#.*$/;return function(t){var n,r;n=t.href.replace(e,""),r=location.href.replace(e,"");try{n=decodeURIComponent(n)}catch(e){}try{r=decodeURIComponent(r)}catch(e){}return t.hash.length>1&&n===r}}(),_create:function(){var t=this,n=this.options;this.running=!1,this._addClass("ui-tabs","ui-widget ui-widget-content"),this._toggleClass("ui-tabs-collapsible",null,n.collapsible),this._processTabs(),n.active=this._initialActive(),Array.isArray(n.disabled)&&(n.disabled=e.uniqueSort(n.disabled.concat(e.map(this.tabs.filter(".ui-state-disabled"),(function(e){return t.tabs.index(e)})))).sort()),!1!==this.options.active&&this.anchors.length?this.active=this._findActive(n.active):this.active=e(),this._refresh(),this.active.length&&this.load(n.active)},_initialActive:function(){var t=this.options.active,n=this.options.collapsible,r=location.hash.substring(1);return null===t&&(r&&this.tabs.each((function(n,o){if(e(o).attr("aria-controls")===r)return t=n,!1})),null===t&&(t=this.tabs.index(this.tabs.filter(".ui-tabs-active"))),null!==t&&-1!==t||(t=!!this.tabs.length&&0)),!1!==t&&-1===(t=this.tabs.index(this.tabs.eq(t)))&&(t=!n&&0),!n&&!1===t&&this.anchors.length&&(t=0),t},_getCreateEventData:function(){return{tab:this.active,panel:this.active.length?this._getPanelForTab(this.active):e()}},_tabKeydown:function(t){var n=e(e.ui.safeActiveElement(this.document[0])).closest("li"),r=this.tabs.index(n),o=!0;if(!this._handlePageNav(t)){switch(t.keyCode){case e.ui.keyCode.RIGHT:case e.ui.keyCode.DOWN:r++;break;case e.ui.keyCode.UP:case e.ui.keyCode.LEFT:o=!1,r--;break;case e.ui.keyCode.END:r=this.anchors.length-1;break;case e.ui.keyCode.HOME:r=0;break;case e.ui.keyCode.SPACE:return t.preventDefault(),clearTimeout(this.activating),void this._activate(r);case e.ui.keyCode.ENTER:return t.preventDefault(),clearTimeout(this.activating),void this._activate(r!==this.options.active&&r);default:return}t.preventDefault(),clearTimeout(this.activating),r=this._focusNextTab(r,o),t.ctrlKey||t.metaKey||(n.attr("aria-selected","false"),this.tabs.eq(r).attr("aria-selected","true"),this.activating=this._delay((function(){this.option("active",r)}),this.delay))}},_panelKeydown:function(t){this._handlePageNav(t)||t.ctrlKey&&t.keyCode===e.ui.keyCode.UP&&(t.preventDefault(),this.active.trigger("focus"))},_handlePageNav:function(t){return t.altKey&&t.keyCode===e.ui.keyCode.PAGE_UP?(this._activate(this._focusNextTab(this.options.active-1,!1)),!0):t.altKey&&t.keyCode===e.ui.keyCode.PAGE_DOWN?(this._activate(this._focusNextTab(this.options.active+1,!0)),!0):void 0},_findNextTab:function(t,n){var r=this.tabs.length-1;function o(){return t>r&&(t=0),t<0&&(t=r),t}for(;-1!==e.inArray(o(),this.options.disabled);)t=n?t+1:t-1;return t},_focusNextTab:function(e,t){return e=this._findNextTab(e,t),this.tabs.eq(e).trigger("focus"),e},_setOption:function(e,t){"active"!==e?(this._super(e,t),"collapsible"===e&&(this._toggleClass("ui-tabs-collapsible",null,t),t||!1!==this.options.active||this._activate(0)),"event"===e&&this._setupEvents(t),"heightStyle"===e&&this._setupHeightStyle(t)):this._activate(t)},_sanitizeSelector:function(e){return e?e.replace(/[!"$%&'()*+,.\/:;<=>?@\[\]\^`{|}~]/g,"\\$&"):""},refresh:function(){var t=this.options,n=this.tablist.children(":has(a[href])");t.disabled=e.map(n.filter(".ui-state-disabled"),(function(e){return n.index(e)})),this._processTabs(),!1!==t.active&&this.anchors.length?this.active.length&&!e.contains(this.tablist[0],this.active[0])?this.tabs.length===t.disabled.length?(t.active=!1,this.active=e()):this._activate(this._findNextTab(Math.max(0,t.active-1),!1)):t.active=this.tabs.index(this.active):(t.active=!1,this.active=e()),this._refresh()},_refresh:function(){this._setOptionDisabled(this.options.disabled),this._setupEvents(this.options.event),this._setupHeightStyle(this.options.heightStyle),this.tabs.not(this.active).attr({"aria-selected":"false","aria-expanded":"false",tabIndex:-1}),this.panels.not(this._getPanelForTab(this.active)).hide().attr({"aria-hidden":"true"}),this.active.length?(this.active.attr({"aria-selected":"true","aria-expanded":"true",tabIndex:0}),this._addClass(this.active,"ui-tabs-active","ui-state-active"),this._getPanelForTab(this.active).show().attr({"aria-hidden":"false"})):this.tabs.eq(0).attr("tabIndex",0)},_processTabs:function(){var t=this,n=this.tabs,r=this.anchors,o=this.panels;this.tablist=this._getList().attr("role","tablist"),this._addClass(this.tablist,"ui-tabs-nav","ui-helper-reset ui-helper-clearfix ui-widget-header"),this.tablist.on("mousedown"+this.eventNamespace,"> li",(function(t){e(this).is(".ui-state-disabled")&&t.preventDefault()})).on("focus"+this.eventNamespace,".ui-tabs-anchor",(function(){e(this).closest("li").is(".ui-state-disabled")&&this.blur()})),this.tabs=this.tablist.find("> li:has(a[href])").attr({role:"tab",tabIndex:-1}),this._addClass(this.tabs,"ui-tabs-tab","ui-state-default"),this.anchors=this.tabs.map((function(){return e("a",this)[0]})).attr({tabIndex:-1}),this._addClass(this.anchors,"ui-tabs-anchor"),this.panels=e(),this.anchors.each((function(n,r){var o,i,a,s=e(r).uniqueId().attr("id"),l=e(r).closest("li"),c=l.attr("aria-controls");t._isLocal(r)?(a=(o=r.hash).substring(1),i=t.element.find(t._sanitizeSelector(o))):(o="#"+(a=l.attr("aria-controls")||e({}).uniqueId()[0].id),(i=t.element.find(o)).length||(i=t._createPanel(a)).insertAfter(t.panels[n-1]||t.tablist),i.attr("aria-live","polite")),i.length&&(t.panels=t.panels.add(i)),c&&l.data("ui-tabs-aria-controls",c),l.attr({"aria-controls":a,"aria-labelledby":s}),i.attr("aria-labelledby",s)})),this.panels.attr("role","tabpanel"),this._addClass(this.panels,"ui-tabs-panel","ui-widget-content"),n&&(this._off(n.not(this.tabs)),this._off(r.not(this.anchors)),this._off(o.not(this.panels)))},_getList:function(){return this.tablist||this.element.find("ol, ul").eq(0)},_createPanel:function(t){return e("<div>").attr("id",t).data("ui-tabs-destroy",!0)},_setOptionDisabled:function(t){var n,r,o;for(Array.isArray(t)&&(t.length?t.length===this.anchors.length&&(t=!0):t=!1),o=0;r=this.tabs[o];o++)n=e(r),!0===t||-1!==e.inArray(o,t)?(n.attr("aria-disabled","true"),this._addClass(n,null,"ui-state-disabled")):(n.removeAttr("aria-disabled"),this._removeClass(n,null,"ui-state-disabled"));this.options.disabled=t,this._toggleClass(this.widget(),this.widgetFullName+"-disabled",null,!0===t)},_setupEvents:function(t){var n={};t&&e.each(t.split(" "),(function(e,t){n[t]="_eventHandler"})),this._off(this.anchors.add(this.tabs).add(this.panels)),this._on(!0,this.anchors,{click:function(e){e.preventDefault()}}),this._on(this.anchors,n),this._on(this.tabs,{keydown:"_tabKeydown"}),this._on(this.panels,{keydown:"_panelKeydown"}),this._focusable(this.tabs),this._hoverable(this.tabs)},_setupHeightStyle:function(t){var n,r=this.element.parent();"fill"===t?(n=r.height(),n-=this.element.outerHeight()-this.element.height(),this.element.siblings(":visible").each((function(){var t=e(this),r=t.css("position");"absolute"!==r&&"fixed"!==r&&(n-=t.outerHeight(!0))})),this.element.children().not(this.panels).each((function(){n-=e(this).outerHeight(!0)})),this.panels.each((function(){e(this).height(Math.max(0,n-e(this).innerHeight()+e(this).height()))})).css("overflow","auto")):"auto"===t&&(n=0,this.panels.each((function(){n=Math.max(n,e(this).height("").height())})).height(n))},_eventHandler:function(t){var n=this.options,r=this.active,o=e(t.currentTarget).closest("li"),i=o[0]===r[0],a=i&&n.collapsible,s=a?e():this._getPanelForTab(o),l=r.length?this._getPanelForTab(r):e(),c={oldTab:r,oldPanel:l,newTab:a?e():o,newPanel:s};t.preventDefault(),o.hasClass("ui-state-disabled")||o.hasClass("ui-tabs-loading")||this.running||i&&!n.collapsible||!1===this._trigger("beforeActivate",t,c)||(n.active=!a&&this.tabs.index(o),this.active=i?e():o,this.xhr&&this.xhr.abort(),l.length||s.length||e.error("jQuery UI Tabs: Mismatching fragment identifier."),s.length&&this.load(this.tabs.index(o),t),this._toggle(t,c))},_toggle:function(t,n){var r=this,o=n.newPanel,i=n.oldPanel;function a(){r.running=!1,r._trigger("activate",t,n)}function s(){r._addClass(n.newTab.closest("li"),"ui-tabs-active","ui-state-active"),o.length&&r.options.show?r._show(o,r.options.show,a):(o.show(),a())}this.running=!0,i.length&&this.options.hide?this._hide(i,this.options.hide,(function(){r._removeClass(n.oldTab.closest("li"),"ui-tabs-active","ui-state-active"),s()})):(this._removeClass(n.oldTab.closest("li"),"ui-tabs-active","ui-state-active"),i.hide(),s()),i.attr("aria-hidden","true"),n.oldTab.attr({"aria-selected":"false","aria-expanded":"false"}),o.length&&i.length?n.oldTab.attr("tabIndex",-1):o.length&&this.tabs.filter((function(){return 0===e(this).attr("tabIndex")})).attr("tabIndex",-1),o.attr("aria-hidden","false"),n.newTab.attr({"aria-selected":"true","aria-expanded":"true",tabIndex:0})},_activate:function(t){var n,r=this._findActive(t);r[0]!==this.active[0]&&(r.length||(r=this.active),n=r.find(".ui-tabs-anchor")[0],this._eventHandler({target:n,currentTarget:n,preventDefault:e.noop}))},_findActive:function(t){return!1===t?e():this.tabs.eq(t)},_getIndex:function(t){return"string"==typeof t&&(t=this.anchors.index(this.anchors.filter("[href$='"+e.escapeSelector(t)+"']"))),t},_destroy:function(){this.xhr&&this.xhr.abort(),this.tablist.removeAttr("role").off(this.eventNamespace),this.anchors.removeAttr("role tabIndex").removeUniqueId(),this.tabs.add(this.panels).each((function(){e.data(this,"ui-tabs-destroy")?e(this).remove():e(this).removeAttr("role tabIndex aria-live aria-busy aria-selected aria-labelledby aria-hidden aria-expanded")})),this.tabs.each((function(){var t=e(this),n=t.data("ui-tabs-aria-controls");n?t.attr("aria-controls",n).removeData("ui-tabs-aria-controls"):t.removeAttr("aria-controls")})),this.panels.show(),"content"!==this.options.heightStyle&&this.panels.css("height","")},enable:function(t){var n=this.options.disabled;!1!==n&&(void 0===t?n=!1:(t=this._getIndex(t),n=Array.isArray(n)?e.map(n,(function(e){return e!==t?e:null})):e.map(this.tabs,(function(e,n){return n!==t?n:null}))),this._setOptionDisabled(n))},disable:function(t){var n=this.options.disabled;if(!0!==n){if(void 0===t)n=!0;else{if(t=this._getIndex(t),-1!==e.inArray(t,n))return;n=Array.isArray(n)?e.merge([t],n).sort():[t]}this._setOptionDisabled(n)}},load:function(t,n){t=this._getIndex(t);var r=this,o=this.tabs.eq(t),i=o.find(".ui-tabs-anchor"),a=this._getPanelForTab(o),s={tab:o,panel:a},l=function(e,t){"abort"===t&&r.panels.stop(!1,!0),r._removeClass(o,"ui-tabs-loading"),a.removeAttr("aria-busy"),e===r.xhr&&delete r.xhr};this._isLocal(i[0])||(this.xhr=e.ajax(this._ajaxSettings(i,n,s)),this.xhr&&"canceled"!==this.xhr.statusText&&(this._addClass(o,"ui-tabs-loading"),a.attr("aria-busy","true"),this.xhr.done((function(e,t,o){setTimeout((function(){a.html(e),r._trigger("load",n,s),l(o,t)}),1)})).fail((function(e,t){setTimeout((function(){l(e,t)}),1)}))))},_ajaxSettings:function(t,n,r){var o=this;return{url:t.attr("href").replace(/#.*$/,""),beforeSend:function(t,i){return o._trigger("beforeLoad",n,e.extend({jqXHR:t,ajaxSettings:i},r))}}},_getPanelForTab:function(t){var n=e(t).attr("aria-controls");return this.element.find(this._sanitizeSelector("#"+n))}}),!1!==e.uiBackCompat&&e.widget("ui.tabs",e.ui.tabs,{_processTabs:function(){this._superApply(arguments),this._addClass(this.tabs,"ui-tab")}});e.ui.tabs;e.widget("ui.tooltip",{version:"1.13.3",options:{classes:{"ui-tooltip":"ui-corner-all ui-widget-shadow"},content:function(){var t=e(this).attr("title");return e("<a>").text(t).html()},hide:!0,items:"[title]:not([disabled])",position:{my:"left top+15",at:"left bottom",collision:"flipfit flip"},show:!0,track:!1,close:null,open:null},_addDescribedBy:function(e,t){var n=(e.attr("aria-describedby")||"").split(/\s+/);n.push(t),e.data("ui-tooltip-id",t).attr("aria-describedby",String.prototype.trim.call(n.join(" ")))},_removeDescribedBy:function(t){var n=t.data("ui-tooltip-id"),r=(t.attr("aria-describedby")||"").split(/\s+/),o=e.inArray(n,r);-1!==o&&r.splice(o,1),t.removeData("ui-tooltip-id"),(r=String.prototype.trim.call(r.join(" ")))?t.attr("aria-describedby",r):t.removeAttr("aria-describedby")},_create:function(){this._on({mouseover:"open",focusin:"open"}),this.tooltips={},this.parents={},this.liveRegion=e("<div>").attr({role:"log","aria-live":"assertive","aria-relevant":"additions"}).appendTo(this.document[0].body),this._addClass(this.liveRegion,null,"ui-helper-hidden-accessible"),this.disabledTitles=e([])},_setOption:function(t,n){var r=this;this._super(t,n),"content"===t&&e.each(this.tooltips,(function(e,t){r._updateContent(t.element)}))},_setOptionDisabled:function(e){this[e?"_disable":"_enable"]()},_disable:function(){var t=this;e.each(this.tooltips,(function(n,r){var o=e.Event("blur");o.target=o.currentTarget=r.element[0],t.close(o,!0)})),this.disabledTitles=this.disabledTitles.add(this.element.find(this.options.items).addBack().filter((function(){var t=e(this);if(t.is("[title]"))return t.data("ui-tooltip-title",t.attr("title")).removeAttr("title")})))},_enable:function(){this.disabledTitles.each((function(){var t=e(this);t.data("ui-tooltip-title")&&t.attr("title",t.data("ui-tooltip-title"))})),this.disabledTitles=e([])},open:function(t){var n=this,r=e(t?t.target:this.element).closest(this.options.items);r.length&&!r.data("ui-tooltip-id")&&(r.attr("title")&&r.data("ui-tooltip-title",r.attr("title")),r.data("ui-tooltip-open",!0),t&&"mouseover"===t.type&&r.parents().each((function(){var t,r=e(this);r.data("ui-tooltip-open")&&((t=e.Event("blur")).target=t.currentTarget=this,n.close(t,!0)),r.attr("title")&&(r.uniqueId(),n.parents[this.id]={element:this,title:r.attr("title")},r.attr("title",""))})),this._registerCloseHandlers(t,r),this._updateContent(r,t))},_updateContent:function(e,t){var n,r=this.options.content,o=this,i=t?t.type:null;if("string"==typeof r||r.nodeType||r.jquery)return this._open(t,e,r);(n=r.call(e[0],(function(n){o._delay((function(){e.data("ui-tooltip-open")&&(t&&(t.type=i),this._open(t,e,n))}))})))&&this._open(t,e,n)},_open:function(t,n,r){var o,i,a,s,l=e.extend({},this.options.position);function c(e){l.of=e,i.is(":hidden")||i.position(l)}r&&((o=this._find(n))?o.tooltip.find(".ui-tooltip-content").html(r):(n.is("[title]")&&(t&&"mouseover"===t.type?n.attr("title",""):n.removeAttr("title")),o=this._tooltip(n),i=o.tooltip,this._addDescribedBy(n,i.attr("id")),i.find(".ui-tooltip-content").html(r),this.liveRegion.children().hide(),(s=e("<div>").html(i.find(".ui-tooltip-content").html())).removeAttr("name").find("[name]").removeAttr("name"),s.removeAttr("id").find("[id]").removeAttr("id"),s.appendTo(this.liveRegion),this.options.track&&t&&/^mouse/.test(t.type)?(this._on(this.document,{mousemove:c}),c(t)):i.position(e.extend({of:n},this.options.position)),i.hide(),this._show(i,this.options.show),this.options.track&&this.options.show&&this.options.show.delay&&(a=this.delayedShow=setInterval((function(){i.is(":visible")&&(c(l.of),clearInterval(a))}),13)),this._trigger("open",t,{tooltip:i})))},_registerCloseHandlers:function(t,n){var r={keyup:function(t){if(t.keyCode===e.ui.keyCode.ESCAPE){var r=e.Event(t);r.currentTarget=n[0],this.close(r,!0)}}};n[0]!==this.element[0]&&(r.remove=function(){var e=this._find(n);e&&this._removeTooltip(e.tooltip)}),t&&"mouseover"!==t.type||(r.mouseleave="close"),t&&"focusin"!==t.type||(r.focusout="close"),this._on(!0,n,r)},close:function(t){var n,r=this,o=e(t?t.currentTarget:this.element),i=this._find(o);i?(n=i.tooltip,i.closing||(clearInterval(this.delayedShow),o.data("ui-tooltip-title")&&!o.attr("title")&&o.attr("title",o.data("ui-tooltip-title")),this._removeDescribedBy(o),i.hiding=!0,n.stop(!0),this._hide(n,this.options.hide,(function(){r._removeTooltip(e(this))})),o.removeData("ui-tooltip-open"),this._off(o,"mouseleave focusout keyup"),o[0]!==this.element[0]&&this._off(o,"remove"),this._off(this.document,"mousemove"),t&&"mouseleave"===t.type&&e.each(this.parents,(function(t,n){e(n.element).attr("title",n.title),delete r.parents[t]})),i.closing=!0,this._trigger("close",t,{tooltip:n}),i.hiding||(i.closing=!1))):o.removeData("ui-tooltip-open")},_tooltip:function(t){var n=e("<div>").attr("role","tooltip"),r=e("<div>").appendTo(n),o=n.uniqueId().attr("id");return this._addClass(r,"ui-tooltip-content"),this._addClass(n,"ui-tooltip","ui-widget ui-widget-content"),n.appendTo(this._appendTo(t)),this.tooltips[o]={element:t,tooltip:n}},_find:function(e){var t=e.data("ui-tooltip-id");return t?this.tooltips[t]:null},_removeTooltip:function(e){clearInterval(this.delayedShow),e.remove(),delete this.tooltips[e.attr("id")]},_appendTo:function(e){var t=e.closest(".ui-front, dialog");return t.length||(t=this.document[0].body),t},_destroy:function(){var t=this;e.each(this.tooltips,(function(n,r){var o=e.Event("blur"),i=r.element;o.target=o.currentTarget=i[0],t.close(o,!0),e("#"+n).remove(),i.data("ui-tooltip-title")&&(i.attr("title")||i.attr("title",i.data("ui-tooltip-title")),i.removeData("ui-tooltip-title"))})),this.liveRegion.remove()}}),!1!==e.uiBackCompat&&e.widget("ui.tooltip",e.ui.tooltip,{options:{tooltipClass:null},_tooltip:function(){var e=this._superApply(arguments);return this.options.tooltipClass&&e.tooltip.addClass(this.options.tooltipClass),e}});e.ui.tooltip},void 0===(i="function"==typeof r?r.apply(t,o):r)||(e.exports=i)}()},28497:function(){!function(e){if(e.support.touch="ontouchend"in document,e.support.touch){var t,n=e.ui.mouse.prototype,r=n._mouseInit,o=n._mouseDestroy;n._touchStart=function(e){!t&&this._mouseCapture(e.originalEvent.changedTouches[0])&&(t=!0,this._touchMoved=!1,i(e,"mouseover"),i(e,"mousemove"),i(e,"mousedown"))},n._touchMove=function(e){t&&(this._touchMoved=!0,i(e,"mousemove"))},n._touchEnd=function(e){t&&(i(e,"mouseup"),i(e,"mouseout"),this._touchMoved||i(e,"click"),t=!1)},n._mouseInit=function(){var t=this;t.element.bind({touchstart:e.proxy(t,"_touchStart"),touchmove:e.proxy(t,"_touchMove"),touchend:e.proxy(t,"_touchEnd")}),r.call(t)},n._mouseDestroy=function(){var t=this;t.element.unbind({touchstart:e.proxy(t,"_touchStart"),touchmove:e.proxy(t,"_touchMove"),touchend:e.proxy(t,"_touchEnd")}),o.call(t)}}function i(e,t){if(!(e.originalEvent.touches.length>1)){e.preventDefault();var n=e.originalEvent.changedTouches[0],r=document.createEvent("MouseEvents");r.initMouseEvent(t,!0,!0,window,1,n.screenX,n.screenY,n.clientX,n.clientY,!1,!1,!1,!1,0,null),e.target.dispatchEvent(r)}}}(jQuery)},74692:function(e,t){var n;!function(t,n){"use strict";"object"==typeof e.exports?e.exports=t.document?n(t,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return n(e)}:n(t)}("undefined"!=typeof window?window:this,(function(r,o){"use strict";var i=[],a=Object.getPrototypeOf,s=i.slice,l=i.flat?function(e){return i.flat.call(e)}:function(e){return i.concat.apply([],e)},c=i.push,u=i.indexOf,d={},p=d.toString,f=d.hasOwnProperty,h=f.toString,m=h.call(Object),g={},v=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType&&"function"!=typeof e.item},y=function(e){return null!=e&&e===e.window},b=r.document,x={type:!0,src:!0,nonce:!0,noModule:!0};function w(e,t,n){var r,o,i=(n=n||b).createElement("script");if(i.text=e,t)for(r in x)(o=t[r]||t.getAttribute&&t.getAttribute(r))&&i.setAttribute(r,o);n.head.appendChild(i).parentNode.removeChild(i)}function A(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?d[p.call(e)]||"object":typeof e}var _="3.7.1",S=/HTML$/i,k=function(e,t){return new k.fn.init(e,t)};function C(e){var t=!!e&&"length"in e&&e.length,n=A(e);return!v(e)&&!y(e)&&("array"===n||0===t||"number"==typeof t&&t>0&&t-1 in e)}function T(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}k.fn=k.prototype={jquery:_,constructor:k,length:0,toArray:function(){return s.call(this)},get:function(e){return null==e?s.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=k.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return k.each(this,e)},map:function(e){return this.pushStack(k.map(this,(function(t,n){return e.call(t,n,t)})))},slice:function(){return this.pushStack(s.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(k.grep(this,(function(e,t){return(t+1)%2})))},odd:function(){return this.pushStack(k.grep(this,(function(e,t){return t%2})))},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(n>=0&&n<t?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:c,sort:i.sort,splice:i.splice},k.extend=k.fn.extend=function(){var e,t,n,r,o,i,a=arguments[0]||{},s=1,l=arguments.length,c=!1;for("boolean"==typeof a&&(c=a,a=arguments[s]||{},s++),"object"==typeof a||v(a)||(a={}),s===l&&(a=this,s--);s<l;s++)if(null!=(e=arguments[s]))for(t in e)r=e[t],"__proto__"!==t&&a!==r&&(c&&r&&(k.isPlainObject(r)||(o=Array.isArray(r)))?(n=a[t],i=o&&!Array.isArray(n)?[]:o||k.isPlainObject(n)?n:{},o=!1,a[t]=k.extend(c,i,r)):void 0!==r&&(a[t]=r));return a},k.extend({expando:"jQuery"+(_+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isPlainObject:function(e){var t,n;return!(!e||"[object Object]"!==p.call(e))&&(!(t=a(e))||"function"==typeof(n=f.call(t,"constructor")&&t.constructor)&&h.call(n)===m)},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},globalEval:function(e,t,n){w(e,{nonce:t&&t.nonce},n)},each:function(e,t){var n,r=0;if(C(e))for(n=e.length;r<n&&!1!==t.call(e[r],r,e[r]);r++);else for(r in e)if(!1===t.call(e[r],r,e[r]))break;return e},text:function(e){var t,n="",r=0,o=e.nodeType;if(!o)for(;t=e[r++];)n+=k.text(t);return 1===o||11===o?e.textContent:9===o?e.documentElement.textContent:3===o||4===o?e.nodeValue:n},makeArray:function(e,t){var n=t||[];return null!=e&&(C(Object(e))?k.merge(n,"string"==typeof e?[e]:e):c.call(n,e)),n},inArray:function(e,t,n){return null==t?-1:u.call(t,e,n)},isXMLDoc:function(e){var t=e&&e.namespaceURI,n=e&&(e.ownerDocument||e).documentElement;return!S.test(t||n&&n.nodeName||"HTML")},merge:function(e,t){for(var n=+t.length,r=0,o=e.length;r<n;r++)e[o++]=t[r];return e.length=o,e},grep:function(e,t,n){for(var r=[],o=0,i=e.length,a=!n;o<i;o++)!t(e[o],o)!==a&&r.push(e[o]);return r},map:function(e,t,n){var r,o,i=0,a=[];if(C(e))for(r=e.length;i<r;i++)null!=(o=t(e[i],i,n))&&a.push(o);else for(i in e)null!=(o=t(e[i],i,n))&&a.push(o);return l(a)},guid:1,support:g}),"function"==typeof Symbol&&(k.fn[Symbol.iterator]=i[Symbol.iterator]),k.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),(function(e,t){d["[object "+t+"]"]=t.toLowerCase()}));var M=i.pop,P=i.sort,O=i.splice,E="[\\x20\\t\\r\\n\\f]",D=new RegExp("^"+E+"+|((?:^|[^\\\\])(?:\\\\.)*)"+E+"+$","g");k.contains=function(e,t){var n=t&&t.parentNode;return e===n||!(!n||1!==n.nodeType||!(e.contains?e.contains(n):e.compareDocumentPosition&&16&e.compareDocumentPosition(n)))};var R=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g;function I(e,t){return t?"\0"===e?"�":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e}k.escapeSelector=function(e){return(e+"").replace(R,I)};var N=b,L=c;!function(){var e,t,n,o,a,l,c,d,p,h,m=L,v=k.expando,y=0,b=0,x=ee(),w=ee(),A=ee(),_=ee(),S=function(e,t){return e===t&&(a=!0),0},C="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",R="(?:\\\\[\\da-fA-F]{1,6}"+E+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",I="\\["+E+"*("+R+")(?:"+E+"*([*^$|!~]?=)"+E+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+R+"))|)"+E+"*\\]",j=":("+R+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+I+")*)|.*)\\)|)",$=new RegExp(E+"+","g"),z=new RegExp("^"+E+"*,"+E+"*"),F=new RegExp("^"+E+"*([>+~]|"+E+")"+E+"*"),B=new RegExp(E+"|>"),H=new RegExp(j),V=new RegExp("^"+R+"$"),W={ID:new RegExp("^#("+R+")"),CLASS:new RegExp("^\\.("+R+")"),TAG:new RegExp("^("+R+"|[*])"),ATTR:new RegExp("^"+I),PSEUDO:new RegExp("^"+j),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+E+"*(even|odd|(([+-]|)(\\d*)n|)"+E+"*(?:([+-]|)"+E+"*(\\d+)|))"+E+"*\\)|)","i"),bool:new RegExp("^(?:"+C+")$","i"),needsContext:new RegExp("^"+E+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+E+"*((?:-\\d)?\\d*)"+E+"*\\)|)(?=[^-]|$)","i")},U=/^(?:input|select|textarea|button)$/i,q=/^h\d$/i,G=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,Y=/[+~]/,X=new RegExp("\\\\[\\da-fA-F]{1,6}"+E+"?|\\\\([^\\r\\n\\f])","g"),K=function(e,t){var n="0x"+e.slice(1)-65536;return t||(n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320))},Z=function(){le()},J=pe((function(e){return!0===e.disabled&&T(e,"fieldset")}),{dir:"parentNode",next:"legend"});try{m.apply(i=s.call(N.childNodes),N.childNodes),i[N.childNodes.length].nodeType}catch(e){m={apply:function(e,t){L.apply(e,s.call(t))},call:function(e){L.apply(e,s.call(arguments,1))}}}function Q(e,t,n,r){var o,i,a,s,c,u,f,h=t&&t.ownerDocument,y=t?t.nodeType:9;if(n=n||[],"string"!=typeof e||!e||1!==y&&9!==y&&11!==y)return n;if(!r&&(le(t),t=t||l,d)){if(11!==y&&(c=G.exec(e)))if(o=c[1]){if(9===y){if(!(a=t.getElementById(o)))return n;if(a.id===o)return m.call(n,a),n}else if(h&&(a=h.getElementById(o))&&Q.contains(t,a)&&a.id===o)return m.call(n,a),n}else{if(c[2])return m.apply(n,t.getElementsByTagName(e)),n;if((o=c[3])&&t.getElementsByClassName)return m.apply(n,t.getElementsByClassName(o)),n}if(!(_[e+" "]||p&&p.test(e))){if(f=e,h=t,1===y&&(B.test(e)||F.test(e))){for((h=Y.test(e)&&se(t.parentNode)||t)==t&&g.scope||((s=t.getAttribute("id"))?s=k.escapeSelector(s):t.setAttribute("id",s=v)),i=(u=ue(e)).length;i--;)u[i]=(s?"#"+s:":scope")+" "+de(u[i]);f=u.join(",")}try{return m.apply(n,h.querySelectorAll(f)),n}catch(t){_(e,!0)}finally{s===v&&t.removeAttribute("id")}}}return ye(e.replace(D,"$1"),t,n,r)}function ee(){var e=[];return function n(r,o){return e.push(r+" ")>t.cacheLength&&delete n[e.shift()],n[r+" "]=o}}function te(e){return e[v]=!0,e}function ne(e){var t=l.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function re(e){return function(t){return T(t,"input")&&t.type===e}}function oe(e){return function(t){return(T(t,"input")||T(t,"button"))&&t.type===e}}function ie(e){return function(t){return"form"in t?t.parentNode&&!1===t.disabled?"label"in t?"label"in t.parentNode?t.parentNode.disabled===e:t.disabled===e:t.isDisabled===e||t.isDisabled!==!e&&J(t)===e:t.disabled===e:"label"in t&&t.disabled===e}}function ae(e){return te((function(t){return t=+t,te((function(n,r){for(var o,i=e([],n.length,t),a=i.length;a--;)n[o=i[a]]&&(n[o]=!(r[o]=n[o]))}))}))}function se(e){return e&&void 0!==e.getElementsByTagName&&e}function le(e){var n,r=e?e.ownerDocument||e:N;return r!=l&&9===r.nodeType&&r.documentElement?(c=(l=r).documentElement,d=!k.isXMLDoc(l),h=c.matches||c.webkitMatchesSelector||c.msMatchesSelector,c.msMatchesSelector&&N!=l&&(n=l.defaultView)&&n.top!==n&&n.addEventListener("unload",Z),g.getById=ne((function(e){return c.appendChild(e).id=k.expando,!l.getElementsByName||!l.getElementsByName(k.expando).length})),g.disconnectedMatch=ne((function(e){return h.call(e,"*")})),g.scope=ne((function(){return l.querySelectorAll(":scope")})),g.cssHas=ne((function(){try{return l.querySelector(":has(*,:jqfake)"),!1}catch(e){return!0}})),g.getById?(t.filter.ID=function(e){var t=e.replace(X,K);return function(e){return e.getAttribute("id")===t}},t.find.ID=function(e,t){if(void 0!==t.getElementById&&d){var n=t.getElementById(e);return n?[n]:[]}}):(t.filter.ID=function(e){var t=e.replace(X,K);return function(e){var n=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return n&&n.value===t}},t.find.ID=function(e,t){if(void 0!==t.getElementById&&d){var n,r,o,i=t.getElementById(e);if(i){if((n=i.getAttributeNode("id"))&&n.value===e)return[i];for(o=t.getElementsByName(e),r=0;i=o[r++];)if((n=i.getAttributeNode("id"))&&n.value===e)return[i]}return[]}}),t.find.TAG=function(e,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(e):t.querySelectorAll(e)},t.find.CLASS=function(e,t){if(void 0!==t.getElementsByClassName&&d)return t.getElementsByClassName(e)},p=[],ne((function(e){var t;c.appendChild(e).innerHTML="<a id='"+v+"' href='' disabled='disabled'></a><select id='"+v+"-\r\\' disabled='disabled'><option selected=''></option></select>",e.querySelectorAll("[selected]").length||p.push("\\["+E+"*(?:value|"+C+")"),e.querySelectorAll("[id~="+v+"-]").length||p.push("~="),e.querySelectorAll("a#"+v+"+*").length||p.push(".#.+[+~]"),e.querySelectorAll(":checked").length||p.push(":checked"),(t=l.createElement("input")).setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),c.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&p.push(":enabled",":disabled"),(t=l.createElement("input")).setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||p.push("\\["+E+"*name"+E+"*="+E+"*(?:''|\"\")")})),g.cssHas||p.push(":has"),p=p.length&&new RegExp(p.join("|")),S=function(e,t){if(e===t)return a=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(1&(n=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!g.sortDetached&&t.compareDocumentPosition(e)===n?e===l||e.ownerDocument==N&&Q.contains(N,e)?-1:t===l||t.ownerDocument==N&&Q.contains(N,t)?1:o?u.call(o,e)-u.call(o,t):0:4&n?-1:1)},l):l}for(e in Q.matches=function(e,t){return Q(e,null,null,t)},Q.matchesSelector=function(e,t){if(le(e),d&&!_[t+" "]&&(!p||!p.test(t)))try{var n=h.call(e,t);if(n||g.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(e){_(t,!0)}return Q(t,l,null,[e]).length>0},Q.contains=function(e,t){return(e.ownerDocument||e)!=l&&le(e),k.contains(e,t)},Q.attr=function(e,n){(e.ownerDocument||e)!=l&&le(e);var r=t.attrHandle[n.toLowerCase()],o=r&&f.call(t.attrHandle,n.toLowerCase())?r(e,n,!d):void 0;return void 0!==o?o:e.getAttribute(n)},Q.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},k.uniqueSort=function(e){var t,n=[],r=0,i=0;if(a=!g.sortStable,o=!g.sortStable&&s.call(e,0),P.call(e,S),a){for(;t=e[i++];)t===e[i]&&(r=n.push(i));for(;r--;)O.call(e,n[r],1)}return o=null,e},k.fn.uniqueSort=function(){return this.pushStack(k.uniqueSort(s.apply(this)))},t=k.expr={cacheLength:50,createPseudo:te,match:W,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(X,K),e[3]=(e[3]||e[4]||e[5]||"").replace(X,K),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||Q.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&Q.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return W.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&H.test(n)&&(t=ue(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(X,K).toLowerCase();return"*"===e?function(){return!0}:function(e){return T(e,t)}},CLASS:function(e){var t=x[e+" "];return t||(t=new RegExp("(^|"+E+")"+e+"("+E+"|$)"))&&x(e,(function(e){return t.test("string"==typeof e.className&&e.className||void 0!==e.getAttribute&&e.getAttribute("class")||"")}))},ATTR:function(e,t,n){return function(r){var o=Q.attr(r,e);return null==o?"!="===t:!t||(o+="","="===t?o===n:"!="===t?o!==n:"^="===t?n&&0===o.indexOf(n):"*="===t?n&&o.indexOf(n)>-1:"$="===t?n&&o.slice(-n.length)===n:"~="===t?(" "+o.replace($," ")+" ").indexOf(n)>-1:"|="===t&&(o===n||o.slice(0,n.length+1)===n+"-"))}},CHILD:function(e,t,n,r,o){var i="nth"!==e.slice(0,3),a="last"!==e.slice(-4),s="of-type"===t;return 1===r&&0===o?function(e){return!!e.parentNode}:function(t,n,l){var c,u,d,p,f,h=i!==a?"nextSibling":"previousSibling",m=t.parentNode,g=s&&t.nodeName.toLowerCase(),b=!l&&!s,x=!1;if(m){if(i){for(;h;){for(d=t;d=d[h];)if(s?T(d,g):1===d.nodeType)return!1;f=h="only"===e&&!f&&"nextSibling"}return!0}if(f=[a?m.firstChild:m.lastChild],a&&b){for(x=(p=(c=(u=m[v]||(m[v]={}))[e]||[])[0]===y&&c[1])&&c[2],d=p&&m.childNodes[p];d=++p&&d&&d[h]||(x=p=0)||f.pop();)if(1===d.nodeType&&++x&&d===t){u[e]=[y,p,x];break}}else if(b&&(x=p=(c=(u=t[v]||(t[v]={}))[e]||[])[0]===y&&c[1]),!1===x)for(;(d=++p&&d&&d[h]||(x=p=0)||f.pop())&&(!(s?T(d,g):1===d.nodeType)||!++x||(b&&((u=d[v]||(d[v]={}))[e]=[y,x]),d!==t)););return(x-=o)===r||x%r==0&&x/r>=0}}},PSEUDO:function(e,n){var r,o=t.pseudos[e]||t.setFilters[e.toLowerCase()]||Q.error("unsupported pseudo: "+e);return o[v]?o(n):o.length>1?(r=[e,e,"",n],t.setFilters.hasOwnProperty(e.toLowerCase())?te((function(e,t){for(var r,i=o(e,n),a=i.length;a--;)e[r=u.call(e,i[a])]=!(t[r]=i[a])})):function(e){return o(e,0,r)}):o}},pseudos:{not:te((function(e){var t=[],n=[],r=ve(e.replace(D,"$1"));return r[v]?te((function(e,t,n,o){for(var i,a=r(e,null,o,[]),s=e.length;s--;)(i=a[s])&&(e[s]=!(t[s]=i))})):function(e,o,i){return t[0]=e,r(t,null,i,n),t[0]=null,!n.pop()}})),has:te((function(e){return function(t){return Q(e,t).length>0}})),contains:te((function(e){return e=e.replace(X,K),function(t){return(t.textContent||k.text(t)).indexOf(e)>-1}})),lang:te((function(e){return V.test(e||"")||Q.error("unsupported lang: "+e),e=e.replace(X,K).toLowerCase(),function(t){var n;do{if(n=d?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return(n=n.toLowerCase())===e||0===n.indexOf(e+"-")}while((t=t.parentNode)&&1===t.nodeType);return!1}})),target:function(e){var t=r.location&&r.location.hash;return t&&t.slice(1)===e.id},root:function(e){return e===c},focus:function(e){return e===function(){try{return l.activeElement}catch(e){}}()&&l.hasFocus()&&!!(e.type||e.href||~e.tabIndex)},enabled:ie(!1),disabled:ie(!0),checked:function(e){return T(e,"input")&&!!e.checked||T(e,"option")&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!t.pseudos.empty(e)},header:function(e){return q.test(e.nodeName)},input:function(e){return U.test(e.nodeName)},button:function(e){return T(e,"input")&&"button"===e.type||T(e,"button")},text:function(e){var t;return T(e,"input")&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:ae((function(){return[0]})),last:ae((function(e,t){return[t-1]})),eq:ae((function(e,t,n){return[n<0?n+t:n]})),even:ae((function(e,t){for(var n=0;n<t;n+=2)e.push(n);return e})),odd:ae((function(e,t){for(var n=1;n<t;n+=2)e.push(n);return e})),lt:ae((function(e,t,n){var r;for(r=n<0?n+t:n>t?t:n;--r>=0;)e.push(r);return e})),gt:ae((function(e,t,n){for(var r=n<0?n+t:n;++r<t;)e.push(r);return e}))}},t.pseudos.nth=t.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})t.pseudos[e]=re(e);for(e in{submit:!0,reset:!0})t.pseudos[e]=oe(e);function ce(){}function ue(e,n){var r,o,i,a,s,l,c,u=w[e+" "];if(u)return n?0:u.slice(0);for(s=e,l=[],c=t.preFilter;s;){for(a in r&&!(o=z.exec(s))||(o&&(s=s.slice(o[0].length)||s),l.push(i=[])),r=!1,(o=F.exec(s))&&(r=o.shift(),i.push({value:r,type:o[0].replace(D," ")}),s=s.slice(r.length)),t.filter)!(o=W[a].exec(s))||c[a]&&!(o=c[a](o))||(r=o.shift(),i.push({value:r,type:a,matches:o}),s=s.slice(r.length));if(!r)break}return n?s.length:s?Q.error(e):w(e,l).slice(0)}function de(e){for(var t=0,n=e.length,r="";t<n;t++)r+=e[t].value;return r}function pe(e,t,n){var r=t.dir,o=t.next,i=o||r,a=n&&"parentNode"===i,s=b++;return t.first?function(t,n,o){for(;t=t[r];)if(1===t.nodeType||a)return e(t,n,o);return!1}:function(t,n,l){var c,u,d=[y,s];if(l){for(;t=t[r];)if((1===t.nodeType||a)&&e(t,n,l))return!0}else for(;t=t[r];)if(1===t.nodeType||a)if(u=t[v]||(t[v]={}),o&&T(t,o))t=t[r]||t;else{if((c=u[i])&&c[0]===y&&c[1]===s)return d[2]=c[2];if(u[i]=d,d[2]=e(t,n,l))return!0}return!1}}function fe(e){return e.length>1?function(t,n,r){for(var o=e.length;o--;)if(!e[o](t,n,r))return!1;return!0}:e[0]}function he(e,t,n,r,o){for(var i,a=[],s=0,l=e.length,c=null!=t;s<l;s++)(i=e[s])&&(n&&!n(i,r,o)||(a.push(i),c&&t.push(s)));return a}function me(e,t,n,r,o,i){return r&&!r[v]&&(r=me(r)),o&&!o[v]&&(o=me(o,i)),te((function(i,a,s,l){var c,d,p,f,h=[],g=[],v=a.length,y=i||function(e,t,n){for(var r=0,o=t.length;r<o;r++)Q(e,t[r],n);return n}(t||"*",s.nodeType?[s]:s,[]),b=!e||!i&&t?y:he(y,h,e,s,l);if(n?n(b,f=o||(i?e:v||r)?[]:a,s,l):f=b,r)for(c=he(f,g),r(c,[],s,l),d=c.length;d--;)(p=c[d])&&(f[g[d]]=!(b[g[d]]=p));if(i){if(o||e){if(o){for(c=[],d=f.length;d--;)(p=f[d])&&c.push(b[d]=p);o(null,f=[],c,l)}for(d=f.length;d--;)(p=f[d])&&(c=o?u.call(i,p):h[d])>-1&&(i[c]=!(a[c]=p))}}else f=he(f===a?f.splice(v,f.length):f),o?o(null,a,f,l):m.apply(a,f)}))}function ge(e){for(var r,o,i,a=e.length,s=t.relative[e[0].type],l=s||t.relative[" "],c=s?1:0,d=pe((function(e){return e===r}),l,!0),p=pe((function(e){return u.call(r,e)>-1}),l,!0),f=[function(e,t,o){var i=!s&&(o||t!=n)||((r=t).nodeType?d(e,t,o):p(e,t,o));return r=null,i}];c<a;c++)if(o=t.relative[e[c].type])f=[pe(fe(f),o)];else{if((o=t.filter[e[c].type].apply(null,e[c].matches))[v]){for(i=++c;i<a&&!t.relative[e[i].type];i++);return me(c>1&&fe(f),c>1&&de(e.slice(0,c-1).concat({value:" "===e[c-2].type?"*":""})).replace(D,"$1"),o,c<i&&ge(e.slice(c,i)),i<a&&ge(e=e.slice(i)),i<a&&de(e))}f.push(o)}return fe(f)}function ve(e,r){var o,i=[],a=[],s=A[e+" "];if(!s){for(r||(r=ue(e)),o=r.length;o--;)(s=ge(r[o]))[v]?i.push(s):a.push(s);s=A(e,function(e,r){var o=r.length>0,i=e.length>0,a=function(a,s,c,u,p){var f,h,g,v=0,b="0",x=a&&[],w=[],A=n,_=a||i&&t.find.TAG("*",p),S=y+=null==A?1:Math.random()||.1,C=_.length;for(p&&(n=s==l||s||p);b!==C&&null!=(f=_[b]);b++){if(i&&f){for(h=0,s||f.ownerDocument==l||(le(f),c=!d);g=e[h++];)if(g(f,s||l,c)){m.call(u,f);break}p&&(y=S)}o&&((f=!g&&f)&&v--,a&&x.push(f))}if(v+=b,o&&b!==v){for(h=0;g=r[h++];)g(x,w,s,c);if(a){if(v>0)for(;b--;)x[b]||w[b]||(w[b]=M.call(u));w=he(w)}m.apply(u,w),p&&!a&&w.length>0&&v+r.length>1&&k.uniqueSort(u)}return p&&(y=S,n=A),x};return o?te(a):a}(a,i)),s.selector=e}return s}function ye(e,n,r,o){var i,a,s,l,c,u="function"==typeof e&&e,p=!o&&ue(e=u.selector||e);if(r=r||[],1===p.length){if((a=p[0]=p[0].slice(0)).length>2&&"ID"===(s=a[0]).type&&9===n.nodeType&&d&&t.relative[a[1].type]){if(!(n=(t.find.ID(s.matches[0].replace(X,K),n)||[])[0]))return r;u&&(n=n.parentNode),e=e.slice(a.shift().value.length)}for(i=W.needsContext.test(e)?0:a.length;i--&&(s=a[i],!t.relative[l=s.type]);)if((c=t.find[l])&&(o=c(s.matches[0].replace(X,K),Y.test(a[0].type)&&se(n.parentNode)||n))){if(a.splice(i,1),!(e=o.length&&de(a)))return m.apply(r,o),r;break}}return(u||ve(e,p))(o,n,!d,r,!n||Y.test(e)&&se(n.parentNode)||n),r}ce.prototype=t.filters=t.pseudos,t.setFilters=new ce,g.sortStable=v.split("").sort(S).join("")===v,le(),g.sortDetached=ne((function(e){return 1&e.compareDocumentPosition(l.createElement("fieldset"))})),k.find=Q,k.expr[":"]=k.expr.pseudos,k.unique=k.uniqueSort,Q.compile=ve,Q.select=ye,Q.setDocument=le,Q.tokenize=ue,Q.escape=k.escapeSelector,Q.getText=k.text,Q.isXML=k.isXMLDoc,Q.selectors=k.expr,Q.support=k.support,Q.uniqueSort=k.uniqueSort}();var j=function(e,t,n){for(var r=[],o=void 0!==n;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(o&&k(e).is(n))break;r.push(e)}return r},$=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},z=k.expr.match.needsContext,F=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function B(e,t,n){return v(t)?k.grep(e,(function(e,r){return!!t.call(e,r,e)!==n})):t.nodeType?k.grep(e,(function(e){return e===t!==n})):"string"!=typeof t?k.grep(e,(function(e){return u.call(t,e)>-1!==n})):k.filter(t,e,n)}k.filter=function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?k.find.matchesSelector(r,e)?[r]:[]:k.find.matches(e,k.grep(t,(function(e){return 1===e.nodeType})))},k.fn.extend({find:function(e){var t,n,r=this.length,o=this;if("string"!=typeof e)return this.pushStack(k(e).filter((function(){for(t=0;t<r;t++)if(k.contains(o[t],this))return!0})));for(n=this.pushStack([]),t=0;t<r;t++)k.find(e,o[t],n);return r>1?k.uniqueSort(n):n},filter:function(e){return this.pushStack(B(this,e||[],!1))},not:function(e){return this.pushStack(B(this,e||[],!0))},is:function(e){return!!B(this,"string"==typeof e&&z.test(e)?k(e):e||[],!1).length}});var H,V=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(k.fn.init=function(e,t,n){var r,o;if(!e)return this;if(n=n||H,"string"==typeof e){if(!(r="<"===e[0]&&">"===e[e.length-1]&&e.length>=3?[null,e,null]:V.exec(e))||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof k?t[0]:t,k.merge(this,k.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:b,!0)),F.test(r[1])&&k.isPlainObject(t))for(r in t)v(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return(o=b.getElementById(r[2]))&&(this[0]=o,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):v(e)?void 0!==n.ready?n.ready(e):e(k):k.makeArray(e,this)}).prototype=k.fn,H=k(b);var W=/^(?:parents|prev(?:Until|All))/,U={children:!0,contents:!0,next:!0,prev:!0};function q(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}k.fn.extend({has:function(e){var t=k(e,this),n=t.length;return this.filter((function(){for(var e=0;e<n;e++)if(k.contains(this,t[e]))return!0}))},closest:function(e,t){var n,r=0,o=this.length,i=[],a="string"!=typeof e&&k(e);if(!z.test(e))for(;r<o;r++)for(n=this[r];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(a?a.index(n)>-1:1===n.nodeType&&k.find.matchesSelector(n,e))){i.push(n);break}return this.pushStack(i.length>1?k.uniqueSort(i):i)},index:function(e){return e?"string"==typeof e?u.call(k(e),this[0]):u.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(k.uniqueSort(k.merge(this.get(),k(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),k.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return j(e,"parentNode")},parentsUntil:function(e,t,n){return j(e,"parentNode",n)},next:function(e){return q(e,"nextSibling")},prev:function(e){return q(e,"previousSibling")},nextAll:function(e){return j(e,"nextSibling")},prevAll:function(e){return j(e,"previousSibling")},nextUntil:function(e,t,n){return j(e,"nextSibling",n)},prevUntil:function(e,t,n){return j(e,"previousSibling",n)},siblings:function(e){return $((e.parentNode||{}).firstChild,e)},children:function(e){return $(e.firstChild)},contents:function(e){return null!=e.contentDocument&&a(e.contentDocument)?e.contentDocument:(T(e,"template")&&(e=e.content||e),k.merge([],e.childNodes))}},(function(e,t){k.fn[e]=function(n,r){var o=k.map(this,t,n);return"Until"!==e.slice(-5)&&(r=n),r&&"string"==typeof r&&(o=k.filter(r,o)),this.length>1&&(U[e]||k.uniqueSort(o),W.test(e)&&o.reverse()),this.pushStack(o)}}));var G=/[^\x20\t\r\n\f]+/g;function Y(e){return e}function X(e){throw e}function K(e,t,n,r){var o;try{e&&v(o=e.promise)?o.call(e).done(t).fail(n):e&&v(o=e.then)?o.call(e,t,n):t.apply(void 0,[e].slice(r))}catch(e){n.apply(void 0,[e])}}k.Callbacks=function(e){e="string"==typeof e?function(e){var t={};return k.each(e.match(G)||[],(function(e,n){t[n]=!0})),t}(e):k.extend({},e);var t,n,r,o,i=[],a=[],s=-1,l=function(){for(o=o||e.once,r=t=!0;a.length;s=-1)for(n=a.shift();++s<i.length;)!1===i[s].apply(n[0],n[1])&&e.stopOnFalse&&(s=i.length,n=!1);e.memory||(n=!1),t=!1,o&&(i=n?[]:"")},c={add:function(){return i&&(n&&!t&&(s=i.length-1,a.push(n)),function t(n){k.each(n,(function(n,r){v(r)?e.unique&&c.has(r)||i.push(r):r&&r.length&&"string"!==A(r)&&t(r)}))}(arguments),n&&!t&&l()),this},remove:function(){return k.each(arguments,(function(e,t){for(var n;(n=k.inArray(t,i,n))>-1;)i.splice(n,1),n<=s&&s--})),this},has:function(e){return e?k.inArray(e,i)>-1:i.length>0},empty:function(){return i&&(i=[]),this},disable:function(){return o=a=[],i=n="",this},disabled:function(){return!i},lock:function(){return o=a=[],n||t||(i=n=""),this},locked:function(){return!!o},fireWith:function(e,n){return o||(n=[e,(n=n||[]).slice?n.slice():n],a.push(n),t||l()),this},fire:function(){return c.fireWith(this,arguments),this},fired:function(){return!!r}};return c},k.extend({Deferred:function(e){var t=[["notify","progress",k.Callbacks("memory"),k.Callbacks("memory"),2],["resolve","done",k.Callbacks("once memory"),k.Callbacks("once memory"),0,"resolved"],["reject","fail",k.Callbacks("once memory"),k.Callbacks("once memory"),1,"rejected"]],n="pending",o={state:function(){return n},always:function(){return i.done(arguments).fail(arguments),this},catch:function(e){return o.then(null,e)},pipe:function(){var e=arguments;return k.Deferred((function(n){k.each(t,(function(t,r){var o=v(e[r[4]])&&e[r[4]];i[r[1]]((function(){var e=o&&o.apply(this,arguments);e&&v(e.promise)?e.promise().progress(n.notify).done(n.resolve).fail(n.reject):n[r[0]+"With"](this,o?[e]:arguments)}))})),e=null})).promise()},then:function(e,n,o){var i=0;function a(e,t,n,o){return function(){var s=this,l=arguments,c=function(){var r,c;if(!(e<i)){if((r=n.apply(s,l))===t.promise())throw new TypeError("Thenable self-resolution");c=r&&("object"==typeof r||"function"==typeof r)&&r.then,v(c)?o?c.call(r,a(i,t,Y,o),a(i,t,X,o)):(i++,c.call(r,a(i,t,Y,o),a(i,t,X,o),a(i,t,Y,t.notifyWith))):(n!==Y&&(s=void 0,l=[r]),(o||t.resolveWith)(s,l))}},u=o?c:function(){try{c()}catch(r){k.Deferred.exceptionHook&&k.Deferred.exceptionHook(r,u.error),e+1>=i&&(n!==X&&(s=void 0,l=[r]),t.rejectWith(s,l))}};e?u():(k.Deferred.getErrorHook?u.error=k.Deferred.getErrorHook():k.Deferred.getStackHook&&(u.error=k.Deferred.getStackHook()),r.setTimeout(u))}}return k.Deferred((function(r){t[0][3].add(a(0,r,v(o)?o:Y,r.notifyWith)),t[1][3].add(a(0,r,v(e)?e:Y)),t[2][3].add(a(0,r,v(n)?n:X))})).promise()},promise:function(e){return null!=e?k.extend(e,o):o}},i={};return k.each(t,(function(e,r){var a=r[2],s=r[5];o[r[1]]=a.add,s&&a.add((function(){n=s}),t[3-e][2].disable,t[3-e][3].disable,t[0][2].lock,t[0][3].lock),a.add(r[3].fire),i[r[0]]=function(){return i[r[0]+"With"](this===i?void 0:this,arguments),this},i[r[0]+"With"]=a.fireWith})),o.promise(i),e&&e.call(i,i),i},when:function(e){var t=arguments.length,n=t,r=Array(n),o=s.call(arguments),i=k.Deferred(),a=function(e){return function(n){r[e]=this,o[e]=arguments.length>1?s.call(arguments):n,--t||i.resolveWith(r,o)}};if(t<=1&&(K(e,i.done(a(n)).resolve,i.reject,!t),"pending"===i.state()||v(o[n]&&o[n].then)))return i.then();for(;n--;)K(o[n],a(n),i.reject);return i.promise()}});var Z=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;k.Deferred.exceptionHook=function(e,t){r.console&&r.console.warn&&e&&Z.test(e.name)&&r.console.warn("jQuery.Deferred exception: "+e.message,e.stack,t)},k.readyException=function(e){r.setTimeout((function(){throw e}))};var J=k.Deferred();function Q(){b.removeEventListener("DOMContentLoaded",Q),r.removeEventListener("load",Q),k.ready()}k.fn.ready=function(e){return J.then(e).catch((function(e){k.readyException(e)})),this},k.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--k.readyWait:k.isReady)||(k.isReady=!0,!0!==e&&--k.readyWait>0||J.resolveWith(b,[k]))}}),k.ready.then=J.then,"complete"===b.readyState||"loading"!==b.readyState&&!b.documentElement.doScroll?r.setTimeout(k.ready):(b.addEventListener("DOMContentLoaded",Q),r.addEventListener("load",Q));var ee=function(e,t,n,r,o,i,a){var s=0,l=e.length,c=null==n;if("object"===A(n))for(s in o=!0,n)ee(e,t,s,n[s],!0,i,a);else if(void 0!==r&&(o=!0,v(r)||(a=!0),c&&(a?(t.call(e,r),t=null):(c=t,t=function(e,t,n){return c.call(k(e),n)})),t))for(;s<l;s++)t(e[s],n,a?r:r.call(e[s],s,t(e[s],n)));return o?e:c?t.call(e):l?t(e[0],n):i},te=/^-ms-/,ne=/-([a-z])/g;function re(e,t){return t.toUpperCase()}function oe(e){return e.replace(te,"ms-").replace(ne,re)}var ie=function(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType};function ae(){this.expando=k.expando+ae.uid++}ae.uid=1,ae.prototype={cache:function(e){var t=e[this.expando];return t||(t={},ie(e)&&(e.nodeType?e[this.expando]=t:Object.defineProperty(e,this.expando,{value:t,configurable:!0}))),t},set:function(e,t,n){var r,o=this.cache(e);if("string"==typeof t)o[oe(t)]=n;else for(r in t)o[oe(r)]=t[r];return o},get:function(e,t){return void 0===t?this.cache(e):e[this.expando]&&e[this.expando][oe(t)]},access:function(e,t,n){return void 0===t||t&&"string"==typeof t&&void 0===n?this.get(e,t):(this.set(e,t,n),void 0!==n?n:t)},remove:function(e,t){var n,r=e[this.expando];if(void 0!==r){if(void 0!==t){n=(t=Array.isArray(t)?t.map(oe):(t=oe(t))in r?[t]:t.match(G)||[]).length;for(;n--;)delete r[t[n]]}(void 0===t||k.isEmptyObject(r))&&(e.nodeType?e[this.expando]=void 0:delete e[this.expando])}},hasData:function(e){var t=e[this.expando];return void 0!==t&&!k.isEmptyObject(t)}};var se=new ae,le=new ae,ce=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,ue=/[A-Z]/g;function de(e,t,n){var r;if(void 0===n&&1===e.nodeType)if(r="data-"+t.replace(ue,"-$&").toLowerCase(),"string"==typeof(n=e.getAttribute(r))){try{n=function(e){return"true"===e||"false"!==e&&("null"===e?null:e===+e+""?+e:ce.test(e)?JSON.parse(e):e)}(n)}catch(e){}le.set(e,t,n)}else n=void 0;return n}k.extend({hasData:function(e){return le.hasData(e)||se.hasData(e)},data:function(e,t,n){return le.access(e,t,n)},removeData:function(e,t){le.remove(e,t)},_data:function(e,t,n){return se.access(e,t,n)},_removeData:function(e,t){se.remove(e,t)}}),k.fn.extend({data:function(e,t){var n,r,o,i=this[0],a=i&&i.attributes;if(void 0===e){if(this.length&&(o=le.get(i),1===i.nodeType&&!se.get(i,"hasDataAttrs"))){for(n=a.length;n--;)a[n]&&0===(r=a[n].name).indexOf("data-")&&(r=oe(r.slice(5)),de(i,r,o[r]));se.set(i,"hasDataAttrs",!0)}return o}return"object"==typeof e?this.each((function(){le.set(this,e)})):ee(this,(function(t){var n;if(i&&void 0===t)return void 0!==(n=le.get(i,e))||void 0!==(n=de(i,e))?n:void 0;this.each((function(){le.set(this,e,t)}))}),null,t,arguments.length>1,null,!0)},removeData:function(e){return this.each((function(){le.remove(this,e)}))}}),k.extend({queue:function(e,t,n){var r;if(e)return t=(t||"fx")+"queue",r=se.get(e,t),n&&(!r||Array.isArray(n)?r=se.access(e,t,k.makeArray(n)):r.push(n)),r||[]},dequeue:function(e,t){t=t||"fx";var n=k.queue(e,t),r=n.length,o=n.shift(),i=k._queueHooks(e,t);"inprogress"===o&&(o=n.shift(),r--),o&&("fx"===t&&n.unshift("inprogress"),delete i.stop,o.call(e,(function(){k.dequeue(e,t)}),i)),!r&&i&&i.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return se.get(e,n)||se.access(e,n,{empty:k.Callbacks("once memory").add((function(){se.remove(e,[t+"queue",n])}))})}}),k.fn.extend({queue:function(e,t){var n=2;return"string"!=typeof e&&(t=e,e="fx",n--),arguments.length<n?k.queue(this[0],e):void 0===t?this:this.each((function(){var n=k.queue(this,e,t);k._queueHooks(this,e),"fx"===e&&"inprogress"!==n[0]&&k.dequeue(this,e)}))},dequeue:function(e){return this.each((function(){k.dequeue(this,e)}))},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var n,r=1,o=k.Deferred(),i=this,a=this.length,s=function(){--r||o.resolveWith(i,[i])};for("string"!=typeof e&&(t=e,e=void 0),e=e||"fx";a--;)(n=se.get(i[a],e+"queueHooks"))&&n.empty&&(r++,n.empty.add(s));return s(),o.promise(t)}});var pe=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,fe=new RegExp("^(?:([+-])=|)("+pe+")([a-z%]*)$","i"),he=["Top","Right","Bottom","Left"],me=b.documentElement,ge=function(e){return k.contains(e.ownerDocument,e)},ve={composed:!0};me.getRootNode&&(ge=function(e){return k.contains(e.ownerDocument,e)||e.getRootNode(ve)===e.ownerDocument});var ye=function(e,t){return"none"===(e=t||e).style.display||""===e.style.display&&ge(e)&&"none"===k.css(e,"display")};function be(e,t,n,r){var o,i,a=20,s=r?function(){return r.cur()}:function(){return k.css(e,t,"")},l=s(),c=n&&n[3]||(k.cssNumber[t]?"":"px"),u=e.nodeType&&(k.cssNumber[t]||"px"!==c&&+l)&&fe.exec(k.css(e,t));if(u&&u[3]!==c){for(l/=2,c=c||u[3],u=+l||1;a--;)k.style(e,t,u+c),(1-i)*(1-(i=s()/l||.5))<=0&&(a=0),u/=i;u*=2,k.style(e,t,u+c),n=n||[]}return n&&(u=+u||+l||0,o=n[1]?u+(n[1]+1)*n[2]:+n[2],r&&(r.unit=c,r.start=u,r.end=o)),o}var xe={};function we(e){var t,n=e.ownerDocument,r=e.nodeName,o=xe[r];return o||(t=n.body.appendChild(n.createElement(r)),o=k.css(t,"display"),t.parentNode.removeChild(t),"none"===o&&(o="block"),xe[r]=o,o)}function Ae(e,t){for(var n,r,o=[],i=0,a=e.length;i<a;i++)(r=e[i]).style&&(n=r.style.display,t?("none"===n&&(o[i]=se.get(r,"display")||null,o[i]||(r.style.display="")),""===r.style.display&&ye(r)&&(o[i]=we(r))):"none"!==n&&(o[i]="none",se.set(r,"display",n)));for(i=0;i<a;i++)null!=o[i]&&(e[i].style.display=o[i]);return e}k.fn.extend({show:function(){return Ae(this,!0)},hide:function(){return Ae(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each((function(){ye(this)?k(this).show():k(this).hide()}))}});var _e,Se,ke=/^(?:checkbox|radio)$/i,Ce=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,Te=/^$|^module$|\/(?:java|ecma)script/i;_e=b.createDocumentFragment().appendChild(b.createElement("div")),(Se=b.createElement("input")).setAttribute("type","radio"),Se.setAttribute("checked","checked"),Se.setAttribute("name","t"),_e.appendChild(Se),g.checkClone=_e.cloneNode(!0).cloneNode(!0).lastChild.checked,_e.innerHTML="<textarea>x</textarea>",g.noCloneChecked=!!_e.cloneNode(!0).lastChild.defaultValue,_e.innerHTML="<option></option>",g.option=!!_e.lastChild;var Me={thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};function Pe(e,t){var n;return n=void 0!==e.getElementsByTagName?e.getElementsByTagName(t||"*"):void 0!==e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&T(e,t)?k.merge([e],n):n}function Oe(e,t){for(var n=0,r=e.length;n<r;n++)se.set(e[n],"globalEval",!t||se.get(t[n],"globalEval"))}Me.tbody=Me.tfoot=Me.colgroup=Me.caption=Me.thead,Me.th=Me.td,g.option||(Me.optgroup=Me.option=[1,"<select multiple='multiple'>","</select>"]);var Ee=/<|&#?\w+;/;function De(e,t,n,r,o){for(var i,a,s,l,c,u,d=t.createDocumentFragment(),p=[],f=0,h=e.length;f<h;f++)if((i=e[f])||0===i)if("object"===A(i))k.merge(p,i.nodeType?[i]:i);else if(Ee.test(i)){for(a=a||d.appendChild(t.createElement("div")),s=(Ce.exec(i)||["",""])[1].toLowerCase(),l=Me[s]||Me._default,a.innerHTML=l[1]+k.htmlPrefilter(i)+l[2],u=l[0];u--;)a=a.lastChild;k.merge(p,a.childNodes),(a=d.firstChild).textContent=""}else p.push(t.createTextNode(i));for(d.textContent="",f=0;i=p[f++];)if(r&&k.inArray(i,r)>-1)o&&o.push(i);else if(c=ge(i),a=Pe(d.appendChild(i),"script"),c&&Oe(a),n)for(u=0;i=a[u++];)Te.test(i.type||"")&&n.push(i);return d}var Re=/^([^.]*)(?:\.(.+)|)/;function Ie(){return!0}function Ne(){return!1}function Le(e,t,n,r,o,i){var a,s;if("object"==typeof t){for(s in"string"!=typeof n&&(r=r||n,n=void 0),t)Le(e,s,n,r,t[s],i);return e}if(null==r&&null==o?(o=n,r=n=void 0):null==o&&("string"==typeof n?(o=r,r=void 0):(o=r,r=n,n=void 0)),!1===o)o=Ne;else if(!o)return e;return 1===i&&(a=o,o=function(e){return k().off(e),a.apply(this,arguments)},o.guid=a.guid||(a.guid=k.guid++)),e.each((function(){k.event.add(this,t,o,r,n)}))}function je(e,t,n){n?(se.set(e,t,!1),k.event.add(e,t,{namespace:!1,handler:function(e){var n,r=se.get(this,t);if(1&e.isTrigger&&this[t]){if(r)(k.event.special[t]||{}).delegateType&&e.stopPropagation();else if(r=s.call(arguments),se.set(this,t,r),this[t](),n=se.get(this,t),se.set(this,t,!1),r!==n)return e.stopImmediatePropagation(),e.preventDefault(),n}else r&&(se.set(this,t,k.event.trigger(r[0],r.slice(1),this)),e.stopPropagation(),e.isImmediatePropagationStopped=Ie)}})):void 0===se.get(e,t)&&k.event.add(e,t,Ie)}k.event={global:{},add:function(e,t,n,r,o){var i,a,s,l,c,u,d,p,f,h,m,g=se.get(e);if(ie(e))for(n.handler&&(n=(i=n).handler,o=i.selector),o&&k.find.matchesSelector(me,o),n.guid||(n.guid=k.guid++),(l=g.events)||(l=g.events=Object.create(null)),(a=g.handle)||(a=g.handle=function(t){return void 0!==k&&k.event.triggered!==t.type?k.event.dispatch.apply(e,arguments):void 0}),c=(t=(t||"").match(G)||[""]).length;c--;)f=m=(s=Re.exec(t[c])||[])[1],h=(s[2]||"").split(".").sort(),f&&(d=k.event.special[f]||{},f=(o?d.delegateType:d.bindType)||f,d=k.event.special[f]||{},u=k.extend({type:f,origType:m,data:r,handler:n,guid:n.guid,selector:o,needsContext:o&&k.expr.match.needsContext.test(o),namespace:h.join(".")},i),(p=l[f])||((p=l[f]=[]).delegateCount=0,d.setup&&!1!==d.setup.call(e,r,h,a)||e.addEventListener&&e.addEventListener(f,a)),d.add&&(d.add.call(e,u),u.handler.guid||(u.handler.guid=n.guid)),o?p.splice(p.delegateCount++,0,u):p.push(u),k.event.global[f]=!0)},remove:function(e,t,n,r,o){var i,a,s,l,c,u,d,p,f,h,m,g=se.hasData(e)&&se.get(e);if(g&&(l=g.events)){for(c=(t=(t||"").match(G)||[""]).length;c--;)if(f=m=(s=Re.exec(t[c])||[])[1],h=(s[2]||"").split(".").sort(),f){for(d=k.event.special[f]||{},p=l[f=(r?d.delegateType:d.bindType)||f]||[],s=s[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=i=p.length;i--;)u=p[i],!o&&m!==u.origType||n&&n.guid!==u.guid||s&&!s.test(u.namespace)||r&&r!==u.selector&&("**"!==r||!u.selector)||(p.splice(i,1),u.selector&&p.delegateCount--,d.remove&&d.remove.call(e,u));a&&!p.length&&(d.teardown&&!1!==d.teardown.call(e,h,g.handle)||k.removeEvent(e,f,g.handle),delete l[f])}else for(f in l)k.event.remove(e,f+t[c],n,r,!0);k.isEmptyObject(l)&&se.remove(e,"handle events")}},dispatch:function(e){var t,n,r,o,i,a,s=new Array(arguments.length),l=k.event.fix(e),c=(se.get(this,"events")||Object.create(null))[l.type]||[],u=k.event.special[l.type]||{};for(s[0]=l,t=1;t<arguments.length;t++)s[t]=arguments[t];if(l.delegateTarget=this,!u.preDispatch||!1!==u.preDispatch.call(this,l)){for(a=k.event.handlers.call(this,l,c),t=0;(o=a[t++])&&!l.isPropagationStopped();)for(l.currentTarget=o.elem,n=0;(i=o.handlers[n++])&&!l.isImmediatePropagationStopped();)l.rnamespace&&!1!==i.namespace&&!l.rnamespace.test(i.namespace)||(l.handleObj=i,l.data=i.data,void 0!==(r=((k.event.special[i.origType]||{}).handle||i.handler).apply(o.elem,s))&&!1===(l.result=r)&&(l.preventDefault(),l.stopPropagation()));return u.postDispatch&&u.postDispatch.call(this,l),l.result}},handlers:function(e,t){var n,r,o,i,a,s=[],l=t.delegateCount,c=e.target;if(l&&c.nodeType&&!("click"===e.type&&e.button>=1))for(;c!==this;c=c.parentNode||this)if(1===c.nodeType&&("click"!==e.type||!0!==c.disabled)){for(i=[],a={},n=0;n<l;n++)void 0===a[o=(r=t[n]).selector+" "]&&(a[o]=r.needsContext?k(o,this).index(c)>-1:k.find(o,this,null,[c]).length),a[o]&&i.push(r);i.length&&s.push({elem:c,handlers:i})}return c=this,l<t.length&&s.push({elem:c,handlers:t.slice(l)}),s},addProp:function(e,t){Object.defineProperty(k.Event.prototype,e,{enumerable:!0,configurable:!0,get:v(t)?function(){if(this.originalEvent)return t(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[e]},set:function(t){Object.defineProperty(this,e,{enumerable:!0,configurable:!0,writable:!0,value:t})}})},fix:function(e){return e[k.expando]?e:new k.Event(e)},special:{load:{noBubble:!0},click:{setup:function(e){var t=this||e;return ke.test(t.type)&&t.click&&T(t,"input")&&je(t,"click",!0),!1},trigger:function(e){var t=this||e;return ke.test(t.type)&&t.click&&T(t,"input")&&je(t,"click"),!0},_default:function(e){var t=e.target;return ke.test(t.type)&&t.click&&T(t,"input")&&se.get(t,"click")||T(t,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}},k.removeEvent=function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n)},k.Event=function(e,t){if(!(this instanceof k.Event))return new k.Event(e,t);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&!1===e.returnValue?Ie:Ne,this.target=e.target&&3===e.target.nodeType?e.target.parentNode:e.target,this.currentTarget=e.currentTarget,this.relatedTarget=e.relatedTarget):this.type=e,t&&k.extend(this,t),this.timeStamp=e&&e.timeStamp||Date.now(),this[k.expando]=!0},k.Event.prototype={constructor:k.Event,isDefaultPrevented:Ne,isPropagationStopped:Ne,isImmediatePropagationStopped:Ne,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=Ie,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=Ie,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=Ie,e&&!this.isSimulated&&e.stopImmediatePropagation(),this.stopPropagation()}},k.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,code:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:!0},k.event.addProp),k.each({focus:"focusin",blur:"focusout"},(function(e,t){function n(e){if(b.documentMode){var n=se.get(this,"handle"),r=k.event.fix(e);r.type="focusin"===e.type?"focus":"blur",r.isSimulated=!0,n(e),r.target===r.currentTarget&&n(r)}else k.event.simulate(t,e.target,k.event.fix(e))}k.event.special[e]={setup:function(){var r;if(je(this,e,!0),!b.documentMode)return!1;(r=se.get(this,t))||this.addEventListener(t,n),se.set(this,t,(r||0)+1)},trigger:function(){return je(this,e),!0},teardown:function(){var e;if(!b.documentMode)return!1;(e=se.get(this,t)-1)?se.set(this,t,e):(this.removeEventListener(t,n),se.remove(this,t))},_default:function(t){return se.get(t.target,e)},delegateType:t},k.event.special[t]={setup:function(){var r=this.ownerDocument||this.document||this,o=b.documentMode?this:r,i=se.get(o,t);i||(b.documentMode?this.addEventListener(t,n):r.addEventListener(e,n,!0)),se.set(o,t,(i||0)+1)},teardown:function(){var r=this.ownerDocument||this.document||this,o=b.documentMode?this:r,i=se.get(o,t)-1;i?se.set(o,t,i):(b.documentMode?this.removeEventListener(t,n):r.removeEventListener(e,n,!0),se.remove(o,t))}}})),k.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},(function(e,t){k.event.special[e]={delegateType:t,bindType:t,handle:function(e){var n,r=e.relatedTarget,o=e.handleObj;return r&&(r===this||k.contains(this,r))||(e.type=o.origType,n=o.handler.apply(this,arguments),e.type=t),n}}})),k.fn.extend({on:function(e,t,n,r){return Le(this,e,t,n,r)},one:function(e,t,n,r){return Le(this,e,t,n,r,1)},off:function(e,t,n){var r,o;if(e&&e.preventDefault&&e.handleObj)return r=e.handleObj,k(e.delegateTarget).off(r.namespace?r.origType+"."+r.namespace:r.origType,r.selector,r.handler),this;if("object"==typeof e){for(o in e)this.off(o,t,e[o]);return this}return!1!==t&&"function"!=typeof t||(n=t,t=void 0),!1===n&&(n=Ne),this.each((function(){k.event.remove(this,e,n,t)}))}});var $e=/<script|<style|<link/i,ze=/checked\s*(?:[^=]|=\s*.checked.)/i,Fe=/^\s*<!\[CDATA\[|\]\]>\s*$/g;function Be(e,t){return T(e,"table")&&T(11!==t.nodeType?t:t.firstChild,"tr")&&k(e).children("tbody")[0]||e}function He(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function Ve(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function We(e,t){var n,r,o,i,a,s;if(1===t.nodeType){if(se.hasData(e)&&(s=se.get(e).events))for(o in se.remove(t,"handle events"),s)for(n=0,r=s[o].length;n<r;n++)k.event.add(t,o,s[o][n]);le.hasData(e)&&(i=le.access(e),a=k.extend({},i),le.set(t,a))}}function Ue(e,t){var n=t.nodeName.toLowerCase();"input"===n&&ke.test(e.type)?t.checked=e.checked:"input"!==n&&"textarea"!==n||(t.defaultValue=e.defaultValue)}function qe(e,t,n,r){t=l(t);var o,i,a,s,c,u,d=0,p=e.length,f=p-1,h=t[0],m=v(h);if(m||p>1&&"string"==typeof h&&!g.checkClone&&ze.test(h))return e.each((function(o){var i=e.eq(o);m&&(t[0]=h.call(this,o,i.html())),qe(i,t,n,r)}));if(p&&(i=(o=De(t,e[0].ownerDocument,!1,e,r)).firstChild,1===o.childNodes.length&&(o=i),i||r)){for(s=(a=k.map(Pe(o,"script"),He)).length;d<p;d++)c=o,d!==f&&(c=k.clone(c,!0,!0),s&&k.merge(a,Pe(c,"script"))),n.call(e[d],c,d);if(s)for(u=a[a.length-1].ownerDocument,k.map(a,Ve),d=0;d<s;d++)c=a[d],Te.test(c.type||"")&&!se.access(c,"globalEval")&&k.contains(u,c)&&(c.src&&"module"!==(c.type||"").toLowerCase()?k._evalUrl&&!c.noModule&&k._evalUrl(c.src,{nonce:c.nonce||c.getAttribute("nonce")},u):w(c.textContent.replace(Fe,""),c,u))}return e}function Ge(e,t,n){for(var r,o=t?k.filter(t,e):e,i=0;null!=(r=o[i]);i++)n||1!==r.nodeType||k.cleanData(Pe(r)),r.parentNode&&(n&&ge(r)&&Oe(Pe(r,"script")),r.parentNode.removeChild(r));return e}k.extend({htmlPrefilter:function(e){return e},clone:function(e,t,n){var r,o,i,a,s=e.cloneNode(!0),l=ge(e);if(!(g.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||k.isXMLDoc(e)))for(a=Pe(s),r=0,o=(i=Pe(e)).length;r<o;r++)Ue(i[r],a[r]);if(t)if(n)for(i=i||Pe(e),a=a||Pe(s),r=0,o=i.length;r<o;r++)We(i[r],a[r]);else We(e,s);return(a=Pe(s,"script")).length>0&&Oe(a,!l&&Pe(e,"script")),s},cleanData:function(e){for(var t,n,r,o=k.event.special,i=0;void 0!==(n=e[i]);i++)if(ie(n)){if(t=n[se.expando]){if(t.events)for(r in t.events)o[r]?k.event.remove(n,r):k.removeEvent(n,r,t.handle);n[se.expando]=void 0}n[le.expando]&&(n[le.expando]=void 0)}}}),k.fn.extend({detach:function(e){return Ge(this,e,!0)},remove:function(e){return Ge(this,e)},text:function(e){return ee(this,(function(e){return void 0===e?k.text(this):this.empty().each((function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=e)}))}),null,e,arguments.length)},append:function(){return qe(this,arguments,(function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||Be(this,e).appendChild(e)}))},prepend:function(){return qe(this,arguments,(function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=Be(this,e);t.insertBefore(e,t.firstChild)}}))},before:function(){return qe(this,arguments,(function(e){this.parentNode&&this.parentNode.insertBefore(e,this)}))},after:function(){return qe(this,arguments,(function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)}))},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(k.cleanData(Pe(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map((function(){return k.clone(this,e,t)}))},html:function(e){return ee(this,(function(e){var t=this[0]||{},n=0,r=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!$e.test(e)&&!Me[(Ce.exec(e)||["",""])[1].toLowerCase()]){e=k.htmlPrefilter(e);try{for(;n<r;n++)1===(t=this[n]||{}).nodeType&&(k.cleanData(Pe(t,!1)),t.innerHTML=e);t=0}catch(e){}}t&&this.empty().append(e)}),null,e,arguments.length)},replaceWith:function(){var e=[];return qe(this,arguments,(function(t){var n=this.parentNode;k.inArray(this,e)<0&&(k.cleanData(Pe(this)),n&&n.replaceChild(t,this))}),e)}}),k.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},(function(e,t){k.fn[e]=function(e){for(var n,r=[],o=k(e),i=o.length-1,a=0;a<=i;a++)n=a===i?this:this.clone(!0),k(o[a])[t](n),c.apply(r,n.get());return this.pushStack(r)}}));var Ye=new RegExp("^("+pe+")(?!px)[a-z%]+$","i"),Xe=/^--/,Ke=function(e){var t=e.ownerDocument.defaultView;return t&&t.opener||(t=r),t.getComputedStyle(e)},Ze=function(e,t,n){var r,o,i={};for(o in t)i[o]=e.style[o],e.style[o]=t[o];for(o in r=n.call(e),t)e.style[o]=i[o];return r},Je=new RegExp(he.join("|"),"i");function Qe(e,t,n){var r,o,i,a,s=Xe.test(t),l=e.style;return(n=n||Ke(e))&&(a=n.getPropertyValue(t)||n[t],s&&a&&(a=a.replace(D,"$1")||void 0),""!==a||ge(e)||(a=k.style(e,t)),!g.pixelBoxStyles()&&Ye.test(a)&&Je.test(t)&&(r=l.width,o=l.minWidth,i=l.maxWidth,l.minWidth=l.maxWidth=l.width=a,a=n.width,l.width=r,l.minWidth=o,l.maxWidth=i)),void 0!==a?a+"":a}function et(e,t){return{get:function(){if(!e())return(this.get=t).apply(this,arguments);delete this.get}}}!function(){function e(){if(u){c.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",u.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",me.appendChild(c).appendChild(u);var e=r.getComputedStyle(u);n="1%"!==e.top,l=12===t(e.marginLeft),u.style.right="60%",a=36===t(e.right),o=36===t(e.width),u.style.position="absolute",i=12===t(u.offsetWidth/3),me.removeChild(c),u=null}}function t(e){return Math.round(parseFloat(e))}var n,o,i,a,s,l,c=b.createElement("div"),u=b.createElement("div");u.style&&(u.style.backgroundClip="content-box",u.cloneNode(!0).style.backgroundClip="",g.clearCloneStyle="content-box"===u.style.backgroundClip,k.extend(g,{boxSizingReliable:function(){return e(),o},pixelBoxStyles:function(){return e(),a},pixelPosition:function(){return e(),n},reliableMarginLeft:function(){return e(),l},scrollboxSize:function(){return e(),i},reliableTrDimensions:function(){var e,t,n,o;return null==s&&(e=b.createElement("table"),t=b.createElement("tr"),n=b.createElement("div"),e.style.cssText="position:absolute;left:-11111px;border-collapse:separate",t.style.cssText="box-sizing:content-box;border:1px solid",t.style.height="1px",n.style.height="9px",n.style.display="block",me.appendChild(e).appendChild(t).appendChild(n),o=r.getComputedStyle(t),s=parseInt(o.height,10)+parseInt(o.borderTopWidth,10)+parseInt(o.borderBottomWidth,10)===t.offsetHeight,me.removeChild(e)),s}}))}();var tt=["Webkit","Moz","ms"],nt=b.createElement("div").style,rt={};function ot(e){var t=k.cssProps[e]||rt[e];return t||(e in nt?e:rt[e]=function(e){for(var t=e[0].toUpperCase()+e.slice(1),n=tt.length;n--;)if((e=tt[n]+t)in nt)return e}(e)||e)}var it=/^(none|table(?!-c[ea]).+)/,at={position:"absolute",visibility:"hidden",display:"block"},st={letterSpacing:"0",fontWeight:"400"};function lt(e,t,n){var r=fe.exec(t);return r?Math.max(0,r[2]-(n||0))+(r[3]||"px"):t}function ct(e,t,n,r,o,i){var a="width"===t?1:0,s=0,l=0,c=0;if(n===(r?"border":"content"))return 0;for(;a<4;a+=2)"margin"===n&&(c+=k.css(e,n+he[a],!0,o)),r?("content"===n&&(l-=k.css(e,"padding"+he[a],!0,o)),"margin"!==n&&(l-=k.css(e,"border"+he[a]+"Width",!0,o))):(l+=k.css(e,"padding"+he[a],!0,o),"padding"!==n?l+=k.css(e,"border"+he[a]+"Width",!0,o):s+=k.css(e,"border"+he[a]+"Width",!0,o));return!r&&i>=0&&(l+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-i-l-s-.5))||0),l+c}function ut(e,t,n){var r=Ke(e),o=(!g.boxSizingReliable()||n)&&"border-box"===k.css(e,"boxSizing",!1,r),i=o,a=Qe(e,t,r),s="offset"+t[0].toUpperCase()+t.slice(1);if(Ye.test(a)){if(!n)return a;a="auto"}return(!g.boxSizingReliable()&&o||!g.reliableTrDimensions()&&T(e,"tr")||"auto"===a||!parseFloat(a)&&"inline"===k.css(e,"display",!1,r))&&e.getClientRects().length&&(o="border-box"===k.css(e,"boxSizing",!1,r),(i=s in e)&&(a=e[s])),(a=parseFloat(a)||0)+ct(e,t,n||(o?"border":"content"),i,r,a)+"px"}function dt(e,t,n,r,o){return new dt.prototype.init(e,t,n,r,o)}k.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=Qe(e,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,aspectRatio:!0,borderImageSlice:!0,columnCount:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,scale:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeMiterlimit:!0,strokeOpacity:!0},cssProps:{},style:function(e,t,n,r){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var o,i,a,s=oe(t),l=Xe.test(t),c=e.style;if(l||(t=ot(s)),a=k.cssHooks[t]||k.cssHooks[s],void 0===n)return a&&"get"in a&&void 0!==(o=a.get(e,!1,r))?o:c[t];"string"===(i=typeof n)&&(o=fe.exec(n))&&o[1]&&(n=be(e,t,o),i="number"),null!=n&&n==n&&("number"!==i||l||(n+=o&&o[3]||(k.cssNumber[s]?"":"px")),g.clearCloneStyle||""!==n||0!==t.indexOf("background")||(c[t]="inherit"),a&&"set"in a&&void 0===(n=a.set(e,n,r))||(l?c.setProperty(t,n):c[t]=n))}},css:function(e,t,n,r){var o,i,a,s=oe(t);return Xe.test(t)||(t=ot(s)),(a=k.cssHooks[t]||k.cssHooks[s])&&"get"in a&&(o=a.get(e,!0,n)),void 0===o&&(o=Qe(e,t,r)),"normal"===o&&t in st&&(o=st[t]),""===n||n?(i=parseFloat(o),!0===n||isFinite(i)?i||0:o):o}}),k.each(["height","width"],(function(e,t){k.cssHooks[t]={get:function(e,n,r){if(n)return!it.test(k.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?ut(e,t,r):Ze(e,at,(function(){return ut(e,t,r)}))},set:function(e,n,r){var o,i=Ke(e),a=!g.scrollboxSize()&&"absolute"===i.position,s=(a||r)&&"border-box"===k.css(e,"boxSizing",!1,i),l=r?ct(e,t,r,s,i):0;return s&&a&&(l-=Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-parseFloat(i[t])-ct(e,t,"border",!1,i)-.5)),l&&(o=fe.exec(n))&&"px"!==(o[3]||"px")&&(e.style[t]=n,n=k.css(e,t)),lt(0,n,l)}}})),k.cssHooks.marginLeft=et(g.reliableMarginLeft,(function(e,t){if(t)return(parseFloat(Qe(e,"marginLeft"))||e.getBoundingClientRect().left-Ze(e,{marginLeft:0},(function(){return e.getBoundingClientRect().left})))+"px"})),k.each({margin:"",padding:"",border:"Width"},(function(e,t){k.cssHooks[e+t]={expand:function(n){for(var r=0,o={},i="string"==typeof n?n.split(" "):[n];r<4;r++)o[e+he[r]+t]=i[r]||i[r-2]||i[0];return o}},"margin"!==e&&(k.cssHooks[e+t].set=lt)})),k.fn.extend({css:function(e,t){return ee(this,(function(e,t,n){var r,o,i={},a=0;if(Array.isArray(t)){for(r=Ke(e),o=t.length;a<o;a++)i[t[a]]=k.css(e,t[a],!1,r);return i}return void 0!==n?k.style(e,t,n):k.css(e,t)}),e,t,arguments.length>1)}}),k.Tween=dt,dt.prototype={constructor:dt,init:function(e,t,n,r,o,i){this.elem=e,this.prop=n,this.easing=o||k.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=i||(k.cssNumber[n]?"":"px")},cur:function(){var e=dt.propHooks[this.prop];return e&&e.get?e.get(this):dt.propHooks._default.get(this)},run:function(e){var t,n=dt.propHooks[this.prop];return this.options.duration?this.pos=t=k.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):dt.propHooks._default.set(this),this}},dt.prototype.init.prototype=dt.prototype,dt.propHooks={_default:{get:function(e){var t;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=k.css(e.elem,e.prop,""))&&"auto"!==t?t:0},set:function(e){k.fx.step[e.prop]?k.fx.step[e.prop](e):1!==e.elem.nodeType||!k.cssHooks[e.prop]&&null==e.elem.style[ot(e.prop)]?e.elem[e.prop]=e.now:k.style(e.elem,e.prop,e.now+e.unit)}}},dt.propHooks.scrollTop=dt.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},k.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},k.fx=dt.prototype.init,k.fx.step={};var pt,ft,ht=/^(?:toggle|show|hide)$/,mt=/queueHooks$/;function gt(){ft&&(!1===b.hidden&&r.requestAnimationFrame?r.requestAnimationFrame(gt):r.setTimeout(gt,k.fx.interval),k.fx.tick())}function vt(){return r.setTimeout((function(){pt=void 0})),pt=Date.now()}function yt(e,t){var n,r=0,o={height:e};for(t=t?1:0;r<4;r+=2-t)o["margin"+(n=he[r])]=o["padding"+n]=e;return t&&(o.opacity=o.width=e),o}function bt(e,t,n){for(var r,o=(xt.tweeners[t]||[]).concat(xt.tweeners["*"]),i=0,a=o.length;i<a;i++)if(r=o[i].call(n,t,e))return r}function xt(e,t,n){var r,o,i=0,a=xt.prefilters.length,s=k.Deferred().always((function(){delete l.elem})),l=function(){if(o)return!1;for(var t=pt||vt(),n=Math.max(0,c.startTime+c.duration-t),r=1-(n/c.duration||0),i=0,a=c.tweens.length;i<a;i++)c.tweens[i].run(r);return s.notifyWith(e,[c,r,n]),r<1&&a?n:(a||s.notifyWith(e,[c,1,0]),s.resolveWith(e,[c]),!1)},c=s.promise({elem:e,props:k.extend({},t),opts:k.extend(!0,{specialEasing:{},easing:k.easing._default},n),originalProperties:t,originalOptions:n,startTime:pt||vt(),duration:n.duration,tweens:[],createTween:function(t,n){var r=k.Tween(e,c.opts,t,n,c.opts.specialEasing[t]||c.opts.easing);return c.tweens.push(r),r},stop:function(t){var n=0,r=t?c.tweens.length:0;if(o)return this;for(o=!0;n<r;n++)c.tweens[n].run(1);return t?(s.notifyWith(e,[c,1,0]),s.resolveWith(e,[c,t])):s.rejectWith(e,[c,t]),this}}),u=c.props;for(!function(e,t){var n,r,o,i,a;for(n in e)if(o=t[r=oe(n)],i=e[n],Array.isArray(i)&&(o=i[1],i=e[n]=i[0]),n!==r&&(e[r]=i,delete e[n]),(a=k.cssHooks[r])&&"expand"in a)for(n in i=a.expand(i),delete e[r],i)n in e||(e[n]=i[n],t[n]=o);else t[r]=o}(u,c.opts.specialEasing);i<a;i++)if(r=xt.prefilters[i].call(c,e,u,c.opts))return v(r.stop)&&(k._queueHooks(c.elem,c.opts.queue).stop=r.stop.bind(r)),r;return k.map(u,bt,c),v(c.opts.start)&&c.opts.start.call(e,c),c.progress(c.opts.progress).done(c.opts.done,c.opts.complete).fail(c.opts.fail).always(c.opts.always),k.fx.timer(k.extend(l,{elem:e,anim:c,queue:c.opts.queue})),c}k.Animation=k.extend(xt,{tweeners:{"*":[function(e,t){var n=this.createTween(e,t);return be(n.elem,e,fe.exec(t),n),n}]},tweener:function(e,t){v(e)?(t=e,e=["*"]):e=e.match(G);for(var n,r=0,o=e.length;r<o;r++)n=e[r],xt.tweeners[n]=xt.tweeners[n]||[],xt.tweeners[n].unshift(t)},prefilters:[function(e,t,n){var r,o,i,a,s,l,c,u,d="width"in t||"height"in t,p=this,f={},h=e.style,m=e.nodeType&&ye(e),g=se.get(e,"fxshow");for(r in n.queue||(null==(a=k._queueHooks(e,"fx")).unqueued&&(a.unqueued=0,s=a.empty.fire,a.empty.fire=function(){a.unqueued||s()}),a.unqueued++,p.always((function(){p.always((function(){a.unqueued--,k.queue(e,"fx").length||a.empty.fire()}))}))),t)if(o=t[r],ht.test(o)){if(delete t[r],i=i||"toggle"===o,o===(m?"hide":"show")){if("show"!==o||!g||void 0===g[r])continue;m=!0}f[r]=g&&g[r]||k.style(e,r)}if((l=!k.isEmptyObject(t))||!k.isEmptyObject(f))for(r in d&&1===e.nodeType&&(n.overflow=[h.overflow,h.overflowX,h.overflowY],null==(c=g&&g.display)&&(c=se.get(e,"display")),"none"===(u=k.css(e,"display"))&&(c?u=c:(Ae([e],!0),c=e.style.display||c,u=k.css(e,"display"),Ae([e]))),("inline"===u||"inline-block"===u&&null!=c)&&"none"===k.css(e,"float")&&(l||(p.done((function(){h.display=c})),null==c&&(u=h.display,c="none"===u?"":u)),h.display="inline-block")),n.overflow&&(h.overflow="hidden",p.always((function(){h.overflow=n.overflow[0],h.overflowX=n.overflow[1],h.overflowY=n.overflow[2]}))),l=!1,f)l||(g?"hidden"in g&&(m=g.hidden):g=se.access(e,"fxshow",{display:c}),i&&(g.hidden=!m),m&&Ae([e],!0),p.done((function(){for(r in m||Ae([e]),se.remove(e,"fxshow"),f)k.style(e,r,f[r])}))),l=bt(m?g[r]:0,r,p),r in g||(g[r]=l.start,m&&(l.end=l.start,l.start=0))}],prefilter:function(e,t){t?xt.prefilters.unshift(e):xt.prefilters.push(e)}}),k.speed=function(e,t,n){var r=e&&"object"==typeof e?k.extend({},e):{complete:n||!n&&t||v(e)&&e,duration:e,easing:n&&t||t&&!v(t)&&t};return k.fx.off?r.duration=0:"number"!=typeof r.duration&&(r.duration in k.fx.speeds?r.duration=k.fx.speeds[r.duration]:r.duration=k.fx.speeds._default),null!=r.queue&&!0!==r.queue||(r.queue="fx"),r.old=r.complete,r.complete=function(){v(r.old)&&r.old.call(this),r.queue&&k.dequeue(this,r.queue)},r},k.fn.extend({fadeTo:function(e,t,n,r){return this.filter(ye).css("opacity",0).show().end().animate({opacity:t},e,n,r)},animate:function(e,t,n,r){var o=k.isEmptyObject(e),i=k.speed(t,n,r),a=function(){var t=xt(this,k.extend({},e),i);(o||se.get(this,"finish"))&&t.stop(!0)};return a.finish=a,o||!1===i.queue?this.each(a):this.queue(i.queue,a)},stop:function(e,t,n){var r=function(e){var t=e.stop;delete e.stop,t(n)};return"string"!=typeof e&&(n=t,t=e,e=void 0),t&&this.queue(e||"fx",[]),this.each((function(){var t=!0,o=null!=e&&e+"queueHooks",i=k.timers,a=se.get(this);if(o)a[o]&&a[o].stop&&r(a[o]);else for(o in a)a[o]&&a[o].stop&&mt.test(o)&&r(a[o]);for(o=i.length;o--;)i[o].elem!==this||null!=e&&i[o].queue!==e||(i[o].anim.stop(n),t=!1,i.splice(o,1));!t&&n||k.dequeue(this,e)}))},finish:function(e){return!1!==e&&(e=e||"fx"),this.each((function(){var t,n=se.get(this),r=n[e+"queue"],o=n[e+"queueHooks"],i=k.timers,a=r?r.length:0;for(n.finish=!0,k.queue(this,e,[]),o&&o.stop&&o.stop.call(this,!0),t=i.length;t--;)i[t].elem===this&&i[t].queue===e&&(i[t].anim.stop(!0),i.splice(t,1));for(t=0;t<a;t++)r[t]&&r[t].finish&&r[t].finish.call(this);delete n.finish}))}}),k.each(["toggle","show","hide"],(function(e,t){var n=k.fn[t];k.fn[t]=function(e,r,o){return null==e||"boolean"==typeof e?n.apply(this,arguments):this.animate(yt(t,!0),e,r,o)}})),k.each({slideDown:yt("show"),slideUp:yt("hide"),slideToggle:yt("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},(function(e,t){k.fn[e]=function(e,n,r){return this.animate(t,e,n,r)}})),k.timers=[],k.fx.tick=function(){var e,t=0,n=k.timers;for(pt=Date.now();t<n.length;t++)(e=n[t])()||n[t]!==e||n.splice(t--,1);n.length||k.fx.stop(),pt=void 0},k.fx.timer=function(e){k.timers.push(e),k.fx.start()},k.fx.interval=13,k.fx.start=function(){ft||(ft=!0,gt())},k.fx.stop=function(){ft=null},k.fx.speeds={slow:600,fast:200,_default:400},k.fn.delay=function(e,t){return e=k.fx&&k.fx.speeds[e]||e,t=t||"fx",this.queue(t,(function(t,n){var o=r.setTimeout(t,e);n.stop=function(){r.clearTimeout(o)}}))},function(){var e=b.createElement("input"),t=b.createElement("select").appendChild(b.createElement("option"));e.type="checkbox",g.checkOn=""!==e.value,g.optSelected=t.selected,(e=b.createElement("input")).value="t",e.type="radio",g.radioValue="t"===e.value}();var wt,At=k.expr.attrHandle;k.fn.extend({attr:function(e,t){return ee(this,k.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each((function(){k.removeAttr(this,e)}))}}),k.extend({attr:function(e,t,n){var r,o,i=e.nodeType;if(3!==i&&8!==i&&2!==i)return void 0===e.getAttribute?k.prop(e,t,n):(1===i&&k.isXMLDoc(e)||(o=k.attrHooks[t.toLowerCase()]||(k.expr.match.bool.test(t)?wt:void 0)),void 0!==n?null===n?void k.removeAttr(e,t):o&&"set"in o&&void 0!==(r=o.set(e,n,t))?r:(e.setAttribute(t,n+""),n):o&&"get"in o&&null!==(r=o.get(e,t))?r:null==(r=k.find.attr(e,t))?void 0:r)},attrHooks:{type:{set:function(e,t){if(!g.radioValue&&"radio"===t&&T(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,r=0,o=t&&t.match(G);if(o&&1===e.nodeType)for(;n=o[r++];)e.removeAttribute(n)}}),wt={set:function(e,t,n){return!1===t?k.removeAttr(e,n):e.setAttribute(n,n),n}},k.each(k.expr.match.bool.source.match(/\w+/g),(function(e,t){var n=At[t]||k.find.attr;At[t]=function(e,t,r){var o,i,a=t.toLowerCase();return r||(i=At[a],At[a]=o,o=null!=n(e,t,r)?a:null,At[a]=i),o}}));var _t=/^(?:input|select|textarea|button)$/i,St=/^(?:a|area)$/i;function kt(e){return(e.match(G)||[]).join(" ")}function Ct(e){return e.getAttribute&&e.getAttribute("class")||""}function Tt(e){return Array.isArray(e)?e:"string"==typeof e&&e.match(G)||[]}k.fn.extend({prop:function(e,t){return ee(this,k.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each((function(){delete this[k.propFix[e]||e]}))}}),k.extend({prop:function(e,t,n){var r,o,i=e.nodeType;if(3!==i&&8!==i&&2!==i)return 1===i&&k.isXMLDoc(e)||(t=k.propFix[t]||t,o=k.propHooks[t]),void 0!==n?o&&"set"in o&&void 0!==(r=o.set(e,n,t))?r:e[t]=n:o&&"get"in o&&null!==(r=o.get(e,t))?r:e[t]},propHooks:{tabIndex:{get:function(e){var t=k.find.attr(e,"tabindex");return t?parseInt(t,10):_t.test(e.nodeName)||St.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),g.optSelected||(k.propHooks.selected={get:function(e){var t=e.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(e){var t=e.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}}),k.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],(function(){k.propFix[this.toLowerCase()]=this})),k.fn.extend({addClass:function(e){var t,n,r,o,i,a;return v(e)?this.each((function(t){k(this).addClass(e.call(this,t,Ct(this)))})):(t=Tt(e)).length?this.each((function(){if(r=Ct(this),n=1===this.nodeType&&" "+kt(r)+" "){for(i=0;i<t.length;i++)o=t[i],n.indexOf(" "+o+" ")<0&&(n+=o+" ");a=kt(n),r!==a&&this.setAttribute("class",a)}})):this},removeClass:function(e){var t,n,r,o,i,a;return v(e)?this.each((function(t){k(this).removeClass(e.call(this,t,Ct(this)))})):arguments.length?(t=Tt(e)).length?this.each((function(){if(r=Ct(this),n=1===this.nodeType&&" "+kt(r)+" "){for(i=0;i<t.length;i++)for(o=t[i];n.indexOf(" "+o+" ")>-1;)n=n.replace(" "+o+" "," ");a=kt(n),r!==a&&this.setAttribute("class",a)}})):this:this.attr("class","")},toggleClass:function(e,t){var n,r,o,i,a=typeof e,s="string"===a||Array.isArray(e);return v(e)?this.each((function(n){k(this).toggleClass(e.call(this,n,Ct(this),t),t)})):"boolean"==typeof t&&s?t?this.addClass(e):this.removeClass(e):(n=Tt(e),this.each((function(){if(s)for(i=k(this),o=0;o<n.length;o++)r=n[o],i.hasClass(r)?i.removeClass(r):i.addClass(r);else void 0!==e&&"boolean"!==a||((r=Ct(this))&&se.set(this,"__className__",r),this.setAttribute&&this.setAttribute("class",r||!1===e?"":se.get(this,"__className__")||""))})))},hasClass:function(e){var t,n,r=0;for(t=" "+e+" ";n=this[r++];)if(1===n.nodeType&&(" "+kt(Ct(n))+" ").indexOf(t)>-1)return!0;return!1}});var Mt=/\r/g;k.fn.extend({val:function(e){var t,n,r,o=this[0];return arguments.length?(r=v(e),this.each((function(n){var o;1===this.nodeType&&(null==(o=r?e.call(this,n,k(this).val()):e)?o="":"number"==typeof o?o+="":Array.isArray(o)&&(o=k.map(o,(function(e){return null==e?"":e+""}))),(t=k.valHooks[this.type]||k.valHooks[this.nodeName.toLowerCase()])&&"set"in t&&void 0!==t.set(this,o,"value")||(this.value=o))}))):o?(t=k.valHooks[o.type]||k.valHooks[o.nodeName.toLowerCase()])&&"get"in t&&void 0!==(n=t.get(o,"value"))?n:"string"==typeof(n=o.value)?n.replace(Mt,""):null==n?"":n:void 0}}),k.extend({valHooks:{option:{get:function(e){var t=k.find.attr(e,"value");return null!=t?t:kt(k.text(e))}},select:{get:function(e){var t,n,r,o=e.options,i=e.selectedIndex,a="select-one"===e.type,s=a?null:[],l=a?i+1:o.length;for(r=i<0?l:a?i:0;r<l;r++)if(((n=o[r]).selected||r===i)&&!n.disabled&&(!n.parentNode.disabled||!T(n.parentNode,"optgroup"))){if(t=k(n).val(),a)return t;s.push(t)}return s},set:function(e,t){for(var n,r,o=e.options,i=k.makeArray(t),a=o.length;a--;)((r=o[a]).selected=k.inArray(k.valHooks.option.get(r),i)>-1)&&(n=!0);return n||(e.selectedIndex=-1),i}}}}),k.each(["radio","checkbox"],(function(){k.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=k.inArray(k(e).val(),t)>-1}},g.checkOn||(k.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})}));var Pt=r.location,Ot={guid:Date.now()},Et=/\?/;k.parseXML=function(e){var t,n;if(!e||"string"!=typeof e)return null;try{t=(new r.DOMParser).parseFromString(e,"text/xml")}catch(e){}return n=t&&t.getElementsByTagName("parsererror")[0],t&&!n||k.error("Invalid XML: "+(n?k.map(n.childNodes,(function(e){return e.textContent})).join("\n"):e)),t};var Dt=/^(?:focusinfocus|focusoutblur)$/,Rt=function(e){e.stopPropagation()};k.extend(k.event,{trigger:function(e,t,n,o){var i,a,s,l,c,u,d,p,h=[n||b],m=f.call(e,"type")?e.type:e,g=f.call(e,"namespace")?e.namespace.split("."):[];if(a=p=s=n=n||b,3!==n.nodeType&&8!==n.nodeType&&!Dt.test(m+k.event.triggered)&&(m.indexOf(".")>-1&&(g=m.split("."),m=g.shift(),g.sort()),c=m.indexOf(":")<0&&"on"+m,(e=e[k.expando]?e:new k.Event(m,"object"==typeof e&&e)).isTrigger=o?2:3,e.namespace=g.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+g.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=n),t=null==t?[e]:k.makeArray(t,[e]),d=k.event.special[m]||{},o||!d.trigger||!1!==d.trigger.apply(n,t))){if(!o&&!d.noBubble&&!y(n)){for(l=d.delegateType||m,Dt.test(l+m)||(a=a.parentNode);a;a=a.parentNode)h.push(a),s=a;s===(n.ownerDocument||b)&&h.push(s.defaultView||s.parentWindow||r)}for(i=0;(a=h[i++])&&!e.isPropagationStopped();)p=a,e.type=i>1?l:d.bindType||m,(u=(se.get(a,"events")||Object.create(null))[e.type]&&se.get(a,"handle"))&&u.apply(a,t),(u=c&&a[c])&&u.apply&&ie(a)&&(e.result=u.apply(a,t),!1===e.result&&e.preventDefault());return e.type=m,o||e.isDefaultPrevented()||d._default&&!1!==d._default.apply(h.pop(),t)||!ie(n)||c&&v(n[m])&&!y(n)&&((s=n[c])&&(n[c]=null),k.event.triggered=m,e.isPropagationStopped()&&p.addEventListener(m,Rt),n[m](),e.isPropagationStopped()&&p.removeEventListener(m,Rt),k.event.triggered=void 0,s&&(n[c]=s)),e.result}},simulate:function(e,t,n){var r=k.extend(new k.Event,n,{type:e,isSimulated:!0});k.event.trigger(r,null,t)}}),k.fn.extend({trigger:function(e,t){return this.each((function(){k.event.trigger(e,t,this)}))},triggerHandler:function(e,t){var n=this[0];if(n)return k.event.trigger(e,t,n,!0)}});var It=/\[\]$/,Nt=/\r?\n/g,Lt=/^(?:submit|button|image|reset|file)$/i,jt=/^(?:input|select|textarea|keygen)/i;function $t(e,t,n,r){var o;if(Array.isArray(t))k.each(t,(function(t,o){n||It.test(e)?r(e,o):$t(e+"["+("object"==typeof o&&null!=o?t:"")+"]",o,n,r)}));else if(n||"object"!==A(t))r(e,t);else for(o in t)$t(e+"["+o+"]",t[o],n,r)}k.param=function(e,t){var n,r=[],o=function(e,t){var n=v(t)?t():t;r[r.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==n?"":n)};if(null==e)return"";if(Array.isArray(e)||e.jquery&&!k.isPlainObject(e))k.each(e,(function(){o(this.name,this.value)}));else for(n in e)$t(n,e[n],t,o);return r.join("&")},k.fn.extend({serialize:function(){return k.param(this.serializeArray())},serializeArray:function(){return this.map((function(){var e=k.prop(this,"elements");return e?k.makeArray(e):this})).filter((function(){var e=this.type;return this.name&&!k(this).is(":disabled")&&jt.test(this.nodeName)&&!Lt.test(e)&&(this.checked||!ke.test(e))})).map((function(e,t){var n=k(this).val();return null==n?null:Array.isArray(n)?k.map(n,(function(e){return{name:t.name,value:e.replace(Nt,"\r\n")}})):{name:t.name,value:n.replace(Nt,"\r\n")}})).get()}});var zt=/%20/g,Ft=/#.*$/,Bt=/([?&])_=[^&]*/,Ht=/^(.*?):[ \t]*([^\r\n]*)$/gm,Vt=/^(?:GET|HEAD)$/,Wt=/^\/\//,Ut={},qt={},Gt="*/".concat("*"),Yt=b.createElement("a");function Xt(e){return function(t,n){"string"!=typeof t&&(n=t,t="*");var r,o=0,i=t.toLowerCase().match(G)||[];if(v(n))for(;r=i[o++];)"+"===r[0]?(r=r.slice(1)||"*",(e[r]=e[r]||[]).unshift(n)):(e[r]=e[r]||[]).push(n)}}function Kt(e,t,n,r){var o={},i=e===qt;function a(s){var l;return o[s]=!0,k.each(e[s]||[],(function(e,s){var c=s(t,n,r);return"string"!=typeof c||i||o[c]?i?!(l=c):void 0:(t.dataTypes.unshift(c),a(c),!1)})),l}return a(t.dataTypes[0])||!o["*"]&&a("*")}function Zt(e,t){var n,r,o=k.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&&((o[n]?e:r||(r={}))[n]=t[n]);return r&&k.extend(!0,e,r),e}Yt.href=Pt.href,k.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Pt.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(Pt.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Gt,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":k.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?Zt(Zt(e,k.ajaxSettings),t):Zt(k.ajaxSettings,e)},ajaxPrefilter:Xt(Ut),ajaxTransport:Xt(qt),ajax:function(e,t){"object"==typeof e&&(t=e,e=void 0),t=t||{};var n,o,i,a,s,l,c,u,d,p,f=k.ajaxSetup({},t),h=f.context||f,m=f.context&&(h.nodeType||h.jquery)?k(h):k.event,g=k.Deferred(),v=k.Callbacks("once memory"),y=f.statusCode||{},x={},w={},A="canceled",_={readyState:0,getResponseHeader:function(e){var t;if(c){if(!a)for(a={};t=Ht.exec(i);)a[t[1].toLowerCase()+" "]=(a[t[1].toLowerCase()+" "]||[]).concat(t[2]);t=a[e.toLowerCase()+" "]}return null==t?null:t.join(", ")},getAllResponseHeaders:function(){return c?i:null},setRequestHeader:function(e,t){return null==c&&(e=w[e.toLowerCase()]=w[e.toLowerCase()]||e,x[e]=t),this},overrideMimeType:function(e){return null==c&&(f.mimeType=e),this},statusCode:function(e){var t;if(e)if(c)_.always(e[_.status]);else for(t in e)y[t]=[y[t],e[t]];return this},abort:function(e){var t=e||A;return n&&n.abort(t),S(0,t),this}};if(g.promise(_),f.url=((e||f.url||Pt.href)+"").replace(Wt,Pt.protocol+"//"),f.type=t.method||t.type||f.method||f.type,f.dataTypes=(f.dataType||"*").toLowerCase().match(G)||[""],null==f.crossDomain){l=b.createElement("a");try{l.href=f.url,l.href=l.href,f.crossDomain=Yt.protocol+"//"+Yt.host!=l.protocol+"//"+l.host}catch(e){f.crossDomain=!0}}if(f.data&&f.processData&&"string"!=typeof f.data&&(f.data=k.param(f.data,f.traditional)),Kt(Ut,f,t,_),c)return _;for(d in(u=k.event&&f.global)&&0==k.active++&&k.event.trigger("ajaxStart"),f.type=f.type.toUpperCase(),f.hasContent=!Vt.test(f.type),o=f.url.replace(Ft,""),f.hasContent?f.data&&f.processData&&0===(f.contentType||"").indexOf("application/x-www-form-urlencoded")&&(f.data=f.data.replace(zt,"+")):(p=f.url.slice(o.length),f.data&&(f.processData||"string"==typeof f.data)&&(o+=(Et.test(o)?"&":"?")+f.data,delete f.data),!1===f.cache&&(o=o.replace(Bt,"$1"),p=(Et.test(o)?"&":"?")+"_="+Ot.guid+++p),f.url=o+p),f.ifModified&&(k.lastModified[o]&&_.setRequestHeader("If-Modified-Since",k.lastModified[o]),k.etag[o]&&_.setRequestHeader("If-None-Match",k.etag[o])),(f.data&&f.hasContent&&!1!==f.contentType||t.contentType)&&_.setRequestHeader("Content-Type",f.contentType),_.setRequestHeader("Accept",f.dataTypes[0]&&f.accepts[f.dataTypes[0]]?f.accepts[f.dataTypes[0]]+("*"!==f.dataTypes[0]?", "+Gt+"; q=0.01":""):f.accepts["*"]),f.headers)_.setRequestHeader(d,f.headers[d]);if(f.beforeSend&&(!1===f.beforeSend.call(h,_,f)||c))return _.abort();if(A="abort",v.add(f.complete),_.done(f.success),_.fail(f.error),n=Kt(qt,f,t,_)){if(_.readyState=1,u&&m.trigger("ajaxSend",[_,f]),c)return _;f.async&&f.timeout>0&&(s=r.setTimeout((function(){_.abort("timeout")}),f.timeout));try{c=!1,n.send(x,S)}catch(e){if(c)throw e;S(-1,e)}}else S(-1,"No Transport");function S(e,t,a,l){var d,p,b,x,w,A=t;c||(c=!0,s&&r.clearTimeout(s),n=void 0,i=l||"",_.readyState=e>0?4:0,d=e>=200&&e<300||304===e,a&&(x=function(e,t,n){for(var r,o,i,a,s=e.contents,l=e.dataTypes;"*"===l[0];)l.shift(),void 0===r&&(r=e.mimeType||t.getResponseHeader("Content-Type"));if(r)for(o in s)if(s[o]&&s[o].test(r)){l.unshift(o);break}if(l[0]in n)i=l[0];else{for(o in n){if(!l[0]||e.converters[o+" "+l[0]]){i=o;break}a||(a=o)}i=i||a}if(i)return i!==l[0]&&l.unshift(i),n[i]}(f,_,a)),!d&&k.inArray("script",f.dataTypes)>-1&&k.inArray("json",f.dataTypes)<0&&(f.converters["text script"]=function(){}),x=function(e,t,n,r){var o,i,a,s,l,c={},u=e.dataTypes.slice();if(u[1])for(a in e.converters)c[a.toLowerCase()]=e.converters[a];for(i=u.shift();i;)if(e.responseFields[i]&&(n[e.responseFields[i]]=t),!l&&r&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),l=i,i=u.shift())if("*"===i)i=l;else if("*"!==l&&l!==i){if(!(a=c[l+" "+i]||c["* "+i]))for(o in c)if((s=o.split(" "))[1]===i&&(a=c[l+" "+s[0]]||c["* "+s[0]])){!0===a?a=c[o]:!0!==c[o]&&(i=s[0],u.unshift(s[1]));break}if(!0!==a)if(a&&e.throws)t=a(t);else try{t=a(t)}catch(e){return{state:"parsererror",error:a?e:"No conversion from "+l+" to "+i}}}return{state:"success",data:t}}(f,x,_,d),d?(f.ifModified&&((w=_.getResponseHeader("Last-Modified"))&&(k.lastModified[o]=w),(w=_.getResponseHeader("etag"))&&(k.etag[o]=w)),204===e||"HEAD"===f.type?A="nocontent":304===e?A="notmodified":(A=x.state,p=x.data,d=!(b=x.error))):(b=A,!e&&A||(A="error",e<0&&(e=0))),_.status=e,_.statusText=(t||A)+"",d?g.resolveWith(h,[p,A,_]):g.rejectWith(h,[_,A,b]),_.statusCode(y),y=void 0,u&&m.trigger(d?"ajaxSuccess":"ajaxError",[_,f,d?p:b]),v.fireWith(h,[_,A]),u&&(m.trigger("ajaxComplete",[_,f]),--k.active||k.event.trigger("ajaxStop")))}return _},getJSON:function(e,t,n){return k.get(e,t,n,"json")},getScript:function(e,t){return k.get(e,void 0,t,"script")}}),k.each(["get","post"],(function(e,t){k[t]=function(e,n,r,o){return v(n)&&(o=o||r,r=n,n=void 0),k.ajax(k.extend({url:e,type:t,dataType:o,data:n,success:r},k.isPlainObject(e)&&e))}})),k.ajaxPrefilter((function(e){var t;for(t in e.headers)"content-type"===t.toLowerCase()&&(e.contentType=e.headers[t]||"")})),k._evalUrl=function(e,t,n){return k.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(e){k.globalEval(e,t,n)}})},k.fn.extend({wrapAll:function(e){var t;return this[0]&&(v(e)&&(e=e.call(this[0])),t=k(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map((function(){for(var e=this;e.firstElementChild;)e=e.firstElementChild;return e})).append(this)),this},wrapInner:function(e){return v(e)?this.each((function(t){k(this).wrapInner(e.call(this,t))})):this.each((function(){var t=k(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)}))},wrap:function(e){var t=v(e);return this.each((function(n){k(this).wrapAll(t?e.call(this,n):e)}))},unwrap:function(e){return this.parent(e).not("body").each((function(){k(this).replaceWith(this.childNodes)})),this}}),k.expr.pseudos.hidden=function(e){return!k.expr.pseudos.visible(e)},k.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},k.ajaxSettings.xhr=function(){try{return new r.XMLHttpRequest}catch(e){}};var Jt={0:200,1223:204},Qt=k.ajaxSettings.xhr();g.cors=!!Qt&&"withCredentials"in Qt,g.ajax=Qt=!!Qt,k.ajaxTransport((function(e){var t,n;if(g.cors||Qt&&!e.crossDomain)return{send:function(o,i){var a,s=e.xhr();if(s.open(e.type,e.url,e.async,e.username,e.password),e.xhrFields)for(a in e.xhrFields)s[a]=e.xhrFields[a];for(a in e.mimeType&&s.overrideMimeType&&s.overrideMimeType(e.mimeType),e.crossDomain||o["X-Requested-With"]||(o["X-Requested-With"]="XMLHttpRequest"),o)s.setRequestHeader(a,o[a]);t=function(e){return function(){t&&(t=n=s.onload=s.onerror=s.onabort=s.ontimeout=s.onreadystatechange=null,"abort"===e?s.abort():"error"===e?"number"!=typeof s.status?i(0,"error"):i(s.status,s.statusText):i(Jt[s.status]||s.status,s.statusText,"text"!==(s.responseType||"text")||"string"!=typeof s.responseText?{binary:s.response}:{text:s.responseText},s.getAllResponseHeaders()))}},s.onload=t(),n=s.onerror=s.ontimeout=t("error"),void 0!==s.onabort?s.onabort=n:s.onreadystatechange=function(){4===s.readyState&&r.setTimeout((function(){t&&n()}))},t=t("abort");try{s.send(e.hasContent&&e.data||null)}catch(e){if(t)throw e}},abort:function(){t&&t()}}})),k.ajaxPrefilter((function(e){e.crossDomain&&(e.contents.script=!1)})),k.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return k.globalEval(e),e}}}),k.ajaxPrefilter("script",(function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")})),k.ajaxTransport("script",(function(e){var t,n;if(e.crossDomain||e.scriptAttrs)return{send:function(r,o){t=k("<script>").attr(e.scriptAttrs||{}).prop({charset:e.scriptCharset,src:e.url}).on("load error",n=function(e){t.remove(),n=null,e&&o("error"===e.type?404:200,e.type)}),b.head.appendChild(t[0])},abort:function(){n&&n()}}}));var en,tn=[],nn=/(=)\?(?=&|$)|\?\?/;k.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=tn.pop()||k.expando+"_"+Ot.guid++;return this[e]=!0,e}}),k.ajaxPrefilter("json jsonp",(function(e,t,n){var o,i,a,s=!1!==e.jsonp&&(nn.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&nn.test(e.data)&&"data");if(s||"jsonp"===e.dataTypes[0])return o=e.jsonpCallback=v(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,s?e[s]=e[s].replace(nn,"$1"+o):!1!==e.jsonp&&(e.url+=(Et.test(e.url)?"&":"?")+e.jsonp+"="+o),e.converters["script json"]=function(){return a||k.error(o+" was not called"),a[0]},e.dataTypes[0]="json",i=r[o],r[o]=function(){a=arguments},n.always((function(){void 0===i?k(r).removeProp(o):r[o]=i,e[o]&&(e.jsonpCallback=t.jsonpCallback,tn.push(o)),a&&v(i)&&i(a[0]),a=i=void 0})),"script"})),g.createHTMLDocument=((en=b.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>",2===en.childNodes.length),k.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(g.createHTMLDocument?((r=(t=b.implementation.createHTMLDocument("")).createElement("base")).href=b.location.href,t.head.appendChild(r)):t=b),i=!n&&[],(o=F.exec(e))?[t.createElement(o[1])]:(o=De([e],t,i),i&&i.length&&k(i).remove(),k.merge([],o.childNodes)));var r,o,i},k.fn.load=function(e,t,n){var r,o,i,a=this,s=e.indexOf(" ");return s>-1&&(r=kt(e.slice(s)),e=e.slice(0,s)),v(t)?(n=t,t=void 0):t&&"object"==typeof t&&(o="POST"),a.length>0&&k.ajax({url:e,type:o||"GET",dataType:"html",data:t}).done((function(e){i=arguments,a.html(r?k("<div>").append(k.parseHTML(e)).find(r):e)})).always(n&&function(e,t){a.each((function(){n.apply(this,i||[e.responseText,t,e])}))}),this},k.expr.pseudos.animated=function(e){return k.grep(k.timers,(function(t){return e===t.elem})).length},k.offset={setOffset:function(e,t,n){var r,o,i,a,s,l,c=k.css(e,"position"),u=k(e),d={};"static"===c&&(e.style.position="relative"),s=u.offset(),i=k.css(e,"top"),l=k.css(e,"left"),("absolute"===c||"fixed"===c)&&(i+l).indexOf("auto")>-1?(a=(r=u.position()).top,o=r.left):(a=parseFloat(i)||0,o=parseFloat(l)||0),v(t)&&(t=t.call(e,n,k.extend({},s))),null!=t.top&&(d.top=t.top-s.top+a),null!=t.left&&(d.left=t.left-s.left+o),"using"in t?t.using.call(e,d):u.css(d)}},k.fn.extend({offset:function(e){if(arguments.length)return void 0===e?this:this.each((function(t){k.offset.setOffset(this,e,t)}));var t,n,r=this[0];return r?r.getClientRects().length?(t=r.getBoundingClientRect(),n=r.ownerDocument.defaultView,{top:t.top+n.pageYOffset,left:t.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n,r=this[0],o={top:0,left:0};if("fixed"===k.css(r,"position"))t=r.getBoundingClientRect();else{for(t=this.offset(),n=r.ownerDocument,e=r.offsetParent||n.documentElement;e&&(e===n.body||e===n.documentElement)&&"static"===k.css(e,"position");)e=e.parentNode;e&&e!==r&&1===e.nodeType&&((o=k(e).offset()).top+=k.css(e,"borderTopWidth",!0),o.left+=k.css(e,"borderLeftWidth",!0))}return{top:t.top-o.top-k.css(r,"marginTop",!0),left:t.left-o.left-k.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map((function(){for(var e=this.offsetParent;e&&"static"===k.css(e,"position");)e=e.offsetParent;return e||me}))}}),k.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},(function(e,t){var n="pageYOffset"===t;k.fn[e]=function(r){return ee(this,(function(e,r,o){var i;if(y(e)?i=e:9===e.nodeType&&(i=e.defaultView),void 0===o)return i?i[t]:e[r];i?i.scrollTo(n?i.pageXOffset:o,n?o:i.pageYOffset):e[r]=o}),e,r,arguments.length)}})),k.each(["top","left"],(function(e,t){k.cssHooks[t]=et(g.pixelPosition,(function(e,n){if(n)return n=Qe(e,t),Ye.test(n)?k(e).position()[t]+"px":n}))})),k.each({Height:"height",Width:"width"},(function(e,t){k.each({padding:"inner"+e,content:t,"":"outer"+e},(function(n,r){k.fn[r]=function(o,i){var a=arguments.length&&(n||"boolean"!=typeof o),s=n||(!0===o||!0===i?"margin":"border");return ee(this,(function(t,n,o){var i;return y(t)?0===r.indexOf("outer")?t["inner"+e]:t.document.documentElement["client"+e]:9===t.nodeType?(i=t.documentElement,Math.max(t.body["scroll"+e],i["scroll"+e],t.body["offset"+e],i["offset"+e],i["client"+e])):void 0===o?k.css(t,n,s):k.style(t,n,o,s)}),t,a?o:void 0,a)}}))})),k.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],(function(e,t){k.fn[t]=function(e){return this.on(t,e)}})),k.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)},hover:function(e,t){return this.on("mouseenter",e).on("mouseleave",t||e)}}),k.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),(function(e,t){k.fn[t]=function(e,n){return arguments.length>0?this.on(t,null,e,n):this.trigger(t)}}));var rn=/^[\s\uFEFF\xA0]+|([^\s\uFEFF\xA0])[\s\uFEFF\xA0]+$/g;k.proxy=function(e,t){var n,r,o;if("string"==typeof t&&(n=e[t],t=e,e=n),v(e))return r=s.call(arguments,2),o=function(){return e.apply(t||this,r.concat(s.call(arguments)))},o.guid=e.guid=e.guid||k.guid++,o},k.holdReady=function(e){e?k.readyWait++:k.ready(!0)},k.isArray=Array.isArray,k.parseJSON=JSON.parse,k.nodeName=T,k.isFunction=v,k.isWindow=y,k.camelCase=oe,k.type=A,k.now=Date.now,k.isNumeric=function(e){var t=k.type(e);return("number"===t||"string"===t)&&!isNaN(e-parseFloat(e))},k.trim=function(e){return null==e?"":(e+"").replace(rn,"$1")},void 0===(n=function(){return k}.apply(t,[]))||(e.exports=n);var on=r.jQuery,an=r.$;return k.noConflict=function(e){return r.$===k&&(r.$=an),e&&r.jQuery===k&&(r.jQuery=on),k},void 0===o&&(r.jQuery=r.$=k),k}))},27571:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(45431),o=r.default||r;t.default=function(e){var t=void 0===e?{}:e,n=t.enabled,r=void 0===n||n,i=t.opt,a=void 0===i?"out":i;return{onProcessStyle:function(e,t,n){if("font-face"===t.type)return e;if(!r)return"boolean"==typeof e.flip&&delete e.flip,e;var i="out"===a;return"boolean"==typeof n.options.flip&&(i=n.options.flip),"boolean"==typeof e.flip&&(i=e.flip,delete e.flip),i?o("function"==typeof t.toJSON?t.toJSON():e):e}}}},49691:function(e,t,n){"use strict";n.r(t),n.d(t,{RuleList:function(){return Z},SheetsManager:function(){return xe},SheetsRegistry:function(){return ee},create:function(){return be},createGenerateId:function(){return ie},createRule:function(){return h},default:function(){return _e},getDynamicStyles:function(){return Ae},hasCSSTOMSupport:function(){return we},sheets:function(){return te},toCssValue:function(){return g}});var r=n(58168),o=n(94175);var i=function(e,t){},a=n(59526);function s(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,(0,a.A)(r.key),r)}}function l(e,t,n){return t&&s(e.prototype,t),n&&s(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}var c=n(25540),u=n(9417),d=n(98587),p={}.constructor;function f(e){if(null==e||"object"!=typeof e)return e;if(Array.isArray(e))return e.map(f);if(e.constructor!==p)return e;var t={};for(var n in e)t[n]=f(e[n]);return t}function h(e,t,n){void 0===e&&(e="unnamed");var r=n.jss,o=f(t),i=r.plugins.onCreateRule(e,o,n);return i||(e[0],null)}var m=function(e,t){for(var n="",r=0;r<e.length&&"!important"!==e[r];r++)n&&(n+=t),n+=e[r];return n},g=function(e){if(!Array.isArray(e))return e;var t="";if(Array.isArray(e[0]))for(var n=0;n<e.length&&"!important"!==e[n];n++)t&&(t+=", "),t+=m(e[n]," ");else t=m(e,", ");return"!important"===e[e.length-1]&&(t+=" !important"),t};function v(e){return e&&!1===e.format?{linebreak:"",space:""}:{linebreak:"\n",space:" "}}function y(e,t){for(var n="",r=0;r<t;r++)n+=" ";return n+e}function b(e,t,n){void 0===n&&(n={});var r="";if(!t)return r;var o=n.indent,i=void 0===o?0:o,a=t.fallbacks;!1===n.format&&(i=-1/0);var s=v(n),l=s.linebreak,c=s.space;if(e&&i++,a)if(Array.isArray(a))for(var u=0;u<a.length;u++){var d=a[u];for(var p in d){var f=d[p];null!=f&&(r&&(r+=l),r+=y(p+":"+c+g(f)+";",i))}}else for(var h in a){var m=a[h];null!=m&&(r&&(r+=l),r+=y(h+":"+c+g(m)+";",i))}for(var b in t){var x=t[b];null!=x&&"fallbacks"!==b&&(r&&(r+=l),r+=y(b+":"+c+g(x)+";",i))}return(r||n.allowEmpty)&&e?(r&&(r=""+l+r+l),y(""+e+c+"{"+r,--i)+y("}",i)):r}var x=/([[\].#*$><+~=|^:(),"'`\s])/g,w="undefined"!=typeof CSS&&CSS.escape,A=function(e){return w?w(e):e.replace(x,"\\$1")},_=function(){function e(e,t,n){this.type="style",this.isProcessed=!1;var r=n.sheet,o=n.Renderer;this.key=e,this.options=n,this.style=t,r?this.renderer=r.renderer:o&&(this.renderer=new o)}return e.prototype.prop=function(e,t,n){if(void 0===t)return this.style[e];var r=!!n&&n.force;if(!r&&this.style[e]===t)return this;var o=t;n&&!1===n.process||(o=this.options.jss.plugins.onChangeValue(t,e,this));var i=null==o||!1===o,a=e in this.style;if(i&&!a&&!r)return this;var s=i&&a;if(s?delete this.style[e]:this.style[e]=o,this.renderable&&this.renderer)return s?this.renderer.removeProperty(this.renderable,e):this.renderer.setProperty(this.renderable,e,o),this;var l=this.options.sheet;return l&&l.attached,this},e}(),S=function(e){function t(t,n,r){var o;o=e.call(this,t,n,r)||this;var i=r.selector,a=r.scoped,s=r.sheet,l=r.generateId;return i?o.selectorText=i:!1!==a&&(o.id=l((0,u.A)((0,u.A)(o)),s),o.selectorText="."+A(o.id)),o}(0,c.A)(t,e);var n=t.prototype;return n.applyTo=function(e){var t=this.renderer;if(t){var n=this.toJSON();for(var r in n)t.setProperty(e,r,n[r])}return this},n.toJSON=function(){var e={};for(var t in this.style){var n=this.style[t];"object"!=typeof n?e[t]=n:Array.isArray(n)&&(e[t]=g(n))}return e},n.toString=function(e){var t=this.options.sheet,n=!!t&&t.options.link?(0,r.A)({},e,{allowEmpty:!0}):e;return b(this.selectorText,this.style,n)},l(t,[{key:"selector",set:function(e){if(e!==this.selectorText){this.selectorText=e;var t=this.renderer,n=this.renderable;if(n&&t)t.setSelector(n,e)||t.replaceRule(n,this)}},get:function(){return this.selectorText}}]),t}(_),k={onCreateRule:function(e,t,n){return"@"===e[0]||n.parent&&"keyframes"===n.parent.type?null:new S(e,t,n)}},C={indent:1,children:!0},T=/@([\w-]+)/,M=function(){function e(e,t,n){this.type="conditional",this.isProcessed=!1,this.key=e;var o=e.match(T);for(var i in this.at=o?o[1]:"unknown",this.query=n.name||"@"+this.at,this.options=n,this.rules=new Z((0,r.A)({},n,{parent:this})),t)this.rules.add(i,t[i]);this.rules.process()}var t=e.prototype;return t.getRule=function(e){return this.rules.get(e)},t.indexOf=function(e){return this.rules.indexOf(e)},t.addRule=function(e,t,n){var r=this.rules.add(e,t,n);return r?(this.options.jss.plugins.onProcessRule(r),r):null},t.replaceRule=function(e,t,n){var r=this.rules.replace(e,t,n);return r&&this.options.jss.plugins.onProcessRule(r),r},t.toString=function(e){void 0===e&&(e=C);var t=v(e).linebreak;if(null==e.indent&&(e.indent=C.indent),null==e.children&&(e.children=C.children),!1===e.children)return this.query+" {}";var n=this.rules.toString(e);return n?this.query+" {"+t+n+t+"}":""},e}(),P=/@container|@media|@supports\s+/,O={onCreateRule:function(e,t,n){return P.test(e)?new M(e,t,n):null}},E={indent:1,children:!0},D=/@keyframes\s+([\w-]+)/,R=function(){function e(e,t,n){this.type="keyframes",this.at="@keyframes",this.isProcessed=!1;var o=e.match(D);o&&o[1]?this.name=o[1]:this.name="noname",this.key=this.type+"-"+this.name,this.options=n;var i=n.scoped,a=n.sheet,s=n.generateId;for(var l in this.id=!1===i?this.name:A(s(this,a)),this.rules=new Z((0,r.A)({},n,{parent:this})),t)this.rules.add(l,t[l],(0,r.A)({},n,{parent:this}));this.rules.process()}return e.prototype.toString=function(e){void 0===e&&(e=E);var t=v(e).linebreak;if(null==e.indent&&(e.indent=E.indent),null==e.children&&(e.children=E.children),!1===e.children)return this.at+" "+this.id+" {}";var n=this.rules.toString(e);return n&&(n=""+t+n+t),this.at+" "+this.id+" {"+n+"}"},e}(),I=/@keyframes\s+/,N=/\$([\w-]+)/g,L=function(e,t){return"string"==typeof e?e.replace(N,(function(e,n){return n in t?t[n]:e})):e},j=function(e,t,n){var r=e[t],o=L(r,n);o!==r&&(e[t]=o)},$={onCreateRule:function(e,t,n){return"string"==typeof e&&I.test(e)?new R(e,t,n):null},onProcessStyle:function(e,t,n){return"style"===t.type&&n?("animation-name"in e&&j(e,"animation-name",n.keyframes),"animation"in e&&j(e,"animation",n.keyframes),e):e},onChangeValue:function(e,t,n){var r=n.options.sheet;if(!r)return e;switch(t){case"animation":case"animation-name":return L(e,r.keyframes);default:return e}}},z=function(e){function t(){return e.apply(this,arguments)||this}return(0,c.A)(t,e),t.prototype.toString=function(e){var t=this.options.sheet,n=!!t&&t.options.link?(0,r.A)({},e,{allowEmpty:!0}):e;return b(this.key,this.style,n)},t}(_),F={onCreateRule:function(e,t,n){return n.parent&&"keyframes"===n.parent.type?new z(e,t,n):null}},B=function(){function e(e,t,n){this.type="font-face",this.at="@font-face",this.isProcessed=!1,this.key=e,this.style=t,this.options=n}return e.prototype.toString=function(e){var t=v(e).linebreak;if(Array.isArray(this.style)){for(var n="",r=0;r<this.style.length;r++)n+=b(this.at,this.style[r]),this.style[r+1]&&(n+=t);return n}return b(this.at,this.style,e)},e}(),H=/@font-face/,V={onCreateRule:function(e,t,n){return H.test(e)?new B(e,t,n):null}},W=function(){function e(e,t,n){this.type="viewport",this.at="@viewport",this.isProcessed=!1,this.key=e,this.style=t,this.options=n}return e.prototype.toString=function(e){return b(this.key,this.style,e)},e}(),U={onCreateRule:function(e,t,n){return"@viewport"===e||"@-ms-viewport"===e?new W(e,t,n):null}},q=function(){function e(e,t,n){this.type="simple",this.isProcessed=!1,this.key=e,this.value=t,this.options=n}return e.prototype.toString=function(e){if(Array.isArray(this.value)){for(var t="",n=0;n<this.value.length;n++)t+=this.key+" "+this.value[n]+";",this.value[n+1]&&(t+="\n");return t}return this.key+" "+this.value+";"},e}(),G={"@charset":!0,"@import":!0,"@namespace":!0},Y=[k,O,$,F,V,U,{onCreateRule:function(e,t,n){return e in G?new q(e,t,n):null}}],X={process:!0},K={force:!0,process:!0},Z=function(){function e(e){this.map={},this.raw={},this.index=[],this.counter=0,this.options=e,this.classes=e.classes,this.keyframes=e.keyframes}var t=e.prototype;return t.add=function(e,t,n){var o=this.options,i=o.parent,a=o.sheet,s=o.jss,l=o.Renderer,c=o.generateId,u=o.scoped,d=(0,r.A)({classes:this.classes,parent:i,sheet:a,jss:s,Renderer:l,generateId:c,scoped:u,name:e,keyframes:this.keyframes,selector:void 0},n),p=e;e in this.raw&&(p=e+"-d"+this.counter++),this.raw[p]=t,p in this.classes&&(d.selector="."+A(this.classes[p]));var f=h(p,t,d);if(!f)return null;this.register(f);var m=void 0===d.index?this.index.length:d.index;return this.index.splice(m,0,f),f},t.replace=function(e,t,n){var o=this.get(e),i=this.index.indexOf(o);o&&this.remove(o);var a=n;return-1!==i&&(a=(0,r.A)({},n,{index:i})),this.add(e,t,a)},t.get=function(e){return this.map[e]},t.remove=function(e){this.unregister(e),delete this.raw[e.key],this.index.splice(this.index.indexOf(e),1)},t.indexOf=function(e){return this.index.indexOf(e)},t.process=function(){var e=this.options.jss.plugins;this.index.slice(0).forEach(e.onProcessRule,e)},t.register=function(e){this.map[e.key]=e,e instanceof S?(this.map[e.selector]=e,e.id&&(this.classes[e.key]=e.id)):e instanceof R&&this.keyframes&&(this.keyframes[e.name]=e.id)},t.unregister=function(e){delete this.map[e.key],e instanceof S?(delete this.map[e.selector],delete this.classes[e.key]):e instanceof R&&delete this.keyframes[e.name]},t.update=function(){var e,t,n;if("string"==typeof(arguments.length<=0?void 0:arguments[0])?(e=arguments.length<=0?void 0:arguments[0],t=arguments.length<=1?void 0:arguments[1],n=arguments.length<=2?void 0:arguments[2]):(t=arguments.length<=0?void 0:arguments[0],n=arguments.length<=1?void 0:arguments[1],e=null),e)this.updateOne(this.get(e),t,n);else for(var r=0;r<this.index.length;r++)this.updateOne(this.index[r],t,n)},t.updateOne=function(t,n,r){void 0===r&&(r=X);var o=this.options,i=o.jss.plugins,a=o.sheet;if(t.rules instanceof e)t.rules.update(n,r);else{var s=t.style;if(i.onUpdate(n,t,a,r),r.process&&s&&s!==t.style){for(var l in i.onProcessStyle(t.style,t,a),t.style){var c=t.style[l];c!==s[l]&&t.prop(l,c,K)}for(var u in s){var d=t.style[u],p=s[u];null==d&&d!==p&&t.prop(u,null,K)}}}},t.toString=function(e){for(var t="",n=this.options.sheet,r=!!n&&n.options.link,o=v(e).linebreak,i=0;i<this.index.length;i++){var a=this.index[i].toString(e);(a||r)&&(t&&(t+=o),t+=a)}return t},e}(),J=function(){function e(e,t){for(var n in this.attached=!1,this.deployed=!1,this.classes={},this.keyframes={},this.options=(0,r.A)({},t,{sheet:this,parent:this,classes:this.classes,keyframes:this.keyframes}),t.Renderer&&(this.renderer=new t.Renderer(this)),this.rules=new Z(this.options),e)this.rules.add(n,e[n]);this.rules.process()}var t=e.prototype;return t.attach=function(){return this.attached||(this.renderer&&this.renderer.attach(),this.attached=!0,this.deployed||this.deploy()),this},t.detach=function(){return this.attached?(this.renderer&&this.renderer.detach(),this.attached=!1,this):this},t.addRule=function(e,t,n){var r=this.queue;this.attached&&!r&&(this.queue=[]);var o=this.rules.add(e,t,n);return o?(this.options.jss.plugins.onProcessRule(o),this.attached?this.deployed?(r?r.push(o):(this.insertRule(o),this.queue&&(this.queue.forEach(this.insertRule,this),this.queue=void 0)),o):o:(this.deployed=!1,o)):null},t.replaceRule=function(e,t,n){var r=this.rules.get(e);if(!r)return this.addRule(e,t,n);var o=this.rules.replace(e,t,n);return o&&this.options.jss.plugins.onProcessRule(o),this.attached?this.deployed?(this.renderer&&(o?r.renderable&&this.renderer.replaceRule(r.renderable,o):this.renderer.deleteRule(r)),o):o:(this.deployed=!1,o)},t.insertRule=function(e){this.renderer&&this.renderer.insertRule(e)},t.addRules=function(e,t){var n=[];for(var r in e){var o=this.addRule(r,e[r],t);o&&n.push(o)}return n},t.getRule=function(e){return this.rules.get(e)},t.deleteRule=function(e){var t="object"==typeof e?e:this.rules.get(e);return!(!t||this.attached&&!t.renderable)&&(this.rules.remove(t),!(this.attached&&t.renderable&&this.renderer)||this.renderer.deleteRule(t.renderable))},t.indexOf=function(e){return this.rules.indexOf(e)},t.deploy=function(){return this.renderer&&this.renderer.deploy(),this.deployed=!0,this},t.update=function(){var e;return(e=this.rules).update.apply(e,arguments),this},t.updateOne=function(e,t,n){return this.rules.updateOne(e,t,n),this},t.toString=function(e){return this.rules.toString(e)},e}(),Q=function(){function e(){this.plugins={internal:[],external:[]},this.registry={}}var t=e.prototype;return t.onCreateRule=function(e,t,n){for(var r=0;r<this.registry.onCreateRule.length;r++){var o=this.registry.onCreateRule[r](e,t,n);if(o)return o}return null},t.onProcessRule=function(e){if(!e.isProcessed){for(var t=e.options.sheet,n=0;n<this.registry.onProcessRule.length;n++)this.registry.onProcessRule[n](e,t);e.style&&this.onProcessStyle(e.style,e,t),e.isProcessed=!0}},t.onProcessStyle=function(e,t,n){for(var r=0;r<this.registry.onProcessStyle.length;r++)t.style=this.registry.onProcessStyle[r](t.style,t,n)},t.onProcessSheet=function(e){for(var t=0;t<this.registry.onProcessSheet.length;t++)this.registry.onProcessSheet[t](e)},t.onUpdate=function(e,t,n,r){for(var o=0;o<this.registry.onUpdate.length;o++)this.registry.onUpdate[o](e,t,n,r)},t.onChangeValue=function(e,t,n){for(var r=e,o=0;o<this.registry.onChangeValue.length;o++)r=this.registry.onChangeValue[o](r,t,n);return r},t.use=function(e,t){void 0===t&&(t={queue:"external"});var n=this.plugins[t.queue];-1===n.indexOf(e)&&(n.push(e),this.registry=[].concat(this.plugins.external,this.plugins.internal).reduce((function(e,t){for(var n in t)n in e&&e[n].push(t[n]);return e}),{onCreateRule:[],onProcessRule:[],onProcessStyle:[],onProcessSheet:[],onChangeValue:[],onUpdate:[]}))},e}(),ee=function(){function e(){this.registry=[]}var t=e.prototype;return t.add=function(e){var t=this.registry,n=e.options.index;if(-1===t.indexOf(e))if(0===t.length||n>=this.index)t.push(e);else for(var r=0;r<t.length;r++)if(t[r].options.index>n)return void t.splice(r,0,e)},t.reset=function(){this.registry=[]},t.remove=function(e){var t=this.registry.indexOf(e);this.registry.splice(t,1)},t.toString=function(e){for(var t=void 0===e?{}:e,n=t.attached,r=(0,d.A)(t,["attached"]),o=v(r).linebreak,i="",a=0;a<this.registry.length;a++){var s=this.registry[a];null!=n&&s.attached!==n||(i&&(i+=o),i+=s.toString(r))}return i},l(e,[{key:"index",get:function(){return 0===this.registry.length?0:this.registry[this.registry.length-1].options.index}}]),e}(),te=new ee,ne="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window&&window.Math===Math?window:"undefined"!=typeof self&&self.Math===Math?self:Function("return this")(),re="2f1acc6c3a606b082e5eef5e54414ffb";null==ne[re]&&(ne[re]=0);var oe=ne[re]++,ie=function(e){void 0===e&&(e={});var t=0;return function(n,r){t+=1;var o="",i="";return r&&(r.options.classNamePrefix&&(i=r.options.classNamePrefix),null!=r.options.jss.id&&(o=String(r.options.jss.id))),e.minify?""+(i||"c")+oe+o+t:i+n.key+"-"+oe+(o?"-"+o:"")+"-"+t}},ae=function(e){var t;return function(){return t||(t=e()),t}},se=function(e,t){try{return e.attributeStyleMap?e.attributeStyleMap.get(t):e.style.getPropertyValue(t)}catch(e){return""}},le=function(e,t,n){try{var r=n;if(Array.isArray(n)&&(r=g(n)),e.attributeStyleMap)e.attributeStyleMap.set(t,r);else{var o=r?r.indexOf("!important"):-1,i=o>-1?r.substr(0,o-1):r;e.style.setProperty(t,i,o>-1?"important":"")}}catch(e){return!1}return!0},ce=function(e,t){try{e.attributeStyleMap?e.attributeStyleMap.delete(t):e.style.removeProperty(t)}catch(e){}},ue=function(e,t){return e.selectorText=t,e.selectorText===t},de=ae((function(){return document.querySelector("head")}));function pe(e){var t=te.registry;if(t.length>0){var n=function(e,t){for(var n=0;n<e.length;n++){var r=e[n];if(r.attached&&r.options.index>t.index&&r.options.insertionPoint===t.insertionPoint)return r}return null}(t,e);if(n&&n.renderer)return{parent:n.renderer.element.parentNode,node:n.renderer.element};if(n=function(e,t){for(var n=e.length-1;n>=0;n--){var r=e[n];if(r.attached&&r.options.insertionPoint===t.insertionPoint)return r}return null}(t,e),n&&n.renderer)return{parent:n.renderer.element.parentNode,node:n.renderer.element.nextSibling}}var r=e.insertionPoint;if(r&&"string"==typeof r){var o=function(e){for(var t=de(),n=0;n<t.childNodes.length;n++){var r=t.childNodes[n];if(8===r.nodeType&&r.nodeValue.trim()===e)return r}return null}(r);if(o)return{parent:o.parentNode,node:o.nextSibling}}return!1}var fe=ae((function(){var e=document.querySelector('meta[property="csp-nonce"]');return e?e.getAttribute("content"):null})),he=function(e,t,n){try{"insertRule"in e?e.insertRule(t,n):"appendRule"in e&&e.appendRule(t)}catch(e){return!1}return e.cssRules[n]},me=function(e,t){var n=e.cssRules.length;return void 0===t||t>n?n:t},ge=function(){function e(e){this.getPropertyValue=se,this.setProperty=le,this.removeProperty=ce,this.setSelector=ue,this.hasInsertedRules=!1,this.cssRules=[],e&&te.add(e),this.sheet=e;var t,n=this.sheet?this.sheet.options:{},r=n.media,o=n.meta,i=n.element;this.element=i||((t=document.createElement("style")).textContent="\n",t),this.element.setAttribute("data-jss",""),r&&this.element.setAttribute("media",r),o&&this.element.setAttribute("data-meta",o);var a=fe();a&&this.element.setAttribute("nonce",a)}var t=e.prototype;return t.attach=function(){if(!this.element.parentNode&&this.sheet){!function(e,t){var n=t.insertionPoint,r=pe(t);if(!1!==r&&r.parent)r.parent.insertBefore(e,r.node);else if(n&&"number"==typeof n.nodeType){var o=n,i=o.parentNode;i&&i.insertBefore(e,o.nextSibling)}else de().appendChild(e)}(this.element,this.sheet.options);var e=Boolean(this.sheet&&this.sheet.deployed);this.hasInsertedRules&&e&&(this.hasInsertedRules=!1,this.deploy())}},t.detach=function(){if(this.sheet){var e=this.element.parentNode;e&&e.removeChild(this.element),this.sheet.options.link&&(this.cssRules=[],this.element.textContent="\n")}},t.deploy=function(){var e=this.sheet;e&&(e.options.link?this.insertRules(e.rules):this.element.textContent="\n"+e.toString()+"\n")},t.insertRules=function(e,t){for(var n=0;n<e.index.length;n++)this.insertRule(e.index[n],n,t)},t.insertRule=function(e,t,n){if(void 0===n&&(n=this.element.sheet),e.rules){var r=e,o=n;if("conditional"===e.type||"keyframes"===e.type){var i=me(n,t);if(!1===(o=he(n,r.toString({children:!1}),i)))return!1;this.refCssRule(e,i,o)}return this.insertRules(r.rules,o),o}var a=e.toString();if(!a)return!1;var s=me(n,t),l=he(n,a,s);return!1!==l&&(this.hasInsertedRules=!0,this.refCssRule(e,s,l),l)},t.refCssRule=function(e,t,n){e.renderable=n,e.options.parent instanceof J&&this.cssRules.splice(t,0,n)},t.deleteRule=function(e){var t=this.element.sheet,n=this.indexOf(e);return-1!==n&&(t.deleteRule(n),this.cssRules.splice(n,1),!0)},t.indexOf=function(e){return this.cssRules.indexOf(e)},t.replaceRule=function(e,t){var n=this.indexOf(e);return-1!==n&&(this.element.sheet.deleteRule(n),this.cssRules.splice(n,1),this.insertRule(t,n))},t.getRules=function(){return this.element.sheet.cssRules},e}(),ve=0,ye=function(){function e(e){this.id=ve++,this.version="10.10.0",this.plugins=new Q,this.options={id:{minify:!1},createGenerateId:ie,Renderer:o.A?ge:null,plugins:[]},this.generateId=ie({minify:!1});for(var t=0;t<Y.length;t++)this.plugins.use(Y[t],{queue:"internal"});this.setup(e)}var t=e.prototype;return t.setup=function(e){return void 0===e&&(e={}),e.createGenerateId&&(this.options.createGenerateId=e.createGenerateId),e.id&&(this.options.id=(0,r.A)({},this.options.id,e.id)),(e.createGenerateId||e.id)&&(this.generateId=this.options.createGenerateId(this.options.id)),null!=e.insertionPoint&&(this.options.insertionPoint=e.insertionPoint),"Renderer"in e&&(this.options.Renderer=e.Renderer),e.plugins&&this.use.apply(this,e.plugins),this},t.createStyleSheet=function(e,t){void 0===t&&(t={});var n=t.index;"number"!=typeof n&&(n=0===te.index?0:te.index+1);var o=new J(e,(0,r.A)({},t,{jss:this,generateId:t.generateId||this.generateId,insertionPoint:this.options.insertionPoint,Renderer:this.options.Renderer,index:n}));return this.plugins.onProcessSheet(o),o},t.removeStyleSheet=function(e){return e.detach(),te.remove(e),this},t.createRule=function(e,t,n){if(void 0===t&&(t={}),void 0===n&&(n={}),"object"==typeof e)return this.createRule(void 0,e,t);var o=(0,r.A)({},n,{name:e,jss:this,Renderer:this.options.Renderer});o.generateId||(o.generateId=this.generateId),o.classes||(o.classes={}),o.keyframes||(o.keyframes={});var i=h(e,t,o);return i&&this.plugins.onProcessRule(i),i},t.use=function(){for(var e=this,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return n.forEach((function(t){e.plugins.use(t)})),this},e}(),be=function(e){return new ye(e)},xe=function(){function e(){this.length=0,this.sheets=new WeakMap}var t=e.prototype;return t.get=function(e){var t=this.sheets.get(e);return t&&t.sheet},t.add=function(e,t){this.sheets.has(e)||(this.length++,this.sheets.set(e,{sheet:t,refs:0}))},t.manage=function(e){var t=this.sheets.get(e);if(t)return 0===t.refs&&t.sheet.attach(),t.refs++,t.sheet;i(!1,"[JSS] SheetsManager: can't find sheet to manage")},t.unmanage=function(e){var t=this.sheets.get(e);t?t.refs>0&&(t.refs--,0===t.refs&&t.sheet.detach()):i(!1,"SheetsManager: can't find sheet to unmanage")},l(e,[{key:"size",get:function(){return this.length}}]),e}(),we="object"==typeof CSS&&null!=CSS&&"number"in CSS;function Ae(e){var t=null;for(var n in e){var r=e[n],o=typeof r;if("function"===o)t||(t={}),t[n]=r;else if("object"===o&&null!==r&&!Array.isArray(r)){var i=Ae(r);i&&(t||(t={}),t[n]=i)}}return t}var _e=be()},39763:function(e,t,n){"use strict";n.r(t),n.d(t,{MultiToken:function(){return Fe},Options:function(){return je},State:function(){return y},createTokenClass:function(){return Be},find:function(){return ot},init:function(){return nt},multi:function(){return qe},options:function(){return ze},regexp:function(){return Te},registerCustomProtocol:function(){return tt},registerPlugin:function(){return et},registerTokenPlugin:function(){return Qe},reset:function(){return Je},stringToArray:function(){return Re},test:function(){return it},tokenize:function(){return rt}});const r="aaa1rp3bb0ott3vie4c1le2ogado5udhabi7c0ademy5centure6ountant0s9o1tor4d0s1ult4e0g1ro2tna4f0l1rica5g0akhan5ency5i0g1rbus3force5tel5kdn3l0ibaba4pay4lfinanz6state5y2sace3tom5m0azon4ericanexpress7family11x2fam3ica3sterdam8nalytics7droid5quan4z2o0l2partments8p0le4q0uarelle8r0ab1mco4chi3my2pa2t0e3s0da2ia2sociates9t0hleta5torney7u0ction5di0ble3o3spost5thor3o0s4vianca6w0s2x0a2z0ure5ba0by2idu3namex3narepublic11d1k2r0celona5laycard4s5efoot5gains6seball5ketball8uhaus5yern5b0c1t1va3cg1n2d1e0ats2uty4er2ntley5rlin4st0buy5t2f1g1h0arti5i0ble3d1ke2ng0o3o1z2j1lack0friday9ockbuster8g1omberg7ue3m0s1w2n0pparibas9o0ats3ehringer8fa2m1nd2o0k0ing5sch2tik2on4t1utique6x2r0adesco6idgestone9oadway5ker3ther5ussels7s1t1uild0ers6siness6y1zz3v1w1y1z0h3ca0b1fe2l0l1vinklein9m0era3p2non3petown5ital0one8r0avan4ds2e0er0s4s2sa1e1h1ino4t0ering5holic7ba1n1re3c1d1enter4o1rn3f0a1d2g1h0anel2nel4rity4se2t2eap3intai5ristmas6ome4urch5i0priani6rcle4sco3tadel4i0c2y3k1l0aims4eaning6ick2nic1que6othing5ud3ub0med6m1n1o0ach3des3ffee4llege4ogne5m0cast4mbank4unity6pany2re3uter5sec4ndos3struction8ulting7tact3ractors9oking4l1p2rsica5untry4pon0s4rses6pa2r0edit0card4union9icket5own3s1uise0s6u0isinella9v1w1x1y0mru3ou3z2dabur3d1nce3ta1e1ing3sun4y2clk3ds2e0al0er2s3gree4livery5l1oitte5ta3mocrat6ntal2ist5si0gn4v2hl2iamonds6et2gital5rect0ory7scount3ver5h2y2j1k1m1np2o0cs1tor4g1mains5t1wnload7rive4tv2ubai3nlop4pont4rban5vag2r2z2earth3t2c0o2deka3u0cation8e1g1mail3erck5nergy4gineer0ing9terprises10pson4quipment8r0icsson6ni3s0q1tate5t1u0rovision8s2vents5xchange6pert3osed4ress5traspace10fage2il1rwinds6th3mily4n0s2rm0ers5shion4t3edex3edback6rrari3ero6i0delity5o2lm2nal1nce1ial7re0stone6mdale6sh0ing5t0ness6j1k1lickr3ghts4r2orist4wers5y2m1o0o0d1tball6rd1ex2sale4um3undation8x2r0ee1senius7l1ogans4ntier7tr2ujitsu5n0d2rniture7tbol5yi3ga0l0lery3o1up4me0s3p1rden4y2b0iz3d0n2e0a1nt0ing5orge5f1g0ee3h1i0ft0s3ves2ing5l0ass3e1obal2o4m0ail3bh2o1x2n1odaddy5ld0point6f2o0dyear5g0le4p1t1v2p1q1r0ainger5phics5tis4een3ipe3ocery4up4s1t1u0ardian6cci3ge2ide2tars5ru3w1y2hair2mburg5ngout5us3bo2dfc0bank7ealth0care8lp1sinki6re1mes5iphop4samitsu7tachi5v2k0t2m1n1ockey4ldings5iday5medepot5goods5s0ense7nda3rse3spital5t0ing5t0els3mail5use3w2r1sbc3t1u0ghes5yatt3undai7ibm2cbc2e1u2d1e0ee3fm2kano4l1m0amat4db2mo0bilien9n0c1dustries8finiti5o2g1k1stitute6urance4e4t0ernational10uit4vestments10o1piranga7q1r0ish4s0maili5t0anbul7t0au2v3jaguar4va3cb2e0ep2tzt3welry6io2ll2m0p2nj2o0bs1urg4t1y2p0morgan6rs3uegos4niper7kaufen5ddi3e0rryhotels6logistics9properties14fh2g1h1i0a1ds2m1ndle4tchen5wi3m1n1oeln3matsu5sher5p0mg2n2r0d1ed3uokgroup8w1y0oto4z2la0caixa5mborghini8er3ncaster6d0rover6xess5salle5t0ino3robe5w0yer5b1c1ds2ease3clerc5frak4gal2o2xus4gbt3i0dl2fe0insurance9style7ghting6ke2lly3mited4o2ncoln4k2psy3ve1ing5k1lc1p2oan0s3cker3us3l1ndon4tte1o3ve3pl0financial11r1s1t0d0a3u0ndbeck6xe1ury5v1y2ma0drid4if1son4keup4n0agement7go3p1rket0ing3s4riott5shalls7ttel5ba2c0kinsey7d1e0d0ia3et2lbourne7me1orial6n0u2rckmsd7g1h1iami3crosoft7l1ni1t2t0subishi9k1l0b1s2m0a2n1o0bi0le4da2e1i1m1nash3ey2ster5rmon3tgage6scow4to0rcycles9v0ie4p1q1r1s0d2t0n1r2u0seum3ic4v1w1x1y1z2na0b1goya4me2tura4vy3ba2c1e0c1t0bank4flix4work5ustar5w0s2xt0direct7us4f0l2g0o2hk2i0co2ke1on3nja3ssan1y5l1o0kia3rton4w0ruz3tv4p1r0a1w2tt2u1yc2z2obi1server7ffice5kinawa6layan0group9dnavy5lo3m0ega4ne1g1l0ine5oo2pen3racle3nge4g0anic5igins6saka4tsuka4t2vh3pa0ge2nasonic7ris2s1tners4s1y3y2ccw3e0t2f0izer5g1h0armacy6d1ilips5one2to0graphy6s4ysio5ics1tet2ures6d1n0g1k2oneer5zza4k1l0ace2y0station9umbing5s3m1n0c2ohl2ker3litie5rn2st3r0america6xi3ess3ime3o0d0uctions8f1gressive8mo2perties3y5tection8u0dential9s1t1ub2w0c2y2qa1pon3uebec3st5racing4dio4e0ad1lestate6tor2y4cipes5d0stone5umbrella9hab3ise0n3t2liance6n0t0als5pair3ort3ublican8st0aurant8view0s5xroth6ich0ardli6oh3l1o1p2o0cks3deo3gers4om3s0vp3u0gby3hr2n2w0e2yukyu6sa0arland6fe0ty4kura4le1on3msclub4ung5ndvik0coromant12ofi4p1rl2s1ve2xo3b0i1s2c0a1b1haeffler7midt4olarships8ol3ule3warz5ience5ot3d1e0arch3t2cure1ity6ek2lect4ner3rvices6ven3w1x0y3fr2g1h0angrila6rp2w2ell3ia1ksha5oes2p0ping5uji3w3i0lk2na1gles5te3j1k0i0n2y0pe4l0ing4m0art3ile4n0cf3o0ccer3ial4ftbank4ware6hu2lar2utions7ng1y2y2pa0ce3ort2t3r0l2s1t0ada2ples4r1tebank4farm7c0group6ockholm6rage3e3ream4udio2y3yle4u0cks3pplies3y2ort5rf1gery5zuki5v1watch4iss4x1y0dney4stems6z2tab1ipei4lk2obao4rget4tamotors6r2too4x0i3c0i2d0k2eam2ch0nology8l1masek5nnis4va3f1g1h0d1eater2re6iaa2ckets5enda4ps2res2ol4j0maxx4x2k0maxx5l1m0all4n1o0day3kyo3ols3p1ray3shiba5tal3urs3wn2yota3s3r0ade1ing4ining5vel0ers0insurance16ust3v2t1ube2i1nes3shu4v0s2w1z2ua1bank3s2g1k1nicom3versity8o2ol2ps2s1y1z2va0cations7na1guard7c1e0gas3ntures6risign5mögensberater2ung14sicherung10t2g1i0ajes4deo3g1king4llas4n1p1rgin4sa1ion4va1o3laanderen9n1odka3lvo3te1ing3o2yage5u2wales2mart4ter4ng0gou5tch0es6eather0channel12bcam3er2site5d0ding5ibo2r3f1hoswho6ien2ki2lliamhill9n0dows4e1ners6me2olterskluwer11odside6rk0s2ld3w2s1tc1f3xbox3erox4finity6ihuan4n2xx2yz3yachts4hoo3maxun5ndex5e1odobashi7ga2kohama6u0tube6t1un3za0ppos4ra3ero3ip2m1one3uerich6w2",o="ελ1Ï…2бг1ел3дети4ею2католик6ом3мкд2он1Ñква6онлайн5рг3руÑ2Ñ„2Ñайт3рб3укр3қаз3Õ°Õ¡Õµ3ישר×ל5קו×3ابوظبي5رامكو5لاردن4بØرين5جزائر5سعودية6عليان5مغرب5مارات5یران5بارت2زار4يتك3ھارت5تونس4سودان3رية5شبكة4عراق2ب2مان4Ùلسطين6قطر3كاثوليك6وم3مصر2ليسيا5وريتانيا7قع4همراه5پاکستان7ڀارت4कॉम3नेट3à¤à¤¾à¤°à¤¤0मà¥3ोत5संगठन5বাংলা5à¦à¦¾à¦°à¦¤2ৰত4à¨à¨¾à¨°à¨¤4àªàª¾àª°àª¤4à¬à¬¾à¬°à¬¤4இநà¯à®¤à®¿à®¯à®¾6லஙà¯à®•à¯ˆ6சிஙà¯à®•à®ªà¯à®ªà¯‚à®°à¯11à°à°¾à°°à°¤à±5à²à²¾à²°à²¤4à´à´¾à´°à´¤à´‚5ලංකà·4คà¸à¸¡3ไทย3ລາວ3გე2ã¿ã‚“ãª3アマゾン4クラウド4グーグル4コム2ストア3セール3ファッション6ãƒã‚¤ãƒ³ãƒˆ4世界2ä¸ä¿¡1国1國1文网3亚马逊3ä¼ä¸š2佛山2ä¿¡æ¯2å¥åº·2å…«å¦2å…¬å¸1益2å°æ¹¾1ç£2商城1店1æ ‡2嘉里0大酒店5在线2大拿2天主教3娱ä¹2家電2广东2å¾®åš2慈善2æˆ‘çˆ±ä½ 3手机2æ‹›è˜2政务1府2æ–°åŠ å¡2é—»2时尚2書ç±2机构2淡马锡3游æˆ2澳門2点看2移动2组织机构4网å€1店1ç«™1络2è”通2è°·æŒ2è´ç‰©2通販2集团2電訊盈科4飞利浦3食å“2é¤åŽ…2é¦™æ ¼é‡Œæ‹‰3港2ë‹·ë„·1ì»´2삼성2í•œêµ2",i=(e,t)=>{for(const n in t)e[n]=t[n];return e},a="numeric",s="ascii",l="alpha",c="asciinumeric",u="alphanumeric",d="domain",p="emoji",f="scheme",h="slashscheme",m="whitespace";function g(e,t){return e in t||(t[e]=[]),t[e]}function v(e,t,n){t[a]&&(t[c]=!0,t[u]=!0),t[s]&&(t[c]=!0,t[l]=!0),t[c]&&(t[u]=!0),t[l]&&(t[u]=!0),t[u]&&(t[d]=!0),t[p]&&(t[d]=!0);for(const r in t){const t=g(r,n);t.indexOf(e)<0&&t.push(e)}}function y(e){void 0===e&&(e=null),this.j={},this.jr=[],this.jd=null,this.t=e}y.groups={},y.prototype={accepts(){return!!this.t},go(e){const t=this,n=t.j[e];if(n)return n;for(let n=0;n<t.jr.length;n++){const r=t.jr[n][0],o=t.jr[n][1];if(o&&r.test(e))return o}return t.jd},has(e,t){return void 0===t&&(t=!1),t?e in this.j:!!this.go(e)},ta(e,t,n,r){for(let o=0;o<e.length;o++)this.tt(e[o],t,n,r)},tr(e,t,n,r){let o;return r=r||y.groups,t&&t.j?o=t:(o=new y(t),n&&r&&v(t,n,r)),this.jr.push([e,o]),o},ts(e,t,n,r){let o=this;const i=e.length;if(!i)return o;for(let t=0;t<i-1;t++)o=o.tt(e[t]);return o.tt(e[i-1],t,n,r)},tt(e,t,n,r){r=r||y.groups;const o=this;if(t&&t.j)return o.j[e]=t,t;const a=t;let s,l=o.go(e);if(l?(s=new y,i(s.j,l.j),s.jr.push.apply(s.jr,l.jr),s.jd=l.jd,s.t=l.t):s=new y,a){if(r)if(s.t&&"string"==typeof s.t){const e=i(function(e,t){const n={};for(const r in t)t[r].indexOf(e)>=0&&(n[r]=!0);return n}(s.t,r),n);v(a,e,r)}else n&&v(a,n,r);s.t=a}return o.j[e]=s,s}};const b=(e,t,n,r,o)=>e.ta(t,n,r,o),x=(e,t,n,r,o)=>e.tr(t,n,r,o),w=(e,t,n,r,o)=>e.ts(t,n,r,o),A=(e,t,n,r,o)=>e.tt(t,n,r,o),_="WORD",S="UWORD",k="LOCALHOST",C="TLD",T="UTLD",M="SCHEME",P="SLASH_SCHEME",O="NUM",E="WS",D="NL",R="OPENBRACE",I="CLOSEBRACE",N="OPENBRACKET",L="CLOSEBRACKET",j="OPENPAREN",$="CLOSEPAREN",z="OPENANGLEBRACKET",F="CLOSEANGLEBRACKET",B="FULLWIDTHLEFTPAREN",H="FULLWIDTHRIGHTPAREN",V="LEFTCORNERBRACKET",W="RIGHTCORNERBRACKET",U="LEFTWHITECORNERBRACKET",q="RIGHTWHITECORNERBRACKET",G="FULLWIDTHLESSTHAN",Y="FULLWIDTHGREATERTHAN",X="AMPERSAND",K="APOSTROPHE",Z="ASTERISK",J="AT",Q="BACKSLASH",ee="BACKTICK",te="CARET",ne="COLON",re="COMMA",oe="DOLLAR",ie="DOT",ae="EQUALS",se="EXCLAMATION",le="HYPHEN",ce="PERCENT",ue="PIPE",de="PLUS",pe="POUND",fe="QUERY",he="QUOTE",me="SEMI",ge="SLASH",ve="TILDE",ye="UNDERSCORE",be="EMOJI",xe="SYM";var we=Object.freeze({__proto__:null,WORD:_,UWORD:S,LOCALHOST:k,TLD:C,UTLD:T,SCHEME:M,SLASH_SCHEME:P,NUM:O,WS:E,NL:D,OPENBRACE:R,CLOSEBRACE:I,OPENBRACKET:N,CLOSEBRACKET:L,OPENPAREN:j,CLOSEPAREN:$,OPENANGLEBRACKET:z,CLOSEANGLEBRACKET:F,FULLWIDTHLEFTPAREN:B,FULLWIDTHRIGHTPAREN:H,LEFTCORNERBRACKET:V,RIGHTCORNERBRACKET:W,LEFTWHITECORNERBRACKET:U,RIGHTWHITECORNERBRACKET:q,FULLWIDTHLESSTHAN:G,FULLWIDTHGREATERTHAN:Y,AMPERSAND:X,APOSTROPHE:K,ASTERISK:Z,AT:J,BACKSLASH:Q,BACKTICK:ee,CARET:te,COLON:ne,COMMA:re,DOLLAR:oe,DOT:ie,EQUALS:ae,EXCLAMATION:se,HYPHEN:le,PERCENT:ce,PIPE:ue,PLUS:de,POUND:pe,QUERY:fe,QUOTE:he,SEMI:me,SLASH:ge,TILDE:ve,UNDERSCORE:ye,EMOJI:be,SYM:xe});const Ae=/[a-z]/,_e=/\p{L}/u,Se=/\p{Emoji}/u,ke=/\d/,Ce=/\s/;var Te=Object.freeze({__proto__:null,ASCII_LETTER:Ae,LETTER:_e,EMOJI:Se,EMOJI_VARIATION:/\ufe0f/,DIGIT:ke,SPACE:Ce});const Me="\n",Pe="ï¸",Oe="â€";let Ee=null,De=null;function Re(e){const t=[],n=e.length;let r=0;for(;r<n;){let o,i=e.charCodeAt(r),a=i<55296||i>56319||r+1===n||(o=e.charCodeAt(r+1))<56320||o>57343?e[r]:e.slice(r,r+2);t.push(a),r+=a.length}return t}function Ie(e,t,n,r,o){let i;const a=t.length;for(let n=0;n<a-1;n++){const a=t[n];e.j[a]?i=e.j[a]:(i=new y(r),i.jr=o.slice(),e.j[a]=i),e=i}return i=new y(n),i.jr=o.slice(),e.j[t[a-1]]=i,i}function Ne(e){const t=[],n=[];let r=0;for(;r<e.length;){let o=0;for(;"0123456789".indexOf(e[r+o])>=0;)o++;if(o>0){t.push(n.join(""));for(let t=parseInt(e.substring(r,r+o),10);t>0;t--)n.pop();r+=o}else n.push(e[r]),r++}return t}const Le={defaultProtocol:"http",events:null,format:$e,formatHref:$e,nl2br:!1,tagName:"a",target:null,rel:null,validate:!0,truncate:1/0,className:null,attributes:null,ignoreTags:[],render:null};function je(e,t){void 0===t&&(t=null);let n=i({},Le);e&&(n=i(n,e instanceof je?e.o:e));const r=n.ignoreTags,o=[];for(let e=0;e<r.length;e++)o.push(r[e].toUpperCase());this.o=n,t&&(this.defaultRender=t),this.ignoreTags=o}function $e(e){return e}je.prototype={o:Le,ignoreTags:[],defaultRender(e){return e},check(e){return this.get("validate",e.toString(),e)},get(e,t,n){const r=null!=t;let o=this.o[e];return o?("object"==typeof o?(o=n.t in o?o[n.t]:Le[e],"function"==typeof o&&r&&(o=o(t,n))):"function"==typeof o&&r&&(o=o(t,n.t,n)),o):o},getObj(e,t,n){let r=this.o[e];return"function"==typeof r&&null!=t&&(r=r(t,n.t,n)),r},render(e){const t=e.render(this);return(this.get("render",null,e)||this.defaultRender)(t,e.t,e)}};var ze=Object.freeze({__proto__:null,defaults:Le,Options:je,assign:i});function Fe(e,t){this.t="token",this.v=e,this.tk=t}function Be(e,t){class n extends Fe{constructor(t,n){super(t,n),this.t=e}}for(const e in t)n.prototype[e]=t[e];return n.t=e,n}Fe.prototype={isLink:!1,toString(){return this.v},toHref(e){return this.toString()},toFormattedString(e){const t=this.toString(),n=e.get("truncate",t,this),r=e.get("format",t,this);return n&&r.length>n?r.substring(0,n)+"…":r},toFormattedHref(e){return e.get("formatHref",this.toHref(e.get("defaultProtocol")),this)},startIndex(){return this.tk[0].s},endIndex(){return this.tk[this.tk.length-1].e},toObject(e){return void 0===e&&(e=Le.defaultProtocol),{type:this.t,value:this.toString(),isLink:this.isLink,href:this.toHref(e),start:this.startIndex(),end:this.endIndex()}},toFormattedObject(e){return{type:this.t,value:this.toFormattedString(e),isLink:this.isLink,href:this.toFormattedHref(e),start:this.startIndex(),end:this.endIndex()}},validate(e){return e.get("validate",this.toString(),this)},render(e){const t=this,n=this.toHref(e.get("defaultProtocol")),r=e.get("formatHref",n,this),o=e.get("tagName",n,t),a=this.toFormattedString(e),s={},l=e.get("className",n,t),c=e.get("target",n,t),u=e.get("rel",n,t),d=e.getObj("attributes",n,t),p=e.getObj("events",n,t);return s.href=r,l&&(s.class=l),c&&(s.target=c),u&&(s.rel=u),d&&i(s,d),{tagName:o,attributes:s,content:a,eventListeners:p}}};const He=Be("email",{isLink:!0,toHref(){return"mailto:"+this.toString()}}),Ve=Be("text"),We=Be("nl"),Ue=Be("url",{isLink:!0,toHref(e){return void 0===e&&(e=Le.defaultProtocol),this.hasProtocol()?this.v:`${e}://${this.v}`},hasProtocol(){const e=this.tk;return e.length>=2&&e[0].t!==k&&e[1].t===ne}});var qe=Object.freeze({__proto__:null,MultiToken:Fe,Base:Fe,createTokenClass:Be,Email:He,Text:Ve,Nl:We,Url:Ue});const Ge=e=>new y(e);function Ye(e,t,n){const r=n[0].s,o=n[n.length-1].e;return new e(t.slice(r,o),n)}const Xe="undefined"!=typeof console&&console&&console.warn||(()=>{}),Ke="until manual call of linkify.init(). Register all schemes and plugins before invoking linkify the first time.",Ze={scanner:null,parser:null,tokenQueue:[],pluginQueue:[],customSchemes:[],initialized:!1};function Je(){y.groups={},Ze.scanner=null,Ze.parser=null,Ze.tokenQueue=[],Ze.pluginQueue=[],Ze.customSchemes=[],Ze.initialized=!1}function Qe(e,t){if("function"!=typeof t)throw new Error(`linkifyjs: Invalid token plugin ${t} (expects function)`);for(let n=0;n<Ze.tokenQueue.length;n++)if(e===Ze.tokenQueue[n][0])return Xe(`linkifyjs: token plugin "${e}" already registered - will be overwritten`),void(Ze.tokenQueue[n]=[e,t]);Ze.tokenQueue.push([e,t]),Ze.initialized&&Xe(`linkifyjs: already initialized - will not register token plugin "${e}" ${Ke}`)}function et(e,t){if("function"!=typeof t)throw new Error(`linkifyjs: Invalid plugin ${t} (expects function)`);for(let n=0;n<Ze.pluginQueue.length;n++)if(e===Ze.pluginQueue[n][0])return Xe(`linkifyjs: plugin "${e}" already registered - will be overwritten`),void(Ze.pluginQueue[n]=[e,t]);Ze.pluginQueue.push([e,t]),Ze.initialized&&Xe(`linkifyjs: already initialized - will not register plugin "${e}" ${Ke}`)}function tt(e,t){if(void 0===t&&(t=!1),Ze.initialized&&Xe(`linkifyjs: already initialized - will not register custom scheme "${e}" ${Ke}`),!/^[0-9a-z]+(-[0-9a-z]+)*$/.test(e))throw new Error('linkifyjs: incorrect scheme format.\n1. Must only contain digits, lowercase ASCII letters or "-"\n2. Cannot start or end with "-"\n3. "-" cannot repeat');Ze.customSchemes.push([e,t])}function nt(){Ze.scanner=function(e){void 0===e&&(e=[]);const t={};y.groups=t;const n=new y;null==Ee&&(Ee=Ne(r)),null==De&&(De=Ne(o)),A(n,"'",K),A(n,"{",R),A(n,"}",I),A(n,"[",N),A(n,"]",L),A(n,"(",j),A(n,")",$),A(n,"<",z),A(n,">",F),A(n,"(",B),A(n,")",H),A(n,"「",V),A(n,"ã€",W),A(n,"『",U),A(n,"ã€",q),A(n,"<",G),A(n,">",Y),A(n,"&",X),A(n,"*",Z),A(n,"@",J),A(n,"`",ee),A(n,"^",te),A(n,":",ne),A(n,",",re),A(n,"$",oe),A(n,".",ie),A(n,"=",ae),A(n,"!",se),A(n,"-",le),A(n,"%",ce),A(n,"|",ue),A(n,"+",de),A(n,"#",pe),A(n,"?",fe),A(n,'"',he),A(n,"/",ge),A(n,";",me),A(n,"~",ve),A(n,"_",ye),A(n,"\\",Q);const u=x(n,ke,O,{[a]:!0});x(u,ke,u);const g=x(n,Ae,_,{[s]:!0});x(g,Ae,g);const b=x(n,_e,S,{[l]:!0});x(b,Ae),x(b,_e,b);const Te=x(n,Ce,E,{[m]:!0});A(n,Me,D,{[m]:!0}),A(Te,Me),x(Te,Ce,Te);const Re=x(n,Se,be,{[p]:!0});x(Re,Se,Re),A(Re,Pe,Re);const Le=A(Re,Oe);x(Le,Se,Re);const je=[[Ae,g]],$e=[[Ae,null],[_e,b]];for(let e=0;e<Ee.length;e++)Ie(n,Ee[e],C,_,je);for(let e=0;e<De.length;e++)Ie(n,De[e],T,S,$e);v(C,{tld:!0,ascii:!0},t),v(T,{utld:!0,alpha:!0},t),Ie(n,"file",M,_,je),Ie(n,"mailto",M,_,je),Ie(n,"http",P,_,je),Ie(n,"https",P,_,je),Ie(n,"ftp",P,_,je),Ie(n,"ftps",P,_,je),v(M,{scheme:!0,ascii:!0},t),v(P,{slashscheme:!0,ascii:!0},t),e=e.sort(((e,t)=>e[0]>t[0]?1:-1));for(let t=0;t<e.length;t++){const r=e[t][0],o=e[t][1]?{[f]:!0}:{[h]:!0};r.indexOf("-")>=0?o[d]=!0:Ae.test(r)?ke.test(r)?o[c]=!0:o[s]=!0:o[a]=!0,w(n,r,r,o)}return w(n,"localhost",k,{ascii:!0}),n.jd=new y(xe),{start:n,tokens:i({groups:t},we)}}(Ze.customSchemes);for(let e=0;e<Ze.tokenQueue.length;e++)Ze.tokenQueue[e][1]({scanner:Ze.scanner});Ze.parser=function(e){let{groups:t}=e;const n=t.domain.concat([X,Z,J,Q,ee,te,oe,ae,le,O,ce,ue,de,pe,ge,xe,ve,ye]),r=[K,ne,re,ie,se,fe,he,me,z,F,R,I,L,N,j,$,B,H,V,W,U,q,G,Y],o=[X,K,Z,Q,ee,te,oe,ae,le,R,I,ce,ue,de,pe,fe,ge,xe,ve,ye],i=Ge(),a=A(i,ve);b(a,o,a),b(a,t.domain,a);const s=Ge(),l=Ge(),c=Ge();b(i,t.domain,s),b(i,t.scheme,l),b(i,t.slashscheme,c),b(s,o,a),b(s,t.domain,s);const u=A(s,J);A(a,J,u),A(l,J,u),A(c,J,u);const d=A(a,ie);b(d,o,a),b(d,t.domain,a);const p=Ge();b(u,t.domain,p),b(p,t.domain,p);const f=A(p,ie);b(f,t.domain,p);const h=Ge(He);b(f,t.tld,h),b(f,t.utld,h),A(u,k,h);const m=A(p,le);b(m,t.domain,p),b(h,t.domain,p),A(h,ie,f),A(h,le,m);const g=A(h,ne);b(g,t.numeric,He);const v=A(s,le),y=A(s,ie);b(v,t.domain,s),b(y,o,a),b(y,t.domain,s);const x=Ge(Ue);b(y,t.tld,x),b(y,t.utld,x),b(x,t.domain,s),b(x,o,a),A(x,ie,y),A(x,le,v),A(x,J,u);const w=A(x,ne),_=Ge(Ue);b(w,t.numeric,_);const S=Ge(Ue),C=Ge();b(S,n,S),b(S,r,C),b(C,n,S),b(C,r,C),A(x,ge,S),A(_,ge,S);const T=A(l,ne),M=A(c,ne),P=A(M,ge),E=A(P,ge);b(l,t.domain,s),A(l,ie,y),A(l,le,v),b(c,t.domain,s),A(c,ie,y),A(c,le,v),b(T,t.domain,S),A(T,ge,S),b(E,t.domain,S),b(E,n,S),A(E,ge,S);const be=[[R,I],[N,L],[j,$],[z,F],[B,H],[V,W],[U,q],[G,Y]];for(let e=0;e<be.length;e++){const[t,o]=be[e],i=A(S,t);A(C,t,i),A(i,o,S);const a=Ge(Ue);b(i,n,a);const s=Ge();b(i,r),b(a,n,a),b(a,r,s),b(s,n,a),b(s,r,s),A(a,o,S),A(s,o,S)}return A(i,k,x),A(i,D,We),{start:i,tokens:we}}(Ze.scanner.tokens);for(let e=0;e<Ze.pluginQueue.length;e++)Ze.pluginQueue[e][1]({scanner:Ze.scanner,parser:Ze.parser});Ze.initialized=!0}function rt(e){return Ze.initialized||nt(),function(e,t,n){let r=n.length,o=0,i=[],a=[];for(;o<r;){let s=e,l=null,c=null,u=0,d=null,p=-1;for(;o<r&&!(l=s.go(n[o].t));)a.push(n[o++]);for(;o<r&&(c=l||s.go(n[o].t));)l=null,s=c,s.accepts()?(p=0,d=s):p>=0&&p++,o++,u++;if(p<0)o-=u,o<r&&(a.push(n[o]),o++);else{a.length>0&&(i.push(Ye(Ve,t,a)),a=[]),o-=p,u-=p;const e=d.t,r=n.slice(o-u,o);i.push(Ye(e,t,r))}}return a.length>0&&i.push(Ye(Ve,t,a)),i}(Ze.parser.start,e,function(e,t){const n=Re(t.replace(/[A-Z]/g,(e=>e.toLowerCase()))),r=n.length,o=[];let i=0,a=0;for(;a<r;){let s=e,l=null,c=0,u=null,d=-1,p=-1;for(;a<r&&(l=s.go(n[a]));)s=l,s.accepts()?(d=0,p=0,u=s):d>=0&&(d+=n[a].length,p++),c+=n[a].length,i+=n[a].length,a++;i-=d,a-=p,c-=d,o.push({t:u.t,v:t.slice(i-c,i),s:i-c,e:i})}return o}(Ze.scanner.start,e))}function ot(e,t,n){if(void 0===t&&(t=null),void 0===n&&(n=null),t&&"object"==typeof t){if(n)throw Error(`linkifyjs: Invalid link type ${t}; must be a string`);n=t,t=null}const r=new je(n),o=rt(e),i=[];for(let e=0;e<o.length;e++){const n=o[e];!n.isLink||t&&n.t!==t||!r.check(n)||i.push(n.toFormattedObject(r))}return i}function it(e,t){void 0===t&&(t=null);const n=rt(e);return 1===n.length&&n[0].isLink&&(!t||n[0].t===t)}},7514:function(e,t,n){"use strict";n.r(t),n.d(t,{MaterialDesignContent:function(){return De},SnackbarContent:function(){return we},SnackbarProvider:function(){return He},Transition:function(){return L},closeSnackbar:function(){return Ee},enqueueSnackbar:function(){return Oe},useSnackbar:function(){return Ve}});var r=n(96540),o=n(40961);function i(e){var t,n,r="";if("string"==typeof e||"number"==typeof e)r+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(n=i(e[t]))&&(r&&(r+=" "),r+=n);else for(t in e)e[t]&&(r&&(r+=" "),r+=t);return r}var a=function(){for(var e,t,n=0,r="";n<arguments.length;)(e=arguments[n++])&&(t=i(e))&&(r&&(r+=" "),r+=t);return r};let s={data:""},l=e=>"object"==typeof window?((e?e.querySelector("#_goober"):window._goober)||Object.assign((e||document.head).appendChild(document.createElement("style")),{innerHTML:" ",id:"_goober"})).firstChild:e||s,c=/(?:([\u0080-\uFFFF\w-%@]+) *:? *([^{;]+?);|([^;}{]*?) *{)|(}\s*)/g,u=/\/\*[^]*?\*\/| +/g,d=/\n+/g,p=(e,t)=>{let n="",r="",o="";for(let i in e){let a=e[i];"@"==i[0]?"i"==i[1]?n=i+" "+a+";":r+="f"==i[1]?p(a,i):i+"{"+p(a,"k"==i[1]?"":t)+"}":"object"==typeof a?r+=p(a,t?t.replace(/([^,])+/g,(e=>i.replace(/(^:.*)|([^,])+/g,(t=>/&/.test(t)?t.replace(/&/g,e):e?e+" "+t:t)))):i):null!=a&&(i=/^--/.test(i)?i:i.replace(/[A-Z]/g,"-$&").toLowerCase(),o+=p.p?p.p(i,a):i+":"+a+";")}return n+(t&&o?t+"{"+o+"}":o)+r},f={},h=e=>{if("object"==typeof e){let t="";for(let n in e)t+=n+h(e[n]);return t}return e},m=(e,t,n,r,o)=>{let i=h(e),a=f[i]||(f[i]=(e=>{let t=0,n=11;for(;t<e.length;)n=101*n+e.charCodeAt(t++)>>>0;return"go"+n})(i));if(!f[a]){let t=i!==e?e:(e=>{let t,n,r=[{}];for(;t=c.exec(e.replace(u,""));)t[4]?r.shift():t[3]?(n=t[3].replace(d," ").trim(),r.unshift(r[0][n]=r[0][n]||{})):r[0][t[1]]=t[2].replace(d," ").trim();return r[0]})(e);f[a]=p(o?{["@keyframes "+a]:t}:t,n?"":"."+a)}let s=n&&f.g?f.g:null;return n&&(f.g=f[a]),((e,t,n,r)=>{r?t.data=t.data.replace(r,e):-1===t.data.indexOf(e)&&(t.data=n?e+t.data:t.data+e)})(f[a],t,r,s),a},g=(e,t,n)=>e.reduce(((e,r,o)=>{let i=t[o];if(i&&i.call){let e=i(n),t=e&&e.props&&e.props.className||/^go/.test(e)&&e;i=t?"."+t:e&&"object"==typeof e?e.props?"":p(e,""):!1===e?"":e}return e+r+(null==i?"":i)}),"");function v(e){let t=this||{},n=e.call?e(t.p):e;return m(n.unshift?n.raw?g(n,[].slice.call(arguments,1),t.p):n.reduce(((e,n)=>Object.assign(e,n&&n.call?n(t.p):n)),{}):n,l(t.target),t.g,t.o,t.k)}v.bind({g:1}),v.bind({k:1});function y(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function b(e,t,n){return t&&y(e.prototype,t),n&&y(e,n),e}function x(){return x=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},x.apply(this,arguments)}function w(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function A(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}function _(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var S=function(){return""},k=r.createContext({enqueueSnackbar:S,closeSnackbar:S}),C="@media (max-width:599.95px)",T="@media (min-width:600px)",M=function(e){return e.charAt(0).toUpperCase()+e.slice(1)},P=function(e){return""+M(e.vertical)+M(e.horizontal)},O=function(e){return!!e||0===e},E="unmounted",D="exited",R="entering",I="entered",N="exiting",L=function(e){function t(t){var n;n=e.call(this,t)||this;var r,o=t.appear;return n.appearStatus=null,t.in?o?(r=D,n.appearStatus=R):r=I:r=t.unmountOnExit||t.mountOnEnter?E:D,n.state={status:r},n.nextCallback=null,n}w(t,e),t.getDerivedStateFromProps=function(e,t){return e.in&&t.status===E?{status:D}:null};var n=t.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(e){var t=null;if(e!==this.props){var n=this.state.status;this.props.in?n!==R&&n!==I&&(t=R):n!==R&&n!==I||(t=N)}this.updateStatus(!1,t)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var e=this.props.timeout,t=e,n=e;return null!=e&&"number"!=typeof e&&"string"!=typeof e&&(n=e.exit,t=e.enter),{exit:n,enter:t}},n.updateStatus=function(e,t){void 0===e&&(e=!1),null!==t?(this.cancelNextCallback(),t===R?this.performEnter(e):this.performExit()):this.props.unmountOnExit&&this.state.status===D&&this.setState({status:E})},n.performEnter=function(e){var t=this,n=this.props.enter,r=e,o=this.getTimeouts();e||n?(this.props.onEnter&&this.props.onEnter(this.node,r),this.safeSetState({status:R},(function(){t.props.onEntering&&t.props.onEntering(t.node,r),t.onTransitionEnd(o.enter,(function(){t.safeSetState({status:I},(function(){t.props.onEntered&&t.props.onEntered(t.node,r)}))}))}))):this.safeSetState({status:I},(function(){t.props.onEntered&&t.props.onEntered(t.node,r)}))},n.performExit=function(){var e=this,t=this.props.exit,n=this.getTimeouts();t?(this.props.onExit&&this.props.onExit(this.node),this.safeSetState({status:N},(function(){e.props.onExiting&&e.props.onExiting(e.node),e.onTransitionEnd(n.exit,(function(){e.safeSetState({status:D},(function(){e.props.onExited&&e.props.onExited(e.node)}))}))}))):this.safeSetState({status:D},(function(){e.props.onExited&&e.props.onExited(e.node)}))},n.cancelNextCallback=function(){null!==this.nextCallback&&this.nextCallback.cancel&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},n.setNextCallback=function(e){var t=this,n=!0;return this.nextCallback=function(){n&&(n=!1,t.nextCallback=null,e())},this.nextCallback.cancel=function(){n=!1},this.nextCallback},n.onTransitionEnd=function(e,t){this.setNextCallback(t);var n=null==e&&!this.props.addEndListener;this.node&&!n?(this.props.addEndListener&&this.props.addEndListener(this.node,this.nextCallback),null!=e&&setTimeout(this.nextCallback,e)):setTimeout(this.nextCallback,0)},n.render=function(){var e=this.state.status;if(e===E)return null;var t=this.props;return(0,t.children)(e,A(t,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]))},b(t,[{key:"node",get:function(){var e,t=null===(e=this.props.nodeRef)||void 0===e?void 0:e.current;if(!t)throw new Error("notistack - Custom snackbar is not refForwarding");return t}}]),t}(r.Component);function j(){}function $(e,t){"function"==typeof e?e(t):e&&(e.current=t)}function z(e,t){return(0,r.useMemo)((function(){return null==e&&null==t?null:function(n){$(e,n),$(t,n)}}),[e,t])}function F(e){var t=e.timeout,n=e.style,r=void 0===n?{}:n,o=e.mode;return{duration:"object"==typeof t?t[o]||0:t,easing:r.transitionTimingFunction,delay:r.transitionDelay}}L.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:j,onEntering:j,onEntered:j,onExit:j,onExiting:j,onExited:j};var B="cubic-bezier(0.4, 0, 0.2, 1)",H="cubic-bezier(0.0, 0, 0.2, 1)",V="cubic-bezier(0.4, 0, 0.6, 1)",W=function(e){e.scrollTop=e.scrollTop},U=function(e){return Math.round(e)+"ms"};function q(e,t){void 0===e&&(e=["all"]);var n=t||{},r=n.duration,o=void 0===r?300:r,i=n.easing,a=void 0===i?B:i,s=n.delay,l=void 0===s?0:s;return(Array.isArray(e)?e:[e]).map((function(e){var t="string"==typeof o?o:U(o),n="string"==typeof l?l:U(l);return e+" "+t+" "+a+" "+n})).join(",")}function G(e){var t=function(e){return e&&e.ownerDocument||document}(e);return t.defaultView||window}function Y(e,t){if(t){var n=function(e,t){var n,r=t.getBoundingClientRect(),o=G(t);if(t.fakeTransform)n=t.fakeTransform;else{var i=o.getComputedStyle(t);n=i.getPropertyValue("-webkit-transform")||i.getPropertyValue("transform")}var a=0,s=0;if(n&&"none"!==n&&"string"==typeof n){var l=n.split("(")[1].split(")")[0].split(",");a=parseInt(l[4],10),s=parseInt(l[5],10)}switch(e){case"left":return"translateX("+(o.innerWidth+a-r.left)+"px)";case"right":return"translateX(-"+(r.left+r.width-a)+"px)";case"up":return"translateY("+(o.innerHeight+s-r.top)+"px)";default:return"translateY(-"+(r.top+r.height-s)+"px)"}}(e,t);n&&(t.style.webkitTransform=n,t.style.transform=n)}}var X=(0,r.forwardRef)((function(e,t){var n=e.children,o=e.direction,i=void 0===o?"down":o,a=e.in,s=e.style,l=e.timeout,c=void 0===l?0:l,u=e.onEnter,d=e.onEntered,p=e.onExit,f=e.onExited,h=A(e,["children","direction","in","style","timeout","onEnter","onEntered","onExit","onExited"]),m=(0,r.useRef)(null),g=z(n.ref,m),v=z(g,t),y=(0,r.useCallback)((function(){m.current&&Y(i,m.current)}),[i]);return(0,r.useEffect)((function(){if(!a&&"down"!==i&&"right"!==i){var e=function(e,t){var n;function r(){for(var r=this,o=arguments.length,i=new Array(o),a=0;a<o;a++)i[a]=arguments[a];clearTimeout(n),n=setTimeout((function(){e.apply(r,i)}),t)}return void 0===t&&(t=166),r.clear=function(){clearTimeout(n)},r}((function(){m.current&&Y(i,m.current)})),t=G(m.current);return t.addEventListener("resize",e),function(){e.clear(),t.removeEventListener("resize",e)}}}),[i,a]),(0,r.useEffect)((function(){a||y()}),[a,y]),(0,r.createElement)(L,Object.assign({appear:!0,nodeRef:m,onEnter:function(e,t){Y(i,e),W(e),u&&u(e,t)},onEntered:d,onEntering:function(e){var t=(null==s?void 0:s.transitionTimingFunction)||H,n=F({timeout:c,mode:"enter",style:x({},s,{transitionTimingFunction:t})});e.style.webkitTransition=q("-webkit-transform",n),e.style.transition=q("transform",n),e.style.webkitTransform="none",e.style.transform="none"},onExit:function(e){var t=(null==s?void 0:s.transitionTimingFunction)||V,n=F({timeout:c,mode:"exit",style:x({},s,{transitionTimingFunction:t})});e.style.webkitTransition=q("-webkit-transform",n),e.style.transition=q("transform",n),Y(i,e),p&&p(e)},onExited:function(e){e.style.webkitTransition="",e.style.transition="",f&&f(e)},in:a,timeout:c},h),(function(e,t){return(0,r.cloneElement)(n,x({ref:v,style:x({visibility:"exited"!==e||a?void 0:"hidden"},s,{},n.props.style)},t))}))}));X.displayName="Slide";var K=function(e){return r.createElement("svg",Object.assign({viewBox:"0 0 24 24",focusable:"false",style:{fontSize:20,marginInlineEnd:8,userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:"currentColor",flexShrink:0}},e))},Z=function(){return r.createElement(K,null,r.createElement("path",{d:"M12 2C6.5 2 2 6.5 2 12S6.5 22 12 22 22 17.5 22 12 17.5 2 12 2M10 17L5 12L6.41\n 10.59L10 14.17L17.59 6.58L19 8L10 17Z"}))},J=function(){return r.createElement(K,null,r.createElement("path",{d:"M13,14H11V10H13M13,18H11V16H13M1,21H23L12,2L1,21Z"}))},Q=function(){return r.createElement(K,null,r.createElement("path",{d:"M12,2C17.53,2 22,6.47 22,12C22,17.53 17.53,22 12,22C6.47,22 2,17.53 2,12C2,\n 6.47 6.47,2 12,2M15.59,7L12,10.59L8.41,7L7,8.41L10.59,12L7,15.59L8.41,17L12,\n 13.41L15.59,17L17,15.59L13.41,12L17,8.41L15.59,7Z"}))},ee=function(){return r.createElement(K,null,r.createElement("path",{d:"M13,9H11V7H13M13,17H11V11H13M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,\n 0 22,12A10,10 0 0,0 12,2Z"}))},te={maxSnack:3,persist:!1,hideIconVariant:!1,disableWindowBlurListener:!1,variant:"default",autoHideDuration:5e3,iconVariant:{default:void 0,success:r.createElement(Z,null),warning:r.createElement(J,null),error:r.createElement(Q,null),info:r.createElement(ee,null)},anchorOrigin:{vertical:"bottom",horizontal:"left"},TransitionComponent:X,transitionDuration:{enter:225,exit:195}},ne=function(e,t){return function(n,r){return void 0===r&&(r=!1),r?x({},te[n],{},t[n],{},e[n]):"autoHideDuration"===n?(o=e.autoHideDuration,i=t.autoHideDuration,(a=function(e){return"number"==typeof e||null===e})(o)?o:a(i)?i:te.autoHideDuration):"transitionDuration"===n?function(e,t){var n=function(e,t){return t.some((function(t){return typeof e===t}))};return n(e,["string","number"])?e:n(e,["object"])?x({},te.transitionDuration,{},n(t,["object"])&&t,{},e):n(t,["string","number"])?t:n(t,["object"])?x({},te.transitionDuration,{},t):te.transitionDuration}(e.transitionDuration,t.transitionDuration):e[n]||t[n]||te[n];var o,i,a}};function re(e){return Object.entries(e).reduce((function(e,t){var n,r=t[0],o=t[1];return x({},e,((n={})[r]=v(o),n))}),{})}var oe="notistack-SnackbarContainer",ie="notistack-Snackbar",ae="notistack-CollapseWrapper",se="notistack-MuiContent",le=function(e){return"notistack-MuiContent-"+e},ce=re({root:{height:0},entered:{height:"auto"}}),ue="0px",de=(0,r.forwardRef)((function(e,t){var n=e.children,o=e.in,i=e.onExited,s=(0,r.useRef)(null),l=(0,r.useRef)(null),c=z(t,l),u=function(){return s.current?s.current.clientHeight:0};return(0,r.createElement)(L,{in:o,unmountOnExit:!0,onEnter:function(e){e.style.height=ue},onEntered:function(e){e.style.height="auto"},onEntering:function(e){var t=u(),n=F({timeout:175,mode:"enter"}),r=n.duration,o=n.easing;e.style.transitionDuration="string"==typeof r?r:r+"ms",e.style.height=t+"px",e.style.transitionTimingFunction=o||""},onExit:function(e){e.style.height=u()+"px"},onExited:i,onExiting:function(e){W(e);var t=F({timeout:175,mode:"exit"}),n=t.duration,r=t.easing;e.style.transitionDuration="string"==typeof n?n:n+"ms",e.style.height=ue,e.style.transitionTimingFunction=r||""},nodeRef:l,timeout:175},(function(e,t){return(0,r.createElement)("div",Object.assign({ref:c,className:a(ce.root,"entered"===e&&ce.entered),style:x({pointerEvents:"all",overflow:"hidden",minHeight:ue,transition:q("height")},"entered"===e&&{overflow:"visible"},{},"exited"===e&&!o&&{visibility:"hidden"})},t),(0,r.createElement)("div",{ref:s,className:ae,style:{display:"flex",width:"100%"}},n))}))}));de.displayName="Collapse";var pe={right:"left",left:"right",bottom:"up",top:"down"},fe=function(e){return"anchorOrigin"+P(e)},he=function(){};function me(e,t){return e.reduce((function(e,n){return null==n?e:function(){for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];var a=[].concat(o);t&&-1===a.indexOf(t)&&a.push(t),e.apply(this,a),n.apply(this,a)}}),he)}var ge="undefined"!=typeof window?r.useLayoutEffect:r.useEffect;function ve(e){var t=(0,r.useRef)(e);return ge((function(){t.current=e})),(0,r.useCallback)((function(){return t.current.apply(void 0,arguments)}),[])}var ye,be=(0,r.forwardRef)((function(e,t){var n=e.children,o=e.className,i=e.autoHideDuration,s=e.disableWindowBlurListener,l=void 0!==s&&s,c=e.onClose,u=e.id,d=e.open,p=e.SnackbarProps,f=void 0===p?{}:p,h=(0,r.useRef)(),m=ve((function(){c&&c.apply(void 0,arguments)})),g=ve((function(e){c&&null!=e&&(h.current&&clearTimeout(h.current),h.current=setTimeout((function(){m(null,"timeout",u)}),e))}));(0,r.useEffect)((function(){return d&&g(i),function(){h.current&&clearTimeout(h.current)}}),[d,i,g]);var v=function(){h.current&&clearTimeout(h.current)},y=(0,r.useCallback)((function(){null!=i&&g(.5*i)}),[i,g]);return(0,r.useEffect)((function(){if(!l&&d)return window.addEventListener("focus",y),window.addEventListener("blur",v),function(){window.removeEventListener("focus",y),window.removeEventListener("blur",v)}}),[l,y,d]),(0,r.createElement)("div",Object.assign({ref:t},f,{className:a(ie,o),onMouseEnter:function(e){f.onMouseEnter&&f.onMouseEnter(e),v()},onMouseLeave:function(e){f.onMouseLeave&&f.onMouseLeave(e),y()}}),n)}));be.displayName="Snackbar";var xe=re({root:(ye={display:"flex",flexWrap:"wrap",flexGrow:1},ye[T]={flexGrow:"initial",minWidth:"288px"},ye)}),we=(0,r.forwardRef)((function(e,t){var n=e.className,o=A(e,["className"]);return r.createElement("div",Object.assign({ref:t,className:a(xe.root,n)},o))}));we.displayName="SnackbarContent";var Ae=re({root:{backgroundColor:"#313131",fontSize:"0.875rem",lineHeight:1.43,letterSpacing:"0.01071em",color:"#fff",alignItems:"center",padding:"6px 16px",borderRadius:"4px",boxShadow:"0px 3px 5px -1px rgba(0,0,0,0.2),0px 6px 10px 0px rgba(0,0,0,0.14),0px 1px 18px 0px rgba(0,0,0,0.12)"},lessPadding:{paddingLeft:"20px"},default:{backgroundColor:"#313131"},success:{backgroundColor:"#43a047"},error:{backgroundColor:"#d32f2f"},warning:{backgroundColor:"#ff9800"},info:{backgroundColor:"#2196f3"},message:{display:"flex",alignItems:"center",padding:"8px 0"},action:{display:"flex",alignItems:"center",marginLeft:"auto",paddingLeft:"16px",marginRight:"-8px"}}),_e="notistack-snackbar",Se=(0,r.forwardRef)((function(e,t){var n=e.id,o=e.message,i=e.action,s=e.iconVariant,l=e.variant,c=e.hideIconVariant,u=e.style,d=e.className,p=s[l],f=i;return"function"==typeof f&&(f=f(n)),r.createElement(we,{ref:t,role:"alert","aria-describedby":_e,style:u,className:a(se,le(l),Ae.root,Ae[l],d,!c&&p&&Ae.lessPadding)},r.createElement("div",{id:_e,className:Ae.message},c?null:p,o),f&&r.createElement("div",{className:Ae.action},f))}));Se.displayName="MaterialDesignContent";var ke,Ce,Te,Me,Pe,Oe,Ee,De=(0,r.memo)(Se),Re=re({wrappedRoot:{width:"100%",position:"relative",transform:"translateX(0)",top:0,right:0,bottom:0,left:0,minWidth:"288px"}}),Ie=function(e){var t=(0,r.useRef)(),n=(0,r.useState)(!0),o=n[0],i=n[1],s=me([e.snack.onClose,e.onClose]),l=(0,r.useCallback)((function(){t.current=setTimeout((function(){i((function(e){return!e}))}),125)}),[]);(0,r.useEffect)((function(){return function(){t.current&&clearTimeout(t.current)}}),[]);var c,u=e.snack,d=e.classes,p=e.Component,f=void 0===p?De:p,h=(0,r.useMemo)((function(){return function(e){void 0===e&&(e={});var t={containerRoot:!0,containerAnchorOriginTopCenter:!0,containerAnchorOriginBottomCenter:!0,containerAnchorOriginTopRight:!0,containerAnchorOriginBottomRight:!0,containerAnchorOriginTopLeft:!0,containerAnchorOriginBottomLeft:!0};return Object.keys(e).filter((function(e){return!t[e]})).reduce((function(t,n){var r;return x({},t,((r={})[n]=e[n],r))}),{})}(d)}),[d]),m=u.open,g=u.SnackbarProps,v=u.TransitionComponent,y=u.TransitionProps,b=u.transitionDuration,w=u.disableWindowBlurListener,_=u.content,S=A(u,["open","SnackbarProps","TransitionComponent","TransitionProps","transitionDuration","disableWindowBlurListener","content","entered","requestClose","onEnter","onEntered","onExit","onExited"]),k=x({direction:(c=S.anchorOrigin,"center"!==c.horizontal?pe[c.horizontal]:pe[c.vertical]),timeout:b},y),C=_;"function"==typeof C&&(C=C(S.id,S.message));var T=["onEnter","onEntered","onExit","onExited"].reduce((function(t,n){var r;return x({},t,((r={})[n]=me([e.snack[n],e[n]],S.id),r))}),{});return r.createElement(de,{in:o,onExited:T.onExited},r.createElement(be,{open:m,id:S.id,disableWindowBlurListener:w,autoHideDuration:S.autoHideDuration,className:a(Re.wrappedRoot,h.root,h[fe(S.anchorOrigin)]),SnackbarProps:g,onClose:s},r.createElement(v,Object.assign({},k,{appear:!0,in:m,onExit:T.onExit,onExited:l,onEnter:T.onEnter,onEntered:me([T.onEntered,function(){e.snack.requestClose&&s(null,"instructed",e.snack.id)}],S.id)}),C||r.createElement(f,Object.assign({},S)))))},Ne={default:20,dense:4},Le={default:6,dense:2},je="."+ae,$e=re({root:(ke={boxSizing:"border-box",display:"flex",maxHeight:"100%",position:"fixed",zIndex:1400,height:"auto",width:"auto",transition:q(["top","right","bottom","left","max-width"],{duration:300,easing:"ease"}),pointerEvents:"none"},ke[je]={padding:Le.default+"px 0px",transition:"padding 300ms ease 0ms"},ke.maxWidth="calc(100% - "+2*Ne.default+"px)",ke[C]={width:"100%",maxWidth:"calc(100% - 32px)"},ke),rootDense:(Ce={},Ce[je]={padding:Le.dense+"px 0px"},Ce),top:{top:Ne.default-Le.default+"px",flexDirection:"column"},bottom:{bottom:Ne.default-Le.default+"px",flexDirection:"column-reverse"},left:(Te={left:Ne.default+"px"},Te[T]={alignItems:"flex-start"},Te[C]={left:"16px"},Te),right:(Me={right:Ne.default+"px"},Me[T]={alignItems:"flex-end"},Me[C]={right:"16px"},Me),center:(Pe={left:"50%",transform:"translateX(-50%)"},Pe[T]={alignItems:"center"},Pe)}),ze=function(e){var t=e.classes,n=void 0===t?{}:t,o=e.anchorOrigin,i=e.dense,s=e.children,l=a(oe,$e[o.vertical],$e[o.horizontal],$e.root,n.containerRoot,n["containerAnchorOrigin"+P(o)],i&&$e.rootDense);return r.createElement("div",{className:l},s)},Fe=(0,r.memo)(ze),Be=function(e){return!("string"==typeof e||(0,r.isValidElement)(e))},He=function(e){function t(t){var n;return(n=e.call(this,t)||this).enqueueSnackbar=function(e,t){if(void 0===t&&(t={}),null==e)throw new Error("enqueueSnackbar called with invalid argument");var r=Be(e)?e:t,o=Be(e)?e.message:e,i=r.key,s=r.preventDuplicate,l=A(r,["key","preventDuplicate"]),c=O(i),u=c?i:(new Date).getTime()+Math.random(),d=ne(l,n.props),p=x({id:u},l,{message:o,open:!0,entered:!1,requestClose:!1,persist:d("persist"),action:d("action"),content:d("content"),variant:d("variant"),anchorOrigin:d("anchorOrigin"),disableWindowBlurListener:d("disableWindowBlurListener"),autoHideDuration:d("autoHideDuration"),hideIconVariant:d("hideIconVariant"),TransitionComponent:d("TransitionComponent"),transitionDuration:d("transitionDuration"),TransitionProps:d("TransitionProps",!0),iconVariant:d("iconVariant",!0),style:d("style",!0),SnackbarProps:d("SnackbarProps",!0),className:a(n.props.className,l.className)});return p.persist&&(p.autoHideDuration=void 0),n.setState((function(e){if(void 0===s&&n.props.preventDuplicate||s){var t=function(e){return c?e.id===u:e.message===o},r=e.queue.findIndex(t)>-1,i=e.snacks.findIndex(t)>-1;if(r||i)return e}return n.handleDisplaySnack(x({},e,{queue:[].concat(e.queue,[p])}))})),u},n.handleDisplaySnack=function(e){return e.snacks.length>=n.maxSnack?n.handleDismissOldest(e):n.processQueue(e)},n.processQueue=function(e){var t=e.queue,n=e.snacks;return t.length>0?x({},e,{snacks:[].concat(n,[t[0]]),queue:t.slice(1,t.length)}):e},n.handleDismissOldest=function(e){if(e.snacks.some((function(e){return!e.open||e.requestClose})))return e;var t=!1,r=!1;e.snacks.reduce((function(e,t){return e+(t.open&&t.persist?1:0)}),0)===n.maxSnack&&(r=!0);var o=e.snacks.map((function(e){return t||e.persist&&!r?x({},e):(t=!0,e.entered?(e.onClose&&e.onClose(null,"maxsnack",e.id),n.props.onClose&&n.props.onClose(null,"maxsnack",e.id),x({},e,{open:!1})):x({},e,{requestClose:!0}))}));return x({},e,{snacks:o})},n.handleEnteredSnack=function(e,t,r){if(!O(r))throw new Error("handleEnteredSnack Cannot be called with undefined key");n.setState((function(e){return{snacks:e.snacks.map((function(e){return e.id===r?x({},e,{entered:!0}):x({},e)}))}}))},n.handleCloseSnack=function(e,t,r){n.props.onClose&&n.props.onClose(e,t,r);var o=void 0===r;n.setState((function(e){var t=e.snacks,n=e.queue;return{snacks:t.map((function(e){return o||e.id===r?e.entered?x({},e,{open:!1}):x({},e,{requestClose:!0}):x({},e)})),queue:n.filter((function(e){return e.id!==r}))}}))},n.closeSnackbar=function(e){var t=n.state.snacks.find((function(t){return t.id===e}));O(e)&&t&&t.onClose&&t.onClose(null,"instructed",e),n.handleCloseSnack(null,"instructed",e)},n.handleExitedSnack=function(e,t){if(!O(t))throw new Error("handleExitedSnack Cannot be called with undefined key");n.setState((function(e){var r=n.processQueue(x({},e,{snacks:e.snacks.filter((function(e){return e.id!==t}))}));return 0===r.queue.length?r:n.handleDismissOldest(r)}))},Oe=n.enqueueSnackbar,Ee=n.closeSnackbar,n.state={snacks:[],queue:[],contextValue:{enqueueSnackbar:n.enqueueSnackbar.bind(_(n)),closeSnackbar:n.closeSnackbar.bind(_(n))}},n}return w(t,e),t.prototype.render=function(){var e=this,t=this.state.contextValue,n=this.props,i=n.domRoot,a=n.children,s=n.dense,l=void 0!==s&&s,c=n.Components,u=void 0===c?{}:c,d=n.classes,p=this.state.snacks.reduce((function(e,t){var n,r=P(t.anchorOrigin),o=e[r]||[];return x({},e,((n={})[r]=[].concat(o,[t]),n))}),{}),f=Object.keys(p).map((function(t){var n=p[t],o=n[0];return r.createElement(Fe,{key:t,dense:l,anchorOrigin:o.anchorOrigin,classes:d},n.map((function(t){return r.createElement(Ie,{key:t.id,snack:t,classes:d,Component:u[t.variant],onClose:e.handleCloseSnack,onEnter:e.props.onEnter,onExit:e.props.onExit,onExited:me([e.handleExitedSnack,e.props.onExited],t.id),onEntered:me([e.handleEnteredSnack,e.props.onEntered],t.id)})})))}));return r.createElement(k.Provider,{value:t},a,i?(0,o.createPortal)(f,i):f)},b(t,[{key:"maxSnack",get:function(){return this.props.maxSnack||te.maxSnack}}]),t}(r.Component),Ve=function(){return(0,r.useContext)(k)}},2694:function(e,t,n){"use strict";var r=n(6925);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,i,a){if(a!==r){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:o};return n.PropTypes=n,n}},5556:function(e,t,n){e.exports=n(2694)()},6925:function(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},74555:function(e,t,n){var r;e=n.nmd(e),r=function(){var e=null,t={};m();var n=[],r=function(t){if(void 0!==(t=t||{}).seed&&null!==t.seed&&t.seed===parseInt(t.seed,10))e=t.seed;else if("string"==typeof t.seed)e=b(t.seed);else{if(void 0!==t.seed&&null!==t.seed)throw new TypeError("The seed value must be an integer or string");e=null}var l,c;if(null!==t.count&&void 0!==t.count){for(var u=t.count,d=[],p=0;p<t.count;p++)n.push(!1);for(t.count=null;u>d.length;){var f=r(t);null!==e&&(t.seed=e),d.push(f)}return t.count=u,d}return s([l=o(t),c=i(l,t),a(l,c,t)],t)};function o(e){if(n.length>0){var t=p(i=x(e.hue)),r=(i[1]-i[0])/n.length,o=parseInt((t-i[0])/r);return!0===n[o]?o=(o+2)%n.length:n[o]=!0,(t=p(i=[(i[0]+o*r)%359,(i[0]+(o+1)*r)%359]))<0&&(t=360+t),t}var i;return(t=p(i=c(e.hue)))<0&&(t=360+t),t}function i(e,t){if("monochrome"===t.hue)return 0;if("random"===t.luminosity)return p([0,100]);var n=u(e),r=n[0],o=n[1];switch(t.luminosity){case"bright":r=55;break;case"dark":r=o-10;break;case"light":o=55}return p([r,o])}function a(e,t,n){var r=l(e,t),o=100;switch(n.luminosity){case"dark":o=r+20;break;case"light":r=(o+r)/2;break;case"random":r=0,o=100}return p([r,o])}function s(e,t){switch(t.format){case"hsvArray":return e;case"hslArray":return y(e);case"hsl":var n=y(e);return"hsl("+n[0]+", "+n[1]+"%, "+n[2]+"%)";case"hsla":var r=y(e),o=t.alpha||Math.random();return"hsla("+r[0]+", "+r[1]+"%, "+r[2]+"%, "+o+")";case"rgbArray":return g(e);case"rgb":return"rgb("+g(e).join(", ")+")";case"rgba":var i=g(e);return o=t.alpha||Math.random(),"rgba("+i.join(", ")+", "+o+")";default:return f(e)}}function l(e,t){for(var n=d(e).lowerBounds,r=0;r<n.length-1;r++){var o=n[r][0],i=n[r][1],a=n[r+1][0],s=n[r+1][1];if(t>=o&&t<=a){var l=(s-i)/(a-o);return l*t+(i-l*o)}}return 0}function c(e){if("number"==typeof parseInt(e)){var n=parseInt(e);if(n<360&&n>0)return[n,n]}if("string"==typeof e)if(t[e]){var r=t[e];if(r.hueRange)return r.hueRange}else if(e.match(/^#?([0-9A-F]{3}|[0-9A-F]{6})$/i)){var o=v(e)[0];return[o,o]}return[0,360]}function u(e){return d(e).saturationRange}function d(e){for(var n in e>=334&&e<=360&&(e-=360),t){var r=t[n];if(r.hueRange&&e>=r.hueRange[0]&&e<=r.hueRange[1])return t[n]}return"Color not found"}function p(t){if(null===e){var n=.618033988749895,r=Math.random();return r+=n,r%=1,Math.floor(t[0]+r*(t[1]+1-t[0]))}var o=t[1]||1,i=t[0]||0,a=(e=(9301*e+49297)%233280)/233280;return Math.floor(i+a*(o-i))}function f(e){var t=g(e);function n(e){var t=e.toString(16);return 1==t.length?"0"+t:t}return"#"+n(t[0])+n(t[1])+n(t[2])}function h(e,n,r){var o=r[0][0],i=r[r.length-1][0],a=r[r.length-1][1],s=r[0][1];t[e]={hueRange:n,lowerBounds:r,saturationRange:[o,i],brightnessRange:[a,s]}}function m(){h("monochrome",null,[[0,0],[100,0]]),h("red",[-26,18],[[20,100],[30,92],[40,89],[50,85],[60,78],[70,70],[80,60],[90,55],[100,50]]),h("orange",[18,46],[[20,100],[30,93],[40,88],[50,86],[60,85],[70,70],[100,70]]),h("yellow",[46,62],[[25,100],[40,94],[50,89],[60,86],[70,84],[80,82],[90,80],[100,75]]),h("green",[62,178],[[30,100],[40,90],[50,85],[60,81],[70,74],[80,64],[90,50],[100,40]]),h("blue",[178,257],[[20,100],[30,86],[40,80],[50,74],[60,60],[70,52],[80,44],[90,39],[100,35]]),h("purple",[257,282],[[20,100],[30,87],[40,79],[50,70],[60,65],[70,59],[80,52],[90,45],[100,42]]),h("pink",[282,334],[[20,100],[30,90],[40,86],[60,84],[80,80],[90,75],[100,73]])}function g(e){var t=e[0];0===t&&(t=1),360===t&&(t=359),t/=360;var n=e[1]/100,r=e[2]/100,o=Math.floor(6*t),i=6*t-o,a=r*(1-n),s=r*(1-i*n),l=r*(1-(1-i)*n),c=256,u=256,d=256;switch(o){case 0:c=r,u=l,d=a;break;case 1:c=s,u=r,d=a;break;case 2:c=a,u=r,d=l;break;case 3:c=a,u=s,d=r;break;case 4:c=l,u=a,d=r;break;case 5:c=r,u=a,d=s}return[Math.floor(255*c),Math.floor(255*u),Math.floor(255*d)]}function v(e){e=3===(e=e.replace(/^#/,"")).length?e.replace(/(.)/g,"$1$1"):e;var t=parseInt(e.substr(0,2),16)/255,n=parseInt(e.substr(2,2),16)/255,r=parseInt(e.substr(4,2),16)/255,o=Math.max(t,n,r),i=o-Math.min(t,n,r),a=o?i/o:0;switch(o){case t:return[(n-r)/i%6*60||0,a,o];case n:return[60*((r-t)/i+2)||0,a,o];case r:return[60*((t-n)/i+4)||0,a,o]}}function y(e){var t=e[0],n=e[1]/100,r=e[2]/100,o=(2-n)*r;return[t,Math.round(n*r/(o<1?o:2-o)*1e4)/100,o/2*100]}function b(e){for(var t=0,n=0;n!==e.length&&!(t>=Number.MAX_SAFE_INTEGER);n++)t+=e.charCodeAt(n);return t}function x(e){if(isNaN(e)){if("string"==typeof e)if(t[e]){var n=t[e];if(n.hueRange)return n.hueRange}else if(e.match(/^#?([0-9A-F]{3}|[0-9A-F]{6})$/i))return d(v(e)[0]).hueRange}else{var r=parseInt(e);if(r<360&&r>0)return d(e).hueRange}return[0,360]}return r}(),e&&e.exports&&(t=e.exports=r),t.randomColor=r},25264:function(e,t,n){"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.CopyToClipboard=void 0;var o=s(n(96540)),i=s(n(17965)),a=["text","onCopy","options","children"];function s(e){return e&&e.__esModule?e:{default:e}}function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function c(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?l(Object(n),!0).forEach((function(t){g(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function u(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function d(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function p(e,t){return p=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},p(e,t)}function f(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,o=m(e);if(t){var i=m(this).constructor;n=Reflect.construct(o,arguments,i)}else n=o.apply(this,arguments);return function(e,t){if(t&&("object"===r(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return h(e)}(this,n)}}function h(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function m(e){return m=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},m(e)}function g(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var v=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&p(e,t)}(l,e);var t,n,r,s=f(l);function l(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,l);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return g(h(e=s.call.apply(s,[this].concat(n))),"onClick",(function(t){var n=e.props,r=n.text,a=n.onCopy,s=n.children,l=n.options,c=o.default.Children.only(s),u=(0,i.default)(r,l);a&&a(r,u),c&&c.props&&"function"==typeof c.props.onClick&&c.props.onClick(t)})),e}return t=l,(n=[{key:"render",value:function(){var e=this.props,t=(e.text,e.onCopy,e.options,e.children),n=u(e,a),r=o.default.Children.only(t);return o.default.cloneElement(r,c(c({},n),{},{onClick:this.onClick}))}}])&&d(t.prototype,n),r&&d(t,r),Object.defineProperty(t,"prototype",{writable:!1}),l}(o.default.PureComponent);t.CopyToClipboard=v,g(v,"defaultProps",{onCopy:void 0,options:void 0})},59399:function(e,t,n){"use strict";var r=n(25264).CopyToClipboard;r.CopyToClipboard=r,e.exports=r},22551:function(e,t,n){"use strict";var r=n(96540),o=n(20194);function i(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var a=new Set,s={};function l(e,t){c(e,t),c(e+"Capture",t)}function c(e,t){for(s[e]=t,e=0;e<t.length;e++)a.add(t[e])}var u=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),d=Object.prototype.hasOwnProperty,p=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,f={},h={};function m(e,t,n,r,o,i,a){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=a}var g={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){g[e]=new m(e,0,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];g[t]=new m(t,1,!1,e[1],null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){g[e]=new m(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){g[e]=new m(e,2,!1,e,null,!1,!1)})),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach((function(e){g[e]=new m(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(e){g[e]=new m(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((function(e){g[e]=new m(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((function(e){g[e]=new m(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((function(e){g[e]=new m(e,5,!1,e.toLowerCase(),null,!1,!1)}));var v=/[\-:]([a-z])/g;function y(e){return e[1].toUpperCase()}function b(e,t,n,r){var o=g.hasOwnProperty(t)?g[t]:null;(null!==o?0!==o.type:r||!(2<t.length)||"o"!==t[0]&&"O"!==t[0]||"n"!==t[1]&&"N"!==t[1])&&(function(e,t,n,r){if(null==t||function(e,t,n,r){if(null!==n&&0===n.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!r&&(null!==n?!n.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}(e,t,n,r))return!0;if(r)return!1;if(null!==n)switch(n.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}(t,n,o,r)&&(n=null),r||null===o?function(e){return!!d.call(h,e)||!d.call(f,e)&&(p.test(e)?h[e]=!0:(f[e]=!0,!1))}(t)&&(null===n?e.removeAttribute(t):e.setAttribute(t,""+n)):o.mustUseProperty?e[o.propertyName]=null===n?3!==o.type&&"":n:(t=o.attributeName,r=o.attributeNamespace,null===n?e.removeAttribute(t):(n=3===(o=o.type)||4===o&&!0===n?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach((function(e){var t=e.replace(v,y);g[t]=new m(t,1,!1,e,null,!1,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(e){var t=e.replace(v,y);g[t]=new m(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(v,y);g[t]=new m(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(e){g[e]=new m(e,1,!1,e.toLowerCase(),null,!1,!1)})),g.xlinkHref=new m("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(e){g[e]=new m(e,1,!1,e.toLowerCase(),null,!0,!0)}));var x=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,w=Symbol.for("react.element"),A=Symbol.for("react.portal"),_=Symbol.for("react.fragment"),S=Symbol.for("react.strict_mode"),k=Symbol.for("react.profiler"),C=Symbol.for("react.provider"),T=Symbol.for("react.context"),M=Symbol.for("react.forward_ref"),P=Symbol.for("react.suspense"),O=Symbol.for("react.suspense_list"),E=Symbol.for("react.memo"),D=Symbol.for("react.lazy");Symbol.for("react.scope"),Symbol.for("react.debug_trace_mode");var R=Symbol.for("react.offscreen");Symbol.for("react.legacy_hidden"),Symbol.for("react.cache"),Symbol.for("react.tracing_marker");var I=Symbol.iterator;function N(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=I&&e[I]||e["@@iterator"])?e:null}var L,j=Object.assign;function $(e){if(void 0===L)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);L=t&&t[1]||""}return"\n"+L+e}var z=!1;function F(e,t){if(!e||z)return"";z=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(t,[])}catch(e){var r=e}Reflect.construct(e,[],t)}else{try{t.call()}catch(e){r=e}e.call(t.prototype)}else{try{throw Error()}catch(e){r=e}e()}}catch(t){if(t&&r&&"string"==typeof t.stack){for(var o=t.stack.split("\n"),i=r.stack.split("\n"),a=o.length-1,s=i.length-1;1<=a&&0<=s&&o[a]!==i[s];)s--;for(;1<=a&&0<=s;a--,s--)if(o[a]!==i[s]){if(1!==a||1!==s)do{if(a--,0>--s||o[a]!==i[s]){var l="\n"+o[a].replace(" at new "," at ");return e.displayName&&l.includes("<anonymous>")&&(l=l.replace("<anonymous>",e.displayName)),l}}while(1<=a&&0<=s);break}}}finally{z=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?$(e):""}function B(e){switch(e.tag){case 5:return $(e.type);case 16:return $("Lazy");case 13:return $("Suspense");case 19:return $("SuspenseList");case 0:case 2:case 15:return e=F(e.type,!1);case 11:return e=F(e.type.render,!1);case 1:return e=F(e.type,!0);default:return""}}function H(e){if(null==e)return null;if("function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case _:return"Fragment";case A:return"Portal";case k:return"Profiler";case S:return"StrictMode";case P:return"Suspense";case O:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case T:return(e.displayName||"Context")+".Consumer";case C:return(e._context.displayName||"Context")+".Provider";case M:var t=e.render;return(e=e.displayName)||(e=""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case E:return null!==(t=e.displayName||null)?t:H(e.type)||"Memo";case D:t=e._payload,e=e._init;try{return H(e(t))}catch(e){}}return null}function V(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=(e=t.render).displayName||e.name||"",t.displayName||(""!==e?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return H(t);case 8:return t===S?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if("function"==typeof t)return t.displayName||t.name||null;if("string"==typeof t)return t}return null}function W(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":case"object":return e;default:return""}}function U(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function q(e){e._valueTracker||(e._valueTracker=function(e){var t=U(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&void 0!==n&&"function"==typeof n.get&&"function"==typeof n.set){var o=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(e){r=""+e,i.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(e){r=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function G(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=U(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function Y(e){if(void 0===(e=e||("undefined"!=typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function X(e,t){var n=t.checked;return j({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function K(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=W(null!=t.value?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function Z(e,t){null!=(t=t.checked)&&b(e,"checked",t,!1)}function J(e,t){Z(e,t);var n=W(t.value),r=t.type;if(null!=n)"number"===r?(0===n&&""===e.value||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if("submit"===r||"reset"===r)return void e.removeAttribute("value");t.hasOwnProperty("value")?ee(e,t.type,n):t.hasOwnProperty("defaultValue")&&ee(e,t.type,W(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function Q(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!("submit"!==r&&"reset"!==r||void 0!==t.value&&null!==t.value))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}""!==(n=e.name)&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,""!==n&&(e.name=n)}function ee(e,t,n){"number"===t&&Y(e.ownerDocument)===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var te=Array.isArray;function ne(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o<n.length;o++)t["$"+n[o]]=!0;for(n=0;n<e.length;n++)o=t.hasOwnProperty("$"+e[n].value),e[n].selected!==o&&(e[n].selected=o),o&&r&&(e[n].defaultSelected=!0)}else{for(n=""+W(n),t=null,o=0;o<e.length;o++){if(e[o].value===n)return e[o].selected=!0,void(r&&(e[o].defaultSelected=!0));null!==t||e[o].disabled||(t=e[o])}null!==t&&(t.selected=!0)}}function re(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(i(91));return j({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function oe(e,t){var n=t.value;if(null==n){if(n=t.children,t=t.defaultValue,null!=n){if(null!=t)throw Error(i(92));if(te(n)){if(1<n.length)throw Error(i(93));n=n[0]}t=n}null==t&&(t=""),n=t}e._wrapperState={initialValue:W(n)}}function ie(e,t){var n=W(t.value),r=W(t.defaultValue);null!=n&&((n=""+n)!==e.value&&(e.value=n),null==t.defaultValue&&e.defaultValue!==n&&(e.defaultValue=n)),null!=r&&(e.defaultValue=""+r)}function ae(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}function se(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function le(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?se(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var ce,ue,de=(ue=function(e,t){if("http://www.w3.org/2000/svg"!==e.namespaceURI||"innerHTML"in e)e.innerHTML=t;else{for((ce=ce||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=ce.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}},"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(e,t,n,r){MSApp.execUnsafeLocalFunction((function(){return ue(e,t)}))}:ue);function pe(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}var fe={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},he=["Webkit","ms","Moz","O"];function me(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||fe.hasOwnProperty(e)&&fe[e]?(""+t).trim():t+"px"}function ge(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),o=me(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}Object.keys(fe).forEach((function(e){he.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),fe[t]=fe[e]}))}));var ve=j({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function ye(e,t){if(t){if(ve[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(i(137,e));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(i(60));if("object"!=typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(i(61))}if(null!=t.style&&"object"!=typeof t.style)throw Error(i(62))}}function be(e,t){if(-1===e.indexOf("-"))return"string"==typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var xe=null;function we(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var Ae=null,_e=null,Se=null;function ke(e){if(e=xo(e)){if("function"!=typeof Ae)throw Error(i(280));var t=e.stateNode;t&&(t=Ao(t),Ae(e.stateNode,e.type,t))}}function Ce(e){_e?Se?Se.push(e):Se=[e]:_e=e}function Te(){if(_e){var e=_e,t=Se;if(Se=_e=null,ke(e),t)for(e=0;e<t.length;e++)ke(t[e])}}function Me(e,t){return e(t)}function Pe(){}var Oe=!1;function Ee(e,t,n){if(Oe)return e(t,n);Oe=!0;try{return Me(e,t,n)}finally{Oe=!1,(null!==_e||null!==Se)&&(Pe(),Te())}}function De(e,t){var n=e.stateNode;if(null===n)return null;var r=Ao(n);if(null===r)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(r=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!r;break e;default:e=!1}if(e)return null;if(n&&"function"!=typeof n)throw Error(i(231,t,typeof n));return n}var Re=!1;if(u)try{var Ie={};Object.defineProperty(Ie,"passive",{get:function(){Re=!0}}),window.addEventListener("test",Ie,Ie),window.removeEventListener("test",Ie,Ie)}catch(ue){Re=!1}function Ne(e,t,n,r,o,i,a,s,l){var c=Array.prototype.slice.call(arguments,3);try{t.apply(n,c)}catch(e){this.onError(e)}}var Le=!1,je=null,$e=!1,ze=null,Fe={onError:function(e){Le=!0,je=e}};function Be(e,t,n,r,o,i,a,s,l){Le=!1,je=null,Ne.apply(Fe,arguments)}function He(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{!!(4098&(t=e).flags)&&(n=t.return),e=t.return}while(e)}return 3===t.tag?n:null}function Ve(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&(null!==(e=e.alternate)&&(t=e.memoizedState)),null!==t)return t.dehydrated}return null}function We(e){if(He(e)!==e)throw Error(i(188))}function Ue(e){return null!==(e=function(e){var t=e.alternate;if(!t){if(null===(t=He(e)))throw Error(i(188));return t!==e?null:e}for(var n=e,r=t;;){var o=n.return;if(null===o)break;var a=o.alternate;if(null===a){if(null!==(r=o.return)){n=r;continue}break}if(o.child===a.child){for(a=o.child;a;){if(a===n)return We(o),e;if(a===r)return We(o),t;a=a.sibling}throw Error(i(188))}if(n.return!==r.return)n=o,r=a;else{for(var s=!1,l=o.child;l;){if(l===n){s=!0,n=o,r=a;break}if(l===r){s=!0,r=o,n=a;break}l=l.sibling}if(!s){for(l=a.child;l;){if(l===n){s=!0,n=a,r=o;break}if(l===r){s=!0,r=a,n=o;break}l=l.sibling}if(!s)throw Error(i(189))}}if(n.alternate!==r)throw Error(i(190))}if(3!==n.tag)throw Error(i(188));return n.stateNode.current===n?e:t}(e))?qe(e):null}function qe(e){if(5===e.tag||6===e.tag)return e;for(e=e.child;null!==e;){var t=qe(e);if(null!==t)return t;e=e.sibling}return null}var Ge=o.unstable_scheduleCallback,Ye=o.unstable_cancelCallback,Xe=o.unstable_shouldYield,Ke=o.unstable_requestPaint,Ze=o.unstable_now,Je=o.unstable_getCurrentPriorityLevel,Qe=o.unstable_ImmediatePriority,et=o.unstable_UserBlockingPriority,tt=o.unstable_NormalPriority,nt=o.unstable_LowPriority,rt=o.unstable_IdlePriority,ot=null,it=null;var at=Math.clz32?Math.clz32:function(e){return e>>>=0,0===e?32:31-(st(e)/lt|0)|0},st=Math.log,lt=Math.LN2;var ct=64,ut=4194304;function dt(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return 4194240&e;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return 130023424&e;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function pt(e,t){var n=e.pendingLanes;if(0===n)return 0;var r=0,o=e.suspendedLanes,i=e.pingedLanes,a=268435455&n;if(0!==a){var s=a&~o;0!==s?r=dt(s):0!==(i&=a)&&(r=dt(i))}else 0!==(a=n&~o)?r=dt(a):0!==i&&(r=dt(i));if(0===r)return 0;if(0!==t&&t!==r&&!(t&o)&&((o=r&-r)>=(i=t&-t)||16===o&&4194240&i))return t;if(4&r&&(r|=16&n),0!==(t=e.entangledLanes))for(e=e.entanglements,t&=r;0<t;)o=1<<(n=31-at(t)),r|=e[n],t&=~o;return r}function ft(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;default:return-1}}function ht(e){return 0!==(e=-1073741825&e.pendingLanes)?e:1073741824&e?1073741824:0}function mt(){var e=ct;return!(4194240&(ct<<=1))&&(ct=64),e}function gt(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function vt(e,t,n){e.pendingLanes|=t,536870912!==t&&(e.suspendedLanes=0,e.pingedLanes=0),(e=e.eventTimes)[t=31-at(t)]=n}function yt(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-at(n),o=1<<r;o&t|e[r]&t&&(e[r]|=t),n&=~o}}var bt=0;function xt(e){return 1<(e&=-e)?4<e?268435455&e?16:536870912:4:1}var wt,At,_t,St,kt,Ct=!1,Tt=[],Mt=null,Pt=null,Ot=null,Et=new Map,Dt=new Map,Rt=[],It="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function Nt(e,t){switch(e){case"focusin":case"focusout":Mt=null;break;case"dragenter":case"dragleave":Pt=null;break;case"mouseover":case"mouseout":Ot=null;break;case"pointerover":case"pointerout":Et.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Dt.delete(t.pointerId)}}function Lt(e,t,n,r,o,i){return null===e||e.nativeEvent!==i?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:i,targetContainers:[o]},null!==t&&(null!==(t=xo(t))&&At(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,null!==o&&-1===t.indexOf(o)&&t.push(o),e)}function jt(e){var t=bo(e.target);if(null!==t){var n=He(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=Ve(n)))return e.blockedOn=t,void kt(e.priority,(function(){_t(n)}))}else if(3===t&&n.stateNode.current.memoizedState.isDehydrated)return void(e.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}e.blockedOn=null}function $t(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var n=Xt(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n)return null!==(t=xo(n))&&At(t),e.blockedOn=n,!1;var r=new(n=e.nativeEvent).constructor(n.type,n);xe=r,n.target.dispatchEvent(r),xe=null,t.shift()}return!0}function zt(e,t,n){$t(e)&&n.delete(t)}function Ft(){Ct=!1,null!==Mt&&$t(Mt)&&(Mt=null),null!==Pt&&$t(Pt)&&(Pt=null),null!==Ot&&$t(Ot)&&(Ot=null),Et.forEach(zt),Dt.forEach(zt)}function Bt(e,t){e.blockedOn===t&&(e.blockedOn=null,Ct||(Ct=!0,o.unstable_scheduleCallback(o.unstable_NormalPriority,Ft)))}function Ht(e){function t(t){return Bt(t,e)}if(0<Tt.length){Bt(Tt[0],e);for(var n=1;n<Tt.length;n++){var r=Tt[n];r.blockedOn===e&&(r.blockedOn=null)}}for(null!==Mt&&Bt(Mt,e),null!==Pt&&Bt(Pt,e),null!==Ot&&Bt(Ot,e),Et.forEach(t),Dt.forEach(t),n=0;n<Rt.length;n++)(r=Rt[n]).blockedOn===e&&(r.blockedOn=null);for(;0<Rt.length&&null===(n=Rt[0]).blockedOn;)jt(n),null===n.blockedOn&&Rt.shift()}var Vt=x.ReactCurrentBatchConfig,Wt=!0;function Ut(e,t,n,r){var o=bt,i=Vt.transition;Vt.transition=null;try{bt=1,Gt(e,t,n,r)}finally{bt=o,Vt.transition=i}}function qt(e,t,n,r){var o=bt,i=Vt.transition;Vt.transition=null;try{bt=4,Gt(e,t,n,r)}finally{bt=o,Vt.transition=i}}function Gt(e,t,n,r){if(Wt){var o=Xt(e,t,n,r);if(null===o)Wr(e,t,r,Yt,n),Nt(e,r);else if(function(e,t,n,r,o){switch(t){case"focusin":return Mt=Lt(Mt,e,t,n,r,o),!0;case"dragenter":return Pt=Lt(Pt,e,t,n,r,o),!0;case"mouseover":return Ot=Lt(Ot,e,t,n,r,o),!0;case"pointerover":var i=o.pointerId;return Et.set(i,Lt(Et.get(i)||null,e,t,n,r,o)),!0;case"gotpointercapture":return i=o.pointerId,Dt.set(i,Lt(Dt.get(i)||null,e,t,n,r,o)),!0}return!1}(o,e,t,n,r))r.stopPropagation();else if(Nt(e,r),4&t&&-1<It.indexOf(e)){for(;null!==o;){var i=xo(o);if(null!==i&&wt(i),null===(i=Xt(e,t,n,r))&&Wr(e,t,r,Yt,n),i===o)break;o=i}null!==o&&r.stopPropagation()}else Wr(e,t,r,null,n)}}var Yt=null;function Xt(e,t,n,r){if(Yt=null,null!==(e=bo(e=we(r))))if(null===(t=He(e)))e=null;else if(13===(n=t.tag)){if(null!==(e=Ve(t)))return e;e=null}else if(3===n){if(t.stateNode.current.memoizedState.isDehydrated)return 3===t.tag?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return Yt=e,null}function Kt(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(Je()){case Qe:return 1;case et:return 4;case tt:case nt:return 16;case rt:return 536870912;default:return 16}default:return 16}}var Zt=null,Jt=null,Qt=null;function en(){if(Qt)return Qt;var e,t,n=Jt,r=n.length,o="value"in Zt?Zt.value:Zt.textContent,i=o.length;for(e=0;e<r&&n[e]===o[e];e++);var a=r-e;for(t=1;t<=a&&n[r-t]===o[i-t];t++);return Qt=o.slice(e,1<t?1-t:void 0)}function tn(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}function nn(){return!0}function rn(){return!1}function on(e){function t(t,n,r,o,i){for(var a in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=o,this.target=i,this.currentTarget=null,e)e.hasOwnProperty(a)&&(t=e[a],this[a]=t?t(o):o[a]);return this.isDefaultPrevented=(null!=o.defaultPrevented?o.defaultPrevented:!1===o.returnValue)?nn:rn,this.isPropagationStopped=rn,this}return j(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=nn)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=nn)},persist:function(){},isPersistent:nn}),t}var an,sn,ln,cn={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},un=on(cn),dn=j({},cn,{view:0,detail:0}),pn=on(dn),fn=j({},dn,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:kn,button:0,buttons:0,relatedTarget:function(e){return void 0===e.relatedTarget?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==ln&&(ln&&"mousemove"===e.type?(an=e.screenX-ln.screenX,sn=e.screenY-ln.screenY):sn=an=0,ln=e),an)},movementY:function(e){return"movementY"in e?e.movementY:sn}}),hn=on(fn),mn=on(j({},fn,{dataTransfer:0})),gn=on(j({},dn,{relatedTarget:0})),vn=on(j({},cn,{animationName:0,elapsedTime:0,pseudoElement:0})),yn=j({},cn,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),bn=on(yn),xn=on(j({},cn,{data:0})),wn={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},An={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},_n={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Sn(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=_n[e])&&!!t[e]}function kn(){return Sn}var Cn=j({},dn,{key:function(e){if(e.key){var t=wn[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=tn(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?An[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:kn,charCode:function(e){return"keypress"===e.type?tn(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?tn(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),Tn=on(Cn),Mn=on(j({},fn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),Pn=on(j({},dn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:kn})),On=on(j({},cn,{propertyName:0,elapsedTime:0,pseudoElement:0})),En=j({},fn,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),Dn=on(En),Rn=[9,13,27,32],In=u&&"CompositionEvent"in window,Nn=null;u&&"documentMode"in document&&(Nn=document.documentMode);var Ln=u&&"TextEvent"in window&&!Nn,jn=u&&(!In||Nn&&8<Nn&&11>=Nn),$n=String.fromCharCode(32),zn=!1;function Fn(e,t){switch(e){case"keyup":return-1!==Rn.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Bn(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var Hn=!1;var Vn={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Wn(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!Vn[e.type]:"textarea"===t}function Un(e,t,n,r){Ce(r),0<(t=qr(t,"onChange")).length&&(n=new un("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var qn=null,Gn=null;function Yn(e){$r(e,0)}function Xn(e){if(G(wo(e)))return e}function Kn(e,t){if("change"===e)return t}var Zn=!1;if(u){var Jn;if(u){var Qn="oninput"in document;if(!Qn){var er=document.createElement("div");er.setAttribute("oninput","return;"),Qn="function"==typeof er.oninput}Jn=Qn}else Jn=!1;Zn=Jn&&(!document.documentMode||9<document.documentMode)}function tr(){qn&&(qn.detachEvent("onpropertychange",nr),Gn=qn=null)}function nr(e){if("value"===e.propertyName&&Xn(Gn)){var t=[];Un(t,Gn,e,we(e)),Ee(Yn,t)}}function rr(e,t,n){"focusin"===e?(tr(),Gn=n,(qn=t).attachEvent("onpropertychange",nr)):"focusout"===e&&tr()}function or(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return Xn(Gn)}function ir(e,t){if("click"===e)return Xn(t)}function ar(e,t){if("input"===e||"change"===e)return Xn(t)}var sr="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t};function lr(e,t){if(sr(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var o=n[r];if(!d.call(t,o)||!sr(e[o],t[o]))return!1}return!0}function cr(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function ur(e,t){var n,r=cr(e);for(e=0;r;){if(3===r.nodeType){if(n=e+r.textContent.length,e<=t&&n>=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=cr(r)}}function dr(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?dr(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function pr(){for(var e=window,t=Y();t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch(e){n=!1}if(!n)break;t=Y((e=t.contentWindow).document)}return t}function fr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}function hr(e){var t=pr(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&dr(n.ownerDocument.documentElement,n)){if(null!==r&&fr(n))if(t=r.start,void 0===(e=r.end)&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if((e=(t=n.ownerDocument||document)&&t.defaultView||window).getSelection){e=e.getSelection();var o=n.textContent.length,i=Math.min(r.start,o);r=void 0===r.end?i:Math.min(r.end,o),!e.extend&&i>r&&(o=r,r=i,i=o),o=ur(n,i);var a=ur(n,r);o&&a&&(1!==e.rangeCount||e.anchorNode!==o.node||e.anchorOffset!==o.offset||e.focusNode!==a.node||e.focusOffset!==a.offset)&&((t=t.createRange()).setStart(o.node,o.offset),e.removeAllRanges(),i>r?(e.addRange(t),e.extend(a.node,a.offset)):(t.setEnd(a.node,a.offset),e.addRange(t)))}for(t=[],e=n;e=e.parentNode;)1===e.nodeType&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for("function"==typeof n.focus&&n.focus(),n=0;n<t.length;n++)(e=t[n]).element.scrollLeft=e.left,e.element.scrollTop=e.top}}var mr=u&&"documentMode"in document&&11>=document.documentMode,gr=null,vr=null,yr=null,br=!1;function xr(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;br||null==gr||gr!==Y(r)||("selectionStart"in(r=gr)&&fr(r)?r={start:r.selectionStart,end:r.selectionEnd}:r={anchorNode:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset},yr&&lr(yr,r)||(yr=r,0<(r=qr(vr,"onSelect")).length&&(t=new un("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=gr)))}function wr(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var Ar={animationend:wr("Animation","AnimationEnd"),animationiteration:wr("Animation","AnimationIteration"),animationstart:wr("Animation","AnimationStart"),transitionend:wr("Transition","TransitionEnd")},_r={},Sr={};function kr(e){if(_r[e])return _r[e];if(!Ar[e])return e;var t,n=Ar[e];for(t in n)if(n.hasOwnProperty(t)&&t in Sr)return _r[e]=n[t];return e}u&&(Sr=document.createElement("div").style,"AnimationEvent"in window||(delete Ar.animationend.animation,delete Ar.animationiteration.animation,delete Ar.animationstart.animation),"TransitionEvent"in window||delete Ar.transitionend.transition);var Cr=kr("animationend"),Tr=kr("animationiteration"),Mr=kr("animationstart"),Pr=kr("transitionend"),Or=new Map,Er="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function Dr(e,t){Or.set(e,t),l(t,[e])}for(var Rr=0;Rr<Er.length;Rr++){var Ir=Er[Rr];Dr(Ir.toLowerCase(),"on"+(Ir[0].toUpperCase()+Ir.slice(1)))}Dr(Cr,"onAnimationEnd"),Dr(Tr,"onAnimationIteration"),Dr(Mr,"onAnimationStart"),Dr("dblclick","onDoubleClick"),Dr("focusin","onFocus"),Dr("focusout","onBlur"),Dr(Pr,"onTransitionEnd"),c("onMouseEnter",["mouseout","mouseover"]),c("onMouseLeave",["mouseout","mouseover"]),c("onPointerEnter",["pointerout","pointerover"]),c("onPointerLeave",["pointerout","pointerover"]),l("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),l("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),l("onBeforeInput",["compositionend","keypress","textInput","paste"]),l("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),l("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),l("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Nr="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Lr=new Set("cancel close invalid load scroll toggle".split(" ").concat(Nr));function jr(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,function(e,t,n,r,o,a,s,l,c){if(Be.apply(this,arguments),Le){if(!Le)throw Error(i(198));var u=je;Le=!1,je=null,$e||($e=!0,ze=u)}}(r,t,void 0,e),e.currentTarget=null}function $r(e,t){t=!!(4&t);for(var n=0;n<e.length;n++){var r=e[n],o=r.event;r=r.listeners;e:{var i=void 0;if(t)for(var a=r.length-1;0<=a;a--){var s=r[a],l=s.instance,c=s.currentTarget;if(s=s.listener,l!==i&&o.isPropagationStopped())break e;jr(o,s,c),i=l}else for(a=0;a<r.length;a++){if(l=(s=r[a]).instance,c=s.currentTarget,s=s.listener,l!==i&&o.isPropagationStopped())break e;jr(o,s,c),i=l}}}if($e)throw e=ze,$e=!1,ze=null,e}function zr(e,t){var n=t[go];void 0===n&&(n=t[go]=new Set);var r=e+"__bubble";n.has(r)||(Vr(t,e,2,!1),n.add(r))}function Fr(e,t,n){var r=0;t&&(r|=4),Vr(n,e,r,t)}var Br="_reactListening"+Math.random().toString(36).slice(2);function Hr(e){if(!e[Br]){e[Br]=!0,a.forEach((function(t){"selectionchange"!==t&&(Lr.has(t)||Fr(t,!1,e),Fr(t,!0,e))}));var t=9===e.nodeType?e:e.ownerDocument;null===t||t[Br]||(t[Br]=!0,Fr("selectionchange",!1,t))}}function Vr(e,t,n,r){switch(Kt(t)){case 1:var o=Ut;break;case 4:o=qt;break;default:o=Gt}n=o.bind(null,t,n,e),o=void 0,!Re||"touchstart"!==t&&"touchmove"!==t&&"wheel"!==t||(o=!0),r?void 0!==o?e.addEventListener(t,n,{capture:!0,passive:o}):e.addEventListener(t,n,!0):void 0!==o?e.addEventListener(t,n,{passive:o}):e.addEventListener(t,n,!1)}function Wr(e,t,n,r,o){var i=r;if(!(1&t||2&t||null===r))e:for(;;){if(null===r)return;var a=r.tag;if(3===a||4===a){var s=r.stateNode.containerInfo;if(s===o||8===s.nodeType&&s.parentNode===o)break;if(4===a)for(a=r.return;null!==a;){var l=a.tag;if((3===l||4===l)&&((l=a.stateNode.containerInfo)===o||8===l.nodeType&&l.parentNode===o))return;a=a.return}for(;null!==s;){if(null===(a=bo(s)))return;if(5===(l=a.tag)||6===l){r=i=a;continue e}s=s.parentNode}}r=r.return}Ee((function(){var r=i,o=we(n),a=[];e:{var s=Or.get(e);if(void 0!==s){var l=un,c=e;switch(e){case"keypress":if(0===tn(n))break e;case"keydown":case"keyup":l=Tn;break;case"focusin":c="focus",l=gn;break;case"focusout":c="blur",l=gn;break;case"beforeblur":case"afterblur":l=gn;break;case"click":if(2===n.button)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":l=hn;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":l=mn;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":l=Pn;break;case Cr:case Tr:case Mr:l=vn;break;case Pr:l=On;break;case"scroll":l=pn;break;case"wheel":l=Dn;break;case"copy":case"cut":case"paste":l=bn;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":l=Mn}var u=!!(4&t),d=!u&&"scroll"===e,p=u?null!==s?s+"Capture":null:s;u=[];for(var f,h=r;null!==h;){var m=(f=h).stateNode;if(5===f.tag&&null!==m&&(f=m,null!==p&&(null!=(m=De(h,p))&&u.push(Ur(h,m,f)))),d)break;h=h.return}0<u.length&&(s=new l(s,c,null,n,o),a.push({event:s,listeners:u}))}}if(!(7&t)){if(l="mouseout"===e||"pointerout"===e,(!(s="mouseover"===e||"pointerover"===e)||n===xe||!(c=n.relatedTarget||n.fromElement)||!bo(c)&&!c[mo])&&(l||s)&&(s=o.window===o?o:(s=o.ownerDocument)?s.defaultView||s.parentWindow:window,l?(l=r,null!==(c=(c=n.relatedTarget||n.toElement)?bo(c):null)&&(c!==(d=He(c))||5!==c.tag&&6!==c.tag)&&(c=null)):(l=null,c=r),l!==c)){if(u=hn,m="onMouseLeave",p="onMouseEnter",h="mouse","pointerout"!==e&&"pointerover"!==e||(u=Mn,m="onPointerLeave",p="onPointerEnter",h="pointer"),d=null==l?s:wo(l),f=null==c?s:wo(c),(s=new u(m,h+"leave",l,n,o)).target=d,s.relatedTarget=f,m=null,bo(o)===r&&((u=new u(p,h+"enter",c,n,o)).target=f,u.relatedTarget=d,m=u),d=m,l&&c)e:{for(p=c,h=0,f=u=l;f;f=Gr(f))h++;for(f=0,m=p;m;m=Gr(m))f++;for(;0<h-f;)u=Gr(u),h--;for(;0<f-h;)p=Gr(p),f--;for(;h--;){if(u===p||null!==p&&u===p.alternate)break e;u=Gr(u),p=Gr(p)}u=null}else u=null;null!==l&&Yr(a,s,l,u,!1),null!==c&&null!==d&&Yr(a,d,c,u,!0)}if("select"===(l=(s=r?wo(r):window).nodeName&&s.nodeName.toLowerCase())||"input"===l&&"file"===s.type)var g=Kn;else if(Wn(s))if(Zn)g=ar;else{g=or;var v=rr}else(l=s.nodeName)&&"input"===l.toLowerCase()&&("checkbox"===s.type||"radio"===s.type)&&(g=ir);switch(g&&(g=g(e,r))?Un(a,g,n,o):(v&&v(e,s,r),"focusout"===e&&(v=s._wrapperState)&&v.controlled&&"number"===s.type&&ee(s,"number",s.value)),v=r?wo(r):window,e){case"focusin":(Wn(v)||"true"===v.contentEditable)&&(gr=v,vr=r,yr=null);break;case"focusout":yr=vr=gr=null;break;case"mousedown":br=!0;break;case"contextmenu":case"mouseup":case"dragend":br=!1,xr(a,n,o);break;case"selectionchange":if(mr)break;case"keydown":case"keyup":xr(a,n,o)}var y;if(In)e:{switch(e){case"compositionstart":var b="onCompositionStart";break e;case"compositionend":b="onCompositionEnd";break e;case"compositionupdate":b="onCompositionUpdate";break e}b=void 0}else Hn?Fn(e,n)&&(b="onCompositionEnd"):"keydown"===e&&229===n.keyCode&&(b="onCompositionStart");b&&(jn&&"ko"!==n.locale&&(Hn||"onCompositionStart"!==b?"onCompositionEnd"===b&&Hn&&(y=en()):(Jt="value"in(Zt=o)?Zt.value:Zt.textContent,Hn=!0)),0<(v=qr(r,b)).length&&(b=new xn(b,e,null,n,o),a.push({event:b,listeners:v}),y?b.data=y:null!==(y=Bn(n))&&(b.data=y))),(y=Ln?function(e,t){switch(e){case"compositionend":return Bn(t);case"keypress":return 32!==t.which?null:(zn=!0,$n);case"textInput":return(e=t.data)===$n&&zn?null:e;default:return null}}(e,n):function(e,t){if(Hn)return"compositionend"===e||!In&&Fn(e,t)?(e=en(),Qt=Jt=Zt=null,Hn=!1,e):null;switch(e){case"paste":default:return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return jn&&"ko"!==t.locale?null:t.data}}(e,n))&&(0<(r=qr(r,"onBeforeInput")).length&&(o=new xn("onBeforeInput","beforeinput",null,n,o),a.push({event:o,listeners:r}),o.data=y))}$r(a,t)}))}function Ur(e,t,n){return{instance:e,listener:t,currentTarget:n}}function qr(e,t){for(var n=t+"Capture",r=[];null!==e;){var o=e,i=o.stateNode;5===o.tag&&null!==i&&(o=i,null!=(i=De(e,n))&&r.unshift(Ur(e,i,o)),null!=(i=De(e,t))&&r.push(Ur(e,i,o))),e=e.return}return r}function Gr(e){if(null===e)return null;do{e=e.return}while(e&&5!==e.tag);return e||null}function Yr(e,t,n,r,o){for(var i=t._reactName,a=[];null!==n&&n!==r;){var s=n,l=s.alternate,c=s.stateNode;if(null!==l&&l===r)break;5===s.tag&&null!==c&&(s=c,o?null!=(l=De(n,i))&&a.unshift(Ur(n,l,s)):o||null!=(l=De(n,i))&&a.push(Ur(n,l,s))),n=n.return}0!==a.length&&e.push({event:t,listeners:a})}var Xr=/\r\n?/g,Kr=/\u0000|\uFFFD/g;function Zr(e){return("string"==typeof e?e:""+e).replace(Xr,"\n").replace(Kr,"")}function Jr(e,t,n){if(t=Zr(t),Zr(e)!==t&&n)throw Error(i(425))}function Qr(){}var eo=null,to=null;function no(e,t){return"textarea"===e||"noscript"===e||"string"==typeof t.children||"number"==typeof t.children||"object"==typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var ro="function"==typeof setTimeout?setTimeout:void 0,oo="function"==typeof clearTimeout?clearTimeout:void 0,io="function"==typeof Promise?Promise:void 0,ao="function"==typeof queueMicrotask?queueMicrotask:void 0!==io?function(e){return io.resolve(null).then(e).catch(so)}:ro;function so(e){setTimeout((function(){throw e}))}function lo(e,t){var n=t,r=0;do{var o=n.nextSibling;if(e.removeChild(n),o&&8===o.nodeType)if("/$"===(n=o.data)){if(0===r)return e.removeChild(o),void Ht(t);r--}else"$"!==n&&"$?"!==n&&"$!"!==n||r++;n=o}while(n);Ht(t)}function co(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break;if(8===t){if("$"===(t=e.data)||"$!"===t||"$?"===t)break;if("/$"===t)return null}}return e}function uo(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if("$"===n||"$!"===n||"$?"===n){if(0===t)return e;t--}else"/$"===n&&t++}e=e.previousSibling}return null}var po=Math.random().toString(36).slice(2),fo="__reactFiber$"+po,ho="__reactProps$"+po,mo="__reactContainer$"+po,go="__reactEvents$"+po,vo="__reactListeners$"+po,yo="__reactHandles$"+po;function bo(e){var t=e[fo];if(t)return t;for(var n=e.parentNode;n;){if(t=n[mo]||n[fo]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=uo(e);null!==e;){if(n=e[fo])return n;e=uo(e)}return t}n=(e=n).parentNode}return null}function xo(e){return!(e=e[fo]||e[mo])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function wo(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(i(33))}function Ao(e){return e[ho]||null}var _o=[],So=-1;function ko(e){return{current:e}}function Co(e){0>So||(e.current=_o[So],_o[So]=null,So--)}function To(e,t){So++,_o[So]=e.current,e.current=t}var Mo={},Po=ko(Mo),Oo=ko(!1),Eo=Mo;function Do(e,t){var n=e.type.contextTypes;if(!n)return Mo;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o,i={};for(o in n)i[o]=t[o];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function Ro(e){return null!=(e=e.childContextTypes)}function Io(){Co(Oo),Co(Po)}function No(e,t,n){if(Po.current!==Mo)throw Error(i(168));To(Po,t),To(Oo,n)}function Lo(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,"function"!=typeof r.getChildContext)return n;for(var o in r=r.getChildContext())if(!(o in t))throw Error(i(108,V(e)||"Unknown",o));return j({},n,r)}function jo(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Mo,Eo=Po.current,To(Po,e),To(Oo,Oo.current),!0}function $o(e,t,n){var r=e.stateNode;if(!r)throw Error(i(169));n?(e=Lo(e,t,Eo),r.__reactInternalMemoizedMergedChildContext=e,Co(Oo),Co(Po),To(Po,e)):Co(Oo),To(Oo,n)}var zo=null,Fo=!1,Bo=!1;function Ho(e){null===zo?zo=[e]:zo.push(e)}function Vo(){if(!Bo&&null!==zo){Bo=!0;var e=0,t=bt;try{var n=zo;for(bt=1;e<n.length;e++){var r=n[e];do{r=r(!0)}while(null!==r)}zo=null,Fo=!1}catch(t){throw null!==zo&&(zo=zo.slice(e+1)),Ge(Qe,Vo),t}finally{bt=t,Bo=!1}}return null}var Wo=[],Uo=0,qo=null,Go=0,Yo=[],Xo=0,Ko=null,Zo=1,Jo="";function Qo(e,t){Wo[Uo++]=Go,Wo[Uo++]=qo,qo=e,Go=t}function ei(e,t,n){Yo[Xo++]=Zo,Yo[Xo++]=Jo,Yo[Xo++]=Ko,Ko=e;var r=Zo;e=Jo;var o=32-at(r)-1;r&=~(1<<o),n+=1;var i=32-at(t)+o;if(30<i){var a=o-o%5;i=(r&(1<<a)-1).toString(32),r>>=a,o-=a,Zo=1<<32-at(t)+o|n<<o|r,Jo=i+e}else Zo=1<<i|n<<o|r,Jo=e}function ti(e){null!==e.return&&(Qo(e,1),ei(e,1,0))}function ni(e){for(;e===qo;)qo=Wo[--Uo],Wo[Uo]=null,Go=Wo[--Uo],Wo[Uo]=null;for(;e===Ko;)Ko=Yo[--Xo],Yo[Xo]=null,Jo=Yo[--Xo],Yo[Xo]=null,Zo=Yo[--Xo],Yo[Xo]=null}var ri=null,oi=null,ii=!1,ai=null;function si(e,t){var n=Ec(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,null===(t=e.deletions)?(e.deletions=[n],e.flags|=16):t.push(n)}function li(e,t){switch(e.tag){case 5:var n=e.type;return null!==(t=1!==t.nodeType||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,ri=e,oi=co(t.firstChild),!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,ri=e,oi=null,!0);case 13:return null!==(t=8!==t.nodeType?null:t)&&(n=null!==Ko?{id:Zo,overflow:Jo}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},(n=Ec(18,null,null,0)).stateNode=t,n.return=e,e.child=n,ri=e,oi=null,!0);default:return!1}}function ci(e){return!(!(1&e.mode)||128&e.flags)}function ui(e){if(ii){var t=oi;if(t){var n=t;if(!li(e,t)){if(ci(e))throw Error(i(418));t=co(n.nextSibling);var r=ri;t&&li(e,t)?si(r,n):(e.flags=-4097&e.flags|2,ii=!1,ri=e)}}else{if(ci(e))throw Error(i(418));e.flags=-4097&e.flags|2,ii=!1,ri=e}}}function di(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;ri=e}function pi(e){if(e!==ri)return!1;if(!ii)return di(e),ii=!0,!1;var t;if((t=3!==e.tag)&&!(t=5!==e.tag)&&(t="head"!==(t=e.type)&&"body"!==t&&!no(e.type,e.memoizedProps)),t&&(t=oi)){if(ci(e))throw fi(),Error(i(418));for(;t;)si(e,t),t=co(t.nextSibling)}if(di(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(i(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var n=e.data;if("/$"===n){if(0===t){oi=co(e.nextSibling);break e}t--}else"$"!==n&&"$!"!==n&&"$?"!==n||t++}e=e.nextSibling}oi=null}}else oi=ri?co(e.stateNode.nextSibling):null;return!0}function fi(){for(var e=oi;e;)e=co(e.nextSibling)}function hi(){oi=ri=null,ii=!1}function mi(e){null===ai?ai=[e]:ai.push(e)}var gi=x.ReactCurrentBatchConfig;function vi(e,t,n){if(null!==(e=n.ref)&&"function"!=typeof e&&"object"!=typeof e){if(n._owner){if(n=n._owner){if(1!==n.tag)throw Error(i(309));var r=n.stateNode}if(!r)throw Error(i(147,e));var o=r,a=""+e;return null!==t&&null!==t.ref&&"function"==typeof t.ref&&t.ref._stringRef===a?t.ref:(t=function(e){var t=o.refs;null===e?delete t[a]:t[a]=e},t._stringRef=a,t)}if("string"!=typeof e)throw Error(i(284));if(!n._owner)throw Error(i(290,e))}return e}function yi(e,t){throw e=Object.prototype.toString.call(t),Error(i(31,"[object Object]"===e?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function bi(e){return(0,e._init)(e._payload)}function xi(e){function t(t,n){if(e){var r=t.deletions;null===r?(t.deletions=[n],t.flags|=16):r.push(n)}}function n(n,r){if(!e)return null;for(;null!==r;)t(n,r),r=r.sibling;return null}function r(e,t){for(e=new Map;null!==t;)null!==t.key?e.set(t.key,t):e.set(t.index,t),t=t.sibling;return e}function o(e,t){return(e=Rc(e,t)).index=0,e.sibling=null,e}function a(t,n,r){return t.index=r,e?null!==(r=t.alternate)?(r=r.index)<n?(t.flags|=2,n):r:(t.flags|=2,n):(t.flags|=1048576,n)}function s(t){return e&&null===t.alternate&&(t.flags|=2),t}function l(e,t,n,r){return null===t||6!==t.tag?((t=jc(n,e.mode,r)).return=e,t):((t=o(t,n)).return=e,t)}function c(e,t,n,r){var i=n.type;return i===_?d(e,t,n.props.children,r,n.key):null!==t&&(t.elementType===i||"object"==typeof i&&null!==i&&i.$$typeof===D&&bi(i)===t.type)?((r=o(t,n.props)).ref=vi(e,t,n),r.return=e,r):((r=Ic(n.type,n.key,n.props,null,e.mode,r)).ref=vi(e,t,n),r.return=e,r)}function u(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=$c(n,e.mode,r)).return=e,t):((t=o(t,n.children||[])).return=e,t)}function d(e,t,n,r,i){return null===t||7!==t.tag?((t=Nc(n,e.mode,r,i)).return=e,t):((t=o(t,n)).return=e,t)}function p(e,t,n){if("string"==typeof t&&""!==t||"number"==typeof t)return(t=jc(""+t,e.mode,n)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case w:return(n=Ic(t.type,t.key,t.props,null,e.mode,n)).ref=vi(e,null,t),n.return=e,n;case A:return(t=$c(t,e.mode,n)).return=e,t;case D:return p(e,(0,t._init)(t._payload),n)}if(te(t)||N(t))return(t=Nc(t,e.mode,n,null)).return=e,t;yi(e,t)}return null}function f(e,t,n,r){var o=null!==t?t.key:null;if("string"==typeof n&&""!==n||"number"==typeof n)return null!==o?null:l(e,t,""+n,r);if("object"==typeof n&&null!==n){switch(n.$$typeof){case w:return n.key===o?c(e,t,n,r):null;case A:return n.key===o?u(e,t,n,r):null;case D:return f(e,t,(o=n._init)(n._payload),r)}if(te(n)||N(n))return null!==o?null:d(e,t,n,r,null);yi(e,n)}return null}function h(e,t,n,r,o){if("string"==typeof r&&""!==r||"number"==typeof r)return l(t,e=e.get(n)||null,""+r,o);if("object"==typeof r&&null!==r){switch(r.$$typeof){case w:return c(t,e=e.get(null===r.key?n:r.key)||null,r,o);case A:return u(t,e=e.get(null===r.key?n:r.key)||null,r,o);case D:return h(e,t,n,(0,r._init)(r._payload),o)}if(te(r)||N(r))return d(t,e=e.get(n)||null,r,o,null);yi(t,r)}return null}function m(o,i,s,l){for(var c=null,u=null,d=i,m=i=0,g=null;null!==d&&m<s.length;m++){d.index>m?(g=d,d=null):g=d.sibling;var v=f(o,d,s[m],l);if(null===v){null===d&&(d=g);break}e&&d&&null===v.alternate&&t(o,d),i=a(v,i,m),null===u?c=v:u.sibling=v,u=v,d=g}if(m===s.length)return n(o,d),ii&&Qo(o,m),c;if(null===d){for(;m<s.length;m++)null!==(d=p(o,s[m],l))&&(i=a(d,i,m),null===u?c=d:u.sibling=d,u=d);return ii&&Qo(o,m),c}for(d=r(o,d);m<s.length;m++)null!==(g=h(d,o,m,s[m],l))&&(e&&null!==g.alternate&&d.delete(null===g.key?m:g.key),i=a(g,i,m),null===u?c=g:u.sibling=g,u=g);return e&&d.forEach((function(e){return t(o,e)})),ii&&Qo(o,m),c}function g(o,s,l,c){var u=N(l);if("function"!=typeof u)throw Error(i(150));if(null==(l=u.call(l)))throw Error(i(151));for(var d=u=null,m=s,g=s=0,v=null,y=l.next();null!==m&&!y.done;g++,y=l.next()){m.index>g?(v=m,m=null):v=m.sibling;var b=f(o,m,y.value,c);if(null===b){null===m&&(m=v);break}e&&m&&null===b.alternate&&t(o,m),s=a(b,s,g),null===d?u=b:d.sibling=b,d=b,m=v}if(y.done)return n(o,m),ii&&Qo(o,g),u;if(null===m){for(;!y.done;g++,y=l.next())null!==(y=p(o,y.value,c))&&(s=a(y,s,g),null===d?u=y:d.sibling=y,d=y);return ii&&Qo(o,g),u}for(m=r(o,m);!y.done;g++,y=l.next())null!==(y=h(m,o,g,y.value,c))&&(e&&null!==y.alternate&&m.delete(null===y.key?g:y.key),s=a(y,s,g),null===d?u=y:d.sibling=y,d=y);return e&&m.forEach((function(e){return t(o,e)})),ii&&Qo(o,g),u}return function e(r,i,a,l){if("object"==typeof a&&null!==a&&a.type===_&&null===a.key&&(a=a.props.children),"object"==typeof a&&null!==a){switch(a.$$typeof){case w:e:{for(var c=a.key,u=i;null!==u;){if(u.key===c){if((c=a.type)===_){if(7===u.tag){n(r,u.sibling),(i=o(u,a.props.children)).return=r,r=i;break e}}else if(u.elementType===c||"object"==typeof c&&null!==c&&c.$$typeof===D&&bi(c)===u.type){n(r,u.sibling),(i=o(u,a.props)).ref=vi(r,u,a),i.return=r,r=i;break e}n(r,u);break}t(r,u),u=u.sibling}a.type===_?((i=Nc(a.props.children,r.mode,l,a.key)).return=r,r=i):((l=Ic(a.type,a.key,a.props,null,r.mode,l)).ref=vi(r,i,a),l.return=r,r=l)}return s(r);case A:e:{for(u=a.key;null!==i;){if(i.key===u){if(4===i.tag&&i.stateNode.containerInfo===a.containerInfo&&i.stateNode.implementation===a.implementation){n(r,i.sibling),(i=o(i,a.children||[])).return=r,r=i;break e}n(r,i);break}t(r,i),i=i.sibling}(i=$c(a,r.mode,l)).return=r,r=i}return s(r);case D:return e(r,i,(u=a._init)(a._payload),l)}if(te(a))return m(r,i,a,l);if(N(a))return g(r,i,a,l);yi(r,a)}return"string"==typeof a&&""!==a||"number"==typeof a?(a=""+a,null!==i&&6===i.tag?(n(r,i.sibling),(i=o(i,a)).return=r,r=i):(n(r,i),(i=jc(a,r.mode,l)).return=r,r=i),s(r)):n(r,i)}}var wi=xi(!0),Ai=xi(!1),_i=ko(null),Si=null,ki=null,Ci=null;function Ti(){Ci=ki=Si=null}function Mi(e){var t=_i.current;Co(_i),e._currentValue=t}function Pi(e,t,n){for(;null!==e;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,null!==r&&(r.childLanes|=t)):null!==r&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function Oi(e,t){Si=e,Ci=ki=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(!!(e.lanes&t)&&(bs=!0),e.firstContext=null)}function Ei(e){var t=e._currentValue;if(Ci!==e)if(e={context:e,memoizedValue:t,next:null},null===ki){if(null===Si)throw Error(i(308));ki=e,Si.dependencies={lanes:0,firstContext:e}}else ki=ki.next=e;return t}var Di=null;function Ri(e){null===Di?Di=[e]:Di.push(e)}function Ii(e,t,n,r){var o=t.interleaved;return null===o?(n.next=n,Ri(t)):(n.next=o.next,o.next=n),t.interleaved=n,Ni(e,r)}function Ni(e,t){e.lanes|=t;var n=e.alternate;for(null!==n&&(n.lanes|=t),n=e,e=e.return;null!==e;)e.childLanes|=t,null!==(n=e.alternate)&&(n.childLanes|=t),n=e,e=e.return;return 3===n.tag?n.stateNode:null}var Li=!1;function ji(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function $i(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function zi(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Fi(e,t,n){var r=e.updateQueue;if(null===r)return null;if(r=r.shared,2&Ml){var o=r.pending;return null===o?t.next=t:(t.next=o.next,o.next=t),r.pending=t,Ni(e,n)}return null===(o=r.interleaved)?(t.next=t,Ri(r)):(t.next=o.next,o.next=t),r.interleaved=t,Ni(e,n)}function Bi(e,t,n){if(null!==(t=t.updateQueue)&&(t=t.shared,4194240&n)){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,yt(e,n)}}function Hi(e,t){var n=e.updateQueue,r=e.alternate;if(null!==r&&n===(r=r.updateQueue)){var o=null,i=null;if(null!==(n=n.firstBaseUpdate)){do{var a={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};null===i?o=i=a:i=i.next=a,n=n.next}while(null!==n);null===i?o=i=t:i=i.next=t}else o=i=t;return n={baseState:r.baseState,firstBaseUpdate:o,lastBaseUpdate:i,shared:r.shared,effects:r.effects},void(e.updateQueue=n)}null===(e=n.lastBaseUpdate)?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function Vi(e,t,n,r){var o=e.updateQueue;Li=!1;var i=o.firstBaseUpdate,a=o.lastBaseUpdate,s=o.shared.pending;if(null!==s){o.shared.pending=null;var l=s,c=l.next;l.next=null,null===a?i=c:a.next=c,a=l;var u=e.alternate;null!==u&&((s=(u=u.updateQueue).lastBaseUpdate)!==a&&(null===s?u.firstBaseUpdate=c:s.next=c,u.lastBaseUpdate=l))}if(null!==i){var d=o.baseState;for(a=0,u=c=l=null,s=i;;){var p=s.lane,f=s.eventTime;if((r&p)===p){null!==u&&(u=u.next={eventTime:f,lane:0,tag:s.tag,payload:s.payload,callback:s.callback,next:null});e:{var h=e,m=s;switch(p=t,f=n,m.tag){case 1:if("function"==typeof(h=m.payload)){d=h.call(f,d,p);break e}d=h;break e;case 3:h.flags=-65537&h.flags|128;case 0:if(null==(p="function"==typeof(h=m.payload)?h.call(f,d,p):h))break e;d=j({},d,p);break e;case 2:Li=!0}}null!==s.callback&&0!==s.lane&&(e.flags|=64,null===(p=o.effects)?o.effects=[s]:p.push(s))}else f={eventTime:f,lane:p,tag:s.tag,payload:s.payload,callback:s.callback,next:null},null===u?(c=u=f,l=d):u=u.next=f,a|=p;if(null===(s=s.next)){if(null===(s=o.shared.pending))break;s=(p=s).next,p.next=null,o.lastBaseUpdate=p,o.shared.pending=null}}if(null===u&&(l=d),o.baseState=l,o.firstBaseUpdate=c,o.lastBaseUpdate=u,null!==(t=o.shared.interleaved)){o=t;do{a|=o.lane,o=o.next}while(o!==t)}else null===i&&(o.shared.lanes=0);Ll|=a,e.lanes=a,e.memoizedState=d}}function Wi(e,t,n){if(e=t.effects,t.effects=null,null!==e)for(t=0;t<e.length;t++){var r=e[t],o=r.callback;if(null!==o){if(r.callback=null,r=n,"function"!=typeof o)throw Error(i(191,o));o.call(r)}}}var Ui={},qi=ko(Ui),Gi=ko(Ui),Yi=ko(Ui);function Xi(e){if(e===Ui)throw Error(i(174));return e}function Ki(e,t){switch(To(Yi,t),To(Gi,e),To(qi,Ui),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:le(null,"");break;default:t=le(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}Co(qi),To(qi,t)}function Zi(){Co(qi),Co(Gi),Co(Yi)}function Ji(e){Xi(Yi.current);var t=Xi(qi.current),n=le(t,e.type);t!==n&&(To(Gi,e),To(qi,n))}function Qi(e){Gi.current===e&&(Co(qi),Co(Gi))}var ea=ko(0);function ta(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||"$?"===n.data||"$!"===n.data))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(128&t.flags)return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var na=[];function ra(){for(var e=0;e<na.length;e++)na[e]._workInProgressVersionPrimary=null;na.length=0}var oa=x.ReactCurrentDispatcher,ia=x.ReactCurrentBatchConfig,aa=0,sa=null,la=null,ca=null,ua=!1,da=!1,pa=0,fa=0;function ha(){throw Error(i(321))}function ma(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!sr(e[n],t[n]))return!1;return!0}function ga(e,t,n,r,o,a){if(aa=a,sa=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,oa.current=null===e||null===e.memoizedState?Qa:es,e=n(r,o),da){a=0;do{if(da=!1,pa=0,25<=a)throw Error(i(301));a+=1,ca=la=null,t.updateQueue=null,oa.current=ts,e=n(r,o)}while(da)}if(oa.current=Ja,t=null!==la&&null!==la.next,aa=0,ca=la=sa=null,ua=!1,t)throw Error(i(300));return e}function va(){var e=0!==pa;return pa=0,e}function ya(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===ca?sa.memoizedState=ca=e:ca=ca.next=e,ca}function ba(){if(null===la){var e=sa.alternate;e=null!==e?e.memoizedState:null}else e=la.next;var t=null===ca?sa.memoizedState:ca.next;if(null!==t)ca=t,la=e;else{if(null===e)throw Error(i(310));e={memoizedState:(la=e).memoizedState,baseState:la.baseState,baseQueue:la.baseQueue,queue:la.queue,next:null},null===ca?sa.memoizedState=ca=e:ca=ca.next=e}return ca}function xa(e,t){return"function"==typeof t?t(e):t}function wa(e){var t=ba(),n=t.queue;if(null===n)throw Error(i(311));n.lastRenderedReducer=e;var r=la,o=r.baseQueue,a=n.pending;if(null!==a){if(null!==o){var s=o.next;o.next=a.next,a.next=s}r.baseQueue=o=a,n.pending=null}if(null!==o){a=o.next,r=r.baseState;var l=s=null,c=null,u=a;do{var d=u.lane;if((aa&d)===d)null!==c&&(c=c.next={lane:0,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null}),r=u.hasEagerState?u.eagerState:e(r,u.action);else{var p={lane:d,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null};null===c?(l=c=p,s=r):c=c.next=p,sa.lanes|=d,Ll|=d}u=u.next}while(null!==u&&u!==a);null===c?s=r:c.next=l,sr(r,t.memoizedState)||(bs=!0),t.memoizedState=r,t.baseState=s,t.baseQueue=c,n.lastRenderedState=r}if(null!==(e=n.interleaved)){o=e;do{a=o.lane,sa.lanes|=a,Ll|=a,o=o.next}while(o!==e)}else null===o&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function Aa(e){var t=ba(),n=t.queue;if(null===n)throw Error(i(311));n.lastRenderedReducer=e;var r=n.dispatch,o=n.pending,a=t.memoizedState;if(null!==o){n.pending=null;var s=o=o.next;do{a=e(a,s.action),s=s.next}while(s!==o);sr(a,t.memoizedState)||(bs=!0),t.memoizedState=a,null===t.baseQueue&&(t.baseState=a),n.lastRenderedState=a}return[a,r]}function _a(){}function Sa(e,t){var n=sa,r=ba(),o=t(),a=!sr(r.memoizedState,o);if(a&&(r.memoizedState=o,bs=!0),r=r.queue,La(Ta.bind(null,n,r,e),[e]),r.getSnapshot!==t||a||null!==ca&&1&ca.memoizedState.tag){if(n.flags|=2048,Ea(9,Ca.bind(null,n,r,o,t),void 0,null),null===Pl)throw Error(i(349));30&aa||ka(n,t,o)}return o}function ka(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},null===(t=sa.updateQueue)?(t={lastEffect:null,stores:null},sa.updateQueue=t,t.stores=[e]):null===(n=t.stores)?t.stores=[e]:n.push(e)}function Ca(e,t,n,r){t.value=n,t.getSnapshot=r,Ma(t)&&Pa(e)}function Ta(e,t,n){return n((function(){Ma(t)&&Pa(e)}))}function Ma(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!sr(e,n)}catch(e){return!0}}function Pa(e){var t=Ni(e,1);null!==t&&nc(t,e,1,-1)}function Oa(e){var t=ya();return"function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:xa,lastRenderedState:e},t.queue=e,e=e.dispatch=Ya.bind(null,sa,e),[t.memoizedState,e]}function Ea(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===(t=sa.updateQueue)?(t={lastEffect:null,stores:null},sa.updateQueue=t,t.lastEffect=e.next=e):null===(n=t.lastEffect)?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function Da(){return ba().memoizedState}function Ra(e,t,n,r){var o=ya();sa.flags|=e,o.memoizedState=Ea(1|t,n,void 0,void 0===r?null:r)}function Ia(e,t,n,r){var o=ba();r=void 0===r?null:r;var i=void 0;if(null!==la){var a=la.memoizedState;if(i=a.destroy,null!==r&&ma(r,a.deps))return void(o.memoizedState=Ea(t,n,i,r))}sa.flags|=e,o.memoizedState=Ea(1|t,n,i,r)}function Na(e,t){return Ra(8390656,8,e,t)}function La(e,t){return Ia(2048,8,e,t)}function ja(e,t){return Ia(4,2,e,t)}function $a(e,t){return Ia(4,4,e,t)}function za(e,t){return"function"==typeof t?(e=e(),t(e),function(){t(null)}):null!=t?(e=e(),t.current=e,function(){t.current=null}):void 0}function Fa(e,t,n){return n=null!=n?n.concat([e]):null,Ia(4,4,za.bind(null,t,e),n)}function Ba(){}function Ha(e,t){var n=ba();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&ma(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function Va(e,t){var n=ba();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&ma(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function Wa(e,t,n){return 21&aa?(sr(n,t)||(n=mt(),sa.lanes|=n,Ll|=n,e.baseState=!0),t):(e.baseState&&(e.baseState=!1,bs=!0),e.memoizedState=n)}function Ua(e,t){var n=bt;bt=0!==n&&4>n?n:4,e(!0);var r=ia.transition;ia.transition={};try{e(!1),t()}finally{bt=n,ia.transition=r}}function qa(){return ba().memoizedState}function Ga(e,t,n){var r=tc(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},Xa(e))Ka(t,n);else if(null!==(n=Ii(e,t,n,r))){nc(n,e,r,ec()),Za(n,t,r)}}function Ya(e,t,n){var r=tc(e),o={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(Xa(e))Ka(t,o);else{var i=e.alternate;if(0===e.lanes&&(null===i||0===i.lanes)&&null!==(i=t.lastRenderedReducer))try{var a=t.lastRenderedState,s=i(a,n);if(o.hasEagerState=!0,o.eagerState=s,sr(s,a)){var l=t.interleaved;return null===l?(o.next=o,Ri(t)):(o.next=l.next,l.next=o),void(t.interleaved=o)}}catch(e){}null!==(n=Ii(e,t,o,r))&&(nc(n,e,r,o=ec()),Za(n,t,r))}}function Xa(e){var t=e.alternate;return e===sa||null!==t&&t===sa}function Ka(e,t){da=ua=!0;var n=e.pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Za(e,t,n){if(4194240&n){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,yt(e,n)}}var Ja={readContext:Ei,useCallback:ha,useContext:ha,useEffect:ha,useImperativeHandle:ha,useInsertionEffect:ha,useLayoutEffect:ha,useMemo:ha,useReducer:ha,useRef:ha,useState:ha,useDebugValue:ha,useDeferredValue:ha,useTransition:ha,useMutableSource:ha,useSyncExternalStore:ha,useId:ha,unstable_isNewReconciler:!1},Qa={readContext:Ei,useCallback:function(e,t){return ya().memoizedState=[e,void 0===t?null:t],e},useContext:Ei,useEffect:Na,useImperativeHandle:function(e,t,n){return n=null!=n?n.concat([e]):null,Ra(4194308,4,za.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Ra(4194308,4,e,t)},useInsertionEffect:function(e,t){return Ra(4,2,e,t)},useMemo:function(e,t){var n=ya();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=ya();return t=void 0!==n?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=Ga.bind(null,sa,e),[r.memoizedState,e]},useRef:function(e){return e={current:e},ya().memoizedState=e},useState:Oa,useDebugValue:Ba,useDeferredValue:function(e){return ya().memoizedState=e},useTransition:function(){var e=Oa(!1),t=e[0];return e=Ua.bind(null,e[1]),ya().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=sa,o=ya();if(ii){if(void 0===n)throw Error(i(407));n=n()}else{if(n=t(),null===Pl)throw Error(i(349));30&aa||ka(r,t,n)}o.memoizedState=n;var a={value:n,getSnapshot:t};return o.queue=a,Na(Ta.bind(null,r,a,e),[e]),r.flags|=2048,Ea(9,Ca.bind(null,r,a,n,t),void 0,null),n},useId:function(){var e=ya(),t=Pl.identifierPrefix;if(ii){var n=Jo;t=":"+t+"R"+(n=(Zo&~(1<<32-at(Zo)-1)).toString(32)+n),0<(n=pa++)&&(t+="H"+n.toString(32)),t+=":"}else t=":"+t+"r"+(n=fa++).toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},es={readContext:Ei,useCallback:Ha,useContext:Ei,useEffect:La,useImperativeHandle:Fa,useInsertionEffect:ja,useLayoutEffect:$a,useMemo:Va,useReducer:wa,useRef:Da,useState:function(){return wa(xa)},useDebugValue:Ba,useDeferredValue:function(e){return Wa(ba(),la.memoizedState,e)},useTransition:function(){return[wa(xa)[0],ba().memoizedState]},useMutableSource:_a,useSyncExternalStore:Sa,useId:qa,unstable_isNewReconciler:!1},ts={readContext:Ei,useCallback:Ha,useContext:Ei,useEffect:La,useImperativeHandle:Fa,useInsertionEffect:ja,useLayoutEffect:$a,useMemo:Va,useReducer:Aa,useRef:Da,useState:function(){return Aa(xa)},useDebugValue:Ba,useDeferredValue:function(e){var t=ba();return null===la?t.memoizedState=e:Wa(t,la.memoizedState,e)},useTransition:function(){return[Aa(xa)[0],ba().memoizedState]},useMutableSource:_a,useSyncExternalStore:Sa,useId:qa,unstable_isNewReconciler:!1};function ns(e,t){if(e&&e.defaultProps){for(var n in t=j({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}return t}function rs(e,t,n,r){n=null==(n=n(r,t=e.memoizedState))?t:j({},t,n),e.memoizedState=n,0===e.lanes&&(e.updateQueue.baseState=n)}var os={isMounted:function(e){return!!(e=e._reactInternals)&&He(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=ec(),o=tc(e),i=zi(r,o);i.payload=t,null!=n&&(i.callback=n),null!==(t=Fi(e,i,o))&&(nc(t,e,o,r),Bi(t,e,o))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=ec(),o=tc(e),i=zi(r,o);i.tag=1,i.payload=t,null!=n&&(i.callback=n),null!==(t=Fi(e,i,o))&&(nc(t,e,o,r),Bi(t,e,o))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=ec(),r=tc(e),o=zi(n,r);o.tag=2,null!=t&&(o.callback=t),null!==(t=Fi(e,o,r))&&(nc(t,e,r,n),Bi(t,e,r))}};function is(e,t,n,r,o,i,a){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,i,a):!t.prototype||!t.prototype.isPureReactComponent||(!lr(n,r)||!lr(o,i))}function as(e,t,n){var r=!1,o=Mo,i=t.contextType;return"object"==typeof i&&null!==i?i=Ei(i):(o=Ro(t)?Eo:Po.current,i=(r=null!=(r=t.contextTypes))?Do(e,o):Mo),t=new t(n,i),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=os,e.stateNode=t,t._reactInternals=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=o,e.__reactInternalMemoizedMaskedChildContext=i),t}function ss(e,t,n,r){e=t.state,"function"==typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"==typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&os.enqueueReplaceState(t,t.state,null)}function ls(e,t,n,r){var o=e.stateNode;o.props=n,o.state=e.memoizedState,o.refs={},ji(e);var i=t.contextType;"object"==typeof i&&null!==i?o.context=Ei(i):(i=Ro(t)?Eo:Po.current,o.context=Do(e,i)),o.state=e.memoizedState,"function"==typeof(i=t.getDerivedStateFromProps)&&(rs(e,t,i,n),o.state=e.memoizedState),"function"==typeof t.getDerivedStateFromProps||"function"==typeof o.getSnapshotBeforeUpdate||"function"!=typeof o.UNSAFE_componentWillMount&&"function"!=typeof o.componentWillMount||(t=o.state,"function"==typeof o.componentWillMount&&o.componentWillMount(),"function"==typeof o.UNSAFE_componentWillMount&&o.UNSAFE_componentWillMount(),t!==o.state&&os.enqueueReplaceState(o,o.state,null),Vi(e,n,o,r),o.state=e.memoizedState),"function"==typeof o.componentDidMount&&(e.flags|=4194308)}function cs(e,t){try{var n="",r=t;do{n+=B(r),r=r.return}while(r);var o=n}catch(e){o="\nError generating stack: "+e.message+"\n"+e.stack}return{value:e,source:t,stack:o,digest:null}}function us(e,t,n){return{value:e,source:null,stack:null!=n?n:null,digest:null!=t?t:null}}function ds(e,t){try{console.error(t.value)}catch(e){setTimeout((function(){throw e}))}}var ps="function"==typeof WeakMap?WeakMap:Map;function fs(e,t,n){(n=zi(-1,n)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Wl||(Wl=!0,Ul=r),ds(0,t)},n}function hs(e,t,n){(n=zi(-1,n)).tag=3;var r=e.type.getDerivedStateFromError;if("function"==typeof r){var o=t.value;n.payload=function(){return r(o)},n.callback=function(){ds(0,t)}}var i=e.stateNode;return null!==i&&"function"==typeof i.componentDidCatch&&(n.callback=function(){ds(0,t),"function"!=typeof r&&(null===ql?ql=new Set([this]):ql.add(this));var e=t.stack;this.componentDidCatch(t.value,{componentStack:null!==e?e:""})}),n}function ms(e,t,n){var r=e.pingCache;if(null===r){r=e.pingCache=new ps;var o=new Set;r.set(t,o)}else void 0===(o=r.get(t))&&(o=new Set,r.set(t,o));o.has(n)||(o.add(n),e=kc.bind(null,e,t,n),t.then(e,e))}function gs(e){do{var t;if((t=13===e.tag)&&(t=null===(t=e.memoizedState)||null!==t.dehydrated),t)return e;e=e.return}while(null!==e);return null}function vs(e,t,n,r,o){return 1&e.mode?(e.flags|=65536,e.lanes=o,e):(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,1===n.tag&&(null===n.alternate?n.tag=17:((t=zi(-1,1)).tag=2,Fi(n,t,1))),n.lanes|=1),e)}var ys=x.ReactCurrentOwner,bs=!1;function xs(e,t,n,r){t.child=null===e?Ai(t,null,n,r):wi(t,e.child,n,r)}function ws(e,t,n,r,o){n=n.render;var i=t.ref;return Oi(t,o),r=ga(e,t,n,r,i,o),n=va(),null===e||bs?(ii&&n&&ti(t),t.flags|=1,xs(e,t,r,o),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,Ws(e,t,o))}function As(e,t,n,r,o){if(null===e){var i=n.type;return"function"!=typeof i||Dc(i)||void 0!==i.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=Ic(n.type,null,r,t,t.mode,o)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=i,_s(e,t,i,r,o))}if(i=e.child,!(e.lanes&o)){var a=i.memoizedProps;if((n=null!==(n=n.compare)?n:lr)(a,r)&&e.ref===t.ref)return Ws(e,t,o)}return t.flags|=1,(e=Rc(i,r)).ref=t.ref,e.return=t,t.child=e}function _s(e,t,n,r,o){if(null!==e){var i=e.memoizedProps;if(lr(i,r)&&e.ref===t.ref){if(bs=!1,t.pendingProps=r=i,!(e.lanes&o))return t.lanes=e.lanes,Ws(e,t,o);131072&e.flags&&(bs=!0)}}return Cs(e,t,n,r,o)}function Ss(e,t,n){var r=t.pendingProps,o=r.children,i=null!==e?e.memoizedState:null;if("hidden"===r.mode)if(1&t.mode){if(!(1073741824&n))return e=null!==i?i.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,To(Rl,Dl),Dl|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=null!==i?i.baseLanes:n,To(Rl,Dl),Dl|=r}else t.memoizedState={baseLanes:0,cachePool:null,transitions:null},To(Rl,Dl),Dl|=n;else null!==i?(r=i.baseLanes|n,t.memoizedState=null):r=n,To(Rl,Dl),Dl|=r;return xs(e,t,o,n),t.child}function ks(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function Cs(e,t,n,r,o){var i=Ro(n)?Eo:Po.current;return i=Do(t,i),Oi(t,o),n=ga(e,t,n,r,i,o),r=va(),null===e||bs?(ii&&r&&ti(t),t.flags|=1,xs(e,t,n,o),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,Ws(e,t,o))}function Ts(e,t,n,r,o){if(Ro(n)){var i=!0;jo(t)}else i=!1;if(Oi(t,o),null===t.stateNode)Vs(e,t),as(t,n,r),ls(t,n,r,o),r=!0;else if(null===e){var a=t.stateNode,s=t.memoizedProps;a.props=s;var l=a.context,c=n.contextType;"object"==typeof c&&null!==c?c=Ei(c):c=Do(t,c=Ro(n)?Eo:Po.current);var u=n.getDerivedStateFromProps,d="function"==typeof u||"function"==typeof a.getSnapshotBeforeUpdate;d||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(s!==r||l!==c)&&ss(t,a,r,c),Li=!1;var p=t.memoizedState;a.state=p,Vi(t,r,a,o),l=t.memoizedState,s!==r||p!==l||Oo.current||Li?("function"==typeof u&&(rs(t,n,u,r),l=t.memoizedState),(s=Li||is(t,n,s,r,p,l,c))?(d||"function"!=typeof a.UNSAFE_componentWillMount&&"function"!=typeof a.componentWillMount||("function"==typeof a.componentWillMount&&a.componentWillMount(),"function"==typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount()),"function"==typeof a.componentDidMount&&(t.flags|=4194308)):("function"==typeof a.componentDidMount&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=l),a.props=r,a.state=l,a.context=c,r=s):("function"==typeof a.componentDidMount&&(t.flags|=4194308),r=!1)}else{a=t.stateNode,$i(e,t),s=t.memoizedProps,c=t.type===t.elementType?s:ns(t.type,s),a.props=c,d=t.pendingProps,p=a.context,"object"==typeof(l=n.contextType)&&null!==l?l=Ei(l):l=Do(t,l=Ro(n)?Eo:Po.current);var f=n.getDerivedStateFromProps;(u="function"==typeof f||"function"==typeof a.getSnapshotBeforeUpdate)||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(s!==d||p!==l)&&ss(t,a,r,l),Li=!1,p=t.memoizedState,a.state=p,Vi(t,r,a,o);var h=t.memoizedState;s!==d||p!==h||Oo.current||Li?("function"==typeof f&&(rs(t,n,f,r),h=t.memoizedState),(c=Li||is(t,n,c,r,p,h,l)||!1)?(u||"function"!=typeof a.UNSAFE_componentWillUpdate&&"function"!=typeof a.componentWillUpdate||("function"==typeof a.componentWillUpdate&&a.componentWillUpdate(r,h,l),"function"==typeof a.UNSAFE_componentWillUpdate&&a.UNSAFE_componentWillUpdate(r,h,l)),"function"==typeof a.componentDidUpdate&&(t.flags|=4),"function"==typeof a.getSnapshotBeforeUpdate&&(t.flags|=1024)):("function"!=typeof a.componentDidUpdate||s===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),"function"!=typeof a.getSnapshotBeforeUpdate||s===e.memoizedProps&&p===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=h),a.props=r,a.state=h,a.context=l,r=c):("function"!=typeof a.componentDidUpdate||s===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),"function"!=typeof a.getSnapshotBeforeUpdate||s===e.memoizedProps&&p===e.memoizedState||(t.flags|=1024),r=!1)}return Ms(e,t,n,r,i,o)}function Ms(e,t,n,r,o,i){ks(e,t);var a=!!(128&t.flags);if(!r&&!a)return o&&$o(t,n,!1),Ws(e,t,i);r=t.stateNode,ys.current=t;var s=a&&"function"!=typeof n.getDerivedStateFromError?null:r.render();return t.flags|=1,null!==e&&a?(t.child=wi(t,e.child,null,i),t.child=wi(t,null,s,i)):xs(e,t,s,i),t.memoizedState=r.state,o&&$o(t,n,!0),t.child}function Ps(e){var t=e.stateNode;t.pendingContext?No(0,t.pendingContext,t.pendingContext!==t.context):t.context&&No(0,t.context,!1),Ki(e,t.containerInfo)}function Os(e,t,n,r,o){return hi(),mi(o),t.flags|=256,xs(e,t,n,r),t.child}var Es,Ds,Rs,Is,Ns={dehydrated:null,treeContext:null,retryLane:0};function Ls(e){return{baseLanes:e,cachePool:null,transitions:null}}function js(e,t,n){var r,o=t.pendingProps,a=ea.current,s=!1,l=!!(128&t.flags);if((r=l)||(r=(null===e||null!==e.memoizedState)&&!!(2&a)),r?(s=!0,t.flags&=-129):null!==e&&null===e.memoizedState||(a|=1),To(ea,1&a),null===e)return ui(t),null!==(e=t.memoizedState)&&null!==(e=e.dehydrated)?(1&t.mode?"$!"===e.data?t.lanes=8:t.lanes=1073741824:t.lanes=1,null):(l=o.children,e=o.fallback,s?(o=t.mode,s=t.child,l={mode:"hidden",children:l},1&o||null===s?s=Lc(l,o,0,null):(s.childLanes=0,s.pendingProps=l),e=Nc(e,o,n,null),s.return=t,e.return=t,s.sibling=e,t.child=s,t.child.memoizedState=Ls(n),t.memoizedState=Ns,e):$s(t,l));if(null!==(a=e.memoizedState)&&null!==(r=a.dehydrated))return function(e,t,n,r,o,a,s){if(n)return 256&t.flags?(t.flags&=-257,zs(e,t,s,r=us(Error(i(422))))):null!==t.memoizedState?(t.child=e.child,t.flags|=128,null):(a=r.fallback,o=t.mode,r=Lc({mode:"visible",children:r.children},o,0,null),(a=Nc(a,o,s,null)).flags|=2,r.return=t,a.return=t,r.sibling=a,t.child=r,1&t.mode&&wi(t,e.child,null,s),t.child.memoizedState=Ls(s),t.memoizedState=Ns,a);if(!(1&t.mode))return zs(e,t,s,null);if("$!"===o.data){if(r=o.nextSibling&&o.nextSibling.dataset)var l=r.dgst;return r=l,zs(e,t,s,r=us(a=Error(i(419)),r,void 0))}if(l=!!(s&e.childLanes),bs||l){if(null!==(r=Pl)){switch(s&-s){case 4:o=2;break;case 16:o=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:o=32;break;case 536870912:o=268435456;break;default:o=0}0!==(o=o&(r.suspendedLanes|s)?0:o)&&o!==a.retryLane&&(a.retryLane=o,Ni(e,o),nc(r,e,o,-1))}return mc(),zs(e,t,s,r=us(Error(i(421))))}return"$?"===o.data?(t.flags|=128,t.child=e.child,t=Tc.bind(null,e),o._reactRetry=t,null):(e=a.treeContext,oi=co(o.nextSibling),ri=t,ii=!0,ai=null,null!==e&&(Yo[Xo++]=Zo,Yo[Xo++]=Jo,Yo[Xo++]=Ko,Zo=e.id,Jo=e.overflow,Ko=t),t=$s(t,r.children),t.flags|=4096,t)}(e,t,l,o,r,a,n);if(s){s=o.fallback,l=t.mode,r=(a=e.child).sibling;var c={mode:"hidden",children:o.children};return 1&l||t.child===a?(o=Rc(a,c)).subtreeFlags=14680064&a.subtreeFlags:((o=t.child).childLanes=0,o.pendingProps=c,t.deletions=null),null!==r?s=Rc(r,s):(s=Nc(s,l,n,null)).flags|=2,s.return=t,o.return=t,o.sibling=s,t.child=o,o=s,s=t.child,l=null===(l=e.child.memoizedState)?Ls(n):{baseLanes:l.baseLanes|n,cachePool:null,transitions:l.transitions},s.memoizedState=l,s.childLanes=e.childLanes&~n,t.memoizedState=Ns,o}return e=(s=e.child).sibling,o=Rc(s,{mode:"visible",children:o.children}),!(1&t.mode)&&(o.lanes=n),o.return=t,o.sibling=null,null!==e&&(null===(n=t.deletions)?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=o,t.memoizedState=null,o}function $s(e,t){return(t=Lc({mode:"visible",children:t},e.mode,0,null)).return=e,e.child=t}function zs(e,t,n,r){return null!==r&&mi(r),wi(t,e.child,null,n),(e=$s(t,t.pendingProps.children)).flags|=2,t.memoizedState=null,e}function Fs(e,t,n){e.lanes|=t;var r=e.alternate;null!==r&&(r.lanes|=t),Pi(e.return,t,n)}function Bs(e,t,n,r,o){var i=e.memoizedState;null===i?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:o}:(i.isBackwards=t,i.rendering=null,i.renderingStartTime=0,i.last=r,i.tail=n,i.tailMode=o)}function Hs(e,t,n){var r=t.pendingProps,o=r.revealOrder,i=r.tail;if(xs(e,t,r.children,n),2&(r=ea.current))r=1&r|2,t.flags|=128;else{if(null!==e&&128&e.flags)e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&Fs(e,n,t);else if(19===e.tag)Fs(e,n,t);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(To(ea,r),1&t.mode)switch(o){case"forwards":for(n=t.child,o=null;null!==n;)null!==(e=n.alternate)&&null===ta(e)&&(o=n),n=n.sibling;null===(n=o)?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null),Bs(t,!1,o,n,i);break;case"backwards":for(n=null,o=t.child,t.child=null;null!==o;){if(null!==(e=o.alternate)&&null===ta(e)){t.child=o;break}e=o.sibling,o.sibling=n,n=o,o=e}Bs(t,!0,n,null,i);break;case"together":Bs(t,!1,null,null,void 0);break;default:t.memoizedState=null}else t.memoizedState=null;return t.child}function Vs(e,t){!(1&t.mode)&&null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2)}function Ws(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),Ll|=t.lanes,!(n&t.childLanes))return null;if(null!==e&&t.child!==e.child)throw Error(i(153));if(null!==t.child){for(n=Rc(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=Rc(e,e.pendingProps)).return=t;n.sibling=null}return t.child}function Us(e,t){if(!ii)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?t||null===e.tail?e.tail=null:e.tail.sibling=null:r.sibling=null}}function qs(e){var t=null!==e.alternate&&e.alternate.child===e.child,n=0,r=0;if(t)for(var o=e.child;null!==o;)n|=o.lanes|o.childLanes,r|=14680064&o.subtreeFlags,r|=14680064&o.flags,o.return=e,o=o.sibling;else for(o=e.child;null!==o;)n|=o.lanes|o.childLanes,r|=o.subtreeFlags,r|=o.flags,o.return=e,o=o.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function Gs(e,t,n){var r=t.pendingProps;switch(ni(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return qs(t),null;case 1:case 17:return Ro(t.type)&&Io(),qs(t),null;case 3:return r=t.stateNode,Zi(),Co(Oo),Co(Po),ra(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),null!==e&&null!==e.child||(pi(t)?t.flags|=4:null===e||e.memoizedState.isDehydrated&&!(256&t.flags)||(t.flags|=1024,null!==ai&&(ac(ai),ai=null))),Ds(e,t),qs(t),null;case 5:Qi(t);var o=Xi(Yi.current);if(n=t.type,null!==e&&null!=t.stateNode)Rs(e,t,n,r,o),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(null===t.stateNode)throw Error(i(166));return qs(t),null}if(e=Xi(qi.current),pi(t)){r=t.stateNode,n=t.type;var a=t.memoizedProps;switch(r[fo]=t,r[ho]=a,e=!!(1&t.mode),n){case"dialog":zr("cancel",r),zr("close",r);break;case"iframe":case"object":case"embed":zr("load",r);break;case"video":case"audio":for(o=0;o<Nr.length;o++)zr(Nr[o],r);break;case"source":zr("error",r);break;case"img":case"image":case"link":zr("error",r),zr("load",r);break;case"details":zr("toggle",r);break;case"input":K(r,a),zr("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!a.multiple},zr("invalid",r);break;case"textarea":oe(r,a),zr("invalid",r)}for(var l in ye(n,a),o=null,a)if(a.hasOwnProperty(l)){var c=a[l];"children"===l?"string"==typeof c?r.textContent!==c&&(!0!==a.suppressHydrationWarning&&Jr(r.textContent,c,e),o=["children",c]):"number"==typeof c&&r.textContent!==""+c&&(!0!==a.suppressHydrationWarning&&Jr(r.textContent,c,e),o=["children",""+c]):s.hasOwnProperty(l)&&null!=c&&"onScroll"===l&&zr("scroll",r)}switch(n){case"input":q(r),Q(r,a,!0);break;case"textarea":q(r),ae(r);break;case"select":case"option":break;default:"function"==typeof a.onClick&&(r.onclick=Qr)}r=o,t.updateQueue=r,null!==r&&(t.flags|=4)}else{l=9===o.nodeType?o:o.ownerDocument,"http://www.w3.org/1999/xhtml"===e&&(e=se(n)),"http://www.w3.org/1999/xhtml"===e?"script"===n?((e=l.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"==typeof r.is?e=l.createElement(n,{is:r.is}):(e=l.createElement(n),"select"===n&&(l=e,r.multiple?l.multiple=!0:r.size&&(l.size=r.size))):e=l.createElementNS(e,n),e[fo]=t,e[ho]=r,Es(e,t,!1,!1),t.stateNode=e;e:{switch(l=be(n,r),n){case"dialog":zr("cancel",e),zr("close",e),o=r;break;case"iframe":case"object":case"embed":zr("load",e),o=r;break;case"video":case"audio":for(o=0;o<Nr.length;o++)zr(Nr[o],e);o=r;break;case"source":zr("error",e),o=r;break;case"img":case"image":case"link":zr("error",e),zr("load",e),o=r;break;case"details":zr("toggle",e),o=r;break;case"input":K(e,r),o=X(e,r),zr("invalid",e);break;case"option":default:o=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},o=j({},r,{value:void 0}),zr("invalid",e);break;case"textarea":oe(e,r),o=re(e,r),zr("invalid",e)}for(a in ye(n,o),c=o)if(c.hasOwnProperty(a)){var u=c[a];"style"===a?ge(e,u):"dangerouslySetInnerHTML"===a?null!=(u=u?u.__html:void 0)&&de(e,u):"children"===a?"string"==typeof u?("textarea"!==n||""!==u)&&pe(e,u):"number"==typeof u&&pe(e,""+u):"suppressContentEditableWarning"!==a&&"suppressHydrationWarning"!==a&&"autoFocus"!==a&&(s.hasOwnProperty(a)?null!=u&&"onScroll"===a&&zr("scroll",e):null!=u&&b(e,a,u,l))}switch(n){case"input":q(e),Q(e,r,!1);break;case"textarea":q(e),ae(e);break;case"option":null!=r.value&&e.setAttribute("value",""+W(r.value));break;case"select":e.multiple=!!r.multiple,null!=(a=r.value)?ne(e,!!r.multiple,a,!1):null!=r.defaultValue&&ne(e,!!r.multiple,r.defaultValue,!0);break;default:"function"==typeof o.onClick&&(e.onclick=Qr)}switch(n){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}}r&&(t.flags|=4)}null!==t.ref&&(t.flags|=512,t.flags|=2097152)}return qs(t),null;case 6:if(e&&null!=t.stateNode)Is(e,t,e.memoizedProps,r);else{if("string"!=typeof r&&null===t.stateNode)throw Error(i(166));if(n=Xi(Yi.current),Xi(qi.current),pi(t)){if(r=t.stateNode,n=t.memoizedProps,r[fo]=t,(a=r.nodeValue!==n)&&null!==(e=ri))switch(e.tag){case 3:Jr(r.nodeValue,n,!!(1&e.mode));break;case 5:!0!==e.memoizedProps.suppressHydrationWarning&&Jr(r.nodeValue,n,!!(1&e.mode))}a&&(t.flags|=4)}else(r=(9===n.nodeType?n:n.ownerDocument).createTextNode(r))[fo]=t,t.stateNode=r}return qs(t),null;case 13:if(Co(ea),r=t.memoizedState,null===e||null!==e.memoizedState&&null!==e.memoizedState.dehydrated){if(ii&&null!==oi&&1&t.mode&&!(128&t.flags))fi(),hi(),t.flags|=98560,a=!1;else if(a=pi(t),null!==r&&null!==r.dehydrated){if(null===e){if(!a)throw Error(i(318));if(!(a=null!==(a=t.memoizedState)?a.dehydrated:null))throw Error(i(317));a[fo]=t}else hi(),!(128&t.flags)&&(t.memoizedState=null),t.flags|=4;qs(t),a=!1}else null!==ai&&(ac(ai),ai=null),a=!0;if(!a)return 65536&t.flags?t:null}return 128&t.flags?(t.lanes=n,t):((r=null!==r)!==(null!==e&&null!==e.memoizedState)&&r&&(t.child.flags|=8192,1&t.mode&&(null===e||1&ea.current?0===Il&&(Il=3):mc())),null!==t.updateQueue&&(t.flags|=4),qs(t),null);case 4:return Zi(),Ds(e,t),null===e&&Hr(t.stateNode.containerInfo),qs(t),null;case 10:return Mi(t.type._context),qs(t),null;case 19:if(Co(ea),null===(a=t.memoizedState))return qs(t),null;if(r=!!(128&t.flags),null===(l=a.rendering))if(r)Us(a,!1);else{if(0!==Il||null!==e&&128&e.flags)for(e=t.child;null!==e;){if(null!==(l=ta(e))){for(t.flags|=128,Us(a,!1),null!==(r=l.updateQueue)&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;null!==n;)e=r,(a=n).flags&=14680066,null===(l=a.alternate)?(a.childLanes=0,a.lanes=e,a.child=null,a.subtreeFlags=0,a.memoizedProps=null,a.memoizedState=null,a.updateQueue=null,a.dependencies=null,a.stateNode=null):(a.childLanes=l.childLanes,a.lanes=l.lanes,a.child=l.child,a.subtreeFlags=0,a.deletions=null,a.memoizedProps=l.memoizedProps,a.memoizedState=l.memoizedState,a.updateQueue=l.updateQueue,a.type=l.type,e=l.dependencies,a.dependencies=null===e?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return To(ea,1&ea.current|2),t.child}e=e.sibling}null!==a.tail&&Ze()>Hl&&(t.flags|=128,r=!0,Us(a,!1),t.lanes=4194304)}else{if(!r)if(null!==(e=ta(l))){if(t.flags|=128,r=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.flags|=4),Us(a,!0),null===a.tail&&"hidden"===a.tailMode&&!l.alternate&&!ii)return qs(t),null}else 2*Ze()-a.renderingStartTime>Hl&&1073741824!==n&&(t.flags|=128,r=!0,Us(a,!1),t.lanes=4194304);a.isBackwards?(l.sibling=t.child,t.child=l):(null!==(n=a.last)?n.sibling=l:t.child=l,a.last=l)}return null!==a.tail?(t=a.tail,a.rendering=t,a.tail=t.sibling,a.renderingStartTime=Ze(),t.sibling=null,n=ea.current,To(ea,r?1&n|2:1&n),t):(qs(t),null);case 22:case 23:return dc(),r=null!==t.memoizedState,null!==e&&null!==e.memoizedState!==r&&(t.flags|=8192),r&&1&t.mode?!!(1073741824&Dl)&&(qs(t),6&t.subtreeFlags&&(t.flags|=8192)):qs(t),null;case 24:case 25:return null}throw Error(i(156,t.tag))}function Ys(e,t){switch(ni(t),t.tag){case 1:return Ro(t.type)&&Io(),65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 3:return Zi(),Co(Oo),Co(Po),ra(),65536&(e=t.flags)&&!(128&e)?(t.flags=-65537&e|128,t):null;case 5:return Qi(t),null;case 13:if(Co(ea),null!==(e=t.memoizedState)&&null!==e.dehydrated){if(null===t.alternate)throw Error(i(340));hi()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 19:return Co(ea),null;case 4:return Zi(),null;case 10:return Mi(t.type._context),null;case 22:case 23:return dc(),null;default:return null}}Es=function(e,t){for(var n=t.child;null!==n;){if(5===n.tag||6===n.tag)e.appendChild(n.stateNode);else if(4!==n.tag&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===t)break;for(;null===n.sibling;){if(null===n.return||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},Ds=function(){},Rs=function(e,t,n,r){var o=e.memoizedProps;if(o!==r){e=t.stateNode,Xi(qi.current);var i,a=null;switch(n){case"input":o=X(e,o),r=X(e,r),a=[];break;case"select":o=j({},o,{value:void 0}),r=j({},r,{value:void 0}),a=[];break;case"textarea":o=re(e,o),r=re(e,r),a=[];break;default:"function"!=typeof o.onClick&&"function"==typeof r.onClick&&(e.onclick=Qr)}for(u in ye(n,r),n=null,o)if(!r.hasOwnProperty(u)&&o.hasOwnProperty(u)&&null!=o[u])if("style"===u){var l=o[u];for(i in l)l.hasOwnProperty(i)&&(n||(n={}),n[i]="")}else"dangerouslySetInnerHTML"!==u&&"children"!==u&&"suppressContentEditableWarning"!==u&&"suppressHydrationWarning"!==u&&"autoFocus"!==u&&(s.hasOwnProperty(u)?a||(a=[]):(a=a||[]).push(u,null));for(u in r){var c=r[u];if(l=null!=o?o[u]:void 0,r.hasOwnProperty(u)&&c!==l&&(null!=c||null!=l))if("style"===u)if(l){for(i in l)!l.hasOwnProperty(i)||c&&c.hasOwnProperty(i)||(n||(n={}),n[i]="");for(i in c)c.hasOwnProperty(i)&&l[i]!==c[i]&&(n||(n={}),n[i]=c[i])}else n||(a||(a=[]),a.push(u,n)),n=c;else"dangerouslySetInnerHTML"===u?(c=c?c.__html:void 0,l=l?l.__html:void 0,null!=c&&l!==c&&(a=a||[]).push(u,c)):"children"===u?"string"!=typeof c&&"number"!=typeof c||(a=a||[]).push(u,""+c):"suppressContentEditableWarning"!==u&&"suppressHydrationWarning"!==u&&(s.hasOwnProperty(u)?(null!=c&&"onScroll"===u&&zr("scroll",e),a||l===c||(a=[])):(a=a||[]).push(u,c))}n&&(a=a||[]).push("style",n);var u=a;(t.updateQueue=u)&&(t.flags|=4)}},Is=function(e,t,n,r){n!==r&&(t.flags|=4)};var Xs=!1,Ks=!1,Zs="function"==typeof WeakSet?WeakSet:Set,Js=null;function Qs(e,t){var n=e.ref;if(null!==n)if("function"==typeof n)try{n(null)}catch(n){Sc(e,t,n)}else n.current=null}function el(e,t,n){try{n()}catch(n){Sc(e,t,n)}}var tl=!1;function nl(e,t,n){var r=t.updateQueue;if(null!==(r=null!==r?r.lastEffect:null)){var o=r=r.next;do{if((o.tag&e)===e){var i=o.destroy;o.destroy=void 0,void 0!==i&&el(t,n,i)}o=o.next}while(o!==r)}}function rl(e,t){if(null!==(t=null!==(t=t.updateQueue)?t.lastEffect:null)){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function ol(e){var t=e.ref;if(null!==t){var n=e.stateNode;e.tag,e=n,"function"==typeof t?t(e):t.current=e}}function il(e){var t=e.alternate;null!==t&&(e.alternate=null,il(t)),e.child=null,e.deletions=null,e.sibling=null,5===e.tag&&(null!==(t=e.stateNode)&&(delete t[fo],delete t[ho],delete t[go],delete t[vo],delete t[yo])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function al(e){return 5===e.tag||3===e.tag||4===e.tag}function sl(e){e:for(;;){for(;null===e.sibling;){if(null===e.return||al(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;5!==e.tag&&6!==e.tag&&18!==e.tag;){if(2&e.flags)continue e;if(null===e.child||4===e.tag)continue e;e.child.return=e,e=e.child}if(!(2&e.flags))return e.stateNode}}function ll(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?8===n.nodeType?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(8===n.nodeType?(t=n.parentNode).insertBefore(e,n):(t=n).appendChild(e),null!=(n=n._reactRootContainer)||null!==t.onclick||(t.onclick=Qr));else if(4!==r&&null!==(e=e.child))for(ll(e,t,n),e=e.sibling;null!==e;)ll(e,t,n),e=e.sibling}function cl(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(4!==r&&null!==(e=e.child))for(cl(e,t,n),e=e.sibling;null!==e;)cl(e,t,n),e=e.sibling}var ul=null,dl=!1;function pl(e,t,n){for(n=n.child;null!==n;)fl(e,t,n),n=n.sibling}function fl(e,t,n){if(it&&"function"==typeof it.onCommitFiberUnmount)try{it.onCommitFiberUnmount(ot,n)}catch(e){}switch(n.tag){case 5:Ks||Qs(n,t);case 6:var r=ul,o=dl;ul=null,pl(e,t,n),dl=o,null!==(ul=r)&&(dl?(e=ul,n=n.stateNode,8===e.nodeType?e.parentNode.removeChild(n):e.removeChild(n)):ul.removeChild(n.stateNode));break;case 18:null!==ul&&(dl?(e=ul,n=n.stateNode,8===e.nodeType?lo(e.parentNode,n):1===e.nodeType&&lo(e,n),Ht(e)):lo(ul,n.stateNode));break;case 4:r=ul,o=dl,ul=n.stateNode.containerInfo,dl=!0,pl(e,t,n),ul=r,dl=o;break;case 0:case 11:case 14:case 15:if(!Ks&&(null!==(r=n.updateQueue)&&null!==(r=r.lastEffect))){o=r=r.next;do{var i=o,a=i.destroy;i=i.tag,void 0!==a&&(2&i||4&i)&&el(n,t,a),o=o.next}while(o!==r)}pl(e,t,n);break;case 1:if(!Ks&&(Qs(n,t),"function"==typeof(r=n.stateNode).componentWillUnmount))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(e){Sc(n,t,e)}pl(e,t,n);break;case 21:pl(e,t,n);break;case 22:1&n.mode?(Ks=(r=Ks)||null!==n.memoizedState,pl(e,t,n),Ks=r):pl(e,t,n);break;default:pl(e,t,n)}}function hl(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new Zs),t.forEach((function(t){var r=Mc.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))}))}}function ml(e,t){var n=t.deletions;if(null!==n)for(var r=0;r<n.length;r++){var o=n[r];try{var a=e,s=t,l=s;e:for(;null!==l;){switch(l.tag){case 5:ul=l.stateNode,dl=!1;break e;case 3:case 4:ul=l.stateNode.containerInfo,dl=!0;break e}l=l.return}if(null===ul)throw Error(i(160));fl(a,s,o),ul=null,dl=!1;var c=o.alternate;null!==c&&(c.return=null),o.return=null}catch(e){Sc(o,t,e)}}if(12854&t.subtreeFlags)for(t=t.child;null!==t;)gl(t,e),t=t.sibling}function gl(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(ml(t,e),vl(e),4&r){try{nl(3,e,e.return),rl(3,e)}catch(t){Sc(e,e.return,t)}try{nl(5,e,e.return)}catch(t){Sc(e,e.return,t)}}break;case 1:ml(t,e),vl(e),512&r&&null!==n&&Qs(n,n.return);break;case 5:if(ml(t,e),vl(e),512&r&&null!==n&&Qs(n,n.return),32&e.flags){var o=e.stateNode;try{pe(o,"")}catch(t){Sc(e,e.return,t)}}if(4&r&&null!=(o=e.stateNode)){var a=e.memoizedProps,s=null!==n?n.memoizedProps:a,l=e.type,c=e.updateQueue;if(e.updateQueue=null,null!==c)try{"input"===l&&"radio"===a.type&&null!=a.name&&Z(o,a),be(l,s);var u=be(l,a);for(s=0;s<c.length;s+=2){var d=c[s],p=c[s+1];"style"===d?ge(o,p):"dangerouslySetInnerHTML"===d?de(o,p):"children"===d?pe(o,p):b(o,d,p,u)}switch(l){case"input":J(o,a);break;case"textarea":ie(o,a);break;case"select":var f=o._wrapperState.wasMultiple;o._wrapperState.wasMultiple=!!a.multiple;var h=a.value;null!=h?ne(o,!!a.multiple,h,!1):f!==!!a.multiple&&(null!=a.defaultValue?ne(o,!!a.multiple,a.defaultValue,!0):ne(o,!!a.multiple,a.multiple?[]:"",!1))}o[ho]=a}catch(t){Sc(e,e.return,t)}}break;case 6:if(ml(t,e),vl(e),4&r){if(null===e.stateNode)throw Error(i(162));o=e.stateNode,a=e.memoizedProps;try{o.nodeValue=a}catch(t){Sc(e,e.return,t)}}break;case 3:if(ml(t,e),vl(e),4&r&&null!==n&&n.memoizedState.isDehydrated)try{Ht(t.containerInfo)}catch(t){Sc(e,e.return,t)}break;case 4:default:ml(t,e),vl(e);break;case 13:ml(t,e),vl(e),8192&(o=e.child).flags&&(a=null!==o.memoizedState,o.stateNode.isHidden=a,!a||null!==o.alternate&&null!==o.alternate.memoizedState||(Bl=Ze())),4&r&&hl(e);break;case 22:if(d=null!==n&&null!==n.memoizedState,1&e.mode?(Ks=(u=Ks)||d,ml(t,e),Ks=u):ml(t,e),vl(e),8192&r){if(u=null!==e.memoizedState,(e.stateNode.isHidden=u)&&!d&&1&e.mode)for(Js=e,d=e.child;null!==d;){for(p=Js=d;null!==Js;){switch(h=(f=Js).child,f.tag){case 0:case 11:case 14:case 15:nl(4,f,f.return);break;case 1:Qs(f,f.return);var m=f.stateNode;if("function"==typeof m.componentWillUnmount){r=f,n=f.return;try{t=r,m.props=t.memoizedProps,m.state=t.memoizedState,m.componentWillUnmount()}catch(e){Sc(r,n,e)}}break;case 5:Qs(f,f.return);break;case 22:if(null!==f.memoizedState){wl(p);continue}}null!==h?(h.return=f,Js=h):wl(p)}d=d.sibling}e:for(d=null,p=e;;){if(5===p.tag){if(null===d){d=p;try{o=p.stateNode,u?"function"==typeof(a=o.style).setProperty?a.setProperty("display","none","important"):a.display="none":(l=p.stateNode,s=null!=(c=p.memoizedProps.style)&&c.hasOwnProperty("display")?c.display:null,l.style.display=me("display",s))}catch(t){Sc(e,e.return,t)}}}else if(6===p.tag){if(null===d)try{p.stateNode.nodeValue=u?"":p.memoizedProps}catch(t){Sc(e,e.return,t)}}else if((22!==p.tag&&23!==p.tag||null===p.memoizedState||p===e)&&null!==p.child){p.child.return=p,p=p.child;continue}if(p===e)break e;for(;null===p.sibling;){if(null===p.return||p.return===e)break e;d===p&&(d=null),p=p.return}d===p&&(d=null),p.sibling.return=p.return,p=p.sibling}}break;case 19:ml(t,e),vl(e),4&r&&hl(e);case 21:}}function vl(e){var t=e.flags;if(2&t){try{e:{for(var n=e.return;null!==n;){if(al(n)){var r=n;break e}n=n.return}throw Error(i(160))}switch(r.tag){case 5:var o=r.stateNode;32&r.flags&&(pe(o,""),r.flags&=-33),cl(e,sl(e),o);break;case 3:case 4:var a=r.stateNode.containerInfo;ll(e,sl(e),a);break;default:throw Error(i(161))}}catch(t){Sc(e,e.return,t)}e.flags&=-3}4096&t&&(e.flags&=-4097)}function yl(e,t,n){Js=e,bl(e,t,n)}function bl(e,t,n){for(var r=!!(1&e.mode);null!==Js;){var o=Js,i=o.child;if(22===o.tag&&r){var a=null!==o.memoizedState||Xs;if(!a){var s=o.alternate,l=null!==s&&null!==s.memoizedState||Ks;s=Xs;var c=Ks;if(Xs=a,(Ks=l)&&!c)for(Js=o;null!==Js;)l=(a=Js).child,22===a.tag&&null!==a.memoizedState?Al(o):null!==l?(l.return=a,Js=l):Al(o);for(;null!==i;)Js=i,bl(i,t,n),i=i.sibling;Js=o,Xs=s,Ks=c}xl(e)}else 8772&o.subtreeFlags&&null!==i?(i.return=o,Js=i):xl(e)}}function xl(e){for(;null!==Js;){var t=Js;if(8772&t.flags){var n=t.alternate;try{if(8772&t.flags)switch(t.tag){case 0:case 11:case 15:Ks||rl(5,t);break;case 1:var r=t.stateNode;if(4&t.flags&&!Ks)if(null===n)r.componentDidMount();else{var o=t.elementType===t.type?n.memoizedProps:ns(t.type,n.memoizedProps);r.componentDidUpdate(o,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var a=t.updateQueue;null!==a&&Wi(t,a,r);break;case 3:var s=t.updateQueue;if(null!==s){if(n=null,null!==t.child)switch(t.child.tag){case 5:case 1:n=t.child.stateNode}Wi(t,s,n)}break;case 5:var l=t.stateNode;if(null===n&&4&t.flags){n=l;var c=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":c.autoFocus&&n.focus();break;case"img":c.src&&(n.src=c.src)}}break;case 6:case 4:case 12:case 19:case 17:case 21:case 22:case 23:case 25:break;case 13:if(null===t.memoizedState){var u=t.alternate;if(null!==u){var d=u.memoizedState;if(null!==d){var p=d.dehydrated;null!==p&&Ht(p)}}}break;default:throw Error(i(163))}Ks||512&t.flags&&ol(t)}catch(e){Sc(t,t.return,e)}}if(t===e){Js=null;break}if(null!==(n=t.sibling)){n.return=t.return,Js=n;break}Js=t.return}}function wl(e){for(;null!==Js;){var t=Js;if(t===e){Js=null;break}var n=t.sibling;if(null!==n){n.return=t.return,Js=n;break}Js=t.return}}function Al(e){for(;null!==Js;){var t=Js;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{rl(4,t)}catch(e){Sc(t,n,e)}break;case 1:var r=t.stateNode;if("function"==typeof r.componentDidMount){var o=t.return;try{r.componentDidMount()}catch(e){Sc(t,o,e)}}var i=t.return;try{ol(t)}catch(e){Sc(t,i,e)}break;case 5:var a=t.return;try{ol(t)}catch(e){Sc(t,a,e)}}}catch(e){Sc(t,t.return,e)}if(t===e){Js=null;break}var s=t.sibling;if(null!==s){s.return=t.return,Js=s;break}Js=t.return}}var _l,Sl=Math.ceil,kl=x.ReactCurrentDispatcher,Cl=x.ReactCurrentOwner,Tl=x.ReactCurrentBatchConfig,Ml=0,Pl=null,Ol=null,El=0,Dl=0,Rl=ko(0),Il=0,Nl=null,Ll=0,jl=0,$l=0,zl=null,Fl=null,Bl=0,Hl=1/0,Vl=null,Wl=!1,Ul=null,ql=null,Gl=!1,Yl=null,Xl=0,Kl=0,Zl=null,Jl=-1,Ql=0;function ec(){return 6&Ml?Ze():-1!==Jl?Jl:Jl=Ze()}function tc(e){return 1&e.mode?2&Ml&&0!==El?El&-El:null!==gi.transition?(0===Ql&&(Ql=mt()),Ql):0!==(e=bt)?e:e=void 0===(e=window.event)?16:Kt(e.type):1}function nc(e,t,n,r){if(50<Kl)throw Kl=0,Zl=null,Error(i(185));vt(e,n,r),2&Ml&&e===Pl||(e===Pl&&(!(2&Ml)&&(jl|=n),4===Il&&sc(e,El)),rc(e,r),1===n&&0===Ml&&!(1&t.mode)&&(Hl=Ze()+500,Fo&&Vo()))}function rc(e,t){var n=e.callbackNode;!function(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,o=e.expirationTimes,i=e.pendingLanes;0<i;){var a=31-at(i),s=1<<a,l=o[a];-1===l?s&n&&!(s&r)||(o[a]=ft(s,t)):l<=t&&(e.expiredLanes|=s),i&=~s}}(e,t);var r=pt(e,e===Pl?El:0);if(0===r)null!==n&&Ye(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(null!=n&&Ye(n),1===t)0===e.tag?function(e){Fo=!0,Ho(e)}(lc.bind(null,e)):Ho(lc.bind(null,e)),ao((function(){!(6&Ml)&&Vo()})),n=null;else{switch(xt(r)){case 1:n=Qe;break;case 4:n=et;break;case 16:default:n=tt;break;case 536870912:n=rt}n=Pc(n,oc.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function oc(e,t){if(Jl=-1,Ql=0,6&Ml)throw Error(i(327));var n=e.callbackNode;if(Ac()&&e.callbackNode!==n)return null;var r=pt(e,e===Pl?El:0);if(0===r)return null;if(30&r||r&e.expiredLanes||t)t=gc(e,r);else{t=r;var o=Ml;Ml|=2;var a=hc();for(Pl===e&&El===t||(Vl=null,Hl=Ze()+500,pc(e,t));;)try{yc();break}catch(t){fc(e,t)}Ti(),kl.current=a,Ml=o,null!==Ol?t=0:(Pl=null,El=0,t=Il)}if(0!==t){if(2===t&&(0!==(o=ht(e))&&(r=o,t=ic(e,o))),1===t)throw n=Nl,pc(e,0),sc(e,r),rc(e,Ze()),n;if(6===t)sc(e,r);else{if(o=e.current.alternate,!(30&r||function(e){for(var t=e;;){if(16384&t.flags){var n=t.updateQueue;if(null!==n&&null!==(n=n.stores))for(var r=0;r<n.length;r++){var o=n[r],i=o.getSnapshot;o=o.value;try{if(!sr(i(),o))return!1}catch(e){return!1}}}if(n=t.child,16384&t.subtreeFlags&&null!==n)n.return=t,t=n;else{if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}(o)||(t=gc(e,r),2===t&&(a=ht(e),0!==a&&(r=a,t=ic(e,a))),1!==t)))throw n=Nl,pc(e,0),sc(e,r),rc(e,Ze()),n;switch(e.finishedWork=o,e.finishedLanes=r,t){case 0:case 1:throw Error(i(345));case 2:case 5:wc(e,Fl,Vl);break;case 3:if(sc(e,r),(130023424&r)===r&&10<(t=Bl+500-Ze())){if(0!==pt(e,0))break;if(((o=e.suspendedLanes)&r)!==r){ec(),e.pingedLanes|=e.suspendedLanes&o;break}e.timeoutHandle=ro(wc.bind(null,e,Fl,Vl),t);break}wc(e,Fl,Vl);break;case 4:if(sc(e,r),(4194240&r)===r)break;for(t=e.eventTimes,o=-1;0<r;){var s=31-at(r);a=1<<s,(s=t[s])>o&&(o=s),r&=~a}if(r=o,10<(r=(120>(r=Ze()-r)?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*Sl(r/1960))-r)){e.timeoutHandle=ro(wc.bind(null,e,Fl,Vl),r);break}wc(e,Fl,Vl);break;default:throw Error(i(329))}}}return rc(e,Ze()),e.callbackNode===n?oc.bind(null,e):null}function ic(e,t){var n=zl;return e.current.memoizedState.isDehydrated&&(pc(e,t).flags|=256),2!==(e=gc(e,t))&&(t=Fl,Fl=n,null!==t&&ac(t)),e}function ac(e){null===Fl?Fl=e:Fl.push.apply(Fl,e)}function sc(e,t){for(t&=~$l,t&=~jl,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-at(t),r=1<<n;e[n]=-1,t&=~r}}function lc(e){if(6&Ml)throw Error(i(327));Ac();var t=pt(e,0);if(!(1&t))return rc(e,Ze()),null;var n=gc(e,t);if(0!==e.tag&&2===n){var r=ht(e);0!==r&&(t=r,n=ic(e,r))}if(1===n)throw n=Nl,pc(e,0),sc(e,t),rc(e,Ze()),n;if(6===n)throw Error(i(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,wc(e,Fl,Vl),rc(e,Ze()),null}function cc(e,t){var n=Ml;Ml|=1;try{return e(t)}finally{0===(Ml=n)&&(Hl=Ze()+500,Fo&&Vo())}}function uc(e){null!==Yl&&0===Yl.tag&&!(6&Ml)&&Ac();var t=Ml;Ml|=1;var n=Tl.transition,r=bt;try{if(Tl.transition=null,bt=1,e)return e()}finally{bt=r,Tl.transition=n,!(6&(Ml=t))&&Vo()}}function dc(){Dl=Rl.current,Co(Rl)}function pc(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,oo(n)),null!==Ol)for(n=Ol.return;null!==n;){var r=n;switch(ni(r),r.tag){case 1:null!=(r=r.type.childContextTypes)&&Io();break;case 3:Zi(),Co(Oo),Co(Po),ra();break;case 5:Qi(r);break;case 4:Zi();break;case 13:case 19:Co(ea);break;case 10:Mi(r.type._context);break;case 22:case 23:dc()}n=n.return}if(Pl=e,Ol=e=Rc(e.current,null),El=Dl=t,Il=0,Nl=null,$l=jl=Ll=0,Fl=zl=null,null!==Di){for(t=0;t<Di.length;t++)if(null!==(r=(n=Di[t]).interleaved)){n.interleaved=null;var o=r.next,i=n.pending;if(null!==i){var a=i.next;i.next=o,r.next=a}n.pending=r}Di=null}return e}function fc(e,t){for(;;){var n=Ol;try{if(Ti(),oa.current=Ja,ua){for(var r=sa.memoizedState;null!==r;){var o=r.queue;null!==o&&(o.pending=null),r=r.next}ua=!1}if(aa=0,ca=la=sa=null,da=!1,pa=0,Cl.current=null,null===n||null===n.return){Il=1,Nl=t,Ol=null;break}e:{var a=e,s=n.return,l=n,c=t;if(t=El,l.flags|=32768,null!==c&&"object"==typeof c&&"function"==typeof c.then){var u=c,d=l,p=d.tag;if(!(1&d.mode||0!==p&&11!==p&&15!==p)){var f=d.alternate;f?(d.updateQueue=f.updateQueue,d.memoizedState=f.memoizedState,d.lanes=f.lanes):(d.updateQueue=null,d.memoizedState=null)}var h=gs(s);if(null!==h){h.flags&=-257,vs(h,s,l,0,t),1&h.mode&&ms(a,u,t),c=u;var m=(t=h).updateQueue;if(null===m){var g=new Set;g.add(c),t.updateQueue=g}else m.add(c);break e}if(!(1&t)){ms(a,u,t),mc();break e}c=Error(i(426))}else if(ii&&1&l.mode){var v=gs(s);if(null!==v){!(65536&v.flags)&&(v.flags|=256),vs(v,s,l,0,t),mi(cs(c,l));break e}}a=c=cs(c,l),4!==Il&&(Il=2),null===zl?zl=[a]:zl.push(a),a=s;do{switch(a.tag){case 3:a.flags|=65536,t&=-t,a.lanes|=t,Hi(a,fs(0,c,t));break e;case 1:l=c;var y=a.type,b=a.stateNode;if(!(128&a.flags||"function"!=typeof y.getDerivedStateFromError&&(null===b||"function"!=typeof b.componentDidCatch||null!==ql&&ql.has(b)))){a.flags|=65536,t&=-t,a.lanes|=t,Hi(a,hs(a,l,t));break e}}a=a.return}while(null!==a)}xc(n)}catch(e){t=e,Ol===n&&null!==n&&(Ol=n=n.return);continue}break}}function hc(){var e=kl.current;return kl.current=Ja,null===e?Ja:e}function mc(){0!==Il&&3!==Il&&2!==Il||(Il=4),null===Pl||!(268435455&Ll)&&!(268435455&jl)||sc(Pl,El)}function gc(e,t){var n=Ml;Ml|=2;var r=hc();for(Pl===e&&El===t||(Vl=null,pc(e,t));;)try{vc();break}catch(t){fc(e,t)}if(Ti(),Ml=n,kl.current=r,null!==Ol)throw Error(i(261));return Pl=null,El=0,Il}function vc(){for(;null!==Ol;)bc(Ol)}function yc(){for(;null!==Ol&&!Xe();)bc(Ol)}function bc(e){var t=_l(e.alternate,e,Dl);e.memoizedProps=e.pendingProps,null===t?xc(e):Ol=t,Cl.current=null}function xc(e){var t=e;do{var n=t.alternate;if(e=t.return,32768&t.flags){if(null!==(n=Ys(n,t)))return n.flags&=32767,void(Ol=n);if(null===e)return Il=6,void(Ol=null);e.flags|=32768,e.subtreeFlags=0,e.deletions=null}else if(null!==(n=Gs(n,t,Dl)))return void(Ol=n);if(null!==(t=t.sibling))return void(Ol=t);Ol=t=e}while(null!==t);0===Il&&(Il=5)}function wc(e,t,n){var r=bt,o=Tl.transition;try{Tl.transition=null,bt=1,function(e,t,n,r){do{Ac()}while(null!==Yl);if(6&Ml)throw Error(i(327));n=e.finishedWork;var o=e.finishedLanes;if(null===n)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(i(177));e.callbackNode=null,e.callbackPriority=0;var a=n.lanes|n.childLanes;if(function(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0<n;){var o=31-at(n),i=1<<o;t[o]=0,r[o]=-1,e[o]=-1,n&=~i}}(e,a),e===Pl&&(Ol=Pl=null,El=0),!(2064&n.subtreeFlags)&&!(2064&n.flags)||Gl||(Gl=!0,Pc(tt,(function(){return Ac(),null}))),a=!!(15990&n.flags),!!(15990&n.subtreeFlags)||a){a=Tl.transition,Tl.transition=null;var s=bt;bt=1;var l=Ml;Ml|=4,Cl.current=null,function(e,t){if(eo=Wt,fr(e=pr())){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{var r=(n=(n=e.ownerDocument)&&n.defaultView||window).getSelection&&n.getSelection();if(r&&0!==r.rangeCount){n=r.anchorNode;var o=r.anchorOffset,a=r.focusNode;r=r.focusOffset;try{n.nodeType,a.nodeType}catch(e){n=null;break e}var s=0,l=-1,c=-1,u=0,d=0,p=e,f=null;t:for(;;){for(var h;p!==n||0!==o&&3!==p.nodeType||(l=s+o),p!==a||0!==r&&3!==p.nodeType||(c=s+r),3===p.nodeType&&(s+=p.nodeValue.length),null!==(h=p.firstChild);)f=p,p=h;for(;;){if(p===e)break t;if(f===n&&++u===o&&(l=s),f===a&&++d===r&&(c=s),null!==(h=p.nextSibling))break;f=(p=f).parentNode}p=h}n=-1===l||-1===c?null:{start:l,end:c}}else n=null}n=n||{start:0,end:0}}else n=null;for(to={focusedElem:e,selectionRange:n},Wt=!1,Js=t;null!==Js;)if(e=(t=Js).child,1028&t.subtreeFlags&&null!==e)e.return=t,Js=e;else for(;null!==Js;){t=Js;try{var m=t.alternate;if(1024&t.flags)switch(t.tag){case 0:case 11:case 15:case 5:case 6:case 4:case 17:break;case 1:if(null!==m){var g=m.memoizedProps,v=m.memoizedState,y=t.stateNode,b=y.getSnapshotBeforeUpdate(t.elementType===t.type?g:ns(t.type,g),v);y.__reactInternalSnapshotBeforeUpdate=b}break;case 3:var x=t.stateNode.containerInfo;1===x.nodeType?x.textContent="":9===x.nodeType&&x.documentElement&&x.removeChild(x.documentElement);break;default:throw Error(i(163))}}catch(e){Sc(t,t.return,e)}if(null!==(e=t.sibling)){e.return=t.return,Js=e;break}Js=t.return}m=tl,tl=!1}(e,n),gl(n,e),hr(to),Wt=!!eo,to=eo=null,e.current=n,yl(n,e,o),Ke(),Ml=l,bt=s,Tl.transition=a}else e.current=n;if(Gl&&(Gl=!1,Yl=e,Xl=o),a=e.pendingLanes,0===a&&(ql=null),function(e){if(it&&"function"==typeof it.onCommitFiberRoot)try{it.onCommitFiberRoot(ot,e,void 0,!(128&~e.current.flags))}catch(e){}}(n.stateNode),rc(e,Ze()),null!==t)for(r=e.onRecoverableError,n=0;n<t.length;n++)o=t[n],r(o.value,{componentStack:o.stack,digest:o.digest});if(Wl)throw Wl=!1,e=Ul,Ul=null,e;!!(1&Xl)&&0!==e.tag&&Ac(),a=e.pendingLanes,1&a?e===Zl?Kl++:(Kl=0,Zl=e):Kl=0,Vo()}(e,t,n,r)}finally{Tl.transition=o,bt=r}return null}function Ac(){if(null!==Yl){var e=xt(Xl),t=Tl.transition,n=bt;try{if(Tl.transition=null,bt=16>e?16:e,null===Yl)var r=!1;else{if(e=Yl,Yl=null,Xl=0,6&Ml)throw Error(i(331));var o=Ml;for(Ml|=4,Js=e.current;null!==Js;){var a=Js,s=a.child;if(16&Js.flags){var l=a.deletions;if(null!==l){for(var c=0;c<l.length;c++){var u=l[c];for(Js=u;null!==Js;){var d=Js;switch(d.tag){case 0:case 11:case 15:nl(8,d,a)}var p=d.child;if(null!==p)p.return=d,Js=p;else for(;null!==Js;){var f=(d=Js).sibling,h=d.return;if(il(d),d===u){Js=null;break}if(null!==f){f.return=h,Js=f;break}Js=h}}}var m=a.alternate;if(null!==m){var g=m.child;if(null!==g){m.child=null;do{var v=g.sibling;g.sibling=null,g=v}while(null!==g)}}Js=a}}if(2064&a.subtreeFlags&&null!==s)s.return=a,Js=s;else e:for(;null!==Js;){if(2048&(a=Js).flags)switch(a.tag){case 0:case 11:case 15:nl(9,a,a.return)}var y=a.sibling;if(null!==y){y.return=a.return,Js=y;break e}Js=a.return}}var b=e.current;for(Js=b;null!==Js;){var x=(s=Js).child;if(2064&s.subtreeFlags&&null!==x)x.return=s,Js=x;else e:for(s=b;null!==Js;){if(2048&(l=Js).flags)try{switch(l.tag){case 0:case 11:case 15:rl(9,l)}}catch(e){Sc(l,l.return,e)}if(l===s){Js=null;break e}var w=l.sibling;if(null!==w){w.return=l.return,Js=w;break e}Js=l.return}}if(Ml=o,Vo(),it&&"function"==typeof it.onPostCommitFiberRoot)try{it.onPostCommitFiberRoot(ot,e)}catch(e){}r=!0}return r}finally{bt=n,Tl.transition=t}}return!1}function _c(e,t,n){e=Fi(e,t=fs(0,t=cs(n,t),1),1),t=ec(),null!==e&&(vt(e,1,t),rc(e,t))}function Sc(e,t,n){if(3===e.tag)_c(e,e,n);else for(;null!==t;){if(3===t.tag){_c(t,e,n);break}if(1===t.tag){var r=t.stateNode;if("function"==typeof t.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===ql||!ql.has(r))){t=Fi(t,e=hs(t,e=cs(n,e),1),1),e=ec(),null!==t&&(vt(t,1,e),rc(t,e));break}}t=t.return}}function kc(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),t=ec(),e.pingedLanes|=e.suspendedLanes&n,Pl===e&&(El&n)===n&&(4===Il||3===Il&&(130023424&El)===El&&500>Ze()-Bl?pc(e,0):$l|=n),rc(e,t)}function Cc(e,t){0===t&&(1&e.mode?(t=ut,!(130023424&(ut<<=1))&&(ut=4194304)):t=1);var n=ec();null!==(e=Ni(e,t))&&(vt(e,t,n),rc(e,n))}function Tc(e){var t=e.memoizedState,n=0;null!==t&&(n=t.retryLane),Cc(e,n)}function Mc(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,o=e.memoizedState;null!==o&&(n=o.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(i(314))}null!==r&&r.delete(t),Cc(e,n)}function Pc(e,t){return Ge(e,t)}function Oc(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Ec(e,t,n,r){return new Oc(e,t,n,r)}function Dc(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Rc(e,t){var n=e.alternate;return null===n?((n=Ec(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=14680064&e.flags,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Ic(e,t,n,r,o,a){var s=2;if(r=e,"function"==typeof e)Dc(e)&&(s=1);else if("string"==typeof e)s=5;else e:switch(e){case _:return Nc(n.children,o,a,t);case S:s=8,o|=8;break;case k:return(e=Ec(12,n,t,2|o)).elementType=k,e.lanes=a,e;case P:return(e=Ec(13,n,t,o)).elementType=P,e.lanes=a,e;case O:return(e=Ec(19,n,t,o)).elementType=O,e.lanes=a,e;case R:return Lc(n,o,a,t);default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case C:s=10;break e;case T:s=9;break e;case M:s=11;break e;case E:s=14;break e;case D:s=16,r=null;break e}throw Error(i(130,null==e?e:typeof e,""))}return(t=Ec(s,n,t,o)).elementType=e,t.type=r,t.lanes=a,t}function Nc(e,t,n,r){return(e=Ec(7,e,r,t)).lanes=n,e}function Lc(e,t,n,r){return(e=Ec(22,e,r,t)).elementType=R,e.lanes=n,e.stateNode={isHidden:!1},e}function jc(e,t,n){return(e=Ec(6,e,null,t)).lanes=n,e}function $c(e,t,n){return(t=Ec(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function zc(e,t,n,r,o){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=gt(0),this.expirationTimes=gt(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=gt(0),this.identifierPrefix=r,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function Fc(e,t,n,r,o,i,a,s,l){return e=new zc(e,t,n,s,l),1===t?(t=1,!0===i&&(t|=8)):t=0,i=Ec(3,null,null,t),e.current=i,i.stateNode=e,i.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},ji(i),e}function Bc(e){if(!e)return Mo;e:{if(He(e=e._reactInternals)!==e||1!==e.tag)throw Error(i(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(Ro(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(null!==t);throw Error(i(171))}if(1===e.tag){var n=e.type;if(Ro(n))return Lo(e,n,t)}return t}function Hc(e,t,n,r,o,i,a,s,l){return(e=Fc(n,r,!0,e,0,i,0,s,l)).context=Bc(null),n=e.current,(i=zi(r=ec(),o=tc(n))).callback=null!=t?t:null,Fi(n,i,o),e.current.lanes=o,vt(e,o,r),rc(e,r),e}function Vc(e,t,n,r){var o=t.current,i=ec(),a=tc(o);return n=Bc(n),null===t.context?t.context=n:t.pendingContext=n,(t=zi(i,a)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),null!==(e=Fi(o,t,a))&&(nc(e,o,a,i),Bi(e,o,a)),a}function Wc(e){return(e=e.current).child?(e.child.tag,e.child.stateNode):null}function Uc(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n<t?n:t}}function qc(e,t){Uc(e,t),(e=e.alternate)&&Uc(e,t)}_l=function(e,t,n){if(null!==e)if(e.memoizedProps!==t.pendingProps||Oo.current)bs=!0;else{if(!(e.lanes&n||128&t.flags))return bs=!1,function(e,t,n){switch(t.tag){case 3:Ps(t),hi();break;case 5:Ji(t);break;case 1:Ro(t.type)&&jo(t);break;case 4:Ki(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,o=t.memoizedProps.value;To(_i,r._currentValue),r._currentValue=o;break;case 13:if(null!==(r=t.memoizedState))return null!==r.dehydrated?(To(ea,1&ea.current),t.flags|=128,null):n&t.child.childLanes?js(e,t,n):(To(ea,1&ea.current),null!==(e=Ws(e,t,n))?e.sibling:null);To(ea,1&ea.current);break;case 19:if(r=!!(n&t.childLanes),128&e.flags){if(r)return Hs(e,t,n);t.flags|=128}if(null!==(o=t.memoizedState)&&(o.rendering=null,o.tail=null,o.lastEffect=null),To(ea,ea.current),r)break;return null;case 22:case 23:return t.lanes=0,Ss(e,t,n)}return Ws(e,t,n)}(e,t,n);bs=!!(131072&e.flags)}else bs=!1,ii&&1048576&t.flags&&ei(t,Go,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Vs(e,t),e=t.pendingProps;var o=Do(t,Po.current);Oi(t,n),o=ga(null,t,r,e,o,n);var a=va();return t.flags|=1,"object"==typeof o&&null!==o&&"function"==typeof o.render&&void 0===o.$$typeof?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Ro(r)?(a=!0,jo(t)):a=!1,t.memoizedState=null!==o.state&&void 0!==o.state?o.state:null,ji(t),o.updater=os,t.stateNode=o,o._reactInternals=t,ls(t,r,e,n),t=Ms(null,t,r,!0,a,n)):(t.tag=0,ii&&a&&ti(t),xs(null,t,o,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Vs(e,t),e=t.pendingProps,r=(o=r._init)(r._payload),t.type=r,o=t.tag=function(e){if("function"==typeof e)return Dc(e)?1:0;if(null!=e){if((e=e.$$typeof)===M)return 11;if(e===E)return 14}return 2}(r),e=ns(r,e),o){case 0:t=Cs(null,t,r,e,n);break e;case 1:t=Ts(null,t,r,e,n);break e;case 11:t=ws(null,t,r,e,n);break e;case 14:t=As(null,t,r,ns(r.type,e),n);break e}throw Error(i(306,r,""))}return t;case 0:return r=t.type,o=t.pendingProps,Cs(e,t,r,o=t.elementType===r?o:ns(r,o),n);case 1:return r=t.type,o=t.pendingProps,Ts(e,t,r,o=t.elementType===r?o:ns(r,o),n);case 3:e:{if(Ps(t),null===e)throw Error(i(387));r=t.pendingProps,o=(a=t.memoizedState).element,$i(e,t),Vi(t,r,null,n);var s=t.memoizedState;if(r=s.element,a.isDehydrated){if(a={element:r,isDehydrated:!1,cache:s.cache,pendingSuspenseBoundaries:s.pendingSuspenseBoundaries,transitions:s.transitions},t.updateQueue.baseState=a,t.memoizedState=a,256&t.flags){t=Os(e,t,r,n,o=cs(Error(i(423)),t));break e}if(r!==o){t=Os(e,t,r,n,o=cs(Error(i(424)),t));break e}for(oi=co(t.stateNode.containerInfo.firstChild),ri=t,ii=!0,ai=null,n=Ai(t,null,r,n),t.child=n;n;)n.flags=-3&n.flags|4096,n=n.sibling}else{if(hi(),r===o){t=Ws(e,t,n);break e}xs(e,t,r,n)}t=t.child}return t;case 5:return Ji(t),null===e&&ui(t),r=t.type,o=t.pendingProps,a=null!==e?e.memoizedProps:null,s=o.children,no(r,o)?s=null:null!==a&&no(r,a)&&(t.flags|=32),ks(e,t),xs(e,t,s,n),t.child;case 6:return null===e&&ui(t),null;case 13:return js(e,t,n);case 4:return Ki(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=wi(t,null,r,n):xs(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,ws(e,t,r,o=t.elementType===r?o:ns(r,o),n);case 7:return xs(e,t,t.pendingProps,n),t.child;case 8:case 12:return xs(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,o=t.pendingProps,a=t.memoizedProps,s=o.value,To(_i,r._currentValue),r._currentValue=s,null!==a)if(sr(a.value,s)){if(a.children===o.children&&!Oo.current){t=Ws(e,t,n);break e}}else for(null!==(a=t.child)&&(a.return=t);null!==a;){var l=a.dependencies;if(null!==l){s=a.child;for(var c=l.firstContext;null!==c;){if(c.context===r){if(1===a.tag){(c=zi(-1,n&-n)).tag=2;var u=a.updateQueue;if(null!==u){var d=(u=u.shared).pending;null===d?c.next=c:(c.next=d.next,d.next=c),u.pending=c}}a.lanes|=n,null!==(c=a.alternate)&&(c.lanes|=n),Pi(a.return,n,t),l.lanes|=n;break}c=c.next}}else if(10===a.tag)s=a.type===t.type?null:a.child;else if(18===a.tag){if(null===(s=a.return))throw Error(i(341));s.lanes|=n,null!==(l=s.alternate)&&(l.lanes|=n),Pi(s,n,t),s=a.sibling}else s=a.child;if(null!==s)s.return=a;else for(s=a;null!==s;){if(s===t){s=null;break}if(null!==(a=s.sibling)){a.return=s.return,s=a;break}s=s.return}a=s}xs(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=t.pendingProps.children,Oi(t,n),r=r(o=Ei(o)),t.flags|=1,xs(e,t,r,n),t.child;case 14:return o=ns(r=t.type,t.pendingProps),As(e,t,r,o=ns(r.type,o),n);case 15:return _s(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:ns(r,o),Vs(e,t),t.tag=1,Ro(r)?(e=!0,jo(t)):e=!1,Oi(t,n),as(t,r,o),ls(t,r,o,n),Ms(null,t,r,!0,e,n);case 19:return Hs(e,t,n);case 22:return Ss(e,t,n)}throw Error(i(156,t.tag))};var Gc="function"==typeof reportError?reportError:function(e){console.error(e)};function Yc(e){this._internalRoot=e}function Xc(e){this._internalRoot=e}function Kc(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType)}function Zc(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function Jc(){}function Qc(e,t,n,r,o){var i=n._reactRootContainer;if(i){var a=i;if("function"==typeof o){var s=o;o=function(){var e=Wc(a);s.call(e)}}Vc(t,a,e,o)}else a=function(e,t,n,r,o){if(o){if("function"==typeof r){var i=r;r=function(){var e=Wc(a);i.call(e)}}var a=Hc(t,r,e,0,null,!1,0,"",Jc);return e._reactRootContainer=a,e[mo]=a.current,Hr(8===e.nodeType?e.parentNode:e),uc(),a}for(;o=e.lastChild;)e.removeChild(o);if("function"==typeof r){var s=r;r=function(){var e=Wc(l);s.call(e)}}var l=Fc(e,0,!1,null,0,!1,0,"",Jc);return e._reactRootContainer=l,e[mo]=l.current,Hr(8===e.nodeType?e.parentNode:e),uc((function(){Vc(t,l,n,r)})),l}(n,t,e,o,r);return Wc(a)}Xc.prototype.render=Yc.prototype.render=function(e){var t=this._internalRoot;if(null===t)throw Error(i(409));Vc(e,t,null,null)},Xc.prototype.unmount=Yc.prototype.unmount=function(){var e=this._internalRoot;if(null!==e){this._internalRoot=null;var t=e.containerInfo;uc((function(){Vc(null,e,null,null)})),t[mo]=null}},Xc.prototype.unstable_scheduleHydration=function(e){if(e){var t=St();e={blockedOn:null,target:e,priority:t};for(var n=0;n<Rt.length&&0!==t&&t<Rt[n].priority;n++);Rt.splice(n,0,e),0===n&&jt(e)}},wt=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=dt(t.pendingLanes);0!==n&&(yt(t,1|n),rc(t,Ze()),!(6&Ml)&&(Hl=Ze()+500,Vo()))}break;case 13:uc((function(){var t=Ni(e,1);if(null!==t){var n=ec();nc(t,e,1,n)}})),qc(e,1)}},At=function(e){if(13===e.tag){var t=Ni(e,134217728);if(null!==t)nc(t,e,134217728,ec());qc(e,134217728)}},_t=function(e){if(13===e.tag){var t=tc(e),n=Ni(e,t);if(null!==n)nc(n,e,t,ec());qc(e,t)}},St=function(){return bt},kt=function(e,t){var n=bt;try{return bt=e,t()}finally{bt=n}},Ae=function(e,t,n){switch(t){case"input":if(J(e,n),t=n.name,"radio"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var o=Ao(r);if(!o)throw Error(i(90));G(r),J(r,o)}}}break;case"textarea":ie(e,n);break;case"select":null!=(t=n.value)&&ne(e,!!n.multiple,t,!1)}},Me=cc,Pe=uc;var eu={usingClientEntryPoint:!1,Events:[xo,wo,Ao,Ce,Te,cc]},tu={findFiberByHostInstance:bo,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},nu={bundleType:tu.bundleType,version:tu.version,rendererPackageName:tu.rendererPackageName,rendererConfig:tu.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:x.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=Ue(e))?null:e.stateNode},findFiberByHostInstance:tu.findFiberByHostInstance||function(){return null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var ru=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!ru.isDisabled&&ru.supportsFiber)try{ot=ru.inject(nu),it=ru}catch(ue){}}t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=eu,t.createPortal=function(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!Kc(t))throw Error(i(200));return function(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:A,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}(e,t,null,n)},t.createRoot=function(e,t){if(!Kc(e))throw Error(i(299));var n=!1,r="",o=Gc;return null!=t&&(!0===t.unstable_strictMode&&(n=!0),void 0!==t.identifierPrefix&&(r=t.identifierPrefix),void 0!==t.onRecoverableError&&(o=t.onRecoverableError)),t=Fc(e,1,!1,null,0,n,0,r,o),e[mo]=t.current,Hr(8===e.nodeType?e.parentNode:e),new Yc(t)},t.findDOMNode=function(e){if(null==e)return null;if(1===e.nodeType)return e;var t=e._reactInternals;if(void 0===t){if("function"==typeof e.render)throw Error(i(188));throw e=Object.keys(e).join(","),Error(i(268,e))}return e=null===(e=Ue(t))?null:e.stateNode},t.flushSync=function(e){return uc(e)},t.hydrate=function(e,t,n){if(!Zc(t))throw Error(i(200));return Qc(null,e,t,!0,n)},t.hydrateRoot=function(e,t,n){if(!Kc(e))throw Error(i(405));var r=null!=n&&n.hydratedSources||null,o=!1,a="",s=Gc;if(null!=n&&(!0===n.unstable_strictMode&&(o=!0),void 0!==n.identifierPrefix&&(a=n.identifierPrefix),void 0!==n.onRecoverableError&&(s=n.onRecoverableError)),t=Hc(t,null,e,1,null!=n?n:null,o,0,a,s),e[mo]=t.current,Hr(e),r)for(e=0;e<r.length;e++)o=(o=(n=r[e])._getVersion)(n._source),null==t.mutableSourceEagerHydrationData?t.mutableSourceEagerHydrationData=[n,o]:t.mutableSourceEagerHydrationData.push(n,o);return new Xc(t)},t.render=function(e,t,n){if(!Zc(t))throw Error(i(200));return Qc(null,e,t,!1,n)},t.unmountComponentAtNode=function(e){if(!Zc(e))throw Error(i(40));return!!e._reactRootContainer&&(uc((function(){Qc(null,null,e,!1,(function(){e._reactRootContainer=null,e[mo]=null}))})),!0)},t.unstable_batchedUpdates=cc,t.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!Zc(n))throw Error(i(200));if(null==e||void 0===e._reactInternals)throw Error(i(38));return Qc(e,t,n,!1,r)},t.version="18.3.1-next-f1338f8080-20240426"},5338:function(e,t,n){"use strict";var r=n(40961);t.createRoot=r.createRoot,t.hydrateRoot=r.hydrateRoot},40961:function(e,t,n){"use strict";!function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}(),e.exports=n(22551)},98731:function(e,t){"use strict";function n(e,t){var n=e.length;e.push(t);e:for(;0<n;){var r=n-1>>>1,o=e[r];if(!(0<i(o,t)))break e;e[r]=t,e[n]=o,n=r}}function r(e){return 0===e.length?null:e[0]}function o(e){if(0===e.length)return null;var t=e[0],n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,o=e.length,a=o>>>1;r<a;){var s=2*(r+1)-1,l=e[s],c=s+1,u=e[c];if(0>i(l,n))c<o&&0>i(u,l)?(e[r]=u,e[c]=n,r=c):(e[r]=l,e[s]=n,r=s);else{if(!(c<o&&0>i(u,n)))break e;e[r]=u,e[c]=n,r=c}}}return t}function i(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}if("object"==typeof performance&&"function"==typeof performance.now){var a=performance;t.unstable_now=function(){return a.now()}}else{var s=Date,l=s.now();t.unstable_now=function(){return s.now()-l}}var c=[],u=[],d=1,p=null,f=3,h=!1,m=!1,g=!1,v="function"==typeof setTimeout?setTimeout:null,y="function"==typeof clearTimeout?clearTimeout:null,b="undefined"!=typeof setImmediate?setImmediate:null;function x(e){for(var t=r(u);null!==t;){if(null===t.callback)o(u);else{if(!(t.startTime<=e))break;o(u),t.sortIndex=t.expirationTime,n(c,t)}t=r(u)}}function w(e){if(g=!1,x(e),!m)if(null!==r(c))m=!0,R(A);else{var t=r(u);null!==t&&I(w,t.startTime-e)}}function A(e,n){m=!1,g&&(g=!1,y(C),C=-1),h=!0;var i=f;try{for(x(n),p=r(c);null!==p&&(!(p.expirationTime>n)||e&&!P());){var a=p.callback;if("function"==typeof a){p.callback=null,f=p.priorityLevel;var s=a(p.expirationTime<=n);n=t.unstable_now(),"function"==typeof s?p.callback=s:p===r(c)&&o(c),x(n)}else o(c);p=r(c)}if(null!==p)var l=!0;else{var d=r(u);null!==d&&I(w,d.startTime-n),l=!1}return l}finally{p=null,f=i,h=!1}}"undefined"!=typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var _,S=!1,k=null,C=-1,T=5,M=-1;function P(){return!(t.unstable_now()-M<T)}function O(){if(null!==k){var e=t.unstable_now();M=e;var n=!0;try{n=k(!0,e)}finally{n?_():(S=!1,k=null)}}else S=!1}if("function"==typeof b)_=function(){b(O)};else if("undefined"!=typeof MessageChannel){var E=new MessageChannel,D=E.port2;E.port1.onmessage=O,_=function(){D.postMessage(null)}}else _=function(){v(O,0)};function R(e){k=e,S||(S=!0,_())}function I(e,n){C=v((function(){e(t.unstable_now())}),n)}t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_continueExecution=function(){m||h||(m=!0,R(A))},t.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):T=0<e?Math.floor(1e3/e):5},t.unstable_getCurrentPriorityLevel=function(){return f},t.unstable_getFirstCallbackNode=function(){return r(c)},t.unstable_next=function(e){switch(f){case 1:case 2:case 3:var t=3;break;default:t=f}var n=f;f=t;try{return e()}finally{f=n}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=function(){},t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=f;f=e;try{return t()}finally{f=n}},t.unstable_scheduleCallback=function(e,o,i){var a=t.unstable_now();switch("object"==typeof i&&null!==i?i="number"==typeof(i=i.delay)&&0<i?a+i:a:i=a,e){case 1:var s=-1;break;case 2:s=250;break;case 5:s=1073741823;break;case 4:s=1e4;break;default:s=5e3}return e={id:d++,callback:o,priorityLevel:e,startTime:i,expirationTime:s=i+s,sortIndex:-1},i>a?(e.sortIndex=i,n(u,e),null===r(c)&&e===r(u)&&(g?(y(C),C=-1):g=!0,I(w,i-a))):(e.sortIndex=s,n(c,e),m||h||(m=!0,R(A))),e},t.unstable_shouldYield=P,t.unstable_wrapCallback=function(e){var t=f;return function(){var n=f;f=t;try{return e.apply(this,arguments)}finally{f=n}}}},20194:function(e,t,n){"use strict";e.exports=n(98731)},86027:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"DraggableCore",{enumerable:!0,get:function(){return u.default}}),t.default=void 0;var r=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=f(t);if(n&&n.has(e))return n.get(e);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=o?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}r.default=e,n&&n.set(e,r);return r}(n(96540)),o=p(n(5556)),i=p(n(40961)),a=p(n(81322)),s=n(71089),l=n(81726),c=n(77056),u=p(n(6888)),d=p(n(18696));function p(e){return e&&e.__esModule?e:{default:e}}function f(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(f=function(e){return e?n:t})(e)}function h(){return h=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},h.apply(this,arguments)}function m(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}class g extends r.Component{static getDerivedStateFromProps(e,t){let{position:n}=e,{prevPropsPosition:r}=t;return!n||r&&n.x===r.x&&n.y===r.y?null:((0,d.default)("Draggable: getDerivedStateFromProps %j",{position:n,prevPropsPosition:r}),{x:n.x,y:n.y,prevPropsPosition:{...n}})}constructor(e){super(e),m(this,"onDragStart",((e,t)=>{(0,d.default)("Draggable: onDragStart: %j",t);if(!1===this.props.onStart(e,(0,l.createDraggableData)(this,t)))return!1;this.setState({dragging:!0,dragged:!0})})),m(this,"onDrag",((e,t)=>{if(!this.state.dragging)return!1;(0,d.default)("Draggable: onDrag: %j",t);const n=(0,l.createDraggableData)(this,t),r={x:n.x,y:n.y,slackX:0,slackY:0};if(this.props.bounds){const{x:e,y:t}=r;r.x+=this.state.slackX,r.y+=this.state.slackY;const[o,i]=(0,l.getBoundPosition)(this,r.x,r.y);r.x=o,r.y=i,r.slackX=this.state.slackX+(e-r.x),r.slackY=this.state.slackY+(t-r.y),n.x=r.x,n.y=r.y,n.deltaX=r.x-this.state.x,n.deltaY=r.y-this.state.y}if(!1===this.props.onDrag(e,n))return!1;this.setState(r)})),m(this,"onDragStop",((e,t)=>{if(!this.state.dragging)return!1;if(!1===this.props.onStop(e,(0,l.createDraggableData)(this,t)))return!1;(0,d.default)("Draggable: onDragStop: %j",t);const n={dragging:!1,slackX:0,slackY:0};if(Boolean(this.props.position)){const{x:e,y:t}=this.props.position;n.x=e,n.y=t}this.setState(n)})),this.state={dragging:!1,dragged:!1,x:e.position?e.position.x:e.defaultPosition.x,y:e.position?e.position.y:e.defaultPosition.y,prevPropsPosition:{...e.position},slackX:0,slackY:0,isElementSVG:!1},!e.position||e.onDrag||e.onStop||console.warn("A `position` was applied to this <Draggable>, without drag handlers. This will make this component effectively undraggable. Please attach `onDrag` or `onStop` handlers so you can adjust the `position` of this element.")}componentDidMount(){void 0!==window.SVGElement&&this.findDOMNode()instanceof window.SVGElement&&this.setState({isElementSVG:!0})}componentWillUnmount(){this.setState({dragging:!1})}findDOMNode(){var e,t;return null!==(e=null===(t=this.props)||void 0===t||null===(t=t.nodeRef)||void 0===t?void 0:t.current)&&void 0!==e?e:i.default.findDOMNode(this)}render(){const{axis:e,bounds:t,children:n,defaultPosition:o,defaultClassName:i,defaultClassNameDragging:c,defaultClassNameDragged:d,position:p,positionOffset:f,scale:m,...g}=this.props;let v={},y=null;const b=!Boolean(p)||this.state.dragging,x=p||o,w={x:(0,l.canDragX)(this)&&b?this.state.x:x.x,y:(0,l.canDragY)(this)&&b?this.state.y:x.y};this.state.isElementSVG?y=(0,s.createSVGTransform)(w,f):v=(0,s.createCSSTransform)(w,f);const A=(0,a.default)(n.props.className||"",i,{[c]:this.state.dragging,[d]:this.state.dragged});return r.createElement(u.default,h({},g,{onStart:this.onDragStart,onDrag:this.onDrag,onStop:this.onDragStop}),r.cloneElement(r.Children.only(n),{className:A,style:{...n.props.style,...v},transform:y}))}}t.default=g,m(g,"displayName","Draggable"),m(g,"propTypes",{...u.default.propTypes,axis:o.default.oneOf(["both","x","y","none"]),bounds:o.default.oneOfType([o.default.shape({left:o.default.number,right:o.default.number,top:o.default.number,bottom:o.default.number}),o.default.string,o.default.oneOf([!1])]),defaultClassName:o.default.string,defaultClassNameDragging:o.default.string,defaultClassNameDragged:o.default.string,defaultPosition:o.default.shape({x:o.default.number,y:o.default.number}),positionOffset:o.default.shape({x:o.default.oneOfType([o.default.number,o.default.string]),y:o.default.oneOfType([o.default.number,o.default.string])}),position:o.default.shape({x:o.default.number,y:o.default.number}),className:c.dontSetMe,style:c.dontSetMe,transform:c.dontSetMe}),m(g,"defaultProps",{...u.default.defaultProps,axis:"both",bounds:!1,defaultClassName:"react-draggable",defaultClassNameDragging:"react-draggable-dragging",defaultClassNameDragged:"react-draggable-dragged",defaultPosition:{x:0,y:0},scale:1})},6888:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=d(t);if(n&&n.has(e))return n.get(e);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=o?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}r.default=e,n&&n.set(e,r);return r}(n(96540)),o=u(n(5556)),i=u(n(40961)),a=n(71089),s=n(81726),l=n(77056),c=u(n(18696));function u(e){return e&&e.__esModule?e:{default:e}}function d(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(d=function(e){return e?n:t})(e)}function p(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const f={start:"touchstart",move:"touchmove",stop:"touchend"},h={start:"mousedown",move:"mousemove",stop:"mouseup"};let m=h;class g extends r.Component{constructor(){super(...arguments),p(this,"dragging",!1),p(this,"lastX",NaN),p(this,"lastY",NaN),p(this,"touchIdentifier",null),p(this,"mounted",!1),p(this,"handleDragStart",(e=>{if(this.props.onMouseDown(e),!this.props.allowAnyClick&&"number"==typeof e.button&&0!==e.button)return!1;const t=this.findDOMNode();if(!t||!t.ownerDocument||!t.ownerDocument.body)throw new Error("<DraggableCore> not mounted on DragStart!");const{ownerDocument:n}=t;if(this.props.disabled||!(e.target instanceof n.defaultView.Node)||this.props.handle&&!(0,a.matchesSelectorAndParentsTo)(e.target,this.props.handle,t)||this.props.cancel&&(0,a.matchesSelectorAndParentsTo)(e.target,this.props.cancel,t))return;"touchstart"===e.type&&e.preventDefault();const r=(0,a.getTouchIdentifier)(e);this.touchIdentifier=r;const o=(0,s.getControlPosition)(e,r,this);if(null==o)return;const{x:i,y:l}=o,u=(0,s.createCoreData)(this,i,l);(0,c.default)("DraggableCore: handleDragStart: %j",u),(0,c.default)("calling",this.props.onStart);!1!==this.props.onStart(e,u)&&!1!==this.mounted&&(this.props.enableUserSelectHack&&(0,a.addUserSelectStyles)(n),this.dragging=!0,this.lastX=i,this.lastY=l,(0,a.addEvent)(n,m.move,this.handleDrag),(0,a.addEvent)(n,m.stop,this.handleDragStop))})),p(this,"handleDrag",(e=>{const t=(0,s.getControlPosition)(e,this.touchIdentifier,this);if(null==t)return;let{x:n,y:r}=t;if(Array.isArray(this.props.grid)){let e=n-this.lastX,t=r-this.lastY;if([e,t]=(0,s.snapToGrid)(this.props.grid,e,t),!e&&!t)return;n=this.lastX+e,r=this.lastY+t}const o=(0,s.createCoreData)(this,n,r);(0,c.default)("DraggableCore: handleDrag: %j",o);if(!1!==this.props.onDrag(e,o)&&!1!==this.mounted)this.lastX=n,this.lastY=r;else try{this.handleDragStop(new MouseEvent("mouseup"))}catch(e){const t=document.createEvent("MouseEvents");t.initMouseEvent("mouseup",!0,!0,window,0,0,0,0,0,!1,!1,!1,!1,0,null),this.handleDragStop(t)}})),p(this,"handleDragStop",(e=>{if(!this.dragging)return;const t=(0,s.getControlPosition)(e,this.touchIdentifier,this);if(null==t)return;let{x:n,y:r}=t;if(Array.isArray(this.props.grid)){let e=n-this.lastX||0,t=r-this.lastY||0;[e,t]=(0,s.snapToGrid)(this.props.grid,e,t),n=this.lastX+e,r=this.lastY+t}const o=(0,s.createCoreData)(this,n,r);if(!1===this.props.onStop(e,o)||!1===this.mounted)return!1;const i=this.findDOMNode();i&&this.props.enableUserSelectHack&&(0,a.removeUserSelectStyles)(i.ownerDocument),(0,c.default)("DraggableCore: handleDragStop: %j",o),this.dragging=!1,this.lastX=NaN,this.lastY=NaN,i&&((0,c.default)("DraggableCore: Removing handlers"),(0,a.removeEvent)(i.ownerDocument,m.move,this.handleDrag),(0,a.removeEvent)(i.ownerDocument,m.stop,this.handleDragStop))})),p(this,"onMouseDown",(e=>(m=h,this.handleDragStart(e)))),p(this,"onMouseUp",(e=>(m=h,this.handleDragStop(e)))),p(this,"onTouchStart",(e=>(m=f,this.handleDragStart(e)))),p(this,"onTouchEnd",(e=>(m=f,this.handleDragStop(e))))}componentDidMount(){this.mounted=!0;const e=this.findDOMNode();e&&(0,a.addEvent)(e,f.start,this.onTouchStart,{passive:!1})}componentWillUnmount(){this.mounted=!1;const e=this.findDOMNode();if(e){const{ownerDocument:t}=e;(0,a.removeEvent)(t,h.move,this.handleDrag),(0,a.removeEvent)(t,f.move,this.handleDrag),(0,a.removeEvent)(t,h.stop,this.handleDragStop),(0,a.removeEvent)(t,f.stop,this.handleDragStop),(0,a.removeEvent)(e,f.start,this.onTouchStart,{passive:!1}),this.props.enableUserSelectHack&&(0,a.removeUserSelectStyles)(t)}}findDOMNode(){var e,t;return null!==(e=this.props)&&void 0!==e&&e.nodeRef?null===(t=this.props)||void 0===t||null===(t=t.nodeRef)||void 0===t?void 0:t.current:i.default.findDOMNode(this)}render(){return r.cloneElement(r.Children.only(this.props.children),{onMouseDown:this.onMouseDown,onMouseUp:this.onMouseUp,onTouchEnd:this.onTouchEnd})}}t.default=g,p(g,"displayName","DraggableCore"),p(g,"propTypes",{allowAnyClick:o.default.bool,children:o.default.node.isRequired,disabled:o.default.bool,enableUserSelectHack:o.default.bool,offsetParent:function(e,t){if(e[t]&&1!==e[t].nodeType)throw new Error("Draggable's offsetParent must be a DOM Node.")},grid:o.default.arrayOf(o.default.number),handle:o.default.string,cancel:o.default.string,nodeRef:o.default.object,onStart:o.default.func,onDrag:o.default.func,onStop:o.default.func,onMouseDown:o.default.func,scale:o.default.number,className:l.dontSetMe,style:l.dontSetMe,transform:l.dontSetMe}),p(g,"defaultProps",{allowAnyClick:!1,disabled:!1,enableUserSelectHack:!0,onStart:function(){},onDrag:function(){},onStop:function(){},onMouseDown:function(){},scale:1})},55794:function(e,t,n){"use strict";const{default:r,DraggableCore:o}=n(86027);e.exports=r,e.exports.default=r,e.exports.DraggableCore=o},71089:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.addClassName=c,t.addEvent=function(e,t,n,r){if(!e)return;const o={capture:!0,...r};e.addEventListener?e.addEventListener(t,n,o):e.attachEvent?e.attachEvent("on"+t,n):e["on"+t]=n},t.addUserSelectStyles=function(e){if(!e)return;let t=e.getElementById("react-draggable-style-el");t||(t=e.createElement("style"),t.type="text/css",t.id="react-draggable-style-el",t.innerHTML=".react-draggable-transparent-selection *::-moz-selection {all: inherit;}\n",t.innerHTML+=".react-draggable-transparent-selection *::selection {all: inherit;}\n",e.getElementsByTagName("head")[0].appendChild(t));e.body&&c(e.body,"react-draggable-transparent-selection")},t.createCSSTransform=function(e,t){const n=l(e,t,"px");return{[(0,o.browserPrefixToKey)("transform",o.default)]:n}},t.createSVGTransform=function(e,t){return l(e,t,"")},t.getTouch=function(e,t){return e.targetTouches&&(0,r.findInArray)(e.targetTouches,(e=>t===e.identifier))||e.changedTouches&&(0,r.findInArray)(e.changedTouches,(e=>t===e.identifier))},t.getTouchIdentifier=function(e){if(e.targetTouches&&e.targetTouches[0])return e.targetTouches[0].identifier;if(e.changedTouches&&e.changedTouches[0])return e.changedTouches[0].identifier},t.getTranslation=l,t.innerHeight=function(e){let t=e.clientHeight;const n=e.ownerDocument.defaultView.getComputedStyle(e);return t-=(0,r.int)(n.paddingTop),t-=(0,r.int)(n.paddingBottom),t},t.innerWidth=function(e){let t=e.clientWidth;const n=e.ownerDocument.defaultView.getComputedStyle(e);return t-=(0,r.int)(n.paddingLeft),t-=(0,r.int)(n.paddingRight),t},t.matchesSelector=s,t.matchesSelectorAndParentsTo=function(e,t,n){let r=e;do{if(s(r,t))return!0;if(r===n)return!1;r=r.parentNode}while(r);return!1},t.offsetXYFromParent=function(e,t,n){const r=t===t.ownerDocument.body?{left:0,top:0}:t.getBoundingClientRect(),o=(e.clientX+t.scrollLeft-r.left)/n,i=(e.clientY+t.scrollTop-r.top)/n;return{x:o,y:i}},t.outerHeight=function(e){let t=e.clientHeight;const n=e.ownerDocument.defaultView.getComputedStyle(e);return t+=(0,r.int)(n.borderTopWidth),t+=(0,r.int)(n.borderBottomWidth),t},t.outerWidth=function(e){let t=e.clientWidth;const n=e.ownerDocument.defaultView.getComputedStyle(e);return t+=(0,r.int)(n.borderLeftWidth),t+=(0,r.int)(n.borderRightWidth),t},t.removeClassName=u,t.removeEvent=function(e,t,n,r){if(!e)return;const o={capture:!0,...r};e.removeEventListener?e.removeEventListener(t,n,o):e.detachEvent?e.detachEvent("on"+t,n):e["on"+t]=null},t.removeUserSelectStyles=function(e){if(!e)return;try{if(e.body&&u(e.body,"react-draggable-transparent-selection"),e.selection)e.selection.empty();else{const t=(e.defaultView||window).getSelection();t&&"Caret"!==t.type&&t.removeAllRanges()}}catch(e){}};var r=n(77056),o=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=i(t);if(n&&n.has(e))return n.get(e);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var s=o?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(r,a,s):r[a]=e[a]}r.default=e,n&&n.set(e,r);return r}(n(33514));function i(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(i=function(e){return e?n:t})(e)}let a="";function s(e,t){return a||(a=(0,r.findInArray)(["matches","webkitMatchesSelector","mozMatchesSelector","msMatchesSelector","oMatchesSelector"],(function(t){return(0,r.isFunction)(e[t])}))),!!(0,r.isFunction)(e[a])&&e[a](t)}function l(e,t,n){let{x:r,y:o}=e,i="translate(".concat(r).concat(n,",").concat(o).concat(n,")");if(t){const e="".concat("string"==typeof t.x?t.x:t.x+n),r="".concat("string"==typeof t.y?t.y:t.y+n);i="translate(".concat(e,", ").concat(r,")")+i}return i}function c(e,t){e.classList?e.classList.add(t):e.className.match(new RegExp("(?:^|\\s)".concat(t,"(?!\\S)")))||(e.className+=" ".concat(t))}function u(e,t){e.classList?e.classList.remove(t):e.className=e.className.replace(new RegExp("(?:^|\\s)".concat(t,"(?!\\S)"),"g"),"")}},33514:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.browserPrefixToKey=o,t.browserPrefixToStyle=function(e,t){return t?"-".concat(t.toLowerCase(),"-").concat(e):e},t.default=void 0,t.getPrefix=r;const n=["Moz","Webkit","O","ms"];function r(){var e;let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"transform";if("undefined"==typeof window)return"";const r=null===(e=window.document)||void 0===e||null===(e=e.documentElement)||void 0===e?void 0:e.style;if(!r)return"";if(t in r)return"";for(let e=0;e<n.length;e++)if(o(t,n[e])in r)return n[e];return""}function o(e,t){return t?"".concat(t).concat(function(e){let t="",n=!0;for(let r=0;r<e.length;r++)n?(t+=e[r].toUpperCase(),n=!1):"-"===e[r]?n=!0:t+=e[r];return t}(e)):e}t.default=r()},18696:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){0}},81726:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.canDragX=function(e){return"both"===e.props.axis||"x"===e.props.axis},t.canDragY=function(e){return"both"===e.props.axis||"y"===e.props.axis},t.createCoreData=function(e,t,n){const o=!(0,r.isNum)(e.lastX),a=i(e);return o?{node:a,deltaX:0,deltaY:0,lastX:t,lastY:n,x:t,y:n}:{node:a,deltaX:t-e.lastX,deltaY:n-e.lastY,lastX:e.lastX,lastY:e.lastY,x:t,y:n}},t.createDraggableData=function(e,t){const n=e.props.scale;return{node:t.node,x:e.state.x+t.deltaX/n,y:e.state.y+t.deltaY/n,deltaX:t.deltaX/n,deltaY:t.deltaY/n,lastX:e.state.x,lastY:e.state.y}},t.getBoundPosition=function(e,t,n){if(!e.props.bounds)return[t,n];let{bounds:a}=e.props;a="string"==typeof a?a:function(e){return{left:e.left,top:e.top,right:e.right,bottom:e.bottom}}(a);const s=i(e);if("string"==typeof a){const{ownerDocument:e}=s,t=e.defaultView;let n;if(n="parent"===a?s.parentNode:e.querySelector(a),!(n instanceof t.HTMLElement))throw new Error('Bounds selector "'+a+'" could not find an element.');const i=n,l=t.getComputedStyle(s),c=t.getComputedStyle(i);a={left:-s.offsetLeft+(0,r.int)(c.paddingLeft)+(0,r.int)(l.marginLeft),top:-s.offsetTop+(0,r.int)(c.paddingTop)+(0,r.int)(l.marginTop),right:(0,o.innerWidth)(i)-(0,o.outerWidth)(s)-s.offsetLeft+(0,r.int)(c.paddingRight)-(0,r.int)(l.marginRight),bottom:(0,o.innerHeight)(i)-(0,o.outerHeight)(s)-s.offsetTop+(0,r.int)(c.paddingBottom)-(0,r.int)(l.marginBottom)}}(0,r.isNum)(a.right)&&(t=Math.min(t,a.right));(0,r.isNum)(a.bottom)&&(n=Math.min(n,a.bottom));(0,r.isNum)(a.left)&&(t=Math.max(t,a.left));(0,r.isNum)(a.top)&&(n=Math.max(n,a.top));return[t,n]},t.getControlPosition=function(e,t,n){const r="number"==typeof t?(0,o.getTouch)(e,t):null;if("number"==typeof t&&!r)return null;const a=i(n),s=n.props.offsetParent||a.offsetParent||a.ownerDocument.body;return(0,o.offsetXYFromParent)(r||e,s,n.props.scale)},t.snapToGrid=function(e,t,n){const r=Math.round(t/e[0])*e[0],o=Math.round(n/e[1])*e[1];return[r,o]};var r=n(77056),o=n(71089);function i(e){const t=e.findDOMNode();if(!t)throw new Error("<DraggableCore>: Unmounted during event!");return t}},77056:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.dontSetMe=function(e,t,n){if(e[t])return new Error("Invalid prop ".concat(t," passed to ").concat(n," - do not set this, set it on the child."))},t.findInArray=function(e,t){for(let n=0,r=e.length;n<r;n++)if(t.apply(t,[e[n],n,e]))return e[n]},t.int=function(e){return parseInt(e,10)},t.isFunction=function(e){return"function"==typeof e||"[object Function]"===Object.prototype.toString.call(e)},t.isNum=function(e){return"number"==typeof e&&!isNaN(e)}},81322:function(e,t,n){"use strict";function r(e){var t,n,o="";if("string"==typeof e||"number"==typeof e)o+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(n=r(e[t]))&&(o&&(o+=" "),o+=n);else for(t in e)e[t]&&(o&&(o+=" "),o+=t);return o}function o(){for(var e,t,n=0,o="";n<arguments.length;)(e=arguments[n++])&&(t=r(e))&&(o&&(o+=" "),o+=t);return o}n.r(t),n.d(t,{clsx:function(){return o}}),t.default=/^(2966|9275)$/.test(n.j)?o:null},75497:function(e,t,n){"use strict";n.r(t),n.d(t,{ErrorCode:function(){return j},default:function(){return de},useDropzone:function(){return fe}});var r=n(96540),o=n(5556),i=n.n(o);function a(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{l(r.next(e))}catch(e){i(e)}}function s(e){try{l(r.throw(e))}catch(e){i(e)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}l((r=r.apply(e,t||[])).next())}))}function s(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(s){return function(l){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;i&&(i=0,s[0]&&(a=0)),a;)try{if(n=1,r&&(o=2&s[0]?r.return:s[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,s[1])).done)return o;switch(r=0,o&&(s=[2&s[0],o.value]),s[0]){case 0:case 1:o=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,r=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!(o=a.trys,(o=o.length>0&&o[o.length-1])||6!==s[0]&&2!==s[0])){a=0;continue}if(3===s[0]&&(!o||s[1]>o[0]&&s[1]<o[3])){a.label=s[1];break}if(6===s[0]&&a.label<o[1]){a.label=o[1],o=s;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(s);break}o[2]&&a.ops.pop(),a.trys.pop();continue}s=t.call(e,a)}catch(e){s=[6,e],r=0}finally{n=o=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,l])}}}Object.create;function l(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a}function c(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))}Object.create;"function"==typeof SuppressedError&&SuppressedError;var u=new Map([["aac","audio/aac"],["abw","application/x-abiword"],["arc","application/x-freearc"],["avif","image/avif"],["avi","video/x-msvideo"],["azw","application/vnd.amazon.ebook"],["bin","application/octet-stream"],["bmp","image/bmp"],["bz","application/x-bzip"],["bz2","application/x-bzip2"],["cda","application/x-cdf"],["csh","application/x-csh"],["css","text/css"],["csv","text/csv"],["doc","application/msword"],["docx","application/vnd.openxmlformats-officedocument.wordprocessingml.document"],["eot","application/vnd.ms-fontobject"],["epub","application/epub+zip"],["gz","application/gzip"],["gif","image/gif"],["heic","image/heic"],["heif","image/heif"],["htm","text/html"],["html","text/html"],["ico","image/vnd.microsoft.icon"],["ics","text/calendar"],["jar","application/java-archive"],["jpeg","image/jpeg"],["jpg","image/jpeg"],["js","text/javascript"],["json","application/json"],["jsonld","application/ld+json"],["mid","audio/midi"],["midi","audio/midi"],["mjs","text/javascript"],["mp3","audio/mpeg"],["mp4","video/mp4"],["mpeg","video/mpeg"],["mpkg","application/vnd.apple.installer+xml"],["odp","application/vnd.oasis.opendocument.presentation"],["ods","application/vnd.oasis.opendocument.spreadsheet"],["odt","application/vnd.oasis.opendocument.text"],["oga","audio/ogg"],["ogv","video/ogg"],["ogx","application/ogg"],["opus","audio/opus"],["otf","font/otf"],["png","image/png"],["pdf","application/pdf"],["php","application/x-httpd-php"],["ppt","application/vnd.ms-powerpoint"],["pptx","application/vnd.openxmlformats-officedocument.presentationml.presentation"],["rar","application/vnd.rar"],["rtf","application/rtf"],["sh","application/x-sh"],["svg","image/svg+xml"],["swf","application/x-shockwave-flash"],["tar","application/x-tar"],["tif","image/tiff"],["tiff","image/tiff"],["ts","video/mp2t"],["ttf","font/ttf"],["txt","text/plain"],["vsd","application/vnd.visio"],["wav","audio/wav"],["weba","audio/webm"],["webm","video/webm"],["webp","image/webp"],["woff","font/woff"],["woff2","font/woff2"],["xhtml","application/xhtml+xml"],["xls","application/vnd.ms-excel"],["xlsx","application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"],["xml","application/xml"],["xul","application/vnd.mozilla.xul+xml"],["zip","application/zip"],["7z","application/x-7z-compressed"],["mkv","video/x-matroska"],["mov","video/quicktime"],["msg","application/vnd.ms-outlook"]]);function d(e,t){var n=function(e){var t=e.name;if(t&&-1!==t.lastIndexOf(".")&&!e.type){var n=t.split(".").pop().toLowerCase(),r=u.get(n);r&&Object.defineProperty(e,"type",{value:r,writable:!1,configurable:!1,enumerable:!0})}return e}(e);if("string"!=typeof n.path){var r=e.webkitRelativePath;Object.defineProperty(n,"path",{value:"string"==typeof t?t:"string"==typeof r&&r.length>0?r:e.name,writable:!1,configurable:!1,enumerable:!0})}return n}var p=[".DS_Store","Thumbs.db"];function f(e){return"object"==typeof e&&null!==e}function h(e){return y(e.target.files).map((function(e){return d(e)}))}function m(e){return a(this,void 0,void 0,(function(){return s(this,(function(t){switch(t.label){case 0:return[4,Promise.all(e.map((function(e){return e.getFile()})))];case 1:return[2,t.sent().map((function(e){return d(e)}))]}}))}))}function g(e,t){return a(this,void 0,void 0,(function(){var n;return s(this,(function(r){switch(r.label){case 0:return e.items?(n=y(e.items).filter((function(e){return"file"===e.kind})),"drop"!==t?[2,n]:[4,Promise.all(n.map(b))]):[3,2];case 1:return[2,v(x(r.sent()))];case 2:return[2,v(y(e.files).map((function(e){return d(e)})))]}}))}))}function v(e){return e.filter((function(e){return-1===p.indexOf(e.name)}))}function y(e){if(null===e)return[];for(var t=[],n=0;n<e.length;n++){var r=e[n];t.push(r)}return t}function b(e){if("function"!=typeof e.webkitGetAsEntry)return w(e);var t=e.webkitGetAsEntry();return t&&t.isDirectory?_(t):w(e)}function x(e){return e.reduce((function(e,t){return c(c([],l(e),!1),l(Array.isArray(t)?x(t):[t]),!1)}),[])}function w(e){var t=e.getAsFile();if(!t)return Promise.reject("".concat(e," is not a File"));var n=d(t);return Promise.resolve(n)}function A(e){return a(this,void 0,void 0,(function(){return s(this,(function(t){return[2,e.isDirectory?_(e):S(e)]}))}))}function _(e){var t=e.createReader();return new Promise((function(e,n){var r=[];!function o(){var i=this;t.readEntries((function(t){return a(i,void 0,void 0,(function(){var i,a,l;return s(this,(function(s){switch(s.label){case 0:if(t.length)return[3,5];s.label=1;case 1:return s.trys.push([1,3,,4]),[4,Promise.all(r)];case 2:return i=s.sent(),e(i),[3,4];case 3:return a=s.sent(),n(a),[3,4];case 4:return[3,6];case 5:l=Promise.all(t.map(A)),r.push(l),o(),s.label=6;case 6:return[2]}}))}))}),(function(e){n(e)}))}()}))}function S(e){return a(this,void 0,void 0,(function(){return s(this,(function(t){return[2,new Promise((function(t,n){e.file((function(n){var r=d(n,e.fullPath);t(r)}),(function(e){n(e)}))}))]}))}))}var k=n(9455);function C(e){return function(e){if(Array.isArray(e))return D(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||E(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function T(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function M(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?T(Object(n),!0).forEach((function(t){P(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):T(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function P(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function O(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,o,i=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){s=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}(e,t)||E(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function E(e,t){if(e){if("string"==typeof e)return D(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?D(e,t):void 0}}function D(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var R="file-invalid-type",I="file-too-large",N="file-too-small",L="too-many-files",j={FileInvalidType:R,FileTooLarge:I,FileTooSmall:N,TooManyFiles:L},$=function(e){e=Array.isArray(e)&&1===e.length?e[0]:e;var t=Array.isArray(e)?"one of ".concat(e.join(", ")):e;return{code:R,message:"File type must be ".concat(t)}},z=function(e){return{code:I,message:"File is larger than ".concat(e," ").concat(1===e?"byte":"bytes")}},F=function(e){return{code:N,message:"File is smaller than ".concat(e," ").concat(1===e?"byte":"bytes")}},B={code:L,message:"Too many files"};function H(e,t){var n="application/x-moz-file"===e.type||(0,k.A)(e,t);return[n,n?null:$(t)]}function V(e,t,n){if(W(e.size))if(W(t)&&W(n)){if(e.size>n)return[!1,z(n)];if(e.size<t)return[!1,F(t)]}else{if(W(t)&&e.size<t)return[!1,F(t)];if(W(n)&&e.size>n)return[!1,z(n)]}return[!0,null]}function W(e){return null!=e}function U(e){return"function"==typeof e.isPropagationStopped?e.isPropagationStopped():void 0!==e.cancelBubble&&e.cancelBubble}function q(e){return e.dataTransfer?Array.prototype.some.call(e.dataTransfer.types,(function(e){return"Files"===e||"application/x-moz-file"===e})):!!e.target&&!!e.target.files}function G(e){e.preventDefault()}function Y(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return 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];return t.some((function(t){return!U(e)&&t&&t.apply(void 0,[e].concat(r)),U(e)}))}}function X(e){return"audio/*"===e||"video/*"===e||"image/*"===e||"text/*"===e||/\w+\/[-+.\w]+/g.test(e)}function K(e){return/^.*\.[\w]+$/.test(e)}var Z=["children"],J=["open"],Q=["refKey","role","onKeyDown","onFocus","onBlur","onClick","onDragEnter","onDragOver","onDragLeave","onDrop"],ee=["refKey","onChange","onClick"];function te(e){return function(e){if(Array.isArray(e))return oe(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||re(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ne(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,o,i=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){s=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}(e,t)||re(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function re(e,t){if(e){if("string"==typeof e)return oe(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?oe(e,t):void 0}}function oe(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function ie(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function ae(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ie(Object(n),!0).forEach((function(t){se(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ie(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function se(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function le(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var ce=(0,r.forwardRef)((function(e,t){var n=e.children,o=fe(le(e,Z)),i=o.open,a=le(o,J);return(0,r.useImperativeHandle)(t,(function(){return{open:i}}),[i]),r.createElement(r.Fragment,null,n(ae(ae({},a),{},{open:i})))}));ce.displayName="Dropzone";var ue={disabled:!1,getFilesFromEvent:function(e){return a(this,void 0,void 0,(function(){return s(this,(function(t){return f(e)&&f(e.dataTransfer)?[2,g(e.dataTransfer,e.type)]:function(e){return f(e)&&f(e.target)}(e)?[2,h(e)]:Array.isArray(e)&&e.every((function(e){return"getFile"in e&&"function"==typeof e.getFile}))?[2,m(e)]:[2,[]]}))}))},maxSize:1/0,minSize:0,multiple:!0,maxFiles:0,preventDropOnDocument:!0,noClick:!1,noKeyboard:!1,noDrag:!1,noDragEventsBubbling:!1,validator:null,useFsAccessApi:!0,autoFocus:!1};ce.defaultProps=ue,ce.propTypes={children:i().func,accept:i().objectOf(i().arrayOf(i().string)),multiple:i().bool,preventDropOnDocument:i().bool,noClick:i().bool,noKeyboard:i().bool,noDrag:i().bool,noDragEventsBubbling:i().bool,minSize:i().number,maxSize:i().number,maxFiles:i().number,disabled:i().bool,getFilesFromEvent:i().func,onFileDialogCancel:i().func,onFileDialogOpen:i().func,useFsAccessApi:i().bool,autoFocus:i().bool,onDragEnter:i().func,onDragLeave:i().func,onDragOver:i().func,onDrop:i().func,onDropAccepted:i().func,onDropRejected:i().func,onError:i().func,validator:i().func};var de=ce,pe={isFocused:!1,isFileDialogActive:!1,isDragActive:!1,isDragAccept:!1,isDragReject:!1,acceptedFiles:[],fileRejections:[]};function fe(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=ae(ae({},ue),e),n=t.accept,o=t.disabled,i=t.getFilesFromEvent,a=t.maxSize,s=t.minSize,l=t.multiple,c=t.maxFiles,u=t.onDragEnter,d=t.onDragLeave,p=t.onDragOver,f=t.onDrop,h=t.onDropAccepted,m=t.onDropRejected,g=t.onFileDialogCancel,v=t.onFileDialogOpen,y=t.useFsAccessApi,b=t.autoFocus,x=t.preventDropOnDocument,w=t.noClick,A=t.noKeyboard,_=t.noDrag,S=t.noDragEventsBubbling,k=t.onError,T=t.validator,E=(0,r.useMemo)((function(){return function(e){if(W(e))return Object.entries(e).reduce((function(e,t){var n=O(t,2),r=n[0],o=n[1];return[].concat(C(e),[r],C(o))}),[]).filter((function(e){return X(e)||K(e)})).join(",")}(n)}),[n]),D=(0,r.useMemo)((function(){return function(e){return W(e)?[{description:"Files",accept:Object.entries(e).filter((function(e){var t=O(e,2),n=t[0],r=t[1],o=!0;return X(n)||(console.warn('Skipped "'.concat(n,'" because it is not a valid MIME type. Check https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types/Common_types for a list of valid MIME types.')),o=!1),Array.isArray(r)&&r.every(K)||(console.warn('Skipped "'.concat(n,'" because an invalid file extension was provided.')),o=!1),o})).reduce((function(e,t){var n=O(t,2),r=n[0],o=n[1];return M(M({},e),{},P({},r,o))}),{})}]:e}(n)}),[n]),R=(0,r.useMemo)((function(){return"function"==typeof v?v:me}),[v]),I=(0,r.useMemo)((function(){return"function"==typeof g?g:me}),[g]),N=(0,r.useRef)(null),L=(0,r.useRef)(null),j=ne((0,r.useReducer)(he,pe),2),$=j[0],z=j[1],F=$.isFocused,Z=$.isFileDialogActive,J=(0,r.useRef)("undefined"!=typeof window&&window.isSecureContext&&y&&"showOpenFilePicker"in window),re=function(){!J.current&&Z&&setTimeout((function(){L.current&&(L.current.files.length||(z({type:"closeDialog"}),I()))}),300)};(0,r.useEffect)((function(){return window.addEventListener("focus",re,!1),function(){window.removeEventListener("focus",re,!1)}}),[L,Z,I,J]);var oe=(0,r.useRef)([]),ie=function(e){N.current&&N.current.contains(e.target)||(e.preventDefault(),oe.current=[])};(0,r.useEffect)((function(){return x&&(document.addEventListener("dragover",G,!1),document.addEventListener("drop",ie,!1)),function(){x&&(document.removeEventListener("dragover",G),document.removeEventListener("drop",ie))}}),[N,x]),(0,r.useEffect)((function(){return!o&&b&&N.current&&N.current.focus(),function(){}}),[N,b,o]);var ce=(0,r.useCallback)((function(e){k?k(e):console.error(e)}),[k]),de=(0,r.useCallback)((function(e){e.preventDefault(),e.persist(),Te(e),oe.current=[].concat(te(oe.current),[e.target]),q(e)&&Promise.resolve(i(e)).then((function(t){if(!U(e)||S){var n=t.length,r=n>0&&function(e){var t=e.files,n=e.accept,r=e.minSize,o=e.maxSize,i=e.multiple,a=e.maxFiles,s=e.validator;return!(!i&&t.length>1||i&&a>=1&&t.length>a)&&t.every((function(e){var t=O(H(e,n),1)[0],i=O(V(e,r,o),1)[0],a=s?s(e):null;return t&&i&&!a}))}({files:t,accept:E,minSize:s,maxSize:a,multiple:l,maxFiles:c,validator:T});z({isDragAccept:r,isDragReject:n>0&&!r,isDragActive:!0,type:"setDraggedFiles"}),u&&u(e)}})).catch((function(e){return ce(e)}))}),[i,u,ce,S,E,s,a,l,c,T]),fe=(0,r.useCallback)((function(e){e.preventDefault(),e.persist(),Te(e);var t=q(e);if(t&&e.dataTransfer)try{e.dataTransfer.dropEffect="copy"}catch(e){}return t&&p&&p(e),!1}),[p,S]),ge=(0,r.useCallback)((function(e){e.preventDefault(),e.persist(),Te(e);var t=oe.current.filter((function(e){return N.current&&N.current.contains(e)})),n=t.indexOf(e.target);-1!==n&&t.splice(n,1),oe.current=t,t.length>0||(z({type:"setDraggedFiles",isDragActive:!1,isDragAccept:!1,isDragReject:!1}),q(e)&&d&&d(e))}),[N,d,S]),ve=(0,r.useCallback)((function(e,t){var n=[],r=[];e.forEach((function(e){var t=ne(H(e,E),2),o=t[0],i=t[1],l=ne(V(e,s,a),2),c=l[0],u=l[1],d=T?T(e):null;if(o&&c&&!d)n.push(e);else{var p=[i,u];d&&(p=p.concat(d)),r.push({file:e,errors:p.filter((function(e){return e}))})}})),(!l&&n.length>1||l&&c>=1&&n.length>c)&&(n.forEach((function(e){r.push({file:e,errors:[B]})})),n.splice(0)),z({acceptedFiles:n,fileRejections:r,type:"setFiles"}),f&&f(n,r,t),r.length>0&&m&&m(r,t),n.length>0&&h&&h(n,t)}),[z,l,E,s,a,c,f,h,m,T]),ye=(0,r.useCallback)((function(e){e.preventDefault(),e.persist(),Te(e),oe.current=[],q(e)&&Promise.resolve(i(e)).then((function(t){U(e)&&!S||ve(t,e)})).catch((function(e){return ce(e)})),z({type:"reset"})}),[i,ve,ce,S]),be=(0,r.useCallback)((function(){if(J.current){z({type:"openDialog"}),R();var e={multiple:l,types:D};window.showOpenFilePicker(e).then((function(e){return i(e)})).then((function(e){ve(e,null),z({type:"closeDialog"})})).catch((function(e){var t;(t=e)instanceof DOMException&&("AbortError"===t.name||t.code===t.ABORT_ERR)?(I(e),z({type:"closeDialog"})):!function(e){return e instanceof DOMException&&("SecurityError"===e.name||e.code===e.SECURITY_ERR)}(e)?ce(e):(J.current=!1,L.current?(L.current.value=null,L.current.click()):ce(new Error("Cannot open the file picker because the https://developer.mozilla.org/en-US/docs/Web/API/File_System_Access_API is not supported and no <input> was provided.")))}))}else L.current&&(z({type:"openDialog"}),R(),L.current.value=null,L.current.click())}),[z,R,I,y,ve,ce,D,l]),xe=(0,r.useCallback)((function(e){N.current&&N.current.isEqualNode(e.target)&&(" "!==e.key&&"Enter"!==e.key&&32!==e.keyCode&&13!==e.keyCode||(e.preventDefault(),be()))}),[N,be]),we=(0,r.useCallback)((function(){z({type:"focus"})}),[]),Ae=(0,r.useCallback)((function(){z({type:"blur"})}),[]),_e=(0,r.useCallback)((function(){w||(!function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.navigator.userAgent;return function(e){return-1!==e.indexOf("MSIE")||-1!==e.indexOf("Trident/")}(e)||function(e){return-1!==e.indexOf("Edge/")}(e)}()?be():setTimeout(be,0))}),[w,be]),Se=function(e){return o?null:e},ke=function(e){return A?null:Se(e)},Ce=function(e){return _?null:Se(e)},Te=function(e){S&&e.stopPropagation()},Me=(0,r.useMemo)((function(){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.refKey,n=void 0===t?"ref":t,r=e.role,i=e.onKeyDown,a=e.onFocus,s=e.onBlur,l=e.onClick,c=e.onDragEnter,u=e.onDragOver,d=e.onDragLeave,p=e.onDrop,f=le(e,Q);return ae(ae(se({onKeyDown:ke(Y(i,xe)),onFocus:ke(Y(a,we)),onBlur:ke(Y(s,Ae)),onClick:Se(Y(l,_e)),onDragEnter:Ce(Y(c,de)),onDragOver:Ce(Y(u,fe)),onDragLeave:Ce(Y(d,ge)),onDrop:Ce(Y(p,ye)),role:"string"==typeof r&&""!==r?r:"presentation"},n,N),o||A?{}:{tabIndex:0}),f)}}),[N,xe,we,Ae,_e,de,fe,ge,ye,A,_,o]),Pe=(0,r.useCallback)((function(e){e.stopPropagation()}),[]),Oe=(0,r.useMemo)((function(){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.refKey,n=void 0===t?"ref":t,r=e.onChange,o=e.onClick,i=le(e,ee);return ae(ae({},se({accept:E,multiple:l,type:"file",style:{display:"none"},onChange:Se(Y(r,ye)),onClick:Se(Y(o,Pe)),tabIndex:-1},n,L)),i)}}),[L,n,l,ye,o]);return ae(ae({},$),{},{isFocused:F&&!o,getRootProps:Me,getInputProps:Oe,rootRef:N,inputRef:L,open:Se(be)})}function he(e,t){switch(t.type){case"focus":return ae(ae({},e),{},{isFocused:!0});case"blur":return ae(ae({},e),{},{isFocused:!1});case"openDialog":return ae(ae({},pe),{},{isFileDialogActive:!0});case"closeDialog":return ae(ae({},e),{},{isFileDialogActive:!1});case"setDraggedFiles":return ae(ae({},e),{},{isDragActive:t.isDragActive,isDragAccept:t.isDragAccept,isDragReject:t.isDragReject});case"setFiles":return ae(ae({},e),{},{acceptedFiles:t.acceptedFiles,fileRejections:t.fileRejections});case"reset":return ae({},pe);default:return e}}function me(){}},26392:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=d(n(96540)),o=d(n(5556)),i=n(55794),a=n(66036),s=n(38426),l=n(82134),c=n(58253),u=d(n(71508));function d(e){return e&&e.__esModule?e:{default:e}}function p(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}class f extends r.default.Component{constructor(){super(...arguments),p(this,"state",{resizing:null,dragging:null,className:""}),p(this,"elementRef",r.default.createRef()),p(this,"onDragStart",((e,t)=>{let{node:n}=t;const{onDragStart:r,transformScale:o}=this.props;if(!r)return;const i={top:0,left:0},{offsetParent:a}=n;if(!a)return;const s=a.getBoundingClientRect(),c=n.getBoundingClientRect(),u=c.left/o,d=s.left/o,p=c.top/o,f=s.top/o;i.left=u-d+a.scrollLeft,i.top=p-f+a.scrollTop,this.setState({dragging:i});const{x:h,y:m}=(0,l.calcXY)(this.getPositionParams(),i.top,i.left,this.props.w,this.props.h);return r.call(this,this.props.i,h,m,{e:e,node:n,newPosition:i})})),p(this,"onDrag",((e,t)=>{let{node:n,deltaX:r,deltaY:o}=t;const{onDrag:i}=this.props;if(!i)return;if(!this.state.dragging)throw new Error("onDrag called before onDragStart.");let a=this.state.dragging.top+o,s=this.state.dragging.left+r;const{isBounded:c,i:u,w:d,h:p,containerWidth:f}=this.props,h=this.getPositionParams();if(c){const{offsetParent:e}=n;if(e){const{margin:t,rowHeight:n,containerPadding:r}=this.props,o=e.clientHeight-(0,l.calcGridItemWHPx)(p,n,t[1]);a=(0,l.clamp)(a-r[1],0,o);const i=(0,l.calcGridColWidth)(h),c=f-(0,l.calcGridItemWHPx)(d,i,t[0]);s=(0,l.clamp)(s-r[0],0,c)}}const m={top:a,left:s};this.setState({dragging:m});const{containerPadding:g}=this.props,{x:v,y:y}=(0,l.calcXY)(h,a-g[1],s-g[0],d,p);return i.call(this,u,v,y,{e:e,node:n,newPosition:m})})),p(this,"onDragStop",((e,t)=>{let{node:n}=t;const{onDragStop:r}=this.props;if(!r)return;if(!this.state.dragging)throw new Error("onDragEnd called before onDragStart.");const{w:o,h:i,i:a,containerPadding:s}=this.props,{left:c,top:u}=this.state.dragging,d={top:u,left:c};this.setState({dragging:null});const{x:p,y:f}=(0,l.calcXY)(this.getPositionParams(),u-s[1],c-s[0],o,i);return r.call(this,a,p,f,{e:e,node:n,newPosition:d})})),p(this,"onResizeStop",((e,t,n)=>this.onResizeHandler(e,t,n,"onResizeStop"))),p(this,"onResizeStart",((e,t,n)=>this.onResizeHandler(e,t,n,"onResizeStart"))),p(this,"onResize",((e,t,n)=>this.onResizeHandler(e,t,n,"onResize")))}shouldComponentUpdate(e,t){if(this.props.children!==e.children)return!0;if(this.props.droppingPosition!==e.droppingPosition)return!0;const n=(0,l.calcGridItemPosition)(this.getPositionParams(this.props),this.props.x,this.props.y,this.props.w,this.props.h,this.state),r=(0,l.calcGridItemPosition)(this.getPositionParams(e),e.x,e.y,e.w,e.h,t);return!(0,s.fastPositionEqual)(n,r)||this.props.useCSSTransforms!==e.useCSSTransforms}componentDidMount(){this.moveDroppingItem({})}componentDidUpdate(e){this.moveDroppingItem(e)}moveDroppingItem(e){const{droppingPosition:t}=this.props;if(!t)return;const n=this.elementRef.current;if(!n)return;const r=e.droppingPosition||{left:0,top:0},{dragging:o}=this.state,i=o&&t.left!==r.left||t.top!==r.top;if(o){if(i){const e=t.left-o.left,r=t.top-o.top;this.onDrag(t.e,{node:n,deltaX:e,deltaY:r})}}else this.onDragStart(t.e,{node:n,deltaX:t.left,deltaY:t.top})}getPositionParams(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props;return{cols:e.cols,containerPadding:e.containerPadding,containerWidth:e.containerWidth,margin:e.margin,maxRows:e.maxRows,rowHeight:e.rowHeight}}createStyle(e){const{usePercentages:t,containerWidth:n,useCSSTransforms:r}=this.props;let o;return r?o=(0,s.setTransform)(e):(o=(0,s.setTopLeft)(e),t&&(o.left=(0,s.perc)(e.left/n),o.width=(0,s.perc)(e.width/n))),o}mixinDraggable(e,t){return r.default.createElement(i.DraggableCore,{disabled:!t,onStart:this.onDragStart,onDrag:this.onDrag,onStop:this.onDragStop,handle:this.props.handle,cancel:".react-resizable-handle"+(this.props.cancel?","+this.props.cancel:""),scale:this.props.transformScale,nodeRef:this.elementRef},e)}curryResizeHandler(e,t){return(n,r)=>t(n,r,e)}mixinResizable(e,t,n){const{cols:o,minW:i,minH:s,maxW:c,maxH:u,transformScale:d,resizeHandles:p,resizeHandle:f}=this.props,h=this.getPositionParams(),m=(0,l.calcGridItemPosition)(h,0,0,o,0).width,g=(0,l.calcGridItemPosition)(h,0,0,i,s),v=(0,l.calcGridItemPosition)(h,0,0,c,u),y=[g.width,g.height],b=[Math.min(v.width,m),Math.min(v.height,1/0)];return r.default.createElement(a.Resizable,{draggableOpts:{disabled:!n},className:n?void 0:"react-resizable-hide",width:t.width,height:t.height,minConstraints:y,maxConstraints:b,onResizeStop:this.curryResizeHandler(t,this.onResizeStop),onResizeStart:this.curryResizeHandler(t,this.onResizeStart),onResize:this.curryResizeHandler(t,this.onResize),transformScale:d,resizeHandles:p,handle:f},e)}onResizeHandler(e,t,n,r){let{node:o,size:i,handle:a}=t;const c=this.props[r];if(!c)return;const{x:u,y:d,i:p,maxH:f,minH:h,containerWidth:m}=this.props,{minW:g,maxW:v}=this.props;let y=i;o&&(y=(0,s.resizeItemInDirection)(a,n,i,m),this.setState({resizing:"onResizeStop"===r?null:y}));let{w:b,h:x}=(0,l.calcWH)(this.getPositionParams(),y.width,y.height,u,d,a);b=(0,l.clamp)(b,Math.max(g,1),v),x=(0,l.clamp)(x,h,f),c.call(this,p,b,x,{e:e,node:o,size:y,handle:a})}render(){const{x:e,y:t,w:n,h:o,isDraggable:i,isResizable:a,droppingPosition:s,useCSSTransforms:c}=this.props,d=(0,l.calcGridItemPosition)(this.getPositionParams(),e,t,n,o,this.state),p=r.default.Children.only(this.props.children);let f=r.default.cloneElement(p,{ref:this.elementRef,className:(0,u.default)("react-grid-item",p.props.className,this.props.className,{static:this.props.static,resizing:Boolean(this.state.resizing),"react-draggable":i,"react-draggable-dragging":Boolean(this.state.dragging),dropping:Boolean(s),cssTransforms:c}),style:{...this.props.style,...p.props.style,...this.createStyle(d)}});return f=this.mixinResizable(f,d,a),f=this.mixinDraggable(f,i),f}}t.default=f,p(f,"propTypes",{children:o.default.element,cols:o.default.number.isRequired,containerWidth:o.default.number.isRequired,rowHeight:o.default.number.isRequired,margin:o.default.array.isRequired,maxRows:o.default.number.isRequired,containerPadding:o.default.array.isRequired,x:o.default.number.isRequired,y:o.default.number.isRequired,w:o.default.number.isRequired,h:o.default.number.isRequired,minW:function(e,t){const n=e[t];return"number"!=typeof n?new Error("minWidth not Number"):n>e.w||n>e.maxW?new Error("minWidth larger than item width/maxWidth"):void 0},maxW:function(e,t){const n=e[t];return"number"!=typeof n?new Error("maxWidth not Number"):n<e.w||n<e.minW?new Error("maxWidth smaller than item width/minWidth"):void 0},minH:function(e,t){const n=e[t];return"number"!=typeof n?new Error("minHeight not Number"):n>e.h||n>e.maxH?new Error("minHeight larger than item height/maxHeight"):void 0},maxH:function(e,t){const n=e[t];return"number"!=typeof n?new Error("maxHeight not Number"):n<e.h||n<e.minH?new Error("maxHeight smaller than item height/minHeight"):void 0},i:o.default.string.isRequired,resizeHandles:c.resizeHandleAxesType,resizeHandle:c.resizeHandleType,onDragStop:o.default.func,onDragStart:o.default.func,onDrag:o.default.func,onResizeStop:o.default.func,onResizeStart:o.default.func,onResize:o.default.func,isDraggable:o.default.bool.isRequired,isResizable:o.default.bool.isRequired,isBounded:o.default.bool.isRequired,static:o.default.bool,useCSSTransforms:o.default.bool.isRequired,transformScale:o.default.number,className:o.default.string,handle:o.default.string,cancel:o.default.string,droppingPosition:o.default.shape({e:o.default.object.isRequired,left:o.default.number.isRequired,top:o.default.number.isRequired})}),p(f,"defaultProps",{className:"",cancel:"",handle:"",minH:1,minW:1,maxH:1/0,maxW:1/0,transformScale:1})},59742:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=d(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=o?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,n&&n.set(e,r),r}(n(96540)),o=n(51548),i=u(n(71508)),a=n(38426),s=n(82134),l=u(n(26392)),c=u(n(58253));function u(e){return e&&e.__esModule?e:{default:e}}function d(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(d=function(e){return e?n:t})(e)}function p(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const f="react-grid-layout";let h=!1;try{h=/firefox/i.test(navigator.userAgent)}catch(e){}class m extends r.Component{constructor(){super(...arguments),p(this,"state",{activeDrag:null,layout:(0,a.synchronizeLayoutWithChildren)(this.props.layout,this.props.children,this.props.cols,(0,a.compactType)(this.props),this.props.allowOverlap),mounted:!1,oldDragItem:null,oldLayout:null,oldResizeItem:null,resizing:!1,droppingDOMNode:null,children:[]}),p(this,"dragEnterCounter",0),p(this,"onDragStart",((e,t,n,r)=>{let{e:o,node:i}=r;const{layout:s}=this.state,l=(0,a.getLayoutItem)(s,e);if(!l)return;const c={w:l.w,h:l.h,x:l.x,y:l.y,placeholder:!0,i:e};return this.setState({oldDragItem:(0,a.cloneLayoutItem)(l),oldLayout:s,activeDrag:c}),this.props.onDragStart(s,l,l,null,o,i)})),p(this,"onDrag",((e,t,n,r)=>{let{e:o,node:i}=r;const{oldDragItem:s}=this.state;let{layout:l}=this.state;const{cols:c,allowOverlap:u,preventCollision:d}=this.props,p=(0,a.getLayoutItem)(l,e);if(!p)return;const f={w:p.w,h:p.h,x:p.x,y:p.y,placeholder:!0,i:e};l=(0,a.moveElement)(l,p,t,n,!0,d,(0,a.compactType)(this.props),c,u),this.props.onDrag(l,s,p,f,o,i),this.setState({layout:u?l:(0,a.compact)(l,(0,a.compactType)(this.props),c),activeDrag:f})})),p(this,"onDragStop",((e,t,n,r)=>{let{e:o,node:i}=r;if(!this.state.activeDrag)return;const{oldDragItem:s}=this.state;let{layout:l}=this.state;const{cols:c,preventCollision:u,allowOverlap:d}=this.props,p=(0,a.getLayoutItem)(l,e);if(!p)return;l=(0,a.moveElement)(l,p,t,n,!0,u,(0,a.compactType)(this.props),c,d);const f=d?l:(0,a.compact)(l,(0,a.compactType)(this.props),c);this.props.onDragStop(f,s,p,null,o,i);const{oldLayout:h}=this.state;this.setState({activeDrag:null,layout:f,oldDragItem:null,oldLayout:null}),this.onLayoutMaybeChanged(f,h)})),p(this,"onResizeStart",((e,t,n,r)=>{let{e:o,node:i}=r;const{layout:s}=this.state,l=(0,a.getLayoutItem)(s,e);l&&(this.setState({oldResizeItem:(0,a.cloneLayoutItem)(l),oldLayout:this.state.layout,resizing:!0}),this.props.onResizeStart(s,l,l,null,o,i))})),p(this,"onResize",((e,t,n,r)=>{let{e:o,node:i,size:s,handle:l}=r;const{oldResizeItem:c}=this.state,{layout:u}=this.state,{cols:d,preventCollision:p,allowOverlap:f}=this.props;let h,m,g,v=!1;const[y,b]=(0,a.withLayoutItem)(u,e,(e=>{let r;if(m=e.x,g=e.y,-1!==["sw","w","nw","n","ne"].indexOf(l)&&(-1!==["sw","nw","w"].indexOf(l)&&(m=e.x+(e.w-t),t=e.x!==m&&m<0?e.w:t,m=m<0?0:m),-1!==["ne","n","nw"].indexOf(l)&&(g=e.y+(e.h-n),n=e.y!==g&&g<0?e.h:n,g=g<0?0:g),v=!0),p&&!f){r=(0,a.getAllCollisions)(u,{...e,w:t,h:n,x:m,y:g}).filter((t=>t.i!==e.i)).length>0,r&&(g=e.y,n=e.h,m=e.x,t=e.w,v=!1)}return e.w=t,e.h=n,e}));if(!b)return;if(h=y,v){const e=!0;h=(0,a.moveElement)(y,b,m,g,e,this.props.preventCollision,(0,a.compactType)(this.props),d,f)}const x={w:b.w,h:b.h,x:b.x,y:b.y,static:!0,i:e};this.props.onResize(h,c,b,x,o,i),this.setState({layout:f?h:(0,a.compact)(h,(0,a.compactType)(this.props),d),activeDrag:x})})),p(this,"onResizeStop",((e,t,n,r)=>{let{e:o,node:i}=r;const{layout:s,oldResizeItem:l}=this.state,{cols:c,allowOverlap:u}=this.props,d=(0,a.getLayoutItem)(s,e),p=u?s:(0,a.compact)(s,(0,a.compactType)(this.props),c);this.props.onResizeStop(p,l,d,null,o,i);const{oldLayout:f}=this.state;this.setState({activeDrag:null,layout:p,oldResizeItem:null,oldLayout:null,resizing:!1}),this.onLayoutMaybeChanged(p,f)})),p(this,"onDragOver",(e=>{if(e.preventDefault(),e.stopPropagation(),h&&!e.nativeEvent.target?.classList.contains(f))return!1;const{droppingItem:t,onDropDragOver:n,margin:o,cols:i,rowHeight:a,maxRows:l,width:c,containerPadding:u,transformScale:d}=this.props,p=n?.(e);if(!1===p)return this.state.droppingDOMNode&&this.removeDroppingPlaceholder(),!1;const m={...t,...p},{layout:g}=this.state,v=e.currentTarget.getBoundingClientRect(),y=e.clientX-v.left,b=e.clientY-v.top,x={left:y/d,top:b/d,e:e};if(this.state.droppingDOMNode){if(this.state.droppingPosition){const{left:e,top:t}=this.state.droppingPosition;(e!=y||t!=b)&&this.setState({droppingPosition:x})}}else{const e={cols:i,margin:o,maxRows:l,rowHeight:a,containerWidth:c,containerPadding:u||o},t=(0,s.calcXY)(e,b,y,m.w,m.h);this.setState({droppingDOMNode:r.createElement("div",{key:m.i}),droppingPosition:x,layout:[...g,{...m,x:t.x,y:t.y,static:!1,isDraggable:!0}]})}})),p(this,"removeDroppingPlaceholder",(()=>{const{droppingItem:e,cols:t}=this.props,{layout:n}=this.state,r=(0,a.compact)(n.filter((t=>t.i!==e.i)),(0,a.compactType)(this.props),t,this.props.allowOverlap);this.setState({layout:r,droppingDOMNode:null,activeDrag:null,droppingPosition:void 0})})),p(this,"onDragLeave",(e=>{e.preventDefault(),e.stopPropagation(),this.dragEnterCounter--,0===this.dragEnterCounter&&this.removeDroppingPlaceholder()})),p(this,"onDragEnter",(e=>{e.preventDefault(),e.stopPropagation(),this.dragEnterCounter++})),p(this,"onDrop",(e=>{e.preventDefault(),e.stopPropagation();const{droppingItem:t}=this.props,{layout:n}=this.state,r=n.find((e=>e.i===t.i));this.dragEnterCounter=0,this.removeDroppingPlaceholder(),this.props.onDrop(n,r,e)}))}componentDidMount(){this.setState({mounted:!0}),this.onLayoutMaybeChanged(this.state.layout,this.props.layout)}static getDerivedStateFromProps(e,t){let n;if(t.activeDrag)return null;if((0,o.deepEqual)(e.layout,t.propsLayout)&&e.compactType===t.compactType?(0,a.childrenEqual)(e.children,t.children)||(n=t.layout):n=e.layout,n){return{layout:(0,a.synchronizeLayoutWithChildren)(n,e.children,e.cols,(0,a.compactType)(e),e.allowOverlap),compactType:e.compactType,children:e.children,propsLayout:e.layout}}return null}shouldComponentUpdate(e,t){return this.props.children!==e.children||!(0,a.fastRGLPropsEqual)(this.props,e,o.deepEqual)||this.state.activeDrag!==t.activeDrag||this.state.mounted!==t.mounted||this.state.droppingPosition!==t.droppingPosition}componentDidUpdate(e,t){if(!this.state.activeDrag){const e=this.state.layout,n=t.layout;this.onLayoutMaybeChanged(e,n)}}containerHeight(){if(!this.props.autoSize)return;const e=(0,a.bottom)(this.state.layout),t=this.props.containerPadding?this.props.containerPadding[1]:this.props.margin[1];return e*this.props.rowHeight+(e-1)*this.props.margin[1]+2*t+"px"}onLayoutMaybeChanged(e,t){t||(t=this.state.layout),(0,o.deepEqual)(t,e)||this.props.onLayoutChange(e)}placeholder(){const{activeDrag:e}=this.state;if(!e)return null;const{width:t,cols:n,margin:o,containerPadding:i,rowHeight:a,maxRows:s,useCSSTransforms:c,transformScale:u}=this.props;return r.createElement(l.default,{w:e.w,h:e.h,x:e.x,y:e.y,i:e.i,className:"react-grid-placeholder "+(this.state.resizing?"placeholder-resizing":""),containerWidth:t,cols:n,margin:o,containerPadding:i||o,maxRows:s,rowHeight:a,isDraggable:!1,isResizable:!1,isBounded:!1,useCSSTransforms:c,transformScale:u},r.createElement("div",null))}processGridItem(e,t){if(!e||!e.key)return;const n=(0,a.getLayoutItem)(this.state.layout,String(e.key));if(!n)return null;const{width:o,cols:i,margin:s,containerPadding:c,rowHeight:u,maxRows:d,isDraggable:p,isResizable:f,isBounded:h,useCSSTransforms:m,transformScale:g,draggableCancel:v,draggableHandle:y,resizeHandles:b,resizeHandle:x}=this.props,{mounted:w,droppingPosition:A}=this.state,_="boolean"==typeof n.isDraggable?n.isDraggable:!n.static&&p,S="boolean"==typeof n.isResizable?n.isResizable:!n.static&&f,k=n.resizeHandles||b,C=_&&h&&!1!==n.isBounded;return r.createElement(l.default,{containerWidth:o,cols:i,margin:s,containerPadding:c||s,maxRows:d,rowHeight:u,cancel:v,handle:y,onDragStop:this.onDragStop,onDragStart:this.onDragStart,onDrag:this.onDrag,onResizeStart:this.onResizeStart,onResize:this.onResize,onResizeStop:this.onResizeStop,isDraggable:_,isResizable:S,isBounded:C,useCSSTransforms:m&&w,usePercentages:!w,transformScale:g,w:n.w,h:n.h,x:n.x,y:n.y,i:n.i,minH:n.minH,minW:n.minW,maxH:n.maxH,maxW:n.maxW,static:n.static,droppingPosition:t?A:void 0,resizeHandles:k,resizeHandle:x},e)}render(){const{className:e,style:t,isDroppable:n,innerRef:o}=this.props,s=(0,i.default)(f,e),l={height:this.containerHeight(),...t};return r.createElement("div",{ref:o,className:s,style:l,onDrop:n?this.onDrop:a.noop,onDragLeave:n?this.onDragLeave:a.noop,onDragEnter:n?this.onDragEnter:a.noop,onDragOver:n?this.onDragOver:a.noop},r.Children.map(this.props.children,(e=>this.processGridItem(e))),n&&this.state.droppingDOMNode&&this.processGridItem(this.state.droppingDOMNode,!0),this.placeholder())}}t.default=m,p(m,"displayName","ReactGridLayout"),p(m,"propTypes",c.default),p(m,"defaultProps",{autoSize:!0,cols:12,className:"",style:{},draggableHandle:"",draggableCancel:"",containerPadding:null,rowHeight:150,maxRows:1/0,layout:[],margin:[10,10],isBounded:!1,isDraggable:!0,isResizable:!0,allowOverlap:!1,isDroppable:!1,useCSSTransforms:!0,transformScale:1,verticalCompact:!0,compactType:"vertical",preventCollision:!1,droppingItem:{i:"__dropping-elem__",h:1,w:1},resizeHandles:["se"],onLayoutChange:a.noop,onDragStart:a.noop,onDrag:a.noop,onDragStop:a.noop,onResizeStart:a.noop,onResize:a.noop,onResizeStop:a.noop,onDrop:a.noop,onDropDragOver:a.noop})},58253:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.resizeHandleType=t.resizeHandleAxesType=t.default=void 0;var r=i(n(5556)),o=i(n(96540));function i(e){return e&&e.__esModule?e:{default:e}}const a=t.resizeHandleAxesType=r.default.arrayOf(r.default.oneOf(["s","w","e","n","sw","nw","se","ne"])),s=t.resizeHandleType=r.default.oneOfType([r.default.node,r.default.func]);t.default={className:r.default.string,style:r.default.object,width:r.default.number,autoSize:r.default.bool,cols:r.default.number,draggableCancel:r.default.string,draggableHandle:r.default.string,verticalCompact:function(e){e.verticalCompact,0},compactType:r.default.oneOf(["vertical","horizontal"]),layout:function(e){var t=e.layout;void 0!==t&&n(38426).validateLayout(t,"layout")},margin:r.default.arrayOf(r.default.number),containerPadding:r.default.arrayOf(r.default.number),rowHeight:r.default.number,maxRows:r.default.number,isBounded:r.default.bool,isDraggable:r.default.bool,isResizable:r.default.bool,allowOverlap:r.default.bool,preventCollision:r.default.bool,useCSSTransforms:r.default.bool,transformScale:r.default.number,isDroppable:r.default.bool,resizeHandles:a,resizeHandle:s,onLayoutChange:r.default.func,onDragStart:r.default.func,onDrag:r.default.func,onDragStop:r.default.func,onResizeStart:r.default.func,onResize:r.default.func,onResizeStop:r.default.func,onDrop:r.default.func,droppingItem:r.default.shape({i:r.default.string.isRequired,w:r.default.number.isRequired,h:r.default.number.isRequired}),children:function(e,t){const n=e[t],r={};o.default.Children.forEach(n,(function(e){if(null!=e?.key){if(r[e.key])throw new Error('Duplicate child key "'+e.key+'" found! This will cause problems in ReactGridLayout.');r[e.key]=!0}}))},innerRef:r.default.any}},59864:function(e,t,n){"use strict";t.default=void 0;var r=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=u(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=o?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,n&&n.set(e,r),r}(n(96540)),o=c(n(5556)),i=n(51548),a=n(38426),s=n(3108),l=c(n(59742));function c(e){return e&&e.__esModule?e:{default:e}}function u(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(u=function(e){return e?n:t})(e)}function d(){return d=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},d.apply(this,arguments)}function p(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const f=e=>Object.prototype.toString.call(e);function h(e,t){return null==e?null:Array.isArray(e)?e:e[t]}class m extends r.Component{constructor(){super(...arguments),p(this,"state",this.generateInitialState()),p(this,"onLayoutChange",(e=>{this.props.onLayoutChange(e,{...this.props.layouts,[this.state.breakpoint]:e})}))}generateInitialState(){const{width:e,breakpoints:t,layouts:n,cols:r}=this.props,o=(0,s.getBreakpointFromWidth)(t,e),i=(0,s.getColsFromBreakpoint)(o,r),a=!1===this.props.verticalCompact?null:this.props.compactType;return{layout:(0,s.findOrGenerateResponsiveLayout)(n,t,o,o,i,a),breakpoint:o,cols:i}}static getDerivedStateFromProps(e,t){if(!(0,i.deepEqual)(e.layouts,t.layouts)){const{breakpoint:n,cols:r}=t;return{layout:(0,s.findOrGenerateResponsiveLayout)(e.layouts,e.breakpoints,n,n,r,e.compactType),layouts:e.layouts}}return null}componentDidUpdate(e){this.props.width==e.width&&this.props.breakpoint===e.breakpoint&&(0,i.deepEqual)(this.props.breakpoints,e.breakpoints)&&(0,i.deepEqual)(this.props.cols,e.cols)||this.onWidthChange(e)}onWidthChange(e){const{breakpoints:t,cols:n,layouts:r,compactType:o}=this.props,i=this.props.breakpoint||(0,s.getBreakpointFromWidth)(this.props.breakpoints,this.props.width),l=this.state.breakpoint,c=(0,s.getColsFromBreakpoint)(i,n),u={...r};if(l!==i||e.breakpoints!==t||e.cols!==n){l in u||(u[l]=(0,a.cloneLayout)(this.state.layout));let e=(0,s.findOrGenerateResponsiveLayout)(u,t,i,l,c,o);e=(0,a.synchronizeLayoutWithChildren)(e,this.props.children,c,o,this.props.allowOverlap),u[i]=e,this.props.onLayoutChange(e,u),this.props.onBreakpointChange(i,c),this.setState({breakpoint:i,layout:e,cols:c})}const d=h(this.props.margin,i),p=h(this.props.containerPadding,i);this.props.onWidthChange(this.props.width,d,c,p)}render(){const{breakpoint:e,breakpoints:t,cols:n,layouts:o,margin:i,containerPadding:a,onBreakpointChange:s,onLayoutChange:c,onWidthChange:u,...p}=this.props;return r.createElement(l.default,d({},p,{margin:h(i,this.state.breakpoint),containerPadding:h(a,this.state.breakpoint),onLayoutChange:this.onLayoutChange,layout:this.state.layout,cols:this.state.cols}))}}t.default=m,p(m,"propTypes",{breakpoint:o.default.string,breakpoints:o.default.object,allowOverlap:o.default.bool,cols:o.default.object,margin:o.default.oneOfType([o.default.array,o.default.object]),containerPadding:o.default.oneOfType([o.default.array,o.default.object]),layouts(e,t){if("[object Object]"!==f(e[t]))throw new Error("Layout property must be an object. Received: "+f(e[t]));Object.keys(e[t]).forEach((t=>{if(!(t in e.breakpoints))throw new Error("Each key in layouts must align with a key in breakpoints.");(0,a.validateLayout)(e.layouts[t],"layouts."+t)}))},width:o.default.number.isRequired,onBreakpointChange:o.default.func,onLayoutChange:o.default.func,onWidthChange:o.default.func}),p(m,"defaultProps",{breakpoints:{lg:1200,md:996,sm:768,xs:480,xxs:0},cols:{lg:12,md:10,sm:6,xs:4,xxs:2},containerPadding:{lg:null,md:null,sm:null,xs:null,xxs:null},layouts:{},margin:[10,10],allowOverlap:!1,onBreakpointChange:a.noop,onLayoutChange:a.noop,onWidthChange:a.noop})},82134:function(e,t){"use strict";function n(e){const{margin:t,containerPadding:n,containerWidth:r,cols:o}=e;return(r-t[0]*(o-1)-2*n[0])/o}function r(e,t,n){return Number.isFinite(e)?Math.round(t*e+Math.max(0,e-1)*n):e}function o(e,t,n){return Math.max(Math.min(e,n),t)}Object.defineProperty(t,"__esModule",{value:!0}),t.calcGridColWidth=n,t.calcGridItemPosition=function(e,t,o,i,a,s){const{margin:l,containerPadding:c,rowHeight:u}=e,d=n(e),p={};s&&s.resizing?(p.width=Math.round(s.resizing.width),p.height=Math.round(s.resizing.height)):(p.width=r(i,d,l[0]),p.height=r(a,u,l[1]));s&&s.dragging?(p.top=Math.round(s.dragging.top),p.left=Math.round(s.dragging.left)):s&&s.resizing&&"number"==typeof s.resizing.top&&"number"==typeof s.resizing.left?(p.top=Math.round(s.resizing.top),p.left=Math.round(s.resizing.left)):(p.top=Math.round((u+l[1])*o+c[1]),p.left=Math.round((d+l[0])*t+c[0]));return p},t.calcGridItemWHPx=r,t.calcWH=function(e,t,r,i,a,s){const{margin:l,maxRows:c,cols:u,rowHeight:d}=e,p=n(e);let f=Math.round((t+l[0])/(p+l[0])),h=Math.round((r+l[1])/(d+l[1])),m=o(f,0,u-i),g=o(h,0,c-a);-1!==["sw","w","nw"].indexOf(s)&&(m=o(f,0,u));-1!==["nw","n","ne"].indexOf(s)&&(g=o(h,0,c));return{w:m,h:g}},t.calcXY=function(e,t,r,i,a){const{margin:s,cols:l,rowHeight:c,maxRows:u}=e,d=n(e);let p=Math.round((r-s[0])/(d+s[0])),f=Math.round((t-s[1])/(c+s[1]));return p=o(p,0,l-i),f=o(f,0,u-a),{x:p,y:f}},t.clamp=o},35001:function(e,t,n){"use strict";t.default=function(e){var t;return t=class extends r.Component{constructor(){super(...arguments),u(this,"state",{width:1280}),u(this,"elementRef",r.createRef()),u(this,"mounted",!1),u(this,"resizeObserver",void 0)}componentDidMount(){this.mounted=!0,this.resizeObserver=new i.default((e=>{if(this.elementRef.current instanceof HTMLElement){const t=e[0].contentRect.width;this.setState({width:t})}}));const e=this.elementRef.current;e instanceof HTMLElement&&this.resizeObserver.observe(e)}componentWillUnmount(){this.mounted=!1;const e=this.elementRef.current;e instanceof HTMLElement&&this.resizeObserver.unobserve(e),this.resizeObserver.disconnect()}render(){const{measureBeforeMount:t,...n}=this.props;return t&&!this.mounted?r.createElement("div",{className:(0,a.default)(this.props.className,d),style:this.props.style,ref:this.elementRef}):r.createElement(e,c({innerRef:this.elementRef},n,this.state))}},u(t,"defaultProps",{measureBeforeMount:!1}),u(t,"propTypes",{measureBeforeMount:o.default.bool}),t};var r=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=l(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=o?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,n&&n.set(e,r),r}(n(96540)),o=s(n(5556)),i=s(n(43591)),a=s(n(71508));function s(e){return e&&e.__esModule?e:{default:e}}function l(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(l=function(e){return e?n:t})(e)}function c(){return c=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},c.apply(this,arguments)}function u(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const d="react-grid-layout"},72590:function(e){e.exports=function(e,t,n){return e===t||e.className===t.className&&n(e.style,t.style)&&e.width===t.width&&e.autoSize===t.autoSize&&e.cols===t.cols&&e.draggableCancel===t.draggableCancel&&e.draggableHandle===t.draggableHandle&&n(e.verticalCompact,t.verticalCompact)&&n(e.compactType,t.compactType)&&n(e.layout,t.layout)&&n(e.margin,t.margin)&&n(e.containerPadding,t.containerPadding)&&e.rowHeight===t.rowHeight&&e.maxRows===t.maxRows&&e.isBounded===t.isBounded&&e.isDraggable===t.isDraggable&&e.isResizable===t.isResizable&&e.allowOverlap===t.allowOverlap&&e.preventCollision===t.preventCollision&&e.useCSSTransforms===t.useCSSTransforms&&e.transformScale===t.transformScale&&e.isDroppable===t.isDroppable&&n(e.resizeHandles,t.resizeHandles)&&n(e.resizeHandle,t.resizeHandle)&&e.onLayoutChange===t.onLayoutChange&&e.onDragStart===t.onDragStart&&e.onDrag===t.onDrag&&e.onDragStop===t.onDragStop&&e.onResizeStart===t.onResizeStart&&e.onResize===t.onResize&&e.onResizeStop===t.onResizeStop&&e.onDrop===t.onDrop&&n(e.droppingItem,t.droppingItem)&&n(e.innerRef,t.innerRef)}},3108:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.findOrGenerateResponsiveLayout=function(e,t,n,i,a,s){if(e[n])return(0,r.cloneLayout)(e[n]);let l=e[i];const c=o(t),u=c.slice(c.indexOf(n));for(let t=0,n=u.length;t<n;t++){const n=u[t];if(e[n]){l=e[n];break}}return l=(0,r.cloneLayout)(l||[]),(0,r.compact)((0,r.correctBounds)(l,{cols:a}),s,a)},t.getBreakpointFromWidth=function(e,t){const n=o(e);let r=n[0];for(let o=1,i=n.length;o<i;o++){const i=n[o];t>e[i]&&(r=i)}return r},t.getColsFromBreakpoint=function(e,t){if(!t[e])throw new Error("ResponsiveReactGridLayout: `cols` entry for breakpoint "+e+" is missing!");return t[e]},t.sortBreakpoints=o;var r=n(38426);function o(e){return Object.keys(e).sort((function(t,n){return e[t]-e[n]}))}},38426:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.bottom=l,t.childrenEqual=function(e,t){return(0,o.deepEqual)(i.default.Children.map(e,(e=>e?.key)),i.default.Children.map(t,(e=>e?.key)))&&(0,o.deepEqual)(i.default.Children.map(e,(e=>e?.props["data-grid"])),i.default.Children.map(t,(e=>e?.props["data-grid"])))},t.cloneLayout=c,t.cloneLayoutItem=d,t.collides=p,t.compact=f,t.compactItem=g,t.compactType=function(e){const{verticalCompact:t,compactType:n}=e||{};return!1===t?null:n},t.correctBounds=v,t.fastPositionEqual=function(e,t){return e.left===t.left&&e.top===t.top&&e.width===t.width&&e.height===t.height},t.fastRGLPropsEqual=void 0,t.getAllCollisions=x,t.getFirstCollision=b,t.getLayoutItem=y,t.getStatics=w,t.modifyLayout=u,t.moveElement=A,t.moveElementAwayFromCollision=_,t.noop=void 0,t.perc=function(e){return 100*e+"%"},t.resizeItemInDirection=function(e,t,n,r){const o=D[e];return o?o(t,{...t,...n},r):n},t.setTopLeft=function(e){let{top:t,left:n,width:r,height:o}=e;return{top:`${t}px`,left:`${n}px`,width:`${r}px`,height:`${o}px`,position:"absolute"}},t.setTransform=function(e){let{top:t,left:n,width:r,height:o}=e;const i=`translate(${n}px,${t}px)`;return{transform:i,WebkitTransform:i,MozTransform:i,msTransform:i,OTransform:i,width:`${r}px`,height:`${o}px`,position:"absolute"}},t.sortLayoutItems=R,t.sortLayoutItemsByColRow=N,t.sortLayoutItemsByRowCol=I,t.synchronizeLayoutWithChildren=function(e,t,n,r,o){e=e||[];const s=[];i.default.Children.forEach(t,(t=>{if(null==t?.key)return;const n=y(e,String(t.key)),r=t.props["data-grid"];n&&null==r?s.push(d(n)):r?(a||L([r],"ReactGridLayout.children"),s.push(d({...r,i:t.key}))):s.push(d({w:1,h:1,x:0,y:l(s),i:String(t.key)}))}));const c=v(s,{cols:n});return o?c:f(c,r,n)},t.validateLayout=L,t.withLayoutItem=function(e,t,n){let r=y(e,t);return r?(r=n(d(r)),[e=u(e,r),r]):[e,null]};var r,o=n(51548),i=(r=n(96540))&&r.__esModule?r:{default:r};const a=!0,s=!1;function l(e){let t,n=0;for(let r=0,o=e.length;r<o;r++)t=e[r].y+e[r].h,t>n&&(n=t);return n}function c(e){const t=Array(e.length);for(let n=0,r=e.length;n<r;n++)t[n]=d(e[n]);return t}function u(e,t){const n=Array(e.length);for(let r=0,o=e.length;r<o;r++)t.i===e[r].i?n[r]=t:n[r]=e[r];return n}function d(e){return{w:e.w,h:e.h,x:e.x,y:e.y,i:e.i,minW:e.minW,maxW:e.maxW,minH:e.minH,maxH:e.maxH,moved:Boolean(e.moved),static:Boolean(e.static),isDraggable:e.isDraggable,isResizable:e.isResizable,resizeHandles:e.resizeHandles,isBounded:e.isBounded}}t.fastRGLPropsEqual=n(72590);function p(e,t){return e.i!==t.i&&(!(e.x+e.w<=t.x)&&(!(e.x>=t.x+t.w)&&(!(e.y+e.h<=t.y)&&!(e.y>=t.y+t.h))))}function f(e,t,n,r){const o=w(e),i=R(e,t),a=Array(e.length);for(let s=0,l=i.length;s<l;s++){let l=d(i[s]);l.static||(l=g(o,l,t,n,i,r),o.push(l)),a[e.indexOf(i[s])]=l,l.moved=!1}return a}const h={x:"w",y:"h"};function m(e,t,n,r){const o=h[r];t[r]+=1;for(let i=e.map((e=>e.i)).indexOf(t.i)+1;i<e.length;i++){const a=e[i];if(!a.static){if(a.y>t.y+t.h)break;p(t,a)&&m(e,a,n+t[o],r)}}t[r]=n}function g(e,t,n,r,o,i){const a="horizontal"===n;if("vertical"===n)for(t.y=Math.min(l(e),t.y);t.y>0&&!b(e,t);)t.y--;else if(a)for(;t.x>0&&!b(e,t);)t.x--;let s;for(;(s=b(e,t))&&(null!==n||!i);)if(a?m(o,t,s.x+s.w,"x"):m(o,t,s.y+s.h,"y"),a&&t.x+t.w>r)for(t.x=r-t.w,t.y++;t.x>0&&!b(e,t);)t.x--;return t.y=Math.max(t.y,0),t.x=Math.max(t.x,0),t}function v(e,t){const n=w(e);for(let r=0,o=e.length;r<o;r++){const o=e[r];if(o.x+o.w>t.cols&&(o.x=t.cols-o.w),o.x<0&&(o.x=0,o.w=t.cols),o.static)for(;b(n,o);)o.y++;else n.push(o)}return e}function y(e,t){for(let n=0,r=e.length;n<r;n++)if(e[n].i===t)return e[n]}function b(e,t){for(let n=0,r=e.length;n<r;n++)if(p(e[n],t))return e[n]}function x(e,t){return e.filter((e=>p(e,t)))}function w(e){return e.filter((e=>e.static))}function A(e,t,n,r,o,i,a,s,l){if(t.static&&!0!==t.isDraggable)return e;if(t.y===r&&t.x===n)return e;j(`Moving element ${t.i} to [${String(n)},${String(r)}] from [${t.x},${t.y}]`);const u=t.x,d=t.y;"number"==typeof n&&(t.x=n),"number"==typeof r&&(t.y=r),t.moved=!0;let p=R(e,a);("vertical"===a&&"number"==typeof r?d>=r:"horizontal"===a&&"number"==typeof n&&u>=n)&&(p=p.reverse());const f=x(p,t),h=f.length>0;if(h&&l)return c(e);if(h&&i)return j(`Collision prevented on ${t.i}, reverting.`),t.x=u,t.y=d,t.moved=!1,e;for(let n=0,r=f.length;n<r;n++){const r=f[n];j(`Resolving collision between ${t.i} at [${t.x},${t.y}] and ${r.i} at [${r.x},${r.y}]`),r.moved||(e=r.static?_(e,r,t,o,a,s):_(e,t,r,o,a,s))}return e}function _(e,t,n,r,o,i){const a="horizontal"===o,s="vertical"===o,l=t.static;if(r){r=!1;const c={x:a?Math.max(t.x-n.w,0):n.x,y:s?Math.max(t.y-n.h,0):n.y,w:n.w,h:n.h,i:"-1"},u=b(e,c),d=u&&u.y+u.h>t.y,p=u&&t.x+t.w>u.x;if(!u)return j(`Doing reverse collision on ${n.i} up to [${c.x},${c.y}].`),A(e,n,a?c.x:void 0,s?c.y:void 0,r,l,o,i);if(d&&s)return A(e,n,void 0,t.y+1,r,l,o,i);if(d&&null==o)return t.y=n.y,n.y=n.y+n.h,e;if(p&&a)return A(e,t,n.x,void 0,r,l,o,i)}const c=a?n.x+1:void 0,u=s?n.y+1:void 0;return null==c&&null==u?e:A(e,n,a?n.x+1:void 0,s?n.y+1:void 0,r,l,o,i)}const S=(e,t,n,r)=>e+n>r?t:n,k=(e,t,n)=>e<0?t:n,C=e=>Math.max(0,e),T=e=>Math.max(0,e),M=(e,t,n)=>{let{left:r,height:o,width:i}=t;const a=e.top-(o-e.height);return{left:r,width:i,height:k(a,e.height,o),top:T(a)}},P=(e,t,n)=>{let{top:r,left:o,height:i,width:a}=t;return{top:r,height:i,width:S(e.left,e.width,a,n),left:C(o)}},O=(e,t,n)=>{let{top:r,height:o,width:i}=t;const a=e.left-(i-e.width);return{height:o,width:a<0?e.width:S(e.left,e.width,i,n),top:T(r),left:C(a)}},E=(e,t,n)=>{let{top:r,left:o,height:i,width:a}=t;return{width:a,left:o,height:k(r,e.height,i),top:T(r)}},D={n:M,ne:function(){return M(arguments.length<=0?void 0:arguments[0],P(...arguments))},e:P,se:function(){return E(arguments.length<=0?void 0:arguments[0],P(...arguments))},s:E,sw:function(){return E(arguments.length<=0?void 0:arguments[0],O(...arguments))},w:O,nw:function(){return M(arguments.length<=0?void 0:arguments[0],O(...arguments))}};function R(e,t){return"horizontal"===t?N(e):"vertical"===t?I(e):e}function I(e){return e.slice(0).sort((function(e,t){return e.y>t.y||e.y===t.y&&e.x>t.x?1:e.y===t.y&&e.x===t.x?0:-1}))}function N(e){return e.slice(0).sort((function(e,t){return e.x>t.x||e.x===t.x&&e.y>t.y?1:-1}))}function L(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"Layout";const n=["x","y","w","h"];if(!Array.isArray(e))throw new Error(t+" must be an array!");for(let r=0,o=e.length;r<o;r++){const o=e[r];for(let e=0;e<n.length;e++)if("number"!=typeof o[n[e]])throw new Error("ReactGridLayout: "+t+"["+r+"]."+n[e]+" must be a number!")}}function j(){s&&console.log(...arguments)}t.noop=()=>{}},66816:function(e,t,n){e.exports=n(59742).default,e.exports.utils=n(38426),e.exports.calculateUtils=n(82134),e.exports.Responsive=n(59864).default,e.exports.Responsive.utils=n(3108),e.exports.WidthProvider=n(35001).default},13472:function(e,t){t.hot=function(e){return e}},22799:function(e,t){"use strict";var n,r=Symbol.for("react.element"),o=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),l=Symbol.for("react.provider"),c=Symbol.for("react.context"),u=Symbol.for("react.server_context"),d=Symbol.for("react.forward_ref"),p=Symbol.for("react.suspense"),f=Symbol.for("react.suspense_list"),h=Symbol.for("react.memo"),m=Symbol.for("react.lazy"),g=Symbol.for("react.offscreen");function v(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case i:case s:case a:case p:case f:return e;default:switch(e=e&&e.$$typeof){case u:case c:case d:case m:case h:case l:return e;default:return t}}case o:return t}}}n=Symbol.for("react.module.reference"),t.ForwardRef=d,t.Memo=h,t.isContextConsumer=function(e){return v(e)===c}},44363:function(e,t,n){"use strict";e.exports=n(22799)},32434:function(e,t,n){"use strict";n.r(t),n.d(t,{NumberFormatBase:function(){return E},NumericFormat:function(){return j},PatternFormat:function(){return H},getNumericCaretBoundary:function(){return N},getPatternCaretBoundary:function(){return F},numericFormatter:function(){return D},patternFormatter:function(){return $},removeNumericFormat:function(){return I},removePatternFormat:function(){return z},useNumericFormat:function(){return L},usePatternFormat:function(){return B}});var r,o=n(96540);function i(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}function a(){}function s(e){return!!(e||"").match(/\d/)}function l(e){return null==e}function c(e){return l(e)||function(e){return"number"==typeof e&&isNaN(e)}(e)||"number"==typeof e&&!isFinite(e)}function u(e){return e.replace(/[-[\]/{}()*+?.\\^$|]/g,"\\$&")}function d(e,t){void 0===t&&(t=!0);var n="-"===e[0],r=n&&t,o=(e=e.replace("-","")).split(".");return{beforeDecimal:o[0],afterDecimal:o[1]||"",hasNegation:n,addNegation:r}}function p(e,t,n){for(var r="",o=n?"0":"",i=0;i<=t-1;i++)r+=e[i]||o;return r}function f(e,t){return Array(t+1).join(e)}function h(e){var t=e+"",n="-"===t[0]?"-":"";n&&(t=t.substring(1));var r=t.split(/[eE]/g),o=r[0],i=r[1];if(!(i=Number(i)))return n+o;var a=1+i,s=(o=o.replace(".","")).length;return a<0?o="0."+f("0",Math.abs(a))+o:a>=s?o+=f("0",a-s):o=(o.substring(0,a)||"0")+"."+o.substring(a),n+o}function m(e,t,n){if(-1!==["","-"].indexOf(e))return e;var r=(-1!==e.indexOf(".")||n)&&t,o=d(e),i=o.beforeDecimal,a=o.afterDecimal,s=o.hasNegation,l=parseFloat("0."+(a||"0")),c=(a.length<=t?"0."+a:l.toFixed(t)).split("."),u=i;return i&&Number(c[0])&&(u=i.split("").reverse().reduce((function(e,t,n){return e.length>n?(Number(e[0])+Number(t)).toString()+e.substring(1,e.length):t+e}),c[0])),""+(s?"-":"")+u+(r?".":"")+p(c[1]||"",t,n)}function g(e,t){if(e.value=e.value,null!==e){if(e.createTextRange){var n=e.createTextRange();return n.move("character",t),n.select(),!0}return e.selectionStart||0===e.selectionStart?(e.focus(),e.setSelectionRange(t,t),!0):(e.focus(),!1)}}!function(e){e.event="event",e.props="prop"}(r||(r={}));var v,y,b,x=(v=function(e,t){for(var n=0,r=0,o=e.length,i=t.length;e[n]===t[n]&&n<o;)n++;for(;e[o-1-r]===t[i-1-r]&&i-r>n&&o-r>n;)r++;return{from:{start:n,end:o-r},to:{start:n,end:i-r}}},b=void 0,function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return y&&e.length===y.length&&e.every((function(e,t){return e===y[t]}))?b:(y=e,b=v.apply(void 0,e))}),w=function(e,t){var n=Math.min(e.selectionStart,t);return{from:{start:n,end:e.selectionEnd},to:{start:n,end:t}}};function A(e){return Math.max(e.selectionStart,e.selectionEnd)}function _(e){return{from:{start:0,end:0},to:{start:0,end:e.length},lastValue:""}}function S(e,t){return void 0===e&&(e=" "),"string"==typeof e?e:e[t]||" "}function k(e){var t=e.currentValue,n=e.formattedValue,r=e.currentValueIndex,o=e.formattedValueIndex;return t[r]===n[o]}function C(e,t,n,r){var o,i,a,s=e.length;if(o=t,i=0,a=s,t=Math.min(Math.max(o,i),a),"left"===r){for(;t>=0&&!n[t];)t--;-1===t&&(t=n.indexOf(!0))}else{for(;t<=s&&!n[t];)t++;t>s&&(t=n.lastIndexOf(!0))}return-1===t&&(t=s),t}function T(e){for(var t=Array.from({length:e.length+1}).map((function(){return!0})),n=0,r=t.length;n<r;n++)t[n]=Boolean(s(e[n])||s(e[n-1]));return t}function M(e,t,n,r,i,s){void 0===s&&(s=a);var u=function(e){var t=(0,o.useRef)(e);t.current=e;var n=(0,o.useRef)((function(){for(var e=[],n=arguments.length;n--;)e[n]=arguments[n];return t.current.apply(t,e)}));return n.current}((function(e,t){var n,o;return c(e)?(o="",n=""):"number"==typeof e||t?(o="number"==typeof e?h(e):e,n=r(o)):(o=i(e,void 0),n=r(o)),{formattedValue:n,numAsString:o}})),d=(0,o.useState)((function(){return u(l(e)?t:e,n)})),p=d[0],f=d[1],m=e,g=n;l(e)&&(m=p.numAsString,g=!0);var v=u(m,g);return(0,o.useMemo)((function(){f(v)}),[v.formattedValue]),[p,function(e,t){e.formattedValue!==p.formattedValue&&f({formattedValue:e.formattedValue,numAsString:e.value}),s(e,t)}]}function P(e){return e.replace(/[^0-9]/g,"")}function O(e){return e}function E(e){var t=e.type;void 0===t&&(t="text");var n=e.displayType;void 0===n&&(n="input");var l=e.customInput,c=e.renderText,u=e.getInputRef,d=e.format;void 0===d&&(d=O);var p=e.removeFormatting;void 0===p&&(p=P);var f=e.defaultValue,h=e.valueIsNumericString,m=e.onValueChange,v=e.isAllowed,y=e.onChange;void 0===y&&(y=a);var b=e.onKeyDown;void 0===b&&(b=a);var _=e.onMouseUp;void 0===_&&(_=a);var S=e.onFocus;void 0===S&&(S=a);var E=e.onBlur;void 0===E&&(E=a);var D=e.value,R=e.getCaretBoundary;void 0===R&&(R=T);var I=e.isValidInputCharacter;void 0===I&&(I=s);var N=e.isCharacterSame,L=i(e,["type","displayType","customInput","renderText","getInputRef","format","removeFormatting","defaultValue","valueIsNumericString","onValueChange","isAllowed","onChange","onKeyDown","onMouseUp","onFocus","onBlur","value","getCaretBoundary","isValidInputCharacter","isCharacterSame"]),j=M(D,f,Boolean(h),d,p,m),$=j[0],z=$.formattedValue,F=$.numAsString,B=j[1],H=(0,o.useRef)(),V=(0,o.useRef)({formattedValue:z,numAsString:F}),W=function(e,t){V.current={formattedValue:e.formattedValue,numAsString:e.value},B(e,t)},U=(0,o.useState)(!1),q=U[0],G=U[1],Y=(0,o.useRef)(null),X=(0,o.useRef)({setCaretTimeout:null,focusTimeout:null});(0,o.useEffect)((function(){return G(!0),function(){clearTimeout(X.current.setCaretTimeout),clearTimeout(X.current.focusTimeout)}}),[]);var K=d,Z=function(e,t){var n=parseFloat(t);return{formattedValue:e,value:t,floatValue:isNaN(n)?void 0:n}},J=function(e,t,n){0===e.selectionStart&&e.selectionEnd===e.value.length||(g(e,t),X.current.setCaretTimeout=setTimeout((function(){e.value===n&&e.selectionStart!==t&&g(e,t)}),0))},Q=function(e,t,n){return C(e,t,R(e),n)},ee=function(e,t,n){var r=R(t),o=function(e,t,n,r,o,i,a){void 0===a&&(a=k);var s=o.findIndex((function(e){return e})),l=e.slice(0,s);t||n.startsWith(l)||(t=l,n=l+n,r+=l.length);for(var c=n.length,u=e.length,d={},p=new Array(c),f=0;f<c;f++){p[f]=-1;for(var h=0,m=u;h<m;h++)if(a({currentValue:n,lastValue:t,formattedValue:e,currentValueIndex:f,formattedValueIndex:h})&&!0!==d[h]){p[f]=h,d[h]=!0;break}}for(var g=r;g<c&&(-1===p[g]||!i(n[g]));)g++;var v=g===c||-1===p[g]?u:p[g];for(g=r-1;g>0&&-1===p[g];)g--;var y=-1===g||-1===p[g]?0:p[g]+1;return y>v?v:r-y<v-r?y:v}(t,z,e,n,r,I,N);return o=C(t,o,r)};(0,o.useEffect)((function(){var e=V.current,t=e.formattedValue,n=e.numAsString;z===t&&F===n||W(Z(z,F),{event:void 0,source:r.props})}),[z,F]);var te=Y.current?A(Y.current):void 0;("undefined"!=typeof window?o.useLayoutEffect:o.useEffect)((function(){var e=Y.current;if(z!==V.current.formattedValue&&e){var t=ee(V.current.formattedValue,z,te);e.value=z,J(e,t,z)}}),[z]);var ne=function(e,t,n){var r=t.target,o=H.current?w(H.current,r.selectionEnd):x(z,e),i=Object.assign(Object.assign({},o),{lastValue:z}),a=p(e,i),s=K(a);if(a=p(s,void 0),v&&!v(Z(s,a))){var l=t.target,c=A(l),u=ee(e,z,c);return l.value=z,J(l,u,z),!1}return function(e){var t=e.formattedValue;void 0===t&&(t="");var n,r=e.input,o=e.source,i=e.event,a=e.numAsString;if(r){var s=e.inputValue||r.value,l=A(r);r.value=t,void 0!==(n=ee(s,t,l))&&J(r,n,t)}t!==z&&W(Z(t,a),{event:i,source:o})}({formattedValue:s,numAsString:a,inputValue:e,event:t,source:n,input:t.target}),!0},re=function(e,t){void 0===t&&(t=0);var n=e.selectionStart,r=e.selectionEnd;H.current={selectionStart:n,selectionEnd:r+t}},oe=!q||"undefined"==typeof navigator||navigator.platform&&/iPhone|iPod/.test(navigator.platform)?void 0:"numeric",ie=Object.assign({inputMode:oe},L,{type:t,value:z,onChange:function(e){var t=e.target.value;ne(t,e,r.event)&&y(e),H.current=void 0},onKeyDown:function(e){var t,n=e.target,r=e.key,o=n.selectionStart,i=n.selectionEnd,a=n.value;void 0===a&&(a=""),"ArrowLeft"===r||"Backspace"===r?t=Math.max(o-1,0):"ArrowRight"===r?t=Math.min(o+1,a.length):"Delete"===r&&(t=o);var s=0;"Delete"===r&&o===i&&(s=1);var l="ArrowLeft"===r||"ArrowRight"===r;if(void 0===t||o!==i&&!l)return b(e),void re(n,s);var c=t;l?(c=Q(a,t,"ArrowLeft"===r?"left":"right"))!==t&&e.preventDefault():"Delete"!==r||I(a[t])?"Backspace"!==r||I(a[t])||(c=Q(a,t,"left")):c=Q(a,t,"right");c!==t&&J(n,c,a),b(e),re(n,s)},onMouseUp:function(e){var t=e.target,n=function(){var e=t.selectionStart,n=t.selectionEnd,r=t.value;if(void 0===r&&(r=""),e===n){var o=Q(r,e);o!==e&&J(t,o,r)}};n(),requestAnimationFrame((function(){n()})),_(e),re(t)},onFocus:function(e){e.persist&&e.persist();var t=e.target,n=e.currentTarget;Y.current=t,X.current.focusTimeout=setTimeout((function(){var r=t.selectionStart,o=t.selectionEnd,i=t.value;void 0===i&&(i="");var a=Q(i,r);a===r||0===r&&o===i.length||J(t,a,i),S(Object.assign(Object.assign({},e),{currentTarget:n}))}),0)},onBlur:function(e){Y.current=null,clearTimeout(X.current.focusTimeout),clearTimeout(X.current.setCaretTimeout),E(e)}});if("text"===n)return c?o.createElement(o.Fragment,null,c(z,L)||null):o.createElement("span",Object.assign({},L,{ref:u}),z);if(l){var ae=l;return o.createElement(ae,Object.assign({},ie,{ref:u}))}return o.createElement("input",Object.assign({},ie,{ref:u}))}function D(e,t){var n=t.decimalScale,r=t.fixedDecimalScale,o=t.prefix;void 0===o&&(o="");var i=t.suffix;void 0===i&&(i="");var a=t.allowNegative,s=t.thousandsGroupStyle;if(void 0===s&&(s="thousand"),""===e||"-"===e)return e;var l=R(t),c=l.thousandSeparator,u=l.decimalSeparator,f=0!==n&&-1!==e.indexOf(".")||n&&r,h=d(e,a),m=h.beforeDecimal,g=h.afterDecimal,v=h.addNegation;return void 0!==n&&(g=p(g,n,!!r)),c&&(m=function(e,t,n){var r=function(e){switch(e){case"lakh":return/(\d+?)(?=(\d\d)+(\d)(?!\d))(\.\d+)?/g;case"wan":return/(\d)(?=(\d{4})+(?!\d))/g;default:return/(\d)(?=(\d{3})+(?!\d))/g}}(n),o=e.search(/[1-9]/);return o=-1===o?e.length:o,e.substring(0,o)+e.substring(o,e.length).replace(r,"$1"+t)}(m,c,s)),o&&(m=o+m),i&&(g+=i),v&&(m="-"+m),e=m+(f&&u||"")+g}function R(e){var t=e.decimalSeparator;void 0===t&&(t=".");var n=e.thousandSeparator,r=e.allowedDecimalSeparators;return!0===n&&(n=","),r||(r=[t,"."]),{decimalSeparator:t,thousandSeparator:n,allowedDecimalSeparators:r}}function I(e,t,n){var r;void 0===t&&(t=_(e));var o=n.allowNegative,i=n.prefix;void 0===i&&(i="");var a=n.suffix;void 0===a&&(a="");var l=n.decimalScale,c=t.from,p=t.to,f=p.start,h=p.end,m=R(n),g=m.allowedDecimalSeparators,v=m.decimalSeparator,y=e[h]===v;if(s(e)&&(e===i||e===a)&&""===t.lastValue)return e;if(h-f==1&&-1!==g.indexOf(e[f])){var b=0===l?"":v;e=e.substring(0,f)+b+e.substring(f+1,e.length)}var x=function(e,t,n){var r=!1,o=!1;i.startsWith("-")?r=!1:e.startsWith("--")?(r=!1,o=!0):a.startsWith("-")&&e.length===a.length?r=!1:"-"===e[0]&&(r=!0);var s=r?1:0;return o&&(s=2),s&&(e=e.substring(s),t-=s,n-=s),{value:e,start:t,end:n,hasNegation:r}},w=x(e,f,h),A=w.hasNegation;e=(r=w).value,f=r.start,h=r.end;var S=x(t.lastValue,c.start,c.end),k=S.start,C=S.end,T=S.value,M=e.substring(f,h);!(e.length&&T.length&&(k>T.length-a.length||C<i.length))||M&&a.startsWith(M)||(e=T);var P=0;e.startsWith(i)?P+=i.length:f<i.length&&(P=f),h-=P;var O=(e=e.substring(P)).length,E=e.length-a.length;e.endsWith(a)?O=E:(h>E||h>e.length-a.length)&&(O=h),e=e.substring(0,O),e=function(e,t){void 0===e&&(e="");var n=new RegExp("(-)"),r=new RegExp("(-)(.)*(-)"),o=n.test(e),i=r.test(e);return e=e.replace(/-/g,""),o&&!i&&t&&(e="-"+e),e}(A?"-"+e:e,o),e=(e.match(function(e,t){return new RegExp("(^-)|[0-9]|"+u(e),t?"g":void 0)}(v,!0))||[]).join("");var D=e.indexOf(v),I=d(e=e.replace(new RegExp(u(v),"g"),(function(e,t){return t===D?".":""})),o),N=I.beforeDecimal,L=I.afterDecimal,j=I.addNegation;return p.end-p.start<c.end-c.start&&""===N&&y&&!parseFloat(L)&&(e=j?"-":""),e}function N(e,t){var n=t.prefix;void 0===n&&(n="");var r=t.suffix;void 0===r&&(r="");var o=Array.from({length:e.length+1}).map((function(){return!0})),i="-"===e[0];o.fill(!1,0,n.length+(i?1:0));var a=e.length;return o.fill(!1,a-r.length+1,a+1),o}function L(e){e=function(e){var t=R(e),n=t.thousandSeparator,r=t.decimalSeparator,o=e.prefix;void 0===o&&(o="");var i=e.allowNegative;if(void 0===i&&(i=!0),n===r)throw new Error("\n Decimal separator can't be same as thousand separator.\n thousandSeparator: "+n+' (thousandSeparator = {true} is same as thousandSeparator = ",")\n decimalSeparator: '+r+" (default value for decimalSeparator is .)\n ");return o.startsWith("-")&&i&&(console.error("\n Prefix can't start with '-' when allowNegative is true.\n prefix: "+o+"\n allowNegative: "+i+"\n "),i=!1),Object.assign(Object.assign({},e),{allowNegative:i})}(e);e.decimalSeparator,e.allowedDecimalSeparators,e.thousandsGroupStyle;var t=e.suffix,n=e.allowNegative,o=e.allowLeadingZeros,u=e.onKeyDown;void 0===u&&(u=a);var d=e.onBlur;void 0===d&&(d=a);var p=e.thousandSeparator,f=e.decimalScale,v=e.fixedDecimalScale,y=e.prefix;void 0===y&&(y="");var b=e.defaultValue,w=e.value,A=e.valueIsNumericString,_=e.onValueChange,S=i(e,["decimalSeparator","allowedDecimalSeparators","thousandsGroupStyle","suffix","allowNegative","allowLeadingZeros","onKeyDown","onBlur","thousandSeparator","decimalScale","fixedDecimalScale","prefix","defaultValue","value","valueIsNumericString","onValueChange"]),k=R(e),C=k.decimalSeparator,T=k.allowedDecimalSeparators,P=function(t){return D(t,e)},O=function(t,n){return I(t,n,e)},E=l(w)?b:w,L=null!=A?A:function(e,t,n){return""===e||!(null==t?void 0:t.match(/\d/))&&!(null==n?void 0:n.match(/\d/))&&"string"==typeof e&&!isNaN(Number(e))}(E,y,t);l(w)?l(b)||(L=L||"number"==typeof b):L=L||"number"==typeof w;var j=function(e){return c(e)?e:("number"==typeof e&&(e=h(e)),L&&"number"==typeof f?m(e,f,Boolean(v)):e)},$=M(j(w),j(b),Boolean(L),P,O,_),z=$[0],F=z.numAsString,B=z.formattedValue,H=$[1];return Object.assign(Object.assign({},S),{value:B,valueIsNumericString:!1,isValidInputCharacter:function(e){return e===C||s(e)},isCharacterSame:function(e){var t=e.currentValue,n=e.lastValue,r=e.formattedValue,o=e.currentValueIndex,i=e.formattedValueIndex,a=t[o],s=r[i],l=x(n,t).to;return!!(o>=l.start&&o<l.end&&T&&T.includes(a)&&s===C)||a===s},onValueChange:H,format:P,removeFormatting:O,getCaretBoundary:function(t){return N(t,e)},onKeyDown:function(e){var t=e.target,r=e.key,o=t.selectionStart,i=t.selectionEnd,a=t.value;if(void 0===a&&(a=""),("Backspace"===r||"Delete"===r)&&i<y.length)e.preventDefault();else if(o===i){"Backspace"===r&&"-"===a[0]&&o===y.length+1&&n&&g(t,1),f&&v&&("Backspace"===r&&a[o-1]===C?(g(t,o-1),e.preventDefault()):"Delete"===r&&a[o]===C&&e.preventDefault()),(null==T?void 0:T.includes(r))&&a[o]===C&&g(t,o+1);var s=!0===p?",":p;"Backspace"===r&&a[o-1]===s&&g(t,o-1),"Delete"===r&&a[o]===s&&g(t,o+1),u(e)}else u(e)},onBlur:function(t){var n=F;if(n.match(/\d/g)||(n=""),o||(n=function(e){if(!e)return e;var t="-"===e[0];t&&(e=e.substring(1,e.length));var n=e.split("."),r=n[0].replace(/^0+/,"")||"0",o=n[1]||"";return(t?"-":"")+r+(o?"."+o:"")}(n)),v&&f&&(n=m(n,f,v)),n!==F){var i=D(n,e);H({formattedValue:i,value:n,floatValue:parseFloat(n)},{event:t,source:r.event})}d(t)}})}function j(e){var t=L(e);return o.createElement(E,Object.assign({},t))}function $(e,t){var n=t.format,r=t.allowEmptyFormatting,o=t.mask,i=t.patternChar;if(void 0===i&&(i="#"),""===e&&!r)return"";for(var a=0,s=n.split(""),l=0,c=n.length;l<c;l++)n[l]===i&&(s[l]=e[a]||S(o,a),a+=1);return s.join("")}function z(e,t,n){void 0===t&&(t=_(e));var r=n.format,o=n.patternChar;void 0===o&&(o="#");var i=t.from,a=t.to,l=t.lastValue;void 0===l&&(l="");var c=function(e){return r[e]===o},u=function(e,t){for(var n="",r=0;r<e.length;r++)c(t+r)&&s(e[r])&&(n+=e[r]);return n},d=function(e){return e.replace(/[^0-9]/g,"")};if(!r.match(/\d/))return d(e);if((""===l||i.end-i.start===l.length)&&e.length===r.length){for(var p="",f=0;f<e.length;f++)if(c(f))s(e[f])&&(p+=e[f]);else if(e[f]!==r[f])return d(e);return p}var h=l.substring(0,i.start),m=e.substring(a.start,a.end),g=l.substring(i.end);return""+u(h,0)+d(m)+u(g,i.end)}function F(e,t){var n=t.format,r=t.mask,o=t.patternChar;void 0===o&&(o="#");var i=Array.from({length:e.length+1}).map((function(){return!0})),a=0,s=-1,l={};n.split("").forEach((function(t,n){var i=void 0;t===o&&(a++,i=S(r,a-1),-1===s&&e[n]===i&&(s=n)),l[n]=i}));for(var c=function(t){return n[t]===o&&e[t]!==l[t]},u=0,d=i.length;u<d;u++)i[u]=u===s||c(u)||c(u-1);return i[n.indexOf(o)]=!0,i}function B(e){e.mask,e.allowEmptyFormatting;var t=e.format,n=e.inputMode;void 0===n&&(n="numeric");var r=e.onKeyDown;void 0===r&&(r=a);var o=e.patternChar;void 0===o&&(o="#");var s=e.value,c=e.defaultValue,u=e.valueIsNumericString,d=i(e,["mask","allowEmptyFormatting","format","inputMode","onKeyDown","patternChar","value","defaultValue","valueIsNumericString"]);!function(e){var t=e.mask;if(t&&("string"===t?t:t.toString()).match(/\d/g))throw new Error("Mask "+t+" should not contain numeric character;")}(e);var p=function(t){return F(t,e)},f=l(s)?c:s,h=null!=u?u:function(e,t){return""===e||!((null==t?void 0:t.match(/\d/))||"string"!=typeof e||!e.match(/^\d+$/)&&""!==e)}(f,t),m=Object.assign(Object.assign({},e),{valueIsNumericString:h});return Object.assign(Object.assign({},d),{value:s,defaultValue:c,valueIsNumericString:h,inputMode:n,format:function(e){return $(e,m)},removeFormatting:function(e,t){return z(e,t,m)},getCaretBoundary:p,onKeyDown:function(e){var n=e.key,i=e.target,a=i.selectionStart,s=i.selectionEnd,l=i.value;if(a===s){var c=a;if("Backspace"===n||"Delete"===n){var u="right";if("Backspace"===n){for(;c>0&&t[c-1]!==o;)c--;u="left"}else{for(var d=t.length;c<d&&t[c]!==o;)c++;u="right"}c=C(l,c,p(l),u)}else t[c]!==o&&"ArrowLeft"!==n&&"ArrowRight"!==n&&(c=C(l,c+1,p(l),"right"));c!==a&&g(i,c),r(e)}else r(e)}})}function H(e){var t=B(e);return o.createElement(E,Object.assign({},t))}},73729:function(e,t,n){"use strict";e.exports=n(37372)},15630:function(e,t,n){"use strict";t.__esModule=!0,t.default=void 0;var r=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=l(t);if(n&&n.has(e))return n.get(e);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=o?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}r.default=e,n&&n.set(e,r);return r}(n(96540)),o=n(55794),i=n(94030),a=n(28329),s=["children","className","draggableOpts","width","height","handle","handleSize","lockAspectRatio","axis","minConstraints","maxConstraints","onResize","onResizeStop","onResizeStart","resizeHandles","transformScale"];function l(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(l=function(e){return e?n:t})(e)}function c(){return c=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},c.apply(this,arguments)}function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function d(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(Object(n),!0).forEach((function(t){p(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function p(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function f(e,t){return f=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},f(e,t)}var h=function(e){var t,n;function a(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).handleRefs={},t.lastHandleRect=null,t.slack=null,t}n=e,(t=a).prototype=Object.create(n.prototype),t.prototype.constructor=t,f(t,n);var l=a.prototype;return l.componentWillUnmount=function(){this.resetData()},l.resetData=function(){this.lastHandleRect=this.slack=null},l.runConstraints=function(e,t){var n=this.props,r=n.minConstraints,o=n.maxConstraints,i=n.lockAspectRatio;if(!r&&!o&&!i)return[e,t];if(i){var a=this.props.width/this.props.height,s=e-this.props.width,l=t-this.props.height;Math.abs(s)>Math.abs(l*a)?t=e/a:e=t*a}var c=e,u=t,d=this.slack||[0,0],p=d[0],f=d[1];return e+=p,t+=f,r&&(e=Math.max(r[0],e),t=Math.max(r[1],t)),o&&(e=Math.min(o[0],e),t=Math.min(o[1],t)),this.slack=[p+(c-e),f+(u-t)],[e,t]},l.resizeHandler=function(e,t){var n=this;return function(r,o){var i=o.node,a=o.deltaX,s=o.deltaY;"onResizeStart"===e&&n.resetData();var l=("both"===n.props.axis||"x"===n.props.axis)&&"n"!==t&&"s"!==t,c=("both"===n.props.axis||"y"===n.props.axis)&&"e"!==t&&"w"!==t;if(l||c){var u=t[0],d=t[t.length-1],p=i.getBoundingClientRect();if(null!=n.lastHandleRect){if("w"===d)a+=p.left-n.lastHandleRect.left;if("n"===u)s+=p.top-n.lastHandleRect.top}n.lastHandleRect=p,"w"===d&&(a=-a),"n"===u&&(s=-s);var f=n.props.width+(l?a/n.props.transformScale:0),h=n.props.height+(c?s/n.props.transformScale:0),m=n.runConstraints(f,h);f=m[0],h=m[1];var g=f!==n.props.width||h!==n.props.height,v="function"==typeof n.props[e]?n.props[e]:null;v&&!("onResize"===e&&!g)&&(null==r.persist||r.persist(),v(r,{node:i,size:{width:f,height:h},handle:t})),"onResizeStop"===e&&n.resetData()}}},l.renderResizeHandle=function(e,t){var n=this.props.handle;if(!n)return r.createElement("span",{className:"react-resizable-handle react-resizable-handle-"+e,ref:t});if("function"==typeof n)return n(e,t);var o=d({ref:t},"string"==typeof n.type?{}:{handleAxis:e});return r.cloneElement(n,o)},l.render=function(){var e=this,t=this.props,n=t.children,a=t.className,l=t.draggableOpts,u=(t.width,t.height,t.handle,t.handleSize,t.lockAspectRatio,t.axis,t.minConstraints,t.maxConstraints,t.onResize,t.onResizeStop,t.onResizeStart,t.resizeHandles),p=(t.transformScale,function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(t,s));return(0,i.cloneElement)(n,d(d({},p),{},{className:(a?a+" ":"")+"react-resizable",children:[].concat(n.props.children,u.map((function(t){var n,i=null!=(n=e.handleRefs[t])?n:e.handleRefs[t]=r.createRef();return r.createElement(o.DraggableCore,c({},l,{nodeRef:i,key:"resizableHandle-"+t,onStop:e.resizeHandler("onResizeStop",t),onStart:e.resizeHandler("onResizeStart",t),onDrag:e.resizeHandler("onResize",t)}),e.renderResizeHandle(t,i))})))}))},a}(r.Component);t.default=h,h.propTypes=a.resizableProps,h.defaultProps={axis:"both",handleSize:[20,20],lockAspectRatio:!1,minConstraints:[20,20],maxConstraints:[1/0,1/0],resizeHandles:["se"],transformScale:1}},65661:function(e,t,n){"use strict";t.default=void 0;var r=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=c(t);if(n&&n.has(e))return n.get(e);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=o?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}r.default=e,n&&n.set(e,r);return r}(n(96540)),o=l(n(5556)),i=l(n(15630)),a=n(28329),s=["handle","handleSize","onResize","onResizeStart","onResizeStop","draggableOpts","minConstraints","maxConstraints","lockAspectRatio","axis","width","height","resizeHandles","style","transformScale"];function l(e){return e&&e.__esModule?e:{default:e}}function c(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(c=function(e){return e?n:t})(e)}function u(){return u=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},u.apply(this,arguments)}function d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?d(Object(n),!0).forEach((function(t){f(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function f(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function h(e,t){return h=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},h(e,t)}var m=function(e){var t,n;function o(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).state={width:t.props.width,height:t.props.height,propsWidth:t.props.width,propsHeight:t.props.height},t.onResize=function(e,n){var r=n.size;t.props.onResize?(null==e.persist||e.persist(),t.setState(r,(function(){return t.props.onResize&&t.props.onResize(e,n)}))):t.setState(r)},t}return n=e,(t=o).prototype=Object.create(n.prototype),t.prototype.constructor=t,h(t,n),o.getDerivedStateFromProps=function(e,t){return t.propsWidth!==e.width||t.propsHeight!==e.height?{width:e.width,height:e.height,propsWidth:e.width,propsHeight:e.height}:null},o.prototype.render=function(){var e=this.props,t=e.handle,n=e.handleSize,o=(e.onResize,e.onResizeStart),a=e.onResizeStop,l=e.draggableOpts,c=e.minConstraints,d=e.maxConstraints,f=e.lockAspectRatio,h=e.axis,m=(e.width,e.height,e.resizeHandles),g=e.style,v=e.transformScale,y=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,s);return r.createElement(i.default,{axis:h,draggableOpts:l,handle:t,handleSize:n,height:this.state.height,lockAspectRatio:f,maxConstraints:d,minConstraints:c,onResizeStart:o,onResize:this.onResize,onResizeStop:a,resizeHandles:m,transformScale:v,width:this.state.width},r.createElement("div",u({},y,{style:p(p({},g),{},{width:this.state.width+"px",height:this.state.height+"px"})})))},o}(r.Component);t.default=m,m.propTypes=p(p({},a.resizableProps),{},{children:o.default.element})},28329:function(e,t,n){"use strict";t.__esModule=!0,t.resizableProps=void 0;var r,o=(r=n(5556))&&r.__esModule?r:{default:r};n(55794);var i={axis:o.default.oneOf(["both","x","y","none"]),className:o.default.string,children:o.default.element.isRequired,draggableOpts:o.default.shape({allowAnyClick:o.default.bool,cancel:o.default.string,children:o.default.node,disabled:o.default.bool,enableUserSelectHack:o.default.bool,offsetParent:o.default.node,grid:o.default.arrayOf(o.default.number),handle:o.default.string,nodeRef:o.default.object,onStart:o.default.func,onDrag:o.default.func,onStop:o.default.func,onMouseDown:o.default.func,scale:o.default.number}),height:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r,i=t[0];return"both"===i.axis||"y"===i.axis?(r=o.default.number).isRequired.apply(r,t):o.default.number.apply(o.default,t)},handle:o.default.oneOfType([o.default.node,o.default.func]),handleSize:o.default.arrayOf(o.default.number),lockAspectRatio:o.default.bool,maxConstraints:o.default.arrayOf(o.default.number),minConstraints:o.default.arrayOf(o.default.number),onResizeStop:o.default.func,onResizeStart:o.default.func,onResize:o.default.func,resizeHandles:o.default.arrayOf(o.default.oneOf(["s","w","e","n","sw","nw","se","ne"])),transformScale:o.default.number,width:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r,i=t[0];return"both"===i.axis||"x"===i.axis?(r=o.default.number).isRequired.apply(r,t):o.default.number.apply(o.default,t)}};t.resizableProps=i},94030:function(e,t,n){"use strict";t.__esModule=!0,t.cloneElement=function(e,t){t.style&&e.props.style&&(t.style=a(a({},e.props.style),t.style));t.className&&e.props.className&&(t.className=e.props.className+" "+t.className);return o.default.cloneElement(e,t)};var r,o=(r=n(96540))&&r.__esModule?r:{default:r};function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function a(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?i(Object(n),!0).forEach((function(t){s(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function s(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},66036:function(e,t,n){"use strict";e.exports=function(){throw new Error("Don't instantiate Resizable directly! Use require('react-resizable').Resizable")},e.exports.Resizable=n(15630).default,e.exports.ResizableBox=n(65661).default},87381:function(e,t,n){"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.TagCloud=T;var o=f(n(5556)),i=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!=typeof e)return{default:e};var n=p(t);if(n&&n.has(e))return n.get(e);var o={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var s=i?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(o,a,s):o[a]=e[a]}o.default=e,n&&n.set(e,o);return o}(n(96540)),a=f(n(35966)),s=f(n(74555)),l=f(n(7391)),c=n(17688),u=n(11011),d=["renderer","shuffle","className","colorOptions","containerComponent"];function p(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(p=function(e){return e?n:t})(e)}function f(e){return e&&e.__esModule?e:{default:e}}function h(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,o,i=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){s=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}(e,t)||v(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function m(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function g(e){return function(e){if(Array.isArray(e))return y(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||v(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function v(e,t){if(e){if("string"==typeof e)return y(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?y(e,t):void 0}}function y(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function b(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function x(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?b(Object(n),!0).forEach((function(t){w(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):b(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function w(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var A=["onClick","onDoubleClick","onMouseMove","onMouseOver","onMouseOut","onPress","onPressIn","onPressOut"],_=["tags","shuffle","renderer","maxSize","minSize","colorOptions","disableRandomColor","randomSeed","randomNumberGenerator","containerComponent"];function S(e){return e.key+e.value+e.count}function k(e,t){var n=t.disableRandomColor,r=t.colorOptions,o=t.randomSeed;return e.color?e.color:n?void 0:(0,s.default)(x({seed:o&&"".concat(o,":").concat(S(e))},r))}function C(e,t){var n=e.minSize,r=e.maxSize,o=t.map((function(e){return e.tag.count})),a=Math.min.apply(Math,g(o)),s=Math.max.apply(Math,g(o)),l=(0,u.pick)(e,A);return t.map((function(t){var o=t.tag,c=t.color,d=(0,u.fontSizeConverter)(o.count,a,s,n,r);return function(e,t,n){var r=(0,u.pick)(e.props,A),o=(0,u.keys)(n).reduce((function(e,o){return(n[o]||r[o])&&(e[o]=function(e){n[o]&&n[o](t,e),r[o]&&r(e)}),e}),{});return i.default.cloneElement(e,o)}(e.renderer(o,d,c),o,l)}))}function T(e){var t=e.renderer,n=void 0===t?c.defaultRenderer:t,r=e.shuffle,o=void 0===r||r,s=e.className,p=void 0===s?"tag-cloud":s,f=e.colorOptions,g=void 0===f?{}:f,v=e.containerComponent,y=x({renderer:n,shuffle:o,className:p,colorOptions:g,containerComponent:void 0===v?"div":v},m(e,d)),b=h((0,i.useState)([]),2),w=b[0],T=b[1],M=y.tags.map(S).join(":");(0,i.useEffect)((function(){T(function(e){var t=e.tags,n=e.shuffle,r=e.randomSeed,o=e.randomNumberGenerator,i=r?(0,l.default)(r):o,s=t.slice();return(n?(0,a.default)(s,{rng:i}):s).map((function(t){return{tag:t,color:k(t,e)}}))}(y))}),[JSON.stringify(y.colorOptions),y.randomSeed,y.shuffle,y.disableRandomColor,M]);var P=(0,u.omit)(y,[].concat(_,A)),O=y.containerComponent;return i.default.createElement(O,P,C(y,w))}T.propTypes={tags:o.default.array.isRequired,maxSize:o.default.number.isRequired,minSize:o.default.number.isRequired,shuffle:o.default.bool,colorOptions:o.default.object,disableRandomColor:o.default.bool,renderer:o.default.func,className:o.default.string,randomSeed:o.default.any,randomNumberGenerator:o.default.func,containerComponent:o.default.elementType}},17688:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.defaultRenderer=void 0;var r,o=(r=n(96540))&&r.__esModule?r:{default:r},i=["className","style"];function a(){return a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a.apply(this,arguments)}function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function l(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?s(Object(n),!0).forEach((function(t){c(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function c(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function u(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}t.defaultRenderer=function(e,t,n){var r=e.props||{},s=r.className,c=r.style,p=u(r,i),f=t+"px",h=e.key||e.value,m=l(l({},d),{},{color:n,fontSize:f},c),g="tag-cloud-tag";return s&&(g+=" "+s),o.default.createElement("span",a({className:g,style:m,key:h},p),e.value)};var d={margin:"0px 3px",verticalAlign:"middle",display:"inline-block"}},11011:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.fontSizeConverter=void 0,t.keys=function(e){return Object.keys(e)},t.omit=void 0,t.pick=function(e,t){return t.reduce((function(t,n){return t[n]=e[n],t}),{})};t.fontSizeConverter=function(e,t,n,r,o){return n-t==0?Math.round((r+o)/2):Math.round((e-t)*(o-r)/(n-t)+r)};t.omit=function(e,t){return Object.keys(e).reduce((function(n,r){return~t.indexOf(r)||(n[r]=e[r]),n}),{})}},30754:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"TagCloud",{enumerable:!0,get:function(){return r.TagCloud}});var r=n(87381)},80851:function(e,t,n){"use strict";n.d(t,{Ay:function(){return v}});var r=n(98587),o=n(25540),i=n(96540),a=n(40961),s=!1,l=n(17241),c=n(92403),u="unmounted",d="exited",p="entering",f="entered",h="exiting",m=function(e){function t(t,n){var r;r=e.call(this,t,n)||this;var o,i=n&&!n.isMounting?t.enter:t.appear;return r.appearStatus=null,t.in?i?(o=d,r.appearStatus=p):o=f:o=t.unmountOnExit||t.mountOnEnter?u:d,r.state={status:o},r.nextCallback=null,r}(0,o.A)(t,e),t.getDerivedStateFromProps=function(e,t){return e.in&&t.status===u?{status:d}:null};var n=t.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(e){var t=null;if(e!==this.props){var n=this.state.status;this.props.in?n!==p&&n!==f&&(t=p):n!==p&&n!==f||(t=h)}this.updateStatus(!1,t)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var e,t,n,r=this.props.timeout;return e=t=n=r,null!=r&&"number"!=typeof r&&(e=r.exit,t=r.enter,n=void 0!==r.appear?r.appear:t),{exit:e,enter:t,appear:n}},n.updateStatus=function(e,t){if(void 0===e&&(e=!1),null!==t)if(this.cancelNextCallback(),t===p){if(this.props.unmountOnExit||this.props.mountOnEnter){var n=this.props.nodeRef?this.props.nodeRef.current:a.findDOMNode(this);n&&(0,c.F)(n)}this.performEnter(e)}else this.performExit();else this.props.unmountOnExit&&this.state.status===d&&this.setState({status:u})},n.performEnter=function(e){var t=this,n=this.props.enter,r=this.context?this.context.isMounting:e,o=this.props.nodeRef?[r]:[a.findDOMNode(this),r],i=o[0],l=o[1],c=this.getTimeouts(),u=r?c.appear:c.enter;!e&&!n||s?this.safeSetState({status:f},(function(){t.props.onEntered(i)})):(this.props.onEnter(i,l),this.safeSetState({status:p},(function(){t.props.onEntering(i,l),t.onTransitionEnd(u,(function(){t.safeSetState({status:f},(function(){t.props.onEntered(i,l)}))}))})))},n.performExit=function(){var e=this,t=this.props.exit,n=this.getTimeouts(),r=this.props.nodeRef?void 0:a.findDOMNode(this);t&&!s?(this.props.onExit(r),this.safeSetState({status:h},(function(){e.props.onExiting(r),e.onTransitionEnd(n.exit,(function(){e.safeSetState({status:d},(function(){e.props.onExited(r)}))}))}))):this.safeSetState({status:d},(function(){e.props.onExited(r)}))},n.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},n.setNextCallback=function(e){var t=this,n=!0;return this.nextCallback=function(r){n&&(n=!1,t.nextCallback=null,e(r))},this.nextCallback.cancel=function(){n=!1},this.nextCallback},n.onTransitionEnd=function(e,t){this.setNextCallback(t);var n=this.props.nodeRef?this.props.nodeRef.current:a.findDOMNode(this),r=null==e&&!this.props.addEndListener;if(n&&!r){if(this.props.addEndListener){var o=this.props.nodeRef?[this.nextCallback]:[n,this.nextCallback],i=o[0],s=o[1];this.props.addEndListener(i,s)}null!=e&&setTimeout(this.nextCallback,e)}else setTimeout(this.nextCallback,0)},n.render=function(){var e=this.state.status;if(e===u)return null;var t=this.props,n=t.children,o=(t.in,t.mountOnEnter,t.unmountOnExit,t.appear,t.enter,t.exit,t.timeout,t.addEndListener,t.onEnter,t.onEntering,t.onEntered,t.onExit,t.onExiting,t.onExited,t.nodeRef,(0,r.A)(t,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]));return i.createElement(l.A.Provider,{value:null},"function"==typeof n?n(e,o):i.cloneElement(i.Children.only(n),o))},t}(i.Component);function g(){}m.contextType=l.A,m.propTypes={},m.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:g,onEntering:g,onEntered:g,onExit:g,onExiting:g,onExited:g},m.UNMOUNTED=u,m.EXITED=d,m.ENTERING=p,m.ENTERED=f,m.EXITING=h;var v=m},22618:function(e,t,n){"use strict";n.d(t,{A:function(){return h}});var r=n(98587),o=n(58168),i=n(9417),a=n(25540),s=n(96540),l=n(17241);function c(e,t){var n=Object.create(null);return e&&s.Children.map(e,(function(e){return e})).forEach((function(e){n[e.key]=function(e){return t&&(0,s.isValidElement)(e)?t(e):e}(e)})),n}function u(e,t,n){return null!=n[t]?n[t]:e.props[t]}function d(e,t,n){var r=c(e.children),o=function(e,t){function n(n){return n in t?t[n]:e[n]}e=e||{},t=t||{};var r,o=Object.create(null),i=[];for(var a in e)a in t?i.length&&(o[a]=i,i=[]):i.push(a);var s={};for(var l in t){if(o[l])for(r=0;r<o[l].length;r++){var c=o[l][r];s[o[l][r]]=n(c)}s[l]=n(l)}for(r=0;r<i.length;r++)s[i[r]]=n(i[r]);return s}(t,r);return Object.keys(o).forEach((function(i){var a=o[i];if((0,s.isValidElement)(a)){var l=i in t,c=i in r,d=t[i],p=(0,s.isValidElement)(d)&&!d.props.in;!c||l&&!p?c||!l||p?c&&l&&(0,s.isValidElement)(d)&&(o[i]=(0,s.cloneElement)(a,{onExited:n.bind(null,a),in:d.props.in,exit:u(a,"exit",e),enter:u(a,"enter",e)})):o[i]=(0,s.cloneElement)(a,{in:!1}):o[i]=(0,s.cloneElement)(a,{onExited:n.bind(null,a),in:!0,exit:u(a,"exit",e),enter:u(a,"enter",e)})}})),o}var p=Object.values||function(e){return Object.keys(e).map((function(t){return e[t]}))},f=function(e){function t(t,n){var r,o=(r=e.call(this,t,n)||this).handleExited.bind((0,i.A)(r));return r.state={contextValue:{isMounting:!0},handleExited:o,firstRender:!0},r}(0,a.A)(t,e);var n=t.prototype;return n.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},n.componentWillUnmount=function(){this.mounted=!1},t.getDerivedStateFromProps=function(e,t){var n,r,o=t.children,i=t.handleExited;return{children:t.firstRender?(n=e,r=i,c(n.children,(function(e){return(0,s.cloneElement)(e,{onExited:r.bind(null,e),in:!0,appear:u(e,"appear",n),enter:u(e,"enter",n),exit:u(e,"exit",n)})}))):d(e,o,i),firstRender:!1}},n.handleExited=function(e,t){var n=c(this.props.children);e.key in n||(e.props.onExited&&e.props.onExited(t),this.mounted&&this.setState((function(t){var n=(0,o.A)({},t.children);return delete n[e.key],{children:n}})))},n.render=function(){var e=this.props,t=e.component,n=e.childFactory,o=(0,r.A)(e,["component","childFactory"]),i=this.state.contextValue,a=p(this.state.children).map(n);return delete o.appear,delete o.enter,delete o.exit,null===t?s.createElement(l.A.Provider,{value:i},a):s.createElement(l.A.Provider,{value:i},s.createElement(t,o,a))},t}(s.Component);f.propTypes={},f.defaultProps={component:"div",childFactory:function(e){return e}};var h=f},17241:function(e,t,n){"use strict";var r=n(96540);t.A=r.createContext(null)},92403:function(e,t,n){"use strict";n.d(t,{F:function(){return r}});var r=function(e){return e.scrollTop}},21020:function(e,t,n){"use strict";var r=n(96540),o=Symbol.for("react.element"),i=Symbol.for("react.fragment"),a=Object.prototype.hasOwnProperty,s=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,l={key:!0,ref:!0,__self:!0,__source:!0};function c(e,t,n){var r,i={},c=null,u=null;for(r in void 0!==n&&(c=""+n),void 0!==t.key&&(c=""+t.key),void 0!==t.ref&&(u=t.ref),t)a.call(t,r)&&!l.hasOwnProperty(r)&&(i[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps)void 0===i[r]&&(i[r]=t[r]);return{$$typeof:o,type:e,key:c,ref:u,props:i,_owner:s.current}}t.Fragment=i,t.jsx=c,t.jsxs=c},15287:function(e,t){"use strict";var n=Symbol.for("react.element"),r=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),s=Symbol.for("react.provider"),l=Symbol.for("react.context"),c=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),d=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),f=Symbol.iterator;var h={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},m=Object.assign,g={};function v(e,t,n){this.props=e,this.context=t,this.refs=g,this.updater=n||h}function y(){}function b(e,t,n){this.props=e,this.context=t,this.refs=g,this.updater=n||h}v.prototype.isReactComponent={},v.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},v.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},y.prototype=v.prototype;var x=b.prototype=new y;x.constructor=b,m(x,v.prototype),x.isPureReactComponent=!0;var w=Array.isArray,A=Object.prototype.hasOwnProperty,_={current:null},S={key:!0,ref:!0,__self:!0,__source:!0};function k(e,t,r){var o,i={},a=null,s=null;if(null!=t)for(o in void 0!==t.ref&&(s=t.ref),void 0!==t.key&&(a=""+t.key),t)A.call(t,o)&&!S.hasOwnProperty(o)&&(i[o]=t[o]);var l=arguments.length-2;if(1===l)i.children=r;else if(1<l){for(var c=Array(l),u=0;u<l;u++)c[u]=arguments[u+2];i.children=c}if(e&&e.defaultProps)for(o in l=e.defaultProps)void 0===i[o]&&(i[o]=l[o]);return{$$typeof:n,type:e,key:a,ref:s,props:i,_owner:_.current}}function C(e){return"object"==typeof e&&null!==e&&e.$$typeof===n}var T=/\/+/g;function M(e,t){return"object"==typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,(function(e){return t[e]}))}(""+e.key):t.toString(36)}function P(e,t,o,i,a){var s=typeof e;"undefined"!==s&&"boolean"!==s||(e=null);var l=!1;if(null===e)l=!0;else switch(s){case"string":case"number":l=!0;break;case"object":switch(e.$$typeof){case n:case r:l=!0}}if(l)return a=a(l=e),e=""===i?"."+M(l,0):i,w(a)?(o="",null!=e&&(o=e.replace(T,"$&/")+"/"),P(a,t,o,"",(function(e){return e}))):null!=a&&(C(a)&&(a=function(e,t){return{$$typeof:n,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(a,o+(!a.key||l&&l.key===a.key?"":(""+a.key).replace(T,"$&/")+"/")+e)),t.push(a)),1;if(l=0,i=""===i?".":i+":",w(e))for(var c=0;c<e.length;c++){var u=i+M(s=e[c],c);l+=P(s,t,o,u,a)}else if(u=function(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=f&&e[f]||e["@@iterator"])?e:null}(e),"function"==typeof u)for(e=u.call(e),c=0;!(s=e.next()).done;)l+=P(s=s.value,t,o,u=i+M(s,c++),a);else if("object"===s)throw t=String(e),Error("Objects are not valid as a React child (found: "+("[object Object]"===t?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return l}function O(e,t,n){if(null==e)return e;var r=[],o=0;return P(e,r,"","",(function(e){return t.call(n,e,o++)})),r}function E(e){if(-1===e._status){var t=e._result;(t=t()).then((function(t){0!==e._status&&-1!==e._status||(e._status=1,e._result=t)}),(function(t){0!==e._status&&-1!==e._status||(e._status=2,e._result=t)})),-1===e._status&&(e._status=0,e._result=t)}if(1===e._status)return e._result.default;throw e._result}var D={current:null},R={transition:null},I={ReactCurrentDispatcher:D,ReactCurrentBatchConfig:R,ReactCurrentOwner:_};function N(){throw Error("act(...) is not supported in production builds of React.")}t.Children={map:O,forEach:function(e,t,n){O(e,(function(){t.apply(this,arguments)}),n)},count:function(e){var t=0;return O(e,(function(){t++})),t},toArray:function(e){return O(e,(function(e){return e}))||[]},only:function(e){if(!C(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},t.Component=v,t.Fragment=o,t.Profiler=a,t.PureComponent=b,t.StrictMode=i,t.Suspense=u,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=I,t.act=N,t.cloneElement=function(e,t,r){if(null==e)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var o=m({},e.props),i=e.key,a=e.ref,s=e._owner;if(null!=t){if(void 0!==t.ref&&(a=t.ref,s=_.current),void 0!==t.key&&(i=""+t.key),e.type&&e.type.defaultProps)var l=e.type.defaultProps;for(c in t)A.call(t,c)&&!S.hasOwnProperty(c)&&(o[c]=void 0===t[c]&&void 0!==l?l[c]:t[c])}var c=arguments.length-2;if(1===c)o.children=r;else if(1<c){l=Array(c);for(var u=0;u<c;u++)l[u]=arguments[u+2];o.children=l}return{$$typeof:n,type:e.type,key:i,ref:a,props:o,_owner:s}},t.createContext=function(e){return(e={$$typeof:l,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null}).Provider={$$typeof:s,_context:e},e.Consumer=e},t.createElement=k,t.createFactory=function(e){var t=k.bind(null,e);return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:c,render:e}},t.isValidElement=C,t.lazy=function(e){return{$$typeof:p,_payload:{_status:-1,_result:e},_init:E}},t.memo=function(e,t){return{$$typeof:d,type:e,compare:void 0===t?null:t}},t.startTransition=function(e){var t=R.transition;R.transition={};try{e()}finally{R.transition=t}},t.unstable_act=N,t.useCallback=function(e,t){return D.current.useCallback(e,t)},t.useContext=function(e){return D.current.useContext(e)},t.useDebugValue=function(){},t.useDeferredValue=function(e){return D.current.useDeferredValue(e)},t.useEffect=function(e,t){return D.current.useEffect(e,t)},t.useId=function(){return D.current.useId()},t.useImperativeHandle=function(e,t,n){return D.current.useImperativeHandle(e,t,n)},t.useInsertionEffect=function(e,t){return D.current.useInsertionEffect(e,t)},t.useLayoutEffect=function(e,t){return D.current.useLayoutEffect(e,t)},t.useMemo=function(e,t){return D.current.useMemo(e,t)},t.useReducer=function(e,t,n){return D.current.useReducer(e,t,n)},t.useRef=function(e){return D.current.useRef(e)},t.useState=function(e){return D.current.useState(e)},t.useSyncExternalStore=function(e,t,n){return D.current.useSyncExternalStore(e,t,n)},t.useTransition=function(){return D.current.useTransition()},t.version="18.3.1"},96540:function(e,t,n){"use strict";e.exports=n(15287)},74848:function(e,t,n){"use strict";e.exports=n(21020)},43591:function(e,t,n){"use strict";n.r(t);var r=function(){if("undefined"!=typeof Map)return Map;function e(e,t){var n=-1;return e.some((function(e,r){return e[0]===t&&(n=r,!0)})),n}return function(){function t(){this.__entries__=[]}return Object.defineProperty(t.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),t.prototype.get=function(t){var n=e(this.__entries__,t),r=this.__entries__[n];return r&&r[1]},t.prototype.set=function(t,n){var r=e(this.__entries__,t);~r?this.__entries__[r][1]=n:this.__entries__.push([t,n])},t.prototype.delete=function(t){var n=this.__entries__,r=e(n,t);~r&&n.splice(r,1)},t.prototype.has=function(t){return!!~e(this.__entries__,t)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(e,t){void 0===t&&(t=null);for(var n=0,r=this.__entries__;n<r.length;n++){var o=r[n];e.call(t,o[1],o[0])}},t}()}(),o="undefined"!=typeof window&&"undefined"!=typeof document&&window.document===document,i=void 0!==n.g&&n.g.Math===Math?n.g:"undefined"!=typeof self&&self.Math===Math?self:"undefined"!=typeof window&&window.Math===Math?window:Function("return this")(),a="function"==typeof requestAnimationFrame?requestAnimationFrame.bind(i):function(e){return setTimeout((function(){return e(Date.now())}),1e3/60)};var s=["top","right","bottom","left","width","height","size","weight"],l="undefined"!=typeof MutationObserver,c=function(){function e(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=function(e,t){var n=!1,r=!1,o=0;function i(){n&&(n=!1,e()),r&&l()}function s(){a(i)}function l(){var e=Date.now();if(n){if(e-o<2)return;r=!0}else n=!0,r=!1,setTimeout(s,t);o=e}return l}(this.refresh.bind(this),20)}return e.prototype.addObserver=function(e){~this.observers_.indexOf(e)||this.observers_.push(e),this.connected_||this.connect_()},e.prototype.removeObserver=function(e){var t=this.observers_,n=t.indexOf(e);~n&&t.splice(n,1),!t.length&&this.connected_&&this.disconnect_()},e.prototype.refresh=function(){this.updateObservers_()&&this.refresh()},e.prototype.updateObservers_=function(){var e=this.observers_.filter((function(e){return e.gatherActive(),e.hasActive()}));return e.forEach((function(e){return e.broadcastActive()})),e.length>0},e.prototype.connect_=function(){o&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),l?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},e.prototype.disconnect_=function(){o&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},e.prototype.onTransitionEnd_=function(e){var t=e.propertyName,n=void 0===t?"":t;s.some((function(e){return!!~n.indexOf(e)}))&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e}(),u=function(e,t){for(var n=0,r=Object.keys(t);n<r.length;n++){var o=r[n];Object.defineProperty(e,o,{value:t[o],enumerable:!1,writable:!1,configurable:!0})}return e},d=function(e){return e&&e.ownerDocument&&e.ownerDocument.defaultView||i},p=y(0,0,0,0);function f(e){return parseFloat(e)||0}function h(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return t.reduce((function(t,n){return t+f(e["border-"+n+"-width"])}),0)}function m(e){var t=e.clientWidth,n=e.clientHeight;if(!t&&!n)return p;var r=d(e).getComputedStyle(e),o=function(e){for(var t={},n=0,r=["top","right","bottom","left"];n<r.length;n++){var o=r[n],i=e["padding-"+o];t[o]=f(i)}return t}(r),i=o.left+o.right,a=o.top+o.bottom,s=f(r.width),l=f(r.height);if("border-box"===r.boxSizing&&(Math.round(s+i)!==t&&(s-=h(r,"left","right")+i),Math.round(l+a)!==n&&(l-=h(r,"top","bottom")+a)),!function(e){return e===d(e).document.documentElement}(e)){var c=Math.round(s+i)-t,u=Math.round(l+a)-n;1!==Math.abs(c)&&(s-=c),1!==Math.abs(u)&&(l-=u)}return y(o.left,o.top,s,l)}var g="undefined"!=typeof SVGGraphicsElement?function(e){return e instanceof d(e).SVGGraphicsElement}:function(e){return e instanceof d(e).SVGElement&&"function"==typeof e.getBBox};function v(e){return o?g(e)?function(e){var t=e.getBBox();return y(0,0,t.width,t.height)}(e):m(e):p}function y(e,t,n,r){return{x:e,y:t,width:n,height:r}}var b=function(){function e(e){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=y(0,0,0,0),this.target=e}return e.prototype.isActive=function(){var e=v(this.target);return this.contentRect_=e,e.width!==this.broadcastWidth||e.height!==this.broadcastHeight},e.prototype.broadcastRect=function(){var e=this.contentRect_;return this.broadcastWidth=e.width,this.broadcastHeight=e.height,e},e}(),x=function(e,t){var n,r,o,i,a,s,l,c=(r=(n=t).x,o=n.y,i=n.width,a=n.height,s="undefined"!=typeof DOMRectReadOnly?DOMRectReadOnly:Object,l=Object.create(s.prototype),u(l,{x:r,y:o,width:i,height:a,top:o,right:r+i,bottom:a+o,left:r}),l);u(this,{target:e,contentRect:c})},w=function(){function e(e,t,n){if(this.activeObservations_=[],this.observations_=new r,"function"!=typeof e)throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=e,this.controller_=t,this.callbackCtx_=n}return e.prototype.observe=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof d(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)||(t.set(e,new b(e)),this.controller_.addObserver(this),this.controller_.refresh())}},e.prototype.unobserve=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof d(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)&&(t.delete(e),t.size||this.controller_.removeObserver(this))}},e.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},e.prototype.gatherActive=function(){var e=this;this.clearActive(),this.observations_.forEach((function(t){t.isActive()&&e.activeObservations_.push(t)}))},e.prototype.broadcastActive=function(){if(this.hasActive()){var e=this.callbackCtx_,t=this.activeObservations_.map((function(e){return new x(e.target,e.broadcastRect())}));this.callback_.call(e,t,e),this.clearActive()}},e.prototype.clearActive=function(){this.activeObservations_.splice(0)},e.prototype.hasActive=function(){return this.activeObservations_.length>0},e}(),A="undefined"!=typeof WeakMap?new WeakMap:new r,_=function e(t){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var n=c.getInstance(),r=new w(t,n,this);A.set(this,r)};["observe","unobserve","disconnect"].forEach((function(e){_.prototype[e]=function(){var t;return(t=A.get(this))[e].apply(t,arguments)}}));var S=void 0!==i.ResizeObserver?i.ResizeObserver:_;t.default=/^(2966|9275)$/.test(n.j)?S:null},31047:function(e,t){"use strict";function n(e){return e.reduce((function(e,t){var n=t[0],r=t[1];return e[n]=r,e[r]=n,e}),{})}function r(e){return"boolean"==typeof e}function o(e){return"function"==typeof e}function i(e){return"number"==typeof e}function a(e){return null==e}function s(e){return e&&"object"==typeof e}function l(e){return"string"==typeof e}function c(e,t){return-1!==e.indexOf(t)}function u(e){return 0===parseFloat(e)?e:"-"===e[0]?e.slice(1):"-"+e}function d(e,t,n,r){return t+u(n)+r}function p(e){var t=e.indexOf(".");if(-1===t)e=100-parseFloat(e)+"%";else{var n=e.length-t-2;e=(e=100-parseFloat(e)).toFixed(n)+"%"}return e}function f(e){return e.replace(/ +/g," ").split(" ").map((function(e){return e.trim()})).filter(Boolean).reduce((function(e,t){var n=e.list,r=e.state,o=(t.match(/\(/g)||[]).length,i=(t.match(/\)/g)||[]).length;return r.parensDepth>0?n[n.length-1]=n[n.length-1]+" "+t:n.push(t),r.parensDepth+=o-i,{list:n,state:r}}),{list:[],state:{parensDepth:0}}).list}function h(e){var t=f(e);if(t.length<=3||t.length>4)return e;var n=t[0],r=t[1],o=t[2];return[n,t[3],o,r].join(" ")}function m(e){return!r(e)&&!a(e)}function g(e){for(var t=[],n=0,r=0,o=!1;r<e.length;)o||","!==e[r]?"("===e[r]?(o=!0,r++):")"===e[r]?(o=!1,r++):r++:(t.push(e.substring(n,r).trim()),n=++r);return n!=r&&t.push(e.substring(n,r+1)),t}var v={padding:function(e){var t=e.value;return i(t)?t:h(t)},textShadow:function(e){return g(e.value).map((function(e){return e.replace(/(^|\s)(-*)([.|\d]+)/,(function(e,t,n,r){return"0"===r?e:""+t+(""===n?"-":"")+r}))})).join(",")},borderColor:function(e){return h(e.value)},borderRadius:function(e){var t=e.value;if(i(t))return t;if(c(t,"/")){var n=t.split("/"),r=n[0],o=n[1];return v.borderRadius({value:r.trim()})+" / "+v.borderRadius({value:o.trim()})}var a=f(t);switch(a.length){case 2:return a.reverse().join(" ");case 4:var s=a[0],l=a[1],u=a[2];return[l,s,a[3],u].join(" ");default:return t}},background:function(e){var t=e.value,n=e.valuesToConvert,r=e.isRtl,o=e.bgImgDirectionRegex,a=e.bgPosDirectionRegex;if(i(t))return t;var s=t.replace(/(url\(.*?\))|(rgba?\(.*?\))|(hsl\(.*?\))|(#[a-fA-F0-9]+)|((^| )(\D)+( |$))/g,"").trim();return t=t.replace(s,v.backgroundPosition({value:s,valuesToConvert:n,isRtl:r,bgPosDirectionRegex:a})),v.backgroundImage({value:t,valuesToConvert:n,bgImgDirectionRegex:o})},backgroundImage:function(e){var t=e.value,n=e.valuesToConvert,r=e.bgImgDirectionRegex;return c(t,"url(")||c(t,"linear-gradient(")?t.replace(r,(function(e,t,r){return e.replace(r,n[r])})):t},backgroundPosition:function(e){var t=e.value,n=e.valuesToConvert,r=e.isRtl,o=e.bgPosDirectionRegex;return t.replace(r?/^((-|\d|\.)+%)/:null,(function(e,t){return p(t)})).replace(o,(function(e){return n[e]}))},backgroundPositionX:function(e){var t=e.value,n=e.valuesToConvert,r=e.isRtl,o=e.bgPosDirectionRegex;return i(t)?t:v.backgroundPosition({value:t,valuesToConvert:n,isRtl:r,bgPosDirectionRegex:o})},transition:function(e){var t=e.value,n=e.propertiesToConvert;return t.split(/,\s*/g).map((function(e){var t=e.split(" ");return t[0]=n[t[0]]||t[0],t.join(" ")})).join(", ")},transitionProperty:function(e){var t=e.value,n=e.propertiesToConvert;return t.split(/,\s*/g).map((function(e){return n[e]||e})).join(", ")},transform:function(e){var t=e.value,n="[^\\u0020-\\u007e]",r="(?:(?:(?:\\[0-9a-f]{1,6})(?:\\r\\n|\\s)?)|\\\\[^\\r\\n\\f0-9a-f])",o="((?:-?(?:[0-9]*\\.[0-9]+|[0-9]+)(?:\\s*(?:em|ex|px|cm|mm|in|pt|pc|deg|rad|grad|ms|s|hz|khz|%)|-?(?:[_a-z]|"+n+"|"+r+")(?:[_a-z0-9-]|"+n+"|"+r+")*)?)|(?:inherit|auto))",i=new RegExp("(translateX\\s*\\(\\s*)"+o+"(\\s*\\))","gi"),a=new RegExp("(translate\\s*\\(\\s*)"+o+"((?:\\s*,\\s*"+o+"){0,1}\\s*\\))","gi"),s=new RegExp("(translate3d\\s*\\(\\s*)"+o+"((?:\\s*,\\s*"+o+"){0,2}\\s*\\))","gi"),l=new RegExp("(rotate[ZY]?\\s*\\(\\s*)"+o+"(\\s*\\))","gi");return t.replace(i,d).replace(a,d).replace(s,d).replace(l,d)}};v.objectPosition=v.backgroundPosition,v.margin=v.padding,v.borderWidth=v.padding,v.boxShadow=v.textShadow,v.webkitBoxShadow=v.boxShadow,v.mozBoxShadow=v.boxShadow,v.WebkitBoxShadow=v.boxShadow,v.MozBoxShadow=v.boxShadow,v.borderStyle=v.borderColor,v.webkitTransform=v.transform,v.mozTransform=v.transform,v.WebkitTransform=v.transform,v.MozTransform=v.transform,v.transformOrigin=v.backgroundPosition,v.webkitTransformOrigin=v.transformOrigin,v.mozTransformOrigin=v.transformOrigin,v.WebkitTransformOrigin=v.transformOrigin,v.MozTransformOrigin=v.transformOrigin,v.webkitTransition=v.transition,v.mozTransition=v.transition,v.WebkitTransition=v.transition,v.MozTransition=v.transition,v.webkitTransitionProperty=v.transitionProperty,v.mozTransitionProperty=v.transitionProperty,v.WebkitTransitionProperty=v.transitionProperty,v.MozTransitionProperty=v.transitionProperty,v["text-shadow"]=v.textShadow,v["border-color"]=v.borderColor,v["border-radius"]=v.borderRadius,v["background-image"]=v.backgroundImage,v["background-position"]=v.backgroundPosition,v["background-position-x"]=v.backgroundPositionX,v["object-position"]=v.objectPosition,v["border-width"]=v.padding,v["box-shadow"]=v.textShadow,v["-webkit-box-shadow"]=v.textShadow,v["-moz-box-shadow"]=v.textShadow,v["border-style"]=v.borderColor,v["-webkit-transform"]=v.transform,v["-moz-transform"]=v.transform,v["transform-origin"]=v.transformOrigin,v["-webkit-transform-origin"]=v.transformOrigin,v["-moz-transform-origin"]=v.transformOrigin,v["-webkit-transition"]=v.transition,v["-moz-transition"]=v.transition,v["transition-property"]=v.transitionProperty,v["-webkit-transition-property"]=v.transitionProperty,v["-moz-transition-property"]=v.transitionProperty;var y=n([["paddingLeft","paddingRight"],["marginLeft","marginRight"],["left","right"],["borderLeft","borderRight"],["borderLeftColor","borderRightColor"],["borderLeftStyle","borderRightStyle"],["borderLeftWidth","borderRightWidth"],["borderTopLeftRadius","borderTopRightRadius"],["borderBottomLeftRadius","borderBottomRightRadius"],["padding-left","padding-right"],["margin-left","margin-right"],["border-left","border-right"],["border-left-color","border-right-color"],["border-left-style","border-right-style"],["border-left-width","border-right-width"],["border-top-left-radius","border-top-right-radius"],["border-bottom-left-radius","border-bottom-right-radius"]]),b=["content"],x=n([["ltr","rtl"],["left","right"],["w-resize","e-resize"],["sw-resize","se-resize"],["nw-resize","ne-resize"]]),w=new RegExp("(^|\\W|_)((ltr)|(rtl)|(left)|(right))(\\W|_|$)","g"),A=new RegExp("(left)|(right)");function _(e){return Object.keys(e).reduce((function(t,n){var r=e[n];if(l(r)&&(r=r.trim()),c(b,n))return t[n]=r,t;var o=S(n,r),i=o.key,a=o.value;return t[i]=a,t}),Array.isArray(e)?[]:{})}function S(e,t){var n=/\/\*\s?@noflip\s?\*\//.test(t),r=n?e:k(e);return{key:r,value:n?t:C(r,t)}}function k(e){return y[e]||e}function C(e,t){if(!m(t))return t;if(s(t))return _(t);var n,r=i(t),a=o(t),l=r||a?t:t.replace(/ !important.*?$/,""),c=!r&&l.length!==t.length,u=v[e];return n=u?u({value:l,valuesToConvert:x,propertiesToConvert:y,isRtl:!0,bgImgDirectionRegex:w,bgPosDirectionRegex:A}):x[l]||l,c?n+" !important":n}t.arrayToObject=n,t.calculateNewBackgroundPosition=p,t.canConvertValue=m,t.convert=_,t.convertProperty=S,t.flipSign=u,t.flipTransformSign=d,t.getPropertyDoppelganger=k,t.getValueDoppelganger=C,t.getValuesAsList=f,t.handleQuartetValues=h,t.includes=c,t.isBoolean=r,t.isFunction=o,t.isNullOrUndefined=a,t.isNumber=i,t.isObject=s,t.isString=l,t.propertiesToConvert=y,t.propertyValueConverters=v,t.propsToIgnore=b,t.splitShadow=g,t.valuesToConvert=x},45431:function(e,t,n){"use strict";var r=n(31047);e.exports=r.convert},7391:function(e,t,n){var r=n(7180),o=n(43181),i=n(43031),a=n(9067),s=n(96833),l=n(43717),c=n(74801);c.alea=r,c.xor128=o,c.xorwow=i,c.xorshift7=a,c.xor4096=s,c.tychei=l,e.exports=c},7180:function(e,t,n){var r;!function(e,o){function i(e){var t=this,n=function(){var e=4022871197,t=function(t){t=String(t);for(var n=0;n<t.length;n++){var r=.02519603282416938*(e+=t.charCodeAt(n));r-=e=r>>>0,e=(r*=e)>>>0,e+=4294967296*(r-=e)}return 2.3283064365386963e-10*(e>>>0)};return t}();t.next=function(){var e=2091639*t.s0+2.3283064365386963e-10*t.c;return t.s0=t.s1,t.s1=t.s2,t.s2=e-(t.c=0|e)},t.c=1,t.s0=n(" "),t.s1=n(" "),t.s2=n(" "),t.s0-=n(e),t.s0<0&&(t.s0+=1),t.s1-=n(e),t.s1<0&&(t.s1+=1),t.s2-=n(e),t.s2<0&&(t.s2+=1),n=null}function a(e,t){return t.c=e.c,t.s0=e.s0,t.s1=e.s1,t.s2=e.s2,t}function s(e,t){var n=new i(e),r=t&&t.state,o=n.next;return o.int32=function(){return 4294967296*n.next()|0},o.double=function(){return o()+11102230246251565e-32*(2097152*o()|0)},o.quick=o,r&&("object"==typeof r&&a(r,n),o.state=function(){return a(n,{})}),o}o&&o.exports?o.exports=s:n.amdD&&n.amdO?void 0===(r=function(){return s}.call(t,n,t,o))||(o.exports=r):this.alea=s}(0,e=n.nmd(e),n.amdD)},43717:function(e,t,n){var r;!function(e,o){function i(e){var t=this,n="";t.next=function(){var e=t.b,n=t.c,r=t.d,o=t.a;return e=e<<25^e>>>7^n,n=n-r|0,r=r<<24^r>>>8^o,o=o-e|0,t.b=e=e<<20^e>>>12^n,t.c=n=n-r|0,t.d=r<<16^n>>>16^o,t.a=o-e|0},t.a=0,t.b=0,t.c=-1640531527,t.d=1367130551,e===Math.floor(e)?(t.a=e/4294967296|0,t.b=0|e):n+=e;for(var r=0;r<n.length+20;r++)t.b^=0|n.charCodeAt(r),t.next()}function a(e,t){return t.a=e.a,t.b=e.b,t.c=e.c,t.d=e.d,t}function s(e,t){var n=new i(e),r=t&&t.state,o=function(){return(n.next()>>>0)/4294967296};return o.double=function(){do{var e=((n.next()>>>11)+(n.next()>>>0)/4294967296)/(1<<21)}while(0===e);return e},o.int32=n.next,o.quick=o,r&&("object"==typeof r&&a(r,n),o.state=function(){return a(n,{})}),o}o&&o.exports?o.exports=s:n.amdD&&n.amdO?void 0===(r=function(){return s}.call(t,n,t,o))||(o.exports=r):this.tychei=s}(0,e=n.nmd(e),n.amdD)},43181:function(e,t,n){var r;!function(e,o){function i(e){var t=this,n="";t.x=0,t.y=0,t.z=0,t.w=0,t.next=function(){var e=t.x^t.x<<11;return t.x=t.y,t.y=t.z,t.z=t.w,t.w^=t.w>>>19^e^e>>>8},e===(0|e)?t.x=e:n+=e;for(var r=0;r<n.length+64;r++)t.x^=0|n.charCodeAt(r),t.next()}function a(e,t){return t.x=e.x,t.y=e.y,t.z=e.z,t.w=e.w,t}function s(e,t){var n=new i(e),r=t&&t.state,o=function(){return(n.next()>>>0)/4294967296};return o.double=function(){do{var e=((n.next()>>>11)+(n.next()>>>0)/4294967296)/(1<<21)}while(0===e);return e},o.int32=n.next,o.quick=o,r&&("object"==typeof r&&a(r,n),o.state=function(){return a(n,{})}),o}o&&o.exports?o.exports=s:n.amdD&&n.amdO?void 0===(r=function(){return s}.call(t,n,t,o))||(o.exports=r):this.xor128=s}(0,e=n.nmd(e),n.amdD)},96833:function(e,t,n){var r;!function(e,o){function i(e){var t=this;t.next=function(){var e,n,r=t.w,o=t.X,i=t.i;return t.w=r=r+1640531527|0,n=o[i+34&127],e=o[i=i+1&127],n^=n<<13,e^=e<<17,n^=n>>>15,e^=e>>>12,n=o[i]=n^e,t.i=i,n+(r^r>>>16)|0},function(e,t){var n,r,o,i,a,s=[],l=128;for(t===(0|t)?(r=t,t=null):(t+="\0",r=0,l=Math.max(l,t.length)),o=0,i=-32;i<l;++i)t&&(r^=t.charCodeAt((i+32)%t.length)),0===i&&(a=r),r^=r<<10,r^=r>>>15,r^=r<<4,r^=r>>>13,i>=0&&(a=a+1640531527|0,o=0==(n=s[127&i]^=r+a)?o+1:0);for(o>=128&&(s[127&(t&&t.length||0)]=-1),o=127,i=512;i>0;--i)r=s[o+34&127],n=s[o=o+1&127],r^=r<<13,n^=n<<17,r^=r>>>15,n^=n>>>12,s[o]=r^n;e.w=a,e.X=s,e.i=o}(t,e)}function a(e,t){return t.i=e.i,t.w=e.w,t.X=e.X.slice(),t}function s(e,t){null==e&&(e=+new Date);var n=new i(e),r=t&&t.state,o=function(){return(n.next()>>>0)/4294967296};return o.double=function(){do{var e=((n.next()>>>11)+(n.next()>>>0)/4294967296)/(1<<21)}while(0===e);return e},o.int32=n.next,o.quick=o,r&&(r.X&&a(r,n),o.state=function(){return a(n,{})}),o}o&&o.exports?o.exports=s:n.amdD&&n.amdO?void 0===(r=function(){return s}.call(t,n,t,o))||(o.exports=r):this.xor4096=s}(0,e=n.nmd(e),n.amdD)},9067:function(e,t,n){var r;!function(e,o){function i(e){var t=this;t.next=function(){var e,n,r=t.x,o=t.i;return e=r[o],n=(e^=e>>>7)^e<<24,n^=(e=r[o+1&7])^e>>>10,n^=(e=r[o+3&7])^e>>>3,n^=(e=r[o+4&7])^e<<7,e=r[o+7&7],n^=(e^=e<<13)^e<<9,r[o]=n,t.i=o+1&7,n},function(e,t){var n,r=[];if(t===(0|t))r[0]=t;else for(t=""+t,n=0;n<t.length;++n)r[7&n]=r[7&n]<<15^t.charCodeAt(n)+r[n+1&7]<<13;for(;r.length<8;)r.push(0);for(n=0;n<8&&0===r[n];++n);for(8==n?r[7]=-1:r[n],e.x=r,e.i=0,n=256;n>0;--n)e.next()}(t,e)}function a(e,t){return t.x=e.x.slice(),t.i=e.i,t}function s(e,t){null==e&&(e=+new Date);var n=new i(e),r=t&&t.state,o=function(){return(n.next()>>>0)/4294967296};return o.double=function(){do{var e=((n.next()>>>11)+(n.next()>>>0)/4294967296)/(1<<21)}while(0===e);return e},o.int32=n.next,o.quick=o,r&&(r.x&&a(r,n),o.state=function(){return a(n,{})}),o}o&&o.exports?o.exports=s:n.amdD&&n.amdO?void 0===(r=function(){return s}.call(t,n,t,o))||(o.exports=r):this.xorshift7=s}(0,e=n.nmd(e),n.amdD)},43031:function(e,t,n){var r;!function(e,o){function i(e){var t=this,n="";t.next=function(){var e=t.x^t.x>>>2;return t.x=t.y,t.y=t.z,t.z=t.w,t.w=t.v,(t.d=t.d+362437|0)+(t.v=t.v^t.v<<4^e^e<<1)|0},t.x=0,t.y=0,t.z=0,t.w=0,t.v=0,e===(0|e)?t.x=e:n+=e;for(var r=0;r<n.length+64;r++)t.x^=0|n.charCodeAt(r),r==n.length&&(t.d=t.x<<10^t.x>>>4),t.next()}function a(e,t){return t.x=e.x,t.y=e.y,t.z=e.z,t.w=e.w,t.v=e.v,t.d=e.d,t}function s(e,t){var n=new i(e),r=t&&t.state,o=function(){return(n.next()>>>0)/4294967296};return o.double=function(){do{var e=((n.next()>>>11)+(n.next()>>>0)/4294967296)/(1<<21)}while(0===e);return e},o.int32=n.next,o.quick=o,r&&("object"==typeof r&&a(r,n),o.state=function(){return a(n,{})}),o}o&&o.exports?o.exports=s:n.amdD&&n.amdO?void 0===(r=function(){return s}.call(t,n,t,o))||(o.exports=r):this.xorwow=s}(0,e=n.nmd(e),n.amdD)},74801:function(e,t,n){var r;!function(o,i,a){var s,l=256,c=a.pow(l,6),u=a.pow(2,52),d=2*u,p=l-1;function f(e,t,n){var r=[],p=v(g((t=1==t?{entropy:!0}:t||{}).entropy?[e,y(i)]:null==e?function(){try{var e;return s&&(e=s.randomBytes)?e=e(l):(e=new Uint8Array(l),(o.crypto||o.msCrypto).getRandomValues(e)),y(e)}catch(e){var t=o.navigator,n=t&&t.plugins;return[+new Date,o,n,o.screen,y(i)]}}():e,3),r),f=new h(r),b=function(){for(var e=f.g(6),t=c,n=0;e<u;)e=(e+n)*l,t*=l,n=f.g(1);for(;e>=d;)e/=2,t/=2,n>>>=1;return(e+n)/t};return b.int32=function(){return 0|f.g(4)},b.quick=function(){return f.g(4)/4294967296},b.double=b,v(y(f.S),i),(t.pass||n||function(e,t,n,r){return r&&(r.S&&m(r,f),e.state=function(){return m(f,{})}),n?(a.random=e,t):e})(b,p,"global"in t?t.global:this==a,t.state)}function h(e){var t,n=e.length,r=this,o=0,i=r.i=r.j=0,a=r.S=[];for(n||(e=[n++]);o<l;)a[o]=o++;for(o=0;o<l;o++)a[o]=a[i=p&i+e[o%n]+(t=a[o])],a[i]=t;(r.g=function(e){for(var t,n=0,o=r.i,i=r.j,a=r.S;e--;)t=a[o=p&o+1],n=n*l+a[p&(a[o]=a[i=p&i+t])+(a[i]=t)];return r.i=o,r.j=i,n})(l)}function m(e,t){return t.i=e.i,t.j=e.j,t.S=e.S.slice(),t}function g(e,t){var n,r=[],o=typeof e;if(t&&"object"==o)for(n in e)try{r.push(g(e[n],t-1))}catch(e){}return r.length?r:"string"==o?e:e+"\0"}function v(e,t){for(var n,r=e+"",o=0;o<r.length;)t[p&o]=p&(n^=19*t[p&o])+r.charCodeAt(o++);return y(t)}function y(e){return String.fromCharCode.apply(0,e)}if(v(a.random(),i),e.exports){e.exports=f;try{s=n(41234)}catch(e){}}else void 0===(r=function(){return f}.call(t,n,t,e))||(e.exports=r)}("undefined"!=typeof self?self:this,[],Math)},35966:function(e){"use strict";function t(e,t){if(!Array.isArray(e))throw new Error("shuffle expect an array as parameter.");t=t||{};var n,r,o=e,i=e.length,a=t.rng||Math.random;for(!0===t.copy&&(o=e.slice());i;)n=Math.floor(a()*i),r=o[i-=1],o[i]=o[n],o[n]=r;return o}t.pick=function(e,t){if(!Array.isArray(e))throw new Error("shuffle.pick() expect an array as parameter.");var n=(t=t||{}).rng||Math.random,r=t.picks||1;if("number"==typeof r&&1!==r){for(var o,i=e.length,a=e.slice(),s=[];r&&i;)o=Math.floor(n()*i),s.push(a[o]),a.splice(o,1),i-=1,r-=1;return s}return e[Math.floor(n()*e.length)]},e.exports=t},31196:function(e){!function(){"use strict";e.exports={polyfill:function(){var e=window,t=document;if(!("scrollBehavior"in t.documentElement.style)||!0===e.__forceSmoothScrollPolyfill__){var n,r=e.HTMLElement||e.Element,o=468,i={scroll:e.scroll||e.scrollTo,scrollBy:e.scrollBy,elementScroll:r.prototype.scroll||l,scrollIntoView:r.prototype.scrollIntoView},a=e.performance&&e.performance.now?e.performance.now.bind(e.performance):Date.now,s=(n=e.navigator.userAgent,new RegExp(["MSIE ","Trident/","Edge/"].join("|")).test(n)?1:0);e.scroll=e.scrollTo=function(){void 0!==arguments[0]&&(!0!==c(arguments[0])?h.call(e,t.body,void 0!==arguments[0].left?~~arguments[0].left:e.scrollX||e.pageXOffset,void 0!==arguments[0].top?~~arguments[0].top:e.scrollY||e.pageYOffset):i.scroll.call(e,void 0!==arguments[0].left?arguments[0].left:"object"!=typeof arguments[0]?arguments[0]:e.scrollX||e.pageXOffset,void 0!==arguments[0].top?arguments[0].top:void 0!==arguments[1]?arguments[1]:e.scrollY||e.pageYOffset))},e.scrollBy=function(){void 0!==arguments[0]&&(c(arguments[0])?i.scrollBy.call(e,void 0!==arguments[0].left?arguments[0].left:"object"!=typeof arguments[0]?arguments[0]:0,void 0!==arguments[0].top?arguments[0].top:void 0!==arguments[1]?arguments[1]:0):h.call(e,t.body,~~arguments[0].left+(e.scrollX||e.pageXOffset),~~arguments[0].top+(e.scrollY||e.pageYOffset)))},r.prototype.scroll=r.prototype.scrollTo=function(){if(void 0!==arguments[0])if(!0!==c(arguments[0])){var e=arguments[0].left,t=arguments[0].top;h.call(this,this,void 0===e?this.scrollLeft:~~e,void 0===t?this.scrollTop:~~t)}else{if("number"==typeof arguments[0]&&void 0===arguments[1])throw new SyntaxError("Value could not be converted");i.elementScroll.call(this,void 0!==arguments[0].left?~~arguments[0].left:"object"!=typeof arguments[0]?~~arguments[0]:this.scrollLeft,void 0!==arguments[0].top?~~arguments[0].top:void 0!==arguments[1]?~~arguments[1]:this.scrollTop)}},r.prototype.scrollBy=function(){void 0!==arguments[0]&&(!0!==c(arguments[0])?this.scroll({left:~~arguments[0].left+this.scrollLeft,top:~~arguments[0].top+this.scrollTop,behavior:arguments[0].behavior}):i.elementScroll.call(this,void 0!==arguments[0].left?~~arguments[0].left+this.scrollLeft:~~arguments[0]+this.scrollLeft,void 0!==arguments[0].top?~~arguments[0].top+this.scrollTop:~~arguments[1]+this.scrollTop))},r.prototype.scrollIntoView=function(){if(!0!==c(arguments[0])){var n=function(e){for(;e!==t.body&&!1===p(e);)e=e.parentNode||e.host;return e}(this),r=n.getBoundingClientRect(),o=this.getBoundingClientRect();n!==t.body?(h.call(this,n,n.scrollLeft+o.left-r.left,n.scrollTop+o.top-r.top),"fixed"!==e.getComputedStyle(n).position&&e.scrollBy({left:r.left,top:r.top,behavior:"smooth"})):e.scrollBy({left:o.left,top:o.top,behavior:"smooth"})}else i.scrollIntoView.call(this,void 0===arguments[0]||arguments[0])}}function l(e,t){this.scrollLeft=e,this.scrollTop=t}function c(e){if(null===e||"object"!=typeof e||void 0===e.behavior||"auto"===e.behavior||"instant"===e.behavior)return!0;if("object"==typeof e&&"smooth"===e.behavior)return!1;throw new TypeError("behavior member of ScrollOptions "+e.behavior+" is not a valid value for enumeration ScrollBehavior.")}function u(e,t){return"Y"===t?e.clientHeight+s<e.scrollHeight:"X"===t?e.clientWidth+s<e.scrollWidth:void 0}function d(t,n){var r=e.getComputedStyle(t,null)["overflow"+n];return"auto"===r||"scroll"===r}function p(e){var t=u(e,"Y")&&d(e,"Y"),n=u(e,"X")&&d(e,"X");return t||n}function f(t){var n,r,i,s,l=(a()-t.startTime)/o;s=l=l>1?1:l,n=.5*(1-Math.cos(Math.PI*s)),r=t.startX+(t.x-t.startX)*n,i=t.startY+(t.y-t.startY)*n,t.method.call(t.scrollable,r,i),r===t.x&&i===t.y||e.requestAnimationFrame(f.bind(e,t))}function h(n,r,o){var s,c,u,d,p=a();n===t.body?(s=e,c=e.scrollX||e.pageXOffset,u=e.scrollY||e.pageYOffset,d=i.scroll):(s=n,c=n.scrollLeft,u=n.scrollTop,d=l),f({scrollable:s,method:d,startTime:p,startX:c,startY:u,x:r,y:o})}}}}()},64504:function(e,t,n){"use strict";n.r(t),n.d(t,{animateFill:function(){return ie},createSingleton:function(){return ne},delegate:function(){return oe},followCursor:function(){return ce},hideAll:function(){return ee},inlinePositioning:function(){return ue},roundArrow:function(){return i},sticky:function(){return de}});var r=n(2784),o=n(16607),i='<svg width="16" height="6" xmlns="http://www.w3.org/2000/svg"><path d="M0 6s1.796-.013 4.67-3.615C5.851.9 6.93.006 8 0c1.07-.006 2.148.887 3.343 2.385C14.233 6.005 16 6 16 6H0z"></svg>',a="tippy-content",s="tippy-backdrop",l="tippy-arrow",c="tippy-svg-arrow",u={passive:!0,capture:!0},d=function(){return document.body};function p(e,t,n){if(Array.isArray(e)){var r=e[t];return null==r?Array.isArray(n)?n[t]:n:r}return e}function f(e,t){var n={}.toString.call(e);return 0===n.indexOf("[object")&&n.indexOf(t+"]")>-1}function h(e,t){return"function"==typeof e?e.apply(void 0,t):e}function m(e,t){return 0===t?e:function(r){clearTimeout(n),n=setTimeout((function(){e(r)}),t)};var n}function g(e,t){var n=Object.assign({},e);return t.forEach((function(e){delete n[e]})),n}function v(e){return[].concat(e)}function y(e,t){-1===e.indexOf(t)&&e.push(t)}function b(e){return e.split("-")[0]}function x(e){return[].slice.call(e)}function w(e){return Object.keys(e).reduce((function(t,n){return void 0!==e[n]&&(t[n]=e[n]),t}),{})}function A(){return document.createElement("div")}function _(e){return["Element","Fragment"].some((function(t){return f(e,t)}))}function S(e){return f(e,"MouseEvent")}function k(e){return!(!e||!e._tippy||e._tippy.reference!==e)}function C(e){return _(e)?[e]:function(e){return f(e,"NodeList")}(e)?x(e):Array.isArray(e)?e:x(document.querySelectorAll(e))}function T(e,t){e.forEach((function(e){e&&(e.style.transitionDuration=t+"ms")}))}function M(e,t){e.forEach((function(e){e&&e.setAttribute("data-state",t)}))}function P(e){var t,n=v(e)[0];return null!=n&&null!=(t=n.ownerDocument)&&t.body?n.ownerDocument:document}function O(e,t,n){var r=t+"EventListener";["transitionend","webkitTransitionEnd"].forEach((function(t){e[r](t,n)}))}function E(e,t){for(var n=t;n;){var r;if(e.contains(n))return!0;n=null==n.getRootNode||null==(r=n.getRootNode())?void 0:r.host}return!1}var D={isTouch:!1},R=0;function I(){D.isTouch||(D.isTouch=!0,window.performance&&document.addEventListener("mousemove",N))}function N(){var e=performance.now();e-R<20&&(D.isTouch=!1,document.removeEventListener("mousemove",N)),R=e}function L(){var e=document.activeElement;if(k(e)){var t=e._tippy;e.blur&&!t.state.isVisible&&e.blur()}}var j=!!("undefined"!=typeof window&&"undefined"!=typeof document)&&!!window.msCrypto;var $={animateFill:!1,followCursor:!1,inlinePositioning:!1,sticky:!1},z=Object.assign({appendTo:d,aria:{content:"auto",expanded:"auto"},delay:0,duration:[300,250],getReferenceClientRect:null,hideOnClick:!0,ignoreAttributes:!1,interactive:!1,interactiveBorder:2,interactiveDebounce:0,moveTransition:"",offset:[0,10],onAfterUpdate:function(){},onBeforeUpdate:function(){},onCreate:function(){},onDestroy:function(){},onHidden:function(){},onHide:function(){},onMount:function(){},onShow:function(){},onShown:function(){},onTrigger:function(){},onUntrigger:function(){},onClickOutside:function(){},placement:"top",plugins:[],popperOptions:{},render:null,showOnCreate:!1,touch:!0,trigger:"mouseenter focus",triggerTarget:null},$,{allowHTML:!1,animation:"fade",arrow:!0,content:"",inertia:!1,maxWidth:350,role:"tooltip",theme:"",zIndex:9999}),F=Object.keys(z);function B(e){var t=(e.plugins||[]).reduce((function(t,n){var r,o=n.name,i=n.defaultValue;o&&(t[o]=void 0!==e[o]?e[o]:null!=(r=z[o])?r:i);return t}),{});return Object.assign({},e,t)}function H(e,t){var n=Object.assign({},t,{content:h(t.content,[e])},t.ignoreAttributes?{}:function(e,t){return(t?Object.keys(B(Object.assign({},z,{plugins:t}))):F).reduce((function(t,n){var r=(e.getAttribute("data-tippy-"+n)||"").trim();if(!r)return t;if("content"===n)t[n]=r;else try{t[n]=JSON.parse(r)}catch(e){t[n]=r}return t}),{})}(e,t.plugins));return n.aria=Object.assign({},z.aria,n.aria),n.aria={expanded:"auto"===n.aria.expanded?t.interactive:n.aria.expanded,content:"auto"===n.aria.content?t.interactive?null:"describedby":n.aria.content},n}var V=function(){return"innerHTML"};function W(e,t){e[V()]=t}function U(e){var t=A();return!0===e?t.className=l:(t.className=c,_(e)?t.appendChild(e):W(t,e)),t}function q(e,t){_(t.content)?(W(e,""),e.appendChild(t.content)):"function"!=typeof t.content&&(t.allowHTML?W(e,t.content):e.textContent=t.content)}function G(e){var t=e.firstElementChild,n=x(t.children);return{box:t,content:n.find((function(e){return e.classList.contains(a)})),arrow:n.find((function(e){return e.classList.contains(l)||e.classList.contains(c)})),backdrop:n.find((function(e){return e.classList.contains(s)}))}}function Y(e){var t=A(),n=A();n.className="tippy-box",n.setAttribute("data-state","hidden"),n.setAttribute("tabindex","-1");var r=A();function o(n,r){var o=G(t),i=o.box,a=o.content,s=o.arrow;r.theme?i.setAttribute("data-theme",r.theme):i.removeAttribute("data-theme"),"string"==typeof r.animation?i.setAttribute("data-animation",r.animation):i.removeAttribute("data-animation"),r.inertia?i.setAttribute("data-inertia",""):i.removeAttribute("data-inertia"),i.style.maxWidth="number"==typeof r.maxWidth?r.maxWidth+"px":r.maxWidth,r.role?i.setAttribute("role",r.role):i.removeAttribute("role"),n.content===r.content&&n.allowHTML===r.allowHTML||q(a,e.props),r.arrow?s?n.arrow!==r.arrow&&(i.removeChild(s),i.appendChild(U(r.arrow))):i.appendChild(U(r.arrow)):s&&i.removeChild(s)}return r.className=a,r.setAttribute("data-state","hidden"),q(r,e.props),t.appendChild(n),n.appendChild(r),o(e.props,e.props),{popper:t,onUpdate:o}}Y.$$tippy=!0;var X=1,K=[],Z=[];function J(e,t){var n,o,i,a,s,l,c,f,g=H(e,Object.assign({},z,B(w(t)))),_=!1,k=!1,C=!1,R=!1,I=[],N=m(xe,g.interactiveDebounce),L=X++,$=(f=g.plugins).filter((function(e,t){return f.indexOf(e)===t})),F={id:L,reference:e,popper:A(),popperInstance:null,props:g,state:{isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},plugins:$,clearDelayTimeouts:function(){clearTimeout(n),clearTimeout(o),cancelAnimationFrame(i)},setProps:function(t){0;if(F.state.isDestroyed)return;ae("onBeforeUpdate",[F,t]),ye();var n=F.props,r=H(e,Object.assign({},n,w(t),{ignoreAttributes:!0}));F.props=r,ve(),n.interactiveDebounce!==r.interactiveDebounce&&(ce(),N=m(xe,r.interactiveDebounce));n.triggerTarget&&!r.triggerTarget?v(n.triggerTarget).forEach((function(e){e.removeAttribute("aria-expanded")})):r.triggerTarget&&e.removeAttribute("aria-expanded");le(),ie(),U&&U(n,r);F.popperInstance&&(Se(),Ce().forEach((function(e){requestAnimationFrame(e._tippy.popperInstance.forceUpdate)})));ae("onAfterUpdate",[F,t])},setContent:function(e){F.setProps({content:e})},show:function(){0;var e=F.state.isVisible,t=F.state.isDestroyed,n=!F.state.isEnabled,r=D.isTouch&&!F.props.touch,o=p(F.props.duration,0,z.duration);if(e||t||n||r)return;if(te().hasAttribute("disabled"))return;if(ae("onShow",[F],!1),!1===F.props.onShow(F))return;F.state.isVisible=!0,ee()&&(W.style.visibility="visible");ie(),fe(),F.state.isMounted||(W.style.transition="none");if(ee()){var i=re();T([i.box,i.content],0)}l=function(){var e;if(F.state.isVisible&&!R){if(R=!0,W.offsetHeight,W.style.transition=F.props.moveTransition,ee()&&F.props.animation){var t=re(),n=t.box,r=t.content;T([n,r],o),M([n,r],"visible")}se(),le(),y(Z,F),null==(e=F.popperInstance)||e.forceUpdate(),ae("onMount",[F]),F.props.animation&&ee()&&function(e,t){me(e,t)}(o,(function(){F.state.isShown=!0,ae("onShown",[F])}))}},function(){var e,t=F.props.appendTo,n=te();e=F.props.interactive&&t===d||"parent"===t?n.parentNode:h(t,[n]);e.contains(W)||e.appendChild(W);F.state.isMounted=!0,Se(),!1}()},hide:function(){0;var e=!F.state.isVisible,t=F.state.isDestroyed,n=!F.state.isEnabled,r=p(F.props.duration,1,z.duration);if(e||t||n)return;if(ae("onHide",[F],!1),!1===F.props.onHide(F))return;F.state.isVisible=!1,F.state.isShown=!1,R=!1,_=!1,ee()&&(W.style.visibility="hidden");if(ce(),he(),ie(!0),ee()){var o=re(),i=o.box,a=o.content;F.props.animation&&(T([i,a],r),M([i,a],"hidden"))}se(),le(),F.props.animation?ee()&&function(e,t){me(e,(function(){!F.state.isVisible&&W.parentNode&&W.parentNode.contains(W)&&t()}))}(r,F.unmount):F.unmount()},hideWithInteractivity:function(e){0;ne().addEventListener("mousemove",N),y(K,N),N(e)},enable:function(){F.state.isEnabled=!0},disable:function(){F.hide(),F.state.isEnabled=!1},unmount:function(){0;F.state.isVisible&&F.hide();if(!F.state.isMounted)return;ke(),Ce().forEach((function(e){e._tippy.unmount()})),W.parentNode&&W.parentNode.removeChild(W);Z=Z.filter((function(e){return e!==F})),F.state.isMounted=!1,ae("onHidden",[F])},destroy:function(){0;if(F.state.isDestroyed)return;F.clearDelayTimeouts(),F.unmount(),ye(),delete e._tippy,F.state.isDestroyed=!0,ae("onDestroy",[F])}};if(!g.render)return F;var V=g.render(F),W=V.popper,U=V.onUpdate;W.setAttribute("data-tippy-root",""),W.id="tippy-"+F.id,F.popper=W,e._tippy=F,W._tippy=F;var q=$.map((function(e){return e.fn(F)})),Y=e.hasAttribute("aria-expanded");return ve(),le(),ie(),ae("onCreate",[F]),g.showOnCreate&&Te(),W.addEventListener("mouseenter",(function(){F.props.interactive&&F.state.isVisible&&F.clearDelayTimeouts()})),W.addEventListener("mouseleave",(function(){F.props.interactive&&F.props.trigger.indexOf("mouseenter")>=0&&ne().addEventListener("mousemove",N)})),F;function J(){var e=F.props.touch;return Array.isArray(e)?e:[e,0]}function Q(){return"hold"===J()[0]}function ee(){var e;return!(null==(e=F.props.render)||!e.$$tippy)}function te(){return c||e}function ne(){var e=te().parentNode;return e?P(e):document}function re(){return G(W)}function oe(e){return F.state.isMounted&&!F.state.isVisible||D.isTouch||a&&"focus"===a.type?0:p(F.props.delay,e?0:1,z.delay)}function ie(e){void 0===e&&(e=!1),W.style.pointerEvents=F.props.interactive&&!e?"":"none",W.style.zIndex=""+F.props.zIndex}function ae(e,t,n){var r;(void 0===n&&(n=!0),q.forEach((function(n){n[e]&&n[e].apply(n,t)})),n)&&(r=F.props)[e].apply(r,t)}function se(){var t=F.props.aria;if(t.content){var n="aria-"+t.content,r=W.id;v(F.props.triggerTarget||e).forEach((function(e){var t=e.getAttribute(n);if(F.state.isVisible)e.setAttribute(n,t?t+" "+r:r);else{var o=t&&t.replace(r,"").trim();o?e.setAttribute(n,o):e.removeAttribute(n)}}))}}function le(){!Y&&F.props.aria.expanded&&v(F.props.triggerTarget||e).forEach((function(e){F.props.interactive?e.setAttribute("aria-expanded",F.state.isVisible&&e===te()?"true":"false"):e.removeAttribute("aria-expanded")}))}function ce(){ne().removeEventListener("mousemove",N),K=K.filter((function(e){return e!==N}))}function ue(t){if(!D.isTouch||!C&&"mousedown"!==t.type){var n=t.composedPath&&t.composedPath()[0]||t.target;if(!F.props.interactive||!E(W,n)){if(v(F.props.triggerTarget||e).some((function(e){return E(e,n)}))){if(D.isTouch)return;if(F.state.isVisible&&F.props.trigger.indexOf("click")>=0)return}else ae("onClickOutside",[F,t]);!0===F.props.hideOnClick&&(F.clearDelayTimeouts(),F.hide(),k=!0,setTimeout((function(){k=!1})),F.state.isMounted||he())}}}function de(){C=!0}function pe(){C=!1}function fe(){var e=ne();e.addEventListener("mousedown",ue,!0),e.addEventListener("touchend",ue,u),e.addEventListener("touchstart",pe,u),e.addEventListener("touchmove",de,u)}function he(){var e=ne();e.removeEventListener("mousedown",ue,!0),e.removeEventListener("touchend",ue,u),e.removeEventListener("touchstart",pe,u),e.removeEventListener("touchmove",de,u)}function me(e,t){var n=re().box;function r(e){e.target===n&&(O(n,"remove",r),t())}if(0===e)return t();O(n,"remove",s),O(n,"add",r),s=r}function ge(t,n,r){void 0===r&&(r=!1),v(F.props.triggerTarget||e).forEach((function(e){e.addEventListener(t,n,r),I.push({node:e,eventType:t,handler:n,options:r})}))}function ve(){var e;Q()&&(ge("touchstart",be,{passive:!0}),ge("touchend",we,{passive:!0})),(e=F.props.trigger,e.split(/\s+/).filter(Boolean)).forEach((function(e){if("manual"!==e)switch(ge(e,be),e){case"mouseenter":ge("mouseleave",we);break;case"focus":ge(j?"focusout":"blur",Ae);break;case"focusin":ge("focusout",Ae)}}))}function ye(){I.forEach((function(e){var t=e.node,n=e.eventType,r=e.handler,o=e.options;t.removeEventListener(n,r,o)})),I=[]}function be(e){var t,n=!1;if(F.state.isEnabled&&!_e(e)&&!k){var r="focus"===(null==(t=a)?void 0:t.type);a=e,c=e.currentTarget,le(),!F.state.isVisible&&S(e)&&K.forEach((function(t){return t(e)})),"click"===e.type&&(F.props.trigger.indexOf("mouseenter")<0||_)&&!1!==F.props.hideOnClick&&F.state.isVisible?n=!0:Te(e),"click"===e.type&&(_=!n),n&&!r&&Me(e)}}function xe(e){var t=e.target,n=te().contains(t)||W.contains(t);if("mousemove"!==e.type||!n){var r=Ce().concat(W).map((function(e){var t,n=null==(t=e._tippy.popperInstance)?void 0:t.state;return n?{popperRect:e.getBoundingClientRect(),popperState:n,props:g}:null})).filter(Boolean);(function(e,t){var n=t.clientX,r=t.clientY;return e.every((function(e){var t=e.popperRect,o=e.popperState,i=e.props.interactiveBorder,a=b(o.placement),s=o.modifiersData.offset;if(!s)return!0;var l="bottom"===a?s.top.y:0,c="top"===a?s.bottom.y:0,u="right"===a?s.left.x:0,d="left"===a?s.right.x:0,p=t.top-r+l>i,f=r-t.bottom-c>i,h=t.left-n+u>i,m=n-t.right-d>i;return p||f||h||m}))})(r,e)&&(ce(),Me(e))}}function we(e){_e(e)||F.props.trigger.indexOf("click")>=0&&_||(F.props.interactive?F.hideWithInteractivity(e):Me(e))}function Ae(e){F.props.trigger.indexOf("focusin")<0&&e.target!==te()||F.props.interactive&&e.relatedTarget&&W.contains(e.relatedTarget)||Me(e)}function _e(e){return!!D.isTouch&&Q()!==e.type.indexOf("touch")>=0}function Se(){ke();var t=F.props,n=t.popperOptions,o=t.placement,i=t.offset,a=t.getReferenceClientRect,s=t.moveTransition,c=ee()?G(W).arrow:null,u=a?{getBoundingClientRect:a,contextElement:a.contextElement||te()}:e,d={name:"$$tippy",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(e){var t=e.state;if(ee()){var n=re().box;["placement","reference-hidden","escaped"].forEach((function(e){"placement"===e?n.setAttribute("data-placement",t.placement):t.attributes.popper["data-popper-"+e]?n.setAttribute("data-"+e,""):n.removeAttribute("data-"+e)})),t.attributes.popper={}}}},p=[{name:"offset",options:{offset:i}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5}},{name:"computeStyles",options:{adaptive:!s}},d];ee()&&c&&p.push({name:"arrow",options:{element:c,padding:3}}),p.push.apply(p,(null==n?void 0:n.modifiers)||[]),F.popperInstance=(0,r.n4)(u,W,Object.assign({},n,{placement:o,onFirstUpdate:l,modifiers:p}))}function ke(){F.popperInstance&&(F.popperInstance.destroy(),F.popperInstance=null)}function Ce(){return x(W.querySelectorAll("[data-tippy-root]"))}function Te(e){F.clearDelayTimeouts(),e&&ae("onTrigger",[F,e]),fe();var t=oe(!0),r=J(),o=r[0],i=r[1];D.isTouch&&"hold"===o&&i&&(t=i),t?n=setTimeout((function(){F.show()}),t):F.show()}function Me(e){if(F.clearDelayTimeouts(),ae("onUntrigger",[F,e]),F.state.isVisible){if(!(F.props.trigger.indexOf("mouseenter")>=0&&F.props.trigger.indexOf("click")>=0&&["mouseleave","mousemove"].indexOf(e.type)>=0&&_)){var t=oe(!1);t?o=setTimeout((function(){F.state.isVisible&&F.hide()}),t):i=requestAnimationFrame((function(){F.hide()}))}}else he()}}function Q(e,t){void 0===t&&(t={});var n=z.plugins.concat(t.plugins||[]);document.addEventListener("touchstart",I,u),window.addEventListener("blur",L);var r=Object.assign({},t,{plugins:n}),o=C(e).reduce((function(e,t){var n=t&&J(t,r);return n&&e.push(n),e}),[]);return _(e)?o[0]:o}Q.defaultProps=z,Q.setDefaultProps=function(e){Object.keys(e).forEach((function(t){z[t]=e[t]}))},Q.currentInput=D;var ee=function(e){var t=void 0===e?{}:e,n=t.exclude,r=t.duration;Z.forEach((function(e){var t=!1;if(n&&(t=k(n)?e.reference===n:e.popper===n.popper),!t){var o=e.props.duration;e.setProps({duration:r}),e.hide(),e.state.isDestroyed||e.setProps({duration:o})}}))},te=Object.assign({},o.A,{effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow)}}),ne=function(e,t){var n;void 0===t&&(t={});var r,o=e,i=[],a=[],s=t.overrides,l=[],c=!1;function u(){a=o.map((function(e){return v(e.props.triggerTarget||e.reference)})).reduce((function(e,t){return e.concat(t)}),[])}function d(){i=o.map((function(e){return e.reference}))}function p(e){o.forEach((function(t){e?t.enable():t.disable()}))}function f(e){return o.map((function(t){var n=t.setProps;return t.setProps=function(o){n(o),t.reference===r&&e.setProps(o)},function(){t.setProps=n}}))}function h(e,t){var n=a.indexOf(t);if(t!==r){r=t;var l=(s||[]).concat("content").reduce((function(e,t){return e[t]=o[n].props[t],e}),{});e.setProps(Object.assign({},l,{getReferenceClientRect:"function"==typeof l.getReferenceClientRect?l.getReferenceClientRect:function(){var e;return null==(e=i[n])?void 0:e.getBoundingClientRect()}}))}}p(!1),d(),u();var m={fn:function(){return{onDestroy:function(){p(!0)},onHidden:function(){r=null},onClickOutside:function(e){e.props.showOnCreate&&!c&&(c=!0,r=null)},onShow:function(e){e.props.showOnCreate&&!c&&(c=!0,h(e,i[0]))},onTrigger:function(e,t){h(e,t.currentTarget)}}}},y=Q(A(),Object.assign({},g(t,["overrides"]),{plugins:[m].concat(t.plugins||[]),triggerTarget:a,popperOptions:Object.assign({},t.popperOptions,{modifiers:[].concat((null==(n=t.popperOptions)?void 0:n.modifiers)||[],[te])})})),b=y.show;y.show=function(e){if(b(),!r&&null==e)return h(y,i[0]);if(!r||null!=e){if("number"==typeof e)return i[e]&&h(y,i[e]);if(o.indexOf(e)>=0){var t=e.reference;return h(y,t)}return i.indexOf(e)>=0?h(y,e):void 0}},y.showNext=function(){var e=i[0];if(!r)return y.show(0);var t=i.indexOf(r);y.show(i[t+1]||e)},y.showPrevious=function(){var e=i[i.length-1];if(!r)return y.show(e);var t=i.indexOf(r),n=i[t-1]||e;y.show(n)};var x=y.setProps;return y.setProps=function(e){s=e.overrides||s,x(e)},y.setInstances=function(e){p(!0),l.forEach((function(e){return e()})),o=e,p(!1),d(),u(),l=f(y),y.setProps({triggerTarget:a})},l=f(y),y},re={mouseover:"mouseenter",focusin:"focus",click:"click"};function oe(e,t){var n=[],r=[],o=!1,i=t.target,a=g(t,["target"]),s=Object.assign({},a,{trigger:"manual",touch:!1}),l=Object.assign({touch:z.touch},a,{showOnCreate:!0}),c=Q(e,s);function d(e){if(e.target&&!o){var n=e.target.closest(i);if(n){var a=n.getAttribute("data-tippy-trigger")||t.trigger||z.trigger;if(!n._tippy&&!("touchstart"===e.type&&"boolean"==typeof l.touch||"touchstart"!==e.type&&a.indexOf(re[e.type])<0)){var s=Q(n,l);s&&(r=r.concat(s))}}}}function p(e,t,r,o){void 0===o&&(o=!1),e.addEventListener(t,r,o),n.push({node:e,eventType:t,handler:r,options:o})}return v(c).forEach((function(e){var t=e.destroy,i=e.enable,a=e.disable;e.destroy=function(e){void 0===e&&(e=!0),e&&r.forEach((function(e){e.destroy()})),r=[],n.forEach((function(e){var t=e.node,n=e.eventType,r=e.handler,o=e.options;t.removeEventListener(n,r,o)})),n=[],t()},e.enable=function(){i(),r.forEach((function(e){return e.enable()})),o=!1},e.disable=function(){a(),r.forEach((function(e){return e.disable()})),o=!0},function(e){var t=e.reference;p(t,"touchstart",d,u),p(t,"mouseover",d),p(t,"focusin",d),p(t,"click",d)}(e)})),c}var ie={name:"animateFill",defaultValue:!1,fn:function(e){var t;if(null==(t=e.props.render)||!t.$$tippy)return{};var n=G(e.popper),r=n.box,o=n.content,i=e.props.animateFill?function(){var e=A();return e.className=s,M([e],"hidden"),e}():null;return{onCreate:function(){i&&(r.insertBefore(i,r.firstElementChild),r.setAttribute("data-animatefill",""),r.style.overflow="hidden",e.setProps({arrow:!1,animation:"shift-away"}))},onMount:function(){if(i){var e=r.style.transitionDuration,t=Number(e.replace("ms",""));o.style.transitionDelay=Math.round(t/10)+"ms",i.style.transitionDuration=e,M([i],"visible")}},onShow:function(){i&&(i.style.transitionDuration="0ms")},onHide:function(){i&&M([i],"hidden")}}}};var ae={clientX:0,clientY:0},se=[];function le(e){var t=e.clientX,n=e.clientY;ae={clientX:t,clientY:n}}var ce={name:"followCursor",defaultValue:!1,fn:function(e){var t=e.reference,n=P(e.props.triggerTarget||t),r=!1,o=!1,i=!0,a=e.props;function s(){return"initial"===e.props.followCursor&&e.state.isVisible}function l(){n.addEventListener("mousemove",d)}function c(){n.removeEventListener("mousemove",d)}function u(){r=!0,e.setProps({getReferenceClientRect:null}),r=!1}function d(n){var r=!n.target||t.contains(n.target),o=e.props.followCursor,i=n.clientX,a=n.clientY,s=t.getBoundingClientRect(),l=i-s.left,c=a-s.top;!r&&e.props.interactive||e.setProps({getReferenceClientRect:function(){var e=t.getBoundingClientRect(),n=i,r=a;"initial"===o&&(n=e.left+l,r=e.top+c);var s="horizontal"===o?e.top:r,u="vertical"===o?e.right:n,d="horizontal"===o?e.bottom:r,p="vertical"===o?e.left:n;return{width:u-p,height:d-s,top:s,right:u,bottom:d,left:p}}})}function p(){e.props.followCursor&&(se.push({instance:e,doc:n}),function(e){e.addEventListener("mousemove",le)}(n))}function f(){0===(se=se.filter((function(t){return t.instance!==e}))).filter((function(e){return e.doc===n})).length&&function(e){e.removeEventListener("mousemove",le)}(n)}return{onCreate:p,onDestroy:f,onBeforeUpdate:function(){a=e.props},onAfterUpdate:function(t,n){var i=n.followCursor;r||void 0!==i&&a.followCursor!==i&&(f(),i?(p(),!e.state.isMounted||o||s()||l()):(c(),u()))},onMount:function(){e.props.followCursor&&!o&&(i&&(d(ae),i=!1),s()||l())},onTrigger:function(e,t){S(t)&&(ae={clientX:t.clientX,clientY:t.clientY}),o="focus"===t.type},onHidden:function(){e.props.followCursor&&(u(),c(),i=!0)}}}};var ue={name:"inlinePositioning",defaultValue:!1,fn:function(e){var t,n=e.reference;var r=-1,o=!1,i=[],a={name:"tippyInlinePositioning",enabled:!0,phase:"afterWrite",fn:function(o){var a=o.state;e.props.inlinePositioning&&(-1!==i.indexOf(a.placement)&&(i=[]),t!==a.placement&&-1===i.indexOf(a.placement)&&(i.push(a.placement),e.setProps({getReferenceClientRect:function(){return function(e){return function(e,t,n,r){if(n.length<2||null===e)return t;if(2===n.length&&r>=0&&n[0].left>n[1].right)return n[r]||t;switch(e){case"top":case"bottom":var o=n[0],i=n[n.length-1],a="top"===e,s=o.top,l=i.bottom,c=a?o.left:i.left,u=a?o.right:i.right;return{top:s,bottom:l,left:c,right:u,width:u-c,height:l-s};case"left":case"right":var d=Math.min.apply(Math,n.map((function(e){return e.left}))),p=Math.max.apply(Math,n.map((function(e){return e.right}))),f=n.filter((function(t){return"left"===e?t.left===d:t.right===p})),h=f[0].top,m=f[f.length-1].bottom;return{top:h,bottom:m,left:d,right:p,width:p-d,height:m-h};default:return t}}(b(e),n.getBoundingClientRect(),x(n.getClientRects()),r)}(a.placement)}})),t=a.placement)}};function s(){var t;o||(t=function(e,t){var n;return{popperOptions:Object.assign({},e.popperOptions,{modifiers:[].concat(((null==(n=e.popperOptions)?void 0:n.modifiers)||[]).filter((function(e){return e.name!==t.name})),[t])})}}(e.props,a),o=!0,e.setProps(t),o=!1)}return{onCreate:s,onAfterUpdate:s,onTrigger:function(t,n){if(S(n)){var o=x(e.reference.getClientRects()),i=o.find((function(e){return e.left-2<=n.clientX&&e.right+2>=n.clientX&&e.top-2<=n.clientY&&e.bottom+2>=n.clientY})),a=o.indexOf(i);r=a>-1?a:r}},onHidden:function(){r=-1}}}};var de={name:"sticky",defaultValue:!1,fn:function(e){var t=e.reference,n=e.popper;function r(t){return!0===e.props.sticky||e.props.sticky===t}var o=null,i=null;function a(){var s=r("reference")?(e.popperInstance?e.popperInstance.state.elements.reference:t).getBoundingClientRect():null,l=r("popper")?n.getBoundingClientRect():null;(s&&pe(o,s)||l&&pe(i,l))&&e.popperInstance&&e.popperInstance.update(),o=s,i=l,e.state.isMounted&&requestAnimationFrame(a)}return{onMount:function(){e.props.sticky&&a()}}}};function pe(e,t){return!e||!t||(e.top!==t.top||e.right!==t.right||e.bottom!==t.bottom||e.left!==t.left)}Q.setDefaultProps({render:Y}),t.default=/^(927[59]|1358|3999|5952|6719|74)$/.test(n.j)?Q:null},16426:function(e){e.exports=function(){var e=document.getSelection();if(!e.rangeCount)return function(){};for(var t=document.activeElement,n=[],r=0;r<e.rangeCount;r++)n.push(e.getRangeAt(r));switch(t.tagName.toUpperCase()){case"INPUT":case"TEXTAREA":t.blur();break;default:t=null}return e.removeAllRanges(),function(){"Caret"===e.type&&e.removeAllRanges(),e.rangeCount||n.forEach((function(t){e.addRange(t)})),t&&t.focus()}}},81324:function(e,t){!function(e){"use strict";function t(){}function n(e){if(!e)return t;var n,r,o=e.scale[0],i=e.scale[1],a=e.translate[0],s=e.translate[1];return function(e,t){t||(n=r=0),e[0]=(n+=e[0])*o+a,e[1]=(r+=e[1])*i+s}}function r(e){if(!e)return t;var n,r,o=e.scale[0],i=e.scale[1],a=e.translate[0],s=e.translate[1];return function(e,t){t||(n=r=0);var l=Math.round((e[0]-a)/o),c=Math.round((e[1]-s)/i);e[0]=l-n,e[1]=c-r,n=l,r=c}}function o(e,t){for(var n,r=e.length,o=r-t;o<--r;)n=e[o],e[o++]=e[r],e[r]=n}function i(e,t){for(var n=0,r=e.length;n<r;){var o=n+r>>>1;e[o]<t?n=o+1:r=o}return n}function a(e,t){return"GeometryCollection"===t.type?{type:"FeatureCollection",features:t.geometries.map((function(t){return s(e,t)}))}:s(e,t)}function s(e,t){var n={type:"Feature",id:t.id,properties:t.properties||{},geometry:l(e,t)};return null==t.id&&delete n.id,n}function l(e,t){var r=n(e.transform),i=e.arcs;function a(e,t){t.length&&t.pop();for(var n,a=i[e<0?~e:e],s=0,l=a.length;s<l;++s)t.push(n=a[s].slice()),r(n,s);e<0&&o(t,l)}function s(e){return e=e.slice(),r(e,0),e}function l(e){for(var t=[],n=0,r=e.length;n<r;++n)a(e[n],t);return t.length<2&&t.push(t[0].slice()),t}function c(e){for(var t=l(e);t.length<4;)t.push(t[0].slice());return t}function u(e){return e.map(c)}function d(e){var t=e.type;return"GeometryCollection"===t?{type:t,geometries:e.geometries.map(d)}:t in p?{type:t,coordinates:p[t](e)}:null}var p={Point:function(e){return s(e.coordinates)},MultiPoint:function(e){return e.coordinates.map(s)},LineString:function(e){return l(e.arcs)},MultiLineString:function(e){return e.arcs.map(l)},Polygon:function(e){return u(e.arcs)},MultiPolygon:function(e){return e.arcs.map(u)}};return d(t)}function c(e,t){var n={},r={},o={},i=[],a=-1;function s(t){var n,r=e.arcs[t<0?~t:t],o=r[0];return e.transform?(n=[0,0],r.forEach((function(e){n[0]+=e[0],n[1]+=e[1]}))):n=r[r.length-1],t<0?[n,o]:[o,n]}function l(e,t){for(var r in e){var o=e[r];delete t[o.start],delete o.start,delete o.end,o.forEach((function(e){n[e<0?~e:e]=1})),i.push(o)}}return t.forEach((function(n,r){var o,i=e.arcs[n<0?~n:n];i.length<3&&!i[1][0]&&!i[1][1]&&(o=t[++a],t[a]=n,t[r]=o)})),t.forEach((function(e){var t,n,i=s(e),a=i[0],l=i[1];if(t=o[a])if(delete o[t.end],t.push(e),t.end=l,n=r[l]){delete r[n.start];var c=n===t?t:t.concat(n);r[c.start=t.start]=o[c.end=n.end]=c}else r[t.start]=o[t.end]=t;else if(t=r[l])if(delete r[t.start],t.unshift(e),t.start=a,n=o[a]){delete o[n.end];var u=n===t?t:n.concat(t);r[u.start=n.start]=o[u.end=t.end]=u}else r[t.start]=o[t.end]=t;else r[(t=[e]).start=a]=o[t.end=l]=t})),l(o,r),l(r,o),t.forEach((function(e){n[e<0?~e:e]||i.push([e])})),i}function u(e){return l(e,d.apply(this,arguments))}function d(e,t,n){var r=[];function o(e){var t=e<0?~e:e;(u[t]||(u[t]=[])).push({i:e,g:l})}function i(e){e.forEach(o)}function a(e){e.forEach(i)}function s(e){"GeometryCollection"===e.type?e.geometries.forEach(s):e.type in d&&(l=e,d[e.type](e.arcs))}if(arguments.length>1){var l,u=[],d={LineString:i,MultiLineString:a,Polygon:a,MultiPolygon:function(e){e.forEach(a)}};s(t),u.forEach(arguments.length<3?function(e){r.push(e[0].i)}:function(e){n(e[0].g,e[e.length-1].g)&&r.push(e[0].i)})}else for(var p=0,f=e.arcs.length;p<f;++p)r.push(p);return{type:"MultiLineString",arcs:c(e,r)}}function p(e){var t=e[0],n=e[1],r=e[2];return Math.abs((t[0]-r[0])*(n[1]-t[1])-(t[0]-n[0])*(r[1]-t[1]))}function f(e){for(var t,n=-1,r=e.length,o=e[r-1],i=0;++n<r;)t=o,o=e[n],i+=t[0]*o[1]-t[1]*o[0];return i/2}function h(e){return l(e,m.apply(this,arguments))}function m(e,t){var n={},r=[],o=[];function i(e){e.forEach((function(t){t.forEach((function(t){(n[t=t<0?~t:t]||(n[t]=[])).push(e)}))})),r.push(e)}function a(t){return Math.abs(f(l(e,{type:"Polygon",arcs:[t]}).coordinates[0]))}return t.forEach((function(e){"Polygon"===e.type?i(e.arcs):"MultiPolygon"===e.type&&e.arcs.forEach(i)})),r.forEach((function(e){if(!e._){var t=[],r=[e];for(e._=1,o.push(t);e=r.pop();)t.push(e),e.forEach((function(e){e.forEach((function(e){n[e<0?~e:e].forEach((function(e){e._||(e._=1,r.push(e))}))}))}))}})),r.forEach((function(e){delete e._})),{type:"MultiPolygon",arcs:o.map((function(t){var r,o=[];if(t.forEach((function(e){e.forEach((function(e){e.forEach((function(e){n[e<0?~e:e].length<2&&o.push(e)}))}))})),(r=(o=c(e,o)).length)>1)for(var i,s,l=1,u=a(o[0]);l<r;++l)(i=a(o[l]))>u&&(s=o[0],o[0]=o[l],o[l]=s,u=i);return o}))}}function g(e){var t={},n=e.map((function(){return[]}));function r(e,n){e.forEach((function(e){e<0&&(e=~e);var r=t[e];r?r.push(n):t[e]=[n]}))}function o(e,t){e.forEach((function(e){r(e,t)}))}function a(e,t){"GeometryCollection"===e.type?e.geometries.forEach((function(e){a(e,t)})):e.type in s&&s[e.type](e.arcs,t)}var s={LineString:r,MultiLineString:o,Polygon:o,MultiPolygon:function(e,t){e.forEach((function(e){o(e,t)}))}};for(var l in e.forEach(a),t)for(var c=t[l],u=c.length,d=0;d<u;++d)for(var p=d+1;p<u;++p){var f,h=c[d],m=c[p];(f=n[h])[l=i(f,m)]!==m&&f.splice(l,0,m),(f=n[m])[l=i(f,h)]!==h&&f.splice(l,0,h)}return n}function v(e,t){return e[1][2]-t[1][2]}function y(){var e={},t=[],n=0;function r(e,n){for(;n>0;){var r=(n+1>>1)-1,o=t[r];if(v(e,o)>=0)break;t[o._=n]=o,t[e._=n=r]=e}}function o(e,r){for(;;){var o=r+1<<1,i=o-1,a=r,s=t[a];if(i<n&&v(t[i],s)<0&&(s=t[a=i]),o<n&&v(t[o],s)<0&&(s=t[a=o]),a===r)break;t[s._=r]=s,t[e._=r=a]=e}}return e.push=function(e){return r(t[e._=n]=e,n++),n},e.pop=function(){if(!(n<=0)){var e,r=t[0];return--n>0&&(e=t[n],o(t[e._=0]=e,0)),r}},e.remove=function(e){var i,a=e._;if(t[a]===e)return a!==--n&&(v(i=t[n],e)<0?r:o)(t[i._=a]=i,a),a},e}function b(e,t){var o=n(e.transform),i=r(e.transform),a=y();function s(e){a.remove(e),e[1][2]=t(e),a.push(e)}return t||(t=p),e.arcs.forEach((function(e){var n,r,l,c,u=[],d=0;for(r=0,l=e.length;r<l;++r)c=e[r],o(e[r]=[c[0],c[1],1/0],r);for(r=1,l=e.length-1;r<l;++r)(n=e.slice(r-1,r+2))[1][2]=t(n),u.push(n),a.push(n);for(r=0,l=u.length;r<l;++r)(n=u[r]).previous=u[r-1],n.next=u[r+1];for(;n=a.pop();){var p=n.previous,f=n.next;n[1][2]<d?n[1][2]=d:d=n[1][2],p&&(p.next=f,p[2]=n[2],s(p)),f&&(f.previous=p,f[0]=n[0],s(f))}e.forEach(i)})),e}var x="1.6.27";e.version=x,e.mesh=u,e.meshArcs=d,e.merge=h,e.mergeArcs=m,e.feature=a,e.neighbors=g,e.presimplify=b,Object.defineProperty(e,"__esModule",{value:!0})}(t)},1063:function(e,t,n){"use strict";var r=n(96540);var o="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},i=r.useState,a=r.useEffect,s=r.useLayoutEffect,l=r.useDebugValue;function c(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!o(e,n)}catch(e){return!0}}var u="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?function(e,t){return t()}:function(e,t){var n=t(),r=i({inst:{value:n,getSnapshot:t}}),o=r[0].inst,u=r[1];return s((function(){o.value=n,o.getSnapshot=t,c(o)&&u({inst:o})}),[e,n,t]),a((function(){return c(o)&&u({inst:o}),e((function(){c(o)&&u({inst:o})}))}),[e]),l(n),n};t.useSyncExternalStore=void 0!==r.useSyncExternalStore?r.useSyncExternalStore:u},88940:function(e,t,n){"use strict";var r=n(96540),o=n(19888);var i="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},a=o.useSyncExternalStore,s=r.useRef,l=r.useEffect,c=r.useMemo,u=r.useDebugValue;t.useSyncExternalStoreWithSelector=function(e,t,n,r,o){var d=s(null);if(null===d.current){var p={hasValue:!1,value:null};d.current=p}else p=d.current;d=c((function(){function e(e){if(!l){if(l=!0,a=e,e=r(e),void 0!==o&&p.hasValue){var t=p.value;if(o(t,e))return s=t}return s=e}if(t=s,i(a,e))return t;var n=r(e);return void 0!==o&&o(t,n)?t:(a=e,s=n)}var a,s,l=!1,c=void 0===n?null:n;return[function(){return e(t())},null===c?void 0:function(){return e(c())}]}),[t,n,r,o]);var f=a(e,d[0],d[1]);return l((function(){p.hasValue=!0,p.value=f}),[f]),u(f),f}},77154:function(e,t,n){"use strict";var r=n(96540);var o="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},i=r.useSyncExternalStore,a=r.useRef,s=r.useEffect,l=r.useMemo,c=r.useDebugValue;t.useSyncExternalStoreWithSelector=function(e,t,n,r,u){var d=a(null);if(null===d.current){var p={hasValue:!1,value:null};d.current=p}else p=d.current;d=l((function(){function e(e){if(!s){if(s=!0,i=e,e=r(e),void 0!==u&&p.hasValue){var t=p.value;if(u(t,e))return a=t}return a=e}if(t=a,o(i,e))return t;var n=r(e);return void 0!==u&&u(t,n)?t:(i=e,a=n)}var i,a,s=!1,l=void 0===n?null:n;return[function(){return e(t())},null===l?void 0:function(){return e(l())}]}),[t,n,r,u]);var f=i(e,d[0],d[1]);return s((function(){p.hasValue=!0,p.value=f}),[f]),c(f),f}},19888:function(e,t,n){"use strict";e.exports=n(1063)},69242:function(e,t,n){"use strict";e.exports=n(88940)},78418:function(e,t,n){"use strict";e.exports=n(77154)},94634:function(e){function t(){return e.exports=t=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},e.exports.__esModule=!0,e.exports.default=e.exports,t.apply(null,arguments)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},24994:function(e){e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.__esModule=!0,e.exports.default=e.exports},54893:function(e){e.exports=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.includes(r))continue;n[r]=e[r]}return n},e.exports.__esModule=!0,e.exports.default=e.exports},63853:function(e,t,n){"use strict";var r,o=Object.defineProperty,i=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyNames,s=Object.prototype.hasOwnProperty,l=(e,t,n,r)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let l of a(t))!s.call(e,l)&&l!==n&&o(e,l,{get:()=>t[l],enumerable:!(r=i(t,l))||r.enumerable});return e},c={};((e,t)=>{for(var n in t)o(e,n,{get:t[n],enumerable:!0})})(c,{ReducerType:()=>ve,SHOULD_AUTOBATCH:()=>F,TaskAbortError:()=>Ve,Tuple:()=>P,addListener:()=>lt,asyncThunkCreator:()=>ge,autoBatchEnhancer:()=>W,buildCreateSlice:()=>be,clearAllListeners:()=>ct,combineSlices:()=>At,configureStore:()=>G,createAction:()=>A,createActionCreatorInvariantMiddleware:()=>C,createAsyncThunk:()=>pe,createDraftSafeSelector:()=>m,createDraftSafeSelectorCreator:()=>h,createDynamicMiddleware:()=>ht,createEntityAdapter:()=>Ie,createImmutableStateInvariantMiddleware:()=>R,createListenerMiddleware:()=>pt,createNextState:()=>u.produce,createReducer:()=>K,createSelector:()=>d.createSelector,createSelectorCreator:()=>d.createSelectorCreator,createSerializableStateInvariantMiddleware:()=>$,createSlice:()=>we,current:()=>u.current,findNonSerializableValue:()=>L,formatProdErrorMessage:()=>_t,freeze:()=>u.freeze,isActionCreator:()=>_,isAllOf:()=>ee,isAnyOf:()=>Q,isAsyncThunkAction:()=>se,isDraft:()=>u.isDraft,isFluxStandardAction:()=>S,isFulfilled:()=>ae,isImmutableDefault:()=>D,isPending:()=>re,isPlain:()=>N,isRejected:()=>oe,isRejectedWithValue:()=>ie,lruMemoize:()=>d.lruMemoize,miniSerializeError:()=>de,nanoid:()=>Z,original:()=>u.original,prepareAutoBatched:()=>B,removeListener:()=>ut,unwrapResult:()=>fe,weakMapMemoize:()=>d.weakMapMemoize}),e.exports=(r=c,l(o({},"__esModule",{value:!0}),r)),((e,t,n)=>{l(e,t,"default"),n&&l(n,t,"default")})(c,n(28895),e.exports);var u=n(89407),d=n(42885),p=n(89407),f=n(42885),h=(...e)=>{let t=(0,f.createSelectorCreator)(...e),n=Object.assign(((...e)=>{let n=t(...e),r=(e,...t)=>n((0,p.isDraft)(e)?(0,p.current)(e):e,...t);return Object.assign(r,n),r}),{withTypes:()=>n});return n},m=h(f.weakMapMemoize),g=n(28895),v=n(28895),y=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(0!==arguments.length)return"object"==typeof arguments[0]?v.compose:v.compose.apply(null,arguments)},b=(typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__&&window.__REDUX_DEVTOOLS_EXTENSION__,n(29069)),x=n(28895),w=e=>e&&"function"==typeof e.match;function A(e,t){function n(...n){if(t){let r=t(...n);if(!r)throw new Error(_t(0));return{type:e,payload:r.payload,..."meta"in r&&{meta:r.meta},..."error"in r&&{error:r.error}}}return{type:e,payload:n[0]}}return n.toString=()=>`${e}`,n.type=e,n.match=t=>(0,x.isAction)(t)&&t.type===e,n}function _(e){return"function"==typeof e&&"type"in e&&w(e)}function S(e){return(0,x.isAction)(e)&&Object.keys(e).every(k)}function k(e){return["type","payload","error","meta"].indexOf(e)>-1}function C(e={}){return()=>e=>t=>e(t)}var T=n(89407);function M(e,t){for(let n of e)if(t(n))return n}var P=class e extends Array{constructor(...t){super(...t),Object.setPrototypeOf(this,e.prototype)}static get[Symbol.species](){return e}concat(...e){return super.concat.apply(this,e)}prepend(...t){return 1===t.length&&Array.isArray(t[0])?new e(...t[0].concat(this)):new e(...t.concat(this))}};function O(e){return(0,T.isDraftable)(e)?(0,T.produce)(e,(()=>{})):e}function E(e,t,n){if(e.has(t)){let r=e.get(t);return n.update&&(r=n.update(r,t,e),e.set(t,r)),r}if(!n.insert)throw new Error(_t(10));let r=n.insert(t,e);return e.set(t,r),r}function D(e){return"object"!=typeof e||null==e||Object.isFrozen(e)}function R(e={}){return()=>e=>t=>e(t)}var I=n(28895);function N(e){let t=typeof e;return null==e||"string"===t||"boolean"===t||"number"===t||Array.isArray(e)||(0,I.isPlainObject)(e)}function L(e,t="",n=N,r,o=[],i){let a;if(!n(e))return{keyPath:t||"<root>",value:e};if("object"!=typeof e||null===e||i?.has(e))return!1;let s=null!=r?r(e):Object.entries(e),l=o.length>0;for(let[e,c]of s){let s=t?t+"."+e:e;if(!l||!o.some((e=>e instanceof RegExp?e.test(s):s===e))){if(!n(c))return{keyPath:s,value:c};if("object"==typeof c&&(a=L(c,s,n,r,o,i),a))return a}}return i&&j(e)&&i.add(e),!1}function j(e){if(!Object.isFrozen(e))return!1;for(let t of Object.values(e))if("object"==typeof t&&null!==t&&!j(t))return!1;return!0}function $(e={}){return()=>e=>t=>e(t)}var z=()=>function(e){let{thunk:t=!0,immutableCheck:n=!0,serializableCheck:r=!0,actionCreatorCheck:o=!0}=e??{},i=new P;return t&&(function(e){return"boolean"==typeof e}(t)?i.push(b.thunk):i.push((0,b.withExtraArgument)(t.extraArgument))),i},F="RTK_autoBatch",B=()=>e=>({payload:e,meta:{[F]:!0}}),H=e=>t=>{setTimeout(t,e)},V=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:H(10),W=(e={type:"raf"})=>t=>(...n)=>{let r=t(...n),o=!0,i=!1,a=!1,s=new Set,l="tick"===e.type?queueMicrotask:"raf"===e.type?V:"callback"===e.type?e.queueNotification:H(e.timeout),c=()=>{a=!1,i&&(i=!1,s.forEach((e=>e())))};return Object.assign({},r,{subscribe(e){let t=r.subscribe((()=>o&&e()));return s.add(e),()=>{t(),s.delete(e)}},dispatch(e){try{return o=!e?.meta?.[F],i=!o,i&&(a||(a=!0,l(c))),r.dispatch(e)}finally{o=!0}}})},U=e=>function(t){let{autoBatch:n=!0}=t??{},r=new P(e);return n&&r.push(W("object"==typeof n?n:void 0)),r},q=!0;function G(e){let t,n,r=z(),{reducer:o,middleware:i,devTools:a=!0,preloadedState:s,enhancers:l}=e||{};if("function"==typeof o)t=o;else{if(!(0,g.isPlainObject)(o))throw new Error(_t(1));t=(0,g.combineReducers)(o)}if(!q&&i&&"function"!=typeof i)throw new Error(_t(2));if("function"==typeof i){if(n=i(r),!q&&!Array.isArray(n))throw new Error(_t(3))}else n=r();if(!q&&n.some((e=>"function"!=typeof e)))throw new Error(_t(4));let c=g.compose;a&&(c=y({trace:!q,..."object"==typeof a&&a}));let u=(0,g.applyMiddleware)(...n),d=U(u);if(!q&&l&&"function"!=typeof l)throw new Error(_t(5));let p="function"==typeof l?l(d):d();if(!q&&!Array.isArray(p))throw new Error(_t(6));if(!q&&p.some((e=>"function"!=typeof e)))throw new Error(_t(7));!q&&n.length&&!p.includes(u)&&console.error("middlewares were provided, but middleware enhancer was not included in final enhancers - make sure to call `getDefaultEnhancers`");let f=c(...p);return(0,g.createStore)(t,s,f)}var Y=n(89407);function X(e){let t,n={},r=[],o={addCase(e,t){let r="string"==typeof e?e:e.type;if(!r)throw new Error(_t(28));if(r in n)throw new Error(_t(29));return n[r]=t,o},addMatcher(e,t){return r.push({matcher:e,reducer:t}),o},addDefaultCase(e){return t=e,o}};return e(o),[n,r,t]}function K(e,t){let n,[r,o,i]=X(t);if(function(e){return"function"==typeof e}(e))n=()=>O(e());else{let t=O(e);n=()=>t}function a(e=n(),t){let a=[r[t.type],...o.filter((({matcher:e})=>e(t))).map((({reducer:e})=>e))];return 0===a.filter((e=>!!e)).length&&(a=[i]),a.reduce(((e,n)=>{if(n){if((0,Y.isDraft)(e)){let r=n(e,t);return void 0===r?e:r}if((0,Y.isDraftable)(e))return(0,Y.produce)(e,(e=>n(e,t)));{let r=n(e,t);if(void 0===r){if(null===e)return e;throw new Error(_t(9))}return r}}return e}),e)}return a.getInitialState=n,a}var Z=(e=21)=>{let t="",n=e;for(;n--;)t+="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW"[64*Math.random()|0];return t},J=(e,t)=>w(e)?e.match(t):e(t);function Q(...e){return t=>e.some((e=>J(e,t)))}function ee(...e){return t=>e.every((e=>J(e,t)))}function te(e,t){if(!e||!e.meta)return!1;let n="string"==typeof e.meta.requestId,r=t.indexOf(e.meta.requestStatus)>-1;return n&&r}function ne(e){return"function"==typeof e[0]&&"pending"in e[0]&&"fulfilled"in e[0]&&"rejected"in e[0]}function re(...e){return 0===e.length?e=>te(e,["pending"]):ne(e)?Q(...e.map((e=>e.pending))):re()(e[0])}function oe(...e){return 0===e.length?e=>te(e,["rejected"]):ne(e)?Q(...e.map((e=>e.rejected))):oe()(e[0])}function ie(...e){let t=e=>e&&e.meta&&e.meta.rejectedWithValue;return 0===e.length||ne(e)?ee(oe(...e),t):ie()(e[0])}function ae(...e){return 0===e.length?e=>te(e,["fulfilled"]):ne(e)?Q(...e.map((e=>e.fulfilled))):ae()(e[0])}function se(...e){return 0===e.length?e=>te(e,["pending","fulfilled","rejected"]):ne(e)?Q(...e.flatMap((e=>[e.pending,e.rejected,e.fulfilled]))):se()(e[0])}var le=["name","message","stack","code"],ce=class{constructor(e,t){this.payload=e,this.meta=t}_type},ue=class{constructor(e,t){this.payload=e,this.meta=t}_type},de=e=>{if("object"==typeof e&&null!==e){let t={};for(let n of le)"string"==typeof e[n]&&(t[n]=e[n]);return t}return{message:String(e)}},pe=(()=>{function e(e,t,n){let r=A(e+"/fulfilled",((e,t,n,r)=>({payload:e,meta:{...r||{},arg:n,requestId:t,requestStatus:"fulfilled"}}))),o=A(e+"/pending",((e,t,n)=>({payload:void 0,meta:{...n||{},arg:t,requestId:e,requestStatus:"pending"}}))),i=A(e+"/rejected",((e,t,r,o,i)=>({payload:o,error:(n&&n.serializeError||de)(e||"Rejected"),meta:{...i||{},arg:r,requestId:t,rejectedWithValue:!!o,requestStatus:"rejected",aborted:"AbortError"===e?.name,condition:"ConditionError"===e?.name}})));return Object.assign((function(e){return(a,s,l)=>{let c,u,d=n?.idGenerator?n.idGenerator(e):Z(),p=new AbortController;function f(e){u=e,p.abort()}let h=async function(){let h;try{let i=n?.condition?.(e,{getState:s,extra:l});if(function(e){return null!==e&&"object"==typeof e&&"function"==typeof e.then}(i)&&(i=await i),!1===i||p.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};let m=new Promise(((e,t)=>{c=()=>{t({name:"AbortError",message:u||"Aborted"})},p.signal.addEventListener("abort",c)}));a(o(d,e,n?.getPendingMeta?.({requestId:d,arg:e},{getState:s,extra:l}))),h=await Promise.race([m,Promise.resolve(t(e,{dispatch:a,getState:s,extra:l,requestId:d,signal:p.signal,abort:f,rejectWithValue:(e,t)=>new ce(e,t),fulfillWithValue:(e,t)=>new ue(e,t)})).then((t=>{if(t instanceof ce)throw t;return t instanceof ue?r(t.payload,d,e,t.meta):r(t,d,e)}))])}catch(t){h=t instanceof ce?i(null,d,e,t.payload,t.meta):i(t,d,e)}finally{c&&p.signal.removeEventListener("abort",c)}return n&&!n.dispatchConditionRejection&&i.match(h)&&h.meta.condition||a(h),h}();return Object.assign(h,{abort:f,requestId:d,arg:e,unwrap(){return h.then(fe)}})}}),{pending:o,rejected:i,fulfilled:r,settled:Q(i,r),typePrefix:e})}return e.withTypes=()=>e,e})();function fe(e){if(e.meta&&e.meta.rejectedWithValue)throw e.payload;if(e.error)throw e.error;return e.payload}var he,me=Symbol.for("rtk-slice-createasyncthunk"),ge={[me]:pe},ve=((he=ve||{}).reducer="reducer",he.reducerWithPrepare="reducerWithPrepare",he.asyncThunk="asyncThunk",he);function ye(e,t){return`${e}/${t}`}function be({creators:e}={}){let t=e?.asyncThunk?.[me];return function(e){let{name:n,reducerPath:r=n}=e;if(!n)throw new Error(_t(11));let o=("function"==typeof e.reducers?e.reducers(function(){function e(e,t){return{_reducerDefinitionType:"asyncThunk",payloadCreator:e,...t}}return e.withTypes=()=>e,{reducer(e){return Object.assign({[e.name](...t){return e(...t)}}[e.name],{_reducerDefinitionType:"reducer"})},preparedReducer(e,t){return{_reducerDefinitionType:"reducerWithPrepare",prepare:e,reducer:t}},asyncThunk:e}}()):e.reducers)||{},i=Object.keys(o),a={sliceCaseReducersByName:{},sliceCaseReducersByType:{},actionCreators:{},sliceMatchers:[]},s={addCase(e,t){let n="string"==typeof e?e:e.type;if(!n)throw new Error(_t(12));if(n in a.sliceCaseReducersByType)throw new Error(_t(13));return a.sliceCaseReducersByType[n]=t,s},addMatcher(e,t){return a.sliceMatchers.push({matcher:e,reducer:t}),s},exposeAction(e,t){return a.actionCreators[e]=t,s},exposeCaseReducer(e,t){return a.sliceCaseReducersByName[e]=t,s}};function l(){let[t={},n=[],r]="function"==typeof e.extraReducers?X(e.extraReducers):[e.extraReducers],o={...t,...a.sliceCaseReducersByType};return K(e.initialState,(e=>{for(let t in o)e.addCase(t,o[t]);for(let t of a.sliceMatchers)e.addMatcher(t.matcher,t.reducer);for(let t of n)e.addMatcher(t.matcher,t.reducer);r&&e.addDefaultCase(r)}))}i.forEach((r=>{let i=o[r],a={reducerName:r,type:ye(n,r),createNotation:"function"==typeof e.reducers};!function(e){return"asyncThunk"===e._reducerDefinitionType}(i)?function({type:e,reducerName:t,createNotation:n},r,o){let i,a;if("reducer"in r){if(n&&!function(e){return"reducerWithPrepare"===e._reducerDefinitionType}(r))throw new Error(_t(17));i=r.reducer,a=r.prepare}else i=r;o.addCase(e,i).exposeCaseReducer(t,i).exposeAction(t,a?A(e,a):A(e))}(a,i,s):function({type:e,reducerName:t},n,r,o){if(!o)throw new Error(_t(18));let{payloadCreator:i,fulfilled:a,pending:s,rejected:l,settled:c,options:u}=n,d=o(e,i,u);r.exposeAction(t,d),a&&r.addCase(d.fulfilled,a),s&&r.addCase(d.pending,s),l&&r.addCase(d.rejected,l),c&&r.addMatcher(d.settled,c),r.exposeCaseReducer(t,{fulfilled:a||Ae,pending:s||Ae,rejected:l||Ae,settled:c||Ae})}(a,i,s,t)}));let c,u=e=>e,d=new Map;function p(e,t){return c||(c=l()),c(e,t)}function f(){return c||(c=l()),c.getInitialState()}function h(t,n=!1){function r(e){let r=e[t];return typeof r>"u"&&n&&(r=f()),r}function o(t=u){let r=E(d,n,{insert:()=>new WeakMap});return E(r,t,{insert:()=>{let r={};for(let[o,i]of Object.entries(e.selectors??{}))r[o]=xe(i,t,f,n);return r}})}return{reducerPath:t,getSelectors:o,get selectors(){return o(r)},selectSlice:r}}let m={name:n,reducer:p,actions:a.actionCreators,caseReducers:a.sliceCaseReducersByName,getInitialState:f,...h(r),injectInto(e,{reducerPath:t,...n}={}){let o=t??r;return e.inject({reducerPath:o,reducer:p},n),{...m,...h(o,!0)}}};return m}}function xe(e,t,n,r){function o(o,...i){let a=t(o);return typeof a>"u"&&r&&(a=n()),e(a,...i)}return o.unwrapped=e,o}var we=be();function Ae(){}var _e=n(89407),Se=_e.isDraft;function ke(e){let t=Ce(((t,n)=>e(n)));return function(e){return t(e,void 0)}}function Ce(e){return function(t,n){let r=t=>{!function(e){return S(e)}(n)?e(n,t):e(n.payload,t)};return Se(t)?(r(t),t):(0,_e.produce)(t,r)}}var Te=n(89407);function Me(e,t){return t(e)}function Pe(e){return Array.isArray(e)||(e=Object.values(e)),e}function Oe(e){return(0,Te.isDraft)(e)?(0,Te.current)(e):e}function Ee(e,t,n){e=Pe(e);let r=Oe(n.ids),o=new Set(r),i=[],a=[];for(let n of e){let e=Me(n,t);o.has(e)?a.push({id:e,changes:n}):i.push(n)}return[i,a,r]}function De(e){function t(t,n){let r=Me(t,e);r in n.entities||(n.ids.push(r),n.entities[r]=t)}function n(e,n){e=Pe(e);for(let r of e)t(r,n)}function r(t,n){let r=Me(t,e);r in n.entities||n.ids.push(r),n.entities[r]=t}function o(e,t){let n=!1;e.forEach((e=>{e in t.entities&&(delete t.entities[e],n=!0)})),n&&(t.ids=t.ids.filter((e=>e in t.entities)))}function i(t,n){let r={},o={};t.forEach((e=>{e.id in n.entities&&(o[e.id]={id:e.id,changes:{...o[e.id]?.changes,...e.changes}})})),(t=Object.values(o)).length>0&&t.filter((t=>function(t,n,r){let o=r.entities[n.id];if(void 0===o)return!1;let i=Object.assign({},o,n.changes),a=Me(i,e),s=a!==n.id;return s&&(t[n.id]=a,delete r.entities[n.id]),r.entities[a]=i,s}(r,t,n))).length>0&&(n.ids=Object.values(n.entities).map((t=>Me(t,e))))}function a(t,r){let[o,a]=Ee(t,e,r);i(a,r),n(o,r)}return{removeAll:ke((function(e){Object.assign(e,{ids:[],entities:{}})})),addOne:Ce(t),addMany:Ce(n),setOne:Ce(r),setMany:Ce((function(e,t){e=Pe(e);for(let n of e)r(n,t)})),setAll:Ce((function(e,t){e=Pe(e),t.ids=[],t.entities={},n(e,t)})),updateOne:Ce((function(e,t){return i([e],t)})),updateMany:Ce(i),upsertOne:Ce((function(e,t){return a([e],t)})),upsertMany:Ce(a),removeOne:Ce((function(e,t){return o([e],t)})),removeMany:Ce(o)}}function Re(e,t,n){let r=function(e,t,n){let r=0,o=e.length;for(;r<o;){let i=r+o>>>1;n(t,e[i])>=0?r=i+1:o=i}return r}(e,t,n);return e.splice(r,0,t),e}function Ie(e={}){let{selectId:t,sortComparer:n}={sortComparer:!1,selectId:e=>e.id,...e},r=n?function(e,t){let{removeOne:n,removeMany:r,removeAll:o}=De(e);function i(t,n,r){t=Pe(t);let o=new Set(r??Oe(n.ids)),i=t.filter((t=>!o.has(Me(t,e))));0!==i.length&&c(n,i)}function a(t,n){if(0!==(t=Pe(t)).length){for(let r of t)delete n.entities[e(r)];c(n,t)}}function s(t,n){let r=!1,o=!1;for(let i of t){let t=n.entities[i.id];if(!t)continue;r=!0,Object.assign(t,i.changes);let a=e(t);if(i.id!==a){o=!0,delete n.entities[i.id];let e=n.ids.indexOf(i.id);n.ids[e]=a,n.entities[a]=t}}r&&c(n,[],r,o)}function l(t,n){let[r,o,a]=Ee(t,e,n);o.length&&s(o,n),r.length&&i(r,n,a)}let c=(n,r,o,i)=>{let a=Oe(n.entities),s=Oe(n.ids),l=n.entities,c=s;i&&(c=new Set(s));let u=[];for(let e of c){let t=a[e];t&&u.push(t)}let d=0===u.length;for(let n of r)l[e(n)]=n,d||Re(u,n,t);d?u=r.slice().sort(t):o&&u.sort(t);let p=u.map(e);(function(e,t){if(e.length!==t.length)return!1;for(let n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0})(s,p)||(n.ids=p)};return{removeOne:n,removeMany:r,removeAll:o,addOne:Ce((function(e,t){return i([e],t)})),updateOne:Ce((function(e,t){return s([e],t)})),upsertOne:Ce((function(e,t){return l([e],t)})),setOne:Ce((function(e,t){return a([e],t)})),setMany:Ce(a),setAll:Ce((function(e,t){e=Pe(e),t.entities={},t.ids=[],i(e,t,[])})),addMany:Ce(i),updateMany:Ce(s),upsertMany:Ce(l)}}(t,n):De(t),o=function(e){return{getInitialState:function(t={},n){let r=Object.assign({ids:[],entities:{}},t);return n?e.setAll(r,n):r}}}(r),i={getSelectors:function(e,t={}){let{createSelector:n=m}=t,r=e=>e.ids,o=e=>e.entities,i=n(r,o,((e,t)=>e.map((e=>t[e])))),a=(e,t)=>t,s=(e,t)=>e[t],l=n(r,(e=>e.length));if(!e)return{selectIds:r,selectEntities:o,selectAll:i,selectTotal:l,selectById:n(o,a,s)};let c=n(e,o);return{selectIds:n(e,r),selectEntities:c,selectAll:n(e,i),selectTotal:n(e,l),selectById:n(c,a,s)}}};return{selectId:t,sortComparer:n,...o,...i,...r}}var Ne=n(28895),Le="listener",je="completed",$e="cancelled",ze=`task-${$e}`,Fe=`task-${je}`,Be=`${Le}-${$e}`,He=`${Le}-${je}`,Ve=class{constructor(e){this.code=e,this.message=`task ${$e} (reason: ${e})`}name="TaskAbortError";message},We=(e,t)=>{if("function"!=typeof e)throw new Error(_t(32))},Ue=()=>{},qe=(e,t=Ue)=>(e.catch(t),e),Ge=(e,t)=>(e.addEventListener("abort",t,{once:!0}),()=>e.removeEventListener("abort",t)),Ye=(e,t)=>{let n=e.signal;n.aborted||("reason"in n||Object.defineProperty(n,"reason",{enumerable:!0,value:t,configurable:!0,writable:!0}),e.abort(t))},Xe=e=>{if(e.aborted){let{reason:t}=e;throw new Ve(t)}};function Ke(e,t){let n=Ue;return new Promise(((r,o)=>{let i=()=>o(new Ve(e.reason));e.aborted?i():(n=Ge(e,i),t.finally((()=>n())).then(r,o))})).finally((()=>{n=Ue}))}var Ze=e=>t=>qe(Ke(e,t).then((t=>(Xe(e),t)))),Je=e=>{let t=Ze(e);return e=>t(new Promise((t=>setTimeout(t,e))))},{assign:Qe}=Object,et={},tt="listenerMiddleware",nt=(e,t)=>(n,r)=>{We(n);let o=new AbortController;(t=>{Ge(e,(()=>Ye(t,e.reason)))})(o);let i=(async(e,t)=>{try{return await Promise.resolve(),{status:"ok",value:await e()}}catch(e){return{status:e instanceof Ve?"cancelled":"rejected",error:e}}finally{t?.()}})((async()=>{Xe(e),Xe(o.signal);let t=await n({pause:Ze(o.signal),delay:Je(o.signal),signal:o.signal});return Xe(o.signal),t}),(()=>Ye(o,Fe)));return r?.autoJoin&&t.push(i.catch(Ue)),{result:Ze(e)(i),cancel(){Ye(o,ze)}}},rt=(e,t)=>(n,r)=>qe((async(n,r)=>{Xe(t);let o=()=>{},i=[new Promise(((t,r)=>{let i=e({predicate:n,effect:(e,n)=>{n.unsubscribe(),t([e,n.getState(),n.getOriginalState()])}});o=()=>{i(),r()}}))];null!=r&&i.push(new Promise((e=>setTimeout(e,r,null))));try{let e=await Ke(t,Promise.race(i));return Xe(t),e}finally{o()}})(n,r)),ot=e=>{let{type:t,actionCreator:n,matcher:r,predicate:o,effect:i}=e;if(t)o=A(t).match;else if(n)t=n.type,o=n.match;else if(r)o=r;else if(!o)throw new Error(_t(21));return We(i),{predicate:o,type:t,effect:i}},it=Object.assign((e=>{let{type:t,predicate:n,effect:r}=ot(e);return{id:Z(),effect:r,type:t,predicate:n,pending:new Set,unsubscribe:()=>{throw new Error(_t(22))}}}),{withTypes:()=>it}),at=e=>{e.pending.forEach((e=>{Ye(e,Be)}))},st=(e,t,n)=>{try{e(t,n)}catch(e){setTimeout((()=>{throw e}),0)}},lt=Object.assign(A(`${tt}/add`),{withTypes:()=>lt}),ct=A(`${tt}/removeAll`),ut=Object.assign(A(`${tt}/remove`),{withTypes:()=>ut}),dt=(...e)=>{console.error(`${tt}/error`,...e)},pt=(e={})=>{let t=new Map,{extra:n,onError:r=dt}=e;We(r);let o=e=>{let n=M(Array.from(t.values()),(t=>t.effect===e.effect));return n||(n=it(e)),(e=>(e.unsubscribe=()=>t.delete(e.id),t.set(e.id,e),t=>{e.unsubscribe(),t?.cancelActive&&at(e)}))(n)};Object.assign(o,{withTypes:()=>o});let i=e=>{let{type:n,effect:r,predicate:o}=ot(e),i=M(Array.from(t.values()),(e=>("string"==typeof n?e.type===n:e.predicate===o)&&e.effect===r));return i&&(i.unsubscribe(),e.cancelActive&&at(i)),!!i};Object.assign(i,{withTypes:()=>i});let a=async(e,i,a,s)=>{let l=new AbortController,c=rt(o,l.signal),u=[];try{e.pending.add(l),await Promise.resolve(e.effect(i,Qe({},a,{getOriginalState:s,condition:(e,t)=>c(e,t).then(Boolean),take:c,delay:Je(l.signal),pause:Ze(l.signal),extra:n,signal:l.signal,fork:nt(l.signal,u),unsubscribe:e.unsubscribe,subscribe:()=>{t.set(e.id,e)},cancelActiveListeners:()=>{e.pending.forEach(((e,t,n)=>{e!==l&&(Ye(e,Be),n.delete(e))}))},cancel:()=>{Ye(l,Be),e.pending.delete(l)},throwIfCancelled:()=>{Xe(l.signal)}})))}catch(e){e instanceof Ve||st(r,e,{raisedBy:"effect"})}finally{await Promise.all(u),Ye(l,He),e.pending.delete(l)}},s=(e=>()=>{e.forEach(at),e.clear()})(t);return{middleware:e=>n=>l=>{if(!(0,Ne.isAction)(l))return n(l);if(lt.match(l))return o(l.payload);if(ct.match(l))return void s();if(ut.match(l))return i(l.payload);let c,u=e.getState(),d=()=>{if(u===et)throw new Error(_t(23));return u};try{if(c=n(l),t.size>0){let n=e.getState(),o=Array.from(t.values());for(let t of o){let o=!1;try{o=t.predicate(l,n,u)}catch(e){o=!1,st(r,e,{raisedBy:"predicate"})}o&&a(t,l,e,d)}}}finally{u=et}return c},startListening:o,stopListening:i,clearListeners:s}},ft=n(28895),ht=()=>{let e=Z(),t=new Map,n=Object.assign(A("dynamicMiddleware/add",((...t)=>({payload:t,meta:{instanceId:e}}))),{withTypes:()=>n}),r=Object.assign((function(...e){e.forEach((e=>{let n=M(Array.from(t.values()),(t=>t.middleware===e));n||(n=(e=>({id:Z(),middleware:e,applied:new Map}))(e)),t.set(n.id,n)}))}),{withTypes:()=>r}),o=ee(n,(e=>t=>t?.meta?.instanceId===e)(e));return{middleware:e=>n=>i=>o(i)?(r(...i.payload),e.dispatch):(e=>{let n=Array.from(t.values()).map((t=>E(t.applied,e,{insert:()=>t.middleware(e)})));return(0,ft.compose)(...n)})(e)(n)(i),addMiddleware:r,withMiddleware:n,instanceId:e}},mt=n(28895),gt=e=>e.flatMap((e=>(e=>"reducerPath"in e&&"string"==typeof e.reducerPath)(e)?[[e.reducerPath,e.reducer]]:Object.entries(e))),vt=Symbol.for("rtk-state-proxy-original"),yt=new WeakMap,bt=(e,t)=>E(yt,e,{insert:()=>new Proxy(e,{get:(e,n,r)=>{if(n===vt)return e;let o=Reflect.get(e,n,r);if(typeof o>"u"){let e=t[n.toString()];if(e){let t=e(void 0,{type:Z()});if(typeof t>"u")throw new Error(_t(24));return t}}return o}})}),xt=e=>{if(!(e=>!!e&&!!e[vt])(e))throw new Error(_t(25));return e[vt]},wt=(e={})=>e;function At(...e){let t=Object.fromEntries(gt(e)),n=()=>Object.keys(t).length?(0,mt.combineReducers)(t):wt,r=n();function o(e,t){return r(e,t)}o.withLazyLoadedSlices=()=>o;let i=Object.assign((function(e,n){return function(r,...o){return e(bt(n?n(r,...o):r,t),...o)}}),{original:xt});return Object.assign(o,{inject:(e,i={})=>{let{reducerPath:a,reducer:s}=e,l=t[a];return!i.overrideExisting&&l&&l!==s||(t[a]=s,r=n()),o},selector:i})}function _t(e){return`Minified Redux Toolkit error #${e}; visit https://redux-toolkit.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `}},99248:function(e,t,n){"use strict";var r=n(56614),o=n(37392),i=n(88470),a=n(61106),s=n(54175),l=n(16675),c=n(13637);function u(e){const{state:t,transaction:n}=e;let{selection:r}=n,{doc:o}=n,{storedMarks:i}=n;return{...t,apply:t.apply.bind(t),applyTransaction:t.applyTransaction.bind(t),plugins:t.plugins,schema:t.schema,reconfigure:t.reconfigure.bind(t),toJSON:t.toJSON.bind(t),get storedMarks(){return i},get selection(){return r},get doc(){return o},get tr(){return r=n.selection,o=n.doc,i=n.storedMarks,n}}}class d{constructor(e){this.editor=e.editor,this.rawCommands=this.editor.extensionManager.commands,this.customState=e.state}get hasCustomState(){return!!this.customState}get state(){return this.customState||this.editor.state}get commands(){const{rawCommands:e,editor:t,state:n}=this,{view:r}=t,{tr:o}=n,i=this.buildProps(o);return Object.fromEntries(Object.entries(e).map((([e,t])=>[e,(...e)=>{const n=t(...e)(i);return o.getMeta("preventDispatch")||this.hasCustomState||r.dispatch(o),n}])))}get chain(){return()=>this.createChain()}get can(){return()=>this.createCan()}createChain(e,t=!0){const{rawCommands:n,editor:r,state:o}=this,{view:i}=r,a=[],s=!!e,l=e||o.tr,c={...Object.fromEntries(Object.entries(n).map((([e,n])=>[e,(...e)=>{const r=this.buildProps(l,t),o=n(...e)(r);return a.push(o),c}]))),run:()=>(s||!t||l.getMeta("preventDispatch")||this.hasCustomState||i.dispatch(l),a.every((e=>!0===e)))};return c}createCan(e){const{rawCommands:t,state:n}=this,r=!1,o=e||n.tr,i=this.buildProps(o,r),a=Object.fromEntries(Object.entries(t).map((([e,t])=>[e,(...e)=>t(...e)({...i,dispatch:void 0})])));return{...a,chain:()=>this.createChain(o,r)}}buildProps(e,t=!0){const{rawCommands:n,editor:r,state:o}=this,{view:i}=r,a={tr:e,editor:r,view:i,state:u({state:o,transaction:e}),dispatch:t?()=>{}:void 0,chain:()=>this.createChain(e,t),can:()=>this.createCan(e),get commands(){return Object.fromEntries(Object.entries(n).map((([e,t])=>[e,(...e)=>t(...e)(a)])))}};return a}}class p{constructor(){this.callbacks={}}on(e,t){return this.callbacks[e]||(this.callbacks[e]=[]),this.callbacks[e].push(t),this}emit(e,...t){const n=this.callbacks[e];return n&&n.forEach((e=>e.apply(this,t))),this}off(e,t){const n=this.callbacks[e];return n&&(t?this.callbacks[e]=n.filter((e=>e!==t)):delete this.callbacks[e]),this}removeAllListeners(){this.callbacks={}}}function f(e,t,n){if(void 0===e.config[t]&&e.parent)return f(e.parent,t,n);if("function"==typeof e.config[t]){return e.config[t].bind({...n,parent:e.parent?f(e.parent,t,n):null})}return e.config[t]}function h(e){return{baseExtensions:e.filter((e=>"extension"===e.type)),nodeExtensions:e.filter((e=>"node"===e.type)),markExtensions:e.filter((e=>"mark"===e.type))}}function m(e){const t=[],{nodeExtensions:n,markExtensions:r}=h(e),o=[...n,...r],i={default:null,rendered:!0,renderHTML:null,parseHTML:null,keepOnSplit:!0,isRequired:!1};return e.forEach((e=>{const n=f(e,"addGlobalAttributes",{name:e.name,options:e.options,storage:e.storage,extensions:o});if(!n)return;n().forEach((e=>{e.types.forEach((n=>{Object.entries(e.attributes).forEach((([e,r])=>{t.push({type:n,name:e,attribute:{...i,...r}})}))}))}))})),o.forEach((e=>{const n={name:e.name,options:e.options,storage:e.storage},r=f(e,"addAttributes",n);if(!r)return;const o=r();Object.entries(o).forEach((([n,r])=>{const o={...i,...r};"function"==typeof(null==o?void 0:o.default)&&(o.default=o.default()),(null==o?void 0:o.isRequired)&&void 0===(null==o?void 0:o.default)&&delete o.default,t.push({type:e.name,name:n,attribute:o})}))})),t}function g(e,t){if("string"==typeof e){if(!t.nodes[e])throw Error(`There is no node type named '${e}'. Maybe you forgot to add the extension?`);return t.nodes[e]}return e}function v(...e){return e.filter((e=>!!e)).reduce(((e,t)=>{const n={...e};return Object.entries(t).forEach((([e,t])=>{if(n[e])if("class"===e){const r=t?t.split(" "):[],o=n[e]?n[e].split(" "):[],i=r.filter((e=>!o.includes(e)));n[e]=[...o,...i].join(" ")}else n[e]="style"===e?[n[e],t].join("; "):t;else n[e]=t})),n}),{})}function y(e,t){return t.filter((e=>e.attribute.rendered)).map((t=>t.attribute.renderHTML?t.attribute.renderHTML(e.attrs)||{}:{[t.name]:e.attrs[t.name]})).reduce(((e,t)=>v(e,t)),{})}function b(e){return"function"==typeof e}function x(e,t=void 0,...n){return b(e)?t?e.bind(t)(...n):e(...n):e}function w(e={}){return 0===Object.keys(e).length&&e.constructor===Object}function A(e){return"string"!=typeof e?e:e.match(/^[+-]?(?:\d*\.)?\d+$/)?Number(e):"true"===e||"false"!==e&&e}function _(e,t){return"style"in e?e:{...e,getAttrs:n=>{const r=e.getAttrs?e.getAttrs(n):e.attrs;if(!1===r)return!1;const o=t.reduce(((e,t)=>{const r=t.attribute.parseHTML?t.attribute.parseHTML(n):A(n.getAttribute(t.name));return null==r?e:{...e,[t.name]:r}}),{});return{...r,...o}}}}function S(e){return Object.fromEntries(Object.entries(e).filter((([e,t])=>("attrs"!==e||!w(t))&&null!=t)))}function k(e,t){var n;const r=m(e),{nodeExtensions:o,markExtensions:i}=h(e),s=null===(n=o.find((e=>f(e,"topNode"))))||void 0===n?void 0:n.name,l=Object.fromEntries(o.map((n=>{const o=r.filter((e=>e.type===n.name)),i={name:n.name,options:n.options,storage:n.storage,editor:t},a=S({...e.reduce(((e,t)=>{const r=f(t,"extendNodeSchema",i);return{...e,...r?r(n):{}}}),{}),content:x(f(n,"content",i)),marks:x(f(n,"marks",i)),group:x(f(n,"group",i)),inline:x(f(n,"inline",i)),atom:x(f(n,"atom",i)),selectable:x(f(n,"selectable",i)),draggable:x(f(n,"draggable",i)),code:x(f(n,"code",i)),whitespace:x(f(n,"whitespace",i)),defining:x(f(n,"defining",i)),isolating:x(f(n,"isolating",i)),attrs:Object.fromEntries(o.map((e=>{var t;return[e.name,{default:null===(t=null==e?void 0:e.attribute)||void 0===t?void 0:t.default}]})))}),s=x(f(n,"parseHTML",i));s&&(a.parseDOM=s.map((e=>_(e,o))));const l=f(n,"renderHTML",i);l&&(a.toDOM=e=>l({node:e,HTMLAttributes:y(e,o)}));const c=f(n,"renderText",i);return c&&(a.toText=c),[n.name,a]}))),c=Object.fromEntries(i.map((n=>{const o=r.filter((e=>e.type===n.name)),i={name:n.name,options:n.options,storage:n.storage,editor:t},a=S({...e.reduce(((e,t)=>{const r=f(t,"extendMarkSchema",i);return{...e,...r?r(n):{}}}),{}),inclusive:x(f(n,"inclusive",i)),excludes:x(f(n,"excludes",i)),group:x(f(n,"group",i)),spanning:x(f(n,"spanning",i)),code:x(f(n,"code",i)),attrs:Object.fromEntries(o.map((e=>{var t;return[e.name,{default:null===(t=null==e?void 0:e.attribute)||void 0===t?void 0:t.default}]})))}),s=x(f(n,"parseHTML",i));s&&(a.parseDOM=s.map((e=>_(e,o))));const l=f(n,"renderHTML",i);return l&&(a.toDOM=e=>l({mark:e,HTMLAttributes:y(e,o)})),[n.name,a]})));return new a.Schema({topNode:s,nodes:l,marks:c})}function C(e,t){return t.nodes[e]||t.marks[e]||null}function T(e,t){return Array.isArray(t)?t.some((t=>("string"==typeof t?t:t.name)===e.name)):t}const M=(e,t=500)=>{let n="";const r=e.parentOffset;return e.parent.nodesBetween(Math.max(0,r-t),r,((e,t,o,i)=>{var a,s;const l=(null===(s=(a=e.type.spec).toText)||void 0===s?void 0:s.call(a,{node:e,pos:t,parent:o,index:i}))||e.textContent||"%leaf%";n+=l.slice(0,Math.max(0,r-t))})),n};function P(e){return"[object RegExp]"===Object.prototype.toString.call(e)}class O{constructor(e){this.find=e.find,this.handler=e.handler}}const E=(e,t)=>{if(P(t))return t.exec(e);const n=t(e);if(!n)return null;const r=[n.text];return r.index=n.index,r.input=e,r.data=n.data,n.replaceWith&&(n.text.includes(n.replaceWith)||console.warn('[tiptap warn]: "inputRuleMatch.replaceWith" must be part of "inputRuleMatch.text".'),r.push(n.replaceWith)),r};function D(e){var t;const{editor:n,from:r,to:o,text:i,rules:a,plugin:s}=e,{view:l}=n;if(l.composing)return!1;const c=l.state.doc.resolve(r);if(c.parent.type.spec.code||(null===(t=c.nodeBefore||c.nodeAfter)||void 0===t?void 0:t.marks.find((e=>e.type.spec.code))))return!1;let p=!1;const f=M(c)+i;return a.forEach((e=>{if(p)return;const t=E(f,e.find);if(!t)return;const a=l.state.tr,c=u({state:l.state,transaction:a}),h={from:r-(t[0].length-i.length),to:o},{commands:m,chain:g,can:v}=new d({editor:n,state:c});null!==e.handler({state:c,range:h,match:t,commands:m,chain:g,can:v})&&a.steps.length&&(a.setMeta(s,{transform:a,from:r,to:o,text:i}),l.dispatch(a),p=!0)})),p}function R(e){const{editor:t,rules:n}=e,o=new r.Plugin({state:{init(){return null},apply(e,r){const i=e.getMeta(o);if(i)return i;const a=e.getMeta("applyInputRules");return!!a&&setTimeout((()=>{const{from:e,text:r}=a,i=e+r.length;D({editor:t,from:e,to:i,text:r,rules:n,plugin:o})})),e.selectionSet||e.docChanged?null:r}},props:{handleTextInput(e,r,i,a){return D({editor:t,from:r,to:i,text:a,rules:n,plugin:o})},handleDOMEvents:{compositionend:e=>(setTimeout((()=>{const{$cursor:r}=e.state.selection;r&&D({editor:t,from:r.pos,to:r.pos,text:"",rules:n,plugin:o})})),!1)},handleKeyDown(e,r){if("Enter"!==r.key)return!1;const{$cursor:i}=e.state.selection;return!!i&&D({editor:t,from:i.pos,to:i.pos,text:"\n",rules:n,plugin:o})}},isInputRules:!0});return o}function I(e){return"number"==typeof e}class N{constructor(e){this.find=e.find,this.handler=e.handler}}const L=(e,t,n)=>{if(P(t))return[...e.matchAll(t)];const r=t(e,n);return r?r.map((t=>{const n=[t.text];return n.index=t.index,n.input=e,n.data=t.data,t.replaceWith&&(t.text.includes(t.replaceWith)||console.warn('[tiptap warn]: "pasteRuleMatch.replaceWith" must be part of "pasteRuleMatch.text".'),n.push(t.replaceWith)),n})):[]};function j(e){const{editor:t,rules:n}=e;let o=null,i=!1,a=!1,s="undefined"!=typeof ClipboardEvent?new ClipboardEvent("paste"):null,l="undefined"!=typeof DragEvent?new DragEvent("drop"):null;const c=({state:e,from:n,to:r,rule:o,pasteEvt:i})=>{const a=e.tr,c=u({state:e,transaction:a}),p=function(e){const{editor:t,state:n,from:r,to:o,rule:i,pasteEvent:a,dropEvent:s}=e,{commands:l,chain:c,can:u}=new d({editor:t,state:n}),p=[];return n.doc.nodesBetween(r,o,((e,t)=>{if(!e.isTextblock||e.type.spec.code)return;const d=Math.max(r,t),f=Math.min(o,t+e.content.size),h=e.textBetween(d-t,f-t,void 0,"");L(h,i.find,a).forEach((e=>{if(void 0===e.index)return;const t=d+e.index+1,r=t+e[0].length,o={from:n.tr.mapping.map(t),to:n.tr.mapping.map(r)},f=i.handler({state:n,range:o,match:e,commands:l,chain:c,can:u,pasteEvent:a,dropEvent:s});p.push(f)}))})),p.every((e=>null!==e))}({editor:t,state:c,from:Math.max(n-1,0),to:r.b-1,rule:o,pasteEvent:i,dropEvent:l});if(p&&a.steps.length)return l="undefined"!=typeof DragEvent?new DragEvent("drop"):null,s="undefined"!=typeof ClipboardEvent?new ClipboardEvent("paste"):null,a},p=n.map((e=>new r.Plugin({view(e){const t=t=>{var n;o=(null===(n=e.dom.parentElement)||void 0===n?void 0:n.contains(t.target))?e.dom.parentElement:null};return window.addEventListener("dragstart",t),{destroy(){window.removeEventListener("dragstart",t)}}},props:{handleDOMEvents:{drop:(e,t)=>(a=o===e.dom.parentElement,l=t,!1),paste:(e,t)=>{var n;const r=null===(n=t.clipboardData)||void 0===n?void 0:n.getData("text/html");return s=t,i=!!(null==r?void 0:r.includes("data-pm-slice")),!1}}},appendTransaction:(t,n,r)=>{const o=t[0],l="paste"===o.getMeta("uiEvent")&&!i,u="drop"===o.getMeta("uiEvent")&&!a,d=o.getMeta("applyPasteRules"),p=!!d;if(!l&&!u&&!p)return;if(p){const{from:t,text:n}=d,o=t+n.length,i=(e=>{var t;const n=new ClipboardEvent("paste",{clipboardData:new DataTransfer});return null===(t=n.clipboardData)||void 0===t||t.setData("text/html",e),n})(n);return c({rule:e,state:r,from:t,to:{b:o},pasteEvt:i})}const f=n.doc.content.findDiffStart(r.doc.content),h=n.doc.content.findDiffEnd(r.doc.content);return I(f)&&h&&f!==h.b?c({rule:e,state:r,from:f,to:h,pasteEvt:s}):void 0}})));return p}function $(e){const t=e.filter(((t,n)=>e.indexOf(t)!==n));return[...new Set(t)]}class z{constructor(e,t){this.splittableMarks=[],this.editor=t,this.extensions=z.resolve(e),this.schema=k(this.extensions,t),this.setupExtensions()}static resolve(e){const t=z.sort(z.flatten(e)),n=$(t.map((e=>e.name)));return n.length&&console.warn(`[tiptap warn]: Duplicate extension names found: [${n.map((e=>`'${e}'`)).join(", ")}]. This can lead to issues.`),t}static flatten(e){return e.map((e=>{const t=f(e,"addExtensions",{name:e.name,options:e.options,storage:e.storage});return t?[e,...this.flatten(t())]:e})).flat(10)}static sort(e){return e.sort(((e,t)=>{const n=f(e,"priority")||100,r=f(t,"priority")||100;return n>r?-1:n<r?1:0}))}get commands(){return this.extensions.reduce(((e,t)=>{const n=f(t,"addCommands",{name:t.name,options:t.options,storage:t.storage,editor:this.editor,type:C(t.name,this.schema)});return n?{...e,...n()}:e}),{})}get plugins(){const{editor:e}=this,t=z.sort([...this.extensions].reverse()),n=[],r=[],o=t.map((t=>{const o={name:t.name,options:t.options,storage:t.storage,editor:e,type:C(t.name,this.schema)},a=[],s=f(t,"addKeyboardShortcuts",o);let l={};if("mark"===t.type&&f(t,"exitable",o)&&(l.ArrowRight=()=>$e.handleExit({editor:e,mark:t})),s){const t=Object.fromEntries(Object.entries(s()).map((([t,n])=>[t,()=>n({editor:e})])));l={...l,...t}}const c=i.keymap(l);a.push(c);const u=f(t,"addInputRules",o);T(t,e.options.enableInputRules)&&u&&n.push(...u());const d=f(t,"addPasteRules",o);T(t,e.options.enablePasteRules)&&d&&r.push(...d());const p=f(t,"addProseMirrorPlugins",o);if(p){const e=p();a.push(...e)}return a})).flat();return[R({editor:e,rules:n}),...j({editor:e,rules:r}),...o]}get attributes(){return m(this.extensions)}get nodeViews(){const{editor:e}=this,{nodeExtensions:t}=h(this.extensions);return Object.fromEntries(t.filter((e=>!!f(e,"addNodeView"))).map((t=>{const n=this.attributes.filter((e=>e.type===t.name)),r={name:t.name,options:t.options,storage:t.storage,editor:e,type:g(t.name,this.schema)},o=f(t,"addNodeView",r);if(!o)return[];return[t.name,(r,i,a,s)=>{const l=y(r,n);return o()({editor:e,node:r,getPos:a,decorations:s,HTMLAttributes:l,extension:t})}]})))}setupExtensions(){this.extensions.forEach((e=>{var t;this.editor.extensionStorage[e.name]=e.storage;const n={name:e.name,options:e.options,storage:e.storage,editor:this.editor,type:C(e.name,this.schema)};if("mark"===e.type){(null===(t=x(f(e,"keepOnSplit",n)))||void 0===t||t)&&this.splittableMarks.push(e.name)}const r=f(e,"onBeforeCreate",n),o=f(e,"onCreate",n),i=f(e,"onUpdate",n),a=f(e,"onSelectionUpdate",n),s=f(e,"onTransaction",n),l=f(e,"onFocus",n),c=f(e,"onBlur",n),u=f(e,"onDestroy",n);r&&this.editor.on("beforeCreate",r),o&&this.editor.on("create",o),i&&this.editor.on("update",i),a&&this.editor.on("selectionUpdate",a),s&&this.editor.on("transaction",s),l&&this.editor.on("focus",l),c&&this.editor.on("blur",c),u&&this.editor.on("destroy",u)}))}}function F(e){return"Object"===function(e){return Object.prototype.toString.call(e).slice(8,-1)}(e)&&(e.constructor===Object&&Object.getPrototypeOf(e)===Object.prototype)}function B(e,t){const n={...e};return F(e)&&F(t)&&Object.keys(t).forEach((r=>{F(t[r])&&F(e[r])?n[r]=B(e[r],t[r]):n[r]=t[r]})),n}class H{constructor(e={}){this.type="extension",this.name="extension",this.parent=null,this.child=null,this.config={name:this.name,defaultOptions:{}},this.config={...this.config,...e},this.name=this.config.name,e.defaultOptions&&Object.keys(e.defaultOptions).length>0&&console.warn(`[tiptap warn]: BREAKING CHANGE: "defaultOptions" is deprecated. Please use "addOptions" instead. Found in extension: "${this.name}".`),this.options=this.config.defaultOptions,this.config.addOptions&&(this.options=x(f(this,"addOptions",{name:this.name}))),this.storage=x(f(this,"addStorage",{name:this.name,options:this.options}))||{}}static create(e={}){return new H(e)}configure(e={}){const t=this.extend({...this.config,addOptions(){var t;return B((null===(t=this.parent)||void 0===t?void 0:t.call(this))||{},e)}});return t.name=this.name,t.parent=this.parent,t}extend(e={}){const t=new H({...this.config,...e});return t.parent=this,this.child=t,t.name=e.name?e.name:t.parent.name,e.defaultOptions&&Object.keys(e.defaultOptions).length>0&&console.warn(`[tiptap warn]: BREAKING CHANGE: "defaultOptions" is deprecated. Please use "addOptions" instead. Found in extension: "${t.name}".`),t.options=x(f(t,"addOptions",{name:t.name})),t.storage=x(f(t,"addStorage",{name:t.name,options:t.options})),t}}function V(e,t,n){const{from:r,to:o}=t,{blockSeparator:i="\n\n",textSerializers:a={}}=n||{};let s="";return e.nodesBetween(r,o,((e,n,l,c)=>{var u;e.isBlock&&n>r&&(s+=i);const d=null==a?void 0:a[e.type.name];if(d)return l&&(s+=d({node:e,pos:n,parent:l,index:c,range:t})),!1;e.isText&&(s+=null===(u=null==e?void 0:e.text)||void 0===u?void 0:u.slice(Math.max(r,n)-n,o-n))})),s}function W(e){return Object.fromEntries(Object.entries(e.nodes).filter((([,e])=>e.spec.toText)).map((([e,t])=>[e,t.spec.toText])))}const U=H.create({name:"clipboardTextSerializer",addOptions(){return{blockSeparator:void 0}},addProseMirrorPlugins(){return[new r.Plugin({key:new r.PluginKey("clipboardTextSerializer"),props:{clipboardTextSerializer:()=>{const{editor:e}=this,{state:t,schema:n}=e,{doc:r,selection:o}=t,{ranges:i}=o,a=Math.min(...i.map((e=>e.$from.pos))),s=Math.max(...i.map((e=>e.$to.pos))),l=W(n);return V(r,{from:a,to:s},{...void 0!==this.options.blockSeparator?{blockSeparator:this.options.blockSeparator}:{},textSerializers:l})}}})]}});function q(e,t,n={strict:!0}){const r=Object.keys(t);return!r.length||r.every((r=>n.strict?t[r]===e[r]:P(t[r])?t[r].test(e[r]):t[r]===e[r]))}function G(e,t,n={}){return e.find((e=>e.type===t&&q(e.attrs,n)))}function Y(e,t,n={}){return!!G(e,t,n)}function X(e,t,n={}){if(!e||!t)return;let r=e.parent.childAfter(e.parentOffset);if(e.parentOffset===r.offset&&0!==r.offset&&(r=e.parent.childBefore(e.parentOffset)),!r.node)return;const o=G([...r.node.marks],t,n);if(!o)return;let i=r.index,a=e.start()+r.offset,s=i+1,l=a+r.node.nodeSize;for(G([...r.node.marks],t,n);i>0&&o.isInSet(e.parent.child(i-1).marks);)i-=1,a-=e.parent.child(i).nodeSize;for(;s<e.parent.childCount&&Y([...e.parent.child(s).marks],t,n);)l+=e.parent.child(s).nodeSize,s+=1;return{from:a,to:l}}function K(e,t){if("string"==typeof e){if(!t.marks[e])throw Error(`There is no mark type named '${e}'. Maybe you forgot to add the extension?`);return t.marks[e]}return e}function Z(e){return e instanceof r.TextSelection}function J(e=0,t=0,n=0){return Math.min(Math.max(e,t),n)}function Q(e,t=null){if(!t)return null;const n=r.Selection.atStart(e),o=r.Selection.atEnd(e);if("start"===t||!0===t)return n;if("end"===t)return o;const i=n.from,a=o.to;return"all"===t?r.TextSelection.create(e,J(0,i,a),J(e.content.size,i,a)):r.TextSelection.create(e,J(t,i,a),J(t,i,a))}function ee(){return["iPad Simulator","iPhone Simulator","iPod Simulator","iPad","iPhone","iPod"].includes(navigator.platform)||navigator.userAgent.includes("Mac")&&"ontouchend"in document}const te=e=>{const t=e.childNodes;for(let n=t.length-1;n>=0;n-=1){const r=t[n];3===r.nodeType&&r.nodeValue&&/^(\n\s\s|\n)$/.test(r.nodeValue)?e.removeChild(r):1===r.nodeType&&te(r)}return e};function ne(e){const t=`<body>${e}</body>`,n=(new window.DOMParser).parseFromString(t,"text/html").body;return te(n)}function re(e,t,n){n={slice:!0,parseOptions:{},...n};const r="string"==typeof e;if("object"==typeof e&&null!==e)try{return Array.isArray(e)&&e.length>0?a.Fragment.fromArray(e.map((e=>t.nodeFromJSON(e)))):t.nodeFromJSON(e)}catch(r){if(n.errorOnInvalidContent)throw new Error("[tiptap error]: Invalid JSON content",{cause:r});return console.warn("[tiptap warn]: Invalid content.","Passed value:",e,"Error:",r),re("",t,n)}if(r){let r=t,o=!1,i="";n.errorOnInvalidContent&&(r=new a.Schema({topNode:t.spec.topNode,marks:t.spec.marks,nodes:t.spec.nodes.append({__tiptap__private__unknown__catch__all__node:{content:"inline*",group:"block",parseDOM:[{tag:"*",getAttrs:e=>(o=!0,i="string"==typeof e?e:e.outerHTML,null)}]}})}));const s=a.DOMParser.fromSchema(r),l=n.slice?s.parseSlice(ne(e),n.parseOptions).content:s.parse(ne(e),n.parseOptions);if(n.errorOnInvalidContent&&o)throw new Error("[tiptap error]: Invalid HTML content",{cause:new Error(`Invalid element found: ${i}`)});return l}return re("",t,n)}function oe(e,t,n){const o=e.steps.length-1;if(o<t)return;const i=e.steps[o];if(!(i instanceof s.ReplaceStep||i instanceof s.ReplaceAroundStep))return;const a=e.mapping.maps[o];let l=0;a.forEach(((e,t,n,r)=>{0===l&&(l=r)})),e.setSelection(r.Selection.near(e.doc.resolve(l),n))}function ie(){return"undefined"!=typeof navigator&&/Mac/.test(navigator.platform)}function ae(e,t,n={}){const{from:r,to:o,empty:i}=e.selection,a=t?g(t,e.schema):null,s=[];e.doc.nodesBetween(r,o,((e,t)=>{if(e.isText)return;const n=Math.max(r,t),i=Math.min(o,t+e.nodeSize);s.push({node:e,from:n,to:i})}));const l=o-r,c=s.filter((e=>!a||a.name===e.node.type.name)).filter((e=>q(e.node.attrs,n,{strict:!1})));if(i)return!!c.length;return c.reduce(((e,t)=>e+t.to-t.from),0)>=l}function se(e,t){return t.nodes[e]?"node":t.marks[e]?"mark":null}function le(e,t){const n="string"==typeof t?[t]:t;return Object.keys(e).reduce(((t,r)=>(n.includes(r)||(t[r]=e[r]),t)),{})}function ce(e,t,n={},r={}){return re(e,t,{slice:!1,parseOptions:n,errorOnInvalidContent:r.errorOnInvalidContent})}function ue(e,t){const n=K(t,e.schema),{from:r,to:o,empty:i}=e.selection,a=[];i?(e.storedMarks&&a.push(...e.storedMarks),a.push(...e.selection.$head.marks())):e.doc.nodesBetween(r,o,(e=>{a.push(...e.marks)}));const s=a.find((e=>e.type.name===n.name));return s?{...s.attrs}:{}}function de(e){for(let t=0;t<e.edgeCount;t+=1){const{type:n}=e.edge(t);if(n.isTextblock&&!n.hasRequiredAttrs())return n}return null}function pe(e,t){for(let n=e.depth;n>0;n-=1){const r=e.node(n);if(t(r))return{pos:n>0?e.before(n):0,start:e.start(n),depth:n,node:r}}}function fe(e){return t=>pe(t.$from,e)}function he(e,t){const n=a.DOMSerializer.fromSchema(t).serializeFragment(e),r=document.implementation.createHTMLDocument().createElement("div");return r.appendChild(n),r.innerHTML}function me(e,t){return k(z.resolve(e),t)}function ge(e,t){return V(e,{from:0,to:e.content.size},t)}function ve(e,t){const n=g(t,e.schema),{from:r,to:o}=e.selection,i=[];e.doc.nodesBetween(r,o,(e=>{i.push(e)}));const a=i.reverse().find((e=>e.type.name===n.name));return a?{...a.attrs}:{}}function ye(e,t){const n=se("string"==typeof t?t:t.name,e.schema);return"node"===n?ve(e,t):"mark"===n?ue(e,t):{}}function be(e,t=JSON.stringify){const n={};return e.filter((e=>{const r=t(e);return!Object.prototype.hasOwnProperty.call(n,r)&&(n[r]=!0)}))}function xe(e,t,n){const r=[];return e===t?n.resolve(e).marks().forEach((t=>{const o=X(n.resolve(e-1),t.type);o&&r.push({mark:t,...o})})):n.nodesBetween(e,t,((e,t)=>{e&&void 0!==(null==e?void 0:e.nodeSize)&&r.push(...e.marks.map((n=>({from:t,to:t+e.nodeSize,mark:n}))))})),r}function we(e,t,n){return Object.fromEntries(Object.entries(n).filter((([n])=>{const r=e.find((e=>e.type===t&&e.name===n));return!!r&&r.attribute.keepOnSplit})))}function Ae(e,t,n={}){const{empty:r,ranges:o}=e.selection,i=t?K(t,e.schema):null;if(r)return!!(e.storedMarks||e.selection.$from.marks()).filter((e=>!i||i.name===e.type.name)).find((e=>q(e.attrs,n,{strict:!1})));let a=0;const s=[];if(o.forEach((({$from:t,$to:n})=>{const r=t.pos,o=n.pos;e.doc.nodesBetween(r,o,((e,t)=>{if(!e.isText&&!e.marks.length)return;const n=Math.max(r,t),i=Math.min(o,t+e.nodeSize);a+=i-n,s.push(...e.marks.map((e=>({mark:e,from:n,to:i}))))}))})),0===a)return!1;const l=s.filter((e=>!i||i.name===e.mark.type.name)).filter((e=>q(e.mark.attrs,n,{strict:!1}))).reduce(((e,t)=>e+t.to-t.from),0),c=s.filter((e=>!i||e.mark.type!==i&&e.mark.type.excludes(i))).reduce(((e,t)=>e+t.to-t.from),0);return(l>0?l+c:l)>=a}function _e(e,t,n={}){if(!t)return ae(e,null,n)||Ae(e,null,n);const r=se(t,e.schema);return"node"===r?ae(e,t,n):"mark"===r&&Ae(e,t,n)}function Se(e,t){const{nodeExtensions:n}=h(t),r=n.find((t=>t.name===e));if(!r)return!1;const o=x(f(r,"group",{name:r.name,options:r.options,storage:r.storage}));return"string"==typeof o&&o.split(" ").includes("list")}function ke(e){const t=e.type.createAndFill();return!!t&&e.eq(t)}function Ce(e,t){const n=e.storedMarks||e.selection.$to.parentOffset&&e.selection.$from.marks();if(n){const r=n.filter((e=>null==t?void 0:t.includes(e.type.name)));e.tr.ensureMarks(r)}}const Te=(e,t)=>{const n=fe((e=>e.type===t))(e.selection);if(!n)return!0;const r=e.doc.resolve(Math.max(0,n.pos-1)).before(n.depth);if(void 0===r)return!0;const o=e.doc.nodeAt(r);return n.node.type!==(null==o?void 0:o.type)||!s.canJoin(e.doc,n.pos)||(e.join(n.pos),!0)},Me=(e,t)=>{const n=fe((e=>e.type===t))(e.selection);if(!n)return!0;const r=e.doc.resolve(n.start).after(n.depth);if(void 0===r)return!0;const o=e.doc.nodeAt(r);return n.node.type!==(null==o?void 0:o.type)||!s.canJoin(e.doc,r)||(e.join(r),!0)};var Pe=Object.freeze({__proto__:null,blur:()=>({editor:e,view:t})=>(requestAnimationFrame((()=>{var n;e.isDestroyed||(t.dom.blur(),null===(n=null===window||void 0===window?void 0:window.getSelection())||void 0===n||n.removeAllRanges())})),!0),clearContent:(e=!1)=>({commands:t})=>t.setContent("",e),clearNodes:()=>({state:e,tr:t,dispatch:n})=>{const{selection:r}=t,{ranges:o}=r;return!n||(o.forEach((({$from:n,$to:r})=>{e.doc.nodesBetween(n.pos,r.pos,((e,n)=>{if(e.type.isText)return;const{doc:r,mapping:o}=t,i=r.resolve(o.map(n)),a=r.resolve(o.map(n+e.nodeSize)),l=i.blockRange(a);if(!l)return;const c=s.liftTarget(l);if(e.type.isTextblock){const{defaultType:e}=i.parent.contentMatchAt(i.index());t.setNodeMarkup(l.start,e)}(c||0===c)&&t.lift(l,c)}))})),!0)},command:e=>t=>e(t),createParagraphNear:()=>({state:e,dispatch:t})=>l.createParagraphNear(e,t),cut:(e,t)=>({editor:n,tr:o})=>{const{state:i}=n,a=i.doc.slice(e.from,e.to);o.deleteRange(e.from,e.to);const s=o.mapping.map(t);return o.insert(s,a.content),o.setSelection(new r.TextSelection(o.doc.resolve(s-1))),!0},deleteCurrentNode:()=>({tr:e,dispatch:t})=>{const{selection:n}=e,r=n.$anchor.node();if(r.content.size>0)return!1;const o=e.selection.$anchor;for(let n=o.depth;n>0;n-=1){if(o.node(n).type===r.type){if(t){const t=o.before(n),r=o.after(n);e.delete(t,r).scrollIntoView()}return!0}}return!1},deleteNode:e=>({tr:t,state:n,dispatch:r})=>{const o=g(e,n.schema),i=t.selection.$anchor;for(let e=i.depth;e>0;e-=1){if(i.node(e).type===o){if(r){const n=i.before(e),r=i.after(e);t.delete(n,r).scrollIntoView()}return!0}}return!1},deleteRange:e=>({tr:t,dispatch:n})=>{const{from:r,to:o}=e;return n&&t.delete(r,o),!0},deleteSelection:()=>({state:e,dispatch:t})=>l.deleteSelection(e,t),enter:()=>({commands:e})=>e.keyboardShortcut("Enter"),exitCode:()=>({state:e,dispatch:t})=>l.exitCode(e,t),extendMarkRange:(e,t={})=>({tr:n,state:o,dispatch:i})=>{const a=K(e,o.schema),{doc:s,selection:l}=n,{$from:c,from:u,to:d}=l;if(i){const e=X(c,a,t);if(e&&e.from<=u&&e.to>=d){const t=r.TextSelection.create(s,e.from,e.to);n.setSelection(t)}}return!0},first:e=>t=>{const n="function"==typeof e?e(t):e;for(let e=0;e<n.length;e+=1)if(n[e](t))return!0;return!1},focus:(e=null,t={})=>({editor:n,view:r,tr:o,dispatch:i})=>{t={scrollIntoView:!0,...t};const a=()=>{ee()&&r.dom.focus(),requestAnimationFrame((()=>{n.isDestroyed||(r.focus(),(null==t?void 0:t.scrollIntoView)&&n.commands.scrollIntoView())}))};if(r.hasFocus()&&null===e||!1===e)return!0;if(i&&null===e&&!Z(n.state.selection))return a(),!0;const s=Q(o.doc,e)||n.state.selection,l=n.state.selection.eq(s);return i&&(l||o.setSelection(s),l&&o.storedMarks&&o.setStoredMarks(o.storedMarks),a()),!0},forEach:(e,t)=>n=>e.every(((e,r)=>t(e,{...n,index:r}))),insertContent:(e,t)=>({tr:n,commands:r})=>r.insertContentAt({from:n.selection.from,to:n.selection.to},e,t),insertContentAt:(e,t,n)=>({tr:r,dispatch:o,editor:i})=>{var a;if(o){let o;n={parseOptions:{},updateSelection:!0,applyInputRules:!1,applyPasteRules:!1,...n};try{o=re(t,i.schema,{parseOptions:{preserveWhitespace:"full",...n.parseOptions},errorOnInvalidContent:null!==(a=n.errorOnInvalidContent)&&void 0!==a?a:i.options.enableContentCheck})}catch(e){return!1}let{from:s,to:l}="number"==typeof e?{from:e,to:e}:{from:e.from,to:e.to},c=!0,u=!0;if(("type"in o?[o]:o).forEach((e=>{e.check(),c=!!c&&(e.isText&&0===e.marks.length),u=!!u&&e.isBlock})),s===l&&u){const{parent:e}=r.doc.resolve(s);e.isTextblock&&!e.type.spec.code&&!e.childCount&&(s-=1,l+=1)}let d;c?(d=Array.isArray(t)?t.map((e=>e.text||"")).join(""):"object"==typeof t&&t&&t.text?t.text:t,r.insertText(d,s,l)):(d=o,r.replaceWith(s,l,d)),n.updateSelection&&oe(r,r.steps.length-1,-1),n.applyInputRules&&r.setMeta("applyInputRules",{from:s,text:d}),n.applyPasteRules&&r.setMeta("applyPasteRules",{from:s,text:d})}return!0},joinBackward:()=>({state:e,dispatch:t})=>l.joinBackward(e,t),joinDown:()=>({state:e,dispatch:t})=>l.joinDown(e,t),joinForward:()=>({state:e,dispatch:t})=>l.joinForward(e,t),joinItemBackward:()=>({state:e,dispatch:t,tr:n})=>{try{const r=s.joinPoint(e.doc,e.selection.$from.pos,-1);return null!=r&&(n.join(r,2),t&&t(n),!0)}catch(e){return!1}},joinItemForward:()=>({state:e,dispatch:t,tr:n})=>{try{const r=s.joinPoint(e.doc,e.selection.$from.pos,1);return null!=r&&(n.join(r,2),t&&t(n),!0)}catch(e){return!1}},joinTextblockBackward:()=>({state:e,dispatch:t})=>l.joinTextblockBackward(e,t),joinTextblockForward:()=>({state:e,dispatch:t})=>l.joinTextblockForward(e,t),joinUp:()=>({state:e,dispatch:t})=>l.joinUp(e,t),keyboardShortcut:e=>({editor:t,view:n,tr:r,dispatch:o})=>{const i=function(e){const t=e.split(/-(?!$)/);let n,r,o,i,a=t[t.length-1];"Space"===a&&(a=" ");for(let e=0;e<t.length-1;e+=1){const a=t[e];if(/^(cmd|meta|m)$/i.test(a))i=!0;else if(/^a(lt)?$/i.test(a))n=!0;else if(/^(c|ctrl|control)$/i.test(a))r=!0;else if(/^s(hift)?$/i.test(a))o=!0;else{if(!/^mod$/i.test(a))throw new Error(`Unrecognized modifier name: ${a}`);ee()||ie()?i=!0:r=!0}}return n&&(a=`Alt-${a}`),r&&(a=`Ctrl-${a}`),i&&(a=`Meta-${a}`),o&&(a=`Shift-${a}`),a}(e).split(/-(?!$)/),a=i.find((e=>!["Alt","Ctrl","Meta","Shift"].includes(e))),s=new KeyboardEvent("keydown",{key:"Space"===a?" ":a,altKey:i.includes("Alt"),ctrlKey:i.includes("Ctrl"),metaKey:i.includes("Meta"),shiftKey:i.includes("Shift"),bubbles:!0,cancelable:!0}),l=t.captureTransaction((()=>{n.someProp("handleKeyDown",(e=>e(n,s)))}));return null==l||l.steps.forEach((e=>{const t=e.map(r.mapping);t&&o&&r.maybeStep(t)})),!0},lift:(e,t={})=>({state:n,dispatch:r})=>!!ae(n,g(e,n.schema),t)&&l.lift(n,r),liftEmptyBlock:()=>({state:e,dispatch:t})=>l.liftEmptyBlock(e,t),liftListItem:e=>({state:t,dispatch:n})=>{const r=g(e,t.schema);return c.liftListItem(r)(t,n)},newlineInCode:()=>({state:e,dispatch:t})=>l.newlineInCode(e,t),resetAttributes:(e,t)=>({tr:n,state:r,dispatch:o})=>{let i=null,a=null;const s=se("string"==typeof e?e:e.name,r.schema);return!!s&&("node"===s&&(i=g(e,r.schema)),"mark"===s&&(a=K(e,r.schema)),o&&n.selection.ranges.forEach((e=>{r.doc.nodesBetween(e.$from.pos,e.$to.pos,((e,r)=>{i&&i===e.type&&n.setNodeMarkup(r,void 0,le(e.attrs,t)),a&&e.marks.length&&e.marks.forEach((o=>{a===o.type&&n.addMark(r,r+e.nodeSize,a.create(le(o.attrs,t)))}))}))})),!0)},scrollIntoView:()=>({tr:e,dispatch:t})=>(t&&e.scrollIntoView(),!0),selectAll:()=>({tr:e,commands:t})=>t.setTextSelection({from:0,to:e.doc.content.size}),selectNodeBackward:()=>({state:e,dispatch:t})=>l.selectNodeBackward(e,t),selectNodeForward:()=>({state:e,dispatch:t})=>l.selectNodeForward(e,t),selectParentNode:()=>({state:e,dispatch:t})=>l.selectParentNode(e,t),selectTextblockEnd:()=>({state:e,dispatch:t})=>l.selectTextblockEnd(e,t),selectTextblockStart:()=>({state:e,dispatch:t})=>l.selectTextblockStart(e,t),setContent:(e,t=!1,n={},r={})=>({editor:o,tr:i,dispatch:a,commands:s})=>{var l,c;const{doc:u}=i;if("full"!==n.preserveWhitespace){const s=ce(e,o.schema,n,{errorOnInvalidContent:null!==(l=r.errorOnInvalidContent)&&void 0!==l?l:o.options.enableContentCheck});return a&&i.replaceWith(0,u.content.size,s).setMeta("preventUpdate",!t),!0}return a&&i.setMeta("preventUpdate",!t),s.insertContentAt({from:0,to:u.content.size},e,{parseOptions:n,errorOnInvalidContent:null!==(c=r.errorOnInvalidContent)&&void 0!==c?c:o.options.enableContentCheck})},setMark:(e,t={})=>({tr:n,state:r,dispatch:o})=>{const{selection:i}=n,{empty:a,ranges:s}=i,l=K(e,r.schema);if(o)if(a){const e=ue(r,l);n.addStoredMark(l.create({...e,...t}))}else s.forEach((e=>{const o=e.$from.pos,i=e.$to.pos;r.doc.nodesBetween(o,i,((e,r)=>{const a=Math.max(r,o),s=Math.min(r+e.nodeSize,i);e.marks.find((e=>e.type===l))?e.marks.forEach((e=>{l===e.type&&n.addMark(a,s,l.create({...e.attrs,...t}))})):n.addMark(a,s,l.create(t))}))}));return function(e,t,n){var r;const{selection:o}=t;let i=null;if(Z(o)&&(i=o.$cursor),i){const t=null!==(r=e.storedMarks)&&void 0!==r?r:i.marks();return!!n.isInSet(t)||!t.some((e=>e.type.excludes(n)))}const{ranges:a}=o;return a.some((({$from:t,$to:r})=>{let o=0===t.depth&&e.doc.inlineContent&&e.doc.type.allowsMarkType(n);return e.doc.nodesBetween(t.pos,r.pos,((e,t,r)=>{if(o)return!1;if(e.isInline){const t=!r||r.type.allowsMarkType(n),i=!!n.isInSet(e.marks)||!e.marks.some((e=>e.type.excludes(n)));o=t&&i}return!o})),o}))}(r,n,l)},setMeta:(e,t)=>({tr:n})=>(n.setMeta(e,t),!0),setNode:(e,t={})=>({state:n,dispatch:r,chain:o})=>{const i=g(e,n.schema);return i.isTextblock?o().command((({commands:e})=>!!l.setBlockType(i,t)(n)||e.clearNodes())).command((({state:e})=>l.setBlockType(i,t)(e,r))).run():(console.warn('[tiptap warn]: Currently "setNode()" only supports text block nodes.'),!1)},setNodeSelection:e=>({tr:t,dispatch:n})=>{if(n){const{doc:n}=t,o=J(e,0,n.content.size),i=r.NodeSelection.create(n,o);t.setSelection(i)}return!0},setTextSelection:e=>({tr:t,dispatch:n})=>{if(n){const{doc:n}=t,{from:o,to:i}="number"==typeof e?{from:e,to:e}:e,a=r.TextSelection.atStart(n).from,s=r.TextSelection.atEnd(n).to,l=J(o,a,s),c=J(i,a,s),u=r.TextSelection.create(n,l,c);t.setSelection(u)}return!0},sinkListItem:e=>({state:t,dispatch:n})=>{const r=g(e,t.schema);return c.sinkListItem(r)(t,n)},splitBlock:({keepMarks:e=!0}={})=>({tr:t,state:n,dispatch:o,editor:i})=>{const{selection:a,doc:l}=t,{$from:c,$to:u}=a,d=we(i.extensionManager.attributes,c.node().type.name,c.node().attrs);if(a instanceof r.NodeSelection&&a.node.isBlock)return!(!c.parentOffset||!s.canSplit(l,c.pos))&&(o&&(e&&Ce(n,i.extensionManager.splittableMarks),t.split(c.pos).scrollIntoView()),!0);if(!c.parent.isBlock)return!1;if(o){const o=u.parentOffset===u.parent.content.size;a instanceof r.TextSelection&&t.deleteSelection();const l=0===c.depth?void 0:de(c.node(-1).contentMatchAt(c.indexAfter(-1)));let p=o&&l?[{type:l,attrs:d}]:void 0,f=s.canSplit(t.doc,t.mapping.map(c.pos),1,p);if(p||f||!s.canSplit(t.doc,t.mapping.map(c.pos),1,l?[{type:l}]:void 0)||(f=!0,p=l?[{type:l,attrs:d}]:void 0),f&&(t.split(t.mapping.map(c.pos),1,p),l&&!o&&!c.parentOffset&&c.parent.type!==l)){const e=t.mapping.map(c.before()),n=t.doc.resolve(e);c.node(-1).canReplaceWith(n.index(),n.index()+1,l)&&t.setNodeMarkup(t.mapping.map(c.before()),l)}e&&Ce(n,i.extensionManager.splittableMarks),t.scrollIntoView()}return!0},splitListItem:e=>({tr:t,state:n,dispatch:o,editor:i})=>{var l;const c=g(e,n.schema),{$from:u,$to:d}=n.selection,p=n.selection.node;if(p&&p.isBlock||u.depth<2||!u.sameParent(d))return!1;const f=u.node(-1);if(f.type!==c)return!1;const h=i.extensionManager.attributes;if(0===u.parent.content.size&&u.node(-1).childCount===u.indexAfter(-1)){if(2===u.depth||u.node(-3).type!==c||u.index(-2)!==u.node(-2).childCount-1)return!1;if(o){let e=a.Fragment.empty;const n=u.index(-1)?1:u.index(-2)?2:3;for(let t=u.depth-n;t>=u.depth-3;t-=1)e=a.Fragment.from(u.node(t).copy(e));const o=u.indexAfter(-1)<u.node(-2).childCount?1:u.indexAfter(-2)<u.node(-3).childCount?2:3,i=we(h,u.node().type.name,u.node().attrs),s=(null===(l=c.contentMatch.defaultType)||void 0===l?void 0:l.createAndFill(i))||void 0;e=e.append(a.Fragment.from(c.createAndFill(null,s)||void 0));const d=u.before(u.depth-(n-1));t.replace(d,u.after(-o),new a.Slice(e,4-n,0));let p=-1;t.doc.nodesBetween(d,t.doc.content.size,((e,t)=>{if(p>-1)return!1;e.isTextblock&&0===e.content.size&&(p=t+1)})),p>-1&&t.setSelection(r.TextSelection.near(t.doc.resolve(p))),t.scrollIntoView()}return!0}const m=d.pos===u.end()?f.contentMatchAt(0).defaultType:null,v=we(h,f.type.name,f.attrs),y=we(h,u.node().type.name,u.node().attrs);t.delete(u.pos,d.pos);const b=m?[{type:c,attrs:v},{type:m,attrs:y}]:[{type:c,attrs:v}];if(!s.canSplit(t.doc,u.pos,2))return!1;if(o){const{selection:e,storedMarks:r}=n,{splittableMarks:a}=i.extensionManager,s=r||e.$to.parentOffset&&e.$from.marks();if(t.split(u.pos,2,b).scrollIntoView(),!s||!o)return!0;const l=s.filter((e=>a.includes(e.type.name)));t.ensureMarks(l)}return!0},toggleList:(e,t,n,r={})=>({editor:o,tr:i,state:a,dispatch:s,chain:l,commands:c,can:u})=>{const{extensions:d,splittableMarks:p}=o.extensionManager,f=g(e,a.schema),h=g(t,a.schema),{selection:m,storedMarks:v}=a,{$from:y,$to:b}=m,x=y.blockRange(b),w=v||m.$to.parentOffset&&m.$from.marks();if(!x)return!1;const A=fe((e=>Se(e.type.name,d)))(m);if(x.depth>=1&&A&&x.depth-A.depth<=1){if(A.node.type===f)return c.liftListItem(h);if(Se(A.node.type.name,d)&&f.validContent(A.node.content)&&s)return l().command((()=>(i.setNodeMarkup(A.pos,f),!0))).command((()=>Te(i,f))).command((()=>Me(i,f))).run()}return n&&w&&s?l().command((()=>{const e=u().wrapInList(f,r),t=w.filter((e=>p.includes(e.type.name)));return i.ensureMarks(t),!!e||c.clearNodes()})).wrapInList(f,r).command((()=>Te(i,f))).command((()=>Me(i,f))).run():l().command((()=>!!u().wrapInList(f,r)||c.clearNodes())).wrapInList(f,r).command((()=>Te(i,f))).command((()=>Me(i,f))).run()},toggleMark:(e,t={},n={})=>({state:r,commands:o})=>{const{extendEmptyMarkRange:i=!1}=n,a=K(e,r.schema);return Ae(r,a,t)?o.unsetMark(a,{extendEmptyMarkRange:i}):o.setMark(a,t)},toggleNode:(e,t,n={})=>({state:r,commands:o})=>{const i=g(e,r.schema),a=g(t,r.schema);return ae(r,i,n)?o.setNode(a):o.setNode(i,n)},toggleWrap:(e,t={})=>({state:n,commands:r})=>{const o=g(e,n.schema);return ae(n,o,t)?r.lift(o):r.wrapIn(o,t)},undoInputRule:()=>({state:e,dispatch:t})=>{const n=e.plugins;for(let r=0;r<n.length;r+=1){const o=n[r];let i;if(o.spec.isInputRules&&(i=o.getState(e))){if(t){const t=e.tr,n=i.transform;for(let e=n.steps.length-1;e>=0;e-=1)t.step(n.steps[e].invert(n.docs[e]));if(i.text){const n=t.doc.resolve(i.from).marks();t.replaceWith(i.from,i.to,e.schema.text(i.text,n))}else t.delete(i.from,i.to)}return!0}}return!1},unsetAllMarks:()=>({tr:e,dispatch:t})=>{const{selection:n}=e,{empty:r,ranges:o}=n;return r||t&&o.forEach((t=>{e.removeMark(t.$from.pos,t.$to.pos)})),!0},unsetMark:(e,t={})=>({tr:n,state:r,dispatch:o})=>{var i;const{extendEmptyMarkRange:a=!1}=t,{selection:s}=n,l=K(e,r.schema),{$from:c,empty:u,ranges:d}=s;if(!o)return!0;if(u&&a){let{from:e,to:t}=s;const r=null===(i=c.marks().find((e=>e.type===l)))||void 0===i?void 0:i.attrs,o=X(c,l,r);o&&(e=o.from,t=o.to),n.removeMark(e,t,l)}else d.forEach((e=>{n.removeMark(e.$from.pos,e.$to.pos,l)}));return n.removeStoredMark(l),!0},updateAttributes:(e,t={})=>({tr:n,state:r,dispatch:o})=>{let i=null,a=null;const s=se("string"==typeof e?e:e.name,r.schema);return!!s&&("node"===s&&(i=g(e,r.schema)),"mark"===s&&(a=K(e,r.schema)),o&&n.selection.ranges.forEach((e=>{const o=e.$from.pos,s=e.$to.pos;r.doc.nodesBetween(o,s,((e,r)=>{i&&i===e.type&&n.setNodeMarkup(r,void 0,{...e.attrs,...t}),a&&e.marks.length&&e.marks.forEach((i=>{if(a===i.type){const l=Math.max(r,o),c=Math.min(r+e.nodeSize,s);n.addMark(l,c,a.create({...i.attrs,...t}))}}))}))})),!0)},wrapIn:(e,t={})=>({state:n,dispatch:r})=>{const o=g(e,n.schema);return l.wrapIn(o,t)(n,r)},wrapInList:(e,t={})=>({state:n,dispatch:r})=>{const o=g(e,n.schema);return c.wrapInList(o,t)(n,r)}});const Oe=H.create({name:"commands",addCommands(){return{...Pe}}}),Ee=H.create({name:"editable",addProseMirrorPlugins(){return[new r.Plugin({key:new r.PluginKey("editable"),props:{editable:()=>this.editor.options.editable}})]}}),De=H.create({name:"focusEvents",addProseMirrorPlugins(){const{editor:e}=this;return[new r.Plugin({key:new r.PluginKey("focusEvents"),props:{handleDOMEvents:{focus:(t,n)=>{e.isFocused=!0;const r=e.state.tr.setMeta("focus",{event:n}).setMeta("addToHistory",!1);return t.dispatch(r),!1},blur:(t,n)=>{e.isFocused=!1;const r=e.state.tr.setMeta("blur",{event:n}).setMeta("addToHistory",!1);return t.dispatch(r),!1}}}})]}}),Re=H.create({name:"keymap",addKeyboardShortcuts(){const e=()=>this.editor.commands.first((({commands:e})=>[()=>e.undoInputRule(),()=>e.command((({tr:t})=>{const{selection:n,doc:o}=t,{empty:i,$anchor:a}=n,{pos:s,parent:l}=a,c=a.parent.isTextblock&&s>0?t.doc.resolve(s-1):a,u=c.parent.type.spec.isolating,d=a.pos-a.parentOffset,p=u&&1===c.parent.childCount?d===a.pos:r.Selection.atStart(o).from===s;return!(!i||!l.type.isTextblock||l.textContent.length||!p||p&&"paragraph"===a.parent.type.name)&&e.clearNodes()})),()=>e.deleteSelection(),()=>e.joinBackward(),()=>e.selectNodeBackward()])),t=()=>this.editor.commands.first((({commands:e})=>[()=>e.deleteSelection(),()=>e.deleteCurrentNode(),()=>e.joinForward(),()=>e.selectNodeForward()])),n={Enter:()=>this.editor.commands.first((({commands:e})=>[()=>e.newlineInCode(),()=>e.createParagraphNear(),()=>e.liftEmptyBlock(),()=>e.splitBlock()])),"Mod-Enter":()=>this.editor.commands.exitCode(),Backspace:e,"Mod-Backspace":e,"Shift-Backspace":e,Delete:t,"Mod-Delete":t,"Mod-a":()=>this.editor.commands.selectAll()},o={...n},i={...n,"Ctrl-h":e,"Alt-Backspace":e,"Ctrl-d":t,"Ctrl-Alt-Backspace":t,"Alt-Delete":t,"Alt-d":t,"Ctrl-a":()=>this.editor.commands.selectTextblockStart(),"Ctrl-e":()=>this.editor.commands.selectTextblockEnd()};return ee()||ie()?i:o},addProseMirrorPlugins(){return[new r.Plugin({key:new r.PluginKey("clearDocument"),appendTransaction:(e,t,n)=>{if(!(e.some((e=>e.docChanged))&&!t.doc.eq(n.doc)))return;const{empty:o,from:i,to:a}=t.selection,s=r.Selection.atStart(t.doc).from,l=r.Selection.atEnd(t.doc).to;if(o||!(i===s&&a===l))return;if(!(0===n.doc.textBetween(0,n.doc.content.size," "," ").length))return;const c=n.tr,p=u({state:n,transaction:c}),{commands:f}=new d({editor:this.editor,state:p});return f.clearNodes(),c.steps.length?c:void 0}})]}}),Ie=H.create({name:"tabindex",addProseMirrorPlugins(){return[new r.Plugin({key:new r.PluginKey("tabindex"),props:{attributes:()=>this.editor.isEditable?{tabindex:"0"}:{}}})]}});var Ne=Object.freeze({__proto__:null,ClipboardTextSerializer:U,Commands:Oe,Editable:Ee,FocusEvents:De,Keymap:Re,Tabindex:Ie});class Le{get name(){return this.node.type.name}constructor(e,t,n=!1,r=null){this.currentNode=null,this.actualDepth=null,this.isBlock=n,this.resolvedPos=e,this.editor=t,this.currentNode=r}get node(){return this.currentNode||this.resolvedPos.node()}get element(){return this.editor.view.domAtPos(this.pos).node}get depth(){var e;return null!==(e=this.actualDepth)&&void 0!==e?e:this.resolvedPos.depth}get pos(){return this.resolvedPos.pos}get content(){return this.node.content}set content(e){let t=this.from,n=this.to;if(this.isBlock){if(0===this.content.size)return void console.error(`You can’t set content on a block node. Tried to set content on ${this.name} at ${this.pos}`);t=this.from+1,n=this.to-1}this.editor.commands.insertContentAt({from:t,to:n},e)}get attributes(){return this.node.attrs}get textContent(){return this.node.textContent}get size(){return this.node.nodeSize}get from(){return this.isBlock?this.pos:this.resolvedPos.start(this.resolvedPos.depth)}get range(){return{from:this.from,to:this.to}}get to(){return this.isBlock?this.pos+this.size:this.resolvedPos.end(this.resolvedPos.depth)+(this.node.isText?0:1)}get parent(){if(0===this.depth)return null;const e=this.resolvedPos.start(this.resolvedPos.depth-1),t=this.resolvedPos.doc.resolve(e);return new Le(t,this.editor)}get before(){let e=this.resolvedPos.doc.resolve(this.from-(this.isBlock?1:2));return e.depth!==this.depth&&(e=this.resolvedPos.doc.resolve(this.from-3)),new Le(e,this.editor)}get after(){let e=this.resolvedPos.doc.resolve(this.to+(this.isBlock?2:1));return e.depth!==this.depth&&(e=this.resolvedPos.doc.resolve(this.to+3)),new Le(e,this.editor)}get children(){const e=[];return this.node.content.forEach(((t,n)=>{const r=t.isBlock&&!t.isTextblock,o=this.pos+n+1,i=this.resolvedPos.doc.resolve(o);if(!r&&i.depth<=this.depth)return;const a=new Le(i,this.editor,r,r?t:null);r&&(a.actualDepth=this.depth+1),e.push(new Le(i,this.editor,r,r?t:null))})),e}get firstChild(){return this.children[0]||null}get lastChild(){const e=this.children;return e[e.length-1]||null}closest(e,t={}){let n=null,r=this.parent;for(;r&&!n;){if(r.node.type.name===e)if(Object.keys(t).length>0){const e=r.node.attrs,n=Object.keys(t);for(let r=0;r<n.length;r+=1){const o=n[r];if(e[o]!==t[o])break}}else n=r;r=r.parent}return n}querySelector(e,t={}){return this.querySelectorAll(e,t,!0)[0]||null}querySelectorAll(e,t={},n=!1){let r=[];if(!this.children||0===this.children.length)return r;const o=Object.keys(t);return this.children.forEach((i=>{if(!(n&&r.length>0)){if(i.node.type.name===e){o.every((e=>t[e]===i.node.attrs[e]))&&r.push(i)}n&&r.length>0||(r=r.concat(i.querySelectorAll(e,t,n)))}})),r}setAttribute(e){const t=this.editor.state.selection;this.editor.chain().setTextSelection(this.from).updateAttributes(this.node.type.name,e).setTextSelection(t.from).run()}}function je(e,t,n){const r=document.querySelector(`style[data-tiptap-style${n?`-${n}`:""}]`);if(null!==r)return r;const o=document.createElement("style");return t&&o.setAttribute("nonce",t),o.setAttribute("data-tiptap-style"+(n?`-${n}`:""),""),o.innerHTML=e,document.getElementsByTagName("head")[0].appendChild(o),o}class $e{constructor(e={}){this.type="mark",this.name="mark",this.parent=null,this.child=null,this.config={name:this.name,defaultOptions:{}},this.config={...this.config,...e},this.name=this.config.name,e.defaultOptions&&Object.keys(e.defaultOptions).length>0&&console.warn(`[tiptap warn]: BREAKING CHANGE: "defaultOptions" is deprecated. Please use "addOptions" instead. Found in extension: "${this.name}".`),this.options=this.config.defaultOptions,this.config.addOptions&&(this.options=x(f(this,"addOptions",{name:this.name}))),this.storage=x(f(this,"addStorage",{name:this.name,options:this.options}))||{}}static create(e={}){return new $e(e)}configure(e={}){const t=this.extend({...this.config,addOptions(){var t;return B((null===(t=this.parent)||void 0===t?void 0:t.call(this))||{},e)}});return t.name=this.name,t.parent=this.parent,t}extend(e={}){const t=new $e(e);return t.parent=this,this.child=t,t.name=e.name?e.name:t.parent.name,e.defaultOptions&&Object.keys(e.defaultOptions).length>0&&console.warn(`[tiptap warn]: BREAKING CHANGE: "defaultOptions" is deprecated. Please use "addOptions" instead. Found in extension: "${t.name}".`),t.options=x(f(t,"addOptions",{name:t.name})),t.storage=x(f(t,"addStorage",{name:t.name,options:t.options})),t}static handleExit({editor:e,mark:t}){const{tr:n}=e.state,r=e.state.selection.$from;if(r.pos===r.end()){const o=r.marks();if(!!!o.find((e=>(null==e?void 0:e.type.name)===t.name)))return!1;const i=o.find((e=>(null==e?void 0:e.type.name)===t.name));return i&&n.removeStoredMark(i),n.insertText(" ",r.pos),e.view.dispatch(n),!0}return!1}}class ze{constructor(e={}){this.type="node",this.name="node",this.parent=null,this.child=null,this.config={name:this.name,defaultOptions:{}},this.config={...this.config,...e},this.name=this.config.name,e.defaultOptions&&Object.keys(e.defaultOptions).length>0&&console.warn(`[tiptap warn]: BREAKING CHANGE: "defaultOptions" is deprecated. Please use "addOptions" instead. Found in extension: "${this.name}".`),this.options=this.config.defaultOptions,this.config.addOptions&&(this.options=x(f(this,"addOptions",{name:this.name}))),this.storage=x(f(this,"addStorage",{name:this.name,options:this.options}))||{}}static create(e={}){return new ze(e)}configure(e={}){const t=this.extend({...this.config,addOptions(){var t;return B((null===(t=this.parent)||void 0===t?void 0:t.call(this))||{},e)}});return t.name=this.name,t.parent=this.parent,t}extend(e={}){const t=new ze(e);return t.parent=this,this.child=t,t.name=e.name?e.name:t.parent.name,e.defaultOptions&&Object.keys(e.defaultOptions).length>0&&console.warn(`[tiptap warn]: BREAKING CHANGE: "defaultOptions" is deprecated. Please use "addOptions" instead. Found in extension: "${t.name}".`),t.options=x(f(t,"addOptions",{name:t.name})),t.storage=x(f(t,"addStorage",{name:t.name,options:t.options})),t}}t.CommandManager=d,t.Editor=class extends p{constructor(e={}){super(),this.isFocused=!1,this.extensionStorage={},this.options={element:document.createElement("div"),content:"",injectCSS:!0,injectNonce:void 0,extensions:[],autofocus:!1,editable:!0,editorProps:{},parseOptions:{},coreExtensionOptions:{},enableInputRules:!0,enablePasteRules:!0,enableCoreExtensions:!0,enableContentCheck:!1,onBeforeCreate:()=>null,onCreate:()=>null,onUpdate:()=>null,onSelectionUpdate:()=>null,onTransaction:()=>null,onFocus:()=>null,onBlur:()=>null,onDestroy:()=>null,onContentError:({error:e})=>{throw e}},this.isCapturingTransaction=!1,this.capturedTransaction=null,this.setOptions(e),this.createExtensionManager(),this.createCommandManager(),this.createSchema(),this.on("beforeCreate",this.options.onBeforeCreate),this.emit("beforeCreate",{editor:this}),this.on("contentError",this.options.onContentError),this.createView(),this.injectCSS(),this.on("create",this.options.onCreate),this.on("update",this.options.onUpdate),this.on("selectionUpdate",this.options.onSelectionUpdate),this.on("transaction",this.options.onTransaction),this.on("focus",this.options.onFocus),this.on("blur",this.options.onBlur),this.on("destroy",this.options.onDestroy),window.setTimeout((()=>{this.isDestroyed||(this.commands.focus(this.options.autofocus),this.emit("create",{editor:this}))}),0)}get storage(){return this.extensionStorage}get commands(){return this.commandManager.commands}chain(){return this.commandManager.chain()}can(){return this.commandManager.can()}injectCSS(){this.options.injectCSS&&document&&(this.css=je('.ProseMirror {\n position: relative;\n}\n\n.ProseMirror {\n word-wrap: break-word;\n white-space: pre-wrap;\n white-space: break-spaces;\n -webkit-font-variant-ligatures: none;\n font-variant-ligatures: none;\n font-feature-settings: "liga" 0; /* the above doesn\'t seem to work in Edge */\n}\n\n.ProseMirror [contenteditable="false"] {\n white-space: normal;\n}\n\n.ProseMirror [contenteditable="false"] [contenteditable="true"] {\n white-space: pre-wrap;\n}\n\n.ProseMirror pre {\n white-space: pre-wrap;\n}\n\nimg.ProseMirror-separator {\n display: inline !important;\n border: none !important;\n margin: 0 !important;\n width: 1px !important;\n height: 1px !important;\n}\n\n.ProseMirror-gapcursor {\n display: none;\n pointer-events: none;\n position: absolute;\n margin: 0;\n}\n\n.ProseMirror-gapcursor:after {\n content: "";\n display: block;\n position: absolute;\n top: -2px;\n width: 20px;\n border-top: 1px solid black;\n animation: ProseMirror-cursor-blink 1.1s steps(2, start) infinite;\n}\n\n@keyframes ProseMirror-cursor-blink {\n to {\n visibility: hidden;\n }\n}\n\n.ProseMirror-hideselection *::selection {\n background: transparent;\n}\n\n.ProseMirror-hideselection *::-moz-selection {\n background: transparent;\n}\n\n.ProseMirror-hideselection * {\n caret-color: transparent;\n}\n\n.ProseMirror-focused .ProseMirror-gapcursor {\n display: block;\n}\n\n.tippy-box[data-animation=fade][data-state=hidden] {\n opacity: 0\n}',this.options.injectNonce))}setOptions(e={}){this.options={...this.options,...e},this.view&&this.state&&!this.isDestroyed&&(this.options.editorProps&&this.view.setProps(this.options.editorProps),this.view.updateState(this.state))}setEditable(e,t=!0){this.setOptions({editable:e}),t&&this.emit("update",{editor:this,transaction:this.state.tr})}get isEditable(){return this.options.editable&&this.view&&this.view.editable}get state(){return this.view.state}registerPlugin(e,t){const n=b(t)?t(e,[...this.state.plugins]):[...this.state.plugins,e],r=this.state.reconfigure({plugins:n});this.view.updateState(r)}unregisterPlugin(e){if(this.isDestroyed)return;const t="string"==typeof e?`${e}$`:e.key,n=this.state.reconfigure({plugins:this.state.plugins.filter((e=>!e.key.startsWith(t)))});this.view.updateState(n)}createExtensionManager(){var e,t;const n=[...this.options.enableCoreExtensions?[Ee,U.configure({blockSeparator:null===(t=null===(e=this.options.coreExtensionOptions)||void 0===e?void 0:e.clipboardTextSerializer)||void 0===t?void 0:t.blockSeparator}),Oe,De,Re,Ie]:[],...this.options.extensions].filter((e=>["extension","node","mark"].includes(null==e?void 0:e.type)));this.extensionManager=new z(n,this)}createCommandManager(){this.commandManager=new d({editor:this})}createSchema(){this.schema=this.extensionManager.schema}createView(){let e;try{e=ce(this.options.content,this.schema,this.options.parseOptions,{errorOnInvalidContent:this.options.enableContentCheck})}catch(t){if(!(t instanceof Error&&["[tiptap error]: Invalid JSON content","[tiptap error]: Invalid HTML content"].includes(t.message)))throw t;this.emit("contentError",{editor:this,error:t,disableCollaboration:()=>{this.options.extensions=this.options.extensions.filter((e=>"collaboration"!==e.name)),this.createExtensionManager()}}),e=ce(this.options.content,this.schema,this.options.parseOptions,{errorOnInvalidContent:!1})}const t=Q(e,this.options.autofocus);this.view=new o.EditorView(this.options.element,{...this.options.editorProps,dispatchTransaction:this.dispatchTransaction.bind(this),state:r.EditorState.create({doc:e,selection:t||void 0})});const n=this.state.reconfigure({plugins:this.extensionManager.plugins});this.view.updateState(n),this.createNodeViews(),this.prependClass();this.view.dom.editor=this}createNodeViews(){this.view.setProps({nodeViews:this.extensionManager.nodeViews})}prependClass(){this.view.dom.className=`tiptap ${this.view.dom.className}`}captureTransaction(e){this.isCapturingTransaction=!0,e(),this.isCapturingTransaction=!1;const t=this.capturedTransaction;return this.capturedTransaction=null,t}dispatchTransaction(e){if(this.view.isDestroyed)return;if(this.isCapturingTransaction)return this.capturedTransaction?void e.steps.forEach((e=>{var t;return null===(t=this.capturedTransaction)||void 0===t?void 0:t.step(e)})):void(this.capturedTransaction=e);const t=this.state.apply(e),n=!this.state.selection.eq(t.selection);this.view.updateState(t),this.emit("transaction",{editor:this,transaction:e}),n&&this.emit("selectionUpdate",{editor:this,transaction:e});const r=e.getMeta("focus"),o=e.getMeta("blur");r&&this.emit("focus",{editor:this,event:r.event,transaction:e}),o&&this.emit("blur",{editor:this,event:o.event,transaction:e}),e.docChanged&&!e.getMeta("preventUpdate")&&this.emit("update",{editor:this,transaction:e})}getAttributes(e){return ye(this.state,e)}isActive(e,t){const n="string"==typeof e?e:null,r="string"==typeof e?t:e;return _e(this.state,n,r)}getJSON(){return this.state.doc.toJSON()}getHTML(){return he(this.state.doc.content,this.schema)}getText(e){const{blockSeparator:t="\n\n",textSerializers:n={}}=e||{};return ge(this.state.doc,{blockSeparator:t,textSerializers:{...W(this.schema),...n}})}get isEmpty(){return ke(this.state.doc)}getCharacterCount(){return console.warn('[tiptap warn]: "editor.getCharacterCount()" is deprecated. Please use "editor.storage.characterCount.characters()" instead.'),this.state.doc.content.size-2}destroy(){this.emit("destroy"),this.view&&this.view.destroy(),this.removeAllListeners()}get isDestroyed(){var e;return!(null===(e=this.view)||void 0===e?void 0:e.docView)}$node(e,t){var n;return(null===(n=this.$doc)||void 0===n?void 0:n.querySelector(e,t))||null}$nodes(e,t){var n;return(null===(n=this.$doc)||void 0===n?void 0:n.querySelectorAll(e,t))||null}$pos(e){const t=this.state.doc.resolve(e);return new Le(t,this)}get $doc(){return this.$pos(0)}},t.Extension=H,t.InputRule=O,t.Mark=$e,t.Node=ze,t.NodePos=Le,t.NodeView=class{constructor(e,t,n){this.isDragging=!1,this.component=e,this.editor=t.editor,this.options={stopEvent:null,ignoreMutation:null,...n},this.extension=t.extension,this.node=t.node,this.decorations=t.decorations,this.getPos=t.getPos,this.mount()}mount(){}get dom(){return this.editor.view.dom}get contentDOM(){return null}onDragStart(e){var t,n,o,i,a,s,l;const{view:c}=this.editor,u=e.target,d=3===u.nodeType?null===(t=u.parentElement)||void 0===t?void 0:t.closest("[data-drag-handle]"):u.closest("[data-drag-handle]");if(!this.dom||(null===(n=this.contentDOM)||void 0===n?void 0:n.contains(u))||!d)return;let p=0,f=0;if(this.dom!==d){const t=this.dom.getBoundingClientRect(),n=d.getBoundingClientRect(),r=null!==(o=e.offsetX)&&void 0!==o?o:null===(i=e.nativeEvent)||void 0===i?void 0:i.offsetX,l=null!==(a=e.offsetY)&&void 0!==a?a:null===(s=e.nativeEvent)||void 0===s?void 0:s.offsetY;p=n.x-t.x+r,f=n.y-t.y+l}null===(l=e.dataTransfer)||void 0===l||l.setDragImage(this.dom,p,f);const h=r.NodeSelection.create(c.state.doc,this.getPos()),m=c.state.tr.setSelection(h);c.dispatch(m)}stopEvent(e){var t;if(!this.dom)return!1;if("function"==typeof this.options.stopEvent)return this.options.stopEvent({event:e});const n=e.target;if(!(this.dom.contains(n)&&!(null===(t=this.contentDOM)||void 0===t?void 0:t.contains(n))))return!1;const o=e.type.startsWith("drag"),i="drop"===e.type;if((["INPUT","BUTTON","SELECT","TEXTAREA"].includes(n.tagName)||n.isContentEditable)&&!i&&!o)return!0;const{isEditable:a}=this.editor,{isDragging:s}=this,l=!!this.node.type.spec.draggable,c=r.NodeSelection.isSelectable(this.node),u="copy"===e.type,d="paste"===e.type,p="cut"===e.type,f="mousedown"===e.type;if(!l&&c&&o&&e.preventDefault(),l&&o&&!s)return e.preventDefault(),!1;if(l&&a&&!s&&f){const e=n.closest("[data-drag-handle]");e&&(this.dom===e||this.dom.contains(e))&&(this.isDragging=!0,document.addEventListener("dragend",(()=>{this.isDragging=!1}),{once:!0}),document.addEventListener("drop",(()=>{this.isDragging=!1}),{once:!0}),document.addEventListener("mouseup",(()=>{this.isDragging=!1}),{once:!0}))}return!(s||i||u||d||p||f&&c)}ignoreMutation(e){if(!this.dom||!this.contentDOM)return!0;if("function"==typeof this.options.ignoreMutation)return this.options.ignoreMutation({mutation:e});if(this.node.isLeaf||this.node.isAtom)return!0;if("selection"===e.type)return!1;if(this.dom.contains(e.target)&&"childList"===e.type&&(ee()||"Android"===navigator.platform||/android/i.test(navigator.userAgent))&&this.editor.isFocused){if([...Array.from(e.addedNodes),...Array.from(e.removedNodes)].every((e=>e.isContentEditable)))return!1}return this.contentDOM===e.target&&"attributes"===e.type||!this.contentDOM.contains(e.target)}updateAttributes(e){this.editor.commands.command((({tr:t})=>{const n=this.getPos();return t.setNodeMarkup(n,void 0,{...this.node.attrs,...e}),!0}))}deleteNode(){const e=this.getPos(),t=e+this.node.nodeSize;this.editor.commands.deleteRange({from:e,to:t})}},t.PasteRule=N,t.Tracker=class{constructor(e){this.transaction=e,this.currentStep=this.transaction.steps.length}map(e){let t=!1;return{position:this.transaction.steps.slice(this.currentStep).reduce(((e,n)=>{const r=n.getMap().mapResult(e);return r.deleted&&(t=!0),r.pos}),e),deleted:t}}},t.callOrReturn=x,t.combineTransactionSteps=function(e,t){const n=new s.Transform(e);return t.forEach((e=>{e.steps.forEach((e=>{n.step(e)}))})),n},t.createChainableState=u,t.createDocument=ce,t.createNodeFromContent=re,t.createStyleTag=je,t.defaultBlockAt=de,t.deleteProps=le,t.elementFromString=ne,t.escapeForRegEx=function(e){return e.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&")},t.extensions=Ne,t.findChildren=function(e,t){const n=[];return e.descendants(((e,r)=>{t(e)&&n.push({node:e,pos:r})})),n},t.findChildrenInRange=function(e,t,n){const r=[];return e.nodesBetween(t.from,t.to,((e,t)=>{n(e)&&r.push({node:e,pos:t})})),r},t.findDuplicates=$,t.findParentNode=fe,t.findParentNodeClosestToPos=pe,t.fromString=A,t.generateHTML=function(e,t){const n=me(t);return he(a.Node.fromJSON(n,e).content,n)},t.generateJSON=function(e,t){const n=me(t),r=ne(e);return a.DOMParser.fromSchema(n).parse(r).toJSON()},t.generateText=function(e,t,n){const{blockSeparator:r="\n\n",textSerializers:o={}}=n||{},i=me(t);return ge(a.Node.fromJSON(i,e),{blockSeparator:r,textSerializers:{...W(i),...o}})},t.getAttributes=ye,t.getAttributesFromExtensions=m,t.getChangedRanges=function(e){const{mapping:t,steps:n}=e,r=[];return t.maps.forEach(((e,o)=>{const i=[];if(e.ranges.length)e.forEach(((e,t)=>{i.push({from:e,to:t})}));else{const{from:e,to:t}=n[o];if(void 0===e||void 0===t)return;i.push({from:e,to:t})}i.forEach((({from:e,to:n})=>{const i=t.slice(o).map(e,-1),a=t.slice(o).map(n),s=t.invert().map(i,-1),l=t.invert().map(a);r.push({oldRange:{from:s,to:l},newRange:{from:i,to:a}})}))})),function(e){const t=be(e);return 1===t.length?t:t.filter(((e,n)=>!t.filter(((e,t)=>t!==n)).some((t=>e.oldRange.from>=t.oldRange.from&&e.oldRange.to<=t.oldRange.to&&e.newRange.from>=t.newRange.from&&e.newRange.to<=t.newRange.to))))}(r)},t.getDebugJSON=function e(t,n=0){const r=t.type===t.type.schema.topNodeType?0:1,o=n,i=o+t.nodeSize,a=t.marks.map((e=>{const t={type:e.type.name};return Object.keys(e.attrs).length&&(t.attrs={...e.attrs}),t})),s={...t.attrs},l={type:t.type.name,from:o,to:i};return Object.keys(s).length&&(l.attrs=s),a.length&&(l.marks=a),t.content.childCount&&(l.content=[],t.forEach(((t,o)=>{var i;null===(i=l.content)||void 0===i||i.push(e(t,n+o+r))}))),t.text&&(l.text=t.text),l},t.getExtensionField=f,t.getHTMLFromFragment=he,t.getMarkAttributes=ue,t.getMarkRange=X,t.getMarkType=K,t.getMarksBetween=xe,t.getNodeAtPosition=(e,t,n,r=20)=>{const o=e.doc.resolve(n);let i=r,a=null;for(;i>0&&null===a;){const e=o.node(i);(null==e?void 0:e.type.name)===t?a=e:i-=1}return[a,i]},t.getNodeAttributes=ve,t.getNodeType=g,t.getRenderedAttributes=y,t.getSchema=me,t.getSchemaByResolvedExtensions=k,t.getSchemaTypeByName=C,t.getSchemaTypeNameByName=se,t.getSplittedAttributes=we,t.getText=ge,t.getTextBetween=V,t.getTextContentFromNodes=M,t.getTextSerializersFromSchema=W,t.injectExtensionAttributesToParseRule=_,t.inputRulesPlugin=R,t.isActive=_e,t.isAtEndOfNode=(e,t)=>{const{$from:n,$to:r,$anchor:o}=e.selection;if(t){const n=fe((e=>e.type.name===t))(e.selection);if(!n)return!1;const r=e.doc.resolve(n.pos+1);return o.pos+1===r.end()}return!(r.parentOffset<r.parent.nodeSize-2||n.pos!==r.pos)},t.isAtStartOfNode=e=>{const{$from:t,$to:n}=e.selection;return!(t.parentOffset>0||t.pos!==n.pos)},t.isEmptyObject=w,t.isExtensionRulesEnabled=T,t.isFunction=b,t.isList=Se,t.isMacOS=ie,t.isMarkActive=Ae,t.isNodeActive=ae,t.isNodeEmpty=ke,t.isNodeSelection=function(e){return e instanceof r.NodeSelection},t.isNumber=I,t.isPlainObject=F,t.isRegExp=P,t.isString=function(e){return"string"==typeof e},t.isTextSelection=Z,t.isiOS=ee,t.markInputRule=function(e){return new O({find:e.find,handler:({state:t,range:n,match:r})=>{const o=x(e.getAttributes,void 0,r);if(!1===o||null===o)return null;const{tr:i}=t,a=r[r.length-1],s=r[0];if(a){const r=s.search(/\S/),l=n.from+s.indexOf(a),c=l+a.length;if(xe(n.from,n.to,t.doc).filter((t=>t.mark.type.excluded.find((n=>n===e.type&&n!==t.mark.type)))).filter((e=>e.to>l)).length)return null;c<n.to&&i.delete(c,n.to),l>n.from&&i.delete(n.from+r,l);const u=n.from+r+a.length;i.addMark(n.from+r,u,e.type.create(o||{})),i.removeStoredMark(e.type)}}})},t.markPasteRule=function(e){return new N({find:e.find,handler:({state:t,range:n,match:r,pasteEvent:o})=>{const i=x(e.getAttributes,void 0,r,o);if(!1===i||null===i)return null;const{tr:a}=t,s=r[r.length-1],l=r[0];let c=n.to;if(s){const r=l.search(/\S/),o=n.from+l.indexOf(s),u=o+s.length;if(xe(n.from,n.to,t.doc).filter((t=>t.mark.type.excluded.find((n=>n===e.type&&n!==t.mark.type)))).filter((e=>e.to>o)).length)return null;u<n.to&&a.delete(u,n.to),o>n.from&&a.delete(n.from+r,o),c=n.from+r+s.length,a.addMark(n.from+r,c,e.type.create(i||{})),a.removeStoredMark(e.type)}}})},t.mergeAttributes=v,t.mergeDeep=B,t.minMax=J,t.nodeInputRule=function(e){return new O({find:e.find,handler:({state:t,range:n,match:r})=>{const o=x(e.getAttributes,void 0,r)||{},{tr:i}=t,a=n.from;let s=n.to;const l=e.type.create(o);if(r[1]){let e=a+r[0].lastIndexOf(r[1]);e>s?e=s:s=e+r[1].length;const t=r[0][r[0].length-1];i.insertText(t,a+r[0].length-1),i.replaceWith(e,s,l)}else if(r[0]){const t=e.type.isInline?a:a-1;i.insert(t,e.type.create(o)).delete(i.mapping.map(a),i.mapping.map(s))}i.scrollIntoView()}})},t.nodePasteRule=function(e){return new N({find:e.find,handler({match:t,chain:n,range:r,pasteEvent:o}){const i=x(e.getAttributes,void 0,t,o);if(!1===i||null===i)return null;t.input&&n().deleteRange(r).insertContentAt(r.from,{type:e.type.name,attrs:i})}})},t.objectIncludes=q,t.pasteRulesPlugin=j,t.posToDOMRect=function(e,t,n){const r=e.state.doc.content.size,o=J(t,0,r),i=J(n,0,r),a=e.coordsAtPos(o),s=e.coordsAtPos(i,-1),l=Math.min(a.top,s.top),c=Math.max(a.bottom,s.bottom),u=Math.min(a.left,s.left),d=Math.max(a.right,s.right),p={top:l,bottom:c,left:u,right:d,width:d-u,height:c-l,x:u,y:l};return{...p,toJSON:()=>p}},t.removeDuplicates=be,t.resolveFocusPosition=Q,t.selectionToInsertionEnd=oe,t.splitExtensions=h,t.textInputRule=function(e){return new O({find:e.find,handler:({state:t,range:n,match:r})=>{let o=e.replace,i=n.from;const a=n.to;if(r[1]){const e=r[0].lastIndexOf(r[1]);o+=r[0].slice(e+r[1].length),i+=e;const t=i-a;t>0&&(o=r[0].slice(e-t,e)+o,i=a)}t.tr.insertText(o,i,a)}})},t.textPasteRule=function(e){return new N({find:e.find,handler:({state:t,range:n,match:r})=>{let o=e.replace,i=n.from;const a=n.to;if(r[1]){const e=r[0].lastIndexOf(r[1]);o+=r[0].slice(e+r[1].length),i+=e;const t=i-a;t>0&&(o=r[0].slice(e-t,e)+o,i=a)}t.tr.insertText(o,i,a)}})},t.textblockTypeInputRule=function(e){return new O({find:e.find,handler:({state:t,range:n,match:r})=>{const o=t.doc.resolve(n.from),i=x(e.getAttributes,void 0,r)||{};if(!o.node(-1).canReplaceWith(o.index(-1),o.indexAfter(-1),e.type))return null;t.tr.delete(n.from,n.to).setBlockType(n.from,n.from,e.type,i)}})},t.wrappingInputRule=function(e){return new O({find:e.find,handler:({state:t,range:n,match:r,chain:o})=>{const i=x(e.getAttributes,void 0,r)||{},a=t.tr.delete(n.from,n.to),l=a.doc.resolve(n.from).blockRange(),c=l&&s.findWrapping(l,e.type,i);if(!c)return null;if(a.wrap(l,c),e.keepMarks&&e.editor){const{selection:n,storedMarks:r}=t,{splittableMarks:o}=e.editor.extensionManager,i=r||n.$to.parentOffset&&n.$from.marks();if(i){const e=i.filter((e=>o.includes(e.type.name)));a.ensureMarks(e)}}if(e.keepAttributes){const t="bulletList"===e.type.name||"orderedList"===e.type.name?"listItem":"taskList";o().updateAttributes(t,i).run()}const u=a.doc.resolve(n.from-1).nodeBefore;u&&u.type===e.type&&s.canJoin(a.doc,n.from-1)&&(!e.joinPredicate||e.joinPredicate(r,u))&&a.join(n.from-1)}})}},94144:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(99248);const o=/^\s*>\s$/,i=r.Node.create({name:"blockquote",addOptions(){return{HTMLAttributes:{}}},content:"block+",group:"block",defining:!0,parseHTML(){return[{tag:"blockquote"}]},renderHTML({HTMLAttributes:e}){return["blockquote",r.mergeAttributes(this.options.HTMLAttributes,e),0]},addCommands(){return{setBlockquote:()=>({commands:e})=>e.wrapIn(this.name),toggleBlockquote:()=>({commands:e})=>e.toggleWrap(this.name),unsetBlockquote:()=>({commands:e})=>e.lift(this.name)}},addKeyboardShortcuts(){return{"Mod-Shift-b":()=>this.editor.commands.toggleBlockquote()}},addInputRules(){return[r.wrappingInputRule({find:o,type:this.type})]}});t.Blockquote=i,t.default=i,t.inputRegex=o},27096:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(99248);const o=/(?:^|\s)(\*\*(?!\s+\*\*)((?:[^*]+))\*\*(?!\s+\*\*))$/,i=/(?:^|\s)(\*\*(?!\s+\*\*)((?:[^*]+))\*\*(?!\s+\*\*))/g,a=/(?:^|\s)(__(?!\s+__)((?:[^_]+))__(?!\s+__))$/,s=/(?:^|\s)(__(?!\s+__)((?:[^_]+))__(?!\s+__))/g,l=r.Mark.create({name:"bold",addOptions(){return{HTMLAttributes:{}}},parseHTML(){return[{tag:"strong"},{tag:"b",getAttrs:e=>"normal"!==e.style.fontWeight&&null},{style:"font-weight",getAttrs:e=>/^(bold(er)?|[5-9]\d{2,})$/.test(e)&&null}]},renderHTML({HTMLAttributes:e}){return["strong",r.mergeAttributes(this.options.HTMLAttributes,e),0]},addCommands(){return{setBold:()=>({commands:e})=>e.setMark(this.name),toggleBold:()=>({commands:e})=>e.toggleMark(this.name),unsetBold:()=>({commands:e})=>e.unsetMark(this.name)}},addKeyboardShortcuts(){return{"Mod-b":()=>this.editor.commands.toggleBold(),"Mod-B":()=>this.editor.commands.toggleBold()}},addInputRules(){return[r.markInputRule({find:o,type:this.type}),r.markInputRule({find:a,type:this.type})]},addPasteRules(){return[r.markPasteRule({find:i,type:this.type}),r.markPasteRule({find:s,type:this.type})]}});t.Bold=l,t.default=l,t.starInputRegex=o,t.starPasteRegex=i,t.underscoreInputRegex=a,t.underscorePasteRegex=s},27595:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(99248),o=n(56614),i=n(64504);class a{constructor({editor:e,element:t,view:n,tippyOptions:o={},updateDelay:i=250,shouldShow:a}){this.preventHide=!1,this.shouldShow=({view:e,state:t,from:n,to:o})=>{const{doc:i,selection:a}=t,{empty:s}=a,l=!i.textBetween(n,o).length&&r.isTextSelection(t.selection),c=this.element.contains(document.activeElement);return!(!e.hasFocus()&&!c||s||l||!this.editor.isEditable)},this.mousedownHandler=()=>{this.preventHide=!0},this.dragstartHandler=()=>{this.hide()},this.focusHandler=()=>{setTimeout((()=>this.update(this.editor.view)))},this.blurHandler=({event:e})=>{var t;this.preventHide?this.preventHide=!1:(null==e?void 0:e.relatedTarget)&&(null===(t=this.element.parentNode)||void 0===t?void 0:t.contains(e.relatedTarget))||this.hide()},this.tippyBlurHandler=e=>{this.blurHandler({event:e})},this.handleDebouncedUpdate=(e,t)=>{const n=!(null==t?void 0:t.selection.eq(e.state.selection)),r=!(null==t?void 0:t.doc.eq(e.state.doc));(n||r)&&(this.updateDebounceTimer&&clearTimeout(this.updateDebounceTimer),this.updateDebounceTimer=window.setTimeout((()=>{this.updateHandler(e,n,r,t)}),this.updateDelay))},this.updateHandler=(e,t,n,o)=>{var i,a,s;const{state:l,composing:c}=e,{selection:u}=l;if(c||!t&&!n)return;this.createTooltip();const{ranges:d}=u,p=Math.min(...d.map((e=>e.$from.pos))),f=Math.max(...d.map((e=>e.$to.pos)));(null===(i=this.shouldShow)||void 0===i?void 0:i.call(this,{editor:this.editor,view:e,state:l,oldState:o,from:p,to:f}))?(null===(a=this.tippy)||void 0===a||a.setProps({getReferenceClientRect:(null===(s=this.tippyOptions)||void 0===s?void 0:s.getReferenceClientRect)||(()=>{if(r.isNodeSelection(l.selection)){let t=e.nodeDOM(p);const n=t.dataset.nodeViewWrapper?t:t.querySelector("[data-node-view-wrapper]");if(n&&(t=n.firstChild),t)return t.getBoundingClientRect()}return r.posToDOMRect(e,p,f)})}),this.show()):this.hide()},this.editor=e,this.element=t,this.view=n,this.updateDelay=i,a&&(this.shouldShow=a),this.element.addEventListener("mousedown",this.mousedownHandler,{capture:!0}),this.view.dom.addEventListener("dragstart",this.dragstartHandler),this.editor.on("focus",this.focusHandler),this.editor.on("blur",this.blurHandler),this.tippyOptions=o,this.element.remove(),this.element.style.visibility="visible"}createTooltip(){const{element:e}=this.editor.options,t=!!e.parentElement;!this.tippy&&t&&(this.tippy=i(e,{duration:0,getReferenceClientRect:null,content:this.element,interactive:!0,trigger:"manual",placement:"top",hideOnClick:"toggle",...this.tippyOptions}),this.tippy.popper.firstChild&&this.tippy.popper.firstChild.addEventListener("blur",this.tippyBlurHandler))}update(e,t){const{state:n}=e,r=n.selection.from!==n.selection.to;if(this.updateDelay>0&&r)return void this.handleDebouncedUpdate(e,t);const o=!(null==t?void 0:t.selection.eq(e.state.selection)),i=!(null==t?void 0:t.doc.eq(e.state.doc));this.updateHandler(e,o,i,t)}show(){var e;null===(e=this.tippy)||void 0===e||e.show()}hide(){var e;null===(e=this.tippy)||void 0===e||e.hide()}destroy(){var e,t;(null===(e=this.tippy)||void 0===e?void 0:e.popper.firstChild)&&this.tippy.popper.firstChild.removeEventListener("blur",this.tippyBlurHandler),null===(t=this.tippy)||void 0===t||t.destroy(),this.element.removeEventListener("mousedown",this.mousedownHandler,{capture:!0}),this.view.dom.removeEventListener("dragstart",this.dragstartHandler),this.editor.off("focus",this.focusHandler),this.editor.off("blur",this.blurHandler)}}const s=e=>new o.Plugin({key:"string"==typeof e.pluginKey?new o.PluginKey(e.pluginKey):e.pluginKey,view:t=>new a({view:t,...e})}),l=r.Extension.create({name:"bubbleMenu",addOptions(){return{element:null,tippyOptions:{},pluginKey:"bubbleMenu",updateDelay:void 0,shouldShow:null}},addProseMirrorPlugins(){return this.options.element?[s({pluginKey:this.options.pluginKey,editor:this.editor,element:this.options.element,tippyOptions:this.options.tippyOptions,updateDelay:this.options.updateDelay,shouldShow:this.options.shouldShow})]:[]}});t.BubbleMenu=l,t.BubbleMenuPlugin=s,t.BubbleMenuView=a,t.default=l},87918:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(99248);const o=r.Node.create({name:"listItem",addOptions(){return{HTMLAttributes:{},bulletListTypeName:"bulletList",orderedListTypeName:"orderedList"}},content:"paragraph block*",defining:!0,parseHTML(){return[{tag:"li"}]},renderHTML({HTMLAttributes:e}){return["li",r.mergeAttributes(this.options.HTMLAttributes,e),0]},addKeyboardShortcuts(){return{Enter:()=>this.editor.commands.splitListItem(this.name),Tab:()=>this.editor.commands.sinkListItem(this.name),"Shift-Tab":()=>this.editor.commands.liftListItem(this.name)}}}),i=r.Mark.create({name:"textStyle",addOptions(){return{HTMLAttributes:{}}},parseHTML(){return[{tag:"span",getAttrs:e=>!!e.hasAttribute("style")&&{}}]},renderHTML({HTMLAttributes:e}){return["span",r.mergeAttributes(this.options.HTMLAttributes,e),0]},addCommands(){return{removeEmptyTextStyle:()=>({state:e,commands:t})=>{const n=r.getMarkAttributes(e,this.type);return!!Object.entries(n).some((([,e])=>!!e))||t.unsetMark(this.name)}}}}),a=/^\s*([-+*])\s$/,s=r.Node.create({name:"bulletList",addOptions(){return{itemTypeName:"listItem",HTMLAttributes:{},keepMarks:!1,keepAttributes:!1}},group:"block list",content(){return`${this.options.itemTypeName}+`},parseHTML(){return[{tag:"ul"}]},renderHTML({HTMLAttributes:e}){return["ul",r.mergeAttributes(this.options.HTMLAttributes,e),0]},addCommands(){return{toggleBulletList:()=>({commands:e,chain:t})=>this.options.keepAttributes?t().toggleList(this.name,this.options.itemTypeName,this.options.keepMarks).updateAttributes(o.name,this.editor.getAttributes(i.name)).run():e.toggleList(this.name,this.options.itemTypeName,this.options.keepMarks)}},addKeyboardShortcuts(){return{"Mod-Shift-8":()=>this.editor.commands.toggleBulletList()}},addInputRules(){let e=r.wrappingInputRule({find:a,type:this.type});return(this.options.keepMarks||this.options.keepAttributes)&&(e=r.wrappingInputRule({find:a,type:this.type,keepMarks:this.options.keepMarks,keepAttributes:this.options.keepAttributes,getAttributes:()=>this.editor.getAttributes(i.name),editor:this.editor})),[e]}});t.BulletList=s,t.default=s,t.inputRegex=a},95006:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(99248),o=n(56614);const i=/^```([a-z]+)?[\s\n]$/,a=/^~~~([a-z]+)?[\s\n]$/,s=r.Node.create({name:"codeBlock",addOptions(){return{languageClassPrefix:"language-",exitOnTripleEnter:!0,exitOnArrowDown:!0,HTMLAttributes:{}}},content:"text*",marks:"",group:"block",code:!0,defining:!0,addAttributes(){return{language:{default:null,parseHTML:e=>{var t;const{languageClassPrefix:n}=this.options,r=[...(null===(t=e.firstElementChild)||void 0===t?void 0:t.classList)||[]].filter((e=>e.startsWith(n))).map((e=>e.replace(n,"")))[0];return r||null},rendered:!1}}},parseHTML(){return[{tag:"pre",preserveWhitespace:"full"}]},renderHTML({node:e,HTMLAttributes:t}){return["pre",r.mergeAttributes(this.options.HTMLAttributes,t),["code",{class:e.attrs.language?this.options.languageClassPrefix+e.attrs.language:null},0]]},addCommands(){return{setCodeBlock:e=>({commands:t})=>t.setNode(this.name,e),toggleCodeBlock:e=>({commands:t})=>t.toggleNode(this.name,"paragraph",e)}},addKeyboardShortcuts(){return{"Mod-Alt-c":()=>this.editor.commands.toggleCodeBlock(),Backspace:()=>{const{empty:e,$anchor:t}=this.editor.state.selection,n=1===t.pos;return!(!e||t.parent.type.name!==this.name)&&(!(!n&&t.parent.textContent.length)&&this.editor.commands.clearNodes())},Enter:({editor:e})=>{if(!this.options.exitOnTripleEnter)return!1;const{state:t}=e,{selection:n}=t,{$from:r,empty:o}=n;if(!o||r.parent.type!==this.type)return!1;const i=r.parentOffset===r.parent.nodeSize-2,a=r.parent.textContent.endsWith("\n\n");return!(!i||!a)&&e.chain().command((({tr:e})=>(e.delete(r.pos-2,r.pos),!0))).exitCode().run()},ArrowDown:({editor:e})=>{if(!this.options.exitOnArrowDown)return!1;const{state:t}=e,{selection:n,doc:r}=t,{$from:o,empty:i}=n;if(!i||o.parent.type!==this.type)return!1;if(!(o.parentOffset===o.parent.nodeSize-2))return!1;const a=o.after();if(void 0===a)return!1;return!r.nodeAt(a)&&e.commands.exitCode()}}},addInputRules(){return[r.textblockTypeInputRule({find:i,type:this.type,getAttributes:e=>({language:e[1]})}),r.textblockTypeInputRule({find:a,type:this.type,getAttributes:e=>({language:e[1]})})]},addProseMirrorPlugins(){return[new o.Plugin({key:new o.PluginKey("codeBlockVSCodeHandler"),props:{handlePaste:(e,t)=>{if(!t.clipboardData)return!1;if(this.editor.isActive(this.type.name))return!1;const n=t.clipboardData.getData("text/plain"),r=t.clipboardData.getData("vscode-editor-data"),i=r?JSON.parse(r):void 0,a=null==i?void 0:i.mode;if(!n||!a)return!1;const{tr:s,schema:l}=e.state,c=l.text(n.replace(/\r\n?/g,"\n"));return s.replaceSelectionWith(this.type.create({language:a},c)),s.selection.$from.parent.type!==this.type&&s.setSelection(o.TextSelection.near(s.doc.resolve(Math.max(0,s.selection.from-2)))),s.setMeta("paste",!0),e.dispatch(s),!0}}})]}});t.CodeBlock=s,t.backtickInputRegex=i,t.default=s,t.tildeInputRegex=a},61470:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(99248);const o=/(?:^|\s)(`(?!\s+`)((?:[^`]+))`(?!\s+`))$/,i=/(?:^|\s)(`(?!\s+`)((?:[^`]+))`(?!\s+`))/g,a=r.Mark.create({name:"code",addOptions(){return{HTMLAttributes:{}}},excludes:"_",code:!0,exitable:!0,parseHTML(){return[{tag:"code"}]},renderHTML({HTMLAttributes:e}){return["code",r.mergeAttributes(this.options.HTMLAttributes,e),0]},addCommands(){return{setCode:()=>({commands:e})=>e.setMark(this.name),toggleCode:()=>({commands:e})=>e.toggleMark(this.name),unsetCode:()=>({commands:e})=>e.unsetMark(this.name)}},addKeyboardShortcuts(){return{"Mod-e":()=>this.editor.commands.toggleCode()}},addInputRules(){return[r.markInputRule({find:o,type:this.type})]},addPasteRules(){return[r.markPasteRule({find:i,type:this.type})]}});t.Code=a,t.default=a,t.inputRegex=o,t.pasteRegex=i},70034:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n(43420);const r=n(99248).Extension.create({name:"color",addOptions(){return{types:["textStyle"]}},addGlobalAttributes(){return[{types:this.options.types,attributes:{color:{default:null,parseHTML:e=>{var t;return null===(t=e.style.color)||void 0===t?void 0:t.replace(/['"]+/g,"")},renderHTML:e=>e.color?{style:`color: ${e.color}`}:{}}}}]},addCommands(){return{setColor:e=>({chain:t})=>t().setMark("textStyle",{color:e}).run(),unsetColor:()=>({chain:e})=>e().setMark("textStyle",{color:null}).removeEmptyTextStyle().run()}}});t.Color=r,t.default=r},62430:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(99248).Node.create({name:"doc",topNode:!0,content:"block+"});t.Document=r,t.default=r},60400:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(99248),o=n(78938);const i=r.Extension.create({name:"dropCursor",addOptions(){return{color:"currentColor",width:1,class:void 0}},addProseMirrorPlugins(){return[o.dropCursor(this.options)]}});t.Dropcursor=i,t.default=i},20535:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(99248),o=n(56614),i=n(64504);class a{constructor({editor:e,element:t,view:n,tippyOptions:r={},shouldShow:o}){this.preventHide=!1,this.shouldShow=({view:e,state:t})=>{const{selection:n}=t,{$anchor:r,empty:o}=n,i=1===r.depth,a=r.parent.isTextblock&&!r.parent.type.spec.code&&!r.parent.textContent;return!!(e.hasFocus()&&o&&i&&a&&this.editor.isEditable)},this.mousedownHandler=()=>{this.preventHide=!0},this.focusHandler=()=>{setTimeout((()=>this.update(this.editor.view)))},this.blurHandler=({event:e})=>{var t;this.preventHide?this.preventHide=!1:(null==e?void 0:e.relatedTarget)&&(null===(t=this.element.parentNode)||void 0===t?void 0:t.contains(e.relatedTarget))||this.hide()},this.tippyBlurHandler=e=>{this.blurHandler({event:e})},this.editor=e,this.element=t,this.view=n,o&&(this.shouldShow=o),this.element.addEventListener("mousedown",this.mousedownHandler,{capture:!0}),this.editor.on("focus",this.focusHandler),this.editor.on("blur",this.blurHandler),this.tippyOptions=r,this.element.remove(),this.element.style.visibility="visible"}createTooltip(){const{element:e}=this.editor.options,t=!!e.parentElement;!this.tippy&&t&&(this.tippy=i(e,{duration:0,getReferenceClientRect:null,content:this.element,interactive:!0,trigger:"manual",placement:"right",hideOnClick:"toggle",...this.tippyOptions}),this.tippy.popper.firstChild&&this.tippy.popper.firstChild.addEventListener("blur",this.tippyBlurHandler))}update(e,t){var n,o,i;const{state:a}=e,{doc:s,selection:l}=a,{from:c,to:u}=l;if(t&&t.doc.eq(s)&&t.selection.eq(l))return;this.createTooltip();(null===(n=this.shouldShow)||void 0===n?void 0:n.call(this,{editor:this.editor,view:e,state:a,oldState:t}))?(null===(o=this.tippy)||void 0===o||o.setProps({getReferenceClientRect:(null===(i=this.tippyOptions)||void 0===i?void 0:i.getReferenceClientRect)||(()=>r.posToDOMRect(e,c,u))}),this.show()):this.hide()}show(){var e;null===(e=this.tippy)||void 0===e||e.show()}hide(){var e;null===(e=this.tippy)||void 0===e||e.hide()}destroy(){var e,t;(null===(e=this.tippy)||void 0===e?void 0:e.popper.firstChild)&&this.tippy.popper.firstChild.removeEventListener("blur",this.tippyBlurHandler),null===(t=this.tippy)||void 0===t||t.destroy(),this.element.removeEventListener("mousedown",this.mousedownHandler,{capture:!0}),this.editor.off("focus",this.focusHandler),this.editor.off("blur",this.blurHandler)}}const s=e=>new o.Plugin({key:"string"==typeof e.pluginKey?new o.PluginKey(e.pluginKey):e.pluginKey,view:t=>new a({view:t,...e})}),l=r.Extension.create({name:"floatingMenu",addOptions(){return{element:null,tippyOptions:{},pluginKey:"floatingMenu",shouldShow:null}},addProseMirrorPlugins(){return this.options.element?[s({pluginKey:this.options.pluginKey,editor:this.editor,element:this.options.element,tippyOptions:this.options.tippyOptions,shouldShow:this.options.shouldShow})]:[]}});t.FloatingMenu=l,t.FloatingMenuPlugin=s,t.FloatingMenuView=a,t.default=l},12415:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(99248),o=n(82769);const i=r.Extension.create({name:"gapCursor",addProseMirrorPlugins(){return[o.gapCursor()]},extendNodeSchema(e){var t;const n={name:e.name,options:e.options,storage:e.storage};return{allowGapCursor:null!==(t=r.callOrReturn(r.getExtensionField(e,"allowGapCursor",n)))&&void 0!==t?t:null}}});t.Gapcursor=i,t.default=i},29656:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(99248);const o=r.Node.create({name:"hardBreak",addOptions(){return{keepMarks:!0,HTMLAttributes:{}}},inline:!0,group:"inline",selectable:!1,parseHTML(){return[{tag:"br"}]},renderHTML({HTMLAttributes:e}){return["br",r.mergeAttributes(this.options.HTMLAttributes,e)]},renderText(){return"\n"},addCommands(){return{setHardBreak:()=>({commands:e,chain:t,state:n,editor:r})=>e.first([()=>e.exitCode(),()=>e.command((()=>{const{selection:e,storedMarks:o}=n;if(e.$from.parent.type.spec.isolating)return!1;const{keepMarks:i}=this.options,{splittableMarks:a}=r.extensionManager,s=o||e.$to.parentOffset&&e.$from.marks();return t().insertContent({type:this.name}).command((({tr:e,dispatch:t})=>{if(t&&s&&i){const t=s.filter((e=>a.includes(e.type.name)));e.ensureMarks(t)}return!0})).run()}))])}},addKeyboardShortcuts(){return{"Mod-Enter":()=>this.editor.commands.setHardBreak(),"Shift-Enter":()=>this.editor.commands.setHardBreak()}}});t.HardBreak=o,t.default=o},74951:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(99248);const o=r.Node.create({name:"heading",addOptions(){return{levels:[1,2,3,4,5,6],HTMLAttributes:{}}},content:"inline*",group:"block",defining:!0,addAttributes(){return{level:{default:1,rendered:!1}}},parseHTML(){return this.options.levels.map((e=>({tag:`h${e}`,attrs:{level:e}})))},renderHTML({node:e,HTMLAttributes:t}){return[`h${this.options.levels.includes(e.attrs.level)?e.attrs.level:this.options.levels[0]}`,r.mergeAttributes(this.options.HTMLAttributes,t),0]},addCommands(){return{setHeading:e=>({commands:t})=>!!this.options.levels.includes(e.level)&&t.setNode(this.name,e),toggleHeading:e=>({commands:t})=>!!this.options.levels.includes(e.level)&&t.toggleNode(this.name,"paragraph",e)}},addKeyboardShortcuts(){return this.options.levels.reduce(((e,t)=>({...e,[`Mod-Alt-${t}`]:()=>this.editor.commands.toggleHeading({level:t})})),{})},addInputRules(){return this.options.levels.map((e=>r.textblockTypeInputRule({find:new RegExp(`^(#{1,${e}})\\s$`),type:this.type,getAttributes:{level:e}})))}});t.Heading=o,t.default=o},35857:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(99248);const o=/(?:^|\s)(==(?!\s+==)((?:[^=]+))==(?!\s+==))$/,i=/(?:^|\s)(==(?!\s+==)((?:[^=]+))==(?!\s+==))/g,a=r.Mark.create({name:"highlight",addOptions(){return{multicolor:!1,HTMLAttributes:{}}},addAttributes(){return this.options.multicolor?{color:{default:null,parseHTML:e=>e.getAttribute("data-color")||e.style.backgroundColor,renderHTML:e=>e.color?{"data-color":e.color,style:`background-color: ${e.color}; color: inherit`}:{}}}:{}},parseHTML(){return[{tag:"mark"}]},renderHTML({HTMLAttributes:e}){return["mark",r.mergeAttributes(this.options.HTMLAttributes,e),0]},addCommands(){return{setHighlight:e=>({commands:t})=>t.setMark(this.name,e),toggleHighlight:e=>({commands:t})=>t.toggleMark(this.name,e),unsetHighlight:()=>({commands:e})=>e.unsetMark(this.name)}},addKeyboardShortcuts(){return{"Mod-Shift-h":()=>this.editor.commands.toggleHighlight()}},addInputRules(){return[r.markInputRule({find:o,type:this.type})]},addPasteRules(){return[r.markPasteRule({find:i,type:this.type})]}});t.Highlight=a,t.default=a,t.inputRegex=o,t.pasteRegex=i},7689:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(99248),o=n(87223);const i=r.Extension.create({name:"history",addOptions(){return{depth:100,newGroupDelay:500}},addCommands(){return{undo:()=>({state:e,dispatch:t})=>o.undo(e,t),redo:()=>({state:e,dispatch:t})=>o.redo(e,t)}},addProseMirrorPlugins(){return[o.history(this.options)]},addKeyboardShortcuts(){return{"Mod-z":()=>this.editor.commands.undo(),"Shift-Mod-z":()=>this.editor.commands.redo(),"Mod-y":()=>this.editor.commands.redo(),"Mod-Ñ":()=>this.editor.commands.undo(),"Shift-Mod-Ñ":()=>this.editor.commands.redo()}}});t.History=i,t.default=i},33332:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(99248),o=n(56614);const i=r.Node.create({name:"horizontalRule",addOptions(){return{HTMLAttributes:{}}},group:"block",parseHTML(){return[{tag:"hr"}]},renderHTML({HTMLAttributes:e}){return["hr",r.mergeAttributes(this.options.HTMLAttributes,e)]},addCommands(){return{setHorizontalRule:()=>({chain:e,state:t})=>{const{selection:n}=t,{$from:i,$to:a}=n,s=e();return 0===i.parentOffset?s.insertContentAt({from:Math.max(i.pos-1,0),to:a.pos},{type:this.name}):r.isNodeSelection(n)?s.insertContentAt(a.pos,{type:this.name}):s.insertContent({type:this.name}),s.command((({tr:e,dispatch:t})=>{var n;if(t){const{$to:t}=e.selection,r=t.end();if(t.nodeAfter)t.nodeAfter.isTextblock?e.setSelection(o.TextSelection.create(e.doc,t.pos+1)):t.nodeAfter.isBlock?e.setSelection(o.NodeSelection.create(e.doc,t.pos)):e.setSelection(o.TextSelection.create(e.doc,t.pos));else{const i=null===(n=t.parent.type.contentMatch.defaultType)||void 0===n?void 0:n.create();i&&(e.insert(r,i),e.setSelection(o.TextSelection.create(e.doc,r+1)))}e.scrollIntoView()}return!0})).run()}}},addInputRules(){return[r.nodeInputRule({find:/^(?:---|—-|___\s|\*\*\*\s)$/,type:this.type})]}});t.HorizontalRule=i,t.default=i},39007:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(99248);const o=/(?:^|\s)(\*(?!\s+\*)((?:[^*]+))\*(?!\s+\*))$/,i=/(?:^|\s)(\*(?!\s+\*)((?:[^*]+))\*(?!\s+\*))/g,a=/(?:^|\s)(_(?!\s+_)((?:[^_]+))_(?!\s+_))$/,s=/(?:^|\s)(_(?!\s+_)((?:[^_]+))_(?!\s+_))/g,l=r.Mark.create({name:"italic",addOptions(){return{HTMLAttributes:{}}},parseHTML(){return[{tag:"em"},{tag:"i",getAttrs:e=>"normal"!==e.style.fontStyle&&null},{style:"font-style=italic"}]},renderHTML({HTMLAttributes:e}){return["em",r.mergeAttributes(this.options.HTMLAttributes,e),0]},addCommands(){return{setItalic:()=>({commands:e})=>e.setMark(this.name),toggleItalic:()=>({commands:e})=>e.toggleMark(this.name),unsetItalic:()=>({commands:e})=>e.unsetMark(this.name)}},addKeyboardShortcuts(){return{"Mod-i":()=>this.editor.commands.toggleItalic(),"Mod-I":()=>this.editor.commands.toggleItalic()}},addInputRules(){return[r.markInputRule({find:o,type:this.type}),r.markInputRule({find:a,type:this.type})]},addPasteRules(){return[r.markPasteRule({find:i,type:this.type}),r.markPasteRule({find:s,type:this.type})]}});t.Italic=l,t.default=l,t.starInputRegex=o,t.starPasteRegex=i,t.underscoreInputRegex=a,t.underscorePasteRegex=s},81531:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(99248),o=n(39763),i=n(56614);const a=/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g,s=/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i;function l(e){return!e||e.replace(a,"").match(s)}const c=r.Mark.create({name:"link",priority:1e3,keepOnSplit:!1,exitable:!0,onCreate(){this.options.protocols.forEach((e=>{"string"!=typeof e?o.registerCustomProtocol(e.scheme,e.optionalSlashes):o.registerCustomProtocol(e)}))},onDestroy(){o.reset()},inclusive(){return this.options.autolink},addOptions(){return{openOnClick:!0,linkOnPaste:!0,autolink:!0,protocols:[],defaultProtocol:"http",HTMLAttributes:{target:"_blank",rel:"noopener noreferrer nofollow",class:null},validate:e=>!!e}},addAttributes(){return{href:{default:null},target:{default:this.options.HTMLAttributes.target},rel:{default:this.options.HTMLAttributes.rel},class:{default:this.options.HTMLAttributes.class}}},parseHTML(){return[{tag:"a[href]",getAttrs:e=>{const t=e.getAttribute("href");return!(!t||!l(t))&&{href:t}}}]},renderHTML({HTMLAttributes:e}){return l(e.href)?["a",r.mergeAttributes(this.options.HTMLAttributes,e),0]:["a",r.mergeAttributes(this.options.HTMLAttributes,{...e,href:""}),0]},addCommands(){return{setLink:e=>({chain:t})=>t().setMark(this.name,e).setMeta("preventAutolink",!0).run(),toggleLink:e=>({chain:t})=>t().toggleMark(this.name,e,{extendEmptyMarkRange:!0}).setMeta("preventAutolink",!0).run(),unsetLink:()=>({chain:e})=>e().unsetMark(this.name,{extendEmptyMarkRange:!0}).setMeta("preventAutolink",!0).run()}},addPasteRules(){return[r.markPasteRule({find:e=>{const t=[];if(e){const{validate:n}=this.options,r=o.find(e).filter((e=>e.isLink&&n(e.value)));r.length&&r.forEach((e=>t.push({text:e.value,data:{href:e.href},index:e.start})))}return t},type:this.type,getAttributes:e=>{var t;return{href:null===(t=e.data)||void 0===t?void 0:t.href}}})]},addProseMirrorPlugins(){const e=[];var t;return this.options.autolink&&e.push((t={type:this.type,defaultProtocol:this.options.defaultProtocol,validate:this.options.validate},new i.Plugin({key:new i.PluginKey("autolink"),appendTransaction:(e,n,i)=>{const a=e.some((e=>e.docChanged))&&!n.doc.eq(i.doc),s=e.some((e=>e.getMeta("preventAutolink")));if(!a||s)return;const{tr:l}=i,c=r.combineTransactionSteps(n.doc,[...e]);return r.getChangedRanges(c).forEach((({newRange:e})=>{const n=r.findChildrenInRange(i.doc,e,(e=>e.isTextblock));let a,s;if(n.length>1?(a=n[0],s=i.doc.textBetween(a.pos,a.pos+a.node.nodeSize,void 0," ")):n.length&&i.doc.textBetween(e.from,e.to," "," ").endsWith(" ")&&(a=n[0],s=i.doc.textBetween(a.pos,e.to,void 0," ")),a&&s){const e=s.split(" ").filter((e=>""!==e));if(e.length<=0)return!1;const n=e[e.length-1],u=a.pos+s.lastIndexOf(n);if(!n)return!1;const d=o.tokenize(n).map((e=>e.toObject(t.defaultProtocol)));if(!(1===(c=d).length?c[0].isLink:3===c.length&&c[1].isLink&&["()","[]"].includes(c[0].value+c[2].value)))return!1;d.filter((e=>e.isLink)).map((e=>({...e,from:u+e.start+1,to:u+e.end+1}))).filter((e=>!i.schema.marks.code||!i.doc.rangeHasMark(e.from,e.to,i.schema.marks.code))).filter((e=>t.validate(e.value))).forEach((e=>{r.getMarksBetween(e.from,e.to,i.doc).some((e=>e.mark.type===t.type))||l.addMark(e.from,e.to,t.type.create({href:e.href}))}))}var c})),l.steps.length?l:void 0}}))),!0===this.options.openOnClick&&e.push(function(e){return new i.Plugin({key:new i.PluginKey("handleClickLink"),props:{handleClick:(t,n,o)=>{var i,a;if(0!==o.button)return!1;let s=o.target;const l=[];for(;"DIV"!==s.nodeName;)l.push(s),s=s.parentNode;if(!l.find((e=>"A"===e.nodeName)))return!1;const c=r.getAttributes(t.state,e.type.name),u=o.target,d=null!==(i=null==u?void 0:u.href)&&void 0!==i?i:c.href,p=null!==(a=null==u?void 0:u.target)&&void 0!==a?a:c.target;return!(!u||!d||(window.open(d,p),0))}}})}({type:this.type})),this.options.linkOnPaste&&e.push(function(e){return new i.Plugin({key:new i.PluginKey("handlePasteLink"),props:{handlePaste:(t,n,r)=>{const{state:i}=t,{selection:a}=i,{empty:s}=a;if(s)return!1;let l="";r.content.forEach((e=>{l+=e.textContent}));const c=o.find(l,{defaultProtocol:e.defaultProtocol}).find((e=>e.isLink&&e.value===l));return!(!l||!c||(e.editor.commands.setMark(e.type,{href:c.href}),0))}}})}({editor:this.editor,defaultProtocol:this.options.defaultProtocol,type:this.type})),e}});t.Link=c,t.default=c,t.pasteRegex=/https?:\/\/(?:www\.)?[-a-zA-Z0-9@:%._+~#=]{1,256}\.[a-zA-Z]{2,}\b(?:[-a-zA-Z0-9@:%._+~#=?!&/]*)(?:[-a-zA-Z0-9@:%._+~#=?!&/]*)/gi},14757:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(99248);const o=r.Node.create({name:"listItem",addOptions(){return{HTMLAttributes:{},bulletListTypeName:"bulletList",orderedListTypeName:"orderedList"}},content:"paragraph block*",defining:!0,parseHTML(){return[{tag:"li"}]},renderHTML({HTMLAttributes:e}){return["li",r.mergeAttributes(this.options.HTMLAttributes,e),0]},addKeyboardShortcuts(){return{Enter:()=>this.editor.commands.splitListItem(this.name),Tab:()=>this.editor.commands.sinkListItem(this.name),"Shift-Tab":()=>this.editor.commands.liftListItem(this.name)}}});t.ListItem=o,t.default=o},45823:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(99248);const o=r.Node.create({name:"listItem",addOptions(){return{HTMLAttributes:{},bulletListTypeName:"bulletList",orderedListTypeName:"orderedList"}},content:"paragraph block*",defining:!0,parseHTML(){return[{tag:"li"}]},renderHTML({HTMLAttributes:e}){return["li",r.mergeAttributes(this.options.HTMLAttributes,e),0]},addKeyboardShortcuts(){return{Enter:()=>this.editor.commands.splitListItem(this.name),Tab:()=>this.editor.commands.sinkListItem(this.name),"Shift-Tab":()=>this.editor.commands.liftListItem(this.name)}}}),i=r.Mark.create({name:"textStyle",addOptions(){return{HTMLAttributes:{}}},parseHTML(){return[{tag:"span",getAttrs:e=>!!e.hasAttribute("style")&&{}}]},renderHTML({HTMLAttributes:e}){return["span",r.mergeAttributes(this.options.HTMLAttributes,e),0]},addCommands(){return{removeEmptyTextStyle:()=>({state:e,commands:t})=>{const n=r.getMarkAttributes(e,this.type);return!!Object.entries(n).some((([,e])=>!!e))||t.unsetMark(this.name)}}}}),a=/^(\d+)\.\s$/,s=r.Node.create({name:"orderedList",addOptions(){return{itemTypeName:"listItem",HTMLAttributes:{},keepMarks:!1,keepAttributes:!1}},group:"block list",content(){return`${this.options.itemTypeName}+`},addAttributes(){return{start:{default:1,parseHTML:e=>e.hasAttribute("start")?parseInt(e.getAttribute("start")||"",10):1}}},parseHTML(){return[{tag:"ol"}]},renderHTML({HTMLAttributes:e}){const{start:t,...n}=e;return 1===t?["ol",r.mergeAttributes(this.options.HTMLAttributes,n),0]:["ol",r.mergeAttributes(this.options.HTMLAttributes,e),0]},addCommands(){return{toggleOrderedList:()=>({commands:e,chain:t})=>this.options.keepAttributes?t().toggleList(this.name,this.options.itemTypeName,this.options.keepMarks).updateAttributes(o.name,this.editor.getAttributes(i.name)).run():e.toggleList(this.name,this.options.itemTypeName,this.options.keepMarks)}},addKeyboardShortcuts(){return{"Mod-Shift-7":()=>this.editor.commands.toggleOrderedList()}},addInputRules(){let e=r.wrappingInputRule({find:a,type:this.type,getAttributes:e=>({start:+e[1]}),joinPredicate:(e,t)=>t.childCount+t.attrs.start===+e[1]});return(this.options.keepMarks||this.options.keepAttributes)&&(e=r.wrappingInputRule({find:a,type:this.type,keepMarks:this.options.keepMarks,keepAttributes:this.options.keepAttributes,getAttributes:e=>({start:+e[1],...this.editor.getAttributes(i.name)}),joinPredicate:(e,t)=>t.childCount+t.attrs.start===+e[1],editor:this.editor})),[e]}});t.OrderedList=s,t.default=s,t.inputRegex=a},5067:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(99248);const o=r.Node.create({name:"paragraph",priority:1e3,addOptions(){return{HTMLAttributes:{}}},group:"block",content:"inline*",parseHTML(){return[{tag:"p"}]},renderHTML({HTMLAttributes:e}){return["p",r.mergeAttributes(this.options.HTMLAttributes,e),0]},addCommands(){return{setParagraph:()=>({commands:e})=>e.setNode(this.name)}},addKeyboardShortcuts(){return{"Mod-Alt-0":()=>this.editor.commands.setParagraph()}}});t.Paragraph=o,t.default=o},38393:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(99248);const o=/(?:^|\s)(~~(?!\s+~~)((?:[^~]+))~~(?!\s+~~))$/,i=/(?:^|\s)(~~(?!\s+~~)((?:[^~]+))~~(?!\s+~~))/g,a=r.Mark.create({name:"strike",addOptions(){return{HTMLAttributes:{}}},parseHTML(){return[{tag:"s"},{tag:"del"},{tag:"strike"},{style:"text-decoration",consuming:!1,getAttrs:e=>!!e.includes("line-through")&&{}}]},renderHTML({HTMLAttributes:e}){return["s",r.mergeAttributes(this.options.HTMLAttributes,e),0]},addCommands(){return{setStrike:()=>({commands:e})=>e.setMark(this.name),toggleStrike:()=>({commands:e})=>e.toggleMark(this.name),unsetStrike:()=>({commands:e})=>e.unsetMark(this.name)}},addKeyboardShortcuts(){return{"Mod-Shift-s":()=>this.editor.commands.toggleStrike()}},addInputRules(){return[r.markInputRule({find:o,type:this.type})]},addPasteRules(){return[r.markPasteRule({find:i,type:this.type})]}});t.Strike=a,t.default=a,t.inputRegex=o,t.pasteRegex=i},52516:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(99248).Extension.create({name:"textAlign",addOptions(){return{types:[],alignments:["left","center","right","justify"],defaultAlignment:"left"}},addGlobalAttributes(){return[{types:this.options.types,attributes:{textAlign:{default:this.options.defaultAlignment,parseHTML:e=>{const t=e.style.textAlign||this.options.defaultAlignment;return this.options.alignments.includes(t)?t:this.options.defaultAlignment},renderHTML:e=>e.textAlign===this.options.defaultAlignment?{}:{style:`text-align: ${e.textAlign}`}}}}]},addCommands(){return{setTextAlign:e=>({commands:t})=>!!this.options.alignments.includes(e)&&this.options.types.map((n=>t.updateAttributes(n,{textAlign:e}))).every((e=>e)),unsetTextAlign:()=>({commands:e})=>this.options.types.map((t=>e.resetAttributes(t,"textAlign"))).every((e=>e))}},addKeyboardShortcuts(){return{"Mod-Shift-l":()=>this.editor.commands.setTextAlign("left"),"Mod-Shift-e":()=>this.editor.commands.setTextAlign("center"),"Mod-Shift-r":()=>this.editor.commands.setTextAlign("right"),"Mod-Shift-j":()=>this.editor.commands.setTextAlign("justify")}}});t.TextAlign=r,t.default=r},43420:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(99248);const o=r.Mark.create({name:"textStyle",addOptions(){return{HTMLAttributes:{}}},parseHTML(){return[{tag:"span",getAttrs:e=>!!e.hasAttribute("style")&&{}}]},renderHTML({HTMLAttributes:e}){return["span",r.mergeAttributes(this.options.HTMLAttributes,e),0]},addCommands(){return{removeEmptyTextStyle:()=>({state:e,commands:t})=>{const n=r.getMarkAttributes(e,this.type);return!!Object.entries(n).some((([,e])=>!!e))||t.unsetMark(this.name)}}}});t.TextStyle=o,t.default=o},50976:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(99248).Node.create({name:"text",group:"inline"});t.Text=r,t.default=r},19721:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(99248);const o=r.Mark.create({name:"underline",addOptions(){return{HTMLAttributes:{}}},parseHTML(){return[{tag:"u"},{style:"text-decoration",consuming:!1,getAttrs:e=>!!e.includes("underline")&&{}}]},renderHTML({HTMLAttributes:e}){return["u",r.mergeAttributes(this.options.HTMLAttributes,e),0]},addCommands(){return{setUnderline:()=>({commands:e})=>e.setMark(this.name),toggleUnderline:()=>({commands:e})=>e.toggleMark(this.name),unsetUnderline:()=>({commands:e})=>e.unsetMark(this.name)}},addKeyboardShortcuts(){return{"Mod-u":()=>this.editor.commands.toggleUnderline(),"Mod-U":()=>this.editor.commands.toggleUnderline()}}});t.Underline=o,t.default=o},16675:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(57449);r=o,Object.keys(r).filter((e=>"default"!==e&&"__esModule"!==e)).forEach((e=>{t.hasOwnProperty(e)||Object.defineProperty(t,e,{enumerable:!0,configurable:!0,get:()=>r[e]})}))},78938:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(44788);r=o,Object.keys(r).filter((e=>"default"!==e&&"__esModule"!==e)).forEach((e=>{t.hasOwnProperty(e)||Object.defineProperty(t,e,{enumerable:!0,configurable:!0,get:()=>r[e]})}))},82769:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(97459);r=o,Object.keys(r).filter((e=>"default"!==e&&"__esModule"!==e)).forEach((e=>{t.hasOwnProperty(e)||Object.defineProperty(t,e,{enumerable:!0,configurable:!0,get:()=>r[e]})}))},87223:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(71669);r=o,Object.keys(r).filter((e=>"default"!==e&&"__esModule"!==e)).forEach((e=>{t.hasOwnProperty(e)||Object.defineProperty(t,e,{enumerable:!0,configurable:!0,get:()=>r[e]})}))},88470:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(88136);r=o,Object.keys(r).filter((e=>"default"!==e&&"__esModule"!==e)).forEach((e=>{t.hasOwnProperty(e)||Object.defineProperty(t,e,{enumerable:!0,configurable:!0,get:()=>r[e]})}))},61106:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(77712);r=o,Object.keys(r).filter((e=>"default"!==e&&"__esModule"!==e)).forEach((e=>{t.hasOwnProperty(e)||Object.defineProperty(t,e,{enumerable:!0,configurable:!0,get:()=>r[e]})}))},13637:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(34243);r=o,Object.keys(r).filter((e=>"default"!==e&&"__esModule"!==e)).forEach((e=>{t.hasOwnProperty(e)||Object.defineProperty(t,e,{enumerable:!0,configurable:!0,get:()=>r[e]})}))},56614:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(37820);r=o,Object.keys(r).filter((e=>"default"!==e&&"__esModule"!==e)).forEach((e=>{t.hasOwnProperty(e)||Object.defineProperty(t,e,{enumerable:!0,configurable:!0,get:()=>r[e]})}))},54175:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(36553);r=o,Object.keys(r).filter((e=>"default"!==e&&"__esModule"!==e)).forEach((e=>{t.hasOwnProperty(e)||Object.defineProperty(t,e,{enumerable:!0,configurable:!0,get:()=>r[e]})}))},37392:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(49454);r=o,Object.keys(r).filter((e=>"default"!==e&&"__esModule"!==e)).forEach((e=>{t.hasOwnProperty(e)||Object.defineProperty(t,e,{enumerable:!0,configurable:!0,get:()=>r[e]})}))},83574:function(e,t,n){"use strict";var r=n(27595),o=n(96540),i=n(40961),a=n(99248),s=n(20535);const l=(...e)=>t=>{e.forEach((e=>{"function"==typeof e?e(t):e&&(e.current=t)}))},c=({renderers:e})=>o.createElement(o.Fragment,null,Object.entries(e).map((([e,t])=>i.createPortal(t.reactElement,t.element,e))));class u extends o.Component{constructor(e){super(e),this.editorContentRef=o.createRef(),this.initialized=!1,this.state={renderers:{}}}componentDidMount(){this.init()}componentDidUpdate(){this.init()}init(){const{editor:e}=this.props;if(e&&!e.isDestroyed&&e.options.element){if(e.contentComponent)return;const t=this.editorContentRef.current;t.append(...e.options.element.childNodes),e.setOptions({element:t}),e.contentComponent=this,e.createNodeViews(),this.initialized=!0}}maybeFlushSync(e){this.initialized?i.flushSync(e):e()}setRenderer(e,t){this.maybeFlushSync((()=>{this.setState((({renderers:n})=>({renderers:{...n,[e]:t}})))}))}removeRenderer(e){this.maybeFlushSync((()=>{this.setState((({renderers:t})=>{const n={...t};return delete n[e],{renderers:n}}))}))}componentWillUnmount(){const{editor:e}=this.props;if(!e)return;if(this.initialized=!1,e.isDestroyed||e.view.setProps({nodeViews:{}}),e.contentComponent=null,!e.options.element.firstChild)return;const t=document.createElement("div");t.append(...e.options.element.childNodes),e.setOptions({element:t})}render(){const{editor:e,innerRef:t,...n}=this.props;return o.createElement(o.Fragment,null,o.createElement("div",{ref:l(t,this.editorContentRef),...n}),o.createElement(c,{renderers:this.state.renderers}))}}const d=o.forwardRef(((e,t)=>{const n=o.useMemo((()=>Math.floor(4294967295*Math.random()).toString()),[e.editor]);return o.createElement(u,{key:n,innerRef:t,...e})})),p=o.memo(d);class f extends a.Editor{constructor(){super(...arguments),this.contentComponent=null}}var h,m={exports:{}},g={},v={exports:{}},y={};var b,x;function w(){return b||(b=1,v.exports=function(){if(h)return y;h=1;var e=o,t="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},n=e.useState,r=e.useEffect,i=e.useLayoutEffect,a=e.useDebugValue;function s(e){var n=e.getSnapshot;e=e.value;try{var r=n();return!t(e,r)}catch(e){return!0}}var l="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?function(e,t){return t()}:function(e,t){var o=t(),l=n({inst:{value:o,getSnapshot:t}}),c=l[0].inst,u=l[1];return i((function(){c.value=o,c.getSnapshot=t,s(c)&&u({inst:c})}),[e,o,t]),r((function(){return s(c)&&u({inst:c}),e((function(){s(c)&&u({inst:c})}))}),[e]),a(o),o};return y.useSyncExternalStore=void 0!==e.useSyncExternalStore?e.useSyncExternalStore:l,y}()),v.exports}m.exports=function(){if(x)return g;x=1;var e=o,t=w(),n="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},r=t.useSyncExternalStore,i=e.useRef,a=e.useEffect,s=e.useMemo,l=e.useDebugValue;return g.useSyncExternalStoreWithSelector=function(e,t,o,c,u){var d=i(null);if(null===d.current){var p={hasValue:!1,value:null};d.current=p}else p=d.current;d=s((function(){function e(e){if(!a){if(a=!0,r=e,e=c(e),void 0!==u&&p.hasValue){var t=p.value;if(u(t,e))return i=t}return i=e}if(t=i,n(r,e))return t;var o=c(e);return void 0!==u&&u(t,o)?t:(r=e,i=o)}var r,i,a=!1,s=void 0===o?null:o;return[function(){return e(t())},null===s?void 0:function(){return e(s())}]}),[t,o,c,u]);var f=r(e,d[0],d[1]);return a((function(){p.hasValue=!0,p.value=f}),[f]),l(f),f},g}();var A=m.exports;function _(e){const[t]=o.useState((()=>function(e){let t=0,n=0,r={editor:e,transactionNumber:0},o=e;const i=new Set;return{getSnapshot(){return t===n||(n=t,r={editor:o,transactionNumber:t}),r},getServerSnapshot(){return{editor:null,transactionNumber:0}},subscribe(e){return i.add(e),()=>{i.delete(e)}},watch(e){if(o=e,o){const e=()=>{t+=1,i.forEach((e=>e()))},n=o;return n.on("transaction",e),()=>{n.off("transaction",e)}}}}}(e.editor))),n=A.useSyncExternalStoreWithSelector(t.subscribe,t.getSnapshot,t.getServerSnapshot,e.selector,e.equalityFn);return o.useEffect((()=>t.watch(e.editor)),[e.editor]),o.useDebugValue(n),n}const S=!1,k="undefined"==typeof window,C=k||Boolean("undefined"!=typeof window&&window.next);function T(e={},t=[]){const n=o.useRef(!1),[r,i]=o.useState((()=>{if(void 0===e.immediatelyRender)return k||C?(S&&console.warn("Tiptap Error: SSR has been detected, please set `immediatelyRender` explicitly to `false` to avoid hydration mismatches."),null):new f(e);if(e.immediatelyRender&&k&&S)throw new Error("Tiptap Error: SSR has been detected, and `immediatelyRender` has been set to `true` this is an unsupported configuration that may result in errors, explicitly set `immediatelyRender` to `false` to avoid hydration mismatches.");return e.immediatelyRender?new f(e):null}));o.useDebugValue(r),o.useEffect((()=>{let t=r;t?t.setOptions(e):(t=new f(e),i(t))}),t);const{onBeforeCreate:a,onBlur:s,onCreate:l,onDestroy:c,onFocus:u,onSelectionUpdate:d,onTransaction:p,onUpdate:h,onContentError:m}=e,g=o.useRef(a),v=o.useRef(s),y=o.useRef(l),b=o.useRef(c),x=o.useRef(u),w=o.useRef(d),A=o.useRef(p),T=o.useRef(h),M=o.useRef(m);return o.useEffect((()=>{r&&(a&&(r.off("beforeCreate",g.current),r.on("beforeCreate",a),g.current=a),s&&(r.off("blur",v.current),r.on("blur",s),v.current=s),l&&(r.off("create",y.current),r.on("create",l),y.current=l),c&&(r.off("destroy",b.current),r.on("destroy",c),b.current=c),u&&(r.off("focus",x.current),r.on("focus",u),x.current=u),d&&(r.off("selectionUpdate",w.current),r.on("selectionUpdate",d),w.current=d),p&&(r.off("transaction",A.current),r.on("transaction",p),A.current=p),h&&(r.off("update",T.current),r.on("update",h),T.current=h),m&&(r.off("contentError",M.current),r.on("contentError",m),M.current=m))}),[a,s,l,c,u,d,p,h,m,r]),o.useEffect((()=>(n.current=!0,()=>{n.current=!1,r&&setTimeout((()=>{n.current||r.isDestroyed||r.destroy()}))})),[]),_({editor:r,selector:({transactionNumber:t})=>!1===e.shouldRerenderOnTransaction?null:e.immediatelyRender&&0===t?0:t+1}),r}const M=o.createContext({editor:null}),P=M.Consumer,O=()=>o.useContext(M);const E=o.createContext({onDragStart:void 0}),D=()=>o.useContext(E),R=o.forwardRef(((e,t)=>{const{onDragStart:n}=D(),r=e.as||"div";return o.createElement(r,{...e,ref:t,"data-node-view-wrapper":"",onDragStart:n,style:{whiteSpace:"normal",...e.style}})}));class I{constructor(e,{editor:t,props:n={},as:r="div",className:o="",attrs:i}){this.ref=null,this.id=Math.floor(4294967295*Math.random()).toString(),this.component=e,this.editor=t,this.props=n,this.element=document.createElement(r),this.element.classList.add("react-renderer"),o&&this.element.classList.add(...o.split(" ")),i&&Object.keys(i).forEach((e=>{this.element.setAttribute(e,i[e])})),this.render()}render(){var e,t;const n=this.component,r=this.props;(function(e){return!("function"!=typeof e||!e.prototype||!e.prototype.isReactComponent)}(n)||function(e){var t;return!("object"!=typeof e||"Symbol(react.forward_ref)"!==(null===(t=e.$$typeof)||void 0===t?void 0:t.toString()))}(n))&&(r.ref=e=>{this.ref=e}),this.reactElement=o.createElement(n,{...r}),null===(t=null===(e=this.editor)||void 0===e?void 0:e.contentComponent)||void 0===t||t.setRenderer(this.id,this)}updateProps(e={}){this.props={...this.props,...e},this.render()}destroy(){var e,t;null===(t=null===(e=this.editor)||void 0===e?void 0:e.contentComponent)||void 0===t||t.removeRenderer(this.id)}}class N extends a.NodeView{mount(){const e={editor:this.editor,node:this.node,decorations:this.decorations,selected:!1,extension:this.extension,getPos:()=>this.getPos(),updateAttributes:(e={})=>this.updateAttributes(e),deleteNode:()=>this.deleteNode()};if(!this.component.displayName){const e=e=>e.charAt(0).toUpperCase()+e.substring(1);this.component.displayName=e(this.extension.name)}const t=e=>{const t=this.component,n=this.onDragStart.bind(this);return o.createElement(o.Fragment,null,o.createElement(E.Provider,{value:{onDragStart:n,nodeViewContentRef:e=>{e&&this.contentDOMElement&&e.firstChild!==this.contentDOMElement&&e.appendChild(this.contentDOMElement)}}},o.createElement(t,{...e})))};t.displayName="ReactNodeView",this.node.isLeaf?this.contentDOMElement=null:this.options.contentDOMElementTag?this.contentDOMElement=document.createElement(this.options.contentDOMElementTag):this.contentDOMElement=document.createElement(this.node.isInline?"span":"div"),this.contentDOMElement&&(this.contentDOMElement.style.whiteSpace="inherit");let n=this.node.isInline?"span":"div";this.options.as&&(n=this.options.as);const{className:r=""}=this.options;this.handleSelectionUpdate=this.handleSelectionUpdate.bind(this),this.editor.on("selectionUpdate",this.handleSelectionUpdate),this.renderer=new I(t,{editor:this.editor,props:e,as:n,className:`node-${this.node.type.name} ${r}`.trim(),attrs:this.options.attrs})}get dom(){var e;if(this.renderer.element.firstElementChild&&!(null===(e=this.renderer.element.firstElementChild)||void 0===e?void 0:e.hasAttribute("data-node-view-wrapper")))throw Error("Please use the NodeViewWrapper component for your node view.");return this.renderer.element}get contentDOM(){return this.node.isLeaf?null:this.contentDOMElement}handleSelectionUpdate(){const{from:e,to:t}=this.editor.state.selection;if(e<=this.getPos()&&t>=this.getPos()+this.node.nodeSize){if(this.renderer.props.selected)return;this.selectNode()}else{if(!this.renderer.props.selected)return;this.deselectNode()}}update(e,t){const n=e=>{this.renderer.updateProps(e)};if(e.type!==this.node.type)return!1;if("function"==typeof this.options.update){const r=this.node,o=this.decorations;return this.node=e,this.decorations=t,this.options.update({oldNode:r,oldDecorations:o,newNode:e,newDecorations:t,updateProps:()=>n({node:e,decorations:t})})}return e===this.node&&this.decorations===t||(this.node=e,this.decorations=t,n({node:e,decorations:t})),!0}selectNode(){this.renderer.updateProps({selected:!0}),this.renderer.element.classList.add("ProseMirror-selectednode")}deselectNode(){this.renderer.updateProps({selected:!1}),this.renderer.element.classList.remove("ProseMirror-selectednode")}destroy(){this.renderer.destroy(),this.editor.off("selectionUpdate",this.handleSelectionUpdate),this.contentDOMElement=null}}t.BubbleMenu=e=>{const[t,n]=o.useState(null),{editor:i}=O();return o.useEffect((()=>{var n;if(!t)return;if((null===(n=e.editor)||void 0===n?void 0:n.isDestroyed)||(null==i?void 0:i.isDestroyed))return;const{pluginKey:o="bubbleMenu",editor:a,tippyOptions:s={},updateDelay:l,shouldShow:c=null}=e,u=a||i;if(!u)return void console.warn("BubbleMenu component is not rendered inside of an editor component or does not have editor prop.");const d=r.BubbleMenuPlugin({updateDelay:l,editor:u,element:t,pluginKey:o,shouldShow:c,tippyOptions:s});return u.registerPlugin(d),()=>u.unregisterPlugin(o)}),[e.editor,i,t]),o.createElement("div",{ref:n,className:e.className,style:{visibility:"hidden"}},e.children)},t.Editor=f,t.EditorConsumer=P,t.EditorContent=p,t.EditorContext=M,t.EditorProvider=function({children:e,slotAfter:t,slotBefore:n,...r}){const i=T(r);return i?o.createElement(M.Provider,{value:{editor:i}},n,o.createElement(P,null,(({editor:e})=>o.createElement(p,{editor:e}))),e,t):null},t.FloatingMenu=e=>{const[t,n]=o.useState(null),{editor:r}=O();return o.useEffect((()=>{var n;if(!t)return;if((null===(n=e.editor)||void 0===n?void 0:n.isDestroyed)||(null==r?void 0:r.isDestroyed))return;const{pluginKey:o="floatingMenu",editor:i,tippyOptions:a={},shouldShow:l=null}=e,c=i||r;if(!c)return void console.warn("FloatingMenu component is not rendered inside of an editor component or does not have editor prop.");const u=s.FloatingMenuPlugin({pluginKey:o,editor:c,element:t,tippyOptions:a,shouldShow:l});return c.registerPlugin(u),()=>c.unregisterPlugin(o)}),[e.editor,r,t]),o.createElement("div",{ref:n,className:e.className,style:{visibility:"hidden"}},e.children)},t.NodeViewContent=e=>{const t=e.as||"div",{nodeViewContentRef:n}=D();return o.createElement(t,{...e,ref:n,"data-node-view-content":"",style:{whiteSpace:"pre-wrap",...e.style}})},t.NodeViewWrapper=R,t.PureEditorContent=u,t.ReactNodeViewContext=E,t.ReactNodeViewRenderer=function(e,t){return n=>n.editor.contentComponent?new N(e,n,t):{}},t.ReactRenderer=I,t.useCurrentEditor=O,t.useEditor=T,t.useEditorState=_,t.useReactNodeView=D,Object.keys(a).forEach((function(e){"default"===e||Object.prototype.hasOwnProperty.call(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:function(){return a[e]}})}))},61439:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(99248),o=n(94144),i=n(27096),a=n(87918),s=n(61470),l=n(95006),c=n(62430),u=n(60400),d=n(12415),p=n(29656),f=n(74951),h=n(7689),m=n(33332),g=n(39007),v=n(14757),y=n(45823),b=n(5067),x=n(38393),w=n(50976);const A=r.Extension.create({name:"starterKit",addExtensions(){var e,t,n,r,A,_,S,k,C,T,M,P,O,E,D,R,I,N;const L=[];return!1!==this.options.bold&&L.push(i.Bold.configure(null===(e=this.options)||void 0===e?void 0:e.bold)),!1!==this.options.blockquote&&L.push(o.Blockquote.configure(null===(t=this.options)||void 0===t?void 0:t.blockquote)),!1!==this.options.bulletList&&L.push(a.BulletList.configure(null===(n=this.options)||void 0===n?void 0:n.bulletList)),!1!==this.options.code&&L.push(s.Code.configure(null===(r=this.options)||void 0===r?void 0:r.code)),!1!==this.options.codeBlock&&L.push(l.CodeBlock.configure(null===(A=this.options)||void 0===A?void 0:A.codeBlock)),!1!==this.options.document&&L.push(c.Document.configure(null===(_=this.options)||void 0===_?void 0:_.document)),!1!==this.options.dropcursor&&L.push(u.Dropcursor.configure(null===(S=this.options)||void 0===S?void 0:S.dropcursor)),!1!==this.options.gapcursor&&L.push(d.Gapcursor.configure(null===(k=this.options)||void 0===k?void 0:k.gapcursor)),!1!==this.options.hardBreak&&L.push(p.HardBreak.configure(null===(C=this.options)||void 0===C?void 0:C.hardBreak)),!1!==this.options.heading&&L.push(f.Heading.configure(null===(T=this.options)||void 0===T?void 0:T.heading)),!1!==this.options.history&&L.push(h.History.configure(null===(M=this.options)||void 0===M?void 0:M.history)),!1!==this.options.horizontalRule&&L.push(m.HorizontalRule.configure(null===(P=this.options)||void 0===P?void 0:P.horizontalRule)),!1!==this.options.italic&&L.push(g.Italic.configure(null===(O=this.options)||void 0===O?void 0:O.italic)),!1!==this.options.listItem&&L.push(v.ListItem.configure(null===(E=this.options)||void 0===E?void 0:E.listItem)),!1!==this.options.orderedList&&L.push(y.OrderedList.configure(null===(D=this.options)||void 0===D?void 0:D.orderedList)),!1!==this.options.paragraph&&L.push(b.Paragraph.configure(null===(R=this.options)||void 0===R?void 0:R.paragraph)),!1!==this.options.strike&&L.push(x.Strike.configure(null===(I=this.options)||void 0===I?void 0:I.strike)),!1!==this.options.text&&L.push(w.Text.configure(null===(N=this.options)||void 0===N?void 0:N.text)),L}});t.StarterKit=A,t.default=A},33014:function(e,t,n){var r;r=function(){return function(){"use strict";var e=[function(e,t,n){n(1),n(97),n(98),n(99),n(100),n(101),n(102),n(103),n(104),n(105),n(106),n(107),n(108),n(109),n(110),n(111),n(124),n(126),n(136),n(137),n(139),n(143),n(146),n(148),n(150),n(151),n(152),n(153),n(155),n(156),n(158),n(159),n(161),n(165),n(166),n(167),n(168),n(173),n(174),n(176),n(177),n(178),n(180),n(183),n(184),n(185),n(186),n(187),n(192),n(194),n(195),n(197),n(200),n(201),n(202),n(203),n(204),n(206),n(216),n(218),n(221),n(223),n(226),n(233),n(234),n(235),n(236),n(237),n(238),n(242),n(243),n(245),n(246),n(247),n(249),n(250),n(251),n(93),n(252),n(253),n(261),n(263),n(265),n(266),n(267),n(268),n(269),n(271),n(272),n(273),n(274),n(275),n(277),n(278),n(279),n(280),n(281),n(282),n(283),n(284),n(288),n(289),n(291),n(293),n(294),n(295),n(296),n(297),n(299),n(301),n(302),n(303),n(304),n(306),n(307),n(309),n(310),n(311),n(312),n(314),n(315),n(316),n(317),n(318),n(319),n(320),n(321),n(322),n(324),n(325),n(326),n(327),n(328),n(329),n(330),n(331),n(332),n(333),n(334),n(336),n(337),n(338),n(339),n(361),n(362),n(363),n(364),n(365),n(366),n(367),n(368),n(369),n(371),n(372),n(373),n(374),n(375),n(376),n(377),n(378),n(379),n(380),n(387),n(388),n(390),n(391),n(392),n(393),n(394),n(396),n(407),n(409),n(411),n(413),n(415),n(417),n(419),n(420),n(422),n(425),n(426),n(427),n(428),n(429),n(433),n(434),n(436),n(437),n(438),n(439),n(441),n(442),n(443),n(444),n(445),n(446),n(447),n(449),n(452),n(455),n(458),n(459),n(460),n(461),n(462),n(463),n(464),n(465),n(466),n(467),n(468),n(469),n(470),n(479),n(480),n(481),n(482),n(483),n(484),n(485),n(486),n(487),n(488),n(489),n(490),n(491),n(494),n(495),n(496),n(497),n(498),n(499),n(500),n(501),n(502),n(503),n(504),n(505),n(506),n(507),n(508),n(509),n(510),n(511),n(512),n(513),n(514),n(515),n(516),n(517),n(518),n(519),n(520),n(521),n(524),n(526),n(528),n(529),n(532),n(533),n(535),n(536),n(537),n(542),n(543),n(544),n(545),n(548),n(553),n(554),n(555),n(556),n(557),n(558),n(559),n(80)},function(e,t,n){n(2),n(90),n(92),n(93),n(96)},function(e,t,n){var r=n(3),o=n(4),i=n(8),a=n(14),s=n(36),l=n(6),c=n(26),u=n(7),d=n(38),p=n(24),f=n(46),h=n(12),m=n(18),g=n(68),v=n(11),y=n(71),b=n(73),x=n(57),w=n(75),A=n(66),_=n(5),S=n(44),k=n(72),C=n(10),T=n(47),M=n(77),P=n(34),O=n(53),E=n(54),D=n(40),R=n(33),I=n(78),N=n(79),L=n(81),j=n(82),$=n(51),z=n(83).forEach,F=O("hidden"),B="Symbol",H="prototype",V=$.set,W=$.getterFor(B),U=Object[H],q=o.Symbol,G=q&&q[H],Y=o.RangeError,X=o.TypeError,K=o.QObject,Z=_.f,J=S.f,Q=w.f,ee=C.f,te=a([].push),ne=P("symbols"),re=P("op-symbols"),oe=P("wks"),ie=!K||!K[H]||!K[H].findChild,ae=function(e,t,n){var r=Z(U,t);r&&delete U[t],J(e,t,n),r&&e!==U&&J(U,t,r)},se=l&&u((function(){return 7!==y(J({},"a",{get:function(){return J(this,"a",{value:7}).a}})).a}))?ae:J,le=function(e,t){var n=ne[e]=y(G);return V(n,{type:B,tag:e,description:t}),l||(n.description=t),n},ce=function(e,t,n){e===U&&ce(re,t,n),f(e);var r=m(t);return f(n),d(ne,r)?(n.enumerable?(d(e,F)&&e[F][r]&&(e[F][r]=!1),n=y(n,{enumerable:v(0,!1)})):(d(e,F)||J(e,F,v(1,y(null))),e[F][r]=!0),se(e,r,n)):J(e,r,n)},ue=function(e,t){f(e);var n=h(t),r=b(n).concat(he(n));return z(r,(function(t){l&&!i(de,n,t)||ce(e,t,n[t])})),e},de=function(e){var t=m(e),n=i(ee,this,t);return!(this===U&&d(ne,t)&&!d(re,t))&&(!(n||!d(this,t)||!d(ne,t)||d(this,F)&&this[F][t])||n)},pe=function(e,t){var n=h(e),r=m(t);if(n!==U||!d(ne,r)||d(re,r)){var o=Z(n,r);return!o||!d(ne,r)||d(n,F)&&n[F][r]||(o.enumerable=!0),o}},fe=function(e){var t=Q(h(e)),n=[];return z(t,(function(e){d(ne,e)||d(E,e)||te(n,e)})),n},he=function(e){var t=e===U,n=Q(t?re:h(e)),r=[];return z(n,(function(e){!d(ne,e)||t&&!d(U,e)||te(r,ne[e])})),r};c||(q=function(){if(p(G,this))throw new X("Symbol is not a constructor");var e=arguments.length&&void 0!==arguments[0]?g(arguments[0]):void 0,t=D(e),n=function(e){var r=void 0===this?o:this;r===U&&i(n,re,e),d(r,F)&&d(r[F],t)&&(r[F][t]=!1);var a=v(1,e);try{se(r,t,a)}catch(e){if(!(e instanceof Y))throw e;ae(r,t,a)}};return l&&ie&&se(U,t,{configurable:!0,set:n}),le(t,e)},T(G=q[H],"toString",(function(){return W(this).tag})),T(q,"withoutSetter",(function(e){return le(D(e),e)})),C.f=de,S.f=ce,k.f=ue,_.f=pe,x.f=w.f=fe,A.f=he,I.f=function(e){return le(R(e),e)},l&&(M(G,"description",{configurable:!0,get:function(){return W(this).description}}),s||T(U,"propertyIsEnumerable",de,{unsafe:!0}))),r({global:!0,constructor:!0,wrap:!0,forced:!c,sham:!c},{Symbol:q}),z(b(oe),(function(e){N(e)})),r({target:B,stat:!0,forced:!c},{useSetter:function(){ie=!0},useSimple:function(){ie=!1}}),r({target:"Object",stat:!0,forced:!c,sham:!l},{create:function(e,t){return void 0===t?y(e):ue(y(e),t)},defineProperty:ce,defineProperties:ue,getOwnPropertyDescriptor:pe}),r({target:"Object",stat:!0,forced:!c},{getOwnPropertyNames:fe}),L(),j(q,B),E[F]=!0},function(e,t,n){var r=n(4),o=n(5).f,i=n(43),a=n(47),s=n(37),l=n(55),c=n(67);e.exports=function(e,t){var n,u,d,p,f,h=e.target,m=e.global,g=e.stat;if(n=m?r:g?r[h]||s(h,{}):r[h]&&r[h].prototype)for(u in t){if(p=t[u],d=e.dontCallGetSet?(f=o(n,u))&&f.value:n[u],!c(m?u:h+(g?".":"#")+u,e.forced)&&void 0!==d){if(typeof p==typeof d)continue;l(p,d)}(e.sham||d&&d.sham)&&i(p,"sham",!0),a(n,u,p,e)}}},function(e){var t=function(e){return e&&e.Math===Math&&e};e.exports=t("object"==typeof globalThis&&globalThis)||t("object"==typeof window&&window)||t("object"==typeof self&&self)||t("object"==typeof n.g&&n.g)||t("object"==typeof this&&this)||function(){return this}()||Function("return this")()},function(e,t,n){var r=n(6),o=n(8),i=n(10),a=n(11),s=n(12),l=n(18),c=n(38),u=n(41),d=Object.getOwnPropertyDescriptor;t.f=r?d:function(e,t){if(e=s(e),t=l(t),u)try{return d(e,t)}catch(e){}if(c(e,t))return a(!o(i.f,e,t),e[t])}},function(e,t,n){var r=n(7);e.exports=!r((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]}))},function(e){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t,n){var r=n(9),o=Function.prototype.call;e.exports=r?o.bind(o):function(){return o.apply(o,arguments)}},function(e,t,n){var r=n(7);e.exports=!r((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))},function(e,t){var n={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,o=r&&!n.call({1:2},1);t.f=o?function(e){var t=r(this,e);return!!t&&t.enumerable}:n},function(e){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t,n){var r=n(13),o=n(16);e.exports=function(e){return r(o(e))}},function(e,t,n){var r=n(14),o=n(7),i=n(15),a=Object,s=r("".split);e.exports=o((function(){return!a("z").propertyIsEnumerable(0)}))?function(e){return"String"===i(e)?s(e,""):a(e)}:a},function(e,t,n){var r=n(9),o=Function.prototype,i=o.call,a=r&&o.bind.bind(i,i);e.exports=r?a:function(e){return function(){return i.apply(e,arguments)}}},function(e,t,n){var r=n(14),o=r({}.toString),i=r("".slice);e.exports=function(e){return i(o(e),8,-1)}},function(e,t,n){var r=n(17),o=TypeError;e.exports=function(e){if(r(e))throw new o("Can't call method on "+e);return e}},function(e){e.exports=function(e){return null==e}},function(e,t,n){var r=n(19),o=n(22);e.exports=function(e){var t=r(e,"string");return o(t)?t:t+""}},function(e,t,n){var r=n(8),o=n(20),i=n(22),a=n(29),s=n(32),l=n(33),c=TypeError,u=l("toPrimitive");e.exports=function(e,t){if(!o(e)||i(e))return e;var n,l=a(e,u);if(l){if(void 0===t&&(t="default"),n=r(l,e,t),!o(n)||i(n))return n;throw new c("Can't convert object to primitive value")}return void 0===t&&(t="number"),s(e,t)}},function(e,t,n){var r=n(21);e.exports=function(e){return"object"==typeof e?null!==e:r(e)}},function(e){var t="object"==typeof document&&document.all;e.exports=void 0===t&&void 0!==t?function(e){return"function"==typeof e||e===t}:function(e){return"function"==typeof e}},function(e,t,n){var r=n(23),o=n(21),i=n(24),a=n(25),s=Object;e.exports=a?function(e){return"symbol"==typeof e}:function(e){var t=r("Symbol");return o(t)&&i(t.prototype,s(e))}},function(e,t,n){var r=n(4),o=n(21);e.exports=function(e,t){return arguments.length<2?(n=r[e],o(n)?n:void 0):r[e]&&r[e][t];var n}},function(e,t,n){var r=n(14);e.exports=r({}.isPrototypeOf)},function(e,t,n){var r=n(26);e.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},function(e,t,n){var r=n(27),o=n(7),i=n(4).String;e.exports=!!Object.getOwnPropertySymbols&&!o((function(){var e=Symbol("symbol detection");return!i(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&r&&r<41}))},function(e,t,n){var r,o,i=n(4),a=n(28),s=i.process,l=i.Deno,c=s&&s.versions||l&&l.version,u=c&&c.v8;u&&(o=(r=u.split("."))[0]>0&&r[0]<4?1:+(r[0]+r[1])),!o&&a&&(!(r=a.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=a.match(/Chrome\/(\d+)/))&&(o=+r[1]),e.exports=o},function(e){e.exports="undefined"!=typeof navigator&&String(navigator.userAgent)||""},function(e,t,n){var r=n(30),o=n(17);e.exports=function(e,t){var n=e[t];return o(n)?void 0:r(n)}},function(e,t,n){var r=n(21),o=n(31),i=TypeError;e.exports=function(e){if(r(e))return e;throw new i(o(e)+" is not a function")}},function(e){var t=String;e.exports=function(e){try{return t(e)}catch(e){return"Object"}}},function(e,t,n){var r=n(8),o=n(21),i=n(20),a=TypeError;e.exports=function(e,t){var n,s;if("string"===t&&o(n=e.toString)&&!i(s=r(n,e)))return s;if(o(n=e.valueOf)&&!i(s=r(n,e)))return s;if("string"!==t&&o(n=e.toString)&&!i(s=r(n,e)))return s;throw new a("Can't convert object to primitive value")}},function(e,t,n){var r=n(4),o=n(34),i=n(38),a=n(40),s=n(26),l=n(25),c=r.Symbol,u=o("wks"),d=l?c.for||c:c&&c.withoutSetter||a;e.exports=function(e){return i(u,e)||(u[e]=s&&i(c,e)?c[e]:d("Symbol."+e)),u[e]}},function(e,t,n){var r=n(35);e.exports=function(e,t){return r[e]||(r[e]=t||{})}},function(e,t,n){var r=n(36),o=n(4),i=n(37),a="__core-js_shared__",s=e.exports=o[a]||i(a,{});(s.versions||(s.versions=[])).push({version:"3.37.1",mode:r?"pure":"global",copyright:"© 2014-2024 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.37.1/LICENSE",source:"https://github.com/zloirock/core-js"})},function(e){e.exports=!1},function(e,t,n){var r=n(4),o=Object.defineProperty;e.exports=function(e,t){try{o(r,e,{value:t,configurable:!0,writable:!0})}catch(n){r[e]=t}return t}},function(e,t,n){var r=n(14),o=n(39),i=r({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return i(o(e),t)}},function(e,t,n){var r=n(16),o=Object;e.exports=function(e){return o(r(e))}},function(e,t,n){var r=n(14),o=0,i=Math.random(),a=r(1..toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+a(++o+i,36)}},function(e,t,n){var r=n(6),o=n(7),i=n(42);e.exports=!r&&!o((function(){return 7!==Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},function(e,t,n){var r=n(4),o=n(20),i=r.document,a=o(i)&&o(i.createElement);e.exports=function(e){return a?i.createElement(e):{}}},function(e,t,n){var r=n(6),o=n(44),i=n(11);e.exports=r?function(e,t,n){return o.f(e,t,i(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t,n){var r=n(6),o=n(41),i=n(45),a=n(46),s=n(18),l=TypeError,c=Object.defineProperty,u=Object.getOwnPropertyDescriptor,d="enumerable",p="configurable",f="writable";t.f=r?i?function(e,t,n){if(a(e),t=s(t),a(n),"function"==typeof e&&"prototype"===t&&"value"in n&&f in n&&!n[f]){var r=u(e,t);r&&r[f]&&(e[t]=n.value,n={configurable:p in n?n[p]:r[p],enumerable:d in n?n[d]:r[d],writable:!1})}return c(e,t,n)}:c:function(e,t,n){if(a(e),t=s(t),a(n),o)try{return c(e,t,n)}catch(e){}if("get"in n||"set"in n)throw new l("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},function(e,t,n){var r=n(6),o=n(7);e.exports=r&&o((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},function(e,t,n){var r=n(20),o=String,i=TypeError;e.exports=function(e){if(r(e))return e;throw new i(o(e)+" is not an object")}},function(e,t,n){var r=n(21),o=n(44),i=n(48),a=n(37);e.exports=function(e,t,n,s){s||(s={});var l=s.enumerable,c=void 0!==s.name?s.name:t;if(r(n)&&i(n,c,s),s.global)l?e[t]=n:a(t,n);else{try{s.unsafe?e[t]&&(l=!0):delete e[t]}catch(e){}l?e[t]=n:o.f(e,t,{value:n,enumerable:!1,configurable:!s.nonConfigurable,writable:!s.nonWritable})}return e}},function(e,t,n){var r=n(14),o=n(7),i=n(21),a=n(38),s=n(6),l=n(49).CONFIGURABLE,c=n(50),u=n(51),d=u.enforce,p=u.get,f=String,h=Object.defineProperty,m=r("".slice),g=r("".replace),v=r([].join),y=s&&!o((function(){return 8!==h((function(){}),"length",{value:8}).length})),b=String(String).split("String"),x=e.exports=function(e,t,n){"Symbol("===m(f(t),0,7)&&(t="["+g(f(t),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),n&&n.getter&&(t="get "+t),n&&n.setter&&(t="set "+t),(!a(e,"name")||l&&e.name!==t)&&(s?h(e,"name",{value:t,configurable:!0}):e.name=t),y&&n&&a(n,"arity")&&e.length!==n.arity&&h(e,"length",{value:n.arity});try{n&&a(n,"constructor")&&n.constructor?s&&h(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(e){}var r=d(e);return a(r,"source")||(r.source=v(b,"string"==typeof t?t:"")),e};Function.prototype.toString=x((function(){return i(this)&&p(this).source||c(this)}),"toString")},function(e,t,n){var r=n(6),o=n(38),i=Function.prototype,a=r&&Object.getOwnPropertyDescriptor,s=o(i,"name"),l=s&&"something"===function(){}.name,c=s&&(!r||r&&a(i,"name").configurable);e.exports={EXISTS:s,PROPER:l,CONFIGURABLE:c}},function(e,t,n){var r=n(14),o=n(21),i=n(35),a=r(Function.toString);o(i.inspectSource)||(i.inspectSource=function(e){return a(e)}),e.exports=i.inspectSource},function(e,t,n){var r,o,i,a=n(52),s=n(4),l=n(20),c=n(43),u=n(38),d=n(35),p=n(53),f=n(54),h="Object already initialized",m=s.TypeError,g=s.WeakMap;if(a||d.state){var v=d.state||(d.state=new g);v.get=v.get,v.has=v.has,v.set=v.set,r=function(e,t){if(v.has(e))throw new m(h);return t.facade=e,v.set(e,t),t},o=function(e){return v.get(e)||{}},i=function(e){return v.has(e)}}else{var y=p("state");f[y]=!0,r=function(e,t){if(u(e,y))throw new m(h);return t.facade=e,c(e,y,t),t},o=function(e){return u(e,y)?e[y]:{}},i=function(e){return u(e,y)}}e.exports={set:r,get:o,has:i,enforce:function(e){return i(e)?o(e):r(e,{})},getterFor:function(e){return function(t){var n;if(!l(t)||(n=o(t)).type!==e)throw new m("Incompatible receiver, "+e+" required");return n}}}},function(e,t,n){var r=n(4),o=n(21),i=r.WeakMap;e.exports=o(i)&&/native code/.test(String(i))},function(e,t,n){var r=n(34),o=n(40),i=r("keys");e.exports=function(e){return i[e]||(i[e]=o(e))}},function(e){e.exports={}},function(e,t,n){var r=n(38),o=n(56),i=n(5),a=n(44);e.exports=function(e,t,n){for(var s=o(t),l=a.f,c=i.f,u=0;u<s.length;u++){var d=s[u];r(e,d)||n&&r(n,d)||l(e,d,c(t,d))}}},function(e,t,n){var r=n(23),o=n(14),i=n(57),a=n(66),s=n(46),l=o([].concat);e.exports=r("Reflect","ownKeys")||function(e){var t=i.f(s(e)),n=a.f;return n?l(t,n(e)):t}},function(e,t,n){var r=n(58),o=n(65).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,o)}},function(e,t,n){var r=n(14),o=n(38),i=n(12),a=n(59).indexOf,s=n(54),l=r([].push);e.exports=function(e,t){var n,r=i(e),c=0,u=[];for(n in r)!o(s,n)&&o(r,n)&&l(u,n);for(;t.length>c;)o(r,n=t[c++])&&(~a(u,n)||l(u,n));return u}},function(e,t,n){var r=n(12),o=n(60),i=n(63),a=function(e){return function(t,n,a){var s=r(t),l=i(s);if(0===l)return!e&&-1;var c,u=o(a,l);if(e&&n!=n){for(;l>u;)if((c=s[u++])!=c)return!0}else for(;l>u;u++)if((e||u in s)&&s[u]===n)return e||u||0;return!e&&-1}};e.exports={includes:a(!0),indexOf:a(!1)}},function(e,t,n){var r=n(61),o=Math.max,i=Math.min;e.exports=function(e,t){var n=r(e);return n<0?o(n+t,0):i(n,t)}},function(e,t,n){var r=n(62);e.exports=function(e){var t=+e;return t!=t||0===t?0:r(t)}},function(e){var t=Math.ceil,n=Math.floor;e.exports=Math.trunc||function(e){var r=+e;return(r>0?n:t)(r)}},function(e,t,n){var r=n(64);e.exports=function(e){return r(e.length)}},function(e,t,n){var r=n(61),o=Math.min;e.exports=function(e){var t=r(e);return t>0?o(t,9007199254740991):0}},function(e){e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},function(e,t){t.f=Object.getOwnPropertySymbols},function(e,t,n){var r=n(7),o=n(21),i=/#|\.prototype\./,a=function(e,t){var n=l[s(e)];return n===u||n!==c&&(o(t)?r(t):!!t)},s=a.normalize=function(e){return String(e).replace(i,".").toLowerCase()},l=a.data={},c=a.NATIVE="N",u=a.POLYFILL="P";e.exports=a},function(e,t,n){var r=n(69),o=String;e.exports=function(e){if("Symbol"===r(e))throw new TypeError("Cannot convert a Symbol value to a string");return o(e)}},function(e,t,n){var r=n(70),o=n(21),i=n(15),a=n(33)("toStringTag"),s=Object,l="Arguments"===i(function(){return arguments}());e.exports=r?i:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=s(e),a))?n:l?i(t):"Object"===(r=i(t))&&o(t.callee)?"Arguments":r}},function(e,t,n){var r={};r[n(33)("toStringTag")]="z",e.exports="[object z]"===String(r)},function(e,t,n){var r,o=n(46),i=n(72),a=n(65),s=n(54),l=n(74),c=n(42),u=n(53),d="prototype",p="script",f=u("IE_PROTO"),h=function(){},m=function(e){return"<"+p+">"+e+"</"+p+">"},g=function(e){e.write(m("")),e.close();var t=e.parentWindow.Object;return e=null,t},v=function(){try{r=new ActiveXObject("htmlfile")}catch(e){}var e,t,n;v="undefined"!=typeof document?document.domain&&r?g(r):(t=c("iframe"),n="java"+p+":",t.style.display="none",l.appendChild(t),t.src=String(n),(e=t.contentWindow.document).open(),e.write(m("document.F=Object")),e.close(),e.F):g(r);for(var o=a.length;o--;)delete v[d][a[o]];return v()};s[f]=!0,e.exports=Object.create||function(e,t){var n;return null!==e?(h[d]=o(e),n=new h,h[d]=null,n[f]=e):n=v(),void 0===t?n:i.f(n,t)}},function(e,t,n){var r=n(6),o=n(45),i=n(44),a=n(46),s=n(12),l=n(73);t.f=r&&!o?Object.defineProperties:function(e,t){a(e);for(var n,r=s(t),o=l(t),c=o.length,u=0;c>u;)i.f(e,n=o[u++],r[n]);return e}},function(e,t,n){var r=n(58),o=n(65);e.exports=Object.keys||function(e){return r(e,o)}},function(e,t,n){var r=n(23);e.exports=r("document","documentElement")},function(e,t,n){var r=n(15),o=n(12),i=n(57).f,a=n(76),s="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){return s&&"Window"===r(e)?function(e){try{return i(e)}catch(e){return a(s)}}(e):i(o(e))}},function(e,t,n){var r=n(14);e.exports=r([].slice)},function(e,t,n){var r=n(48),o=n(44);e.exports=function(e,t,n){return n.get&&r(n.get,t,{getter:!0}),n.set&&r(n.set,t,{setter:!0}),o.f(e,t,n)}},function(e,t,n){var r=n(33);t.f=r},function(e,t,n){var r=n(80),o=n(38),i=n(78),a=n(44).f;e.exports=function(e){var t=r.Symbol||(r.Symbol={});o(t,e)||a(t,e,{value:i.f(e)})}},function(e,t,n){var r=n(4);e.exports=r},function(e,t,n){var r=n(8),o=n(23),i=n(33),a=n(47);e.exports=function(){var e=o("Symbol"),t=e&&e.prototype,n=t&&t.valueOf,s=i("toPrimitive");t&&!t[s]&&a(t,s,(function(e){return r(n,this)}),{arity:1})}},function(e,t,n){var r=n(44).f,o=n(38),i=n(33)("toStringTag");e.exports=function(e,t,n){e&&!n&&(e=e.prototype),e&&!o(e,i)&&r(e,i,{configurable:!0,value:t})}},function(e,t,n){var r=n(84),o=n(14),i=n(13),a=n(39),s=n(63),l=n(86),c=o([].push),u=function(e){var t=1===e,n=2===e,o=3===e,u=4===e,d=6===e,p=7===e,f=5===e||d;return function(h,m,g,v){for(var y,b,x=a(h),w=i(x),A=s(w),_=r(m,g),S=0,k=v||l,C=t?k(h,A):n||p?k(h,0):void 0;A>S;S++)if((f||S in w)&&(b=_(y=w[S],S,x),e))if(t)C[S]=b;else if(b)switch(e){case 3:return!0;case 5:return y;case 6:return S;case 2:c(C,y)}else switch(e){case 4:return!1;case 7:c(C,y)}return d?-1:o||u?u:C}};e.exports={forEach:u(0),map:u(1),filter:u(2),some:u(3),every:u(4),find:u(5),findIndex:u(6),filterReject:u(7)}},function(e,t,n){var r=n(85),o=n(30),i=n(9),a=r(r.bind);e.exports=function(e,t){return o(e),void 0===t?e:i?a(e,t):function(){return e.apply(t,arguments)}}},function(e,t,n){var r=n(15),o=n(14);e.exports=function(e){if("Function"===r(e))return o(e)}},function(e,t,n){var r=n(87);e.exports=function(e,t){return new(r(e))(0===t?0:t)}},function(e,t,n){var r=n(88),o=n(89),i=n(20),a=n(33)("species"),s=Array;e.exports=function(e){var t;return r(e)&&(t=e.constructor,(o(t)&&(t===s||r(t.prototype))||i(t)&&null===(t=t[a]))&&(t=void 0)),void 0===t?s:t}},function(e,t,n){var r=n(15);e.exports=Array.isArray||function(e){return"Array"===r(e)}},function(e,t,n){var r=n(14),o=n(7),i=n(21),a=n(69),s=n(23),l=n(50),c=function(){},u=s("Reflect","construct"),d=/^\s*(?:class|function)\b/,p=r(d.exec),f=!d.test(c),h=function(e){if(!i(e))return!1;try{return u(c,[],e),!0}catch(e){return!1}},m=function(e){if(!i(e))return!1;switch(a(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return f||!!p(d,l(e))}catch(e){return!0}};m.sham=!0,e.exports=!u||o((function(){var e;return h(h.call)||!h(Object)||!h((function(){e=!0}))||e}))?m:h},function(e,t,n){var r=n(3),o=n(23),i=n(38),a=n(68),s=n(34),l=n(91),c=s("string-to-symbol-registry"),u=s("symbol-to-string-registry");r({target:"Symbol",stat:!0,forced:!l},{for:function(e){var t=a(e);if(i(c,t))return c[t];var n=o("Symbol")(t);return c[t]=n,u[n]=t,n}})},function(e,t,n){var r=n(26);e.exports=r&&!!Symbol.for&&!!Symbol.keyFor},function(e,t,n){var r=n(3),o=n(38),i=n(22),a=n(31),s=n(34),l=n(91),c=s("symbol-to-string-registry");r({target:"Symbol",stat:!0,forced:!l},{keyFor:function(e){if(!i(e))throw new TypeError(a(e)+" is not a symbol");if(o(c,e))return c[e]}})},function(e,t,n){var r=n(3),o=n(23),i=n(94),a=n(8),s=n(14),l=n(7),c=n(21),u=n(22),d=n(76),p=n(95),f=n(26),h=String,m=o("JSON","stringify"),g=s(/./.exec),v=s("".charAt),y=s("".charCodeAt),b=s("".replace),x=s(1..toString),w=/[\uD800-\uDFFF]/g,A=/^[\uD800-\uDBFF]$/,_=/^[\uDC00-\uDFFF]$/,S=!f||l((function(){var e=o("Symbol")("stringify detection");return"[null]"!==m([e])||"{}"!==m({a:e})||"{}"!==m(Object(e))})),k=l((function(){return'"\\udf06\\ud834"'!==m("\udf06\ud834")||'"\\udead"'!==m("\udead")})),C=function(e,t){var n=d(arguments),r=p(t);if(c(r)||void 0!==e&&!u(e))return n[1]=function(e,t){if(c(r)&&(t=a(r,this,h(e),t)),!u(t))return t},i(m,null,n)},T=function(e,t,n){var r=v(n,t-1),o=v(n,t+1);return g(A,e)&&!g(_,o)||g(_,e)&&!g(A,r)?"\\u"+x(y(e,0),16):e};m&&r({target:"JSON",stat:!0,arity:3,forced:S||k},{stringify:function(e,t,n){var r=d(arguments),o=i(S?C:m,null,r);return k&&"string"==typeof o?b(o,w,T):o}})},function(e,t,n){var r=n(9),o=Function.prototype,i=o.apply,a=o.call;e.exports="object"==typeof Reflect&&Reflect.apply||(r?a.bind(i):function(){return a.apply(i,arguments)})},function(e,t,n){var r=n(14),o=n(88),i=n(21),a=n(15),s=n(68),l=r([].push);e.exports=function(e){if(i(e))return e;if(o(e)){for(var t=e.length,n=[],r=0;r<t;r++){var c=e[r];"string"==typeof c?l(n,c):"number"!=typeof c&&"Number"!==a(c)&&"String"!==a(c)||l(n,s(c))}var u=n.length,d=!0;return function(e,t){if(d)return d=!1,t;if(o(this))return t;for(var r=0;r<u;r++)if(n[r]===e)return t}}}},function(e,t,n){var r=n(3),o=n(26),i=n(7),a=n(66),s=n(39);r({target:"Object",stat:!0,forced:!o||i((function(){a.f(1)}))},{getOwnPropertySymbols:function(e){var t=a.f;return t?t(s(e)):[]}})},function(e,t,n){var r=n(3),o=n(6),i=n(4),a=n(14),s=n(38),l=n(21),c=n(24),u=n(68),d=n(77),p=n(55),f=i.Symbol,h=f&&f.prototype;if(o&&l(f)&&(!("description"in h)||void 0!==f().description)){var m={},g=function(){var e=arguments.length<1||void 0===arguments[0]?void 0:u(arguments[0]),t=c(h,this)?new f(e):void 0===e?f():f(e);return""===e&&(m[t]=!0),t};p(g,f),g.prototype=h,h.constructor=g;var v="Symbol(description detection)"===String(f("description detection")),y=a(h.valueOf),b=a(h.toString),x=/^Symbol\((.*)\)[^)]+$/,w=a("".replace),A=a("".slice);d(h,"description",{configurable:!0,get:function(){var e=y(this);if(s(m,e))return"";var t=b(e),n=v?A(t,7,-1):w(t,x,"$1");return""===n?void 0:n}}),r({global:!0,constructor:!0,forced:!0},{Symbol:g})}},function(e,t,n){n(79)("asyncIterator")},function(e,t,n){n(79)("hasInstance")},function(e,t,n){n(79)("isConcatSpreadable")},function(e,t,n){n(79)("iterator")},function(e,t,n){n(79)("match")},function(e,t,n){n(79)("matchAll")},function(e,t,n){n(79)("replace")},function(e,t,n){n(79)("search")},function(e,t,n){n(79)("species")},function(e,t,n){n(79)("split")},function(e,t,n){var r=n(79),o=n(81);r("toPrimitive"),o()},function(e,t,n){var r=n(23),o=n(79),i=n(82);o("toStringTag"),i(r("Symbol"),"Symbol")},function(e,t,n){n(79)("unscopables")},function(e,t,n){var r=n(3),o=n(4),i=n(94),a=n(112),s="WebAssembly",l=o[s],c=7!==new Error("e",{cause:7}).cause,u=function(e,t){var n={};n[e]=a(e,t,c),r({global:!0,constructor:!0,arity:1,forced:c},n)},d=function(e,t){if(l&&l[e]){var n={};n[e]=a(s+"."+e,t,c),r({target:s,stat:!0,constructor:!0,arity:1,forced:c},n)}};u("Error",(function(e){return function(t){return i(e,this,arguments)}})),u("EvalError",(function(e){return function(t){return i(e,this,arguments)}})),u("RangeError",(function(e){return function(t){return i(e,this,arguments)}})),u("ReferenceError",(function(e){return function(t){return i(e,this,arguments)}})),u("SyntaxError",(function(e){return function(t){return i(e,this,arguments)}})),u("TypeError",(function(e){return function(t){return i(e,this,arguments)}})),u("URIError",(function(e){return function(t){return i(e,this,arguments)}})),d("CompileError",(function(e){return function(t){return i(e,this,arguments)}})),d("LinkError",(function(e){return function(t){return i(e,this,arguments)}})),d("RuntimeError",(function(e){return function(t){return i(e,this,arguments)}}))},function(e,t,n){var r=n(23),o=n(38),i=n(43),a=n(24),s=n(113),l=n(55),c=n(117),u=n(118),d=n(119),p=n(120),f=n(121),h=n(6),m=n(36);e.exports=function(e,t,n,g){var v="stackTraceLimit",y=g?2:1,b=e.split("."),x=b[b.length-1],w=r.apply(null,b);if(w){var A=w.prototype;if(!m&&o(A,"cause")&&delete A.cause,!n)return w;var _=r("Error"),S=t((function(e,t){var n=d(g?t:e,void 0),r=g?new w(e):new w;return void 0!==n&&i(r,"message",n),f(r,S,r.stack,2),this&&a(A,this)&&u(r,this,S),arguments.length>y&&p(r,arguments[y]),r}));if(S.prototype=A,"Error"!==x?s?s(S,_):l(S,_,{name:!0}):h&&v in w&&(c(S,w,v),c(S,w,"prepareStackTrace")),l(S,w),!m)try{A.name!==x&&i(A,"name",x),A.constructor=S}catch(e){}return S}}},function(e,t,n){var r=n(114),o=n(20),i=n(16),a=n(115);e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=r(Object.prototype,"__proto__","set"))(n,[]),t=n instanceof Array}catch(e){}return function(n,r){return i(n),a(r),o(n)?(t?e(n,r):n.__proto__=r,n):n}}():void 0)},function(e,t,n){var r=n(14),o=n(30);e.exports=function(e,t,n){try{return r(o(Object.getOwnPropertyDescriptor(e,t)[n]))}catch(e){}}},function(e,t,n){var r=n(116),o=String,i=TypeError;e.exports=function(e){if(r(e))return e;throw new i("Can't set "+o(e)+" as a prototype")}},function(e,t,n){var r=n(20);e.exports=function(e){return r(e)||null===e}},function(e,t,n){var r=n(44).f;e.exports=function(e,t,n){n in e||r(e,n,{configurable:!0,get:function(){return t[n]},set:function(e){t[n]=e}})}},function(e,t,n){var r=n(21),o=n(20),i=n(113);e.exports=function(e,t,n){var a,s;return i&&r(a=t.constructor)&&a!==n&&o(s=a.prototype)&&s!==n.prototype&&i(e,s),e}},function(e,t,n){var r=n(68);e.exports=function(e,t){return void 0===e?arguments.length<2?"":t:r(e)}},function(e,t,n){var r=n(20),o=n(43);e.exports=function(e,t){r(t)&&"cause"in t&&o(e,"cause",t.cause)}},function(e,t,n){var r=n(43),o=n(122),i=n(123),a=Error.captureStackTrace;e.exports=function(e,t,n,s){i&&(a?a(e,t):r(e,"stack",o(n,s)))}},function(e,t,n){var r=n(14),o=Error,i=r("".replace),a=String(new o("zxcasd").stack),s=/\n\s*at [^:]*:[^\n]*/,l=s.test(a);e.exports=function(e,t){if(l&&"string"==typeof e&&!o.prepareStackTrace)for(;t--;)e=i(e,s,"");return e}},function(e,t,n){var r=n(7),o=n(11);e.exports=!r((function(){var e=new Error("a");return!("stack"in e)||(Object.defineProperty(e,"stack",o(1,7)),7!==e.stack)}))},function(e,t,n){var r=n(47),o=n(125),i=Error.prototype;i.toString!==o&&r(i,"toString",o)},function(e,t,n){var r=n(6),o=n(7),i=n(46),a=n(119),s=Error.prototype.toString,l=o((function(){if(r){var e=Object.create(Object.defineProperty({},"name",{get:function(){return this===e}}));if("true"!==s.call(e))return!0}return"2: 1"!==s.call({message:1,name:2})||"Error"!==s.call({})}));e.exports=l?function(){var e=i(this),t=a(e.name,"Error"),n=a(e.message);return t?n?t+": "+n:t:n}:s},function(e,t,n){n(127)},function(e,t,n){var r=n(3),o=n(24),i=n(128),a=n(113),s=n(55),l=n(71),c=n(43),u=n(11),d=n(120),p=n(121),f=n(130),h=n(119),m=n(33)("toStringTag"),g=Error,v=[].push,y=function(e,t){var n,r=o(b,this);a?n=a(new g,r?i(this):b):(n=r?this:l(b),c(n,m,"Error")),void 0!==t&&c(n,"message",h(t)),p(n,y,n.stack,1),arguments.length>2&&d(n,arguments[2]);var s=[];return f(e,v,{that:s}),c(n,"errors",s),n};a?a(y,g):s(y,g,{name:!0});var b=y.prototype=l(g.prototype,{constructor:u(1,y),message:u(1,""),name:u(1,"AggregateError")});r({global:!0,constructor:!0,arity:2},{AggregateError:y})},function(e,t,n){var r=n(38),o=n(21),i=n(39),a=n(53),s=n(129),l=a("IE_PROTO"),c=Object,u=c.prototype;e.exports=s?c.getPrototypeOf:function(e){var t=i(e);if(r(t,l))return t[l];var n=t.constructor;return o(n)&&t instanceof n?n.prototype:t instanceof c?u:null}},function(e,t,n){var r=n(7);e.exports=!r((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},function(e,t,n){var r=n(84),o=n(8),i=n(46),a=n(31),s=n(131),l=n(63),c=n(24),u=n(133),d=n(134),p=n(135),f=TypeError,h=function(e,t){this.stopped=e,this.result=t},m=h.prototype;e.exports=function(e,t,n){var g,v,y,b,x,w,A,_=n&&n.that,S=!(!n||!n.AS_ENTRIES),k=!(!n||!n.IS_RECORD),C=!(!n||!n.IS_ITERATOR),T=!(!n||!n.INTERRUPTED),M=r(t,_),P=function(e){return g&&p(g,"normal",e),new h(!0,e)},O=function(e){return S?(i(e),T?M(e[0],e[1],P):M(e[0],e[1])):T?M(e,P):M(e)};if(k)g=e.iterator;else if(C)g=e;else{if(!(v=d(e)))throw new f(a(e)+" is not iterable");if(s(v)){for(y=0,b=l(e);b>y;y++)if((x=O(e[y]))&&c(m,x))return x;return new h(!1)}g=u(e,v)}for(w=k?e.next:g.next;!(A=o(w,g)).done;){try{x=O(A.value)}catch(e){p(g,"throw",e)}if("object"==typeof x&&x&&c(m,x))return x}return new h(!1)}},function(e,t,n){var r=n(33),o=n(132),i=r("iterator"),a=Array.prototype;e.exports=function(e){return void 0!==e&&(o.Array===e||a[i]===e)}},function(e){e.exports={}},function(e,t,n){var r=n(8),o=n(30),i=n(46),a=n(31),s=n(134),l=TypeError;e.exports=function(e,t){var n=arguments.length<2?s(e):t;if(o(n))return i(r(n,e));throw new l(a(e)+" is not iterable")}},function(e,t,n){var r=n(69),o=n(29),i=n(17),a=n(132),s=n(33)("iterator");e.exports=function(e){if(!i(e))return o(e,s)||o(e,"@@iterator")||a[r(e)]}},function(e,t,n){var r=n(8),o=n(46),i=n(29);e.exports=function(e,t,n){var a,s;o(e);try{if(!(a=i(e,"return"))){if("throw"===t)throw n;return n}a=r(a,e)}catch(e){s=!0,a=e}if("throw"===t)throw n;if(s)throw a;return o(a),n}},function(e,t,n){var r=n(3),o=n(23),i=n(94),a=n(7),s=n(112),l="AggregateError",c=o(l),u=!a((function(){return 1!==c([1]).errors[0]}))&&a((function(){return 7!==c([1],l,{cause:7}).cause}));r({global:!0,constructor:!0,arity:2,forced:u},{AggregateError:s(l,(function(e){return function(t,n){return i(e,this,arguments)}}),u,!0)})},function(e,t,n){var r=n(3),o=n(39),i=n(63),a=n(61),s=n(138);r({target:"Array",proto:!0},{at:function(e){var t=o(this),n=i(t),r=a(e),s=r>=0?r:n+r;return s<0||s>=n?void 0:t[s]}}),s("at")},function(e,t,n){var r=n(33),o=n(71),i=n(44).f,a=r("unscopables"),s=Array.prototype;void 0===s[a]&&i(s,a,{configurable:!0,value:o(null)}),e.exports=function(e){s[a][e]=!0}},function(e,t,n){var r=n(3),o=n(7),i=n(88),a=n(20),s=n(39),l=n(63),c=n(140),u=n(141),d=n(86),p=n(142),f=n(33),h=n(27),m=f("isConcatSpreadable"),g=h>=51||!o((function(){var e=[];return e[m]=!1,e.concat()[0]!==e})),v=function(e){if(!a(e))return!1;var t=e[m];return void 0!==t?!!t:i(e)};r({target:"Array",proto:!0,arity:1,forced:!g||!p("concat")},{concat:function(e){var t,n,r,o,i,a=s(this),p=d(a,0),f=0;for(t=-1,r=arguments.length;t<r;t++)if(v(i=-1===t?a:arguments[t]))for(o=l(i),c(f+o),n=0;n<o;n++,f++)n in i&&u(p,f,i[n]);else c(f+1),u(p,f++,i);return p.length=f,p}})},function(e){var t=TypeError;e.exports=function(e){if(e>9007199254740991)throw t("Maximum allowed index exceeded");return e}},function(e,t,n){var r=n(6),o=n(44),i=n(11);e.exports=function(e,t,n){r?o.f(e,t,i(0,n)):e[t]=n}},function(e,t,n){var r=n(7),o=n(33),i=n(27),a=o("species");e.exports=function(e){return i>=51||!r((function(){var t=[];return(t.constructor={})[a]=function(){return{foo:1}},1!==t[e](Boolean).foo}))}},function(e,t,n){var r=n(3),o=n(144),i=n(138);r({target:"Array",proto:!0},{copyWithin:o}),i("copyWithin")},function(e,t,n){var r=n(39),o=n(60),i=n(63),a=n(145),s=Math.min;e.exports=[].copyWithin||function(e,t){var n=r(this),l=i(n),c=o(e,l),u=o(t,l),d=arguments.length>2?arguments[2]:void 0,p=s((void 0===d?l:o(d,l))-u,l-c),f=1;for(u<c&&c<u+p&&(f=-1,u+=p-1,c+=p-1);p-- >0;)u in n?n[c]=n[u]:a(n,c),c+=f,u+=f;return n}},function(e,t,n){var r=n(31),o=TypeError;e.exports=function(e,t){if(!delete e[t])throw new o("Cannot delete property "+r(t)+" of "+r(e))}},function(e,t,n){var r=n(3),o=n(83).every;r({target:"Array",proto:!0,forced:!n(147)("every")},{every:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},function(e,t,n){var r=n(7);e.exports=function(e,t){var n=[][e];return!!n&&r((function(){n.call(null,t||function(){return 1},1)}))}},function(e,t,n){var r=n(3),o=n(149),i=n(138);r({target:"Array",proto:!0},{fill:o}),i("fill")},function(e,t,n){var r=n(39),o=n(60),i=n(63);e.exports=function(e){for(var t=r(this),n=i(t),a=arguments.length,s=o(a>1?arguments[1]:void 0,n),l=a>2?arguments[2]:void 0,c=void 0===l?n:o(l,n);c>s;)t[s++]=e;return t}},function(e,t,n){var r=n(3),o=n(83).filter;r({target:"Array",proto:!0,forced:!n(142)("filter")},{filter:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},function(e,t,n){var r=n(3),o=n(83).find,i=n(138),a="find",s=!0;a in[]&&Array(1)[a]((function(){s=!1})),r({target:"Array",proto:!0,forced:s},{find:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),i(a)},function(e,t,n){var r=n(3),o=n(83).findIndex,i=n(138),a="findIndex",s=!0;a in[]&&Array(1)[a]((function(){s=!1})),r({target:"Array",proto:!0,forced:s},{findIndex:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),i(a)},function(e,t,n){var r=n(3),o=n(154).findLast,i=n(138);r({target:"Array",proto:!0},{findLast:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),i("findLast")},function(e,t,n){var r=n(84),o=n(13),i=n(39),a=n(63),s=function(e){var t=1===e;return function(n,s,l){for(var c,u=i(n),d=o(u),p=a(d),f=r(s,l);p-- >0;)if(f(c=d[p],p,u))switch(e){case 0:return c;case 1:return p}return t?-1:void 0}};e.exports={findLast:s(0),findLastIndex:s(1)}},function(e,t,n){var r=n(3),o=n(154).findLastIndex,i=n(138);r({target:"Array",proto:!0},{findLastIndex:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),i("findLastIndex")},function(e,t,n){var r=n(3),o=n(157),i=n(39),a=n(63),s=n(61),l=n(86);r({target:"Array",proto:!0},{flat:function(){var e=arguments.length?arguments[0]:void 0,t=i(this),n=a(t),r=l(t,0);return r.length=o(r,t,t,n,0,void 0===e?1:s(e)),r}})},function(e,t,n){var r=n(88),o=n(63),i=n(140),a=n(84),s=function(e,t,n,l,c,u,d,p){for(var f,h,m=c,g=0,v=!!d&&a(d,p);g<l;)g in n&&(f=v?v(n[g],g,t):n[g],u>0&&r(f)?(h=o(f),m=s(e,t,f,h,m,u-1)-1):(i(m+1),e[m]=f),m++),g++;return m};e.exports=s},function(e,t,n){var r=n(3),o=n(157),i=n(30),a=n(39),s=n(63),l=n(86);r({target:"Array",proto:!0},{flatMap:function(e){var t,n=a(this),r=s(n);return i(e),(t=l(n,0)).length=o(t,n,n,r,0,1,e,arguments.length>1?arguments[1]:void 0),t}})},function(e,t,n){var r=n(3),o=n(160);r({target:"Array",proto:!0,forced:[].forEach!==o},{forEach:o})},function(e,t,n){var r=n(83).forEach,o=n(147)("forEach");e.exports=o?[].forEach:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}},function(e,t,n){var r=n(3),o=n(162);r({target:"Array",stat:!0,forced:!n(164)((function(e){Array.from(e)}))},{from:o})},function(e,t,n){var r=n(84),o=n(8),i=n(39),a=n(163),s=n(131),l=n(89),c=n(63),u=n(141),d=n(133),p=n(134),f=Array;e.exports=function(e){var t=i(e),n=l(this),h=arguments.length,m=h>1?arguments[1]:void 0,g=void 0!==m;g&&(m=r(m,h>2?arguments[2]:void 0));var v,y,b,x,w,A,_=p(t),S=0;if(!_||this===f&&s(_))for(v=c(t),y=n?new this(v):f(v);v>S;S++)A=g?m(t[S],S):t[S],u(y,S,A);else for(y=n?new this:[],w=(x=d(t,_)).next;!(b=o(w,x)).done;S++)A=g?a(x,m,[b.value,S],!0):b.value,u(y,S,A);return y.length=S,y}},function(e,t,n){var r=n(46),o=n(135);e.exports=function(e,t,n,i){try{return i?t(r(n)[0],n[1]):t(n)}catch(t){o(e,"throw",t)}}},function(e,t,n){var r=n(33)("iterator"),o=!1;try{var i=0,a={next:function(){return{done:!!i++}},return:function(){o=!0}};a[r]=function(){return this},Array.from(a,(function(){throw 2}))}catch(e){}e.exports=function(e,t){try{if(!t&&!o)return!1}catch(e){return!1}var n=!1;try{var i={};i[r]=function(){return{next:function(){return{done:n=!0}}}},e(i)}catch(e){}return n}},function(e,t,n){var r=n(3),o=n(59).includes,i=n(7),a=n(138);r({target:"Array",proto:!0,forced:i((function(){return!Array(1).includes()}))},{includes:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),a("includes")},function(e,t,n){var r=n(3),o=n(85),i=n(59).indexOf,a=n(147),s=o([].indexOf),l=!!s&&1/s([1],1,-0)<0;r({target:"Array",proto:!0,forced:l||!a("indexOf")},{indexOf:function(e){var t=arguments.length>1?arguments[1]:void 0;return l?s(this,e,t)||0:i(this,e,t)}})},function(e,t,n){n(3)({target:"Array",stat:!0},{isArray:n(88)})},function(e,t,n){var r=n(12),o=n(138),i=n(132),a=n(51),s=n(44).f,l=n(169),c=n(172),u=n(36),d=n(6),p="Array Iterator",f=a.set,h=a.getterFor(p);e.exports=l(Array,"Array",(function(e,t){f(this,{type:p,target:r(e),index:0,kind:t})}),(function(){var e=h(this),t=e.target,n=e.index++;if(!t||n>=t.length)return e.target=void 0,c(void 0,!0);switch(e.kind){case"keys":return c(n,!1);case"values":return c(t[n],!1)}return c([n,t[n]],!1)}),"values");var m=i.Arguments=i.Array;if(o("keys"),o("values"),o("entries"),!u&&d&&"values"!==m.name)try{s(m,"name",{value:"values"})}catch(e){}},function(e,t,n){var r=n(3),o=n(8),i=n(36),a=n(49),s=n(21),l=n(170),c=n(128),u=n(113),d=n(82),p=n(43),f=n(47),h=n(33),m=n(132),g=n(171),v=a.PROPER,y=a.CONFIGURABLE,b=g.IteratorPrototype,x=g.BUGGY_SAFARI_ITERATORS,w=h("iterator"),A="keys",_="values",S="entries",k=function(){return this};e.exports=function(e,t,n,a,h,g,C){l(n,t,a);var T,M,P,O=function(e){if(e===h&&N)return N;if(!x&&e&&e in R)return R[e];switch(e){case A:case _:case S:return function(){return new n(this,e)}}return function(){return new n(this)}},E=t+" Iterator",D=!1,R=e.prototype,I=R[w]||R["@@iterator"]||h&&R[h],N=!x&&I||O(h),L="Array"===t&&R.entries||I;if(L&&(T=c(L.call(new e)))!==Object.prototype&&T.next&&(i||c(T)===b||(u?u(T,b):s(T[w])||f(T,w,k)),d(T,E,!0,!0),i&&(m[E]=k)),v&&h===_&&I&&I.name!==_&&(!i&&y?p(R,"name",_):(D=!0,N=function(){return o(I,this)})),h)if(M={values:O(_),keys:g?N:O(A),entries:O(S)},C)for(P in M)(x||D||!(P in R))&&f(R,P,M[P]);else r({target:t,proto:!0,forced:x||D},M);return i&&!C||R[w]===N||f(R,w,N,{name:h}),m[t]=N,M}},function(e,t,n){var r=n(171).IteratorPrototype,o=n(71),i=n(11),a=n(82),s=n(132),l=function(){return this};e.exports=function(e,t,n,c){var u=t+" Iterator";return e.prototype=o(r,{next:i(+!c,n)}),a(e,u,!1,!0),s[u]=l,e}},function(e,t,n){var r,o,i,a=n(7),s=n(21),l=n(20),c=n(71),u=n(128),d=n(47),p=n(33),f=n(36),h=p("iterator"),m=!1;[].keys&&("next"in(i=[].keys())?(o=u(u(i)))!==Object.prototype&&(r=o):m=!0),!l(r)||a((function(){var e={};return r[h].call(e)!==e}))?r={}:f&&(r=c(r)),s(r[h])||d(r,h,(function(){return this})),e.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:m}},function(e){e.exports=function(e,t){return{value:e,done:t}}},function(e,t,n){var r=n(3),o=n(14),i=n(13),a=n(12),s=n(147),l=o([].join);r({target:"Array",proto:!0,forced:i!==Object||!s("join",",")},{join:function(e){return l(a(this),void 0===e?",":e)}})},function(e,t,n){var r=n(3),o=n(175);r({target:"Array",proto:!0,forced:o!==[].lastIndexOf},{lastIndexOf:o})},function(e,t,n){var r=n(94),o=n(12),i=n(61),a=n(63),s=n(147),l=Math.min,c=[].lastIndexOf,u=!!c&&1/[1].lastIndexOf(1,-0)<0,d=s("lastIndexOf"),p=u||!d;e.exports=p?function(e){if(u)return r(c,this,arguments)||0;var t=o(this),n=a(t);if(0===n)return-1;var s=n-1;for(arguments.length>1&&(s=l(s,i(arguments[1]))),s<0&&(s=n+s);s>=0;s--)if(s in t&&t[s]===e)return s||0;return-1}:c},function(e,t,n){var r=n(3),o=n(83).map;r({target:"Array",proto:!0,forced:!n(142)("map")},{map:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},function(e,t,n){var r=n(3),o=n(7),i=n(89),a=n(141),s=Array;r({target:"Array",stat:!0,forced:o((function(){function e(){}return!(s.of.call(e)instanceof e)}))},{of:function(){for(var e=0,t=arguments.length,n=new(i(this)?this:s)(t);t>e;)a(n,e,arguments[e++]);return n.length=t,n}})},function(e,t,n){var r=n(3),o=n(39),i=n(63),a=n(179),s=n(140);r({target:"Array",proto:!0,arity:1,forced:n(7)((function(){return 4294967297!==[].push.call({length:4294967296},1)}))||!function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(e){return e instanceof TypeError}}()},{push:function(e){var t=o(this),n=i(t),r=arguments.length;s(n+r);for(var l=0;l<r;l++)t[n]=arguments[l],n++;return a(t,n),n}})},function(e,t,n){var r=n(6),o=n(88),i=TypeError,a=Object.getOwnPropertyDescriptor,s=r&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(e){return e instanceof TypeError}}();e.exports=s?function(e,t){if(o(e)&&!a(e,"length").writable)throw new i("Cannot set read only .length");return e.length=t}:function(e,t){return e.length=t}},function(e,t,n){var r=n(3),o=n(181).left,i=n(147),a=n(27);r({target:"Array",proto:!0,forced:!n(182)&&a>79&&a<83||!i("reduce")},{reduce:function(e){var t=arguments.length;return o(this,e,t,t>1?arguments[1]:void 0)}})},function(e,t,n){var r=n(30),o=n(39),i=n(13),a=n(63),s=TypeError,l="Reduce of empty array with no initial value",c=function(e){return function(t,n,c,u){var d=o(t),p=i(d),f=a(d);if(r(n),0===f&&c<2)throw new s(l);var h=e?f-1:0,m=e?-1:1;if(c<2)for(;;){if(h in p){u=p[h],h+=m;break}if(h+=m,e?h<0:f<=h)throw new s(l)}for(;e?h>=0:f>h;h+=m)h in p&&(u=n(u,p[h],h,d));return u}};e.exports={left:c(!1),right:c(!0)}},function(e,t,n){var r=n(4),o=n(15);e.exports="process"===o(r.process)},function(e,t,n){var r=n(3),o=n(181).right,i=n(147),a=n(27);r({target:"Array",proto:!0,forced:!n(182)&&a>79&&a<83||!i("reduceRight")},{reduceRight:function(e){return o(this,e,arguments.length,arguments.length>1?arguments[1]:void 0)}})},function(e,t,n){var r=n(3),o=n(14),i=n(88),a=o([].reverse),s=[1,2];r({target:"Array",proto:!0,forced:String(s)===String(s.reverse())},{reverse:function(){return i(this)&&(this.length=this.length),a(this)}})},function(e,t,n){var r=n(3),o=n(88),i=n(89),a=n(20),s=n(60),l=n(63),c=n(12),u=n(141),d=n(33),p=n(142),f=n(76),h=p("slice"),m=d("species"),g=Array,v=Math.max;r({target:"Array",proto:!0,forced:!h},{slice:function(e,t){var n,r,d,p=c(this),h=l(p),y=s(e,h),b=s(void 0===t?h:t,h);if(o(p)&&(n=p.constructor,(i(n)&&(n===g||o(n.prototype))||a(n)&&null===(n=n[m]))&&(n=void 0),n===g||void 0===n))return f(p,y,b);for(r=new(void 0===n?g:n)(v(b-y,0)),d=0;y<b;y++,d++)y in p&&u(r,d,p[y]);return r.length=d,r}})},function(e,t,n){var r=n(3),o=n(83).some;r({target:"Array",proto:!0,forced:!n(147)("some")},{some:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},function(e,t,n){var r=n(3),o=n(14),i=n(30),a=n(39),s=n(63),l=n(145),c=n(68),u=n(7),d=n(188),p=n(147),f=n(189),h=n(190),m=n(27),g=n(191),v=[],y=o(v.sort),b=o(v.push),x=u((function(){v.sort(void 0)})),w=u((function(){v.sort(null)})),A=p("sort"),_=!u((function(){if(m)return m<70;if(!(f&&f>3)){if(h)return!0;if(g)return g<603;var e,t,n,r,o="";for(e=65;e<76;e++){switch(t=String.fromCharCode(e),e){case 66:case 69:case 70:case 72:n=3;break;case 68:case 71:n=4;break;default:n=2}for(r=0;r<47;r++)v.push({k:t+r,v:n})}for(v.sort((function(e,t){return t.v-e.v})),r=0;r<v.length;r++)t=v[r].k.charAt(0),o.charAt(o.length-1)!==t&&(o+=t);return"DGBEFHACIJK"!==o}}));r({target:"Array",proto:!0,forced:x||!w||!A||!_},{sort:function(e){void 0!==e&&i(e);var t=a(this);if(_)return void 0===e?y(t):y(t,e);var n,r,o=[],u=s(t);for(r=0;r<u;r++)r in t&&b(o,t[r]);for(d(o,function(e){return function(t,n){return void 0===n?-1:void 0===t?1:void 0!==e?+e(t,n)||0:c(t)>c(n)?1:-1}}(e)),n=s(o),r=0;r<n;)t[r]=o[r++];for(;r<u;)l(t,r++);return t}})},function(e,t,n){var r=n(76),o=Math.floor,i=function(e,t){var n=e.length;if(n<8)for(var a,s,l=1;l<n;){for(s=l,a=e[l];s&&t(e[s-1],a)>0;)e[s]=e[--s];s!==l++&&(e[s]=a)}else for(var c=o(n/2),u=i(r(e,0,c),t),d=i(r(e,c),t),p=u.length,f=d.length,h=0,m=0;h<p||m<f;)e[h+m]=h<p&&m<f?t(u[h],d[m])<=0?u[h++]:d[m++]:h<p?u[h++]:d[m++];return e};e.exports=i},function(e,t,n){var r=n(28).match(/firefox\/(\d+)/i);e.exports=!!r&&+r[1]},function(e,t,n){var r=n(28);e.exports=/MSIE|Trident/.test(r)},function(e,t,n){var r=n(28).match(/AppleWebKit\/(\d+)\./);e.exports=!!r&&+r[1]},function(e,t,n){n(193)("Array")},function(e,t,n){var r=n(23),o=n(77),i=n(33),a=n(6),s=i("species");e.exports=function(e){var t=r(e);a&&t&&!t[s]&&o(t,s,{configurable:!0,get:function(){return this}})}},function(e,t,n){var r=n(3),o=n(39),i=n(60),a=n(61),s=n(63),l=n(179),c=n(140),u=n(86),d=n(141),p=n(145),f=n(142)("splice"),h=Math.max,m=Math.min;r({target:"Array",proto:!0,forced:!f},{splice:function(e,t){var n,r,f,g,v,y,b=o(this),x=s(b),w=i(e,x),A=arguments.length;for(0===A?n=r=0:1===A?(n=0,r=x-w):(n=A-2,r=m(h(a(t),0),x-w)),c(x+n-r),f=u(b,r),g=0;g<r;g++)(v=w+g)in b&&d(f,g,b[v]);if(f.length=r,n<r){for(g=w;g<x-r;g++)y=g+n,(v=g+r)in b?b[y]=b[v]:p(b,y);for(g=x;g>x-r+n;g--)p(b,g-1)}else if(n>r)for(g=x-r;g>w;g--)y=g+n-1,(v=g+r-1)in b?b[y]=b[v]:p(b,y);for(g=0;g<n;g++)b[g+w]=arguments[g+2];return l(b,x-r+n),f}})},function(e,t,n){var r=n(3),o=n(196),i=n(12),a=n(138),s=Array;r({target:"Array",proto:!0},{toReversed:function(){return o(i(this),s)}}),a("toReversed")},function(e,t,n){var r=n(63);e.exports=function(e,t){for(var n=r(e),o=new t(n),i=0;i<n;i++)o[i]=e[n-i-1];return o}},function(e,t,n){var r=n(3),o=n(14),i=n(30),a=n(12),s=n(198),l=n(199),c=n(138),u=Array,d=o(l("Array","sort"));r({target:"Array",proto:!0},{toSorted:function(e){void 0!==e&&i(e);var t=a(this),n=s(u,t);return d(n,e)}}),c("toSorted")},function(e,t,n){var r=n(63);e.exports=function(e,t,n){for(var o=0,i=arguments.length>2?n:r(t),a=new e(i);i>o;)a[o]=t[o++];return a}},function(e,t,n){var r=n(4);e.exports=function(e,t){var n=r[e],o=n&&n.prototype;return o&&o[t]}},function(e,t,n){var r=n(3),o=n(138),i=n(140),a=n(63),s=n(60),l=n(12),c=n(61),u=Array,d=Math.max,p=Math.min;r({target:"Array",proto:!0},{toSpliced:function(e,t){var n,r,o,f,h=l(this),m=a(h),g=s(e,m),v=arguments.length,y=0;for(0===v?n=r=0:1===v?(n=0,r=m-g):(n=v-2,r=p(d(c(t),0),m-g)),o=i(m+n-r),f=u(o);y<g;y++)f[y]=h[y];for(;y<g+n;y++)f[y]=arguments[y-g+2];for(;y<o;y++)f[y]=h[y+r-n];return f}}),o("toSpliced")},function(e,t,n){n(138)("flat")},function(e,t,n){n(138)("flatMap")},function(e,t,n){var r=n(3),o=n(39),i=n(63),a=n(179),s=n(145),l=n(140);r({target:"Array",proto:!0,arity:1,forced:1!==[].unshift(0)||!function(){try{Object.defineProperty([],"length",{writable:!1}).unshift()}catch(e){return e instanceof TypeError}}()},{unshift:function(e){var t=o(this),n=i(t),r=arguments.length;if(r){l(n+r);for(var c=n;c--;){var u=c+r;c in t?t[u]=t[c]:s(t,u)}for(var d=0;d<r;d++)t[d]=arguments[d]}return a(t,n+r)}})},function(e,t,n){var r=n(3),o=n(205),i=n(12),a=Array;r({target:"Array",proto:!0},{with:function(e,t){return o(i(this),a,e,t)}})},function(e,t,n){var r=n(63),o=n(61),i=RangeError;e.exports=function(e,t,n,a){var s=r(e),l=o(n),c=l<0?s+l:l;if(c>=s||c<0)throw new i("Incorrect index");for(var u=new t(s),d=0;d<s;d++)u[d]=d===c?a:e[d];return u}},function(e,t,n){var r=n(3),o=n(4),i=n(207),a=n(193),s="ArrayBuffer",l=i[s];r({global:!0,constructor:!0,forced:o[s]!==l},{ArrayBuffer:l}),a(s)},function(e,t,n){var r=n(4),o=n(14),i=n(6),a=n(208),s=n(49),l=n(43),c=n(77),u=n(209),d=n(7),p=n(210),f=n(61),h=n(64),m=n(211),g=n(212),v=n(215),y=n(128),b=n(113),x=n(149),w=n(76),A=n(118),_=n(55),S=n(82),k=n(51),C=s.PROPER,T=s.CONFIGURABLE,M="ArrayBuffer",P="DataView",O="prototype",E="Wrong index",D=k.getterFor(M),R=k.getterFor(P),I=k.set,N=r[M],L=N,j=L&&L[O],$=r[P],z=$&&$[O],F=Object.prototype,B=r.Array,H=r.RangeError,V=o(x),W=o([].reverse),U=v.pack,q=v.unpack,G=function(e){return[255&e]},Y=function(e){return[255&e,e>>8&255]},X=function(e){return[255&e,e>>8&255,e>>16&255,e>>24&255]},K=function(e){return e[3]<<24|e[2]<<16|e[1]<<8|e[0]},Z=function(e){return U(g(e),23,4)},J=function(e){return U(e,52,8)},Q=function(e,t,n){c(e[O],t,{configurable:!0,get:function(){return n(this)[t]}})},ee=function(e,t,n,r){var o=R(e),i=m(n),a=!!r;if(i+t>o.byteLength)throw new H(E);var s=o.bytes,l=i+o.byteOffset,c=w(s,l,l+t);return a?c:W(c)},te=function(e,t,n,r,o,i){var a=R(e),s=m(n),l=r(+o),c=!!i;if(s+t>a.byteLength)throw new H(E);for(var u=a.bytes,d=s+a.byteOffset,p=0;p<t;p++)u[d+p]=l[c?p:t-p-1]};if(a){var ne=C&&N.name!==M;d((function(){N(1)}))&&d((function(){new N(-1)}))&&!d((function(){return new N,new N(1.5),new N(NaN),1!==N.length||ne&&!T}))?ne&&T&&l(N,"name",M):((L=function(e){return p(this,j),A(new N(m(e)),this,L)})[O]=j,j.constructor=L,_(L,N)),b&&y(z)!==F&&b(z,F);var re=new $(new L(2)),oe=o(z.setInt8);re.setInt8(0,2147483648),re.setInt8(1,2147483649),!re.getInt8(0)&&re.getInt8(1)||u(z,{setInt8:function(e,t){oe(this,e,t<<24>>24)},setUint8:function(e,t){oe(this,e,t<<24>>24)}},{unsafe:!0})}else j=(L=function(e){p(this,j);var t=m(e);I(this,{type:M,bytes:V(B(t),0),byteLength:t}),i||(this.byteLength=t,this.detached=!1)})[O],z=($=function(e,t,n){p(this,z),p(e,j);var r=D(e),o=r.byteLength,a=f(t);if(a<0||a>o)throw new H("Wrong offset");if(a+(n=void 0===n?o-a:h(n))>o)throw new H("Wrong length");I(this,{type:P,buffer:e,byteLength:n,byteOffset:a,bytes:r.bytes}),i||(this.buffer=e,this.byteLength=n,this.byteOffset=a)})[O],i&&(Q(L,"byteLength",D),Q($,"buffer",R),Q($,"byteLength",R),Q($,"byteOffset",R)),u(z,{getInt8:function(e){return ee(this,1,e)[0]<<24>>24},getUint8:function(e){return ee(this,1,e)[0]},getInt16:function(e){var t=ee(this,2,e,arguments.length>1&&arguments[1]);return(t[1]<<8|t[0])<<16>>16},getUint16:function(e){var t=ee(this,2,e,arguments.length>1&&arguments[1]);return t[1]<<8|t[0]},getInt32:function(e){return K(ee(this,4,e,arguments.length>1&&arguments[1]))},getUint32:function(e){return K(ee(this,4,e,arguments.length>1&&arguments[1]))>>>0},getFloat32:function(e){return q(ee(this,4,e,arguments.length>1&&arguments[1]),23)},getFloat64:function(e){return q(ee(this,8,e,arguments.length>1&&arguments[1]),52)},setInt8:function(e,t){te(this,1,e,G,t)},setUint8:function(e,t){te(this,1,e,G,t)},setInt16:function(e,t){te(this,2,e,Y,t,arguments.length>2&&arguments[2])},setUint16:function(e,t){te(this,2,e,Y,t,arguments.length>2&&arguments[2])},setInt32:function(e,t){te(this,4,e,X,t,arguments.length>2&&arguments[2])},setUint32:function(e,t){te(this,4,e,X,t,arguments.length>2&&arguments[2])},setFloat32:function(e,t){te(this,4,e,Z,t,arguments.length>2&&arguments[2])},setFloat64:function(e,t){te(this,8,e,J,t,arguments.length>2&&arguments[2])}});S(L,M),S($,P),e.exports={ArrayBuffer:L,DataView:$}},function(e){e.exports="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView},function(e,t,n){var r=n(47);e.exports=function(e,t,n){for(var o in t)r(e,o,t[o],n);return e}},function(e,t,n){var r=n(24),o=TypeError;e.exports=function(e,t){if(r(t,e))return e;throw new o("Incorrect invocation")}},function(e,t,n){var r=n(61),o=n(64),i=RangeError;e.exports=function(e){if(void 0===e)return 0;var t=r(e),n=o(t);if(t!==n)throw new i("Wrong length or index");return n}},function(e,t,n){var r=n(213);e.exports=Math.fround||function(e){return r(e,1.1920928955078125e-7,34028234663852886e22,11754943508222875e-54)}},function(e,t,n){var r=n(214),o=Math.abs,i=2220446049250313e-31,a=1/i;e.exports=function(e,t,n,s){var l=+e,c=o(l),u=r(l);if(c<s)return u*function(e){return e+a-a}(c/s/t)*s*t;var d=(1+t/i)*c,p=d-(d-c);return p>n||p!=p?u*(1/0):u*p}},function(e){e.exports=Math.sign||function(e){var t=+e;return 0===t||t!=t?t:t<0?-1:1}},function(e){var t=Array,n=Math.abs,r=Math.pow,o=Math.floor,i=Math.log,a=Math.LN2;e.exports={pack:function(e,s,l){var c,u,d,p=t(l),f=8*l-s-1,h=(1<<f)-1,m=h>>1,g=23===s?r(2,-24)-r(2,-77):0,v=e<0||0===e&&1/e<0?1:0,y=0;for((e=n(e))!=e||e===1/0?(u=e!=e?1:0,c=h):(c=o(i(e)/a),e*(d=r(2,-c))<1&&(c--,d*=2),(e+=c+m>=1?g/d:g*r(2,1-m))*d>=2&&(c++,d/=2),c+m>=h?(u=0,c=h):c+m>=1?(u=(e*d-1)*r(2,s),c+=m):(u=e*r(2,m-1)*r(2,s),c=0));s>=8;)p[y++]=255&u,u/=256,s-=8;for(c=c<<s|u,f+=s;f>0;)p[y++]=255&c,c/=256,f-=8;return p[--y]|=128*v,p},unpack:function(e,t){var n,o=e.length,i=8*o-t-1,a=(1<<i)-1,s=a>>1,l=i-7,c=o-1,u=e[c--],d=127&u;for(u>>=7;l>0;)d=256*d+e[c--],l-=8;for(n=d&(1<<-l)-1,d>>=-l,l+=t;l>0;)n=256*n+e[c--],l-=8;if(0===d)d=1-s;else{if(d===a)return n?NaN:u?-1/0:1/0;n+=r(2,t),d-=s}return(u?-1:1)*n*r(2,d-t)}}},function(e,t,n){var r=n(3),o=n(217);r({target:"ArrayBuffer",stat:!0,forced:!o.NATIVE_ARRAY_BUFFER_VIEWS},{isView:o.isView})},function(e,t,n){var r,o,i,a=n(208),s=n(6),l=n(4),c=n(21),u=n(20),d=n(38),p=n(69),f=n(31),h=n(43),m=n(47),g=n(77),v=n(24),y=n(128),b=n(113),x=n(33),w=n(40),A=n(51),_=A.enforce,S=A.get,k=l.Int8Array,C=k&&k.prototype,T=l.Uint8ClampedArray,M=T&&T.prototype,P=k&&y(k),O=C&&y(C),E=Object.prototype,D=l.TypeError,R=x("toStringTag"),I=w("TYPED_ARRAY_TAG"),N="TypedArrayConstructor",L=a&&!!b&&"Opera"!==p(l.opera),j=!1,$={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},z={BigInt64Array:8,BigUint64Array:8},F=function(e){var t=y(e);if(u(t)){var n=S(t);return n&&d(n,N)?n[N]:F(t)}},B=function(e){if(!u(e))return!1;var t=p(e);return d($,t)||d(z,t)};for(r in $)(i=(o=l[r])&&o.prototype)?_(i)[N]=o:L=!1;for(r in z)(i=(o=l[r])&&o.prototype)&&(_(i)[N]=o);if((!L||!c(P)||P===Function.prototype)&&(P=function(){throw new D("Incorrect invocation")},L))for(r in $)l[r]&&b(l[r],P);if((!L||!O||O===E)&&(O=P.prototype,L))for(r in $)l[r]&&b(l[r].prototype,O);if(L&&y(M)!==O&&b(M,O),s&&!d(O,R))for(r in j=!0,g(O,R,{configurable:!0,get:function(){return u(this)?this[I]:void 0}}),$)l[r]&&h(l[r],I,r);e.exports={NATIVE_ARRAY_BUFFER_VIEWS:L,TYPED_ARRAY_TAG:j&&I,aTypedArray:function(e){if(B(e))return e;throw new D("Target is not a typed array")},aTypedArrayConstructor:function(e){if(c(e)&&(!b||v(P,e)))return e;throw new D(f(e)+" is not a typed array constructor")},exportTypedArrayMethod:function(e,t,n,r){if(s){if(n)for(var o in $){var i=l[o];if(i&&d(i.prototype,e))try{delete i.prototype[e]}catch(n){try{i.prototype[e]=t}catch(e){}}}O[e]&&!n||m(O,e,n?t:L&&C[e]||t,r)}},exportTypedArrayStaticMethod:function(e,t,n){var r,o;if(s){if(b){if(n)for(r in $)if((o=l[r])&&d(o,e))try{delete o[e]}catch(e){}if(P[e]&&!n)return;try{return m(P,e,n?t:L&&P[e]||t)}catch(e){}}for(r in $)!(o=l[r])||o[e]&&!n||m(o,e,t)}},getTypedArrayConstructor:F,isView:function(e){if(!u(e))return!1;var t=p(e);return"DataView"===t||d($,t)||d(z,t)},isTypedArray:B,TypedArray:P,TypedArrayPrototype:O}},function(e,t,n){var r=n(3),o=n(85),i=n(7),a=n(207),s=n(46),l=n(60),c=n(64),u=n(219),d=a.ArrayBuffer,p=a.DataView,f=p.prototype,h=o(d.prototype.slice),m=o(f.getUint8),g=o(f.setUint8);r({target:"ArrayBuffer",proto:!0,unsafe:!0,forced:i((function(){return!new d(2).slice(1,void 0).byteLength}))},{slice:function(e,t){if(h&&void 0===t)return h(s(this),e);for(var n=s(this).byteLength,r=l(e,n),o=l(void 0===t?n:t,n),i=new(u(this,d))(c(o-r)),a=new p(this),f=new p(i),v=0;r<o;)g(f,v++,m(a,r++));return i}})},function(e,t,n){var r=n(46),o=n(220),i=n(17),a=n(33)("species");e.exports=function(e,t){var n,s=r(e).constructor;return void 0===s||i(n=r(s)[a])?t:o(n)}},function(e,t,n){var r=n(89),o=n(31),i=TypeError;e.exports=function(e){if(r(e))return e;throw new i(o(e)+" is not a constructor")}},function(e,t,n){n(222)},function(e,t,n){var r=n(3),o=n(207);r({global:!0,constructor:!0,forced:!n(208)},{DataView:o.DataView})},function(e,t,n){var r=n(6),o=n(77),i=n(224),a=ArrayBuffer.prototype;r&&!("detached"in a)&&o(a,"detached",{configurable:!0,get:function(){return i(this)}})},function(e,t,n){var r=n(14),o=n(225),i=r(ArrayBuffer.prototype.slice);e.exports=function(e){if(0!==o(e))return!1;try{return i(e,0,0),!1}catch(e){return!0}}},function(e,t,n){var r=n(114),o=n(15),i=TypeError;e.exports=r(ArrayBuffer.prototype,"byteLength","get")||function(e){if("ArrayBuffer"!==o(e))throw new i("ArrayBuffer expected");return e.byteLength}},function(e,t,n){var r=n(3),o=n(227);o&&r({target:"ArrayBuffer",proto:!0},{transfer:function(){return o(this,arguments.length?arguments[0]:void 0,!0)}})},function(e,t,n){var r=n(4),o=n(14),i=n(114),a=n(211),s=n(224),l=n(225),c=n(228),u=n(230),d=r.structuredClone,p=r.ArrayBuffer,f=r.DataView,h=r.TypeError,m=Math.min,g=p.prototype,v=f.prototype,y=o(g.slice),b=i(g,"resizable","get"),x=i(g,"maxByteLength","get"),w=o(v.getInt8),A=o(v.setInt8);e.exports=(u||c)&&function(e,t,n){var r,o=l(e),i=void 0===t?o:a(t),g=!b||!b(e);if(s(e))throw new h("ArrayBuffer is detached");if(u&&(e=d(e,{transfer:[e]}),o===i&&(n||g)))return e;if(o>=i&&(!n||g))r=y(e,0,i);else{var v=n&&!g&&x?{maxByteLength:x(e)}:void 0;r=new p(i,v);for(var _=new f(e),S=new f(r),k=m(i,o),C=0;C<k;C++)A(S,C,w(_,C))}return u||c(e),r}},function(e,t,n){var r,o,i,a,s=n(4),l=n(229),c=n(230),u=s.structuredClone,d=s.ArrayBuffer,p=s.MessageChannel,f=!1;if(c)f=function(e){u(e,{transfer:[e]})};else if(d)try{p||(r=l("worker_threads"))&&(p=r.MessageChannel),p&&(o=new p,i=new d(2),a=function(e){o.port1.postMessage(null,[e])},2===i.byteLength&&(a(i),0===i.byteLength&&(f=a)))}catch(e){}e.exports=f},function(e,t,n){var r=n(182);e.exports=function(e){try{if(r)return Function('return require("'+e+'")')()}catch(e){}}},function(e,t,n){var r=n(4),o=n(7),i=n(27),a=n(231),s=n(232),l=n(182),c=r.structuredClone;e.exports=!!c&&!o((function(){if(s&&i>92||l&&i>94||a&&i>97)return!1;var e=new ArrayBuffer(8),t=c(e,{transfer:[e]});return 0!==e.byteLength||8!==t.byteLength}))},function(e,t,n){var r=n(232),o=n(182);e.exports=!r&&!o&&"object"==typeof window&&"object"==typeof document},function(e){e.exports="object"==typeof Deno&&Deno&&"object"==typeof Deno.version},function(e,t,n){var r=n(3),o=n(227);o&&r({target:"ArrayBuffer",proto:!0},{transferToFixedLength:function(){return o(this,arguments.length?arguments[0]:void 0,!1)}})},function(e,t,n){var r=n(3),o=n(14),i=n(7)((function(){return 120!==new Date(16e11).getYear()})),a=o(Date.prototype.getFullYear);r({target:"Date",proto:!0,forced:i},{getYear:function(){return a(this)-1900}})},function(e,t,n){var r=n(3),o=n(14),i=Date,a=o(i.prototype.getTime);r({target:"Date",stat:!0},{now:function(){return a(new i)}})},function(e,t,n){var r=n(3),o=n(14),i=n(61),a=Date.prototype,s=o(a.getTime),l=o(a.setFullYear);r({target:"Date",proto:!0},{setYear:function(e){s(this);var t=i(e);return l(this,t>=0&&t<=99?t+1900:t)}})},function(e,t,n){n(3)({target:"Date",proto:!0},{toGMTString:Date.prototype.toUTCString})},function(e,t,n){var r=n(3),o=n(239);r({target:"Date",proto:!0,forced:Date.prototype.toISOString!==o},{toISOString:o})},function(e,t,n){var r=n(14),o=n(7),i=n(240).start,a=RangeError,s=isFinite,l=Math.abs,c=Date.prototype,u=c.toISOString,d=r(c.getTime),p=r(c.getUTCDate),f=r(c.getUTCFullYear),h=r(c.getUTCHours),m=r(c.getUTCMilliseconds),g=r(c.getUTCMinutes),v=r(c.getUTCMonth),y=r(c.getUTCSeconds);e.exports=o((function(){return"0385-07-25T07:06:39.999Z"!==u.call(new Date(-50000000000001))}))||!o((function(){u.call(new Date(NaN))}))?function(){if(!s(d(this)))throw new a("Invalid time value");var e=this,t=f(e),n=m(e),r=t<0?"-":t>9999?"+":"";return r+i(l(t),r?6:4,0)+"-"+i(v(e)+1,2,0)+"-"+i(p(e),2,0)+"T"+i(h(e),2,0)+":"+i(g(e),2,0)+":"+i(y(e),2,0)+"."+i(n,3,0)+"Z"}:u},function(e,t,n){var r=n(14),o=n(64),i=n(68),a=n(241),s=n(16),l=r(a),c=r("".slice),u=Math.ceil,d=function(e){return function(t,n,r){var a,d,p=i(s(t)),f=o(n),h=p.length,m=void 0===r?" ":i(r);return f<=h||""===m?p:((d=l(m,u((a=f-h)/m.length))).length>a&&(d=c(d,0,a)),e?p+d:d+p)}};e.exports={start:d(!1),end:d(!0)}},function(e,t,n){var r=n(61),o=n(68),i=n(16),a=RangeError;e.exports=function(e){var t=o(i(this)),n="",s=r(e);if(s<0||s===1/0)throw new a("Wrong number of repetitions");for(;s>0;(s>>>=1)&&(t+=t))1&s&&(n+=t);return n}},function(e,t,n){var r=n(3),o=n(7),i=n(39),a=n(19);r({target:"Date",proto:!0,arity:1,forced:o((function(){return null!==new Date(NaN).toJSON()||1!==Date.prototype.toJSON.call({toISOString:function(){return 1}})}))},{toJSON:function(e){var t=i(this),n=a(t,"number");return"number"!=typeof n||isFinite(n)?t.toISOString():null}})},function(e,t,n){var r=n(38),o=n(47),i=n(244),a=n(33)("toPrimitive"),s=Date.prototype;r(s,a)||o(s,a,i)},function(e,t,n){var r=n(46),o=n(32),i=TypeError;e.exports=function(e){if(r(this),"string"===e||"default"===e)e="string";else if("number"!==e)throw new i("Incorrect hint");return o(this,e)}},function(e,t,n){var r=n(14),o=n(47),i=Date.prototype,a="Invalid Date",s="toString",l=r(i[s]),c=r(i.getTime);String(new Date(NaN))!==a&&o(i,s,(function(){var e=c(this);return e==e?l(this):a}))},function(e,t,n){var r=n(3),o=n(14),i=n(68),a=o("".charAt),s=o("".charCodeAt),l=o(/./.exec),c=o(1..toString),u=o("".toUpperCase),d=/[\w*+\-./@]/,p=function(e,t){for(var n=c(e,16);n.length<t;)n="0"+n;return n};r({global:!0},{escape:function(e){for(var t,n,r=i(e),o="",c=r.length,f=0;f<c;)t=a(r,f++),l(d,t)?o+=t:o+=(n=s(t,0))<256?"%"+p(n,2):"%u"+u(p(n,4));return o}})},function(e,t,n){var r=n(3),o=n(248);r({target:"Function",proto:!0,forced:Function.bind!==o},{bind:o})},function(e,t,n){var r=n(14),o=n(30),i=n(20),a=n(38),s=n(76),l=n(9),c=Function,u=r([].concat),d=r([].join),p={};e.exports=l?c.bind:function(e){var t=o(this),n=t.prototype,r=s(arguments,1),l=function(){var n=u(r,s(arguments));return this instanceof l?function(e,t,n){if(!a(p,t)){for(var r=[],o=0;o<t;o++)r[o]="a["+o+"]";p[t]=c("C,a","return new C("+d(r,",")+")")}return p[t](e,n)}(t,n.length,n):t.apply(e,n)};return i(n)&&(l.prototype=n),l}},function(e,t,n){var r=n(21),o=n(20),i=n(44),a=n(24),s=n(33),l=n(48),c=s("hasInstance"),u=Function.prototype;c in u||i.f(u,c,{value:l((function(e){if(!r(this)||!o(e))return!1;var t=this.prototype;return o(t)?a(t,e):e instanceof this}),c)})},function(e,t,n){var r=n(6),o=n(49).EXISTS,i=n(14),a=n(77),s=Function.prototype,l=i(s.toString),c=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,u=i(c.exec);r&&!o&&a(s,"name",{configurable:!0,get:function(){try{return u(c,l(this))[1]}catch(e){return""}}})},function(e,t,n){var r=n(3),o=n(4);r({global:!0,forced:o.globalThis!==o},{globalThis:o})},function(e,t,n){var r=n(4);n(82)(r.JSON,"JSON",!0)},function(e,t,n){n(254)},function(e,t,n){n(255)("Map",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),n(260))},function(e,t,n){var r=n(3),o=n(4),i=n(14),a=n(67),s=n(47),l=n(256),c=n(130),u=n(210),d=n(21),p=n(17),f=n(20),h=n(7),m=n(164),g=n(82),v=n(118);e.exports=function(e,t,n){var y=-1!==e.indexOf("Map"),b=-1!==e.indexOf("Weak"),x=y?"set":"add",w=o[e],A=w&&w.prototype,_=w,S={},k=function(e){var t=i(A[e]);s(A,e,"add"===e?function(e){return t(this,0===e?0:e),this}:"delete"===e?function(e){return!(b&&!f(e))&&t(this,0===e?0:e)}:"get"===e?function(e){return b&&!f(e)?void 0:t(this,0===e?0:e)}:"has"===e?function(e){return!(b&&!f(e))&&t(this,0===e?0:e)}:function(e,n){return t(this,0===e?0:e,n),this})};if(a(e,!d(w)||!(b||A.forEach&&!h((function(){(new w).entries().next()})))))_=n.getConstructor(t,e,y,x),l.enable();else if(a(e,!0)){var C=new _,T=C[x](b?{}:-0,1)!==C,M=h((function(){C.has(1)})),P=m((function(e){new w(e)})),O=!b&&h((function(){for(var e=new w,t=5;t--;)e[x](t,t);return!e.has(-0)}));P||((_=t((function(e,t){u(e,A);var n=v(new w,e,_);return p(t)||c(t,n[x],{that:n,AS_ENTRIES:y}),n}))).prototype=A,A.constructor=_),(M||O)&&(k("delete"),k("has"),y&&k("get")),(O||T)&&k(x),b&&A.clear&&delete A.clear}return S[e]=_,r({global:!0,constructor:!0,forced:_!==w},S),g(_,e),b||n.setStrong(_,e,y),_}},function(e,t,n){var r=n(3),o=n(14),i=n(54),a=n(20),s=n(38),l=n(44).f,c=n(57),u=n(75),d=n(257),p=n(40),f=n(259),h=!1,m=p("meta"),g=0,v=function(e){l(e,m,{value:{objectID:"O"+g++,weakData:{}}})},y=e.exports={enable:function(){y.enable=function(){},h=!0;var e=c.f,t=o([].splice),n={};n[m]=1,e(n).length&&(c.f=function(n){for(var r=e(n),o=0,i=r.length;o<i;o++)if(r[o]===m){t(r,o,1);break}return r},r({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:u.f}))},fastKey:function(e,t){if(!a(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!s(e,m)){if(!d(e))return"F";if(!t)return"E";v(e)}return e[m].objectID},getWeakData:function(e,t){if(!s(e,m)){if(!d(e))return!0;if(!t)return!1;v(e)}return e[m].weakData},onFreeze:function(e){return f&&h&&d(e)&&!s(e,m)&&v(e),e}};i[m]=!0},function(e,t,n){var r=n(7),o=n(20),i=n(15),a=n(258),s=Object.isExtensible,l=r((function(){s(1)}));e.exports=l||a?function(e){return!!o(e)&&(!a||"ArrayBuffer"!==i(e))&&(!s||s(e))}:s},function(e,t,n){var r=n(7);e.exports=r((function(){if("function"==typeof ArrayBuffer){var e=new ArrayBuffer(8);Object.isExtensible(e)&&Object.defineProperty(e,"a",{value:8})}}))},function(e,t,n){var r=n(7);e.exports=!r((function(){return Object.isExtensible(Object.preventExtensions({}))}))},function(e,t,n){var r=n(71),o=n(77),i=n(209),a=n(84),s=n(210),l=n(17),c=n(130),u=n(169),d=n(172),p=n(193),f=n(6),h=n(256).fastKey,m=n(51),g=m.set,v=m.getterFor;e.exports={getConstructor:function(e,t,n,u){var d=e((function(e,o){s(e,p),g(e,{type:t,index:r(null),first:void 0,last:void 0,size:0}),f||(e.size=0),l(o)||c(o,e[u],{that:e,AS_ENTRIES:n})})),p=d.prototype,m=v(t),y=function(e,t,n){var r,o,i=m(e),a=b(e,t);return a?a.value=n:(i.last=a={index:o=h(t,!0),key:t,value:n,previous:r=i.last,next:void 0,removed:!1},i.first||(i.first=a),r&&(r.next=a),f?i.size++:e.size++,"F"!==o&&(i.index[o]=a)),e},b=function(e,t){var n,r=m(e),o=h(t);if("F"!==o)return r.index[o];for(n=r.first;n;n=n.next)if(n.key===t)return n};return i(p,{clear:function(){for(var e=m(this),t=e.first;t;)t.removed=!0,t.previous&&(t.previous=t.previous.next=void 0),t=t.next;e.first=e.last=void 0,e.index=r(null),f?e.size=0:this.size=0},delete:function(e){var t=this,n=m(t),r=b(t,e);if(r){var o=r.next,i=r.previous;delete n.index[r.index],r.removed=!0,i&&(i.next=o),o&&(o.previous=i),n.first===r&&(n.first=o),n.last===r&&(n.last=i),f?n.size--:t.size--}return!!r},forEach:function(e){for(var t,n=m(this),r=a(e,arguments.length>1?arguments[1]:void 0);t=t?t.next:n.first;)for(r(t.value,t.key,this);t&&t.removed;)t=t.previous},has:function(e){return!!b(this,e)}}),i(p,n?{get:function(e){var t=b(this,e);return t&&t.value},set:function(e,t){return y(this,0===e?0:e,t)}}:{add:function(e){return y(this,e=0===e?0:e,e)}}),f&&o(p,"size",{configurable:!0,get:function(){return m(this).size}}),d},setStrong:function(e,t,n){var r=t+" Iterator",o=v(t),i=v(r);u(e,t,(function(e,t){g(this,{type:r,target:e,state:o(e),kind:t,last:void 0})}),(function(){for(var e=i(this),t=e.kind,n=e.last;n&&n.removed;)n=n.previous;return e.target&&(e.last=n=n?n.next:e.state.first)?d("keys"===t?n.key:"values"===t?n.value:[n.key,n.value],!1):(e.target=void 0,d(void 0,!0))}),n?"entries":"values",!n,!0),p(t)}}},function(e,t,n){var r=n(3),o=n(14),i=n(30),a=n(16),s=n(130),l=n(262),c=n(36),u=n(7),d=l.Map,p=l.has,f=l.get,h=l.set,m=o([].push),g=c||u((function(){return 1!==d.groupBy("ab",(function(e){return e})).get("a").length}));r({target:"Map",stat:!0,forced:c||g},{groupBy:function(e,t){a(e),i(t);var n=new d,r=0;return s(e,(function(e){var o=t(e,r++);p(n,o)?m(f(n,o),e):h(n,o,[e])})),n}})},function(e,t,n){var r=n(14),o=Map.prototype;e.exports={Map:Map,set:r(o.set),get:r(o.get),has:r(o.has),remove:r(o.delete),proto:o}},function(e,t,n){var r=n(3),o=n(264),i=Math.acosh,a=Math.log,s=Math.sqrt,l=Math.LN2;r({target:"Math",stat:!0,forced:!i||710!==Math.floor(i(Number.MAX_VALUE))||i(1/0)!==1/0},{acosh:function(e){var t=+e;return t<1?NaN:t>94906265.62425156?a(t)+l:o(t-1+s(t-1)*s(t+1))}})},function(e){var t=Math.log;e.exports=Math.log1p||function(e){var n=+e;return n>-1e-8&&n<1e-8?n-n*n/2:t(1+n)}},function(e,t,n){var r=n(3),o=Math.asinh,i=Math.log,a=Math.sqrt;r({target:"Math",stat:!0,forced:!(o&&1/o(0)>0)},{asinh:function e(t){var n=+t;return isFinite(n)&&0!==n?n<0?-e(-n):i(n+a(n*n+1)):n}})},function(e,t,n){var r=n(3),o=Math.atanh,i=Math.log;r({target:"Math",stat:!0,forced:!(o&&1/o(-0)<0)},{atanh:function(e){var t=+e;return 0===t?t:i((1+t)/(1-t))/2}})},function(e,t,n){var r=n(3),o=n(214),i=Math.abs,a=Math.pow;r({target:"Math",stat:!0},{cbrt:function(e){var t=+e;return o(t)*a(i(t),1/3)}})},function(e,t,n){var r=n(3),o=Math.floor,i=Math.log,a=Math.LOG2E;r({target:"Math",stat:!0},{clz32:function(e){var t=e>>>0;return t?31-o(i(t+.5)*a):32}})},function(e,t,n){var r=n(3),o=n(270),i=Math.cosh,a=Math.abs,s=Math.E;r({target:"Math",stat:!0,forced:!i||i(710)===1/0},{cosh:function(e){var t=o(a(e)-1)+1;return(t+1/(t*s*s))*(s/2)}})},function(e){var t=Math.expm1,n=Math.exp;e.exports=!t||t(10)>22025.465794806718||t(10)<22025.465794806718||-2e-17!==t(-2e-17)?function(e){var t=+e;return 0===t?t:t>-1e-6&&t<1e-6?t+t*t/2:n(t)-1}:t},function(e,t,n){var r=n(3),o=n(270);r({target:"Math",stat:!0,forced:o!==Math.expm1},{expm1:o})},function(e,t,n){n(3)({target:"Math",stat:!0},{fround:n(212)})},function(e,t,n){var r=n(3),o=Math.hypot,i=Math.abs,a=Math.sqrt;r({target:"Math",stat:!0,arity:2,forced:!!o&&o(1/0,NaN)!==1/0},{hypot:function(e,t){for(var n,r,o=0,s=0,l=arguments.length,c=0;s<l;)c<(n=i(arguments[s++]))?(o=o*(r=c/n)*r+1,c=n):o+=n>0?(r=n/c)*r:n;return c===1/0?1/0:c*a(o)}})},function(e,t,n){var r=n(3),o=n(7),i=Math.imul;r({target:"Math",stat:!0,forced:o((function(){return-5!==i(4294967295,5)||2!==i.length}))},{imul:function(e,t){var n=65535,r=+e,o=+t,i=n&r,a=n&o;return 0|i*a+((n&r>>>16)*a+i*(n&o>>>16)<<16>>>0)}})},function(e,t,n){n(3)({target:"Math",stat:!0},{log10:n(276)})},function(e){var t=Math.log,n=Math.LOG10E;e.exports=Math.log10||function(e){return t(e)*n}},function(e,t,n){n(3)({target:"Math",stat:!0},{log1p:n(264)})},function(e,t,n){var r=n(3),o=Math.log,i=Math.LN2;r({target:"Math",stat:!0},{log2:function(e){return o(e)/i}})},function(e,t,n){n(3)({target:"Math",stat:!0},{sign:n(214)})},function(e,t,n){var r=n(3),o=n(7),i=n(270),a=Math.abs,s=Math.exp,l=Math.E;r({target:"Math",stat:!0,forced:o((function(){return-2e-17!==Math.sinh(-2e-17)}))},{sinh:function(e){var t=+e;return a(t)<1?(i(t)-i(-t))/2:(s(t-1)-s(-t-1))*(l/2)}})},function(e,t,n){var r=n(3),o=n(270),i=Math.exp;r({target:"Math",stat:!0},{tanh:function(e){var t=+e,n=o(t),r=o(-t);return n===1/0?1:r===1/0?-1:(n-r)/(i(t)+i(-t))}})},function(e,t,n){n(82)(Math,"Math",!0)},function(e,t,n){n(3)({target:"Math",stat:!0},{trunc:n(62)})},function(e,t,n){var r=n(3),o=n(36),i=n(6),a=n(4),s=n(80),l=n(14),c=n(67),u=n(38),d=n(118),p=n(24),f=n(22),h=n(19),m=n(7),g=n(57).f,v=n(5).f,y=n(44).f,b=n(285),x=n(286).trim,w="Number",A=a[w],_=s[w],S=A.prototype,k=a.TypeError,C=l("".slice),T=l("".charCodeAt),M=function(e){var t,n,r,o,i,a,s,l,c=h(e,"number");if(f(c))throw new k("Cannot convert a Symbol value to a number");if("string"==typeof c&&c.length>2)if(c=x(c),43===(t=T(c,0))||45===t){if(88===(n=T(c,2))||120===n)return NaN}else if(48===t){switch(T(c,1)){case 66:case 98:r=2,o=49;break;case 79:case 111:r=8,o=55;break;default:return+c}for(a=(i=C(c,2)).length,s=0;s<a;s++)if((l=T(i,s))<48||l>o)return NaN;return parseInt(i,r)}return+c},P=c(w,!A(" 0o1")||!A("0b1")||A("+0x1")),O=function(e){var t,n=arguments.length<1?0:A(function(e){var t=h(e,"number");return"bigint"==typeof t?t:M(t)}(e));return p(S,t=this)&&m((function(){b(t)}))?d(Object(n),this,O):n};O.prototype=S,P&&!o&&(S.constructor=O),r({global:!0,constructor:!0,wrap:!0,forced:P},{Number:O});var E=function(e,t){for(var n,r=i?g(t):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range".split(","),o=0;r.length>o;o++)u(t,n=r[o])&&!u(e,n)&&y(e,n,v(t,n))};o&&_&&E(s[w],_),(P||o)&&E(s[w],A)},function(e,t,n){var r=n(14);e.exports=r(1..valueOf)},function(e,t,n){var r=n(14),o=n(16),i=n(68),a=n(287),s=r("".replace),l=RegExp("^["+a+"]+"),c=RegExp("(^|[^"+a+"])["+a+"]+$"),u=function(e){return function(t){var n=i(o(t));return 1&e&&(n=s(n,l,"")),2&e&&(n=s(n,c,"$1")),n}};e.exports={start:u(1),end:u(2),trim:u(3)}},function(e){e.exports="\t\n\v\f\r    â€â€‚         âŸã€€\u2028\u2029\ufeff"},function(e,t,n){n(3)({target:"Number",stat:!0,nonConfigurable:!0,nonWritable:!0},{EPSILON:Math.pow(2,-52)})},function(e,t,n){n(3)({target:"Number",stat:!0},{isFinite:n(290)})},function(e,t,n){var r=n(4).isFinite;e.exports=Number.isFinite||function(e){return"number"==typeof e&&r(e)}},function(e,t,n){n(3)({target:"Number",stat:!0},{isInteger:n(292)})},function(e,t,n){var r=n(20),o=Math.floor;e.exports=Number.isInteger||function(e){return!r(e)&&isFinite(e)&&o(e)===e}},function(e,t,n){n(3)({target:"Number",stat:!0},{isNaN:function(e){return e!=e}})},function(e,t,n){var r=n(3),o=n(292),i=Math.abs;r({target:"Number",stat:!0},{isSafeInteger:function(e){return o(e)&&i(e)<=9007199254740991}})},function(e,t,n){n(3)({target:"Number",stat:!0,nonConfigurable:!0,nonWritable:!0},{MAX_SAFE_INTEGER:9007199254740991})},function(e,t,n){n(3)({target:"Number",stat:!0,nonConfigurable:!0,nonWritable:!0},{MIN_SAFE_INTEGER:-9007199254740991})},function(e,t,n){var r=n(3),o=n(298);r({target:"Number",stat:!0,forced:Number.parseFloat!==o},{parseFloat:o})},function(e,t,n){var r=n(4),o=n(7),i=n(14),a=n(68),s=n(286).trim,l=n(287),c=i("".charAt),u=r.parseFloat,d=r.Symbol,p=d&&d.iterator,f=1/u(l+"-0")!=-1/0||p&&!o((function(){u(Object(p))}));e.exports=f?function(e){var t=s(a(e)),n=u(t);return 0===n&&"-"===c(t,0)?-0:n}:u},function(e,t,n){var r=n(3),o=n(300);r({target:"Number",stat:!0,forced:Number.parseInt!==o},{parseInt:o})},function(e,t,n){var r=n(4),o=n(7),i=n(14),a=n(68),s=n(286).trim,l=n(287),c=r.parseInt,u=r.Symbol,d=u&&u.iterator,p=/^[+-]?0x/i,f=i(p.exec),h=8!==c(l+"08")||22!==c(l+"0x16")||d&&!o((function(){c(Object(d))}));e.exports=h?function(e,t){var n=s(a(e));return c(n,t>>>0||(f(p,n)?16:10))}:c},function(e,t,n){var r=n(3),o=n(14),i=n(61),a=n(285),s=n(241),l=n(276),c=n(7),u=RangeError,d=String,p=isFinite,f=Math.abs,h=Math.floor,m=Math.pow,g=Math.round,v=o(1..toExponential),y=o(s),b=o("".slice),x="-6.9000e-11"===v(-69e-12,4)&&"1.25e+0"===v(1.255,2)&&"1.235e+4"===v(12345,3)&&"3e+1"===v(25,0);r({target:"Number",proto:!0,forced:!x||!(c((function(){v(1,1/0)}))&&c((function(){v(1,-1/0)})))||!!c((function(){v(1/0,1/0),v(NaN,1/0)}))},{toExponential:function(e){var t=a(this);if(void 0===e)return v(t);var n=i(e);if(!p(t))return String(t);if(n<0||n>20)throw new u("Incorrect fraction digits");if(x)return v(t,n);var r="",o="",s=0,c="",w="";if(t<0&&(r="-",t=-t),0===t)s=0,o=y("0",n+1);else{var A=l(t);s=h(A);var _=0,S=m(10,s-n);2*t>=(2*(_=g(t/S))+1)*S&&(_+=1),_>=m(10,n+1)&&(_/=10,s+=1),o=d(_)}return 0!==n&&(o=b(o,0,1)+"."+b(o,1)),0===s?(c="+",w="0"):(c=s>0?"+":"-",w=d(f(s))),r+(o+="e"+c+w)}})},function(e,t,n){var r=n(3),o=n(14),i=n(61),a=n(285),s=n(241),l=n(7),c=RangeError,u=String,d=Math.floor,p=o(s),f=o("".slice),h=o(1..toFixed),m=function(e,t,n){return 0===t?n:t%2==1?m(e,t-1,n*e):m(e*e,t/2,n)},g=function(e,t,n){for(var r=-1,o=n;++r<6;)o+=t*e[r],e[r]=o%1e7,o=d(o/1e7)},v=function(e,t){for(var n=6,r=0;--n>=0;)r+=e[n],e[n]=d(r/t),r=r%t*1e7},y=function(e){for(var t=6,n="";--t>=0;)if(""!==n||0===t||0!==e[t]){var r=u(e[t]);n=""===n?r:n+p("0",7-r.length)+r}return n};r({target:"Number",proto:!0,forced:l((function(){return"0.000"!==h(8e-5,3)||"1"!==h(.9,0)||"1.25"!==h(1.255,2)||"1000000000000000128"!==h(0xde0b6b3a7640080,0)}))||!l((function(){h({})}))},{toFixed:function(e){var t,n,r,o,s=a(this),l=i(e),d=[0,0,0,0,0,0],h="",b="0";if(l<0||l>20)throw new c("Incorrect fraction digits");if(s!=s)return"NaN";if(s<=-1e21||s>=1e21)return u(s);if(s<0&&(h="-",s=-s),s>1e-21)if(n=(t=function(e){for(var t=0,n=e;n>=4096;)t+=12,n/=4096;for(;n>=2;)t+=1,n/=2;return t}(s*m(2,69,1))-69)<0?s*m(2,-t,1):s/m(2,t,1),n*=4503599627370496,(t=52-t)>0){for(g(d,0,n),r=l;r>=7;)g(d,1e7,0),r-=7;for(g(d,m(10,r,1),0),r=t-1;r>=23;)v(d,1<<23),r-=23;v(d,1<<r),g(d,1,1),v(d,2),b=y(d)}else g(d,0,n),g(d,1<<-t,0),b=y(d)+p("0",l);return b=l>0?h+((o=b.length)<=l?"0."+p("0",l-o)+b:f(b,0,o-l)+"."+f(b,o-l)):h+b}})},function(e,t,n){var r=n(3),o=n(14),i=n(7),a=n(285),s=o(1..toPrecision);r({target:"Number",proto:!0,forced:i((function(){return"1"!==s(1,void 0)}))||!i((function(){s({})}))},{toPrecision:function(e){return void 0===e?s(a(this)):s(a(this),e)}})},function(e,t,n){var r=n(3),o=n(305);r({target:"Object",stat:!0,arity:2,forced:Object.assign!==o},{assign:o})},function(e,t,n){var r=n(6),o=n(14),i=n(8),a=n(7),s=n(73),l=n(66),c=n(10),u=n(39),d=n(13),p=Object.assign,f=Object.defineProperty,h=o([].concat);e.exports=!p||a((function(){if(r&&1!==p({b:1},p(f({},"a",{enumerable:!0,get:function(){f(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},n=Symbol("assign detection"),o="abcdefghijklmnopqrst";return e[n]=7,o.split("").forEach((function(e){t[e]=e})),7!==p({},e)[n]||s(p({},t)).join("")!==o}))?function(e,t){for(var n=u(e),o=arguments.length,a=1,p=l.f,f=c.f;o>a;)for(var m,g=d(arguments[a++]),v=p?h(s(g),p(g)):s(g),y=v.length,b=0;y>b;)m=v[b++],r&&!i(f,g,m)||(n[m]=g[m]);return n}:p},function(e,t,n){n(3)({target:"Object",stat:!0,sham:!n(6)},{create:n(71)})},function(e,t,n){var r=n(3),o=n(6),i=n(308),a=n(30),s=n(39),l=n(44);o&&r({target:"Object",proto:!0,forced:i},{__defineGetter__:function(e,t){l.f(s(this),e,{get:a(t),enumerable:!0,configurable:!0})}})},function(e,t,n){var r=n(36),o=n(4),i=n(7),a=n(191);e.exports=r||!i((function(){if(!(a&&a<535)){var e=Math.random();__defineSetter__.call(null,e,(function(){})),delete o[e]}}))},function(e,t,n){var r=n(3),o=n(6),i=n(72).f;r({target:"Object",stat:!0,forced:Object.defineProperties!==i,sham:!o},{defineProperties:i})},function(e,t,n){var r=n(3),o=n(6),i=n(44).f;r({target:"Object",stat:!0,forced:Object.defineProperty!==i,sham:!o},{defineProperty:i})},function(e,t,n){var r=n(3),o=n(6),i=n(308),a=n(30),s=n(39),l=n(44);o&&r({target:"Object",proto:!0,forced:i},{__defineSetter__:function(e,t){l.f(s(this),e,{set:a(t),enumerable:!0,configurable:!0})}})},function(e,t,n){var r=n(3),o=n(313).entries;r({target:"Object",stat:!0},{entries:function(e){return o(e)}})},function(e,t,n){var r=n(6),o=n(7),i=n(14),a=n(128),s=n(73),l=n(12),c=i(n(10).f),u=i([].push),d=r&&o((function(){var e=Object.create(null);return e[2]=2,!c(e,2)})),p=function(e){return function(t){for(var n,o=l(t),i=s(o),p=d&&null===a(o),f=i.length,h=0,m=[];f>h;)n=i[h++],r&&!(p?n in o:c(o,n))||u(m,e?[n,o[n]]:o[n]);return m}};e.exports={entries:p(!0),values:p(!1)}},function(e,t,n){var r=n(3),o=n(259),i=n(7),a=n(20),s=n(256).onFreeze,l=Object.freeze;r({target:"Object",stat:!0,forced:i((function(){l(1)})),sham:!o},{freeze:function(e){return l&&a(e)?l(s(e)):e}})},function(e,t,n){var r=n(3),o=n(130),i=n(141);r({target:"Object",stat:!0},{fromEntries:function(e){var t={};return o(e,(function(e,n){i(t,e,n)}),{AS_ENTRIES:!0}),t}})},function(e,t,n){var r=n(3),o=n(7),i=n(12),a=n(5).f,s=n(6);r({target:"Object",stat:!0,forced:!s||o((function(){a(1)})),sham:!s},{getOwnPropertyDescriptor:function(e,t){return a(i(e),t)}})},function(e,t,n){var r=n(3),o=n(6),i=n(56),a=n(12),s=n(5),l=n(141);r({target:"Object",stat:!0,sham:!o},{getOwnPropertyDescriptors:function(e){for(var t,n,r=a(e),o=s.f,c=i(r),u={},d=0;c.length>d;)void 0!==(n=o(r,t=c[d++]))&&l(u,t,n);return u}})},function(e,t,n){var r=n(3),o=n(7),i=n(75).f;r({target:"Object",stat:!0,forced:o((function(){return!Object.getOwnPropertyNames(1)}))},{getOwnPropertyNames:i})},function(e,t,n){var r=n(3),o=n(7),i=n(39),a=n(128),s=n(129);r({target:"Object",stat:!0,forced:o((function(){a(1)})),sham:!s},{getPrototypeOf:function(e){return a(i(e))}})},function(e,t,n){var r=n(3),o=n(23),i=n(14),a=n(30),s=n(16),l=n(18),c=n(130),u=n(7),d=Object.groupBy,p=o("Object","create"),f=i([].push);r({target:"Object",stat:!0,forced:!d||u((function(){return 1!==d("ab",(function(e){return e})).a.length}))},{groupBy:function(e,t){s(e),a(t);var n=p(null),r=0;return c(e,(function(e){var o=l(t(e,r++));o in n?f(n[o],e):n[o]=[e]})),n}})},function(e,t,n){n(3)({target:"Object",stat:!0},{hasOwn:n(38)})},function(e,t,n){n(3)({target:"Object",stat:!0},{is:n(323)})},function(e){e.exports=Object.is||function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}},function(e,t,n){var r=n(3),o=n(257);r({target:"Object",stat:!0,forced:Object.isExtensible!==o},{isExtensible:o})},function(e,t,n){var r=n(3),o=n(7),i=n(20),a=n(15),s=n(258),l=Object.isFrozen;r({target:"Object",stat:!0,forced:s||o((function(){l(1)}))},{isFrozen:function(e){return!i(e)||!(!s||"ArrayBuffer"!==a(e))||!!l&&l(e)}})},function(e,t,n){var r=n(3),o=n(7),i=n(20),a=n(15),s=n(258),l=Object.isSealed;r({target:"Object",stat:!0,forced:s||o((function(){l(1)}))},{isSealed:function(e){return!i(e)||!(!s||"ArrayBuffer"!==a(e))||!!l&&l(e)}})},function(e,t,n){var r=n(3),o=n(39),i=n(73);r({target:"Object",stat:!0,forced:n(7)((function(){i(1)}))},{keys:function(e){return i(o(e))}})},function(e,t,n){var r=n(3),o=n(6),i=n(308),a=n(39),s=n(18),l=n(128),c=n(5).f;o&&r({target:"Object",proto:!0,forced:i},{__lookupGetter__:function(e){var t,n=a(this),r=s(e);do{if(t=c(n,r))return t.get}while(n=l(n))}})},function(e,t,n){var r=n(3),o=n(6),i=n(308),a=n(39),s=n(18),l=n(128),c=n(5).f;o&&r({target:"Object",proto:!0,forced:i},{__lookupSetter__:function(e){var t,n=a(this),r=s(e);do{if(t=c(n,r))return t.set}while(n=l(n))}})},function(e,t,n){var r=n(3),o=n(20),i=n(256).onFreeze,a=n(259),s=n(7),l=Object.preventExtensions;r({target:"Object",stat:!0,forced:s((function(){l(1)})),sham:!a},{preventExtensions:function(e){return l&&o(e)?l(i(e)):e}})},function(e,t,n){var r=n(6),o=n(77),i=n(20),a=n(116),s=n(39),l=n(16),c=Object.getPrototypeOf,u=Object.setPrototypeOf,d=Object.prototype,p="__proto__";if(r&&c&&u&&!(p in d))try{o(d,p,{configurable:!0,get:function(){return c(s(this))},set:function(e){var t=l(this);a(e)&&i(t)&&u(t,e)}})}catch(e){}},function(e,t,n){var r=n(3),o=n(20),i=n(256).onFreeze,a=n(259),s=n(7),l=Object.seal;r({target:"Object",stat:!0,forced:s((function(){l(1)})),sham:!a},{seal:function(e){return l&&o(e)?l(i(e)):e}})},function(e,t,n){n(3)({target:"Object",stat:!0},{setPrototypeOf:n(113)})},function(e,t,n){var r=n(70),o=n(47),i=n(335);r||o(Object.prototype,"toString",i,{unsafe:!0})},function(e,t,n){var r=n(70),o=n(69);e.exports=r?{}.toString:function(){return"[object "+o(this)+"]"}},function(e,t,n){var r=n(3),o=n(313).values;r({target:"Object",stat:!0},{values:function(e){return o(e)}})},function(e,t,n){var r=n(3),o=n(298);r({global:!0,forced:parseFloat!==o},{parseFloat:o})},function(e,t,n){var r=n(3),o=n(300);r({global:!0,forced:parseInt!==o},{parseInt:o})},function(e,t,n){n(340),n(354),n(356),n(357),n(358),n(359)},function(e,t,n){var r,o,i,a=n(3),s=n(36),l=n(182),c=n(4),u=n(8),d=n(47),p=n(113),f=n(82),h=n(193),m=n(30),g=n(21),v=n(20),y=n(210),b=n(219),x=n(341).set,w=n(344),A=n(349),_=n(350),S=n(346),k=n(51),C=n(351),T=n(352),M=n(353),P="Promise",O=T.CONSTRUCTOR,E=T.REJECTION_EVENT,D=T.SUBCLASSING,R=k.getterFor(P),I=k.set,N=C&&C.prototype,L=C,j=N,$=c.TypeError,z=c.document,F=c.process,B=M.f,H=B,V=!!(z&&z.createEvent&&c.dispatchEvent),W="unhandledrejection",U=function(e){var t;return!(!v(e)||!g(t=e.then))&&t},q=function(e,t){var n,r,o,i=t.value,a=1===t.state,s=a?e.ok:e.fail,l=e.resolve,c=e.reject,d=e.domain;try{s?(a||(2===t.rejection&&Z(t),t.rejection=1),!0===s?n=i:(d&&d.enter(),n=s(i),d&&(d.exit(),o=!0)),n===e.promise?c(new $("Promise-chain cycle")):(r=U(n))?u(r,n,l,c):l(n)):c(i)}catch(e){d&&!o&&d.exit(),c(e)}},G=function(e,t){e.notified||(e.notified=!0,w((function(){for(var n,r=e.reactions;n=r.get();)q(n,e);e.notified=!1,t&&!e.rejection&&X(e)})))},Y=function(e,t,n){var r,o;V?((r=z.createEvent("Event")).promise=t,r.reason=n,r.initEvent(e,!1,!0),c.dispatchEvent(r)):r={promise:t,reason:n},!E&&(o=c["on"+e])?o(r):e===W&&A("Unhandled promise rejection",n)},X=function(e){u(x,c,(function(){var t,n=e.facade,r=e.value;if(K(e)&&(t=_((function(){l?F.emit("unhandledRejection",r,n):Y(W,n,r)})),e.rejection=l||K(e)?2:1,t.error))throw t.value}))},K=function(e){return 1!==e.rejection&&!e.parent},Z=function(e){u(x,c,(function(){var t=e.facade;l?F.emit("rejectionHandled",t):Y("rejectionhandled",t,e.value)}))},J=function(e,t,n){return function(r){e(t,r,n)}},Q=function(e,t,n){e.done||(e.done=!0,n&&(e=n),e.value=t,e.state=2,G(e,!0))},ee=function(e,t,n){if(!e.done){e.done=!0,n&&(e=n);try{if(e.facade===t)throw new $("Promise can't be resolved itself");var r=U(t);r?w((function(){var n={done:!1};try{u(r,t,J(ee,n,e),J(Q,n,e))}catch(t){Q(n,t,e)}})):(e.value=t,e.state=1,G(e,!1))}catch(t){Q({done:!1},t,e)}}};if(O&&(j=(L=function(e){y(this,j),m(e),u(r,this);var t=R(this);try{e(J(ee,t),J(Q,t))}catch(e){Q(t,e)}}).prototype,(r=function(e){I(this,{type:P,done:!1,notified:!1,parent:!1,reactions:new S,rejection:!1,state:0,value:void 0})}).prototype=d(j,"then",(function(e,t){var n=R(this),r=B(b(this,L));return n.parent=!0,r.ok=!g(e)||e,r.fail=g(t)&&t,r.domain=l?F.domain:void 0,0===n.state?n.reactions.add(r):w((function(){q(r,n)})),r.promise})),o=function(){var e=new r,t=R(e);this.promise=e,this.resolve=J(ee,t),this.reject=J(Q,t)},M.f=B=function(e){return e===L||void 0===e?new o(e):H(e)},!s&&g(C)&&N!==Object.prototype)){i=N.then,D||d(N,"then",(function(e,t){var n=this;return new L((function(e,t){u(i,n,e,t)})).then(e,t)}),{unsafe:!0});try{delete N.constructor}catch(e){}p&&p(N,j)}a({global:!0,constructor:!0,wrap:!0,forced:O},{Promise:L}),f(L,P,!1,!0),h(P)},function(e,t,n){var r,o,i,a,s=n(4),l=n(94),c=n(84),u=n(21),d=n(38),p=n(7),f=n(74),h=n(76),m=n(42),g=n(342),v=n(343),y=n(182),b=s.setImmediate,x=s.clearImmediate,w=s.process,A=s.Dispatch,_=s.Function,S=s.MessageChannel,k=s.String,C=0,T={},M="onreadystatechange";p((function(){r=s.location}));var P=function(e){if(d(T,e)){var t=T[e];delete T[e],t()}},O=function(e){return function(){P(e)}},E=function(e){P(e.data)},D=function(e){s.postMessage(k(e),r.protocol+"//"+r.host)};b&&x||(b=function(e){g(arguments.length,1);var t=u(e)?e:_(e),n=h(arguments,1);return T[++C]=function(){l(t,void 0,n)},o(C),C},x=function(e){delete T[e]},y?o=function(e){w.nextTick(O(e))}:A&&A.now?o=function(e){A.now(O(e))}:S&&!v?(a=(i=new S).port2,i.port1.onmessage=E,o=c(a.postMessage,a)):s.addEventListener&&u(s.postMessage)&&!s.importScripts&&r&&"file:"!==r.protocol&&!p(D)?(o=D,s.addEventListener("message",E,!1)):o=M in m("script")?function(e){f.appendChild(m("script"))[M]=function(){f.removeChild(this),P(e)}}:function(e){setTimeout(O(e),0)}),e.exports={set:b,clear:x}},function(e){var t=TypeError;e.exports=function(e,n){if(e<n)throw new t("Not enough arguments");return e}},function(e,t,n){var r=n(28);e.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(r)},function(e,t,n){var r,o,i,a,s,l=n(4),c=n(345),u=n(84),d=n(341).set,p=n(346),f=n(343),h=n(347),m=n(348),g=n(182),v=l.MutationObserver||l.WebKitMutationObserver,y=l.document,b=l.process,x=l.Promise,w=c("queueMicrotask");if(!w){var A=new p,_=function(){var e,t;for(g&&(e=b.domain)&&e.exit();t=A.get();)try{t()}catch(e){throw A.head&&r(),e}e&&e.enter()};f||g||m||!v||!y?!h&&x&&x.resolve?((a=x.resolve(void 0)).constructor=x,s=u(a.then,a),r=function(){s(_)}):g?r=function(){b.nextTick(_)}:(d=u(d,l),r=function(){d(_)}):(o=!0,i=y.createTextNode(""),new v(_).observe(i,{characterData:!0}),r=function(){i.data=o=!o}),w=function(e){A.head||r(),A.add(e)}}e.exports=w},function(e,t,n){var r=n(4),o=n(6),i=Object.getOwnPropertyDescriptor;e.exports=function(e){if(!o)return r[e];var t=i(r,e);return t&&t.value}},function(e){var t=function(){this.head=null,this.tail=null};t.prototype={add:function(e){var t={item:e,next:null},n=this.tail;n?n.next=t:this.head=t,this.tail=t},get:function(){var e=this.head;if(e)return null===(this.head=e.next)&&(this.tail=null),e.item}},e.exports=t},function(e,t,n){var r=n(28);e.exports=/ipad|iphone|ipod/i.test(r)&&"undefined"!=typeof Pebble},function(e,t,n){var r=n(28);e.exports=/web0s(?!.*chrome)/i.test(r)},function(e){e.exports=function(e,t){try{1===arguments.length?console.error(e):console.error(e,t)}catch(e){}}},function(e){e.exports=function(e){try{return{error:!1,value:e()}}catch(e){return{error:!0,value:e}}}},function(e,t,n){var r=n(4);e.exports=r.Promise},function(e,t,n){var r=n(4),o=n(351),i=n(21),a=n(67),s=n(50),l=n(33),c=n(231),u=n(232),d=n(36),p=n(27),f=o&&o.prototype,h=l("species"),m=!1,g=i(r.PromiseRejectionEvent),v=a("Promise",(function(){var e=s(o),t=e!==String(o);if(!t&&66===p)return!0;if(d&&(!f.catch||!f.finally))return!0;if(!p||p<51||!/native code/.test(e)){var n=new o((function(e){e(1)})),r=function(e){e((function(){}),(function(){}))};if((n.constructor={})[h]=r,!(m=n.then((function(){}))instanceof r))return!0}return!t&&(c||u)&&!g}));e.exports={CONSTRUCTOR:v,REJECTION_EVENT:g,SUBCLASSING:m}},function(e,t,n){var r=n(30),o=TypeError,i=function(e){var t,n;this.promise=new e((function(e,r){if(void 0!==t||void 0!==n)throw new o("Bad Promise constructor");t=e,n=r})),this.resolve=r(t),this.reject=r(n)};e.exports.f=function(e){return new i(e)}},function(e,t,n){var r=n(3),o=n(8),i=n(30),a=n(353),s=n(350),l=n(130);r({target:"Promise",stat:!0,forced:n(355)},{all:function(e){var t=this,n=a.f(t),r=n.resolve,c=n.reject,u=s((function(){var n=i(t.resolve),a=[],s=0,u=1;l(e,(function(e){var i=s++,l=!1;u++,o(n,t,e).then((function(e){l||(l=!0,a[i]=e,--u||r(a))}),c)})),--u||r(a)}));return u.error&&c(u.value),n.promise}})},function(e,t,n){var r=n(351),o=n(164),i=n(352).CONSTRUCTOR;e.exports=i||!o((function(e){r.all(e).then(void 0,(function(){}))}))},function(e,t,n){var r=n(3),o=n(36),i=n(352).CONSTRUCTOR,a=n(351),s=n(23),l=n(21),c=n(47),u=a&&a.prototype;if(r({target:"Promise",proto:!0,forced:i,real:!0},{catch:function(e){return this.then(void 0,e)}}),!o&&l(a)){var d=s("Promise").prototype.catch;u.catch!==d&&c(u,"catch",d,{unsafe:!0})}},function(e,t,n){var r=n(3),o=n(8),i=n(30),a=n(353),s=n(350),l=n(130);r({target:"Promise",stat:!0,forced:n(355)},{race:function(e){var t=this,n=a.f(t),r=n.reject,c=s((function(){var a=i(t.resolve);l(e,(function(e){o(a,t,e).then(n.resolve,r)}))}));return c.error&&r(c.value),n.promise}})},function(e,t,n){var r=n(3),o=n(353);r({target:"Promise",stat:!0,forced:n(352).CONSTRUCTOR},{reject:function(e){var t=o.f(this);return(0,t.reject)(e),t.promise}})},function(e,t,n){var r=n(3),o=n(23),i=n(36),a=n(351),s=n(352).CONSTRUCTOR,l=n(360),c=o("Promise"),u=i&&!s;r({target:"Promise",stat:!0,forced:i||s},{resolve:function(e){return l(u&&this===c?a:this,e)}})},function(e,t,n){var r=n(46),o=n(20),i=n(353);e.exports=function(e,t){if(r(e),o(t)&&t.constructor===e)return t;var n=i.f(e);return(0,n.resolve)(t),n.promise}},function(e,t,n){var r=n(3),o=n(8),i=n(30),a=n(353),s=n(350),l=n(130);r({target:"Promise",stat:!0,forced:n(355)},{allSettled:function(e){var t=this,n=a.f(t),r=n.resolve,c=n.reject,u=s((function(){var n=i(t.resolve),a=[],s=0,c=1;l(e,(function(e){var i=s++,l=!1;c++,o(n,t,e).then((function(e){l||(l=!0,a[i]={status:"fulfilled",value:e},--c||r(a))}),(function(e){l||(l=!0,a[i]={status:"rejected",reason:e},--c||r(a))}))})),--c||r(a)}));return u.error&&c(u.value),n.promise}})},function(e,t,n){var r=n(3),o=n(8),i=n(30),a=n(23),s=n(353),l=n(350),c=n(130),u=n(355),d="No one promise resolved";r({target:"Promise",stat:!0,forced:u},{any:function(e){var t=this,n=a("AggregateError"),r=s.f(t),u=r.resolve,p=r.reject,f=l((function(){var r=i(t.resolve),a=[],s=0,l=1,f=!1;c(e,(function(e){var i=s++,c=!1;l++,o(r,t,e).then((function(e){c||f||(f=!0,u(e))}),(function(e){c||f||(c=!0,a[i]=e,--l||p(new n(a,d)))}))})),--l||p(new n(a,d))}));return f.error&&p(f.value),r.promise}})},function(e,t,n){var r=n(3),o=n(36),i=n(351),a=n(7),s=n(23),l=n(21),c=n(219),u=n(360),d=n(47),p=i&&i.prototype;if(r({target:"Promise",proto:!0,real:!0,forced:!!i&&a((function(){p.finally.call({then:function(){}},(function(){}))}))},{finally:function(e){var t=c(this,s("Promise")),n=l(e);return this.then(n?function(n){return u(t,e()).then((function(){return n}))}:e,n?function(n){return u(t,e()).then((function(){throw n}))}:e)}}),!o&&l(i)){var f=s("Promise").prototype.finally;p.finally!==f&&d(p,"finally",f,{unsafe:!0})}},function(e,t,n){var r=n(3),o=n(353);r({target:"Promise",stat:!0},{withResolvers:function(){var e=o.f(this);return{promise:e.promise,resolve:e.resolve,reject:e.reject}}})},function(e,t,n){var r=n(3),o=n(94),i=n(30),a=n(46);r({target:"Reflect",stat:!0,forced:!n(7)((function(){Reflect.apply((function(){}))}))},{apply:function(e,t,n){return o(i(e),t,a(n))}})},function(e,t,n){var r=n(3),o=n(23),i=n(94),a=n(248),s=n(220),l=n(46),c=n(20),u=n(71),d=n(7),p=o("Reflect","construct"),f=Object.prototype,h=[].push,m=d((function(){function e(){}return!(p((function(){}),[],e)instanceof e)})),g=!d((function(){p((function(){}))})),v=m||g;r({target:"Reflect",stat:!0,forced:v,sham:v},{construct:function(e,t){s(e),l(t);var n=arguments.length<3?e:s(arguments[2]);if(g&&!m)return p(e,t,n);if(e===n){switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3])}var r=[null];return i(h,r,t),new(i(a,e,r))}var o=n.prototype,d=u(c(o)?o:f),v=i(e,d,t);return c(v)?v:d}})},function(e,t,n){var r=n(3),o=n(6),i=n(46),a=n(18),s=n(44);r({target:"Reflect",stat:!0,forced:n(7)((function(){Reflect.defineProperty(s.f({},1,{value:1}),1,{value:2})})),sham:!o},{defineProperty:function(e,t,n){i(e);var r=a(t);i(n);try{return s.f(e,r,n),!0}catch(e){return!1}}})},function(e,t,n){var r=n(3),o=n(46),i=n(5).f;r({target:"Reflect",stat:!0},{deleteProperty:function(e,t){var n=i(o(e),t);return!(n&&!n.configurable)&&delete e[t]}})},function(e,t,n){var r=n(3),o=n(8),i=n(20),a=n(46),s=n(370),l=n(5),c=n(128);r({target:"Reflect",stat:!0},{get:function e(t,n){var r,u,d=arguments.length<3?t:arguments[2];return a(t)===d?t[n]:(r=l.f(t,n))?s(r)?r.value:void 0===r.get?void 0:o(r.get,d):i(u=c(t))?e(u,n,d):void 0}})},function(e,t,n){var r=n(38);e.exports=function(e){return void 0!==e&&(r(e,"value")||r(e,"writable"))}},function(e,t,n){var r=n(3),o=n(6),i=n(46),a=n(5);r({target:"Reflect",stat:!0,sham:!o},{getOwnPropertyDescriptor:function(e,t){return a.f(i(e),t)}})},function(e,t,n){var r=n(3),o=n(46),i=n(128);r({target:"Reflect",stat:!0,sham:!n(129)},{getPrototypeOf:function(e){return i(o(e))}})},function(e,t,n){n(3)({target:"Reflect",stat:!0},{has:function(e,t){return t in e}})},function(e,t,n){var r=n(3),o=n(46),i=n(257);r({target:"Reflect",stat:!0},{isExtensible:function(e){return o(e),i(e)}})},function(e,t,n){n(3)({target:"Reflect",stat:!0},{ownKeys:n(56)})},function(e,t,n){var r=n(3),o=n(23),i=n(46);r({target:"Reflect",stat:!0,sham:!n(259)},{preventExtensions:function(e){i(e);try{var t=o("Object","preventExtensions");return t&&t(e),!0}catch(e){return!1}}})},function(e,t,n){var r=n(3),o=n(8),i=n(46),a=n(20),s=n(370),l=n(7),c=n(44),u=n(5),d=n(128),p=n(11);r({target:"Reflect",stat:!0,forced:l((function(){var e=function(){},t=c.f(new e,"a",{configurable:!0});return!1!==Reflect.set(e.prototype,"a",1,t)}))},{set:function e(t,n,r){var l,f,h,m=arguments.length<4?t:arguments[3],g=u.f(i(t),n);if(!g){if(a(f=d(t)))return e(f,n,r,m);g=p(0)}if(s(g)){if(!1===g.writable||!a(m))return!1;if(l=u.f(m,n)){if(l.get||l.set||!1===l.writable)return!1;l.value=r,c.f(m,n,l)}else c.f(m,n,p(0,r))}else{if(void 0===(h=g.set))return!1;o(h,m,r)}return!0}})},function(e,t,n){var r=n(3),o=n(46),i=n(115),a=n(113);a&&r({target:"Reflect",stat:!0},{setPrototypeOf:function(e,t){o(e),i(t);try{return a(e,t),!0}catch(e){return!1}}})},function(e,t,n){var r=n(3),o=n(4),i=n(82);r({global:!0},{Reflect:{}}),i(o.Reflect,"Reflect",!0)},function(e,t,n){var r=n(6),o=n(4),i=n(14),a=n(67),s=n(118),l=n(43),c=n(71),u=n(57).f,d=n(24),p=n(381),f=n(68),h=n(382),m=n(384),g=n(117),v=n(47),y=n(7),b=n(38),x=n(51).enforce,w=n(193),A=n(33),_=n(385),S=n(386),k=A("match"),C=o.RegExp,T=C.prototype,M=o.SyntaxError,P=i(T.exec),O=i("".charAt),E=i("".replace),D=i("".indexOf),R=i("".slice),I=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,N=/a/g,L=/a/g,j=new C(N)!==N,$=m.MISSED_STICKY,z=m.UNSUPPORTED_Y,F=r&&(!j||$||_||S||y((function(){return L[k]=!1,C(N)!==N||C(L)===L||"/a/i"!==String(C(N,"i"))})));if(a("RegExp",F)){for(var B=function(e,t){var n,r,o,i,a,u,m=d(T,this),g=p(e),v=void 0===t,y=[],w=e;if(!m&&g&&v&&e.constructor===B)return e;if((g||d(T,e))&&(e=e.source,v&&(t=h(w))),e=void 0===e?"":f(e),t=void 0===t?"":f(t),w=e,_&&"dotAll"in N&&(r=!!t&&D(t,"s")>-1)&&(t=E(t,/s/g,"")),n=t,$&&"sticky"in N&&(o=!!t&&D(t,"y")>-1)&&z&&(t=E(t,/y/g,"")),S&&(i=function(e){for(var t,n=e.length,r=0,o="",i=[],a=c(null),s=!1,l=!1,u=0,d="";r<=n;r++){if("\\"===(t=O(e,r)))t+=O(e,++r);else if("]"===t)s=!1;else if(!s)switch(!0){case"["===t:s=!0;break;case"("===t:P(I,R(e,r+1))&&(r+=2,l=!0),o+=t,u++;continue;case">"===t&&l:if(""===d||b(a,d))throw new M("Invalid capture group name");a[d]=!0,i[i.length]=[d,u],l=!1,d="";continue}l?d+=t:o+=t}return[o,i]}(e),e=i[0],y=i[1]),a=s(C(e,t),m?this:T,B),(r||o||y.length)&&(u=x(a),r&&(u.dotAll=!0,u.raw=B(function(e){for(var t,n=e.length,r=0,o="",i=!1;r<=n;r++)"\\"!==(t=O(e,r))?i||"."!==t?("["===t?i=!0:"]"===t&&(i=!1),o+=t):o+="[\\s\\S]":o+=t+O(e,++r);return o}(e),n)),o&&(u.sticky=!0),y.length&&(u.groups=y)),e!==w)try{l(a,"source",""===w?"(?:)":w)}catch(e){}return a},H=u(C),V=0;H.length>V;)g(B,C,H[V++]);T.constructor=B,B.prototype=T,v(o,"RegExp",B,{constructor:!0})}w("RegExp")},function(e,t,n){var r=n(20),o=n(15),i=n(33)("match");e.exports=function(e){var t;return r(e)&&(void 0!==(t=e[i])?!!t:"RegExp"===o(e))}},function(e,t,n){var r=n(8),o=n(38),i=n(24),a=n(383),s=RegExp.prototype;e.exports=function(e){var t=e.flags;return void 0!==t||"flags"in s||o(e,"flags")||!i(s,e)?t:r(a,e)}},function(e,t,n){var r=n(46);e.exports=function(){var e=r(this),t="";return e.hasIndices&&(t+="d"),e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.unicodeSets&&(t+="v"),e.sticky&&(t+="y"),t}},function(e,t,n){var r=n(7),o=n(4).RegExp,i=r((function(){var e=o("a","y");return e.lastIndex=2,null!==e.exec("abcd")})),a=i||r((function(){return!o("a","y").sticky})),s=i||r((function(){var e=o("^r","gy");return e.lastIndex=2,null!==e.exec("str")}));e.exports={BROKEN_CARET:s,MISSED_STICKY:a,UNSUPPORTED_Y:i}},function(e,t,n){var r=n(7),o=n(4).RegExp;e.exports=r((function(){var e=o(".","s");return!(e.dotAll&&e.test("\n")&&"s"===e.flags)}))},function(e,t,n){var r=n(7),o=n(4).RegExp;e.exports=r((function(){var e=o("(?<a>b)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$<a>c")}))},function(e,t,n){var r=n(6),o=n(385),i=n(15),a=n(77),s=n(51).get,l=RegExp.prototype,c=TypeError;r&&o&&a(l,"dotAll",{configurable:!0,get:function(){if(this!==l){if("RegExp"===i(this))return!!s(this).dotAll;throw new c("Incompatible receiver, RegExp required")}}})},function(e,t,n){var r=n(3),o=n(389);r({target:"RegExp",proto:!0,forced:/./.exec!==o},{exec:o})},function(e,t,n){var r,o,i=n(8),a=n(14),s=n(68),l=n(383),c=n(384),u=n(34),d=n(71),p=n(51).get,f=n(385),h=n(386),m=u("native-string-replace",String.prototype.replace),g=RegExp.prototype.exec,v=g,y=a("".charAt),b=a("".indexOf),x=a("".replace),w=a("".slice),A=(o=/b*/g,i(g,r=/a/,"a"),i(g,o,"a"),0!==r.lastIndex||0!==o.lastIndex),_=c.BROKEN_CARET,S=void 0!==/()??/.exec("")[1];(A||S||_||f||h)&&(v=function(e){var t,n,r,o,a,c,u,f=this,h=p(f),k=s(e),C=h.raw;if(C)return C.lastIndex=f.lastIndex,t=i(v,C,k),f.lastIndex=C.lastIndex,t;var T=h.groups,M=_&&f.sticky,P=i(l,f),O=f.source,E=0,D=k;if(M&&(P=x(P,"y",""),-1===b(P,"g")&&(P+="g"),D=w(k,f.lastIndex),f.lastIndex>0&&(!f.multiline||f.multiline&&"\n"!==y(k,f.lastIndex-1))&&(O="(?: "+O+")",D=" "+D,E++),n=new RegExp("^(?:"+O+")",P)),S&&(n=new RegExp("^"+O+"$(?!\\s)",P)),A&&(r=f.lastIndex),o=i(g,M?n:f,D),M?o?(o.input=w(o.input,E),o[0]=w(o[0],E),o.index=f.lastIndex,f.lastIndex+=o[0].length):f.lastIndex=0:A&&o&&(f.lastIndex=f.global?o.index+o[0].length:r),S&&o&&o.length>1&&i(m,o[0],n,(function(){for(a=1;a<arguments.length-2;a++)void 0===arguments[a]&&(o[a]=void 0)})),o&&T)for(o.groups=c=d(null),a=0;a<T.length;a++)c[(u=T[a])[0]]=o[u[1]];return o}),e.exports=v},function(e,t,n){var r=n(4),o=n(6),i=n(77),a=n(383),s=n(7),l=r.RegExp,c=l.prototype;o&&s((function(){var e=!0;try{l(".","d")}catch(t){e=!1}var t={},n="",r=e?"dgimsy":"gimsy",o=function(e,r){Object.defineProperty(t,e,{get:function(){return n+=r,!0}})},i={dotAll:"s",global:"g",ignoreCase:"i",multiline:"m",sticky:"y"};for(var a in e&&(i.hasIndices="d"),i)o(a,i[a]);return Object.getOwnPropertyDescriptor(c,"flags").get.call(t)!==r||n!==r}))&&i(c,"flags",{configurable:!0,get:a})},function(e,t,n){var r=n(6),o=n(384).MISSED_STICKY,i=n(15),a=n(77),s=n(51).get,l=RegExp.prototype,c=TypeError;r&&o&&a(l,"sticky",{configurable:!0,get:function(){if(this!==l){if("RegExp"===i(this))return!!s(this).sticky;throw new c("Incompatible receiver, RegExp required")}}})},function(e,t,n){n(388);var r,o,i=n(3),a=n(8),s=n(21),l=n(46),c=n(68),u=(r=!1,(o=/[ac]/).exec=function(){return r=!0,/./.exec.apply(this,arguments)},!0===o.test("abc")&&r),d=/./.test;i({target:"RegExp",proto:!0,forced:!u},{test:function(e){var t=l(this),n=c(e),r=t.exec;if(!s(r))return a(d,t,n);var o=a(r,t,n);return null!==o&&(l(o),!0)}})},function(e,t,n){var r=n(49).PROPER,o=n(47),i=n(46),a=n(68),s=n(7),l=n(382),c="toString",u=RegExp.prototype,d=u[c],p=s((function(){return"/a/b"!==d.call({source:"a",flags:"b"})})),f=r&&d.name!==c;(p||f)&&o(u,c,(function(){var e=i(this);return"/"+a(e.source)+"/"+a(l(e))}),{unsafe:!0})},function(e,t,n){n(395)},function(e,t,n){n(255)("Set",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),n(260))},function(e,t,n){var r=n(3),o=n(397);r({target:"Set",proto:!0,real:!0,forced:!n(406)("difference")},{difference:o})},function(e,t,n){var r=n(398),o=n(399),i=n(400),a=n(403),s=n(404),l=n(401),c=n(402),u=o.has,d=o.remove;e.exports=function(e){var t=r(this),n=s(e),o=i(t);return a(t)<=n.size?l(t,(function(e){n.includes(e)&&d(o,e)})):c(n.getIterator(),(function(e){u(t,e)&&d(o,e)})),o}},function(e,t,n){var r=n(399).has;e.exports=function(e){return r(e),e}},function(e,t,n){var r=n(14),o=Set.prototype;e.exports={Set:Set,add:r(o.add),has:r(o.has),remove:r(o.delete),proto:o}},function(e,t,n){var r=n(399),o=n(401),i=r.Set,a=r.add;e.exports=function(e){var t=new i;return o(e,(function(e){a(t,e)})),t}},function(e,t,n){var r=n(14),o=n(402),i=n(399),a=i.Set,s=i.proto,l=r(s.forEach),c=r(s.keys),u=c(new a).next;e.exports=function(e,t,n){return n?o({iterator:c(e),next:u},t):l(e,t)}},function(e,t,n){var r=n(8);e.exports=function(e,t,n){for(var o,i,a=n?e:e.iterator,s=e.next;!(o=r(s,a)).done;)if(void 0!==(i=t(o.value)))return i}},function(e,t,n){var r=n(114),o=n(399);e.exports=r(o.proto,"size","get")||function(e){return e.size}},function(e,t,n){var r=n(30),o=n(46),i=n(8),a=n(61),s=n(405),l="Invalid size",c=RangeError,u=TypeError,d=Math.max,p=function(e,t){this.set=e,this.size=d(t,0),this.has=r(e.has),this.keys=r(e.keys)};p.prototype={getIterator:function(){return s(o(i(this.keys,this.set)))},includes:function(e){return i(this.has,this.set,e)}},e.exports=function(e){o(e);var t=+e.size;if(t!=t)throw new u(l);var n=a(t);if(n<0)throw new c(l);return new p(e,n)}},function(e){e.exports=function(e){return{iterator:e,next:e.next,done:!1}}},function(e,t,n){var r=n(23),o=function(e){return{size:e,has:function(){return!1},keys:function(){return{next:function(){return{done:!0}}}}}};e.exports=function(e){var t=r("Set");try{(new t)[e](o(0));try{return(new t)[e](o(-1)),!1}catch(e){return!0}}catch(e){return!1}}},function(e,t,n){var r=n(3),o=n(7),i=n(408);r({target:"Set",proto:!0,real:!0,forced:!n(406)("intersection")||o((function(){return"3,2"!==String(Array.from(new Set([1,2,3]).intersection(new Set([3,2]))))}))},{intersection:i})},function(e,t,n){var r=n(398),o=n(399),i=n(403),a=n(404),s=n(401),l=n(402),c=o.Set,u=o.add,d=o.has;e.exports=function(e){var t=r(this),n=a(e),o=new c;return i(t)>n.size?l(n.getIterator(),(function(e){d(t,e)&&u(o,e)})):s(t,(function(e){n.includes(e)&&u(o,e)})),o}},function(e,t,n){var r=n(3),o=n(410);r({target:"Set",proto:!0,real:!0,forced:!n(406)("isDisjointFrom")},{isDisjointFrom:o})},function(e,t,n){var r=n(398),o=n(399).has,i=n(403),a=n(404),s=n(401),l=n(402),c=n(135);e.exports=function(e){var t=r(this),n=a(e);if(i(t)<=n.size)return!1!==s(t,(function(e){if(n.includes(e))return!1}),!0);var u=n.getIterator();return!1!==l(u,(function(e){if(o(t,e))return c(u,"normal",!1)}))}},function(e,t,n){var r=n(3),o=n(412);r({target:"Set",proto:!0,real:!0,forced:!n(406)("isSubsetOf")},{isSubsetOf:o})},function(e,t,n){var r=n(398),o=n(403),i=n(401),a=n(404);e.exports=function(e){var t=r(this),n=a(e);return!(o(t)>n.size)&&!1!==i(t,(function(e){if(!n.includes(e))return!1}),!0)}},function(e,t,n){var r=n(3),o=n(414);r({target:"Set",proto:!0,real:!0,forced:!n(406)("isSupersetOf")},{isSupersetOf:o})},function(e,t,n){var r=n(398),o=n(399).has,i=n(403),a=n(404),s=n(402),l=n(135);e.exports=function(e){var t=r(this),n=a(e);if(i(t)<n.size)return!1;var c=n.getIterator();return!1!==s(c,(function(e){if(!o(t,e))return l(c,"normal",!1)}))}},function(e,t,n){var r=n(3),o=n(416);r({target:"Set",proto:!0,real:!0,forced:!n(406)("symmetricDifference")},{symmetricDifference:o})},function(e,t,n){var r=n(398),o=n(399),i=n(400),a=n(404),s=n(402),l=o.add,c=o.has,u=o.remove;e.exports=function(e){var t=r(this),n=a(e).getIterator(),o=i(t);return s(n,(function(e){c(t,e)?u(o,e):l(o,e)})),o}},function(e,t,n){var r=n(3),o=n(418);r({target:"Set",proto:!0,real:!0,forced:!n(406)("union")},{union:o})},function(e,t,n){var r=n(398),o=n(399).add,i=n(400),a=n(404),s=n(402);e.exports=function(e){var t=r(this),n=a(e).getIterator(),l=i(t);return s(n,(function(e){o(l,e)})),l}},function(e,t,n){var r=n(3),o=n(14),i=n(16),a=n(61),s=n(68),l=n(7),c=o("".charAt);r({target:"String",proto:!0,forced:l((function(){return"\ud842"!=="ð ®·".at(-2)}))},{at:function(e){var t=s(i(this)),n=t.length,r=a(e),o=r>=0?r:n+r;return o<0||o>=n?void 0:c(t,o)}})},function(e,t,n){var r=n(3),o=n(421).codeAt;r({target:"String",proto:!0},{codePointAt:function(e){return o(this,e)}})},function(e,t,n){var r=n(14),o=n(61),i=n(68),a=n(16),s=r("".charAt),l=r("".charCodeAt),c=r("".slice),u=function(e){return function(t,n){var r,u,d=i(a(t)),p=o(n),f=d.length;return p<0||p>=f?e?"":void 0:(r=l(d,p))<55296||r>56319||p+1===f||(u=l(d,p+1))<56320||u>57343?e?s(d,p):r:e?c(d,p,p+2):u-56320+(r-55296<<10)+65536}};e.exports={codeAt:u(!1),charAt:u(!0)}},function(e,t,n){var r,o=n(3),i=n(85),a=n(5).f,s=n(64),l=n(68),c=n(423),u=n(16),d=n(424),p=n(36),f=i("".slice),h=Math.min,m=d("endsWith");o({target:"String",proto:!0,forced:!(!p&&!m&&(r=a(String.prototype,"endsWith"),r&&!r.writable)||m)},{endsWith:function(e){var t=l(u(this));c(e);var n=arguments.length>1?arguments[1]:void 0,r=t.length,o=void 0===n?r:h(s(n),r),i=l(e);return f(t,o-i.length,o)===i}})},function(e,t,n){var r=n(381),o=TypeError;e.exports=function(e){if(r(e))throw new o("The method doesn't accept regular expressions");return e}},function(e,t,n){var r=n(33)("match");e.exports=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[r]=!1,"/./"[e](t)}catch(e){}}return!1}},function(e,t,n){var r=n(3),o=n(14),i=n(60),a=RangeError,s=String.fromCharCode,l=String.fromCodePoint,c=o([].join);r({target:"String",stat:!0,arity:1,forced:!!l&&1!==l.length},{fromCodePoint:function(e){for(var t,n=[],r=arguments.length,o=0;r>o;){if(t=+arguments[o++],i(t,1114111)!==t)throw new a(t+" is not a valid code point");n[o]=t<65536?s(t):s(55296+((t-=65536)>>10),t%1024+56320)}return c(n,"")}})},function(e,t,n){var r=n(3),o=n(14),i=n(423),a=n(16),s=n(68),l=n(424),c=o("".indexOf);r({target:"String",proto:!0,forced:!l("includes")},{includes:function(e){return!!~c(s(a(this)),s(i(e)),arguments.length>1?arguments[1]:void 0)}})},function(e,t,n){var r=n(3),o=n(14),i=n(16),a=n(68),s=o("".charCodeAt);r({target:"String",proto:!0},{isWellFormed:function(){for(var e=a(i(this)),t=e.length,n=0;n<t;n++){var r=s(e,n);if(55296==(63488&r)&&(r>=56320||++n>=t||56320!=(64512&s(e,n))))return!1}return!0}})},function(e,t,n){var r=n(421).charAt,o=n(68),i=n(51),a=n(169),s=n(172),l="String Iterator",c=i.set,u=i.getterFor(l);a(String,"String",(function(e){c(this,{type:l,string:o(e),index:0})}),(function(){var e,t=u(this),n=t.string,o=t.index;return o>=n.length?s(void 0,!0):(e=r(n,o),t.index+=e.length,s(e,!1))}))},function(e,t,n){var r=n(8),o=n(430),i=n(46),a=n(17),s=n(64),l=n(68),c=n(16),u=n(29),d=n(431),p=n(432);o("match",(function(e,t,n){return[function(t){var n=c(this),o=a(t)?void 0:u(t,e);return o?r(o,t,n):new RegExp(t)[e](l(n))},function(e){var r=i(this),o=l(e),a=n(t,r,o);if(a.done)return a.value;if(!r.global)return p(r,o);var c=r.unicode;r.lastIndex=0;for(var u,f=[],h=0;null!==(u=p(r,o));){var m=l(u[0]);f[h]=m,""===m&&(r.lastIndex=d(o,s(r.lastIndex),c)),h++}return 0===h?null:f}]}))},function(e,t,n){n(388);var r=n(8),o=n(47),i=n(389),a=n(7),s=n(33),l=n(43),c=s("species"),u=RegExp.prototype;e.exports=function(e,t,n,d){var p=s(e),f=!a((function(){var t={};return t[p]=function(){return 7},7!==""[e](t)})),h=f&&!a((function(){var t=!1,n=/a/;return"split"===e&&((n={}).constructor={},n.constructor[c]=function(){return n},n.flags="",n[p]=/./[p]),n.exec=function(){return t=!0,null},n[p](""),!t}));if(!f||!h||n){var m=/./[p],g=t(p,""[e],(function(e,t,n,o,a){var s=t.exec;return s===i||s===u.exec?f&&!a?{done:!0,value:r(m,t,n,o)}:{done:!0,value:r(e,n,t,o)}:{done:!1}}));o(String.prototype,e,g[0]),o(u,p,g[1])}d&&l(u[p],"sham",!0)}},function(e,t,n){var r=n(421).charAt;e.exports=function(e,t,n){return t+(n?r(e,t).length:1)}},function(e,t,n){var r=n(8),o=n(46),i=n(21),a=n(15),s=n(389),l=TypeError;e.exports=function(e,t){var n=e.exec;if(i(n)){var c=r(n,e,t);return null!==c&&o(c),c}if("RegExp"===a(e))return r(s,e,t);throw new l("RegExp#exec called on incompatible receiver")}},function(e,t,n){var r=n(3),o=n(8),i=n(85),a=n(170),s=n(172),l=n(16),c=n(64),u=n(68),d=n(46),p=n(17),f=n(15),h=n(381),m=n(382),g=n(29),v=n(47),y=n(7),b=n(33),x=n(219),w=n(431),A=n(432),_=n(51),S=n(36),k=b("matchAll"),C="RegExp String",T=C+" Iterator",M=_.set,P=_.getterFor(T),O=RegExp.prototype,E=TypeError,D=i("".indexOf),R=i("".matchAll),I=!!R&&!y((function(){R("a",/./)})),N=a((function(e,t,n,r){M(this,{type:T,regexp:e,string:t,global:n,unicode:r,done:!1})}),C,(function(){var e=P(this);if(e.done)return s(void 0,!0);var t=e.regexp,n=e.string,r=A(t,n);return null===r?(e.done=!0,s(void 0,!0)):e.global?(""===u(r[0])&&(t.lastIndex=w(n,c(t.lastIndex),e.unicode)),s(r,!1)):(e.done=!0,s(r,!1))})),L=function(e){var t,n,r,o=d(this),i=u(e),a=x(o,RegExp),s=u(m(o));return t=new a(a===RegExp?o.source:o,s),n=!!~D(s,"g"),r=!!~D(s,"u"),t.lastIndex=c(o.lastIndex),new N(t,i,n,r)};r({target:"String",proto:!0,forced:I},{matchAll:function(e){var t,n,r,i,a=l(this);if(p(e)){if(I)return R(a,e)}else{if(h(e)&&(t=u(l(m(e))),!~D(t,"g")))throw new E("`.matchAll` does not allow non-global regexes");if(I)return R(a,e);if(void 0===(r=g(e,k))&&S&&"RegExp"===f(e)&&(r=L),r)return o(r,e,a)}return n=u(a),i=new RegExp(e,"g"),S?o(L,i,n):i[k](n)}}),S||k in O||v(O,k,L)},function(e,t,n){var r=n(3),o=n(240).end;r({target:"String",proto:!0,forced:n(435)},{padEnd:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},function(e,t,n){var r=n(28);e.exports=/Version\/10(?:\.\d+){1,2}(?: [\w./]+)?(?: Mobile\/\w+)? Safari\//.test(r)},function(e,t,n){var r=n(3),o=n(240).start;r({target:"String",proto:!0,forced:n(435)},{padStart:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},function(e,t,n){var r=n(3),o=n(14),i=n(12),a=n(39),s=n(68),l=n(63),c=o([].push),u=o([].join);r({target:"String",stat:!0},{raw:function(e){var t=i(a(e).raw),n=l(t);if(!n)return"";for(var r=arguments.length,o=[],d=0;;){if(c(o,s(t[d++])),d===n)return u(o,"");d<r&&c(o,s(arguments[d]))}}})},function(e,t,n){n(3)({target:"String",proto:!0},{repeat:n(241)})},function(e,t,n){var r=n(94),o=n(8),i=n(14),a=n(430),s=n(7),l=n(46),c=n(21),u=n(17),d=n(61),p=n(64),f=n(68),h=n(16),m=n(431),g=n(29),v=n(440),y=n(432),b=n(33)("replace"),x=Math.max,w=Math.min,A=i([].concat),_=i([].push),S=i("".indexOf),k=i("".slice),C="$0"==="a".replace(/./,"$0"),T=!!/./[b]&&""===/./[b]("a","$0");a("replace",(function(e,t,n){var i=T?"$":"$0";return[function(e,n){var r=h(this),i=u(e)?void 0:g(e,b);return i?o(i,e,r,n):o(t,f(r),e,n)},function(e,o){var a=l(this),s=f(e);if("string"==typeof o&&-1===S(o,i)&&-1===S(o,"$<")){var u=n(t,a,s,o);if(u.done)return u.value}var h=c(o);h||(o=f(o));var g,b=a.global;b&&(g=a.unicode,a.lastIndex=0);for(var C,T=[];null!==(C=y(a,s))&&(_(T,C),b);)""===f(C[0])&&(a.lastIndex=m(s,p(a.lastIndex),g));for(var M,P="",O=0,E=0;E<T.length;E++){for(var D,R=f((C=T[E])[0]),I=x(w(d(C.index),s.length),0),N=[],L=1;L<C.length;L++)_(N,void 0===(M=C[L])?M:String(M));var j=C.groups;if(h){var $=A([R],N,I,s);void 0!==j&&_($,j),D=f(r(o,void 0,$))}else D=v(R,s,I,N,j,o);I>=O&&(P+=k(s,O,I)+D,O=I+R.length)}return P+k(s,O)}]}),!!s((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")}))||!C||T)},function(e,t,n){var r=n(14),o=n(39),i=Math.floor,a=r("".charAt),s=r("".replace),l=r("".slice),c=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,u=/\$([$&'`]|\d{1,2})/g;e.exports=function(e,t,n,r,d,p){var f=n+e.length,h=r.length,m=u;return void 0!==d&&(d=o(d),m=c),s(p,m,(function(o,s){var c;switch(a(s,0)){case"$":return"$";case"&":return e;case"`":return l(t,0,n);case"'":return l(t,f);case"<":c=d[l(s,1,-1)];break;default:var u=+s;if(0===u)return o;if(u>h){var p=i(u/10);return 0===p?o:p<=h?void 0===r[p-1]?a(s,1):r[p-1]+a(s,1):o}c=r[u-1]}return void 0===c?"":c}))}},function(e,t,n){var r=n(3),o=n(8),i=n(14),a=n(16),s=n(21),l=n(17),c=n(381),u=n(68),d=n(29),p=n(382),f=n(440),h=n(33),m=n(36),g=h("replace"),v=TypeError,y=i("".indexOf),b=i("".replace),x=i("".slice),w=Math.max;r({target:"String",proto:!0},{replaceAll:function(e,t){var n,r,i,h,A,_,S,k,C,T=a(this),M=0,P=0,O="";if(!l(e)){if((n=c(e))&&(r=u(a(p(e))),!~y(r,"g")))throw new v("`.replaceAll` does not allow non-global regexes");if(i=d(e,g))return o(i,e,T,t);if(m&&n)return b(u(T),e,t)}for(h=u(T),A=u(e),(_=s(t))||(t=u(t)),S=A.length,k=w(1,S),M=y(h,A);-1!==M;)C=_?u(t(A,M,h)):f(A,h,M,[],void 0,t),O+=x(h,P,M)+C,P=M+S,M=M+k>h.length?-1:y(h,A,M+k);return P<h.length&&(O+=x(h,P)),O}})},function(e,t,n){var r=n(8),o=n(430),i=n(46),a=n(17),s=n(16),l=n(323),c=n(68),u=n(29),d=n(432);o("search",(function(e,t,n){return[function(t){var n=s(this),o=a(t)?void 0:u(t,e);return o?r(o,t,n):new RegExp(t)[e](c(n))},function(e){var r=i(this),o=c(e),a=n(t,r,o);if(a.done)return a.value;var s=r.lastIndex;l(s,0)||(r.lastIndex=0);var u=d(r,o);return l(r.lastIndex,s)||(r.lastIndex=s),null===u?-1:u.index}]}))},function(e,t,n){var r=n(8),o=n(14),i=n(430),a=n(46),s=n(17),l=n(16),c=n(219),u=n(431),d=n(64),p=n(68),f=n(29),h=n(432),m=n(384),g=n(7),v=m.UNSUPPORTED_Y,y=Math.min,b=o([].push),x=o("".slice),w=!g((function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n="ab".split(e);return 2!==n.length||"a"!==n[0]||"b"!==n[1]})),A="c"==="abbc".split(/(b)*/)[1]||4!=="test".split(/(?:)/,-1).length||2!=="ab".split(/(?:ab)*/).length||4!==".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length;i("split",(function(e,t,n){var o="0".split(void 0,0).length?function(e,n){return void 0===e&&0===n?[]:r(t,this,e,n)}:t;return[function(t,n){var i=l(this),a=s(t)?void 0:f(t,e);return a?r(a,t,i,n):r(o,p(i),t,n)},function(e,r){var i=a(this),s=p(e);if(!A){var l=n(o,i,s,r,o!==t);if(l.done)return l.value}var f=c(i,RegExp),m=i.unicode,g=(i.ignoreCase?"i":"")+(i.multiline?"m":"")+(i.unicode?"u":"")+(v?"g":"y"),w=new f(v?"^(?:"+i.source+")":i,g),_=void 0===r?4294967295:r>>>0;if(0===_)return[];if(0===s.length)return null===h(w,s)?[s]:[];for(var S=0,k=0,C=[];k<s.length;){w.lastIndex=v?0:k;var T,M=h(w,v?x(s,k):s);if(null===M||(T=y(d(w.lastIndex+(v?k:0)),s.length))===S)k=u(s,k,m);else{if(b(C,x(s,S,k)),C.length===_)return C;for(var P=1;P<=M.length-1;P++)if(b(C,M[P]),C.length===_)return C;k=S=T}}return b(C,x(s,S)),C}]}),A||!w,v)},function(e,t,n){var r,o=n(3),i=n(85),a=n(5).f,s=n(64),l=n(68),c=n(423),u=n(16),d=n(424),p=n(36),f=i("".slice),h=Math.min,m=d("startsWith");o({target:"String",proto:!0,forced:!(!p&&!m&&(r=a(String.prototype,"startsWith"),r&&!r.writable)||m)},{startsWith:function(e){var t=l(u(this));c(e);var n=s(h(arguments.length>1?arguments[1]:void 0,t.length)),r=l(e);return f(t,n,n+r.length)===r}})},function(e,t,n){var r=n(3),o=n(14),i=n(16),a=n(61),s=n(68),l=o("".slice),c=Math.max,u=Math.min;r({target:"String",proto:!0,forced:!"".substr||"b"!=="ab".substr(-1)},{substr:function(e,t){var n,r,o=s(i(this)),d=o.length,p=a(e);return p===1/0&&(p=0),p<0&&(p=c(d+p,0)),(n=void 0===t?d:a(t))<=0||n===1/0||p>=(r=u(p+n,d))?"":l(o,p,r)}})},function(e,t,n){var r=n(3),o=n(8),i=n(14),a=n(16),s=n(68),l=n(7),c=Array,u=i("".charAt),d=i("".charCodeAt),p=i([].join),f="".toWellFormed,h=f&&l((function(){return"1"!==o(f,1)}));r({target:"String",proto:!0,forced:h},{toWellFormed:function(){var e=s(a(this));if(h)return o(f,e);for(var t=e.length,n=c(t),r=0;r<t;r++){var i=d(e,r);55296!=(63488&i)?n[r]=u(e,r):i>=56320||r+1>=t||56320!=(64512&d(e,r+1))?n[r]="�":(n[r]=u(e,r),n[++r]=u(e,r))}return p(n,"")}})},function(e,t,n){var r=n(3),o=n(286).trim;r({target:"String",proto:!0,forced:n(448)("trim")},{trim:function(){return o(this)}})},function(e,t,n){var r=n(49).PROPER,o=n(7),i=n(287);e.exports=function(e){return o((function(){return!!i[e]()||"â€‹Â…á Ž"!=="â€‹Â…á Ž"[e]()||r&&i[e].name!==e}))}},function(e,t,n){n(450);var r=n(3),o=n(451);r({target:"String",proto:!0,name:"trimEnd",forced:"".trimEnd!==o},{trimEnd:o})},function(e,t,n){var r=n(3),o=n(451);r({target:"String",proto:!0,name:"trimEnd",forced:"".trimRight!==o},{trimRight:o})},function(e,t,n){var r=n(286).end,o=n(448);e.exports=o("trimEnd")?function(){return r(this)}:"".trimEnd},function(e,t,n){n(453);var r=n(3),o=n(454);r({target:"String",proto:!0,name:"trimStart",forced:"".trimStart!==o},{trimStart:o})},function(e,t,n){var r=n(3),o=n(454);r({target:"String",proto:!0,name:"trimStart",forced:"".trimLeft!==o},{trimLeft:o})},function(e,t,n){var r=n(286).start,o=n(448);e.exports=o("trimStart")?function(){return r(this)}:"".trimStart},function(e,t,n){var r=n(3),o=n(456);r({target:"String",proto:!0,forced:n(457)("anchor")},{anchor:function(e){return o(this,"a","name",e)}})},function(e,t,n){var r=n(14),o=n(16),i=n(68),a=/"/g,s=r("".replace);e.exports=function(e,t,n,r){var l=i(o(e)),c="<"+t;return""!==n&&(c+=" "+n+'="'+s(i(r),a,""")+'"'),c+">"+l+"</"+t+">"}},function(e,t,n){var r=n(7);e.exports=function(e){return r((function(){var t=""[e]('"');return t!==t.toLowerCase()||t.split('"').length>3}))}},function(e,t,n){var r=n(3),o=n(456);r({target:"String",proto:!0,forced:n(457)("big")},{big:function(){return o(this,"big","","")}})},function(e,t,n){var r=n(3),o=n(456);r({target:"String",proto:!0,forced:n(457)("blink")},{blink:function(){return o(this,"blink","","")}})},function(e,t,n){var r=n(3),o=n(456);r({target:"String",proto:!0,forced:n(457)("bold")},{bold:function(){return o(this,"b","","")}})},function(e,t,n){var r=n(3),o=n(456);r({target:"String",proto:!0,forced:n(457)("fixed")},{fixed:function(){return o(this,"tt","","")}})},function(e,t,n){var r=n(3),o=n(456);r({target:"String",proto:!0,forced:n(457)("fontcolor")},{fontcolor:function(e){return o(this,"font","color",e)}})},function(e,t,n){var r=n(3),o=n(456);r({target:"String",proto:!0,forced:n(457)("fontsize")},{fontsize:function(e){return o(this,"font","size",e)}})},function(e,t,n){var r=n(3),o=n(456);r({target:"String",proto:!0,forced:n(457)("italics")},{italics:function(){return o(this,"i","","")}})},function(e,t,n){var r=n(3),o=n(456);r({target:"String",proto:!0,forced:n(457)("link")},{link:function(e){return o(this,"a","href",e)}})},function(e,t,n){var r=n(3),o=n(456);r({target:"String",proto:!0,forced:n(457)("small")},{small:function(){return o(this,"small","","")}})},function(e,t,n){var r=n(3),o=n(456);r({target:"String",proto:!0,forced:n(457)("strike")},{strike:function(){return o(this,"strike","","")}})},function(e,t,n){var r=n(3),o=n(456);r({target:"String",proto:!0,forced:n(457)("sub")},{sub:function(){return o(this,"sub","","")}})},function(e,t,n){var r=n(3),o=n(456);r({target:"String",proto:!0,forced:n(457)("sup")},{sup:function(){return o(this,"sup","","")}})},function(e,t,n){n(471)("Float32",(function(e){return function(t,n,r){return e(this,t,n,r)}}))},function(e,t,n){var r=n(3),o=n(4),i=n(8),a=n(6),s=n(472),l=n(217),c=n(207),u=n(210),d=n(11),p=n(43),f=n(292),h=n(64),m=n(211),g=n(473),v=n(475),y=n(18),b=n(38),x=n(69),w=n(20),A=n(22),_=n(71),S=n(24),k=n(113),C=n(57).f,T=n(476),M=n(83).forEach,P=n(193),O=n(77),E=n(44),D=n(5),R=n(198),I=n(51),N=n(118),L=I.get,j=I.set,$=I.enforce,z=E.f,F=D.f,B=o.RangeError,H=c.ArrayBuffer,V=H.prototype,W=c.DataView,U=l.NATIVE_ARRAY_BUFFER_VIEWS,q=l.TYPED_ARRAY_TAG,G=l.TypedArray,Y=l.TypedArrayPrototype,X=l.isTypedArray,K="BYTES_PER_ELEMENT",Z="Wrong length",J=function(e,t){O(e,t,{configurable:!0,get:function(){return L(this)[t]}})},Q=function(e){var t;return S(V,e)||"ArrayBuffer"===(t=x(e))||"SharedArrayBuffer"===t},ee=function(e,t){return X(e)&&!A(t)&&t in e&&f(+t)&&t>=0},te=function(e,t){return t=y(t),ee(e,t)?d(2,e[t]):F(e,t)},ne=function(e,t,n){return t=y(t),!(ee(e,t)&&w(n)&&b(n,"value"))||b(n,"get")||b(n,"set")||n.configurable||b(n,"writable")&&!n.writable||b(n,"enumerable")&&!n.enumerable?z(e,t,n):(e[t]=n.value,e)};a?(U||(D.f=te,E.f=ne,J(Y,"buffer"),J(Y,"byteOffset"),J(Y,"byteLength"),J(Y,"length")),r({target:"Object",stat:!0,forced:!U},{getOwnPropertyDescriptor:te,defineProperty:ne}),e.exports=function(e,t,n){var a=e.match(/\d+/)[0]/8,l=e+(n?"Clamped":"")+"Array",c="get"+e,d="set"+e,f=o[l],y=f,b=y&&y.prototype,x={},A=function(e,t){z(e,t,{get:function(){return function(e,t){var n=L(e);return n.view[c](t*a+n.byteOffset,!0)}(this,t)},set:function(e){return function(e,t,r){var o=L(e);o.view[d](t*a+o.byteOffset,n?v(r):r,!0)}(this,t,e)},enumerable:!0})};U?s&&(y=t((function(e,t,n,r){return u(e,b),N(w(t)?Q(t)?void 0!==r?new f(t,g(n,a),r):void 0!==n?new f(t,g(n,a)):new f(t):X(t)?R(y,t):i(T,y,t):new f(m(t)),e,y)})),k&&k(y,G),M(C(f),(function(e){e in y||p(y,e,f[e])})),y.prototype=b):(y=t((function(e,t,n,r){u(e,b);var o,s,l,c=0,d=0;if(w(t)){if(!Q(t))return X(t)?R(y,t):i(T,y,t);o=t,d=g(n,a);var p=t.byteLength;if(void 0===r){if(p%a)throw new B(Z);if((s=p-d)<0)throw new B(Z)}else if((s=h(r)*a)+d>p)throw new B(Z);l=s/a}else l=m(t),o=new H(s=l*a);for(j(e,{buffer:o,byteOffset:d,byteLength:s,length:l,view:new W(o)});c<l;)A(e,c++)})),k&&k(y,G),b=y.prototype=_(Y)),b.constructor!==y&&p(b,"constructor",y),$(b).TypedArrayConstructor=y,q&&p(b,q,l);var S=y!==f;x[l]=y,r({global:!0,constructor:!0,forced:S,sham:!U},x),K in y||p(y,K,a),K in b||p(b,K,a),P(l)}):e.exports=function(){}},function(e,t,n){var r=n(4),o=n(7),i=n(164),a=n(217).NATIVE_ARRAY_BUFFER_VIEWS,s=r.ArrayBuffer,l=r.Int8Array;e.exports=!a||!o((function(){l(1)}))||!o((function(){new l(-1)}))||!i((function(e){new l,new l(null),new l(1.5),new l(e)}),!0)||o((function(){return 1!==new l(new s(2),1,void 0).length}))},function(e,t,n){var r=n(474),o=RangeError;e.exports=function(e,t){var n=r(e);if(n%t)throw new o("Wrong offset");return n}},function(e,t,n){var r=n(61),o=RangeError;e.exports=function(e){var t=r(e);if(t<0)throw new o("The argument can't be less than 0");return t}},function(e){var t=Math.round;e.exports=function(e){var n=t(e);return n<0?0:n>255?255:255&n}},function(e,t,n){var r=n(84),o=n(8),i=n(220),a=n(39),s=n(63),l=n(133),c=n(134),u=n(131),d=n(477),p=n(217).aTypedArrayConstructor,f=n(478);e.exports=function(e){var t,n,h,m,g,v,y,b,x=i(this),w=a(e),A=arguments.length,_=A>1?arguments[1]:void 0,S=void 0!==_,k=c(w);if(k&&!u(k))for(b=(y=l(w,k)).next,w=[];!(v=o(b,y)).done;)w.push(v.value);for(S&&A>2&&(_=r(_,arguments[2])),n=s(w),h=new(p(x))(n),m=d(h),t=0;n>t;t++)g=S?_(w[t],t):w[t],h[t]=m?f(g):+g;return h}},function(e,t,n){var r=n(69);e.exports=function(e){var t=r(e);return"BigInt64Array"===t||"BigUint64Array"===t}},function(e,t,n){var r=n(19),o=TypeError;e.exports=function(e){var t=r(e,"number");if("number"==typeof t)throw new o("Can't convert number to bigint");return BigInt(t)}},function(e,t,n){n(471)("Float64",(function(e){return function(t,n,r){return e(this,t,n,r)}}))},function(e,t,n){n(471)("Int8",(function(e){return function(t,n,r){return e(this,t,n,r)}}))},function(e,t,n){n(471)("Int16",(function(e){return function(t,n,r){return e(this,t,n,r)}}))},function(e,t,n){n(471)("Int32",(function(e){return function(t,n,r){return e(this,t,n,r)}}))},function(e,t,n){n(471)("Uint8",(function(e){return function(t,n,r){return e(this,t,n,r)}}))},function(e,t,n){n(471)("Uint8",(function(e){return function(t,n,r){return e(this,t,n,r)}}),!0)},function(e,t,n){n(471)("Uint16",(function(e){return function(t,n,r){return e(this,t,n,r)}}))},function(e,t,n){n(471)("Uint32",(function(e){return function(t,n,r){return e(this,t,n,r)}}))},function(e,t,n){var r=n(217),o=n(63),i=n(61),a=r.aTypedArray;(0,r.exportTypedArrayMethod)("at",(function(e){var t=a(this),n=o(t),r=i(e),s=r>=0?r:n+r;return s<0||s>=n?void 0:t[s]}))},function(e,t,n){var r=n(14),o=n(217),i=r(n(144)),a=o.aTypedArray;(0,o.exportTypedArrayMethod)("copyWithin",(function(e,t){return i(a(this),e,t,arguments.length>2?arguments[2]:void 0)}))},function(e,t,n){var r=n(217),o=n(83).every,i=r.aTypedArray;(0,r.exportTypedArrayMethod)("every",(function(e){return o(i(this),e,arguments.length>1?arguments[1]:void 0)}))},function(e,t,n){var r=n(217),o=n(149),i=n(478),a=n(69),s=n(8),l=n(14),c=n(7),u=r.aTypedArray,d=r.exportTypedArrayMethod,p=l("".slice);d("fill",(function(e){var t=arguments.length;u(this);var n="Big"===p(a(this),0,3)?i(e):+e;return s(o,this,n,t>1?arguments[1]:void 0,t>2?arguments[2]:void 0)}),c((function(){var e=0;return new Int8Array(2).fill({valueOf:function(){return e++}}),1!==e})))},function(e,t,n){var r=n(217),o=n(83).filter,i=n(492),a=r.aTypedArray;(0,r.exportTypedArrayMethod)("filter",(function(e){var t=o(a(this),e,arguments.length>1?arguments[1]:void 0);return i(this,t)}))},function(e,t,n){var r=n(198),o=n(493);e.exports=function(e,t){return r(o(e),t)}},function(e,t,n){var r=n(217),o=n(219),i=r.aTypedArrayConstructor,a=r.getTypedArrayConstructor;e.exports=function(e){return i(o(e,a(e)))}},function(e,t,n){var r=n(217),o=n(83).find,i=r.aTypedArray;(0,r.exportTypedArrayMethod)("find",(function(e){return o(i(this),e,arguments.length>1?arguments[1]:void 0)}))},function(e,t,n){var r=n(217),o=n(83).findIndex,i=r.aTypedArray;(0,r.exportTypedArrayMethod)("findIndex",(function(e){return o(i(this),e,arguments.length>1?arguments[1]:void 0)}))},function(e,t,n){var r=n(217),o=n(154).findLast,i=r.aTypedArray;(0,r.exportTypedArrayMethod)("findLast",(function(e){return o(i(this),e,arguments.length>1?arguments[1]:void 0)}))},function(e,t,n){var r=n(217),o=n(154).findLastIndex,i=r.aTypedArray;(0,r.exportTypedArrayMethod)("findLastIndex",(function(e){return o(i(this),e,arguments.length>1?arguments[1]:void 0)}))},function(e,t,n){var r=n(217),o=n(83).forEach,i=r.aTypedArray;(0,r.exportTypedArrayMethod)("forEach",(function(e){o(i(this),e,arguments.length>1?arguments[1]:void 0)}))},function(e,t,n){var r=n(472);(0,n(217).exportTypedArrayStaticMethod)("from",n(476),r)},function(e,t,n){var r=n(217),o=n(59).includes,i=r.aTypedArray;(0,r.exportTypedArrayMethod)("includes",(function(e){return o(i(this),e,arguments.length>1?arguments[1]:void 0)}))},function(e,t,n){var r=n(217),o=n(59).indexOf,i=r.aTypedArray;(0,r.exportTypedArrayMethod)("indexOf",(function(e){return o(i(this),e,arguments.length>1?arguments[1]:void 0)}))},function(e,t,n){var r=n(4),o=n(7),i=n(14),a=n(217),s=n(168),l=n(33)("iterator"),c=r.Uint8Array,u=i(s.values),d=i(s.keys),p=i(s.entries),f=a.aTypedArray,h=a.exportTypedArrayMethod,m=c&&c.prototype,g=!o((function(){m[l].call([1])})),v=!!m&&m.values&&m[l]===m.values&&"values"===m.values.name,y=function(){return u(f(this))};h("entries",(function(){return p(f(this))}),g),h("keys",(function(){return d(f(this))}),g),h("values",y,g||!v,{name:"values"}),h(l,y,g||!v,{name:"values"})},function(e,t,n){var r=n(217),o=n(14),i=r.aTypedArray,a=r.exportTypedArrayMethod,s=o([].join);a("join",(function(e){return s(i(this),e)}))},function(e,t,n){var r=n(217),o=n(94),i=n(175),a=r.aTypedArray;(0,r.exportTypedArrayMethod)("lastIndexOf",(function(e){var t=arguments.length;return o(i,a(this),t>1?[e,arguments[1]]:[e])}))},function(e,t,n){var r=n(217),o=n(83).map,i=n(493),a=r.aTypedArray;(0,r.exportTypedArrayMethod)("map",(function(e){return o(a(this),e,arguments.length>1?arguments[1]:void 0,(function(e,t){return new(i(e))(t)}))}))},function(e,t,n){var r=n(217),o=n(472),i=r.aTypedArrayConstructor;(0,r.exportTypedArrayStaticMethod)("of",(function(){for(var e=0,t=arguments.length,n=new(i(this))(t);t>e;)n[e]=arguments[e++];return n}),o)},function(e,t,n){var r=n(217),o=n(181).left,i=r.aTypedArray;(0,r.exportTypedArrayMethod)("reduce",(function(e){var t=arguments.length;return o(i(this),e,t,t>1?arguments[1]:void 0)}))},function(e,t,n){var r=n(217),o=n(181).right,i=r.aTypedArray;(0,r.exportTypedArrayMethod)("reduceRight",(function(e){var t=arguments.length;return o(i(this),e,t,t>1?arguments[1]:void 0)}))},function(e,t,n){var r=n(217),o=r.aTypedArray,i=r.exportTypedArrayMethod,a=Math.floor;i("reverse",(function(){for(var e,t=this,n=o(t).length,r=a(n/2),i=0;i<r;)e=t[i],t[i++]=t[--n],t[n]=e;return t}))},function(e,t,n){var r=n(4),o=n(8),i=n(217),a=n(63),s=n(473),l=n(39),c=n(7),u=r.RangeError,d=r.Int8Array,p=d&&d.prototype,f=p&&p.set,h=i.aTypedArray,m=i.exportTypedArrayMethod,g=!c((function(){var e=new Uint8ClampedArray(2);return o(f,e,{length:1,0:3},1),3!==e[1]})),v=g&&i.NATIVE_ARRAY_BUFFER_VIEWS&&c((function(){var e=new d(2);return e.set(1),e.set("2",1),0!==e[0]||2!==e[1]}));m("set",(function(e){h(this);var t=s(arguments.length>1?arguments[1]:void 0,1),n=l(e);if(g)return o(f,this,n,t);var r=this.length,i=a(n),c=0;if(i+t>r)throw new u("Wrong length");for(;c<i;)this[t+c]=n[c++]}),!g||v)},function(e,t,n){var r=n(217),o=n(493),i=n(7),a=n(76),s=r.aTypedArray;(0,r.exportTypedArrayMethod)("slice",(function(e,t){for(var n=a(s(this),e,t),r=o(this),i=0,l=n.length,c=new r(l);l>i;)c[i]=n[i++];return c}),i((function(){new Int8Array(1).slice()})))},function(e,t,n){var r=n(217),o=n(83).some,i=r.aTypedArray;(0,r.exportTypedArrayMethod)("some",(function(e){return o(i(this),e,arguments.length>1?arguments[1]:void 0)}))},function(e,t,n){var r=n(4),o=n(85),i=n(7),a=n(30),s=n(188),l=n(217),c=n(189),u=n(190),d=n(27),p=n(191),f=l.aTypedArray,h=l.exportTypedArrayMethod,m=r.Uint16Array,g=m&&o(m.prototype.sort),v=!(!g||i((function(){g(new m(2),null)}))&&i((function(){g(new m(2),{})}))),y=!!g&&!i((function(){if(d)return d<74;if(c)return c<67;if(u)return!0;if(p)return p<602;var e,t,n=new m(516),r=Array(516);for(e=0;e<516;e++)t=e%4,n[e]=515-e,r[e]=e-2*t+3;for(g(n,(function(e,t){return(e/4|0)-(t/4|0)})),e=0;e<516;e++)if(n[e]!==r[e])return!0}));h("sort",(function(e){return void 0!==e&&a(e),y?g(this,e):s(f(this),function(e){return function(t,n){return void 0!==e?+e(t,n)||0:n!=n?-1:t!=t?1:0===t&&0===n?1/t>0&&1/n<0?1:-1:t>n}}(e))}),!y||v)},function(e,t,n){var r=n(217),o=n(64),i=n(60),a=n(493),s=r.aTypedArray;(0,r.exportTypedArrayMethod)("subarray",(function(e,t){var n=s(this),r=n.length,l=i(e,r);return new(a(n))(n.buffer,n.byteOffset+l*n.BYTES_PER_ELEMENT,o((void 0===t?r:i(t,r))-l))}))},function(e,t,n){var r=n(4),o=n(94),i=n(217),a=n(7),s=n(76),l=r.Int8Array,c=i.aTypedArray,u=i.exportTypedArrayMethod,d=[].toLocaleString,p=!!l&&a((function(){d.call(new l(1))}));u("toLocaleString",(function(){return o(d,p?s(c(this)):c(this),s(arguments))}),a((function(){return[1,2].toLocaleString()!==new l([1,2]).toLocaleString()}))||!a((function(){l.prototype.toLocaleString.call([1,2])})))},function(e,t,n){var r=n(196),o=n(217),i=o.aTypedArray,a=o.exportTypedArrayMethod,s=o.getTypedArrayConstructor;a("toReversed",(function(){return r(i(this),s(this))}))},function(e,t,n){var r=n(217),o=n(14),i=n(30),a=n(198),s=r.aTypedArray,l=r.getTypedArrayConstructor,c=r.exportTypedArrayMethod,u=o(r.TypedArrayPrototype.sort);c("toSorted",(function(e){void 0!==e&&i(e);var t=s(this),n=a(l(t),t);return u(n,e)}))},function(e,t,n){var r=n(217).exportTypedArrayMethod,o=n(7),i=n(4),a=n(14),s=i.Uint8Array,l=s&&s.prototype||{},c=[].toString,u=a([].join);o((function(){c.call({})}))&&(c=function(){return u(this)});var d=l.toString!==c;r("toString",c,d)},function(e,t,n){var r=n(205),o=n(217),i=n(477),a=n(61),s=n(478),l=o.aTypedArray,c=o.getTypedArrayConstructor,u=o.exportTypedArrayMethod,d=!!function(){try{new Int8Array(1).with(2,{valueOf:function(){throw 8}})}catch(e){return 8===e}}();u("with",{with:function(e,t){var n=l(this),o=a(e),u=i(n)?s(t):+t;return r(n,c(n),o,u)}}.with,!d)},function(e,t,n){var r=n(3),o=n(14),i=n(68),a=String.fromCharCode,s=o("".charAt),l=o(/./.exec),c=o("".slice),u=/^[\da-f]{2}$/i,d=/^[\da-f]{4}$/i;r({global:!0},{unescape:function(e){for(var t,n,r=i(e),o="",p=r.length,f=0;f<p;){if("%"===(t=s(r,f++)))if("u"===s(r,f)){if(n=c(r,f+1,f+5),l(d,n)){o+=a(parseInt(n,16)),f+=5;continue}}else if(n=c(r,f,f+2),l(u,n)){o+=a(parseInt(n,16)),f+=2;continue}o+=t}return o}})},function(e,t,n){n(522)},function(e,t,n){var r,o=n(259),i=n(4),a=n(14),s=n(209),l=n(256),c=n(255),u=n(523),d=n(20),p=n(51).enforce,f=n(7),h=n(52),m=Object,g=Array.isArray,v=m.isExtensible,y=m.isFrozen,b=m.isSealed,x=m.freeze,w=m.seal,A=!i.ActiveXObject&&"ActiveXObject"in i,_=function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}},S=c("WeakMap",_,u),k=S.prototype,C=a(k.set);if(h)if(A){r=u.getConstructor(_,"WeakMap",!0),l.enable();var T=a(k.delete),M=a(k.has),P=a(k.get);s(k,{delete:function(e){if(d(e)&&!v(e)){var t=p(this);return t.frozen||(t.frozen=new r),T(this,e)||t.frozen.delete(e)}return T(this,e)},has:function(e){if(d(e)&&!v(e)){var t=p(this);return t.frozen||(t.frozen=new r),M(this,e)||t.frozen.has(e)}return M(this,e)},get:function(e){if(d(e)&&!v(e)){var t=p(this);return t.frozen||(t.frozen=new r),M(this,e)?P(this,e):t.frozen.get(e)}return P(this,e)},set:function(e,t){if(d(e)&&!v(e)){var n=p(this);n.frozen||(n.frozen=new r),M(this,e)?C(this,e,t):n.frozen.set(e,t)}else C(this,e,t);return this}})}else o&&f((function(){var e=x([]);return C(new S,e,1),!y(e)}))&&s(k,{set:function(e,t){var n;return g(e)&&(y(e)?n=x:b(e)&&(n=w)),C(this,e,t),n&&n(e),this}})},function(e,t,n){var r=n(14),o=n(209),i=n(256).getWeakData,a=n(210),s=n(46),l=n(17),c=n(20),u=n(130),d=n(83),p=n(38),f=n(51),h=f.set,m=f.getterFor,g=d.find,v=d.findIndex,y=r([].splice),b=0,x=function(e){return e.frozen||(e.frozen=new w)},w=function(){this.entries=[]},A=function(e,t){return g(e.entries,(function(e){return e[0]===t}))};w.prototype={get:function(e){var t=A(this,e);if(t)return t[1]},has:function(e){return!!A(this,e)},set:function(e,t){var n=A(this,e);n?n[1]=t:this.entries.push([e,t])},delete:function(e){var t=v(this.entries,(function(t){return t[0]===e}));return~t&&y(this.entries,t,1),!!~t}},e.exports={getConstructor:function(e,t,n,r){var d=e((function(e,o){a(e,f),h(e,{type:t,id:b++,frozen:void 0}),l(o)||u(o,e[r],{that:e,AS_ENTRIES:n})})),f=d.prototype,g=m(t),v=function(e,t,n){var r=g(e),o=i(s(t),!0);return!0===o?x(r).set(t,n):o[r.id]=n,e};return o(f,{delete:function(e){var t=g(this);if(!c(e))return!1;var n=i(e);return!0===n?x(t).delete(e):n&&p(n,t.id)&&delete n[t.id]},has:function(e){var t=g(this);if(!c(e))return!1;var n=i(e);return!0===n?x(t).has(e):n&&p(n,t.id)}}),o(f,n?{get:function(e){var t=g(this);if(c(e)){var n=i(e);return!0===n?x(t).get(e):n?n[t.id]:void 0}},set:function(e,t){return v(this,e,t)}}:{add:function(e){return v(this,e,!0)}}),d}}},function(e,t,n){n(525)},function(e,t,n){n(255)("WeakSet",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),n(523))},function(e,t,n){var r=n(3),o=n(4),i=n(23),a=n(14),s=n(8),l=n(7),c=n(68),u=n(342),d=n(527).c2i,p=/[^\d+/a-z]/i,f=/[\t\n\f\r ]+/g,h=/[=]{1,2}$/,m=i("atob"),g=String.fromCharCode,v=a("".charAt),y=a("".replace),b=a(p.exec),x=!!m&&!l((function(){return"hi"!==m("aGk=")})),w=x&&l((function(){return""!==m(" ")})),A=x&&!l((function(){m("a")})),_=x&&!l((function(){m()})),S=x&&1!==m.length;r({global:!0,bind:!0,enumerable:!0,forced:!x||w||A||_||S},{atob:function(e){if(u(arguments.length,1),x&&!w&&!A)return s(m,o,e);var t,n,r,a=y(c(e),f,""),l="",_=0,S=0;if(a.length%4==0&&(a=y(a,h,"")),(t=a.length)%4==1||b(p,a))throw new(i("DOMException"))("The string is not correctly encoded","InvalidCharacterError");for(;_<t;)n=v(a,_++),r=S%4?64*r+d[n]:d[n],S++%4&&(l+=g(255&r>>(-2*S&6)));return l}})},function(e){var t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",n=t+"+/",r=t+"-_",o=function(e){for(var t={},n=0;n<64;n++)t[e.charAt(n)]=n;return t};e.exports={i2c:n,c2i:o(n),i2cUrl:r,c2iUrl:o(r)}},function(e,t,n){var r=n(3),o=n(4),i=n(23),a=n(14),s=n(8),l=n(7),c=n(68),u=n(342),d=n(527).i2c,p=i("btoa"),f=a("".charAt),h=a("".charCodeAt),m=!!p&&!l((function(){return"aGk="!==p("hi")})),g=m&&!l((function(){p()})),v=m&&l((function(){return"bnVsbA=="!==p(null)})),y=m&&1!==p.length;r({global:!0,bind:!0,enumerable:!0,forced:!m||g||v||y},{btoa:function(e){if(u(arguments.length,1),m)return s(p,o,c(e));for(var t,n,r=c(e),a="",l=0,g=d;f(r,l)||(g="=",l%1);){if((n=h(r,l+=3/4))>255)throw new(i("DOMException"))("The string contains characters outside of the Latin1 range","InvalidCharacterError");a+=f(g,63&(t=t<<8|n)>>8-l%1*8)}return a}})},function(e,t,n){var r=n(4),o=n(530),i=n(531),a=n(160),s=n(43),l=function(e){if(e&&e.forEach!==a)try{s(e,"forEach",a)}catch(t){e.forEach=a}};for(var c in o)o[c]&&l(r[c]&&r[c].prototype);l(i)},function(e){e.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},function(e,t,n){var r=n(42)("span").classList,o=r&&r.constructor&&r.constructor.prototype;e.exports=o===Object.prototype?void 0:o},function(e,t,n){var r=n(4),o=n(530),i=n(531),a=n(168),s=n(43),l=n(82),c=n(33)("iterator"),u=a.values,d=function(e,t){if(e){if(e[c]!==u)try{s(e,c,u)}catch(t){e[c]=u}if(l(e,t,!0),o[t])for(var n in a)if(e[n]!==a[n])try{s(e,n,a[n])}catch(t){e[n]=a[n]}}};for(var p in o)d(r[p]&&r[p].prototype,p);d(i,"DOMTokenList")},function(e,t,n){var r=n(3),o=n(229),i=n(23),a=n(7),s=n(71),l=n(11),c=n(44).f,u=n(47),d=n(77),p=n(38),f=n(210),h=n(46),m=n(125),g=n(119),v=n(534),y=n(122),b=n(51),x=n(6),w=n(36),A="DOMException",_="DATA_CLONE_ERR",S=i("Error"),k=i(A)||function(){try{(new(i("MessageChannel")||o("worker_threads").MessageChannel)).port1.postMessage(new WeakMap)}catch(e){if(e.name===_&&25===e.code)return e.constructor}}(),C=k&&k.prototype,T=S.prototype,M=b.set,P=b.getterFor(A),O="stack"in new S(A),E=function(e){return p(v,e)&&v[e].m?v[e].c:0},D=function(){f(this,R);var e=arguments.length,t=g(e<1?void 0:arguments[0]),n=g(e<2?void 0:arguments[1],"Error"),r=E(n);if(M(this,{type:A,name:n,message:t,code:r}),x||(this.name=n,this.message=t,this.code=r),O){var o=new S(t);o.name=A,c(this,"stack",l(1,y(o.stack,1)))}},R=D.prototype=s(T),I=function(e){return{enumerable:!0,configurable:!0,get:e}},N=function(e){return I((function(){return P(this)[e]}))};x&&(d(R,"code",N("code")),d(R,"message",N("message")),d(R,"name",N("name"))),c(R,"constructor",l(1,D));var L=a((function(){return!(new k instanceof S)})),j=L||a((function(){return T.toString!==m||"2: 1"!==String(new k(1,2))})),$=L||a((function(){return 25!==new k(1,"DataCloneError").code})),z=L||25!==k[_]||25!==C[_],F=w?j||$||z:L;r({global:!0,constructor:!0,forced:F},{DOMException:F?D:k});var B=i(A),H=B.prototype;for(var V in j&&(w||k===B)&&u(H,"toString",m),$&&x&&k===B&&d(H,"code",I((function(){return E(h(this).name)}))),v)if(p(v,V)){var W=v[V],U=W.s,q=l(6,W.c);p(B,U)||c(B,U,q),p(H,U)||c(H,U,q)}},function(e){e.exports={IndexSizeError:{s:"INDEX_SIZE_ERR",c:1,m:1},DOMStringSizeError:{s:"DOMSTRING_SIZE_ERR",c:2,m:0},HierarchyRequestError:{s:"HIERARCHY_REQUEST_ERR",c:3,m:1},WrongDocumentError:{s:"WRONG_DOCUMENT_ERR",c:4,m:1},InvalidCharacterError:{s:"INVALID_CHARACTER_ERR",c:5,m:1},NoDataAllowedError:{s:"NO_DATA_ALLOWED_ERR",c:6,m:0},NoModificationAllowedError:{s:"NO_MODIFICATION_ALLOWED_ERR",c:7,m:1},NotFoundError:{s:"NOT_FOUND_ERR",c:8,m:1},NotSupportedError:{s:"NOT_SUPPORTED_ERR",c:9,m:1},InUseAttributeError:{s:"INUSE_ATTRIBUTE_ERR",c:10,m:1},InvalidStateError:{s:"INVALID_STATE_ERR",c:11,m:1},SyntaxError:{s:"SYNTAX_ERR",c:12,m:1},InvalidModificationError:{s:"INVALID_MODIFICATION_ERR",c:13,m:1},NamespaceError:{s:"NAMESPACE_ERR",c:14,m:1},InvalidAccessError:{s:"INVALID_ACCESS_ERR",c:15,m:1},ValidationError:{s:"VALIDATION_ERR",c:16,m:0},TypeMismatchError:{s:"TYPE_MISMATCH_ERR",c:17,m:1},SecurityError:{s:"SECURITY_ERR",c:18,m:1},NetworkError:{s:"NETWORK_ERR",c:19,m:1},AbortError:{s:"ABORT_ERR",c:20,m:1},URLMismatchError:{s:"URL_MISMATCH_ERR",c:21,m:1},QuotaExceededError:{s:"QUOTA_EXCEEDED_ERR",c:22,m:1},TimeoutError:{s:"TIMEOUT_ERR",c:23,m:1},InvalidNodeTypeError:{s:"INVALID_NODE_TYPE_ERR",c:24,m:1},DataCloneError:{s:"DATA_CLONE_ERR",c:25,m:1}}},function(e,t,n){var r=n(3),o=n(4),i=n(23),a=n(11),s=n(44).f,l=n(38),c=n(210),u=n(118),d=n(119),p=n(534),f=n(122),h=n(6),m=n(36),g="DOMException",v=i("Error"),y=i(g),b=function(){c(this,x);var e=arguments.length,t=d(e<1?void 0:arguments[0]),n=d(e<2?void 0:arguments[1],"Error"),r=new y(t,n),o=new v(t);return o.name=g,s(r,"stack",a(1,f(o.stack,1))),u(r,this,b),r},x=b.prototype=y.prototype,w="stack"in new v(g),A="stack"in new y(1,2),_=y&&h&&Object.getOwnPropertyDescriptor(o,g),S=!(!_||_.writable&&_.configurable),k=w&&!S&&!A;r({global:!0,constructor:!0,forced:m||k},{DOMException:k?b:y});var C=i(g),T=C.prototype;if(T.constructor!==C)for(var M in m||s(T,"constructor",a(1,C)),p)if(l(p,M)){var P=p[M],O=P.s;l(C,O)||s(C,O,a(6,P.c))}},function(e,t,n){var r=n(23),o="DOMException";n(82)(r(o),o)},function(e,t,n){n(538),n(539)},function(e,t,n){var r=n(3),o=n(4),i=n(341).clear;r({global:!0,bind:!0,enumerable:!0,forced:o.clearImmediate!==i},{clearImmediate:i})},function(e,t,n){var r=n(3),o=n(4),i=n(341).set,a=n(540),s=o.setImmediate?a(i,!1):i;r({global:!0,bind:!0,enumerable:!0,forced:o.setImmediate!==s},{setImmediate:s})},function(e,t,n){var r,o=n(4),i=n(94),a=n(21),s=n(541),l=n(28),c=n(76),u=n(342),d=o.Function,p=/MSIE .\./.test(l)||s&&((r=o.Bun.version.split(".")).length<3||"0"===r[0]&&(r[1]<3||"3"===r[1]&&"0"===r[2]));e.exports=function(e,t){var n=t?2:1;return p?function(r,o){var s=u(arguments.length,1)>n,l=a(r)?r:d(r),p=s?c(arguments,n):[],f=s?function(){i(l,this,p)}:l;return t?e(f,o):e(f)}:e}},function(e){e.exports="function"==typeof Bun&&Bun&&"string"==typeof Bun.version},function(e,t,n){var r=n(3),o=n(4),i=n(344),a=n(30),s=n(342),l=n(7),c=n(6);r({global:!0,enumerable:!0,dontCallGetSet:!0,forced:l((function(){return c&&1!==Object.getOwnPropertyDescriptor(o,"queueMicrotask").value.length}))},{queueMicrotask:function(e){s(arguments.length,1),i(a(e))}})},function(e,t,n){var r=n(3),o=n(4),i=n(77),a=n(6),s=TypeError,l=Object.defineProperty,c=o.self!==o;try{if(a){var u=Object.getOwnPropertyDescriptor(o,"self");!c&&u&&u.get&&u.enumerable||i(o,"self",{get:function(){return o},set:function(e){if(this!==o)throw new s("Illegal invocation");l(o,"self",{value:e,writable:!0,configurable:!0,enumerable:!0})},configurable:!0,enumerable:!0})}else r({global:!0,simple:!0,forced:c},{self:o})}catch(e){}},function(e,t,n){var r,o=n(36),i=n(3),a=n(4),s=n(23),l=n(14),c=n(7),u=n(40),d=n(21),p=n(89),f=n(17),h=n(20),m=n(22),g=n(130),v=n(46),y=n(69),b=n(38),x=n(141),w=n(43),A=n(63),_=n(342),S=n(382),k=n(262),C=n(399),T=n(401),M=n(228),P=n(123),O=n(230),E=a.Object,D=a.Array,R=a.Date,I=a.Error,N=a.TypeError,L=a.PerformanceMark,j=s("DOMException"),$=k.Map,z=k.has,F=k.get,B=k.set,H=C.Set,V=C.add,W=C.has,U=s("Object","keys"),q=l([].push),G=l((!0).valueOf),Y=l(1..valueOf),X=l("".valueOf),K=l(R.prototype.getTime),Z=u("structuredClone"),J="DataCloneError",Q="Transferring",ee=function(e){return!c((function(){var t=new a.Set([7]),n=e(t),r=e(E(7));return n===t||!n.has(7)||!h(r)||7!=+r}))&&e},te=function(e,t){return!c((function(){var n=new t,r=e({a:n,b:n});return!(r&&r.a===r.b&&r.a instanceof t&&r.a.stack===n.stack)}))},ne=a.structuredClone,re=o||!te(ne,I)||!te(ne,j)||(r=ne,!!c((function(){var e=r(new a.AggregateError([1],Z,{cause:3}));return"AggregateError"!==e.name||1!==e.errors[0]||e.message!==Z||3!==e.cause}))),oe=!ne&&ee((function(e){return new L(Z,{detail:e}).detail})),ie=ee(ne)||oe,ae=function(e){throw new j("Uncloneable type: "+e,J)},se=function(e,t){throw new j((t||"Cloning")+" of "+e+" cannot be properly polyfilled in this engine",J)},le=function(e,t){return ie||se(t),ie(e)},ce=function(e,t,n){if(z(t,e))return F(t,e);var r,o,i,s,l,c;if("SharedArrayBuffer"===(n||y(e)))r=ie?ie(e):e;else{var u=a.DataView;u||d(e.slice)||se("ArrayBuffer");try{if(d(e.slice)&&!e.resizable)r=e.slice(0);else{o=e.byteLength,i="maxByteLength"in e?{maxByteLength:e.maxByteLength}:void 0,r=new ArrayBuffer(o,i),s=new u(e),l=new u(r);for(c=0;c<o;c++)l.setUint8(c,s.getUint8(c))}}catch(e){throw new j("ArrayBuffer is detached",J)}}return B(t,e,r),r},ue=function(e,t){if(m(e)&&ae("Symbol"),!h(e))return e;if(t){if(z(t,e))return F(t,e)}else t=new $;var n,r,o,i,l,c,u,p,f=y(e);switch(f){case"Array":o=D(A(e));break;case"Object":o={};break;case"Map":o=new $;break;case"Set":o=new H;break;case"RegExp":o=new RegExp(e.source,S(e));break;case"Error":switch(r=e.name){case"AggregateError":o=new(s(r))([]);break;case"EvalError":case"RangeError":case"ReferenceError":case"SuppressedError":case"SyntaxError":case"TypeError":case"URIError":o=new(s(r));break;case"CompileError":case"LinkError":case"RuntimeError":o=new(s("WebAssembly",r));break;default:o=new I}break;case"DOMException":o=new j(e.message,e.name);break;case"ArrayBuffer":case"SharedArrayBuffer":o=ce(e,t,f);break;case"DataView":case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float16Array":case"Float32Array":case"Float64Array":case"BigInt64Array":case"BigUint64Array":c="DataView"===f?e.byteLength:e.length,o=function(e,t,n,r,o){var i=a[t];return h(i)||se(t),new i(ce(e.buffer,o),n,r)}(e,f,e.byteOffset,c,t);break;case"DOMQuad":try{o=new DOMQuad(ue(e.p1,t),ue(e.p2,t),ue(e.p3,t),ue(e.p4,t))}catch(t){o=le(e,f)}break;case"File":if(ie)try{o=ie(e),y(o)!==f&&(o=void 0)}catch(e){}if(!o)try{o=new File([e],e.name,e)}catch(e){}o||se(f);break;case"FileList":if(i=function(){var e;try{e=new a.DataTransfer}catch(t){try{e=new a.ClipboardEvent("").clipboardData}catch(e){}}return e&&e.items&&e.files?e:null}()){for(l=0,c=A(e);l<c;l++)i.items.add(ue(e[l],t));o=i.files}else o=le(e,f);break;case"ImageData":try{o=new ImageData(ue(e.data,t),e.width,e.height,{colorSpace:e.colorSpace})}catch(t){o=le(e,f)}break;default:if(ie)o=ie(e);else switch(f){case"BigInt":o=E(e.valueOf());break;case"Boolean":o=E(G(e));break;case"Number":o=E(Y(e));break;case"String":o=E(X(e));break;case"Date":o=new R(K(e));break;case"Blob":try{o=e.slice(0,e.size,e.type)}catch(e){se(f)}break;case"DOMPoint":case"DOMPointReadOnly":n=a[f];try{o=n.fromPoint?n.fromPoint(e):new n(e.x,e.y,e.z,e.w)}catch(e){se(f)}break;case"DOMRect":case"DOMRectReadOnly":n=a[f];try{o=n.fromRect?n.fromRect(e):new n(e.x,e.y,e.width,e.height)}catch(e){se(f)}break;case"DOMMatrix":case"DOMMatrixReadOnly":n=a[f];try{o=n.fromMatrix?n.fromMatrix(e):new n(e)}catch(e){se(f)}break;case"AudioData":case"VideoFrame":d(e.clone)||se(f);try{o=e.clone()}catch(e){ae(f)}break;case"CropTarget":case"CryptoKey":case"FileSystemDirectoryHandle":case"FileSystemFileHandle":case"FileSystemHandle":case"GPUCompilationInfo":case"GPUCompilationMessage":case"ImageBitmap":case"RTCCertificate":case"WebAssembly.Module":se(f);default:ae(f)}}switch(B(t,e,o),f){case"Array":case"Object":for(u=U(e),l=0,c=A(u);l<c;l++)p=u[l],x(o,p,ue(e[p],t));break;case"Map":e.forEach((function(e,n){B(o,ue(n,t),ue(e,t))}));break;case"Set":e.forEach((function(e){V(o,ue(e,t))}));break;case"Error":w(o,"message",ue(e.message,t)),b(e,"cause")&&w(o,"cause",ue(e.cause,t)),"AggregateError"===r?o.errors=ue(e.errors,t):"SuppressedError"===r&&(o.error=ue(e.error,t),o.suppressed=ue(e.suppressed,t));case"DOMException":P&&w(o,"stack",ue(e.stack,t))}return o};i({global:!0,enumerable:!0,sham:!O,forced:re},{structuredClone:function(e){var t,n,r=_(arguments.length,1)>1&&!f(arguments[1])?v(arguments[1]):void 0,o=r?r.transfer:void 0;void 0!==o&&(n=function(e,t){if(!h(e))throw new N("Transfer option cannot be converted to a sequence");var n=[];g(e,(function(e){q(n,v(e))}));for(var r,o,i,s,l,c=0,u=A(n),f=new H;c<u;){if(r=n[c++],"ArrayBuffer"===(o=y(r))?W(f,r):z(t,r))throw new j("Duplicate transferable",J);if("ArrayBuffer"!==o){if(O)s=ne(r,{transfer:[r]});else switch(o){case"ImageBitmap":i=a.OffscreenCanvas,p(i)||se(o,Q);try{(l=new i(r.width,r.height)).getContext("bitmaprenderer").transferFromImageBitmap(r),s=l.transferToImageBitmap()}catch(e){}break;case"AudioData":case"VideoFrame":d(r.clone)&&d(r.close)||se(o,Q);try{s=r.clone(),r.close()}catch(e){}break;case"MediaSourceHandle":case"MessagePort":case"OffscreenCanvas":case"ReadableStream":case"TransformStream":case"WritableStream":se(o,Q)}if(void 0===s)throw new j("This object cannot be transferred: "+o,J);B(t,r,s)}else V(f,r)}return f}(o,t=new $));var i=ue(e,t);return n&&function(e){T(e,(function(e){O?ie(e,{transfer:[e]}):d(e.transfer)?e.transfer():M?M(e):se("ArrayBuffer",Q)}))}(n),i}})},function(e,t,n){n(546),n(547)},function(e,t,n){var r=n(3),o=n(4),i=n(540)(o.setInterval,!0);r({global:!0,bind:!0,forced:o.setInterval!==i},{setInterval:i})},function(e,t,n){var r=n(3),o=n(4),i=n(540)(o.setTimeout,!0);r({global:!0,bind:!0,forced:o.setTimeout!==i},{setTimeout:i})},function(e,t,n){n(549)},function(e,t,n){n(428);var r,o=n(3),i=n(6),a=n(550),s=n(4),l=n(84),c=n(14),u=n(47),d=n(77),p=n(210),f=n(38),h=n(305),m=n(162),g=n(76),v=n(421).codeAt,y=n(551),b=n(68),x=n(82),w=n(342),A=n(552),_=n(51),S=_.set,k=_.getterFor("URL"),C=A.URLSearchParams,T=A.getState,M=s.URL,P=s.TypeError,O=s.parseInt,E=Math.floor,D=Math.pow,R=c("".charAt),I=c(/./.exec),N=c([].join),L=c(1..toString),j=c([].pop),$=c([].push),z=c("".replace),F=c([].shift),B=c("".split),H=c("".slice),V=c("".toLowerCase),W=c([].unshift),U="Invalid scheme",q="Invalid host",G="Invalid port",Y=/[a-z]/i,X=/[\d+-.a-z]/i,K=/\d/,Z=/^0x/i,J=/^[0-7]+$/,Q=/^\d+$/,ee=/^[\da-f]+$/i,te=/[\0\t\n\r #%/:<>?@[\\\]^|]/,ne=/[\0\t\n\r #/:<>?@[\\\]^|]/,re=/^[\u0000-\u0020]+/,oe=/(^|[^\u0000-\u0020])[\u0000-\u0020]+$/,ie=/[\t\n\r]/g,ae=function(e){var t,n,r,o;if("number"==typeof e){for(t=[],n=0;n<4;n++)W(t,e%256),e=E(e/256);return N(t,".")}if("object"==typeof e){for(t="",r=function(e){for(var t=null,n=1,r=null,o=0,i=0;i<8;i++)0!==e[i]?(o>n&&(t=r,n=o),r=null,o=0):(null===r&&(r=i),++o);return o>n&&(t=r,n=o),t}(e),n=0;n<8;n++)o&&0===e[n]||(o&&(o=!1),r===n?(t+=n?":":"::",o=!0):(t+=L(e[n],16),n<7&&(t+=":")));return"["+t+"]"}return e},se={},le=h({},se,{" ":1,'"':1,"<":1,">":1,"`":1}),ce=h({},le,{"#":1,"?":1,"{":1,"}":1}),ue=h({},ce,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),de=function(e,t){var n=v(e,0);return n>32&&n<127&&!f(t,e)?e:encodeURIComponent(e)},pe={ftp:21,file:null,http:80,https:443,ws:80,wss:443},fe=function(e,t){var n;return 2===e.length&&I(Y,R(e,0))&&(":"===(n=R(e,1))||!t&&"|"===n)},he=function(e){var t;return e.length>1&&fe(H(e,0,2))&&(2===e.length||"/"===(t=R(e,2))||"\\"===t||"?"===t||"#"===t)},me=function(e){return"."===e||"%2e"===V(e)},ge={},ve={},ye={},be={},xe={},we={},Ae={},_e={},Se={},ke={},Ce={},Te={},Me={},Pe={},Oe={},Ee={},De={},Re={},Ie={},Ne={},Le={},je=function(e,t,n){var r,o,i,a=b(e);if(t){if(o=this.parse(a))throw new P(o);this.searchParams=null}else{if(void 0!==n&&(r=new je(n,!0)),o=this.parse(a,null,r))throw new P(o);(i=T(new C)).bindURL(this),this.searchParams=i}};je.prototype={type:"URL",parse:function(e,t,n){var o,i,a,s,l,c=this,u=t||ge,d=0,p="",h=!1,v=!1,y=!1;for(e=b(e),t||(c.scheme="",c.username="",c.password="",c.host=null,c.port=null,c.path=[],c.query=null,c.fragment=null,c.cannotBeABaseURL=!1,e=z(e,re,""),e=z(e,oe,"$1")),e=z(e,ie,""),o=m(e);d<=o.length;){switch(i=o[d],u){case ge:if(!i||!I(Y,i)){if(t)return U;u=ye;continue}p+=V(i),u=ve;break;case ve:if(i&&(I(X,i)||"+"===i||"-"===i||"."===i))p+=V(i);else{if(":"!==i){if(t)return U;p="",u=ye,d=0;continue}if(t&&(c.isSpecial()!==f(pe,p)||"file"===p&&(c.includesCredentials()||null!==c.port)||"file"===c.scheme&&!c.host))return;if(c.scheme=p,t)return void(c.isSpecial()&&pe[c.scheme]===c.port&&(c.port=null));p="","file"===c.scheme?u=Pe:c.isSpecial()&&n&&n.scheme===c.scheme?u=be:c.isSpecial()?u=_e:"/"===o[d+1]?(u=xe,d++):(c.cannotBeABaseURL=!0,$(c.path,""),u=Ie)}break;case ye:if(!n||n.cannotBeABaseURL&&"#"!==i)return U;if(n.cannotBeABaseURL&&"#"===i){c.scheme=n.scheme,c.path=g(n.path),c.query=n.query,c.fragment="",c.cannotBeABaseURL=!0,u=Le;break}u="file"===n.scheme?Pe:we;continue;case be:if("/"!==i||"/"!==o[d+1]){u=we;continue}u=Se,d++;break;case xe:if("/"===i){u=ke;break}u=Re;continue;case we:if(c.scheme=n.scheme,i===r)c.username=n.username,c.password=n.password,c.host=n.host,c.port=n.port,c.path=g(n.path),c.query=n.query;else if("/"===i||"\\"===i&&c.isSpecial())u=Ae;else if("?"===i)c.username=n.username,c.password=n.password,c.host=n.host,c.port=n.port,c.path=g(n.path),c.query="",u=Ne;else{if("#"!==i){c.username=n.username,c.password=n.password,c.host=n.host,c.port=n.port,c.path=g(n.path),c.path.length--,u=Re;continue}c.username=n.username,c.password=n.password,c.host=n.host,c.port=n.port,c.path=g(n.path),c.query=n.query,c.fragment="",u=Le}break;case Ae:if(!c.isSpecial()||"/"!==i&&"\\"!==i){if("/"!==i){c.username=n.username,c.password=n.password,c.host=n.host,c.port=n.port,u=Re;continue}u=ke}else u=Se;break;case _e:if(u=Se,"/"!==i||"/"!==R(p,d+1))continue;d++;break;case Se:if("/"!==i&&"\\"!==i){u=ke;continue}break;case ke:if("@"===i){h&&(p="%40"+p),h=!0,a=m(p);for(var x=0;x<a.length;x++){var w=a[x];if(":"!==w||y){var A=de(w,ue);y?c.password+=A:c.username+=A}else y=!0}p=""}else if(i===r||"/"===i||"?"===i||"#"===i||"\\"===i&&c.isSpecial()){if(h&&""===p)return"Invalid authority";d-=m(p).length+1,p="",u=Ce}else p+=i;break;case Ce:case Te:if(t&&"file"===c.scheme){u=Ee;continue}if(":"!==i||v){if(i===r||"/"===i||"?"===i||"#"===i||"\\"===i&&c.isSpecial()){if(c.isSpecial()&&""===p)return q;if(t&&""===p&&(c.includesCredentials()||null!==c.port))return;if(s=c.parseHost(p))return s;if(p="",u=De,t)return;continue}"["===i?v=!0:"]"===i&&(v=!1),p+=i}else{if(""===p)return q;if(s=c.parseHost(p))return s;if(p="",u=Me,t===Te)return}break;case Me:if(!I(K,i)){if(i===r||"/"===i||"?"===i||"#"===i||"\\"===i&&c.isSpecial()||t){if(""!==p){var _=O(p,10);if(_>65535)return G;c.port=c.isSpecial()&&_===pe[c.scheme]?null:_,p=""}if(t)return;u=De;continue}return G}p+=i;break;case Pe:if(c.scheme="file","/"===i||"\\"===i)u=Oe;else{if(!n||"file"!==n.scheme){u=Re;continue}switch(i){case r:c.host=n.host,c.path=g(n.path),c.query=n.query;break;case"?":c.host=n.host,c.path=g(n.path),c.query="",u=Ne;break;case"#":c.host=n.host,c.path=g(n.path),c.query=n.query,c.fragment="",u=Le;break;default:he(N(g(o,d),""))||(c.host=n.host,c.path=g(n.path),c.shortenPath()),u=Re;continue}}break;case Oe:if("/"===i||"\\"===i){u=Ee;break}n&&"file"===n.scheme&&!he(N(g(o,d),""))&&(fe(n.path[0],!0)?$(c.path,n.path[0]):c.host=n.host),u=Re;continue;case Ee:if(i===r||"/"===i||"\\"===i||"?"===i||"#"===i){if(!t&&fe(p))u=Re;else if(""===p){if(c.host="",t)return;u=De}else{if(s=c.parseHost(p))return s;if("localhost"===c.host&&(c.host=""),t)return;p="",u=De}continue}p+=i;break;case De:if(c.isSpecial()){if(u=Re,"/"!==i&&"\\"!==i)continue}else if(t||"?"!==i)if(t||"#"!==i){if(i!==r&&(u=Re,"/"!==i))continue}else c.fragment="",u=Le;else c.query="",u=Ne;break;case Re:if(i===r||"/"===i||"\\"===i&&c.isSpecial()||!t&&("?"===i||"#"===i)){if(".."===(l=V(l=p))||"%2e."===l||".%2e"===l||"%2e%2e"===l?(c.shortenPath(),"/"===i||"\\"===i&&c.isSpecial()||$(c.path,"")):me(p)?"/"===i||"\\"===i&&c.isSpecial()||$(c.path,""):("file"===c.scheme&&!c.path.length&&fe(p)&&(c.host&&(c.host=""),p=R(p,0)+":"),$(c.path,p)),p="","file"===c.scheme&&(i===r||"?"===i||"#"===i))for(;c.path.length>1&&""===c.path[0];)F(c.path);"?"===i?(c.query="",u=Ne):"#"===i&&(c.fragment="",u=Le)}else p+=de(i,ce);break;case Ie:"?"===i?(c.query="",u=Ne):"#"===i?(c.fragment="",u=Le):i!==r&&(c.path[0]+=de(i,se));break;case Ne:t||"#"!==i?i!==r&&("'"===i&&c.isSpecial()?c.query+="%27":c.query+="#"===i?"%23":de(i,se)):(c.fragment="",u=Le);break;case Le:i!==r&&(c.fragment+=de(i,le))}d++}},parseHost:function(e){var t,n,r;if("["===R(e,0)){if("]"!==R(e,e.length-1))return q;if(t=function(e){var t,n,r,o,i,a,s,l=[0,0,0,0,0,0,0,0],c=0,u=null,d=0,p=function(){return R(e,d)};if(":"===p()){if(":"!==R(e,1))return;d+=2,u=++c}for(;p();){if(8===c)return;if(":"!==p()){for(t=n=0;n<4&&I(ee,p());)t=16*t+O(p(),16),d++,n++;if("."===p()){if(0===n)return;if(d-=n,c>6)return;for(r=0;p();){if(o=null,r>0){if(!("."===p()&&r<4))return;d++}if(!I(K,p()))return;for(;I(K,p());){if(i=O(p(),10),null===o)o=i;else{if(0===o)return;o=10*o+i}if(o>255)return;d++}l[c]=256*l[c]+o,2!=++r&&4!==r||c++}if(4!==r)return;break}if(":"===p()){if(d++,!p())return}else if(p())return;l[c++]=t}else{if(null!==u)return;d++,u=++c}}if(null!==u)for(a=c-u,c=7;0!==c&&a>0;)s=l[c],l[c--]=l[u+a-1],l[u+--a]=s;else if(8!==c)return;return l}(H(e,1,-1)),!t)return q;this.host=t}else if(this.isSpecial()){if(e=y(e),I(te,e))return q;if(t=function(e){var t,n,r,o,i,a,s,l=B(e,".");if(l.length&&""===l[l.length-1]&&l.length--,(t=l.length)>4)return e;for(n=[],r=0;r<t;r++){if(""===(o=l[r]))return e;if(i=10,o.length>1&&"0"===R(o,0)&&(i=I(Z,o)?16:8,o=H(o,8===i?1:2)),""===o)a=0;else{if(!I(10===i?Q:8===i?J:ee,o))return e;a=O(o,i)}$(n,a)}for(r=0;r<t;r++)if(a=n[r],r===t-1){if(a>=D(256,5-t))return null}else if(a>255)return null;for(s=j(n),r=0;r<n.length;r++)s+=n[r]*D(256,3-r);return s}(e),null===t)return q;this.host=t}else{if(I(ne,e))return q;for(t="",n=m(e),r=0;r<n.length;r++)t+=de(n[r],se);this.host=t}},cannotHaveUsernamePasswordPort:function(){return!this.host||this.cannotBeABaseURL||"file"===this.scheme},includesCredentials:function(){return""!==this.username||""!==this.password},isSpecial:function(){return f(pe,this.scheme)},shortenPath:function(){var e=this.path,t=e.length;!t||"file"===this.scheme&&1===t&&fe(e[0],!0)||e.length--},serialize:function(){var e=this,t=e.scheme,n=e.username,r=e.password,o=e.host,i=e.port,a=e.path,s=e.query,l=e.fragment,c=t+":";return null!==o?(c+="//",e.includesCredentials()&&(c+=n+(r?":"+r:"")+"@"),c+=ae(o),null!==i&&(c+=":"+i)):"file"===t&&(c+="//"),c+=e.cannotBeABaseURL?a[0]:a.length?"/"+N(a,"/"):"",null!==s&&(c+="?"+s),null!==l&&(c+="#"+l),c},setHref:function(e){var t=this.parse(e);if(t)throw new P(t);this.searchParams.update()},getOrigin:function(){var e=this.scheme,t=this.port;if("blob"===e)try{return new $e(e.path[0]).origin}catch(e){return"null"}return"file"!==e&&this.isSpecial()?e+"://"+ae(this.host)+(null!==t?":"+t:""):"null"},getProtocol:function(){return this.scheme+":"},setProtocol:function(e){this.parse(b(e)+":",ge)},getUsername:function(){return this.username},setUsername:function(e){var t=m(b(e));if(!this.cannotHaveUsernamePasswordPort()){this.username="";for(var n=0;n<t.length;n++)this.username+=de(t[n],ue)}},getPassword:function(){return this.password},setPassword:function(e){var t=m(b(e));if(!this.cannotHaveUsernamePasswordPort()){this.password="";for(var n=0;n<t.length;n++)this.password+=de(t[n],ue)}},getHost:function(){var e=this.host,t=this.port;return null===e?"":null===t?ae(e):ae(e)+":"+t},setHost:function(e){this.cannotBeABaseURL||this.parse(e,Ce)},getHostname:function(){var e=this.host;return null===e?"":ae(e)},setHostname:function(e){this.cannotBeABaseURL||this.parse(e,Te)},getPort:function(){var e=this.port;return null===e?"":b(e)},setPort:function(e){this.cannotHaveUsernamePasswordPort()||(""===(e=b(e))?this.port=null:this.parse(e,Me))},getPathname:function(){var e=this.path;return this.cannotBeABaseURL?e[0]:e.length?"/"+N(e,"/"):""},setPathname:function(e){this.cannotBeABaseURL||(this.path=[],this.parse(e,De))},getSearch:function(){var e=this.query;return e?"?"+e:""},setSearch:function(e){""===(e=b(e))?this.query=null:("?"===R(e,0)&&(e=H(e,1)),this.query="",this.parse(e,Ne)),this.searchParams.update()},getSearchParams:function(){return this.searchParams.facade},getHash:function(){var e=this.fragment;return e?"#"+e:""},setHash:function(e){""!==(e=b(e))?("#"===R(e,0)&&(e=H(e,1)),this.fragment="",this.parse(e,Le)):this.fragment=null},update:function(){this.query=this.searchParams.serialize()||null}};var $e=function(e){var t=p(this,ze),n=w(arguments.length,1)>1?arguments[1]:void 0,r=S(t,new je(e,!1,n));i||(t.href=r.serialize(),t.origin=r.getOrigin(),t.protocol=r.getProtocol(),t.username=r.getUsername(),t.password=r.getPassword(),t.host=r.getHost(),t.hostname=r.getHostname(),t.port=r.getPort(),t.pathname=r.getPathname(),t.search=r.getSearch(),t.searchParams=r.getSearchParams(),t.hash=r.getHash())},ze=$e.prototype,Fe=function(e,t){return{get:function(){return k(this)[e]()},set:t&&function(e){return k(this)[t](e)},configurable:!0,enumerable:!0}};if(i&&(d(ze,"href",Fe("serialize","setHref")),d(ze,"origin",Fe("getOrigin")),d(ze,"protocol",Fe("getProtocol","setProtocol")),d(ze,"username",Fe("getUsername","setUsername")),d(ze,"password",Fe("getPassword","setPassword")),d(ze,"host",Fe("getHost","setHost")),d(ze,"hostname",Fe("getHostname","setHostname")),d(ze,"port",Fe("getPort","setPort")),d(ze,"pathname",Fe("getPathname","setPathname")),d(ze,"search",Fe("getSearch","setSearch")),d(ze,"searchParams",Fe("getSearchParams")),d(ze,"hash",Fe("getHash","setHash"))),u(ze,"toJSON",(function(){return k(this).serialize()}),{enumerable:!0}),u(ze,"toString",(function(){return k(this).serialize()}),{enumerable:!0}),M){var Be=M.createObjectURL,He=M.revokeObjectURL;Be&&u($e,"createObjectURL",l(Be,M)),He&&u($e,"revokeObjectURL",l(He,M))}x($e,"URL"),o({global:!0,constructor:!0,forced:!a,sham:!i},{URL:$e})},function(e,t,n){var r=n(7),o=n(33),i=n(6),a=n(36),s=o("iterator");e.exports=!r((function(){var e=new URL("b?a=1&b=2&c=3","http://a"),t=e.searchParams,n=new URLSearchParams("a=1&a=2&b=3"),r="";return e.pathname="c%20d",t.forEach((function(e,n){t.delete("b"),r+=n+e})),n.delete("a",2),n.delete("b",void 0),a&&(!e.toJSON||!n.has("a",1)||n.has("a",2)||!n.has("a",void 0)||n.has("b"))||!t.size&&(a||!i)||!t.sort||"http://a/c%20d?a=1&c=3"!==e.href||"3"!==t.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!t[s]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("http://теÑÑ‚").host||"#%D0%B1"!==new URL("http://a#б").hash||"a1c3"!==r||"x"!==new URL("http://x",void 0).host}))},function(e,t,n){var r=n(14),o=2147483647,i=/[^\0-\u007E]/,a=/[.\u3002\uFF0E\uFF61]/g,s="Overflow: input needs wider integers to process",l=RangeError,c=r(a.exec),u=Math.floor,d=String.fromCharCode,p=r("".charCodeAt),f=r([].join),h=r([].push),m=r("".replace),g=r("".split),v=r("".toLowerCase),y=function(e){return e+22+75*(e<26)},b=function(e,t,n){var r=0;for(e=n?u(e/700):e>>1,e+=u(e/t);e>455;)e=u(e/35),r+=36;return u(r+36*e/(e+38))},x=function(e){var t=[];e=function(e){for(var t=[],n=0,r=e.length;n<r;){var o=p(e,n++);if(o>=55296&&o<=56319&&n<r){var i=p(e,n++);56320==(64512&i)?h(t,((1023&o)<<10)+(1023&i)+65536):(h(t,o),n--)}else h(t,o)}return t}(e);var n,r,i=e.length,a=128,c=0,m=72;for(n=0;n<e.length;n++)(r=e[n])<128&&h(t,d(r));var g=t.length,v=g;for(g&&h(t,"-");v<i;){var x=o;for(n=0;n<e.length;n++)(r=e[n])>=a&&r<x&&(x=r);var w=v+1;if(x-a>u((o-c)/w))throw new l(s);for(c+=(x-a)*w,a=x,n=0;n<e.length;n++){if((r=e[n])<a&&++c>o)throw new l(s);if(r===a){for(var A=c,_=36;;){var S=_<=m?1:_>=m+26?26:_-m;if(A<S)break;var k=A-S,C=36-S;h(t,d(y(S+k%C))),A=u(k/C),_+=36}h(t,d(y(A))),m=b(c,w,v===g),c=0,v++}}c++,a++}return f(t,"")};e.exports=function(e){var t,n,r=[],o=g(m(v(e),a,"."),".");for(t=0;t<o.length;t++)n=o[t],h(r,c(i,n)?"xn--"+x(n):n);return f(r,".")}},function(e,t,n){n(168);var r=n(3),o=n(4),i=n(345),a=n(8),s=n(14),l=n(6),c=n(550),u=n(47),d=n(77),p=n(209),f=n(82),h=n(170),m=n(51),g=n(210),v=n(21),y=n(38),b=n(84),x=n(69),w=n(46),A=n(20),_=n(68),S=n(71),k=n(11),C=n(133),T=n(134),M=n(172),P=n(342),O=n(33),E=n(188),D=O("iterator"),R="URLSearchParams",I=R+"Iterator",N=m.set,L=m.getterFor(R),j=m.getterFor(I),$=i("fetch"),z=i("Request"),F=i("Headers"),B=z&&z.prototype,H=F&&F.prototype,V=o.RegExp,W=o.TypeError,U=o.decodeURIComponent,q=o.encodeURIComponent,G=s("".charAt),Y=s([].join),X=s([].push),K=s("".replace),Z=s([].shift),J=s([].splice),Q=s("".split),ee=s("".slice),te=/\+/g,ne=Array(4),re=function(e){return ne[e-1]||(ne[e-1]=V("((?:%[\\da-f]{2}){"+e+"})","gi"))},oe=function(e){try{return U(e)}catch(t){return e}},ie=function(e){var t=K(e,te," "),n=4;try{return U(t)}catch(e){for(;n;)t=K(t,re(n--),oe);return t}},ae=/[!'()~]|%20/g,se={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},le=function(e){return se[e]},ce=function(e){return K(q(e),ae,le)},ue=h((function(e,t){N(this,{type:I,target:L(e).entries,index:0,kind:t})}),R,(function(){var e=j(this),t=e.target,n=e.index++;if(!t||n>=t.length)return e.target=void 0,M(void 0,!0);var r=t[n];switch(e.kind){case"keys":return M(r.key,!1);case"values":return M(r.value,!1)}return M([r.key,r.value],!1)}),!0),de=function(e){this.entries=[],this.url=null,void 0!==e&&(A(e)?this.parseObject(e):this.parseQuery("string"==typeof e?"?"===G(e,0)?ee(e,1):e:_(e)))};de.prototype={type:R,bindURL:function(e){this.url=e,this.update()},parseObject:function(e){var t,n,r,o,i,s,l,c=this.entries,u=T(e);if(u)for(n=(t=C(e,u)).next;!(r=a(n,t)).done;){if(i=(o=C(w(r.value))).next,(s=a(i,o)).done||(l=a(i,o)).done||!a(i,o).done)throw new W("Expected sequence with length 2");X(c,{key:_(s.value),value:_(l.value)})}else for(var d in e)y(e,d)&&X(c,{key:d,value:_(e[d])})},parseQuery:function(e){if(e)for(var t,n,r=this.entries,o=Q(e,"&"),i=0;i<o.length;)(t=o[i++]).length&&(n=Q(t,"="),X(r,{key:ie(Z(n)),value:ie(Y(n,"="))}))},serialize:function(){for(var e,t=this.entries,n=[],r=0;r<t.length;)e=t[r++],X(n,ce(e.key)+"="+ce(e.value));return Y(n,"&")},update:function(){this.entries.length=0,this.parseQuery(this.url.query)},updateURL:function(){this.url&&this.url.update()}};var pe=function(){g(this,fe);var e=N(this,new de(arguments.length>0?arguments[0]:void 0));l||(this.size=e.entries.length)},fe=pe.prototype;if(p(fe,{append:function(e,t){var n=L(this);P(arguments.length,2),X(n.entries,{key:_(e),value:_(t)}),l||this.length++,n.updateURL()},delete:function(e){for(var t=L(this),n=P(arguments.length,1),r=t.entries,o=_(e),i=n<2?void 0:arguments[1],a=void 0===i?i:_(i),s=0;s<r.length;){var c=r[s];if(c.key!==o||void 0!==a&&c.value!==a)s++;else if(J(r,s,1),void 0!==a)break}l||(this.size=r.length),t.updateURL()},get:function(e){var t=L(this).entries;P(arguments.length,1);for(var n=_(e),r=0;r<t.length;r++)if(t[r].key===n)return t[r].value;return null},getAll:function(e){var t=L(this).entries;P(arguments.length,1);for(var n=_(e),r=[],o=0;o<t.length;o++)t[o].key===n&&X(r,t[o].value);return r},has:function(e){for(var t=L(this).entries,n=P(arguments.length,1),r=_(e),o=n<2?void 0:arguments[1],i=void 0===o?o:_(o),a=0;a<t.length;){var s=t[a++];if(s.key===r&&(void 0===i||s.value===i))return!0}return!1},set:function(e,t){var n=L(this);P(arguments.length,1);for(var r,o=n.entries,i=!1,a=_(e),s=_(t),c=0;c<o.length;c++)(r=o[c]).key===a&&(i?J(o,c--,1):(i=!0,r.value=s));i||X(o,{key:a,value:s}),l||(this.size=o.length),n.updateURL()},sort:function(){var e=L(this);E(e.entries,(function(e,t){return e.key>t.key?1:-1})),e.updateURL()},forEach:function(e){for(var t,n=L(this).entries,r=b(e,arguments.length>1?arguments[1]:void 0),o=0;o<n.length;)r((t=n[o++]).value,t.key,this)},keys:function(){return new ue(this,"keys")},values:function(){return new ue(this,"values")},entries:function(){return new ue(this,"entries")}},{enumerable:!0}),u(fe,D,fe.entries,{name:"entries"}),u(fe,"toString",(function(){return L(this).serialize()}),{enumerable:!0}),l&&d(fe,"size",{get:function(){return L(this).entries.length},configurable:!0,enumerable:!0}),f(pe,R),r({global:!0,constructor:!0,forced:!c},{URLSearchParams:pe}),!c&&v(F)){var he=s(H.has),me=s(H.set),ge=function(e){if(A(e)){var t,n=e.body;if(x(n)===R)return t=e.headers?new F(e.headers):new F,he(t,"content-type")||me(t,"content-type","application/x-www-form-urlencoded;charset=UTF-8"),S(e,{body:k(0,_(n)),headers:k(0,t)})}return e};if(v($)&&r({global:!0,enumerable:!0,dontCallGetSet:!0,forced:!0},{fetch:function(e){return $(e,arguments.length>1?ge(arguments[1]):{})}}),v(z)){var ve=function(e){return g(this,B),new z(e,arguments.length>1?ge(arguments[1]):{})};B.constructor=ve,ve.prototype=B,r({global:!0,constructor:!0,dontCallGetSet:!0,forced:!0},{Request:ve})}}e.exports={URLSearchParams:pe,getState:L}},function(e,t,n){var r=n(3),o=n(23),i=n(7),a=n(342),s=n(68),l=n(550),c=o("URL"),u=l&&i((function(){c.canParse()})),d=i((function(){return 1!==c.canParse.length}));r({target:"URL",stat:!0,forced:!u||d},{canParse:function(e){var t=a(arguments.length,1),n=s(e),r=t<2||void 0===arguments[1]?void 0:s(arguments[1]);try{return!!new c(n,r)}catch(e){return!1}}})},function(e,t,n){var r=n(3),o=n(23),i=n(342),a=n(68),s=n(550),l=o("URL");r({target:"URL",stat:!0,forced:!s},{parse:function(e){var t=i(arguments.length,1),n=a(e),r=t<2||void 0===arguments[1]?void 0:a(arguments[1]);try{return new l(n,r)}catch(e){return null}}})},function(e,t,n){var r=n(3),o=n(8);r({target:"URL",proto:!0,enumerable:!0},{toJSON:function(){return o(URL.prototype.toString,this)}})},function(e,t,n){n(552)},function(e,t,n){var r=n(47),o=n(14),i=n(68),a=n(342),s=URLSearchParams,l=s.prototype,c=o(l.append),u=o(l.delete),d=o(l.forEach),p=o([].push),f=new s("a=1&a=2&b=3");f.delete("a",1),f.delete("b",void 0),f+""!="a=2"&&r(l,"delete",(function(e){var t=arguments.length,n=t<2?void 0:arguments[1];if(t&&void 0===n)return u(this,e);var r=[];d(this,(function(e,t){p(r,{key:t,value:e})})),a(t,1);for(var o,s=i(e),l=i(n),f=0,h=0,m=!1,g=r.length;f<g;)o=r[f++],m||o.key===s?(m=!0,u(this,o.key)):h++;for(;h<g;)(o=r[h++]).key===s&&o.value===l||c(this,o.key,o.value)}),{enumerable:!0,unsafe:!0})},function(e,t,n){var r=n(47),o=n(14),i=n(68),a=n(342),s=URLSearchParams,l=s.prototype,c=o(l.getAll),u=o(l.has),d=new s("a=1");!d.has("a",2)&&d.has("a",void 0)||r(l,"has",(function(e){var t=arguments.length,n=t<2?void 0:arguments[1];if(t&&void 0===n)return u(this,e);var r=c(this,e);a(t,1);for(var o=i(n),s=0;s<r.length;)if(r[s++]===o)return!0;return!1}),{enumerable:!0,unsafe:!0})},function(e,t,n){var r=n(6),o=n(14),i=n(77),a=URLSearchParams.prototype,s=o(a.forEach);r&&!("size"in a)&&i(a,"size",{get:function(){var e=0;return s(this,(function(){e++})),e},configurable:!0,enumerable:!0})},function(e,t,r){r.r(t),r.d(t,{bb:function(){return eg},default:function(){return eg}});var o={};r.r(o),r.d(o,{selection:function(){return wp},subchart:function(){return Ap},zoom:function(){return _p}});var i={};function a(){}function s(e){return null==e?a:function(){return this.querySelector(e)}}function l(e){return null==e?[]:Array.isArray(e)?e:Array.from(e)}function c(){return[]}function u(e){return null==e?c:function(){return this.querySelectorAll(e)}}function d(e){return function(){return this.matches(e)}}function p(e){return function(t){return t.matches(e)}}r.r(i),r.d(i,{area:function(){return Im},areaLineRange:function(){return Nm},areaSpline:function(){return Lm},areaSplineRange:function(){return jm},areaStep:function(){return $m},bar:function(){return Gm},bubble:function(){return Ym},candlestick:function(){return Xm},donut:function(){return Hm},funnel:function(){return Zm},gauge:function(){return Vm},line:function(){return zm},pie:function(){return Wm},polar:function(){return Um},radar:function(){return qm},scatter:function(){return Km},spline:function(){return Fm},step:function(){return Bm},treemap:function(){return Jm}});var f=Array.prototype.find;function h(){return this.firstElementChild}var m=Array.prototype.filter;function g(){return Array.from(this.children)}function v(e){return new Array(e.length)}function y(e,t){this.ownerDocument=e.ownerDocument,this.namespaceURI=e.namespaceURI,this._next=null,this._parent=e,this.__data__=t}function b(e,t,n,r,o,i){for(var a,s=0,l=t.length,c=i.length;s<c;++s)(a=t[s])?(a.__data__=i[s],r[s]=a):n[s]=new y(e,i[s]);for(;s<l;++s)(a=t[s])&&(o[s]=a)}function x(e,t,n,r,o,i,a){var s,l,c,u=new Map,d=t.length,p=i.length,f=new Array(d);for(s=0;s<d;++s)(l=t[s])&&(f[s]=c=a.call(l,l.__data__,s,t)+"",u.has(c)?o[s]=l:u.set(c,l));for(s=0;s<p;++s)c=a.call(e,i[s],s,i)+"",(l=u.get(c))?(r[s]=l,l.__data__=i[s],u.delete(c)):n[s]=new y(e,i[s]);for(s=0;s<d;++s)(l=t[s])&&u.get(f[s])===l&&(o[s]=l)}function w(e){return e.__data__}function A(e){return"object"==typeof e&&"length"in e?e:Array.from(e)}function _(e,t){return e<t?-1:e>t?1:e>=t?0:NaN}y.prototype={constructor:y,appendChild:function(e){return this._parent.insertBefore(e,this._next)},insertBefore:function(e,t){return this._parent.insertBefore(e,t)},querySelector:function(e){return this._parent.querySelector(e)},querySelectorAll:function(e){return this._parent.querySelectorAll(e)}};var S="http://www.w3.org/1999/xhtml",k={svg:"http://www.w3.org/2000/svg",xhtml:S,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};function C(e){var t=e+="",n=t.indexOf(":");return n>=0&&"xmlns"!==(t=e.slice(0,n))&&(e=e.slice(n+1)),k.hasOwnProperty(t)?{space:k[t],local:e}:e}function T(e){return function(){this.removeAttribute(e)}}function M(e){return function(){this.removeAttributeNS(e.space,e.local)}}function P(e,t){return function(){this.setAttribute(e,t)}}function O(e,t){return function(){this.setAttributeNS(e.space,e.local,t)}}function E(e,t){return function(){var n=t.apply(this,arguments);null==n?this.removeAttribute(e):this.setAttribute(e,n)}}function D(e,t){return function(){var n=t.apply(this,arguments);null==n?this.removeAttributeNS(e.space,e.local):this.setAttributeNS(e.space,e.local,n)}}function R(e){return e.ownerDocument&&e.ownerDocument.defaultView||e.document&&e||e.defaultView}function I(e){return function(){this.style.removeProperty(e)}}function N(e,t,n){return function(){this.style.setProperty(e,t,n)}}function L(e,t,n){return function(){var r=t.apply(this,arguments);null==r?this.style.removeProperty(e):this.style.setProperty(e,r,n)}}function j(e,t){return e.style.getPropertyValue(t)||R(e).getComputedStyle(e,null).getPropertyValue(t)}function $(e){return function(){delete this[e]}}function z(e,t){return function(){this[e]=t}}function F(e,t){return function(){var n=t.apply(this,arguments);null==n?delete this[e]:this[e]=n}}function B(e){return e.trim().split(/^|\s+/)}function H(e){return e.classList||new V(e)}function V(e){this._node=e,this._names=B(e.getAttribute("class")||"")}function W(e,t){for(var n=H(e),r=-1,o=t.length;++r<o;)n.add(t[r])}function U(e,t){for(var n=H(e),r=-1,o=t.length;++r<o;)n.remove(t[r])}function q(e){return function(){W(this,e)}}function G(e){return function(){U(this,e)}}function Y(e,t){return function(){(t.apply(this,arguments)?W:U)(this,e)}}function X(){this.textContent=""}function K(e){return function(){this.textContent=e}}function Z(e){return function(){var t=e.apply(this,arguments);this.textContent=null==t?"":t}}function J(){this.innerHTML=""}function Q(e){return function(){this.innerHTML=e}}function ee(e){return function(){var t=e.apply(this,arguments);this.innerHTML=null==t?"":t}}function te(){this.nextSibling&&this.parentNode.appendChild(this)}function ne(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}function re(e){return function(){var t=this.ownerDocument,n=this.namespaceURI;return n===S&&t.documentElement.namespaceURI===S?t.createElement(e):t.createElementNS(n,e)}}function oe(e){return function(){return this.ownerDocument.createElementNS(e.space,e.local)}}function ie(e){var t=C(e);return(t.local?oe:re)(t)}function ae(){return null}function se(){var e=this.parentNode;e&&e.removeChild(this)}function le(){var e=this.cloneNode(!1),t=this.parentNode;return t?t.insertBefore(e,this.nextSibling):e}function ce(){var e=this.cloneNode(!0),t=this.parentNode;return t?t.insertBefore(e,this.nextSibling):e}function ue(e){return function(){var t=this.__on;if(t){for(var n,r=0,o=-1,i=t.length;r<i;++r)n=t[r],e.type&&n.type!==e.type||n.name!==e.name?t[++o]=n:this.removeEventListener(n.type,n.listener,n.options);++o?t.length=o:delete this.__on}}}function de(e,t,n){return function(){var r,o=this.__on,i=function(e){return function(t){e.call(this,t,this.__data__)}}(t);if(o)for(var a=0,s=o.length;a<s;++a)if((r=o[a]).type===e.type&&r.name===e.name)return this.removeEventListener(r.type,r.listener,r.options),this.addEventListener(r.type,r.listener=i,r.options=n),void(r.value=t);this.addEventListener(e.type,i,n),r={type:e.type,name:e.name,value:t,listener:i,options:n},o?o.push(r):this.__on=[r]}}function pe(e,t,n){var r=R(e),o=r.CustomEvent;"function"==typeof o?o=new o(t,n):(o=r.document.createEvent("Event"),n?(o.initEvent(t,n.bubbles,n.cancelable),o.detail=n.detail):o.initEvent(t,!1,!1)),e.dispatchEvent(o)}function fe(e,t){return function(){return pe(this,e,t)}}function he(e,t){return function(){return pe(this,e,t.apply(this,arguments))}}V.prototype={add:function(e){this._names.indexOf(e)<0&&(this._names.push(e),this._node.setAttribute("class",this._names.join(" ")))},remove:function(e){var t=this._names.indexOf(e);t>=0&&(this._names.splice(t,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(e){return this._names.indexOf(e)>=0}};var me=[null];function ge(e,t){this._groups=e,this._parents=t}function ve(){return new ge([[document.documentElement]],me)}ge.prototype=ve.prototype={constructor:ge,select:function(e){"function"!=typeof e&&(e=s(e));for(var t=this._groups,n=t.length,r=new Array(n),o=0;o<n;++o)for(var i,a,l=t[o],c=l.length,u=r[o]=new Array(c),d=0;d<c;++d)(i=l[d])&&(a=e.call(i,i.__data__,d,l))&&("__data__"in i&&(a.__data__=i.__data__),u[d]=a);return new ge(r,this._parents)},selectAll:function(e){e="function"==typeof e?function(e){return function(){return l(e.apply(this,arguments))}}(e):u(e);for(var t=this._groups,n=t.length,r=[],o=[],i=0;i<n;++i)for(var a,s=t[i],c=s.length,d=0;d<c;++d)(a=s[d])&&(r.push(e.call(a,a.__data__,d,s)),o.push(a));return new ge(r,o)},selectChild:function(e){return this.select(null==e?h:function(e){return function(){return f.call(this.children,e)}}("function"==typeof e?e:p(e)))},selectChildren:function(e){return this.selectAll(null==e?g:function(e){return function(){return m.call(this.children,e)}}("function"==typeof e?e:p(e)))},filter:function(e){"function"!=typeof e&&(e=d(e));for(var t=this._groups,n=t.length,r=new Array(n),o=0;o<n;++o)for(var i,a=t[o],s=a.length,l=r[o]=[],c=0;c<s;++c)(i=a[c])&&e.call(i,i.__data__,c,a)&&l.push(i);return new ge(r,this._parents)},data:function(e,t){if(!arguments.length)return Array.from(this,w);var n=t?x:b,r=this._parents,o=this._groups;"function"!=typeof e&&(e=function(e){return function(){return e}}(e));for(var i=o.length,a=new Array(i),s=new Array(i),l=new Array(i),c=0;c<i;++c){var u=r[c],d=o[c],p=d.length,f=A(e.call(u,u&&u.__data__,c,r)),h=f.length,m=s[c]=new Array(h),g=a[c]=new Array(h);n(u,d,m,g,l[c]=new Array(p),f,t);for(var v,y,_=0,S=0;_<h;++_)if(v=m[_]){for(_>=S&&(S=_+1);!(y=g[S])&&++S<h;);v._next=y||null}}return(a=new ge(a,r))._enter=s,a._exit=l,a},enter:function(){return new ge(this._enter||this._groups.map(v),this._parents)},exit:function(){return new ge(this._exit||this._groups.map(v),this._parents)},join:function(e,t,n){var r=this.enter(),o=this,i=this.exit();return"function"==typeof e?(r=e(r))&&(r=r.selection()):r=r.append(e+""),null!=t&&(o=t(o))&&(o=o.selection()),null==n?i.remove():n(i),r&&o?r.merge(o).order():o},merge:function(e){for(var t=e.selection?e.selection():e,n=this._groups,r=t._groups,o=n.length,i=r.length,a=Math.min(o,i),s=new Array(o),l=0;l<a;++l)for(var c,u=n[l],d=r[l],p=u.length,f=s[l]=new Array(p),h=0;h<p;++h)(c=u[h]||d[h])&&(f[h]=c);for(;l<o;++l)s[l]=n[l];return new ge(s,this._parents)},selection:function(){return this},order:function(){for(var e=this._groups,t=-1,n=e.length;++t<n;)for(var r,o=e[t],i=o.length-1,a=o[i];--i>=0;)(r=o[i])&&(a&&4^r.compareDocumentPosition(a)&&a.parentNode.insertBefore(r,a),a=r);return this},sort:function(e){function t(t,n){return t&&n?e(t.__data__,n.__data__):!t-!n}e||(e=_);for(var n=this._groups,r=n.length,o=new Array(r),i=0;i<r;++i){for(var a,s=n[i],l=s.length,c=o[i]=new Array(l),u=0;u<l;++u)(a=s[u])&&(c[u]=a);c.sort(t)}return new ge(o,this._parents).order()},call:function(){var e=arguments[0];return arguments[0]=this,e.apply(null,arguments),this},nodes:function(){return Array.from(this)},node:function(){for(var e=this._groups,t=0,n=e.length;t<n;++t)for(var r=e[t],o=0,i=r.length;o<i;++o){var a=r[o];if(a)return a}return null},size:function(){let e=0;for(const t of this)++e;return e},empty:function(){return!this.node()},each:function(e){for(var t=this._groups,n=0,r=t.length;n<r;++n)for(var o,i=t[n],a=0,s=i.length;a<s;++a)(o=i[a])&&e.call(o,o.__data__,a,i);return this},attr:function(e,t){var n=C(e);if(arguments.length<2){var r=this.node();return n.local?r.getAttributeNS(n.space,n.local):r.getAttribute(n)}return this.each((null==t?n.local?M:T:"function"==typeof t?n.local?D:E:n.local?O:P)(n,t))},style:function(e,t,n){return arguments.length>1?this.each((null==t?I:"function"==typeof t?L:N)(e,t,null==n?"":n)):j(this.node(),e)},property:function(e,t){return arguments.length>1?this.each((null==t?$:"function"==typeof t?F:z)(e,t)):this.node()[e]},classed:function(e,t){var n=B(e+"");if(arguments.length<2){for(var r=H(this.node()),o=-1,i=n.length;++o<i;)if(!r.contains(n[o]))return!1;return!0}return this.each(("function"==typeof t?Y:t?q:G)(n,t))},text:function(e){return arguments.length?this.each(null==e?X:("function"==typeof e?Z:K)(e)):this.node().textContent},html:function(e){return arguments.length?this.each(null==e?J:("function"==typeof e?ee:Q)(e)):this.node().innerHTML},raise:function(){return this.each(te)},lower:function(){return this.each(ne)},append:function(e){var t="function"==typeof e?e:ie(e);return this.select((function(){return this.appendChild(t.apply(this,arguments))}))},insert:function(e,t){var n="function"==typeof e?e:ie(e),r=null==t?ae:"function"==typeof t?t:s(t);return this.select((function(){return this.insertBefore(n.apply(this,arguments),r.apply(this,arguments)||null)}))},remove:function(){return this.each(se)},clone:function(e){return this.select(e?ce:le)},datum:function(e){return arguments.length?this.property("__data__",e):this.node().__data__},on:function(e,t,n){var r,o,i=function(e){return e.trim().split(/^|\s+/).map((function(e){var t="",n=e.indexOf(".");return n>=0&&(t=e.slice(n+1),e=e.slice(0,n)),{type:e,name:t}}))}(e+""),a=i.length;if(!(arguments.length<2)){for(s=t?de:ue,r=0;r<a;++r)this.each(s(i[r],t,n));return this}var s=this.node().__on;if(s)for(var l,c=0,u=s.length;c<u;++c)for(r=0,l=s[c];r<a;++r)if((o=i[r]).type===l.type&&o.name===l.name)return l.value},dispatch:function(e,t){return this.each(("function"==typeof t?he:fe)(e,t))},[Symbol.iterator]:function*(){for(var e=this._groups,t=0,n=e.length;t<n;++t)for(var r,o=e[t],i=0,a=o.length;i<a;++i)(r=o[i])&&(yield r)}};var ye=ve;function be(e){return"string"==typeof e?new ge([[document.querySelector(e)]],[document.documentElement]):new ge([[e]],me)}const xe=new Date,we=new Date;function Ae(e,t,n,r){function o(t){return e(t=0===arguments.length?new Date:new Date(+t)),t}return o.floor=t=>(e(t=new Date(+t)),t),o.ceil=n=>(e(n=new Date(n-1)),t(n,1),e(n),n),o.round=e=>{const t=o(e),n=o.ceil(e);return e-t<n-e?t:n},o.offset=(e,n)=>(t(e=new Date(+e),null==n?1:Math.floor(n)),e),o.range=(n,r,i)=>{const a=[];if(n=o.ceil(n),i=null==i?1:Math.floor(i),!(n<r&&i>0))return a;let s;do{a.push(s=new Date(+n)),t(n,i),e(n)}while(s<n&&n<r);return a},o.filter=n=>Ae((t=>{if(t>=t)for(;e(t),!n(t);)t.setTime(t-1)}),((e,r)=>{if(e>=e)if(r<0)for(;++r<=0;)for(;t(e,-1),!n(e););else for(;--r>=0;)for(;t(e,1),!n(e););})),n&&(o.count=(t,r)=>(xe.setTime(+t),we.setTime(+r),e(xe),e(we),Math.floor(n(xe,we))),o.every=e=>(e=Math.floor(e),isFinite(e)&&e>0?e>1?o.filter(r?t=>r(t)%e==0:t=>o.count(0,t)%e==0):o:null)),o}const _e=1e3,Se=6e4,ke=36e5,Ce=864e5,Te=6048e5,Me=2592e6,Pe=31536e6;function Oe(e){return Ae((t=>{t.setDate(t.getDate()-(t.getDay()+7-e)%7),t.setHours(0,0,0,0)}),((e,t)=>{e.setDate(e.getDate()+7*t)}),((e,t)=>(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*Se)/Te))}const Ee=Oe(0),De=Oe(1),Re=Oe(2),Ie=Oe(3),Ne=Oe(4),Le=Oe(5),je=Oe(6);function $e(e){return Ae((t=>{t.setUTCDate(t.getUTCDate()-(t.getUTCDay()+7-e)%7),t.setUTCHours(0,0,0,0)}),((e,t)=>{e.setUTCDate(e.getUTCDate()+7*t)}),((e,t)=>(t-e)/Te))}Ee.range,De.range,Re.range,Ie.range,Ne.range,Le.range,je.range;const ze=$e(0),Fe=$e(1),Be=$e(2),He=$e(3),Ve=$e(4),We=$e(5),Ue=$e(6),qe=(ze.range,Fe.range,Be.range,He.range,Ve.range,We.range,Ue.range,Ae((e=>e.setHours(0,0,0,0)),((e,t)=>e.setDate(e.getDate()+t)),((e,t)=>(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*Se)/Ce),(e=>e.getDate()-1))),Ge=(qe.range,Ae((e=>{e.setUTCHours(0,0,0,0)}),((e,t)=>{e.setUTCDate(e.getUTCDate()+t)}),((e,t)=>(t-e)/Ce),(e=>e.getUTCDate()-1))),Ye=(Ge.range,Ae((e=>{e.setUTCHours(0,0,0,0)}),((e,t)=>{e.setUTCDate(e.getUTCDate()+t)}),((e,t)=>(t-e)/Ce),(e=>Math.floor(e/Ce)))),Xe=(Ye.range,Ae((e=>{e.setMonth(0,1),e.setHours(0,0,0,0)}),((e,t)=>{e.setFullYear(e.getFullYear()+t)}),((e,t)=>t.getFullYear()-e.getFullYear()),(e=>e.getFullYear())));Xe.every=e=>isFinite(e=Math.floor(e))&&e>0?Ae((t=>{t.setFullYear(Math.floor(t.getFullYear()/e)*e),t.setMonth(0,1),t.setHours(0,0,0,0)}),((t,n)=>{t.setFullYear(t.getFullYear()+n*e)})):null,Xe.range;const Ke=Ae((e=>{e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)}),((e,t)=>{e.setUTCFullYear(e.getUTCFullYear()+t)}),((e,t)=>t.getUTCFullYear()-e.getUTCFullYear()),(e=>e.getUTCFullYear()));function Ze(e){if(0<=e.y&&e.y<100){var t=new Date(-1,e.m,e.d,e.H,e.M,e.S,e.L);return t.setFullYear(e.y),t}return new Date(e.y,e.m,e.d,e.H,e.M,e.S,e.L)}function Je(e){if(0<=e.y&&e.y<100){var t=new Date(Date.UTC(-1,e.m,e.d,e.H,e.M,e.S,e.L));return t.setUTCFullYear(e.y),t}return new Date(Date.UTC(e.y,e.m,e.d,e.H,e.M,e.S,e.L))}function Qe(e,t,n){return{y:e,m:t,d:n,H:0,M:0,S:0,L:0}}Ke.every=e=>isFinite(e=Math.floor(e))&&e>0?Ae((t=>{t.setUTCFullYear(Math.floor(t.getUTCFullYear()/e)*e),t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)}),((t,n)=>{t.setUTCFullYear(t.getUTCFullYear()+n*e)})):null,Ke.range;var et,tt,nt,rt,ot,it={"-":"",_:" ",0:"0"},at=/^\s*\d+/,st=/^%/,lt=/[\\^$*+?|[\]().{}]/g;function ct(e,t,n){var r=e<0?"-":"",o=(r?-e:e)+"",i=o.length;return r+(i<n?new Array(n-i+1).join(t)+o:o)}function ut(e){return e.replace(lt,"\\$&")}function dt(e){return new RegExp("^(?:"+e.map(ut).join("|")+")","i")}function pt(e){return new Map(e.map(((e,t)=>[e.toLowerCase(),t])))}function ft(e,t,n){var r=at.exec(t.slice(n,n+1));return r?(e.w=+r[0],n+r[0].length):-1}function ht(e,t,n){var r=at.exec(t.slice(n,n+1));return r?(e.u=+r[0],n+r[0].length):-1}function mt(e,t,n){var r=at.exec(t.slice(n,n+2));return r?(e.U=+r[0],n+r[0].length):-1}function gt(e,t,n){var r=at.exec(t.slice(n,n+2));return r?(e.V=+r[0],n+r[0].length):-1}function vt(e,t,n){var r=at.exec(t.slice(n,n+2));return r?(e.W=+r[0],n+r[0].length):-1}function yt(e,t,n){var r=at.exec(t.slice(n,n+4));return r?(e.y=+r[0],n+r[0].length):-1}function bt(e,t,n){var r=at.exec(t.slice(n,n+2));return r?(e.y=+r[0]+(+r[0]>68?1900:2e3),n+r[0].length):-1}function xt(e,t,n){var r=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(t.slice(n,n+6));return r?(e.Z=r[1]?0:-(r[2]+(r[3]||"00")),n+r[0].length):-1}function wt(e,t,n){var r=at.exec(t.slice(n,n+1));return r?(e.q=3*r[0]-3,n+r[0].length):-1}function At(e,t,n){var r=at.exec(t.slice(n,n+2));return r?(e.m=r[0]-1,n+r[0].length):-1}function _t(e,t,n){var r=at.exec(t.slice(n,n+2));return r?(e.d=+r[0],n+r[0].length):-1}function St(e,t,n){var r=at.exec(t.slice(n,n+3));return r?(e.m=0,e.d=+r[0],n+r[0].length):-1}function kt(e,t,n){var r=at.exec(t.slice(n,n+2));return r?(e.H=+r[0],n+r[0].length):-1}function Ct(e,t,n){var r=at.exec(t.slice(n,n+2));return r?(e.M=+r[0],n+r[0].length):-1}function Tt(e,t,n){var r=at.exec(t.slice(n,n+2));return r?(e.S=+r[0],n+r[0].length):-1}function Mt(e,t,n){var r=at.exec(t.slice(n,n+3));return r?(e.L=+r[0],n+r[0].length):-1}function Pt(e,t,n){var r=at.exec(t.slice(n,n+6));return r?(e.L=Math.floor(r[0]/1e3),n+r[0].length):-1}function Ot(e,t,n){var r=st.exec(t.slice(n,n+1));return r?n+r[0].length:-1}function Et(e,t,n){var r=at.exec(t.slice(n));return r?(e.Q=+r[0],n+r[0].length):-1}function Dt(e,t,n){var r=at.exec(t.slice(n));return r?(e.s=+r[0],n+r[0].length):-1}function Rt(e,t){return ct(e.getDate(),t,2)}function It(e,t){return ct(e.getHours(),t,2)}function Nt(e,t){return ct(e.getHours()%12||12,t,2)}function Lt(e,t){return ct(1+qe.count(Xe(e),e),t,3)}function jt(e,t){return ct(e.getMilliseconds(),t,3)}function $t(e,t){return jt(e,t)+"000"}function zt(e,t){return ct(e.getMonth()+1,t,2)}function Ft(e,t){return ct(e.getMinutes(),t,2)}function Bt(e,t){return ct(e.getSeconds(),t,2)}function Ht(e){var t=e.getDay();return 0===t?7:t}function Vt(e,t){return ct(Ee.count(Xe(e)-1,e),t,2)}function Wt(e){var t=e.getDay();return t>=4||0===t?Ne(e):Ne.ceil(e)}function Ut(e,t){return e=Wt(e),ct(Ne.count(Xe(e),e)+(4===Xe(e).getDay()),t,2)}function qt(e){return e.getDay()}function Gt(e,t){return ct(De.count(Xe(e)-1,e),t,2)}function Yt(e,t){return ct(e.getFullYear()%100,t,2)}function Xt(e,t){return ct((e=Wt(e)).getFullYear()%100,t,2)}function Kt(e,t){return ct(e.getFullYear()%1e4,t,4)}function Zt(e,t){var n=e.getDay();return ct((e=n>=4||0===n?Ne(e):Ne.ceil(e)).getFullYear()%1e4,t,4)}function Jt(e){var t=e.getTimezoneOffset();return(t>0?"-":(t*=-1,"+"))+ct(t/60|0,"0",2)+ct(t%60,"0",2)}function Qt(e,t){return ct(e.getUTCDate(),t,2)}function en(e,t){return ct(e.getUTCHours(),t,2)}function tn(e,t){return ct(e.getUTCHours()%12||12,t,2)}function nn(e,t){return ct(1+Ge.count(Ke(e),e),t,3)}function rn(e,t){return ct(e.getUTCMilliseconds(),t,3)}function on(e,t){return rn(e,t)+"000"}function an(e,t){return ct(e.getUTCMonth()+1,t,2)}function sn(e,t){return ct(e.getUTCMinutes(),t,2)}function ln(e,t){return ct(e.getUTCSeconds(),t,2)}function cn(e){var t=e.getUTCDay();return 0===t?7:t}function un(e,t){return ct(ze.count(Ke(e)-1,e),t,2)}function dn(e){var t=e.getUTCDay();return t>=4||0===t?Ve(e):Ve.ceil(e)}function pn(e,t){return e=dn(e),ct(Ve.count(Ke(e),e)+(4===Ke(e).getUTCDay()),t,2)}function fn(e){return e.getUTCDay()}function hn(e,t){return ct(Fe.count(Ke(e)-1,e),t,2)}function mn(e,t){return ct(e.getUTCFullYear()%100,t,2)}function gn(e,t){return ct((e=dn(e)).getUTCFullYear()%100,t,2)}function vn(e,t){return ct(e.getUTCFullYear()%1e4,t,4)}function yn(e,t){var n=e.getUTCDay();return ct((e=n>=4||0===n?Ve(e):Ve.ceil(e)).getUTCFullYear()%1e4,t,4)}function bn(){return"+0000"}function xn(){return"%"}function wn(e){return+e}function An(e){return Math.floor(+e/1e3)}et=function(e){var t=e.dateTime,n=e.date,r=e.time,o=e.periods,i=e.days,a=e.shortDays,s=e.months,l=e.shortMonths,c=dt(o),u=pt(o),d=dt(i),p=pt(i),f=dt(a),h=pt(a),m=dt(s),g=pt(s),v=dt(l),y=pt(l),b={a:function(e){return a[e.getDay()]},A:function(e){return i[e.getDay()]},b:function(e){return l[e.getMonth()]},B:function(e){return s[e.getMonth()]},c:null,d:Rt,e:Rt,f:$t,g:Xt,G:Zt,H:It,I:Nt,j:Lt,L:jt,m:zt,M:Ft,p:function(e){return o[+(e.getHours()>=12)]},q:function(e){return 1+~~(e.getMonth()/3)},Q:wn,s:An,S:Bt,u:Ht,U:Vt,V:Ut,w:qt,W:Gt,x:null,X:null,y:Yt,Y:Kt,Z:Jt,"%":xn},x={a:function(e){return a[e.getUTCDay()]},A:function(e){return i[e.getUTCDay()]},b:function(e){return l[e.getUTCMonth()]},B:function(e){return s[e.getUTCMonth()]},c:null,d:Qt,e:Qt,f:on,g:gn,G:yn,H:en,I:tn,j:nn,L:rn,m:an,M:sn,p:function(e){return o[+(e.getUTCHours()>=12)]},q:function(e){return 1+~~(e.getUTCMonth()/3)},Q:wn,s:An,S:ln,u:cn,U:un,V:pn,w:fn,W:hn,x:null,X:null,y:mn,Y:vn,Z:bn,"%":xn},w={a:function(e,t,n){var r=f.exec(t.slice(n));return r?(e.w=h.get(r[0].toLowerCase()),n+r[0].length):-1},A:function(e,t,n){var r=d.exec(t.slice(n));return r?(e.w=p.get(r[0].toLowerCase()),n+r[0].length):-1},b:function(e,t,n){var r=v.exec(t.slice(n));return r?(e.m=y.get(r[0].toLowerCase()),n+r[0].length):-1},B:function(e,t,n){var r=m.exec(t.slice(n));return r?(e.m=g.get(r[0].toLowerCase()),n+r[0].length):-1},c:function(e,n,r){return S(e,t,n,r)},d:_t,e:_t,f:Pt,g:bt,G:yt,H:kt,I:kt,j:St,L:Mt,m:At,M:Ct,p:function(e,t,n){var r=c.exec(t.slice(n));return r?(e.p=u.get(r[0].toLowerCase()),n+r[0].length):-1},q:wt,Q:Et,s:Dt,S:Tt,u:ht,U:mt,V:gt,w:ft,W:vt,x:function(e,t,r){return S(e,n,t,r)},X:function(e,t,n){return S(e,r,t,n)},y:bt,Y:yt,Z:xt,"%":Ot};function A(e,t){return function(n){var r,o,i,a=[],s=-1,l=0,c=e.length;for(n instanceof Date||(n=new Date(+n));++s<c;)37===e.charCodeAt(s)&&(a.push(e.slice(l,s)),null!=(o=it[r=e.charAt(++s)])?r=e.charAt(++s):o="e"===r?" ":"0",(i=t[r])&&(r=i(n,o)),a.push(r),l=s+1);return a.push(e.slice(l,s)),a.join("")}}function _(e,t){return function(n){var r,o,i=Qe(1900,void 0,1);if(S(i,e,n+="",0)!=n.length)return null;if("Q"in i)return new Date(i.Q);if("s"in i)return new Date(1e3*i.s+("L"in i?i.L:0));if(t&&!("Z"in i)&&(i.Z=0),"p"in i&&(i.H=i.H%12+12*i.p),void 0===i.m&&(i.m="q"in i?i.q:0),"V"in i){if(i.V<1||i.V>53)return null;"w"in i||(i.w=1),"Z"in i?(o=(r=Je(Qe(i.y,0,1))).getUTCDay(),r=o>4||0===o?Fe.ceil(r):Fe(r),r=Ge.offset(r,7*(i.V-1)),i.y=r.getUTCFullYear(),i.m=r.getUTCMonth(),i.d=r.getUTCDate()+(i.w+6)%7):(o=(r=Ze(Qe(i.y,0,1))).getDay(),r=o>4||0===o?De.ceil(r):De(r),r=qe.offset(r,7*(i.V-1)),i.y=r.getFullYear(),i.m=r.getMonth(),i.d=r.getDate()+(i.w+6)%7)}else("W"in i||"U"in i)&&("w"in i||(i.w="u"in i?i.u%7:"W"in i?1:0),o="Z"in i?Je(Qe(i.y,0,1)).getUTCDay():Ze(Qe(i.y,0,1)).getDay(),i.m=0,i.d="W"in i?(i.w+6)%7+7*i.W-(o+5)%7:i.w+7*i.U-(o+6)%7);return"Z"in i?(i.H+=i.Z/100|0,i.M+=i.Z%100,Je(i)):Ze(i)}}function S(e,t,n,r){for(var o,i,a=0,s=t.length,l=n.length;a<s;){if(r>=l)return-1;if(37===(o=t.charCodeAt(a++))){if(o=t.charAt(a++),!(i=w[o in it?t.charAt(a++):o])||(r=i(e,n,r))<0)return-1}else if(o!=n.charCodeAt(r++))return-1}return r}return b.x=A(n,b),b.X=A(r,b),b.c=A(t,b),x.x=A(n,x),x.X=A(r,x),x.c=A(t,x),{format:function(e){var t=A(e+="",b);return t.toString=function(){return e},t},parse:function(e){var t=_(e+="",!1);return t.toString=function(){return e},t},utcFormat:function(e){var t=A(e+="",x);return t.toString=function(){return e},t},utcParse:function(e){var t=_(e+="",!0);return t.toString=function(){return e},t}}}({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]}),tt=et.format,nt=et.parse,rt=et.utcFormat,ot=et.utcParse;var _n=Object.defineProperty,Sn=Object.getOwnPropertySymbols,kn=Object.prototype.hasOwnProperty,Cn=Object.prototype.propertyIsEnumerable,Tn=(e,t,n)=>t in e?_n(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Mn=(e,t)=>{for(var n in t||(t={}))kn.call(t,n)&&Tn(e,n,t[n]);if(Sn)for(var n of Sn(t))Cn.call(t,n)&&Tn(e,n,t[n]);return e};const Pn={button:"bb-button",chart:"bb-chart",empty:"bb-empty",main:"bb-main",target:"bb-target",EXPANDED:"_expanded_"},On={arc:"bb-arc",arcLabelLine:"bb-arc-label-line",arcRange:"bb-arc-range",arcs:"bb-arcs",chartArc:"bb-chart-arc",chartArcs:"bb-chart-arcs",chartArcsBackground:"bb-chart-arcs-background",chartArcsTitle:"bb-chart-arcs-title",needle:"bb-needle"},En={area:"bb-area",areas:"bb-areas"},Dn={axis:"bb-axis",axisX:"bb-axis-x",axisXLabel:"bb-axis-x-label",axisY:"bb-axis-y",axisY2:"bb-axis-y2",axisY2Label:"bb-axis-y2-label",axisYLabel:"bb-axis-y-label",axisXTooltip:"bb-axis-x-tooltip",axisYTooltip:"bb-axis-y-tooltip",axisY2Tooltip:"bb-axis-y2-tooltip"},Rn={bar:"bb-bar",bars:"bb-bars",chartBar:"bb-chart-bar",chartBars:"bb-chart-bars"},In={candlestick:"bb-candlestick",candlesticks:"bb-candlesticks",chartCandlestick:"bb-chart-candlestick",chartCandlesticks:"bb-chart-candlesticks",valueDown:"bb-value-down",valueUp:"bb-value-up"},Nn={chartCircles:"bb-chart-circles",circle:"bb-circle",circles:"bb-circles"},Ln={colorPattern:"bb-color-pattern",colorScale:"bb-colorscale"},jn={dragarea:"bb-dragarea",INCLUDED:"_included_"},$n={funnel:"bb-funnel",chartFunnel:"bb-chart-funnel",chartFunnels:"bb-chart-funnels",funnelBackground:"bb-funnel-background"},zn={chartArcsGaugeMax:"bb-chart-arcs-gauge-max",chartArcsGaugeMin:"bb-chart-arcs-gauge-min",chartArcsGaugeUnit:"bb-chart-arcs-gauge-unit",chartArcsGaugeTitle:"bb-chart-arcs-gauge-title",gaugeValue:"bb-gauge-value"},Fn={legend:"bb-legend",legendBackground:"bb-legend-background",legendItem:"bb-legend-item",legendItemEvent:"bb-legend-item-event",legendItemHidden:"bb-legend-item-hidden",legendItemPoint:"bb-legend-item-point",legendItemTile:"bb-legend-item-tile"},Bn={chartLine:"bb-chart-line",chartLines:"bb-chart-lines",line:"bb-line",lines:"bb-lines"},Hn={eventRect:"bb-event-rect",eventRects:"bb-event-rects",eventRectsMultiple:"bb-event-rects-multiple",eventRectsSingle:"bb-event-rects-single"},Vn={focused:"bb-focused",defocused:"bb-defocused",legendItemFocused:"bb-legend-item-focused",xgridFocus:"bb-xgrid-focus",ygridFocus:"bb-ygrid-focus"},Wn={grid:"bb-grid",gridLines:"bb-grid-lines",xgrid:"bb-xgrid",xgridLine:"bb-xgrid-line",xgridLines:"bb-xgrid-lines",xgrids:"bb-xgrids",ygrid:"bb-ygrid",ygridLine:"bb-ygrid-line",ygridLines:"bb-ygrid-lines",ygrids:"bb-ygrids"},Un="bb-level",qn="bb-levels",Gn={chartRadar:"bb-chart-radar",chartRadars:"bb-chart-radars"},Yn={region:"bb-region",regions:"bb-regions"},Xn={selectedCircle:"bb-selected-circle",selectedCircles:"bb-selected-circles",SELECTED:"_selected_"},Kn={shape:"bb-shape",shapes:"bb-shapes"},Zn={brush:"bb-brush",subchart:"bb-subchart"},Jn={chartText:"bb-chart-text",chartTexts:"bb-chart-texts",text:"bb-text",texts:"bb-texts",title:"bb-title",TextOverlapping:"text-overlapping"},Qn={tooltip:"bb-tooltip",tooltipContainer:"bb-tooltip-container",tooltipName:"bb-tooltip-name"},er={treemap:"bb-treemap",chartTreemap:"bb-chart-treemap",chartTreemaps:"bb-chart-treemaps"},tr={buttonZoomReset:"bb-zoom-reset",zoomBrush:"bb-zoom-brush"};var nr=Mn(Mn(Mn(Mn(Mn(Mn(Mn(Mn(Mn(Mn(Mn(Mn(Mn(Mn(Mn(Mn(Mn(Mn(Mn(Mn(Mn(Mn(Mn(Mn(Mn({},Pn),On),En),Dn),Rn),In),Nn),Ln),jn),zn),Fn),Bn),Hn),Vn),$n),Wn),Gn),Yn),Xn),Kn),Zn),Jn),Qn),er),tr),rr={boost_useCssRule:!1,boost_useWorker:!1},or={color_pattern:[],color_tiles:void 0,color_threshold:{},color_onover:void 0},ir={legend_contents_bindto:void 0,legend_contents_template:"<span style='color:#fff;padding:5px;background-color:{=COLOR}'>{=TITLE}</span>",legend_equally:!1,legend_hide:!1,legend_inset_anchor:"top-left",legend_inset_x:10,legend_inset_y:0,legend_inset_step:void 0,legend_item_interaction:!0,legend_item_dblclick:!1,legend_item_onclick:void 0,legend_item_onover:void 0,legend_item_onout:void 0,legend_item_tile_width:10,legend_item_tile_height:10,legend_item_tile_r:5,legend_item_tile_type:"rectangle",legend_format:void 0,legend_padding:0,legend_position:"bottom",legend_show:!0,legend_tooltip:!1,legend_usePoint:!1},ar={bindto:"#chart",background:{},clipPath:!0,svg_classname:void 0,size_width:void 0,size_height:void 0,padding:!0,padding_mode:void 0,padding_left:void 0,padding_right:void 0,padding_top:void 0,padding_bottom:void 0,resize_auto:!0,resize_timer:!0,onclick:void 0,onover:void 0,onout:void 0,onresize:void 0,onresized:void 0,onbeforeinit:void 0,oninit:void 0,onafterinit:void 0,onrendered:void 0,transition_duration:250,plugins:[],render:{},regions:[]},sr={title_text:void 0,title_padding:{top:0,right:0,bottom:0,left:0},title_position:"center"},lr={tooltip_show:!0,tooltip_doNotHide:!1,tooltip_grouped:!0,tooltip_format_title:void 0,tooltip_format_name:void 0,tooltip_format_value:void 0,tooltip_position:void 0,tooltip_contents:{},tooltip_init_show:!1,tooltip_init_x:0,tooltip_init_position:void 0,tooltip_linked:!1,tooltip_linked_name:"",tooltip_onshow:()=>{},tooltip_onhide:()=>{},tooltip_onshown:()=>{},tooltip_onhidden:()=>{},tooltip_order:null},cr={data_x:void 0,data_idConverter:e=>e,data_names:{},data_classes:{},data_type:void 0,data_types:{},data_order:"desc",data_groups:[],data_groupsZeroAs:"positive",data_color:void 0,data_colors:{},data_labels:{},data_labels_backgroundColors:void 0,data_labels_colors:void 0,data_labels_position:{},data_hide:!1,data_filter:void 0,data_onclick:()=>{},data_onover:()=>{},data_onout:()=>{},data_onshown:void 0,data_onhidden:void 0,data_onmin:void 0,data_onmax:void 0,data_url:void 0,data_headers:void 0,data_json:void 0,data_rows:void 0,data_columns:void 0,data_mimeType:"csv",data_keys:void 0,data_empty_label_text:""},ur={interaction_enabled:!0,interaction_brighten:!0,interaction_inputType_mouse:!0,interaction_inputType_touch:{}},dr={value:()=>{}};function pr(){for(var e,t=0,n=arguments.length,r={};t<n;++t){if(!(e=arguments[t]+"")||e in r||/[\s.]/.test(e))throw new Error("illegal type: "+e);r[e]=[]}return new fr(r)}function fr(e){this._=e}function hr(e,t){for(var n,r=0,o=e.length;r<o;++r)if((n=e[r]).name===t)return n.value}function mr(e,t,n){for(var r=0,o=e.length;r<o;++r)if(e[r].name===t){e[r]=dr,e=e.slice(0,r).concat(e.slice(r+1));break}return null!=n&&e.push({name:t,value:n}),e}fr.prototype=pr.prototype={constructor:fr,on:function(e,t){var n,r,o=this._,i=(r=o,(e+"").trim().split(/^|\s+/).map((function(e){var t="",n=e.indexOf(".");if(n>=0&&(t=e.slice(n+1),e=e.slice(0,n)),e&&!r.hasOwnProperty(e))throw new Error("unknown type: "+e);return{type:e,name:t}}))),a=-1,s=i.length;if(!(arguments.length<2)){if(null!=t&&"function"!=typeof t)throw new Error("invalid callback: "+t);for(;++a<s;)if(n=(e=i[a]).type)o[n]=mr(o[n],e.name,t);else if(null==t)for(n in o)o[n]=mr(o[n],e.name,null);return this}for(;++a<s;)if((n=(e=i[a]).type)&&(n=hr(o[n],e.name)))return n},copy:function(){var e={},t=this._;for(var n in t)e[n]=t[n].slice();return new fr(e)},call:function(e,t){if((n=arguments.length-2)>0)for(var n,r,o=new Array(n),i=0;i<n;++i)o[i]=arguments[i+2];if(!this._.hasOwnProperty(e))throw new Error("unknown type: "+e);for(i=0,n=(r=this._[e]).length;i<n;++i)r[i].value.apply(t,o)},apply:function(e,t,n){if(!this._.hasOwnProperty(e))throw new Error("unknown type: "+e);for(var r=this._[e],o=0,i=r.length;o<i;++o)r[o].value.apply(t,n)}};var gr=pr;const vr={passive:!1},yr={capture:!0,passive:!1};function br(e){e.stopImmediatePropagation()}function xr(e){e.preventDefault(),e.stopImmediatePropagation()}function wr(e){var t=e.document.documentElement,n=be(e).on("dragstart.drag",xr,yr);"onselectstart"in t?n.on("selectstart.drag",xr,yr):(t.__noselect=t.style.MozUserSelect,t.style.MozUserSelect="none")}function Ar(e,t){var n=e.document.documentElement,r=be(e).on("dragstart.drag",null);t&&(r.on("click.drag",xr,yr),setTimeout((function(){r.on("click.drag",null)}),0)),"onselectstart"in n?r.on("selectstart.drag",null):(n.style.MozUserSelect=n.__noselect,delete n.__noselect)}function _r(e,t,n){e.prototype=t.prototype=n,n.constructor=e}function Sr(e,t){var n=Object.create(e.prototype);for(var r in t)n[r]=t[r];return n}function kr(){}var Cr=.7,Tr=1/Cr,Mr="\\s*([+-]?\\d+)\\s*",Pr="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",Or="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",Er=/^#([0-9a-f]{3,8})$/,Dr=new RegExp(`^rgb\\(${Mr},${Mr},${Mr}\\)$`),Rr=new RegExp(`^rgb\\(${Or},${Or},${Or}\\)$`),Ir=new RegExp(`^rgba\\(${Mr},${Mr},${Mr},${Pr}\\)$`),Nr=new RegExp(`^rgba\\(${Or},${Or},${Or},${Pr}\\)$`),Lr=new RegExp(`^hsl\\(${Pr},${Or},${Or}\\)$`),jr=new RegExp(`^hsla\\(${Pr},${Or},${Or},${Pr}\\)$`),$r={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};function zr(){return this.rgb().formatHex()}function Fr(){return this.rgb().formatRgb()}function Br(e){var t,n;return e=(e+"").trim().toLowerCase(),(t=Er.exec(e))?(n=t[1].length,t=parseInt(t[1],16),6===n?Hr(t):3===n?new Ur(t>>8&15|t>>4&240,t>>4&15|240&t,(15&t)<<4|15&t,1):8===n?Vr(t>>24&255,t>>16&255,t>>8&255,(255&t)/255):4===n?Vr(t>>12&15|t>>8&240,t>>8&15|t>>4&240,t>>4&15|240&t,((15&t)<<4|15&t)/255):null):(t=Dr.exec(e))?new Ur(t[1],t[2],t[3],1):(t=Rr.exec(e))?new Ur(255*t[1]/100,255*t[2]/100,255*t[3]/100,1):(t=Ir.exec(e))?Vr(t[1],t[2],t[3],t[4]):(t=Nr.exec(e))?Vr(255*t[1]/100,255*t[2]/100,255*t[3]/100,t[4]):(t=Lr.exec(e))?Zr(t[1],t[2]/100,t[3]/100,1):(t=jr.exec(e))?Zr(t[1],t[2]/100,t[3]/100,t[4]):$r.hasOwnProperty(e)?Hr($r[e]):"transparent"===e?new Ur(NaN,NaN,NaN,0):null}function Hr(e){return new Ur(e>>16&255,e>>8&255,255&e,1)}function Vr(e,t,n,r){return r<=0&&(e=t=n=NaN),new Ur(e,t,n,r)}function Wr(e,t,n,r){return 1===arguments.length?((o=e)instanceof kr||(o=Br(o)),o?new Ur((o=o.rgb()).r,o.g,o.b,o.opacity):new Ur):new Ur(e,t,n,null==r?1:r);var o}function Ur(e,t,n,r){this.r=+e,this.g=+t,this.b=+n,this.opacity=+r}function qr(){return`#${Kr(this.r)}${Kr(this.g)}${Kr(this.b)}`}function Gr(){const e=Yr(this.opacity);return`${1===e?"rgb(":"rgba("}${Xr(this.r)}, ${Xr(this.g)}, ${Xr(this.b)}${1===e?")":`, ${e})`}`}function Yr(e){return isNaN(e)?1:Math.max(0,Math.min(1,e))}function Xr(e){return Math.max(0,Math.min(255,Math.round(e)||0))}function Kr(e){return((e=Xr(e))<16?"0":"")+e.toString(16)}function Zr(e,t,n,r){return r<=0?e=t=n=NaN:n<=0||n>=1?e=t=NaN:t<=0&&(e=NaN),new Qr(e,t,n,r)}function Jr(e){if(e instanceof Qr)return new Qr(e.h,e.s,e.l,e.opacity);if(e instanceof kr||(e=Br(e)),!e)return new Qr;if(e instanceof Qr)return e;var t=(e=e.rgb()).r/255,n=e.g/255,r=e.b/255,o=Math.min(t,n,r),i=Math.max(t,n,r),a=NaN,s=i-o,l=(i+o)/2;return s?(a=t===i?(n-r)/s+6*(n<r):n===i?(r-t)/s+2:(t-n)/s+4,s/=l<.5?i+o:2-i-o,a*=60):s=l>0&&l<1?0:a,new Qr(a,s,l,e.opacity)}function Qr(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}function eo(e){return(e=(e||0)%360)<0?e+360:e}function to(e){return Math.max(0,Math.min(1,e||0))}function no(e,t,n){return 255*(e<60?t+(n-t)*e/60:e<180?n:e<240?t+(n-t)*(240-e)/60:t)}function ro(e,t,n,r,o){var i=e*e,a=i*e;return((1-3*e+3*i-a)*t+(4-6*i+3*a)*n+(1+3*e+3*i-3*a)*r+a*o)/6}_r(kr,Br,{copy(e){return Object.assign(new this.constructor,this,e)},displayable(){return this.rgb().displayable()},hex:zr,formatHex:zr,formatHex8:function(){return this.rgb().formatHex8()},formatHsl:function(){return Jr(this).formatHsl()},formatRgb:Fr,toString:Fr}),_r(Ur,Wr,Sr(kr,{brighter(e){return e=null==e?Tr:Math.pow(Tr,e),new Ur(this.r*e,this.g*e,this.b*e,this.opacity)},darker(e){return e=null==e?Cr:Math.pow(Cr,e),new Ur(this.r*e,this.g*e,this.b*e,this.opacity)},rgb(){return this},clamp(){return new Ur(Xr(this.r),Xr(this.g),Xr(this.b),Yr(this.opacity))},displayable(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:qr,formatHex:qr,formatHex8:function(){return`#${Kr(this.r)}${Kr(this.g)}${Kr(this.b)}${Kr(255*(isNaN(this.opacity)?1:this.opacity))}`},formatRgb:Gr,toString:Gr})),_r(Qr,(function(e,t,n,r){return 1===arguments.length?Jr(e):new Qr(e,t,n,null==r?1:r)}),Sr(kr,{brighter(e){return e=null==e?Tr:Math.pow(Tr,e),new Qr(this.h,this.s,this.l*e,this.opacity)},darker(e){return e=null==e?Cr:Math.pow(Cr,e),new Qr(this.h,this.s,this.l*e,this.opacity)},rgb(){var e=this.h%360+360*(this.h<0),t=isNaN(e)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*t,o=2*n-r;return new Ur(no(e>=240?e-240:e+120,o,r),no(e,o,r),no(e<120?e+240:e-120,o,r),this.opacity)},clamp(){return new Qr(eo(this.h),to(this.s),to(this.l),Yr(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){const e=Yr(this.opacity);return`${1===e?"hsl(":"hsla("}${eo(this.h)}, ${100*to(this.s)}%, ${100*to(this.l)}%${1===e?")":`, ${e})`}`}}));var oo=e=>()=>e;function io(e,t){return function(n){return e+n*t}}function ao(e){return 1==(e=+e)?so:function(t,n){return n-t?function(e,t,n){return e=Math.pow(e,n),t=Math.pow(t,n)-e,n=1/n,function(r){return Math.pow(e+r*t,n)}}(t,n,e):oo(isNaN(t)?n:t)}}function so(e,t){var n=t-e;return n?io(e,n):oo(isNaN(e)?t:e)}var lo=function e(t){var n=ao(t);function r(e,t){var r=n((e=Wr(e)).r,(t=Wr(t)).r),o=n(e.g,t.g),i=n(e.b,t.b),a=so(e.opacity,t.opacity);return function(t){return e.r=r(t),e.g=o(t),e.b=i(t),e.opacity=a(t),e+""}}return r.gamma=e,r}(1);function co(e){return function(t){var n,r,o=t.length,i=new Array(o),a=new Array(o),s=new Array(o);for(n=0;n<o;++n)r=Wr(t[n]),i[n]=r.r||0,a[n]=r.g||0,s[n]=r.b||0;return i=e(i),a=e(a),s=e(s),r.opacity=1,function(e){return r.r=i(e),r.g=a(e),r.b=s(e),r+""}}}function uo(e,t){t||(t=[]);var n,r=e?Math.min(t.length,e.length):0,o=t.slice();return function(i){for(n=0;n<r;++n)o[n]=e[n]*(1-i)+t[n]*i;return o}}function po(e){return ArrayBuffer.isView(e)&&!(e instanceof DataView)}function fo(e,t){var n,r=t?t.length:0,o=e?Math.min(r,e.length):0,i=new Array(o),a=new Array(r);for(n=0;n<o;++n)i[n]=xo(e[n],t[n]);for(;n<r;++n)a[n]=t[n];return function(e){for(n=0;n<o;++n)a[n]=i[n](e);return a}}function ho(e,t){var n=new Date;return e=+e,t=+t,function(r){return n.setTime(e*(1-r)+t*r),n}}function mo(e,t){return e=+e,t=+t,function(n){return e*(1-n)+t*n}}function go(e,t){var n,r={},o={};for(n in null!==e&&"object"==typeof e||(e={}),null!==t&&"object"==typeof t||(t={}),t)n in e?r[n]=xo(e[n],t[n]):o[n]=t[n];return function(e){for(n in r)o[n]=r[n](e);return o}}co((function(e){var t=e.length-1;return function(n){var r=n<=0?n=0:n>=1?(n=1,t-1):Math.floor(n*t),o=e[r],i=e[r+1],a=r>0?e[r-1]:2*o-i,s=r<t-1?e[r+2]:2*i-o;return ro((n-r/t)*t,a,o,i,s)}})),co((function(e){var t=e.length;return function(n){var r=Math.floor(((n%=1)<0?++n:n)*t),o=e[(r+t-1)%t],i=e[r%t],a=e[(r+1)%t],s=e[(r+2)%t];return ro((n-r/t)*t,o,i,a,s)}}));var vo=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,yo=new RegExp(vo.source,"g");function bo(e,t){var n,r,o,i=vo.lastIndex=yo.lastIndex=0,a=-1,s=[],l=[];for(e+="",t+="";(n=vo.exec(e))&&(r=yo.exec(t));)(o=r.index)>i&&(o=t.slice(i,o),s[a]?s[a]+=o:s[++a]=o),(n=n[0])===(r=r[0])?s[a]?s[a]+=r:s[++a]=r:(s[++a]=null,l.push({i:a,x:mo(n,r)})),i=yo.lastIndex;return i<t.length&&(o=t.slice(i),s[a]?s[a]+=o:s[++a]=o),s.length<2?l[0]?function(e){return function(t){return e(t)+""}}(l[0].x):function(e){return function(){return e}}(t):(t=l.length,function(e){for(var n,r=0;r<t;++r)s[(n=l[r]).i]=n.x(e);return s.join("")})}function xo(e,t){var n,r=typeof t;return null==t||"boolean"===r?oo(t):("number"===r?mo:"string"===r?(n=Br(t))?(t=n,lo):bo:t instanceof Br?lo:t instanceof Date?ho:po(t)?uo:Array.isArray(t)?fo:"function"!=typeof t.valueOf&&"function"!=typeof t.toString||isNaN(t)?go:mo)(e,t)}function wo(e,t){if(e=function(e){let t;for(;t=e.sourceEvent;)e=t;return e}(e),void 0===t&&(t=e.currentTarget),t){var n=t.ownerSVGElement||t;if(n.createSVGPoint){var r=n.createSVGPoint();return r.x=e.clientX,r.y=e.clientY,[(r=r.matrixTransform(t.getScreenCTM().inverse())).x,r.y]}if(t.getBoundingClientRect){var o=t.getBoundingClientRect();return[e.clientX-o.left-t.clientLeft,e.clientY-o.top-t.clientTop]}}return[e.pageX,e.pageY]}var Ao,_o,So=0,ko=0,Co=0,To=1e3,Mo=0,Po=0,Oo=0,Eo="object"==typeof performance&&performance.now?performance:Date,Do="object"==typeof window&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(e){setTimeout(e,17)};function Ro(){return Po||(Do(Io),Po=Eo.now()+Oo)}function Io(){Po=0}function No(){this._call=this._time=this._next=null}function Lo(e,t,n){var r=new No;return r.restart(e,t,n),r}function jo(){Po=(Mo=Eo.now())+Oo,So=ko=0;try{!function(){Ro(),++So;for(var e,t=Ao;t;)(e=Po-t._time)>=0&&t._call.call(void 0,e),t=t._next;--So}()}finally{So=0,function(){for(var e,t,n=Ao,r=1/0;n;)n._call?(r>n._time&&(r=n._time),e=n,n=n._next):(t=n._next,n._next=null,n=e?e._next=t:Ao=t);_o=e,zo(r)}(),Po=0}}function $o(){var e=Eo.now(),t=e-Mo;t>To&&(Oo-=t,Mo=e)}function zo(e){So||(ko&&(ko=clearTimeout(ko)),e-Po>24?(e<1/0&&(ko=setTimeout(jo,e-Eo.now()-Oo)),Co&&(Co=clearInterval(Co))):(Co||(Mo=Eo.now(),Co=setInterval($o,To)),So=1,Do(jo)))}function Fo(e,t,n){var r=new No;return t=null==t?0:+t,r.restart((n=>{r.stop(),e(n+t)}),t,n),r}No.prototype=Lo.prototype={constructor:No,restart:function(e,t,n){if("function"!=typeof e)throw new TypeError("callback is not a function");n=(null==n?Ro():+n)+(null==t?0:+t),this._next||_o===this||(_o?_o._next=this:Ao=this,_o=this),this._call=e,this._time=n,zo()},stop:function(){this._call&&(this._call=null,this._time=1/0,zo())}};var Bo=gr("start","end","cancel","interrupt"),Ho=[],Vo=0,Wo=1,Uo=2,qo=3,Go=4,Yo=5,Xo=6;function Ko(e,t,n,r,o,i){var a=e.__transition;if(a){if(n in a)return}else e.__transition={};!function(e,t,n){var r,o=e.__transition;function i(e){n.state=Wo,n.timer.restart(a,n.delay,n.time),n.delay<=e&&a(e-n.delay)}function a(i){var c,u,d,p;if(n.state!==Wo)return l();for(c in o)if((p=o[c]).name===n.name){if(p.state===qo)return Fo(a);p.state===Go?(p.state=Xo,p.timer.stop(),p.on.call("interrupt",e,e.__data__,p.index,p.group),delete o[c]):+c<t&&(p.state=Xo,p.timer.stop(),p.on.call("cancel",e,e.__data__,p.index,p.group),delete o[c])}if(Fo((function(){n.state===qo&&(n.state=Go,n.timer.restart(s,n.delay,n.time),s(i))})),n.state=Uo,n.on.call("start",e,e.__data__,n.index,n.group),n.state===Uo){for(n.state=qo,r=new Array(d=n.tween.length),c=0,u=-1;c<d;++c)(p=n.tween[c].value.call(e,e.__data__,n.index,n.group))&&(r[++u]=p);r.length=u+1}}function s(t){for(var o=t<n.duration?n.ease.call(null,t/n.duration):(n.timer.restart(l),n.state=Yo,1),i=-1,a=r.length;++i<a;)r[i].call(e,o);n.state===Yo&&(n.on.call("end",e,e.__data__,n.index,n.group),l())}function l(){for(var r in n.state=Xo,n.timer.stop(),delete o[t],o)return;delete e.__transition}o[t]=n,n.timer=Lo(i,0,n.time)}(e,n,{name:t,index:r,group:o,on:Bo,tween:Ho,time:i.time,delay:i.delay,duration:i.duration,ease:i.ease,timer:null,state:Vo})}function Zo(e,t){var n=Qo(e,t);if(n.state>Vo)throw new Error("too late; already scheduled");return n}function Jo(e,t){var n=Qo(e,t);if(n.state>qo)throw new Error("too late; already running");return n}function Qo(e,t){var n=e.__transition;if(!n||!(n=n[t]))throw new Error("transition not found");return n}function ei(e,t){var n,r,o,i=e.__transition,a=!0;if(i){for(o in t=null==t?null:t+"",i)(n=i[o]).name===t?(r=n.state>Uo&&n.state<Yo,n.state=Xo,n.timer.stop(),n.on.call(r?"interrupt":"cancel",e,e.__data__,n.index,n.group),delete i[o]):a=!1;a&&delete e.__transition}}var ti,ni=180/Math.PI,ri={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function oi(e,t,n,r,o,i){var a,s,l;return(a=Math.sqrt(e*e+t*t))&&(e/=a,t/=a),(l=e*n+t*r)&&(n-=e*l,r-=t*l),(s=Math.sqrt(n*n+r*r))&&(n/=s,r/=s,l/=s),e*r<t*n&&(e=-e,t=-t,l=-l,a=-a),{translateX:o,translateY:i,rotate:Math.atan2(t,e)*ni,skewX:Math.atan(l)*ni,scaleX:a,scaleY:s}}function ii(e,t,n,r){function o(e){return e.length?e.pop()+" ":""}return function(i,a){var s=[],l=[];return i=e(i),a=e(a),function(e,r,o,i,a,s){if(e!==o||r!==i){var l=a.push("translate(",null,t,null,n);s.push({i:l-4,x:mo(e,o)},{i:l-2,x:mo(r,i)})}else(o||i)&&a.push("translate("+o+t+i+n)}(i.translateX,i.translateY,a.translateX,a.translateY,s,l),function(e,t,n,i){e!==t?(e-t>180?t+=360:t-e>180&&(e+=360),i.push({i:n.push(o(n)+"rotate(",null,r)-2,x:mo(e,t)})):t&&n.push(o(n)+"rotate("+t+r)}(i.rotate,a.rotate,s,l),function(e,t,n,i){e!==t?i.push({i:n.push(o(n)+"skewX(",null,r)-2,x:mo(e,t)}):t&&n.push(o(n)+"skewX("+t+r)}(i.skewX,a.skewX,s,l),function(e,t,n,r,i,a){if(e!==n||t!==r){var s=i.push(o(i)+"scale(",null,",",null,")");a.push({i:s-4,x:mo(e,n)},{i:s-2,x:mo(t,r)})}else 1===n&&1===r||i.push(o(i)+"scale("+n+","+r+")")}(i.scaleX,i.scaleY,a.scaleX,a.scaleY,s,l),i=a=null,function(e){for(var t,n=-1,r=l.length;++n<r;)s[(t=l[n]).i]=t.x(e);return s.join("")}}}var ai=ii((function(e){const t=new("function"==typeof DOMMatrix?DOMMatrix:WebKitCSSMatrix)(e+"");return t.isIdentity?ri:oi(t.a,t.b,t.c,t.d,t.e,t.f)}),"px, ","px)","deg)"),si=ii((function(e){return null==e?ri:(ti||(ti=document.createElementNS("http://www.w3.org/2000/svg","g")),ti.setAttribute("transform",e),(e=ti.transform.baseVal.consolidate())?oi((e=e.matrix).a,e.b,e.c,e.d,e.e,e.f):ri)}),", ",")",")");function li(e,t){var n,r;return function(){var o=Jo(this,e),i=o.tween;if(i!==n)for(var a=0,s=(r=n=i).length;a<s;++a)if(r[a].name===t){(r=r.slice()).splice(a,1);break}o.tween=r}}function ci(e,t,n){var r,o;if("function"!=typeof n)throw new Error;return function(){var i=Jo(this,e),a=i.tween;if(a!==r){o=(r=a).slice();for(var s={name:t,value:n},l=0,c=o.length;l<c;++l)if(o[l].name===t){o[l]=s;break}l===c&&o.push(s)}i.tween=o}}function ui(e,t,n){var r=e._id;return e.each((function(){var e=Jo(this,r);(e.value||(e.value={}))[t]=n.apply(this,arguments)})),function(e){return Qo(e,r).value[t]}}function di(e,t){var n;return("number"==typeof t?mo:t instanceof Br?lo:(n=Br(t))?(t=n,lo):bo)(e,t)}function pi(e){return function(){this.removeAttribute(e)}}function fi(e){return function(){this.removeAttributeNS(e.space,e.local)}}function hi(e,t,n){var r,o,i=n+"";return function(){var a=this.getAttribute(e);return a===i?null:a===r?o:o=t(r=a,n)}}function mi(e,t,n){var r,o,i=n+"";return function(){var a=this.getAttributeNS(e.space,e.local);return a===i?null:a===r?o:o=t(r=a,n)}}function gi(e,t,n){var r,o,i;return function(){var a,s,l=n(this);if(null!=l)return(a=this.getAttribute(e))===(s=l+"")?null:a===r&&s===o?i:(o=s,i=t(r=a,l));this.removeAttribute(e)}}function vi(e,t,n){var r,o,i;return function(){var a,s,l=n(this);if(null!=l)return(a=this.getAttributeNS(e.space,e.local))===(s=l+"")?null:a===r&&s===o?i:(o=s,i=t(r=a,l));this.removeAttributeNS(e.space,e.local)}}function yi(e,t){var n,r;function o(){var o=t.apply(this,arguments);return o!==r&&(n=(r=o)&&function(e,t){return function(n){this.setAttributeNS(e.space,e.local,t.call(this,n))}}(e,o)),n}return o._value=t,o}function bi(e,t){var n,r;function o(){var o=t.apply(this,arguments);return o!==r&&(n=(r=o)&&function(e,t){return function(n){this.setAttribute(e,t.call(this,n))}}(e,o)),n}return o._value=t,o}function xi(e,t){return function(){Zo(this,e).delay=+t.apply(this,arguments)}}function wi(e,t){return t=+t,function(){Zo(this,e).delay=t}}function Ai(e,t){return function(){Jo(this,e).duration=+t.apply(this,arguments)}}function _i(e,t){return t=+t,function(){Jo(this,e).duration=t}}var Si=ye.prototype.constructor;function ki(e){return function(){this.style.removeProperty(e)}}var Ci=0;function Ti(e,t,n,r){this._groups=e,this._parents=t,this._name=n,this._id=r}function Mi(e){return ye().transition(e)}function Pi(){return++Ci}var Oi=ye.prototype;Ti.prototype=Mi.prototype={constructor:Ti,select:function(e){var t=this._name,n=this._id;"function"!=typeof e&&(e=s(e));for(var r=this._groups,o=r.length,i=new Array(o),a=0;a<o;++a)for(var l,c,u=r[a],d=u.length,p=i[a]=new Array(d),f=0;f<d;++f)(l=u[f])&&(c=e.call(l,l.__data__,f,u))&&("__data__"in l&&(c.__data__=l.__data__),p[f]=c,Ko(p[f],t,n,f,p,Qo(l,n)));return new Ti(i,this._parents,t,n)},selectAll:function(e){var t=this._name,n=this._id;"function"!=typeof e&&(e=u(e));for(var r=this._groups,o=r.length,i=[],a=[],s=0;s<o;++s)for(var l,c=r[s],d=c.length,p=0;p<d;++p)if(l=c[p]){for(var f,h=e.call(l,l.__data__,p,c),m=Qo(l,n),g=0,v=h.length;g<v;++g)(f=h[g])&&Ko(f,t,n,g,h,m);i.push(h),a.push(l)}return new Ti(i,a,t,n)},selectChild:Oi.selectChild,selectChildren:Oi.selectChildren,filter:function(e){"function"!=typeof e&&(e=d(e));for(var t=this._groups,n=t.length,r=new Array(n),o=0;o<n;++o)for(var i,a=t[o],s=a.length,l=r[o]=[],c=0;c<s;++c)(i=a[c])&&e.call(i,i.__data__,c,a)&&l.push(i);return new Ti(r,this._parents,this._name,this._id)},merge:function(e){if(e._id!==this._id)throw new Error;for(var t=this._groups,n=e._groups,r=t.length,o=n.length,i=Math.min(r,o),a=new Array(r),s=0;s<i;++s)for(var l,c=t[s],u=n[s],d=c.length,p=a[s]=new Array(d),f=0;f<d;++f)(l=c[f]||u[f])&&(p[f]=l);for(;s<r;++s)a[s]=t[s];return new Ti(a,this._parents,this._name,this._id)},selection:function(){return new Si(this._groups,this._parents)},transition:function(){for(var e=this._name,t=this._id,n=Pi(),r=this._groups,o=r.length,i=0;i<o;++i)for(var a,s=r[i],l=s.length,c=0;c<l;++c)if(a=s[c]){var u=Qo(a,t);Ko(a,e,n,c,s,{time:u.time+u.delay+u.duration,delay:0,duration:u.duration,ease:u.ease})}return new Ti(r,this._parents,e,n)},call:Oi.call,nodes:Oi.nodes,node:Oi.node,size:Oi.size,empty:Oi.empty,each:Oi.each,on:function(e,t){var n=this._id;return arguments.length<2?Qo(this.node(),n).on.on(e):this.each(function(e,t,n){var r,o,i=function(e){return(e+"").trim().split(/^|\s+/).every((function(e){var t=e.indexOf(".");return t>=0&&(e=e.slice(0,t)),!e||"start"===e}))}(t)?Zo:Jo;return function(){var a=i(this,e),s=a.on;s!==r&&(o=(r=s).copy()).on(t,n),a.on=o}}(n,e,t))},attr:function(e,t){var n=C(e),r="transform"===n?si:di;return this.attrTween(e,"function"==typeof t?(n.local?vi:gi)(n,r,ui(this,"attr."+e,t)):null==t?(n.local?fi:pi)(n):(n.local?mi:hi)(n,r,t))},attrTween:function(e,t){var n="attr."+e;if(arguments.length<2)return(n=this.tween(n))&&n._value;if(null==t)return this.tween(n,null);if("function"!=typeof t)throw new Error;var r=C(e);return this.tween(n,(r.local?yi:bi)(r,t))},style:function(e,t,n){var r="transform"==(e+="")?ai:di;return null==t?this.styleTween(e,function(e,t){var n,r,o;return function(){var i=j(this,e),a=(this.style.removeProperty(e),j(this,e));return i===a?null:i===n&&a===r?o:o=t(n=i,r=a)}}(e,r)).on("end.style."+e,ki(e)):"function"==typeof t?this.styleTween(e,function(e,t,n){var r,o,i;return function(){var a=j(this,e),s=n(this),l=s+"";return null==s&&(this.style.removeProperty(e),l=s=j(this,e)),a===l?null:a===r&&l===o?i:(o=l,i=t(r=a,s))}}(e,r,ui(this,"style."+e,t))).each(function(e,t){var n,r,o,i,a="style."+t,s="end."+a;return function(){var l=Jo(this,e),c=l.on,u=null==l.value[a]?i||(i=ki(t)):void 0;c===n&&o===u||(r=(n=c).copy()).on(s,o=u),l.on=r}}(this._id,e)):this.styleTween(e,function(e,t,n){var r,o,i=n+"";return function(){var a=j(this,e);return a===i?null:a===r?o:o=t(r=a,n)}}(e,r,t),n).on("end.style."+e,null)},styleTween:function(e,t,n){var r="style."+(e+="");if(arguments.length<2)return(r=this.tween(r))&&r._value;if(null==t)return this.tween(r,null);if("function"!=typeof t)throw new Error;return this.tween(r,function(e,t,n){var r,o;function i(){var i=t.apply(this,arguments);return i!==o&&(r=(o=i)&&function(e,t,n){return function(r){this.style.setProperty(e,t.call(this,r),n)}}(e,i,n)),r}return i._value=t,i}(e,t,null==n?"":n))},text:function(e){return this.tween("text","function"==typeof e?function(e){return function(){var t=e(this);this.textContent=null==t?"":t}}(ui(this,"text",e)):function(e){return function(){this.textContent=e}}(null==e?"":e+""))},textTween:function(e){var t="text";if(arguments.length<1)return(t=this.tween(t))&&t._value;if(null==e)return this.tween(t,null);if("function"!=typeof e)throw new Error;return this.tween(t,function(e){var t,n;function r(){var r=e.apply(this,arguments);return r!==n&&(t=(n=r)&&function(e){return function(t){this.textContent=e.call(this,t)}}(r)),t}return r._value=e,r}(e))},remove:function(){return this.on("end.remove",function(e){return function(){var t=this.parentNode;for(var n in this.__transition)if(+n!==e)return;t&&t.removeChild(this)}}(this._id))},tween:function(e,t){var n=this._id;if(e+="",arguments.length<2){for(var r,o=Qo(this.node(),n).tween,i=0,a=o.length;i<a;++i)if((r=o[i]).name===e)return r.value;return null}return this.each((null==t?li:ci)(n,e,t))},delay:function(e){var t=this._id;return arguments.length?this.each(("function"==typeof e?xi:wi)(t,e)):Qo(this.node(),t).delay},duration:function(e){var t=this._id;return arguments.length?this.each(("function"==typeof e?Ai:_i)(t,e)):Qo(this.node(),t).duration},ease:function(e){var t=this._id;return arguments.length?this.each(function(e,t){if("function"!=typeof t)throw new Error;return function(){Jo(this,e).ease=t}}(t,e)):Qo(this.node(),t).ease},easeVarying:function(e){if("function"!=typeof e)throw new Error;return this.each(function(e,t){return function(){var n=t.apply(this,arguments);if("function"!=typeof n)throw new Error;Jo(this,e).ease=n}}(this._id,e))},end:function(){var e,t,n=this,r=n._id,o=n.size();return new Promise((function(i,a){var s={value:a},l={value:function(){0==--o&&i()}};n.each((function(){var n=Jo(this,r),o=n.on;o!==e&&((t=(e=o).copy())._.cancel.push(s),t._.interrupt.push(s),t._.end.push(l)),n.on=t})),0===o&&i()}))},[Symbol.iterator]:Oi[Symbol.iterator]};var Ei={time:null,delay:0,duration:250,ease:function(e){return((e*=2)<=1?e*e*e:(e-=2)*e*e+2)/2}};function Di(e,t){for(var n;!(n=e.__transition)||!(n=n[t]);)if(!(e=e.parentNode))throw new Error(`transition ${t} not found`);return n}ye.prototype.interrupt=function(e){return this.each((function(){ei(this,e)}))},ye.prototype.transition=function(e){var t,n;e instanceof Ti?(t=e._id,e=e._name):(t=Pi(),(n=Ei).time=Ro(),e=null==e?null:e+"");for(var r=this._groups,o=r.length,i=0;i<o;++i)for(var a,s=r[i],l=s.length,c=0;c<l;++c)(a=s[c])&&Ko(a,e,t,c,s,n||Di(a,t));return new Ti(r,this._parents,e,t)};var Ri=e=>()=>e;function Ii(e,{sourceEvent:t,target:n,selection:r,mode:o,dispatch:i}){Object.defineProperties(this,{type:{value:e,enumerable:!0,configurable:!0},sourceEvent:{value:t,enumerable:!0,configurable:!0},target:{value:n,enumerable:!0,configurable:!0},selection:{value:r,enumerable:!0,configurable:!0},mode:{value:o,enumerable:!0,configurable:!0},_:{value:i}})}function Ni(e){e.preventDefault(),e.stopImmediatePropagation()}var Li={name:"drag"},ji={name:"space"},$i={name:"handle"},zi={name:"center"};const{abs:Fi,max:Bi,min:Hi}=Math;function Vi(e){return[+e[0],+e[1]]}function Wi(e){return[Vi(e[0]),Vi(e[1])]}var Ui={name:"x",handles:["w","e"].map(Ji),input:function(e,t){return null==e?null:[[+e[0],t[0][1]],[+e[1],t[1][1]]]},output:function(e){return e&&[e[0][0],e[1][0]]}},qi={name:"y",handles:["n","s"].map(Ji),input:function(e,t){return null==e?null:[[t[0][0],+e[0]],[t[1][0],+e[1]]]},output:function(e){return e&&[e[0][1],e[1][1]]}},Gi=(["n","w","e","s","nw","ne","sw","se"].map(Ji),{overlay:"crosshair",selection:"move",n:"ns-resize",e:"ew-resize",s:"ns-resize",w:"ew-resize",nw:"nwse-resize",ne:"nesw-resize",se:"nwse-resize",sw:"nesw-resize"}),Yi={e:"w",w:"e",nw:"ne",ne:"nw",se:"sw",sw:"se"},Xi={n:"s",s:"n",nw:"sw",ne:"se",se:"ne",sw:"nw"},Ki={overlay:1,selection:1,n:null,e:1,s:null,w:-1,nw:-1,ne:1,se:1,sw:-1},Zi={overlay:1,selection:1,n:-1,e:null,s:1,w:null,nw:-1,ne:-1,se:1,sw:1};function Ji(e){return{type:e}}function Qi(e){return!e.ctrlKey&&!e.button}function ea(){var e=this.ownerSVGElement||this;return e.hasAttribute("viewBox")?[[(e=e.viewBox.baseVal).x,e.y],[e.x+e.width,e.y+e.height]]:[[0,0],[e.width.baseVal.value,e.height.baseVal.value]]}function ta(){return navigator.maxTouchPoints||"ontouchstart"in this}function na(e){for(;!e.__brush;)if(!(e=e.parentNode))return;return e.__brush}function ra(e){var t=e.__brush;return t?t.dim.output(t.selection):null}function oa(e){var t,n=ea,r=Qi,o=ta,i=!0,a=gr("start","brush","end"),s=6;function l(t){var n=t.property("__brush",m).selectAll(".overlay").data([Ji("overlay")]);n.enter().append("rect").attr("class","overlay").attr("pointer-events","all").attr("cursor",Gi.overlay).merge(n).each((function(){var e=na(this).extent;be(this).attr("x",e[0][0]).attr("y",e[0][1]).attr("width",e[1][0]-e[0][0]).attr("height",e[1][1]-e[0][1])})),t.selectAll(".selection").data([Ji("selection")]).enter().append("rect").attr("class","selection").attr("cursor",Gi.selection).attr("fill","#777").attr("fill-opacity",.3).attr("stroke","#fff").attr("shape-rendering","crispEdges");var r=t.selectAll(".handle").data(e.handles,(function(e){return e.type}));r.exit().remove(),r.enter().append("rect").attr("class",(function(e){return"handle handle--"+e.type})).attr("cursor",(function(e){return Gi[e.type]})),t.each(c).attr("fill","none").attr("pointer-events","all").on("mousedown.brush",p).filter(o).on("touchstart.brush",p).on("touchmove.brush",f).on("touchend.brush touchcancel.brush",h).style("touch-action","none").style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function c(){var e=be(this),t=na(this).selection;t?(e.selectAll(".selection").style("display",null).attr("x",t[0][0]).attr("y",t[0][1]).attr("width",t[1][0]-t[0][0]).attr("height",t[1][1]-t[0][1]),e.selectAll(".handle").style("display",null).attr("x",(function(e){return"e"===e.type[e.type.length-1]?t[1][0]-s/2:t[0][0]-s/2})).attr("y",(function(e){return"s"===e.type[0]?t[1][1]-s/2:t[0][1]-s/2})).attr("width",(function(e){return"n"===e.type||"s"===e.type?t[1][0]-t[0][0]+s:s})).attr("height",(function(e){return"e"===e.type||"w"===e.type?t[1][1]-t[0][1]+s:s}))):e.selectAll(".selection,.handle").style("display","none").attr("x",null).attr("y",null).attr("width",null).attr("height",null)}function u(e,t,n){var r=e.__brush.emitter;return!r||n&&r.clean?new d(e,t,n):r}function d(e,t,n){this.that=e,this.args=t,this.state=e.__brush,this.active=0,this.clean=n}function p(n){if((!t||n.touches)&&r.apply(this,arguments)){var o,a,s,l,d,p,f,h,m,g,v,y=this,b=n.target.__data__.type,x="selection"===(i&&n.metaKey?b="overlay":b)?Li:i&&n.altKey?zi:$i,w=e===qi?null:Ki[b],A=e===Ui?null:Zi[b],_=na(y),S=_.extent,k=_.selection,C=S[0][0],T=S[0][1],M=S[1][0],P=S[1][1],O=0,E=0,D=w&&A&&i&&n.shiftKey,R=Array.from(n.touches||[n],(e=>{const t=e.identifier;return(e=wo(e,y)).point0=e.slice(),e.identifier=t,e}));ei(y);var I=u(y,arguments,!0).beforestart();if("overlay"===b){k&&(m=!0);const t=[R[0],R[1]||R[0]];_.selection=k=[[o=e===qi?C:Hi(t[0][0],t[1][0]),s=e===Ui?T:Hi(t[0][1],t[1][1])],[d=e===qi?M:Bi(t[0][0],t[1][0]),f=e===Ui?P:Bi(t[0][1],t[1][1])]],R.length>1&&z(n)}else o=k[0][0],s=k[0][1],d=k[1][0],f=k[1][1];a=o,l=s,p=d,h=f;var N=be(y).attr("pointer-events","none"),L=N.selectAll(".overlay").attr("cursor",Gi[b]);if(n.touches)I.moved=$,I.ended=F;else{var j=be(n.view).on("mousemove.brush",$,!0).on("mouseup.brush",F,!0);i&&j.on("keydown.brush",(function(e){switch(e.keyCode){case 16:D=w&&A;break;case 18:x===$i&&(w&&(d=p-O*w,o=a+O*w),A&&(f=h-E*A,s=l+E*A),x=zi,z(e));break;case 32:x!==$i&&x!==zi||(w<0?d=p-O:w>0&&(o=a-O),A<0?f=h-E:A>0&&(s=l-E),x=ji,L.attr("cursor",Gi.selection),z(e));break;default:return}Ni(e)}),!0).on("keyup.brush",(function(e){switch(e.keyCode){case 16:D&&(g=v=D=!1,z(e));break;case 18:x===zi&&(w<0?d=p:w>0&&(o=a),A<0?f=h:A>0&&(s=l),x=$i,z(e));break;case 32:x===ji&&(e.altKey?(w&&(d=p-O*w,o=a+O*w),A&&(f=h-E*A,s=l+E*A),x=zi):(w<0?d=p:w>0&&(o=a),A<0?f=h:A>0&&(s=l),x=$i),L.attr("cursor",Gi[b]),z(e));break;default:return}Ni(e)}),!0),wr(n.view)}c.call(y),I.start(n,x.name)}function $(e){for(const t of e.changedTouches||[e])for(const e of R)e.identifier===t.identifier&&(e.cur=wo(t,y));if(D&&!g&&!v&&1===R.length){const e=R[0];Fi(e.cur[0]-e[0])>Fi(e.cur[1]-e[1])?v=!0:g=!0}for(const e of R)e.cur&&(e[0]=e.cur[0],e[1]=e.cur[1]);m=!0,Ni(e),z(e)}function z(e){const t=R[0],n=t.point0;var r;switch(O=t[0]-n[0],E=t[1]-n[1],x){case ji:case Li:w&&(O=Bi(C-o,Hi(M-d,O)),a=o+O,p=d+O),A&&(E=Bi(T-s,Hi(P-f,E)),l=s+E,h=f+E);break;case $i:R[1]?(w&&(a=Bi(C,Hi(M,R[0][0])),p=Bi(C,Hi(M,R[1][0])),w=1),A&&(l=Bi(T,Hi(P,R[0][1])),h=Bi(T,Hi(P,R[1][1])),A=1)):(w<0?(O=Bi(C-o,Hi(M-o,O)),a=o+O,p=d):w>0&&(O=Bi(C-d,Hi(M-d,O)),a=o,p=d+O),A<0?(E=Bi(T-s,Hi(P-s,E)),l=s+E,h=f):A>0&&(E=Bi(T-f,Hi(P-f,E)),l=s,h=f+E));break;case zi:w&&(a=Bi(C,Hi(M,o-O*w)),p=Bi(C,Hi(M,d+O*w))),A&&(l=Bi(T,Hi(P,s-E*A)),h=Bi(T,Hi(P,f+E*A)))}p<a&&(w*=-1,r=o,o=d,d=r,r=a,a=p,p=r,b in Yi&&L.attr("cursor",Gi[b=Yi[b]])),h<l&&(A*=-1,r=s,s=f,f=r,r=l,l=h,h=r,b in Xi&&L.attr("cursor",Gi[b=Xi[b]])),_.selection&&(k=_.selection),g&&(a=k[0][0],p=k[1][0]),v&&(l=k[0][1],h=k[1][1]),k[0][0]===a&&k[0][1]===l&&k[1][0]===p&&k[1][1]===h||(_.selection=[[a,l],[p,h]],c.call(y),I.brush(e,x.name))}function F(e){if(function(e){e.stopImmediatePropagation()}(e),e.touches){if(e.touches.length)return;t&&clearTimeout(t),t=setTimeout((function(){t=null}),500)}else Ar(e.view,m),j.on("keydown.brush keyup.brush mousemove.brush mouseup.brush",null);N.attr("pointer-events","all"),L.attr("cursor",Gi.overlay),_.selection&&(k=_.selection),function(e){return e[0][0]===e[1][0]||e[0][1]===e[1][1]}(k)&&(_.selection=null,c.call(y)),I.end(e,x.name)}}function f(e){u(this,arguments).moved(e)}function h(e){u(this,arguments).ended(e)}function m(){var t=this.__brush||{selection:null};return t.extent=Wi(n.apply(this,arguments)),t.dim=e,t}return l.move=function(t,n,r){t.tween?t.on("start.brush",(function(e){u(this,arguments).beforestart().start(e)})).on("interrupt.brush end.brush",(function(e){u(this,arguments).end(e)})).tween("brush",(function(){var t=this,r=t.__brush,o=u(t,arguments),i=r.selection,a=e.input("function"==typeof n?n.apply(this,arguments):n,r.extent),s=xo(i,a);function l(e){r.selection=1===e&&null===a?null:s(e),c.call(t),o.brush()}return null!==i&&null!==a?l:l(1)})):t.each((function(){var t=this,o=arguments,i=t.__brush,a=e.input("function"==typeof n?n.apply(t,o):n,i.extent),s=u(t,o).beforestart();ei(t),i.selection=null===a?null:a,c.call(t),s.start(r).brush(r).end(r)}))},l.clear=function(e,t){l.move(e,null,t)},d.prototype={beforestart:function(){return 1==++this.active&&(this.state.emitter=this,this.starting=!0),this},start:function(e,t){return this.starting?(this.starting=!1,this.emit("start",e,t)):this.emit("brush",e),this},brush:function(e,t){return this.emit("brush",e,t),this},end:function(e,t){return 0==--this.active&&(delete this.state.emitter,this.emit("end",e,t)),this},emit:function(t,n,r){var o=be(this.that).datum();a.call(t,this.that,new Ii(t,{sourceEvent:n,target:l,selection:e.output(this.state.selection),mode:r,dispatch:a}),o)}},l.extent=function(e){return arguments.length?(n="function"==typeof e?e:Ri(Wi(e)),l):n},l.filter=function(e){return arguments.length?(r="function"==typeof e?e:Ri(!!e),l):r},l.touchable=function(e){return arguments.length?(o="function"==typeof e?e:Ri(!!e),l):o},l.handleSize=function(e){return arguments.length?(s=+e,l):s},l.keyModifiers=function(e){return arguments.length?(i=!!e,l):i},l.on=function(){var e=a.on.apply(a,arguments);return e===a?l:e},l}const ia="object"==typeof globalThis&&null!==globalThis&&globalThis.Object===Object&&globalThis||"object"==typeof n.g&&null!==n.g&&n.g.Object===Object&&n.g||"object"==typeof self&&null!==self&&self.Object===Object&&self||Function("return this")(),aa=null==ia?void 0:ia.document,[sa,la,ca,ua]=function(e){const t="function"==typeof(null==e?void 0:e.requestAnimationFrame)&&"function"==typeof(null==e?void 0:e.cancelAnimationFrame),n="function"==typeof(null==e?void 0:e.requestIdleCallback)&&"function"==typeof(null==e?void 0:e.cancelIdleCallback),r=e=>setTimeout(e,1),o=e=>clearTimeout(e);return[t?e.requestAnimationFrame:r,t?e.cancelAnimationFrame:o,n?e.requestIdleCallback:r,n?e.cancelIdleCallback:o]}(ia);var da=Object.defineProperty,pa=Object.getOwnPropertySymbols,fa=Object.prototype.hasOwnProperty,ha=Object.prototype.propertyIsEnumerable,ma=(e,t,n)=>t in e?da(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,ga=(e,t)=>{for(var n in t||(t={}))fa.call(t,n)&&ma(e,n,t[n]);if(pa)for(var n of pa(t))ha.call(t,n)&&ma(e,n,t[n]);return e};const va=e=>e||0===e,ya=e=>"function"==typeof e,ba=e=>"string"==typeof e,xa=e=>"number"==typeof e,wa=e=>void 0===e,Aa=e=>void 0!==e,_a=e=>"boolean"==typeof e,Sa=e=>Math.ceil(e)+.5,ka=e=>e[1]-e[0],Ca=e=>"object"==typeof e,Ta=e=>wa(e)||null===e||ba(e)&&0===e.length||Ca(e)&&!(e instanceof Date)&&0===Object.keys(e).length||xa(e)&&isNaN(e),Ma=e=>!Ta(e),Pa=e=>Array.isArray(e),Oa=e=>e&&!(null==e?void 0:e.nodeType)&&Ca(e)&&!Pa(e);function Ea(e,t,n){return Aa(e[t])?e[t]:n}function Da(e,t,...n){const r=ya(e);return r&&e.call(t,...n),r}function Ra(e,t){let n=0;const r=function(...e){! --n&&t.apply(this,...e)};"duration"in e?e.each((()=>++n)).on("end",r):(++n,e.call(r))}function Ia(e){return ba(e)?e.replace(/<(script|img)?/gi,"<").replace(/(script)?>/gi,">"):e}function Na(e,t,n=[-1,1],r=!1){if(e&&ba(t))if(-1===t.indexOf("\n"))e.text(t);else{const o=[e.text(),t].map((e=>e.replace(/[\s\n]/g,"")));if(o[0]!==o[1]){const o=t.split("\n"),i=r?o.length-1:1;e.html(""),o.forEach(((t,r)=>{e.append("tspan").attr("x",0).attr("dy",`${0===r?n[0]*i:n[1]}em`).text(t)}))}}}function La(e){const{x:t,y:n,width:r,height:o}=e.getBBox();return[{x:t,y:n+o},{x:t,y:n},{x:t+r,y:n},{x:t+r,y:n+o}]}function ja(e){const{width:t,height:n}=e.getBoundingClientRect(),r=La(e);return{x:r[0].x,y:Math.min(r[0].y,r[1].y),width:t,height:n}}function $a(e,t){var n;const r=e&&(null==(n=e.touches||e.sourceEvent&&e.sourceEvent.touches)?void 0:n[0]);let o=[0,0];try{o=wo(r||e,t)}catch(e){}return o.map((e=>isNaN(e)?0:e))}function za(e){const{event:t,$el:n}=e,r=n.subchart.main||n.main;let o;return t&&"brush"===t.type?o=t.selection:r&&(o=r.select(".bb-brush").node())&&(o=ra(o)),o}function Fa(e){return!("rect"in e)||"rect"in e&&e.hasAttribute("width")&&e.rect.width!==+e.getAttribute("width")?e.rect=e.getBoundingClientRect():e.rect}function Ba(e=!0,t=0,n=1e4){const r=ia.crypto||ia.msCrypto,o=r?t+r.getRandomValues(new Uint32Array(1))[0]%(n-t+1):Math.floor(Math.random()*(n-t)+t);return e?String(o):o}function Ha(e,t,n,r,o){if(n>r)return-1;const i=Math.floor((n+r)/2);let{x:a,w:s=0}=e[i];return o&&(a=e[i].y,s=e[i].h),t>=a&&t<=a+s?i:t<a?Ha(e,t,n,i-1,o):Ha(e,t,i+1,r,o)}function Va(e){const t=za(e);return!t||t[0]===t[1]}function Wa(e={},t){Pa(t)&&t.forEach((t=>Wa(e,t)));for(const n in t)/^\d+$/.test(n)||n in e||(e[n]=t[n]);return e}const Ua=e=>e.charAt(0).toUpperCase()+e.slice(1),qa=e=>[].slice.call(e);function Ga(e){var t,n,r,o;return{x:(null!=(n=null!=(t=ia.pageXOffset)?t:ia.scrollX)?n:0)+e.scrollLeft,y:(null!=(o=null!=(r=ia.pageYOffset)?r:ia.scrollY)?o:0)+e.scrollTop}}function Ya(e){const t=e?e.transform:null,n=t&&t.baseVal;return n&&n.numberOfItems?n.getItem(0).matrix:{a:0,b:0,c:0,d:0,e:0,f:0}}function Xa(e){const t=e[0]instanceof Date,n=(t?e.map(Number):e).filter(((e,t,n)=>n.indexOf(e)===t));return t?n.map((e=>new Date(e))):n}function Ka(e){return e&&e.length?e.reduce(((e,t)=>e.concat(t))):[]}function Za(e,...t){if(!t.length||1===t.length&&!t[0])return e;const n=t.shift();return Oa(e)&&Oa(n)&&Object.keys(n).forEach((t=>{const r=n[t];Oa(r)?(!e[t]&&(e[t]={}),e[t]=Za(e[t],r)):e[t]=Pa(r)?r.concat():r})),Za(e,...t)}function Ja(e,t=!0){let n;return e[0]instanceof Date?n=t?(e,t)=>e-t:(e,t)=>t-e:t&&!e.every(isNaN)?n=(e,t)=>e-t:t||(n=(e,t)=>(e>t?-1:e<t&&1)||e===t&&0),e.concat().sort(n)}function Qa(e,t){let n=t.filter((e=>Ma(e)));return n.length?xa(n[0])?n=Math[e](...n):n[0]instanceof Date&&(n=Ja(n,"min"===e)[0]):n=void 0,n}const es=(e,t,n=1)=>{const r=[],o=0|Math.max(0,Math.ceil((t-e)/n));for(let t=e;t<o;t++)r.push(e+t*n);return r},ts={mouse:(()=>{try{return new MouseEvent("t"),(e,t,n={bubbles:!1,cancelable:!1,screenX:0,screenY:0,clientX:0,clientY:0})=>{e.dispatchEvent(new MouseEvent(t,n))}}catch(e){return(e,t,n={bubbles:!1,cancelable:!1,screenX:0,screenY:0,clientX:0,clientY:0})=>{const r=aa.createEvent("MouseEvent");r.initMouseEvent(t,n.bubbles,n.cancelable,ia,0,n.screenX,n.screenY,n.clientX,n.clientY,!1,!1,!1,!1,0,null),e.dispatchEvent(r)}}})(),touch:(e,t,n)=>{const r=new Touch(Za({identifier:Date.now(),target:e,radiusX:2.5,radiusY:2.5,rotationAngle:10,force:.5},n));e.dispatchEvent(new TouchEvent(t,{cancelable:!0,bubbles:!0,shiftKey:!0,touches:[r],targetTouches:[],changedTouches:[r]}))}};function ns(e,t){let n=e;for(const e in t)n=n.replace(new RegExp(`{=${e}}`,"g"),t[e]);return n}function rs(e){var t;let n;if(e instanceof Date)n=e;else if(ba(e)){const{config:r,format:o}=this;n=null!=(t=o.dataTime(r.data_xFormat)(e))?t:new Date(e)}else xa(e)&&!isNaN(e)&&(n=new Date(+e));return n&&!isNaN(+n)||console&&console.error&&console.error(`Failed to parse x '${e}' to Date object`),n}function os(){var e,t;return!1===(null==(e=aa)?void 0:e.hidden)||"visible"===(null==(t=aa)?void 0:t.visibilityState)}function is(e,t){!1===t()?sa((()=>is(e,t))):e()}var as=Object.defineProperty,ss=Object.getOwnPropertySymbols,ls=Object.prototype.hasOwnProperty,cs=Object.prototype.propertyIsEnumerable,us=(e,t,n)=>t in e?as(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,ds=(e,t)=>{for(var n in t||(t={}))ls.call(t,n)&&us(e,n,t[n]);if(ss)for(var n of ss(t))cs.call(t,n)&&us(e,n,t[n]);return e};const ps=class e{static setOptions(e){this.data=e.reduce(((e,t)=>ds(ds({},e),t)),this.data)}constructor(){return function(...e){const t=e=>{if(Oa(e)&&e.constructor){const n=new e.constructor;for(const r in e)n[r]=t(e[r]);return n}return e};return e.map((e=>t(e))).reduce(((e,t)=>ga(ga({},e),t)))}(ar,rr,cr,or,ur,ir,sr,lr,e.data)}};((e,t,n)=>{us(e,"symbol"!=typeof t?t+"":t,n)})(ps,"data",{});let fs=ps;const hs={element:class{constructor(){return{chart:null,main:null,svg:null,axis:{x:null,y:null,y2:null,subX:null},axisTooltip:{x:null,y:null,y2:null},defs:null,tooltip:null,legend:null,title:null,subchart:{main:null,bar:null,line:null,area:null},arcs:null,bar:null,candlestick:null,line:null,area:null,circle:null,radar:null,text:null,grid:{main:null,x:null,y:null},gridLines:{main:null,x:null,y:null},region:{main:null,list:null},eventRect:null,zoomResetBtn:null}}},state:class{constructor(){return{width:0,width2:0,height:0,height2:0,margin:{top:0,bottom:0,left:0,right:0},margin2:{top:0,bottom:0,left:0,right:0},margin3:{top:0,bottom:0,left:0,right:0},arcWidth:0,arcHeight:0,xAxisHeight:0,hasAxis:!1,hasFunnel:!1,hasRadar:!1,hasTreemap:!1,cssRule:{},current:{domain:void 0,width:0,height:0,dataMax:0,maxTickSize:{x:{width:0,height:0,ticks:[],clipPath:0,domain:""},y:{width:0,height:0,domain:""},y2:{width:0,height:0,domain:""}},types:[],needle:void 0},isLegendRight:!1,isLegendInset:!1,isLegendTop:!1,isLegendLeft:!1,legendStep:0,legendItemWidth:0,legendItemHeight:0,legendHasRendered:!1,eventReceiver:{currentIdx:-1,rect:{},data:[],coords:[]},axis:{x:{padding:{left:0,right:0},tickCount:0}},rotatedPadding:{left:30,right:0,top:5},withoutFadeIn:{},inputType:"",datetimeId:"",clip:{id:"",idXAxis:"",idYAxis:"",idXAxisTickTexts:"",idGrid:"",idSubchart:"",path:"",pathXAxis:"",pathYAxis:"",pathXAxisTickTexts:"",pathGrid:""},event:null,dragStart:null,dragging:!1,flowing:!1,cancelClick:!1,mouseover:!1,rendered:!1,transiting:!1,redrawing:!1,resizing:!1,toggling:!1,zooming:!1,hasNegativeValue:!1,hasPositiveValue:!0,orgAreaOpacity:"0.2",orgConfig:{},hiddenTargetIds:[],hiddenLegendIds:[],focusedTargetIds:[],defocusedTargetIds:[],radius:0,innerRadius:0,outerRadius:void 0,innerRadiusRatio:0,gaugeArcWidth:0,radiusExpanded:0,xgridAttr:{x1:null,x2:null,y1:null,y2:null}}}}};class ms{constructor(){Object.keys(hs).forEach((e=>{this[e]=new hs[e]}))}getStore(e){return this[e]}}var gs=Object.defineProperty,vs=(e,t,n)=>(((e,t,n)=>{t in e?gs(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n})(e,"symbol"!=typeof t?t+"":t,n),n);const ys="$baseLength",bs="__colorPattern__",xs="$dataMinMax",ws="$dataTotalSum",As="$totalPerIndex",_s="legendItemTextBox",Ss="$radarPoints",ks="$radarTextWidth",Cs="setOverOut",Ts="callOverOutForTouch",Ms="textRect";class Ps{constructor(){vs(this,"cache",{})}add(e,t,n=!1){return this.cache[e]=n?this.cloneTarget(t):t,this.cache[e]}remove(e){(ba(e)?[e]:e).forEach((e=>delete this.cache[e]))}get(e,t=!1){if(t&&Array.isArray(e)){const t=[];for(let n,r=0;n=e[r];r++)n in this.cache&&t.push(this.cloneTarget(this.cache[n]));return t}{const t=this.cache[e];return va(t)?t:null}}reset(e){const t=this;for(const n in t.cache)(e||/^\$/.test(n))&&(t.cache[n]=null)}cloneTarget(e){return{id:e.id,id_org:e.id_org,values:e.values.map((e=>({x:e.x,value:e.value,id:e.id})))}}}const Os={AREA:"area",AREA_LINE_RANGE:"area-line-range",AREA_SPLINE:"area-spline",AREA_SPLINE_RANGE:"area-spline-range",AREA_STEP:"area-step",BAR:"bar",BUBBLE:"bubble",CANDLESTICK:"candlestick",DONUT:"donut",FUNNEL:"funnel",GAUGE:"gauge",LINE:"line",PIE:"pie",POLAR:"polar",RADAR:"radar",SCATTER:"scatter",SPLINE:"spline",STEP:"step",TREEMAP:"treemap"},Es={AREA:"initArea",AREA_LINE_RANGE:"initArea",AREA_SPLINE:"initArea",AREA_SPLINE_RANGE:"initArea",AREA_STEP:"initArea",BAR:"initBar",BUBBLE:"initCircle",CANDLESTICK:"initCandlestick",DONUT:"initArc",FUNNEL:"initFunnel",GAUGE:"initArc",LINE:"initLine",PIE:"initArc",POLAR:"initPolar",RADAR:"initCircle",SCATTER:"initCircle",SPLINE:"initLine",STEP:"initLine",TREEMAP:"initTreemap"},Ds={Area:[Os.AREA,Os.AREA_SPLINE,Os.AREA_SPLINE_RANGE,Os.AREA_LINE_RANGE,Os.AREA_STEP],AreaRange:[Os.AREA_SPLINE_RANGE,Os.AREA_LINE_RANGE],Arc:[Os.PIE,Os.DONUT,Os.GAUGE,Os.POLAR,Os.RADAR],Line:[Os.LINE,Os.SPLINE,Os.AREA,Os.AREA_SPLINE,Os.AREA_SPLINE_RANGE,Os.AREA_LINE_RANGE,Os.STEP,Os.AREA_STEP],Step:[Os.STEP,Os.AREA_STEP],Spline:[Os.SPLINE,Os.AREA_SPLINE,Os.AREA_SPLINE_RANGE]};function Rs(e){const t=e,{config:n}=t;let r="";if(Ta(n.data_type||n.data_types)&&!t[Es.LINE])r="line";else for(const e in Es){const n=Os[e];if(t.hasType(n)&&!t[Es[e]]){r=n;break}}r&&function(e,t){var n;const r="[billboard.js]",o="https://github.com/naver/billboard.js/wiki/CHANGELOG-v2#modularization-by-its-functionality";throw(null==(n=ia.console)?void 0:n.error)&&(console.error(`⌠${r} ${e}`,"background:red;color:white;display:block;font-size:15px",t),console.info("%cℹï¸","font-size:15px",o)),Error(`${r} ${e.replace(/\%c([a-z-]+)/i,"'$1' ")} ${t}`)}(`Please, make sure if %c${function(e,t="-"){return e.split(t).map(((e,t)=>t?e.charAt(0).toUpperCase()+e.slice(1).toLowerCase():e.toLowerCase())).join("")}(r)}`,"module has been imported and specified correctly.")}const{setTimeout:Is,clearTimeout:Ns}=ia;function Ls(){let e=[];const t=function(t,n){is((()=>{null==n||n()}),(function(){var t;let n=0;for(let r,o=0;r=e[o];o++)if(!0===r||(null==(t=r.empty)?void 0:t.call(r)))n++;else{if(!1===os()){n=e.length;break}try{r.transition()}catch(e){n++}}return n===e.length}))};return t.add=function(t){Pa(t)?e=e.concat(t):e.push(t)},t}const js={};function $s(e=!0,t,n,r){let o=function(...e){const r=t(...e);n(r)};if(ia.Worker&&e){const e=function(e,t){var n;const r=e.toString(),o=r.replace(/(function|[\s\W\n])/g,"").substring(0,15);return o in js||(js[o]=new ia.Blob([`${null!=(n=null==t?void 0:t.map(String).join(";"))?n:""}\n\n\t\t\tself.onmessage=function({data}) {\n\t\t\t\tconst result = (${r}).apply(null, data);\n\t\t\t\tself.postMessage(result);\n\t\t\t};`],{type:"text/javascript"})),ia.URL.createObjectURL(js[o])}(t,r),i=function(e){const t=new ia.Worker(e);return t.onerror=function(e){console.error?console.error(e):console.log(e)},t}(e);o=function(...t){i.postMessage(t),i.onmessage=function(t){return ia.URL.revokeObjectURL(e),n(t.data)}}}return o}var zs={},Fs={};function Bs(e){return new Function("d","return {"+e.map((function(e,t){return JSON.stringify(e)+": d["+t+'] || ""'})).join(",")+"}")}function Hs(e){var t=Object.create(null),n=[];return e.forEach((function(e){for(var r in e)r in t||n.push(t[r]=r)})),n}function Vs(e,t){var n=e+"",r=n.length;return r<t?new Array(t-r+1).join(0)+n:n}function Ws(e){var t,n=e.getUTCHours(),r=e.getUTCMinutes(),o=e.getUTCSeconds(),i=e.getUTCMilliseconds();return isNaN(e)?"Invalid Date":((t=e.getUTCFullYear())<0?"-"+Vs(-t,6):t>9999?"+"+Vs(t,6):Vs(t,4))+"-"+Vs(e.getUTCMonth()+1,2)+"-"+Vs(e.getUTCDate(),2)+(i?"T"+Vs(n,2)+":"+Vs(r,2)+":"+Vs(o,2)+"."+Vs(i,3)+"Z":o?"T"+Vs(n,2)+":"+Vs(r,2)+":"+Vs(o,2)+"Z":r||n?"T"+Vs(n,2)+":"+Vs(r,2)+"Z":"")}function Us(e){var t=new RegExp('["'+e+"\n\r]"),n=e.charCodeAt(0);function r(e,t){var r,o=[],i=e.length,a=0,s=0,l=i<=0,c=!1;function u(){if(l)return Fs;if(c)return c=!1,zs;var t,r,o=a;if(34===e.charCodeAt(o)){for(;a++<i&&34!==e.charCodeAt(a)||34===e.charCodeAt(++a););return(t=a)>=i?l=!0:10===(r=e.charCodeAt(a++))?c=!0:13===r&&(c=!0,10===e.charCodeAt(a)&&++a),e.slice(o+1,t-1).replace(/""/g,'"')}for(;a<i;){if(10===(r=e.charCodeAt(t=a++)))c=!0;else if(13===r)c=!0,10===e.charCodeAt(a)&&++a;else if(r!==n)continue;return e.slice(o,t)}return l=!0,e.slice(o,i)}for(10===e.charCodeAt(i-1)&&--i,13===e.charCodeAt(i-1)&&--i;(r=u())!==Fs;){for(var d=[];r!==zs&&r!==Fs;)d.push(r),r=u();t&&null==(d=t(d,s++))||o.push(d)}return o}function o(t,n){return t.map((function(t){return n.map((function(e){return a(t[e])})).join(e)}))}function i(t){return t.map(a).join(e)}function a(e){return null==e?"":e instanceof Date?Ws(e):t.test(e+="")?'"'+e.replace(/"/g,'""')+'"':e}return{parse:function(e,t){var n,o,i=r(e,(function(e,r){if(n)return n(e,r-1);o=e,n=t?function(e,t){var n=Bs(e);return function(r,o){return t(n(r),o,e)}}(e,t):Bs(e)}));return i.columns=o||[],i},parseRows:r,format:function(t,n){return null==n&&(n=Hs(t)),[n.map(a).join(e)].concat(o(t,n)).join("\n")},formatBody:function(e,t){return null==t&&(t=Hs(e)),o(e,t).join("\n")},formatRows:function(e){return e.map(i).join("\n")},formatRow:i,formatValue:a}}var qs=Us(","),Gs=qs.parse,Ys=qs.parseRows,Xs=(qs.format,qs.formatBody,qs.formatRows,qs.formatRow,qs.formatValue,Us("\t")),Ks=Xs.parse,Zs=Xs.parseRows;function Js(e){const t=[];return e.forEach((function(e,n){const r=e[0];e.forEach((function(e,o){if(o>0){if(void 0===t[o-1]&&(t[o-1]={}),void 0===e)throw new Error(`Source data is missing a component at (${n}, ${o})!`);t[o-1][r]=e}}))})),t}function Qs(e){const t=e[0],n=[];return e.forEach((function(e,r){if(r>0){const o={};e.forEach((function(e,n){if(void 0===e)throw new Error(`Source data is missing a component at (${r}, ${n})!`);o[t[n]]=e})),n.push(o)}})),n}function el(e,t){const n=[];let r,o;if(Array.isArray(e)){const i=function(e,t){if(void 0!==e[t])return e[t];const n=t.replace(/\[(\w+)\]/g,".$1").replace(/^\./,"").split(".");let r=e;return n.some((function(e){return!(r=r&&e in r?r[e]:void 0)})),r};r=t.x?t.value.concat(t.x):t.value,n.push(r),e.forEach((function(e){const t=r.map((function(t){let n=i(e,t);return void 0===n&&(n=null),n}));n.push(t)})),o=Qs(n)}else Object.keys(e).forEach((function(t){var r;const o=e[t].concat();null==(r=o.unshift)||r.call(o,t),n.push(o)})),o=Js(n);return o}function tl(e,t){const n=e.rows(t);let r;return 1===n.length?(r=[{}],n[0].forEach((e=>{r[0][e]=null}))):r=e.parse(t),r}function nl(e){return tl({rows:Ys,parse:Gs},e)}function rl(e){return tl({rows:Zs,parse:Ks},e)}function ol(e,t){const n=e||(null==t?void 0:t.data_keys);return(null==n?void 0:n.x)&&(t.data_x=n.x),n}Xs.format,Xs.formatBody,Xs.formatRows,Xs.formatRow,Xs.formatValue;var il={convertData(e,t){const{config:n}=this,r=n.boost_useWorker;let o=e;if(e.bindto&&(o={},["url","mimeType","headers","keys","json","keys","rows","columns"].forEach((t=>{const n=`data_${t}`;n in e&&(o[t]=e[n])}))),o.url&&t)!function(e,t="csv",n,r,o){const i=new XMLHttpRequest,a={csv:nl,tsv:rl,json:el};i.open("GET",e),n&&Object.keys(n).forEach((function(e){i.setRequestHeader(e,n[e])})),i.onreadystatechange=function(){if(4===i.readyState){if(200!==i.status)throw new Error(`${e}: Something went wrong loading!`);{const e=i.responseText;e&&o.call(this,a[t]("json"===t?JSON.parse(e):e,r))}}},i.send()}(o.url,o.mimeType,o.headers,ol(o.keys,n),t);else if(o.json)$s(r,el,t,[Js,Qs])(o.json,ol(o.keys,n));else if(o.rows)$s(r,Qs,t)(o.rows);else if(o.columns)$s(r,Js,t)(o.columns);else if(e.bindto)throw Error("url or json or rows or columns is required.")},convertDataToTargets(e,t){const n=this,{axis:r,config:o,state:i}=n,a=o.data_type;let s=!1,l=!1,c=!1;r&&(s=r.isCategorized(),l=r.isTimeSeries(),c=r.isCustomX());const u=Object.keys(e[0]||{}),d=u.length?u.filter(n.isNotX,n):[],p=u.length?u.filter(n.isX,n):[];let f;d.forEach((r=>{const i=this.getXKey(r);c||l?p.indexOf(i)>=0?f=(t&&n.data.xs[r]||[]).concat(e.map((e=>e[i])).filter(va).map(((e,t)=>n.generateTargetX(e,r,t)))):o.data_x?f=this.getOtherTargetXs():Ma(o.data_xs)&&(f=n.getXValuesOfXKey(i,n.data.targets)):f=e.map(((e,t)=>t)),f&&(this.data.xs[r]=f)})),d.forEach((e=>{if(!this.data.xs[e])throw new Error(`x is not defined for id = "${e}".`)}));const h=d.map(((t,r)=>{const a=o.data_idConverter.bind(n.api)(t),l=n.getXKey(t),u=c&&s,d=u&&e.map((e=>e.x)).every((e=>o.axis_x_categories.indexOf(e)>-1)),p=e.__append__,f=null===l&&p?n.api.data.values(t).length:0;return{id:a,id_org:t,values:e.map(((e,s)=>{const c=e[l];let h,m=e[t];return m=null===m||isNaN(m)||Oa(m)?Pa(m)||Oa(m)?m:null:+m,!u&&!i.hasRadar||0!==r||wa(c)?h=n.generateTargetX(c,t,f+s):(d||0!==r||0!==s||p||(o.axis_x_categories=[]),h=o.axis_x_categories.indexOf(c),-1===h&&(h=o.axis_x_categories.length,o.axis_x_categories.push(c))),(wa(m)||n.data.xs[t].length<=s)&&(h=void 0),{x:h,value:m,id:a,index:-1}})).filter((e=>Aa(e.x)))}}));if(h.forEach((e=>{var t;o.data_xSort&&(e.values=e.values.sort(((e,t)=>(e.x||0===e.x?e.x:1/0)-(t.x||0===t.x?t.x:1/0)))),e.values.forEach(((e,t)=>e.index=t)),null==(t=n.data.xs[e.id])||t.sort(((e,t)=>e-t))})),i.hasNegativeValue=n.hasNegativeValueInTargets(h),i.hasPositiveValue=n.hasPositiveValueInTargets(h),a&&n.isValidChartType(a)){const e=n.mapToIds(h).filter((e=>!(e in o.data_types)||!n.isValidChartType(o.data_types[e])));n.setTargetType(e,a)}return h.forEach((e=>n.cache.add(e.id_org,e,!0))),h}},al={isX(e){const{config:t}=this,n=t.data_x&&e===t.data_x,r=Ma(t.data_xs)&&function(e,t){let n=!1;return Object.keys(e).forEach((r=>e[r]===t&&(n=!0))),n}(t.data_xs,e);return n||r},isNotX(e){return!this.isX(e)},isStackNormalized(){const{config:e}=this;return!(!e.data_stack_normalize||!e.data_groups.length)},isGrouped(e){const t=this.config.data_groups;return e?t.some((t=>t.indexOf(e)>=0&&t.length>1)):t.length>0},getXKey(e){const{config:t}=this;return t.data_x?t.data_x:Ma(t.data_xs)?t.data_xs[e]:null},getXValuesOfXKey(e,t){const n=this;let r;return(t&&Ma(t)?n.mapToIds(t):[]).forEach((t=>{n.getXKey(t)===e&&(r=n.data.xs[t])})),r},getIndexByX(e,t){return t?t.indexOf(ba(e)?e:+e):(this.filterByX(this.data.targets,e)[0]||{index:null}).index},getXValue(e,t){const n=this;return e in n.data.xs&&n.data.xs[e]&&va(n.data.xs[e][t])?n.data.xs[e][t]:t},getOtherTargetXs(){const e=Object.keys(this.data.xs);return e.length?this.data.xs[e[0]]:null},getOtherTargetX(e){const t=this.getOtherTargetXs();return t&&e<t.length?t[e]:null},addXs(e){const{config:t}=this;Object.keys(e).forEach((n=>{t.data_xs[n]=e[n]}))},isMultipleX(){return!this.config.axis_x_forceAsSingle&&(Ma(this.config.data_xs)||this.hasType("bubble")||this.hasType("scatter"))},addName(e){const{config:t}=this;let n;return e&&(n=t.data_names[e.id],e.name=void 0!==n?n:e.id),e},getAllValuesOnIndex(e,t=!1){const n=this;let r=n.filterTargetsToShow(n.data.targets).map((t=>n.addName(n.getValueOnIndex(t.values,e))));return t&&(r=r.filter((e=>e&&"value"in e&&va(e.value)))),r},getValueOnIndex(e,t){const n=e.filter((e=>e.index===t));return n.length?n[0]:null},updateTargetX(e,t){const n=this;e.forEach((e=>{e.values.forEach(((r,o)=>{r.x=n.generateTargetX(t[o],e.id,o)})),n.data.xs[e.id]=t}))},updateTargetXs(e,t){const n=this;e.forEach((e=>{t[e.id]&&n.updateTargetX([e],t[e.id])}))},generateTargetX(e,t,n){const r=this,{axis:o}=r;let i=(null==o?void 0:o.isCategorized())?n:e||n;if(null==o?void 0:o.isTimeSeries()){const o=rs.bind(r);i=o(e||r.getXValue(t,n))}else(null==o?void 0:o.isCustomX())&&!(null==o?void 0:o.isCategorized())&&(i=va(e)?+e:r.getXValue(t,n));return i},updateXs(e){e.length&&(this.axis.xs=e.map((e=>e.x)))},getPrevX(e){const t=this.axis.xs[e-1];return Aa(t)?t:null},getNextX(e){const t=this.axis.xs[e+1];return Aa(t)?t:null},getBaseValue(e){const t=this,{hasAxis:n}=t.state;let{value:r}=e;return r&&n&&(t.isAreaRangeType(e)?r=t.getRangedData(e,"mid"):t.isBubbleZType(e)&&(r=t.getBubbleZData(r,"y"))),r},getMinMaxValue(e){const t=this.getBaseValue.bind(this);let n,r;return(e||this.data.targets.map((e=>e.values))).forEach(((e,o)=>{const i=e.map(t).filter(xa);n=Math.min(o?n:1/0,...i),r=Math.max(o?r:-1/0,...i)})),{min:n,max:r}},getMinMaxData(){const e=this,t=xs;let n=e.cache.get(t);if(!n){const r=e.data.targets.map((e=>e.values)),o=e.getMinMaxValue(r);let i=[],a=[];r.forEach((t=>{const n=e.getFilteredDataByValue(t,o.min),r=e.getFilteredDataByValue(t,o.max);n.length&&(i=i.concat(n)),r.length&&(a=a.concat(r))})),e.cache.add(t,n={min:i,max:a})}return n},getTotalPerIndex(){const e=this,t=As;let n=e.cache.get(t);return!e.config.data_groups.length&&!e.isStackNormalized()||n||(n=[],e.data.targets.forEach((e=>{e.values.forEach(((e,t)=>{n[t]||(n[t]=0),n[t]+=xa(e.value)?e.value:0}))}))),n},getTotalDataSum(e){const t=this,n=ws;let r=t.cache.get(n);if(!xa(r)){const e=Ka(t.data.targets.map((e=>e.values))).map((e=>e.value));r=e.length?e.reduce(((e,t)=>e+t)):0,t.cache.add(n,r)}return e&&(r-=t.getHiddenTotalDataSum()),r},getHiddenTotalDataSum(){const{api:e,state:{hiddenTargetIds:t}}=this;let n=0;return t.length&&(n=e.data.values.bind(e)(t).reduce(((e,t)=>e+t))),n},getFilteredDataByValue(e,t){return e.filter((e=>this.getBaseValue(e)===t))},getMaxDataCount(){return Math.max(...this.data.targets.map((e=>e.values.length)),0)},getMaxDataCountTarget(){let e=this.filterTargetsToShow()||[];const t=e.length,n=this.config.axis_x_inverted;return t>1?(e=e.map((e=>e.values)).reduce(((e,t)=>e.concat(t))).map((e=>e.x)),e=Ja(Xa(e)).map(((e,t,r)=>({x:e,index:n?r.length-t-1:t})))):t&&(e=e[0].values.concat()),e},mapToIds(e){return e.map((e=>e.id))},mapToTargetIds(e){return e?Pa(e)?e.concat():[e]:this.mapToIds(this.data.targets)},hasTarget(e,t){const n=this.mapToIds(e);for(let e,r=0;e=n[r];r++)if(e===t)return!0;return!1},isTargetToShow(e){return this.state.hiddenTargetIds.indexOf(e)<0},isLegendToShow(e){return this.state.hiddenLegendIds.indexOf(e)<0},filterTargetsToShow(e){const t=this;return(e||t.data.targets).filter((e=>t.isTargetToShow(e.id)))},mapTargetsToUniqueXs(e){const{axis:t}=this;let n=[];return(null==e?void 0:e.length)&&(n=Xa(Ka(e.map((e=>e.values.map((e=>+e.x)))))),n=(null==t?void 0:t.isTimeSeries())?n.map((e=>new Date(+e))):n.map(Number)),Ja(n)},addTargetIds(e,t){const{state:n}=this;(Pa(t)?t:[t]).forEach((t=>{n[e].indexOf(t)<0&&n[e].push(t)}))},removeTargetIds(e,t){const{state:n}=this;(Pa(t)?t:[t]).forEach((t=>{const r=n[e].indexOf(t);r>=0&&n[e].splice(r,1)}))},addHiddenTargetIds(e){this.addTargetIds("hiddenTargetIds",e)},removeHiddenTargetIds(e){this.removeTargetIds("hiddenTargetIds",e)},addHiddenLegendIds(e){this.addTargetIds("hiddenLegendIds",e)},removeHiddenLegendIds(e){this.removeTargetIds("hiddenLegendIds",e)},getValuesAsIdKeyed(e){const t=this,{hasAxis:n}=t.state,r={},o=t.isMultipleX(),i=o?t.mapTargetsToUniqueXs(e).map((e=>ba(e)?e:+e)):null;return e.forEach((e=>{const a=[];e.values.filter((({value:e})=>va(e)||null===e)).forEach((e=>{let{value:r}=e;null!==r&&t.isCandlestickType(e)&&(r=Pa(r)?r.slice(0,4):[r.open,r.high,r.low,r.close]),Pa(r)?a.push(...r):Oa(r)&&"high"in r?a.push(...Object.values(r)):t.isBubbleZType(e)?a.push(n&&t.getBubbleZData(r,"y")):o?a[t.getIndexByX(e.x,i)]=r:a.push(r)})),r[e.id]=a})),r},checkValueInTargets(e,t){const n=Object.keys(e);let r;for(let o=0;o<n.length;o++){r=e[n[o]].values;for(let e=0;e<r.length;e++)if(t(r[e].value))return!0}return!1},hasMultiTargets(){return this.filterTargetsToShow().length>1},hasNegativeValueInTargets(e){return this.checkValueInTargets(e,(e=>e<0))},hasPositiveValueInTargets(e){return this.checkValueInTargets(e,(e=>e>0))},orderTargets(e){const t=[...e],n=this.getSortCompareFn();return n&&t.sort(n),t},getSortCompareFn(e=!1){const t=this,{config:n}=t,r=n.data_order,o=/asc/i.test(r),i=/desc/i.test(r);let a;if(o||i){const t=(e,t)=>e+Math.abs(t.value),n=e=>xa(e)?e:"values"in e?e.values.reduce(t,0):e.value;a=(t,r)=>{const i=n(t),a=n(r);return e?o?i-a:a-i:o?a-i:i-a}}else ya(r)&&(a=r.bind(t.api));return a||null},filterByX(e,t){return Ka(e.map((e=>e.values))).filter((e=>e.x-t==0))},filterRemoveNull(e){return e.filter((e=>va(this.getBaseValue(e))))},filterByXDomain(e,t){return e.map((e=>({id:e.id,id_org:e.id_org,values:e.values.filter((e=>t[0]<=e.x&&e.x<=t[1]))})))},hasDataLabel(){const e=this.config.data_labels;return _a(e)&&e||Ca(e)&&Ma(e)},getDataIndexFromEvent(e){const{$el:t,config:n,state:{hasRadar:r,inputType:o,eventReceiver:{coords:i,rect:a}}}=this;let s;if(r){let t=e.target;/tspan/i.test(t.tagName)&&(t=t.parentNode);const n=be(t).datum();s=n&&1===Object.keys(n).length?n.index:void 0}else{const r=n.axis_rotated,l=Ga(t.chart.node()),c="touch"===o&&e.changedTouches?e.changedTouches[0]:e;s=Ha(i,r?c.clientY+l.y-a.top:c.clientX+l.x-a.left,0,i.length-1,r)}return s},getDataLabelLength(e,t,n){const r=this,o=[0,0];return r.$el.chart.select("svg").selectAll(".dummy").data([e,t]).enter().append("text").text((e=>r.dataLabelFormat(e.id)(e))).each((function(e,t){o[t]=1.3*this.getBoundingClientRect()[n]})).remove(),o},isNoneArc(e){return this.hasTarget(this.data.targets,e.id)},isArc(e){return"data"in e&&this.hasTarget(this.data.targets,e.data.id)},findSameXOfValues(e,t){const n=e[t].x,r=[];let o;for(o=t-1;o>=0&&n===e[o].x;o--)r.push(e[o]);for(o=t;o<e.length&&n===e[o].x;o++)r.push(e[o]);return r},findClosestFromTargets(e,t){const n=this,r=e.map((e=>n.findClosest(e.values,t)));return n.findClosest(r,t)},findClosest(e,t){const n=this,{$el:{main:r}}=n,o=e.filter((e=>e&&va(e.value)));let i,a;return o.filter((e=>n.isBarType(e.id)||n.isCandlestickType(e.id))).forEach((e=>{const t=n.isBarType(e.id)?`.${Rn.chartBar}.${Pn.target}${n.getTargetSelectorSuffix(e.id)} .${Rn.bar}-${e.index}`:`.${In.chartCandlestick}.${Pn.target}${n.getTargetSelectorSuffix(e.id)} .${In.candlestick}-${e.index} path`;!a&&n.isWithinBar(r.select(t).node())&&(a=e)})),o.filter((e=>!n.isBarType(e.id)&&!n.isCandlestickType(e.id))).forEach((e=>{const r=n.dist(e,t);i=n.getPointSensitivity(e),r<i&&(i=r,a=e)})),a},dist(e,t){const{config:{axis_rotated:n},scale:r}=this,o=+n,i=+!n,a=this.circleY(e,e.index),s=(r.zoom||r.x)(e.x);return Math.sqrt(Math.pow(s-t[o],2)+Math.pow(a-t[i],2))},convertValuesToStep(e){const{axis:t,config:n}=this,r=n.line_step_type,o=!!t&&t.isCategorized(),i=Pa(e)?e.concat():[e];if(!o&&!/step\-(after|before)/.test(r))return e;if(i.length){const e=i[0],t=i[i.length-1],{id:n}=e;let{x:a}=e;i.unshift({x:--a,value:e.value,id:n}),o&&"step-after"===r&&i.unshift({x:--a,value:e.value,id:n}),a=t.x,i.push({x:++a,value:t.value,id:n}),o&&"step-before"===r&&i.push({x:++a,value:t.value,id:n})}return i},convertValuesToRange(e){const t=Pa(e)?e.concat():[e],n=[];return t.forEach((e=>{const{x:t,id:r}=e;n.push({x:t,id:r,value:e.value[0]}),n.push({x:t,id:r,value:e.value[2]})})),n},updateDataAttributes(e,t){const{config:n}=this,r=n[`data_${e}`];return wa(t)||(Object.keys(t).forEach((e=>{r[e]=t[e]})),this.redraw({withLegend:!0})),r},getRangedData(e,t="",n="areaRange"){const r=null==e?void 0:e.value;if(Pa(r)){if("bar"===n)return r.reduce(((e,t)=>t-e));{const e={areaRange:["high","mid","low"],candlestick:["open","high","low","close","volume"]}[n].indexOf(t);return e>=0&&r?r[e]:void 0}}return r&&t?r[t]:r},setRatioForGroupedData(e){const t=this,{config:n}=t;if(n.data_groups.length&&e.some((e=>t.isGrouped(e.id)))){const n=e=>t.getRatio("index",e,!0);e.forEach((e=>{"values"in e?e.values.forEach(n):n(e)}))}},getRatio(e,t,n=!1){const r=this,{config:o,state:i}=r,a=r.api;let s=0;if(t&&a.data.shown().length)if(s=t.ratio||t.value,"arc"===e)if(r.pie.padAngle()())s=t.value/r.getTotalDataSum(!0);else{const e=o.gauge_fullCircle?r.getArcLength():-2*r.getStartingAngle(),n=r.hasType("gauge")?e:2*Math.PI;s=(t.endAngle-t.startAngle)/n}else if("index"===e){const e=a.data.values.bind(a);let n=this.getTotalPerIndex();if(i.hiddenTargetIds.length){let t=e(i.hiddenTargetIds,!1);t.length&&(t=t.reduce(((e,t)=>e.map(((e,n)=>(xa(e)?e:0)+t[n])))),n=n.map(((e,n)=>e-t[n])))}const r=n[t.index];t.ratio=xa(t.value)&&n&&r?t.value/r:0,s=t.ratio}else if("radar"===e)s=parseFloat(String(Math.max(t.value,0)))/i.current.dataMax*o.radar_size_ratio;else if("bar"===e){const n=r.getYScaleById.bind(r)(t.id).domain().reduce(((e,t)=>t-e));s=0===n?0:Math.abs(r.getRangedData(t,null,e)/n)}else"treemap"===e&&(s/=r.getTotalDataSum(!0));return n&&s?100*s:s},updateDataIndexByX(e){const t=e.reduce(((e,t,n)=>(e[Number(t.x)]=n,e)),{});this.data.targets.forEach((e=>{e.values.forEach(((e,n)=>{let r=t[Number(e.x)];void 0===r&&(r=n),e.index=r}))}))},isBubbleZType(e){return this.isBubbleType(e)&&(Oa(e.value)&&("z"in e.value||"y"in e.value)||Pa(e.value)&&e.value.length>=2)},isBarRangeType(e){const{value:t}=e;return this.isBarType(e)&&Pa(t)&&t.length>=2&&t.every((e=>xa(e)))},getDataById(e){var t;const n=this.cache.get(e)||this.api.data(e);return null!=(t=null==n?void 0:n[0])?t:n}};function sl(e,t=!1){const{api:n}=this;t&&this.api.flush(!0),null==e||e.call(n)}var ll={load(e,t){const n=this,{axis:r,data:o,org:i,scale:a}=n,{append:s}=t,l={domain:null,currentDomain:null,x:null};let c=e;c&&(t.filter&&(c=c.filter(t.filter)),(t.type||t.types)&&c.forEach((e=>{var r;const o=(null==(r=t.types)?void 0:r[e.id])||t.type;n.setTargetType(e.id,o)})),o.targets.forEach((e=>{for(let t=0;t<c.length;t++)if(e.id===c[t].id){e.values=s?e.values.concat(c[t].values):c[t].values,c.splice(t,1);break}})),o.targets=o.targets.concat(c)),n.updateTargets(o.targets),a.zoom&&(l.x=r.isCategorized()?a.x.orgScale():(i.xScale||a.x).copy(),l.domain=n.getXDomain(o.targets),l.x.domain(l.domain),l.currentDomain=n.zoom.getDomain(),n.withinRange(l.currentDomain,void 0,l.domain)||(a.x.domain(l.domain),a.zoom=null,n.$el.eventRect.property("__zoom",null))),n.redraw({withUpdateOrgXDomain:!0,withUpdateXDomain:!0,withLegend:!0}),a.zoom&&(i.xDomain=l.domain,i.xScale=l.x,r.isCategorized()&&(l.currentDomain=n.getZoomDomainValue(l.currentDomain),i.xDomain=n.getZoomDomainValue(i.xDomain),i.xScale=l.x.domain(i.xDomain)),n.updateCurrentZoomTransform(l.x,l.currentDomain)),n.updateTypesElements(),sl.call(n,t.done,t.resizeAfter)},loadFromArgs(e){const t=this;t.config&&(t.cache.reset(),t.convertData(e,(n=>{const r=e.data||n;e.append&&(r.__append__=!0),r&&t.load(t.convertDataToTargets(r),e)})))},unload(e,t){var n;const r=this,{state:o,$el:i,$T:a}=r,s=!!(null==(n=r.hasLegendDefsPoint)?void 0:n.call(r));let l=t,c=e;if(r.cache.reset(),l||(l=()=>{}),c=c.filter((e=>r.hasTarget(r.data.targets,e))),!c||0===c.length)return void l();const u=i.svg.selectAll(c.map((e=>r.selectorTarget(e))));a(u).style("opacity","0").remove().call(Ra,l),c.forEach((e=>{var t;const n=r.getTargetSelectorSuffix(e);o.withoutFadeIn[e]=!1,i.legend&&i.legend.selectAll(`.${Fn.legendItem}${n}`).remove(),r.data.targets=r.data.targets.filter((t=>t.id!==e)),s&&(null==(t=i.defs)||t.select(`#${r.getDefsPointId(n)}`).remove())})),o.hasFunnel&&r.updateFunnel(r.data.targets),o.hasTreemap&&r.updateTargetsForTreemap(r.data.targets),r.updateTypesElements()}},cl=e=>()=>e;function ul(e,{sourceEvent:t,subject:n,target:r,identifier:o,active:i,x:a,y:s,dx:l,dy:c,dispatch:u}){Object.defineProperties(this,{type:{value:e,enumerable:!0,configurable:!0},sourceEvent:{value:t,enumerable:!0,configurable:!0},subject:{value:n,enumerable:!0,configurable:!0},target:{value:r,enumerable:!0,configurable:!0},identifier:{value:o,enumerable:!0,configurable:!0},active:{value:i,enumerable:!0,configurable:!0},x:{value:a,enumerable:!0,configurable:!0},y:{value:s,enumerable:!0,configurable:!0},dx:{value:l,enumerable:!0,configurable:!0},dy:{value:c,enumerable:!0,configurable:!0},_:{value:u}})}function dl(e){return!e.ctrlKey&&!e.button}function pl(){return this.parentNode}function fl(e,t){return null==t?{x:e.x,y:e.y}:t}function hl(){return navigator.maxTouchPoints||"ontouchstart"in this}function ml(){var e,t,n,r,o=dl,i=pl,a=fl,s=hl,l={},c=gr("start","drag","end"),u=0,d=0;function p(e){e.on("mousedown.drag",f).filter(s).on("touchstart.drag",g).on("touchmove.drag",v,vr).on("touchend.drag touchcancel.drag",y).style("touch-action","none").style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function f(a,s){if(!r&&o.call(this,a,s)){var l=b(this,i.call(this,a,s),a,s,"mouse");l&&(be(a.view).on("mousemove.drag",h,yr).on("mouseup.drag",m,yr),wr(a.view),br(a),n=!1,e=a.clientX,t=a.clientY,l("start",a))}}function h(r){if(xr(r),!n){var o=r.clientX-e,i=r.clientY-t;n=o*o+i*i>d}l.mouse("drag",r)}function m(e){be(e.view).on("mousemove.drag mouseup.drag",null),Ar(e.view,n),xr(e),l.mouse("end",e)}function g(e,t){if(o.call(this,e,t)){var n,r,a=e.changedTouches,s=i.call(this,e,t),l=a.length;for(n=0;n<l;++n)(r=b(this,s,e,t,a[n].identifier,a[n]))&&(br(e),r("start",e,a[n]))}}function v(e){var t,n,r=e.changedTouches,o=r.length;for(t=0;t<o;++t)(n=l[r[t].identifier])&&(xr(e),n("drag",e,r[t]))}function y(e){var t,n,o=e.changedTouches,i=o.length;for(r&&clearTimeout(r),r=setTimeout((function(){r=null}),500),t=0;t<i;++t)(n=l[o[t].identifier])&&(br(e),n("end",e,o[t]))}function b(e,t,n,r,o,i){var s,d,f,h=c.copy(),m=wo(i||n,t);if(null!=(f=a.call(e,new ul("beforestart",{sourceEvent:n,target:p,identifier:o,active:u,x:m[0],y:m[1],dx:0,dy:0,dispatch:h}),r)))return s=f.x-m[0]||0,d=f.y-m[1]||0,function n(i,a,c){var g,v=m;switch(i){case"start":l[o]=n,g=u++;break;case"end":delete l[o],--u;case"drag":m=wo(c||a,t),g=u}h.call(i,e,new ul(i,{sourceEvent:a,subject:f,target:p,identifier:o,active:g,x:m[0]+s,y:m[1]+d,dx:m[0]-v[0],dy:m[1]-v[1],dispatch:h}),r)}}return p.filter=function(e){return arguments.length?(o="function"==typeof e?e:cl(!!e),p):o},p.container=function(e){return arguments.length?(i="function"==typeof e?e:cl(e),p):i},p.subject=function(e){return arguments.length?(a="function"==typeof e?e:cl(e),p):a},p.touchable=function(e){return arguments.length?(s="function"==typeof e?e:cl(!!e),p):s},p.on=function(){var e=c.on.apply(c,arguments);return e===c?p:e},p.clickDistance=function(e){return arguments.length?(d=(e=+e)*e,p):Math.sqrt(d)},p}ul.prototype.on=function(){var e=this._.on.apply(this._,arguments);return e===this._?this:e};var gl={setExpand(e,t,n){const r=this,{config:o,$el:{circle:i}}=r;i&&o.point_focus_expand_enabled&&r.expandCircles(e,t,n),r.expandBarTypeShapes(!0,e,t,n)},expandBarTypeShapes(e=!0,t,n,r){const o=this;["bar","candlestick"].filter((e=>o.$el[e])).forEach((i=>{r&&o.$el[i].classed(Pn.EXPANDED,!1),o.getShapeByIndex(i,t,n).classed(Pn.EXPANDED,e)}))},setOverOut(e,t){const n=this,{config:r,state:{hasFunnel:o,hasRadar:i,hasTreemap:a},$el:{main:s}}=n,l=Oa(t);if(l||-1!==t){const c=r[e?"data_onover":"data_onout"].bind(n.api);if(r.color_onover&&n.setOverColor(e,t,l),l){const e=n.getTargetSelectorSuffix(t.id),r=o||a?`${Pn.target+e} .${Kn.shape}`:On.arc+e;c(t,s.select(`.${r}`).node())}else if(r.tooltip_grouped)e&&(i&&n.isPointFocusOnly()?n.showCircleFocus(n.getAllValuesOnIndex(t,!0)):n.setExpand(t,null,!0)),!n.isMultipleX()&&s.selectAll(`.${Kn.shape}-${t}`).each((function(e){c(e,this)}));else{const o=n.cache.get(Cs)||[],i=s.selectAll(`.${Kn.shape}-${t}`).filter((function(e){return n.isWithinShape(this,e)})),a=i.filter((function(){return o.every((e=>e!==this))}));if(!e||i.empty()||o.length===a.size()&&a.nodes().every(((e,t)=>e!==o[t])))for(;o.length;){const e=o.pop();r.data_onout.bind(n.api)(be(e).datum(),e)}a.each((function(){e&&(c(be(this).datum(),this),o.push(this))})),n.cache.add(Cs,o)}}},callOverOutForTouch(e){const t=this,n=t.cache.get(Ts);(Oa(e)&&n?e.id!==n.id:e!==n)&&((n||xa(n))&&t.setOverOut(!1,n),(e||xa(e))&&t.setOverOut(!0,e),t.cache.add(Ts,e))},getDraggableSelection(){const e=this,{config:t,state:n}=e;return t.interaction_enabled&&t.data_selection_draggable&&e.drag?ml().on("drag",(function(t){n.event=t,e.drag($a(t,this))})).on("start",(function(t){n.event=t,e.dragstart($a(t,this))})).on("end",(t=>{n.event=t,e.dragend()})):()=>{}},dispatchEvent(e,t,n){var r,o;const i=this,{config:a,state:{eventReceiver:s,hasAxis:l,hasFunnel:c,hasRadar:u,hasTreemap:d},$el:{eventRect:p,funnel:f,radar:h,treemap:m}}=i;let g=null==(o=(c||d)&&s.rect||u&&h.axes.select(`.${Dn.axis}-${t} text`)||p||(null==(r=i.getArcElementByIdOrIndex)?void 0:r.call(i,t)))?void 0:o.node();if(g){const r=i.isMultipleX(),o=a.axis_rotated;let{width:p,left:h,top:v}=g.getBoundingClientRect();if(l&&!u&&!r){const e=s.coords[t];e?(p=e.w,h+=e.x,v+=e.y):(p=0,h=0,v=0)}const y=h+(n?n[0]:0)+(r||o?0:p/2),b=v+(n?n[1]:0)+(o?4:0),x={screenX:y,screenY:b,clientX:y,clientY:b,bubbles:u};(c||d)&&(g=(null!=f?f:m).node()),ts[/^(mouse|click)/.test(e)?"mouse":"touch"](g,e,x)}},setDragStatus(e){this.state.dragging=e},unbindZoomEvent(){const{$el:{eventRect:e,zoomResetBtn:t}}=this;null==e||e.on(".zoom wheel.zoom .drag",null),null==t||t.on("click",null).style("display","none")},unbindAllEvents(){var e;const t=this,{$el:{arcs:n,eventRect:r,legend:o,region:i,svg:a,treemap:s},brush:l}=t,c=["wheel","click","mouseover","mousemove","mouseout","touchstart","touchmove","touchend","touchstart.eventRect","touchmove.eventRect","touchend.eventRect",".brush",".drag",".zoom","wheel.zoom","dblclick.zoom"].join(" ");[a,r,null==i?void 0:i.list,null==l?void 0:l.getSelection(),null==n?void 0:n.selectAll("path"),null==o?void 0:o.selectAll("g"),s].forEach((e=>null==e?void 0:e.on(c,null))),null==(e=t.unbindZoomEvent)||e.call(t)}},vl={categoryName(e){var t;const{axis_x_categories:n}=this.config;return null!=(t=null==n?void 0:n[e])?t:e}},yl={generateClass(e,t){return` ${e} ${e+this.getTargetSelectorSuffix(t)}`},getClass(e,t){const n=/s$/.test(e),r=/^(area|arc|line|funnel|treemap)s?$/.test(e),o=n?"id":"index";return i=>{const a=i.data||i;return((t?this.generateClass(nr[n?"shapes":"shape"],a[o]):"")+this.generateClass(nr[e],a[r?"id":o])).trim()}},getChartClass(e){return t=>nr[`chart${e}`]+this.classTarget((t.data?t.data:t).id)},generateExtraLineClass(){const e=this.config.line_classes||[],t=[];return function(n){var r;const o=n.id||(null==(r=n.data)?void 0:r.id)||n;return t.indexOf(o)<0&&t.push(o),e[t.indexOf(o)%e.length]}},classRegion(e,t){return`${this.generateClass(nr.region,t)} ${"class"in e?e.class:""}`},classTarget(e){const t=this.config.data_classes[e];let n="";return t&&(n=` ${nr.target}-${t}`),this.generateClass(nr.target,e)+n},classFocus(e){return this.classFocused(e)+this.classDefocused(e)},classFocused(e){return` ${this.state.focusedTargetIds.indexOf(e.id)>=0?nr.focused:""}`},classDefocused(e){return` ${this.state.defocusedTargetIds.indexOf(e.id)>=0?nr.defocused:""}`},getTargetSelectorSuffix(e){return(e||0===e?`-${e}`:"").replace(/[\x00-\x20\x7F-\xA0\s?!@#$%^&*()_=+,.<>'":;\[\]\/|~`{}\\]/g,"-")},selectorTarget(e,t="",n=""){const r=this.getTargetSelectorSuffix(e);return`${t}.${nr.target+r} ${n}, ${t}.${nr.circles+r} ${n}`},selectorTargets(e,t){const n=e||[];return n.length?n.map((e=>this.selectorTarget(e,t))):null},selectorLegend(e){return`.${nr.legendItem+this.getTargetSelectorSuffix(e)}`},selectorLegends(e){return(null==e?void 0:e.length)?e.map((e=>this.selectorLegend(e))):null}};class bl extends Map{constructor(e,t=_l){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:t}}),null!=e)for(const[t,n]of e)this.set(t,n)}get(e){return super.get(xl(this,e))}has(e){return super.has(xl(this,e))}set(e,t){return super.set(wl(this,e),t)}delete(e){return super.delete(Al(this,e))}}function xl({_intern:e,_key:t},n){const r=t(n);return e.has(r)?e.get(r):n}function wl({_intern:e,_key:t},n){const r=t(n);return e.has(r)?e.get(r):(e.set(r,n),n)}function Al({_intern:e,_key:t},n){const r=t(n);return e.has(r)&&(n=e.get(r),e.delete(r)),n}function _l(e){return null!==e&&"object"==typeof e?e.valueOf():e}function Sl(e,t){switch(arguments.length){case 0:break;case 1:this.range(e);break;default:this.range(t).domain(e)}return this}Set;const kl=Symbol("implicit");function Cl(){var e=new bl,t=[],n=[],r=kl;function o(o){let i=e.get(o);if(void 0===i){if(r!==kl)return r;e.set(o,i=t.push(o)-1)}return n[i%n.length]}return o.domain=function(n){if(!arguments.length)return t.slice();t=[],e=new bl;for(const r of n)e.has(r)||e.set(r,t.push(r)-1);return o},o.range=function(e){return arguments.length?(n=Array.from(e),o):n.slice()},o.unknown=function(e){return arguments.length?(r=e,o):r},o.copy=function(){return Cl(t,n).unknown(r)},Sl.apply(o,arguments),o}const Tl=["#1f77b4","#ff7f0e","#2ca02c","#d62728","#9467bd","#8c564b","#e377c2","#7f7f7f","#bcbd22","#17becf"];var Ml={generateColor(){const e=this,{$el:t,config:n}=e,r=n.data_colors,o=n.data_color,i=[];let a=Ma(n.color_pattern)?n.color_pattern:Cl(function(e){const t=bs,{body:n}=aa;let r=n[t];if(!r){const o=";",i=e.classed(Ln.colorPattern,!0).style("background-image");e.classed(Ln.colorPattern,!1),i.indexOf(o)>-1&&(r=i.replace(/url[^#]*|["'()]|(\s|%20)/g,"").split(o).map((e=>e.trim().replace(/[\"'\s]/g,""))).filter(Boolean),n[t]=r)}return r}(t.chart)||Tl).range();const s=a;if(ya(n.color_tiles)){const t=n.color_tiles.bind(e.api)(),r=a.map(((n,r)=>{const o=n.replace(/[#\(\)\s,]/g,""),i=`${e.state.datetimeId}-pattern-${o}-${r}`;return((e,t,n)=>{const r=be(e.cloneNode(!0));return r.attr("id",n).insert("rect",":first-child").attr("width",r.attr("width")).attr("height",r.attr("height")).style("fill",t),{id:n,node:r.node()}})(t[r%t.length],n,i)}));a=r.map((e=>`url(#${e.id})`)),e.patterns=r}return function(t){var l;const c=t.id||(null==(l=t.data)?void 0:l.id)||t,u=e.isTypeOf(c,["line","spline","step"])||!n.data_types[c];let d;return ya(r[c])?d=r[c].bind(e.api)(t):r[c]?d=r[c]:(i.indexOf(c)<0&&i.push(c),d=u?s[i.indexOf(c)%s.length]:a[i.indexOf(c)%a.length],r[c]=d),ya(o)?o.bind(e.api)(d,t):d}},generateLevelColor(){const{config:e}=this,t=e.color_pattern,n=e.color_threshold,r="value"===n.unit,o=n.max||100,i=n.values&&n.values.length?n.values:[];return Ma(n)?function(e){const n=r?e:100*e/o;let a=t[t.length-1];for(let e=0,r=i.length;e<r;e++)if(n<=i[e]){a=t[e];break}return a}:null},generateTextBGColorFilter(e,t={x:0,y:0,width:1,height:1}){const n=this,{$el:r,state:o}=n;if(e){let i=[];ba(e)?i.push(""):Oa(e)&&(i=Object.keys(e)),i.forEach((i=>{const a=`${o.datetimeId}-labels-bg${n.getTargetSelectorSuffix(i)}${ba(e)?n.getTargetSelectorSuffix(e):""}`;r.defs.append("filter").attr("x",t.x).attr("y",t.y).attr("width",t.width).attr("height",t.height).attr("id",a).html(`<feFlood flood-color="${""===i?e:e[i]}" />\n\t\t\t\t\t\t<feComposite in="SourceGraphic" />`)}))}},getGradienColortUrl(e){return`url(#${this.state.datetimeId}-gradient${this.getTargetSelectorSuffix(e)})`},updateLinearGradient(){const e=this,{config:t,data:{targets:n},state:{datetimeId:r},$el:{defs:o}}=e;n.forEach((n=>{const i=`${r}-gradient${e.getTargetSelectorSuffix(n.id)}`,a=e.hasPointType()&&t.point_radialGradient,s=e.isAreaType(n)?"area":e.isBarType(n)&&"bar";if((a||s)&&o.select(`#${i}`).empty()){const r=e.color(n),l={defs:null,stops:[]};if(a){const{cx:e=.3,cy:t=.3,r:n=.7,stops:s=[[.1,r,0],[.9,r,1]]}=a;l.stops=s,l.defs=o.append("radialGradient").attr("id",`${i}`).attr("cx",e).attr("cy",t).attr("r",n)}else{const e=t.axis_rotated,{x:n=(e?[1,0]:[0,0]),y:a=(e?[0,0]:[0,1]),stops:c=[[0,r,1],[1,r,0]]}=t[`${s}_linearGradient`];l.stops=c,l.defs=o.append("linearGradient").attr("id",`${i}`).attr("x1",n[0]).attr("x2",n[1]).attr("y1",a[0]).attr("y2",a[1])}l.stops.forEach((t=>{const[o,i,a]=t,s=ya(i)?i.bind(e.api)(n.id):i;l.defs&&l.defs.append("stop").attr("offset",o).attr("stop-color",s||r).attr("stop-opacity",a)}))}}))},setOverColor(e,t){const n=this,{config:r,$el:{main:o}}=n,i=r.color_onover;let a=e?i:n.color;Oa(a)?a=({id:e})=>e in i?i[e]:n.color(e):ba(a)?a=()=>i:ya(i)&&(a=a.bind(n.api)),o.selectAll(Oa(t)?`.${On.arc}${n.getTargetSelectorSuffix(t.id)}`:`.${Kn.shape}-${t}`).style("fill",a)}},Pl={getYDomainMinMax(e,t){const n=this,{axis:r,config:o}=n,i="min"===t,a=o.data_groups,s=n.mapToIds(e),l=n.getValuesAsIdKeyed(e);if(a.length>0){const t=n[`has${i?"Negative":"Positive"}ValueInTargets`](e);a.forEach((e=>{const n=e.filter((e=>s.indexOf(e)>=0));if(n.length){const e=n[0],o=r.getId(e);t&&l[e]&&(l[e]=l[e].map((e=>(i?e<0:e>0)?e:0))),n.filter(((e,t)=>t>0)).forEach((n=>{if(l[n]){const a=r.getId(n);l[n].forEach(((n,r)=>{const s=+n;a!==o||t&&(i?s>0:s<0)||(l[e][r]+=s)}))}}))}}))}return Qa(t,Object.keys(l).map((e=>Qa(t,l[e]))))},isHiddenTargetWithYDomain(e){const t=this;return t.state.hiddenTargetIds.some((n=>t.axis.getId(n)===e))},getYDomain(e,t,n){const r=this,{axis:o,config:i,scale:a}=r,s=`axis_${t}`;if(r.isStackNormalized())return[0,100];const l=(null==a?void 0:a[t])&&"log"===a[t].type,c=e.filter((e=>o.getId(e.id)===t)),u=n?r.filterByXDomain(c,n):c;if(0===u.length)return r.isHiddenTargetWithYDomain(t)?a[t].domain():"y2"===t?a.y.domain():r.getYDomain(e,"y2",n);const d=i[`${s}_min`],p=i[`${s}_max`],f=i[`${s}_center`],h=i[`${s}_inverted`],m=r.hasDataLabel()&&i.axis_rotated,g=r.hasDataLabel()&&!i.axis_rotated;let v=r.getYDomainMinMax(u,"min"),y=r.getYDomainMinMax(u,"max"),b=[Os.BAR,Os.BUBBLE,Os.SCATTER,...Ds.Line].some((e=>{const t=e.indexOf("area")>-1?"area":e;return r.hasType(e,u,!0)&&i[`${t}_zerobased`]}));v=va(d)?d:va(p)?v<=p?v:p-10:v,y=va(p)?p:va(d)?d<=y?y:d+10:y,isNaN(v)&&(v=0),isNaN(y)&&(y=v),v===y&&(v<0?y=0:v=0);const x=v>=0&&y>=0,w=v<=0&&y<=0;(va(d)&&x||va(p)&&w)&&(b=!1),b&&(x&&(v=0),w&&(y=0));const A=Math.abs(y-v);let _={top:.1*A,bottom:.1*A};if(Aa(f)){const e=Math.max(Math.abs(v),Math.abs(y));y=f+e,v=f-e}if(m){const e=ka(a.y.range()),t=r.getDataLabelLength(v,y,"width").map((t=>t/e));["bottom","top"].forEach(((e,n)=>{_[e]+=A*(t[n]/(1-t[0]-t[1]))}))}else if(g){const e=r.getDataLabelLength(v,y,"height");["bottom","top"].forEach(((t,n)=>{_[t]+=r.convertPixelToScale("y",e[n],A)}))}_=r.getResettedPadding(_);const S=i[`${s}_padding`];Ma(S)&&["bottom","top"].forEach((e=>{_[e]=o.getPadding(S,e,_[e],A)})),b&&(x&&(_.bottom=v),w&&(_.top=-y));const k=l?[v,y].map((e=>e<0?0:e)):[v-_.bottom,y+_.top];return h?k.reverse():k},getXDomainMinMax(e,t){var n;const r=this.config[`axis_x_${t}`],o=Qa(t,e.map((e=>Qa(t,e.values.map((e=>e.x))))));let i=Oa(r)?r.value:r;return i=Aa(i)&&(null==(n=this.axis)?void 0:n.isTimeSeries())?rs.bind(this)(i):i,Oa(r)&&r.fit&&("min"===t&&i<o||"max"===t&&i>o)&&(i=void 0),Aa(i)?i:o},getXDomainPadding(e,t){const n=this,{axis:r,config:o}=n,i=o.axis_x_padding,a=r.isTimeSeries()&&t,s=ka(e);let l;if(r.isCategorized()||a)l=0;else if(n.hasType("bar")){const e=n.getMaxDataCount();l=e>1?s/(e-1)/2:.5}else l=n.getResettedPadding(.01*s);let{left:c=l,right:u=l}=xa(i)?{left:i,right:i}:i;if("px"===i.unit){const e=Math.abs(s+.2*s);c=r.getPadding(i,"left",l,e),u=r.getPadding(i,"right",l,e)}else{const e=s+c+u;if(a&&e){const n=s/t/e;c=c/e/n,u=u/e/n}}return{left:c,right:u}},getXDomain(e){const t=this,{axis:n,config:r,scale:{x:o}}=t,i=r.axis_x_inverted,a=[t.getXDomainMinMax(e,"min"),t.getXDomainMinMax(e,"max")];let[s=0,l=0]=a;if("log"!==o.type){const e=n.isCategorized(),r=n.isTimeSeries(),o=t.getXDomainPadding(a);let[i,c]=a;i-c!=0||e||(r?(i=new Date(.5*i.getTime()),c=new Date(1.5*c.getTime())):(i=0===i?1:.5*i,c=0===c?-1:1.5*c)),(i||0===i)&&(s=r?new Date(i.getTime()-o.left):i-o.left),(c||0===c)&&(l=r?new Date(c.getTime()+o.right):c+o.right)}return i?[l,s]:[s,l]},updateXDomain(e,t,n,r,o){var i;const a=this,{config:s,org:l,scale:{x:c,subX:u}}=a,d=s.zoom_enabled;if(n&&(c.domain(o||Ja(a.getXDomain(e),!s.axis_x_inverted)),l.xDomain=c.domain(),u.domain(c.domain()),null==(i=a.brush)||i.scale(u)),t){const e=o||!a.brush||Va(a)?l.xDomain:za(a).map(u.invert);c.domain(e)}return(n||t)&&d&&a.zoom.updateScaleExtent(),r&&c.domain(a.trimXDomain(c.orgDomain())),c.domain()},trimXDomain(e){const t=this.config.axis_x_inverted,n=this.getZoomDomain(),[r,o]=n;return(t?e[0]>=r:e[0]<=r)&&(e[1]=+e[1]+(r-e[0]),e[0]=r),(t?e[1]<=o:e[1]>=o)&&(e[0]=+e[0]-(e[1]-o),e[1]=o),e},getZoomDomain(e="zoom",t=!1){const{config:n,scale:r,org:o}=this;let[i,a]=t&&r[e]?r[e].domain():o.xDomain;return"zoom"===e&&(Aa(n.zoom_x_min)&&(i=Qa("min",[i,n.zoom_x_min])),Aa(n.zoom_x_max)&&(a=Qa("max",[a,n.zoom_x_max]))),[i,a]},getZoomDomainValue(e){const{config:t,axis:n}=this;if(n.isCategorized()&&Array.isArray(e)){const n=t.axis_x_inverted;return e.map(((e,t)=>Number(e)+(0===t?+n:+!n)))}return e},convertPixelToScale(e,t,n){const{config:r,state:o}=this,i=r.axis_rotated;let a;return a="x"===e?i?"height":"width":i?"width":"height",n*(t/o[a])},withinRange(e,t=[0,0],n){const r=this.config.axis_x_inverted,[o,i]=n;if(Array.isArray(e)){const n=[...e];if(r&&n.reverse(),n[0]<n[1])return e.every(((n,a)=>(0===a?r?+n<=o:+n>=o:r?+n>=i:+n<=i)&&!e.every(((e,n)=>e===t[n]))))}return!1}};function Ol(e,t,n){const{config:r}=e,o=`axis_${t}_tick_format`;return(r[o]?r[o]:e.defaultValueFormat).call(e.api,n)}var El={yFormat(e){return Ol(this,"y",e)},y2Format(e){return Ol(this,"y2",e)},getDefaultValueFormat(){const e=this,{defaultArcValueFormat:t,yFormat:n,y2Format:r}=e,o=e.hasArcType(null,["gauge","polar","radar"]);return function(i,a,s){return(o?t:e.axis&&"y2"===e.axis.getId(s)?r:n).call(e,i,a)}},defaultValueFormat(e){return Pa(e)?e.join("~"):va(e)?+e:""},defaultArcValueFormat(e,t){return`${(100*t).toFixed(1)}%`},defaultPolarValueFormat(e){return`${e}`},dataLabelFormat(e){const t=this.config.data_labels,n=e=>{let t=e;return Pa(e)?t=e.join("~"):Oa(e)&&(t=Object.values(e).join("~")),t};let r=n;return ya(t.format)?r=t.format:Ca(t.format)&&(r=t.format[e]?!0===t.format[e]?n:t.format[e]:()=>""),r.bind(this.api)}};function Dl(e){const t=this,n=t.getDataById(e);return t.levelColor?t.levelColor(n.values[0].value):t.color(n)}function Rl(e,t=!0){var n;const{config:r}=this;let o=null!=(n=r.data_names[e])?n:e;return t&&ya(r.legend_format)&&(o=r.legend_format(o)),o}var Il={initLegend(){const e=this,{config:t,$el:n}=e;e.legendItemTextBox={},e.state.legendHasRendered=!1,t.legend_show?(t.legend_contents_bindto||(n.legend=e.$el.svg.append("g").classed(Fn.legend,!0).attr("transform",e.getTranslate("legend"))),e.updateLegend()):e.state.hiddenLegendIds=e.mapToIds(e.data.targets)},updateLegend(e,t,n){var r;const o=this,{config:i,state:a,scale:s,$el:l}=o,c=t||{withTransform:!1,withTransitionForTransform:!1,withTransition:!1};c.withTransition=Ea(c,"withTransition",!0),c.withTransitionForTransform=Ea(c,"withTransitionForTransform",!0),i.legend_contents_bindto&&i.legend_contents_template?o.updateLegendTemplate():a.hasTreemap||o.updateLegendElement(e||o.mapToIds(o.data.targets),c,n),null==(r=l.legend)||r.selectAll(`.${Fn.legendItem}`).classed(Fn.legendItemHidden,(function(e){const t=!o.isTargetToShow(e);return t&&(this.style.opacity=null),t})),o.updateScales(!1,!s.zoom),o.updateSvgSize(),o.transformAll(c.withTransitionForTransform,n),a.legendHasRendered=!0},updateLegendTemplate(){const e=this,{config:t,$el:n}=e,r=be(t.legend_contents_bindto),o=t.legend_contents_template;if(!r.empty()){const t=e.mapToIds(e.data.targets),i=[];let a="";t.forEach((t=>{const n=ya(o)?o.bind(e.api)(t,e.color(t),e.api.data(t)[0].values):ns(o,{COLOR:e.color(t),TITLE:t});n&&(i.push(t),a+=n)}));const s=r.html(a).selectAll((function(){return this.childNodes})).data(i);e.setLegendItem(s),n.legend=r}},updateSizeForLegend(e){const t=this,{config:n,state:{isLegendTop:r,isLegendLeft:o,isLegendRight:i,isLegendInset:a,current:s}}=t,{width:l,height:c}=e,u={top:r?t.getCurrentPaddingByDirection("top")+n.legend_inset_y+5.5:s.height-c-t.getCurrentPaddingByDirection("bottom")-n.legend_inset_y,left:o?t.getCurrentPaddingByDirection("left")+n.legend_inset_x+.5:s.width-l-t.getCurrentPaddingByDirection("right")-n.legend_inset_x+.5};t.state.margin3={top:i?0:a?u.top:s.height-c,right:NaN,bottom:0,left:i?s.width-l:a?u.left:0}},transformLegend(e){const{$el:{legend:t},$T:n}=this;n(t,e).attr("transform",this.getTranslate("legend"))},updateLegendStep(e){this.state.legendStep=e},updateLegendItemWidth(e){this.state.legendItemWidth=e},updateLegendItemHeight(e){this.state.legendItemHeight=e},updateLegendItemColor(e,t){const{legend:n}=this.$el;n&&n.select(`.${Fn.legendItem}-${e} line`).style("stroke",t)},getLegendWidth(){const{current:{width:e},isLegendRight:t,isLegendInset:n,legendItemWidth:r,legendStep:o}=this.state;return this.config.legend_show?t||n?r*(o+1):e:0},getLegendHeight(){var e;const t=this,{current:n,isLegendRight:r,legendItemHeight:o,legendStep:i}=t.state,a="fit"===(null==(e=t.config.padding)?void 0:e.mode);return t.config.legend_show?r?n.height:(a?10:Math.max(20,o))*(i+1):0},opacityForUnfocusedLegend(e){return e.classed(Fn.legendItemHidden)?null:"0.3"},toggleFocusLegend(e,t){const n=this,{$el:{legend:r},$T:o}=n,i=n.mapToTargetIds(e);r&&o(r.selectAll(`.${Fn.legendItem}`).filter((e=>i.indexOf(e)>=0)).classed(Vn.legendItemFocused,t)).style("opacity",(function(){return t?null:n.opacityForUnfocusedLegend.call(n,be(this))}))},revertLegend(){const{$el:{legend:e},$T:t}=this;e&&t(e.selectAll(`.${Fn.legendItem}`).classed(Vn.legendItemFocused,!1)).style("opacity",null)},showLegend(e){const t=this,{config:n,$el:r,$T:o}=t;n.legend_show||(n.legend_show=!0,r.legend?r.legend.style("visibility",null):t.initLegend(),!t.state.legendHasRendered&&t.updateLegend()),t.removeHiddenLegendIds(e),o(r.legend.selectAll(t.selectorLegends(e)).style("visibility",null)).style("opacity",null)},hideLegend(e){const t=this,{config:n,$el:{legend:r}}=t;n.legend_show&&Ta(e)&&(n.legend_show=!1,r.style("visibility","hidden")),t.addHiddenLegendIds(e),r.selectAll(t.selectorLegends(e)).style("opacity","0").style("visibility","hidden")},getLegendItemTextBox(e,t){const n=this,{cache:r,state:o}=n;let i;const a=_s;return e&&(i=!o.redrawing&&r.get(a)||{},i[e]||(i[e]=n.getTextRect(t,Fn.legendItem),r.add(a,i)),i=i[e]),i},setLegendItem(e){const t=this,{$el:n,api:r,config:o,state:i}=t,a="touch"===i.inputType,s=t.hasType("gauge"),l=o.boost_useCssRule,c=o.legend_item_interaction;e.attr("class",(function(e){const n=be(this);return(!n.empty()&&n.attr("class")||"")+t.generateClass(Fn.legendItem,e)})).style("visibility",(e=>t.isLegendToShow(e)?null:"hidden")),o.interaction_enabled&&(l&&[[`.${Fn.legendItem}`,"cursor:pointer"],[`.${Fn.legendItem} text`,"pointer-events:none"],[`.${Fn.legendItemPoint} text`,"pointer-events:none"],[`.${Fn.legendItemTile}`,"pointer-events:none"],[`.${Fn.legendItemEvent}`,"fill-opacity:0"]].forEach((e=>{const[r,o]=e;t.setCssRule(!1,r,[o])(n.legend)})),e.on(c.dblclick?"dblclick":"click",c||ya(o.legend_item_onclick)?function(e,n){if(!Da(o.legend_item_onclick,r,n)){const{altKey:t,target:o,type:a}=e;"dblclick"===a||t?i.hiddenTargetIds.length&&-1===o.parentNode.getAttribute("class").indexOf(Fn.legendItemHidden)?r.show():(r.hide(),r.show(n)):(r.toggle(n),be(this).classed(Vn.legendItemFocused,!1))}a&&t.hideTooltip()}:null),!a&&e.on("mouseout",c||ya(o.legend_item_onout)?function(e,n){Da(o.legend_item_onout,r,n)||(be(this).classed(Vn.legendItemFocused,!1),s&&t.undoMarkOverlapped(t,`.${zn.gaugeValue}`),t.api.revert())}:null).on("mouseover",c||ya(o.legend_item_onover)?function(e,n){Da(o.legend_item_onover,r,n)||(be(this).classed(Vn.legendItemFocused,!0),s&&t.markOverlapped(n,t,`.${zn.gaugeValue}`),!i.transiting&&t.isTargetToShow(n)&&r.focus(n))}:null),!e.empty()&&e.on("click mouseout mouseover")&&e.style("cursor",t.getStylePropValue("pointer")))},updateLegendElement(e,t){const n=this,{config:r,state:o,$el:{legend:i},$T:a}=n,s="circle"!==r.legend_item_tile_type,l=r.legend_item_tile_r,c={width:s?r.legend_item_tile_width:2*l,height:s?r.legend_item_tile_height:2*l},u={padding:{top:4,right:10},max:{width:0,height:0},posMin:10,step:0,tileWidth:c.width+5,totalLength:0},d={offsets:{},widths:{},heights:{},margins:[0],steps:{}};let p,f,h;const m=e.filter((e=>!Aa(r.data_names[e])||null!==r.data_names[e])),g=t.withTransition,v=n.getUpdateLegendPositions(m,u,d);o.isLegendInset&&(u.step=r.legend_inset_step?r.legend_inset_step:m.length,n.updateLegendStep(u.step)),o.isLegendRight?(p=e=>u.max.width*d.steps[e],f=e=>d.margins[d.steps[e]]+d.offsets[e]):o.isLegendInset?(p=e=>u.max.width*d.steps[e]+10,f=e=>d.margins[d.steps[e]]+d.offsets[e]):(p=e=>d.margins[d.steps[e]]+d.offsets[e],f=e=>u.max.height*d.steps[e]);const y={xText:(e,t)=>p(e,t)+4+c.width,xRect:(e,t)=>p(e,t),x1Tile:(e,t)=>p(e,t)-2,x2Tile:(e,t)=>p(e,t)-2+c.width,yText:(e,t)=>f(e,t)+9,yRect:(e,t)=>f(e,t)-5,yTile:(e,t)=>f(e,t)+4};n.generateLegendItem(m,c,v,y),h=i.select(`.${Fn.legendBackground} rect`),o.isLegendInset&&u.max.width>0&&0===h.size()&&(h=i.insert("g",`.${Fn.legendItem}`).attr("class",Fn.legendBackground).append("rect")),r.legend_tooltip&&i.selectAll("title").data(m).text((e=>Rl.bind(n)(e,!1)));const b=i.selectAll("text").data(m).text((e=>Rl.bind(n)(e))).each((function(e,t){v(this,e,t)}));a(b,g).attr("x",y.xText).attr("y",y.yText),a(i.selectAll(`rect.${Fn.legendItemEvent}`).data(m),g).attr("width",(e=>d.widths[e])).attr("height",(e=>d.heights[e])).attr("x",y.xRect).attr("y",y.yRect),n.updateLegendItemPos(m,g,y),h&&a(h,g).attr("height",n.getLegendHeight()-12).attr("width",u.max.width*(u.step+1)+10),n.updateLegendItemWidth(u.max.width),n.updateLegendItemHeight(u.max.height),n.updateLegendStep(u.step)},getUpdateLegendPositions(e,t,n){const r=this,{config:o,state:i}=r,a=i.isLegendRight||i.isLegendInset;return function(s,l,c){const u=0===c,d=c===e.length-1,p=r.getLegendItemTextBox(l,s),f=p.width+t.tileWidth+(d&&!a?0:t.padding.right)+o.legend_padding,h=p.height+t.padding.top,m=a?h:f,g=a?r.getLegendHeight():r.getLegendWidth();let v;const y=function(e,r){r||(v=(g-t.totalLength-m)/2,v<t.posMin&&(v=(g-m)/2,t.totalLength=0,t.step++)),n.steps[e]=t.step,n.margins[t.step]=i.isLegendInset?10:v,n.offsets[e]=t.totalLength,t.totalLength+=m};if(u&&(t.totalLength=0,t.step=0,t.max.width=0,t.max.height=0),o.legend_show&&!r.isLegendToShow(l))return n.widths[l]=0,n.heights[l]=0,n.steps[l]=0,void(n.offsets[l]=0);n.widths[l]=f,n.heights[l]=h,(!t.max.width||f>=t.max.width)&&(t.max.width=f),(!t.max.height||h>=t.max.height)&&(t.max.height=h);const b=a?t.max.height:t.max.width;o.legend_equally?(Object.keys(n.widths).forEach((e=>n.widths[e]=t.max.width)),Object.keys(n.heights).forEach((e=>n.heights[e]=t.max.height)),v=(g-b*e.length)/2,v<t.posMin?(t.totalLength=0,t.step=0,e.forEach((e=>y(e)))):y(l,!0)):y(l)}},generateLegendItem(e,t,n,r){const o=this,{config:i,state:a,$el:{legend:s}}=o,l=i.legend_usePoint,c=i.legend_item_tile_r,u=i.legend_item_tile_type,d="circle"!==u,p=a.isLegendRight||a.isLegendInset,f=-200,h=s.selectAll(`.${Fn.legendItem}`).data(e).enter().append("g");if(o.setLegendItem(h),i.legend_tooltip&&h.append("title").text((e=>e)),h.append("text").text((e=>Rl.bind(o)(e))).each((function(e,t){n(this,e,t)})).style("pointer-events",o.getStylePropValue("none")).attr("x",p?r.xText:f).attr("y",p?f:r.yText),h.append("rect").attr("class",Fn.legendItemEvent).style("fill-opacity",o.getStylePropValue("0")).attr("x",p?r.xRect:f).attr("y",p?f:r.yRect),l){const e=[];h.append((t=>{const n=Ma(i.point_pattern)?i.point_pattern:[i.point_type];-1===e.indexOf(t)&&e.push(t);let r=n[e.indexOf(t)%n.length];return"rectangle"===r&&(r="rect"),aa.createElementNS(k.svg,"hasValidPointType"in o&&o.hasValidPointType(r)?r:"use")})).attr("class",Fn.legendItemPoint).style("fill",Dl.bind(o)).style("pointer-events",o.getStylePropValue("none")).attr("href",((e,t,n)=>{const r=n[t].nodeName.toLowerCase(),i=o.getTargetSelectorSuffix(e);return"use"===r?`#${a.datetimeId}-point${i}`:void 0}))}else h.append(d?"line":u).attr("class",Fn.legendItemTile).style("stroke",Dl.bind(o)).style("pointer-events",o.getStylePropValue("none")).call((e=>{"circle"===u?e.attr("r",c).style("fill",Dl.bind(o)).attr("cx",p?r.x2Tile:f).attr("cy",p?f:r.yTile):d&&e.attr("stroke-width",t.height).attr("x1",p?r.x1Tile:f).attr("y1",p?f:r.yTile).attr("x2",p?r.x2Tile:f).attr("y2",p?f:r.yTile)}))},updateLegendItemPos(e,t,n){const r=this,{config:o,$el:{legend:i},$T:a}=r,s=o.legend_usePoint,l=o.legend_item_tile_type,c="circle"!==l;s?a(i.selectAll(`.${Fn.legendItemPoint}`).data(e),t).each((function(){const e=this.nodeName.toLowerCase(),t=o.point_r;let r="x",i="y",a=2,s=2.5,l=null,c=null,u=null;if("circle"===e){const e=.2*t;r="cx",i="cy",l=t+e,a=2*t,s=-e}else if("rect"===e){const e=2.5*t;c=e,u=e,s=3}be(this).attr(r,(e=>n.x1Tile(e)+a)).attr(i,(e=>n.yTile(e)-s)).attr("r",l).attr("width",c).attr("height",u)})):a(i.selectAll(`.${Fn.legendItemTile}`).data(e),t).style("stroke",Dl.bind(r)).call((e=>{"circle"===l?e.attr("cx",(e=>{const t=n.x2Tile(e);return t-(t-n.x1Tile(e))/2})).attr("cy",n.yTile):c&&e.attr("x1",n.x1Tile).attr("y1",n.yTile).attr("x2",n.x2Tile).attr("y2",n.yTile)}))}},Nl={redraw(e={}){var t,n,r,o;const i=this,{config:a,state:s,$el:l}=i,{main:c,treemap:u}=l;s.redrawing=!0;const d=i.filterTargetsToShow(i.data.targets),{flow:p,initializing:f}=e,h=i.getWithOption(e),m=h.Transition?a.transition_duration:0,g=h.TransitionForExit?m:0,v=h.TransitionForAxis?m:0,y=null==(t=i.axis)?void 0:t.generateTransitions(v);i.updateSizes(f),h.Legend&&a.legend_show?(e.withTransition=!!m,!u&&i.updateLegend(i.mapToIds(i.data.targets),e,y)):h.Dimension&&i.updateDimension(!0),a.data_empty_label_text&&c.select(`text.${Jn.text}.${Pn.empty}`).attr("x",s.width/2).attr("y",s.height/2).text(a.data_empty_label_text).style("display",d.length?"none":null),s.hasAxis?(i.axis.redrawAxis(d,h,y,p,f),i.hasGrid()&&i.updateGrid(),a.regions.length&&i.updateRegion(),["bar","candlestick","line","area"].forEach((e=>{const t=Ua(e);(/^(line|area)$/.test(e)&&i.hasTypeOf(t)||i.hasType(e))&&i[`update${t}`](h.TransitionForExit)})),l.text&&c.selectAll(`.${Xn.selectedCircles}`).filter(i.isBarType.bind(i)).selectAll("circle").remove(),a.interaction_enabled&&!p&&h.EventRect&&(i.redrawEventRect(),null==(n=i.bindZoomEvent)||n.call(i))):(l.arcs&&i.redrawArc(m,g,h.Transform),l.radar&&i.redrawRadar(),l.polar&&i.redrawPolar(),l.funnel&&i.redrawFunnel(),u&&i.updateTreemap(g)),s.resizing||u||!i.hasPointType()&&!s.hasRadar?(null==(r=i.hasLegendDefsPoint)?void 0:r.call(i))&&i.data.targets.forEach(i.point("create",this)):i.updateCircle(),i.hasDataLabel()&&!i.hasArcType(null,["radar"])&&i.updateText(),null==(o=i.redrawTitle)||o.call(i),f&&i.updateTypesElements(),i.generateRedrawList(d,p,m,h.Subchart),i.updateTooltipOnRedraw(),i.callPluginHook("$redraw",e,m)},generateRedrawList(e,t,n,r){const o=this,{config:i,state:a}=o,s=o.getDrawShape();a.hasAxis&&i.subchart_show&&o.redrawSubchart(r,n,s);const l=t&&o.generateFlow({targets:e,flow:t,duration:t.duration,shape:s,xv:o.xv.bind(o)}),c=(n||l)&&os(),u=o.getRedrawList(s,t,l,c),d=()=>{l&&l(),a.redrawing=!1,Da(i.onrendered,o.api)};if(d)if(c&&u.length){const e=Ls();Mi().duration(n).each((()=>{u.reduce(((e,t)=>e.concat(t)),[]).forEach((t=>e.add(t)))})).call(e,d)}else a.transiting||d();o.mapToIds(o.data.targets).forEach((e=>{a.withoutFadeIn[e]=!0}))},getRedrawList(e,t,n,r){const o=this,{config:i,state:{hasAxis:a,hasRadar:s,hasTreemap:l},$el:{grid:c}}=o,{cx:u,cy:d,xForText:p,yForText:f}=e.pos,h=[];return a&&((i.grid_x_lines.length||i.grid_y_lines.length)&&h.push(o.redrawGrid(r)),i.regions.length&&h.push(o.redrawRegion(r)),Object.keys(e.type).forEach((t=>{const n=Ua(t),i=e.type[t];(/^(area|line)$/.test(t)&&o.hasTypeOf(n)||o.hasType(t))&&h.push(o[`redraw${n}`](i,r))})),!t&&c.main&&h.push(o.updateGridFocus())),o.hasArcType()&&!s||Ma(i.data_labels)&&!1!==i.data_labels&&h.push(o.redrawText(p,f,t,r)),!o.hasPointType()&&!s||o.isPointFocusOnly()||o.redrawCircle&&h.push(o.redrawCircle(u,d,r,n)),l&&h.push(o.redrawTreemap(r)),h},updateAndRedraw(e={}){const t=this,{config:n,state:r}=t;let o;e.withTransition=Ea(e,"withTransition",!0),e.withTransform=Ea(e,"withTransform",!1),e.withLegend=Ea(e,"withLegend",!1),e.withUpdateXDomain=!0,e.withUpdateOrgXDomain=!0,e.withTransitionForExit=!1,e.withTransitionForTransform=Ea(e,"withTransitionForTransform",e.withTransition),e.withLegend&&n.legend_show||(r.hasAxis&&(o=t.axis.generateTransitions(e.withTransitionForAxis?n.transition_duration:0)),t.updateScales(),t.updateSvgSize(),t.transformAll(e.withTransitionForTransform,o)),t.redraw(e,o)}};const Ll=Math.sqrt(50),jl=Math.sqrt(10),$l=Math.sqrt(2);function zl(e,t,n){const r=(t-e)/Math.max(0,n),o=Math.floor(Math.log10(r)),i=r/Math.pow(10,o),a=i>=Ll?10:i>=jl?5:i>=$l?2:1;let s,l,c;return o<0?(c=Math.pow(10,-o)/a,s=Math.round(e*c),l=Math.round(t*c),s/c<e&&++s,l/c>t&&--l,c=-c):(c=Math.pow(10,o)*a,s=Math.round(e/c),l=Math.round(t/c),s*c<e&&++s,l*c>t&&--l),l<s&&.5<=n&&n<2?zl(e,t,2*n):[s,l,c]}function Fl(e,t,n){if(!((n=+n)>0))return[];if((e=+e)==(t=+t))return[e];const r=t<e,[o,i,a]=r?zl(t,e,n):zl(e,t,n);if(!(i>=o))return[];const s=i-o+1,l=new Array(s);if(r)if(a<0)for(let e=0;e<s;++e)l[e]=(i-e)/-a;else for(let e=0;e<s;++e)l[e]=(i-e)*a;else if(a<0)for(let e=0;e<s;++e)l[e]=(o+e)/-a;else for(let e=0;e<s;++e)l[e]=(o+e)*a;return l}function Bl(e,t,n){return zl(e=+e,t=+t,n=+n)[2]}function Hl(e,t,n){n=+n;const r=(t=+t)<(e=+e),o=r?Bl(t,e,n):Bl(e,t,n);return(r?-1:1)*(o<0?1/-o:o)}function Vl(e,t){return null==e||null==t?NaN:e<t?-1:e>t?1:e>=t?0:NaN}function Wl(e,t){return null==e||null==t?NaN:t<e?-1:t>e?1:t>=e?0:NaN}function Ul(e){let t,n,r;function o(e,r,o=0,i=e.length){if(o<i){if(0!==t(r,r))return i;do{const t=o+i>>>1;n(e[t],r)<0?o=t+1:i=t}while(o<i)}return o}return 2!==e.length?(t=Vl,n=(t,n)=>Vl(e(t),n),r=(t,n)=>e(t)-n):(t=e===Vl||e===Wl?e:ql,n=e,r=e),{left:o,center:function(e,t,n=0,i=e.length){const a=o(e,t,n,i-1);return a>n&&r(e[a-1],t)>-r(e[a],t)?a-1:a},right:function(e,r,o=0,i=e.length){if(o<i){if(0!==t(r,r))return i;do{const t=o+i>>>1;n(e[t],r)<=0?o=t+1:i=t}while(o<i)}return o}}}function ql(){return 0}const Gl=Ul(Vl),Yl=Gl.right;Gl.left,Ul((function(e){return null===e?NaN:+e})).center;var Xl=Yl;function Kl(e,t){return e=+e,t=+t,function(n){return Math.round(e*(1-n)+t*n)}}function Zl(e){return+e}var Jl=[0,1];function Ql(e){return e}function ec(e,t){return(t-=e=+e)?function(n){return(n-e)/t}:function(e){return function(){return e}}(isNaN(t)?NaN:.5)}function tc(e,t,n){var r=e[0],o=e[1],i=t[0],a=t[1];return o<r?(r=ec(o,r),i=n(a,i)):(r=ec(r,o),i=n(i,a)),function(e){return i(r(e))}}function nc(e,t,n){var r=Math.min(e.length,t.length)-1,o=new Array(r),i=new Array(r),a=-1;for(e[r]<e[0]&&(e=e.slice().reverse(),t=t.slice().reverse());++a<r;)o[a]=ec(e[a],e[a+1]),i[a]=n(t[a],t[a+1]);return function(t){var n=Xl(e,t,1,r)-1;return i[n](o[n](t))}}function rc(e,t){return t.domain(e.domain()).range(e.range()).interpolate(e.interpolate()).clamp(e.clamp()).unknown(e.unknown())}function oc(){var e,t,n,r,o,i,a=Jl,s=Jl,l=xo,c=Ql;function u(){var e,t,n,l=Math.min(a.length,s.length);return c!==Ql&&(e=a[0],t=a[l-1],e>t&&(n=e,e=t,t=n),c=function(n){return Math.max(e,Math.min(t,n))}),r=l>2?nc:tc,o=i=null,d}function d(t){return null==t||isNaN(t=+t)?n:(o||(o=r(a.map(e),s,l)))(e(c(t)))}return d.invert=function(n){return c(t((i||(i=r(s,a.map(e),mo)))(n)))},d.domain=function(e){return arguments.length?(a=Array.from(e,Zl),u()):a.slice()},d.range=function(e){return arguments.length?(s=Array.from(e),u()):s.slice()},d.rangeRound=function(e){return s=Array.from(e),l=Kl,u()},d.clamp=function(e){return arguments.length?(c=!!e||Ql,u()):c!==Ql},d.interpolate=function(e){return arguments.length?(l=e,u()):l},d.unknown=function(e){return arguments.length?(n=e,d):n},function(n,r){return e=n,t=r,u()}}function ic(){return oc()(Ql,Ql)}var ac,sc=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function lc(e){if(!(t=sc.exec(e)))throw new Error("invalid format: "+e);var t;return new cc({fill:t[1],align:t[2],sign:t[3],symbol:t[4],zero:t[5],width:t[6],comma:t[7],precision:t[8]&&t[8].slice(1),trim:t[9],type:t[10]})}function cc(e){this.fill=void 0===e.fill?" ":e.fill+"",this.align=void 0===e.align?">":e.align+"",this.sign=void 0===e.sign?"-":e.sign+"",this.symbol=void 0===e.symbol?"":e.symbol+"",this.zero=!!e.zero,this.width=void 0===e.width?void 0:+e.width,this.comma=!!e.comma,this.precision=void 0===e.precision?void 0:+e.precision,this.trim=!!e.trim,this.type=void 0===e.type?"":e.type+""}function uc(e,t){if((n=(e=t?e.toExponential(t-1):e.toExponential()).indexOf("e"))<0)return null;var n,r=e.slice(0,n);return[r.length>1?r[0]+r.slice(2):r,+e.slice(n+1)]}function dc(e){return(e=uc(Math.abs(e)))?e[1]:NaN}function pc(e,t){var n=uc(e,t);if(!n)return e+"";var r=n[0],o=n[1];return o<0?"0."+new Array(-o).join("0")+r:r.length>o+1?r.slice(0,o+1)+"."+r.slice(o+1):r+new Array(o-r.length+2).join("0")}lc.prototype=cc.prototype,cc.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(void 0===this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(void 0===this.precision?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type};var fc={"%":(e,t)=>(100*e).toFixed(t),b:e=>Math.round(e).toString(2),c:e=>e+"",d:function(e){return Math.abs(e=Math.round(e))>=1e21?e.toLocaleString("en").replace(/,/g,""):e.toString(10)},e:(e,t)=>e.toExponential(t),f:(e,t)=>e.toFixed(t),g:(e,t)=>e.toPrecision(t),o:e=>Math.round(e).toString(8),p:(e,t)=>pc(100*e,t),r:pc,s:function(e,t){var n=uc(e,t);if(!n)return e+"";var r=n[0],o=n[1],i=o-(ac=3*Math.max(-8,Math.min(8,Math.floor(o/3))))+1,a=r.length;return i===a?r:i>a?r+new Array(i-a+1).join("0"):i>0?r.slice(0,i)+"."+r.slice(i):"0."+new Array(1-i).join("0")+uc(e,Math.max(0,t+i-1))[0]},X:e=>Math.round(e).toString(16).toUpperCase(),x:e=>Math.round(e).toString(16)};function hc(e){return e}var mc,gc,vc,yc=Array.prototype.map,bc=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function xc(e){var t,n,r=void 0===e.grouping||void 0===e.thousands?hc:(t=yc.call(e.grouping,Number),n=e.thousands+"",function(e,r){for(var o=e.length,i=[],a=0,s=t[0],l=0;o>0&&s>0&&(l+s+1>r&&(s=Math.max(1,r-l)),i.push(e.substring(o-=s,o+s)),!((l+=s+1)>r));)s=t[a=(a+1)%t.length];return i.reverse().join(n)}),o=void 0===e.currency?"":e.currency[0]+"",i=void 0===e.currency?"":e.currency[1]+"",a=void 0===e.decimal?".":e.decimal+"",s=void 0===e.numerals?hc:function(e){return function(t){return t.replace(/[0-9]/g,(function(t){return e[+t]}))}}(yc.call(e.numerals,String)),l=void 0===e.percent?"%":e.percent+"",c=void 0===e.minus?"−":e.minus+"",u=void 0===e.nan?"NaN":e.nan+"";function d(e){var t=(e=lc(e)).fill,n=e.align,d=e.sign,p=e.symbol,f=e.zero,h=e.width,m=e.comma,g=e.precision,v=e.trim,y=e.type;"n"===y?(m=!0,y="g"):fc[y]||(void 0===g&&(g=12),v=!0,y="g"),(f||"0"===t&&"="===n)&&(f=!0,t="0",n="=");var b="$"===p?o:"#"===p&&/[boxX]/.test(y)?"0"+y.toLowerCase():"",x="$"===p?i:/[%p]/.test(y)?l:"",w=fc[y],A=/[defgprs%]/.test(y);function _(e){var o,i,l,p=b,_=x;if("c"===y)_=w(e)+_,e="";else{var S=(e=+e)<0||1/e<0;if(e=isNaN(e)?u:w(Math.abs(e),g),v&&(e=function(e){e:for(var t,n=e.length,r=1,o=-1;r<n;++r)switch(e[r]){case".":o=t=r;break;case"0":0===o&&(o=r),t=r;break;default:if(!+e[r])break e;o>0&&(o=0)}return o>0?e.slice(0,o)+e.slice(t+1):e}(e)),S&&0==+e&&"+"!==d&&(S=!1),p=(S?"("===d?d:c:"-"===d||"("===d?"":d)+p,_=("s"===y?bc[8+ac/3]:"")+_+(S&&"("===d?")":""),A)for(o=-1,i=e.length;++o<i;)if(48>(l=e.charCodeAt(o))||l>57){_=(46===l?a+e.slice(o+1):e.slice(o))+_,e=e.slice(0,o);break}}m&&!f&&(e=r(e,1/0));var k=p.length+e.length+_.length,C=k<h?new Array(h-k+1).join(t):"";switch(m&&f&&(e=r(C+e,C.length?h-_.length:1/0),C=""),n){case"<":e=p+e+_+C;break;case"=":e=p+C+e+_;break;case"^":e=C.slice(0,k=C.length>>1)+p+e+_+C.slice(k);break;default:e=C+p+e+_}return s(e)}return g=void 0===g?6:/[gprs]/.test(y)?Math.max(1,Math.min(21,g)):Math.max(0,Math.min(20,g)),_.toString=function(){return e+""},_}return{format:d,formatPrefix:function(e,t){var n=d(((e=lc(e)).type="f",e)),r=3*Math.max(-8,Math.min(8,Math.floor(dc(t)/3))),o=Math.pow(10,-r),i=bc[8+r/3];return function(e){return n(o*e)+i}}}}function wc(e,t,n,r){var o,i=Hl(e,t,n);switch((r=lc(null==r?",f":r)).type){case"s":var a=Math.max(Math.abs(e),Math.abs(t));return null!=r.precision||isNaN(o=function(e,t){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(dc(t)/3)))-dc(Math.abs(e)))}(i,a))||(r.precision=o),vc(r,a);case"":case"e":case"g":case"p":case"r":null!=r.precision||isNaN(o=function(e,t){return e=Math.abs(e),t=Math.abs(t)-e,Math.max(0,dc(t)-dc(e))+1}(i,Math.max(Math.abs(e),Math.abs(t))))||(r.precision=o-("e"===r.type));break;case"f":case"%":null!=r.precision||isNaN(o=function(e){return Math.max(0,-dc(Math.abs(e)))}(i))||(r.precision=o-2*("%"===r.type))}return gc(r)}function Ac(e){var t=e.domain;return e.ticks=function(e){var n=t();return Fl(n[0],n[n.length-1],null==e?10:e)},e.tickFormat=function(e,n){var r=t();return wc(r[0],r[r.length-1],null==e?10:e,n)},e.nice=function(n){null==n&&(n=10);var r,o,i=t(),a=0,s=i.length-1,l=i[a],c=i[s],u=10;for(c<l&&(o=l,l=c,c=o,o=a,a=s,s=o);u-- >0;){if((o=Bl(l,c,n))===r)return i[a]=l,i[s]=c,t(i);if(o>0)l=Math.floor(l/o)*o,c=Math.ceil(c/o)*o;else{if(!(o<0))break;l=Math.ceil(l*o)/o,c=Math.floor(c*o)/o}r=o}return e},e}function _c(){var e=ic();return e.copy=function(){return rc(e,_c())},Sl.apply(e,arguments),Ac(e)}function Sc(e){return function(t){return Math.sign(t)*Math.log1p(Math.abs(t/e))}}function kc(e){return function(t){return Math.sign(t)*Math.expm1(Math.abs(t))*e}}function Cc(){var e=function(e){var t=1,n=e(Sc(t),kc(t));return n.constant=function(n){return arguments.length?e(Sc(t=+n),kc(t)):t},Ac(n)}(oc());return e.copy=function(){return rc(e,Cc()).constant(e.constant())},Sl.apply(e,arguments)}function Tc(e,t){var n,r=0,o=(e=e.slice()).length-1,i=e[r],a=e[o];return a<i&&(n=r,r=o,o=n,n=i,i=a,a=n),e[r]=t.floor(i),e[o]=t.ceil(a),e}function Mc(e){return Math.log(e)}function Pc(e){return Math.exp(e)}function Oc(e){return-Math.log(-e)}function Ec(e){return-Math.exp(-e)}function Dc(e){return isFinite(e)?+("1e"+e):e<0?0:e}function Rc(e){return(t,n)=>-e(-t,n)}function Ic(e){const t=e(Mc,Pc),n=t.domain;let r,o,i=10;function a(){return r=function(e){return e===Math.E?Math.log:10===e&&Math.log10||2===e&&Math.log2||(e=Math.log(e),t=>Math.log(t)/e)}(i),o=function(e){return 10===e?Dc:e===Math.E?Math.exp:t=>Math.pow(e,t)}(i),n()[0]<0?(r=Rc(r),o=Rc(o),e(Oc,Ec)):e(Mc,Pc),t}return t.base=function(e){return arguments.length?(i=+e,a()):i},t.domain=function(e){return arguments.length?(n(e),a()):n()},t.ticks=e=>{const t=n();let a=t[0],s=t[t.length-1];const l=s<a;l&&([a,s]=[s,a]);let c,u,d=r(a),p=r(s);const f=null==e?10:+e;let h=[];if(!(i%1)&&p-d<f){if(d=Math.floor(d),p=Math.ceil(p),a>0){for(;d<=p;++d)for(c=1;c<i;++c)if(u=d<0?c/o(-d):c*o(d),!(u<a)){if(u>s)break;h.push(u)}}else for(;d<=p;++d)for(c=i-1;c>=1;--c)if(u=d>0?c/o(-d):c*o(d),!(u<a)){if(u>s)break;h.push(u)}2*h.length<f&&(h=Fl(a,s,f))}else h=Fl(d,p,Math.min(p-d,f)).map(o);return l?h.reverse():h},t.tickFormat=(e,n)=>{if(null==e&&(e=10),null==n&&(n=10===i?"s":","),"function"!=typeof n&&(i%1||null!=(n=lc(n)).precision||(n.trim=!0),n=gc(n)),e===1/0)return n;const a=Math.max(1,i*e/t.ticks().length);return e=>{let t=e/o(Math.round(r(e)));return t*i<i-.5&&(t*=i),t<=a?n(e):""}},t.nice=()=>n(Tc(n(),{floor:e=>o(Math.floor(r(e))),ceil:e=>o(Math.ceil(r(e)))})),t}function Nc(){const e=Ic(oc()).domain([1,10]);return e.copy=()=>rc(e,Nc()).base(e.base()),Sl.apply(e,arguments),e}!function(e){mc=xc(e),gc=mc.format,vc=mc.formatPrefix}({thousands:",",grouping:[3],currency:["$",""]});const Lc=Ae((()=>{}),((e,t)=>{e.setTime(+e+t)}),((e,t)=>t-e));Lc.every=e=>(e=Math.floor(e),isFinite(e)&&e>0?e>1?Ae((t=>{t.setTime(Math.floor(t/e)*e)}),((t,n)=>{t.setTime(+t+n*e)}),((t,n)=>(n-t)/e)):Lc:null),Lc.range;const jc=Ae((e=>{e.setTime(e-e.getMilliseconds())}),((e,t)=>{e.setTime(+e+t*_e)}),((e,t)=>(t-e)/_e),(e=>e.getUTCSeconds())),$c=(jc.range,Ae((e=>{e.setTime(e-e.getMilliseconds()-e.getSeconds()*_e)}),((e,t)=>{e.setTime(+e+t*Se)}),((e,t)=>(t-e)/Se),(e=>e.getMinutes()))),zc=($c.range,Ae((e=>{e.setUTCSeconds(0,0)}),((e,t)=>{e.setTime(+e+t*Se)}),((e,t)=>(t-e)/Se),(e=>e.getUTCMinutes()))),Fc=(zc.range,Ae((e=>{e.setTime(e-e.getMilliseconds()-e.getSeconds()*_e-e.getMinutes()*Se)}),((e,t)=>{e.setTime(+e+t*ke)}),((e,t)=>(t-e)/ke),(e=>e.getHours()))),Bc=(Fc.range,Ae((e=>{e.setUTCMinutes(0,0,0)}),((e,t)=>{e.setTime(+e+t*ke)}),((e,t)=>(t-e)/ke),(e=>e.getUTCHours()))),Hc=(Bc.range,Ae((e=>{e.setDate(1),e.setHours(0,0,0,0)}),((e,t)=>{e.setMonth(e.getMonth()+t)}),((e,t)=>t.getMonth()-e.getMonth()+12*(t.getFullYear()-e.getFullYear())),(e=>e.getMonth()))),Vc=(Hc.range,Ae((e=>{e.setUTCDate(1),e.setUTCHours(0,0,0,0)}),((e,t)=>{e.setUTCMonth(e.getUTCMonth()+t)}),((e,t)=>t.getUTCMonth()-e.getUTCMonth()+12*(t.getUTCFullYear()-e.getUTCFullYear())),(e=>e.getUTCMonth())));function Wc(e,t,n,r,o,i){const a=[[jc,1,_e],[jc,5,5e3],[jc,15,15e3],[jc,30,3e4],[i,1,Se],[i,5,3e5],[i,15,9e5],[i,30,18e5],[o,1,ke],[o,3,108e5],[o,6,216e5],[o,12,432e5],[r,1,Ce],[r,2,1728e5],[n,1,Te],[t,1,Me],[t,3,7776e6],[e,1,Pe]];function s(t,n,r){const o=Math.abs(n-t)/r,i=Ul((([,,e])=>e)).right(a,o);if(i===a.length)return e.every(Hl(t/Pe,n/Pe,r));if(0===i)return Lc.every(Math.max(Hl(t,n,r),1));const[s,l]=a[o/a[i-1][2]<a[i][2]/o?i-1:i];return s.every(l)}return[function(e,t,n){const r=t<e;r&&([e,t]=[t,e]);const o=n&&"function"==typeof n.range?n:s(e,t,n),i=o?o.range(e,+t+1):[];return r?i.reverse():i},s]}Vc.range;const[Uc,qc]=Wc(Ke,Vc,ze,Ye,Bc,zc),[Gc,Yc]=Wc(Xe,Hc,Ee,qe,Fc,$c);function Xc(e){return new Date(e)}function Kc(e){return e instanceof Date?+e:+new Date(+e)}function Zc(e,t,n,r,o,i,a,s,l,c){var u=ic(),d=u.invert,p=u.domain,f=c(".%L"),h=c(":%S"),m=c("%I:%M"),g=c("%I %p"),v=c("%a %d"),y=c("%b %d"),b=c("%B"),x=c("%Y");function w(e){return(l(e)<e?f:s(e)<e?h:a(e)<e?m:i(e)<e?g:r(e)<e?o(e)<e?v:y:n(e)<e?b:x)(e)}return u.invert=function(e){return new Date(d(e))},u.domain=function(e){return arguments.length?p(Array.from(e,Kc)):p().map(Xc)},u.ticks=function(t){var n=p();return e(n[0],n[n.length-1],null==t?10:t)},u.tickFormat=function(e,t){return null==t?w:c(t)},u.nice=function(e){var n=p();return e&&"function"==typeof e.range||(e=t(n[0],n[n.length-1],null==e?10:e)),e?p(Tc(n,e)):u},u.copy=function(){return rc(u,Zc(e,t,n,r,o,i,a,s,l,c))},u}function Jc(){return Sl.apply(Zc(Gc,Yc,Xe,Hc,Ee,qe,Fc,$c,jc,tt).domain([new Date(2e3,0,1),new Date(2e3,0,2)]),arguments)}function Qc(){return Sl.apply(Zc(Uc,qc,Ke,Vc,ze,Ge,Bc,zc,jc,rt).domain([Date.UTC(2e3,0,1),Date.UTC(2e3,0,2)]),arguments)}function eu(e="linear",t=0,n=1){const r={linear:_c,log:Cc,_log:Nc,time:Jc,utc:Qc}[e]();return r.type=e,/_?log/.test(e)&&r.clamp(!0),r.range([t,n])}var tu={getXScale(e,t,n,r){const o=this,i="append"!==o.state.loading&&o.scale.zoom||eu(o.axis.getAxisType("x"),e,t);return o.getCustomizedXScale(n?i.domain(n):i,r)},getYScale(e,t,n,r){const o=eu(this.axis.getAxisType(e),t,n);return r&&o.domain(r),o},getYScaleById(e,t=!1){var n;const r="y2"===(null==(n=this.axis)?void 0:n.getId(e)),o=t?r?"subY2":"subY":r?"y2":"y";return this.scale[o]},getCustomizedXScale(e,t){const n=this,r=t||(()=>n.axis.x.tickOffset()),o=n.config.axis_x_inverted,i=function(t,n){const o=e(t)+r();return n?o:Math.ceil(o)};for(const t in e)i[t]=e[t];return i.orgDomain=()=>e.domain(),i.orgScale=()=>e,n.axis.isCategorized()&&(i.domain=function(t){let n=t;return arguments.length?(e.domain(n),i):(n=this.orgDomain(),o?[n[0]+1,n[1]]:[n[0],n[1]+1])}),i},updateScales(e,t=!0){var n,r;const o=this,{axis:i,config:a,format:s,org:l,scale:c,state:{current:u,width:d,height:p,width2:f,height2:h,hasAxis:m,hasTreemap:g}}=o;if(m){const r=a.axis_rotated,u=o.getResettedPadding(1),m={x:r?u:0,y:r?0:p,subX:r?1:0,subY:r?0:h},g={x:r?p:d,y:r?d:u,subX:r?p:d,subY:r?f:1},v=t&&(null==(n=c.x)?void 0:n.orgDomain()),y=t&&l.xDomain;c.x=o.getXScale(m.x,g.x,v,(()=>i.x.tickOffset())),c.subX=o.getXScale(m.x,g.x,y,(e=>{var t;return e%1?0:(null!=(t=i.subX)?t:i.x).tickOffset()})),s.xAxisTick=i.getXAxisTickFormat(),s.subXAxisTick=i.getXAxisTickFormat(!0),i.setAxis("x",c.x,a.axis_x_tick_outer,e),a.subchart_show&&i.setAxis("subX",c.subX,a.axis_x_tick_outer,e),c.y=o.getYScale("y",m.y,g.y,c.y?c.y.domain():a.axis_y_default),c.subY=o.getYScale("y",m.subY,g.subY,c.subY?c.subY.domain():a.axis_y_default),i.setAxis("y",c.y,a.axis_y_tick_outer,e),a.axis_y2_show&&(c.y2=o.getYScale("y2",m.y,g.y,c.y2?c.y2.domain():a.axis_y2_default),c.subY2=o.getYScale("y2",m.subY,g.subY,c.subY2?c.subY2.domain():a.axis_y2_default),i.setAxis("y2",c.y2,a.axis_y2_tick_outer,e))}else if(g){const e=o.getCurrentPadding();c.x=_c().rangeRound([e.left,u.width-e.right]),c.y=_c().rangeRound([e.top,u.height-e.bottom])}else null==(r=o.updateArc)||r.call(o)},xx(e){const{config:t,scale:{x:n,zoom:r}}=this,o=t.zoom_enabled&&r?r:n;return e?o(va(e.x)?e.x:e):null},xv(e){const t=this,{axis:n,config:r,scale:{x:o,zoom:i}}=t,a=r.zoom_enabled&&i?i:o;let s=t.getBaseValue(e);return n.isTimeSeries()?s=rs.call(t,s):n.isCategorized()&&ba(s)&&(s=r.axis_x_categories.indexOf(s)),Math.ceil(a(s))},yv(e){const{scale:{y:t,y2:n}}=this,r=e.axis&&"y2"===e.axis?n:t;return Math.ceil(r(this.getBaseValue(e)))},subxx(e){return e?this.scale.subX(e.x):null}},nu={setContainerSize(){const e=this,{state:t}=e;t.current.width=e.getCurrentWidth(),t.current.height=e.getCurrentHeight()},getCurrentWidth(){return this.config.size_width||this.getParentWidth()},getCurrentHeight(){const e=this,{config:t}=e,n=t.size_height||e.getParentHeight();return n>0?n:320/(e.hasType("gauge")&&!t.gauge_fullCircle?2:1)},getParentRectValue(e){const t=`offset${Ua(e)}`;let n=this.$el.chart.node(),r=0;for(;r<30&&n&&"BODY"!==n.tagName;){try{r=n.getBoundingClientRect()[e]}catch(e){t in n&&(r=n[t])}n=n.parentNode}const o=aa.body[t];return r>o&&(r=o),r},getParentWidth(){return this.getParentRectValue("width")},getParentHeight(){const e=this.$el.chart.style("height");let t=0;return e&&(t=/px$/.test(e)?parseInt(e,10):this.getParentRectValue("height")),t},getSvgLeft(e){const t=this,{config:n,state:{hasAxis:r},$el:o}=t,i=n.axis_rotated,a=i||!i&&!n.axis_y_inner,s=i?Dn.axisX:Dn.axisY,l=o.main.select(`.${s}`).node(),c=r&&n[`axis_${i?"x":"y"}_label`];let u=0;if(r&&(ba(c)||ba(c.text)||/^inner-/.test(null==c?void 0:c.position))){const e=o.main.select(`.${s}-label`);e.empty()||(u=e.node().getBoundingClientRect().left)}const d=l&&a?l.getBoundingClientRect():{right:0},p=o.chart.node().getBoundingClientRect().left+u,f=t.hasArcType(),h=d.right-p-(f?0:t.getCurrentPaddingByDirection("left",e));return h>0?h:0},updateDimension(e){var t;const n=this,{config:r,state:{hasAxis:o},$el:i}=n;o&&!e&&n.axis.x&&r.axis_rotated&&(null==(t=n.axis.subX)||t.create(i.axis.subX)),n.updateScales(e),n.updateSvgSize(),n.transformAll(!1)},updateSvgSize(){const e=this,{state:{clip:t,current:n,hasAxis:r,width:o,height:i},$el:{svg:a}}=e;if(a.attr("width",n.width).attr("height",n.height),r){const n=a.select(`.${Zn.brush} .overlay`),r={width:0,height:0};n.size()&&(r.width=+n.attr("width"),r.height=+n.attr("height")),a.selectAll([`#${t.id}`,`#${t.idGrid}`]).select("rect").attr("width",o).attr("height",i),a.select(`#${t.idXAxis}`).select("rect").call(e.setXAxisClipPath.bind(e)),a.select(`#${t.idYAxis}`).select("rect").call(e.setYAxisClipPath.bind(e)),t.idSubchart&&a.select(`#${t.idSubchart}`).select("rect").attr("width",o).attr("height",r.height)}},getCurrentPaddingByDirection(e,t=!1,n=!1){var r;const o=this,{config:i,$el:a,state:{hasAxis:s}}=o,l=i.axis_rotated,c="fit"===(null==(r=i.padding)?void 0:r.mode),u=xa(i[`padding_${e}`])?i[`padding_${e}`]:void 0,d=s?{top:l?"y2":null,bottom:l?"y":"x",left:l?"x":"y",right:l?null:"y2"}[e]:null,p=/^(left|right)$/.test(e),f=d&&i[`axis_${d}_inner`],h=d&&i[`axis_${d}_show`],m=d?i[`axis_${d}_axes`].length:0;let g=d?p?o.getAxisWidthByAxisId(d,t):o.getHorizontalAxisHeight(d):0,v=0;var y;!c&&p&&(y=g,g=10*Math.ceil(y/10));let b=s&&p&&(f||wa(u)&&!h)?0:c?(h?g:0)+(null!=u?u:0):wa(u)?g:u;return p&&s?(d&&(c||f)&&i[`axis_${d}_label`].text&&(b+=o.axis.getAxisLabelPosition(d).isOuter?20:0),"right"===e?(b+=l?!c&&wa(u)?10:2:!h||f?c?2:1:0,b+=n?o.axis.getXAxisTickTextY2Overflow(20):0):"left"===e&&l&&wa(u)&&(b=i.axis_x_show?c?g:Math.max(g,40):1)):"top"===e?(a.title&&a.title.node()&&(b+=o.getTitlePadding()),v=l&&!f?m:0):"bottom"===e&&s&&l&&!h&&(b+=1),b+g*m-v},getCurrentPadding(e=!1){const t=this,[n,r,o,i]=["top","bottom","left","right"].map((n=>t.getCurrentPaddingByDirection(n,null,e)));return{top:n,bottom:r,left:o,right:i}},getResettedPadding(e){const{config:t}=this,n=xa(e);let r=n?0:{};return!1===t.padding?!n&&Object.keys(e).forEach((n=>{r[n]=Ta(t.data_labels)||!1===t.data_labels||"top"!==n?0:e[n]})):r=e,r},updateSizes(e){var t,n,r,o,i;const a=this,{config:s,state:l,$el:{legend:c}}=a,u=s.axis_rotated,d=a.hasArcType()||l.hasFunnel||l.hasTreemap,p="fit"===(null==(t=s.padding)?void 0:t.mode);!e&&a.setContainerSize();const f={width:c?a.getLegendWidth():0,height:c?a.getLegendHeight():0};!d&&s.axis_x_show&&s.axis_x_tick_autorotate&&a.updateXAxisTickClip();const h=s.legend_show&&l.isLegendRight?a.getLegendWidth()+(p?0:20):0,m=!s.legend_show||l.isLegendRight||l.isLegendInset?0:f.height,g=u||d?0:a.getHorizontalAxisHeight("x"),v=s.subchart_axis_x_show&&s.subchart_axis_x_tick_text_show?g:30,y=s.subchart_show&&!d?s.subchart_size_height+v:0,b=a.hasType("gauge")&&s.arc_needle_show&&!s.gauge_fullCircle&&!s.gauge_label_show?10:0,x=a.getCurrentPadding(!0);if(l.margin=!d&&u?{top:x.top,right:d?0:x.right+h,bottom:m+x.bottom,left:y+(d?0:x.left)}:{top:(p?0:4)+x.top,right:d?0:x.right+h,bottom:b+y+m+x.bottom,left:d?0:x.left},l.margin=a.getResettedPadding(l.margin),l.margin2=u?{top:l.margin.top,right:NaN,bottom:20+m,left:a.state.rotatedPadding.left}:{top:l.current.height-y-m,right:NaN,bottom:v+m,left:l.margin.left},l.margin3={top:0,right:NaN,bottom:0,left:0},null==(n=a.updateSizeForLegend)||n.call(a,f),l.width=l.current.width-l.margin.left-l.margin.right,l.height=l.current.height-l.margin.top-l.margin.bottom,l.width<0&&(l.width=0),l.height<0&&(l.height=0),l.width2=u?l.margin.left-l.rotatedPadding.left-l.rotatedPadding.right:l.width,l.height2=u?l.height:l.current.height-l.margin2.top-l.margin2.bottom,l.width2<0&&(l.width2=0),l.height2<0&&(l.height2=0),a.hasArcType()){const e=a.hasType("gauge"),t=s.legend_show&&l.isLegendRight,n=null!=(r=l.hasRadar&&a.cache.get(ks))?r:0;l.arcWidth=l.width-(t?f.width+10:0)-n,l.arcHeight=l.height-(t&&!e?0:10),(null==(o=s.arc_rangeText_values)?void 0:o.length)&&(e?(l.arcWidth-=25,l.arcHeight-=10,l.margin.left+=10):(l.arcHeight-=20,l.margin.top+=10)),e&&!s.gauge_fullCircle&&(l.arcHeight+=l.height-a.getPaddingBottomForGauge()),null==(i=a.updateRadius)||i.call(a)}l.isLegendRight&&d&&(l.margin3.left=l.arcWidth/2+1.1*l.radiusExpanded)}},ru={setCssRule(e,t,n,r){const o=this,{config:i,state:{cssRule:a,style:s}}=o;return i.boost_useCssRule?i=>{i.each((i=>{const l=r&&(null==r?void 0:r.call(o,i)),c=`${e?`.${Kn.shapes+o.getTargetSelectorSuffix(i.id)}`:""}${t}`;t in a&&s.sheet.deleteRule(a[c]),o.state.cssRule[c]=function(e,t,n){const{rootSelector:r="",sheet:o}=e,i=`${r} ${a=t,a.replace(/\s?(bb-)/g,".$1").replace(/\.+/g,".")} {${n.join(";")}}`;var a;return o[o.insertRule?"insertRule":"addRule"](i,o.cssRules.length)}(s,c,n.filter(Boolean).map((e=>ba(l)&&-1===e.indexOf(":")?`${e}: ${l}`:e||"")))}))}:()=>{}},getStylePropValue(e){const{config:{boost_useCssRule:t}}=this;return t?null:ya(e)?e.bind(this):e}};function ou(e){return"string"==typeof e?new ge([document.querySelectorAll(e)],[document.documentElement]):new ge([l(e)],me)}function iu(e,t,n,r,o){var i;const{value:a}=e,s=this.isCandlestickType(e),l=xa(a)&&a<0||s&&!(null==(i=this.getCandlestickData(e))?void 0:i._isUp);let{x:c,y:u}=t;return r?"start"===n?(c+=l?0:8,u+=4):"middle"===n?(c+=8,u-=8):"end"===n&&(l&&(c-=8),u+=4):("start"===n?(c+=4,l&&(u+=16)):"middle"===n?u-=8:"end"===n&&(c-=4,l&&(u+=16)),o&&(u+=l?-17:s?13:7)),{x:c,y:u}}function au(e,t){var n;const r=this.config.data_labels_position,{id:o,index:i,value:a}=e;return null!=(n=ya(r)?r.bind(this.api)(t,a,o,i,this.$el.text):(o in r?r[o]:r)[t])?n:0}var su={opacityForText(e){const t=this;return t.isBarType(e)&&!t.meetsLabelThreshold(Math.abs(t.getRatio("bar",e)),"bar")?"0":t.hasDataLabel?null:"0"},initText(){const{$el:e}=this;e.main.select(`.${Pn.chart}`).append("g").attr("class",Jn.chartTexts).style("pointer-events",e.funnel||e.treemap?"none":null)},updateTargetsForText(e){const t=this,n=t.getChartClass("Text"),r=t.getClass("texts","id"),o=t.classFocus.bind(t);t.$el.main.select(`.${Jn.chartTexts}`).selectAll(`.${Jn.chartText}`).data(e).attr("class",(e=>`${n(e)}${o(e)}`.trim())).enter().append("g").style("opacity","0").attr("class",n).call(t.setCssRule(!0,` .${Jn.text}`,["fill","pointer-events:none"],t.updateTextColor)).append("g").attr("class",r)},updateText(){const e=this,{$el:t,$T:n,config:r,axis:o}=e,i=e.getClass("text","index"),a=r.data_labels.centered,s=t.main.selectAll(`.${Jn.texts}`).selectAll(`.${Jn.text}`).data(e.labelishData.bind(e));n(s.exit()).style("fill-opacity","0").remove(),t.text=s.enter().append("text").merge(s).attr("class",i).attr("text-anchor",(t=>{let n=r[`axis_${null==o?void 0:o.getId(t.id)}_inverted`]?t.value>0:t.value<0;if(e.isCandlestickType(t)){const r=e.getCandlestickData(t);n=!(null==r?void 0:r._isUp)}else if(e.isTreemapType(t))return a?"middle":"start";return r.axis_rotated?n?"end":"start":"middle"})).style("fill",e.getStylePropValue(e.updateTextColor)).style("fill-opacity","0").each((function(t,n,r){const o=be(this);let{value:i}=t;if(e.isBubbleZType(t))i=e.getBubbleZData(i,"z");else if(e.isCandlestickType(t)){const n=e.getCandlestickData(t);n&&(i=n.close)}i=e.isTreemapType(t)?e.treemapDataLabelFormat(t)(o):e.dataLabelFormat(t.id)(i,t.id,t.index,r),xa(i)?this.textContent=i:Na(o,i)}))},updateTextColor(e){const t=this,{config:n}=t,r=n.data_labels_colors,o=t.isArcType(e)&&!t.isRadarType(e)||t.isFunnelType(e)||t.isTreemapType(e)?null:t.color(e);let i;if(ba(r))i=r;else if(Oa(r)){const{id:t}=e.data||e;i=r[t]}else ya(r)&&(i=r.bind(t.api)(o,e));if(t.isCandlestickType(e)&&!ya(r)){const r=t.getCandlestickData(e);if(!(null==r?void 0:r._isUp)){const t=n.candlestick_color_down;i=Oa(t)?t[e.id]:t}}return i||o},updateTextBGColor(e,t){const n=this,{$el:r}=n;let o="";if(ba(t)||Oa(t)){const i=ba(t)?"":n.getTargetSelectorSuffix("id"in e?e.id:e.data.id),a=r.defs.select(["filter[id*='labels-bg","']"].join(i));a.size()&&(o=`url(#${a.attr("id")})`)}return o||null},redrawText(e,t,n,r){const o=this,{$T:i,axis:a,config:s,state:{hasTreemap:l}}=o,c=Ba(!0),u=s.axis_rotated,d=s.data_labels.rotate,p=function(e){let t="middle";return e>0&&e<=170?t="end":e>190&&e<=360&&(t="start"),t}(d),f=d?`rotate(${d})`:"";return o.$el.text.style("fill",o.getStylePropValue(o.updateTextColor)).attr("filter",(e=>o.updateTextBGColor.bind(o)(e,s.data_labels_backgroundColors))).style("fill-opacity",n?0:o.opacityForText.bind(o)).each((function(n,h){const m=i(l&&this.childElementCount?this.parentNode:this,!(!r||!this.getAttribute("x")),c),g=s[`axis_${null==a?void 0:a.getId(n.id)}_inverted`];let v={x:e.bind(this)(n,h),y:t.bind(this)(n,h)};d&&(v=iu.bind(o)(n,v,p,u,g),m.attr("text-anchor",p)),this.childElementCount||d?m.attr("transform",`translate(${v.x} ${v.y}) ${f}`):m.attr("x",v.x).attr("y",v.y)})),!0},getTextRect(e,t){const n=this;let r=e.node?e.node():e;/text/i.test(r.tagName)||(r=r.querySelector("text"));const o=r.textContent,i=`${Ms}-${o.replace(/\W/g,"_")}`;let a=n.cache.get(i);return a||(n.$el.svg.append("text").style("visibility","hidden").style("font",be(r).style("font")).classed(t,!0).text(o).call((e=>{a=Fa(e.node())})).remove(),n.cache.add(i,a)),a},generateXYForText(e,t){const n=this,{state:{hasRadar:r,hasFunnel:o,hasTreemap:i}}=n,a=Object.keys(e),s={},l=t?n.getXForText:n.getYForText;return o&&a.push("funnel"),r&&a.push("radar"),i&&a.push("treemap"),a.forEach((t=>{s[t]=n[`generateGet${Ua(t)}Points`](e[t],!1)})),function(e,t){const r=(n.isAreaType(e)?"area":n.isBarType(e)&&"bar")||n.isCandlestickType(e)&&"candlestick"||n.isFunnelType(e)&&"funnel"||n.isRadarType(e)&&"radar"||n.isTreemapType(e)&&"treemap"||"line";return l.call(n,s[r](e,t),e,this)}},getCenteredTextPos(e,t,n,r){const o=this,{config:i}=o,a=i.axis_rotated,s=o.isBarType(e),l=o.isTreemapType(e);if(i.data_labels.centered&&(s||l)){const i=Fa(n);if(s){const n=o.getRangedData(e,null,"bar")>=0;if(a){const e=(n?t[1][1]-t[0][1]:t[0][1]-t[1][1])/2+i.width/2;return n?-e-3:e+2}{const e=(n?t[0][1]-t[1][1]:t[1][1]-t[0][1])/2+i.height/2;return n?e:-e-2}}if(l)return"x"===r?(t[1][0]-t[0][0])/2:(t[1][1]-t[0][1])/2+i.height/2}return 0},getXForText(e,t,n){var r;const o=this,{config:i}=o,a=i.axis_rotated,s=o.isFunnelType(t),l=o.isTreemapType(t);let c=e?e[0][0]:0;if(o.isCandlestickType(t))a?c=(null==(r=o.getCandlestickData(t))?void 0:r._isUp)?e[2][2]+4:e[2][1]-4:c+=(e[1][0]-c)/2;else if(s)c+=o.state.current.width/2;else if(l)c+=i.data_labels.centered?0:5;else if(a){const n=i[`axis_${o.axis.getId(t.id)}_inverted`],r=o.isBarType(t)?4:6,a=t.value;c=e[2][1],n?c-=r*(a>0?1:-1):c+=r*(a<0?-1:1)}else c=o.hasType("bar")?(e[2][0]+e[0][0])/2:c;return(a||l)&&(c+=o.getCenteredTextPos(t,e,n,"x")),c+au.call(this,t,"x")},getYForText(e,t,n){const r=this,{axis:o,config:i,state:a}=r,s=i.axis_rotated,l=i[`axis_${null==o?void 0:o.getId(t.id)}_inverted`],c=r.isBarType(t),u=r.isFunnelType(t),d=r.isTreemapType(t),p=i.point_r,f=Fa(n);let h,{value:m}=t,g=3;if(r.isCandlestickType(t))m=r.getCandlestickData(t),s?(h=e[0][0],h+=(e[1][0]-h)/2+g):(h=m&&m._isUp?e[2][2]-g:e[2][1]+4*g,l&&(h+=15*(m._isUp?1:-1)));else if(u)h=e?e[0][1]+(e[1][1]-e[0][1])/2+f.height/2-3:0;else if(d)h=e[0][1]+(i.data_labels.centered?0:f.height+5);else if(s)h=(e[0][0]+e[2][0]+.6*f.height)/2;else if(h=e[2][1],xa(p)&&p>5&&(r.isLineType(t)||r.isScatterType(t))&&(g+=i.point_r/2.3),m<0||0===m&&!a.hasPositiveValue&&a.hasNegativeValue)h+=l?c?-3:-5:f.height+(c?-g:g);else{let e=2*-g;c?e=-g:r.isBubbleType(t)&&(e=g),l&&(e=c?10:15),h+=e}return s&&!d||(h+=r.getCenteredTextPos(t,e,n,"y")),h+au.call(this,t,"y")},markOverlapped(e,t,n){const r=t.$el.arcs.selectAll(n),o=r.filter((t=>t.data.id!==e)),i=r.filter((t=>t.data.id===e)),a=Ya(i.node()),s=(e,t)=>Math.sqrt(Math.pow(e,2)+Math.pow(t,2));i.node()&&o.each((function(){const e=Ya(this),t=be(this),n=s(a.e,a.f)>s(e.e,e.f)?i:t,r=Math.ceil(Math.abs(a.e-e.e))<Math.ceil(n.node().getComputedTextLength()),o=Math.ceil(Math.abs(a.f-e.f))<parseInt(i.style("font-size"),10);t.classed(Jn.TextOverlapping,r&&o)}))},undoMarkOverlapped(e,t){e.$el.arcs.selectAll(t).each((function(){ou([this,this.previousSibling]).classed(Jn.TextOverlapping,!1)}))},meetsLabelThreshold(e=0,t){const{config:n}=this;return e>=(n[`${t}_label_threshold`]||0)}};function lu(e="left",t){const n=xa(t);let r;return r=e.indexOf("center")>-1?n?t/2:"middle":e.indexOf("right")>-1?n?t:"end":n?0:"start",r}var cu={initTitle(){const{config:e,$el:t}=this;e.title_text&&(t.title=t.svg.append("g"),Na(t.title.append("text").style("text-anchor",lu(e.title_position)).attr("class",Jn.title),e.title_text,[.3,1.5]))},redrawTitle(){const e=this,{config:t,state:{current:n},$el:{title:r}}=e;if(r){const o=lu(t.title_position,n.width),i=(t.title_padding.top||0)+e.getTextRect(e.$el.title,Jn.title).height;r.attr("transform",`translate(${o}, ${i})`)}},getTitlePadding(){const{$el:{title:e},config:t}=this;return(t.title_padding.top||0)+(e?this.getTextRect(e,Jn.title).height:0)+(t.title_padding.bottom||0)}},uu={initTooltip(){const{config:e,$el:t}=this;t.tooltip=be(e.tooltip_contents.bindto),t.tooltip.empty()&&(t.tooltip=t.chart.append("div").attr("class",Qn.tooltipContainer).style("position","absolute").style("pointer-events","none").style("display","none")),this.bindTooltipResizePos()},initShowTooltip(){var e;const t=this,{config:n,$el:r,state:{hasAxis:o,hasRadar:i}}=t;if(n.tooltip_init_show){const a=!(o||i);(null==(e=t.axis)?void 0:e.isTimeSeries())&&ba(n.tooltip_init_x)&&(n.tooltip_init_x=rs.call(t,n.tooltip_init_x)),t.api.tooltip.show({data:{[a?"index":"x"]:n.tooltip_init_x}});const s=n.tooltip_init_position;if(!n.tooltip_contents.bindto&&!Ta(s)){const{top:e=0,left:t=50}=s;r.tooltip.style("top",ba(e)?e:`${e}px`).style("left",ba(t)?t:`${t}px`).style("display",null)}}},getTooltipHTML(...e){const{api:t,config:n}=this;return ya(n.tooltip_contents)?n.tooltip_contents.bind(t)(...e):this.getTooltipContent(...e)},getTooltipContent(e,t,n,r){var o;const i=this,{api:a,config:s,state:l,$el:c}=i,[u,d,p]=["title","name","value"].map((e=>{const t=s[`tooltip_format_${e}`];return ya(t)?t.bind(a):t})),f=(...e)=>Ia((u||t)(...e)),h=(...e)=>Ia((d||(e=>e))(...e)),m=(...e)=>Ia((p||(l.hasTreemap||i.isStackNormalized()?(e,t)=>`${(100*t).toFixed(2)}%`:n))(...e)),g=s.tooltip_order,v=e=>i.axis&&i.isBubbleZType(e)?i.getBubbleZData(e.value,"z"):i.getBaseValue(e),y=i.levelColor?e=>i.levelColor(e.value):e=>r(e),b=s.tooltip_contents,x=b.template,w=i.mapToTargetIds();if(null===g&&s.data_groups.length){const t=i.orderTargets(i.data.targets).map((e=>e.id)).reverse();e.sort(((e,n)=>{let r=e?e.value:null,o=n?n.value:null;return r>0&&o>0&&(r=e.id?t.indexOf(e.id):null,o=n.id?t.indexOf(n.id):null),r-o}))}else if(/^(asc|desc)$/.test(g)){const t="asc"===g;e.sort(((e,n)=>{const r=e?v(e):null,o=n?v(n):null;return t?r-o:o-r}))}else ya(g)&&e.sort(g.bind(a));const A=i.getTooltipContentTemplate(x),_=e.length;let S,k,C,T,M;for(M=0;M<_;M++)if(k=e[M],k&&(v(k)||0===v(k))){if(wa(S)){const e=(l.hasAxis||l.hasRadar)&&f(k.x);S=ns(A[0],{CLASS_TOOLTIP:Qn.tooltip,TITLE:va(e)?x?e:`<tr><th colspan="2">${e}</th></tr>`:""})}if(!k.ratio&&c.arcs&&(C=["arc",i.$el.arcs.select(`path.${On.arc}-${k.id}`).data()[0]],k.ratio=i.getRatio(...C)),C=[k.ratio,k.id,k.index],i.isAreaRangeType(k)){const[e,t]=["high","low"].map((e=>m(i.getRangedData(k,e),...C)));T=`<b>Mid:</b> ${m(v(k),...C)} <b>High:</b> ${e} <b>Low:</b> ${t}`}else if(i.isCandlestickType(k)){const[e,t,n,r,o]=["open","high","low","close","volume"].map((e=>i.getRangedData(k,e,"candlestick")?m(i.getRangedData(k,e,"candlestick"),...C):void 0));T=`<b>Open:</b> ${e} <b>High:</b> ${t} <b>Low:</b> ${n} <b>Close:</b> ${r}${o?` <b>Volume:</b> ${o}`:""}`}else if(i.isBarRangeType(k)){const{value:e,id:t,index:n}=k;T=`${m(e,void 0,t,n)}`}else T=m(v(k),...C);if(void 0!==T){if(null===k.name)continue;const e=h(null!=(o=k.name)?o:k.id,...C),t=y(k),n={CLASS_TOOLTIP_NAME:Qn.tooltipName+i.getTargetSelectorSuffix(k.id),COLOR:x||!i.patterns?t:`<svg><rect style="fill:${t}" width="10" height="10"></rect></svg>`,NAME:e,VALUE:T};if(x&&Oa(b.text)){const e=w.indexOf(k.id);Object.keys(b.text).forEach((t=>{n[t]=b.text[t][e]}))}S+=ns(A[1],n)}}return`${S}</table>`},getTooltipContentTemplate(e){return(e||`<table class="{=CLASS_TOOLTIP}"><tbody>\n\t\t\t\t{=TITLE}\n\t\t\t\t{{<tr class="{=CLASS_TOOLTIP_NAME}">\n\t\t\t\t\t<td class="name">${this.patterns?"{=COLOR}":'<span style="background-color:{=COLOR}"></span>'}{=NAME}</td>\n\t\t\t\t\t<td class="value">{=VALUE}</td>\n\t\t\t\t</tr>}}\n\t\t\t</tbody></table>`).replace(/(\r?\n|\t)/g,"").split(/{{(.*)}}/)},setTooltipPosition(e,t){var n,r;const o=this,{config:i,scale:a,state:s,$el:{eventRect:l,tooltip:c}}=o,{bindto:u}=i.tooltip_contents,d=i.axis_rotated,p=null==c?void 0:c.datum();if(!u&&p){const u=null!=e?e:JSON.parse(p.current),[f,h]=$a(s.event,null!=t?t:null==l?void 0:l.node()),m={x:f,y:h};if(s.hasAxis&&a.x&&p&&"x"in p){const e=(e=0,t,n="y")=>{var r;const i=a[t?null==(r=o.axis)?void 0:r.getId(t):n];return i?i(e)+(d?s.margin.left:s.margin.top):0};m.xAxis=a.x(p.x)+(i.tooltip_position?d?s.margin.top:s.margin.left:0),1===u.length?m.yAxis=e(u[0].value,u[0].id):m.yAxis=e}const{width:g=0,height:v=0}=p,y=null!=(r=null==(n=i.tooltip_position)?void 0:n.bind(o.api)(u,g,v,null==l?void 0:l.node(),m))?r:o.getTooltipPosition.bind(o)(g,v,m);["top","left"].forEach((e=>{const t=y[e];c.style(e,`${t}px`),"left"!==e||p.xPosInPercent||(p.xPosInPercent=t/s.current.width*100)}))}},getTooltipPosition(e,t,n){var r,o,i;const a=this,{config:s,scale:l,state:c}=a,{width:u,height:d,current:p,hasFunnel:f,hasRadar:h,hasTreemap:m,isLegendRight:g,inputType:v}=c,y=a.hasType("gauge")&&!s.gauge_fullCircle,b=s.axis_rotated,x=a.hasArcType(),w=a.getSvgLeft(!0);let A=w+p.width-a.getCurrentPaddingByDirection("right"),{x:_,y:S}=n;if(h)_+=_>=u/2?15:-(e+15),S+=15;else if(x){if("touch"!==v){let e=null!=(o=null==(r=a.getTitlePadding)?void 0:r.call(a))?o:0;e&&y&&(null==(i=s.arc_rangeText_values)?void 0:i.length)&&(e+=10),_+=(u-(g?a.getLegendWidth():0))/2,S+=(y?d:d/2+t)+e}}else if(f||m)S+=t;else{const e={top:a.getCurrentPaddingByDirection("top",!0),left:a.getCurrentPaddingByDirection("left",!0)};b?(_+=w+e.left+20,S=e.top+n.xAxis+20,A-=w):(_=w+e.left+20+(l.zoom?_:n.xAxis),S+=e.top-5)}_+e+15>A&&(_-=e+(f||m||x?0:b?40:38)),S+t>p.height&&(S-=y?1.5*t:t+(m?t+10:30));const k={top:S,left:_};return Object.keys(k).forEach((e=>{k[e]<0&&(k[e]=0)})),k},showTooltip(e,t){const n=this,{config:r,$el:{tooltip:o}}=n,i=e.filter((e=>e&&va(n.getBaseValue(e))));if(!o||0===i.length||!r.tooltip_show)return;let a=o.datum();const s=JSON.stringify(e);if(!a||a.current!==s){const{index:t,x:i}=e.concat().sort()[0];Da(r.tooltip_onshow,n.api,e),o.html(n.getTooltipHTML(e,n.axis?n.axis.getXAxisTickFormat():n.categoryName.bind(n),n.getDefaultValueFormat(),n.color)).style("display",null).style("visibility",null).datum(a={index:t,x:i,current:s,width:o.property("offsetWidth"),height:o.property("offsetHeight")}),Da(r.tooltip_onshown,n.api,e),n._handleLinkedCharts(!0,t)}n.setTooltipPosition(i,t)},bindTooltipResizePos(){const{resizeFunction:e,state:t,$el:{tooltip:n}}=this;e.add((()=>{if("block"===n.style("display")){const{current:e}=t,{width:r,xPosInPercent:o}=n.datum();let i=e.width/100*o;const a=e.width-(i+r);a<0&&(i+=a),n.style("left",`${i}px`)}}))},hideTooltip(e){var t;const{api:n,config:r,$el:{tooltip:o}}=this;if(o&&"none"!==o.style("display")&&(!r.tooltip_doNotHide||e)){const e=JSON.parse(null!=(t=o.datum().current)?t:{});Da(r.tooltip_onhide,n,e),o.style("display","none").style("visibility","hidden").datum(null),Da(r.tooltip_onhidden,n,e)}},_handleLinkedCharts(e,t){const n=this,{charts:r,config:o,state:{event:i}}=n;if((null==i?void 0:i.isTrusted)&&o.tooltip_linked&&r.length>1){const i=o.tooltip_linked_name;r.filter((e=>e!==n.api)).forEach((n=>{const{config:r,$el:o}=n.internal,a=r.tooltip_linked,s=r.tooltip_linked_name,l=aa.body.contains(o.chart.node());if(a&&i===s&&l){const r=o.tooltip.data()[0],i=t!==(null==r?void 0:r.index);try{n.tooltip[e&&i?"show":"hide"]({index:t})}catch(e){}}}))}},updateTooltipOnRedraw(e,t){var n;const r=this,{config:o,$el:{eventRect:i,svg:a,tooltip:s},state:{event:l,hasAxis:c,hasRadar:u,hasTreemap:d}}=r;if("block"===(null==s?void 0:s.style("display"))&&l){const s=null!=e?e:null==(n=u?a:i)?void 0:n.node();if(c||u)if(r.isMultipleX())r.selectRectForMultipleXs(s,!1);else{const e=null!=t?t:r.getDataIndexFromEvent(l);-1===t?r.api.tooltip.hide():(r.selectRectForSingle(s,e),r.setExpand(e,null,!0))}else{const{clientX:e,clientY:t}=l;setTimeout((()=>{let n=aa.elementFromPoint(e,t);const o=be(n).datum();if(o){const e=r.hasArcType()?r.convertToArcData(r.updateAngle(o)):null==o?void 0:o.data;d&&(n=a.node()),e&&r.showTooltip([e],n)}else r.api.tooltip.hide()}),o.transition_duration)}}}},du={getTranslate(e,t=0){var n;const r=this,{config:o,state:i}=r,a=o.axis_rotated;let s,l,c=0;if(t&&/^(x|y2?)$/.test(e)&&(c=r.getAxisSize(e)*t),"main"===e)s=Sa(i.margin.left),l=Sa(i.margin.top);else if("context"===e)s=Sa(i.margin2.left),l=Sa(i.margin2.top);else if("legend"===e)s=i.margin3.left,l=i.margin3.top;else if("x"===e)s=a?-c:0,l=a?0:i.height+c;else if("y"===e)s=a?0:-c,l=a?i.height+c:0;else if("y2"===e)s=a?0:i.width+c,l=a?-c-1:0;else if("subX"===e)s=0,l=a?0:i.height2;else if("arc"===e)s=i.arcWidth/2,l=i.arcHeight/2,(null==(n=o.arc_rangeText_values)?void 0:n.length)&&(l+=5+(r.hasType("gauge")&&o.title_text?10:0));else if("polar"===e)s=i.arcWidth/2,l=i.arcHeight/2;else if("radar"===e){const[e,t]=r.getRadarSize();s=i.width/2-e,l=i.height/2-t}return`translate(${s}, ${l})`},transformMain(e,t){const n=this,{$el:{main:r},$T:o}=n,i=(null==t?void 0:t.axisX)?t.axisX:o(r.select(`.${Dn.axisX}`),e),a=(null==t?void 0:t.axisY)?t.axisY:o(r.select(`.${Dn.axisY}`),e),s=(null==t?void 0:t.axisY2)?t.axisY2:o(r.select(`.${Dn.axisY2}`),e);o(r,e).attr("transform",n.getTranslate("main")),i.attr("transform",n.getTranslate("x")),a.attr("transform",n.getTranslate("y")),s.attr("transform",n.getTranslate("y2")),r.select(`.${On.chartArcs}`).attr("transform",n.getTranslate("arc"))},transformAll(e,t){const n=this,{config:r,state:{hasAxis:o,hasFunnel:i,hasTreemap:a},$el:s}=n;!i&&!a&&n.transformMain(e,t),o&&r.subchart_show&&n.transformContext(e,t),s.legend&&n.transformLegend(e)}},pu={isValidChartType(e){return!!(e&&Object.values(Os).indexOf(e)>-1)},setTargetType(e,t){const{config:n,state:{withoutFadeIn:r}}=this;this.mapToTargetIds(e).forEach((e=>{r[e]=t===n.data_types[e],n.data_types[e]=t})),e||(n.data_type=t)},updateTypesElements(){const e=this,{state:{current:t}}=e;Object.keys(Os).forEach((n=>{const r=Os[n],o=e.hasType(r,null,!0),i=t.types.indexOf(r);-1===i&&o?t.types.push(r):i>-1&&!o&&t.types.splice(i,1)})),e.setChartElements()},hasType(e,t,n=!1){var r;const{config:o,state:{current:i}}=this,a=o.data_types,s=t||this.data.targets;let l=!1;return!n&&(null==(r=i.types)?void 0:r.indexOf(e))>-1?l=!0:(null==s?void 0:s.length)?s.forEach((t=>{const n=a[t.id];(n===e||!n&&"line"===e)&&(l=!0)})):Object.keys(a).length?Object.keys(a).forEach((t=>{a[t]===e&&(l=!0)})):l=o.data_type===e,l},hasTypeOf(e,t,n=[]){return e in Ds&&!Ds[e].filter((e=>-1===n.indexOf(e))).every((e=>!this.hasType(e,t)))},isTypeOf(e,t){var n;const r=ba(e)?e:e.id,o=this.config&&((null==(n=this.config.data_types)?void 0:n[r])||this.config.data_type);return Pa(t)?t.indexOf(o)>=0:o===t},hasPointType(){const e=this;return e.hasTypeOf("Line")||e.hasType("bubble")||e.hasType("scatter")},hasArcType(e,t){return this.hasTypeOf("Arc",e,t)},hasMultiArcGauge(){return this.hasType("gauge")&&"multi"===this.config.gauge_type},isLineType(e){const t=ba(e)?e:e.id;return!this.config.data_types[t]||this.isTypeOf(t,Ds.Line)},isStepType(e){return this.isTypeOf(e,Ds.Step)},isSplineType(e){return this.isTypeOf(e,Ds.Spline)},isAreaType(e){return this.isTypeOf(e,Ds.Area)},isAreaRangeType(e){return this.isTypeOf(e,Ds.AreaRange)},isBarType(e){return this.isTypeOf(e,"bar")},isBubbleType(e){return this.isTypeOf(e,"bubble")},isCandlestickType(e){return this.isTypeOf(e,"candlestick")},isScatterType(e){return this.isTypeOf(e,"scatter")},isTreemapType(e){return this.isTypeOf(e,"treemap")},isPieType(e){return this.isTypeOf(e,"pie")},isFunnelType(e){return this.isTypeOf(e,"funnel")},isGaugeType(e){return this.isTypeOf(e,"gauge")},isDonutType(e){return this.isTypeOf(e,"donut")},isPolarType(e){return this.isTypeOf(e,"polar")},isRadarType(e){return this.isTypeOf(e,"radar")},isArcType(e){return this.isPieType(e)||this.isDonutType(e)||this.isGaugeType(e)||this.isPolarType(e)||this.isRadarType(e)},isCirclePoint(e){const{config:t}=this,n=t.point_pattern;let r=!1;return r="circle"===(null==e?void 0:e.tagName)||"circle"===t.point_type&&(!n||Pa(n)&&0===n.length),r},lineData(e){return this.isLineType(e)?[e]:[]},arcData(e){return this.isArcType(e.data)?[e]:[]},labelishData(e){return this.isBarType(e)||this.isLineType(e)||this.isScatterType(e)||this.isBubbleType(e)||this.isCandlestickType(e)||this.isFunnelType(e)||this.isRadarType(e)||this.isTreemapType(e)?e.values.filter((e=>xa(e.value)||Boolean(e.value))):[]},barLineBubbleData(e){return this.isBarType(e)||this.isLineType(e)||this.isBubbleType(e)?e.values:[]},isInterpolationType(e){return["basis","basis-closed","basis-open","bundle","cardinal","cardinal-closed","cardinal-open","catmull-rom","catmull-rom-closed","catmull-rom-open","linear","linear-closed","monotone-x","monotone-y","natural"].indexOf(e)>=0}};function fu(e,t,n){e._context.bezierCurveTo((2*e._x0+e._x1)/3,(2*e._y0+e._y1)/3,(e._x0+2*e._x1)/3,(e._y0+2*e._y1)/3,(e._x0+4*e._x1+t)/6,(e._y0+4*e._y1+n)/6)}function hu(e){this._context=e}function mu(e){return new hu(e)}function gu(){}function vu(e){this._context=e}function yu(e){return new vu(e)}function bu(e){this._context=e}function xu(e){return new bu(e)}function wu(e,t){this._basis=new hu(e),this._beta=t}hu.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){switch(this._point){case 3:fu(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:fu(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}},vu.prototype={areaStart:gu,areaEnd:gu,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x2,this._y2),this._context.closePath();break;case 2:this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath();break;case 3:this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4)}},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._x2=e,this._y2=t;break;case 1:this._point=2,this._x3=e,this._y3=t;break;case 2:this._point=3,this._x4=e,this._y4=t,this._context.moveTo((this._x0+4*this._x1+e)/6,(this._y0+4*this._y1+t)/6);break;default:fu(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}},bu.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var n=(this._x0+4*this._x1+e)/6,r=(this._y0+4*this._y1+t)/6;this._line?this._context.lineTo(n,r):this._context.moveTo(n,r);break;case 3:this._point=4;default:fu(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}},wu.prototype={lineStart:function(){this._x=[],this._y=[],this._basis.lineStart()},lineEnd:function(){var e=this._x,t=this._y,n=e.length-1;if(n>0)for(var r,o=e[0],i=t[0],a=e[n]-o,s=t[n]-i,l=-1;++l<=n;)r=l/n,this._basis.point(this._beta*e[l]+(1-this._beta)*(o+r*a),this._beta*t[l]+(1-this._beta)*(i+r*s));this._x=this._y=null,this._basis.lineEnd()},point:function(e,t){this._x.push(+e),this._y.push(+t)}};var Au=function e(t){function n(e){return 1===t?new hu(e):new wu(e,t)}return n.beta=function(t){return e(+t)},n}(.85);function _u(e,t,n){e._context.bezierCurveTo(e._x1+e._k*(e._x2-e._x0),e._y1+e._k*(e._y2-e._y0),e._x2+e._k*(e._x1-t),e._y2+e._k*(e._y1-n),e._x2,e._y2)}function Su(e,t){this._context=e,this._k=(1-t)/6}Su.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:_u(this,this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2,this._x1=e,this._y1=t;break;case 2:this._point=3;default:_u(this,e,t)}this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};var ku=function e(t){function n(e){return new Su(e,t)}return n.tension=function(t){return e(+t)},n}(0);function Cu(e,t){this._context=e,this._k=(1-t)/6}Cu.prototype={areaStart:gu,areaEnd:gu,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._x3=e,this._y3=t;break;case 1:this._point=2,this._context.moveTo(this._x4=e,this._y4=t);break;case 2:this._point=3,this._x5=e,this._y5=t;break;default:_u(this,e,t)}this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};var Tu=function e(t){function n(e){return new Cu(e,t)}return n.tension=function(t){return e(+t)},n}(0);function Mu(e,t){this._context=e,this._k=(1-t)/6}Mu.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:_u(this,e,t)}this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};var Pu=function e(t){function n(e){return new Mu(e,t)}return n.tension=function(t){return e(+t)},n}(0);const Ou=Math.abs,Eu=Math.atan2,Du=Math.cos,Ru=Math.max,Iu=Math.min,Nu=Math.sin,Lu=Math.sqrt,ju=1e-12,$u=Math.PI,zu=$u/2,Fu=2*$u;function Bu(e){return e>=1?zu:e<=-1?-zu:Math.asin(e)}function Hu(e,t,n){var r=e._x1,o=e._y1,i=e._x2,a=e._y2;if(e._l01_a>ju){var s=2*e._l01_2a+3*e._l01_a*e._l12_a+e._l12_2a,l=3*e._l01_a*(e._l01_a+e._l12_a);r=(r*s-e._x0*e._l12_2a+e._x2*e._l01_2a)/l,o=(o*s-e._y0*e._l12_2a+e._y2*e._l01_2a)/l}if(e._l23_a>ju){var c=2*e._l23_2a+3*e._l23_a*e._l12_a+e._l12_2a,u=3*e._l23_a*(e._l23_a+e._l12_a);i=(i*c+e._x1*e._l23_2a-t*e._l12_2a)/u,a=(a*c+e._y1*e._l23_2a-n*e._l12_2a)/u}e._context.bezierCurveTo(r,o,i,a,e._x2,e._y2)}function Vu(e,t){this._context=e,this._alpha=t}Vu.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:this.point(this._x2,this._y2)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){if(e=+e,t=+t,this._point){var n=this._x2-e,r=this._y2-t;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3;default:Hu(this,e,t)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};var Wu=function e(t){function n(e){return t?new Vu(e,t):new Su(e,0)}return n.alpha=function(t){return e(+t)},n}(.5);function Uu(e,t){this._context=e,this._alpha=t}Uu.prototype={areaStart:gu,areaEnd:gu,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(e,t){if(e=+e,t=+t,this._point){var n=this._x2-e,r=this._y2-t;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1,this._x3=e,this._y3=t;break;case 1:this._point=2,this._context.moveTo(this._x4=e,this._y4=t);break;case 2:this._point=3,this._x5=e,this._y5=t;break;default:Hu(this,e,t)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};var qu=function e(t){function n(e){return t?new Uu(e,t):new Cu(e,0)}return n.alpha=function(t){return e(+t)},n}(.5);function Gu(e,t){this._context=e,this._alpha=t}Gu.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){if(e=+e,t=+t,this._point){var n=this._x2-e,r=this._y2-t;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:Hu(this,e,t)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};var Yu=function e(t){function n(e){return t?new Gu(e,t):new Mu(e,0)}return n.alpha=function(t){return e(+t)},n}(.5);function Xu(e){return e<0?-1:1}function Ku(e,t,n){var r=e._x1-e._x0,o=t-e._x1,i=(e._y1-e._y0)/(r||o<0&&-0),a=(n-e._y1)/(o||r<0&&-0),s=(i*o+a*r)/(r+o);return(Xu(i)+Xu(a))*Math.min(Math.abs(i),Math.abs(a),.5*Math.abs(s))||0}function Zu(e,t){var n=e._x1-e._x0;return n?(3*(e._y1-e._y0)/n-t)/2:t}function Ju(e,t,n){var r=e._x0,o=e._y0,i=e._x1,a=e._y1,s=(i-r)/3;e._context.bezierCurveTo(r+s,o+s*t,i-s,a-s*n,i,a)}function Qu(e){this._context=e}function ed(e){this._context=new td(e)}function td(e){this._context=e}function nd(e){return new Qu(e)}function rd(e){return new ed(e)}function od(e){this._context=e}function id(e){var t,n,r=e.length-1,o=new Array(r),i=new Array(r),a=new Array(r);for(o[0]=0,i[0]=2,a[0]=e[0]+2*e[1],t=1;t<r-1;++t)o[t]=1,i[t]=4,a[t]=4*e[t]+2*e[t+1];for(o[r-1]=2,i[r-1]=7,a[r-1]=8*e[r-1]+e[r],t=1;t<r;++t)n=o[t]/i[t-1],i[t]-=n,a[t]-=n*a[t-1];for(o[r-1]=a[r-1]/i[r-1],t=r-2;t>=0;--t)o[t]=(a[t]-o[t+1])/i[t];for(i[r-1]=(e[r]+o[r-1])/2,t=0;t<r-1;++t)i[t]=2*e[t+1]-o[t+1];return[o,i]}function ad(e){return new od(e)}function sd(e){this._context=e}function ld(e){return new sd(e)}function cd(e){this._context=e}function ud(e){return new cd(e)}function dd(e,t){this._context=e,this._t=t}function pd(e){return new dd(e,.5)}function fd(e){return new dd(e,0)}function hd(e){return new dd(e,1)}function md(e){const t=this;let n;return t.isLineType(e)?n=t.generateGetLinePoints(t.getShapeIndices(t.isLineType)):t.isBarType(e)&&(n=t.generateGetBarPoints(t.getShapeIndices(t.isBarType))),n}Qu.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=this._t0=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x1,this._y1);break;case 3:Ju(this,this._t0,Zu(this,this._t0))}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){var n=NaN;if(t=+t,(e=+e)!==this._x1||t!==this._y1){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3,Ju(this,Zu(this,n=Ku(this,e,t)),n);break;default:Ju(this,this._t0,n=Ku(this,e,t))}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t,this._t0=n}}},(ed.prototype=Object.create(Qu.prototype)).point=function(e,t){Qu.prototype.point.call(this,t,e)},td.prototype={moveTo:function(e,t){this._context.moveTo(t,e)},closePath:function(){this._context.closePath()},lineTo:function(e,t){this._context.lineTo(t,e)},bezierCurveTo:function(e,t,n,r,o,i){this._context.bezierCurveTo(t,e,r,n,i,o)}},od.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=[],this._y=[]},lineEnd:function(){var e=this._x,t=this._y,n=e.length;if(n)if(this._line?this._context.lineTo(e[0],t[0]):this._context.moveTo(e[0],t[0]),2===n)this._context.lineTo(e[1],t[1]);else for(var r=id(e),o=id(t),i=0,a=1;a<n;++i,++a)this._context.bezierCurveTo(r[0][i],o[0][i],r[1][i],o[1][i],e[a],t[a]);(this._line||0!==this._line&&1===n)&&this._context.closePath(),this._line=1-this._line,this._x=this._y=null},point:function(e,t){this._x.push(+e),this._y.push(+t)}},sd.prototype={areaStart:gu,areaEnd:gu,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(e,t){e=+e,t=+t,this._point?this._context.lineTo(e,t):(this._point=1,this._context.moveTo(e,t))}},cd.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:this._context.lineTo(e,t)}}},dd.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=this._y=NaN,this._point=0},lineEnd:function(){0<this._t&&this._t<1&&2===this._point&&this._context.lineTo(this._x,this._y),(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line>=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:if(this._t<=0)this._context.lineTo(this._x,t),this._context.lineTo(e,t);else{var n=this._x*(1-this._t)+e*this._t;this._context.lineTo(n,this._y),this._context.lineTo(n,t)}}this._x=e,this._y=t}};var gd={getDrawShape(){const e=this,t=e.config.axis_rotated,{hasRadar:n,hasTreemap:r}=e.state,o={type:{},indices:{},pos:{}};if(!r&&["bar","candlestick","line","area"].forEach((t=>{const n=Ua(/^(bubble|scatter)$/.test(t)?"line":t);if(e.hasType(t)||e.hasTypeOf(n)||"line"===t&&(e.hasType("bubble")||e.hasType("scatter"))){const r=e.getShapeIndices(e[`is${n}Type`]),i=e[`generateDraw${n}`];o.indices[t]=r,o.type[t]=i?i.bind(e)(r,!1):void 0}})),!e.hasArcType()||n||r){let i,a;r||(i=n?e.radarCircleX:t?e.circleY:e.circleX,a=n?e.radarCircleY:t?e.circleX:e.circleY),o.pos={xForText:e.generateXYForText(o.indices,!0),yForText:e.generateXYForText(o.indices,!1),cx:(i||function(){}).bind(e),cy:(a||function(){}).bind(e)}}return o},getShapeIndices(e){const t=this,{config:n}=t,r=n.data_xs,o=Ma(r),i={};let a=o?{}:0;return o&&Xa(Object.keys(r).map((e=>r[e]))).forEach((e=>{a[e]=0,i[e]={}})),t.filterTargetsToShow(t.data.targets.filter(e,t)).forEach((e=>{var t;const o=e.id in r?r[e.id]:"",s=o?i[o]:i;for(let r,i=0;r=n.data_groups[i];i++)if(!(r.indexOf(e.id)<0))for(let n,i=0;n=r[i];i++){if(n in s){s[e.id]=s[n];break}e.id!==n&&o&&(s[n]=null!=(t=s[e.id])?t:a[o])}wa(s[e.id])&&(s[e.id]=o?a[o]++:a++,s.__max__=(o?a[o]:a)-1)})),i},getIndices(e,t,n){const r=this,{data_xs:o,bar_indices_removeNull:i}=r.config,{id:a,index:s}=t;if(r.isBarType(a)&&i){const e={};return r.getAllValuesOnIndex(s,!0).forEach(((t,n)=>{e[t.id]=n,e.__max__=n})),e}return Ma(o)?e[o[a]]:e},getIndicesMax(e){return Ma(this.config.data_xs)?Object.keys(e).map((t=>e[t].__max__||0)).reduce(((e,t)=>e+t)):e.__max__},getShapeX(e,t,n){const r=this,{config:o,scale:i}=r,a=n?i.subX:i.zoom||i.x,s=o.bar_overlap,l=o.bar_padding,c=(e,t)=>e+t,u=Ca(e)&&(e._$total.length?e._$total.reduce(c)/2:0);return n=>{const o=r.getIndices(t,n,"getShapeX"),i=n.id in o?o[n.id]:0,d=(o.__max__||0)+1;let p=0;if(Ma(n.x)){const t=a(n.x,!0);if(u){const r=e[n.id]||e._$width;p=s?t-r/2:t-r+e._$total.slice(0,i+1).reduce(c)-u}else p=t-(xa(e)?e:e._$width)*(d/2-(s?1:i))}return e&&p&&d>1&&l&&(i&&(p+=l*i),d>2?p-=(d-1)*l/2:2===d&&(p-=l/2)),p}},getShapeY(e){const t=this,n=t.isStackNormalized();return r=>{let{value:o}=r;return xa(r)?o=r:t.isAreaRangeType(r)?o=t.getBaseValue(r,"mid"):n?o=t.getRatio("index",r,!0):t.isBubbleZType(r)?o=t.getBubbleZData(r.value,"y"):t.isBarRangeType(r)&&(o=o[1]),t.getYScaleById(r.id,e)(o)}},getShapeYMin(e){const t=this,n=t.axis.getId(e),r=t.scale[n],[o]=r.domain(),i=t.config[`axis_${n}_inverted`];return!t.isGrouped(e)&&!i&&o>0?o:0},getShapeOffsetData(e){const t=this,n=t.orderTargets(t.filterTargetsToShow(t.data.targets.filter(e,t))),r=t.isStackNormalized(),o=n.map((e=>{let n=e.values;const o={};t.isStepType(e)&&(n=t.convertValuesToStep(n));const i=n.reduce(((e,n)=>{const i=Number(n.x);return e[i]=n,o[i]=r?t.getRatio("index",n,!0):n.value,e}),{});return{id:e.id,rowValues:n,rowValueMapByXValue:i,values:o}})),i=n.reduce(((e,{id:t},n)=>(e[t]=n,e)),{});return{indexMapByTargetId:i,shapeOffsetTargets:o}},getShapeOffset(e,t,n){const r=this,{shapeOffsetTargets:o,indexMapByTargetId:i}=r.getShapeOffsetData(e),a=r.config.data_groupsZeroAs;return(e,s)=>{const{id:l,value:c,x:u}=e,d=r.getIndices(t,e),p=r.getYScaleById(l,n);if(r.isBarRangeType(e))return p(c[0]);const f=Number(u),h=p("zero"===a?0:r.getShapeYMin(l));let m=h;return o.filter((e=>e.id!==l&&d[e.id]===d[l])).forEach((e=>{const{id:t,rowValueMapByXValue:n,rowValues:r,values:o}=e;if(i[t]<i[l]){const e=o[f];let t=r[s];t&&Number(t.x)===f||(t=n[f]),(null==t?void 0:t.value)*c>=0&&xa(e)&&(0!==c||"positive"===a&&e>0||"negative"===a&&e<0)&&(m+=p(e)-h)}})),m}},circleY(e,t){const n=this,r=e.id;let o;return n.isGrouped(r)&&(o=md.bind(n)(e)),o?o(e,t)[0][1]:n.getYScaleById(r)(n.getBaseValue(e))},getBarW(e,t,n){var r,o,i,a,s;const l=this,{config:c,org:u,scale:d}=l,p=l.getMaxDataCount(),f="bar"===e&&(null==(r=c.data_groups)?void 0:r.length),h=`${e}_width`,{k:m}=null!=(i=null==(o=l.getZoomTransform)?void 0:o.call(l))?i:{k:1},g=[null!=(a=c.axis_x_min)?a:u.xDomain[0],null!=(s=c.axis_x_max)?s:u.xDomain[1]].map(l.axis.isTimeSeries()?rs.bind(l):Number);let v=t.tickInterval(p);if(d.zoom&&!l.axis.isCategorized()&&m>1){const e=g.every(((e,t)=>e===u.xDomain[t]));v=u.xDomain.map(((t,n)=>{const r=e?t:t-Math.abs(g[n]);return d.zoom(r)})).reduce(((e,t)=>Math.abs(e)+t))/p}const y=e=>{const t=e?c[h][e]:c[h],r=e?t.ratio:c[`${h}_ratio`],o=e?t.max:c[`${h}_max`],i=xa(t)?t:n?v*r/n:0;return o&&i>o?o:i};let b=y();return!f&&Ca(c[h])&&(b={_$width:b,_$total:[]},l.filterTargetsToShow(l.data.targets).forEach((e=>{c[h][e.id]&&(b[e.id]=y(e.id),b._$total.push(b[e.id]||b._$width))}))),b},getShapeByIndex(e,t,n){const r=this,{$el:o}=r,i=va(t)?`-${t}`:"";let a=o[e];return a=a&&!a.empty()?a.filter((e=>!n||e.id===n)).filter((e=>!va(t)||e.index===t)):(n?o.main.selectAll(`.${nr[`${e}s`]}${r.getTargetSelectorSuffix(n)}`):o.main).selectAll(`.${nr[e]}${i}`),a},isWithinShape(e,t){var n;const r=this,o=be(e);let i;return r.isTargetToShow(t.id)?(null==(n=r.hasValidPointType)?void 0:n.call(r,e.nodeName))?i=r.isStepType(t)?r.isWithinStep(e,r.getYScaleById(t.id)(t.value)):r.isWithinCircle(e,r.isBubbleType(t)?1.5*r.pointSelectR(t):0):"path"===e.nodeName&&(i=!o.classed(nr.bar)||r.isWithinBar(e)):i=!1,i},getInterpolate(e){const t=this.getInterpolateType(e);return{basis:mu,"basis-closed":yu,"basis-open":xu,bundle:Au,cardinal:ku,"cardinal-closed":Tu,"cardinal-open":Pu,"catmull-rom":Wu,"catmull-rom-closed":qu,"catmull-rom-open":Yu,"monotone-x":nd,"monotone-y":rd,natural:ad,"linear-closed":ld,linear:ud,step:pd,"step-after":hd,"step-before":fd}[t]},getInterpolateType(e){const t=this,{config:n}=t,r=n.spline_interpolation_type,o=t.isInterpolationType(r)?r:"cardinal";return t.isSplineType(e)?o:t.isStepType(e)?n.line_step_type:"linear"},isWithinBar(e){const t=$a(this.state.event,e),n=La(e),[r,o]=n,i=Math.min(r.x,o.x),a=Math.min(r.y,o.y),s=this.config.bar_sensitivity,{width:l,height:c}=e.getBBox(),u=i+l+s,d=a+c+s,p=a-s;return i-s<t[0]&&t[0]<u&&p<t[1]&&t[1]<d}},vd=Object.defineProperty,yd=(e,t,n)=>(((e,t,n)=>{t in e?vd(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n})(e,"symbol"!=typeof t?t+"":t,n),n);class bd{constructor(e){yd(this,"api"),yd(this,"config"),yd(this,"cache"),yd(this,"$el"),yd(this,"state"),yd(this,"charts"),yd(this,"data",{xs:{},targets:[]}),yd(this,"axis"),yd(this,"scale",{x:null,y:null,y2:null,subX:null,subY:null,subY2:null,zoom:null}),yd(this,"org",{xScale:null,xDomain:null}),yd(this,"color"),yd(this,"patterns"),yd(this,"levelColor"),yd(this,"point"),yd(this,"brush"),yd(this,"format",{extraLineClasses:null,xAxisTick:null,dataTime:null,defaultAxisTime:null,axisTime:null});const t=this;t.api=e,t.config=new fs,t.cache=new Ps;const n=new ms;t.$el=n.getStore("element"),t.state=n.getStore("state"),t.$T=t.$T.bind(t)}$T(e,t,n){const{config:r,state:o}=this,i=r.transition_duration,a=r.subchart_show;let s=e;return s&&("tagName"in s&&(s=be(s)),s=!(!1!==t&&i||t)||o.zooming&&!o.dragging||o.resizing||!o.rendered||a?s:s.transition(n).duration(i)),s}beforeInit(){const e=this;e.callPluginHook("$beforeInit"),Da(e.config.onbeforeinit,e.api)}afterInit(){const e=this;e.callPluginHook("$afterInit"),Da(e.config.onafterinit,e.api)}init(){const e=this,{config:t,state:n,$el:r}=e,o=t.boost_useCssRule;if(Rs(e),n.hasRadar=!n.hasAxis&&e.hasType("radar"),n.hasFunnel=!n.hasAxis&&e.hasType("funnel"),n.hasTreemap=!n.hasAxis&&e.hasType("treemap"),n.hasAxis=!e.hasArcType()&&!n.hasFunnel&&!n.hasTreemap,n.datetimeId="bb-"+ +new Date*Ba(),o){const e=aa.createElement("style");e.type="text/css",aa.head.appendChild(e),n.style={rootSelctor:`.${n.datetimeId}`,sheet:e.sheet},r.style=e}const i={element:t.bindto,classname:"bb"};Oa(t.bindto)&&(i.element=t.bindto.element||"#chart",i.classname=t.bindto.classname||i.classname),r.chart=ya(i.element.node)?t.bindto.element:be(i.element||[]),r.chart.empty()&&(r.chart=be(aa.body.appendChild(aa.createElement("div")))),r.chart.html("").classed(i.classname,!0).classed(n.datetimeId,o).style("position","relative"),e.initParams(),e.initToRender()}initToRender(e){const t=this,{config:n,state:r,$el:{chart:o}}=t,i=()=>"none"===o.style("display")||"hidden"===o.style("visibility"),a=n.render.lazy||i(),s=ia.MutationObserver;a&&s&&!1!==n.render.observe&&!e&&new s(((e,n)=>{i()||(n.disconnect(),!r.rendered&&t.initToRender(!0))})).observe(o.node(),{attributes:!0,attributeFilter:["class","style"]}),a&&!e||t.convertData(n,(e=>{t.initWithData(e),t.afterInit()}))}initParams(){var e;const t=this,{config:n,format:r,state:o}=t,i=n.axis_rotated;if(t.color=t.generateColor(),t.levelColor=t.generateLevelColor(),!1===n.padding&&(n.axis_x_show=!1,n.axis_y_show=!1,n.axis_y2_show=!1,n.subchart_show=!1),(t.hasPointType()||(null==(e=t.hasLegendDefsPoint)?void 0:e.call(t)))&&(t.point=t.generatePoint()),o.hasAxis){t.initClip(),r.extraLineClasses=t.generateExtraLineClass(),r.dataTime=n.data_xLocaltime?nt:ot,r.axisTime=n.axis_x_localtime?tt:rt;const e=t.config.zoom_enabled&&"drag"===t.config.zoom_type;r.defaultAxisTime=n=>{const{x:o,zoom:i}=t.scale,a=e?i:i&&o.orgDomain().toString()!==i.domain().toString(),s=(n.getMilliseconds()?".%L":n.getSeconds()&&".:%S")||n.getMinutes()&&"%I:%M"||n.getHours()&&"%I %p"||1!==n.getDate()&&"%b %d"||a&&1===n.getDate()&&"%b'%y"||n.getMonth()&&"%-m/%-d"||"%Y";return r.axisTime(s)(n)}}o.isLegendRight="right"===n.legend_position,o.isLegendInset="inset"===n.legend_position,o.isLegendTop="top-left"===n.legend_inset_anchor||"top-right"===n.legend_inset_anchor,o.isLegendLeft="top-left"===n.legend_inset_anchor||"bottom-left"===n.legend_inset_anchor,o.rotatedPadding.top=t.getResettedPadding(o.rotatedPadding.top),o.rotatedPadding.right=i&&!n.axis_x_show?0:30,o.inputType=function(e,t){const{DocumentTouch:n,matchMedia:r,navigator:o}=ia;let i=!1;if(t)if(o&&"maxTouchPoints"in o)i=o.maxTouchPoints>0;else if("ontouchmove"in ia||n&&aa instanceof n)i=!0;else if(null==r?void 0:r("(pointer:coarse)").matches)i=!0;else{const e=o.userAgent;i=/\b(BlackBerry|webOS|iPhone|IEMobile)\b/i.test(e)||/\b(Android|Windows Phone|iPad|iPod)\b/i.test(e)}return(e&&((null==r?void 0:r("any-hover:hover").matches)||(null==r?void 0:r("any-pointer:fine").matches))?"mouse":i&&"touch")||"mouse"}(n.interaction_inputType_mouse,n.interaction_inputType_touch)}initWithData(e){var t,n,r;const o=this,{config:i,scale:a,state:s,$el:l,org:c}=o,{hasAxis:u,hasFunnel:d,hasTreemap:p}=s,f=i.interaction_enabled,h=o.hasType("polar"),m=i.data_labels_backgroundColors;if(u&&(o.axis=o.getAxisInstance(),i.zoom_enabled&&o.initZoom()),o.data.xs={},o.data.targets=o.convertDataToTargets(e),i.data_filter&&(o.data.targets=o.data.targets.filter(i.data_filter.bind(o.api))),i.data_hide&&o.addHiddenTargetIds(!0===i.data_hide?o.mapToIds(o.data.targets):i.data_hide),i.legend_hide&&o.addHiddenLegendIds(!0===i.legend_hide?o.mapToIds(o.data.targets):i.legend_hide),o.updateSizes(),o.updateScales(!0),u){const{x:e,y:t,y2:n,subX:r,subY:s,subY2:l}=a;e&&(e.domain(Ja(o.getXDomain(o.data.targets),!i.axis_x_inverted)),r.domain(e.domain()),c.xDomain=e.domain()),t&&(t.domain(o.getYDomain(o.data.targets,"y")),s.domain(t.domain())),n&&(n.domain(o.getYDomain(o.data.targets,"y2")),l&&l.domain(n.domain()))}if(l.svg=l.chart.append("svg").style("overflow","hidden").style("display","block"),f&&s.inputType){const e="touch"===s.inputType,{onclick:t,onover:n,onout:r}=i;l.svg.on("click",(null==t?void 0:t.bind(o.api))||null).on(e?"touchstart":"mouseenter",(null==n?void 0:n.bind(o.api))||null).on(e?"touchend":"mouseleave",(null==r?void 0:r.bind(o.api))||null)}i.svg_classname&&l.svg.attr("class",i.svg_classname);const g=ya(i.color_tiles)&&o.patterns;(u||g||h||p||m||(null==(t=o.hasLegendDefsPoint)?void 0:t.call(o)))&&(l.defs=l.svg.append("defs"),u&&["id","idXAxis","idYAxis","idGrid"].forEach((e=>{o.appendClip(l.defs,s.clip[e])})),o.generateTextBGColorFilter(m),g&&o.patterns.forEach((e=>l.defs.append((()=>e.node))))),o.updateSvgSize(),o.bindResize();const v=l.svg.append("g").classed(Pn.main,!0).attr("transform",d||p?null:o.getTranslate("main"));if(l.main=v,i.subchart_show&&o.initSubchart(),i.tooltip_show&&o.initTooltip(),i.title_text&&o.initTitle(),!p&&i.legend_show&&o.initLegend(),i.data_empty_label_text&&v.append("text").attr("class",`${Jn.text} ${Pn.empty}`).attr("text-anchor","middle").attr("dominant-baseline","middle"),u&&(i.regions.length&&o.initRegion(),!i.clipPath&&o.axis.init()),v.append("g").classed(Pn.chart,!0).attr("clip-path",u?s.clip.path:null),o.callPluginHook("$init"),o.initChartElements(),u&&(f&&(null==(n=o.initEventRect)||n.call(o)),o.initGrid(),i.clipPath&&(null==(r=o.axis)||r.init())),o.updateTargets(o.data.targets),o.updateDimension(),Da(i.oninit,o.api),o.setBackground(),o.redraw({withTransition:!1,withTransform:!0,withUpdateXDomain:!0,withUpdateOrgXDomain:!0,withTransitionForAxis:!1,initializing:!0}),i.data_onmin||i.data_onmax){const e=o.getMinMaxData();Da(i.data_onmin,o.api,e.min),Da(i.data_onmax,o.api,e.max)}i.tooltip_show&&o.initShowTooltip(),s.rendered=!0}initChartElements(){const e=this,{hasAxis:t,hasRadar:n,hasTreemap:r}=e.state,o=[];if(t){const t=["bar","bubble","candlestick","line"];e.config.bar_front&&t.push(t.shift()),t.forEach((t=>{const n=Ua(t);("line"===t&&e.hasTypeOf(n)||e.hasType(t))&&o.push(n)}))}else if(r)o.push("Treemap");else if(e.hasType("funnel"))o.push("Funnel");else{const t=e.hasType("polar");n||o.push("Arc","Pie"),e.hasType("gauge")?o.push("Gauge"):n?o.push("Radar"):t&&o.push("Polar")}o.forEach((t=>{e[`init${t}`]()})),Ma(e.config.data_labels)&&!e.hasArcType(null,["radar"])&&e.initText()}setChartElements(){const{$el:{chart:e,svg:t,defs:n,main:r,tooltip:o,legend:i,title:a,grid:s,needle:l,arcs:c,circle:u,bar:d,candlestick:p,line:f,area:h,text:m}}=this;this.api.$={chart:e,svg:t,defs:n,main:r,tooltip:o,legend:i,title:a,grid:s,arc:c,circles:u,bar:{bars:d},candlestick:p,line:{lines:f,areas:h},needle:l,text:{texts:m}}}setBackground(){const{config:{background:e},state:t,$el:{svg:n}}=this;if(Ma(e)){const r=n.select("g").insert(e.imgUrl?"image":"rect",":first-child");e.imgUrl?r.attr("href",e.imgUrl):e.color&&r.style("fill",e.color).attr("clip-path",t.clip.path),r.attr("class",e.class||null).attr("width","100%").attr("height","100%")}}updateTargets(e){var t;const n=this,{hasAxis:r,hasFunnel:o,hasRadar:i,hasTreemap:a}=n.state,s=t=>n[`updateTargetsFor${t}`](e.filter(n[`is${t}Type`].bind(n)));if(n.updateTargetsForText(e),r)["bar","candlestick","line"].forEach((e=>{const t=Ua(e);("line"===e&&n.hasTypeOf(t)||n.hasType(e))&&s(t)})),n.updateTargetsForSubchart&&n.updateTargetsForSubchart(e);else if(n.hasArcType(e)){let e="Arc";i?e="Radar":n.hasType("polar")&&(e="Polar"),s(e)}else o?s("Funnel"):a&&s("Treemap");const l=n.hasType("bubble")||n.hasType("scatter");l&&(null==(t=n.updateTargetForCircle)||t.call(n)),n.filterTargetsToShowAtInit(l)}filterTargetsToShowAtInit(e=!1){const t=this,{$el:{svg:n},$T:r}=t;let o=`.${Pn.target}`;e&&(o+=`, .${Nn.chartCircles} > .${Nn.circles}`),r(n.selectAll(o).filter((e=>t.isTargetToShow(e.id)))).style("opacity",null)}getWithOption(e){const t={Dimension:!0,EventRect:!0,Legend:!1,Subchart:!0,Transform:!1,Transition:!0,TrimXDomain:!0,UpdateXAxis:"UpdateXDomain",UpdateXDomain:!1,UpdateOrgXDomain:!1,TransitionForExit:"Transition",TransitionForAxis:"Transition",Y:!0};return Object.keys(t).forEach((n=>{let r=t[n];ba(r)&&(r=t[r]),t[n]=Ea(e,`with${n}`,r)})),t}initialOpacity(e){const{withoutFadeIn:t}=this.state;return null!==this.getBaseValue(e)&&t[e.id]?null:"0"}bindResize(){const e=this,{config:t,state:n}=e,r=function(e){const t=[];let n;const r=function(){r.clear(),!1===e?ca((()=>{t.forEach((e=>e()))}),{timeout:200}):n=Is((()=>{t.forEach((e=>e()))}),xa(e)?e:200)};return r.clear=()=>{n&&(Ns(n),n=null)},r.add=e=>t.push(e),r.remove=e=>t.splice(t.indexOf(e),1),r}(t.resize_timer),o=[];o.push((()=>Da(t.onresize,e.api))),t.resize_auto&&o.push((()=>{n.resizing=!0,t.legend_show&&(e.updateSizes(),e.updateLegend()),e.api.flush(!1)})),o.push((()=>{Da(t.onresized,e.api),n.resizing=!1})),o.forEach((e=>r.add(e))),e.resizeFunction=r,ia.addEventListener("resize",e.resizeFunction=r)}callPluginHook(e,...t){this.config.plugins.forEach((n=>{"$beforeInit"===e&&(n.$$=this,this.api.plugins.push(n)),n[e](...t)}))}}function xd(e){const t=this.config;let n,r,o;const i=()=>{const e=r.shift();return e&&n&&Ca(n)&&e in n?(n=n[e],i()):e?void 0:n};Object.keys(t).forEach((a=>{n=e,r=a.split("_"),o=i(),Aa(o)&&(t[a]=o)})),this.api&&(this.state.orgConfig=e)}Wa(bd.prototype,[il,al,ll,vl,yl,Ml,Pl,gl,El,Il,Nl,tu,gd,nu,ru,su,cu,uu,du,pu]);var wd={resize(e){const t=this.internal,{config:n,state:r}=t;r.rendered&&(n.size_width=e?e.width:null,n.size_height=e?e.height:null,r.resizing=!0,this.flush(!1),t.resizeFunction())},flush(e){var t,n;const r=this.internal,{state:o,$el:{zoomResetBtn:i}}=r;o.rendered?(o.resizing?null==(t=r.brush)||t.updateResize():null==(n=r.axis)||n.setOrient(),null==i||i.style("display","none"),r.scale.zoom=null,e?r.redraw({withTransform:!0,withUpdateXDomain:!0,withUpdateOrgXDomain:!0,withLegend:!0}):r.updateAndRedraw({withLegend:!0,withTransition:!1,withTransitionForTransform:!1}),!o.resizing&&r.brush&&(r.brush.getSelection().call(r.brush.move),r.unselectRect())):r.initToRender(!0)},destroy(){const e=this.internal,{$el:{chart:t,style:n,svg:r}}=e;if(Ma(e)){e.callPluginHook("$willDestroy"),e.charts.splice(e.charts.indexOf(this),1),e.unbindAllEvents(),r.select("*").interrupt(),e.resizeFunction.clear(),ia.removeEventListener("resize",e.resizeFunction),t.classed("bb",!1).style("position",null).selectChildren().remove(),n&&n.parentNode.removeChild(n),Object.keys(this).forEach((t=>{"internal"===t&&Object.keys(e).forEach((t=>{e[t]=null})),this[t]=null,delete this[t]}));for(const e in this)this[e]=()=>{}}return null},config(e,t,n){const r=this.internal,{config:o,state:i}=r,a=null==e?void 0:e.replace(/\./g,"_");let s;return e&&a in o?Aa(t)?(o[a]=t,s=t,n&&this.flush()):s=o[a]:(0===arguments.length||Ta(e))&&(s=i.orgConfig),s}},Ad={color(e){return this.internal.color(e)}};const _d=function(e){const{targets:t}=this.internal.data;if(!wa(e)){const n=Pa(e)?e:[e];return t.filter((e=>n.some((t=>t===e.id))))}return t};Wa(_d,{shown:function(e){return this.internal.filterTargetsToShow(this.data(e))},values:function(e,t=!0){let n=null;if(e){const r=this.data(e);Pa(r)&&(n=[],r.forEach((e=>{const r=e.values.map((e=>e.value));t?n=n.concat(r):n.push(r)})))}return n},names:function(e){return this.internal.updateDataAttributes("names",e)},colors:function(e){return this.internal.updateDataAttributes("colors",e)},axes:function(e){return this.internal.updateDataAttributes("axes",e)},min:function(){return this.internal.getMinMaxData().min},max:function(){return this.internal.getMinMaxData().max}});var Sd={data:_d};function kd(e,t,n){const{width:r,height:o}=t||n,i=new XMLSerializer,a=e.cloneNode(!0),s=function(e){let t=[];return e.forEach((e=>{var n;try{e.cssRules&&e.cssRules.length&&(t=t.concat(qa(e.cssRules)))}catch(t){null==(n=ia.console)||n.warn(`Error while reading rules from ${e.href}: ${t.toString()}`)}})),t}(qa(aa.styleSheets)).filter((e=>e.cssText)).map((e=>e.cssText));a.setAttribute("xmlns",k.xhtml),a.style.margin="0",a.style.padding="0",t.preserveFontStyle&&a.querySelectorAll("text").forEach((e=>{e.innerHTML=""}));const l=i.serializeToString(a),c=aa.createElement("style");c.appendChild(aa.createTextNode(s.join("\n")));const u=i.serializeToString(c),d=`<svg xmlns="${k.svg}" width="${r}" height="${o}" \n\t\tviewBox="0 0 ${n.width} ${n.height}" \n\t\tpreserveAspectRatio="${!1===(null==t?void 0:t.preserveAspectRatio)?"none":"xMinYMid meet"}">\n\t\t\t<foreignObject width="100%" height="100%">\n\t\t\t\t${u}\n\t\t\t\t${l.replace(/(url\()[^#]+/g,"$1")}\n\t\t\t</foreignObject></svg>`;return`data:image/svg+xml;base64,${p=d,null==(h=(f=ia).btoa)?void 0:h.call(f,encodeURIComponent(p).replace(/%([0-9A-F]{2})/g,((e,t)=>String.fromCharCode(Number(`0x${t}`)))))}`;var p,f,h}function Cd(e){const{left:t,top:n}=e.getBoundingClientRect(),r=e=>e.textContent||e.childElementCount,o=[];return qa(e.querySelectorAll("text")).filter(r).forEach((e=>{const i=e=>{const{fill:r,fontFamily:o,fontSize:i,textAnchor:a,transform:s}=ia.getComputedStyle(e),{x:l,y:c,width:u,height:d}=function(e,t){const{top:n,left:r}=t,{x:o,y:i}=e.getBBox(),{a:a,b:s,c:l,d:c,e:u,f:d}=e.getScreenCTM(),{width:p,height:f}=e.getBoundingClientRect();return{x:a*o+l*i+u-r,y:s*o+c*i+d-n+(f-Math.round(f/4)),width:p,height:f}}(e,{left:t,top:n});return{[e.textContent]:{x:l,y:c,width:u,height:d,fill:r,fontFamily:o,fontSize:i,textAnchor:a,transform:s}}};if(e.childElementCount>1){const t=[];return qa(e.querySelectorAll("tspan")).filter(r).forEach((e=>{o.push(i(e))})),t}o.push(i(e))})),o}var Td={export(e,t){const n=this.internal,{state:r,$el:{chart:o,svg:i}}=n,{width:a,height:s}=r.current,l=Za({width:a,height:s,preserveAspectRatio:!0,preserveFontStyle:!1,mimeType:"image/png"},e),c=kd(o.node(),l,{width:a,height:s}),u=l.preserveFontStyle?Cd(i.node()):[];if(t&&ya(t)){const e=new Image;e.crossOrigin="Anonymous",e.onload=()=>{const n=aa.createElement("canvas"),r=n.getContext("2d");n.width=l.width||a,n.height=l.height||s,r.drawImage(e,0,0),u.length&&(function(e,t){t.forEach((t=>{Object.keys(t).forEach((n=>{const{x:r,y:o,width:i,height:a,fill:s,fontFamily:l,fontSize:c,transform:u}=t[n];if(e.save(),e.font=`${c} ${l}`,e.fillStyle=s,"none"===u)e.fillText(n,r,o);else{const t=u.replace(/(matrix|\(|\))/g,"").split(",");t.splice(4).every((e=>0==+e))?(t.push(r+i-i/4),t.push(o-a+a/3)):(t.push(r),t.push(o)),e.transform(...t),e.fillText(n,0,0)}e.restore()}))}))}(r,u),u.length=0),t.bind(this)(n.toDataURL(l.mimeType))},e.src=c}return c}},Md={focus(e){const t=this.internal,{state:n}=t,r=t.mapToTargetIds(e),o=t.$el.svg.selectAll(t.selectorTargets(r.filter(t.isTargetToShow,t)));this.revert(),this.defocus(),o.classed(Vn.focused,!0).classed(Vn.defocused,!1),t.hasArcType()&&!n.hasRadar&&(t.expandArc(r),t.hasType("gauge")&&t.markOverlapped(e,t,`.${zn.gaugeValue}`)),t.toggleFocusLegend(r,!0),n.focusedTargetIds=r,n.defocusedTargetIds=n.defocusedTargetIds.filter((e=>r.indexOf(e)<0))},defocus(e){const t=this.internal,{state:n}=t,r=t.mapToTargetIds(e);t.$el.svg.selectAll(t.selectorTargets(r.filter(t.isTargetToShow,t))).classed(Vn.focused,!1).classed(Vn.defocused,!0),t.hasArcType(null,["polar"])&&(t.unexpandArc(r),t.hasType("gauge")&&t.undoMarkOverlapped(t,`.${zn.gaugeValue}`)),t.toggleFocusLegend(r,!1),n.focusedTargetIds=n.focusedTargetIds.filter((e=>r.indexOf(e)<0)),n.defocusedTargetIds=r},revert(e){const t=this.internal,{config:n,state:r,$el:o}=t,i=t.mapToTargetIds(e);o.svg.selectAll(t.selectorTargets(i)).classed(Vn.focused,!1).classed(Vn.defocused,!1),t.hasArcType(null,["polar"])&&t.unexpandArc(i),n.legend_show&&(t.showLegend(i.filter(t.isLegendToShow.bind(t))),o.legend.selectAll(t.selectorLegends(i)).filter((function(){return be(this).classed(Vn.legendItemFocused)})).classed(Vn.legendItemFocused,!1)),r.focusedTargetIds=[],r.defocusedTargetIds=[]}},Pd={legend:{show:function(e){const t=this.internal;t.showLegend(t.mapToTargetIds(e)),t.updateAndRedraw({withLegend:!0})},hide:function(e){const t=this.internal;t.hideLegend(t.mapToTargetIds(e)),t.updateAndRedraw({withLegend:!0})}}},Od={load(e){const t=this.internal,{config:n}=t;e.xs&&t.addXs(e.xs),"names"in e&&this.data.names(e.names),"classes"in e&&Object.keys(e.classes).forEach((t=>{n.data_classes[t]=e.classes[t]})),"categories"in e&&t.axis.isCategorized()&&(n.axis_x_categories=e.categories),"axes"in e&&Object.keys(e.axes).forEach((t=>{n.data_axes[t]=e.axes[t]})),"colors"in e&&Object.keys(e.colors).forEach((t=>{n.data_colors[t]=e.colors[t]})),"unload"in e&&!1!==e.unload?t.unload(t.mapToTargetIds(!0===e.unload?null:e.unload),(()=>{ca((()=>t.loadFromArgs(e)))})):t.loadFromArgs(e)},unload(e){const t=this.internal;let n=e||{};Ta(n)&&this.tooltip.hide(),Pa(n)?n={ids:n}:ba(n)&&(n={ids:[n]});const r=t.mapToTargetIds(n.ids);t.unload(r,(()=>{t.redraw({withUpdateOrgXDomain:!0,withUpdateXDomain:!0,withLegend:!0}),t.cache.remove(r),sl.call(t,n.done,n.resizeAfter)}))}};function Ed(e,t,n){const r=this.internal,o=r.mapToTargetIds(t),i=r.state.hiddenTargetIds.map((e=>o.indexOf(e)>-1&&e)).filter(Boolean);r.state.toggling=!0,r[(e?"remove":"add")+"HiddenTargetIds"](o);const a=r.$el.svg.selectAll(r.selectorTargets(o)),s=e?null:"0";e&&i.length&&(a.style("display",null),Da(r.config.data_onshown,this,i)),r.$T(a).style("opacity",s,"important").call(Ra,(()=>{e||0!==i.length||(a.style("display","none"),Da(r.config.data_onhidden,this,o)),a.style("opacity",s)})),n.withLegend&&r[(e?"show":"hide")+"Legend"](o),r.redraw({withUpdateOrgXDomain:!0,withUpdateXDomain:!0,withLegend:!0}),r.state.toggling=!1}var Dd={show(e,t={}){Ed.call(this,!0,e,t)},hide(e,t={}){Ed.call(this,!1,e,t)},toggle(e,t={}){const n=this.internal,r={show:[],hide:[]};n.mapToTargetIds(e).forEach((e=>r[n.isTargetToShow(e)?"hide":"show"].push(e))),r.show.length&&this.show(r.show,t),r.hide.length&&setTimeout((()=>this.hide(r.hide,t)),0)}};const Rd={show:function(e){var t,n,r;const o=this.internal,{$el:i,config:a,state:{eventReceiver:s,hasFunnel:l,hasTreemap:c,inputType:u}}=o;let d,p;if(e.mouse&&(p=e.mouse),e.data){const{data:u}=e,f=null==(t=o.getYScaleById(u.id))?void 0:t(u.value);if((l||c)&&u.id){const e=o.selectorTarget(u.id,void 0,`.${Kn.shape}`);s.rect=i.main.select(e)}else o.isMultipleX()?p=[o.xx(u),f]:(a.tooltip_grouped||(p=[0,f]),d=null!=(r=u.index)?r:o.hasArcType()&&u.id?null==(n=o.getArcElementByIdOrIndex(u.id))?void 0:n.datum().index:o.getIndexByX(u.x))}else Aa(e.x)?d=o.getIndexByX(e.x):Aa(e.index)&&(d=e.index);("mouse"===u?["mouseover","mousemove"]:["touchstart"]).forEach((e=>{o.dispatchEvent(e,d,p)}))},hide:function(){var e,t,n;const r=this.internal,{state:{inputType:o},$el:{tooltip:i}}=r,a=null==i?void 0:i.datum();if(a){const{index:e}=JSON.parse(a.current)[0];("mouse"===o?["mouseout"]:["touchend"]).forEach((t=>{r.dispatchEvent(t,e)}))}"touch"===o&&r.callOverOutForTouch(),r.hideTooltip(!0),null==(e=r.hideGridFocus)||e.call(r),null==(t=r.unexpandCircles)||t.call(r),null==(n=r.expandBarTypeShapes)||n.call(r,!1)}};var Id={tooltip:Rd},Nd=Object.defineProperty,Ld=(e,t,n)=>(((e,t,n)=>{t in e?Nd(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n})(e,"symbol"!=typeof t?t+"":t,n),n);class jd{constructor(e){Ld(this,"plugins",[]),Ld(this,"internal");const t=new bd(this);this.internal=t,function e(t,n,r){Object.keys(t).forEach((o=>{const i=ya(t[o]),a=n!==r,s=Ma(t[o]),l=s&&Object.keys(t[o]).length>0;n[o]=i&&(!a&&l||a)?t[o].bind(r):s&&!i?{}:t[o],l&&e(t[o],n[o],r)}))}(jd.prototype,this,this),xd.call(t,e),t.beforeInit(),t.init()}}function $d(e=!1,t,n,r){const o=this,{config:i,$el:{main:a}}=o,s=i.data_selection_grouped,l=i.data_selection_isselectable.bind(o.api);i.data_selection_enabled&&a.selectAll(`.${Kn.shapes}`).selectAll(`.${Kn.shape}`).each((function(i){const a=be(this),{id:c,index:u}=i.data?i.data:i,d=o.getToggle(this,i).bind(o),p=s||!t||t.indexOf(c)>=0,f=!n||n.indexOf(u)>=0,h=a.classed(Xn.SELECTED);a.classed(Bn.line)||a.classed(En.area)||(e?p&&f&&l(i)&&!h?d(!0,a.classed(Xn.SELECTED,!0),i,u):Aa(r)&&r&&h&&d(!1,a.classed(Xn.SELECTED,!1),i,u):p&&f&&l(i)&&h&&d(!1,a.classed(Xn.SELECTED,!1),i,u))}))}Wa(jd.prototype,[wd,Ad,Sd,Td,Md,Pd,Od,Dd,Id]);var zd={selected(e){const t=this.internal,n=[];return t.$el.main.selectAll(`.${Kn.shapes+t.getTargetSelectorSuffix(e)}`).selectAll(`.${Kn.shape}`).filter((function(){return be(this).classed(Xn.SELECTED)})).each((e=>n.push(e))),n},select(e,t,n){const r=this.internal;$d.bind(r)(!0,e,t,n)},unselect(e,t){const n=this.internal;$d.bind(n)(!1,e,t)}};const Fd=function(e){var t;const n=this.internal,{axis:r,brush:o,config:i,scale:{x:a,subX:s},state:l}=n;let c;return i.subchart_show&&(c=e,Array.isArray(c)?(r.isTimeSeries()&&(c=c.map((e=>rs.bind(n)(e)))),n.withinRange(c,n.getZoomDomain("subX",!0),n.getZoomDomain("subX"))&&(l.domain=c,o.move(o.getSelection(),c.map(s)))):c=null!=(t=l.domain)?t:a.orgDomain()),c};Wa(Fd,{show(){var e,t;const n=this.internal,{$el:{subchart:r},config:o}=n,i=o.subchart_show;if(!i){n.unbindZoomEvent(),o.subchart_show=!i,!r.main&&n.initSubchart();let a=r.main.selectAll(`.${Pn.target}`);n.data.targets.length!==a.size()&&(n.updateSizes(),n.updateTargetsForSubchart(n.data.targets),a=null==(e=r.main)?void 0:e.selectAll(`.${Pn.target}`)),null==a||a.style("opacity",null),null==(t=r.main)||t.style("display",null),this.resize()}},hide(){const e=this.internal,{$el:{subchart:{main:t}},config:n}=e;n.subchart_show&&"none"!==(null==t?void 0:t.style("display"))&&(n.subchart_show=!1,t.style("display","none"),this.resize())},toggle(){const e=this.internal,{config:t}=e;this.subchart[t.subchart_show?"hide":"show"]()},reset(){const e=this.internal,{brush:t}=e;t.clear(t.getSelection())}});var Bd={subchart:Fd};function Hd(e){return((e=Math.exp(e))+1/e)/2}var Vd=function e(t,n,r){function o(e,o){var i,a,s=e[0],l=e[1],c=e[2],u=o[0],d=o[1],p=o[2],f=u-s,h=d-l,m=f*f+h*h;if(m<1e-12)a=Math.log(p/c)/t,i=function(e){return[s+e*f,l+e*h,c*Math.exp(t*e*a)]};else{var g=Math.sqrt(m),v=(p*p-c*c+r*m)/(2*c*n*g),y=(p*p-c*c-r*m)/(2*p*n*g),b=Math.log(Math.sqrt(v*v+1)-v),x=Math.log(Math.sqrt(y*y+1)-y);a=(x-b)/t,i=function(e){var r=e*a,o=Hd(b),i=c/(n*g)*(o*function(e){return((e=Math.exp(2*e))-1)/(e+1)}(t*r+b)-function(e){return((e=Math.exp(e))-1/e)/2}(b));return[s+i*f,l+i*h,c*o/Hd(t*r+b)]}}return i.duration=1e3*a*t/Math.SQRT2,i}return o.rho=function(t){var n=Math.max(.001,+t),r=n*n;return e(n,r,r*r)},o}(Math.SQRT2,2,4),Wd=e=>()=>e;function Ud(e,{sourceEvent:t,target:n,transform:r,dispatch:o}){Object.defineProperties(this,{type:{value:e,enumerable:!0,configurable:!0},sourceEvent:{value:t,enumerable:!0,configurable:!0},target:{value:n,enumerable:!0,configurable:!0},transform:{value:r,enumerable:!0,configurable:!0},_:{value:o}})}function qd(e,t,n){this.k=e,this.x=t,this.y=n}qd.prototype={constructor:qd,scale:function(e){return 1===e?this:new qd(this.k*e,this.x,this.y)},translate:function(e,t){return 0===e&0===t?this:new qd(this.k,this.x+this.k*e,this.y+this.k*t)},apply:function(e){return[e[0]*this.k+this.x,e[1]*this.k+this.y]},applyX:function(e){return e*this.k+this.x},applyY:function(e){return e*this.k+this.y},invert:function(e){return[(e[0]-this.x)/this.k,(e[1]-this.y)/this.k]},invertX:function(e){return(e-this.x)/this.k},invertY:function(e){return(e-this.y)/this.k},rescaleX:function(e){return e.copy().domain(e.range().map(this.invertX,this).map(e.invert,e))},rescaleY:function(e){return e.copy().domain(e.range().map(this.invertY,this).map(e.invert,e))},toString:function(){return"translate("+this.x+","+this.y+") scale("+this.k+")"}};var Gd=new qd(1,0,0);function Yd(e){for(;!e.__zoom;)if(!(e=e.parentNode))return Gd;return e.__zoom}function Xd(e){e.stopImmediatePropagation()}function Kd(e){e.preventDefault(),e.stopImmediatePropagation()}function Zd(e){return!(e.ctrlKey&&"wheel"!==e.type||e.button)}function Jd(){var e=this;return e instanceof SVGElement?(e=e.ownerSVGElement||e).hasAttribute("viewBox")?[[(e=e.viewBox.baseVal).x,e.y],[e.x+e.width,e.y+e.height]]:[[0,0],[e.width.baseVal.value,e.height.baseVal.value]]:[[0,0],[e.clientWidth,e.clientHeight]]}function Qd(){return this.__zoom||Gd}function ep(e){return-e.deltaY*(1===e.deltaMode?.05:e.deltaMode?1:.002)*(e.ctrlKey?10:1)}function tp(){return navigator.maxTouchPoints||"ontouchstart"in this}function np(e,t,n){var r=e.invertX(t[0][0])-n[0][0],o=e.invertX(t[1][0])-n[1][0],i=e.invertY(t[0][1])-n[0][1],a=e.invertY(t[1][1])-n[1][1];return e.translate(o>r?(r+o)/2:Math.min(0,r)||Math.max(0,o),a>i?(i+a)/2:Math.min(0,i)||Math.max(0,a))}Yd.prototype=qd.prototype;const rp=function(e){var t;const n=this.internal,{axis:r,config:o,org:i,scale:a,state:s}=n,l=r.isCategorized();let c;if(o.zoom_enabled)if(c=e,Array.isArray(c)){if(r.isTimeSeries()&&(c=c.map((e=>rs.bind(n)(e)))),n.withinRange(c,n.getZoomDomain("zoom",!0),n.getZoomDomain("zoom"))){if(s.domain=c,c=n.getZoomDomainValue(c),n.api.tooltip.hide(),o.subchart_show){const e=a.zoom||a.x;n.brush.getSelection().call(n.brush.move,c.map(e))}else{const e=l?a.x.orgScale():i.xScale||a.x;n.updateCurrentZoomTransform(e,c)}n.setZoomResetButton()}}else c=n.zoom.getDomain();return null!=(t=s.domain)?t:c};Wa(rp,{enable(e){const t=this.internal,{config:n}=t;/^(drag|wheel)$/.test(e)&&(n.zoom_type=e),n.zoom_enabled=!!e,t.zoom?!1===e&&t.bindZoomEvent(!1):(t.initZoom(),t.bindZoomEvent()),t.updateAndRedraw()},max(e){const t=this.internal,{config:n,org:{xDomain:r}}=t;return(0===e||e)&&(n.zoom_x_max=Qa("max",[r[1],e])),n.zoom_x_max},min(e){const t=this.internal,{config:n,org:{xDomain:r}}=t;return(0===e||e)&&(n.zoom_x_min=Qa("min",[r[0],e])),n.zoom_x_min},range(e){const t=this.zoom;if(Oa(e)){const{min:n,max:r}=e;Aa(n)&&t.min(n),Aa(r)&&t.max(r)}return{min:t.min(),max:t.max()}}});var op,ip,ap={zoom:rp,unzoom(){const e=this.internal,{config:t,$el:{eventRect:n,zoomResetBtn:r},scale:{zoom:o},state:i}=e;o&&(t.subchart_show?e.brush.getSelection().call(e.brush.move,null):e.zoom.updateTransformScale(Gd),e.updateZoom(!0),null==r||r.style("display","none"),Yd(n.node())!==Gd&&e.zoom.transform(n,Gd),i.domain=void 0)}},sp={initBrush(){const e=this,{config:t,scale:n,$el:{subchart:r},state:o}=e,i=t.axis_rotated,a=t.subchart_size_height;let s,l,c;e.brush=oa(i?qi:Ui).handleSize(5),e.brush.on("start brush end",(t=>{const{selection:r,sourceEvent:c,target:u,type:d}=t;"start"===d&&("touch"===e.state.inputType&&e.hideTooltip(),l=c?r:null),/(start|brush)/.test(d)&&("brush"===d&&c&&o.domain&&(null==l||l.forEach(((e,t)=>{e!==r[t]&&(o.domain[t]=n.x.orgDomain()[t])}))),e.redrawForBrush("start"!==d)),"end"===d&&(s=n.x.orgDomain()),(null==u?void 0:u.handle)&&(null===r?e.brush.handle.attr("display","none"):e.brush.handle.attr("display",null).attr("transform",((e,t)=>{const n=[r[t],a/2];return`translate(${i?n.reverse():n})`})))})),e.brush.updateResize=function(){c&&clearTimeout(c),c=setTimeout((()=>{const e=this.getSelection();s&&ra(e.node())&&this.move(e,s.map(n.subX.orgScale()))}),0)},e.brush.update=function(){var e;return 0===this.extent()()[1].filter((e=>isNaN(e))).length&&(null==(e=r.main)||e.select(`.${nr.brush}`).call(this)),this},e.brush.scale=function(n){const r=t.subchart_size_height;let o=e.getExtent();!o&&n.range?o=[[0,0],[n.range()[1],r]]:Pa(o)&&(o=o.map(((e,t)=>[e,t>0?r:t]))),i&&o[1].reverse(),this.extent(o),this.update()},e.brush.getSelection=()=>r.main?r.main.select(`.${nr.brush}`):be([])},initSubchart(){const e=this,{config:t,state:{clip:n,hasAxis:r},$el:{defs:o,svg:i,subchart:a,axis:s}}=e;if(!r)return;const l=t.subchart_show?null:"hidden",c=`${n.id}-subchart`,u=e.getClipPath(c);n.idSubchart=c,e.appendClip(o,c),e.initBrush(),a.main=i.append("g").classed(nr.subchart,!0).attr("transform",e.getTranslate("context"));const{main:d}=a;d.style("visibility",l),d.append("g").attr("clip-path",u).attr("class",nr.chart),["bar","line","bubble","candlestick","scatter"].forEach((t=>{const n=Ua(/^(bubble|scatter)$/.test(t)?"circle":t);if(e.hasType(t)||e.hasTypeOf(n)){const e=d.select(`.${nr.chart}`),t=nr[`chart${n}s`];e.select(`.${t}`).empty()&&e.append("g").attr("class",t)}}));const p=d.append("g").attr("clip-path",u).attr("class",nr.brush).call(e.brush);t.subchart_showHandle&&e.addBrushHandle(p),s.subX=d.append("g").attr("class",nr.axisX).attr("transform",e.getTranslate("subX")).attr("clip-path",t.axis_rotated?"":n.pathXAxis).style("visibility",t.subchart_axis_x_show?l:"hidden")},addBrushHandle(e){const{config:t}=this,n=t.axis_rotated,r=t.subchart_init_range,o="handle--custom",i=n?["M8.5 0 a6 6 0 0 0 -6 -6.5 H-2.5 a 6 6 0 0 0 -6 6.5 z m-5 -2 H-3.5 m7 -2 H-3.5z","M8.5 0 a6 -6 0 0 1 -6 6.5 H-2.5 a 6 -6 0 0 1 -6 -6.5z m-5 2 H-3.5 m7 2 H-3.5z"]:["M0 -8.5 A6 6 0 0 0 -6.5 -3.5 V2.5 A6 6 0 0 0 0 8.5 Z M-2 -3.5 V3.5 M-4 -3.5 V3.5z","M0 -8.5 A6 6 0 0 1 6.5 -3.5 V2.5 A6 6 0 0 1 0 8.5 Z M2 -3.5 V3.5 M4 -3.5 V3.5z"];this.brush.handle=e.selectAll(`.${o}`).data(n?[{type:"n"},{type:"s"}]:[{type:"w"},{type:"e"}]).enter().append("path").attr("class",o).attr("cursor",(n?"ns":"ew")+"-resize").attr("d",(e=>i[+/[se]/.test(e.type)])).attr("display",r?null:"none")},updateTargetsForSubchart(e){const t=this,{config:n,state:r,$el:{subchart:{main:o}}}=t;n.subchart_show&&(["bar","line","bubble","candlestick","scatter"].filter((e=>t.hasType(e)||t.hasTypeOf(Ua(e)))).forEach((n=>{const r=/^(bubble|scatter)$/.test(n),i=Ua(r?"circle":n),a=t.getChartClass(i,!0),s=t.getClass(r?"circles":`${n}s`,!0),l=o.select(`.${nr[`chart${i}s`]}`);if(r){const r=l.selectAll(`.${nr.circles}`).data(e.filter(t[`is${Ua(n)}Type`].bind(t))).attr("class",s);r.exit().remove(),r.enter().append("g").attr("class",s)}else{const r=l.selectAll(`.${nr[`chart${i}`]}`).attr("class",a).data(e.filter(t[`is${i}Type`].bind(t))),o=r.enter().append("g").style("opacity","0").attr("class",a).append("g").attr("class",s);r.exit().remove(),"line"===n&&t.hasTypeOf("Area")&&o.append("g").attr("class",t.getClass("areas",!0))}})),o.selectAll(`.${nr.brush} rect`).attr(n.axis_rotated?"width":"height",n.axis_rotated?r.width2:r.height2))},redrawSubchart(e,t,n){var r;const o=this,{config:i,$el:{subchart:{main:a}},state:s}=o,l=!!t;if(a.style("visibility",i.subchart_show?null:"hidden"),i.subchart_show&&("zoom"===(null==(r=s.event)?void 0:r.type)&&o.brush.update(),e)){const e=i.subchart_init_range;if(!Va(o)&&o.brush.update(),Object.keys(n.type).forEach((e=>{const t=Ua(e),r=o[`generateDraw${t}`](n.indices[e],!0);o[`update${t}`](l,!0),o[`redraw${t}`](r,l,!0)})),o.hasType("bubble")||o.hasType("scatter")){const{cx:e}=n.pos,t=o.updateCircleY(!0);o.updateCircle(!0),o.redrawCircle(e,t,l,void 0,!0)}!s.rendered&&e&&(s.domain=e,o.brush.move(o.brush.getSelection(),e.map(o.scale.x)))}},redrawForBrush(e=!0){var t;const n=this,{config:{subchart_onbrush:r,zoom_rescale:o},scale:i,state:a}=n;n.redraw({withTransition:!1,withY:o,withSubchart:!1,withUpdateXDomain:!0,withDimension:!1}),e&&a.rendered&&r.bind(n.api)(null!=(t=a.domain)?t:i.x.orgDomain())},transformContext(e,t){const n=this,{$el:{subchart:r},$T:o}=n,i=(null==t?void 0:t.axisSubX)?t.axisSubX:o(r.main.select(`.${nr.axisX}`),e);r.main.attr("transform",n.getTranslate("context")),i.attr("transform",n.getTranslate("subX"))},getExtent(){const e=this,{config:t,scale:n}=e;let r=t.axis_x_extent;if(r)if(ya(r))r=r.bind(e.api)(e.getXDomain(e.data.targets),n.subX);else if(e.axis.isTimeSeries()&&r.every(isNaN)){const t=rs.bind(e);r=r.map((e=>n.subX(t(e))))}return r}},lp={initZoom(){const e=this;e.scale.zoom=null,e.generateZoom(),e.initZoomBehaviour()},bindZoomEvent(e=!0){const t=this,{config:n}=t;n.zoom_enabled&&e?!n.subchart_show&&t.bindZoomOnEventRect():!1===e&&(t.api.unzoom(),t.unbindZoomEvent())},generateZoom(){const e=this,{config:t,org:n,scale:r}=e,o=function(){var e,t,n,r=Zd,o=Jd,i=np,a=ep,s=tp,l=[0,1/0],c=[[-1/0,-1/0],[1/0,1/0]],u=250,d=Vd,p=gr("start","zoom","end"),f=500,h=150,m=0,g=10;function v(e){e.property("__zoom",Qd).on("wheel.zoom",S,{passive:!1}).on("mousedown.zoom",k).on("dblclick.zoom",C).filter(s).on("touchstart.zoom",T).on("touchmove.zoom",M).on("touchend.zoom touchcancel.zoom",P).style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function y(e,t){return(t=Math.max(l[0],Math.min(l[1],t)))===e.k?e:new qd(t,e.x,e.y)}function b(e,t,n){var r=t[0]-n[0]*e.k,o=t[1]-n[1]*e.k;return r===e.x&&o===e.y?e:new qd(e.k,r,o)}function x(e){return[(+e[0][0]+ +e[1][0])/2,(+e[0][1]+ +e[1][1])/2]}function w(e,t,n,r){e.on("start.zoom",(function(){A(this,arguments).event(r).start()})).on("interrupt.zoom end.zoom",(function(){A(this,arguments).event(r).end()})).tween("zoom",(function(){var e=this,i=arguments,a=A(e,i).event(r),s=o.apply(e,i),l=null==n?x(s):"function"==typeof n?n.apply(e,i):n,c=Math.max(s[1][0]-s[0][0],s[1][1]-s[0][1]),u=e.__zoom,p="function"==typeof t?t.apply(e,i):t,f=d(u.invert(l).concat(c/u.k),p.invert(l).concat(c/p.k));return function(e){if(1===e)e=p;else{var t=f(e),n=c/t[2];e=new qd(n,l[0]-t[0]*n,l[1]-t[1]*n)}a.zoom(null,e)}}))}function A(e,t,n){return!n&&e.__zooming||new _(e,t)}function _(e,t){this.that=e,this.args=t,this.active=0,this.sourceEvent=null,this.extent=o.apply(e,t),this.taps=0}function S(e,...t){if(r.apply(this,arguments)){var n=A(this,t).event(e),o=this.__zoom,s=Math.max(l[0],Math.min(l[1],o.k*Math.pow(2,a.apply(this,arguments)))),u=wo(e);if(n.wheel)n.mouse[0][0]===u[0]&&n.mouse[0][1]===u[1]||(n.mouse[1]=o.invert(n.mouse[0]=u)),clearTimeout(n.wheel);else{if(o.k===s)return;n.mouse=[u,o.invert(u)],ei(this),n.start()}Kd(e),n.wheel=setTimeout((function(){n.wheel=null,n.end()}),h),n.zoom("mouse",i(b(y(o,s),n.mouse[0],n.mouse[1]),n.extent,c))}}function k(e,...t){if(!n&&r.apply(this,arguments)){var o=e.currentTarget,a=A(this,t,!0).event(e),s=be(e.view).on("mousemove.zoom",(function(e){if(Kd(e),!a.moved){var t=e.clientX-u,n=e.clientY-d;a.moved=t*t+n*n>m}a.event(e).zoom("mouse",i(b(a.that.__zoom,a.mouse[0]=wo(e,o),a.mouse[1]),a.extent,c))}),!0).on("mouseup.zoom",(function(e){s.on("mousemove.zoom mouseup.zoom",null),Ar(e.view,a.moved),Kd(e),a.event(e).end()}),!0),l=wo(e,o),u=e.clientX,d=e.clientY;wr(e.view),Xd(e),a.mouse=[l,this.__zoom.invert(l)],ei(this),a.start()}}function C(e,...t){if(r.apply(this,arguments)){var n=this.__zoom,a=wo(e.changedTouches?e.changedTouches[0]:e,this),s=n.invert(a),l=n.k*(e.shiftKey?.5:2),d=i(b(y(n,l),a,s),o.apply(this,t),c);Kd(e),u>0?be(this).transition().duration(u).call(w,d,a,e):be(this).call(v.transform,d,a,e)}}function T(n,...o){if(r.apply(this,arguments)){var i,a,s,l,c=n.touches,u=c.length,d=A(this,o,n.changedTouches.length===u).event(n);for(Xd(n),a=0;a<u;++a)l=[l=wo(s=c[a],this),this.__zoom.invert(l),s.identifier],d.touch0?d.touch1||d.touch0[2]===l[2]||(d.touch1=l,d.taps=0):(d.touch0=l,i=!0,d.taps=1+!!e);e&&(e=clearTimeout(e)),i&&(d.taps<2&&(t=l[0],e=setTimeout((function(){e=null}),f)),ei(this),d.start())}}function M(e,...t){if(this.__zooming){var n,r,o,a,s=A(this,t).event(e),l=e.changedTouches,u=l.length;for(Kd(e),n=0;n<u;++n)o=wo(r=l[n],this),s.touch0&&s.touch0[2]===r.identifier?s.touch0[0]=o:s.touch1&&s.touch1[2]===r.identifier&&(s.touch1[0]=o);if(r=s.that.__zoom,s.touch1){var d=s.touch0[0],p=s.touch0[1],f=s.touch1[0],h=s.touch1[1],m=(m=f[0]-d[0])*m+(m=f[1]-d[1])*m,g=(g=h[0]-p[0])*g+(g=h[1]-p[1])*g;r=y(r,Math.sqrt(m/g)),o=[(d[0]+f[0])/2,(d[1]+f[1])/2],a=[(p[0]+h[0])/2,(p[1]+h[1])/2]}else{if(!s.touch0)return;o=s.touch0[0],a=s.touch0[1]}s.zoom("touch",i(b(r,o,a),s.extent,c))}}function P(e,...r){if(this.__zooming){var o,i,a=A(this,r).event(e),s=e.changedTouches,l=s.length;for(Xd(e),n&&clearTimeout(n),n=setTimeout((function(){n=null}),f),o=0;o<l;++o)i=s[o],a.touch0&&a.touch0[2]===i.identifier?delete a.touch0:a.touch1&&a.touch1[2]===i.identifier&&delete a.touch1;if(a.touch1&&!a.touch0&&(a.touch0=a.touch1,delete a.touch1),a.touch0)a.touch0[1]=this.__zoom.invert(a.touch0[0]);else if(a.end(),2===a.taps&&(i=wo(i,this),Math.hypot(t[0]-i[0],t[1]-i[1])<g)){var c=be(this).on("dblclick.zoom");c&&c.apply(this,arguments)}}}return v.transform=function(e,t,n,r){var o=e.selection?e.selection():e;o.property("__zoom",Qd),e!==o?w(e,t,n,r):o.interrupt().each((function(){A(this,arguments).event(r).start().zoom(null,"function"==typeof t?t.apply(this,arguments):t).end()}))},v.scaleBy=function(e,t,n,r){v.scaleTo(e,(function(){return this.__zoom.k*("function"==typeof t?t.apply(this,arguments):t)}),n,r)},v.scaleTo=function(e,t,n,r){v.transform(e,(function(){var e=o.apply(this,arguments),r=this.__zoom,a=null==n?x(e):"function"==typeof n?n.apply(this,arguments):n,s=r.invert(a),l="function"==typeof t?t.apply(this,arguments):t;return i(b(y(r,l),a,s),e,c)}),n,r)},v.translateBy=function(e,t,n,r){v.transform(e,(function(){return i(this.__zoom.translate("function"==typeof t?t.apply(this,arguments):t,"function"==typeof n?n.apply(this,arguments):n),o.apply(this,arguments),c)}),null,r)},v.translateTo=function(e,t,n,r,a){v.transform(e,(function(){var e=o.apply(this,arguments),a=this.__zoom,s=null==r?x(e):"function"==typeof r?r.apply(this,arguments):r;return i(Gd.translate(s[0],s[1]).scale(a.k).translate("function"==typeof t?-t.apply(this,arguments):-t,"function"==typeof n?-n.apply(this,arguments):-n),e,c)}),r,a)},_.prototype={event:function(e){return e&&(this.sourceEvent=e),this},start:function(){return 1==++this.active&&(this.that.__zooming=this,this.emit("start")),this},zoom:function(e,t){return this.mouse&&"mouse"!==e&&(this.mouse[1]=t.invert(this.mouse[0])),this.touch0&&"touch"!==e&&(this.touch0[1]=t.invert(this.touch0[0])),this.touch1&&"touch"!==e&&(this.touch1[1]=t.invert(this.touch1[0])),this.that.__zoom=t,this.emit("zoom"),this},end:function(){return 0==--this.active&&(delete this.that.__zooming,this.emit("end")),this},emit:function(e){var t=be(this.that).datum();p.call(e,this.that,new Ud(e,{sourceEvent:this.sourceEvent,target:v,type:e,transform:this.that.__zoom,dispatch:p}),t)}},v.wheelDelta=function(e){return arguments.length?(a="function"==typeof e?e:Wd(+e),v):a},v.filter=function(e){return arguments.length?(r="function"==typeof e?e:Wd(!!e),v):r},v.touchable=function(e){return arguments.length?(s="function"==typeof e?e:Wd(!!e),v):s},v.extent=function(e){return arguments.length?(o="function"==typeof e?e:Wd([[+e[0][0],+e[0][1]],[+e[1][0],+e[1][1]]]),v):o},v.scaleExtent=function(e){return arguments.length?(l[0]=+e[0],l[1]=+e[1],v):[l[0],l[1]]},v.translateExtent=function(e){return arguments.length?(c[0][0]=+e[0][0],c[1][0]=+e[1][0],c[0][1]=+e[0][1],c[1][1]=+e[1][1],v):[[c[0][0],c[0][1]],[c[1][0],c[1][1]]]},v.constrain=function(e){return arguments.length?(i=e,v):i},v.duration=function(e){return arguments.length?(u=+e,v):u},v.interpolate=function(e){return arguments.length?(d=e,v):d},v.on=function(){var e=p.on.apply(p,arguments);return e===p?v:e},v.clickDistance=function(e){return arguments.length?(m=(e=+e)*e,v):Math.sqrt(m)},v.tapDistance=function(e){return arguments.length?(g=+e,v):g},v}().duration(0).on("start",e.onZoomStart.bind(e)).on("zoom",e.onZoom.bind(e)).on("end",e.onZoomEnd.bind(e));o.orgScaleExtent=()=>{const n=t.zoom_extent||[1,10];return[n[0],Math.max(e.getMaxDataCount()/n[1],n[1])]},o.updateScaleExtent=function(){const t=ka(e.scale.x.orgDomain())/ka(e.getZoomDomain()),n=this.orgScaleExtent();return this.scaleExtent([n[0]*t,n[1]*t]),this},o.updateTransformScale=(o,i)=>{var a;const s=t.axis_rotated;null==(a=n.xScale)||a.range(r.x.range());const l=o[s?"rescaleY":"rescaleX"](n.xScale||r.x),c=e.trimXDomain(l.domain()),u=t.zoom_rescale;if(l.domain(c,n.xDomain),i){const t=l(r.x.domain()[0]),n=s?o.x:t,i=s?t:o.y;e.$el.eventRect.property("__zoom",Gd.translate(n,i).scale(o.k))}e.state.xTickOffset||(e.state.xTickOffset=e.axis.x.tickOffset()),r.zoom=e.getCustomizedXScale(l),e.axis.x.scale(r.zoom),u?(!n.xScale&&(n.xScale=r.x.copy()),r.x.domain(c)):n.xScale&&(r.x.domain(n.xScale.domain()),n.xScale=null)},o.getDomain=()=>{const t=r[r.zoom?"zoom":"subX"].domain();return e.axis.isCategorized()&&(t[1]-=2),t},e.zoom=o},onZoomStart(e){const t=this,{sourceEvent:n}=e;n&&(t.zoom.startEvent=n,t.state.zooming=!0,Da(t.config.zoom_onzoomstart,t.api,e))},onZoom(e){var t;const n=this,{config:r,scale:o,state:i,org:a}=n,{sourceEvent:s}=e,l=(null==e?void 0:e.transform)===Gd;if(!r.zoom_enabled||0===n.filterTargetsToShow(n.data.targets).length||!o.zoom&&(null==s?void 0:s.type.indexOf("touch"))>-1&&1===(null==s?void 0:s.touches.length))return;e.sourceEvent&&(i.zooming=!0,i.domain=void 0);const c="mousemove"===(null==s?void 0:s.type),u=(null==s?void 0:s.wheelDelta)<0,{transform:d}=e;!c&&u&&o.x.domain().every(((e,t)=>e!==a.xDomain[t]))&&o.x.domain(a.xDomain),n.zoom.updateTransformScale(d,"wheel"===r.zoom_type&&s);const p=r.transition_duration>0&&!r.subchart_show&&(i.dragging||l||!e.sourceEvent);n.redraw({withTransition:p,withY:r.zoom_rescale,withSubchart:!1,withEventRect:!1,withDimension:!1}),n.state.cancelClick=c,!l&&Da(r.zoom_onzoom,n.api,null!=(t=n.state.domain)?t:n.zoom.getDomain())},onZoomEnd(e){var t,n;const r=this,{config:o,state:i}=r;let{startEvent:a}=r.zoom,s=null==e?void 0:e.sourceEvent;const l=(null==e?void 0:e.transform)===Gd;(null==a?void 0:a.type.indexOf("touch"))>-1&&(a=a.changedTouches[0],s=null==(t=null==s?void 0:s.changedTouches)?void 0:t[0]),"drag"===o.zoom_type&&s&&a.clientX===s.clientX&&a.clientY===s.clientY||(i.zooming=!1,r.redrawEventRect(),r.updateZoom(),!l&&(s||i.dragging)&&Da(o.zoom_onzoomend,r.api,null!=(n=r.state.domain)?n:r.zoom.getDomain()))},updateZoom(e){const t=this,{subX:n,x:r,zoom:o}=t.scale;if(o){const i=o.domain(),a=n.domain(),s=.015,l=t.config.axis_x_inverted?(i[0]>=a[0]||i[0]+s>=a[0])&&(a[1]>=i[1]||a[1]>=i[1]+s):(i[0]<=a[0]||i[0]-s<=a[0])&&(a[1]<=i[1]||a[1]<=i[1]-s);(e||l)&&(t.axis.x.scale(n),r.domain(n.orgDomain()),t.scale.zoom=null)}},updateCurrentZoomTransform(e,t){const{$el:{eventRect:n},config:r}=this,o=r.axis_rotated,i=[-e(t[0]),0],a=Gd.scale(e.range()[1]/(e(t[1])-e(t[0]))).translate(...o?i.reverse():i);n.call(this.zoom.transform,a)},bindZoomOnEventRect(){const e=this,{config:t,$el:{eventRect:n}}=e,r="drag"===t.zoom_type?e.zoomBehaviour:e.zoom;null==n||n.call(r).on("dblclick.zoom",null)},initZoomBehaviour(){const e=this,{config:t,state:n}=e,r=t.axis_rotated;let o,i=0,a=0;const s={axis:r?"y":"x",attr:r?"height":"width",index:r?1:0};e.zoomBehaviour=ml().clickDistance(4).on("start",(function(t){n.event=t,e.setDragStatus(!0),e.unselectRect(),o||(o=e.$el.main.append("rect").attr("clip-path",n.clip.path).attr("class",tr.zoomBrush).attr("width",r?n.width:0).attr("height",r?0:n.height)),i=$a(t,this)[s.index],a=i,o.attr(s.axis,i).attr(s.attr,0),e.onZoomStart(t)})).on("drag",(function(e){a=$a(e,this)[s.index],o.attr(s.axis,Math.min(i,a)).attr(s.attr,Math.abs(a-i))})).on("end",(t=>{const r=e.scale.zoom||e.scale.x;n.event=t,o.attr(s.axis,0).attr(s.attr,0),i>a&&([i,a]=[a,i]),i<0&&(a+=Math.abs(i),i=0),i!==a&&e.api.zoom([i,a].map((e=>r.invert(e)))),e.setDragStatus(!1)}))},setZoomResetButton(){const e=this,{config:t,$el:n}=e,r=t.zoom_resetButton;r&&"drag"===t.zoom_type&&(n.zoomResetBtn?n.zoomResetBtn.style("display",null):n.zoomResetBtn=e.$el.chart.append("div").classed(Pn.button,!0).append("span").on("click",(function(){ya(r.onclick)&&r.onclick.bind(e.api)(this),e.api.unzoom()})).classed(tr.buttonZoomReset,!0).text(r.text||"Reset Zoom"))},getZoomTransform(){const{$el:{eventRect:e}}=this;return(null==e?void 0:e.node())?Yd(e.node()):{k:1}}},cp={drag(e){const t=this,{config:n,state:r,$el:{main:o}}=t,i=n.data_selection_grouped,a=n.interaction_enabled&&n.data_selection_isselectable;if(t.hasArcType()||!n.data_selection_enabled||n.zoom_enabled&&!t.zoom.altDomain||!n.data_selection_multiple)return;const[s,l]=r.dragStart||[0,0],[c,u]=e,d=Math.min(s,c),p=Math.max(s,c),f=i?r.margin.top:Math.min(l,u),h=i?r.height:Math.max(l,u);o.select(`.${jn.dragarea}`).attr("x",d).attr("y",f).attr("width",p-d).attr("height",h-f),o.selectAll(`.${Kn.shapes}`).selectAll(`.${Kn.shape}`).filter((e=>null==a?void 0:a.bind(t.api)(e))).each((function(e,n){const r=be(this),o=r.classed(Xn.SELECTED),i=r.classed(jn.INCLUDED);let a,s=!1;if(r.classed(Nn.circle)){const e=1*+r.attr("cx"),n=1*+r.attr("cy");a=t.togglePoint,s=d<e&&e<p&&f<n&&n<h}else{if(!r.classed(Rn.bar))return;{const{x:e,y:n,width:r,height:o}=ja(this);a=t.togglePath,s=!(p<e||e+r<d||h<n||n+o<f)}}s^i&&(r.classed(jn.INCLUDED,!i),r.classed(Xn.SELECTED,!o),a.call(t,!o,r,e,n))}))},dragstart(e){const t=this,{config:n,state:r,$el:{main:o}}=t;!t.hasArcType()&&n.data_selection_enabled&&(r.dragStart=e,o.select(`.${Pn.chart}`).append("rect").attr("class",jn.dragarea).style("opacity","0.1"),t.setDragStatus(!0))},dragend(){const e=this,{config:t,$el:{main:n},$T:r}=e;!e.hasArcType()&&t.data_selection_enabled&&(r(n.select(`.${jn.dragarea}`)).style("opacity","0").remove(),n.selectAll(`.${Kn.shape}`).classed(jn.INCLUDED,!1),e.setDragStatus(!1))}},up=Object.defineProperty,dp=Object.defineProperties,pp=Object.getOwnPropertyDescriptors,fp=Object.getOwnPropertySymbols,hp=Object.prototype.hasOwnProperty,mp=Object.prototype.propertyIsEnumerable,gp=(e,t,n)=>t in e?up(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,vp=(op=((e,t)=>{for(var n in t||(t={}))hp.call(t,n)&&gp(e,n,t[n]);if(fp)for(var n of fp(t))mp.call(t,n)&&gp(e,n,t[n]);return e})({},cp),ip={selectPoint(e,t,n){const r=this,{config:o,$el:{main:i},$T:a}=r,s=o.axis_rotated,l=(s?r.circleY:r.circleX).bind(r),c=(s?r.circleX:r.circleY).bind(r),u=r.pointSelectR.bind(r);Da(o.data_onselected,r.api,t,e.node()),a(i.select(`.${Xn.selectedCircles}${r.getTargetSelectorSuffix(t.id)}`).selectAll(`.${Xn.selectedCircle}-${n}`).data([t]).enter().append("circle").attr("class",(()=>r.generateClass(Xn.selectedCircle,n))).attr("cx",l).attr("cy",c).attr("stroke",r.color).attr("r",(e=>1.4*r.pointSelectR(e)))).attr("r",u)},unselectPoint(e,t,n){const r=this,{config:o,$el:{main:i},$T:a}=r;Da(o.data_onunselected,r.api,t,null==e?void 0:e.node()),a(i.select(`.${Xn.selectedCircles}${r.getTargetSelectorSuffix(t.id)}`).selectAll(`.${Xn.selectedCircle}-${n}`)).attr("r",0).remove()},togglePoint(e,t,n,r){this[(e?"":"un")+"selectPoint"](t,n,r)},selectPath(e,t){const{config:n}=this;Da(n.data_onselected,this.api,t,e.node()),n.interaction_brighten&&e.style("filter","brightness(1.25)")},unselectPath(e,t){const{config:n}=this;Da(n.data_onunselected,this.api,t,e.node()),n.interaction_brighten&&e.style("filter",null)},togglePath(e,t,n,r){this[(e?"":"un")+"selectPath"](t,n,r)},getToggle(e,t){const n=this;return"path"===e.nodeName?n.togglePath:n.isStepType(t)?()=>{}:n.togglePoint},toggleShape(e,t,n){var r;const o=this,{config:i,$el:{main:a}}=o;if(i.data_selection_enabled&&i.data_selection_isselectable.bind(o.api)(t)){const s=be(e),l=s.classed(Xn.SELECTED),c=o.getToggle(e,t).bind(o);let u;if(!i.data_selection_multiple){const e=null==(r=o.isPointFocusOnly)?void 0:r.call(o);let n=`.${e?Xn.selectedCircles:Kn.shapes}`;i.data_selection_grouped&&(n+=o.getTargetSelectorSuffix(t.id)),a.selectAll(n).selectAll(e?`.${Xn.selectedCircle}`:`.${Kn.shape}.${Xn.SELECTED}`).classed(Xn.SELECTED,!1).each((function(e){const t=be(this);u=t,c(!1,t,e,e.index)}))}u&&u.node()===s.node()||(s.classed(Xn.SELECTED,!l),c(!l,s,t,n))}}},dp(op,pp(ip))),yp={data_selection_enabled:!1,data_selection_grouped:!1,data_selection_isselectable:()=>!0,data_selection_multiple:!0,data_selection_draggable:!1,data_onselected:()=>{},data_onunselected:()=>{}},bp={subchart_show:!1,subchart_showHandle:!1,subchart_size_height:60,subchart_axis_x_show:!0,subchart_axis_x_tick_show:!0,subchart_axis_x_tick_format:void 0,subchart_axis_x_tick_text_show:!0,subchart_init_range:void 0,subchart_onbrush:()=>{}},xp={zoom_enabled:!1,zoom_type:"wheel",zoom_extent:void 0,zoom_privileged:!1,zoom_rescale:!1,zoom_onzoom:void 0,zoom_onzoomstart:void 0,zoom_onzoomend:void 0,zoom_resetButton:!0,zoom_x_min:void 0,zoom_x_max:void 0};let wp=()=>(Wa(bd.prototype,vp),Wa(jd.prototype,zd),fs.setOptions([yp]),(wp=()=>!0)()),Ap=()=>(Wa(bd.prototype,sp),Wa(jd.prototype,Bd),fs.setOptions([bp]),(Ap=()=>!0)()),_p=()=>(Wa(bd.prototype,lp),Wa(jd.prototype,ap),fs.setOptions([xp]),(_p=()=>!0)());function Sp(e,t,n){const{config:r}=e,o=(e,n)=>{const o=xa(n)?n:!1===n?void 0:null;null!==o&&(r[`axis_${e}_${t}`]=o)};Aa(n)&&(Ca(n)?Object.keys(n).forEach((e=>{o(e,n[e])})):(xa(n)||!1===n)&&["y","y2"].forEach((e=>{o(e,n)})),e.redraw({withUpdateOrgXDomain:!0,withUpdateXDomain:!0}))}function kp(e,t){const{config:n}=e;return{x:n[`axis_x_${t}`],y:n[`axis_y_${t}`],y2:n[`axis_y2_${t}`]}}const Cp={labels:function(e){const t=this.internal;let n;return e&&(Object.keys(e).forEach((n=>{t.axis.setLabelText(n,e[n])})),t.axis.updateLabels()),["x","y","y2"].forEach((e=>{const r=t.axis.getLabelText(e);r&&(!n&&(n={}),n[e]=r)})),n},min:function(e){const t=this.internal;return va(e)||!1===e?Sp(t,"min",e):kp(t,"min")},max:function(e){const t=this.internal;return va(e)||!1===e?Sp(t,"max",e):kp(t,"max")},range:function(e){const{axis:t}=this;if(!arguments.length)return{max:t.max(),min:t.min()};{const{min:n,max:r}=e;Aa(r)&&t.max(r),Aa(n)&&t.min(n)}}};var Tp={axis:Cp},Mp={category(e,t){const n=this.internal,{config:r}=n;return arguments.length>1&&(r.axis_x_categories[e]=t,n.redraw()),r.axis_x_categories[e]},categories(e){const t=this.internal,{config:n}=t;if(!e||!Array.isArray(e)){const e=n.axis_x_categories;return Ta(e)?Object.values(t.data.xs)[0]:e}return n.axis_x_categories=e,t.redraw(),n.axis_x_categories}},Pp={flow(e){const t=this.internal;let n;(e.json||e.rows||e.columns)&&t.convertData(e,(r=>{n=r,function(){let r,o,i,a=0,s=0;if(t.state.redrawing||!n||!os())return;const l=[],c=t.getMaxDataCount(),u=t.convertDataToTargets(n,!0),d=t.axis.isTimeSeries();t.data.targets.forEach((e=>{let t=!1;for(let n=0;n<u.length;n++)if(e.id===u[n].id){t=!0,e.values[e.values.length-1]&&(s=e.values[e.values.length-1].index+1),a=u[n].values.length;for(let e=0;e<a;e++)u[n].values[e].index=s+e,d||(u[n].values[e].x=s+e);e.values=e.values.concat(u[n].values),u.splice(n,1);break}!t&&l.push(e.id)})),t.data.targets.forEach((e=>{for(let n=0;n<l.length;n++)if(e.id===l[n]){s=e.values[e.values.length-1].index+1;for(let n=0;n<a;n++)e.values.push({id:e.id,index:s+n,x:d?t.getOtherTargetX(s+n):s+n,value:null})}})),t.data.targets.length&&u.forEach((e=>{const n=[];for(let r=t.data.targets[0].values[0].index;r<s;r++)n.push({id:e.id,index:r,x:d?t.getOtherTargetX(r):r,value:null});e.values.forEach((e=>{e.index+=s,d||(e.x+=s)})),e.values=n.concat(e.values)})),t.data.targets=t.data.targets.concat(u);const p=t.data.targets[0],f=p.values[0];Aa(e.to)?(a=0,i=d?rs.call(t,e.to):e.to,p.values.forEach((e=>{e.x<i&&a++}))):Aa(e.length)&&(a=e.length),c?1===c&&d&&(o=(p.values[p.values.length-1].x-f.x)/2,r=[new Date(+f.x-o),new Date(+f.x+o)]):(o=d?p.values.length>1?p.values[p.values.length-1].x-f.x:f.x-t.getXDomain(t.data.targets)[0]:1,r=[f.x-o,f.x]),r&&t.updateXDomain(null,!0,!0,!1,r),t.updateTargets(t.data.targets),t.redraw({flow:{index:f.index,length:a,duration:va(e.duration)?e.duration:t.config.transition_duration,done:e.done,orgDataCount:c},withLegend:!0,withTransition:c>1,withTrimXDomain:!1,withUpdateXAxis:!0})}()}))}};function Op(e,t){const n=this.internal,{config:r}=n,o=r.transition_duration&&os(),i=`grid_${t}_lines`;return e?(r[i]=e,n.updateGrid(),n.redrawGrid(o),r[i]):r[i]}function Ep(e,t){const n=`grid_${t}_lines`;return Op.bind(this)(this.internal.config[n].concat(e||[]),t)}function Dp(e,t){this.internal.removeGridLines(e,t)}const Rp=function(e){return Op.bind(this)(e,"x")};Wa(Rp,{add(e){return Ep.bind(this)(e,"x")},remove(e){return Dp.bind(this)(e,!0)}});const Ip=function(e){return Op.bind(this)(e,"y")};Wa(Ip,{add(e){return Ep.bind(this)(e,"y")},remove(e){return Dp.bind(this)(e,!1)}});var Np={xgrids:Rp,ygrids:Ip},Lp={groups(e){const t=this.internal,{config:n}=t;return wa(e)||(n.data_groups=e,t.redraw()),n.data_groups}};function jp(e,t=!1){const n=this.internal,{config:r}=n,o=r.transition_duration&&os();return e?(r.regions=t?r.regions.concat(e):e,n.updateRegion(),n.redrawRegion(o),t?r.regions:e):r.regions}const $p=function(e){return jp.bind(this)(e)};Wa($p,{add:function(e){return jp.bind(this)(e,!0)},remove:function(e){const t=this.internal,{config:n,$T:r}=t,o=e||{},i=Ea(o,"classes",[Yn.region]);let a=t.$el.main.select(`.${Yn.regions}`).selectAll(i.map((e=>`.${e}`)));return r(a).style("opacity","0").remove(),a=n.regions,Object.keys(o).length?(a=a.filter((e=>{let t=!1;return!e.class||(e.class.split(" ").forEach((e=>{i.indexOf(e)>=0&&(t=!0)})),!t)})),n.regions=a):n.regions=[],a}});var zp={regions:$p},Fp={x(e){const t=this.internal,{axis:n,data:r}=t,o=n.isCustomX()&&n.isCategorized();return Pa(e)&&(o?this.categories(e):(t.updateTargetX(r.targets,e),t.redraw({withUpdateOrgXDomain:!0,withUpdateXDomain:!0}))),o?this.categories():r.xs},xs(e){const t=this.internal;return Oa(e)&&(t.updateTargetXs(t.data.targets,e),t.redraw({withUpdateOrgXDomain:!0,withUpdateXDomain:!0})),t.data.xs}};function Bp(e){return e}var Hp=1,Vp=2,Wp=3,Up=4,qp=1e-6;function Gp(e){return"translate("+e+",0)"}function Yp(e){return"translate(0,"+e+")"}function Xp(e){return t=>+e(t)}function Kp(e,t){return t=Math.max(0,e.bandwidth()-2*t)/2,e.round()&&(t=Math.round(t)),n=>+e(n)+t}function Zp(){return!this.__axis}function Jp(e,t){var n=[],r=null,o=null,i=6,a=6,s=3,l="undefined"!=typeof window&&window.devicePixelRatio>1?0:.5,c=e===Hp||e===Up?-1:1,u=e===Up||e===Vp?"x":"y",d=e===Hp||e===Wp?Gp:Yp;function p(p){var f=null==r?t.ticks?t.ticks.apply(t,n):t.domain():r,h=null==o?t.tickFormat?t.tickFormat.apply(t,n):Bp:o,m=Math.max(i,0)+s,g=t.range(),v=+g[0]+l,y=+g[g.length-1]+l,b=(t.bandwidth?Kp:Xp)(t.copy(),l),x=p.selection?p.selection():p,w=x.selectAll(".domain").data([null]),A=x.selectAll(".tick").data(f,t).order(),_=A.exit(),S=A.enter().append("g").attr("class","tick"),k=A.select("line"),C=A.select("text");w=w.merge(w.enter().insert("path",".tick").attr("class","domain").attr("stroke","currentColor")),A=A.merge(S),k=k.merge(S.append("line").attr("stroke","currentColor").attr(u+"2",c*i)),C=C.merge(S.append("text").attr("fill","currentColor").attr(u,c*m).attr("dy",e===Hp?"0em":e===Wp?"0.71em":"0.32em")),p!==x&&(w=w.transition(p),A=A.transition(p),k=k.transition(p),C=C.transition(p),_=_.transition(p).attr("opacity",qp).attr("transform",(function(e){return isFinite(e=b(e))?d(e+l):this.getAttribute("transform")})),S.attr("opacity",qp).attr("transform",(function(e){var t=this.parentNode.__axis;return d((t&&isFinite(t=t(e))?t:b(e))+l)}))),_.remove(),w.attr("d",e===Up||e===Vp?a?"M"+c*a+","+v+"H"+l+"V"+y+"H"+c*a:"M"+l+","+v+"V"+y:a?"M"+v+","+c*a+"V"+l+"H"+y+"V"+c*a:"M"+v+","+l+"H"+y),A.attr("opacity",1).attr("transform",(function(e){return d(b(e)+l)})),k.attr(u+"2",c*i),C.attr(u,c*m).text(h),x.filter(Zp).attr("fill","none").attr("font-size",10).attr("font-family","sans-serif").attr("text-anchor",e===Vp?"start":e===Up?"end":"middle"),x.each((function(){this.__axis=b}))}return p.scale=function(e){return arguments.length?(t=e,p):t},p.ticks=function(){return n=Array.from(arguments),p},p.tickArguments=function(e){return arguments.length?(n=null==e?[]:Array.from(e),p):n.slice()},p.tickValues=function(e){return arguments.length?(r=null==e?null:Array.from(e),p):r&&r.slice()},p.tickFormat=function(e){return arguments.length?(o=e,p):o},p.tickSize=function(e){return arguments.length?(i=a=+e,p):i},p.tickSizeInner=function(e){return arguments.length?(i=+e,p):i},p.tickSizeOuter=function(e){return arguments.length?(a=+e,p):a},p.tickPadding=function(e){return arguments.length?(s=+e,p):s},p.offset=function(e){return arguments.length?(l=+e,p):l},p}function Qp(e){return Jp(Hp,e)}function ef(e){return Jp(Vp,e)}function tf(e){return Jp(Wp,e)}function nf(e){return Jp(Up,e)}var rf=Object.defineProperty,of=(e,t,n)=>(((e,t,n)=>{t in e?rf(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n})(e,"symbol"!=typeof t?t+"":t,n),n);class af{constructor(e){of(this,"owner"),of(this,"config"),of(this,"scale");const t=eu(),{config:n,params:r}=e;this.owner=e,this.config=n,this.scale=t,!n.noTransition&&r.config.transition_duration||(n.withoutTransition=!0),n.range=this.scaleExtent((r.orgXScale||t).range())}static getSizeFor1Char(e){const t={w:5.5,h:11.5};return!e.empty()&&e.select("text").text("0").call((e=>{try{const{width:n,height:r}=e.node().getBBox();n&&r&&(t.w=n,t.h=r)}catch(e){}finally{e.text("")}})),this.getSizeFor1Char=()=>t,t}getTickTransformSetter(e){const{config:t}=this,n="x"===e?e=>`translate(${e+t.tickOffset},0)`:e=>`translate(0,${e})`;return(e,t)=>{e.attr("transform",(e=>va(e)?n(Math.ceil(t(e))):null))}}scaleExtent(e){const t=e[0],n=e[e.length-1];return t<n?[t,n]:[n,t]}generateTicks(e,t){const{tickStepSize:n}=this.owner.params,[r,o]=e.domain();let i=[];if(t&&n){let e=Math.round(r);for(;e<=o;)i.push(e),e+=n}else if(e.ticks){const{tickArguments:t}=this.config;if("log"!==e.type||t)i=e.ticks(...this.config.tickArguments||[]);else{const t=eu("_log").domain([r>0?r:1,o]).range(e.range());i=t.ticks();for(let e=o.toFixed().length;i.length>15;e--)i=t.ticks(e);i.splice(0,1,r),i.splice(i.length-1,1,o)}i=i.map((e=>ba(e)&&xa(e)&&!isNaN(e)&&Math.round(10*e)/10||e))}return i}copyScale(){const e=this.scale.copy();return e.domain().length||e.domain(this.scale.domain()),e.type=this.scale.type,e}textFormatted(e){const t=this.config.tickFormat,n=/\d+\.\d+0{5,}\d$/.test(e)?+String(e).replace(/0+\d$/,""):e,r=t?t(n):n;return Aa(r)?r:""}transitionise(e){const{config:t}=this;let n=e;if(t.withoutTransition)n=e.interrupt();else if(t.transition||!this.owner.params.noTransition)try{n=e.transition(t.transition)}catch(e){}return n}}var sf=Object.defineProperty,lf=(e,t,n)=>(((e,t,n)=>{t in e?sf(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n})(e,"symbol"!=typeof t?t+"":t,n),n);class cf{constructor(e={}){lf(this,"helper"),lf(this,"config"),lf(this,"params"),lf(this,"g"),lf(this,"generatedTicks");const t={innerTickSize:6,outerTickSize:e.outerTick?6:0,orient:"bottom",range:[],tickArguments:null,tickCentered:null,tickCulling:!0,tickFormat:null,tickLength:9,tickOffset:0,tickPadding:3,tickValues:null,transition:null,noTransition:e.noTransition};t.tickLength=Math.max(t.innerTickSize,0)+t.tickPadding,this.config=t,this.params=e,this.helper=new af(this)}create(e){const t=this,{config:n,helper:r,params:o}=t,{scale:i}=r,{orient:a}=n,s=this.splitTickText.bind(t),l=/^(left|right)$/.test(a),c=/^(top|bottom)$/.test(a),u=r.getTickTransformSetter(c?"x":"y"),d=u===r.axisX?"y":"x",p=/^(top|left)$/.test(a)?-1:1,f=o.tickTextRotate;this.config.range=i.rangeExtent?i.rangeExtent():r.scaleExtent((o.orgXScale||i).range());const{innerTickSize:h,tickLength:m,range:g}=n,v=o.id,y=v&&/^(x|y|y2)$/.test(v)?o.config[`axis_${v}_tick_text_position`]:{x:0,y:0},b="subX"===v?"subchart_axis_x":`axis_${v}`,x=o.config[`${b}_show`],w=!!x&&o.config[`${b}_tick_show`],A=!!x&&o.config[`${b}_tick_text_show`];let _;e.each((function(){const e=be(this);let v=this.__chart__||i,b=r.copyScale();_=e,this.__chart__=b,n.tickOffset=o.isCategory?Math.ceil((b(1)-b(0))/2):0;const x=e.selectAll(".domain").data([0]);if(x.enter().append("path").attr("class","domain").merge(x).attr("d",(()=>{const e=n.outerTickSize*p;return c?`M${g[0]},${e}V0H${g[1]}V${e}`:`M${e},${g[0]}H0V${g[1]}H${e}`})),w||A){const i=n.tickValues||r.generateTicks(b,l);t.generatedTicks=i;let g=e.selectAll(".tick").data(i,b);const x=g.enter().insert("g",".domain").attr("class","tick"),_=g.exit().remove();g=x.merge(g),w&&x.append("line"),A&&x.append("text");const S=af.getSizeFor1Char(g),k=[];let C=g.select("text").selectAll("tspan").data(((e,t)=>{const n=o.tickMultiline?s(e,b,i,l,S.w):Pa(r.textFormatted(e))?r.textFormatted(e).concat():[r.textFormatted(e)];return k[t]=n.length,n.map((e=>({index:t,splitted:e})))}));C.exit().remove(),C=C.enter().append("tspan").merge(C).text((e=>e.splitted)),C.attr("x",c?0:m*p).attr("dx",(()=>{let e=0;return/(top|bottom)/.test(a)&&f&&(e=8*Math.sin(Math.PI*(f/180))*("top"===a?-1:1)),e+(y.x||0)})()).attr("dy",((e,t)=>{const n=".71em";let r=0;return"top"!==a&&(r=S.h,0===t&&(r=l?-((k[e.index]-1)*(S.h/2)-3):0===y.y?n:0)),xa(r)&&y.y?r+y.y:r||n}));const T=g.select("line"),M=g.select("text");if(x.select("line").attr(`${d}2`,h*p),x.select("text").attr(d,m*p),t.setTickLineTextPosition(T,M),o.tickTitle){const e=M.select("title");(e.empty()?M.append("title"):e).text((e=>o.tickTitle[e]))}if(b.bandwidth){const e=b,t=e.bandwidth()/2;v=n=>e(n)+t,b=v}else v.bandwidth?v=b:u(_,b);g=o.owner.state.flowing?r.transitionise(g):o.owner.$T(g),u(x,v),u(g.style("opacity",null),b)}})),this.g=_}getGeneratedTicks(e){var t;const n=(null==(t=this.generatedTicks)?void 0:t.length)-1;let r=this.generatedTicks;if(n>e){const t=Math.round(n/e+.1);r=this.generatedTicks.map(((e,n)=>n%t==0?e:null)).filter((e=>null!==e)).splice(0,e)}return r}getTickXY(){const{config:e}=this,t={x:0,y:0};return this.params.isCategory&&(t.x=e.tickCentered?0:e.tickOffset,t.y=e.tickCentered?e.tickOffset:0),t}getTickSize(e){const{scale:t}=this.helper,{config:n}=this,{innerTickSize:r,range:o}=n,i=t(e)+(n.tickCentered?0:n.tickOffset);return o[0]<i&&i<o[1]?r:0}setTickLineTextPosition(e,t){const n=this.getTickXY(),{innerTickSize:r,orient:o,tickLength:i,tickOffset:a}=this.config,s=this.params.tickTextRotate,l=e=>{const t=["start","end"];return"top"===o&&t.reverse(),e?t[e>0?0:1]:"middle"},c=e=>e?`rotate(${e})`:null,u=e=>e?11.5-e/("bottom"===o?15:23)*2.5*(e>0?1:-1):i,{config:{axis_rotated:d,axis_x_tick_text_inner:p}}=this.params.owner;switch(o){case"bottom":e.attr("x1",n.x).attr("x2",n.x).attr("y2",this.getTickSize.bind(this)),t.attr("x",0).attr("y",u(s)).style("text-anchor",l(s)).style("text-anchor",((e,t,{length:n})=>d||0!==t||!0!==p&&!p.first?d||t!==n-1||!0!==p&&!p.last?l(s):"end":"start")).attr("transform",c(s));break;case"top":e.attr("x2",0).attr("y2",-r),t.attr("x",0).attr("y",2*-u(s)).style("text-anchor",l(s)).attr("transform",c(s));break;case"left":e.attr("x2",-r).attr("y1",n.y).attr("y2",n.y),t.attr("x",-i).attr("y",a).style("text-anchor","end");break;case"right":e.attr("x2",r).attr("y2",0),t.attr("x",i).attr("y",0).style("text-anchor","start")}}splitTickText(e,t,n,r,o){const{params:i}=this,a=this.helper.textFormatted(e),s=ba(a)&&a.indexOf("\n")>-1?a.split("\n"):[];if(s.length)return s;if(Pa(a))return a;let l=i.tickWidth;return(!l||l<=0)&&(l=r?95:i.isCategory?Math.ceil(i.isInverted?t(n[0])-t(n[1]):t(n[1])-t(n[0]))-12:110),function e(t,n){let r,i,a;for(let s=1;s<n.length;s++)if(" "===n.charAt(s)&&(i=s),r=n.substr(0,s+1),a=o*r.length,l<a)return e(t.concat(n.substr(0,i||s)),n.slice(i?i+1:s));return t.concat(n)}(s,String(a))}scale(e){return arguments.length?(this.helper.scale=e,this):this.helper.scale}orient(e){return arguments.length?(this.config.orient=e in{top:1,right:1,bottom:1,left:1}?String(e):"bottom",this):this.config.orient}tickFormat(e){const{config:t}=this;return arguments.length?(t.tickFormat=e,this):t.tickFormat}tickCentered(e){const{config:t}=this;return arguments.length?(t.tickCentered=e,this):t.tickCentered}tickOffset(){return this.config.tickOffset}tickInterval(e){var t;const{outerTickSize:n,tickOffset:r,tickValues:o}=this.config;let i;if(this.params.isCategory)i=2*r;else{const r=null!=(t=this.params.owner.scale.zoom)?t:this.helper.scale;i=(this.g.select("path.domain").node().getTotalLength()-2*n)/(e||this.g.selectAll("line").size());const a=o?o.map(((e,t,n)=>{const o=t+1;return o<n.length?r(n[o])-r(e):null})).filter(Boolean):[];i=Math.min(...a,i)}return i===1/0?0:i}ticks(...e){const{config:t}=this;return e.length?(t.tickArguments=qa(e),this):t.tickArguments}tickCulling(e){const{config:t}=this;return arguments.length?(t.tickCulling=e,this):t.tickCulling}tickValues(e){const{config:t}=this;if(ya(e))t.tickValues=()=>e(this.helper.scale.domain());else{if(!arguments.length)return t.tickValues;t.tickValues=e}return this}setTransition(e){return this.config.transition=e,this}}var uf=Object.defineProperty,df=(e,t,n)=>(((e,t,n)=>{t in e?uf(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n})(e,"symbol"!=typeof t?t+"":t,n),n),pf={getAxisInstance:function(){return this.axis||new ff(this)}};class ff{constructor(e){df(this,"owner"),df(this,"x"),df(this,"subX"),df(this,"y"),df(this,"y2"),df(this,"axesList",{}),df(this,"tick",{x:null,y:null,y2:null}),df(this,"xs",[]),df(this,"orient",{x:"bottom",y:"left",y2:"right",subX:"bottom"}),this.owner=e,this.setOrient()}getAxisClassName(e){return`${Dn.axis} ${Dn[`axis${Ua(e)}`]}`}isHorizontal(e,t){const n=e.config.axis_rotated;return t?n:!n}isCategorized(){const{config:e,state:t}=this.owner;return e.axis_x_type.indexOf("category")>=0||t.hasRadar}isCustomX(){const{config:e}=this.owner;return!this.isTimeSeries()&&(e.data_x||Ma(e.data_xs))}isTimeSeries(e="x"){return"timeseries"===this.owner.config[`axis_${e}_type`]}isLog(e="x"){return"log"===this.owner.config[`axis_${e}_type`]}isTimeSeriesY(){return this.isTimeSeries("y")}getAxisType(e="x"){let t="linear";return this.isTimeSeries(e)?t=this.owner.config.axis_x_localtime?"time":"utc":this.isLog(e)&&(t="log"),t}init(){const e=this.owner,{config:t,$el:{main:n,axis:r},state:{clip:o}}=e,i=t.axis_rotated,a=["x","y"];t.axis_y2_show&&a.push("y2"),a.forEach((a=>{const s=this.getAxisClassName(a),l=Dn[`axis${a.toUpperCase()}Label`];r[a]=n.append("g").attr("class",s).attr("clip-path",(()=>{let e=null;return"x"===a?e=o.pathXAxis:"y"===a&&(e=o.pathYAxis),e})).attr("transform",e.getTranslate(a)).style("visibility",t[`axis_${a}_show`]?null:"hidden"),r[a].append("text").attr("class",l).attr("transform",["rotate(-90)",null]["x"===a?+!i:+i]).style("text-anchor",(()=>this.textAnchorForAxisLabel(a))),this.generateAxes(a)})),t.axis_tooltip&&this.setAxisTooltip()}setOrient(){const e=this.owner,{axis_rotated:t,axis_y_inner:n,axis_y2_inner:r}=e.config;this.orient={x:t?"left":"bottom",y:t?n?"top":"bottom":n?"right":"left",y2:t?r?"bottom":"top":r?"left":"right",subX:t?"left":"bottom"}}generateAxes(e){const t=this.owner,{config:n}=t,r=[],o=n[`axis_${e}_axes`],i=n.axis_rotated;let a;"x"===e?a=i?nf:tf:"y"===e?a=i?tf:nf:"y2"===e&&(a=i?Qp:ef),o.length&&o.forEach((n=>{const o=n.tick||{},i=t.scale[e].copy();n.domain&&i.domain(n.domain),r.push(a(i).ticks(o.count).tickFormat(ya(o.format)?o.format.bind(t.api):e=>e).tickValues(o.values).tickSizeOuter(!1===o.outer?0:6))})),this.axesList[e]=r}updateAxes(){const e=this.owner,{config:t,$el:{main:n},$T:r}=e;Object.keys(this.axesList).forEach((o=>{const i=t[`axis_${o}_axes`],a=e.scale[o].copy(),s=a.range();this.axesList[o].forEach(((l,c)=>{const u=l.scale().range();s.every(((e,t)=>e===u[t]))||l.scale().range(s);const d=`${this.getAxisClassName(o)}-${c+1}`;let p=n.select(`.${d.replace(/\s/,".")}`);p.empty()?p=n.append("g").attr("class",d).style("visibility",t[`axis_${o}_show`]?null:"hidden").call(l):(i[c].domain&&a.domain(i[c].domain),r(p).call(l.scale(a))),p.attr("transform",e.getTranslate(o,c+1))}))}))}setAxis(e,t,n,r){const o=this.owner;"subX"!==e&&(this.tick[e]=this.getTickValues(e)),this[e]=this.getAxis(e,t,n,!("x"!==e||!(o.scale.zoom||o.config.subchart_show||o.state.resizing))||r)}getAxis(e,t,n,r,o){const i=this.owner,{config:a}=i,s=/^(x|subX)$/.test(e),l=s?"x":e,c=s&&this.isCategorized(),u=this.orient[e],d=o?0:i.getAxisTickRotate(l);let p;if(s)p="subX"===e?i.format.subXAxisTick:i.format.xAxisTick;else{const t=a[`axis_${e}_tick_format`];ya(t)&&(p=t.bind(i.api))}let f=this.tick[l];const h=Za({outerTick:n,noTransition:r,config:a,id:e,tickTextRotate:d,owner:i},s&&{isCategory:c,isInverted:a.axis_x_inverted,tickMultiline:a.axis_x_tick_multiline,tickWidth:a.axis_x_tick_width,tickTitle:c&&a.axis_x_tick_tooltip&&i.api.categories(),orgXScale:i.scale.x});s||(h.tickStepSize=a[`axis_${l}_tick_stepSize`]);const m=new cf(h).scale(s&&i.scale.zoom||t).orient(u);if(s&&this.isTimeSeries()&&f&&!ya(f)){const e=rs.bind(i);f=f.map((t=>e(t)))}else!s&&this.isTimeSeriesY()&&(m.ticks(a.axis_y_tick_time_value),f=null);f&&m.tickValues(f),m.tickFormat(p||!s&&i.isStackNormalized()&&(e=>`${e}%`)),c&&(m.tickCentered(a.axis_x_tick_centered),Ta(a.axis_x_tick_culling)&&(a.axis_x_tick_culling=!1));const g=a[`axis_${l}_tick_count`];return g&&m.ticks(g),m}updateXAxisTickValues(e,t){var n;const r=this.owner,{config:o}=r,i=o.axis_x_tick_fit;let a,s=o.axis_x_tick_count;return(i||s&&i)&&(a=r.mapTargetsToUniqueXs(e),this.isCategorized()&&s>a.length&&(s=a.length),a=this.generateTickValues(a,s,this.isTimeSeries())),t?t.tickValues(a):this.x&&(this.x.tickValues(a),null==(n=this.subX)||n.tickValues(a)),a}getId(e){const{config:t,scale:n}=this.owner;let r=t.data_axes[e];return r&&n[r]||(r="y"),r}getXAxisTickFormat(e){const t=this.owner,{config:n,format:r}=t,o=e&&n.subchart_axis_x_tick_format||n.axis_x_tick_format,i=this.isTimeSeries(),a=this.isCategorized();let s;return o?ya(o)?s=o.bind(t.api):i&&(s=e=>e?r.axisTime(o)(e):""):s=i?r.defaultAxisTime:a?t.categoryName:e=>e<0?e.toFixed(0):e,ya(s)?e=>s.apply(t,a?[e,t.categoryName(e)]:[e]):s}getTickValues(e){const t=this.owner,n=t.config[`axis_${e}_tick_values`],r=t[`${e}Axis`];return(ya(n)?n.call(t.api):n)||(r?r.tickValues():void 0)}getLabelOptionByAxisId(e){return this.owner.config[`axis_${e}_label`]}getLabelText(e){const t=this.getLabelOptionByAxisId(e);return ba(t)?t:t?t.text:null}setLabelText(e,t){const n=this.owner,{config:r}=n,o=this.getLabelOptionByAxisId(e);ba(o)?r[`axis_${e}_label`]=t:o&&(o.text=t)}getLabelPosition(e,t){const n=this.owner.config.axis_rotated,r=this.getLabelOptionByAxisId(e),o=Ca(r)&&r.position?r.position:t[+!n],i=e=>!!~o.indexOf(e);return{isInner:i("inner"),isOuter:i("outer"),isLeft:i("left"),isCenter:i("center"),isRight:i("right"),isTop:i("top"),isMiddle:i("middle"),isBottom:i("bottom")}}getAxisLabelPosition(e){return this.getLabelPosition(e,"x"===e?["inner-top","inner-right"]:["inner-right","inner-top"])}getLabelPositionById(e){return this.getAxisLabelPosition(e)}xForAxisLabel(e){const t=this.owner,{state:{width:n,height:r}}=t,o=this.getAxisLabelPosition(e);let i=o.isMiddle?-r/2:0;return this.isHorizontal(t,"x"!==e)?i=o.isLeft?0:o.isCenter?n/2:n:o.isBottom&&(i=-r),i}dxForAxisLabel(e){const t=this.owner,n=this.getAxisLabelPosition(e);let r=n.isBottom?"0.5em":"0";return this.isHorizontal(t,"x"!==e)?r=n.isLeft?"0.5em":n.isRight?"-0.5em":"0":n.isTop&&(r="-0.5em"),r}textAnchorForAxisLabel(e){const t=this.owner,n=this.getAxisLabelPosition(e);let r=n.isMiddle?"middle":"end";return this.isHorizontal(t,"x"!==e)?r=n.isLeft?"start":n.isCenter?"middle":"end":n.isBottom&&(r="start"),r}dyForAxisLabel(e){const t=this.owner,{config:n}=t,r=n.axis_rotated,o=this.getAxisLabelPosition(e).isInner,i=n[`axis_${e}_tick_rotate`]?t.getHorizontalAxisHeight(e):0,{width:a}=this.getMaxTickSize(e);let s;if("x"===e){const e=n.axis_x_height;s=r?o?"1.2em":-25-a:o?"-0.5em":e?e-10:i?i-10:"3em"}else s={y:["-0.5em",10,"3em","1.2em",10],y2:["1.2em",-20,"-2.2em","-0.5em",15]}[e],s=r?o?s[0]:i?i*("y2"===e?-1:1)-s[1]:s[2]:o?s[3]:(s[4]+(n[`axis_${e}_inner`]?0:a+s[4]))*("y"===e?-1:1);return s}getMaxTickSize(e,t){const n=this.owner,{config:r,state:{current:o},$el:{svg:i,chart:a}}=n,s=o.maxTickSize[e],l=`axis_${e}`,c={width:0,height:0};if(t||!r[`${l}_show`]||s.width>0&&0===n.filterTargetsToShow().length)return s;if(i){const t=/^y2?$/.test(e),o=n.filterTargetsToShow(n.data.targets),i=n.scale[e].copy().domain(n[`get${t?"Y":"X"}Domain`](o,e)),u=i.domain(),d=u[0]===u[1]&&u.every((e=>e>0)),p=Pa(s.domain)&&s.domain[0]===s.domain[1]&&s.domain.every((e=>e>0));if(d||p)return s.size;s.domain=u,t||s.ticks.splice(0);const f=this.getAxis(e,i,!1,!1,!0),h=r[`${l}_tick_rotate`],m=r[`${l}_tick_count`];!r[`${l}_tick_values`]&&m&&f.tickValues(this.generateTickValues(u,m,t?this.isTimeSeriesY():this.isTimeSeries())),!t&&this.updateXAxisTickValues(o,f);const g=a.append("svg").style("visibility","hidden").style("position","fixed").style("top","0").style("left","0");f.create(g),g.selectAll("text").attr("transform",xa(h)?`rotate(${h})`:null).each((function(e,n){const{width:r,height:o}=this.getBoundingClientRect();c.width=Math.max(c.width,r),c.height=Math.max(c.height,o),t||(s.ticks[n]=r)})),g.remove()}return Object.keys(c).forEach((e=>{c[e]>0&&(s[e]=c[e])})),s}getXAxisTickTextY2Overflow(e){const t=this.owner,{axis:n,config:r,state:{current:o,isLegendRight:i,legendItemWidth:a}}=t,s=t.getAxisTickRotate("x"),l=s>0&&s<90;if((n.isCategorized()||n.isTimeSeries())&&r.axis_x_tick_fit&&(!r.axis_x_tick_culling||Ta(r.axis_x_tick_culling))&&!r.axis_x_tick_multiline&&l){const n=r.axis_y2_show&&o.maxTickSize.y2.width||0,l=i&&a||0,c=o.width-t.getCurrentPaddingByDirection("left"),u=this.getXAxisTickMaxOverflow(s,c-e)-n-l,d=Math.max(0,u)+e;return Math.min(d,c/2)}return 0}getXAxisTickMaxOverflow(e,t){const n=this.owner,{axis:r,config:o,state:i}=n,a=r.isTimeSeries(),s=i.current.maxTickSize.x.ticks,l=s.length,{left:c,right:u}=i.axis.x.padding;let d=0;const p=l-(a&&o.axis_x_tick_fit?.5:0);for(let n=0;n<l;n++){const r=n+1,o=Math.cos(Math.PI*e/180)*s[n],i=r-(a?1:.5)+c;if(i<=0)continue;const l=(t-o)/i,f=o-l/2-((p-r)*l+u*l);d=Math.max(d,f)}const f=n.filterTargetsToShow(n.data.targets);let h=0;if(!a&&o.axis_x_tick_count<=f.length&&f[0].values.length){const e=eu(n.axis.getAxisType("x"),0,t-d).domain([-1*c,n.getXDomainMax(n.data.targets)+1+u]);h=Math.ceil((e(1)-e(0))/2)}return d+h}updateLabels(e){const t=this.owner,{$el:{main:n},$T:r}=t,o={x:n.select(`.${Dn.axisX} .${Dn.axisXLabel}`),y:n.select(`.${Dn.axisY} .${Dn.axisYLabel}`),y2:n.select(`.${Dn.axisY2} .${Dn.axisY2Label}`)};Object.keys(o).filter((e=>!o[e].empty())).forEach((t=>{const n=o[t];r(n,e).attr("x",(()=>this.xForAxisLabel(t))).attr("dx",(()=>this.dxForAxisLabel(t))).attr("dy",(()=>this.dyForAxisLabel(t))).text((()=>this.getLabelText(t)))}))}getPadding(e,t,n,r){const o=xa(e)?e:e[t];return va(o)?this.owner.convertPixelToScale(/(bottom|top)/.test(t)?"y":"x",o,r):n}generateTickValues(e,t,n){let r=e;if(t){const o=ya(t)?t():t;if(1===o)r=[e[0]];else if(2===o)r=[e[0],e[e.length-1]];else if(o>2){const t=this.isCategorized(),i=o-2,a=e[0],s=e[e.length-1],l=(s-a)/(i+1);let c;r=[a];for(let e=0;e<i;e++)c=+a+l*(e+1),r.push(n?new Date(c):t?Math.round(c):c);r.push(s)}}return n||(r=r.sort(((e,t)=>e-t))),r}generateTransitions(e){const t=this.owner,{$el:{axis:n},$T:r}=t,[o,i,a,s]=["x","y","y2","subX"].map((t=>r(n[t],e)));return{axisX:o,axisY:i,axisY2:a,axisSubX:s}}redraw(e,t,n){const r=this.owner,{config:o,$el:i}=r,a=t?"0":null;["x","y","y2","subX"].forEach((t=>{const r=this[t],s=i.axis[t];r&&s&&(n||o.transition_duration||(r.config.withoutTransition=!0),s.style("opacity",a),r.create(e[`axis${Ua(t)}`]))})),this.updateAxes()}redrawAxis(e,t,n,r,o){var i,a,s;const l=this.owner,{config:c,scale:u,$el:d}=l,p=!!u.zoom;let f;!p&&this.isCategorized()&&0===e.length&&u.x.domain([0,d.axis.x.selectAll(".tick").size()]),u.x&&e.length?(!p&&l.updateXDomain(e,t.UpdateXDomain,t.UpdateOrgXDomain,t.TrimXDomain),c.axis_x_tick_values||this.updateXAxisTickValues(e)):this.x&&(this.x.tickValues([]),null==(i=this.subX)||i.tickValues([])),c.zoom_rescale&&!r&&(f=u.x.orgDomain()),["y","y2"].forEach((t=>{const n=`axis_${t}_`,r=u[t];if(r){const o=c[`${n}tick_values`],i=c[`${n}tick_count`];if(r.domain(l.getYDomain(e,t,f)),!o&&i){const e=l.axis[t],n=r.domain();e.tickValues(this.generateTickValues(n,n.every((e=>0===e))?1:i,this.isTimeSeriesY()))}}})),this.redraw(n,l.hasArcType(),o),this.updateLabels(t.Transition),(t.UpdateXDomain||t.UpdateXAxis||t.Y)&&e.length&&this.setCulling(),t.Y&&(null==(a=u.subY)||a.domain(l.getYDomain(e,"y")),null==(s=u.subY2)||s.domain(l.getYDomain(e,"y2")))}setCulling(){const e=this.owner,{config:t,state:{clip:n,current:r},$el:o}=e;["subX","x","y","y2"].forEach((e=>{const i=o.axis[e],a=`axis_${"subX"===e?"x":e}_tick_culling`,s=t[a];if(i&&s){const s=i.selectAll(".tick"),l=Ja(s.data()),c=l.length,u=t[`${a}_max`],d=t[`${a}_lines`];let p;if(c){for(let e=1;e<c;e++)if(c/e<u){p=e;break}s.each((function(e){const t=d?this.querySelector("text"):this;t&&(t.style.display=l.indexOf(e)%p?"none":null)}))}else s.style("display",null);if("x"===e){const e=r.maxTickSize.x.clipPath?n.pathXAxisTickTexts:null;o.svg.selectAll(`.${Dn.axisX} .tick text`).attr("clip-path",e)}}}))}setAxisTooltip(){var e;const t=this.owner,{config:{axis_rotated:n,axis_tooltip:r},$el:{axis:o,axisTooltip:i}}=t,a=null!=(e=r.backgroundColor)?e:"black";t.generateTextBGColorFilter(a,{x:-.15,y:-.2,width:1.3,height:1.3}),["x","y","y2"].forEach((e=>{var r,s,l;if(i[e]=null==(r=o[e])?void 0:r.append("text").classed(Dn[`axis${e.toUpperCase()}Tooltip`],!0).attr("filter",t.updateTextBGColor({id:e},a)),n){const t="x"===e?"x":"y",n="y"===e?"1.15em":"x"===e?"-0.3em":"-0.4em";null==(s=i[e])||s.attr(t,n).attr("d"+("x"===e?"y":"x"),"x"===e?"0.4em":"-1.3em").style("text-anchor","x"===e?"end":null)}else{const t="x"===e?"y":"x",n="x"===e?"1.15em":("y"===e?"-":"")+"0.4em";null==(l=i[e])||l.attr(t,n).attr("d"+("x"===e?"x":"y"),"x"===e?"-1em":"0.3em").style("text-anchor","y"===e?"end":null)}}))}}var hf={initEventRect(){this.$el.main.select(`.${Pn.chart}`).append("g").attr("class",Hn.eventRects).style("fill-opacity","0")},redrawEventRect(){var e;const t=this,{config:n,state:r,$el:o}=t,i=t.isMultipleX(),a=n.axis_x_inverted;if(o.eventRect)t.updateEventRect(o.eventRect,!0);else if(t.data.targets.length){const e=t.$el.main.select(`.${Hn.eventRects}`).style("cursor",n.zoom_enabled&&"drag"!==n.zoom_type?n.axis_rotated?"ns-resize":"ew-resize":null).classed(Hn.eventRectsMultiple,i).classed(Hn.eventRectsSingle,!i).selectAll(`.${Hn.eventRect}`).data([0]).enter().append("rect");t.updateEventRect(e),t.updateEventType(e),e.call(t.getDraggableSelection()),o.eventRect=e,"touch"!==t.state.inputType||o.svg.on("touchstart.eventRect")||t.hasArcType()||t.bindTouchOnEventRect(),r.rendered&&t.updateEventRect(o.eventRect,!0)}if(!i){const o=t.getMaxDataCountTarget();n.data_xSort&&!a||o.sort(((e,t)=>a?t.x-e.x:e.x-t.x)),t.updateDataIndexByX(o),t.updateXs(o),null==(e=t.updatePointClass)||e.call(t,!0),r.eventReceiver.data=o}t.updateEventRectData()},bindTouchOnEventRect(){const e=this,{config:t,state:n,$el:{eventRect:r,svg:o}}=e,i=()=>{e.unselectRect(),e.callOverOutForTouch()},a=t.interaction_inputType_touch.preventDefault,s=_a(a)&&a||!1,l=!isNaN(a)&&a||null;let c;r.on("touchstart",(t=>{n.event=t,e.updateEventRect()})).on("touchstart.eventRect touchmove.eventRect",(o=>{if(n.event=o,!r.empty()&&r.classed(Hn.eventRect)){if(n.dragging||n.flowing||e.hasArcType()||o.touches.length>1)return;(e=>{const n=e.type,r=e.changedTouches[0]["client"+(t.axis_rotated?"Y":"X")];"touchstart"===n?s?e.preventDefault():null!==l&&(c=r):"touchmove"===n&&(s||!0===c||null!==l&&Math.abs(c-r)>=l)&&(c=!0,e.preventDefault())})(o),(t=>{if(e.isMultipleX())e.selectRectForMultipleXs(t);else{const r=e.getDataIndexFromEvent(n.event);e.callOverOutForTouch(r),-1===r?e.unselectRect():e.selectRectForSingle(t,r)}})(r.node())}else i()}),!0).on("touchend.eventRect",(t=>{n.event=t,!r.empty()&&r.classed(Hn.eventRect)&&(e.hasArcType()||!e.toggleShape||n.cancelClick)&&n.cancelClick&&(n.cancelClick=!1)}),!0),o.on("touchstart",(e=>{n.event=e;const{target:t}=e;t&&t!==r.node()&&i()}))},updateEventRect(e,t=!1){const{state:n,$el:r}=this,{eventReceiver:o,width:i,height:a,rendered:s,resizing:l}=n,c=e||r.eventRect;(!s||l||t)&&(c.attr("x",0).attr("y",0).attr("width",i).attr("height",a),s&&!t||c.classed(Hn.eventRect,!0)),(()=>{if(o){const e=Ga(r.chart.node());o.rect=c.node().getBoundingClientRect().toJSON(),o.rect.top+=e.y,o.rect.left+=e.x}})()},updateEventType(e){const t=this,n=_a(e),r=n?t.$el.eventRect:e,o=!!n&&e!==(null==r?void 0:r.datum().multipleX);r&&(o&&(null==r||r.on("mouseover mousemove mouseout click",null)),t.isMultipleX()?t.generateEventRectsForMultipleXs(r):t.generateEventRectsForSingleX(r))},updateEventRectData(){const e=this,{config:t,scale:n,state:r}=e,o=n.zoom||n.x,i=t.axis_rotated,a=e.isMultipleX();let s,l,c,u;if(e.updateEventType(a),a)s=0,l=0,c=r.width,u=r.height;else{let t,n;if(e.axis.isCategorized())t=e.getEventRectWidth(),n=e=>o(e.x)-t/2;else{const a=({index:t})=>({prev:e.getPrevX(t),next:e.getNextX(t)});t=e=>{const t=a(e),n=o.domain();let s;return null===t.prev&&null===t.next?s=i?r.height:r.width:null===t.prev?s=(o(t.next)+o(e.x))/2:null===t.next?s=o(n[1])-(o(t.prev)+o(e.x))/2:(Object.keys(t).forEach(((e,r)=>{var o;t[e]=null!=(o=t[e])?o:n[r]})),s=Math.max(0,(o(t.next)-o(t.prev))/2)),s},n=e=>{const t=a(e);let n;return n=null===t.prev&&null===t.next?0:null===t.prev?o(o.domain()[0]):(o(e.x)+o(t.prev))/2,n}}s=i?0:n,l=i?n:0,c=i?r.width:t,u=i?t:r.height}const{eventReceiver:d}=r,p=(e,t)=>ya(e)?e(t):e;d.coords.splice(d.data.length),d.data.forEach(((e,t)=>{d.coords[t]={x:p(s,e),y:p(l,e),w:p(c,e),h:p(u,e)}}))},selectRectForSingle(e,t){var n,r;const o=this,{config:i,$el:{main:a,circle:s}}=o,l=i.data_selection_enabled,c=i.data_selection_grouped,u=i.data_selection_isselectable,d=i.tooltip_grouped,p=o.getAllValuesOnIndex(t);if(d&&(o.showTooltip(p,e),null==(n=o.showGridFocus)||n.call(o,p),!l||c))return;!s&&a.selectAll(`.${Pn.EXPANDED}:not(.${Kn.shape}-${t})`).classed(Pn.EXPANDED,!1);const f=a.selectAll(`.${Kn.shape}-${t}`).classed(Pn.EXPANDED,!0).style("cursor",u?"pointer":null).filter((function(e){return o.isWithinShape(this,e)}));f.empty()&&!d&&(null==(r=o.hideGridFocus)||r.call(o),o.hideTooltip(),!c&&o.setExpand(t)),f.call((n=>{var r,i;const a=n.data();l&&(c||(null==u?void 0:u.bind(o.api)(a)))&&(e.style.cursor="pointer"),d||(o.showTooltip(a,e),null==(r=o.showGridFocus)||r.call(o,a),null==(i=o.unexpandCircles)||i.call(o),n.each((e=>o.setExpand(t,e.id))))}))},selectRectForMultipleXs(e,t=!0){const n=this,{config:r,state:o}=n,i=n.filterTargetsToShow(n.data.targets);if(o.dragging||n.hasArcType(i))return;const a=$a(o.event,e),s=n.findClosestFromTargets(i,a);if(!t||!o.mouseover||s&&s.id===o.mouseover.id||(r.data_onout.call(n.api,o.mouseover),o.mouseover=void 0),!s)return void n.unselectRect();const l=(n.isBubbleType(s)||n.isScatterType(s)||!r.tooltip_grouped?[s]:n.filterByX(i,s.x)).map((e=>n.addName(e)));n.showTooltip(l,e),n.setExpand(s.index,s.id,!0),n.showGridFocus(l);const c=n.dist(s,a);(n.isBarType(s.id)||c<n.getPointSensitivity(s))&&(n.$el.svg.select(`.${Hn.eventRect}`).style("cursor","pointer"),t&&!o.mouseover&&(r.data_onover.call(n.api,s),o.mouseover=s))},unselectRect(){const e=this,{$el:{circle:t,tooltip:n}}=e;e.$el.svg.select(`.${Hn.eventRect}`).style("cursor",null),e.hideGridFocus(),n&&(e.hideTooltip(),e._handleLinkedCharts(!1)),t&&!e.isPointFocusOnly()&&e.unexpandCircles(),e.expandBarTypeShapes(!1)},generateEventRectsForSingleX(e){const t=this,{config:n,state:r}=t,{eventReceiver:o}=r,i=e.style("cursor",n.data_selection_enabled&&n.data_selection_grouped?"pointer":null).on("click",(function(e){r.event=e;const{currentIdx:n,data:i}=o,a=i[-1===n?t.getDataIndexFromEvent(e):n];t.clickHandlerForSingleX.bind(this)(a,t)})).datum({multipleX:!1});if("mouse"===r.inputType){const e=e=>{const n=e?t.getDataIndexFromEvent(e):o.currentIdx;return n>-1?o.data[n]:null};i.on("mouseover",(e=>{r.event=e,t.updateEventRect(),Object.values(t.$el.axisTooltip).forEach((e=>null==e?void 0:e.style("display",null)))})).on("mousemove",(function(i){const a=e(i);if(r.event=i,!a)return;let{index:s}=a;const l=n.line_step_type;if(n.line_step_tooltipMatch&&t.hasType("step")&&/^step\-(before|after)$/.test(l)){const e=t.scale.zoom||t.scale.x,n=t.axis.xs[s],r=e.invert($a(i,this)[0]);"step-after"===l&&r<n?s-=1:"step-before"===l&&r>n&&(s+=1)}t.showAxisGridFocus();const c=n.tooltip_grouped&&s===o.currentIdx;r.dragging||r.flowing||t.hasArcType()||c?n.tooltip_show&&c&&t.setTooltipPosition():(s!==o.currentIdx&&(t.setOverOut(!1,o.currentIdx),o.currentIdx=s),-1===s?t.unselectRect():t.selectRectForSingle(this,s),t.setOverOut(-1!==s,s))})).on("mouseout",(e=>{r.event=e,n&&!t.hasArcType()&&-1!==o.currentIdx&&(t.hideAxisGridFocus(),t.unselectRect(),t.setOverOut(!1,o.currentIdx),o.currentIdx=-1)}))}return i},clickHandlerForSingleX(e,t){const n=t,{config:r,state:o,$el:{main:i}}=n;if(!e||n.hasArcType()||o.cancelClick)return void(o.cancelClick&&(o.cancelClick=!1));const{index:a}=e;i.selectAll(`.${Kn.shape}-${a}`).each((function(e){var t;(r.data_selection_grouped||n.isWithinShape(this,e))&&(null==(t=n.toggleShape)||t.call(n,this,e,a),r.data_onclick.bind(n.api)(e,this))}))},generateEventRectsForMultipleXs(e){const t=this,{state:n}=t;e.on("click",(function(e){n.event=e,t.clickHandlerForMultipleXS.bind(this)(t)})).datum({multipleX:!0}),"mouse"===n.inputType&&e.on("mouseover mousemove",(function(e){n.event=e,t.selectRectForMultipleXs(this)})).on("mouseout",(e=>{n.event=e,t.config&&!t.hasArcType()&&t.unselectRect()}))},clickHandlerForMultipleXS(e){const t=e,{config:n,state:r}=t,o=t.filterTargetsToShow(t.data.targets);if(t.hasArcType(o))return;const i=$a(r.event,this),a=t.findClosestFromTargets(o,i),s="radius"===n.point_sensitivity?a.r:n.point_sensitivity;a&&(t.isBarType(a.id)||t.dist(a,i)<s)&&t.$el.main.selectAll(`.${Kn.shapes}${t.getTargetSelectorSuffix(a.id)}`).selectAll(`.${Kn.shape}-${a.index}`).each((function(){var e;(n.data_selection_grouped||t.isWithinShape(this,a))&&(null==(e=t.toggleShape)||e.call(t,this,a,a.index),n.data_onclick.bind(t.api)(a,this))}))}};const mf=e=>+e;var gf={generateFlow(e){const t=this,{data:n,state:r,$el:o}=t;return function(){const i=e.flow.length;r.flowing=!0,n.targets.forEach((e=>{e.values.splice(0,i)})),t.updateXGrid&&t.updateXGrid(!0);const a={};["axis.x","grid.x","gridLines.x","region.list","text","bar","line","area","circle"].forEach((e=>{const t=e.split(".");let n=o[t[0]];n&&t.length>1&&(n=n[t[1]]),(null==n?void 0:n.size())&&(a[e]=n)})),t.hideGridFocus(),t.setFlowList(a,e)}},setFlowList(e,t){const n=this,{flow:r,targets:o}=t,{duration:i=t.duration,index:a,length:s,orgDataCount:l}=r,c=n.getFlowTransform(o,l,a,s),u=Ls();let d;u.add(Object.keys(e).map((t=>(d=e[t].transition().ease(mf).duration(i),d="axis.x"===t?d.call((e=>{n.axis.x.setTransition(e).create(e)})):"region.list"===t?d.filter(n.isRegionOnX).attr("transform",c):d.attr("transform",c),d)))),d.call(u,(()=>{n.cleanUpFlow(e,t)}))},cleanUpFlow(e,t){const n=this,{config:r,state:o,$el:{svg:i}}=n,a=r.axis_rotated,{flow:s,shape:l,xv:c}=t,{cx:u,cy:d,xForText:p,yForText:f}=l.pos,{done:h=()=>{},length:m}=s;m&&(["circle","text","shape","eventRect"].forEach((e=>{const t=[];for(let n=0;n<m;n++)t.push(`.${nr[e]}-${n}`);i.selectAll(`.${nr[`${e}s`]}`).selectAll(t).remove()})),i.select(`.${nr.xgrid}`).remove()),Object.keys(e).forEach((t=>{const i=e[t];if("axis.x"!==t&&i.attr("transform",null),"grid.x"===t)i.attr(o.xgridAttr);else if("gridLines.x"===t)i.attr("x1",a?0:c).attr("x2",a?o.width:c),i.select("text").attr("x",a?o.width:0).attr("y",c);else if(/^(area|bar|line)$/.test(t))i.attr("d",l.type[t]);else if("text"===t)i.attr("x",p).attr("y",f).style("fill-opacity",n.opacityForText.bind(n));else if("circle"===t)if(n.isCirclePoint())i.attr("cx",u).attr("cy",d);else{const e=e=>u(e)-r.point_r,t=e=>d(e)-r.point_r;i.attr("x",e).attr("y",t)}else"region.list"===t&&i.select("rect").filter(n.isRegionOnX).attr("x",n.regionX.bind(n)).attr("width",n.regionWidth.bind(n))})),r.interaction_enabled&&n.redrawEventRect(),h.call(n.api),o.flowing=!1},getFlowTransform(e,t,n,r){const o=this,{data:i,scale:{x:a}}=o,s=i.targets[0].values;let l,c=o.getValueOnIndex(s,n),u=o.getValueOnIndex(s,n+r);const d=a.domain(),p=o.updateXDomain(e,!0,!0);return t?l=1===t||(null==c?void 0:c.x)===(null==u?void 0:u.x)||o.axis.isTimeSeries()?a(d[0])-a(p[0]):a((null==c?void 0:c.x)||0)-a(u.x):1!==s.length?l=a(d[0])-a(p[0]):o.axis.isTimeSeries()?(c=o.getValueOnIndex(s,0),u=o.getValueOnIndex(s,s.length-1),l=a(c.x)-a(u.x)):l=ka(p)/2,`translate(${l},0) scale(${ka(d)/ka(p)},1)`}},vf={initClip(){const e=this,{clip:t,datetimeId:n}=e.state;t.id=`${n}-clip`,t.idXAxis=`${t.id}-xaxis`,t.idYAxis=`${t.id}-yaxis`,t.idGrid=`${t.id}-grid`,t.path=e.getClipPath(t.id),t.pathXAxis=e.getClipPath(t.idXAxis),t.pathYAxis=e.getClipPath(t.idYAxis),t.pathGrid=e.getClipPath(t.idGrid)},getClipPath(e){const{config:t}=this;return!t.clipPath&&/-clip$/.test(e)||!t.axis_x_clipPath&&/-clip-xaxis$/.test(e)||!t.axis_y_clipPath&&/-clip-yaxis$/.test(e)?null:`url(#${e})`},appendClip(e,t){t&&e.append("clipPath").attr("id",t).append("rect")},setXAxisClipPath(e){const{config:t,state:{margin:n,width:r,height:o}}=this,i=t.axis_rotated,a=Math.max(30,n.left)-(i?0:20),s=(i?n.top+o+10:n.bottom)+20,l=i?-(1+a):-(a-1),c=i?n.left+20:r+10+a;e.attr("x",l).attr("y",-15).attr("width",c).attr("height",s)},setYAxisClipPath(e){const{config:t,state:{margin:n,width:r,height:o}}=this,i=t.axis_rotated,a=Math.max(30,n.left)-(i?20:0),s=t.axis_y_inner,l=s&&!i?t.axis_y_label.text?-20:-1:i?-(1+a):-(a-1),c=-(i?20:n.top),u=(i?r+15+a:n.left+20)+(s?20:0),d=(i?n.bottom+10:n.top+o)+10;e.attr("x",l).attr("y",c).attr("width",u).attr("height",d)},updateXAxisTickClip(){const e=this,{config:t,state:{clip:n,xAxisHeight:r},$el:{defs:o}}=e,i=e.getHorizontalAxisHeight("x");if(o&&!n.idXAxisTickTexts){const t=`${n.id}-xaxisticktexts`;e.appendClip(o,t),n.pathXAxisTickTexts=e.getClipPath(n.idXAxisTickTexts),n.idXAxisTickTexts=t}!t.axis_x_tick_multiline&&e.getAxisTickRotate("x")&&i!==r&&(e.setXAxisTickClipWidth(),e.setXAxisTickTextClipPathWidth()),e.state.xAxisHeight=i},setXAxisTickClipWidth(){const e=this,{config:t,state:{current:{maxTickSize:n}}}=e,r=e.getAxisTickRotate("x");if(!t.axis_x_tick_multiline&&r){const t=Math.sin(Math.PI/180*Math.abs(r));n.x.clipPath=(e.getHorizontalAxisHeight("x")-20)/t}else n.x.clipPath=null},setXAxisTickTextClipPathWidth(){const{state:{clip:e,current:t},$el:{svg:n}}=this;n&&n.select(`#${e.idXAxisTickTexts} rect`).attr("width",t.maxTickSize.x.clipPath).attr("height",30)}};const yf=e=>va(e.position)||"end",bf=e=>"start"===e.position?4:"middle"===e.position?0:-4;function xf(e,t,n){return r=>{let o=e?0:t;return"start"===r.position?o=e?-n:0:"middle"===r.position&&(o=(e?-n:t)/2),o}}function wf(e,t){"grid"===t&&e.each((function(){const e=be(this);["x1","x2","y1","y2"].forEach((t=>e.attr(t,Math.ceil(+e.attr(t)))))}))}var Af={hasGrid(){const{config:e}=this;return["x","y"].some((t=>e[`grid_${t}_show`]||e[`grid_${t}_lines`].length))},initGrid(){const e=this;e.hasGrid()&&e.initGridLines(),e.initFocusGrid()},initGridLines(){const{config:e,state:{clip:t},$el:n}=this;(e.grid_x_lines.length||e.grid_y_lines.length)&&(n.gridLines.main=n.main.insert("g",`.${Pn.chart}${e.grid_lines_front?" + *":""}`).attr("clip-path",t.pathGrid).attr("class",`${Wn.grid} ${Wn.gridLines}`),n.gridLines.main.append("g").attr("class",Wn.xgridLines),n.gridLines.main.append("g").attr("class",Wn.ygridLines),n.gridLines.x=ou([]))},updateXGrid(e){const t=this,{config:n,scale:r,state:o,$el:{main:i,grid:a}}=t,s=n.axis_rotated,l=t.generateGridData(n.grid_x_type,r.x),c=t.axis.isCategorized()?t.axis.x.tickOffset():0,u=e=>(r.zoom||r.x)(e)+c*(s?-1:1);o.xgridAttr=s?{x1:0,x2:o.width,y1:u,y2:u}:{x1:u,x2:u,y1:0,y2:o.height},a.x=i.select(`.${Wn.xgrids}`).selectAll(`.${Wn.xgrid}`).data(l),a.x.exit().remove(),a.x=a.x.enter().append("line").attr("class",Wn.xgrid).merge(a.x),e||a.x.each((function(){const e=be(this);Object.keys(o.xgridAttr).forEach((t=>{e.attr(t,o.xgridAttr[t]).style("opacity",(()=>e.attr(s?"y1":"x1")===(s?o.height:0)?"0":null))}))}))},updateYGrid(){const{axis:e,config:t,scale:n,state:r,$el:{grid:o,main:i}}=this,a=t.axis_rotated,s=e=>Math.ceil(n.y(e)),l=e.y.getGeneratedTicks(t.grid_y_ticks)||this.scale.y.ticks(t.grid_y_ticks);o.y=i.select(`.${Wn.ygrids}`).selectAll(`.${Wn.ygrid}`).data(l),o.y.exit().remove(),o.y=o.y.enter().append("line").attr("class",Wn.ygrid).merge(o.y),o.y.attr("x1",a?s:0).attr("x2",a?s:r.width).attr("y1",a?0:s).attr("y2",a?r.height:s),wf(o.y,"grid")},updateGrid(){const e=this,{$el:{grid:t,gridLines:n}}=e;!n.main&&e.initGridLines(),t.main.style("visibility",e.hasArcType()?"hidden":null),e.hideGridFocus(),e.updateGridLines("x"),e.updateGridLines("y")},updateGridLines(e){const{config:t,$el:{gridLines:n,main:r},$T:o}=this,i=t.axis_rotated,a="x"===e;t[`grid_${e}_show`]&&this[`update${e.toUpperCase()}Grid`]();let s=r.select(`.${Wn[`${e}gridLines`]}`).selectAll(`.${Wn[`${e}gridLine`]}`).data(t[`grid_${e}_lines`]);o(s.exit()).style("opacity","0").remove();const l=s.enter().append("g");l.append("line").style("opacity","0"),s=l.merge(s),s.each((function(e){const t=be(this);t.select("text").empty()&&e.text&&t.append("text").style("opacity","0")})),o(s.attr("class",(t=>`${Wn[`${e}gridLine`]} ${t.class||""}`.trim())).select("text").attr("text-anchor",yf).attr("transform",(()=>a?i?null:"rotate(-90)":i?"rotate(-90)":null)).attr("dx",bf).attr("dy",-5)).text((function(e){var t;return null!=(t=e.text)?t:this.remove()})),n[e]=s},redrawGrid(e){const t=this,{config:{axis_rotated:n},state:{width:r,height:o},$el:{gridLines:i},$T:a}=t,s=t.xv.bind(t),l=t.yv.bind(t);let c=i.x.select("line"),u=i.x.select("text"),d=i.y.select("line"),p=i.y.select("text");return c=a(c,e).attr("x1",n?0:s).attr("x2",n?r:s).attr("y1",n?s:0).attr("y2",n?s:o),u=a(u,e).attr("x",xf(!n,r,o)).attr("y",s),d=a(d,e).attr("x1",n?l:0).attr("x2",n?l:r).attr("y1",n?0:l).attr("y2",n?o:l),p=a(p,e).attr("x",xf(n,r,o)).attr("y",l),[c.style("opacity",null),u.style("opacity",null),d.style("opacity",null),p.style("opacity",null)]},initFocusGrid(){const{config:e,state:{clip:t},$el:n}=this,r=e.grid_front,o=`.${r&&n.gridLines.main?Wn.gridLines:Pn.chart}${r?" + *":""}`,i=n.main.insert("g",o).attr("clip-path",t.pathGrid).attr("class",Wn.grid);if(n.grid.main=i,e.grid_x_show&&i.append("g").attr("class",Wn.xgrids),e.grid_y_show&&i.append("g").attr("class",Wn.ygrids),e.axis_tooltip){const e=i.append("g").attr("class","bb-axis-tooltip");e.append("line").attr("class","bb-axis-tooltip-x"),e.append("line").attr("class","bb-axis-tooltip-y")}e.interaction_enabled&&e.grid_focus_show&&!e.axis_tooltip&&(i.append("g").attr("class",Vn.xgridFocus).append("line").attr("class",Vn.xgridFocus),e.grid_focus_y&&!e.tooltip_grouped&&i.append("g").attr("class",Vn.ygridFocus).append("line").attr("class",Vn.ygridFocus))},showAxisGridFocus(){var e,t;const n=this,{config:r,format:o,state:{event:i,width:a,height:s}}=n,l=r.axis_rotated,[c,u]=$a(i,null==(e=n.$el.eventRect)?void 0:e.node()),d={x:c,y:u};for(const[e,r]of Object.entries(n.$el.axisTooltip)){const i="x"===e&&!l||"x"!==e&&l?"x":"y",a=d[i];let s=null==(t=n.scale[e])?void 0:t.invert(a);s&&(s="x"===e&&n.axis.isTimeSeries()?o.xAxisTick(s):null==s?void 0:s.toFixed(2),null==r||r.attr(i,a).text(s))}n.$el.main.selectAll("line.bb-axis-tooltip-x, line.bb-axis-tooltip-y").style("visibility",null).each((function(e,t){const n=be(this);0===t?n.attr("x1",c).attr("x2",c).attr("y1",t?0:s).attr("y2",t?s:0):n.attr("x1",t?0:a).attr("x2",t?a:0).attr("y1",u).attr("y2",u)}))},hideAxisGridFocus(){this.$el.main.selectAll("line.bb-axis-tooltip-x, line.bb-axis-tooltip-y").style("visibility","hidden"),Object.values(this.$el.axisTooltip).forEach((e=>null==e?void 0:e.style("display","none")))},showGridFocus(e){var t;const n=this,{config:r,state:{width:o,height:i}}=n,a=r.axis_rotated,s=n.$el.main.selectAll(`line.${Vn.xgridFocus}, line.${Vn.ygridFocus}`),l=(e||[s.datum()]).filter((e=>e&&va(n.getBaseValue(e))));if(!r.tooltip_show||0===l.length||!r.axis_x_forceAsSingle&&n.hasType("bubble")||n.hasArcType())return;const c=r.grid_focus_edge&&!r.tooltip_grouped,u=n.xx.bind(n);s.style("visibility",null).data(l.concat(l)).each((function(e){const t=be(this),r={x:u(e),y:n.getYScaleById(e.id)(e.value)};let s;if(t.classed(Vn.xgridFocus))s=a?[null,r.x,c?r.y:o,r.x]:[r.x,c?r.y:null,r.x,i];else{const t="y2"===n.axis.getId(e.id);s=a?[r.y,c&&!t?r.x:null,r.y,c&&t?r.x:i]:[c&&t?r.x:null,r.y,c&&!t?r.x:o,r.y]}["x1","y1","x2","y2"].forEach(((e,n)=>t.attr(e,s[n])))})),wf(s,"grid"),null==(t=n.showCircleFocus)||t.call(n,e)},hideGridFocus(){var e;const t=this,{state:{inputType:n,resizing:r},$el:{main:o}}=t;"mouse"!==n&&r||(o.selectAll(`line.${Vn.xgridFocus}, line.${Vn.ygridFocus}`).style("visibility","hidden"),null==(e=t.hideCircleFocus)||e.call(t))},updateGridFocus(){var e;const t=this,{state:{inputType:n,width:r,height:o,resizing:i},$el:{grid:a}}=t,s=a.main.select(`line.${Vn.xgridFocus}`);if("touch"===n)s.empty()?i&&(null==(e=t.showCircleFocus)||e.call(t)):t.showGridFocus();else{const e=t.config.axis_rotated;s.attr("x1",e?0:-10).attr("x2",e?r:-10).attr("y1",e?-10:0).attr("y2",e?-10:o)}return!0},generateGridData(e,t){const n=this,r=n.$el.main.select(`.${Dn.axisX}`).selectAll(".tick").size();let o=[];if("year"===e){const e=n.getXDomain(),[t,r]=e.map((e=>e.getFullYear()));for(let e=t;e<=r;e++)o.push(new Date(`${e}-01-01 00:00:00`))}else o=t.ticks(10),o.length>r&&(o=o.filter((e=>String(e).indexOf(".")<0)));return o},getGridFilterToRemove(e){return e?t=>{let n=!1;return(Pa(e)?e.concat():[e]).forEach((e=>{("value"in e&&t.value===e.value||"class"in e&&t.class===e.class)&&(n=!0)})),n}:()=>!0},removeGridLines(e,t){const n=this,{config:r,$T:o}=n,i=n.getGridFilterToRemove(e),a=t?Wn.xgridLines:Wn.ygridLines,s=t?Wn.xgridLine:Wn.ygridLine;o(n.$el.main.select(`.${a}`).selectAll(`.${s}`).filter(i)).style("opacity","0").remove();const l=`grid_${t?"x":"y"}_lines`;r[l]=r[l].filter((e=>!i(e)))}},_f={initRegion(){const{$el:e}=this;e.region.main=e.main.insert("g",":first-child").attr("clip-path",this.state.clip.path).attr("class",Yn.regions)},updateRegion(){const e=this,{config:t,$el:{region:n},$T:r}=e;n.main||e.initRegion(),n.main.style("visibility",e.hasArcType()?"hidden":null);const o=n.main.selectAll(`.${Yn.region}`).data(t.regions);r(o.exit()).style("opacity","0").remove();const i=o.enter().append("g");i.append("rect").style("fill-opacity","0"),n.list=i.merge(o).attr("class",e.classRegion.bind(e)),n.list.each((function(e){var t;be(this).select("text").empty()&&(null==(t=e.label)?void 0:t.text)&&be(this).append("text").style("opacity","0")}))},redrawRegion(e){const t=this,{$el:{region:n},$T:r}=t;let o=n.list.select("rect"),i=n.list.selectAll("text");return o=r(o,e).attr("x",t.regionX.bind(t)).attr("y",t.regionY.bind(t)).attr("width",t.regionWidth.bind(t)).attr("height",t.regionHeight.bind(t)),i=r(i,e).attr("transform",(e=>{var n;const{x:r=0,y:o=0,rotated:i=!1}=null!=(n=e.label)?n:{};return`translate(${t.regionX.bind(t)(e)+r}, ${t.regionY.bind(t)(e)+o})${i?" rotate(-90)":""}`})).attr("text-anchor",(e=>{var t;return(null==(t=e.label)?void 0:t.rotated)?"end":null})).attr("dy","1em").style("fill",(e=>{var t,n;return null!=(n=null==(t=e.label)?void 0:t.color)?n:null})).text((e=>{var t;return null==(t=e.label)?void 0:t.text})),[o.style("fill-opacity",(e=>va(e.opacity)?e.opacity:null)).on("end",(function(){be(this.parentNode).selectAll("rect:not([x])").remove()})),i.style("opacity",null)]},getRegionXY(e,t){const n=this,{config:r,scale:o}=n,i=r.axis_rotated,a="x"===e;let s,l="start",c=0;return"y"===t.axis||"y2"===t.axis?(a||(l="end"),(a?i:!i)&&l in t&&(s=o[t.axis],c=s(t[l]))):(a?!i:i)&&l in t&&(s=o.zoom||o.x,c=s(n.axis.isTimeSeries()?rs.call(n,t[l]):t[l])),c},regionX(e){return this.getRegionXY("x",e)},regionY(e){return this.getRegionXY("y",e)},getRegionSize(e,t){const n=this,{config:r,scale:o,state:i}=n,a=r.axis_rotated,s="width"===e,l=n[s?"regionX":"regionY"](t);let c,u="end",d=i[e];return"y"===t.axis||"y2"===t.axis?(s||(u="start"),(s?a:!a)&&u in t&&(c=o[t.axis],d=c(t[u]))):(s?!a:a)&&u in t&&(c=o.zoom||o.x,d=c(n.axis.isTimeSeries()?rs.call(n,t[u]):t[u])),d<l?0:d-l},regionWidth(e){return this.getRegionSize("width",e)},regionHeight(e){return this.getRegionSize("height",e)},isRegionOnX(e){return!e.axis||"x"===e.axis}},Sf={getAxisSize(e){const t=this,n=t.config.axis_rotated;return n&&"x"===e||!n&&/y2?/.test(e)?t.getAxisWidthByAxisId(e,!0):t.getHorizontalAxisHeight(e)},getAxisWidthByAxisId(e,t){var n,r;const o=this;if(o.axis){const i=null==(n=o.axis)?void 0:n.getLabelPositionById(e),{width:a}=o.axis.getMaxTickSize(e,t),s=0===a?.5:0;return a+("fit"===(null==(r=o.config.padding)?void 0:r.mode)?i.isInner?10+s:10:i.isInner?20+s:40)}return 40},getHorizontalAxisHeight(e){var t,n;const r=this,{config:o,state:i}=r,{rotatedPadding:a,isLegendRight:s,isLegendInset:l}=i,c=o.axis_rotated,u="fit"===(null==(t=o.padding)?void 0:t.mode),d=o[`axis_${e}_inner`],p=o[`axis_${e}_label`].text;let f="fit"===(null==(n=o.padding)?void 0:n.mode)?d&&!p?"y"===e?1:0:20:30;if("x"===e&&!o.axis_x_show)return 8;if("x"===e&&xa(o.axis_x_height))return o.axis_x_height;if("y"===e&&!o.axis_y_show)return!o.legend_show||s||l?1:10;if("y2"===e&&!o.axis_y2_show)return u?0:a.top;const h=r.axis.getMaxTickSize(e),m=Math.abs(o.axis_x_tick_rotate)>0&&(!o.axis_x_tick_autorotate||r.needToRotateXAxisTickTexts());return(o.axis_x_tick_multiline||m)&&h.height>13&&(f+=h.height-13),f+(r.axis.getLabelPositionById(e).isInner?0:10)+("y2"!==e||c?0:-10)},getEventRectWidth(){const{config:e,axis:t}=this,n=e.axis_x_inverted,r=t.x.tickInterval();return Math.max(0,n?Math.abs(r):r)},getAxisTickRotate(e){const t=this,{axis:n,config:r,state:o,$el:i}=t;let a=r[`axis_${e}_tick_rotate`];if("x"===e){const e=n.isCategorized()||n.isTimeSeries();if(r.axis_x_tick_fit&&e){const e=r.axis_x_tick_count,n=o.current.maxTickSize.x.ticks.length;let i=0;if(e?i=e>n?n:e:n&&(i=n),i!==o.axis.x.tickCount){const{targets:e}=t.data;o.axis.x.padding=t.getXDomainPadding([t.getXDomainMinMax(e,"min"),t.getXDomainMinMax(e,"max")],i)}o.axis.x.tickCount=i}i.svg&&r.axis_x_tick_autorotate&&r.axis_x_tick_fit&&!r.axis_x_tick_multiline&&!r.axis_x_tick_culling&&e&&(a=t.needToRotateXAxisTickTexts()?r.axis_x_tick_rotate:0)}return a},needToRotateXAxisTickTexts(){const e=this,{state:{axis:t,current:n,isLegendRight:r,legendItemWidth:o}}=e,i=r&&o,a=n.width-i-e.getCurrentPaddingByDirection("left")-e.getCurrentPaddingByDirection("right"),s=t.x.tickCount+t.x.padding.left+t.x.padding.right,{width:l}=e.axis.getMaxTickSize("x");return l>(s?a/s:0)}},kf=Object.defineProperty,Cf=Object.getOwnPropertySymbols,Tf=Object.prototype.hasOwnProperty,Mf=Object.prototype.propertyIsEnumerable,Pf=(e,t,n)=>t in e?kf(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Of=(e,t)=>{for(var n in t||(t={}))Tf.call(t,n)&&Pf(e,n,t[n]);if(Cf)for(var n of Cf(t))Mf.call(t,n)&&Pf(e,n,t[n]);return e},Ef=Of(Of(Of({axis_rotated:!1,axis_tooltip:!1},{axis_x_clipPath:!0,axis_x_show:!0,axis_x_forceAsSingle:!1,axis_x_type:"indexed",axis_x_localtime:!0,axis_x_categories:[],axis_x_tick_centered:!1,axis_x_tick_format:void 0,axis_x_tick_culling:{},axis_x_tick_culling_max:10,axis_x_tick_culling_lines:!0,axis_x_tick_count:void 0,axis_x_tick_show:!0,axis_x_tick_text_show:!0,axis_x_tick_text_inner:!1,axis_x_tick_text_position:{x:0,y:0},axis_x_tick_fit:!0,axis_x_tick_values:null,axis_x_tick_autorotate:!1,axis_x_tick_rotate:0,axis_x_tick_outer:!0,axis_x_tick_multiline:!0,axis_x_tick_width:null,axis_x_tick_tooltip:!1,axis_x_max:void 0,axis_x_min:void 0,axis_x_inverted:!1,axis_x_padding:{},axis_x_height:void 0,axis_x_extent:void 0,axis_x_label:{},axis_x_axes:[]}),{axis_y_clipPath:!0,axis_y_show:!0,axis_y_type:"indexed",axis_y_max:void 0,axis_y_min:void 0,axis_y_inverted:!1,axis_y_center:void 0,axis_y_inner:!1,axis_y_label:{},axis_y_tick_format:void 0,axis_y_tick_culling:!1,axis_y_tick_culling_max:5,axis_y_tick_culling_lines:!0,axis_y_tick_outer:!0,axis_y_tick_values:null,axis_y_tick_rotate:0,axis_y_tick_count:void 0,axis_y_tick_show:!0,axis_y_tick_stepSize:null,axis_y_tick_text_show:!0,axis_y_tick_text_position:{x:0,y:0},axis_y_tick_time_value:void 0,axis_y_padding:{},axis_y_default:void 0,axis_y_axes:[]}),{axis_y2_show:!1,axis_y2_type:"indexed",axis_y2_max:void 0,axis_y2_min:void 0,axis_y2_inverted:!1,axis_y2_center:void 0,axis_y2_inner:!1,axis_y2_label:{},axis_y2_tick_format:void 0,axis_y2_tick_culling:!1,axis_y2_tick_culling_max:5,axis_y2_tick_culling_lines:!0,axis_y2_tick_outer:!0,axis_y2_tick_values:null,axis_y2_tick_rotate:0,axis_y2_tick_count:void 0,axis_y2_tick_show:!0,axis_y2_tick_stepSize:null,axis_y2_tick_text_show:!0,axis_y2_tick_text_position:{x:0,y:0},axis_y2_padding:{},axis_y2_default:void 0,axis_y2_axes:[]});const Df=[Tp,Mp,Pp,Np,Lp,zp,Fp],Rf={axis:pf,clip:vf,eventrect:hf,flow:gf,grid:Af,region:_f,sizeAxis:Sf},If={optDataAxis:{data_xs:{},data_xFormat:"%Y-%m-%d",data_xLocaltime:!0,data_xSort:!0,data_axes:{},data_regions:{},data_stack_normalize:!1},optAxis:Ef,optGrid:{grid_x_show:!1,grid_x_type:"tick",grid_x_lines:[],grid_y_show:!1,grid_y_lines:[],grid_y_ticks:void 0,grid_focus_edge:!1,grid_focus_show:!0,grid_focus_y:!1,grid_front:!1,grid_lines_front:!0}};function Nf(e){return"object"==typeof e&&"length"in e?e:Array.from(e)}function Lf(e){return function(){return e}}function jf(e,t){return t<e?-1:t>e?1:t>=e?0:NaN}function $f(e){return e}Array.prototype.slice;var zf=Math.pow;const Ff=Math.PI,Bf=2*Ff,Hf=1e-6,Vf=Bf-Hf;function Wf(e){this._+=e[0];for(let t=1,n=e.length;t<n;++t)this._+=arguments[t]+e[t]}class Uf{constructor(e){this._x0=this._y0=this._x1=this._y1=null,this._="",this._append=null==e?Wf:function(e){let t=Math.floor(e);if(!(t>=0))throw new Error(`invalid digits: ${e}`);if(t>15)return Wf;const n=zf(10,t);return function(e){this._+=e[0];for(let t=1,r=e.length;t<r;++t)this._+=Math.round(arguments[t]*n)/n+e[t]}}(e)}moveTo(e,t){this._append`M${this._x0=this._x1=+e},${this._y0=this._y1=+t}`}closePath(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._append`Z`)}lineTo(e,t){this._append`L${this._x1=+e},${this._y1=+t}`}quadraticCurveTo(e,t,n,r){this._append`Q${+e},${+t},${this._x1=+n},${this._y1=+r}`}bezierCurveTo(e,t,n,r,o,i){this._append`C${+e},${+t},${+n},${+r},${this._x1=+o},${this._y1=+i}`}arcTo(e,t,n,r,o){if(e=+e,t=+t,n=+n,r=+r,(o=+o)<0)throw new Error(`negative radius: ${o}`);let i=this._x1,a=this._y1,s=n-e,l=r-t,c=i-e,u=a-t,d=c*c+u*u;if(null===this._x1)this._append`M${this._x1=e},${this._y1=t}`;else if(d>Hf)if(Math.abs(u*s-l*c)>Hf&&o){let p=n-i,f=r-a,h=s*s+l*l,m=p*p+f*f,g=Math.sqrt(h),v=Math.sqrt(d),y=o*Math.tan((Ff-Math.acos((h+d-m)/(2*g*v)))/2),b=y/v,x=y/g;Math.abs(b-1)>Hf&&this._append`L${e+b*c},${t+b*u}`,this._append`A${o},${o},0,0,${+(u*p>c*f)},${this._x1=e+x*s},${this._y1=t+x*l}`}else this._append`L${this._x1=e},${this._y1=t}`}arc(e,t,n,r,o,i){if(e=+e,t=+t,i=!!i,(n=+n)<0)throw new Error(`negative radius: ${n}`);let a=n*Math.cos(r),s=n*Math.sin(r),l=e+a,c=t+s,u=1^i,d=i?r-o:o-r;null===this._x1?this._append`M${l},${c}`:(Math.abs(this._x1-l)>Hf||Math.abs(this._y1-c)>Hf)&&this._append`L${l},${c}`,n&&(d<0&&(d=d%Bf+Bf),d>Vf?this._append`A${n},${n},0,1,${u},${e-a},${t-s}A${n},${n},0,1,${u},${this._x1=l},${this._y1=c}`:d>Hf&&this._append`A${n},${n},0,${+(d>=Ff)},${u},${this._x1=e+n*Math.cos(o)},${this._y1=t+n*Math.sin(o)}`)}rect(e,t,n,r){this._append`M${this._x0=this._x1=+e},${this._y0=this._y1=+t}h${n=+n}v${+r}h${-n}Z`}toString(){return this._}}function qf(e){let t=3;return e.digits=function(n){if(!arguments.length)return t;if(null==n)t=null;else{const e=Math.floor(n);if(!(e>=0))throw new RangeError(`invalid digits: ${n}`);t=e}return e},()=>new Uf(t)}function Gf(e){return e.innerRadius}function Yf(e){return e.outerRadius}function Xf(e){return e.startAngle}function Kf(e){return e.endAngle}function Zf(e){return e&&e.padAngle}function Jf(e,t,n,r,o,i,a){var s=e-n,l=t-r,c=(a?i:-i)/Lu(s*s+l*l),u=c*l,d=-c*s,p=e+u,f=t+d,h=n+u,m=r+d,g=(p+h)/2,v=(f+m)/2,y=h-p,b=m-f,x=y*y+b*b,w=o-i,A=p*m-h*f,_=(b<0?-1:1)*Lu(Ru(0,w*w*x-A*A)),S=(A*b-y*_)/x,k=(-A*y-b*_)/x,C=(A*b+y*_)/x,T=(-A*y+b*_)/x,M=S-g,P=k-v,O=C-g,E=T-v;return M*M+P*P>O*O+E*E&&(S=C,k=T),{cx:S,cy:k,x01:-u,y01:-d,x11:S*(o/w-1),y11:k*(o/w-1)}}function Qf(){var e=Gf,t=Yf,n=Lf(0),r=null,o=Xf,i=Kf,a=Zf,s=null,l=qf(c);function c(){var c,u,d=+e.apply(this,arguments),p=+t.apply(this,arguments),f=o.apply(this,arguments)-zu,h=i.apply(this,arguments)-zu,m=Ou(h-f),g=h>f;if(s||(s=c=l()),p<d&&(u=p,p=d,d=u),p>ju)if(m>Fu-ju)s.moveTo(p*Du(f),p*Nu(f)),s.arc(0,0,p,f,h,!g),d>ju&&(s.moveTo(d*Du(h),d*Nu(h)),s.arc(0,0,d,h,f,g));else{var v,y,b=f,x=h,w=f,A=h,_=m,S=m,k=a.apply(this,arguments)/2,C=k>ju&&(r?+r.apply(this,arguments):Lu(d*d+p*p)),T=Iu(Ou(p-d)/2,+n.apply(this,arguments)),M=T,P=T;if(C>ju){var O=Bu(C/d*Nu(k)),E=Bu(C/p*Nu(k));(_-=2*O)>ju?(w+=O*=g?1:-1,A-=O):(_=0,w=A=(f+h)/2),(S-=2*E)>ju?(b+=E*=g?1:-1,x-=E):(S=0,b=x=(f+h)/2)}var D=p*Du(b),R=p*Nu(b),I=d*Du(A),N=d*Nu(A);if(T>ju){var L,j=p*Du(x),$=p*Nu(x),z=d*Du(w),F=d*Nu(w);if(m<$u)if(L=function(e,t,n,r,o,i,a,s){var l=n-e,c=r-t,u=a-o,d=s-i,p=d*l-u*c;if(!(p*p<ju))return[e+(p=(u*(t-i)-d*(e-o))/p)*l,t+p*c]}(D,R,z,F,j,$,I,N)){var B=D-L[0],H=R-L[1],V=j-L[0],W=$-L[1],U=1/Nu(function(e){return e>1?0:e<-1?$u:Math.acos(e)}((B*V+H*W)/(Lu(B*B+H*H)*Lu(V*V+W*W)))/2),q=Lu(L[0]*L[0]+L[1]*L[1]);M=Iu(T,(d-q)/(U-1)),P=Iu(T,(p-q)/(U+1))}else M=P=0}S>ju?P>ju?(v=Jf(z,F,D,R,p,P,g),y=Jf(j,$,I,N,p,P,g),s.moveTo(v.cx+v.x01,v.cy+v.y01),P<T?s.arc(v.cx,v.cy,P,Eu(v.y01,v.x01),Eu(y.y01,y.x01),!g):(s.arc(v.cx,v.cy,P,Eu(v.y01,v.x01),Eu(v.y11,v.x11),!g),s.arc(0,0,p,Eu(v.cy+v.y11,v.cx+v.x11),Eu(y.cy+y.y11,y.cx+y.x11),!g),s.arc(y.cx,y.cy,P,Eu(y.y11,y.x11),Eu(y.y01,y.x01),!g))):(s.moveTo(D,R),s.arc(0,0,p,b,x,!g)):s.moveTo(D,R),d>ju&&_>ju?M>ju?(v=Jf(I,N,j,$,d,-M,g),y=Jf(D,R,z,F,d,-M,g),s.lineTo(v.cx+v.x01,v.cy+v.y01),M<T?s.arc(v.cx,v.cy,M,Eu(v.y01,v.x01),Eu(y.y01,y.x01),!g):(s.arc(v.cx,v.cy,M,Eu(v.y01,v.x01),Eu(v.y11,v.x11),!g),s.arc(0,0,d,Eu(v.cy+v.y11,v.cx+v.x11),Eu(y.cy+y.y11,y.cx+y.x11),g),s.arc(y.cx,y.cy,M,Eu(y.y11,y.x11),Eu(y.y01,y.x01),!g))):s.arc(0,0,d,A,w,g):s.lineTo(I,N)}else s.moveTo(0,0);if(s.closePath(),c)return s=null,c+""||null}return c.centroid=function(){var n=(+e.apply(this,arguments)+ +t.apply(this,arguments))/2,r=(+o.apply(this,arguments)+ +i.apply(this,arguments))/2-$u/2;return[Du(r)*n,Nu(r)*n]},c.innerRadius=function(t){return arguments.length?(e="function"==typeof t?t:Lf(+t),c):e},c.outerRadius=function(e){return arguments.length?(t="function"==typeof e?e:Lf(+e),c):t},c.cornerRadius=function(e){return arguments.length?(n="function"==typeof e?e:Lf(+e),c):n},c.padRadius=function(e){return arguments.length?(r=null==e?null:"function"==typeof e?e:Lf(+e),c):r},c.startAngle=function(e){return arguments.length?(o="function"==typeof e?e:Lf(+e),c):o},c.endAngle=function(e){return arguments.length?(i="function"==typeof e?e:Lf(+e),c):i},c.padAngle=function(e){return arguments.length?(a="function"==typeof e?e:Lf(+e),c):a},c.context=function(e){return arguments.length?(s=null==e?null:e,c):s},c}Uf.prototype;var eh=Object.defineProperty,th=Object.defineProperties,nh=Object.getOwnPropertyDescriptors,rh=Object.getOwnPropertySymbols,oh=Object.prototype.hasOwnProperty,ih=Object.prototype.propertyIsEnumerable,ah=(e,t,n)=>t in e?eh(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;function sh(e=0){const t=this,{config:n,state:r}=t,o=t.hasMultiArcGauge(),i=r.gaugeArcWidth/t.filterTargetsToShow(t.data.targets).length,a=e?Math.min(r.radiusExpanded*e-r.radius,.8*i-100*(1-e)):0;return{inner(e){const{innerRadius:n}=t.getRadius(e);return o?r.radius-i*(e.index+1):xa(n)?n:0},outer(n){const{outerRadius:s}=t.getRadius(n);let l;if(o)l=r.radius-i*n.index+a;else if(t.hasType("polar")&&!e)l=t.getPolarOuterRadius(n,s);else if(l=s,e){let{radiusExpanded:t}=r;r.radius!==s&&(t-=Math.abs(r.radius-s)),l=t*e}return l},corner(e,r){const{arc_cornerRadius_ratio:o=0,arc_cornerRadius:i=0}=n,{data:{id:a},value:s}=e;let l=0;return l=o?o*r:xa(i)?i:i.call(t.api,a,s,r),l}}}function lh(e){return function(t){const n=({startAngle:e=0,endAngle:t=0,padAngle:n=0})=>({startAngle:e,endAngle:t,padAngle:n}),r=xo(n(this._current),n(t));return this._current=t,function(n){const o=r(n),{data:i,index:a,value:s}=t;return e(((e,t)=>th(e,nh(t)))(((e,t)=>{for(var n in t||(t={}))oh.call(t,n)&&ah(e,n,t[n]);if(rh)for(var n of rh(t))ih.call(t,n)&&ah(e,n,t[n]);return e})({},o),{data:i,index:a,value:s}))}}}var ch={initPie(){const e=this,{config:t}=e,n=t.data_type,r=t[`${n}_padding`],o=t[`${n}_startingAngle`]||0,i=(r?.01*r:t[`${n}_padAngle`])||0;e.pie=function(){var e=$f,t=jf,n=null,r=Lf(0),o=Lf(Fu),i=Lf(0);function a(a){var s,l,c,u,d,p=(a=Nf(a)).length,f=0,h=new Array(p),m=new Array(p),g=+r.apply(this,arguments),v=Math.min(Fu,Math.max(-Fu,o.apply(this,arguments)-g)),y=Math.min(Math.abs(v)/p,i.apply(this,arguments)),b=y*(v<0?-1:1);for(s=0;s<p;++s)(d=m[h[s]=s]=+e(a[s],s,a))>0&&(f+=d);for(null!=t?h.sort((function(e,n){return t(m[e],m[n])})):null!=n&&h.sort((function(e,t){return n(a[e],a[t])})),s=0,c=f?(v-p*b)/f:0;s<p;++s,g=u)l=h[s],u=g+((d=m[l])>0?d*c:0)+b,m[l]={data:a[l],index:s,value:d,startAngle:g,endAngle:u,padAngle:y};return m}return a.value=function(t){return arguments.length?(e="function"==typeof t?t:Lf(+t),a):e},a.sortValues=function(e){return arguments.length?(t=e,n=null,a):t},a.sort=function(e){return arguments.length?(n=e,t=null,a):n},a.startAngle=function(e){return arguments.length?(r="function"==typeof e?e:Lf(+e),a):r},a.endAngle=function(e){return arguments.length?(o="function"==typeof e?e:Lf(+e),a):o},a.padAngle=function(e){return arguments.length?(i="function"==typeof e?e:Lf(+e),a):i},a}().startAngle(o).endAngle(o+2*Math.PI).padAngle(i).value((e=>{var t,n;return null!=(n=null==(t=e.values)?void 0:t.reduce(((e,t)=>e+t.value),0))?n:e})).sort(e.getSortCompareFn.bind(e)(!0))},updateRadius(){const e=this,{config:t,state:n}=e,r=t[`${t.data_type}_padding`],o=t.gauge_width||t.donut_width,i=e.filterTargetsToShow(e.data.targets).length*t.gauge_arcs_minWidth;n.radiusExpanded=Math.min(n.arcWidth,n.arcHeight)/2*(e.hasMultiArcGauge()&&t.gauge_label_show?.85:1),n.radius=.95*n.radiusExpanded,n.innerRadiusRatio=o?(n.radius-o)/n.radius:.6,n.gaugeArcWidth=o||(i<=n.radius-n.innerRadius?n.radius-n.innerRadius:i<=n.radius?i:n.radius);const a=t.pie_innerRadius||(r?r*(n.innerRadiusRatio+.1):0);n.outerRadius=t.pie_outerRadius,n.innerRadius=e.hasType("donut")||e.hasType("gauge")?n.radius*n.innerRadiusRatio:a},getRadius(e){const t=this,n=null==e?void 0:e.data;let{innerRadius:r,outerRadius:o}=t.state;return!xa(r)&&n&&(r=r[n.id]||0),Oa(o)&&n&&n.id in o?o=o[n.id]:xa(o)||(o=t.state.radius),{innerRadius:r,outerRadius:o}},updateArc(){const e=this;e.updateRadius(),e.svgArc=e.getSvgArc(),e.svgArcExpanded=e.getSvgArcExpanded()},getArcLength(){const{config:e}=this,t=3.6*e.gauge_arcLength;let n=t/360*2;return t<-360?n=-2:t>360&&(n=2),n*Math.PI},getStartingAngle(){const{config:e}=this,t=e.data_type,n=!!this.hasType("gauge")&&e.gauge_fullCircle,r=-1*Math.PI/2,o=Math.PI/2;let i=e[`${t}_startingAngle`]||0;return!n&&i<=r?i=r:!n&&i>=o?i=o:(i>Math.PI||i<-1*Math.PI)&&(i=Math.PI),i},updateAngle(e,t=!1){var n;const r=this,{config:o,state:i}=r,a=t&&r.hasType("gauge");let{pie:s}=r,l=e,c=!1;if(!o)return null;const u=r.getStartingAngle(),d=o.gauge_fullCircle||t&&!a?r.getArcLength():-2*u;if(l.data&&r.isGaugeType(l.data)&&!r.hasMultiArcGauge()){const{gauge_min:e,gauge_max:t}=o,n=d*((r.getTotalDataSum(i.rendered)-e)/(t-e));s=s.startAngle(u).endAngle(n+u)}if(!1===t&&s(r.filterTargetsToShow()).forEach(((e,t)=>{var n;c||e.data.id!==(null==(n=l.data)?void 0:n.id)||(c=!0,l=e,l.index=t)})),isNaN(l.startAngle)&&(l.startAngle=0),isNaN(l.endAngle)&&(l.endAngle=l.startAngle),t||l.data&&(o.gauge_enforceMinMax||r.hasMultiArcGauge())){const{gauge_min:e,gauge_max:s}=o,c=t&&!a?r.getTotalDataSum(i.rendered):s,p=d/(c-e),f=null!=(n=l.value)?n:0,h=f<e?0:f<c?f-e:c-e;l.startAngle=u,l.endAngle=u+p*h}return c||t?l:null},getSvgArc(){const e=this,{inner:t,outer:n,corner:r}=sh.call(e),o=Qf().innerRadius(t).outerRadius(n),i=function(t,i){var a;let s="M 0 0";if(t.value||t.data){const l=i?t:null!=(a=e.updateAngle(t))?a:null;l&&(s=o.cornerRadius(r(l,n(l)))(l))}return s};return i.centroid=o.centroid,i},getSvgArcExpanded(e=1){const t=this,{inner:n,outer:r,corner:o}=sh.call(t,e),i=Qf().innerRadius(n).outerRadius(r);return e=>{const n=t.updateAngle(e),a=r(n);let s=0;return n&&(s=o(n,a)),n?i.cornerRadius(s)(n):"M 0 0"}},getArc(e,t,n){return n||this.isArcType(e.data)?this.svgArc(e,t):"M 0 0"},redrawArcRangeText(){const e=this,{config:t,$el:{arcs:n},state:r,$T:o}=e,i=t.arc_rangeText_format,a=e.hasType("gauge")&&t.arc_rangeText_fixed;let s=t.arc_rangeText_values;if(null==s?void 0:s.length){const l="%"===t.arc_rangeText_unit,c=e.getTotalDataSum(r.rendered);l&&(s=s.map((e=>c/100*e)));const u=e.pie(s).map(((e,t)=>(e.index=t,e)));let d=n.selectAll(`.${On.arcRange}`).data(s);d.exit(),d=o(d.enter().append("text").attr("class",On.arcRange).style("text-anchor","middle").style("pointer-events","none").style("opacity","0").text((e=>{const t=l?e/c*100:e;return ya(i)?i(t):`${t}${l?"%":""}`})).merge(d)),(!r.rendered||r.rendered&&!a)&&c>0&&d.attr("transform",((t,n)=>e.transformForArcLabel(u[n],!0))),d.style("opacity",(e=>!a&&(e>c||0===c)?"0":null))}},transformForArcLabel(e,t=!1){var n,r,o;const i=this,{config:a,state:{radiusExpanded:s}}=i,l=i.updateAngle(e,t);let c="";if(l)if(t||i.hasMultiArcGauge()){const o=Math.sin(l.endAngle-Math.PI/2),i=a.arc_rangeText_position;let u=Math.cos(l.endAngle-Math.PI/2)*(s+(t?5:25)),d=o*(s+15-Math.abs(10*o))+3;if(t&&i){const t=a.arc_rangeText_values,o=ya(i)?i(t[e.index]):i;u+=null!=(n=null==o?void 0:o.x)?n:0,d+=null!=(r=null==o?void 0:o.y)?r:0}c=`translate(${u},${d})`}else if(!i.hasType("gauge")||i.data.targets.length>1){let{outerRadius:t}=i.getRadius(e);i.hasType("polar")&&(t=i.getPolarOuterRadius(e,t));const n=this.svgArc.centroid(l),[r,s]=n.map((e=>isNaN(e)?0:e)),u=Math.sqrt(r*r+s*s);let d=null==(o=["donut","gauge","pie","polar"].filter(i.hasType.bind(i)).map((e=>a[`${e}_label_ratio`])))?void 0:o[0];d=d?ya(d)?d.bind(i.api)(e,t,u):d:t&&(u?(36/t>.375?1.175-36/t:.8)*t/u:0),c=`translate(${r*d},${s*d})`}return c},convertToArcData(e){return this.addName({id:"data"in e?e.data.id:e.id,value:e.value,ratio:this.getRatio("arc",e),index:e.index})},textForArcLabel(e){const t=this,n=t.hasType("gauge");t.shouldShowArcLabel()&&e.style("fill",t.updateTextColor.bind(t)).attr("filter",(e=>t.updateTextBGColor.bind(t)(e,t.config.data_labels_backgroundColors))).each((function(e){var r;const o=be(this),i=t.updateAngle(e),a=t.getRatio("arc",i);if(t.meetsLabelThreshold(a,null==(r=["donut","gauge","pie","polar"].filter(t.hasType.bind(t)))?void 0:r[0])){const{value:r}=i||e;Na(o,(t.getArcLabelFormat()||t.defaultArcValueFormat)(r,a,e.data.id).toString(),[-1,1],n)}else o.text("")}))},expandArc(e){const t=this,{state:{transiting:n},$el:r}=t;if(n){const o=setInterval((()=>{n||(clearInterval(o),r.legend.selectAll(`.${Vn.legendItemFocused}`).size()>0&&t.expandArc(e))}),10);return}const o=t.mapToTargetIds(e);r.svg.selectAll(t.selectorTargets(o,`.${On.chartArc}`)).each((function(e){if(!t.shouldExpand(e.data.id))return;const n=t.getExpandConfig(e.data.id,"duration"),r=t.getSvgArcExpanded(t.getExpandConfig(e.data.id,"rate"));be(this).selectAll("path").transition().duration(n).attrTween("d",lh(t.svgArcExpanded.bind(t))).transition().duration(2*n).attrTween("d",lh(r.bind(t)))}))},unexpandArc(e){const t=this,{state:{transiting:n},$el:{svg:r}}=t;if(n)return;const o=t.mapToTargetIds(e);r.selectAll(t.selectorTargets(o,`.${On.chartArc}`)).selectAll("path").transition().duration((e=>t.getExpandConfig(e.data.id,"duration"))).attrTween("d",lh(t.svgArc.bind(t))),r.selectAll(`${On.arc}`).style("opacity",null)},getExpandConfig(e,t){const n=this,{config:r}=n;let o;return n.isDonutType(e)?o="donut":n.isGaugeType(e)?o="gauge":n.isPieType(e)&&(o="pie"),o?r[`${o}_expand_${t}`]:{duration:50,rate:.98}[t]},shouldExpand(e){const t=this,{config:n}=t;return t.isDonutType(e)&&n.donut_expand||t.isGaugeType(e)&&n.gauge_expand||t.isPieType(e)&&n.pie_expand},shouldShowArcLabel(){const e=this,{config:t}=e;return["donut","gauge","pie","polar"].some((n=>e.hasType(n)&&t[`${n}_label_show`]))},getArcLabelFormat(){const e=this,{config:t}=e;let n=e=>e;return["donut","gauge","pie","polar"].filter(e.hasType.bind(e)).forEach((e=>{n=t[`${e}_label_format`]})),ya(n)?n.bind(e.api):n},updateTargetsForArc(e){const t=this,{$el:n}=t,r=t.hasType("gauge"),o=t.getChartClass("Arc"),i=t.getClass("arcs",!0),a=t.classFocus.bind(t),s=n.main.select(`.${On.chartArcs}`),l=s.selectAll(`.${On.chartArc}`).data(t.pie(e)).attr("class",(e=>o(e)+a(e.data))),c=l.enter().append("g").attr("class",o).call(this.setCssRule(!1,`.${On.chartArcs} text`,["pointer-events:none","text-anchor:middle"]));c.append("g").attr("class",i).merge(l),c.append("text").attr("dy",r&&!t.hasMultiTargets()?"-.1em":".35em").style("opacity","0").style("text-anchor",t.getStylePropValue("middle")).style("pointer-events",t.getStylePropValue("none")),n.text=s.selectAll(`.${Pn.target} text`)},initArc(){const e=this,{$el:t}=e;t.arcs=t.main.select(`.${Pn.chart}`).append("g").attr("class",On.chartArcs).attr("transform",e.getTranslate("arc")),e.setArcTitle()},setArcTitle(e){const t=this,n=e||t.getArcTitle(),r=t.hasType("gauge");if(n){const e=r?zn.chartArcsGaugeTitle:On.chartArcsTitle;let o=t.$el.arcs.select(`.${e}`);o.empty()&&(o=t.$el.arcs.append("text").attr("class",e).style("text-anchor","middle")),r&&o.attr("dy","-0.3em"),Na(o,n,r?void 0:[-.6,1.35],!0)}},getArcTitle(){const e=this,t=e.hasType("donut")?"donut":e.hasType("gauge")&&"gauge";return t?e.config[`${t}_title`]:""},getArcTitleWithNeedleValue(){const e=this,{config:t,state:n}=e,r=e.getArcTitle();if(r&&e.config.arc_needle_show&&/{=[A-Z_]+}/.test(r)){let e=n.current.needle;return xa(e)||(e=t.arc_needle_value),ns(r,{NEEDLE_VALUE:xa(e)?e:0})}return!1},redrawArc(e,t,n){const r=this,{config:o,state:i,$el:{main:a}}=r,s=o.interaction_enabled,l=s&&o.data_selection_isselectable;let c=a.selectAll(`.${On.arcs}`).selectAll(`.${On.arc}`).data(r.arcData.bind(r));c.exit().transition().duration(t).style("opacity","0").remove(),c=c.enter().append("path").attr("class",r.getClass("arc",!0)).style("fill",(e=>r.color(e.data))).style("cursor",(e=>{var t;return(null==(t=null==l?void 0:l.bind)?void 0:t.call(l,r.api)(e))?"pointer":null})).style("opacity","0").each((function(e){r.isGaugeType(e.data)&&(e.startAngle=o.gauge_startingAngle,e.endAngle=o.gauge_startingAngle),this._current=e})).merge(c),r.hasType("gauge")&&(r.updateGaugeMax(),r.hasMultiArcGauge()&&r.redrawArcGaugeLine()),c.attr("transform",(e=>!r.isGaugeType(e.data)&&n?"scale(0)":"")).style("opacity",(function(e){return e===this._current?"0":null})).each((()=>{i.transiting=!0})).transition().duration(e).attrTween("d",(function(e){const t=r.updateAngle(e);if(!t)return()=>"M 0 0";isNaN(this._current.startAngle)&&(this._current.startAngle=0),isNaN(this._current.endAngle)&&(this._current.endAngle=this._current.startAngle);const n=xo(this._current,t);return this._current=n(0),function(t){const o=n(t);return o.data=e.data,r.getArc(o,!0)}})).attr("transform",n?"scale(1)":"").style("fill",(e=>{let t;return r.levelColor?(t=r.levelColor(e.data.values[0].value),o.data_colors[e.data.id]=t):t=r.color(e.data),t})).style("opacity",null).call(Ra,(function(){if(r.levelColor){const e=be(this),t=e.datum(this._current);r.updateLegendItemColor(t.data.id,e.style("fill"))}i.transiting=!1,Da(o.onrendered,r.api)})),s&&r.bindArcEvent(c),r.hasType("polar")&&r.redrawPolar(),r.hasType("gauge")&&r.redrawBackgroundArcs(),o.arc_needle_show&&r.redrawNeedle(),r.redrawArcText(e),r.redrawArcRangeText()},redrawNeedle(){const e=this,{$el:t,config:n,state:{hiddenTargetIds:r,radius:o}}=e,i=(o-1)/100*n.arc_needle_length,a=r.length!==e.data.targets.length;let s=e.$el.arcs.select(`.${On.needle}`);const l=n.arc_needle_path,c=n.arc_needle_bottom_width/2,u=n.arc_needle_top_width/2,d=n.arc_needle_top_rx,p=n.arc_needle_top_ry,f=n.arc_needle_bottom_len,h=n.arc_needle_bottom_rx,m=n.arc_needle_bottom_ry,g=e.getNeedleAngle(),v=()=>{const t=e.getArcTitleWithNeedleValue();t&&e.setArcTitle(t)};if(v(),s.empty()&&(s=t.arcs.append("path").classed(On.needle,!0),t.needle=s,t.needle.updateHelper=(r,o=!1)=>{"none"!==t.needle.style("display")&&e.$T(t.needle).style("transform",`rotate(${e.getNeedleAngle(r)}deg)`).call(Ra,(()=>{o&&(n.arc_needle_value=r),v()}))}),a){const t=ya(l)?l.call(e,i):`M-${c} ${f} A${h} ${m} 0 0 0 ${c} ${f} L${u} -${i} A${d} ${p} 0 0 0 -${u} -${i} L-${c} ${f} Z`;e.$T(s).attr("d",t).style("fill",n.arc_needle_color).style("display",null).style("transform",`rotate(${g}deg)`)}else s.style("display","none")},getNeedleAngle(e){const t=this,{config:n,state:r}=t,o=t.getArcLength(),i=t.hasType("gauge"),a=t.getTotalDataSum(!0);let s=Aa(e)?e:n.arc_needle_value,l=n[`${n.data_type}_startingAngle`]||0,c=0;if(xa(s)||(s=i&&1===t.data.targets.length?a:0),r.current.needle=s,i){l=t.getStartingAngle();const e=n.gauge_fullCircle?o:-2*l,{gauge_min:r,gauge_max:i}=n;c=e*((s-r)/(i-r))}else c=o*(s/a);return(l+c)*(180/Math.PI)},redrawBackgroundArcs(){const e=this,{config:t,state:n}=e,r=e.hasMultiArcGauge(),o=t.gauge_fullCircle,i=0===e.filterTargetsToShow(e.data.targets).length&&!!t.data_empty_label_text,a=e.getStartingAngle(),s=o?a+e.getArcLength():-1*a;let l=e.$el.arcs.select(`${r?"g":""}.${On.chartArcsBackground}`);if(r){let r=0;l=l.selectAll(`path.${On.chartArcsBackground}`).data(e.data.targets),l.enter().append("path").attr("class",((e,t)=>`${On.chartArcsBackground} ${On.chartArcsBackground}-${t}`)).merge(l).style("fill",t.gauge_background||null).attr("d",(({id:o})=>{if(i||n.hiddenTargetIds.indexOf(o)>=0)return"M 0 0";const l={data:[{value:t.gauge_max}],startAngle:a,endAngle:s,index:r++};return e.getArc(l,!0,!0)})),l.exit().remove()}else l.attr("d",i?"M 0 0":()=>{const n={data:[{value:t.gauge_max}],startAngle:a,endAngle:s};return e.getArc(n,!0,!0)})},bindArcEvent(e){const t=this,{config:n,state:r}=t,o="touch"===r.inputType,i="mouse"===r.inputType;function a(e,n,r){t.expandArc(r),t.api.focus(r),t.toggleFocusLegend(r,!0),t.showTooltip([n],e)}function s(e){const n=(null==e?void 0:e.id)||void 0;t.unexpandArc(n),t.api.revert(),t.revertLegend(),t.hideTooltip()}if(e.on("click",(function(e,r,o){var i;const a=t.updateAngle(r);let s;a&&(s=t.convertToArcData(a),null==(i=t.toggleShape)||i.call(t,this,s,o),n.data_onclick.bind(t.api)(s,this))})),i&&e.on("mouseover",(function(e,n){if(r.transiting)return;r.event=e;const o=t.updateAngle(n),i=o?t.convertToArcData(o):null;a(this,i,(null==i?void 0:i.id)||void 0),t.setOverOut(!0,i)})).on("mouseout",((e,n)=>{if(r.transiting)return;r.event=e;const o=t.updateAngle(n),i=o?t.convertToArcData(o):null;s(),t.setOverOut(!1,i)})).on("mousemove",(function(e,n){const o=t.updateAngle(n),i=o?t.convertToArcData(o):null;r.event=e,t.showTooltip([i],this)})),o&&t.hasArcType()&&!t.radars){const e=e=>{var t,n;const{clientX:r,clientY:o}=null!=(n=null==(t=e.changedTouches)?void 0:t[0])?n:{clientX:0,clientY:0};return be(aa.elementFromPoint(r,o))};t.$el.svg.on("touchstart touchmove",(function(n){if(r.transiting)return;r.event=n;const o=e(n).datum(),i=(null==o?void 0:o.data)&&o.data.id?t.updateAngle(o):null,l=i?t.convertToArcData(i):null,c=(null==l?void 0:l.id)||void 0;t.callOverOutForTouch(l),wa(c)?s():a(this,l,c)}))}},redrawArcText(e){const t=this,{config:n,state:r,$el:{main:o,arcs:i}}=t,a=t.hasType("gauge"),s=t.hasMultiArcGauge();let l;if(a&&1===t.data.targets.length&&n.gauge_title||(l=o.selectAll(`.${On.chartArc}`).select("text").style("opacity","0").attr("class",(e=>t.isGaugeType(e.data)?zn.gaugeValue:null)).call(t.textForArcLabel.bind(t)).attr("transform",(e=>t.transformForArcLabel.bind(t)(e))).style("font-size",(e=>t.isGaugeType(e.data)&&1===t.data.targets.length&&!s?`${Math.round(r.radius/5)}px`:null)).transition().duration(e).style("opacity",(e=>t.isTargetToShow(e.data.id)&&t.isArcType(e.data)?null:"0")),s&&l.attr("dy","-.1em")),o.select(`.${On.chartArcsTitle}`).style("opacity",t.hasType("donut")||a?null:"0"),a){const e=n.gauge_fullCircle;e&&(null==l||l.attr("dy",`${s?0:Math.round(r.radius/14)}`)),n.gauge_label_show&&(i.select(`.${zn.chartArcsGaugeUnit}`).attr("dy",(e?1.5:.75)+"em").text(n.gauge_units),i.select(`.${zn.chartArcsGaugeMin}`).attr("dx",-1*(r.innerRadius+(r.radius-r.innerRadius)/(e?1:2))+"px").attr("dy","1.2em").text(t.textForGaugeMinMax(n.gauge_min,!1)),!e&&i.select(`.${zn.chartArcsGaugeMax}`).attr("dx",`${r.innerRadius+(r.radius-r.innerRadius)/2}px`).attr("dy","1.2em").text(t.textForGaugeMinMax(n.gauge_max,!0)))}},getArcElementByIdOrIndex(e){const{$el:{arcs:t}}=this,n=xa(e)?t=>t.index===e:t=>t.data.id===e;return null==t?void 0:t.selectAll(`.${Pn.target} path`).filter(n)}};function uh(e){return e[0]}function dh(e){return e[1]}function ph(e,t){var n=Lf(!0),r=null,o=ud,i=null,a=qf(s);function s(s){var l,c,u,d=(s=Nf(s)).length,p=!1;for(null==r&&(i=o(u=a())),l=0;l<=d;++l)!(l<d&&n(c=s[l],l,s))===p&&((p=!p)?i.lineStart():i.lineEnd()),p&&i.point(+e(c,l,s),+t(c,l,s));if(u)return i=null,u+""||null}return e="function"==typeof e?e:void 0===e?uh:Lf(e),t="function"==typeof t?t:void 0===t?dh:Lf(t),s.x=function(t){return arguments.length?(e="function"==typeof t?t:Lf(+t),s):e},s.y=function(e){return arguments.length?(t="function"==typeof e?e:Lf(+e),s):t},s.defined=function(e){return arguments.length?(n="function"==typeof e?e:Lf(!!e),s):n},s.curve=function(e){return arguments.length?(o=e,null!=r&&(i=o(r)),s):o},s.context=function(e){return arguments.length?(null==e?r=i=null:i=o(r=e),s):r},s}var fh={initArea(e){const{config:t}=this;e.insert("g",`.${t.area_front?Nn.circles:Bn.lines}`).attr("class",this.getClass("areas",!0))},updateAreaColor(e){const t=this;return t.config.area_linearGradient?t.getGradienColortUrl(e.id):t.color(e)},updateArea(e,t=!1){const n=this,{config:r,state:o,$el:i,$T:a}=n,s=t?i.subchart:i;r.area_linearGradient&&n.updateLinearGradient();const l=s.main.selectAll(`.${En.areas}`).selectAll(`.${En.area}`).data(n.lineData.bind(n));a(l.exit(),e).style("opacity","0").remove(),s.area=l.enter().append("path").attr("class",n.getClass("area",!0)).style("fill",n.updateAreaColor.bind(n)).style("opacity",(function(){return o.orgAreaOpacity=be(this).style("opacity"),"0"})).merge(l),l.style("opacity",o.orgAreaOpacity),n.setRatioForGroupedData(s.area.data())},redrawArea(e,t,n=!1){const r=this,{area:o}=n?this.$el.subchart:this.$el,{orgAreaOpacity:i}=r.state;return[r.$T(o,t,Ba()).attr("d",e).style("fill",r.updateAreaColor.bind(r)).style("opacity",(e=>String(r.isAreaRangeType(e)?i/1.75:i)))]},generateDrawArea(e,t){const n=this,{config:r}=n,o=r.line_connectNull,i=r.axis_rotated,a=n.generateGetAreaPoints(e,t),s=n.getYScaleById.bind(n),l=e=>(t?n.subxx:n.xx).call(n,e),c=(e,r)=>n.isGrouped(e.id)?a(e,r)[0][1]:s(e.id,t)(n.isAreaRangeType(e)?n.getRangedData(e,"high"):n.getShapeYMin(e.id)),u=(e,r)=>n.isGrouped(e.id)?a(e,r)[1][1]:s(e.id,t)(n.isAreaRangeType(e)?n.getRangedData(e,"low"):e.value);return e=>{let t,a=o?n.filterRemoveNull(e.values):e.values,s=0,d=0;if(n.isAreaType(e)){let s=function(e,t,n){var r=null,o=Lf(!0),i=null,a=ud,s=null,l=qf(c);function c(c){var u,d,p,f,h,m=(c=Nf(c)).length,g=!1,v=new Array(m),y=new Array(m);for(null==i&&(s=a(h=l())),u=0;u<=m;++u){if(!(u<m&&o(f=c[u],u,c))===g)if(g=!g)d=u,s.areaStart(),s.lineStart();else{for(s.lineEnd(),s.lineStart(),p=u-1;p>=d;--p)s.point(v[p],y[p]);s.lineEnd(),s.areaEnd()}g&&(v[u]=+e(f,u,c),y[u]=+t(f,u,c),s.point(r?+r(f,u,c):v[u],n?+n(f,u,c):y[u]))}if(h)return s=null,h+""||null}function u(){return ph().defined(o).curve(a).context(i)}return e="function"==typeof e?e:void 0===e?uh:Lf(+e),t="function"==typeof t?t:Lf(void 0===t?0:+t),n="function"==typeof n?n:void 0===n?dh:Lf(+n),c.x=function(t){return arguments.length?(e="function"==typeof t?t:Lf(+t),r=null,c):e},c.x0=function(t){return arguments.length?(e="function"==typeof t?t:Lf(+t),c):e},c.x1=function(e){return arguments.length?(r=null==e?null:"function"==typeof e?e:Lf(+e),c):r},c.y=function(e){return arguments.length?(t="function"==typeof e?e:Lf(+e),n=null,c):t},c.y0=function(e){return arguments.length?(t="function"==typeof e?e:Lf(+e),c):t},c.y1=function(e){return arguments.length?(n=null==e?null:"function"==typeof e?e:Lf(+e),c):n},c.lineX0=c.lineY0=function(){return u().x(e).y(t)},c.lineY1=function(){return u().x(e).y(n)},c.lineX1=function(){return u().x(r).y(t)},c.defined=function(e){return arguments.length?(o="function"==typeof e?e:Lf(!!e),c):o},c.curve=function(e){return arguments.length?(a=e,null!=i&&(s=a(i)),c):a},c.context=function(e){return arguments.length?(null==e?i=s=null:s=a(i=e),c):i},c}();s=i?s.y(l).x0(c).x1(u):s.x(l).y0(r.area_above?0:r.area_below?n.state.height:c).y1(u),o||(s=s.defined((e=>null!==n.getBaseValue(e)))),n.isStepType(e)&&(a=n.convertValuesToStep(a)),t=s.curve(n.getCurve(e))(a)}else a[0]&&(s=n.scale.x(a[0].x),d=n.getYScaleById(e.id)(a[0].value)),t=i?`M ${d} ${s}`:`M ${s} ${d}`;return t||"M 0 0"}},generateGetAreaPoints(e,t){const n=this,{config:r}=n,o=n.getShapeX(0,e,t),i=n.getShapeY(!!t),a=n.getShapeOffset(n.isAreaType,e,t),s=n.getYScaleById.bind(n);return function(e,l){const c=s.call(n,e.id,t)(n.getShapeYMin(e.id)),u=a(e,l)||c,d=o(e),p=e.value;let f=i(e);return r.axis_rotated&&(p>0&&f<c||p<0&&c<f)&&(f=c),[[d,u],[d,f-(c-u)],[d,f-(c-u)],[d,u]]}}},hh={initBar(){const{$el:e,config:t,state:{clip:n}}=this;e.bar=e.main.select(`.${Pn.chart}`),e.bar=t.bar_front?e.bar.append("g"):e.bar.insert("g",":first-child"),e.bar.attr("class",Rn.chartBars).call(this.setCssRule(!1,`.${Rn.chartBars}`,["pointer-events:none"])),!1===t.clipPath&&(t.bar_radius||t.bar_radius_ratio)&&e.bar.attr("clip-path",n.pathXAxis.replace(/#[^)]*/,`#${n.id}`))},updateTargetsForBar(e){const t=this,{config:n,$el:r}=t,o=t.getChartClass("Bar"),i=t.getClass("bars",!0),a=t.classFocus.bind(t),s=n.interaction_enabled&&n.data_selection_isselectable;r.bar||t.initBar(),r.main.select(`.${Rn.chartBars}`).selectAll(`.${Rn.chartBar}`).data(e.filter((e=>e.values.some((e=>xa(e.value)||t.isBarRangeType(e)))))).attr("class",(e=>o(e)+a(e))).enter().append("g").attr("class",o).style("opacity","0").style("pointer-events",t.getStylePropValue("none")).append("g").attr("class",i).style("cursor",(e=>{var n;return(null==(n=null==s?void 0:s.bind)?void 0:n.call(s,t.api)(e))?"pointer":null})).call(t.setCssRule(!0,` .${Rn.bar}`,["fill"],t.color))},updateBar(e,t=!1){const n=this,{config:r,$el:o,$T:i}=n,a=t?o.subchart:o,s=n.getClass("bar",!0),l=n.initialOpacity.bind(n);r.bar_linearGradient&&n.updateLinearGradient();const c=a.main.selectAll(`.${Rn.bars}`).selectAll(`.${Rn.bar}`).data(n.labelishData.bind(n));i(c.exit(),e).style("opacity","0").remove(),a.bar=c.enter().append("path").attr("class",s).style("fill",n.updateBarColor.bind(n)).merge(c).style("opacity",l),n.setRatioForGroupedData(a.bar.data())},updateBarColor(e){const t=this,n=t.getStylePropValue(t.color);return t.config.bar_linearGradient?t.getGradienColortUrl(e.id):n?n(e):null},redrawBar(e,t,n=!1){const r=this,{bar:o}=n?r.$el.subchart:r.$el;return[r.$T(o,t,Ba()).attr("d",(t=>(xa(t.value)||r.isBarRangeType(t))&&e(t))).style("fill",r.updateBarColor.bind(r)).style("opacity",null)]},generateDrawBar(e,t){const n=this,{config:r}=n,o=n.generateGetBarPoints(e,t),i=r.axis_rotated,a=r.bar_radius,s=r.bar_radius_ratio,l=xa(a)&&a>0?()=>a:xa(s)?e=>e*s:null;return(e,t)=>{const a=o(e,t),s=+i,c=+!s,u=e.value<0,d=r[`axis_${n.axis.getId(e.id)}_inverted`],p=!d&&u||d&&!u,f=["",""];let h=0;const m=n.isGrouped(e.id),g=!(!l||!m)&&n.isStackingRadiusData(e);if(l){const e=i?c:s,t=a[2][e]-a[0][e];h=!m||g?l(t):0;const n=`a${h},${h} ${p?"1 0 0":"0 0 1"} `;f[+!i]=`${n}${h},${h}`,f[+i]=`${n}${[-h,h][i?"sort":"reverse"]()}`,p&&f.reverse()}const v=i?`H${a[1][s]+(p?h:-h)} ${f[0]}V${a[2][c]-h} ${f[1]}H${a[3][s]}`:`V${a[1][c]+(p?-h:h)} ${f[0]}H${a[2][s]-h} ${f[1]}V${a[3][c]}`;return`M${a[0][s]},${a[0][c]}${v}z`}},isStackingRadiusData(e){const t=this,{$el:n,config:r,data:o,state:i}=t,{id:a,index:s,value:l}=e;if(i.hiddenTargetIds.indexOf(a)>-1){const e=n.bar.filter((e=>e.id===a&&e.value===l));return!e.empty()&&/a\d+/i.test(e.attr("d"))}const c=r.data_groups.find((e=>e.indexOf(a)>-1)),u=t.orderTargets(t.filterTargetsToShow(o.targets.filter(t.isBarType,t))).filter((e=>c.indexOf(e.id)>-1)).map((e=>e.values.filter((e=>e.index===s&&(xa(l)&&l>0?e.value>0:e.value<0)))[0])).filter(Boolean).map((e=>e.id));return 0!==l&&u.indexOf(a)===u.length-1},generateGetBarPoints(e,t){const n=this,{config:r}=n,o=t?n.axis.subX:n.axis.x,i=n.getIndicesMax(e)+1,a=n.getBarW("bar",o,i),s=n.getShapeX(a,e,!!t),l=n.getShapeY(!!t),c=n.getShapeOffset(n.isBarType,e,!!t),u=n.getYScaleById.bind(n);return(e,o)=>{const{id:i}=e,d=u.call(n,i,t)(n.getShapeYMin(i)),p=c(e,o)||d,f=xa(a)?a:a[e.id]||a._$width,h=r[`axis_${n.axis.getId(i)}_inverted`],m=e.value,g=s(e);let v=l(e);r.axis_rotated&&!h&&(m>0&&v<d||m<0&&d<v)&&(v=d),n.isBarRangeType(e)||(v-=d-p);const y=g+f;return[[g,p],[g,v],[y,v],[y,p]]}}},mh={initBubble(){const{config:e}=this;this.hasType("bubble")&&(e.point_show=!0,e.point_type="circle")},getBaseLength(){const e=this,{width:t,height:n}=e.state,r=ys;let o=e.cache.get(r);return o||e.cache.add(r,o=Qa("min",[t,n])),o},getBubbleR(e){const t=this;let n=t.config.bubble_maxR;ya(n)?n=n.bind(t.api)(e):xa(n)||(n=t.getBaseLength()/(2*t.getMaxDataCount())+12);const r=Qa("max",t.getMinMaxData().max.map((e=>t.isBubbleZType(e)?t.getBubbleZData(e.value,"y"):Oa(e.value)?e.value.mid:e.value))),o=n*n*Math.PI,i=(t.isBubbleZType(e)?t.getBubbleZData(e.value,"z"):e.value)*(o/r);return Math.sqrt(i/Math.PI)},getBubbleZData(e,t){return Oa(e)?e[t]:e["y"===t?0:1]}},gh=Object.defineProperty,vh=Object.getOwnPropertySymbols,yh=Object.prototype.hasOwnProperty,bh=Object.prototype.propertyIsEnumerable,xh=(e,t,n)=>t in e?gh(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,wh={initCandlestick(){const{$el:e}=this;e.candlestick=e.main.select(`.${Pn.chart}`).append("g").attr("class",In.chartCandlesticks)},updateTargetsForCandlestick(e){const t=this,{$el:n}=t,r=t.getChartClass("Candlestick");n.candlestick||t.initCandlestick(),t.$el.main.select(`.${In.chartCandlesticks}`).selectAll(`.${In.chartCandlestick}`).data(e).enter().append("g").attr("class",r).style("pointer-events","none")},updateCandlestick(e,t=!1){const n=this,{$el:r,$T:o}=n,i=t?r.subchart:r,a=n.getClass("candlestick",!0),s=n.initialOpacity.bind(n),l=i.main.selectAll(`.${In.chartCandlestick}`).selectAll(`.${In.candlestick}`).data(n.labelishData.bind(n));o(l.exit(),e).style("opacity","0").remove();const c=l.enter().filter((e=>e.value)).append("g").attr("class",a);c.append("line"),c.append("path"),i.candlestick=l.merge(c).style("opacity",s)},generateDrawCandlestick(e,t){const n=this,{config:r}=n,o=n.generateGetCandlestickPoints(e,t),i=r.axis_rotated,a=r.candlestick_color_down;return(e,t,r)=>{const s=o(e,t),l=n.getCandlestickData(e),c=null==l?void 0:l._isUp,u=+i,d=+!u;r.classed&&r.classed(In[c?"valueUp":"valueDown"],!0);const p=i?`H${s[1][1]} V${s[1][0]} H${s[0][1]}`:`V${s[1][1]} H${s[1][0]} V${s[0][1]}`;r.select("path").attr("d",`M${s[0][u]},${s[0][d]}${p}z`).style("fill",(e=>(c?n.color(e):Oa(a)?a[e.id]:a)||n.color(e)));const f=r.select("line"),h=i?{x1:s[2][1],x2:s[2][2],y1:s[2][0],y2:s[2][0]}:{x1:s[2][0],x2:s[2][0],y1:s[2][1],y2:s[2][2]};for(const e in h)f.attr(e,h[e])}},generateGetCandlestickPoints(e,t=!1){const n=this,r=t?n.axis.subX:n.axis.x,o=n.getIndicesMax(e)+1,i=n.getBarW("candlestick",r,o),a=n.getShapeX(i,e,!!t),s=n.getShapeY(!!t),l=n.getShapeOffset(n.isBarType,e,!!t),c=n.getYScaleById.bind(n);return(e,r)=>{const o=c.call(n,e.id,t)(n.getShapeYMin(e.id)),u=l(e,r)||o,d=xa(i)?i:i[e.id]||i._$width,p=n.getCandlestickData(e);let f;if(p&&xa(p.open)&&xa(p.close)){const t={start:a(e),end:0};t.end=t.start+d;const n={start:s(p.open),end:s(p.close)},r={x:t.start+d/2,high:s(p.high),low:s(p.low)};n.start-=o-u,f=[[t.start,n.start],[t.end,n.end],[r.x,r.low,r.high]]}else f=[[0,0],[0,0],[0,0,0]];return f}},redrawCandlestick(e,t,n=!1){const{$el:r,$T:o}=this,{candlestick:i}=n?r.subchart:r,a=Ba(!0);return[i.each((function(n,r){const i=o(be(this),t,a);e(n,r,i)})).style("opacity",null)]},getCandlestickData({value:e}){let t;if(Pa(e)){const[n,r,o,i,a=!1]=e;t={open:n,high:r,low:o,close:i},!1!==a&&(t.volume=a)}else Oa(e)&&(t=((e,t)=>{for(var n in t||(t={}))yh.call(t,n)&&xh(e,n,t[n]);if(vh)for(var n of vh(t))bh.call(t,n)&&xh(e,n,t[n]);return e})({},e));return t&&(t._isUp=t.close>=t.open),t||null}},Ah=Object.defineProperty,_h=Object.getOwnPropertySymbols,Sh=Object.prototype.hasOwnProperty,kh=Object.prototype.propertyIsEnumerable,Ch=(e,t,n)=>t in e?Ah(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Th=(e,t)=>{for(var n in t||(t={}))Sh.call(t,n)&&Ch(e,n,t[n]);if(_h)for(var n of _h(t))kh.call(t,n)&&Ch(e,n,t[n]);return e};function Mh(e=!1){const t=this,{config:n,state:{current:{width:r,height:o}}}=t,i=t.getCurrentPadding(),a=Th({width:r-(i.left+i.right),height:o-(n.legend_show?t.getLegendHeight()+10:0)-(i.top+i.bottom)},i);if(e){const{width:e,height:n}=Ph.call(t,{width:a.width,height:a.height});a.width<e&&(a.width=e),a.height<n&&(a.height=n)}return a}function Ph(e){const{config:t}=this;let n=t.funnel_neck_width,r=t.funnel_neck_height;return[n,r]=[n,r].map(((t,n)=>{let r=t;return Oa(t)&&(r=e[n?"height":"width"]*t.ratio),r})),{width:n,height:r}}function Oh(e){const{top:t,left:n,width:r}=Mh.call(this,!0),o=[];return e.forEach(((e,i)=>{const{ratio:a}=e,s=i>0?o[i-1][2][1]:t;o.push(e.coords=[[n,s],[n+r,s],[n+r,i>0?a+s:a+t],[n,i>0?a+s:a+t],[n,s]])})),o}function Eh(e=!1){const{width:t,height:n,top:r,left:o}=Mh.call(this,!0),i=Ph.call(this,{width:t,height:n}),a=(t-i.width)/2,s=(t+i.width)/2,l=n-i.height,c=[[0,0],[t,0],[s,l],[s,n],[a,n],[a,l],[0,0]];return e&&c.forEach((e=>{e[0]+=o,e[1]+=r})),`M${c.join("L")}z`}function Dh(e){const t=this,{config:n}=t,r=e.map((e=>({id:e.id,value:e.values.reduce(((e,t)=>e+t.value),0)})));return n.data_order&&r.sort(t.getSortCompareFn.bind(t)(!0)),Rh.call(t,r)}function Rh(e){const{height:t}=Mh.call(this),n=this.getTotalDataSum(!0);return e.forEach((e=>{e.ratio=e.value/n*t})),e}var Ih={initFunnel(){const{$el:e}=this;e.funnel=e.main.select(`.${Pn.chart}`).append("g").classed($n.chartFunnels,!0),e.funnel.background=e.funnel.append("path").classed($n.funnelBackground,!0),this.bindFunnelEvent()},bindFunnelEvent(){const e=this,{$el:{funnel:t},config:n,state:r}=e,o=e=>{var t;const n=e.isTrusted?e.target:null==(t=r.eventReceiver.rect)?void 0:t.node();let o;return/^path$/i.test(n.tagName)&&(r.event=e,o=be(n).datum()),o};if(n.interaction_enabled){const n="touch"===r.inputType;t.on(n?"touchstart":"mouseover mousemove",(t=>{const n=o(t);n&&(e.showTooltip([n],t.target),/^(touchstart|mouseover)$/.test(t.type)&&e.setOverOut(!0,n))})).on(n?"touchend":"mouseout",(t=>{const n=o(t);e.hideTooltip(),e.setOverOut(!1,n)}))}},updateTargetsForFunnel(e){const t=this,{$el:{funnel:n}}=t,r=t.getChartClass("Funnel"),o=t.getClass("funnel",!0);n||t.initFunnel();const i=Dh.call(t,e.filter(t.isFunnelType.bind(t))),a=n.selectAll(`.${$n.chartFunnel}`).data(i);a.exit().remove();const s=a.enter().insert("g",`.${$n.funnelBackground}`);s.append("path"),n.path=s.merge(a).attr("class",(e=>r(e))).select("path").attr("class",o).style("opacity","0").style("fill",t.color)},updateFunnel(e){const{$el:{funnel:t}}=this,n=e.map((({id:e})=>e));t.path=t.path.filter((e=>n.indexOf(e.id)>=0))},generateGetFunnelPoints(){const e=this,{$el:{funnel:t}}=e,n=e.filterTargetsToShow(t.path),{top:r,left:o,right:i}=Mh.call(e),a=(o-i)/2,s={};let l=null!=r?r:0;return n.each(((e,t)=>{var r;s[e.id]=[[a,l],[a,l+=(null!=(r=null==n?void 0:n[t])?r:e).ratio]]})),e=>s[e.id]},redrawFunnel(){const e=this,{$T:t,$el:{funnel:n}}=e,r=e.filterTargetsToShow(n.path),o=Oh.call(e,Rh.call(e,r.data()));n.attr("clip-path",`path('${Eh.bind(e)()}')`),n.background.attr("d",Eh.call(e,!0)),t(r).attr("d",((e,t)=>`M${o[t].join("L")}z`)).style("opacity","1"),n.selectAll("g").style("opacity",null)}},Nh={initGauge(){const e=this,{config:t,$el:{arcs:n}}=e,r=(e=null,t="")=>{n.append("text").attr("class",e).style("text-anchor","middle").style("pointer-events","none").text(t)};if(e.hasType("gauge")){const o=e.hasMultiArcGauge();n.append(o?"g":"path").attr("class",On.chartArcsBackground).style("fill",!o&&t.gauge_background||null),t.gauge_units&&r(zn.chartArcsGaugeUnit),t.gauge_label_show&&(r(zn.chartArcsGaugeMin),!t.gauge_fullCircle&&r(zn.chartArcsGaugeMax))}},updateGaugeMax(){const e=this,{config:t,state:n}=e,r=e.hasMultiArcGauge()?e.getMinMaxData().max[0].value:e.getTotalDataSum(n.rendered);!t.gauge_enforceMinMax&&r+t.gauge_min*(t.gauge_min>0?-1:1)>t.gauge_max&&(t.gauge_max=r-t.gauge_min)},redrawArcGaugeLine(){const e=this,{config:t,state:n,$el:r}=e,{hiddenTargetIds:o}=e.state,i=r.main.selectAll(`.${On.arcs}`).selectAll(`.${On.arcLabelLine}`).data(e.arcData.bind(e));i.enter().append("rect").attr("class",(e=>`${On.arcLabelLine} ${Pn.target} ${Pn.target}-${e.data.id}`)).merge(i).style("fill",(t=>e.levelColor?e.levelColor(t.data.values[0].value):e.color(t.data))).style("display",t.gauge_label_show?null:"none").each((function(t){let r=0,i=0,a=0,s="";if(o.indexOf(t.data.id)<0){const o=e.updateAngle(t),l=n.gaugeArcWidth/e.filterTargetsToShow(e.data.targets).length*(o.index+1),c=o.endAngle-Math.PI/2,u=n.radius-l,d=c-(0===u?0:1/u);r=n.radiusExpanded-n.radius+l,i=Math.cos(d)*u,a=Math.sin(d)*u,s=`rotate(${180*c/Math.PI}, ${i}, ${a})`}be(this).attr("x",i).attr("y",a).attr("width",r).attr("height",2).attr("transform",s).style("stroke-dasharray",`0, ${r+2}, 0`)}))},textForGaugeMinMax(e,t){const{config:n}=this,r=n.gauge_label_extents;return ya(r)?r.bind(this.api)(e,t):e},getGaugeLabelHeight(){const{config:e}=this;return this.config.gauge_label_show&&!e.gauge_fullCircle?20:0},getPaddingBottomForGauge(){return this.getGaugeLabelHeight()*(this.config.gauge_label_show?2:2.5)}},Lh={initLine(){const{$el:e}=this;e.line=e.main.select(`.${Pn.chart}`).append("g").attr("class",Bn.chartLines).call(this.setCssRule(!1,`.${Bn.chartLines}`,["pointer-events:none"]))},updateTargetsForLine(e){const t=this,{$el:{area:n,line:r,main:o}}=t,i=t.getChartClass("Line"),a=t.getClass("lines",!0),s=t.classFocus.bind(t);r||t.initLine();const l=e.filter((e=>!(t.isScatterType(e)||t.isBubbleType(e)))),c=o.select(`.${Bn.chartLines}`).selectAll(`.${Bn.chartLine}`).data(l).attr("class",(e=>i(e)+s(e))),u=c.enter().append("g").attr("class",i).style("opacity","0").style("pointer-events",t.getStylePropValue("none"));if(u.append("g").attr("class",a),t.hasTypeOf("Area")){const e=(!n&&u.empty()?c:u).filter(t.isAreaType.bind(t));t.initArea(e)}t.updateTargetForCircle(l,u)},updateLine(e,t=!1){const n=this,{format:{extraLineClasses:r},$el:o,$T:i}=n,a=t?o.subchart:o,s=a.main.selectAll(`.${Bn.lines}`).selectAll(`.${Bn.line}`).data(n.lineData.bind(n));i(s.exit(),e).style("opacity","0").remove(),a.line=s.enter().append("path").attr("class",(e=>`${n.getClass("line",!0)(e)} ${r(e)||""}`)).style("stroke",n.color).merge(s).style("opacity",n.initialOpacity.bind(n)).attr("transform",null)},redrawLine(e,t,n=!1){const{$el:r,$T:o}=this,{line:i}=n?r.subchart:r;return[o(i,t,Ba()).attr("d",e).style("stroke",this.color).style("opacity",null)]},getCurve(e){const t=this;return t.config.axis_rotated&&t.isStepType(e)?n=>{const r=t.getInterpolate(e)(n);return r.orgPoint=r.point,r.pointRotated=function(e,t){1===this._point&&(this._point=2);const n=this._y*(1-this._t)+t*this._t;this._context.lineTo(this._x,n),this._context.lineTo(e,n),this._x=e,this._y=t},r.point=function(e,t){0===this._point?this.orgPoint(e,t):this.pointRotated(e,t)},r}:t.getInterpolate(e)},generateDrawLine(e,t){const n=this,{config:r,scale:o}=n,i=r.line_connectNull,a=r.axis_rotated,s=n.generateGetLinePoints(e,t),l=n.getYScaleById.bind(n),c=e=>(t?n.subxx:n.xx).call(n,e),u=(e,r)=>n.isGrouped(e.id)?s(e,r)[0][1]:l(e.id,t)(n.getBaseValue(e));let d=ph();d=a?d.x(u).y(c):d.x(c).y(u),i||(d=d.defined((e=>null!==n.getBaseValue(e))));const p=t?o.subX:o.x;return e=>{const s=l(e.id,t);let c,u=i?n.filterRemoveNull(e.values):e.values,f=0,h=0;if(n.isLineType(e)){const t=r.data_regions[e.id];t?c=n.lineWithRegions(u,o.zoom||p,s,t):(n.isStepType(e)&&(u=n.convertValuesToStep(u)),c=d.curve(n.getCurve(e))(u))}else u[0]&&(f=p(u[0].x),h=s(u[0].value)),c=a?`M ${h} ${f}`:`M ${f} ${h}`;return c||"M 0 0"}},lineWithRegions(e,t,n,r){const o=this,{config:i}=o,a=i.axis_rotated,s=o.axis.isTimeSeries(),l=[];let c,u,d,p;if(Aa(r)){const t=(e,t)=>wa(e)?t:s?rs.call(o,e):e;for(let n,o=0;n=r[o];o++){const r=t(n.start,e[0].x),i=t(n.end,e[e.length-1].x),a=n.style||{dasharray:"2 2"};l[o]={start:r,end:i,style:a}}}const f=a?e=>n(e.value):e=>t(e.x),h=a?e=>t(e.x):e=>n(e.value),m=e=>`M${e[0][0]},${e[0][1]}L${e[1][0]},${e[1][1]}`,g=s?(e,r,o,i)=>{const s=e.x.getTime(),l=r.x-e.x,c=new Date(s+l*o),p=new Date(s+l*(o+i)),f=a?[[n(u(o)),t(c)],[n(u(o+d)),t(p)]]:[[t(c),n(u(o))],[t(p),n(u(o+d))]];return m(f)}:(e,r,o,i)=>{const s=a?[[n(u(o),!0),t(c(o))],[n(u(o+i),!0),t(c(o+i))]]:[[t(c(o),!0),n(u(o))],[t(c(o+i),!0),n(u(o+i))]];return m(s)},v={x:o.axis.getAxisType("x"),y:o.axis.getAxisType("y")};let y="";for(let r,i=0;r=e[i];i++){const a=e[i-1],s=a&&va(a.value);let m=o.isWithinRegions(r.x,l);if(va(r.value))if(!wa(l)&&m&&s){if(s){try{m=m.dasharray.split(" ")}catch(e){m="2 2".split(" ")}c=eu(v.x,a.x,r.x),u=eu(v.y,a.value,r.value);const e=t(r.x)-t(a.x),o=n(r.value)-n(a.value),i=Math.sqrt(Math.pow(e,2)+Math.pow(o,2));d=m[0]/i,p=d*m[1];for(let e=d;e<=1;e+=p)y+=g(a,r,e,d),e+p>=1&&(y+=g(a,r,1,0))}}else y+=`${i&&s?"L":"M"}${f(r)},${h(r)}`}return y},isWithinRegions(e,t){for(let n,r=0;n=t[r];r++)if(n.start<e&&e<=n.end)return n.style;return!1},isWithinStep(e,t){return Math.abs(t-$a(this.state.event,e)[1])<30},shouldDrawPointsForLine(e){const t=this.config.line_point;return!0===t||Pa(t)&&-1!==t.indexOf(e.id)}};const jh=()=>Ba();var $h={initialOpacityForCircle(e){const{config:t,state:{withoutFadeIn:n}}=this;let r=t.point_opacity;return wa(r)&&(r=null!==this.getBaseValue(e)&&n[e.id]?this.opacityForCircle(e):"0"),r},opacityForCircle(e){var t;const{config:n}=this;let r=n.point_opacity;return wa(r)&&(r=n.point_show&&!(null==(t=this.isPointFocusOnly)?void 0:t.call(this))?null:"0",r=va(this.getBaseValue(e))?this.isBubbleType(e)||this.isScatterType(e)?"0.5":r:"0"),r},initCircle(){const e=this,{$el:{main:t}}=e;!e.point&&(e.point=e.generatePoint()),(e.hasType("bubble")||e.hasType("scatter"))&&t.select(`.${Pn.chart} > .${Nn.chartCircles}`).empty()&&t.select(`.${Pn.chart}`).append("g").attr("class",Nn.chartCircles)},updateTargetForCircle(e,t){const n=this,{config:r,data:o,$el:i}=n,a=r.interaction_enabled&&r.data_selection_enabled,s=a&&r.data_selection_isselectable,l=n.getClass("circles",!0);if(!r.point_show)return;n.initCircle();let c=e,u=t;if(!c){c=o.targets.filter((e=>this.isScatterType(e)||this.isBubbleType(e)));const e=i.main.select(`.${Nn.chartCircles}`).style("pointer-events","none").selectAll(`.${Nn.circles}`).data(c);e.exit().remove(),u=e.enter()}a&&u.append("g").attr("class",(e=>n.generateClass(Xn.selectedCircles,e.id))),u.append("g").attr("class",l).call((e=>{n.setCssRule(!0,`.${Nn.circles}`,["cursor:pointer"],s)(e),n.setCssRule(!0,` .${Nn.circle}`,["fill","stroke"],n.color)(e)})).style("opacity",(function(){return be(this.parentNode).attr("class").indexOf(Nn.chartCircles)>-1?"0":null})),a&&c.forEach((e=>{i.main.selectAll(`.${Xn.selectedCircles}${n.getTargetSelectorSuffix(e.id)}`).selectAll(`${Xn.selectedCircle}`).each((t=>{t.value=e.values[t.index].value}))}))},updateCircle(e=!1){const t=this,{config:n,state:r,$el:o}=t,i=t.isPointFocusOnly(),a=e?o.subchart:o;if(n.point_show&&!r.toggling){n.point_radialGradient&&t.updateLinearGradient();const e=a.main.selectAll(`.${Nn.circles}`).selectAll(`.${Nn.circle}`).data((e=>t.isLineType(e)&&t.shouldDrawPointsForLine(e)||t.isBubbleType(e)||t.isRadarType(e)||t.isScatterType(e)?i?[e.values[0]]:e.values:[]));e.exit().remove(),e.enter().filter(Boolean).append(t.point("create",this,t.pointR.bind(t),t.updateCircleColor.bind(t))),a.circle=a.main.selectAll(`.${Nn.circles} .${Nn.circle}`).style("stroke",t.getStylePropValue(t.color)).style("opacity",t.initialOpacityForCircle.bind(t))}},updateCircleColor(e){const t=this,n=t.getStylePropValue(t.color);return t.config.point_radialGradient?t.getGradienColortUrl(e.id):n?n(e):null},redrawCircle(e,t,n,r,o=!1){const i=this,{state:{rendered:a},$el:s,$T:l}=i,c=o?s.subchart:s,u=c.main.selectAll(`.${Xn.selectedCircle}`);if(!i.config.point_show)return[];const d=i.point("update",i,e,t,i.updateCircleColor.bind(i),n,r,u),p=i.isCirclePoint()?"c":"",f=Ba(),h=i.opacityForCircle.bind(i),m=[];return c.circle.each((function(e){let t=d.bind(this)(e);t=l(t,n||!a,f).style("opacity",h),m.push(t)})),[m,l(u,n).attr(`${p}x`,e).attr(`${p}y`,t)]},showCircleFocus(e){const t=this,{state:{hasRadar:n,resizing:r,toggling:o,transiting:i},$el:a}=t;let{circle:s}=a;if(!1===i&&s&&t.isPointFocusOnly()){const i=(n?t.radarCircleX:t.circleX).bind(t),a=(n?t.radarCircleY:t.circleY).bind(t),l=o||wa(e),c=t.point("update",t,i,a,t.getStylePropValue(t.color),!r&&l);e&&(s=s.filter((function(t){var n;const r=null==(n=e.filter)?void 0:n.call(e,(e=>e.id===t.id));return!!r.length&&be(this).datum(r[0])}))),s.attr("class",this.updatePointClass.bind(this)).style("opacity",null).each((function(e){const{id:n,index:r,value:o}=e;let i="hidden";va(o)&&(c.bind(this)(e),t.expandCircles(r,n),i=""),this.style.visibility=i}))}},hideCircleFocus(){const e=this,{$el:{circle:t}}=e;e.isPointFocusOnly()&&t&&(e.unexpandCircles(),t.style("visibility","hidden"))},circleX(e){return this.xx(e)},updateCircleY(e=!1){const t=this,n=t.generateGetLinePoints(t.getShapeIndices(t.isLineType),e);return(r,o)=>{const i=r.id;return t.isGrouped(i)?n(r,o)[0][1]:t.getYScaleById(i,e)(t.getBaseValue(r))}},expandCircles(e,t,n){const r=this,o=r.pointExpandedR.bind(r);n&&r.unexpandCircles();const i=r.getShapeByIndex("circle",e,t).classed(Pn.EXPANDED,!0),a=o(i)/r.config.point_r,s=1-a;r.isCirclePoint()?i.attr("r",o):i.each((function(){const e=be(this);if("circle"===this.tagName)e.attr("r",o);else{const{width:t,height:n}=this.getBBox(),r=s*(+e.attr("x")+t/2),o=s*(+e.attr("y")+n/2);e.attr("transform",`translate(${r} ${o}) scale(${a})`)}}))},unexpandCircles(e){const t=this,n=t.pointR.bind(t),r=t.getShapeByIndex("circle",e).filter((function(){return be(this).classed(Pn.EXPANDED)})).classed(Pn.EXPANDED,!1);if(r.attr("r",n),!t.isCirclePoint()){const e=n(r)/t.config.point_r;r.attr("transform",1!==e?`scale(${e})`:null)}},pointR(e){const t=this,{config:n}=t,r=n.point_r;let o=r;return t.isBubbleType(e)?o=t.getBubbleR(e):ya(r)&&(o=r.bind(t.api)(e)),e.r=o,o},pointExpandedR(e){const t=this,{config:n}=t,r=t.isBubbleType(e)?1.15:1.75;return n.point_focus_expand_enabled?n.point_focus_expand_r||t.pointR(e)*r:t.pointR(e)},pointSelectR(e){const t=this.config.point_select_r;return ya(t)?t(e):t||4*this.pointR(e)},isPointFocusOnly(){const e=this;return e.config.point_focus_only&&!e.hasType("bubble")&&!e.hasType("scatter")&&!e.hasArcType(null,["radar"])},isWithinCircle(e,t){const{config:n,state:r}=this,o=$a(r.event,e),i=be(e),a=this.isCirclePoint(e)?"c":"",s="radius"===n.point_sensitivity?e.getAttribute("r"):n.point_sensitivity;let l=+i.attr(`${a}x`),c=+i.attr(`${a}y`);if(!l&&!c&&1===e.nodeType){const{x:t,y:n}=Fa(e);l=t,c=n}return Math.sqrt(Math.pow(l-o[0],2)+Math.pow(c-o[1],2))<(t||s)},getPointSensitivity(e){const t=this;let n=t.config.point_sensitivity;return ya(n)?n=n.call(t.api,e):"radius"===n&&(n=e.r),n},updatePointClass(e){const t=this,{circle:n}=t.$el;let r=!1;return(Oa(e)||n)&&(r=!0===e?n.each((function(e){let n=t.getClass("circle",!0)(e);this.getAttribute("class").indexOf(Pn.EXPANDED)>-1&&(n+=` ${Pn.EXPANDED}`),this.setAttribute("class",n)})):t.getClass("circle",!0)(e)),r},generateGetLinePoints(e,t){const n=this,{config:r}=n,o=n.getShapeX(0,e,t),i=n.getShapeY(t),a=n.getShapeOffset(n.isLineType,e,t),s=n.getYScaleById.bind(n);return(e,l)=>{const c=s.call(n,e.id,t)(n.getShapeYMin(e.id)),u=a(e,l)||c,d=o(e);let p=i(e);r.axis_rotated&&(e.value>0&&p<c||e.value<0&&c<p)&&(p=c);const f=[d,p-(c-u)];return[f,f,f,f]}},custom:{create(e,t,n){return e.append("use").attr("xlink:href",`#${t}`).attr("class",this.updatePointClass.bind(this)).style("fill",n).node()},update(e,t,n,r,o,i,a){const s=this,{width:l,height:c}=e.node().getBBox(),u=e=>va(e.value)?t(e)-l/2:0;let d=e;return o&&(i&&d.attr("x",u),d=s.$T(d,o,jh()),a&&s.$T(a,o,jh())),d.attr("x",u).attr("y",(e=>va(e.value)?n(e)-c/2:0)).style("fill",r)}},circle:{create(e,t,n){return e.append("circle").attr("class",this.updatePointClass.bind(this)).attr("r",t).style("fill",n).node()},update(e,t,n,r,o,i,a){const s=this;let l=e;return s.hasType("bubble")&&l.attr("r",s.pointR.bind(s)),o&&(i&&l.attr("cx",t),l.attr("cx")&&(l=s.$T(l,o,jh())),a&&s.$T(l,o,jh())),l.attr("cx",t).attr("cy",n).style("fill",r)}},rectangle:{create(e,t,n){const r=e=>2*t(e);return e.append("rect").attr("class",this.updatePointClass.bind(this)).attr("width",r).attr("height",r).style("fill",n).node()},update(e,t,n,r,o,i,a){const s=this,l=s.config.point_r,c=e=>t(e)-l;let u=e;return o&&(i&&u.attr("x",c),u=s.$T(u,o,jh()),a&&s.$T(a,o,jh())),u.attr("x",c).attr("y",(e=>n(e)-l)).style("fill",r)}}};function zh(e,t){var n;const r=(e,t)=>{const n=e.attributes;for(let r,o=0;r=n[o];o++)r=r.name,t.setAttribute(r,e.getAttribute(r))},o=(new DOMParser).parseFromString(e,"image/svg+xml").documentElement,i=aa.createElementNS(k.svg,o.nodeName.toLowerCase());if(i.id=t,i.style.fill="inherit",i.style.stroke="inherit",r(o,i),null==(n=o.childNodes)?void 0:n.length){const e=be(i);"innerHTML"in i?e.html(o.innerHTML):qa(o.childNodes).forEach((t=>{r(t,e.append(t.tagName).node())}))}this.$el.defs.node().appendChild(i)}var Fh={hasValidPointType(e){return/^(circle|rect(angle)?|polygon|ellipse|use)$/i.test(e||this.config.point_type)},hasLegendDefsPoint(){var e;const{config:t}=this;return t.legend_show&&(null==(e=t.point_pattern)?void 0:e.length)&&t.legend_usePoint},getDefsPointId(e){const{state:{datetimeId:t}}=this;return`${t}-point${e}`},generatePoint(){const e=this,{$el:t,config:n}=e,r=[],o=Ma(n.point_pattern)?n.point_pattern:[n.point_type];return function(i,a,...s){return function(l){var c,u,d,p;const f=e.getTargetSelectorSuffix(l.id||(null==(c=l.data)?void 0:c.id)||l),h=be(this);r.indexOf(f)<0&&r.push(f);let m=o[r.indexOf(f)%o.length];if(e.hasValidPointType(m))m=e[m];else if(!function(e){return Ca(e)&&ya(e.create)&&ya(e.update)}(m||n.point_type)){const n=e.getDefsPointId(f);if(t.defs.select(`#${n}`).size()<1&&zh.bind(e)(m,n),"create"===i)return null==(u=e.custom)?void 0:u.create.bind(a)(h,n,...s);if("update"===i)return null==(d=e.custom)?void 0:d.update.bind(a)(h,...s)}return null==(p=m[i])?void 0:p.bind(a)(h,...s)}}}};function Bh(e){const t=e.config.polar_level_max;let n=e.getMinMaxData().max[0].value;return t&&t>n&&(n=t),n}var Hh={initPolar(){const e=this,{$el:{arcs:t},config:n}=e,r=n.polar_level_text_show,o=n.polar_level_text_backgroundColor;t.levels=t.append("g").attr("class",qn),r&&o&&e.generateTextBGColorFilter(o)},getPolarOuterRadius(e,t){var n;const r=Bh(this);return(null!=(n=null==e?void 0:e.data.values[0].value)?n:0)/r*t},updateTargetsForPolar(e){this.updateTargetsForArc(e)},redrawPolar(){const{config:e}=this;e.polar_level_show&&this.updatePolarLevel()},updatePolarLevel(){const e=this,{config:t,state:n,$el:{arcs:{levels:r}}}=e,o=t.polar_level_depth,i=Bh(e),a=es(0,o),s=n.radius,l=a.map((e=>s*((e+1)/o))),c=(t.polar_level_text_format||function(){}).bind(e.api),u=r.selectAll(`.${Un}`).data(a);u.exit().remove();const d=u.enter().append("g").attr("class",((e,t)=>`${Un} ${Un}-${t}`));if(d.append("circle"),d.merge(u).selectAll("circle").style("visibility",t.polar_level_show?null:"hidden").attr("cx",0).attr("cy",0).attr("r",(e=>l[e])),t.polar_level_text_show){const r=t.polar_level_text_backgroundColor,o=`#${n.datetimeId}-labels-bg${e.getTargetSelectorSuffix(r)}`;d.append("text").style("text-anchor","middle"),d.merge(u).selectAll("text").attr("dy",(e=>5-l[e])).attr("filter",r?`url(${o})`:null).text((e=>c(i/a.length*(e+1))))}}};const Vh=Ss,Wh=ks;var Uh={initRadar(){const e=this,{config:t,state:{current:n},$el:r}=e;e.hasType("radar")&&(r.radar=r.main.select(`.${Pn.chart}`).append("g").attr("class",Gn.chartRadars),r.radar.levels=r.radar.append("g").attr("class",qn),r.radar.axes=r.radar.append("g").attr("class",Dn.axis),r.radar.shapes=r.radar.append("g").attr("class",Kn.shapes),n.dataMax=t.radar_axis_max||e.getMinMaxData().max[0].value,t.radar_axis_text_show&&(t.interaction_enabled&&e.bindRadarEvent(),e.updateRadarLevel(),e.updateRadarAxes()))},getRadarSize(){const{config:e,state:{arcWidth:t,arcHeight:n}}=this,r=e.axis_x_categories.length<4?-20:10,o=(Math.min(t,n)-r)/2;return[o,o]},updateTargetsForRadar(e){const{config:t}=this;Ta(t.axis_x_categories)&&(t.axis_x_categories=es(0,Qa("max",e.map((e=>e.values.length))))),this.generateRadarPoints()},getRadarPosition(e,t,n,r){const{config:o}=this,[i,a]=this.getRadarSize(),s=o.axis_x_categories.length,l=o.radar_direction_clockwise,c=qa(e).map((c=>function(e,t,n,r,o,i){const a=e&&r>0?n-r:r,s=2*Math.PI;return o*(1-i*("x"===t?Math.sin:Math.cos)(a*s/n))}(l,c,s,t,Aa(n)?n:"x"===e?i:a,xa(r)?r:o.radar_size_ratio)));return 1===c.length?c[0]:c},generateRadarPoints(){const e=this,t=e.data.targets,[n,r]=e.getRadarSize(),o=e.cache.get(Vh)||{},i=o._size;(!i||i.width!==n&&i.height!==r)&&(t.forEach((t=>{o[t.id]=t.values.map(((t,n)=>e.getRadarPosition(["x","y"],n,void 0,e.getRatio("radar",t))))})),o._size={width:n,height:r},e.cache.add(Vh,o))},redrawRadar(){const e=this,{radar:t,main:n}=e.$el,r=e.getTranslate("radar");r&&(t.attr("transform",r),n.select(`.${Jn.chartTexts}`).attr("transform",r),e.generateRadarPoints(),e.updateRadarLevel(),e.updateRadarAxes(),e.updateRadarShape())},generateGetRadarPoints(){const e=this.cache.get(Vh);return(t,n)=>{const r=e[t.id][n];return[r,r,r,r]}},updateRadarLevel(){const e=this,{config:t,state:n,$el:{radar:r}}=e,[o,i]=e.getRadarSize(),a=t.radar_level_depth,s=t.axis_x_categories.length,l=t.radar_level_text_show,c=r.levels,u=es(0,a),d=t.radar_size_ratio*Math.min(o,i),p=u.map((e=>d*((e+1)/a))),f=(t.radar_level_text_format||function(){}).bind(e.api),h=u.map((t=>{const n=p[t];return es(0,s).map((t=>e.getRadarPosition(["x","y"],t,n,1).join(","))).join(" ")})),m=c.selectAll(`.${Un}`).data(u);m.exit().remove();const g=m.enter().append("g").attr("class",((e,t)=>`${Un} ${Un}-${t}`));g.append("polygon").style("visibility",t.radar_level_show?null:"hidden"),l&&(c.select("text").empty()&&c.append("text").attr("dx","-.5em").attr("dy","-.7em").style("text-anchor","end").text((()=>f(0))),g.append("text").attr("dx","-.5em").style("text-anchor","end").text((e=>f(n.current.dataMax/u.length*(e+1))))),g.merge(m).attr("transform",(e=>`translate(${o-p[e]}, ${i-p[e]})`)).selectAll("polygon").attr("points",(e=>h[e])),l&&c.selectAll("text").attr("x",(e=>wa(e)?o:h[e].split(",")[0])).attr("y",(e=>wa(e)?i:0))},updateRadarAxes(){const e=this,{config:t,$el:{radar:n}}=e,[r,o]=e.getRadarSize(),i=t.axis_x_categories;let a=n.axes.selectAll("g").data(i);a.exit().remove();const s=a.enter().append("g").attr("class",((e,t)=>`${Dn.axis}-${t}`));if(t.radar_axis_line_show&&s.append("line"),t.radar_axis_text_show&&s.append("text"),a=s.merge(a),t.radar_axis_line_show&&a.select("line").attr("x1",r).attr("y1",o).attr("x2",((t,n)=>e.getRadarPosition("x",n))).attr("y2",((t,n)=>e.getRadarPosition("y",n))),t.radar_axis_text_show){const{x:i=0,y:s=0}=t.radar_axis_text_position,l=e.cache.get(Wh)||0;if(a.select("text").style("text-anchor","middle").attr("dy",".5em").call((e=>{e.each((function(e){Na(be(this),String(e),[-.6,1.2])}))})).datum(((e,t)=>({index:t}))).attr("transform",(function(t){wa(this.width)&&(this.width=this.getBoundingClientRect().width/2);let n=e.getRadarPosition("x",t.index,void 0,1),a=Math.round(e.getRadarPosition("y",t.index,void 0,1));return n>r?n+=this.width+i:Math.round(n)<r&&(n-=this.width+i),a>o?(a/2===o&&"tspan"===this.firstChild.tagName&&this.firstChild.setAttribute("dy","0em"),a+=s):a<o&&(a-=s),`translate(${n} ${a})`})),!l){const t=[n.axes,n.levels].map((e=>ja(e.node()).width));t.every((e=>e>0))&&e.cache.add(Wh,t[0]-t[1])}}},bindRadarEvent(){const e=this,{state:t,$el:{radar:n,svg:r}}=e,o=e.isPointFocusOnly(),{inputType:i,transiting:a}=t,s="mouse"===i,l=n=>{t.event=n;const r=e.getDataIndexFromEvent(n),i=wa(r);(s||i)&&(e.hideTooltip(),o?e.hideCircleFocus():e.unexpandCircles(),s?e.setOverOut(!1,r):i&&e.callOverOutForTouch())};n.axes.on(s?"mouseover ":"touchstart",(n=>{if(a)return;t.event=n;const o=e.getDataIndexFromEvent(n);e.selectRectForSingle(r.node(),o),s?e.setOverOut(!0,o):e.callOverOutForTouch(o)})).on("mouseout",s?l:null),s||r.on("touchstart",l)},updateRadarShape(){const e=this,t=e.data.targets.filter((t=>e.isRadarType(t))),n=e.cache.get(Vh),r=e.$el.radar.shapes.selectAll("polygon").data(t),o=r.enter().append("g").attr("class",e.getChartClass("Radar"));e.$T(r.exit()).remove(),o.append("polygon").merge(r).style("fill",e.color).style("stroke",e.color).attr("points",(e=>n[e.id].join(" "))),e.updateTargetForCircle(t,o)},radarCircleX(e){return this.cache.get(Vh)[e.id][e.index][0]},radarCircleY(e){return this.cache.get(Vh)[e.id][e.index][1]}};function qh(e){var t=0,n=e.children,r=n&&n.length;if(r)for(;--r>=0;)t+=n[r].value;else t=1;e.value=t}function Gh(e,t){e instanceof Map?(e=[void 0,e],void 0===t&&(t=Xh)):void 0===t&&(t=Yh);for(var n,r,o,i,a,s=new Jh(e),l=[s];n=l.pop();)if((o=t(n.data))&&(a=(o=Array.from(o)).length))for(n.children=o,i=a-1;i>=0;--i)l.push(r=o[i]=new Jh(o[i])),r.parent=n,r.depth=n.depth+1;return s.eachBefore(Zh)}function Yh(e){return e.children}function Xh(e){return Array.isArray(e)?e[1]:null}function Kh(e){void 0!==e.data.value&&(e.value=e.data.value),e.data=e.data.data}function Zh(e){var t=0;do{e.height=t}while((e=e.parent)&&e.height<++t)}function Jh(e){this.data=e,this.depth=this.height=0,this.parent=null}function Qh(e){e.x0=Math.round(e.x0),e.y0=Math.round(e.y0),e.x1=Math.round(e.x1),e.y1=Math.round(e.y1)}function em(e,t,n,r,o){for(var i,a=e.children,s=-1,l=a.length,c=e.value&&(r-t)/e.value;++s<l;)(i=a[s]).y0=n,i.y1=o,i.x0=t,i.x1=t+=i.value*c}function tm(e,t,n,r,o){for(var i,a=e.children,s=-1,l=a.length,c=e.value&&(o-n)/e.value;++s<l;)(i=a[s]).x0=t,i.x1=r,i.y0=n,i.y1=n+=i.value*c}Jh.prototype=Gh.prototype={constructor:Jh,count:function(){return this.eachAfter(qh)},each:function(e,t){let n=-1;for(const r of this)e.call(t,r,++n,this);return this},eachAfter:function(e,t){for(var n,r,o,i=this,a=[i],s=[],l=-1;i=a.pop();)if(s.push(i),n=i.children)for(r=0,o=n.length;r<o;++r)a.push(n[r]);for(;i=s.pop();)e.call(t,i,++l,this);return this},eachBefore:function(e,t){for(var n,r,o=this,i=[o],a=-1;o=i.pop();)if(e.call(t,o,++a,this),n=o.children)for(r=n.length-1;r>=0;--r)i.push(n[r]);return this},find:function(e,t){let n=-1;for(const r of this)if(e.call(t,r,++n,this))return r},sum:function(e){return this.eachAfter((function(t){for(var n=+e(t.data)||0,r=t.children,o=r&&r.length;--o>=0;)n+=r[o].value;t.value=n}))},sort:function(e){return this.eachBefore((function(t){t.children&&t.children.sort(e)}))},path:function(e){for(var t=this,n=function(e,t){if(e===t)return e;var n=e.ancestors(),r=t.ancestors(),o=null;for(e=n.pop(),t=r.pop();e===t;)o=e,e=n.pop(),t=r.pop();return o}(t,e),r=[t];t!==n;)t=t.parent,r.push(t);for(var o=r.length;e!==n;)r.splice(o,0,e),e=e.parent;return r},ancestors:function(){for(var e=this,t=[e];e=e.parent;)t.push(e);return t},descendants:function(){return Array.from(this)},leaves:function(){var e=[];return this.eachBefore((function(t){t.children||e.push(t)})),e},links:function(){var e=this,t=[];return e.each((function(n){n!==e&&t.push({source:n.parent,target:n})})),t},copy:function(){return Gh(this).eachBefore(Kh)},[Symbol.iterator]:function*(){var e,t,n,r,o=this,i=[o];do{for(e=i.reverse(),i=[];o=e.pop();)if(yield o,t=o.children)for(n=0,r=t.length;n<r;++n)i.push(t[n])}while(i.length)}};var nm=(1+Math.sqrt(5))/2;function rm(e,t,n,r,o,i){for(var a,s,l,c,u,d,p,f,h,m,g,v=[],y=t.children,b=0,x=0,w=y.length,A=t.value;b<w;){l=o-n,c=i-r;do{u=y[x++].value}while(!u&&x<w);for(d=p=u,g=u*u*(m=Math.max(c/l,l/c)/(A*e)),h=Math.max(p/g,g/d);x<w;++x){if(u+=s=y[x].value,s<d&&(d=s),s>p&&(p=s),g=u*u*m,(f=Math.max(p/g,g/d))>h){u-=s;break}h=f}v.push(a={value:u,dice:l<c,children:y.slice(b,x)}),a.dice?em(a,n,r,o,A?r+=c*u/A:i):tm(a,n,r,A?n+=l*u/A:o,i),A-=u,b=x}return v}var om=function e(t){function n(e,n,r,o,i){rm(t,e,n,r,o,i)}return n.ratio=function(t){return e((t=+t)>1?t:1)},n}(nm);function im(e){if("function"!=typeof e)throw new Error;return e}function am(){return 0}function sm(e){return function(){return e}}function lm(e,t,n,r,o){var i,a,s=e.children,l=s.length,c=new Array(l+1);for(c[0]=a=i=0;i<l;++i)c[i+1]=a+=s[i].value;!function e(t,n,r,o,i,a,l){if(t>=n-1){var u=s[t];return u.x0=o,u.y0=i,u.x1=a,void(u.y1=l)}for(var d=c[t],p=r/2+d,f=t+1,h=n-1;f<h;){var m=f+h>>>1;c[m]<p?f=m+1:h=m}p-c[f-1]<c[f]-p&&t+1<f&&--f;var g=c[f]-d,v=r-g;if(a-o>l-i){var y=r?(o*v+a*g)/r:a;e(t,f,g,o,i,y,l),e(f,n,v,y,i,a,l)}else{var b=r?(i*v+l*g)/r:l;e(t,f,g,o,i,a,b),e(f,n,v,o,b,a,l)}}(0,l,e.value,t,n,r,o)}function cm(e,t,n,r,o){(1&e.depth?tm:em)(e,t,n,r,o)}var um=function e(t){function n(e,n,r,o,i){if((a=e._squarify)&&a.ratio===t)for(var a,s,l,c,u,d=-1,p=a.length,f=e.value;++d<p;){for(l=(s=a[d]).children,c=s.value=0,u=l.length;c<u;++c)s.value+=l[c].value;s.dice?em(s,n,r,o,f?r+=(i-r)*s.value/f:i):tm(s,n,r,f?n+=(o-n)*s.value/f:o,i),f-=s.value}else e._squarify=a=rm(t,e,n,r,o,i),a.ratio=t}return n.ratio=function(t){return e((t=+t)>1?t:1)},n}(nm);function dm(e,t){const{scale:{x:n,y:r},state:{width:o}}=this;e.selectAll("g").attr("transform",(e=>`translate(${e===t?"0,0":`${n(e.x0)},${r(e.y0)}`})`)).select("rect").attr("width",(e=>e===t?o:n(e.x1)-n(e.x0))).attr("height",(e=>e===t?0:r(e.y1)-r(e.y0)))}function pm(e){const t=this;return e.map((e=>{const{id:n,values:r}=e,{value:o}=r[0];return{name:n,id:n,value:o,ratio:t.getRatio("treemap",r[0])}}))}function fm(e){const t=Gh(e).sum((e=>e.value)),n=this.getSortCompareFn(!0);return[this.treemap(n?t.sort(n):t)]}var hm={initTreemap(){const e=this,{$el:t,state:{current:{width:n,height:r},clip:o,datetimeId:i}}=e;o.id=`${i}-clip`,e.treemap=function(){var e=om,t=!1,n=1,r=1,o=[0],i=am,a=am,s=am,l=am,c=am;function u(e){return e.x0=e.y0=0,e.x1=n,e.y1=r,e.eachBefore(d),o=[0],t&&e.eachBefore(Qh),e}function d(t){var n=o[t.depth],r=t.x0+n,u=t.y0+n,d=t.x1-n,p=t.y1-n;d<r&&(r=d=(r+d)/2),p<u&&(u=p=(u+p)/2),t.x0=r,t.y0=u,t.x1=d,t.y1=p,t.children&&(n=o[t.depth+1]=i(t)/2,r+=c(t)-n,u+=a(t)-n,(d-=s(t)-n)<r&&(r=d=(r+d)/2),(p-=l(t)-n)<u&&(u=p=(u+p)/2),e(t,r,u,d,p))}return u.round=function(e){return arguments.length?(t=!!e,u):t},u.size=function(e){return arguments.length?(n=+e[0],r=+e[1],u):[n,r]},u.tile=function(t){return arguments.length?(e=im(t),u):e},u.padding=function(e){return arguments.length?u.paddingInner(e).paddingOuter(e):u.paddingInner()},u.paddingInner=function(e){return arguments.length?(i="function"==typeof e?e:sm(+e),u):i},u.paddingOuter=function(e){return arguments.length?u.paddingTop(e).paddingRight(e).paddingBottom(e).paddingLeft(e):u.paddingTop()},u.paddingTop=function(e){return arguments.length?(a="function"==typeof e?e:sm(+e),u):a},u.paddingRight=function(e){return arguments.length?(s="function"==typeof e?e:sm(+e),u):s},u.paddingBottom=function(e){return arguments.length?(l="function"==typeof e?e:sm(+e),u):l},u.paddingLeft=function(e){return arguments.length?(c="function"==typeof e?e:sm(+e),u):c},u}().tile(e.getTreemapTile()),t.defs.append("clipPath").attr("id",o.id).append("rect").attr("width",n).attr("height",r),t.treemap=t.main.select(`.${Pn.chart}`).attr("clip-path",`url(#${o.id})`).append("g").classed(er.chartTreemaps,!0),e.bindTreemapEvent()},bindTreemapEvent(){const e=this,{$el:t,config:n,state:r}=e,o=e=>{var t;const n=e.isTrusted?e.target:null==(t=r.eventReceiver.rect)?void 0:t.node();let o;return/^rect$/i.test(n.tagName)&&(r.event=e,o=be(n).datum()),null==o?void 0:o.data};if(n.interaction_enabled){const n="touch"===r.inputType;t.treemap.on(n?"touchstart":"mouseover mousemove",(t=>{const n=o(t);n&&(e.showTooltip([n],t.currentTarget),/^(touchstart|mouseover)$/.test(t.type)&&e.setOverOut(!0,n))})).on(n?"touchend":"mouseout",(t=>{const n=o(t);e.hideTooltip(),e.setOverOut(!1,n)}))}},getTreemapTile(){var e,t;const{config:n,state:{current:{width:r,height:o}}}=this,i=null!=(t={binary:lm,dice:em,slice:tm,sliceDice:cm,squarify:om,resquarify:um}[null!=(e=n.treemap_tile)?e:"binary"])?t:lm;return(e,t,n,a,s)=>{i(e,0,0,r,o);for(const i of e.children)i.x0=t+i.x0/r*(a-t),i.x1=t+i.x1/r*(a-t),i.y0=n+i.y0/o*(s-n),i.y1=n+i.y1/o*(s-n)}},getTreemapData(e){const t=this;return{name:"root",children:pm.bind(t)(t.filterTargetsToShow(e.filter(t.isTreemapType,t)))}},updateTargetsForTreemap(e){const t=this,{$el:{treemap:n}}=t,r=fm.call(t,t.getTreemapData(null!=e?e:t.data.targets));n.data(r)},updateTreemap(e){const t=this,{$el:n,$T:r}=t,o=n.treemap.datum(),i=t.getChartClass("Treemap"),a=t.getClass("treemap",!0),s=n.treemap.selectAll("g").data(o.children);r(s.exit(),e).style("opacity","0").remove(),s.enter().append("g").append("rect"),n.treemap.selectAll("g").attr("class",i).select("rect").attr("class",a).attr("fill",(e=>t.color(e.data.name)))},generateGetTreemapPoints(){const{$el:e,scale:{x:t,y:n}}=this,r={};return e.treemap.selectAll("g").each((e=>{r[e.data.name]=[[t(e.x0),n(e.y0)],[t(e.x1),n(e.y1)]]})),e=>r[e.id]},redrawTreemap(e){const t=this,{$el:n,state:{current:{width:r,height:o}}}=t;return n.defs.select("rect").attr("width",r).attr("height",o),[t.$T(n.treemap,e,Ba()).call(dm.bind(t),n.treemap.datum())]},treemapDataLabelFormat(e){const t=this,{config:n}=t,{id:r,value:o}=e,i=n.treemap_label_format,a=t.getRatio("treemap",e),s=(100*a).toFixed(2),l=n.treemap_label_show&&t.meetsLabelThreshold(a,"treemap")?null:"0";return function(e){return e.style("opacity",l),ya(i)?i.bind(t.api)(o,a,r):`${r}\n${s}%`}}},mm={point_show:!0,point_r:2.5,point_radialGradient:!1,point_sensitivity:10,point_focus_expand_enabled:!0,point_focus_expand_r:void 0,point_focus_only:!1,point_opacity:void 0,point_pattern:[],point_select_r:void 0,point_type:"circle"},gm={area_above:!1,area_below:!1,area_front:!0,area_linearGradient:!1,area_zerobased:!0},vm={bar_front:!1,bar_indices_removeNull:!1,bar_label_threshold:0,bar_linearGradient:!1,bar_overlap:!1,bar_padding:0,bar_radius:void 0,bar_radius_ratio:void 0,bar_sensitivity:2,bar_width:void 0,bar_width_ratio:.6,bar_width_max:void 0,bar_zerobased:!0},ym={bubble_maxR:35,bubble_zerobased:!1},bm={candlestick_width:void 0,candlestick_width_ratio:.6,candlestick_width_max:void 0,candlestick_color_down:"red"},xm={line_connectNull:!1,line_step_type:"step",line_step_tooltipMatch:!1,line_zerobased:!1,line_classes:void 0,line_point:!0},wm={scatter_zerobased:!1},Am={spline_interpolation_type:"cardinal"},_m={arc_cornerRadius:0,arc_cornerRadius_ratio:0,arc_needle_show:!1,arc_needle_color:void 0,arc_needle_value:void 0,arc_needle_path:void 0,arc_needle_length:100,arc_needle_top_rx:0,arc_needle_top_ry:0,arc_needle_top_width:0,arc_needle_bottom_rx:1,arc_needle_bottom_ry:1,arc_needle_bottom_width:15,arc_needle_bottom_len:0,arc_rangeText_values:void 0,arc_rangeText_unit:"absolute",arc_rangeText_fixed:!1,arc_rangeText_format:void 0,arc_rangeText_position:void 0},Sm={donut_label_show:!0,donut_label_format:void 0,donut_label_threshold:.05,donut_label_ratio:void 0,donut_width:void 0,donut_title:"",donut_expand:{},donut_expand_rate:.98,donut_expand_duration:50,donut_padAngle:0,donut_startingAngle:0},km={funnel_neck_width:0,funnel_neck_height:0},Cm={gauge_background:"",gauge_fullCircle:!1,gauge_label_show:!0,gauge_label_extents:void 0,gauge_label_format:void 0,gauge_label_ratio:void 0,gauge_label_threshold:0,gauge_enforceMinMax:!1,gauge_min:0,gauge_max:100,gauge_type:"single",gauge_startingAngle:-1*Math.PI/2,gauge_arcLength:100,gauge_title:"",gauge_units:void 0,gauge_width:void 0,gauge_arcs_minWidth:5,gauge_expand:{},gauge_expand_rate:.98,gauge_expand_duration:50},Tm={pie_label_show:!0,pie_label_format:void 0,pie_label_ratio:void 0,pie_label_threshold:.05,pie_expand:{},pie_expand_rate:.98,pie_expand_duration:50,pie_innerRadius:0,pie_outerRadius:void 0,pie_padAngle:0,pie_padding:0,pie_startingAngle:0},Mm={polar_label_show:!0,polar_label_format:void 0,polar_label_threshold:.05,polar_label_ratio:void 0,polar_level_depth:3,polar_level_max:void 0,polar_level_show:!0,polar_level_text_backgroundColor:"#fff",polar_level_text_format:e=>e%1==0?e:e.toFixed(2),polar_level_text_show:!0,polar_padAngle:0,polar_padding:0,polar_startingAngle:0},Pm={radar_axis_max:void 0,radar_axis_line_show:!0,radar_axis_text_show:!0,radar_axis_text_position:{},radar_level_depth:3,radar_level_show:!0,radar_level_text_format:e=>e%1==0?e:e.toFixed(2),radar_level_text_show:!0,radar_size_ratio:.87,radar_direction_clockwise:!1},Om={treemap_tile:"binary",treemap_label_format:void 0,treemap_label_threshold:.05,treemap_label_show:!0};function Em(e,t){Wa(bd.prototype,Object.values(Rf).concat(e)),Wa(jd.prototype,Df),fs.setOptions(Object.values(If).concat(t||[]))}function Dm(e,t){Em([Fh,$h,Lh].concat(e||[])),fs.setOptions([mm,xm].concat(t||[]))}function Rm(e,t){Wa(bd.prototype,[ch,Fh].concat(e||[])),fs.setOptions([mm].concat(t||[]))}let Im=()=>(Dm(fh,[gm]),(Im=()=>Os.AREA)()),Nm=()=>(Dm(fh,[gm]),(Nm=()=>Os.AREA_LINE_RANGE)()),Lm=()=>(Dm(fh,[gm,Am]),(Lm=()=>Os.AREA_SPLINE)()),jm=()=>(Dm(fh,[gm,Am]),(jm=()=>Os.AREA_SPLINE_RANGE)()),$m=()=>(Dm(fh,[gm]),($m=()=>Os.AREA_STEP)()),zm=()=>(Dm(),(zm=()=>Os.LINE)()),Fm=()=>(Dm(void 0,[Am]),(Fm=()=>Os.SPLINE)()),Bm=()=>(Dm(),(Bm=()=>Os.STEP)()),Hm=()=>(Rm(void 0,[_m,Sm]),(Hm=()=>Os.DONUT)()),Vm=()=>(Rm([Nh],[_m,Cm]),(Vm=()=>Os.GAUGE)()),Wm=()=>(Rm(void 0,[_m,Tm]),(Wm=()=>Os.PIE)()),Um=()=>(Rm([Hh],[_m,Mm]),(Um=()=>Os.POLAR)()),qm=()=>(Rm([Rf.eventrect,$h,Uh],[mm,Pm,{axis_x_categories:If.optAxis.axis_x_categories}]),(qm=()=>Os.RADAR)()),Gm=()=>(Em([hh,Fh],[vm,mm]),(Gm=()=>Os.BAR)()),Ym=()=>(Em([Fh,$h,mh],[ym,mm]),(Ym=()=>Os.BUBBLE)()),Xm=()=>(Em([wh,Fh],[bm,mm]),(Xm=()=>Os.CANDLESTICK)()),Km=()=>(Em([Fh,$h],[mm,wm]),(Km=()=>Os.SCATTER)()),Zm=()=>(Rm([Ih],[km]),(Zm=()=>Os.FUNNEL)()),Jm=()=>(Em([hm],[Om]),(Jm=()=>Os.TREEMAP)()),Qm={};const eg={version:"3.12.4",generate(e){const t=Za({},Qm,e),n=new jd(t);return n.internal.charts=this.instance,this.instance.push(n),n},defaults(e){return Oa(e)&&(Qm=e),Qm},instance:[],plugin:{}};Object.keys(i).forEach((e=>i[e]())),Object.keys(o).forEach((e=>o[e]()))}],t={};function r(n){var o=t[n];if(void 0!==o)return o.exports;var i=t[n]={exports:{}};return e[n].call(i.exports,i,i.exports,r),i.exports}return r.d=function(e,t){for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r(0),r(560)}()},e.exports=r()},63717:function(e){"use strict";function t(e){this.content=e}t.prototype={constructor:t,find:function(e){for(var t=0;t<this.content.length;t+=2)if(this.content[t]===e)return t;return-1},get:function(e){var t=this.find(e);return-1==t?void 0:this.content[t+1]},update:function(e,n,r){var o=r&&r!=e?this.remove(r):this,i=o.find(e),a=o.content.slice();return-1==i?a.push(r||e,n):(a[i+1]=n,r&&(a[i]=r)),new t(a)},remove:function(e){var n=this.find(e);if(-1==n)return this;var r=this.content.slice();return r.splice(n,2),new t(r)},addToStart:function(e,n){return new t([e,n].concat(this.remove(e).content))},addToEnd:function(e,n){var r=this.remove(e).content.slice();return r.push(e,n),new t(r)},addBefore:function(e,n,r){var o=this.remove(n),i=o.content.slice(),a=o.find(e);return i.splice(-1==a?i.length:a,0,n,r),new t(i)},forEach:function(e){for(var t=0;t<this.content.length;t+=2)e(this.content[t],this.content[t+1])},prepend:function(e){return(e=t.from(e)).size?new t(e.content.concat(this.subtract(e).content)):this},append:function(e){return(e=t.from(e)).size?new t(this.subtract(e).content.concat(e.content)):this},subtract:function(e){var n=this;e=t.from(e);for(var r=0;r<e.content.length;r+=2)n=n.remove(e.content[r]);return n},toObject:function(){var e={};return this.forEach((function(t,n){e[t]=n})),e},get size(){return this.content.length>>1}},t.from=function(e){if(e instanceof t)return e;var n=[];if(e)for(var r in e)n.push(r,e[r]);return new t(n)},e.exports=t},57449:function(e,t,n){"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}Object.defineProperty(t,"__esModule",{value:!0});var o=n(36553),i=n(77712),a=n(37820),s=function(e,t){return!e.selection.empty&&(t&&t(e.tr.deleteSelection().scrollIntoView()),!0)};function l(e,t){var n=e.selection.$cursor;return!n||(t?!t.endOfTextblock("backward",e):n.parentOffset>0)?null:n}var c=function(e,t,n){var r=l(e,n);if(!r)return!1;var s=f(r);if(!s){var c=r.blockRange(),u=c&&o.liftTarget(c);return null!=u&&(t&&t(e.tr.lift(c,u).scrollIntoView()),!0)}var p=s.nodeBefore;if(!p.type.spec.isolating&&C(e,s,t))return!0;if(0==r.parent.content.size&&(d(p,"end")||a.NodeSelection.isSelectable(p))){var h=o.replaceStep(e.doc,r.before(),r.after(),i.Slice.empty);if(h&&h.slice.size<h.to-h.from){if(t){var m=e.tr.step(h);m.setSelection(d(p,"end")?a.Selection.findFrom(m.doc.resolve(m.mapping.map(s.pos,-1)),-1):a.NodeSelection.create(m.doc,s.pos-p.nodeSize)),t(m.scrollIntoView())}return!0}}return!(!p.isAtom||s.depth!=r.depth-1)&&(t&&t(e.tr.delete(s.pos-p.nodeSize,s.pos).scrollIntoView()),!0)};function u(e,t,n){for(var r=t.nodeBefore,s=t.pos-1;!r.isTextblock;s--){if(r.type.spec.isolating)return!1;var l=r.lastChild;if(!l)return!1;r=l}for(var c=t.nodeAfter,u=t.pos+1;!c.isTextblock;u++){if(c.type.spec.isolating)return!1;var d=c.firstChild;if(!d)return!1;c=d}var p=o.replaceStep(e.doc,s,u,i.Slice.empty);if(!p||p.from!=s||p instanceof o.ReplaceStep&&p.slice.size>=u-s)return!1;if(n){var f=e.tr.step(p);f.setSelection(a.TextSelection.create(f.doc,s)),n(f.scrollIntoView())}return!0}function d(e,t){for(var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=e;r;r="start"==t?r.firstChild:r.lastChild){if(r.isTextblock)return!0;if(n&&1!=r.childCount)return!1}return!1}var p=function(e,t,n){var r=e.selection,o=r.$head,i=o;if(!r.empty)return!1;if(o.parent.isTextblock){if(n?!n.endOfTextblock("backward",e):o.parentOffset>0)return!1;i=f(o)}var s=i&&i.nodeBefore;return!(!s||!a.NodeSelection.isSelectable(s))&&(t&&t(e.tr.setSelection(a.NodeSelection.create(e.doc,i.pos-s.nodeSize)).scrollIntoView()),!0)};function f(e){if(!e.parent.type.spec.isolating)for(var t=e.depth-1;t>=0;t--){if(e.index(t)>0)return e.doc.resolve(e.before(t+1));if(e.node(t).type.spec.isolating)break}return null}function h(e,t){var n=e.selection.$cursor;return!n||(t?!t.endOfTextblock("forward",e):n.parentOffset<n.parent.content.size)?null:n}var m=function(e,t,n){var r=h(e,n);if(!r)return!1;var s=v(r);if(!s)return!1;var l=s.nodeAfter;if(C(e,s,t))return!0;if(0==r.parent.content.size&&(d(l,"start")||a.NodeSelection.isSelectable(l))){var c=o.replaceStep(e.doc,r.before(),r.after(),i.Slice.empty);if(c&&c.slice.size<c.to-c.from){if(t){var u=e.tr.step(c);u.setSelection(d(l,"start")?a.Selection.findFrom(u.doc.resolve(u.mapping.map(s.pos)),1):a.NodeSelection.create(u.doc,u.mapping.map(s.pos))),t(u.scrollIntoView())}return!0}}return!(!l.isAtom||s.depth!=r.depth-1)&&(t&&t(e.tr.delete(s.pos,s.pos+l.nodeSize).scrollIntoView()),!0)},g=function(e,t,n){var r=e.selection,o=r.$head,i=o;if(!r.empty)return!1;if(o.parent.isTextblock){if(n?!n.endOfTextblock("forward",e):o.parentOffset<o.parent.content.size)return!1;i=v(o)}var s=i&&i.nodeAfter;return!(!s||!a.NodeSelection.isSelectable(s))&&(t&&t(e.tr.setSelection(a.NodeSelection.create(e.doc,i.pos)).scrollIntoView()),!0)};function v(e){if(!e.parent.type.spec.isolating)for(var t=e.depth-1;t>=0;t--){var n=e.node(t);if(e.index(t)+1<n.childCount)return e.doc.resolve(e.after(t+1));if(n.type.spec.isolating)break}return null}var y=function(e,t){var n=e.selection,r=n.$head,o=n.$anchor;return!(!r.parent.type.spec.code||!r.sameParent(o))&&(t&&t(e.tr.insertText("\n").scrollIntoView()),!0)};function b(e){for(var t=0;t<e.edgeCount;t++){var n=e.edge(t).type;if(n.isTextblock&&!n.hasRequiredAttrs())return n}return null}var x=function(e,t){var n=e.selection,r=n.$head,o=n.$anchor;if(!r.parent.type.spec.code||!r.sameParent(o))return!1;var i=r.node(-1),s=r.indexAfter(-1),l=b(i.contentMatchAt(s));if(!l||!i.canReplaceWith(s,s,l))return!1;if(t){var c=r.after(),u=e.tr.replaceWith(c,c,l.createAndFill());u.setSelection(a.Selection.near(u.doc.resolve(c),1)),t(u.scrollIntoView())}return!0},w=function(e,t){var n=e.selection,r=n.$from,o=n.$to;if(n instanceof a.AllSelection||r.parent.inlineContent||o.parent.inlineContent)return!1;var i=b(o.parent.contentMatchAt(o.indexAfter()));if(!i||!i.isTextblock)return!1;if(t){var s=(!r.parentOffset&&o.index()<o.parent.childCount?r:o).pos,l=e.tr.insert(s,i.createAndFill());l.setSelection(a.TextSelection.create(l.doc,s+1)),t(l.scrollIntoView())}return!0},A=function(e,t){var n=e.selection.$cursor;if(!n||n.parent.content.size)return!1;if(n.depth>1&&n.after()!=n.end(-1)){var r=n.before();if(o.canSplit(e.doc,r))return t&&t(e.tr.split(r).scrollIntoView()),!0}var i=n.blockRange(),a=i&&o.liftTarget(i);return null!=a&&(t&&t(e.tr.lift(i,a).scrollIntoView()),!0)};function _(e){return function(t,n){var r=t.selection,i=r.$from,s=r.$to;if(t.selection instanceof a.NodeSelection&&t.selection.node.isBlock)return!(!i.parentOffset||!o.canSplit(t.doc,i.pos))&&(n&&n(t.tr.split(i.pos).scrollIntoView()),!0);if(!i.parent.isBlock)return!1;if(n){var l=s.parentOffset==s.parent.content.size,c=t.tr;(t.selection instanceof a.TextSelection||t.selection instanceof a.AllSelection)&&c.deleteSelection();var u=0==i.depth?null:b(i.node(-1).contentMatchAt(i.indexAfter(-1))),d=e&&e(s.parent,l),p=d?[d]:l&&u?[{type:u}]:void 0,f=o.canSplit(c.doc,c.mapping.map(i.pos),1,p);if(p||f||!o.canSplit(c.doc,c.mapping.map(i.pos),1,u?[{type:u}]:void 0)||(u&&(p=[{type:u}]),f=!0),f&&(c.split(c.mapping.map(i.pos),1,p),!l&&!i.parentOffset&&i.parent.type!=u)){var h=c.mapping.map(i.before()),m=c.doc.resolve(h);u&&i.node(-1).canReplaceWith(m.index(),m.index()+1,u)&&c.setNodeMarkup(c.mapping.map(i.before()),u)}n(c.scrollIntoView())}return!0}}var S=_(),k=function(e,t){return t&&t(e.tr.setSelection(new a.AllSelection(e.doc))),!0};function C(e,t,n){var r,s,l=t.nodeBefore,c=t.nodeAfter;if(l.type.spec.isolating||c.type.spec.isolating)return!1;if(function(e,t,n){var r=t.nodeBefore,i=t.nodeAfter,a=t.index();return!(!(r&&i&&r.type.compatibleContent(i.type))||(!r.content.size&&t.parent.canReplace(a-1,a)?(n&&n(e.tr.delete(t.pos-r.nodeSize,t.pos).scrollIntoView()),0):!t.parent.canReplace(a,a+1)||!i.isTextblock&&!o.canJoin(e.doc,t.pos)||(n&&n(e.tr.clearIncompatible(t.pos,r.type,r.contentMatchAt(r.childCount)).join(t.pos).scrollIntoView()),0)))}(e,t,n))return!0;var u=t.parent.canReplace(t.index(),t.index()+1);if(u&&(r=(s=l.contentMatchAt(l.childCount)).findWrapping(c.type))&&s.matchType(r[0]||c.type).validEnd){if(n){for(var p=t.pos+c.nodeSize,f=i.Fragment.empty,h=r.length-1;h>=0;h--)f=i.Fragment.from(r[h].create(null,f));f=i.Fragment.from(l.copy(f));var m=e.tr.step(new o.ReplaceAroundStep(t.pos-1,p,t.pos,p,new i.Slice(f,1,0),r.length,!0)),g=p+2*r.length;o.canJoin(m.doc,g)&&m.join(g),n(m.scrollIntoView())}return!0}var v=a.Selection.findFrom(t,1),y=v&&v.$from.blockRange(v.$to),b=y&&o.liftTarget(y);if(null!=b&&b>=t.depth)return n&&n(e.tr.lift(y,b).scrollIntoView()),!0;if(u&&d(c,"start",!0)&&d(l,"end")){for(var x=l,w=[];w.push(x),!x.isTextblock;)x=x.lastChild;for(var A=c,_=1;!A.isTextblock;A=A.firstChild)_++;if(x.canReplace(x.childCount,x.childCount,A.content)){if(n){for(var S=i.Fragment.empty,k=w.length-1;k>=0;k--)S=i.Fragment.from(w[k].copy(S));n(e.tr.step(new o.ReplaceAroundStep(t.pos-w.length,t.pos+c.nodeSize,t.pos+_,t.pos+c.nodeSize-_,new i.Slice(S,w.length,0),0,!0)).scrollIntoView())}return!0}}return!1}function T(e){return function(t,n){for(var r=t.selection,o=e<0?r.$from:r.$to,i=o.depth;o.node(i).isInline;){if(!i)return!1;i--}return!!o.node(i).isTextblock&&(n&&n(t.tr.setSelection(a.TextSelection.create(t.doc,e<0?o.start(i):o.end(i)))),!0)}}var M=T(-1),P=T(1);function O(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e,n,r){for(var o=0;o<t.length;o++)if(t[o](e,n,r))return!0;return!1}}var E=O(s,c,p),D=O(s,m,g),R={Enter:O(y,w,A,S),"Mod-Enter":x,Backspace:E,"Mod-Backspace":E,"Shift-Backspace":E,Delete:D,"Mod-Delete":D,"Mod-a":k},I={"Ctrl-h":R.Backspace,"Alt-Backspace":R["Mod-Backspace"],"Ctrl-d":R.Delete,"Ctrl-Alt-Backspace":R["Mod-Delete"],"Alt-Delete":R["Mod-Delete"],"Alt-d":R["Mod-Delete"],"Ctrl-a":M,"Ctrl-e":P};for(var N in R)I[N]=R[N];var L=("undefined"!=typeof navigator?/Mac|iP(hone|[oa]d)/.test(navigator.platform):!("undefined"==typeof os||!os.platform)&&"darwin"==os.platform())?I:R;t.autoJoin=function(e,t){var n=Array.isArray(t)?function(e){return t.indexOf(e.type.name)>-1}:t;return function(t,r,i){return e(t,r&&function(e,t){return function(n){if(!n.isGeneric)return e(n);for(var r=[],i=0;i<n.mapping.maps.length;i++){for(var a=n.mapping.maps[i],s=0;s<r.length;s++)r[s]=a.map(r[s]);a.forEach((function(e,t,n,o){return r.push(n,o)}))}for(var l=[],c=0;c<r.length;c+=2)for(var u=r[c],d=r[c+1],p=n.doc.resolve(u),f=p.sharedDepth(d),h=p.node(f),m=p.indexAfter(f),g=p.after(f+1);g<=d;++m){var v=h.maybeChild(m);if(!v)break;if(m&&-1==l.indexOf(g)){var y=h.child(m-1);y.type==v.type&&t(y,v)&&l.push(g)}g+=v.nodeSize}l.sort((function(e,t){return e-t}));for(var b=l.length-1;b>=0;b--)o.canJoin(n.doc,l[b])&&n.join(l[b]);e(n)}}(r,n),i)}},t.baseKeymap=L,t.chainCommands=O,t.createParagraphNear=w,t.deleteSelection=s,t.exitCode=x,t.joinBackward=c,t.joinDown=function(e,t){var n,r=e.selection;if(r instanceof a.NodeSelection){if(r.node.isTextblock||!o.canJoin(e.doc,r.to))return!1;n=r.to}else if(null==(n=o.joinPoint(e.doc,r.to,1)))return!1;return t&&t(e.tr.join(n).scrollIntoView()),!0},t.joinForward=m,t.joinTextblockBackward=function(e,t,n){var r=l(e,n);if(!r)return!1;var o=f(r);return!!o&&u(e,o,t)},t.joinTextblockForward=function(e,t,n){var r=h(e,n);if(!r)return!1;var o=v(r);return!!o&&u(e,o,t)},t.joinUp=function(e,t){var n,r=e.selection,i=r instanceof a.NodeSelection;if(i){if(r.node.isTextblock||!o.canJoin(e.doc,r.from))return!1;n=r.from}else if(null==(n=o.joinPoint(e.doc,r.from,-1)))return!1;if(t){var s=e.tr.join(n);i&&s.setSelection(a.NodeSelection.create(s.doc,n-e.doc.resolve(n).nodeBefore.nodeSize)),t(s.scrollIntoView())}return!0},t.lift=function(e,t){var n=e.selection,r=n.$from,i=n.$to,a=r.blockRange(i),s=a&&o.liftTarget(a);return null!=s&&(t&&t(e.tr.lift(a,s).scrollIntoView()),!0)},t.liftEmptyBlock=A,t.macBaseKeymap=I,t.newlineInCode=y,t.pcBaseKeymap=R,t.selectAll=k,t.selectNodeBackward=p,t.selectNodeForward=g,t.selectParentNode=function(e,t){var n,r=e.selection,o=r.$from,i=r.to,s=o.sharedDepth(i);return 0!=s&&(n=o.before(s),t&&t(e.tr.setSelection(a.NodeSelection.create(e.doc,n))),!0)},t.selectTextblockEnd=P,t.selectTextblockStart=M,t.setBlockType=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return function(n,r){for(var o=!1,i=0;i<n.selection.ranges.length&&!o;i++){var a=n.selection.ranges[i],s=a.$from.pos,l=a.$to.pos;n.doc.nodesBetween(s,l,(function(r,i){if(o)return!1;if(r.isTextblock&&!r.hasMarkup(e,t))if(r.type==e)o=!0;else{var a=n.doc.resolve(i),s=a.index();o=a.parent.canReplaceWith(s,s+1,e)}}))}if(!o)return!1;if(r){for(var c=n.tr,u=0;u<n.selection.ranges.length;u++){var d=n.selection.ranges[u],p=d.$from.pos,f=d.$to.pos;c.setBlockType(p,f,e,t)}r(c.scrollIntoView())}return!0}},t.splitBlock=S,t.splitBlockAs=_,t.splitBlockKeepMarks=function(e,t){return S(e,t&&function(n){var r=e.storedMarks||e.selection.$to.parentOffset&&e.selection.$from.marks();r&&n.ensureMarks(r),t(n)})},t.toggleMark=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return function(n,o){var i=n.selection,a=i.empty,s=i.$cursor,l=i.ranges;if(a&&!s||!function(e,t,n){for(var o=function(r){var o=t[r],i=o.$from,a=o.$to,s=0==i.depth&&e.inlineContent&&e.type.allowsMarkType(n);if(e.nodesBetween(i.pos,a.pos,(function(e){if(s)return!1;s=e.inlineContent&&e.type.allowsMarkType(n)})),s)return{v:!0}},i=0;i<t.length;i++){var a=o(i);if("object"===r(a))return a.v}return!1}(n.doc,l,e))return!1;if(o)if(s)e.isInSet(n.storedMarks||s.marks())?o(n.tr.removeStoredMark(e)):o(n.tr.addStoredMark(e.create(t)));else{for(var c=!1,u=n.tr,d=0;!c&&d<l.length;d++){var p=l[d],f=p.$from,h=p.$to;c=n.doc.rangeHasMark(f.pos,h.pos,e)}for(var m=0;m<l.length;m++){var g=l[m],v=g.$from,y=g.$to;if(c)u.removeMark(v.pos,y.pos,e);else{var b=v.pos,x=y.pos,w=v.nodeAfter,A=y.nodeBefore,_=w&&w.isText?/^\s*/.exec(w.text)[0].length:0,S=A&&A.isText?/\s*$/.exec(A.text)[0].length:0;b+_<x&&(b+=_,x-=S),u.addMark(b,x,e.create(t))}}o(u.scrollIntoView())}return!0}},t.wrapIn=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return function(n,r){var i=n.selection,a=i.$from,s=i.$to,l=a.blockRange(s),c=l&&o.findWrapping(l,e,t);return!!c&&(r&&r(n.tr.wrap(l,c).scrollIntoView()),!0)}}},44788:function(e,t,n){"use strict";function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(37820),i=n(36553);var a=function(){function e(t,n){var r,o=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.editorView=t,this.cursorPos=null,this.element=null,this.timeout=-1,this.width=null!==(r=n.width)&&void 0!==r?r:1,this.color=!1===n.color?void 0:n.color||"black",this.class=n.class,this.handlers=["dragover","dragend","drop","dragleave"].map((function(e){var n=function(t){o[e](t)};return t.dom.addEventListener(e,n),{name:e,handler:n}}))}var t,n,o;return t=e,(n=[{key:"destroy",value:function(){var e=this;this.handlers.forEach((function(t){var n=t.name,r=t.handler;return e.editorView.dom.removeEventListener(n,r)}))}},{key:"update",value:function(e,t){null!=this.cursorPos&&t.doc!=e.state.doc&&(this.cursorPos>e.state.doc.content.size?this.setCursor(null):this.updateOverlay())}},{key:"setCursor",value:function(e){e!=this.cursorPos&&(this.cursorPos=e,null==e?(this.element.parentNode.removeChild(this.element),this.element=null):this.updateOverlay())}},{key:"updateOverlay",value:function(){var e,t=this.editorView.state.doc.resolve(this.cursorPos),n=!t.parent.inlineContent;if(n){var r=t.nodeBefore,o=t.nodeAfter;if(r||o){var i=this.editorView.nodeDOM(this.cursorPos-(r?r.nodeSize:0));if(i){var a=i.getBoundingClientRect(),s=r?a.bottom:a.top;r&&o&&(s=(s+this.editorView.nodeDOM(this.cursorPos).getBoundingClientRect().top)/2),e={left:a.left,right:a.right,top:s-this.width/2,bottom:s+this.width/2}}}}if(!e){var l=this.editorView.coordsAtPos(this.cursorPos);e={left:l.left-this.width/2,right:l.left+this.width/2,top:l.top,bottom:l.bottom}}var c,u,d=this.editorView.dom.offsetParent;if(this.element||(this.element=d.appendChild(document.createElement("div")),this.class&&(this.element.className=this.class),this.element.style.cssText="position: absolute; z-index: 50; pointer-events: none;",this.color&&(this.element.style.backgroundColor=this.color)),this.element.classList.toggle("prosemirror-dropcursor-block",n),this.element.classList.toggle("prosemirror-dropcursor-inline",!n),!d||d==document.body&&"static"==getComputedStyle(d).position)c=-pageXOffset,u=-pageYOffset;else{var p=d.getBoundingClientRect();c=p.left-d.scrollLeft,u=p.top-d.scrollTop}this.element.style.left=e.left-c+"px",this.element.style.top=e.top-u+"px",this.element.style.width=e.right-e.left+"px",this.element.style.height=e.bottom-e.top+"px"}},{key:"scheduleRemoval",value:function(e){var t=this;clearTimeout(this.timeout),this.timeout=setTimeout((function(){return t.setCursor(null)}),e)}},{key:"dragover",value:function(e){if(this.editorView.editable){var t=this.editorView.posAtCoords({left:e.clientX,top:e.clientY}),n=t&&t.inside>=0&&this.editorView.state.doc.nodeAt(t.inside),r=n&&n.type.spec.disableDropCursor,o="function"==typeof r?r(this.editorView,t,e):r;if(t&&!o){var a=t.pos;if(this.editorView.dragging&&this.editorView.dragging.slice){var s=i.dropPoint(this.editorView.state.doc,a,this.editorView.dragging.slice);null!=s&&(a=s)}this.setCursor(a),this.scheduleRemoval(5e3)}}}},{key:"dragend",value:function(){this.scheduleRemoval(20)}},{key:"drop",value:function(){this.scheduleRemoval(20)}},{key:"dragleave",value:function(e){e.target!=this.editorView.dom&&this.editorView.dom.contains(e.relatedTarget)||this.setCursor(null)}}])&&r(t.prototype,n),o&&r(t,o),Object.defineProperty(t,"prototype",{writable:!1}),e}();t.dropCursor=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return new o.Plugin({view:function(t){return new a(t,e)}})}},97459:function(e,t,n){"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function a(e,t,n){return t&&i(e.prototype,t),n&&i(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function s(e,t){return s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},s(e,t)}function l(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,o=c(e);if(t){var i=c(this).constructor;n=Reflect.construct(o,arguments,i)}else n=o.apply(this,arguments);return function(e,t){if(t&&("object"===r(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,n)}}function c(e){return c=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},c(e)}Object.defineProperty(t,"__esModule",{value:!0});var u=n(88136),d=n(37820),p=n(77712),f=n(49454),h=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&s(e,t)}(n,e);var t=l(n);function n(e){return o(this,n),t.call(this,e,e)}return a(n,[{key:"map",value:function(e,t){var r=e.resolve(t.map(this.head));return n.valid(r)?new n(r):d.Selection.near(r)}},{key:"content",value:function(){return p.Slice.empty}},{key:"eq",value:function(e){return e instanceof n&&e.head==this.head}},{key:"toJSON",value:function(){return{type:"gapcursor",pos:this.head}}},{key:"getBookmark",value:function(){return new m(this.anchor)}}],[{key:"fromJSON",value:function(e,t){if("number"!=typeof t.pos)throw new RangeError("Invalid input for GapCursor.fromJSON");return new n(e.resolve(t.pos))}},{key:"valid",value:function(e){var t=e.parent;if(t.isTextblock||!function(e){for(var t=e.depth;t>=0;t--){var n=e.index(t),r=e.node(t);if(0!=n)for(var o=r.child(n-1);;o=o.lastChild){if(0==o.childCount&&!o.inlineContent||o.isAtom||o.type.spec.isolating)return!0;if(o.inlineContent)return!1}else if(r.type.spec.isolating)return!0}return!0}(e)||!function(e){for(var t=e.depth;t>=0;t--){var n=e.indexAfter(t),r=e.node(t);if(n!=r.childCount)for(var o=r.child(n);;o=o.firstChild){if(0==o.childCount&&!o.inlineContent||o.isAtom||o.type.spec.isolating)return!0;if(o.inlineContent)return!1}else if(r.type.spec.isolating)return!0}return!0}(e))return!1;var n=t.type.spec.allowGapCursor;if(null!=n)return n;var r=t.contentMatchAt(e.index()).defaultType;return r&&r.isTextblock}},{key:"findGapCursorFrom",value:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];e:for(;;){if(!r&&n.valid(e))return e;for(var o=e.pos,i=null,a=e.depth;;a--){var s=e.node(a);if(t>0?e.indexAfter(a)<s.childCount:e.index(a)>0){i=s.child(t>0?e.indexAfter(a):e.index(a)-1);break}if(0==a)return null;o+=t;var l=e.doc.resolve(o);if(n.valid(l))return l}for(;;){var c=t>0?i.firstChild:i.lastChild;if(!c){if(i.isAtom&&!i.isText&&!d.NodeSelection.isSelectable(i)){e=e.doc.resolve(o+i.nodeSize*t),r=!1;continue e}break}i=c,o+=t;var u=e.doc.resolve(o);if(n.valid(u))return u}return null}}}]),n}(d.Selection);h.prototype.visible=!1,h.findFrom=h.findGapCursorFrom,d.Selection.jsonID("gapcursor",h);var m=function(){function e(t){o(this,e),this.pos=t}return a(e,[{key:"map",value:function(t){return new e(t.map(this.pos))}},{key:"resolve",value:function(e){var t=e.resolve(this.pos);return h.valid(t)?new h(t):d.Selection.near(t)}}]),e}();var g=u.keydownHandler({ArrowLeft:v("horiz",-1),ArrowRight:v("horiz",1),ArrowUp:v("vert",-1),ArrowDown:v("vert",1)});function v(e,t){var n="vert"==e?t>0?"down":"up":t>0?"right":"left";return function(e,r,o){var i=e.selection,a=t>0?i.$to:i.$from,s=i.empty;if(i instanceof d.TextSelection){if(!o.endOfTextblock(n)||0==a.depth)return!1;s=!1,a=e.doc.resolve(t>0?a.after():a.before())}var l=h.findGapCursorFrom(a,t,s);return!!l&&(r&&r(e.tr.setSelection(new h(l))),!0)}}function y(e,t,n){if(!e||!e.editable)return!1;var r=e.state.doc.resolve(t);if(!h.valid(r))return!1;var o=e.posAtCoords({left:n.clientX,top:n.clientY});return!(o&&o.inside>-1&&d.NodeSelection.isSelectable(e.state.doc.nodeAt(o.inside)))&&(e.dispatch(e.state.tr.setSelection(new h(r))),!0)}function b(e,t){if("insertCompositionText"!=t.inputType||!(e.state.selection instanceof h))return!1;var n=e.state.selection.$from,r=n.parent.contentMatchAt(n.index()).findWrapping(e.state.schema.nodes.text);if(!r)return!1;for(var o=p.Fragment.empty,i=r.length-1;i>=0;i--)o=p.Fragment.from(r[i].createAndFill(null,o));var a=e.state.tr.replace(n.pos,n.pos,new p.Slice(o,0,0));return a.setSelection(d.TextSelection.near(a.doc.resolve(n.pos+1))),e.dispatch(a),!1}function x(e){if(!(e.selection instanceof h))return null;var t=document.createElement("div");return t.className="ProseMirror-gapcursor",f.DecorationSet.create(e.doc,[f.Decoration.widget(e.selection.head,t,{key:"gapcursor"})])}t.GapCursor=h,t.gapCursor=function(){return new d.Plugin({props:{decorations:x,createSelectionBetween:function(e,t,n){return t.pos==n.pos&&h.valid(n)?new h(n):null},handleClick:y,handleKeyDown:g,handleDOMEvents:{beforeinput:b}}})}},71669:function(e,t,n){"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,(i=o.key,a=void 0,a=function(e,t){if("object"!==r(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!==r(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(i,"string"),"symbol"===r(a)?a:String(a)),o)}var i,a}function a(e,t,n){return t&&i(e.prototype,t),n&&i(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}var s=n(20614),l=n(36553),c=n(37820),u=function(){function e(t,n){o(this,e),this.items=t,this.eventCount=n}return a(e,[{key:"popEvent",value:function(t,n){var r=this;if(0==this.eventCount)return null;for(var o,i,a=this.items.length;;a--){if(this.items.get(a-1).selection){--a;break}}n&&(o=this.remapping(a,this.items.length),i=o.maps.length);var s,l,c=t.tr,u=[],p=[];return this.items.forEach((function(t,n){if(!t.step)return o||(o=r.remapping(a,n+1),i=o.maps.length),i--,void p.push(t);if(o){p.push(new d(t.map));var f,h=t.step.map(o.slice(i));h&&c.maybeStep(h).doc&&(f=c.mapping.maps[c.mapping.maps.length-1],u.push(new d(f,void 0,void 0,u.length+p.length))),i--,f&&o.appendMap(f,i)}else c.maybeStep(t.step);return t.selection?(s=o?t.selection.map(o.slice(i)):t.selection,l=new e(r.items.slice(0,a).append(p.reverse().concat(u)),r.eventCount-1),!1):void 0}),this.items.length,0),{remaining:l,transform:c,selection:s}}},{key:"addTransform",value:function(t,n,r,o){for(var i=[],a=this.eventCount,s=this.items,l=!o&&s.length?s.get(s.length-1):null,c=0;c<t.steps.length;c++){var u,p=t.steps[c].invert(t.docs[c]),h=new d(t.mapping.maps[c],p,n);(u=l&&l.merge(h))&&(h=u,c?i.pop():s=s.slice(0,s.length-1)),i.push(h),n&&(a++,n=void 0),o||(l=h)}var m,g,v,y=a-r.depth;return y>f&&(g=y,(m=s).forEach((function(e,t){if(e.selection&&0==g--)return v=t,!1})),s=m.slice(v),a-=y),new e(s.append(i),a)}},{key:"remapping",value:function(e,t){var n=new l.Mapping;return this.items.forEach((function(t,r){var o=null!=t.mirrorOffset&&r-t.mirrorOffset>=e?n.maps.length-t.mirrorOffset:void 0;n.appendMap(t.map,o)}),e,t),n}},{key:"addMaps",value:function(t){return 0==this.eventCount?this:new e(this.items.append(t.map((function(e){return new d(e)}))),this.eventCount)}},{key:"rebased",value:function(t,n){if(!this.eventCount)return this;var r=[],o=Math.max(0,this.items.length-n),i=t.mapping,a=t.steps.length,s=this.eventCount;this.items.forEach((function(e){e.selection&&s--}),o);var l=n;this.items.forEach((function(e){var n=i.getMirror(--l);if(null!=n){a=Math.min(a,n);var o=i.maps[n];if(e.step){var c=t.steps[n].invert(t.docs[n]),u=e.selection&&e.selection.map(i.slice(l+1,n));u&&s++,r.push(new d(o,c,u))}else r.push(new d(o))}}),o);for(var c=[],u=n;u<a;u++)c.push(new d(i.maps[u]));var p=new e(this.items.slice(0,o).append(c).append(r),s);return p.emptyItemCount()>500&&(p=p.compress(this.items.length-r.length)),p}},{key:"emptyItemCount",value:function(){var e=0;return this.items.forEach((function(t){t.step||e++})),e}},{key:"compress",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.items.length,n=this.remapping(0,t),r=n.maps.length,o=[],i=0;return this.items.forEach((function(e,a){if(a>=t)o.push(e),e.selection&&i++;else if(e.step){var s=e.step.map(n.slice(r)),l=s&&s.getMap();if(r--,l&&n.appendMap(l,r),s){var c=e.selection&&e.selection.map(n.slice(r));c&&i++;var u,p=new d(l.invert(),s,c),f=o.length-1;(u=o.length&&o[f].merge(p))?o[f]=u:o.push(p)}}else e.map&&r--}),this.items.length,0),new e(s.from(o.reverse()),i)}}]),e}();u.empty=new u(s.empty,0);var d=function(){function e(t,n,r,i){o(this,e),this.map=t,this.step=n,this.selection=r,this.mirrorOffset=i}return a(e,[{key:"merge",value:function(t){if(this.step&&t.step&&!t.selection){var n=t.step.merge(this.step);if(n)return new e(n.getMap().invert(),n,this.selection)}}}]),e}(),p=a((function e(t,n,r,i,a){o(this,e),this.done=t,this.undone=n,this.prevRanges=r,this.prevTime=i,this.prevComposition=a})),f=20;function h(e){for(var t=[],n=e.length-1;n>=0&&0==t.length;n--)e[n].forEach((function(e,n,r,o){return t.push(r,o)}));return t}function m(e,t){if(!e)return null;for(var n=[],r=0;r<e.length;r+=2){var o=t.map(e[r],1),i=t.map(e[r+1],-1);o<=i&&n.push(o,i)}return n}var g=!1,v=null;function y(e){var t=e.plugins;if(v!=t){g=!1,v=t;for(var n=0;n<t.length;n++)if(t[n].spec.historyPreserveItems){g=!0;break}}return g}var b=new c.PluginKey("history"),x=new c.PluginKey("closeHistory");function w(e,t){return function(n,r){var o=b.getState(n);if(!o||0==(e?o.undone:o.done).eventCount)return!1;if(r){var i=function(e,t,n){var r=y(t),o=b.get(t).spec.config,i=(n?e.undone:e.done).popEvent(t,r);if(!i)return null;var a=i.selection.resolve(i.transform.doc),s=(n?e.done:e.undone).addTransform(i.transform,t.selection.getBookmark(),o,r),l=new p(n?s:i.remaining,n?i.remaining:s,null,0,-1);return i.transform.setSelection(a).setMeta(b,{redo:n,historyState:l})}(o,n,e);i&&r(t?i.scrollIntoView():i)}return!0}}var A=w(!1,!0),_=w(!0,!0),S=w(!1,!1),k=w(!0,!1);t.closeHistory=function(e){return e.setMeta(x,!0)},t.history=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return e={depth:e.depth||100,newGroupDelay:e.newGroupDelay||500},new c.Plugin({key:b,state:{init:function(){return new p(u.empty,u.empty,null,0,-1)},apply:function(t,n,r){return function(e,t,n,r){var o,i=n.getMeta(b);if(i)return i.historyState;n.getMeta(x)&&(e=new p(e.done,e.undone,null,0,-1));var a=n.getMeta("appendedTransaction");if(0==n.steps.length)return e;if(a&&a.getMeta(b))return a.getMeta(b).redo?new p(e.done.addTransform(n,void 0,r,y(t)),e.undone,h(n.mapping.maps),e.prevTime,e.prevComposition):new p(e.done,e.undone.addTransform(n,void 0,r,y(t)),null,e.prevTime,e.prevComposition);if(!1===n.getMeta("addToHistory")||a&&!1===a.getMeta("addToHistory"))return(o=n.getMeta("rebased"))?new p(e.done.rebased(n,o),e.undone.rebased(n,o),m(e.prevRanges,n.mapping),e.prevTime,e.prevComposition):new p(e.done.addMaps(n.mapping.maps),e.undone.addMaps(n.mapping.maps),m(e.prevRanges,n.mapping),e.prevTime,e.prevComposition);var s=n.getMeta("composition"),l=0==e.prevTime||!a&&e.prevComposition!=s&&(e.prevTime<(n.time||0)-r.newGroupDelay||!function(e,t){if(!t)return!1;if(!e.docChanged)return!0;var n=!1;return e.mapping.maps[0].forEach((function(e,r){for(var o=0;o<t.length;o+=2)e<=t[o+1]&&r>=t[o]&&(n=!0)})),n}(n,e.prevRanges)),c=a?m(e.prevRanges,n.mapping):h(n.mapping.maps);return new p(e.done.addTransform(n,l?t.selection.getBookmark():void 0,r,y(t)),u.empty,c,n.time,null==s?e.prevComposition:s)}(n,r,t,e)}},config:e,props:{handleDOMEvents:{beforeinput:function(e,t){var n=t.inputType,r="historyUndo"==n?A:"historyRedo"==n?_:null;return!!r&&(t.preventDefault(),r(e.state,e.dispatch))}}}})},t.redo=_,t.redoDepth=function(e){var t=b.getState(e);return t?t.undone.eventCount:0},t.redoNoScroll=k,t.undo=A,t.undoDepth=function(e){var t=b.getState(e);return t?t.done.eventCount:0},t.undoNoScroll=S},88136:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(76237),o=n(37820),i="undefined"!=typeof navigator&&/Mac|iP(hone|[oa]d)/.test(navigator.platform);function a(e){var t,n,r,o,a=e.split(/-(?!$)/),s=a[a.length-1];"Space"==s&&(s=" ");for(var l=0;l<a.length-1;l++){var c=a[l];if(/^(cmd|meta|m)$/i.test(c))o=!0;else if(/^a(lt)?$/i.test(c))t=!0;else if(/^(c|ctrl|control)$/i.test(c))n=!0;else if(/^s(hift)?$/i.test(c))r=!0;else{if(!/^mod$/i.test(c))throw new Error("Unrecognized modifier name: "+c);i?o=!0:n=!0}}return t&&(s="Alt-"+s),n&&(s="Ctrl-"+s),o&&(s="Meta-"+s),r&&(s="Shift-"+s),s}function s(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return t.altKey&&(e="Alt-"+e),t.ctrlKey&&(e="Ctrl-"+e),t.metaKey&&(e="Meta-"+e),n&&t.shiftKey&&(e="Shift-"+e),e}function l(e){var t=function(e){var t=Object.create(null);for(var n in e)t[a(n)]=e[n];return t}(e);return function(e,n){var o,i=r.keyName(n),a=t[s(i,n)];if(a&&a(e.state,e.dispatch,e))return!0;if(1==i.length&&" "!=i){if(n.shiftKey){var l=t[s(i,n,!1)];if(l&&l(e.state,e.dispatch,e))return!0}if((n.shiftKey||n.altKey||n.metaKey||i.charCodeAt(0)>127)&&(o=r.base[n.keyCode])&&o!=i){var c=t[s(o,n)];if(c&&c(e.state,e.dispatch,e))return!0}}return!1}}t.keydownHandler=l,t.keymap=function(e){return new o.Plugin({props:{handleKeyDown:l(e)}})}},77712:function(e,t,n){"use strict";function r(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return o(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return o(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function i(){return i="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=p(e)););return e}(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(arguments.length<3?e:n):o.value}},i.apply(this,arguments)}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&d(e,t)}function s(e){var t=u();return function(){var n,r=p(e);if(t){var o=p(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return function(e,t){if(t&&("object"===f(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,n)}}function l(e){var t="function"==typeof Map?new Map:void 0;return l=function(e){if(null===e||!function(e){try{return-1!==Function.toString.call(e).indexOf("[native code]")}catch(t){return"function"==typeof e}}(e))return e;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,n)}function n(){return c(e,arguments,p(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),d(n,e)},l(e)}function c(e,t,n){return c=u()?Reflect.construct.bind():function(e,t,n){var r=[null];r.push.apply(r,t);var o=new(Function.bind.apply(e,r));return n&&d(o,n.prototype),o},c.apply(null,arguments)}function u(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function d(e,t){return d=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},d(e,t)}function p(e){return p=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},p(e)}function f(e){return f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},f(e)}function h(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function m(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,(o=r.key,i=void 0,i=function(e,t){if("object"!==f(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==f(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(o,"string"),"symbol"===f(i)?i:String(i)),r)}var o,i}function g(e,t,n){return t&&m(e.prototype,t),n&&m(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}var v=n(63717);function y(e,t,n){for(var r=0;;r++){if(r==e.childCount||r==t.childCount)return e.childCount==t.childCount?null:n;var o=e.child(r),i=t.child(r);if(o!=i){if(!o.sameMarkup(i))return n;if(o.isText&&o.text!=i.text){for(var a=0;o.text[a]==i.text[a];a++)n++;return n}if(o.content.size||i.content.size){var s=y(o.content,i.content,n+1);if(null!=s)return s}n+=o.nodeSize}else n+=o.nodeSize}}function b(e,t,n,r){for(var o=e.childCount,i=t.childCount;;){if(0==o||0==i)return o==i?null:{a:n,b:r};var a=e.child(--o),s=t.child(--i),l=a.nodeSize;if(a!=s){if(!a.sameMarkup(s))return{a:n,b:r};if(a.isText&&a.text!=s.text){for(var c=0,u=Math.min(a.text.length,s.text.length);c<u&&a.text[a.text.length-c-1]==s.text[s.text.length-c-1];)c++,n--,r--;return{a:n,b:r}}if(a.content.size||s.content.size){var d=b(a.content,s.content,n-1,r-1);if(d)return d}n-=l,r-=l}else n-=l,r-=l}}var x=function(){function e(t,n){if(h(this,e),this.content=t,this.size=n||0,null==n)for(var r=0;r<t.length;r++)this.size+=t[r].nodeSize}return g(e,[{key:"nodesBetween",value:function(e,t,n){for(var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,o=arguments.length>4?arguments[4]:void 0,i=0,a=0;a<t;i++){var s=this.content[i],l=a+s.nodeSize;if(l>e&&!1!==n(s,r+a,o||null,i)&&s.content.size){var c=a+1;s.nodesBetween(Math.max(0,e-c),Math.min(s.content.size,t-c),n,r+c)}a=l}}},{key:"descendants",value:function(e){this.nodesBetween(0,this.size,e)}},{key:"textBetween",value:function(e,t,n,r){var o="",i=!0;return this.nodesBetween(e,t,(function(a,s){var l=a.isText?a.text.slice(Math.max(e,s)-s,t-s):a.isLeaf?r?"function"==typeof r?r(a):r:a.type.spec.leafText?a.type.spec.leafText(a):"":"";a.isBlock&&(a.isLeaf&&l||a.isTextblock)&&n&&(i?i=!1:o+=n),o+=l}),0),o}},{key:"append",value:function(t){if(!t.size)return this;if(!this.size)return t;var n=this.lastChild,r=t.firstChild,o=this.content.slice(),i=0;for(n.isText&&n.sameMarkup(r)&&(o[o.length-1]=n.withText(n.text+r.text),i=1);i<t.content.length;i++)o.push(t.content[i]);return new e(o,this.size+t.size)}},{key:"cut",value:function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.size;if(0==t&&n==this.size)return this;var r=[],o=0;if(n>t)for(var i=0,a=0;a<n;i++){var s=this.content[i],l=a+s.nodeSize;l>t&&((a<t||l>n)&&(s=s.isText?s.cut(Math.max(0,t-a),Math.min(s.text.length,n-a)):s.cut(Math.max(0,t-a-1),Math.min(s.content.size,n-a-1))),r.push(s),o+=s.nodeSize),a=l}return new e(r,o)}},{key:"cutByIndex",value:function(t,n){return t==n?e.empty:0==t&&n==this.content.length?this:new e(this.content.slice(t,n))}},{key:"replaceChild",value:function(t,n){var r=this.content[t];if(r==n)return this;var o=this.content.slice(),i=this.size+n.nodeSize-r.nodeSize;return o[t]=n,new e(o,i)}},{key:"addToStart",value:function(t){return new e([t].concat(this.content),this.size+t.nodeSize)}},{key:"addToEnd",value:function(t){return new e(this.content.concat(t),this.size+t.nodeSize)}},{key:"eq",value:function(e){if(this.content.length!=e.content.length)return!1;for(var t=0;t<this.content.length;t++)if(!this.content[t].eq(e.content[t]))return!1;return!0}},{key:"firstChild",get:function(){return this.content.length?this.content[0]:null}},{key:"lastChild",get:function(){return this.content.length?this.content[this.content.length-1]:null}},{key:"childCount",get:function(){return this.content.length}},{key:"child",value:function(e){var t=this.content[e];if(!t)throw new RangeError("Index "+e+" out of range for "+this);return t}},{key:"maybeChild",value:function(e){return this.content[e]||null}},{key:"forEach",value:function(e){for(var t=0,n=0;t<this.content.length;t++){var r=this.content[t];e(r,n,t),n+=r.nodeSize}}},{key:"findDiffStart",value:function(e){return y(this,e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:0)}},{key:"findDiffEnd",value:function(e){return b(this,e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.size,arguments.length>2&&void 0!==arguments[2]?arguments[2]:e.size)}},{key:"findIndex",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:-1;if(0==e)return A(0,e);if(e==this.size)return A(this.content.length,e);if(e>this.size||e<0)throw new RangeError("Position ".concat(e," outside of fragment (").concat(this,")"));for(var n=0,r=0;;n++){var o=r+this.child(n).nodeSize;if(o>=e)return o==e||t>0?A(n+1,o):A(n,r);r=o}}},{key:"toString",value:function(){return"<"+this.toStringInner()+">"}},{key:"toStringInner",value:function(){return this.content.join(", ")}},{key:"toJSON",value:function(){return this.content.length?this.content.map((function(e){return e.toJSON()})):null}}],[{key:"fromJSON",value:function(t,n){if(!n)return e.empty;if(!Array.isArray(n))throw new RangeError("Invalid input for Fragment.fromJSON");return new e(n.map(t.nodeFromJSON))}},{key:"fromArray",value:function(t){if(!t.length)return e.empty;for(var n,r=0,o=0;o<t.length;o++){var i=t[o];r+=i.nodeSize,o&&i.isText&&t[o-1].sameMarkup(i)?(n||(n=t.slice(0,o)),n[n.length-1]=i.withText(n[n.length-1].text+i.text)):n&&n.push(i)}return new e(n||t,r)}},{key:"from",value:function(t){if(!t)return e.empty;if(t instanceof e)return t;if(Array.isArray(t))return this.fromArray(t);if(t.attrs)return new e([t],t.nodeSize);throw new RangeError("Can not convert "+t+" to a Fragment"+(t.nodesBetween?" (looks like multiple versions of prosemirror-model were loaded)":""))}}]),e}();x.empty=new x([],0);var w={index:0,offset:0};function A(e,t){return w.index=e,w.offset=t,w}function _(e,t){if(e===t)return!0;if(!e||"object"!=f(e)||!t||"object"!=f(t))return!1;var n=Array.isArray(e);if(Array.isArray(t)!=n)return!1;if(n){if(e.length!=t.length)return!1;for(var r=0;r<e.length;r++)if(!_(e[r],t[r]))return!1}else{for(var o in e)if(!(o in t)||!_(e[o],t[o]))return!1;for(var i in t)if(!(i in e))return!1}return!0}var S=function(){function e(t,n){h(this,e),this.type=t,this.attrs=n}return g(e,[{key:"addToSet",value:function(e){for(var t,n=!1,r=0;r<e.length;r++){var o=e[r];if(this.eq(o))return e;if(this.type.excludes(o.type))t||(t=e.slice(0,r));else{if(o.type.excludes(this.type))return e;!n&&o.type.rank>this.type.rank&&(t||(t=e.slice(0,r)),t.push(this),n=!0),t&&t.push(o)}}return t||(t=e.slice()),n||t.push(this),t}},{key:"removeFromSet",value:function(e){for(var t=0;t<e.length;t++)if(this.eq(e[t]))return e.slice(0,t).concat(e.slice(t+1));return e}},{key:"isInSet",value:function(e){for(var t=0;t<e.length;t++)if(this.eq(e[t]))return!0;return!1}},{key:"eq",value:function(e){return this==e||this.type==e.type&&_(this.attrs,e.attrs)}},{key:"toJSON",value:function(){var e={type:this.type.name};for(var t in this.attrs){e.attrs=this.attrs;break}return e}}],[{key:"fromJSON",value:function(e,t){if(!t)throw new RangeError("Invalid input for Mark.fromJSON");var n=e.marks[t.type];if(!n)throw new RangeError("There is no mark type ".concat(t.type," in this schema"));var r=n.create(t.attrs);return n.checkAttrs(r.attrs),r}},{key:"sameSet",value:function(e,t){if(e==t)return!0;if(e.length!=t.length)return!1;for(var n=0;n<e.length;n++)if(!e[n].eq(t[n]))return!1;return!0}},{key:"setFrom",value:function(t){if(!t||Array.isArray(t)&&0==t.length)return e.none;if(t instanceof e)return[t];var n=t.slice();return n.sort((function(e,t){return e.type.rank-t.type.rank})),n}}]),e}();S.none=[];var k=function(e){a(n,e);var t=s(n);function n(){return h(this,n),t.apply(this,arguments)}return g(n)}(l(Error)),C=function(){function e(t,n,r){h(this,e),this.content=t,this.openStart=n,this.openEnd=r}return g(e,[{key:"size",get:function(){return this.content.size-this.openStart-this.openEnd}},{key:"insertAt",value:function(t,n){var r=M(this.content,t+this.openStart,n);return r&&new e(r,this.openStart,this.openEnd)}},{key:"removeBetween",value:function(t,n){return new e(T(this.content,t+this.openStart,n+this.openStart),this.openStart,this.openEnd)}},{key:"eq",value:function(e){return this.content.eq(e.content)&&this.openStart==e.openStart&&this.openEnd==e.openEnd}},{key:"toString",value:function(){return this.content+"("+this.openStart+","+this.openEnd+")"}},{key:"toJSON",value:function(){if(!this.content.size)return null;var e={content:this.content.toJSON()};return this.openStart>0&&(e.openStart=this.openStart),this.openEnd>0&&(e.openEnd=this.openEnd),e}}],[{key:"fromJSON",value:function(t,n){if(!n)return e.empty;var r=n.openStart||0,o=n.openEnd||0;if("number"!=typeof r||"number"!=typeof o)throw new RangeError("Invalid input for Slice.fromJSON");return new e(x.fromJSON(t,n.content),r,o)}},{key:"maxOpen",value:function(t){for(var n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=0,o=0,i=t.firstChild;i&&!i.isLeaf&&(n||!i.type.spec.isolating);i=i.firstChild)r++;for(var a=t.lastChild;a&&!a.isLeaf&&(n||!a.type.spec.isolating);a=a.lastChild)o++;return new e(t,r,o)}}]),e}();function T(e,t,n){var r=e.findIndex(t),o=r.index,i=r.offset,a=e.maybeChild(o),s=e.findIndex(n),l=s.index,c=s.offset;if(i==t||a.isText){if(c!=n&&!e.child(l).isText)throw new RangeError("Removing non-flat range");return e.cut(0,t).append(e.cut(n))}if(o!=l)throw new RangeError("Removing non-flat range");return e.replaceChild(o,a.copy(T(a.content,t-i-1,n-i-1)))}function M(e,t,n,r){var o=e.findIndex(t),i=o.index,a=o.offset,s=e.maybeChild(i);if(a==t||s.isText)return r&&!r.canReplace(i,i,n)?null:e.cut(0,t).append(n).append(e.cut(t));var l=M(s.content,t-a-1,n);return l&&e.replaceChild(i,s.copy(l))}function P(e,t,n){if(n.openStart>e.depth)throw new k("Inserted content deeper than insertion position");if(e.depth-n.openStart!=t.depth-n.openEnd)throw new k("Inconsistent open depths");return O(e,t,n,0)}function O(e,t,n,r){var o=e.index(r),i=e.node(r);if(o==t.index(r)&&r<e.depth-n.openStart){var a=O(e,t,n,r+1);return i.copy(i.content.replaceChild(o,a))}if(n.content.size){if(n.openStart||n.openEnd||e.depth!=r||t.depth!=r){var s=function(e,t){for(var n=t.depth-e.openStart,r=t.node(n).copy(e.content),o=n-1;o>=0;o--)r=t.node(o).copy(x.from(r));return{start:r.resolveNoCache(e.openStart+n),end:r.resolveNoCache(r.content.size-e.openEnd-n)}}(n,e);return N(i,L(e,s.start,s.end,t,r))}var l=e.parent,c=l.content;return N(l,c.cut(0,e.parentOffset).append(n.content).append(c.cut(t.parentOffset)))}return N(i,j(e,t,r))}function E(e,t){if(!t.type.compatibleContent(e.type))throw new k("Cannot join "+t.type.name+" onto "+e.type.name)}function D(e,t,n){var r=e.node(n);return E(r,t.node(n)),r}function R(e,t){var n=t.length-1;n>=0&&e.isText&&e.sameMarkup(t[n])?t[n]=e.withText(t[n].text+e.text):t.push(e)}function I(e,t,n,r){var o=(t||e).node(n),i=0,a=t?t.index(n):o.childCount;e&&(i=e.index(n),e.depth>n?i++:e.textOffset&&(R(e.nodeAfter,r),i++));for(var s=i;s<a;s++)R(o.child(s),r);t&&t.depth==n&&t.textOffset&&R(t.nodeBefore,r)}function N(e,t){return e.type.checkContent(t),e.copy(t)}function L(e,t,n,r,o){var i=e.depth>o&&D(e,t,o+1),a=r.depth>o&&D(n,r,o+1),s=[];return I(null,e,o,s),i&&a&&t.index(o)==n.index(o)?(E(i,a),R(N(i,L(e,t,n,r,o+1)),s)):(i&&R(N(i,j(e,t,o+1)),s),I(t,n,o,s),a&&R(N(a,j(n,r,o+1)),s)),I(r,null,o,s),new x(s)}function j(e,t,n){var r=[];(I(null,e,n,r),e.depth>n)&&R(N(D(e,t,n+1),j(e,t,n+1)),r);return I(t,null,n,r),new x(r)}C.empty=new C(x.empty,0,0);var $=function(){function e(t,n,r){h(this,e),this.pos=t,this.path=n,this.parentOffset=r,this.depth=n.length/3-1}return g(e,[{key:"resolveDepth",value:function(e){return null==e?this.depth:e<0?this.depth+e:e}},{key:"parent",get:function(){return this.node(this.depth)}},{key:"doc",get:function(){return this.node(0)}},{key:"node",value:function(e){return this.path[3*this.resolveDepth(e)]}},{key:"index",value:function(e){return this.path[3*this.resolveDepth(e)+1]}},{key:"indexAfter",value:function(e){return e=this.resolveDepth(e),this.index(e)+(e!=this.depth||this.textOffset?1:0)}},{key:"start",value:function(e){return 0==(e=this.resolveDepth(e))?0:this.path[3*e-1]+1}},{key:"end",value:function(e){return e=this.resolveDepth(e),this.start(e)+this.node(e).content.size}},{key:"before",value:function(e){if(!(e=this.resolveDepth(e)))throw new RangeError("There is no position before the top-level node");return e==this.depth+1?this.pos:this.path[3*e-1]}},{key:"after",value:function(e){if(!(e=this.resolveDepth(e)))throw new RangeError("There is no position after the top-level node");return e==this.depth+1?this.pos:this.path[3*e-1]+this.path[3*e].nodeSize}},{key:"textOffset",get:function(){return this.pos-this.path[this.path.length-1]}},{key:"nodeAfter",get:function(){var e=this.parent,t=this.index(this.depth);if(t==e.childCount)return null;var n=this.pos-this.path[this.path.length-1],r=e.child(t);return n?e.child(t).cut(n):r}},{key:"nodeBefore",get:function(){var e=this.index(this.depth),t=this.pos-this.path[this.path.length-1];return t?this.parent.child(e).cut(0,t):0==e?null:this.parent.child(e-1)}},{key:"posAtIndex",value:function(e,t){t=this.resolveDepth(t);for(var n=this.path[3*t],r=0==t?0:this.path[3*t-1]+1,o=0;o<e;o++)r+=n.child(o).nodeSize;return r}},{key:"marks",value:function(){var e=this.parent,t=this.index();if(0==e.content.size)return S.none;if(this.textOffset)return e.child(t).marks;var n=e.maybeChild(t-1),r=e.maybeChild(t);if(!n){var o=n;n=r,r=o}for(var i=n.marks,a=0;a<i.length;a++)!1!==i[a].type.spec.inclusive||r&&i[a].isInSet(r.marks)||(i=i[a--].removeFromSet(i));return i}},{key:"marksAcross",value:function(e){var t=this.parent.maybeChild(this.index());if(!t||!t.isInline)return null;for(var n=t.marks,r=e.parent.maybeChild(e.index()),o=0;o<n.length;o++)!1!==n[o].type.spec.inclusive||r&&n[o].isInSet(r.marks)||(n=n[o--].removeFromSet(n));return n}},{key:"sharedDepth",value:function(e){for(var t=this.depth;t>0;t--)if(this.start(t)<=e&&this.end(t)>=e)return t;return 0}},{key:"blockRange",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this,t=arguments.length>1?arguments[1]:void 0;if(e.pos<this.pos)return e.blockRange(this);for(var n=this.depth-(this.parent.inlineContent||this.pos==e.pos?1:0);n>=0;n--)if(e.pos<=this.end(n)&&(!t||t(this.node(n))))return new H(this,e,n);return null}},{key:"sameParent",value:function(e){return this.pos-this.parentOffset==e.pos-e.parentOffset}},{key:"max",value:function(e){return e.pos>this.pos?e:this}},{key:"min",value:function(e){return e.pos<this.pos?e:this}},{key:"toString",value:function(){for(var e="",t=1;t<=this.depth;t++)e+=(e?"/":"")+this.node(t).type.name+"_"+this.index(t-1);return e+":"+this.parentOffset}}],[{key:"resolve",value:function(t,n){if(!(n>=0&&n<=t.content.size))throw new RangeError("Position "+n+" out of range");for(var r=[],o=0,i=n,a=t;;){var s=a.content.findIndex(i),l=s.index,c=s.offset,u=i-c;if(r.push(a,l,o+c),!u)break;if((a=a.child(l)).isText)break;i=u-1,o+=c+1}return new e(n,r,i)}},{key:"resolveCached",value:function(t,n){var r=B.get(t);if(r)for(var o=0;o<r.elts.length;o++){var i=r.elts[o];if(i.pos==n)return i}else B.set(t,r=new z);var a=r.elts[r.i]=e.resolve(t,n);return r.i=(r.i+1)%F,a}}]),e}(),z=g((function e(){h(this,e),this.elts=[],this.i=0})),F=12,B=new WeakMap,H=function(){function e(t,n,r){h(this,e),this.$from=t,this.$to=n,this.depth=r}return g(e,[{key:"start",get:function(){return this.$from.before(this.depth+1)}},{key:"end",get:function(){return this.$to.after(this.depth+1)}},{key:"parent",get:function(){return this.$from.node(this.depth)}},{key:"startIndex",get:function(){return this.$from.index(this.depth)}},{key:"endIndex",get:function(){return this.$to.indexAfter(this.depth)}}]),e}(),V=Object.create(null),W=function(){function e(t,n,r){var o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:S.none;h(this,e),this.type=t,this.attrs=n,this.marks=o,this.content=r||x.empty}return g(e,[{key:"nodeSize",get:function(){return this.isLeaf?1:2+this.content.size}},{key:"childCount",get:function(){return this.content.childCount}},{key:"child",value:function(e){return this.content.child(e)}},{key:"maybeChild",value:function(e){return this.content.maybeChild(e)}},{key:"forEach",value:function(e){this.content.forEach(e)}},{key:"nodesBetween",value:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0;this.content.nodesBetween(e,t,n,r,this)}},{key:"descendants",value:function(e){this.nodesBetween(0,this.content.size,e)}},{key:"textContent",get:function(){return this.isLeaf&&this.type.spec.leafText?this.type.spec.leafText(this):this.textBetween(0,this.content.size,"")}},{key:"textBetween",value:function(e,t,n,r){return this.content.textBetween(e,t,n,r)}},{key:"firstChild",get:function(){return this.content.firstChild}},{key:"lastChild",get:function(){return this.content.lastChild}},{key:"eq",value:function(e){return this==e||this.sameMarkup(e)&&this.content.eq(e.content)}},{key:"sameMarkup",value:function(e){return this.hasMarkup(e.type,e.attrs,e.marks)}},{key:"hasMarkup",value:function(e,t,n){return this.type==e&&_(this.attrs,t||e.defaultAttrs||V)&&S.sameSet(this.marks,n||S.none)}},{key:"copy",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return t==this.content?this:new e(this.type,this.attrs,t,this.marks)}},{key:"mark",value:function(t){return t==this.marks?this:new e(this.type,this.attrs,this.content,t)}},{key:"cut",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.content.size;return 0==e&&t==this.content.size?this:this.copy(this.content.cut(e,t))}},{key:"slice",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.content.size,n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(e==t)return C.empty;var r=this.resolve(e),o=this.resolve(t),i=n?0:r.sharedDepth(t),a=r.start(i),s=r.node(i).content.cut(r.pos-a,o.pos-a);return new C(s,r.depth-i,o.depth-i)}},{key:"replace",value:function(e,t,n){return P(this.resolve(e),this.resolve(t),n)}},{key:"nodeAt",value:function(e){for(var t=this;;){var n=t.content.findIndex(e),r=n.index,o=n.offset;if(!(t=t.maybeChild(r)))return null;if(o==e||t.isText)return t;e-=o+1}}},{key:"childAfter",value:function(e){var t=this.content.findIndex(e),n=t.index,r=t.offset;return{node:this.content.maybeChild(n),index:n,offset:r}}},{key:"childBefore",value:function(e){if(0==e)return{node:null,index:0,offset:0};var t=this.content.findIndex(e),n=t.index,r=t.offset;if(r<e)return{node:this.content.child(n),index:n,offset:r};var o=this.content.child(n-1);return{node:o,index:n-1,offset:r-o.nodeSize}}},{key:"resolve",value:function(e){return $.resolveCached(this,e)}},{key:"resolveNoCache",value:function(e){return $.resolve(this,e)}},{key:"rangeHasMark",value:function(e,t,n){var r=!1;return t>e&&this.nodesBetween(e,t,(function(e){return n.isInSet(e.marks)&&(r=!0),!r})),r}},{key:"isBlock",get:function(){return this.type.isBlock}},{key:"isTextblock",get:function(){return this.type.isTextblock}},{key:"inlineContent",get:function(){return this.type.inlineContent}},{key:"isInline",get:function(){return this.type.isInline}},{key:"isText",get:function(){return this.type.isText}},{key:"isLeaf",get:function(){return this.type.isLeaf}},{key:"isAtom",get:function(){return this.type.isAtom}},{key:"toString",value:function(){if(this.type.spec.toDebugString)return this.type.spec.toDebugString(this);var e=this.type.name;return this.content.size&&(e+="("+this.content.toStringInner()+")"),q(this.marks,e)}},{key:"contentMatchAt",value:function(e){var t=this.type.contentMatch.matchFragment(this.content,0,e);if(!t)throw new Error("Called contentMatchAt on a node with invalid content");return t}},{key:"canReplace",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:x.empty,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:n.childCount,i=this.contentMatchAt(e).matchFragment(n,r,o),a=i&&i.matchFragment(this.content,t);if(!a||!a.validEnd)return!1;for(var s=r;s<o;s++)if(!this.type.allowsMarks(n.child(s).marks))return!1;return!0}},{key:"canReplaceWith",value:function(e,t,n,r){if(r&&!this.type.allowsMarks(r))return!1;var o=this.contentMatchAt(e).matchType(n),i=o&&o.matchFragment(this.content,t);return!!i&&i.validEnd}},{key:"canAppend",value:function(e){return e.content.size?this.canReplace(this.childCount,this.childCount,e.content):this.type.compatibleContent(e.type)}},{key:"check",value:function(){this.type.checkContent(this.content),this.type.checkAttrs(this.attrs);for(var e=S.none,t=0;t<this.marks.length;t++){var n=this.marks[t];n.type.checkAttrs(n.attrs),e=n.addToSet(e)}if(!S.sameSet(e,this.marks))throw new RangeError("Invalid collection of marks for node ".concat(this.type.name,": ").concat(this.marks.map((function(e){return e.type.name}))));this.content.forEach((function(e){return e.check()}))}},{key:"toJSON",value:function(){var e={type:this.type.name};for(var t in this.attrs){e.attrs=this.attrs;break}return this.content.size&&(e.content=this.content.toJSON()),this.marks.length&&(e.marks=this.marks.map((function(e){return e.toJSON()}))),e}}],[{key:"fromJSON",value:function(e,t){if(!t)throw new RangeError("Invalid input for Node.fromJSON");var n=void 0;if(t.marks){if(!Array.isArray(t.marks))throw new RangeError("Invalid mark data for Node.fromJSON");n=t.marks.map(e.markFromJSON)}if("text"==t.type){if("string"!=typeof t.text)throw new RangeError("Invalid text node in JSON");return e.text(t.text,n)}var r=x.fromJSON(e,t.content),o=e.nodeType(t.type).create(t.attrs,r,n);return o.type.checkAttrs(o.attrs),o}}]),e}();W.prototype.text=void 0;var U=function(e){a(n,e);var t=s(n);function n(e,r,o,i){var a;if(h(this,n),a=t.call(this,e,r,null,i),!o)throw new RangeError("Empty text nodes are not allowed");return a.text=o,a}return g(n,[{key:"toString",value:function(){return this.type.spec.toDebugString?this.type.spec.toDebugString(this):q(this.marks,JSON.stringify(this.text))}},{key:"textContent",get:function(){return this.text}},{key:"textBetween",value:function(e,t){return this.text.slice(e,t)}},{key:"nodeSize",get:function(){return this.text.length}},{key:"mark",value:function(e){return e==this.marks?this:new n(this.type,this.attrs,this.text,e)}},{key:"withText",value:function(e){return e==this.text?this:new n(this.type,this.attrs,e,this.marks)}},{key:"cut",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.text.length;return 0==e&&t==this.text.length?this:this.withText(this.text.slice(e,t))}},{key:"eq",value:function(e){return this.sameMarkup(e)&&this.text==e.text}},{key:"toJSON",value:function(){var e=i(p(n.prototype),"toJSON",this).call(this);return e.text=this.text,e}}]),n}(W);function q(e,t){for(var n=e.length-1;n>=0;n--)t=e[n].type.name+"("+t+")";return t}var G=function(){function e(t){h(this,e),this.validEnd=t,this.next=[],this.wrapCache=[]}return g(e,[{key:"matchType",value:function(e){for(var t=0;t<this.next.length;t++)if(this.next[t].type==e)return this.next[t].next;return null}},{key:"matchFragment",value:function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e.childCount,r=this,o=t;r&&o<n;o++)r=r.matchType(e.child(o).type);return r}},{key:"inlineContent",get:function(){return 0!=this.next.length&&this.next[0].type.isInline}},{key:"defaultType",get:function(){for(var e=0;e<this.next.length;e++){var t=this.next[e].type;if(!t.isText&&!t.hasRequiredAttrs())return t}return null}},{key:"compatible",value:function(e){for(var t=0;t<this.next.length;t++)for(var n=0;n<e.next.length;n++)if(this.next[t].type==e.next[n].type)return!0;return!1}},{key:"fillBefore",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,r=[this];return function o(i,a){var s=i.matchFragment(e,n);if(s&&(!t||s.validEnd))return x.from(a.map((function(e){return e.createAndFill()})));for(var l=0;l<i.next.length;l++){var c=i.next[l],u=c.type,d=c.next;if(!u.isText&&!u.hasRequiredAttrs()&&-1==r.indexOf(d)){r.push(d);var p=o(d,a.concat(u));if(p)return p}}return null}(this,[])}},{key:"findWrapping",value:function(e){for(var t=0;t<this.wrapCache.length;t+=2)if(this.wrapCache[t]==e)return this.wrapCache[t+1];var n=this.computeWrapping(e);return this.wrapCache.push(e,n),n}},{key:"computeWrapping",value:function(e){for(var t=Object.create(null),n=[{match:this,type:null,via:null}];n.length;){var r=n.shift(),o=r.match;if(o.matchType(e)){for(var i=[],a=r;a.type;a=a.via)i.push(a.type);return i.reverse()}for(var s=0;s<o.next.length;s++){var l=o.next[s],c=l.type,u=l.next;c.isLeaf||c.hasRequiredAttrs()||c.name in t||r.type&&!u.validEnd||(n.push({match:c.contentMatch,type:c,via:r}),t[c.name]=!0)}}return null}},{key:"edgeCount",get:function(){return this.next.length}},{key:"edge",value:function(e){if(e>=this.next.length)throw new RangeError("There's no ".concat(e,"th edge in this content match"));return this.next[e]}},{key:"toString",value:function(){var e=[];return function t(n){e.push(n);for(var r=0;r<n.next.length;r++)-1==e.indexOf(n.next[r].next)&&t(n.next[r].next)}(this),e.map((function(t,n){for(var r=n+(t.validEnd?"*":" ")+" ",o=0;o<t.next.length;o++)r+=(o?", ":"")+t.next[o].type.name+"->"+e.indexOf(t.next[o].next);return r})).join("\n")}}],[{key:"parse",value:function(t,n){var r=new Y(t,n);if(null==r.next)return e.empty;var o=X(r);r.next&&r.err("Unexpected trailing text");var i=ne(function(e){var t=[[]];return o(i(e,0),n()),t;function n(){return t.push([])-1}function r(e,n,r){var o={term:r,to:n};return t[e].push(o),o}function o(e,t){e.forEach((function(e){return e.to=t}))}function i(e,t){if("choice"==e.type)return e.exprs.reduce((function(e,n){return e.concat(i(n,t))}),[]);if("seq"!=e.type){if("star"==e.type){var a=n();return r(t,a),o(i(e.expr,a),a),[r(a)]}if("plus"==e.type){var s=n();return o(i(e.expr,t),s),o(i(e.expr,s),s),[r(s)]}if("opt"==e.type)return[r(t)].concat(i(e.expr,t));if("range"==e.type){for(var l=t,c=0;c<e.min;c++){var u=n();o(i(e.expr,l),u),l=u}if(-1==e.max)o(i(e.expr,l),l);else for(var d=e.min;d<e.max;d++){var p=n();r(l,p),o(i(e.expr,l),p),l=p}return[r(l)]}if("name"==e.type)return[r(t,void 0,e.value)];throw new Error("Unknown expr type")}for(var f=0;;f++){var h=i(e.exprs[f],t);if(f==e.exprs.length-1)return h;o(h,t=n())}}}(o));return function(e,t){for(var n=0,r=[e];n<r.length;n++){for(var o=r[n],i=!o.validEnd,a=[],s=0;s<o.next.length;s++){var l=o.next[s],c=l.type,u=l.next;a.push(c.name),!i||c.isText||c.hasRequiredAttrs()||(i=!1),-1==r.indexOf(u)&&r.push(u)}i&&t.err("Only non-generatable nodes ("+a.join(", ")+") in a required position (see https://prosemirror.net/docs/guide/#generatable)")}}(i,r),i}}]),e}();G.empty=new G(!0);var Y=function(){function e(t,n){h(this,e),this.string=t,this.nodeTypes=n,this.inline=null,this.pos=0,this.tokens=t.split(/\s*(?=\b|\W|$)/),""==this.tokens[this.tokens.length-1]&&this.tokens.pop(),""==this.tokens[0]&&this.tokens.shift()}return g(e,[{key:"next",get:function(){return this.tokens[this.pos]}},{key:"eat",value:function(e){return this.next==e&&(this.pos++||!0)}},{key:"err",value:function(e){throw new SyntaxError(e+" (in content expression '"+this.string+"')")}}]),e}();function X(e){var t=[];do{t.push(K(e))}while(e.eat("|"));return 1==t.length?t[0]:{type:"choice",exprs:t}}function K(e){var t=[];do{t.push(Z(e))}while(e.next&&")"!=e.next&&"|"!=e.next);return 1==t.length?t[0]:{type:"seq",exprs:t}}function Z(e){for(var t=function(e){if(e.eat("(")){var t=X(e);return e.eat(")")||e.err("Missing closing paren"),t}if(!/\W/.test(e.next)){var n=function(e,t){var n=e.nodeTypes,r=n[t];if(r)return[r];var o=[];for(var i in n){var a=n[i];a.groups.indexOf(t)>-1&&o.push(a)}0==o.length&&e.err("No node type or group '"+t+"' found");return o}(e,e.next).map((function(t){return null==e.inline?e.inline=t.isInline:e.inline!=t.isInline&&e.err("Mixing inline and block content"),{type:"name",value:t}}));return e.pos++,1==n.length?n[0]:{type:"choice",exprs:n}}e.err("Unexpected token '"+e.next+"'")}(e);;)if(e.eat("+"))t={type:"plus",expr:t};else if(e.eat("*"))t={type:"star",expr:t};else if(e.eat("?"))t={type:"opt",expr:t};else{if(!e.eat("{"))break;t=Q(e,t)}return t}function J(e){/\D/.test(e.next)&&e.err("Expected number, got '"+e.next+"'");var t=Number(e.next);return e.pos++,t}function Q(e,t){var n=J(e),r=n;return e.eat(",")&&(r="}"!=e.next?J(e):-1),e.eat("}")||e.err("Unclosed braced range"),{type:"range",min:n,max:r,expr:t}}function ee(e,t){return t-e}function te(e,t){var n=[];return function t(r){var o=e[r];if(1==o.length&&!o[0].term)return t(o[0].to);n.push(r);for(var i=0;i<o.length;i++){var a=o[i],s=a.term,l=a.to;s||-1!=n.indexOf(l)||t(l)}}(t),n.sort(ee)}function ne(e){var t=Object.create(null);return function n(r){var o=[];r.forEach((function(t){e[t].forEach((function(t){var n=t.term,r=t.to;if(n){for(var i,a=0;a<o.length;a++)o[a][0]==n&&(i=o[a][1]);te(e,r).forEach((function(e){i||o.push([n,i=[]]),-1==i.indexOf(e)&&i.push(e)}))}}))}));for(var i=t[r.join(",")]=new G(r.indexOf(e.length-1)>-1),a=0;a<o.length;a++){var s=o[a][1].sort(ee);i.next.push({type:o[a][0],next:t[s.join(",")]||n(s)})}return i}(te(e,0))}function re(e){var t=Object.create(null);for(var n in e){var r=e[n];if(!r.hasDefault)return null;t[n]=r.default}return t}function oe(e,t){var n=Object.create(null);for(var r in e){var o=t&&t[r];if(void 0===o){var i=e[r];if(!i.hasDefault)throw new RangeError("No value supplied for attribute "+r);o=i.default}n[r]=o}return n}function ie(e,t,n,r){for(var o in t)if(!(o in e))throw new RangeError("Unsupported attribute ".concat(o," for ").concat(n," of type ").concat(o));for(var i in e){var a=e[i];a.validate&&a.validate(t[i])}}function ae(e){var t=Object.create(null);if(e)for(var n in e)t[n]=new le(e[n]);return t}var se=function(){function e(t,n,r){h(this,e),this.name=t,this.schema=n,this.spec=r,this.markSet=null,this.groups=r.group?r.group.split(" "):[],this.attrs=ae(r.attrs),this.defaultAttrs=re(this.attrs),this.contentMatch=null,this.inlineContent=null,this.isBlock=!(r.inline||"text"==t),this.isText="text"==t}return g(e,[{key:"isInline",get:function(){return!this.isBlock}},{key:"isTextblock",get:function(){return this.isBlock&&this.inlineContent}},{key:"isLeaf",get:function(){return this.contentMatch==G.empty}},{key:"isAtom",get:function(){return this.isLeaf||!!this.spec.atom}},{key:"whitespace",get:function(){return this.spec.whitespace||(this.spec.code?"pre":"normal")}},{key:"hasRequiredAttrs",value:function(){for(var e in this.attrs)if(this.attrs[e].isRequired)return!0;return!1}},{key:"compatibleContent",value:function(e){return this==e||this.contentMatch.compatible(e.contentMatch)}},{key:"computeAttrs",value:function(e){return!e&&this.defaultAttrs?this.defaultAttrs:oe(this.attrs,e)}},{key:"create",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1?arguments[1]:void 0,n=arguments.length>2?arguments[2]:void 0;if(this.isText)throw new Error("NodeType.create can't construct text nodes");return new W(this,this.computeAttrs(e),x.from(t),S.setFrom(n))}},{key:"createChecked",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1?arguments[1]:void 0,n=arguments.length>2?arguments[2]:void 0;return t=x.from(t),this.checkContent(t),new W(this,this.computeAttrs(e),t,S.setFrom(n))}},{key:"createAndFill",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1?arguments[1]:void 0,n=arguments.length>2?arguments[2]:void 0;if(e=this.computeAttrs(e),(t=x.from(t)).size){var r=this.contentMatch.fillBefore(t);if(!r)return null;t=r.append(t)}var o=this.contentMatch.matchFragment(t),i=o&&o.fillBefore(x.empty,!0);return i?new W(this,e,t.append(i),S.setFrom(n)):null}},{key:"validContent",value:function(e){var t=this.contentMatch.matchFragment(e);if(!t||!t.validEnd)return!1;for(var n=0;n<e.childCount;n++)if(!this.allowsMarks(e.child(n).marks))return!1;return!0}},{key:"checkContent",value:function(e){if(!this.validContent(e))throw new RangeError("Invalid content for node ".concat(this.name,": ").concat(e.toString().slice(0,50)))}},{key:"checkAttrs",value:function(e){ie(this.attrs,e,"node",this.name)}},{key:"allowsMarkType",value:function(e){return null==this.markSet||this.markSet.indexOf(e)>-1}},{key:"allowsMarks",value:function(e){if(null==this.markSet)return!0;for(var t=0;t<e.length;t++)if(!this.allowsMarkType(e[t].type))return!1;return!0}},{key:"allowedMarks",value:function(e){if(null==this.markSet)return e;for(var t,n=0;n<e.length;n++)this.allowsMarkType(e[n].type)?t&&t.push(e[n]):t||(t=e.slice(0,n));return t?t.length?t:S.none:e}}],[{key:"compile",value:function(t,n){var r=Object.create(null);t.forEach((function(t,o){return r[t]=new e(t,n,o)}));var o=n.spec.topNode||"doc";if(!r[o])throw new RangeError("Schema is missing its top node type ('"+o+"')");if(!r.text)throw new RangeError("Every schema needs a 'text' type");for(var i in r.text.attrs)throw new RangeError("The text node type should not have attributes");return r}}]),e}();var le=function(){function e(t){var n,r;h(this,e),this.hasDefault=Object.prototype.hasOwnProperty.call(t,"default"),this.default=t.default,this.validate="string"==typeof t.validate?(n=t.validate,r=n.split("|"),function(e){var t=null===e?"null":f(e);if(r.indexOf(t)<0)throw new RangeError("Expected value of type ".concat(r,", got ").concat(t))}):t.validate}return g(e,[{key:"isRequired",get:function(){return!this.hasDefault}}]),e}(),ce=function(){function e(t,n,r,o){h(this,e),this.name=t,this.rank=n,this.schema=r,this.spec=o,this.attrs=ae(o.attrs),this.excluded=null;var i=re(this.attrs);this.instance=i?new S(this,i):null}return g(e,[{key:"create",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return!e&&this.instance?this.instance:new S(this,oe(this.attrs,e))}},{key:"removeFromSet",value:function(e){for(var t=0;t<e.length;t++)e[t].type==this&&(e=e.slice(0,t).concat(e.slice(t+1)),t--);return e}},{key:"isInSet",value:function(e){for(var t=0;t<e.length;t++)if(e[t].type==this)return e[t]}},{key:"checkAttrs",value:function(e){ie(this.attrs,e,"mark",this.name)}},{key:"excludes",value:function(e){return this.excluded.indexOf(e)>-1}}],[{key:"compile",value:function(t,n){var r=Object.create(null),o=0;return t.forEach((function(t,i){return r[t]=new e(t,o++,n,i)})),r}}]),e}(),ue=function(){function e(t){h(this,e),this.linebreakReplacement=null,this.cached=Object.create(null);var n=this.spec={};for(var r in t)n[r]=t[r];n.nodes=v.from(t.nodes),n.marks=v.from(t.marks||{}),this.nodes=se.compile(this.spec.nodes,this),this.marks=ce.compile(this.spec.marks,this);var o=Object.create(null);for(var i in this.nodes){if(i in this.marks)throw new RangeError(i+" can not be both a node and a mark");var a=this.nodes[i],s=a.spec.content||"",l=a.spec.marks;if(a.contentMatch=o[s]||(o[s]=G.parse(s,this.nodes)),a.inlineContent=a.contentMatch.inlineContent,a.spec.linebreakReplacement){if(this.linebreakReplacement)throw new RangeError("Multiple linebreak nodes defined");if(!a.isInline||!a.isLeaf)throw new RangeError("Linebreak replacement nodes must be inline leaf nodes");this.linebreakReplacement=a}a.markSet="_"==l?null:l?de(this,l.split(" ")):""!=l&&a.inlineContent?null:[]}for(var c in this.marks){var u=this.marks[c],d=u.spec.excludes;u.excluded=null==d?[u]:""==d?[]:de(this,d.split(" "))}this.nodeFromJSON=this.nodeFromJSON.bind(this),this.markFromJSON=this.markFromJSON.bind(this),this.topNodeType=this.nodes[this.spec.topNode||"doc"],this.cached.wrappings=Object.create(null)}return g(e,[{key:"node",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2?arguments[2]:void 0,r=arguments.length>3?arguments[3]:void 0;if("string"==typeof e)e=this.nodeType(e);else{if(!(e instanceof se))throw new RangeError("Invalid node type: "+e);if(e.schema!=this)throw new RangeError("Node type from different schema used ("+e.name+")")}return e.createChecked(t,n,r)}},{key:"text",value:function(e,t){var n=this.nodes.text;return new U(n,n.defaultAttrs,e,S.setFrom(t))}},{key:"mark",value:function(e,t){return"string"==typeof e&&(e=this.marks[e]),e.create(t)}},{key:"nodeFromJSON",value:function(e){return W.fromJSON(this,e)}},{key:"markFromJSON",value:function(e){return S.fromJSON(this,e)}},{key:"nodeType",value:function(e){var t=this.nodes[e];if(!t)throw new RangeError("Unknown node type: "+e);return t}}]),e}();function de(e,t){for(var n=[],r=0;r<t.length;r++){var o=t[r],i=e.marks[o],a=i;if(i)n.push(i);else for(var s in e.marks){var l=e.marks[s];("_"==o||l.spec.group&&l.spec.group.split(" ").indexOf(o)>-1)&&n.push(a=l)}if(!a)throw new SyntaxError("Unknown mark type: '"+t[r]+"'")}return n}var pe=function(){function e(t,n){var r=this;h(this,e),this.schema=t,this.rules=n,this.tags=[],this.styles=[];var o=this.matchedStyles=[];n.forEach((function(e){if(function(e){return null!=e.tag}(e))r.tags.push(e);else if(function(e){return null!=e.style}(e)){var t=/[^=]*/.exec(e.style)[0];o.indexOf(t)<0&&o.push(t),r.styles.push(e)}})),this.normalizeLists=!this.tags.some((function(e){if(!/^(ul|ol)\b/.test(e.tag)||!e.node)return!1;var n=t.nodes[e.node];return n.contentMatch.matchType(n)}))}return g(e,[{key:"parse",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=new ye(this,t,!1);return n.addAll(e,t.from,t.to),n.finish()}},{key:"parseSlice",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=new ye(this,t,!0);return n.addAll(e,t.from,t.to),C.maxOpen(n.finish())}},{key:"matchTag",value:function(e,t,n){for(var r=n?this.tags.indexOf(n)+1:0;r<this.tags.length;r++){var o=this.tags[r];if(be(e,o.tag)&&(void 0===o.namespace||e.namespaceURI==o.namespace)&&(!o.context||t.matchesContext(o.context))){if(o.getAttrs){var i=o.getAttrs(e);if(!1===i)continue;o.attrs=i||void 0}return o}}}},{key:"matchStyle",value:function(e,t,n,r){for(var o=r?this.styles.indexOf(r)+1:0;o<this.styles.length;o++){var i=this.styles[o],a=i.style;if(!(0!=a.indexOf(e)||i.context&&!n.matchesContext(i.context)||a.length>e.length&&(61!=a.charCodeAt(e.length)||a.slice(e.length+1)!=t))){if(i.getAttrs){var s=i.getAttrs(t);if(!1===s)continue;i.attrs=s||void 0}return i}}}}],[{key:"schemaRules",value:function(e){var t=[];function n(e){for(var n=null==e.priority?50:e.priority,r=0;r<t.length;r++){var o=t[r];if((null==o.priority?50:o.priority)<n)break}t.splice(r,0,e)}var r=function(t){var r=e.marks[t].spec.parseDOM;r&&r.forEach((function(e){n(e=xe(e)),e.mark||e.ignore||e.clearMark||(e.mark=t)}))};for(var o in e.marks)r(o);var i=function(t){var r=e.nodes[t].spec.parseDOM;r&&r.forEach((function(e){n(e=xe(e)),e.node||e.ignore||e.mark||(e.node=t)}))};for(var a in e.nodes)i(a);return t}},{key:"fromSchema",value:function(t){return t.cached.domParser||(t.cached.domParser=new e(t,e.schemaRules(t)))}}]),e}(),fe={address:!0,article:!0,aside:!0,blockquote:!0,canvas:!0,dd:!0,div:!0,dl:!0,fieldset:!0,figcaption:!0,figure:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,li:!0,noscript:!0,ol:!0,output:!0,p:!0,pre:!0,section:!0,table:!0,tfoot:!0,ul:!0},he={head:!0,noscript:!0,object:!0,script:!0,style:!0,title:!0},me={ol:!0,ul:!0};function ge(e,t,n){return null!=t?(t?1:0)|("full"===t?2:0):e&&"pre"==e.whitespace?3:-5&n}var ve=function(){function e(t,n,r,o,i,a,s){h(this,e),this.type=t,this.attrs=n,this.marks=r,this.pendingMarks=o,this.solid=i,this.options=s,this.content=[],this.activeMarks=S.none,this.stashMarks=[],this.match=a||(4&s?null:t.contentMatch)}return g(e,[{key:"findWrapping",value:function(e){if(!this.match){if(!this.type)return[];var t=this.type.contentMatch.fillBefore(x.from(e));if(!t){var n,r=this.type.contentMatch;return(n=r.findWrapping(e.type))?(this.match=r,n):null}this.match=this.type.contentMatch.matchFragment(t)}return this.match.findWrapping(e.type)}},{key:"finish",value:function(e){if(!(1&this.options)){var t,n=this.content[this.content.length-1];if(n&&n.isText&&(t=/[ \t\r\n\u000c]+$/.exec(n.text))){var r=n;n.text.length==t[0].length?this.content.pop():this.content[this.content.length-1]=r.withText(r.text.slice(0,r.text.length-t[0].length))}}var o=x.from(this.content);return!e&&this.match&&(o=o.append(this.match.fillBefore(x.empty,!0))),this.type?this.type.create(this.attrs,o,this.marks):o}},{key:"popFromStashMark",value:function(e){for(var t=this.stashMarks.length-1;t>=0;t--)if(e.eq(this.stashMarks[t]))return this.stashMarks.splice(t,1)[0]}},{key:"applyPending",value:function(e){for(var t=0,n=this.pendingMarks;t<n.length;t++){var r=n[t];(this.type?this.type.allowsMarkType(r.type):we(r.type,e))&&!r.isInSet(this.activeMarks)&&(this.activeMarks=r.addToSet(this.activeMarks),this.pendingMarks=r.removeFromSet(this.pendingMarks))}}},{key:"inlineContext",value:function(e){return this.type?this.type.inlineContent:this.content.length?this.content[0].isInline:e.parentNode&&!fe.hasOwnProperty(e.parentNode.nodeName.toLowerCase())}}]),e}(),ye=function(){function e(t,n,r){h(this,e),this.parser=t,this.options=n,this.isOpen=r,this.open=0;var o,i=n.topNode,a=ge(null,n.preserveWhitespace,0)|(r?4:0);o=i?new ve(i.type,i.attrs,S.none,S.none,!0,n.topMatch||i.type.contentMatch,a):new ve(r?null:t.schema.topNodeType,null,S.none,S.none,!0,null,a),this.nodes=[o],this.find=n.findPositions,this.needsBlock=!1}return g(e,[{key:"top",get:function(){return this.nodes[this.open]}},{key:"addDOM",value:function(e){3==e.nodeType?this.addTextNode(e):1==e.nodeType&&this.addElement(e)}},{key:"withStyleRules",value:function(e,t){var n=e.style;if(!n||!n.length)return t();var o=this.readStyles(e.style);if(o){for(var i=r(o,2),a=i[0],s=i[1],l=this.top,c=0;c<s.length;c++)this.removePendingMark(s[c],l);for(var u=0;u<a.length;u++)this.addPendingMark(a[u]);t();for(var d=0;d<a.length;d++)this.removePendingMark(a[d],l);for(var p=0;p<s.length;p++)this.addPendingMark(s[p])}}},{key:"addTextNode",value:function(e){var t=e.nodeValue,n=this.top;if(2&n.options||n.inlineContext(e)||/[^ \t\r\n\u000c]/.test(t)){if(1&n.options)t=2&n.options?t.replace(/\r\n?/g,"\n"):t.replace(/\r?\n|\r/g," ");else if(t=t.replace(/[ \t\r\n\u000c]+/g," "),/^[ \t\r\n\u000c]/.test(t)&&this.open==this.nodes.length-1){var r=n.content[n.content.length-1],o=e.previousSibling;(!r||o&&"BR"==o.nodeName||r.isText&&/[ \t\r\n\u000c]$/.test(r.text))&&(t=t.slice(1))}t&&this.insertNode(this.parser.schema.text(t)),this.findInText(e)}else this.findInside(e)}},{key:"addElement",value:function(e,t){var n,r=this,o=e.nodeName.toLowerCase();me.hasOwnProperty(o)&&this.parser.normalizeLists&&function(e){for(var t=e.firstChild,n=null;t;t=t.nextSibling){var r=1==t.nodeType?t.nodeName.toLowerCase():null;r&&me.hasOwnProperty(r)&&n?(n.appendChild(t),t=n):"li"==r?n=t:r&&(n=null)}}(e);var i=this.options.ruleFromNode&&this.options.ruleFromNode(e)||(n=this.parser.matchTag(e,this,t));if(i?i.ignore:he.hasOwnProperty(o))this.findInside(e),this.ignoreFallback(e);else if(!i||i.skip||i.closeParent){i&&i.closeParent?this.open=Math.max(0,this.open-1):i&&i.skip.nodeType&&(e=i.skip);var a,s=this.top,l=this.needsBlock;if(fe.hasOwnProperty(o))s.content.length&&s.content[0].isInline&&this.open&&(this.open--,s=this.top),a=!0,s.type||(this.needsBlock=!0);else if(!e.firstChild)return void this.leafFallback(e);i&&i.skip?this.addAll(e):this.withStyleRules(e,(function(){return r.addAll(e)})),a&&this.sync(s),this.needsBlock=l}else this.withStyleRules(e,(function(){r.addElementByRule(e,i,!1===i.consuming?n:void 0)}))}},{key:"leafFallback",value:function(e){"BR"==e.nodeName&&this.top.type&&this.top.type.inlineContent&&this.addTextNode(e.ownerDocument.createTextNode("\n"))}},{key:"ignoreFallback",value:function(e){"BR"!=e.nodeName||this.top.type&&this.top.type.inlineContent||this.findPlace(this.parser.schema.text("-"))}},{key:"readStyles",value:function(e){var t=this,n=S.none,r=S.none;if(e.length)for(var o=0;o<this.parser.matchedStyles.length;o++){var i=this.parser.matchedStyles[o],a=e.getPropertyValue(i);if(a)for(var s,l=function(e){var o=t.parser.matchStyle(i,a,t,e);return o?o.ignore?{v:null}:(o.clearMark?t.top.pendingMarks.concat(t.top.activeMarks).forEach((function(e){o.clearMark(e)&&(r=e.addToSet(r))})):n=t.parser.schema.marks[o.mark].create(o.attrs).addToSet(n),!1!==o.consuming?(c=e,0):void(c=e=o)):(c=e,0)},c=void 0;0!==(s=l(c));)if(s)return s.v}return[n,r]}},{key:"addElementByRule",value:function(e,t,n){var r,o,i,a=this;t.node?(o=this.parser.schema.nodes[t.node]).isLeaf?this.insertNode(o.create(t.attrs))||this.leafFallback(e):r=this.enter(o,t.attrs||null,t.preserveWhitespace):(i=this.parser.schema.marks[t.mark].create(t.attrs),this.addPendingMark(i));var s=this.top;if(o&&o.isLeaf)this.findInside(e);else if(n)this.addElement(e,n);else if(t.getContent)this.findInside(e),t.getContent(e,this.parser.schema).forEach((function(e){return a.insertNode(e)}));else{var l=e;"string"==typeof t.contentElement?l=e.querySelector(t.contentElement):"function"==typeof t.contentElement?l=t.contentElement(e):t.contentElement&&(l=t.contentElement),this.findAround(e,l,!0),this.addAll(l)}r&&this.sync(s)&&this.open--,i&&this.removePendingMark(i,s)}},{key:"addAll",value:function(e,t,n){for(var r=t||0,o=t?e.childNodes[t]:e.firstChild,i=null==n?null:e.childNodes[n];o!=i;o=o.nextSibling,++r)this.findAtPoint(e,r),this.addDOM(o);this.findAtPoint(e,r)}},{key:"findPlace",value:function(e){for(var t,n,r=this.open;r>=0;r--){var o=this.nodes[r],i=o.findWrapping(e);if(i&&(!t||t.length>i.length)&&(t=i,n=o,!i.length))break;if(o.solid)break}if(!t)return!1;this.sync(n);for(var a=0;a<t.length;a++)this.enterInner(t[a],null,!1);return!0}},{key:"insertNode",value:function(e){if(e.isInline&&this.needsBlock&&!this.top.type){var t=this.textblockFromContext();t&&this.enterInner(t)}if(this.findPlace(e)){this.closeExtra();var n=this.top;n.applyPending(e.type),n.match&&(n.match=n.match.matchType(e.type));for(var r=n.activeMarks,o=0;o<e.marks.length;o++)n.type&&!n.type.allowsMarkType(e.marks[o].type)||(r=e.marks[o].addToSet(r));return n.content.push(e.mark(r)),!0}return!1}},{key:"enter",value:function(e,t,n){var r=this.findPlace(e.create(t));return r&&this.enterInner(e,t,!0,n),r}},{key:"enterInner",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=arguments.length>3?arguments[3]:void 0;this.closeExtra();var o=this.top;o.applyPending(e),o.match=o.match&&o.match.matchType(e);var i=ge(e,r,o.options);4&o.options&&0==o.content.length&&(i|=4),this.nodes.push(new ve(e,t,o.activeMarks,o.pendingMarks,n,null,i)),this.open++}},{key:"closeExtra",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=this.nodes.length-1;if(t>this.open){for(;t>this.open;t--)this.nodes[t-1].content.push(this.nodes[t].finish(e));this.nodes.length=this.open+1}}},{key:"finish",value:function(){return this.open=0,this.closeExtra(this.isOpen),this.nodes[0].finish(this.isOpen||this.options.topOpen)}},{key:"sync",value:function(e){for(var t=this.open;t>=0;t--)if(this.nodes[t]==e)return this.open=t,!0;return!1}},{key:"currentPos",get:function(){this.closeExtra();for(var e=0,t=this.open;t>=0;t--){for(var n=this.nodes[t].content,r=n.length-1;r>=0;r--)e+=n[r].nodeSize;t&&e++}return e}},{key:"findAtPoint",value:function(e,t){if(this.find)for(var n=0;n<this.find.length;n++)this.find[n].node==e&&this.find[n].offset==t&&(this.find[n].pos=this.currentPos)}},{key:"findInside",value:function(e){if(this.find)for(var t=0;t<this.find.length;t++)null==this.find[t].pos&&1==e.nodeType&&e.contains(this.find[t].node)&&(this.find[t].pos=this.currentPos)}},{key:"findAround",value:function(e,t,n){if(e!=t&&this.find)for(var r=0;r<this.find.length;r++){if(null==this.find[r].pos&&1==e.nodeType&&e.contains(this.find[r].node))t.compareDocumentPosition(this.find[r].node)&(n?2:4)&&(this.find[r].pos=this.currentPos)}}},{key:"findInText",value:function(e){if(this.find)for(var t=0;t<this.find.length;t++)this.find[t].node==e&&(this.find[t].pos=this.currentPos-(e.nodeValue.length-this.find[t].offset))}},{key:"matchesContext",value:function(e){var t=this;if(e.indexOf("|")>-1)return e.split(/\s*\|\s*/).some(this.matchesContext,this);var n=e.split("/"),r=this.options.context,o=!(this.isOpen||r&&r.parent.type!=this.nodes[0].type),i=-(r?r.depth+1:0)+(o?0:1);return function e(a,s){for(;a>=0;a--){var l=n[a];if(""==l){if(a==n.length-1||0==a)continue;for(;s>=i;s--)if(e(a-1,s))return!0;return!1}var c=s>0||0==s&&o?t.nodes[s].type:r&&s>=i?r.node(s-i).type:null;if(!c||c.name!=l&&-1==c.groups.indexOf(l))return!1;s--}return!0}(n.length-1,this.open)}},{key:"textblockFromContext",value:function(){var e=this.options.context;if(e)for(var t=e.depth;t>=0;t--){var n=e.node(t).contentMatchAt(e.indexAfter(t)).defaultType;if(n&&n.isTextblock&&n.defaultAttrs)return n}for(var r in this.parser.schema.nodes){var o=this.parser.schema.nodes[r];if(o.isTextblock&&o.defaultAttrs)return o}}},{key:"addPendingMark",value:function(e){var t=function(e,t){for(var n=0;n<t.length;n++)if(e.eq(t[n]))return t[n]}(e,this.top.pendingMarks);t&&this.top.stashMarks.push(t),this.top.pendingMarks=e.addToSet(this.top.pendingMarks)}},{key:"removePendingMark",value:function(e,t){for(var n=this.open;n>=0;n--){var r=this.nodes[n];if(r.pendingMarks.lastIndexOf(e)>-1)r.pendingMarks=e.removeFromSet(r.pendingMarks);else{r.activeMarks=e.removeFromSet(r.activeMarks);var o=r.popFromStashMark(e);o&&r.type&&r.type.allowsMarkType(o.type)&&(r.activeMarks=o.addToSet(r.activeMarks))}if(r==t)break}}}]),e}();function be(e,t){return(e.matches||e.msMatchesSelector||e.webkitMatchesSelector||e.mozMatchesSelector).call(e,t)}function xe(e){var t={};for(var n in e)t[n]=e[n];return t}function we(e,t){var n,r=t.schema.nodes,o=function(){var n=r[i];if(!n.allowsMarkType(e))return 0;var o=[];return function e(n){o.push(n);for(var r=0;r<n.edgeCount;r++){var i=n.edge(r),a=i.type,s=i.next;if(a==t)return!0;if(o.indexOf(s)<0&&e(s))return!0}}(n.contentMatch)?{v:!0}:void 0};for(var i in r)if(0!==(n=o())&&n)return n.v}var Ae=function(){function e(t,n){h(this,e),this.nodes=t,this.marks=n}return g(e,[{key:"serializeFragment",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0;r||(r=Se(n).createDocumentFragment());var o=r,i=[];return e.forEach((function(e){if(i.length||e.marks.length){for(var r=0,a=0;r<i.length&&a<e.marks.length;){var s=e.marks[a];if(t.marks[s.type.name]){if(!s.eq(i[r][0])||!1===s.type.spec.spanning)break;r++,a++}else a++}for(;r<i.length;)o=i.pop()[1];for(;a<e.marks.length;){var l=e.marks[a++],c=t.serializeMark(l,e.isInline,n);c&&(i.push([l,o]),o.appendChild(c.dom),o=c.contentDOM||c.dom)}}o.appendChild(t.serializeNodeInner(e,n))})),r}},{key:"serializeNodeInner",value:function(e,t){var n=Te(Se(t),this.nodes[e.type.name](e),null,e.attrs),r=n.dom,o=n.contentDOM;if(o){if(e.isLeaf)throw new RangeError("Content hole not allowed in a leaf node spec");this.serializeFragment(e.content,t,o)}return r}},{key:"serializeNode",value:function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=this.serializeNodeInner(e,t),r=e.marks.length-1;r>=0;r--){var o=this.serializeMark(e.marks[r],e.isInline,t);o&&((o.contentDOM||o.dom).appendChild(n),n=o.dom)}return n}},{key:"serializeMark",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=this.marks[e.type.name];return r&&Te(Se(n),r(e,t),null,e.attrs)}}],[{key:"renderSpec",value:function(e,t){return Te(e,t,arguments.length>2&&void 0!==arguments[2]?arguments[2]:null)}},{key:"fromSchema",value:function(t){return t.cached.domSerializer||(t.cached.domSerializer=new e(this.nodesFromSchema(t),this.marksFromSchema(t)))}},{key:"nodesFromSchema",value:function(e){var t=_e(e.nodes);return t.text||(t.text=function(e){return e.text}),t}},{key:"marksFromSchema",value:function(e){return _e(e.marks)}}]),e}();function _e(e){var t={};for(var n in e){var r=e[n].spec.toDOM;r&&(t[n]=r)}return t}function Se(e){return e.document||window.document}var ke=new WeakMap;function Ce(e){var t=ke.get(e);return void 0===t&&ke.set(e,t=function(e){var t=null;function n(e){if(e&&"object"==f(e))if(Array.isArray(e))if("string"==typeof e[0])t||(t=[]),t.push(e);else for(var r=0;r<e.length;r++)n(e[r]);else for(var o in e)n(e[o])}return n(e),t}(e)),t}function Te(e,t,n,r){if("string"==typeof t)return{dom:e.createTextNode(t)};if(null!=t.nodeType)return{dom:t};if(t.dom&&null!=t.dom.nodeType)return t;var o,i=t[0];if("string"!=typeof i)throw new RangeError("Invalid array passed to renderSpec");if(r&&(o=Ce(r))&&o.indexOf(t)>-1)throw new RangeError("Using an array from an attribute object as a DOM spec. This may be an attempted cross site scripting attack.");var a,s=i.indexOf(" ");s>0&&(n=i.slice(0,s),i=i.slice(s+1));var l=n?e.createElementNS(n,i):e.createElement(i),c=t[1],u=1;if(c&&"object"==f(c)&&null==c.nodeType&&!Array.isArray(c))for(var d in u=2,c)if(null!=c[d]){var p=d.indexOf(" ");p>0?l.setAttributeNS(d.slice(0,p),d.slice(p+1),c[d]):l.setAttribute(d,c[d])}for(var h=u;h<t.length;h++){var m=t[h];if(0===m){if(h<t.length-1||h>u)throw new RangeError("Content hole must be the only child of its parent node");return{dom:l,contentDOM:l}}var g=Te(e,m,n,r),v=g.dom,y=g.contentDOM;if(l.appendChild(v),y){if(a)throw new RangeError("Multiple content holes");a=y}}return{dom:l,contentDOM:a}}t.ContentMatch=G,t.DOMParser=pe,t.DOMSerializer=Ae,t.Fragment=x,t.Mark=S,t.MarkType=ce,t.Node=W,t.NodeRange=H,t.NodeType=se,t.ReplaceError=k,t.ResolvedPos=$,t.Schema=ue,t.Slice=C},34243:function(e,t,n){"use strict";var r=n(36553),o=n(77712),i=n(37820),a=["ol",0],s=["ul",0],l=["li",0],c={attrs:{order:{default:1,validate:"number"}},parseDOM:[{tag:"ol",getAttrs:function(e){return{order:e.hasAttribute("start")?+e.getAttribute("start"):1}}}],toDOM:function(e){return 1==e.attrs.order?a:["ol",{start:e.attrs.order},0]}},u={parseDOM:[{tag:"ul"}],toDOM:function(){return s}},d={parseDOM:[{tag:"li"}],toDOM:function(){return l},defining:!0};function p(e,t){var n={};for(var r in e)n[r]=e[r];for(var o in t)n[o]=t[o];return n}function f(e,t){return function(n,a){var s=n.selection,l=s.$from,c=s.$to,u=s.node;if(u&&u.isBlock||l.depth<2||!l.sameParent(c))return!1;var d=l.node(-1);if(d.type!=e)return!1;if(0==l.parent.content.size&&l.node(-1).childCount==l.indexAfter(-1)){if(3==l.depth||l.node(-3).type!=e||l.index(-2)!=l.node(-2).childCount-1)return!1;if(a){for(var p=o.Fragment.empty,f=l.index(-1)?1:l.index(-2)?2:3,h=l.depth-f;h>=l.depth-3;h--)p=o.Fragment.from(l.node(h).copy(p));var m=l.indexAfter(-1)<l.node(-2).childCount?1:l.indexAfter(-2)<l.node(-3).childCount?2:3;p=p.append(o.Fragment.from(e.createAndFill()));var g=l.before(l.depth-(f-1)),v=n.tr.replace(g,l.after(-m),new o.Slice(p,4-f,0)),y=-1;v.doc.nodesBetween(g,v.doc.content.size,(function(e,t){if(y>-1)return!1;e.isTextblock&&0==e.content.size&&(y=t+1)})),y>-1&&v.setSelection(i.Selection.near(v.doc.resolve(y))),a(v.scrollIntoView())}return!0}var b=c.pos==l.end()?d.contentMatchAt(0).defaultType:null,x=n.tr.delete(l.pos,c.pos),w=b?[t?{type:e,attrs:t}:null,{type:b}]:void 0;return!!r.canSplit(x.doc,l.pos,2,w)&&(a&&a(x.split(l.pos,2,w).scrollIntoView()),!0)}}t.addListNodes=function(e,t,n){return e.append({ordered_list:p(c,{content:"list_item+",group:n}),bullet_list:p(u,{content:"list_item+",group:n}),list_item:p(d,{content:t})})},t.bulletList=u,t.liftListItem=function(e){return function(t,n){var i=t.selection,a=i.$from,s=i.$to,l=a.blockRange(s,(function(t){return t.childCount>0&&t.firstChild.type==e}));return!!l&&(!n||(a.node(l.depth-1).type==e?function(e,t,n,i){var a=e.tr,s=i.end,l=i.$to.end(i.depth);s<l&&(a.step(new r.ReplaceAroundStep(s-1,l,s,l,new o.Slice(o.Fragment.from(n.create(null,i.parent.copy())),1,0),1,!0)),i=new o.NodeRange(a.doc.resolve(i.$from.pos),a.doc.resolve(l),i.depth));var c=r.liftTarget(i);if(null==c)return!1;a.lift(i,c);var u=a.mapping.map(s,-1)-1;r.canJoin(a.doc,u)&&a.join(u);return t(a.scrollIntoView()),!0}(t,n,e,l):function(e,t,n){for(var i=e.tr,a=n.parent,s=n.end,l=n.endIndex-1,c=n.startIndex;l>c;l--)s-=a.child(l).nodeSize,i.delete(s-1,s+1);var u=i.doc.resolve(n.start),d=u.nodeAfter;if(i.mapping.map(n.end)!=n.start+u.nodeAfter.nodeSize)return!1;var p=0==n.startIndex,f=n.endIndex==a.childCount,h=u.node(-1),m=u.index(-1);if(!h.canReplace(m+(p?0:1),m+1,d.content.append(f?o.Fragment.empty:o.Fragment.from(a))))return!1;var g=u.pos,v=g+d.nodeSize;return i.step(new r.ReplaceAroundStep(g-(p?1:0),v+(f?1:0),g+1,v-1,new o.Slice((p?o.Fragment.empty:o.Fragment.from(a.copy(o.Fragment.empty))).append(f?o.Fragment.empty:o.Fragment.from(a.copy(o.Fragment.empty))),p?0:1,f?0:1),p?0:1)),t(i.scrollIntoView()),!0}(t,n,l)))}},t.listItem=d,t.orderedList=c,t.sinkListItem=function(e){return function(t,n){var i=t.selection,a=i.$from,s=i.$to,l=a.blockRange(s,(function(t){return t.childCount>0&&t.firstChild.type==e}));if(!l)return!1;var c=l.startIndex;if(0==c)return!1;var u=l.parent,d=u.child(c-1);if(d.type!=e)return!1;if(n){var p=d.lastChild&&d.lastChild.type==u.type,f=o.Fragment.from(p?e.create():null),h=new o.Slice(o.Fragment.from(e.create(null,o.Fragment.from(u.type.create(null,f)))),p?3:1,0),m=l.start,g=l.end;n(t.tr.step(new r.ReplaceAroundStep(m-(p?3:1),g,m,g,h,1,!0)).scrollIntoView())}return!0}},t.splitListItem=f,t.splitListItemKeepMarks=function(e,t){var n=f(e,t);return function(e,t){return n(e,t&&function(n){var r=e.storedMarks||e.selection.$to.parentOffset&&e.selection.$from.marks();r&&n.ensureMarks(r),t(n)})}},t.wrapInList=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return function(n,i){var a=n.selection,s=a.$from,l=a.$to,c=s.blockRange(l),u=!1,d=c;if(!c)return!1;if(c.depth>=2&&s.node(c.depth-1).type.compatibleContent(e)&&0==c.startIndex){if(0==s.index(c.depth-1))return!1;var p=n.doc.resolve(c.start-2);d=new o.NodeRange(p,p,c.depth),c.endIndex<c.parent.childCount&&(c=new o.NodeRange(s,n.doc.resolve(l.end(c.depth)),c.depth)),u=!0}var f=r.findWrapping(d,e,t,c);return!!f&&(i&&i(function(e,t,n,i,a){for(var s=o.Fragment.empty,l=n.length-1;l>=0;l--)s=o.Fragment.from(n[l].type.create(n[l].attrs,s));e.step(new r.ReplaceAroundStep(t.start-(i?2:0),t.end,t.start,t.end,new o.Slice(s,0,0),n.length,!0));for(var c=0,u=0;u<n.length;u++)n[u].type==a&&(c=u+1);for(var d=n.length-c,p=t.start+n.length-(i?2:0),f=t.parent,h=t.startIndex,m=t.endIndex,g=!0;h<m;h++,g=!1)!g&&r.canSplit(e.doc,p,d)&&(e.split(p,d),p+=2*d),p+=f.child(h).nodeSize;return e}(n.tr,c,f,u,e).scrollIntoView()),!0)}}},37820:function(e,t,n){"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function o(){return o="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=l(e)););return e}(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(arguments.length<3?e:n):o.value}},o.apply(this,arguments)}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&a(e,t)}function a(e,t){return a=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},a(e,t)}function s(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,o=l(e);if(t){var i=l(this).constructor;n=Reflect.construct(o,arguments,i)}else n=o.apply(this,arguments);return function(e,t){if(t&&("object"===r(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,n)}}function l(e){return l=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},l(e)}function c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function d(e,t,n){return t&&u(e.prototype,t),n&&u(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}Object.defineProperty(t,"__esModule",{value:!0});var p=n(77712),f=n(36553),h=Object.create(null),m=function(){function e(t,n,r){c(this,e),this.$anchor=t,this.$head=n,this.ranges=r||[new g(t.min(n),t.max(n))]}return d(e,[{key:"anchor",get:function(){return this.$anchor.pos}},{key:"head",get:function(){return this.$head.pos}},{key:"from",get:function(){return this.$from.pos}},{key:"to",get:function(){return this.$to.pos}},{key:"$from",get:function(){return this.ranges[0].$from}},{key:"$to",get:function(){return this.ranges[0].$to}},{key:"empty",get:function(){for(var e=this.ranges,t=0;t<e.length;t++)if(e[t].$from.pos!=e[t].$to.pos)return!1;return!0}},{key:"content",value:function(){return this.$from.doc.slice(this.from,this.to,!0)}},{key:"replace",value:function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:p.Slice.empty,n=t.content.lastChild,r=null,o=0;o<t.openEnd;o++)r=n,n=n.lastChild;for(var i=e.steps.length,a=this.ranges,s=0;s<a.length;s++){var l=a[s],c=l.$from,u=l.$to,d=e.mapping.slice(i);e.replaceRange(d.map(c.pos),d.map(u.pos),s?p.Slice.empty:t),0==s&&C(e,i,(n?n.isInline:r&&r.isTextblock)?-1:1)}}},{key:"replaceWith",value:function(e,t){for(var n=e.steps.length,r=this.ranges,o=0;o<r.length;o++){var i=r[o],a=i.$from,s=i.$to,l=e.mapping.slice(n),c=l.map(a.pos),u=l.map(s.pos);o?e.deleteRange(c,u):(e.replaceRangeWith(c,u,t),C(e,n,t.isInline?-1:1))}}},{key:"getBookmark",value:function(){return b.between(this.$anchor,this.$head).getBookmark()}}],[{key:"findFrom",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=e.parent.inlineContent?new b(e):k(e.node(0),e.parent,e.pos,e.index(),t,n);if(r)return r;for(var o=e.depth-1;o>=0;o--){var i=t<0?k(e.node(0),e.node(o),e.before(o+1),e.index(o),t,n):k(e.node(0),e.node(o),e.after(o+1),e.index(o)+1,t,n);if(i)return i}return null}},{key:"near",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return this.findFrom(e,t)||this.findFrom(e,-t)||new _(e.node(0))}},{key:"atStart",value:function(e){return k(e,e,0,0,1)||new _(e)}},{key:"atEnd",value:function(e){return k(e,e,e.content.size,e.childCount,-1)||new _(e)}},{key:"fromJSON",value:function(e,t){if(!t||!t.type)throw new RangeError("Invalid input for Selection.fromJSON");var n=h[t.type];if(!n)throw new RangeError("No selection type ".concat(t.type," defined"));return n.fromJSON(e,t)}},{key:"jsonID",value:function(e,t){if(e in h)throw new RangeError("Duplicate use of selection JSON ID "+e);return h[e]=t,t.prototype.jsonID=e,t}}]),e}();m.prototype.visible=!0;var g=d((function e(t,n){c(this,e),this.$from=t,this.$to=n})),v=!1;function y(e){v||e.parent.inlineContent||(v=!0,console.warn("TextSelection endpoint not pointing into a node with inline content ("+e.parent.type.name+")"))}var b=function(e){i(n,e);var t=s(n);function n(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e;return c(this,n),y(e),y(r),t.call(this,e,r)}return d(n,[{key:"$cursor",get:function(){return this.$anchor.pos==this.$head.pos?this.$head:null}},{key:"map",value:function(e,t){var r=e.resolve(t.map(this.head));if(!r.parent.inlineContent)return m.near(r);var o=e.resolve(t.map(this.anchor));return new n(o.parent.inlineContent?o:r,r)}},{key:"replace",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:p.Slice.empty;if(o(l(n.prototype),"replace",this).call(this,e,t),t==p.Slice.empty){var r=this.$from.marksAcross(this.$to);r&&e.ensureMarks(r)}}},{key:"eq",value:function(e){return e instanceof n&&e.anchor==this.anchor&&e.head==this.head}},{key:"getBookmark",value:function(){return new x(this.anchor,this.head)}},{key:"toJSON",value:function(){return{type:"text",anchor:this.anchor,head:this.head}}}],[{key:"fromJSON",value:function(e,t){if("number"!=typeof t.anchor||"number"!=typeof t.head)throw new RangeError("Invalid input for TextSelection.fromJSON");return new n(e.resolve(t.anchor),e.resolve(t.head))}},{key:"create",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:t,r=e.resolve(t);return new this(r,n==t?r:e.resolve(n))}},{key:"between",value:function(e,t,r){var o=e.pos-t.pos;if(r&&!o||(r=o>=0?1:-1),!t.parent.inlineContent){var i=m.findFrom(t,r,!0)||m.findFrom(t,-r,!0);if(!i)return m.near(t,r);t=i.$head}return e.parent.inlineContent||(0==o||(e=(m.findFrom(e,-r,!0)||m.findFrom(e,r,!0)).$anchor).pos<t.pos!=o<0)&&(e=t),new n(e,t)}}]),n}(m);m.jsonID("text",b);var x=function(){function e(t,n){c(this,e),this.anchor=t,this.head=n}return d(e,[{key:"map",value:function(t){return new e(t.map(this.anchor),t.map(this.head))}},{key:"resolve",value:function(e){return b.between(e.resolve(this.anchor),e.resolve(this.head))}}]),e}(),w=function(e){i(n,e);var t=s(n);function n(e){var r;c(this,n);var o=e.nodeAfter,i=e.node(0).resolve(e.pos+o.nodeSize);return(r=t.call(this,e,i)).node=o,r}return d(n,[{key:"map",value:function(e,t){var r=t.mapResult(this.anchor),o=r.deleted,i=r.pos,a=e.resolve(i);return o?m.near(a):new n(a)}},{key:"content",value:function(){return new p.Slice(p.Fragment.from(this.node),0,0)}},{key:"eq",value:function(e){return e instanceof n&&e.anchor==this.anchor}},{key:"toJSON",value:function(){return{type:"node",anchor:this.anchor}}},{key:"getBookmark",value:function(){return new A(this.anchor)}}],[{key:"fromJSON",value:function(e,t){if("number"!=typeof t.anchor)throw new RangeError("Invalid input for NodeSelection.fromJSON");return new n(e.resolve(t.anchor))}},{key:"create",value:function(e,t){return new n(e.resolve(t))}},{key:"isSelectable",value:function(e){return!e.isText&&!1!==e.type.spec.selectable}}]),n}(m);w.prototype.visible=!1,m.jsonID("node",w);var A=function(){function e(t){c(this,e),this.anchor=t}return d(e,[{key:"map",value:function(t){var n=t.mapResult(this.anchor),r=n.deleted,o=n.pos;return r?new x(o,o):new e(o)}},{key:"resolve",value:function(e){var t=e.resolve(this.anchor),n=t.nodeAfter;return n&&w.isSelectable(n)?new w(t):m.near(t)}}]),e}(),_=function(e){i(n,e);var t=s(n);function n(e){return c(this,n),t.call(this,e.resolve(0),e.resolve(e.content.size))}return d(n,[{key:"replace",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:p.Slice.empty;if(t==p.Slice.empty){e.delete(0,e.doc.content.size);var r=m.atStart(e.doc);r.eq(e.selection)||e.setSelection(r)}else o(l(n.prototype),"replace",this).call(this,e,t)}},{key:"toJSON",value:function(){return{type:"all"}}},{key:"map",value:function(e){return new n(e)}},{key:"eq",value:function(e){return e instanceof n}},{key:"getBookmark",value:function(){return S}}],[{key:"fromJSON",value:function(e){return new n(e)}}]),n}(m);m.jsonID("all",_);var S={map:function(){return this},resolve:function(e){return new _(e)}};function k(e,t,n,r,o){var i=arguments.length>5&&void 0!==arguments[5]&&arguments[5];if(t.inlineContent)return b.create(e,n);for(var a=r-(o>0?0:1);o>0?a<t.childCount:a>=0;a+=o){var s=t.child(a);if(s.isAtom){if(!i&&w.isSelectable(s))return w.create(e,n-(o<0?s.nodeSize:0))}else{var l=k(e,s,n+o,o<0?s.childCount:0,o,i);if(l)return l}n+=s.nodeSize*o}return null}function C(e,t,n){var r=e.steps.length-1;if(!(r<t)){var o,i=e.steps[r];if(i instanceof f.ReplaceStep||i instanceof f.ReplaceAroundStep)e.mapping.maps[r].forEach((function(e,t,n,r){null==o&&(o=r)})),e.setSelection(m.near(e.doc.resolve(o),n))}}var T=function(e){i(n,e);var t=s(n);function n(e){var r;return c(this,n),(r=t.call(this,e.doc)).curSelectionFor=0,r.updated=0,r.meta=Object.create(null),r.time=Date.now(),r.curSelection=e.selection,r.storedMarks=e.storedMarks,r}return d(n,[{key:"selection",get:function(){return this.curSelectionFor<this.steps.length&&(this.curSelection=this.curSelection.map(this.doc,this.mapping.slice(this.curSelectionFor)),this.curSelectionFor=this.steps.length),this.curSelection}},{key:"setSelection",value:function(e){if(e.$from.doc!=this.doc)throw new RangeError("Selection passed to setSelection must point at the current document");return this.curSelection=e,this.curSelectionFor=this.steps.length,this.updated=-3&this.updated|1,this.storedMarks=null,this}},{key:"selectionSet",get:function(){return(1&this.updated)>0}},{key:"setStoredMarks",value:function(e){return this.storedMarks=e,this.updated|=2,this}},{key:"ensureMarks",value:function(e){return p.Mark.sameSet(this.storedMarks||this.selection.$from.marks(),e)||this.setStoredMarks(e),this}},{key:"addStoredMark",value:function(e){return this.ensureMarks(e.addToSet(this.storedMarks||this.selection.$head.marks()))}},{key:"removeStoredMark",value:function(e){return this.ensureMarks(e.removeFromSet(this.storedMarks||this.selection.$head.marks()))}},{key:"storedMarksSet",get:function(){return(2&this.updated)>0}},{key:"addStep",value:function(e,t){o(l(n.prototype),"addStep",this).call(this,e,t),this.updated=-3&this.updated,this.storedMarks=null}},{key:"setTime",value:function(e){return this.time=e,this}},{key:"replaceSelection",value:function(e){return this.selection.replace(this,e),this}},{key:"replaceSelectionWith",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=this.selection;return t&&(e=e.mark(this.storedMarks||(n.empty?n.$from.marks():n.$from.marksAcross(n.$to)||p.Mark.none))),n.replaceWith(this,e),this}},{key:"deleteSelection",value:function(){return this.selection.replace(this),this}},{key:"insertText",value:function(e,t,n){var r=this.doc.type.schema;if(null==t)return e?this.replaceSelectionWith(r.text(e),!0):this.deleteSelection();if(null==n&&(n=t),n=null==n?t:n,!e)return this.deleteRange(t,n);var o=this.storedMarks;if(!o){var i=this.doc.resolve(t);o=n==t?i.marks():i.marksAcross(this.doc.resolve(n))}return this.replaceRangeWith(t,n,r.text(e,o)),this.selection.empty||this.setSelection(m.near(this.selection.$to)),this}},{key:"setMeta",value:function(e,t){return this.meta["string"==typeof e?e:e.key]=t,this}},{key:"getMeta",value:function(e){return this.meta["string"==typeof e?e:e.key]}},{key:"isGeneric",get:function(){for(var e in this.meta)return!1;return!0}},{key:"scrollIntoView",value:function(){return this.updated|=4,this}},{key:"scrolledIntoView",get:function(){return(4&this.updated)>0}}]),n}(f.Transform);function M(e,t){return t&&e?e.bind(t):e}var P=d((function e(t,n,r){c(this,e),this.name=t,this.init=M(n.init,r),this.apply=M(n.apply,r)})),O=[new P("doc",{init:function(e){return e.doc||e.schema.topNodeType.createAndFill()},apply:function(e){return e.doc}}),new P("selection",{init:function(e,t){return e.selection||m.atStart(t.doc)},apply:function(e){return e.selection}}),new P("storedMarks",{init:function(e){return e.storedMarks||null},apply:function(e,t,n,r){return r.selection.$cursor?e.storedMarks:null}}),new P("scrollToSelection",{init:function(){return 0},apply:function(e,t){return e.scrolledIntoView?t+1:t}})],E=d((function e(t,n){var r=this;c(this,e),this.schema=t,this.plugins=[],this.pluginsByKey=Object.create(null),this.fields=O.slice(),n&&n.forEach((function(e){if(r.pluginsByKey[e.key])throw new RangeError("Adding different instances of a keyed plugin ("+e.key+")");r.plugins.push(e),r.pluginsByKey[e.key]=e,e.spec.state&&r.fields.push(new P(e.key,e.spec.state,e))}))})),D=function(){function e(t){c(this,e),this.config=t}return d(e,[{key:"schema",get:function(){return this.config.schema}},{key:"plugins",get:function(){return this.config.plugins}},{key:"apply",value:function(e){return this.applyTransaction(e).state}},{key:"filterTransaction",value:function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:-1,n=0;n<this.config.plugins.length;n++)if(n!=t){var r=this.config.plugins[n];if(r.spec.filterTransaction&&!r.spec.filterTransaction.call(r,e,this))return!1}return!0}},{key:"applyTransaction",value:function(e){if(!this.filterTransaction(e))return{state:this,transactions:[]};for(var t=[e],n=this.applyInner(e),r=null;;){for(var o=!1,i=0;i<this.config.plugins.length;i++){var a=this.config.plugins[i];if(a.spec.appendTransaction){var s=r?r[i].n:0,l=r?r[i].state:this,c=s<t.length&&a.spec.appendTransaction.call(a,s?t.slice(s):t,l,n);if(c&&n.filterTransaction(c,i)){if(c.setMeta("appendedTransaction",e),!r){r=[];for(var u=0;u<this.config.plugins.length;u++)r.push(u<i?{state:n,n:t.length}:{state:this,n:0})}t.push(c),n=n.applyInner(c),o=!0}r&&(r[i]={state:n,n:t.length})}}if(!o)return{state:n,transactions:t}}}},{key:"applyInner",value:function(t){if(!t.before.eq(this.doc))throw new RangeError("Applying a mismatched transaction");for(var n=new e(this.config),r=this.config.fields,o=0;o<r.length;o++){var i=r[o];n[i.name]=i.apply(t,this[i.name],this,n)}return n}},{key:"tr",get:function(){return new T(this)}},{key:"reconfigure",value:function(t){for(var n=new E(this.schema,t.plugins),r=n.fields,o=new e(n),i=0;i<r.length;i++){var a=r[i].name;o[a]=this.hasOwnProperty(a)?this[a]:r[i].init(t,o)}return o}},{key:"toJSON",value:function(e){var t={doc:this.doc.toJSON(),selection:this.selection.toJSON()};if(this.storedMarks&&(t.storedMarks=this.storedMarks.map((function(e){return e.toJSON()}))),e&&"object"==r(e))for(var n in e){if("doc"==n||"selection"==n)throw new RangeError("The JSON fields `doc` and `selection` are reserved");var o=e[n],i=o.spec.state;i&&i.toJSON&&(t[n]=i.toJSON.call(o,this[o.key]))}return t}}],[{key:"create",value:function(t){for(var n=new E(t.doc?t.doc.type.schema:t.schema,t.plugins),r=new e(n),o=0;o<n.fields.length;o++)r[n.fields[o].name]=n.fields[o].init(t,r);return r}},{key:"fromJSON",value:function(t,n,r){if(!n)throw new RangeError("Invalid input for EditorState.fromJSON");if(!t.schema)throw new RangeError("Required config field 'schema' missing");var o=new E(t.schema,t.plugins),i=new e(o);return o.fields.forEach((function(e){if("doc"==e.name)i.doc=p.Node.fromJSON(t.schema,n.doc);else if("selection"==e.name)i.selection=m.fromJSON(i.doc,n.selection);else if("storedMarks"==e.name)n.storedMarks&&(i.storedMarks=n.storedMarks.map(t.schema.markFromJSON));else{if(r)for(var o in r){var a=r[o],s=a.spec.state;if(a.key==e.name&&s&&s.fromJSON&&Object.prototype.hasOwnProperty.call(n,o))return void(i[e.name]=s.fromJSON.call(a,t,n[o],i))}i[e.name]=e.init(t,i)}})),i}}]),e}();function R(e,t,n){for(var r in e){var o=e[r];o instanceof Function?o=o.bind(t):"handleDOMEvents"==r&&(o=R(o,t,{})),n[r]=o}return n}var I=function(){function e(t){c(this,e),this.spec=t,this.props={},t.props&&R(t.props,this,this.props),this.key=t.key?t.key.key:L("plugin")}return d(e,[{key:"getState",value:function(e){return e[this.key]}}]),e}(),N=Object.create(null);function L(e){return e in N?e+"$"+ ++N[e]:(N[e]=0,e+"$")}var j=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"key";c(this,e),this.key=L(t)}return d(e,[{key:"get",value:function(e){return e.config.pluginsByKey[this.key]}},{key:"getState",value:function(e){return e[this.key]}}]),e}();t.AllSelection=_,t.EditorState=D,t.NodeSelection=w,t.Plugin=I,t.PluginKey=j,t.Selection=m,t.SelectionRange=g,t.TextSelection=b,t.Transaction=T},36553:function(e,t,n){"use strict";function r(e){var t="function"==typeof Map?new Map:void 0;return r=function(e){if(null===e||!function(e){try{return-1!==Function.toString.call(e).indexOf("[native code]")}catch(t){return"function"==typeof e}}(e))return e;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,n)}function n(){return o(e,arguments,c(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),a(n,e)},r(e)}function o(e,t,n){return o=l()?Reflect.construct.bind():function(e,t,n){var r=[null];r.push.apply(r,t);var o=new(Function.bind.apply(e,r));return n&&a(o,n.prototype),o},o.apply(null,arguments)}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&a(e,t)}function a(e,t){return a=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},a(e,t)}function s(e){var t=l();return function(){var n,r=c(e);if(t){var o=c(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return function(e,t){if(t&&("object"===u(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,n)}}function l(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function c(e){return c=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},c(e)}function u(e){return u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},u(e)}function d(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function p(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,(o=r.key,i=void 0,i=function(e,t){if("object"!==u(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==u(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(o,"string"),"symbol"===u(i)?i:String(i)),r)}var o,i}function f(e,t,n){return t&&p(e.prototype,t),n&&p(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}var h=n(77712),m=Math.pow(2,16);function g(e){return 65535&e}var v=function(){function e(t,n,r){d(this,e),this.pos=t,this.delInfo=n,this.recover=r}return f(e,[{key:"deleted",get:function(){return(8&this.delInfo)>0}},{key:"deletedBefore",get:function(){return(5&this.delInfo)>0}},{key:"deletedAfter",get:function(){return(6&this.delInfo)>0}},{key:"deletedAcross",get:function(){return(4&this.delInfo)>0}}]),e}(),y=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(d(this,e),this.ranges=t,this.inverted=n,!t.length&&e.empty)return e.empty}return f(e,[{key:"recover",value:function(e){var t=0,n=g(e);if(!this.inverted)for(var r=0;r<n;r++)t+=this.ranges[3*r+2]-this.ranges[3*r+1];return this.ranges[3*n]+t+function(e){return(e-(65535&e))/m}(e)}},{key:"mapResult",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return this._map(e,t,!1)}},{key:"map",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return this._map(e,t,!0)}},{key:"_map",value:function(e,t,n){for(var r=0,o=this.inverted?2:1,i=this.inverted?1:2,a=0;a<this.ranges.length;a+=3){var s=this.ranges[a]-(this.inverted?r:0);if(s>e)break;var l=this.ranges[a+o],c=this.ranges[a+i],u=s+l;if(e<=u){var d=s+r+((l?e==s?-1:e==u?1:t:t)<0?0:c);if(n)return d;var p=e==(t<0?s:u)?null:a/3+(e-s)*m,f=e==s?2:e==u?1:4;return(t<0?e!=s:e!=u)&&(f|=8),new v(d,f,p)}r+=c-l}return n?e+r:new v(e+r,0,null)}},{key:"touches",value:function(e,t){for(var n=0,r=g(t),o=this.inverted?2:1,i=this.inverted?1:2,a=0;a<this.ranges.length;a+=3){var s=this.ranges[a]-(this.inverted?n:0);if(s>e)break;var l=this.ranges[a+o];if(e<=s+l&&a==3*r)return!0;n+=this.ranges[a+i]-l}return!1}},{key:"forEach",value:function(e){for(var t=this.inverted?2:1,n=this.inverted?1:2,r=0,o=0;r<this.ranges.length;r+=3){var i=this.ranges[r],a=i-(this.inverted?o:0),s=i+(this.inverted?0:o),l=this.ranges[r+t],c=this.ranges[r+n];e(a,a+l,s,s+c),o+=c-l}}},{key:"invert",value:function(){return new e(this.ranges,!this.inverted)}},{key:"toString",value:function(){return(this.inverted?"-":"")+JSON.stringify(this.ranges)}}],[{key:"offset",value:function(t){return 0==t?e.empty:new e(t<0?[0,-t,0]:[0,0,t])}}]),e}();y.empty=new y([]);var b=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=arguments.length>1?arguments[1]:void 0,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:t.length;d(this,e),this.maps=t,this.mirror=n,this.from=r,this.to=o}return f(e,[{key:"slice",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.maps.length;return new e(this.maps,this.mirror,t,n)}},{key:"copy",value:function(){return new e(this.maps.slice(),this.mirror&&this.mirror.slice(),this.from,this.to)}},{key:"appendMap",value:function(e,t){this.to=this.maps.push(e),null!=t&&this.setMirror(this.maps.length-1,t)}},{key:"appendMapping",value:function(e){for(var t=0,n=this.maps.length;t<e.maps.length;t++){var r=e.getMirror(t);this.appendMap(e.maps[t],null!=r&&r<t?n+r:void 0)}}},{key:"getMirror",value:function(e){if(this.mirror)for(var t=0;t<this.mirror.length;t++)if(this.mirror[t]==e)return this.mirror[t+(t%2?-1:1)]}},{key:"setMirror",value:function(e,t){this.mirror||(this.mirror=[]),this.mirror.push(e,t)}},{key:"appendMappingInverted",value:function(e){for(var t=e.maps.length-1,n=this.maps.length+e.maps.length;t>=0;t--){var r=e.getMirror(t);this.appendMap(e.maps[t].invert(),null!=r&&r>t?n-r-1:void 0)}}},{key:"invert",value:function(){var t=new e;return t.appendMappingInverted(this),t}},{key:"map",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;if(this.mirror)return this._map(e,t,!0);for(var n=this.from;n<this.to;n++)e=this.maps[n].map(e,t);return e}},{key:"mapResult",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return this._map(e,t,!1)}},{key:"_map",value:function(e,t,n){for(var r=0,o=this.from;o<this.to;o++){var i=this.maps[o].mapResult(e,t);if(null!=i.recover){var a=this.getMirror(o);if(null!=a&&a>o&&a<this.to){o=a,e=this.maps[a].recover(i.recover);continue}}r|=i.delInfo,e=i.pos}return n?e:new v(e,r,null)}}]),e}(),x=Object.create(null),w=function(){function e(){d(this,e)}return f(e,[{key:"getMap",value:function(){return y.empty}},{key:"merge",value:function(e){return null}}],[{key:"fromJSON",value:function(e,t){if(!t||!t.stepType)throw new RangeError("Invalid input for Step.fromJSON");var n=x[t.stepType];if(!n)throw new RangeError("No step type ".concat(t.stepType," defined"));return n.fromJSON(e,t)}},{key:"jsonID",value:function(e,t){if(e in x)throw new RangeError("Duplicate use of step JSON ID "+e);return x[e]=t,t.prototype.jsonID=e,t}}]),e}(),A=function(){function e(t,n){d(this,e),this.doc=t,this.failed=n}return f(e,null,[{key:"ok",value:function(t){return new e(t,null)}},{key:"fail",value:function(t){return new e(null,t)}},{key:"fromReplace",value:function(t,n,r,o){try{return e.ok(t.replace(n,r,o))}catch(t){if(t instanceof h.ReplaceError)return e.fail(t.message);throw t}}}]),e}();function _(e,t,n){for(var r=[],o=0;o<e.childCount;o++){var i=e.child(o);i.content.size&&(i=i.copy(_(i.content,t,i))),i.isInline&&(i=t(i,n,o)),r.push(i)}return h.Fragment.fromArray(r)}var S=function(e){i(n,e);var t=s(n);function n(e,r,o){var i;return d(this,n),(i=t.call(this)).from=e,i.to=r,i.mark=o,i}return f(n,[{key:"apply",value:function(e){var t=this,n=e.slice(this.from,this.to),r=e.resolve(this.from),o=r.node(r.sharedDepth(this.to)),i=new h.Slice(_(n.content,(function(e,n){return e.isAtom&&n.type.allowsMarkType(t.mark.type)?e.mark(t.mark.addToSet(e.marks)):e}),o),n.openStart,n.openEnd);return A.fromReplace(e,this.from,this.to,i)}},{key:"invert",value:function(){return new k(this.from,this.to,this.mark)}},{key:"map",value:function(e){var t=e.mapResult(this.from,1),r=e.mapResult(this.to,-1);return t.deleted&&r.deleted||t.pos>=r.pos?null:new n(t.pos,r.pos,this.mark)}},{key:"merge",value:function(e){return e instanceof n&&e.mark.eq(this.mark)&&this.from<=e.to&&this.to>=e.from?new n(Math.min(this.from,e.from),Math.max(this.to,e.to),this.mark):null}},{key:"toJSON",value:function(){return{stepType:"addMark",mark:this.mark.toJSON(),from:this.from,to:this.to}}}],[{key:"fromJSON",value:function(e,t){if("number"!=typeof t.from||"number"!=typeof t.to)throw new RangeError("Invalid input for AddMarkStep.fromJSON");return new n(t.from,t.to,e.markFromJSON(t.mark))}}]),n}(w);w.jsonID("addMark",S);var k=function(e){i(n,e);var t=s(n);function n(e,r,o){var i;return d(this,n),(i=t.call(this)).from=e,i.to=r,i.mark=o,i}return f(n,[{key:"apply",value:function(e){var t=this,n=e.slice(this.from,this.to),r=new h.Slice(_(n.content,(function(e){return e.mark(t.mark.removeFromSet(e.marks))}),e),n.openStart,n.openEnd);return A.fromReplace(e,this.from,this.to,r)}},{key:"invert",value:function(){return new S(this.from,this.to,this.mark)}},{key:"map",value:function(e){var t=e.mapResult(this.from,1),r=e.mapResult(this.to,-1);return t.deleted&&r.deleted||t.pos>=r.pos?null:new n(t.pos,r.pos,this.mark)}},{key:"merge",value:function(e){return e instanceof n&&e.mark.eq(this.mark)&&this.from<=e.to&&this.to>=e.from?new n(Math.min(this.from,e.from),Math.max(this.to,e.to),this.mark):null}},{key:"toJSON",value:function(){return{stepType:"removeMark",mark:this.mark.toJSON(),from:this.from,to:this.to}}}],[{key:"fromJSON",value:function(e,t){if("number"!=typeof t.from||"number"!=typeof t.to)throw new RangeError("Invalid input for RemoveMarkStep.fromJSON");return new n(t.from,t.to,e.markFromJSON(t.mark))}}]),n}(w);w.jsonID("removeMark",k);var C=function(e){i(n,e);var t=s(n);function n(e,r){var o;return d(this,n),(o=t.call(this)).pos=e,o.mark=r,o}return f(n,[{key:"apply",value:function(e){var t=e.nodeAt(this.pos);if(!t)return A.fail("No node at mark step's position");var n=t.type.create(t.attrs,null,this.mark.addToSet(t.marks));return A.fromReplace(e,this.pos,this.pos+1,new h.Slice(h.Fragment.from(n),0,t.isLeaf?0:1))}},{key:"invert",value:function(e){var t=e.nodeAt(this.pos);if(t){var r=this.mark.addToSet(t.marks);if(r.length==t.marks.length){for(var o=0;o<t.marks.length;o++)if(!t.marks[o].isInSet(r))return new n(this.pos,t.marks[o]);return new n(this.pos,this.mark)}}return new T(this.pos,this.mark)}},{key:"map",value:function(e){var t=e.mapResult(this.pos,1);return t.deletedAfter?null:new n(t.pos,this.mark)}},{key:"toJSON",value:function(){return{stepType:"addNodeMark",pos:this.pos,mark:this.mark.toJSON()}}}],[{key:"fromJSON",value:function(e,t){if("number"!=typeof t.pos)throw new RangeError("Invalid input for AddNodeMarkStep.fromJSON");return new n(t.pos,e.markFromJSON(t.mark))}}]),n}(w);w.jsonID("addNodeMark",C);var T=function(e){i(n,e);var t=s(n);function n(e,r){var o;return d(this,n),(o=t.call(this)).pos=e,o.mark=r,o}return f(n,[{key:"apply",value:function(e){var t=e.nodeAt(this.pos);if(!t)return A.fail("No node at mark step's position");var n=t.type.create(t.attrs,null,this.mark.removeFromSet(t.marks));return A.fromReplace(e,this.pos,this.pos+1,new h.Slice(h.Fragment.from(n),0,t.isLeaf?0:1))}},{key:"invert",value:function(e){var t=e.nodeAt(this.pos);return t&&this.mark.isInSet(t.marks)?new C(this.pos,this.mark):this}},{key:"map",value:function(e){var t=e.mapResult(this.pos,1);return t.deletedAfter?null:new n(t.pos,this.mark)}},{key:"toJSON",value:function(){return{stepType:"removeNodeMark",pos:this.pos,mark:this.mark.toJSON()}}}],[{key:"fromJSON",value:function(e,t){if("number"!=typeof t.pos)throw new RangeError("Invalid input for RemoveNodeMarkStep.fromJSON");return new n(t.pos,e.markFromJSON(t.mark))}}]),n}(w);w.jsonID("removeNodeMark",T);var M=function(e){i(n,e);var t=s(n);function n(e,r,o){var i,a=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return d(this,n),(i=t.call(this)).from=e,i.to=r,i.slice=o,i.structure=a,i}return f(n,[{key:"apply",value:function(e){return this.structure&&O(e,this.from,this.to)?A.fail("Structure replace would overwrite content"):A.fromReplace(e,this.from,this.to,this.slice)}},{key:"getMap",value:function(){return new y([this.from,this.to-this.from,this.slice.size])}},{key:"invert",value:function(e){return new n(this.from,this.from+this.slice.size,e.slice(this.from,this.to))}},{key:"map",value:function(e){var t=e.mapResult(this.from,1),r=e.mapResult(this.to,-1);return t.deletedAcross&&r.deletedAcross?null:new n(t.pos,Math.max(t.pos,r.pos),this.slice)}},{key:"merge",value:function(e){if(!(e instanceof n)||e.structure||this.structure)return null;if(this.from+this.slice.size!=e.from||this.slice.openEnd||e.slice.openStart){if(e.to!=this.from||this.slice.openStart||e.slice.openEnd)return null;var t=this.slice.size+e.slice.size==0?h.Slice.empty:new h.Slice(e.slice.content.append(this.slice.content),e.slice.openStart,this.slice.openEnd);return new n(e.from,this.to,t,this.structure)}var r=this.slice.size+e.slice.size==0?h.Slice.empty:new h.Slice(this.slice.content.append(e.slice.content),this.slice.openStart,e.slice.openEnd);return new n(this.from,this.to+(e.to-e.from),r,this.structure)}},{key:"toJSON",value:function(){var e={stepType:"replace",from:this.from,to:this.to};return this.slice.size&&(e.slice=this.slice.toJSON()),this.structure&&(e.structure=!0),e}}],[{key:"fromJSON",value:function(e,t){if("number"!=typeof t.from||"number"!=typeof t.to)throw new RangeError("Invalid input for ReplaceStep.fromJSON");return new n(t.from,t.to,h.Slice.fromJSON(e,t.slice),!!t.structure)}}]),n}(w);w.jsonID("replace",M);var P=function(e){i(n,e);var t=s(n);function n(e,r,o,i,a,s){var l,c=arguments.length>6&&void 0!==arguments[6]&&arguments[6];return d(this,n),(l=t.call(this)).from=e,l.to=r,l.gapFrom=o,l.gapTo=i,l.slice=a,l.insert=s,l.structure=c,l}return f(n,[{key:"apply",value:function(e){if(this.structure&&(O(e,this.from,this.gapFrom)||O(e,this.gapTo,this.to)))return A.fail("Structure gap-replace would overwrite content");var t=e.slice(this.gapFrom,this.gapTo);if(t.openStart||t.openEnd)return A.fail("Gap is not a flat range");var n=this.slice.insertAt(this.insert,t.content);return n?A.fromReplace(e,this.from,this.to,n):A.fail("Content does not fit in gap")}},{key:"getMap",value:function(){return new y([this.from,this.gapFrom-this.from,this.insert,this.gapTo,this.to-this.gapTo,this.slice.size-this.insert])}},{key:"invert",value:function(e){var t=this.gapTo-this.gapFrom;return new n(this.from,this.from+this.slice.size+t,this.from+this.insert,this.from+this.insert+t,e.slice(this.from,this.to).removeBetween(this.gapFrom-this.from,this.gapTo-this.from),this.gapFrom-this.from,this.structure)}},{key:"map",value:function(e){var t=e.mapResult(this.from,1),r=e.mapResult(this.to,-1),o=this.from==this.gapFrom?t.pos:e.map(this.gapFrom,-1),i=this.to==this.gapTo?r.pos:e.map(this.gapTo,1);return t.deletedAcross&&r.deletedAcross||o<t.pos||i>r.pos?null:new n(t.pos,r.pos,o,i,this.slice,this.insert,this.structure)}},{key:"toJSON",value:function(){var e={stepType:"replaceAround",from:this.from,to:this.to,gapFrom:this.gapFrom,gapTo:this.gapTo,insert:this.insert};return this.slice.size&&(e.slice=this.slice.toJSON()),this.structure&&(e.structure=!0),e}}],[{key:"fromJSON",value:function(e,t){if("number"!=typeof t.from||"number"!=typeof t.to||"number"!=typeof t.gapFrom||"number"!=typeof t.gapTo||"number"!=typeof t.insert)throw new RangeError("Invalid input for ReplaceAroundStep.fromJSON");return new n(t.from,t.to,t.gapFrom,t.gapTo,h.Slice.fromJSON(e,t.slice),t.insert,!!t.structure)}}]),n}(w);function O(e,t,n){for(var r=e.resolve(t),o=n-t,i=r.depth;o>0&&i>0&&r.indexAfter(i)==r.node(i).childCount;)i--,o--;if(o>0)for(var a=r.node(i).maybeChild(r.indexAfter(i));o>0;){if(!a||a.isLeaf)return!0;a=a.firstChild,o--}return!1}function E(e,t,n){for(var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:n.contentMatch,o=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],i=e.doc.nodeAt(t),a=[],s=t+1,l=0;l<i.childCount;l++){var c=i.child(l),u=s+c.nodeSize,d=r.matchType(c.type);if(d){r=d;for(var p=0;p<c.marks.length;p++)n.allowsMarkType(c.marks[p].type)||e.step(new k(s,u,c.marks[p]));if(o&&c.isText&&"pre"!=n.whitespace)for(var f=void 0,m=/\r?\n|\r/g,g=void 0;f=m.exec(c.text);)g||(g=new h.Slice(h.Fragment.from(n.schema.text(" ",n.allowedMarks(c.marks))),0,0)),a.push(new M(s+f.index,s+f.index+f[0].length,g))}else a.push(new M(s,u,h.Slice.empty));s=u}if(!r.validEnd){var v=r.fillBefore(h.Fragment.empty,!0);e.replace(s,s,new h.Slice(v,0,0))}for(var y=a.length-1;y>=0;y--)e.step(a[y])}function D(e,t,n){return(0==t||e.canReplace(t,e.childCount))&&(n==e.childCount||e.canReplace(0,n))}function R(e){return{type:e,attrs:null}}function I(e,t){return!(!e||!t||e.isLeaf||!e.canAppend(t))}function N(e,t,n){var r=e.resolve(t);if(r.parent.canReplaceWith(r.index(),r.index(),n))return t;if(0==r.parentOffset)for(var o=r.depth-1;o>=0;o--){var i=r.index(o);if(r.node(o).canReplaceWith(i,i,n))return r.before(o+1);if(i>0)return null}if(r.parentOffset==r.parent.content.size)for(var a=r.depth-1;a>=0;a--){var s=r.indexAfter(a);if(r.node(a).canReplaceWith(s,s,n))return r.after(a+1);if(s<r.node(a).childCount)return null}return null}function L(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:t,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:h.Slice.empty;if(t==n&&!r.size)return null;var o=e.resolve(t),i=e.resolve(n);return j(o,i,r)?new M(t,n,r):new $(o,i,r).fit()}function j(e,t,n){return!n.openStart&&!n.openEnd&&e.start()==t.start()&&e.parent.canReplace(e.index(),t.index(),n.content)}w.jsonID("replaceAround",P);var $=function(){function e(t,n,r){d(this,e),this.$from=t,this.$to=n,this.unplaced=r,this.frontier=[],this.placed=h.Fragment.empty;for(var o=0;o<=t.depth;o++){var i=t.node(o);this.frontier.push({type:i.type,match:i.contentMatchAt(t.indexAfter(o))})}for(var a=t.depth;a>0;a--)this.placed=h.Fragment.from(t.node(a).copy(this.placed))}return f(e,[{key:"depth",get:function(){return this.frontier.length-1}},{key:"fit",value:function(){for(;this.unplaced.size;){var e=this.findFittable();e?this.placeNodes(e):this.openMore()||this.dropNode()}var t=this.mustMoveInline(),n=this.placed.size-this.depth-this.$from.depth,r=this.$from,o=this.close(t<0?this.$to:r.doc.resolve(t));if(!o)return null;for(var i=this.placed,a=r.depth,s=o.depth;a&&s&&1==i.childCount;)i=i.firstChild.content,a--,s--;var l=new h.Slice(i,a,s);return t>-1?new P(r.pos,t,this.$to.pos,this.$to.end(),l,n):l.size||r.pos!=this.$to.pos?new M(r.pos,o.pos,l):null}},{key:"findFittable",value:function(){for(var e=this.unplaced.openStart,t=this.unplaced.content,n=0,r=this.unplaced.openEnd;n<e;n++){var o=t.firstChild;if(t.childCount>1&&(r=0),o.type.spec.isolating&&r<=n){e=n;break}t=o.content}for(var i=1;i<=2;i++)for(var a=1==i?e:this.unplaced.openStart;a>=0;a--)for(var s=null,l=(a?(s=B(this.unplaced.content,a-1).firstChild).content:this.unplaced.content).firstChild,c=this.depth;c>=0;c--){var u=this.frontier[c],d=u.type,p=u.match,f=void 0,m=null;if(1==i&&(l?p.matchType(l.type)||(m=p.fillBefore(h.Fragment.from(l),!1)):s&&d.compatibleContent(s.type)))return{sliceDepth:a,frontierDepth:c,parent:s,inject:m};if(2==i&&l&&(f=p.findWrapping(l.type)))return{sliceDepth:a,frontierDepth:c,parent:s,wrap:f};if(s&&p.matchType(s.type))break}}},{key:"openMore",value:function(){var e=this.unplaced,t=e.content,n=e.openStart,r=e.openEnd,o=B(t,n);return!(!o.childCount||o.firstChild.isLeaf)&&(this.unplaced=new h.Slice(t,n+1,Math.max(r,o.size+n>=t.size-r?n+1:0)),!0)}},{key:"dropNode",value:function(){var e=this.unplaced,t=e.content,n=e.openStart,r=e.openEnd,o=B(t,n);if(o.childCount<=1&&n>0){var i=t.size-n<=n+o.size;this.unplaced=new h.Slice(z(t,n-1,1),n-1,i?n-1:r)}else this.unplaced=new h.Slice(z(t,n,1),n,r)}},{key:"placeNodes",value:function(e){for(var t=e.sliceDepth,n=e.frontierDepth,r=e.parent,o=e.inject,i=e.wrap;this.depth>n;)this.closeFrontierNode();if(i)for(var a=0;a<i.length;a++)this.openFrontierNode(i[a]);var s=this.unplaced,l=r?r.content:s.content,c=s.openStart-t,u=0,d=[],p=this.frontier[n],f=p.match,m=p.type;if(o){for(var g=0;g<o.childCount;g++)d.push(o.child(g));f=f.matchFragment(o)}for(var v=l.size+t-(s.content.size-s.openEnd);u<l.childCount;){var y=l.child(u),b=f.matchType(y.type);if(!b)break;(++u>1||0==c||y.content.size)&&(f=b,d.push(H(y.mark(m.allowedMarks(y.marks)),1==u?c:0,u==l.childCount?v:-1)))}var x=u==l.childCount;x||(v=-1),this.placed=F(this.placed,n,h.Fragment.from(d)),this.frontier[n].match=f,x&&v<0&&r&&r.type==this.frontier[this.depth].type&&this.frontier.length>1&&this.closeFrontierNode();for(var w=0,A=l;w<v;w++){var _=A.lastChild;this.frontier.push({type:_.type,match:_.contentMatchAt(_.childCount)}),A=_.content}this.unplaced=x?0==t?h.Slice.empty:new h.Slice(z(s.content,t-1,1),t-1,v<0?s.openEnd:t-1):new h.Slice(z(s.content,t,u),s.openStart,s.openEnd)}},{key:"mustMoveInline",value:function(){if(!this.$to.parent.isTextblock)return-1;var e,t=this.frontier[this.depth];if(!t.type.isTextblock||!V(this.$to,this.$to.depth,t.type,t.match,!1)||this.$to.depth==this.depth&&(e=this.findCloseLevel(this.$to))&&e.depth==this.depth)return-1;for(var n=this.$to.depth,r=this.$to.after(n);n>1&&r==this.$to.end(--n);)++r;return r}},{key:"findCloseLevel",value:function(e){e:for(var t=Math.min(this.depth,e.depth);t>=0;t--){var n=this.frontier[t],r=n.match,o=n.type,i=t<e.depth&&e.end(t+1)==e.pos+(e.depth-(t+1)),a=V(e,t,o,r,i);if(a){for(var s=t-1;s>=0;s--){var l=this.frontier[s],c=l.match,u=V(e,s,l.type,c,!0);if(!u||u.childCount)continue e}return{depth:t,fit:a,move:i?e.doc.resolve(e.after(t+1)):e}}}}},{key:"close",value:function(e){var t=this.findCloseLevel(e);if(!t)return null;for(;this.depth>t.depth;)this.closeFrontierNode();t.fit.childCount&&(this.placed=F(this.placed,t.depth,t.fit)),e=t.move;for(var n=t.depth+1;n<=e.depth;n++){var r=e.node(n),o=r.type.contentMatch.fillBefore(r.content,!0,e.index(n));this.openFrontierNode(r.type,r.attrs,o)}return e}},{key:"openFrontierNode",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2?arguments[2]:void 0,r=this.frontier[this.depth];r.match=r.match.matchType(e),this.placed=F(this.placed,this.depth,h.Fragment.from(e.create(t,n))),this.frontier.push({type:e,match:e.contentMatch})}},{key:"closeFrontierNode",value:function(){var e=this.frontier.pop().match.fillBefore(h.Fragment.empty,!0);e.childCount&&(this.placed=F(this.placed,this.frontier.length,e))}}]),e}();function z(e,t,n){return 0==t?e.cutByIndex(n,e.childCount):e.replaceChild(0,e.firstChild.copy(z(e.firstChild.content,t-1,n)))}function F(e,t,n){return 0==t?e.append(n):e.replaceChild(e.childCount-1,e.lastChild.copy(F(e.lastChild.content,t-1,n)))}function B(e,t){for(var n=0;n<t;n++)e=e.firstChild.content;return e}function H(e,t,n){if(t<=0)return e;var r=e.content;return t>1&&(r=r.replaceChild(0,H(r.firstChild,t-1,1==r.childCount?n-1:0))),t>0&&(r=e.type.contentMatch.fillBefore(r).append(r),n<=0&&(r=r.append(e.type.contentMatch.matchFragment(r).fillBefore(h.Fragment.empty,!0)))),e.copy(r)}function V(e,t,n,r,o){var i=e.node(t),a=o?e.indexAfter(t):e.index(t);if(a==i.childCount&&!n.compatibleContent(i.type))return null;var s=r.fillBefore(i.content,!0,a);return s&&!function(e,t,n){for(var r=n;r<t.childCount;r++)if(!e.allowsMarks(t.child(r).marks))return!0;return!1}(n,i.content,a)?s:null}function W(e,t,n,r,o){if(t<n){var i=e.firstChild;e=e.replaceChild(0,i.copy(W(i.content,t+1,n,r,i)))}if(t>r){var a=o.contentMatchAt(0),s=a.fillBefore(e).append(e);e=s.append(a.matchFragment(s).fillBefore(h.Fragment.empty,!0))}return e}function U(e,t){for(var n=[],r=Math.min(e.depth,t.depth);r>=0;r--){var o=e.start(r);if(o<e.pos-(e.depth-r)||t.end(r)>t.pos+(t.depth-r)||e.node(r).type.spec.isolating||t.node(r).type.spec.isolating)break;(o==t.start(r)||r==e.depth&&r==t.depth&&e.parent.inlineContent&&t.parent.inlineContent&&r&&t.start(r-1)==o-1)&&n.push(r)}return n}var q=function(e){i(n,e);var t=s(n);function n(e,r,o){var i;return d(this,n),(i=t.call(this)).pos=e,i.attr=r,i.value=o,i}return f(n,[{key:"apply",value:function(e){var t=e.nodeAt(this.pos);if(!t)return A.fail("No node at attribute step's position");var n=Object.create(null);for(var r in t.attrs)n[r]=t.attrs[r];n[this.attr]=this.value;var o=t.type.create(n,null,t.marks);return A.fromReplace(e,this.pos,this.pos+1,new h.Slice(h.Fragment.from(o),0,t.isLeaf?0:1))}},{key:"getMap",value:function(){return y.empty}},{key:"invert",value:function(e){return new n(this.pos,this.attr,e.nodeAt(this.pos).attrs[this.attr])}},{key:"map",value:function(e){var t=e.mapResult(this.pos,1);return t.deletedAfter?null:new n(t.pos,this.attr,this.value)}},{key:"toJSON",value:function(){return{stepType:"attr",pos:this.pos,attr:this.attr,value:this.value}}}],[{key:"fromJSON",value:function(e,t){if("number"!=typeof t.pos||"string"!=typeof t.attr)throw new RangeError("Invalid input for AttrStep.fromJSON");return new n(t.pos,t.attr,t.value)}}]),n}(w);w.jsonID("attr",q);var G=function(e){i(n,e);var t=s(n);function n(e,r){var o;return d(this,n),(o=t.call(this)).attr=e,o.value=r,o}return f(n,[{key:"apply",value:function(e){var t=Object.create(null);for(var n in e.attrs)t[n]=e.attrs[n];t[this.attr]=this.value;var r=e.type.create(t,e.content,e.marks);return A.ok(r)}},{key:"getMap",value:function(){return y.empty}},{key:"invert",value:function(e){return new n(this.attr,e.attrs[this.attr])}},{key:"map",value:function(e){return this}},{key:"toJSON",value:function(){return{stepType:"docAttr",attr:this.attr,value:this.value}}}],[{key:"fromJSON",value:function(e,t){if("string"!=typeof t.attr)throw new RangeError("Invalid input for DocAttrStep.fromJSON");return new n(t.attr,t.value)}}]),n}(w);w.jsonID("docAttr",G),t.TransformError=function(e){i(n,e);var t=s(n);function n(){return d(this,n),t.apply(this,arguments)}return f(n)}(r(Error)),t.TransformError=function e(t){var n=Error.call(this,t);return n.__proto__=e.prototype,n},t.TransformError.prototype=Object.create(Error.prototype),t.TransformError.prototype.constructor=t.TransformError,t.TransformError.prototype.name="TransformError";var Y=function(){function e(t){d(this,e),this.doc=t,this.steps=[],this.docs=[],this.mapping=new b}return f(e,[{key:"before",get:function(){return this.docs.length?this.docs[0]:this.doc}},{key:"step",value:function(e){var n=this.maybeStep(e);if(n.failed)throw new t.TransformError(n.failed);return this}},{key:"maybeStep",value:function(e){var t=e.apply(this.doc);return t.failed||this.addStep(e,t.doc),t}},{key:"docChanged",get:function(){return this.steps.length>0}},{key:"addStep",value:function(e,t){this.docs.push(this.doc),this.steps.push(e),this.mapping.appendMap(e.getMap()),this.doc=t}},{key:"replace",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:h.Slice.empty,r=L(this.doc,e,t,n);return r&&this.step(r),this}},{key:"replaceWith",value:function(e,t,n){return this.replace(e,t,new h.Slice(h.Fragment.from(n),0,0))}},{key:"delete",value:function(e,t){return this.replace(e,t,h.Slice.empty)}},{key:"insert",value:function(e,t){return this.replaceWith(e,e,t)}},{key:"replaceRange",value:function(e,t,n){return function(e,t,n,r){if(!r.size)return e.deleteRange(t,n);var o=e.doc.resolve(t),i=e.doc.resolve(n);if(j(o,i,r))return e.step(new M(t,n,r));var a=U(o,e.doc.resolve(n));0==a[a.length-1]&&a.pop();var s=-(o.depth+1);a.unshift(s);for(var l=o.depth,c=o.pos-1;l>0;l--,c--){var u=o.node(l).type.spec;if(u.defining||u.definingAsContext||u.isolating)break;a.indexOf(l)>-1?s=l:o.before(l)==c&&a.splice(1,0,-l)}for(var d,p=a.indexOf(s),f=[],m=r.openStart,g=r.content,v=0;;v++){var y=g.firstChild;if(f.push(y),v==r.openStart)break;g=y.content}for(var b=m-1;b>=0;b--){var x=f[b],w=(d=x.type).spec.defining||d.spec.definingForContent;if(w&&!x.sameMarkup(o.node(Math.abs(s)-1)))m=b;else if(w||!x.type.isTextblock)break}for(var A=r.openStart;A>=0;A--){var _=(A+m+1)%(r.openStart+1),S=f[_];if(S)for(var k=0;k<a.length;k++){var C=a[(k+p)%a.length],T=!0;C<0&&(T=!1,C=-C);var P=o.node(C-1),O=o.index(C-1);if(P.canReplaceWith(O,O,S.type,S.marks))return e.replace(o.before(C),T?i.after(C):n,new h.Slice(W(r.content,0,r.openStart,_),_,r.openEnd))}}for(var E=e.steps.length,D=a.length-1;D>=0&&(e.replace(t,n,r),!(e.steps.length>E));D--){var R=a[D];R<0||(t=o.before(R),n=i.after(R))}}(this,e,t,n),this}},{key:"replaceRangeWith",value:function(e,t,n){return function(e,t,n,r){if(!r.isInline&&t==n&&e.doc.resolve(t).parent.content.size){var o=N(e.doc,t,r.type);null!=o&&(t=n=o)}e.replaceRange(t,n,new h.Slice(h.Fragment.from(r),0,0))}(this,e,t,n),this}},{key:"deleteRange",value:function(e,t){return function(e,t,n){for(var r=e.doc.resolve(t),o=e.doc.resolve(n),i=U(r,o),a=0;a<i.length;a++){var s=i[a],l=a==i.length-1;if(l&&0==s||r.node(s).type.contentMatch.validEnd)return e.delete(r.start(s),o.end(s));if(s>0&&(l||r.node(s-1).canReplace(r.index(s-1),o.indexAfter(s-1))))return e.delete(r.before(s),o.after(s))}for(var c=1;c<=r.depth&&c<=o.depth;c++)if(t-r.start(c)==r.depth-c&&n>r.end(c)&&o.end(c)-n!=o.depth-c)return e.delete(r.before(c),n);e.delete(t,n)}(this,e,t),this}},{key:"lift",value:function(e,t){return function(e,t,n){for(var r=t.$from,o=t.$to,i=t.depth,a=r.before(i+1),s=o.after(i+1),l=a,c=s,u=h.Fragment.empty,d=0,p=i,f=!1;p>n;p--)f||r.index(p)>0?(f=!0,u=h.Fragment.from(r.node(p).copy(u)),d++):l--;for(var m=h.Fragment.empty,g=0,v=i,y=!1;v>n;v--)y||o.after(v+1)<o.end(v)?(y=!0,m=h.Fragment.from(o.node(v).copy(m)),g++):c++;e.step(new P(l,c,a,s,new h.Slice(u.append(m),d,g),u.size-d,!0))}(this,e,t),this}},{key:"join",value:function(e){return function(e,t,n){var r=new M(t-n,t+n,h.Slice.empty,!0);e.step(r)}(this,e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:1),this}},{key:"wrap",value:function(e,t){return function(e,t,n){for(var r=h.Fragment.empty,o=n.length-1;o>=0;o--){if(r.size){var i=n[o].type.contentMatch.matchFragment(r);if(!i||!i.validEnd)throw new RangeError("Wrapper type given to Transform.wrap does not form valid content of its parent wrapper")}r=h.Fragment.from(n[o].type.create(n[o].attrs,r))}var a=t.start,s=t.end;e.step(new P(a,s,a,s,new h.Slice(r,0,0),n.length,!0))}(this,e,t),this}},{key:"setBlockType",value:function(e){return function(e,t,n,r,o){if(!r.isTextblock)throw new RangeError("Type given to setBlockType should be a textblock");var i=e.steps.length;e.doc.nodesBetween(t,n,(function(t,n){if(t.isTextblock&&!t.hasMarkup(r,o)&&function(e,t,n){var r=e.resolve(t),o=r.index();return r.parent.canReplaceWith(o,o+1,n)}(e.doc,e.mapping.slice(i).map(n),r)){var a=null;if(r.schema.linebreakReplacement){var s="pre"==r.whitespace,l=!!r.contentMatch.matchType(r.schema.linebreakReplacement);s&&!l?a=!1:!s&&l&&(a=!0)}!1===a&&function(e,t,n,r){t.forEach((function(o,i){if(o.type==o.type.schema.linebreakReplacement){var a=e.mapping.slice(r).map(n+1+i);e.replaceWith(a,a+1,t.type.schema.text("\n"))}}))}(e,t,n,i),E(e,e.mapping.slice(i).map(n,1),r,void 0,null===a);var c=e.mapping.slice(i),u=c.map(n,1),d=c.map(n+t.nodeSize,1);return e.step(new P(u,d,u+1,d-1,new h.Slice(h.Fragment.from(r.create(o,null,t.marks)),0,0),1,!0)),!0===a&&function(e,t,n,r){t.forEach((function(o,i){if(o.isText)for(var a,s=/\r?\n|\r/g;a=s.exec(o.text);){var l=e.mapping.slice(r).map(n+1+i+a.index);e.replaceWith(l,l+1,t.type.schema.linebreakReplacement.create())}}))}(e,t,n,i),!1}}))}(this,e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:e,arguments.length>2?arguments[2]:void 0,arguments.length>3&&void 0!==arguments[3]?arguments[3]:null),this}},{key:"setNodeMarkup",value:function(e,t){return function(e,t,n,r,o){var i=e.doc.nodeAt(t);if(!i)throw new RangeError("No node at given position");n||(n=i.type);var a=n.create(r,null,o||i.marks);if(i.isLeaf)return e.replaceWith(t,t+i.nodeSize,a);if(!n.validContent(i.content))throw new RangeError("Invalid content for node type "+n.name);e.step(new P(t,t+i.nodeSize,t+1,t+i.nodeSize-1,new h.Slice(h.Fragment.from(a),0,0),1,!0))}(this,e,t,arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,arguments.length>3?arguments[3]:void 0),this}},{key:"setNodeAttribute",value:function(e,t,n){return this.step(new q(e,t,n)),this}},{key:"setDocAttribute",value:function(e,t){return this.step(new G(e,t)),this}},{key:"addNodeMark",value:function(e,t){return this.step(new C(e,t)),this}},{key:"removeNodeMark",value:function(e,t){if(!(t instanceof h.Mark)){var n=this.doc.nodeAt(e);if(!n)throw new RangeError("No node at position "+e);if(!(t=t.isInSet(n.marks)))return this}return this.step(new T(e,t)),this}},{key:"split",value:function(e){return function(e,t){for(var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,r=arguments.length>3?arguments[3]:void 0,o=e.doc.resolve(t),i=h.Fragment.empty,a=h.Fragment.empty,s=o.depth,l=o.depth-n,c=n-1;s>l;s--,c--){i=h.Fragment.from(o.node(s).copy(i));var u=r&&r[c];a=h.Fragment.from(u?u.type.create(u.attrs,a):o.node(s).copy(a))}e.step(new M(t,t,new h.Slice(i.append(a),n,n),!0))}(this,e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,arguments.length>2?arguments[2]:void 0),this}},{key:"addMark",value:function(e,t,n){return function(e,t,n,r){var o,i,a=[],s=[];e.doc.nodesBetween(t,n,(function(e,l,c){if(e.isInline){var u=e.marks;if(!r.isInSet(u)&&c.type.allowsMarkType(r.type)){for(var d=Math.max(l,t),p=Math.min(l+e.nodeSize,n),f=r.addToSet(u),h=0;h<u.length;h++)u[h].isInSet(f)||(o&&o.to==d&&o.mark.eq(u[h])?o.to=p:a.push(o=new k(d,p,u[h])));i&&i.to==d?i.to=p:s.push(i=new S(d,p,r))}}})),a.forEach((function(t){return e.step(t)})),s.forEach((function(t){return e.step(t)}))}(this,e,t,n),this}},{key:"removeMark",value:function(e,t,n){return function(e,t,n,r){var o=[],i=0;e.doc.nodesBetween(t,n,(function(e,a){if(e.isInline){i++;var s=null;if(r instanceof h.MarkType)for(var l,c=e.marks;l=r.isInSet(c);)(s||(s=[])).push(l),c=l.removeFromSet(c);else r?r.isInSet(e.marks)&&(s=[r]):s=e.marks;if(s&&s.length)for(var u=Math.min(a+e.nodeSize,n),d=0;d<s.length;d++){for(var p=s[d],f=void 0,m=0;m<o.length;m++){var g=o[m];g.step==i-1&&p.eq(o[m].style)&&(f=g)}f?(f.to=u,f.step=i):o.push({style:p,from:Math.max(a,t),to:u,step:i})}}})),o.forEach((function(t){return e.step(new k(t.from,t.to,t.style))}))}(this,e,t,n),this}},{key:"clearIncompatible",value:function(e,t,n){return E(this,e,t,n),this}}]),e}();t.AddMarkStep=S,t.AddNodeMarkStep=C,t.AttrStep=q,t.DocAttrStep=G,t.MapResult=v,t.Mapping=b,t.RemoveMarkStep=k,t.RemoveNodeMarkStep=T,t.ReplaceAroundStep=P,t.ReplaceStep=M,t.Step=w,t.StepMap=y,t.StepResult=A,t.Transform=Y,t.canJoin=function(e,t){var n=e.resolve(t),r=n.index();return I(n.nodeBefore,n.nodeAfter)&&n.parent.canReplace(r,r+1)},t.canSplit=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,r=arguments.length>3?arguments[3]:void 0,o=e.resolve(t),i=o.depth-n,a=r&&r[r.length-1]||o.parent;if(i<0||o.parent.type.spec.isolating||!o.parent.canReplace(o.index(),o.parent.childCount)||!a.type.validContent(o.parent.content.cutByIndex(o.index(),o.parent.childCount)))return!1;for(var s=o.depth-1,l=n-2;s>i;s--,l--){var c=o.node(s),u=o.index(s);if(c.type.spec.isolating)return!1;var d=c.content.cutByIndex(u,c.childCount),p=r&&r[l+1];p&&(d=d.replaceChild(0,p.type.create(p.attrs)));var f=r&&r[l]||c;if(!c.canReplace(u+1,c.childCount)||!f.type.validContent(d))return!1}var h=o.indexAfter(i),m=r&&r[0];return o.node(i).canReplaceWith(h,h,m?m.type:o.node(i+1).type)},t.dropPoint=function(e,t,n){var r=e.resolve(t);if(!n.content.size)return t;for(var o=n.content,i=0;i<n.openStart;i++)o=o.firstChild.content;for(var a=1;a<=(0==n.openStart&&n.size?2:1);a++)for(var s=r.depth;s>=0;s--){var l=s==r.depth?0:r.pos<=(r.start(s+1)+r.end(s+1))/2?-1:1,c=r.index(s)+(l>0?1:0),u=r.node(s),d=!1;if(1==a)d=u.canReplace(c,c,o);else{var p=u.contentMatchAt(c).findWrapping(o.firstChild.type);d=p&&u.canReplaceWith(c,c,p[0])}if(d)return 0==l?r.pos:l<0?r.before(s+1):r.after(s+1)}return null},t.findWrapping=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:e,o=function(e,t){var n=e.parent,r=e.startIndex,o=e.endIndex,i=n.contentMatchAt(r).findWrapping(t);if(!i)return null;var a=i.length?i[0]:t;return n.canReplaceWith(r,o,a)?i:null}(e,t),i=o&&function(e,t){var n=e.parent,r=e.startIndex,o=e.endIndex,i=n.child(r),a=t.contentMatch.findWrapping(i.type);if(!a)return null;for(var s=(a.length?a[a.length-1]:t).contentMatch,l=r;s&&l<o;l++)s=s.matchType(n.child(l).type);return s&&s.validEnd?a:null}(r,t);return i?o.map(R).concat({type:t,attrs:n}).concat(i.map(R)):null},t.insertPoint=N,t.joinPoint=function(e,t){for(var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:-1,r=e.resolve(t),o=r.depth;;o--){var i=void 0,a=void 0,s=r.index(o);if(o==r.depth?(i=r.nodeBefore,a=r.nodeAfter):n>0?(i=r.node(o+1),s++,a=r.node(o).maybeChild(s)):(i=r.node(o).maybeChild(s-1),a=r.node(o+1)),i&&!i.isTextblock&&I(i,a)&&r.node(o).canReplace(s,s+1))return t;if(0==o)break;t=n<0?r.before(o):r.after(o)}},t.liftTarget=function(e){for(var t=e.parent.content.cutByIndex(e.startIndex,e.endIndex),n=e.depth;;--n){var r=e.$from.node(n),o=e.$from.index(n),i=e.$to.indexAfter(n);if(n<e.depth&&r.canReplace(o,i,t))return n;if(0==n||r.type.spec.isolating||!D(r,o,i))break}return null},t.replaceStep=L},49454:function(e,t,n){"use strict";function r(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||i(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=i(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,s=!0,l=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return s=e.done,e},e:function(e){l=!0,a=e},f:function(){try{s||null==n.return||n.return()}finally{if(l)throw a}}}}function i(e,t){if(e){if("string"==typeof e)return a(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?a(e,t):void 0}}function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function s(){return s="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=p(e)););return e}(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(arguments.length<3?e:n):o.value}},s.apply(this,arguments)}function l(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&c(e,t)}function c(e,t){return c=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},c(e,t)}function u(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=p(e);if(t){var o=p(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return function(e,t){if(t&&("object"===f(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return d(e)}(this,n)}}function d(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function p(e){return p=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},p(e)}function f(e){return f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},f(e)}function h(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function m(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,(o=r.key,i=void 0,i=function(e,t){if("object"!==f(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==f(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(o,"string"),"symbol"===f(i)?i:String(i)),r)}var o,i}function g(e,t,n){return t&&m(e.prototype,t),n&&m(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}var v=n(37820),y=n(77712),b=n(36553),x=function(e){for(var t=0;;t++)if(!(e=e.previousSibling))return t},w=function(e){var t=e.assignedSlot||e.parentNode;return t&&11==t.nodeType?t.host:t},A=null,_=function(e,t,n){var r=A||(A=document.createRange());return r.setEnd(e,null==n?e.nodeValue.length:n),r.setStart(e,t||0),r},S=function(e,t,n,r){return n&&(C(e,t,n,r,-1)||C(e,t,n,r,1))},k=/^(img|br|input|textarea|hr)$/i;function C(e,t,n,r,o){for(;;){if(e==n&&t==r)return!0;if(t==(o<0?0:T(e))){var i=e.parentNode;if(!i||1!=i.nodeType||M(e)||k.test(e.nodeName)||"false"==e.contentEditable)return!1;t=x(e)+(o<0?0:1),e=i}else{if(1!=e.nodeType)return!1;if("false"==(e=e.childNodes[t+(o<0?-1:0)]).contentEditable)return!1;t=o<0?T(e):0}}}function T(e){return 3==e.nodeType?e.nodeValue.length:e.childNodes.length}function M(e){for(var t,n=e;n&&!(t=n.pmViewDesc);n=n.parentNode);return t&&t.node&&t.node.isBlock&&(t.dom==e||t.contentDOM==e)}var P=function(e){return e.focusNode&&S(e.focusNode,e.focusOffset,e.anchorNode,e.anchorOffset)};function O(e,t){var n=document.createEvent("Event");return n.initEvent("keydown",!0,!0),n.keyCode=e,n.key=n.code=t,n}var E="undefined"!=typeof navigator?navigator:null,D="undefined"!=typeof document?document:null,R=E&&E.userAgent||"",I=/Edge\/(\d+)/.exec(R),N=/MSIE \d/.exec(R),L=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(R),j=!!(N||L||I),$=N?document.documentMode:L?+L[1]:I?+I[1]:0,z=!j&&/gecko\/(\d+)/i.test(R);z&&(/Firefox\/(\d+)/.exec(R)||[0,0])[1];var F=!j&&/Chrome\/(\d+)/.exec(R),B=!!F,H=F?+F[1]:0,V=!j&&!!E&&/Apple Computer/.test(E.vendor),W=V&&(/Mobile\/\w+/.test(R)||!!E&&E.maxTouchPoints>2),U=W||!!E&&/Mac/.test(E.platform),q=!!E&&/Win/.test(E.platform),G=/Android \d/.test(R),Y=!!D&&"webkitFontSmoothing"in D.documentElement.style,X=Y?+(/\bAppleWebKit\/(\d+)/.exec(navigator.userAgent)||[0,0])[1]:0;function K(e){var t=e.defaultView&&e.defaultView.visualViewport;return t?{left:0,right:t.width,top:0,bottom:t.height}:{left:0,right:e.documentElement.clientWidth,top:0,bottom:e.documentElement.clientHeight}}function Z(e,t){return"number"==typeof e?e:e[t]}function J(e){var t=e.getBoundingClientRect(),n=t.width/e.offsetWidth||1,r=t.height/e.offsetHeight||1;return{left:t.left,right:t.left+e.clientWidth*n,top:t.top,bottom:t.top+e.clientHeight*r}}function Q(e,t,n){for(var r=e.someProp("scrollThreshold")||0,o=e.someProp("scrollMargin")||5,i=e.dom.ownerDocument,a=n||e.dom;a;a=w(a))if(1==a.nodeType){var s=a,l=s==i.body,c=l?K(i):J(s),u=0,d=0;if(t.top<c.top+Z(r,"top")?d=-(c.top-t.top+Z(o,"top")):t.bottom>c.bottom-Z(r,"bottom")&&(d=t.bottom-t.top>c.bottom-c.top?t.top+Z(o,"top")-c.top:t.bottom-c.bottom+Z(o,"bottom")),t.left<c.left+Z(r,"left")?u=-(c.left-t.left+Z(o,"left")):t.right>c.right-Z(r,"right")&&(u=t.right-c.right+Z(o,"right")),u||d)if(l)i.defaultView.scrollBy(u,d);else{var p=s.scrollLeft,f=s.scrollTop;d&&(s.scrollTop+=d),u&&(s.scrollLeft+=u);var h=s.scrollLeft-p,m=s.scrollTop-f;t={left:t.left-h,top:t.top-m,right:t.right-h,bottom:t.bottom-m}}if(l||/^(fixed|sticky)$/.test(getComputedStyle(a).position))break}}function ee(e){for(var t=[],n=e.ownerDocument,r=e;r&&(t.push({dom:r,top:r.scrollTop,left:r.scrollLeft}),e!=n);r=w(r));return t}function te(e,t){for(var n=0;n<e.length;n++){var r=e[n],o=r.dom,i=r.top,a=r.left;o.scrollTop!=i+t&&(o.scrollTop=i+t),o.scrollLeft!=a&&(o.scrollLeft=a)}}var ne=null;function re(e,t){for(var n,r,o,i,a=2e8,s=0,l=t.top,c=t.top,u=e.firstChild,d=0;u;u=u.nextSibling,d++){var p=void 0;if(1==u.nodeType)p=u.getClientRects();else{if(3!=u.nodeType)continue;p=_(u).getClientRects()}for(var f=0;f<p.length;f++){var h=p[f];if(h.top<=l&&h.bottom>=c){l=Math.max(h.bottom,l),c=Math.min(h.top,c);var m=h.left>t.left?h.left-t.left:h.right<t.left?t.left-h.right:0;if(m<a){n=u,a=m,r=m&&3==n.nodeType?{left:h.right<t.left?h.right:h.left,top:t.top}:t,1==u.nodeType&&m&&(s=d+(t.left>=(h.left+h.right)/2?1:0));continue}}else h.top>t.top&&!o&&h.left<=t.left&&h.right>=t.left&&(o=u,i={left:Math.max(h.left,Math.min(h.right,t.left)),top:h.top});!n&&(t.left>=h.right&&t.top>=h.top||t.left>=h.left&&t.top>=h.bottom)&&(s=d+1)}}return!n&&o&&(n=o,r=i,a=0),n&&3==n.nodeType?function(e,t){for(var n=e.nodeValue.length,r=document.createRange(),o=0;o<n;o++){r.setEnd(e,o+1),r.setStart(e,o);var i=le(r,1);if(i.top!=i.bottom&&oe(t,i))return{node:e,offset:o+(t.left>=(i.left+i.right)/2?1:0)}}return{node:e,offset:0}}(n,r):!n||a&&1==n.nodeType?{node:e,offset:s}:re(n,r)}function oe(e,t){return e.left>=t.left-1&&e.left<=t.right+1&&e.top>=t.top-1&&e.top<=t.bottom+1}function ie(e,t,n){var r=e.childNodes.length;if(r&&n.top<n.bottom)for(var o=Math.max(0,Math.min(r-1,Math.floor(r*(t.top-n.top)/(n.bottom-n.top))-2)),i=o;;){var a=e.childNodes[i];if(1==a.nodeType)for(var s=a.getClientRects(),l=0;l<s.length;l++){var c=s[l];if(oe(t,c))return ie(a,t,c)}if((i=(i+1)%r)==o)break}return e}function ae(e,t){var n,r=e.dom.ownerDocument,o=0,i=function(e,t,n){if(e.caretPositionFromPoint)try{var r=e.caretPositionFromPoint(t,n);if(r)return{node:r.offsetNode,offset:r.offset}}catch(e){}if(e.caretRangeFromPoint){var o=e.caretRangeFromPoint(t,n);if(o)return{node:o.startContainer,offset:o.startOffset}}}(r,t.left,t.top);i&&(n=i.node,o=i.offset);var a,s=(e.root.elementFromPoint?e.root:r).elementFromPoint(t.left,t.top);if(!s||!e.dom.contains(1!=s.nodeType?s.parentNode:s)){var l=e.dom.getBoundingClientRect();if(!oe(t,l))return null;if(!(s=ie(e.dom,t,l)))return null}if(V)for(var c=s;n&&c;c=w(c))c.draggable&&(n=void 0);if(s=function(e,t){var n=e.parentNode;return n&&/^li$/i.test(n.nodeName)&&t.left<e.getBoundingClientRect().left?n:e}(s,t),n){if(z&&1==n.nodeType&&(o=Math.min(o,n.childNodes.length))<n.childNodes.length){var u,d=n.childNodes[o];"IMG"==d.nodeName&&(u=d.getBoundingClientRect()).right<=t.left&&u.bottom>t.top&&o++}var p;Y&&o&&1==n.nodeType&&1==(p=n.childNodes[o-1]).nodeType&&"false"==p.contentEditable&&p.getBoundingClientRect().top>=t.top&&o--,n==e.dom&&o==n.childNodes.length-1&&1==n.lastChild.nodeType&&t.top>n.lastChild.getBoundingClientRect().bottom?a=e.state.doc.content.size:0!=o&&1==n.nodeType&&"BR"==n.childNodes[o-1].nodeName||(a=function(e,t,n,r){for(var o=-1,i=t,a=!1;i!=e.dom;){var s=e.docView.nearestDesc(i,!0);if(!s)return null;if(1==s.dom.nodeType&&(s.node.isBlock&&s.parent||!s.contentDOM)){var l=s.dom.getBoundingClientRect();if(s.node.isBlock&&s.parent&&(!a&&l.left>r.left||l.top>r.top?o=s.posBefore:(!a&&l.right<r.left||l.bottom<r.top)&&(o=s.posAfter),a=!0),!s.contentDOM&&o<0&&!s.node.isText)return(s.node.isBlock?r.top<(l.top+l.bottom)/2:r.left<(l.left+l.right)/2)?s.posBefore:s.posAfter}i=s.dom.parentNode}return o>-1?o:e.docView.posFromDOM(t,n,-1)}(e,n,o,t))}null==a&&(a=function(e,t,n){var r=re(t,n),o=r.node,i=r.offset,a=-1;if(1==o.nodeType&&!o.firstChild){var s=o.getBoundingClientRect();a=s.left!=s.right&&n.left>(s.left+s.right)/2?1:-1}return e.docView.posFromDOM(o,i,a)}(e,s,t));var f=e.docView.nearestDesc(s,!0);return{pos:a,inside:f?f.posAtStart-f.border:-1}}function se(e){return e.top<e.bottom||e.left<e.right}function le(e,t){var n=e.getClientRects();if(n.length){var r=n[t<0?0:n.length-1];if(se(r))return r}return Array.prototype.find.call(n,se)||e.getBoundingClientRect()}var ce=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/;function ue(e,t,n){var r=e.docView.domFromPos(t,n<0?-1:1),o=r.node,i=r.offset,a=r.atom,s=Y||z;if(3==o.nodeType){if(!s||!ce.test(o.nodeValue)&&(n<0?i:i!=o.nodeValue.length)){var l=i,c=i,u=n<0?1:-1;return n<0&&!i?(c++,u=-1):n>=0&&i==o.nodeValue.length?(l--,u=1):n<0?l--:c++,de(le(_(o,l,c),u),u<0)}var d=le(_(o,i,i),n);if(z&&i&&/\s/.test(o.nodeValue[i-1])&&i<o.nodeValue.length){var p=le(_(o,i-1,i-1),-1);if(p.top==d.top){var f=le(_(o,i,i+1),-1);if(f.top!=d.top)return de(f,f.left<p.left)}}return d}if(!e.state.doc.resolve(t-(a||0)).parent.inlineContent){if(null==a&&i&&(n<0||i==T(o))){var h=o.childNodes[i-1];if(1==h.nodeType)return pe(h.getBoundingClientRect(),!1)}if(null==a&&i<T(o)){var m=o.childNodes[i];if(1==m.nodeType)return pe(m.getBoundingClientRect(),!0)}return pe(o.getBoundingClientRect(),n>=0)}if(null==a&&i&&(n<0||i==T(o))){var g=o.childNodes[i-1],v=3==g.nodeType?_(g,T(g)-(s?0:1)):1!=g.nodeType||"BR"==g.nodeName&&g.nextSibling?null:g;if(v)return de(le(v,1),!1)}if(null==a&&i<T(o)){for(var y=o.childNodes[i];y.pmViewDesc&&y.pmViewDesc.ignoreForCoords;)y=y.nextSibling;var b=y?3==y.nodeType?_(y,0,s?0:1):1==y.nodeType?y:null:null;if(b)return de(le(b,-1),!0)}return de(le(3==o.nodeType?_(o):o,-n),n>=0)}function de(e,t){if(0==e.width)return e;var n=t?e.left:e.right;return{top:e.top,bottom:e.bottom,left:n,right:n}}function pe(e,t){if(0==e.height)return e;var n=t?e.top:e.bottom;return{top:n,bottom:n,left:e.left,right:e.right}}function fe(e,t,n){var r=e.state,o=e.root.activeElement;r!=t&&e.updateState(t),o!=e.dom&&e.focus();try{return n()}finally{r!=t&&e.updateState(r),o!=e.dom&&o&&o.focus()}}var he=/[\u0590-\u08ac]/;var me=null,ge=null,ve=!1;function ye(e,t,n){return me==t&&ge==n?ve:(me=t,ge=n,ve="up"==n||"down"==n?function(e,t,n){var r=t.selection,o="up"==n?r.$from:r.$to;return fe(e,t,(function(){for(var t=e.docView.domFromPos(o.pos,"up"==n?-1:1).node;;){var r=e.docView.nearestDesc(t,!0);if(!r)break;if(r.node.isBlock){t=r.contentDOM||r.dom;break}t=r.dom.parentNode}for(var i=ue(e,o.pos,1),a=t.firstChild;a;a=a.nextSibling){var s=void 0;if(1==a.nodeType)s=a.getClientRects();else{if(3!=a.nodeType)continue;s=_(a,0,a.nodeValue.length).getClientRects()}for(var l=0;l<s.length;l++){var c=s[l];if(c.bottom>c.top+1&&("up"==n?i.top-c.top>2*(c.bottom-i.top):c.bottom-i.bottom>2*(i.bottom-c.top)))return!1}}return!0}))}(e,t,n):function(e,t,n){var r=t.selection.$head;if(!r.parent.isTextblock)return!1;var o=r.parentOffset,i=!o,a=o==r.parent.content.size,s=e.domSelection();return he.test(r.parent.textContent)&&s.modify?fe(e,t,(function(){var t=e.domSelectionRange(),o=t.focusNode,i=t.focusOffset,a=t.anchorNode,l=t.anchorOffset,c=s.caretBidiLevel;s.modify("move",n,"character");var u=r.depth?e.docView.domAfterPos(r.before()):e.dom,d=e.domSelectionRange(),p=d.focusNode,f=d.focusOffset,h=p&&!u.contains(1==p.nodeType?p:p.parentNode)||o==p&&i==f;try{s.collapse(a,l),o&&(o!=a||i!=l)&&s.extend&&s.extend(o,i)}catch(e){}return null!=c&&(s.caretBidiLevel=c),h})):"left"==n||"backward"==n?i:a}(e,t,n))}var be=function(){function e(t,n,r,o){h(this,e),this.parent=t,this.children=n,this.dom=r,this.contentDOM=o,this.dirty=0,r.pmViewDesc=this}return g(e,[{key:"matchesWidget",value:function(e){return!1}},{key:"matchesMark",value:function(e){return!1}},{key:"matchesNode",value:function(e,t,n){return!1}},{key:"matchesHack",value:function(e){return!1}},{key:"parseRule",value:function(){return null}},{key:"stopEvent",value:function(e){return!1}},{key:"size",get:function(){for(var e=0,t=0;t<this.children.length;t++)e+=this.children[t].size;return e}},{key:"border",get:function(){return 0}},{key:"destroy",value:function(){this.parent=void 0,this.dom.pmViewDesc==this&&(this.dom.pmViewDesc=void 0);for(var e=0;e<this.children.length;e++)this.children[e].destroy()}},{key:"posBeforeChild",value:function(e){for(var t=0,n=this.posAtStart;;t++){var r=this.children[t];if(r==e)return n;n+=r.size}}},{key:"posBefore",get:function(){return this.parent.posBeforeChild(this)}},{key:"posAtStart",get:function(){return this.parent?this.parent.posBeforeChild(this)+this.border:0}},{key:"posAfter",get:function(){return this.posBefore+this.size}},{key:"posAtEnd",get:function(){return this.posAtStart+this.size-2*this.border}},{key:"localPosFromDOM",value:function(e,t,n){if(this.contentDOM&&this.contentDOM.contains(1==e.nodeType?e:e.parentNode)){if(n<0){var r,o;if(e==this.contentDOM)r=e.childNodes[t-1];else{for(;e.parentNode!=this.contentDOM;)e=e.parentNode;r=e.previousSibling}for(;r&&(!(o=r.pmViewDesc)||o.parent!=this);)r=r.previousSibling;return r?this.posBeforeChild(o)+o.size:this.posAtStart}var i,a;if(e==this.contentDOM)i=e.childNodes[t];else{for(;e.parentNode!=this.contentDOM;)e=e.parentNode;i=e.nextSibling}for(;i&&(!(a=i.pmViewDesc)||a.parent!=this);)i=i.nextSibling;return i?this.posBeforeChild(a):this.posAtEnd}var s;if(e==this.dom&&this.contentDOM)s=t>x(this.contentDOM);else if(this.contentDOM&&this.contentDOM!=this.dom&&this.dom.contains(this.contentDOM))s=2&e.compareDocumentPosition(this.contentDOM);else if(this.dom.firstChild){if(0==t)for(var l=e;;l=l.parentNode){if(l==this.dom){s=!1;break}if(l.previousSibling)break}if(null==s&&t==e.childNodes.length)for(var c=e;;c=c.parentNode){if(c==this.dom){s=!0;break}if(c.nextSibling)break}}return(null==s?n>0:s)?this.posAtEnd:this.posAtStart}},{key:"nearestDesc",value:function(e){for(var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=!0,r=e;r;r=r.parentNode){var o=this.getDesc(r),i=void 0;if(o&&(!t||o.node)){if(!n||!(i=o.nodeDOM)||(1==i.nodeType?i.contains(1==e.nodeType?e:e.parentNode):i==e))return o;n=!1}}}},{key:"getDesc",value:function(e){for(var t=e.pmViewDesc,n=t;n;n=n.parent)if(n==this)return t}},{key:"posFromDOM",value:function(e,t,n){for(var r=e;r;r=r.parentNode){var o=this.getDesc(r);if(o)return o.localPosFromDOM(e,t,n)}return-1}},{key:"descAt",value:function(e){for(var t=0,n=0;t<this.children.length;t++){var r=this.children[t],o=n+r.size;if(n==e&&o!=n){for(;!r.border&&r.children.length;)r=r.children[0];return r}if(e<o)return r.descAt(e-n-r.border);n=o}}},{key:"domFromPos",value:function(e,t){if(!this.contentDOM)return{node:this.dom,offset:0,atom:e+1};for(var n,r=0,o=0,i=0;r<this.children.length;r++){var a=this.children[r],s=i+a.size;if(s>e||a instanceof Ce){o=e-i;break}i=s}if(o)return this.children[r].domFromPos(o-this.children[r].border,t);for(;r&&!(n=this.children[r-1]).size&&n instanceof xe&&n.side>=0;r--);if(t<=0){for(var l,c=!0;(l=r?this.children[r-1]:null)&&l.dom.parentNode!=this.contentDOM;r--,c=!1);return l&&t&&c&&!l.border&&!l.domAtom?l.domFromPos(l.size,t):{node:this.contentDOM,offset:l?x(l.dom)+1:0}}for(var u,d=!0;(u=r<this.children.length?this.children[r]:null)&&u.dom.parentNode!=this.contentDOM;r++,d=!1);return u&&d&&!u.border&&!u.domAtom?u.domFromPos(0,t):{node:this.contentDOM,offset:u?x(u.dom):this.contentDOM.childNodes.length}}},{key:"parseRange",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(0==this.children.length)return{node:this.contentDOM,from:e,to:t,fromOffset:0,toOffset:this.contentDOM.childNodes.length};for(var r=-1,o=-1,i=n,a=0;;a++){var s=this.children[a],l=i+s.size;if(-1==r&&e<=l){var c=i+s.border;if(e>=c&&t<=l-s.border&&s.node&&s.contentDOM&&this.contentDOM.contains(s.contentDOM))return s.parseRange(e,t,c);e=i;for(var u=a;u>0;u--){var d=this.children[u-1];if(d.size&&d.dom.parentNode==this.contentDOM&&!d.emptyChildAt(1)){r=x(d.dom)+1;break}e-=d.size}-1==r&&(r=0)}if(r>-1&&(l>t||a==this.children.length-1)){t=l;for(var p=a+1;p<this.children.length;p++){var f=this.children[p];if(f.size&&f.dom.parentNode==this.contentDOM&&!f.emptyChildAt(-1)){o=x(f.dom);break}t+=f.size}-1==o&&(o=this.contentDOM.childNodes.length);break}i=l}return{node:this.contentDOM,from:e,to:t,fromOffset:r,toOffset:o}}},{key:"emptyChildAt",value:function(e){if(this.border||!this.contentDOM||!this.children.length)return!1;var t=this.children[e<0?0:this.children.length-1];return 0==t.size||t.emptyChildAt(e)}},{key:"domAfterPos",value:function(e){var t=this.domFromPos(e,0),n=t.node,r=t.offset;if(1!=n.nodeType||r==n.childNodes.length)throw new RangeError("No node after pos "+e);return n.childNodes[r]}},{key:"setSelection",value:function(e,t,n){for(var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],o=Math.min(e,t),i=Math.max(e,t),a=0,s=0;a<this.children.length;a++){var l=this.children[a],c=s+l.size;if(o>s&&i<c)return l.setSelection(e-s-l.border,t-s-l.border,n,r);s=c}var u=this.domFromPos(e,e?-1:1),d=t==e?u:this.domFromPos(t,t?-1:1),p=n.getSelection(),f=!1;if((z||V)&&e==t){var h=u,m=h.node,g=h.offset;if(3==m.nodeType){if((f=!(!g||"\n"!=m.nodeValue[g-1]))&&g==m.nodeValue.length)for(var v,y=m;y;y=y.parentNode){if(v=y.nextSibling){"BR"==v.nodeName&&(u=d={node:v.parentNode,offset:x(v)+1});break}var b=y.pmViewDesc;if(b&&b.node&&b.node.isBlock)break}}else{var w=m.childNodes[g-1];f=w&&("BR"==w.nodeName||"false"==w.contentEditable)}}if(z&&p.focusNode&&p.focusNode!=d.node&&1==p.focusNode.nodeType){var A=p.focusNode.childNodes[p.focusOffset];A&&"false"==A.contentEditable&&(r=!0)}if(r||f&&V||!S(u.node,u.offset,p.anchorNode,p.anchorOffset)||!S(d.node,d.offset,p.focusNode,p.focusOffset)){var _=!1;if((p.extend||e==t)&&!f){p.collapse(u.node,u.offset);try{e!=t&&p.extend(d.node,d.offset),_=!0}catch(e){}}if(!_){if(e>t){var k=u;u=d,d=k}var C=document.createRange();C.setEnd(d.node,d.offset),C.setStart(u.node,u.offset),p.removeAllRanges(),p.addRange(C)}}}},{key:"ignoreMutation",value:function(e){return!this.contentDOM&&"selection"!=e.type}},{key:"contentLost",get:function(){return this.contentDOM&&this.contentDOM!=this.dom&&!this.dom.contains(this.contentDOM)}},{key:"markDirty",value:function(e,t){for(var n=0,r=0;r<this.children.length;r++){var o=this.children[r],i=n+o.size;if(n==i?e<=i&&t>=n:e<i&&t>n){var a=n+o.border,s=i-o.border;if(e>=a&&t<=s)return this.dirty=e==n||t==i?2:1,void(e!=a||t!=s||!o.contentLost&&o.dom.parentNode==this.contentDOM?o.markDirty(e-a,t-a):o.dirty=3);o.dirty=o.dom!=o.contentDOM||o.dom.parentNode!=this.contentDOM||o.children.length?3:2}n=i}this.dirty=2}},{key:"markParentsDirty",value:function(){for(var e=1,t=this.parent;t;t=t.parent,e++){var n=1==e?2:1;t.dirty<n&&(t.dirty=n)}}},{key:"domAtom",get:function(){return!1}},{key:"ignoreForCoords",get:function(){return!1}},{key:"isText",value:function(e){return!1}}]),e}(),xe=function(e){l(n,e);var t=u(n);function n(e,r,o,i){var a;h(this,n);var s,l=r.type.toDOM;if("function"==typeof l&&(l=l(o,(function(){return s?s.parent?s.parent.posBeforeChild(s):void 0:i}))),!r.type.spec.raw){if(1!=l.nodeType){var c=document.createElement("span");c.appendChild(l),l=c}l.contentEditable="false",l.classList.add("ProseMirror-widget")}return(a=t.call(this,e,[],l,null)).widget=r,a.widget=r,s=d(a),a}return g(n,[{key:"matchesWidget",value:function(e){return 0==this.dirty&&e.type.eq(this.widget.type)}},{key:"parseRule",value:function(){return{ignore:!0}}},{key:"stopEvent",value:function(e){var t=this.widget.spec.stopEvent;return!!t&&t(e)}},{key:"ignoreMutation",value:function(e){return"selection"!=e.type||this.widget.spec.ignoreSelection}},{key:"destroy",value:function(){this.widget.type.destroy(this.dom),s(p(n.prototype),"destroy",this).call(this)}},{key:"domAtom",get:function(){return!0}},{key:"side",get:function(){return this.widget.type.side}}]),n}(be),we=function(e){l(n,e);var t=u(n);function n(e,r,o,i){var a;return h(this,n),(a=t.call(this,e,[],r,null)).textDOM=o,a.text=i,a}return g(n,[{key:"size",get:function(){return this.text.length}},{key:"localPosFromDOM",value:function(e,t){return e!=this.textDOM?this.posAtStart+(t?this.size:0):this.posAtStart+t}},{key:"domFromPos",value:function(e){return{node:this.textDOM,offset:e}}},{key:"ignoreMutation",value:function(e){return"characterData"===e.type&&e.target.nodeValue==e.oldValue}}]),n}(be),Ae=function(e){l(n,e);var t=u(n);function n(e,r,o,i){var a;return h(this,n),(a=t.call(this,e,[],o,i)).mark=r,a}return g(n,[{key:"parseRule",value:function(){return 3&this.dirty||this.mark.type.spec.reparseInView?null:{mark:this.mark.type.name,attrs:this.mark.attrs,contentElement:this.contentDOM}}},{key:"matchesMark",value:function(e){return 3!=this.dirty&&this.mark.eq(e)}},{key:"markDirty",value:function(e,t){if(s(p(n.prototype),"markDirty",this).call(this,e,t),0!=this.dirty){for(var r=this.parent;!r.node;)r=r.parent;r.dirty<this.dirty&&(r.dirty=this.dirty),this.dirty=0}}},{key:"slice",value:function(e,t,r){var o=n.create(this.parent,this.mark,!0,r),i=this.children,a=this.size;t<a&&(i=ze(i,t,a,r)),e>0&&(i=ze(i,0,e,r));for(var s=0;s<i.length;s++)i[s].parent=o;return o.children=i,o}}],[{key:"create",value:function(e,t,r,o){var i=o.nodeViews[t.type.name],a=i&&i(t,o,r);return a&&a.dom||(a=y.DOMSerializer.renderSpec(document,t.type.spec.toDOM(t,r))),new n(e,t,a.dom,a.contentDOM||a.dom)}}]),n}(be),_e=function(e){l(n,e);var t=u(n);function n(e,r,o,i,a,s,l,c,u){var d;return h(this,n),(d=t.call(this,e,[],a,s)).node=r,d.outerDeco=o,d.innerDeco=i,d.nodeDOM=l,d}return g(n,[{key:"parseRule",value:function(){var e=this;if(this.node.type.spec.reparseInView)return null;var t={node:this.node.type.name,attrs:this.node.attrs};if("pre"==this.node.type.whitespace&&(t.preserveWhitespace="full"),this.contentDOM)if(this.contentLost){for(var n=this.children.length-1;n>=0;n--){var r=this.children[n];if(this.dom.contains(r.dom.parentNode)){t.contentElement=r.dom.parentNode;break}}t.contentElement||(t.getContent=function(){return y.Fragment.empty})}else t.contentElement=this.contentDOM;else t.getContent=function(){return e.node.content};return t}},{key:"matchesNode",value:function(e,t,n){return 0==this.dirty&&e.eq(this.node)&&Ne(t,this.outerDeco)&&n.eq(this.innerDeco)}},{key:"size",get:function(){return this.node.nodeSize}},{key:"border",get:function(){return this.node.isLeaf?0:1}},{key:"updateChildren",value:function(e,t){var n=this,r=this.node.inlineContent,o=t,i=e.composing?this.localCompositionInfo(e,t):null,a=i&&i.pos>-1?i:null,s=i&&i.pos<0,l=new je(this,a&&a.node,e);!function(e,t,n,r){var o=t.locals(e),i=0;if(0==o.length){for(var a=0;a<e.childCount;a++){var s=e.child(a);r(s,o,t.forChild(i,s),a),i+=s.nodeSize}return}for(var l=0,c=[],u=null,d=0;;){for(var p=void 0,f=void 0;l<o.length&&o[l].to==i;){var h=o[l++];h.widget&&(p?(f||(f=[p])).push(h):p=h)}if(p)if(f){f.sort($e);for(var m=0;m<f.length;m++)n(f[m],d,!!u)}else n(p,d,!!u);var g=void 0,v=void 0;if(u)v=-1,g=u,u=null;else{if(!(d<e.childCount))break;v=d,g=e.child(d++)}for(var y=0;y<c.length;y++)c[y].to<=i&&c.splice(y--,1);for(;l<o.length&&o[l].from<=i&&o[l].to>i;)c.push(o[l++]);var b=i+g.nodeSize;if(g.isText){var x=b;l<o.length&&o[l].from<x&&(x=o[l].from);for(var w=0;w<c.length;w++)c[w].to<x&&(x=c[w].to);x<b&&(u=g.cut(x-i),g=g.cut(0,x-i),b=x,v=-1)}else for(;l<o.length&&o[l].to<b;)l++;r(g,g.isInline&&!g.isLeaf?c.filter((function(e){return!e.inline})):c.slice(),t.forChild(i,g),v),i=b}}(this.node,this.innerDeco,(function(t,i,a){t.spec.marks?l.syncToMarks(t.spec.marks,r,e):t.type.side>=0&&!a&&l.syncToMarks(i==n.node.childCount?y.Mark.none:n.node.child(i).marks,r,e),l.placeWidget(t,e,o)}),(function(t,n,a,c){var u;l.syncToMarks(t.marks,r,e),l.findNodeMatch(t,n,a,c)||s&&e.state.selection.from>o&&e.state.selection.to<o+t.nodeSize&&(u=l.findIndexWithChild(i.node))>-1&&l.updateNodeAt(t,n,a,u,e)||l.updateNextNode(t,n,a,e,c,o)||l.addNode(t,n,a,e,o),o+=t.nodeSize})),l.syncToMarks([],r,e),this.node.isTextblock&&l.addTextblockHacks(),l.destroyRest(),(l.changed||2==this.dirty)&&(a&&this.protectLocalComposition(e,a),Me(this.contentDOM,this.children,e),W&&function(e){if("UL"==e.nodeName||"OL"==e.nodeName){var t=e.style.cssText;e.style.cssText=t+"; list-style: square !important",window.getComputedStyle(e).listStyle,e.style.cssText=t}}(this.dom))}},{key:"localCompositionInfo",value:function(e,t){var n=e.state.selection,r=n.from,o=n.to;if(!(e.state.selection instanceof v.TextSelection)||r<t||o>t+this.node.content.size)return null;var i=e.input.compositionNode;if(!i||!this.dom.contains(i.parentNode))return null;if(this.node.inlineContent){var a=i.nodeValue,s=function(e,t,n,r){for(var o=0,i=0;o<e.childCount&&i<=r;){var a=e.child(o++),s=i;if(i+=a.nodeSize,a.isText){for(var l=a.text;o<e.childCount;){var c=e.child(o++);if(i+=c.nodeSize,!c.isText)break;l+=c.text}if(i>=n){if(i>=r&&l.slice(r-t.length-s,r-s)==t)return r-t.length;var u=s<r?l.lastIndexOf(t,r-s-1):-1;if(u>=0&&u+t.length+s>=n)return s+u;if(n==r&&l.length>=r+t.length-s&&l.slice(r-s,r-s+t.length)==t)return r}}}return-1}(this.node.content,a,r-t,o-t);return s<0?null:{node:i,pos:s,text:a}}return{node:i,pos:-1,text:""}}},{key:"protectLocalComposition",value:function(e,t){var n=t.node,r=t.pos,o=t.text;if(!this.getDesc(n)){for(var i=n;i.parentNode!=this.contentDOM;i=i.parentNode){for(;i.previousSibling;)i.parentNode.removeChild(i.previousSibling);for(;i.nextSibling;)i.parentNode.removeChild(i.nextSibling);i.pmViewDesc&&(i.pmViewDesc=void 0)}var a=new we(this,i,n,o);e.input.compositionNodes.push(a),this.children=ze(this.children,r,r+o.length,e,a)}}},{key:"update",value:function(e,t,n,r){return!(3==this.dirty||!e.sameMarkup(this.node))&&(this.updateInner(e,t,n,r),!0)}},{key:"updateInner",value:function(e,t,n,r){this.updateOuterDeco(t),this.node=e,this.innerDeco=n,this.contentDOM&&this.updateChildren(r,this.posAtStart),this.dirty=0}},{key:"updateOuterDeco",value:function(e){if(!Ne(e,this.outerDeco)){var t=1!=this.nodeDOM.nodeType,n=this.dom;this.dom=De(this.dom,this.nodeDOM,Ee(this.outerDeco,this.node,t),Ee(e,this.node,t)),this.dom!=n&&(n.pmViewDesc=void 0,this.dom.pmViewDesc=this),this.outerDeco=e}}},{key:"selectNode",value:function(){1==this.nodeDOM.nodeType&&this.nodeDOM.classList.add("ProseMirror-selectednode"),!this.contentDOM&&this.node.type.spec.draggable||(this.dom.draggable=!0)}},{key:"deselectNode",value:function(){1==this.nodeDOM.nodeType&&(this.nodeDOM.classList.remove("ProseMirror-selectednode"),!this.contentDOM&&this.node.type.spec.draggable||this.dom.removeAttribute("draggable"))}},{key:"domAtom",get:function(){return this.node.isAtom}}],[{key:"create",value:function(e,t,r,o,i,a){var s,l=i.nodeViews[t.type.name],c=l&&l(t,i,(function(){return s?s.parent?s.parent.posBeforeChild(s):void 0:a}),r,o),u=c&&c.dom,d=c&&c.contentDOM;if(t.isText)if(u){if(3!=u.nodeType)throw new RangeError("Text must be rendered as a DOM text node")}else u=document.createTextNode(t.text);else if(!u){var p=y.DOMSerializer.renderSpec(document,t.type.spec.toDOM(t));u=p.dom,d=p.contentDOM}d||t.isText||"BR"==u.nodeName||(u.hasAttribute("contenteditable")||(u.contentEditable="false"),t.type.spec.draggable&&(u.draggable=!0));var f=u;return u=Ie(u,r,t),c?s=new Te(e,t,r,o,u,d||null,f,c,i,a+1):t.isText?new ke(e,t,r,o,u,f,i):new n(e,t,r,o,u,d||null,f,i,a+1)}}]),n}(be);function Se(e,t,n,r,o){Ie(r,t,e);var i=new _e(void 0,e,t,n,r,r,r,o,0);return i.contentDOM&&i.updateChildren(o,0),i}var ke=function(e){l(n,e);var t=u(n);function n(e,r,o,i,a,s,l){return h(this,n),t.call(this,e,r,o,i,a,null,s,l,0)}return g(n,[{key:"parseRule",value:function(){for(var e=this.nodeDOM.parentNode;e&&e!=this.dom&&!e.pmIsDeco;)e=e.parentNode;return{skip:e||!0}}},{key:"update",value:function(e,t,n,r){return!(3==this.dirty||0!=this.dirty&&!this.inParent()||!e.sameMarkup(this.node))&&(this.updateOuterDeco(t),0==this.dirty&&e.text==this.node.text||e.text==this.nodeDOM.nodeValue||(this.nodeDOM.nodeValue=e.text,r.trackWrites==this.nodeDOM&&(r.trackWrites=null)),this.node=e,this.dirty=0,!0)}},{key:"inParent",value:function(){for(var e=this.parent.contentDOM,t=this.nodeDOM;t;t=t.parentNode)if(t==e)return!0;return!1}},{key:"domFromPos",value:function(e){return{node:this.nodeDOM,offset:e}}},{key:"localPosFromDOM",value:function(e,t,r){return e==this.nodeDOM?this.posAtStart+Math.min(t,this.node.text.length):s(p(n.prototype),"localPosFromDOM",this).call(this,e,t,r)}},{key:"ignoreMutation",value:function(e){return"characterData"!=e.type&&"selection"!=e.type}},{key:"slice",value:function(e,t,r){var o=this.node.cut(e,t),i=document.createTextNode(o.text);return new n(this.parent,o,this.outerDeco,this.innerDeco,i,i,r)}},{key:"markDirty",value:function(e,t){s(p(n.prototype),"markDirty",this).call(this,e,t),this.dom==this.nodeDOM||0!=e&&t!=this.nodeDOM.nodeValue.length||(this.dirty=3)}},{key:"domAtom",get:function(){return!1}},{key:"isText",value:function(e){return this.node.text==e}}]),n}(_e),Ce=function(e){l(n,e);var t=u(n);function n(){return h(this,n),t.apply(this,arguments)}return g(n,[{key:"parseRule",value:function(){return{ignore:!0}}},{key:"matchesHack",value:function(e){return 0==this.dirty&&this.dom.nodeName==e}},{key:"domAtom",get:function(){return!0}},{key:"ignoreForCoords",get:function(){return"IMG"==this.dom.nodeName}}]),n}(be),Te=function(e){l(n,e);var t=u(n);function n(e,r,o,i,a,s,l,c,u,d){var p;return h(this,n),(p=t.call(this,e,r,o,i,a,s,l,u,d)).spec=c,p}return g(n,[{key:"update",value:function(e,t,r,o){if(3==this.dirty)return!1;if(this.spec.update){var i=this.spec.update(e,t,r);return i&&this.updateInner(e,t,r,o),i}return!(!this.contentDOM&&!e.isLeaf)&&s(p(n.prototype),"update",this).call(this,e,t,r,o)}},{key:"selectNode",value:function(){this.spec.selectNode?this.spec.selectNode():s(p(n.prototype),"selectNode",this).call(this)}},{key:"deselectNode",value:function(){this.spec.deselectNode?this.spec.deselectNode():s(p(n.prototype),"deselectNode",this).call(this)}},{key:"setSelection",value:function(e,t,r,o){this.spec.setSelection?this.spec.setSelection(e,t,r):s(p(n.prototype),"setSelection",this).call(this,e,t,r,o)}},{key:"destroy",value:function(){this.spec.destroy&&this.spec.destroy(),s(p(n.prototype),"destroy",this).call(this)}},{key:"stopEvent",value:function(e){return!!this.spec.stopEvent&&this.spec.stopEvent(e)}},{key:"ignoreMutation",value:function(e){return this.spec.ignoreMutation?this.spec.ignoreMutation(e):s(p(n.prototype),"ignoreMutation",this).call(this,e)}}]),n}(_e);function Me(e,t,n){for(var r=e.firstChild,o=!1,i=0;i<t.length;i++){var a=t[i],s=a.dom;if(s.parentNode==e){for(;s!=r;)r=Le(r),o=!0;r=r.nextSibling}else o=!0,e.insertBefore(s,r);if(a instanceof Ae){var l=r?r.previousSibling:e.lastChild;Me(a.contentDOM,a.children,n),r=l?l.nextSibling:e.firstChild}}for(;r;)r=Le(r),o=!0;o&&n.trackWrites==e&&(n.trackWrites=null)}var Pe=function(e){e&&(this.nodeName=e)};Pe.prototype=Object.create(null);var Oe=[new Pe];function Ee(e,t,n){if(0==e.length)return Oe;for(var r=n?Oe[0]:new Pe,o=[r],i=0;i<e.length;i++){var a=e[i].type.attrs;if(a)for(var s in a.nodeName&&o.push(r=new Pe(a.nodeName)),a){var l=a[s];null!=l&&(n&&1==o.length&&o.push(r=new Pe(t.isInline?"span":"div")),"class"==s?r.class=(r.class?r.class+" ":"")+l:"style"==s?r.style=(r.style?r.style+";":"")+l:"nodeName"!=s&&(r[s]=l))}}return o}function De(e,t,n,r){if(n==Oe&&r==Oe)return t;for(var o=t,i=0;i<r.length;i++){var a=r[i],s=n[i];if(i){var l=void 0;s&&s.nodeName==a.nodeName&&o!=e&&(l=o.parentNode)&&l.nodeName.toLowerCase()==a.nodeName||((l=document.createElement(a.nodeName)).pmIsDeco=!0,l.appendChild(o),s=Oe[0]),o=l}Re(o,s||Oe[0],a)}return o}function Re(e,t,n){for(var r in t)"class"==r||"style"==r||"nodeName"==r||r in n||e.removeAttribute(r);for(var o in n)"class"!=o&&"style"!=o&&"nodeName"!=o&&n[o]!=t[o]&&e.setAttribute(o,n[o]);if(t.class!=n.class){for(var i=t.class?t.class.split(" ").filter(Boolean):[],a=n.class?n.class.split(" ").filter(Boolean):[],s=0;s<i.length;s++)-1==a.indexOf(i[s])&&e.classList.remove(i[s]);for(var l=0;l<a.length;l++)-1==i.indexOf(a[l])&&e.classList.add(a[l]);0==e.classList.length&&e.removeAttribute("class")}if(t.style!=n.style){if(t.style)for(var c,u=/\s*([\w\-\xa1-\uffff]+)\s*:(?:"(?:\\.|[^"])*"|'(?:\\.|[^'])*'|\(.*?\)|[^;])*/g;c=u.exec(t.style);)e.style.removeProperty(c[1]);n.style&&(e.style.cssText+=n.style)}}function Ie(e,t,n){return De(e,e,Oe,Ee(t,n,1!=e.nodeType))}function Ne(e,t){if(e.length!=t.length)return!1;for(var n=0;n<e.length;n++)if(!e[n].type.eq(t[n].type))return!1;return!0}function Le(e){var t=e.nextSibling;return e.parentNode.removeChild(e),t}var je=function(){function e(t,n,r){h(this,e),this.lock=n,this.view=r,this.index=0,this.stack=[],this.changed=!1,this.top=t,this.preMatch=function(e,t){var n=t,r=n.children.length,o=e.childCount,i=new Map,a=[];e:for(;o>0;){for(var s=void 0;;)if(r){var l=n.children[r-1];if(!(l instanceof Ae)){s=l,r--;break}n=l,r=l.children.length}else{if(n==t)break e;r=n.parent.children.indexOf(n),n=n.parent}var c=s.node;if(c){if(c!=e.child(o-1))break;--o,i.set(s,o),a.push(s)}}return{index:o,matched:i,matches:a.reverse()}}(t.node.content,t)}return g(e,[{key:"destroyBetween",value:function(e,t){if(e!=t){for(var n=e;n<t;n++)this.top.children[n].destroy();this.top.children.splice(e,t-e),this.changed=!0}}},{key:"destroyRest",value:function(){this.destroyBetween(this.index,this.top.children.length)}},{key:"syncToMarks",value:function(e,t,n){for(var r=0,o=this.stack.length>>1,i=Math.min(o,e.length);r<i&&(r==o-1?this.top:this.stack[r+1<<1]).matchesMark(e[r])&&!1!==e[r].type.spec.spanning;)r++;for(;r<o;)this.destroyRest(),this.top.dirty=0,this.index=this.stack.pop(),this.top=this.stack.pop(),o--;for(;o<e.length;){this.stack.push(this.top,this.index+1);for(var a=-1,s=this.index;s<Math.min(this.index+3,this.top.children.length);s++){var l=this.top.children[s];if(l.matchesMark(e[o])&&!this.isLocked(l.dom)){a=s;break}}if(a>-1)a>this.index&&(this.changed=!0,this.destroyBetween(this.index,a)),this.top=this.top.children[this.index];else{var c=Ae.create(this.top,e[o],t,n);this.top.children.splice(this.index,0,c),this.top=c,this.changed=!0}this.index=0,o++}}},{key:"findNodeMatch",value:function(e,t,n,r){var o,i=-1;if(r>=this.preMatch.index&&(o=this.preMatch.matches[r-this.preMatch.index]).parent==this.top&&o.matchesNode(e,t,n))i=this.top.children.indexOf(o,this.index);else for(var a=this.index,s=Math.min(this.top.children.length,a+5);a<s;a++){var l=this.top.children[a];if(l.matchesNode(e,t,n)&&!this.preMatch.matched.has(l)){i=a;break}}return!(i<0)&&(this.destroyBetween(this.index,i),this.index++,!0)}},{key:"updateNodeAt",value:function(e,t,n,r,o){var i=this.top.children[r];return 3==i.dirty&&i.dom==i.contentDOM&&(i.dirty=2),!!i.update(e,t,n,o)&&(this.destroyBetween(this.index,r),this.index++,!0)}},{key:"findIndexWithChild",value:function(e){for(;;){var t=e.parentNode;if(!t)return-1;if(t==this.top.contentDOM){var n=e.pmViewDesc;if(n)for(var r=this.index;r<this.top.children.length;r++)if(this.top.children[r]==n)return r;return-1}e=t}}},{key:"updateNextNode",value:function(e,t,n,r,o,i){for(var a=this.index;a<this.top.children.length;a++){var s=this.top.children[a];if(s instanceof _e){var l=this.preMatch.matched.get(s);if(null!=l&&l!=o)return!1;var c=s.dom,u=void 0,d=this.isLocked(c)&&!(e.isText&&s.node&&s.node.isText&&s.nodeDOM.nodeValue==e.text&&3!=s.dirty&&Ne(t,s.outerDeco));if(!d&&s.update(e,t,n,r))return this.destroyBetween(this.index,a),s.dom!=c&&(this.changed=!0),this.index++,!0;if(!d&&(u=this.recreateWrapper(s,e,t,n,r,i)))return this.top.children[this.index]=u,u.contentDOM&&(u.dirty=2,u.updateChildren(r,i+1),u.dirty=0),this.changed=!0,this.index++,!0;break}}return!1}},{key:"recreateWrapper",value:function(e,t,n,r,i,a){if(e.dirty||t.isAtom||!e.children.length||!e.node.content.eq(t.content))return null;var s=_e.create(this.top,t,n,r,i,a);if(s.contentDOM){s.children=e.children,e.children=[];var l,c=o(s.children);try{for(c.s();!(l=c.n()).done;){l.value.parent=s}}catch(e){c.e(e)}finally{c.f()}}return e.destroy(),s}},{key:"addNode",value:function(e,t,n,r,o){var i=_e.create(this.top,e,t,n,r,o);i.contentDOM&&i.updateChildren(r,o+1),this.top.children.splice(this.index++,0,i),this.changed=!0}},{key:"placeWidget",value:function(e,t,n){var r=this.index<this.top.children.length?this.top.children[this.index]:null;if(!r||!r.matchesWidget(e)||e!=r.widget&&r.widget.type.toDOM.parentNode){var o=new xe(this.top,e,t,n);this.top.children.splice(this.index++,0,o),this.changed=!0}else this.index++}},{key:"addTextblockHacks",value:function(){for(var e=this.top.children[this.index-1],t=this.top;e instanceof Ae;)e=(t=e).children[t.children.length-1];(!e||!(e instanceof ke)||/\n$/.test(e.node.text)||this.view.requiresGeckoHackNode&&/\s$/.test(e.node.text))&&((V||B)&&e&&"false"==e.dom.contentEditable&&this.addHackNode("IMG",t),this.addHackNode("BR",this.top))}},{key:"addHackNode",value:function(e,t){if(t==this.top&&this.index<t.children.length&&t.children[this.index].matchesHack(e))this.index++;else{var n=document.createElement(e);"IMG"==e&&(n.className="ProseMirror-separator",n.alt=""),"BR"==e&&(n.className="ProseMirror-trailingBreak");var r=new Ce(this.top,[],n,null);t!=this.top?t.children.push(r):t.children.splice(this.index++,0,r),this.changed=!0}}},{key:"isLocked",value:function(e){return this.lock&&(e==this.lock||1==e.nodeType&&e.contains(this.lock.parentNode))}}]),e}();function $e(e,t){return e.type.side-t.type.side}function ze(e,t,n,r,o){for(var i=[],a=0,s=0;a<e.length;a++){var l=e[a],c=s,u=s+=l.size;c>=n||u<=t?i.push(l):(c<t&&i.push(l.slice(0,t-c,r)),o&&(i.push(o),o=void 0),u>n&&i.push(l.slice(n-c,l.size,r)))}return i}function Fe(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=e.domSelectionRange(),r=e.state.doc;if(!n.focusNode)return null;var o=e.docView.nearestDesc(n.focusNode),i=o&&0==o.size,a=e.docView.posFromDOM(n.focusNode,n.focusOffset,1);if(a<0)return null;var s,l,c=r.resolve(a);if(P(n)){for(s=c;o&&!o.node;)o=o.parent;var u=o.node;if(o&&u.isAtom&&v.NodeSelection.isSelectable(u)&&o.parent&&(!u.isInline||!function(e,t,n){for(var r=0==t,o=t==T(e);r||o;){if(e==n)return!0;var i=x(e);if(!(e=e.parentNode))return!1;r=r&&0==i,o=o&&i==T(e)}}(n.focusNode,n.focusOffset,o.dom))){var d=o.posBefore;l=new v.NodeSelection(a==d?c:r.resolve(d))}}else{var p=e.docView.posFromDOM(n.anchorNode,n.anchorOffset,1);if(p<0)return null;s=r.resolve(p)}l||(l=Xe(e,s,c,"pointer"==t||e.state.selection.head<c.pos&&!i?1:-1));return l}function Be(e){return e.editable?e.hasFocus():Ze(e)&&document.activeElement&&document.activeElement.contains(e.dom)}function He(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=e.state.selection;if(Ge(e,n),Be(e)){if(!t&&e.input.mouseDown&&e.input.mouseDown.allowDefault&&B){var r=e.domSelectionRange(),o=e.domObserver.currentSelection;if(r.anchorNode&&o.anchorNode&&S(r.anchorNode,r.anchorOffset,o.anchorNode,o.anchorOffset))return e.input.mouseDown.delayedSelectionSync=!0,void e.domObserver.setCurSelection()}if(e.domObserver.disconnectSelection(),e.cursorWrapper)!function(e){var t=e.domSelection(),n=document.createRange(),r=e.cursorWrapper.dom,o="IMG"==r.nodeName;o?n.setEnd(r.parentNode,x(r)+1):n.setEnd(r,0);n.collapse(!1),t.removeAllRanges(),t.addRange(n),!o&&!e.state.selection.visible&&j&&$<=11&&(r.disabled=!0,r.disabled=!1)}(e);else{var i,a,s=n.anchor,l=n.head;!Ve||n instanceof v.TextSelection||(n.$from.parent.inlineContent||(i=We(e,n.from)),n.empty||n.$from.parent.inlineContent||(a=We(e,n.to))),e.docView.setSelection(s,l,e.root,t),Ve&&(i&&qe(i),a&&qe(a)),n.visible?e.dom.classList.remove("ProseMirror-hideselection"):(e.dom.classList.add("ProseMirror-hideselection"),"onselectionchange"in document&&function(e){var t=e.dom.ownerDocument;t.removeEventListener("selectionchange",e.input.hideSelectionGuard);var n=e.domSelectionRange(),r=n.anchorNode,o=n.anchorOffset;t.addEventListener("selectionchange",e.input.hideSelectionGuard=function(){n.anchorNode==r&&n.anchorOffset==o||(t.removeEventListener("selectionchange",e.input.hideSelectionGuard),setTimeout((function(){Be(e)&&!e.state.selection.visible||e.dom.classList.remove("ProseMirror-hideselection")}),20))})}(e))}e.domObserver.setCurSelection(),e.domObserver.connectSelection()}}var Ve=V||B&&H<63;function We(e,t){var n=e.docView.domFromPos(t,0),r=n.node,o=n.offset,i=o<r.childNodes.length?r.childNodes[o]:null,a=o?r.childNodes[o-1]:null;if(V&&i&&"false"==i.contentEditable)return Ue(i);if(!(i&&"false"!=i.contentEditable||a&&"false"!=a.contentEditable)){if(i)return Ue(i);if(a)return Ue(a)}}function Ue(e){return e.contentEditable="true",V&&e.draggable&&(e.draggable=!1,e.wasDraggable=!0),e}function qe(e){e.contentEditable="false",e.wasDraggable&&(e.draggable=!0,e.wasDraggable=null)}function Ge(e,t){if(t instanceof v.NodeSelection){var n=e.docView.descAt(t.from);n!=e.lastSelectedViewDesc&&(Ye(e),n&&n.selectNode(),e.lastSelectedViewDesc=n)}else Ye(e)}function Ye(e){e.lastSelectedViewDesc&&(e.lastSelectedViewDesc.parent&&e.lastSelectedViewDesc.deselectNode(),e.lastSelectedViewDesc=void 0)}function Xe(e,t,n,r){return e.someProp("createSelectionBetween",(function(r){return r(e,t,n)}))||v.TextSelection.between(t,n,r)}function Ke(e){return!(e.editable&&!e.hasFocus())&&Ze(e)}function Ze(e){var t=e.domSelectionRange();if(!t.anchorNode)return!1;try{return e.dom.contains(3==t.anchorNode.nodeType?t.anchorNode.parentNode:t.anchorNode)&&(e.editable||e.dom.contains(3==t.focusNode.nodeType?t.focusNode.parentNode:t.focusNode))}catch(e){return!1}}function Je(e,t){var n=e.selection,r=n.$anchor,o=n.$head,i=t>0?r.max(o):r.min(o),a=i.parent.inlineContent?i.depth?e.doc.resolve(t>0?i.after():i.before()):null:i;return a&&v.Selection.findFrom(a,t)}function Qe(e,t){return e.dispatch(e.state.tr.setSelection(t).scrollIntoView()),!0}function et(e,t,n){var r=e.state.selection;if(!(r instanceof v.TextSelection)){if(r instanceof v.NodeSelection&&r.node.isInline)return Qe(e,new v.TextSelection(t>0?r.$to:r.$from));var o=Je(e.state,t);return!!o&&Qe(e,o)}if(n.indexOf("s")>-1){var i=r.$head,a=i.textOffset?null:t<0?i.nodeBefore:i.nodeAfter;if(!a||a.isText||!a.isLeaf)return!1;var s=e.state.doc.resolve(i.pos+a.nodeSize*(t<0?-1:1));return Qe(e,new v.TextSelection(r.$anchor,s))}if(!r.empty)return!1;if(e.endOfTextblock(t>0?"forward":"backward")){var l=Je(e.state,t);return!!(l&&l instanceof v.NodeSelection)&&Qe(e,l)}if(!(U&&n.indexOf("m")>-1)){var c,u=r.$head,d=u.textOffset?null:t<0?u.nodeBefore:u.nodeAfter;if(!d||d.isText)return!1;var p=t<0?u.pos-d.nodeSize:u.pos;return!!(d.isAtom||(c=e.docView.descAt(p))&&!c.contentDOM)&&(v.NodeSelection.isSelectable(d)?Qe(e,new v.NodeSelection(t<0?e.state.doc.resolve(u.pos-d.nodeSize):u)):!!Y&&Qe(e,new v.TextSelection(e.state.doc.resolve(t<0?p:p+d.nodeSize))))}}function tt(e){return 3==e.nodeType?e.nodeValue.length:e.childNodes.length}function nt(e,t){var n=e.pmViewDesc;return n&&0==n.size&&(t<0||e.nextSibling||"BR"!=e.nodeName)}function rt(e,t){return t<0?function(e){var t=e.domSelectionRange(),n=t.focusNode,r=t.focusOffset;if(!n)return;var o,i,a=!1;z&&1==n.nodeType&&r<tt(n)&&nt(n.childNodes[r],-1)&&(a=!0);for(;;)if(r>0){if(1!=n.nodeType)break;var s=n.childNodes[r-1];if(nt(s,-1))o=n,i=--r;else{if(3!=s.nodeType)break;r=(n=s).nodeValue.length}}else{if(ot(n))break;for(var l=n.previousSibling;l&&nt(l,-1);)o=n.parentNode,i=x(l),l=l.previousSibling;if(l)r=tt(n=l);else{if((n=n.parentNode)==e.dom)break;r=0}}a?it(e,n,r):o&&it(e,o,i)}(e):function(e){var t=e.domSelectionRange(),n=t.focusNode,r=t.focusOffset;if(!n)return;for(var o,i,a=tt(n);;)if(r<a){if(1!=n.nodeType)break;if(!nt(n.childNodes[r],1))break;o=n,i=++r}else{if(ot(n))break;for(var s=n.nextSibling;s&&nt(s,1);)o=s.parentNode,i=x(s)+1,s=s.nextSibling;if(s)r=0,a=tt(n=s);else{if((n=n.parentNode)==e.dom)break;r=a=0}}o&&it(e,o,i)}(e)}function ot(e){var t=e.pmViewDesc;return t&&t.node&&t.node.isBlock}function it(e,t,n){var r,o;3!=t.nodeType&&((o=function(e,t){for(;e&&t==e.childNodes.length&&!M(e);)t=x(e)+1,e=e.parentNode;for(;e&&t<e.childNodes.length;){var n=e.childNodes[t];if(3==n.nodeType)return n;if(1==n.nodeType&&"false"==n.contentEditable)break;e=n,t=0}}(t,n))?(t=o,n=0):(r=function(e,t){for(;e&&!t&&!M(e);)t=x(e),e=e.parentNode;for(;e&&t;){var n=e.childNodes[t-1];if(3==n.nodeType)return n;if(1==n.nodeType&&"false"==n.contentEditable)break;t=(e=n).childNodes.length}}(t,n))&&(t=r,n=r.nodeValue.length));var i=e.domSelection();if(P(i)){var a=document.createRange();a.setEnd(t,n),a.setStart(t,n),i.removeAllRanges(),i.addRange(a)}else i.extend&&i.extend(t,n);e.domObserver.setCurSelection();var s=e.state;setTimeout((function(){e.state==s&&He(e)}),50)}function at(e,t){var n=e.state.doc.resolve(t);if(!B&&!q&&n.parent.inlineContent){var r=e.coordsAtPos(t);if(t>n.start()){var o=e.coordsAtPos(t-1),i=(o.top+o.bottom)/2;if(i>r.top&&i<r.bottom&&Math.abs(o.left-r.left)>1)return o.left<r.left?"ltr":"rtl"}if(t<n.end()){var a=e.coordsAtPos(t+1),s=(a.top+a.bottom)/2;if(s>r.top&&s<r.bottom&&Math.abs(a.left-r.left)>1)return a.left>r.left?"ltr":"rtl"}}return"rtl"==getComputedStyle(e.dom).direction?"rtl":"ltr"}function st(e,t,n){var r=e.state.selection;if(r instanceof v.TextSelection&&!r.empty||n.indexOf("s")>-1)return!1;if(U&&n.indexOf("m")>-1)return!1;var o=r.$from,i=r.$to;if(!o.parent.inlineContent||e.endOfTextblock(t<0?"up":"down")){var a=Je(e.state,t);if(a&&a instanceof v.NodeSelection)return Qe(e,a)}if(!o.parent.inlineContent){var s=t<0?o:i,l=r instanceof v.AllSelection?v.Selection.near(s,t):v.Selection.findFrom(s,t);return!!l&&Qe(e,l)}return!1}function lt(e,t){if(!(e.state.selection instanceof v.TextSelection))return!0;var n=e.state.selection,r=n.$head,o=n.$anchor,i=n.empty;if(!r.sameParent(o))return!0;if(!i)return!1;if(e.endOfTextblock(t>0?"forward":"backward"))return!0;var a=!r.textOffset&&(t<0?r.nodeBefore:r.nodeAfter);if(a&&!a.isText){var s=e.state.tr;return t<0?s.delete(r.pos-a.nodeSize,r.pos):s.delete(r.pos,r.pos+a.nodeSize),e.dispatch(s),!0}return!1}function ct(e,t,n){e.domObserver.stop(),t.contentEditable=n,e.domObserver.start()}function ut(e,t){var n=t.keyCode,r=function(e){var t="";return e.ctrlKey&&(t+="c"),e.metaKey&&(t+="m"),e.altKey&&(t+="a"),e.shiftKey&&(t+="s"),t}(t);if(8==n||U&&72==n&&"c"==r)return lt(e,-1)||rt(e,-1);if(46==n&&!t.shiftKey||U&&68==n&&"c"==r)return lt(e,1)||rt(e,1);if(13==n||27==n)return!0;if(37==n||U&&66==n&&"c"==r){var o=37==n?"ltr"==at(e,e.state.selection.from)?-1:1:-1;return et(e,o,r)||rt(e,o)}if(39==n||U&&70==n&&"c"==r){var i=39==n?"ltr"==at(e,e.state.selection.from)?1:-1:1;return et(e,i,r)||rt(e,i)}return 38==n||U&&80==n&&"c"==r?st(e,-1,r)||rt(e,-1):40==n||U&&78==n&&"c"==r?function(e){if(!V||e.state.selection.$head.parentOffset>0)return!1;var t=e.domSelectionRange(),n=t.focusNode,r=t.focusOffset;if(n&&1==n.nodeType&&0==r&&n.firstChild&&"false"==n.firstChild.contentEditable){var o=n.firstChild;ct(e,o,"true"),setTimeout((function(){return ct(e,o,"false")}),20)}return!1}(e)||st(e,1,r)||rt(e,1):r==(U?"m":"c")&&(66==n||73==n||89==n||90==n)}function dt(e,t){e.someProp("transformCopied",(function(n){t=n(t,e)}));for(var n=[],r=t,o=r.content,i=r.openStart,a=r.openEnd;i>1&&a>1&&1==o.childCount&&1==o.firstChild.childCount;){i--,a--;var s=o.firstChild;n.push(s.type.name,s.attrs!=s.type.defaultAttrs?s.attrs:null),o=s.content}var l=e.someProp("clipboardSerializer")||y.DOMSerializer.fromSchema(e.state.schema),c=wt(),u=c.createElement("div");u.appendChild(l.serializeFragment(o,{document:c}));for(var d,p=u.firstChild,f=0;p&&1==p.nodeType&&(d=bt[p.nodeName.toLowerCase()]);){for(var h=d.length-1;h>=0;h--){for(var m=c.createElement(d[h]);u.firstChild;)m.appendChild(u.firstChild);u.appendChild(m),f++}p=u.firstChild}return p&&1==p.nodeType&&p.setAttribute("data-pm-slice","".concat(i," ").concat(a).concat(f?" -".concat(f):""," ").concat(JSON.stringify(n))),{dom:u,text:e.someProp("clipboardTextSerializer",(function(n){return n(t,e)}))||t.content.textBetween(0,t.content.size,"\n\n"),slice:t}}function pt(e,t,n,r,o){var i,a,s=o.parent.type.spec.code;if(!n&&!t)return null;var l=t&&(r||s||!n);if(l){if(e.someProp("transformPastedText",(function(n){t=n(t,s||r,e)})),s)return t?new y.Slice(y.Fragment.from(e.state.schema.text(t.replace(/\r\n?/g,"\n"))),0,0):y.Slice.empty;var c=e.someProp("clipboardTextParser",(function(n){return n(t,o,r,e)}));if(c)a=c;else{var u=o.marks(),d=e.state.schema,p=y.DOMSerializer.fromSchema(d);i=document.createElement("div"),t.split(/(?:\r\n?|\n)+/).forEach((function(e){var t=i.appendChild(document.createElement("p"));e&&t.appendChild(p.serializeNode(d.text(e,u)))}))}}else e.someProp("transformPastedHTML",(function(t){n=t(n,e)})),i=function(e){var t=/^(\s*<meta [^>]*>)*/.exec(e);t&&(e=e.slice(t[0].length));var n,r=wt().createElement("div"),o=/<([a-z][^>\s]+)/i.exec(e);(n=o&&bt[o[1].toLowerCase()])&&(e=n.map((function(e){return"<"+e+">"})).join("")+e+n.map((function(e){return"</"+e+">"})).reverse().join(""));if(r.innerHTML=e,n)for(var i=0;i<n.length;i++)r=r.querySelector(n[i])||r;return r}(n),Y&&function(e){for(var t=e.querySelectorAll(B?"span:not([class]):not([style])":"span.Apple-converted-space"),n=0;n<t.length;n++){var r=t[n];1==r.childNodes.length&&"Â "==r.textContent&&r.parentNode&&r.parentNode.replaceChild(e.ownerDocument.createTextNode(" "),r)}}(i);var f=i&&i.querySelector("[data-pm-slice]"),h=f&&/^(\d+) (\d+)(?: -(\d+))? (.*)/.exec(f.getAttribute("data-pm-slice")||"");if(h&&h[3])for(var m=+h[3];m>0;m--){for(var g=i.firstChild;g&&1!=g.nodeType;)g=g.nextSibling;if(!g)break;i=g}if(!a){var v=e.someProp("clipboardParser")||e.someProp("domParser")||y.DOMParser.fromSchema(e.state.schema);a=v.parseSlice(i,{preserveWhitespace:!(!l&&!h),context:o,ruleFromNode:function(e){return"BR"!=e.nodeName||e.nextSibling||!e.parentNode||ft.test(e.parentNode.nodeName)?null:{ignore:!0}}})}if(h)a=function(e,t){if(!e.size)return e;var n,r=e.content.firstChild.type.schema;try{n=JSON.parse(t)}catch(t){return e}for(var o=e.content,i=e.openStart,a=e.openEnd,s=n.length-2;s>=0;s-=2){var l=r.nodes[n[s]];if(!l||l.hasRequiredAttrs())break;o=y.Fragment.from(l.create(n[s+1],o)),i++,a++}return new y.Slice(o,i,a)}(yt(a,+h[1],+h[2]),h[4]);else if(a=y.Slice.maxOpen(function(e,t){if(e.childCount<2)return e;for(var n,r=function(){var n,r=t.node(o).contentMatchAt(t.index(o)),i=[];if(e.forEach((function(e){if(i){var t,o=r.findWrapping(e.type);if(!o)return i=null;if(t=i.length&&n.length&&mt(o,n,e,i[i.length-1],0))i[i.length-1]=t;else{i.length&&(i[i.length-1]=gt(i[i.length-1],n.length));var a=ht(e,o);i.push(a),r=r.matchType(a.type),n=o}}})),i)return{v:y.Fragment.from(i)}},o=t.depth;o>=0;o--)if(n=r())return n.v;return e}(a.content,o),!0),a.openStart||a.openEnd){for(var b=0,x=0,w=a.content.firstChild;b<a.openStart&&!w.type.spec.isolating;b++,w=w.firstChild);for(var A=a.content.lastChild;x<a.openEnd&&!A.type.spec.isolating;x++,A=A.lastChild);a=yt(a,b,x)}return e.someProp("transformPasted",(function(t){a=t(a,e)})),a}var ft=/^(a|abbr|acronym|b|cite|code|del|em|i|ins|kbd|label|output|q|ruby|s|samp|span|strong|sub|sup|time|u|tt|var)$/i;function ht(e,t){for(var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,r=t.length-1;r>=n;r--)e=t[r].create(null,y.Fragment.from(e));return e}function mt(e,t,n,r,o){if(o<e.length&&o<t.length&&e[o]==t[o]){var i=mt(e,t,n,r.lastChild,o+1);if(i)return r.copy(r.content.replaceChild(r.childCount-1,i));if(r.contentMatchAt(r.childCount).matchType(o==e.length-1?n.type:e[o+1]))return r.copy(r.content.append(y.Fragment.from(ht(n,e,o+1))))}}function gt(e,t){if(0==t)return e;var n=e.content.replaceChild(e.childCount-1,gt(e.lastChild,t-1)),r=e.contentMatchAt(e.childCount).fillBefore(y.Fragment.empty,!0);return e.copy(n.append(r))}function vt(e,t,n,r,o,i){var a=t<0?e.firstChild:e.lastChild,s=a.content;return e.childCount>1&&(i=0),o<r-1&&(s=vt(s,t,n,r,o+1,i)),o>=n&&(s=t<0?a.contentMatchAt(0).fillBefore(s,i<=o).append(s):s.append(a.contentMatchAt(a.childCount).fillBefore(y.Fragment.empty,!0))),e.replaceChild(t<0?0:e.childCount-1,a.copy(s))}function yt(e,t,n){return t<e.openStart&&(e=new y.Slice(vt(e.content,-1,t,e.openStart,0,e.openEnd),t,e.openEnd)),n<e.openEnd&&(e=new y.Slice(vt(e.content,1,n,e.openEnd,0,0),e.openStart,n)),e}var bt={thead:["table"],tbody:["table"],tfoot:["table"],caption:["table"],colgroup:["table"],col:["table","colgroup"],tr:["table","tbody"],td:["table","tbody","tr"],th:["table","tbody","tr"]},xt=null;function wt(){return xt||(xt=document.implementation.createHTMLDocument("title"))}var At={},_t={},St={touchstart:!0,touchmove:!0},kt=g((function e(){h(this,e),this.shiftKey=!1,this.mouseDown=null,this.lastKeyCode=null,this.lastKeyCodeTime=0,this.lastClick={time:0,x:0,y:0,type:""},this.lastSelectionOrigin=null,this.lastSelectionTime=0,this.lastIOSEnter=0,this.lastIOSEnterFallbackTimeout=-1,this.lastFocus=0,this.lastTouch=0,this.lastAndroidDelete=0,this.composing=!1,this.compositionNode=null,this.composingTimeout=-1,this.compositionNodes=[],this.compositionEndedAt=-2e8,this.compositionID=1,this.compositionPendingChanges=0,this.domChangeCount=0,this.eventHandlers=Object.create(null),this.hideSelectionGuard=null}));function Ct(e,t){e.input.lastSelectionOrigin=t,e.input.lastSelectionTime=Date.now()}function Tt(e){e.someProp("handleDOMEvents",(function(t){for(var n in t)e.input.eventHandlers[n]||e.dom.addEventListener(n,e.input.eventHandlers[n]=function(t){return Mt(e,t)})}))}function Mt(e,t){return e.someProp("handleDOMEvents",(function(n){var r=n[t.type];return!!r&&(r(e,t)||t.defaultPrevented)}))}function Pt(e){return{left:e.clientX,top:e.clientY}}function Ot(e,t,n,r,o){if(-1==r)return!1;for(var i,a=e.state.doc.resolve(r),s=function(r){if(e.someProp(t,(function(t){return r>a.depth?t(e,n,a.nodeAfter,a.before(r),o,!0):t(e,n,a.node(r),a.before(r),o,!1)})))return{v:!0}},l=a.depth+1;l>0;l--)if(i=s(l))return i.v;return!1}function Et(e,t,n){e.focused||e.focus();var r=e.state.tr.setSelection(t);"pointer"==n&&r.setMeta("pointer",!0),e.dispatch(r)}function Dt(e,t,n,r,o){return Ot(e,"handleClickOn",t,n,r)||e.someProp("handleClick",(function(n){return n(e,t,r)}))||(o?function(e,t){if(-1==t)return!1;var n,r,o=e.state.selection;o instanceof v.NodeSelection&&(n=o.node);for(var i=e.state.doc.resolve(t),a=i.depth+1;a>0;a--){var s=a>i.depth?i.nodeAfter:i.node(a);if(v.NodeSelection.isSelectable(s)){r=n&&o.$from.depth>0&&a>=o.$from.depth&&i.before(o.$from.depth+1)==o.$from.pos?i.before(o.$from.depth):i.before(a);break}}return null!=r&&(Et(e,v.NodeSelection.create(e.state.doc,r),"pointer"),!0)}(e,n):function(e,t){if(-1==t)return!1;var n=e.state.doc.resolve(t),r=n.nodeAfter;return!!(r&&r.isAtom&&v.NodeSelection.isSelectable(r))&&(Et(e,new v.NodeSelection(n),"pointer"),!0)}(e,n))}function Rt(e,t,n,r){return Ot(e,"handleDoubleClickOn",t,n,r)||e.someProp("handleDoubleClick",(function(n){return n(e,t,r)}))}function It(e,t,n,r){return Ot(e,"handleTripleClickOn",t,n,r)||e.someProp("handleTripleClick",(function(n){return n(e,t,r)}))||function(e,t,n){if(0!=n.button)return!1;var r=e.state.doc;if(-1==t)return!!r.inlineContent&&(Et(e,v.TextSelection.create(r,0,r.content.size),"pointer"),!0);for(var o=r.resolve(t),i=o.depth+1;i>0;i--){var a=i>o.depth?o.nodeAfter:o.node(i),s=o.before(i);if(a.inlineContent)Et(e,v.TextSelection.create(r,s+1,s+1+a.content.size),"pointer");else{if(!v.NodeSelection.isSelectable(a))continue;Et(e,v.NodeSelection.create(r,s),"pointer")}return!0}}(e,n,r)}function Nt(e){return Vt(e)}_t.keydown=function(e,t){var n=t;if(e.input.shiftKey=16==n.keyCode||n.shiftKey,!$t(e,n)&&(e.input.lastKeyCode=n.keyCode,e.input.lastKeyCodeTime=Date.now(),!G||!B||13!=n.keyCode))if(229!=n.keyCode&&e.domObserver.forceFlush(),!W||13!=n.keyCode||n.ctrlKey||n.altKey||n.metaKey)e.someProp("handleKeyDown",(function(t){return t(e,n)}))||ut(e,n)?n.preventDefault():Ct(e,"key");else{var r=Date.now();e.input.lastIOSEnter=r,e.input.lastIOSEnterFallbackTimeout=setTimeout((function(){e.input.lastIOSEnter==r&&(e.someProp("handleKeyDown",(function(t){return t(e,O(13,"Enter"))})),e.input.lastIOSEnter=0)}),200)}},_t.keyup=function(e,t){16==t.keyCode&&(e.input.shiftKey=!1)},_t.keypress=function(e,t){var n=t;if(!($t(e,n)||!n.charCode||n.ctrlKey&&!n.altKey||U&&n.metaKey))if(e.someProp("handleKeyPress",(function(t){return t(e,n)})))n.preventDefault();else{var r=e.state.selection;if(!(r instanceof v.TextSelection&&r.$from.sameParent(r.$to))){var o=String.fromCharCode(n.charCode);/[\r\n]/.test(o)||e.someProp("handleTextInput",(function(t){return t(e,r.$from.pos,r.$to.pos,o)}))||e.dispatch(e.state.tr.insertText(o).scrollIntoView()),n.preventDefault()}}};var Lt=U?"metaKey":"ctrlKey";At.mousedown=function(e,t){var n=t;e.input.shiftKey=n.shiftKey;var r=Nt(e),o=Date.now(),i="singleClick";o-e.input.lastClick.time<500&&function(e,t){var n=t.x-e.clientX,r=t.y-e.clientY;return n*n+r*r<100}(n,e.input.lastClick)&&!n[Lt]&&("singleClick"==e.input.lastClick.type?i="doubleClick":"doubleClick"==e.input.lastClick.type&&(i="tripleClick")),e.input.lastClick={time:o,x:n.clientX,y:n.clientY,type:i};var a=e.posAtCoords(Pt(n));a&&("singleClick"==i?(e.input.mouseDown&&e.input.mouseDown.done(),e.input.mouseDown=new jt(e,a,n,!!r)):("doubleClick"==i?Rt:It)(e,a.pos,a.inside,n)?n.preventDefault():Ct(e,"pointer"))};var jt=function(){function e(t,n,r,o){var i,a,s=this;if(h(this,e),this.view=t,this.pos=n,this.event=r,this.flushed=o,this.delayedSelectionSync=!1,this.mightDrag=null,this.startDoc=t.state.doc,this.selectNode=!!r[Lt],this.allowDefault=r.shiftKey,n.inside>-1)i=t.state.doc.nodeAt(n.inside),a=n.inside;else{var l=t.state.doc.resolve(n.pos);i=l.parent,a=l.depth?l.before():0}var c=o?null:r.target,u=c?t.docView.nearestDesc(c,!0):null;this.target=u&&1==u.dom.nodeType?u.dom:null;var d=t.state.selection;(0==r.button&&i.type.spec.draggable&&!1!==i.type.spec.selectable||d instanceof v.NodeSelection&&d.from<=a&&d.to>a)&&(this.mightDrag={node:i,pos:a,addAttr:!(!this.target||this.target.draggable),setUneditable:!(!this.target||!z||this.target.hasAttribute("contentEditable"))}),this.target&&this.mightDrag&&(this.mightDrag.addAttr||this.mightDrag.setUneditable)&&(this.view.domObserver.stop(),this.mightDrag.addAttr&&(this.target.draggable=!0),this.mightDrag.setUneditable&&setTimeout((function(){s.view.input.mouseDown==s&&s.target.setAttribute("contentEditable","false")}),20),this.view.domObserver.start()),t.root.addEventListener("mouseup",this.up=this.up.bind(this)),t.root.addEventListener("mousemove",this.move=this.move.bind(this)),Ct(t,"pointer")}return g(e,[{key:"done",value:function(){var e=this;this.view.root.removeEventListener("mouseup",this.up),this.view.root.removeEventListener("mousemove",this.move),this.mightDrag&&this.target&&(this.view.domObserver.stop(),this.mightDrag.addAttr&&this.target.removeAttribute("draggable"),this.mightDrag.setUneditable&&this.target.removeAttribute("contentEditable"),this.view.domObserver.start()),this.delayedSelectionSync&&setTimeout((function(){return He(e.view)})),this.view.input.mouseDown=null}},{key:"up",value:function(e){if(this.done(),this.view.dom.contains(e.target)){var t=this.pos;this.view.state.doc!=this.startDoc&&(t=this.view.posAtCoords(Pt(e))),this.updateAllowDefault(e),this.allowDefault||!t?Ct(this.view,"pointer"):Dt(this.view,t.pos,t.inside,e,this.selectNode)?e.preventDefault():0==e.button&&(this.flushed||V&&this.mightDrag&&!this.mightDrag.node.isAtom||B&&!this.view.state.selection.visible&&Math.min(Math.abs(t.pos-this.view.state.selection.from),Math.abs(t.pos-this.view.state.selection.to))<=2)?(Et(this.view,v.Selection.near(this.view.state.doc.resolve(t.pos)),"pointer"),e.preventDefault()):Ct(this.view,"pointer")}}},{key:"move",value:function(e){this.updateAllowDefault(e),Ct(this.view,"pointer"),0==e.buttons&&this.done()}},{key:"updateAllowDefault",value:function(e){!this.allowDefault&&(Math.abs(this.event.x-e.clientX)>4||Math.abs(this.event.y-e.clientY)>4)&&(this.allowDefault=!0)}}]),e}();function $t(e,t){return!!e.composing||!!(V&&Math.abs(t.timeStamp-e.input.compositionEndedAt)<500)&&(e.input.compositionEndedAt=-2e8,!0)}At.touchstart=function(e){e.input.lastTouch=Date.now(),Nt(e),Ct(e,"pointer")},At.touchmove=function(e){e.input.lastTouch=Date.now(),Ct(e,"pointer")},At.contextmenu=function(e){return Nt(e)};var zt=G?5e3:-1;function Ft(e,t){clearTimeout(e.input.composingTimeout),t>-1&&(e.input.composingTimeout=setTimeout((function(){return Vt(e)}),t))}function Bt(e){var t;for(e.composing&&(e.input.composing=!1,e.input.compositionEndedAt=((t=document.createEvent("Event")).initEvent("event",!0,!0),t.timeStamp));e.input.compositionNodes.length>0;)e.input.compositionNodes.pop().markParentsDirty()}function Ht(e){var t=e.domSelectionRange();if(!t.focusNode)return null;var n=function(e,t){for(;;){if(3==e.nodeType&&t)return e;if(1==e.nodeType&&t>0){if("false"==e.contentEditable)return null;t=T(e=e.childNodes[t-1])}else{if(!e.parentNode||M(e))return null;t=x(e),e=e.parentNode}}}(t.focusNode,t.focusOffset),r=function(e,t){for(;;){if(3==e.nodeType&&t<e.nodeValue.length)return e;if(1==e.nodeType&&t<e.childNodes.length){if("false"==e.contentEditable)return null;e=e.childNodes[t],t=0}else{if(!e.parentNode||M(e))return null;t=x(e)+1,e=e.parentNode}}}(t.focusNode,t.focusOffset);if(n&&r&&n!=r){var o=r.pmViewDesc,i=e.domObserver.lastChangedTextNode;if(n==i||r==i)return i;if(!o||!o.isText(r.nodeValue))return r;if(e.input.compositionNode==r){var a=n.pmViewDesc;if(a&&a.isText(n.nodeValue))return r}}return n||r}function Vt(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(!(G&&e.domObserver.flushingSoon>=0)){if(e.domObserver.forceFlush(),Bt(e),t||e.docView&&e.docView.dirty){var n=Fe(e);return n&&!n.eq(e.state.selection)?e.dispatch(e.state.tr.setSelection(n)):e.updateState(e.state),!0}return!1}}_t.compositionstart=_t.compositionupdate=function(e){if(!e.composing){e.domObserver.flush();var t=e.state,n=t.selection.$from;if(t.selection.empty&&(t.storedMarks||!n.textOffset&&n.parentOffset&&n.nodeBefore.marks.some((function(e){return!1===e.type.spec.inclusive}))))e.markCursor=e.state.storedMarks||n.marks(),Vt(e,!0),e.markCursor=null;else if(Vt(e),z&&t.selection.empty&&n.parentOffset&&!n.textOffset&&n.nodeBefore.marks.length)for(var r=e.domSelectionRange(),o=r.focusNode,i=r.focusOffset;o&&1==o.nodeType&&0!=i;){var a=i<0?o.lastChild:o.childNodes[i-1];if(!a)break;if(3==a.nodeType){e.domSelection().collapse(a,a.nodeValue.length);break}o=a,i=-1}e.input.composing=!0}Ft(e,zt)},_t.compositionend=function(e,t){e.composing&&(e.input.composing=!1,e.input.compositionEndedAt=t.timeStamp,e.input.compositionPendingChanges=e.domObserver.pendingRecords().length?e.input.compositionID:0,e.input.compositionNode=null,e.input.compositionPendingChanges&&Promise.resolve().then((function(){return e.domObserver.flush()})),e.input.compositionID++,Ft(e,20))};var Wt=j&&$<15||W&&X<604;function Ut(e,t,n,r,o){var i=pt(e,t,n,r,e.state.selection.$from);if(e.someProp("handlePaste",(function(t){return t(e,o,i||y.Slice.empty)})))return!0;if(!i)return!1;var a=function(e){return 0==e.openStart&&0==e.openEnd&&1==e.content.childCount?e.content.firstChild:null}(i),s=a?e.state.tr.replaceSelectionWith(a,r):e.state.tr.replaceSelection(i);return e.dispatch(s.scrollIntoView().setMeta("paste",!0).setMeta("uiEvent","paste")),!0}function qt(e){var t=e.getData("text/plain")||e.getData("Text");if(t)return t;var n=e.getData("text/uri-list");return n?n.replace(/\r?\n/g," "):""}At.copy=_t.cut=function(e,t){var n=t,r=e.state.selection,o="cut"==n.type;if(!r.empty){var i=Wt?null:n.clipboardData,a=dt(e,r.content()),s=a.dom,l=a.text;i?(n.preventDefault(),i.clearData(),i.setData("text/html",s.innerHTML),i.setData("text/plain",l)):function(e,t){if(e.dom.parentNode){var n=e.dom.parentNode.appendChild(document.createElement("div"));n.appendChild(t),n.style.cssText="position: fixed; left: -10000px; top: 10px";var r=getSelection(),o=document.createRange();o.selectNodeContents(t),e.dom.blur(),r.removeAllRanges(),r.addRange(o),setTimeout((function(){n.parentNode&&n.parentNode.removeChild(n),e.focus()}),50)}}(e,s),o&&e.dispatch(e.state.tr.deleteSelection().scrollIntoView().setMeta("uiEvent","cut"))}},_t.paste=function(e,t){var n=t;if(!e.composing||G){var r=Wt?null:n.clipboardData,o=e.input.shiftKey&&45!=e.input.lastKeyCode;r&&Ut(e,qt(r),r.getData("text/html"),o,n)?n.preventDefault():function(e,t){if(e.dom.parentNode){var n=e.input.shiftKey||e.state.selection.$from.parent.type.spec.code,r=e.dom.parentNode.appendChild(document.createElement(n?"textarea":"div"));n||(r.contentEditable="true"),r.style.cssText="position: fixed; left: -10000px; top: 10px",r.focus();var o=e.input.shiftKey&&45!=e.input.lastKeyCode;setTimeout((function(){e.focus(),r.parentNode&&r.parentNode.removeChild(r),n?Ut(e,r.value,null,o,t):Ut(e,r.textContent,r.innerHTML,o,t)}),50)}}(e,n)}};var Gt=g((function e(t,n,r){h(this,e),this.slice=t,this.move=n,this.node=r})),Yt=U?"altKey":"ctrlKey";for(var Xt in At.dragstart=function(e,t){var n=t,r=e.input.mouseDown;if(r&&r.done(),n.dataTransfer){var o,i=e.state.selection,a=i.empty?null:e.posAtCoords(Pt(n));if(a&&a.pos>=i.from&&a.pos<=(i instanceof v.NodeSelection?i.to-1:i.to));else if(r&&r.mightDrag)o=v.NodeSelection.create(e.state.doc,r.mightDrag.pos);else if(n.target&&1==n.target.nodeType){var s=e.docView.nearestDesc(n.target,!0);s&&s.node.type.spec.draggable&&s!=e.docView&&(o=v.NodeSelection.create(e.state.doc,s.posBefore))}var l=dt(e,(o||e.state.selection).content()),c=l.dom,u=l.text,d=l.slice;n.dataTransfer.clearData(),n.dataTransfer.setData(Wt?"Text":"text/html",c.innerHTML),n.dataTransfer.effectAllowed="copyMove",Wt||n.dataTransfer.setData("text/plain",u),e.dragging=new Gt(d,!n[Yt],o)}},At.dragend=function(e){var t=e.dragging;window.setTimeout((function(){e.dragging==t&&(e.dragging=null)}),50)},_t.dragover=_t.dragenter=function(e,t){return t.preventDefault()},_t.drop=function(e,t){var n=t,r=e.dragging;if(e.dragging=null,n.dataTransfer){var o=e.posAtCoords(Pt(n));if(o){var i=e.state.doc.resolve(o.pos),a=r&&r.slice;a?e.someProp("transformPasted",(function(t){a=t(a,e)})):a=pt(e,qt(n.dataTransfer),Wt?null:n.dataTransfer.getData("text/html"),!1,i);var s=!(!r||n[Yt]);if(e.someProp("handleDrop",(function(t){return t(e,n,a||y.Slice.empty,s)})))n.preventDefault();else if(a){n.preventDefault();var l=a?b.dropPoint(e.state.doc,i.pos,a):i.pos;null==l&&(l=i.pos);var c=e.state.tr;if(s){var u=r.node;u?u.replace(c):c.deleteSelection()}var d=c.mapping.map(l),p=0==a.openStart&&0==a.openEnd&&1==a.content.childCount,f=c.doc;if(p?c.replaceRangeWith(d,d,a.content.firstChild):c.replaceRange(d,d,a),!c.doc.eq(f)){var h=c.doc.resolve(d);if(p&&v.NodeSelection.isSelectable(a.content.firstChild)&&h.nodeAfter&&h.nodeAfter.sameMarkup(a.content.firstChild))c.setSelection(new v.NodeSelection(h));else{var m=c.mapping.map(l);c.mapping.maps[c.mapping.maps.length-1].forEach((function(e,t,n,r){return m=r})),c.setSelection(Xe(e,h,c.doc.resolve(m)))}e.focus(),e.dispatch(c.setMeta("uiEvent","drop"))}}}}},At.focus=function(e){e.input.lastFocus=Date.now(),e.focused||(e.domObserver.stop(),e.dom.classList.add("ProseMirror-focused"),e.domObserver.start(),e.focused=!0,setTimeout((function(){e.docView&&e.hasFocus()&&!e.domObserver.currentSelection.eq(e.domSelectionRange())&&He(e)}),20))},At.blur=function(e,t){var n=t;e.focused&&(e.domObserver.stop(),e.dom.classList.remove("ProseMirror-focused"),e.domObserver.start(),n.relatedTarget&&e.dom.contains(n.relatedTarget)&&e.domObserver.currentSelection.clear(),e.focused=!1)},At.beforeinput=function(e,t){if(B&&G&&"deleteContentBackward"==t.inputType){e.domObserver.flushSoon();var n=e.input.domChangeCount;setTimeout((function(){if(e.input.domChangeCount==n&&(e.dom.blur(),e.focus(),!e.someProp("handleKeyDown",(function(t){return t(e,O(8,"Backspace"))})))){var t=e.state.selection.$cursor;t&&t.pos>0&&e.dispatch(e.state.tr.delete(t.pos-1,t.pos).scrollIntoView())}}),50)}},_t)At[Xt]=_t[Xt];function Kt(e,t){if(e==t)return!0;for(var n in e)if(e[n]!==t[n])return!1;for(var r in t)if(!(r in e))return!1;return!0}var Zt=function(){function e(t,n){h(this,e),this.toDOM=t,this.spec=n||nn,this.side=this.spec.side||0}return g(e,[{key:"map",value:function(e,t,n,r){var o=e.mapResult(t.from+r,this.side<0?-1:1),i=o.pos;return o.deleted?null:new en(i-n,i-n,this)}},{key:"valid",value:function(){return!0}},{key:"eq",value:function(t){return this==t||t instanceof e&&(this.spec.key&&this.spec.key==t.spec.key||this.toDOM==t.toDOM&&Kt(this.spec,t.spec))}},{key:"destroy",value:function(e){this.spec.destroy&&this.spec.destroy(e)}}]),e}(),Jt=function(){function e(t,n){h(this,e),this.attrs=t,this.spec=n||nn}return g(e,[{key:"map",value:function(e,t,n,r){var o=e.map(t.from+r,this.spec.inclusiveStart?-1:1)-n,i=e.map(t.to+r,this.spec.inclusiveEnd?1:-1)-n;return o>=i?null:new en(o,i,this)}},{key:"valid",value:function(e,t){return t.from<t.to}},{key:"eq",value:function(t){return this==t||t instanceof e&&Kt(this.attrs,t.attrs)&&Kt(this.spec,t.spec)}},{key:"destroy",value:function(){}}],[{key:"is",value:function(t){return t.type instanceof e}}]),e}(),Qt=function(){function e(t,n){h(this,e),this.attrs=t,this.spec=n||nn}return g(e,[{key:"map",value:function(e,t,n,r){var o=e.mapResult(t.from+r,1);if(o.deleted)return null;var i=e.mapResult(t.to+r,-1);return i.deleted||i.pos<=o.pos?null:new en(o.pos-n,i.pos-n,this)}},{key:"valid",value:function(e,t){var n,r=e.content.findIndex(t.from),o=r.index,i=r.offset;return i==t.from&&!(n=e.child(o)).isText&&i+n.nodeSize==t.to}},{key:"eq",value:function(t){return this==t||t instanceof e&&Kt(this.attrs,t.attrs)&&Kt(this.spec,t.spec)}},{key:"destroy",value:function(){}}]),e}(),en=function(){function e(t,n,r){h(this,e),this.from=t,this.to=n,this.type=r}return g(e,[{key:"copy",value:function(t,n){return new e(t,n,this.type)}},{key:"eq",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return this.type.eq(e.type)&&this.from+t==e.from&&this.to+t==e.to}},{key:"map",value:function(e,t,n){return this.type.map(e,this,t,n)}},{key:"spec",get:function(){return this.type.spec}},{key:"inline",get:function(){return this.type instanceof Jt}},{key:"widget",get:function(){return this.type instanceof Zt}}],[{key:"widget",value:function(t,n,r){return new e(t,t,new Zt(n,r))}},{key:"inline",value:function(t,n,r,o){return new e(t,n,new Jt(r,o))}},{key:"node",value:function(t,n,r,o){return new e(t,n,new Qt(r,o))}}]),e}(),tn=[],nn={},rn=function(){function e(t,n){h(this,e),this.local=t.length?t:tn,this.children=n.length?n:tn}return g(e,[{key:"find",value:function(e,t,n){var r=[];return this.findInner(null==e?0:e,null==t?1e9:t,r,0,n),r}},{key:"findInner",value:function(e,t,n,r,o){for(var i=0;i<this.local.length;i++){var a=this.local[i];a.from<=t&&a.to>=e&&(!o||o(a.spec))&&n.push(a.copy(a.from+r,a.to+r))}for(var s=0;s<this.children.length;s+=3)if(this.children[s]<t&&this.children[s+1]>e){var l=this.children[s]+1;this.children[s+2].findInner(e-l,t-l,n,r+l,o)}}},{key:"map",value:function(e,t,n){return this==on||0==e.maps.length?this:this.mapInner(e,t,0,0,n||nn)}},{key:"mapInner",value:function(t,n,r,o,i){for(var a,s=0;s<this.local.length;s++){var l=this.local[s].map(t,r,o);l&&l.type.valid(n,l)?(a||(a=[])).push(l):i.onRemove&&i.onRemove(this.local[s].spec)}return this.children.length?sn(this.children,a||[],t,n,r,o,i):a?new e(a.sort(pn),tn):on}},{key:"add",value:function(t,n){return n.length?this==on?e.create(t,n):this.addInner(t,n,0):this}},{key:"addInner",value:function(t,n,r){var o,i=this,a=0;t.forEach((function(e,t){var s,l=t+r;if(s=cn(n,e,l)){for(o||(o=i.children.slice());a<o.length&&o[a]<t;)a+=3;o[a]==t?o[a+2]=o[a+2].addInner(e,s,l+1):o.splice(a,0,t,t+e.nodeSize,dn(s,e,l+1,nn)),a+=3}}));for(var s=ln(a?un(n):n,-r),l=0;l<s.length;l++)s[l].type.valid(t,s[l])||s.splice(l--,1);return new e(s.length?this.local.concat(s).sort(pn):this.local,o||this.children)}},{key:"remove",value:function(e){return 0==e.length||this==on?this:this.removeInner(e,0)}},{key:"removeInner",value:function(t,n){for(var r=this.children,o=this.local,i=0;i<r.length;i+=3){for(var a,s=void 0,l=r[i]+n,c=r[i+1]+n,u=0;u<t.length;u++)(a=t[u])&&a.from>l&&a.to<c&&(t[u]=null,(s||(s=[])).push(a));if(s){r==this.children&&(r=this.children.slice());var d=r[i+2].removeInner(s,l+1);d!=on?r[i+2]=d:(r.splice(i,3),i-=3)}}if(o.length)for(var p,f=0;f<t.length;f++)if(p=t[f])for(var h=0;h<o.length;h++)o[h].eq(p,n)&&(o==this.local&&(o=this.local.slice()),o.splice(h--,1));return r==this.children&&o==this.local?this:o.length||r.length?new e(o,r):on}},{key:"forChild",value:function(t,n){if(this==on)return this;if(n.isLeaf)return e.empty;for(var r,o,i=0;i<this.children.length;i+=3)if(this.children[i]>=t){this.children[i]==t&&(r=this.children[i+2]);break}for(var a=t+1,s=a+n.content.size,l=0;l<this.local.length;l++){var c=this.local[l];if(c.from<s&&c.to>a&&c.type instanceof Jt){var u=Math.max(a,c.from)-a,d=Math.min(s,c.to)-a;u<d&&(o||(o=[])).push(c.copy(u,d))}}if(o){var p=new e(o.sort(pn),tn);return r?new an([p,r]):p}return r||on}},{key:"eq",value:function(t){if(this==t)return!0;if(!(t instanceof e)||this.local.length!=t.local.length||this.children.length!=t.children.length)return!1;for(var n=0;n<this.local.length;n++)if(!this.local[n].eq(t.local[n]))return!1;for(var r=0;r<this.children.length;r+=3)if(this.children[r]!=t.children[r]||this.children[r+1]!=t.children[r+1]||!this.children[r+2].eq(t.children[r+2]))return!1;return!0}},{key:"locals",value:function(e){return fn(this.localsInner(e))}},{key:"localsInner",value:function(e){if(this==on)return tn;if(e.inlineContent||!this.local.some(Jt.is))return this.local;for(var t=[],n=0;n<this.local.length;n++)this.local[n].type instanceof Jt||t.push(this.local[n]);return t}}],[{key:"create",value:function(e,t){return t.length?dn(t,e,0,nn):on}}]),e}();rn.empty=new rn([],[]),rn.removeOverlap=fn;var on=rn.empty,an=function(){function e(t){h(this,e),this.members=t}return g(e,[{key:"map",value:function(t,n){var r=this.members.map((function(e){return e.map(t,n,nn)}));return e.from(r)}},{key:"forChild",value:function(t,n){if(n.isLeaf)return rn.empty;for(var r=[],o=0;o<this.members.length;o++){var i=this.members[o].forChild(t,n);i!=on&&(i instanceof e?r=r.concat(i.members):r.push(i))}return e.from(r)}},{key:"eq",value:function(t){if(!(t instanceof e)||t.members.length!=this.members.length)return!1;for(var n=0;n<this.members.length;n++)if(!this.members[n].eq(t.members[n]))return!1;return!0}},{key:"locals",value:function(e){for(var t,n=!0,r=0;r<this.members.length;r++){var o=this.members[r].localsInner(e);if(o.length)if(t){n&&(t=t.slice(),n=!1);for(var i=0;i<o.length;i++)t.push(o[i])}else t=o}return t?fn(n?t:t.sort(pn)):tn}}],[{key:"from",value:function(t){switch(t.length){case 0:return on;case 1:return t[0];default:return new e(t.every((function(e){return e instanceof rn}))?t:t.reduce((function(e,t){return e.concat(t instanceof rn?t:t.members)}),[]))}}}]),e}();function sn(e,t,n,r,o,i,a){for(var s=e.slice(),l=function(e){var t=0;n.maps[c].forEach((function(n,r,o,i){for(var a=i-o-(r-n),l=0;l<s.length;l+=3){var c=s[l+1];if(!(c<0||n>c+e-t)){var u=s[l]+e-t;r>=u?s[l+1]=n<=u?-2:-1:n>=e&&a&&(s[l]+=a,s[l+1]+=a)}}t+=a})),e=n.maps[c].map(e,-1),u=e},c=0,u=i;c<n.maps.length;c++)l(u);for(var d=!1,p=0;p<s.length;p+=3)if(s[p+1]<0){if(-2==s[p+1]){d=!0,s[p+1]=-1;continue}var f=n.map(e[p]+i),h=f-o;if(h<0||h>=r.content.size){d=!0;continue}var m=n.map(e[p+1]+i,-1)-o,g=r.content.findIndex(h),v=g.index,y=g.offset,b=r.maybeChild(v);if(b&&y==h&&y+b.nodeSize==m){var x=s[p+2].mapInner(n,b,f+1,e[p]+i+1,a);x!=on?(s[p]=h,s[p+1]=m,s[p+2]=x):(s[p+1]=-2,d=!0)}else d=!0}if(d){var w=function(e,t,n,r,o,i,a){function s(e,t){for(var i=0;i<e.local.length;i++){var l=e.local[i].map(r,o,t);l?n.push(l):a.onRemove&&a.onRemove(e.local[i].spec)}for(var c=0;c<e.children.length;c+=3)s(e.children[c+2],e.children[c]+t+1)}for(var l=0;l<e.length;l+=3)-1==e[l+1]&&s(e[l+2],t[l]+i+1);return n}(s,e,t,n,o,i,a),A=dn(w,r,0,a);t=A.local;for(var _=0;_<s.length;_+=3)s[_+1]<0&&(s.splice(_,3),_-=3);for(var S=0,k=0;S<A.children.length;S+=3){for(var C=A.children[S];k<s.length&&s[k]<C;)k+=3;s.splice(k,0,A.children[S],A.children[S+1],A.children[S+2])}}return new rn(t.sort(pn),s)}function ln(e,t){if(!t||!e.length)return e;for(var n=[],r=0;r<e.length;r++){var o=e[r];n.push(new en(o.from+t,o.to+t,o.type))}return n}function cn(e,t,n){if(t.isLeaf)return null;for(var r,o=n+t.nodeSize,i=null,a=0;a<e.length;a++)(r=e[a])&&r.from>n&&r.to<o&&((i||(i=[])).push(r),e[a]=null);return i}function un(e){for(var t=[],n=0;n<e.length;n++)null!=e[n]&&t.push(e[n]);return t}function dn(e,t,n,r){var o=[],i=!1;t.forEach((function(t,a){var s=cn(e,t,a+n);if(s){i=!0;var l=dn(s,t,n+a+1,r);l!=on&&o.push(a,a+t.nodeSize,l)}}));for(var a=ln(i?un(e):e,-n).sort(pn),s=0;s<a.length;s++)a[s].type.valid(t,a[s])||(r.onRemove&&r.onRemove(a[s].spec),a.splice(s--,1));return a.length||o.length?new rn(a,o):on}function pn(e,t){return e.from-t.from||e.to-t.to}function fn(e){for(var t=e,n=0;n<t.length-1;n++){var r=t[n];if(r.from!=r.to)for(var o=n+1;o<t.length;o++){var i=t[o];if(i.from!=r.from){i.from<r.to&&(t==e&&(t=e.slice()),t[n]=r.copy(r.from,i.from),hn(t,o,r.copy(i.from,r.to)));break}i.to!=r.to&&(t==e&&(t=e.slice()),t[o]=i.copy(i.from,r.to),hn(t,o+1,i.copy(r.to,i.to)))}}return t}function hn(e,t,n){for(;t<e.length&&pn(n,e[t])>0;)t++;e.splice(t,0,n)}function mn(e){var t=[];return e.someProp("decorations",(function(n){var r=n(e.state);r&&r!=on&&t.push(r)})),e.cursorWrapper&&t.push(rn.create(e.state.doc,[e.cursorWrapper.deco])),an.from(t)}var gn={childList:!0,characterData:!0,characterDataOldValue:!0,attributes:!0,attributeOldValue:!0,subtree:!0},vn=j&&$<=11,yn=function(){function e(){h(this,e),this.anchorNode=null,this.anchorOffset=0,this.focusNode=null,this.focusOffset=0}return g(e,[{key:"set",value:function(e){this.anchorNode=e.anchorNode,this.anchorOffset=e.anchorOffset,this.focusNode=e.focusNode,this.focusOffset=e.focusOffset}},{key:"clear",value:function(){this.anchorNode=this.focusNode=null}},{key:"eq",value:function(e){return e.anchorNode==this.anchorNode&&e.anchorOffset==this.anchorOffset&&e.focusNode==this.focusNode&&e.focusOffset==this.focusOffset}}]),e}(),bn=function(){function e(t,n){var r=this;h(this,e),this.view=t,this.handleDOMChange=n,this.queue=[],this.flushingSoon=-1,this.observer=null,this.currentSelection=new yn,this.onCharData=null,this.suppressingSelectionUpdates=!1,this.lastChangedTextNode=null,this.observer=window.MutationObserver&&new window.MutationObserver((function(e){for(var t=0;t<e.length;t++)r.queue.push(e[t]);j&&$<=11&&e.some((function(e){return"childList"==e.type&&e.removedNodes.length||"characterData"==e.type&&e.oldValue.length>e.target.nodeValue.length}))?r.flushSoon():r.flush()})),vn&&(this.onCharData=function(e){r.queue.push({target:e.target,type:"characterData",oldValue:e.prevValue}),r.flushSoon()}),this.onSelectionChange=this.onSelectionChange.bind(this)}return g(e,[{key:"flushSoon",value:function(){var e=this;this.flushingSoon<0&&(this.flushingSoon=window.setTimeout((function(){e.flushingSoon=-1,e.flush()}),20))}},{key:"forceFlush",value:function(){this.flushingSoon>-1&&(window.clearTimeout(this.flushingSoon),this.flushingSoon=-1,this.flush())}},{key:"start",value:function(){this.observer&&(this.observer.takeRecords(),this.observer.observe(this.view.dom,gn)),this.onCharData&&this.view.dom.addEventListener("DOMCharacterDataModified",this.onCharData),this.connectSelection()}},{key:"stop",value:function(){var e=this;if(this.observer){var t=this.observer.takeRecords();if(t.length){for(var n=0;n<t.length;n++)this.queue.push(t[n]);window.setTimeout((function(){return e.flush()}),20)}this.observer.disconnect()}this.onCharData&&this.view.dom.removeEventListener("DOMCharacterDataModified",this.onCharData),this.disconnectSelection()}},{key:"connectSelection",value:function(){this.view.dom.ownerDocument.addEventListener("selectionchange",this.onSelectionChange)}},{key:"disconnectSelection",value:function(){this.view.dom.ownerDocument.removeEventListener("selectionchange",this.onSelectionChange)}},{key:"suppressSelectionUpdates",value:function(){var e=this;this.suppressingSelectionUpdates=!0,setTimeout((function(){return e.suppressingSelectionUpdates=!1}),50)}},{key:"onSelectionChange",value:function(){if(Ke(this.view)){if(this.suppressingSelectionUpdates)return He(this.view);if(j&&$<=11&&!this.view.state.selection.empty){var e=this.view.domSelectionRange();if(e.focusNode&&S(e.focusNode,e.focusOffset,e.anchorNode,e.anchorOffset))return this.flushSoon()}this.flush()}}},{key:"setCurSelection",value:function(){this.currentSelection.set(this.view.domSelectionRange())}},{key:"ignoreSelectionChange",value:function(e){if(!e.focusNode)return!0;for(var t,n=new Set,r=e.focusNode;r;r=w(r))n.add(r);for(var o=e.anchorNode;o;o=w(o))if(n.has(o)){t=o;break}var i=t&&this.view.docView.nearestDesc(t);return i&&i.ignoreMutation({type:"selection",target:3==t.nodeType?t.parentNode:t})?(this.setCurSelection(),!0):void 0}},{key:"pendingRecords",value:function(){if(this.observer){var e,t=o(this.observer.takeRecords());try{for(t.s();!(e=t.n()).done;){var n=e.value;this.queue.push(n)}}catch(e){t.e(e)}finally{t.f()}}return this.queue}},{key:"flush",value:function(){var e=this.view;if(e.docView&&!(this.flushingSoon>-1)){var t=this.pendingRecords();t.length&&(this.queue=[]);var n=e.domSelectionRange(),i=!this.suppressingSelectionUpdates&&!this.currentSelection.eq(n)&&Ke(e)&&!this.ignoreSelectionChange(n),a=-1,s=-1,l=!1,c=[];if(e.editable)for(var u=0;u<t.length;u++){var d=this.registerMutation(t[u],c);d&&(a=a<0?d.from:Math.min(d.from,a),s=s<0?d.to:Math.max(d.to,s),d.typeOver&&(l=!0))}if(z&&c.length){var p=c.filter((function(e){return"BR"==e.nodeName}));if(2==p.length){var f=r(p,2),h=f[0],m=f[1];h.parentNode&&h.parentNode.parentNode==m.parentNode?m.remove():h.remove()}else{var g,y=this.currentSelection.focusNode,b=o(p);try{for(b.s();!(g=b.n()).done;){var x=g.value,w=x.parentNode;!w||"LI"!=w.nodeName||y&&_n(e,y)==w||x.remove()}}catch(e){b.e(e)}finally{b.f()}}}var A=null;a<0&&i&&e.input.lastFocus>Date.now()-200&&Math.max(e.input.lastTouch,e.input.lastClick.time)<Date.now()-300&&P(n)&&(A=Fe(e))&&A.eq(v.Selection.near(e.state.doc.resolve(0),1))?(e.input.lastFocus=0,He(e),this.currentSelection.set(n),e.scrollToSelection()):(a>-1||i)&&(a>-1&&(e.docView.markDirty(a,s),function(e){if(xn.has(e))return;if(xn.set(e,null),-1!==["normal","nowrap","pre-line"].indexOf(getComputedStyle(e.dom).whiteSpace)){if(e.requiresGeckoHackNode=z,wn)return;console.warn("ProseMirror expects the CSS white-space property to be set, preferably to 'pre-wrap'. It is recommended to load style/prosemirror.css from the prosemirror-view package."),wn=!0}}(e)),this.handleDOMChange(a,s,l,c),e.docView&&e.docView.dirty?e.updateState(e.state):this.currentSelection.eq(n)||He(e),this.currentSelection.set(n))}}},{key:"registerMutation",value:function(e,t){if(t.indexOf(e.target)>-1)return null;var n=this.view.docView.nearestDesc(e.target);if("attributes"==e.type&&(n==this.view.docView||"contenteditable"==e.attributeName||"style"==e.attributeName&&!e.oldValue&&!e.target.getAttribute("style")))return null;if(!n||n.ignoreMutation(e))return null;if("childList"==e.type){for(var r=0;r<e.addedNodes.length;r++){var o=e.addedNodes[r];t.push(o),3==o.nodeType&&(this.lastChangedTextNode=o)}if(n.contentDOM&&n.contentDOM!=n.dom&&!n.contentDOM.contains(e.target))return{from:n.posBefore,to:n.posAfter};var i=e.previousSibling,a=e.nextSibling;if(j&&$<=11&&e.addedNodes.length)for(var s=0;s<e.addedNodes.length;s++){var l=e.addedNodes[s],c=l.previousSibling,u=l.nextSibling;(!c||Array.prototype.indexOf.call(e.addedNodes,c)<0)&&(i=c),(!u||Array.prototype.indexOf.call(e.addedNodes,u)<0)&&(a=u)}var d=i&&i.parentNode==e.target?x(i)+1:0,p=n.localPosFromDOM(e.target,d,-1),f=a&&a.parentNode==e.target?x(a):e.target.childNodes.length;return{from:p,to:n.localPosFromDOM(e.target,f,1)}}return"attributes"==e.type?{from:n.posAtStart-n.border,to:n.posAtEnd+n.border}:(this.lastChangedTextNode=e.target,{from:n.posAtStart,to:n.posAtEnd,typeOver:e.target.nodeValue==e.oldValue})}}]),e}(),xn=new WeakMap,wn=!1;function An(e,t){var n=t.startContainer,r=t.startOffset,o=t.endContainer,i=t.endOffset,a=e.domAtPos(e.state.selection.anchor);if(S(a.node,a.offset,o,i)){var s=[o,i,n,r];n=s[0],r=s[1],o=s[2],i=s[3]}return{anchorNode:n,anchorOffset:r,focusNode:o,focusOffset:i}}function _n(e,t){for(var n=t.parentNode;n&&n!=e.dom;n=n.parentNode){var r=e.docView.nearestDesc(n,!0);if(r&&r.node.isBlock)return n}return null}function Sn(e){var t=e.pmViewDesc;if(t)return t.parseRule();if("BR"==e.nodeName&&e.parentNode){if(V&&/^(ul|ol)$/i.test(e.parentNode.nodeName)){var n=document.createElement("div");return n.appendChild(document.createElement("li")),{skip:n}}if(e.parentNode.lastChild==e||V&&/^(tr|table)$/i.test(e.parentNode.nodeName))return{ignore:!0}}else if("IMG"==e.nodeName&&e.getAttribute("mark-placeholder"))return{ignore:!0};return null}var kn=/^(a|abbr|acronym|b|bd[io]|big|br|button|cite|code|data(list)?|del|dfn|em|i|ins|kbd|label|map|mark|meter|output|q|ruby|s|samp|small|span|strong|su[bp]|time|u|tt|var)$/i;function Cn(e,t,n,r,o){var i=e.input.compositionPendingChanges||(e.composing?e.input.compositionID:0);if(e.input.compositionPendingChanges=0,t<0){var a=e.input.lastSelectionTime>Date.now()-50?e.input.lastSelectionOrigin:null,s=Fe(e,a);if(s&&!e.state.selection.eq(s)){if(B&&G&&13===e.input.lastKeyCode&&Date.now()-100<e.input.lastKeyCodeTime&&e.someProp("handleKeyDown",(function(t){return t(e,O(13,"Enter"))})))return;var l=e.state.tr.setSelection(s);"pointer"==a?l.setMeta("pointer",!0):"key"==a&&l.scrollIntoView(),i&&l.setMeta("composition",i),e.dispatch(l)}}else{var c=e.state.doc.resolve(t),u=c.sharedDepth(n);t=c.before(u+1),n=e.state.doc.resolve(n).after(u+1);var d,p,f=e.state.selection,h=function(e,t,n){var r,o=e.docView.parseRange(t,n),i=o.node,a=o.fromOffset,s=o.toOffset,l=o.from,c=o.to,u=e.domSelectionRange(),d=u.anchorNode;if(d&&e.dom.contains(1==d.nodeType?d:d.parentNode)&&(r=[{node:d,offset:u.anchorOffset}],P(u)||r.push({node:u.focusNode,offset:u.focusOffset})),B&&8===e.input.lastKeyCode)for(var p=s;p>a;p--){var f=i.childNodes[p-1],h=f.pmViewDesc;if("BR"==f.nodeName&&!h){s=p;break}if(!h||h.size)break}var m=e.state.doc,g=e.someProp("domParser")||y.DOMParser.fromSchema(e.state.schema),v=m.resolve(l),b=null,x=g.parse(i,{topNode:v.parent,topMatch:v.parent.contentMatchAt(v.index()),topOpen:!0,from:a,to:s,preserveWhitespace:"pre"!=v.parent.type.whitespace||"full",findPositions:r,ruleFromNode:Sn,context:v});if(r&&null!=r[0].pos){var w=r[0].pos,A=r[1]&&r[1].pos;null==A&&(A=w),b={anchor:w+l,head:A+l}}return{doc:x,sel:b,from:l,to:c}}(e,t,n),m=e.state.doc,g=m.slice(h.from,h.to);8===e.input.lastKeyCode&&Date.now()-100<e.input.lastKeyCodeTime?(d=e.state.selection.to,p="end"):(d=e.state.selection.from,p="start"),e.input.lastKeyCode=null;var b=function(e,t,n,r,o){var i=e.findDiffStart(t,n);if(null==i)return null;var a=e.findDiffEnd(t,n+e.size,n+t.size),s=a.a,l=a.b;if("end"==o){r-=s+Math.max(0,i-Math.min(s,l))-i}if(s<i&&e.size<t.size){var c=r<=i&&r>=s?i-r:0;(i-=c)&&i<t.size&&Pn(t.textBetween(i-1,i+1))&&(i+=c?1:-1),l=i+(l-s),s=i}else if(l<i){var u=r<=i&&r>=l?i-r:0;(i-=u)&&i<e.size&&Pn(e.textBetween(i-1,i+1))&&(i+=u?1:-1),s=i+(s-l),l=i}return{start:i,endA:s,endB:l}}(g.content,h.doc.content,h.from,d,p);if((W&&e.input.lastIOSEnter>Date.now()-225||G)&&o.some((function(e){return 1==e.nodeType&&!kn.test(e.nodeName)}))&&(!b||b.endA>=b.endB)&&e.someProp("handleKeyDown",(function(t){return t(e,O(13,"Enter"))})))e.input.lastIOSEnter=0;else{if(!b){if(!(r&&f instanceof v.TextSelection&&!f.empty&&f.$head.sameParent(f.$anchor))||e.composing||h.sel&&h.sel.anchor!=h.sel.head){if(h.sel){var x=Tn(e,e.state.doc,h.sel);if(x&&!x.eq(e.state.selection)){var w=e.state.tr.setSelection(x);i&&w.setMeta("composition",i),e.dispatch(w)}}return}b={start:f.from,endA:f.to,endB:f.to}}e.input.domChangeCount++,e.state.selection.from<e.state.selection.to&&b.start==b.endB&&e.state.selection instanceof v.TextSelection&&(b.start>e.state.selection.from&&b.start<=e.state.selection.from+2&&e.state.selection.from>=h.from?b.start=e.state.selection.from:b.endA<e.state.selection.to&&b.endA>=e.state.selection.to-2&&e.state.selection.to<=h.to&&(b.endB+=e.state.selection.to-b.endA,b.endA=e.state.selection.to)),j&&$<=11&&b.endB==b.start+1&&b.endA==b.start&&b.start>h.from&&" Â "==h.doc.textBetween(b.start-h.from-1,b.start-h.from+1)&&(b.start--,b.endA--,b.endB--);var A,_=h.doc.resolveNoCache(b.start-h.from),S=h.doc.resolveNoCache(b.endB-h.from),k=m.resolve(b.start),C=_.sameParent(S)&&_.parent.inlineContent&&k.end()>=b.endA;if((W&&e.input.lastIOSEnter>Date.now()-225&&(!C||o.some((function(e){return"DIV"==e.nodeName||"P"==e.nodeName})))||!C&&_.pos<h.doc.content.size&&!_.sameParent(S)&&(A=v.Selection.findFrom(h.doc.resolve(_.pos+1),1,!0))&&A.head==S.pos)&&e.someProp("handleKeyDown",(function(t){return t(e,O(13,"Enter"))})))e.input.lastIOSEnter=0;else if(e.state.selection.anchor>b.start&&function(e,t,n,r,o){if(n-t<=o.pos-r.pos||Mn(r,!0,!1)<o.pos)return!1;var i=e.resolve(t);if(!r.parent.isTextblock){var a=i.nodeAfter;return null!=a&&n==t+a.nodeSize}if(i.parentOffset<i.parent.content.size||!i.parent.isTextblock)return!1;var s=e.resolve(Mn(i,!0,!0));return!(!s.parent.isTextblock||s.pos>n||Mn(s,!0,!1)<n)&&r.parent.content.cut(r.parentOffset).eq(s.parent.content)}(m,b.start,b.endA,_,S)&&e.someProp("handleKeyDown",(function(t){return t(e,O(8,"Backspace"))})))G&&B&&e.domObserver.suppressSelectionUpdates();else{B&&G&&b.endB==b.start&&(e.input.lastAndroidDelete=Date.now()),G&&!C&&_.start()!=S.start()&&0==S.parentOffset&&_.depth==S.depth&&h.sel&&h.sel.anchor==h.sel.head&&h.sel.head==b.endA&&(b.endB-=2,S=h.doc.resolveNoCache(b.endB-h.from),setTimeout((function(){e.someProp("handleKeyDown",(function(t){return t(e,O(13,"Enter"))}))}),20));var T,M,E,D=b.start,R=b.endA;if(C)if(_.pos==S.pos)j&&$<=11&&0==_.parentOffset&&(e.domObserver.suppressSelectionUpdates(),setTimeout((function(){return He(e)}),20)),T=e.state.tr.delete(D,R),M=m.resolve(b.start).marksAcross(m.resolve(b.endA));else if(b.endA==b.endB&&(E=function(e,t){for(var n,r,o,i=e.firstChild.marks,a=t.firstChild.marks,s=i,l=a,c=0;c<a.length;c++)s=a[c].removeFromSet(s);for(var u=0;u<i.length;u++)l=i[u].removeFromSet(l);if(1==s.length&&0==l.length)r=s[0],n="add",o=function(e){return e.mark(r.addToSet(e.marks))};else{if(0!=s.length||1!=l.length)return null;r=l[0],n="remove",o=function(e){return e.mark(r.removeFromSet(e.marks))}}for(var d=[],p=0;p<t.childCount;p++)d.push(o(t.child(p)));if(y.Fragment.from(d).eq(e))return{mark:r,type:n}}(_.parent.content.cut(_.parentOffset,S.parentOffset),k.parent.content.cut(k.parentOffset,b.endA-k.start()))))T=e.state.tr,"add"==E.type?T.addMark(D,R,E.mark):T.removeMark(D,R,E.mark);else if(_.parent.child(_.index()).isText&&_.index()==S.index()-(S.textOffset?0:1)){var I=_.parent.textBetween(_.parentOffset,S.parentOffset);if(e.someProp("handleTextInput",(function(t){return t(e,D,R,I)})))return;T=e.state.tr.insertText(I,D,R)}if(T||(T=e.state.tr.replace(D,R,h.doc.slice(b.start-h.from,b.endB-h.from))),h.sel){var N=Tn(e,T.doc,h.sel);N&&!(B&&G&&e.composing&&N.empty&&(b.start!=b.endB||e.input.lastAndroidDelete<Date.now()-100)&&(N.head==D||N.head==T.mapping.map(R)-1)||j&&N.empty&&N.head==D)&&T.setSelection(N)}M&&T.ensureMarks(M),i&&T.setMeta("composition",i),e.dispatch(T.scrollIntoView())}}}}function Tn(e,t,n){return Math.max(n.anchor,n.head)>t.content.size?null:Xe(e,t.resolve(n.anchor),t.resolve(n.head))}function Mn(e,t,n){for(var r=e.depth,o=t?e.end():e.pos;r>0&&(t||e.indexAfter(r)==e.node(r).childCount);)r--,o++,t=!1;if(n)for(var i=e.node(r).maybeChild(e.indexAfter(r));i&&!i.isLeaf;)i=i.firstChild,o++;return o}function Pn(e){if(2!=e.length)return!1;var t=e.charCodeAt(0),n=e.charCodeAt(1);return t>=56320&&t<=57343&&n>=55296&&n<=56319}var On=dt,En=pt,Dn=Vt,Rn=function(){function e(t,n){var r=this;h(this,e),this._root=null,this.focused=!1,this.trackWrites=null,this.mounted=!1,this.markCursor=null,this.cursorWrapper=null,this.lastSelectedViewDesc=void 0,this.input=new kt,this.prevDirectPlugins=[],this.pluginViews=[],this.requiresGeckoHackNode=!1,this.dragging=null,this._props=n,this.state=n.state,this.directPlugins=n.plugins||[],this.directPlugins.forEach($n),this.dispatch=this.dispatch.bind(this),this.dom=t&&t.mount||document.createElement("div"),t&&(t.appendChild?t.appendChild(this.dom):"function"==typeof t?t(this.dom):t.mount&&(this.mounted=!0)),this.editable=Ln(this),Nn(this),this.nodeViews=jn(this),this.docView=Se(this.state.doc,In(this),mn(this),this.dom,this),this.domObserver=new bn(this,(function(e,t,n,o){return Cn(r,e,t,n,o)})),this.domObserver.start(),function(e){var t=function(){var t=At[n];e.dom.addEventListener(n,e.input.eventHandlers[n]=function(n){!function(e,t){if(!t.bubbles)return!0;if(t.defaultPrevented)return!1;for(var n=t.target;n!=e.dom;n=n.parentNode)if(!n||11==n.nodeType||n.pmViewDesc&&n.pmViewDesc.stopEvent(t))return!1;return!0}(e,n)||Mt(e,n)||!e.editable&&n.type in _t||t(e,n)},St[n]?{passive:!0}:void 0)};for(var n in At)t();V&&e.dom.addEventListener("input",(function(){return null})),Tt(e)}(this),this.updatePluginViews()}return g(e,[{key:"composing",get:function(){return this.input.composing}},{key:"props",get:function(){if(this._props.state!=this.state){var e=this._props;for(var t in this._props={},e)this._props[t]=e[t];this._props.state=this.state}return this._props}},{key:"update",value:function(e){e.handleDOMEvents!=this._props.handleDOMEvents&&Tt(this);var t=this._props;this._props=e,e.plugins&&(e.plugins.forEach($n),this.directPlugins=e.plugins),this.updateStateInner(e.state,t)}},{key:"setProps",value:function(e){var t={};for(var n in this._props)t[n]=this._props[n];for(var r in t.state=this.state,e)t[r]=e[r];this.update(t)}},{key:"updateState",value:function(e){this.updateStateInner(e,this._props)}},{key:"updateStateInner",value:function(e,t){var n,r=this.state,o=!1,i=!1;e.storedMarks&&this.composing&&(Bt(this),i=!0),this.state=e;var a=r.plugins!=e.plugins||this._props.plugins!=t.plugins;if(a||this._props.plugins!=t.plugins||this._props.nodeViews!=t.nodeViews){var s=jn(this);(function(e,t){var n=0,r=0;for(var o in e){if(e[o]!=t[o])return!0;n++}for(var i in t)r++;return n!=r})(s,this.nodeViews)&&(this.nodeViews=s,o=!0)}(a||t.handleDOMEvents!=this._props.handleDOMEvents)&&Tt(this),this.editable=Ln(this),Nn(this);var l=mn(this),c=In(this),u=r.plugins==e.plugins||r.doc.eq(e.doc)?e.scrollToSelection>r.scrollToSelection?"to selection":"preserve":"reset",d=o||!this.docView.matchesNode(e.doc,c,l);!d&&e.selection.eq(r.selection)||(i=!0);var p,f,h,m,g,v,y,b,x,w,A,_="preserve"==u&&i&&null==this.dom.style.overflowAnchor&&function(e){for(var t,n,r=e.dom.getBoundingClientRect(),o=Math.max(0,r.top),i=(r.left+r.right)/2,a=o+1;a<Math.min(innerHeight,r.bottom);a+=5){var s=e.root.elementFromPoint(i,a);if(s&&s!=e.dom&&e.dom.contains(s)){var l=s.getBoundingClientRect();if(l.top>=o-20){t=s,n=l.top;break}}}return{refDOM:t,refTop:n,stack:ee(e.dom)}}(this);if(i){this.domObserver.stop();var k=d&&(j||B)&&!this.composing&&!r.selection.empty&&!e.selection.empty&&(m=r.selection,g=e.selection,v=Math.min(m.$anchor.sharedDepth(m.head),g.$anchor.sharedDepth(g.head)),m.$anchor.start(v)!=g.$anchor.start(v));if(d){var C=B?this.trackWrites=this.domSelectionRange().focusNode:null;this.composing&&(this.input.compositionNode=Ht(this)),!o&&this.docView.update(e.doc,c,l,this)||(this.docView.updateOuterDeco(c),this.docView.destroy(),this.docView=Se(e.doc,c,l,this.dom,this)),C&&!this.trackWrites&&(k=!0)}k||!(this.input.mouseDown&&this.domObserver.currentSelection.eq(this.domSelectionRange())&&(p=this,f=p.docView.domFromPos(p.state.selection.anchor,0),h=p.domSelectionRange(),S(f.node,f.offset,h.anchorNode,h.anchorOffset)))?He(this,k):(Ge(this,e.selection),this.domObserver.setCurSelection()),this.domObserver.start()}this.updatePluginViews(r),(null===(n=this.dragging)||void 0===n?void 0:n.node)&&!r.doc.eq(e.doc)&&this.updateDraggedNode(this.dragging,r),"reset"==u?this.dom.scrollTop=0:"to selection"==u?this.scrollToSelection():_&&(b=(y=_).refDOM,x=y.refTop,w=y.stack,A=b?b.getBoundingClientRect().top:0,te(w,0==A?0:A-x))}},{key:"scrollToSelection",value:function(){var e=this,t=this.domSelectionRange().focusNode;if(this.someProp("handleScrollToSelection",(function(t){return t(e)})));else if(this.state.selection instanceof v.NodeSelection){var n=this.docView.domAfterPos(this.state.selection.from);1==n.nodeType&&Q(this,n.getBoundingClientRect(),t)}else Q(this,this.coordsAtPos(this.state.selection.head,1),t)}},{key:"destroyPluginViews",value:function(){for(var e;e=this.pluginViews.pop();)e.destroy&&e.destroy()}},{key:"updatePluginViews",value:function(e){if(e&&e.plugins==this.state.plugins&&this.directPlugins==this.prevDirectPlugins)for(var t=0;t<this.pluginViews.length;t++){var n=this.pluginViews[t];n.update&&n.update(this,e)}else{this.prevDirectPlugins=this.directPlugins,this.destroyPluginViews();for(var r=0;r<this.directPlugins.length;r++){var o=this.directPlugins[r];o.spec.view&&this.pluginViews.push(o.spec.view(this))}for(var i=0;i<this.state.plugins.length;i++){var a=this.state.plugins[i];a.spec.view&&this.pluginViews.push(a.spec.view(this))}}}},{key:"updateDraggedNode",value:function(e,t){var n=e.node,r=-1;if(this.state.doc.nodeAt(n.from)==n.node)r=n.from;else{var o=n.from+(this.state.doc.content.size-t.doc.content.size);(o>0&&this.state.doc.nodeAt(o))==n.node&&(r=o)}this.dragging=new Gt(e.slice,e.move,r<0?void 0:v.NodeSelection.create(this.state.doc,r))}},{key:"someProp",value:function(e,t){var n,r=this._props&&this._props[e];if(null!=r&&(n=t?t(r):r))return n;for(var o=0;o<this.directPlugins.length;o++){var i=this.directPlugins[o].props[e];if(null!=i&&(n=t?t(i):i))return n}var a=this.state.plugins;if(a)for(var s=0;s<a.length;s++){var l=a[s].props[e];if(null!=l&&(n=t?t(l):l))return n}}},{key:"hasFocus",value:function(){if(j){var e=this.root.activeElement;if(e==this.dom)return!0;if(!e||!this.dom.contains(e))return!1;for(;e&&this.dom!=e&&this.dom.contains(e);){if("false"==e.contentEditable)return!1;e=e.parentElement}return!0}return this.root.activeElement==this.dom}},{key:"focus",value:function(){this.domObserver.stop(),this.editable&&function(e){if(e.setActive)return e.setActive();if(ne)return e.focus(ne);var t=ee(e);e.focus(null==ne?{get preventScroll(){return ne={preventScroll:!0},!0}}:void 0),ne||(ne=!1,te(t,0))}(this.dom),He(this),this.domObserver.start()}},{key:"root",get:function(){var e=this,t=this._root;if(null==t)for(var n,r=function(t){if(9==t.nodeType||11==t.nodeType&&t.host)return t.getSelection||(Object.getPrototypeOf(t).getSelection=function(){return t.ownerDocument.getSelection()}),{v:e._root=t}},o=this.dom.parentNode;o;o=o.parentNode)if(n=r(o))return n.v;return t||document}},{key:"updateRoot",value:function(){this._root=null}},{key:"posAtCoords",value:function(e){return ae(this,e)}},{key:"coordsAtPos",value:function(e){return ue(this,e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:1)}},{key:"domAtPos",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return this.docView.domFromPos(e,t)}},{key:"nodeDOM",value:function(e){var t=this.docView.descAt(e);return t?t.nodeDOM:null}},{key:"posAtDOM",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:-1,r=this.docView.posFromDOM(e,t,n);if(null==r)throw new RangeError("DOM position not inside the editor");return r}},{key:"endOfTextblock",value:function(e,t){return ye(this,t||this.state,e)}},{key:"pasteHTML",value:function(e,t){return Ut(this,"",e,!1,t||new ClipboardEvent("paste"))}},{key:"pasteText",value:function(e,t){return Ut(this,e,null,!0,t||new ClipboardEvent("paste"))}},{key:"destroy",value:function(){this.docView&&(!function(e){for(var t in e.domObserver.stop(),e.input.eventHandlers)e.dom.removeEventListener(t,e.input.eventHandlers[t]);clearTimeout(e.input.composingTimeout),clearTimeout(e.input.lastIOSEnterFallbackTimeout)}(this),this.destroyPluginViews(),this.mounted?(this.docView.update(this.state.doc,[],mn(this),this),this.dom.textContent=""):this.dom.parentNode&&this.dom.parentNode.removeChild(this.dom),this.docView.destroy(),this.docView=null,A=null)}},{key:"isDestroyed",get:function(){return null==this.docView}},{key:"dispatchEvent",value:function(e){return function(e,t){Mt(e,t)||!At[t.type]||!e.editable&&t.type in _t||At[t.type](e,t)}(this,e)}},{key:"dispatch",value:function(e){var t=this._props.dispatchTransaction;t?t.call(this,e):this.updateState(this.state.apply(e))}},{key:"domSelectionRange",value:function(){var e=this.domSelection();return V&&11===this.root.nodeType&&function(e){for(var t=e.activeElement;t&&t.shadowRoot;)t=t.shadowRoot.activeElement;return t}(this.dom.ownerDocument)==this.dom&&function(e,t){if(t.getComposedRanges){var n=t.getComposedRanges(e.root)[0];if(n)return An(e,n)}var r;function o(e){e.preventDefault(),e.stopImmediatePropagation(),r=e.getTargetRanges()[0]}return e.dom.addEventListener("beforeinput",o,!0),document.execCommand("indent"),e.dom.removeEventListener("beforeinput",o,!0),r?An(e,r):null}(this,e)||e}},{key:"domSelection",value:function(){return this.root.getSelection()}}]),e}();function In(e){var t=Object.create(null);return t.class="ProseMirror",t.contenteditable=String(e.editable),e.someProp("attributes",(function(n){if("function"==typeof n&&(n=n(e.state)),n)for(var r in n)"class"==r?t.class+=" "+n[r]:"style"==r?t.style=(t.style?t.style+";":"")+n[r]:t[r]||"contenteditable"==r||"nodeName"==r||(t[r]=String(n[r]))})),t.translate||(t.translate="no"),[en.node(0,e.state.doc.content.size,t)]}function Nn(e){if(e.markCursor){var t=document.createElement("img");t.className="ProseMirror-separator",t.setAttribute("mark-placeholder","true"),t.setAttribute("alt",""),e.cursorWrapper={dom:t,deco:en.widget(e.state.selection.head,t,{raw:!0,marks:e.markCursor})}}else e.cursorWrapper=null}function Ln(e){return!e.someProp("editable",(function(t){return!1===t(e.state)}))}function jn(e){var t=Object.create(null);function n(e){for(var n in e)Object.prototype.hasOwnProperty.call(t,n)||(t[n]=e[n])}return e.someProp("nodeViews",n),e.someProp("markViews",n),t}function $n(e){if(e.spec.state||e.spec.filterTransaction||e.spec.appendTransaction)throw new RangeError("Plugins passed directly to the view must not have a state component")}t.Decoration=en,t.DecorationSet=rn,t.EditorView=Rn,t.__endComposition=Dn,t.__parseFromClipboard=En,t.__serializeForClipboard=On},37372:function(e,t,n){"use strict";var r,o=Object.create,i=Object.defineProperty,a=Object.getOwnPropertyDescriptor,s=Object.getOwnPropertyNames,l=Object.getPrototypeOf,c=Object.prototype.hasOwnProperty,u=(e,t,n,r)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let o of s(t))!c.call(e,o)&&o!==n&&i(e,o,{get:()=>t[o],enumerable:!(r=a(t,o))||r.enumerable});return e},d=(e,t,n)=>(n=null!=e?o(l(e)):{},u(!t&&e&&e.__esModule?n:i(n,"default",{value:e,enumerable:!0}),e)),p={};((e,t)=>{for(var n in t)i(e,n,{get:t[n],enumerable:!0})})(p,{Provider:()=>xe,ReactReduxContext:()=>b,batch:()=>ke,connect:()=>be,createDispatchHook:()=>_e,createSelectorHook:()=>k,createStoreHook:()=>we,shallowEqual:()=>ne,useDispatch:()=>Se,useSelector:()=>C,useStore:()=>Ae}),e.exports=(r=p,u(i({},"__esModule",{value:!0}),r));var f=d(n(96540)),h=n(78418),m=d(n(96540)),g="default"in m?m.default:m,v=Symbol.for("react-redux-context"),y=typeof globalThis<"u"?globalThis:{};var b=function(){if(!g.createContext)return{};let e=y[v]??(y[v]=new Map),t=e.get(g.createContext);return t||(t=g.createContext(null),e.set(g.createContext,t)),t}(),x=()=>{throw new Error("uSES not initialized!")};function w(e=b){return function(){return g.useContext(e)}}var A=w(),_=x,S=(e,t)=>e===t;function k(e=b){let t=e===b?A:w(e),n=(e,n={})=>{let{equalityFn:r=S,devModeChecks:o={}}="function"==typeof n?{equalityFn:n}:n,{store:i,subscription:a,getServerState:s,stabilityCheck:l,identityFunctionCheck:c}=t(),u=(g.useRef(!0),g.useCallback({[e.name](t){return e(t)}}[e.name],[e,l,o.stabilityCheck])),d=_(a.addNestedSub,i.getState,s||i.getState,u,r);return g.useDebugValue(d),d};return Object.assign(n,{withTypes:()=>n}),n}var C=k(),T=Symbol.for("react.element"),M=Symbol.for("react.portal"),P=Symbol.for("react.fragment"),O=Symbol.for("react.strict_mode"),E=Symbol.for("react.profiler"),D=Symbol.for("react.provider"),R=Symbol.for("react.context"),I=Symbol.for("react.server_context"),N=Symbol.for("react.forward_ref"),L=Symbol.for("react.suspense"),j=Symbol.for("react.suspense_list"),$=Symbol.for("react.memo"),z=Symbol.for("react.lazy"),F=(Symbol.for("react.offscreen"),Symbol.for("react.client.reference"),N),B=$;function H(e){return function(e){if("object"==typeof e&&null!==e){let t=e.$$typeof;switch(t){case T:{let n=e.type;switch(n){case P:case E:case O:case L:case j:return n;default:{let e=n&&n.$$typeof;switch(e){case I:case R:case N:case z:case $:case D:return e;default:return t}}}}case M:return t}}}(e)===$}function V(e,t,n,r,{areStatesEqual:o,areOwnPropsEqual:i,areStatePropsEqual:a}){let s,l,c,u,d,p=!1;function f(p,f){let h=!i(f,l),m=!o(p,s,f,l);return s=p,l=f,h&&m?(c=e(s,l),t.dependsOnOwnProps&&(u=t(r,l)),d=n(c,u,l),d):h?(e.dependsOnOwnProps&&(c=e(s,l)),t.dependsOnOwnProps&&(u=t(r,l)),d=n(c,u,l),d):m?function(){let t=e(s,l),r=!a(t,c);return c=t,r&&(d=n(c,u,l)),d}():d}return function(o,i){return p?f(o,i):function(o,i){return s=o,l=i,c=e(s,l),u=t(r,l),d=n(c,u,l),p=!0,d}(o,i)}}function W(e){return function(t){let n=e(t);function r(){return n}return r.dependsOnOwnProps=!1,r}}function U(e){return e.dependsOnOwnProps?!!e.dependsOnOwnProps:1!==e.length}function q(e,t){return function(t,{displayName:n}){let r=function(e,t){return r.dependsOnOwnProps?r.mapToProps(e,t):r.mapToProps(e,void 0)};return r.dependsOnOwnProps=!0,r.mapToProps=function(t,n){r.mapToProps=e,r.dependsOnOwnProps=U(e);let o=r(t,n);return"function"==typeof o&&(r.mapToProps=o,r.dependsOnOwnProps=U(o),o=r(t,n)),o},r}}function G(e,t){return(n,r)=>{throw new Error(`Invalid value of type ${typeof e} for ${t} argument when connecting component ${r.wrappedComponentName}.`)}}function Y(e,t,n){return{...n,...e,...t}}function X(e){e()}var K={notify(){},get:()=>[]};function Z(e,t){let n,r=K,o=0,i=!1;function a(){c.onStateChange&&c.onStateChange()}function s(){o++,n||(n=t?t.addNestedSub(a):e.subscribe(a),r=function(){let e=null,t=null;return{clear(){e=null,t=null},notify(){X((()=>{let t=e;for(;t;)t.callback(),t=t.next}))},get(){let t=[],n=e;for(;n;)t.push(n),n=n.next;return t},subscribe(n){let r=!0,o=t={callback:n,next:null,prev:t};return o.prev?o.prev.next=o:e=o,function(){!r||null===e||(r=!1,o.next?o.next.prev=o.prev:t=o.prev,o.prev?o.prev.next=o.next:e=o.next)}}}}())}function l(){o--,n&&0===o&&(n(),n=void 0,r.clear(),r=K)}let c={addNestedSub:function(e){s();let t=r.subscribe(e),n=!1;return()=>{n||(n=!0,t(),l())}},notifyNestedSubs:function(){r.notify()},handleChangeWrapper:a,isSubscribed:function(){return i},trySubscribe:function(){i||(i=!0,s())},tryUnsubscribe:function(){i&&(i=!1,l())},getListeners:()=>r};return c}var J=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",Q=typeof navigator<"u"&&"ReactNative"===navigator.product,ee=J||Q?g.useLayoutEffect:g.useEffect;function te(e,t){return e===t?0!==e||0!==t||1/e==1/t:e!=e&&t!=t}function ne(e,t){if(te(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;let n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(let r=0;r<n.length;r++)if(!Object.prototype.hasOwnProperty.call(t,n[r])||!te(e[n[r]],t[n[r]]))return!1;return!0}var re={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},oe={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},ie={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},ae={[F]:{$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},[B]:ie};function se(e){return H(e)?ie:ae[e.$$typeof]||re}var le=Object.defineProperty,ce=Object.getOwnPropertyNames,ue=Object.getOwnPropertySymbols,de=Object.getOwnPropertyDescriptor,pe=Object.getPrototypeOf,fe=Object.prototype;function he(e,t){if("string"!=typeof t){if(fe){let n=pe(t);n&&n!==fe&&he(e,n)}let n=ce(t);ue&&(n=n.concat(ue(t)));let r=se(e),o=se(t);for(let i=0;i<n.length;++i){let a=n[i];if(!(oe[a]||o&&o[a]||r&&r[a])){let n=de(t,a);try{le(e,a,n)}catch{}}}}return e}var me=x,ge=[null,null];function ve(e,t,n,r,o,i){e.current=r,n.current=!1,o.current&&(o.current=null,i())}function ye(e,t){return e===t}var be=function(e,t,n,{pure:r,areStatesEqual:o=ye,areOwnPropsEqual:i=ne,areStatePropsEqual:a=ne,areMergedPropsEqual:s=ne,forwardRef:l=!1,context:c=b}={}){let u=c,d=function(e){return e?"function"==typeof e?q(e):G(e,"mapStateToProps"):W((()=>({})))}(e),p=function(e){return e&&"object"==typeof e?W((t=>function(e,t){let n={};for(let r in e){let o=e[r];"function"==typeof o&&(n[r]=(...e)=>t(o(...e)))}return n}(e,t))):e?"function"==typeof e?q(e):G(e,"mapDispatchToProps"):W((e=>({dispatch:e})))}(t),f=function(e){return e?"function"==typeof e?function(e){return function(t,{displayName:n,areMergedPropsEqual:r}){let o,i=!1;return function(t,n,a){let s=e(t,n,a);return i?r(s,o)||(o=s):(i=!0,o=s),o}}}(e):G(e,"mergeProps"):()=>Y}(n),h=!!e;return e=>{let t=e.displayName||e.name||"Component",n=`Connect(${t})`,r={shouldHandleStateChanges:h,displayName:n,wrappedComponentName:t,WrappedComponent:e,initMapStateToProps:d,initMapDispatchToProps:p,initMergeProps:f,areStatesEqual:o,areStatePropsEqual:a,areOwnPropsEqual:i,areMergedPropsEqual:s};function c(t){let[n,o,i]=g.useMemo((()=>{let{reactReduxForwardedRef:e,...n}=t;return[t.context,e,n]}),[t]),a=g.useMemo((()=>u),[n,u]),s=g.useContext(a),l=!!t.store&&!!t.store.getState&&!!t.store.dispatch,c=!!s&&!!s.store,d=l?t.store:s.store,p=c?s.getServerState:d.getState,f=g.useMemo((()=>function(e,{initMapStateToProps:t,initMapDispatchToProps:n,initMergeProps:r,...o}){return V(t(e,o),n(e,o),r(e,o),e,o)}(d.dispatch,r)),[d]),[m,v]=g.useMemo((()=>{if(!h)return ge;let e=Z(d,l?void 0:s.subscription),t=e.notifyNestedSubs.bind(e);return[e,t]}),[d,l,s]),y=g.useMemo((()=>l?s:{...s,subscription:m}),[l,s,m]),b=g.useRef(void 0),x=g.useRef(i),w=g.useRef(void 0),A=g.useRef(!1),_=g.useRef(!1),S=g.useRef(void 0);ee((()=>(_.current=!0,()=>{_.current=!1})),[]);let k,C=g.useMemo((()=>()=>w.current&&i===x.current?w.current:f(d.getState(),i)),[d,i]),T=g.useMemo((()=>e=>m?function(e,t,n,r,o,i,a,s,l,c,u){if(!e)return()=>{};let d=!1,p=null,f=()=>{if(d||!s.current)return;let e,n,f=t.getState();try{e=r(f,o.current)}catch(e){n=e,p=e}n||(p=null),e===i.current?a.current||c():(i.current=e,l.current=e,a.current=!0,u())};return n.onStateChange=f,n.trySubscribe(),f(),()=>{if(d=!0,n.tryUnsubscribe(),n.onStateChange=null,p)throw p}}(h,d,m,f,x,b,A,_,w,v,e):()=>{}),[m]);!function(e,t,n){ee((()=>e(...t)),n)}(ve,[x,b,A,i,w,v]);try{k=me(T,C,p?()=>f(p(),i):C)}catch(e){throw S.current&&(e.message+=`\nThe error may be correlated with this previous error:\n${S.current.stack}\n\n`),e}ee((()=>{S.current=void 0,w.current=void 0,b.current=k}));let M=g.useMemo((()=>g.createElement(e,{...k,ref:o})),[o,e,k]);return g.useMemo((()=>h?g.createElement(a.Provider,{value:y},M):M),[a,M,y])}let m=g.memo(c);if(m.WrappedComponent=e,m.displayName=c.displayName=n,l){let t=g.forwardRef((function(e,t){return g.createElement(m,{...e,reactReduxForwardedRef:t})}));return t.displayName=n,t.WrappedComponent=e,he(t,e)}return he(m,e)}};var xe=function({store:e,context:t,children:n,serverState:r,stabilityCheck:o="once",identityFunctionCheck:i="once"}){let a=g.useMemo((()=>{let t=Z(e);return{store:e,subscription:t,getServerState:r?()=>r:void 0,stabilityCheck:o,identityFunctionCheck:i}}),[e,r,o,i]),s=g.useMemo((()=>e.getState()),[e]);return ee((()=>{let{subscription:t}=a;return t.onStateChange=t.notifyNestedSubs,t.trySubscribe(),s!==e.getState()&&t.notifyNestedSubs(),()=>{t.tryUnsubscribe(),t.onStateChange=void 0}}),[a,s]),g.createElement((t||b).Provider,{value:a},n)};function we(e=b){let t=e===b?A:w(e),n=()=>{let{store:e}=t();return e};return Object.assign(n,{withTypes:()=>n}),n}var Ae=we();function _e(e=b){let t=e===b?Ae:we(e),n=()=>t().dispatch;return Object.assign(n,{withTypes:()=>n}),n}var Se=_e(),ke=X;(e=>{_=e})(h.useSyncExternalStoreWithSelector),(e=>{me=e})(f.useSyncExternalStore)},29069:function(e){"use strict";var t,n=Object.defineProperty,r=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyNames,i=Object.prototype.hasOwnProperty,a={};function s(e){return({dispatch:t,getState:n})=>r=>o=>"function"==typeof o?o(t,n,e):r(o)}((e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:!0})})(a,{thunk:()=>l,withExtraArgument:()=>c}),e.exports=(t=a,((e,t,a,s)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let l of o(t))i.call(e,l)||l===a||n(e,l,{get:()=>t[l],enumerable:!(s=r(t,l))||s.enumerable});return e})(n({},"__esModule",{value:!0}),t));var l=s(),c=s},28895:function(e){"use strict";var t,n=Object.defineProperty,r=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyNames,i=Object.prototype.hasOwnProperty,a={};function s(e){return`Minified Redux error #${e}; visit https://redux.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `}((e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:!0})})(a,{__DO_NOT_USE__ActionTypes:()=>u,applyMiddleware:()=>y,bindActionCreators:()=>g,combineReducers:()=>h,compose:()=>v,createStore:()=>p,isAction:()=>b,isPlainObject:()=>d,legacy_createStore:()=>f}),e.exports=(t=a,((e,t,a,s)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let l of o(t))i.call(e,l)||l===a||n(e,l,{get:()=>t[l],enumerable:!(s=r(t,l))||s.enumerable});return e})(n({},"__esModule",{value:!0}),t));var l=(()=>"function"==typeof Symbol&&Symbol.observable||"@@observable")(),c=()=>Math.random().toString(36).substring(7).split("").join("."),u={INIT:`@@redux/INIT${c()}`,REPLACE:`@@redux/REPLACE${c()}`,PROBE_UNKNOWN_ACTION:()=>`@@redux/PROBE_UNKNOWN_ACTION${c()}`};function d(e){if("object"!=typeof e||null===e)return!1;let t=e;for(;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t||null===Object.getPrototypeOf(e)}function p(e,t,n){if("function"!=typeof e)throw new Error(s(2));if("function"==typeof t&&"function"==typeof n||"function"==typeof n&&"function"==typeof arguments[3])throw new Error(s(0));if("function"==typeof t&&void 0===n&&(n=t,t=void 0),void 0!==n){if("function"!=typeof n)throw new Error(s(1));return n(p)(e,t)}let r=e,o=t,i=new Map,a=i,c=0,f=!1;function h(){a===i&&(a=new Map,i.forEach(((e,t)=>{a.set(t,e)})))}function m(){if(f)throw new Error(s(3));return o}function g(e){if("function"!=typeof e)throw new Error(s(4));if(f)throw new Error(s(5));let t=!0;h();const n=c++;return a.set(n,e),function(){if(t){if(f)throw new Error(s(6));t=!1,h(),a.delete(n),i=null}}}function v(e){if(!d(e))throw new Error(s(7));if(void 0===e.type)throw new Error(s(8));if("string"!=typeof e.type)throw new Error(s(17));if(f)throw new Error(s(9));try{f=!0,o=r(o,e)}finally{f=!1}return(i=a).forEach((e=>{e()})),e}v({type:u.INIT});return{dispatch:v,subscribe:g,getState:m,replaceReducer:function(e){if("function"!=typeof e)throw new Error(s(10));r=e,v({type:u.REPLACE})},[l]:function(){const e=g;return{subscribe(t){if("object"!=typeof t||null===t)throw new Error(s(11));function n(){const e=t;e.next&&e.next(m())}n();return{unsubscribe:e(n)}},[l](){return this}}}}}function f(e,t,n){return p(e,t,n)}function h(e){const t=Object.keys(e),n={};for(let r=0;r<t.length;r++){const o=t[r];0,"function"==typeof e[o]&&(n[o]=e[o])}const r=Object.keys(n);let o;try{!function(e){Object.keys(e).forEach((t=>{const n=e[t];if(void 0===n(void 0,{type:u.INIT}))throw new Error(s(12));if(void 0===n(void 0,{type:u.PROBE_UNKNOWN_ACTION()}))throw new Error(s(13))}))}(n)}catch(e){o=e}return function(e={},t){if(o)throw o;let i=!1;const a={};for(let o=0;o<r.length;o++){const l=r[o],c=n[l],u=e[l],d=c(u,t);if(void 0===d){t&&t.type;throw new Error(s(14))}a[l]=d,i=i||d!==u}return i=i||r.length!==Object.keys(e).length,i?a:e}}function m(e,t){return function(...n){return t(e.apply(this,n))}}function g(e,t){if("function"==typeof e)return m(e,t);if("object"!=typeof e||null===e)throw new Error(s(16));const n={};for(const r in e){const o=e[r];"function"==typeof o&&(n[r]=m(o,t))}return n}function v(...e){return 0===e.length?e=>e:1===e.length?e[0]:e.reduce(((e,t)=>(...n)=>e(t(...n))))}function y(...e){return t=>(n,r)=>{const o=t(n,r);let i=()=>{throw new Error(s(15))};const a={getState:o.getState,dispatch:(e,...t)=>i(e,...t)},l=e.map((e=>e(a)));return i=v(...l)(o.dispatch),{...o,dispatch:i}}}function b(e){return d(e)&&"type"in e&&"string"==typeof e.type}},42885:function(e){"use strict";var t,n=Object.defineProperty,r=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyNames,i=Object.prototype.hasOwnProperty,a={};((e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:!0})})(a,{createSelector:()=>V,createSelectorCreator:()=>H,createStructuredSelector:()=>W,lruMemoize:()=>N,referenceEqualityCheck:()=>R,setGlobalDevModeChecks:()=>l,unstable_autotrackMemoize:()=>L,weakMapMemoize:()=>B}),e.exports=(t=a,((e,t,a,s)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let l of o(t))i.call(e,l)||l===a||n(e,l,{get:()=>t[l],enumerable:!(s=r(t,l))||s.enumerable});return e})(n({},"__esModule",{value:!0}),t));var s={inputStabilityCheck:"once",identityFunctionCheck:"once"},l=e=>{Object.assign(s,e)},c=Symbol("NOT_FOUND");function u(e,t="expected a function, instead received "+typeof e){if("function"!=typeof e)throw new TypeError(t)}var d=e=>Array.isArray(e)?e:[e];function p(e){const t=Array.isArray(e[0])?e[0]:e;return function(e,t="expected all items to be functions, instead received the following types: "){if(!e.every((e=>"function"==typeof e))){const n=e.map((e=>"function"==typeof e?`function ${e.name||"unnamed"}()`:typeof e)).join(", ");throw new TypeError(`${t}[${n}]`)}}(t,"createSelector expects all input-selectors to be functions, but received the following types: "),t}var f=0,h=null,m=class{revision=f;_value;_lastValue;_isEqual=g;constructor(e,t=g){this._value=this._lastValue=e,this._isEqual=t}get value(){return h?.add(this),this._value}set value(e){this.value!==e&&(this._value=e,this.revision=++f)}};function g(e,t){return e===t}var v=class{_cachedValue;_cachedRevision=-1;_deps=[];hits=0;fn;constructor(e){this.fn=e}clear(){this._cachedValue=void 0,this._cachedRevision=-1,this._deps=[],this.hits=0}get value(){if(this.revision>this._cachedRevision){const{fn:e}=this,t=new Set,n=h;h=t,this._cachedValue=e(),h=n,this.hits++,this._deps=Array.from(t),this._cachedRevision=this.revision}return h?.add(this),this._cachedValue}get revision(){return Math.max(...this._deps.map((e=>e.revision)),0)}};function y(e){return e instanceof m||console.warn("Not a valid cell! ",e),e.value}var b=(e,t)=>!1;function x(){return function(e,t=g){return new m(e,t)}(null,b)}function w(e,t){!function(e,t){if(!(e instanceof m))throw new TypeError("setValue must be passed a tracked store created with `createStorage`.");e.value=e._lastValue=t}(e,t)}var A=e=>{let t=e.collectionTag;null===t&&(t=e.collectionTag=x()),y(t)},_=e=>{const t=e.collectionTag;null!==t&&w(t,null)},S=(Symbol(),0),k=Object.getPrototypeOf({}),C=class{constructor(e){this.value=e,this.value=e,this.tag.value=e}proxy=new Proxy(this,T);tag=x();tags={};children={};collectionTag=null;id=S++},T={get(e,t){return function(){const{value:n}=e,r=Reflect.get(n,t);if("symbol"==typeof t)return r;if(t in k)return r;if("object"==typeof r&&null!==r){let n=e.children[t];return void 0===n&&(n=e.children[t]=O(r)),n.tag&&y(n.tag),n.proxy}{let n=e.tags[t];return void 0===n&&(n=e.tags[t]=x(),n.value=r),y(n),r}}()},ownKeys(e){return A(e),Reflect.ownKeys(e.value)},getOwnPropertyDescriptor(e,t){return Reflect.getOwnPropertyDescriptor(e.value,t)},has(e,t){return Reflect.has(e.value,t)}},M=class{constructor(e){this.value=e,this.value=e,this.tag.value=e}proxy=new Proxy([this],P);tag=x();tags={};children={};collectionTag=null;id=S++},P={get([e],t){return"length"===t&&A(e),T.get(e,t)},ownKeys([e]){return T.ownKeys(e)},getOwnPropertyDescriptor([e],t){return T.getOwnPropertyDescriptor(e,t)},has([e],t){return T.has(e,t)}};function O(e){return Array.isArray(e)?new M(e):new C(e)}function E(e,t){const{value:n,tags:r,children:o}=e;if(e.value=t,Array.isArray(n)&&Array.isArray(t)&&n.length!==t.length)_(e);else if(n!==t){let r=0,o=0,i=!1;for(const e in n)r++;for(const e in t)if(o++,!(e in n)){i=!0;break}(i||r!==o)&&_(e)}for(const o in r){const i=n[o],a=t[o];i!==a&&(_(e),w(r[o],a)),"object"==typeof a&&null!==a&&delete r[o]}for(const e in o){const n=o[e],r=t[e];n.value!==r&&("object"==typeof r&&null!==r?E(n,r):(D(n),delete o[e]))}}function D(e){e.tag&&w(e.tag,null),_(e);for(const t in e.tags)w(e.tags[t],null);for(const t in e.children)D(e.children[t])}var R=(e,t)=>e===t;function I(e){return function(t,n){if(null===t||null===n||t.length!==n.length)return!1;const{length:r}=t;for(let o=0;o<r;o++)if(!e(t[o],n[o]))return!1;return!0}}function N(e,t){const n="object"==typeof t?t:{equalityCheck:t},{equalityCheck:r=R,maxSize:o=1,resultEqualityCheck:i}=n,a=I(r);let s=0;const l=o<=1?function(e){let t;return{get(n){return t&&e(t.key,n)?t.value:c},put(e,n){t={key:e,value:n}},getEntries(){return t?[t]:[]},clear(){t=void 0}}}(a):function(e,t){let n=[];function r(e){const r=n.findIndex((n=>t(e,n.key)));if(r>-1){const e=n[r];return r>0&&(n.splice(r,1),n.unshift(e)),e.value}return c}return{get:r,put:function(t,o){r(t)===c&&(n.unshift({key:t,value:o}),n.length>e&&n.pop())},getEntries:function(){return n},clear:function(){n=[]}}}(o,a);function u(){let t=l.get(arguments);if(t===c){if(t=e.apply(null,arguments),s++,i){const e=l.getEntries().find((e=>i(e.value,t)));e&&(t=e.value,0!==s&&s--)}l.put(arguments,t)}return t}return u.clearCache=()=>{l.clear(),u.resetResultsCount()},u.resultsCount=()=>s,u.resetResultsCount=()=>{s=0},u}function L(e){const t=O([]);let n=null;const r=I(R),o=(u(i=()=>e.apply(null,t.proxy),"the first parameter to `createCache` must be a function"),new v(i));var i;function a(){return r(n,arguments)||(E(t,arguments),n=arguments),o.value}return a.clearCache=()=>o.clear(),a}var j="undefined"!=typeof WeakRef?WeakRef:class{constructor(e){this.value=e}deref(){return this.value}},$=0,z=1;function F(){return{s:$,v:void 0,o:null,p:null}}function B(e,t={}){let n=F();const{resultEqualityCheck:r}=t;let o,i=0;function a(){let t=n;const{length:a}=arguments;for(let e=0,n=a;e<n;e++){const n=arguments[e];if("function"==typeof n||"object"==typeof n&&null!==n){let e=t.o;null===e&&(t.o=e=new WeakMap);const r=e.get(n);void 0===r?(t=F(),e.set(n,t)):t=r}else{let e=t.p;null===e&&(t.p=e=new Map);const r=e.get(n);void 0===r?(t=F(),e.set(n,t)):t=r}}const s=t;let l;if(t.s===z)l=t.v;else if(l=e.apply(null,arguments),i++,r){const e=o?.deref?.()??o;null!=e&&r(e,l)&&(l=e,0!==i&&i--);o="object"==typeof l&&null!==l||"function"==typeof l?new j(l):l}return s.s=z,s.v=l,l}return a.clearCache=()=>{n=F(),a.resetResultsCount()},a.resultsCount=()=>i,a.resetResultsCount=()=>{i=0},a}function H(e,...t){const n="function"==typeof e?{memoize:e,memoizeOptions:t}:e,r=(...e)=>{let t,r=0,o=0,i={},a=e.pop();"object"==typeof a&&(i=a,a=e.pop()),u(a,`createSelector expects an output function after the inputs, but received: [${typeof a}]`);const s={...n,...i},{memoize:l,memoizeOptions:c=[],argsMemoize:f=B,argsMemoizeOptions:h=[],devModeChecks:m={}}=s,g=d(c),v=d(h),y=p(e),b=l((function(){return r++,a.apply(null,arguments)}),...g);const x=f((function(){o++;const e=function(e,t){const n=[],{length:r}=e;for(let o=0;o<r;o++)n.push(e[o].apply(null,t));return n}(y,arguments);return t=b.apply(null,e),t}),...v);return Object.assign(x,{resultFunc:a,memoizedResultFunc:b,dependencies:y,dependencyRecomputations:()=>o,resetDependencyRecomputations:()=>{o=0},lastResult:()=>t,recomputations:()=>r,resetRecomputations:()=>{r=0},memoize:l,argsMemoize:f})};return Object.assign(r,{withTypes:()=>r}),r}var V=H(B),W=Object.assign(((e,t=V)=>{!function(e,t="expected an object, instead received "+typeof e){if("object"!=typeof e)throw new TypeError(t)}(e,"createStructuredSelector expects first argument to be an object where each property is a selector, instead received a "+typeof e);const n=Object.keys(e);return t(n.map((t=>e[t])),((...e)=>e.reduce(((e,t,r)=>(e[n[r]]=t,e)),{})))}),{withTypes:()=>W})},20614:function(e){"use strict";var t=200,n=function(){};n.prototype.append=function(e){return e.length?(e=n.from(e),!this.length&&e||e.length<t&&this.leafAppend(e)||this.length<t&&e.leafPrepend(this)||this.appendInner(e)):this},n.prototype.prepend=function(e){return e.length?n.from(e).append(this):this},n.prototype.appendInner=function(e){return new o(this,e)},n.prototype.slice=function(e,t){return void 0===e&&(e=0),void 0===t&&(t=this.length),e>=t?n.empty:this.sliceInner(Math.max(0,e),Math.min(this.length,t))},n.prototype.get=function(e){if(!(e<0||e>=this.length))return this.getInner(e)},n.prototype.forEach=function(e,t,n){void 0===t&&(t=0),void 0===n&&(n=this.length),t<=n?this.forEachInner(e,t,n,0):this.forEachInvertedInner(e,t,n,0)},n.prototype.map=function(e,t,n){void 0===t&&(t=0),void 0===n&&(n=this.length);var r=[];return this.forEach((function(t,n){return r.push(e(t,n))}),t,n),r},n.from=function(e){return e instanceof n?e:e&&e.length?new r(e):n.empty};var r=function(e){function n(t){e.call(this),this.values=t}e&&(n.__proto__=e),n.prototype=Object.create(e&&e.prototype),n.prototype.constructor=n;var r={length:{configurable:!0},depth:{configurable:!0}};return n.prototype.flatten=function(){return this.values},n.prototype.sliceInner=function(e,t){return 0==e&&t==this.length?this:new n(this.values.slice(e,t))},n.prototype.getInner=function(e){return this.values[e]},n.prototype.forEachInner=function(e,t,n,r){for(var o=t;o<n;o++)if(!1===e(this.values[o],r+o))return!1},n.prototype.forEachInvertedInner=function(e,t,n,r){for(var o=t-1;o>=n;o--)if(!1===e(this.values[o],r+o))return!1},n.prototype.leafAppend=function(e){if(this.length+e.length<=t)return new n(this.values.concat(e.flatten()))},n.prototype.leafPrepend=function(e){if(this.length+e.length<=t)return new n(e.flatten().concat(this.values))},r.length.get=function(){return this.values.length},r.depth.get=function(){return 0},Object.defineProperties(n.prototype,r),n}(n);n.empty=new r([]);var o=function(e){function t(t,n){e.call(this),this.left=t,this.right=n,this.length=t.length+n.length,this.depth=Math.max(t.depth,n.depth)+1}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.flatten=function(){return this.left.flatten().concat(this.right.flatten())},t.prototype.getInner=function(e){return e<this.left.length?this.left.get(e):this.right.get(e-this.left.length)},t.prototype.forEachInner=function(e,t,n,r){var o=this.left.length;return!(t<o&&!1===this.left.forEachInner(e,t,Math.min(n,o),r))&&(!(n>o&&!1===this.right.forEachInner(e,Math.max(t-o,0),Math.min(this.length,n)-o,r+o))&&void 0)},t.prototype.forEachInvertedInner=function(e,t,n,r){var o=this.left.length;return!(t>o&&!1===this.right.forEachInvertedInner(e,t-o,Math.max(n,o)-o,r+o))&&(!(n<o&&!1===this.left.forEachInvertedInner(e,Math.min(t,o),n,r))&&void 0)},t.prototype.sliceInner=function(e,t){if(0==e&&t==this.length)return this;var n=this.left.length;return t<=n?this.left.slice(e,t):e>=n?this.right.slice(e-n,t-n):this.left.slice(e,n).append(this.right.slice(0,t-n))},t.prototype.leafAppend=function(e){var n=this.right.leafAppend(e);if(n)return new t(this.left,n)},t.prototype.leafPrepend=function(e){var n=this.left.leafPrepend(e);if(n)return new t(n,this.right)},t.prototype.appendInner=function(e){return this.left.depth>=Math.max(this.right.depth,e.depth)+1?new t(this.left,new t(this.right,e)):new t(this,e)},t}(n);e.exports=n},76237:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});for(var n={8:"Backspace",9:"Tab",10:"Enter",12:"NumLock",13:"Enter",16:"Shift",17:"Control",18:"Alt",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",44:"PrintScreen",45:"Insert",46:"Delete",59:";",61:"=",91:"Meta",92:"Meta",106:"*",107:"+",108:",",109:"-",110:".",111:"/",144:"NumLock",145:"ScrollLock",160:"Shift",161:"Shift",162:"Control",163:"Control",164:"Alt",165:"Alt",173:"-",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'"},r={48:")",49:"!",50:"@",51:"#",52:"$",53:"%",54:"^",55:"&",56:"*",57:"(",59:":",61:"+",173:"_",186:":",187:"+",188:"<",189:"_",190:">",191:"?",192:"~",219:"{",220:"|",221:"}",222:'"'},o="undefined"!=typeof navigator&&/Mac/.test(navigator.platform),i="undefined"!=typeof navigator&&/MSIE \d|Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(navigator.userAgent),a=0;a<10;a++)n[48+a]=n[96+a]=String(a);for(a=1;a<=24;a++)n[a+111]="F"+a;for(a=65;a<=90;a++)n[a]=String.fromCharCode(a+32),r[a]=String.fromCharCode(a);for(var s in n)r.hasOwnProperty(s)||(r[s]=n[s]);t.base=n,t.keyName=function(e){var t=!(o&&e.metaKey&&e.shiftKey&&!e.ctrlKey&&!e.altKey||i&&e.shiftKey&&e.key&&1==e.key.length||"Unidentified"==e.key)&&e.key||(e.shiftKey?r:n)[e.keyCode]||e.key||"Unidentified";return"Esc"==t&&(t="Escape"),"Del"==t&&(t="Delete"),"Left"==t&&(t="ArrowLeft"),"Up"==t&&(t="ArrowUp"),"Right"==t&&(t="ArrowRight"),"Down"==t&&(t="ArrowDown"),t},t.shift=r},9417:function(e,t,n){"use strict";function r(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}n.d(t,{A:function(){return r}})},58168:function(e,t,n){"use strict";function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},r.apply(null,arguments)}n.d(t,{A:function(){return r}})},25540:function(e,t,n){"use strict";function r(e,t){return r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},r(e,t)}function o(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,r(e,t)}n.d(t,{A:function(){return o}})},98587:function(e,t,n){"use strict";function r(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.includes(r))continue;n[r]=e[r]}return n}n.d(t,{A:function(){return r}})},59526:function(e,t,n){"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function o(e){var t=function(e,t){if("object"!=r(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=r(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==r(t)?t:t+""}n.d(t,{A:function(){return o}})},34164:function(e,t,n){"use strict";function r(e){var t,n,o="";if("string"==typeof e||"number"==typeof e)o+=e;else if("object"==typeof e)if(Array.isArray(e)){var i=e.length;for(t=0;t<i;t++)e[t]&&(n=r(e[t]))&&(o&&(o+=" "),o+=n)}else for(n in e)e[n]&&(o&&(o+=" "),o+=n);return o}t.A=function(){for(var e,t,n=0,o="",i=arguments.length;n<i;n++)(e=arguments[n])&&(t=r(e))&&(o&&(o+=" "),o+=t);return o}},71163:function(e,t,n){"use strict";n.r(t),n.d(t,{GroupedVirtuoso:function(){return mn},LogLevel:function(){return K},TableVirtuoso:function(){return ir},Virtuoso:function(){return hn},VirtuosoGrid:function(){return Wn},VirtuosoGridMockContext:function(){return zt},VirtuosoMockContext:function(){return $t}});var r=n(74848),o=n(96540),i=n(40961);const a=0,s=1,l=2,c=4;function u(e,t){return n=>e(t(n))}function d(e,t){return t(e)}function p(e,t){return n=>e(t,n)}function f(e,t){return()=>e(t)}function h(e,t){return t(e),e}function m(...e){return e}function g(e){e()}function v(e){return()=>e}function y(e){return void 0!==e}function b(){}function x(e,t){return e(s,t)}function w(e,t){e(a,t)}function A(e){e(l)}function _(e){return e(c)}function S(e,t){return x(e,p(t,a))}function k(e,t){const n=e(s,(e=>{n(),t(e)}));return n}function C(){const e=[];return(t,n)=>{switch(t){case l:return void e.splice(0,e.length);case s:return e.push(n),()=>{const t=e.indexOf(n);t>-1&&e.splice(t,1)};case a:return void e.slice().forEach((e=>{e(n)}));default:throw new Error(`unrecognized action ${t}`)}}}function T(e){let t=e;const n=C();return(e,r)=>{switch(e){case s:r(t);break;case a:t=r;break;case c:return t}return n(e,r)}}function M(e){return h(C(),(t=>S(e,t)))}function P(e,t){return h(T(t),(t=>S(e,t)))}function O(e,...t){const n=function(...e){return t=>e.reduceRight(d,t)}(...t);return(t,r)=>{switch(t){case s:return x(e,n(r));case l:return void A(e)}}}function E(e,t){return e===t}function D(e=E){let t;return n=>r=>{e(t,r)||(t=r,n(r))}}function R(e){return t=>n=>{e(n)&&t(n)}}function I(e){return t=>u(t,e)}function N(e){return t=>()=>t(e)}function L(e,t){return n=>r=>n(t=e(t,r))}function j(e){return t=>n=>{e>0?e--:t(n)}}function $(e){let t,n=null;return r=>o=>{n=o,t||(t=setTimeout((()=>{t=void 0,r(n)}),e))}}function z(e){let t,n;return r=>o=>{t=o,n&&clearTimeout(n),n=setTimeout((()=>{r(t)}),e)}}function F(...e){const t=new Array(e.length);let n=0,r=null;const o=Math.pow(2,e.length)-1;return e.forEach(((e,i)=>{const a=Math.pow(2,i);x(e,(e=>{const s=n;n|=a,t[i]=e,s!==o&&n===o&&r&&(r(),r=null)}))})),e=>i=>{const a=()=>e([i].concat(t));n===o?a():r=a}}function B(...e){return function(t,n){switch(t){case s:return function(...e){return()=>{e.map(g)}}(...e.map((e=>x(e,n))));case l:return;default:throw new Error(`unrecognized action ${t}`)}}}function H(e,t=E){return O(e,D(t))}function V(...e){const t=C(),n=new Array(e.length);let r=0;const o=Math.pow(2,e.length)-1;return e.forEach(((e,i)=>{const a=Math.pow(2,i);x(e,(e=>{n[i]=e,r|=a,r===o&&w(t,n)}))})),function(e,i){switch(e){case s:return r===o&&i(n),x(t,i);case l:return A(t);default:throw new Error(`unrecognized action ${e}`)}}}function W(e,t=[],{singleton:n}={singleton:!0}){return{id:U(),constructor:e,dependencies:t,singleton:n}}const U=()=>Symbol();function q(e,t){const n={},r={};let o=0;const i=e.length;for(;o<i;)r[e[o]]=1,o+=1;for(const e in t)r.hasOwnProperty(e)||(n[e]=t[e]);return n}const G="undefined"!=typeof document?o.useLayoutEffect:o.useEffect;function Y(e,t,n){const i=Object.keys(t.required||{}),a=Object.keys(t.optional||{}),c=Object.keys(t.methods||{}),u=Object.keys(t.events||{}),d=o.createContext({});function m(e,n){e.propsReady&&w(e.propsReady,!1);for(const r of i){w(e[t.required[r]],n[r])}for(const r of a)if(r in n){w(e[t.optional[r]],n[r])}e.propsReady&&w(e.propsReady,!0)}function g(e){return u.reduce(((n,r)=>(n[r]=function(e){let t,n;const r=()=>t&&t();return function(o,i){switch(o){case s:if(i){if(n===i)return;return r(),n=i,t=x(e,i),t}return r(),b;case l:return r(),void(n=null);default:throw new Error(`unrecognized action ${o}`)}}}(e[t.events[r]]),n)),{})}const y=o.forwardRef(((s,l)=>{const{children:p,...y}=s,[b]=o.useState((()=>h(function(e){const t=new Map,n=({id:e,constructor:r,dependencies:o,singleton:i})=>{if(i&&t.has(e))return t.get(e);const a=r(o.map((e=>n(e))));return i&&t.set(e,a),a};return n(e)}(e),(e=>m(e,y))))),[_]=o.useState(f(g,b));G((()=>{for(const e of u)e in y&&x(_[e],y[e]);return()=>{Object.values(_).map(A)}}),[y,_,b]),G((()=>{m(b,y)})),o.useImperativeHandle(l,v(function(e){return c.reduce(((n,r)=>(n[r]=n=>{w(e[t.methods[r]],n)},n)),{})}(b)));const S=n;return(0,r.jsx)(d.Provider,{value:b,children:n?(0,r.jsx)(S,{...q([...i,...a,...u],y),children:p}):p})}));return{Component:y,usePublisher:e=>o.useCallback(p(w,o.useContext(d)[e]),[e]),useEmitterValue:o.version.startsWith("18")?e=>{const t=o.useContext(d)[e],n=o.useCallback((e=>x(t,e)),[t]);return o.useSyncExternalStore(n,(()=>_(t)),(()=>_(t)))}:e=>{const t=o.useContext(d)[e],[n,r]=o.useState(f(_,t));return G((()=>x(t,(e=>{e!==n&&r(v(e))}))),[t,n]),n},useEmitter:(e,t)=>{const n=o.useContext(d)[e];G((()=>x(n,t)),[t,n])}}}const X="undefined"!=typeof document?o.useLayoutEffect:o.useEffect;var K=(e=>(e[e.DEBUG=0]="DEBUG",e[e.INFO=1]="INFO",e[e.WARN=2]="WARN",e[e.ERROR=3]="ERROR",e))(K||{});const Z={0:"debug",1:"log",2:"warn",3:"error"},J=W((()=>{const e=T(3);return{log:T(((t,n,r=1)=>{var o;r>=(null!=(o=("undefined"==typeof globalThis?window:globalThis).VIRTUOSO_LOG_LEVEL)?o:_(e))&&console[Z[r]]("%creact-virtuoso: %c%s %o","color: #0253b3; font-weight: bold","color: initial",t,n)})),logLevel:e}}),[],{singleton:!0});function Q(e,t,n){const r=o.useRef(null);let i=e=>{};if("undefined"!=typeof ResizeObserver){const a=o.useMemo((()=>new ResizeObserver((t=>{const r=()=>{const n=t[0].target;null!==n.offsetParent&&e(n)};n?r():requestAnimationFrame(r)}))),[e]);i=e=>{e&&t?(a.observe(e),r.current=e):(r.current&&a.unobserve(r.current),r.current=null)}}return{ref:r,callbackRef:i}}function ee(e,t,n){return Q(e,t,n).callbackRef}function te(e,t,n,r,i,a,s,l,c){const u=o.useCallback((n=>{const o=function(e,t,n,r){const o=e.length;if(0===o)return null;const i=[];for(let a=0;a<o;a++){const o=e.item(a);if(!o||void 0===o.dataset.index)continue;const s=parseInt(o.dataset.index),l=parseFloat(o.dataset.knownSize),c=t(o,n);if(0===c&&r("Zero-sized element, this should not happen",{child:o},K.ERROR),c===l)continue;const u=i[i.length-1];0===i.length||u.size!==c||u.endIndex!==s-1?i.push({startIndex:s,endIndex:s,size:c}):i[i.length-1].endIndex++}return i}(n.children,t,l?"offsetWidth":"offsetHeight",i);let c=n.parentElement;for(;!c.dataset.virtuosoScroller;)c=c.parentElement;const u="window"===c.lastElementChild.dataset.viewportType,d=s?l?s.scrollLeft:s.scrollTop:u?l?window.pageXOffset||document.documentElement.scrollLeft:window.pageYOffset||document.documentElement.scrollTop:l?c.scrollLeft:c.scrollTop,p=s?l?s.scrollWidth:s.scrollHeight:u?l?document.documentElement.scrollWidth:document.documentElement.scrollHeight:l?c.scrollWidth:c.scrollHeight,f=s?l?s.offsetWidth:s.offsetHeight:u?l?window.innerWidth:window.innerHeight:l?c.offsetWidth:c.offsetHeight;r({scrollTop:Math.max(d,0),scrollHeight:p,viewportHeight:f}),null==a||a(l?ne("column-gap",getComputedStyle(n).columnGap,i):ne("row-gap",getComputedStyle(n).rowGap,i)),null!==o&&e(o)}),[e,t,i,a,s,r]);return Q(u,n,c)}function ne(e,t,n){return"normal"===t||(null==t?void 0:t.endsWith("px"))||n(`${e} was not resolved to pixel value correctly`,t,K.WARN),"normal"===t?0:parseInt(null!=t?t:"0",10)}function re(e,t){return Math.round(e.getBoundingClientRect()[t])}function oe(e,t){return Math.abs(e-t)<1.01}function ie(e,t,n,r=b,a,s){const l=o.useRef(null),c=o.useRef(null),u=o.useRef(null),d=o.useCallback((n=>{const r=n.target,o=r===window||r===document,a=s?o?window.pageXOffset||document.documentElement.scrollLeft:r.scrollLeft:o?window.pageYOffset||document.documentElement.scrollTop:r.scrollTop,l=s?o?document.documentElement.scrollWidth:r.scrollWidth:o?document.documentElement.scrollHeight:r.scrollHeight,d=s?o?window.innerWidth:r.offsetWidth:o?window.innerHeight:r.offsetHeight,p=()=>{e({scrollTop:Math.max(a,0),scrollHeight:l,viewportHeight:d})};n.suppressFlushSync?p():i.flushSync(p),null!==c.current&&(a===c.current||a<=0||a===l-d)&&(c.current=null,t(!0),u.current&&(clearTimeout(u.current),u.current=null))}),[e,t]);return o.useEffect((()=>{const e=a||l.current;return r(a||l.current),d({target:e,suppressFlushSync:!0}),e.addEventListener("scroll",d,{passive:!0}),()=>{r(null),e.removeEventListener("scroll",d)}}),[l,d,n,r,a]),{scrollerRef:l,scrollByCallback:function(e){s&&(e={left:e.top,behavior:e.behavior}),l.current.scrollBy(e)},scrollToCallback:function(n){const r=l.current;if(!r||(s?"offsetWidth"in r&&0===r.offsetWidth:"offsetHeight"in r&&0===r.offsetHeight))return;const o="smooth"===n.behavior;let i,a,d;r===window?(a=Math.max(re(document.documentElement,s?"width":"height"),s?document.documentElement.scrollWidth:document.documentElement.scrollHeight),i=s?window.innerWidth:window.innerHeight,d=s?document.documentElement.scrollLeft:document.documentElement.scrollTop):(a=r[s?"scrollWidth":"scrollHeight"],i=re(r,s?"width":"height"),d=r[s?"scrollLeft":"scrollTop"]);const p=a-i;if(n.top=Math.ceil(Math.max(Math.min(p,n.top),0)),oe(i,a)||n.top===d)return e({scrollTop:d,scrollHeight:a,viewportHeight:i}),void(o&&t(!0));o?(c.current=n.top,u.current&&clearTimeout(u.current),u.current=setTimeout((()=>{u.current=null,c.current=null,t(!0)}),1e3)):c.current=null,s&&(n={left:n.top,behavior:n.behavior}),r.scrollTo(n)}}}const ae=W((()=>{const e=C(),t=C(),n=T(0),r=C(),o=T(0),i=C(),a=C(),s=T(0),l=T(0),c=T(0),u=T(0),d=C(),p=C(),f=T(!1),h=T(!1),m=T(!1);return S(O(e,I((({scrollTop:e})=>e))),t),S(O(e,I((({scrollHeight:e})=>e))),a),S(t,o),{scrollContainerState:e,scrollTop:t,viewportHeight:i,headerHeight:s,fixedHeaderHeight:l,fixedFooterHeight:c,footerHeight:u,scrollHeight:a,smoothScrollTargetReached:r,horizontalDirection:h,skipAnimationFrameInResizeObserver:m,scrollTo:d,scrollBy:p,statefulScrollTop:o,deviation:n,scrollingInProgress:f}}),[],{singleton:!0}),se={lvl:0};function le(e,t,n,r=se,o=se){return{k:e,v:t,lvl:n,l:r,r:o}}function ce(e){return e===se}function ue(){return se}function de(e,t){if(ce(e))return se;const{k:n,l:r,r:o}=e;if(t===n){if(ce(r))return o;if(ce(o))return r;{const[t,n]=ve(r);return Ae(be(e,{k:t,v:n,l:ye(r)}))}}return Ae(be(e,t<n?{l:de(r,t)}:{r:de(o,t)}))}function pe(e,t){if(!ce(e))return t===e.k?e.v:t<e.k?pe(e.l,t):pe(e.r,t)}function fe(e,t,n="k"){if(ce(e))return[-1/0,void 0];if(Number(e[n])===t)return[e.k,e.v];if(Number(e[n])<t){const r=fe(e.r,t,n);return r[0]===-1/0?[e.k,e.v]:r}return fe(e.l,t,n)}function he(e,t,n){return ce(e)?le(t,n,1):t===e.k?be(e,{k:t,v:n}):t<e.k?we(be(e,{l:he(e.l,t,n)})):we(be(e,{r:he(e.r,t,n)}))}function me(e,t,n){if(ce(e))return[];const{k:r,v:o,l:i,r:a}=e;let s=[];return r>t&&(s=s.concat(me(i,t,n))),r>=t&&r<=n&&s.push({k:r,v:o}),r<=n&&(s=s.concat(me(a,t,n))),s}function ge(e){return ce(e)?[]:[...ge(e.l),{k:e.k,v:e.v},...ge(e.r)]}function ve(e){return ce(e.r)?[e.k,e.v]:ve(e.r)}function ye(e){return ce(e.r)?e.l:Ae(be(e,{r:ye(e.r)}))}function be(e,t){return le(void 0!==t.k?t.k:e.k,void 0!==t.v?t.v:e.v,void 0!==t.lvl?t.lvl:e.lvl,void 0!==t.l?t.l:e.l,void 0!==t.r?t.r:e.r)}function xe(e){return ce(e)||e.lvl>e.r.lvl}function we(e){return ke(Ce(e))}function Ae(e){const{l:t,r:n,lvl:r}=e;if(n.lvl>=r-1&&t.lvl>=r-1)return e;if(r>n.lvl+1){if(xe(t))return Ce(be(e,{lvl:r-1}));if(ce(t)||ce(t.r))throw new Error("Unexpected empty nodes");return be(t.r,{l:be(t,{r:t.r.l}),r:be(e,{l:t.r.r,lvl:r-1}),lvl:r})}if(xe(e))return ke(be(e,{lvl:r-1}));if(ce(n)||ce(n.l))throw new Error("Unexpected empty nodes");{const t=n.l,o=xe(t)?n.lvl-1:n.lvl;return be(t,{l:be(e,{r:t.l,lvl:r-1}),r:ke(be(n,{l:t.r,lvl:o})),lvl:t.lvl+1})}}function _e(e,t,n){if(ce(e))return[];const r=fe(e,t)[0];return Se(me(e,r,n),(({k:e,v:t})=>({index:e,value:t})))}function Se(e,t){const n=e.length;if(0===n)return[];let{index:r,value:o}=t(e[0]);const i=[];for(let a=1;a<n;a++){const{index:n,value:s}=t(e[a]);i.push({start:r,end:n-1,value:o}),r=n,o=s}return i.push({start:r,end:1/0,value:o}),i}function ke(e){const{r:t,lvl:n}=e;return ce(t)||ce(t.r)||t.lvl!==n||t.r.lvl!==n?e:be(t,{l:be(e,{r:t.l}),lvl:n+1})}function Ce(e){const{l:t}=e;return ce(t)||t.lvl!==e.lvl?e:be(t,{r:be(e,{l:t.r})})}function Te(e,t,n,r=0){let o=e.length-1;for(;r<=o;){const i=Math.floor((r+o)/2),a=n(e[i],t);if(0===a)return i;if(-1===a){if(o-r<2)return i-1;o=i-1}else{if(o===r)return i;r=i+1}}throw new Error(`Failed binary finding record in array - ${e.join(",")}, searched for ${t}`)}function Me(e,t,n){return e[Te(e,t,n)]}const Pe=W((()=>({recalcInProgress:T(!1)})),[],{singleton:!0});function Oe(e){const{size:t,startIndex:n,endIndex:r}=e;return e=>e.start===n&&(e.end===r||e.end===1/0)&&e.value===t}function Ee(e,t){let n=0,r=0;for(;n<e;)n+=t[r+1]-t[r]-1,r++;return r-(n===e?0:1)}function De({index:e},t){return t===e?0:t<e?-1:1}function Re({offset:e},t){return t===e?0:t<e?-1:1}function Ie(e){return{index:e.index,value:e}}function Ne(e,t,n,r=0){return r>0&&(t=Math.max(t,Me(e,r,De).offset)),Se(function(e,t,n,r){const o=Te(e,t,r),i=Te(e,n,r,o);return e.slice(o,i+1)}(e,t,n,Re),Ie)}function Le(e,t,n,r){let o=e,i=0,a=0,s=0,l=0;if(0!==t){l=Te(o,t-1,De);s=o[l].offset;const e=fe(n,t-1);i=e[0],a=e[1],o.length&&o[l].size===fe(n,t)[1]&&(l-=1),o=o.slice(0,l+1)}else o=[];for(const{start:e,value:l}of _e(n,t,1/0)){const t=e-i,n=t*a+s+t*r;o.push({offset:n,size:l,index:e}),i=e,s=n,a=l}return{offsetTree:o,lastIndex:i,lastOffset:s,lastSize:a}}function je(e,[t,n,r,o]){t.length>0&&r("received item sizes",t,K.DEBUG);const i=e.sizeTree;let a=i,s=0;if(n.length>0&&ce(i)&&2===t.length){const e=t[0].size,r=t[1].size;a=n.reduce(((t,n)=>he(he(t,n,e),n+1,r)),a)}else[a,s]=function(e,t){let n=ce(e)?0:1/0;for(const r of t){const{size:t,startIndex:o,endIndex:i}=r;if(n=Math.min(n,o),ce(e)){e=he(e,0,t);continue}const a=_e(e,o-1,i+1);if(a.some(Oe(r)))continue;let s=!1,l=!1;for(const{start:n,end:r,value:o}of a)s?(i>=n||t===o)&&(e=de(e,n)):(l=o!==t,s=!0),r>i&&i>=n&&o!==t&&(e=he(e,i+1,o));l&&(e=he(e,o,t))}return[e,n]}(a,t);if(a===i)return e;const{offsetTree:l,lastIndex:c,lastSize:u,lastOffset:d}=Le(e.offsetTree,s,a,o);return{sizeTree:a,offsetTree:l,lastIndex:c,lastOffset:d,lastSize:u,groupOffsetTree:n.reduce(((e,t)=>he(e,t,$e(t,l,o))),ue()),groupIndices:n}}function $e(e,t,n){if(0===t.length)return 0;const{offset:r,index:o,size:i}=Me(t,e,De),a=e-o,s=i*a+(a-1)*n+r;return s>0?s+n:s}function ze(e,t,n){if(function(e){return void 0!==e.groupIndex}(e))return t.groupIndices[e.groupIndex]+1;{let r=Fe("LAST"===e.index?n:e.index,t);return r=Math.max(0,r,Math.min(n,r)),r}}function Fe(e,t){if(!Be(t))return e;let n=0;for(;t.groupIndices[n]<=e+n;)n++;return e+n}function Be(e){return!ce(e.groupOffsetTree)}const He={offsetHeight:"height",offsetWidth:"width"},Ve=W((([{log:e},{recalcInProgress:t}])=>{const n=C(),r=C(),o=P(r,0),i=C(),a=C(),s=T(0),l=T([]),c=T(void 0),u=T(void 0),d=T(((e,t)=>re(e,He[t]))),p=T(void 0),f=T(0),h={offsetTree:[],sizeTree:ue(),groupOffsetTree:ue(),lastIndex:0,lastOffset:0,lastSize:0,groupIndices:[]},m=P(O(n,F(l,e,f),L(je,h),D()),h),g=P(O(l,D(),L(((e,t)=>({prev:e.current,current:t})),{prev:[],current:[]}),I((({prev:e})=>e))),[]);S(O(l,R((e=>e.length>0)),F(m,f),I((([e,t,n])=>{const r=e.reduce(((e,r,o)=>he(e,r,$e(r,t.offsetTree,n)||o)),ue());return{...t,groupIndices:e,groupOffsetTree:r}}))),m),S(O(r,F(m),R((([e,{lastIndex:t}])=>e<t)),I((([e,{lastIndex:t,lastSize:n}])=>[{startIndex:e,endIndex:t,size:n}]))),n),S(c,u);const v=P(O(c,I((e=>void 0===e))),!0);S(O(u,R((e=>void 0!==e&&ce(_(m).sizeTree))),I((e=>[{startIndex:0,endIndex:0,size:e}]))),n);const y=M(O(n,F(m),L((({sizes:e},[t,n])=>({changed:n!==e,sizes:n})),{changed:!1,sizes:h}),I((e=>e.changed))));x(O(s,L(((e,t)=>({diff:e.prev-t,prev:t})),{diff:0,prev:0}),I((e=>e.diff))),(e=>{const{groupIndices:n}=_(m);if(e>0)w(t,!0),w(i,e+Ee(e,n));else if(e<0){const t=_(g);t.length>0&&(e-=Ee(-e,t)),w(a,e)}})),x(O(s,F(e)),(([e,t])=>{e<0&&t("`firstItemIndex` prop should not be set to less than zero. If you don't know the total count, just use a very high value",{firstItemIndex:s},K.ERROR)}));const b=M(i);S(O(i,F(m),I((([e,t])=>{const n=t.groupIndices.length>0,r=[],o=t.lastSize;if(n){const n=pe(t.sizeTree,0);let i=0,a=0;for(;i<e;){const e=t.groupIndices[a],s=t.groupIndices.length===a+1?1/0:t.groupIndices[a+1]-e-1;r.push({startIndex:e,endIndex:e,size:n}),r.push({startIndex:e+1,endIndex:e+1+s-1,size:o}),a++,i+=s+1}const s=ge(t.sizeTree);return i!==e&&s.shift(),s.reduce(((t,{k:n,v:r})=>{let o=t.ranges;return 0!==t.prevSize&&(o=[...t.ranges,{startIndex:t.prevIndex,endIndex:n+e-1,size:t.prevSize}]),{ranges:o,prevIndex:n+e,prevSize:r}}),{ranges:r,prevIndex:e,prevSize:0}).ranges}return ge(t.sizeTree).reduce(((t,{k:n,v:r})=>({ranges:[...t.ranges,{startIndex:t.prevIndex,endIndex:n+e-1,size:t.prevSize}],prevIndex:n+e,prevSize:r})),{ranges:[],prevIndex:0,prevSize:o}).ranges}))),n);const A=M(O(a,F(m,f),I((([e,{offsetTree:t},n])=>$e(-e,t,n)))));return S(O(a,F(m,f),I((([e,t,n])=>{if(t.groupIndices.length>0){if(ce(t.sizeTree))return t;let r=ue();const o=_(g);let i=0,a=0,s=0;for(;i<-e;){s=o[a];const e=o[a+1]-s-1;a++,i+=e+1}r=ge(t.sizeTree).reduce(((t,{k:n,v:r})=>he(t,Math.max(0,n+e),r)),r);if(i!==-e){r=he(r,0,pe(t.sizeTree,s));r=he(r,1,fe(t.sizeTree,1-e)[1])}return{...t,sizeTree:r,...Le(t.offsetTree,0,r,n)}}{const r=ge(t.sizeTree).reduce(((t,{k:n,v:r})=>he(t,Math.max(0,n+e),r)),ue());return{...t,sizeTree:r,...Le(t.offsetTree,0,r,n)}}}))),m),{data:p,totalCount:r,sizeRanges:n,groupIndices:l,defaultItemSize:u,fixedItemSize:c,unshiftWith:i,shiftWith:a,shiftWithOffset:A,beforeUnshiftWith:b,firstItemIndex:s,gap:f,sizes:m,listRefresh:y,statefulTotalCount:o,trackItemSizes:v,itemSize:d}}),m(J,Pe),{singleton:!0}),We="undefined"!=typeof document&&"scrollBehavior"in document.documentElement.style;function Ue(e){const t="number"==typeof e?{index:e}:e;return t.align||(t.align="start"),t.behavior&&We||(t.behavior="auto"),t.offset||(t.offset=0),t}const qe=W((([{sizes:e,totalCount:t,listRefresh:n,gap:r},{scrollingInProgress:o,viewportHeight:i,scrollTo:a,smoothScrollTargetReached:s,headerHeight:l,footerHeight:c,fixedHeaderHeight:u,fixedFooterHeight:d},{log:p}])=>{const f=C(),h=C(),m=T(0);let g=null,v=null,y=null;function b(){g&&(g(),g=null),y&&(y(),y=null),v&&(clearTimeout(v),v=null),w(o,!1)}return S(O(f,F(e,i,t,m,l,c,p),F(r,u,d),I((([[e,t,r,i,a,l,c,u],d,p,m])=>{const A=Ue(e),{align:_,behavior:S,offset:C}=A,T=i-1,M=ze(A,t,T);let P=$e(M,t.offsetTree,d)+l;"end"===_?(P+=p+fe(t.sizeTree,M)[1]-r+m,M===T&&(P+=c)):"center"===_?P+=(p+fe(t.sizeTree,M)[1]-r+m)/2:P-=a,C&&(P+=C);const E=t=>{b(),t?(u("retrying to scroll to",{location:e},K.DEBUG),w(f,e)):(w(h,!0),u("list did not change, scroll successful",{},K.DEBUG))};if(b(),"smooth"===S){let e=!1;y=x(n,(t=>{e=e||t})),g=k(s,(()=>{E(e)}))}else g=k(O(n,(D=150,e=>{const t=setTimeout((()=>{e(!1)}),D);return n=>{n&&(e(!0),clearTimeout(t))}})),E);var D;return v=setTimeout((()=>{b()}),1200),w(o,!0),u("scrolling from index to",{index:M,top:P,behavior:S},K.DEBUG),{top:P,behavior:S}}))),a),{scrollToIndex:f,scrollTargetReached:h,topListHeight:m}}),m(Ve,ae,J),{singleton:!0});const Ge="up",Ye="down",Xe={atBottom:!1,notAtBottomBecause:"NOT_SHOWING_LAST_ITEM",state:{offsetBottom:0,scrollTop:0,viewportHeight:0,scrollHeight:0}},Ke=W((([{scrollContainerState:e,scrollTop:t,viewportHeight:n,headerHeight:r,footerHeight:o,scrollBy:i}])=>{const a=T(!1),s=T(!0),l=C(),c=C(),u=T(4),d=T(0),p=P(O(B(O(H(t),j(1),N(!0)),O(H(t),j(1),N(!1),z(100))),D()),!1),f=P(O(B(O(i,N(!0)),O(i,N(!1),z(200))),D()),!1);S(O(V(H(t),H(d)),I((([e,t])=>e<=t)),D()),s),S(O(s,$(50)),c);const h=M(O(V(e,H(n),H(r),H(o),H(u)),L(((e,[{scrollTop:t,scrollHeight:n},r,o,i,a])=>{const s={viewportHeight:r,scrollTop:t,scrollHeight:n};if(t+r-n>-a){let n,r;return t>e.state.scrollTop?(n="SCROLLED_DOWN",r=e.state.scrollTop-t):(n="SIZE_DECREASED",r=e.state.scrollTop-t||e.scrollTopDelta),{atBottom:!0,state:s,atBottomBecause:n,scrollTopDelta:r}}let l;return l=s.scrollHeight>e.state.scrollHeight?"SIZE_INCREASED":r<e.state.viewportHeight?"VIEWPORT_HEIGHT_DECREASING":t<e.state.scrollTop?"SCROLLING_UPWARDS":"NOT_FULLY_SCROLLED_TO_LAST_ITEM_BOTTOM",{atBottom:!1,notAtBottomBecause:l,state:s}}),Xe),D(((e,t)=>e&&e.atBottom===t.atBottom)))),m=P(O(e,L(((e,{scrollTop:t,scrollHeight:n,viewportHeight:r})=>{if(oe(e.scrollHeight,n))return{scrollTop:t,scrollHeight:n,jump:0,changed:!1};{const o=n-(t+r)<1;return e.scrollTop!==t&&o?{scrollHeight:n,scrollTop:t,jump:e.scrollTop-t,changed:!0}:{scrollHeight:n,scrollTop:t,jump:0,changed:!0}}}),{scrollHeight:0,jump:0,scrollTop:0,changed:!1}),R((e=>e.changed)),I((e=>e.jump))),0);S(O(h,I((e=>e.atBottom))),a),S(O(a,$(50)),l);const g=T(Ye);S(O(e,I((({scrollTop:e})=>e)),D(),L(((e,t)=>_(f)?{direction:e.direction,prevScrollTop:t}:{direction:t<e.prevScrollTop?Ge:Ye,prevScrollTop:t}),{direction:Ye,prevScrollTop:0}),I((e=>e.direction))),g),S(O(e,$(50),N("none")),g);const v=T(0);return S(O(p,R((e=>!e)),N(0)),v),S(O(t,$(100),F(p),R((([e,t])=>!!t)),L((([e,t],[n])=>[t,n]),[0,0]),I((([e,t])=>t-e))),v),{isScrolling:p,isAtTop:s,isAtBottom:a,atBottomState:h,atTopStateChange:c,atBottomStateChange:l,scrollDirection:g,atBottomThreshold:u,atTopThreshold:d,scrollVelocity:v,lastJumpDueToItemResize:m}}),m(ae)),Ze=W((([{log:e}])=>{const t=T(!1),n=M(O(t,R((e=>e)),D()));return x(t,(t=>{t&&_(e)("props updated",{},K.DEBUG)})),{propsReady:t,didMount:n}}),m(J),{singleton:!0});function Je(e,t){0==e?t():requestAnimationFrame((()=>Je(e-1,t)))}function Qe(e,t){const n=t-1;return"number"==typeof e?e:"LAST"===e.index?n:e.index}const et=W((([{sizes:e,listRefresh:t,defaultItemSize:n},{scrollTop:r},{scrollToIndex:o,scrollTargetReached:i},{didMount:a}])=>{const s=T(!0),l=T(0),c=T(!0);return S(O(a,F(l),R((([e,t])=>!!t)),N(!1)),s),S(O(a,F(l),R((([e,t])=>!!t)),N(!1)),c),x(O(V(t,a),F(s,e,n,c),R((([[,e],t,{sizeTree:n},r,o])=>e&&(!ce(n)||y(r))&&!t&&!o)),F(l)),(([,e])=>{k(i,(()=>{w(c,!0)})),Je(4,(()=>{k(r,(()=>{w(s,!0)})),w(o,e)}))})),{scrolledToInitialItem:s,initialTopMostItemIndex:l,initialItemFinalLocationReached:c}}),m(Ve,ae,qe,Ze),{singleton:!0});function tt(e){return!!e&&("smooth"===e?"smooth":"auto")}const nt=W((([{totalCount:e,listRefresh:t},{isAtBottom:n,atBottomState:r},{scrollToIndex:o},{scrolledToInitialItem:i},{propsReady:a,didMount:s},{log:l},{scrollingInProgress:c}])=>{const u=T(!1),d=C();let p=null;function f(e){w(o,{index:"LAST",align:"end",behavior:e})}function h(e){const t=k(r,(t=>{!e||t.atBottom||"SIZE_INCREASED"!==t.notAtBottomBecause||p||(_(l)("scrolling to bottom due to increased size",{},K.DEBUG),f("auto"))}));setTimeout(t,100)}return x(O(V(O(H(e),j(1)),s),F(H(u),n,i,c),I((([[e,t],n,r,o,i])=>{let a=t&&o,s="auto";return a&&(s=((e,t)=>"function"==typeof e?tt(e(t)):t&&tt(e))(n,r||i),a=a&&!!s),{totalCount:e,shouldFollow:a,followOutputBehavior:s}})),R((({shouldFollow:e})=>e))),(({totalCount:e,followOutputBehavior:n})=>{p&&(p(),p=null),p=k(t,(()=>{_(l)("following output to ",{totalCount:e},K.DEBUG),f(n),p=null}))})),x(O(V(H(u),e,a),R((([e,,t])=>e&&t)),L((({value:e},[,t])=>({refreshed:e===t,value:t})),{refreshed:!1,value:0}),R((({refreshed:e})=>e)),F(u,e)),(([,e])=>{_(i)&&h(!1!==e)})),x(d,(()=>{h(!1!==_(u))})),x(V(H(u),r),(([e,t])=>{e&&!t.atBottom&&"VIEWPORT_HEIGHT_DECREASING"===t.notAtBottomBecause&&f("auto")})),{followOutput:u,autoscrollToBottom:d}}),m(Ve,Ke,qe,et,Ze,J,ae));function rt(e){return e.reduce(((e,t)=>(e.groupIndices.push(e.totalCount),e.totalCount+=t+1,e)),{totalCount:0,groupIndices:[]})}const ot=W((([{totalCount:e,groupIndices:t,sizes:n},{scrollTop:r,headerHeight:o}])=>{const i=C(),a=C(),s=M(O(i,I(rt)));return S(O(s,I((e=>e.totalCount))),e),S(O(s,I((e=>e.groupIndices))),t),S(O(V(r,n,o),R((([e,t])=>Be(t))),I((([e,t,n])=>fe(t.groupOffsetTree,Math.max(e-n,0),"v")[0])),D(),I((e=>[e]))),a),{groupCounts:i,topItemsIndexes:a}}),m(Ve,ae));function it(e,t){return!(!e||e[0]!==t[0]||e[1]!==t[1])}function at(e,t){return!(!e||e.startIndex!==t.startIndex||e.endIndex!==t.endIndex)}const st="top",lt="bottom",ct="none";function ut(e,t,n){return"number"==typeof e?n===Ge&&t===st||n===Ye&&t===lt?e:0:n===Ge?t===st?e.main:e.reverse:t===lt?e.main:e.reverse}function dt(e,t){return"number"==typeof e?e:e[t]||0}const pt=W((([{scrollTop:e,viewportHeight:t,deviation:n,headerHeight:r,fixedHeaderHeight:o}])=>{const i=C(),a=T(0),s=T(0),l=T(0);return{listBoundary:i,overscan:l,topListHeight:a,increaseViewportBy:s,visibleRange:P(O(V(H(e),H(t),H(r),H(i,it),H(l),H(a),H(o),H(n),H(s)),I((([e,t,n,[r,o],i,a,s,l,c])=>{const u=e-l,d=a+s,p=Math.max(n-u,0);let f=ct;const h=dt(c,st),m=dt(c,lt);return r-=l,o+=n+s,(r+=n+s)>e+d-h&&(f=Ge),(o-=l)<e-p+t+m&&(f=Ye),f!==ct?[Math.max(u-n-ut(i,st,f)-h,0),u-p-s+t+ut(i,lt,f)+m]:null})),R((e=>null!=e)),D(it)),[0,0])}}),m(ae),{singleton:!0});const ft={items:[],topItems:[],offsetTop:0,offsetBottom:0,top:0,bottom:0,topListHeight:0,totalCount:0,firstItemIndex:0};function ht(e,t,n){if(0===e.length)return[];if(!Be(t))return e.map((e=>({...e,index:e.index+n,originalIndex:e.index})));const r=e[0].index,o=e[e.length-1].index,i=[],a=_e(t.groupOffsetTree,r,o);let s,l=0;for(const r of e){let e;(!s||s.end<r.index)&&(s=a.shift(),l=t.groupIndices.indexOf(s.start)),e=r.index===s.start?{type:"group",index:l}:{index:r.index-(l+1)+n,groupIndex:l},i.push({...e,size:r.size,offset:r.offset,originalIndex:r.index,data:r.data})}return i}function mt(e,t,n,r,o,i){const{lastSize:a,lastOffset:s,lastIndex:l}=o;let c=0,u=0;if(e.length>0){c=e[0].offset;const t=e[e.length-1];u=t.offset+t.size}const d=n-l,p=c,f=s+d*a+(d-1)*r-u;return{items:ht(e,o,i),topItems:ht(t,o,i),topListHeight:t.reduce(((e,t)=>t.size+e),0),offsetTop:c,offsetBottom:f,top:p,bottom:u,totalCount:n,firstItemIndex:i}}function gt(e,t,n,r,o,i){let a=0;if(n.groupIndices.length>0)for(const t of n.groupIndices){if(t-a>=e)break;a++}const s=e+a,l=Qe(t,s);return mt(Array.from({length:s}).map(((e,t)=>({index:t+l,size:0,offset:0,data:i[t+l]}))),[],s,o,n,r)}const vt=W((([{sizes:e,totalCount:t,data:n,firstItemIndex:r,gap:o},i,{visibleRange:a,listBoundary:s,topListHeight:l},{scrolledToInitialItem:c,initialTopMostItemIndex:u},{topListHeight:d},p,{didMount:f},{recalcInProgress:m}])=>{const g=T([]),v=T(0),b=C();S(i.topItemsIndexes,g);const x=P(O(V(f,m,H(a,it),H(t),H(e),H(u),c,H(g),H(r),H(o),n),R((([e,t,,n,,,,,,,r])=>{const o=r&&r.length!==n;return e&&!t&&!o})),I((([,,[e,t],n,r,o,i,a,s,l,c])=>{const u=r,{sizeTree:d,offsetTree:p}=u,f=_(v);if(0===n)return{...ft,totalCount:n};if(0===e&&0===t)return 0===f?{...ft,totalCount:n}:gt(f,o,r,s,l,c||[]);if(ce(d)){if(f>0)return null;const e=mt(function(e,t,n){if(Be(t)){const r=Fe(e,t);return[{index:fe(t.groupOffsetTree,r)[0],size:0,offset:0},{index:r,size:0,offset:0,data:n&&n[0]}]}return[{index:e,size:0,offset:0,data:n&&n[0]}]}(Qe(o,n),u,c),[],n,l,u,s);return e}const m=[];if(a.length>0){const e=a[0],t=a[a.length-1];let n=0;for(const r of _e(d,e,t)){const o=r.value,i=Math.max(r.start,e),a=Math.min(r.end,t);for(let e=i;e<=a;e++)m.push({index:e,size:o,offset:n,data:c&&c[e]}),n+=o}}if(!i)return mt([],m,n,l,u,s);const g=a.length>0?a[a.length-1]+1:0,y=Ne(p,e,t,g);if(0===y.length)return null;const b=n-1;return mt(h([],(n=>{for(const r of y){const o=r.value;let i=o.offset,a=r.start;const s=o.size;if(o.offset<e){a+=Math.floor((e-o.offset+l)/(s+l));const t=a-r.start;i+=t*s+t*l}a<g&&(i+=(g-a)*s,a=g);const u=Math.min(r.end,b);for(let e=a;e<=u&&!(i>=t);e++)n.push({index:e,size:s,offset:i,data:c&&c[e]}),i+=s+l}})),m,n,l,u,s)})),R((e=>null!==e)),D()),ft);S(O(n,R(y),I((e=>null==e?void 0:e.length))),t),S(O(x,I((e=>e.topListHeight))),d),S(d,l),S(O(x,I((e=>[e.top,e.bottom]))),s),S(O(x,I((e=>e.items))),b);return{listState:x,topItemsIndexes:g,endReached:M(O(x,R((({items:e})=>e.length>0)),F(t,n),R((([{items:e},t])=>e[e.length-1].originalIndex===t-1)),I((([,e,t])=>[e-1,t])),D(it),I((([e])=>e)))),startReached:M(O(x,$(200),R((({items:e,topItems:t})=>e.length>0&&e[0].originalIndex===t.length)),I((({items:e})=>e[0].index)),D())),rangeChanged:M(O(x,R((({items:e})=>e.length>0)),I((({items:e})=>{let t=0,n=e.length-1;for(;"group"===e[t].type&&t<n;)t++;for(;"group"===e[n].type&&n>t;)n--;return{startIndex:e[t].index,endIndex:e[n].index}})),D(at))),itemsRendered:b,initialItemCount:v,...p}}),m(Ve,ot,pt,et,qe,Ke,Ze,Pe),{singleton:!0}),yt=W((([{sizes:e,firstItemIndex:t,data:n,gap:r},{initialTopMostItemIndex:o},{initialItemCount:i,listState:a},{didMount:s}])=>(S(O(s,F(i),R((([,e])=>0!==e)),F(o,e,t,r,n),I((([[,e],t,n,r,o,i=[]])=>gt(e,t,n,r,o,i)))),a),{})),m(Ve,et,vt,Ze),{singleton:!0}),bt=W((([{scrollVelocity:e}])=>{const t=T(!1),n=C(),r=T(!1);return S(O(e,F(r,t,n),R((([e,t])=>!!t)),I((([e,t,n,r])=>{const{exit:o,enter:i}=t;if(n){if(o(e,r))return!1}else if(i(e,r))return!0;return n})),D()),t),x(O(V(t,e,n),F(r)),(([[e,t,n],r])=>e&&r&&r.change&&r.change(t,n))),{isSeeking:t,scrollSeekConfiguration:r,scrollVelocity:e,scrollSeekRangeChanged:n}}),m(Ke),{singleton:!0}),xt=W((([{topItemsIndexes:e}])=>{const t=T(0);return S(O(t,R((e=>e>0)),I((e=>Array.from({length:e}).map(((e,t)=>t))))),e),{topItemCount:t}}),m(vt)),wt=W((([{footerHeight:e,headerHeight:t,fixedHeaderHeight:n,fixedFooterHeight:r},{listState:o}])=>{const i=C(),a=P(O(V(e,r,t,n,o),I((([e,t,n,r,o])=>e+t+n+r+o.offsetBottom+o.bottom))),0);return S(H(a),i),{totalListHeight:a,totalListHeightChanged:i}}),m(ae,vt),{singleton:!0});function At(e){let t,n=!1;return()=>(n||(n=!0,t=e()),t)}const _t=At((()=>/iP(ad|od|hone)/i.test(navigator.userAgent)&&/WebKit/i.test(navigator.userAgent))),St=W((([{scrollBy:e,scrollTop:t,deviation:n,scrollingInProgress:r},{isScrolling:o,isAtBottom:i,scrollDirection:a,lastJumpDueToItemResize:s},{listState:l},{beforeUnshiftWith:c,shiftWithOffset:u,sizes:d,gap:p},{log:f},{recalcInProgress:h}])=>{const m=M(O(l,F(s),L((([,e,t,n],[{items:r,totalCount:o,bottom:i,offsetBottom:a},s])=>{const l=i+a;let c=0;if(t===o&&e.length>0&&r.length>0){0===r[0].originalIndex&&0===e[0].originalIndex||(c=l-n,0!==c&&(c+=s))}return[c,r,o,l]}),[0,[],0,0]),R((([e])=>0!==e)),F(t,a,r,i,f,h),R((([,e,t,n,,,r])=>!r&&!n&&0!==e&&t===Ge)),I((([[e],,,,,t])=>(t("Upward scrolling compensation",{amount:e},K.DEBUG),e)))));function g(t){t>0?(w(e,{top:-t,behavior:"auto"}),w(n,0)):(w(n,0),w(e,{top:-t,behavior:"auto"}))}return x(O(m,F(n,o)),(([e,t,r])=>{r&&_t()?w(n,t-e):g(-e)})),x(O(V(P(o,!1),n,h),R((([e,t,n])=>!e&&!n&&0!==t)),I((([e,t])=>t)),$(1)),g),S(O(u,I((e=>({top:-e})))),e),x(O(c,F(d,p),I((([e,{lastSize:t,groupIndices:n,sizeTree:r},o])=>{function i(e){return e*(t+o)}if(0===n.length)return i(e);{let t=0;const o=pe(r,0);let a=0,s=0;for(;a<e;){a++,t+=o;let r=n.length===s+1?1/0:n[s+1]-n[s]-1;a+r>e&&(t-=o,r=e-a+1),a+=r,t+=i(r),s++}return t}}))),(t=>{w(n,t),requestAnimationFrame((()=>{w(e,{top:t}),requestAnimationFrame((()=>{w(n,0),w(h,!1)}))}))})),{deviation:n}}),m(ae,Ke,vt,Ve,J,Pe)),kt=W((([{didMount:e},{scrollTo:t},{listState:n}])=>{const r=T(0);return x(O(e,F(r),R((([,e])=>0!==e)),I((([,e])=>({top:e})))),(e=>{k(O(n,j(1),R((e=>e.items.length>1))),(()=>{requestAnimationFrame((()=>{w(t,e)}))}))})),{initialScrollTop:r}}),m(Ze,ae,vt),{singleton:!0}),Ct=W((([{viewportHeight:e},{totalListHeight:t}])=>{const n=T(!1);return{alignToBottom:n,paddingTopAddition:P(O(V(n,e,t),R((([e])=>e)),I((([,e,t])=>Math.max(0,e-t))),$(0),D()),0)}}),m(ae,wt),{singleton:!0}),Tt=W((([{scrollTo:e,scrollContainerState:t}])=>{const n=C(),r=C(),o=C(),i=T(!1),a=T(void 0);return S(O(V(n,r),I((([{viewportHeight:e,scrollTop:t,scrollHeight:n},{offsetTop:r}])=>({scrollTop:Math.max(0,t-r),scrollHeight:n,viewportHeight:e})))),t),S(O(e,F(r),I((([e,{offsetTop:t}])=>({...e,top:e.top+t})))),o),{useWindowScroll:i,customScrollParent:a,windowScrollContainerState:n,windowViewportRect:r,windowScrollTo:o}}),m(ae)),Mt=({itemTop:e,itemBottom:t,viewportTop:n,viewportBottom:r,locationParams:{behavior:o,align:i,...a}})=>e<n?{...a,behavior:o,align:null!=i?i:"start"}:t>r?{...a,behavior:o,align:null!=i?i:"end"}:null,Pt=W((([{sizes:e,totalCount:t,gap:n},{scrollTop:r,viewportHeight:o,headerHeight:i,fixedHeaderHeight:a,fixedFooterHeight:s,scrollingInProgress:l},{scrollToIndex:c}])=>{const u=C();return S(O(u,F(e,o,t,i,a,s,r),F(n),I((([[e,t,n,r,o,i,a,s],c])=>{const{done:u,behavior:d,align:p,calculateViewLocation:f=Mt,...h}=e,m=ze(e,t,r-1),g=$e(m,t.offsetTree,c)+o+i,v=f({itemTop:g,itemBottom:g+fe(t.sizeTree,m)[1],viewportTop:s+i,viewportBottom:s+n-a,locationParams:{behavior:d,align:p,...h}});return v?u&&k(O(l,R((e=>!1===e)),j(_(l)?1:2)),u):u&&u(),v})),R((e=>null!==e))),c),{scrollIntoView:u}}),m(Ve,ae,qe,vt,J),{singleton:!0}),Ot=W((([{sizes:e,sizeRanges:t},{scrollTop:n,headerHeight:r},{initialTopMostItemIndex:o},{didMount:i},{useWindowScroll:a,windowScrollContainerState:s,windowViewportRect:l}])=>{const c=C(),u=T(void 0),d=T(null),p=T(null);return S(s,d),S(l,p),x(O(c,F(e,n,a,d,p,r)),(([e,t,n,r,o,i,a])=>{const s=ge(t.sizeTree).map((({k:e,v:t},n,r)=>{const o=r[n+1];return{startIndex:e,endIndex:o?o.k-1:1/0,size:t}}));r&&null!==o&&null!==i&&(n=o.scrollTop-i.offsetTop),e({ranges:s,scrollTop:n-=a})})),S(O(u,R(y),I(Et)),o),S(O(i,F(u),R((([,e])=>void 0!==e)),D(),I((([,e])=>e.ranges))),t),{getState:c,restoreStateFrom:u}}),m(Ve,ae,et,Ze,Tt));function Et(e){return{offset:e.scrollTop,index:0,align:"start"}}const Dt=W((([e,t,n,r,o,i,a,s,l,c])=>({...e,...t,...n,...r,...o,...i,...a,...s,...l,...c})),m(pt,yt,Ze,bt,wt,kt,Ct,Tt,Pt,J)),Rt=W((([{totalCount:e,sizeRanges:t,fixedItemSize:n,defaultItemSize:r,trackItemSizes:o,itemSize:i,data:a,firstItemIndex:s,groupIndices:l,statefulTotalCount:c,gap:u,sizes:d},{initialTopMostItemIndex:p,scrolledToInitialItem:f,initialItemFinalLocationReached:h},m,g,v,{listState:y,topItemsIndexes:b,...x},{scrollToIndex:w},A,{topItemCount:_},{groupCounts:k},C])=>(S(x.rangeChanged,C.scrollSeekRangeChanged),S(O(C.windowViewportRect,I((e=>e.visibleHeight))),m.viewportHeight),{totalCount:e,data:a,firstItemIndex:s,sizeRanges:t,initialTopMostItemIndex:p,scrolledToInitialItem:f,initialItemFinalLocationReached:h,topItemsIndexes:b,topItemCount:_,groupCounts:k,fixedItemHeight:n,defaultItemHeight:r,gap:u,...v,statefulTotalCount:c,listState:y,scrollToIndex:w,trackItemSizes:o,itemSize:i,groupIndices:l,...x,...C,...m,sizes:d,...g})),m(Ve,et,ae,Ot,nt,vt,qe,St,xt,ot,Dt)),It="-webkit-sticky",Nt="sticky",Lt=At((()=>{if("undefined"==typeof document)return Nt;const e=document.createElement("div");return e.style.position=It,e.style.position===It?It:Nt}));function jt(e,t,n){const r=o.useRef(null),i=o.useCallback((n=>{if(null===n||!n.offsetParent)return;const o=n.getBoundingClientRect(),i=o.width;let a,s;if(t){const e=t.getBoundingClientRect(),n=o.top-e.top;a=e.height-Math.max(0,n),s=n+t.scrollTop}else a=window.innerHeight-Math.max(0,o.top),s=o.top+window.pageYOffset;r.current={offsetTop:s,visibleHeight:a,visibleWidth:i},e(r.current)}),[e,t]),{callbackRef:a,ref:s}=Q(i,!0,n),l=o.useCallback((()=>{i(s.current)}),[i,s]);return o.useEffect((()=>{if(t){t.addEventListener("scroll",l);const e=new ResizeObserver((()=>{requestAnimationFrame(l)}));return e.observe(t),()=>{t.removeEventListener("scroll",l),e.unobserve(t)}}return window.addEventListener("scroll",l),window.addEventListener("resize",l),()=>{window.removeEventListener("scroll",l),window.removeEventListener("resize",l)}}),[l,t]),a}const $t=o.createContext(void 0),zt=o.createContext(void 0);function Ft(e){return e}const Bt=W((([e,t])=>({...e,...t})),m(Rt,W((()=>{const e=T((e=>`Item ${e}`)),t=T(null),n=T((e=>`Group ${e}`)),r=T({}),o=T(Ft),i=T("div"),a=T(b),s=(e,t=null)=>P(O(r,I((t=>t[e])),D()),t);return{context:t,itemContent:e,groupContent:n,components:r,computeItemKey:o,HeaderFooterTag:i,scrollerRef:a,FooterComponent:s("Footer"),HeaderComponent:s("Header"),TopItemListComponent:s("TopItemList"),ListComponent:s("List","div"),ItemComponent:s("Item","div"),GroupComponent:s("Group","div"),ScrollerComponent:s("Scroller","div"),EmptyPlaceholder:s("EmptyPlaceholder"),ScrollSeekPlaceholder:s("ScrollSeekPlaceholder")}})))),Ht=({height:e})=>(0,r.jsx)("div",{style:{height:e}}),Vt={position:Lt(),zIndex:1,overflowAnchor:"none"},Wt={overflowAnchor:"none"},Ut={...Wt,display:"inline-block",height:"100%"},qt=o.memo((function({showTopList:e=!1}){const t=un("listState"),n=cn("sizeRanges"),i=un("useWindowScroll"),a=un("customScrollParent"),s=cn("windowScrollContainerState"),l=cn("scrollContainerState"),c=a||i?s:l,u=un("itemContent"),d=un("context"),p=un("groupContent"),f=un("trackItemSizes"),h=un("itemSize"),m=un("log"),g=cn("gap"),v=un("horizontalDirection"),{callbackRef:y}=te(n,h,f,e?b:c,m,g,a,v,un("skipAnimationFrameInResizeObserver")),[x,w]=o.useState(0);dn("deviation",(e=>{x!==e&&w(e)}));const A=un("EmptyPlaceholder"),_=un("ScrollSeekPlaceholder")||Ht,S=un("ListComponent"),k=un("ItemComponent"),C=un("GroupComponent"),T=un("computeItemKey"),M=un("isSeeking"),P=un("groupIndices").length>0,O=un("alignToBottom"),E=un("initialItemFinalLocationReached"),D=e?{}:{boxSizing:"border-box",...v?{whiteSpace:"nowrap",display:"inline-block",height:"100%",paddingLeft:t.offsetTop,paddingRight:t.offsetBottom,marginLeft:0!==x?x:O?"auto":0}:{marginTop:0!==x?x:O?"auto":0,paddingTop:t.offsetTop,paddingBottom:t.offsetBottom},...E?{}:{visibility:"hidden"}};return!e&&0===t.totalCount&&A?(0,r.jsx)(A,{...Zt(A,d)}):(0,r.jsx)(S,{...Zt(S,d),ref:y,style:D,"data-testid":e?"virtuoso-top-item-list":"virtuoso-item-list",children:(e?t.topItems:t.items).map((e=>{const n=e.originalIndex,r=T(n+t.firstItemIndex,e.data,d);return M?(0,o.createElement)(_,{...Zt(_,d),key:r,index:e.index,height:e.size,type:e.type||"item",..."group"===e.type?{}:{groupIndex:e.groupIndex}}):"group"===e.type?(0,o.createElement)(C,{...Zt(C,d),key:r,"data-index":n,"data-known-size":e.size,"data-item-index":e.index,style:Vt},p(e.index,d)):(0,o.createElement)(k,{...Zt(k,d),...Jt(k,e.data),key:r,"data-index":n,"data-known-size":e.size,"data-item-index":e.index,"data-item-group-index":e.groupIndex,style:v?Ut:Wt},P?u(e.index,e.groupIndex,e.data,d):u(e.index,e.data,d))}))})})),Gt={height:"100%",outline:"none",overflowY:"auto",position:"relative",WebkitOverflowScrolling:"touch"},Yt={outline:"none",overflowX:"auto",position:"relative"},Xt=e=>({width:"100%",height:"100%",position:"absolute",top:0,...e?{display:"flex",flexDirection:"column"}:{}}),Kt={width:"100%",position:Lt(),top:0,zIndex:1};function Zt(e,t){if("string"!=typeof e)return{context:t}}function Jt(e,t){return{item:"string"==typeof e?void 0:t}}const Qt=o.memo((function(){const e=un("HeaderComponent"),t=cn("headerHeight"),n=un("HeaderFooterTag"),i=ee(o.useMemo((()=>e=>t(re(e,"height"))),[t]),!0,un("skipAnimationFrameInResizeObserver")),a=un("context");return e?(0,r.jsx)(n,{ref:i,children:(0,r.jsx)(e,{...Zt(e,a)})}):null})),en=o.memo((function(){const e=un("FooterComponent"),t=cn("footerHeight"),n=un("HeaderFooterTag"),i=ee(o.useMemo((()=>e=>t(re(e,"height"))),[t]),!0,un("skipAnimationFrameInResizeObserver")),a=un("context");return e?(0,r.jsx)(n,{ref:i,children:(0,r.jsx)(e,{...Zt(e,a)})}):null}));function tn({usePublisher:e,useEmitter:t,useEmitterValue:n}){return o.memo((function({style:o,children:i,...a}){const s=e("scrollContainerState"),l=n("ScrollerComponent"),c=e("smoothScrollTargetReached"),u=n("scrollerRef"),d=n("context"),p=n("horizontalDirection")||!1,{scrollerRef:f,scrollByCallback:h,scrollToCallback:m}=ie(s,c,l,u,void 0,p);t("scrollTo",m),t("scrollBy",h);const g=p?Yt:Gt;return(0,r.jsx)(l,{ref:f,style:{...g,...o},"data-testid":"virtuoso-scroller","data-virtuoso-scroller":!0,tabIndex:0,...a,...Zt(l,d),children:i})}))}function nn({usePublisher:e,useEmitter:t,useEmitterValue:n}){return o.memo((function({style:o,children:i,...a}){const s=e("windowScrollContainerState"),l=n("ScrollerComponent"),c=e("smoothScrollTargetReached"),u=n("totalListHeight"),d=n("deviation"),p=n("customScrollParent"),f=n("context"),{scrollerRef:h,scrollByCallback:m,scrollToCallback:g}=ie(s,c,l,b,p);return X((()=>(h.current=p||window,()=>{h.current=null})),[h,p]),t("windowScrollTo",g),t("scrollBy",m),(0,r.jsx)(l,{style:{position:"relative",...o,...0!==u?{height:u+d}:{}},"data-virtuoso-scroller":!0,...a,...Zt(l,f),children:i})}))}const rn=({children:e})=>{const t=o.useContext($t),n=cn("viewportHeight"),i=cn("fixedItemHeight"),a=un("alignToBottom"),s=un("horizontalDirection"),l=ee(o.useMemo((()=>u(n,(e=>re(e,s?"width":"height")))),[n,s]),!0,un("skipAnimationFrameInResizeObserver"));return o.useEffect((()=>{t&&(n(t.viewportHeight),i(t.itemHeight))}),[t,n,i]),(0,r.jsx)("div",{style:Xt(a),ref:l,"data-viewport-type":"element",children:e})},on=({children:e})=>{const t=o.useContext($t),n=cn("windowViewportRect"),i=cn("fixedItemHeight"),a=un("customScrollParent"),s=jt(n,a,un("skipAnimationFrameInResizeObserver")),l=un("alignToBottom");return o.useEffect((()=>{t&&(i(t.itemHeight),n({offsetTop:0,visibleHeight:t.viewportHeight,visibleWidth:100}))}),[t,n,i]),(0,r.jsx)("div",{ref:s,style:Xt(l),"data-viewport-type":"window",children:e})},an=({children:e})=>{const t=un("TopItemListComponent")||"div",n=un("headerHeight"),o={...Kt,marginTop:`${n}px`},i=un("context");return(0,r.jsx)(t,{style:o,...Zt(t,i),children:e})},sn=o.memo((function(e){const t=un("useWindowScroll"),n=un("topItemsIndexes").length>0,o=un("customScrollParent"),i=o||t?fn:pn,a=o||t?on:rn;return(0,r.jsxs)(i,{...e,children:[n&&(0,r.jsx)(an,{children:(0,r.jsx)(qt,{showTopList:!0})}),(0,r.jsxs)(a,{children:[(0,r.jsx)(Qt,{}),(0,r.jsx)(qt,{}),(0,r.jsx)(en,{})]})]})})),{Component:ln,usePublisher:cn,useEmitterValue:un,useEmitter:dn}=Y(Bt,{required:{},optional:{restoreStateFrom:"restoreStateFrom",context:"context",followOutput:"followOutput",itemContent:"itemContent",groupContent:"groupContent",overscan:"overscan",increaseViewportBy:"increaseViewportBy",totalCount:"totalCount",groupCounts:"groupCounts",topItemCount:"topItemCount",firstItemIndex:"firstItemIndex",initialTopMostItemIndex:"initialTopMostItemIndex",components:"components",atBottomThreshold:"atBottomThreshold",atTopThreshold:"atTopThreshold",computeItemKey:"computeItemKey",defaultItemHeight:"defaultItemHeight",fixedItemHeight:"fixedItemHeight",itemSize:"itemSize",scrollSeekConfiguration:"scrollSeekConfiguration",headerFooterTag:"HeaderFooterTag",data:"data",initialItemCount:"initialItemCount",initialScrollTop:"initialScrollTop",alignToBottom:"alignToBottom",useWindowScroll:"useWindowScroll",customScrollParent:"customScrollParent",scrollerRef:"scrollerRef",logLevel:"logLevel",horizontalDirection:"horizontalDirection",skipAnimationFrameInResizeObserver:"skipAnimationFrameInResizeObserver"},methods:{scrollToIndex:"scrollToIndex",scrollIntoView:"scrollIntoView",scrollTo:"scrollTo",scrollBy:"scrollBy",autoscrollToBottom:"autoscrollToBottom",getState:"getState"},events:{isScrolling:"isScrolling",endReached:"endReached",startReached:"startReached",rangeChanged:"rangeChanged",atBottomStateChange:"atBottomStateChange",atTopStateChange:"atTopStateChange",totalListHeightChanged:"totalListHeightChanged",itemsRendered:"itemsRendered",groupIndices:"groupIndices"}},sn),pn=tn({usePublisher:cn,useEmitterValue:un,useEmitter:dn}),fn=nn({usePublisher:cn,useEmitterValue:un,useEmitter:dn}),hn=/^(1656|3999|400|5305|8887|9202)$/.test(n.j)?ln:null,mn=/^(1656|3999|400|5305|8887|9202)$/.test(n.j)?ln:null,gn={items:[],offsetBottom:0,offsetTop:0,top:0,bottom:0,itemHeight:0,itemWidth:0},vn={items:[{index:0}],offsetBottom:0,offsetTop:0,top:0,bottom:0,itemHeight:0,itemWidth:0},{round:yn,ceil:bn,floor:xn,min:wn,max:An}=Math;function _n(e,t,n){return Array.from({length:t-e+1}).map(((t,r)=>{const o=null===n?null:n[r+e];return{index:r+e,data:o}}))}function Sn(e,t){return e&&e.column===t.column&&e.row===t.row}function kn(e,t){return e&&e.width===t.width&&e.height===t.height}const Cn=W((([{overscan:e,visibleRange:t,listBoundary:n},{scrollTop:r,viewportHeight:o,scrollBy:i,scrollTo:a,smoothScrollTargetReached:s,scrollContainerState:l,footerHeight:c,headerHeight:u},d,p,{propsReady:f,didMount:h},{windowViewportRect:m,useWindowScroll:g,customScrollParent:v,windowScrollContainerState:y,windowScrollTo:b},A])=>{const _=T(0),E=T(0),L=T(gn),z=T({height:0,width:0}),B=T({height:0,width:0}),W=C(),U=C(),q=T(0),G=T(null),Y=T({row:0,column:0}),X=C(),K=C(),Z=T(!1),J=T(0),Q=T(!0),ee=T(!1),te=T(!1);x(O(h,F(J),R((([e,t])=>!!t))),(()=>{w(Q,!1)})),x(O(V(h,Q,B,z,J,ee),R((([e,t,n,r,,o])=>e&&!t&&0!==n.height&&0!==r.height&&!o))),(([,,,,e])=>{w(ee,!0),Je(1,(()=>{w(W,e)})),k(O(r),(()=>{w(n,[0,0]),w(Q,!0)}))})),S(O(K,R((e=>null!=e&&e.scrollTop>0)),N(0)),E),x(O(h,F(K),R((([,e])=>null!=e))),(([,e])=>{e&&(w(z,e.viewport),w(B,null==e?void 0:e.item),w(Y,e.gap),e.scrollTop>0&&(w(Z,!0),k(O(r,j(1)),(e=>{w(Z,!1)})),w(a,{top:e.scrollTop})))})),S(O(z,I((({height:e})=>e))),o),S(O(V(H(z,kn),H(B,kn),H(Y,((e,t)=>e&&e.column===t.column&&e.row===t.row)),H(r)),I((([e,t,n,r])=>({viewport:e,item:t,gap:n,scrollTop:r})))),X),S(O(V(H(_),t,H(Y,Sn),H(B,kn),H(z,kn),H(G),H(E),H(Z),H(Q),H(J)),R((([,,,,,,,e])=>!e)),I((([e,[t,n],r,o,i,a,s,,l,c])=>{const{row:u,column:d}=r,{height:p,width:f}=o,{width:h}=i;if(0===s&&(0===e||0===h))return gn;if(0===f){const t=Qe(c,e);return function(e){return{...vn,items:e}}(_n(t,Math.max(t+s-1,0),a))}const m=Pn(h,f,d);let g,v;l?0===t&&0===n&&s>0?(g=0,v=s-1):(g=m*xn((t+u)/(p+u)),v=m*bn((n+u)/(p+u))-1,v=wn(e-1,An(v,m-1)),g=wn(v,An(0,g))):(g=0,v=-1);const y=_n(g,v,a),{top:b,bottom:x}=Tn(i,r,o,y),w=bn(e/m);return{items:y,offsetTop:b,offsetBottom:w*p+(w-1)*u-x,top:b,bottom:x,itemHeight:p,itemWidth:f}}))),L),S(O(G,R((e=>null!==e)),I((e=>e.length))),_),S(O(V(z,B,L,Y),R((([e,t,{items:n}])=>n.length>0&&0!==t.height&&0!==e.height)),I((([e,t,{items:n},r])=>{const{top:o,bottom:i}=Tn(e,r,t,n);return[o,i]})),D(it)),n);const ne=T(!1);S(O(r,F(ne),I((([e,t])=>t||0!==e))),ne);const re=M(O(H(L),R((({items:e})=>e.length>0)),F(_,ne),R((([{items:e},t,n])=>n&&e[e.length-1].index===t-1)),I((([,e])=>e-1)),D())),oe=M(O(H(L),R((({items:e})=>e.length>0&&0===e[0].index)),N(0),D())),ie=M(O(H(L),F(Z),R((([{items:e},t])=>e.length>0&&!t)),I((([{items:e}])=>({startIndex:e[0].index,endIndex:e[e.length-1].index}))),D(at),$(0)));S(ie,p.scrollSeekRangeChanged),S(O(W,F(z,B,_,Y),I((([e,t,n,r,o])=>{const i=Ue(e),{align:a,behavior:s,offset:l}=i;let c=i.index;"LAST"===c&&(c=r-1),c=An(0,c,wn(r-1,c));let u=Mn(t,o,n,c);return"end"===a?u=yn(u-t.height+n.height):"center"===a&&(u=yn(u-t.height/2+n.height/2)),l&&(u+=l),{top:u,behavior:s}}))),a);const ae=P(O(L,I((e=>e.offsetBottom+e.bottom))),0);return S(O(m,I((e=>({width:e.visibleWidth,height:e.visibleHeight})))),z),{data:G,totalCount:_,viewportDimensions:z,itemDimensions:B,scrollTop:r,scrollHeight:U,overscan:e,scrollBy:i,scrollTo:a,scrollToIndex:W,smoothScrollTargetReached:s,windowViewportRect:m,windowScrollTo:b,useWindowScroll:g,customScrollParent:v,windowScrollContainerState:y,deviation:q,scrollContainerState:l,footerHeight:c,headerHeight:u,initialItemCount:E,gap:Y,restoreStateFrom:K,...p,initialTopMostItemIndex:J,horizontalDirection:te,gridState:L,totalListHeight:ae,...d,startReached:oe,endReached:re,rangeChanged:ie,stateChanged:X,propsReady:f,stateRestoreInProgress:Z,...A}}),m(pt,ae,Ke,bt,Ze,Tt,J));function Tn(e,t,n,r){const{height:o}=n;if(void 0===o||0===r.length)return{top:0,bottom:0};return{top:Mn(e,t,n,r[0].index),bottom:Mn(e,t,n,r[r.length-1].index)+o}}function Mn(e,t,n,r){const o=Pn(e.width,n.width,t.column),i=xn(r/o),a=i*n.height+An(0,i-1)*t.row;return a>0?a+t.row:a}function Pn(e,t,n){return An(1,xn((e+n)/(xn(t)+n)))}const On=W((([e,t])=>({...e,...t})),m(Cn,W((()=>{const e=T((e=>`Item ${e}`)),t=T({}),n=T(null),r=T("virtuoso-grid-item"),o=T("virtuoso-grid-list"),i=T(Ft),a=T("div"),s=T(b),l=(e,n=null)=>P(O(t,I((t=>t[e])),D()),n),c=T(!1),u=T(!1);return S(H(u),c),{readyStateChanged:c,reportReadyState:u,context:n,itemContent:e,components:t,computeItemKey:i,itemClassName:r,listClassName:o,headerFooterTag:a,scrollerRef:s,FooterComponent:l("Footer"),HeaderComponent:l("Header"),ListComponent:l("List","div"),ItemComponent:l("Item","div"),ScrollerComponent:l("Scroller","div"),ScrollSeekPlaceholder:l("ScrollSeekPlaceholder","div")}})))),En=o.memo((function(){const e=zn("gridState"),t=zn("listClassName"),n=zn("itemClassName"),i=zn("itemContent"),a=zn("computeItemKey"),s=zn("isSeeking"),l=$n("scrollHeight"),c=zn("ItemComponent"),u=zn("ListComponent"),d=zn("ScrollSeekPlaceholder"),p=zn("context"),f=$n("itemDimensions"),h=$n("gap"),m=zn("log"),g=zn("stateRestoreInProgress"),v=$n("reportReadyState"),y=ee(o.useMemo((()=>e=>{const t=e.parentElement.parentElement.scrollHeight;l(t);const n=e.firstChild;if(n){const{width:e,height:t}=n.getBoundingClientRect();f({width:e,height:t})}h({row:Vn("row-gap",getComputedStyle(e).rowGap,m),column:Vn("column-gap",getComputedStyle(e).columnGap,m)})}),[l,f,h,m]),!0,!1);return X((()=>{e.itemHeight>0&&e.itemWidth>0&&v(!0)}),[e]),g?null:(0,r.jsx)(u,{ref:y,className:t,...Zt(u,p),style:{paddingTop:e.offsetTop,paddingBottom:e.offsetBottom},"data-testid":"virtuoso-item-list",children:e.items.map((t=>{const l=a(t.index,t.data,p);return s?(0,r.jsx)(d,{...Zt(d,p),index:t.index,height:e.itemHeight,width:e.itemWidth},l):(0,o.createElement)(c,{...Zt(c,p),className:n,"data-index":t.index,key:l},i(t.index,t.data,p))}))})})),Dn=o.memo((function(){const e=zn("HeaderComponent"),t=$n("headerHeight"),n=zn("headerFooterTag"),i=ee(o.useMemo((()=>e=>t(re(e,"height"))),[t]),!0,!1),a=zn("context");return e?(0,r.jsx)(n,{ref:i,children:(0,r.jsx)(e,{...Zt(e,a)})}):null})),Rn=o.memo((function(){const e=zn("FooterComponent"),t=$n("footerHeight"),n=zn("headerFooterTag"),i=ee(o.useMemo((()=>e=>t(re(e,"height"))),[t]),!0,!1),a=zn("context");return e?(0,r.jsx)(n,{ref:i,children:(0,r.jsx)(e,{...Zt(e,a)})}):null})),In=({children:e})=>{const t=o.useContext(zt),n=$n("itemDimensions"),i=$n("viewportDimensions"),a=ee(o.useMemo((()=>e=>{i(e.getBoundingClientRect())}),[i]),!0,!1);return o.useEffect((()=>{t&&(i({height:t.viewportHeight,width:t.viewportWidth}),n({height:t.itemHeight,width:t.itemWidth}))}),[t,i,n]),(0,r.jsx)("div",{style:Xt(!1),ref:a,children:e})},Nn=({children:e})=>{const t=o.useContext(zt),n=$n("windowViewportRect"),i=$n("itemDimensions"),a=zn("customScrollParent"),s=jt(n,a,!1);return o.useEffect((()=>{t&&(i({height:t.itemHeight,width:t.itemWidth}),n({offsetTop:0,visibleHeight:t.viewportHeight,visibleWidth:t.viewportWidth}))}),[t,n,i]),(0,r.jsx)("div",{ref:s,style:Xt(!1),children:e})},Ln=o.memo((function({...e}){const t=zn("useWindowScroll"),n=zn("customScrollParent"),o=n||t?Hn:Bn,i=n||t?Nn:In;return(0,r.jsx)(o,{...e,children:(0,r.jsxs)(i,{children:[(0,r.jsx)(Dn,{}),(0,r.jsx)(En,{}),(0,r.jsx)(Rn,{})]})})})),{Component:jn,usePublisher:$n,useEmitterValue:zn,useEmitter:Fn}=Y(On,{optional:{context:"context",totalCount:"totalCount",overscan:"overscan",itemContent:"itemContent",components:"components",computeItemKey:"computeItemKey",data:"data",initialItemCount:"initialItemCount",scrollSeekConfiguration:"scrollSeekConfiguration",headerFooterTag:"headerFooterTag",listClassName:"listClassName",itemClassName:"itemClassName",useWindowScroll:"useWindowScroll",customScrollParent:"customScrollParent",scrollerRef:"scrollerRef",logLevel:"logLevel",restoreStateFrom:"restoreStateFrom",initialTopMostItemIndex:"initialTopMostItemIndex"},methods:{scrollTo:"scrollTo",scrollBy:"scrollBy",scrollToIndex:"scrollToIndex"},events:{isScrolling:"isScrolling",endReached:"endReached",startReached:"startReached",rangeChanged:"rangeChanged",atBottomStateChange:"atBottomStateChange",atTopStateChange:"atTopStateChange",stateChanged:"stateChanged",readyStateChanged:"readyStateChanged"}},Ln),Bn=tn({usePublisher:$n,useEmitterValue:zn,useEmitter:Fn}),Hn=nn({usePublisher:$n,useEmitterValue:zn,useEmitter:Fn});function Vn(e,t,n){return"normal"===t||(null==t?void 0:t.endsWith("px"))||n(`${e} was not resolved to pixel value correctly`,t,K.WARN),"normal"===t?0:parseInt(null!=t?t:"0",10)}const Wn=/^(1656|3999|400|5305|8887|9202)$/.test(n.j)?jn:null,Un=W((([e,t])=>({...e,...t})),m(Rt,W((()=>{const e=T((e=>(0,r.jsxs)("td",{children:["Item $",e]}))),t=T(null),n=T(null),o=T(null),i=T({}),a=T(Ft),s=T(b),l=(e,t=null)=>P(O(i,I((t=>t[e])),D()),t);return{context:t,itemContent:e,fixedHeaderContent:n,fixedFooterContent:o,components:i,computeItemKey:a,scrollerRef:s,TableComponent:l("Table","table"),TableHeadComponent:l("TableHead","thead"),TableFooterComponent:l("TableFoot","tfoot"),TableBodyComponent:l("TableBody","tbody"),TableRowComponent:l("TableRow","tr"),ScrollerComponent:l("Scroller","div"),EmptyPlaceholder:l("EmptyPlaceholder"),ScrollSeekPlaceholder:l("ScrollSeekPlaceholder"),FillerRow:l("FillerRow")}})))),qn=({height:e})=>(0,r.jsx)("tr",{children:(0,r.jsx)("td",{style:{height:e}})}),Gn=({height:e})=>(0,r.jsx)("tr",{children:(0,r.jsx)("td",{style:{height:e,padding:0,border:0}})}),Yn={overflowAnchor:"none"},Xn=o.memo((function(){const e=tr("listState"),t=er("sizeRanges"),n=tr("useWindowScroll"),i=tr("customScrollParent"),a=er("windowScrollContainerState"),s=er("scrollContainerState"),l=i||n?a:s,c=tr("itemContent"),u=tr("trackItemSizes"),d=tr("itemSize"),p=tr("log"),{callbackRef:f,ref:h}=te(t,d,u,l,p,void 0,i,!1,tr("skipAnimationFrameInResizeObserver")),[m,g]=o.useState(0);nr("deviation",(e=>{m!==e&&(h.current.style.marginTop=`${e}px`,g(e))}));const v=tr("EmptyPlaceholder"),y=tr("ScrollSeekPlaceholder")||qn,b=tr("FillerRow")||Gn,x=tr("TableBodyComponent"),w=tr("TableRowComponent"),A=tr("computeItemKey"),_=tr("isSeeking"),S=tr("paddingTopAddition"),k=tr("firstItemIndex"),C=tr("statefulTotalCount"),T=tr("context");if(0===C&&v)return(0,r.jsx)(v,{...Zt(v,T)});const M=e.offsetTop+S+m,P=e.offsetBottom,O=M>0?(0,r.jsx)(b,{height:M,context:T},"padding-top"):null,E=P>0?(0,r.jsx)(b,{height:P,context:T},"padding-bottom"):null,D=e.items.map((e=>{const t=e.originalIndex,n=A(t+k,e.data,T);return _?(0,o.createElement)(y,{...Zt(y,T),key:n,index:e.index,height:e.size,type:e.type||"item"}):(0,o.createElement)(w,{...Zt(w,T),...Jt(w,e.data),key:n,"data-index":t,"data-known-size":e.size,"data-item-index":e.index,style:Yn},c(e.index,e.data,T))}));return(0,r.jsxs)(x,{ref:f,"data-testid":"virtuoso-item-list",...Zt(x,T),children:[O,D,E]})})),Kn=({children:e})=>{const t=o.useContext($t),n=er("viewportHeight"),i=er("fixedItemHeight"),a=ee(o.useMemo((()=>u(n,(e=>re(e,"height")))),[n]),!0,tr("skipAnimationFrameInResizeObserver"));return o.useEffect((()=>{t&&(n(t.viewportHeight),i(t.itemHeight))}),[t,n,i]),(0,r.jsx)("div",{style:Xt(!1),ref:a,"data-viewport-type":"element",children:e})},Zn=({children:e})=>{const t=o.useContext($t),n=er("windowViewportRect"),i=er("fixedItemHeight"),a=tr("customScrollParent"),s=jt(n,a,tr("skipAnimationFrameInResizeObserver"));return o.useEffect((()=>{t&&(i(t.itemHeight),n({offsetTop:0,visibleHeight:t.viewportHeight,visibleWidth:100}))}),[t,n,i]),(0,r.jsx)("div",{ref:s,style:Xt(!1),"data-viewport-type":"window",children:e})},Jn=o.memo((function(e){const t=tr("useWindowScroll"),n=tr("customScrollParent"),i=er("fixedHeaderHeight"),a=er("fixedFooterHeight"),s=tr("fixedHeaderContent"),l=tr("fixedFooterContent"),c=tr("context"),d=ee(o.useMemo((()=>u(i,(e=>re(e,"height")))),[i]),!0,tr("skipAnimationFrameInResizeObserver")),p=ee(o.useMemo((()=>u(a,(e=>re(e,"height")))),[a]),!0,tr("skipAnimationFrameInResizeObserver")),f=n||t?or:rr,h=n||t?Zn:Kn,m=tr("TableComponent"),g=tr("TableHeadComponent"),v=tr("TableFooterComponent"),y=s?(0,r.jsx)(g,{style:{zIndex:2,position:"sticky",top:0},ref:d,...Zt(g,c),children:s()},"TableHead"):null,b=l?(0,r.jsx)(v,{style:{zIndex:1,position:"sticky",bottom:0},ref:p,...Zt(v,c),children:l()},"TableFoot"):null;return(0,r.jsx)(f,{...e,children:(0,r.jsx)(h,{children:(0,r.jsxs)(m,{style:{borderSpacing:0,overflowAnchor:"none"},...Zt(m,c),children:[y,(0,r.jsx)(Xn,{},"TableBody"),b]})})})})),{Component:Qn,usePublisher:er,useEmitterValue:tr,useEmitter:nr}=Y(Un,{required:{},optional:{restoreStateFrom:"restoreStateFrom",context:"context",followOutput:"followOutput",firstItemIndex:"firstItemIndex",itemContent:"itemContent",fixedHeaderContent:"fixedHeaderContent",fixedFooterContent:"fixedFooterContent",overscan:"overscan",increaseViewportBy:"increaseViewportBy",totalCount:"totalCount",topItemCount:"topItemCount",initialTopMostItemIndex:"initialTopMostItemIndex",components:"components",groupCounts:"groupCounts",atBottomThreshold:"atBottomThreshold",atTopThreshold:"atTopThreshold",computeItemKey:"computeItemKey",defaultItemHeight:"defaultItemHeight",fixedItemHeight:"fixedItemHeight",itemSize:"itemSize",scrollSeekConfiguration:"scrollSeekConfiguration",data:"data",initialItemCount:"initialItemCount",initialScrollTop:"initialScrollTop",alignToBottom:"alignToBottom",useWindowScroll:"useWindowScroll",customScrollParent:"customScrollParent",scrollerRef:"scrollerRef",logLevel:"logLevel"},methods:{scrollToIndex:"scrollToIndex",scrollIntoView:"scrollIntoView",scrollTo:"scrollTo",scrollBy:"scrollBy",getState:"getState"},events:{isScrolling:"isScrolling",endReached:"endReached",startReached:"startReached",rangeChanged:"rangeChanged",atBottomStateChange:"atBottomStateChange",atTopStateChange:"atTopStateChange",totalListHeightChanged:"totalListHeightChanged",itemsRendered:"itemsRendered",groupIndices:"groupIndices"}},Jn),rr=tn({usePublisher:er,useEmitterValue:tr,useEmitter:nr}),or=nn({usePublisher:er,useEmitterValue:tr,useEmitter:nr}),ir=/^(1656|3999|400|5305|8887|9202)$/.test(n.j)?Qn:null}}]);